|
|
(self.webpackChunk=self.webpackChunk||[]).push([[6270],{89489:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},59477:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},26227:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},49198:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},41464:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},87169:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"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"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},52671:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},8657:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},56082:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},33853:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},15075:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},43531:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},38819:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},he=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:he}))},ne=_e.forwardRef(se),ie=ne},99587:function(Ct,dt){"use strict";dt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},91136:function(Ct,dt){"use strict";dt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},39744:function(){"use strict"},3932:function(Ct,dt,ve){"use strict";var be=ve(59301),_e=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(ce,ue,ae)=>ue in ce?_e(ce,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ce[ue]=ae,ne=(ce,ue)=>{for(var ae in ue||(ue={}))he.call(ue,ae)&&se(ce,ae,ue[ae]);if(E)for(var ae of E(ue))de.call(ue,ae)&&se(ce,ae,ue[ae]);return ce};const ie=ce=>React.createElement("svg",ne({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ce),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));dt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},64126:function(Ct,dt,ve){"use strict";var be=ve(59301),_e=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(ce,ue,ae)=>ue in ce?_e(ce,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ce[ue]=ae,ne=(ce,ue)=>{for(var ae in ue||(ue={}))he.call(ue,ae)&&se(ce,ae,ue[ae]);if(E)for(var ae of E(ue))de.call(ue,ae)&&se(ce,ae,ue[ae]);return ce};const ie=ce=>React.createElement("svg",ne({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ce),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));dt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},63720:function(){"use strict";function Ct(ee,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ee,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(Ct.prototype,"name",{get:function(){return this._name},set:function(ee){if(typeof ee!="string"||ee==="")throw new Error("Shape name must be a valid string.");this._name=ee}}),Object.defineProperty(Ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("The default value must be a real number, not: "+ee);this._defaultValue=ee}}),Object.defineProperty(Ct.prototype,"minimum",{get:function(){return this._minimum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Minimum must be a real number, not: "+ee);this._minimum=ee}}),Object.defineProperty(Ct.prototype,"maximum",{get:function(){return this._maximum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Maximum must be a real number, not: "+ee);this._maximum=ee}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ee,a){var y=go.Shape._FigureParameters[ee];return y?y[a]:null},go.Shape.setFigureParameter=function(ee,a,y){if(!(y instanceof Ct))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ee];x||(x=[],go.Shape._FigureParameters[ee]=x),x[a]=y};var dt=[];function ve(ee,a){var y=dt.pop();return y===void 0?new go.Point(ee,a):(y.x=ee,y.y=a,y)}function be(){var ee=dt.pop();return ee===void 0?new go.Point:ee}function _e(ee){dt.push(ee)}function E(ee,a,y,x,b,z,te,le,fe){fe||(fe=new go.Point);var pe=ee-y,me=b-te,ge=NaN,Se=NaN;if(pe===0)if(me===0)ee===y&&(ge=ee,Se=a);else{var ye=(z-le)/me,Pe=z-ye*b;ge=ee,Se=ye*ge+Pe}else if(me===0){var we=(a-x)/pe,De=a-we*ee;ge=b,Se=we*ge+De}else{var we=(a-x)/pe,ye=(z-le)/me,De=a-we*ee,Pe=z-ye*b;ge=(Pe-De)/(we-ye),Se=we*ge+De}return fe.x=ge,fe.y=Se,fe}function he(ee,a,y,x,b,z,te,le,fe,pe,me,ge,Se,ye){var Pe=1-fe,we=fe,De=ee*Pe+y*we,Ee=a*Pe+x*we,Ae=y*Pe+b*we,Ce=x*Pe+z*we,Ie=b*Pe+te*we,Me=z*Pe+le*we,Ge=De*Pe+Ae*we,Be=Ee*Pe+Ce*we,Qe=Ae*Pe+Ie*we,qe=Ce*Pe+Me*we,Xe=Ge*Pe+Qe*we,Ve=Be*Pe+qe*we;pe.x=De,pe.y=Ee,me.x=Ge,me.y=Be,ge.x=Xe,ge.y=Ve,Se.x=Qe,Se.y=qe,ye.x=Ie,ye.y=Me}var de=new go.Spot(.156,.156),se=new go.Spot(.844,.844),ne=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*ne,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ee,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ee,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=de,b.spot2=se,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ne*a,0,a,(1-ne)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ne*y,(1-ne)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ne*y,ne*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ne)*a,0,0,(1-ne)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a:x>a&&(x=a);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new Ct("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Ct("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=20:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new Ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b<a/2&&z.setSpots(b/a,0,(a-b)/a,1),z}});var ie=[];function ce(){var ee=ie.pop();return ee===void 0?[]:ee}function ue(ee){ee.length=0,ie.push(ee)}function ae(ee){for(var a=ce(),y=.5,x=.5,b=Math.PI*1.5,z=0,te=0;te<ee;te++)z=2*Math.PI/ee*te+b,a[te]=new go.Point(x+y*Math.cos(z),x+y*Math.sin(z));return a.push(a[0]),a}function oe(ee){var a=re(ee),y=ce();y[0]=a[0];for(var x=1,b=1;x<a.length;x+=2,b+=3)y[b]=a[x],y[b+1]=a[x],y[b+2]=a[x+1];return ue(a),y}function re(ee){for(var a=ae(ee),y=ce(),x=Math.floor(a.length/2),b=a.length-1,z=ee%2===0?2:1,te=0;te<b;te++){var le=a[te],fe=a[te+1],pe=a[(x+te-1)%b],me=a[(x+te+z)%b];y[te*2]=le,y[te*2+1]=E(le.x,le.y,pe.x,pe.y,fe.x,fe.y,me.x,me.y,new go.Point)}return y[y.length]=y[0],ue(a),y}go.Shape.defineFigureGenerator("Pentagon",function(ee,a,y){var x=ae(5),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<5;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(ee,a,y){var x=ae(6),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<6;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(ee,a,y){var x=ae(7),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<7;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(ee,a,y){var x=ae(8),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<8;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(ee,a,y){var x=ae(9),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<9;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(ee,a,y){var x=ae(10),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(ee,a,y){var x=ae(12),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(ee,a,y){var x=re(5),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(ee,a,y){var x=re(6),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ee,a,y){var x=re(7),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<14;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(ee,a,y){var x=re(8),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<16;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(ee,a,y){var x=re(9),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<18;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(ee,a,y){var x=re(10),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<20;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ee,a,y){var x=oe(5),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return z.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ee,a,y){var x=oe(6),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return z.segments.last().close(),ue(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ee,a,y){var x=oe(7),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return z.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ee,a,y){var x=oe(8),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return z.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ee,a,y){var x=oe(9),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return z.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ee,a,y){var x=oe(10),b=new go.Geometry,z=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return z.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new Ct("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Ct("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ee,a,y){var x=ee?ee.parameter1:NaN,b=ee?ee.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var z=new go.Geometry,te=new go.PathFigure(0,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x<a/2&&b<y/2&&(te.add(new go.PathSegment(go.PathSegment.Move,x,b)),te.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),z.setSpots(0,0,1,1,x,b,-x,-b),z}),go.Shape.setFigureParameter("Ring",0,new Ct("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=a/2,z=new go.Geometry,te=new go.PathFigure(a,a/2,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var le=Math.max(b-x,0);return le>0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+le,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,le,le).close())),z.spot1=de,z.spot2=se,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ee,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ee,a,y){var x=ee?ee.parameter1:NaN,b=ee?ee.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var te=b%360,le=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(le,le).add(new go.PathSegment(go.PathSegment.Arc,z,te,le,le,le,le).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ee,a,y){var x=ne/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ee,a,y){var x=ee?ee.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var z=a/2,te=y/2,le=Math.atan2(y,a),fe=x-Math.min(Math.cos(le)*x/2,z),pe=x-Math.min(Math.sin(le)*x/2,te),b=new go.Geometry,me=new go.PathFigure(fe,0,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),me.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,pe)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,a,y-pe)),me.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),me.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),me.add(new go.PathSegment(go.PathSegment.Line,fe,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,y-pe)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,0,pe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ne*a,0,a,(.5-ne/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ne/2)*y,ne*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var z=.2,te=.3,le=0,fe=z*ne;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+le)*y,(.5-z+te)*a,(.5+fe+le)*y,(.5-fe+te)*a,(.5+z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+le)*y,(.5+fe+te)*a,(.5+z+le)*y,(.5+z+te)*a,(.5+fe+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+le)*y,(1-.5+z+te)*a,(.5-fe+le)*y,(.5+fe+te)*a,(.5-z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+te)*a,(.5-z+le)*y,(.5-z+te+.05)*a,(.5-fe+le-.02)*y)),z=.2,te=0,le=-.3,fe=z*ne,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+le)*y,(.5+fe+te)*a,(.5+z+le)*y,(.5+z+te)*a,(.5+fe+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+le)*y,(1-.5+z+te)*a,(.5-fe+le)*y,(.5+fe+te)*a,(.5-z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+le)*y,(.5-fe+te)*a,(.5-z+le)*y,(.5-z+te)*a,(.5-fe+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+te)*a,(.5+z+le)*y,(.5-z+te)*a,(.5+fe+le)*y,(.5-fe+te)*a,(.5+z+le)*y)),z=.2,te=-.3,le=0,fe=z*ne,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+le)*y,(1-.5+z+te-.05)*a,(.5-fe+le-.02)*y,(.5+fe+te)*a,(.5-z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+le)*y,(.5-fe+te)*a,(.5-z+le)*y,(.5-z+te)*a,(.5-fe+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+le)*y,(.5-z+te)*a,(.5+fe+le)*y,(.5-fe+te)*a,(.5+z+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+te)*a,(.5+z+le)*y,(.5+z+te)*a,(.5+fe+le)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,te=.5,le=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+z)*a,le*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*le,z*a,z*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),le=.75,b=new go.PathFigure((te+z)*a,le*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*le,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ee,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=.5,te=.5,le=.5,fe=new go.PathFigure(te*a,(le-z)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,le*y,(te-b)*a,(le-z)*y,(te-z)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+z)*y,(te-z)*a,(le+b)*y,(te-b)*a,(le+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,le*y,(te+b)*a,(le+z)*y,(te+z)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-z)*y,(te+z)*a,(le-b)*y,(te+b)*a,(le-z)*y)),z=.4,b=ne*.4;var pe=be(),me=be(),ge=be(),Se=be();he(te,le-z,te+b,le-z,te+z,le-b,te+z,le,.42,pe,me,ge,Se,Se);var ye=be(),Pe=be(),we=be();he(te,le-z,te+b,le-z,te+z,le-b,te+z,le,.58,Se,Se,we,ye,Pe);var De=be(),Ee=be(),Ae=be();he(te,le+z,te-b,le+z,te-z,le+b,te-z,le,.42,De,Ee,Ae,Se,Se);var Ce=be(),Ie=be(),Me=be();return he(te,le+z,te-b,le+z,te-z,le+b,te-z,le,.58,Se,Se,Me,Ce,Ie),fe.add(new go.PathSegment(go.PathSegment.Move,Me.x*a,Me.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,le*y,Ce.x*a,Ce.y*y,Ie.x*a,Ie.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-z)*y,(te-z)*a,(le-b)*y,(te-b)*a,(le-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,me.x*a,me.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Me.x*a,Me.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,Ae.x*a,Ae.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,le*y,ye.x*a,ye.y*y,Pe.x*a,Pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+z)*y,(te+z)*a,(le+b)*y,(te+b)*a,(le+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,Ae.x*a,Ae.y*y,De.x*a,De.y*y,Ee.x*a,Ee.y*y).close()),_e(pe),_e(me),_e(ge),_e(Se),_e(ye),_e(Pe),_e(we),_e(De),_e(Ee),_e(Ae),_e(Ce),_e(Ie),_e(Me),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ee,a,y){var x=new go.Geometry,b=ne*.4,z=.4,te=.5,le=.5,fe=be(),pe=be(),me=be(),ge=be(),Se=new go.PathFigure((te-z)*a,le*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-z)*y,(te-z)*a,(le-b)*y,(te-b)*a,(le-z)*y)),he(te,le-z,te+b,le-z,te+z,le-b,te+z,le,.44,me,ge,pe,fe,fe),Se.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,me.x*a,me.y*y,ge.x*a,ge.y*y));var ye=ve(pe.x,pe.y);he(te,le-z,te+b,le-z,te+z,le-b,te+z,le,.56,fe,fe,pe,me,ge);var Pe=ve(pe.x,pe.y);Se.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*a,ye.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,ye.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,le*y,me.x*a,me.y*y,ge.x*a,ge.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+z)*y,(te+z)*a,(le+b)*y,(te+b)*a,(le+z)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,le*y,(te-b)*a,(le+z)*y,(te-z)*a,(le+b)*y)),z=.35,b=ne*.35;var we=new go.PathFigure(te*a,(le-z)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,le*y,(te-b)*a,(le-z)*y,(te-z)*a,(le-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+z)*y,(te-z)*a,(le+b)*y,(te-b)*a,(le+z)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,le*y,(te+b)*a,(le+z)*y,(te+z)*a,(le+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-z)*y,(te+z)*a,(le-b)*y,(te+b)*a,(le-z)*y));var De=new go.PathFigure((te-z)*a,le*y,!1);return x.add(De),_e(fe),_e(pe),_e(me),_e(ge),_e(ye),_e(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ee,a,y){var x=new go.Geometry,b=.375,z=0,te=-.125,le=b*ne,fe=new go.PathFigure((.525+z)*a,(.5+b+te)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*y,(.5+le+z)*a,(.5+b+te)*y,(.5+b+z)*a,(.5+le+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*y,(1-.5+b+z)*a,(.5-le+te)*y,(.5+le+z)*a,(.5-b+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-le+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-le+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+te)*y,(.5-b+z)*a,(.5+le+te)*y,(.5-le+z)*a,(.5+b+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,te=-.125,le=b*ne;var fe=new go.PathFigure((1-.5+b+z)*a,(.5+te)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*y,(.5+b+z)*a,(.5+le+te)*y,(.5+le+z)*a,(.5+b+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-le+z)*a,(.5+b+te)*y,(.5-b+z)*a,(.5+le+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-le+te)*y,(.5-le+z)*a,(.5-b+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*y,(.5+le+z)*a,(.5-b+te)*y,(1-.5+b+z)*a,(.5-le+te)*y));var fe=new go.PathFigure((.525+z)*a,(.5+b+te)*y,!1);return x.add(fe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ee,a,y){var x=ee?ee.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ee,a,y){var x=ee?ee.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ee,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ee,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ee,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*a,te=(.5-b/2)*y,le=(.5+b/2)*y,fe=new go.Geometry,pe=new go.PathFigure(0,te,!0);fe.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,te)),pe.add(new go.PathSegment(go.PathSegment.Line,z,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,le)),pe.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),fe.spot1=new go.Spot(0,te/y);var me=E(0,le/y,1,le/y,z/a,1,1,.5,be());return fe.spot2=new go.Spot(me.x,me.y),_e(me),fe}),go.Shape.setFigureParameter("Arrow2",0,new Ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var z=a-x,te=(y-b)/2,le=te+b,fe=new go.Geometry,pe=new go.PathFigure(0,te,!0);fe.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,te)),pe.add(new go.PathSegment(go.PathSegment.Line,z,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,y)),pe.add(new go.PathSegment(go.PathSegment.Line,z,le)),pe.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),fe.spot1=new go.Spot(0,te/y);var me=E(0,le/y,1,le/y,z/a,1,1,.5,be());return fe.spot2=new go.Spot(me.x,me.y),_e(me),fe}),go.Shape.defineFigureGenerator("Chevron",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);te.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,be());return te.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,z/y,1,z/y,fe),te.spot2=new go.Spot(fe.x,fe.y),_e(fe),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,te=z+x,le=(y-b)/2,fe=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,te=z+x,le=0,fe=y):(z=0,te=y,le=0,fe=y));var pe=new go.Geometry,me=new go.PathFigure(a,.5*y,!0);pe.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),me.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close());var ge=E(0,.5,.3,le/y,0,z/y,1,z/y,be());return pe.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,fe/y,1,.5,0,te/y,1,te/y,ge),pe.spot2=new go.Spot(ge.x,ge.y),_e(ge),pe}),go.Shape.setFigureParameter("IBeamArrow",0,new Ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);te.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,z/y,1,z/y,be());return te.spot2=new go.Spot(fe.x,fe.y),_e(fe),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,te=z+x,le=(y-b)/2,fe=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,te=z+x,le=0,fe=y):(z=0,te=y,le=0,fe=y));var pe=new go.Geometry,me=new go.PathFigure(a,.5*y,!0);pe.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),me.add(new go.PathSegment(go.PathSegment.Line,0,fe)),me.add(new go.PathSegment(go.PathSegment.Line,0,le)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close()),pe.spot1=new go.Spot(0,z/y);var ge=E(.7,fe/y,1,.5,0,te/y,1,te/y,be());return pe.spot2=new go.Spot(ge.x,ge.y),_e(ge),pe}),go.Shape.setFigureParameter("Pointer",0,new Ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=E(.2,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(te.x,te.y),_e(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var te=E(0,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(te.x,te.y),_e(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);te.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,0,z)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,z/y,1,z/y,be());return te.spot2=new go.Spot(fe.x,fe.y),_e(fe),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,z=b+x;x>y&&(b=0,z=y);var te=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);te.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,0,z)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,z/y,1,z/y,be());return te.spot2=new go.Spot(fe.x,fe.y),_e(fe),te}),go.Shape.setFigureParameter("SquareArrow",0,new Ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=ne*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=ne*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ne*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ne*x,(.5+z)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var le=new go.PathFigure(a,x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ne*x,(.5+z)*a,2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-ne*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=ne*.5,te=new go.PathFigure(0,y-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ne*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ne*x,(.5+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-ne*x));var le=new go.PathFigure(0,y-x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ne*x,(.5-z)*a,y-2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-ne*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=ne*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ne*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-ne*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ne*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,ne*x,0));var le=new go.PathFigure(x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ne*x,0,2*x,(.5-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+ne*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=ne*.5,te=new go.PathFigure(a-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ne*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-ne*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ne*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,ne*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var le=new go.PathFigure(a-x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ne*x,0,a-2*x,(.5-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-ne*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ee,a,y){var x=new go.Geometry,b=.2,z=.1,te=ne*b,le=ne*z,fe=.5,pe=.1,me=new go.PathFigure(fe*a,(pe+z)*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,pe*y,(fe-te)*a,(pe+z)*y,(fe-b)*a,(pe+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe-z)*y,(fe-b)*a,(pe-le)*y,(fe-te)*a,(pe-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,pe*y,(fe+te)*a,(pe-z)*y,(fe+b)*a,(pe-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe+z)*y,(fe+b)*a,(pe+le)*y,(fe+te)*a,(pe+z)*y));var ge=.05,Se=ne*ge;fe=.05,pe=.25;var ye=new go.PathFigure(.5*a,.2*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),fe=.95,pe=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ge)*a,pe*y,(fe+Se)*a,(pe-ge)*y,(fe+ge)*a,(pe-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ge=.025,Se=ne*ge,fe=.825,pe=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe-ge)*y,(fe+ge)*a,(pe-Se)*y,(fe+Se)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ge)*a,pe*y,(fe-Se)*a,(pe-ge)*y,(fe-ge)*a,(pe-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ge=.05,Se=ne*ge,fe=.5,pe=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe-ge)*y,(fe+ge)*a,(pe-Se)*y,(fe+Se)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ge)*a,pe*y,(fe-Se)*a,(pe-ge)*y,(fe-ge)*a,(pe-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ge=.025,Se=ne*ge,fe=.175,pe=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe-ge)*y,(fe+ge)*a,(pe-Se)*y,(fe+Se)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ge)*a,pe*y,(fe-Se)*a,(pe-ge)*y,(fe-ge)*a,(pe-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ge=.05,Se=ne*ge,fe=.05,pe=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe-ge)*y,(fe-ge)*a,(pe-Se)*y,(fe-Se)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=ne*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=ne*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=ne*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var le=new go.PathFigure(0,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ee,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=ne*.5,le=.5,fe=new go.PathFigure(a,le*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,y,a,(le+te)*y,(le+te)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,le*y,(le-te)*a,y,0,(le+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,0,0,(le-te)*y,(le-te)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,le*y,(le+te)*a,0,a,(le-te)*y));var pe=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),pe.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var le=new go.PathFigure(.5*b*a,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var le=new go.PathFigure(a,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-b)*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var le=new go.PathFigure(a,z*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ee,a,y){var x=new go.Geometry,b=ne*.1,z=.1,te=.9,le=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var pe=new go.PathFigure((te+z)*a,le*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+z)*y,(te+z)*a,(le+b)*y,(te+b)*a,(le+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,le*y,(te-b)*a,(le+z)*y,(te-z)*a,(le+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-z)*y,(te-z)*a,(le-b)*y,(te-b)*a,(le-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,le*y,(te+b)*a,(le-z)*y,(te+z)*a,(le-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=ne*.4,te=ne*.1,le=.1,fe=.9,pe=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var ge=new go.PathFigure((fe+le)*a,pe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe+le)*y,(fe+le)*a,(pe+te)*y,(fe+te)*a,(pe+le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le)*a,pe*y,(fe-te)*a,(pe+le)*y,(fe-le)*a,(pe+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe-le)*y,(fe-le)*a,(pe-te)*y,(fe-te)*a,(pe-le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le)*a,pe*y,(fe+te)*a,(pe-le)*y,(fe+le)*a,(pe-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*b,te=0,le=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(le+z)*y,(te+z)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(le-b)*y,.7*a,(le-z)*y)),b=.1,z=ne*.1,te=.9,le=.5;var pe=new go.PathFigure((te-b)*a,le*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-z)*y,(te-z)*a,(le-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+z)*a,(le-b)*y,(te+b)*a,(le-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+z)*y,(te+z)*a,(le+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-z)*a,(le+b)*y,(te-b)*a,(le+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*b,te=0,le=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z+z)*a,(le-b)*y,.8*a,(le-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(le+z)*y,(te+z+z)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*b,te=.2,le=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var pe=new go.PathFigure(.8*a,.5*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(le+z)*y,(te+z)*a,(le+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(le-b)*y,.7*a,(le-z)*y)),b=.1,z=ne*.1,te=.9,le=.5;var me=new go.PathFigure((te-b)*a,le*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-z)*y,(te-z)*a,(le-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+z)*a,(le-b)*y,(te+b)*a,(le-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+z)*y,(te+z)*a,(le+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-z)*a,(le+b)*y,(te-b)*a,(le+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*b,te=.2,le=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var pe=new go.PathFigure(.2*a,0,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z)*a,(le-b)*y,.9*a,(le-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(le+z)*y,(te+z)*a,(le+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ee,a,y){var x=new go.Geometry,b=ne*.1,z=.1,te=.1,le=.5,fe=new go.PathFigure((te-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.9,fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*a,y,(te+z)*a,0,(te+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ee,a,y){var x=new go.Geometry,b=ne*.5,z=.5,te=.5,le=.5,fe=new go.PathFigure((te-z)*a,le*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-z)*y,(te-z)*a,(le-b)*y,(te-b)*a,(le-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,le*y,(te+b)*a,(le-z)*y,(te+z)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+z)*y,(te+z)*a,(le+b)*y,(te+b)*a,(le+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,le*y,(te-b)*a,(le+z)*y,(te-z)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*a,le*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*a,le*y,te*a,(le-z)*y,te*a,(le+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ee,a,y){var x=new go.Geometry,b=a,z=y;a=a*.38,y=y*.6;var te=ne*.8,le=.8,fe=0,pe=.5,me=(b-a)/2,ge=(z-y)/2,Se=new go.PathFigure(fe*a+me,(pe+le)*y+ge,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le)*a+me,pe*y+ge,(fe-te)*a+me,(pe+le)*y+ge,(fe-le)*a+me,(pe+te)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(pe-le)*y+ge,(fe-le)*a+me,(pe-te)*y+ge,(fe-te)*a+me,(pe-le)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le+te*.5)*a+me,pe*y+ge,fe*a+me,(pe-le)*y+ge,(fe-le+te*.5)*a+me,(pe-te)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(pe+le)*y+ge,(fe-le+te*.5)*a+me,(pe+te)*y+ge,fe*a+me,(pe+le)*y+ge).close()),te=ne*.4,le=.4,fe=.2,pe=.5;var ye=new go.PathFigure(fe*a+me,(pe+le)*y+ge,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le)*a+me,pe*y+ge,(fe-te)*a+me,(pe+le)*y+ge,(fe-le)*a+me,(pe+te)*y+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(pe-le)*y+ge,(fe-le)*a+me,(pe-te)*y+ge,(fe-te)*a+me,(pe-le)*y+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le+te*.5)*a+me,pe*y+ge,fe*a+me,(pe-le)*y+ge,(fe-le+te*.5)*a+me,(pe-te)*y+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(pe+le)*y+ge,(fe-le+te*.5)*a+me,(pe+te)*y+ge,fe*a+me,(pe+le)*y+ge).close()),te=ne*.2,le=.2,fe=.5,pe=.5;var Pe=new go.PathFigure((fe-le)*a+me,pe*y+ge,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(pe-le)*y+ge,(fe-le)*a+me,(pe-te)*y+ge,(fe-te)*a+me,(pe-le)*y+ge)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le)*a+me,pe*y+ge,(fe+te)*a+me,(pe-le)*y+ge,(fe+le)*a+me,(pe-te)*y+ge)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(pe+le)*y+ge,(fe+le)*a+me,(pe+te)*y+ge,(fe+te)*a+me,(pe+le)*y+ge)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le)*a+me,pe*y+ge,(fe-te)*a+me,(pe+le)*y+ge,(fe-le)*a+me,(pe+te)*y+ge)),te=ne*.4,le=.4,fe=.8,pe=.5;var we=new go.PathFigure(fe*a+me,(pe-le)*y+ge,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le)*a+me,pe*y+ge,(fe+te)*a+me,(pe-le)*y+ge,(fe+le)*a+me,(pe-te)*y+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(pe+le)*y+ge,(fe+le)*a+me,(pe+te)*y+ge,(fe+te)*a+me,(pe+le)*y+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le-te*.5)*a+me,pe*y+ge,fe*a+me,(pe+le)*y+ge,(fe+le-te*.5)*a+me,(pe+te)*y+ge)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(pe-le)*y+ge,(fe+le-te*.5)*a+me,(pe-te)*y+ge,fe*a+me,(pe-le)*y+ge).close()),te=ne*.8,le=.8,fe=1,pe=.5;var De=new go.PathFigure(fe*a+me,(pe-le)*y+ge,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le)*a+me,pe*y+ge,(fe+te)*a+me,(pe-le)*y+ge,(fe+le)*a+me,(pe-te)*y+ge)),De.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(pe+le)*y+ge,(fe+le)*a+me,(pe+te)*y+ge,(fe+te)*a+me,(pe+le)*y+ge)),De.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le-te*.5)*a+me,pe*y+ge,fe*a+me,(pe+le)*y+ge,(fe+le-te*.5)*a+me,(pe+te)*y+ge)),De.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(pe-le)*y+ge,(fe+le-te*.5)*a+me,(pe-te)*y+ge,fe*a+me,(pe-le)*y+ge).close()),x}),go.Shape.defineFigureGenerator("Email",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var le=new go.PathFigure(0,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ee,a,y){var x=new go.Geometry,b=ne*.4,z=.4,te=.5,le=.5,fe=be(),pe=be(),me=be(),ge=be();he(te,le-z,te+b,le-z,te+z,le-b,te+z,le,.5,fe,fe,pe,me,ge);var Se=ve(pe.x,pe.y),ye=new go.PathFigure(pe.x*a,pe.y*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,le*y,me.x*a,me.y*y,ge.x*a,ge.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+z)*y,(te+z)*a,(le+b)*y,(te+b)*a,(le+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,le*y,(te-b)*a,(le+z)*y,(te-z)*a,(le+b)*y)),he(te-z,le,te-z,le-b,te-b,le-z,te,le-z,.5,me,ge,pe,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,me.x*a,me.y*y,ge.x*a,ge.y*y)),b=ne*.3,z=.3,he(te-z,le,te-z,le-b,te-b,le-z,te,le-z,.5,me,ge,pe,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Line,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,le*y,ge.x*a,ge.y*y,me.x*a,me.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+z)*y,(te-z)*a,(le+b)*y,(te-b)*a,(le+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,le*y,(te+b)*a,(le+z)*y,(te+z)*a,(le+b)*y)),he(te,le-z,te+b,le-z,te+z,le-b,te+z,le,.5,fe,fe,pe,me,ge),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ge.x*a,ge.y*y,me.x*a,me.y*y).close());var ye=new go.PathFigure(.45*a,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),_e(fe),_e(pe),_e(me),_e(ge),_e(Se),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(te,le,fe){te.add(new go.PathSegment(go.PathSegment.Move,(.3+le)*a,(.8+fe)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+le)*a,(.5+fe)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+le)*a,(.5+fe)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+le)*a,(.8+fe)*y).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ee,a,y){var x=new go.Geometry,b=.5,z=0,te=0,le=b*ne,fe=.4*Math.SQRT2/2+.5,pe=.5-.5*Math.SQRT2/2,me=1,ge=.5,Se=.5,ye=0,Pe=new go.PathFigure(fe*a,(1-pe)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,ge*y,me*a,.7*y,me*a,ge*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+z)*a,(ye+z)*y,(.5+b+z)*a,(.5-le+z)*y,(.5+le+z)*a,(.5-b+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-le+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-le+te)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+le+te)*y,(.5-le+z)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,le=.5,fe=te,pe=Math.PI/4,me=4*(1-Math.cos(pe))/(3*Math.sin(pe)),ge=me*.5,Se=te,ye=te,Pe=me*Se,we=me*ye;z.add(new go.PathSegment(go.PathSegment.Bezier,(le-Se)*a,fe*y,(le-(Pe+Se)/2)*a,(fe+(ye+we)/2)*y,(le-Se)*a,(fe+we)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(fe-ye)*y,(le-Se)*a,(fe-we)*y,(le-Pe)*a,(fe-ye)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(le+Se)*a,fe*y,(le+Pe)*a,(fe-ye)*y,(le+Se)*a,(fe-we)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(le+Se)*a,(fe+we)*y,(le+(Pe+Se)/2)*a,(fe+(ye+we)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var De=new go.PathFigure(.2*a,y,!1);x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ee=new go.PathFigure(.8*a,y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var te=new go.PathFigure(.1*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*.5,te=new go.PathFigure(a,b*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),le.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,le=ne*.1,fe=.2,pe=.9,me=new go.PathFigure((fe-te)*a,pe*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe-te)*y,(fe-te)*a,(pe-le)*y,(fe-le)*a,(pe-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+te)*a,pe*y,(fe+le)*a,(pe-te)*y,(fe+te)*a,(pe-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe+te)*y,(fe+te)*a,(pe+le)*y,(fe+le)*a,(pe+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-te)*a,pe*y,(fe-le)*a,(pe+te)*y,(fe-te)*a,(pe+le)*y).close()),te=.1,le=ne*.1,fe=.8,pe=.9;var ge=new go.PathFigure((fe-te)*a,pe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe-te)*y,(fe-te)*a,(pe-le)*y,(fe-le)*a,(pe-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(fe+te)*a,pe*y,(fe+le)*a,(pe-te)*y,(fe+te)*a,(pe-le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(pe+te)*y,(fe+te)*a,(pe+le)*y,(fe+le)*a,(pe+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(fe-te)*a,pe*y,(fe-le)*a,(pe+te)*y,(fe-te)*a,(pe+le)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var le=new go.PathFigure(.5*a,.7*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,pe=ne*.1,me=.1,ge=.9,Se=new go.PathFigure((me-fe)*a,ge*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-fe)*y,(me-fe)*a,(ge-pe)*y,(me-pe)*a,(ge-fe)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a,ge*y,(me+pe)*a,(ge-fe)*y,(me+fe)*a,(ge-pe)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+fe)*y,(me+fe)*a,(ge+pe)*y,(me+pe)*a,(ge+fe)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a,ge*y,(me-pe)*a,(ge+fe)*y,(me-fe)*a,(ge+pe)*y)),fe=.1,pe=ne*.1,me=.4,ge=.9;var ye=new go.PathFigure((me-fe)*a,ge*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-fe)*y,(me-fe)*a,(ge-pe)*y,(me-pe)*a,(ge-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a,ge*y,(me+pe)*a,(ge-fe)*y,(me+fe)*a,(ge-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+fe)*y,(me+fe)*a,(ge+pe)*y,(me+pe)*a,(ge+fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a,ge*y,(me-pe)*a,(ge+fe)*y,(me-fe)*a,(ge+pe)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var me=.05,ge=ne*.05,Se=.175,ye=.95,le=new go.PathFigure((Se-me)*a,ye*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-me)*y,(Se-me)*a,(ye-ge)*y,(Se-ge)*a,(ye-me)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*a,ye*y,(Se+ge)*a,(ye-me)*y,(Se+me)*a,(ye-ge)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+me)*y,(Se+me)*a,(ye+ge)*y,(Se+ge)*a,(ye+me)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*a,ye*y,(Se-ge)*a,(ye+me)*y,(Se-me)*a,(ye+ge)*y));var me=.05,ge=ne*.05,Se=.375,ye=.95,fe=new go.PathFigure((Se-me)*a,ye*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-me)*y,(Se-me)*a,(ye-ge)*y,(Se-ge)*a,(ye-me)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*a,ye*y,(Se+ge)*a,(ye-me)*y,(Se+me)*a,(ye-ge)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+me)*y,(Se+me)*a,(ye+ge)*y,(Se+ge)*a,(ye+me)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*a,ye*y,(Se-ge)*a,(ye+me)*y,(Se-me)*a,(ye+ge)*y));var me=.05,ge=ne*.05,Se=.625,ye=.95,pe=new go.PathFigure((Se-me)*a,ye*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-me)*y,(Se-me)*a,(ye-ge)*y,(Se-ge)*a,(ye-me)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*a,ye*y,(Se+ge)*a,(ye-me)*y,(Se+me)*a,(ye-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+me)*y,(Se+me)*a,(ye+ge)*y,(Se+ge)*a,(ye+me)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*a,ye*y,(Se-ge)*a,(ye+me)*y,(Se-me)*a,(ye+ge)*y));var me=.05,ge=ne*.05,Se=.825,ye=.95,Pe=new go.PathFigure((Se-me)*a,ye*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-me)*y,(Se-me)*a,(ye-ge)*y,(Se-ge)*a,(ye-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*a,ye*y,(Se+ge)*a,(ye-me)*y,(Se+me)*a,(ye-ge)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+me)*y,(Se+me)*a,(ye+ge)*y,(Se+ge)*a,(ye+me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*a,ye*y,(Se-ge)*a,(ye+me)*y,(Se-me)*a,(ye+ge)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var le=.05,fe=ne*.05,pe=.35,me=.775,ge=new go.PathFigure((pe-le)*a,me*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(me-le)*y,(pe-le)*a,(me-fe)*y,(pe-fe)*a,(me-le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe+le)*a,me*y,(pe+fe)*a,(me-le)*y,(pe+le)*a,(me-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(me+le)*y,(pe+le)*a,(me+fe)*y,(pe+fe)*a,(me+le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe-le)*a,me*y,(pe-fe)*a,(me+le)*y,(pe-le)*a,(me+fe)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ee,a,y){var x=new go.Geometry,b=.3,z=ne*.3,te=.5,le=.7,fe=new go.PathFigure((te-b)*a,le*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-z)*y,(te-z)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+z)*a,(le-b)*y,(te+b)*a,(le-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+z)*y,(te+z)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-z)*a,(le+b)*y,(te-b)*a,(le+z)*y));var pe=new go.PathFigure(0,.7*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*.5,te=.5,le=.5,fe=new go.PathFigure((te-b)*a,le*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-z)*y,(te-z)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+z)*a,(le-b)*y,(te+b)*a,(le-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+z)*y,(te+z)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-z)*a,(le+b)*y,(te-b)*a,(le+z)*y));var pe=new go.PathFigure(.15*a,.5*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ee,a,y){var x=new go.Geometry,b=.5,z=ne*.5,te=.5,le=.5,fe=new go.PathFigure((te-b)*a,le*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-z)*y,(te-z)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+z)*a,(le-b)*y,(te+b)*a,(le-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+z)*y,(te+z)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-z)*a,(le+b)*y,(te-b)*a,(le+z)*y).close()),b=.05,z=ne*.05,te=.5,le=.8;var pe=new go.PathFigure((te-b)*a,le*y,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-z)*y,(te-z)*a,(le-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+z)*a,(le-b)*y,(te+b)*a,(le-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+z)*y,(te+z)*a,(le+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-z)*a,(le+b)*y,(te-b)*a,(le+z)*y).close()),pe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var le=new go.PathFigure(.678*a,.85*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var le=new go.PathFigure(a*.612,y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var le=new go.PathFigure(a*.055,.18*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),le.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var le=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ee,a,y){var x=new go.Geometry,b=8,z=b*ne,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var le=new go.PathFigure(a*.83,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var pe=new go.PathFigure(a*.78,y*.05,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),pe.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),pe.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*ne,z=y*.8,te=new go.Geometry,le=new go.PathFigure(x,0,!0);return te.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),le.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),le.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),le.add(new go.PathSegment(go.PathSegment.Line,x,z)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),le.add(new go.PathSegment(go.PathSegment.Line,0,x)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ee,a,y){var x=new go.Geometry,b=15,z=b*ne,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var te=new go.PathFigure(a*.4,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var te=new go.PathFigure(a*.5,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},43001: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 Ct={},dt="5.0",ve={},be=null,_e=!1,E=!1,he=null,de=!1,se=null,ne=null,ie=0;ie<arguments.length;ie++){var ce=arguments[ie];if(ce!==null)switch(typeof ce){case"number":dt=ce.toFixed(1);break;case"string":ce.match(new RegExp("^[0-9]\\.[0-9]+$"))?dt=ce:he=ce;break;case"object":typeof ce.is3D!="undefined"?be=ce:ve=ce;break;case"boolean":_e=ce,E=!0;break}}be===null&&(be={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ve.material_id!==void 0&&!E&&(_e=!0)),he!==null&&ve.id===void 0&&(ve.id=he);var ue="",ae="",oe=!1,re=null,ee=null,a=null,y=!1,x=null,b=null,z=null,te=null,le=null;ve.height!==void 0&&(ve.height=Math.round(ve.height)),ve.width!==void 0&&(ve.width=Math.round(ve.width));var fe=function(We){return parseFloat(We)>4?parseFloat(We):5};Ct.setHTML5Codebase=function(We,ze){ne=We,qe(We,ze)},Ct.setJavaCodebase=Ct.setJavaCodebaseVersion=Ct.isCompiledInstalled=Ct.setPreCompiledScriptPath=Ct.setPreCompiledResourcePath=function(){},Ct.setHTML5CodebaseVersion=function(We,ze){var He=parseFloat(We);if(He!==NaN&&He<5){console.log("The GeoGebra HTML5 codebase version "+He+" is deprecated. Using version latest instead.");return}se=We,Qe(We,ze)},Ct.getHTML5CodebaseVersion=function(){return ee},Ct.getParameters=function(){return ve},Ct.setFontsCSSURL=function(We){te=We},Ct.setGiacJSURL=function(We){},Ct.setJNLPFile=function(We){ue=We},Ct.setJNLPBaseDir=function(We){},Ct.inject=function(){function We(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ze="auto",He=ve.id,tt,Je=!1,ut=0;ut<arguments.length;ut++){var Ye=arguments[ut];typeof Ye=="string"?(Ye=Ye.toLowerCase(),Ye.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ze=Ye:He=arguments[ut]):typeof Ye=="boolean"?Je=Ye:Ye instanceof HTMLElement&&(tt=Ye)}Ue();function Ue(){if(!de){setTimeout(Ue,200);return}ze=Ge(ze);var je=tt||document.getElementById(He);if(!je){console.log("possibly bug on ajax loading? ");return}if(Ct.removeExistingApplet(je,!1),ve.width===void 0&&je.clientWidth&&(ve.width=je.clientWidth),ve.height===void 0&&je.clientHeight&&(ve.height=je.clientHeight),!(ve.width&&ve.height)&&ze==="html5"&&(delete ve.width,delete ve.height),re=ze,ze==="screenshot")Ee(je,ve);else{var $e=!1;ve.hasOwnProperty("playButton")&&ve.playButton||ve.hasOwnProperty("clickToLoad")&&ve.clickToLoad?$e=!0:ve.hasOwnProperty("playButtonAutoDecide")&&ve.playButtonAutoDecide&&($e=(!pe()||We())&&me()),$e?(re="screenshot",Ce(je,ve,Je,ze)):De(je,ve,Je)}}};function pe(){try{return window.self!==window.top}catch(We){return!0}}function me(){return ve.hasOwnProperty("screenshotGenerator")&&ve.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Ct.getViews=function(){return be},Ct.isJavaInstalled=function(){return!1};var ge=function(We){var ze=function(ut){var Ye=JSON.parse(ut),Ue=function(Le){return Le.type=="G"||Le.type=="E"},je=Ye.elements?Ye.elements.filter(Ue)[0]:Ye;if(!je||!je.url){He();return}ve.fileName=je.url,Se(je.settings||{}),be.is3D=!0;var $e="https://www.geogebra.org/images/";Ct.setPreviewImage(x||je.previewUrl,$e+"GeoGebra_loading.png",$e+"applet_play.png"),We()},He=function(){ve.onError&&ve.onError(),Xe("Error: Fetching material (id "+ve.material_id+") failed.",ve)},tt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Je="/materials/"+ve.material_id+"?scope=basic";ye("https://"+tt+"/api/proxy.php?path="+encodeURIComponent(Je),ze,He)};function Se(We){var ze=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(He){We[He]=!!We[He]}),ze.forEach(function(He){ve[He]===void 0&&We[He]!==void 0&&(ve[He]=We[He])}),ve.showToolBarHelp===void 0&&(ve.showToolBarHelp=ve.showToolBar)}function ye(We,ze,He){var tt=new XMLHttpRequest;tt.open("GET",We),tt.onload=function(){ze(tt.responseText)},tt.onerror=He,tt.send()}Ct.isHTML5Installed=function(){return!0},Ct.getLoadedAppletType=function(){return re},Ct.setPreviewImage=function(We,ze,He){x=We,b=ze,z=He},Ct.removeExistingApplet=function(We,ze){var He;typeof We=="string"&&(We=document.getElementById(We)),re=null;var tt=null;for(He=0;He<We.childNodes.length;He++){var Je=We.childNodes[He],ut=Je.className;ut==="applet_screenshot"?ze?(Je.style.display="block",re="screenshot"):Je.style.display="none":ut!=="applet_scaler prerender"&&(We.removeChild(Je),tt=ut&&ut.indexOf("appletParameters")!=-1?Je.id:null,He--)}var Ye=ve.id!==void 0?ve.id:tt,Ue=window[Ye];Ue&&typeof Ue.getBase64=="function"&&(Ue.remove(),window[Ye]=null)},Ct.refreshHitPoints=function(){if(fe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var We=Ct.getAppletObject();return We&&typeof We.recalculateEnvironments=="function"?(We.recalculateEnvironments(),!0):!1},Ct.startAnimation=function(){var We=Ct.getAppletObject();return We&&typeof We.startAnimation=="function"?(We.startAnimation(),!0):!1},Ct.stopAnimation=function(){var We=Ct.getAppletObject();return We&&typeof We.stopAnimation=="function"?(We.stopAnimation(),!0):!1},Ct.getAppletObject=function(){var We=ve.id!==void 0?ve.id:"ggbApplet";return window[We]},Ct.resize=function(){};var Pe=function(We,ze,He){var tt=document.createElement("param");tt.setAttribute("name",ze),tt.setAttribute("value",He),We.appendChild(tt)},we=function(We){return We&&We!=="false"},De=function(We,ze,He){fe(ee)<=4.2&&(He=!0);var tt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ee||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(tt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Je=document.createElement("div");Je.classList.add("appletParameters","notranslate");var ut=ze.width,Ye=ze.height;if(ze.disableAutoScale=ze.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ze.disableAutoScale,ze.width!==void 0)if(fe(ee)<=4.4)we(ze.showToolBar)&&(ze.height-=7),we(ze.showAlgebraInput)&&(ze.height-=37),ze.width<605&&we(ze.showToolBar)&&(ze.width=605,ut=605);else{var Ue=100;(we(ze.showToolBar)||we(ze.showMenuBar))&&(ze.hasOwnProperty("customToolBar")&&(ze.customToolbar=ze.customToolBar),Ue=we(ze.showMenuBar)?245:155),ut<Ue&&(ze.width=Ue,ut=Ue)}Je.style.border="none",Je.style.display="inline-block";for(var je in ze)ze.hasOwnProperty(je)&&je!=="appletOnLoad"&&Je.setAttribute("data-param-"+je,ze[je]);te&&Je.setAttribute("data-param-fontscssurl",te),Ct.resize=function(){GGBAppletUtils.responsiveResize(We,ze)},window.addEventListener("resize",function(ke){Ct.resize()});var $e=typeof ze.appletOnLoad=="function"?ze.appletOnLoad:function(){};if(!He&&ze.width!==void 0){ze.hasOwnProperty("showSplash")||Je.setAttribute("data-param-showSplash","false");var Le=We.querySelector(".applet_scaler.prerender"),Ne=Le!==null;if(Ne)var et=Le.querySelector(".ggb_preview");else{var et=Me(ut,Ye,ze.borderColor,!1);Le=document.createElement("div"),Le.className="applet_scaler",Le.style.position="relative",Le.style.display="block",Le.style.width=ut+"px",Le.style.height=Ye+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Le,"66%"),fe(ee)>=5?(ze.appletOnLoad=function(ke){var nt=We.querySelector(".ggb_preview");nt&&nt.parentNode.removeChild(nt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Le),window.GGBT_wsf_view&&$(window).trigger("resize"),$e(ke)},Ne||Le.appendChild(et)):Je.appendChild(et),Le.appendChild(Je),Ne||We.appendChild(Le),setTimeout(function(){Ct.resize()},1)}else{var Ze=document.createElement("div");Ze.className="applet_scaler",Ze.style.position="relative",Ze.style.display="block",Ze.appendChild(Je),We.appendChild(Ze),ze.appletOnLoad=function(ke){Ct.resize(),$e(ke)}}function Fe(ke,nt){nt&&typeof nt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ke,nt.appletOnLoad):renderGGBElement(ke),Xe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",nt)}function Oe(ke,nt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ke,params:nt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(mt){Fe(mt.article,mt.params)}),html5AppletsToProcess=null)},fe(ee)<5&&(ke.className+=" geogebraweb")):Fe(ke,nt)}if(tt){scriptLoadStarted=!0;for(var Te=0;Te<Je.childNodes.length;Te++){var xe=Je.childNodes[Te].tagName;xe==="TABLE"&&(Je.removeChild(Je.childNodes[Te]),Te--)}if(ggbHTML5LoadedScript!==null){var Re=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Re!=null&&Re.parentNode.removeChild(Re)}var Ke=document.createElement("script"),ot=function(){Oe(Je,ze)};Ke.src=ae+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ee,ggbHTML5LoadedScript=Ke.src,Xe("GeoGebra HTML5 codebase loaded: '"+ae+"'.",ze),!ne&&(!se||se=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),ot()):ae.requirejs?__webpack_require__.e(7963).then(function(){var ke=[__webpack_require__(87963)];ot.apply(null,ke)}.bind(this)).catch(__webpack_require__.oe):(Ke.onload=ot,We.appendChild(Ke))}else Oe(Je,ze);ze.height=Ye,ze.width=ut},Ee=function(We,ze,He){var tt=Me(ze.width,ze.height,ze.borderColor,He),Je=document.createElement("div");Je.style.position="relative",Je.style.display="block",Je.style.width=ze.width+"px",Je.style.height=ze.height+"px",Je.className="applet_screenshot applet_scaler"+(He?" applet_screenshot_play":""),Je.appendChild(tt);var ut=GGBAppletUtils.getScale(ze,We,He);He?(We.appendChild(Ie()),window.GGBT_wsf_view||(We.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Je,"66%"),We.appendChild(Je),ut!==1&&!isNaN(ut)&&(GGBAppletUtils.scaleElement(Je,ut),Je.style.width=ze.width+"px",Je.style.height=ze.height+"px",Je.parentNode.style.width=ze.width*ut+"px",Je.parentNode.style.height=ze.height*ut+"px"),Ct.resize=function(){Ae(We,tt,Je,He)},window.addEventListener("resize",function(Ye){Ct.resize()}),Ct.resize()};function Ae(We,ze,He,tt){if(We.contains(ze)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(We.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(We)}var Je=GGBAppletUtils.getScale(ve,We,tt);He.parentNode!==null&&(!isNaN(Je)&&Je!==1?(GGBAppletUtils.scaleElement(He,Je),He.parentNode.style.width=ve.width*Je+"px",He.parentNode.style.height=ve.height*Je+"px"):(GGBAppletUtils.scaleElement(He,1),He.parentNode.style.width=ve.width+"px",He.parentNode.style.height=ve.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(We),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Ct.onExitFullscreen=function(We,ze){ze.appendChild(We)};var Ce=function(We,ze,He,tt){Ee(We,ze,!0);for(var Je=function(){var Ue=[];for(Ye=0;Ye<We.childNodes.length;Ye++)Ue.push(We.childNodes[Ye]);if(window.GGBT_wsf_view){var je=window.GGBT_wsf_view.renderFullScreen(We,ze.id),$e=document.getElementById("fullscreencontainer"),Le=jQuery(We).find(".fullscreencontent");Le.length>0?(je.remove(),Le.attr("id","fullscreencontent").show(),jQuery($e).append(Le),window.dispatchEvent(new Event("resize"))):De(je,ze,!1),window.GGBT_wsf_view.launchFullScreen($e)}else re=tt,De(We,ze,!1);if(!window.GGBT_wsf_view)for(Ye=0;Ye<Ue.length;Ye++)We.removeChild(Ue[Ye])},ut=We.getElementsByClassName("ggb_preview_play"),Ye=0;Ye<ut.length;Ye++)ut[Ye].addEventListener("click",Je,!1),ut[Ye].addEventListener("ontouchstart",Je,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(We),me()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ie=function(){var We=document.createElement("div");if(We.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ze='.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");}',He=document.createElement("style");He.styleSheet?He.styleSheet.cssText=ze:He.appendChild(document.createTextNode(ze)),document.getElementsByTagName("head")[0].appendChild(He)}return We},Me=function(We,ze,He,tt){var Je=document.createElement("div");Je.className="ggb_preview",Je.style.position="absolute",Je.style.zIndex="90",Je.style.width=We-2+"px",Je.style.height=ze-2+"px",Je.style.top="0px",Je.style.left="0px",Je.style.overflow="hidden",Je.style.backgroundColor="white";var ut="lightgrey";He!==void 0&&(He==="none"?ut="transparent":ut=He),Je.style.border="1px solid "+ut;var Ye=document.createElement("img");if(Ye.style.position="relative",Ye.style.zIndex="1000",Ye.style.top="-1px",Ye.style.left="-1px",x!==null&&Ye.setAttribute("src",x),Ye.style.opacity=.7,b!==null){var Ue,je,$e;if(!tt){Ue=document.createElement("img"),Ue.style.position="absolute",Ue.style.zIndex="1001",Ue.style.opacity=1,Ye.style.opacity=.3,je=360,je>We/4*3&&(je=We/4*3),$e=je/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",je),Ue.setAttribute("height",$e);var Le=(We-je)/2,Ne=(ze-$e)/2;Ue.style.left=Le+"px",Ue.style.top=Ne+"px",Je.appendChild(Ue)}}return Je.appendChild(Ye),Je},Ge=function(We){return We=We.toLowerCase(),We==="html5"||We==="screenshot"?We:"html5"},Be=["web","webSimple","web3d","tablet","tablet3d","phone"],Qe=function(We,ze){if(ee=We,ze){qe(ee,!0);return}var He=!_e;if(He){var tt=fe(ee);!isNaN(tt)&&tt<4.4&&(He=!1)}var Je,ut;window.location.protocol.substr(0,4)==="http"?Je=window.location.protocol:Je="http:";var Ye=ee.indexOf("//");Ye>0?ut=ee:Ye===0?ut=Je+ee:ut="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Be)if(ee.slice(Be[Ue].length*-1)===Be[Ue]||ee.slice((Be[Ue].length+1)*-1)===Be[Ue]+"/"){qe(ut,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&He&&!be.is3D&&!be.AV&&!be.SV&&!be.CV&&!be.EV2&&!be.CP&&!be.PC&&!be.DA&&!be.FI&&!be.PV&&!we(ve.showToolBar)&&!we(ve.showMenuBar)&&!we(ve.showAlgebraInput)&&!we(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?ut+="webSimple/":ut+="web3d/",qe(ut,!1)},qe=function(We,ze){if(We.requirejs){ae=We;return}We.slice(-1)!=="/"&&(We+="/"),ae=We,ze===null&&(ze=We.indexOf("http")===-1),oe=ze,a="web.nocache.js",y=!1;var He=ae.split("/");He.length>1&&(!ze&&He[He.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Be.indexOf(He[He.length-2])>=0&&(a=He[He.length-2]+".nocache.js")),He=We.split("/"),ee=He[He.length-3],ee.substr(0,4)==="test"?ee=ee.substr(4,1)+"."+ee.substr(5,1):(ee.substr(0,3)==="war"||ee.substr(0,4)==="beta")&&(ee="5.0");var tt=parseFloat(ee);tt!==NaN&&tt<5&&We.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+tt+" is deprecated. Using version latest instead."),Qe("5.0",ze))},Xe=function(We,ze){window.console&&window.console.log&&(!ze||typeof ze.showLogging=="undefined"||ze.showLogging&&ze.showLogging!=="false")&&console.log(We)};ve.material_id!==void 0?ge(Ve):Ve();function Ve(){var We=dt;se!==null?We=se:parseFloat(We)<5&&(We="5.0"),Qe(We,!1),ne!==null&&qe(ne,oe),de=!0}return Ct},GGBAppletUtils=function(){"use strict";function Ct(){return window.GGBT_wsf_edit!==void 0}function dt(de,se){se!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+se+","+se+")",de.style.webkitTransform="scale("+se+","+se+")",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 ve(de,se,ne,ie,ce,ue){var ae=null;if(ue!=null&&ue!="")for(var oe=de.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+ue+" ")>-1){ae=oe;break}else oe=oe.parentNode;var re=0,ee=0,a=0,y=0,x=0,b=0,z=0;if(ae)re=ae.offsetWidth,ee=Math.max(ie?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(re=Math.min(window.innerWidth,document.documentElement.clientWidth),ee=Math.min(window.innerHeight,document.documentElement.clientHeight),a=re):(re=window.innerWidth,ee=window.innerHeight,a=window.innerWidth),de){var te=de.getBoundingClientRect();te.left>0&&te.left<=re&&(ce===void 0||!ce)&&(document.dir==="rtl"?(x=re-te.width-te.left,b=a<=480?10:30):(b=te.left,x=a<=480?10:30),y=b+x)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var le=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return de&&((ne===void 0||!ne)&&se>0&&se+y<re?re=se:re-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ne===void 0||!ne)&&(ee-=z)),{width:re,height:ee}}function be(de,se,ne,ie,ce){if(de.isScreenshoGenerator)return 1;var ue=ie!==void 0&&ie,ae=de.noScaleMargin!=null&&de.noScaleMargin,oe=function(le){return le&&le!=="false"},re=oe(de.autoHeight),ee=ve(se,de.width,ne,re,ue&&window.GGBT_wsf_view||ae,ce),a=parseInt(ee.width),y=de.width,x=de.height;if(y===void 0){var b=se.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var z=a/y,te=ue?1:ee.height/x;return ne!==void 0&&!ne&&(z=Math.min(1,z),te=Math.min(1,te)),Math.min(z,te)}function _e(de,se,ne){var ie=1,ce,ue=!1;if(de.hasOwnProperty("allowUpscale")&&(ue=de.allowUpscale),de.hasOwnProperty("scale")&&(ie=parseFloat(de.scale),(isNaN(ie)||ie===null||ie===0)&&(ie=1),ie>1&&(ue=!0)),se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))ce=be(de,se,ue,ne,de.scaleContainerClass);else return ie;return ue&&(!de.hasOwnProperty("scale")||ie===1)?ce:Math.min(ie,ce)}function E(de){var se=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=de.getBoundingClientRect(),ce=(se-ie.width)/2,ue=(ne-ie.height)/2;ue<0&&(ue=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ce<40?de.style.left="40px":de.style.left=ce+"px",de.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?de.style.top="40px":de.style.top=ue+"px",de.style.left=ce+"px")}function he(de,se){var ne=de.querySelector(".appletParameters");if(ne){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(se.id!==ne.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(ne.parentElement&&/fullscreen/.test(ne.parentElement.className))return;var ie=_e(se,de);Ct()&&ne.setAttribute("data-param-scale",ie);for(var ce=null,ue=0;ue<de.childNodes.length;ue++)if(de.childNodes[ue].className!==void 0&&de.childNodes[ue].className.match(/^applet_scaler/)){ce=de.childNodes[ue];break}if(ce!==null&&ce.querySelector(".noscale")!==null)return;var ae=se.id!==void 0?se.id:"ggbApplet",oe=window[ae];(oe==null||!oe.recalculateEnvironments)&&ce!==null&&!ce.className.match(/fullscreen/)&&(ce.parentNode.style.transform="",!isNaN(ie)&&ie!==1?(ce.parentNode.style.width=se.width*ie+"px",ce.parentNode.style.height=se.height*ie+"px",dt(ce,ie)):(dt(ce,1),ce.parentNode.style.width=se.width+"px",ce.parentNode.style.height=se.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&E(de),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ne).parents(".content-added-content"))}}return{responsiveResize:he,isFlexibleWorksheetEditor:Ct,positionCenter:E,getScale:_e,scaleElement:dt}}();__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 Ct=n.location.search;return Ct.indexOf(J)!=-1||Ct.indexOf(K)!=-1}function q(Ct,dt){}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(Ct){var dt=s[L].bindings;s[L].bindings=function(){for(var ve=dt?dt():{},be=Ct[webModule.__softPermutationId],_e=O;_e<be.length;_e++){var E=be[_e];ve[E[O]]=E[P]}return ve}};var t;function u(){return v(),t}function v(){if(!t){var Ct=o.createElement(Q);if(Ct.id=L,Ct.style.cssText=R+S,Ct.tabIndex=-1,o.body.appendChild(Ct),t=Ct.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var dt=document.compatMode==U?V:W;t.write(dt+X),t.close()}}}function w(Ct){function dt(be){function _e(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=_e();if(E){be();return}function he(){if(!E){if(!_e())return;E=!0,be(),o.removeEventListener&&o.removeEventListener(Z,he,!1),de&&clearInterval(de)}}o.addEventListener&&o.addEventListener(Z,he,!1);var de=setInterval(function(){he()},$)}function ve(be){var _e=u(),E=_e.body,he=_e.createElement(_);he.language=ab,he.crossOrigin=W,he.src=be,webModule.__errFn&&(he.onerror=function(){webModule.__errFn(L,new Error(bb+be))}),E.appendChild(he)}dt(function(){ve(Ct)})}webModule.__startLoadingFragment=function(Ct){return C(Ct)},webModule.__installRunAsyncCode=function(Ct){var dt=u(),ve=dt.body,be=dt.createElement(_);be.language=ab,be.text=Ct,ve.appendChild(be),ve.removeChild(be)};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(Ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ct){var dt=c[Ct];return dt==null?null:dt},r=d,webModule.__errFn=e}function B(){function Ct(de){var se=de.lastIndexOf(rb);se==-1&&(se=de.length);var ne=de.indexOf(sb);ne==-1&&(ne=de.length);var ie=de.lastIndexOf(tb,Math.min(ne,se));return ie>=O?de.substring(O,ie+P):W}function dt(de){if(!de.match(/^\w+:\/\//)){var se=o.createElement(ub);se.src=de+vb,de=Ct(se.src)}return de}function ve(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function be(){for(var de=o.getElementsByTagName(_),se=O;se<de.length;++se)if(de[se].src.indexOf(xb)!=-1)return Ct(de[se].src);return W}function _e(){var de=o.getElementsByTagName(yb);return de.length>O?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var he=ve();return he==W&&(he=be()),he==W&&(he=_e()),he==W&&E()&&(he=Ct(o.location.href)),he=dt(he),he}function C(Ct){return Ct.match(/^\//)||Ct.match(/^[a-zA-Z]+:\/\//)?Ct:webModule.__moduleBase+Ct}function D(){var Ct=[],dt=O,ve=[],be=[];function _e(de){var se=be[de](),ne=ve[de];if(se in ne)return se;var ie=[];for(var ce in ne)ie[ne[ce]]=ce;throw r&&r(de,ie,se),null}if(__gwt_isKnownPropertyValue=function(de,se){return se in ve[de]},webModule.__getPropMap=function(){var de={};for(var se in ve)ve.hasOwnProperty(se)&&(de[se]=_e(se));return de},webModule.__computePropValue=_e,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var he=E.indexOf(Db);he!=-1&&(dt=parseInt(E.substring(he+P),$),E=E.substring(O,he))}catch(de){}return webModule.__softPermutationId=dt,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},46699:function(Ct,dt,ve){"use strict";ve.d(dt,{Ax:function(){return he},Ds:function(){return de},KI:function(){return ne},SI:function(){return E},f1:function(){return _e}});var be=ve(346);function _e(ie){let ce=!0;if(ie.length>0){for(let ue=0;ue<ie.length;ue++)if(ie[ue].compile_success==0||!ie[ue].compile_success){ce=!1;break}}else ce=!1;return ce}function E(ie,ce=""){let ue=[];for(let ae=0;ae<ie.length;ae++){let oe=ie[ae],re=ce?`${ce}/${oe.name}`:`${oe.name}`;ue.push({title:oe.name,type:oe.type,isLeaf:oe.type!=="tree",key:re})}return ue}function he(ie,ce,ue){for(let ae=0;ae<ie.length;ae++){let oe=ie[ae];if(oe.key===ce){oe.children=ue;break}oe.children&&he(oe.children,ce,ue)}return ie}function de(ie,ce,ue){let ae;return function(){let oe=this,re=arguments,ee=function(){ae=null,ue||ie.apply(oe,re)},a=ue&&!ae;clearTimeout(ae),ae=setTimeout(ee,ce),a&&ie.apply(oe,re)}}const se=!0,ne=be.Z.API_SERVER},36482:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return we},U:function(){return Se}});var be=ve(59301),_e=ve(31797),E=ve(43418),he=ve(1710),de=ve(84989),se=ve(81722),ne=ve(61186),ie=ve.n(ne),ce={exitFullScreenModalWrapper:"exitFullScreenModalWrapper___aNB9Q",exitFullScreenModal:"exitFullScreenModal___HIMyY",warningIcon:"warningIcon___xEURa",warningText:"warningText___W6NPJ",countdownWrapper:"countdownWrapper___n8g1M",forcedModalWrapper:"forcedModalWrapper___JPMQ2",forcedModalContent:"forcedModalContent___uY5FV",forcedText:"forcedText___C3CrF",screenNumText:"screenNumText___oljHN"},ue="data:image/png;base64,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",ae="data:image/png;base64,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",oe=ve(51257),re=ve(25690),ee=ve(26547),a=ve(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,fe=(De,Ee,Ae)=>Ee in De?y(De,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):De[Ee]=Ae,pe=(De,Ee)=>{for(var Ae in Ee||(Ee={}))te.call(Ee,Ae)&&fe(De,Ae,Ee[Ae]);if(z)for(var Ae of z(Ee))le.call(Ee,Ae)&&fe(De,Ae,Ee[Ae]);return De},me=(De,Ee)=>x(De,b(Ee)),ge=(De,Ee,Ae)=>new Promise((Ce,Ie)=>{var Me=Qe=>{try{Be(Ae.next(Qe))}catch(qe){Ie(qe)}},Ge=Qe=>{try{Be(Ae.throw(Qe))}catch(qe){Ie(qe)}},Be=Qe=>Qe.done?Ce(Qe.value):Promise.resolve(Qe.value).then(Me,Ge);Be((Ae=Ae.apply(De,Ee)).next())});const Se=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ye}=_e.default,Pe=({exercise:De,socket:Ee,dispatch:Ae,onStartScreenshot:Ce,onCloseScreenshot:Ie,handleToDetail:Me})=>{const[Ge,Be]=E.default.useModal(),Qe=(0,be.useRef)(),[qe,Xe]=(0,be.useState)(!0),Ve=(0,be.useRef)(!1),We=(0,re.useParams)();(0,be.useEffect)(()=>{var xe,Re,Ke;if(document.addEventListener((0,de.gH)(),Oe,!1),window.addEventListener("blur",Ze,!1),(xe=De.exerciseUserInfo)!=null&&xe.screen_open&&(0,de.vp)()&&Xe(!1),(Re=De.exerciseUserInfo)!=null&&Re.screen_open&&!(0,de.vp)()){(0,oe.RG)(" ",!0);const ot=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?De.exerciseUserInfo.screen_sec+3:De.exerciseUserInfo.screen_sec+10+1;Qe.current=E.default.info({icon:null,centered:!0,width:444,title:(0,ee._V)(ee.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,ee._V)(ee.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},De.exerciseUserInfo.screen_num-De.exerciseUserInfo.used_screen_num),(0,ee._V)(ee.CP.recordScreen3)),okText:a.createElement("span",null,(0,ee._V)(ee.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ye,{onFinish:()=>ge(void 0,null,function*(){var ke;const nt=yield Fe();(ke=Qe.current)==null||ke.destroy(),nt.used_screen_num&&Le(nt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+ot*1e3})),"S\uFF09"),onOk:()=>{var ke;(0,oe.RG)(" ",!0),(ke=Qe.current)==null||ke.destroy(),Xe(!1),(0,de.Dj)(document.body),document.getElementById("root").addEventListener("click",He,!1)}})}return(Ke=De.exerciseUserInfo)!=null&&Ke.screen_open&&!(0,de.vp)()||document.getElementById("root").addEventListener("click",He,!1),()=>{document.getElementById("root").removeEventListener("click",He,!1),document.removeEventListener((0,de.gH)(),Oe,!1),window.removeEventListener("blur",Ze,!1)}},[]),(0,be.useEffect)(()=>{setTimeout(()=>{De.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",He,!1),document.removeEventListener((0,de.gH)(),Oe,!1))},500),tt()},[De.actionTabs]),(0,be.useEffect)(()=>{setTimeout(()=>{De.exerciseUserInfo.used_screen_num>De.exerciseUserInfo.screen_num&&Ne()},500)},[De.exerciseUserInfo]);const ze=()=>ge(void 0,null,function*(){const xe=yield Fe();setTimeout(()=>{var Re,Ke;(Re=Qe.current)==null||Re.destroy(),Qe.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},xe.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Ke=De.exerciseUserInfo)==null?void 0:Ke.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>ge(void 0,null,function*(){(0,de.Dj)(document.body)})})},1e3)}),He=xe=>{!(0,de.vp)()&&xe.target.nodeName!=="A"&&xe.target.nodeName!=="BUTTON"&&xe.target.innerHTML!=="\u786E \u5B9A"&&(0,de.Dj)(document.body)},tt=()=>ge(void 0,null,function*(){const xe=yield Ae({type:"exercise/getExerciseUserInfo",payload:pe({},We)});return xe==null?void 0:xe.data}),Je=xe=>ge(void 0,null,function*(){var Re;if((Re=De.exerciseUserInfo)!=null&&Re.screen_at){const ot=yield(0,se.ck)(me(pe({},We),{reset:!0}));if((ot==null?void 0:ot.status)===-6)return}const Ke=yield(0,se.oy)({id:We.categoryId});if(Ke!=null&&Ke.is_commit){E.default.destroyAll(),yield ut(),et(!0);return}else Le(xe+1)}),ut=()=>ge(void 0,null,function*(){var xe;const Re=ie()(),Ke=De.exerciseUserInfo.screen_sec;if(je.current.length>0){const ot=Re.format("YYYY-MM-DD HH:mm:ss");let ke=Math.floor(Re.diff(ie()(je.current[0].start))/1e3);const nt=je.current.length;ke/Ke>>0>nt&&(ke=(nt+1)*Ke-1),yield(0,se.P8)(We.categoryId,{exercise_user_id:(xe=De.exerciseUserInfo)==null?void 0:xe.exercise_user_id,time:ot,time_long:ke,count:nt})}je.current=[]}),Ye=(0,be.useRef)(0),Ue=(0,be.useRef)(0),je=(0,be.useRef)([]),$e=(0,be.useRef)(!1),Le=xe=>ge(void 0,null,function*(){var Re;Ve.current||(Ce(),E.default.destroyAll(),Ye.current=ie()().valueOf(),$e.current=!0,Qe.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:ce.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,ee._V)(ee.CP.recordScreen8)),content:a.createElement("div",{className:ce.exitFullScreenModal},a.createElement("img",{src:ue,alt:"",className:ce.warningIcon}),a.createElement("div",{className:ce.warningText,style:{marginBottom:50,fontWeight:500}},(0,ee._V)(ee.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,ee._V)(ee.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,ee._V)(ee.CP.recordScreen11),a.createElement("span",{className:ce.warningText},((Re=De.exerciseUserInfo)==null?void 0:Re.screen_num)+1),(0,ee._V)(ee.CP.recordScreen12),a.createElement("span",{className:ce.warningText,style:{fontWeight:600}},(0,ee._V)(ee.CP.recordScreen13)),",",(0,ee._V)(ee.CP.recordScreen14),a.createElement("span",{className:ce.warningText},xe-1),(0,ee._V)(ee.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ye,{className:ce.countdownWrapper,onFinish:()=>{Ue.current=ie()().valueOf(),je.current.push({start:Ye.current,end:Ue.current}),Je(xe)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(De.exerciseUserInfo.screen_sec+1)*1e3}),(0,ee._V)(ee.CP.recordScreen25)),(0,ee._V)(ee.CP.recordScreen16))),onOk:()=>{(0,oe.RG)(" ",!0),ut(),(0,de.Dj)(document.body),Ie(),Qe.current.destroy(),$e.current=!1}}))}),Ne=()=>ge(void 0,null,function*(){E.default.destroyAll(),(yield(0,se.VL)({categoryId:We.categoryId,commit_method:1}))&&et()}),et=(xe=!1)=>ge(void 0,null,function*(){var Re,Ke;if(document.removeEventListener((0,de.gH)(),Oe,!1),(0,de.BU)(),E.default.destroyAll(),Ve.current=!0,xe){const ot=yield(0,se.Yu)(We.categoryId,{exercise_user_id:(Re=De.exerciseUserInfo)==null?void 0:Re.exercise_user_id});Ge.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:ce.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:ce.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:ce.forcedText},(0,ee._V)(ee.CP.recordScreen17)),a.createElement("div",{className:ce.screenNumText},(0,ee._V)(ee.CP.recordScreen18),(Ke=De.exerciseUserInfo)==null?void 0:Ke.screen_num,(0,ee._V)(ee.CP.recordScreen19)),a.createElement(he.default,{dataSource:ot==null?void 0:ot.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,ee._V)(ee.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,ee._V)(ee.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,ee._V)(ee.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Ie(),Me()},onOk:()=>{re.history.push(`/classrooms/${We.coursesId}/exercisenotice/${We.categoryId}/users/${We.login}?isShowApply=true`)}})}else Ge.info({content:a.createElement("div",{className:"tc font16"},(0,ee._V)(ee.CP.recordScreen23),a.createElement("br",null),(0,ee._V)(ee.CP.recordScreen24)),onOk:()=>{Me()}})}),Ze=xe=>{(0,de.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!$e.current&&(0,de.BU)()},Fe=()=>ge(void 0,null,function*(){var xe;if((xe=De.exerciseUserInfo)!=null&&xe.screen_at){const ot=yield(0,se.ck)(me(pe({},We),{reset:!0}));if((ot==null?void 0:ot.status)===-6)return}const Re=yield(0,se.oy)({id:We.categoryId});if(Re!=null&&Re.is_commit){et();return}return yield tt()}),Oe=()=>ge(void 0,null,function*(){var xe;if((0,oe.RG)(" ",!0),(0,de.vp)()){if((xe=De.exerciseUserInfo)!=null&&xe.screen_at){var Re=yield(0,se.ck)(me(pe({},We),{reset:!0}));if((Re==null?void 0:Re.status)===-6)return}}else if(!$e.current){var Re=yield(0,se.ck)(pe({},We));if((Re==null?void 0:Re.status)===-6)return;const ot=yield tt();Le(ot.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Te=()=>ge(void 0,null,function*(){(0,se.ck)(pe({},We));const xe=yield tt();Le(xe.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Be)};var we=(0,re.connect)(({exercise:De,globalSetting:Ee})=>({globalSetting:Ee,exercise:De}))(Pe)},41319:function(Ct,dt,ve){"use strict";ve.d(dt,{X:function(){return he},y:function(){return E}});var be=ve(59301),_e=ve(8591);const E=de=>{(0,be.useEffect)(()=>{if(de){const se=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},ne=ie=>{ie.preventDefault()};return document.addEventListener("keydown",se),document.addEventListener("contextmenu",ne),()=>{document.removeEventListener("keydown",se),document.removeEventListener("contextmenu",ne)}}},[de])},he=()=>{const[de,se]=(0,be.useState)(!1),ne=ie=>{const{keyCode:ce,ctrlKey:ue,metaKey:ae,type:oe}=ie;(oe==="paste"||(ce===67||ce===86)&&(ae||ue))&&(_e.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,be.useEffect)(()=>(de&&(window.addEventListener("keydown",ne,!0),window.addEventListener("paste",ne,!0)),()=>{window.removeEventListener("keydown",ne,!0),window.removeEventListener("paste",ne,!0)}),[de]),{setOpenDisableCopyAndPaste:se,disableCopyAndPaste:de}}},9507:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ae}});var be=ve(59301),_e={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=ve(92310),he=ve.n(E),de=ve(71418),se=ve(2859),ne=ve(38986),ie=ve(51257),ce=(oe,re,ee)=>new Promise((a,y)=>{var x=te=>{try{z(ee.next(te))}catch(le){y(le)}},b=te=>{try{z(ee.throw(te))}catch(le){y(le)}},z=te=>te.done?a(te.value):Promise.resolve(te.value).then(x,b);z((ee=ee.apply(oe,re)).next())}),ae=({data:oe,className:re,fullWidth:ee,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:z})=>{const te=(0,be.useRef)(null),le=(0,be.useRef)(null),fe=(0,be.useRef)(null),pe=(0,be.useRef)(null),[me,ge]=(0,be.useState)(!1),[Se,ye]=(0,be.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,be.useEffect)(()=>{fe.current||(fe.current=document.createElement("style"),document.head.appendChild(fe.current)),oe!=null&&oe.visible?(document.body.setAttribute("data-custom","y-hidden"),fe.current.innerHTML=" html { overflow-y: hidden; }",oe!=null&&oe.src&&Pe()):(document.body.removeAttribute("data-custom"),fe.current&&(document.head.removeChild(fe.current),fe.current=null))},[oe==null?void 0:oe.visible]);const Pe=()=>ce(void 0,null,function*(){ge(!0),ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ce=yield(0,ie.ZJ)(oe==null?void 0:oe.src);te.current.src="",te.current.src=Ce,te.current.onload=function(){Ae()},ge(!1),ye("")}),we=()=>{document.body.removeAttribute("data-custom"),fe.current.innerHTML=" ",y()},De=Ce=>ce(void 0,null,function*(){ge(!0),ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ie=yield(0,ne.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:oe.title,file:Ce.dataUrl}});Ie!=null&&Ie.id&&!z?(yield(0,ne.ZP)(`/api/attachments/${oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ie==null?void 0:Ie.id,settings:JSON.stringify(Ce.state)}})).status===0&&x():Ie!=null&&Ie.id&&x(Ie),document.body.removeAttribute("data-custom"),fe.current.innerHTML=" ",ge(!1),ye("")}),Ee=()=>{const Ce=document.querySelector('a[href="https://markerjs.com/"]');Ce&&Ce.parentNode&&(Ce.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(Me=>{const Ge=document.querySelector(Me.name);Ge&&Ge.setAttribute("title",Me.title)})},Ae=()=>{le.current=new se.hP(te.current),le.current.targetRoot=pe.current,le.current.addEventListener("render",De),le.current.addEventListener("beforeclose",we),b&&(le.current.availableMarkerTypes=le.current.ALL_MARKER_TYPES,le.current.uiStyleSettings.redoButtonVisible=!0,le.current.uiStyleSettings.notesButtonVisible=!0,le.current.uiStyleSettings.zoomButtonVisible=!0,le.current.uiStyleSettings.zoomOutButtonVisible=!0,le.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=le.current.uiStyleSettings,le.current.show(),oe!=null&&oe.snapshotData&&le.current.restoreState(oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ee()},300)};return be.createElement(be.Fragment,null,(oe==null?void 0:oe.visible)&&be.createElement(de.Z,{spinning:me,tip:Se,style:{position:"absolute"}},be.createElement("div",{ref:pe,className:he()(_e.imageDimensions,re,ee?_e.fullWidth:""),style:a},be.createElement("img",{className:_e.img,ref:te}))))}},76562:function(Ct,dt,ve){"use strict";var be=ve(59301),_e=ve(95237),E=ve(43604),he=ve(99313),de=ve(3113),se=ve(91842),ne=ve(99587),ie=ve(48136),ce=ve(59301);const ue=(0,be.forwardRef)(({callback:ae,showSaveButton:oe,value:re=""},ee)=>{const a=(0,be.useRef)(),y=[{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 "}]}]}],x=[{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}`}]}]}],b=le=>{a.current.setValue(a.current.getValue()+" "+le.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ce.createElement(_e.Z,{className:ne.Z.lists,gutter:[10,10]},y.map((le,fe)=>ce.createElement(E.Z,{flex:"110px",className:ne.Z.item},ce.createElement("div",null,ce.createElement(se.Z,{value:`$$${le.value}$$`}),le.name),ce.createElement("div",{className:ne.Z.children},le.children.map((pe,me)=>ce.createElement("div",{key:me},ce.createElement("h1",null,pe.name),ce.createElement(_e.Z,{gutter:[10,10]},pe.data.map((ge,Se)=>ce.createElement(E.Z,{key:Se,onClick:()=>b(ge),className:ne.Z.diamond},ce.createElement(se.Z,{value:"`$$"+ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ce.createElement(_e.Z,{className:ne.Z.lists,gutter:[10,10]},x.map((le,fe)=>ce.createElement(E.Z,{flex:"110px",className:ne.Z.item},ce.createElement("div",null,ce.createElement(se.Z,{value:"`$$"+le.value+"$$`"}),le.name),ce.createElement("div",{className:ne.Z.children},le.children.map((pe,me)=>ce.createElement("div",{key:me},pe.name&&ce.createElement("h1",null,pe.name),ce.createElement(_e.Z,{gutter:[10,10]},pe.data.map((ge,Se)=>ce.createElement(E.Z,{key:Se,onClick:()=>b(ge),className:ne.Z.diamond},ce.createElement(se.Z,{value:"`$$"+ge.value+"$$`"}))))))))))}],te=()=>{var le=document.createElement("div");le.innerHTML=a.current.getValue();var fe=le.innerText;return ae&&ae(fe),fe};return(0,be.useImperativeHandle)(ee,()=>({getData:te})),ce.createElement("div",{className:ne.Z.mathWrap},ce.createElement(he.default,{defaultActiveKey:"1",items:z}),ce.createElement("math-field",{locale:"zh_cn",className:ne.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},re||""),oe&&ce.createElement("div",{className:ne.Z.button},ce.createElement(de.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});dt.Z=ue},86074:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return he}});var be=ve(25690),_e={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=ve(59301),he=({message:de,className:se,children:ne,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${_e.idsRingWrapper} ${se}`},E.createElement("div",{className:_e.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),de?E.createElement("p",{style:ie},de):null,ne,E.createElement(be.Outlet,null))},8343:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return he}});var be=ve(59301),_e=ve(49535),E=ve(59301),he=({defaultX:de="40%",leftChild:se,rightChild:ne,className:ie,hideResize:ce=!1})=>{const[ue,ae]=(0,be.useState)(de),oe=(0,be.useRef)();function re(){oe.current=!0}(0,be.useEffect)(()=>{function y(b){oe.current&&(_e.Z.publish("resize-move-bar",b),ae(b.pageX))}function x(){oe.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const ee=typeof ue=="number"&&ue!==.01?`${ue}px`:de,a=`calc(100% - ${ce?"0px":"4px"} - ${ee})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:ee,display:ue===.01?"none":""}},se),E.createElement("section",{className:"resize-x-bar",onMouseDown:re},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),E.createElement("section",{style:{width:a}},ne))}},94268:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return se}});var be=ve(59301),_e={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=ve(92310),he=ve.n(E),se=({className:ne,style:ie={},leftNode:ce,leftTitle:ue="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:oe="\u8FD0\u884C\u7ED3\u679C"})=>be.createElement("div",{className:he()(_e.result,ne),style:ie},be.createElement("div",{className:_e.left},be.createElement("div",{className:_e.title},be.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),be.createElement("span",null,ue)),be.createElement("div",{className:_e.leftNode},ce)),be.createElement("div",{className:_e.right},be.createElement("div",{className:_e.title},be.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),be.createElement("span",null,oe)),be.createElement("div",{className:_e.rightNode},ae)))},96680:function(Ct,dt,ve){"use strict";var be=ve(59301);const _e=he=>String(he).length===1?`0${he}`:he,E=({className:he="",onChange:de,defaultValue:se=0})=>{const[ne,ie]=(0,be.useState)(se);(0,be.useEffect)(()=>{const oe=setTimeout(()=>{ie(ne+1e3)},1e3);return de(ne+1e3),()=>{clearInterval(oe)}},[ne]);const ce=parseInt(ne/(60*6e4))||"00",ue=parseInt(ne%(60*6e4)/6e4)||"00",ae=parseInt(ne%6e4/1e3)||"00";return be.createElement("div",{className:he},_e(ce),":",_e(ue),":",_e(ae))};dt.Z=E},87320:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return he}});var be=ve(59301),_e=ve(49535),E=ve(11611),he=()=>{const[de,se]=(0,be.useState)(""),[ne,ie]=(0,be.useState)(0);let[ce,ue]=(0,be.useState)(),[ae,oe]=(0,be.useState)();const[re,ee]=(0,be.useState)(!1),a=(0,be.useRef)("");(0,be.useEffect)(()=>_e.Z.subscribe("preview-image",Se=>{se(Se),console.log(pe.current),document.body.style.overflow="hidden"}),[]),(0,be.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,be.useEffect)(()=>{a.current=de},[de]);function y(ge){ge.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",ue(void 0),oe(void 0),ie(0),se("")}function b(){ie(ne+90)}function z(){ce=pe.current.width*1.1,ae=pe.current.height*1.1,oe(ae),ue(ce)}function te(){ce=pe.current.width/1.1,ae=pe.current.height/1.1,oe(ae),ue(ce)}const le=(0,be.useRef)(),fe=(0,be.useRef)(),pe=(0,be.useRef)(),me=ge=>{(ge.nativeEvent.target===le.current||ge.nativeEvent.target===fe.current)&&x()};return be.createElement(be.Fragment,null,de?be.createElement("div",null,be.createElement("div",{className:"preview-wrp-group",ref:fe},be.createElement(E.Z,{className:"image-preview",src:de,style:{display:"none"},preview:{visible:!0,src:de,movable:!1,onVisibleChange:ge=>{se("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},69720:function(Ct,dt,ve){"use strict";ve.d(dt,{h:function(){return le}});var be=ve(59301),_e=ve(57809),E=ve(78241),he=ve(3113),de=ve(89780),se=ve.n(de),ne=ve(8336),ie=ve(12469),ce=Object.defineProperty,ue=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,a=(fe,pe,me)=>pe in fe?ce(fe,pe,{enumerable:!0,configurable:!0,writable:!0,value:me}):fe[pe]=me,y=(fe,pe)=>{for(var me in pe||(pe={}))re.call(pe,me)&&a(fe,me,pe[me]);if(oe)for(var me of oe(pe))ee.call(pe,me)&&a(fe,me,pe[me]);return fe},x=(fe,pe)=>ue(fe,ae(pe));const b=_e.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={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"]};dt.Z=({callback:fe,onCancel:pe})=>{const[me,ge]=(0,be.useState)("python");function Se(Pe){ge(te[Pe][1])}function ye(Pe){fe(Pe)}return be.createElement(E.default,x(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},be.createElement(_e.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:Se},Object.keys(te).map(Pe=>be.createElement(b,{key:Pe,value:Pe},te[Pe][0])))),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},be.createElement(le,{mode:me})),be.createElement("div",{className:"flex-container flex-end"},be.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(he.ZP,{type:"ghost",onClick:pe},"\u53D6\u6D88")))};function le({value:fe,onChange:pe,mode:me,options:ge={}}){const Se=(0,be.useRef)(),[ye,Pe]=(0,be.useState)();return(0,be.useEffect)(()=>{if(ye){let we=function(De){const Ee=De.getValue();pe&&pe(Ee)};return ye.on("change",we),()=>{ye.off("change",we)}}},[ye,pe]),(0,be.useEffect)(()=>{ye&&ye.setOption("mode",me)},[ye,me]),(0,be.useEffect)(()=>{ye&&(fe!==ye.getValue()||fe==="")&&setTimeout(()=>{ye.setValue(fe||"")},300)},[ye,fe]),(0,be.useEffect)(()=>{if(Se.current&&!ye){const we=se().fromTextArea(Se.current,y({mode:me,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ge));Pe(we)}},[Se.current,ye]),be.createElement("div",{className:"my-codemirror-container"},be.createElement("textarea",{ref:Se}))}},39793:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return br}});var be=ve(59301),_e=ve(89780),E=ve.n(_e),he=ve(76374),de=ve(8336),se=ve(6313),ne=ve(25717),ie=ve(99498),ce=ve(25419),ue=ve(67549),ae=ve(91842),oe=({value:Ot="",className:At,showTextOnly:xt,showLines:en,style:Rn={}})=>{const pn=(0,be.useMemo)(()=>"",[Ot]);return be.createElement(be.Fragment,null,be.createElement("div",{dangerouslySetInnerHTML:{__html:pn}}))},re=ve(59301),ee=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Ot,At,xt)=>At in Ot?ee(Ot,At,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Ot[At]=xt,le=(Ot,At)=>{for(var xt in At||(At={}))b.call(At,xt)&&te(Ot,xt,At[xt]);if(x)for(var xt of x(At))z.call(At,xt)&&te(Ot,xt,At[xt]);return Ot},fe=(Ot,At)=>a(Ot,y(At));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\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function me({onActionCallback:Ot,title:At,icon:xt,actionName:en,className:Rn="",children:pn}){function Fr(){Ot(en)}return re.createElement("a",{title:At,className:Rn,onClick:Fr},re.createElement("i",{className:`${xt}`}),pn)}var ge=({watch:Ot,showNullButton:At,showNullProgramButton:xt,onActionCallback:en,fullScreen:Rn,insertTemp:pn,hidetoolBar:Fr,extraUse:ur})=>{const Gt=[...pe,{title:`${Ot?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ot?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return re.createElement("ul",{className:"markdown-toolbar-container"},!Fr&&Gt.map((Tt,tn)=>re.createElement("li",{key:tn},Tt.actionName?re.createElement(me,fe(le({},Tt),{onActionCallback:en})):re.createElement("span",{className:"v-line"}))),At?re.createElement("li",null,re.createElement(me,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:en},re.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,xt?re.createElement(re.Fragment,null,re.createElement("li",null,re.createElement(me,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:en},re.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),re.createElement("li",null,re.createElement(me,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:en},re.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,pn&&re.createElement("li",null,re.createElement(me,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${pn}`,onActionCallback:en},re.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ur&&re.createElement("li",null,ur),re.createElement("li",{className:"btn-full-screen"},re.createElement(me,{icon:`${Rn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Rn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:en})))},Se=ve(91558),ye=ve(78241),Pe=ve(92832),we=ve(3113),De=Object.defineProperty,Ee=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Ge=(Ot,At,xt)=>At in Ot?De(Ot,At,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Ot[At]=xt,Be=(Ot,At)=>{for(var xt in At||(At={}))Ie.call(At,xt)&&Ge(Ot,xt,At[xt]);if(Ce)for(var xt of Ce(At))Me.call(At,xt)&&Ge(Ot,xt,At[xt]);return Ot},Qe=(Ot,At)=>Ee(Ot,Ae(At));const qe={labelCol:{span:4},wrapperCol:{span:20}};var Xe=({callback:Ot,onCancel:At})=>{function xt(en){Ot(en)}return be.createElement(ye.default,Qe(Be({},qe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xt,style:{width:500}}),be.createElement(ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},be.createElement(Pe.default,null)),be.createElement(ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},be.createElement(Pe.default,null)),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:At},"\u53D6\u6D88")))},Ve=ve(69720),We=ve(17077),ze=ve(43418),He=ve(95237),tt=ve(9507),Je=ve(59301),ut=({callback:Ot,onCancel:At})=>{const xt=document.createElement("canvas"),en=xt.getContext("2d");xt.width=1e3,xt.height=800,en.fillStyle="#ffffff",en.fillRect(0,0,xt.width,xt.height);const Rn=xt.toDataURL("image/png");return Je.createElement(ze.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Je.createElement(He.Z,{style:{height:"100vh"}},Je.createElement(tt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Rn,visible:!0,title:String(Date.now())},onOk:pn=>{Ot({src:pn.url})},onClose:At})))},Ye=ve(12378);function Ue(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ue,go.CommandHandler),Ue.prototype.canAlignSelection=function(){var Ot=this.diagram;return!(Ot===null||Ot.isReadOnly||Ot.isModelReadOnly||Ot.selection.count<2)},Ue.prototype.alignLeft=function(){var Ot=this.diagram;Ot.startTransaction("aligning left");var At=1/0;Ot.selection.each(function(xt){xt instanceof go.Link||(At=Math.min(xt.position.x,At))}),Ot.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(At,xt.position.y))}),Ot.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var Ot=this.diagram;Ot.startTransaction("aligning right");var At=-1/0;Ot.selection.each(function(xt){if(!(xt instanceof go.Link)){var en=xt.actualBounds.x+xt.actualBounds.width;At=Math.max(en,At)}}),Ot.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(At-xt.actualBounds.width,xt.position.y))}),Ot.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var Ot=this.diagram;Ot.startTransaction("alignTop");var At=1/0;Ot.selection.each(function(xt){xt instanceof go.Link||(At=Math.min(xt.position.y,At))}),Ot.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.position.x,At))}),Ot.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var Ot=this.diagram;Ot.startTransaction("aligning bottom");var At=-1/0;Ot.selection.each(function(xt){if(!(xt instanceof go.Link)){var en=xt.actualBounds.y+xt.actualBounds.height;At=Math.max(en,At)}}),Ot.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.actualBounds.x,At-xt.actualBounds.height))}),Ot.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var Ot=this.diagram,At=Ot.selection.first();if(At){Ot.startTransaction("aligning Center X");var xt=At.actualBounds.x+At.actualBounds.width/2;Ot.selection.each(function(en){en instanceof go.Link||en.move(new go.Point(xt-en.actualBounds.width/2,en.actualBounds.y))}),Ot.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var Ot=this.diagram,At=Ot.selection.first();if(At){Ot.startTransaction("aligning Center Y");var xt=At.actualBounds.y+At.actualBounds.height/2;Ot.selection.each(function(en){en instanceof go.Link||en.move(new go.Point(en.actualBounds.x,xt-en.actualBounds.height/2))}),Ot.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(Ot){var At=this.diagram;At.startTransaction("align Column"),Ot===void 0&&(Ot=0),Ot=parseFloat(Ot);var xt=new Array;At.selection.each(function(ur){ur instanceof go.Link||xt.push(ur)});for(var en=0;en<xt.length-1;en++){var Rn=xt[en],pn=Rn.actualBounds.y+Rn.actualBounds.height+Ot,Fr=xt[en+1];Fr.move(new go.Point(Rn.actualBounds.x,pn))}At.commitTransaction("align Column")},Ue.prototype.alignRow=function(Ot){Ot===void 0&&(Ot=0),Ot=parseFloat(Ot);var At=this.diagram;At.startTransaction("align Row");var xt=new Array;At.selection.each(function(ur){ur instanceof go.Link||xt.push(ur)});for(var en=0;en<xt.length-1;en++){var Rn=xt[en],pn=Rn.actualBounds.x+Rn.actualBounds.width+Ot,Fr=xt[en+1];Fr.move(new go.Point(pn,Rn.actualBounds.y))}At.commitTransaction("align Row")},Ue.prototype.canRotate=function(Ot){var At=this.diagram;return!(At===null||At.isReadOnly||At.isModelReadOnly||At.selection.count<1)},Ue.prototype.rotate=function(Ot){Ot===void 0&&(Ot=90);var At=this.diagram;At.startTransaction("rotate "+Ot.toString());var At=this.diagram;At.selection.each(function(xt){xt instanceof go.Link||xt instanceof go.Group||(xt.angle+=Ot)}),At.commitTransaction("rotate "+Ot.toString())},Ue.prototype.pullToFront=function(){var Ot=this.diagram;Ot.startTransaction("pullToFront");var At=new go.Map;Ot.selection.each(function(xt){At.set(xt.layer,0)}),At.iteratorKeys.each(function(xt){var en=0;xt.parts.each(function(Rn){if(!Rn.isSelected){var pn=Rn.zOrder;isNaN(pn)?Rn.zOrder=0:en=Math.max(en,pn)}}),At.set(xt,en)}),Ot.selection.each(function(xt){Ue._assignZOrder(xt,At.get(xt.layer)+1)}),Ot.commitTransaction("pullToFront")},Ue.prototype.pushToBack=function(){var Ot=this.diagram;Ot.startTransaction("pushToBack");var At=new go.Map;Ot.selection.each(function(xt){At.set(xt.layer,0)}),At.iteratorKeys.each(function(xt){var en=0;xt.parts.each(function(Rn){if(!Rn.isSelected){var pn=Rn.zOrder;isNaN(pn)?Rn.zOrder=0:en=Math.min(en,pn)}}),At.set(xt,en)}),Ot.selection.each(function(xt){Ue._assignZOrder(xt,At.get(xt.layer)-1-Ue._findGroupDepth(xt))}),Ot.commitTransaction("pushToBack")},Ue._assignZOrder=function(Ot,At,xt){xt===void 0&&(xt=Ot),Ot.layer===xt.layer&&(Ot.zOrder=At),Ot instanceof go.Group&&Ot.memberParts.each(function(en){Ue._assignZOrder(en,At+1,xt)})},Ue._findGroupDepth=function(Ot){if(Ot instanceof go.Group){var At=0;return Ot.memberParts.each(function(xt){At=Math.max(At,Ue._findGroupDepth(xt))}),At+1}else return 0},Ue.prototype.doKeyDown=function(){var Ot=this.diagram;if(Ot!==null){var At=Ot.lastInput;if(At.key==="Up"||At.key==="Down"||At.key==="Left"||At.key==="Right"){var xt=this.arrowKeyBehavior;if(xt==="none")return;if(xt==="select"){this._arrowKeySelect();return}else if(xt==="move"){this._arrowKeyMove();return}else if(xt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ue.prototype._getAllParts=function(){var Ot=new Array;return this.diagram.nodes.each(function(At){Ot.push(At)}),this.diagram.parts.each(function(At){Ot.push(At)}),Ot},Ue.prototype._arrowKeyMove=function(){var Ot=this.diagram,At=Ot.lastInput,xt=0,en=0;if(At.control||At.meta)xt=1,en=1;else if(Ot.grid!==null){var Rn=Ot.grid.gridCellSize;en=Rn.width,xt=Rn.height}Ot.startTransaction("arrowKeyMove"),Ot.selection.each(function(pn){At.key==="Up"?pn.move(new go.Point(pn.actualBounds.x,pn.actualBounds.y-xt)):At.key==="Down"?pn.move(new go.Point(pn.actualBounds.x,pn.actualBounds.y+xt)):At.key==="Left"?pn.move(new go.Point(pn.actualBounds.x-en,pn.actualBounds.y)):At.key==="Right"&&pn.move(new go.Point(pn.actualBounds.x+en,pn.actualBounds.y))}),Ot.commitTransaction("arrowKeyMove")},Ue.prototype._arrowKeySelect=function(){var Ot=this.diagram,At=Ot.lastInput,xt=null;At.key==="Up"?xt=this._findNearestPartTowards(270):At.key==="Down"?xt=this._findNearestPartTowards(90):At.key==="Left"?xt=this._findNearestPartTowards(180):At.key==="Right"&&(xt=this._findNearestPartTowards(0)),xt!==null&&(At.shift?xt.isSelected=!0:At.control||At.meta?xt.isSelected=!xt.isSelected:Ot.select(xt))},Ue.prototype._findNearestPartTowards=function(Ot){var At=this.diagram.selection.first();if(At===null)return null;for(var xt=At.actualBounds.center,en=this._getAllParts(),Rn=1/0,pn=At,Fr=0;Fr<en.length;Fr++){var ur=en[Fr];if(ur!==At&&ur.canSelect()){var Gt=ur.actualBounds.center,Tt=xt.directionPoint(Gt),tn=this._angleCloseness(Tt,Ot);if(tn<=45){var Bt=xt.distanceSquaredPoint(Gt);Bt*=1+Math.sin(tn*Math.PI/180),Bt<Rn&&(Rn=Bt,pn=ur)}}}return pn},Ue.prototype._angleCloseness=function(Ot,At){return Math.min(Math.abs(At-Ot),Math.min(Math.abs(At+360-Ot),Math.abs(At-360-Ot)))},Ue.prototype._arrowKeyTree=function(){var Ot=this.diagram,At=Ot.selection.first();if(At instanceof go.Node){var xt=Ot.lastInput;if(xt.key==="Right"){if(!At.isTreeLeaf)if(!At.isTreeExpanded)Ot.commandHandler.canExpandTree(At)&&Ot.commandHandler.expandTree(At);else{var en=this._sortTreeChildrenByY(At).first();en!==null&&Ot.select(en)}}else if(xt.key==="Left")if(!At.isTreeLeaf&&At.isTreeExpanded)Ot.commandHandler.canCollapseTree(At)&&Ot.commandHandler.collapseTree(At);else{var Rn=At.findTreeParentNode();Rn!==null&&Ot.select(Rn)}else if(xt.key==="Up"){var Rn=At.findTreeParentNode();if(Rn!==null){var pn=this._sortTreeChildrenByY(Rn),Fr=pn.indexOf(At);if(Fr>0){for(var ur=pn.elt(Fr-1);ur!==null&&ur.isTreeExpanded&&!ur.isTreeLeaf;){var Gt=this._sortTreeChildrenByY(ur);ur=Gt.last()}ur!==null&&Ot.select(ur)}else Ot.select(Rn)}}else if(xt.key==="Down")if(At.isTreeExpanded&&!At.isTreeLeaf){var en=this._sortTreeChildrenByY(At).first();en!==null&&Ot.select(en)}else for(;At!==null;){var Rn=At.findTreeParentNode();if(Rn===null)break;var pn=this._sortTreeChildrenByY(Rn),Fr=pn.indexOf(At);if(Fr<pn.length-1){Ot.select(pn.elt(Fr+1));break}else At=Rn}var Tt=Ot.selection.first();Tt!==null&&Ot.scrollToRect(Tt.actualBounds)}},Ue.prototype._sortTreeChildrenByY=function(Ot){var At=new go.List().addAll(Ot.findTreeChildrenNodes());return At.sort(function(xt,en){var Rn=xt.location,pn=en.location;return Rn.y<pn.y?-1:Rn.y>pn.y?1:Rn.x<pn.x?-1:Rn.x>pn.x?1:0}),At},Ue.prototype.copyToClipboard=function(Ot){go.CommandHandler.prototype.copyToClipboard.call(this,Ot),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var Ot=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ot,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ot},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ot){if(Ot!=="move"&&Ot!=="select"&&Ot!=="scroll"&&Ot!=="tree"&&Ot!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ot);this._arrowKeyBehavior=Ot}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ot){if(!(Ot instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ot);this._pasteOffset.set(Ot)}});var je=Ue,$e=ve(63720),Le=ve(43604),Ne=ve(38986),et={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ze=ve(59301),Fe=(Ot,At,xt)=>new Promise((en,Rn)=>{var pn=Gt=>{try{ur(xt.next(Gt))}catch(Tt){Rn(Tt)}},Fr=Gt=>{try{ur(xt.throw(Gt))}catch(Tt){Rn(Tt)}},ur=Gt=>Gt.done?en(Gt.value):Promise.resolve(Gt.value).then(pn,Fr);ur((xt=xt.apply(Ot,At)).next())});function Oe({onCancel:Ot,callback:At}){let xt=(0,be.useRef)(),en=(0,be.useRef)(),Rn=(0,be.useRef)(),pn=(0,be.useRef)(!1);const Fr=(0,be.useRef)(!1),[ur,Gt]=(0,be.useState)(0);function Tt(){const Bt=Ye.bx.make,un={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};xt.current=new Ye.S0(en.current,{padding:20,grid:Bt(Ye.s_,"Grid",Bt(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Bt(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:gn=>{var mn=gn.diagram.commandHandler.addTopLevelParts(gn.diagram.selection,!0);mn||gn.diagram.currentTool.doCancel()},commandHandler:Bt(je),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:gn=>{var mn=gn.subject;mn.location=mn.location.copy().snapToGridPoint(gn.diagram.grid.gridOrigin,gn.diagram.grid.gridCellSize),setTimeout(()=>{gn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:gn=>{var mn=gn.subject;setTimeout(()=>{gn.diagram.commandHandler.editTextBlock()})},LinkRelinked:gn=>{var mn=gn.parameter.part;mn.invalidateConnectedLinks();var On=gn.subject;gn.diagram.toolManager.linkingTool.isForwards?On.toNode.invalidateConnectedLinks():On.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),xt.current.nodeTemplate=Bt(Ye.NB,"Auto",{locationSpot:Ye.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ye.$u(120,60),minSize:new Ye.$u(40,40),resizable:!0,resizeCellSize:new Ye.$u(10,10),rotatable:!0},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),new Ye.KX("desiredSize","size",Ye.$u.parse).makeTwoWay(Ye.$u.stringify),Bt(Ye.bn,{name:"SHAPE",fill:un.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("figure"),new Ye.KX("fill"),new Ye.KX("stroke","borderColor"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),Bt(Ye.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Bt(Ye.al,{margin:1,textAlign:"center",overflow:Ye.al.OverflowEllipsis,editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),xt.current.nodeTemplate.toolTip=Bt("ToolTip",Bt(Ye.s_,"Vertical",{maxSize:new Ye.$u(200,NaN)},Bt(Ye.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ye.KX("text")),Bt(Ye.al,{font:"10pt sans-serif",textAlign:"center"},new Ye.KX("text","details"))));function Ut(gn,mn){var On=(bn,Pr)=>{bn.handled=!0,bn.diagram.model.commit(dr=>{var Qn=Pr.part.adornedPart,kr=new Ye.E9().setRectSpot(Qn.actualBounds,gn);kr.subtract(Qn.location),kr.scale(2,2),kr.x+=Math.sign(kr.x)*130,kr.y+=Math.sign(kr.y)*130,kr.add(Qn.location),kr.snapToGridPoint(bn.diagram.grid.gridOrigin,bn.diagram.grid.gridCellSize);var an=dr.copyNodeData(Qn.data);dr.setGroupKeyForNodeData(an,dr.getGroupKeyForNodeData(Qn.data)),dr.addNodeData(an);var bo={from:Qn.key,to:dr.getKeyForNodeData(an)};dr.addLinkData(bo);var yo=bn.diagram.findNodeForData(an);yo.location=kr,bn.diagram.select(yo),setTimeout(()=>{bn.diagram.commandHandler.editTextBlock()},20)})};return Bt(Ye.bn,{figure:mn,alignment:gn,alignmentFocus:gn.opposite(),width:gn.equals(Ye.z6.Top)||gn.equals(Ye.z6.Bottom)?25:18,height:gn.equals(Ye.z6.Top)||gn.equals(Ye.z6.Bottom)?18:25,fill:"orange",stroke:un.white,strokeWidth:4,mouseEnter:(bn,Pr)=>Pr.fill="dodgerblue",mouseLeave:(bn,Pr)=>Pr.fill="orange",isActionable:!0,click:On,contextClick:On})}function An(gn){return Bt(Ye.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(mn,On)=>On.fill="dodgerblue",mouseLeave:(mn,On)=>On.fill="orange",click:(mn,On)=>{mn.diagram.commandHandler.showContextMenu(On.part.adornedPart)}},gn||{})}xt.current.nodeTemplate.selectionAdornmentTemplate=Bt(Ye.uz,"Spot",Bt(Ye.Vm,{padding:10}),Ut(Ye.z6.Top,"TriangleUp"),Ut(Ye.z6.Left,"TriangleLeft"),Ut(Ye.z6.Right,"TriangleRight"),Ut(Ye.z6.Bottom,"TriangleDown"),An({alignment:new Ye.z6(.75,0)}));function Pn(gn,mn){return(On,bn)=>{On.handled=!0,On.diagram.model.commit(Pr=>{Pr.set(bn.part.adornedPart.data,gn,mn)})}}function bt(gn,mn){return mn||(mn="color"),Bt(Ye.bn,{width:16,height:16,stroke:"lightgray",fill:gn,margin:1,background:"transparent",mouseEnter:(On,bn)=>bn.stroke="dodgerblue",mouseLeave:(On,bn)=>bn.stroke="lightgray",click:Pn(mn,gn),contextClick:Pn(mn,gn)})}function It(){return[Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",bt(un.white,"fill"),bt(un.beige,"fill"),bt(un.extralightblue,"fill"),bt(un.extralightred,"fill"))),Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",bt(un.lightgray,"fill"),bt(un.lightgreen,"fill"),bt(un.lightblue,"fill"),bt(un.lightred,"fill")))]}function Rt(){return[Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",bt(un.black),bt(un.green),bt(un.blue),bt(un.red))),Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",bt(un.white),bt(un.magenta),bt(un.purple),bt(un.orange)))]}function Nt(gn,mn){return mn||(mn="thickness"),Bt(Ye.bn,"LineH",{width:16,height:16,strokeWidth:gn,margin:1,background:"transparent",mouseEnter:(On,bn)=>bn.background="dodgerblue",mouseLeave:(On,bn)=>bn.background="transparent",click:Pn(mn,gn),contextClick:Pn(mn,gn)})}function Yt(gn,mn){return mn||(mn="dash"),Bt(Ye.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:gn,margin:1,background:"transparent",mouseEnter:(On,bn)=>bn.background="dodgerblue",mouseLeave:(On,bn)=>bn.background="transparent",click:Pn(mn,gn),contextClick:Pn(mn,gn)})}function $t(){return[Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",Nt(1),Nt(2),Nt(3),Nt(4))),Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",Yt(null),Yt([2,4]),Yt([4,4])))]}function Kt(gn,mn){return mn||(mn="figure"),Bt(Ye.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:gn,margin:1,background:"transparent",mouseEnter:(On,bn)=>bn.fill="dodgerblue",mouseLeave:(On,bn)=>bn.fill="lightgray",click:Pn(mn,gn),contextClick:Pn(mn,gn)})}xt.current.nodeTemplate.contextMenu=Bt("ContextMenu",Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",Kt("Rectangle"),Kt("RoundedRectangle"),Kt("Ellipse"),Kt("Diamond"))),Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",Kt("Parallelogram2"),Kt("ManualOperation"),Kt("Procedure"),Kt("Cylinder1"))),Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",Kt("Terminator"),Kt("CreateRequest"),Kt("Document"),Kt("TriangleDown"))),It(),Rt(),$t()),xt.current.groupTemplate=Bt(Ye.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ye.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(gn,mn)=>{var On=mn.addMembers(mn.diagram.selection,!0);On||mn.diagram.currentTool.doCancel()},avoidable:!1},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),Bt(Ye.s_,"Auto",{name:"BODY"},Bt(Ye.bn,{parameter1:10,fill:un.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("fill"),new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),Bt(Ye.Vm,{background:"transparent",margin:20})),Bt(Ye.al,{alignment:Ye.z6.Top,alignmentFocus:Ye.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ye.KX("text"),new Ye.KX("stroke","color"))),xt.current.groupTemplate.selectionAdornmentTemplate=Bt(Ye.uz,"Spot",Bt(Ye.s_,"Auto",Bt(Ye.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Bt(Ye.Vm,{margin:1.5})),An({alignment:Ye.z6.TopRight,alignmentFocus:Ye.z6.BottomRight})),xt.current.groupTemplate.contextMenu=Bt("ContextMenu",It(),Rt(),$t()),xt.current.linkTemplate=Bt(Ye.rU,{layerName:"Foreground",routing:Ye.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ye.KX("fromSpot","fromSpot",Ye.z6.parse),new Ye.KX("toSpot","toSpot",Ye.z6.parse),new Ye.KX("fromShortLength","dir",gn=>gn>=1?10:0),new Ye.KX("toShortLength","dir",gn=>gn>=1?10:0),new Ye.KX("points").makeTwoWay(),Bt(Ye.bn,{strokeWidth:2},new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),Bt(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,0),segmentOrientation:Ye.rU.OrientAlong,alignmentFocus:Ye.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",gn=>gn===1)),Bt(Ye.bn,{segmentIndex:-1,segmentOffset:new Ye.E9(-10,6),segmentOrientation:Ye.rU.OrientPlus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",gn=>gn>=1),new Ye.KX("width","thickness",gn=>7+3*gn),new Ye.KX("height","thickness",gn=>7+3*gn),new Ye.KX("segmentOffset","thickness",gn=>new Ye.E9(-15,4+1.5*gn))),Bt(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,-6),segmentOrientation:Ye.rU.OrientMinus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",gn=>gn===2),new Ye.KX("width","thickness",gn=>7+3*gn),new Ye.KX("height","thickness",gn=>7+3*gn),new Ye.KX("segmentOffset","thickness",gn=>new Ye.E9(-15,4+1.5*gn))),Bt(Ye.al,{alignmentFocus:new Ye.z6(0,1,-4,0),editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),xt.current.linkTemplate.selectionAdornmentTemplate=Bt(Ye.uz,Bt(Ye.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Vt(2)},new Ye.KX("pathPattern","thickness",Vt)),An({alignmentFocus:new Ye.z6(0,0,-6,-4)}));function Vt(gn){return Bt(Ye.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(gn+4).toString()+" H3"})}function Dn(gn){var mn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return gn===0?mn="M0 0 M16 16 M0 8 L16 8":gn===2&&(mn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Bt(Ye.bn,{geometryString:mn,margin:2,background:"transparent",mouseEnter:(On,bn)=>bn.background="dodgerblue",mouseLeave:(On,bn)=>bn.background="transparent",click:Pn("dir",gn),contextClick:Pn("dir",gn)})}function In(gn){var mn=(On,bn)=>{On.handled=!0,On.diagram.model.commit(Pr=>{var dr=bn.part.adornedPart;Pr.set(dr.data,gn?"toSpot":"fromSpot",Ye.z6.stringify(Ye.z6.AllSides)),(gn?dr.toNode:dr.fromNode).invalidateConnectedLinks()})};return Bt(Ye.bn,{width:12,height:12,fill:"transparent",mouseEnter:(On,bn)=>bn.background="dodgerblue",mouseLeave:(On,bn)=>bn.background="transparent",click:mn,contextClick:mn})}function Ft(gn,mn){var On=0,bn=Ye.z6.RightSide;gn.equals(Ye.z6.Top)?(On=270,bn=Ye.z6.TopSide):gn.equals(Ye.z6.Left)?(On=180,bn=Ye.z6.LeftSide):gn.equals(Ye.z6.Bottom)&&(On=90,bn=Ye.z6.BottomSide),mn||(On-=180);var Pr=(dr,Qn)=>{dr.handled=!0,dr.diagram.model.commit(kr=>{var an=Qn.part.adornedPart;kr.set(an.data,mn?"toSpot":"fromSpot",Ye.z6.stringify(bn)),(mn?an.toNode:an.fromNode).invalidateConnectedLinks()})};return Bt(Ye.bn,{alignment:gn,alignmentFocus:gn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:On,background:"transparent",mouseEnter:(dr,Qn)=>Qn.background="dodgerblue",mouseLeave:(dr,Qn)=>Qn.background="transparent",click:Pr,contextClick:Pr})}xt.current.linkTemplate.contextMenu=Bt("ContextMenu",Rt(),$t(),Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",Dn(0),Dn(1),Dn(2))),Bt("ContextMenuButton",Bt(Ye.s_,"Horizontal",Bt(Ye.s_,"Spot",In(!1),Ft(Ye.z6.Top,!1),Ft(Ye.z6.Left,!1),Ft(Ye.z6.Right,!1),Ft(Ye.z6.Bottom,!1)),Bt(Ye.s_,"Spot",{margin:new Ye.Zt(0,0,0,2)},In(!0),Ft(Ye.z6.Top,!0),Ft(Ye.z6.Left,!0),Ft(Ye.z6.Right,!0),Ft(Ye.z6.Bottom,!0)))));const Ar=`{ "class": "GraphLinksModel",
|
|
|
"nodeDataArray": [
|
|
|
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
|
|
|
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
|
|
|
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
|
|
|
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
|
|
|
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
|
|
|
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
|
|
|
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
|
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
|
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
|
|
|
],
|
|
|
"linkDataArray": [
|
|
|
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
|
|
|
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
|
|
|
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
|
|
|
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
|
|
|
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
|
|
|
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
|
|
|
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
|
|
|
]}`;var ar=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function pr(gn){return console.log("shapeName:",gn),ar.indexOf(gn)>=0}var Wr=new Ye.YI(Rn.current,{maxSelectionCount:1,linkTemplate:Bt(Ye.rU,{locationSpot:Ye.z6.Center,selectionAdornmentTemplate:Bt(Ye.uz,"Link",{locationSpot:Ye.z6.Center},Bt(Ye.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Bt(Ye.bn,{toArrow:"Standard",stroke:null}))},{routing:Ye.rU.AvoidsNodes,curve:Ye.rU.JumpOver,corner:5,toShortLength:4},new Ye.KX("points"),Bt(Ye.bn,{isPanelMain:!0,strokeWidth:2}),Bt(Ye.bn,{toArrow:"Standard",stroke:null})),model:new Ye.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ye.bn.getFigureGenerators().toArray().map(gn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:gn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return xt.current.addDiagramListener("TextEdited",function(gn){var mn;const On=gn.subject.part;var bn=(mn=document.activeElement)==null?void 0:mn.value;typeof bn=="string"&&bn.trim()===""&&xt.current.model.commit(function(Pr){Pr.set(On.data,"text","\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}),Wr.nodeTemplate=Bt(Ye.NB,"Auto",{locationSpot:Ye.z6.Center},new Ye.KX("location","location",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),Bt(Ye.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Ye.KX("stroke").makeTwoWay(),new Ye.KX("fill").makeTwoWay(),new Ye.KX("figure")),Bt(Ye.al,{margin:new Ye.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ye.$u(16,16),maxSize:new Ye.$u(10,NaN),textAlign:"center",editable:!0},new Ye.KX("key").makeTwoWay())),setTimeout(()=>{xt.current.grid=Bt(Ye.s_,"Grid",Bt(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Bt(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),xt.current.grid.visible=!0,xt.current.grid.gridCellStroke="darkgray",xt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=xt.current,xt.current}const tn=()=>Fe(this,null,function*(){var Bt=xt.current.makeImage();const un=yield(0,Ne.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Bt.src}});At({src:un.url})});return(0,be.useEffect)(()=>(setTimeout(()=>{Tt()},500),Gt(ur+1),()=>{xt.current=null}),[]),Ze.createElement("div",{ref:Fr,className:pn.current?`${et.maxH60} body-overflow-initial`:"body-overflow-initial"},Ze.createElement(ze.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ur,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ze.createElement(He.Z,null,Ze.createElement(Le.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ze.createElement(Le.Z,{onClick:()=>{var Bt,un,Ut=xt.current.selection.first();if(pn.current=!pn.current,document.activeElement&&Ut){let An=(un=(Bt=document.activeElement)==null?void 0:Bt.value)==null?void 0:un.trim();typeof An=="string"&&xt.current.model.commit(function(Pn){Pn.set(Ut.data,"text",An||"\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}Gt(ur+1)}},Ze.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Ot},Ze.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:et.flowChartWrp},Ze.createElement("div",{style:{display:"flex",height:"100%"}},Ze.createElement("div",{style:{width:"300px",height:"100%"}},Ze.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ze.createElement("div",{style:{height:"calc(100% - 50px)"},className:et.myPaletteDiv,ref:Rn})),Ze.createElement("div",{style:{flex:1,position:"relative"}},Ze.createElement("div",{ref:en,style:{height:"80vh"}}))),Ze.createElement("div",{className:"tr"},Ze.createElement(we.ZP,{size:"large",onClick:tn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Te=Oe,xe=ve(5112),Re=ve(5871);const Ke=xe.ZP.Group,ot={margin:"0 8px"};var ke=({callback:Ot,onCancel:At})=>{function xt(en){Ot(en)}return be.createElement(ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:xt},be.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},be.createElement("span",{style:ot},"\u5355\u5143\u683C\u6570\uFF1A"),be.createElement("span",{style:ot},"\u884C\u6570"),be.createElement(ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},be.createElement(Re.Z,null)),be.createElement("span",{style:ot},"\u5217\u6570"),be.createElement(ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},be.createElement(Re.Z,null))),be.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},be.createElement("span",{style:ot},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),be.createElement(ye.default.Item,{name:"align"},be.createElement(Ke,null,be.createElement(xe.ZP,{value:"default"},be.createElement("i",{className:"fa fa-align-justify"})),be.createElement(xe.ZP,{value:"left"},be.createElement("i",{className:"fa fa-align-left"})),be.createElement(xe.ZP,{value:"center"},be.createElement("i",{className:"fa fa-align-center"})),be.createElement(xe.ZP,{value:"right"},be.createElement("i",{className:"fa fa-align-right"}))))),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:At},"\u53D6\u6D88")))},nt=ve(78673),mt=ve(43001),ct=ve.n(mt),lt=(0,be.forwardRef)(({use3d:Ot,width:At,height:xt,callback:en,showSaveButton:Rn},pn)=>{const Fr=(0,be.useRef)(),ur=(0,be.useRef)(),[Gt,Tt]=(0,be.useState)(!1),tn=(0,be.useRef)({id:Fr,appName:"graphing",width:At||1e3,height:xt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,be.useEffect)(()=>{ur.current=new(ct())(tn.current,!0),window.onload=function(){ur.current.inject("applet_container")}},[]);const Bt=()=>{var un=window.ggbApplet.getPNGBase64(1,!0,72);return en&&en(un),un};return(0,be.useEffect)(()=>{tn.current.appName=Gt?"3D":"graphing",ur.current.inject("applet_container")},[Gt]),(0,be.useEffect)(()=>{Tt(Ot)},[Ot]),(0,be.useImperativeHandle)(pn,()=>({getImgData:Bt})),be.createElement(be.Fragment,null,be.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Fr}),be.createElement(He.Z,{align:"middle"},be.createElement(Le.Z,{flex:1},be.createElement(nt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Gt,onChange:un=>Tt(un)})),be.createElement(Le.Z,null,be.createElement(we.ZP,{size:"large",onClick:Bt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),pt=ve(76562),at=ve(1012),st=ve(8591);const ft="link",vt="upload-image",St="add-flowchart",Et="draw-image",Mt="add-flowchart",kt="code-block",Jt="add-table",dn="------------",Qt={default:dn,left:`:${dn}`,center:`:${dn}:`,right:`${dn}:`};var on=ve(37808),wn=(Ot,At,xt)=>new Promise((en,Rn)=>{var pn=Gt=>{try{ur(xt.next(Gt))}catch(Tt){Rn(Tt)}},Fr=Gt=>{try{ur(xt.throw(Gt))}catch(Tt){Rn(Tt)}},ur=Gt=>Gt.done?en(Gt.value):Promise.resolve(Gt.value).then(pn,Fr);ur((xt=xt.apply(Ot,At)).next())});function vn(){}let fn=0;const Bn=1e4,Un="\u2581",Nn="@\u2581\u2581@",_n="@\u2581@",kn=`
|
|
|
**\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`,Fn=["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 Tr(Ot){return/^\d+$/.test(Ot)?`${Ot}px`:Ot}const rr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Lr={[rr+"-B"]:"bold",[rr+"-I"]:"italic"},cr={[ft]:"\u6DFB\u52A0\u94FE\u63A5",[kt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[vt]:"\u6DFB\u52A0\u56FE\u7247",[Et]:"\u6DFB\u52A0\u753B\u56FE",[St]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Jt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var br=({defaultValue:Ot="",onChange:At,width:xt="100%",height:en=400,miniToolbar:Rn=!1,isFocus:pn=!1,watch:Fr,insertTemp:ur,mode:Gt="markdown",id:Tt="markdown-editor-id",showResizeBar:tn=!1,noStorage:Bt=!1,showNullButton:un=!1,showNullProgramButton:Ut=!1,hidetoolBar:An=!1,fullScreen:Pn=!1,onBlur:bt,onCMBeforeChange:It,onFullScreen:Rt,className:Nt="",disablePaste:Yt=!1,disabled:$t=!1,disabledFill:Kt=!1,placeholder:Vt="",values:Dn="",extraUse:In})=>{const[Ft,Ar]=(0,be.useState)(null),[ar,pr]=(0,be.useState)(Ot),[Wr,gn]=(0,be.useState)(Fr),[mn,On]=(0,be.useState)(Pn),[bn,Pr]=(0,be.useState)(""),[dr,Qn]=(0,be.useState)(0),[kr,an]=(0,be.useState)(en),[bo,yo]=(0,be.useState)(!1),io=(0,be.useRef)((0,at.Z)()),To=(0,be.useRef)(!1),Lo=(0,be.useRef)(),[Ao,Do]=(0,be.useState)(0),[fr,ir]=(0,be.useState)(0),xo=(0,be.useRef)(),jr=(0,be.useRef)(),fo=(0,be.useRef)(),So=(0,be.useRef)(),po=()=>wn(void 0,null,function*(){var sn;const Zt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:io.current}});(sn=Zt==null?void 0:Zt.attachments)!=null&&sn.length&&(console.log("cm:",Ft,xo),Zt.attachments.map(hn=>{hn.content_type.indexOf("image")>-1?Ft.replaceSelection(``):hn.content_type.indexOf("video")>-1?Ft.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):hn.content_type.indexOf("pdf")>-1?Ft.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${hn.id}?type=${hn.content_type}&disposition=inline" target="_blank">${hn.name}</a>`):Ft.replaceSelection(`[${hn.name}](${ENV.API_SERVER}/api/attachments/${hn.id}?type=${hn.content_type})`)}))});(0,be.useEffect)(()=>{const sn=window.scrollY||window.pageYOffset;pr(Dn),Ft==null||Ft.setValue(Dn),window.scrollTo(0,sn)},[Dn]),(0,be.useEffect)(()=>{Rt==null||Rt(mn)},[mn]),(0,be.useEffect)(()=>{if(xo.current){let sn=function(hn,nn){var Gn;if(Yt){nn.preventDefault();return}const Vn=nn.clipboardData;if(Vn){const _r=Vn.types.toString(),Br=Vn.items;if(_r==="Files"||Vn.types.indexOf("Files")>-1){if(nn.preventDefault(),Gt=="stex")return;try{let so=Br[1];((Gn=Br[0])==null?void 0:Gn.kind)==="file"&&(so=Br[0]);const oo=so.getAsFile(),Jr=oo.name.split(".").pop();(0,We.I)(oo,ho=>{var vr,$n,qn;ho.id?((vr=oo==null?void 0:oo.type)==null?void 0:vr.indexOf("image"))>-1?Zt.replaceSelection(`<img width="100%" src="/api/attachments/${ho.id}?type=${ho.content_type})" alt="" />`):(($n=oo==null?void 0:oo.type)==null?void 0:$n.indexOf("video"))>-1?Zt.replaceSelection(`<video width="100%" controls src="/api/attachments/${ho.id}"></video>`):((qn=oo==null?void 0:oo.type)==null?void 0:qn.indexOf("pdf"))>-1?Zt.replaceSelection(`<a href="/api/attachments/${ho.id}?type=${oo.type}&disposition=inline" target="_blank">${oo.name}</a>`):Fn.includes(Jr)?Zt.replaceSelection(`<a href="/api/attachments/${ho.id}?type=office&disposition=inline" target="_blank">${oo.name}</a>`):Zt.replaceSelection(`[${oo.name}](/api/attachments/${ho.id}?type=${ho.content_type})`):(ho==null?void 0:ho.status)===401&&(st.ZP.warning((ho==null?void 0:ho.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(so){st.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Zt=E().fromTextArea(xo.current,{mode:Gt,lineNumbers:!Rn,lineWrapping:!0,value:Ot,autoCloseTags:!Ut,autoCloseBrackets:!0});return Zt.on("keyup",function(hn,nn){nn.keyCode===8&&(hn.getValue()==""?Zt.setOption("placeholder",Vt):Zt.setOption("placeholder",null))}),Zt.on("keydown",function(hn,nn){if(nn.keyCode===8){var Gn=Cr(hn);Gn&&nn.preventDefault()}}),pn&&Zt.focus(),Zt.on("paste",sn),Zt.on("dragleave",function(hn,nn){jr.current.classList.remove("mouse-hover-md")}),$t&&Zt.on("beforeChange",function(hn,nn){(nn.origin==="paste"||nn.origin==="+input")&&nn.cancel()}),Ar(Zt),()=>{Zt.off("paste",sn)}}},[]);const Vr=(0,be.useCallback)(()=>{if(jr.current)try{}catch(sn){console.log(sn,"---- to set md editor body height")}},[kr,jr,mn]);(0,be.useEffect)(()=>{function sn(){let Zt=new he.Z(hn=>{for(let nn of hn)(nn.target.offsetHeight>0||nn.target.offsetWidth>0)&&(Vr(),Ft.setSize("100%","100%"),Ft.refresh())});return Zt.observe(xo.current.parentElement),Zt}if(Ft){const Zt=sn();return()=>{var hn,nn;(hn=xo.current)!=null&&hn.parentElement&&Zt.unobserve((nn=xo.current)==null?void 0:nn.parentElement)}}},[Ft,Vr]),(0,be.useEffect)(()=>{if(Ft){let sn=[];for(const[Zt,hn]of Object.entries(Lr)){let nn={[Zt]:()=>{Xr(hn)}};sn.push(nn),Ft.addKeyMap(nn)}return Lo.current=setInterval(()=>{To.current&&po()},4e3),()=>{clearInterval(Lo.current);for(let Zt of sn)Ft.removeKeyMap(Zt)}}},[Ft]),(0,be.useEffect)(()=>{Pn!==mn&&On(Pn)},[Pn]),(0,on.Z)(()=>{if(!Bt&&dr>0){let sn=new Date().getTime(),Zt=window.sessionStorage.getItem(Tt);sn>=dr+Bn&&(!Zt||Zt!==ar)&&(window.sessionStorage.setItem(Tt,ar),yo(!0))}},Bn),(0,be.useEffect)(()=>{gn(Fr)},[Ft,Fr]),(0,be.useEffect)(()=>{Ft&&pn&&Ft.focus()},[Ft,pn]),(0,be.useEffect)(()=>{if(Wr&&Ft){let sn=function(hn){let nn=hn.target;if(So.current){let Gn=nn.scrollTop/nn.scrollHeight;So.current.scrollTop=So.current.scrollHeight*Gn}};const Zt=Ft.getScrollerElement();return Zt.addEventListener("scroll",sn),()=>{Zt.removeEventListener("scroll",sn)}}},[Ft,Wr]),(0,be.useEffect)(()=>{if(Ft&&It){let sn=function(Zt,hn){It(Zt,hn)};return Ft.on("beforeChange",sn),()=>{Ft.off("beforeChange",sn)}}},[Ft,It]),(0,be.useEffect)(()=>{if(Ft&&bt){let sn=function(){bt(Ft.getValue())};return Ft.on("blur",sn),()=>{Ft.off("blur",sn)}}},[Ft,bt]);function Cr(sn,Zt){var hn=sn.getDoc(),nn=hn.getCursor(),Gn=hn.getLine(nn.line),Vn=Gn.charAt(nn.ch-1),_r=Gn.lastIndexOf("@\u2581@",nn.ch),Br=Gn.lastIndexOf("@\u2581\u2581@",nn.ch),so=_r>Br?_r:Br,oo=_r>Br?3:4;if(Nn.indexOf(Vn)===-1)return null;if(console.log("change1:",Zt,sn,Gn,nn,so,_r,Br,Vn),so>=0&&nn.ch-so<5){var Jr=so+oo;return hn.replaceRange("",{line:nn.line,ch:so},{line:nn.line,ch:Jr}),{line:nn.line,ch:Jr}}return null}(0,be.useEffect)(()=>{if(Ft){let sn=function(Zt,hn){const nn=Zt.getValue();pr(nn),Qn(new Date().getTime()),Zt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),At&&(Ut?At(nn,Hn(nn)):At(nn))};return Ft.on("change",sn),()=>{Ft.off("change",sn)}}},[Ft,At]),(0,be.useEffect)(()=>{if(Ft)if(Ot==null)Ft.setValue(""),pr("");else{const sn=window.scrollY||window.pageYOffset;Ot!==Ft.getValue()&&(Ft.setValue(Ot),pr(Ot),Ft.setCursor($t?1:Ft.lineCount(),0),window.scrollTo(0,sn))}},[Ft,Ot]);const Xr=(0,be.useCallback)(sn=>{const Zt=Ft.getCursor(),hn=Ft.getSelection();let nn=hn.split(`
|
|
|
`);switch(sn){case"bold":return Ft.replaceSelection("**"+hn+"**"),hn===""&&Ft.setCursor(Zt.line,Zt.ch+2),Ft.focus();case"italic":return Ft.replaceSelection("*"+hn+"*"),hn===""&&Ft.setCursor(Zt.line,Zt.ch+1),Ft.focus();case"code":return Ft.replaceSelection("`"+hn+"`"),hn===""&&Ft.setCursor(Zt.line,Zt.ch+1),Ft.focus();case"inline-latex":return Pr("inline-latex"),Ft.focus();case"latex":return Ft.replaceSelection("```latex\n"+hn+"\n```"),Ft.setCursor(Zt.line+1,hn.length+1),Ft.focus();case"line-break":return Ft.replaceSelection(`<br/>
|
|
|
`),Ft.focus();case"list-ul":return hn===""?Ft.replaceSelection("- "+hn):Ft.replaceSelection(nn.map(Gn=>Gn===""?"":`- ${Gn}`).join(`
|
|
|
`)),Ft.focus();case"list-ol":return hn===""?Ft.replaceSelection("1. "+hn):Ft.replaceSelection(nn.map((Gn,Vn)=>Gn===""?"":`${Vn+1}. ${Gn}`).join(`
|
|
|
`)),Ft.focus();case"add-null-ch":return hn===""&&Ft.setCursor(Zt.line,Zt.ch),Ft.replaceSelection(Un),Ft.focus();case"add-signal":return hn===""&&Ft.setCursor(Zt.line,Zt.ch),Ft.replaceSelection(_n),Ft.focus();case"add-multiple":return hn===""&&Ft.setCursor(Zt.line,Zt.ch),Ft.replaceSelection(Nn),Ft.focus();case"inster-template-1":return hn===""&&Ft.setCursor(Zt.line,Zt.ch),Ft.replaceSelection(kn),Ft.focus();case"eraser":return Ft.setValue(""),Ft.focus();case"trigger-watch":return gn(!Wr),Ft.focus();case"trigger-full-screen":return On(!mn),Ft.focus();case ft:Pr(ft);return;case kt:Pr(kt);return;case vt:Pr(vt);return;case Et:Pr(Et);return;case"maths-latex":Pr("maths-latex");return;case St:Pr(St);return;case Jt:Pr(Jt);return;default:throw new Error}},[Ft,Wr,mn]),ro=(0,be.useCallback)((sn,Zt)=>{var hn,nn,Gn,Vn,_r,Br;switch(Pr(""),bn){case ft:const{title:vr,link:$n}=sn;return Ft.replaceSelection(`[${vr}](${$n})`),Ft.focus();case kt:const{language:qn,content:Cn}=sn;return Ft.replaceSelection(["```"+qn,Cn,"```"].join(`
|
|
|
`)),Ft.focus();case"maths-latex":for(var so=atob(sn),oo=new Uint8Array(so.length),Jr=0;Jr<so.length;Jr++)oo[Jr]=so.charCodeAt(Jr);var ho=new Blob([oo],{type:"image/png"});(0,We.I)(ho,No=>{No.id?Ft.replaceSelection(``):(No==null?void 0:No.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ft.replaceSelection("`$$"+sn+"$$`");break;case vt:case Et:case Mt:const{src:er,alt:zr}=sn,Or=Zt,mo=(Gn=(nn=(hn=Or==null?void 0:Or.name)==null?void 0:hn.split("."))==null?void 0:nn.pop)==null?void 0:Gn.call(nn);return((Vn=Or==null?void 0:Or.type)==null?void 0:Vn.indexOf("image"))>-1||!(Or!=null&&Or.type)?Or.align||Or.width?Ft.replaceSelection(`<p style="text-align:${Or.align||"initial"}"><img width="${Or.width?Or.width+"%":"initial"}" src="${er}" alt="${zr||""}" /></p>`):Ft.replaceSelection(`<img width="100%" src="${er}" alt="${zr||""}" />`):((_r=Or==null?void 0:Or.type)==null?void 0:_r.indexOf("video"))>-1?Ft.replaceSelection(`<video width="100%" controls src="${er}"></video>`):((Br=Or==null?void 0:Or.type)==null?void 0:Br.indexOf("pdf"))>-1?Ft.replaceSelection(`<a href="${er}?type=${Or.type}&disposition=inline" target="_blank">${Or.name}</a>`):Fn.includes(mo)?Ft.replaceSelection(`<a href="${er}?type=office&disposition=inline" target="_blank">${Or.name}</a>`):Ft.replaceSelection(`[${Or.name}](${er})`),Ft.focus();case Jt:const{row:Co,col:lo,align:ga}=sn;let da=`
|
|
|
`;for(let No=0;No<Co;No++){let fa=[],zo=[];for(let Er=0;Er<lo;Er++)No===1&&zo.push(Qt[ga]),fa.push(" ");No===1&&(da+=`| ${zo.join(" | ")} |
|
|
|
`),da+=`| ${fa.join(lo===1?"":" | ")} |
|
|
|
`}return Ft.replaceSelection(da+`
|
|
|
`),Ft.focus();default:throw new Error}},[Ft,bn]),jo=(0,be.useMemo)(()=>{switch(bn){case ft:return be.createElement(Xe,{callback:ro,onCancel:wo});case kt:return be.createElement(Ve.Z,{callback:ro,onCancel:wo});case vt:return be.createElement(We.Z,{callback:ro,onCancel:wo});case St:return be.createElement(Te,{callback:ro,onCancel:wo});case Jt:return be.createElement(ke,{callback:ro,onCancel:wo});case"maths-latex":return be.createElement(lt,{showSaveButton:!0,callback:ro});case"inline-latex":return be.createElement(pt.Z,{showSaveButton:!0,callback:ro});default:return null}},[bn]);function wo(){Pr("")}(0,be.useEffect)(()=>{if(fo.current){let sn=function(_r){Gn=!0,Vn=_r.pageY},Zt=function(){Gn=!1},hn=function(_r){if(Gn){let Br=_r.pageY-Vn;Br<0&&(Br=0),Br>300&&(Br=300);let so=en+Br+"px";an(so)}},nn=fo.current,Gn=!1,Vn=0;return nn.addEventListener("mousedown",sn),document.addEventListener("mousemove",hn),document.addEventListener("mouseup",Zt),()=>{nn.removeEventListener("mousedown",sn),document.removeEventListener("mousemove",hn),document.removeEventListener("mouseup",Zt)}}},[Ft,fo]),(0,be.useEffect)(()=>{an(en)},[en]);const _t=Tr(xt),Wt=Tr(kr),qt={width:_t,height:Wt},Ln=(0,be.useMemo)(()=>{if(dr){let sn=new Date(dr),Zt=sn.getHours(),hn=sn.getMinutes(),nn=sn.getSeconds();return Zt=Zt<10?"0"+Zt:Zt,hn=hn<10?"0"+hn:hn,nn=nn<10?"0"+nn:nn,`${Zt}:${hn}:${nn}`}return 0},[dr]),Hn=sn=>{const Zt=[];if(Ut){let hn=-1;sn=sn.replace(/(@▁▁@|@▁@)/g,function(nn,Gn,Vn){Zt.push({multiLine:nn!==_n})})}return Zt};function Kn(){window.sessionStorage.removeItem(Tt),yo(!1),Qn(0)}function yr(){yo(!1),Qn(0),Ft.setValue(window.sessionStorage.getItem(Tt))}(0,be.useEffect)(()=>{cr[bn]&&bn!==Et&&bn!==St&&setTimeout(()=>{const sn=document.getElementsByClassName("markdown-popup-form")[0],Zt=window.innerWidth/2-sn.offsetWidth/2,hn=window.innerHeight/2-sn.offsetHeight/2;Do(Zt),ir(hn)},0)},[bn]);const zn=sn=>{sn.preventDefault();const Zt=sn.clientX-Ao,hn=sn.clientY-fr;document.body.onmousemove=nn=>{let Gn=nn.clientX-Zt,Vn=nn.clientY-hn;const _r=document.getElementsByClassName("markdown-popup-form")[0],Br=window.innerWidth-_r.offsetWidth,so=window.innerHeight-_r.offsetHeight;Gn=Math.max(0,Math.min(Gn,Br)),Vn=Math.max(0,Math.min(Vn,so)),jn(nn.clientX,nn.clientY,Zt,hn)&&(Do(Gn),ir(Vn))},document.body.onmouseup=function(){document.body.onmousemove=null}},jn=(sn,Zt,hn,nn)=>{const Gn=document.body.clientHeight,Vn=document.body.clientWidth;return sn<20&&hn>sn||sn>Vn-20&&hn<sn||Zt<20&&nn>Zt||Zt>Gn-20&&nn<Zt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return be.createElement(be.Fragment,null,be.createElement("div",{className:"markdown-editor-wrapper",ref:jr},be.createElement("div",{className:`markdown-editor-container ${Nt} ${Wr?"on-preview":""} ${Rn?"mini":""} ${mn?"full-screen":""}`,style:qt},be.createElement(ge,{insertTemp:ur,watch:Wr,fullScreen:mn,showNullButton:un,showNullProgramButton:Ut,onActionCallback:Xr,hidetoolBar:An,extraUse:In}),be.createElement("div",{className:"markdown-editor-body"},be.createElement("div",{className:"codemirror-container"},be.createElement("textarea",{ref:xo,placeholder:Vt})),Wr?be.createElement("div",{ref:So,className:"preview-container"},Gt==="stex"&&be.createElement(oe,{value:ar}),Gt!=="stex"&&be.createElement(ae.Z,{disabledFill:Kt,showProgramFill:Ut,value:ar})):null))),tn?be.createElement("a",{ref:fo,className:"editor-resize"}):null,bn===Et&&be.createElement(ut,{callback:ro,onCancel:wo}),bn===St&&be.createElement(Te,{callback:ro,onCancel:wo}),be.createElement(Se.Z,null,cr[bn]&&bn!==Et&&bn!==St?be.createElement(ze.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ao,top:fr},title:be.createElement("div",{style:{cursor:"move"},onMouseDown:zn},cr[bn]),open:!0,onCancel:wo,footer:null,destroyOnClose:!0,width:bn===St?"1200px":null,height:bn===St?"80vh":null,className:"markdown-popup-form"},jo):null))}},17077:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return me},I:function(){return Se}});var be=ve(78241),_e=ve(8591),E=ve(92832),he=ve(81327),de=ve(5871),se=ve(5112),ne=ve(3113),ie=ve(46699),ce=ve(59301),ue=ve(48790),ae=ve(59301),oe=Object.defineProperty,re=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ye,Pe,we)=>Pe in ye?oe(ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:we}):ye[Pe]=we,z=(ye,Pe)=>{for(var we in Pe||(Pe={}))y.call(Pe,we)&&b(ye,we,Pe[we]);if(a)for(var we of a(Pe))x.call(Pe,we)&&b(ye,we,Pe[we]);return ye},te=(ye,Pe)=>re(ye,ee(Pe));const{useForm:le}=be.default,fe={width:280,marginRight:10},pe={labelCol:{span:5},wrapperCol:{span:19}};var me=({callback:ye,onCancel:Pe})=>{const[we]=le();let De=(0,ce.useRef)();function Ee(Ie){De.current.width=we.getFieldValue("width"),De.current.align=we.getFieldValue("align"),ye(Ie,De.current)}function Ae(Ie,Me){if(Ie.status===-1){_e.ZP.error(Ie.message);return}we.setFieldsValue({src:`/api/attachments/${Ie.id}`,type:Me.type})}function Ce(Ie){let Me=Ie.target.files[0];De.current=Me,Se(Me,Ae)}return ae.createElement(be.default,te(z({form:we},pe),{className:"upload-image-panel",onFinish:Ee,style:{width:470,overflow:"hidden"}}),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ae.createElement("div",{className:"flex-container"},ae.createElement(be.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ae.createElement(E.default,{style:fe})),ae.createElement(ge,{onFileChange:Ce}))),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ae.createElement(E.default,{style:{width:264}})),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ae.createElement(he.Z,null,ae.createElement(be.default.Item,{name:"width",style:{margin:0}},ae.createElement(de.Z,{style:{width:264}})),ae.createElement("span",{className:"ml8"},"%"))),ae.createElement(be.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ae.createElement(se.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"}]})),ae.createElement("aside",null,ae.createElement(be.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ae.createElement(ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(ne.ZP,{type:"default",onClick:Pe},"\u53D6\u6D88"))))};function ge({onFileChange:ye}){return ae.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ae.createElement("input",{type:"file",onChange:ye}))}function Se(ye,Pe){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ue.bg)())throw _e.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let we=new FormData;we.append("editormd-image-file",ye),we.append("file_param_name","editormd-image-file"),we.append("byxhr","true");var De=new window.XMLHttpRequest;De.withCredentials=!0,De.addEventListener("load",function(Ee){Pe(JSON.parse(Ee.target.responseText),ye)},!1),De.addEventListener("error",function(Ee){console.error(Ee)},!1),De.open("POST",`${ie.KI}/api/attachments.json`),De.send(we)}},91558:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return E}});var be=ve(59301),_e=ve(4676);class E extends be.Component{constructor(de){super(de);const se=window.document;this.node=se.createElement("div"),se.body.appendChild(this.node)}render(){const{children:de}=this.props;return(0,_e.createPortal)(de,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},58397:function(Ct,dt,ve){"use strict";var be=ve(39744),_e=ve(57809),E=ve(78673),he=ve(59301);const de=_e.default.Option;dt.Z=({isTheoretical:se,onFontSizeChange:ne,cmFontSize:ie,cmCodeMode:ce,autoFormat:ue,onCodeModeChange:ae,onTabToSpace:oe,onAutoFormat:re,formatDocument:ee,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:z})=>{const te={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return he.createElement("div",{className:`tpi-code-setting ${a}`},he.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),he.createElement(_e.default,{bordered:!1,size:"small",value:ce,onChange:ae},he.createElement(de,{value:"vs"},"\u767D\u8272\u80CC\u666F"),he.createElement(de,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!se&&he.createElement(he.Fragment,null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),he.createElement(_e.default,{bordered:!1,size:"small",value:ie,onChange:ne},he.createElement(de,{value:12},"12px"),he.createElement(de,{value:14},"14px"),he.createElement(de,{value:16},"16px"),he.createElement(de,{value:18},"18px"),he.createElement(de,{value:20},"20px"),he.createElement(de,{value:22},"22px"))),he.createElement("div",{className:"file-item"},he.createElement("b",null,"Tab\u8F6C\u6362"),he.createElement(E.Z,{checked:y,onChange:oe})),he.createElement("div",{className:"file-item",onClick:ee},he.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!se&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),he.createElement("span",null,"Ctrl + S")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),he.createElement("span",null,"F1 / Alt + F1")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),he.createElement("span",null,"Ctrl + ]/[")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),he.createElement("span",null,"Ctrl + Shift + \\")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),he.createElement("span",null,"Home")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),he.createElement("span",null,"End"))),x),!se&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),he.createElement("span",null,te[z==null?void 0:z.difficulty])),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),he.createElement("span",null,b==null?void 0:b.name)),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),he.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},37808:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return _e}});var be=ve(59301);function _e(E,he){const de=(0,be.useRef)();(0,be.useEffect)(()=>{de.current=E}),(0,be.useEffect)(()=>{function se(){de.current()}if(he!==null){let ne=setInterval(se,he);return()=>clearInterval(ne)}},[he])}},74255:function(Ct,dt,ve){"use strict";var be=ve(59301),_e=ve(31797),E=ve(5871),he=ve(78241),de=ve(43418),se=ve(71418),ne=ve(1710),ie=ve(92832),ce=ve(95237),ue=ve(43604),ae=ve(3113),oe=ve(81722),re=ve(61186),ee=ve.n(re),a=ve(25690),y=ve(51257),x=ve(6383),b=ve(48790),z=ve(45937),te=ve(59301),le=(ge,Se,ye)=>new Promise((Pe,we)=>{var De=Ce=>{try{Ae(ye.next(Ce))}catch(Ie){we(Ie)}},Ee=Ce=>{try{Ae(ye.throw(Ce))}catch(Ie){we(Ie)}},Ae=Ce=>Ce.done?Pe(Ce.value):Promise.resolve(Ce.value).then(De,Ee);Ae((ye=ye.apply(ge,Se)).next())});const{Countdown:fe}=_e.default,pe=({value:ge,onChange:Se,MaxMinutes:ye})=>te.createElement(te.Fragment,null,te.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",te.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",te.createElement("br",null)),te.createElement(E.Z,{value:ge,onChange:Se,min:0,precision:0,max:ye,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ye}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),me=({exercise:ge,successCb:Se,dispatch:ye})=>{var Pe,we,De,Ee;const Ae=(0,a.useParams)(),[Ce]=he.default.useForm(),Ie=he.default.useWatch("time",Ce),[Me,Ge]=(0,be.useState)(!1),Be=(0,be.useRef)(),{actionTabs:Qe}=ge,[qe,Xe]=(0,be.useState)(),[,Ve,We,ze]=(0,z.U)(oe.n7,{id:Ae.categoryId}),[,He,tt]=(0,z.U)(oe.Cd,{});(0,be.useEffect)(()=>{ge.actionTabs.key==="student-unlock"&&(Ge(!1),Ce.resetFields())},[ge.actionTabs.key]);const Je=()=>new Promise(Ze=>le(void 0,null,function*(){var Fe,Oe;return Be.current=yield(0,x.y)({ip_limit:(Fe=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Fe.ip_limit,ip_bind:(Oe=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Oe.ip_bind_type}),Ze()})),ut=()=>le(void 0,null,function*(){var Ze,Fe,Oe,Te,xe;yield Ce.validateFields();const Re=Ce.getFieldsValue();if(Ge(!0),(((Ze=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ze.ip_limit)!=="no"||(Fe=Qe==null?void 0:Qe.exerciseParams)!=null&&Fe.ip_bind_type)&&(yield Je()),(yield(0,oe.ZD)((Oe=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Oe.id,{exercise_user_id:(Te=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Te.exercise_user_id,unlock_key:Re.unlock_key,time:Re.time,ip:Be.current})).status===0){if(Se){ye({type:"exercise/setActionTabs",payload:{}}),Se();return}const ot=Qe==null?void 0:Qe.exerciseParams;(0,y.nr)({inner_ip:ot.inner_ip,public_ip:ot.public_ip,open_camera:ot.open_camera,ip_limit:ot.ip_limit,ip_bind:ot.ip_bind,ip_bind_type:ot.ip_bind_type,exercise_tips:ot.exercise_tips,exerciseId:ot.id,screen_open:ot.screen_open,screen_num:ot.screen_num,screen_sec:ot.screen_sec,coursesId:Ae.coursesId,login:(xe=(0,b.eY)())==null?void 0:xe.login,history,identity_verify:ot.identity_verify,open_phone_video_recording:ot.open_phone_video_recording,current_status:ot.current_status}),ye({type:"exercise/setActionTabs",payload:{}})}Ge(!1)}),Ye=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:Ze=>te.createElement("span",{className:Ze.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ze)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:Ze=>te.createElement("span",{className:Ze.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ze)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ue=((Pe=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((we=Qe==null?void 0:Qe.exerciseParams)==null?void 0:we.errorMessage)=="object";(0,be.useEffect)(()=>{ge.actionTabs.key==="student-unlock"&&le(void 0,null,function*(){const Ze=yield tt(Ae);yield We({}),Ze.status||Xe(Ze)})},[ge.actionTabs.key]);const{time:je,end_time:$e}=(qe==null?void 0:qe.exercise)||{},Le=ze!=null&&ze.user_end_time?ee()(ze==null?void 0:ze.user_end_time).add(1,"minutes"):ee()(),Ne=ee()(ze==null?void 0:ze.user_total_end_time)>Le?Math.round(ee().duration(ee()(ze==null?void 0:ze.user_total_end_time).diff(Le.startOf("minute"))).asMinutes()):0,et=((ze==null?void 0:ze.student_left_minutes)||0)+(Ie||0);return te.createElement(te.Fragment,null,te.createElement(de.default,{width:514,centered:!0,closable:!!((De=Qe==null?void 0:Qe.exerciseParams)!=null&&De.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:ge.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ye({type:"exercise/setActionTabs",payload:{}})}},te.createElement(se.Z,{spinning:Ve||He},Ue&&te.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Ue&&te.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Ue&&te.createElement(ne.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ee=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ee.errorMessage)||{}],columns:Ye}),te.createElement("div",{className:""},te.createElement(he.default,{form:Ce,layout:"vertical",autoComplete:"off"},te.createElement(he.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},te.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),je!==-1?te.createElement(te.Fragment,null,te.createElement(he.default.Item,{name:"time",label:te.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",te.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",ee()(ze==null?void 0:ze.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},te.createElement(pe,{MaxMinutes:Ne})),te.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},Ve||He?"--":et),"\u5206\u949F",et!==0&&(ze==null?void 0:ze.user_end_time)&&te.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},ee()(ze==null?void 0:ze.user_end_time).add(Ie||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):te.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",ee()($e).format("YYYY-MM-DD HH:mm")))),te.createElement(ce.Z,{justify:"space-between",align:"middle"},te.createElement(ue.Z,null),te.createElement(ue.Z,null,te.createElement(ae.ZP,{loading:Me,onClick:ut},"\u8FDB\u5165\u8003\u8BD5"))))))};dt.Z=(0,a.connect)(({exercise:ge})=>({exercise:ge}))(me)},98309:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return a}});var be=ve(59301),_e=ve(25690),E=ve(43418),he=ve(3113),de=ve(71418),se=ve(81072),ne=ve(10866),ie=ve(75975),ce=ve(24334),ue=ve(61186),ae=ve.n(ue),oe=ve(24363),re=ve(59301),ee=(y,x,b)=>new Promise((z,te)=>{var le=me=>{try{pe(b.next(me))}catch(ge){te(ge)}},fe=me=>{try{pe(b.throw(me))}catch(ge){te(ge)}},pe=me=>me.done?z(me.value):Promise.resolve(me.value).then(le,fe);pe((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,z]=(0,be.useState)(void 0);console.log((0,_e.useLocation)(),33);const te=(0,_e.useLocation)();(0,be.useEffect)(()=>{y&&function(){return ee(this,null,function*(){const Xe=yield(0,se.X6)(y);z(Xe.data)})}()},[y]);const{status:le,created_at:fe,code:pe,name:me,language:ge,pass_sets_count:Se,set_count:ye,error_msg:Pe,output:we,input:De,expected_output:Ee,execute_memory:Ae,user:Ce,execute_time:Ie,input_file_url:Me,output_file_url:Ge,is_file:Be,expected_output_file_url:Qe}=b||{};return re.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:re.createElement(he.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},re.createElement(de.Z,{spinning:!b,delay:500},re.createElement("div",{className:"record-detail-info"},b?re.createElement(re.Fragment,null,re.createElement("div",{className:"record-detail-body"},re.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),re.createElement("ul",{className:"record-info"},re.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",re.createElement("span",{className:le===0?"c-green":"c-red"},ne.Im[le])," "),re.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",re.createElement("span",null,ae()(fe).format("YYYY-MM-DD HH:mm:ss"))," "),re.createElement("li",null," \u8BED\u8A00\uFF1A",re.createElement("span",null,ge)," "),re.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",re.createElement("span",null,Ie*1e3,"ms")," "),re.createElement("li",null," ",`${le===oe.h.HIDE_COMPILE_STATUS?"--":Se} / ${ye} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,ne.gZ)({status:le,error_msg:Pe,execute_time:Ie,output:we,input:De,expected_output:Ee,input_file_url:Me,output_file_url:Ge,is_file:Be,expected_output_file_url:Qe}),re.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),re.createElement(ie.ZP,{height:"200px",width:"100%",language:ge==null?void 0:ge.toLocaleLowerCase(),value:ce.Base64.decode(pe),options:{readOnly:!0}}))):null)))}},7727:function(Ct,dt,ve){"use strict";ve.d(dt,{Im:function(){return ye},Y4:function(){return we}});var be=ve(59301),_e=ve(92832),E=ve(8591),he=ve(3113),de=ve(37345),se=ve(24334),ne=ve.n(se),ie=ve(91136),ce=ve(86074),ue=ve(91842),ae=ve(51257),oe=ve(34376),re=ve.n(oe),ee=ve(38986),a=ve(25690),y=ve(98309),x=ve(49535),b=ve(81072),z=ve(91176),te=ve(75617),le=ve(92310),fe=ve.n(le),pe=ve(84989),me=ve(59301),ge=(Ae,Ce,Ie)=>new Promise((Me,Ge)=>{var Be=Xe=>{try{qe(Ie.next(Xe))}catch(Ve){Ge(Ve)}},Qe=Xe=>{try{qe(Ie.throw(Xe))}catch(Ve){Ge(Ve)}},qe=Xe=>Xe.done?Me(Xe.value):Promise.resolve(Xe.value).then(Be,Qe);qe((Ie=Ie.apply(Ae,Ce)).next())});const{TextArea:Se}=_e.default,ye={[de.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[de.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[de.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(Ae=>(Ae[Ae.SET_VISIBLE=0]="SET_VISIBLE",Ae[Ae.SET_TABINDEX=1]="SET_TABINDEX",Ae))(Pe||{});function we(Ae){const{status:Ce,error_msg:Ie,output:Me,input:Ge,expected_output:Be,is_file:Qe,input_file_url:qe,output_file_url:Xe,expected_output_file_url:Ve,setMonacoValue:We,setData:ze}=Ae,He=(0,be.useRef)(),tt=(0,be.useRef)(),Je=(0,be.useRef)();let ut=null;const Ye={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,be.useEffect)(()=>{if(Me&&!Qe&&He.current){const Ue=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(He.current);const je=(0,ae.pp)(se.Base64.decode(Me));Ue.write(je),Ue.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ue.scrollToTop()}catch($e){}},100)}if(Ge&&!Qe&&tt.current){const Ue=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(tt.current),Ue.write((0,ae.pp)(Ge)),Ue.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ue.scrollToTop()}catch(je){}},100)}if(Be&&!Qe&&Je.current){const Ue=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Je.current),Ue.write((0,ae.pp)(se.Base64.decode(Be))),Ue.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ue.scrollToTop()}catch(je){}},100)}},[Me]),Ce){case de.h.NOMATCH:ut=me.createElement(me.Fragment,null,me.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Qe&&me.createElement("div",{ref:He}),Qe&&me.createElement("div",{style:Ye},me.createElement("a",{style:{fontSize:"16px"},onClick:()=>ge(this,null,function*(){const Ue=yield(0,ee.ZP)(Xe,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});We(Ue),setTimeout(()=>{ze(Xe)},200)})},Me)),me.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Qe&&me.createElement("div",{ref:Je}),Qe&&me.createElement("div",{style:Ye},me.createElement("a",{style:{fontSize:"16px"},onClick:()=>ge(this,null,function*(){const Ue=yield fetch(Ve,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});We(yield Ue.text()),setTimeout(()=>{ze(Ve)},200)})},Be)));break;case de.h.EXECUTEFAILURE:ut=me.createElement(me.Fragment,null,me.createElement("div",{style:{border:"1px #F6F7F9 solid"}},me.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Qe&&me.createElement(ue.Z,{value:Ge,style:Ye}),Qe&&me.createElement("div",{style:Ye},me.createElement("a",{onClick:()=>(0,ae.LR)(qe,Ge)},Ge))),me.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},me.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),me.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},se.Base64.decode(Ie),"111")));break;case de.h.COMPILEFAILURE:ut=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),me.createElement("pre",{className:ie.Z.error},se.Base64.decode(Ie)));break;case de.h.PODFAILURE:ut=me.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case de.h.TIMEOUT:ut=me.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return me.createElement(me.Fragment,null," ",ut," ")}function De(Ae){const{status:Ce,error_msg:Ie,execute_time:Me,output:Ge,input:Be,expected_output:Qe,is_file:qe,input_file_url:Xe,output_file_url:Ve,expected_output_file_url:We}=Ae;let ze=null;switch(Ce){case de.h.OK:case de.h.NOMATCH:case de.h.EXECUTEFAILURE:case de.h.COMPILEFAILURE:ze=me.createElement("div",{id:"outputResultRef",className:"h100"});break;case de.h.PODFAILURE:ze=me.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case de.h.TIMEOUT:ze=me.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return me.createElement(me.Fragment,null," ",ze," ")}function Ee({value:Ae,className:Ce}){return me.createElement("span",{className:Ce},Ae)}dt.ZP=({input:Ae,is_file:Ce,debuging:Ie,submitting:Me,executingMessage:Ge,debugResult:Be,onChangeInput:Qe,onDebugCode:qe,onSubmitCode:Xe,hack:Ve,user:We,submitResult:ze,isWhiteTheme:He,topDispatch:tt})=>{const[Je]=(0,a.useSearchParams)(),ut=(0,a.useParams)(),[Ye,Ue]=(0,be.useState)(!1),[je,$e]=(0,be.useState)(!1),[Le,Ne]=(0,be.useState)(1),[et,Ze]=(0,be.useState)(!1),[Fe,Oe]=(0,be.useState)(0),[Te,xe]=(0,be.useState)(!1),[Re,Ke]=(0,be.useState)(""),[ot,ke]=(0,be.useState)(""),nt=(0,be.useRef)(),mt=(0,be.useRef)(),ct=(0,be.useRef)(null),ht=(0,be.useRef)(null),lt=(0,be.useRef)(null);console.log(ze,"submitResult",ut);const{status:pt,id:at,input:st,output:ft,expected_output:vt,is_file:St,input_file_url:Et,output_file_url:Mt,expected_output_file_url:kt,error_msg:Jt,hack_sets:dn}=ze||{};(0,be.useEffect)(()=>{pt===0&&(Ne(1),Oe(0))},[pt,at]),(0,be.useEffect)(()=>{ge(void 0,null,function*(){var kn;const Fn=yield(0,b.rX)(ut==null?void 0:ut.id,"submit");(Fn==null?void 0:Fn.status)===0&&(Fn!=null&&Fn.data&&((kn=Fn==null?void 0:Fn.data)==null?void 0:kn.status)!==0?(tt({type:z.Types.SET_SUBMIT_RESULT,payload:{submitResult:Fn==null?void 0:Fn.data}}),Ne(2),Oe(320)):(Ne(1),Oe(0)))})},[ut==null?void 0:ut.id]),(0,be.useEffect)(()=>{if(nt.current){let _n=function(br){Nr=Tr.offsetHeight,rr=!0,Lr=br.pageY,lt.current.style.display="block"},kn=function(){rr=!1,lt.current.style.display="none"},Fn=function(br){if(rr){Qt();let Ot=Lr-br.pageY,At=Nr+Ot;if(At<0&&(At=0),At>window.innerHeight-150&&(At=window.innerHeight-150),Le===1){At<=34?Oe(0):Oe(At);return}console.log(At,"resizeH"),Oe(At)}};const Tr=ct.current;let Nr=0,rr=!1,Lr=0;const cr=document.getElementById("case-y-bar");return cr==null||cr.addEventListener("mousedown",_n),document.addEventListener("mousemove",Fn),document.addEventListener("mouseup",kn),()=>{const br=document.getElementById("case-y-bar");br==null||br.removeEventListener("mousedown",_n),document.removeEventListener("mousemove",Fn),document.removeEventListener("mouseup",kn)}}},[nt,Le]),(0,be.useEffect)(()=>{const _n=x.Z.subscribe("resize-move-bar",Qt);if(Je.get("type")!=="exercises")return document.addEventListener((0,pe.gH)(),vn),()=>{document.removeEventListener((0,pe.gH)(),vn),_n()}},[]),(0,be.useEffect)(()=>{});function Qt(){var _n,kn,Fn,Tr;const Nr=document.getElementById("outputResultRef");if(Nr){let rr=Nr.dataset.text;mt.current.reset(),mt.current.writeln(rr);const Lr=document.getElementById("outputResultRef").offsetWidth-20,cr=((Tr=(Fn=(kn=(_n=mt.current)==null?void 0:_n._core)==null?void 0:kn._renderService)==null?void 0:Fn.dimensions)==null?void 0:Tr.actualCellWidth)||10,br=Math.ceil(Lr/cr);mt.current.resize(br,Math.ceil(Nr.clientHeight/16))}}function on(){Ue(!Ye),setTimeout(()=>{Qt()},300),Oe(Ye?320:window.innerHeight-150)}function wn(){je?($e(!1),(0,pe.BU)()):($e(!0),(0,pe.Dj)(ht.current))}const vn=_n=>{(0,pe.vp)()||$e(!1)},fn=(0,be.useMemo)(()=>{if(Be){const{status:_n,output:kn,error_msg:Fn}=Be;return setTimeout(()=>{let Tr="",Nr=document.getElementById("outputResultRef");kn?Tr=se.Base64.decode(kn):Fn&&(Tr=se.Base64.decode(Fn)),mt.current=new oe.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),mt.current.open(Nr),mt.current.onKey(function(rr){var Lr;if(rr.domEvent.key.toLocaleUpperCase()==="C"&&rr.domEvent.ctrlKey){rr.domEvent.preventDefault();let cr=(Lr=mt.current)==null?void 0:Lr.getSelection();navigator.clipboard.writeText(cr).then(()=>{})}}),Nr.dataset.text=Tr,mt.current.setOption("convertEol",!0),Qt()},300),me.createElement(me.Fragment,null,De(Be))}return null},[Be]);function Bn(){var _n,kn;if(!(Ve!=null&&Ve.code)||((_n=Ve==null?void 0:Ve.code)==null?void 0:_n.trim().length)===0){(kn=E.ZP)==null||kn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Ne(1),Oe(320),qe()}const Un=_n=>ge(void 0,null,function*(){let kn=yield(0,ee.ZP)(`/api/problems/${_n}/start.json`,{method:"get",params:{hack_user_id:We==null?void 0:We.user_id}});kn&&(window.location.href=`/myproblems/${kn==null?void 0:kn.identifier}${window.location.search}`)});function Nn(){St?navigator.clipboard.writeText(se.Base64.decode(Jt)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(se.Base64.decode(ft)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return me.createElement(be.Fragment,null,me.createElement("div",{className:fe()(ie.Z.case,He&&ie.Z.whiteCase),style:{height:Fe},ref:ct},me.createElement("div",{className:ie.Z.fullMask,ref:lt}),me.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:nt,draggable:!1},Le===2&&me.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Le===1&&(Fe<=34?me.createElement("div",{onClick:()=>{Oe(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",me.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):me.createElement("div",{onClick:()=>{Oe(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",me.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),me.createElement("div",null,me.createElement("div",{className:ie.Z.caseHead},me.createElement("div",{className:ie.Z.dot}),me.createElement("div",{className:ie.Z.text},Le===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Le===2&&!Me&&typeof pt=="number"&&me.createElement(me.Fragment,null,pt===de.h.OK?me.createElement("div",{className:ie.Z.pass},me.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):me.createElement("div",{className:ie.Z.noPass},me.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ye[pt])),me.createElement("div",{className:ie.Z.btns},Le===2&&!Me&&me.createElement(me.Fragment,null,pt!==de.h.OK&&me.createElement("div",{onClick:Nn},me.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),me.createElement("div",{onClick:()=>{xe(at)}},me.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),Je.get("type")!=="exercises"&&me.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>on()},me.createElement("i",{className:`iconfont icon-${Ye?"suoxiao1":"fangda"}`})))),me.createElement("div",{style:{display:Le===1?"block":"none"}},Ie?me.createElement(ce.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):me.createElement("div",{style:{height:Fe-34}},me.createElement("div",{className:ie.Z.result},me.createElement("div",{className:ie.Z.left},me.createElement("div",{className:ie.Z.title},me.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),me.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),me.createElement("div",{className:ie.Z.leftNode},me.createElement(Se,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Ce?"":Ae,onChange:Qe}))),me.createElement("div",{className:ie.Z.right},me.createElement("div",{className:ie.Z.title},me.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),me.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),me.createElement("div",{className:ie.Z.node},Be?fn:me.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),me.createElement("div",{style:{display:Le===2?"block":"none"}},Me?me.createElement(ce.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):me.createElement("div",{style:{height:Fe-34,display:"flex",flexDirection:"column",overflow:"hidden"}},me.createElement("div",{ref:ht,className:ie.Z.elseNode},me.createElement("div",{className:ie.Z.nameWrap},me.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),me.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),me.createElement("div",{className:ie.Z.scroll},me.createElement("pre",{className:ie.Z.scrollBox,style:et?{height:je?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!St&&me.createElement(Ee,{value:st}),St&&me.createElement("a",{style:{fontSize:"16px"},onClick:()=>ge(void 0,null,function*(){const _n=yield fetch(Et,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ke(yield _n.text()),setTimeout(()=>{Ke(Et)},200)})},st)),st&&me.createElement("div",{className:ie.Z.action},me.createElement("span",{onClick:()=>Ze(!et)},et?"\u6536\u8D77":"\u5C55\u5F00"),Je.get("type")!=="exercises"&&me.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>wn(),className:`iconfont icon-${je?"suoxiao1":"fangda"}`})))),me.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},me.createElement("div",{className:ie.Z.left},me.createElement("div",{className:ie.Z.title},me.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),me.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),me.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},me.createElement("pre",null,!St&&me.createElement(Ee,{className:"mb10",value:vt&&se.Base64.decode(vt)||""}),St&&me.createElement("a",{style:{fontSize:"16px"},onClick:()=>ge(void 0,null,function*(){const _n=yield fetch(kt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ke(yield _n.text()),setTimeout(()=>{Ke(kt)},200)})},vt)))),me.createElement("div",{className:ie.Z.right},me.createElement("div",{className:ie.Z.title},me.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),me.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),me.createElement("div",{className:ie.Z.node,style:{color:pt===de.h.OK?"#2ABD8C":"#FF2C29"}},me.createElement("pre",null,(pt===4||pt===5)&&me.createElement(Ee,{className:"mb10",value:Jt&&se.Base64.decode(Jt)||""}),pt!=4&&pt!=5&&(St?me.createElement("a",{style:{fontSize:"16px"},onClick:()=>ge(void 0,null,function*(){const _n=yield(0,ee.ZP)(Mt,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{ke(_n)}catch(kn){ke("")}setTimeout(()=>{Ke(Mt)},200)})},ft):me.createElement(Ee,{className:"mb10",value:ft&&se.Base64.decode(ft)||""})))))))))),me.createElement("div",{className:fe()(ie.Z.footer,He&&ie.Z.whiteFooter),style:{zIndex:100}},(Ve==null?void 0:Ve.is_program)&&(Ve==null?void 0:Ve.above_question)&&me.createElement(he.ZP,{className:"mr10",type:"primary",onClick:()=>Un(Ve==null?void 0:Ve.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Ve==null?void 0:Ve.is_program)&&(Ve==null?void 0:Ve.under_question)&&me.createElement(he.ZP,{className:"mr10",type:"primary",onClick:()=>Un(Ve==null?void 0:Ve.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),me.createElement(he.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Ie||Me,loading:Ie,color:"#2ABD8C",className:"mr10",onClick:Bn},"\u8C03\u8BD5\u4EE3\u7801"),Je.get("qtype")!=="8"&&me.createElement(he.ZP,{className:ie.Z.disabled,type:"primary",icon:me.createElement("i",{className:"iconfont icon-bofang1"}),loading:Me,disabled:Ie||Me,onClick:()=>{var _n,kn;if(!(Ve!=null&&Ve.code)||((_n=Ve==null?void 0:Ve.code)==null?void 0:_n.trim().length)===0){(kn=E.ZP)==null||kn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Ne(2),Oe(320),Xe()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),me.createElement(y.Z,{onClose:xe,open:Te}),me.createElement(te.Z,{close:!0,data:Re,type:Re.length?"txt":"",onClose:()=>Ke(""),monacoEditor:{value:ot,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},91176:function(Ct,dt,ve){"use strict";ve.r(dt),ve.d(dt,{Types:function(){return po},default:function(){return ro}});var be=ve(59301),_e=ve(25690),E=ve(31797),he=ve(43418),de=ve(71418),se=ve(3113),ne=ve(6848),ie=ve(95237),ce=ve(81072),ue=ve(81722),ae=ve(84989),oe=ve(8343),re=ve(346),ee=ve(87169),a=ve(43428),y=ve(75975),x=ve(91558),b=ve(23992),z=ve(58397),te=ve(59301),le=Object.defineProperty,fe=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,ye=(_t,Wt,qt)=>Wt in _t?le(_t,Wt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):_t[Wt]=qt,Pe=(_t,Wt)=>{for(var qt in Wt||(Wt={}))ge.call(Wt,qt)&&ye(_t,qt,Wt[qt]);if(me)for(var qt of me(Wt))Se.call(Wt,qt)&&ye(_t,qt,Wt[qt]);return _t},we=(_t,Wt)=>fe(_t,pe(Wt));const De={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var Ee=(_t=>(_t[_t.set_font_size=0]="set_font_size",_t[_t.set_theme=1]="set_theme",_t[_t.on_tab_to_space=2]="on_tab_to_space",_t[_t.set_show_editor_setting=3]="set_show_editor_setting",_t))(Ee||{});function Ae(_t,Wt){switch(Wt.type){case 3:return we(Pe({},_t),{showEditorSetting:Wt.payload});case 1:return we(Pe({},_t),{theme:Wt.payload});case 0:return we(Pe({},_t),{fontSize:Wt.payload});case 2:return we(Pe({},_t),{tabToSpace:Wt.payload});default:throw new Error}}var Ce=({isLoading:_t,value:Wt,onChange:qt,language:Ln,onUpdateCode:Hn,ActionBarRender:Kn,setIsWhiteTheme:yr})=>{const[zn,jn]=(0,be.useReducer)(Ae,De),{theme:sn,fontSize:Zt,showEditorSetting:hn,tabToSpace:nn}=zn,Gn=(0,be.useRef)(),Vn=(0,be.useRef)();(0,be.useEffect)(()=>{yr(sn==="vs")},[sn]);const _r={onFontSizeChange:Jr=>{jn({type:0,payload:Jr}),(0,b.t)("cmFontSize",Jr)},tabToSpace:nn,cmFontSize:Zt,className:"oj",cmCodeMode:sn,onTabToSpace:Jr=>{jn({type:2,payload:Jr}),(0,b.t)("cmTabToSpace",Jr)},onCodeModeChange:Jr=>{jn({type:1,payload:Jr}),(0,b.t)("ProgrammingCodeMode",Jr)}};function Br(){jn({type:3,payload:!1})}function so(){jn({type:3,payload:!0})}const oo={value:Wt,language:Ln,theme:sn,options:{fontSize:Zt,insertSpaces:nn},onChange:Jr=>{qt(Jr),Vn.current=Jr,clearTimeout(Gn.current),Gn.current=setTimeout(()=>{Hn(Vn.current)},1e4)},onEditBlur:Jr=>{Vn.current&&Hn(Vn.current)}};return te.createElement(be.Fragment,null,Kn(so),te.createElement("div",{style:{flex:1,overflow:"hidden"}},!_t&&te.createElement(y.ZP,Pe({},oo))),te.createElement(x.Z,null,te.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:hn,onClose:Br},te.createElement(z.Z,Pe({},_r)))))},Ie=ve(60141),Me=ve(24334),Ge=ve(7727),Be={flex_box_center:"flex_box_center___rM3g8",flex_space_between:"flex_space_between___Oc7SE",flex_box_vertical_center:"flex_box_vertical_center___MnmYE",flex_box_center_end:"flex_box_center_end___QQh83",flex_box_column:"flex_box_column___ZRFbL","left-panel":"left-panel___SKGyd","tab-panel-body":"tab-panel-body___gABdv",b1:"b1___QpbmK","oj-width-input":"oj-width-input___eJQWT","oj-mr":"oj-mr___AxILO","s-navs":"s-navs___FXwOi","bg-white":"bg-white___kbZ6r",active:"active___QGOnZ",list:"list___PXTsq",btns:"btns___F8yZK",drawer:"drawer___xdGaT",tour:"tour___oMkVh"},Qe={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},qe=ve(1710),Xe=ve(58421),Ve=ve(58617),We=ve(98309),ze=ve(61186),He=ve.n(ze),tt=ve(59301);const{Column:Je}=qe.default;var ut=({submitResult:_t,submitting:Wt,submitRecords:qt,page:Ln,onPageChange:Hn,topicId:Kn})=>{const[yr]=(0,_e.useSearchParams)(),{records:zn,records_count:jn}=qt||{},[sn,Zt]=(0,be.useState)(!1),hn=yr.get("type")==="1";return tt.createElement(de.Z,{spinning:Wt,tip:"\u8BC4\u6D4B\u4E2D...",indicator:tt.createElement(Ve.Z,{style:{fontSize:24},spin:!0})},(zn==null?void 0:zn.length)>0?tt.createElement(qe.default,{dataSource:zn,rowKey:"id",pagination:!1},tt.createElement(Je,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(nn,Gn)=>tt.createElement("span",null," ",He()(nn).format("YYYY-MM-DD HH:mm:ss"))}),tt.createElement(Je,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(nn,Gn)=>{var Vn;return tt.createElement("span",{className:`${nn===0?"c-green":"c-red"} current`,onClick:()=>{Zt(Gn.id)}},(Vn=Ge.Im[nn])==null?void 0:Vn.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),tt.createElement(Je,{title:`\u6267\u884C\u7528\u65F6 (${hn?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:nn=>nn?hn?nn:nn/1e3:""}),tt.createElement(Je,{title:`\u5185\u5B58\u6D88\u8017\uFF08${hn?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:nn=>nn?hn?nn:parseFloat((nn/1024).toFixed(2)):""}),tt.createElement(Je,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),tt.createElement(Je,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(nn,Gn)=>tt.createElement("span",{className:"c-light-primary current",onClick:()=>{Zt(Gn.id)}},"\u67E5\u770B")})):tt.createElement("div",{style:{height:300,width:"100%"}}),tt.createElement(We.Z,{onClose:Zt,open:sn}),jn>15?tt.createElement(Xe.Z,{className:Qe.pagination,current:Ln,pageSize:15,total:jn,onChange:Hn}):null)},Ye=ve(28426),Ue=ve(12563),je={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},$e=ve(91842),Le=ve(59301);const Ne={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var et=({hack:_t})=>{const{language:Wt,difficult:qt,time_limit:Ln,description:Hn}=_t,[Kn]=(0,_e.useSearchParams)(),yr=Ne[qt];return Le.createElement(Le.Fragment,null,Le.createElement("ul",{className:je.info},Le.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Le.createElement("b",{className:je.info_tag},Wt)),Le.createElement("li",null,Le.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Le.createElement(Ue.default,{color:yr==null?void 0:yr.color},yr==null?void 0:yr.name)),Le.createElement("li",null,Le.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Le.createElement("span",{style:{color:"#333333"}},Ln,"\u79D2"))),Kn.get("qtype")==="8"?Le.createElement($e.Z,{value:Hn,showProgramFill:!0,className:je.desc}):Le.createElement($e.Z,{value:Hn,className:je.desc}))},Ze={},Fe=ve(59301),Oe=({hack:_t,current_user:Wt})=>Fe.createElement("div",{className:Ze.answer},_t!=null&&_t.answer_text?Fe.createElement($e.Z,{style:{padding:"13px 0"},value:(_t==null?void 0:_t.answer_text)||""}):Fe.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),Te=ve(49535),xe=ve(38986);function Re(_t,Wt){return(0,xe.U2)(`/problems/${_t}/comments.json`,{page:Wt,limit:10})}function Ke(_t){return(0,xe.v_)(`/discusses/${_t}/plus.json`,{container_type:"Discuss",type:1})}function ot(_t,Wt,qt){return(0,xe.v_)(`/problems/${_t}/comments/reply.json`,{comments:{content:qt,parent_id:Wt}})}function ke(_t,Wt){return(0,xe.v_)(`/problems/${_t}/comments.json`,{comments:{content:Wt}})}function nt(_t,Wt,qt){return(0,xe.v_)(`/problems/${_t}/comments/${Wt}/hidden.json`,qt)}function mt(_t,Wt){return(0,xe.IV)(`/problems/${_t}/comments/${Wt}`)}var ct=ve(75604);function ht({author:_t}){return be.createElement("a",{href:`/users/${_t.login}`,target:"_blank"},be.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${re.Z.IMG_SERVER}/images/${_t.image_url}`,width:"50"}))}function lt({data:_t,index:Wt,parentDiscussIndex:qt,user:Ln,onSetActionType:Hn}){const{author:Kn,can_delete:yr,content:zn,id:jn,time:sn}=_t;function Zt(){Hn({id:jn,index:Wt,type:"delete-discuss",parentDiscussIndex:qt,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const hn=Ln.admin||yr||Kn.user_id===Ln.user_id;return be.createElement("div",{className:"discuss-item-container second-discuss "},be.createElement(ht,{author:Kn}),be.createElement("section",null,be.createElement("div",{className:"discuss-info"},be.createElement("a",{href:`/users/${Kn.login}`,target:"_blank"},Kn.name),be.createElement("span",{className:"grey"},sn),be.createElement("div",{className:"btn-group",style:{marginBottom:0}},hn?be.createElement("a",{onClick:Zt,title:"\u5220\u9664"},be.createElement("i",{className:"iconfont icon-shanchu"})):null)),be.createElement($e.Z,{className:"discuss-content",value:zn})))}var pt=({user:_t,data:Wt,index:qt,onPlusDiscuss:Ln,onSetActionType:Hn,activeDiscussIndex:Kn,onReplyDiscuss:yr,onSetActiveDiscussIndex:zn})=>{const{content:jn,children:sn,hidden:Zt,id:hn,praise_count:nn,time:Gn,user_praise:Vn,can_delete:_r,author:Br}=Wt;function so(){zn(hn)}function oo(){Ln(hn,!Vn,qt)}function Jr(){Hn({id:hn,index:qt,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function ho(){Hn({id:hn,index:qt,params:{hidden:Zt?"0":"1"},type:"hidden-discuss",message:Zt?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const vr=_t.admin||_t.user_id===Br.user_id;return be.createElement("div",{className:"discuss-item-container",key:hn},be.createElement(ht,{author:Br}),be.createElement("section",null,be.createElement("div",{className:"discuss-info"},be.createElement("a",{href:`/users/${Br.login}`,target:"_blank"}," ",Br.name," "),be.createElement("span",{className:"grey"},Gn)),be.createElement($e.Z,{className:"discuss-content",value:jn}),sn&&sn.length>0?be.createElement("div",{className:"reply-discuss-container"},sn.map(($n,qn)=>be.createElement(lt,{key:$n.id,data:$n,index:qn,user:_t,onSetActionType:Hn,parentDiscussIndex:qt}))):null,be.createElement("div",{className:"btn-group"},vr?be.createElement("a",{onClick:ho,title:Zt?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},be.createElement("i",{className:Zt?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,_r&&(!sn||sn.length==0)?be.createElement("a",{onClick:Jr,title:"\u5220\u9664"},be.createElement("i",{className:"iconfont icon-shanchu"})):null,be.createElement("a",{onClick:so,title:"\u56DE\u590D"}," ",be.createElement("i",{className:"iconfont icon-huifu1"})," "),be.createElement("a",{onClick:oo,className:Vn?"c-orange":""},be.createElement("i",{className:Vn?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),be.createElement("span",null,nn||""))),be.createElement(ct.Z,{id:hn,activeDiscussIndex:Kn,onReplyDiscuss:yr})))},at=ve(87320),st={"dis-input-editor-container":"dis-input-editor-container___nKGxx",active:"active___tmt7T","input-mask":"input-mask___epEle","text-area":"text-area___Vry8W","tip-container":"tip-container___plpA3",hide:"hide___kPfyC","md-container":"md-container___u85aq","btn-send":"btn-send___deQ5v"},ft=ve(39793),vt=(_t,Wt,qt)=>new Promise((Ln,Hn)=>{var Kn=jn=>{try{zn(qt.next(jn))}catch(sn){Hn(sn)}},yr=jn=>{try{zn(qt.throw(jn))}catch(sn){Hn(sn)}},zn=jn=>jn.done?Ln(jn.value):Promise.resolve(jn.value).then(Kn,yr);zn((qt=qt.apply(_t,Wt)).next())}),St=({user_praise:_t,praise_count:Wt,praisePlus:qt,onCreateDiscuss:Ln,discuss_count:Hn})=>{const[Kn,yr]=(0,be.useState)(!1),[zn,jn]=(0,be.useState)("");function sn(Gn){jn(Gn)}function Zt(){yr(!0)}function hn(){yr(!1)}function nn(){return vt(this,null,function*(){Ln(zn),jn(""),yr(!1)})}return be.createElement("div",{className:`${st["dis-input-editor-container"]} ${Kn?st.active:""} `},be.createElement("div",{className:Kn?`hide ${st["text-area"]}`:st["text-area"]},be.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Zt}),be.createElement("a",null," ",be.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Hn," "),be.createElement("a",{className:"c-light-black",onClick:qt,title:_t?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},be.createElement("i",{className:`mr3 ${_t?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Wt?be.createElement("span",null,Wt):"")),Kn?be.createElement("div",{className:st["input-mask"],onClick:hn}):null,be.createElement("div",{className:Kn?st["md-container"]:`${st["md-container"]} hide`},be.createElement(ft.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:zn,height:240,onChange:sn}),be.createElement("div",{className:st["tip-container"],onClick:hn},be.createElement("a",{className:st["btn-send"],onClick:nn}," \u53D1\u9001 "))))},Et=ve(59301),Mt=Object.defineProperty,kt=Object.defineProperties,Jt=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,Qt=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,wn=(_t,Wt,qt)=>Wt in _t?Mt(_t,Wt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):_t[Wt]=qt,vn=(_t,Wt)=>{for(var qt in Wt||(Wt={}))Qt.call(Wt,qt)&&wn(_t,qt,Wt[qt]);if(dn)for(var qt of dn(Wt))on.call(Wt,qt)&&wn(_t,qt,Wt[qt]);return _t},fn=(_t,Wt)=>kt(_t,Jt(Wt)),Bn=(_t,Wt,qt)=>new Promise((Ln,Hn)=>{var Kn=jn=>{try{zn(qt.next(jn))}catch(sn){Hn(sn)}},yr=jn=>{try{zn(qt.throw(jn))}catch(sn){Hn(sn)}},zn=jn=>jn.done?Ln(jn.value):Promise.resolve(jn.value).then(Kn,yr);zn((qt=qt.apply(_t,Wt)).next())});const Un={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var Nn=(_t=>(_t[_t.GET_DISCUSSES=0]="GET_DISCUSSES",_t[_t.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",_t[_t.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",_t[_t.PLUS_DISCUSS=3]="PLUS_DISCUSS",_t[_t.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",_t[_t.SET_PAGE=5]="SET_PAGE",_t[_t.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",_t))(Nn||{});function _n(_t,Wt){switch(Wt.type){case 6:return fn(vn({},_t),{loading:!0});case 0:return vn(vn({},_t),Wt.payload);case 1:return vn(vn({},_t),Wt.payload);case 4:return vn(vn({},_t),Wt.payload);case 3:return vn(vn({},_t),Wt.payload);case 5:return fn(vn({},_t),{page:Wt.payload});case 2:return vn(vn({},_t),Wt.payload);default:throw new Error}}var kn=({user:_t,identifier:Wt,hack:qt,onTriggerPraise:Ln,activeIndex:Hn})=>{const[Kn,yr]=(0,be.useReducer)(_n,Un),{loading:zn,page:jn,data:sn,count:Zt,actionType:hn,activeDiscussIndex:nn}=Kn,Gn=(0,be.useCallback)(()=>Bn(void 0,null,function*(){yr({type:6});const $n=yield Re(Wt,jn),{comments:qn,disscuss_count:Cn}=$n;yr({type:0,payload:{data:qn,count:Cn,loading:!1}})}),[jn,Wt]);(0,be.useEffect)(()=>{Hn==="2"&&Gn()},[Wt,jn,Hn]);function Vn($n){yr({type:5,payload:$n})}function _r($n){yr({type:4,payload:{actionType:$n}})}function Br($n){yr(nn===$n?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:$n}})}function so($n,qn,Cn){return Bn(this,null,function*(){try{const er=yield Ke($n);sn[Cn].user_praise=qn,sn[Cn].praise_count=er.praise_count,yr({type:3,payload:{data:[...sn]}})}catch(er){console.log(er)}})}function oo(){return Bn(this,null,function*(){const{id:$n,params:qn,type:Cn,index:er,parentDiscussIndex:zr}=hn;if(Cn==="hidden-discuss"&&(yield nt(Wt,$n,qn),zr?sn[zr].children[er].hidden=qn.hidden==1:sn[er].hidden=qn.hidden==1,yr({type:4,payload:{actionType:null,data:[...sn]}})),Cn==="delete-discuss"){if(yield mt(Wt,$n),zr||zr===0){let Or=sn[zr].children;for(let mo=Or.length-1;mo>=0;mo--)if(Or[mo].id===$n){Or.splice(mo,1);break}sn[zr].children=Or}else for(let Or=sn.length-1;Or>=0;Or--)if(sn[Or].id===$n){sn.splice(Or,1);break}yr({type:4,payload:{actionType:null,data:[...sn]}})}})}function Jr(){yr({type:4,payload:{actionType:null}})}function ho($n,qn){return Bn(this,null,function*(){try{yield ot(Wt,$n,qn),Gn()}catch(Cn){console.log(Cn)}})}function vr($n){return Bn(this,null,function*(){yr({type:6}),yield ke(Wt,$n),Gn()})}return Et.createElement(Et.Fragment,null,Et.createElement("div",{className:"discuss-panel"},sn.length===0?Et.createElement(Ye.Z,null):sn.map(($n,qn)=>Et.createElement(pt,{onReplyDiscuss:ho,onPlusDiscuss:so,onSetActiveDiscussIndex:Br,onSetActionType:_r,data:$n,index:qn,user:_t,activeDiscussIndex:nn})),Zt>10?Et.createElement("div",{className:"pagination-container"},Et.createElement(Xe.Z,{showQuickJumper:!0,onChange:Vn,current:jn,total:Zt})):null),Et.createElement(St,{user_praise:qt.user_praise,praise_count:qt.praises_count,praisePlus:Ln,discuss_count:qt.comments_count,onCreateDiscuss:vr}),Et.createElement(x.Z,null,Et.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:!!hn,onOk:oo,onCancel:Jr},Et.createElement("p",null,hn?hn.message:"")),Et.createElement(at.Z,null)))},Fn=ve(57809),Tr=ve(92832),Nr=ve(65615),rr={},Lr=ve(59301),cr=({hack:_t,current_user:Wt})=>Lr.createElement("div",{className:rr.answer},_t!=null&&_t.analysis?Lr.createElement($e.Z,{style:{padding:"13px 0"},value:(_t==null?void 0:_t.analysis)||""}):Lr.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),br={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},Ot=ve(36381),At=ve(43604),xt=ve(78241),en=ve(5871),Rn=ve(3532),pn=ve(59301);const{TextArea:Fr}=Tr.default,{Panel:ur}=Ot.default;var Gt=({data:_t,hack:Wt})=>(console.log(_t,Wt,"data"),Wt!=null&&Wt.is_file?pn.createElement(Rn.Y2,{disabled:!0,className:br.uploadTableWrapper,showScore:!Wt.test_set_score,data:_t,isProgramHomework:!0}):pn.createElement("div",{className:br.hackSets},_t==null?void 0:_t.map((qt,Ln)=>pn.createElement(Ot.default,{accordion:!0,bordered:!1,key:Ln,defaultActiveKey:Ln===0&&qt.id,className:br.collapseWrapper,expandIcon:({isActive:Hn})=>pn.createElement("i",{className:`iconfont icon-weizhankai ${Hn?br.open:br.close}`,style:{fontSize:14,transition:"all .2s"}})},pn.createElement(ur,{key:qt.id,header:pn.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},pn.createElement(At.Z,{className:br.panelHeader},pn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Ln+1)),pn.createElement(At.Z,{flex:1},pn.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Wt!=null&&Wt.test_set_score)&&pn.createElement(At.Z,{className:br.rateInput},pn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),pn.createElement("div",null,pn.createElement(xt.default.Item,{noStyle:!0},pn.createElement(en.Z,{value:qt==null?void 0:qt.score,className:br.baseFormItem,min:0,max:100,disabled:!0}))),pn.createElement("span",{className:"ml10"},"%")))))},pn.createElement(xt.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},pn.createElement(Fr,{readOnly:!0,value:qt==null?void 0:qt.input,rows:4})),pn.createElement(xt.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},pn.createElement(Fr,{readOnly:!0,value:qt==null?void 0:qt.output,rows:4}))))))),Tt={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},tn=ve(59301),un=(0,be.forwardRef)(({data:_t=[]},Wt)=>{var qt;const[Ln,Hn]=(0,be.useState)(),Kn=_t.filter(zn=>zn.show);(0,be.useEffect)(()=>{Kn.length&&Hn(Kn[0].id)},[_t==null?void 0:_t.length]);const yr=((qt=Kn.find(zn=>zn.id===Ln))==null?void 0:qt.element)||null;return(0,be.useImperativeHandle)(Wt,()=>({setActiveTab:zn=>Hn(zn)})),tn.createElement("div",{className:Tt.tabs},tn.createElement("div",{className:Tt.tabWarp},Kn.map(zn=>tn.createElement("div",{onClick:()=>Hn(zn.id),className:`${Tt.tab} ${zn.id===Ln?Tt.active:""}`,key:zn.id},zn.name))),tn.createElement("div",{className:Tt.content},yr))}),Ut=ve(59301),An=Object.defineProperty,Pn=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,It=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,Yt=(_t,Wt,qt)=>Wt in _t?An(_t,Wt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):_t[Wt]=qt,$t=(_t,Wt)=>{for(var qt in Wt||(Wt={}))Rt.call(Wt,qt)&&Yt(_t,qt,Wt[qt]);if(It)for(var qt of It(Wt))Nt.call(Wt,qt)&&Yt(_t,qt,Wt[qt]);return _t},Kt=(_t,Wt)=>Pn(_t,bt(Wt)),Vt=(_t,Wt,qt)=>new Promise((Ln,Hn)=>{var Kn=jn=>{try{zn(qt.next(jn))}catch(sn){Hn(sn)}},yr=jn=>{try{zn(qt.throw(jn))}catch(sn){Hn(sn)}},zn=jn=>jn.done?Ln(jn.value):Promise.resolve(jn.value).then(Kn,yr);zn((qt=qt.apply(_t,Wt)).next())});const Dn={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},In={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var Ft=({hack:_t,onTriggerPraise:Wt,topicId:qt,page:Ln,onPageChange:Hn,user:Kn,current_user:yr,submitRecords:zn,submitting:jn,submitResult:sn,setActiveIndex:Zt,hack_sets:hn})=>{var nn,Gn;const[Vn]=(0,_e.useSearchParams)(),[_r,Br]=(0,be.useState)("0"),so=(0,_e.useLocation)(),[oo,Jr]=(0,be.useState)(!1),[ho,vr]=(0,be.useState)(null),[$n,qn]=(0,be.useState)([]),[Cn,er]=(0,be.useState)([]),[zr,Or]=(0,be.useState)({page:1,limit:10}),mo=(0,be.useRef)(null),Co=(0,be.useRef)(null);console.log(Kn,"user");let[lo,ga]=(0,be.useState)(Kt($t({},(0,_e.useParams)()),{page:1,per_page:20,name:""}));(0,be.useEffect)(()=>{Co.current&&(_t==null?void 0:_t.is_close_tips)===!1&&ho===null&&vr(!0)},[Co.current,_t==null?void 0:_t.is_close_tips,ho]);function da(){return Vt(this,null,function*(){yield(0,xe.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,be.useEffect)(()=>{Zt(_r)},[_r]);function No(Gr){return Vt(this,null,function*(){let Vo=Gr.target.id;if(Vo==="1"){let oa=yield(0,xe.ZP)(`/api/myproblems/${lo.id}/redo_logs.json`,{method:"get",params:$t({},zr)});(oa==null?void 0:oa.status)===0&&er(oa==null?void 0:oa.data)}Br(Vo)})}(0,be.useEffect)(()=>Te.Z.subscribe("to-commit-info",()=>{Br("1"),mo.current&&mo.current.setActiveTab("1")}),[]),(0,be.useEffect)(()=>Te.Z.subscribe("to-reset-info",()=>{No({target:{id:"1"}}),mo.current&&mo.current.setActiveTab("2")}),[]);function fa(){Br("2")}function zo(){return Vt(this,null,function*(){let Gr=yield(0,xe.ZP)("/api/problems/my_hack_list.json",{method:"get",params:$t({identifier:lo==null?void 0:lo.id},lo)});qn(Gr)})}const Er=[{title:null,description:Ut.createElement("div",null,Ut.createElement("b",{onClick:()=>{vr(!1),da(),Jr(!0),zo()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Ut.createElement("div",{className:"c-grey-333 mt10 mb20"},"\u672C\u6B21\u4F5C\u4E1A\u6240\u9700\u5B8C\u6210\u7684\u8BD5\u9898\u90FD\u53EF\u4EE5\u5728\u8FD9\u91CC\u627E\u5230\uFF0C\u5E76\u652F\u6301\u70B9\u51FB\u8BD5\u9898\u8C03\u6574\u5230\u505A\u9898\u9875"),Ut.createElement(se.ZP,{onClick:()=>{vr(!1),da()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>Co.current}];return Ut.createElement("div",{className:Be["left-panel"]},Ut.createElement("ul",{className:`${Be["s-navs"]} ${Be["bg-white"]} ${Be.b1}`},(_t==null?void 0:_t.is_program)&&!Vn.get("pageId")&&Ut.createElement(ne.Z,{title:"\u9898\u76EE\u5217\u8868"},Ut.createElement("div",{onClick:()=>{zo(),Jr(!0)},className:Be.btns,ref:Co,style:ho?{pointerEvents:"none"}:{}},Ut.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Ut.createElement("li",{style:{marginLeft:20}},Ut.createElement("a",{className:_r==="0"?Be.active:"",id:"0",onClick:No},"\u9898\u76EE\u63CF\u8FF0")),Ut.createElement("li",null,Ut.createElement("a",{className:_r==="1"?Be.active:"",id:"1",onClick:No},"\u64CD\u4F5C\u8BB0\u5F55")),(Vn.get("type")!=="exercises"&&(_t==null?void 0:_t.answer_text_show)||Vn.get("type")!=="exercises"&&(_t==null?void 0:_t.analysis_show))&&Ut.createElement("li",null,Ut.createElement("a",{className:_r==="4"?Be.active:"",id:"4",onClick:No},"\u89E3\u7B54\u53C2\u8003")),Vn.get("type")!=="exercises"&&Ut.createElement("li",null,Ut.createElement("a",{className:_r==="2"?Be.active:"",id:"2",onClick:No},"\u8BC4\u8BBA")),!!(hn!=null&&hn.length)&&Vn.get("type")!=="exercises"&&Vn.get("type")!=="1"&&Ut.createElement("li",null,Ut.createElement("a",{className:_r==="5"?Be.active:"",id:"5",onClick:No},"\u6D4B\u8BD5\u7528\u4F8B"))),Ut.createElement("div",{className:`${Be["tab-panel-body"]} ${_r==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Ut.createElement(et,{hack:_t,onTriggerPraise:Wt,toDiscuss:fa})),Ut.createElement("div",{style:{padding:"12px"},className:`${Be["tab-panel-body"]} ${_r==="1"?"":"hide"}`},Ut.createElement(un,{ref:mo,data:[{id:"1",show:Vn.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Ut.createElement(Ut.Fragment,null,zn!=null&&zn.records_count||jn?Ut.createElement(ut,{page:Ln,onPageChange:Hn,topicId:qt,submitting:jn,key:(sn==null?void 0:sn.id)||1,submitRecords:zn,submitResult:sn}):Ut.createElement(Ye.Z,null))},{id:"2",show:Vn.get("type")==="exercises"||(_t==null?void 0:_t.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Ut.createElement(Ut.Fragment,null,Ut.createElement(qe.default,{pagination:!1,dataSource:Cn==null?void 0:Cn.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Gr,Vo,oa)=>He()(Gr).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Gr,Vo,oa)=>{var Ia;return(Ia=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(ba=>ba.id===Gr))==null?void 0:Ia.name}}]}),Ut.createElement(Xe.Z,{style:{marginTop:10},current:zr.page,total:Cn==null?void 0:Cn.count,hideOnSinglePage:!0,onChange:Gr=>Vt(void 0,null,function*(){zr.page=Gr,Or(zr);let Vo=yield(0,xe.ZP)(`/api/myproblems/${lo.id}/redo_logs.json`,{method:"get",params:Kt($t({},zr),{courseId:lo.courseId})});(Vo==null?void 0:Vo.status)===0&&er(Vo==null?void 0:Vo.data)})}))}]})),Ut.createElement("div",{style:{padding:"12px"},className:`${Be["tab-panel-body"]} ${_r==="4"?"":"hide"}`},Ut.createElement(un,{data:[{id:"1",show:Vn.get("type")!=="exercises"&&(_t==null?void 0:_t.answer_text_show),name:"\u7B54\u6848",element:Ut.createElement(Ut.Fragment,null,Ut.createElement(Oe,{hack:_t,current_user:yr}))},{id:"2",show:Vn.get("type")!=="exercises"&&(_t==null?void 0:_t.analysis_show),name:"\u89E3\u6790",element:Ut.createElement(Ut.Fragment,null,Ut.createElement(cr,{hack:_t,current_user:yr}))}]})),Ut.createElement("div",{className:`${Be["tab-panel-body"]} ${_r==="2"?"":"hide"}`,style:{padding:0}},Ut.createElement(kn,{user:Kn,activeIndex:_r,identifier:_t.identifier,hack:_t,onTriggerPraise:Wt})),Ut.createElement("div",{className:`${Be["tab-panel-body"]} ${_r==="5"?"":"hide"}`,style:{padding:12}},Ut.createElement(Gt,{data:hn||[],hack:_t})),Ut.createElement(a.Z,{rootClassName:Be.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>Jr(!1),open:oo},Ut.createElement(ie.Z,null,Ut.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Ut.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",$n==null?void 0:$n.total_count,"\u9898\xA0[\xA0",$n==null?void 0:$n.total_score,"\u5206\xA0]\xA0"),!(Kn!=null&&Kn.hack_manager)&&Ut.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",$n==null?void 0:$n.work_score,"\u5206")),Ut.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Ut.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(Kn!=null&&Kn.hack_manager)&&Ut.createElement(Fn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Gr=>{lo.page=1,lo.finish_status=Gr,ga($t({},lo)),zo()}},Ut.createElement(Fn.default.Option,{value:""},"\u5168\u90E8"),Ut.createElement(Fn.default.Option,{value:0},"\u672A\u5F00\u59CB"),Ut.createElement(Fn.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Ut.createElement(Fn.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Ut.createElement(Fn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Gr=>{lo.page=1,lo.difficult=Gr||null,ga($t({},lo)),zo()}},Ut.createElement(Fn.default.Option,{value:0},"\u5168\u90E8"),Ut.createElement(Fn.default.Option,{value:1},"\u7B80\u5355"),Ut.createElement(Fn.default.Option,{value:2},"\u9002\u4E2D"),Ut.createElement(Fn.default.Option,{value:3},"\u56F0\u96BE")),Ut.createElement(Tr.default.Search,{size:"large",onSearch:Gr=>{lo.name=Gr,lo.page=1,ga($t({},lo)),zo()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Ut.createElement("div",{className:Be.list,style:{height:36,background:"#3D445C"}},!(Kn!=null&&Kn.hack_manager)&&Ut.createElement("span",null,"\u72B6\u6001"),Ut.createElement("span",null,"\u5E8F\u53F7"),Ut.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Ut.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Ut.createElement("div",{style:{overflow:"auto",flex:1}},(nn=$n==null?void 0:$n.data)!=null&&nn.length?(Gn=$n==null?void 0:$n.data)==null?void 0:Gn.map((Gr,Vo)=>Ut.createElement("div",{onClick:()=>Vt(void 0,null,function*(){let oa=yield(0,xe.ZP)(`/api/problems/${Gr==null?void 0:Gr.identifier}/start.json`,{method:"get",params:{hack_user_id:Kn==null?void 0:Kn.user_id}});oa&&(window.location.href=`/myproblems/${oa==null?void 0:oa.identifier}${window.location.search}`)}),className:`${Be.list} ${Gr!=null&&Gr.checked?Be.active:""}`},!(Kn!=null&&Kn.hack_manager)&&Ut.createElement(Ut.Fragment,null,!(Gr!=null&&Gr.opened)&&Ut.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Gr==null?void 0:Gr.opened)&&!(Gr!=null&&Gr.passed)&&Ut.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Gr==null?void 0:Gr.opened)&&(Gr==null?void 0:Gr.passed)&&Ut.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Ut.createElement("span",null,(lo.page-1)*20+(Vo+1)),Ut.createElement("span",{style:{flex:1},title:Gr.name},`[${Gr==null?void 0:Gr.score}\u5206]`,"\xA0",Gr.name),Ut.createElement("span",{style:{flexBasis:48,paddingRight:0}},Dn[Gr.difficult]))):Ut.createElement(Ye.Z,null)),Ut.createElement(Xe.Z,{current:lo.page,className:"mt20",hideOnSinglePage:!0,total:$n==null?void 0:$n.count,pageSize:lo.per_page,onChange:(Gr,Vo)=>{lo.page=Gr,lo.per_page=Vo,zo()}})),Ut.createElement(Nr.Z,{rootClassName:Be.tour,closeIcon:!1,open:!!ho,steps:Er,gap:{offset:3,radius:2}}))},Ar=ve(62522),ar=ve(6383),pr=ve(96680),Wr=ve(74255),gn=ve(3810),mn=ve(36482),On=ve(91136),bn=ve(92310),Pr=ve.n(bn),dr=ve(41319),Qn=ve(3932),kr=ve(64126),an=ve(59301),bo=Object.defineProperty,yo=Object.defineProperties,io=Object.getOwnPropertyDescriptors,To=Object.getOwnPropertySymbols,Lo=Object.prototype.hasOwnProperty,Ao=Object.prototype.propertyIsEnumerable,Do=(_t,Wt,qt)=>Wt in _t?bo(_t,Wt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):_t[Wt]=qt,fr=(_t,Wt)=>{for(var qt in Wt||(Wt={}))Lo.call(Wt,qt)&&Do(_t,qt,Wt[qt]);if(To)for(var qt of To(Wt))Ao.call(Wt,qt)&&Do(_t,qt,Wt[qt]);return _t},ir=(_t,Wt)=>yo(_t,io(Wt)),xo=(_t,Wt)=>{var qt={};for(var Ln in _t)Lo.call(_t,Ln)&&Wt.indexOf(Ln)<0&&(qt[Ln]=_t[Ln]);if(_t!=null&&To)for(var Ln of To(_t))Wt.indexOf(Ln)<0&&Ao.call(_t,Ln)&&(qt[Ln]=_t[Ln]);return qt},jr=(_t,Wt,qt)=>new Promise((Ln,Hn)=>{var Kn=jn=>{try{zn(qt.next(jn))}catch(sn){Hn(sn)}},yr=jn=>{try{zn(qt.throw(jn))}catch(sn){Hn(sn)}},zn=jn=>jn.done?Ln(jn.value):Promise.resolve(jn.value).then(Kn,yr);zn((qt=qt.apply(_t,Wt)).next())});const{Countdown:fo}=E.default,So={Java:"java",C:"c",Python:"py","C++":"c"};var po=(_t=>(_t[_t.SET_LOADING=0]="SET_LOADING",_t[_t.GET_DATA=1]="GET_DATA",_t[_t.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",_t[_t.SET_DATA=3]="SET_DATA",_t[_t.SET_DEBUGING=4]="SET_DEBUGING",_t[_t.SET_SUBMITING=5]="SET_SUBMITING",_t[_t.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",_t[_t.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",_t[_t.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",_t[_t.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",_t[_t.SET_PAGE=10]="SET_PAGE",_t))(po||{});function Vr(){return new Date().getTime()}const Cr={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Xr(_t,Wt){switch(Wt.type){case 1:return fr(fr({},_t),Wt.payload);case 3:return ir(fr({},_t),{data:Wt.payload});case 0:return ir(fr({},_t),{loading:Wt.payload});case 9:return ir(fr({},_t),{showNote:Wt.payload});case 4:return ir(fr({},_t),{debuging:Wt.payload});case 5:return ir(fr({},_t),{submitting:Wt.payload});case 2:return ir(fr({},_t),{submitRecords:Wt.payload});case 10:return ir(fr({},_t),{submitRecordPage:Wt.payload});case 6:return ir(fr({},_t),{executingMessage:Wt.payload});case 7:return fr(fr({},_t),Wt.payload);case 8:return fr(fr({},_t),Wt.payload);default:throw new Error}}var ro=({children:_t})=>{var Wt,qt,Ln,Hn,Kn;const[yr,zn]=(0,be.useReducer)(Xr,Cr),{id:jn}=(0,_e.useParams)(),sn=(0,_e.useLocation)(),[Zt]=(0,_e.useSearchParams)(),{loading:hn,data:nn,debugResult:Gn,submitResult:Vn,submitRecords:_r,submitRecordPage:Br,showNote:so,debuging:oo,submitting:Jr,executingMessage:ho}=yr,[vr,$n]=(0,be.useState)("#37AD83"),[qn,Cn]=(0,be.useState)(null),[er,zr]=(0,be.useState)({}),[Or,mo]=(0,be.useState)(!0),[Co,lo]=(0,be.useState)(!1),[ga,da]=(0,be.useState)(!1),No=(0,be.useRef)(null),fa=(0,be.useRef)(0),zo=nn==null?void 0:nn.user,Er=nn==null?void 0:nn.hack,[Gr,Vo]=(0,be.useState)(!1),oa=(0,be.useRef)(1),Ia=(0,be.useRef)(!1);(0,dr.y)(Zt.get("type")==="exercises");const{setOpenDisableCopyAndPaste:ba}=(0,dr.X)(),[Za,Ka]=(0,be.useState)(""),$a=(0,gn._)(er);(0,be.useEffect)(()=>{function lr(){return jr(this,null,function*(){var Zr,ea,Wo,Pa,va;mo(!0);const ta=yield(0,ce.fu)(jn,{exercise_id:Zt.get("exercisesId")});if(setTimeout(()=>{mo(!1)},800),ta.status!==401){try{ta.hack.code=Me.Base64.decode(ta.hack.code)}catch(ko){console.log(ko)}ta.hack=ir(fr({},ta.hack),{is_program:Zt.get("type")==="1"}),zn({type:1,payload:{loading:!1,data:ta}})}if(Zt.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let ko;Zt.get("coursesId")=="coursesId"?ko=yield(0,ue._F)({categoryId:Zt.get("exercisesId"),login:Zt.get("login")}):ko=yield(0,ue._B)({categoryId:Zt.get("exercisesId"),login:Zt.get("login")}),zr(fr({},ko)),ba((Zr=ko==null?void 0:ko.exercise)==null?void 0:Zr.forbid_copy),typeof((ea=ko==null?void 0:ko.exercise)==null?void 0:ea.left_time)=="number"&&(Cn(Date.now()+((Wo=ko==null?void 0:ko.exercise)==null?void 0:Wo.left_time)*1e3),setTimeout(()=>{$n("red")},(((Pa=ko==null?void 0:ko.exercise)==null?void 0:Pa.left_time)-300>0?((va=ko==null?void 0:ko.exercise)==null?void 0:va.left_time)-300:0)*1e3))}})}jn&&lr()},[jn]),(0,be.useEffect)(()=>{var lr;return Zt.get("type")==="exercises"&&((lr=er==null?void 0:er.exercise)!=null&&lr.screen_open)&&(window.removeEventListener("blur",Ra,!1),mn.U.forEach((Zr,ea)=>{window.addEventListener(Zr,Ra,!1)}),window.addEventListener("blur",Ra,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Ra)}},[er]),(0,be.useEffect)(()=>{Za==="1"&&jn&&Er!=null&&Er.language&&ka()},[jn,Br,Er==null?void 0:Er.language,Za]),(0,be.useEffect)(()=>(Er!=null&&Er.is_program&&(fa.current=0,No.current=setInterval(()=>{oi()},15e3)),()=>{clearInterval(No.current)}),[Er==null?void 0:Er.is_program]);const oi=()=>jr(void 0,null,function*(){let lr=yield(0,xe.ZP)(`/api/myproblems/${jn}/save_long_time.json`,{method:"get",params:{answer_long_time:fa.current}})}),Ra=()=>{Ia.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function ka(){return jr(this,null,function*(){try{const lr=yield(0,ce.zO)(jn,{limit:15,page:Br,language:Er==null?void 0:Er.language});zn({type:2,payload:lr})}catch(lr){console.log(lr)}})}function Va(lr){zn({type:10,payload:lr})}function La(lr){return jr(this,null,function*(){var Zr;let ea;(Zt.get("ip_limit")==="inner"||Zt.get("ip_bind_type")==="true")&&(ea=yield(0,ar.y)({ip_limit:Zt.get("ip_limit"),ip_bind:Zt.get("ip_bind_type")==="true"}));const Wo=yield(0,ce.n4)(jn,{code:Me.Base64.encode(lr||Er.code),language:Er==null?void 0:Er.language,exercise_id:Zt.get("exercisesId"),question_id:Zt.get("questionId"),ip:ea});return Wo.status===-5&&(0,_e.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:ir(fr({errorMessage:Wo==null?void 0:Wo.message},(er==null?void 0:er.exercise)||{}),{exercise_user_id:(Zr=er==null?void 0:er.exercise)==null?void 0:Zr.exercise_user_id,id:Zt.get("exercisesId")})}}),Wo})}function za(){return jr(this,null,function*(){if(oa.current=2,!Jr){zn({type:5,payload:!0});try{Te.Z.publish("to-commit-info");const lr=yield La();if(console.log(lr,1),lr.status===0){let ta=function(){return jr(this,null,function*(){const{status:ko,data:wa}=yield(0,ce.rX)(jn,"submit"),Ma=Vr()-va>(Wo*Pa+30)*1e3;if(ko!==0&&!Ma&&setTimeout(ta,1e3),Ma&&ko!==0){he.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),zn({type:5,payload:!1});return}if(ko===0){wa.status===2&&he.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(wa==null?void 0:wa.status)===0&&Zt.get("type")==="1"&&da(!0);const gi=yield(0,ce.zO)(jn,{limit:15,page:Br,language:Er==null?void 0:Er.language});zn({type:8,payload:ir(fr({},yr),{submitResult:wa,submitting:!1,submitRecords:gi})})}})},Zr={};Zt.get("type")==="exercises"&&(Zr.extras={exercise_id:Zt.get("exercisesId"),question_id:Zt.get("questionId")},(Zt.get("ip_limit")==="inner"||Zt.get("ip_bind_type")==="true")&&(Zr.extras.ip=yield(0,ar.y)({ip_limit:Zt.get("ip_limit"),ip_bind:Zt.get("ip_bind_type")==="true"})));const ea=yield(0,ce.bM)(jn,Zr);if(ea.status===-1&&Zt.get("exercisesId")){window.parent.location.href=`/classrooms/${Zt.get("coursesId")}/exercise/${Zt.get("exercisesId")}/detail`;return}const{time_limit:Wo,test_case_size:Pa}=Er,va=Vr();ea.status>-1?ta():zn({type:5,payload:!1})}else zn({type:5,payload:!1})}catch(lr){console.log(lr),zn({type:5,payload:!1})}Vo(!1)}})}function Ua(){return jr(this,null,function*(){oa.current=1,yr.debuging=!0,zn({type:4,payload:!0});try{if((yield La()).status===0){let va=function(){return jr(this,null,function*(){const{status:ta,message:ko,data:wa}=yield(0,ce.rX)(jn,"debug"),Ma=Vr()-Pa>(Zr+30)*1e3;if(ta!==0&&!Ma&&(zn({type:6,payload:ko}),setTimeout(va,1e3)),Ma){he.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),zn({type:4,payload:!1}),zn({type:7,payload:ir(fr({},yr),{debugResult:{status:2},debuging:!1})});return}ta===0&&(wa.status===2&&he.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),zn({type:4,payload:!1}),zn({type:7,payload:ir(fr({},yr),{debugResult:wa,debuging:!1})}))})};const{time_limit:Zr}=Er;let ea={input:encodeURIComponent(nn.test_case.input)};Zt.get("type")==="exercises"&&(ea.exercise_id=Zt.get("exercisesId"));const Wo=yield(0,ce.MU)(jn,ea);if(Wo.status===-1&&Zt.get("exercisesId")){window.parent.location.href=`/classrooms/${Zt.get("coursesId")}/exercise/${Zt.get("exercisesId")}/detail`;return}const Pa=Vr();(Wo==null?void 0:Wo.status)>-1?va():zn({type:4,payload:!1})}else zn({type:4,payload:!1})}catch(lr){console.log(lr)}finally{}})}function Ha(lr,Zr){const ea=Zr?{modify_code:!1}:{};zn({type:3,payload:ir(fr({},nn),{hack:fr(ir(fr({},Er),{code:lr}),ea)})}),Vo(!0)}const ai=lr=>jr(void 0,null,function*(){let Zr=yield(0,xe.ZP)(`/api/problems/${Er==null?void 0:Er.identifier}/start.json`,{method:"get",params:{language:lr==="C++"||lr==="c++"?encodeURIComponent(lr):lr,hack_user_id:zo==null?void 0:zo.user_id}});Zr.status!==-1&&_e.history.replace(`/myproblems/${Zr==null?void 0:Zr.identifier}${window.location.search}`)});function ii(lr){let Zr=lr.target.value;zn({type:3,payload:ir(fr({},nn),{test_case:{input:Zr}})})}function si(){return jr(this,null,function*(){try{let lr={};Zt.get("type")==="exercises"?lr.exercise_id=Zt.get("exercisesId"):Er!=null&&Er.homework_common_id&&(lr.homework_common_id=Er==null?void 0:Er.homework_common_id);const Zr=yield(0,ce.H7)(jn,fr({},lr));Zr.status===401||(Ha(Me.Base64.decode(Zr.code)),(Zt.get("type")==="exercises"||Er!=null&&Er.homework_common_id)&&Te.Z.publish("to-reset-info"))}catch(lr){console.log(lr)}})}function li(){he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:an.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",an.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return jr(this,null,function*(){const lr=yield(0,ce.fi)(jn);lr.status===401||Ha(Me.Base64.decode(lr.code),!0)})}})}function Xa(){zn({type:9,payload:!0})}function ci(){zn({type:9,payload:!1})}function ui(lr){return jr(this,null,function*(){yield(0,ce.MK)(jn,lr),zn({type:1,payload:{showNote:!1,data:ir(fr({},nn),{hack:ir(fr({},Er),{notes:lr.notes})})}})})}const di={hack:Er,isLoading:Or,input:(Wt=nn==null?void 0:nn.test_case)==null?void 0:Wt.input,is_file:(qt=nn==null?void 0:nn.test_case)==null?void 0:qt.is_file,language:Er==null?void 0:Er.language,code:Er==null?void 0:Er.code,title:"main."+So[Er==null?void 0:Er.language],modify_code:Er==null?void 0:Er.modify_code,notes:Er==null?void 0:Er.notes,debugResult:Gn,debuging:oo,submitting:Jr,submitResult:Vn,executingMessage:ho,onCancelNote:ci,onAddNote:ui,showNote:so,user:zo,onShowNote:Xa,onSubmitCode:za,onChangeCode:Ha,onChangeInput:ii,onDebugCode:Ua,onResetCode:si,onSyncCode:li,onUpdateCode:La,onChangeLanguage:ai,isWhiteTheme:Co,setIsWhiteTheme:lo,topDispatch:zn};function fi(){return jr(this,null,function*(){const{praise_count:lr}=yield(0,ce.vl)(Er.id,{container_type:"Hack",type:1});let Zr=ir(fr({},nn),{hack:ir(fr({},Er),{praises_count:lr,user_praise:!Er.user_praise})});zn({type:3,payload:Zr})})}const Ya={topicId:jn,submitResult:Vn,submitRecords:_r,submitting:Jr,page:Br,onPageChange:Va,hack:Er,user:nn==null?void 0:nn.user,hack_sets:nn==null?void 0:nn.hack_sets,current_user:nn==null?void 0:nn.current_user,onTriggerPraise:fi,setActiveIndex:Ka};return console.log(er),an.createElement(an.Fragment,null,an.createElement(de.Z,{spinning:hn,delay:500},nn?an.createElement(an.Fragment,null,an.createElement("header",{className:Pr()(On.Z.header,Co&&On.Z.whiteHeader)},Zt.get("type")!=="exercises"&&an.createElement("div",null,an.createElement("img",{src:`${re.Z.IMG_SERVER}/images/${zo==null?void 0:zo.image_url}`,alt:"user",width:36}),an.createElement("span",{style:{color:Co?"#333":"#B2BACB",fontSize:16}},zo==null?void 0:zo.name)),Zt.get("type")==="exercises"&&an.createElement("div",null,an.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",an.createElement("span",{className:"ml10"},(Ln=er==null?void 0:er.exercise)==null?void 0:Ln.user_name)),an.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",an.createElement("span",{className:"ml10"},(Hn=er==null?void 0:er.exercise)==null?void 0:Hn.student_id))),an.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},an.createElement("div",null,Er.name)),(Er==null?void 0:Er.is_program)&&an.createElement(pr.Z,{defaultValue:Er==null?void 0:Er.answer_long_time,onChange:lr=>{fa.current=lr},className:On.Z.timepiece}),zo!=null&&zo.hack_manager?an.createElement(_e.Link,{className:On.Z.btn_edit,to:Zt.get("type")==="1"?Zt.get("pageId")?`/problems/newedit/${Er.identifier}?type=1&pageId=${Zt.get("pageId")}&backUrl=${Zt.get("backUrl")}`:`/problems/newedit/${Er.identifier}?type=1`:`/problems/newedit/${Er.identifier}`}," ",an.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,!!((Kn=er==null?void 0:er.exercise)!=null&&Kn.left_time)&&an.createElement(an.Fragment,null,an.createElement("span",{style:{color:vr,marginRight:6},className:`iconfont icon-daojishi ${On.Z.djs}`}),an.createElement("span",{className:"c-white mr20"},an.createElement(fo,{valueStyle:{color:vr,fontSize:20,fontWeight:500},title:an.createElement("span",{style:{color:vr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:qn,onFinish:()=>jr(void 0,null,function*(){const lr=yield(0,ue.VL)({categoryId:Zt.get("exercisesId"),commit_method:2});if((lr==null?void 0:lr.status)===0&&(La(),he.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:an.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",an.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>jr(void 0,null,function*(){window.parent.location.href=`/classrooms/${Zt.get("coursesId")}/exercise/${Zt.get("exercisesId")}/detail`})})),(lr==null?void 0:lr.status)===-3){const Zr=parseInt(lr==null?void 0:lr.message);Cn(Date.now()+Zr*1e3)}})}))),Zt.get("type")==="exercises"?an.createElement(se.ZP,{type:"primary",onClick:()=>{const lr=()=>jr(void 0,null,function*(){yield La(),Vo(!1),$a(),Ia.current=!0,Ra()});if(!(_r!=null&&_r.records_count)||Gr){he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:an.createElement("div",{style:{color:"#FF0000"}},"\u8BF7\u786E\u8BA4\u4F60\u7684\u7B54\u9898\u5185\u5BB9\u662F\u5426\u8FDB\u884C\u8BC4\u6D4B\u5E76\u63D0\u4EA4\uFF0C\u672A\u8BC4\u6D4B\u5219\u4F1A\u5BFC\u81F4\u8BE5\u9898\u65E0\u6CD5\u83B7\u5F97\u5206\u6570"),onOk:lr});return}lr()}},an.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):an.createElement("span",{onClick:()=>{var lr;if(Zt.get("backUrl"))_e.history.push(Zt.get("backUrl"));else if(Zt.get("type")==="1"){let Zr=(lr=localStorage.getItem("program_homework"))==null?void 0:lr.split(",");_e.history.push(`/classrooms/${Zr==null?void 0:Zr[0]}/program_homework/${Zr==null?void 0:Zr[1]}/detail`)}else _e.history.push("/problemset")}},an.createElement(ne.Z,{title:"\u5173\u95ED"},an.createElement("i",{style:{color:Co?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),an.createElement(de.Z,{size:"large",spinning:Or},an.createElement(oe.Z,{className:Pr()(On.Z.myProblems,Co&&On.Z.whiteMyProblems),leftChild:an.createElement(Ft,fr({},Ya)),rightChild:an.createElement(wo,fr({},di))}))):null,an.createElement(he.default,{centered:!0,closable:!1,width:680,footer:null,open:ga,className:"oj-modal"},an.createElement("section",{className:"oj-modal-content"},an.createElement("div",{className:"oj-modal-head"},an.createElement("img",{src:Ar,alt:""}),an.createElement("i",{onClick:()=>da(!1),className:"iconfont icon-guanbi1"})),an.createElement("aside",null,an.createElement("img",{className:"mr30",src:kr.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",an.createElement("span",{style:{color:"#75d6ba",marginRight:100}},Vn==null?void 0:Vn.execute_time,"ms"),"\u4F18\u4E8E",an.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Vn==null?void 0:Vn.time_better_than)||100,"%"),"\u7684\u7528\u6237"),an.createElement("aside",{className:"mb50"},an.createElement("img",{src:Qn.Z,className:"mr30"}),an.createElement("span",{className:"oj-modal-tt"},an.createElement("span",null,an.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),an.createElement("span",{className:"c-light-primary"},Vn==null?void 0:Vn.execute_memory,"kb")),an.createElement("span",null,an.createElement("span",null))),"\u4F18\u4E8E",an.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Vn==null?void 0:Vn.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),an.createElement("div",{id:"oj-modal-next",onClick:()=>jr(void 0,null,function*(){var lr;if(Vn!=null&&Vn.next_identifier){let Zr=yield(0,xe.ZP)(`/api/problems/${Vn==null?void 0:Vn.next_identifier}/start.json`,{method:"get",params:{hack_user_id:zo==null?void 0:zo.user_id}});Zr&&(window.location.href=`/myproblems/${Zr==null?void 0:Zr.identifier}${window.location.search}`)}else{let Zr=(lr=localStorage.getItem("program_homework"))==null?void 0:lr.split(",");_e.history.push(`/classrooms/${Zr==null?void 0:Zr[0]}/program_homework/${Zr==null?void 0:Zr[1]}/detail`)}}),className:"oj-modal-btn"},Vn!=null&&Vn.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875")))),an.createElement(Wr.Z,{successCb:()=>{oa.current===1?Ua():za()}}))};function jo({title:_t,modify_code:Wt,onSyncCode:qt,onShowCodeSetting:Ln,onResetCode:Hn,hack:Kn,onChangeLanguage:yr,isWhiteTheme:zn}){var jn;const sn=()=>{he.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:an.createElement(ee.Z,null),content:"\u4F60\u5728\u672C\u6587\u4EF6\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u521D\u59CB\u4EE3\u7801\uFF1F",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:Hn})},[Zt]=(0,_e.useSearchParams)(),hn=Zt.get("language"),nn=Gn=>Gn==="1"?"c++":Gn==="2"?"C++":Gn;return(0,be.useEffect)(()=>{hn&&yr(nn(hn))},[]),(0,be.useEffect)(()=>{Kn!=null&&Kn.tpm_code_modified&&he.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:an.createElement(ee.Z,null),content:an.createElement("div",null,an.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),an.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),an.createElement("div",null,"\u8FD8\u672A\u5B8C\u6210\u8BC4\u6D4B\u7684\u4EFB\u52A1\u4EFB\u52A1\u4EE3\u7801\uFF0C\u8BF7\u81EA\u884C\u4FDD\u5B58\uFF01")),centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Hn()})},[Kn==null?void 0:Kn.language]),console.log(Kn,zn,"hack"),an.createElement("div",{className:`${On.Z.codeHead} ${zn?On.Z.whiteCodeHead:""}`},an.createElement("div",{className:On.Z.navWrap},(jn=Kn==null?void 0:Kn.all_language)==null?void 0:jn.map(Gn=>an.createElement("div",{className:`${On.Z.nav} ${Gn===(Kn==null?void 0:Kn.language)?On.Z.active:""}`,key:Gn,onClick:()=>yr(Gn)},an.createElement(ne.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},an.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),an.createElement("span",null,Gn)))),an.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Wt?an.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:qt},an.createElement("img",{src:Ie,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,an.createElement("a",{onClick:sn},an.createElement(ne.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},an.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),an.createElement("a",{onClick:Ln},an.createElement(ne.Z,{title:"\u8BBE\u7F6E"},an.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function wo(_t){var Wt=_t,{input:qt,is_file:Ln,showNote:Hn,onShowNote:Kn,notes:yr,onCancelNote:zn,onAddNote:jn,debugResult:sn,language:Zt,debuging:hn,submitting:nn,executingMessage:Gn,code:Vn,onSubmitCode:_r,onDebugCode:Br,onChangeCode:so,onChangeInput:oo,onUpdateCode:Jr,user:ho,isLoading:vr,submitResult:$n}=Wt,qn=xo(Wt,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function Cn(zr){return an.createElement(jo,ir(fr({},qn),{onShowCodeSetting:zr}))}const er=fr({input:qt,is_file:Ln,debugResult:sn,debuging:hn,submitting:nn,executingMessage:Gn,onDebugCode:Br,onChangeCode:so,onSubmitCode:_r,onChangeInput:oo,user:ho,submitResult:$n},qn);return an.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},an.createElement(Ce,{setIsWhiteTheme:qn==null?void 0:qn.setIsWhiteTheme,isLoading:vr,language:Zt,value:Vn,onChange:so,onUpdateCode:Jr,ActionBarRender:Cn}),an.createElement(Ge.ZP,fr({},er)))}},37345:function(Ct,dt,ve){"use strict";ve.d(dt,{h:function(){return be}});var be=(_e=>(_e[_e.NOMATCH=-1]="NOMATCH",_e[_e.OK=0]="OK",_e[_e.TIMEOUT=2]="TIMEOUT",_e[_e.PODFAILURE=3]="PODFAILURE",_e[_e.COMPILEFAILURE=4]="COMPILEFAILURE",_e[_e.EXECUTEFAILURE=5]="EXECUTEFAILURE",_e[_e.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",_e))(be||{})},81072:function(Ct,dt,ve){"use strict";ve.d(dt,{H7:function(){return a},MK:function(){return ee},MU:function(){return ue},X6:function(){return oe},bM:function(){return ce},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return re},vl:function(){return b},zO:function(){return ae}});var be=ve(38986),_e=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(z,te,le)=>te in z?_e(z,te,{enumerable:!0,configurable:!0,writable:!0,value:le}):z[te]=le,ne=(z,te)=>{for(var le in te||(te={}))he.call(te,le)&&se(z,le,te[le]);if(E)for(var le of E(te))de.call(te,le)&&se(z,le,te[le]);return z};function ie(z,te){return(0,be.U2)(`myproblems/${z}.json`,ne({hidePopLogin:!0},te||{}))}function ce(z,te){return(0,be.v_)(`myproblems/${z}/code_submit.json`,te)}function ue(z,te){return(0,be.v_)(`myproblems/${z}/code_debug.json`,te)}function ae(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,be.U2)(`myproblems/${z}/submit_records.json`,te)}function oe(z){return(0,be.U2)("myproblems/record_detail.json",{id:z})}function re(z,te){return(0,be.U2)(`myproblems/${z}/result.json`,{mode:te})}function ee(z,te){return(0,be.v_)(`myproblems/${z}/add_notes.json`,te)}function a(z,te){return(0,be.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function y(z){return(0,be.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,be.v_)(`myproblems/${z}/update_code.json`,te)}function b(z,te){return(0,be.v_)(`discusses/${z}/plus.json`,te)}},10866:function(Ct,dt,ve){"use strict";ve.d(dt,{Im:function(){return ye},ZP:function(){return Ce},gZ:function(){return Ee}});var be=ve(59301),_e=ve(92832),E=ve(3113),he=ve(84105),de=ve(87395),se=ve(24363),ne=ve(24334),ie=ve(86074),ce=ve(91842),ue=ve(51257),ae=ve(94268),oe=ve(34376),re=ve(92310),ee=ve.n(re),a=ve(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,fe=(Ie,Me,Ge)=>Me in Ie?y(Ie,Me,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Ie[Me]=Ge,pe=(Ie,Me)=>{for(var Ge in Me||(Me={}))te.call(Me,Ge)&&fe(Ie,Ge,Me[Ge]);if(z)for(var Ge of z(Me))le.call(Me,Ge)&&fe(Ie,Ge,Me[Ge]);return Ie},me=(Ie,Me)=>x(Ie,b(Me));const{TextArea:ge}=_e.default,Se={visible:!1,tabIndex:"0"},ye={[se.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[se.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[se.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(Ie=>(Ie[Ie.SET_VISIBLE=0]="SET_VISIBLE",Ie[Ie.SET_TABINDEX=1]="SET_TABINDEX",Ie))(Pe||{});function we(Ie,Me){switch(Me.type){case 0:return me(pe({},Ie),{visible:Me.payload});case 1:return me(pe({},Ie),{tabIndex:Me.payload});default:throw new Error}}function De({value:Ie,className:Me}){const[Ge,Be]=(0,be.useState)(!1),Qe=(0,be.useRef)(),qe=(0,be.useRef)();return(0,be.useEffect)(()=>{Ge&&(qe.current.reset(),qe.current.write((0,ue.pp)(Ie||"")))},[Ie,Ge]),(0,be.useEffect)(()=>{var Xe,Ve,We,ze;if(Qe.current){qe.current=new oe.Terminal({fontSize:14,disableStdin:!0}),qe.current.open(Qe.current);const He=Qe.current.offsetWidth-14,tt=((ze=(We=(Ve=(Xe=qe.current)==null?void 0:Xe._core)==null?void 0:Ve._renderService)==null?void 0:We.dimensions)==null?void 0:ze.actualCellWidth)||9.5,Je=Math.ceil(He/tt);qe.current.resize(Je,8),Be(!0)}},[]),a.createElement("div",{ref:Qe,className:ee()("XtermText-valueRef",Me)})}function Ee(Ie){const{status:Me,error_msg:Ge,output:Be,input:Qe,expected_output:qe,is_file:Xe,input_file_url:Ve,output_file_url:We,expected_output_file_url:ze}=Ie;let He=null;const tt={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Me){case se.h.NOMATCH:He=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Xe&&a.createElement(De,{className:"mb10",value:Qe}),Xe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,ue.LR)(Ve,Qe)},Qe)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Xe&&a.createElement(De,{className:"mb10",value:Be&&ne.Base64.decode(Be)||""}),Xe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,ue.LR)(We,Be)},Be)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Xe&&a.createElement(De,{className:"mb10",value:qe&&ne.Base64.decode(qe)||""}),Xe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,ue.LR)(ze,qe)},qe)));break;case se.h.EXECUTEFAILURE:He=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Xe&&a.createElement(ce.Z,{value:Qe,style:tt}),Xe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,ue.LR)(Ve,Qe)},Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case se.h.COMPILEFAILURE:He=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Xe&&a.createElement(ce.Z,{value:Qe,style:tt}),Xe&&a.createElement("div",{style:tt},a.createElement("a",{onClick:()=>(0,ue.LR)(Ve,Qe)},Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case se.h.PODFAILURE:He=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:He=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",He," ")}function Ae(Ie){const{status:Me,error_msg:Ge,execute_time:Be,output:Qe,input:qe,expected_output:Xe,is_file:Ve,input_file_url:We,output_file_url:ze,expected_output_file_url:He}=Ie;let tt=null;switch(Me){case se.h.OK:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Be,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,ne.Base64.decode(Qe)));break;case se.h.NOMATCH:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,qe)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",Qe&&ne.Base64.decode(Qe)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Xe&&ne.Base64.decode(Xe)));break;case se.h.EXECUTEFAILURE:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case se.h.COMPILEFAILURE:tt=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case se.h.PODFAILURE:tt=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:tt=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",tt," ")}var Ce=({id:Ie,is_file:Me,input:Ge,debuging:Be,submitting:Qe,executingMessage:qe,debugResult:Xe,onChangeInput:Ve,onDebugCode:We,onSubmitCode:ze})=>{const[He,tt]=(0,be.useReducer)(we,Se),{visible:Je,tabIndex:ut}=He;(0,be.useEffect)(()=>{tt({type:0,payload:!1})},[Ie]);function Ye(Le){let Ne=Le.target.id;tt({type:1,payload:Ne})}function Ue(){tt({type:0,payload:!Je})}const je=(0,be.useMemo)(()=>{if(Xe){const{status:Le}=Xe;return a.createElement(a.Fragment,null,Ae(Xe))}return null},[Xe]);function $e(){tt({type:0,payload:!0}),tt({type:1,payload:"1"}),We()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${Je?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(ae.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(ge,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Me?"":Ge,onChange:Ve}),rightNode:Be?a.createElement(ie.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):Xe?je:a.createElement("p",{style:{color:"#536879"}},"\u8BF7\u586B\u5199\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D")})),a.createElement("a",{className:`btn-collapse ${Je?"up":""}`,onClick:Ue},Je?a.createElement(he.Z,null):a.createElement(de.Z,null)),a.createElement("footer",{className:"footer"},a.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),a.createElement("div",{className:"flex-container"},a.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},"\u4E0A\u4E00\u9898"),a.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},"\u4E0B\u4E00\u9898"),a.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:Be,onClick:$e},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Qe,disabled:Qe,onClick:()=>{tt({type:0,payload:!1}),ze()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},24363:function(Ct,dt,ve){"use strict";ve.d(dt,{h:function(){return be}});var be=(_e=>(_e[_e.NOMATCH=-1]="NOMATCH",_e[_e.OK=0]="OK",_e[_e.TIMEOUT=2]="TIMEOUT",_e[_e.PODFAILURE=3]="PODFAILURE",_e[_e.COMPILEFAILURE=4]="COMPILEFAILURE",_e[_e.EXECUTEFAILURE=5]="EXECUTEFAILURE",_e[_e.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",_e))(be||{})},3532:function(Ct,dt,ve){"use strict";ve.d(dt,{Y2:function(){return Ce},ZP:function(){return Ie}});var be=ve(59301),_e=ve(54580),E=ve(8591),he=ve(43418),de=ve(95237),se=ve(5112),ne=ve(3113),ie=ve(24905),ce=ve(6848),ue=ve(92832),ae={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},oe="data:image/png;base64,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",re=ve(47257),ee=ve.n(re),a=ve(38986),y=ve(1012),x=ve(51257),b=ve(75617),z=ve(59301),te=Object.defineProperty,le=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,Se=(Me,Ge,Be)=>Ge in Me?te(Me,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Me[Ge]=Be,ye=(Me,Ge)=>{for(var Be in Ge||(Ge={}))me.call(Ge,Be)&&Se(Me,Be,Ge[Be]);if(pe)for(var Be of pe(Ge))ge.call(Ge,Be)&&Se(Me,Be,Ge[Be]);return Me},Pe=(Me,Ge)=>le(Me,fe(Ge)),we=(Me,Ge,Be)=>new Promise((Qe,qe)=>{var Xe=ze=>{try{We(Be.next(ze))}catch(He){qe(He)}},Ve=ze=>{try{We(Be.throw(ze))}catch(He){qe(He)}},We=ze=>ze.done?Qe(ze.value):Promise.resolve(ze.value).then(Xe,Ve);We((Be=Be.apply(Me,Ge)).next())});const{Dragger:De}=_e.default,Ee=Me=>{const Ge=He=>He&&He.substring(0,He.lastIndexOf("."));for(var Be=[...Me],Qe=0,qe=[],Xe=0;Xe<Be.length;Xe++){for(var Ve="",We=0;We<qe.length;We++)if(Ge(qe[We][0].name)==Ge(Be[Xe].name)){Qe=1,Ve=We;break}if(Qe==1)qe[Ve].push(Be[Xe]),Qe=0;else if(Qe==0){let He=new Array;He.push(Be[Xe]),qe.push(He)}}return qe.map(He=>{if(He.forEach(tt=>{let Je=tt.name.split(/\.(?=[^\.]+$)/);tt.name=`${Je[0]}.${Je[1].toLowerCase()}`}),He[0].name.includes(".in"))return He.length===2?He:[He[0],{}];if(He[0].name.includes(".out"))return He.length===2?He.reverse():[{},He[0]]})},Ae=({onClose:Me,onOK:Ge,visible:Be,wrapClassName:Qe,rootIdentifier:qe,multiple:Xe=!1,defaultMultipleValue:Ve=!0})=>{const[We,ze]=(0,be.useState)([]),[He,tt]=(0,be.useState)({}),[Je,ut]=(0,be.useState)(!1),[Ye,Ue]=(0,be.useState)(!0),[je,$e]=(0,be.useState)(null),Le=(0,be.useRef)([]),Ne=(0,be.useRef)(0),et=()=>{Me()};(0,be.useEffect)(()=>{Ze()},[]),(0,be.useEffect)(()=>{Be&&(Le.current=[],Ne.current=0,ze([]),Ue(Ve))},[Be]);const Ze=()=>we(void 0,null,function*(){try{$e(!0)}catch(ke){}}),Fe=ke=>ke&&ke.substring(0,ke.lastIndexOf(".")),Oe=ke=>{var nt,mt;const ct=Fe((nt=ke[0])==null?void 0:nt.name)||Fe((mt=ke[1])==null?void 0:mt.name),ht=We.filter(lt=>Fe(lt.name)!==ct);Le.current=[...ht],ze([...ht])},Te=ke=>{if(!Ye){const pt=new FormData;pt.append("file",ke.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:pt},!0).then(st=>{if(st.status===0){Ne.current=Ne.current+1;const ft=Le.current.map(vt=>{var St;if(vt.name===ke.name){const Et=ye({},vt);return(St=ke==null?void 0:ke.name)!=null&&St.includes(".in")?Et.input=st==null?void 0:st.content:Et.output=st==null?void 0:st.content,Et}return vt});if(Le.current=[...ft],ze([...ft]),Ne.current>0&&Ne.current===We.length){ut(!1);let vt=Ee(ft);vt=vt.filter(St=>{var Et,Mt;return!!((Et=St[0])!=null&&Et.name&&((Mt=St[1])!=null&&Mt.name))}),vt=vt.map(St=>Pe(ye(ye({},St[0]),St[1]),{is_file:!1})),Ge(vt),Me()}}else ut(!1),Me()});return}if(je){const pt=new FormData;pt.append("file",ke.file),qe===null?pt.append("identifier","testsets"):pt.append("identifier",qe),(0,a.ZP)("/api/attachments.json",{method:"post",body:pt},!0).then(st=>{if(st.filename){Ne.current=Ne.current+1;const ft=Le.current.map(vt=>{var St;if(vt.name===(st==null?void 0:st.filename)){const Et=Pe(ye({},vt),{is_oss:!je});return(St=st==null?void 0:st.filename)!=null&&St.includes(".in")?(Et.in_object_key=st==null?void 0:st.object,Et.in_object_size=st==null?void 0:st.size,Et.input=st==null?void 0:st.filename,Et.in_file=ke):(Et.out_object_key=st==null?void 0:st.object,Et.out_object_size=st==null?void 0:st.size,Et.output=st==null?void 0:st.filename,Et.out_file=ke),Et}return vt});if(Le.current=[...ft],ze([...ft]),Ne.current>0&&Ne.current===We.length){ut(!1);let vt=Ee(ft);vt=vt.filter(St=>{var Et,Mt;return!!((Et=St[0])!=null&&Et.name&&((Mt=St[1])!=null&&Mt.name))}),vt=vt.map(St=>Pe(ye(ye({},St[0]),St[1]),{is_file:!0})),Ge(vt),Me()}}else ut(!1),Me()});return}const nt=new(ee())({endpoint:He.end_point,region:He.region,accessKeyId:He.access_key_id,accessKeySecret:He.access_key_secret,bucket:He.bucket,stsToken:He.security_token}),mt=ke.name,ct={container_type:"TestSet",file_name:mt},ht=(0,y.Z)();let lt=`testsets/${qe}/${ht}${mt.indexOf(".")>-1?"."+mt.split(".").pop():""}`;qe===null&&(lt=`testsets/${ht}${mt.indexOf(".")>-1?"."+mt.split(".").pop():""}`),nt.multipartUpload(lt,new Blob([ke.file],{type:ke.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:mt+""},url:He==null?void 0:He.callback_url,host:He==null?void 0:He.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(ct)}}).then(function(pt){if(pt.data.status===0){Ne.current=Ne.current+1;const at=Le.current.map(st=>{var ft,vt,St,Et,Mt,kt,Jt,dn,Qt,on,wn,vn,fn,Bn,Un,Nn,_n;if(st.name===((vt=(ft=pt.data)==null?void 0:ft.data)==null?void 0:vt.file_name)){const kn=Pe(ye({},st),{is_oss:!je});return(Mt=(Et=(St=pt.data)==null?void 0:St.data)==null?void 0:Et.file_name)!=null&&Mt.includes(".in")?(kn.in_object_key=(Jt=(kt=pt.data)==null?void 0:kt.data)==null?void 0:Jt.object,kn.in_object_size=(Qt=(dn=pt.data)==null?void 0:dn.data)==null?void 0:Qt.size,kn.input=(wn=(on=pt.data)==null?void 0:on.data)==null?void 0:wn.file_name,kn.in_file=ke):(kn.out_object_key=(fn=(vn=pt.data)==null?void 0:vn.data)==null?void 0:fn.object,kn.out_object_size=(Un=(Bn=pt.data)==null?void 0:Bn.data)==null?void 0:Un.size,kn.output=(_n=(Nn=pt.data)==null?void 0:Nn.data)==null?void 0:_n.file_name,kn.out_file=ke),kn}return st});if(Le.current=[...at],ze([...at]),Ne.current>0&&Ne.current===We.length){ut(!1);let st=Ee(at);st=st.filter(ft=>{var vt,St;return!!((vt=ft[0])!=null&&vt.name&&((St=ft[1])!=null&&St.name))}),st=st.map(ft=>Pe(ye(ye({},ft[0]),ft[1]),{is_file:!0})),Ge(st),Me()}}})},xe=ke=>new Promise((nt,mt)=>{let ct=0,ht=[];for(let lt=0;lt<ke.length;lt++)ke[lt].file.slice(0,1).arrayBuffer().then(()=>{ct++,ct===ke.length&&(ht.length?(E.ZP.warning(`${ht.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),mt()):nt(ke))}).catch(pt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",pt),ct++,ht.push(ke[lt].name),ct===ke.length&&(ht.length?(E.ZP.warning(`${ht.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),mt()):nt(ke))})}),Re=()=>we(void 0,null,function*(){if(We.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield xe(We),ut(!0),Ee(We).some(nt=>{var mt,ct;return!((mt=nt[0])!=null&&mt.name&&((ct=nt[1])!=null&&ct.name))})){he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>we(void 0,null,function*(){We.map(nt=>we(void 0,null,function*(){Te(nt)}))}),onCancel:()=>{ut(!1)}});return}We.map(nt=>we(void 0,null,function*(){Te(nt)}))}),Ke={name:"file",fileList:We,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:ke=>{if(We!=null&&We.some(mt=>mt.name===ke.name))return E.ZP.info(`${ke.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(ke.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(ke.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const nt={name:ke.name,uid:ke.uid,file:ke,percent:0};return We.push(nt),Le.current=[...We],ze([...We]),!1}},ot=Ee(We);return console.log(We,ot,"fileList"),z.createElement(he.default,{open:Be,wrapClassName:Qe,onOk:Re,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:Je},onCancel:et,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ae.wrap},We.length?z.createElement("div",null,z.createElement(de.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Xe?"visible":"hidden"}},z.createElement("span",{className:ae.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(se.ZP.Group,{className:`ml20 ${ae.testCaseRadio}`,optionType:"button",value:Ye,onChange:ke=>Ue(ke.target.value)},z.createElement(se.ZP,{value:!1},"\u6587\u672C"),z.createElement(se.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(_e.default,ye({},Ke),z.createElement(ne.ZP,{type:"primary",className:ae.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(Ce,{data:ot,onRemove:Oe})):z.createElement("div",{className:`${ae.noData} mb30`},z.createElement(_e.default.Dragger,Pe(ye({},Ke),{className:ae.dragger}),z.createElement("img",{src:oe,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ae.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ae.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",z.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",z.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",z.createElement("br",null))))},Ce=({data:Me=[],onRemove:Ge,width:Be="auto",showScore:Qe=!1,disabled:qe=!1,inputChange:Xe,onEvaluatingChange:Ve,onSelectAll:We,checkAll1:ze,checkAll2:He,checkAll3:tt,checkAll4:Je,checkAll5:ut,showEvaluatingSetting:Ye=!1,className:Ue="",isProgramHomework:je=!1})=>{const $e={value:"",filename:"",dataUrl:""},[Le,Ne]=(0,be.useState)(ye({},$e)),et=Oe=>{let Te=document.createElement("a");document.body.appendChild(Te);let xe=URL.createObjectURL(Oe.file);Te.href=xe,Te.download=Oe.name,Te.click(),URL.revokeObjectURL(xe),document.body.removeChild(Te)},Ze=(Oe,Te)=>{(0,x.LR)(Oe,Te)},Fe=(Oe,Te)=>{he.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Ge(Oe,Te)},onCancel:()=>{}})};return Me.length?z.createElement("div",{className:Ue,style:{width:Be}},z.createElement("div",{className:`${je?ae.headProgram:ae.head}`},Ye&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:ze,onChange:Oe=>{We(Oe.target.checked,"hidden")}}),z.createElement(ce.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:je?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:Qe?je?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:Qe?je?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),Qe&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ye&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Je,onChange:Oe=>{We(Oe.target.checked,"input_visible")}}),z.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ye&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:He,onChange:Oe=>{We(Oe.target.checked,"is_invisible")}}),z.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ye&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:ut,onChange:Oe=>{We(Oe.target.checked,"actual_output_visible")}}),z.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ye&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:tt,onChange:Oe=>{We(Oe.target.checked,"last_match_rule")}}),z.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ae.operation,style:je?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ae.listWrapper,style:{boxShadow:je?"0px 2px 4px 0px #EAEEF4":"unset"}},Me.map((Oe,Te)=>{var xe,Re,Ke,ot;return z.createElement("div",{key:Te,className:ae.list,style:je?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ye&&z.createElement("div",{style:{width:"15%"}},z.createElement(ie.default,{checked:!!Oe.hidden,onChange:ke=>{Ve(ke.target.checked,Te,"hidden")}})),z.createElement("div",{style:{width:je?"25%":"15%",paddingLeft:je?"5px":"0px",paddingRight:je?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Te+1),z.createElement("div",{className:ae.info,style:{width:Qe?je?"20%":"15%":"25%"}},z.createElement("span",{title:Oe.input||((xe=Oe[0])==null?void 0:xe.name),onClick:()=>we(void 0,null,function*(){let ke;Oe.input?Oe.input_file_url?ke=Oe.input_file_url:ke=Oe.in_file:ke=Oe[0];let nt;typeof ke=="string"?(nt=yield fetch(ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ne({value:yield nt.text(),filename:"",dataUrl:ke})):(nt=yield(0,x.db)(ke.file),Ne({value:nt.text,filename:ke.name,dataUrl:nt.link}))})},Oe.input||((Re=Oe[0])==null?void 0:Re.name))),z.createElement("div",{className:ae.info,style:{width:Qe?je?"20%":"15%":"25%"}},z.createElement("span",{title:Oe.output||((Ke=Oe[1])==null?void 0:Ke.name),onClick:()=>we(void 0,null,function*(){let ke;Oe.input?Oe.output_file_url?ke=Oe.output_file_url:ke=Oe.out_file:ke=Oe[1];let nt;typeof ke=="string"?(nt=yield fetch(ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ne({value:yield nt.text(),filename:"",dataUrl:ke})):(nt=yield(0,x.db)(ke.file),Ne({value:nt.text,filename:ke.name,dataUrl:nt.link}))})},Oe.output||((ot=Oe[1])==null?void 0:ot.name))),Qe&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{size:"large",addonAfter:je?"%":null,disabled:qe,style:{width:"80%"},onChange:ke=>Xe(ke,Te),value:Oe.score}),!je&&z.createElement("span",null,"\xA0%")),Ye&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Oe.input_visible||!1,onChange:ke=>{Ve(ke.target.checked,Te,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ye&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Oe.is_invisible||!1,onChange:ke=>{Ve(ke.target.checked,Te,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ye&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Oe.actual_output_visible||!1,onChange:ke=>{Ve(ke.target.checked,Te,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ye&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Oe.last_match_rule||!1,onChange:ke=>{Ve(ke.target.checked,Te,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>Fe(Oe,Te),style:je?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ae.del},"\u5220\u9664")))})),z.createElement(b.Z,{close:!0,data:Le.dataUrl,filename:Le.filename,type:Le.dataUrl.length?"txt":"",onClose:()=>Ne(ye({},$e)),monacoEditor:{value:Le.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Ie=Ae},75604:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return re}});var be=ve(59301),_e=ve(8591),E=ve(6848),he=ve(71418),de=ve(95237),se=ve(43604),ne=ve(58421),ie=ve(3113),ce=ve(39793),ue=ve(38986),ae=ve(91842),oe=(a,y,x)=>new Promise((b,z)=>{var te=pe=>{try{fe(x.next(pe))}catch(me){z(me)}},le=pe=>{try{fe(x.throw(pe))}catch(me){z(me)}},fe=pe=>pe.done?b(pe.value):Promise.resolve(pe.value).then(te,le);fe((x=x.apply(a,y)).next())}),re=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[z,te]=(0,be.useState)(""),[le,fe]=(0,be.useState)(!1);function pe(ge){te(ge)}function me(){if(!z){_e.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,z),te("")}return(0,be.useEffect)(()=>{y!=a&&fe(!1)},[y]),be.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},be.createElement(ce.Z,{miniToolbar:!0,startInit:y===a,defaultValue:z,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:pe,extraUse:b&&be.createElement(E.Z,{color:"#fff",open:le,destroyTooltipOnHide:!0,title:ee({id:a,isOpen:le,activeDiscussIndex:y,onChange:pe,setIsOpen:fe}),overlayStyle:{maxWidth:600}},be.createElement("a",{title:le?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>fe(!le)},be.createElement("i",{className:"iconfont icon-dianzan11"})))}),be.createElement("a",{onClick:me,className:"btn-send"},"\u53D1\u9001"))};const ee=a=>{const[y,x]=(0,be.useState)(!1),[b,z]=(0,be.useState)([]),[te,le]=(0,be.useState)(1);(0,be.useEffect)(()=>{a!=null&&a.isOpen?fe():(le(1),z([]))},[a==null?void 0:a.isOpen]);const fe=()=>oe(void 0,null,function*(){x(!0);const pe=yield(0,ue.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(pe==null?void 0:pe.status)==0&&z(pe==null?void 0:pe.answer),x(!1)});return be.createElement(he.Z,{spinning:y},be.createElement("div",{style:{color:"#000"}},be.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[te-1])||""}),be.createElement(de.Z,{justify:"end",align:"middle"},be.createElement(se.Z,null,be.createElement(ne.Z,{simple:!0,current:te,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:pe=>{le(pe)}})),be.createElement(se.Z,null,be.createElement(ie.ZP,{onClick:()=>oe(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[te-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},26547:function(Ct,dt,ve){"use strict";ve.d(dt,{CP:function(){return E},_V:function(){return se}});var be=ve(28209),_e=ve.n(be);const E={secret:be.enc.Utf8.parse("0a18e199b87f1a8d"),iv:be.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},he={exam:E};function de(ne="",ie="exam"){const{secret:ce,iv:ue}=he[ie];return AES.encrypt(ne,ce,{iv:ue,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function se(ne="",ie="exam"){const{secret:ce,iv:ue}=he[ie];return be.AES.decrypt(ne,ce,{iv:ue,mode:_e().mode.CBC,padding:_e().pad.Pkcs7}).toString(be.enc.Utf8)}},84989:function(Ct,dt,ve){"use strict";ve.d(dt,{BU:function(){return _e},Dj:function(){return be},gH:function(){return E},vp:function(){return he}});function be(de){try{de.mozRequestFullScreen?de.mozRequestFullScreen():de.webkitRequestFullScreen&&de.webkitRequestFullScreen()}catch(se){console.log(se,":e")}}function _e(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function he(){var de=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,se=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",de),window.isFullScreen?window.isFullScreen:de!=null}},45937:function(Ct,dt,ve){"use strict";ve.d(dt,{U:function(){return ce}});var be=ve(59301),_e=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(ue,ae,oe)=>ae in ue?_e(ue,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ue[ae]=oe,ne=(ue,ae)=>{for(var oe in ae||(ae={}))he.call(ae,oe)&&se(ue,oe,ae[oe]);if(E)for(var oe of E(ae))de.call(ae,oe)&&se(ue,oe,ae[oe]);return ue},ie=(ue,ae,oe)=>new Promise((re,ee)=>{var a=b=>{try{x(oe.next(b))}catch(z){ee(z)}},y=b=>{try{x(oe.throw(b))}catch(z){ee(z)}},x=b=>b.done?re(b.value):Promise.resolve(b.value).then(a,y);x((oe=oe.apply(ue,ae)).next())});function ce(ue,ae){const[oe,re]=(0,be.useState)(ae),[ee,a]=(0,be.useState)(!1),[y,x]=(0,be.useState)();return[oe,ee,(z,te=!1)=>ie(this,null,function*(){const le=te?ae:ne(ne({},oe),z);a(!0),re(le);const fe=yield ue(le);return a(!1),x(fe),fe}),y]}},3810:function(Ct,dt,ve){"use strict";ve.d(dt,{_:function(){return E}});var be=ve(59301),_e=ve(43418);const E=he=>{var de,se;const ne=(0,be.useRef)([]),ie=()=>{for(const ce of ne.current)clearTimeout(ce);ne.current=[]};return(0,be.useEffect)(()=>{var ce,ue,ae,oe,re,ee;if(ie(),(ce=he==null?void 0:he.exercise)!=null&&ce.left_time&&((ae=(ue=he==null?void 0:he.exercise)==null?void 0:ue.exercise_events)==null?void 0:ae.length)>0){for(const a of(oe=he==null?void 0:he.exercise)==null?void 0:oe.exercise_events)if(((re=he==null?void 0:he.exercise)==null?void 0:re.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((ee=he==null?void 0:he.exercise)==null?void 0:ee.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{_e.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);ne.current.push(x)}}},[(de=he==null?void 0:he.exercise)==null?void 0:de.left_time,(se=he==null?void 0:he.exercise)==null?void 0:se.exercise_events]),ie}},23992:function(Ct,dt,ve){"use strict";ve.d(dt,{G:function(){return de},t:function(){return he}});var be=ve(7062),_e=ve.n(be);const E=null;function he(se,ne){let ie=_e().get("__ec");ie||(ie={}),ie[se]=ne,_e().set("__ec",ie)}function de(se,ne){let ie=_e().get("__ec");return ie?ie[se]===void 0?ne:ie[se]:ne}},47257:function(Ct){(function(dt){(function(ve){if(1)Ct.exports=ve();else var be})(function(){var ve,be,_e;return function(){function E(he,de,se){function ne(ue,ae){if(!de[ue]){if(!he[ue]){var oe=void 0;if(!ae&&oe)return require(ue,!0);if(ie)return ie(ue,!0);var re=new Error("Cannot find module '"+ue+"'");throw re.code="MODULE_NOT_FOUND",re}var ee=de[ue]={exports:{}};he[ue][0].call(ee.exports,function(a){var y=he[ue][1][a];return ne(y||a)},ee,ee.exports,E,he,de,se)}return de[ue].exports}for(var ie=void 0,ce=0;ce<se.length;ce++)ne(se[ce]);return ne}return E}()({1:[function(E,he,de){"use strict";var se=E("./browser/client");se.Buffer=E("buffer").Buffer,se.urllib=E("../shims/xhr"),se.version=E("./browser/version").version,he.exports=se},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.slice.js");var ce=E("assert"),ue=E("../common/utils/checkBucketName"),ae=ue.checkBucketName,oe=de;function re(a){return Array.isArray?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"}function ee(a){return a?re(a)?a:[a]:[]}oe.useBucket=function(y){return ae(y),this.options.bucket=y,this},oe.setBucket=function(y){return ae(y),this.options.bucket=y,this},oe.getBucket=function(){return this.options.bucket},oe.deleteBucket=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z){var te,le;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return te=this._bucketRequestParams("DELETE",b,"",z),pe.next=3,this.request(te);case 3:if(le=pe.sent,!(le.status===200||le.status===204)){pe.next=6;break}return pe.abrupt("return",{res:le.res});case 6:return pe.next=8,this.requestError(le);case 8:throw pe.sent;case 9:case"end":return pe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketACL=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z,te){var le,fe;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return le=this._bucketRequestParams("PUT",b,"acl",te),le.headers={"x-oss-acl":z},le.successStatuses=[200],me.next=5,this.request(le);case 5:return fe=me.sent,me.abrupt("return",{bucket:fe.headers.location&&fe.headers.location.substring(1)||null,res:fe.res});case 7:case"end":return me.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketACL=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z){var te,le;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return te=this._bucketRequestParams("GET",b,"acl",z),te.successStatuses=[200],te.xmlResponse=!0,pe.next=5,this.request(te);case 5:return le=pe.sent,pe.abrupt("return",{acl:le.data.AccessControlList.Grant,owner:{id:le.data.Owner.ID,displayName:le.data.Owner.DisplayName},res:le.res});case 7:case"end":return pe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketLogging=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z,te){var le,fe,pe;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return le=this._bucketRequestParams("PUT",b,"logging",te),fe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<BucketLoggingStatus>
|
|
|
<LoggingEnabled>
|
|
|
<TargetBucket>`.concat(b,`</TargetBucket>
|
|
|
`),z&&(fe+="<TargetPrefix>".concat(z,`</TargetPrefix>
|
|
|
`)),fe+=`</LoggingEnabled>
|
|
|
</BucketLoggingStatus>`,le.content=fe,le.mime="xml",le.successStatuses=[200],ge.next=9,this.request(le);case 9:return pe=ge.sent,ge.abrupt("return",{res:pe.res});case 11:case"end":return ge.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketLogging=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z){var te,le,fe;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("GET",b,"logging",z),te.successStatuses=[200],te.xmlResponse=!0,me.next=5,this.request(te);case 5:return le=me.sent,fe=le.data.LoggingEnabled,me.abrupt("return",{enable:!!fe,prefix:fe&&fe.TargetPrefix||null,res:le.res});case 8:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketLogging=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z){var te,le;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return te=this._bucketRequestParams("DELETE",b,"logging",z),te.successStatuses=[204,200],pe.next=4,this.request(te);case 4:return le=pe.sent,pe.abrupt("return",{res:le.res});case 6:case"end":return pe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketCORS=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z,te){var le,fe,pe,me,ge,Se,ye,Pe,we,De;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:for(z=z||[],ce(z.length,"rules is required"),z.forEach(function(Ce){ce(Ce.allowedOrigin,"allowedOrigin is required"),ce(Ce.allowedMethod,"allowedMethod is required")}),le=this._bucketRequestParams("PUT",b,"cors",te),fe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CORSConfiguration>`,pe=function(Ie){fe+="<AllowedOrigin>".concat(Ie,"</AllowedOrigin>")},me=function(Ie){fe+="<AllowedMethod>".concat(Ie,"</AllowedMethod>")},ge=function(Ie){fe+="<AllowedHeader>".concat(Ie,"</AllowedHeader>")},Se=function(Ie){fe+="<ExposeHeader>".concat(Ie,"</ExposeHeader>")},ye=0,Pe=z.length;ye<Pe;ye++)we=z[ye],fe+="<CORSRule>",ee(we.allowedOrigin).forEach(pe),ee(we.allowedMethod).forEach(me),ee(we.allowedHeader).forEach(ge),ee(we.exposeHeader).forEach(Se),we.maxAgeSeconds&&(fe+="<MaxAgeSeconds>".concat(we.maxAgeSeconds,"</MaxAgeSeconds>")),fe+="</CORSRule>";return fe+="</CORSConfiguration>",le.content=fe,le.mime="xml",le.successStatuses=[200],Ae.next=16,this.request(le);case 16:return De=Ae.sent,Ae.abrupt("return",{res:De.res});case 18:case"end":return Ae.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketCORS=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z){var te,le,fe,pe;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("GET",b,"cors",z),te.successStatuses=[200],te.xmlResponse=!0,ge.next=5,this.request(te);case 5:return le=ge.sent,fe=[],le.data&&le.data.CORSRule&&(pe=le.data.CORSRule,re(pe)||(pe=[pe]),pe.forEach(function(Se){var ye={};Object.keys(Se).forEach(function(Pe){ye[Pe.slice(0,1).toLowerCase()+Pe.slice(1,Pe.length)]=Se[Pe]}),fe.push(ye)})),ge.abrupt("return",{rules:fe,res:le.res});case 9:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketCORS=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z){var te,le;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return te=this._bucketRequestParams("DELETE",b,"cors",z),te.successStatuses=[204],pe.next=4,this.request(te);case 4:return le=pe.sent,pe.abrupt("return",{res:le.res});case 6:case"end":return pe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketReferer=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z,te,le){var fe,pe,me,ge;return ne.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(fe=this._bucketRequestParams("PUT",b,"referer",le),pe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<RefererConfiguration>
|
|
|
`,pe+=" <AllowEmptyReferer>".concat(z?"true":"false",`</AllowEmptyReferer>
|
|
|
`),te&&te.length>0){for(pe+=` <RefererList>
|
|
|
`,me=0;me<te.length;me++)pe+=" <Referer>".concat(te[me],`</Referer>
|
|
|
`);pe+=` </RefererList>
|
|
|
`}else pe+=` <RefererList />
|
|
|
`;return pe+="</RefererConfiguration>",fe.content=pe,fe.mime="xml",fe.successStatuses=[200],ye.next=10,this.request(fe);case 10:return ge=ye.sent,ye.abrupt("return",{res:ge.res});case 12:case"end":return ye.stop()}},x,this)}));function y(x,b,z,te){return a.apply(this,arguments)}return y}(),oe.getBucketReferer=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z){var te,le,fe;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("GET",b,"referer",z),te.successStatuses=[200],te.xmlResponse=!0,me.next=5,this.request(te);case 5:return le=me.sent,fe=le.data.RefererList.Referer||null,fe&&(re(fe)||(fe=[fe])),me.abrupt("return",{allowEmpty:le.data.AllowEmptyReferer==="true",referers:fe,res:le.res});case 9:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketReferer=function(){var a=(0,ie.default)(ne.default.mark(function x(b,z){return ne.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,this.putBucketReferer(b,!0,null,z);case 2:return le.abrupt("return",le.sent);case 3:case"end":return le.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe._bucketRequestParams=function(y,x,b,z){return{method:y,bucket:x,subres:b,timeout:z&&z.timeout,ctx:z&&z.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,he,de){(function(se,ne){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),ce=ie(E("@babel/runtime/regenerator")),ue=ie(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ae=E("debug")("ali-oss"),oe=E("xml2js"),re=E("agentkeepalive"),ee=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),z=E("bowser"),te=E("../common/signUtils"),le=E("../common/client/initOptions"),fe=E("../common/utils/createRequest"),pe=fe.createRequest,me=E("../common/utils/encoder"),ge=me.encoder,Se=E("../common/client/getReqUrl"),ye=Se.getReqUrl,Pe=E("../common/utils/setSTSToken"),we=Pe.setSTSToken,De=E("../common/utils/retry"),Ee=De.retry,Ae=E("../common/utils/isFunction"),Ce=Ae.isFunction,Ie=new re;function Me(){var Ve=a.name,We=a.version;Ve&&Ve.toLowerCase&&Ve.toLowerCase()==="ie"&&We.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Ge(){return location&&location.protocol==="https:"}function Be(Ve,We){if(Me(),!(this instanceof Be))return new Be(Ve,We);Ve&&Ve.inited?this.options=Ve:this.options=Be.initOptions(Ve),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Ie),this.ctx=We,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}he.exports=Be,Be.initOptions=function(We){We.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var ze=Object.assign({secure:Ge(),useFetch:!1},We);return le(ze)};var Qe=Be.prototype;Qe.debug=ae,ee(Qe,E("./object")),ee(Qe,E("./bucket")),ee(Qe,E("../common/bucket/getBucketWebsite")),ee(Qe,E("../common/bucket/putBucketWebsite")),ee(Qe,E("../common/bucket/deleteBucketWebsite")),ee(Qe,E("../common/bucket/getBucketLifecycle")),ee(Qe,E("../common/bucket/putBucketLifecycle")),ee(Qe,E("../common/bucket/deleteBucketLifecycle")),ee(Qe,E("../common/bucket/putBucketVersioning")),ee(Qe,E("../common/bucket/getBucketVersioning")),ee(Qe,E("../common/bucket/getBucketInventory")),ee(Qe,E("../common/bucket/deleteBucketInventory")),ee(Qe,E("../common/bucket/listBucketInventory")),ee(Qe,E("../common/bucket/putBucketInventory")),ee(Qe,E("../common/bucket/abortBucketWorm")),ee(Qe,E("../common/bucket/completeBucketWorm")),ee(Qe,E("../common/bucket/extendBucketWorm")),ee(Qe,E("../common/bucket/getBucketWorm")),ee(Qe,E("../common/bucket/initiateBucketWorm")),ee(Qe,E("./managed-upload")),ee(Qe,E("../common/multipart-copy")),ee(Qe,E("../common/multipart")),ee(Qe,E("../common/parallel")),Qe.signature=function(We){return this.debug("authorization stringToSign: %s",We,"info"),te.computeSignature(this.options.accessKeySecret,We,this.options.headerEncoding)},Qe._getReqUrl=ye,Qe.authorization=function(We,ze,He,tt){var Je=te.buildCanonicalString(We.toUpperCase(),ze,{headers:tt,parameters:He});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,Je,this.options.headerEncoding)},Qe.request=function(){var Ve=(0,ue.default)(ce.default.mark(function We(ze){var He=this;return ce.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(!this.options.retryMax){Je.next=6;break}return Je.next=3,Ee(qe.bind(this),this.options.retryMax,{errorHandler:function(Ye){var Ue=function($e){if(ze.stream)return!1;var Le=[-1,-2].includes($e.status),Ne=He.options.requestErrorRetryHandle||function(){return!0};return Le&&Ne($e)};return!!Ue(Ye)}})(ze);case 3:return Je.abrupt("return",Je.sent);case 6:return Je.abrupt("return",qe.call(this,ze));case 7:case"end":return Je.stop()}},We,this)}));return function(We){return Ve.apply(this,arguments)}}();function qe(Ve){return Xe.apply(this,arguments)}function Xe(){return Xe=(0,ue.default)(ce.default.mark(function Ve(We){var ze,He,tt,Je,ut,Ye;return ce.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(!(this.options.stsToken&&Ce(this.options.refreshSTSToken))){je.next=3;break}return je.next=3,we.call(this);case 3:return ze=pe.call(this,We),this.options.useFetch||(ze.params.mode="disable-fetch"),Je=!!We.stream,je.prev=6,je.next=9,this.urllib.request(ze.url,ze.params);case 9:He=je.sent,this.debug("response %s %s, got %s, headers: %j",We.method,ze.url,He.status,He.headers,"info"),je.next=16;break;case 13:je.prev=13,je.t0=je.catch(6),tt=je.t0;case 16:if(!(He&&We.successStatuses&&We.successStatuses.indexOf(He.status)===-1)){je.next=28;break}return je.next=19,this.requestError(He);case 19:if(ut=je.sent,!(ut.code==="RequestTimeTooSkewed"&&!Je)){je.next=25;break}return this.options.amendTimeSkewed=+new Date(ut.serverTime)-new Date,je.next=24,this.request(We);case 24:return je.abrupt("return",je.sent);case 25:ut.params=We,je.next=32;break;case 28:if(!tt){je.next=32;break}return je.next=31,this.requestError(tt);case 31:ut=je.sent;case 32:if(!ut){je.next=34;break}throw ut;case 34:if(!We.xmlResponse){je.next=39;break}return je.next=37,this.parseXML(He.data);case 37:Ye=je.sent,He.data=Ye;case 39:return je.abrupt("return",He);case 40:case"end":return je.stop()}},Ve,this,[[6,13]])})),Xe.apply(this,arguments)}Qe._getResource=function(We){var ze="/";return We.bucket&&(ze+="".concat(We.bucket,"/")),We.object&&(ze+=ge(We.object,this.options.headerEncoding)),ze},Qe._escape=function(We){return y.encodeURIComponent(We).replace(/%2F/g,"/")},Qe._getUserAgent=function(){var We=ne&&ne.browser?"js":"nodejs",ze="aliyun-sdk-".concat(We,"/").concat(b.version),He=a.description;return!He&&ne&&(He="Node.js ".concat(ne.version.slice(1)," on ").concat(ne.platform," ").concat(ne.arch)),this._checkUserAgent("".concat(ze," ").concat(He))},Qe._checkUserAgent=function(We){var ze=We.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return ze},Qe.checkBrowserAndVersion=function(We,ze){return z.name===We&&z.version.split(".")[0]===ze},Qe.parseXML=function(We){return new Promise(function(ze,He){se.isBuffer(We)&&(We=We.toString()),oe.parseString(We,{explicitRoot:!1,explicitArray:!1},function(tt,Je){tt?He(tt):ze(Je)})})},Qe.requestError=function(){var Ve=(0,ue.default)(ce.default.mark(function ze(He){var tt,Je,ut,Ye;return ce.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(tt=null,!(!He.data||!He.data.length)){je.next=5;break}He.status===-1||He.status===-2?(tt=new Error(He.message),tt.name=He.name,tt.status=He.status,tt.code=He.name):(He.status===404?(tt=new Error("Object not exists"),tt.name="NoSuchKeyError",tt.status=404,tt.code="NoSuchKey"):He.status===412?(tt=new Error("Pre condition failed"),tt.name="PreconditionFailedError",tt.status=412,tt.code="PreconditionFailed"):(tt=new Error("Unknow error, status: ".concat(He.status)),tt.name="UnknownError",tt.status=He.status),tt.requestId=He.headers["x-oss-request-id"],tt.host=""),je.next=32;break;case 5:return Je=String(He.data),this.debug("request response error data: %s",Je,"error"),je.prev=7,je.next=10,this.parseXML(Je);case 10:if(je.t0=je.sent,je.t0){je.next=13;break}je.t0={};case 13:ut=je.t0,je.next=23;break;case 16:return je.prev=16,je.t1=je.catch(7),this.debug(Je,"error"),je.t1.message+=`
|
|
|
raw xml: `.concat(Je),je.t1.status=He.status,je.t1.requestId=He.headers["x-oss-request-id"],je.abrupt("return",je.t1);case 23:Ye=ut.Message||"unknow request error, status: ".concat(He.status),ut.Condition&&(Ye+=" (condition: ".concat(ut.Condition,")")),tt=new Error(Ye),tt.name=ut.Code?"".concat(ut.Code,"Error"):"UnknownError",tt.status=He.status,tt.code=ut.Code,tt.requestId=ut.RequestId,tt.hostId=ut.HostId,tt.serverTime=ut.ServerTime;case 32:return this.debug("generate error %j",tt,"error"),je.abrupt("return",tt);case 34:case"end":return je.stop()}},ze,this,[[7,16]])}));function We(ze){return Ve.apply(this,arguments)}return We}()}).call(this)}).call(this,{isBuffer:E("../../node_modules/is-buffer/index.js")},E("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(E,he,de){(function(se){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ie=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js");var ce=ne(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("util"),ae=E("path"),oe=E("mime"),re=E("copy-to"),ee=E("../common/utils/isBlob"),a=ee.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),z=b.isBuffer,te=de;te.multipartUpload=function(){var ge=(0,ce.default)(ie.default.mark(function ye(Pe,we){var De,Ee,Ae,Ce,Ie,Me,Ge,Be,Qe,qe=arguments;return ie.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(De=qe.length>2&&qe[2]!==void 0?qe[2]:{},this.resetCancelFlag(),De.disabledMD5=De.disabledMD5===void 0?!0:!!De.disabledMD5,!(De.checkpoint&&De.checkpoint.uploadId)){Ve.next=8;break}return we&&x(we)&&(De.checkpoint.file=we),Ve.next=7,this._resumeMultipart(De.checkpoint,De);case 7:return Ve.abrupt("return",Ve.sent);case 8:return Ee=102400,De.mime||(x(we)?De.mime=oe.getType(ae.extname(we.name)):a(we)?De.mime=we.type:z(we)?De.mime="":De.mime=oe.getType(ae.extname(we))),De.headers=De.headers||{},this._convertMetaToHeaders(De.meta,De.headers),Ve.next=14,this._getFileSize(we);case 14:if(Ae=Ve.sent,!(Ae<Ee)){Ve.next=26;break}return De.contentLength=Ae,Ve.next=19,this.put(Pe,we,De);case 19:if(Ce=Ve.sent,!(De&&De.progress)){Ve.next=23;break}return Ve.next=23,De.progress(1);case 23:return Ie={res:Ce.res,bucket:this.options.bucket,name:Pe,etag:Ce.res.headers.etag},(De.headers&&De.headers["x-oss-callback"]||De.callback)&&(Ie.data=Ce.data),Ve.abrupt("return",Ie);case 26:if(!(De.partSize&&parseInt(De.partSize,10)!==De.partSize)){Ve.next=28;break}throw new Error("partSize must be int number");case 28:if(!(De.partSize&&De.partSize<Ee)){Ve.next=30;break}throw new Error("partSize must not be smaller than ".concat(Ee));case 30:return Ve.next=32,this.initMultipartUpload(Pe,De);case 32:if(Me=Ve.sent,Ge=Me.uploadId,Be=this._getPartSize(Ae,De.partSize),Qe={file:we,name:Pe,fileSize:Ae,partSize:Be,uploadId:Ge,doneParts:[]},!(De&&De.progress)){Ve.next=39;break}return Ve.next=39,De.progress(0,Qe,Me.res);case 39:return Ve.next=41,this._resumeMultipart(Qe,De);case 41:return Ve.abrupt("return",Ve.sent);case 42:case"end":return Ve.stop()}},ye,this)}));function Se(ye,Pe){return ge.apply(this,arguments)}return Se}(),te._resumeMultipart=function(){var ge=(0,ce.default)(ie.default.mark(function ye(Pe,we){var De,Ee,Ae,Ce,Ie,Me,Ge,Be,Qe,qe,Xe,Ve,We,ze,He,tt,Je,ut,Ye;return ie.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(De=this,!this.isCancel()){je.next=3;break}throw this._makeCancelEvent();case 3:return Ee=Pe.file,Ae=Pe.fileSize,Ce=Pe.partSize,Ie=Pe.uploadId,Me=Pe.doneParts,Ge=Pe.name,Be=[],Me.length>0&&re(Me).to(Be),Qe=this._divideParts(Ae,Ce),qe=Qe.length,Xe=!1,Ve=function(Le,Ne){return new Promise(function(){var et=(0,ce.default)(ie.default.mark(function Ze(Fe,Oe){var Te,xe,Re,Ke,ot;return ie.default.wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:if(nt.prev=0,Le.isCancel()){nt.next=29;break}return Te=Qe[Ne-1],nt.next=5,Le._createBuffer(Ee,Te.start,Te.end);case 5:return xe=nt.sent,Re={content:xe,size:Te.end-Te.start},nt.prev=7,nt.next=10,Le._uploadPart(Ge,Ie,Ne,Re,we);case 10:Ke=nt.sent,nt.next=18;break;case 13:if(nt.prev=13,nt.t0=nt.catch(7),nt.t0.status!==404){nt.next=17;break}throw Le._makeAbortEvent();case 17:throw nt.t0;case 18:if(!(!Le.isCancel()&&!Xe)){nt.next=26;break}if(Pe.doneParts.push({number:Ne,etag:Ke.res.headers.etag}),!we.progress){nt.next=23;break}return nt.next=23,we.progress(Me.length/(qe+1),Pe,Ke.res);case 23:Fe({number:Ne,etag:Ke.res.headers.etag}),nt.next=27;break;case 26:Fe();case 27:nt.next=30;break;case 29:Fe();case 30:nt.next=41;break;case 32:nt.prev=32,nt.t1=nt.catch(0),ot=new Error,ot.name=nt.t1.name,ot.message=nt.t1.message,ot.stack=nt.t1.stack,ot.partNum=Ne,re(nt.t1).to(ot),Oe(ot);case 41:case"end":return nt.stop()}},Ze,null,[[0,32],[7,13]])}));return function(Ze,Fe){return et.apply(this,arguments)}}())},We=Array.from(new Array(qe),function($e,Le){return Le+1}),ze=Be.map(function($e){return $e.number}),He=We.filter(function($e){return ze.indexOf($e)<0}),tt=5,Je=we.parallel||tt,je.next=17,this._parallel(He,Je,function($e){return new Promise(function(Le,Ne){Ve(De,$e).then(function(et){et&&Be.push(et),Le()}).catch(function(et){Ne(et)})})});case 17:if(ut=je.sent,Xe=!0,Ye=ut.find(function($e){return $e.name==="abort"}),!Ye){je.next=22;break}throw Ye;case 22:if(!this.isCancel()){je.next=25;break}throw Ve=null,this._makeCancelEvent();case 25:if(!(ut&&ut.length>0)){je.next=28;break}throw ut[0].message="Failed to upload some parts with error: ".concat(ut[0].toString()," part_num: ").concat(ut[0].partNum),ut[0];case 28:return je.next=30,this.completeMultipartUpload(Ge,Ie,Be,we);case 30:return je.abrupt("return",je.sent);case 31:case"end":return je.stop()}},ye,this)}));function Se(ye,Pe){return ge.apply(this,arguments)}return Se}(),te._getFileSize=function(){var ge=(0,ce.default)(ie.default.mark(function ye(Pe){return ie.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:if(!z(Pe)){De.next=4;break}return De.abrupt("return",Pe.length);case 4:if(!(a(Pe)||x(Pe))){De.next=6;break}return De.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return De.stop()}},ye)}));function Se(ye){return ge.apply(this,arguments)}return Se}();var le=E("stream"),fe=le.Readable;function pe(ge,Se){if(!(this instanceof pe))return new pe(ge,Se);fe.call(this,Se),this.file=ge,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}ue.inherits(pe,fe),pe.prototype.readFileAndPush=function(Se){if(this.fileBuffer)for(var ye=!0;ye&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Pe=this.start,we=Pe+Se;we=we>this.fileBuffer.length?this.fileBuffer.length:we,this.start=we,ye=this.push(this.fileBuffer.slice(Pe,we))}},pe.prototype._read=function(Se){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var ye=16*1024;Se=Se||ye;var Pe=this;this.reader.onload=function(De){Pe.fileBuffer=se.from(new Uint8Array(De.target.result)),Pe.file=null,Pe.readFileAndPush(Se)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Se)};function me(ge){return ge.arrayBuffer?ge.arrayBuffer():new Promise(function(Se,ye){var Pe=new FileReader;Pe.onload=function(we){Se(we.target.result)},Pe.onerror=function(we){ye(we)},Pe.readAsArrayBuffer(ge)})}te._createBuffer=function(){var ge=(0,ce.default)(ie.default.mark(function ye(Pe,we,De){var Ee,Ae;return ie.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:if(!(a(Pe)||x(Pe))){Ie.next=8;break}return Ee=Pe.slice(we,De),Ie.next=4,me(Ee);case 4:return Ae=Ie.sent,Ie.abrupt("return",se.from(Ae));case 8:if(!z(Pe)){Ie.next=12;break}return Ie.abrupt("return",Pe.subarray(we,De));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Ie.stop()}},ye)}));function Se(ye,Pe,we){return ge.apply(this,arguments)}return Se}(),te._getPartSize=function(Se,ye){var Pe=1e4,we=1*1024*1024;ye||(ye=we);var De=Math.ceil(Se/Pe);return ye<De&&(ye=De,console.warn("partSize has been set to ".concat(ye,", because the partSize you provided causes partNumber to be greater than 10,000"))),ye},te._divideParts=function(Se,ye){for(var Pe=Math.ceil(Se/ye),we=[],De=0;De<Pe;De++){var Ee=ye*De,Ae=Math.min(Ee+ye,Se);we.push({start:Ee,end:Ae})}return we}}).call(this)}).call(this,E("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.promise.js");var ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("fs"),ue=E("copy-to"),ae=E("path"),oe=E("mime"),re=E("../common/callback"),ee=E("merge-descriptors"),a=E("../common/utils/isBlob"),y=a.isBlob,x=E("../common/utils/isFile"),b=x.isFile,z=E("../common/utils/isBuffer"),te=z.isBuffer,le=E("../common/utils/obj2xml"),fe=le.obj2xml,pe=de;pe.append=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye,Pe,we){var De;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return we=we||{},we.position===void 0&&(we.position="0"),we.subres={append:"",position:we.position},we.method="POST",Ae.next=6,this.put(ye,Pe,we);case 6:return De=Ae.sent,De.nextAppendPosition=De.res.headers["x-oss-next-append-position"],Ae.abrupt("return",De);case 9:case"end":return Ae.stop()}},Se,this)}));function ge(Se,ye,Pe){return me.apply(this,arguments)}return ge}(),pe.put=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye,Pe,we){var De,Ee,Ae,Ce,Ie;return ne.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(we=we||{},we.disabledMD5=we.disabledMD5===void 0?!0:!!we.disabledMD5,we.headers=we.headers||{},ye=this._objectName(ye),!te(Pe)){Ge.next=8;break}De=Pe,Ge.next=19;break;case 8:if(!(y(Pe)||b(Pe))){Ge.next=18;break}return we.mime||(b(Pe)?we.mime=oe.getType(ae.extname(Pe.name)):we.mime=Pe.type),Ge.next=12,this._createBuffer(Pe,0,Pe.size);case 12:return De=Ge.sent,Ge.next=15,this._getFileSize(Pe);case 15:we.contentLength=Ge.sent,Ge.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(we.meta,we.headers),Ee=we.method||"PUT",Ae=this._objectRequestParams(Ee,ye,we),re.encodeCallback(Ae,we),Ae.mime=we.mime,Ae.disabledMD5=we.disabledMD5,Ae.content=De,Ae.successStatuses=[200],Ge.next=29,this.request(Ae);case 29:return Ce=Ge.sent,Ie={name:ye,url:this._objectUrl(ye),res:Ce.res},Ae.headers&&Ae.headers["x-oss-callback"]&&(Ie.data=JSON.parse(Ce.data.toString())),Ge.abrupt("return",Ie);case 33:case"end":return Ge.stop()}},Se,this)}));function ge(Se,ye,Pe){return me.apply(this,arguments)}return ge}(),pe.putStream=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye,Pe,we){var De,Ee,Ae,Ce;return ne.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return we=we||{},we.headers=we.headers||{},ye=this._objectName(ye),we.contentLength?we.headers["Content-Length"]=we.contentLength:we.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(we.meta,we.headers),De=we.method||"PUT",Ee=this._objectRequestParams(De,ye,we),re.encodeCallback(Ee,we),Ee.mime=we.mime,Ee.stream=Pe,Ee.successStatuses=[200],Me.next=13,this.request(Ee);case 13:return Ae=Me.sent,Ce={name:ye,url:this._objectUrl(ye),res:Ae.res},Ee.headers&&Ee.headers["x-oss-callback"]&&(Ce.data=JSON.parse(Ae.data.toString())),Me.abrupt("return",Ce);case 17:case"end":return Me.stop()}},Se,this)}));function ge(Se,ye,Pe){return me.apply(this,arguments)}return ge}(),ee(pe,E("../common/object/copyObject")),ee(pe,E("../common/object/getObjectTagging")),ee(pe,E("../common/object/putObjectTagging")),ee(pe,E("../common/object/deleteObjectTagging")),ee(pe,E("../common/image")),ee(pe,E("../common/object/getBucketVersions")),ee(pe,E("../common/object/getACL")),ee(pe,E("../common/object/putACL")),ee(pe,E("../common/object/head")),ee(pe,E("../common/object/delete")),ee(pe,E("../common/object/get")),ee(pe,E("../common/object/putSymlink")),ee(pe,E("../common/object/getSymlink")),ee(pe,E("../common/object/deleteMulti")),ee(pe,E("../common/object/getObjectMeta")),ee(pe,E("../common/object/getObjectUrl")),ee(pe,E("../common/object/generateObjectUrl")),ee(pe,E("../common/object/signatureUrl")),ee(pe,E("../common/object/asyncSignatureUrl")),pe.putMeta=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye,Pe,we){var De;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,this.copy(ye,ye,{meta:Pe||{},timeout:we&&we.timeout,ctx:we&&we.ctx});case 2:return De=Ae.sent,Ae.abrupt("return",De);case 4:case"end":return Ae.stop()}},Se,this)}));function ge(Se,ye,Pe){return me.apply(this,arguments)}return ge}(),pe.list=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye,Pe){var we,De,Ee,Ae,Ce;return ne.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return we=this._objectRequestParams("GET","",Pe),we.query=ye,we.xmlResponse=!0,we.successStatuses=[200],Me.next=6,this.request(we);case 6:return De=Me.sent,Ee=De.data.Contents||[],Ae=this,Ee&&(Array.isArray(Ee)||(Ee=[Ee]),Ee=Ee.map(function(Ge){return{name:Ge.Key,url:Ae._objectUrl(Ge.Key),lastModified:Ge.LastModified,etag:Ge.ETag,type:Ge.Type,size:Number(Ge.Size),storageClass:Ge.StorageClass,owner:{id:Ge.Owner.ID,displayName:Ge.Owner.DisplayName}}})),Ce=De.data.CommonPrefixes||null,Ce&&(Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(Ge){return Ge.Prefix})),Me.abrupt("return",{res:De.res,objects:Ee,prefixes:Ce,nextMarker:De.data.NextMarker||null,isTruncated:De.data.IsTruncated==="true"});case 13:case"end":return Me.stop()}},Se,this)}));function ge(Se,ye){return me.apply(this,arguments)}return ge}(),pe.listV2=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye){var Pe,we,De,Ee,Ae,Ce,Ie,Me=arguments;return ne.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return Pe=Me.length>1&&Me[1]!==void 0?Me[1]:{},we=ye["continuation-token"]||ye.continuationToken,we&&(Pe.subres=Object.assign({"continuation-token":we},Pe.subres)),De=this._objectRequestParams("GET","",Pe),De.query=Object.assign({"list-type":2},ye),delete De.query["continuation-token"],delete De.query.continuationToken,De.xmlResponse=!0,De.successStatuses=[200],Be.next=11,this.request(De);case 11:return Ee=Be.sent,Ae=Ee.data.Contents||[],Ce=this,Ae&&(Array.isArray(Ae)||(Ae=[Ae]),Ae=Ae.map(function(Qe){var qe=null;return Qe.Owner&&(qe={id:Qe.Owner.ID,displayName:Qe.Owner.DisplayName}),{name:Qe.Key,url:Ce._objectUrl(Qe.Key),lastModified:Qe.LastModified,etag:Qe.ETag,type:Qe.Type,size:Number(Qe.Size),storageClass:Qe.StorageClass,owner:qe}})),Ie=Ee.data.CommonPrefixes||null,Ie&&(Array.isArray(Ie)||(Ie=[Ie]),Ie=Ie.map(function(Qe){return Qe.Prefix})),Be.abrupt("return",{res:Ee.res,objects:Ae,prefixes:Ie,isTruncated:Ee.data.IsTruncated==="true",keyCount:+Ee.data.KeyCount,continuationToken:Ee.data.ContinuationToken||null,nextContinuationToken:Ee.data.NextContinuationToken||null});case 18:case"end":return Be.stop()}},Se,this)}));function ge(Se){return me.apply(this,arguments)}return ge}(),pe.restore=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye){var Pe,we,De,Ee,Ae=arguments;return ne.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Pe=Ae.length>1&&Ae[1]!==void 0?Ae[1]:{type:"Archive"},Pe=Pe||{},Pe.subres=Object.assign({restore:""},Pe.subres),Pe.versionId&&(Pe.subres.versionId=Pe.versionId),we=this._objectRequestParams("POST",ye,Pe),Pe.type==="ColdArchive"&&(De={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},we.content=fe(De,{headers:!0}),we.mime="xml"),we.successStatuses=[202],Ie.next=9,this.request(we);case 9:return Ee=Ie.sent,Ie.abrupt("return",{res:Ee.res});case 11:case"end":return Ie.stop()}},Se,this)}));function ge(Se){return me.apply(this,arguments)}return ge}(),pe._objectUrl=function(ge){return this._getReqUrl({bucket:this.options.bucket,object:ge})},pe._objectRequestParams=function(ge,Se,ye){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");ye=ye||{},Se=this._objectName(Se);var Pe={object:Se,bucket:this.options.bucket,method:ge,subres:ye&&ye.subres,timeout:ye&&ye.timeout,ctx:ye&&ye.ctx};return ye.headers&&(Pe.headers={},ue(ye.headers).to(Pe.headers)),Pe},pe._objectName=function(ge){return ge.replace(/^\/+/,"")},pe._convertMetaToHeaders=function(ge,Se){ge&&Object.keys(ge).forEach(function(ye){Se["x-oss-meta-".concat(ye)]=ge[ye]})},pe._deleteFileSafe=function(ge){var Se=this;return new Promise(function(ye){ce.exists(ge,function(Pe){Pe?ce.unlink(ge,function(we){we&&Se.debug("unlink %j error: %s",ge,we,"error"),ye()}):ye()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(E,he,de){"use strict";de.version="6.18.1"},{}],7:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.abortBucketWorm=void 0;var ce=E("../utils/checkBucketName");function ue(oe,re){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(ne.default.mark(function oe(re,ee){var a,y;return ne.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ce.checkBucketName(re),a=this._bucketRequestParams("DELETE",re,"worm",ee),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},oe,this)})),ae.apply(this,arguments)}de.abortBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.completeBucketWorm=void 0;var ce=E("../utils/checkBucketName");function ue(oe,re,ee){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(ne.default.mark(function oe(re,ee,a){var y,x;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ce.checkBucketName(re),y=this._bucketRequestParams("POST",re,{wormId:ee},a),z.next=4,this.request(y);case 4:return x=z.sent,z.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return z.stop()}},oe,this)})),ae.apply(this,arguments)}de.completeBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.deleteBucketInventory=void 0;var ce=E("../utils/checkBucketName");function ue(oe,re){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(ne.default.mark(function oe(re,ee){var a,y,x,b,z=arguments;return ne.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return a=z.length>2&&z[2]!==void 0?z[2]:{},y=Object.assign({inventory:"",inventoryId:ee},a.subres),ce.checkBucketName(re),x=this._bucketRequestParams("DELETE",re,y,a),x.successStatuses=[204],le.next=7,this.request(x);case 7:return b=le.sent,le.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return le.stop()}},oe,this)})),ae.apply(this,arguments)}de.deleteBucketInventory=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=de;ae.deleteBucketLifecycle=function(){var oe=(0,ie.default)(ne.default.mark(function ee(a,y){var x,b;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ue(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},ee,this)}));function re(ee,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=de;ae.deleteBucketWebsite=function(){var oe=(0,ie.default)(ne.default.mark(function ee(a,y){var x,b;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ue(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},ee,this)}));function re(ee,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.extendBucketWorm=void 0;var ce=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ae(re,ee,a,y){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(ee,a,y,x){var b,z,te;return ne.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ce.checkBucketName(ee),b=this._bucketRequestParams("POST",ee,{wormExtend:"",wormId:a},x),z={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=ue.obj2xml(z,{headers:!0}),b.successStatuses=[200],fe.next=8,this.request(b);case 8:return te=fe.sent,fe.abrupt("return",{res:te.res,status:te.status});case 10:case"end":return fe.stop()}},re,this)})),oe.apply(this,arguments)}de.extendBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.getBucketInventory=void 0;var ce=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ae(re,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(ee,a){var y,x,b,z,te=arguments;return ne.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return y=te.length>2&&te[2]!==void 0?te[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),ce.checkBucketName(ee),b=this._bucketRequestParams("GET",ee,x,y),b.successStatuses=[200],b.xmlResponse=!0,fe.next=8,this.request(b);case 8:return z=fe.sent,fe.abrupt("return",{status:z.status,res:z.res,inventory:ue.formatInventoryConfig(z.data)});case 10:case"end":return fe.stop()}},re,this)})),oe.apply(this,arguments)}de.getBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,re=E("../utils/formatObjKey"),ee=re.formatObjKey,a=de;a.getBucketLifecycle=function(){var y=(0,ie.default)(ne.default.mark(function b(z,te){var le,fe,pe;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ue(z),le=this._bucketRequestParams("GET",z,"lifecycle",te),le.successStatuses=[200],le.xmlResponse=!0,ge.next=6,this.request(le);case 6:return fe=ge.sent,pe=fe.data.Rule||null,pe&&(oe(pe)||(pe=[pe]),pe=pe.map(function(Se){return Se.ID&&(Se.id=Se.ID,delete Se.ID),Se.Tag&&!oe(Se.Tag)&&(Se.Tag=[Se.Tag]),ee(Se,"firstLowerCase")})),ge.abrupt("return",{rules:pe,res:fe.res});case 10:case"end":return ge.stop()}},b,this)}));function x(b,z){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=de;ae.getBucketVersioning=function(){var oe=(0,ie.default)(ne.default.mark(function ee(a,y){var x,b,z;return ne.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return ue(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],le.next=6,this.request(x);case 6:return b=le.sent,z=b.data.Status,le.abrupt("return",{status:b.status,versionStatus:z,res:b.res});case 9:case"end":return le.stop()}},ee,this)}));function re(ee,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("../utils/isObject"),oe=ae.isObject,re=de;re.getBucketWebsite=function(){var ee=(0,ie.default)(ne.default.mark(function y(x,b){var z,te,le;return ne.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ue(x),z=this._bucketRequestParams("GET",x,"website",b),z.successStatuses=[200],z.xmlResponse=!0,pe.next=6,this.request(z);case 6:return te=pe.sent,le=[],te.data.RoutingRules&&te.data.RoutingRules.RoutingRule&&(oe(te.data.RoutingRules.RoutingRule)?le=[te.data.RoutingRules.RoutingRule]:le=te.data.RoutingRules.RoutingRule),pe.abrupt("return",{index:te.data.IndexDocument&&te.data.IndexDocument.Suffix||"",supportSubDir:te.data.IndexDocument&&te.data.IndexDocument.SupportSubDir||"false",type:te.data.IndexDocument&&te.data.IndexDocument.Type,routingRules:le,error:te.data.ErrorDocument&&te.data.ErrorDocument.Key||null,res:te.res});case 10:case"end":return pe.stop()}},y,this)}));function a(y,x){return ee.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.getBucketWorm=void 0;var ce=E("../utils/checkBucketName"),ue=E("../utils/dataFix");function ae(re,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(ee,a){var y,x;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ce.checkBucketName(ee),y=this._bucketRequestParams("GET",ee,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,z.next=6,this.request(y);case 6:return x=z.sent,ue.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),z.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return z.stop()}},re,this)})),oe.apply(this,arguments)}de.getBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.initiateBucketWorm=void 0;var ce=E("../utils/obj2xml"),ue=E("../utils/checkBucketName");function ae(re,ee,a){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(ee,a,y){var x,b,z;return ne.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return ue.checkBucketName(ee),x=this._bucketRequestParams("POST",ee,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=ce.obj2xml(b,{headers:!0}),x.successStatuses=[200],le.next=8,this.request(x);case 8:return z=le.sent,le.abrupt("return",{res:z.res,wormId:z.res.headers["x-oss-worm-id"],status:z.status});case 10:case"end":return le.stop()}},re,this)})),oe.apply(this,arguments)}de.initiateBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.listBucketInventory=void 0;var ce=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ae(re){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(ee){var a,y,x,b,z,te,le,fe,pe=arguments;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return a=pe.length>1&&pe[1]!==void 0?pe[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),ce.checkBucketName(ee),b=this._bucketRequestParams("GET",ee,x,a),b.successStatuses=[200],b.xmlResponse=!0,ge.next=9,this.request(b);case 9:return z=ge.sent,te=z.data,le=z.res,fe=z.status,ge.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:ue.formatInventoryConfig(te.InventoryConfiguration,!0),status:fe,res:le});case 12:case"end":return ge.stop()}},re,this)})),oe.apply(this,arguments)}de.listBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.putBucketInventory=void 0;var ce=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ae(re,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(ee,a){var y,x,b,z,te,le,fe,pe,me,ge,Se,ye=arguments;return ne.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return y=ye.length>2&&ye[2]!==void 0?ye[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),ce.checkBucketName(ee),b=a.OSSBucketDestination,z=a.optionalFields,te=a.includedObjectVersions,le="acs:oss:::",fe="acs:ram::".concat(b.accountId,":role/"),pe={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(fe).concat(b.rolename),Bucket:"".concat(le).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:te,OptionalFields:{Field:(z==null?void 0:z.field)||[]}}},me=ue.obj2xml(pe,{headers:!0,firstUpperCase:!0}),ge=this._bucketRequestParams("PUT",ee,x,y),ge.successStatuses=[200],ge.mime="xml",ge.content=me,we.next=14,this.request(ge);case 14:return Se=we.sent,we.abrupt("return",{status:Se.status,res:Se.res});case 16:case"end":return we.stop()}},re,this)})),oe.apply(this,arguments)}de.putBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,re=E("../utils/deepCopy"),ee=re.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,z=E("../utils/checkObjectTag"),te=z.checkObjectTag,le=E("../utils/getStrBytesCount"),fe=le.getStrBytesCount,pe=de;pe.putBucketLifecycle=function(){var Pe=(0,ie.default)(ne.default.mark(function De(Ee,Ae,Ce){var Ie,Me,Ge,Be,Qe;return ne.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(ue(Ee),oe(Ae)){Xe.next=3;break}throw new Error("rules must be Array");case 3:return Ie=this._bucketRequestParams("PUT",Ee,"lifecycle",Ce),Me=[],Ge={LifecycleConfiguration:{Rule:Me}},Ae.forEach(function(Ve){me(Ve),ye(Ve),Ve.id&&(Ve.ID=Ve.id,delete Ve.id),Me.push(Ve)}),Be=b(Ge,{headers:!0,firstUpperCase:!0}),Ie.content=Be,Ie.mime="xml",Ie.successStatuses=[200],Xe.next=13,this.request(Ie);case 13:return Qe=Xe.sent,Xe.abrupt("return",{res:Qe.res});case 15:case"end":return Xe.stop()}},De,this)}));function we(De,Ee,Ae){return Pe.apply(this,arguments)}return we}();function me(Pe){Pe.days&&(Pe.expiration={days:Pe.days}),Pe.date&&(Pe.expiration={createdBeforeDate:Pe.date})}function ge(Pe,we){var De=Pe.days,Ee=Pe.createdBeforeDate;if(!De&&!Ee)throw new Error("".concat(we," must includes days or createdBeforeDate"));if(De&&!/^[1-9][0-9]*$/.test(De))throw new Error("days must be a positive integer");if(Ee&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ee))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Se(Pe){if(!oe(Pe)&&!y(Pe))throw new Error("tag must be Object or Array");Pe=y(Pe)?[Pe]:Pe;var we={},De=ee(Pe);De.forEach(function(Ee){we[Ee.key]=Ee.value}),te(we)}function ye(Pe){if(Pe.id&&fe(Pe.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Pe.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Pe.status))throw new Error("Status must be Enabled or Disabled");if(Pe.transition){if(!["IA","Archive"].includes(Pe.transition.storageClass))throw new Error("StorageClass must be IA or Archive");ge(Pe.transition,"Transition")}if(Pe.expiration){if(!Pe.expiration.expiredObjectDeleteMarker)ge(Pe.expiration,"Expiration");else if(Pe.expiration.days||Pe.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Pe.abortMultipartUpload&&ge(Pe.abortMultipartUpload,"AbortMultipartUpload"),!Pe.expiration&&!Pe.abortMultipartUpload&&!Pe.transition&&!Pe.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Pe.tag){if(Pe.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");Se(Pe.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,re=de;re.putBucketVersioning=function(){var ee=(0,ie.default)(ne.default.mark(function y(x,b){var z,te,le,fe,pe=arguments;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:if(z=pe.length>2&&pe[2]!==void 0?pe[2]:{},ue(x),["Enabled","Suspended"].includes(b)){ge.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return te=this._bucketRequestParams("PUT",x,"versioning",z),le={VersioningConfiguration:{Status:b}},te.mime="xml",te.content=oe(le,{headers:!0}),ge.next=10,this.request(te);case 10:return fe=ge.sent,ge.abrupt("return",{res:fe.res,status:fe.status});case 12:case"end":return ge.stop()}},y,this)}));function a(y,x){return ee.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,re=E("../utils/isArray"),ee=re.isArray,a=de;a.putBucketWebsite=function(){var y=(0,ie.default)(ne.default.mark(function b(z){var te,le,fe,pe,me,ge,Se,ye=arguments;return ne.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(te=ye.length>1&&ye[1]!==void 0?ye[1]:{},le=ye.length>2?ye[2]:void 0,ue(z),fe=this._bucketRequestParams("PUT",z,"website",le),pe={Suffix:te.index||"index.html"},me={IndexDocument:pe},ge={WebsiteConfiguration:me},te.supportSubDir&&(pe.SupportSubDir=te.supportSubDir),te.type&&(pe.Type=te.type),te.error&&(me.ErrorDocument={Key:te.error}),te.routingRules===void 0){we.next=14;break}if(ee(te.routingRules)){we.next=13;break}throw new Error("RoutingRules must be Array");case 13:me.RoutingRules={RoutingRule:te.routingRules};case 14:return ge=oe(ge),fe.content=ge,fe.mime="xml",fe.successStatuses=[200],we.next=20,this.request(fe);case 20:return Se=we.sent,we.abrupt("return",{res:Se.res});case 22:case"end":return we.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,he,de){(function(se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),de.encodeCallback=function(ie,ce){if(ie.headers=ie.headers||{},!Object.prototype.hasOwnProperty.call(ie.headers,"x-oss-callback")&&ce.callback){var ue={callbackUrl:encodeURI(ce.callback.url),callbackBody:ce.callback.body};ce.callback.host&&(ue.callbackHost=ce.callback.host),ce.callback.contentType&&(ue.callbackBodyType=ce.callback.contentType);var ae=se.from(JSON.stringify(ue)).toString("base64");if(ie.headers["x-oss-callback"]=ae,ce.callback.customValue){var oe={};Object.keys(ce.callback.customValue).forEach(function(re){oe["x:".concat(re)]=ce.callback.customValue[re].toString()}),ie.headers["x-oss-callback-var"]=se.from(JSON.stringify(oe)).toString("base64")}}}}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(E,he,de){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var se=function(ee){return ee&&ee.__esModule?ee:{default:ee}};Object.defineProperty(de,"__esModule",{value:!0}),de.getReqUrl=void 0;var ne=se(E("copy-to")),ie=se(E("url")),ce=se(E("merge-descriptors")),ue=se(E("is-type-of")),ae=E("../utils/isIP"),oe=E("../utils/checkConfigValid");function re(ee){var a={},y=this.options.cname;oe.checkConfigValid(this.options.endpoint,"endpoint"),ne.default(this.options.endpoint,!1).to(a),ee.bucket&&!y&&!ae.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(ee.bucket,".").concat(a.host));var x="/";ee.bucket&&this.options.sldEnable&&(x+="".concat(ee.bucket,"/")),ee.object&&(x+=this._escape(ee.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(ee.query&&ce.default(b,ee.query),ee.subres){var z={};ue.default.string(ee.subres)?z[ee.subres]="":ue.default.array(ee.subres)?ee.subres.forEach(function(te){z[te]=""}):z=ee.subres,ce.default(b,z)}return a.query=b,ie.default.format(a)}de.getReqUrl=re},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,he,de){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var se=E("humanize-ms"),ne=E("url"),ie=E("../utils/checkBucketName"),ce=ie.checkBucketName,ue=E("../utils/setRegion"),ae=ue.setRegion,oe=E("../utils/checkConfigValid"),re=oe.checkConfigValid;function ee(a,y){re(a,"endpoint");var x=ne.parse(a);if(x.protocol||(x=ne.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}he.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&ce(a.bucket);var y=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=se(y.timeout)),y.endpoint)y.endpoint=ee(y.endpoint,y.secure);else if(y.region)y.endpoint=ae(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(E,he,de){"use strict";var se=E("merge-descriptors"),ne=de;se(ne,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("querystring"),oe=E("js-base64"),re=oe.Base64.encode,ee=de;ee.processObjectSave=function(){var y=(0,ie.default)(ne.default.mark(function b(z,te,le,fe){var pe,me,ge,Se;return ne.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return a(z,"sourceObject"),a(te,"targetObject"),a(le,"process"),te=this._objectName(te),fe&&ue(fe),pe=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),me=fe?",b_".concat(re(fe)):"",te=re(te),ge={"x-oss-process":"".concat(le,"|sys/saveas,o_").concat(te).concat(me)},pe.content=ae.stringify(ge),Pe.next=12,this.request(pe);case 12:return Se=Pe.sent,Pe.abrupt("return",{res:Se.res,status:Se.res.status});case 14:case"end":return Pe.stop()}},b,this)}));function x(b,z,te,le){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("debug")("ali-oss:multipart-copy"),ue=E("copy-to"),ae=de;ae.uploadPartCopy=function(){var oe=(0,ie.default)(ne.default.mark(function ee(a,y,x,b,z){var te,le,fe,pe,me,ge=arguments;return ne.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return te=ge.length>5&&ge[5]!==void 0?ge[5]:{},te.headers=te.headers||{},le=te.versionId||te.subres&&te.subres.versionId||null,le?fe="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey),"?versionId=").concat(le):fe="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey)),te.headers["x-oss-copy-source"]=fe,b&&(te.headers["x-oss-copy-source-range"]="bytes=".concat(b)),te.subres={partNumber:x,uploadId:y},pe=this._objectRequestParams("PUT",a,te),pe.mime=te.mime,pe.successStatuses=[200],ye.next=12,this.request(pe);case 12:return me=ye.sent,ye.abrupt("return",{name:a,etag:me.res.headers.etag,res:me.res});case 14:case"end":return ye.stop()}},ee,this)}));function re(ee,a,y,x,b){return oe.apply(this,arguments)}return re}(),ae.multipartUploadCopy=function(){var oe=(0,ie.default)(ne.default.mark(function ee(a,y){var x,b,z,te,le,fe,pe,me,ge,Se,ye,Pe,we=arguments;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return x=we.length>2&&we[2]!==void 0?we[2]:{},this.resetCancelFlag(),b=x.versionId,z=b===void 0?null:b,te={versionId:z},Ee.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,te);case 6:if(le=Ee.sent,fe=le.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||fe,!(x.checkpoint&&x.checkpoint.uploadId)){Ee.next=14;break}return Ee.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return Ee.abrupt("return",Ee.sent);case 14:if(pe=102400,me=y.endOffset-y.startOffset,!(me<pe)){Ee.next=18;break}throw new Error("copySize must not be smaller than ".concat(pe));case 18:if(!(x.partSize&&x.partSize<pe)){Ee.next=20;break}throw new Error("partSize must not be smaller than ".concat(pe));case 20:return Ee.next=22,this.initMultipartUpload(a,x);case 22:if(ge=Ee.sent,Se=ge.uploadId,ye=this._getPartSize(me,x.partSize),Pe={name:a,copySize:me,partSize:ye,uploadId:Se,doneParts:[]},!(x&&x.progress)){Ee.next=29;break}return Ee.next=29,x.progress(0,Pe,ge.res);case 29:return Ee.next=31,this._resumeMultipartCopy(Pe,y,x);case 31:return Ee.abrupt("return",Ee.sent);case 32:case"end":return Ee.stop()}},ee,this)}));function re(ee,a){return oe.apply(this,arguments)}return re}(),ae._resumeMultipartCopy=function(){var oe=(0,ie.default)(ne.default.mark(function ee(a,y,x){var b,z,te,le,fe,pe,me,ge,Se,ye,Pe,we,De,Ee,Ae,Ce,Ie,Me,Ge,Be,Qe;return ne.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(!this.isCancel()){Xe.next=2;break}throw this._makeCancelEvent();case 2:if(b=x.versionId,z=b===void 0?null:b,te={versionId:z},le=a.copySize,fe=a.partSize,pe=a.uploadId,me=a.doneParts,ge=a.name,Se=this._divideMultipartCopyParts(le,fe,y.startOffset),ye=Se.length,Pe={headers:{}},x.copyheaders&&ue(x.copyheaders).to(Pe.headers),z&&ue(te).to(Pe),we=function(We,ze,He){return new Promise(function(){var tt=(0,ie.default)(ne.default.mark(function Je(ut,Ye){var Ue,je,$e;return ne.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:if(Ne.prev=0,We.isCancel()){Ne.next=22;break}return Ue=Se[ze-1],je="".concat(Ue.start,"-").concat(Ue.end-1),Ne.prev=4,Ne.next=7,We.uploadPartCopy(ge,pe,ze,je,He,Pe);case 7:$e=Ne.sent,Ne.next=15;break;case 10:if(Ne.prev=10,Ne.t0=Ne.catch(4),Ne.t0.status!==404){Ne.next=14;break}throw We._makeAbortEvent();case 14:throw Ne.t0;case 15:if(We.isCancel()){Ne.next=22;break}if(ce("content-range ".concat($e.res.headers["content-range"])),me.push({number:ze,etag:$e.res.headers.etag}),a.doneParts=me,!(x&&x.progress)){Ne.next=22;break}return Ne.next=22,x.progress(me.length/ye,a,$e.res);case 22:ut(),Ne.next=29;break;case 25:Ne.prev=25,Ne.t1=Ne.catch(0),Ne.t1.partNum=ze,Ye(Ne.t1);case 29:case"end":return Ne.stop()}},Je,null,[[0,25],[4,10]])}));return function(Je,ut){return tt.apply(this,arguments)}}())},De=Array.from(new Array(ye),function(Ve,We){return We+1}),Ee=me.map(function(Ve){return Ve.number}),Ae=De.filter(function(Ve){return Ee.indexOf(Ve)<0}),Ce=5,Ie=x.parallel||Ce,!(this.checkBrowserAndVersion("Internet Explorer","10")||Ie===1)){Xe.next=28;break}Me=0;case 18:if(!(Me<Ae.length)){Xe.next=26;break}if(!this.isCancel()){Xe.next=21;break}throw this._makeCancelEvent();case 21:return Xe.next=23,we(this,Ae[Me],y);case 23:Me++,Xe.next=18;break;case 26:Xe.next=40;break;case 28:return Xe.next=30,this._parallelNode(Ae,Ie,we,y);case 30:if(Ge=Xe.sent,Be=Ge.find(function(Ve){return Ve.name==="abort"}),!Be){Xe.next=34;break}throw Be;case 34:if(!this.isCancel()){Xe.next=36;break}throw this._makeCancelEvent();case 36:if(!(Ge&&Ge.length>0)){Xe.next=40;break}throw Qe=Ge[0],Qe.message="Failed to copy some parts with error: ".concat(Qe.toString()," part_num: ").concat(Qe.partNum),Qe;case 40:return Xe.next=42,this.completeMultipartUpload(ge,pe,me,x);case 42:return Xe.abrupt("return",Xe.sent);case 43:case"end":return Xe.stop()}},ee,this)}));function re(ee,a,y){return oe.apply(this,arguments)}return re}(),ae._divideMultipartCopyParts=function(re,ee,a){for(var y=Math.ceil(re/ee),x=[],b=0;b<y;b++){var z=ee*b+a,te=Math.min(z+ee,re+a);x.push({start:z,end:te})}return x},ae._getObjectMeta=function(){var oe=(0,ie.default)(ne.default.mark(function ee(a,y,x){var b,z;return ne.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return b=this.getBucket(),this.setBucket(a),le.next=4,this.head(y,x);case 4:return z=le.sent,this.setBucket(b),le.abrupt("return",z);case 7:case"end":return le.stop()}},ee,this)}));function re(ee,a,y){return oe.apply(this,arguments)}return re}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,debug:465}],30:[function(E,he,de){(function(se){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ie=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var ce=ne(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("copy-to"),ae=E("./callback"),oe=E("./utils/deepCopy"),re=oe.deepCopyWith,ee=E("./utils/isBuffer"),a=ee.isBuffer,y=E("./utils/omit"),x=y.omit,b=de;b.listUploads=function(){var z=(0,ce.default)(ie.default.mark(function le(fe,pe){var me,ge,Se,ye;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return pe=pe||{},me={},ue(pe).to(me),me.subres="uploads",ge=this._objectRequestParams("GET","",me),ge.query=fe,ge.xmlResponse=!0,ge.successStatuses=[200],we.next=10,this.request(ge);case 10:return Se=we.sent,ye=Se.data.Upload||[],Array.isArray(ye)||(ye=[ye]),ye=ye.map(function(De){return{name:De.Key,uploadId:De.UploadId,initiated:De.Initiated}}),we.abrupt("return",{res:Se.res,uploads:ye,bucket:Se.data.Bucket,nextKeyMarker:Se.data.NextKeyMarker,nextUploadIdMarker:Se.data.NextUploadIdMarker,isTruncated:Se.data.IsTruncated==="true"});case 15:case"end":return we.stop()}},le,this)}));function te(le,fe){return z.apply(this,arguments)}return te}(),b.listParts=function(){var z=(0,ce.default)(ie.default.mark(function le(fe,pe,me,ge){var Se,ye,Pe;return ie.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return ge=ge||{},Se={},ue(ge).to(Se),Se.subres={uploadId:pe},ye=this._objectRequestParams("GET",fe,Se),ye.query=me,ye.xmlResponse=!0,ye.successStatuses=[200],De.next=10,this.request(ye);case 10:return Pe=De.sent,De.abrupt("return",{res:Pe.res,uploadId:Pe.data.UploadId,bucket:Pe.data.Bucket,name:Pe.data.Key,partNumberMarker:Pe.data.PartNumberMarker,nextPartNumberMarker:Pe.data.NextPartNumberMarker,maxParts:Pe.data.MaxParts,isTruncated:Pe.data.IsTruncated,parts:Pe.data.Part||[]});case 12:case"end":return De.stop()}},le,this)}));function te(le,fe,pe,me){return z.apply(this,arguments)}return te}(),b.abortMultipartUpload=function(){var z=(0,ce.default)(ie.default.mark(function le(fe,pe,me){var ge,Se,ye;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return this._stop(),me=me||{},ge={},ue(me).to(ge),ge.subres={uploadId:pe},Se=this._objectRequestParams("DELETE",fe,ge),Se.successStatuses=[204],we.next=9,this.request(Se);case 9:return ye=we.sent,we.abrupt("return",{res:ye.res});case 11:case"end":return we.stop()}},le,this)}));function te(le,fe,pe){return z.apply(this,arguments)}return te}(),b.initMultipartUpload=function(){var z=(0,ce.default)(ie.default.mark(function le(fe,pe){var me,ge,Se;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return pe=pe||{},me={},ue(pe).to(me),me.headers=me.headers||{},this._convertMetaToHeaders(pe.meta,me.headers),me.subres="uploads",ge=this._objectRequestParams("POST",fe,me),ge.mime=pe.mime,ge.xmlResponse=!0,ge.successStatuses=[200],Pe.next=12,this.request(ge);case 12:return Se=Pe.sent,Pe.abrupt("return",{res:Se.res,bucket:Se.data.Bucket,name:Se.data.Key,uploadId:Se.data.UploadId});case 14:case"end":return Pe.stop()}},le,this)}));function te(le,fe){return z.apply(this,arguments)}return te}(),b.uploadPart=function(){var z=(0,ce.default)(ie.default.mark(function le(fe,pe,me,ge,Se,ye,Pe){var we,De;return ie.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(we={size:ye-Se},De=se&&se.browser,!De){Ae.next=8;break}return Ae.next=5,this._createBuffer(ge,Se,ye);case 5:we.content=Ae.sent,Ae.next=11;break;case 8:return Ae.next=10,this._createStream(ge,Se,ye);case 10:we.stream=Ae.sent;case 11:return Ae.next=13,this._uploadPart(fe,pe,me,we,Pe);case 13:return Ae.abrupt("return",Ae.sent);case 14:case"end":return Ae.stop()}},le,this)}));function te(le,fe,pe,me,ge,Se,ye){return z.apply(this,arguments)}return te}(),b.completeMultipartUpload=function(){var z=(0,ce.default)(ie.default.mark(function le(fe,pe,me,ge){var Se,ye,Pe,we,De,Ee,Ae,Ce;return ie.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:for(Se=me.concat().sort(function(Ge,Be){return Ge.number-Be.number}).filter(function(Ge,Be,Qe){return!Be||Ge.number!==Qe[Be-1].number}),ye=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,Pe=0;Pe<Se.length;Pe++)we=Se[Pe],ye+=`<Part>
|
|
|
`,ye+="<PartNumber>".concat(we.number,`</PartNumber>
|
|
|
`),ye+="<ETag>".concat(we.etag,`</ETag>
|
|
|
`),ye+=`</Part>
|
|
|
`;return ye+="</CompleteMultipartUpload>",ge=ge||{},De={},De=re(ge,function(Ge){if(a(Ge))return null}),De.subres={uploadId:pe},De.headers=x(De.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ee=this._objectRequestParams("POST",fe,De),ae.encodeCallback(Ee,De),Ee.mime="xml",Ee.content=ye,Ee.headers&&Ee.headers["x-oss-callback"]||(Ee.xmlResponse=!0),Ee.successStatuses=[200],Me.next=17,this.request(Ee);case 17:if(Ae=Me.sent,!ge.progress){Me.next=21;break}return Me.next=21,ge.progress(1,null,Ae.res);case 21:return Ce={res:Ae.res,bucket:Ee.bucket,name:fe,etag:Ae.res.headers.etag},Ee.headers&&Ee.headers["x-oss-callback"]&&(Ce.data=JSON.parse(Ae.data.toString())),Me.abrupt("return",Ce);case 24:case"end":return Me.stop()}},le,this)}));function te(le,fe,pe,me){return z.apply(this,arguments)}return te}(),b._uploadPart=function(){var z=(0,ce.default)(ie.default.mark(function le(fe,pe,me,ge,Se){var ye,Pe,we,De;return ie.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Se=Se||{},ye={},ue(Se).to(ye),ye.headers=ye.headers||{},ye.headers["Content-Length"]=ge.size,ye.headers=x(ye.headers,["x-oss-server-side-encryption"]),ye.subres={partNumber:me,uploadId:pe},Pe=this._objectRequestParams("PUT",fe,ye),Pe.mime=ye.mime,we=se&&se.browser,we?Pe.content=ge.content:Pe.stream=ge.stream,Pe.successStatuses=[200],Pe.disabledMD5=Se.disabledMD5,Ae.next=15,this.request(Pe);case 15:if(De=Ae.sent,De.res.headers.etag){Ae.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS
|
|
|
https://help.aliyun.com/document_detail/32069.html`);case 18:return ge.stream&&(ge.stream=null,Pe.stream=null),Ae.abrupt("return",{name:fe,etag:De.res.headers.etag,res:De.res});case 20:case"end":return Ae.stop()}},le,this)}));function te(le,fe,pe,me,ge){return z.apply(this,arguments)}return te}()}).call(this)}).call(this,E("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("url"),ue=E("utility"),ae=E("copy-to"),oe=E("../../common/signUtils"),re=E("../utils/isIP"),ee=re.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,z=de;z.asyncSignatureUrl=function(){var te=(0,ie.default)(ne.default.mark(function fe(pe,me){var ge,Se,ye,Pe,we;return ne.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(!ee(this.options.endpoint.hostname)){Ee.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(me=me||{},pe=this._objectName(pe),me.method=me.method||"GET",ge=ue.timestamp()+(me.expires||1800),Se={bucket:this.options.bucket,object:pe},ye=this._getResource(Se),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Ee.next=11;break}return Ee.next=11,y.call(this);case 11:return this.options.stsToken&&(me["security-token"]=this.options.stsToken),Pe=oe._signatureForURL(this.options.accessKeySecret,me,ye,ge),we=ce.parse(this._getReqUrl(Se)),we.query={OSSAccessKeyId:this.options.accessKeyId,Expires:ge,Signature:Pe.Signature},ae(Pe.subResource).to(we.query),Ee.abrupt("return",we.format());case 17:case"end":return Ee.stop()}},fe,this)}));function le(fe,pe){return te.apply(this,arguments)}return le}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ie=se(E("@babel/runtime/helpers/typeof")),ce=se(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("../utils/checkBucketName"),ae=ue.checkBucketName,oe=de,re=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];oe.copy=function(){var ee=(0,ce.default)(ne.default.mark(function y(x,b,z,te){var le,fe,pe;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return(0,ie.default)(z)==="object"&&(te=z),te=te||{},te.headers=te.headers||{},Object.keys(te.headers).forEach(function(Se){te.headers["x-oss-copy-source-".concat(Se.toLowerCase())]=te.headers[Se]}),(te.meta||Object.keys(te.headers).find(function(Se){return re.includes(Se.toLowerCase())}))&&(te.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(te.meta,te.headers),b=this._getSourceName(b,z),te.versionId&&(b="".concat(b,"?versionId=").concat(te.versionId)),te.headers["x-oss-copy-source"]=b,le=this._objectRequestParams("PUT",x,te),le.xmlResponse=!0,le.successStatuses=[200,304],ge.next=14,this.request(le);case 14:return fe=ge.sent,pe=fe.data,pe&&(pe={etag:pe.ETag,lastModified:pe.LastModified}),ge.abrupt("return",{data:pe,res:fe.res});case 18:case"end":return ge.stop()}},y,this)}));function a(y,x,b,z){return ee.apply(this,arguments)}return a}(),oe._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),ae(y),a=encodeURIComponent(a),a="/".concat(y,"/").concat(a),a}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.delete=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re){var ee,a,y,x=arguments;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ee=x.length>1&&x[1]!==void 0?x[1]:{},ee.subres=Object.assign({},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),a=this._objectRequestParams("DELETE",re,ee),a.successStatuses=[204],z.next=7,this.request(a);case 7:return y=z.sent,z.abrupt("return",{res:y.res});case 9:case"end":return z.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("utility"),ue=E("../utils/obj2xml"),ae=ue.obj2xml,oe=de;oe.deleteMulti=function(){var re=(0,ie.default)(ne.default.mark(function a(y){var x,b,z,te,le,fe,pe,me,ge,Se,ye,Pe,we,De=arguments;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(x=De.length>1&&De[1]!==void 0?De[1]:{},b=[],!(!y||!y.length)){Ae.next=4;break}throw new Error("names is required");case 4:for(z=0;z<y.length;z++)te={},typeof y[z]=="string"?te.Key=ce.escape(this._objectName(y[z])):(le=y[z],fe=le.key,pe=le.versionId,te.Key=ce.escape(this._objectName(fe)),te.VersionId=pe),b.push(te);return me={Delete:{Quiet:!!x.quiet,Object:b}},ge=ae(me,{headers:!0}),x.subres=Object.assign({delete:""},x.subres),x.versionId&&(x.subres.versionId=x.versionId),Se=this._objectRequestParams("POST","",x),Se.mime="xml",Se.content=ge,Se.xmlResponse=!0,Se.successStatuses=[200],Ae.next=16,this.request(Se);case 16:return ye=Ae.sent,Pe=ye.data,we=Pe&&Pe.Deleted||null,we&&(Array.isArray(we)||(we=[we])),Ae.abrupt("return",{res:ye.res,deleted:we||[]});case 21:case"end":return Ae.stop()}},a,this)}));function ee(a){return re.apply(this,arguments)}return ee}()},{"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,utility:474}],35:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.deleteObjectTagging=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re){var ee,a,y,x=arguments;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ee=x.length>1&&x[1]!==void 0?x[1]:{},ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectName(re),a=this._objectRequestParams("DELETE",re,ee),a.successStatuses=[204],z.next=8,this.request(a);case 8:return y=z.sent,z.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return z.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,he,de){"use strict";E("core-js/modules/es.array.concat.js");var se=E("url"),ne=E("../utils/isIP"),ie=ne.isIP,ce=de;ce.generateObjectUrl=function(ae,oe){if(ie(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(oe)oe[oe.length-1]!=="/"&&(oe+="/");else{oe=this.options.endpoint.format();var re=se.parse(oe),ee=this.options.bucket;re.hostname="".concat(ee,".").concat(re.hostname),re.host="".concat(ee,".").concat(re.host),oe=re.format()}return oe+this._escape(this._objectName(ae))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,he,de){(function(se){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ie=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ce=ne(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("fs"),ae=E("is-type-of"),oe=de;oe.get=function(){var re=(0,ce.default)(ie.default.mark(function a(y,x){var b,z,te,le,fe,pe,me,ge,Se=arguments;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return b=Se.length>2&&Se[2]!==void 0?Se[2]:{},z=null,te=!1,ae.writableStream(x)?z=x:ae.string(x)?(z=ue.createWriteStream(x),te=!0):b=x,b=b||{},le=se&&se.browser,fe=b.responseCacheControl===null?"":"no-cache",pe=le&&fe?{"response-cache-control":fe}:{},b.subres=Object.assign(pe,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Pe.prev=11,ge=this._objectRequestParams("GET",y,b),ge.writeStream=z,ge.successStatuses=[200,206,304],Pe.next=17,this.request(ge);case 17:me=Pe.sent,te&&z.destroy(),Pe.next=28;break;case 21:if(Pe.prev=21,Pe.t0=Pe.catch(11),!te){Pe.next=27;break}return z.destroy(),Pe.next=27,this._deleteFileSafe(x);case 27:throw Pe.t0;case 28:return Pe.abrupt("return",{res:me.res,content:me.data});case 29:case"end":return Pe.stop()}},a,this,[[11,21]])}));function ee(a,y){return re.apply(this,arguments)}return ee}()}).call(this)}).call(this,E("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.getACL=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re){var ee,a,y,x=arguments;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ee=x.length>1&&x[1]!==void 0?x[1]:{},ee.subres=Object.assign({acl:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectName(re),a=this._objectRequestParams("GET",re,ee),a.successStatuses=[200],a.xmlResponse=!0,z.next=9,this.request(a);case 9:return y=z.sent,z.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return z.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de,ue=E("../utils/isObject"),ae=ue.isObject,oe=E("../utils/isArray"),re=oe.isArray;ce.getBucketVersions=ee,ce.listObjectVersions=ee;function ee(){return a.apply(this,arguments)}function a(){return a=(0,ie.default)(ne.default.mark(function b(){var z,te,le,fe,pe,me,ge,Se,ye=arguments;return ne.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(z=ye.length>0&&ye[0]!==void 0?ye[0]:{},te=ye.length>1&&ye[1]!==void 0?ye[1]:{},!(z.versionIdMarker&&z.keyMarker===void 0)){we.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return te.subres=Object.assign({versions:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),le=this._objectRequestParams("GET","",te),le.xmlResponse=!0,le.successStatuses=[200],le.query=x(z),we.next=12,this.request(le);case 12:return fe=we.sent,pe=fe.data.Version||[],me=fe.data.DeleteMarker||[],ge=this,pe&&(Array.isArray(pe)||(pe=[pe]),pe=pe.map(function(De){return{name:De.Key,url:ge._objectUrl(De.Key),lastModified:De.LastModified,isLatest:De.IsLatest==="true",versionId:De.VersionId,etag:De.ETag,type:De.Type,size:Number(De.Size),storageClass:De.StorageClass,owner:{id:De.Owner.ID,displayName:De.Owner.DisplayName}}})),me&&(re(me)||(me=[me]),me=me.map(function(De){return{name:De.Key,lastModified:De.LastModified,versionId:De.VersionId,owner:{id:De.Owner.ID,displayName:De.Owner.DisplayName}}})),Se=fe.data.CommonPrefixes||null,Se&&(re(Se)||(Se=[Se]),Se=Se.map(function(De){return De.Prefix})),we.abrupt("return",{res:fe.res,objects:pe,deleteMarker:me,prefixes:Se,nextMarker:fe.data.NextKeyMarker||null,NextVersionIdMarker:fe.data.NextVersionIdMarker||null,nextKeyMarker:fe.data.NextKeyMarker||null,nextVersionIdMarker:fe.data.NextVersionIdMarker||null,isTruncated:fe.data.IsTruncated==="true"});case 21:case"end":return we.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z={};return ae(b)&&Object.keys(b).forEach(function(te){z[y(te)]=b[te]}),z}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.getObjectMeta=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re,ee){var a,y;return ne.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ee=ee||{},re=this._objectName(re),ee.subres=Object.assign({objectMeta:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),a=this._objectRequestParams("HEAD",re,ee),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},oe,this)}));function ae(oe,re){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de,ue=E("../utils/isObject"),ae=ue.isObject;ce.getObjectTagging=function(){var oe=(0,ie.default)(ne.default.mark(function ee(a){var y,x,b,z,te,le,fe=arguments;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return y=fe.length>1&&fe[1]!==void 0?fe[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],me.next=8,this.request(x);case 8:return b=me.sent,me.next=11,this.parseXML(b.data);case 11:return z=me.sent,te=z.TagSet.Tag,te=te&&ae(te)?[te]:te||[],le={},te.forEach(function(ge){le[ge.Key]=ge.Value}),me.abrupt("return",{status:b.status,res:b.res,tag:le});case 17:case"end":return me.stop()}},ee,this)}));function re(ee){return oe.apply(this,arguments)}return re}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,he,de){"use strict";var se=E("../utils/isIP"),ne=se.isIP,ie=de;ie.getObjectUrl=function(ue,ae){if(ne(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ae?ae[ae.length-1]!=="/"&&(ae+="/"):ae=this.options.endpoint.format(),ae+this._escape(this._objectName(ue))}},{"../utils/isIP":69}],43:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.getSymlink=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re){var ee,a,y,x,b=arguments;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ee=b.length>1&&b[1]!==void 0?b[1]:{},ee.subres=Object.assign({symlink:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectName(re),a=this._objectRequestParams("GET",re,ee),a.successStatuses=[200],te.next=8,this.request(a);case 8:return y=te.sent,x=y.res.headers["x-oss-symlink-target"],te.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return te.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkEnv"),ue=ce.checkEnv,ae=de;ae.head=function(){var oe=(0,ie.default)(ne.default.mark(function ee(a){var y,x,b,z,te=arguments;return ne.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return y=te.length>1&&te[1]!==void 0?te[1]:{},ue("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],fe.next=8,this.request(x);case 8:return b=fe.sent,z={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(pe){pe.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[pe.substring(11)]=b.headers[pe])}),fe.abrupt("return",z);case 12:case"end":return fe.stop()}},ee,this)}));function re(ee){return oe.apply(this,arguments)}return re}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.putACL=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re,ee,a){var y,x;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=ee,re=this._objectName(re),y=this._objectRequestParams("PUT",re,a),y.successStatuses=[200],z.next=10,this.request(y);case 10:return x=z.sent,z.abrupt("return",{res:x.res});case 12:case"end":return z.stop()}},oe,this)}));function ae(oe,re,ee){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/obj2xml"),ue=ce.obj2xml,ae=E("../utils/checkObjectTag"),oe=ae.checkObjectTag,re=de;re.putObjectTagging=function(){var ee=(0,ie.default)(ne.default.mark(function y(x,b){var z,te,le,fe,pe=arguments;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=pe.length>2&&pe[2]!==void 0?pe[2]:{},oe(b),z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),x=this._objectName(x),te=this._objectRequestParams("PUT",x,z),te.successStatuses=[200],b=Object.keys(b).map(function(Se){return{Key:Se,Value:b[Se]}}),le={Tagging:{TagSet:{Tag:b}}},te.mime="xml",te.content=ue(le),ge.next=13,this.request(te);case 13:return fe=ge.sent,ge.abrupt("return",{res:fe.res,status:fe.status});case 15:case"end":return ge.stop()}},y,this)}));function a(y,x){return ee.apply(this,arguments)}return a}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.putSymlink=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re,ee,a){var y,x;return ne.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.headers=a.headers||{},ee=this._escape(this._objectName(ee)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=ee,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),re=this._objectName(re),y=this._objectRequestParams("PUT",re,a),y.successStatuses=[200],z.next=13,this.request(y);case 13:return x=z.sent,z.abrupt("return",{res:x.res});case 15:case"end":return z.stop()}},oe,this)}));function ae(oe,re,ee){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,he,de){"use strict";var se=E("url"),ne=E("utility"),ie=E("copy-to"),ce=E("../../common/signUtils"),ue=E("../utils/isIP"),ae=ue.isIP,oe=de;oe.signatureUrl=function(ee,a){if(ae(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},ee=this._objectName(ee),a.method=a.method||"GET";var y=ne.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:ee},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var z=ce._signatureForURL(this.options.accessKeySecret,a,b,y),te=se.parse(this._getReqUrl(x));return te.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:z.Signature},ie(z.subResource).to(te.query),te.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("./utils/isArray"),ue=ce.isArray,ae=de;ae._parallelNode=function(){var oe=(0,ie.default)(ne.default.mark(function ee(a,y,x,b){var z,te,le,fe,pe,me,ge,Se;return ne.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:z=this,te=[],le=[],fe=a.length/y,pe=a.length%y,me=pe===0?fe:(a.length-pe)/y+1,ge=1,Se=0;case 8:if(!(Se<a.length)){Pe.next=26;break}if(!z.isCancel()){Pe.next=11;break}return Pe.abrupt("break",26);case 11:if(b?le.push(x(z,a[Se],b)):le.push(x(z,a[Se])),!(le.length===y||ge===me&&Se===a.length-1)){Pe.next=23;break}return Pe.prev=13,ge+=1,Pe.next=17,Promise.all(le);case 17:Pe.next=22;break;case 19:Pe.prev=19,Pe.t0=Pe.catch(13),te.push(Pe.t0);case 22:le=[];case 23:Se++,Pe.next=8;break;case 26:return Pe.abrupt("return",te);case 27:case"end":return Pe.stop()}},ee,this,[[13,19]])}));function re(ee,a,y,x){return oe.apply(this,arguments)}return re}(),ae._parallel=function(re,ee,a){var y=this;return new Promise(function(x){var b=[];if(ee<=0||!re){x(b);return}function z(Pe){return function(){if(Pe===null)throw new Error("Callback was already called.");var we=Pe;Pe=null;for(var De=arguments.length,Ee=new Array(De),Ae=0;Ae<De;Ae++)Ee[Ae]=arguments[Ae];we.apply(this,Ee)}}function te(Pe){var we=-1,De=Pe.length;return function(){return++we<De&&!y.isCancel()?{value:Pe[we],key:we}:null}}var le=te(re),fe=!1,pe=0,me=!1;function ge(Pe){pe-=1,Pe?(fe=!0,b.push(Pe),x(b)):fe&&pe<=0?(fe=!0,x(b)):me||(y.isCancel()?x(b):ye())}function Se(Pe,we){a(Pe).then(function(De){we(null,De)}).catch(function(De){we(De)})}function ye(){for(me=!0;pe<ee&&!fe&&!y.isCancel();){var Pe=le();if(Pe===null||b.length>0){fe=!0,pe<=0&&x(b);return}pe+=1,Se(Pe.value,z(ge))}me=!1}ye()})},ae.cancel=function(re){this.options.cancelFlag=!0,ue(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ee){if(ee.destroyed===!1){var a={name:"cancel",message:"cancel"};ee.destroy(a)}}),this.multipartUploadStreams=[],re&&this.abortMultipartUpload(re.name,re.uploadId,re.options)},ae.isCancel=function(){return this.options.cancelFlag},ae.resetCancelFlag=function(){this.options.cancelFlag=!1},ae._stop=function(){this.options.cancelFlag=!0},ae._makeCancelEvent=function(){var re={status:0,name:"cancel"};return re},ae._makeAbortEvent=function(){var re={status:0,name:"abort",message:"upload task has been abort"};return re}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,he,de){(function(se){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var ne=E("./../../shims/crypto/crypto.js"),ie=E("is-type-of"),ce=E("./utils/lowercaseKeyHeader"),ue=ce.lowercaseKeyHeader;de.buildCanonicalizedResource=function(oe,re){var ee="".concat(oe),a="?";if(ie.string(re)&&re.trim()!=="")ee+=a+re;else if(ie.array(re))re.sort(),ee+=a+re.join("&");else if(re){var y=function(z,te){return z[0]>te[0]?1:z[0]<te[0]?-1:0},x=function(z){ee+=a+z,(re[z]||re[z]===0)&&(ee+="=".concat(re[z])),a="&"};Object.keys(re).sort(y).forEach(x)}return ee},de.buildCanonicalString=function(oe,re,ee,a){ee=ee||{};var y=ue(ee.headers),x="x-oss-",b=[],z={},te=[oe.toUpperCase(),y["content-md5"]||"",y["content-type"],a||y["x-oss-date"]];return Object.keys(y).forEach(function(le){var fe=le.toLowerCase();fe.indexOf(x)===0&&(z[fe]=String(y[le]).trim())}),Object.keys(z).sort().forEach(function(le){b.push("".concat(le,":").concat(z[le]))}),te=te.concat(b),te.push(this.buildCanonicalizedResource(re,ee.parameters)),te.join(`
|
|
|
`)},de.computeSignature=function(oe,re){var ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=ne.createHmac("sha1",oe);return a.update(se.from(re,ee)).digest("base64")},de.authorization=function(oe,re,ee,a){return"OSS ".concat(oe,":").concat(this.computeSignature(re,ee,a))},de._signatureForURL=function(oe){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=re.subResource,z=b===void 0?{}:b;if(re.process){var te="x-oss-process";z[te]=re.process}if(re.trafficLimit){var le="x-oss-traffic-limit";z[le]=re.trafficLimit}if(re.response&&Object.keys(re.response).forEach(function(ge){var Se="response-".concat(ge.toLowerCase());z[Se]=re.response[ge]}),Object.keys(re).forEach(function(ge){var Se=ge.toLowerCase(),ye=re[ge];Se.indexOf("x-oss-")===0?x[Se]=ye:(Se.indexOf("content-md5")===0||Se.indexOf("content-type")===0)&&(x[ge]=ye)}),Object.prototype.hasOwnProperty.call(re,"security-token")&&(z["security-token"]=re["security-token"]),Object.prototype.hasOwnProperty.call(re,"callback")){var fe={callbackUrl:encodeURI(re.callback.url),callbackBody:re.callback.body};if(re.callback.host&&(fe.callbackHost=re.callback.host),re.callback.contentType&&(fe.callbackBodyType=re.callback.contentType),z.callback=se.from(JSON.stringify(fe)).toString("base64"),re.callback.customValue){var pe={};Object.keys(re.callback.customValue).forEach(function(ge){pe["x:".concat(ge)]=re.callback.customValue[ge]}),z["callback-var"]=se.from(JSON.stringify(pe)).toString("base64")}}var me=this.buildCanonicalString(re.method,ee,{headers:x,parameters:z},a.toString());return{Signature:this.computeSignature(oe,me,y),subResource:z}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,he,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkBucketName=void 0,de.checkBucketName=function(se){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=ne?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ie.test(se))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,he,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkConfigValid=void 0;var se={endpoint:ne,region:/^[a-zA-Z0-9\-_]+$/};function ne(ie){return typeof ie=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ie):ie.host?/^[a-zA-Z0-9._:/-]+$/.test(ie.host):!1}de.checkConfigValid=function(ie,ce){if(se[ce]){var ue=!0;if(se[ce]instanceof Function?ue=se[ce](ie):ue=se[ce].test(ie),!ue)throw new Error("The ".concat(ce," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,he,de){(function(se){(function(){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.checkEnv=void 0;function ne(ie){se.browser&&console.warn(ie)}de.checkEnv=ne}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,he,de){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkObjectTag=void 0;var se=E("./checkValid"),ne=se.checkValid,ie=E("./isObject"),ce=ie.isObject,ue=[{validator:function(ee){if(typeof ee!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],ae={key:[].concat(ue,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(ue,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function oe(re){if(!ce(re))throw new Error("tag must be Object");var ee=Object.entries(re);if(ee.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];ee.forEach(function(y){y.forEach(function(x,b){ne(x,ae[a[b]])})})}de.checkObjectTag=oe},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,he,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkValid=void 0;function se(ne,ie){ie.forEach(function(ce){if(ce.validator)ce.validator(ne);else if(ce.pattern&&!ce.pattern.test(ne))throw new Error(ce.msg)})}de.checkValid=se},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(E,he,de){(function(se){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.createRequest=void 0;var ne=E("./../../../shims/crypto/crypto.js"),ie=E("debug")("ali-oss"),ce=E("mime"),ue=E("dateformat"),ae=E("copy-to"),oe=E("path"),re=E("./encoder"),ee=re.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,z=E("../client/getReqUrl"),te=z.getReqUrl,le=E("./isDingTalk"),fe=le.isDingTalk;function pe(Se,ye){return Se[ye]||Se[ye.toLowerCase()]}function me(Se,ye){delete Se[ye],delete Se[ye.toLowerCase()]}function ge(Se){var ye=new Date;this.options.amendTimeSkewed&&(ye=+new Date+this.options.amendTimeSkewed);var Pe={"x-oss-date":ue(ye,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Pe["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Pe["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Pe,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Pe["x-oss-security-token"]=this.options.stsToken),ae(Se.headers).to(Pe),pe(Pe,"Content-Type")||(Se.mime&&Se.mime.indexOf("/")>0?Pe["Content-Type"]=Se.mime:fe()?Pe["Content-Type"]="application/octet-stream":Pe["Content-Type"]=ce.getType(Se.mime||oe.extname(Se.object||""))),pe(Pe,"Content-Type")||me(Pe,"Content-Type"),Se.content&&(Se.disabledMD5||(!Se.headers||!Se.headers["Content-MD5"]?Pe["Content-MD5"]=ne.createHash("md5").update(se.from(Se.content,"utf8")).digest("base64"):Pe["Content-MD5"]=Se.headers["Content-MD5"]),Pe["Content-Length"]||(Pe["Content-Length"]=Se.content.length));var we=Object.prototype.hasOwnProperty;for(var De in Pe)Pe[De]&&we.call(Pe,De)&&(Pe[De]=ee(String(Pe[De]),this.options.headerEncoding));var Ee=this._getResource(Se);if(Pe.authorization=this.authorization(Se.method,Ee,Se.subres,Pe,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Ae=this.options,Ce=Ae.region,Ie=Ae.internal,Me=Ae.secure,Ge=b(Ce,Ie,Me);Pe.host="".concat(Se.bucket,".").concat(Ge.host)}var Be=te.bind(this)(Se);ie("request %s %s, with headers %j, !!stream: %s",Se.method,Be,Pe,!!Se.stream);var Qe=Se.timeout||this.options.timeout,qe={method:Se.method,content:Se.content,stream:Se.stream,headers:Pe,timeout:Qe,writeStream:Se.writeStream,customResponse:Se.customResponse,ctx:Se.ctx||this.ctx};return this.agent&&(qe.agent=this.agent),this.httpsAgent&&(qe.httpsAgent=this.httpsAgent),qe.enableProxy=!!this.options.enableProxy,qe.proxy=this.options.proxy?this.options.proxy:null,{url:Be,params:qe}}de.createRequest=ge}).call(this)}).call(this,E("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(E,he,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.dataFix=void 0;var se=E("./isObject"),ne=["true","TRUE","1",1],ie=["false","FALSE","0",0];function ce(oe,re,ee){if(se.isObject(oe)){var a=re.remove,y=a===void 0?[]:a,x=re.rename,b=x===void 0?{}:x,z=re.camel,te=z===void 0?[]:z,le=re.bool,fe=le===void 0?[]:le,pe=re.lowerFirst,me=pe===void 0?!1:pe;return y.forEach(function(ge){return delete oe[ge]}),Object.entries(b).forEach(function(ge){oe[ge[0]]&&(oe[ge[1]]||(oe[ge[1]]=oe[ge[0]],delete oe[ge[0]]))}),te.forEach(function(ge){if(oe[ge]){var Se=ge.replace(/^(.)/,function(ye){return ye.toLowerCase()}).replace(/-(\w)/g,function(ye,Pe){return Pe.toUpperCase()});oe[Se]||(oe[Se]=oe[ge])}}),fe.forEach(function(ge){oe[ge]=ue(oe[ge])}),typeof ee=="function"&&ee(oe),ae(oe,me),ce}}de.dataFix=ce;function ue(oe){return oe?ne.includes(oe)?!0:ie.includes(oe)?!1:oe:!1}function ae(oe,re){re&&Object.keys(oe).forEach(function(ee){var a=ee.replace(/^\w/,function(y){return y.toLowerCase()});typeof oe[a]=="undefined"&&(oe[a]=oe[ee],delete oe[ee])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ne=se(E("@babel/runtime/helpers/typeof"));Object.defineProperty(de,"__esModule",{value:!0}),de.deepCopyWith=de.deepCopy=void 0;var ie=E("./isBuffer");de.deepCopy=function(ce){if(ce===null||(0,ne.default)(ce)!=="object")return ce;if(ie.isBuffer(ce))return ce.slice();var ue=Array.isArray(ce)?[]:{};return Object.keys(ce).forEach(function(ae){ue[ae]=de.deepCopy(ce[ae])}),ue},de.deepCopyWith=function(ce,ue){function ae(oe,re,ee){var a=ue(oe,re,ee);if(a!==void 0)return a;if(oe===null||(0,ne.default)(oe)!=="object")return oe;if(ie.isBuffer(oe))return oe.slice();var y=Array.isArray(oe)?[]:{};return Object.keys(oe).forEach(function(x){y[x]=ae(oe[x],x,oe)}),y}return ue?ae(ce,"",null):de.deepCopy(ce)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(E,he,de){(function(se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.encoder=void 0;function ne(ie){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return ce==="utf-8"?ie:se.from(ie).toString("latin1")}de.encoder=ne}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,he,de){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.formatInventoryConfig=void 0;var se=E("../utils/dataFix"),ne=E("../utils/isObject"),ie=E("../utils/isArray"),ce=E("../utils/formatObjKey");function ue(oe){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return re&&ne.isObject(oe)&&(oe=[oe]),ie.isArray(oe)?oe=oe.map(ae):oe=ae(oe),oe}de.formatInventoryConfig=ue;function ae(oe){return se.dataFix(oe,{bool:["IsEnabled"]},function(re){var ee,a;re.prefix=re.Filter.Prefix,delete re.Filter,re.OSSBucketDestination=re.Destination.OSSBucketDestination,re.OSSBucketDestination.rolename=re.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete re.OSSBucketDestination.RoleArn,re.OSSBucketDestination.bucket=re.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete re.OSSBucketDestination.Bucket,delete re.Destination,re.frequency=re.Schedule.Frequency,delete re.Schedule.Frequency,!((ee=re==null?void 0:re.OptionalFields)===null||ee===void 0)&&ee.Field&&!ie.isArray((a=re.OptionalFields)===null||a===void 0?void 0:a.Field)&&(re.OptionalFields.Field=[re.OptionalFields.Field])}),oe=ce.formatObjKey(oe,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),oe}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ne=se(E("@babel/runtime/helpers/typeof"));Object.defineProperty(de,"__esModule",{value:!0}),de.formatObjKey=void 0;function ie(ue,ae,oe){if(ue===null||(0,ne.default)(ue)!=="object")return ue;var re;if(Array.isArray(ue)){re=[];for(var ee=0;ee<ue.length;ee++)re.push(ie(ue[ee],ae,oe))}else re={},Object.keys(ue).forEach(function(a){re[ce(a,ae,oe)]=ie(ue[a],ae,oe)});return re}de.formatObjKey=ie;function ce(ue,ae,oe){return oe&&oe.exclude&&oe.exclude.includes(ue)||(ae==="firstUpperCase"?ue=ue.replace(/^./,function(re){return re.toUpperCase()}):ae==="firstLowerCase"&&(ue=ue.replace(/^./,function(re){return re.toLowerCase()}))),ue}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.includes.js":302,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],62:[function(E,he,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.getStrBytesCount=void 0;function se(ne){for(var ie=0,ce=0;ce<ne.length;ce++){var ue=ne.charAt(ce);/^[\u00-\uff]$/.test(ue)?ie+=1:ie+=2}return ie}de.getStrBytesCount=se},{"core-js/modules/es.regexp.exec.js":300}],63:[function(E,he,de){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isArray=void 0,de.isArray=function(se){return Object.prototype.toString.call(se)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(E,he,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isBlob=void 0;function se(ne){return typeof Blob!="undefined"&&ne instanceof Blob}de.isBlob=se},{}],65:[function(E,he,de){(function(se){(function(){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isBuffer=void 0;function ne(ie){return se.isBuffer(ie)}de.isBuffer=ne}).call(this)}).call(this,{isBuffer:E("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(E,he,de){(function(se){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isDingTalk=void 0;function ne(){return!!(se.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}de.isDingTalk=ne}).call(this)}).call(this,E("_process"))},{_process:467,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.string.includes.js":302}],67:[function(E,he,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isFile=void 0,de.isFile=function(se){return typeof File!="undefined"&&se instanceof File}},{}],68:[function(E,he,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isFunction=void 0,de.isFunction=function(se){return typeof se=="function"}},{}],69:[function(E,he,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isIP=void 0,de.isIP=function(se){var ne=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,ie=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return ne.test(se)||ie.test(se)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(E,he,de){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isObject=void 0,de.isObject=function(se){return Object.prototype.toString.call(se)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(E,he,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.lowercaseKeyHeader=void 0;var se=E("./isObject");function ne(ie){var ce={};return se.isObject(ie)&&Object.keys(ie).forEach(function(ue){ce[ue.toLowerCase()]=ie[ue]}),ce}de.lowercaseKeyHeader=ne},{"./isObject":70,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],72:[function(E,he,de){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.obj2xml=void 0;var se=E("./formatObjKey");function ne(ce){return Object.prototype.toString.call(ce).replace(/(.*? |])/g,"").toLowerCase()}function ie(ce,ue){var ae="";return ue&&ue.headers&&(ae=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),ue&&ue.firstUpperCase&&(ce=se.formatObjKey(ce,"firstUpperCase")),ne(ce)==="object"?Object.keys(ce).forEach(function(oe){ne(ce[oe])!=="undefined"&&ne(ce[oe])!=="null"&&(ne(ce[oe])==="string"||ne(ce[oe])==="number"?ae+="<".concat(oe,">").concat(ce[oe],"</").concat(oe,">"):ne(ce[oe])==="object"?ae+="<".concat(oe,">").concat(ie(ce[oe]),"</").concat(oe,">"):ne(ce[oe])==="array"?ae+=ce[oe].map(function(re){return"<".concat(oe,">").concat(ie(re),"</").concat(oe,">")}).join(""):ae+="<".concat(oe,">").concat(ce[oe].toString(),"</").concat(oe,">"))}):ae+=ce.toString(),ae}de.obj2xml=ie},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,he,de){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function se(ue,ae){var oe=typeof Symbol!="undefined"&&ue[Symbol.iterator]||ue["@@iterator"];if(!oe){if(Array.isArray(ue)||(oe=ne(ue))||ae&&ue&&typeof ue.length=="number"){oe&&(ue=oe);var re=0,ee=function(){};return{s:ee,n:function(){return re>=ue.length?{done:!0}:{done:!1,value:ue[re++]}},e:function(z){throw z},f:ee}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,y=!1,x;return{s:function(){oe=oe.call(ue)},n:function(){var z=oe.next();return a=z.done,z},e:function(z){y=!0,x=z},f:function(){try{!a&&oe.return!=null&&oe.return()}finally{if(y)throw x}}}}function ne(ue,ae){if(ue){if(typeof ue=="string")return ie(ue,ae);var oe=Object.prototype.toString.call(ue).slice(8,-1);if(oe==="Object"&&ue.constructor&&(oe=ue.constructor.name),oe==="Map"||oe==="Set")return Array.from(ue);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return ie(ue,ae)}}function ie(ue,ae){(ae==null||ae>ue.length)&&(ae=ue.length);for(var oe=0,re=new Array(ae);oe<ae;oe++)re[oe]=ue[oe];return re}Object.defineProperty(de,"__esModule",{value:!0}),de.omit=void 0;function ce(ue,ae){var oe=Object.assign({},ue),re=se(ae),ee;try{for(re.s();!(ee=re.n()).done;){var a=ee.value;delete oe[a]}}catch(y){re.e(y)}finally{re.f()}return oe}de.omit=ce},{"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.iterator.js":312,"core-js/modules/es.symbol.js":313,"core-js/modules/web.dom-collections.iterator.js":340}],74:[function(E,he,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.retry=void 0;function se(ne,ie){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ue=0,ae=ce.retryDelay,oe=ae===void 0?500:ae,re=ce.errorHandler,ee=re===void 0?function(){return!0}:re,a=function y(){for(var x=arguments.length,b=new Array(x),z=0;z<x;z++)b[z]=arguments[z];return new Promise(function(te,le){ne.apply(void 0,b).then(function(fe){ue=0,te(fe)}).catch(function(fe){ue<ie&&ee(fe)?(ue++,setTimeout(function(){te(y.apply(void 0,b))},oe)):(ue=0,le(fe))})})};return a}de.retry=se},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(E,he,de){"use strict";var se=function(ue){return ue&&ue.__esModule?ue:{default:ue}};Object.defineProperty(de,"__esModule",{value:!0}),de.setRegion=void 0;var ne=se(E("url")),ie=E("./checkConfigValid");function ce(ue){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ie.checkConfigValid(ue,"region");var re=oe?"https://":"http://",ee=ae?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ue.substr(0,a.length)===a&&(ee=".aliyuncs.com"),ne.default.parse(re+ue+ee)}de.setRegion=ce},{"./checkConfigValid":52,url:472}],76:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.checkCredentials=de.setSTSToken=void 0;var ce=E("./formatObjKey");function ue(){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(ne.default.mark(function re(){var ee,a;return ne.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),ee=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+ee-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=ee,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=ce.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),oe(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=ee;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},re,this)})),ae.apply(this,arguments)}de.setSTSToken=ue;function oe(re){var ee=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(re);ee.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}de.checkCredentials=oe},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,he,de){function se(ie,ce,ue,ae,oe,re,ee){try{var a=ie[re](ee),y=a.value}catch(x){ue(x);return}a.done?ce(y):Promise.resolve(y).then(ae,oe)}function ne(ie){return function(){var ce=this,ue=arguments;return new Promise(function(ae,oe){var re=ie.apply(ce,ue);function ee(y){se(re,ae,oe,ee,a,"next",y)}function a(y){se(re,ae,oe,ee,a,"throw",y)}ee(void 0)})}}he.exports=ne,he.exports.__esModule=!0,he.exports.default=he.exports},{}],78:[function(E,he,de){function se(ne){return ne&&ne.__esModule?ne:{default:ne}}he.exports=se,he.exports.__esModule=!0,he.exports.default=he.exports},{}],79:[function(E,he,de){function se(ne){"@babel/helpers - typeof";return he.exports=se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},he.exports.__esModule=!0,he.exports.default=he.exports,se(ne)}he.exports=se,he.exports.__esModule=!0,he.exports.default=he.exports},{}],80:[function(E,he,de){he.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,he,de){he.exports=se,he.exports.HttpsAgent=se;function se(){}},{}],82:[function(E,he,de){(function(se){(function(){"use strict";var ne=E("object-assign");function ie(Ce,Ie){if(Ce===Ie)return 0;for(var Me=Ce.length,Ge=Ie.length,Be=0,Qe=Math.min(Me,Ge);Be<Qe;++Be)if(Ce[Be]!==Ie[Be]){Me=Ce[Be],Ge=Ie[Be];break}return Me<Ge?-1:Ge<Me?1:0}function ce(Ce){return se.Buffer&&typeof se.Buffer.isBuffer=="function"?se.Buffer.isBuffer(Ce):!!(Ce!=null&&Ce._isBuffer)}var ue=E("util/"),ae=Object.prototype.hasOwnProperty,oe=Array.prototype.slice,re=function(){return function(){}.name==="foo"}();function ee(Ce){return Object.prototype.toString.call(Ce)}function a(Ce){return ce(Ce)||typeof se.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Ce):Ce?!!(Ce instanceof DataView||Ce.buffer&&Ce.buffer instanceof ArrayBuffer):!1}var y=he.exports=pe,x=/\s*function\s+([^\(\s]*)\s*/;function b(Ce){if(ue.isFunction(Ce)){if(re)return Ce.name;var Ie=Ce.toString(),Me=Ie.match(x);return Me&&Me[1]}}y.AssertionError=function(Ie){this.name="AssertionError",this.actual=Ie.actual,this.expected=Ie.expected,this.operator=Ie.operator,Ie.message?(this.message=Ie.message,this.generatedMessage=!1):(this.message=le(this),this.generatedMessage=!0);var Me=Ie.stackStartFunction||fe;if(Error.captureStackTrace)Error.captureStackTrace(this,Me);else{var Ge=new Error;if(Ge.stack){var Be=Ge.stack,Qe=b(Me),qe=Be.indexOf(`
|
|
|
`+Qe);if(qe>=0){var Xe=Be.indexOf(`
|
|
|
`,qe+1);Be=Be.substring(Xe+1)}this.stack=Be}}},ue.inherits(y.AssertionError,Error);function z(Ce,Ie){return typeof Ce=="string"?Ce.length<Ie?Ce:Ce.slice(0,Ie):Ce}function te(Ce){if(re||!ue.isFunction(Ce))return ue.inspect(Ce);var Ie=b(Ce),Me=Ie?": "+Ie:"";return"[Function"+Me+"]"}function le(Ce){return z(te(Ce.actual),128)+" "+Ce.operator+" "+z(te(Ce.expected),128)}function fe(Ce,Ie,Me,Ge,Be){throw new y.AssertionError({message:Me,actual:Ce,expected:Ie,operator:Ge,stackStartFunction:Be})}y.fail=fe;function pe(Ce,Ie){Ce||fe(Ce,!0,Ie,"==",y.ok)}y.ok=pe,y.equal=function(Ie,Me,Ge){Ie!=Me&&fe(Ie,Me,Ge,"==",y.equal)},y.notEqual=function(Ie,Me,Ge){Ie==Me&&fe(Ie,Me,Ge,"!=",y.notEqual)},y.deepEqual=function(Ie,Me,Ge){me(Ie,Me,!1)||fe(Ie,Me,Ge,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(Ie,Me,Ge){me(Ie,Me,!0)||fe(Ie,Me,Ge,"deepStrictEqual",y.deepStrictEqual)};function me(Ce,Ie,Me,Ge){if(Ce===Ie)return!0;if(ce(Ce)&&ce(Ie))return ie(Ce,Ie)===0;if(ue.isDate(Ce)&&ue.isDate(Ie))return Ce.getTime()===Ie.getTime();if(ue.isRegExp(Ce)&&ue.isRegExp(Ie))return Ce.source===Ie.source&&Ce.global===Ie.global&&Ce.multiline===Ie.multiline&&Ce.lastIndex===Ie.lastIndex&&Ce.ignoreCase===Ie.ignoreCase;if((Ce===null||typeof Ce!="object")&&(Ie===null||typeof Ie!="object"))return Me?Ce===Ie:Ce==Ie;if(a(Ce)&&a(Ie)&&ee(Ce)===ee(Ie)&&!(Ce instanceof Float32Array||Ce instanceof Float64Array))return ie(new Uint8Array(Ce.buffer),new Uint8Array(Ie.buffer))===0;if(ce(Ce)!==ce(Ie))return!1;Ge=Ge||{actual:[],expected:[]};var Be=Ge.actual.indexOf(Ce);return Be!==-1&&Be===Ge.expected.indexOf(Ie)?!0:(Ge.actual.push(Ce),Ge.expected.push(Ie),Se(Ce,Ie,Me,Ge))}function ge(Ce){return Object.prototype.toString.call(Ce)=="[object Arguments]"}function Se(Ce,Ie,Me,Ge){if(Ce==null||Ie===null||Ie===void 0)return!1;if(ue.isPrimitive(Ce)||ue.isPrimitive(Ie))return Ce===Ie;if(Me&&Object.getPrototypeOf(Ce)!==Object.getPrototypeOf(Ie))return!1;var Be=ge(Ce),Qe=ge(Ie);if(Be&&!Qe||!Be&&Qe)return!1;if(Be)return Ce=oe.call(Ce),Ie=oe.call(Ie),me(Ce,Ie,Me);var qe=Ae(Ce),Xe=Ae(Ie),Ve,We;if(qe.length!==Xe.length)return!1;for(qe.sort(),Xe.sort(),We=qe.length-1;We>=0;We--)if(qe[We]!==Xe[We])return!1;for(We=qe.length-1;We>=0;We--)if(Ve=qe[We],!me(Ce[Ve],Ie[Ve],Me,Ge))return!1;return!0}y.notDeepEqual=function(Ie,Me,Ge){me(Ie,Me,!1)&&fe(Ie,Me,Ge,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ye;function ye(Ce,Ie,Me){me(Ce,Ie,!0)&&fe(Ce,Ie,Me,"notDeepStrictEqual",ye)}y.strictEqual=function(Ie,Me,Ge){Ie!==Me&&fe(Ie,Me,Ge,"===",y.strictEqual)},y.notStrictEqual=function(Ie,Me,Ge){Ie===Me&&fe(Ie,Me,Ge,"!==",y.notStrictEqual)};function Pe(Ce,Ie){if(!Ce||!Ie)return!1;if(Object.prototype.toString.call(Ie)=="[object RegExp]")return Ie.test(Ce);try{if(Ce instanceof Ie)return!0}catch(Me){}return Error.isPrototypeOf(Ie)?!1:Ie.call({},Ce)===!0}function we(Ce){var Ie;try{Ce()}catch(Me){Ie=Me}return Ie}function De(Ce,Ie,Me,Ge){var Be;if(typeof Ie!="function")throw new TypeError('"block" argument must be a function');typeof Me=="string"&&(Ge=Me,Me=null),Be=we(Ie),Ge=(Me&&Me.name?" ("+Me.name+").":".")+(Ge?" "+Ge:"."),Ce&&!Be&&fe(Be,Me,"Missing expected exception"+Ge);var Qe=typeof Ge=="string",qe=!Ce&&ue.isError(Be),Xe=!Ce&&Be&&!Me;if((qe&&Qe&&Pe(Be,Me)||Xe)&&fe(Be,Me,"Got unwanted exception"+Ge),Ce&&Be&&Me&&!Pe(Be,Me)||!Ce&&Be)throw Be}y.throws=function(Ce,Ie,Me){De(!0,Ce,Ie,Me)},y.doesNotThrow=function(Ce,Ie,Me){De(!1,Ce,Ie,Me)},y.ifError=function(Ce){if(Ce)throw Ce};function Ee(Ce,Ie){Ce||fe(Ce,!0,Ie,"==",Ee)}y.strict=ne(Ee,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Ae=Object.keys||function(Ce){var Ie=[];for(var Me in Ce)ae.call(Ce,Me)&&Ie.push(Me);return Ie}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,he,de){typeof Object.create=="function"?he.exports=function(ne,ie){ne.super_=ie,ne.prototype=Object.create(ie.prototype,{constructor:{value:ne,enumerable:!1,writable:!0,configurable:!0}})}:he.exports=function(ne,ie){ne.super_=ie;var ce=function(){};ce.prototype=ie.prototype,ne.prototype=new ce,ne.prototype.constructor=ne}},{}],84:[function(E,he,de){he.exports=function(ne){return ne&&typeof ne=="object"&&typeof ne.copy=="function"&&typeof ne.fill=="function"&&typeof ne.readUInt8=="function"}},{}],85:[function(E,he,de){(function(se,ne){(function(){var ie=/%[sdj%]/g;de.format=function(Xe){if(!Se(Xe)){for(var Ve=[],We=0;We<arguments.length;We++)Ve.push(ae(arguments[We]));return Ve.join(" ")}for(var We=1,ze=arguments,He=ze.length,tt=String(Xe).replace(ie,function(ut){if(ut==="%%")return"%";if(We>=He)return ut;switch(ut){case"%s":return String(ze[We++]);case"%d":return Number(ze[We++]);case"%j":try{return JSON.stringify(ze[We++])}catch(Ye){return"[Circular]"}default:return ut}}),Je=ze[We];We<He;Je=ze[++We])pe(Je)||!De(Je)?tt+=" "+Je:tt+=" "+ae(Je);return tt},de.deprecate=function(Xe,Ve){if(Pe(ne.process))return function(){return de.deprecate(Xe,Ve).apply(this,arguments)};if(se.noDeprecation===!0)return Xe;var We=!1;function ze(){if(!We){if(se.throwDeprecation)throw new Error(Ve);se.traceDeprecation?console.trace(Ve):console.error(Ve),We=!0}return Xe.apply(this,arguments)}return ze};var ce={},ue;de.debuglog=function(Xe){if(Pe(ue)&&(ue=se.env.NODE_DEBUG||""),Xe=Xe.toUpperCase(),!ce[Xe])if(new RegExp("\\b"+Xe+"\\b","i").test(ue)){var Ve=se.pid;ce[Xe]=function(){var We=de.format.apply(de,arguments);console.error("%s %d: %s",Xe,Ve,We)}}else ce[Xe]=function(){};return ce[Xe]};function ae(Xe,Ve){var We={seen:[],stylize:re};return arguments.length>=3&&(We.depth=arguments[2]),arguments.length>=4&&(We.colors=arguments[3]),fe(Ve)?We.showHidden=Ve:Ve&&de._extend(We,Ve),Pe(We.showHidden)&&(We.showHidden=!1),Pe(We.depth)&&(We.depth=2),Pe(We.colors)&&(We.colors=!1),Pe(We.customInspect)&&(We.customInspect=!0),We.colors&&(We.stylize=oe),a(We,Xe,We.depth)}de.inspect=ae,ae.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]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function oe(Xe,Ve){var We=ae.styles[Ve];return We?"\x1B["+ae.colors[We][0]+"m"+Xe+"\x1B["+ae.colors[We][1]+"m":Xe}function re(Xe,Ve){return Xe}function ee(Xe){var Ve={};return Xe.forEach(function(We,ze){Ve[We]=!0}),Ve}function a(Xe,Ve,We){if(Xe.customInspect&&Ve&&Ce(Ve.inspect)&&Ve.inspect!==de.inspect&&!(Ve.constructor&&Ve.constructor.prototype===Ve)){var ze=Ve.inspect(We,Xe);return Se(ze)||(ze=a(Xe,ze,We)),ze}var He=y(Xe,Ve);if(He)return He;var tt=Object.keys(Ve),Je=ee(tt);if(Xe.showHidden&&(tt=Object.getOwnPropertyNames(Ve)),Ae(Ve)&&(tt.indexOf("message")>=0||tt.indexOf("description")>=0))return x(Ve);if(tt.length===0){if(Ce(Ve)){var ut=Ve.name?": "+Ve.name:"";return Xe.stylize("[Function"+ut+"]","special")}if(we(Ve))return Xe.stylize(RegExp.prototype.toString.call(Ve),"regexp");if(Ee(Ve))return Xe.stylize(Date.prototype.toString.call(Ve),"date");if(Ae(Ve))return x(Ve)}var Ye="",Ue=!1,je=["{","}"];if(le(Ve)&&(Ue=!0,je=["[","]"]),Ce(Ve)){var $e=Ve.name?": "+Ve.name:"";Ye=" [Function"+$e+"]"}if(we(Ve)&&(Ye=" "+RegExp.prototype.toString.call(Ve)),Ee(Ve)&&(Ye=" "+Date.prototype.toUTCString.call(Ve)),Ae(Ve)&&(Ye=" "+x(Ve)),tt.length===0&&(!Ue||Ve.length==0))return je[0]+Ye+je[1];if(We<0)return we(Ve)?Xe.stylize(RegExp.prototype.toString.call(Ve),"regexp"):Xe.stylize("[Object]","special");Xe.seen.push(Ve);var Le;return Ue?Le=b(Xe,Ve,We,Je,tt):Le=tt.map(function(Ne){return z(Xe,Ve,We,Je,Ne,Ue)}),Xe.seen.pop(),te(Le,Ye,je)}function y(Xe,Ve){if(Pe(Ve))return Xe.stylize("undefined","undefined");if(Se(Ve)){var We="'"+JSON.stringify(Ve).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Xe.stylize(We,"string")}if(ge(Ve))return Xe.stylize(""+Ve,"number");if(fe(Ve))return Xe.stylize(""+Ve,"boolean");if(pe(Ve))return Xe.stylize("null","null")}function x(Xe){return"["+Error.prototype.toString.call(Xe)+"]"}function b(Xe,Ve,We,ze,He){for(var tt=[],Je=0,ut=Ve.length;Je<ut;++Je)qe(Ve,String(Je))?tt.push(z(Xe,Ve,We,ze,String(Je),!0)):tt.push("");return He.forEach(function(Ye){Ye.match(/^\d+$/)||tt.push(z(Xe,Ve,We,ze,Ye,!0))}),tt}function z(Xe,Ve,We,ze,He,tt){var Je,ut,Ye;if(Ye=Object.getOwnPropertyDescriptor(Ve,He)||{value:Ve[He]},Ye.get?Ye.set?ut=Xe.stylize("[Getter/Setter]","special"):ut=Xe.stylize("[Getter]","special"):Ye.set&&(ut=Xe.stylize("[Setter]","special")),qe(ze,He)||(Je="["+He+"]"),ut||(Xe.seen.indexOf(Ye.value)<0?(pe(We)?ut=a(Xe,Ye.value,null):ut=a(Xe,Ye.value,We-1),ut.indexOf(`
|
|
|
`)>-1&&(tt?ut=ut.split(`
|
|
|
`).map(function(Ue){return" "+Ue}).join(`
|
|
|
`).substr(2):ut=`
|
|
|
`+ut.split(`
|
|
|
`).map(function(Ue){return" "+Ue}).join(`
|
|
|
`))):ut=Xe.stylize("[Circular]","special")),Pe(Je)){if(tt&&He.match(/^\d+$/))return ut;Je=JSON.stringify(""+He),Je.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Je=Je.substr(1,Je.length-2),Je=Xe.stylize(Je,"name")):(Je=Je.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Je=Xe.stylize(Je,"string"))}return Je+": "+ut}function te(Xe,Ve,We){var ze=0,He=Xe.reduce(function(tt,Je){return ze++,Je.indexOf(`
|
|
|
`)>=0&&ze++,tt+Je.replace(/\u001b\[\d\d?m/g,"").length+1},0);return He>60?We[0]+(Ve===""?"":Ve+`
|
|
|
`)+" "+Xe.join(`,
|
|
|
`)+" "+We[1]:We[0]+Ve+" "+Xe.join(", ")+" "+We[1]}function le(Xe){return Array.isArray(Xe)}de.isArray=le;function fe(Xe){return typeof Xe=="boolean"}de.isBoolean=fe;function pe(Xe){return Xe===null}de.isNull=pe;function me(Xe){return Xe==null}de.isNullOrUndefined=me;function ge(Xe){return typeof Xe=="number"}de.isNumber=ge;function Se(Xe){return typeof Xe=="string"}de.isString=Se;function ye(Xe){return typeof Xe=="symbol"}de.isSymbol=ye;function Pe(Xe){return Xe===void 0}de.isUndefined=Pe;function we(Xe){return De(Xe)&&Me(Xe)==="[object RegExp]"}de.isRegExp=we;function De(Xe){return typeof Xe=="object"&&Xe!==null}de.isObject=De;function Ee(Xe){return De(Xe)&&Me(Xe)==="[object Date]"}de.isDate=Ee;function Ae(Xe){return De(Xe)&&(Me(Xe)==="[object Error]"||Xe instanceof Error)}de.isError=Ae;function Ce(Xe){return typeof Xe=="function"}de.isFunction=Ce;function Ie(Xe){return Xe===null||typeof Xe=="boolean"||typeof Xe=="number"||typeof Xe=="string"||typeof Xe=="symbol"||typeof Xe=="undefined"}de.isPrimitive=Ie,de.isBuffer=E("./support/isBuffer");function Me(Xe){return Object.prototype.toString.call(Xe)}function Ge(Xe){return Xe<10?"0"+Xe.toString(10):Xe.toString(10)}var Be=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Qe(){var Xe=new Date,Ve=[Ge(Xe.getHours()),Ge(Xe.getMinutes()),Ge(Xe.getSeconds())].join(":");return[Xe.getDate(),Be[Xe.getMonth()],Ve].join(" ")}de.log=function(){console.log("%s - %s",Qe(),de.format.apply(de,arguments))},de.inherits=E("inherits"),de._extend=function(Xe,Ve){if(!Ve||!De(Ve))return Xe;for(var We=Object.keys(Ve),ze=We.length;ze--;)Xe[We[ze]]=Ve[We[ze]];return Xe};function qe(Xe,Ve){return Object.prototype.hasOwnProperty.call(Xe,Ve)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,he,de){(function(se){(function(){"use strict";var ne=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ie=typeof globalThis=="undefined"?se:globalThis;he.exports=function(){for(var ue=[],ae=0;ae<ne.length;ae++)typeof ie[ne[ae]]=="function"&&(ue[ue.length]=ne[ae]);return ue}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(E,he,de){"use strict";de.byteLength=re,de.toByteArray=a,de.fromByteArray=b;for(var se=[],ne=[],ie=typeof Uint8Array!="undefined"?Uint8Array:Array,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=0,ae=ce.length;ue<ae;++ue)se[ue]=ce[ue],ne[ce.charCodeAt(ue)]=ue;ne[45]=62,ne[95]=63;function oe(z){var te=z.length;if(te%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var le=z.indexOf("=");le===-1&&(le=te);var fe=le===te?0:4-le%4;return[le,fe]}function re(z){var te=oe(z),le=te[0],fe=te[1];return(le+fe)*3/4-fe}function ee(z,te,le){return(te+le)*3/4-le}function a(z){var te,le=oe(z),fe=le[0],pe=le[1],me=new ie(ee(z,fe,pe)),ge=0,Se=pe>0?fe-4:fe,ye;for(ye=0;ye<Se;ye+=4)te=ne[z.charCodeAt(ye)]<<18|ne[z.charCodeAt(ye+1)]<<12|ne[z.charCodeAt(ye+2)]<<6|ne[z.charCodeAt(ye+3)],me[ge++]=te>>16&255,me[ge++]=te>>8&255,me[ge++]=te&255;return pe===2&&(te=ne[z.charCodeAt(ye)]<<2|ne[z.charCodeAt(ye+1)]>>4,me[ge++]=te&255),pe===1&&(te=ne[z.charCodeAt(ye)]<<10|ne[z.charCodeAt(ye+1)]<<4|ne[z.charCodeAt(ye+2)]>>2,me[ge++]=te>>8&255,me[ge++]=te&255),me}function y(z){return se[z>>18&63]+se[z>>12&63]+se[z>>6&63]+se[z&63]}function x(z,te,le){for(var fe,pe=[],me=te;me<le;me+=3)fe=(z[me]<<16&16711680)+(z[me+1]<<8&65280)+(z[me+2]&255),pe.push(y(fe));return pe.join("")}function b(z){for(var te,le=z.length,fe=le%3,pe=[],me=16383,ge=0,Se=le-fe;ge<Se;ge+=me)pe.push(x(z,ge,ge+me>Se?Se:ge+me));return fe===1?(te=z[le-1],pe.push(se[te>>2]+se[te<<4&63]+"==")):fe===2&&(te=(z[le-2]<<8)+z[le-1],pe.push(se[te>>10]+se[te>>4&63]+se[te<<2&63]+"=")),pe.join("")}},{}],88:[function(E,he,de){(function(se,ne,ie){typeof he!="undefined"&&he.exports?he.exports=ie():typeof ve=="function"&&ve.amd?ve(ne,ie):se[ne]=ie()})(this,"bowser",function(){var se=!0;function ne(ee){function a(Ve){var We=ee.match(Ve);return We&&We.length>1&&We[1]||""}function y(Ve){var We=ee.match(Ve);return We&&We.length>1&&We[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(ee),z=!b&&/android/i.test(ee),te=/nexus\s*[0-6]\s*/i.test(ee),le=!te&&/nexus\s*[0-9]+/i.test(ee),fe=/CrOS/.test(ee),pe=/silk/i.test(ee),me=/sailfish/i.test(ee),ge=/tizen/i.test(ee),Se=/(web|hpw)(o|0)s/i.test(ee),ye=/windows phone/i.test(ee),Pe=/SamsungBrowser/i.test(ee),we=!ye&&/windows/i.test(ee),De=!x&&!pe&&/macintosh/i.test(ee),Ee=!z&&!me&&!ge&&!Se&&/linux/i.test(ee),Ae=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ce=a(/version\/(\d+(\.\d+)?)/i),Ie=/tablet/i.test(ee)&&!/tablet pc/i.test(ee),Me=!Ie&&/[^-]mobi/i.test(ee),Ge=/xbox/i.test(ee),Be;/opera/i.test(ee)?Be={name:"Opera",opera:se,version:Ce||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ee)?Be={name:"Opera",opera:se,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ce}:/SamsungBrowser/i.test(ee)?Be={name:"Samsung Internet for Android",samsungBrowser:se,version:Ce||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ee)?Be={name:"NAVER Whale browser",whale:se,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ee)?Be={name:"MZ Browser",mzbrowser:se,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ee)?Be={name:"Opera Coast",coast:se,version:Ce||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ee)?Be={name:"Focus",focus:se,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ee)?Be={name:"Yandex Browser",yandexbrowser:se,version:Ce||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ee)?Be={name:"UC Browser",ucbrowser:se,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ee)?Be={name:"Maxthon",maxthon:se,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ee)?Be={name:"Epiphany",epiphany:se,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ee)?Be={name:"Puffin",puffin:se,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ee)?Be={name:"Sleipnir",sleipnir:se,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ee)?Be={name:"K-Meleon",kMeleon:se,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ye?(Be={name:"Windows Phone",osname:"Windows Phone",windowsphone:se},Ae?(Be.msedge=se,Be.version=Ae):(Be.msie=se,Be.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ee)?Be={name:"Internet Explorer",msie:se,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:fe?Be={name:"Chrome",osname:"Chrome OS",chromeos:se,chromeBook:se,chrome:se,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ee)?Be={name:"Microsoft Edge",msedge:se,version:Ae}:/vivaldi/i.test(ee)?Be={name:"Vivaldi",vivaldi:se,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ce}:me?Be={name:"Sailfish",osname:"Sailfish OS",sailfish:se,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ee)?Be={name:"SeaMonkey",seamonkey:se,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ee)?(Be={name:"Firefox",firefox:se,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ee)&&(Be.firefoxos=se,Be.osname="Firefox OS")):pe?Be={name:"Amazon Silk",silk:se,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ee)?Be={name:"PhantomJS",phantom:se,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ee)?Be={name:"SlimerJS",slimer:se,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ee)||/rim\stablet/i.test(ee)?Be={name:"BlackBerry",osname:"BlackBerry OS",blackberry:se,version:Ce||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Se?(Be={name:"WebOS",osname:"WebOS",webos:se,version:Ce||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ee)&&(Be.touchpad=se)):/bada/i.test(ee)?Be={name:"Bada",osname:"Bada",bada:se,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:ge?Be={name:"Tizen",osname:"Tizen",tizen:se,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ce}:/qupzilla/i.test(ee)?Be={name:"QupZilla",qupzilla:se,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ce}:/chromium/i.test(ee)?Be={name:"Chromium",chromium:se,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ce}:/chrome|crios|crmo/i.test(ee)?Be={name:"Chrome",chrome:se,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?Be={name:"Android",version:Ce}:/safari|applewebkit/i.test(ee)?(Be={name:"Safari",safari:se},Ce&&(Be.version=Ce)):x?(Be={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Ce&&(Be.version=Ce)):/googlebot/i.test(ee)?Be={name:"Googlebot",googlebot:se,version:a(/googlebot\/(\d+(\.\d+))/i)||Ce}:Be={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Be.msedge&&/(apple)?webkit/i.test(ee)?(/(apple)?webkit\/537\.36/i.test(ee)?(Be.name=Be.name||"Blink",Be.blink=se):(Be.name=Be.name||"Webkit",Be.webkit=se),!Be.version&&Ce&&(Be.version=Ce)):!Be.opera&&/gecko\//i.test(ee)&&(Be.name=Be.name||"Gecko",Be.gecko=se,Be.version=Be.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Be.windowsphone&&(z||Be.silk)?(Be.android=se,Be.osname="Android"):!Be.windowsphone&&x?(Be[x]=se,Be.ios=se,Be.osname="iOS"):De?(Be.mac=se,Be.osname="macOS"):Ge?(Be.xbox=se,Be.osname="Xbox"):we?(Be.windows=se,Be.osname="Windows"):Ee&&(Be.linux=se,Be.osname="Linux");function Qe(Ve){switch(Ve){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var qe="";Be.windows?qe=Qe(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Be.windowsphone?qe=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Be.mac?(qe=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),qe=qe.replace(/[_\s]/g,".")):x?(qe=a(/os (\d+([_\s]\d+)*) like mac os x/i),qe=qe.replace(/[_\s]/g,".")):z?qe=a(/android[ \/-](\d+(\.\d+)*)/i):Be.webos?qe=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Be.blackberry?qe=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Be.bada?qe=a(/bada\/(\d+(\.\d+)*)/i):Be.tizen&&(qe=a(/tizen[\/\s](\d+(\.\d+)*)/i)),qe&&(Be.osversion=qe);var Xe=!Be.windows&&qe.split(".")[0];return Ie||le||x=="ipad"||z&&(Xe==3||Xe>=4&&!Me)||Be.silk?Be.tablet=se:(Me||x=="iphone"||x=="ipod"||z||te||Be.blackberry||Be.webos||Be.bada)&&(Be.mobile=se),Be.msedge||Be.msie&&Be.version>=10||Be.yandexbrowser&&Be.version>=15||Be.vivaldi&&Be.version>=1||Be.chrome&&Be.version>=20||Be.samsungBrowser&&Be.version>=4||Be.whale&&ae([Be.version,"1.0"])===1||Be.mzbrowser&&ae([Be.version,"6.0"])===1||Be.focus&&ae([Be.version,"1.0"])===1||Be.firefox&&Be.version>=20||Be.safari&&Be.version>=6||Be.opera&&Be.version>=10||Be.ios&&Be.osversion&&Be.osversion.split(".")[0]>=6||Be.blackberry&&Be.version>=10.1||Be.chromium&&Be.version>=20?Be.a=se:Be.msie&&Be.version<10||Be.chrome&&Be.version<20||Be.firefox&&Be.version<20||Be.safari&&Be.version<6||Be.opera&&Be.version<10||Be.ios&&Be.osversion&&Be.osversion.split(".")[0]<6||Be.chromium&&Be.version<20?Be.c=se:Be.x=se,Be}var ie=ne(typeof navigator!="undefined"&&navigator.userAgent||"");ie.test=function(ee){for(var a=0;a<ee.length;++a){var y=ee[a];if(typeof y=="string"&&y in ie)return!0}return!1};function ce(ee){return ee.split(".").length}function ue(ee,a){var y=[],x;if(Array.prototype.map)return Array.prototype.map.call(ee,a);for(x=0;x<ee.length;x++)y.push(a(ee[x]));return y}function ae(ee){for(var a=Math.max(ce(ee[0]),ce(ee[1])),y=ue(ee,function(x){var b=a-ce(x);return x=x+new Array(b+1).join(".0"),ue(x.split("."),function(z){return new Array(20-z.length).join("0")+z}).reverse()});--a>=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function oe(ee,a,y){var x=ie;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=ne(y));var b=""+x.version;for(var z in ee)if(ee.hasOwnProperty(z)&&x[z]){if(typeof ee[z]!="string")throw new Error("Browser version in the minVersion map should be a string: "+z+": "+String(ee));return ae([b,ee[z]])<0}return a}function re(ee,a,y){return!oe(ee,a,y)}return ie.isUnsupportedBrowser=oe,ie.compareVersions=ae,ie.check=re,ie._detect=ne,ie.detect=ne,ie})},{}],89:[function(E,he,de){},{}],90:[function(E,he,de){(function(se){(function(){"use strict";var ne=E("base64-js"),ie=E("ieee754");de.Buffer=oe,de.SlowBuffer=fe,de.INSPECT_MAX_BYTES=50;var ce=2147483647;de.kMaxLength=ce,oe.TYPED_ARRAY_SUPPORT=ue(),!oe.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ue(){try{var Oe=new Uint8Array(1);return Oe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Oe.foo()===42}catch(Te){return!1}}Object.defineProperty(oe.prototype,"parent",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.buffer}}),Object.defineProperty(oe.prototype,"offset",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.byteOffset}});function ae(Oe){if(Oe>ce)throw new RangeError('The value "'+Oe+'" is invalid for option "size"');var Te=new Uint8Array(Oe);return Te.__proto__=oe.prototype,Te}function oe(Oe,Te,xe){if(typeof Oe=="number"){if(typeof Te=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Oe)}return re(Oe,Te,xe)}typeof Symbol!="undefined"&&Symbol.species!=null&&oe[Symbol.species]===oe&&Object.defineProperty(oe,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),oe.poolSize=8192;function re(Oe,Te,xe){if(typeof Oe=="string")return x(Oe,Te);if(ArrayBuffer.isView(Oe))return b(Oe);if(Oe==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Oe);if(Ze(Oe,ArrayBuffer)||Oe&&Ze(Oe.buffer,ArrayBuffer))return z(Oe,Te,xe);if(typeof Oe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Re=Oe.valueOf&&Oe.valueOf();if(Re!=null&&Re!==Oe)return oe.from(Re,Te,xe);var Ke=te(Oe);if(Ke)return Ke;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Oe[Symbol.toPrimitive]=="function")return oe.from(Oe[Symbol.toPrimitive]("string"),Te,xe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Oe)}oe.from=function(Oe,Te,xe){return re(Oe,Te,xe)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function ee(Oe){if(typeof Oe!="number")throw new TypeError('"size" argument must be of type number');if(Oe<0)throw new RangeError('The value "'+Oe+'" is invalid for option "size"')}function a(Oe,Te,xe){return ee(Oe),Oe<=0?ae(Oe):Te!==void 0?typeof xe=="string"?ae(Oe).fill(Te,xe):ae(Oe).fill(Te):ae(Oe)}oe.alloc=function(Oe,Te,xe){return a(Oe,Te,xe)};function y(Oe){return ee(Oe),ae(Oe<0?0:le(Oe)|0)}oe.allocUnsafe=function(Oe){return y(Oe)},oe.allocUnsafeSlow=function(Oe){return y(Oe)};function x(Oe,Te){if((typeof Te!="string"||Te==="")&&(Te="utf8"),!oe.isEncoding(Te))throw new TypeError("Unknown encoding: "+Te);var xe=pe(Oe,Te)|0,Re=ae(xe),Ke=Re.write(Oe,Te);return Ke!==xe&&(Re=Re.slice(0,Ke)),Re}function b(Oe){for(var Te=Oe.length<0?0:le(Oe.length)|0,xe=ae(Te),Re=0;Re<Te;Re+=1)xe[Re]=Oe[Re]&255;return xe}function z(Oe,Te,xe){if(Te<0||Oe.byteLength<Te)throw new RangeError('"offset" is outside of buffer bounds');if(Oe.byteLength<Te+(xe||0))throw new RangeError('"length" is outside of buffer bounds');var Re;return Te===void 0&&xe===void 0?Re=new Uint8Array(Oe):xe===void 0?Re=new Uint8Array(Oe,Te):Re=new Uint8Array(Oe,Te,xe),Re.__proto__=oe.prototype,Re}function te(Oe){if(oe.isBuffer(Oe)){var Te=le(Oe.length)|0,xe=ae(Te);return xe.length===0||Oe.copy(xe,0,0,Te),xe}if(Oe.length!==void 0)return typeof Oe.length!="number"||Fe(Oe.length)?ae(0):b(Oe);if(Oe.type==="Buffer"&&Array.isArray(Oe.data))return b(Oe.data)}function le(Oe){if(Oe>=ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ce.toString(16)+" bytes");return Oe|0}function fe(Oe){return+Oe!=Oe&&(Oe=0),oe.alloc(+Oe)}oe.isBuffer=function(Te){return Te!=null&&Te._isBuffer===!0&&Te!==oe.prototype},oe.compare=function(Te,xe){if(Ze(Te,Uint8Array)&&(Te=oe.from(Te,Te.offset,Te.byteLength)),Ze(xe,Uint8Array)&&(xe=oe.from(xe,xe.offset,xe.byteLength)),!oe.isBuffer(Te)||!oe.isBuffer(xe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Te===xe)return 0;for(var Re=Te.length,Ke=xe.length,ot=0,ke=Math.min(Re,Ke);ot<ke;++ot)if(Te[ot]!==xe[ot]){Re=Te[ot],Ke=xe[ot];break}return Re<Ke?-1:Ke<Re?1:0},oe.isEncoding=function(Te){switch(String(Te).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}},oe.concat=function(Te,xe){if(!Array.isArray(Te))throw new TypeError('"list" argument must be an Array of Buffers');if(Te.length===0)return oe.alloc(0);var Re;if(xe===void 0)for(xe=0,Re=0;Re<Te.length;++Re)xe+=Te[Re].length;var Ke=oe.allocUnsafe(xe),ot=0;for(Re=0;Re<Te.length;++Re){var ke=Te[Re];if(Ze(ke,Uint8Array)&&(ke=oe.from(ke)),!oe.isBuffer(ke))throw new TypeError('"list" argument must be an Array of Buffers');ke.copy(Ke,ot),ot+=ke.length}return Ke};function pe(Oe,Te){if(oe.isBuffer(Oe))return Oe.length;if(ArrayBuffer.isView(Oe)||Ze(Oe,ArrayBuffer))return Oe.byteLength;if(typeof Oe!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Oe);var xe=Oe.length,Re=arguments.length>2&&arguments[2]===!0;if(!Re&&xe===0)return 0;for(var Ke=!1;;)switch(Te){case"ascii":case"latin1":case"binary":return xe;case"utf8":case"utf-8":return je(Oe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe*2;case"hex":return xe>>>1;case"base64":return Ne(Oe).length;default:if(Ke)return Re?-1:je(Oe).length;Te=(""+Te).toLowerCase(),Ke=!0}}oe.byteLength=pe;function me(Oe,Te,xe){var Re=!1;if((Te===void 0||Te<0)&&(Te=0),Te>this.length||((xe===void 0||xe>this.length)&&(xe=this.length),xe<=0)||(xe>>>=0,Te>>>=0,xe<=Te))return"";for(Oe||(Oe="utf8");;)switch(Oe){case"hex":return Xe(this,Te,xe);case"utf8":case"utf-8":return Me(this,Te,xe);case"ascii":return Qe(this,Te,xe);case"latin1":case"binary":return qe(this,Te,xe);case"base64":return Ie(this,Te,xe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ve(this,Te,xe);default:if(Re)throw new TypeError("Unknown encoding: "+Oe);Oe=(Oe+"").toLowerCase(),Re=!0}}oe.prototype._isBuffer=!0;function ge(Oe,Te,xe){var Re=Oe[Te];Oe[Te]=Oe[xe],Oe[xe]=Re}oe.prototype.swap16=function(){var Te=this.length;if(Te%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var xe=0;xe<Te;xe+=2)ge(this,xe,xe+1);return this},oe.prototype.swap32=function(){var Te=this.length;if(Te%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var xe=0;xe<Te;xe+=4)ge(this,xe,xe+3),ge(this,xe+1,xe+2);return this},oe.prototype.swap64=function(){var Te=this.length;if(Te%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var xe=0;xe<Te;xe+=8)ge(this,xe,xe+7),ge(this,xe+1,xe+6),ge(this,xe+2,xe+5),ge(this,xe+3,xe+4);return this},oe.prototype.toString=function(){var Te=this.length;return Te===0?"":arguments.length===0?Me(this,0,Te):me.apply(this,arguments)},oe.prototype.toLocaleString=oe.prototype.toString,oe.prototype.equals=function(Te){if(!oe.isBuffer(Te))throw new TypeError("Argument must be a Buffer");return this===Te?!0:oe.compare(this,Te)===0},oe.prototype.inspect=function(){var Te="",xe=de.INSPECT_MAX_BYTES;return Te=this.toString("hex",0,xe).replace(/(.{2})/g,"$1 ").trim(),this.length>xe&&(Te+=" ... "),"<Buffer "+Te+">"},oe.prototype.compare=function(Te,xe,Re,Ke,ot){if(Ze(Te,Uint8Array)&&(Te=oe.from(Te,Te.offset,Te.byteLength)),!oe.isBuffer(Te))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Te);if(xe===void 0&&(xe=0),Re===void 0&&(Re=Te?Te.length:0),Ke===void 0&&(Ke=0),ot===void 0&&(ot=this.length),xe<0||Re>Te.length||Ke<0||ot>this.length)throw new RangeError("out of range index");if(Ke>=ot&&xe>=Re)return 0;if(Ke>=ot)return-1;if(xe>=Re)return 1;if(xe>>>=0,Re>>>=0,Ke>>>=0,ot>>>=0,this===Te)return 0;for(var ke=ot-Ke,nt=Re-xe,mt=Math.min(ke,nt),ct=this.slice(Ke,ot),ht=Te.slice(xe,Re),lt=0;lt<mt;++lt)if(ct[lt]!==ht[lt]){ke=ct[lt],nt=ht[lt];break}return ke<nt?-1:nt<ke?1:0};function Se(Oe,Te,xe,Re,Ke){if(Oe.length===0)return-1;if(typeof xe=="string"?(Re=xe,xe=0):xe>2147483647?xe=2147483647:xe<-2147483648&&(xe=-2147483648),xe=+xe,Fe(xe)&&(xe=Ke?0:Oe.length-1),xe<0&&(xe=Oe.length+xe),xe>=Oe.length){if(Ke)return-1;xe=Oe.length-1}else if(xe<0)if(Ke)xe=0;else return-1;if(typeof Te=="string"&&(Te=oe.from(Te,Re)),oe.isBuffer(Te))return Te.length===0?-1:ye(Oe,Te,xe,Re,Ke);if(typeof Te=="number")return Te=Te&255,typeof Uint8Array.prototype.indexOf=="function"?Ke?Uint8Array.prototype.indexOf.call(Oe,Te,xe):Uint8Array.prototype.lastIndexOf.call(Oe,Te,xe):ye(Oe,[Te],xe,Re,Ke);throw new TypeError("val must be string, number or Buffer")}function ye(Oe,Te,xe,Re,Ke){var ot=1,ke=Oe.length,nt=Te.length;if(Re!==void 0&&(Re=String(Re).toLowerCase(),Re==="ucs2"||Re==="ucs-2"||Re==="utf16le"||Re==="utf-16le")){if(Oe.length<2||Te.length<2)return-1;ot=2,ke/=2,nt/=2,xe/=2}function mt(at,st){return ot===1?at[st]:at.readUInt16BE(st*ot)}var ct;if(Ke){var ht=-1;for(ct=xe;ct<ke;ct++)if(mt(Oe,ct)===mt(Te,ht===-1?0:ct-ht)){if(ht===-1&&(ht=ct),ct-ht+1===nt)return ht*ot}else ht!==-1&&(ct-=ct-ht),ht=-1}else for(xe+nt>ke&&(xe=ke-nt),ct=xe;ct>=0;ct--){for(var lt=!0,pt=0;pt<nt;pt++)if(mt(Oe,ct+pt)!==mt(Te,pt)){lt=!1;break}if(lt)return ct}return-1}oe.prototype.includes=function(Te,xe,Re){return this.indexOf(Te,xe,Re)!==-1},oe.prototype.indexOf=function(Te,xe,Re){return Se(this,Te,xe,Re,!0)},oe.prototype.lastIndexOf=function(Te,xe,Re){return Se(this,Te,xe,Re,!1)};function Pe(Oe,Te,xe,Re){xe=Number(xe)||0;var Ke=Oe.length-xe;Re?(Re=Number(Re),Re>Ke&&(Re=Ke)):Re=Ke;var ot=Te.length;Re>ot/2&&(Re=ot/2);for(var ke=0;ke<Re;++ke){var nt=parseInt(Te.substr(ke*2,2),16);if(Fe(nt))return ke;Oe[xe+ke]=nt}return ke}function we(Oe,Te,xe,Re){return et(je(Te,Oe.length-xe),Oe,xe,Re)}function De(Oe,Te,xe,Re){return et($e(Te),Oe,xe,Re)}function Ee(Oe,Te,xe,Re){return De(Oe,Te,xe,Re)}function Ae(Oe,Te,xe,Re){return et(Ne(Te),Oe,xe,Re)}function Ce(Oe,Te,xe,Re){return et(Le(Te,Oe.length-xe),Oe,xe,Re)}oe.prototype.write=function(Te,xe,Re,Ke){if(xe===void 0)Ke="utf8",Re=this.length,xe=0;else if(Re===void 0&&typeof xe=="string")Ke=xe,Re=this.length,xe=0;else if(isFinite(xe))xe=xe>>>0,isFinite(Re)?(Re=Re>>>0,Ke===void 0&&(Ke="utf8")):(Ke=Re,Re=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ot=this.length-xe;if((Re===void 0||Re>ot)&&(Re=ot),Te.length>0&&(Re<0||xe<0)||xe>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ke||(Ke="utf8");for(var ke=!1;;)switch(Ke){case"hex":return Pe(this,Te,xe,Re);case"utf8":case"utf-8":return we(this,Te,xe,Re);case"ascii":return De(this,Te,xe,Re);case"latin1":case"binary":return Ee(this,Te,xe,Re);case"base64":return Ae(this,Te,xe,Re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(this,Te,xe,Re);default:if(ke)throw new TypeError("Unknown encoding: "+Ke);Ke=(""+Ke).toLowerCase(),ke=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ie(Oe,Te,xe){return Te===0&&xe===Oe.length?ne.fromByteArray(Oe):ne.fromByteArray(Oe.slice(Te,xe))}function Me(Oe,Te,xe){xe=Math.min(Oe.length,xe);for(var Re=[],Ke=Te;Ke<xe;){var ot=Oe[Ke],ke=null,nt=ot>239?4:ot>223?3:ot>191?2:1;if(Ke+nt<=xe){var mt,ct,ht,lt;switch(nt){case 1:ot<128&&(ke=ot);break;case 2:mt=Oe[Ke+1],(mt&192)===128&&(lt=(ot&31)<<6|mt&63,lt>127&&(ke=lt));break;case 3:mt=Oe[Ke+1],ct=Oe[Ke+2],(mt&192)===128&&(ct&192)===128&&(lt=(ot&15)<<12|(mt&63)<<6|ct&63,lt>2047&&(lt<55296||lt>57343)&&(ke=lt));break;case 4:mt=Oe[Ke+1],ct=Oe[Ke+2],ht=Oe[Ke+3],(mt&192)===128&&(ct&192)===128&&(ht&192)===128&&(lt=(ot&15)<<18|(mt&63)<<12|(ct&63)<<6|ht&63,lt>65535&<<1114112&&(ke=lt))}}ke===null?(ke=65533,nt=1):ke>65535&&(ke-=65536,Re.push(ke>>>10&1023|55296),ke=56320|ke&1023),Re.push(ke),Ke+=nt}return Be(Re)}var Ge=4096;function Be(Oe){var Te=Oe.length;if(Te<=Ge)return String.fromCharCode.apply(String,Oe);for(var xe="",Re=0;Re<Te;)xe+=String.fromCharCode.apply(String,Oe.slice(Re,Re+=Ge));return xe}function Qe(Oe,Te,xe){var Re="";xe=Math.min(Oe.length,xe);for(var Ke=Te;Ke<xe;++Ke)Re+=String.fromCharCode(Oe[Ke]&127);return Re}function qe(Oe,Te,xe){var Re="";xe=Math.min(Oe.length,xe);for(var Ke=Te;Ke<xe;++Ke)Re+=String.fromCharCode(Oe[Ke]);return Re}function Xe(Oe,Te,xe){var Re=Oe.length;(!Te||Te<0)&&(Te=0),(!xe||xe<0||xe>Re)&&(xe=Re);for(var Ke="",ot=Te;ot<xe;++ot)Ke+=Ue(Oe[ot]);return Ke}function Ve(Oe,Te,xe){for(var Re=Oe.slice(Te,xe),Ke="",ot=0;ot<Re.length;ot+=2)Ke+=String.fromCharCode(Re[ot]+Re[ot+1]*256);return Ke}oe.prototype.slice=function(Te,xe){var Re=this.length;Te=~~Te,xe=xe===void 0?Re:~~xe,Te<0?(Te+=Re,Te<0&&(Te=0)):Te>Re&&(Te=Re),xe<0?(xe+=Re,xe<0&&(xe=0)):xe>Re&&(xe=Re),xe<Te&&(xe=Te);var Ke=this.subarray(Te,xe);return Ke.__proto__=oe.prototype,Ke};function We(Oe,Te,xe){if(Oe%1!==0||Oe<0)throw new RangeError("offset is not uint");if(Oe+Te>xe)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Te,xe,Re){Te=Te>>>0,xe=xe>>>0,Re||We(Te,xe,this.length);for(var Ke=this[Te],ot=1,ke=0;++ke<xe&&(ot*=256);)Ke+=this[Te+ke]*ot;return Ke},oe.prototype.readUIntBE=function(Te,xe,Re){Te=Te>>>0,xe=xe>>>0,Re||We(Te,xe,this.length);for(var Ke=this[Te+--xe],ot=1;xe>0&&(ot*=256);)Ke+=this[Te+--xe]*ot;return Ke},oe.prototype.readUInt8=function(Te,xe){return Te=Te>>>0,xe||We(Te,1,this.length),this[Te]},oe.prototype.readUInt16LE=function(Te,xe){return Te=Te>>>0,xe||We(Te,2,this.length),this[Te]|this[Te+1]<<8},oe.prototype.readUInt16BE=function(Te,xe){return Te=Te>>>0,xe||We(Te,2,this.length),this[Te]<<8|this[Te+1]},oe.prototype.readUInt32LE=function(Te,xe){return Te=Te>>>0,xe||We(Te,4,this.length),(this[Te]|this[Te+1]<<8|this[Te+2]<<16)+this[Te+3]*16777216},oe.prototype.readUInt32BE=function(Te,xe){return Te=Te>>>0,xe||We(Te,4,this.length),this[Te]*16777216+(this[Te+1]<<16|this[Te+2]<<8|this[Te+3])},oe.prototype.readIntLE=function(Te,xe,Re){Te=Te>>>0,xe=xe>>>0,Re||We(Te,xe,this.length);for(var Ke=this[Te],ot=1,ke=0;++ke<xe&&(ot*=256);)Ke+=this[Te+ke]*ot;return ot*=128,Ke>=ot&&(Ke-=Math.pow(2,8*xe)),Ke},oe.prototype.readIntBE=function(Te,xe,Re){Te=Te>>>0,xe=xe>>>0,Re||We(Te,xe,this.length);for(var Ke=xe,ot=1,ke=this[Te+--Ke];Ke>0&&(ot*=256);)ke+=this[Te+--Ke]*ot;return ot*=128,ke>=ot&&(ke-=Math.pow(2,8*xe)),ke},oe.prototype.readInt8=function(Te,xe){return Te=Te>>>0,xe||We(Te,1,this.length),this[Te]&128?(255-this[Te]+1)*-1:this[Te]},oe.prototype.readInt16LE=function(Te,xe){Te=Te>>>0,xe||We(Te,2,this.length);var Re=this[Te]|this[Te+1]<<8;return Re&32768?Re|4294901760:Re},oe.prototype.readInt16BE=function(Te,xe){Te=Te>>>0,xe||We(Te,2,this.length);var Re=this[Te+1]|this[Te]<<8;return Re&32768?Re|4294901760:Re},oe.prototype.readInt32LE=function(Te,xe){return Te=Te>>>0,xe||We(Te,4,this.length),this[Te]|this[Te+1]<<8|this[Te+2]<<16|this[Te+3]<<24},oe.prototype.readInt32BE=function(Te,xe){return Te=Te>>>0,xe||We(Te,4,this.length),this[Te]<<24|this[Te+1]<<16|this[Te+2]<<8|this[Te+3]},oe.prototype.readFloatLE=function(Te,xe){return Te=Te>>>0,xe||We(Te,4,this.length),ie.read(this,Te,!0,23,4)},oe.prototype.readFloatBE=function(Te,xe){return Te=Te>>>0,xe||We(Te,4,this.length),ie.read(this,Te,!1,23,4)},oe.prototype.readDoubleLE=function(Te,xe){return Te=Te>>>0,xe||We(Te,8,this.length),ie.read(this,Te,!0,52,8)},oe.prototype.readDoubleBE=function(Te,xe){return Te=Te>>>0,xe||We(Te,8,this.length),ie.read(this,Te,!1,52,8)};function ze(Oe,Te,xe,Re,Ke,ot){if(!oe.isBuffer(Oe))throw new TypeError('"buffer" argument must be a Buffer instance');if(Te>Ke||Te<ot)throw new RangeError('"value" argument is out of bounds');if(xe+Re>Oe.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Te,xe,Re,Ke){if(Te=+Te,xe=xe>>>0,Re=Re>>>0,!Ke){var ot=Math.pow(2,8*Re)-1;ze(this,Te,xe,Re,ot,0)}var ke=1,nt=0;for(this[xe]=Te&255;++nt<Re&&(ke*=256);)this[xe+nt]=Te/ke&255;return xe+Re},oe.prototype.writeUIntBE=function(Te,xe,Re,Ke){if(Te=+Te,xe=xe>>>0,Re=Re>>>0,!Ke){var ot=Math.pow(2,8*Re)-1;ze(this,Te,xe,Re,ot,0)}var ke=Re-1,nt=1;for(this[xe+ke]=Te&255;--ke>=0&&(nt*=256);)this[xe+ke]=Te/nt&255;return xe+Re},oe.prototype.writeUInt8=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||ze(this,Te,xe,1,255,0),this[xe]=Te&255,xe+1},oe.prototype.writeUInt16LE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||ze(this,Te,xe,2,65535,0),this[xe]=Te&255,this[xe+1]=Te>>>8,xe+2},oe.prototype.writeUInt16BE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||ze(this,Te,xe,2,65535,0),this[xe]=Te>>>8,this[xe+1]=Te&255,xe+2},oe.prototype.writeUInt32LE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||ze(this,Te,xe,4,4294967295,0),this[xe+3]=Te>>>24,this[xe+2]=Te>>>16,this[xe+1]=Te>>>8,this[xe]=Te&255,xe+4},oe.prototype.writeUInt32BE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||ze(this,Te,xe,4,4294967295,0),this[xe]=Te>>>24,this[xe+1]=Te>>>16,this[xe+2]=Te>>>8,this[xe+3]=Te&255,xe+4},oe.prototype.writeIntLE=function(Te,xe,Re,Ke){if(Te=+Te,xe=xe>>>0,!Ke){var ot=Math.pow(2,8*Re-1);ze(this,Te,xe,Re,ot-1,-ot)}var ke=0,nt=1,mt=0;for(this[xe]=Te&255;++ke<Re&&(nt*=256);)Te<0&&mt===0&&this[xe+ke-1]!==0&&(mt=1),this[xe+ke]=(Te/nt>>0)-mt&255;return xe+Re},oe.prototype.writeIntBE=function(Te,xe,Re,Ke){if(Te=+Te,xe=xe>>>0,!Ke){var ot=Math.pow(2,8*Re-1);ze(this,Te,xe,Re,ot-1,-ot)}var ke=Re-1,nt=1,mt=0;for(this[xe+ke]=Te&255;--ke>=0&&(nt*=256);)Te<0&&mt===0&&this[xe+ke+1]!==0&&(mt=1),this[xe+ke]=(Te/nt>>0)-mt&255;return xe+Re},oe.prototype.writeInt8=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||ze(this,Te,xe,1,127,-128),Te<0&&(Te=255+Te+1),this[xe]=Te&255,xe+1},oe.prototype.writeInt16LE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||ze(this,Te,xe,2,32767,-32768),this[xe]=Te&255,this[xe+1]=Te>>>8,xe+2},oe.prototype.writeInt16BE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||ze(this,Te,xe,2,32767,-32768),this[xe]=Te>>>8,this[xe+1]=Te&255,xe+2},oe.prototype.writeInt32LE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||ze(this,Te,xe,4,2147483647,-2147483648),this[xe]=Te&255,this[xe+1]=Te>>>8,this[xe+2]=Te>>>16,this[xe+3]=Te>>>24,xe+4},oe.prototype.writeInt32BE=function(Te,xe,Re){return Te=+Te,xe=xe>>>0,Re||ze(this,Te,xe,4,2147483647,-2147483648),Te<0&&(Te=4294967295+Te+1),this[xe]=Te>>>24,this[xe+1]=Te>>>16,this[xe+2]=Te>>>8,this[xe+3]=Te&255,xe+4};function He(Oe,Te,xe,Re,Ke,ot){if(xe+Re>Oe.length)throw new RangeError("Index out of range");if(xe<0)throw new RangeError("Index out of range")}function tt(Oe,Te,xe,Re,Ke){return Te=+Te,xe=xe>>>0,Ke||He(Oe,Te,xe,4,34028234663852886e22,-34028234663852886e22),ie.write(Oe,Te,xe,Re,23,4),xe+4}oe.prototype.writeFloatLE=function(Te,xe,Re){return tt(this,Te,xe,!0,Re)},oe.prototype.writeFloatBE=function(Te,xe,Re){return tt(this,Te,xe,!1,Re)};function Je(Oe,Te,xe,Re,Ke){return Te=+Te,xe=xe>>>0,Ke||He(Oe,Te,xe,8,17976931348623157e292,-17976931348623157e292),ie.write(Oe,Te,xe,Re,52,8),xe+8}oe.prototype.writeDoubleLE=function(Te,xe,Re){return Je(this,Te,xe,!0,Re)},oe.prototype.writeDoubleBE=function(Te,xe,Re){return Je(this,Te,xe,!1,Re)},oe.prototype.copy=function(Te,xe,Re,Ke){if(!oe.isBuffer(Te))throw new TypeError("argument should be a Buffer");if(Re||(Re=0),!Ke&&Ke!==0&&(Ke=this.length),xe>=Te.length&&(xe=Te.length),xe||(xe=0),Ke>0&&Ke<Re&&(Ke=Re),Ke===Re||Te.length===0||this.length===0)return 0;if(xe<0)throw new RangeError("targetStart out of bounds");if(Re<0||Re>=this.length)throw new RangeError("Index out of range");if(Ke<0)throw new RangeError("sourceEnd out of bounds");Ke>this.length&&(Ke=this.length),Te.length-xe<Ke-Re&&(Ke=Te.length-xe+Re);var ot=Ke-Re;if(this===Te&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(xe,Re,Ke);else if(this===Te&&Re<xe&&xe<Ke)for(var ke=ot-1;ke>=0;--ke)Te[ke+xe]=this[ke+Re];else Uint8Array.prototype.set.call(Te,this.subarray(Re,Ke),xe);return ot},oe.prototype.fill=function(Te,xe,Re,Ke){if(typeof Te=="string"){if(typeof xe=="string"?(Ke=xe,xe=0,Re=this.length):typeof Re=="string"&&(Ke=Re,Re=this.length),Ke!==void 0&&typeof Ke!="string")throw new TypeError("encoding must be a string");if(typeof Ke=="string"&&!oe.isEncoding(Ke))throw new TypeError("Unknown encoding: "+Ke);if(Te.length===1){var ot=Te.charCodeAt(0);(Ke==="utf8"&&ot<128||Ke==="latin1")&&(Te=ot)}}else typeof Te=="number"&&(Te=Te&255);if(xe<0||this.length<xe||this.length<Re)throw new RangeError("Out of range index");if(Re<=xe)return this;xe=xe>>>0,Re=Re===void 0?this.length:Re>>>0,Te||(Te=0);var ke;if(typeof Te=="number")for(ke=xe;ke<Re;++ke)this[ke]=Te;else{var nt=oe.isBuffer(Te)?Te:oe.from(Te,Ke),mt=nt.length;if(mt===0)throw new TypeError('The value "'+Te+'" is invalid for argument "value"');for(ke=0;ke<Re-xe;++ke)this[ke+xe]=nt[ke%mt]}return this};var ut=/[^+/0-9A-Za-z-_]/g;function Ye(Oe){if(Oe=Oe.split("=")[0],Oe=Oe.trim().replace(ut,""),Oe.length<2)return"";for(;Oe.length%4!==0;)Oe=Oe+"=";return Oe}function Ue(Oe){return Oe<16?"0"+Oe.toString(16):Oe.toString(16)}function je(Oe,Te){Te=Te||1/0;for(var xe,Re=Oe.length,Ke=null,ot=[],ke=0;ke<Re;++ke){if(xe=Oe.charCodeAt(ke),xe>55295&&xe<57344){if(!Ke){if(xe>56319){(Te-=3)>-1&&ot.push(239,191,189);continue}else if(ke+1===Re){(Te-=3)>-1&&ot.push(239,191,189);continue}Ke=xe;continue}if(xe<56320){(Te-=3)>-1&&ot.push(239,191,189),Ke=xe;continue}xe=(Ke-55296<<10|xe-56320)+65536}else Ke&&(Te-=3)>-1&&ot.push(239,191,189);if(Ke=null,xe<128){if((Te-=1)<0)break;ot.push(xe)}else if(xe<2048){if((Te-=2)<0)break;ot.push(xe>>6|192,xe&63|128)}else if(xe<65536){if((Te-=3)<0)break;ot.push(xe>>12|224,xe>>6&63|128,xe&63|128)}else if(xe<1114112){if((Te-=4)<0)break;ot.push(xe>>18|240,xe>>12&63|128,xe>>6&63|128,xe&63|128)}else throw new Error("Invalid code point")}return ot}function $e(Oe){for(var Te=[],xe=0;xe<Oe.length;++xe)Te.push(Oe.charCodeAt(xe)&255);return Te}function Le(Oe,Te){for(var xe,Re,Ke,ot=[],ke=0;ke<Oe.length&&!((Te-=2)<0);++ke)xe=Oe.charCodeAt(ke),Re=xe>>8,Ke=xe%256,ot.push(Ke),ot.push(Re);return ot}function Ne(Oe){return ne.toByteArray(Ye(Oe))}function et(Oe,Te,xe,Re){for(var Ke=0;Ke<Re&&!(Ke+xe>=Te.length||Ke>=Oe.length);++Ke)Te[Ke+xe]=Oe[Ke];return Ke}function Ze(Oe,Te){return Oe instanceof Te||Oe!=null&&Oe.constructor!=null&&Oe.constructor.name!=null&&Oe.constructor.name===Te.name}function Fe(Oe){return Oe!==Oe}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,he,de){he.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(E,he,de){"use strict";var se=E("get-intrinsic"),ne=E("./"),ie=ne(se("String.prototype.indexOf"));he.exports=function(ue,ae){var oe=se(ue,!!ae);return typeof oe=="function"&&ie(ue,".prototype.")>-1?ne(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(E,he,de){"use strict";var se=E("function-bind"),ne=E("get-intrinsic"),ie=ne("%Function.prototype.apply%"),ce=ne("%Function.prototype.call%"),ue=ne("%Reflect.apply%",!0)||se.call(ce,ie),ae=ne("%Object.getOwnPropertyDescriptor%",!0),oe=ne("%Object.defineProperty%",!0),re=ne("%Math.max%");if(oe)try{oe({},"a",{value:1})}catch(a){oe=null}he.exports=function(y){var x=ue(se,ce,arguments);if(ae&&oe){var b=ae(x,"length");b.configurable&&oe(x,"length",{value:1+re(0,y.length-(arguments.length-1))})}return x};var ee=function(){return ue(se,ie,arguments)};oe?oe(he.exports,"apply",{value:ee}):he.exports.apply=ee},{"function-bind":347,"get-intrinsic":348}],94:[function(E,he,de){"use strict";var se=Array.prototype.slice;he.exports=ne;function ne(ce,ue){if(!(this instanceof ne))return new ne(ce,ue);this.src=ce,this._withAccess=ue}ne.prototype.withAccess=function(ce){return this._withAccess=ce!==!1,this},ne.prototype.pick=function(ce){return Array.isArray(ce)||(ce=se.call(arguments)),ce.length&&(this.keys=ce),this},ne.prototype.to=function(ce){if(ce=ce||{},!this.src)return ce;var ue=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ae=0;ae<ue.length;ae++)oe=ue[ae],ce[oe]===void 0&&(ce[oe]=this.src[oe]);return ce}for(var ae=0;ae<ue.length;ae++){var oe=ue[ae];if(ie(ce,oe)){var re=this.src.__lookupGetter__(oe),ee=this.src.__lookupSetter__(oe);re&&ce.__defineGetter__(oe,re),ee&&ce.__defineSetter__(oe,ee),!re&&!ee&&(ce[oe]=this.src[oe])}}return ce},ne.prototype.toCover=function(ce){for(var ue=this.keys||Object.keys(this.src),ae=0;ae<ue.length;ae++){var oe=ue[ae];delete ce[oe];var re=this.src.__lookupGetter__(oe),ee=this.src.__lookupSetter__(oe);re&&ce.__defineGetter__(oe,re),ee&&ce.__defineSetter__(oe,ee),!re&&!ee&&(ce[oe]=this.src[oe])}},ne.prototype.override=ne.prototype.toCover,ne.prototype.and=function(ce){var ue={};return this.to(ue),this.src=ce,this.to(ue),this.src=ue,this};function ie(ce,ue){return ce[ue]===void 0&&ce.__lookupGetter__(ue)===void 0&&ce.__lookupSetter__(ue)===void 0}},{}],95:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/is-callable"),ie=E("../internals/try-to-string"),ce=se.TypeError;he.exports=function(ue){if(ne(ue))return ue;throw ce(ie(ue)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/is-constructor"),ie=E("../internals/try-to-string"),ce=se.TypeError;he.exports=function(ue){if(ne(ue))return ue;throw ce(ie(ue)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/is-callable"),ie=se.String,ce=se.TypeError;he.exports=function(ue){if(typeof ue=="object"||ne(ue))return ue;throw ce("Can't set "+ie(ue)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,he,de){var se=E("../internals/well-known-symbol"),ne=E("../internals/object-create"),ie=E("../internals/object-define-property"),ce=se("unscopables"),ue=Array.prototype;ue[ce]==null&&ie.f(ue,ce,{configurable:!0,value:ne(null)}),he.exports=function(ae){ue[ce][ae]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(E,he,de){"use strict";var se=E("../internals/string-multibyte").charAt;he.exports=function(ne,ie,ce){return ie+(ce?se(ne,ie).length:1)}},{"../internals/string-multibyte":239}],100:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/object-is-prototype-of"),ie=se.TypeError;he.exports=function(ce,ue){if(ne(ue,ce))return ce;throw ie("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/is-object"),ie=se.String,ce=se.TypeError;he.exports=function(ue){if(ne(ue))return ue;throw ce(ie(ue)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(E,he,de){he.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-native"),ne=E("../internals/descriptors"),ie=E("../internals/global"),ce=E("../internals/is-callable"),ue=E("../internals/is-object"),ae=E("../internals/has-own-property"),oe=E("../internals/classof"),re=E("../internals/try-to-string"),ee=E("../internals/create-non-enumerable-property"),a=E("../internals/redefine"),y=E("../internals/object-define-property").f,x=E("../internals/object-is-prototype-of"),b=E("../internals/object-get-prototype-of"),z=E("../internals/object-set-prototype-of"),te=E("../internals/well-known-symbol"),le=E("../internals/uid"),fe=ie.Int8Array,pe=fe&&fe.prototype,me=ie.Uint8ClampedArray,ge=me&&me.prototype,Se=fe&&b(fe),ye=pe&&b(pe),Pe=Object.prototype,we=ie.TypeError,De=te("toStringTag"),Ee=le("TYPED_ARRAY_TAG"),Ae=le("TYPED_ARRAY_CONSTRUCTOR"),Ce=se&&!!z&&oe(ie.opera)!=="Opera",Ie=!1,Me,Ge,Be,Qe={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},qe={BigInt64Array:8,BigUint64Array:8},Xe=function(ut){if(!ue(ut))return!1;var Ye=oe(ut);return Ye==="DataView"||ae(Qe,Ye)||ae(qe,Ye)},Ve=function(Je){if(!ue(Je))return!1;var ut=oe(Je);return ae(Qe,ut)||ae(qe,ut)},We=function(Je){if(Ve(Je))return Je;throw we("Target is not a typed array")},ze=function(Je){if(ce(Je)&&(!z||x(Se,Je)))return Je;throw we(re(Je)+" is not a typed array constructor")},He=function(Je,ut,Ye,Ue){if(ne){if(Ye)for(var je in Qe){var $e=ie[je];if($e&&ae($e.prototype,Je))try{delete $e.prototype[Je]}catch(Le){try{$e.prototype[Je]=ut}catch(Ne){}}}(!ye[Je]||Ye)&&a(ye,Je,Ye?ut:Ce&&pe[Je]||ut,Ue)}},tt=function(Je,ut,Ye){var Ue,je;if(ne){if(z){if(Ye){for(Ue in Qe)if(je=ie[Ue],je&&ae(je,Je))try{delete je[Je]}catch($e){}}if(!Se[Je]||Ye)try{return a(Se,Je,Ye?ut:Ce&&Se[Je]||ut)}catch($e){}else return}for(Ue in Qe)je=ie[Ue],je&&(!je[Je]||Ye)&&a(je,Je,ut)}};for(Me in Qe)Ge=ie[Me],Be=Ge&&Ge.prototype,Be?ee(Be,Ae,Ge):Ce=!1;for(Me in qe)Ge=ie[Me],Be=Ge&&Ge.prototype,Be&&ee(Be,Ae,Ge);if((!Ce||!ce(Se)||Se===Function.prototype)&&(Se=function(){throw we("Incorrect invocation")},Ce))for(Me in Qe)ie[Me]&&z(ie[Me],Se);if((!Ce||!ye||ye===Pe)&&(ye=Se.prototype,Ce))for(Me in Qe)ie[Me]&&z(ie[Me].prototype,ye);if(Ce&&b(ge)!==ye&&z(ge,ye),ne&&!ae(ye,De)){Ie=!0,y(ye,De,{get:function(){return ue(this)?this[Ee]:void 0}});for(Me in Qe)ie[Me]&&ee(ie[Me],Ee,Me)}he.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ce,TYPED_ARRAY_CONSTRUCTOR:Ae,TYPED_ARRAY_TAG:Ie&&Ee,aTypedArray:We,aTypedArrayConstructor:ze,exportTypedArrayMethod:He,exportTypedArrayStaticMethod:tt,isView:Xe,isTypedArray:Ve,TypedArray:Se,TypedArrayPrototype:ye}},{"../internals/array-buffer-native":102,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-define-property":198,"../internals/object-get-prototype-of":203,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/try-to-string":257,"../internals/uid":263,"../internals/well-known-symbol":268}],104:[function(E,he,de){"use strict";var se=E("../internals/global"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/descriptors"),ce=E("../internals/array-buffer-native"),ue=E("../internals/function-name"),ae=E("../internals/create-non-enumerable-property"),oe=E("../internals/redefine-all"),re=E("../internals/fails"),ee=E("../internals/an-instance"),a=E("../internals/to-integer-or-infinity"),y=E("../internals/to-length"),x=E("../internals/to-index"),b=E("../internals/ieee754"),z=E("../internals/object-get-prototype-of"),te=E("../internals/object-set-prototype-of"),le=E("../internals/object-get-own-property-names").f,fe=E("../internals/object-define-property").f,pe=E("../internals/array-fill"),me=E("../internals/array-slice-simple"),ge=E("../internals/set-to-string-tag"),Se=E("../internals/internal-state"),ye=ue.PROPER,Pe=ue.CONFIGURABLE,we=Se.get,De=Se.set,Ee="ArrayBuffer",Ae="DataView",Ce="prototype",Ie="Wrong length",Me="Wrong index",Ge=se[Ee],Be=Ge,Qe=Be&&Be[Ce],qe=se[Ae],Xe=qe&&qe[Ce],Ve=Object.prototype,We=se.Array,ze=se.RangeError,He=ne(pe),tt=ne([].reverse),Je=b.pack,ut=b.unpack,Ye=function(ke){return[ke&255]},Ue=function(ke){return[ke&255,ke>>8&255]},je=function(ke){return[ke&255,ke>>8&255,ke>>16&255,ke>>24&255]},$e=function(ke){return ke[3]<<24|ke[2]<<16|ke[1]<<8|ke[0]},Le=function(ke){return Je(ke,23,4)},Ne=function(ke){return Je(ke,52,8)},et=function(ke,nt){fe(ke[Ce],nt,{get:function(){return we(this)[nt]}})},Ze=function(ke,nt,mt,ct){var ht=x(mt),lt=we(ke);if(ht+nt>lt.byteLength)throw ze(Me);var pt=we(lt.buffer).bytes,at=ht+lt.byteOffset,st=me(pt,at,at+nt);return ct?st:tt(st)},Fe=function(ke,nt,mt,ct,ht,lt){var pt=x(mt),at=we(ke);if(pt+nt>at.byteLength)throw ze(Me);for(var st=we(at.buffer).bytes,ft=pt+at.byteOffset,vt=ct(+ht),St=0;St<nt;St++)st[ft+St]=vt[lt?St:nt-St-1]};if(!ce)Be=function(nt){ee(this,Qe);var mt=x(nt);De(this,{bytes:He(We(mt),0),byteLength:mt}),ie||(this.byteLength=mt)},Qe=Be[Ce],qe=function(nt,mt,ct){ee(this,Xe),ee(nt,Qe);var ht=we(nt).byteLength,lt=a(mt);if(lt<0||lt>ht)throw ze("Wrong offset");if(ct=ct===void 0?ht-lt:y(ct),lt+ct>ht)throw ze(Ie);De(this,{buffer:nt,byteLength:ct,byteOffset:lt}),ie||(this.buffer=nt,this.byteLength=ct,this.byteOffset=lt)},Xe=qe[Ce],ie&&(et(Be,"byteLength"),et(qe,"buffer"),et(qe,"byteLength"),et(qe,"byteOffset")),oe(Xe,{getInt8:function(nt){return Ze(this,1,nt)[0]<<24>>24},getUint8:function(nt){return Ze(this,1,nt)[0]},getInt16:function(nt){var mt=Ze(this,2,nt,arguments.length>1?arguments[1]:void 0);return(mt[1]<<8|mt[0])<<16>>16},getUint16:function(nt){var mt=Ze(this,2,nt,arguments.length>1?arguments[1]:void 0);return mt[1]<<8|mt[0]},getInt32:function(nt){return $e(Ze(this,4,nt,arguments.length>1?arguments[1]:void 0))},getUint32:function(nt){return $e(Ze(this,4,nt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(nt){return ut(Ze(this,4,nt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(nt){return ut(Ze(this,8,nt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(nt,mt){Fe(this,1,nt,Ye,mt)},setUint8:function(nt,mt){Fe(this,1,nt,Ye,mt)},setInt16:function(nt,mt){Fe(this,2,nt,Ue,mt,arguments.length>2?arguments[2]:void 0)},setUint16:function(nt,mt){Fe(this,2,nt,Ue,mt,arguments.length>2?arguments[2]:void 0)},setInt32:function(nt,mt){Fe(this,4,nt,je,mt,arguments.length>2?arguments[2]:void 0)},setUint32:function(nt,mt){Fe(this,4,nt,je,mt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(nt,mt){Fe(this,4,nt,Le,mt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(nt,mt){Fe(this,8,nt,Ne,mt,arguments.length>2?arguments[2]:void 0)}});else{var Oe=ye&&Ge.name!==Ee;if(!re(function(){Ge(1)})||!re(function(){new Ge(-1)})||re(function(){return new Ge,new Ge(1.5),new Ge(NaN),Oe&&!Pe})){Be=function(nt){return ee(this,Qe),new Ge(x(nt))},Be[Ce]=Qe;for(var Te=le(Ge),xe=0,Re;Te.length>xe;)(Re=Te[xe++])in Be||ae(Be,Re,Ge[Re]);Qe.constructor=Be}else Oe&&Pe&&ae(Ge,"name",Ee);te&&z(Xe)!==Ve&&te(Xe,Ve);var Ke=new qe(new Be(2)),ot=ne(Xe.setInt8);Ke.setInt8(0,2147483648),Ke.setInt8(1,2147483649),(Ke.getInt8(0)||!Ke.getInt8(1))&&oe(Xe,{setInt8:function(nt,mt){ot(this,nt,mt<<24>>24)},setUint8:function(nt,mt){ot(this,nt,mt<<24>>24)}},{unsafe:!0})}ge(Be,Ee),ge(qe,Ae),he.exports={ArrayBuffer:Be,DataView:qe}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,he,de){"use strict";var se=E("../internals/to-object"),ne=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),ce=Math.min;he.exports=[].copyWithin||function(ae,oe){var re=se(this),ee=ie(re),a=ne(ae,ee),y=ne(oe,ee),x=arguments.length>2?arguments[2]:void 0,b=ce((x===void 0?ee:ne(x,ee))-y,ee-a),z=1;for(y<a&&a<y+b&&(z=-1,y+=b-1,a+=b-1);b-- >0;)y in re?re[a]=re[y]:delete re[a],a+=z,y+=z;return re}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,he,de){"use strict";var se=E("../internals/to-object"),ne=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like");he.exports=function(ue){for(var ae=se(this),oe=ie(ae),re=arguments.length,ee=ne(re>1?arguments[1]:void 0,oe),a=re>2?arguments[2]:void 0,y=a===void 0?oe:ne(a,oe);y>ee;)ae[ee++]=ue;return ae}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,he,de){"use strict";var se=E("../internals/array-iteration").forEach,ne=E("../internals/array-method-is-strict"),ie=ne("forEach");he.exports=ie?[].forEach:function(ue){return se(this,ue,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,he,de){var se=E("../internals/length-of-array-like");he.exports=function(ne,ie){for(var ce=0,ue=se(ie),ae=new ne(ue);ue>ce;)ae[ce]=ie[ce++];return ae}},{"../internals/length-of-array-like":188}],109:[function(E,he,de){"use strict";var se=E("../internals/global"),ne=E("../internals/function-bind-context"),ie=E("../internals/function-call"),ce=E("../internals/to-object"),ue=E("../internals/call-with-safe-iteration-closing"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/is-constructor"),re=E("../internals/length-of-array-like"),ee=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=se.Array;he.exports=function(z){var te=ce(z),le=oe(this),fe=arguments.length,pe=fe>1?arguments[1]:void 0,me=pe!==void 0;me&&(pe=ne(pe,fe>2?arguments[2]:void 0));var ge=y(te),Se=0,ye,Pe,we,De,Ee,Ae;if(ge&&!(this==x&&ae(ge)))for(De=a(te,ge),Ee=De.next,Pe=le?new this:[];!(we=ie(Ee,De)).done;Se++)Ae=me?ue(De,pe,[we.value,Se],!0):we.value,ee(Pe,Se,Ae);else for(ye=re(te),Pe=le?new this(ye):x(ye);ye>Se;Se++)Ae=me?pe(te[Se],Se):te[Se],ee(Pe,Se,Ae);return Pe.length=Se,Pe}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,he,de){var se=E("../internals/to-indexed-object"),ne=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),ce=function(ue){return function(ae,oe,re){var ee=se(ae),a=ie(ee),y=ne(re,a),x;if(ue&&oe!=oe){for(;a>y;)if(x=ee[y++],x!=x)return!0}else for(;a>y;y++)if((ue||y in ee)&&ee[y]===oe)return ue||y||0;return!ue&&-1}};he.exports={includes:ce(!0),indexOf:ce(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,he,de){var se=E("../internals/function-bind-context"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),ce=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/array-species-create"),oe=ne([].push),re=function(ee){var a=ee==1,y=ee==2,x=ee==3,b=ee==4,z=ee==6,te=ee==7,le=ee==5||z;return function(fe,pe,me,ge){for(var Se=ce(fe),ye=ie(Se),Pe=se(pe,me),we=ue(ye),De=0,Ee=ge||ae,Ae=a?Ee(fe,we):y||te?Ee(fe,0):void 0,Ce,Ie;we>De;De++)if((le||De in ye)&&(Ce=ye[De],Ie=Pe(Ce,De,Se),ee))if(a)Ae[De]=Ie;else if(Ie)switch(ee){case 3:return!0;case 5:return Ce;case 6:return De;case 2:oe(Ae,Ce)}else switch(ee){case 4:return!1;case 7:oe(Ae,Ce)}return z?-1:x||b?b:Ae}};he.exports={forEach:re(0),map:re(1),filter:re(2),some:re(3),every:re(4),find:re(5),findIndex:re(6),filterReject:re(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,he,de){"use strict";var se=E("../internals/function-apply"),ne=E("../internals/to-indexed-object"),ie=E("../internals/to-integer-or-infinity"),ce=E("../internals/length-of-array-like"),ue=E("../internals/array-method-is-strict"),ae=Math.min,oe=[].lastIndexOf,re=!!oe&&1/[1].lastIndexOf(1,-0)<0,ee=ue("lastIndexOf"),a=re||!ee;he.exports=a?function(x){if(re)return se(oe,this,arguments)||0;var b=ne(this),z=ce(b),te=z-1;for(arguments.length>1&&(te=ae(te,ie(arguments[1]))),te<0&&(te=z+te);te>=0;te--)if(te in b&&b[te]===x)return te||0;return-1}:oe},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(E,he,de){var se=E("../internals/fails"),ne=E("../internals/well-known-symbol"),ie=E("../internals/engine-v8-version"),ce=ne("species");he.exports=function(ue){return ie>=51||!se(function(){var ae=[],oe=ae.constructor={};return oe[ce]=function(){return{foo:1}},ae[ue](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,he,de){"use strict";var se=E("../internals/fails");he.exports=function(ne,ie){var ce=[][ne];return!!ce&&se(function(){ce.call(null,ie||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/a-callable"),ie=E("../internals/to-object"),ce=E("../internals/indexed-object"),ue=E("../internals/length-of-array-like"),ae=se.TypeError,oe=function(re){return function(ee,a,y,x){ne(a);var b=ie(ee),z=ce(b),te=ue(b),le=re?te-1:0,fe=re?-1:1;if(y<2)for(;;){if(le in z){x=z[le],le+=fe;break}if(le+=fe,re?le<0:te<=le)throw ae("Reduce of empty array with no initial value")}for(;re?le>=0:te>le;le+=fe)le in z&&(x=a(x,z[le],le,b));return x}};he.exports={left:oe(!1),right:oe(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),ce=E("../internals/create-property"),ue=se.Array,ae=Math.max;he.exports=function(oe,re,ee){for(var a=ie(oe),y=ne(re,a),x=ne(ee===void 0?a:ee,a),b=ue(ae(x-y,0)),z=0;y<x;y++,z++)ce(b,z,oe[y]);return b.length=z,b}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(E,he,de){var se=E("../internals/function-uncurry-this");he.exports=se([].slice)},{"../internals/function-uncurry-this":157}],118:[function(E,he,de){var se=E("../internals/array-slice-simple"),ne=Math.floor,ie=function(ae,oe){var re=ae.length,ee=ne(re/2);return re<8?ce(ae,oe):ue(ae,ie(se(ae,0,ee),oe),ie(se(ae,ee),oe),oe)},ce=function(ae,oe){for(var re=ae.length,ee=1,a,y;ee<re;){for(y=ee,a=ae[ee];y&&oe(ae[y-1],a)>0;)ae[y]=ae[--y];y!==ee++&&(ae[y]=a)}return ae},ue=function(ae,oe,re,ee){for(var a=oe.length,y=re.length,x=0,b=0;x<a||b<y;)ae[x+b]=x<a&&b<y?ee(oe[x],re[b])<=0?oe[x++]:re[b++]:x<a?oe[x++]:re[b++];return ae};he.exports=ie},{"../internals/array-slice-simple":116}],119:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/is-array"),ie=E("../internals/is-constructor"),ce=E("../internals/is-object"),ue=E("../internals/well-known-symbol"),ae=ue("species"),oe=se.Array;he.exports=function(re){var ee;return ne(re)&&(ee=re.constructor,ie(ee)&&(ee===oe||ne(ee.prototype))?ee=void 0:ce(ee)&&(ee=ee[ae],ee===null&&(ee=void 0))),ee===void 0?oe:ee}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(E,he,de){var se=E("../internals/array-species-constructor");he.exports=function(ne,ie){return new(se(ne))(ie===0?0:ie)}},{"../internals/array-species-constructor":119}],121:[function(E,he,de){var se=E("../internals/an-object"),ne=E("../internals/iterator-close");he.exports=function(ie,ce,ue,ae){try{return ae?ce(se(ue)[0],ue[1]):ce(ue)}catch(oe){ne(ie,"throw",oe)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,he,de){var se=E("../internals/well-known-symbol"),ne=se("iterator"),ie=!1;try{var ce=0,ue={next:function(){return{done:!!ce++}},return:function(){ie=!0}};ue[ne]=function(){return this},Array.from(ue,function(){throw 2})}catch(ae){}he.exports=function(ae,oe){if(!oe&&!ie)return!1;var re=!1;try{var ee={};ee[ne]=function(){return{next:function(){return{done:re=!0}}}},ae(ee)}catch(a){}return re}},{"../internals/well-known-symbol":268}],123:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=se({}.toString),ie=se("".slice);he.exports=function(ce){return ie(ne(ce),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/to-string-tag-support"),ie=E("../internals/is-callable"),ce=E("../internals/classof-raw"),ue=E("../internals/well-known-symbol"),ae=ue("toStringTag"),oe=se.Object,re=ce(function(){return arguments}())=="Arguments",ee=function(a,y){try{return a[y]}catch(x){}};he.exports=ne?ce:function(a){var y,x,b;return a===void 0?"Undefined":a===null?"Null":typeof(x=ee(y=oe(a),ae))=="string"?x:re?ce(y):(b=ce(y))=="Object"&&ie(y.callee)?"Arguments":b}},{"../internals/classof-raw":123,"../internals/global":163,"../internals/is-callable":176,"../internals/to-string-tag-support":255,"../internals/well-known-symbol":268}],125:[function(E,he,de){var se=E("../internals/has-own-property"),ne=E("../internals/own-keys"),ie=E("../internals/object-get-own-property-descriptor"),ce=E("../internals/object-define-property");he.exports=function(ue,ae,oe){for(var re=ne(ae),ee=ce.f,a=ie.f,y=0;y<re.length;y++){var x=re[y];!se(ue,x)&&!(oe&&se(oe,x))&&ee(ue,x,a(ae,x))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(E,he,de){var se=E("../internals/well-known-symbol"),ne=se("match");he.exports=function(ie){var ce=/./;try{"/./"[ie](ce)}catch(ue){try{return ce[ne]=!1,"/./"[ie](ce)}catch(ae){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,he,de){var se=E("../internals/fails");he.exports=!se(function(){function ne(){}return ne.prototype.constructor=null,Object.getPrototypeOf(new ne)!==ne.prototype})},{"../internals/fails":150}],128:[function(E,he,de){"use strict";var se=E("../internals/iterators-core").IteratorPrototype,ne=E("../internals/object-create"),ie=E("../internals/create-property-descriptor"),ce=E("../internals/set-to-string-tag"),ue=E("../internals/iterators"),ae=function(){return this};he.exports=function(oe,re,ee,a){var y=re+" Iterator";return oe.prototype=ne(se,{next:ie(+!a,ee)}),ce(oe,y,!1,!0),ue[y]=ae,oe}},{"../internals/create-property-descriptor":130,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-create":196,"../internals/set-to-string-tag":234}],129:[function(E,he,de){var se=E("../internals/descriptors"),ne=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");he.exports=se?function(ce,ue,ae){return ne.f(ce,ue,ie(1,ae))}:function(ce,ue,ae){return ce[ue]=ae,ce}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,he,de){he.exports=function(se,ne){return{enumerable:!(se&1),configurable:!(se&2),writable:!(se&4),value:ne}}},{}],131:[function(E,he,de){"use strict";var se=E("../internals/to-property-key"),ne=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");he.exports=function(ce,ue,ae){var oe=se(ue);oe in ce?ne.f(ce,oe,ie(0,ae)):ce[oe]=ae}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-call"),ie=E("../internals/is-pure"),ce=E("../internals/function-name"),ue=E("../internals/is-callable"),ae=E("../internals/create-iterator-constructor"),oe=E("../internals/object-get-prototype-of"),re=E("../internals/object-set-prototype-of"),ee=E("../internals/set-to-string-tag"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/redefine"),x=E("../internals/well-known-symbol"),b=E("../internals/iterators"),z=E("../internals/iterators-core"),te=ce.PROPER,le=ce.CONFIGURABLE,fe=z.IteratorPrototype,pe=z.BUGGY_SAFARI_ITERATORS,me=x("iterator"),ge="keys",Se="values",ye="entries",Pe=function(){return this};he.exports=function(we,De,Ee,Ae,Ce,Ie,Me){ae(Ee,De,Ae);var Ge=function(Je){if(Je===Ce&&Ve)return Ve;if(!pe&&Je in qe)return qe[Je];switch(Je){case ge:return function(){return new Ee(this,Je)};case Se:return function(){return new Ee(this,Je)};case ye:return function(){return new Ee(this,Je)}}return function(){return new Ee(this)}},Be=De+" Iterator",Qe=!1,qe=we.prototype,Xe=qe[me]||qe["@@iterator"]||Ce&&qe[Ce],Ve=!pe&&Xe||Ge(Ce),We=De=="Array"&&qe.entries||Xe,ze,He,tt;if(We&&(ze=oe(We.call(new we)),ze!==Object.prototype&&ze.next&&(!ie&&oe(ze)!==fe&&(re?re(ze,fe):ue(ze[me])||y(ze,me,Pe)),ee(ze,Be,!0,!0),ie&&(b[Be]=Pe))),te&&Ce==Se&&Xe&&Xe.name!==Se&&(!ie&&le?a(qe,"name",Se):(Qe=!0,Ve=function(){return ne(Xe,this)})),Ce)if(He={values:Ge(Se),keys:Ie?Ve:Ge(ge),entries:Ge(ye)},Me)for(tt in He)(pe||Qe||!(tt in qe))&&y(qe,tt,He[tt]);else se({target:De,proto:!0,forced:pe||Qe},He);return(!ie||Me)&&qe[me]!==Ve&&y(qe,me,Ve,{name:Ce}),b[De]=Ve,He}},{"../internals/create-iterator-constructor":128,"../internals/create-non-enumerable-property":129,"../internals/export":149,"../internals/function-call":155,"../internals/function-name":156,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/well-known-symbol":268}],133:[function(E,he,de){var se=E("../internals/path"),ne=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol-wrapped"),ce=E("../internals/object-define-property").f;he.exports=function(ue){var ae=se.Symbol||(se.Symbol={});ne(ae,ue)||ce(ae,ue,{value:ie.f(ue)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(E,he,de){var se=E("../internals/fails");he.exports=!se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/is-object"),ie=se.document,ce=ne(ie)&&ne(ie.createElement);he.exports=function(ue){return ce?ie.createElement(ue):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(E,he,de){he.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],137:[function(E,he,de){var se=E("../internals/document-create-element"),ne=se("span").classList,ie=ne&&ne.constructor&&ne.constructor.prototype;he.exports=ie===Object.prototype?void 0:ie},{"../internals/document-create-element":135}],138:[function(E,he,de){var se=E("../internals/engine-user-agent"),ne=se.match(/firefox\/(\d+)/i);he.exports=!!ne&&+ne[1]},{"../internals/engine-user-agent":145}],139:[function(E,he,de){he.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(E,he,de){var se=E("../internals/engine-user-agent");he.exports=/MSIE|Trident/.test(se)},{"../internals/engine-user-agent":145}],141:[function(E,he,de){var se=E("../internals/engine-user-agent"),ne=E("../internals/global");he.exports=/ipad|iphone|ipod/i.test(se)&&ne.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(E,he,de){var se=E("../internals/engine-user-agent");he.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(se)},{"../internals/engine-user-agent":145}],143:[function(E,he,de){var se=E("../internals/classof-raw"),ne=E("../internals/global");he.exports=se(ne.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(E,he,de){var se=E("../internals/engine-user-agent");he.exports=/web0s(?!.*chrome)/i.test(se)},{"../internals/engine-user-agent":145}],145:[function(E,he,de){var se=E("../internals/get-built-in");he.exports=se("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/engine-user-agent"),ie=se.process,ce=se.Deno,ue=ie&&ie.versions||ce&&ce.version,ae=ue&&ue.v8,oe,re;ae&&(oe=ae.split("."),re=oe[0]>0&&oe[0]<4?1:+(oe[0]+oe[1])),!re&&ne&&(oe=ne.match(/Edge\/(\d+)/),(!oe||oe[1]>=74)&&(oe=ne.match(/Chrome\/(\d+)/),oe&&(re=+oe[1]))),he.exports=re},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,he,de){var se=E("../internals/engine-user-agent"),ne=se.match(/AppleWebKit\/(\d+)\./);he.exports=!!ne&&+ne[1]},{"../internals/engine-user-agent":145}],148:[function(E,he,de){he.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/object-get-own-property-descriptor").f,ie=E("../internals/create-non-enumerable-property"),ce=E("../internals/redefine"),ue=E("../internals/set-global"),ae=E("../internals/copy-constructor-properties"),oe=E("../internals/is-forced");he.exports=function(re,ee){var a=re.target,y=re.global,x=re.stat,b,z,te,le,fe,pe;if(y?z=se:x?z=se[a]||ue(a,{}):z=(se[a]||{}).prototype,z)for(te in ee){if(fe=ee[te],re.noTargetGet?(pe=ne(z,te),le=pe&&pe.value):le=z[te],b=oe(y?te:a+(x?".":"#")+te,re.forced),!b&&le!==void 0){if(typeof fe==typeof le)continue;ae(fe,le)}(re.sham||le&&le.sham)&&ie(fe,"sham",!0),ce(z,te,fe,re)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,he,de){he.exports=function(se){try{return!!se()}catch(ne){return!0}}},{}],151:[function(E,he,de){"use strict";E("../modules/es.regexp.exec");var se=E("../internals/function-uncurry-this"),ne=E("../internals/redefine"),ie=E("../internals/regexp-exec"),ce=E("../internals/fails"),ue=E("../internals/well-known-symbol"),ae=E("../internals/create-non-enumerable-property"),oe=ue("species"),re=RegExp.prototype;he.exports=function(ee,a,y,x){var b=ue(ee),z=!ce(function(){var pe={};return pe[b]=function(){return 7},""[ee](pe)!=7}),te=z&&!ce(function(){var pe=!1,me=/a/;return ee==="split"&&(me={},me.constructor={},me.constructor[oe]=function(){return me},me.flags="",me[b]=/./[b]),me.exec=function(){return pe=!0,null},me[b](""),!pe});if(!z||!te||y){var le=se(/./[b]),fe=a(b,""[ee],function(pe,me,ge,Se,ye){var Pe=se(pe),we=me.exec;return we===ie||we===re.exec?z&&!ye?{done:!0,value:le(me,ge,Se)}:{done:!0,value:Pe(ge,me,Se)}:{done:!1}});ne(String.prototype,ee,fe[0]),ne(re,b,fe[1])}x&&ae(re[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,he,de){var se=E("../internals/function-bind-native"),ne=Function.prototype,ie=ne.apply,ce=ne.call;he.exports=typeof Reflect=="object"&&Reflect.apply||(se?ce.bind(ie):function(){return ce.apply(ie,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/a-callable"),ie=E("../internals/function-bind-native"),ce=se(se.bind);he.exports=function(ue,ae){return ne(ue),ae===void 0?ue:ie?ce(ue,ae):function(){return ue.apply(ae,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,he,de){var se=E("../internals/fails");he.exports=!se(function(){var ne=function(){}.bind();return typeof ne!="function"||ne.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,he,de){var se=E("../internals/function-bind-native"),ne=Function.prototype.call;he.exports=se?ne.bind(ne):function(){return ne.apply(ne,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,he,de){var se=E("../internals/descriptors"),ne=E("../internals/has-own-property"),ie=Function.prototype,ce=se&&Object.getOwnPropertyDescriptor,ue=ne(ie,"name"),ae=ue&&function(){}.name==="something",oe=ue&&(!se||se&&ce(ie,"name").configurable);he.exports={EXISTS:ue,PROPER:ae,CONFIGURABLE:oe}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,he,de){var se=E("../internals/function-bind-native"),ne=Function.prototype,ie=ne.bind,ce=ne.call,ue=se&&ie.bind(ce,ce);he.exports=se?function(ae){return ae&&ue(ae)}:function(ae){return ae&&function(){return ce.apply(ae,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/is-callable"),ie=function(ce){return ne(ce)?ce:void 0};he.exports=function(ce,ue){return arguments.length<2?ie(se[ce]):se[ce]&&se[ce][ue]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,he,de){var se=E("../internals/classof"),ne=E("../internals/get-method"),ie=E("../internals/iterators"),ce=E("../internals/well-known-symbol"),ue=ce("iterator");he.exports=function(ae){if(ae!=null)return ne(ae,ue)||ne(ae,"@@iterator")||ie[se(ae)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/function-call"),ie=E("../internals/a-callable"),ce=E("../internals/an-object"),ue=E("../internals/try-to-string"),ae=E("../internals/get-iterator-method"),oe=se.TypeError;he.exports=function(re,ee){var a=arguments.length<2?ae(re):ee;if(ie(a))return ce(ne(a,re));throw oe(ue(re)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,he,de){var se=E("../internals/a-callable");he.exports=function(ne,ie){var ce=ne[ie];return ce==null?void 0:se(ce)}},{"../internals/a-callable":95}],162:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/to-object"),ie=Math.floor,ce=se("".charAt),ue=se("".replace),ae=se("".slice),oe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,re=/\$([$&'`]|\d{1,2})/g;he.exports=function(ee,a,y,x,b,z){var te=y+ee.length,le=x.length,fe=re;return b!==void 0&&(b=ne(b),fe=oe),ue(z,fe,function(pe,me){var ge;switch(ce(me,0)){case"$":return"$";case"&":return ee;case"`":return ae(a,0,y);case"'":return ae(a,te);case"<":ge=b[ae(me,1,-1)];break;default:var Se=+me;if(Se===0)return pe;if(Se>le){var ye=ie(Se/10);return ye===0?pe:ye<=le?x[ye-1]===void 0?ce(me,1):x[ye-1]+ce(me,1):pe}ge=x[Se-1]}return ge===void 0?"":ge})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,he,de){(function(se){(function(){var ne=function(ie){return ie&&ie.Math==Math&&ie};he.exports=ne(typeof globalThis=="object"&&globalThis)||ne(typeof window=="object"&&window)||ne(typeof self=="object"&&self)||ne(typeof se=="object"&&se)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/to-object"),ie=se({}.hasOwnProperty);he.exports=Object.hasOwn||function(ue,ae){return ie(ne(ue),ae)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,he,de){he.exports={}},{}],166:[function(E,he,de){var se=E("../internals/global");he.exports=function(ne,ie){var ce=se.console;ce&&ce.error&&(arguments.length==1?ce.error(ne):ce.error(ne,ie))}},{"../internals/global":163}],167:[function(E,he,de){var se=E("../internals/get-built-in");he.exports=se("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,he,de){var se=E("../internals/descriptors"),ne=E("../internals/fails"),ie=E("../internals/document-create-element");he.exports=!se&&!ne(function(){return Object.defineProperty(ie("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,he,de){var se=E("../internals/global"),ne=se.Array,ie=Math.abs,ce=Math.pow,ue=Math.floor,ae=Math.log,oe=Math.LN2,re=function(a,y,x){var b=ne(x),z=x*8-y-1,te=(1<<z)-1,le=te>>1,fe=y===23?ce(2,-24)-ce(2,-77):0,pe=a<0||a===0&&1/a<0?1:0,me=0,ge,Se,ye;for(a=ie(a),a!=a||a===1/0?(Se=a!=a?1:0,ge=te):(ge=ue(ae(a)/oe),ye=ce(2,-ge),a*ye<1&&(ge--,ye*=2),ge+le>=1?a+=fe/ye:a+=fe*ce(2,1-le),a*ye>=2&&(ge++,ye/=2),ge+le>=te?(Se=0,ge=te):ge+le>=1?(Se=(a*ye-1)*ce(2,y),ge=ge+le):(Se=a*ce(2,le-1)*ce(2,y),ge=0));y>=8;)b[me++]=Se&255,Se/=256,y-=8;for(ge=ge<<y|Se,z+=y;z>0;)b[me++]=ge&255,ge/=256,z-=8;return b[--me]|=pe*128,b},ee=function(a,y){var x=a.length,b=x*8-y-1,z=(1<<b)-1,te=z>>1,le=b-7,fe=x-1,pe=a[fe--],me=pe&127,ge;for(pe>>=7;le>0;)me=me*256+a[fe--],le-=8;for(ge=me&(1<<-le)-1,me>>=-le,le+=y;le>0;)ge=ge*256+a[fe--],le-=8;if(me===0)me=1-te;else{if(me===z)return ge?NaN:pe?-1/0:1/0;ge=ge+ce(2,y),me=me-te}return(pe?-1:1)*ge*ce(2,me-y)};he.exports={pack:re,unpack:ee}},{"../internals/global":163}],170:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),ce=E("../internals/classof-raw"),ue=se.Object,ae=ne("".split);he.exports=ie(function(){return!ue("z").propertyIsEnumerable(0)})?function(oe){return ce(oe)=="String"?ae(oe,""):ue(oe)}:ue},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,he,de){var se=E("../internals/is-callable"),ne=E("../internals/is-object"),ie=E("../internals/object-set-prototype-of");he.exports=function(ce,ue,ae){var oe,re;return ie&&se(oe=ue.constructor)&&oe!==ae&&ne(re=oe.prototype)&&re!==ae.prototype&&ie(ce,re),ce}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/is-callable"),ie=E("../internals/shared-store"),ce=se(Function.toString);ne(ie.inspectSource)||(ie.inspectSource=function(ue){return ce(ue)}),he.exports=ie.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,he,de){var se=E("../internals/native-weak-map"),ne=E("../internals/global"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/is-object"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/has-own-property"),oe=E("../internals/shared-store"),re=E("../internals/shared-key"),ee=E("../internals/hidden-keys"),a="Object already initialized",y=ne.TypeError,x=ne.WeakMap,b,z,te,le=function(Pe){return te(Pe)?z(Pe):b(Pe,{})},fe=function(Pe){return function(we){var De;if(!ce(we)||(De=z(we)).type!==Pe)throw y("Incompatible receiver, "+Pe+" required");return De}};if(se||oe.state){var pe=oe.state||(oe.state=new x),me=ie(pe.get),ge=ie(pe.has),Se=ie(pe.set);b=function(Pe,we){if(ge(pe,Pe))throw new y(a);return we.facade=Pe,Se(pe,Pe,we),we},z=function(Pe){return me(pe,Pe)||{}},te=function(Pe){return ge(pe,Pe)}}else{var ye=re("state");ee[ye]=!0,b=function(Pe,we){if(ae(Pe,ye))throw new y(a);return we.facade=Pe,ue(Pe,ye,we),we},z=function(Pe){return ae(Pe,ye)?Pe[ye]:{}},te=function(Pe){return ae(Pe,ye)}}he.exports={set:b,get:z,has:te,enforce:le,getterFor:fe}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(E,he,de){var se=E("../internals/well-known-symbol"),ne=E("../internals/iterators"),ie=se("iterator"),ce=Array.prototype;he.exports=function(ue){return ue!==void 0&&(ne.Array===ue||ce[ie]===ue)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,he,de){var se=E("../internals/classof-raw");he.exports=Array.isArray||function(ie){return se(ie)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,he,de){he.exports=function(se){return typeof se=="function"}},{}],177:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/fails"),ie=E("../internals/is-callable"),ce=E("../internals/classof"),ue=E("../internals/get-built-in"),ae=E("../internals/inspect-source"),oe=function(){},re=[],ee=ue("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=se(a.exec),x=!a.exec(oe),b=function(le){if(!ie(le))return!1;try{return ee(oe,re,le),!0}catch(fe){return!1}},z=function(le){if(!ie(le))return!1;switch(ce(le)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ae(le))}catch(fe){return!0}};z.sham=!0,he.exports=!ee||ne(function(){var te;return b(b.call)||!b(Object)||!b(function(){te=!0})||te})?z:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,he,de){var se=E("../internals/fails"),ne=E("../internals/is-callable"),ie=/#|\.prototype\./,ce=function(ee,a){var y=ae[ue(ee)];return y==re?!0:y==oe?!1:ne(a)?se(a):!!a},ue=ce.normalize=function(ee){return String(ee).replace(ie,".").toLowerCase()},ae=ce.data={},oe=ce.NATIVE="N",re=ce.POLYFILL="P";he.exports=ce},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,he,de){var se=E("../internals/is-object"),ne=Math.floor;he.exports=Number.isInteger||function(ce){return!se(ce)&&isFinite(ce)&&ne(ce)===ce}},{"../internals/is-object":180}],180:[function(E,he,de){var se=E("../internals/is-callable");he.exports=function(ne){return typeof ne=="object"?ne!==null:se(ne)}},{"../internals/is-callable":176}],181:[function(E,he,de){he.exports=!1},{}],182:[function(E,he,de){var se=E("../internals/is-object"),ne=E("../internals/classof-raw"),ie=E("../internals/well-known-symbol"),ce=ie("match");he.exports=function(ue){var ae;return se(ue)&&((ae=ue[ce])!==void 0?!!ae:ne(ue)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/get-built-in"),ie=E("../internals/is-callable"),ce=E("../internals/object-is-prototype-of"),ue=E("../internals/use-symbol-as-uid"),ae=se.Object;he.exports=ue?function(oe){return typeof oe=="symbol"}:function(oe){var re=ne("Symbol");return ie(re)&&ce(re.prototype,ae(oe))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/function-bind-context"),ie=E("../internals/function-call"),ce=E("../internals/an-object"),ue=E("../internals/try-to-string"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/length-of-array-like"),re=E("../internals/object-is-prototype-of"),ee=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=se.TypeError,b=function(te,le){this.stopped=te,this.result=le},z=b.prototype;he.exports=function(te,le,fe){var pe=fe&&fe.that,me=!!(fe&&fe.AS_ENTRIES),ge=!!(fe&&fe.IS_ITERATOR),Se=!!(fe&&fe.INTERRUPTED),ye=ne(le,pe),Pe,we,De,Ee,Ae,Ce,Ie,Me=function(Be){return Pe&&y(Pe,"normal",Be),new b(!0,Be)},Ge=function(Be){return me?(ce(Be),Se?ye(Be[0],Be[1],Me):ye(Be[0],Be[1])):Se?ye(Be,Me):ye(Be)};if(ge)Pe=te;else{if(we=a(te),!we)throw x(ue(te)+" is not iterable");if(ae(we)){for(De=0,Ee=oe(te);Ee>De;De++)if(Ae=Ge(te[De]),Ae&&re(z,Ae))return Ae;return new b(!1)}Pe=ee(te,we)}for(Ce=Pe.next;!(Ie=ie(Ce,Pe)).done;){try{Ae=Ge(Ie.value)}catch(Be){y(Pe,"throw",Be)}if(typeof Ae=="object"&&Ae&&re(z,Ae))return Ae}return new b(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(E,he,de){var se=E("../internals/function-call"),ne=E("../internals/an-object"),ie=E("../internals/get-method");he.exports=function(ce,ue,ae){var oe,re;ne(ce);try{if(oe=ie(ce,"return"),!oe){if(ue==="throw")throw ae;return ae}oe=se(oe,ce)}catch(ee){re=!0,oe=ee}if(ue==="throw")throw ae;if(re)throw oe;return ne(oe),ae}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,he,de){"use strict";var se=E("../internals/fails"),ne=E("../internals/is-callable"),ie=E("../internals/object-create"),ce=E("../internals/object-get-prototype-of"),ue=E("../internals/redefine"),ae=E("../internals/well-known-symbol"),oe=E("../internals/is-pure"),re=ae("iterator"),ee=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=ce(ce(x)),y!==Object.prototype&&(a=y)):ee=!0);var b=a==null||se(function(){var z={};return a[re].call(z)!==z});b?a={}:oe&&(a=ie(a)),ne(a[re])||ue(a,re,function(){return this}),he.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:ee}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(E,he,de){arguments[4][165][0].apply(de,arguments)},{dup:165}],188:[function(E,he,de){var se=E("../internals/to-length");he.exports=function(ne){return se(ne.length)}},{"../internals/to-length":249}],189:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/function-bind-context"),ie=E("../internals/object-get-own-property-descriptor").f,ce=E("../internals/task").set,ue=E("../internals/engine-is-ios"),ae=E("../internals/engine-is-ios-pebble"),oe=E("../internals/engine-is-webos-webkit"),re=E("../internals/engine-is-node"),ee=se.MutationObserver||se.WebKitMutationObserver,a=se.document,y=se.process,x=se.Promise,b=ie(se,"queueMicrotask"),z=b&&b.value,te,le,fe,pe,me,ge,Se,ye;z||(te=function(){var Pe,we;for(re&&(Pe=y.domain)&&Pe.exit();le;){we=le.fn,le=le.next;try{we()}catch(De){throw le?pe():fe=void 0,De}}fe=void 0,Pe&&Pe.enter()},!ue&&!re&&!oe&&ee&&a?(me=!0,ge=a.createTextNode(""),new ee(te).observe(ge,{characterData:!0}),pe=function(){ge.data=me=!me}):!ae&&x&&x.resolve?(Se=x.resolve(void 0),Se.constructor=x,ye=ne(Se.then,Se),pe=function(){ye(te)}):re?pe=function(){y.nextTick(te)}:(ce=ne(ce,se),pe=function(){ce(te)})),he.exports=z||function(Pe){var we={fn:Pe,next:void 0};fe&&(fe.next=we),le||(le=we,pe()),fe=we}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,he,de){var se=E("../internals/native-symbol");he.exports=se&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,he,de){var se=E("../internals/engine-v8-version"),ne=E("../internals/fails");he.exports=!!Object.getOwnPropertySymbols&&!ne(function(){var ie=Symbol();return!String(ie)||!(Object(ie)instanceof Symbol)||!Symbol.sham&&se&&se<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/is-callable"),ie=E("../internals/inspect-source"),ce=se.WeakMap;he.exports=ne(ce)&&/native code/.test(ie(ce))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,he,de){"use strict";var se=E("../internals/a-callable"),ne=function(ie){var ce,ue;this.promise=new ie(function(ae,oe){if(ce!==void 0||ue!==void 0)throw TypeError("Bad Promise constructor");ce=ae,ue=oe}),this.resolve=se(ce),this.reject=se(ue)};he.exports.f=function(ie){return new ne(ie)}},{"../internals/a-callable":95}],194:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/is-regexp"),ie=se.TypeError;he.exports=function(ce){if(ne(ce))throw ie("The method doesn't accept regular expressions");return ce}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,he,de){"use strict";var se=E("../internals/descriptors"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/function-call"),ce=E("../internals/fails"),ue=E("../internals/object-keys"),ae=E("../internals/object-get-own-property-symbols"),oe=E("../internals/object-property-is-enumerable"),re=E("../internals/to-object"),ee=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=ne([].concat);he.exports=!a||ce(function(){if(se&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},z={},te=Symbol(),le="abcdefghijklmnopqrst";return b[te]=7,le.split("").forEach(function(fe){z[fe]=fe}),a({},b)[te]!=7||ue(a({},z)).join("")!=le})?function(z,te){for(var le=re(z),fe=arguments.length,pe=1,me=ae.f,ge=oe.f;fe>pe;)for(var Se=ee(arguments[pe++]),ye=me?x(ue(Se),me(Se)):ue(Se),Pe=ye.length,we=0,De;Pe>we;)De=ye[we++],(!se||ie(ge,Se,De))&&(le[De]=Se[De]);return le}:a},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,he,de){var se=E("../internals/an-object"),ne=E("../internals/object-define-properties"),ie=E("../internals/enum-bug-keys"),ce=E("../internals/hidden-keys"),ue=E("../internals/html"),ae=E("../internals/document-create-element"),oe=E("../internals/shared-key"),re=">",ee="<",a="prototype",y="script",x=oe("IE_PROTO"),b=function(){},z=function(me){return ee+y+re+me+ee+"/"+y+re},te=function(me){me.write(z("")),me.close();var ge=me.parentWindow.Object;return me=null,ge},le=function(){var me=ae("iframe"),ge="java"+y+":",Se;return me.style.display="none",ue.appendChild(me),me.src=String(ge),Se=me.contentWindow.document,Se.open(),Se.write(z("document.F=Object")),Se.close(),Se.F},fe,pe=function(){try{fe=new ActiveXObject("htmlfile")}catch(ge){}pe=typeof document!="undefined"?document.domain&&fe?te(fe):le():te(fe);for(var me=ie.length;me--;)delete pe[a][ie[me]];return pe()};ce[x]=!0,he.exports=Object.create||function(ge,Se){var ye;return ge!==null?(b[a]=se(ge),ye=new b,b[a]=null,ye[x]=ge):ye=pe(),Se===void 0?ye:ne.f(ye,Se)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(E,he,de){var se=E("../internals/descriptors"),ne=E("../internals/v8-prototype-define-bug"),ie=E("../internals/object-define-property"),ce=E("../internals/an-object"),ue=E("../internals/to-indexed-object"),ae=E("../internals/object-keys");de.f=se&&!ne?Object.defineProperties:function(re,ee){ce(re);for(var a=ue(ee),y=ae(ee),x=y.length,b=0,z;x>b;)ie.f(re,z=y[b++],a[z]);return re}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/descriptors"),ie=E("../internals/ie8-dom-define"),ce=E("../internals/v8-prototype-define-bug"),ue=E("../internals/an-object"),ae=E("../internals/to-property-key"),oe=se.TypeError,re=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";de.f=ne?ce?function(z,te,le){if(ue(z),te=ae(te),ue(le),typeof z=="function"&&te==="prototype"&&"value"in le&&x in le&&!le[x]){var fe=ee(z,te);fe&&fe[x]&&(z[te]=le.value,le={configurable:y in le?le[y]:fe[y],enumerable:a in le?le[a]:fe[a],writable:!1})}return re(z,te,le)}:re:function(z,te,le){if(ue(z),te=ae(te),ue(le),ie)try{return re(z,te,le)}catch(fe){}if("get"in le||"set"in le)throw oe("Accessors not supported");return"value"in le&&(z[te]=le.value),z}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,he,de){var se=E("../internals/descriptors"),ne=E("../internals/function-call"),ie=E("../internals/object-property-is-enumerable"),ce=E("../internals/create-property-descriptor"),ue=E("../internals/to-indexed-object"),ae=E("../internals/to-property-key"),oe=E("../internals/has-own-property"),re=E("../internals/ie8-dom-define"),ee=Object.getOwnPropertyDescriptor;de.f=se?ee:function(y,x){if(y=ue(y),x=ae(x),re)try{return ee(y,x)}catch(b){}if(oe(y,x))return ce(!ne(ie.f,y,x),y[x])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(E,he,de){var se=E("../internals/classof-raw"),ne=E("../internals/to-indexed-object"),ie=E("../internals/object-get-own-property-names").f,ce=E("../internals/array-slice-simple"),ue=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(oe){try{return ie(oe)}catch(re){return ce(ue)}};he.exports.f=function(re){return ue&&se(re)=="Window"?ae(re):ie(ne(re))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,he,de){var se=E("../internals/object-keys-internal"),ne=E("../internals/enum-bug-keys"),ie=ne.concat("length","prototype");de.f=Object.getOwnPropertyNames||function(ue){return se(ue,ie)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,he,de){de.f=Object.getOwnPropertySymbols},{}],203:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/has-own-property"),ie=E("../internals/is-callable"),ce=E("../internals/to-object"),ue=E("../internals/shared-key"),ae=E("../internals/correct-prototype-getter"),oe=ue("IE_PROTO"),re=se.Object,ee=re.prototype;he.exports=ae?re.getPrototypeOf:function(a){var y=ce(a);if(ne(y,oe))return y[oe];var x=y.constructor;return ie(x)&&y instanceof x?x.prototype:y instanceof re?ee:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(E,he,de){var se=E("../internals/function-uncurry-this");he.exports=se({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/has-own-property"),ie=E("../internals/to-indexed-object"),ce=E("../internals/array-includes").indexOf,ue=E("../internals/hidden-keys"),ae=se([].push);he.exports=function(oe,re){var ee=ie(oe),a=0,y=[],x;for(x in ee)!ne(ue,x)&&ne(ee,x)&&ae(y,x);for(;re.length>a;)ne(ee,x=re[a++])&&(~ce(y,x)||ae(y,x));return y}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(E,he,de){var se=E("../internals/object-keys-internal"),ne=E("../internals/enum-bug-keys");he.exports=Object.keys||function(ce){return se(ce,ne)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,he,de){"use strict";var se={}.propertyIsEnumerable,ne=Object.getOwnPropertyDescriptor,ie=ne&&!se.call({1:2},1);de.f=ie?function(ue){var ae=ne(this,ue);return!!ae&&ae.enumerable}:se},{}],208:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/an-object"),ie=E("../internals/a-possible-prototype");he.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var ce=!1,ue={},ae;try{ae=se(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(ue,[]),ce=ue instanceof Array}catch(oe){}return function(re,ee){return ne(re),ie(ee),ce?ae(re,ee):re.__proto__=ee,re}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,he,de){var se=E("../internals/descriptors"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/object-keys"),ce=E("../internals/to-indexed-object"),ue=E("../internals/object-property-is-enumerable").f,ae=ne(ue),oe=ne([].push),re=function(ee){return function(a){for(var y=ce(a),x=ie(y),b=x.length,z=0,te=[],le;b>z;)le=x[z++],(!se||ae(y,le))&&oe(te,ee?[le,y[le]]:y[le]);return te}};he.exports={entries:re(!0),values:re(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,he,de){"use strict";var se=E("../internals/to-string-tag-support"),ne=E("../internals/classof");he.exports=se?{}.toString:function(){return"[object "+ne(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/function-call"),ie=E("../internals/is-callable"),ce=E("../internals/is-object"),ue=se.TypeError;he.exports=function(ae,oe){var re,ee;if(oe==="string"&&ie(re=ae.toString)&&!ce(ee=ne(re,ae))||ie(re=ae.valueOf)&&!ce(ee=ne(re,ae))||oe!=="string"&&ie(re=ae.toString)&&!ce(ee=ne(re,ae)))return ee;throw ue("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,he,de){var se=E("../internals/get-built-in"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/object-get-own-property-names"),ce=E("../internals/object-get-own-property-symbols"),ue=E("../internals/an-object"),ae=ne([].concat);he.exports=se("Reflect","ownKeys")||function(re){var ee=ie.f(ue(re)),a=ce.f;return a?ae(ee,a(re)):ee}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(E,he,de){var se=E("../internals/global");he.exports=se},{"../internals/global":163}],214:[function(E,he,de){he.exports=function(se){try{return{error:!1,value:se()}}catch(ne){return{error:!0,value:ne}}}},{}],215:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/promise-native-constructor"),ie=E("../internals/is-callable"),ce=E("../internals/is-forced"),ue=E("../internals/inspect-source"),ae=E("../internals/well-known-symbol"),oe=E("../internals/engine-is-browser"),re=E("../internals/is-pure"),ee=E("../internals/engine-v8-version"),a=ne&&ne.prototype,y=ae("species"),x=!1,b=ie(se.PromiseRejectionEvent),z=ce("Promise",function(){var te=ue(ne),le=te!==String(ne);if(!le&&ee===66||re&&!(a.catch&&a.finally))return!0;if(ee>=51&&/native code/.test(te))return!1;var fe=new ne(function(ge){ge(1)}),pe=function(ge){ge(function(){},function(){})},me=fe.constructor={};return me[y]=pe,x=fe.then(function(){})instanceof pe,x?!le&&oe&&!b:!0});he.exports={CONSTRUCTOR:z,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,he,de){var se=E("../internals/global");he.exports=se.Promise},{"../internals/global":163}],217:[function(E,he,de){var se=E("../internals/an-object"),ne=E("../internals/is-object"),ie=E("../internals/new-promise-capability");he.exports=function(ce,ue){if(se(ce),ne(ue)&&ue.constructor===ce)return ue;var ae=ie.f(ce),oe=ae.resolve;return oe(ue),ae.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,he,de){var se=E("../internals/promise-native-constructor"),ne=E("../internals/check-correctness-of-iteration"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR;he.exports=ie||!ne(function(ce){se.all(ce).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,he,de){var se=E("../internals/object-define-property").f;he.exports=function(ne,ie,ce){ce in ne||se(ne,ce,{configurable:!0,get:function(){return ie[ce]},set:function(ue){ie[ce]=ue}})}},{"../internals/object-define-property":198}],220:[function(E,he,de){var se=function(){this.head=null,this.tail=null};se.prototype={add:function(ne){var ie={item:ne,next:null};this.head?this.tail.next=ie:this.head=ie,this.tail=ie},get:function(){var ne=this.head;if(ne)return this.head=ne.next,this.tail===ne&&(this.tail=null),ne.item}},he.exports=se},{}],221:[function(E,he,de){var se=E("../internals/redefine");he.exports=function(ne,ie,ce){for(var ue in ie)se(ne,ue,ie[ue],ce);return ne}},{"../internals/redefine":222}],222:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/is-callable"),ie=E("../internals/has-own-property"),ce=E("../internals/create-non-enumerable-property"),ue=E("../internals/set-global"),ae=E("../internals/inspect-source"),oe=E("../internals/internal-state"),re=E("../internals/function-name").CONFIGURABLE,ee=oe.get,a=oe.enforce,y=String(String).split("String");(he.exports=function(x,b,z,te){var le=te?!!te.unsafe:!1,fe=te?!!te.enumerable:!1,pe=te?!!te.noTargetGet:!1,me=te&&te.name!==void 0?te.name:b,ge;if(ne(z)&&(String(me).slice(0,7)==="Symbol("&&(me="["+String(me).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ie(z,"name")||re&&z.name!==me)&&ce(z,"name",me),ge=a(z),ge.source||(ge.source=y.join(typeof me=="string"?me:""))),x===se){fe?x[b]=z:ue(b,z);return}else le?!pe&&x[b]&&(fe=!0):delete x[b];fe?x[b]=z:ce(x,b,z)})(Function.prototype,"toString",function(){return ne(this)&&ee(this).source||ae(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/function-call"),ie=E("../internals/an-object"),ce=E("../internals/is-callable"),ue=E("../internals/classof-raw"),ae=E("../internals/regexp-exec"),oe=se.TypeError;he.exports=function(re,ee){var a=re.exec;if(ce(a)){var y=ne(a,re,ee);return y!==null&&ie(y),y}if(ue(re)==="RegExp")return ne(ae,re,ee);throw oe("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(E,he,de){"use strict";var se=E("../internals/function-call"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/to-string"),ce=E("../internals/regexp-flags"),ue=E("../internals/regexp-sticky-helpers"),ae=E("../internals/shared"),oe=E("../internals/object-create"),re=E("../internals/internal-state").get,ee=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=ae("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,z=ne("".charAt),te=ne("".indexOf),le=ne("".replace),fe=ne("".slice),pe=function(){var ye=/a/,Pe=/b*/g;return se(x,ye,"a"),se(x,Pe,"a"),ye.lastIndex!==0||Pe.lastIndex!==0}(),me=ue.BROKEN_CARET,ge=/()??/.exec("")[1]!==void 0,Se=pe||ge||me||ee||a;Se&&(b=function(Pe){var we=this,De=re(we),Ee=ie(Pe),Ae=De.raw,Ce,Ie,Me,Ge,Be,Qe,qe;if(Ae)return Ae.lastIndex=we.lastIndex,Ce=se(b,Ae,Ee),we.lastIndex=Ae.lastIndex,Ce;var Xe=De.groups,Ve=me&&we.sticky,We=se(ce,we),ze=we.source,He=0,tt=Ee;if(Ve&&(We=le(We,"y",""),te(We,"g")===-1&&(We+="g"),tt=fe(Ee,we.lastIndex),we.lastIndex>0&&(!we.multiline||we.multiline&&z(Ee,we.lastIndex-1)!==`
|
|
|
`)&&(ze="(?: "+ze+")",tt=" "+tt,He++),Ie=new RegExp("^(?:"+ze+")",We)),ge&&(Ie=new RegExp("^"+ze+"$(?!\\s)",We)),pe&&(Me=we.lastIndex),Ge=se(x,Ve?Ie:we,tt),Ve?Ge?(Ge.input=fe(Ge.input,He),Ge[0]=fe(Ge[0],He),Ge.index=we.lastIndex,we.lastIndex+=Ge[0].length):we.lastIndex=0:pe&&Ge&&(we.lastIndex=we.global?Ge.index+Ge[0].length:Me),ge&&Ge&&Ge.length>1&&se(y,Ge[0],Ie,function(){for(Be=1;Be<arguments.length-2;Be++)arguments[Be]===void 0&&(Ge[Be]=void 0)}),Ge&&Xe)for(Ge.groups=Qe=oe(null),Be=0;Be<Xe.length;Be++)qe=Xe[Be],Qe[qe[0]]=Ge[qe[1]];return Ge}),he.exports=b},{"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/internal-state":173,"../internals/object-create":196,"../internals/regexp-flags":225,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/shared":237,"../internals/to-string":256}],225:[function(E,he,de){"use strict";var se=E("../internals/an-object");he.exports=function(){var ne=se(this),ie="";return ne.hasIndices&&(ie+="d"),ne.global&&(ie+="g"),ne.ignoreCase&&(ie+="i"),ne.multiline&&(ie+="m"),ne.dotAll&&(ie+="s"),ne.unicode&&(ie+="u"),ne.sticky&&(ie+="y"),ie}},{"../internals/an-object":101}],226:[function(E,he,de){var se=E("../internals/function-call"),ne=E("../internals/has-own-property"),ie=E("../internals/object-is-prototype-of"),ce=E("../internals/regexp-flags"),ue=RegExp.prototype;he.exports=function(ae){var oe=ae.flags;return oe===void 0&&!("flags"in ue)&&!ne(ae,"flags")&&ie(ue,ae)?se(ce,ae):oe}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(E,he,de){var se=E("../internals/fails"),ne=E("../internals/global"),ie=ne.RegExp,ce=se(function(){var oe=ie("a","y");return oe.lastIndex=2,oe.exec("abcd")!=null}),ue=ce||se(function(){return!ie("a","y").sticky}),ae=ce||se(function(){var oe=ie("^r","gy");return oe.lastIndex=2,oe.exec("str")!=null});he.exports={BROKEN_CARET:ae,MISSED_STICKY:ue,UNSUPPORTED_Y:ce}},{"../internals/fails":150,"../internals/global":163}],228:[function(E,he,de){var se=E("../internals/fails"),ne=E("../internals/global"),ie=ne.RegExp;he.exports=se(function(){var ce=ie(".","s");return!(ce.dotAll&&ce.exec(`
|
|
|
`)&&ce.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(E,he,de){var se=E("../internals/fails"),ne=E("../internals/global"),ie=ne.RegExp;he.exports=se(function(){var ce=ie("(?<a>b)","g");return ce.exec("b").groups.a!=="b"||"b".replace(ce,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,he,de){var se=E("../internals/global"),ne=se.TypeError;he.exports=function(ie){if(ie==null)throw ne("Can't call method on "+ie);return ie}},{"../internals/global":163}],231:[function(E,he,de){he.exports=Object.is||function(ne,ie){return ne===ie?ne!==0||1/ne===1/ie:ne!=ne&&ie!=ie}},{}],232:[function(E,he,de){var se=E("../internals/global"),ne=Object.defineProperty;he.exports=function(ie,ce){try{ne(se,ie,{value:ce,configurable:!0,writable:!0})}catch(ue){se[ie]=ce}return ce}},{"../internals/global":163}],233:[function(E,he,de){"use strict";var se=E("../internals/get-built-in"),ne=E("../internals/object-define-property"),ie=E("../internals/well-known-symbol"),ce=E("../internals/descriptors"),ue=ie("species");he.exports=function(ae){var oe=se(ae),re=ne.f;ce&&oe&&!oe[ue]&&re(oe,ue,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,he,de){var se=E("../internals/object-define-property").f,ne=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol"),ce=ie("toStringTag");he.exports=function(ue,ae,oe){ue&&!oe&&(ue=ue.prototype),ue&&!ne(ue,ce)&&se(ue,ce,{configurable:!0,value:ae})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,he,de){var se=E("../internals/shared"),ne=E("../internals/uid"),ie=se("keys");he.exports=function(ce){return ie[ce]||(ie[ce]=ne(ce))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/set-global"),ie="__core-js_shared__",ce=se[ie]||ne(ie,{});he.exports=ce},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,he,de){var se=E("../internals/is-pure"),ne=E("../internals/shared-store");(he.exports=function(ie,ce){return ne[ie]||(ne[ie]=ce!==void 0?ce:{})})("versions",[]).push({version:"3.22.1",mode:se?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(E,he,de){var se=E("../internals/an-object"),ne=E("../internals/a-constructor"),ie=E("../internals/well-known-symbol"),ce=ie("species");he.exports=function(ue,ae){var oe=se(ue).constructor,re;return oe===void 0||(re=se(oe)[ce])==null?ae:ne(re)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-string"),ce=E("../internals/require-object-coercible"),ue=se("".charAt),ae=se("".charCodeAt),oe=se("".slice),re=function(ee){return function(a,y){var x=ie(ce(a)),b=ne(y),z=x.length,te,le;return b<0||b>=z?ee?"":void 0:(te=ae(x,b),te<55296||te>56319||b+1===z||(le=ae(x,b+1))<56320||le>57343?ee?ue(x,b):te:ee?oe(x,b,b+2):(te-55296<<10)+(le-56320)+65536)}};he.exports={codeAt:re(!1),charAt:re(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,he,de){var se=E("../internals/function-name").PROPER,ne=E("../internals/fails"),ie=E("../internals/whitespaces"),ce="\u200B\x85\u180E";he.exports=function(ue){return ne(function(){return!!ie[ue]()||ce[ue]()!==ce||se&&ie[ue].name!==ue})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/require-object-coercible"),ie=E("../internals/to-string"),ce=E("../internals/whitespaces"),ue=se("".replace),ae="["+ce+"]",oe=RegExp("^"+ae+ae+"*"),re=RegExp(ae+ae+"*$"),ee=function(a){return function(y){var x=ie(ne(y));return a&1&&(x=ue(x,oe,"")),a&2&&(x=ue(x,re,"")),x}};he.exports={start:ee(1),end:ee(2),trim:ee(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,he,de){var se=E("../internals/function-call"),ne=E("../internals/get-built-in"),ie=E("../internals/well-known-symbol"),ce=E("../internals/redefine");he.exports=function(){var ue=ne("Symbol"),ae=ue&&ue.prototype,oe=ae&&ae.valueOf,re=ie("toPrimitive");ae&&!ae[re]&&ce(ae,re,function(ee){return se(oe,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/function-apply"),ie=E("../internals/function-bind-context"),ce=E("../internals/is-callable"),ue=E("../internals/has-own-property"),ae=E("../internals/fails"),oe=E("../internals/html"),re=E("../internals/array-slice"),ee=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=se.setImmediate,z=se.clearImmediate,te=se.process,le=se.Dispatch,fe=se.Function,pe=se.MessageChannel,me=se.String,ge=0,Se={},ye="onreadystatechange",Pe,we,De,Ee;try{Pe=se.location}catch(Ge){}var Ae=function(Ge){if(ue(Se,Ge)){var Be=Se[Ge];delete Se[Ge],Be()}},Ce=function(Ge){return function(){Ae(Ge)}},Ie=function(Ge){Ae(Ge.data)},Me=function(Ge){se.postMessage(me(Ge),Pe.protocol+"//"+Pe.host)};(!b||!z)&&(b=function(Be){a(arguments.length,1);var Qe=ce(Be)?Be:fe(Be),qe=re(arguments,1);return Se[++ge]=function(){ne(Qe,void 0,qe)},we(ge),ge},z=function(Be){delete Se[Be]},x?we=function(Ge){te.nextTick(Ce(Ge))}:le&&le.now?we=function(Ge){le.now(Ce(Ge))}:pe&&!y?(De=new pe,Ee=De.port2,De.port1.onmessage=Ie,we=ie(Ee.postMessage,Ee)):se.addEventListener&&ce(se.postMessage)&&!se.importScripts&&Pe&&Pe.protocol!=="file:"&&!ae(Me)?(we=Me,se.addEventListener("message",Ie,!1)):ye in ee("script")?we=function(Ge){oe.appendChild(ee("script"))[ye]=function(){oe.removeChild(this),Ae(Ge)}}:we=function(Ge){setTimeout(Ce(Ge),0)}),he.exports={set:b,clear:z}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,he,de){var se=E("../internals/function-uncurry-this");he.exports=se(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,he,de){var se=E("../internals/to-integer-or-infinity"),ne=Math.max,ie=Math.min;he.exports=function(ce,ue){var ae=se(ce);return ae<0?ne(ae+ue,0):ie(ae,ue)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-length"),ce=se.RangeError;he.exports=function(ue){if(ue===void 0)return 0;var ae=ne(ue),oe=ie(ae);if(ae!==oe)throw ce("Wrong length or index");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,he,de){var se=E("../internals/indexed-object"),ne=E("../internals/require-object-coercible");he.exports=function(ie){return se(ne(ie))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,he,de){var se=Math.ceil,ne=Math.floor;he.exports=function(ie){var ce=+ie;return ce!==ce||ce===0?0:(ce>0?ne:se)(ce)}},{}],249:[function(E,he,de){var se=E("../internals/to-integer-or-infinity"),ne=Math.min;he.exports=function(ie){return ie>0?ne(se(ie),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/require-object-coercible"),ie=se.Object;he.exports=function(ce){return ie(ne(ce))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/to-positive-integer"),ie=se.RangeError;he.exports=function(ce,ue){var ae=ne(ce);if(ae%ue)throw ie("Wrong offset");return ae}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/to-integer-or-infinity"),ie=se.RangeError;he.exports=function(ce){var ue=ne(ce);if(ue<0)throw ie("The argument can't be less than 0");return ue}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/function-call"),ie=E("../internals/is-object"),ce=E("../internals/is-symbol"),ue=E("../internals/get-method"),ae=E("../internals/ordinary-to-primitive"),oe=E("../internals/well-known-symbol"),re=se.TypeError,ee=oe("toPrimitive");he.exports=function(a,y){if(!ie(a)||ce(a))return a;var x=ue(a,ee),b;if(x){if(y===void 0&&(y="default"),b=ne(x,a,y),!ie(b)||ce(b))return b;throw re("Can't convert object to primitive value")}return y===void 0&&(y="number"),ae(a,y)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(E,he,de){var se=E("../internals/to-primitive"),ne=E("../internals/is-symbol");he.exports=function(ie){var ce=se(ie,"string");return ne(ce)?ce:ce+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,he,de){var se=E("../internals/well-known-symbol"),ne=se("toStringTag"),ie={};ie[ne]="z",he.exports=String(ie)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/classof"),ie=se.String;he.exports=function(ce){if(ne(ce)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ie(ce)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,he,de){var se=E("../internals/global"),ne=se.String;he.exports=function(ie){try{return ne(ie)}catch(ce){return"Object"}}},{"../internals/global":163}],258:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/function-call"),ce=E("../internals/descriptors"),ue=E("../internals/typed-array-constructors-require-wrappers"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/array-buffer"),re=E("../internals/an-instance"),ee=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),z=E("../internals/to-offset"),te=E("../internals/to-property-key"),le=E("../internals/has-own-property"),fe=E("../internals/classof"),pe=E("../internals/is-object"),me=E("../internals/is-symbol"),ge=E("../internals/object-create"),Se=E("../internals/object-is-prototype-of"),ye=E("../internals/object-set-prototype-of"),Pe=E("../internals/object-get-own-property-names").f,we=E("../internals/typed-array-from"),De=E("../internals/array-iteration").forEach,Ee=E("../internals/set-species"),Ae=E("../internals/object-define-property"),Ce=E("../internals/object-get-own-property-descriptor"),Ie=E("../internals/internal-state"),Me=E("../internals/inherit-if-required"),Ge=Ie.get,Be=Ie.set,Qe=Ae.f,qe=Ce.f,Xe=Math.round,Ve=ne.RangeError,We=oe.ArrayBuffer,ze=We.prototype,He=oe.DataView,tt=ae.NATIVE_ARRAY_BUFFER_VIEWS,Je=ae.TYPED_ARRAY_CONSTRUCTOR,ut=ae.TYPED_ARRAY_TAG,Ye=ae.TypedArray,Ue=ae.TypedArrayPrototype,je=ae.aTypedArrayConstructor,$e=ae.isTypedArray,Le="BYTES_PER_ELEMENT",Ne="Wrong length",et=function(Re,Ke){je(Re);for(var ot=0,ke=Ke.length,nt=new Re(ke);ke>ot;)nt[ot]=Ke[ot++];return nt},Ze=function(Re,Ke){Qe(Re,Ke,{get:function(){return Ge(this)[Ke]}})},Fe=function(Re){var Ke;return Se(ze,Re)||(Ke=fe(Re))=="ArrayBuffer"||Ke=="SharedArrayBuffer"},Oe=function(Re,Ke){return $e(Re)&&!me(Ke)&&Ke in Re&&y(+Ke)&&Ke>=0},Te=function(Ke,ot){return ot=te(ot),Oe(Ke,ot)?ee(2,Ke[ot]):qe(Ke,ot)},xe=function(Ke,ot,ke){return ot=te(ot),Oe(Ke,ot)&&pe(ke)&&le(ke,"value")&&!le(ke,"get")&&!le(ke,"set")&&!ke.configurable&&(!le(ke,"writable")||ke.writable)&&(!le(ke,"enumerable")||ke.enumerable)?(Ke[ot]=ke.value,Ke):Qe(Ke,ot,ke)};ce?(tt||(Ce.f=Te,Ae.f=xe,Ze(Ue,"buffer"),Ze(Ue,"byteOffset"),Ze(Ue,"byteLength"),Ze(Ue,"length")),se({target:"Object",stat:!0,forced:!tt},{getOwnPropertyDescriptor:Te,defineProperty:xe}),he.exports=function(Re,Ke,ot){var ke=Re.match(/\d+$/)[0]/8,nt=Re+(ot?"Clamped":"")+"Array",mt="get"+Re,ct="set"+Re,ht=ne[nt],lt=ht,pt=lt&<.prototype,at={},st=function(St,Et){var Mt=Ge(St);return Mt.view[mt](Et*ke+Mt.byteOffset,!0)},ft=function(St,Et,Mt){var kt=Ge(St);ot&&(Mt=(Mt=Xe(Mt))<0?0:Mt>255?255:Mt&255),kt.view[ct](Et*ke+kt.byteOffset,Mt,!0)},vt=function(St,Et){Qe(St,Et,{get:function(){return st(this,Et)},set:function(Mt){return ft(this,Et,Mt)},enumerable:!0})};tt?ue&&(lt=Ke(function(St,Et,Mt,kt){return re(St,pt),Me(function(){return pe(Et)?Fe(Et)?kt!==void 0?new ht(Et,z(Mt,ke),kt):Mt!==void 0?new ht(Et,z(Mt,ke)):new ht(Et):$e(Et)?et(lt,Et):ie(we,lt,Et):new ht(b(Et))}(),St,lt)}),ye&&ye(lt,Ye),De(Pe(ht),function(St){St in lt||a(lt,St,ht[St])}),lt.prototype=pt):(lt=Ke(function(St,Et,Mt,kt){re(St,pt);var Jt=0,dn=0,Qt,on,wn;if(!pe(Et))wn=b(Et),on=wn*ke,Qt=new We(on);else if(Fe(Et)){Qt=Et,dn=z(Mt,ke);var vn=Et.byteLength;if(kt===void 0){if(vn%ke||(on=vn-dn,on<0))throw Ve(Ne)}else if(on=x(kt)*ke,on+dn>vn)throw Ve(Ne);wn=on/ke}else return $e(Et)?et(lt,Et):ie(we,lt,Et);for(Be(St,{buffer:Qt,byteOffset:dn,byteLength:on,length:wn,view:new He(Qt)});Jt<wn;)vt(St,Jt++)}),ye&&ye(lt,Ye),pt=lt.prototype=ge(Ue)),pt.constructor!==lt&&a(pt,"constructor",lt),a(pt,Je,lt),ut&&a(pt,ut,nt),at[nt]=lt,se({global:!0,forced:lt!=ht,sham:!tt},at),Le in lt||a(lt,Le,ke),Le in pt||a(pt,Le,ke),Ee(nt)}):he.exports=function(){}},{"../internals/an-instance":100,"../internals/array-buffer":104,"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-integral-number":179,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/object-create":196,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/set-species":233,"../internals/to-index":246,"../internals/to-length":249,"../internals/to-offset":251,"../internals/to-property-key":254,"../internals/typed-array-constructors-require-wrappers":259,"../internals/typed-array-from":261}],259:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/fails"),ie=E("../internals/check-correctness-of-iteration"),ce=E("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,ue=se.ArrayBuffer,ae=se.Int8Array;he.exports=!ce||!ne(function(){ae(1)})||!ne(function(){new ae(-1)})||!ie(function(oe){new ae,new ae(null),new ae(1.5),new ae(oe)},!0)||ne(function(){return new ae(new ue(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(E,he,de){var se=E("../internals/array-from-constructor-and-list"),ne=E("../internals/typed-array-species-constructor");he.exports=function(ie,ce){return se(ne(ie),ce)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(E,he,de){var se=E("../internals/function-bind-context"),ne=E("../internals/function-call"),ie=E("../internals/a-constructor"),ce=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/get-iterator"),oe=E("../internals/get-iterator-method"),re=E("../internals/is-array-iterator-method"),ee=E("../internals/array-buffer-view-core").aTypedArrayConstructor;he.exports=function(y){var x=ie(this),b=ce(y),z=arguments.length,te=z>1?arguments[1]:void 0,le=te!==void 0,fe=oe(b),pe,me,ge,Se,ye,Pe;if(fe&&!re(fe))for(ye=ae(b,fe),Pe=ye.next,b=[];!(Se=ne(Pe,ye)).done;)b.push(Se.value);for(le&&z>2&&(te=se(te,arguments[2])),me=ue(b),ge=new(ee(x))(me),pe=0;me>pe;pe++)ge[pe]=le?te(b[pe],pe):b[pe];return ge}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(E,he,de){var se=E("../internals/array-buffer-view-core"),ne=E("../internals/species-constructor"),ie=se.TYPED_ARRAY_CONSTRUCTOR,ce=se.aTypedArrayConstructor;he.exports=function(ue){return ce(ne(ue,ue[ie]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,he,de){var se=E("../internals/function-uncurry-this"),ne=0,ie=Math.random(),ce=se(1 .toString);he.exports=function(ue){return"Symbol("+(ue===void 0?"":ue)+")_"+ce(++ne+ie,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,he,de){var se=E("../internals/native-symbol");he.exports=se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,he,de){var se=E("../internals/descriptors"),ne=E("../internals/fails");he.exports=se&&ne(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,he,de){var se=E("../internals/global"),ne=se.TypeError;he.exports=function(ie,ce){if(ie<ce)throw ne("Not enough arguments");return ie}},{"../internals/global":163}],267:[function(E,he,de){var se=E("../internals/well-known-symbol");de.f=se},{"../internals/well-known-symbol":268}],268:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/shared"),ie=E("../internals/has-own-property"),ce=E("../internals/uid"),ue=E("../internals/native-symbol"),ae=E("../internals/use-symbol-as-uid"),oe=ne("wks"),re=se.Symbol,ee=re&&re.for,a=ae?re:re&&re.withoutSetter||ce;he.exports=function(y){if(!ie(oe,y)||!(ue||typeof oe[y]=="string")){var x="Symbol."+y;ue&&ie(re,y)?oe[y]=re[y]:ae&&ee?oe[y]=ee(x):oe[y]=a(x)}return oe[y]}},{"../internals/global":163,"../internals/has-own-property":164,"../internals/native-symbol":191,"../internals/shared":237,"../internals/uid":263,"../internals/use-symbol-as-uid":264}],269:[function(E,he,de){he.exports=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],270:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/array-buffer"),ce=E("../internals/set-species"),ue="ArrayBuffer",ae=ie[ue],oe=ne[ue];se({global:!0,forced:oe!==ae},{ArrayBuffer:ae}),ce(ue)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),ce=E("../internals/array-buffer"),ue=E("../internals/an-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/to-length"),re=E("../internals/species-constructor"),ee=ce.ArrayBuffer,a=ce.DataView,y=a.prototype,x=ne(ee.prototype.slice),b=ne(y.getUint8),z=ne(y.setUint8),te=ie(function(){return!new ee(2).slice(1,void 0).byteLength});se({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:te},{slice:function(fe,pe){if(x&&pe===void 0)return x(ue(this),fe);for(var me=ue(this).byteLength,ge=ae(fe,me),Se=ae(pe===void 0?me:pe,me),ye=new(re(this,ee))(oe(Se-ge)),Pe=new a(this),we=new a(ye),De=0;ge<Se;)z(we,De++,b(Pe,ge++));return ye}})},{"../internals/an-object":101,"../internals/array-buffer":104,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/species-constructor":238,"../internals/to-absolute-index":245,"../internals/to-length":249}],272:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/fails"),ce=E("../internals/is-array"),ue=E("../internals/is-object"),ae=E("../internals/to-object"),oe=E("../internals/length-of-array-like"),re=E("../internals/create-property"),ee=E("../internals/array-species-create"),a=E("../internals/array-method-has-species-support"),y=E("../internals/well-known-symbol"),x=E("../internals/engine-v8-version"),b=y("isConcatSpreadable"),z=9007199254740991,te="Maximum allowed index exceeded",le=ne.TypeError,fe=x>=51||!ie(function(){var Se=[];return Se[b]=!1,Se.concat()[0]!==Se}),pe=a("concat"),me=function(Se){if(!ue(Se))return!1;var ye=Se[b];return ye!==void 0?!!ye:ce(Se)},ge=!fe||!pe;se({target:"Array",proto:!0,forced:ge},{concat:function(ye){var Pe=ae(this),we=ee(Pe,0),De=0,Ee,Ae,Ce,Ie,Me;for(Ee=-1,Ce=arguments.length;Ee<Ce;Ee++)if(Me=Ee===-1?Pe:arguments[Ee],me(Me)){if(Ie=oe(Me),De+Ie>z)throw le(te);for(Ae=0;Ae<Ie;Ae++,De++)Ae in Me&&re(we,De,Me[Ae])}else{if(De>=z)throw le(te);re(we,De++,Me)}return we.length=De,we}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,he,de){var se=E("../internals/export"),ne=E("../internals/array-fill"),ie=E("../internals/add-to-unscopables");se({target:"Array",proto:!0},{fill:ne}),ie("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/array-iteration").filter,ie=E("../internals/array-method-has-species-support"),ce=ie("filter");se({target:"Array",proto:!0,forced:!ce},{filter:function(ae){return ne(this,ae,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/array-iteration").find,ie=E("../internals/add-to-unscopables"),ce="find",ue=!0;ce in[]&&Array(1)[ce](function(){ue=!1}),se({target:"Array",proto:!0,forced:ue},{find:function(oe){return ne(this,oe,arguments.length>1?arguments[1]:void 0)}}),ie(ce)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,he,de){var se=E("../internals/export"),ne=E("../internals/array-from"),ie=E("../internals/check-correctness-of-iteration"),ce=!ie(function(ue){Array.from(ue)});se({target:"Array",stat:!0,forced:ce},{from:ne})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/array-includes").includes,ie=E("../internals/add-to-unscopables");se({target:"Array",proto:!0},{includes:function(ue){return ne(this,ue,arguments.length>1?arguments[1]:void 0)}}),ie("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,he,de){"use strict";var se=E("../internals/to-indexed-object"),ne=E("../internals/add-to-unscopables"),ie=E("../internals/iterators"),ce=E("../internals/internal-state"),ue=E("../internals/object-define-property").f,ae=E("../internals/define-iterator"),oe=E("../internals/is-pure"),re=E("../internals/descriptors"),ee="Array Iterator",a=ce.set,y=ce.getterFor(ee);he.exports=ae(Array,"Array",function(b,z){a(this,{type:ee,target:se(b),index:0,kind:z})},function(){var b=y(this),z=b.target,te=b.kind,le=b.index++;return!z||le>=z.length?(b.target=void 0,{value:void 0,done:!0}):te=="keys"?{value:le,done:!1}:te=="values"?{value:z[le],done:!1}:{value:[le,z[le]],done:!1}},"values");var x=ie.Arguments=ie.Array;if(ne("keys"),ne("values"),ne("entries"),!oe&&re&&x.name!=="values")try{ue(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),ce=E("../internals/to-indexed-object"),ue=E("../internals/array-method-is-strict"),ae=ne([].join),oe=ie!=Object,re=ue("join",",");se({target:"Array",proto:!0,forced:oe||!re},{join:function(a){return ae(ce(this),a===void 0?",":a)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/array-iteration").map,ie=E("../internals/array-method-has-species-support"),ce=ie("map");se({target:"Array",proto:!0,forced:!ce},{map:function(ae){return ne(this,ae,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/is-array"),ce=E("../internals/is-constructor"),ue=E("../internals/is-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/length-of-array-like"),re=E("../internals/to-indexed-object"),ee=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),z=a("species"),te=ne.Array,le=Math.max;se({target:"Array",proto:!0,forced:!b},{slice:function(pe,me){var ge=re(this),Se=oe(ge),ye=ae(pe,Se),Pe=ae(me===void 0?Se:me,Se),we,De,Ee;if(ie(ge)&&(we=ge.constructor,ce(we)&&(we===te||ie(we.prototype))?we=void 0:ue(we)&&(we=we[z],we===null&&(we=void 0)),we===te||we===void 0))return x(ge,ye,Pe);for(De=new(we===void 0?te:we)(le(Pe-ye,0)),Ee=0;ye<Pe;ye++,Ee++)ye in ge&&ee(De,Ee,ge[ye]);return De.length=Ee,De}})},{"../internals/array-method-has-species-support":113,"../internals/array-slice":117,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247,"../internals/well-known-symbol":268}],282:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/a-callable"),ce=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/to-string"),oe=E("../internals/fails"),re=E("../internals/array-sort"),ee=E("../internals/array-method-is-strict"),a=E("../internals/engine-ff-version"),y=E("../internals/engine-is-ie-or-edge"),x=E("../internals/engine-v8-version"),b=E("../internals/engine-webkit-version"),z=[],te=ne(z.sort),le=ne(z.push),fe=oe(function(){z.sort(void 0)}),pe=oe(function(){z.sort(null)}),me=ee("sort"),ge=!oe(function(){if(x)return x<70;if(!(a&&a>3)){if(y)return!0;if(b)return b<603;var Pe="",we,De,Ee,Ae;for(we=65;we<76;we++){switch(De=String.fromCharCode(we),we){case 66:case 69:case 70:case 72:Ee=3;break;case 68:case 71:Ee=4;break;default:Ee=2}for(Ae=0;Ae<47;Ae++)z.push({k:De+Ae,v:Ee})}for(z.sort(function(Ce,Ie){return Ie.v-Ce.v}),Ae=0;Ae<z.length;Ae++)De=z[Ae].k.charAt(0),Pe.charAt(Pe.length-1)!==De&&(Pe+=De);return Pe!=="DGBEFHACIJK"}}),Se=fe||!pe||!me||!ge,ye=function(Pe){return function(we,De){return De===void 0?-1:we===void 0?1:Pe!==void 0?+Pe(we,De)||0:ae(we)>ae(De)?1:-1}};se({target:"Array",proto:!0,forced:Se},{sort:function(we){we!==void 0&&ie(we);var De=ce(this);if(ge)return we===void 0?te(De):te(De,we);var Ee=[],Ae=ue(De),Ce,Ie;for(Ie=0;Ie<Ae;Ie++)Ie in De&&le(Ee,De[Ie]);for(re(Ee,ye(we)),Ce=Ee.length,Ie=0;Ie<Ce;)De[Ie]=Ee[Ie++];for(;Ie<Ae;)delete De[Ie++];return De}})},{"../internals/a-callable":95,"../internals/array-method-is-strict":114,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-string":256}],283:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/to-absolute-index"),ce=E("../internals/to-integer-or-infinity"),ue=E("../internals/length-of-array-like"),ae=E("../internals/to-object"),oe=E("../internals/array-species-create"),re=E("../internals/create-property"),ee=E("../internals/array-method-has-species-support"),a=ee("splice"),y=ne.TypeError,x=Math.max,b=Math.min,z=9007199254740991,te="Maximum allowed length exceeded";se({target:"Array",proto:!0,forced:!a},{splice:function(fe,pe){var me=ae(this),ge=ue(me),Se=ie(fe,ge),ye=arguments.length,Pe,we,De,Ee,Ae,Ce;if(ye===0?Pe=we=0:ye===1?(Pe=0,we=ge-Se):(Pe=ye-2,we=b(x(ce(pe),0),ge-Se)),ge+Pe-we>z)throw y(te);for(De=oe(me,we),Ee=0;Ee<we;Ee++)Ae=Se+Ee,Ae in me&&re(De,Ee,me[Ae]);if(De.length=we,Pe<we){for(Ee=Se;Ee<ge-we;Ee++)Ae=Ee+we,Ce=Ee+Pe,Ae in me?me[Ce]=me[Ae]:delete me[Ce];for(Ee=ge;Ee>ge-we+Pe;Ee--)delete me[Ee-1]}else if(Pe>we)for(Ee=ge-we;Ee>Se;Ee--)Ae=Ee+we-1,Ce=Ee+Pe-1,Ae in me?me[Ce]=me[Ae]:delete me[Ce];for(Ee=0;Ee<Pe;Ee++)me[Ee+Se]=arguments[Ee+2];return me.length=ge-we+Pe,De}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-integer-or-infinity":248,"../internals/to-object":250}],284:[function(E,he,de){var se=E("../internals/descriptors"),ne=E("../internals/function-name").EXISTS,ie=E("../internals/function-uncurry-this"),ce=E("../internals/object-define-property").f,ue=Function.prototype,ae=ie(ue.toString),oe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,re=ie(oe.exec),ee="name";se&&!ne&&ce(ue,ee,{configurable:!0,get:function(){try{return re(oe,ae(this))[1]}catch(a){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(E,he,de){var se=E("../internals/export"),ne=E("../internals/get-built-in"),ie=E("../internals/function-apply"),ce=E("../internals/function-call"),ue=E("../internals/function-uncurry-this"),ae=E("../internals/fails"),oe=E("../internals/is-array"),re=E("../internals/is-callable"),ee=E("../internals/is-object"),a=E("../internals/is-symbol"),y=E("../internals/array-slice"),x=E("../internals/native-symbol"),b=ne("JSON","stringify"),z=ue(/./.exec),te=ue("".charAt),le=ue("".charCodeAt),fe=ue("".replace),pe=ue(1 .toString),me=/[\uD800-\uDFFF]/g,ge=/^[\uD800-\uDBFF]$/,Se=/^[\uDC00-\uDFFF]$/,ye=!x||ae(function(){var Ee=ne("Symbol")();return b([Ee])!="[null]"||b({a:Ee})!="{}"||b(Object(Ee))!="{}"}),Pe=ae(function(){return b("\uDF06\uD834")!=='"\\udf06\\ud834"'||b("\uDEAD")!=='"\\udead"'}),we=function(Ee,Ae){var Ce=y(arguments),Ie=Ae;if(!(!ee(Ae)&&Ee===void 0||a(Ee)))return oe(Ae)||(Ae=function(Me,Ge){if(re(Ie)&&(Ge=ce(Ie,this,Me,Ge)),!a(Ge))return Ge}),Ce[1]=Ae,ie(b,null,Ce)},De=function(Ee,Ae,Ce){var Ie=te(Ce,Ae-1),Me=te(Ce,Ae+1);return z(ge,Ee)&&!z(Se,Me)||z(Se,Ee)&&!z(ge,Ie)?"\\u"+pe(le(Ee,0),16):Ee};b&&se({target:"JSON",stat:!0,forced:ye||Pe},{stringify:function(Ae,Ce,Ie){var Me=y(arguments),Ge=ie(ye?we:b,null,Me);return Pe&&typeof Ge=="string"?fe(Ge,me,De):Ge}})},{"../internals/array-slice":117,"../internals/export":149,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/is-array":175,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/native-symbol":191}],286:[function(E,he,de){"use strict";var se=E("../internals/descriptors"),ne=E("../internals/global"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/is-forced"),ue=E("../internals/redefine"),ae=E("../internals/has-own-property"),oe=E("../internals/inherit-if-required"),re=E("../internals/object-is-prototype-of"),ee=E("../internals/is-symbol"),a=E("../internals/to-primitive"),y=E("../internals/fails"),x=E("../internals/object-get-own-property-names").f,b=E("../internals/object-get-own-property-descriptor").f,z=E("../internals/object-define-property").f,te=E("../internals/this-number-value"),le=E("../internals/string-trim").trim,fe="Number",pe=ne[fe],me=pe.prototype,ge=ne.TypeError,Se=ie("".slice),ye=ie("".charCodeAt),Pe=function(Ie){var Me=a(Ie,"number");return typeof Me=="bigint"?Me:we(Me)},we=function(Ie){var Me=a(Ie,"number"),Ge,Be,Qe,qe,Xe,Ve,We,ze;if(ee(Me))throw ge("Cannot convert a Symbol value to a number");if(typeof Me=="string"&&Me.length>2){if(Me=le(Me),Ge=ye(Me,0),Ge===43||Ge===45){if(Be=ye(Me,2),Be===88||Be===120)return NaN}else if(Ge===48){switch(ye(Me,1)){case 66:case 98:Qe=2,qe=49;break;case 79:case 111:Qe=8,qe=55;break;default:return+Me}for(Xe=Se(Me,2),Ve=Xe.length,We=0;We<Ve;We++)if(ze=ye(Xe,We),ze<48||ze>qe)return NaN;return parseInt(Xe,Qe)}}return+Me};if(ce(fe,!pe(" 0o1")||!pe("0b1")||pe("+0x1"))){for(var De=function(Me){var Ge=arguments.length<1?0:pe(Pe(Me)),Be=this;return re(me,Be)&&y(function(){te(Be)})?oe(Object(Ge),Be,De):Ge},Ee=se?x(pe):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Ae=0,Ce;Ee.length>Ae;Ae++)ae(pe,Ce=Ee[Ae])&&!ae(De,Ce)&&z(De,Ce,b(pe,Ce));De.prototype=me,me.constructor=De,ue(ne,fe,De)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,he,de){var se=E("../internals/export"),ne=E("../internals/object-assign");se({target:"Object",stat:!0,forced:Object.assign!==ne},{assign:ne})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,he,de){var se=E("../internals/export"),ne=E("../internals/object-to-array").entries;se({target:"Object",stat:!0},{entries:function(ce){return ne(ce)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,he,de){var se=E("../internals/export"),ne=E("../internals/native-symbol"),ie=E("../internals/fails"),ce=E("../internals/object-get-own-property-symbols"),ue=E("../internals/to-object"),ae=!ne||ie(function(){ce.f(1)});se({target:"Object",stat:!0,forced:ae},{getOwnPropertySymbols:function(re){var ee=ce.f;return ee?ee(ue(re)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,he,de){var se=E("../internals/export"),ne=E("../internals/to-object"),ie=E("../internals/object-keys"),ce=E("../internals/fails"),ue=ce(function(){ie(1)});se({target:"Object",stat:!0,forced:ue},{keys:function(oe){return ie(ne(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,he,de){var se=E("../internals/to-string-tag-support"),ne=E("../internals/redefine"),ie=E("../internals/object-to-string");se||ne(Object.prototype,"toString",ie,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-call"),ie=E("../internals/a-callable"),ce=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");se({target:"Promise",stat:!0,forced:oe},{all:function(ee){var a=this,y=ce.f(a),x=y.resolve,b=y.reject,z=ue(function(){var te=ie(a.resolve),le=[],fe=0,pe=1;ae(ee,function(me){var ge=fe++,Se=!1;pe++,ne(te,a,me).then(function(ye){Se||(Se=!0,le[ge]=ye,--pe||x(le))},b)}),--pe||x(le)});return z.error&&b(z.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/is-pure"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR,ce=E("../internals/promise-native-constructor"),ue=E("../internals/get-built-in"),ae=E("../internals/is-callable"),oe=E("../internals/redefine"),re=ce&&ce.prototype;if(se({target:"Promise",proto:!0,forced:ie,real:!0},{catch:function(a){return this.then(void 0,a)}}),!ne&&ae(ce)){var ee=ue("Promise").prototype.catch;re.catch!==ee&&oe(re,"catch",ee,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/is-pure"),ie=E("../internals/engine-is-node"),ce=E("../internals/global"),ue=E("../internals/function-call"),ae=E("../internals/redefine"),oe=E("../internals/redefine-all"),re=E("../internals/object-set-prototype-of"),ee=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),z=E("../internals/an-instance"),te=E("../internals/species-constructor"),le=E("../internals/task").set,fe=E("../internals/microtask"),pe=E("../internals/host-report-errors"),me=E("../internals/perform"),ge=E("../internals/queue"),Se=E("../internals/internal-state"),ye=E("../internals/promise-native-constructor"),Pe=E("../internals/promise-constructor-detection"),we=E("../internals/new-promise-capability"),De="Promise",Ee=Pe.CONSTRUCTOR,Ae=Pe.REJECTION_EVENT,Ce=Pe.SUBCLASSING,Ie=Se.getterFor(De),Me=Se.set,Ge=ye&&ye.prototype,Be=ye,Qe=Ge,qe=ce.TypeError,Xe=ce.document,Ve=ce.process,We=we.f,ze=We,He=!!(Xe&&Xe.createEvent&&ce.dispatchEvent),tt="unhandledrejection",Je="rejectionhandled",ut=0,Ye=1,Ue=2,je=1,$e=2,Le,Ne,et,Ze,Fe=function(ct){var ht;return b(ct)&&x(ht=ct.then)?ht:!1},Oe=function(ct,ht){var lt=ht.value,pt=ht.state==Ye,at=pt?ct.ok:ct.fail,st=ct.resolve,ft=ct.reject,vt=ct.domain,St,Et,Mt;try{at?(pt||(ht.rejection===$e&&ot(ht),ht.rejection=je),at===!0?St=lt:(vt&&vt.enter(),St=at(lt),vt&&(vt.exit(),Mt=!0)),St===ct.promise?ft(qe("Promise-chain cycle")):(Et=Fe(St))?ue(Et,St,st,ft):st(St)):ft(lt)}catch(kt){vt&&!Mt&&vt.exit(),ft(kt)}},Te=function(ct,ht){ct.notified||(ct.notified=!0,fe(function(){for(var lt=ct.reactions,pt;pt=lt.get();)Oe(pt,ct);ct.notified=!1,ht&&!ct.rejection&&Re(ct)}))},xe=function(ct,ht,lt){var pt,at;He?(pt=Xe.createEvent("Event"),pt.promise=ht,pt.reason=lt,pt.initEvent(ct,!1,!0),ce.dispatchEvent(pt)):pt={promise:ht,reason:lt},!Ae&&(at=ce["on"+ct])?at(pt):ct===tt&&pe("Unhandled promise rejection",lt)},Re=function(ct){ue(le,ce,function(){var ht=ct.facade,lt=ct.value,pt=Ke(ct),at;if(pt&&(at=me(function(){ie?Ve.emit("unhandledRejection",lt,ht):xe(tt,ht,lt)}),ct.rejection=ie||Ke(ct)?$e:je,at.error))throw at.value})},Ke=function(ct){return ct.rejection!==je&&!ct.parent},ot=function(ct){ue(le,ce,function(){var ht=ct.facade;ie?Ve.emit("rejectionHandled",ht):xe(Je,ht,ct.value)})},ke=function(ct,ht,lt){return function(pt){ct(ht,pt,lt)}},nt=function(ct,ht,lt){ct.done||(ct.done=!0,lt&&(ct=lt),ct.value=ht,ct.state=Ue,Te(ct,!0))},mt=function(ct,ht,lt){if(!ct.done){ct.done=!0,lt&&(ct=lt);try{if(ct.facade===ht)throw qe("Promise can't be resolved itself");var pt=Fe(ht);pt?fe(function(){var at={done:!1};try{ue(pt,ht,ke(mt,at,ct),ke(nt,at,ct))}catch(st){nt(at,st,ct)}}):(ct.value=ht,ct.state=Ye,Te(ct,!1))}catch(at){nt({done:!1},at,ct)}}};if(Ee&&(Be=function(ht){z(this,Qe),y(ht),ue(Le,this);var lt=Ie(this);try{ht(ke(mt,lt),ke(nt,lt))}catch(pt){nt(lt,pt)}},Qe=Be.prototype,Le=function(ht){Me(this,{type:De,done:!1,notified:!1,parent:!1,reactions:new ge,rejection:!1,state:ut,value:void 0})},Le.prototype=oe(Qe,{then:function(ht,lt){var pt=Ie(this),at=We(te(this,Be));return pt.parent=!0,at.ok=x(ht)?ht:!0,at.fail=x(lt)&<,at.domain=ie?Ve.domain:void 0,pt.state==ut?pt.reactions.add(at):fe(function(){Oe(at,pt)}),at.promise}}),Ne=function(){var ct=new Le,ht=Ie(ct);this.promise=ct,this.resolve=ke(mt,ht),this.reject=ke(nt,ht)},we.f=We=function(ct){return ct===Be||ct===et?new Ne(ct):ze(ct)},!ne&&x(ye)&&Ge!==Object.prototype)){Ze=Ge.then,Ce||ae(Ge,"then",function(ht,lt){var pt=this;return new Be(function(at,st){ue(Ze,pt,at,st)}).then(ht,lt)},{unsafe:!0});try{delete Ge.constructor}catch(ct){}re&&re(Ge,Qe)}se({global:!0,wrap:!0,forced:Ee},{Promise:Be}),ee(Be,De,!1,!0),a(De)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,he,de){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-call"),ie=E("../internals/a-callable"),ce=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");se({target:"Promise",stat:!0,forced:oe},{race:function(ee){var a=this,y=ce.f(a),x=y.reject,b=ue(function(){var z=ie(a.resolve);ae(ee,function(te){ne(z,a,te).then(y.resolve,x)})});return b.error&&x(b.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-call"),ie=E("../internals/new-promise-capability"),ce=E("../internals/promise-constructor-detection").CONSTRUCTOR;se({target:"Promise",stat:!0,forced:ce},{reject:function(ae){var oe=ie.f(this);return ne(oe.reject,void 0,ae),oe.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/get-built-in"),ie=E("../internals/is-pure"),ce=E("../internals/promise-native-constructor"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR,ae=E("../internals/promise-resolve"),oe=ne("Promise"),re=ie&&!ue;se({target:"Promise",stat:!0,forced:ie||ue},{resolve:function(a){return ae(re&&this===oe?ce:this,a)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(E,he,de){var se=E("../internals/descriptors"),ne=E("../internals/global"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/is-forced"),ue=E("../internals/inherit-if-required"),ae=E("../internals/create-non-enumerable-property"),oe=E("../internals/object-get-own-property-names").f,re=E("../internals/object-is-prototype-of"),ee=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),z=E("../internals/redefine"),te=E("../internals/fails"),le=E("../internals/has-own-property"),fe=E("../internals/internal-state").enforce,pe=E("../internals/set-species"),me=E("../internals/well-known-symbol"),ge=E("../internals/regexp-unsupported-dot-all"),Se=E("../internals/regexp-unsupported-ncg"),ye=me("match"),Pe=ne.RegExp,we=Pe.prototype,De=ne.SyntaxError,Ee=ie(we.exec),Ae=ie("".charAt),Ce=ie("".replace),Ie=ie("".indexOf),Me=ie("".slice),Ge=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Be=/a/g,Qe=/a/g,qe=new Pe(Be)!==Be,Xe=x.MISSED_STICKY,Ve=x.UNSUPPORTED_Y,We=se&&(!qe||Xe||ge||Se||te(function(){return Qe[ye]=!1,Pe(Be)!=Be||Pe(Qe)==Qe||Pe(Be,"i")!="/a/i"})),ze=function(Ye){for(var Ue=Ye.length,je=0,$e="",Le=!1,Ne;je<=Ue;je++){if(Ne=Ae(Ye,je),Ne==="\\"){$e+=Ne+Ae(Ye,++je);continue}!Le&&Ne==="."?$e+="[\\s\\S]":(Ne==="["?Le=!0:Ne==="]"&&(Le=!1),$e+=Ne)}return $e},He=function(Ye){for(var Ue=Ye.length,je=0,$e="",Le=[],Ne={},et=!1,Ze=!1,Fe=0,Oe="",Te;je<=Ue;je++){if(Te=Ae(Ye,je),Te==="\\")Te=Te+Ae(Ye,++je);else if(Te==="]")et=!1;else if(!et)switch(!0){case Te==="[":et=!0;break;case Te==="(":Ee(Ge,Me(Ye,je+1))&&(je+=2,Ze=!0),$e+=Te,Fe++;continue;case(Te===">"&&Ze):if(Oe===""||le(Ne,Oe))throw new De("Invalid capture group name");Ne[Oe]=!0,Le[Le.length]=[Oe,Fe],Ze=!1,Oe="";continue}Ze?Oe+=Te:$e+=Te}return[$e,Le]};if(ce("RegExp",We)){for(var tt=function(Ue,je){var $e=re(we,this),Le=ee(Ue),Ne=je===void 0,et=[],Ze=Ue,Fe,Oe,Te,xe,Re,Ke;if(!$e&&Le&&Ne&&Ue.constructor===tt)return Ue;if((Le||re(we,Ue))&&(Ue=Ue.source,Ne&&(je=y(Ze))),Ue=Ue===void 0?"":a(Ue),je=je===void 0?"":a(je),Ze=Ue,ge&&"dotAll"in Be&&(Oe=!!je&&Ie(je,"s")>-1,Oe&&(je=Ce(je,/s/g,""))),Fe=je,Xe&&"sticky"in Be&&(Te=!!je&&Ie(je,"y")>-1,Te&&Ve&&(je=Ce(je,/y/g,""))),Se&&(xe=He(Ue),Ue=xe[0],et=xe[1]),Re=ue(Pe(Ue,je),$e?this:we,tt),(Oe||Te||et.length)&&(Ke=fe(Re),Oe&&(Ke.dotAll=!0,Ke.raw=tt(ze(Ue),Fe)),Te&&(Ke.sticky=!0),et.length&&(Ke.groups=et)),Ue!==Ze)try{ae(Re,"source",Ze===""?"(?:)":Ze)}catch(ot){}return Re},Je=oe(Pe),ut=0;Je.length>ut;)b(tt,Pe,Je[ut++]);we.constructor=tt,tt.prototype=we,z(ne,"RegExp",tt)}pe("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/regexp-exec");se({target:"RegExp",proto:!0,forced:/./.exec!==ne},{exec:ne})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,he,de){"use strict";var se=E("../internals/function-name").PROPER,ne=E("../internals/redefine"),ie=E("../internals/an-object"),ce=E("../internals/to-string"),ue=E("../internals/fails"),ae=E("../internals/regexp-get-flags"),oe="toString",re=RegExp.prototype,ee=re[oe],a=ue(function(){return ee.call({source:"a",flags:"b"})!="/a/b"}),y=se&&ee.name!=oe;(a||y)&&ne(RegExp.prototype,oe,function(){var b=ie(this),z=ce(b.source),te=ce(ae(b));return"/"+z+"/"+te},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/not-a-regexp"),ce=E("../internals/require-object-coercible"),ue=E("../internals/to-string"),ae=E("../internals/correct-is-regexp-logic"),oe=ne("".indexOf);se({target:"String",proto:!0,forced:!ae("includes")},{includes:function(ee){return!!~oe(ue(ce(this)),ue(ie(ee)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,he,de){"use strict";var se=E("../internals/string-multibyte").charAt,ne=E("../internals/to-string"),ie=E("../internals/internal-state"),ce=E("../internals/define-iterator"),ue="String Iterator",ae=ie.set,oe=ie.getterFor(ue);ce(String,"String",function(re){ae(this,{type:ue,string:ne(re),index:0})},function(){var ee=oe(this),a=ee.string,y=ee.index,x;return y>=a.length?{value:void 0,done:!0}:(x=se(a,y),ee.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,he,de){"use strict";var se=E("../internals/function-call"),ne=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),ce=E("../internals/to-length"),ue=E("../internals/to-string"),ae=E("../internals/require-object-coercible"),oe=E("../internals/get-method"),re=E("../internals/advance-string-index"),ee=E("../internals/regexp-exec-abstract");ne("match",function(a,y,x){return[function(z){var te=ae(this),le=z==null?void 0:oe(z,a);return le?se(le,z,te):new RegExp(z)[a](ue(te))},function(b){var z=ie(this),te=ue(b),le=x(y,z,te);if(le.done)return le.value;if(!z.global)return ee(z,te);var fe=z.unicode;z.lastIndex=0;for(var pe=[],me=0,ge;(ge=ee(z,te))!==null;){var Se=ue(ge[0]);pe[me]=Se,Se===""&&(z.lastIndex=re(te,ce(z.lastIndex),fe)),me++}return me===0?null:pe}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(E,he,de){"use strict";var se=E("../internals/function-apply"),ne=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/fails"),ae=E("../internals/an-object"),oe=E("../internals/is-callable"),re=E("../internals/to-integer-or-infinity"),ee=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),z=E("../internals/get-substitution"),te=E("../internals/regexp-exec-abstract"),le=E("../internals/well-known-symbol"),fe=le("replace"),pe=Math.max,me=Math.min,ge=ie([].concat),Se=ie([].push),ye=ie("".indexOf),Pe=ie("".slice),we=function(Ce){return Ce===void 0?Ce:String(Ce)},De=function(){return"a".replace(/./,"$0")==="$0"}(),Ee=function(){return/./[fe]?/./[fe]("a","$0")==="":!1}(),Ae=!ue(function(){var Ce=/./;return Ce.exec=function(){var Ie=[];return Ie.groups={a:"7"},Ie},"".replace(Ce,"$<a>")!=="7"});ce("replace",function(Ce,Ie,Me){var Ge=Ee?"$":"$0";return[function(Qe,qe){var Xe=y(this),Ve=Qe==null?void 0:b(Qe,fe);return Ve?ne(Ve,Qe,Xe,qe):ne(Ie,a(Xe),Qe,qe)},function(Be,Qe){var qe=ae(this),Xe=a(Be);if(typeof Qe=="string"&&ye(Qe,Ge)===-1&&ye(Qe,"$<")===-1){var Ve=Me(Ie,qe,Xe,Qe);if(Ve.done)return Ve.value}var We=oe(Qe);We||(Qe=a(Qe));var ze=qe.global;if(ze){var He=qe.unicode;qe.lastIndex=0}for(var tt=[];;){var Je=te(qe,Xe);if(Je===null||(Se(tt,Je),!ze))break;var ut=a(Je[0]);ut===""&&(qe.lastIndex=x(Xe,ee(qe.lastIndex),He))}for(var Ye="",Ue=0,je=0;je<tt.length;je++){Je=tt[je];for(var $e=a(Je[0]),Le=pe(me(re(Je.index),Xe.length),0),Ne=[],et=1;et<Je.length;et++)Se(Ne,we(Je[et]));var Ze=Je.groups;if(We){var Fe=ge([$e],Ne,Le,Xe);Ze!==void 0&&Se(Fe,Ze);var Oe=a(se(Qe,void 0,Fe))}else Oe=z($e,Xe,Le,Ne,Ze,Qe);Le>=Ue&&(Ye+=Pe(Xe,Ue,Le)+Oe,Ue=Le+$e.length)}return Ye+Pe(Xe,Ue)}]},!Ae||!De||Ee)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(E,he,de){"use strict";var se=E("../internals/function-call"),ne=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),ce=E("../internals/require-object-coercible"),ue=E("../internals/same-value"),ae=E("../internals/to-string"),oe=E("../internals/get-method"),re=E("../internals/regexp-exec-abstract");ne("search",function(ee,a,y){return[function(b){var z=ce(this),te=b==null?void 0:oe(b,ee);return te?se(te,b,z):new RegExp(b)[ee](ae(z))},function(x){var b=ie(this),z=ae(x),te=y(a,b,z);if(te.done)return te.value;var le=b.lastIndex;ue(le,0)||(b.lastIndex=0);var fe=re(b,z);return ue(b.lastIndex,le)||(b.lastIndex=le),fe===null?-1:fe.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(E,he,de){"use strict";var se=E("../internals/function-apply"),ne=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/is-regexp"),ae=E("../internals/an-object"),oe=E("../internals/require-object-coercible"),re=E("../internals/species-constructor"),ee=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),z=E("../internals/regexp-exec-abstract"),te=E("../internals/regexp-exec"),le=E("../internals/regexp-sticky-helpers"),fe=E("../internals/fails"),pe=le.UNSUPPORTED_Y,me=4294967295,ge=Math.min,Se=[].push,ye=ie(/./.exec),Pe=ie(Se),we=ie("".slice),De=!fe(function(){var Ee=/(?:)/,Ae=Ee.exec;Ee.exec=function(){return Ae.apply(this,arguments)};var Ce="ab".split(Ee);return Ce.length!==2||Ce[0]!=="a"||Ce[1]!=="b"});ce("split",function(Ee,Ae,Ce){var Ie;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Ie=function(Me,Ge){var Be=y(oe(this)),Qe=Ge===void 0?me:Ge>>>0;if(Qe===0)return[];if(Me===void 0)return[Be];if(!ue(Me))return ne(Ae,Be,Me,Qe);for(var qe=[],Xe=(Me.ignoreCase?"i":"")+(Me.multiline?"m":"")+(Me.unicode?"u":"")+(Me.sticky?"y":""),Ve=0,We=new RegExp(Me.source,Xe+"g"),ze,He,tt;(ze=ne(te,We,Be))&&(He=We.lastIndex,!(He>Ve&&(Pe(qe,we(Be,Ve,ze.index)),ze.length>1&&ze.index<Be.length&&se(Se,qe,b(ze,1)),tt=ze[0].length,Ve=He,qe.length>=Qe)));)We.lastIndex===ze.index&&We.lastIndex++;return Ve===Be.length?(tt||!ye(We,""))&&Pe(qe,""):Pe(qe,we(Be,Ve)),qe.length>Qe?b(qe,0,Qe):qe}:"0".split(void 0,0).length?Ie=function(Me,Ge){return Me===void 0&&Ge===0?[]:ne(Ae,this,Me,Ge)}:Ie=Ae,[function(Ge,Be){var Qe=oe(this),qe=Ge==null?void 0:x(Ge,Ee);return qe?ne(qe,Ge,Qe,Be):ne(Ie,y(Qe),Ge,Be)},function(Me,Ge){var Be=ae(this),Qe=y(Me),qe=Ce(Ie,Be,Qe,Ge,Ie!==Ae);if(qe.done)return qe.value;var Xe=re(Be,RegExp),Ve=Be.unicode,We=(Be.ignoreCase?"i":"")+(Be.multiline?"m":"")+(Be.unicode?"u":"")+(pe?"g":"y"),ze=new Xe(pe?"^(?:"+Be.source+")":Be,We),He=Ge===void 0?me:Ge>>>0;if(He===0)return[];if(Qe.length===0)return z(ze,Qe)===null?[Qe]:[];for(var tt=0,Je=0,ut=[];Je<Qe.length;){ze.lastIndex=pe?0:Je;var Ye=z(ze,pe?we(Qe,Je):Qe),Ue;if(Ye===null||(Ue=ge(a(ze.lastIndex+(pe?Je:0)),Qe.length))===tt)Je=ee(Qe,Je,Ve);else{if(Pe(ut,we(Qe,tt,Je)),ut.length===He)return ut;for(var je=1;je<=Ye.length-1;je++)if(Pe(ut,Ye[je]),ut.length===He)return ut;Je=tt=Ue}}return Pe(ut,we(Qe,tt)),ut}]},!De,pe)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/array-slice-simple":116,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/is-regexp":182,"../internals/regexp-exec":224,"../internals/regexp-exec-abstract":223,"../internals/regexp-sticky-helpers":227,"../internals/require-object-coercible":230,"../internals/species-constructor":238,"../internals/to-length":249,"../internals/to-string":256}],308:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/string-trim").trim,ie=E("../internals/string-trim-forced");se({target:"String",proto:!0,forced:ie("trim")},{trim:function(){return ne(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/function-call"),ce=E("../internals/function-uncurry-this"),ue=E("../internals/is-pure"),ae=E("../internals/descriptors"),oe=E("../internals/native-symbol"),re=E("../internals/fails"),ee=E("../internals/has-own-property"),a=E("../internals/object-is-prototype-of"),y=E("../internals/an-object"),x=E("../internals/to-indexed-object"),b=E("../internals/to-property-key"),z=E("../internals/to-string"),te=E("../internals/create-property-descriptor"),le=E("../internals/object-create"),fe=E("../internals/object-keys"),pe=E("../internals/object-get-own-property-names"),me=E("../internals/object-get-own-property-names-external"),ge=E("../internals/object-get-own-property-symbols"),Se=E("../internals/object-get-own-property-descriptor"),ye=E("../internals/object-define-property"),Pe=E("../internals/object-define-properties"),we=E("../internals/object-property-is-enumerable"),De=E("../internals/redefine"),Ee=E("../internals/shared"),Ae=E("../internals/shared-key"),Ce=E("../internals/hidden-keys"),Ie=E("../internals/uid"),Me=E("../internals/well-known-symbol"),Ge=E("../internals/well-known-symbol-wrapped"),Be=E("../internals/define-well-known-symbol"),Qe=E("../internals/symbol-define-to-primitive"),qe=E("../internals/set-to-string-tag"),Xe=E("../internals/internal-state"),Ve=E("../internals/array-iteration").forEach,We=Ae("hidden"),ze="Symbol",He="prototype",tt=Xe.set,Je=Xe.getterFor(ze),ut=Object[He],Ye=ne.Symbol,Ue=Ye&&Ye[He],je=ne.TypeError,$e=ne.QObject,Le=Se.f,Ne=ye.f,et=me.f,Ze=we.f,Fe=ce([].push),Oe=Ee("symbols"),Te=Ee("op-symbols"),xe=Ee("wks"),Re=!$e||!$e[He]||!$e[He].findChild,Ke=ae&&re(function(){return le(Ne({},"a",{get:function(){return Ne(this,"a",{value:7}).a}})).a!=7})?function(at,st,ft){var vt=Le(ut,st);vt&&delete ut[st],Ne(at,st,ft),vt&&at!==ut&&Ne(ut,st,vt)}:Ne,ot=function(at,st){var ft=Oe[at]=le(Ue);return tt(ft,{type:ze,tag:at,description:st}),ae||(ft.description=st),ft},ke=function(st,ft,vt){st===ut&&ke(Te,ft,vt),y(st);var St=b(ft);return y(vt),ee(Oe,St)?(vt.enumerable?(ee(st,We)&&st[We][St]&&(st[We][St]=!1),vt=le(vt,{enumerable:te(0,!1)})):(ee(st,We)||Ne(st,We,te(1,{})),st[We][St]=!0),Ke(st,St,vt)):Ne(st,St,vt)},nt=function(st,ft){y(st);var vt=x(ft),St=fe(vt).concat(pt(vt));return Ve(St,function(Et){(!ae||ie(ct,vt,Et))&&ke(st,Et,vt[Et])}),st},mt=function(st,ft){return ft===void 0?le(st):nt(le(st),ft)},ct=function(st){var ft=b(st),vt=ie(Ze,this,ft);return this===ut&&ee(Oe,ft)&&!ee(Te,ft)?!1:vt||!ee(this,ft)||!ee(Oe,ft)||ee(this,We)&&this[We][ft]?vt:!0},ht=function(st,ft){var vt=x(st),St=b(ft);if(!(vt===ut&&ee(Oe,St)&&!ee(Te,St))){var Et=Le(vt,St);return Et&&ee(Oe,St)&&!(ee(vt,We)&&vt[We][St])&&(Et.enumerable=!0),Et}},lt=function(st){var ft=et(x(st)),vt=[];return Ve(ft,function(St){!ee(Oe,St)&&!ee(Ce,St)&&Fe(vt,St)}),vt},pt=function(at){var st=at===ut,ft=et(st?Te:x(at)),vt=[];return Ve(ft,function(St){ee(Oe,St)&&(!st||ee(ut,St))&&Fe(vt,Oe[St])}),vt};oe||(Ye=function(){if(a(Ue,this))throw je("Symbol is not a constructor");var st=!arguments.length||arguments[0]===void 0?void 0:z(arguments[0]),ft=Ie(st),vt=function(St){this===ut&&ie(vt,Te,St),ee(this,We)&&ee(this[We],ft)&&(this[We][ft]=!1),Ke(this,ft,te(1,St))};return ae&&Re&&Ke(ut,ft,{configurable:!0,set:vt}),ot(ft,st)},Ue=Ye[He],De(Ue,"toString",function(){return Je(this).tag}),De(Ye,"withoutSetter",function(at){return ot(Ie(at),at)}),we.f=ct,ye.f=ke,Pe.f=nt,Se.f=ht,pe.f=me.f=lt,ge.f=pt,Ge.f=function(at){return ot(Me(at),at)},ae&&(Ne(Ue,"description",{configurable:!0,get:function(){return Je(this).description}}),ue||De(ut,"propertyIsEnumerable",ct,{unsafe:!0}))),se({global:!0,wrap:!0,forced:!oe,sham:!oe},{Symbol:Ye}),Ve(fe(xe),function(at){Be(at)}),se({target:ze,stat:!0,forced:!oe},{useSetter:function(){Re=!0},useSimple:function(){Re=!1}}),se({target:"Object",stat:!0,forced:!oe,sham:!ae},{create:mt,defineProperty:ke,defineProperties:nt,getOwnPropertyDescriptor:ht}),se({target:"Object",stat:!0,forced:!oe},{getOwnPropertyNames:lt}),Qe(),qe(Ye,ze),Ce[We]=!0},{"../internals/an-object":101,"../internals/array-iteration":111,"../internals/create-property-descriptor":130,"../internals/define-well-known-symbol":133,"../internals/descriptors":134,"../internals/export":149,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/native-symbol":191,"../internals/object-create":196,"../internals/object-define-properties":197,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-names-external":200,"../internals/object-get-own-property-symbols":202,"../internals/object-is-prototype-of":204,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/shared":237,"../internals/shared-key":235,"../internals/symbol-define-to-primitive":242,"../internals/to-indexed-object":247,"../internals/to-property-key":254,"../internals/to-string":256,"../internals/uid":263,"../internals/well-known-symbol":268,"../internals/well-known-symbol-wrapped":267}],310:[function(E,he,de){"use strict";var se=E("../internals/export"),ne=E("../internals/descriptors"),ie=E("../internals/global"),ce=E("../internals/function-uncurry-this"),ue=E("../internals/has-own-property"),ae=E("../internals/is-callable"),oe=E("../internals/object-is-prototype-of"),re=E("../internals/to-string"),ee=E("../internals/object-define-property").f,a=E("../internals/copy-constructor-properties"),y=ie.Symbol,x=y&&y.prototype;if(ne&&ae(y)&&(!("description"in x)||y().description!==void 0)){var b={},z=function(){var ye=arguments.length<1||arguments[0]===void 0?void 0:re(arguments[0]),Pe=oe(x,this)?new y(ye):ye===void 0?y():y(ye);return ye===""&&(b[Pe]=!0),Pe};a(z,y),z.prototype=x,x.constructor=z;var te=String(y("test"))=="Symbol(test)",le=ce(x.toString),fe=ce(x.valueOf),pe=/^Symbol\((.*)\)[^)]+$/,me=ce("".replace),ge=ce("".slice);ee(x,"description",{configurable:!0,get:function(){var ye=fe(this),Pe=le(ye);if(ue(b,ye))return"";var we=te?ge(Pe,7,-1):me(Pe,pe,"$1");return we===""?void 0:we}}),se({global:!0,forced:!0},{Symbol:z})}},{"../internals/copy-constructor-properties":125,"../internals/descriptors":134,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/object-define-property":198,"../internals/object-is-prototype-of":204,"../internals/to-string":256}],311:[function(E,he,de){var se=E("../internals/export"),ne=E("../internals/get-built-in"),ie=E("../internals/has-own-property"),ce=E("../internals/to-string"),ue=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ue("string-to-symbol-registry"),re=ue("symbol-to-string-registry");se({target:"Symbol",stat:!0,forced:!ae},{for:function(ee){var a=ce(ee);if(ie(oe,a))return oe[a];var y=ne("Symbol")(a);return oe[a]=y,re[y]=a,y}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/has-own-property":164,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/to-string":256}],312:[function(E,he,de){var se=E("../internals/define-well-known-symbol");se("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(E,he,de){E("../modules/es.symbol.constructor"),E("../modules/es.symbol.for"),E("../modules/es.symbol.key-for"),E("../modules/es.json.stringify"),E("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":285,"../modules/es.object.get-own-property-symbols":289,"../modules/es.symbol.constructor":309,"../modules/es.symbol.for":311,"../modules/es.symbol.key-for":314}],314:[function(E,he,de){var se=E("../internals/export"),ne=E("../internals/has-own-property"),ie=E("../internals/is-symbol"),ce=E("../internals/try-to-string"),ue=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ue("symbol-to-string-registry");se({target:"Symbol",stat:!0,forced:!ae},{keyFor:function(ee){if(!ie(ee))throw TypeError(ce(ee)+" is not a symbol");if(ne(oe,ee))return oe[ee]}})},{"../internals/export":149,"../internals/has-own-property":164,"../internals/is-symbol":183,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/try-to-string":257}],315:[function(E,he,de){"use strict";var se=E("../internals/function-uncurry-this"),ne=E("../internals/array-buffer-view-core"),ie=E("../internals/array-copy-within"),ce=se(ie),ue=ne.aTypedArray,ae=ne.exportTypedArrayMethod;ae("copyWithin",function(re,ee){return ce(ue(this),re,ee,arguments.length>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").every,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("every",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/function-call"),ie=E("../internals/array-fill"),ce=se.aTypedArray,ue=se.exportTypedArrayMethod;ue("fill",function(oe){var re=arguments.length;return ne(ie,ce(this),oe,re>1?arguments[1]:void 0,re>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").filter,ie=E("../internals/typed-array-from-species-and-list"),ce=se.aTypedArray,ue=se.exportTypedArrayMethod;ue("filter",function(oe){var re=ne(ce(this),oe,arguments.length>1?arguments[1]:void 0);return ie(this,re)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").findIndex,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("findIndex",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").find,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("find",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").forEach,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("forEach",function(ae){ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-includes").includes,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("includes",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-includes").indexOf,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("indexOf",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,he,de){"use strict";var se=E("../internals/global"),ne=E("../internals/fails"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/array-buffer-view-core"),ue=E("../modules/es.array.iterator"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),re=se.Uint8Array,ee=ie(ue.values),a=ie(ue.keys),y=ie(ue.entries),x=ce.aTypedArray,b=ce.exportTypedArrayMethod,z=re&&re.prototype,te=!ne(function(){z[oe].call([1])}),le=!!z&&z.values&&z[oe]===z.values&&z.values.name==="values",fe=function(){return ee(x(this))};b("entries",function(){return y(x(this))},te),b("keys",function(){return a(x(this))},te),b("values",fe,te||!le,{name:"values"}),b(oe,fe,te||!le,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/function-uncurry-this"),ie=se.aTypedArray,ce=se.exportTypedArrayMethod,ue=ne([].join);ce("join",function(oe){return ue(ie(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/function-apply"),ie=E("../internals/array-last-index-of"),ce=se.aTypedArray,ue=se.exportTypedArrayMethod;ue("lastIndexOf",function(oe){var re=arguments.length;return ne(ie,ce(this),re>1?[oe,arguments[1]]:[oe])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").map,ie=E("../internals/typed-array-species-constructor"),ce=se.aTypedArray,ue=se.exportTypedArrayMethod;ue("map",function(oe){return ne(ce(this),oe,arguments.length>1?arguments[1]:void 0,function(re,ee){return new(ie(re))(ee)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-reduce").right,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("reduceRight",function(ae){var oe=arguments.length;return ne(ie(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-reduce").left,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("reduce",function(ae){var oe=arguments.length;return ne(ie(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=se.aTypedArray,ie=se.exportTypedArrayMethod,ce=Math.floor;ie("reverse",function(){for(var ae=this,oe=ne(ae).length,re=ce(oe/2),ee=0,a;ee<re;)a=ae[ee],ae[ee++]=ae[--oe],ae[oe]=a;return ae})},{"../internals/array-buffer-view-core":103}],331:[function(E,he,de){"use strict";var se=E("../internals/global"),ne=E("../internals/function-call"),ie=E("../internals/array-buffer-view-core"),ce=E("../internals/length-of-array-like"),ue=E("../internals/to-offset"),ae=E("../internals/to-object"),oe=E("../internals/fails"),re=se.RangeError,ee=se.Int8Array,a=ee&&ee.prototype,y=a&&a.set,x=ie.aTypedArray,b=ie.exportTypedArrayMethod,z=!oe(function(){var le=new Uint8ClampedArray(2);return ne(y,le,{length:1,0:3},1),le[1]!==3}),te=z&&ie.NATIVE_ARRAY_BUFFER_VIEWS&&oe(function(){var le=new ee(2);return le.set(1),le.set("2",1),le[0]!==0||le[1]!==2});b("set",function(fe){x(this);var pe=ue(arguments.length>1?arguments[1]:void 0,1),me=ae(fe);if(z)return ne(y,this,me,pe);var ge=this.length,Se=ce(me),ye=0;if(Se+pe>ge)throw re("Wrong length");for(;ye<Se;)this[pe+ye]=me[ye++]},!z||te)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-call":155,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-offset":251}],332:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/typed-array-species-constructor"),ie=E("../internals/fails"),ce=E("../internals/array-slice"),ue=se.aTypedArray,ae=se.exportTypedArrayMethod,oe=ie(function(){new Int8Array(1).slice()});ae("slice",function(ee,a){for(var y=ce(ue(this),ee,a),x=ne(this),b=0,z=y.length,te=new x(z);z>b;)te[b]=y[b++];return te},oe)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").some,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("some",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,he,de){"use strict";var se=E("../internals/global"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),ce=E("../internals/a-callable"),ue=E("../internals/array-sort"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/engine-ff-version"),re=E("../internals/engine-is-ie-or-edge"),ee=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ae.aTypedArray,x=ae.exportTypedArrayMethod,b=se.Uint16Array,z=b&&ne(b.prototype.sort),te=!!z&&!(ie(function(){z(new b(2),null)})&&ie(function(){z(new b(2),{})})),le=!!z&&!ie(function(){if(ee)return ee<74;if(oe)return oe<67;if(re)return!0;if(a)return a<602;var pe=new b(516),me=Array(516),ge,Se;for(ge=0;ge<516;ge++)Se=ge%4,pe[ge]=515-ge,me[ge]=ge-2*Se+3;for(z(pe,function(ye,Pe){return(ye/4|0)-(Pe/4|0)}),ge=0;ge<516;ge++)if(pe[ge]!==me[ge])return!0}),fe=function(pe){return function(me,ge){return pe!==void 0?+pe(me,ge)||0:ge!==ge?-1:me!==me?1:me===0&&ge===0?1/me>0&&1/ge<0?1:-1:me>ge}};x("sort",function(me){return me!==void 0&&ce(me),le?z(this,me):ue(y(this),fe(me))},!le||te)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/to-length"),ie=E("../internals/to-absolute-index"),ce=E("../internals/typed-array-species-constructor"),ue=se.aTypedArray,ae=se.exportTypedArrayMethod;ae("subarray",function(re,ee){var a=ue(this),y=a.length,x=ie(re,y),b=ce(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,ne((ee===void 0?y:ie(ee,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,he,de){"use strict";var se=E("../internals/global"),ne=E("../internals/function-apply"),ie=E("../internals/array-buffer-view-core"),ce=E("../internals/fails"),ue=E("../internals/array-slice"),ae=se.Int8Array,oe=ie.aTypedArray,re=ie.exportTypedArrayMethod,ee=[].toLocaleString,a=!!ae&&ce(function(){ee.call(new ae(1))}),y=ce(function(){return[1,2].toLocaleString()!=new ae([1,2]).toLocaleString()})||!ce(function(){ae.prototype.toLocaleString.call([1,2])});re("toLocaleString",function(){return ne(ee,a?ue(oe(this)):oe(this),ue(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,he,de){"use strict";var se=E("../internals/array-buffer-view-core").exportTypedArrayMethod,ne=E("../internals/fails"),ie=E("../internals/global"),ce=E("../internals/function-uncurry-this"),ue=ie.Uint8Array,ae=ue&&ue.prototype||{},oe=[].toString,re=ce([].join);ne(function(){oe.call({})})&&(oe=function(){return re(this)});var ee=ae.toString!=oe;se("toString",oe,ee)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,he,de){var se=E("../internals/typed-array-constructor");se("Uint8",function(ne){return function(ce,ue,ae){return ne(this,ce,ue,ae)}})},{"../internals/typed-array-constructor":258}],339:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),ce=E("../internals/array-for-each"),ue=E("../internals/create-non-enumerable-property"),ae=function(re){if(re&&re.forEach!==ce)try{ue(re,"forEach",ce)}catch(ee){re.forEach=ce}};for(var oe in ne)ne[oe]&&ae(se[oe]&&se[oe].prototype);ae(ie)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(E,he,de){var se=E("../internals/global"),ne=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),ce=E("../modules/es.array.iterator"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),re=ae("toStringTag"),ee=ce.values,a=function(x,b){if(x){if(x[oe]!==ee)try{ue(x,oe,ee)}catch(te){x[oe]=ee}if(x[re]||ue(x,re,b),ne[b]){for(var z in ce)if(x[z]!==ce[z])try{ue(x,z,ce[z])}catch(te){x[z]=ce[z]}}}};for(var y in ne)a(se[y]&&se[y].prototype,y);a(ie,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(E,he,de){function se(le){return Array.isArray?Array.isArray(le):te(le)==="[object Array]"}de.isArray=se;function ne(le){return typeof le=="boolean"}de.isBoolean=ne;function ie(le){return le===null}de.isNull=ie;function ce(le){return le==null}de.isNullOrUndefined=ce;function ue(le){return typeof le=="number"}de.isNumber=ue;function ae(le){return typeof le=="string"}de.isString=ae;function oe(le){return typeof le=="symbol"}de.isSymbol=oe;function re(le){return le===void 0}de.isUndefined=re;function ee(le){return te(le)==="[object RegExp]"}de.isRegExp=ee;function a(le){return typeof le=="object"&&le!==null}de.isObject=a;function y(le){return te(le)==="[object Date]"}de.isDate=y;function x(le){return te(le)==="[object Error]"||le instanceof Error}de.isError=x;function b(le){return typeof le=="function"}de.isFunction=b;function z(le){return le===null||typeof le=="boolean"||typeof le=="number"||typeof le=="string"||typeof le=="symbol"||typeof le=="undefined"}de.isPrimitive=z,de.isBuffer=E("buffer").Buffer.isBuffer;function te(le){return Object.prototype.toString.call(le)}},{buffer:90}],342:[function(E,he,de){(function(se){"use strict";var ne=function(){var oe=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,re=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,ee=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&ae(a)==="string"&&!/\d/.test(a)&&(y=a,a=void 0),a=a||new Date,a instanceof Date||(a=new Date(a)),isNaN(a))throw TypeError("Invalid date");y=String(ne.masks[y]||y||ne.masks.default);var z=y.slice(0,4);(z==="UTC:"||z==="GMT:")&&(y=y.slice(4),x=!0,z==="GMT:"&&(b=!0));var te=x?"getUTC":"get",le=a[te+"Date"](),fe=a[te+"Day"](),pe=a[te+"Month"](),me=a[te+"FullYear"](),ge=a[te+"Hours"](),Se=a[te+"Minutes"](),ye=a[te+"Seconds"](),Pe=a[te+"Milliseconds"](),we=x?0:a.getTimezoneOffset(),De=ce(a),Ee=ue(a),Ae={d:le,dd:ie(le),ddd:ne.i18n.dayNames[fe],dddd:ne.i18n.dayNames[fe+7],m:pe+1,mm:ie(pe+1),mmm:ne.i18n.monthNames[pe],mmmm:ne.i18n.monthNames[pe+12],yy:String(me).slice(2),yyyy:me,h:ge%12||12,hh:ie(ge%12||12),H:ge,HH:ie(ge),M:Se,MM:ie(Se),s:ye,ss:ie(ye),l:ie(Pe,3),L:ie(Math.round(Pe/10)),t:ge<12?"a":"p",tt:ge<12?"am":"pm",T:ge<12?"A":"P",TT:ge<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(re)||[""]).pop().replace(ee,""),o:(we>0?"-":"+")+ie(Math.floor(Math.abs(we)/60)*100+Math.abs(we)%60,4),S:["th","st","nd","rd"][le%10>3?0:(le%100-le%10!=10)*le%10],W:De,N:Ee};return y.replace(oe,function(Ce){return Ce in Ae?Ae[Ce]:Ce.slice(1,Ce.length-1)})}}();ne.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},ne.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function ie(oe,re){for(oe=String(oe),re=re||2;oe.length<re;)oe="0"+oe;return oe}function ce(oe){var re=new Date(oe.getFullYear(),oe.getMonth(),oe.getDate());re.setDate(re.getDate()-(re.getDay()+6)%7+3);var ee=new Date(re.getFullYear(),0,4);ee.setDate(ee.getDate()-(ee.getDay()+6)%7+3);var a=re.getTimezoneOffset()-ee.getTimezoneOffset();re.setHours(re.getHours()-a);var y=(re-ee)/(864e5*7);return 1+Math.floor(y)}function ue(oe){var re=oe.getDay();return re===0&&(re=7),re}function ae(oe){return oe===null?"null":oe===void 0?"undefined":typeof oe!="object"?typeof oe:Array.isArray(oe)?"array":{}.toString.call(oe).slice(8,-1).toLowerCase()}typeof ve=="function"&&ve.amd?ve(function(){return ne}):typeof de=="object"?he.exports=ne:se.dateFormat=ne})(this)},{}],343:[function(E,he,de){"use strict";var se=/["'&<>]/;he.exports=ne;function ne(ie){var ce=""+ie,ue=se.exec(ce);if(!ue)return ce;var ae,oe="",re=0,ee=0;for(re=ue.index;re<ce.length;re++){switch(ce.charCodeAt(re)){case 34:ae=""";break;case 38:ae="&";break;case 39:ae="'";break;case 60:ae="<";break;case 62:ae=">";break;default:continue}ee!==re&&(oe+=ce.substring(ee,re)),ee=re+1,oe+=ae}return ee!==re?oe+ce.substring(ee,re):oe}},{}],344:[function(E,he,de){"use strict";var se=typeof Reflect=="object"?Reflect:null,ne=se&&typeof se.apply=="function"?se.apply:function(ye,Pe,we){return Function.prototype.apply.call(ye,Pe,we)},ie;se&&typeof se.ownKeys=="function"?ie=se.ownKeys:Object.getOwnPropertySymbols?ie=function(ye){return Object.getOwnPropertyNames(ye).concat(Object.getOwnPropertySymbols(ye))}:ie=function(ye){return Object.getOwnPropertyNames(ye)};function ce(Se){console&&console.warn&&console.warn(Se)}var ue=Number.isNaN||function(ye){return ye!==ye};function ae(){ae.init.call(this)}he.exports=ae,he.exports.once=pe,ae.EventEmitter=ae,ae.prototype._events=void 0,ae.prototype._eventsCount=0,ae.prototype._maxListeners=void 0;var oe=10;function re(Se){if(typeof Se!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Se)}Object.defineProperty(ae,"defaultMaxListeners",{enumerable:!0,get:function(){return oe},set:function(Se){if(typeof Se!="number"||Se<0||ue(Se))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Se+".");oe=Se}}),ae.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ae.prototype.setMaxListeners=function(ye){if(typeof ye!="number"||ye<0||ue(ye))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ye+".");return this._maxListeners=ye,this};function ee(Se){return Se._maxListeners===void 0?ae.defaultMaxListeners:Se._maxListeners}ae.prototype.getMaxListeners=function(){return ee(this)},ae.prototype.emit=function(ye){for(var Pe=[],we=1;we<arguments.length;we++)Pe.push(arguments[we]);var De=ye==="error",Ee=this._events;if(Ee!==void 0)De=De&&Ee.error===void 0;else if(!De)return!1;if(De){var Ae;if(Pe.length>0&&(Ae=Pe[0]),Ae instanceof Error)throw Ae;var Ce=new Error("Unhandled error."+(Ae?" ("+Ae.message+")":""));throw Ce.context=Ae,Ce}var Ie=Ee[ye];if(Ie===void 0)return!1;if(typeof Ie=="function")ne(Ie,this,Pe);else for(var Me=Ie.length,Ge=te(Ie,Me),we=0;we<Me;++we)ne(Ge[we],this,Pe);return!0};function a(Se,ye,Pe,we){var De,Ee,Ae;if(re(Pe),Ee=Se._events,Ee===void 0?(Ee=Se._events=Object.create(null),Se._eventsCount=0):(Ee.newListener!==void 0&&(Se.emit("newListener",ye,Pe.listener?Pe.listener:Pe),Ee=Se._events),Ae=Ee[ye]),Ae===void 0)Ae=Ee[ye]=Pe,++Se._eventsCount;else if(typeof Ae=="function"?Ae=Ee[ye]=we?[Pe,Ae]:[Ae,Pe]:we?Ae.unshift(Pe):Ae.push(Pe),De=ee(Se),De>0&&Ae.length>De&&!Ae.warned){Ae.warned=!0;var Ce=new Error("Possible EventEmitter memory leak detected. "+Ae.length+" "+String(ye)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ce.name="MaxListenersExceededWarning",Ce.emitter=Se,Ce.type=ye,Ce.count=Ae.length,ce(Ce)}return Se}ae.prototype.addListener=function(ye,Pe){return a(this,ye,Pe,!1)},ae.prototype.on=ae.prototype.addListener,ae.prototype.prependListener=function(ye,Pe){return a(this,ye,Pe,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(Se,ye,Pe){var we={fired:!1,wrapFn:void 0,target:Se,type:ye,listener:Pe},De=y.bind(we);return De.listener=Pe,we.wrapFn=De,De}ae.prototype.once=function(ye,Pe){return re(Pe),this.on(ye,x(this,ye,Pe)),this},ae.prototype.prependOnceListener=function(ye,Pe){return re(Pe),this.prependListener(ye,x(this,ye,Pe)),this},ae.prototype.removeListener=function(ye,Pe){var we,De,Ee,Ae,Ce;if(re(Pe),De=this._events,De===void 0)return this;if(we=De[ye],we===void 0)return this;if(we===Pe||we.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete De[ye],De.removeListener&&this.emit("removeListener",ye,we.listener||Pe));else if(typeof we!="function"){for(Ee=-1,Ae=we.length-1;Ae>=0;Ae--)if(we[Ae]===Pe||we[Ae].listener===Pe){Ce=we[Ae].listener,Ee=Ae;break}if(Ee<0)return this;Ee===0?we.shift():le(we,Ee),we.length===1&&(De[ye]=we[0]),De.removeListener!==void 0&&this.emit("removeListener",ye,Ce||Pe)}return this},ae.prototype.off=ae.prototype.removeListener,ae.prototype.removeAllListeners=function(ye){var Pe,we,De;if(we=this._events,we===void 0)return this;if(we.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):we[ye]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete we[ye]),this;if(arguments.length===0){var Ee=Object.keys(we),Ae;for(De=0;De<Ee.length;++De)Ae=Ee[De],Ae!=="removeListener"&&this.removeAllListeners(Ae);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Pe=we[ye],typeof Pe=="function")this.removeListener(ye,Pe);else if(Pe!==void 0)for(De=Pe.length-1;De>=0;De--)this.removeListener(ye,Pe[De]);return this};function b(Se,ye,Pe){var we=Se._events;if(we===void 0)return[];var De=we[ye];return De===void 0?[]:typeof De=="function"?Pe?[De.listener||De]:[De]:Pe?fe(De):te(De,De.length)}ae.prototype.listeners=function(ye){return b(this,ye,!0)},ae.prototype.rawListeners=function(ye){return b(this,ye,!1)},ae.listenerCount=function(Se,ye){return typeof Se.listenerCount=="function"?Se.listenerCount(ye):z.call(Se,ye)},ae.prototype.listenerCount=z;function z(Se){var ye=this._events;if(ye!==void 0){var Pe=ye[Se];if(typeof Pe=="function")return 1;if(Pe!==void 0)return Pe.length}return 0}ae.prototype.eventNames=function(){return this._eventsCount>0?ie(this._events):[]};function te(Se,ye){for(var Pe=new Array(ye),we=0;we<ye;++we)Pe[we]=Se[we];return Pe}function le(Se,ye){for(;ye+1<Se.length;ye++)Se[ye]=Se[ye+1];Se.pop()}function fe(Se){for(var ye=new Array(Se.length),Pe=0;Pe<ye.length;++Pe)ye[Pe]=Se[Pe].listener||Se[Pe];return ye}function pe(Se,ye){return new Promise(function(Pe,we){function De(Ae){Se.removeListener(ye,Ee),we(Ae)}function Ee(){typeof Se.removeListener=="function"&&Se.removeListener("error",De),Pe([].slice.call(arguments))}ge(Se,ye,Ee,{once:!0}),ye!=="error"&&me(Se,De,{once:!0})})}function me(Se,ye,Pe){typeof Se.on=="function"&&ge(Se,"error",ye,Pe)}function ge(Se,ye,Pe,we){if(typeof Se.on=="function")we.once?Se.once(ye,Pe):Se.on(ye,Pe);else if(typeof Se.addEventListener=="function")Se.addEventListener(ye,function De(Ee){we.once&&Se.removeEventListener(ye,De),Pe(Ee)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Se)}},{}],345:[function(E,he,de){"use strict";var se=E("is-callable"),ne=Object.prototype.toString,ie=Object.prototype.hasOwnProperty,ce=function(ee,a,y){for(var x=0,b=ee.length;x<b;x++)ie.call(ee,x)&&(y==null?a(ee[x],x,ee):a.call(y,ee[x],x,ee))},ue=function(ee,a,y){for(var x=0,b=ee.length;x<b;x++)y==null?a(ee.charAt(x),x,ee):a.call(y,ee.charAt(x),x,ee)},ae=function(ee,a,y){for(var x in ee)ie.call(ee,x)&&(y==null?a(ee[x],x,ee):a.call(y,ee[x],x,ee))},oe=function(ee,a,y){if(!se(a))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=y),ne.call(ee)==="[object Array]"?ce(ee,a,x):typeof ee=="string"?ue(ee,a,x):ae(ee,a,x)};he.exports=oe},{"is-callable":367}],346:[function(E,he,de){"use strict";var se="Function.prototype.bind called on incompatible ",ne=Array.prototype.slice,ie=Object.prototype.toString,ce="[object Function]";he.exports=function(ae){var oe=this;if(typeof oe!="function"||ie.call(oe)!==ce)throw new TypeError(se+oe);for(var re=ne.call(arguments,1),ee,a=function(){if(this instanceof ee){var te=oe.apply(this,re.concat(ne.call(arguments)));return Object(te)===te?te:this}else return oe.apply(ae,re.concat(ne.call(arguments)))},y=Math.max(0,oe.length-re.length),x=[],b=0;b<y;b++)x.push("$"+b);if(ee=Function("binder","return function ("+x.join(",")+"){ return binder.apply(this,arguments); }")(a),oe.prototype){var z=function(){};z.prototype=oe.prototype,ee.prototype=new z,z.prototype=null}return ee}},{}],347:[function(E,he,de){"use strict";var se=E("./implementation");he.exports=Function.prototype.bind||se},{"./implementation":346}],348:[function(E,he,de){"use strict";var se,ne=SyntaxError,ie=Function,ce=TypeError,ue=function(Ie){try{return ie('"use strict"; return ('+Ie+").constructor;")()}catch(Me){}},ae=Object.getOwnPropertyDescriptor;if(ae)try{ae({},"")}catch(Ie){ae=null}var oe=function(){throw new ce},re=ae?function(){try{return arguments.callee,oe}catch(Ie){try{return ae(arguments,"callee").get}catch(Me){return oe}}}():oe,ee=E("has-symbols")(),a=E("has-proto")(),y=Object.getPrototypeOf||(a?function(Ie){return Ie.__proto__}:null),x={},b=typeof Uint8Array=="undefined"||!y?se:y(Uint8Array),z={"%AggregateError%":typeof AggregateError=="undefined"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?se:ArrayBuffer,"%ArrayIteratorPrototype%":ee&&y?y([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics=="undefined"?se:Atomics,"%BigInt%":typeof BigInt=="undefined"?se:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?se:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?se:FinalizationRegistry,"%Function%":ie,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array=="undefined"?se:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?se:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ee&&y?y(y([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map=="undefined"?se:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!ee||!y?se:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?se:Promise,"%Proxy%":typeof Proxy=="undefined"?se:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?se:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!ee||!y?se:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ee&&y?y(""[Symbol.iterator]()):se,"%Symbol%":ee?Symbol:se,"%SyntaxError%":ne,"%ThrowTypeError%":re,"%TypedArray%":b,"%TypeError%":ce,"%Uint8Array%":typeof Uint8Array=="undefined"?se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?se:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?se:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?se:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?se:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?se:WeakSet};if(y)try{null.error}catch(Ie){var te=y(y(Ie));z["%Error.prototype%"]=te}var le=function Ie(Me){var Ge;if(Me==="%AsyncFunction%")Ge=ue("async function () {}");else if(Me==="%GeneratorFunction%")Ge=ue("function* () {}");else if(Me==="%AsyncGeneratorFunction%")Ge=ue("async function* () {}");else if(Me==="%AsyncGenerator%"){var Be=Ie("%AsyncGeneratorFunction%");Be&&(Ge=Be.prototype)}else if(Me==="%AsyncIteratorPrototype%"){var Qe=Ie("%AsyncGenerator%");Qe&&y&&(Ge=y(Qe.prototype))}return z[Me]=Ge,Ge},fe={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},pe=E("function-bind"),me=E("has"),ge=pe.call(Function.call,Array.prototype.concat),Se=pe.call(Function.apply,Array.prototype.splice),ye=pe.call(Function.call,String.prototype.replace),Pe=pe.call(Function.call,String.prototype.slice),we=pe.call(Function.call,RegExp.prototype.exec),De=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ee=/\\(\\)?/g,Ae=function(Me){var Ge=Pe(Me,0,1),Be=Pe(Me,-1);if(Ge==="%"&&Be!=="%")throw new ne("invalid intrinsic syntax, expected closing `%`");if(Be==="%"&&Ge!=="%")throw new ne("invalid intrinsic syntax, expected opening `%`");var Qe=[];return ye(Me,De,function(qe,Xe,Ve,We){Qe[Qe.length]=Ve?ye(We,Ee,"$1"):Xe||qe}),Qe},Ce=function(Me,Ge){var Be=Me,Qe;if(me(fe,Be)&&(Qe=fe[Be],Be="%"+Qe[0]+"%"),me(z,Be)){var qe=z[Be];if(qe===x&&(qe=le(Be)),typeof qe=="undefined"&&!Ge)throw new ce("intrinsic "+Me+" exists, but is not available. Please file an issue!");return{alias:Qe,name:Be,value:qe}}throw new ne("intrinsic "+Me+" does not exist!")};he.exports=function(Me,Ge){if(typeof Me!="string"||Me.length===0)throw new ce("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ge!="boolean")throw new ce('"allowMissing" argument must be a boolean');if(we(/^%?[^%]*%?$/,Me)===null)throw new ne("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Be=Ae(Me),Qe=Be.length>0?Be[0]:"",qe=Ce("%"+Qe+"%",Ge),Xe=qe.name,Ve=qe.value,We=!1,ze=qe.alias;ze&&(Qe=ze[0],Se(Be,ge([0,1],ze)));for(var He=1,tt=!0;He<Be.length;He+=1){var Je=Be[He],ut=Pe(Je,0,1),Ye=Pe(Je,-1);if((ut==='"'||ut==="'"||ut==="`"||Ye==='"'||Ye==="'"||Ye==="`")&&ut!==Ye)throw new ne("property names with quotes must have matching quotes");if((Je==="constructor"||!tt)&&(We=!0),Qe+="."+Je,Xe="%"+Qe+"%",me(z,Xe))Ve=z[Xe];else if(Ve!=null){if(!(Je in Ve)){if(!Ge)throw new ce("base intrinsic for "+Me+" exists, but the property is not available.");return}if(ae&&He+1>=Be.length){var Ue=ae(Ve,Je);tt=!!Ue,tt&&"get"in Ue&&!("originalValue"in Ue.get)?Ve=Ue.get:Ve=Ve[Je]}else tt=me(Ve,Je),Ve=Ve[Je];tt&&!We&&(z[Xe]=Ve)}}return Ve}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,he,de){"use strict";var se=E("get-intrinsic"),ne=se("%Object.getOwnPropertyDescriptor%",!0);if(ne)try{ne([],"length")}catch(ie){ne=null}he.exports=ne},{"get-intrinsic":348}],350:[function(E,he,de){"use strict";var se={foo:{}},ne=Object;he.exports=function(){return{__proto__:se}.foo===se.foo&&!({__proto__:null}instanceof ne)}},{}],351:[function(E,he,de){"use strict";var se=typeof Symbol!="undefined"&&Symbol,ne=E("./shams");he.exports=function(){return typeof se!="function"||typeof Symbol!="function"||typeof se("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ne()}},{"./shams":352}],352:[function(E,he,de){"use strict";he.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var ne={},ie=Symbol("test"),ce=Object(ie);if(typeof ie=="string"||Object.prototype.toString.call(ie)!=="[object Symbol]"||Object.prototype.toString.call(ce)!=="[object Symbol]")return!1;var ue=42;ne[ie]=ue;for(ie in ne)return!1;if(typeof Object.keys=="function"&&Object.keys(ne).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(ne).length!==0)return!1;var ae=Object.getOwnPropertySymbols(ne);if(ae.length!==1||ae[0]!==ie||!Object.prototype.propertyIsEnumerable.call(ne,ie))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var oe=Object.getOwnPropertyDescriptor(ne,ie);if(oe.value!==ue||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(E,he,de){"use strict";var se=E("has-symbols/shams");he.exports=function(){return se()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,he,de){"use strict";var se=E("function-bind");he.exports=se.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,he,de){var se=E("http"),ne=E("url"),ie=he.exports;for(var ce in se)se.hasOwnProperty(ce)&&(ie[ce]=se[ce]);ie.request=function(ae,oe){return ae=ue(ae),se.request.call(this,ae,oe)},ie.get=function(ae,oe){return ae=ue(ae),se.get.call(this,ae,oe)};function ue(ae){if(typeof ae=="string"&&(ae=ne.parse(ae)),ae.protocol||(ae.protocol="https:"),ae.protocol!=="https:")throw new Error('Protocol "'+ae.protocol+'" not supported. Expected "https:"');return ae}},{http:468,url:472}],356:[function(E,he,de){"use strict";var se=E("util"),ne=E("ms");he.exports=function(ie){if(typeof ie=="number")return ie;var ce=ne(ie);if(ce===void 0){var ue=new Error(se.format("humanize-ms(%j) result undefined",ie));console.warn(ue.stack)}return ce}},{ms:376,util:419}],357:[function(E,he,de){de.read=function(se,ne,ie,ce,ue){var ae,oe,re=ue*8-ce-1,ee=(1<<re)-1,a=ee>>1,y=-7,x=ie?ue-1:0,b=ie?-1:1,z=se[ne+x];for(x+=b,ae=z&(1<<-y)-1,z>>=-y,y+=re;y>0;ae=ae*256+se[ne+x],x+=b,y-=8);for(oe=ae&(1<<-y)-1,ae>>=-y,y+=ce;y>0;oe=oe*256+se[ne+x],x+=b,y-=8);if(ae===0)ae=1-a;else{if(ae===ee)return oe?NaN:(z?-1:1)*(1/0);oe=oe+Math.pow(2,ce),ae=ae-a}return(z?-1:1)*oe*Math.pow(2,ae-ce)},de.write=function(se,ne,ie,ce,ue,ae){var oe,re,ee,a=ae*8-ue-1,y=(1<<a)-1,x=y>>1,b=ue===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=ce?0:ae-1,te=ce?1:-1,le=ne<0||ne===0&&1/ne<0?1:0;for(ne=Math.abs(ne),isNaN(ne)||ne===1/0?(re=isNaN(ne)?1:0,oe=y):(oe=Math.floor(Math.log(ne)/Math.LN2),ne*(ee=Math.pow(2,-oe))<1&&(oe--,ee*=2),oe+x>=1?ne+=b/ee:ne+=b*Math.pow(2,1-x),ne*ee>=2&&(oe++,ee/=2),oe+x>=y?(re=0,oe=y):oe+x>=1?(re=(ne*ee-1)*Math.pow(2,ue),oe=oe+x):(re=ne*Math.pow(2,x-1)*Math.pow(2,ue),oe=0));ue>=8;se[ie+z]=re&255,z+=te,re/=256,ue-=8);for(oe=oe<<ue|re,a+=ue;a>0;se[ie+z]=oe&255,z+=te,oe/=256,a-=8);se[ie+z-te]|=le*128}},{}],358:[function(E,he,de){"use strict";var se=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],ne,ie,ce=-1,ue=[],ae=!1;function oe(){!ne||!ie||(ne=!1,ie.length?ue=ie.concat(ue):ce=-1,ue.length&&re())}function re(){if(!ne){ae=!1,ne=!0;for(var z=ue.length,te=setTimeout(oe);z;){for(ie=ue,ue=[];ie&&++ce<z;)ie[ce].run();ce=-1,z=ue.length}ie=null,ce=-1,ne=!1,clearTimeout(te)}}for(var ee,a=-1,y=se.length;++a<y;)if(se[a]&&se[a].test&&se[a].test()){ee=se[a].install(re);break}function x(z,te){this.fun=z,this.array=te}x.prototype.run=function(){var z=this.fun,te=this.array;switch(te.length){case 0:return z();case 1:return z(te[0]);case 2:return z(te[0],te[1]);case 3:return z(te[0],te[1],te[2]);default:return z.apply(null,te)}},he.exports=b;function b(z){var te=new Array(arguments.length-1);if(arguments.length>1)for(var le=1;le<arguments.length;le++)te[le-1]=arguments[le];ue.push(new x(z,te)),!ae&&!ne&&(ae=!0,ee())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(E,he,de){(function(se){(function(){"use strict";de.test=function(){return se.setImmediate?!1:typeof se.MessageChannel!="undefined"},de.install=function(ne){var ie=new se.MessageChannel;return ie.port1.onmessage=ne,function(){ie.port2.postMessage(0)}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(E,he,de){(function(se){(function(){"use strict";var ne=se.MutationObserver||se.WebKitMutationObserver;de.test=function(){return ne},de.install=function(ie){var ce=0,ue=new ne(ie),ae=se.document.createTextNode("");return ue.observe(ae,{characterData:!0}),function(){ae.data=ce=++ce%2}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(E,he,de){(function(se){(function(){"use strict";de.test=function(){return typeof se.queueMicrotask=="function"},de.install=function(ne){return function(){se.queueMicrotask(ne)}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(E,he,de){(function(se){(function(){"use strict";de.test=function(){return"document"in se&&"onreadystatechange"in se.document.createElement("script")},de.install=function(ne){return function(){var ie=se.document.createElement("script");return ie.onreadystatechange=function(){ne(),ie.onreadystatechange=null,ie.parentNode.removeChild(ie),ie=null},se.document.documentElement.appendChild(ie),ne}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(E,he,de){"use strict";de.test=function(){return!0},de.install=function(se){return function(){setTimeout(se,0)}}},{}],364:[function(E,he,de){typeof Object.create=="function"?he.exports=function(ne,ie){ie&&(ne.super_=ie,ne.prototype=Object.create(ie.prototype,{constructor:{value:ne,enumerable:!1,writable:!0,configurable:!0}}))}:he.exports=function(ne,ie){if(ie){ne.super_=ie;var ce=function(){};ce.prototype=ie.prototype,ne.prototype=new ce,ne.prototype.constructor=ne}}},{}],365:[function(E,he,de){"use strict";var se=E("has-tostringtag/shams")(),ne=E("call-bind/callBound"),ie=ne("Object.prototype.toString"),ce=function(re){return se&&re&&typeof re=="object"&&Symbol.toStringTag in re?!1:ie(re)==="[object Arguments]"},ue=function(re){return ce(re)?!0:re!==null&&typeof re=="object"&&typeof re.length=="number"&&re.length>=0&&ie(re)!=="[object Array]"&&ie(re.callee)==="[object Function]"},ae=function(){return ce(arguments)}();ce.isLegacyArguments=ue,he.exports=ae?ce:ue},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,he,de){he.exports=function(ie){return ie!=null&&(se(ie)||ne(ie)||!!ie._isBuffer)};function se(ie){return!!ie.constructor&&typeof ie.constructor.isBuffer=="function"&&ie.constructor.isBuffer(ie)}function ne(ie){return typeof ie.readFloatLE=="function"&&typeof ie.slice=="function"&&se(ie.slice(0,0))}},{}],367:[function(E,he,de){"use strict";var se=Function.prototype.toString,ne=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ie,ce;if(typeof ne=="function"&&typeof Object.defineProperty=="function")try{ie=Object.defineProperty({},"length",{get:function(){throw ce}}),ce={},ne(function(){throw 42},null,ie)}catch(me){me!==ce&&(ne=null)}else ne=null;var ue=/^\s*class\b/,ae=function(ge){try{var Se=se.call(ge);return ue.test(Se)}catch(ye){return!1}},oe=function(ge){try{return ae(ge)?!1:(se.call(ge),!0)}catch(Se){return!1}},re=Object.prototype.toString,ee="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",z="[object HTMLCollection]",te=typeof Symbol=="function"&&!!Symbol.toStringTag,le=!(0 in[,]),fe=function(){return!1};if(typeof document=="object"){var pe=document.all;re.call(pe)===re.call(document.all)&&(fe=function(ge){if((le||!ge)&&(typeof ge=="undefined"||typeof ge=="object"))try{var Se=re.call(ge);return(Se===x||Se===b||Se===z||Se===ee)&&ge("")==null}catch(ye){}return!1})}he.exports=ne?function(ge){if(fe(ge))return!0;if(!ge||typeof ge!="function"&&typeof ge!="object")return!1;try{ne(ge,null,ie)}catch(Se){if(Se!==ce)return!1}return!ae(ge)&&oe(ge)}:function(ge){if(fe(ge))return!0;if(!ge||typeof ge!="function"&&typeof ge!="object")return!1;if(te)return oe(ge);if(ae(ge))return!1;var Se=re.call(ge);return Se!==a&&Se!==y&&!/^\[object HTML/.test(Se)?!1:oe(ge)}},{}],368:[function(E,he,de){"use strict";var se=Object.prototype.toString,ne=Function.prototype.toString,ie=/^\s*(?:function)?\*/,ce=E("has-tostringtag/shams")(),ue=Object.getPrototypeOf,ae=function(){if(!ce)return!1;try{return Function("return function*() {}")()}catch(re){}},oe;he.exports=function(ee){if(typeof ee!="function")return!1;if(ie.test(ne.call(ee)))return!0;if(!ce){var a=se.call(ee);return a==="[object GeneratorFunction]"}if(!ue)return!1;if(typeof oe=="undefined"){var y=ae();oe=y?ue(y):!1}return ue(ee)===oe}},{"has-tostringtag/shams":353}],369:[function(E,he,de){"use strict";var se=E("which-typed-array");he.exports=function(ie){return!!se(ie)}},{"which-typed-array":420}],370:[function(E,he,de){var se={}.toString;he.exports=Array.isArray||function(ne){return se.call(ne)=="[object Array]"}},{}],371:[function(E,he,de){(function(se){(function(){(function(ne,ie){typeof de=="object"&&typeof he!="undefined"?he.exports=ie(ne):typeof ve=="function"&&ve.amd?ve(ie):ie(ne)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof se!="undefined"?se:this,function(ne){"use strict";ne=ne||{};var ie=ne.Base64,ce="2.6.4",ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(Me){for(var Ge={},Be=0,Qe=Me.length;Be<Qe;Be++)Ge[Me.charAt(Be)]=Be;return Ge}(ue),oe=String.fromCharCode,re=function(Me){if(Me.length<2){var Ge=Me.charCodeAt(0);return Ge<128?Me:Ge<2048?oe(192|Ge>>>6)+oe(128|Ge&63):oe(224|Ge>>>12&15)+oe(128|Ge>>>6&63)+oe(128|Ge&63)}else{var Ge=65536+(Me.charCodeAt(0)-55296)*1024+(Me.charCodeAt(1)-56320);return oe(240|Ge>>>18&7)+oe(128|Ge>>>12&63)+oe(128|Ge>>>6&63)+oe(128|Ge&63)}},ee=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Me){return Me.replace(ee,re)},y=function(Me){var Ge=[0,2,1][Me.length%3],Be=Me.charCodeAt(0)<<16|(Me.length>1?Me.charCodeAt(1):0)<<8|(Me.length>2?Me.charCodeAt(2):0),Qe=[ue.charAt(Be>>>18),ue.charAt(Be>>>12&63),Ge>=2?"=":ue.charAt(Be>>>6&63),Ge>=1?"=":ue.charAt(Be&63)];return Qe.join("")},x=ne.btoa&&typeof ne.btoa=="function"?function(Me){return ne.btoa(Me)}:function(Me){if(Me.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Me.replace(/[\s\S]{1,3}/g,y)},b=function(Me){return x(a(String(Me)))},z=function(Me){return Me.replace(/[+\/]/g,function(Ge){return Ge=="+"?"-":"_"}).replace(/=/g,"")},te=function(Me,Ge){return Ge?z(b(Me)):b(Me)},le=function(Me){return te(Me,!0)},fe;ne.Uint8Array&&(fe=function(Me,Ge){for(var Be="",Qe=0,qe=Me.length;Qe<qe;Qe+=3){var Xe=Me[Qe],Ve=Me[Qe+1],We=Me[Qe+2],ze=Xe<<16|Ve<<8|We;Be+=ue.charAt(ze>>>18)+ue.charAt(ze>>>12&63)+(typeof Ve!="undefined"?ue.charAt(ze>>>6&63):"=")+(typeof We!="undefined"?ue.charAt(ze&63):"=")}return Ge?z(Be):Be});var pe=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,me=function(Me){switch(Me.length){case 4:var Ge=(7&Me.charCodeAt(0))<<18|(63&Me.charCodeAt(1))<<12|(63&Me.charCodeAt(2))<<6|63&Me.charCodeAt(3),Be=Ge-65536;return oe((Be>>>10)+55296)+oe((Be&1023)+56320);case 3:return oe((15&Me.charCodeAt(0))<<12|(63&Me.charCodeAt(1))<<6|63&Me.charCodeAt(2));default:return oe((31&Me.charCodeAt(0))<<6|63&Me.charCodeAt(1))}},ge=function(Me){return Me.replace(pe,me)},Se=function(Me){var Ge=Me.length,Be=Ge%4,Qe=(Ge>0?ae[Me.charAt(0)]<<18:0)|(Ge>1?ae[Me.charAt(1)]<<12:0)|(Ge>2?ae[Me.charAt(2)]<<6:0)|(Ge>3?ae[Me.charAt(3)]:0),qe=[oe(Qe>>>16),oe(Qe>>>8&255),oe(Qe&255)];return qe.length-=[0,0,2,1][Be],qe.join("")},ye=ne.atob&&typeof ne.atob=="function"?function(Me){return ne.atob(Me)}:function(Me){return Me.replace(/\S{1,4}/g,Se)},Pe=function(Me){return ye(String(Me).replace(/[^A-Za-z0-9\+\/]/g,""))},we=function(Me){return ge(ye(Me))},De=function(Me){return String(Me).replace(/[-_]/g,function(Ge){return Ge=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ee=function(Me){return we(De(Me))},Ae;ne.Uint8Array&&(Ae=function(Me){return Uint8Array.from(Pe(De(Me)),function(Ge){return Ge.charCodeAt(0)})});var Ce=function(){var Me=ne.Base64;return ne.Base64=ie,Me};if(ne.Base64={VERSION:ce,atob:Pe,btoa:x,fromBase64:Ee,toBase64:te,utob:a,encode:te,encodeURI:le,btou:ge,decode:Ee,noConflict:Ce,fromUint8Array:fe,toUint8Array:Ae},typeof Object.defineProperty=="function"){var Ie=function(Me){return{value:Me,enumerable:!1,writable:!0,configurable:!0}};ne.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ie(function(){return Ee(this)})),Object.defineProperty(String.prototype,"toBase64",Ie(function(Me){return te(this,Me)})),Object.defineProperty(String.prototype,"toBase64URI",Ie(function(){return te(this,!0)}))}}return ne.Meteor&&(Base64=ne.Base64),typeof he!="undefined"&&he.exports?he.exports.Base64=ne.Base64:typeof ve=="function"&&ve.amd&&ve([],function(){return ne.Base64}),{Base64:ne.Base64}})}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,he,de){"use strict";he.exports=ne;var se=Object.prototype.hasOwnProperty;function ne(ie,ce,ue){if(!ie)throw new TypeError("argument dest is required");if(!ce)throw new TypeError("argument src is required");return ue===void 0&&(ue=!0),Object.getOwnPropertyNames(ce).forEach(function(oe){if(!(!ue&&se.call(ie,oe))){var re=Object.getOwnPropertyDescriptor(ce,oe);Object.defineProperty(ie,oe,re)}}),ie}},{}],373:[function(E,he,de){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function se(){this._types=Object.create(null),this._extensions=Object.create(null);for(var ne=0;ne<arguments.length;ne++)this.define(arguments[ne]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}se.prototype.define=function(ne,ie){for(var ce in ne){var ue=ne[ce].map(function(ee){return ee.toLowerCase()});ce=ce.toLowerCase();for(var ae=0;ae<ue.length;ae++){var oe=ue[ae];if(oe[0]!=="*"){if(!ie&&oe in this._types)throw new Error('Attempt to change mapping for "'+oe+'" extension from "'+this._types[oe]+'" to "'+ce+'". Pass `force=true` to allow this, otherwise remove "'+oe+'" from the list of extensions for "'+ce+'".');this._types[oe]=ce}}if(ie||!this._extensions[ce]){var re=ue[0];this._extensions[ce]=re[0]!=="*"?re:re.substr(1)}}},se.prototype.getType=function(ne){ne=String(ne);var ie=ne.replace(/^.*[/\\]/,"").toLowerCase(),ce=ie.replace(/^.*\./,"").toLowerCase(),ue=ie.length<ne.length,ae=ce.length<ie.length-1;return(ae||!ue)&&this._types[ce]||null},se.prototype.getExtension=function(ne){return ne=/^\s*([^;\s]*)/.test(ne)&&RegExp.$1,ne&&this._extensions[ne.toLowerCase()]||null},he.exports=se},{"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.constructor.js":299,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305}],374:[function(E,he,de){"use strict";var se=E("./Mime");he.exports=new se(E("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(E,he,de){"use strict";he.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],376:[function(E,he,de){var se=1e3,ne=se*60,ie=ne*60,ce=ie*24,ue=ce*7,ae=ce*365.25;he.exports=function(y,x){x=x||{};var b=typeof y;if(b==="string"&&y.length>0)return oe(y);if(b==="number"&&isFinite(y))return x.long?ee(y):re(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function oe(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),z=(x[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return b*ae;case"weeks":case"week":case"w":return b*ue;case"days":case"day":case"d":return b*ce;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ie;case"minutes":case"minute":case"mins":case"min":case"m":return b*ne;case"seconds":case"second":case"secs":case"sec":case"s":return b*se;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function re(y){var x=Math.abs(y);return x>=ce?Math.round(y/ce)+"d":x>=ie?Math.round(y/ie)+"h":x>=ne?Math.round(y/ne)+"m":x>=se?Math.round(y/se)+"s":y+"ms"}function ee(y){var x=Math.abs(y);return x>=ce?a(y,x,ce,"day"):x>=ie?a(y,x,ie,"hour"):x>=ne?a(y,x,ne,"minute"):x>=se?a(y,x,se,"second"):y+" ms"}function a(y,x,b,z){var te=x>=b*1.5;return Math.round(y/b)+" "+z+(te?"s":"")}},{}],377:[function(E,he,de){"use strict";var se=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;function ce(ae){if(ae==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ae)}function ue(){try{if(!Object.assign)return!1;var ae=new String("abc");if(ae[5]="de",Object.getOwnPropertyNames(ae)[0]==="5")return!1;for(var oe={},re=0;re<10;re++)oe["_"+String.fromCharCode(re)]=re;var ee=Object.getOwnPropertyNames(oe).map(function(y){return oe[y]});if(ee.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(y){a[y]=y}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(y){return!1}}he.exports=ue()?Object.assign:function(ae,oe){for(var re,ee=ce(ae),a,y=1;y<arguments.length;y++){re=Object(arguments[y]);for(var x in re)ne.call(re,x)&&(ee[x]=re[x]);if(se){a=se(re);for(var b=0;b<a.length;b++)ie.call(re,a[b])&&(ee[a[b]]=re[a[b]])}}return ee}},{}],378:[function(E,he,de){(function(se){(function(){"use strict";function ne(ae){if(typeof ae!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(ae))}function ie(ae,oe){for(var re="",ee=0,a=-1,y=0,x,b=0;b<=ae.length;++b){if(b<ae.length)x=ae.charCodeAt(b);else{if(x===47)break;x=47}if(x===47){if(!(a===b-1||y===1))if(a!==b-1&&y===2){if(re.length<2||ee!==2||re.charCodeAt(re.length-1)!==46||re.charCodeAt(re.length-2)!==46){if(re.length>2){var z=re.lastIndexOf("/");if(z!==re.length-1){z===-1?(re="",ee=0):(re=re.slice(0,z),ee=re.length-1-re.lastIndexOf("/")),a=b,y=0;continue}}else if(re.length===2||re.length===1){re="",ee=0,a=b,y=0;continue}}oe&&(re.length>0?re+="/..":re="..",ee=2)}else re.length>0?re+="/"+ae.slice(a+1,b):re=ae.slice(a+1,b),ee=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return re}function ce(ae,oe){var re=oe.dir||oe.root,ee=oe.base||(oe.name||"")+(oe.ext||"");return re?re===oe.root?re+ee:re+ae+ee:ee}var ue={resolve:function(){for(var oe="",re=!1,ee,a=arguments.length-1;a>=-1&&!re;a--){var y;a>=0?y=arguments[a]:(ee===void 0&&(ee=se.cwd()),y=ee),ne(y),y.length!==0&&(oe=y+"/"+oe,re=y.charCodeAt(0)===47)}return oe=ie(oe,!re),re?oe.length>0?"/"+oe:"/":oe.length>0?oe:"."},normalize:function(oe){if(ne(oe),oe.length===0)return".";var re=oe.charCodeAt(0)===47,ee=oe.charCodeAt(oe.length-1)===47;return oe=ie(oe,!re),oe.length===0&&!re&&(oe="."),oe.length>0&&ee&&(oe+="/"),re?"/"+oe:oe},isAbsolute:function(oe){return ne(oe),oe.length>0&&oe.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var oe,re=0;re<arguments.length;++re){var ee=arguments[re];ne(ee),ee.length>0&&(oe===void 0?oe=ee:oe+="/"+ee)}return oe===void 0?".":ue.normalize(oe)},relative:function(oe,re){if(ne(oe),ne(re),oe===re||(oe=ue.resolve(oe),re=ue.resolve(re),oe===re))return"";for(var ee=1;ee<oe.length&&oe.charCodeAt(ee)===47;++ee);for(var a=oe.length,y=a-ee,x=1;x<re.length&&re.charCodeAt(x)===47;++x);for(var b=re.length,z=b-x,te=y<z?y:z,le=-1,fe=0;fe<=te;++fe){if(fe===te){if(z>te){if(re.charCodeAt(x+fe)===47)return re.slice(x+fe+1);if(fe===0)return re.slice(x+fe)}else y>te&&(oe.charCodeAt(ee+fe)===47?le=fe:fe===0&&(le=0));break}var pe=oe.charCodeAt(ee+fe),me=re.charCodeAt(x+fe);if(pe!==me)break;pe===47&&(le=fe)}var ge="";for(fe=ee+le+1;fe<=a;++fe)(fe===a||oe.charCodeAt(fe)===47)&&(ge.length===0?ge+="..":ge+="/..");return ge.length>0?ge+re.slice(x+le):(x+=le,re.charCodeAt(x)===47&&++x,re.slice(x))},_makeLong:function(oe){return oe},dirname:function(oe){if(ne(oe),oe.length===0)return".";for(var re=oe.charCodeAt(0),ee=re===47,a=-1,y=!0,x=oe.length-1;x>=1;--x)if(re=oe.charCodeAt(x),re===47){if(!y){a=x;break}}else y=!1;return a===-1?ee?"/":".":ee&&a===1?"//":oe.slice(0,a)},basename:function(oe,re){if(re!==void 0&&typeof re!="string")throw new TypeError('"ext" argument must be a string');ne(oe);var ee=0,a=-1,y=!0,x;if(re!==void 0&&re.length>0&&re.length<=oe.length){if(re.length===oe.length&&re===oe)return"";var b=re.length-1,z=-1;for(x=oe.length-1;x>=0;--x){var te=oe.charCodeAt(x);if(te===47){if(!y){ee=x+1;break}}else z===-1&&(y=!1,z=x+1),b>=0&&(te===re.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=z))}return ee===a?a=z:a===-1&&(a=oe.length),oe.slice(ee,a)}else{for(x=oe.length-1;x>=0;--x)if(oe.charCodeAt(x)===47){if(!y){ee=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":oe.slice(ee,a)}},extname:function(oe){ne(oe);for(var re=-1,ee=0,a=-1,y=!0,x=0,b=oe.length-1;b>=0;--b){var z=oe.charCodeAt(b);if(z===47){if(!y){ee=b+1;break}continue}a===-1&&(y=!1,a=b+1),z===46?re===-1?re=b:x!==1&&(x=1):re!==-1&&(x=-1)}return re===-1||a===-1||x===0||x===1&&re===a-1&&re===ee+1?"":oe.slice(re,a)},format:function(oe){if(oe===null||typeof oe!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof oe);return ce("/",oe)},parse:function(oe){ne(oe);var re={root:"",dir:"",base:"",ext:"",name:""};if(oe.length===0)return re;var ee=oe.charCodeAt(0),a=ee===47,y;a?(re.root="/",y=1):y=0;for(var x=-1,b=0,z=-1,te=!0,le=oe.length-1,fe=0;le>=y;--le){if(ee=oe.charCodeAt(le),ee===47){if(!te){b=le+1;break}continue}z===-1&&(te=!1,z=le+1),ee===46?x===-1?x=le:fe!==1&&(fe=1):x!==-1&&(fe=-1)}return x===-1||z===-1||fe===0||fe===1&&x===z-1&&x===b+1?z!==-1&&(b===0&&a?re.base=re.name=oe.slice(1,z):re.base=re.name=oe.slice(b,z)):(b===0&&a?(re.name=oe.slice(1,x),re.base=oe.slice(1,z)):(re.name=oe.slice(b,x),re.base=oe.slice(b,z)),re.ext=oe.slice(x,z)),b>0?re.dir=oe.slice(0,b-1):a&&(re.dir="/"),re},sep:"/",delimiter:":",win32:null,posix:null};ue.posix=ue,he.exports=ue}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,he,de){(function(se){(function(){(function(){"use strict";var ne={function:!0,object:!0},ie=ne[typeof window]&&window||this,ce=ie,ue=ne[typeof de]&&de,ae=ne[typeof he]&&he&&!he.nodeType&&he,oe=ue&&ae&&typeof se=="object"&&se;oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(ie=oe);var re=Math.pow(2,53)-1,ee=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function z(Ee){return Ee=String(Ee),Ee.charAt(0).toUpperCase()+Ee.slice(1)}function te(Ee,Ae,Ce){var Ie={"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 Ae&&Ce&&/^Win/i.test(Ee)&&!/^Windows Phone /i.test(Ee)&&(Ie=Ie[/[\d.]+$/.exec(Ee)])&&(Ee="Windows "+Ie),Ee=String(Ee),Ae&&Ce&&(Ee=Ee.replace(RegExp(Ae,"i"),Ce)),Ee=fe(Ee.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]),Ee}function le(Ee,Ae){var Ce=-1,Ie=Ee?Ee.length:0;if(typeof Ie=="number"&&Ie>-1&&Ie<=re)for(;++Ce<Ie;)Ae(Ee[Ce],Ce,Ee);else pe(Ee,Ae)}function fe(Ee){return Ee=Pe(Ee),/^(?:webOS|i(?:OS|P))/.test(Ee)?Ee:z(Ee)}function pe(Ee,Ae){for(var Ce in Ee)x.call(Ee,Ce)&&Ae(Ee[Ce],Ce,Ee)}function me(Ee){return Ee==null?z(Ee):b.call(Ee).slice(8,-1)}function ge(Ee,Ae){var Ce=Ee!=null?typeof Ee[Ae]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Ce)&&(Ce=="object"?!!Ee[Ae]:!0)}function Se(Ee){return String(Ee).replace(/([ -])(?!$)/g,"$1?")}function ye(Ee,Ae){var Ce=null;return le(Ee,function(Ie,Me){Ce=Ae(Ce,Ie,Me,Ee)}),Ce}function Pe(Ee){return String(Ee).replace(/^ +| +$/g,"")}function we(Ee){var Ae=ie,Ce=Ee&&typeof Ee=="object"&&me(Ee)!="String";Ce&&(Ae=Ee,Ee=null);var Ie=Ae.navigator||{},Me=Ie.userAgent||"";Ee||(Ee=Me);var Ge=Ce||a==ce,Be=Ce?!!Ie.likeChrome:/\bChrome\b/.test(Ee)&&!/internal|\n/i.test(b.toString()),Qe="Object",qe=Ce?Qe:"ScriptBridgingProxyObject",Xe=Ce?Qe:"Environment",Ve=Ce&&Ae.java?"JavaPackage":me(Ae.java),We=Ce?Qe:"RuntimeObject",ze=/\bJava/.test(Ve)&&Ae.java,He=ze&&me(Ae.environment)==Xe,tt=ze?"a":"\u03B1",Je=ze?"b":"\u03B2",ut=Ae.document||{},Ye=Ae.operamini||Ae.opera,Ue=ee.test(Ue=Ce&&Ye?Ye["[[Class]]"]:me(Ye))?Ue:Ye=null,je,$e=Ee,Le=[],Ne=null,et=Ee==Me,Ze=et&&Ye&&typeof Ye.version=="function"&&Ye.version(),Fe,Oe=ot([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Te=nt(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),xe=ct([{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"]),Re=ke({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),Ke=mt(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function ot(at){return ye(at,function(st,ft){return st||RegExp("\\b"+(ft.pattern||Se(ft))+"\\b","i").exec(Ee)&&(ft.label||ft)})}function ke(at){return ye(at,function(st,ft,vt){return st||(ft[xe]||ft[/^[a-z]+(?: +[a-z]+\b)*/i.exec(xe)]||RegExp("\\b"+Se(vt)+"(?:\\b|\\w*\\d)","i").exec(Ee))&&vt})}function nt(at){return ye(at,function(st,ft){return st||RegExp("\\b"+(ft.pattern||Se(ft))+"\\b","i").exec(Ee)&&(ft.label||ft)})}function mt(at){return ye(at,function(st,ft){var vt=ft.pattern||Se(ft);return!st&&(st=RegExp("\\b"+vt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(Ee))&&(st=te(st,vt,ft.label||ft)),st})}function ct(at){return ye(at,function(st,ft){var vt=ft.pattern||Se(ft);return!st&&(st=RegExp("\\b"+vt+" *\\d+[.\\w_]*","i").exec(Ee)||RegExp("\\b"+vt+" *\\w+-[\\w]*","i").exec(Ee)||RegExp("\\b"+vt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(Ee))&&((st=String(ft.label&&!RegExp(vt,"i").test(ft.label)?ft.label:st).split("/"))[1]&&!/[\d.]+/.test(st[0])&&(st[0]+=" "+st[1]),ft=ft.label||ft,st=fe(st[0].replace(RegExp(vt,"i"),ft).replace(RegExp("; *(?:"+ft+"[_-])?","i")," ").replace(RegExp("("+ft+")[-_.]?(\\w)","i"),"$1 $2"))),st})}function ht(at){return ye(at,function(st,ft){return st||(RegExp(ft+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(Ee)||0)[1]||null})}function lt(){return this.description||""}if(Oe&&(Oe=[Oe]),/\bAndroid\b/.test(Ke)&&!xe&&(je=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(Ee))&&(xe=Pe(je[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Re&&!xe?xe=ct([Re]):Re&&xe&&(xe=xe.replace(RegExp("^("+Se(Re)+")[-_.\\s]","i"),Re+" ").replace(RegExp("^("+Se(Re)+")[-_.]?(\\w)","i"),Re+" $2")),(je=/\bGoogle TV\b/.exec(xe))&&(xe=je[0]),/\bSimulator\b/i.test(Ee)&&(xe=(xe?xe+" ":"")+"Simulator"),Te=="Opera Mini"&&/\bOPiOS\b/.test(Ee)&&Le.push("running in Turbo/Uncompressed mode"),Te=="IE"&&/\blike iPhone OS\b/.test(Ee)?(je=we(Ee.replace(/like iPhone OS/,"")),Re=je.manufacturer,xe=je.product):/^iP/.test(xe)?(Te||(Te="Safari"),Ke="iOS"+((je=/ OS ([\d_]+)/i.exec(Ee))?" "+je[1].replace(/_/g,"."):"")):Te=="Konqueror"&&/^Linux\b/i.test(Ke)?Ke="Kubuntu":Re&&Re!="Google"&&(/Chrome/.test(Te)&&!/\bMobile Safari\b/i.test(Ee)||/\bVita\b/.test(xe))||/\bAndroid\b/.test(Ke)&&/^Chrome/.test(Te)&&/\bVersion\//i.test(Ee)?(Te="Android Browser",Ke=/\bAndroid\b/.test(Ke)?Ke:"Android"):Te=="Silk"?(/\bMobi/i.test(Ee)||(Ke="Android",Le.unshift("desktop mode")),/Accelerated *= *true/i.test(Ee)&&Le.unshift("accelerated")):Te=="UC Browser"&&/\bUCWEB\b/.test(Ee)?Le.push("speed mode"):Te=="PaleMoon"&&(je=/\bFirefox\/([\d.]+)\b/.exec(Ee))?Le.push("identifying as Firefox "+je[1]):Te=="Firefox"&&(je=/\b(Mobile|Tablet|TV)\b/i.exec(Ee))?(Ke||(Ke="Firefox OS"),xe||(xe=je[1])):!Te||(je=!/\bMinefield\b/i.test(Ee)&&/\b(?:Firefox|Safari)\b/.exec(Te))?(Te&&!xe&&/[\/,]|^[^(]+?\)/.test(Ee.slice(Ee.indexOf(je+"/")+8))&&(Te=null),(je=xe||Re||Ke)&&(xe||Re||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Ke))&&(Te=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Ke)?Ke:je)+" Browser")):Te=="Electron"&&(je=(/\bChrome\/([\d.]+)\b/.exec(Ee)||0)[1])&&Le.push("Chromium "+je),Ze||(Ze=ht(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",Se(Te),"(?:Firefox|Minefield|NetFront)"])),(je=Oe=="iCab"&&parseFloat(Ze)>3&&"WebKit"||/\bOpera\b/.test(Te)&&(/\bOPR\b/.test(Ee)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ee)&&!/^(?:Trident|EdgeHTML)$/.test(Oe)&&"WebKit"||!Oe&&/\bMSIE\b/i.test(Ee)&&(Ke=="Mac OS"?"Tasman":"Trident")||Oe=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Te)&&"NetFront")&&(Oe=[je]),Te=="IE"&&(je=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ee)||0)[1])?(Te+=" Mobile",Ke="Windows Phone "+(/\+$/.test(je)?je:je+".x"),Le.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ee)?(Te="IE Mobile",Ke="Windows Phone 8.x",Le.unshift("desktop mode"),Ze||(Ze=(/\brv:([\d.]+)/.exec(Ee)||0)[1])):Te!="IE"&&Oe=="Trident"&&(je=/\brv:([\d.]+)/.exec(Ee))&&(Te&&Le.push("identifying as "+Te+(Ze?" "+Ze:"")),Te="IE",Ze=je[1]),et){if(ge(Ae,"global"))if(ze&&(je=ze.lang.System,$e=je.getProperty("os.arch"),Ke=Ke||je.getProperty("os.name")+" "+je.getProperty("os.version")),He){try{Ze=Ae.require("ringo/engine").version.join("."),Te="RingoJS"}catch(at){(je=Ae.system)&&je.global.system==Ae.system&&(Te="Narwhal",Ke||(Ke=je[0].os||null))}Te||(Te="Rhino")}else typeof Ae.process=="object"&&!Ae.process.browser&&(je=Ae.process)&&(typeof je.versions=="object"&&(typeof je.versions.electron=="string"?(Le.push("Node "+je.versions.node),Te="Electron",Ze=je.versions.electron):typeof je.versions.nw=="string"&&(Le.push("Chromium "+Ze,"Node "+je.versions.node),Te="NW.js",Ze=je.versions.nw)),Te||(Te="Node.js",$e=je.arch,Ke=je.platform,Ze=/[\d.]+/.exec(je.version),Ze=Ze?Ze[0]:null));else me(je=Ae.runtime)==qe?(Te="Adobe AIR",Ke=je.flash.system.Capabilities.os):me(je=Ae.phantom)==We?(Te="PhantomJS",Ze=(je=je.version||null)&&je.major+"."+je.minor+"."+je.patch):typeof ut.documentMode=="number"&&(je=/\bTrident\/(\d+)/i.exec(Ee))?(Ze=[Ze,ut.documentMode],(je=+je[1]+4)!=Ze[1]&&(Le.push("IE "+Ze[1]+" mode"),Oe&&(Oe[1]=""),Ze[1]=je),Ze=Te=="IE"?String(Ze[1].toFixed(1)):Ze[0]):typeof ut.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Te)&&(Le.push("masking as "+Te+" "+Ze),Te="IE",Ze="11.0",Oe=["Trident"],Ke="Windows");Ke=Ke&&fe(Ke)}if(Ze&&(je=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ze)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ee+";"+(et&&Ie.appMinorVersion))||/\bMinefield\b/i.test(Ee)&&"a")&&(Ne=/b/i.test(je)?"beta":"alpha",Ze=Ze.replace(RegExp(je+"\\+?$"),"")+(Ne=="beta"?Je:tt)+(/\d+\+?/.exec(je)||"")),Te=="Fennec"||Te=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Ke))Te="Firefox Mobile";else if(Te=="Maxthon"&&Ze)Ze=Ze.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(xe))xe=="Xbox 360"&&(Ke=null),xe=="Xbox 360"&&/\bIEMobile\b/.test(Ee)&&Le.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Te)||Te&&!xe&&!/Browser|Mobi/.test(Te))&&(Ke=="Windows CE"||/Mobi/i.test(Ee)))Te+=" Mobile";else if(Te=="IE"&&et)try{Ae.external===null&&Le.unshift("platform preview")}catch(at){Le.unshift("embedded")}else(/\bBlackBerry\b/.test(xe)||/\bBB10\b/.test(Ee))&&(je=(RegExp(xe.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ee)||0)[1]||Ze)?(je=[je,/BB10/.test(Ee)],Ke=(je[1]?(xe=null,Re="BlackBerry"):"Device Software")+" "+je[0],Ze=null):this!=pe&&xe!="Wii"&&(et&&Ye||/Opera/.test(Te)&&/\b(?:MSIE|Firefox)\b/i.test(Ee)||Te=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Ke)||Te=="IE"&&(Ke&&!/^Win/.test(Ke)&&Ze>5.5||/\bWindows XP\b/.test(Ke)&&Ze>8||Ze==8&&!/\bTrident\b/.test(Ee)))&&!ee.test(je=we.call(pe,Ee.replace(ee,"")+";"))&&je.name&&(je="ing as "+je.name+((je=je.version)?" "+je:""),ee.test(Te)?(/\bIE\b/.test(je)&&Ke=="Mac OS"&&(Ke=null),je="identify"+je):(je="mask"+je,Ue?Te=fe(Ue.replace(/([a-z])([A-Z])/g,"$1 $2")):Te="Opera",/\bIE\b/.test(je)&&(Ke=null),et||(Ze=null)),Oe=["Presto"],Le.push(je));(je=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ee)||0)[1])&&(je=[parseFloat(je.replace(/\.(\d)$/,".0$1")),je],Te=="Safari"&&je[1].slice(-1)=="+"?(Te="WebKit Nightly",Ne="alpha",Ze=je[1].slice(0,-1)):(Ze==je[1]||Ze==(je[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ee)||0)[1]))&&(Ze=null),je[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ee)||0)[1],je[0]==537.36&&je[2]==537.36&&parseFloat(je[1])>=28&&Oe=="WebKit"&&(Oe=["Blink"]),!et||!Be&&!je[1]?(Oe&&(Oe[1]="like Safari"),je=(je=je[0],je<400?1:je<500?2:je<526?3:je<533?4:je<534?"4+":je<535?5:je<537?6:je<538?7:je<601?8:je<602?9:je<604?10:je<606?11:je<608?12:"12")):(Oe&&(Oe[1]="like Chrome"),je=je[1]||(je=je[0],je<530?1:je<532?2:je<532.05?3:je<533?4:je<534.03?5:je<534.07?6:je<534.1?7:je<534.13?8:je<534.16?9:je<534.24?10:je<534.3?11:je<535.01?12:je<535.02?"13+":je<535.07?15:je<535.11?16:je<535.19?17:je<536.05?18:je<536.1?19:je<537.01?20:je<537.11?"21+":je<537.13?23:je<537.18?24:je<537.24?25:je<537.36?26:Oe!="Blink"?"27":"28")),Oe&&(Oe[1]+=" "+(je+=typeof je=="number"?".x":/[.+]/.test(je)?"":"+")),Te=="Safari"&&(!Ze||parseInt(Ze)>45)?Ze=je:Te=="Chrome"&&/\bHeadlessChrome/i.test(Ee)&&Le.unshift("headless")),Te=="Opera"&&(je=/\bzbov|zvav$/.exec(Ke))?(Te+=" ",Le.unshift("desktop mode"),je=="zvav"?(Te+="Mini",Ze=null):Te+="Mobile",Ke=Ke.replace(RegExp(" *"+je+"$"),"")):Te=="Safari"&&/\bChrome\b/.exec(Oe&&Oe[1])?(Le.unshift("desktop mode"),Te="Chrome Mobile",Ze=null,/\bOS X\b/.test(Ke)?(Re="Apple",Ke="iOS 4.3+"):Ke=null):/\bSRWare Iron\b/.test(Te)&&!Ze&&(Ze=ht("Chrome")),Ze&&Ze.indexOf(je=/[\d.]+$/.exec(Ke))==0&&Ee.indexOf("/"+je+"-")>-1&&(Ke=Pe(Ke.replace(je,""))),Ke&&Ke.indexOf(Te)!=-1&&!RegExp(Te+" OS").test(Ke)&&(Ke=Ke.replace(RegExp(" *"+Se(Te)+" *"),"")),Oe&&!/\b(?:Avant|Nook)\b/.test(Te)&&(/Browser|Lunascape|Maxthon/.test(Te)||Te!="Safari"&&/^iOS/.test(Ke)&&/\bSafari\b/.test(Oe[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Te)&&Oe[1])&&(je=Oe[Oe.length-1])&&Le.push(je),Le.length&&(Le=["("+Le.join("; ")+")"]),Re&&xe&&xe.indexOf(Re)<0&&Le.push("on "+Re),xe&&Le.push((/^on /.test(Le[Le.length-1])?"":"on ")+xe),Ke&&(je=/ ([\d.+]+)$/.exec(Ke),Fe=je&&Ke.charAt(Ke.length-je[0].length-1)=="/",Ke={architecture:32,family:je&&!Fe?Ke.replace(je[0],""):Ke,version:je?je[1]:null,toString:function(){var at=this.version;return this.family+(at&&!Fe?" "+at:"")+(this.architecture==64?" 64-bit":"")}}),(je=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec($e))&&!/\bi686\b/i.test($e)?(Ke&&(Ke.architecture=64,Ke.family=Ke.family.replace(RegExp(" *"+je),"")),Te&&(/\bWOW64\b/i.test(Ee)||et&&/\w(?:86|32)$/.test(Ie.cpuClass||Ie.platform)&&!/\bWin64; x64\b/i.test(Ee))&&Le.unshift("32-bit")):Ke&&/^OS X/.test(Ke.family)&&Te=="Chrome"&&parseFloat(Ze)>=39&&(Ke.architecture=64),Ee||(Ee=null);var pt={};return pt.description=Ee,pt.layout=Oe&&Oe[0],pt.manufacturer=Re,pt.name=Te,pt.prerelease=Ne,pt.product=xe,pt.ua=Ee,pt.version=Te&&Ze,pt.os=Ke||{architecture:null,family:null,version:null,toString:function(){return"null"}},pt.parse=we,pt.toString=lt,pt.version&&Le.unshift(Ze),pt.name&&Le.unshift(Te),Ke&&Te&&!(Ke==String(Ke).split(" ")[0]&&(Ke==Te.split(" ")[0]||xe))&&Le.push(xe?"("+Ke+")":"on "+Ke),Le.length&&(pt.description=Le.join(" ")),pt}var De=we();typeof ve=="function"&&typeof ve.amd=="object"&&ve.amd?(ie.platform=De,ve(function(){return De})):ue&&ae?pe(De,function(Ee,Ae){ue[Ae]=Ee}):ie.platform=De}).call(this)}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,he,de){(function(se){(function(){"use strict";typeof se=="undefined"||!se.version||se.version.indexOf("v0.")===0||se.version.indexOf("v1.")===0&&se.version.indexOf("v1.8.")!==0?he.exports={nextTick:ne}:he.exports=se;function ne(ie,ce,ue,ae){if(typeof ie!="function")throw new TypeError('"callback" argument must be a function');var oe=arguments.length,re,ee;switch(oe){case 0:case 1:return se.nextTick(ie);case 2:return se.nextTick(function(){ie.call(null,ce)});case 3:return se.nextTick(function(){ie.call(null,ce,ue)});case 4:return se.nextTick(function(){ie.call(null,ce,ue,ae)});default:for(re=new Array(oe-1),ee=0;ee<re.length;)re[ee++]=arguments[ee];return se.nextTick(function(){ie.apply(null,re)})}}}).call(this)}).call(this,E("_process"))},{_process:467}],381:[function(E,he,de){var se=he.exports={},ne,ie;function ce(){throw new Error("setTimeout has not been defined")}function ue(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ne=setTimeout:ne=ce}catch(le){ne=ce}try{typeof clearTimeout=="function"?ie=clearTimeout:ie=ue}catch(le){ie=ue}})();function ae(le){if(ne===setTimeout)return setTimeout(le,0);if((ne===ce||!ne)&&setTimeout)return ne=setTimeout,setTimeout(le,0);try{return ne(le,0)}catch(fe){try{return ne.call(null,le,0)}catch(pe){return ne.call(this,le,0)}}}function oe(le){if(ie===clearTimeout)return clearTimeout(le);if((ie===ue||!ie)&&clearTimeout)return ie=clearTimeout,clearTimeout(le);try{return ie(le)}catch(fe){try{return ie.call(null,le)}catch(pe){return ie.call(this,le)}}}var re=[],ee=!1,a,y=-1;function x(){!ee||!a||(ee=!1,a.length?re=a.concat(re):y=-1,re.length&&b())}function b(){if(!ee){var le=ae(x);ee=!0;for(var fe=re.length;fe;){for(a=re,re=[];++y<fe;)a&&a[y].run();y=-1,fe=re.length}a=null,ee=!1,oe(le)}}se.nextTick=function(le){var fe=new Array(arguments.length-1);if(arguments.length>1)for(var pe=1;pe<arguments.length;pe++)fe[pe-1]=arguments[pe];re.push(new z(le,fe)),re.length===1&&!ee&&ae(b)};function z(le,fe){this.fun=le,this.array=fe}z.prototype.run=function(){this.fun.apply(null,this.array)},se.title="browser",se.browser=!0,se.env={},se.argv=[],se.version="",se.versions={};function te(){}se.on=te,se.addListener=te,se.once=te,se.off=te,se.removeListener=te,se.removeAllListeners=te,se.emit=te,se.prependListener=te,se.prependOnceListener=te,se.listeners=function(le){return[]},se.binding=function(le){throw new Error("process.binding is not supported")},se.cwd=function(){return"/"},se.chdir=function(le){throw new Error("process.chdir is not supported")},se.umask=function(){return 0}},{}],382:[function(E,he,de){(function(se){(function(){(function(ne){var ie=typeof de=="object"&&de&&!de.nodeType&&de,ce=typeof he=="object"&&he&&!he.nodeType&&he,ue=typeof se=="object"&&se;(ue.global===ue||ue.window===ue||ue.self===ue)&&(ne=ue);var ae,oe=2147483647,re=36,ee=1,a=26,y=38,x=700,b=72,z=128,te="-",le=/^xn--/,fe=/[^\x20-\x7E]/,pe=/[\x2E\u3002\uFF0E\uFF61]/g,me={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ge=re-ee,Se=Math.floor,ye=String.fromCharCode,Pe;function we(Ve){throw new RangeError(me[Ve])}function De(Ve,We){for(var ze=Ve.length,He=[];ze--;)He[ze]=We(Ve[ze]);return He}function Ee(Ve,We){var ze=Ve.split("@"),He="";ze.length>1&&(He=ze[0]+"@",Ve=ze[1]),Ve=Ve.replace(pe,".");var tt=Ve.split("."),Je=De(tt,We).join(".");return He+Je}function Ae(Ve){for(var We=[],ze=0,He=Ve.length,tt,Je;ze<He;)tt=Ve.charCodeAt(ze++),tt>=55296&&tt<=56319&&ze<He?(Je=Ve.charCodeAt(ze++),(Je&64512)==56320?We.push(((tt&1023)<<10)+(Je&1023)+65536):(We.push(tt),ze--)):We.push(tt);return We}function Ce(Ve){return De(Ve,function(We){var ze="";return We>65535&&(We-=65536,ze+=ye(We>>>10&1023|55296),We=56320|We&1023),ze+=ye(We),ze}).join("")}function Ie(Ve){return Ve-48<10?Ve-22:Ve-65<26?Ve-65:Ve-97<26?Ve-97:re}function Me(Ve,We){return Ve+22+75*(Ve<26)-((We!=0)<<5)}function Ge(Ve,We,ze){var He=0;for(Ve=ze?Se(Ve/x):Ve>>1,Ve+=Se(Ve/We);Ve>ge*a>>1;He+=re)Ve=Se(Ve/ge);return Se(He+(ge+1)*Ve/(Ve+y))}function Be(Ve){var We=[],ze=Ve.length,He,tt=0,Je=z,ut=b,Ye,Ue,je,$e,Le,Ne,et,Ze,Fe;for(Ye=Ve.lastIndexOf(te),Ye<0&&(Ye=0),Ue=0;Ue<Ye;++Ue)Ve.charCodeAt(Ue)>=128&&we("not-basic"),We.push(Ve.charCodeAt(Ue));for(je=Ye>0?Ye+1:0;je<ze;){for($e=tt,Le=1,Ne=re;je>=ze&&we("invalid-input"),et=Ie(Ve.charCodeAt(je++)),(et>=re||et>Se((oe-tt)/Le))&&we("overflow"),tt+=et*Le,Ze=Ne<=ut?ee:Ne>=ut+a?a:Ne-ut,!(et<Ze);Ne+=re)Fe=re-Ze,Le>Se(oe/Fe)&&we("overflow"),Le*=Fe;He=We.length+1,ut=Ge(tt-$e,He,$e==0),Se(tt/He)>oe-Je&&we("overflow"),Je+=Se(tt/He),tt%=He,We.splice(tt++,0,Je)}return Ce(We)}function Qe(Ve){var We,ze,He,tt,Je,ut,Ye,Ue,je,$e,Le,Ne=[],et,Ze,Fe,Oe;for(Ve=Ae(Ve),et=Ve.length,We=z,ze=0,Je=b,ut=0;ut<et;++ut)Le=Ve[ut],Le<128&&Ne.push(ye(Le));for(He=tt=Ne.length,tt&&Ne.push(te);He<et;){for(Ye=oe,ut=0;ut<et;++ut)Le=Ve[ut],Le>=We&&Le<Ye&&(Ye=Le);for(Ze=He+1,Ye-We>Se((oe-ze)/Ze)&&we("overflow"),ze+=(Ye-We)*Ze,We=Ye,ut=0;ut<et;++ut)if(Le=Ve[ut],Le<We&&++ze>oe&&we("overflow"),Le==We){for(Ue=ze,je=re;$e=je<=Je?ee:je>=Je+a?a:je-Je,!(Ue<$e);je+=re)Oe=Ue-$e,Fe=re-$e,Ne.push(ye(Me($e+Oe%Fe,0))),Ue=Se(Oe/Fe);Ne.push(ye(Me(Ue,0))),Je=Ge(ze,Ze,He==tt),ze=0,++He}++ze,++We}return Ne.join("")}function qe(Ve){return Ee(Ve,function(We){return le.test(We)?Be(We.slice(4).toLowerCase()):We})}function Xe(Ve){return Ee(Ve,function(We){return fe.test(We)?"xn--"+Qe(We):We})}if(ae={version:"1.4.1",ucs2:{decode:Ae,encode:Ce},decode:Be,encode:Qe,toASCII:Xe,toUnicode:qe},typeof ve=="function"&&typeof ve.amd=="object"&&ve.amd)ve("punycode",function(){return ae});else if(ie&&ce)if(he.exports==ie)ce.exports=ae;else for(Pe in ae)ae.hasOwnProperty(Pe)&&(ie[Pe]=ae[Pe]);else ne.punycode=ae})(this)}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(E,he,de){"use strict";function se(ie,ce){return Object.prototype.hasOwnProperty.call(ie,ce)}he.exports=function(ie,ce,ue,ae){ce=ce||"&",ue=ue||"=";var oe={};if(typeof ie!="string"||ie.length===0)return oe;var re=/\+/g;ie=ie.split(ce);var ee=1e3;ae&&typeof ae.maxKeys=="number"&&(ee=ae.maxKeys);var a=ie.length;ee>0&&a>ee&&(a=ee);for(var y=0;y<a;++y){var x=ie[y].replace(re,"%20"),b=x.indexOf(ue),z,te,le,fe;b>=0?(z=x.substr(0,b),te=x.substr(b+1)):(z=x,te=""),le=decodeURIComponent(z),fe=decodeURIComponent(te),se(oe,le)?ne(oe[le])?oe[le].push(fe):oe[le]=[oe[le],fe]:oe[le]=fe}return oe};var ne=Array.isArray||function(ie){return Object.prototype.toString.call(ie)==="[object Array]"}},{}],384:[function(E,he,de){"use strict";var se=function(ue){switch(typeof ue){case"string":return ue;case"boolean":return ue?"true":"false";case"number":return isFinite(ue)?ue:"";default:return""}};he.exports=function(ue,ae,oe,re){return ae=ae||"&",oe=oe||"=",ue===null&&(ue=void 0),typeof ue=="object"?ie(ce(ue),function(ee){var a=encodeURIComponent(se(ee))+oe;return ne(ue[ee])?ie(ue[ee],function(y){return a+encodeURIComponent(se(y))}).join(ae):a+encodeURIComponent(se(ue[ee]))}).join(ae):re?encodeURIComponent(se(re))+oe+encodeURIComponent(se(ue)):""};var ne=Array.isArray||function(ue){return Object.prototype.toString.call(ue)==="[object Array]"};function ie(ue,ae){if(ue.map)return ue.map(ae);for(var oe=[],re=0;re<ue.length;re++)oe.push(ae(ue[re],re));return oe}var ce=Object.keys||function(ue){var ae=[];for(var oe in ue)Object.prototype.hasOwnProperty.call(ue,oe)&&ae.push(oe);return ae}},{}],385:[function(E,he,de){"use strict";de.decode=de.parse=E("./decode"),de.encode=de.stringify=E("./encode")},{"./decode":383,"./encode":384}],386:[function(E,he,de){"use strict";var se=E("process-nextick-args"),ne=Object.keys||function(x){var b=[];for(var z in x)b.push(z);return b};he.exports=ee;var ie=Object.create(E("core-util-is"));ie.inherits=E("inherits");var ce=E("./_stream_readable"),ue=E("./_stream_writable");ie.inherits(ee,ce);for(var ae=ne(ue.prototype),oe=0;oe<ae.length;oe++){var re=ae[oe];ee.prototype[re]||(ee.prototype[re]=ue.prototype[re])}function ee(x){if(!(this instanceof ee))return new ee(x);ce.call(this,x),ue.call(this,x),x&&x.readable===!1&&(this.readable=!1),x&&x.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,x&&x.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",a)}Object.defineProperty(ee.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function a(){this.allowHalfOpen||this._writableState.ended||se.nextTick(y,this)}function y(x){x.end()}Object.defineProperty(ee.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(x){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=x,this._writableState.destroyed=x)}}),ee.prototype._destroy=function(x,b){this.push(null),this.end(),se.nextTick(b,x)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(E,he,de){"use strict";he.exports=ie;var se=E("./_stream_transform"),ne=Object.create(E("core-util-is"));ne.inherits=E("inherits"),ne.inherits(ie,se);function ie(ce){if(!(this instanceof ie))return new ie(ce);se.call(this,ce)}ie.prototype._transform=function(ce,ue,ae){ae(null,ce)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(E,he,de){(function(se,ne){(function(){"use strict";var ie=E("process-nextick-args");he.exports=ye;var ce=E("isarray"),ue;ye.ReadableState=Se;var ae=E("events").EventEmitter,oe=function(Le,Ne){return Le.listeners(Ne).length},re=E("./internal/streams/stream"),ee=E("safe-buffer").Buffer,a=ne.Uint8Array||function(){};function y(Le){return ee.from(Le)}function x(Le){return ee.isBuffer(Le)||Le instanceof a}var b=Object.create(E("core-util-is"));b.inherits=E("inherits");var z=E("util"),te=void 0;z&&z.debuglog?te=z.debuglog("stream"):te=function(){};var le=E("./internal/streams/BufferList"),fe=E("./internal/streams/destroy"),pe;b.inherits(ye,re);var me=["error","close","destroy","pause","resume"];function ge(Le,Ne,et){if(typeof Le.prependListener=="function")return Le.prependListener(Ne,et);!Le._events||!Le._events[Ne]?Le.on(Ne,et):ce(Le._events[Ne])?Le._events[Ne].unshift(et):Le._events[Ne]=[et,Le._events[Ne]]}function Se(Le,Ne){ue=ue||E("./_stream_duplex"),Le=Le||{};var et=Ne instanceof ue;this.objectMode=!!Le.objectMode,et&&(this.objectMode=this.objectMode||!!Le.readableObjectMode);var Ze=Le.highWaterMark,Fe=Le.readableHighWaterMark,Oe=this.objectMode?16:16*1024;Ze||Ze===0?this.highWaterMark=Ze:et&&(Fe||Fe===0)?this.highWaterMark=Fe:this.highWaterMark=Oe,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new le,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&&(pe||(pe=E("string_decoder/").StringDecoder),this.decoder=new pe(Le.encoding),this.encoding=Le.encoding)}function ye(Le){if(ue=ue||E("./_stream_duplex"),!(this instanceof ye))return new ye(Le);this._readableState=new Se(Le,this),this.readable=!0,Le&&(typeof Le.read=="function"&&(this._read=Le.read),typeof Le.destroy=="function"&&(this._destroy=Le.destroy)),re.call(this)}Object.defineProperty(ye.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Le){this._readableState&&(this._readableState.destroyed=Le)}}),ye.prototype.destroy=fe.destroy,ye.prototype._undestroy=fe.undestroy,ye.prototype._destroy=function(Le,Ne){this.push(null),Ne(Le)},ye.prototype.push=function(Le,Ne){var et=this._readableState,Ze;return et.objectMode?Ze=!0:typeof Le=="string"&&(Ne=Ne||et.defaultEncoding,Ne!==et.encoding&&(Le=ee.from(Le,Ne),Ne=""),Ze=!0),Pe(this,Le,Ne,!1,Ze)},ye.prototype.unshift=function(Le){return Pe(this,Le,null,!0,!1)};function Pe(Le,Ne,et,Ze,Fe){var Oe=Le._readableState;if(Ne===null)Oe.reading=!1,Me(Le,Oe);else{var Te;Fe||(Te=De(Oe,Ne)),Te?Le.emit("error",Te):Oe.objectMode||Ne&&Ne.length>0?(typeof Ne!="string"&&!Oe.objectMode&&Object.getPrototypeOf(Ne)!==ee.prototype&&(Ne=y(Ne)),Ze?Oe.endEmitted?Le.emit("error",new Error("stream.unshift() after end event")):we(Le,Oe,Ne,!0):Oe.ended?Le.emit("error",new Error("stream.push() after EOF")):(Oe.reading=!1,Oe.decoder&&!et?(Ne=Oe.decoder.write(Ne),Oe.objectMode||Ne.length!==0?we(Le,Oe,Ne,!1):Qe(Le,Oe)):we(Le,Oe,Ne,!1))):Ze||(Oe.reading=!1)}return Ee(Oe)}function we(Le,Ne,et,Ze){Ne.flowing&&Ne.length===0&&!Ne.sync?(Le.emit("data",et),Le.read(0)):(Ne.length+=Ne.objectMode?1:et.length,Ze?Ne.buffer.unshift(et):Ne.buffer.push(et),Ne.needReadable&&Ge(Le)),Qe(Le,Ne)}function De(Le,Ne){var et;return!x(Ne)&&typeof Ne!="string"&&Ne!==void 0&&!Le.objectMode&&(et=new TypeError("Invalid non-string/buffer chunk")),et}function Ee(Le){return!Le.ended&&(Le.needReadable||Le.length<Le.highWaterMark||Le.length===0)}ye.prototype.isPaused=function(){return this._readableState.flowing===!1},ye.prototype.setEncoding=function(Le){return pe||(pe=E("string_decoder/").StringDecoder),this._readableState.decoder=new pe(Le),this._readableState.encoding=Le,this};var Ae=8388608;function Ce(Le){return Le>=Ae?Le=Ae:(Le--,Le|=Le>>>1,Le|=Le>>>2,Le|=Le>>>4,Le|=Le>>>8,Le|=Le>>>16,Le++),Le}function Ie(Le,Ne){return Le<=0||Ne.length===0&&Ne.ended?0:Ne.objectMode?1:Le!==Le?Ne.flowing&&Ne.length?Ne.buffer.head.data.length:Ne.length:(Le>Ne.highWaterMark&&(Ne.highWaterMark=Ce(Le)),Le<=Ne.length?Le:Ne.ended?Ne.length:(Ne.needReadable=!0,0))}ye.prototype.read=function(Le){te("read",Le),Le=parseInt(Le,10);var Ne=this._readableState,et=Le;if(Le!==0&&(Ne.emittedReadable=!1),Le===0&&Ne.needReadable&&(Ne.length>=Ne.highWaterMark||Ne.ended))return te("read: emitReadable",Ne.length,Ne.ended),Ne.length===0&&Ne.ended?Ue(this):Ge(this),null;if(Le=Ie(Le,Ne),Le===0&&Ne.ended)return Ne.length===0&&Ue(this),null;var Ze=Ne.needReadable;te("need readable",Ze),(Ne.length===0||Ne.length-Le<Ne.highWaterMark)&&(Ze=!0,te("length less than watermark",Ze)),Ne.ended||Ne.reading?(Ze=!1,te("reading or ended",Ze)):Ze&&(te("do read"),Ne.reading=!0,Ne.sync=!0,Ne.length===0&&(Ne.needReadable=!0),this._read(Ne.highWaterMark),Ne.sync=!1,Ne.reading||(Le=Ie(et,Ne)));var Fe;return Le>0?Fe=tt(Le,Ne):Fe=null,Fe===null?(Ne.needReadable=!0,Le=0):Ne.length-=Le,Ne.length===0&&(Ne.ended||(Ne.needReadable=!0),et!==Le&&Ne.ended&&Ue(this)),Fe!==null&&this.emit("data",Fe),Fe};function Me(Le,Ne){if(!Ne.ended){if(Ne.decoder){var et=Ne.decoder.end();et&&et.length&&(Ne.buffer.push(et),Ne.length+=Ne.objectMode?1:et.length)}Ne.ended=!0,Ge(Le)}}function Ge(Le){var Ne=Le._readableState;Ne.needReadable=!1,Ne.emittedReadable||(te("emitReadable",Ne.flowing),Ne.emittedReadable=!0,Ne.sync?ie.nextTick(Be,Le):Be(Le))}function Be(Le){te("emit readable"),Le.emit("readable"),He(Le)}function Qe(Le,Ne){Ne.readingMore||(Ne.readingMore=!0,ie.nextTick(qe,Le,Ne))}function qe(Le,Ne){for(var et=Ne.length;!Ne.reading&&!Ne.flowing&&!Ne.ended&&Ne.length<Ne.highWaterMark&&(te("maybeReadMore read 0"),Le.read(0),et!==Ne.length);)et=Ne.length;Ne.readingMore=!1}ye.prototype._read=function(Le){this.emit("error",new Error("_read() is not implemented"))},ye.prototype.pipe=function(Le,Ne){var et=this,Ze=this._readableState;switch(Ze.pipesCount){case 0:Ze.pipes=Le;break;case 1:Ze.pipes=[Ze.pipes,Le];break;default:Ze.pipes.push(Le);break}Ze.pipesCount+=1,te("pipe count=%d opts=%j",Ze.pipesCount,Ne);var Fe=(!Ne||Ne.end!==!1)&&Le!==se.stdout&&Le!==se.stderr,Oe=Fe?xe:lt;Ze.endEmitted?ie.nextTick(Oe):et.once("end",Oe),Le.on("unpipe",Te);function Te(pt,at){te("onunpipe"),pt===et&&at&&at.hasUnpiped===!1&&(at.hasUnpiped=!0,ot())}function xe(){te("onend"),Le.end()}var Re=Xe(et);Le.on("drain",Re);var Ke=!1;function ot(){te("cleanup"),Le.removeListener("close",ct),Le.removeListener("finish",ht),Le.removeListener("drain",Re),Le.removeListener("error",mt),Le.removeListener("unpipe",Te),et.removeListener("end",xe),et.removeListener("end",lt),et.removeListener("data",nt),Ke=!0,Ze.awaitDrain&&(!Le._writableState||Le._writableState.needDrain)&&Re()}var ke=!1;et.on("data",nt);function nt(pt){te("ondata"),ke=!1;var at=Le.write(pt);at===!1&&!ke&&((Ze.pipesCount===1&&Ze.pipes===Le||Ze.pipesCount>1&&$e(Ze.pipes,Le)!==-1)&&!Ke&&(te("false write response, pause",et._readableState.awaitDrain),et._readableState.awaitDrain++,ke=!0),et.pause())}function mt(pt){te("onerror",pt),lt(),Le.removeListener("error",mt),oe(Le,"error")===0&&Le.emit("error",pt)}ge(Le,"error",mt);function ct(){Le.removeListener("finish",ht),lt()}Le.once("close",ct);function ht(){te("onfinish"),Le.removeListener("close",ct),lt()}Le.once("finish",ht);function lt(){te("unpipe"),et.unpipe(Le)}return Le.emit("pipe",et),Ze.flowing||(te("pipe resume"),et.resume()),Le};function Xe(Le){return function(){var Ne=Le._readableState;te("pipeOnDrain",Ne.awaitDrain),Ne.awaitDrain&&Ne.awaitDrain--,Ne.awaitDrain===0&&oe(Le,"data")&&(Ne.flowing=!0,He(Le))}}ye.prototype.unpipe=function(Le){var Ne=this._readableState,et={hasUnpiped:!1};if(Ne.pipesCount===0)return this;if(Ne.pipesCount===1)return Le&&Le!==Ne.pipes?this:(Le||(Le=Ne.pipes),Ne.pipes=null,Ne.pipesCount=0,Ne.flowing=!1,Le&&Le.emit("unpipe",this,et),this);if(!Le){var Ze=Ne.pipes,Fe=Ne.pipesCount;Ne.pipes=null,Ne.pipesCount=0,Ne.flowing=!1;for(var Oe=0;Oe<Fe;Oe++)Ze[Oe].emit("unpipe",this,et);return this}var Te=$e(Ne.pipes,Le);return Te===-1?this:(Ne.pipes.splice(Te,1),Ne.pipesCount-=1,Ne.pipesCount===1&&(Ne.pipes=Ne.pipes[0]),Le.emit("unpipe",this,et),this)},ye.prototype.on=function(Le,Ne){var et=re.prototype.on.call(this,Le,Ne);if(Le==="data")this._readableState.flowing!==!1&&this.resume();else if(Le==="readable"){var Ze=this._readableState;!Ze.endEmitted&&!Ze.readableListening&&(Ze.readableListening=Ze.needReadable=!0,Ze.emittedReadable=!1,Ze.reading?Ze.length&&Ge(this):ie.nextTick(Ve,this))}return et},ye.prototype.addListener=ye.prototype.on;function Ve(Le){te("readable nexttick read 0"),Le.read(0)}ye.prototype.resume=function(){var Le=this._readableState;return Le.flowing||(te("resume"),Le.flowing=!0,We(this,Le)),this};function We(Le,Ne){Ne.resumeScheduled||(Ne.resumeScheduled=!0,ie.nextTick(ze,Le,Ne))}function ze(Le,Ne){Ne.reading||(te("resume read 0"),Le.read(0)),Ne.resumeScheduled=!1,Ne.awaitDrain=0,Le.emit("resume"),He(Le),Ne.flowing&&!Ne.reading&&Le.read(0)}ye.prototype.pause=function(){return te("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(te("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function He(Le){var Ne=Le._readableState;for(te("flow",Ne.flowing);Ne.flowing&&Le.read()!==null;);}ye.prototype.wrap=function(Le){var Ne=this,et=this._readableState,Ze=!1;Le.on("end",function(){if(te("wrapped end"),et.decoder&&!et.ended){var Te=et.decoder.end();Te&&Te.length&&Ne.push(Te)}Ne.push(null)}),Le.on("data",function(Te){if(te("wrapped data"),et.decoder&&(Te=et.decoder.write(Te)),!(et.objectMode&&Te==null)&&!(!et.objectMode&&(!Te||!Te.length))){var xe=Ne.push(Te);xe||(Ze=!0,Le.pause())}});for(var Fe in Le)this[Fe]===void 0&&typeof Le[Fe]=="function"&&(this[Fe]=function(Te){return function(){return Le[Te].apply(Le,arguments)}}(Fe));for(var Oe=0;Oe<me.length;Oe++)Le.on(me[Oe],this.emit.bind(this,me[Oe]));return this._read=function(Te){te("wrapped _read",Te),Ze&&(Ze=!1,Le.resume())},this},Object.defineProperty(ye.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),ye._fromList=tt;function tt(Le,Ne){if(Ne.length===0)return null;var et;return Ne.objectMode?et=Ne.buffer.shift():!Le||Le>=Ne.length?(Ne.decoder?et=Ne.buffer.join(""):Ne.buffer.length===1?et=Ne.buffer.head.data:et=Ne.buffer.concat(Ne.length),Ne.buffer.clear()):et=Je(Le,Ne.buffer,Ne.decoder),et}function Je(Le,Ne,et){var Ze;return Le<Ne.head.data.length?(Ze=Ne.head.data.slice(0,Le),Ne.head.data=Ne.head.data.slice(Le)):Le===Ne.head.data.length?Ze=Ne.shift():Ze=et?ut(Le,Ne):Ye(Le,Ne),Ze}function ut(Le,Ne){var et=Ne.head,Ze=1,Fe=et.data;for(Le-=Fe.length;et=et.next;){var Oe=et.data,Te=Le>Oe.length?Oe.length:Le;if(Te===Oe.length?Fe+=Oe:Fe+=Oe.slice(0,Le),Le-=Te,Le===0){Te===Oe.length?(++Ze,et.next?Ne.head=et.next:Ne.head=Ne.tail=null):(Ne.head=et,et.data=Oe.slice(Te));break}++Ze}return Ne.length-=Ze,Fe}function Ye(Le,Ne){var et=ee.allocUnsafe(Le),Ze=Ne.head,Fe=1;for(Ze.data.copy(et),Le-=Ze.data.length;Ze=Ze.next;){var Oe=Ze.data,Te=Le>Oe.length?Oe.length:Le;if(Oe.copy(et,et.length-Le,0,Te),Le-=Te,Le===0){Te===Oe.length?(++Fe,Ze.next?Ne.head=Ze.next:Ne.head=Ne.tail=null):(Ne.head=Ze,Ze.data=Oe.slice(Te));break}++Fe}return Ne.length-=Fe,et}function Ue(Le){var Ne=Le._readableState;if(Ne.length>0)throw new Error('"endReadable()" called on non-empty stream');Ne.endEmitted||(Ne.ended=!0,ie.nextTick(je,Ne,Le))}function je(Le,Ne){!Le.endEmitted&&Le.length===0&&(Le.endEmitted=!0,Ne.readable=!1,Ne.emit("end"))}function $e(Le,Ne){for(var et=0,Ze=Le.length;et<Ze;et++)if(Le[et]===Ne)return et;return-1}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":386,"./internal/streams/BufferList":391,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,events:344,inherits:364,isarray:370,"process-nextick-args":380,"safe-buffer":396,"string_decoder/":413,util:89}],389:[function(E,he,de){"use strict";he.exports=ce;var se=E("./_stream_duplex"),ne=Object.create(E("core-util-is"));ne.inherits=E("inherits"),ne.inherits(ce,se);function ie(oe,re){var ee=this._transformState;ee.transforming=!1;var a=ee.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));ee.writechunk=null,ee.writecb=null,re!=null&&this.push(re),a(oe);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function ce(oe){if(!(this instanceof ce))return new ce(oe);se.call(this,oe),this._transformState={afterTransform:ie.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,oe&&(typeof oe.transform=="function"&&(this._transform=oe.transform),typeof oe.flush=="function"&&(this._flush=oe.flush)),this.on("prefinish",ue)}function ue(){var oe=this;typeof this._flush=="function"?this._flush(function(re,ee){ae(oe,re,ee)}):ae(this,null,null)}ce.prototype.push=function(oe,re){return this._transformState.needTransform=!1,se.prototype.push.call(this,oe,re)},ce.prototype._transform=function(oe,re,ee){throw new Error("_transform() is not implemented")},ce.prototype._write=function(oe,re,ee){var a=this._transformState;if(a.writecb=ee,a.writechunk=oe,a.writeencoding=re,!a.transforming){var y=this._readableState;(a.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},ce.prototype._read=function(oe){var re=this._transformState;re.writechunk!==null&&re.writecb&&!re.transforming?(re.transforming=!0,this._transform(re.writechunk,re.writeencoding,re.afterTransform)):re.needTransform=!0},ce.prototype._destroy=function(oe,re){var ee=this;se.prototype._destroy.call(this,oe,function(a){re(a),ee.emit("close")})};function ae(oe,re,ee){if(re)return oe.emit("error",re);if(ee!=null&&oe.push(ee),oe._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(oe._transformState.transforming)throw new Error("Calling transform done when still transforming");return oe.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(E,he,de){(function(se,ne,ie){(function(){"use strict";var ce=E("process-nextick-args");he.exports=ge;function ue(ze,He,tt){this.chunk=ze,this.encoding=He,this.callback=tt,this.next=null}function ae(ze){var He=this;this.next=null,this.entry=null,this.finish=function(){We(He,ze)}}var oe=!se.browser&&["v0.10","v0.9."].indexOf(se.version.slice(0,5))>-1?ie:ce.nextTick,re;ge.WritableState=pe;var ee=Object.create(E("core-util-is"));ee.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=ne.Uint8Array||function(){};function z(ze){return x.from(ze)}function te(ze){return x.isBuffer(ze)||ze instanceof b}var le=E("./internal/streams/destroy");ee.inherits(ge,y);function fe(){}function pe(ze,He){re=re||E("./_stream_duplex"),ze=ze||{};var tt=He instanceof re;this.objectMode=!!ze.objectMode,tt&&(this.objectMode=this.objectMode||!!ze.writableObjectMode);var Je=ze.highWaterMark,ut=ze.writableHighWaterMark,Ye=this.objectMode?16:16*1024;Je||Je===0?this.highWaterMark=Je:tt&&(ut||ut===0)?this.highWaterMark=ut:this.highWaterMark=Ye,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 Ue=ze.decodeStrings===!1;this.decodeStrings=!Ue,this.defaultEncoding=ze.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(je){Ce(He,je)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new ae(this)}pe.prototype.getBuffer=function(){for(var He=this.bufferedRequest,tt=[];He;)tt.push(He),He=He.next;return tt},function(){try{Object.defineProperty(pe.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ze){}}();var me;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(me=Function.prototype[Symbol.hasInstance],Object.defineProperty(ge,Symbol.hasInstance,{value:function(ze){return me.call(this,ze)?!0:this!==ge?!1:ze&&ze._writableState instanceof pe}})):me=function(ze){return ze instanceof this};function ge(ze){if(re=re||E("./_stream_duplex"),!me.call(ge,this)&&!(this instanceof re))return new ge(ze);this._writableState=new pe(ze,this),this.writable=!0,ze&&(typeof ze.write=="function"&&(this._write=ze.write),typeof ze.writev=="function"&&(this._writev=ze.writev),typeof ze.destroy=="function"&&(this._destroy=ze.destroy),typeof ze.final=="function"&&(this._final=ze.final)),y.call(this)}ge.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Se(ze,He){var tt=new Error("write after end");ze.emit("error",tt),ce.nextTick(He,tt)}function ye(ze,He,tt,Je){var ut=!0,Ye=!1;return tt===null?Ye=new TypeError("May not write null values to stream"):typeof tt!="string"&&tt!==void 0&&!He.objectMode&&(Ye=new TypeError("Invalid non-string/buffer chunk")),Ye&&(ze.emit("error",Ye),ce.nextTick(Je,Ye),ut=!1),ut}ge.prototype.write=function(ze,He,tt){var Je=this._writableState,ut=!1,Ye=!Je.objectMode&&te(ze);return Ye&&!x.isBuffer(ze)&&(ze=z(ze)),typeof He=="function"&&(tt=He,He=null),Ye?He="buffer":He||(He=Je.defaultEncoding),typeof tt!="function"&&(tt=fe),Je.ended?Se(this,tt):(Ye||ye(this,Je,ze,tt))&&(Je.pendingcb++,ut=we(this,Je,Ye,ze,He,tt)),ut},ge.prototype.cork=function(){var ze=this._writableState;ze.corked++},ge.prototype.uncork=function(){var ze=this._writableState;ze.corked&&(ze.corked--,!ze.writing&&!ze.corked&&!ze.finished&&!ze.bufferProcessing&&ze.bufferedRequest&&Ge(this,ze))},ge.prototype.setDefaultEncoding=function(He){if(typeof He=="string"&&(He=He.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((He+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+He);return this._writableState.defaultEncoding=He,this};function Pe(ze,He,tt){return!ze.objectMode&&ze.decodeStrings!==!1&&typeof He=="string"&&(He=x.from(He,tt)),He}Object.defineProperty(ge.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function we(ze,He,tt,Je,ut,Ye){if(!tt){var Ue=Pe(He,Je,ut);Je!==Ue&&(tt=!0,ut="buffer",Je=Ue)}var je=He.objectMode?1:Je.length;He.length+=je;var $e=He.length<He.highWaterMark;if($e||(He.needDrain=!0),He.writing||He.corked){var Le=He.lastBufferedRequest;He.lastBufferedRequest={chunk:Je,encoding:ut,isBuf:tt,callback:Ye,next:null},Le?Le.next=He.lastBufferedRequest:He.bufferedRequest=He.lastBufferedRequest,He.bufferedRequestCount+=1}else De(ze,He,!1,je,Je,ut,Ye);return $e}function De(ze,He,tt,Je,ut,Ye,Ue){He.writelen=Je,He.writecb=Ue,He.writing=!0,He.sync=!0,tt?ze._writev(ut,He.onwrite):ze._write(ut,Ye,He.onwrite),He.sync=!1}function Ee(ze,He,tt,Je,ut){--He.pendingcb,tt?(ce.nextTick(ut,Je),ce.nextTick(Xe,ze,He),ze._writableState.errorEmitted=!0,ze.emit("error",Je)):(ut(Je),ze._writableState.errorEmitted=!0,ze.emit("error",Je),Xe(ze,He))}function Ae(ze){ze.writing=!1,ze.writecb=null,ze.length-=ze.writelen,ze.writelen=0}function Ce(ze,He){var tt=ze._writableState,Je=tt.sync,ut=tt.writecb;if(Ae(tt),He)Ee(ze,tt,Je,He,ut);else{var Ye=Be(tt);!Ye&&!tt.corked&&!tt.bufferProcessing&&tt.bufferedRequest&&Ge(ze,tt),Je?oe(Ie,ze,tt,Ye,ut):Ie(ze,tt,Ye,ut)}}function Ie(ze,He,tt,Je){tt||Me(ze,He),He.pendingcb--,Je(),Xe(ze,He)}function Me(ze,He){He.length===0&&He.needDrain&&(He.needDrain=!1,ze.emit("drain"))}function Ge(ze,He){He.bufferProcessing=!0;var tt=He.bufferedRequest;if(ze._writev&&tt&&tt.next){var Je=He.bufferedRequestCount,ut=new Array(Je),Ye=He.corkedRequestsFree;Ye.entry=tt;for(var Ue=0,je=!0;tt;)ut[Ue]=tt,tt.isBuf||(je=!1),tt=tt.next,Ue+=1;ut.allBuffers=je,De(ze,He,!0,He.length,ut,"",Ye.finish),He.pendingcb++,He.lastBufferedRequest=null,Ye.next?(He.corkedRequestsFree=Ye.next,Ye.next=null):He.corkedRequestsFree=new ae(He),He.bufferedRequestCount=0}else{for(;tt;){var $e=tt.chunk,Le=tt.encoding,Ne=tt.callback,et=He.objectMode?1:$e.length;if(De(ze,He,!1,et,$e,Le,Ne),tt=tt.next,He.bufferedRequestCount--,He.writing)break}tt===null&&(He.lastBufferedRequest=null)}He.bufferedRequest=tt,He.bufferProcessing=!1}ge.prototype._write=function(ze,He,tt){tt(new Error("_write() is not implemented"))},ge.prototype._writev=null,ge.prototype.end=function(ze,He,tt){var Je=this._writableState;typeof ze=="function"?(tt=ze,ze=null,He=null):typeof He=="function"&&(tt=He,He=null),ze!=null&&this.write(ze,He),Je.corked&&(Je.corked=1,this.uncork()),!Je.ending&&!Je.finished&&Ve(this,Je,tt)};function Be(ze){return ze.ending&&ze.length===0&&ze.bufferedRequest===null&&!ze.finished&&!ze.writing}function Qe(ze,He){ze._final(function(tt){He.pendingcb--,tt&&ze.emit("error",tt),He.prefinished=!0,ze.emit("prefinish"),Xe(ze,He)})}function qe(ze,He){!He.prefinished&&!He.finalCalled&&(typeof ze._final=="function"?(He.pendingcb++,He.finalCalled=!0,ce.nextTick(Qe,ze,He)):(He.prefinished=!0,ze.emit("prefinish")))}function Xe(ze,He){var tt=Be(He);return tt&&(qe(ze,He),He.pendingcb===0&&(He.finished=!0,ze.emit("finish"))),tt}function Ve(ze,He,tt){He.ending=!0,Xe(ze,He),tt&&(He.finished?ce.nextTick(tt):ze.once("finish",tt)),He.ended=!0,ze.writable=!1}function We(ze,He,tt){var Je=ze.entry;for(ze.entry=null;Je;){var ut=Je.callback;He.pendingcb--,ut(tt),Je=Je.next}He.corkedRequestsFree?He.corkedRequestsFree.next=ze:He.corkedRequestsFree=ze}Object.defineProperty(ge.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ze){this._writableState&&(this._writableState.destroyed=ze)}}),ge.prototype.destroy=le.destroy,ge.prototype._undestroy=le.undestroy,ge.prototype._destroy=function(ze,He){this.end(),He(ze)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("timers").setImmediate)},{"./_stream_duplex":386,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,inherits:364,"process-nextick-args":380,"safe-buffer":396,timers:414,"util-deprecate":416}],391:[function(E,he,de){"use strict";function se(ue,ae){if(!(ue instanceof ae))throw new TypeError("Cannot call a class as a function")}var ne=E("safe-buffer").Buffer,ie=E("util");function ce(ue,ae,oe){ue.copy(ae,oe)}he.exports=function(){function ue(){se(this,ue),this.head=null,this.tail=null,this.length=0}return ue.prototype.push=function(oe){var re={data:oe,next:null};this.length>0?this.tail.next=re:this.head=re,this.tail=re,++this.length},ue.prototype.unshift=function(oe){var re={data:oe,next:this.head};this.length===0&&(this.tail=re),this.head=re,++this.length},ue.prototype.shift=function(){if(this.length!==0){var oe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,oe}},ue.prototype.clear=function(){this.head=this.tail=null,this.length=0},ue.prototype.join=function(oe){if(this.length===0)return"";for(var re=this.head,ee=""+re.data;re=re.next;)ee+=oe+re.data;return ee},ue.prototype.concat=function(oe){if(this.length===0)return ne.alloc(0);if(this.length===1)return this.head.data;for(var re=ne.allocUnsafe(oe>>>0),ee=this.head,a=0;ee;)ce(ee.data,re,a),a+=ee.data.length,ee=ee.next;return re},ue}(),ie&&ie.inspect&&ie.inspect.custom&&(he.exports.prototype[ie.inspect.custom]=function(){var ue=ie.inspect({length:this.length});return this.constructor.name+" "+ue})},{"safe-buffer":396,util:89}],392:[function(E,he,de){"use strict";var se=E("process-nextick-args");function ne(ue,ae){var oe=this,re=this._readableState&&this._readableState.destroyed,ee=this._writableState&&this._writableState.destroyed;return re||ee?(ae?ae(ue):ue&&(!this._writableState||!this._writableState.errorEmitted)&&se.nextTick(ce,this,ue),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ue||null,function(a){!ae&&a?(se.nextTick(ce,oe,a),oe._writableState&&(oe._writableState.errorEmitted=!0)):ae&&ae(a)}),this)}function ie(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ce(ue,ae){ue.emit("error",ae)}he.exports={destroy:ne,undestroy:ie}},{"process-nextick-args":380}],393:[function(E,he,de){he.exports=E("events").EventEmitter},{events:344}],394:[function(E,he,de){de=he.exports=E("./lib/_stream_readable.js"),de.Stream=de,de.Readable=de,de.Writable=E("./lib/_stream_writable.js"),de.Duplex=E("./lib/_stream_duplex.js"),de.Transform=E("./lib/_stream_transform.js"),de.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,he,de){var se=function(ne){"use strict";var ie=Object.prototype,ce=ie.hasOwnProperty,ue,ae=typeof Symbol=="function"?Symbol:{},oe=ae.iterator||"@@iterator",re=ae.asyncIterator||"@@asyncIterator",ee=ae.toStringTag||"@@toStringTag";function a(qe,Xe,Ve){return Object.defineProperty(qe,Xe,{value:Ve,enumerable:!0,configurable:!0,writable:!0}),qe[Xe]}try{a({},"")}catch(qe){a=function(Xe,Ve,We){return Xe[Ve]=We}}function y(qe,Xe,Ve,We){var ze=Xe&&Xe.prototype instanceof pe?Xe:pe,He=Object.create(ze.prototype),tt=new Ge(We||[]);return He._invoke=Ae(qe,Ve,tt),He}ne.wrap=y;function x(qe,Xe,Ve){try{return{type:"normal",arg:qe.call(Xe,Ve)}}catch(We){return{type:"throw",arg:We}}}var b="suspendedStart",z="suspendedYield",te="executing",le="completed",fe={};function pe(){}function me(){}function ge(){}var Se={};a(Se,oe,function(){return this});var ye=Object.getPrototypeOf,Pe=ye&&ye(ye(Be([])));Pe&&Pe!==ie&&ce.call(Pe,oe)&&(Se=Pe);var we=ge.prototype=pe.prototype=Object.create(Se);me.prototype=ge,a(we,"constructor",ge),a(ge,"constructor",me),me.displayName=a(ge,ee,"GeneratorFunction");function De(qe){["next","throw","return"].forEach(function(Xe){a(qe,Xe,function(Ve){return this._invoke(Xe,Ve)})})}ne.isGeneratorFunction=function(qe){var Xe=typeof qe=="function"&&qe.constructor;return Xe?Xe===me||(Xe.displayName||Xe.name)==="GeneratorFunction":!1},ne.mark=function(qe){return Object.setPrototypeOf?Object.setPrototypeOf(qe,ge):(qe.__proto__=ge,a(qe,ee,"GeneratorFunction")),qe.prototype=Object.create(we),qe},ne.awrap=function(qe){return{__await:qe}};function Ee(qe,Xe){function Ve(He,tt,Je,ut){var Ye=x(qe[He],qe,tt);if(Ye.type==="throw")ut(Ye.arg);else{var Ue=Ye.arg,je=Ue.value;return je&&typeof je=="object"&&ce.call(je,"__await")?Xe.resolve(je.__await).then(function($e){Ve("next",$e,Je,ut)},function($e){Ve("throw",$e,Je,ut)}):Xe.resolve(je).then(function($e){Ue.value=$e,Je(Ue)},function($e){return Ve("throw",$e,Je,ut)})}}var We;function ze(He,tt){function Je(){return new Xe(function(ut,Ye){Ve(He,tt,ut,Ye)})}return We=We?We.then(Je,Je):Je()}this._invoke=ze}De(Ee.prototype),a(Ee.prototype,re,function(){return this}),ne.AsyncIterator=Ee,ne.async=function(qe,Xe,Ve,We,ze){ze===void 0&&(ze=Promise);var He=new Ee(y(qe,Xe,Ve,We),ze);return ne.isGeneratorFunction(Xe)?He:He.next().then(function(tt){return tt.done?tt.value:He.next()})};function Ae(qe,Xe,Ve){var We=b;return function(He,tt){if(We===te)throw new Error("Generator is already running");if(We===le){if(He==="throw")throw tt;return Qe()}for(Ve.method=He,Ve.arg=tt;;){var Je=Ve.delegate;if(Je){var ut=Ce(Je,Ve);if(ut){if(ut===fe)continue;return ut}}if(Ve.method==="next")Ve.sent=Ve._sent=Ve.arg;else if(Ve.method==="throw"){if(We===b)throw We=le,Ve.arg;Ve.dispatchException(Ve.arg)}else Ve.method==="return"&&Ve.abrupt("return",Ve.arg);We=te;var Ye=x(qe,Xe,Ve);if(Ye.type==="normal"){if(We=Ve.done?le:z,Ye.arg===fe)continue;return{value:Ye.arg,done:Ve.done}}else Ye.type==="throw"&&(We=le,Ve.method="throw",Ve.arg=Ye.arg)}}}function Ce(qe,Xe){var Ve=qe.iterator[Xe.method];if(Ve===ue){if(Xe.delegate=null,Xe.method==="throw"){if(qe.iterator.return&&(Xe.method="return",Xe.arg=ue,Ce(qe,Xe),Xe.method==="throw"))return fe;Xe.method="throw",Xe.arg=new TypeError("The iterator does not provide a 'throw' method")}return fe}var We=x(Ve,qe.iterator,Xe.arg);if(We.type==="throw")return Xe.method="throw",Xe.arg=We.arg,Xe.delegate=null,fe;var ze=We.arg;if(!ze)return Xe.method="throw",Xe.arg=new TypeError("iterator result is not an object"),Xe.delegate=null,fe;if(ze.done)Xe[qe.resultName]=ze.value,Xe.next=qe.nextLoc,Xe.method!=="return"&&(Xe.method="next",Xe.arg=ue);else return ze;return Xe.delegate=null,fe}De(we),a(we,ee,"Generator"),a(we,oe,function(){return this}),a(we,"toString",function(){return"[object Generator]"});function Ie(qe){var Xe={tryLoc:qe[0]};1 in qe&&(Xe.catchLoc=qe[1]),2 in qe&&(Xe.finallyLoc=qe[2],Xe.afterLoc=qe[3]),this.tryEntries.push(Xe)}function Me(qe){var Xe=qe.completion||{};Xe.type="normal",delete Xe.arg,qe.completion=Xe}function Ge(qe){this.tryEntries=[{tryLoc:"root"}],qe.forEach(Ie,this),this.reset(!0)}ne.keys=function(qe){var Xe=[];for(var Ve in qe)Xe.push(Ve);return Xe.reverse(),function We(){for(;Xe.length;){var ze=Xe.pop();if(ze in qe)return We.value=ze,We.done=!1,We}return We.done=!0,We}};function Be(qe){if(qe){var Xe=qe[oe];if(Xe)return Xe.call(qe);if(typeof qe.next=="function")return qe;if(!isNaN(qe.length)){var Ve=-1,We=function ze(){for(;++Ve<qe.length;)if(ce.call(qe,Ve))return ze.value=qe[Ve],ze.done=!1,ze;return ze.value=ue,ze.done=!0,ze};return We.next=We}}return{next:Qe}}ne.values=Be;function Qe(){return{value:ue,done:!0}}return Ge.prototype={constructor:Ge,reset:function(qe){if(this.prev=0,this.next=0,this.sent=this._sent=ue,this.done=!1,this.delegate=null,this.method="next",this.arg=ue,this.tryEntries.forEach(Me),!qe)for(var Xe in this)Xe.charAt(0)==="t"&&ce.call(this,Xe)&&!isNaN(+Xe.slice(1))&&(this[Xe]=ue)},stop:function(){this.done=!0;var qe=this.tryEntries[0],Xe=qe.completion;if(Xe.type==="throw")throw Xe.arg;return this.rval},dispatchException:function(qe){if(this.done)throw qe;var Xe=this;function Ve(ut,Ye){return He.type="throw",He.arg=qe,Xe.next=ut,Ye&&(Xe.method="next",Xe.arg=ue),!!Ye}for(var We=this.tryEntries.length-1;We>=0;--We){var ze=this.tryEntries[We],He=ze.completion;if(ze.tryLoc==="root")return Ve("end");if(ze.tryLoc<=this.prev){var tt=ce.call(ze,"catchLoc"),Je=ce.call(ze,"finallyLoc");if(tt&&Je){if(this.prev<ze.catchLoc)return Ve(ze.catchLoc,!0);if(this.prev<ze.finallyLoc)return Ve(ze.finallyLoc)}else if(tt){if(this.prev<ze.catchLoc)return Ve(ze.catchLoc,!0)}else if(Je){if(this.prev<ze.finallyLoc)return Ve(ze.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(qe,Xe){for(var Ve=this.tryEntries.length-1;Ve>=0;--Ve){var We=this.tryEntries[Ve];if(We.tryLoc<=this.prev&&ce.call(We,"finallyLoc")&&this.prev<We.finallyLoc){var ze=We;break}}ze&&(qe==="break"||qe==="continue")&&ze.tryLoc<=Xe&&Xe<=ze.finallyLoc&&(ze=null);var He=ze?ze.completion:{};return He.type=qe,He.arg=Xe,ze?(this.method="next",this.next=ze.finallyLoc,fe):this.complete(He)},complete:function(qe,Xe){if(qe.type==="throw")throw qe.arg;return qe.type==="break"||qe.type==="continue"?this.next=qe.arg:qe.type==="return"?(this.rval=this.arg=qe.arg,this.method="return",this.next="end"):qe.type==="normal"&&Xe&&(this.next=Xe),fe},finish:function(qe){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var Ve=this.tryEntries[Xe];if(Ve.finallyLoc===qe)return this.complete(Ve.completion,Ve.afterLoc),Me(Ve),fe}},catch:function(qe){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var Ve=this.tryEntries[Xe];if(Ve.tryLoc===qe){var We=Ve.completion;if(We.type==="throw"){var ze=We.arg;Me(Ve)}return ze}}throw new Error("illegal catch attempt")},delegateYield:function(qe,Xe,Ve){return this.delegate={iterator:Be(qe),resultName:Xe,nextLoc:Ve},this.method==="next"&&(this.arg=ue),fe}},ne}(typeof he=="object"?he.exports:{});try{regeneratorRuntime=se}catch(ne){typeof globalThis=="object"?globalThis.regeneratorRuntime=se:Function("r","regeneratorRuntime = r")(se)}},{}],396:[function(E,he,de){var se=E("buffer"),ne=se.Buffer;function ie(ue,ae){for(var oe in ue)ae[oe]=ue[oe]}ne.from&&ne.alloc&&ne.allocUnsafe&&ne.allocUnsafeSlow?he.exports=se:(ie(se,de),de.Buffer=ce);function ce(ue,ae,oe){return ne(ue,ae,oe)}ie(ne,ce),ce.from=function(ue,ae,oe){if(typeof ue=="number")throw new TypeError("Argument must not be a number");return ne(ue,ae,oe)},ce.alloc=function(ue,ae,oe){if(typeof ue!="number")throw new TypeError("Argument must be a number");var re=ne(ue);return ae!==void 0?typeof oe=="string"?re.fill(ae,oe):re.fill(ae):re.fill(0),re},ce.allocUnsafe=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return ne(ue)},ce.allocUnsafeSlow=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return se.SlowBuffer(ue)}},{buffer:90}],397:[function(E,he,de){(function(se){(function(){(function(ne){ne.parser=function(Ue,je){return new ce(Ue,je)},ne.SAXParser=ce,ne.SAXStream=y,ne.createStream=a,ne.MAX_BUFFER_LENGTH=64*1024;var ie=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];ne.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function ce(Ue,je){if(!(this instanceof ce))return new ce(Ue,je);var $e=this;ae($e),$e.q=$e.c="",$e.bufferCheckPosition=ne.MAX_BUFFER_LENGTH,$e.opt=je||{},$e.opt.lowercase=$e.opt.lowercase||$e.opt.lowercasetags,$e.looseCase=$e.opt.lowercase?"toLowerCase":"toUpperCase",$e.tags=[],$e.closed=$e.closedRoot=$e.sawRoot=!1,$e.tag=$e.error=null,$e.strict=!!Ue,$e.noscript=!!(Ue||$e.opt.noscript),$e.state=Ee.BEGIN,$e.strictEntities=$e.opt.strictEntities,$e.ENTITIES=$e.strictEntities?Object.create(ne.XML_ENTITIES):Object.create(ne.ENTITIES),$e.attribList=[],$e.opt.xmlns&&($e.ns=Object.create(le)),$e.trackPosition=$e.opt.position!==!1,$e.trackPosition&&($e.position=$e.line=$e.column=0),Ce($e,"onready")}Object.create||(Object.create=function(Ue){function je(){}je.prototype=Ue;var $e=new je;return $e}),Object.keys||(Object.keys=function(Ue){var je=[];for(var $e in Ue)Ue.hasOwnProperty($e)&&je.push($e);return je});function ue(Ue){for(var je=Math.max(ne.MAX_BUFFER_LENGTH,10),$e=0,Le=0,Ne=ie.length;Le<Ne;Le++){var et=Ue[ie[Le]].length;if(et>je)switch(ie[Le]){case"textNode":Me(Ue);break;case"cdata":Ie(Ue,"oncdata",Ue.cdata),Ue.cdata="";break;case"script":Ie(Ue,"onscript",Ue.script),Ue.script="";break;default:Be(Ue,"Max buffer length exceeded: "+ie[Le])}$e=Math.max($e,et)}var Ze=ne.MAX_BUFFER_LENGTH-$e;Ue.bufferCheckPosition=Ze+Ue.position}function ae(Ue){for(var je=0,$e=ie.length;je<$e;je++)Ue[ie[je]]=""}function oe(Ue){Me(Ue),Ue.cdata!==""&&(Ie(Ue,"oncdata",Ue.cdata),Ue.cdata=""),Ue.script!==""&&(Ie(Ue,"onscript",Ue.script),Ue.script="")}ce.prototype={end:function(){Qe(this)},write:Ye,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){oe(this)}};var re;try{re=E("stream").Stream}catch(Ue){re=function(){}}var ee=ne.EVENTS.filter(function(Ue){return Ue!=="error"&&Ue!=="end"});function a(Ue,je){return new y(Ue,je)}function y(Ue,je){if(!(this instanceof y))return new y(Ue,je);re.apply(this),this._parser=new ce(Ue,je),this.writable=!0,this.readable=!0;var $e=this;this._parser.onend=function(){$e.emit("end")},this._parser.onerror=function(Le){$e.emit("error",Le),$e._parser.error=null},this._decoder=null,ee.forEach(function(Le){Object.defineProperty($e,"on"+Le,{get:function(){return $e._parser["on"+Le]},set:function(Ne){if(!Ne)return $e.removeAllListeners(Le),$e._parser["on"+Le]=Ne,Ne;$e.on(Le,Ne)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(re.prototype,{constructor:{value:y}}),y.prototype.write=function(Ue){if(typeof se=="function"&&typeof se.isBuffer=="function"&&se.isBuffer(Ue)){if(!this._decoder){var je=E("string_decoder").StringDecoder;this._decoder=new je("utf8")}Ue=this._decoder.write(Ue)}return this._parser.write(Ue.toString()),this.emit("data",Ue),!0},y.prototype.end=function(Ue){return Ue&&Ue.length&&this.write(Ue),this._parser.end(),!0},y.prototype.on=function(Ue,je){var $e=this;return!$e._parser["on"+Ue]&&ee.indexOf(Ue)!==-1&&($e._parser["on"+Ue]=function(){var Le=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Le.splice(0,0,Ue),$e.emit.apply($e,Le)}),re.prototype.on.call($e,Ue,je)};var x="[CDATA[",b="DOCTYPE",z="http://www.w3.org/XML/1998/namespace",te="http://www.w3.org/2000/xmlns/",le={xml:z,xmlns:te},fe=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,me=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,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\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function Se(Ue){return Ue===" "||Ue===`
|
|
|
`||Ue==="\r"||Ue===" "}function ye(Ue){return Ue==='"'||Ue==="'"}function Pe(Ue){return Ue===">"||Se(Ue)}function we(Ue,je){return Ue.test(je)}function De(Ue,je){return!we(Ue,je)}var Ee=0;ne.STATE={BEGIN:Ee++,BEGIN_WHITESPACE:Ee++,TEXT:Ee++,TEXT_ENTITY:Ee++,OPEN_WAKA:Ee++,SGML_DECL:Ee++,SGML_DECL_QUOTED:Ee++,DOCTYPE:Ee++,DOCTYPE_QUOTED:Ee++,DOCTYPE_DTD:Ee++,DOCTYPE_DTD_QUOTED:Ee++,COMMENT_STARTING:Ee++,COMMENT:Ee++,COMMENT_ENDING:Ee++,COMMENT_ENDED:Ee++,CDATA:Ee++,CDATA_ENDING:Ee++,CDATA_ENDING_2:Ee++,PROC_INST:Ee++,PROC_INST_BODY:Ee++,PROC_INST_ENDING:Ee++,OPEN_TAG:Ee++,OPEN_TAG_SLASH:Ee++,ATTRIB:Ee++,ATTRIB_NAME:Ee++,ATTRIB_NAME_SAW_WHITE:Ee++,ATTRIB_VALUE:Ee++,ATTRIB_VALUE_QUOTED:Ee++,ATTRIB_VALUE_CLOSED:Ee++,ATTRIB_VALUE_UNQUOTED:Ee++,ATTRIB_VALUE_ENTITY_Q:Ee++,ATTRIB_VALUE_ENTITY_U:Ee++,CLOSE_TAG:Ee++,CLOSE_TAG_SAW_WHITE:Ee++,SCRIPT:Ee++,SCRIPT_ENDING:Ee++},ne.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},ne.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(ne.ENTITIES).forEach(function(Ue){var je=ne.ENTITIES[Ue],$e=typeof je=="number"?String.fromCharCode(je):je;ne.ENTITIES[Ue]=$e});for(var Ae in ne.STATE)ne.STATE[ne.STATE[Ae]]=Ae;Ee=ne.STATE;function Ce(Ue,je,$e){Ue[je]&&Ue[je]($e)}function Ie(Ue,je,$e){Ue.textNode&&Me(Ue),Ce(Ue,je,$e)}function Me(Ue){Ue.textNode=Ge(Ue.opt,Ue.textNode),Ue.textNode&&Ce(Ue,"ontext",Ue.textNode),Ue.textNode=""}function Ge(Ue,je){return Ue.trim&&(je=je.trim()),Ue.normalize&&(je=je.replace(/\s+/g," ")),je}function Be(Ue,je){return Me(Ue),Ue.trackPosition&&(je+=`
|
|
|
Line: `+Ue.line+`
|
|
|
Column: `+Ue.column+`
|
|
|
Char: `+Ue.c),je=new Error(je),Ue.error=je,Ce(Ue,"onerror",je),Ue}function Qe(Ue){return Ue.sawRoot&&!Ue.closedRoot&&qe(Ue,"Unclosed root tag"),Ue.state!==Ee.BEGIN&&Ue.state!==Ee.BEGIN_WHITESPACE&&Ue.state!==Ee.TEXT&&Be(Ue,"Unexpected end"),Me(Ue),Ue.c="",Ue.closed=!0,Ce(Ue,"onend"),ce.call(Ue,Ue.strict,Ue.opt),Ue}function qe(Ue,je){if(typeof Ue!="object"||!(Ue instanceof ce))throw new Error("bad call to strictFail");Ue.strict&&Be(Ue,je)}function Xe(Ue){Ue.strict||(Ue.tagName=Ue.tagName[Ue.looseCase]());var je=Ue.tags[Ue.tags.length-1]||Ue,$e=Ue.tag={name:Ue.tagName,attributes:{}};Ue.opt.xmlns&&($e.ns=je.ns),Ue.attribList.length=0,Ie(Ue,"onopentagstart",$e)}function Ve(Ue,je){var $e=Ue.indexOf(":"),Le=$e<0?["",Ue]:Ue.split(":"),Ne=Le[0],et=Le[1];return je&&Ue==="xmlns"&&(Ne="xmlns",et=""),{prefix:Ne,local:et}}function We(Ue){if(Ue.strict||(Ue.attribName=Ue.attribName[Ue.looseCase]()),Ue.attribList.indexOf(Ue.attribName)!==-1||Ue.tag.attributes.hasOwnProperty(Ue.attribName)){Ue.attribName=Ue.attribValue="";return}if(Ue.opt.xmlns){var je=Ve(Ue.attribName,!0),$e=je.prefix,Le=je.local;if($e==="xmlns")if(Le==="xml"&&Ue.attribValue!==z)qe(Ue,"xml: prefix must be bound to "+z+`
|
|
|
Actual: `+Ue.attribValue);else if(Le==="xmlns"&&Ue.attribValue!==te)qe(Ue,"xmlns: prefix must be bound to "+te+`
|
|
|
Actual: `+Ue.attribValue);else{var Ne=Ue.tag,et=Ue.tags[Ue.tags.length-1]||Ue;Ne.ns===et.ns&&(Ne.ns=Object.create(et.ns)),Ne.ns[Le]=Ue.attribValue}Ue.attribList.push([Ue.attribName,Ue.attribValue])}else Ue.tag.attributes[Ue.attribName]=Ue.attribValue,Ie(Ue,"onattribute",{name:Ue.attribName,value:Ue.attribValue});Ue.attribName=Ue.attribValue=""}function ze(Ue,je){if(Ue.opt.xmlns){var $e=Ue.tag,Le=Ve(Ue.tagName);$e.prefix=Le.prefix,$e.local=Le.local,$e.uri=$e.ns[Le.prefix]||"",$e.prefix&&!$e.uri&&(qe(Ue,"Unbound namespace prefix: "+JSON.stringify(Ue.tagName)),$e.uri=Le.prefix);var Ne=Ue.tags[Ue.tags.length-1]||Ue;$e.ns&&Ne.ns!==$e.ns&&Object.keys($e.ns).forEach(function(nt){Ie(Ue,"onopennamespace",{prefix:nt,uri:$e.ns[nt]})});for(var et=0,Ze=Ue.attribList.length;et<Ze;et++){var Fe=Ue.attribList[et],Oe=Fe[0],Te=Fe[1],xe=Ve(Oe,!0),Re=xe.prefix,Ke=xe.local,ot=Re===""?"":$e.ns[Re]||"",ke={name:Oe,value:Te,prefix:Re,local:Ke,uri:ot};Re&&Re!=="xmlns"&&!ot&&(qe(Ue,"Unbound namespace prefix: "+JSON.stringify(Re)),ke.uri=Re),Ue.tag.attributes[Oe]=ke,Ie(Ue,"onattribute",ke)}Ue.attribList.length=0}Ue.tag.isSelfClosing=!!je,Ue.sawRoot=!0,Ue.tags.push(Ue.tag),Ie(Ue,"onopentag",Ue.tag),je||(!Ue.noscript&&Ue.tagName.toLowerCase()==="script"?Ue.state=Ee.SCRIPT:Ue.state=Ee.TEXT,Ue.tag=null,Ue.tagName=""),Ue.attribName=Ue.attribValue="",Ue.attribList.length=0}function He(Ue){if(!Ue.tagName){qe(Ue,"Weird empty close tag."),Ue.textNode+="</>",Ue.state=Ee.TEXT;return}if(Ue.script){if(Ue.tagName!=="script"){Ue.script+="</"+Ue.tagName+">",Ue.tagName="",Ue.state=Ee.SCRIPT;return}Ie(Ue,"onscript",Ue.script),Ue.script=""}var je=Ue.tags.length,$e=Ue.tagName;Ue.strict||($e=$e[Ue.looseCase]());for(var Le=$e;je--;){var Ne=Ue.tags[je];if(Ne.name!==Le)qe(Ue,"Unexpected close tag");else break}if(je<0){qe(Ue,"Unmatched closing tag: "+Ue.tagName),Ue.textNode+="</"+Ue.tagName+">",Ue.state=Ee.TEXT;return}Ue.tagName=$e;for(var et=Ue.tags.length;et-- >je;){var Ze=Ue.tag=Ue.tags.pop();Ue.tagName=Ue.tag.name,Ie(Ue,"onclosetag",Ue.tagName);var Fe={};for(var Oe in Ze.ns)Fe[Oe]=Ze.ns[Oe];var Te=Ue.tags[Ue.tags.length-1]||Ue;Ue.opt.xmlns&&Ze.ns!==Te.ns&&Object.keys(Ze.ns).forEach(function(xe){var Re=Ze.ns[xe];Ie(Ue,"onclosenamespace",{prefix:xe,uri:Re})})}je===0&&(Ue.closedRoot=!0),Ue.tagName=Ue.attribValue=Ue.attribName="",Ue.attribList.length=0,Ue.state=Ee.TEXT}function tt(Ue){var je=Ue.entity,$e=je.toLowerCase(),Le,Ne="";return Ue.ENTITIES[je]?Ue.ENTITIES[je]:Ue.ENTITIES[$e]?Ue.ENTITIES[$e]:(je=$e,je.charAt(0)==="#"&&(je.charAt(1)==="x"?(je=je.slice(2),Le=parseInt(je,16),Ne=Le.toString(16)):(je=je.slice(1),Le=parseInt(je,10),Ne=Le.toString(10))),je=je.replace(/^0+/,""),isNaN(Le)||Ne.toLowerCase()!==je?(qe(Ue,"Invalid character entity"),"&"+Ue.entity+";"):String.fromCodePoint(Le))}function Je(Ue,je){je==="<"?(Ue.state=Ee.OPEN_WAKA,Ue.startTagPosition=Ue.position):Se(je)||(qe(Ue,"Non-whitespace before first tag."),Ue.textNode=je,Ue.state=Ee.TEXT)}function ut(Ue,je){var $e="";return je<Ue.length&&($e=Ue.charAt(je)),$e}function Ye(Ue){var je=this;if(this.error)throw this.error;if(je.closed)return Be(je,"Cannot write after close. Assign an onready handler.");if(Ue===null)return Qe(je);typeof Ue=="object"&&(Ue=Ue.toString());for(var $e=0,Le="";Le=ut(Ue,$e++),je.c=Le,!!Le;)switch(je.trackPosition&&(je.position++,Le===`
|
|
|
`?(je.line++,je.column=0):je.column++),je.state){case Ee.BEGIN:if(je.state=Ee.BEGIN_WHITESPACE,Le==="\uFEFF")continue;Je(je,Le);continue;case Ee.BEGIN_WHITESPACE:Je(je,Le);continue;case Ee.TEXT:if(je.sawRoot&&!je.closedRoot){for(var Ne=$e-1;Le&&Le!=="<"&&Le!=="&";)Le=ut(Ue,$e++),Le&&je.trackPosition&&(je.position++,Le===`
|
|
|
`?(je.line++,je.column=0):je.column++);je.textNode+=Ue.substring(Ne,$e-1)}Le==="<"&&!(je.sawRoot&&je.closedRoot&&!je.strict)?(je.state=Ee.OPEN_WAKA,je.startTagPosition=je.position):(!Se(Le)&&(!je.sawRoot||je.closedRoot)&&qe(je,"Text data outside of root node."),Le==="&"?je.state=Ee.TEXT_ENTITY:je.textNode+=Le);continue;case Ee.SCRIPT:Le==="<"?je.state=Ee.SCRIPT_ENDING:je.script+=Le;continue;case Ee.SCRIPT_ENDING:Le==="/"?je.state=Ee.CLOSE_TAG:(je.script+="<"+Le,je.state=Ee.SCRIPT);continue;case Ee.OPEN_WAKA:if(Le==="!")je.state=Ee.SGML_DECL,je.sgmlDecl="";else if(!Se(Le))if(we(fe,Le))je.state=Ee.OPEN_TAG,je.tagName=Le;else if(Le==="/")je.state=Ee.CLOSE_TAG,je.tagName="";else if(Le==="?")je.state=Ee.PROC_INST,je.procInstName=je.procInstBody="";else{if(qe(je,"Unencoded <"),je.startTagPosition+1<je.position){var et=je.position-je.startTagPosition;Le=new Array(et).join(" ")+Le}je.textNode+="<"+Le,je.state=Ee.TEXT}continue;case Ee.SGML_DECL:(je.sgmlDecl+Le).toUpperCase()===x?(Ie(je,"onopencdata"),je.state=Ee.CDATA,je.sgmlDecl="",je.cdata=""):je.sgmlDecl+Le==="--"?(je.state=Ee.COMMENT,je.comment="",je.sgmlDecl=""):(je.sgmlDecl+Le).toUpperCase()===b?(je.state=Ee.DOCTYPE,(je.doctype||je.sawRoot)&&qe(je,"Inappropriately located doctype declaration"),je.doctype="",je.sgmlDecl=""):Le===">"?(Ie(je,"onsgmldeclaration",je.sgmlDecl),je.sgmlDecl="",je.state=Ee.TEXT):(ye(Le)&&(je.state=Ee.SGML_DECL_QUOTED),je.sgmlDecl+=Le);continue;case Ee.SGML_DECL_QUOTED:Le===je.q&&(je.state=Ee.SGML_DECL,je.q=""),je.sgmlDecl+=Le;continue;case Ee.DOCTYPE:Le===">"?(je.state=Ee.TEXT,Ie(je,"ondoctype",je.doctype),je.doctype=!0):(je.doctype+=Le,Le==="["?je.state=Ee.DOCTYPE_DTD:ye(Le)&&(je.state=Ee.DOCTYPE_QUOTED,je.q=Le));continue;case Ee.DOCTYPE_QUOTED:je.doctype+=Le,Le===je.q&&(je.q="",je.state=Ee.DOCTYPE);continue;case Ee.DOCTYPE_DTD:je.doctype+=Le,Le==="]"?je.state=Ee.DOCTYPE:ye(Le)&&(je.state=Ee.DOCTYPE_DTD_QUOTED,je.q=Le);continue;case Ee.DOCTYPE_DTD_QUOTED:je.doctype+=Le,Le===je.q&&(je.state=Ee.DOCTYPE_DTD,je.q="");continue;case Ee.COMMENT:Le==="-"?je.state=Ee.COMMENT_ENDING:je.comment+=Le;continue;case Ee.COMMENT_ENDING:Le==="-"?(je.state=Ee.COMMENT_ENDED,je.comment=Ge(je.opt,je.comment),je.comment&&Ie(je,"oncomment",je.comment),je.comment=""):(je.comment+="-"+Le,je.state=Ee.COMMENT);continue;case Ee.COMMENT_ENDED:Le!==">"?(qe(je,"Malformed comment"),je.comment+="--"+Le,je.state=Ee.COMMENT):je.state=Ee.TEXT;continue;case Ee.CDATA:Le==="]"?je.state=Ee.CDATA_ENDING:je.cdata+=Le;continue;case Ee.CDATA_ENDING:Le==="]"?je.state=Ee.CDATA_ENDING_2:(je.cdata+="]"+Le,je.state=Ee.CDATA);continue;case Ee.CDATA_ENDING_2:Le===">"?(je.cdata&&Ie(je,"oncdata",je.cdata),Ie(je,"onclosecdata"),je.cdata="",je.state=Ee.TEXT):Le==="]"?je.cdata+="]":(je.cdata+="]]"+Le,je.state=Ee.CDATA);continue;case Ee.PROC_INST:Le==="?"?je.state=Ee.PROC_INST_ENDING:Se(Le)?je.state=Ee.PROC_INST_BODY:je.procInstName+=Le;continue;case Ee.PROC_INST_BODY:if(!je.procInstBody&&Se(Le))continue;Le==="?"?je.state=Ee.PROC_INST_ENDING:je.procInstBody+=Le;continue;case Ee.PROC_INST_ENDING:Le===">"?(Ie(je,"onprocessinginstruction",{name:je.procInstName,body:je.procInstBody}),je.procInstName=je.procInstBody="",je.state=Ee.TEXT):(je.procInstBody+="?"+Le,je.state=Ee.PROC_INST_BODY);continue;case Ee.OPEN_TAG:we(pe,Le)?je.tagName+=Le:(Xe(je),Le===">"?ze(je):Le==="/"?je.state=Ee.OPEN_TAG_SLASH:(Se(Le)||qe(je,"Invalid character in tag name"),je.state=Ee.ATTRIB));continue;case Ee.OPEN_TAG_SLASH:Le===">"?(ze(je,!0),He(je)):(qe(je,"Forward-slash in opening tag not followed by >"),je.state=Ee.ATTRIB);continue;case Ee.ATTRIB:if(Se(Le))continue;Le===">"?ze(je):Le==="/"?je.state=Ee.OPEN_TAG_SLASH:we(fe,Le)?(je.attribName=Le,je.attribValue="",je.state=Ee.ATTRIB_NAME):qe(je,"Invalid attribute name");continue;case Ee.ATTRIB_NAME:Le==="="?je.state=Ee.ATTRIB_VALUE:Le===">"?(qe(je,"Attribute without value"),je.attribValue=je.attribName,We(je),ze(je)):Se(Le)?je.state=Ee.ATTRIB_NAME_SAW_WHITE:we(pe,Le)?je.attribName+=Le:qe(je,"Invalid attribute name");continue;case Ee.ATTRIB_NAME_SAW_WHITE:if(Le==="=")je.state=Ee.ATTRIB_VALUE;else{if(Se(Le))continue;qe(je,"Attribute without value"),je.tag.attributes[je.attribName]="",je.attribValue="",Ie(je,"onattribute",{name:je.attribName,value:""}),je.attribName="",Le===">"?ze(je):we(fe,Le)?(je.attribName=Le,je.state=Ee.ATTRIB_NAME):(qe(je,"Invalid attribute name"),je.state=Ee.ATTRIB)}continue;case Ee.ATTRIB_VALUE:if(Se(Le))continue;ye(Le)?(je.q=Le,je.state=Ee.ATTRIB_VALUE_QUOTED):(qe(je,"Unquoted attribute value"),je.state=Ee.ATTRIB_VALUE_UNQUOTED,je.attribValue=Le);continue;case Ee.ATTRIB_VALUE_QUOTED:if(Le!==je.q){Le==="&"?je.state=Ee.ATTRIB_VALUE_ENTITY_Q:je.attribValue+=Le;continue}We(je),je.q="",je.state=Ee.ATTRIB_VALUE_CLOSED;continue;case Ee.ATTRIB_VALUE_CLOSED:Se(Le)?je.state=Ee.ATTRIB:Le===">"?ze(je):Le==="/"?je.state=Ee.OPEN_TAG_SLASH:we(fe,Le)?(qe(je,"No whitespace between attributes"),je.attribName=Le,je.attribValue="",je.state=Ee.ATTRIB_NAME):qe(je,"Invalid attribute name");continue;case Ee.ATTRIB_VALUE_UNQUOTED:if(!Pe(Le)){Le==="&"?je.state=Ee.ATTRIB_VALUE_ENTITY_U:je.attribValue+=Le;continue}We(je),Le===">"?ze(je):je.state=Ee.ATTRIB;continue;case Ee.CLOSE_TAG:if(je.tagName)Le===">"?He(je):we(pe,Le)?je.tagName+=Le:je.script?(je.script+="</"+je.tagName,je.tagName="",je.state=Ee.SCRIPT):(Se(Le)||qe(je,"Invalid tagname in closing tag"),je.state=Ee.CLOSE_TAG_SAW_WHITE);else{if(Se(Le))continue;De(fe,Le)?je.script?(je.script+="</"+Le,je.state=Ee.SCRIPT):qe(je,"Invalid tagname in closing tag."):je.tagName=Le}continue;case Ee.CLOSE_TAG_SAW_WHITE:if(Se(Le))continue;Le===">"?He(je):qe(je,"Invalid characters in closing tag");continue;case Ee.TEXT_ENTITY:case Ee.ATTRIB_VALUE_ENTITY_Q:case Ee.ATTRIB_VALUE_ENTITY_U:var Ze,Fe;switch(je.state){case Ee.TEXT_ENTITY:Ze=Ee.TEXT,Fe="textNode";break;case Ee.ATTRIB_VALUE_ENTITY_Q:Ze=Ee.ATTRIB_VALUE_QUOTED,Fe="attribValue";break;case Ee.ATTRIB_VALUE_ENTITY_U:Ze=Ee.ATTRIB_VALUE_UNQUOTED,Fe="attribValue";break}Le===";"?(je[Fe]+=tt(je),je.entity="",je.state=Ze):we(je.entity.length?ge:me,Le)?je.entity+=Le:(qe(je,"Invalid character in entity name"),je[Fe]+="&"+je.entity+Le,je.entity="",je.state=Ze);continue;default:throw new Error(je,"Unknown state: "+je.state)}return je.position>=je.bufferCheckPosition&&ue(je),je}String.fromCodePoint||function(){var Ue=String.fromCharCode,je=Math.floor,$e=function(){var Le=16384,Ne=[],et,Ze,Fe=-1,Oe=arguments.length;if(!Oe)return"";for(var Te="";++Fe<Oe;){var xe=Number(arguments[Fe]);if(!isFinite(xe)||xe<0||xe>1114111||je(xe)!==xe)throw RangeError("Invalid code point: "+xe);xe<=65535?Ne.push(xe):(xe-=65536,et=(xe>>10)+55296,Ze=xe%1024+56320,Ne.push(et,Ze)),(Fe+1===Oe||Ne.length>Le)&&(Te+=Ue.apply(null,Ne),Ne.length=0)}return Te};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:$e,configurable:!0,writable:!0}):String.fromCodePoint=$e}()})(typeof de=="undefined"?this.sax={}:de)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,he,de){he.exports=ie;var se=E("events").EventEmitter,ne=E("inherits");ne(ie,se),ie.Readable=E("readable-stream/lib/_stream_readable.js"),ie.Writable=E("readable-stream/lib/_stream_writable.js"),ie.Duplex=E("readable-stream/lib/_stream_duplex.js"),ie.Transform=E("readable-stream/lib/_stream_transform.js"),ie.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ie.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ie.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ie.Stream=ie;function ie(){se.call(this)}ie.prototype.pipe=function(ce,ue){var ae=this;function oe(z){ce.writable&&ce.write(z)===!1&&ae.pause&&ae.pause()}ae.on("data",oe);function re(){ae.readable&&ae.resume&&ae.resume()}ce.on("drain",re),!ce._isStdio&&(!ue||ue.end!==!1)&&(ae.on("end",a),ae.on("close",y));var ee=!1;function a(){ee||(ee=!0,ce.end())}function y(){ee||(ee=!0,typeof ce.destroy=="function"&&ce.destroy())}function x(z){if(b(),se.listenerCount(this,"error")===0)throw z}ae.on("error",x),ce.on("error",x);function b(){ae.removeListener("data",oe),ce.removeListener("drain",re),ae.removeListener("end",a),ae.removeListener("close",y),ae.removeListener("error",x),ce.removeListener("error",x),ae.removeListener("end",b),ae.removeListener("close",b),ce.removeListener("close",b)}return ae.on("end",b),ae.on("close",b),ce.on("close",b),ce.emit("pipe",ae),ce}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(E,he,de){"use strict";function se(re,ee){re.prototype=Object.create(ee.prototype),re.prototype.constructor=re,re.__proto__=ee}var ne={};function ie(re,ee,a){a||(a=Error);function y(b,z,te){return typeof ee=="string"?ee:ee(b,z,te)}var x=function(b){se(z,b);function z(te,le,fe){return b.call(this,y(te,le,fe))||this}return z}(a);x.prototype.name=a.name,x.prototype.code=re,ne[re]=x}function ce(re,ee){if(Array.isArray(re)){var a=re.length;return re=re.map(function(y){return String(y)}),a>2?"one of ".concat(ee," ").concat(re.slice(0,a-1).join(", "),", or ")+re[a-1]:a===2?"one of ".concat(ee," ").concat(re[0]," or ").concat(re[1]):"of ".concat(ee," ").concat(re[0])}else return"of ".concat(ee," ").concat(String(re))}function ue(re,ee,a){return re.substr(!a||a<0?0:+a,ee.length)===ee}function ae(re,ee,a){return(a===void 0||a>re.length)&&(a=re.length),re.substring(a-ee.length,a)===ee}function oe(re,ee,a){return typeof a!="number"&&(a=0),a+ee.length>re.length?!1:re.indexOf(ee,a)!==-1}ie("ERR_INVALID_OPT_VALUE",function(re,ee){return'The value "'+ee+'" is invalid for option "'+re+'"'},TypeError),ie("ERR_INVALID_ARG_TYPE",function(re,ee,a){var y;typeof ee=="string"&&ue(ee,"not ")?(y="must not be",ee=ee.replace(/^not /,"")):y="must be";var x;if(ae(re," argument"))x="The ".concat(re," ").concat(y," ").concat(ce(ee,"type"));else{var b=oe(re,".")?"property":"argument";x='The "'.concat(re,'" ').concat(b," ").concat(y," ").concat(ce(ee,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),ie("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ie("ERR_METHOD_NOT_IMPLEMENTED",function(re){return"The "+re+" method is not implemented"}),ie("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ie("ERR_STREAM_DESTROYED",function(re){return"Cannot call "+re+" after a stream was destroyed"}),ie("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ie("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ie("ERR_STREAM_WRITE_AFTER_END","write after end"),ie("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ie("ERR_UNKNOWN_ENCODING",function(re){return"Unknown encoding: "+re},TypeError),ie("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),he.exports.codes=ne},{}],400:[function(E,he,de){(function(se){(function(){"use strict";var ne=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};he.exports=re;var ie=E("./_stream_readable"),ce=E("./_stream_writable");E("inherits")(re,ie);for(var ue=ne(ce.prototype),ae=0;ae<ue.length;ae++){var oe=ue[ae];re.prototype[oe]||(re.prototype[oe]=ce.prototype[oe])}function re(y){if(!(this instanceof re))return new re(y);ie.call(this,y),ce.call(this,y),this.allowHalfOpen=!0,y&&(y.readable===!1&&(this.readable=!1),y.writable===!1&&(this.writable=!1),y.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",ee)))}Object.defineProperty(re.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(re.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(re.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ee(){this._writableState.ended||se.nextTick(a,this)}function a(y){y.end()}Object.defineProperty(re.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(x){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=x,this._writableState.destroyed=x)}})}).call(this)}).call(this,E("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(E,he,de){"use strict";he.exports=ne;var se=E("./_stream_transform");E("inherits")(ne,se);function ne(ie){if(!(this instanceof ne))return new ne(ie);se.call(this,ie)}ne.prototype._transform=function(ie,ce,ue){ue(null,ie)}},{"./_stream_transform":403,inherits:364}],402:[function(E,he,de){(function(se,ne){(function(){"use strict";he.exports=Ie;var ie;Ie.ReadableState=Ce;var ce=E("events").EventEmitter,ue=function(Oe,Te){return Oe.listeners(Te).length},ae=E("./internal/streams/stream"),oe=E("buffer").Buffer,re=(typeof ne!="undefined"?ne:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function ee(Fe){return oe.from(Fe)}function a(Fe){return oe.isBuffer(Fe)||Fe instanceof re}var y=E("util"),x;y&&y.debuglog?x=y.debuglog("stream"):x=function(){};var b=E("./internal/streams/buffer_list"),z=E("./internal/streams/destroy"),te=E("./internal/streams/state"),le=te.getHighWaterMark,fe=E("../errors").codes,pe=fe.ERR_INVALID_ARG_TYPE,me=fe.ERR_STREAM_PUSH_AFTER_EOF,ge=fe.ERR_METHOD_NOT_IMPLEMENTED,Se=fe.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ye,Pe,we;E("inherits")(Ie,ae);var De=z.errorOrDestroy,Ee=["error","close","destroy","pause","resume"];function Ae(Fe,Oe,Te){if(typeof Fe.prependListener=="function")return Fe.prependListener(Oe,Te);!Fe._events||!Fe._events[Oe]?Fe.on(Oe,Te):Array.isArray(Fe._events[Oe])?Fe._events[Oe].unshift(Te):Fe._events[Oe]=[Te,Fe._events[Oe]]}function Ce(Fe,Oe,Te){ie=ie||E("./_stream_duplex"),Fe=Fe||{},typeof Te!="boolean"&&(Te=Oe instanceof ie),this.objectMode=!!Fe.objectMode,Te&&(this.objectMode=this.objectMode||!!Fe.readableObjectMode),this.highWaterMark=le(this,Fe,"readableHighWaterMark",Te),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=Fe.emitClose!==!1,this.autoDestroy=!!Fe.autoDestroy,this.destroyed=!1,this.defaultEncoding=Fe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Fe.encoding&&(ye||(ye=E("string_decoder/").StringDecoder),this.decoder=new ye(Fe.encoding),this.encoding=Fe.encoding)}function Ie(Fe){if(ie=ie||E("./_stream_duplex"),!(this instanceof Ie))return new Ie(Fe);var Oe=this instanceof ie;this._readableState=new Ce(Fe,this,Oe),this.readable=!0,Fe&&(typeof Fe.read=="function"&&(this._read=Fe.read),typeof Fe.destroy=="function"&&(this._destroy=Fe.destroy)),ae.call(this)}Object.defineProperty(Ie.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Oe){this._readableState&&(this._readableState.destroyed=Oe)}}),Ie.prototype.destroy=z.destroy,Ie.prototype._undestroy=z.undestroy,Ie.prototype._destroy=function(Fe,Oe){Oe(Fe)},Ie.prototype.push=function(Fe,Oe){var Te=this._readableState,xe;return Te.objectMode?xe=!0:typeof Fe=="string"&&(Oe=Oe||Te.defaultEncoding,Oe!==Te.encoding&&(Fe=oe.from(Fe,Oe),Oe=""),xe=!0),Me(this,Fe,Oe,!1,xe)},Ie.prototype.unshift=function(Fe){return Me(this,Fe,null,!0,!1)};function Me(Fe,Oe,Te,xe,Re){x("readableAddChunk",Oe);var Ke=Fe._readableState;if(Oe===null)Ke.reading=!1,Ve(Fe,Ke);else{var ot;if(Re||(ot=Be(Ke,Oe)),ot)De(Fe,ot);else if(Ke.objectMode||Oe&&Oe.length>0)if(typeof Oe!="string"&&!Ke.objectMode&&Object.getPrototypeOf(Oe)!==oe.prototype&&(Oe=ee(Oe)),xe)Ke.endEmitted?De(Fe,new Se):Ge(Fe,Ke,Oe,!0);else if(Ke.ended)De(Fe,new me);else{if(Ke.destroyed)return!1;Ke.reading=!1,Ke.decoder&&!Te?(Oe=Ke.decoder.write(Oe),Ke.objectMode||Oe.length!==0?Ge(Fe,Ke,Oe,!1):He(Fe,Ke)):Ge(Fe,Ke,Oe,!1)}else xe||(Ke.reading=!1,He(Fe,Ke))}return!Ke.ended&&(Ke.length<Ke.highWaterMark||Ke.length===0)}function Ge(Fe,Oe,Te,xe){Oe.flowing&&Oe.length===0&&!Oe.sync?(Oe.awaitDrain=0,Fe.emit("data",Te)):(Oe.length+=Oe.objectMode?1:Te.length,xe?Oe.buffer.unshift(Te):Oe.buffer.push(Te),Oe.needReadable&&We(Fe)),He(Fe,Oe)}function Be(Fe,Oe){var Te;return!a(Oe)&&typeof Oe!="string"&&Oe!==void 0&&!Fe.objectMode&&(Te=new pe("chunk",["string","Buffer","Uint8Array"],Oe)),Te}Ie.prototype.isPaused=function(){return this._readableState.flowing===!1},Ie.prototype.setEncoding=function(Fe){ye||(ye=E("string_decoder/").StringDecoder);var Oe=new ye(Fe);this._readableState.decoder=Oe,this._readableState.encoding=this._readableState.decoder.encoding;for(var Te=this._readableState.buffer.head,xe="";Te!==null;)xe+=Oe.write(Te.data),Te=Te.next;return this._readableState.buffer.clear(),xe!==""&&this._readableState.buffer.push(xe),this._readableState.length=xe.length,this};var Qe=1073741824;function qe(Fe){return Fe>=Qe?Fe=Qe:(Fe--,Fe|=Fe>>>1,Fe|=Fe>>>2,Fe|=Fe>>>4,Fe|=Fe>>>8,Fe|=Fe>>>16,Fe++),Fe}function Xe(Fe,Oe){return Fe<=0||Oe.length===0&&Oe.ended?0:Oe.objectMode?1:Fe!==Fe?Oe.flowing&&Oe.length?Oe.buffer.head.data.length:Oe.length:(Fe>Oe.highWaterMark&&(Oe.highWaterMark=qe(Fe)),Fe<=Oe.length?Fe:Oe.ended?Oe.length:(Oe.needReadable=!0,0))}Ie.prototype.read=function(Fe){x("read",Fe),Fe=parseInt(Fe,10);var Oe=this._readableState,Te=Fe;if(Fe!==0&&(Oe.emittedReadable=!1),Fe===0&&Oe.needReadable&&((Oe.highWaterMark!==0?Oe.length>=Oe.highWaterMark:Oe.length>0)||Oe.ended))return x("read: emitReadable",Oe.length,Oe.ended),Oe.length===0&&Oe.ended?Ne(this):We(this),null;if(Fe=Xe(Fe,Oe),Fe===0&&Oe.ended)return Oe.length===0&&Ne(this),null;var xe=Oe.needReadable;x("need readable",xe),(Oe.length===0||Oe.length-Fe<Oe.highWaterMark)&&(xe=!0,x("length less than watermark",xe)),Oe.ended||Oe.reading?(xe=!1,x("reading or ended",xe)):xe&&(x("do read"),Oe.reading=!0,Oe.sync=!0,Oe.length===0&&(Oe.needReadable=!0),this._read(Oe.highWaterMark),Oe.sync=!1,Oe.reading||(Fe=Xe(Te,Oe)));var Re;return Fe>0?Re=Le(Fe,Oe):Re=null,Re===null?(Oe.needReadable=Oe.length<=Oe.highWaterMark,Fe=0):(Oe.length-=Fe,Oe.awaitDrain=0),Oe.length===0&&(Oe.ended||(Oe.needReadable=!0),Te!==Fe&&Oe.ended&&Ne(this)),Re!==null&&this.emit("data",Re),Re};function Ve(Fe,Oe){if(x("onEofChunk"),!Oe.ended){if(Oe.decoder){var Te=Oe.decoder.end();Te&&Te.length&&(Oe.buffer.push(Te),Oe.length+=Oe.objectMode?1:Te.length)}Oe.ended=!0,Oe.sync?We(Fe):(Oe.needReadable=!1,Oe.emittedReadable||(Oe.emittedReadable=!0,ze(Fe)))}}function We(Fe){var Oe=Fe._readableState;x("emitReadable",Oe.needReadable,Oe.emittedReadable),Oe.needReadable=!1,Oe.emittedReadable||(x("emitReadable",Oe.flowing),Oe.emittedReadable=!0,se.nextTick(ze,Fe))}function ze(Fe){var Oe=Fe._readableState;x("emitReadable_",Oe.destroyed,Oe.length,Oe.ended),!Oe.destroyed&&(Oe.length||Oe.ended)&&(Fe.emit("readable"),Oe.emittedReadable=!1),Oe.needReadable=!Oe.flowing&&!Oe.ended&&Oe.length<=Oe.highWaterMark,$e(Fe)}function He(Fe,Oe){Oe.readingMore||(Oe.readingMore=!0,se.nextTick(tt,Fe,Oe))}function tt(Fe,Oe){for(;!Oe.reading&&!Oe.ended&&(Oe.length<Oe.highWaterMark||Oe.flowing&&Oe.length===0);){var Te=Oe.length;if(x("maybeReadMore read 0"),Fe.read(0),Te===Oe.length)break}Oe.readingMore=!1}Ie.prototype._read=function(Fe){De(this,new ge("_read()"))},Ie.prototype.pipe=function(Fe,Oe){var Te=this,xe=this._readableState;switch(xe.pipesCount){case 0:xe.pipes=Fe;break;case 1:xe.pipes=[xe.pipes,Fe];break;default:xe.pipes.push(Fe);break}xe.pipesCount+=1,x("pipe count=%d opts=%j",xe.pipesCount,Oe);var Re=(!Oe||Oe.end!==!1)&&Fe!==se.stdout&&Fe!==se.stderr,Ke=Re?ke:st;xe.endEmitted?se.nextTick(Ke):Te.once("end",Ke),Fe.on("unpipe",ot);function ot(ft,vt){x("onunpipe"),ft===Te&&vt&&vt.hasUnpiped===!1&&(vt.hasUnpiped=!0,ct())}function ke(){x("onend"),Fe.end()}var nt=Je(Te);Fe.on("drain",nt);var mt=!1;function ct(){x("cleanup"),Fe.removeListener("close",pt),Fe.removeListener("finish",at),Fe.removeListener("drain",nt),Fe.removeListener("error",lt),Fe.removeListener("unpipe",ot),Te.removeListener("end",ke),Te.removeListener("end",st),Te.removeListener("data",ht),mt=!0,xe.awaitDrain&&(!Fe._writableState||Fe._writableState.needDrain)&&nt()}Te.on("data",ht);function ht(ft){x("ondata");var vt=Fe.write(ft);x("dest.write",vt),vt===!1&&((xe.pipesCount===1&&xe.pipes===Fe||xe.pipesCount>1&&Ze(xe.pipes,Fe)!==-1)&&!mt&&(x("false write response, pause",xe.awaitDrain),xe.awaitDrain++),Te.pause())}function lt(ft){x("onerror",ft),st(),Fe.removeListener("error",lt),ue(Fe,"error")===0&&De(Fe,ft)}Ae(Fe,"error",lt);function pt(){Fe.removeListener("finish",at),st()}Fe.once("close",pt);function at(){x("onfinish"),Fe.removeListener("close",pt),st()}Fe.once("finish",at);function st(){x("unpipe"),Te.unpipe(Fe)}return Fe.emit("pipe",Te),xe.flowing||(x("pipe resume"),Te.resume()),Fe};function Je(Fe){return function(){var Te=Fe._readableState;x("pipeOnDrain",Te.awaitDrain),Te.awaitDrain&&Te.awaitDrain--,Te.awaitDrain===0&&ue(Fe,"data")&&(Te.flowing=!0,$e(Fe))}}Ie.prototype.unpipe=function(Fe){var Oe=this._readableState,Te={hasUnpiped:!1};if(Oe.pipesCount===0)return this;if(Oe.pipesCount===1)return Fe&&Fe!==Oe.pipes?this:(Fe||(Fe=Oe.pipes),Oe.pipes=null,Oe.pipesCount=0,Oe.flowing=!1,Fe&&Fe.emit("unpipe",this,Te),this);if(!Fe){var xe=Oe.pipes,Re=Oe.pipesCount;Oe.pipes=null,Oe.pipesCount=0,Oe.flowing=!1;for(var Ke=0;Ke<Re;Ke++)xe[Ke].emit("unpipe",this,{hasUnpiped:!1});return this}var ot=Ze(Oe.pipes,Fe);return ot===-1?this:(Oe.pipes.splice(ot,1),Oe.pipesCount-=1,Oe.pipesCount===1&&(Oe.pipes=Oe.pipes[0]),Fe.emit("unpipe",this,Te),this)},Ie.prototype.on=function(Fe,Oe){var Te=ae.prototype.on.call(this,Fe,Oe),xe=this._readableState;return Fe==="data"?(xe.readableListening=this.listenerCount("readable")>0,xe.flowing!==!1&&this.resume()):Fe==="readable"&&!xe.endEmitted&&!xe.readableListening&&(xe.readableListening=xe.needReadable=!0,xe.flowing=!1,xe.emittedReadable=!1,x("on readable",xe.length,xe.reading),xe.length?We(this):xe.reading||se.nextTick(Ye,this)),Te},Ie.prototype.addListener=Ie.prototype.on,Ie.prototype.removeListener=function(Fe,Oe){var Te=ae.prototype.removeListener.call(this,Fe,Oe);return Fe==="readable"&&se.nextTick(ut,this),Te},Ie.prototype.removeAllListeners=function(Fe){var Oe=ae.prototype.removeAllListeners.apply(this,arguments);return(Fe==="readable"||Fe===void 0)&&se.nextTick(ut,this),Oe};function ut(Fe){var Oe=Fe._readableState;Oe.readableListening=Fe.listenerCount("readable")>0,Oe.resumeScheduled&&!Oe.paused?Oe.flowing=!0:Fe.listenerCount("data")>0&&Fe.resume()}function Ye(Fe){x("readable nexttick read 0"),Fe.read(0)}Ie.prototype.resume=function(){var Fe=this._readableState;return Fe.flowing||(x("resume"),Fe.flowing=!Fe.readableListening,Ue(this,Fe)),Fe.paused=!1,this};function Ue(Fe,Oe){Oe.resumeScheduled||(Oe.resumeScheduled=!0,se.nextTick(je,Fe,Oe))}function je(Fe,Oe){x("resume",Oe.reading),Oe.reading||Fe.read(0),Oe.resumeScheduled=!1,Fe.emit("resume"),$e(Fe),Oe.flowing&&!Oe.reading&&Fe.read(0)}Ie.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function $e(Fe){var Oe=Fe._readableState;for(x("flow",Oe.flowing);Oe.flowing&&Fe.read()!==null;);}Ie.prototype.wrap=function(Fe){var Oe=this,Te=this._readableState,xe=!1;Fe.on("end",function(){if(x("wrapped end"),Te.decoder&&!Te.ended){var ot=Te.decoder.end();ot&&ot.length&&Oe.push(ot)}Oe.push(null)}),Fe.on("data",function(ot){if(x("wrapped data"),Te.decoder&&(ot=Te.decoder.write(ot)),!(Te.objectMode&&ot==null)&&!(!Te.objectMode&&(!ot||!ot.length))){var ke=Oe.push(ot);ke||(xe=!0,Fe.pause())}});for(var Re in Fe)this[Re]===void 0&&typeof Fe[Re]=="function"&&(this[Re]=function(ke){return function(){return Fe[ke].apply(Fe,arguments)}}(Re));for(var Ke=0;Ke<Ee.length;Ke++)Fe.on(Ee[Ke],this.emit.bind(this,Ee[Ke]));return this._read=function(ot){x("wrapped _read",ot),xe&&(xe=!1,Fe.resume())},this},typeof Symbol=="function"&&(Ie.prototype[Symbol.asyncIterator]=function(){return Pe===void 0&&(Pe=E("./internal/streams/async_iterator")),Pe(this)}),Object.defineProperty(Ie.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Ie.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Ie.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Oe){this._readableState&&(this._readableState.flowing=Oe)}}),Ie._fromList=Le,Object.defineProperty(Ie.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Le(Fe,Oe){if(Oe.length===0)return null;var Te;return Oe.objectMode?Te=Oe.buffer.shift():!Fe||Fe>=Oe.length?(Oe.decoder?Te=Oe.buffer.join(""):Oe.buffer.length===1?Te=Oe.buffer.first():Te=Oe.buffer.concat(Oe.length),Oe.buffer.clear()):Te=Oe.buffer.consume(Fe,Oe.decoder),Te}function Ne(Fe){var Oe=Fe._readableState;x("endReadable",Oe.endEmitted),Oe.endEmitted||(Oe.ended=!0,se.nextTick(et,Oe,Fe))}function et(Fe,Oe){if(x("endReadableNT",Fe.endEmitted,Fe.length),!Fe.endEmitted&&Fe.length===0&&(Fe.endEmitted=!0,Oe.readable=!1,Oe.emit("end"),Fe.autoDestroy)){var Te=Oe._writableState;(!Te||Te.autoDestroy&&Te.finished)&&Oe.destroy()}}typeof Symbol=="function"&&(Ie.from=function(Fe,Oe){return we===void 0&&(we=E("./internal/streams/from")),we(Ie,Fe,Oe)});function Ze(Fe,Oe){for(var Te=0,xe=Fe.length;Te<xe;Te++)if(Fe[Te]===Oe)return Te;return-1}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/async_iterator":405,"./internal/streams/buffer_list":406,"./internal/streams/destroy":407,"./internal/streams/from":409,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,events:344,inherits:364,"string_decoder/":413,util:89}],403:[function(E,he,de){"use strict";he.exports=re;var se=E("../errors").codes,ne=se.ERR_METHOD_NOT_IMPLEMENTED,ie=se.ERR_MULTIPLE_CALLBACK,ce=se.ERR_TRANSFORM_ALREADY_TRANSFORMING,ue=se.ERR_TRANSFORM_WITH_LENGTH_0,ae=E("./_stream_duplex");E("inherits")(re,ae);function oe(y,x){var b=this._transformState;b.transforming=!1;var z=b.writecb;if(z===null)return this.emit("error",new ie);b.writechunk=null,b.writecb=null,x!=null&&this.push(x),z(y);var te=this._readableState;te.reading=!1,(te.needReadable||te.length<te.highWaterMark)&&this._read(te.highWaterMark)}function re(y){if(!(this instanceof re))return new re(y);ae.call(this,y),this._transformState={afterTransform:oe.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&&(typeof y.transform=="function"&&(this._transform=y.transform),typeof y.flush=="function"&&(this._flush=y.flush)),this.on("prefinish",ee)}function ee(){var y=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(x,b){a(y,x,b)}):a(this,null,null)}re.prototype.push=function(y,x){return this._transformState.needTransform=!1,ae.prototype.push.call(this,y,x)},re.prototype._transform=function(y,x,b){b(new ne("_transform()"))},re.prototype._write=function(y,x,b){var z=this._transformState;if(z.writecb=b,z.writechunk=y,z.writeencoding=x,!z.transforming){var te=this._readableState;(z.needTransform||te.needReadable||te.length<te.highWaterMark)&&this._read(te.highWaterMark)}},re.prototype._read=function(y){var x=this._transformState;x.writechunk!==null&&!x.transforming?(x.transforming=!0,this._transform(x.writechunk,x.writeencoding,x.afterTransform)):x.needTransform=!0},re.prototype._destroy=function(y,x){ae.prototype._destroy.call(this,y,function(b){x(b)})};function a(y,x,b){if(x)return y.emit("error",x);if(b!=null&&y.push(b),y._writableState.length)throw new ue;if(y._transformState.transforming)throw new ce;return y.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(E,he,de){(function(se,ne){(function(){"use strict";he.exports=Ce;function ie($e,Le,Ne){this.chunk=$e,this.encoding=Le,this.callback=Ne,this.next=null}function ce($e){var Le=this;this.next=null,this.entry=null,this.finish=function(){je(Le,$e)}}var ue;Ce.WritableState=Ee;var ae={deprecate:E("util-deprecate")},oe=E("./internal/streams/stream"),re=E("buffer").Buffer,ee=(typeof ne!="undefined"?ne:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function a($e){return re.from($e)}function y($e){return re.isBuffer($e)||$e instanceof ee}var x=E("./internal/streams/destroy"),b=E("./internal/streams/state"),z=b.getHighWaterMark,te=E("../errors").codes,le=te.ERR_INVALID_ARG_TYPE,fe=te.ERR_METHOD_NOT_IMPLEMENTED,pe=te.ERR_MULTIPLE_CALLBACK,me=te.ERR_STREAM_CANNOT_PIPE,ge=te.ERR_STREAM_DESTROYED,Se=te.ERR_STREAM_NULL_VALUES,ye=te.ERR_STREAM_WRITE_AFTER_END,Pe=te.ERR_UNKNOWN_ENCODING,we=x.errorOrDestroy;E("inherits")(Ce,oe);function De(){}function Ee($e,Le,Ne){ue=ue||E("./_stream_duplex"),$e=$e||{},typeof Ne!="boolean"&&(Ne=Le instanceof ue),this.objectMode=!!$e.objectMode,Ne&&(this.objectMode=this.objectMode||!!$e.writableObjectMode),this.highWaterMark=z(this,$e,"writableHighWaterMark",Ne),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var et=$e.decodeStrings===!1;this.decodeStrings=!et,this.defaultEncoding=$e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ze){Ve(Le,Ze)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$e.emitClose!==!1,this.autoDestroy=!!$e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new ce(this)}Ee.prototype.getBuffer=function(){for(var Le=this.bufferedRequest,Ne=[];Le;)Ne.push(Le),Le=Le.next;return Ne},function(){try{Object.defineProperty(Ee.prototype,"buffer",{get:ae.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($e){}}();var Ae;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ae=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ce,Symbol.hasInstance,{value:function(Le){return Ae.call(this,Le)?!0:this!==Ce?!1:Le&&Le._writableState instanceof Ee}})):Ae=function(Le){return Le instanceof this};function Ce($e){ue=ue||E("./_stream_duplex");var Le=this instanceof ue;if(!Le&&!Ae.call(Ce,this))return new Ce($e);this._writableState=new Ee($e,this,Le),this.writable=!0,$e&&(typeof $e.write=="function"&&(this._write=$e.write),typeof $e.writev=="function"&&(this._writev=$e.writev),typeof $e.destroy=="function"&&(this._destroy=$e.destroy),typeof $e.final=="function"&&(this._final=$e.final)),oe.call(this)}Ce.prototype.pipe=function(){we(this,new me)};function Ie($e,Le){var Ne=new ye;we($e,Ne),se.nextTick(Le,Ne)}function Me($e,Le,Ne,et){var Ze;return Ne===null?Ze=new Se:typeof Ne!="string"&&!Le.objectMode&&(Ze=new le("chunk",["string","Buffer"],Ne)),Ze?(we($e,Ze),se.nextTick(et,Ze),!1):!0}Ce.prototype.write=function($e,Le,Ne){var et=this._writableState,Ze=!1,Fe=!et.objectMode&&y($e);return Fe&&!re.isBuffer($e)&&($e=a($e)),typeof Le=="function"&&(Ne=Le,Le=null),Fe?Le="buffer":Le||(Le=et.defaultEncoding),typeof Ne!="function"&&(Ne=De),et.ending?Ie(this,Ne):(Fe||Me(this,et,$e,Ne))&&(et.pendingcb++,Ze=Be(this,et,Fe,$e,Le,Ne)),Ze},Ce.prototype.cork=function(){this._writableState.corked++},Ce.prototype.uncork=function(){var $e=this._writableState;$e.corked&&($e.corked--,!$e.writing&&!$e.corked&&!$e.bufferProcessing&&$e.bufferedRequest&&He(this,$e))},Ce.prototype.setDefaultEncoding=function(Le){if(typeof Le=="string"&&(Le=Le.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Le+"").toLowerCase())>-1))throw new Pe(Le);return this._writableState.defaultEncoding=Le,this},Object.defineProperty(Ce.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ge($e,Le,Ne){return!$e.objectMode&&$e.decodeStrings!==!1&&typeof Le=="string"&&(Le=re.from(Le,Ne)),Le}Object.defineProperty(Ce.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Be($e,Le,Ne,et,Ze,Fe){if(!Ne){var Oe=Ge(Le,et,Ze);et!==Oe&&(Ne=!0,Ze="buffer",et=Oe)}var Te=Le.objectMode?1:et.length;Le.length+=Te;var xe=Le.length<Le.highWaterMark;if(xe||(Le.needDrain=!0),Le.writing||Le.corked){var Re=Le.lastBufferedRequest;Le.lastBufferedRequest={chunk:et,encoding:Ze,isBuf:Ne,callback:Fe,next:null},Re?Re.next=Le.lastBufferedRequest:Le.bufferedRequest=Le.lastBufferedRequest,Le.bufferedRequestCount+=1}else Qe($e,Le,!1,Te,et,Ze,Fe);return xe}function Qe($e,Le,Ne,et,Ze,Fe,Oe){Le.writelen=et,Le.writecb=Oe,Le.writing=!0,Le.sync=!0,Le.destroyed?Le.onwrite(new ge("write")):Ne?$e._writev(Ze,Le.onwrite):$e._write(Ze,Fe,Le.onwrite),Le.sync=!1}function qe($e,Le,Ne,et,Ze){--Le.pendingcb,Ne?(se.nextTick(Ze,et),se.nextTick(Ye,$e,Le),$e._writableState.errorEmitted=!0,we($e,et)):(Ze(et),$e._writableState.errorEmitted=!0,we($e,et),Ye($e,Le))}function Xe($e){$e.writing=!1,$e.writecb=null,$e.length-=$e.writelen,$e.writelen=0}function Ve($e,Le){var Ne=$e._writableState,et=Ne.sync,Ze=Ne.writecb;if(typeof Ze!="function")throw new pe;if(Xe(Ne),Le)qe($e,Ne,et,Le,Ze);else{var Fe=tt(Ne)||$e.destroyed;!Fe&&!Ne.corked&&!Ne.bufferProcessing&&Ne.bufferedRequest&&He($e,Ne),et?se.nextTick(We,$e,Ne,Fe,Ze):We($e,Ne,Fe,Ze)}}function We($e,Le,Ne,et){Ne||ze($e,Le),Le.pendingcb--,et(),Ye($e,Le)}function ze($e,Le){Le.length===0&&Le.needDrain&&(Le.needDrain=!1,$e.emit("drain"))}function He($e,Le){Le.bufferProcessing=!0;var Ne=Le.bufferedRequest;if($e._writev&&Ne&&Ne.next){var et=Le.bufferedRequestCount,Ze=new Array(et),Fe=Le.corkedRequestsFree;Fe.entry=Ne;for(var Oe=0,Te=!0;Ne;)Ze[Oe]=Ne,Ne.isBuf||(Te=!1),Ne=Ne.next,Oe+=1;Ze.allBuffers=Te,Qe($e,Le,!0,Le.length,Ze,"",Fe.finish),Le.pendingcb++,Le.lastBufferedRequest=null,Fe.next?(Le.corkedRequestsFree=Fe.next,Fe.next=null):Le.corkedRequestsFree=new ce(Le),Le.bufferedRequestCount=0}else{for(;Ne;){var xe=Ne.chunk,Re=Ne.encoding,Ke=Ne.callback,ot=Le.objectMode?1:xe.length;if(Qe($e,Le,!1,ot,xe,Re,Ke),Ne=Ne.next,Le.bufferedRequestCount--,Le.writing)break}Ne===null&&(Le.lastBufferedRequest=null)}Le.bufferedRequest=Ne,Le.bufferProcessing=!1}Ce.prototype._write=function($e,Le,Ne){Ne(new fe("_write()"))},Ce.prototype._writev=null,Ce.prototype.end=function($e,Le,Ne){var et=this._writableState;return typeof $e=="function"?(Ne=$e,$e=null,Le=null):typeof Le=="function"&&(Ne=Le,Le=null),$e!=null&&this.write($e,Le),et.corked&&(et.corked=1,this.uncork()),et.ending||Ue(this,et,Ne),this},Object.defineProperty(Ce.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function tt($e){return $e.ending&&$e.length===0&&$e.bufferedRequest===null&&!$e.finished&&!$e.writing}function Je($e,Le){$e._final(function(Ne){Le.pendingcb--,Ne&&we($e,Ne),Le.prefinished=!0,$e.emit("prefinish"),Ye($e,Le)})}function ut($e,Le){!Le.prefinished&&!Le.finalCalled&&(typeof $e._final=="function"&&!Le.destroyed?(Le.pendingcb++,Le.finalCalled=!0,se.nextTick(Je,$e,Le)):(Le.prefinished=!0,$e.emit("prefinish")))}function Ye($e,Le){var Ne=tt(Le);if(Ne&&(ut($e,Le),Le.pendingcb===0&&(Le.finished=!0,$e.emit("finish"),Le.autoDestroy))){var et=$e._readableState;(!et||et.autoDestroy&&et.endEmitted)&&$e.destroy()}return Ne}function Ue($e,Le,Ne){Le.ending=!0,Ye($e,Le),Ne&&(Le.finished?se.nextTick(Ne):$e.once("finish",Ne)),Le.ended=!0,$e.writable=!1}function je($e,Le,Ne){var et=$e.entry;for($e.entry=null;et;){var Ze=et.callback;Le.pendingcb--,Ze(Ne),et=et.next}Le.corkedRequestsFree.next=$e}Object.defineProperty(Ce.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Le){this._writableState&&(this._writableState.destroyed=Le)}}),Ce.prototype.destroy=x.destroy,Ce.prototype._undestroy=x.undestroy,Ce.prototype._destroy=function($e,Le){Le($e)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/destroy":407,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,inherits:364,"util-deprecate":416}],405:[function(E,he,de){(function(se){(function(){"use strict";var ne;function ie(Se,ye,Pe){return ye=ce(ye),ye in Se?Object.defineProperty(Se,ye,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):Se[ye]=Pe,Se}function ce(Se){var ye=ue(Se,"string");return typeof ye=="symbol"?ye:String(ye)}function ue(Se,ye){if(typeof Se!="object"||Se===null)return Se;var Pe=Se[Symbol.toPrimitive];if(Pe!==void 0){var we=Pe.call(Se,ye||"default");if(typeof we!="object")return we;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ye==="string"?String:Number)(Se)}var ae=E("./end-of-stream"),oe=Symbol("lastResolve"),re=Symbol("lastReject"),ee=Symbol("error"),a=Symbol("ended"),y=Symbol("lastPromise"),x=Symbol("handlePromise"),b=Symbol("stream");function z(Se,ye){return{value:Se,done:ye}}function te(Se){var ye=Se[oe];if(ye!==null){var Pe=Se[b].read();Pe!==null&&(Se[y]=null,Se[oe]=null,Se[re]=null,ye(z(Pe,!1)))}}function le(Se){se.nextTick(te,Se)}function fe(Se,ye){return function(Pe,we){Se.then(function(){if(ye[a]){Pe(z(void 0,!0));return}ye[x](Pe,we)},we)}}var pe=Object.getPrototypeOf(function(){}),me=Object.setPrototypeOf((ne={get stream(){return this[b]},next:function(){var ye=this,Pe=this[ee];if(Pe!==null)return Promise.reject(Pe);if(this[a])return Promise.resolve(z(void 0,!0));if(this[b].destroyed)return new Promise(function(Ae,Ce){se.nextTick(function(){ye[ee]?Ce(ye[ee]):Ae(z(void 0,!0))})});var we=this[y],De;if(we)De=new Promise(fe(we,this));else{var Ee=this[b].read();if(Ee!==null)return Promise.resolve(z(Ee,!1));De=new Promise(this[x])}return this[y]=De,De}},ie(ne,Symbol.asyncIterator,function(){return this}),ie(ne,"return",function(){var ye=this;return new Promise(function(Pe,we){ye[b].destroy(null,function(De){if(De){we(De);return}Pe(z(void 0,!0))})})}),ne),pe),ge=function(ye){var Pe,we=Object.create(me,(Pe={},ie(Pe,b,{value:ye,writable:!0}),ie(Pe,oe,{value:null,writable:!0}),ie(Pe,re,{value:null,writable:!0}),ie(Pe,ee,{value:null,writable:!0}),ie(Pe,a,{value:ye._readableState.endEmitted,writable:!0}),ie(Pe,x,{value:function(Ee,Ae){var Ce=we[b].read();Ce?(we[y]=null,we[oe]=null,we[re]=null,Ee(z(Ce,!1))):(we[oe]=Ee,we[re]=Ae)},writable:!0}),Pe));return we[y]=null,ae(ye,function(De){if(De&&De.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Ee=we[re];Ee!==null&&(we[y]=null,we[oe]=null,we[re]=null,Ee(De)),we[ee]=De;return}var Ae=we[oe];Ae!==null&&(we[y]=null,we[oe]=null,we[re]=null,Ae(z(void 0,!0))),we[a]=!0}),ye.on("readable",le.bind(null,we)),we};he.exports=ge}).call(this)}).call(this,E("_process"))},{"./end-of-stream":408,_process:467}],406:[function(E,he,de){"use strict";function se(te,le){var fe=Object.keys(te);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(te);le&&(pe=pe.filter(function(me){return Object.getOwnPropertyDescriptor(te,me).enumerable})),fe.push.apply(fe,pe)}return fe}function ne(te){for(var le=1;le<arguments.length;le++){var fe=arguments[le]!=null?arguments[le]:{};le%2?se(Object(fe),!0).forEach(function(pe){ie(te,pe,fe[pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(fe)):se(Object(fe)).forEach(function(pe){Object.defineProperty(te,pe,Object.getOwnPropertyDescriptor(fe,pe))})}return te}function ie(te,le,fe){return le=oe(le),le in te?Object.defineProperty(te,le,{value:fe,enumerable:!0,configurable:!0,writable:!0}):te[le]=fe,te}function ce(te,le){if(!(te instanceof le))throw new TypeError("Cannot call a class as a function")}function ue(te,le){for(var fe=0;fe<le.length;fe++){var pe=le[fe];pe.enumerable=pe.enumerable||!1,pe.configurable=!0,"value"in pe&&(pe.writable=!0),Object.defineProperty(te,oe(pe.key),pe)}}function ae(te,le,fe){return le&&ue(te.prototype,le),fe&&ue(te,fe),Object.defineProperty(te,"prototype",{writable:!1}),te}function oe(te){var le=re(te,"string");return typeof le=="symbol"?le:String(le)}function re(te,le){if(typeof te!="object"||te===null)return te;var fe=te[Symbol.toPrimitive];if(fe!==void 0){var pe=fe.call(te,le||"default");if(typeof pe!="object")return pe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(le==="string"?String:Number)(te)}var ee=E("buffer"),a=ee.Buffer,y=E("util"),x=y.inspect,b=x&&x.custom||"inspect";function z(te,le,fe){a.prototype.copy.call(te,le,fe)}he.exports=function(){function te(){ce(this,te),this.head=null,this.tail=null,this.length=0}return ae(te,[{key:"push",value:function(fe){var pe={data:fe,next:null};this.length>0?this.tail.next=pe:this.head=pe,this.tail=pe,++this.length}},{key:"unshift",value:function(fe){var pe={data:fe,next:this.head};this.length===0&&(this.tail=pe),this.head=pe,++this.length}},{key:"shift",value:function(){if(this.length!==0){var fe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,fe}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(fe){if(this.length===0)return"";for(var pe=this.head,me=""+pe.data;pe=pe.next;)me+=fe+pe.data;return me}},{key:"concat",value:function(fe){if(this.length===0)return a.alloc(0);for(var pe=a.allocUnsafe(fe>>>0),me=this.head,ge=0;me;)z(me.data,pe,ge),ge+=me.data.length,me=me.next;return pe}},{key:"consume",value:function(fe,pe){var me;return fe<this.head.data.length?(me=this.head.data.slice(0,fe),this.head.data=this.head.data.slice(fe)):fe===this.head.data.length?me=this.shift():me=pe?this._getString(fe):this._getBuffer(fe),me}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(fe){var pe=this.head,me=1,ge=pe.data;for(fe-=ge.length;pe=pe.next;){var Se=pe.data,ye=fe>Se.length?Se.length:fe;if(ye===Se.length?ge+=Se:ge+=Se.slice(0,fe),fe-=ye,fe===0){ye===Se.length?(++me,pe.next?this.head=pe.next:this.head=this.tail=null):(this.head=pe,pe.data=Se.slice(ye));break}++me}return this.length-=me,ge}},{key:"_getBuffer",value:function(fe){var pe=a.allocUnsafe(fe),me=this.head,ge=1;for(me.data.copy(pe),fe-=me.data.length;me=me.next;){var Se=me.data,ye=fe>Se.length?Se.length:fe;if(Se.copy(pe,pe.length-fe,0,ye),fe-=ye,fe===0){ye===Se.length?(++ge,me.next?this.head=me.next:this.head=this.tail=null):(this.head=me,me.data=Se.slice(ye));break}++ge}return this.length-=ge,pe}},{key:b,value:function(fe,pe){return x(this,ne(ne({},pe),{},{depth:0,customInspect:!1}))}}]),te}()},{buffer:90,util:89}],407:[function(E,he,de){(function(se){(function(){"use strict";function ne(re,ee){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(ee?ee(re):re&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,se.nextTick(ae,this,re)):se.nextTick(ae,this,re)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(re||null,function(b){!ee&&b?a._writableState?a._writableState.errorEmitted?se.nextTick(ce,a):(a._writableState.errorEmitted=!0,se.nextTick(ie,a,b)):se.nextTick(ie,a,b):ee?(se.nextTick(ce,a),ee(b)):se.nextTick(ce,a)}),this)}function ie(re,ee){ae(re,ee),ce(re)}function ce(re){re._writableState&&!re._writableState.emitClose||re._readableState&&!re._readableState.emitClose||re.emit("close")}function ue(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ae(re,ee){re.emit("error",ee)}function oe(re,ee){var a=re._readableState,y=re._writableState;a&&a.autoDestroy||y&&y.autoDestroy?re.destroy(ee):re.emit("error",ee)}he.exports={destroy:ne,undestroy:ue,errorOrDestroy:oe}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,he,de){"use strict";var se=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function ne(ae){var oe=!1;return function(){if(!oe){oe=!0;for(var re=arguments.length,ee=new Array(re),a=0;a<re;a++)ee[a]=arguments[a];ae.apply(this,ee)}}}function ie(){}function ce(ae){return ae.setHeader&&typeof ae.abort=="function"}function ue(ae,oe,re){if(typeof oe=="function")return ue(ae,null,oe);oe||(oe={}),re=ne(re||ie);var ee=oe.readable||oe.readable!==!1&&ae.readable,a=oe.writable||oe.writable!==!1&&ae.writable,y=function(){ae.writable||b()},x=ae._writableState&&ae._writableState.finished,b=function(){a=!1,x=!0,ee||re.call(ae)},z=ae._readableState&&ae._readableState.endEmitted,te=function(){ee=!1,z=!0,a||re.call(ae)},le=function(ge){re.call(ae,ge)},fe=function(){var ge;if(ee&&!z)return(!ae._readableState||!ae._readableState.ended)&&(ge=new se),re.call(ae,ge);if(a&&!x)return(!ae._writableState||!ae._writableState.ended)&&(ge=new se),re.call(ae,ge)},pe=function(){ae.req.on("finish",b)};return ce(ae)?(ae.on("complete",b),ae.on("abort",fe),ae.req?pe():ae.on("request",pe)):a&&!ae._writableState&&(ae.on("end",y),ae.on("close",y)),ae.on("end",te),ae.on("finish",b),oe.error!==!1&&ae.on("error",le),ae.on("close",fe),function(){ae.removeListener("complete",b),ae.removeListener("abort",fe),ae.removeListener("request",pe),ae.req&&ae.req.removeListener("finish",b),ae.removeListener("end",y),ae.removeListener("close",y),ae.removeListener("finish",b),ae.removeListener("end",te),ae.removeListener("error",le),ae.removeListener("close",fe)}}he.exports=ue},{"../../../errors":399}],409:[function(E,he,de){he.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(E,he,de){"use strict";var se;function ne(b){var z=!1;return function(){z||(z=!0,b.apply(void 0,arguments))}}var ie=E("../../../errors").codes,ce=ie.ERR_MISSING_ARGS,ue=ie.ERR_STREAM_DESTROYED;function ae(b){if(b)throw b}function oe(b){return b.setHeader&&typeof b.abort=="function"}function re(b,z,te,le){le=ne(le);var fe=!1;b.on("close",function(){fe=!0}),se===void 0&&(se=E("./end-of-stream")),se(b,{readable:z,writable:te},function(me){if(me)return le(me);fe=!0,le()});var pe=!1;return function(me){if(!fe&&!pe){if(pe=!0,oe(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();le(me||new ue("pipe"))}}}function ee(b){b()}function a(b,z){return b.pipe(z)}function y(b){return!b.length||typeof b[b.length-1]!="function"?ae:b.pop()}function x(){for(var b=arguments.length,z=new Array(b),te=0;te<b;te++)z[te]=arguments[te];var le=y(z);if(Array.isArray(z[0])&&(z=z[0]),z.length<2)throw new ce("streams");var fe,pe=z.map(function(me,ge){var Se=ge<z.length-1,ye=ge>0;return re(me,Se,ye,function(Pe){fe||(fe=Pe),Pe&&pe.forEach(ee),!Se&&(pe.forEach(ee),le(fe))})});return z.reduce(a)}he.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,he,de){"use strict";var se=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function ne(ce,ue,ae){return ce.highWaterMark!=null?ce.highWaterMark:ue?ce[ae]:null}function ie(ce,ue,ae,oe){var re=ne(ue,oe,ae);if(re!=null){if(!(isFinite(re)&&Math.floor(re)===re)||re<0){var ee=oe?ae:"highWaterMark";throw new se(ee,re)}return Math.floor(re)}return ce.objectMode?16:16*1024}he.exports={getHighWaterMark:ie}},{"../../../errors":399}],412:[function(E,he,de){arguments[4][393][0].apply(de,arguments)},{dup:393,events:344}],413:[function(E,he,de){"use strict";var se=E("safe-buffer").Buffer,ne=se.isEncoding||function(pe){switch(pe=""+pe,pe&&pe.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ie(pe){if(!pe)return"utf8";for(var me;;)switch(pe){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 pe;default:if(me)return;pe=(""+pe).toLowerCase(),me=!0}}function ce(pe){var me=ie(pe);if(typeof me!="string"&&(se.isEncoding===ne||!ne(pe)))throw new Error("Unknown encoding: "+pe);return me||pe}de.StringDecoder=ue;function ue(pe){this.encoding=ce(pe);var me;switch(this.encoding){case"utf16le":this.text=x,this.end=b,me=4;break;case"utf8":this.fillLast=ee,me=4;break;case"base64":this.text=z,this.end=te,me=3;break;default:this.write=le,this.end=fe;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=se.allocUnsafe(me)}ue.prototype.write=function(pe){if(pe.length===0)return"";var me,ge;if(this.lastNeed){if(me=this.fillLast(pe),me===void 0)return"";ge=this.lastNeed,this.lastNeed=0}else ge=0;return ge<pe.length?me?me+this.text(pe,ge):this.text(pe,ge):me||""},ue.prototype.end=y,ue.prototype.text=a,ue.prototype.fillLast=function(pe){if(this.lastNeed<=pe.length)return pe.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);pe.copy(this.lastChar,this.lastTotal-this.lastNeed,0,pe.length),this.lastNeed-=pe.length};function ae(pe){return pe<=127?0:pe>>5===6?2:pe>>4===14?3:pe>>3===30?4:pe>>6===2?-1:-2}function oe(pe,me,ge){var Se=me.length-1;if(Se<ge)return 0;var ye=ae(me[Se]);return ye>=0?(ye>0&&(pe.lastNeed=ye-1),ye):--Se<ge||ye===-2?0:(ye=ae(me[Se]),ye>=0?(ye>0&&(pe.lastNeed=ye-2),ye):--Se<ge||ye===-2?0:(ye=ae(me[Se]),ye>=0?(ye>0&&(ye===2?ye=0:pe.lastNeed=ye-3),ye):0))}function re(pe,me,ge){if((me[0]&192)!==128)return pe.lastNeed=0,"\uFFFD";if(pe.lastNeed>1&&me.length>1){if((me[1]&192)!==128)return pe.lastNeed=1,"\uFFFD";if(pe.lastNeed>2&&me.length>2&&(me[2]&192)!==128)return pe.lastNeed=2,"\uFFFD"}}function ee(pe){var me=this.lastTotal-this.lastNeed,ge=re(this,pe,me);if(ge!==void 0)return ge;if(this.lastNeed<=pe.length)return pe.copy(this.lastChar,me,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);pe.copy(this.lastChar,me,0,pe.length),this.lastNeed-=pe.length}function a(pe,me){var ge=oe(this,pe,me);if(!this.lastNeed)return pe.toString("utf8",me);this.lastTotal=ge;var Se=pe.length-(ge-this.lastNeed);return pe.copy(this.lastChar,0,Se),pe.toString("utf8",me,Se)}function y(pe){var me=pe&&pe.length?this.write(pe):"";return this.lastNeed?me+"\uFFFD":me}function x(pe,me){if((pe.length-me)%2===0){var ge=pe.toString("utf16le",me);if(ge){var Se=ge.charCodeAt(ge.length-1);if(Se>=55296&&Se<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=pe[pe.length-2],this.lastChar[1]=pe[pe.length-1],ge.slice(0,-1)}return ge}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=pe[pe.length-1],pe.toString("utf16le",me,pe.length-1)}function b(pe){var me=pe&&pe.length?this.write(pe):"";if(this.lastNeed){var ge=this.lastTotal-this.lastNeed;return me+this.lastChar.toString("utf16le",0,ge)}return me}function z(pe,me){var ge=(pe.length-me)%3;return ge===0?pe.toString("base64",me):(this.lastNeed=3-ge,this.lastTotal=3,ge===1?this.lastChar[0]=pe[pe.length-1]:(this.lastChar[0]=pe[pe.length-2],this.lastChar[1]=pe[pe.length-1]),pe.toString("base64",me,pe.length-ge))}function te(pe){var me=pe&&pe.length?this.write(pe):"";return this.lastNeed?me+this.lastChar.toString("base64",0,3-this.lastNeed):me}function le(pe){return pe.toString(this.encoding)}function fe(pe){return pe&&pe.length?this.write(pe):""}},{"safe-buffer":396}],414:[function(E,he,de){(function(se,ne){(function(){var ie=E("process/browser.js").nextTick,ce=Function.prototype.apply,ue=Array.prototype.slice,ae={},oe=0;de.setTimeout=function(){return new re(ce.call(setTimeout,window,arguments),clearTimeout)},de.setInterval=function(){return new re(ce.call(setInterval,window,arguments),clearInterval)},de.clearTimeout=de.clearInterval=function(ee){ee.close()};function re(ee,a){this._id=ee,this._clearFn=a}re.prototype.unref=re.prototype.ref=function(){},re.prototype.close=function(){this._clearFn.call(window,this._id)},de.enroll=function(ee,a){clearTimeout(ee._idleTimeoutId),ee._idleTimeout=a},de.unenroll=function(ee){clearTimeout(ee._idleTimeoutId),ee._idleTimeout=-1},de._unrefActive=de.active=function(ee){clearTimeout(ee._idleTimeoutId);var a=ee._idleTimeout;a>=0&&(ee._idleTimeoutId=setTimeout(function(){ee._onTimeout&&ee._onTimeout()},a))},de.setImmediate=typeof se=="function"?se:function(ee){var a=oe++,y=arguments.length<2?!1:ue.call(arguments,1);return ae[a]=!0,ie(function(){ae[a]&&(y?ee.apply(null,y):ee.call(null),de.clearImmediate(a))}),a},de.clearImmediate=typeof ne=="function"?ne:function(ee){delete ae[ee]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,he,de){var se=E("buffer").Buffer;he.exports=function(ne){if(ne instanceof Uint8Array){if(ne.byteOffset===0&&ne.byteLength===ne.buffer.byteLength)return ne.buffer;if(typeof ne.buffer.slice=="function")return ne.buffer.slice(ne.byteOffset,ne.byteOffset+ne.byteLength)}if(se.isBuffer(ne)){for(var ie=new Uint8Array(ne.length),ce=ne.length,ue=0;ue<ce;ue++)ie[ue]=ne[ue];return ie.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,he,de){(function(se){(function(){he.exports=ne;function ne(ce,ue){if(ie("noDeprecation"))return ce;var ae=!1;function oe(){if(!ae){if(ie("throwDeprecation"))throw new Error(ue);ie("traceDeprecation")?console.trace(ue):console.warn(ue),ae=!0}return ce.apply(this,arguments)}return oe}function ie(ce){try{if(!se.localStorage)return!1}catch(ae){return!1}var ue=se.localStorage[ce];return ue==null?!1:String(ue).toLowerCase()==="true"}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(E,he,de){arguments[4][84][0].apply(de,arguments)},{dup:84}],418:[function(E,he,de){"use strict";var se=E("is-arguments"),ne=E("is-generator-function"),ie=E("which-typed-array"),ce=E("is-typed-array");function ue(Re){return Re.call.bind(Re)}var ae=typeof BigInt!="undefined",oe=typeof Symbol!="undefined",re=ue(Object.prototype.toString),ee=ue(Number.prototype.valueOf),a=ue(String.prototype.valueOf),y=ue(Boolean.prototype.valueOf);if(ae)var x=ue(BigInt.prototype.valueOf);if(oe)var b=ue(Symbol.prototype.valueOf);function z(Re,Ke){if(typeof Re!="object")return!1;try{return Ke(Re),!0}catch(ot){return!1}}de.isArgumentsObject=se,de.isGeneratorFunction=ne,de.isTypedArray=ce;function te(Re){return typeof Promise!="undefined"&&Re instanceof Promise||Re!==null&&typeof Re=="object"&&typeof Re.then=="function"&&typeof Re.catch=="function"}de.isPromise=te;function le(Re){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(Re):ce(Re)||He(Re)}de.isArrayBufferView=le;function fe(Re){return ie(Re)==="Uint8Array"}de.isUint8Array=fe;function pe(Re){return ie(Re)==="Uint8ClampedArray"}de.isUint8ClampedArray=pe;function me(Re){return ie(Re)==="Uint16Array"}de.isUint16Array=me;function ge(Re){return ie(Re)==="Uint32Array"}de.isUint32Array=ge;function Se(Re){return ie(Re)==="Int8Array"}de.isInt8Array=Se;function ye(Re){return ie(Re)==="Int16Array"}de.isInt16Array=ye;function Pe(Re){return ie(Re)==="Int32Array"}de.isInt32Array=Pe;function we(Re){return ie(Re)==="Float32Array"}de.isFloat32Array=we;function De(Re){return ie(Re)==="Float64Array"}de.isFloat64Array=De;function Ee(Re){return ie(Re)==="BigInt64Array"}de.isBigInt64Array=Ee;function Ae(Re){return ie(Re)==="BigUint64Array"}de.isBigUint64Array=Ae;function Ce(Re){return re(Re)==="[object Map]"}Ce.working=typeof Map!="undefined"&&Ce(new Map);function Ie(Re){return typeof Map=="undefined"?!1:Ce.working?Ce(Re):Re instanceof Map}de.isMap=Ie;function Me(Re){return re(Re)==="[object Set]"}Me.working=typeof Set!="undefined"&&Me(new Set);function Ge(Re){return typeof Set=="undefined"?!1:Me.working?Me(Re):Re instanceof Set}de.isSet=Ge;function Be(Re){return re(Re)==="[object WeakMap]"}Be.working=typeof WeakMap!="undefined"&&Be(new WeakMap);function Qe(Re){return typeof WeakMap=="undefined"?!1:Be.working?Be(Re):Re instanceof WeakMap}de.isWeakMap=Qe;function qe(Re){return re(Re)==="[object WeakSet]"}qe.working=typeof WeakSet!="undefined"&&qe(new WeakSet);function Xe(Re){return qe(Re)}de.isWeakSet=Xe;function Ve(Re){return re(Re)==="[object ArrayBuffer]"}Ve.working=typeof ArrayBuffer!="undefined"&&Ve(new ArrayBuffer);function We(Re){return typeof ArrayBuffer=="undefined"?!1:Ve.working?Ve(Re):Re instanceof ArrayBuffer}de.isArrayBuffer=We;function ze(Re){return re(Re)==="[object DataView]"}ze.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&ze(new DataView(new ArrayBuffer(1),0,1));function He(Re){return typeof DataView=="undefined"?!1:ze.working?ze(Re):Re instanceof DataView}de.isDataView=He;var tt=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function Je(Re){return re(Re)==="[object SharedArrayBuffer]"}function ut(Re){return typeof tt=="undefined"?!1:(typeof Je.working=="undefined"&&(Je.working=Je(new tt)),Je.working?Je(Re):Re instanceof tt)}de.isSharedArrayBuffer=ut;function Ye(Re){return re(Re)==="[object AsyncFunction]"}de.isAsyncFunction=Ye;function Ue(Re){return re(Re)==="[object Map Iterator]"}de.isMapIterator=Ue;function je(Re){return re(Re)==="[object Set Iterator]"}de.isSetIterator=je;function $e(Re){return re(Re)==="[object Generator]"}de.isGeneratorObject=$e;function Le(Re){return re(Re)==="[object WebAssembly.Module]"}de.isWebAssemblyCompiledModule=Le;function Ne(Re){return z(Re,ee)}de.isNumberObject=Ne;function et(Re){return z(Re,a)}de.isStringObject=et;function Ze(Re){return z(Re,y)}de.isBooleanObject=Ze;function Fe(Re){return ae&&z(Re,x)}de.isBigIntObject=Fe;function Oe(Re){return oe&&z(Re,b)}de.isSymbolObject=Oe;function Te(Re){return Ne(Re)||et(Re)||Ze(Re)||Fe(Re)||Oe(Re)}de.isBoxedPrimitive=Te;function xe(Re){return typeof Uint8Array!="undefined"&&(We(Re)||ut(Re))}de.isAnyArrayBuffer=xe,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Re){Object.defineProperty(de,Re,{enumerable:!1,value:function(){throw new Error(Re+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,he,de){(function(se){(function(){var ne=Object.getOwnPropertyDescriptors||function(tt){for(var Je=Object.keys(tt),ut={},Ye=0;Ye<Je.length;Ye++)ut[Je[Ye]]=Object.getOwnPropertyDescriptor(tt,Je[Ye]);return ut},ie=/%[sdj%]/g;de.format=function(He){if(!ye(He)){for(var tt=[],Je=0;Je<arguments.length;Je++)tt.push(oe(arguments[Je]));return tt.join(" ")}for(var Je=1,ut=arguments,Ye=ut.length,Ue=String(He).replace(ie,function($e){if($e==="%%")return"%";if(Je>=Ye)return $e;switch($e){case"%s":return String(ut[Je++]);case"%d":return Number(ut[Je++]);case"%j":try{return JSON.stringify(ut[Je++])}catch(Le){return"[Circular]"}default:return $e}}),je=ut[Je];Je<Ye;je=ut[++Je])me(je)||!Ee(je)?Ue+=" "+je:Ue+=" "+oe(je);return Ue},de.deprecate=function(He,tt){if(typeof se!="undefined"&&se.noDeprecation===!0)return He;if(typeof se=="undefined")return function(){return de.deprecate(He,tt).apply(this,arguments)};var Je=!1;function ut(){if(!Je){if(se.throwDeprecation)throw new Error(tt);se.traceDeprecation?console.trace(tt):console.error(tt),Je=!0}return He.apply(this,arguments)}return ut};var ce={},ue=/^$/;if(se.env.NODE_DEBUG){var ae=se.env.NODE_DEBUG;ae=ae.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ue=new RegExp("^"+ae+"$","i")}de.debuglog=function(He){if(He=He.toUpperCase(),!ce[He])if(ue.test(He)){var tt=se.pid;ce[He]=function(){var Je=de.format.apply(de,arguments);console.error("%s %d: %s",He,tt,Je)}}else ce[He]=function(){};return ce[He]};function oe(He,tt){var Je={seen:[],stylize:ee};return arguments.length>=3&&(Je.depth=arguments[2]),arguments.length>=4&&(Je.colors=arguments[3]),pe(tt)?Je.showHidden=tt:tt&&de._extend(Je,tt),we(Je.showHidden)&&(Je.showHidden=!1),we(Je.depth)&&(Je.depth=2),we(Je.colors)&&(Je.colors=!1),we(Je.customInspect)&&(Je.customInspect=!0),Je.colors&&(Je.stylize=re),y(Je,He,Je.depth)}de.inspect=oe,oe.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]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function re(He,tt){var Je=oe.styles[tt];return Je?"\x1B["+oe.colors[Je][0]+"m"+He+"\x1B["+oe.colors[Je][1]+"m":He}function ee(He,tt){return He}function a(He){var tt={};return He.forEach(function(Je,ut){tt[Je]=!0}),tt}function y(He,tt,Je){if(He.customInspect&&tt&&Ie(tt.inspect)&&tt.inspect!==de.inspect&&!(tt.constructor&&tt.constructor.prototype===tt)){var ut=tt.inspect(Je,He);return ye(ut)||(ut=y(He,ut,Je)),ut}var Ye=x(He,tt);if(Ye)return Ye;var Ue=Object.keys(tt),je=a(Ue);if(He.showHidden&&(Ue=Object.getOwnPropertyNames(tt)),Ce(tt)&&(Ue.indexOf("message")>=0||Ue.indexOf("description")>=0))return b(tt);if(Ue.length===0){if(Ie(tt)){var $e=tt.name?": "+tt.name:"";return He.stylize("[Function"+$e+"]","special")}if(De(tt))return He.stylize(RegExp.prototype.toString.call(tt),"regexp");if(Ae(tt))return He.stylize(Date.prototype.toString.call(tt),"date");if(Ce(tt))return b(tt)}var Le="",Ne=!1,et=["{","}"];if(fe(tt)&&(Ne=!0,et=["[","]"]),Ie(tt)){var Ze=tt.name?": "+tt.name:"";Le=" [Function"+Ze+"]"}if(De(tt)&&(Le=" "+RegExp.prototype.toString.call(tt)),Ae(tt)&&(Le=" "+Date.prototype.toUTCString.call(tt)),Ce(tt)&&(Le=" "+b(tt)),Ue.length===0&&(!Ne||tt.length==0))return et[0]+Le+et[1];if(Je<0)return De(tt)?He.stylize(RegExp.prototype.toString.call(tt),"regexp"):He.stylize("[Object]","special");He.seen.push(tt);var Fe;return Ne?Fe=z(He,tt,Je,je,Ue):Fe=Ue.map(function(Oe){return te(He,tt,Je,je,Oe,Ne)}),He.seen.pop(),le(Fe,Le,et)}function x(He,tt){if(we(tt))return He.stylize("undefined","undefined");if(ye(tt)){var Je="'"+JSON.stringify(tt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return He.stylize(Je,"string")}if(Se(tt))return He.stylize(""+tt,"number");if(pe(tt))return He.stylize(""+tt,"boolean");if(me(tt))return He.stylize("null","null")}function b(He){return"["+Error.prototype.toString.call(He)+"]"}function z(He,tt,Je,ut,Ye){for(var Ue=[],je=0,$e=tt.length;je<$e;++je)Xe(tt,String(je))?Ue.push(te(He,tt,Je,ut,String(je),!0)):Ue.push("");return Ye.forEach(function(Le){Le.match(/^\d+$/)||Ue.push(te(He,tt,Je,ut,Le,!0))}),Ue}function te(He,tt,Je,ut,Ye,Ue){var je,$e,Le;if(Le=Object.getOwnPropertyDescriptor(tt,Ye)||{value:tt[Ye]},Le.get?Le.set?$e=He.stylize("[Getter/Setter]","special"):$e=He.stylize("[Getter]","special"):Le.set&&($e=He.stylize("[Setter]","special")),Xe(ut,Ye)||(je="["+Ye+"]"),$e||(He.seen.indexOf(Le.value)<0?(me(Je)?$e=y(He,Le.value,null):$e=y(He,Le.value,Je-1),$e.indexOf(`
|
|
|
`)>-1&&(Ue?$e=$e.split(`
|
|
|
`).map(function(Ne){return" "+Ne}).join(`
|
|
|
`).slice(2):$e=`
|
|
|
`+$e.split(`
|
|
|
`).map(function(Ne){return" "+Ne}).join(`
|
|
|
`))):$e=He.stylize("[Circular]","special")),we(je)){if(Ue&&Ye.match(/^\d+$/))return $e;je=JSON.stringify(""+Ye),je.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(je=je.slice(1,-1),je=He.stylize(je,"name")):(je=je.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),je=He.stylize(je,"string"))}return je+": "+$e}function le(He,tt,Je){var ut=0,Ye=He.reduce(function(Ue,je){return ut++,je.indexOf(`
|
|
|
`)>=0&&ut++,Ue+je.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ye>60?Je[0]+(tt===""?"":tt+`
|
|
|
`)+" "+He.join(`,
|
|
|
`)+" "+Je[1]:Je[0]+tt+" "+He.join(", ")+" "+Je[1]}de.types=E("./support/types");function fe(He){return Array.isArray(He)}de.isArray=fe;function pe(He){return typeof He=="boolean"}de.isBoolean=pe;function me(He){return He===null}de.isNull=me;function ge(He){return He==null}de.isNullOrUndefined=ge;function Se(He){return typeof He=="number"}de.isNumber=Se;function ye(He){return typeof He=="string"}de.isString=ye;function Pe(He){return typeof He=="symbol"}de.isSymbol=Pe;function we(He){return He===void 0}de.isUndefined=we;function De(He){return Ee(He)&&Ge(He)==="[object RegExp]"}de.isRegExp=De,de.types.isRegExp=De;function Ee(He){return typeof He=="object"&&He!==null}de.isObject=Ee;function Ae(He){return Ee(He)&&Ge(He)==="[object Date]"}de.isDate=Ae,de.types.isDate=Ae;function Ce(He){return Ee(He)&&(Ge(He)==="[object Error]"||He instanceof Error)}de.isError=Ce,de.types.isNativeError=Ce;function Ie(He){return typeof He=="function"}de.isFunction=Ie;function Me(He){return He===null||typeof He=="boolean"||typeof He=="number"||typeof He=="string"||typeof He=="symbol"||typeof He=="undefined"}de.isPrimitive=Me,de.isBuffer=E("./support/isBuffer");function Ge(He){return Object.prototype.toString.call(He)}function Be(He){return He<10?"0"+He.toString(10):He.toString(10)}var Qe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function qe(){var He=new Date,tt=[Be(He.getHours()),Be(He.getMinutes()),Be(He.getSeconds())].join(":");return[He.getDate(),Qe[He.getMonth()],tt].join(" ")}de.log=function(){console.log("%s - %s",qe(),de.format.apply(de,arguments))},de.inherits=E("inherits"),de._extend=function(He,tt){if(!tt||!Ee(tt))return He;for(var Je=Object.keys(tt),ut=Je.length;ut--;)He[Je[ut]]=tt[Je[ut]];return He};function Xe(He,tt){return Object.prototype.hasOwnProperty.call(He,tt)}var Ve=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;de.promisify=function(tt){if(typeof tt!="function")throw new TypeError('The "original" argument must be of type Function');if(Ve&&tt[Ve]){var Je=tt[Ve];if(typeof Je!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Je,Ve,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Je}function Je(){for(var ut,Ye,Ue=new Promise(function(Le,Ne){ut=Le,Ye=Ne}),je=[],$e=0;$e<arguments.length;$e++)je.push(arguments[$e]);je.push(function(Le,Ne){Le?Ye(Le):ut(Ne)});try{tt.apply(this,je)}catch(Le){Ye(Le)}return Ue}return Object.setPrototypeOf(Je,Object.getPrototypeOf(tt)),Ve&&Object.defineProperty(Je,Ve,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Je,ne(tt))},de.promisify.custom=Ve;function We(He,tt){if(!He){var Je=new Error("Promise was rejected with a falsy value");Je.reason=He,He=Je}return tt(He)}function ze(He){if(typeof He!="function")throw new TypeError('The "original" argument must be of type Function');function tt(){for(var Je=[],ut=0;ut<arguments.length;ut++)Je.push(arguments[ut]);var Ye=Je.pop();if(typeof Ye!="function")throw new TypeError("The last argument must be of type Function");var Ue=this,je=function(){return Ye.apply(Ue,arguments)};He.apply(this,Je).then(function($e){se.nextTick(je.bind(null,null,$e))},function($e){se.nextTick(We.bind(null,$e,je))})}return Object.setPrototypeOf(tt,Object.getPrototypeOf(He)),Object.defineProperties(tt,ne(He)),tt}de.callbackify=ze}).call(this)}).call(this,E("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(E,he,de){(function(se){(function(){"use strict";var ne=E("for-each"),ie=E("available-typed-arrays"),ce=E("call-bind"),ue=E("call-bind/callBound"),ae=E("gopd"),oe=ue("Object.prototype.toString"),re=E("has-tostringtag/shams")(),ee=typeof globalThis=="undefined"?se:globalThis,a=ie(),y=ue("String.prototype.slice"),x=Object.getPrototypeOf,b=ue("Array.prototype.indexOf",!0)||function(pe,me){for(var ge=0;ge<pe.length;ge+=1)if(pe[ge]===me)return ge;return-1},z={__proto__:null};re&&ae&&x?ne(a,function(fe){var pe=new ee[fe];if(Symbol.toStringTag in pe){var me=x(pe),ge=ae(me,Symbol.toStringTag);if(!ge){var Se=x(me);ge=ae(Se,Symbol.toStringTag)}z["$"+fe]=ce(ge.get)}}):ne(a,function(fe){var pe=new ee[fe];z["$"+fe]=ce(pe.slice)});var te=function(pe){var me=!1;return ne(z,function(ge,Se){if(!me)try{"$"+ge(pe)===Se&&(me=y(Se,1))}catch(ye){}}),me},le=function(pe){var me=!1;return ne(z,function(ge,Se){if(!me)try{ge(pe),me=y(Se,1)}catch(ye){}}),me};he.exports=function(pe){if(!pe||typeof pe!="object")return!1;if(!re){var me=y(oe(pe),8,-1);return b(a,me)>-1?me:me!=="Object"?!1:le(pe)}return ae?te(pe):null}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,he,de){(function(){"use strict";de.stripBOM=function(se){return se[0]==="\uFEFF"?se.substring(1):se}}).call(this)},{}],422:[function(E,he,de){(function(){"use strict";var se,ne,ie,ce,ue,ae={}.hasOwnProperty;se=E("xmlbuilder"),ne=E("./defaults").defaults,ce=function(oe){return typeof oe=="string"&&(oe.indexOf("&")>=0||oe.indexOf(">")>=0||oe.indexOf("<")>=0)},ue=function(oe){return"<![CDATA["+ie(oe)+"]]>"},ie=function(oe){return oe.replace("]]>","]]]]><![CDATA[>")},de.Builder=function(){function oe(re){var ee,a,y;this.options={},a=ne["0.2"];for(ee in a)ae.call(a,ee)&&(y=a[ee],this.options[ee]=y);for(ee in re)ae.call(re,ee)&&(y=re[ee],this.options[ee]=y)}return oe.prototype.buildObject=function(re){var ee,a,y,x,b;return ee=this.options.attrkey,a=this.options.charkey,Object.keys(re).length===1&&this.options.rootName===ne["0.2"].rootName?(b=Object.keys(re)[0],re=re[b]):b=this.options.rootName,y=function(z){return function(te,le){var fe,pe,me,ge,Se,ye;if(typeof le!="object")z.options.cdata&&ce(le)?te.raw(ue(le)):te.txt(le);else if(Array.isArray(le)){for(ge in le)if(ae.call(le,ge)){pe=le[ge];for(Se in pe)me=pe[Se],te=y(te.ele(Se),me).up()}}else for(Se in le)if(ae.call(le,Se))if(pe=le[Se],Se===ee){if(typeof pe=="object")for(fe in pe)ye=pe[fe],te=te.att(fe,ye)}else if(Se===a)z.options.cdata&&ce(pe)?te=te.raw(ue(pe)):te=te.txt(pe);else if(Array.isArray(pe))for(ge in pe)ae.call(pe,ge)&&(me=pe[ge],typeof me=="string"?z.options.cdata&&ce(me)?te=te.ele(Se).raw(ue(me)).up():te=te.ele(Se,me).up():te=y(te.ele(Se),me).up());else typeof pe=="object"?te=y(te.ele(Se),pe).up():typeof pe=="string"&&z.options.cdata&&ce(pe)?te=te.ele(Se).raw(ue(pe)).up():(pe==null&&(pe=""),te=te.ele(Se,pe.toString()).up());return te}}(this),x=se.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,re).end(this.options.renderOpts)},oe}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,he,de){(function(){de.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
|
|
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,he,de){(function(){"use strict";var se,ne,ie,ce,ue,ae,oe,re,ee,a=function(b,z){return function(){return b.apply(z,arguments)}},y=function(b,z){for(var te in z)x.call(z,te)&&(b[te]=z[te]);function le(){this.constructor=b}return le.prototype=z.prototype,b.prototype=new le,b.__super__=z.prototype,b},x={}.hasOwnProperty;re=E("sax"),ce=E("events"),se=E("./bom"),oe=E("./processors"),ee=E("timers").setImmediate,ne=E("./defaults").defaults,ue=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ae=function(b,z,te){var le,fe,pe;for(le=0,fe=b.length;le<fe;le++)pe=b[le],z=pe(z,te);return z},ie=function(b,z,te){var le;return le=Object.create(null),le.value=te,le.writable=!0,le.enumerable=!0,le.configurable=!0,Object.defineProperty(b,z,le)},de.Parser=function(b){y(z,b);function z(te){this.parseStringPromise=a(this.parseStringPromise,this),this.parseString=a(this.parseString,this),this.reset=a(this.reset,this),this.assignOrPush=a(this.assignOrPush,this),this.processAsync=a(this.processAsync,this);var le,fe,pe;if(!(this instanceof de.Parser))return new de.Parser(te);this.options={},fe=ne["0.2"];for(le in fe)x.call(fe,le)&&(pe=fe[le],this.options[le]=pe);for(le in te)x.call(te,le)&&(pe=te[le],this.options[le]=pe);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(oe.normalize)),this.reset()}return z.prototype.processAsync=function(){var te,le;try{return this.remaining.length<=this.options.chunkSize?(te=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(te),this.saxParser.close()):(te=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(te),ee(this.processAsync))}catch(fe){if(le=fe,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(le)}},z.prototype.assignOrPush=function(te,le,fe){return le in te?(te[le]instanceof Array||ie(te,le,[te[le]]),te[le].push(fe)):this.options.explicitArray?ie(te,le,[fe]):ie(te,le,fe)},z.prototype.reset=function(){var te,le,fe,pe;return this.removeAllListeners(),this.saxParser=re.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(me){return function(ge){if(me.saxParser.resume(),!me.saxParser.errThrown)return me.saxParser.errThrown=!0,me.emit("error",ge)}}(this),this.saxParser.onend=function(me){return function(){if(!me.saxParser.ended)return me.saxParser.ended=!0,me.emit("end",me.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,pe=[],te=this.options.attrkey,le=this.options.charkey,this.saxParser.onopentag=function(me){return function(ge){var Se,ye,Pe,we,De;if(Pe={},Pe[le]="",!me.options.ignoreAttrs){De=ge.attributes;for(Se in De)x.call(De,Se)&&(!(te in Pe)&&!me.options.mergeAttrs&&(Pe[te]={}),ye=me.options.attrValueProcessors?ae(me.options.attrValueProcessors,ge.attributes[Se],Se):ge.attributes[Se],we=me.options.attrNameProcessors?ae(me.options.attrNameProcessors,Se):Se,me.options.mergeAttrs?me.assignOrPush(Pe,we,ye):ie(Pe[te],we,ye))}return Pe["#name"]=me.options.tagNameProcessors?ae(me.options.tagNameProcessors,ge.name):ge.name,me.options.xmlns&&(Pe[me.options.xmlnskey]={uri:ge.uri,local:ge.local}),pe.push(Pe)}}(this),this.saxParser.onclosetag=function(me){return function(){var ge,Se,ye,Pe,we,De,Ee,Ae,Ce,Ie;if(De=pe.pop(),we=De["#name"],(!me.options.explicitChildren||!me.options.preserveChildrenOrder)&&delete De["#name"],De.cdata===!0&&(ge=De.cdata,delete De.cdata),Ce=pe[pe.length-1],De[le].match(/^\s*$/)&&!ge?(Se=De[le],delete De[le]):(me.options.trim&&(De[le]=De[le].trim()),me.options.normalize&&(De[le]=De[le].replace(/\s{2,}/g," ").trim()),De[le]=me.options.valueProcessors?ae(me.options.valueProcessors,De[le],we):De[le],Object.keys(De).length===1&&le in De&&!me.EXPLICIT_CHARKEY&&(De=De[le])),ue(De)&&(typeof me.options.emptyTag=="function"?De=me.options.emptyTag():De=me.options.emptyTag!==""?me.options.emptyTag:Se),me.options.validator!=null&&(Ie="/"+function(){var Me,Ge,Be;for(Be=[],Me=0,Ge=pe.length;Me<Ge;Me++)Pe=pe[Me],Be.push(Pe["#name"]);return Be}().concat(we).join("/"),function(){var Me;try{return De=me.options.validator(Ie,Ce&&Ce[we],De)}catch(Ge){return Me=Ge,me.emit("error",Me)}}()),me.options.explicitChildren&&!me.options.mergeAttrs&&typeof De=="object"){if(!me.options.preserveChildrenOrder)Pe={},me.options.attrkey in De&&(Pe[me.options.attrkey]=De[me.options.attrkey],delete De[me.options.attrkey]),!me.options.charsAsChildren&&me.options.charkey in De&&(Pe[me.options.charkey]=De[me.options.charkey],delete De[me.options.charkey]),Object.getOwnPropertyNames(De).length>0&&(Pe[me.options.childkey]=De),De=Pe;else if(Ce){Ce[me.options.childkey]=Ce[me.options.childkey]||[],Ee={};for(ye in De)x.call(De,ye)&&ie(Ee,ye,De[ye]);Ce[me.options.childkey].push(Ee),delete De["#name"],Object.keys(De).length===1&&le in De&&!me.EXPLICIT_CHARKEY&&(De=De[le])}}return pe.length>0?me.assignOrPush(Ce,we,De):(me.options.explicitRoot&&(Ae=De,De={},ie(De,we,Ae)),me.resultObject=De,me.saxParser.ended=!0,me.emit("end",me.resultObject))}}(this),fe=function(me){return function(ge){var Se,ye;if(ye=pe[pe.length-1],ye)return ye[le]+=ge,me.options.explicitChildren&&me.options.preserveChildrenOrder&&me.options.charsAsChildren&&(me.options.includeWhiteChars||ge.replace(/\\n/g,"").trim()!=="")&&(ye[me.options.childkey]=ye[me.options.childkey]||[],Se={"#name":"__text__"},Se[le]=ge,me.options.normalize&&(Se[le]=Se[le].replace(/\s{2,}/g," ").trim()),ye[me.options.childkey].push(Se)),ye}}(this),this.saxParser.ontext=fe,this.saxParser.oncdata=function(me){return function(ge){var Se;if(Se=fe(ge),Se)return Se.cdata=!0}}(this)},z.prototype.parseString=function(te,le){var fe;le!=null&&typeof le=="function"&&(this.on("end",function(pe){return this.reset(),le(null,pe)}),this.on("error",function(pe){return this.reset(),le(pe)}));try{return te=te.toString(),te.trim()===""?(this.emit("end",null),!0):(te=se.stripBOM(te),this.options.async?(this.remaining=te,ee(this.processAsync),this.saxParser):this.saxParser.write(te).close())}catch(pe){if(fe=pe,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw fe}else return this.emit("error",fe),this.saxParser.errThrown=!0}},z.prototype.parseStringPromise=function(te){return new Promise(function(le){return function(fe,pe){return le.parseString(te,function(me,ge){return me?pe(me):fe(ge)})}}(this))},z}(ce),de.parseString=function(b,z,te){var le,fe,pe;return te!=null?(typeof te=="function"&&(le=te),typeof z=="object"&&(fe=z)):(typeof z=="function"&&(le=z),fe={}),pe=new de.Parser(fe),pe.parseString(b,le)},de.parseStringPromise=function(b,z){var te,le;return typeof z=="object"&&(te=z),le=new de.Parser(te),le.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,he,de){(function(){"use strict";var se;se=new RegExp(/(?!xmlns)^.*:/),de.normalize=function(ne){return ne.toLowerCase()},de.firstCharLowerCase=function(ne){return ne.charAt(0).toLowerCase()+ne.slice(1)},de.stripPrefix=function(ne){return ne.replace(se,"")},de.parseNumbers=function(ne){return isNaN(ne)||(ne=ne%1===0?parseInt(ne,10):parseFloat(ne)),ne},de.parseBooleans=function(ne){return/^(?:true|false)$/i.test(ne)&&(ne=ne.toLowerCase()==="true"),ne}}).call(this)},{}],426:[function(E,he,de){(function(){"use strict";var se,ne,ie,ce,ue=function(oe,re){for(var ee in re)ae.call(re,ee)&&(oe[ee]=re[ee]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ae={}.hasOwnProperty;ne=E("./defaults"),se=E("./builder"),ie=E("./parser"),ce=E("./processors"),de.defaults=ne.defaults,de.processors=ce,de.ValidationError=function(oe){ue(re,oe);function re(ee){this.message=ee}return re}(Error),de.Builder=se.Builder,de.Parser=ie.Parser,de.parseString=ie.parseString,de.parseStringPromise=ie.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,he,de){(function(){he.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,he,de){(function(){he.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(E,he,de){(function(){var se,ne,ie,ce,ue,ae,oe,re=[].slice,ee={}.hasOwnProperty;se=function(){var a,y,x,b,z,te;if(te=arguments[0],z=2<=arguments.length?re.call(arguments,1):[],ue(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=z.length;a<x;a++)if(b=z[a],b!=null)for(y in b)ee.call(b,y)&&(te[y]=b[y]);return te},ue=function(a){return!!a&&Object.prototype.toString.call(a)==="[object Function]"},ae=function(a){var y;return!!a&&((y=typeof a)=="function"||y==="object")},ie=function(a){return ue(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},ce=function(a){var y;if(ie(a))return!a.length;for(y in a)if(ee.call(a,y))return!1;return!0},oe=function(a){var y,x;return ae(a)&&(x=Object.getPrototypeOf(a))&&(y=x.constructor)&&typeof y=="function"&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},ne=function(a){return ue(a.valueOf)?a.valueOf():a},he.exports.assign=se,he.exports.isFunction=ue,he.exports.isObject=ae,he.exports.isArray=ie,he.exports.isEmpty=ce,he.exports.isPlainObject=oe,he.exports.getValue=ne}).call(this)},{}],430:[function(E,he,de){(function(){he.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(E,he,de){(function(){var se,ne,ie;se=E("./NodeType"),ie=E("./XMLNode"),he.exports=ne=function(){function ce(ue,ae,oe){if(this.parent=ue,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),ae==null)throw new Error("Missing attribute name. "+this.debugInfo(ae));this.name=this.stringify.name(ae),this.value=this.stringify.attValue(oe),this.type=se.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(ce.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(ce.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(ce.prototype,"textContent",{get:function(){return this.value},set:function(ue){return this.value=ue||""}}),Object.defineProperty(ce.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(ce.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(ce.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(ce.prototype,"specified",{get:function(){return!0}}),ce.prototype.clone=function(){return Object.create(this)},ce.prototype.toString=function(ue){return this.options.writer.attribute(this,this.options.writer.filterOptions(ue))},ce.prototype.debugInfo=function(ue){return ue=ue||this.name,ue==null?"parent: <"+this.parent.name+">":"attribute: {"+ue+"}, parent: <"+this.parent.name+">"},ce.prototype.isEqualNode=function(ue){return!(ue.namespaceURI!==this.namespaceURI||ue.prefix!==this.prefix||ue.localName!==this.localName||ue.value!==this.value)},ce}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,he,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ie=E("./XMLCharacterData"),he.exports=ne=function(ae){ce(oe,ae);function oe(re,ee){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=se.CData,this.value=this.stringify.cdata(ee)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.cdata(this,this.options.writer.filterOptions(re))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,he,de){(function(){var se,ne,ie=function(ue,ae){for(var oe in ae)ce.call(ae,oe)&&(ue[oe]=ae[oe]);function re(){this.constructor=ue}return re.prototype=ae.prototype,ue.prototype=new re,ue.__super__=ae.prototype,ue},ce={}.hasOwnProperty;ne=E("./XMLNode"),he.exports=se=function(ue){ie(ae,ue);function ae(oe){ae.__super__.constructor.call(this,oe),this.value=""}return Object.defineProperty(ae.prototype,"data",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),Object.defineProperty(ae.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ae.prototype,"textContent",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),ae.prototype.clone=function(){return Object.create(this)},ae.prototype.substringData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.appendData=function(oe){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.insertData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.deleteData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.replaceData=function(oe,re,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.isEqualNode=function(oe){return!(!ae.__super__.isEqualNode.apply(this,arguments).isEqualNode(oe)||oe.data!==this.data)},ae}(ne)}).call(this)},{"./XMLNode":450}],434:[function(E,he,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ne=E("./XMLCharacterData"),he.exports=ie=function(ae){ce(oe,ae);function oe(re,ee){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=se.Comment,this.value=this.stringify.comment(ee)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.comment(this,this.options.writer.filterOptions(re))},oe}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,he,de){(function(){var se,ne,ie;ne=E("./XMLDOMErrorHandler"),ie=E("./XMLDOMStringList"),he.exports=se=function(){function ce(){var ue;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new ne,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=ue=Object.create(this.defaultParams)}return Object.defineProperty(ce.prototype,"parameterNames",{get:function(){return new ie(Object.keys(this.defaultParams))}}),ce.prototype.getParameter=function(ue){return this.params.hasOwnProperty(ue)?this.params[ue]:null},ce.prototype.canSetParameter=function(ue,ae){return!0},ce.prototype.setParameter=function(ue,ae){return ae!=null?this.params[ue]=ae:delete this.params[ue]},ce}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,he,de){(function(){var se;he.exports=se=function(){function ne(){}return ne.prototype.handleError=function(ie){throw new Error(ie)},ne}()}).call(this)},{}],437:[function(E,he,de){(function(){var se;he.exports=se=function(){function ne(){}return ne.prototype.hasFeature=function(ie,ce){return!0},ne.prototype.createDocumentType=function(ie,ce,ue){throw new Error("This DOM method is not implemented.")},ne.prototype.createDocument=function(ie,ce,ue){throw new Error("This DOM method is not implemented.")},ne.prototype.createHTMLDocument=function(ie){throw new Error("This DOM method is not implemented.")},ne.prototype.getFeature=function(ie,ce){throw new Error("This DOM method is not implemented.")},ne}()}).call(this)},{}],438:[function(E,he,de){(function(){var se;he.exports=se=function(){function ne(ie){this.arr=ie||[]}return Object.defineProperty(ne.prototype,"length",{get:function(){return this.arr.length}}),ne.prototype.item=function(ie){return this.arr[ie]||null},ne.prototype.contains=function(ie){return this.arr.indexOf(ie)!==-1},ne}()}).call(this)},{}],439:[function(E,he,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=ne=function(ae){ce(oe,ae);function oe(re,ee,a,y,x,b){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ee));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(ee));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(ee));if(x.indexOf("#")!==0&&(x="#"+x),!x.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(ee));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ee));this.elementName=this.stringify.name(ee),this.type=se.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return oe.prototype.toString=function(re){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(re))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,he,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=ne=function(ae){ce(oe,ae);function oe(re,ee,a){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(ee),this.type=se.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return oe.prototype.toString=function(re){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(re))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,he,de){(function(){var se,ne,ie,ce,ue=function(oe,re){for(var ee in re)ae.call(re,ee)&&(oe[ee]=re[ee]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ae={}.hasOwnProperty;ce=E("./Utility").isObject,ie=E("./XMLNode"),se=E("./NodeType"),he.exports=ne=function(oe){ue(re,oe);function re(ee,a,y,x){if(re.__super__.constructor.call(this,ee),y==null)throw new Error("Missing DTD entity name. "+this.debugInfo(y));if(x==null)throw new Error("Missing DTD entity value. "+this.debugInfo(y));if(this.pe=!!a,this.name=this.stringify.name(y),this.type=se.EntityDeclaration,!ce(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(re.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(re.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(re.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(re.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(re.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(re.prototype,"xmlVersion",{get:function(){return null}}),re.prototype.toString=function(ee){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ee))},re}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,he,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=ne=function(ae){ce(oe,ae);function oe(re,ee,a){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ee));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ee));this.name=this.stringify.name(ee),this.type=se.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(oe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(oe.prototype,"systemId",{get:function(){return this.sysID}}),oe.prototype.toString=function(re){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(re))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,he,de){(function(){var se,ne,ie,ce,ue=function(oe,re){for(var ee in re)ae.call(re,ee)&&(oe[ee]=re[ee]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ae={}.hasOwnProperty;ce=E("./Utility").isObject,ie=E("./XMLNode"),se=E("./NodeType"),he.exports=ne=function(oe){ue(re,oe);function re(ee,a,y,x){var b;re.__super__.constructor.call(this,ee),ce(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=se.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return re.prototype.toString=function(ee){return this.options.writer.declaration(this,this.options.writer.filterOptions(ee))},re}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,he,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,ee,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;ee=E("./Utility").isObject,re=E("./XMLNode"),se=E("./NodeType"),ne=E("./XMLDTDAttList"),ce=E("./XMLDTDEntity"),ie=E("./XMLDTDElement"),ue=E("./XMLDTDNotation"),oe=E("./XMLNamedNodeMap"),he.exports=ae=function(x){a(b,x);function b(z,te,le){var fe,pe,me,ge,Se,ye;if(b.__super__.constructor.call(this,z),this.type=se.DocType,z.children){for(ge=z.children,pe=0,me=ge.length;pe<me;pe++)if(fe=ge[pe],fe.type===se.Element){this.name=fe.name;break}}this.documentObject=z,ee(te)&&(Se=te,te=Se.pubID,le=Se.sysID),le==null&&(ye=[te,le],le=ye[0],te=ye[1]),te!=null&&(this.pubID=this.stringify.dtdPubID(te)),le!=null&&(this.sysID=this.stringify.dtdSysID(le))}return Object.defineProperty(b.prototype,"entities",{get:function(){var z,te,le,fe,pe;for(fe={},pe=this.children,te=0,le=pe.length;te<le;te++)z=pe[te],z.type===se.EntityDeclaration&&!z.pe&&(fe[z.name]=z);return new oe(fe)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var z,te,le,fe,pe;for(fe={},pe=this.children,te=0,le=pe.length;te<le;te++)z=pe[te],z.type===se.NotationDeclaration&&(fe[z.name]=z);return new oe(fe)}}),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(b.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),b.prototype.element=function(z,te){var le;return le=new ie(this,z,te),this.children.push(le),this},b.prototype.attList=function(z,te,le,fe,pe){var me;return me=new ne(this,z,te,le,fe,pe),this.children.push(me),this},b.prototype.entity=function(z,te){var le;return le=new ce(this,!1,z,te),this.children.push(le),this},b.prototype.pEntity=function(z,te){var le;return le=new ce(this,!0,z,te),this.children.push(le),this},b.prototype.notation=function(z,te){var le;return le=new ue(this,z,te),this.children.push(le),this},b.prototype.toString=function(z){return this.options.writer.docType(this,this.options.writer.filterOptions(z))},b.prototype.ele=function(z,te){return this.element(z,te)},b.prototype.att=function(z,te,le,fe,pe){return this.attList(z,te,le,fe,pe)},b.prototype.ent=function(z,te){return this.entity(z,te)},b.prototype.pent=function(z,te){return this.pEntity(z,te)},b.prototype.not=function(z,te){return this.notation(z,te)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(z){return!(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(z)||z.name!==this.name||z.publicId!==this.publicId||z.systemId!==this.systemId)},b}(re)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(E,he,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,ee=function(y,x){for(var b in x)a.call(x,b)&&(y[b]=x[b]);function z(){this.constructor=y}return z.prototype=x.prototype,y.prototype=new z,y.__super__=x.prototype,y},a={}.hasOwnProperty;re=E("./Utility").isPlainObject,ie=E("./XMLDOMImplementation"),ne=E("./XMLDOMConfiguration"),ue=E("./XMLNode"),se=E("./NodeType"),oe=E("./XMLStringifier"),ae=E("./XMLStringWriter"),he.exports=ce=function(y){ee(x,y);function x(b){x.__super__.constructor.call(this,null),this.name="#document",this.type=se.Document,this.documentURI=null,this.domConfig=new ne,b||(b={}),b.writer||(b.writer=new ae),this.options=b,this.stringify=new oe(b)}return Object.defineProperty(x.prototype,"implementation",{value:new ie}),Object.defineProperty(x.prototype,"doctype",{get:function(){var b,z,te,le;for(le=this.children,z=0,te=le.length;z<te;z++)if(b=le[z],b.type===se.DocType)return b;return null}}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(x.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(x.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===se.Declaration?this.children[0].encoding:null}}),Object.defineProperty(x.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===se.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(x.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===se.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(x.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(x.prototype,"origin",{get:function(){return null}}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(x.prototype,"contentType",{get:function(){return null}}),x.prototype.end=function(b){var z;return z={},b?re(b)&&(z=b,b=this.options.writer):b=this.options.writer,b.document(this,b.filterOptions(z))},x.prototype.toString=function(b){return this.options.writer.document(this,this.options.writer.filterOptions(b))},x.prototype.createElement=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTextNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createComment=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createCDATASection=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createProcessingInstruction=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttribute=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEntityReference=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.importNode=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createElementNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttributeNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagNameNS=function(b,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementById=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.adoptNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.renameNode=function(b,z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByClassName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEvent=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createNodeIterator=function(b,z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTreeWalker=function(b,z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(E,he,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,ee,a,y,x,b,z,te,le,fe,pe,me,ge,Se,ye,Pe,we,De={}.hasOwnProperty;we=E("./Utility"),ye=we.isObject,Se=we.isFunction,Pe=we.isPlainObject,ge=we.getValue,se=E("./NodeType"),x=E("./XMLDocument"),z=E("./XMLElement"),ce=E("./XMLCData"),ue=E("./XMLComment"),le=E("./XMLRaw"),me=E("./XMLText"),te=E("./XMLProcessingInstruction"),a=E("./XMLDeclaration"),y=E("./XMLDocType"),ae=E("./XMLDTDAttList"),re=E("./XMLDTDEntity"),oe=E("./XMLDTDElement"),ee=E("./XMLDTDNotation"),ie=E("./XMLAttribute"),pe=E("./XMLStringifier"),fe=E("./XMLStringWriter"),ne=E("./WriterState"),he.exports=b=function(){function Ee(Ae,Ce,Ie){var Me;this.name="?xml",this.type=se.Document,Ae||(Ae={}),Me={},Ae.writer?Pe(Ae.writer)&&(Me=Ae.writer,Ae.writer=new fe):Ae.writer=new fe,this.options=Ae,this.writer=Ae.writer,this.writerOptions=this.writer.filterOptions(Me),this.stringify=new pe(Ae),this.onDataCallback=Ce||function(){},this.onEndCallback=Ie||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return Ee.prototype.createChildNode=function(Ae){var Ce,Ie,Me,Ge,Be,Qe,qe,Xe;switch(Ae.type){case se.CData:this.cdata(Ae.value);break;case se.Comment:this.comment(Ae.value);break;case se.Element:Me={},qe=Ae.attribs;for(Ie in qe)De.call(qe,Ie)&&(Ce=qe[Ie],Me[Ie]=Ce.value);this.node(Ae.name,Me);break;case se.Dummy:this.dummy();break;case se.Raw:this.raw(Ae.value);break;case se.Text:this.text(Ae.value);break;case se.ProcessingInstruction:this.instruction(Ae.target,Ae.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Ae.constructor.name)}for(Xe=Ae.children,Be=0,Qe=Xe.length;Be<Qe;Be++)Ge=Xe[Be],this.createChildNode(Ge),Ge.type===se.Element&&this.up();return this},Ee.prototype.dummy=function(){return this},Ee.prototype.node=function(Ae,Ce,Ie){var Me;if(Ae==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(Ae));return this.openCurrent(),Ae=ge(Ae),Ce==null&&(Ce={}),Ce=ge(Ce),ye(Ce)||(Me=[Ce,Ie],Ie=Me[0],Ce=Me[1]),this.currentNode=new z(this,Ae,Ce),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Ie!=null&&this.text(Ie),this},Ee.prototype.element=function(Ae,Ce,Ie){var Me,Ge,Be,Qe,qe,Xe;if(this.currentNode&&this.currentNode.type===se.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Ae)||ye(Ae)||Se(Ae))for(Qe=this.options.noValidation,this.options.noValidation=!0,Xe=new x(this.options).element("TEMP_ROOT"),Xe.element(Ae),this.options.noValidation=Qe,qe=Xe.children,Ge=0,Be=qe.length;Ge<Be;Ge++)Me=qe[Ge],this.createChildNode(Me),Me.type===se.Element&&this.up();else this.node(Ae,Ce,Ie);return this},Ee.prototype.attribute=function(Ae,Ce){var Ie,Me;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Ae));if(Ae!=null&&(Ae=ge(Ae)),ye(Ae))for(Ie in Ae)De.call(Ae,Ie)&&(Me=Ae[Ie],this.attribute(Ie,Me));else Se(Ce)&&(Ce=Ce.apply()),this.options.keepNullAttributes&&Ce==null?this.currentNode.attribs[Ae]=new ie(this,Ae,""):Ce!=null&&(this.currentNode.attribs[Ae]=new ie(this,Ae,Ce));return this},Ee.prototype.text=function(Ae){var Ce;return this.openCurrent(),Ce=new me(this,Ae),this.onData(this.writer.text(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.cdata=function(Ae){var Ce;return this.openCurrent(),Ce=new ce(this,Ae),this.onData(this.writer.cdata(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.comment=function(Ae){var Ce;return this.openCurrent(),Ce=new ue(this,Ae),this.onData(this.writer.comment(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.raw=function(Ae){var Ce;return this.openCurrent(),Ce=new le(this,Ae),this.onData(this.writer.raw(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.instruction=function(Ae,Ce){var Ie,Me,Ge,Be,Qe;if(this.openCurrent(),Ae!=null&&(Ae=ge(Ae)),Ce!=null&&(Ce=ge(Ce)),Array.isArray(Ae))for(Ie=0,Be=Ae.length;Ie<Be;Ie++)Me=Ae[Ie],this.instruction(Me);else if(ye(Ae))for(Me in Ae)De.call(Ae,Me)&&(Ge=Ae[Me],this.instruction(Me,Ge));else Se(Ce)&&(Ce=Ce.apply()),Qe=new te(this,Ae,Ce),this.onData(this.writer.processingInstruction(Qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},Ee.prototype.declaration=function(Ae,Ce,Ie){var Me;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Me=new a(this,Ae,Ce,Ie),this.onData(this.writer.declaration(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.doctype=function(Ae,Ce,Ie){if(this.openCurrent(),Ae==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 y(this,Ce,Ie),this.currentNode.rootNodeName=Ae,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},Ee.prototype.dtdElement=function(Ae,Ce){var Ie;return this.openCurrent(),Ie=new oe(this,Ae,Ce),this.onData(this.writer.dtdElement(Ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.attList=function(Ae,Ce,Ie,Me,Ge){var Be;return this.openCurrent(),Be=new ae(this,Ae,Ce,Ie,Me,Ge),this.onData(this.writer.dtdAttList(Be,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.entity=function(Ae,Ce){var Ie;return this.openCurrent(),Ie=new re(this,!1,Ae,Ce),this.onData(this.writer.dtdEntity(Ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.pEntity=function(Ae,Ce){var Ie;return this.openCurrent(),Ie=new re(this,!0,Ae,Ce),this.onData(this.writer.dtdEntity(Ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.notation=function(Ae,Ce){var Ie;return this.openCurrent(),Ie=new ee(this,Ae,Ce),this.onData(this.writer.dtdNotation(Ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.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},Ee.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},Ee.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ee.prototype.openNode=function(Ae){var Ce,Ie,Me,Ge;if(!Ae.isOpen){if(!this.root&&this.currentLevel===0&&Ae.type===se.Element&&(this.root=Ae),Ie="",Ae.type===se.Element){this.writerOptions.state=ne.OpenTag,Ie=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"<"+Ae.name,Ge=Ae.attribs;for(Me in Ge)De.call(Ge,Me)&&(Ce=Ge[Me],Ie+=this.writer.attribute(Ce,this.writerOptions,this.currentLevel));Ie+=(Ae.children?">":"/>")+this.writer.endline(Ae,this.writerOptions,this.currentLevel),this.writerOptions.state=ne.InsideTag}else this.writerOptions.state=ne.OpenTag,Ie=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Ae.rootNodeName,Ae.pubID&&Ae.sysID?Ie+=' PUBLIC "'+Ae.pubID+'" "'+Ae.sysID+'"':Ae.sysID&&(Ie+=' SYSTEM "'+Ae.sysID+'"'),Ae.children?(Ie+=" [",this.writerOptions.state=ne.InsideTag):(this.writerOptions.state=ne.CloseTag,Ie+=">"),Ie+=this.writer.endline(Ae,this.writerOptions,this.currentLevel);return this.onData(Ie,this.currentLevel),Ae.isOpen=!0}},Ee.prototype.closeNode=function(Ae){var Ce;if(!Ae.isClosed)return Ce="",this.writerOptions.state=ne.CloseTag,Ae.type===se.Element?Ce=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"</"+Ae.name+">"+this.writer.endline(Ae,this.writerOptions,this.currentLevel):Ce=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Ae,this.writerOptions,this.currentLevel),this.writerOptions.state=ne.None,this.onData(Ce,this.currentLevel),Ae.isClosed=!0},Ee.prototype.onData=function(Ae,Ce){return this.documentStarted=!0,this.onDataCallback(Ae,Ce+1)},Ee.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ee.prototype.debugInfo=function(Ae){return Ae==null?"":"node: <"+Ae+">"},Ee.prototype.ele=function(){return this.element.apply(this,arguments)},Ee.prototype.nod=function(Ae,Ce,Ie){return this.node(Ae,Ce,Ie)},Ee.prototype.txt=function(Ae){return this.text(Ae)},Ee.prototype.dat=function(Ae){return this.cdata(Ae)},Ee.prototype.com=function(Ae){return this.comment(Ae)},Ee.prototype.ins=function(Ae,Ce){return this.instruction(Ae,Ce)},Ee.prototype.dec=function(Ae,Ce,Ie){return this.declaration(Ae,Ce,Ie)},Ee.prototype.dtd=function(Ae,Ce,Ie){return this.doctype(Ae,Ce,Ie)},Ee.prototype.e=function(Ae,Ce,Ie){return this.element(Ae,Ce,Ie)},Ee.prototype.n=function(Ae,Ce,Ie){return this.node(Ae,Ce,Ie)},Ee.prototype.t=function(Ae){return this.text(Ae)},Ee.prototype.d=function(Ae){return this.cdata(Ae)},Ee.prototype.c=function(Ae){return this.comment(Ae)},Ee.prototype.r=function(Ae){return this.raw(Ae)},Ee.prototype.i=function(Ae,Ce){return this.instruction(Ae,Ce)},Ee.prototype.att=function(){return this.currentNode&&this.currentNode.type===se.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ee.prototype.a=function(){return this.currentNode&&this.currentNode.type===se.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ee.prototype.ent=function(Ae,Ce){return this.entity(Ae,Ce)},Ee.prototype.pent=function(Ae,Ce){return this.pEntity(Ae,Ce)},Ee.prototype.not=function(Ae,Ce){return this.notation(Ae,Ce)},Ee}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(E,he,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=ne=function(ae){ce(oe,ae);function oe(re){oe.__super__.constructor.call(this,re),this.type=se.Dummy}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return""},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,he,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,ee,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;ee=E("./Utility"),re=ee.isObject,oe=ee.isFunction,ae=ee.getValue,ue=E("./XMLNode"),se=E("./NodeType"),ne=E("./XMLAttribute"),ce=E("./XMLNamedNodeMap"),he.exports=ie=function(x){a(b,x);function b(z,te,le){var fe,pe,me,ge;if(b.__super__.constructor.call(this,z),te==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(te),this.type=se.Element,this.attribs={},this.schemaTypeInfo=null,le!=null&&this.attribute(le),z.type===se.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(ge=z.children,pe=0,me=ge.length;pe<me;pe++)if(fe=ge[pe],fe.type===se.DocType){fe.name=this.name;break}}}return Object.defineProperty(b.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(b.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(b.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new ce(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var z,te,le,fe;le=Object.create(this),le.isRoot&&(le.documentObject=null),le.attribs={},fe=this.attribs;for(te in fe)y.call(fe,te)&&(z=fe[te],le.attribs[te]=z.clone());return le.children=[],this.children.forEach(function(pe){var me;return me=pe.clone(),me.parent=le,le.children.push(me)}),le},b.prototype.attribute=function(z,te){var le,fe;if(z!=null&&(z=ae(z)),re(z))for(le in z)y.call(z,le)&&(fe=z[le],this.attribute(le,fe));else oe(te)&&(te=te.apply()),this.options.keepNullAttributes&&te==null?this.attribs[z]=new ne(this,z,""):te!=null&&(this.attribs[z]=new ne(this,z,te));return this},b.prototype.removeAttribute=function(z){var te,le,fe;if(z==null)throw new Error("Missing attribute name. "+this.debugInfo());if(z=ae(z),Array.isArray(z))for(le=0,fe=z.length;le<fe;le++)te=z[le],delete this.attribs[te];else delete this.attribs[z];return this},b.prototype.toString=function(z){return this.options.writer.element(this,this.options.writer.filterOptions(z))},b.prototype.att=function(z,te){return this.attribute(z,te)},b.prototype.a=function(z,te){return this.attribute(z,te)},b.prototype.getAttribute=function(z){return this.attribs.hasOwnProperty(z)?this.attribs[z].value:null},b.prototype.setAttribute=function(z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(z){return this.attribs.hasOwnProperty(z)?this.attribs[z]:null},b.prototype.setAttributeNode=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(z,te,le){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(z){return this.attribs.hasOwnProperty(z)},b.prototype.hasAttributeNS=function(z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(z,te){return this.attribs.hasOwnProperty(z)?this.attribs[z].isId:te},b.prototype.setIdAttributeNS=function(z,te,le){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(z,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(z){var te,le,fe;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(z)||z.namespaceURI!==this.namespaceURI||z.prefix!==this.prefix||z.localName!==this.localName||z.attribs.length!==this.attribs.length)return!1;for(te=le=0,fe=this.attribs.length-1;0<=fe?le<=fe:le>=fe;te=0<=fe?++le:--le)if(!this.attribs[te].isEqualNode(z.attribs[te]))return!1;return!0},b}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,he,de){(function(){var se;he.exports=se=function(){function ne(ie){this.nodes=ie}return Object.defineProperty(ne.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),ne.prototype.clone=function(){return this.nodes=null},ne.prototype.getNamedItem=function(ie){return this.nodes[ie]},ne.prototype.setNamedItem=function(ie){var ce;return ce=this.nodes[ie.nodeName],this.nodes[ie.nodeName]=ie,ce||null},ne.prototype.removeNamedItem=function(ie){var ce;return ce=this.nodes[ie],delete this.nodes[ie],ce||null},ne.prototype.item=function(ie){return this.nodes[Object.keys(this.nodes)[ie]]||null},ne.prototype.getNamedItemNS=function(ie,ce){throw new Error("This DOM method is not implemented.")},ne.prototype.setNamedItemNS=function(ie){throw new Error("This DOM method is not implemented.")},ne.prototype.removeNamedItemNS=function(ie,ce){throw new Error("This DOM method is not implemented.")},ne}()}).call(this)},{}],450:[function(E,he,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,ee,a,y,x,b,z,te,le,fe,pe,me,ge={}.hasOwnProperty;me=E("./Utility"),pe=me.isObject,fe=me.isFunction,le=me.isEmpty,te=me.getValue,re=null,ie=null,ce=null,ue=null,ae=null,b=null,z=null,x=null,oe=null,ne=null,y=null,ee=null,se=null,he.exports=a=function(){function Se(ye){this.parent=ye,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,re||(re=E("./XMLElement"),ie=E("./XMLCData"),ce=E("./XMLComment"),ue=E("./XMLDeclaration"),ae=E("./XMLDocType"),b=E("./XMLRaw"),z=E("./XMLText"),x=E("./XMLProcessingInstruction"),oe=E("./XMLDummy"),ne=E("./NodeType"),y=E("./XMLNodeList"),ee=E("./XMLNamedNodeMap"),se=E("./DocumentPosition"))}return Object.defineProperty(Se.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Se.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Se.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Se.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Se.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(Se.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Se.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Se.prototype,"previousSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye-1]||null}}),Object.defineProperty(Se.prototype,"nextSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye+1]||null}}),Object.defineProperty(Se.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Se.prototype,"textContent",{get:function(){var ye,Pe,we,De,Ee;if(this.nodeType===ne.Element||this.nodeType===ne.DocumentFragment){for(Ee="",De=this.children,Pe=0,we=De.length;Pe<we;Pe++)ye=De[Pe],ye.textContent&&(Ee+=ye.textContent);return Ee}else return null},set:function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Se.prototype.setParent=function(ye){var Pe,we,De,Ee,Ae;for(this.parent=ye,ye&&(this.options=ye.options,this.stringify=ye.stringify),Ee=this.children,Ae=[],we=0,De=Ee.length;we<De;we++)Pe=Ee[we],Ae.push(Pe.setParent(this));return Ae},Se.prototype.element=function(ye,Pe,we){var De,Ee,Ae,Ce,Ie,Me,Ge,Be,Qe,qe,Xe;if(Me=null,Pe===null&&we==null&&(Qe=[{},null],Pe=Qe[0],we=Qe[1]),Pe==null&&(Pe={}),Pe=te(Pe),pe(Pe)||(qe=[Pe,we],we=qe[0],Pe=qe[1]),ye!=null&&(ye=te(ye)),Array.isArray(ye))for(Ae=0,Ge=ye.length;Ae<Ge;Ae++)Ee=ye[Ae],Me=this.element(Ee);else if(fe(ye))Me=this.element(ye.apply());else if(pe(ye)){for(Ie in ye)if(ge.call(ye,Ie))if(Xe=ye[Ie],fe(Xe)&&(Xe=Xe.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Ie.indexOf(this.stringify.convertAttKey)===0)Me=this.attribute(Ie.substr(this.stringify.convertAttKey.length),Xe);else if(!this.options.separateArrayItems&&Array.isArray(Xe)&&le(Xe))Me=this.dummy();else if(pe(Xe)&&le(Xe))Me=this.element(Ie);else if(!this.options.keepNullNodes&&Xe==null)Me=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(Xe))for(Ce=0,Be=Xe.length;Ce<Be;Ce++)Ee=Xe[Ce],De={},De[Ie]=Ee,Me=this.element(De);else pe(Xe)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Ie.indexOf(this.stringify.convertTextKey)===0?Me=this.element(Xe):(Me=this.element(Ie),Me.element(Xe)):Me=this.element(Ie,Xe)}else!this.options.keepNullNodes&&we===null?Me=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&ye.indexOf(this.stringify.convertTextKey)===0?Me=this.text(we):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&ye.indexOf(this.stringify.convertCDataKey)===0?Me=this.cdata(we):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&ye.indexOf(this.stringify.convertCommentKey)===0?Me=this.comment(we):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&ye.indexOf(this.stringify.convertRawKey)===0?Me=this.raw(we):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&ye.indexOf(this.stringify.convertPIKey)===0?Me=this.instruction(ye.substr(this.stringify.convertPIKey.length),we):Me=this.node(ye,Pe,we);if(Me==null)throw new Error("Could not create any elements with: "+ye+". "+this.debugInfo());return Me},Se.prototype.insertBefore=function(ye,Pe,we){var De,Ee,Ae,Ce,Ie;if(ye!=null&&ye.type)return Ae=ye,Ce=Pe,Ae.setParent(this),Ce?(Ee=children.indexOf(Ce),Ie=children.splice(Ee),children.push(Ae),Array.prototype.push.apply(children,Ie)):children.push(Ae),Ae;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ye));return Ee=this.parent.children.indexOf(this),Ie=this.parent.children.splice(Ee),De=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,Ie),De},Se.prototype.insertAfter=function(ye,Pe,we){var De,Ee,Ae;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ye));return Ee=this.parent.children.indexOf(this),Ae=this.parent.children.splice(Ee+1),De=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,Ae),De},Se.prototype.remove=function(){var ye,Pe;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return ye=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[ye,ye-ye+1].concat(Pe=[])),this.parent},Se.prototype.node=function(ye,Pe,we){var De,Ee;return ye!=null&&(ye=te(ye)),Pe||(Pe={}),Pe=te(Pe),pe(Pe)||(Ee=[Pe,we],we=Ee[0],Pe=Ee[1]),De=new re(this,ye,Pe),we!=null&&De.text(we),this.children.push(De),De},Se.prototype.text=function(ye){var Pe;return pe(ye)&&this.element(ye),Pe=new z(this,ye),this.children.push(Pe),this},Se.prototype.cdata=function(ye){var Pe;return Pe=new ie(this,ye),this.children.push(Pe),this},Se.prototype.comment=function(ye){var Pe;return Pe=new ce(this,ye),this.children.push(Pe),this},Se.prototype.commentBefore=function(ye){var Pe,we,De;return we=this.parent.children.indexOf(this),De=this.parent.children.splice(we),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,De),this},Se.prototype.commentAfter=function(ye){var Pe,we,De;return we=this.parent.children.indexOf(this),De=this.parent.children.splice(we+1),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,De),this},Se.prototype.raw=function(ye){var Pe;return Pe=new b(this,ye),this.children.push(Pe),this},Se.prototype.dummy=function(){var ye;return ye=new oe(this),ye},Se.prototype.instruction=function(ye,Pe){var we,De,Ee,Ae,Ce;if(ye!=null&&(ye=te(ye)),Pe!=null&&(Pe=te(Pe)),Array.isArray(ye))for(Ae=0,Ce=ye.length;Ae<Ce;Ae++)we=ye[Ae],this.instruction(we);else if(pe(ye))for(we in ye)ge.call(ye,we)&&(De=ye[we],this.instruction(we,De));else fe(Pe)&&(Pe=Pe.apply()),Ee=new x(this,ye,Pe),this.children.push(Ee);return this},Se.prototype.instructionBefore=function(ye,Pe){var we,De,Ee;return De=this.parent.children.indexOf(this),Ee=this.parent.children.splice(De),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,Ee),this},Se.prototype.instructionAfter=function(ye,Pe){var we,De,Ee;return De=this.parent.children.indexOf(this),Ee=this.parent.children.splice(De+1),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,Ee),this},Se.prototype.declaration=function(ye,Pe,we){var De,Ee;return De=this.document(),Ee=new ue(De,ye,Pe,we),De.children.length===0?De.children.unshift(Ee):De.children[0].type===ne.Declaration?De.children[0]=Ee:De.children.unshift(Ee),De.root()||De},Se.prototype.dtd=function(ye,Pe){var we,De,Ee,Ae,Ce,Ie,Me,Ge,Be,Qe;for(De=this.document(),Ee=new ae(De,ye,Pe),Be=De.children,Ae=Ce=0,Me=Be.length;Ce<Me;Ae=++Ce)if(we=Be[Ae],we.type===ne.DocType)return De.children[Ae]=Ee,Ee;for(Qe=De.children,Ae=Ie=0,Ge=Qe.length;Ie<Ge;Ae=++Ie)if(we=Qe[Ae],we.isRoot)return De.children.splice(Ae,0,Ee),Ee;return De.children.push(Ee),Ee},Se.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},Se.prototype.root=function(){var ye;for(ye=this;ye;){if(ye.type===ne.Document)return ye.rootObject;if(ye.isRoot)return ye;ye=ye.parent}},Se.prototype.document=function(){var ye;for(ye=this;ye;){if(ye.type===ne.Document)return ye;ye=ye.parent}},Se.prototype.end=function(ye){return this.document().end(ye)},Se.prototype.prev=function(){var ye;if(ye=this.parent.children.indexOf(this),ye<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[ye-1]},Se.prototype.next=function(){var ye;if(ye=this.parent.children.indexOf(this),ye===-1||ye===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[ye+1]},Se.prototype.importDocument=function(ye){var Pe;return Pe=ye.root().clone(),Pe.parent=this,Pe.isRoot=!1,this.children.push(Pe),this},Se.prototype.debugInfo=function(ye){var Pe,we;return ye=ye||this.name,ye==null&&!((Pe=this.parent)!=null&&Pe.name)?"":ye==null?"parent: <"+this.parent.name+">":(we=this.parent)!=null&&we.name?"node: <"+ye+">, parent: <"+this.parent.name+">":"node: <"+ye+">"},Se.prototype.ele=function(ye,Pe,we){return this.element(ye,Pe,we)},Se.prototype.nod=function(ye,Pe,we){return this.node(ye,Pe,we)},Se.prototype.txt=function(ye){return this.text(ye)},Se.prototype.dat=function(ye){return this.cdata(ye)},Se.prototype.com=function(ye){return this.comment(ye)},Se.prototype.ins=function(ye,Pe){return this.instruction(ye,Pe)},Se.prototype.doc=function(){return this.document()},Se.prototype.dec=function(ye,Pe,we){return this.declaration(ye,Pe,we)},Se.prototype.e=function(ye,Pe,we){return this.element(ye,Pe,we)},Se.prototype.n=function(ye,Pe,we){return this.node(ye,Pe,we)},Se.prototype.t=function(ye){return this.text(ye)},Se.prototype.d=function(ye){return this.cdata(ye)},Se.prototype.c=function(ye){return this.comment(ye)},Se.prototype.r=function(ye){return this.raw(ye)},Se.prototype.i=function(ye,Pe){return this.instruction(ye,Pe)},Se.prototype.u=function(){return this.up()},Se.prototype.importXMLBuilder=function(ye){return this.importDocument(ye)},Se.prototype.replaceChild=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.removeChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.appendChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.hasChildNodes=function(){return this.children.length!==0},Se.prototype.cloneNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isSupported=function(ye,Pe){return!0},Se.prototype.hasAttributes=function(){return this.attribs.length!==0},Se.prototype.compareDocumentPosition=function(ye){var Pe,we;return Pe=this,Pe===ye?0:this.document()!==ye.document()?(we=se.Disconnected|se.ImplementationSpecific,Math.random()<.5?we|=se.Preceding:we|=se.Following,we):Pe.isAncestor(ye)?se.Contains|se.Preceding:Pe.isDescendant(ye)?se.Contains|se.Following:Pe.isPreceding(ye)?se.Preceding:se.Following},Se.prototype.isSameNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupPrefix=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isDefaultNamespace=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupNamespaceURI=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isEqualNode=function(ye){var Pe,we,De;if(ye.nodeType!==this.nodeType||ye.children.length!==this.children.length)return!1;for(Pe=we=0,De=this.children.length-1;0<=De?we<=De:we>=De;Pe=0<=De?++we:--we)if(!this.children[Pe].isEqualNode(ye.children[Pe]))return!1;return!0},Se.prototype.getFeature=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setUserData=function(ye,Pe,we){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getUserData=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.contains=function(ye){return ye?ye===this||this.isDescendant(ye):!1},Se.prototype.isDescendant=function(ye){var Pe,we,De,Ee,Ae;for(Ae=this.children,De=0,Ee=Ae.length;De<Ee;De++)if(Pe=Ae[De],ye===Pe||(we=Pe.isDescendant(ye),we))return!0;return!1},Se.prototype.isAncestor=function(ye){return ye.isDescendant(this)},Se.prototype.isPreceding=function(ye){var Pe,we;return Pe=this.treePosition(ye),we=this.treePosition(this),Pe===-1||we===-1?!1:Pe<we},Se.prototype.isFollowing=function(ye){var Pe,we;return Pe=this.treePosition(ye),we=this.treePosition(this),Pe===-1||we===-1?!1:Pe>we},Se.prototype.treePosition=function(ye){var Pe,we;return we=0,Pe=!1,this.foreachTreeNode(this.document(),function(De){if(we++,!Pe&&De===ye)return Pe=!0}),Pe?we:-1},Se.prototype.foreachTreeNode=function(ye,Pe){var we,De,Ee,Ae,Ce;for(ye||(ye=this.document()),Ae=ye.children,De=0,Ee=Ae.length;De<Ee;De++){if(we=Ae[De],Ce=Pe(we))return Ce;if(Ce=this.foreachTreeNode(we,Pe),Ce)return Ce}},Se}()}).call(this)},{"./DocumentPosition":427,"./NodeType":428,"./Utility":429,"./XMLCData":432,"./XMLComment":434,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLNamedNodeMap":449,"./XMLNodeList":451,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],451:[function(E,he,de){(function(){var se;he.exports=se=function(){function ne(ie){this.nodes=ie}return Object.defineProperty(ne.prototype,"length",{get:function(){return this.nodes.length||0}}),ne.prototype.clone=function(){return this.nodes=null},ne.prototype.item=function(ie){return this.nodes[ie]||null},ne}()}).call(this)},{}],452:[function(E,he,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ne=E("./XMLCharacterData"),he.exports=ie=function(ae){ce(oe,ae);function oe(re,ee,a){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=se.ProcessingInstruction,this.target=this.stringify.insTarget(ee),this.name=this.target,a&&(this.value=this.stringify.insValue(a))}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(re))},oe.prototype.isEqualNode=function(re){return!(!oe.__super__.isEqualNode.apply(this,arguments).isEqualNode(re)||re.target!==this.target)},oe}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(E,he,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ne=E("./XMLNode"),he.exports=ie=function(ae){ce(oe,ae);function oe(re,ee){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=se.Raw,this.value=this.stringify.raw(ee)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.raw(this,this.options.writer.filterOptions(re))},oe}(ne)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(E,he,de){(function(){var se,ne,ie,ce,ue=function(oe,re){for(var ee in re)ae.call(re,ee)&&(oe[ee]=re[ee]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ae={}.hasOwnProperty;se=E("./NodeType"),ce=E("./XMLWriterBase"),ne=E("./WriterState"),he.exports=ie=function(oe){ue(re,oe);function re(ee,a){this.stream=ee,re.__super__.constructor.call(this,a)}return re.prototype.endline=function(ee,a,y){return ee.isLastRootNode&&a.state===ne.CloseTag?"":re.__super__.endline.call(this,ee,a,y)},re.prototype.document=function(ee,a){var y,x,b,z,te,le,fe,pe,me;for(fe=ee.children,x=b=0,te=fe.length;b<te;x=++b)y=fe[x],y.isLastRootNode=x===ee.children.length-1;for(a=this.filterOptions(a),pe=ee.children,me=[],z=0,le=pe.length;z<le;z++)y=pe[z],me.push(this.writeChildNode(y,a,0));return me},re.prototype.attribute=function(ee,a,y){return this.stream.write(re.__super__.attribute.call(this,ee,a,y))},re.prototype.cdata=function(ee,a,y){return this.stream.write(re.__super__.cdata.call(this,ee,a,y))},re.prototype.comment=function(ee,a,y){return this.stream.write(re.__super__.comment.call(this,ee,a,y))},re.prototype.declaration=function(ee,a,y){return this.stream.write(re.__super__.declaration.call(this,ee,a,y))},re.prototype.docType=function(ee,a,y){var x,b,z,te;if(y||(y=0),this.openNode(ee,a,y),a.state=ne.OpenTag,this.stream.write(this.indent(ee,a,y)),this.stream.write("<!DOCTYPE "+ee.root().name),ee.pubID&&ee.sysID?this.stream.write(' PUBLIC "'+ee.pubID+'" "'+ee.sysID+'"'):ee.sysID&&this.stream.write(' SYSTEM "'+ee.sysID+'"'),ee.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(ee,a,y)),a.state=ne.InsideTag,te=ee.children,b=0,z=te.length;b<z;b++)x=te[b],this.writeChildNode(x,a,y+1);a.state=ne.CloseTag,this.stream.write("]")}return a.state=ne.CloseTag,this.stream.write(a.spaceBeforeSlash+">"),this.stream.write(this.endline(ee,a,y)),a.state=ne.None,this.closeNode(ee,a,y)},re.prototype.element=function(ee,a,y){var x,b,z,te,le,fe,pe,me,ge,Se;y||(y=0),this.openNode(ee,a,y),a.state=ne.OpenTag,this.stream.write(this.indent(ee,a,y)+"<"+ee.name),ge=ee.attribs;for(pe in ge)ae.call(ge,pe)&&(x=ge[pe],this.attribute(x,a,y));if(z=ee.children.length,te=z===0?null:ee.children[0],z===0||ee.children.every(function(ye){return(ye.type===se.Text||ye.type===se.Raw)&&ye.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=ne.CloseTag,this.stream.write("</"+ee.name+">")):(a.state=ne.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&z===1&&(te.type===se.Text||te.type===se.Raw)&&te.value!=null)this.stream.write(">"),a.state=ne.InsideTag,a.suppressPrettyCount++,me=!0,this.writeChildNode(te,a,y+1),a.suppressPrettyCount--,me=!1,a.state=ne.CloseTag,this.stream.write("</"+ee.name+">");else{for(this.stream.write(">"+this.endline(ee,a,y)),a.state=ne.InsideTag,Se=ee.children,le=0,fe=Se.length;le<fe;le++)b=Se[le],this.writeChildNode(b,a,y+1);a.state=ne.CloseTag,this.stream.write(this.indent(ee,a,y)+"</"+ee.name+">")}return this.stream.write(this.endline(ee,a,y)),a.state=ne.None,this.closeNode(ee,a,y)},re.prototype.processingInstruction=function(ee,a,y){return this.stream.write(re.__super__.processingInstruction.call(this,ee,a,y))},re.prototype.raw=function(ee,a,y){return this.stream.write(re.__super__.raw.call(this,ee,a,y))},re.prototype.text=function(ee,a,y){return this.stream.write(re.__super__.text.call(this,ee,a,y))},re.prototype.dtdAttList=function(ee,a,y){return this.stream.write(re.__super__.dtdAttList.call(this,ee,a,y))},re.prototype.dtdElement=function(ee,a,y){return this.stream.write(re.__super__.dtdElement.call(this,ee,a,y))},re.prototype.dtdEntity=function(ee,a,y){return this.stream.write(re.__super__.dtdEntity.call(this,ee,a,y))},re.prototype.dtdNotation=function(ee,a,y){return this.stream.write(re.__super__.dtdNotation.call(this,ee,a,y))},re}(ce)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,he,de){(function(){var se,ne,ie=function(ue,ae){for(var oe in ae)ce.call(ae,oe)&&(ue[oe]=ae[oe]);function re(){this.constructor=ue}return re.prototype=ae.prototype,ue.prototype=new re,ue.__super__=ae.prototype,ue},ce={}.hasOwnProperty;ne=E("./XMLWriterBase"),he.exports=se=function(ue){ie(ae,ue);function ae(oe){ae.__super__.constructor.call(this,oe)}return ae.prototype.document=function(oe,re){var ee,a,y,x,b;for(re=this.filterOptions(re),x="",b=oe.children,a=0,y=b.length;a<y;a++)ee=b[a],x+=this.writeChildNode(ee,re,0);return re.pretty&&x.slice(-re.newline.length)===re.newline&&(x=x.slice(0,-re.newline.length)),x},ae}(ne)}).call(this)},{"./XMLWriterBase":458}],456:[function(E,he,de){(function(){var se,ne=function(ce,ue){return function(){return ce.apply(ue,arguments)}},ie={}.hasOwnProperty;he.exports=se=function(){function ce(ue){this.assertLegalName=ne(this.assertLegalName,this),this.assertLegalChar=ne(this.assertLegalChar,this);var ae,oe,re;ue||(ue={}),this.options=ue,this.options.version||(this.options.version="1.0"),oe=ue.stringify||{};for(ae in oe)ie.call(oe,ae)&&(re=oe[ae],this[ae]=re)}return ce.prototype.name=function(ue){return this.options.noValidation?ue:this.assertLegalName(""+ue||"")},ce.prototype.text=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.textEscape(""+ue||""))},ce.prototype.cdata=function(ue){return this.options.noValidation?ue:(ue=""+ue||"",ue=ue.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(ue))},ce.prototype.comment=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",ue.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+ue);return this.assertLegalChar(ue)},ce.prototype.raw=function(ue){return this.options.noValidation?ue:""+ue||""},ce.prototype.attValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.attEscape(ue=""+ue||""))},ce.prototype.insTarget=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.insValue=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",ue.match(/\?>/))throw new Error("Invalid processing instruction value: "+ue);return this.assertLegalChar(ue)},ce.prototype.xmlVersion=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",!ue.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+ue);return ue},ce.prototype.xmlEncoding=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",!ue.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+ue);return this.assertLegalChar(ue)},ce.prototype.xmlStandalone=function(ue){return this.options.noValidation?ue:ue?"yes":"no"},ce.prototype.dtdPubID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdSysID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdElementValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdAttType=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdAttDefault=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdEntityValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdNData=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.convertAttKey="@",ce.prototype.convertPIKey="?",ce.prototype.convertTextKey="#text",ce.prototype.convertCDataKey="#cdata",ce.prototype.convertCommentKey="#comment",ce.prototype.convertRawKey="#raw",ce.prototype.assertLegalChar=function(ue){var ae,oe;if(this.options.noValidation)return ue;if(ae="",this.options.version==="1.0"){if(ae=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ue.match(ae))throw new Error("Invalid character in string: "+ue+" at index "+oe.index)}else if(this.options.version==="1.1"&&(ae=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ue.match(ae)))throw new Error("Invalid character in string: "+ue+" at index "+oe.index);return ue},ce.prototype.assertLegalName=function(ue){var ae;if(this.options.noValidation)return ue;if(this.assertLegalChar(ue),ae=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!ue.match(ae))throw new Error("Invalid character in name");return ue},ce.prototype.textEscape=function(ue){var ae;return this.options.noValidation?ue:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ae,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},ce.prototype.attEscape=function(ue){var ae;return this.options.noValidation?ue:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ae,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},ce}()}).call(this)},{}],457:[function(E,he,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ne=E("./XMLCharacterData"),he.exports=ie=function(ae){ce(oe,ae);function oe(re,ee){if(oe.__super__.constructor.call(this,re),ee==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=se.Text,this.value=this.stringify.text(ee)}return Object.defineProperty(oe.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(oe.prototype,"wholeText",{get:function(){var re,ee,a;for(a="",ee=this.previousSibling;ee;)a=ee.data+a,ee=ee.previousSibling;for(a+=this.data,re=this.nextSibling;re;)a=a+re.data,re=re.nextSibling;return a}}),oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.text(this,this.options.writer.filterOptions(re))},oe.prototype.splitText=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe.prototype.replaceWholeText=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(E,he,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,ee,a,y,x,b,z,te,le,fe,pe={}.hasOwnProperty;fe=E("./Utility").assign,se=E("./NodeType"),ee=E("./XMLDeclaration"),a=E("./XMLDocType"),ie=E("./XMLCData"),ce=E("./XMLComment"),x=E("./XMLElement"),z=E("./XMLRaw"),te=E("./XMLText"),b=E("./XMLProcessingInstruction"),y=E("./XMLDummy"),ue=E("./XMLDTDAttList"),ae=E("./XMLDTDElement"),oe=E("./XMLDTDEntity"),re=E("./XMLDTDNotation"),ne=E("./WriterState"),he.exports=le=function(){function me(ge){var Se,ye,Pe;ge||(ge={}),this.options=ge,ye=ge.writer||{};for(Se in ye)pe.call(ye,Se)&&(Pe=ye[Se],this["_"+Se]=this[Se],this[Se]=Pe)}return me.prototype.filterOptions=function(ge){var Se,ye,Pe,we,De,Ee,Ae,Ce;return ge||(ge={}),ge=fe({},this.options,ge),Se={writer:this},Se.pretty=ge.pretty||!1,Se.allowEmpty=ge.allowEmpty||!1,Se.indent=(ye=ge.indent)!=null?ye:" ",Se.newline=(Pe=ge.newline)!=null?Pe:`
|
|
|
`,Se.offset=(we=ge.offset)!=null?we:0,Se.dontPrettyTextNodes=(De=(Ee=ge.dontPrettyTextNodes)!=null?Ee:ge.dontprettytextnodes)!=null?De:0,Se.spaceBeforeSlash=(Ae=(Ce=ge.spaceBeforeSlash)!=null?Ce:ge.spacebeforeslash)!=null?Ae:"",Se.spaceBeforeSlash===!0&&(Se.spaceBeforeSlash=" "),Se.suppressPrettyCount=0,Se.user={},Se.state=ne.None,Se},me.prototype.indent=function(ge,Se,ye){var Pe;return!Se.pretty||Se.suppressPrettyCount?"":Se.pretty&&(Pe=(ye||0)+Se.offset+1,Pe>0)?new Array(Pe).join(Se.indent):""},me.prototype.endline=function(ge,Se,ye){return!Se.pretty||Se.suppressPrettyCount?"":Se.newline},me.prototype.attribute=function(ge,Se,ye){var Pe;return this.openAttribute(ge,Se,ye),Pe=" "+ge.name+'="'+ge.value+'"',this.closeAttribute(ge,Se,ye),Pe},me.prototype.cdata=function(ge,Se,ye){var Pe;return this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(ge,Se,ye)+"<![CDATA[",Se.state=ne.InsideTag,Pe+=ge.value,Se.state=ne.CloseTag,Pe+="]]>"+this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Pe},me.prototype.comment=function(ge,Se,ye){var Pe;return this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(ge,Se,ye)+"<!-- ",Se.state=ne.InsideTag,Pe+=ge.value,Se.state=ne.CloseTag,Pe+=" -->"+this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Pe},me.prototype.declaration=function(ge,Se,ye){var Pe;return this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(ge,Se,ye)+"<?xml",Se.state=ne.InsideTag,Pe+=' version="'+ge.version+'"',ge.encoding!=null&&(Pe+=' encoding="'+ge.encoding+'"'),ge.standalone!=null&&(Pe+=' standalone="'+ge.standalone+'"'),Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+"?>",Pe+=this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Pe},me.prototype.docType=function(ge,Se,ye){var Pe,we,De,Ee,Ae;if(ye||(ye=0),this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Ee=this.indent(ge,Se,ye),Ee+="<!DOCTYPE "+ge.root().name,ge.pubID&&ge.sysID?Ee+=' PUBLIC "'+ge.pubID+'" "'+ge.sysID+'"':ge.sysID&&(Ee+=' SYSTEM "'+ge.sysID+'"'),ge.children.length>0){for(Ee+=" [",Ee+=this.endline(ge,Se,ye),Se.state=ne.InsideTag,Ae=ge.children,we=0,De=Ae.length;we<De;we++)Pe=Ae[we],Ee+=this.writeChildNode(Pe,Se,ye+1);Se.state=ne.CloseTag,Ee+="]"}return Se.state=ne.CloseTag,Ee+=Se.spaceBeforeSlash+">",Ee+=this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Ee},me.prototype.element=function(ge,Se,ye){var Pe,we,De,Ee,Ae,Ce,Ie,Me,Ge,Be,Qe,qe,Xe,Ve;ye||(ye=0),Be=!1,Qe="",this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Qe+=this.indent(ge,Se,ye)+"<"+ge.name,qe=ge.attribs;for(Ge in qe)pe.call(qe,Ge)&&(Pe=qe[Ge],Qe+=this.attribute(Pe,Se,ye));if(De=ge.children.length,Ee=De===0?null:ge.children[0],De===0||ge.children.every(function(We){return(We.type===se.Text||We.type===se.Raw)&&We.value===""}))Se.allowEmpty?(Qe+=">",Se.state=ne.CloseTag,Qe+="</"+ge.name+">"+this.endline(ge,Se,ye)):(Se.state=ne.CloseTag,Qe+=Se.spaceBeforeSlash+"/>"+this.endline(ge,Se,ye));else if(Se.pretty&&De===1&&(Ee.type===se.Text||Ee.type===se.Raw)&&Ee.value!=null)Qe+=">",Se.state=ne.InsideTag,Se.suppressPrettyCount++,Be=!0,Qe+=this.writeChildNode(Ee,Se,ye+1),Se.suppressPrettyCount--,Be=!1,Se.state=ne.CloseTag,Qe+="</"+ge.name+">"+this.endline(ge,Se,ye);else{if(Se.dontPrettyTextNodes){for(Xe=ge.children,Ae=0,Ie=Xe.length;Ae<Ie;Ae++)if(we=Xe[Ae],(we.type===se.Text||we.type===se.Raw)&&we.value!=null){Se.suppressPrettyCount++,Be=!0;break}}for(Qe+=">"+this.endline(ge,Se,ye),Se.state=ne.InsideTag,Ve=ge.children,Ce=0,Me=Ve.length;Ce<Me;Ce++)we=Ve[Ce],Qe+=this.writeChildNode(we,Se,ye+1);Se.state=ne.CloseTag,Qe+=this.indent(ge,Se,ye)+"</"+ge.name+">",Be&&Se.suppressPrettyCount--,Qe+=this.endline(ge,Se,ye),Se.state=ne.None}return this.closeNode(ge,Se,ye),Qe},me.prototype.writeChildNode=function(ge,Se,ye){switch(ge.type){case se.CData:return this.cdata(ge,Se,ye);case se.Comment:return this.comment(ge,Se,ye);case se.Element:return this.element(ge,Se,ye);case se.Raw:return this.raw(ge,Se,ye);case se.Text:return this.text(ge,Se,ye);case se.ProcessingInstruction:return this.processingInstruction(ge,Se,ye);case se.Dummy:return"";case se.Declaration:return this.declaration(ge,Se,ye);case se.DocType:return this.docType(ge,Se,ye);case se.AttributeDeclaration:return this.dtdAttList(ge,Se,ye);case se.ElementDeclaration:return this.dtdElement(ge,Se,ye);case se.EntityDeclaration:return this.dtdEntity(ge,Se,ye);case se.NotationDeclaration:return this.dtdNotation(ge,Se,ye);default:throw new Error("Unknown XML node type: "+ge.constructor.name)}},me.prototype.processingInstruction=function(ge,Se,ye){var Pe;return this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(ge,Se,ye)+"<?",Se.state=ne.InsideTag,Pe+=ge.target,ge.value&&(Pe+=" "+ge.value),Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+"?>",Pe+=this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Pe},me.prototype.raw=function(ge,Se,ye){var Pe;return this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(ge,Se,ye),Se.state=ne.InsideTag,Pe+=ge.value,Se.state=ne.CloseTag,Pe+=this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Pe},me.prototype.text=function(ge,Se,ye){var Pe;return this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(ge,Se,ye),Se.state=ne.InsideTag,Pe+=ge.value,Se.state=ne.CloseTag,Pe+=this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Pe},me.prototype.dtdAttList=function(ge,Se,ye){var Pe;return this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(ge,Se,ye)+"<!ATTLIST",Se.state=ne.InsideTag,Pe+=" "+ge.elementName+" "+ge.attributeName+" "+ge.attributeType,ge.defaultValueType!=="#DEFAULT"&&(Pe+=" "+ge.defaultValueType),ge.defaultValue&&(Pe+=' "'+ge.defaultValue+'"'),Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Pe},me.prototype.dtdElement=function(ge,Se,ye){var Pe;return this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(ge,Se,ye)+"<!ELEMENT",Se.state=ne.InsideTag,Pe+=" "+ge.name+" "+ge.value,Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Pe},me.prototype.dtdEntity=function(ge,Se,ye){var Pe;return this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(ge,Se,ye)+"<!ENTITY",Se.state=ne.InsideTag,ge.pe&&(Pe+=" %"),Pe+=" "+ge.name,ge.value?Pe+=' "'+ge.value+'"':(ge.pubID&&ge.sysID?Pe+=' PUBLIC "'+ge.pubID+'" "'+ge.sysID+'"':ge.sysID&&(Pe+=' SYSTEM "'+ge.sysID+'"'),ge.nData&&(Pe+=" NDATA "+ge.nData)),Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Pe},me.prototype.dtdNotation=function(ge,Se,ye){var Pe;return this.openNode(ge,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(ge,Se,ye)+"<!NOTATION",Se.state=ne.InsideTag,Pe+=" "+ge.name,ge.pubID&&ge.sysID?Pe+=' PUBLIC "'+ge.pubID+'" "'+ge.sysID+'"':ge.pubID?Pe+=' PUBLIC "'+ge.pubID+'"':ge.sysID&&(Pe+=' SYSTEM "'+ge.sysID+'"'),Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(ge,Se,ye),Se.state=ne.None,this.closeNode(ge,Se,ye),Pe},me.prototype.openNode=function(ge,Se,ye){},me.prototype.closeNode=function(ge,Se,ye){},me.prototype.openAttribute=function(ge,Se,ye){},me.prototype.closeAttribute=function(ge,Se,ye){},me}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(E,he,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,ee,a;a=E("./Utility"),re=a.assign,ee=a.isFunction,ie=E("./XMLDOMImplementation"),ce=E("./XMLDocument"),ue=E("./XMLDocumentCB"),oe=E("./XMLStringWriter"),ae=E("./XMLStreamWriter"),se=E("./NodeType"),ne=E("./WriterState"),he.exports.create=function(y,x,b,z){var te,le;if(y==null)throw new Error("Root element needs a name.");return z=re({},x,b,z),te=new ce(z),le=te.element(y),z.headless||(te.declaration(z),(z.pubID!=null||z.sysID!=null)&&te.dtd(z)),le},he.exports.begin=function(y,x,b){var z;return ee(y)&&(z=[y,x],x=z[0],b=z[1],y={}),x?new ue(y,x,b):new ce(y)},he.exports.stringWriter=function(y){return new oe(y)},he.exports.streamWriter=function(y,x){return new ae(y,x)},he.exports.implementation=new ie,he.exports.nodeType=se,he.exports.writerState=ne}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,he,de){he.exports=ne;var se=Object.prototype.hasOwnProperty;function ne(){for(var ie={},ce=0;ce<arguments.length;ce++){var ue=arguments[ce];for(var ae in ue)se.call(ue,ae)&&(ie[ae]=ue[ae])}return ie}},{}],461:[function(E,he,de){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.array.slice.js");var se=E("buffer").Buffer,ne=E("./sha"),ie=E("./md5"),ce={sha1:ne,md5:ie},ue=64,ae=se.alloc(ue);ae.fill(0);function oe(a,y,x){se.isBuffer(y)||(y=se.from(y)),se.isBuffer(x)||(x=se.from(x)),y.length>ue?y=a(y):y.length<ue&&(y=se.concat([y,ae],ue));for(var b=se.alloc(ue),z=se.alloc(ue),te=0;te<ue;te++)b[te]=y[te]^54,z[te]=y[te]^92;var le=a(se.concat([b,x]));return a(se.concat([z,le]))}function re(a,y){a=a||"sha1";var x=ce[a],b=[],z=0;return x||ee("algorithm:",a,"is not yet supported"),{update:function(le){return se.isBuffer(le)||(le=se.from(le)),b.push(le),z+=le.length,this},digest:function(le){var fe=se.concat(b),pe=y?oe(x,y,fe):x(fe);return b=null,le?pe.toString(le):pe}}}function ee(){var a=[].slice.call(arguments).join(" ");throw new Error([a,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}de.createHash=function(a){return re(a)},de.createHmac=function(a,y){return re(a,y)},de.createCredentials=function(){ee("sorry,createCredentials is not implemented yet")},de.createCipher=function(){ee("sorry,createCipher is not implemented yet")},de.createCipheriv=function(){ee("sorry,createCipheriv is not implemented yet")},de.createDecipher=function(){ee("sorry,createDecipher is not implemented yet")},de.createDecipheriv=function(){ee("sorry,createDecipheriv is not implemented yet")},de.createSign=function(){ee("sorry,createSign is not implemented yet")},de.createVerify=function(){ee("sorry,createVerify is not implemented yet")},de.createDiffieHellman=function(){ee("sorry,createDiffieHellman is not implemented yet")},de.pbkdf2=function(){ee("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(E,he,de){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js");var se=E("buffer").Buffer,ne=4,ie=se.alloc(ne);ie.fill(0);var ce=8;function ue(re,ee){if(re.length%ne!==0){var a=re.length+(ne-re.length%ne);re=se.concat([re,ie],a)}for(var y=[],x=ee?re.readInt32BE:re.readInt32LE,b=0;b<re.length;b+=ne)y.push(x.call(re,b));return y}function ae(re,ee,a){for(var y=se.alloc(ee),x=a?y.writeInt32BE:y.writeInt32LE,b=0;b<re.length;b++)x.call(y,re[b],b*4,!0);return y}function oe(re,ee,a,y){se.isBuffer(re)||(re=se.from(re));var x=ee(ue(re,y),re.length*ce);return ae(x,a,y)}he.exports={hash:oe}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(E,he,de){"use strict";var se=E("./helpers");function ne(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ie(y,x){y[x>>5]|=128<<x%32,y[(x+64>>>9<<4)+14]=x;for(var b=1732584193,z=-271733879,te=-1732584194,le=271733878,fe=0;fe<y.length;fe+=16){var pe=b,me=z,ge=te,Se=le;b=ue(b,z,te,le,y[fe+0],7,-680876936),le=ue(le,b,z,te,y[fe+1],12,-389564586),te=ue(te,le,b,z,y[fe+2],17,606105819),z=ue(z,te,le,b,y[fe+3],22,-1044525330),b=ue(b,z,te,le,y[fe+4],7,-176418897),le=ue(le,b,z,te,y[fe+5],12,1200080426),te=ue(te,le,b,z,y[fe+6],17,-1473231341),z=ue(z,te,le,b,y[fe+7],22,-45705983),b=ue(b,z,te,le,y[fe+8],7,1770035416),le=ue(le,b,z,te,y[fe+9],12,-1958414417),te=ue(te,le,b,z,y[fe+10],17,-42063),z=ue(z,te,le,b,y[fe+11],22,-1990404162),b=ue(b,z,te,le,y[fe+12],7,1804603682),le=ue(le,b,z,te,y[fe+13],12,-40341101),te=ue(te,le,b,z,y[fe+14],17,-1502002290),z=ue(z,te,le,b,y[fe+15],22,1236535329),b=ae(b,z,te,le,y[fe+1],5,-165796510),le=ae(le,b,z,te,y[fe+6],9,-1069501632),te=ae(te,le,b,z,y[fe+11],14,643717713),z=ae(z,te,le,b,y[fe+0],20,-373897302),b=ae(b,z,te,le,y[fe+5],5,-701558691),le=ae(le,b,z,te,y[fe+10],9,38016083),te=ae(te,le,b,z,y[fe+15],14,-660478335),z=ae(z,te,le,b,y[fe+4],20,-405537848),b=ae(b,z,te,le,y[fe+9],5,568446438),le=ae(le,b,z,te,y[fe+14],9,-1019803690),te=ae(te,le,b,z,y[fe+3],14,-187363961),z=ae(z,te,le,b,y[fe+8],20,1163531501),b=ae(b,z,te,le,y[fe+13],5,-1444681467),le=ae(le,b,z,te,y[fe+2],9,-51403784),te=ae(te,le,b,z,y[fe+7],14,1735328473),z=ae(z,te,le,b,y[fe+12],20,-1926607734),b=oe(b,z,te,le,y[fe+5],4,-378558),le=oe(le,b,z,te,y[fe+8],11,-2022574463),te=oe(te,le,b,z,y[fe+11],16,1839030562),z=oe(z,te,le,b,y[fe+14],23,-35309556),b=oe(b,z,te,le,y[fe+1],4,-1530992060),le=oe(le,b,z,te,y[fe+4],11,1272893353),te=oe(te,le,b,z,y[fe+7],16,-155497632),z=oe(z,te,le,b,y[fe+10],23,-1094730640),b=oe(b,z,te,le,y[fe+13],4,681279174),le=oe(le,b,z,te,y[fe+0],11,-358537222),te=oe(te,le,b,z,y[fe+3],16,-722521979),z=oe(z,te,le,b,y[fe+6],23,76029189),b=oe(b,z,te,le,y[fe+9],4,-640364487),le=oe(le,b,z,te,y[fe+12],11,-421815835),te=oe(te,le,b,z,y[fe+15],16,530742520),z=oe(z,te,le,b,y[fe+2],23,-995338651),b=re(b,z,te,le,y[fe+0],6,-198630844),le=re(le,b,z,te,y[fe+7],10,1126891415),te=re(te,le,b,z,y[fe+14],15,-1416354905),z=re(z,te,le,b,y[fe+5],21,-57434055),b=re(b,z,te,le,y[fe+12],6,1700485571),le=re(le,b,z,te,y[fe+3],10,-1894986606),te=re(te,le,b,z,y[fe+10],15,-1051523),z=re(z,te,le,b,y[fe+1],21,-2054922799),b=re(b,z,te,le,y[fe+8],6,1873313359),le=re(le,b,z,te,y[fe+15],10,-30611744),te=re(te,le,b,z,y[fe+6],15,-1560198380),z=re(z,te,le,b,y[fe+13],21,1309151649),b=re(b,z,te,le,y[fe+4],6,-145523070),le=re(le,b,z,te,y[fe+11],10,-1120210379),te=re(te,le,b,z,y[fe+2],15,718787259),z=re(z,te,le,b,y[fe+9],21,-343485551),b=ee(b,pe),z=ee(z,me),te=ee(te,ge),le=ee(le,Se)}return Array(b,z,te,le)}function ce(y,x,b,z,te,le){return ee(a(ee(ee(x,y),ee(z,le)),te),b)}function ue(y,x,b,z,te,le,fe){return ce(x&b|~x&z,y,x,te,le,fe)}function ae(y,x,b,z,te,le,fe){return ce(x&z|b&~z,y,x,te,le,fe)}function oe(y,x,b,z,te,le,fe){return ce(x^b^z,y,x,te,le,fe)}function re(y,x,b,z,te,le,fe){return ce(b^(x|~z),y,x,te,le,fe)}function ee(y,x){var b=(y&65535)+(x&65535),z=(y>>16)+(x>>16)+(b>>16);return z<<16|b&65535}function a(y,x){return y<<x|y>>>32-x}he.exports=function(x){return se.hash(x,ie,16)}},{"./helpers":462}],464:[function(E,he,de){"use strict";var se=E("./helpers");function ne(oe,re){oe[re>>5]|=128<<24-re%32,oe[(re+64>>9<<4)+15]=re;for(var ee=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,z=-1009589776,te=0;te<oe.length;te+=16){for(var le=a,fe=y,pe=x,me=b,ge=z,Se=0;Se<80;Se++){Se<16?ee[Se]=oe[te+Se]:ee[Se]=ae(ee[Se-3]^ee[Se-8]^ee[Se-14]^ee[Se-16],1);var ye=ue(ue(ae(a,5),ie(Se,y,x,b)),ue(ue(z,ee[Se]),ce(Se)));z=b,b=x,x=ae(y,30),y=a,a=ye}a=ue(a,le),y=ue(y,fe),x=ue(x,pe),b=ue(b,me),z=ue(z,ge)}return Array(a,y,x,b,z)}function ie(oe,re,ee,a){return oe<20?re&ee|~re&a:oe<40?re^ee^a:oe<60?re&ee|re&a|ee&a:re^ee^a}function ce(oe){return oe<20?1518500249:oe<40?1859775393:oe<60?-1894007588:-899497514}function ue(oe,re){var ee=(oe&65535)+(re&65535),a=(oe>>16)+(re>>16)+(ee>>16);return a<<16|ee&65535}function ae(oe,re){return oe<<re|oe>>>32-re}he.exports=function(re){return se.hash(re,ne,20,!0)}},{"./helpers":462}],465:[function(E,he,de){"use strict";he.exports=function(){return function(){}}},{}],466:[function(E,he,de){(function(se){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ie=ne(E("@babel/runtime/helpers/typeof")),ce=E("stream"),ue=ce.Stream,ae=E("../lib/common/utils/isArray"),oe=ae.isArray;he.exports.string=function(a){return typeof a=="string"},he.exports.array=oe,he.exports.buffer=se.isBuffer;function re(ee){return ee instanceof ue}he.exports.writableStream=function(a){return re(a)&&typeof a._write=="function"&&(0,ie.default)(a._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(E,he,de){"use strict";var se=E("immediate"),ne=he.exports={};ne.nextTick=se,ne.title="browser",ne.browser=!0,ne.env={},ne.argv=[],ne.version="",ne.versions={};function ie(){}ne.on=ie,ne.addListener=ie,ne.once=ie,ne.off=ie,ne.removeListener=ie,ne.removeAllListeners=ie,ne.emit=ie,ne.prependListener=ie,ne.prependOnceListener=ie,ne.listeners=function(ce){return[]},ne.binding=function(ce){throw new Error("process.binding is not supported")},ne.cwd=function(){return"/"},ne.chdir=function(ce){throw new Error("process.chdir is not supported")},ne.umask=function(){return 0}},{immediate:358}],468:[function(E,he,de){(function(se){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var ne=E("./lib/request"),ie=E("./lib/response"),ce=E("xtend"),ue=E("builtin-status-codes"),ae=E("url"),oe=de;oe.request=function(re,ee){typeof re=="string"?re=ae.parse(re):re=ce(re);var a=se.location.protocol.search(/^https?:$/)===-1?"http:":"",y=re.protocol||a,x=re.hostname||re.host,b=re.port,z=re.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),re.url=(x?y+"//"+x:"")+(b?":"+b:"")+z,re.method=(re.method||"GET").toUpperCase(),re.headers=re.headers||{};var te=new ne(re);return ee&&te.on("response",ee),te},oe.get=function(ee,a){var y=oe.request(ee,a);return y.end(),y},oe.ClientRequest=ne,oe.IncomingMessage=ie.IncomingMessage,oe.Agent=function(){},oe.Agent.defaultMaxSockets=4,oe.globalAgent=new oe.Agent,oe.STATUS_CODES=ue,oe.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,he,de){(function(se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),de.fetch=oe(se.fetch)&&oe(se.ReadableStream),de.writableStream=oe(se.WritableStream),de.abortController=oe(se.AbortController),de.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),de.blobConstructor=!0}catch(re){}var ne;function ie(){if(ne!==void 0)return ne;if(se.XMLHttpRequest){ne=new se.XMLHttpRequest;try{ne.open("GET",se.XDomainRequest?"/":"https://example.com")}catch(re){ne=null}}else ne=null;return ne}function ce(re){var ee=ie();if(!ee)return!1;try{return ee.responseType=re,ee.responseType===re}catch(a){}return!1}var ue=typeof se.ArrayBuffer!="undefined",ae=ue&&oe(se.ArrayBuffer.prototype.slice);de.arraybuffer=de.fetch||ue&&ce("arraybuffer"),de.msstream=!de.fetch&&ae&&ce("ms-stream"),de.mozchunkedarraybuffer=!de.fetch&&ue&&ce("moz-chunked-arraybuffer"),de.overrideMimeType=de.fetch||(ie()?oe(ie().overrideMimeType):!1),de.vbArray=oe(se.VBArray);function oe(re){return typeof re=="function"}ne=null}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(E,he,de){(function(se,ne,ie){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var ce=E("./capability"),ue=E("inherits"),ae=E("./response"),oe=E("readable-stream"),re=E("to-arraybuffer"),ee=ae.IncomingMessage,a=ae.readyStates;function y(te,le){return ce.fetch&&le?"fetch":ce.mozchunkedarraybuffer?"moz-chunked-arraybuffer":ce.msstream?"ms-stream":ce.arraybuffer&&te?"arraybuffer":ce.vbArray&&te?"text:vbarray":"text"}var x=he.exports=function(te){var le=this;oe.Writable.call(le),le._opts=te,le._body=[],le._headers={},te.auth&&le.setHeader("Authorization","Basic "+new ie(te.auth).toString("base64")),Object.keys(te.headers).forEach(function(me){le.setHeader(me,te.headers[me])});var fe,pe=!0;if(te.mode==="disable-fetch"||"requestTimeout"in te&&!ce.abortController)pe=!1,fe=!0;else if(te.mode==="prefer-streaming")fe=!1;else if(te.mode==="allow-wrong-content-type")fe=!ce.overrideMimeType;else if(!te.mode||te.mode==="default"||te.mode==="prefer-fast")fe=!0;else throw new Error("Invalid value for opts.mode");le._mode=y(fe,pe),le._fetchTimer=null,le.on("finish",function(){le._onFinish()})};ue(x,oe.Writable),x.prototype.setHeader=function(te,le){var fe=this,pe=te.toLowerCase();z.indexOf(pe)===-1&&(fe._headers[pe]={name:te,value:le})},x.prototype.getHeader=function(te){var le=this._headers[te.toLowerCase()];return le?le.value:null},x.prototype.removeHeader=function(te){var le=this;delete le._headers[te.toLowerCase()]},x.prototype._onFinish=function(){var te=this;if(!te._destroyed){var le=te._opts,fe=te._headers,pe=null;le.method!=="GET"&&le.method!=="HEAD"&&(ce.arraybuffer?pe=re(ie.concat(te._body)):ce.blobConstructor?pe=new ne.Blob(te._body.map(function(we){return re(we)}),{type:(fe["content-type"]||{}).value||""}):pe=ie.concat(te._body).toString());var me=[];if(Object.keys(fe).forEach(function(we){var De=fe[we].name,Ee=fe[we].value;Array.isArray(Ee)?Ee.forEach(function(Ae){me.push([De,Ae])}):me.push([De,Ee])}),te._mode==="fetch"){var ge=null,Se=null;if(ce.abortController){var ye=new AbortController;ge=ye.signal,te._fetchAbortController=ye,"requestTimeout"in le&&le.requestTimeout!==0&&(te._fetchTimer=ne.setTimeout(function(){te.emit("requestTimeout"),te._fetchAbortController&&te._fetchAbortController.abort()},le.requestTimeout))}ne.fetch(te._opts.url,{method:te._opts.method,headers:me,body:pe||void 0,mode:"cors",credentials:le.withCredentials?"include":"same-origin",signal:ge}).then(function(we){te._fetchResponse=we,te._connect()},function(we){ne.clearTimeout(te._fetchTimer),te._destroyed||te.emit("error",we)})}else{var Pe=te._xhr=new ne.XMLHttpRequest;try{Pe.open(te._opts.method,te._opts.url,!0)}catch(we){se.nextTick(function(){te.emit("error",we)});return}"responseType"in Pe&&(Pe.responseType=te._mode.split(":")[0]),"withCredentials"in Pe&&(Pe.withCredentials=!!le.withCredentials),te._mode==="text"&&"overrideMimeType"in Pe&&Pe.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in le&&(Pe.timeout=le.requestTimeout,Pe.ontimeout=function(){te.emit("requestTimeout")}),me.forEach(function(we){Pe.setRequestHeader(we[0],we[1])}),te._response=null,Pe.onreadystatechange=function(){switch(Pe.readyState){case a.LOADING:case a.DONE:te._onXHRProgress();break}},te._mode==="moz-chunked-arraybuffer"&&(Pe.onprogress=function(){te._onXHRProgress()}),Pe.onerror=function(){te._destroyed||te.emit("error",new Error("XHR error"))};try{Pe.send(pe)}catch(we){se.nextTick(function(){te.emit("error",we)});return}}}};function b(te){try{var le=te.status;return le!==null&&le!==0}catch(fe){return!1}}x.prototype._onXHRProgress=function(){var te=this;!b(te._xhr)||te._destroyed||(te._response||te._connect(),te._response._onXHRProgress())},x.prototype._connect=function(){var te=this;te._destroyed||(te._response=new ee(te._xhr,te._fetchResponse,te._mode,te._fetchTimer),te._response.on("error",function(le){te.emit("error",le)}),te.emit("response",te._response))},x.prototype._write=function(te,le,fe){var pe=this;pe._body.push(te),fe()},x.prototype.abort=x.prototype.destroy=function(){var te=this;te._destroyed=!0,ne.clearTimeout(te._fetchTimer),te._response&&(te._response._destroyed=!0),te._xhr?te._xhr.abort():te._fetchAbortController&&te._fetchAbortController.abort()},x.prototype.end=function(te,le,fe){var pe=this;typeof te=="function"&&(fe=te,te=void 0),oe.Writable.prototype.end.call(pe,te,le,fe)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var z=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,he,de){(function(se,ne,ie){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var ce=E("./capability"),ue=E("inherits"),ae=E("readable-stream"),oe=de.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},re=de.IncomingMessage=function(ee,a,y,x){var b=this;if(ae.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){se.nextTick(function(){b.emit("close")})}),y==="fetch"){var z=function ge(){le.read().then(function(Se){if(!b._destroyed){if(Se.done){ne.clearTimeout(x),b.push(null);return}b.push(new ie(Se.value)),ge()}}).catch(function(Se){ne.clearTimeout(x),b._destroyed||b.emit("error",Se)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(ge,Se){b.headers[Se.toLowerCase()]=ge,b.rawHeaders.push(Se,ge)}),ce.writableStream){var te=new WritableStream({write:function(Se){return new Promise(function(ye,Pe){b._destroyed?Pe():b.push(new ie(Se))?ye():b._resumeFetch=ye})},close:function(){ne.clearTimeout(x),b._destroyed||b.push(null)},abort:function(Se){b._destroyed||b.emit("error",Se)}});try{a.body.pipeTo(te).catch(function(ge){ne.clearTimeout(x),b._destroyed||b.emit("error",ge)});return}catch(ge){}}var le=a.body.getReader();z()}else{b._xhr=ee,b._pos=0,b.url=ee.responseURL,b.statusCode=ee.status,b.statusMessage=ee.statusText;var fe=ee.getAllResponseHeaders().split(/\r?\n/);if(fe.forEach(function(ge){var Se=ge.match(/^([^:]+):\s*(.*)/);if(Se){var ye=Se[1].toLowerCase();ye==="set-cookie"?(b.headers[ye]===void 0&&(b.headers[ye]=[]),b.headers[ye].push(Se[2])):b.headers[ye]!==void 0?b.headers[ye]+=", "+Se[2]:b.headers[ye]=Se[2],b.rawHeaders.push(Se[1],Se[2])}}),b._charset="x-user-defined",!ce.overrideMimeType){var pe=b.rawHeaders["mime-type"];if(pe){var me=pe.match(/;\s*charset=([^;])(;|$)/);me&&(b._charset=me[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};ue(re,ae.Readable),re.prototype._read=function(){var ee=this,a=ee._resumeFetch;a&&(ee._resumeFetch=null,a())},re.prototype._onXHRProgress=function(){var ee=this,a=ee._xhr,y=null;switch(ee._mode){case"text:vbarray":if(a.readyState!==oe.DONE)break;try{y=new ne.VBArray(a.responseBody).toArray()}catch(le){}if(y!==null){ee.push(new ie(y));break}case"text":try{y=a.responseText}catch(le){ee._mode="text:vbarray";break}if(y.length>ee._pos){var x=y.substr(ee._pos);if(ee._charset==="x-user-defined"){for(var b=new ie(x.length),z=0;z<x.length;z++)b[z]=x.charCodeAt(z)&255;ee.push(b)}else ee.push(x,ee._charset);ee._pos=y.length}break;case"arraybuffer":if(a.readyState!==oe.DONE||!a.response)break;y=a.response,ee.push(new ie(new Uint8Array(y)));break;case"moz-chunked-arraybuffer":if(y=a.response,a.readyState!==oe.LOADING||!y)break;ee.push(new ie(new Uint8Array(y)));break;case"ms-stream":if(y=a.response,a.readyState!==oe.LOADING)break;var te=new ne.MSStreamReader;te.onprogress=function(){te.result.byteLength>ee._pos&&(ee.push(new ie(new Uint8Array(te.result.slice(ee._pos)))),ee._pos=te.result.byteLength)},te.onload=function(){ee.push(null)},te.readAsArrayBuffer(y);break}ee._xhr.readyState===oe.DONE&&ee._mode!=="ms-stream"&&ee.push(null)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var ie=E("punycode"),ce=E("./util");de.parse=Se,de.resolve=Pe,de.resolveObject=we,de.format=ye,de.Url=ue;function ue(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ae=/^([a-z0-9.+-]+:)/i,oe=/:[0-9]*$/,re=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ee=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],a=["{","}","|","\\","^","`"].concat(ee),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],z=255,te=/^[+a-z0-9A-Z_-]{0,63}$/,le=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,fe={javascript:!0,"javascript:":!0},pe={javascript:!0,"javascript:":!0},me={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},ge=E("querystring");function Se(De,Ee,Ae){if(De&&ce.isObject(De)&&De instanceof ue)return De;var Ce=new ue;return Ce.parse(De,Ee,Ae),Ce}ue.prototype.parse=function(De,Ee,Ae){if(!ce.isString(De))throw new TypeError("Parameter 'url' must be a string, not "+(0,ne.default)(De));var Ce=De.indexOf("?"),Ie=Ce!==-1&&Ce<De.indexOf("#")?"?":"#",Me=De.split(Ie),Ge=/\\/g;Me[0]=Me[0].replace(Ge,"/"),De=Me.join(Ie);var Be=De;if(Be=Be.trim(),!Ae&&De.split("#").length===1){var Qe=re.exec(Be);if(Qe)return this.path=Be,this.href=Be,this.pathname=Qe[1],Qe[2]?(this.search=Qe[2],Ee?this.query=ge.parse(this.search.substr(1)):this.query=this.search.substr(1)):Ee&&(this.search="",this.query={}),this}var qe=ae.exec(Be);if(qe){qe=qe[0];var Xe=qe.toLowerCase();this.protocol=Xe,Be=Be.substr(qe.length)}if(Ae||qe||Be.match(/^\/\/[^@\/]+@[^@\/]+/)){var Ve=Be.substr(0,2)==="//";Ve&&!(qe&&pe[qe])&&(Be=Be.substr(2),this.slashes=!0)}if(!pe[qe]&&(Ve||qe&&!me[qe])){for(var We=-1,ze=0;ze<b.length;ze++){var He=Be.indexOf(b[ze]);He!==-1&&(We===-1||He<We)&&(We=He)}var tt,Je;We===-1?Je=Be.lastIndexOf("@"):Je=Be.lastIndexOf("@",We),Je!==-1&&(tt=Be.slice(0,Je),Be=Be.slice(Je+1),this.auth=decodeURIComponent(tt)),We=-1;for(var ze=0;ze<x.length;ze++){var He=Be.indexOf(x[ze]);He!==-1&&(We===-1||He<We)&&(We=He)}We===-1&&(We=Be.length),this.host=Be.slice(0,We),Be=Be.slice(We),this.parseHost(),this.hostname=this.hostname||"";var ut=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ut)for(var Ye=this.hostname.split("."),ze=0,Ue=Ye.length;ze<Ue;ze++){var je=Ye[ze];if(je&&!je.match(te)){for(var $e="",Le=0,Ne=je.length;Le<Ne;Le++)je.charCodeAt(Le)>127?$e+="x":$e+=je[Le];if(!$e.match(te)){var et=Ye.slice(0,ze),Ze=Ye.slice(ze+1),Fe=je.match(le);Fe&&(et.push(Fe[1]),Ze.unshift(Fe[2])),Ze.length&&(Be="/"+Ze.join(".")+Be),this.hostname=et.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),ut||(this.hostname=ie.toASCII(this.hostname));var Oe=this.port?":"+this.port:"",Te=this.hostname||"";this.host=Te+Oe,this.href+=this.host,ut&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Be[0]!=="/"&&(Be="/"+Be))}if(!fe[Xe])for(var ze=0,Ue=y.length;ze<Ue;ze++){var xe=y[ze];if(Be.indexOf(xe)!==-1){var Re=encodeURIComponent(xe);Re===xe&&(Re=escape(xe)),Be=Be.split(xe).join(Re)}}var Ke=Be.indexOf("#");Ke!==-1&&(this.hash=Be.substr(Ke),Be=Be.slice(0,Ke));var ot=Be.indexOf("?");if(ot!==-1?(this.search=Be.substr(ot),this.query=Be.substr(ot+1),Ee&&(this.query=ge.parse(this.query)),Be=Be.slice(0,ot)):Ee&&(this.search="",this.query={}),Be&&(this.pathname=Be),me[Xe]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Oe=this.pathname||"",ke=this.search||"";this.path=Oe+ke}return this.href=this.format(),this};function ye(De){return ce.isString(De)&&(De=Se(De)),De instanceof ue?De.format():ue.prototype.format.call(De)}ue.prototype.format=function(){var De=this.auth||"";De&&(De=encodeURIComponent(De),De=De.replace(/%3A/i,":"),De+="@");var Ee=this.protocol||"",Ae=this.pathname||"",Ce=this.hash||"",Ie=!1,Me="";this.host?Ie=De+this.host:this.hostname&&(Ie=De+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Ie+=":"+this.port)),this.query&&ce.isObject(this.query)&&Object.keys(this.query).length&&(Me=ge.stringify(this.query));var Ge=this.search||Me&&"?"+Me||"";return Ee&&Ee.substr(-1)!==":"&&(Ee+=":"),this.slashes||(!Ee||me[Ee])&&Ie!==!1?(Ie="//"+(Ie||""),Ae&&Ae.charAt(0)!=="/"&&(Ae="/"+Ae)):Ie||(Ie=""),Ce&&Ce.charAt(0)!=="#"&&(Ce="#"+Ce),Ge&&Ge.charAt(0)!=="?"&&(Ge="?"+Ge),Ae=Ae.replace(/[?#]/g,function(Be){return encodeURIComponent(Be)}),Ge=Ge.replace("#","%23"),Ee+Ie+Ae+Ge+Ce};function Pe(De,Ee){return Se(De,!1,!0).resolve(Ee)}ue.prototype.resolve=function(De){return this.resolveObject(Se(De,!1,!0)).format()};function we(De,Ee){return De?Se(De,!1,!0).resolveObject(Ee):Ee}ue.prototype.resolveObject=function(De){if(ce.isString(De)){var Ee=new ue;Ee.parse(De,!1,!0),De=Ee}for(var Ae=new ue,Ce=Object.keys(this),Ie=0;Ie<Ce.length;Ie++){var Me=Ce[Ie];Ae[Me]=this[Me]}if(Ae.hash=De.hash,De.href==="")return Ae.href=Ae.format(),Ae;if(De.slashes&&!De.protocol){for(var Ge=Object.keys(De),Be=0;Be<Ge.length;Be++){var Qe=Ge[Be];Qe!=="protocol"&&(Ae[Qe]=De[Qe])}return me[Ae.protocol]&&Ae.hostname&&!Ae.pathname&&(Ae.path=Ae.pathname="/"),Ae.href=Ae.format(),Ae}if(De.protocol&&De.protocol!==Ae.protocol){if(!me[De.protocol]){for(var qe=Object.keys(De),Xe=0;Xe<qe.length;Xe++){var Ve=qe[Xe];Ae[Ve]=De[Ve]}return Ae.href=Ae.format(),Ae}if(Ae.protocol=De.protocol,!De.host&&!pe[De.protocol]){for(var Ue=(De.pathname||"").split("/");Ue.length&&!(De.host=Ue.shift()););De.host||(De.host=""),De.hostname||(De.hostname=""),Ue[0]!==""&&Ue.unshift(""),Ue.length<2&&Ue.unshift(""),Ae.pathname=Ue.join("/")}else Ae.pathname=De.pathname;if(Ae.search=De.search,Ae.query=De.query,Ae.host=De.host||"",Ae.auth=De.auth,Ae.hostname=De.hostname||De.host,Ae.port=De.port,Ae.pathname||Ae.search){var We=Ae.pathname||"",ze=Ae.search||"";Ae.path=We+ze}return Ae.slashes=Ae.slashes||De.slashes,Ae.href=Ae.format(),Ae}var He=Ae.pathname&&Ae.pathname.charAt(0)==="/",tt=De.host||De.pathname&&De.pathname.charAt(0)==="/",Je=tt||He||Ae.host&&De.pathname,ut=Je,Ye=Ae.pathname&&Ae.pathname.split("/")||[],Ue=De.pathname&&De.pathname.split("/")||[],je=Ae.protocol&&!me[Ae.protocol];if(je&&(Ae.hostname="",Ae.port=null,Ae.host&&(Ye[0]===""?Ye[0]=Ae.host:Ye.unshift(Ae.host)),Ae.host="",De.protocol&&(De.hostname=null,De.port=null,De.host&&(Ue[0]===""?Ue[0]=De.host:Ue.unshift(De.host)),De.host=null),Je=Je&&(Ue[0]===""||Ye[0]==="")),tt)Ae.host=De.host||De.host===""?De.host:Ae.host,Ae.hostname=De.hostname||De.hostname===""?De.hostname:Ae.hostname,Ae.search=De.search,Ae.query=De.query,Ye=Ue;else if(Ue.length)Ye||(Ye=[]),Ye.pop(),Ye=Ye.concat(Ue),Ae.search=De.search,Ae.query=De.query;else if(!ce.isNullOrUndefined(De.search)){if(je){Ae.hostname=Ae.host=Ye.shift();var $e=Ae.host&&Ae.host.indexOf("@")>0?Ae.host.split("@"):!1;$e&&(Ae.auth=$e.shift(),Ae.host=Ae.hostname=$e.shift())}return Ae.search=De.search,Ae.query=De.query,(!ce.isNull(Ae.pathname)||!ce.isNull(Ae.search))&&(Ae.path=(Ae.pathname?Ae.pathname:"")+(Ae.search?Ae.search:"")),Ae.href=Ae.format(),Ae}if(!Ye.length)return Ae.pathname=null,Ae.search?Ae.path="/"+Ae.search:Ae.path=null,Ae.href=Ae.format(),Ae;for(var Le=Ye.slice(-1)[0],Ne=(Ae.host||De.host||Ye.length>1)&&(Le==="."||Le==="..")||Le==="",et=0,Ze=Ye.length;Ze>=0;Ze--)Le=Ye[Ze],Le==="."?Ye.splice(Ze,1):Le===".."?(Ye.splice(Ze,1),et++):et&&(Ye.splice(Ze,1),et--);if(!Je&&!ut)for(;et--;et)Ye.unshift("..");Je&&Ye[0]!==""&&(!Ye[0]||Ye[0].charAt(0)!=="/")&&Ye.unshift(""),Ne&&Ye.join("/").substr(-1)!=="/"&&Ye.push("");var Fe=Ye[0]===""||Ye[0]&&Ye[0].charAt(0)==="/";if(je){Ae.hostname=Ae.host=Fe?"":Ye.length?Ye.shift():"";var $e=Ae.host&&Ae.host.indexOf("@")>0?Ae.host.split("@"):!1;$e&&(Ae.auth=$e.shift(),Ae.host=Ae.hostname=$e.shift())}return Je=Je||Ae.host&&Ye.length,Je&&!Fe&&Ye.unshift(""),Ye.length?Ae.pathname=Ye.join("/"):(Ae.pathname=null,Ae.path=null),(!ce.isNull(Ae.pathname)||!ce.isNull(Ae.search))&&(Ae.path=(Ae.pathname?Ae.pathname:"")+(Ae.search?Ae.search:"")),Ae.auth=De.auth||Ae.auth,Ae.slashes=Ae.slashes||De.slashes,Ae.href=Ae.format(),Ae},ue.prototype.parseHost=function(){var De=this.host,Ee=oe.exec(De);Ee&&(Ee=Ee[0],Ee!==":"&&(this.port=Ee.substr(1)),De=De.substr(0,De.length-Ee.length)),De&&(this.hostname=De)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,he,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/helpers/typeof"));he.exports={isString:function(ce){return typeof ce=="string"},isObject:function(ce){return(0,ne.default)(ce)==="object"&&ce!==null},isNull:function(ce){return ce===null},isNullOrUndefined:function(ce){return ce==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,he,de){"use strict";E("core-js/modules/es.number.constructor.js"),de.encodeURIComponent=function(se){try{return encodeURIComponent(se)}catch(ne){return se}},de.escape=E("escape-html"),de.timestamp=function(ne){if(ne){var ie=ne;return typeof ie=="string"&&(ie=Number(ie)),String(ne).length===10&&(ie*=1e3),new Date(ie)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,he,de){(function(se,ne){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),ce=ie(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var ue=E("util"),ae=E("url"),oe=E("http"),re=E("https"),ee=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function z(pe,me){return pe===void 0?me:pe}function te(pe){return pe?pe.split(";")[0].trim().toLowerCase():""}function le(pe,me){return function(ge,Se,ye){if(ge)return me(ge);pe({data:Se,status:ye.statusCode,headers:ye.headers,res:ye})}}de.TIMEOUTS=[a("300s"),a("300s")];var fe=["json","text"];de.request=function(me,ge,Se){return arguments.length===2&&typeof ge=="function"&&(Se=ge,ge=null),typeof Se=="function"?de.requestWithCallback(me,ge,Se):new Promise(function(ye,Pe){de.requestWithCallback(me,ge,le(ye,Pe))})},de.requestWithCallback=function(me,ge,Se){if(!me||typeof me!="string"&&(0,ce.default)(me)!=="object"){var ye=ue.format("expect request url to be a string or a http request options, but got %j",me);throw new Error(ye)}arguments.length===2&&typeof ge=="function"&&(Se=ge,ge=null),ge=ge||{},y>=x&&(y=0);var Pe=++y;ge.requestUrls=ge.requestUrls||[];var we={requestId:Pe,url:me,args:ge,ctx:ge.ctx};ge.emitter&&ge.emitter.emit("request",we),ge.timeout=ge.timeout||de.TIMEOUTS,ge.maxRedirects=ge.maxRedirects||10,ge.streaming=ge.streaming||ge.customResponse;var De=Date.now(),Ee;typeof me=="string"?(b.test(me)||(me="https://"+me),Ee=ae.parse(me)):Ee=me;var Ae=(ge.type||ge.method||Ee.method||"GET").toUpperCase(),Ce=Ee.port||80,Ie=oe,Me=z(ge.agent,de.agent),Ge=ge.fixJSONCtlChars;Ee.protocol==="https:"&&(Ie=re,Me=z(ge.httpsAgent,de.httpsAgent),Ee.port||(Ce=443));var Be={host:Ee.hostname||Ee.host||"localhost",path:Ee.path||"/",method:Ae,port:Ce,agent:Me,headers:ge.headers||{},lookup:ge.lookup};Array.isArray(ge.timeout)?Be.requestTimeout=ge.timeout[ge.timeout.length-1]:typeof ge.timeout!="undefined"&&(Be.requestTimeout=ge.timeout);var Qe=ge.auth||Ee.auth;Qe&&(Be.auth=Qe);var qe=ge.content||ge.data,Xe=Ae==="GET"||Ae==="HEAD"||ge.dataAsQueryString;if(!ge.content&&qe&&!(typeof qe=="string"||ne.isBuffer(qe)))if(Xe)qe=ge.nestedQuerystring?qs.stringify(qe):querystring.stringify(qe);else{var Ve=Be.headers["Content-Type"]||Be.headers["content-type"];Ve||(ge.contentType==="json"?Ve="application/json":Ve="application/x-www-form-urlencoded",Be.headers["Content-Type"]=Ve),te(Ve)==="application/json"?qe=JSON.stringify(qe):qe=ge.nestedQuerystring?qs.stringify(qe):querystring.stringify(qe)}Xe&&qe&&(Be.path+=(Ee.query?"&":"?")+qe,qe=null);var We=0;if(qe){var ze=qe.length;ne.isBuffer(qe)||(ze=ne.byteLength(qe)),We=Be.headers["Content-Length"]=ze}ge.dataType==="json"&&(Be.headers.Accept="application/json"),typeof ge.beforeRequest=="function"&&ge.beforeRequest(Be);var He=null,tt=null,Je=null,ut=!1,Ye=!1,Ue=0,je=-1,$e=!1,Le="",Ne="",et=null;ge.timing&&(et={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ze(){He&&(clearTimeout(He),He=null)}function Fe(){tt&&(clearTimeout(tt),tt=null)}function Oe(lt,pt,at){if(Fe(),!Se){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Pe,se.pid,Be.method,me),lt&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),Pe,se.pid,lt.name,lt.message,lt.stack);return}var st=Se;Se=null;var ft={};at&&(je=at.statusCode,ft=at.headers);var vt=Date.now()-De;et&&(et.contentDownload=vt),ee("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",vt,Ue,je,Be.method,Be.host,Be.path,Ye,et);var St={status:je,statusCode:je,headers:ft,size:Ue,aborted:$e,rt:vt,keepAliveSocket:Ye,data:pt,requestUrls:ge.requestUrls,timing:et,remoteAddress:Le,remotePort:Ne};if(lt){var Et="";Me&&typeof Me.getCurrentStatus=="function"&&(Et=", agent status: "+JSON.stringify(Me.getCurrentStatus())),lt.message+=", "+Be.method+" "+me+" "+je+" (connected: "+ut+", keepalive socket: "+Ye+Et+`)
|
|
|
headers: `+JSON.stringify(ft),lt.data=pt,lt.path=Be.path,lt.status=je,lt.headers=ft,lt.res=St}st(lt,pt,ge.streaming?at:St),ge.emitter&&(we.url=me,we.socket=ct&&ct.connection,we.options=Be,we.size=We,ge.emitter.emit("response",{requestId:Pe,error:lt,ctx:ge.ctx,req:we,res:St}))}function Te(lt){var pt=null;if(ge.followRedirect&&statuses.redirect[lt.statusCode]){ge._followRedirectCount=(ge._followRedirectCount||0)+1;var at=lt.headers.location;if(!at)pt=new Error("Got statusCode "+lt.statusCode+" but cannot resolve next location from headers"),pt.name="FollowRedirectError";else if(ge._followRedirectCount>ge.maxRedirects)pt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+me),pt.name="MaxRedirectError";else{var st=ge.formatRedirectUrl?ge.formatRedirectUrl(me,at):ae.resolve(me,at);ee("Request#%d %s: `redirected` from %s to %s",Pe,Be.path,me,st),Fe(),ge.headers&&ge.headers.Host&&b.test(at)&&(ge.headers.Host=null);var ft=Se;return Se=null,de.requestWithCallback(st,ge,ft),{redirect:!0,error:null}}}return{redirect:!1,error:pt}}ge.gzip&&!Be.headers["Accept-Encoding"]&&!Be.headers["accept-encoding"]&&(Be.headers["Accept-Encoding"]="gzip");function xe(lt,pt,at){var st=lt.headers["content-encoding"];return at(null,pt,st)}var Re=ge.writeStream;ee("Request#%d %s %s with headers %j, options.path: %s",Pe,Ae,me,Be.headers,Be.path),ge.requestUrls.push(me);function Ke(lt){if(et&&(et.waiting=Date.now()-De),ee("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,me,lt.statusCode,lt.headers),ge.streaming){var pt=Te(lt);if(pt.redirect){lt.resume();return}return pt.error?(lt.resume(),Oe(pt.error,null,lt)):Oe(null,null,lt)}if(lt.on("close",function(){ee("Request#%d %s: `res close` event emit, total size %d",Pe,me,Ue)}),lt.on("error",function(){ee("Request#%d %s: `res error` event emit, total size %d",Pe,me,Ue)}),lt.on("aborted",function(){$e=!0,ee("Request#%d %s: `res aborted` event emit, total size %d",Pe,me,Ue)}),Re){var at=Te(lt);if(at.redirect){lt.resume();return}return at.error?(lt.resume(),Re.end(),Oe(at.error,null,lt)):(ge.consumeWriteStream===!1?lt.on("end",Oe.bind(null,null,null,lt)):Re.on("close",function(){ee("Request#%d %s: writeStream close event emitted",Pe,me),Oe(Je||null,null,lt)}),lt.pipe(Re))}var st=[];lt.on("data",function(ft){ee("Request#%d %s: `res data` event emit, size %d",Pe,me,ft.length),Ue+=ft.length,st.push(ft)}),lt.on("end",function(){var ft=ne.concat(st,Ue);if(ee("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,me,Ue,lt._dumped),Je)return Oe(Je,ft,lt);var vt=Te(lt);if(vt.error)return Oe(vt.error,ft,lt);vt.redirect||xe(lt,ft,function(St,Et,Mt){if(St)return Oe(St,ft,lt);if(!Mt&&fe.indexOf(ge.dataType)>=0){try{Et=decodeBodyByCharset(Et,lt)}catch(Jt){return ee("decodeBodyByCharset error: %s",Jt),Oe(null,Et,lt)}if(ge.dataType==="json")if(Ue===0)Et=null;else{var kt=parseJSON(Et,Ge);kt.error?St=kt.error:Et=kt.data}}$e&&ee("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,me),Oe(St,Et,lt)})})}var ot,ke;Array.isArray(ge.timeout)?(ot=a(ge.timeout[0]),ke=a(ge.timeout[1])):ot=ke=a(ge.timeout),ee("ConnectTimeout: %d, ResponseTimeout: %d",ot,ke);function nt(){ee("Connect timer ticking, timeout: %d",ot),He=setTimeout(function(){He=null,je===-1&&(je=-2);var lt="Connect timeout for "+ot+"ms",pt="ConnectionTimeoutError";ct.socket||(pt="SocketAssignTimeoutError",lt+=", working sockets is full"),Je=new Error(lt),Je.name=pt,Je.requestId=Pe,ee("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,me,Je.name,lt,ut),ht()},ot)}function mt(){ee("Response timer ticking, timeout: %d",ke),tt=setTimeout(function(){tt=null;var lt="Response timeout for "+ke+"ms",pt="ResponseTimeoutError";Je=new Error(lt),Je.name=pt,Je.requestId=Pe,ee("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,me,Je.name,lt,ut),ht()},ke)}var ct;Be.mode=ge.mode?ge.mode:"";try{ct=Ie.request(Be,Ke)}catch(lt){return Oe(lt)}typeof window=="undefined"?nt():ct.on("requestTimeout",function(){je===-1&&(je=-2);var lt="Connect timeout for "+ot+"ms",pt="ConnectionTimeoutError";Je=new Error(lt),Je.name=pt,Je.requestId=Pe,ht()});function ht(){ee("Request#%d %s abort, connected: %s",Pe,me,ut),ct.socket||(Je.noSocket=!0,Oe(Je)),ct.abort()}return et&&ct.on("finish",function(){et.requestSent=Date.now()-De}),ct.once("socket",function(lt){et&&(et.queuing=Date.now()-De);var pt=lt.readyState;if(pt==="opening"){lt.once("lookup",function(at,st,ft){ee("Request#%d %s lookup: %s, %s, %s",Pe,me,at,st,ft),et&&(et.dnslookup=Date.now()-De),st&&(Le=st)}),lt.once("connect",function(){et&&(et.connected=Date.now()-De),Ze(),mt(),ee("Request#%d %s new socket connected",Pe,me),ut=!0,Le||(Le=lt.remoteAddress),Ne=lt.remotePort});return}ee("Request#%d %s reuse socket connected, readyState: %s",Pe,me,pt),ut=!0,Ye=!0,Le||(Le=lt.remoteAddress),Ne=lt.remotePort,Ze(),mt()}),ct.on("error",function(lt){(lt.name==="Error"||lt.name==="TypeError")&&(lt.name=ut?"ResponseError":"RequestError"),lt.message+=' (req "error")',ee("Request#%d %s `req error` event emit, %s: %s",Pe,me,lt.name,lt.message),Oe(Je||lt)}),Re&&Re.once("error",function(lt){lt.message+=' (writeStream "error")',Je=lt,ee("Request#%d %s `writeStream error` event emit, %s: %s",Pe,me,lt.name,lt.message),ht()}),ge.stream?(ge.stream.pipe(ct),ge.stream.once("error",function(lt){lt.message+=' (stream "error")',Je=lt,ee("Request#%d %s `readStream error` event emit, %s: %s",Pe,me,lt.name,lt.message),ht()})):ct.end(qe),ct.requestId=Pe,ct}}).call(this)}).call(this,E("_process"),E("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},50371:function(Ct,dt){"use strict";function ve(){const be=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let _e=1;_e<arguments.length;_e++){const E=_e<0||arguments.length<=_e?void 0:arguments[_e];E&&Object.keys(E).forEach(he=>{const de=E[he];de!==void 0&&(be[he]=de)})}return be}dt.Z=ve},77578:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return be}});const be=_e=>_e?typeof _e=="function"?_e():_e:null},13845:function(Ct,dt,ve){"use strict";ve.d(dt,{F:function(){return be},Z:function(){return _e}});function be(E){return E!=null&&E===E.window}function _e(E,he){var de,se;if(typeof window=="undefined")return 0;const ne=he?"scrollTop":"scrollLeft";let ie=0;return be(E)?ie=E[he?"pageYOffset":"pageXOffset"]:E instanceof Document?ie=E.documentElement[ne]:(E instanceof HTMLElement||E)&&(ie=E[ne]),E&&!be(E)&&typeof ie!="number"&&(ie=(se=((de=E.ownerDocument)!==null&&de!==void 0?de:E).documentElement)===null||se===void 0?void 0:se[ne]),ie}},56762:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return _e}});var be=ve(59301);function _e(){const[,E]=be.useReducer(he=>he+1,0);return E}},68031:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return he}});var be=ve(16089);function _e(de,se,ne,ie){const ce=ne-se;return de/=ie/2,de<1?ce/2*de*de*de+se:ce/2*((de-=2)*de*de+2)+se}var E=ve(13845);function he(de){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ne=()=>window,callback:ie,duration:ce=450}=se,ue=ne(),ae=(0,E.Z)(ue,!0),oe=Date.now(),re=()=>{const a=Date.now()-oe,y=_e(a>ce?ce:a,ae,de,ce);(0,E.F)(ue)?ue.scrollTo(window.pageXOffset,y):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=y:ue.scrollTop=y,a<ce?(0,be.Z)(re):typeof ie=="function"&&ie()};(0,be.Z)(re)}},24905:function(Ct,dt,ve){"use strict";ve.d(dt,{default:function(){return me}});var be=ve(92310),_e=ve.n(be),E=ve(5630),he=ve(59301),de=ve(36355),se=ve(1684),ne=ve(32441),ce=he.createContext(null),ue=ve(98447),ae=ve(14088),oe=ve(4572),re=function(ge,Se){var ye={};for(var Pe in ge)Object.prototype.hasOwnProperty.call(ge,Pe)&&Se.indexOf(Pe)<0&&(ye[Pe]=ge[Pe]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Pe=Object.getOwnPropertySymbols(ge);we<Pe.length;we++)Se.indexOf(Pe[we])<0&&Object.prototype.propertyIsEnumerable.call(ge,Pe[we])&&(ye[Pe[we]]=ge[Pe[we]]);return ye};const ee=(ge,Se)=>{var ye;const{prefixCls:Pe,className:we,rootClassName:De,children:Ee,indeterminate:Ae=!1,style:Ce,onMouseEnter:Ie,onMouseLeave:Me,skipGroup:Ge=!1,disabled:Be}=ge,Qe=re(ge,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:qe,direction:Xe,checkbox:Ve}=he.useContext(de.E_),We=he.useContext(ce),{isFormItemInput:ze}=he.useContext(ne.aM),He=he.useContext(se.Z),tt=(ye=(We==null?void 0:We.disabled)||Be)!==null&&ye!==void 0?ye:He,Je=he.useRef(Qe.value);he.useEffect(()=>{We==null||We.registerValue(Qe.value)},[]),he.useEffect(()=>{if(!Ge)return Qe.value!==Je.current&&(We==null||We.cancelValue(Je.current),We==null||We.registerValue(Qe.value),Je.current=Qe.value),()=>We==null?void 0:We.cancelValue(Qe.value)},[Qe.value]);const ut=qe("checkbox",Pe),[Ye,Ue]=(0,ue.ZP)(ut),je=Object.assign({},Qe);We&&!Ge&&(je.onChange=function(){Qe.onChange&&Qe.onChange.apply(Qe,arguments),We.toggleOption&&We.toggleOption({label:Ee,value:Qe.value})},je.name=We.name,je.checked=We.value.includes(Qe.value));const $e=_e()(`${ut}-wrapper`,{[`${ut}-rtl`]:Xe==="rtl",[`${ut}-wrapper-checked`]:je.checked,[`${ut}-wrapper-disabled`]:tt,[`${ut}-wrapper-in-form-item`]:ze},Ve==null?void 0:Ve.className,we,De,Ue),Le=_e()({[`${ut}-indeterminate`]:Ae},oe.A,Ue),Ne=Ae?"mixed":void 0;return Ye(he.createElement(ae.Z,{component:"Checkbox",disabled:tt},he.createElement("label",{className:$e,style:Object.assign(Object.assign({},Ve==null?void 0:Ve.style),Ce),onMouseEnter:Ie,onMouseLeave:Me},he.createElement(E.Z,Object.assign({"aria-checked":Ne},je,{prefixCls:ut,className:Le,disabled:tt,ref:Se})),Ee!==void 0&&he.createElement("span",null,Ee))))};var y=he.forwardRef(ee),x=ve(92393),b=ve(2738),z=function(ge,Se){var ye={};for(var Pe in ge)Object.prototype.hasOwnProperty.call(ge,Pe)&&Se.indexOf(Pe)<0&&(ye[Pe]=ge[Pe]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Pe=Object.getOwnPropertySymbols(ge);we<Pe.length;we++)Se.indexOf(Pe[we])<0&&Object.prototype.propertyIsEnumerable.call(ge,Pe[we])&&(ye[Pe[we]]=ge[Pe[we]]);return ye};const te=(ge,Se)=>{const{defaultValue:ye,children:Pe,options:we=[],prefixCls:De,className:Ee,rootClassName:Ae,style:Ce,onChange:Ie}=ge,Me=z(ge,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ge,direction:Be}=he.useContext(de.E_),[Qe,qe]=he.useState(Me.value||ye||[]),[Xe,Ve]=he.useState([]);he.useEffect(()=>{"value"in Me&&qe(Me.value||[])},[Me.value]);const We=he.useMemo(()=>we.map(et=>typeof et=="string"||typeof et=="number"?{label:et,value:et}:et),[we]),ze=et=>{Ve(Ze=>Ze.filter(Fe=>Fe!==et))},He=et=>{Ve(Ze=>[].concat((0,x.Z)(Ze),[et]))},tt=et=>{const Ze=Qe.indexOf(et.value),Fe=(0,x.Z)(Qe);Ze===-1?Fe.push(et.value):Fe.splice(Ze,1),"value"in Me||qe(Fe),Ie==null||Ie(Fe.filter(Oe=>Xe.includes(Oe)).sort((Oe,Te)=>{const xe=We.findIndex(Ke=>Ke.value===Oe),Re=We.findIndex(Ke=>Ke.value===Te);return xe-Re}))},Je=Ge("checkbox",De),ut=`${Je}-group`,[Ye,Ue]=(0,ue.ZP)(Je),je=(0,b.Z)(Me,["value","disabled"]),$e=we.length?We.map(et=>he.createElement(y,{prefixCls:Je,key:et.value.toString(),disabled:"disabled"in et?et.disabled:Me.disabled,value:et.value,checked:Qe.includes(et.value),onChange:et.onChange,className:`${ut}-item`,style:et.style,title:et.title},et.label)):Pe,Le={toggleOption:tt,value:Qe,disabled:Me.disabled,name:Me.name,registerValue:He,cancelValue:ze},Ne=_e()(ut,{[`${ut}-rtl`]:Be==="rtl"},Ee,Ae,Ue);return Ye(he.createElement("div",Object.assign({className:Ne,style:Ce},je,{ref:Se}),he.createElement(ce.Provider,{value:Le},$e)))},le=he.forwardRef(te);var fe=he.memo(le);const pe=y;pe.Group=fe,pe.__ANT_CHECKBOX=!0;var me=pe},98447:function(Ct,dt,ve){"use strict";ve.d(dt,{C2:function(){return de}});var be=ve(17313),_e=ve(37613),E=ve(83116);const he=se=>{const{checkboxCls:ne}=se,ie=`${ne}-wrapper`;return[{[`${ne}-group`]:Object.assign(Object.assign({},(0,be.Wf)(se)),{display:"inline-flex",flexWrap:"wrap",columnGap:se.marginXS,[`> ${se.antCls}-row`]:{flex:1}}),[ie]:Object.assign(Object.assign({},(0,be.Wf)(se)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ie}`]:{marginInlineStart:0},[`&${ie}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ne]:Object.assign(Object.assign({},(0,be.Wf)(se)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:se.borderRadiusSM,alignSelf:"center",[`${ne}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ne}-inner`]:Object.assign({},(0,be.oN)(se))},[`${ne}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:se.checkboxSize,height:se.checkboxSize,direction:"ltr",backgroundColor:se.colorBgContainer,border:`${se.lineWidth}px ${se.lineType} ${se.colorBorder}`,borderRadius:se.borderRadiusSM,borderCollapse:"separate",transition:`all ${se.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:se.checkboxSize/14*5,height:se.checkboxSize/14*8,border:`${se.lineWidthBold}px solid ${se.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${se.motionDurationFast} ${se.motionEaseInBack}, opacity ${se.motionDurationFast}`}},"& + span":{paddingInlineStart:se.paddingXS,paddingInlineEnd:se.paddingXS}})},{[`
|
|
|
${ie}:not(${ie}-disabled),
|
|
|
${ne}:not(${ne}-disabled)
|
|
|
`]:{[`&:hover ${ne}-inner`]:{borderColor:se.colorPrimary}},[`${ie}:not(${ie}-disabled)`]:{[`&:hover ${ne}-checked:not(${ne}-disabled) ${ne}-inner`]:{backgroundColor:se.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ne}-checked:not(${ne}-disabled):after`]:{borderColor:se.colorPrimaryHover}}},{[`${ne}-checked`]:{[`${ne}-inner`]:{backgroundColor:se.colorPrimary,borderColor:se.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${se.motionDurationMid} ${se.motionEaseOutBack} ${se.motionDurationFast}`}}},[`
|
|
|
${ie}-checked:not(${ie}-disabled),
|
|
|
${ne}-checked:not(${ne}-disabled)
|
|
|
`]:{[`&:hover ${ne}-inner`]:{backgroundColor:se.colorPrimaryHover,borderColor:"transparent"}}},{[ne]:{"&-indeterminate":{[`${ne}-inner`]:{backgroundColor:se.colorBgContainer,borderColor:se.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:se.fontSizeLG/2,height:se.fontSizeLG/2,backgroundColor:se.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ie}-disabled`]:{cursor:"not-allowed"},[`${ne}-disabled`]:{[`&, ${ne}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ne}-inner`]:{background:se.colorBgContainerDisabled,borderColor:se.colorBorder,"&:after":{borderColor:se.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:se.colorTextDisabled},[`&${ne}-indeterminate ${ne}-inner::after`]:{background:se.colorTextDisabled}}}]};function de(se,ne){const ie=(0,_e.TS)(ne,{checkboxCls:`.${se}`,checkboxSize:ne.controlInteractiveSize});return[he(ie)]}dt.ZP=(0,E.Z)("Checkbox",(se,ne)=>{let{prefixCls:ie}=ne;return[de(ie,se)]})},36381:function(Ct,dt,ve){"use strict";ve.d(dt,{default:function(){return je}});var be=ve(38819),_e=ve(92310),E=ve.n(_e),he=ve(5016),de=ve(92393),se=ve(52456),ne=ve(10928),ie=ve(18929),ce=ve(48736),ue=ve(59301),ae=ve(5883),oe=ve(11592),re=ve(18082),ee=ve(77900),a=ve(10228),y=ue.forwardRef(function($e,Le){var Ne=$e.prefixCls,et=$e.forceRender,Ze=$e.className,Fe=$e.style,Oe=$e.children,Te=$e.isActive,xe=$e.role,Re=ue.useState(Te||et),Ke=(0,se.Z)(Re,2),ot=Ke[0],ke=Ke[1];return ue.useEffect(function(){(et||Te)&&ke(!0)},[et,Te]),ot?ue.createElement("div",{ref:Le,className:E()("".concat(Ne,"-content"),(0,re.Z)((0,re.Z)({},"".concat(Ne,"-content-active"),Te),"".concat(Ne,"-content-inactive"),!Te),Ze),style:Fe,role:xe},ue.createElement("div",{className:"".concat(Ne,"-content-box")},Oe)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=ue.forwardRef(function($e,Le){var Ne=$e.showArrow,et=Ne===void 0?!0:Ne,Ze=$e.headerClass,Fe=$e.isActive,Oe=$e.onItemClick,Te=$e.forceRender,xe=$e.className,Re=$e.prefixCls,Ke=$e.collapsible,ot=$e.accordion,ke=$e.panelKey,nt=$e.extra,mt=$e.header,ct=$e.expandIcon,ht=$e.openMotion,lt=$e.destroyInactivePanel,pt=$e.children,at=(0,ae.Z)($e,b),st=Ke==="disabled",ft=Ke==="header",vt=Ke==="icon",St=nt!=null&&typeof nt!="boolean",Et=function(){Oe==null||Oe(ke)},Mt=function(wn){(wn.key==="Enter"||wn.keyCode===a.Z.ENTER||wn.which===a.Z.ENTER)&&Et()},kt=typeof ct=="function"?ct($e):ue.createElement("i",{className:"arrow"});kt&&(kt=ue.createElement("div",{className:"".concat(Re,"-expand-icon"),onClick:["header","icon"].includes(Ke)?Et:void 0},kt));var Jt=E()((0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(Re,"-item"),!0),"".concat(Re,"-item-active"),Fe),"".concat(Re,"-item-disabled"),st),xe),dn=E()(Ze,(0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(Re,"-header"),!0),"".concat(Re,"-header-collapsible-only"),ft),"".concat(Re,"-icon-collapsible-only"),vt)),Qt={className:dn,"aria-expanded":Fe,"aria-disabled":st,onKeyDown:Mt};return!ft&&!vt&&(Qt.onClick=Et,Qt.role=ot?"tab":"button",Qt.tabIndex=st?-1:0),ue.createElement("div",(0,he.Z)({},at,{ref:Le,className:Jt}),ue.createElement("div",Qt,et&&kt,ue.createElement("span",{className:"".concat(Re,"-header-text"),onClick:Ke==="header"?Et:void 0},mt),St&&ue.createElement("div",{className:"".concat(Re,"-extra")},nt)),ue.createElement(ee.default,(0,he.Z)({visible:Fe,leavedClassName:"".concat(Re,"-content-hidden")},ht,{forceRender:Te,removeOnLeave:lt}),function(on,wn){var vn=on.className,fn=on.style;return ue.createElement(x,{ref:wn,prefixCls:Re,className:vn,style:fn,isActive:Fe,forceRender:Te,role:ot?"tabpanel":void 0},pt)}))}),te=z,le=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],fe=function(Le,Ne){var et=Ne.prefixCls,Ze=Ne.accordion,Fe=Ne.collapsible,Oe=Ne.destroyInactivePanel,Te=Ne.onItemClick,xe=Ne.activeKey,Re=Ne.openMotion,Ke=Ne.expandIcon;return Le.map(function(ot,ke){var nt=ot.children,mt=ot.label,ct=ot.key,ht=ot.collapsible,lt=ot.onItemClick,pt=ot.destroyInactivePanel,at=(0,ae.Z)(ot,le),st=String(ct!=null?ct:ke),ft=ht!=null?ht:Fe,vt=pt!=null?pt:Oe,St=function(kt){ft!=="disabled"&&(Te(kt),lt==null||lt(kt))},Et=!1;return Ze?Et=xe[0]===st:Et=xe.indexOf(st)>-1,ue.createElement(te,(0,he.Z)({},at,{prefixCls:et,key:st,panelKey:st,isActive:Et,accordion:Ze,openMotion:Re,expandIcon:Ke,header:mt,collapsible:ft,onItemClick:St,destroyInactivePanel:vt}),nt)})},pe=function(Le,Ne,et){if(!Le)return null;var Ze=et.prefixCls,Fe=et.accordion,Oe=et.collapsible,Te=et.destroyInactivePanel,xe=et.onItemClick,Re=et.activeKey,Ke=et.openMotion,ot=et.expandIcon,ke=Le.key||String(Ne),nt=Le.props,mt=nt.header,ct=nt.headerClass,ht=nt.destroyInactivePanel,lt=nt.collapsible,pt=nt.onItemClick,at=!1;Fe?at=Re[0]===ke:at=Re.indexOf(ke)>-1;var st=lt!=null?lt:Oe,ft=function(Et){st!=="disabled"&&(xe(Et),pt==null||pt(Et))},vt={key:ke,panelKey:ke,header:mt,headerClass:ct,isActive:at,prefixCls:Ze,destroyInactivePanel:ht!=null?ht:Te,openMotion:Ke,accordion:Fe,children:Le.props.children,onItemClick:ft,expandIcon:ot,collapsible:st};return typeof Le.type=="string"?Le:(Object.keys(vt).forEach(function(St){typeof vt[St]=="undefined"&&delete vt[St]}),ue.cloneElement(Le,vt))};function me($e,Le,Ne){return Array.isArray($e)?fe($e,Ne):(0,oe.Z)(Le).map(function(et,Ze){return pe(et,Ze,Ne)})}var ge=me,Se=ve(26112);function ye($e){var Le=$e;if(!Array.isArray(Le)){var Ne=(0,ne.Z)(Le);Le=Ne==="number"||Ne==="string"?[Le]:[]}return Le.map(function(et){return String(et)})}var Pe=ue.forwardRef(function($e,Le){var Ne=$e.prefixCls,et=Ne===void 0?"rc-collapse":Ne,Ze=$e.destroyInactivePanel,Fe=Ze===void 0?!1:Ze,Oe=$e.style,Te=$e.accordion,xe=$e.className,Re=$e.children,Ke=$e.collapsible,ot=$e.openMotion,ke=$e.expandIcon,nt=$e.activeKey,mt=$e.defaultActiveKey,ct=$e.onChange,ht=$e.items,lt=E()(et,xe),pt=(0,ie.Z)([],{value:nt,onChange:function(Mt){return ct==null?void 0:ct(Mt)},defaultValue:mt,postState:ye}),at=(0,se.Z)(pt,2),st=at[0],ft=at[1],vt=function(Mt){return ft(function(){if(Te)return st[0]===Mt?[]:[Mt];var kt=st.indexOf(Mt),Jt=kt>-1;return Jt?st.filter(function(dn){return dn!==Mt}):[].concat((0,de.Z)(st),[Mt])})};(0,ce.ZP)(!Re,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var St=ge(ht,Re,{prefixCls:et,accordion:Te,openMotion:ot,expandIcon:ke,collapsible:Ke,destroyInactivePanel:Fe,onItemClick:vt,activeKey:st});return ue.createElement("div",(0,he.Z)({ref:Le,className:lt,style:Oe,role:Te?"tablist":void 0},(0,Se.Z)($e,{aria:!0,data:!0})),St)}),we=Object.assign(Pe,{Panel:te}),De=we,Ee=we.Panel,Ae=ve(2738),Ce=ve(62892),Ie=ve(92343),Me=ve(36355),Ge=ve(19716),Qe=ue.forwardRef(($e,Le)=>{const{getPrefixCls:Ne}=ue.useContext(Me.E_),{prefixCls:et,className:Ze,showArrow:Fe=!0}=$e,Oe=Ne("collapse",et),Te=E()({[`${Oe}-no-arrow`]:!Fe},Ze);return ue.createElement(De.Panel,Object.assign({ref:Le},$e,{prefixCls:Oe,className:Te}))}),qe=ve(17313),Xe=ve(8378),Ve=ve(83116),We=ve(37613);const ze=$e=>{const{componentCls:Le,contentBg:Ne,padding:et,headerBg:Ze,headerPadding:Fe,collapseHeaderPaddingSM:Oe,collapseHeaderPaddingLG:Te,collapsePanelBorderRadius:xe,lineWidth:Re,lineType:Ke,colorBorder:ot,colorText:ke,colorTextHeading:nt,colorTextDisabled:mt,fontSize:ct,fontSizeLG:ht,lineHeight:lt,marginSM:pt,paddingSM:at,paddingLG:st,paddingXS:ft,motionDurationSlow:vt,fontSizeIcon:St,contentPadding:Et}=$e,Mt=`${Re}px ${Ke} ${ot}`;return{[Le]:Object.assign(Object.assign({},(0,qe.Wf)($e)),{backgroundColor:Ze,border:Mt,borderBottom:0,borderRadius:`${xe}px`,"&-rtl":{direction:"rtl"},[`& > ${Le}-item`]:{borderBottom:Mt,"&:last-child":{[`
|
|
|
&,
|
|
|
& > ${Le}-header`]:{borderRadius:`0 0 ${xe}px ${xe}px`}},[`> ${Le}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Fe,color:nt,lineHeight:lt,cursor:"pointer",transition:`all ${vt}, visibility 0s`,[`> ${Le}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Le}-expand-icon`]:{height:ct*lt,display:"flex",alignItems:"center",paddingInlineEnd:pt},[`${Le}-arrow`]:Object.assign(Object.assign({},(0,qe.Ro)()),{fontSize:St,svg:{transition:`transform ${vt}`}}),[`${Le}-header-text`]:{marginInlineEnd:"auto"}},[`${Le}-header-collapsible-only`]:{cursor:"default",[`${Le}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Le}-icon-collapsible-only`]:{cursor:"default",[`${Le}-expand-icon`]:{cursor:"pointer"}}},[`${Le}-content`]:{color:ke,backgroundColor:Ne,borderTop:Mt,[`& > ${Le}-content-box`]:{padding:Et},"&-hidden":{display:"none"}},"&-small":{[`> ${Le}-item`]:{[`> ${Le}-header`]:{padding:Oe,paddingInlineStart:ft,[`> ${Le}-expand-icon`]:{marginInlineStart:at-ft}},[`> ${Le}-content > ${Le}-content-box`]:{padding:at}}},"&-large":{[`> ${Le}-item`]:{fontSize:ht,[`> ${Le}-header`]:{padding:Te,paddingInlineStart:et,[`> ${Le}-expand-icon`]:{height:ht*lt,marginInlineStart:st-et}},[`> ${Le}-content > ${Le}-content-box`]:{padding:st}}},[`${Le}-item:last-child`]:{[`> ${Le}-content`]:{borderRadius:`0 0 ${xe}px ${xe}px`}},[`& ${Le}-item-disabled > ${Le}-header`]:{"\n &,\n & > .arrow\n ":{color:mt,cursor:"not-allowed"}},[`&${Le}-icon-position-end`]:{[`& > ${Le}-item`]:{[`> ${Le}-header`]:{[`${Le}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:pt}}}}})}},He=$e=>{const{componentCls:Le}=$e,Ne=`> ${Le}-item > ${Le}-header ${Le}-arrow svg`;return{[`${Le}-rtl`]:{[Ne]:{transform:"rotate(180deg)"}}}},tt=$e=>{const{componentCls:Le,headerBg:Ne,paddingXXS:et,colorBorder:Ze}=$e;return{[`${Le}-borderless`]:{backgroundColor:Ne,border:0,[`> ${Le}-item`]:{borderBottom:`1px solid ${Ze}`},[`
|
|
|
> ${Le}-item:last-child,
|
|
|
> ${Le}-item:last-child ${Le}-header
|
|
|
`]:{borderRadius:0},[`> ${Le}-item:last-child`]:{borderBottom:0},[`> ${Le}-item > ${Le}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Le}-item > ${Le}-content > ${Le}-content-box`]:{paddingTop:et}}}},Je=$e=>{const{componentCls:Le,paddingSM:Ne}=$e;return{[`${Le}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Le}-item`]:{borderBottom:0,[`> ${Le}-content`]:{backgroundColor:"transparent",border:0,[`> ${Le}-content-box`]:{paddingBlock:Ne}}}}}};var ut=(0,Ve.Z)("Collapse",$e=>{const Le=(0,We.TS)($e,{collapseHeaderPaddingSM:`${$e.paddingXS}px ${$e.paddingSM}px`,collapseHeaderPaddingLG:`${$e.padding}px ${$e.paddingLG}px`,collapsePanelBorderRadius:$e.borderRadiusLG});return[ze(Le),tt(Le),Je(Le),He(Le),(0,Xe.Z)(Le)]},$e=>({headerPadding:`${$e.paddingSM}px ${$e.padding}px`,headerBg:$e.colorFillAlter,contentPadding:`${$e.padding}px 16px`,contentBg:$e.colorBgContainer})),Ue=Object.assign(ue.forwardRef(($e,Le)=>{const{getPrefixCls:Ne,direction:et,collapse:Ze}=ue.useContext(Me.E_),{prefixCls:Fe,className:Oe,rootClassName:Te,style:xe,bordered:Re=!0,ghost:Ke,size:ot,expandIconPosition:ke="start",children:nt,expandIcon:mt}=$e,ct=(0,Ge.Z)(Mt=>{var kt;return(kt=ot!=null?ot:Mt)!==null&&kt!==void 0?kt:"middle"}),ht=Ne("collapse",Fe),lt=Ne(),[pt,at]=ut(ht),st=ue.useMemo(()=>ke==="left"?"start":ke==="right"?"end":ke,[ke]),ft=function(){let Mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const kt=mt?mt(Mt):ue.createElement(be.Z,{rotate:Mt.isActive?90:void 0});return(0,Ie.Tm)(kt,()=>({className:E()(kt.props.className,`${ht}-arrow`)}))},vt=E()(`${ht}-icon-position-${st}`,{[`${ht}-borderless`]:!Re,[`${ht}-rtl`]:et==="rtl",[`${ht}-ghost`]:!!Ke,[`${ht}-${ct}`]:ct!=="middle"},Ze==null?void 0:Ze.className,Oe,Te,at),St=Object.assign(Object.assign({},(0,Ce.Z)(lt)),{motionAppear:!1,leavedClassName:`${ht}-content-hidden`}),Et=ue.useMemo(()=>nt?(0,oe.Z)(nt).map((Mt,kt)=>{var Jt,dn;if(!((Jt=Mt.props)===null||Jt===void 0)&&Jt.disabled){const Qt=(dn=Mt.key)!==null&&dn!==void 0?dn:String(kt),{disabled:on,collapsible:wn}=Mt.props,vn=Object.assign(Object.assign({},(0,Ae.Z)(Mt.props,["disabled"])),{key:Qt,collapsible:wn!=null?wn:on?"disabled":void 0});return(0,Ie.Tm)(Mt,vn)}return Mt}):null,[nt]);return pt(ue.createElement(De,Object.assign({ref:Le,openMotion:St},(0,Ae.Z)($e,["rootClassName"]),{expandIcon:ft,prefixCls:ht,className:vt,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),xe)}),Et))}),{Panel:Qe}),je=Ue},43428:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return Ye}});var be=ve(92310),_e=ve.n(be),E=ve(20049),he=ve(52456),de=ve(43403),se=ve(34280),ne=ve(59301),ie=ne.createContext(null),ce=ne.createContext({}),ue=ie,ae=ve(18082),oe=ve(5016),re=ve(77900),ee=ve(10228),a=ve(26112),y=ve(70425),x=function(je){var $e=je.prefixCls,Le=je.className,Ne=je.style,et=je.children,Ze=je.containerRef,Fe=je.id,Oe=je.onMouseEnter,Te=je.onMouseOver,xe=je.onMouseLeave,Re=je.onClick,Ke=je.onKeyDown,ot=je.onKeyUp,ke={onMouseEnter:Oe,onMouseOver:Te,onMouseLeave:xe,onClick:Re,onKeyDown:Ke,onKeyUp:ot},nt=ne.useContext(ce),mt=nt.panel,ct=(0,y.useComposeRef)(mt,Ze);return ne.createElement(ne.Fragment,null,ne.createElement("div",(0,oe.Z)({id:Fe,className:_e()("".concat($e,"-content"),Le),style:(0,E.Z)({},Ne),"aria-modal":"true",role:"dialog",ref:ct},ke),et))},b=x,z=ve(48736);function te(Ue){return typeof Ue=="string"&&String(Number(Ue))===Ue?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ue)):Ue}function le(Ue){warning(!("wrapperClassName"in Ue),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ue.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 pe(Ue,je){var $e,Le,Ne,et,Ze=Ue.prefixCls,Fe=Ue.open,Oe=Ue.placement,Te=Ue.inline,xe=Ue.push,Re=Ue.forceRender,Ke=Ue.autoFocus,ot=Ue.keyboard,ke=Ue.rootClassName,nt=Ue.rootStyle,mt=Ue.zIndex,ct=Ue.className,ht=Ue.id,lt=Ue.style,pt=Ue.motion,at=Ue.width,st=Ue.height,ft=Ue.children,vt=Ue.contentWrapperStyle,St=Ue.mask,Et=Ue.maskClosable,Mt=Ue.maskMotion,kt=Ue.maskClassName,Jt=Ue.maskStyle,dn=Ue.afterOpenChange,Qt=Ue.onClose,on=Ue.onMouseEnter,wn=Ue.onMouseOver,vn=Ue.onMouseLeave,fn=Ue.onClick,Bn=Ue.onKeyDown,Un=Ue.onKeyUp,Nn=ne.useRef(),_n=ne.useRef(),kn=ne.useRef();ne.useImperativeHandle(je,function(){return Nn.current});var Fn=function(Tt){var tn=Tt.keyCode,Bt=Tt.shiftKey;switch(tn){case ee.Z.TAB:{if(tn===ee.Z.TAB){if(!Bt&&document.activeElement===kn.current){var un;(un=_n.current)===null||un===void 0||un.focus({preventScroll:!0})}else if(Bt&&document.activeElement===_n.current){var Ut;(Ut=kn.current)===null||Ut===void 0||Ut.focus({preventScroll:!0})}}break}case ee.Z.ESC:{Qt&&ot&&(Tt.stopPropagation(),Qt(Tt));break}}};ne.useEffect(function(){if(Fe&&Ke){var Gt;(Gt=Nn.current)===null||Gt===void 0||Gt.focus({preventScroll:!0})}},[Fe]);var Tr=ne.useState(!1),Nr=(0,he.Z)(Tr,2),rr=Nr[0],Lr=Nr[1],cr=ne.useContext(ue),br;xe===!1?br={distance:0}:xe===!0?br={}:br=xe||{};var Ot=($e=(Le=(Ne=br)===null||Ne===void 0?void 0:Ne.distance)!==null&&Le!==void 0?Le:cr==null?void 0:cr.pushDistance)!==null&&$e!==void 0?$e:180,At=ne.useMemo(function(){return{pushDistance:Ot,push:function(){Lr(!0)},pull:function(){Lr(!1)}}},[Ot]);ne.useEffect(function(){if(Fe){var Gt;cr==null||(Gt=cr.push)===null||Gt===void 0||Gt.call(cr)}else{var Tt;cr==null||(Tt=cr.pull)===null||Tt===void 0||Tt.call(cr)}},[Fe]),ne.useEffect(function(){return function(){var Gt;cr==null||(Gt=cr.pull)===null||Gt===void 0||Gt.call(cr)}},[]);var xt=St&&ne.createElement(re.default,(0,oe.Z)({key:"mask"},Mt,{visible:Fe}),function(Gt,Tt){var tn=Gt.className,Bt=Gt.style;return ne.createElement("div",{className:_e()("".concat(Ze,"-mask"),tn,kt),style:(0,E.Z)((0,E.Z)({},Bt),Jt),onClick:Et&&Fe?Qt:void 0,ref:Tt})}),en=typeof pt=="function"?pt(Oe):pt,Rn={};if(rr&&Ot)switch(Oe){case"top":Rn.transform="translateY(".concat(Ot,"px)");break;case"bottom":Rn.transform="translateY(".concat(-Ot,"px)");break;case"left":Rn.transform="translateX(".concat(Ot,"px)");break;default:Rn.transform="translateX(".concat(-Ot,"px)");break}Oe==="left"||Oe==="right"?Rn.width=te(at):Rn.height=te(st);var pn={onMouseEnter:on,onMouseOver:wn,onMouseLeave:vn,onClick:fn,onKeyDown:Bn,onKeyUp:Un},Fr=ne.createElement(re.default,(0,oe.Z)({key:"panel"},en,{visible:Fe,forceRender:Re,onVisibleChanged:function(Tt){dn==null||dn(Tt)},removeOnLeave:!1,leavedClassName:"".concat(Ze,"-content-wrapper-hidden")}),function(Gt,Tt){var tn=Gt.className,Bt=Gt.style;return ne.createElement("div",(0,oe.Z)({className:_e()("".concat(Ze,"-content-wrapper"),tn),style:(0,E.Z)((0,E.Z)((0,E.Z)({},Rn),Bt),vt)},(0,a.Z)(Ue,{data:!0})),ne.createElement(b,(0,oe.Z)({id:ht,containerRef:Tt,prefixCls:Ze,className:ct,style:lt},pn),ft))}),ur=(0,E.Z)({},nt);return mt&&(ur.zIndex=mt),ne.createElement(ue.Provider,{value:At},ne.createElement("div",{className:_e()(Ze,"".concat(Ze,"-").concat(Oe),ke,(et={},(0,ae.Z)(et,"".concat(Ze,"-open"),Fe),(0,ae.Z)(et,"".concat(Ze,"-inline"),Te),et)),style:ur,tabIndex:-1,ref:Nn,onKeyDown:Fn},xt,ne.createElement("div",{tabIndex:0,ref:_n,style:fe,"aria-hidden":"true","data-sentinel":"start"}),Fr,ne.createElement("div",{tabIndex:0,ref:kn,style:fe,"aria-hidden":"true","data-sentinel":"end"})))}var me=ne.forwardRef(pe),ge=me,Se=function(je){var $e=je.open,Le=$e===void 0?!1:$e,Ne=je.prefixCls,et=Ne===void 0?"rc-drawer":Ne,Ze=je.placement,Fe=Ze===void 0?"right":Ze,Oe=je.autoFocus,Te=Oe===void 0?!0:Oe,xe=je.keyboard,Re=xe===void 0?!0:xe,Ke=je.width,ot=Ke===void 0?378:Ke,ke=je.mask,nt=ke===void 0?!0:ke,mt=je.maskClosable,ct=mt===void 0?!0:mt,ht=je.getContainer,lt=je.forceRender,pt=je.afterOpenChange,at=je.destroyOnClose,st=je.onMouseEnter,ft=je.onMouseOver,vt=je.onMouseLeave,St=je.onClick,Et=je.onKeyDown,Mt=je.onKeyUp,kt=je.panelRef,Jt=ne.useState(!1),dn=(0,he.Z)(Jt,2),Qt=dn[0],on=dn[1],wn=ne.useState(!1),vn=(0,he.Z)(wn,2),fn=vn[0],Bn=vn[1];(0,se.Z)(function(){Bn(!0)},[]);var Un=fn?Le:!1,Nn=ne.useRef(),_n=ne.useRef();(0,se.Z)(function(){Un&&(_n.current=document.activeElement)},[Un]);var kn=function(Lr){var cr;if(on(Lr),pt==null||pt(Lr),!Lr&&_n.current&&!((cr=Nn.current)!==null&&cr!==void 0&&cr.contains(_n.current))){var br;(br=_n.current)===null||br===void 0||br.focus({preventScroll:!0})}},Fn=ne.useMemo(function(){return{panel:kt}},[kt]);if(!lt&&!Qt&&!Un&&at)return null;var Tr={onMouseEnter:st,onMouseOver:ft,onMouseLeave:vt,onClick:St,onKeyDown:Et,onKeyUp:Mt},Nr=(0,E.Z)((0,E.Z)({},je),{},{open:Un,prefixCls:et,placement:Fe,autoFocus:Te,keyboard:Re,width:ot,mask:nt,maskClosable:ct,inline:ht===!1,afterOpenChange:kn,ref:Nn},Tr);return ne.createElement(ce.Provider,{value:Fn},ne.createElement(de.Z,{open:Un||lt||Qt,autoDestroy:!1,getContainer:ht,autoLock:nt&&(Un||Qt)},ne.createElement(ge,Nr)))},ye=Se,Pe=ye,we=ve(62892),De=ve(36355),Ee=ve(32441),Ae=ve(47729),Ie=Ue=>{const{prefixCls:je,title:$e,footer:Le,extra:Ne,closeIcon:et,closable:Ze,onClose:Fe,headerStyle:Oe,drawerStyle:Te,bodyStyle:xe,footerStyle:Re,children:Ke}=Ue,ot=ne.useCallback(ht=>ne.createElement("button",{type:"button",onClick:Fe,"aria-label":"Close",className:`${je}-close`},ht),[Fe]),[ke,nt]=(0,Ae.Z)(Ze,et,ot,void 0,!0),mt=ne.useMemo(()=>!$e&&!ke?null:ne.createElement("div",{style:Oe,className:_e()(`${je}-header`,{[`${je}-header-close-only`]:ke&&!$e&&!Ne})},ne.createElement("div",{className:`${je}-header-title`},nt,$e&&ne.createElement("div",{className:`${je}-title`},$e)),Ne&&ne.createElement("div",{className:`${je}-extra`},Ne)),[ke,nt,Ne,Oe,je,$e]),ct=ne.useMemo(()=>{if(!Le)return null;const ht=`${je}-footer`;return ne.createElement("div",{className:ht,style:Re},Le)},[Le,Re,je]);return ne.createElement("div",{className:`${je}-wrapper-body`,style:Te},mt,ne.createElement("div",{className:`${je}-body`,style:xe},Ke),ct)},Me=ve(33234),Ge=ve(83116),Be=ve(37613),qe=Ue=>{const{componentCls:je,motionDurationSlow:$e}=Ue,Le={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${$e}`}}};return{[je]:{[`${je}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${$e}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${je}-panel-motion`]:{"&-left":[Le,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Le,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Le,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Le,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Xe=Ue=>{const{componentCls:je,zIndexPopup:$e,colorBgMask:Le,colorBgElevated:Ne,motionDurationSlow:et,motionDurationMid:Ze,padding:Fe,paddingLG:Oe,fontSizeLG:Te,lineHeightLG:xe,lineWidth:Re,lineType:Ke,colorSplit:ot,marginSM:ke,colorIcon:nt,colorIconHover:mt,colorText:ct,fontWeightStrong:ht,footerPaddingBlock:lt,footerPaddingInline:pt}=Ue,at=`${je}-content-wrapper`;return{[je]:{position:"fixed",inset:0,zIndex:$e,pointerEvents:"none","&-pure":{position:"relative",background:Ne,[`&${je}-left`]:{boxShadow:Ue.boxShadowDrawerLeft},[`&${je}-right`]:{boxShadow:Ue.boxShadowDrawerRight},[`&${je}-top`]:{boxShadow:Ue.boxShadowDrawerUp},[`&${je}-bottom`]:{boxShadow:Ue.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${je}-mask`]:{position:"absolute",inset:0,zIndex:$e,background:Le,pointerEvents:"auto"},[at]:{position:"absolute",zIndex:$e,maxWidth:"100vw",transition:`all ${et}`,"&-hidden":{display:"none"}},[`&-left > ${at}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ue.boxShadowDrawerLeft},[`&-right > ${at}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ue.boxShadowDrawerRight},[`&-top > ${at}`]:{top:0,insetInline:0,boxShadow:Ue.boxShadowDrawerUp},[`&-bottom > ${at}`]:{bottom:0,insetInline:0,boxShadow:Ue.boxShadowDrawerDown},[`${je}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Ne,pointerEvents:"auto"},[`${je}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${je}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Fe}px ${Oe}px`,fontSize:Te,lineHeight:xe,borderBottom:`${Re}px ${Ke} ${ot}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${je}-extra`]:{flex:"none"},[`${je}-close`]:{display:"inline-block",marginInlineEnd:ke,color:nt,fontWeight:ht,fontSize:Te,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Ze}`,textRendering:"auto","&:focus, &:hover":{color:mt,textDecoration:"none"}},[`${je}-title`]:{flex:1,margin:0,color:ct,fontWeight:Ue.fontWeightStrong,fontSize:Te,lineHeight:xe},[`${je}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Oe,overflow:"auto"},[`${je}-footer`]:{flexShrink:0,padding:`${lt}px ${pt}px`,borderTop:`${Re}px ${Ke} ${ot}`},"&-rtl":{direction:"rtl"}}}};var Ve=(0,Ge.Z)("Drawer",Ue=>{const je=(0,Be.TS)(Ue,{});return[Xe(je),qe(je)]},Ue=>({zIndexPopup:Ue.zIndexPopupBase,footerPaddingBlock:Ue.paddingXS,footerPaddingInline:Ue.padding})),We=ve(11575),ze=function(Ue,je){var $e={};for(var Le in Ue)Object.prototype.hasOwnProperty.call(Ue,Le)&&je.indexOf(Le)<0&&($e[Le]=Ue[Le]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Le=Object.getOwnPropertySymbols(Ue);Ne<Le.length;Ne++)je.indexOf(Le[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Le[Ne])&&($e[Le[Ne]]=Ue[Le[Ne]]);return $e};const He=null,tt={distance:180},Je=Ue=>{var je;const{rootClassName:$e,width:Le,height:Ne,size:et="default",mask:Ze=!0,push:Fe=tt,open:Oe,afterOpenChange:Te,onClose:xe,prefixCls:Re,getContainer:Ke,style:ot,className:ke,visible:nt,afterVisibleChange:mt}=Ue,ct=ze(Ue,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:ht,getPrefixCls:lt,direction:pt,drawer:at}=ne.useContext(De.E_),st=lt("drawer",Re),[ft,vt]=Ve(st),St=Ke===void 0&&ht?()=>ht(document.body):Ke,Et=_e()({"no-mask":!Ze,[`${st}-rtl`]:pt==="rtl"},$e,vt),Mt=ne.useMemo(()=>Le!=null?Le:et==="large"?736:378,[Le,et]),kt=ne.useMemo(()=>Ne!=null?Ne:et==="large"?736:378,[Ne,et]),Jt={motionName:(0,we.m)(st,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},dn=on=>({motionName:(0,we.m)(st,`panel-motion-${on}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Qt=(0,We.H)();return ft(ne.createElement(Me.BR,null,ne.createElement(Ee.Ux,{status:!0,override:!0},ne.createElement(Pe,Object.assign({prefixCls:st,onClose:xe,maskMotion:Jt,motion:dn},ct,{open:Oe!=null?Oe:nt,mask:Ze,push:Fe,width:Mt,height:kt,style:Object.assign(Object.assign({},at==null?void 0:at.style),ot),className:_e()(at==null?void 0:at.className,ke),rootClassName:Et,getContainer:St,afterOpenChange:Te!=null?Te:mt,panelRef:Qt}),ne.createElement(Ie,Object.assign({prefixCls:st},ct,{onClose:xe}))))))},ut=Ue=>{const{prefixCls:je,style:$e,className:Le,placement:Ne="right"}=Ue,et=ze(Ue,["prefixCls","style","className","placement"]),{getPrefixCls:Ze}=ne.useContext(De.E_),Fe=Ze("drawer",je),[Oe,Te]=Ve(Fe),xe=_e()(Fe,`${Fe}-pure`,`${Fe}-${Ne}`,Te,Le);return Oe(ne.createElement("div",{className:xe,style:$e},ne.createElement(Ie,Object.assign({prefixCls:Fe},et))))};Je._InternalPanelDoNotUseOrYouWillBeFired=ut;var Ye=Je},91857:function(Ct,dt,ve){"use strict";var be=ve(59301),_e=ve(38819),E=ve(92310),he=ve.n(E),de=ve(31561),se=ve(70425),ne=ve(18929),ie=ve(2738),ce=ve(79676),ue=ve(53487),ae=ve(92343),oe=ve(36355),re=ve(20834),ee=ve(40875),a=ve(88088),y=ve(47211);const x=null,b=fe=>{const{menu:pe,arrow:me,prefixCls:ge,children:Se,trigger:ye,disabled:Pe,dropdownRender:we,getPopupContainer:De,overlayClassName:Ee,rootClassName:Ae,open:Ce,onOpenChange:Ie,visible:Me,onVisibleChange:Ge,mouseEnterDelay:Be=.15,mouseLeaveDelay:Qe=.1,autoAdjustOverflow:qe=!0,placement:Xe="",overlay:Ve,transitionName:We}=fe,{getPopupContainer:ze,getPrefixCls:He,direction:tt}=be.useContext(oe.E_),Je=be.useMemo(()=>{const ke=He();return We!==void 0?We:Xe.includes("top")?`${ke}-slide-down`:`${ke}-slide-up`},[He,Xe,We]),ut=be.useMemo(()=>Xe?Xe.includes("Center")?Xe.slice(0,Xe.indexOf("Center")):Xe:tt==="rtl"?"bottomRight":"bottomLeft",[Xe,tt]),Ye=He("dropdown",ge),[Ue,je]=(0,y.Z)(Ye),[,$e]=(0,a.Z)(),Le=be.Children.only(Se),Ne=(0,ae.Tm)(Le,{className:he()(`${Ye}-trigger`,{[`${Ye}-rtl`]:tt==="rtl"},Le.props.className),disabled:Pe}),et=Pe?[]:ye;let Ze;et&&et.includes("contextMenu")&&(Ze=!0);const[Fe,Oe]=(0,ne.Z)(!1,{value:Ce!=null?Ce:Me}),Te=(0,se.useEvent)(ke=>{Ie==null||Ie(ke),Ge==null||Ge(ke),Oe(ke)}),xe=he()(Ee,Ae,je,{[`${Ye}-rtl`]:tt==="rtl"}),Re=(0,ce.Z)({arrowPointAtCenter:typeof me=="object"&&me.pointAtCenter,autoAdjustOverflow:qe,offset:$e.marginXXS,arrowWidth:me?$e.sizePopupArrow:0,borderRadius:$e.borderRadius}),Ke=be.useCallback(()=>{Oe(!1)},[]),ot=()=>{let ke;return pe!=null&&pe.items?ke=be.createElement(re.default,Object.assign({},pe)):typeof Ve=="function"?ke=Ve():ke=Ve,we&&(ke=we(ke)),ke=be.Children.only(typeof ke=="string"?be.createElement("span",null,ke):ke),be.createElement(ee.J,{prefixCls:`${Ye}-menu`,expandIcon:be.createElement("span",{className:`${Ye}-menu-submenu-arrow`},be.createElement(_e.Z,{className:`${Ye}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ke,validator:nt=>{let{mode:mt}=nt}},ke)};return Ue(be.createElement(de.Z,Object.assign({alignPoint:Ze},(0,ie.Z)(fe,["rootClassName"]),{mouseEnterDelay:Be,mouseLeaveDelay:Qe,visible:Fe,builtinPlacements:Re,arrow:!!me,overlayClassName:xe,prefixCls:Ye,getPopupContainer:De||ze,transitionName:Je,trigger:et,overlay:ot,placement:ut,onVisibleChange:Te}),Ne))};function z(fe){return Object.assign(Object.assign({},fe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,ue.Z)(b,"dropdown",fe=>fe,z),le=fe=>be.createElement(te,Object.assign({},fe),be.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=le,dt.Z=b},38854:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return a}});var be=ve(91857),_e=ve(92310),E=ve.n(_e),he=ve(59301),de=ve(18785),se=ve(3113),ne=ve(36355),ie=ve(81327),ce=ve(33234),ue=ve(47211),ae=function(y,x){var b={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&x.indexOf(z)<0&&(b[z]=y[z]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,z=Object.getOwnPropertySymbols(y);te<z.length;te++)x.indexOf(z[te])<0&&Object.prototype.propertyIsEnumerable.call(y,z[te])&&(b[z[te]]=y[z[te]]);return b};const oe=y=>{const{getPopupContainer:x,getPrefixCls:b,direction:z}=he.useContext(ne.E_),{prefixCls:te,type:le="default",danger:fe,disabled:pe,loading:me,onClick:ge,htmlType:Se,children:ye,className:Pe,menu:we,arrow:De,autoFocus:Ee,overlay:Ae,trigger:Ce,align:Ie,open:Me,onOpenChange:Ge,placement:Be,getPopupContainer:Qe,href:qe,icon:Xe=he.createElement(de.Z,null),title:Ve,buttonsRender:We=ot=>ot,mouseEnterDelay:ze,mouseLeaveDelay:He,overlayClassName:tt,overlayStyle:Je,destroyPopupOnHide:ut,dropdownRender:Ye}=y,Ue=ae(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),je=b("dropdown",te),$e=`${je}-button`,[Le,Ne]=(0,ue.Z)(je),et={menu:we,arrow:De,autoFocus:Ee,align:Ie,disabled:pe,trigger:pe?[]:Ce,onOpenChange:Ge,getPopupContainer:Qe||x,mouseEnterDelay:ze,mouseLeaveDelay:He,overlayClassName:tt,overlayStyle:Je,destroyPopupOnHide:ut,dropdownRender:Ye},{compactSize:Ze,compactItemClassnames:Fe}=(0,ce.ri)(je,z),Oe=E()($e,Fe,Pe,Ne);"overlay"in y&&(et.overlay=Ae),"open"in y&&(et.open=Me),"placement"in y?et.placement=Be:et.placement=z==="rtl"?"bottomLeft":"bottomRight";const Te=he.createElement(se.ZP,{type:le,danger:fe,disabled:pe,loading:me,onClick:ge,htmlType:Se,href:qe,title:Ve},ye),xe=he.createElement(se.ZP,{type:le,danger:fe,icon:Xe}),[Re,Ke]=We([Te,xe]);return Le(he.createElement(ie.Z.Compact,Object.assign({className:Oe,size:Ze,block:!0},Ue),Re,he.createElement(be.Z,Object.assign({},et),Ke)))};oe.__ANT_BUTTON=!0;var re=oe;const ee=be.Z;ee.Button=re;var a=ee},47211:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ae}});var be=ve(17313),_e=ve(13826),E=ve(92899),he=ve(29878),de=ve(19447),se=ve(83116),ne=ve(37613),ce=oe=>{const{componentCls:re,menuCls:ee,colorError:a,colorTextLightSolid:y}=oe,x=`${ee}-item`;return{[`${re}, ${re}-menu-submenu`]:{[`${ee} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ue=oe=>{const{componentCls:re,menuCls:ee,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:te,dropdownPaddingVertical:le,fontSize:fe,dropdownEdgeChildPadding:pe,colorTextDisabled:me,fontSizeIcon:ge,controlPaddingHorizontal:Se,colorBgElevated:ye}=oe;return[{[re]:Object.assign(Object.assign({},(0,be.Wf)(oe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:ge}},[`${re}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:ge},[`${z}-down::before`]:{transition:`transform ${te}`}},[`${re}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottomLeft,
|
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottomLeft,
|
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottom,
|
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottom,
|
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottomRight,
|
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottomRight`]:{animationName:_e.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-topLeft,
|
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-topLeft,
|
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-top,
|
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-top,
|
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-topRight,
|
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-topRight`]:{animationName:_e.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottomLeft,
|
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottom,
|
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottomRight`]:{animationName:_e.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-topLeft,
|
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-top,
|
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-topRight`]:{animationName:_e.ly}})},(0,de.ZP)(oe,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${re} ${ee}`]:{position:"relative",margin:0},[`${ee}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${re}, ${re}-menu-submenu`]:{[ee]:Object.assign(Object.assign({padding:pe,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:oe.borderRadiusLG,outline:"none",boxShadow:oe.boxShadowSecondary},(0,be.Qy)(oe)),{[`${ee}-item-group-title`]:{padding:`${le}px ${Se}px`,color:oe.colorTextDescription,transition:`all ${te}`},[`${ee}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ee}-item-icon`]:{minWidth:fe,marginInlineEnd:oe.marginXS,fontSize:oe.fontSizeSM},[`${ee}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ee}-item, ${ee}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${le}px ${Se}px`,color:oe.colorText,fontWeight:"normal",fontSize:fe,lineHeight:oe.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:oe.borderRadiusSM,"&:hover, &-active":{backgroundColor:oe.controlItemBgHover}},(0,be.Qy)(oe)),{"&-selected":{color:oe.colorPrimary,backgroundColor:oe.controlItemBgActive,"&:hover, &-active":{backgroundColor:oe.controlItemBgActiveHover}},"&-disabled":{color:me,cursor:"not-allowed","&:hover":{color:me,backgroundColor:ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${oe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:oe.colorSplit},[`${re}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:oe.paddingXS,[`${re}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:oe.colorTextDescription,fontSize:ge,fontStyle:"normal"}}}),[`${ee}-item-group-list`]:{margin:`0 ${oe.marginXS}px`,padding:0,listStyle:"none"},[`${ee}-submenu-title`]:{paddingInlineEnd:Se+oe.fontSizeSM},[`${ee}-submenu-vertical`]:{position:"relative"},[`${ee}-submenu${ee}-submenu-disabled ${re}-menu-submenu-title`]:{[`&, ${re}-menu-submenu-arrow-icon`]:{color:me,backgroundColor:ye,cursor:"not-allowed"}},[`${ee}-submenu-selected ${re}-menu-submenu-title`]:{color:oe.colorPrimary}})}},[(0,_e.oN)(oe,"slide-up"),(0,_e.oN)(oe,"slide-down"),(0,E.Fm)(oe,"move-up"),(0,E.Fm)(oe,"move-down"),(0,he._y)(oe,"zoom-big")]]};var ae=(0,se.Z)("Dropdown",(oe,re)=>{let{rootPrefixCls:ee}=re;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:te,componentCls:le,borderRadiusLG:fe}=oe,pe=(x-b*z)/2,{dropdownArrowOffset:me}=(0,de.fS)({contentRadius:fe}),ge=(0,ne.TS)(oe,{menuCls:`${le}-menu`,rootPrefixCls:ee,dropdownArrowDistance:y/2+a,dropdownArrowOffset:me,dropdownPaddingVertical:pe,dropdownEdgeChildPadding:te});return[ue(ge),ce(ge)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},8628:function(Ct,dt,ve){"use strict";var be=ve(59301),_e=ve(34280),E=ve(56762),he=ve(69507);function de(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ne=(0,be.useRef)({}),ie=(0,E.Z)(),ce=(0,he.ZP)();return(0,_e.Z)(()=>{const ue=ce.subscribe(ae=>{ne.current=ae,se&&ie()});return()=>ce.unsubscribe(ue)},[]),ne.current}dt.Z=de},11611:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ur}});var be=ve(59301),_e=ve(15277),E=ve(92310),he=ve.n(E),de=ve(5016),se=ve(20049),ne=ve(18082),ie=ve(52456),ce=ve(10928),ue=ve(5883),ae=ve(55468),oe=ve(18929),re=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],ee=be.createContext(null),a=0;function y(Gt,Tt){var tn=be.useState(function(){return a+=1,String(a)}),Bt=(0,ie.Z)(tn,1),un=Bt[0],Ut=be.useContext(ee),An={data:Tt,canPreview:Gt};return be.useEffect(function(){if(Ut)return Ut.register(un,An)},[]),be.useEffect(function(){Ut&&Ut.register(un,An)},[Gt,Tt]),un}function x(Gt){return new Promise(function(Tt){var tn=document.createElement("img");tn.onerror=function(){return Tt(!1)},tn.onload=function(){return Tt(!0)},tn.src=Gt})}function b(Gt){var Tt=Gt.src,tn=Gt.isCustomPlaceholder,Bt=Gt.fallback,un=(0,be.useState)(tn?"loading":"normal"),Ut=(0,ie.Z)(un,2),An=Ut[0],Pn=Ut[1],bt=(0,be.useRef)(!1),It=An==="error";(0,be.useEffect)(function(){x(Tt).then(function($t){$t||Pn("error")})},[Tt]),(0,be.useEffect)(function(){tn&&!bt.current?Pn("loading"):It&&Pn("normal")},[Tt]);var Rt=function(){Pn("normal")},Nt=function(Kt){bt.current=!1,An==="loading"&&Kt!=null&&Kt.complete&&(Kt.naturalWidth||Kt.naturalHeight)&&(bt.current=!0,Rt())},Yt=It&&Bt?{src:Bt}:{onLoad:Rt,src:Tt};return[Nt,Yt,An]}var z=ve(86923),te=ve(8224),le=ve(10228),fe=ve(48736);function pe(Gt,Tt,tn,Bt){var un=Tt+tn,Ut=(tn-Bt)/2;if(tn>Bt){if(Tt>0)return(0,ne.Z)({},Gt,Ut);if(Tt<0&&un<Bt)return(0,ne.Z)({},Gt,-Ut)}else if(Tt<0||un>Bt)return(0,ne.Z)({},Gt,Tt<0?Ut:-Ut);return{}}function me(Gt,Tt,tn,Bt){var un=(0,ae.g1)(),Ut=un.width,An=un.height,Pn=null;return Gt<=Ut&&Tt<=An?Pn={x:0,y:0}:(Gt>Ut||Tt>An)&&(Pn=(0,se.Z)((0,se.Z)({},pe("x",tn,Gt,Ut)),pe("y",Bt,Tt,An))),Pn}var ge=ve(13697),Se=ve(16089),ye={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Pe(Gt,Tt,tn,Bt){var un=(0,be.useRef)(null),Ut=(0,be.useRef)([]),An=(0,be.useState)(ye),Pn=(0,ie.Z)(An,2),bt=Pn[0],It=Pn[1],Rt=function(Kt){It(ye),Bt&&!(0,ge.Z)(ye,bt)&&Bt({transform:ye,action:Kt})},Nt=function(Kt,Vt){un.current===null&&(Ut.current=[],un.current=(0,Se.Z)(function(){It(function(Dn){var In=Dn;return Ut.current.forEach(function(Ft){In=(0,se.Z)((0,se.Z)({},In),Ft)}),un.current=null,Bt==null||Bt({transform:In,action:Vt}),In})})),Ut.current.push((0,se.Z)((0,se.Z)({},bt),Kt))},Yt=function(Kt,Vt,Dn,In){var Ft=Gt.current,Ar=Ft.width,ar=Ft.height,pr=Ft.offsetWidth,Wr=Ft.offsetHeight,gn=Ft.offsetLeft,mn=Ft.offsetTop,On=Kt,bn=bt.scale*Kt;bn>tn?(On=tn/bt.scale,bn=tn):bn<Tt&&(On=Tt/bt.scale,bn=Tt);var Pr=Dn!=null?Dn:innerWidth/2,dr=In!=null?In:innerHeight/2,Qn=On-1,kr=Qn*Ar*.5,an=Qn*ar*.5,bo=Qn*(Pr-bt.x-gn),yo=Qn*(dr-bt.y-mn),io=bt.x-(bo-kr),To=bt.y-(yo-an);if(Kt<1&&bn===1){var Lo=pr*bn,Ao=Wr*bn,Do=(0,ae.g1)(),fr=Do.width,ir=Do.height;Lo<=fr&&Ao<=ir&&(io=0,To=0)}Nt({x:io,y:To,scale:bn},Vt)};return{transform:bt,resetTransform:Rt,updateTransform:Nt,dispatchZoomChange:Yt}}var we=ve(43403),De=ve(77900),Ee=function(Tt){var tn=Tt.visible,Bt=Tt.maskTransitionName,un=Tt.getContainer,Ut=Tt.prefixCls,An=Tt.rootClassName,Pn=Tt.icons,bt=Tt.countRender,It=Tt.showSwitch,Rt=Tt.showProgress,Nt=Tt.current,Yt=Tt.transform,$t=Tt.count,Kt=Tt.scale,Vt=Tt.minScale,Dn=Tt.maxScale,In=Tt.closeIcon,Ft=Tt.onSwitchLeft,Ar=Tt.onSwitchRight,ar=Tt.onClose,pr=Tt.onZoomIn,Wr=Tt.onZoomOut,gn=Tt.onRotateRight,mn=Tt.onRotateLeft,On=Tt.onFlipX,bn=Tt.onFlipY,Pr=Tt.toolbarRender,dr=(0,be.useContext)(ee),Qn=Pn.rotateLeft,kr=Pn.rotateRight,an=Pn.zoomIn,bo=Pn.zoomOut,yo=Pn.close,io=Pn.left,To=Pn.right,Lo=Pn.flipX,Ao=Pn.flipY,Do="".concat(Ut,"-operations-operation");be.useEffect(function(){var jr=function(So){So.keyCode===le.Z.ESC&&ar()};return tn&&window.addEventListener("keydown",jr),function(){window.removeEventListener("keydown",jr)}},[tn]);var fr=[{icon:Ao,onClick:bn,type:"flipY"},{icon:Lo,onClick:On,type:"flipX"},{icon:Qn,onClick:mn,type:"rotateLeft"},{icon:kr,onClick:gn,type:"rotateRight"},{icon:bo,onClick:Wr,type:"zoomOut",disabled:Kt===Vt},{icon:an,onClick:pr,type:"zoomIn",disabled:Kt===Dn}],ir=fr.map(function(jr){var fo,So=jr.icon,po=jr.onClick,Vr=jr.type,Cr=jr.disabled;return be.createElement("div",{className:he()(Do,(fo={},(0,ne.Z)(fo,"".concat(Ut,"-operations-operation-").concat(Vr),!0),(0,ne.Z)(fo,"".concat(Ut,"-operations-operation-disabled"),!!Cr),fo)),onClick:po,key:Vr},So)}),xo=be.createElement("div",{className:"".concat(Ut,"-operations")},ir);return be.createElement(De.default,{visible:tn,motionName:Bt},function(jr){var fo=jr.className,So=jr.style;return be.createElement(we.Z,{open:!0,getContainer:un!=null?un:document.body},be.createElement("div",{className:he()("".concat(Ut,"-operations-wrapper"),fo,An),style:So},In===null?null:be.createElement("button",{className:"".concat(Ut,"-close"),onClick:ar},In||yo),It&&be.createElement(be.Fragment,null,be.createElement("div",{className:he()("".concat(Ut,"-switch-left"),(0,ne.Z)({},"".concat(Ut,"-switch-left-disabled"),Nt===0)),onClick:Ft},io),be.createElement("div",{className:he()("".concat(Ut,"-switch-right"),(0,ne.Z)({},"".concat(Ut,"-switch-right-disabled"),Nt===$t-1)),onClick:Ar},To)),be.createElement("div",{className:"".concat(Ut,"-footer")},Rt&&be.createElement("div",{className:"".concat(Ut,"-progress")},bt?bt(Nt+1,$t):"".concat(Nt+1," / ").concat($t)),Pr?Pr(xo,(0,se.Z)({icons:{flipYIcon:ir[0],flipXIcon:ir[1],rotateLeftIcon:ir[2],rotateRightIcon:ir[3],zoomOutIcon:ir[4],zoomInIcon:ir[5]},actions:{onFlipY:bn,onFlipX:On,onRotateLeft:mn,onRotateRight:gn,onZoomOut:Wr,onZoomIn:pr},transform:Yt},dr?{current:Nt,total:$t}:{})):xo)))})},Ae=Ee,Ce=1,Ie=1,Me=["fallback","src","imgRef"],Ge=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Be=function(Tt){var tn=Tt.fallback,Bt=Tt.src,un=Tt.imgRef,Ut=(0,ue.Z)(Tt,Me),An=b({src:Bt,fallback:tn}),Pn=(0,ie.Z)(An,2),bt=Pn[0],It=Pn[1];return be.createElement("img",(0,de.Z)({ref:function(Nt){un.current=Nt,bt(Nt)}},Ut,It))},Qe=function(Tt){var tn=Tt.prefixCls,Bt=Tt.src,un=Tt.alt,Ut=Tt.fallback,An=Tt.movable,Pn=An===void 0?!0:An,bt=Tt.onClose,It=Tt.visible,Rt=Tt.icons,Nt=Rt===void 0?{}:Rt,Yt=Tt.rootClassName,$t=Tt.closeIcon,Kt=Tt.getContainer,Vt=Tt.current,Dn=Vt===void 0?0:Vt,In=Tt.count,Ft=In===void 0?1:In,Ar=Tt.countRender,ar=Tt.scaleStep,pr=ar===void 0?.5:ar,Wr=Tt.minScale,gn=Wr===void 0?1:Wr,mn=Tt.maxScale,On=mn===void 0?50:mn,bn=Tt.transitionName,Pr=bn===void 0?"zoom":bn,dr=Tt.maskTransitionName,Qn=dr===void 0?"fade":dr,kr=Tt.imageRender,an=Tt.imgCommonProps,bo=Tt.toolbarRender,yo=Tt.onTransform,io=Tt.onChange,To=(0,ue.Z)(Tt,Ge),Lo=(0,be.useRef)(),Ao=(0,be.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),Do=(0,be.useState)(!1),fr=(0,ie.Z)(Do,2),ir=fr[0],xo=fr[1],jr=(0,be.useContext)(ee),fo=jr&&Ft>1,So=jr&&Ft>=1,po=Pe(Lo,gn,On,yo),Vr=po.transform,Cr=po.resetTransform,Xr=po.updateTransform,ro=po.dispatchZoomChange,jo=(0,be.useState)(!0),wo=(0,ie.Z)(jo,2),_t=wo[0],Wt=wo[1],qt=Vr.rotate,Ln=Vr.scale,Hn=Vr.x,Kn=Vr.y,yr=he()((0,ne.Z)({},"".concat(tn,"-moving"),ir));(0,be.useEffect)(function(){_t||Wt(!0)},[_t]);var zn=function(){Cr("close")},jn=function(){ro(Ce+pr,"zoomIn")},sn=function(){ro(Ce/(Ce+pr),"zoomOut")},Zt=function(){Xr({rotate:qt+90},"rotateRight")},hn=function(){Xr({rotate:qt-90},"rotateLeft")},nn=function(){Xr({flipX:!Vr.flipX},"flipX")},Gn=function(){Xr({flipY:!Vr.flipY},"flipY")},Vn=function(Cn){Cn==null||Cn.preventDefault(),Cn==null||Cn.stopPropagation(),Dn>0&&(Wt(!1),Cr("prev"),io==null||io(Dn-1,Dn))},_r=function(Cn){Cn==null||Cn.preventDefault(),Cn==null||Cn.stopPropagation(),Dn<Ft-1&&(Wt(!1),Cr("next"),io==null||io(Dn+1,Dn))},Br=function(){if(It&&ir){xo(!1);var Cn=Ao.current,er=Cn.transformX,zr=Cn.transformY,Or=Hn!==er&&Kn!==zr;if(!Or)return;var mo=Lo.current.offsetWidth*Ln,Co=Lo.current.offsetHeight*Ln,lo=Lo.current.getBoundingClientRect(),ga=lo.left,da=lo.top,No=qt%180!==0,fa=me(No?Co:mo,No?mo:Co,ga,da);fa&&Xr((0,se.Z)({},fa),"dragRebound")}},so=function(Cn){!Pn||Cn.button!==0||(Cn.preventDefault(),Cn.stopPropagation(),Ao.current={deltaX:Cn.pageX-Vr.x,deltaY:Cn.pageY-Vr.y,transformX:Vr.x,transformY:Vr.y},xo(!0))},oo=function(Cn){It&&ir&&Xr({x:Cn.pageX-Ao.current.deltaX,y:Cn.pageY-Ao.current.deltaY},"move")},Jr=function(Cn){if(!(!It||Cn.deltaY==0)){var er=Math.abs(Cn.deltaY/100),zr=Math.min(er,Ie),Or=Ce+zr*pr;Cn.deltaY>0&&(Or=Ce/Or),ro(Or,"wheel",Cn.clientX,Cn.clientY)}},ho=function(Cn){!It||!fo||(Cn.keyCode===le.Z.LEFT?Vn():Cn.keyCode===le.Z.RIGHT&&_r())},vr=function(Cn){It&&(Ln!==1?Xr({x:0,y:0,scale:1},"doubleClick"):ro(Ce+pr,"doubleClick",Cn.clientX,Cn.clientY))};(0,be.useEffect)(function(){var qn,Cn,er,zr;if(Pn){er=(0,te.Z)(window,"mouseup",Br,!1),zr=(0,te.Z)(window,"mousemove",oo,!1);try{window.top!==window.self&&(qn=(0,te.Z)(window.top,"mouseup",Br,!1),Cn=(0,te.Z)(window.top,"mousemove",oo,!1))}catch(Or){(0,fe.Kp)(!1,"[rc-image] ".concat(Or))}}return function(){var Or,mo,Co,lo;(Or=er)===null||Or===void 0||Or.remove(),(mo=zr)===null||mo===void 0||mo.remove(),(Co=qn)===null||Co===void 0||Co.remove(),(lo=Cn)===null||lo===void 0||lo.remove()}},[It,ir,Hn,Kn,qt,Pn]),(0,be.useEffect)(function(){var qn=(0,te.Z)(window,"keydown",ho,!1);return function(){qn.remove()}},[It,fo,Dn]);var $n=be.createElement(Be,(0,de.Z)({},an,{width:Tt.width,height:Tt.height,imgRef:Lo,className:"".concat(tn,"-img"),alt:un,style:{transform:"translate3d(".concat(Vr.x,"px, ").concat(Vr.y,"px, 0) scale3d(").concat(Vr.flipX?"-":"").concat(Ln,", ").concat(Vr.flipY?"-":"").concat(Ln,", 1) rotate(").concat(qt,"deg)"),transitionDuration:!_t&&"0s"},fallback:Ut,src:Bt,onWheel:Jr,onMouseDown:so,onDoubleClick:vr}));return be.createElement(be.Fragment,null,be.createElement(z.Z,(0,de.Z)({transitionName:Pr,maskTransitionName:Qn,closable:!1,keyboard:!0,prefixCls:tn,onClose:bt,visible:It,wrapClassName:yr,rootClassName:Yt,getContainer:Kt},To,{afterClose:zn}),be.createElement("div",{className:"".concat(tn,"-img-wrapper")},kr?kr($n,(0,se.Z)({transform:Vr},jr?{current:Dn}:{})):$n)),be.createElement(Ae,{visible:It,transform:Vr,maskTransitionName:Qn,closeIcon:$t,getContainer:Kt,prefixCls:tn,rootClassName:Yt,icons:Nt,countRender:Ar,showSwitch:fo,showProgress:So,current:Dn,count:Ft,scale:Ln,minScale:gn,maxScale:On,toolbarRender:bo,onSwitchLeft:Vn,onSwitchRight:_r,onZoomIn:jn,onZoomOut:sn,onRotateRight:Zt,onRotateLeft:hn,onFlipX:nn,onFlipY:Gn,onClose:bt}))},qe=Qe,Xe=ve(92393);function Ve(Gt){var Tt=be.useState({}),tn=(0,ie.Z)(Tt,2),Bt=tn[0],un=tn[1],Ut=be.useCallback(function(Pn,bt){return un(function(It){return(0,se.Z)((0,se.Z)({},It),{},(0,ne.Z)({},Pn,bt))}),function(){un(function(It){var Rt=(0,se.Z)({},It);return delete Rt[Pn],Rt})}},[]),An=be.useMemo(function(){return Gt?Gt.map(function(Pn){if(typeof Pn=="string")return{data:{src:Pn}};var bt={};return Object.keys(Pn).forEach(function(It){["src"].concat((0,Xe.Z)(re)).includes(It)&&(bt[It]=Pn[It])}),{data:bt}}):Object.keys(Bt).reduce(function(Pn,bt){var It=Bt[bt],Rt=It.canPreview,Nt=It.data;return Rt&&Pn.push({data:Nt,id:bt}),Pn},[])},[Gt,Bt]);return[An,Ut]}var We=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],ze=["src"],He=function(Tt){var tn,Bt=Tt.previewPrefixCls,un=Bt===void 0?"rc-image-preview":Bt,Ut=Tt.children,An=Tt.icons,Pn=An===void 0?{}:An,bt=Tt.items,It=Tt.preview,Rt=Tt.fallback,Nt=(0,ce.Z)(It)==="object"?It:{},Yt=Nt.visible,$t=Nt.onVisibleChange,Kt=Nt.getContainer,Vt=Nt.current,Dn=Nt.movable,In=Nt.minScale,Ft=Nt.maxScale,Ar=Nt.countRender,ar=Nt.closeIcon,pr=Nt.onChange,Wr=Nt.onTransform,gn=Nt.toolbarRender,mn=Nt.imageRender,On=(0,ue.Z)(Nt,We),bn=Ve(bt),Pr=(0,ie.Z)(bn,2),dr=Pr[0],Qn=Pr[1],kr=(0,oe.Z)(0,{value:Vt}),an=(0,ie.Z)(kr,2),bo=an[0],yo=an[1],io=(0,be.useState)(!1),To=(0,ie.Z)(io,2),Lo=To[0],Ao=To[1],Do=((tn=dr[bo])===null||tn===void 0?void 0:tn.data)||{},fr=Do.src,ir=(0,ue.Z)(Do,ze),xo=(0,oe.Z)(!!Yt,{value:Yt,onChange:function(qt,Ln){$t==null||$t(qt,Ln,bo)}}),jr=(0,ie.Z)(xo,2),fo=jr[0],So=jr[1],po=(0,be.useState)(null),Vr=(0,ie.Z)(po,2),Cr=Vr[0],Xr=Vr[1],ro=be.useCallback(function(Wt,qt,Ln){var Hn=dr.findIndex(function(Kn){return Kn.id===Wt});So(!0),Xr({x:qt,y:Ln}),yo(Hn<0?0:Hn),Ao(!0)},[dr]);be.useEffect(function(){fo?Lo||yo(0):Ao(!1)},[fo]);var jo=function(qt,Ln){yo(qt),pr==null||pr(qt,Ln)},wo=function(){So(!1),Xr(null)},_t=be.useMemo(function(){return{register:Qn,onPreview:ro}},[Qn,ro]);return be.createElement(ee.Provider,{value:_t},Ut,be.createElement(qe,(0,de.Z)({"aria-hidden":!fo,movable:Dn,visible:fo,prefixCls:un,closeIcon:ar,onClose:wo,mousePosition:Cr,imgCommonProps:ir,src:fr,fallback:Rt,icons:Pn,minScale:In,maxScale:Ft,getContainer:Kt,current:bo,count:dr.length,countRender:Ar,onTransform:Wr,toolbarRender:gn,imageRender:mn,onChange:jo},On)))},tt=He,Je=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],ut=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Ye=function(Tt){var tn=Tt.src,Bt=Tt.alt,un=Tt.onPreviewClose,Ut=Tt.prefixCls,An=Ut===void 0?"rc-image":Ut,Pn=Tt.previewPrefixCls,bt=Pn===void 0?"".concat(An,"-preview"):Pn,It=Tt.placeholder,Rt=Tt.fallback,Nt=Tt.width,Yt=Tt.height,$t=Tt.style,Kt=Tt.preview,Vt=Kt===void 0?!0:Kt,Dn=Tt.className,In=Tt.onClick,Ft=Tt.onError,Ar=Tt.wrapperClassName,ar=Tt.wrapperStyle,pr=Tt.rootClassName,Wr=(0,ue.Z)(Tt,Je),gn=It&&It!==!0,mn=(0,ce.Z)(Vt)==="object"?Vt:{},On=mn.src,bn=mn.visible,Pr=bn===void 0?void 0:bn,dr=mn.onVisibleChange,Qn=dr===void 0?un:dr,kr=mn.getContainer,an=kr===void 0?void 0:kr,bo=mn.mask,yo=mn.maskClassName,io=mn.movable,To=mn.icons,Lo=mn.scaleStep,Ao=mn.minScale,Do=mn.maxScale,fr=mn.imageRender,ir=mn.toolbarRender,xo=(0,ue.Z)(mn,ut),jr=On!=null?On:tn,fo=(0,oe.Z)(!!Pr,{value:Pr,onChange:Qn}),So=(0,ie.Z)(fo,2),po=So[0],Vr=So[1],Cr=b({src:tn,isCustomPlaceholder:gn,fallback:Rt}),Xr=(0,ie.Z)(Cr,3),ro=Xr[0],jo=Xr[1],wo=Xr[2],_t=(0,be.useState)(null),Wt=(0,ie.Z)(_t,2),qt=Wt[0],Ln=Wt[1],Hn=(0,be.useContext)(ee),Kn=!!Vt,yr=function(){Vr(!1),Ln(null)},zn=he()(An,Ar,pr,(0,ne.Z)({},"".concat(An,"-error"),wo==="error")),jn=(0,be.useMemo)(function(){var nn={};return re.forEach(function(Gn){Tt[Gn]!==void 0&&(nn[Gn]=Tt[Gn])}),nn},re.map(function(nn){return Tt[nn]})),sn=(0,be.useMemo)(function(){return(0,se.Z)((0,se.Z)({},jn),{},{src:jr})},[jr,jn]),Zt=y(Kn,sn),hn=function(Gn){var Vn=(0,ae.os)(Gn.target),_r=Vn.left,Br=Vn.top;Hn?Hn.onPreview(Zt,_r,Br):(Ln({x:_r,y:Br}),Vr(!0)),In==null||In(Gn)};return be.createElement(be.Fragment,null,be.createElement("div",(0,de.Z)({},Wr,{className:zn,onClick:Kn?hn:In,style:(0,se.Z)({width:Nt,height:Yt},ar)}),be.createElement("img",(0,de.Z)({},jn,{className:he()("".concat(An,"-img"),(0,ne.Z)({},"".concat(An,"-img-placeholder"),It===!0),Dn),style:(0,se.Z)({height:Yt},$t),ref:ro},jo,{width:Nt,height:Yt,onError:Ft})),wo==="loading"&&be.createElement("div",{"aria-hidden":"true",className:"".concat(An,"-placeholder")},It),bo&&Kn&&be.createElement("div",{className:he()("".concat(An,"-mask"),yo),style:{display:($t==null?void 0:$t.display)==="none"?"none":void 0}},bo)),!Hn&&Kn&&be.createElement(qe,(0,de.Z)({"aria-hidden":!po,visible:po,prefixCls:bt,onClose:yr,mousePosition:qt,src:jr,alt:Bt,fallback:Rt,getContainer:an,icons:To,movable:io,scaleStep:Lo,minScale:Ao,maxScale:Do,rootClassName:pr,imageRender:fr,imgCommonProps:jn,toolbarRender:ir},xo)))};Ye.PreviewGroup=tt,Ye.displayName="Image";var Ue=Ye,je=Ue,$e=ve(62892),Le=ve(36355),Ne=ve(31724),et=ve(99267),Ze=ve(33853),Fe=ve(38819),Oe={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"},Te=Oe,xe=ve(7657),Re=function(Tt,tn){return be.createElement(xe.Z,(0,de.Z)({},Tt,{ref:tn,icon:Te}))},Ke=be.forwardRef(Re),ot=Ke,ke={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"},nt=ke,mt=function(Tt,tn){return be.createElement(xe.Z,(0,de.Z)({},Tt,{ref:tn,icon:nt}))},ct=be.forwardRef(mt),ht=ct,lt={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"},pt=lt,at=function(Tt,tn){return be.createElement(xe.Z,(0,de.Z)({},Tt,{ref:tn,icon:pt}))},st=be.forwardRef(at),ft=st,vt={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"},St=vt,Et=function(Tt,tn){return be.createElement(xe.Z,(0,de.Z)({},Tt,{ref:tn,icon:St}))},Mt=be.forwardRef(Et),kt=Mt,Jt={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"},dn=Jt,Qt=function(Tt,tn){return be.createElement(xe.Z,(0,de.Z)({},Tt,{ref:tn,icon:dn}))},on=be.forwardRef(Qt),wn=on,vn=ve(64993),fn=ve(73819),Bn=ve(17313),Un=ve(29878),Nn=ve(1950),_n=ve(83116),kn=ve(37613);const Fn=Gt=>({position:Gt||"absolute",inset:0}),Tr=Gt=>{const{iconCls:Tt,motionDurationSlow:tn,paddingXXS:Bt,marginXXS:un,prefixCls:Ut,colorTextLightSolid:An}=Gt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:An,background:new vn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${tn}`,[`.${Ut}-mask-info`]:Object.assign(Object.assign({},Bn.vS),{padding:`0 ${Bt}px`,[Tt]:{marginInlineEnd:un,svg:{verticalAlign:"baseline"}}})}},Nr=Gt=>{const{previewCls:Tt,modalMaskBg:tn,paddingSM:Bt,marginXL:un,margin:Ut,paddingLG:An,previewOperationColorDisabled:Pn,previewOperationHoverColor:bt,motionDurationSlow:It,iconCls:Rt,colorTextLightSolid:Nt}=Gt,Yt=new vn.C(tn).setAlpha(.1),$t=Yt.clone().setAlpha(.2);return{[`${Tt}-footer`]:{position:"fixed",bottom:un,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Gt.previewOperationColor},[`${Tt}-progress`]:{marginBottom:Ut},[`${Tt}-close`]:{position:"fixed",top:un,right:{_skip_check_:!0,value:un},display:"flex",color:Nt,backgroundColor:Yt.toRgbString(),borderRadius:"50%",padding:Bt,outline:0,border:0,cursor:"pointer",transition:`all ${It}`,"&:hover":{backgroundColor:$t.toRgbString()},[`& > ${Rt}`]:{fontSize:Gt.previewOperationSize}},[`${Tt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${An}px`,backgroundColor:Yt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Bt,padding:Bt,cursor:"pointer",transition:`all ${It}`,userSelect:"none",[`&:not(${Tt}-operations-operation-disabled):hover > ${Rt}`]:{color:bt},"&-disabled":{color:Pn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Rt}`]:{fontSize:Gt.previewOperationSize}}}}},rr=Gt=>{const{modalMaskBg:Tt,iconCls:tn,previewOperationColorDisabled:Bt,previewCls:un,zIndexPopup:Ut,motionDurationSlow:An}=Gt,Pn=new vn.C(Tt).setAlpha(.1),bt=Pn.clone().setAlpha(.2);return{[`${un}-switch-left, ${un}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Ut+1,display:"flex",alignItems:"center",justifyContent:"center",width:Gt.imagePreviewSwitchSize,height:Gt.imagePreviewSwitchSize,marginTop:-Gt.imagePreviewSwitchSize/2,color:Gt.previewOperationColor,background:Pn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${An}`,userSelect:"none","&:hover":{background:bt.toRgbString()},"&-disabled":{"&, &:hover":{color:Bt,background:"transparent",cursor:"not-allowed",[`> ${tn}`]:{cursor:"not-allowed"}}},[`> ${tn}`]:{fontSize:Gt.previewOperationSize}},[`${un}-switch-left`]:{insetInlineStart:Gt.marginSM},[`${un}-switch-right`]:{insetInlineEnd:Gt.marginSM}}},Lr=Gt=>{const{motionEaseOut:Tt,previewCls:tn,motionDurationSlow:Bt,componentCls:un}=Gt;return[{[`${un}-preview-root`]:{[tn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${tn}-body`]:Object.assign(Object.assign({},Fn()),{overflow:"hidden"}),[`${tn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Bt} ${Tt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Fn()),{transition:`transform ${Bt} ${Tt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${tn}-moving`]:{[`${tn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${un}-preview-root`]:{[`${tn}-wrap`]:{zIndex:Gt.zIndexPopup}}},{[`${un}-preview-operations-wrapper`]:{position:"fixed",zIndex:Gt.zIndexPopup+1},"&":[Nr(Gt),rr(Gt)]}]},cr=Gt=>{const{componentCls:Tt}=Gt;return{[Tt]:{position:"relative",display:"inline-block",[`${Tt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Tt}-img-placeholder`]:{backgroundColor:Gt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Tt}-mask`]:Object.assign({},Tr(Gt)),[`${Tt}-mask:hover`]:{opacity:1},[`${Tt}-placeholder`]:Object.assign({},Fn())}}},br=Gt=>{const{previewCls:Tt}=Gt;return{[`${Tt}-root`]:(0,Un._y)(Gt,"zoom"),"&":(0,Nn.J$)(Gt,!0)}};var Ot=(0,_n.Z)("Image",Gt=>{const Tt=`${Gt.componentCls}-preview`,tn=(0,kn.TS)(Gt,{previewCls:Tt,modalMaskBg:new vn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Gt.controlHeightLG});return[cr(tn),Lr(tn),(0,fn.QA)((0,kn.TS)(tn,{componentCls:Tt})),br(tn)]},Gt=>({zIndexPopup:Gt.zIndexPopupBase+80,previewOperationColor:new vn.C(Gt.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new vn.C(Gt.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new vn.C(Gt.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Gt.fontSizeIcon*1.5})),At=function(Gt,Tt){var tn={};for(var Bt in Gt)Object.prototype.hasOwnProperty.call(Gt,Bt)&&Tt.indexOf(Bt)<0&&(tn[Bt]=Gt[Bt]);if(Gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Bt=Object.getOwnPropertySymbols(Gt);un<Bt.length;un++)Tt.indexOf(Bt[un])<0&&Object.prototype.propertyIsEnumerable.call(Gt,Bt[un])&&(tn[Bt[un]]=Gt[Bt[un]]);return tn};const xt={rotateLeft:be.createElement(ot,null),rotateRight:be.createElement(ht,null),zoomIn:be.createElement(kt,null),zoomOut:be.createElement(wn,null),close:be.createElement(et.Z,null),left:be.createElement(Ze.Z,null),right:be.createElement(Fe.Z,null),flipX:be.createElement(ft,null),flipY:be.createElement(ft,{rotate:90})};var Rn=Gt=>{var{previewPrefixCls:Tt,preview:tn}=Gt,Bt=At(Gt,["previewPrefixCls","preview"]);const{getPrefixCls:un}=be.useContext(Le.E_),Ut=un("image",Tt),An=`${Ut}-preview`,Pn=un(),[bt,It]=Ot(Ut),Rt=be.useMemo(()=>{var Nt;if(tn===!1)return tn;const Yt=typeof tn=="object"?tn:{},$t=he()(It,(Nt=Yt.rootClassName)!==null&&Nt!==void 0?Nt:"");return Object.assign(Object.assign({},Yt),{transitionName:(0,$e.m)(Pn,"zoom",Yt.transitionName),maskTransitionName:(0,$e.m)(Pn,"fade",Yt.maskTransitionName),rootClassName:$t})},[tn]);return bt(be.createElement(je.PreviewGroup,Object.assign({preview:Rt,previewPrefixCls:An,icons:xt},Bt)))},pn=function(Gt,Tt){var tn={};for(var Bt in Gt)Object.prototype.hasOwnProperty.call(Gt,Bt)&&Tt.indexOf(Bt)<0&&(tn[Bt]=Gt[Bt]);if(Gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Bt=Object.getOwnPropertySymbols(Gt);un<Bt.length;un++)Tt.indexOf(Bt[un])<0&&Object.prototype.propertyIsEnumerable.call(Gt,Bt[un])&&(tn[Bt[un]]=Gt[Bt[un]]);return tn};const Fr=Gt=>{const{prefixCls:Tt,preview:tn,className:Bt,rootClassName:un,style:Ut}=Gt,An=pn(Gt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Pn,locale:bt=Ne.Z,getPopupContainer:It,image:Rt}=be.useContext(Le.E_),Nt=Pn("image",Tt),Yt=Pn(),$t=bt.Image||Ne.Z.Image,[Kt,Vt]=Ot(Nt),Dn=he()(un,Vt),In=he()(Bt,Vt,Rt==null?void 0:Rt.className),Ft=be.useMemo(()=>{if(tn===!1)return tn;const ar=typeof tn=="object"?tn:{},{getContainer:pr}=ar,Wr=pn(ar,["getContainer"]);return Object.assign(Object.assign({mask:be.createElement("div",{className:`${Nt}-mask-info`},be.createElement(_e.Z,null),$t==null?void 0:$t.preview),icons:xt},Wr),{getContainer:pr||It,transitionName:(0,$e.m)(Yt,"zoom",ar.transitionName),maskTransitionName:(0,$e.m)(Yt,"fade",ar.maskTransitionName)})},[tn,$t]),Ar=Object.assign(Object.assign({},Rt==null?void 0:Rt.style),Ut);return Kt(be.createElement(je,Object.assign({prefixCls:Nt,preview:Ft,rootClassName:Dn,className:In,style:Ar},An)))};Fr.PreviewGroup=Rn;var ur=Fr},45818:function(Ct,dt,ve){"use strict";ve.d(dt,{D:function(){return te},Z:function(){return pe}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},he=E,de=ve(7657),se=function(ge,Se){return _e.createElement(de.Z,(0,be.Z)({},ge,{ref:Se,icon:he}))},ne=_e.forwardRef(se),ie=ne,ce=ve(33853),ue=ve(38819),ae=ve(92310),oe=ve.n(ae),re=ve(2738),a=me=>!isNaN(parseFloat(me))&&isFinite(me),y=ve(36355),x=ve(84966),b=function(me,ge){var Se={};for(var ye in me)Object.prototype.hasOwnProperty.call(me,ye)&&ge.indexOf(ye)<0&&(Se[ye]=me[ye]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ye=Object.getOwnPropertySymbols(me);Pe<ye.length;Pe++)ge.indexOf(ye[Pe])<0&&Object.prototype.propertyIsEnumerable.call(me,ye[Pe])&&(Se[ye[Pe]]=me[ye[Pe]]);return Se};const z={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},te=_e.createContext({}),le=(()=>{let me=0;return function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return me+=1,`${ge}${me}`}})();var pe=_e.forwardRef((me,ge)=>{const{prefixCls:Se,className:ye,trigger:Pe,children:we,defaultCollapsed:De=!1,theme:Ee="dark",style:Ae={},collapsible:Ce=!1,reverseArrow:Ie=!1,width:Me=200,collapsedWidth:Ge=80,zeroWidthTriggerStyle:Be,breakpoint:Qe,onCollapse:qe,onBreakpoint:Xe}=me,Ve=b(me,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:We}=(0,_e.useContext)(x.Gs),[ze,He]=(0,_e.useState)("collapsed"in me?me.collapsed:De),[tt,Je]=(0,_e.useState)(!1);(0,_e.useEffect)(()=>{"collapsed"in me&&He(me.collapsed)},[me.collapsed]);const ut=(Ne,et)=>{"collapsed"in me||He(Ne),qe==null||qe(Ne,et)},Ye=(0,_e.useRef)();Ye.current=Ne=>{Je(Ne.matches),Xe==null||Xe(Ne.matches),ze!==Ne.matches&&ut(Ne.matches,"responsive")},(0,_e.useEffect)(()=>{function Ne(Ze){return Ye.current(Ze)}let et;if(typeof window!="undefined"){const{matchMedia:Ze}=window;if(Ze&&Qe&&Qe in z){et=Ze(`(max-width: ${z[Qe]})`);try{et.addEventListener("change",Ne)}catch(Fe){et.addListener(Ne)}Ne(et)}}return()=>{try{et==null||et.removeEventListener("change",Ne)}catch(Ze){et==null||et.removeListener(Ne)}}},[Qe]),(0,_e.useEffect)(()=>{const Ne=le("ant-sider-");return We.addSider(Ne),()=>We.removeSider(Ne)},[]);const Ue=()=>{ut(!ze,"clickTrigger")},{getPrefixCls:je}=(0,_e.useContext)(y.E_),$e=()=>{const Ne=je("layout-sider",Se),et=(0,re.Z)(Ve,["collapsed"]),Ze=ze?Ge:Me,Fe=a(Ze)?`${Ze}px`:String(Ze),Oe=parseFloat(String(Ge||0))===0?_e.createElement("span",{onClick:Ue,className:oe()(`${Ne}-zero-width-trigger`,`${Ne}-zero-width-trigger-${Ie?"right":"left"}`),style:Be},Pe||_e.createElement(ie,null)):null,Re={expanded:Ie?_e.createElement(ue.Z,null):_e.createElement(ce.Z,null),collapsed:Ie?_e.createElement(ce.Z,null):_e.createElement(ue.Z,null)}[ze?"collapsed":"expanded"],Ke=Pe!==null?Oe||_e.createElement("div",{className:`${Ne}-trigger`,onClick:Ue,style:{width:Fe}},Pe||Re):null,ot=Object.assign(Object.assign({},Ae),{flex:`0 0 ${Fe}`,maxWidth:Fe,minWidth:Fe,width:Fe}),ke=oe()(Ne,`${Ne}-${Ee}`,{[`${Ne}-collapsed`]:!!ze,[`${Ne}-has-trigger`]:Ce&&Pe!==null&&!Oe,[`${Ne}-below`]:!!tt,[`${Ne}-zero-width`]:parseFloat(Fe)===0},ye);return _e.createElement("aside",Object.assign({className:ke},et,{style:ot,ref:ge}),_e.createElement("div",{className:`${Ne}-children`},we),Ce||tt&&Oe?Ke:null)},Le=_e.useMemo(()=>({siderCollapsed:ze}),[ze]);return _e.createElement(te.Provider,{value:Le},$e())})},84966:function(Ct,dt,ve){"use strict";ve.d(dt,{VY:function(){return te},$_:function(){return z},h4:function(){return b},Gs:function(){return re},ZP:function(){return le}});var be=ve(92393),_e=ve(92310),E=ve.n(_e),he=ve(2738),de=ve(59301),se=ve(36355),ne=ve(83116),ce=fe=>{const{componentCls:pe,bodyBg:me,lightSiderBg:ge,lightTriggerBg:Se,lightTriggerColor:ye}=fe;return{[`${pe}-sider-light`]:{background:ge,[`${pe}-sider-trigger`]:{color:ye,background:Se},[`${pe}-sider-zero-width-trigger`]:{color:ye,background:Se,border:`1px solid ${me}`,borderInlineStart:0}}}};const ue=fe=>{const{antCls:pe,componentCls:me,colorText:ge,triggerColor:Se,footerBg:ye,triggerBg:Pe,headerHeight:we,headerPadding:De,headerColor:Ee,footerPadding:Ae,triggerHeight:Ce,zeroTriggerHeight:Ie,zeroTriggerWidth:Me,motionDurationMid:Ge,motionDurationSlow:Be,fontSize:Qe,borderRadius:qe,bodyBg:Xe,headerBg:Ve,siderBg:We}=fe;return{[me]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Xe,"&, *":{boxSizing:"border-box"},[`&${me}-has-sider`]:{flexDirection:"row",[`> ${me}, > ${me}-content`]:{width:0}},[`${me}-header, &${me}-footer`]:{flex:"0 0 auto"},[`${me}-sider`]:{position:"relative",minWidth:0,background:We,transition:`all ${Ge}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${pe}-menu${pe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ce},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ce,color:Se,lineHeight:`${Ce}px`,textAlign:"center",background:Pe,cursor:"pointer",transition:`all ${Ge}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:we,insetInlineEnd:-Me,zIndex:1,width:Me,height:Ie,color:Se,fontSize:fe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:We,borderStartStartRadius:0,borderStartEndRadius:qe,borderEndEndRadius:qe,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Be} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Be}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Me,borderStartStartRadius:qe,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:qe}}}}},ce(fe)),{"&-rtl":{direction:"rtl"}}),[`${me}-header`]:{height:we,padding:De,color:Ee,lineHeight:`${we}px`,background:Ve,[`${pe}-menu`]:{lineHeight:"inherit"}},[`${me}-footer`]:{padding:Ae,color:ge,fontSize:Qe,background:ye},[`${me}-content`]:{flex:"auto",minHeight:0}}};var ae=(0,ne.Z)("Layout",fe=>[ue(fe)],fe=>{const{colorBgLayout:pe,controlHeight:me,controlHeightLG:ge,colorText:Se,controlHeightSM:ye,marginXXS:Pe,colorTextLightSolid:we,colorBgContainer:De}=fe,Ee=ge*1.25;return{colorBgHeader:"#001529",colorBgBody:pe,colorBgTrigger:"#002140",bodyBg:pe,headerBg:"#001529",headerHeight:me*2,headerPadding:`0 ${Ee}px`,headerColor:Se,footerPadding:`${ye}px ${Ee}px`,footerBg:pe,siderBg:"#001529",triggerHeight:ge+Pe*2,triggerBg:"#002140",triggerColor:we,zeroTriggerWidth:ge,zeroTriggerHeight:ge,lightSiderBg:De,lightTriggerBg:De,lightTriggerColor:Se}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(fe,pe){var me={};for(var ge in fe)Object.prototype.hasOwnProperty.call(fe,ge)&&pe.indexOf(ge)<0&&(me[ge]=fe[ge]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(fe);Se<ge.length;Se++)pe.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(fe,ge[Se])&&(me[ge[Se]]=fe[ge[Se]]);return me};const re=de.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ee(fe){let{suffixCls:pe,tagName:me,displayName:ge}=fe;return Se=>de.forwardRef((Pe,we)=>de.createElement(Se,Object.assign({ref:we,suffixCls:pe,tagName:me},Pe)))}const a=de.forwardRef((fe,pe)=>{const{prefixCls:me,suffixCls:ge,className:Se,tagName:ye}=fe,Pe=oe(fe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:we}=de.useContext(se.E_),De=we("layout",me),[Ee,Ae]=ae(De),Ce=ge?`${De}-${ge}`:De;return Ee(de.createElement(ye,Object.assign({className:E()(me||Ce,Se,Ae),ref:pe},Pe)))}),y=de.forwardRef((fe,pe)=>{const{direction:me}=de.useContext(se.E_),[ge,Se]=de.useState([]),{prefixCls:ye,className:Pe,rootClassName:we,children:De,hasSider:Ee,tagName:Ae,style:Ce}=fe,Ie=oe(fe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Me=(0,he.Z)(Ie,["suffixCls"]),{getPrefixCls:Ge,layout:Be}=de.useContext(se.E_),Qe=Ge("layout",ye),[qe,Xe]=ae(Qe),Ve=E()(Qe,{[`${Qe}-has-sider`]:typeof Ee=="boolean"?Ee:ge.length>0,[`${Qe}-rtl`]:me==="rtl"},Be==null?void 0:Be.className,Pe,we,Xe),We=de.useMemo(()=>({siderHook:{addSider:ze=>{Se(He=>[].concat((0,be.Z)(He),[ze]))},removeSider:ze=>{Se(He=>He.filter(tt=>tt!==ze))}}}),[]);return qe(de.createElement(re.Provider,{value:We},de.createElement(Ae,Object.assign({ref:pe,className:Ve,style:Object.assign(Object.assign({},Be==null?void 0:Be.style),Ce)},Me),De)))}),x=ee({tagName:"div",displayName:"Layout"})(y),b=ee({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=ee({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),te=ee({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var le=x},40875:function(Ct,dt,ve){"use strict";ve.d(dt,{J:function(){return se}});var be=ve(59301),_e=ve(33234),E=ve(70425),he=function(ne,ie){var ce={};for(var ue in ne)Object.prototype.hasOwnProperty.call(ne,ue)&&ie.indexOf(ue)<0&&(ce[ue]=ne[ue]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ue=Object.getOwnPropertySymbols(ne);ae<ue.length;ae++)ie.indexOf(ue[ae])<0&&Object.prototype.propertyIsEnumerable.call(ne,ue[ae])&&(ce[ue[ae]]=ne[ue[ae]]);return ce};const de=be.createContext(null),se=be.forwardRef((ne,ie)=>{const{children:ce}=ne,ue=he(ne,["children"]),ae=be.useContext(de),oe=be.useMemo(()=>Object.assign(Object.assign({},ae),ue),[ae,ue.prefixCls,ue.mode,ue.selectable]);return be.createElement(de.Provider,{value:oe},be.createElement(_e.BR,null,(0,E.supportNodeRef)(ce)?be.cloneElement(ce,{ref:ie}):ce))});dt.Z=de},20834:function(Ct,dt,ve){"use strict";ve.d(dt,{default:function(){return Le}});var be=ve(15285),_e=ve(59301),E=ve(45818),he=ve(92310),de=ve.n(he),se=ve(36355),ne=function(Ne,et){var Ze={};for(var Fe in Ne)Object.prototype.hasOwnProperty.call(Ne,Fe)&&et.indexOf(Fe)<0&&(Ze[Fe]=Ne[Fe]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Fe=Object.getOwnPropertySymbols(Ne);Oe<Fe.length;Oe++)et.indexOf(Fe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Fe[Oe])&&(Ze[Fe[Oe]]=Ne[Fe[Oe]]);return Ze},ce=Ne=>{const{prefixCls:et,className:Ze,dashed:Fe}=Ne,Oe=ne(Ne,["prefixCls","className","dashed"]),{getPrefixCls:Te}=_e.useContext(se.E_),xe=Te("menu",et),Re=de()({[`${xe}-item-divider-dashed`]:!!Fe},Ze);return _e.createElement(be.iz,Object.assign({className:Re},Oe))},ue=ve(11592),ae=ve(2738),oe=ve(6848),re=ve(92343),a=(0,_e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Ne=>{var et;const{className:Ze,children:Fe,icon:Oe,title:Te,danger:xe}=Ne,{prefixCls:Re,firstLevel:Ke,direction:ot,disableMenuItemTitleTooltip:ke,inlineCollapsed:nt}=_e.useContext(a),mt=st=>{const ft=_e.createElement("span",{className:`${Re}-title-content`},Fe);return(!Oe||(0,re.l$)(Fe)&&Fe.type==="span")&&Fe&&st&&Ke&&typeof Fe=="string"?_e.createElement("div",{className:`${Re}-inline-collapsed-noicon`},Fe.charAt(0)):ft},{siderCollapsed:ct}=_e.useContext(E.D);let ht=Te;typeof Te=="undefined"?ht=Ke?Fe:"":Te===!1&&(ht="");const lt={title:ht};!ct&&!nt&&(lt.title=null,lt.open=!1);const pt=(0,ue.Z)(Fe).length;let at=_e.createElement(be.ck,Object.assign({},(0,ae.Z)(Ne,["title","icon","danger"]),{className:de()({[`${Re}-item-danger`]:xe,[`${Re}-item-only-child`]:(Oe?pt+1:pt)===1},Ze),title:typeof Te=="string"?Te:void 0}),(0,re.Tm)(Oe,{className:de()((0,re.l$)(Oe)?(et=Oe.props)===null||et===void 0?void 0:et.className:"",`${Re}-item-icon`)}),mt(nt));return ke||(at=_e.createElement(oe.Z,Object.assign({},lt,{placement:ot==="rtl"?"left":"right",overlayClassName:`${Re}-inline-collapsed-tooltip`}),at)),at},z=Ne=>{var et;const{popupClassName:Ze,icon:Fe,title:Oe,theme:Te}=Ne,xe=_e.useContext(a),{prefixCls:Re,inlineCollapsed:Ke,theme:ot}=xe,ke=(0,be.Xl)();let nt;if(!Fe)nt=Ke&&!ke.length&&Oe&&typeof Oe=="string"?_e.createElement("div",{className:`${Re}-inline-collapsed-noicon`},Oe.charAt(0)):_e.createElement("span",{className:`${Re}-title-content`},Oe);else{const ct=(0,re.l$)(Oe)&&Oe.type==="span";nt=_e.createElement(_e.Fragment,null,(0,re.Tm)(Fe,{className:de()((0,re.l$)(Fe)?(et=Fe.props)===null||et===void 0?void 0:et.className:"",`${Re}-item-icon`)}),ct?Oe:_e.createElement("span",{className:`${Re}-title-content`},Oe))}const mt=_e.useMemo(()=>Object.assign(Object.assign({},xe),{firstLevel:!1}),[xe]);return _e.createElement(a.Provider,{value:mt},_e.createElement(be.Wd,Object.assign({},(0,ae.Z)(Ne,["icon"]),{title:nt,popupClassName:de()(Re,Ze,`${Re}-${Te||ot}`)})))},te=ve(18785),le=ve(70425),fe=ve(62892),pe=ve(40875),me=function(Ne,et){var Ze={};for(var Fe in Ne)Object.prototype.hasOwnProperty.call(Ne,Fe)&&et.indexOf(Fe)<0&&(Ze[Fe]=Ne[Fe]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Fe=Object.getOwnPropertySymbols(Ne);Oe<Fe.length;Oe++)et.indexOf(Fe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Fe[Oe])&&(Ze[Fe[Oe]]=Ne[Fe[Oe]]);return Ze};function ge(Ne){return(Ne||[]).map((et,Ze)=>{if(et&&typeof et=="object"){const Fe=et,{label:Oe,children:Te,key:xe,type:Re}=Fe,Ke=me(Fe,["label","children","key","type"]),ot=xe!=null?xe:`tmp-${Ze}`;return Te||Re==="group"?Re==="group"?_e.createElement(be.BW,Object.assign({key:ot},Ke,{title:Oe}),ge(Te)):_e.createElement(z,Object.assign({key:ot},Ke,{title:Oe}),ge(Te)):Re==="divider"?_e.createElement(ce,Object.assign({key:ot},Ke)):_e.createElement(x,Object.assign({key:ot},Ke),Oe)}return null}).filter(et=>et)}function Se(Ne){return _e.useMemo(()=>Ne&&ge(Ne),[Ne])}var ye=ve(64993),Pe=ve(17313),we=ve(8378),De=ve(13826),Ee=ve(29878),Ae=ve(83116),Ce=ve(37613),Me=Ne=>{const{componentCls:et,motionDurationSlow:Ze,horizontalLineHeight:Fe,colorSplit:Oe,lineWidth:Te,lineType:xe,itemPaddingInline:Re}=Ne;return{[`${et}-horizontal`]:{lineHeight:Fe,border:0,borderBottom:`${Te}px ${xe} ${Oe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${et}-item, ${et}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Re},[`> ${et}-item:hover,
|
|
|
> ${et}-item-active,
|
|
|
> ${et}-submenu ${et}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${et}-item, ${et}-submenu-title`]:{transition:[`border-color ${Ze}`,`background ${Ze}`].join(",")},[`${et}-submenu-arrow`]:{display:"none"}}}},Be=Ne=>{let{componentCls:et,menuArrowOffset:Ze}=Ne;return{[`${et}-rtl`]:{direction:"rtl"},[`${et}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${et}-rtl${et}-vertical,
|
|
|
${et}-submenu-rtl ${et}-vertical`]:{[`${et}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ze})`},"&::after":{transform:`rotate(45deg) translateY(${Ze})`}}}}};const Qe=Ne=>Object.assign({},(0,Pe.oN)(Ne));var Xe=(Ne,et)=>{const{componentCls:Ze,itemColor:Fe,itemSelectedColor:Oe,groupTitleColor:Te,itemBg:xe,subMenuItemBg:Re,itemSelectedBg:Ke,activeBarHeight:ot,activeBarWidth:ke,activeBarBorderWidth:nt,motionDurationSlow:mt,motionEaseInOut:ct,motionEaseOut:ht,itemPaddingInline:lt,motionDurationMid:pt,itemHoverColor:at,lineType:st,colorSplit:ft,itemDisabledColor:vt,dangerItemColor:St,dangerItemHoverColor:Et,dangerItemSelectedColor:Mt,dangerItemActiveBg:kt,dangerItemSelectedBg:Jt,itemHoverBg:dn,itemActiveBg:Qt,menuSubMenuBg:on,horizontalItemSelectedColor:wn,horizontalItemSelectedBg:vn,horizontalItemBorderRadius:fn,horizontalItemHoverBg:Bn,popupBg:Un}=Ne;return{[`${Ze}-${et}, ${Ze}-${et} > ${Ze}`]:{color:Fe,background:xe,[`&${Ze}-root:focus-visible`]:Object.assign({},Qe(Ne)),[`${Ze}-item-group-title`]:{color:Te},[`${Ze}-submenu-selected`]:{[`> ${Ze}-submenu-title`]:{color:Oe}},[`${Ze}-item-disabled, ${Ze}-submenu-disabled`]:{color:`${vt} !important`},[`${Ze}-item:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{[`&:hover, > ${Ze}-submenu-title:hover`]:{color:at}},[`&:not(${Ze}-horizontal)`]:{[`${Ze}-item:not(${Ze}-item-selected)`]:{"&:hover":{backgroundColor:dn},"&:active":{backgroundColor:Qt}},[`${Ze}-submenu-title`]:{"&:hover":{backgroundColor:dn},"&:active":{backgroundColor:Qt}}},[`${Ze}-item-danger`]:{color:St,[`&${Ze}-item:hover`]:{[`&:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{color:Et}},[`&${Ze}-item:active`]:{background:kt}},[`${Ze}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ze}-item-selected`]:{color:Oe,[`&${Ze}-item-danger`]:{color:Mt},"a, a:hover":{color:"inherit"}},[`& ${Ze}-item-selected`]:{backgroundColor:Ke,[`&${Ze}-item-danger`]:{backgroundColor:Jt}},[`${Ze}-item, ${Ze}-submenu-title`]:{[`&:not(${Ze}-item-disabled):focus-visible`]:Object.assign({},Qe(Ne))},[`&${Ze}-submenu > ${Ze}`]:{backgroundColor:on},[`&${Ze}-popup > ${Ze}`]:{backgroundColor:Un},[`&${Ze}-horizontal`]:Object.assign(Object.assign({},et==="dark"?{borderBottom:0}:{}),{[`> ${Ze}-item, > ${Ze}-submenu`]:{top:nt,marginTop:-nt,marginBottom:0,borderRadius:fn,"&::after":{position:"absolute",insetInline:lt,bottom:0,borderBottom:`${ot}px solid transparent`,transition:`border-color ${mt} ${ct}`,content:'""'},"&:hover, &-active, &-open":{background:Bn,"&::after":{borderBottomWidth:ot,borderBottomColor:wn}},"&-selected":{color:wn,backgroundColor:vn,"&:hover":{backgroundColor:vn},"&::after":{borderBottomWidth:ot,borderBottomColor:wn}}}}),[`&${Ze}-root`]:{[`&${Ze}-inline, &${Ze}-vertical`]:{borderInlineEnd:`${nt}px ${st} ${ft}`}},[`&${Ze}-inline`]:{[`${Ze}-sub${Ze}-inline`]:{background:Re},[`${Ze}-item, ${Ze}-submenu-title`]:nt&&ke?{width:`calc(100% + ${nt}px)`}:{},[`${Ze}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ke}px solid ${Oe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${pt} ${ht}`,`opacity ${pt} ${ht}`].join(","),content:'""'},[`&${Ze}-item-danger`]:{"&::after":{borderInlineEndColor:Mt}}},[`${Ze}-selected, ${Ze}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${pt} ${ct}`,`opacity ${pt} ${ct}`].join(",")}}}}}};const Ve=Ne=>{const{componentCls:et,itemHeight:Ze,itemMarginInline:Fe,padding:Oe,menuArrowSize:Te,marginXS:xe,itemMarginBlock:Re}=Ne,Ke=Oe+Te+xe;return{[`${et}-item`]:{position:"relative",overflow:"hidden"},[`${et}-item, ${et}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`,paddingInline:Oe,overflow:"hidden",textOverflow:"ellipsis",marginInline:Fe,marginBlock:Re,width:`calc(100% - ${Fe*2}px)`},[`> ${et}-item,
|
|
|
> ${et}-submenu > ${et}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`},[`${et}-item-group-list ${et}-submenu-title,
|
|
|
${et}-submenu-title`]:{paddingInlineEnd:Ke}}};var ze=Ne=>{const{componentCls:et,iconCls:Ze,itemHeight:Fe,colorTextLightSolid:Oe,dropdownWidth:Te,controlHeightLG:xe,motionDurationMid:Re,motionEaseOut:Ke,paddingXL:ot,itemMarginInline:ke,fontSizeLG:nt,motionDurationSlow:mt,paddingXS:ct,boxShadowSecondary:ht,collapsedWidth:lt,collapsedIconSize:pt}=Ne,at={height:Fe,lineHeight:`${Fe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[et]:{"&-inline, &-vertical":Object.assign({[`&${et}-root`]:{boxShadow:"none"}},Ve(Ne))},[`${et}-submenu-popup`]:{[`${et}-vertical`]:Object.assign(Object.assign({},Ve(Ne)),{boxShadow:ht})}},{[`${et}-submenu-popup ${et}-vertical${et}-sub`]:{minWidth:Te,maxHeight:`calc(100vh - ${xe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${et}-inline`]:{width:"100%",[`&${et}-root`]:{[`${et}-item, ${et}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${mt}`,`background ${mt}`,`padding ${Re} ${Ke}`].join(","),[`> ${et}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${et}-sub${et}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${et}-submenu > ${et}-submenu-title`]:at,[`& ${et}-item-group-title`]:{paddingInlineStart:ot}},[`${et}-item`]:at}},{[`${et}-inline-collapsed`]:{width:lt,[`&${et}-root`]:{[`${et}-item, ${et}-submenu ${et}-submenu-title`]:{[`> ${et}-inline-collapsed-noicon`]:{fontSize:nt,textAlign:"center"}}},[`> ${et}-item,
|
|
|
> ${et}-item-group > ${et}-item-group-list > ${et}-item,
|
|
|
> ${et}-item-group > ${et}-item-group-list > ${et}-submenu > ${et}-submenu-title,
|
|
|
> ${et}-submenu > ${et}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${nt/2}px - ${ke}px)`,textOverflow:"clip",[`
|
|
|
${et}-submenu-arrow,
|
|
|
${et}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${et}-item-icon, ${Ze}`]:{margin:0,fontSize:pt,lineHeight:`${Fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${et}-item-icon, ${Ze}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${et}-item-icon, ${Ze}`]:{display:"none"},"a, a:hover":{color:Oe}},[`${et}-item-group-title`]:Object.assign(Object.assign({},Pe.vS),{paddingInline:ct})}}]};const He=Ne=>{const{componentCls:et,motionDurationSlow:Ze,motionDurationMid:Fe,motionEaseInOut:Oe,motionEaseOut:Te,iconCls:xe,iconSize:Re,iconMarginInlineEnd:Ke}=Ne;return{[`${et}-item, ${et}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ze}`,`background ${Ze}`,`padding ${Ze} ${Oe}`].join(","),[`${et}-item-icon, ${xe}`]:{minWidth:Re,fontSize:Re,transition:[`font-size ${Fe} ${Te}`,`margin ${Ze} ${Oe}`,`color ${Ze}`].join(","),"+ span":{marginInlineStart:Ke,opacity:1,transition:[`opacity ${Ze} ${Oe}`,`margin ${Ze}`,`color ${Ze}`].join(",")}},[`${et}-item-icon`]:Object.assign({},(0,Pe.Ro)()),[`&${et}-item-only-child`]:{[`> ${xe}, > ${et}-item-icon`]:{marginInlineEnd:0}}},[`${et}-item-disabled, ${et}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${et}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},tt=Ne=>{const{componentCls:et,motionDurationSlow:Ze,motionEaseInOut:Fe,borderRadius:Oe,menuArrowSize:Te,menuArrowOffset:xe}=Ne;return{[`${et}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ne.margin,width:Te,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ze} ${Fe}, opacity ${Ze}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Te*.6,height:Te*.15,backgroundColor:"currentcolor",borderRadius:Oe,transition:[`background ${Ze} ${Fe}`,`transform ${Ze} ${Fe}`,`top ${Ze} ${Fe}`,`color ${Ze} ${Fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${xe})`},"&::after":{transform:`rotate(-45deg) translateY(${xe})`}}}}},Je=Ne=>{const{antCls:et,componentCls:Ze,fontSize:Fe,motionDurationSlow:Oe,motionDurationMid:Te,motionEaseInOut:xe,paddingXS:Re,padding:Ke,colorSplit:ot,lineWidth:ke,zIndexPopup:nt,borderRadiusLG:mt,subMenuItemBorderRadius:ct,menuArrowSize:ht,menuArrowOffset:lt,lineType:pt,menuPanelMaskInset:at,groupTitleLineHeight:st,groupTitleFontSize:ft}=Ne;return[{"":{[`${Ze}`]:Object.assign(Object.assign({},(0,Pe.dF)()),{"&-hidden":{display:"none"}})},[`${Ze}-submenu-hidden`]:{display:"none"}},{[Ze]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pe.Wf)(Ne)),(0,Pe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Fe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Oe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ze}-item`]:{flex:"none"}},[`${Ze}-item, ${Ze}-submenu, ${Ze}-submenu-title`]:{borderRadius:Ne.itemBorderRadius},[`${Ze}-item-group-title`]:{padding:`${Re}px ${Ke}px`,fontSize:ft,lineHeight:st,transition:`all ${Oe}`},[`&-horizontal ${Ze}-submenu`]:{transition:[`border-color ${Oe} ${xe}`,`background ${Oe} ${xe}`].join(",")},[`${Ze}-submenu, ${Ze}-submenu-inline`]:{transition:[`border-color ${Oe} ${xe}`,`background ${Oe} ${xe}`,`padding ${Te} ${xe}`].join(",")},[`${Ze}-submenu ${Ze}-sub`]:{cursor:"initial",transition:[`background ${Oe} ${xe}`,`padding ${Oe} ${xe}`].join(",")},[`${Ze}-title-content`]:{transition:`color ${Oe}`},[`${Ze}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ze}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ot,borderStyle:pt,borderWidth:0,borderTopWidth:ke,marginBlock:ke,padding:0,"&-dashed":{borderStyle:"dashed"}}}),He(Ne)),{[`${Ze}-item-group`]:{[`${Ze}-item-group-list`]:{margin:0,padding:0,[`${Ze}-item, ${Ze}-submenu-title`]:{paddingInline:`${Fe*2}px ${Ke}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:nt,borderRadius:mt,boxShadow:"none",transformOrigin:"0 0",[`&${Ze}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${at}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:at},"\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:Ne.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ne.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ne.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ne.paddingXS},[`> ${Ze}`]:Object.assign(Object.assign(Object.assign({borderRadius:mt},He(Ne)),tt(Ne)),{[`${Ze}-item, ${Ze}-submenu > ${Ze}-submenu-title`]:{borderRadius:ct},[`${Ze}-submenu-title::after`]:{transition:`transform ${Oe} ${xe}`}})}}),tt(Ne)),{[`&-inline-collapsed ${Ze}-submenu-arrow,
|
|
|
&-inline ${Ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${lt})`},"&::after":{transform:`rotate(45deg) translateX(-${lt})`}},[`${Ze}-submenu-open${Ze}-submenu-inline > ${Ze}-submenu-title > ${Ze}-submenu-arrow`]:{transform:`translateY(-${ht*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${lt})`},"&::before":{transform:`rotate(45deg) translateX(${lt})`}}})},{[`${et}-layout-header`]:{[Ze]:{lineHeight:"inherit"}}}]};var ut=(Ne,et)=>(0,Ae.Z)("Menu",Fe=>{if(et===!1)return[];const{colorBgElevated:Oe,colorPrimary:Te,colorTextLightSolid:xe,controlHeightLG:Re,fontSize:Ke,darkItemColor:ot,darkDangerItemColor:ke,darkItemBg:nt,darkSubMenuItemBg:mt,darkItemSelectedColor:ct,darkItemSelectedBg:ht,darkDangerItemSelectedBg:lt,darkItemHoverBg:pt,darkGroupTitleColor:at,darkItemHoverColor:st,darkItemDisabledColor:ft,darkDangerItemHoverColor:vt,darkDangerItemSelectedColor:St,darkDangerItemActiveBg:Et}=Fe,Mt=Ke/7*5,kt=(0,Ce.TS)(Fe,{menuArrowSize:Mt,menuHorizontalHeight:Re*1.15,menuArrowOffset:`${Mt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Oe}),Jt=(0,Ce.TS)(kt,{itemColor:ot,itemHoverColor:st,groupTitleColor:at,itemSelectedColor:ct,itemBg:nt,popupBg:nt,subMenuItemBg:mt,itemActiveBg:"transparent",itemSelectedBg:ht,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:pt,itemDisabledColor:ft,dangerItemColor:ke,dangerItemHoverColor:vt,dangerItemSelectedColor:St,dangerItemActiveBg:Et,dangerItemSelectedBg:lt,menuSubMenuBg:mt,horizontalItemSelectedColor:xe,horizontalItemSelectedBg:Te});return[Je(kt),Me(kt),ze(kt),Xe(kt,"light"),Xe(Jt,"dark"),Be(kt),(0,we.Z)(kt),(0,De.oN)(kt,"slide-up"),(0,De.oN)(kt,"slide-down"),(0,Ee._y)(kt,"zoom-big")]},Fe=>{const{colorPrimary:Oe,colorError:Te,colorTextDisabled:xe,colorErrorBg:Re,colorText:Ke,colorTextDescription:ot,colorBgContainer:ke,colorFillAlter:nt,colorFillContent:mt,lineWidth:ct,lineWidthBold:ht,controlItemBgActive:lt,colorBgTextHover:pt,controlHeightLG:at,lineHeight:st,colorBgElevated:ft,marginXXS:vt,padding:St,fontSize:Et,controlHeightSM:Mt,fontSizeLG:kt,colorTextLightSolid:Jt,colorErrorHover:dn}=Fe,Qt=new ye.C(Jt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Fe.zIndexPopupBase+50,radiusItem:Fe.borderRadiusLG,itemBorderRadius:Fe.borderRadiusLG,radiusSubMenuItem:Fe.borderRadiusSM,subMenuItemBorderRadius:Fe.borderRadiusSM,colorItemText:Ke,itemColor:Ke,colorItemTextHover:Ke,itemHoverColor:Ke,colorItemTextHoverHorizontal:Oe,horizontalItemHoverColor:Oe,colorGroupTitle:ot,groupTitleColor:ot,colorItemTextSelected:Oe,itemSelectedColor:Oe,colorItemTextSelectedHorizontal:Oe,horizontalItemSelectedColor:Oe,colorItemBg:ke,itemBg:ke,colorItemBgHover:pt,itemHoverBg:pt,colorItemBgActive:mt,itemActiveBg:lt,colorSubItemBg:nt,subMenuItemBg:nt,colorItemBgSelected:lt,itemSelectedBg:lt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:ht,activeBarHeight:ht,colorActiveBarBorderSize:ct,activeBarBorderWidth:ct,colorItemTextDisabled:xe,itemDisabledColor:xe,colorDangerItemText:Te,dangerItemColor:Te,colorDangerItemTextHover:Te,dangerItemHoverColor:Te,colorDangerItemTextSelected:Te,dangerItemSelectedColor:Te,colorDangerItemBgActive:Re,dangerItemActiveBg:Re,colorDangerItemBgSelected:Re,dangerItemSelectedBg:Re,itemMarginInline:Fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:at,groupTitleLineHeight:st,collapsedWidth:at*2,popupBg:ft,itemMarginBlock:vt,itemPaddingInline:St,horizontalLineHeight:`${at*1.15}px`,iconSize:Et,iconMarginInlineEnd:Mt-Et,collapsedIconSize:kt,groupTitleFontSize:Et,darkItemDisabledColor:new ye.C(Jt).setAlpha(.25).toRgbString(),darkItemColor:Qt,darkDangerItemColor:Te,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Jt,darkItemSelectedBg:Oe,darkDangerItemSelectedBg:Te,darkItemHoverBg:"transparent",darkGroupTitleColor:Qt,darkItemHoverColor:Jt,darkDangerItemHoverColor:dn,darkDangerItemSelectedColor:Jt,darkDangerItemActiveBg:Te}},{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"]]})(Ne),Ye=function(Ne,et){var Ze={};for(var Fe in Ne)Object.prototype.hasOwnProperty.call(Ne,Fe)&&et.indexOf(Fe)<0&&(Ze[Fe]=Ne[Fe]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Fe=Object.getOwnPropertySymbols(Ne);Oe<Fe.length;Oe++)et.indexOf(Fe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Fe[Oe])&&(Ze[Fe[Oe]]=Ne[Fe[Oe]]);return Ze},je=(0,_e.forwardRef)((Ne,et)=>{var Ze,Fe;const Oe=_e.useContext(pe.Z),Te=Oe||{},{getPrefixCls:xe,getPopupContainer:Re,direction:Ke,menu:ot}=_e.useContext(se.E_),ke=xe(),{prefixCls:nt,className:mt,style:ct,theme:ht="light",expandIcon:lt,_internalDisableMenuItemTitleTooltip:pt,inlineCollapsed:at,siderCollapsed:st,items:ft,children:vt,rootClassName:St,mode:Et,selectable:Mt,onClick:kt,overflowedIndicatorPopupClassName:Jt}=Ne,dn=Ye(Ne,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Qt=(0,ae.Z)(dn,["collapsedWidth"]),on=Se(ft)||vt;(Ze=Te.validator)===null||Ze===void 0||Ze.call(Te,{mode:Et});const wn=(0,le.useEvent)(function(){var rr;kt==null||kt.apply(void 0,arguments),(rr=Te.onClick)===null||rr===void 0||rr.call(Te)}),vn=Te.mode||Et,fn=Mt!=null?Mt:Te.selectable,Bn=_e.useMemo(()=>st!==void 0?st:at,[at,st]),Un={horizontal:{motionName:`${ke}-slide-up`},inline:(0,fe.Z)(ke),other:{motionName:`${ke}-zoom-big`}},Nn=xe("menu",nt||Te.prefixCls),[_n,kn]=ut(Nn,!Oe),Fn=de()(`${Nn}-${ht}`,ot==null?void 0:ot.className,mt);let Tr;if(typeof lt=="function")Tr=lt;else if(lt===null||lt===!1)Tr=null;else if(Te.expandIcon===null||Te.expandIcon===!1)Tr=null;else{const rr=lt!=null?lt:Te.expandIcon;Tr=(0,re.Tm)(rr,{className:de()(`${Nn}-submenu-expand-icon`,(0,re.l$)(rr)?(Fe=rr.props)===null||Fe===void 0?void 0:Fe.className:"")})}const Nr=_e.useMemo(()=>({prefixCls:Nn,inlineCollapsed:Bn||!1,direction:Ke,firstLevel:!0,theme:ht,mode:vn,disableMenuItemTitleTooltip:pt}),[Nn,Bn,Ke,pt,ht]);return _n(_e.createElement(pe.Z.Provider,{value:null},_e.createElement(a.Provider,{value:Nr},_e.createElement(be.ZP,Object.assign({getPopupContainer:Re,overflowedIndicator:_e.createElement(te.Z,null),overflowedIndicatorPopupClassName:de()(Nn,`${Nn}-${ht}`,Jt),mode:vn,selectable:fn,onClick:wn},Qt,{inlineCollapsed:Bn,style:Object.assign(Object.assign({},ot==null?void 0:ot.style),ct),className:Fn,prefixCls:Nn,direction:Ke,defaultMotions:Un,expandIcon:Tr,ref:et,rootClassName:de()(St,kn)}),on))))});const $e=(0,_e.forwardRef)((Ne,et)=>{const Ze=(0,_e.useRef)(null),Fe=_e.useContext(E.D);return(0,_e.useImperativeHandle)(et,()=>({menu:Ze.current,focus:Oe=>{var Te;(Te=Ze.current)===null||Te===void 0||Te.focus(Oe)}})),_e.createElement(je,Object.assign({ref:Ze},Ne,Fe))});$e.Item=x,$e.SubMenu=z,$e.Divider=ce,$e.ItemGroup=be.BW;var Le=$e},58421:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return Te}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},he=E,de=ve(7657),se=function(Re,Ke){return _e.createElement(de.Z,(0,be.Z)({},Re,{ref:Ke,icon:he}))},ne=_e.forwardRef(se),ie=ne,ce=ve(49198),ue=ve(33853),ae=ve(38819),oe=ve(92310),re=ve.n(oe),ee=ve(18082),a=ve(20049),y=ve(6487),x=ve(56789),b=ve(7942),z=ve(76773),te=ve(26112),le={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},fe=le,pe=ve(91735),me=function(xe){(0,b.Z)(Ke,xe);var Re=(0,z.Z)(Ke);function Ke(){var ot;(0,y.Z)(this,Ke);for(var ke=arguments.length,nt=new Array(ke),mt=0;mt<ke;mt++)nt[mt]=arguments[mt];return ot=Re.call.apply(Re,[this].concat(nt)),ot.state={goInputText:""},ot.getValidValue=function(){var ct=ot.state.goInputText;return!ct||Number.isNaN(ct)?void 0:Number(ct)},ot.buildOptionText=function(ct){return"".concat(ct," ").concat(ot.props.locale.items_per_page)},ot.changeSize=function(ct){ot.props.changeSize(Number(ct))},ot.handleChange=function(ct){ot.setState({goInputText:ct.target.value})},ot.handleBlur=function(ct){var ht=ot.props,lt=ht.goButton,pt=ht.quickGo,at=ht.rootPrefixCls,st=ot.state.goInputText;lt||st===""||(ot.setState({goInputText:""}),!(ct.relatedTarget&&(ct.relatedTarget.className.indexOf("".concat(at,"-item-link"))>=0||ct.relatedTarget.className.indexOf("".concat(at,"-item"))>=0))&&pt(ot.getValidValue()))},ot.go=function(ct){var ht=ot.state.goInputText;ht!==""&&(ct.keyCode===fe.ENTER||ct.type==="click")&&(ot.setState({goInputText:""}),ot.props.quickGo(ot.getValidValue()))},ot}return(0,x.Z)(Ke,[{key:"getPageSizeOptions",value:function(){var ke=this.props,nt=ke.pageSize,mt=ke.pageSizeOptions;return mt.some(function(ct){return ct.toString()===nt.toString()})?mt:mt.concat([nt.toString()]).sort(function(ct,ht){var lt=Number.isNaN(Number(ct))?0:Number(ct),pt=Number.isNaN(Number(ht))?0:Number(ht);return lt-pt})}},{key:"render",value:function(){var ke=this,nt=this.props,mt=nt.pageSize,ct=nt.locale,ht=nt.rootPrefixCls,lt=nt.changeSize,pt=nt.quickGo,at=nt.goButton,st=nt.selectComponentClass,ft=nt.buildOptionText,vt=nt.selectPrefixCls,St=nt.disabled,Et=this.state.goInputText,Mt="".concat(ht,"-options"),kt=st,Jt=null,dn=null,Qt=null;if(!lt&&!pt)return null;var on=this.getPageSizeOptions();if(lt&&kt){var wn=on.map(function(vn,fn){return _e.createElement(kt.Option,{key:fn,value:vn.toString()},(ft||ke.buildOptionText)(vn))});Jt=_e.createElement(kt,{disabled:St,prefixCls:vt,showSearch:!1,className:"".concat(Mt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(mt||on[0]).toString(),onChange:this.changeSize,getPopupContainer:function(fn){return fn.parentNode},"aria-label":ct.page_size,defaultOpen:!1},wn)}return pt&&(at&&(Qt=typeof at=="boolean"?_e.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:St,className:"".concat(Mt,"-quick-jumper-button")},ct.jump_to_confirm):_e.createElement("span",{onClick:this.go,onKeyUp:this.go},at)),dn=_e.createElement("div",{className:"".concat(Mt,"-quick-jumper")},ct.jump_to,_e.createElement("input",{disabled:St,type:"text",value:Et,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ct.page}),ct.page,Qt)),_e.createElement("li",{className:"".concat(Mt)},Jt,dn)}}]),Ke}(_e.Component);me.defaultProps={pageSizeOptions:["10","20","50","100"]};var ge=me,Se=function(Re){var Ke,ot=Re.rootPrefixCls,ke=Re.page,nt=Re.active,mt=Re.className,ct=Re.showTitle,ht=Re.onClick,lt=Re.onKeyPress,pt=Re.itemRender,at="".concat(ot,"-item"),st=re()(at,"".concat(at,"-").concat(ke),(Ke={},(0,ee.Z)(Ke,"".concat(at,"-active"),nt),(0,ee.Z)(Ke,"".concat(at,"-disabled"),!ke),(0,ee.Z)(Ke,Re.className,mt),Ke)),ft=function(){ht(ke)},vt=function(Mt){lt(Mt,ht,ke)},St=pt(ke,"page",_e.createElement("a",{rel:"nofollow"},ke));return St?_e.createElement("li",{title:ct?ke.toString():null,className:st,onClick:ft,onKeyPress:vt,tabIndex:0},St):null},ye=Se;function Pe(){}function we(xe){var Re=Number(xe);return typeof Re=="number"&&!Number.isNaN(Re)&&isFinite(Re)&&Math.floor(Re)===Re}var De=function(Re,Ke,ot){return ot};function Ee(xe,Re,Ke){var ot=typeof xe=="undefined"?Re.pageSize:xe;return Math.floor((Ke.total-1)/ot)+1}var Ae=function(xe){(0,b.Z)(Ke,xe);var Re=(0,z.Z)(Ke);function Ke(ot){var ke;(0,y.Z)(this,Ke),ke=Re.call(this,ot),ke.paginationNode=_e.createRef(),ke.getJumpPrevPage=function(){return Math.max(1,ke.state.current-(ke.props.showLessItems?3:5))},ke.getJumpNextPage=function(){return Math.min(Ee(void 0,ke.state,ke.props),ke.state.current+(ke.props.showLessItems?3:5))},ke.getItemIcon=function(lt,pt){var at=ke.props.prefixCls,st=lt||_e.createElement("button",{type:"button","aria-label":pt,className:"".concat(at,"-item-link")});return typeof lt=="function"&&(st=_e.createElement(lt,(0,a.Z)({},ke.props))),st},ke.isValid=function(lt){var pt=ke.props.total;return we(lt)&<!==ke.state.current&&we(pt)&&pt>0},ke.shouldDisplayQuickJumper=function(){var lt=ke.props,pt=lt.showQuickJumper,at=lt.total,st=ke.state.pageSize;return at<=st?!1:pt},ke.handleKeyDown=function(lt){(lt.keyCode===fe.ARROW_UP||lt.keyCode===fe.ARROW_DOWN)&<.preventDefault()},ke.handleKeyUp=function(lt){var pt=ke.getValidValue(lt),at=ke.state.currentInputValue;pt!==at&&ke.setState({currentInputValue:pt}),lt.keyCode===fe.ENTER?ke.handleChange(pt):lt.keyCode===fe.ARROW_UP?ke.handleChange(pt-1):lt.keyCode===fe.ARROW_DOWN&&ke.handleChange(pt+1)},ke.handleBlur=function(lt){var pt=ke.getValidValue(lt);ke.handleChange(pt)},ke.changePageSize=function(lt){var pt=ke.state.current,at=Ee(lt,ke.state,ke.props);pt=pt>at?at:pt,at===0&&(pt=ke.state.current),typeof lt=="number"&&("pageSize"in ke.props||ke.setState({pageSize:lt}),"current"in ke.props||ke.setState({current:pt,currentInputValue:pt})),ke.props.onShowSizeChange(pt,lt),"onChange"in ke.props&&ke.props.onChange&&ke.props.onChange(pt,lt)},ke.handleChange=function(lt){var pt=ke.props,at=pt.disabled,st=pt.onChange,ft=ke.state,vt=ft.pageSize,St=ft.current,Et=ft.currentInputValue;if(ke.isValid(lt)&&!at){var Mt=Ee(void 0,ke.state,ke.props),kt=lt;return lt>Mt?kt=Mt:lt<1&&(kt=1),"current"in ke.props||ke.setState({current:kt}),kt!==Et&&ke.setState({currentInputValue:kt}),st(kt,vt),kt}return St},ke.prev=function(){ke.hasPrev()&&ke.handleChange(ke.state.current-1)},ke.next=function(){ke.hasNext()&&ke.handleChange(ke.state.current+1)},ke.jumpPrev=function(){ke.handleChange(ke.getJumpPrevPage())},ke.jumpNext=function(){ke.handleChange(ke.getJumpNextPage())},ke.hasPrev=function(){return ke.state.current>1},ke.hasNext=function(){return ke.state.current<Ee(void 0,ke.state,ke.props)},ke.runIfEnter=function(lt,pt){if(lt.key==="Enter"||lt.charCode===13){for(var at=arguments.length,st=new Array(at>2?at-2:0),ft=2;ft<at;ft++)st[ft-2]=arguments[ft];pt.apply(void 0,st)}},ke.runIfEnterPrev=function(lt){ke.runIfEnter(lt,ke.prev)},ke.runIfEnterNext=function(lt){ke.runIfEnter(lt,ke.next)},ke.runIfEnterJumpPrev=function(lt){ke.runIfEnter(lt,ke.jumpPrev)},ke.runIfEnterJumpNext=function(lt){ke.runIfEnter(lt,ke.jumpNext)},ke.handleGoTO=function(lt){(lt.keyCode===fe.ENTER||lt.type==="click")&&ke.handleChange(ke.state.currentInputValue)},ke.renderPrev=function(lt){var pt=ke.props,at=pt.prevIcon,st=pt.itemRender,ft=st(lt,"prev",ke.getItemIcon(at,"prev page")),vt=!ke.hasPrev();return(0,_e.isValidElement)(ft)?(0,_e.cloneElement)(ft,{disabled:vt}):ft},ke.renderNext=function(lt){var pt=ke.props,at=pt.nextIcon,st=pt.itemRender,ft=st(lt,"next",ke.getItemIcon(at,"next page")),vt=!ke.hasNext();return(0,_e.isValidElement)(ft)?(0,_e.cloneElement)(ft,{disabled:vt}):ft};var nt=ot.onChange!==Pe,mt="current"in ot;mt&&!nt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ct=ot.defaultCurrent;"current"in ot&&(ct=ot.current);var ht=ot.defaultPageSize;return"pageSize"in ot&&(ht=ot.pageSize),ct=Math.min(ct,Ee(ht,void 0,ot)),ke.state={current:ct,currentInputValue:ct,pageSize:ht},ke}return(0,x.Z)(Ke,[{key:"componentDidUpdate",value:function(ke,nt){var mt=this.props.prefixCls;if(nt.current!==this.state.current&&this.paginationNode.current){var ct=this.paginationNode.current.querySelector(".".concat(mt,"-item-").concat(nt.current));if(ct&&document.activeElement===ct){var ht;ct==null||(ht=ct.blur)===null||ht===void 0||ht.call(ct)}}}},{key:"getValidValue",value:function(ke){var nt=ke.target.value,mt=Ee(void 0,this.state,this.props),ct=this.state.currentInputValue,ht;return nt===""?ht=nt:Number.isNaN(Number(nt))?ht=ct:nt>=mt?ht=mt:ht=Number(nt),ht}},{key:"getShowSizeChanger",value:function(){var ke=this.props,nt=ke.showSizeChanger,mt=ke.total,ct=ke.totalBoundaryShowSizeChanger;return typeof nt!="undefined"?nt:mt>ct}},{key:"render",value:function(){var ke=this.props,nt=ke.prefixCls,mt=ke.className,ct=ke.style,ht=ke.disabled,lt=ke.hideOnSinglePage,pt=ke.total,at=ke.locale,st=ke.showQuickJumper,ft=ke.showLessItems,vt=ke.showTitle,St=ke.showTotal,Et=ke.simple,Mt=ke.itemRender,kt=ke.showPrevNextJumpers,Jt=ke.jumpPrevIcon,dn=ke.jumpNextIcon,Qt=ke.selectComponentClass,on=ke.selectPrefixCls,wn=ke.pageSizeOptions,vn=this.state,fn=vn.current,Bn=vn.pageSize,Un=vn.currentInputValue;if(lt===!0&&pt<=Bn)return null;var Nn=Ee(void 0,this.state,this.props),_n=[],kn=null,Fn=null,Tr=null,Nr=null,rr=null,Lr=st&&st.goButton,cr=ft?1:2,br=fn-1>0?fn-1:0,Ot=fn+1<Nn?fn+1:Nn,At=(0,te.Z)(this.props,{aria:!0,data:!0}),xt=St&&_e.createElement("li",{className:"".concat(nt,"-total-text")},St(pt,[pt===0?0:(fn-1)*Bn+1,fn*Bn>pt?pt:fn*Bn]));if(Et){Lr&&(typeof Lr=="boolean"?rr=_e.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},at.jump_to_confirm):rr=_e.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Lr),rr=_e.createElement("li",{title:vt?"".concat(at.jump_to).concat(fn,"/").concat(Nn):null,className:"".concat(nt,"-simple-pager")},rr));var en=this.renderPrev(br);return _e.createElement("ul",(0,be.Z)({className:re()(nt,"".concat(nt,"-simple"),(0,ee.Z)({},"".concat(nt,"-disabled"),ht),mt),style:ct,ref:this.paginationNode},At),xt,en?_e.createElement("li",{title:vt?at.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:re()("".concat(nt,"-prev"),(0,ee.Z)({},"".concat(nt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},en):null,_e.createElement("li",{title:vt?"".concat(fn,"/").concat(Nn):null,className:"".concat(nt,"-simple-pager")},_e.createElement("input",{type:"text",value:Un,disabled:ht,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),_e.createElement("span",{className:"".concat(nt,"-slash")},"/"),Nn),_e.createElement("li",{title:vt?at.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:re()("".concat(nt,"-next"),(0,ee.Z)({},"".concat(nt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ot)),rr)}if(Nn<=3+cr*2){var Rn={locale:at,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:vt,itemRender:Mt};Nn||_n.push(_e.createElement(ye,(0,be.Z)({},Rn,{key:"noPager",page:1,className:"".concat(nt,"-item-disabled")})));for(var pn=1;pn<=Nn;pn+=1){var Fr=fn===pn;_n.push(_e.createElement(ye,(0,be.Z)({},Rn,{key:pn,page:pn,active:Fr})))}}else{var ur=ft?at.prev_3:at.prev_5,Gt=ft?at.next_3:at.next_5,Tt=Mt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Jt,"prev page")),tn=Mt(this.getJumpNextPage(),"jump-next",this.getItemIcon(dn,"next page"));kt&&(kn=Tt?_e.createElement("li",{title:vt?ur:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:re()("".concat(nt,"-jump-prev"),(0,ee.Z)({},"".concat(nt,"-jump-prev-custom-icon"),!!Jt))},Tt):null,Fn=tn?_e.createElement("li",{title:vt?Gt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:re()("".concat(nt,"-jump-next"),(0,ee.Z)({},"".concat(nt,"-jump-next-custom-icon"),!!dn))},tn):null),Nr=_e.createElement(ye,{locale:at,last:!0,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Nn,page:Nn,active:!1,showTitle:vt,itemRender:Mt}),Tr=_e.createElement(ye,{locale:at,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:vt,itemRender:Mt});var Bt=Math.max(1,fn-cr),un=Math.min(fn+cr,Nn);fn-1<=cr&&(un=1+cr*2),Nn-fn<=cr&&(Bt=Nn-cr*2);for(var Ut=Bt;Ut<=un;Ut+=1){var An=fn===Ut;_n.push(_e.createElement(ye,{locale:at,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ut,page:Ut,active:An,showTitle:vt,itemRender:Mt}))}fn-1>=cr*2&&fn!==3&&(_n[0]=(0,_e.cloneElement)(_n[0],{className:"".concat(nt,"-item-after-jump-prev")}),_n.unshift(kn)),Nn-fn>=cr*2&&fn!==Nn-2&&(_n[_n.length-1]=(0,_e.cloneElement)(_n[_n.length-1],{className:"".concat(nt,"-item-before-jump-next")}),_n.push(Fn)),Bt!==1&&_n.unshift(Tr),un!==Nn&&_n.push(Nr)}var Pn=!this.hasPrev()||!Nn,bt=!this.hasNext()||!Nn,It=this.renderPrev(br),Rt=this.renderNext(Ot);return _e.createElement("ul",(0,be.Z)({className:re()(nt,mt,(0,ee.Z)({},"".concat(nt,"-disabled"),ht)),style:ct,ref:this.paginationNode},At),xt,It?_e.createElement("li",{title:vt?at.prev_page:null,onClick:this.prev,tabIndex:Pn?null:0,onKeyPress:this.runIfEnterPrev,className:re()("".concat(nt,"-prev"),(0,ee.Z)({},"".concat(nt,"-disabled"),Pn)),"aria-disabled":Pn},It):null,_n,Rt?_e.createElement("li",{title:vt?at.next_page:null,onClick:this.next,tabIndex:bt?null:0,onKeyPress:this.runIfEnterNext,className:re()("".concat(nt,"-next"),(0,ee.Z)({},"".concat(nt,"-disabled"),bt)),"aria-disabled":bt},Rt):null,_e.createElement(ge,{disabled:ht,locale:at,rootPrefixCls:nt,selectComponentClass:Qt,selectPrefixCls:on,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:fn,pageSize:Bn,pageSizeOptions:wn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Lr}))}}],[{key:"getDerivedStateFromProps",value:function(ke,nt){var mt={};if("current"in ke&&(mt.current=ke.current,ke.current!==nt.current&&(mt.currentInputValue=mt.current)),"pageSize"in ke&&ke.pageSize!==nt.pageSize){var ct=nt.current,ht=Ee(ke.pageSize,nt,ke);ct=ct>ht?ht:ct,"current"in ke||(mt.current=ct,mt.currentInputValue=ct),mt.pageSize=ke.pageSize}return mt}}]),Ke}(_e.Component);Ae.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Pe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Pe,locale:pe.Z,style:{},itemRender:De,totalBoundaryShowSizeChanger:50};var Ce=Ae,Ie=ve(22075),Me=ve(36355),Ge=ve(19716),Be=ve(8628),Qe=ve(9763),qe=ve(57809);const Xe=xe=>_e.createElement(qe.default,Object.assign({},xe,{showSearch:!0,size:"small"})),Ve=xe=>_e.createElement(qe.default,Object.assign({},xe,{showSearch:!0,size:"middle"}));Xe.Option=qe.default.Option,Ve.Option=qe.default.Option;var We=ve(9937),ze=ve(17313),He=ve(83116),tt=ve(37613);const Je=xe=>{const{componentCls:Re}=xe;return{[`${Re}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Re}-item-link`]:{color:xe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Re}-item-link`]:{color:xe.colorTextDisabled,cursor:"not-allowed"}}},[`&${Re}-disabled`]:{cursor:"not-allowed",[`${Re}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:xe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:xe.colorBorder,backgroundColor:xe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:xe.itemActiveBgDisabled},a:{color:xe.itemActiveColorDisabled}}},[`${Re}-item-link`]:{color:xe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Re}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Re}-simple-pager`]:{color:xe.colorTextDisabled},[`${Re}-jump-prev, ${Re}-jump-next`]:{[`${Re}-item-link-icon`]:{opacity:0},[`${Re}-item-ellipsis`]:{opacity:1}}},[`&${Re}-simple`]:{[`${Re}-prev, ${Re}-next`]:{[`&${Re}-disabled ${Re}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ut=xe=>{const{componentCls:Re}=xe;return{[`&${Re}-mini ${Re}-total-text, &${Re}-mini ${Re}-simple-pager`]:{height:xe.itemSizeSM,lineHeight:`${xe.itemSizeSM}px`},[`&${Re}-mini ${Re}-item`]:{minWidth:xe.itemSizeSM,height:xe.itemSizeSM,margin:0,lineHeight:`${xe.itemSizeSM-2}px`},[`&${Re}-mini:not(${Re}-disabled) ${Re}-item:not(${Re}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:xe.colorBgTextHover},"&:active":{backgroundColor:xe.colorBgTextActive}},[`&${Re}-mini ${Re}-prev, &${Re}-mini ${Re}-next`]:{minWidth:xe.itemSizeSM,height:xe.itemSizeSM,margin:0,lineHeight:`${xe.itemSizeSM}px`},[`&${Re}-mini:not(${Re}-disabled)`]:{[`${Re}-prev, ${Re}-next`]:{[`&:hover ${Re}-item-link`]:{backgroundColor:xe.colorBgTextHover},[`&:active ${Re}-item-link`]:{backgroundColor:xe.colorBgTextActive},[`&${Re}-disabled:hover ${Re}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${Re}-mini ${Re}-prev ${Re}-item-link,
|
|
|
&${Re}-mini ${Re}-next ${Re}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:xe.itemSizeSM,lineHeight:`${xe.itemSizeSM}px`}},[`&${Re}-mini ${Re}-jump-prev, &${Re}-mini ${Re}-jump-next`]:{height:xe.itemSizeSM,marginInlineEnd:0,lineHeight:`${xe.itemSizeSM}px`},[`&${Re}-mini ${Re}-options`]:{marginInlineStart:xe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:xe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:xe.itemSizeSM,lineHeight:`${xe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,We.x0)(xe)),{width:xe.paginationMiniQuickJumperInputWidth,height:xe.controlHeightSM})}}}},Ye=xe=>{const{componentCls:Re}=xe;return{[`
|
|
|
&${Re}-simple ${Re}-prev,
|
|
|
&${Re}-simple ${Re}-next
|
|
|
`]:{height:xe.itemSizeSM,lineHeight:`${xe.itemSizeSM}px`,verticalAlign:"top",[`${Re}-item-link`]:{height:xe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:xe.colorBgTextHover},"&:active":{backgroundColor:xe.colorBgTextActive},"&::after":{height:xe.itemSizeSM,lineHeight:`${xe.itemSizeSM}px`}}},[`&${Re}-simple ${Re}-simple-pager`]:{display:"inline-block",height:xe.itemSizeSM,marginInlineEnd:xe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:xe.marginXS,padding:`0 ${xe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:xe.itemInputBg,border:`${xe.lineWidth}px ${xe.lineType} ${xe.colorBorder}`,borderRadius:xe.borderRadius,outline:"none",transition:`border-color ${xe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:xe.colorPrimary},"&:focus":{borderColor:xe.colorPrimaryHover,boxShadow:`${xe.inputOutlineOffset}px 0 ${xe.controlOutlineWidth}px ${xe.controlOutline}`},"&[disabled]":{color:xe.colorTextDisabled,backgroundColor:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,cursor:"not-allowed"}}}}},Ue=xe=>{const{componentCls:Re}=xe;return{[`${Re}-jump-prev, ${Re}-jump-next`]:{outline:0,[`${Re}-item-container`]:{position:"relative",[`${Re}-item-link-icon`]:{color:xe.colorPrimary,fontSize:xe.fontSizeSM,opacity:0,transition:`all ${xe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Re}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:xe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:xe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:xe.paginationEllipsisTextIndent,opacity:1,transition:`all ${xe.motionDurationMid}`}},"&:hover":{[`${Re}-item-link-icon`]:{opacity:1},[`${Re}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${Re}-prev,
|
|
|
${Re}-jump-prev,
|
|
|
${Re}-jump-next
|
|
|
`]:{marginInlineEnd:xe.marginXS},[`
|
|
|
${Re}-prev,
|
|
|
${Re}-next,
|
|
|
${Re}-jump-prev,
|
|
|
${Re}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:xe.itemSize,height:xe.itemSize,color:xe.colorText,fontFamily:xe.fontFamily,lineHeight:`${xe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:xe.borderRadius,cursor:"pointer",transition:`all ${xe.motionDurationMid}`},[`${Re}-prev, ${Re}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:xe.colorText,cursor:"pointer",userSelect:"none"},[`${Re}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:xe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${xe.lineWidth}px ${xe.lineType} transparent`,borderRadius:xe.borderRadius,outline:"none",transition:`all ${xe.motionDurationMid}`},[`&:hover ${Re}-item-link`]:{backgroundColor:xe.colorBgTextHover},[`&:active ${Re}-item-link`]:{backgroundColor:xe.colorBgTextActive},[`&${Re}-disabled:hover`]:{[`${Re}-item-link`]:{backgroundColor:"transparent"}}},[`${Re}-slash`]:{marginInlineEnd:xe.paginationSlashMarginInlineEnd,marginInlineStart:xe.paginationSlashMarginInlineStart},[`${Re}-options`]:{display:"inline-block",marginInlineStart:xe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:xe.controlHeight,marginInlineStart:xe.marginXS,lineHeight:`${xe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,We.ik)(xe)),{width:xe.controlHeightLG*1.25,height:xe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:xe.marginXS,marginInlineEnd:xe.marginXS})}}}},je=xe=>{const{componentCls:Re}=xe;return{[`${Re}-item`]:{display:"inline-block",minWidth:xe.itemSize,height:xe.itemSize,marginInlineEnd:xe.marginXS,fontFamily:xe.fontFamily,lineHeight:`${xe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${xe.lineWidth}px ${xe.lineType} transparent`,borderRadius:xe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${xe.paginationItemPaddingInline}px`,color:xe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Re}-item-active)`]:{"&:hover":{transition:`all ${xe.motionDurationMid}`,backgroundColor:xe.colorBgTextHover},"&:active":{backgroundColor:xe.colorBgTextActive}},"&-active":{fontWeight:xe.fontWeightStrong,backgroundColor:xe.itemActiveBg,borderColor:xe.colorPrimary,a:{color:xe.colorPrimary},"&:hover":{borderColor:xe.colorPrimaryHover},"&:hover a":{color:xe.colorPrimaryHover}}}}},$e=xe=>{const{componentCls:Re}=xe;return{[Re]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ze.Wf)(xe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Re}-total-text`]:{display:"inline-block",height:xe.itemSize,marginInlineEnd:xe.marginXS,lineHeight:`${xe.itemSize-2}px`,verticalAlign:"middle"}}),je(xe)),Ue(xe)),Ye(xe)),ut(xe)),Je(xe)),{[`@media only screen and (max-width: ${xe.screenLG}px)`]:{[`${Re}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${xe.screenSM}px)`]:{[`${Re}-options`]:{display:"none"}}}),[`&${xe.componentCls}-rtl`]:{direction:"rtl"}}},Le=xe=>{const{componentCls:Re}=xe;return{[`${Re}${Re}-disabled:not(${Re}-mini)`]:{"&, &:hover":{[`${Re}-item-link`]:{borderColor:xe.colorBorder}},"&:focus-visible":{[`${Re}-item-link`]:{borderColor:xe.colorBorder}},[`${Re}-item, ${Re}-item-link`]:{backgroundColor:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,[`&:hover:not(${Re}-item-active)`]:{backgroundColor:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,a:{color:xe.colorTextDisabled}},[`&${Re}-item-active`]:{backgroundColor:xe.itemActiveBgDisabled}},[`${Re}-prev, ${Re}-next`]:{"&:hover button":{backgroundColor:xe.colorBgContainerDisabled,borderColor:xe.colorBorder,color:xe.colorTextDisabled},[`${Re}-item-link`]:{backgroundColor:xe.colorBgContainerDisabled,borderColor:xe.colorBorder}}},[`${Re}:not(${Re}-mini)`]:{[`${Re}-prev, ${Re}-next`]:{"&:hover button":{borderColor:xe.colorPrimaryHover,backgroundColor:xe.itemBg},[`${Re}-item-link`]:{backgroundColor:xe.itemLinkBg,borderColor:xe.colorBorder},[`&:hover ${Re}-item-link`]:{borderColor:xe.colorPrimary,backgroundColor:xe.itemBg,color:xe.colorPrimary},[`&${Re}-disabled`]:{[`${Re}-item-link`]:{borderColor:xe.colorBorder,color:xe.colorTextDisabled}}},[`${Re}-item`]:{backgroundColor:xe.itemBg,border:`${xe.lineWidth}px ${xe.lineType} ${xe.colorBorder}`,[`&:hover:not(${Re}-item-active)`]:{borderColor:xe.colorPrimary,backgroundColor:xe.itemBg,a:{color:xe.colorPrimary}},"&-active":{borderColor:xe.colorPrimary}}}}},Ne=xe=>{const{componentCls:Re}=xe;return{[`${Re}:not(${Re}-disabled)`]:{[`${Re}-item`]:Object.assign({},(0,ze.Qy)(xe)),[`${Re}-jump-prev, ${Re}-jump-next`]:{"&:focus-visible":Object.assign({[`${Re}-item-link-icon`]:{opacity:1},[`${Re}-item-ellipsis`]:{opacity:0}},(0,ze.oN)(xe))},[`${Re}-prev, ${Re}-next`]:{[`&:focus-visible ${Re}-item-link`]:Object.assign({},(0,ze.oN)(xe))}}}};var et=(0,He.Z)("Pagination",xe=>{const Re=(0,tt.TS)(xe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:xe.marginXXS/2,paginationMiniQuickJumperInputWidth:xe.controlHeightLG*1.1,paginationItemPaddingInline:xe.marginXXS*1.5,paginationEllipsisLetterSpacing:xe.marginXXS/2,paginationSlashMarginInlineStart:xe.marginXXS,paginationSlashMarginInlineEnd:xe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,We.e5)(xe),(0,We.TM)(xe));return[$e(Re),Ne(Re),xe.wireframe&&Le(Re)]},xe=>({itemBg:xe.colorBgContainer,itemSize:xe.controlHeight,itemSizeSM:xe.controlHeightSM,itemActiveBg:xe.colorBgContainer,itemLinkBg:xe.colorBgContainer,itemActiveColorDisabled:xe.colorTextDisabled,itemActiveBgDisabled:xe.controlItemBgActiveDisabled,itemInputBg:xe.colorBgContainer,miniOptionsSizeChangerTop:0})),Ze=function(xe,Re){var Ke={};for(var ot in xe)Object.prototype.hasOwnProperty.call(xe,ot)&&Re.indexOf(ot)<0&&(Ke[ot]=xe[ot]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,ot=Object.getOwnPropertySymbols(xe);ke<ot.length;ke++)Re.indexOf(ot[ke])<0&&Object.prototype.propertyIsEnumerable.call(xe,ot[ke])&&(Ke[ot[ke]]=xe[ot[ke]]);return Ke},Oe=xe=>{const{prefixCls:Re,selectPrefixCls:Ke,className:ot,rootClassName:ke,style:nt,size:mt,locale:ct,selectComponentClass:ht,responsive:lt,showSizeChanger:pt}=xe,at=Ze(xe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:st}=(0,Be.Z)(lt),{getPrefixCls:ft,direction:vt,pagination:St={}}=_e.useContext(Me.E_),Et=ft("pagination",Re),[Mt,kt]=et(Et),Jt=pt!=null?pt:St.showSizeChanger,dn=_e.useMemo(()=>{const Nn=_e.createElement("span",{className:`${Et}-item-ellipsis`},"\u2022\u2022\u2022"),_n=_e.createElement("button",{className:`${Et}-item-link`,type:"button",tabIndex:-1},vt==="rtl"?_e.createElement(ae.Z,null):_e.createElement(ue.Z,null)),kn=_e.createElement("button",{className:`${Et}-item-link`,type:"button",tabIndex:-1},vt==="rtl"?_e.createElement(ue.Z,null):_e.createElement(ae.Z,null)),Fn=_e.createElement("a",{className:`${Et}-item-link`},_e.createElement("div",{className:`${Et}-item-container`},vt==="rtl"?_e.createElement(ce.Z,{className:`${Et}-item-link-icon`}):_e.createElement(ie,{className:`${Et}-item-link-icon`}),Nn)),Tr=_e.createElement("a",{className:`${Et}-item-link`},_e.createElement("div",{className:`${Et}-item-container`},vt==="rtl"?_e.createElement(ie,{className:`${Et}-item-link-icon`}):_e.createElement(ce.Z,{className:`${Et}-item-link-icon`}),Nn));return{prevIcon:_n,nextIcon:kn,jumpPrevIcon:Fn,jumpNextIcon:Tr}},[vt,Et]),[Qt]=(0,Qe.Z)("Pagination",Ie.Z),on=Object.assign(Object.assign({},Qt),ct),wn=(0,Ge.Z)(mt),vn=wn==="small"||!!(st&&!wn&<),fn=ft("select",Ke),Bn=re()({[`${Et}-mini`]:vn,[`${Et}-rtl`]:vt==="rtl"},St==null?void 0:St.className,ot,ke,kt),Un=Object.assign(Object.assign({},St==null?void 0:St.style),nt);return Mt(_e.createElement(Ce,Object.assign({},dn,at,{style:Un,prefixCls:Et,selectPrefixCls:fn,className:Bn,selectComponentClass:ht||(vn?Xe:Ve),locale:on,showSizeChanger:Jt})))},Te=Oe},39722:function(Ct,dt,ve){"use strict";ve.d(dt,{t5:function(){return ue}});var be=ve(92310),_e=ve.n(be),E=ve(55477),he=ve(59301),de=ve(36355),se=ve(77578),ne=ve(17356),ie=function(oe,re){var ee={};for(var a in oe)Object.prototype.hasOwnProperty.call(oe,a)&&re.indexOf(a)<0&&(ee[a]=oe[a]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(oe);y<a.length;y++)re.indexOf(a[y])<0&&Object.prototype.propertyIsEnumerable.call(oe,a[y])&&(ee[a[y]]=oe[a[y]]);return ee};const ce=(oe,re,ee)=>{if(!(!re&&!ee))return he.createElement(he.Fragment,null,re&&he.createElement("div",{className:`${oe}-title`},(0,se.Z)(re)),he.createElement("div",{className:`${oe}-inner-content`},(0,se.Z)(ee)))},ue=oe=>{const{hashId:re,prefixCls:ee,className:a,style:y,placement:x="top",title:b,content:z,children:te}=oe;return he.createElement("div",{className:_e()(re,ee,`${ee}-pure`,`${ee}-placement-${x}`,a),style:y},he.createElement("div",{className:`${ee}-arrow`}),he.createElement(E.G,Object.assign({},oe,{className:re,prefixCls:ee}),te||ce(ee,b,z)))},ae=oe=>{const{prefixCls:re}=oe,ee=ie(oe,["prefixCls"]),{getPrefixCls:a}=he.useContext(de.E_),y=a("popover",re),[x,b]=(0,ne.Z)(y);return x(he.createElement(ue,Object.assign({},ee,{prefixCls:y,hashId:b})))};dt.ZP=ae},17356:function(Ct,dt,ve){"use strict";var be=ve(17313),_e=ve(29878),E=ve(19447),he=ve(33166),de=ve(83116),se=ve(37613);const ne=ue=>{const{componentCls:ae,popoverColor:oe,minWidth:re,fontWeightStrong:ee,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:te,colorBgElevated:le,popoverBg:fe}=ue;return[{[ae]:Object.assign(Object.assign({},(0,be.Wf)(ue)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":le,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ae}-content`]:{position:"relative"},[`${ae}-inner`]:{backgroundColor:fe,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ae}-title`]:{minWidth:re,marginBottom:te,color:x,fontWeight:ee},[`${ae}-inner-content`]:{color:oe}})},(0,E.ZP)(ue,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ae}-pure`]:{position:"relative",maxWidth:"none",margin:ue.sizePopupArrow,display:"inline-block",[`${ae}-content`]:{display:"inline-block"}}}]},ie=ue=>{const{componentCls:ae}=ue;return{[ae]:he.i.map(oe=>{const re=ue[`${oe}6`];return{[`&${ae}-${oe}`]:{"--antd-arrow-background-color":re,[`${ae}-inner`]:{backgroundColor:re},[`${ae}-arrow`]:{background:"transparent"}}}})}},ce=ue=>{const{componentCls:ae,lineWidth:oe,lineType:re,colorSplit:ee,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:z}=ue,te=y-Math.round(x*b),le=te/2,fe=te/2-oe,pe=z;return{[ae]:{[`${ae}-inner`]:{padding:0},[`${ae}-title`]:{margin:0,padding:`${le}px ${pe}px ${fe}px`,borderBottom:`${oe}px ${re} ${ee}`},[`${ae}-inner-content`]:{padding:`${a}px ${pe}px`}}}};dt.Z=(0,de.Z)("Popover",ue=>{const{colorBgElevated:ae,colorText:oe,wireframe:re}=ue,ee=(0,se.TS)(ue,{popoverPadding:12,popoverBg:ae,popoverColor:oe});return[ne(ee),ie(ee),re&&ce(ee),(0,_e._y)(ee,"zoom-big")]},ue=>({width:177,minWidth:177,zIndexPopup:ue.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return pt}});var be=ve(59301),_e=ve(29679),E=ve(40001),he=ve(19248),de=ve(99267),se=ve(92310),ne=ve.n(se),ie=ve(2738),ce=ve(36355),ue=ve(5016),ae=ve(20049),oe=ve(5883),re={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ee=function(){var st=(0,be.useRef)([]),ft=(0,be.useRef)(null);return(0,be.useEffect)(function(){var vt=Date.now(),St=!1;st.current.forEach(function(Et){if(Et){St=!0;var Mt=Et.style;Mt.transitionDuration=".3s, .3s, .3s, .06s",ft.current&&vt-ft.current<100&&(Mt.transitionDuration="0s, 0s")}}),St&&(ft.current=Date.now())}),st.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(st){var ft=(0,ae.Z)((0,ae.Z)({},re),st),vt=ft.className,St=ft.percent,Et=ft.prefixCls,Mt=ft.strokeColor,kt=ft.strokeLinecap,Jt=ft.strokeWidth,dn=ft.style,Qt=ft.trailColor,on=ft.trailWidth,wn=ft.transition,vn=(0,oe.Z)(ft,a);delete vn.gapPosition;var fn=Array.isArray(St)?St:[St],Bn=Array.isArray(Mt)?Mt:[Mt],Un=ee(),Nn=Jt/2,_n=100-Jt/2,kn="M ".concat(kt==="round"?Nn:0,",").concat(Nn,`
|
|
|
L `).concat(kt==="round"?_n:100,",").concat(Nn),Fn="0 0 100 ".concat(Jt),Tr=0;return be.createElement("svg",(0,ue.Z)({className:ne()("".concat(Et,"-line"),vt),viewBox:Fn,preserveAspectRatio:"none",style:dn},vn),be.createElement("path",{className:"".concat(Et,"-line-trail"),d:kn,strokeLinecap:kt,stroke:Qt,strokeWidth:on||Jt,fillOpacity:"0"}),fn.map(function(Nr,rr){var Lr=1;switch(kt){case"round":Lr=1-Jt/100;break;case"square":Lr=1-Jt/2/100;break;default:Lr=1;break}var cr={strokeDasharray:"".concat(Nr*Lr,"px, 100px"),strokeDashoffset:"-".concat(Tr,"px"),transition:wn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},br=Bn[rr]||Bn[Bn.length-1];return Tr+=Nr,be.createElement("path",{key:rr,className:"".concat(Et,"-line-path"),d:kn,strokeLinecap:kt,stroke:br,strokeWidth:Jt,fillOpacity:"0",ref:function(At){Un[rr]=At},style:cr})}))},x=y,b=ve(10928),z=ve(52456),te=ve(47273),le=0,fe=(0,te.Z)();function pe(){var at;return fe?(at=le,le+=1):at="TEST_OR_SSR",at}var me=function(at){var st=be.useState(),ft=(0,z.Z)(st,2),vt=ft[0],St=ft[1];return be.useEffect(function(){St("rc_progress_".concat(pe()))},[]),at||vt},ge=function(st){var ft=st.bg,vt=st.children;return be.createElement("div",{style:{width:"100%",height:"100%",background:ft}},vt)};function Se(at,st){return Object.keys(at).map(function(ft){var vt=parseFloat(ft),St="".concat(Math.floor(vt*st),"%");return"".concat(at[ft]," ").concat(St)})}var ye=be.forwardRef(function(at,st){var ft=at.prefixCls,vt=at.color,St=at.gradientId,Et=at.radius,Mt=at.style,kt=at.ptg,Jt=at.strokeLinecap,dn=at.strokeWidth,Qt=at.size,on=at.gapDegree,wn=vt&&(0,b.Z)(vt)==="object",vn=wn?"#FFF":void 0,fn=Qt/2,Bn=be.createElement("circle",{className:"".concat(ft,"-circle-path"),r:Et,cx:fn,cy:fn,stroke:vn,strokeLinecap:Jt,strokeWidth:dn,opacity:kt===0?0:1,style:Mt,ref:st});if(!wn)return Bn;var Un="".concat(St,"-conic"),Nn=on?"".concat(180+on/2,"deg"):"0deg",_n=Se(vt,(360-on)/360),kn=Se(vt,1),Fn="conic-gradient(from ".concat(Nn,", ").concat(_n.join(", "),")"),Tr="linear-gradient(to ".concat(on?"bottom":"top",", ").concat(kn.join(", "),")");return be.createElement(be.Fragment,null,be.createElement("mask",{id:Un},Bn),be.createElement("foreignObject",{x:0,y:0,width:Qt,height:Qt,mask:"url(#".concat(Un,")")},be.createElement(ge,{bg:Tr},be.createElement(ge,{bg:Fn}))))}),Pe=ye,we=100,De=function(st,ft,vt,St,Et,Mt,kt,Jt,dn,Qt){var on=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,wn=vt/100*360*((360-Mt)/360),vn=Mt===0?0:{bottom:0,top:180,left:90,right:-90}[kt],fn=(100-St)/100*ft;dn==="round"&&St!==100&&(fn+=Qt/2,fn>=ft&&(fn=ft-.01));var Bn=we/2;return{stroke:typeof Jt=="string"?Jt:void 0,strokeDasharray:"".concat(ft,"px ").concat(st),strokeDashoffset:fn+on,transform:"rotate(".concat(Et+wn+vn,"deg)"),transformOrigin:"".concat(Bn,"px ").concat(Bn,"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}},Ee=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ae(at){var st=at!=null?at:[];return Array.isArray(st)?st:[st]}var Ce=function(st){var ft=(0,ae.Z)((0,ae.Z)({},re),st),vt=ft.id,St=ft.prefixCls,Et=ft.steps,Mt=ft.strokeWidth,kt=ft.trailWidth,Jt=ft.gapDegree,dn=Jt===void 0?0:Jt,Qt=ft.gapPosition,on=ft.trailColor,wn=ft.strokeLinecap,vn=ft.style,fn=ft.className,Bn=ft.strokeColor,Un=ft.percent,Nn=(0,oe.Z)(ft,Ee),_n=we/2,kn=me(vt),Fn="".concat(kn,"-gradient"),Tr=_n-Mt/2,Nr=Math.PI*2*Tr,rr=dn>0?90+dn/2:-90,Lr=Nr*((360-dn)/360),cr=(0,b.Z)(Et)==="object"?Et:{count:Et,space:2},br=cr.count,Ot=cr.space,At=Ae(Un),xt=Ae(Bn),en=xt.find(function(tn){return tn&&(0,b.Z)(tn)==="object"}),Rn=en&&(0,b.Z)(en)==="object",pn=Rn?"butt":wn,Fr=De(Nr,Lr,0,100,rr,dn,Qt,on,pn,Mt),ur=ee(),Gt=function(){var Bt=0;return At.map(function(un,Ut){var An=xt[Ut]||xt[xt.length-1],Pn=De(Nr,Lr,Bt,un,rr,dn,Qt,An,pn,Mt);return Bt+=un,be.createElement(Pe,{key:Ut,color:An,ptg:un,radius:Tr,prefixCls:St,gradientId:Fn,style:Pn,strokeLinecap:pn,strokeWidth:Mt,gapDegree:dn,ref:function(It){ur[Ut]=It},size:we})}).reverse()},Tt=function(){var Bt=Math.round(br*(At[0]/100)),un=100/br,Ut=0;return new Array(br).fill(null).map(function(An,Pn){var bt=Pn<=Bt-1?xt[0]:on,It=bt&&(0,b.Z)(bt)==="object"?"url(#".concat(Fn,")"):void 0,Rt=De(Nr,Lr,Ut,un,rr,dn,Qt,bt,"butt",Mt,Ot);return Ut+=(Lr-Rt.strokeDashoffset+Ot)*100/Lr,be.createElement("circle",{key:Pn,className:"".concat(St,"-circle-path"),r:Tr,cx:_n,cy:_n,stroke:It,strokeWidth:Mt,opacity:1,style:Rt,ref:function(Yt){ur[Pn]=Yt}})})};return be.createElement("svg",(0,ue.Z)({className:ne()("".concat(St,"-circle"),fn),viewBox:"0 0 ".concat(we," ").concat(we),style:vn,id:vt,role:"presentation"},Nn),!br&&be.createElement("circle",{className:"".concat(St,"-circle-trail"),r:Tr,cx:_n,cy:_n,stroke:on,strokeLinecap:pn,strokeWidth:kt||Mt,style:Fr}),br?Tt():Gt())},Ie=Ce,Me={Line:x,Circle:Ie},Ge=ve(6848),Be=ve(30071);function Qe(at){return!at||at<0?0:at>100?100:at}function qe(at){let{success:st,successPercent:ft}=at,vt=ft;return st&&"progress"in st&&(vt=st.progress),st&&"percent"in st&&(vt=st.percent),vt}const Xe=at=>{let{percent:st,success:ft,successPercent:vt}=at;const St=Qe(qe({success:ft,successPercent:vt}));return[St,Qe(Qe(st)-St)]},Ve=at=>{let{success:st={},strokeColor:ft}=at;const{strokeColor:vt}=st;return[vt||Be.presetPrimaryColors.green,ft||null]},We=(at,st,ft)=>{var vt,St,Et,Mt;let kt=-1,Jt=-1;if(st==="step"){const dn=ft.steps,Qt=ft.strokeWidth;typeof at=="string"||typeof at=="undefined"?(kt=at==="small"?2:14,Jt=Qt!=null?Qt:8):typeof at=="number"?[kt,Jt]=[at,at]:[kt=14,Jt=8]=at,kt*=dn}else if(st==="line"){const dn=ft==null?void 0:ft.strokeWidth;typeof at=="string"||typeof at=="undefined"?Jt=dn||(at==="small"?6:8):typeof at=="number"?[kt,Jt]=[at,at]:[kt=-1,Jt=8]=at}else(st==="circle"||st==="dashboard")&&(typeof at=="string"||typeof at=="undefined"?[kt,Jt]=at==="small"?[60,60]:[120,120]:typeof at=="number"?[kt,Jt]=[at,at]:(kt=(St=(vt=at[0])!==null&&vt!==void 0?vt:at[1])!==null&&St!==void 0?St:120,Jt=(Mt=(Et=at[0])!==null&&Et!==void 0?Et:at[1])!==null&&Mt!==void 0?Mt:120));return[kt,Jt]},ze=3,He=at=>ze/at*100;var Je=at=>{const{prefixCls:st,trailColor:ft=null,strokeLinecap:vt="round",gapPosition:St,gapDegree:Et,width:Mt=120,type:kt,children:Jt,success:dn,size:Qt=Mt}=at,[on,wn]=We(Qt,"circle");let{strokeWidth:vn}=at;vn===void 0&&(vn=Math.max(He(on),6));const fn={width:on,height:wn,fontSize:on*.15+6},Bn=be.useMemo(()=>{if(Et||Et===0)return Et;if(kt==="dashboard")return 75},[Et,kt]),Un=St||kt==="dashboard"&&"bottom"||void 0,Nn=Object.prototype.toString.call(at.strokeColor)==="[object Object]",_n=Ve({success:dn,strokeColor:at.strokeColor}),kn=ne()(`${st}-inner`,{[`${st}-circle-gradient`]:Nn}),Fn=be.createElement(Ie,{percent:Xe(at),strokeWidth:vn,trailWidth:vn,strokeColor:_n,strokeLinecap:vt,trailColor:ft,prefixCls:st,gapDegree:Bn,gapPosition:Un});return be.createElement("div",{className:kn,style:fn},on<=20?be.createElement(Ge.Z,{title:Jt},be.createElement("span",null,Fn)):be.createElement(be.Fragment,null,Fn,Jt))},ut=function(at,st){var ft={};for(var vt in at)Object.prototype.hasOwnProperty.call(at,vt)&&st.indexOf(vt)<0&&(ft[vt]=at[vt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,vt=Object.getOwnPropertySymbols(at);St<vt.length;St++)st.indexOf(vt[St])<0&&Object.prototype.propertyIsEnumerable.call(at,vt[St])&&(ft[vt[St]]=at[vt[St]]);return ft};const Ye=at=>{let st=[];return Object.keys(at).forEach(ft=>{const vt=parseFloat(ft.replace(/%/g,""));isNaN(vt)||st.push({key:vt,value:at[ft]})}),st=st.sort((ft,vt)=>ft.key-vt.key),st.map(ft=>{let{key:vt,value:St}=ft;return`${St} ${vt}%`}).join(", ")},Ue=(at,st)=>{const{from:ft=Be.presetPrimaryColors.blue,to:vt=Be.presetPrimaryColors.blue,direction:St=st==="rtl"?"to left":"to right"}=at,Et=ut(at,["from","to","direction"]);if(Object.keys(Et).length!==0){const Mt=Ye(Et);return{backgroundImage:`linear-gradient(${St}, ${Mt})`}}return{backgroundImage:`linear-gradient(${St}, ${ft}, ${vt})`}};var $e=at=>{const{prefixCls:st,direction:ft,percent:vt,size:St,strokeWidth:Et,strokeColor:Mt,strokeLinecap:kt="round",children:Jt,trailColor:dn=null,success:Qt}=at,on=Mt&&typeof Mt!="string"?Ue(Mt,ft):{backgroundColor:Mt},wn=kt==="square"||kt==="butt"?0:void 0,vn={backgroundColor:dn||void 0,borderRadius:wn},fn=St!=null?St:[-1,Et||(St==="small"?6:8)],[Bn,Un]=We(fn,"line",{strokeWidth:Et}),Nn=Object.assign({width:`${Qe(vt)}%`,height:Un,borderRadius:wn},on),_n=qe(at),kn={width:`${Qe(_n)}%`,height:Un,borderRadius:wn,backgroundColor:Qt==null?void 0:Qt.strokeColor},Fn={width:Bn<0?"100%":Bn,height:Un};return be.createElement(be.Fragment,null,be.createElement("div",{className:`${st}-outer`,style:Fn},be.createElement("div",{className:`${st}-inner`,style:vn},be.createElement("div",{className:`${st}-bg`,style:Nn}),_n!==void 0?be.createElement("div",{className:`${st}-success-bg`,style:kn}):null)),Jt)},Ne=at=>{const{size:st,steps:ft,percent:vt=0,strokeWidth:St=8,strokeColor:Et,trailColor:Mt=null,prefixCls:kt,children:Jt}=at,dn=Math.round(ft*(vt/100)),Qt=st==="small"?2:14,on=st!=null?st:[Qt,St],[wn,vn]=We(on,"step",{steps:ft,strokeWidth:St}),fn=wn/ft,Bn=new Array(ft);for(let Un=0;Un<ft;Un++){const Nn=Array.isArray(Et)?Et[Un]:Et;Bn[Un]=be.createElement("div",{key:Un,className:ne()(`${kt}-steps-item`,{[`${kt}-steps-item-active`]:Un<=dn-1}),style:{backgroundColor:Un<=dn-1?Nn:Mt,width:fn,height:vn}})}return be.createElement("div",{className:`${kt}-steps-outer`},Bn,Jt)},et=ve(93083),Ze=ve(17313),Fe=ve(83116),Oe=ve(37613);const Te=at=>{const st=at?"100%":"-100%";return new et.Keyframes(`antProgress${at?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${st}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${st}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},xe=at=>{const{componentCls:st,iconCls:ft}=at;return{[st]:Object.assign(Object.assign({},(0,Ze.Wf)(at)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:at.fontSize,marginInlineEnd:at.marginXS,marginBottom:at.marginXS},[`${st}-outer`]:{display:"inline-block",width:"100%"},[`&${st}-show-info`]:{[`${st}-outer`]:{marginInlineEnd:`calc(-2em - ${at.marginXS}px)`,paddingInlineEnd:`calc(2em + ${at.paddingXS}px)`}},[`${st}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:at.remainingColor,borderRadius:at.lineBorderRadius},[`${st}-inner:not(${st}-circle-gradient)`]:{[`${st}-circle-path`]:{stroke:at.defaultColor}},[`${st}-success-bg, ${st}-bg`]:{position:"relative",backgroundColor:at.defaultColor,borderRadius:at.lineBorderRadius,transition:`all ${at.motionDurationSlow} ${at.motionEaseInOutCirc}`},[`${st}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:at.colorSuccess},[`${st}-text`]:{display:"inline-block",width:"2em",marginInlineStart:at.marginXS,color:at.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ft]:{fontSize:at.fontSize}},[`&${st}-status-active`]:{[`${st}-bg::before`]:{position:"absolute",inset:0,backgroundColor:at.colorBgContainer,borderRadius:at.lineBorderRadius,opacity:0,animationName:Te(),animationDuration:at.progressActiveMotionDuration,animationTimingFunction:at.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${st}-rtl${st}-status-active`]:{[`${st}-bg::before`]:{animationName:Te(!0)}},[`&${st}-status-exception`]:{[`${st}-bg`]:{backgroundColor:at.colorError},[`${st}-text`]:{color:at.colorError}},[`&${st}-status-exception ${st}-inner:not(${st}-circle-gradient)`]:{[`${st}-circle-path`]:{stroke:at.colorError}},[`&${st}-status-success`]:{[`${st}-bg`]:{backgroundColor:at.colorSuccess},[`${st}-text`]:{color:at.colorSuccess}},[`&${st}-status-success ${st}-inner:not(${st}-circle-gradient)`]:{[`${st}-circle-path`]:{stroke:at.colorSuccess}}})}},Re=at=>{const{componentCls:st,iconCls:ft}=at;return{[st]:{[`${st}-circle-trail`]:{stroke:at.remainingColor},[`&${st}-circle ${st}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${st}-circle ${st}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:at.circleTextColor,fontSize:at.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ft]:{fontSize:`${at.fontSize/at.fontSizeSM}em`}},[`${st}-circle&-status-exception`]:{[`${st}-text`]:{color:at.colorError}},[`${st}-circle&-status-success`]:{[`${st}-text`]:{color:at.colorSuccess}}},[`${st}-inline-circle`]:{lineHeight:1,[`${st}-inner`]:{verticalAlign:"bottom"}}}},Ke=at=>{const{componentCls:st}=at;return{[st]:{[`${st}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:at.progressStepMinWidth,marginInlineEnd:at.progressStepMarginInlineEnd,backgroundColor:at.remainingColor,transition:`all ${at.motionDurationSlow}`,"&-active":{backgroundColor:at.defaultColor}}}}}},ot=at=>{const{componentCls:st,iconCls:ft}=at;return{[st]:{[`${st}-small&-line, ${st}-small&-line ${st}-text ${ft}`]:{fontSize:at.fontSizeSM}}}};var ke=(0,Fe.Z)("Progress",at=>{const st=at.marginXXS/2,ft=(0,Oe.TS)(at,{progressStepMarginInlineEnd:st,progressStepMinWidth:st,progressActiveMotionDuration:"2.4s"});return[xe(ft),Re(ft),Ke(ft),ot(ft)]},at=>({circleTextColor:at.colorText,defaultColor:at.colorInfo,remainingColor:at.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),nt=function(at,st){var ft={};for(var vt in at)Object.prototype.hasOwnProperty.call(at,vt)&&st.indexOf(vt)<0&&(ft[vt]=at[vt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,vt=Object.getOwnPropertySymbols(at);St<vt.length;St++)st.indexOf(vt[St])<0&&Object.prototype.propertyIsEnumerable.call(at,vt[St])&&(ft[vt[St]]=at[vt[St]]);return ft};const mt=null,ct=["normal","exception","active","success"];var lt=be.forwardRef((at,st)=>{const{prefixCls:ft,className:vt,rootClassName:St,steps:Et,strokeColor:Mt,percent:kt=0,size:Jt="default",showInfo:dn=!0,type:Qt="line",status:on,format:wn,style:vn}=at,fn=nt(at,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Bn=be.useMemo(()=>{var At,xt;const en=qe(at);return parseInt(en!==void 0?(At=en!=null?en:0)===null||At===void 0?void 0:At.toString():(xt=kt!=null?kt:0)===null||xt===void 0?void 0:xt.toString(),10)},[kt,at.success,at.successPercent]),Un=be.useMemo(()=>!ct.includes(on)&&Bn>=100?"success":on||"normal",[on,Bn]),{getPrefixCls:Nn,direction:_n,progress:kn}=be.useContext(ce.E_),Fn=Nn("progress",ft),[Tr,Nr]=ke(Fn),rr=be.useMemo(()=>{if(!dn)return null;const At=qe(at);let xt;const en=wn||(pn=>`${pn}%`),Rn=Qt==="line";return wn||Un!=="exception"&&Un!=="success"?xt=en(Qe(kt),Qe(At)):Un==="exception"?xt=Rn?be.createElement(he.Z,null):be.createElement(de.Z,null):Un==="success"&&(xt=Rn?be.createElement(_e.Z,null):be.createElement(E.Z,null)),be.createElement("span",{className:`${Fn}-text`,title:typeof xt=="string"?xt:void 0},xt)},[dn,kt,Bn,Un,Qt,Fn,wn]),Lr=Array.isArray(Mt)?Mt[0]:Mt,cr=typeof Mt=="string"||Array.isArray(Mt)?Mt:void 0;let br;Qt==="line"?br=Et?be.createElement(Ne,Object.assign({},at,{strokeColor:cr,prefixCls:Fn,steps:Et}),rr):be.createElement($e,Object.assign({},at,{strokeColor:Lr,prefixCls:Fn,direction:_n}),rr):(Qt==="circle"||Qt==="dashboard")&&(br=be.createElement(Je,Object.assign({},at,{strokeColor:Lr,prefixCls:Fn,progressStatus:Un}),rr));const Ot=ne()(Fn,`${Fn}-status-${Un}`,`${Fn}-${Qt==="dashboard"&&"circle"||Et&&"steps"||Qt}`,{[`${Fn}-inline-circle`]:Qt==="circle"&&We(Jt,"circle")[0]<=20,[`${Fn}-show-info`]:dn,[`${Fn}-${Jt}`]:typeof Jt=="string",[`${Fn}-rtl`]:_n==="rtl"},kn==null?void 0:kn.className,vt,St,Nr);return Tr(be.createElement("div",Object.assign({ref:st,style:Object.assign(Object.assign({},kn==null?void 0:kn.style),vn),className:Ot,role:"progressbar","aria-valuenow":Bn},(0,ie.Z)(fn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),br))}),pt=lt},61621:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return et}});var be=ve(92310),_e=ve.n(be),E=ve(59301),he=ve(36355),de=ve(2738),ne=Ze=>{const{prefixCls:Fe,className:Oe,style:Te,size:xe,shape:Re}=Ze,Ke=_e()({[`${Fe}-lg`]:xe==="large",[`${Fe}-sm`]:xe==="small"}),ot=_e()({[`${Fe}-circle`]:Re==="circle",[`${Fe}-square`]:Re==="square",[`${Fe}-round`]:Re==="round"}),ke=E.useMemo(()=>typeof xe=="number"?{width:xe,height:xe,lineHeight:`${xe}px`}:{},[xe]);return E.createElement("span",{className:_e()(Fe,Ke,ot,Oe),style:Object.assign(Object.assign({},ke),Te)})},ie=ve(93083),ce=ve(83116),ue=ve(37613);const ae=new ie.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),oe=Ze=>({height:Ze,lineHeight:`${Ze}px`}),re=Ze=>Object.assign({width:Ze},oe(Ze)),ee=Ze=>({background:Ze.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ae,animationDuration:Ze.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=Ze=>Object.assign({width:Ze*5,minWidth:Ze*5},oe(Ze)),y=Ze=>{const{skeletonAvatarCls:Fe,gradientFromColor:Oe,controlHeight:Te,controlHeightLG:xe,controlHeightSM:Re}=Ze;return{[`${Fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Oe},re(Te)),[`${Fe}${Fe}-circle`]:{borderRadius:"50%"},[`${Fe}${Fe}-lg`]:Object.assign({},re(xe)),[`${Fe}${Fe}-sm`]:Object.assign({},re(Re))}},x=Ze=>{const{controlHeight:Fe,borderRadiusSM:Oe,skeletonInputCls:Te,controlHeightLG:xe,controlHeightSM:Re,gradientFromColor:Ke}=Ze;return{[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ke,borderRadius:Oe},a(Fe)),[`${Te}-lg`]:Object.assign({},a(xe)),[`${Te}-sm`]:Object.assign({},a(Re))}},b=Ze=>Object.assign({width:Ze},oe(Ze)),z=Ze=>{const{skeletonImageCls:Fe,imageSizeBase:Oe,gradientFromColor:Te,borderRadiusSM:xe}=Ze;return{[`${Fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Te,borderRadius:xe},b(Oe*2)),{[`${Fe}-path`]:{fill:"#bfbfbf"},[`${Fe}-svg`]:Object.assign(Object.assign({},b(Oe)),{maxWidth:Oe*4,maxHeight:Oe*4}),[`${Fe}-svg${Fe}-svg-circle`]:{borderRadius:"50%"}}),[`${Fe}${Fe}-circle`]:{borderRadius:"50%"}}},te=(Ze,Fe,Oe)=>{const{skeletonButtonCls:Te}=Ze;return{[`${Oe}${Te}-circle`]:{width:Fe,minWidth:Fe,borderRadius:"50%"},[`${Oe}${Te}-round`]:{borderRadius:Fe}}},le=Ze=>Object.assign({width:Ze*2,minWidth:Ze*2},oe(Ze)),fe=Ze=>{const{borderRadiusSM:Fe,skeletonButtonCls:Oe,controlHeight:Te,controlHeightLG:xe,controlHeightSM:Re,gradientFromColor:Ke}=Ze;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ke,borderRadius:Fe,width:Te*2,minWidth:Te*2},le(Te))},te(Ze,Te,Oe)),{[`${Oe}-lg`]:Object.assign({},le(xe))}),te(Ze,xe,`${Oe}-lg`)),{[`${Oe}-sm`]:Object.assign({},le(Re))}),te(Ze,Re,`${Oe}-sm`))},pe=Ze=>{const{componentCls:Fe,skeletonAvatarCls:Oe,skeletonTitleCls:Te,skeletonParagraphCls:xe,skeletonButtonCls:Re,skeletonInputCls:Ke,skeletonImageCls:ot,controlHeight:ke,controlHeightLG:nt,controlHeightSM:mt,gradientFromColor:ct,padding:ht,marginSM:lt,borderRadius:pt,titleHeight:at,blockRadius:st,paragraphLiHeight:ft,controlHeightXS:vt,paragraphMarginTop:St}=Ze;return{[`${Fe}`]:{display:"table",width:"100%",[`${Fe}-header`]:{display:"table-cell",paddingInlineEnd:ht,verticalAlign:"top",[`${Oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ct},re(ke)),[`${Oe}-circle`]:{borderRadius:"50%"},[`${Oe}-lg`]:Object.assign({},re(nt)),[`${Oe}-sm`]:Object.assign({},re(mt))},[`${Fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Te}`]:{width:"100%",height:at,background:ct,borderRadius:st,[`+ ${xe}`]:{marginBlockStart:mt}},[`${xe}`]:{padding:0,"> li":{width:"100%",height:ft,listStyle:"none",background:ct,borderRadius:st,"+ li":{marginBlockStart:vt}}},[`${xe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Fe}-content`]:{[`${Te}, ${xe} > li`]:{borderRadius:pt}}},[`${Fe}-with-avatar ${Fe}-content`]:{[`${Te}`]:{marginBlockStart:lt,[`+ ${xe}`]:{marginBlockStart:St}}},[`${Fe}${Fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},fe(Ze)),y(Ze)),x(Ze)),z(Ze)),[`${Fe}${Fe}-block`]:{width:"100%",[`${Re}`]:{width:"100%"},[`${Ke}`]:{width:"100%"}},[`${Fe}${Fe}-active`]:{[`
|
|
|
${Te},
|
|
|
${xe} > li,
|
|
|
${Oe},
|
|
|
${Re},
|
|
|
${Ke},
|
|
|
${ot}
|
|
|
`]:Object.assign({},ee(Ze))}}};var me=(0,ce.Z)("Skeleton",Ze=>{const{componentCls:Fe}=Ze,Oe=(0,ue.TS)(Ze,{skeletonAvatarCls:`${Fe}-avatar`,skeletonTitleCls:`${Fe}-title`,skeletonParagraphCls:`${Fe}-paragraph`,skeletonButtonCls:`${Fe}-button`,skeletonInputCls:`${Fe}-input`,skeletonImageCls:`${Fe}-image`,imageSizeBase:Ze.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ze.gradientFromColor} 25%, ${Ze.gradientToColor} 37%, ${Ze.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[pe(Oe)]},Ze=>{const{colorFillContent:Fe,colorFill:Oe}=Ze,Te=Fe,xe=Oe;return{color:Te,colorGradientEnd:xe,gradientFromColor:Te,gradientToColor:xe,titleHeight:Ze.controlHeight/2,blockRadius:Ze.borderRadiusSM,paragraphMarginTop:Ze.marginLG+Ze.marginXXS,paragraphLiHeight:Ze.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Se=Ze=>{const{prefixCls:Fe,className:Oe,rootClassName:Te,active:xe,shape:Re="circle",size:Ke="default"}=Ze,{getPrefixCls:ot}=E.useContext(he.E_),ke=ot("skeleton",Fe),[nt,mt]=me(ke),ct=(0,de.Z)(Ze,["prefixCls","className"]),ht=_e()(ke,`${ke}-element`,{[`${ke}-active`]:xe},Oe,Te,mt);return nt(E.createElement("div",{className:ht},E.createElement(ne,Object.assign({prefixCls:`${ke}-avatar`,shape:Re,size:Ke},ct))))},Pe=Ze=>{const{prefixCls:Fe,className:Oe,rootClassName:Te,active:xe,block:Re=!1,size:Ke="default"}=Ze,{getPrefixCls:ot}=E.useContext(he.E_),ke=ot("skeleton",Fe),[nt,mt]=me(ke),ct=(0,de.Z)(Ze,["prefixCls"]),ht=_e()(ke,`${ke}-element`,{[`${ke}-active`]:xe,[`${ke}-block`]:Re},Oe,Te,mt);return nt(E.createElement("div",{className:ht},E.createElement(ne,Object.assign({prefixCls:`${ke}-button`,size:Ke},ct))))};const we="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ee=Ze=>{const{prefixCls:Fe,className:Oe,rootClassName:Te,style:xe,active:Re}=Ze,{getPrefixCls:Ke}=E.useContext(he.E_),ot=Ke("skeleton",Fe),[ke,nt]=me(ot),mt=_e()(ot,`${ot}-element`,{[`${ot}-active`]:Re},Oe,Te,nt);return ke(E.createElement("div",{className:mt},E.createElement("div",{className:_e()(`${ot}-image`,Oe),style:xe},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ot}-image-svg`},E.createElement("path",{d:we,className:`${ot}-image-path`})))))},Ce=Ze=>{const{prefixCls:Fe,className:Oe,rootClassName:Te,active:xe,block:Re,size:Ke="default"}=Ze,{getPrefixCls:ot}=E.useContext(he.E_),ke=ot("skeleton",Fe),[nt,mt]=me(ke),ct=(0,de.Z)(Ze,["prefixCls"]),ht=_e()(ke,`${ke}-element`,{[`${ke}-active`]:xe,[`${ke}-block`]:Re},Oe,Te,mt);return nt(E.createElement("div",{className:ht},E.createElement(ne,Object.assign({prefixCls:`${ke}-input`,size:Ke},ct))))},Ie=ve(5016),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Ge=Me,Be=ve(7657),Qe=function(Fe,Oe){return E.createElement(Be.Z,(0,Ie.Z)({},Fe,{ref:Oe,icon:Ge}))},qe=E.forwardRef(Qe),Xe=qe,We=Ze=>{const{prefixCls:Fe,className:Oe,rootClassName:Te,style:xe,active:Re,children:Ke}=Ze,{getPrefixCls:ot}=E.useContext(he.E_),ke=ot("skeleton",Fe),[nt,mt]=me(ke),ct=_e()(ke,`${ke}-element`,{[`${ke}-active`]:Re},mt,Oe,Te),ht=Ke!=null?Ke:E.createElement(Xe,null);return nt(E.createElement("div",{className:ct},E.createElement("div",{className:_e()(`${ke}-image`,Oe),style:xe},ht)))},ze=ve(92393),tt=Ze=>{const Fe=ot=>{const{width:ke,rows:nt=2}=Ze;if(Array.isArray(ke))return ke[ot];if(nt-1===ot)return ke},{prefixCls:Oe,className:Te,style:xe,rows:Re}=Ze,Ke=(0,ze.Z)(Array(Re)).map((ot,ke)=>E.createElement("li",{key:ke,style:{width:Fe(ke)}}));return E.createElement("ul",{className:_e()(Oe,Te),style:xe},Ke)},ut=Ze=>{let{prefixCls:Fe,className:Oe,width:Te,style:xe}=Ze;return E.createElement("h3",{className:_e()(Fe,Oe),style:Object.assign({width:Te},xe)})};function Ye(Ze){return Ze&&typeof Ze=="object"?Ze:{}}function Ue(Ze,Fe){return Ze&&!Fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function je(Ze,Fe){return!Ze&&Fe?{width:"38%"}:Ze&&Fe?{width:"50%"}:{}}function $e(Ze,Fe){const Oe={};return(!Ze||!Fe)&&(Oe.width="61%"),!Ze&&Fe?Oe.rows=3:Oe.rows=2,Oe}const Le=Ze=>{const{prefixCls:Fe,loading:Oe,className:Te,rootClassName:xe,style:Re,children:Ke,avatar:ot=!1,title:ke=!0,paragraph:nt=!0,active:mt,round:ct}=Ze,{getPrefixCls:ht,direction:lt,skeleton:pt}=E.useContext(he.E_),at=ht("skeleton",Fe),[st,ft]=me(at);if(Oe||!("loading"in Ze)){const vt=!!ot,St=!!ke,Et=!!nt;let Mt;if(vt){const dn=Object.assign(Object.assign({prefixCls:`${at}-avatar`},Ue(St,Et)),Ye(ot));Mt=E.createElement("div",{className:`${at}-header`},E.createElement(ne,Object.assign({},dn)))}let kt;if(St||Et){let dn;if(St){const on=Object.assign(Object.assign({prefixCls:`${at}-title`},je(vt,Et)),Ye(ke));dn=E.createElement(ut,Object.assign({},on))}let Qt;if(Et){const on=Object.assign(Object.assign({prefixCls:`${at}-paragraph`},$e(vt,St)),Ye(nt));Qt=E.createElement(tt,Object.assign({},on))}kt=E.createElement("div",{className:`${at}-content`},dn,Qt)}const Jt=_e()(at,{[`${at}-with-avatar`]:vt,[`${at}-active`]:mt,[`${at}-rtl`]:lt==="rtl",[`${at}-round`]:ct},pt==null?void 0:pt.className,Te,xe,ft);return st(E.createElement("div",{className:Jt,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),Re)},Mt,kt))}return typeof Ke!="undefined"?Ke:null};Le.Button=Pe,Le.Avatar=Se,Le.Input=Ce,Le.Image=Ee,Le.Node=We;var Ne=Le,et=Ne},31797:function(Ct,dt,ve){"use strict";ve.d(dt,{default:function(){return me}});var be=ve(59301),_e=ve(56762),E=ve(92343),he=ve(92310),de=ve.n(he),se=ve(36355),ne=ve(61621),ce=ge=>{const{value:Se,formatter:ye,precision:Pe,decimalSeparator:we,groupSeparator:De="",prefixCls:Ee}=ge;let Ae;if(typeof ye=="function")Ae=ye(Se);else{const Ce=String(Se),Ie=Ce.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ie||Ce==="-")Ae=Ce;else{const Me=Ie[1];let Ge=Ie[2]||"0",Be=Ie[4]||"";Ge=Ge.replace(/\B(?=(\d{3})+(?!\d))/g,De),typeof Pe=="number"&&(Be=Be.padEnd(Pe,"0").slice(0,Pe>0?Pe:0)),Be&&(Be=`${we}${Be}`),Ae=[be.createElement("span",{key:"int",className:`${Ee}-content-value-int`},Me,Ge),Be&&be.createElement("span",{key:"decimal",className:`${Ee}-content-value-decimal`},Be)]}}return be.createElement("span",{className:`${Ee}-content-value`},Ae)},ue=ve(17313),ae=ve(83116),oe=ve(37613);const re=ge=>{const{componentCls:Se,marginXXS:ye,padding:Pe,colorTextDescription:we,titleFontSize:De,colorTextHeading:Ee,contentFontSize:Ae,fontFamily:Ce}=ge;return{[`${Se}`]:Object.assign(Object.assign({},(0,ue.Wf)(ge)),{[`${Se}-title`]:{marginBottom:ye,color:we,fontSize:De},[`${Se}-skeleton`]:{paddingTop:Pe},[`${Se}-content`]:{color:Ee,fontSize:Ae,fontFamily:Ce,[`${Se}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Se}-content-prefix, ${Se}-content-suffix`]:{display:"inline-block"},[`${Se}-content-prefix`]:{marginInlineEnd:ye},[`${Se}-content-suffix`]:{marginInlineStart:ye}}})}};var ee=(0,ae.Z)("Statistic",ge=>{const Se=(0,oe.TS)(ge,{});return[re(Se)]},ge=>{const{fontSizeHeading3:Se,fontSize:ye}=ge;return{titleFontSize:ye,contentFontSize:Se}}),y=ge=>{const{prefixCls:Se,className:ye,rootClassName:Pe,style:we,valueStyle:De,value:Ee=0,title:Ae,valueRender:Ce,prefix:Ie,suffix:Me,loading:Ge=!1,onMouseEnter:Be,onMouseLeave:Qe,decimalSeparator:qe=".",groupSeparator:Xe=","}=ge,{getPrefixCls:Ve,direction:We,statistic:ze}=be.useContext(se.E_),He=Ve("statistic",Se),[tt,Je]=ee(He),ut=be.createElement(ce,Object.assign({decimalSeparator:qe,groupSeparator:Xe,prefixCls:He},ge,{value:Ee})),Ye=de()(He,{[`${He}-rtl`]:We==="rtl"},ze==null?void 0:ze.className,ye,Pe,Je);return tt(be.createElement("div",{className:Ye,style:Object.assign(Object.assign({},ze==null?void 0:ze.style),we),onMouseEnter:Be,onMouseLeave:Qe},Ae&&be.createElement("div",{className:`${He}-title`},Ae),be.createElement(ne.Z,{paragraph:!1,loading:Ge,className:`${He}-skeleton`},be.createElement("div",{style:De,className:`${He}-content`},Ie&&be.createElement("span",{className:`${He}-content-prefix`},Ie),Ce?Ce(ut):ut,Me&&be.createElement("span",{className:`${He}-content-suffix`},Me)))))};const x=[["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 b(ge,Se){let ye=ge;const Pe=/\[[^\]]*]/g,we=(Se.match(Pe)||[]).map(Ce=>Ce.slice(1,-1)),De=Se.replace(Pe,"[]"),Ee=x.reduce((Ce,Ie)=>{let[Me,Ge]=Ie;if(Ce.includes(Me)){const Be=Math.floor(ye/Ge);return ye-=Be*Ge,Ce.replace(new RegExp(`${Me}+`,"g"),Qe=>{const qe=Qe.length;return Be.toString().padStart(qe,"0")})}return Ce},De);let Ae=0;return Ee.replace(Pe,()=>{const Ce=we[Ae];return Ae+=1,Ce})}function z(ge,Se){const{format:ye=""}=Se,Pe=new Date(ge).getTime(),we=Date.now(),De=Math.max(Pe-we,0);return b(De,ye)}const te=1e3/30;function le(ge){return new Date(ge).getTime()}const fe=ge=>{const{value:Se,format:ye="HH:mm:ss",onChange:Pe,onFinish:we}=ge,De=(0,_e.Z)(),Ee=be.useRef(null),Ae=()=>{we==null||we(),Ee.current&&(clearInterval(Ee.current),Ee.current=null)},Ce=()=>{const Ge=le(Se);Ge>=Date.now()&&(Ee.current=setInterval(()=>{De(),Pe==null||Pe(Ge-Date.now()),Ge<Date.now()&&Ae()},te))};be.useEffect(()=>(Ce(),()=>{Ee.current&&(clearInterval(Ee.current),Ee.current=null)}),[Se]);const Ie=(Ge,Be)=>z(Ge,Object.assign(Object.assign({},Be),{format:ye})),Me=Ge=>(0,E.Tm)(Ge,{title:void 0});return be.createElement(y,Object.assign({},ge,{valueRender:Me,formatter:Ie}))};var pe=be.memo(fe);y.Countdown=pe;var me=y},15969:function(Ct,dt,ve){"use strict";ve.d(dt,{N:function(){return be}});const be=_e=>({color:_e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${_e.motionDurationSlow}`,"&:focus, &:hover":{color:_e.colorLinkHover},"&:active":{color:_e.colorLinkActive}})},1710:function(Ct,dt,ve){"use strict";ve.d(dt,{default:function(){return Ts}});var be={},_e="rc-table-internal-hook",E=ve(52456),he=ve(6089),de=ve(34280),se=ve(13697),ne=ve(59301),ie=ve(4676);function ce(rt){var it=ne.createContext(void 0),gt=function(Pt){var wt=Pt.value,Dt=Pt.children,jt=ne.useRef(wt);jt.current=wt;var Lt=ne.useState(function(){return{getValue:function(){return jt.current},listeners:new Set}}),zt=(0,E.Z)(Lt,1),Xt=zt[0];return(0,de.Z)(function(){(0,ie.unstable_batchedUpdates)(function(){Xt.listeners.forEach(function(Ht){Ht(wt)})})},[wt]),ne.createElement(it.Provider,{value:Xt},Dt)};return{Context:it,Provider:gt,defaultValue:rt}}function ue(rt,it){var gt=(0,he.Z)(typeof it=="function"?it:function(Ht){if(it===void 0)return Ht;if(!Array.isArray(it))return Ht[it];var cn={};return it.forEach(function(rn){cn[rn]=Ht[rn]}),cn}),yt=ne.useContext(rt==null?void 0:rt.Context),Pt=yt||{},wt=Pt.listeners,Dt=Pt.getValue,jt=ne.useRef();jt.current=gt(yt?Dt():rt==null?void 0:rt.defaultValue);var Lt=ne.useState({}),zt=(0,E.Z)(Lt,2),Xt=zt[1];return(0,de.Z)(function(){if(!yt)return;function Ht(cn){var rn=gt(cn);(0,se.Z)(jt.current,rn,!0)||Xt({})}return wt.add(Ht),function(){wt.delete(Ht)}},[yt]),jt.current}var ae=ve(5016),oe=ve(8654);function re(){var rt=ne.createContext(null);function it(){return ne.useContext(rt)}function gt(Pt,wt){var Dt=(0,oe.Yr)(Pt),jt=function(zt,Xt){var Ht=Dt?{ref:Xt}:{},cn=ne.useRef(0),rn=ne.useRef(zt),ln=it();return ln!==null?ne.createElement(Pt,(0,ae.Z)({},zt,Ht)):((!wt||wt(rn.current,zt))&&(cn.current+=1),rn.current=zt,ne.createElement(rt.Provider,{value:cn.current},ne.createElement(Pt,(0,ae.Z)({},zt,Ht))))};return Dt?ne.forwardRef(jt):jt}function yt(Pt,wt){var Dt=(0,oe.Yr)(Pt),jt=function(zt,Xt){var Ht=Dt?{ref:Xt}:{};return it(),ne.createElement(Pt,(0,ae.Z)({},zt,Ht))};return Dt?ne.memo(ne.forwardRef(jt),wt):ne.memo(jt,wt)}return{makeImmutable:gt,responseImmutable:yt,useImmutableMark:it}}var ee=re(),a=ee.makeImmutable,y=ee.responseImmutable,x=ee.useImmutableMark,b=re(),z=b.makeImmutable,te=b.responseImmutable,le=b.useImmutableMark,fe=ce(),pe=fe;function me(rt,it){var gt=ne.useRef(0);gt.current+=1;var yt=ne.useRef(rt),Pt=[];Object.keys(rt||{}).map(function(Dt){var jt;(rt==null?void 0:rt[Dt])!==((jt=yt.current)===null||jt===void 0?void 0:jt[Dt])&&Pt.push(Dt)}),yt.current=rt;var wt=ne.useRef([]);return Pt.length&&(wt.current=Pt),ne.useDebugValue(gt.current),ne.useDebugValue(wt.current.join(", ")),it&&console.log("".concat(it,":"),gt.current,wt.current),gt.current}var ge=null,Se=ne.memo(function(){var rt=me();return ne.createElement("h1",null,"Render Times: ",rt)});Se.displayName="RenderBlock";var ye=ve(10928),Pe=ve(20049),we=ve(18082),De=ve(92310),Ee=ve.n(De),Ae=ve(80547),Ce=ve(97938),Ie=ve(48736),Me=ne.createContext({renderWithProps:!1}),Ge=Me,Be="RC_TABLE_KEY";function Qe(rt){return rt==null?[]:Array.isArray(rt)?rt:[rt]}function qe(rt){var it=[],gt={};return rt.forEach(function(yt){for(var Pt=yt||{},wt=Pt.key,Dt=Pt.dataIndex,jt=wt||Qe(Dt).join("-")||Be;gt[jt];)jt="".concat(jt,"_next");gt[jt]=!0,it.push(jt)}),it}function Xe(rt){return rt!=null}function Ve(rt){return rt&&(0,ye.Z)(rt)==="object"&&!Array.isArray(rt)&&!ne.isValidElement(rt)}function We(rt,it,gt,yt,Pt,wt){var Dt=ne.useContext(Ge),jt=le(),Lt=(0,Ae.Z)(function(){if(Xe(yt))return[yt];var zt=it==null||it===""?[]:Array.isArray(it)?it:[it],Xt=(0,Ce.Z)(rt,zt),Ht=Xt,cn=void 0;if(Pt){var rn=Pt(Xt,rt,gt);Ve(rn)?(Ht=rn.children,cn=rn.props,Dt.renderWithProps=!0):Ht=rn}return[Ht,cn]},[jt,rt,yt,it,Pt,gt],function(zt,Xt){if(wt){var Ht=(0,E.Z)(zt,2),cn=Ht[1],rn=(0,E.Z)(Xt,2),ln=rn[1];return wt(ln,cn)}return Dt.renderWithProps?!0:!(0,se.Z)(zt,Xt,!0)});return Lt}function ze(rt,it,gt,yt){var Pt=rt+it-1;return rt<=yt&&Pt>=gt}function He(rt,it){return ue(pe,function(gt){var yt=ze(rt,it||1,gt.hoverStartRow,gt.hoverEndRow);return[yt,gt.onHover]})}var tt=function(it){var gt=it.ellipsis,yt=it.rowType,Pt=it.children,wt,Dt=gt===!0?{showTitle:!0}:gt;return Dt&&(Dt.showTitle||yt==="header")&&(typeof Pt=="string"||typeof Pt=="number"?wt=Pt.toString():ne.isValidElement(Pt)&&typeof Pt.props.children=="string"&&(wt=Pt.props.children)),wt};function Je(rt){var it,gt,yt,Pt,wt,Dt,jt,Lt,zt=rt.component,Xt=rt.children,Ht=rt.ellipsis,cn=rt.scope,rn=rt.prefixCls,ln=rt.className,En=rt.align,yn=rt.record,xn=rt.render,Sn=rt.dataIndex,Mn=rt.renderIndex,or=rt.shouldCellUpdate,sr=rt.index,Yn=rt.rowType,xr=rt.colSpan,Rr=rt.rowSpan,Wn=rt.fixLeft,Jn=rt.fixRight,Zn=rt.firstFixLeft,Tn=rt.lastFixLeft,Xn=rt.firstFixRight,wr=rt.lastFixRight,Ur=rt.appendNode,Ir=rt.additionalProps,gr=Ir===void 0?{}:Ir,Hr=rt.isSticky,Kr="".concat(rn,"-cell"),vo=ue(pe,["supportSticky","allColumnsFixedLeft"]),eo=vo.supportSticky,Bo=vo.allColumnsFixedLeft,Fo=We(yn,Sn,Mn,Xt,xn,or),Mr=(0,E.Z)(Fo,2),Uo=Mr[0],to=Mr[1],_o={},Eo=typeof Wn=="number"&&eo,aa=typeof Jn=="number"&&eo;Eo&&(_o.position="sticky",_o.left=Wn),aa&&(_o.position="sticky",_o.right=Jn);var Sr=(it=(gt=(yt=to==null?void 0:to.colSpan)!==null&&yt!==void 0?yt:gr.colSpan)!==null&>!==void 0?gt:xr)!==null&&it!==void 0?it:1,mr=(Pt=(wt=(Dt=to==null?void 0:to.rowSpan)!==null&&Dt!==void 0?Dt:gr.rowSpan)!==null&&wt!==void 0?wt:Rr)!==null&&Pt!==void 0?Pt:1,hr=He(sr,mr),tr=(0,E.Z)(hr,2),no=tr[0],nr=tr[1],Dr=function(Go){var ia;yn&&nr(sr,sr+mr-1),gr==null||(ia=gr.onMouseEnter)===null||ia===void 0||ia.call(gr,Go)},Qr=function(Go){var ia;yn&&nr(-1,-1),gr==null||(ia=gr.onMouseLeave)===null||ia===void 0||ia.call(gr,Go)};if(Sr===0||mr===0)return null;var Yr=(jt=gr.title)!==null&&jt!==void 0?jt:tt({rowType:Yn,ellipsis:Ht,children:Uo}),Jo=Ee()(Kr,ln,(Lt={},(0,we.Z)(Lt,"".concat(Kr,"-fix-left"),Eo&&eo),(0,we.Z)(Lt,"".concat(Kr,"-fix-left-first"),Zn&&eo),(0,we.Z)(Lt,"".concat(Kr,"-fix-left-last"),Tn&&eo),(0,we.Z)(Lt,"".concat(Kr,"-fix-left-all"),Tn&&Bo&&eo),(0,we.Z)(Lt,"".concat(Kr,"-fix-right"),aa&&eo),(0,we.Z)(Lt,"".concat(Kr,"-fix-right-first"),Xn&&eo),(0,we.Z)(Lt,"".concat(Kr,"-fix-right-last"),wr&&eo),(0,we.Z)(Lt,"".concat(Kr,"-ellipsis"),Ht),(0,we.Z)(Lt,"".concat(Kr,"-with-append"),Ur),(0,we.Z)(Lt,"".concat(Kr,"-fix-sticky"),(Eo||aa)&&Hr&&eo),(0,we.Z)(Lt,"".concat(Kr,"-row-hover"),!to&&no),Lt),gr.className,to==null?void 0:to.className),Xo={};En&&(Xo.textAlign=En);var ya=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},_o),gr.style),Xo),to==null?void 0:to.style),Ho=Uo;return(0,ye.Z)(Ho)==="object"&&!Array.isArray(Ho)&&!ne.isValidElement(Ho)&&(Ho=null),Ht&&(Tn||Xn)&&(Ho=ne.createElement("span",{className:"".concat(Kr,"-content")},Ho)),ne.createElement(zt,(0,ae.Z)({},to,gr,{className:Jo,style:ya,title:Yr,scope:cn,onMouseEnter:Dr,onMouseLeave:Qr,colSpan:Sr!==1?Sr:null,rowSpan:mr!==1?mr:null}),Ur,Ho)}var ut=ne.memo(Je);function Ye(rt,it,gt,yt,Pt,wt){var Dt=gt[rt]||{},jt=gt[it]||{},Lt,zt;Dt.fixed==="left"?Lt=yt.left[Pt==="rtl"?it:rt]:jt.fixed==="right"&&(zt=yt.right[Pt==="rtl"?rt:it]);var Xt=!1,Ht=!1,cn=!1,rn=!1,ln=gt[it+1],En=gt[rt-1],yn=!(wt!=null&&wt.children);if(Pt==="rtl"){if(Lt!==void 0){var xn=En&&En.fixed==="left";rn=!xn&&yn}else if(zt!==void 0){var Sn=ln&&ln.fixed==="right";cn=!Sn&&yn}}else if(Lt!==void 0){var Mn=ln&&ln.fixed==="left";Xt=!Mn&&yn}else if(zt!==void 0){var or=En&&En.fixed==="right";Ht=!or&&yn}return{fixLeft:Lt,fixRight:zt,lastFixLeft:Xt,firstFixRight:Ht,lastFixRight:cn,firstFixLeft:rn,isSticky:yt.isSticky}}var Ue=ne.createContext({}),je=Ue;function $e(rt){var it=rt.className,gt=rt.index,yt=rt.children,Pt=rt.colSpan,wt=Pt===void 0?1:Pt,Dt=rt.rowSpan,jt=rt.align,Lt=ue(pe,["prefixCls","direction"]),zt=Lt.prefixCls,Xt=Lt.direction,Ht=ne.useContext(je),cn=Ht.scrollColumnIndex,rn=Ht.stickyOffsets,ln=Ht.flattenColumns,En=Ht.columns,yn=gt+wt-1,xn=yn+1===cn?wt+1:wt,Sn=Ye(gt,gt+xn-1,ln,rn,Xt,En==null?void 0:En[gt]);return ne.createElement(ut,(0,ae.Z)({className:it,index:gt,component:"td",prefixCls:zt,record:null,dataIndex:null,align:jt,colSpan:xn,rowSpan:Dt,render:function(){return yt}},Sn))}var Le=ve(5883),Ne=["children"];function et(rt){var it=rt.children,gt=(0,Le.Z)(rt,Ne);return ne.createElement("tr",gt,it)}function Ze(rt){var it=rt.children;return it}Ze.Row=et,Ze.Cell=$e;var Fe=Ze;function Oe(rt){var it=rt.children,gt=rt.stickyOffsets,yt=rt.flattenColumns,Pt=rt.columns,wt=ue(pe,"prefixCls"),Dt=yt.length-1,jt=yt[Dt],Lt=ne.useMemo(function(){return{stickyOffsets:gt,flattenColumns:yt,scrollColumnIndex:jt!=null&&jt.scrollbar?Dt:null,columns:Pt}},[jt,yt,Dt,gt,Pt]);return ne.createElement(je.Provider,{value:Lt},ne.createElement("tfoot",{className:"".concat(wt,"-summary")},it))}var Te=te(Oe),xe=Fe,Re=ve(70425),Ke=ve(29301),ot=ve(29194),ke=ve(24514),nt=ve(75152),mt=ve(26112);function ct(rt,it,gt,yt,Pt,wt,Dt){rt.push({record:it,indent:gt,index:Dt});var jt=wt(it),Lt=Pt==null?void 0:Pt.has(jt);if(it&&Array.isArray(it[yt])&&Lt)for(var zt=0;zt<it[yt].length;zt+=1)ct(rt,it[yt][zt],gt+1,yt,Pt,wt,zt)}function ht(rt,it,gt,yt){var Pt=ne.useMemo(function(){if(gt!=null&>.size){for(var wt=[],Dt=0;Dt<(rt==null?void 0:rt.length);Dt+=1){var jt=rt[Dt];ct(wt,jt,0,it,gt,yt,Dt)}return wt}return rt==null?void 0:rt.map(function(Lt,zt){return{record:Lt,indent:0,index:zt}})},[rt,it,gt,yt]);return Pt}function lt(rt){var it=rt.prefixCls,gt=rt.children,yt=rt.component,Pt=rt.cellComponent,wt=rt.className,Dt=rt.expanded,jt=rt.colSpan,Lt=rt.isEmpty,zt=ue(pe,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Xt=zt.scrollbarSize,Ht=zt.fixHeader,cn=zt.fixColumn,rn=zt.componentWidth,ln=zt.horizonScroll,En=gt;return(Lt?ln&&rn:cn)&&(En=ne.createElement("div",{style:{width:rn-(Ht?Xt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(it,"-expanded-row-fixed")},En)),ne.createElement(yt,{className:wt,style:{display:Dt?null:"none"}},ne.createElement(ut,{component:Pt,prefixCls:it,colSpan:jt},En))}var pt=lt;function at(rt,it,gt,yt){var Pt=ue(pe,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),wt=Pt.flattenColumns,Dt=Pt.expandableType,jt=Pt.expandedKeys,Lt=Pt.childrenColumnName,zt=Pt.onTriggerExpand,Xt=Pt.rowExpandable,Ht=Pt.onRow,cn=Pt.expandRowByClick,rn=Pt.rowClassName,ln=Dt==="nest",En=Dt==="row"&&(!Xt||Xt(rt)),yn=En||ln,xn=jt&&jt.has(it),Sn=Lt&&rt&&rt[Lt],Mn=(0,Re.useEvent)(zt),or=Ht==null?void 0:Ht(rt,gt),sr=or==null?void 0:or.onClick,Yn=function(Jn){cn&&yn&&zt(rt,Jn);for(var Zn=arguments.length,Tn=new Array(Zn>1?Zn-1:0),Xn=1;Xn<Zn;Xn++)Tn[Xn-1]=arguments[Xn];sr==null||sr.apply(void 0,[Jn].concat(Tn))},xr;typeof rn=="string"?xr=rn:typeof rn=="function"&&(xr=rn(rt,gt,yt));var Rr=qe(wt);return(0,Pe.Z)((0,Pe.Z)({},Pt),{},{columnsKey:Rr,nestExpandable:ln,expanded:xn,hasNestChildren:Sn,record:rt,onTriggerExpand:Mn,rowSupportExpand:En,expandable:yn,rowProps:(0,Pe.Z)((0,Pe.Z)({},or),{},{className:Ee()(xr,or==null?void 0:or.className),onClick:Yn})})}function st(rt,it,gt,yt,Pt){var wt=rt.record,Dt=rt.prefixCls,jt=rt.columnsKey,Lt=rt.fixedInfoList,zt=rt.expandIconColumnIndex,Xt=rt.nestExpandable,Ht=rt.indentSize,cn=rt.expandIcon,rn=rt.expanded,ln=rt.hasNestChildren,En=rt.onTriggerExpand,yn=jt[gt],xn=Lt[gt],Sn;gt===(zt||0)&&Xt&&(Sn=ne.createElement(ne.Fragment,null,ne.createElement("span",{style:{paddingLeft:"".concat(Ht*yt,"px")},className:"".concat(Dt,"-row-indent indent-level-").concat(yt)}),cn({prefixCls:Dt,expanded:rn,expandable:ln,record:wt,onExpand:En})));var Mn;return it.onCell&&(Mn=it.onCell(wt,Pt)),{key:yn,fixedInfo:xn,appendCellNode:Sn,additionalCellProps:Mn||{}}}function ft(rt){var it=rt.className,gt=rt.style,yt=rt.record,Pt=rt.index,wt=rt.renderIndex,Dt=rt.rowKey,jt=rt.indent,Lt=jt===void 0?0:jt,zt=rt.rowComponent,Xt=rt.cellComponent,Ht=rt.scopeCellComponent,cn=at(yt,Dt,Pt,Lt),rn=cn.prefixCls,ln=cn.flattenColumns,En=cn.expandedRowClassName,yn=cn.expandedRowRender,xn=cn.rowProps,Sn=cn.expanded,Mn=cn.rowSupportExpand,or=ne.useState(!1),sr=(0,E.Z)(or,2),Yn=sr[0],xr=sr[1];ne.useEffect(function(){Sn&&xr(!0)},[Sn]);var Rr=ne.createElement(zt,(0,ae.Z)({},xn,{"data-row-key":Dt,className:Ee()(it,"".concat(rn,"-row"),"".concat(rn,"-row-level-").concat(Lt),xn==null?void 0:xn.className),style:(0,Pe.Z)((0,Pe.Z)({},gt),xn==null?void 0:xn.style)}),ln.map(function(Tn,Xn){var wr=Tn.render,Ur=Tn.dataIndex,Ir=Tn.className,gr=st(cn,Tn,Xn,Lt,Pt),Hr=gr.key,Kr=gr.fixedInfo,vo=gr.appendCellNode,eo=gr.additionalCellProps;return ne.createElement(ut,(0,ae.Z)({className:Ir,ellipsis:Tn.ellipsis,align:Tn.align,scope:Tn.rowScope,component:Tn.rowScope?Ht:Xt,prefixCls:rn,key:Hr,record:yt,index:Pt,renderIndex:wt,dataIndex:Ur,render:wr,shouldCellUpdate:Tn.shouldCellUpdate},Kr,{appendNode:vo,additionalProps:eo}))})),Wn;if(Mn&&(Yn||Sn)){var Jn=yn(yt,Pt,Lt+1,Sn),Zn=En&&En(yt,Pt,Lt);Wn=ne.createElement(pt,{expanded:Sn,className:Ee()("".concat(rn,"-expanded-row"),"".concat(rn,"-expanded-row-level-").concat(Lt+1),Zn),prefixCls:rn,component:zt,cellComponent:Xt,colSpan:ln.length,isEmpty:!1},Jn)}return ne.createElement(ne.Fragment,null,Rr,Wn)}ft.displayName="BodyRow";var vt=te(ft);function St(rt){var it=rt.columnKey,gt=rt.onColumnResize,yt=ne.useRef();return ne.useEffect(function(){yt.current&>(it,yt.current.offsetWidth)},[]),ne.createElement(Ke.Z,{data:it},ne.createElement("td",{ref:yt,style:{padding:0,border:0,height:0}},ne.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Et(rt){var it=rt.prefixCls,gt=rt.columnsKey,yt=rt.onColumnResize;return ne.createElement("tr",{"aria-hidden":"true",className:"".concat(it,"-measure-row"),style:{height:0,fontSize:0}},ne.createElement(Ke.Z.Collection,{onBatchResize:function(wt){wt.forEach(function(Dt){var jt=Dt.data,Lt=Dt.size;yt(jt,Lt.offsetWidth)})}},gt.map(function(Pt){return ne.createElement(St,{key:Pt,columnKey:Pt,onColumnResize:yt})})))}function Mt(rt){var it=rt.data,gt=rt.measureColumnWidth,yt=ue(pe,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Pt=yt.prefixCls,wt=yt.getComponent,Dt=yt.onColumnResize,jt=yt.flattenColumns,Lt=yt.getRowKey,zt=yt.expandedKeys,Xt=yt.childrenColumnName,Ht=yt.emptyNode,cn=ht(it,Xt,zt,Lt),rn=ne.useRef({renderWithProps:!1}),ln=wt(["body","wrapper"],"tbody"),En=wt(["body","row"],"tr"),yn=wt(["body","cell"],"td"),xn=wt(["body","cell"],"th"),Sn;it.length?Sn=cn.map(function(or,sr){var Yn=or.record,xr=or.indent,Rr=or.index,Wn=Lt(Yn,sr);return ne.createElement(vt,{key:Wn,rowKey:Wn,record:Yn,index:sr,renderIndex:Rr,rowComponent:En,cellComponent:yn,scopeCellComponent:xn,getRowKey:Lt,indent:xr})}):Sn=ne.createElement(pt,{expanded:!0,className:"".concat(Pt,"-placeholder"),prefixCls:Pt,component:En,cellComponent:yn,colSpan:jt.length,isEmpty:!0},Ht);var Mn=qe(jt);return ne.createElement(Ge.Provider,{value:rn.current},ne.createElement(ln,{className:"".concat(Pt,"-tbody")},gt&&ne.createElement(Et,{prefixCls:Pt,columnsKey:Mn,onColumnResize:Dt}),Sn))}Mt.displayName="Body";var kt=te(Mt),Jt=["expandable"],dn="RC_TABLE_INTERNAL_COL_DEFINE";function Qt(rt){var it=rt.expandable,gt=(0,Le.Z)(rt,Jt),yt;return"expandable"in rt?yt=(0,Pe.Z)((0,Pe.Z)({},gt),it):yt=gt,yt.showExpandColumn===!1&&(yt.expandIconColumnIndex=-1),yt}var on=["columnType"];function wn(rt){for(var it=rt.colWidths,gt=rt.columns,yt=rt.columCount,Pt=[],wt=yt||gt.length,Dt=!1,jt=wt-1;jt>=0;jt-=1){var Lt=it[jt],zt=gt&>[jt],Xt=zt&&zt[dn];if(Lt||Xt||Dt){var Ht=Xt||{},cn=Ht.columnType,rn=(0,Le.Z)(Ht,on);Pt.unshift(ne.createElement("col",(0,ae.Z)({key:jt,style:{width:Lt}},rn))),Dt=!0}}return ne.createElement("colgroup",null,Pt)}var vn=wn,fn=ve(92393),Bn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Un(rt,it){return(0,ne.useMemo)(function(){for(var gt=[],yt=0;yt<it;yt+=1){var Pt=rt[yt];if(Pt!==void 0)gt[yt]=Pt;else return null}return gt},[rt.join("_"),it])}var Nn=ne.forwardRef(function(rt,it){var gt=rt.className,yt=rt.noData,Pt=rt.columns,wt=rt.flattenColumns,Dt=rt.colWidths,jt=rt.columCount,Lt=rt.stickyOffsets,zt=rt.direction,Xt=rt.fixHeader,Ht=rt.stickyTopOffset,cn=rt.stickyBottomOffset,rn=rt.stickyClassName,ln=rt.onScroll,En=rt.maxContentScroll,yn=rt.children,xn=(0,Le.Z)(rt,Bn),Sn=ue(pe,["prefixCls","scrollbarSize","isSticky"]),Mn=Sn.prefixCls,or=Sn.scrollbarSize,sr=Sn.isSticky,Yn=sr&&!Xt?0:or,xr=ne.useRef(null),Rr=ne.useCallback(function(Ir){(0,oe.mH)(it,Ir),(0,oe.mH)(xr,Ir)},[]);ne.useEffect(function(){var Ir;function gr(Hr){var Kr=Hr,vo=Kr.currentTarget,eo=Kr.deltaX;eo&&(ln({currentTarget:vo,scrollLeft:vo.scrollLeft+eo}),Hr.preventDefault())}return(Ir=xr.current)===null||Ir===void 0||Ir.addEventListener("wheel",gr),function(){var Hr;(Hr=xr.current)===null||Hr===void 0||Hr.removeEventListener("wheel",gr)}},[]);var Wn=ne.useMemo(function(){return wt.every(function(Ir){return Ir.width})},[wt]),Jn=wt[wt.length-1],Zn={fixed:Jn?Jn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Mn,"-cell-scrollbar")}}},Tn=(0,ne.useMemo)(function(){return Yn?[].concat((0,fn.Z)(Pt),[Zn]):Pt},[Yn,Pt]),Xn=(0,ne.useMemo)(function(){return Yn?[].concat((0,fn.Z)(wt),[Zn]):wt},[Yn,wt]),wr=(0,ne.useMemo)(function(){var Ir=Lt.right,gr=Lt.left;return(0,Pe.Z)((0,Pe.Z)({},Lt),{},{left:zt==="rtl"?[].concat((0,fn.Z)(gr.map(function(Hr){return Hr+Yn})),[0]):gr,right:zt==="rtl"?Ir:[].concat((0,fn.Z)(Ir.map(function(Hr){return Hr+Yn})),[0]),isSticky:sr})},[Yn,Lt,sr]),Ur=Un(Dt,jt);return ne.createElement("div",{style:(0,Pe.Z)({overflow:"hidden"},sr?{top:Ht,bottom:cn}:{}),ref:Rr,className:Ee()(gt,(0,we.Z)({},rn,!!rn))},ne.createElement("table",{style:{tableLayout:"fixed",visibility:yt||Ur?null:"hidden"}},(!yt||!En||Wn)&&ne.createElement(vn,{colWidths:Ur?[].concat((0,fn.Z)(Ur),[Yn]):[],columCount:jt+1,columns:Xn}),yn((0,Pe.Z)((0,Pe.Z)({},xn),{},{stickyOffsets:wr,columns:Tn,flattenColumns:Xn}))))});Nn.displayName="FixedHolder";var _n=ne.memo(Nn);function kn(rt){var it=rt.cells,gt=rt.stickyOffsets,yt=rt.flattenColumns,Pt=rt.rowComponent,wt=rt.cellComponent,Dt=rt.tdCellComponent,jt=rt.onHeaderRow,Lt=rt.index,zt=ue(pe,["prefixCls","direction"]),Xt=zt.prefixCls,Ht=zt.direction,cn;jt&&(cn=jt(it.map(function(ln){return ln.column}),Lt));var rn=qe(it.map(function(ln){return ln.column}));return ne.createElement(Pt,cn,it.map(function(ln,En){var yn=ln.column,xn=Ye(ln.colStart,ln.colEnd,yt,gt,Ht,yn),Sn;return yn&&yn.onHeaderCell&&(Sn=ln.column.onHeaderCell(yn)),ne.createElement(ut,(0,ae.Z)({},ln,{scope:yn.title?ln.colSpan>1?"colgroup":"col":null,ellipsis:yn.ellipsis,align:yn.align,component:yn.title?wt:Dt,prefixCls:Xt,key:rn[En]},xn,{additionalProps:Sn,rowType:"header"}))}))}kn.displayName="HeaderRow";var Fn=kn;function Tr(rt){var it=[];function gt(Dt,jt){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;it[Lt]=it[Lt]||[];var zt=jt,Xt=Dt.filter(Boolean).map(function(Ht){var cn={key:Ht.key,className:Ht.className||"",children:Ht.title,column:Ht,colStart:zt},rn=1,ln=Ht.children;return ln&&ln.length>0&&(rn=gt(ln,zt,Lt+1).reduce(function(En,yn){return En+yn},0),cn.hasSubColumns=!0),"colSpan"in Ht&&(rn=Ht.colSpan),"rowSpan"in Ht&&(cn.rowSpan=Ht.rowSpan),cn.colSpan=rn,cn.colEnd=cn.colStart+rn-1,it[Lt].push(cn),zt+=rn,rn});return Xt}gt(rt,0);for(var yt=it.length,Pt=function(jt){it[jt].forEach(function(Lt){!("rowSpan"in Lt)&&!Lt.hasSubColumns&&(Lt.rowSpan=yt-jt)})},wt=0;wt<yt;wt+=1)Pt(wt);return it}function Nr(rt){var it=rt.stickyOffsets,gt=rt.columns,yt=rt.flattenColumns,Pt=rt.onHeaderRow,wt=ue(pe,["prefixCls","getComponent"]),Dt=wt.prefixCls,jt=wt.getComponent,Lt=ne.useMemo(function(){return Tr(gt)},[gt]),zt=jt(["header","wrapper"],"thead"),Xt=jt(["header","row"],"tr"),Ht=jt(["header","cell"],"th"),cn=jt(["header","cell"],"td");return ne.createElement(zt,{className:"".concat(Dt,"-thead")},Lt.map(function(rn,ln){var En=ne.createElement(Fn,{key:ln,flattenColumns:yt,cells:rn,stickyOffsets:it,rowComponent:Xt,cellComponent:Ht,tdCellComponent:cn,onHeaderRow:Pt,index:ln});return En}))}var rr=te(Nr),Lr=ve(11592);function cr(rt){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof it=="number"?it:it.endsWith("%")?rt*parseFloat(it)/100:null}function br(rt,it){return ne.useMemo(function(){if(it&&it>0){var gt=0,yt=0;rt.forEach(function(zt){var Xt=cr(it,zt.width);Xt?gt+=Xt:yt+=1});var Pt=it-gt,wt=yt,Dt=Pt/yt,jt=0,Lt=rt.map(function(zt){var Xt=(0,Pe.Z)({},zt),Ht=cr(it,Xt.width);if(Ht)Xt.width=Ht;else{var cn=Math.floor(Dt);Xt.width=wt===1?Pt:cn,Pt-=cn,wt-=1}return jt+=Xt.width,Xt});return[Lt,jt]}return[rt,it]},[rt,it])}var Ot=["children"],At=["fixed"];function xt(rt){return(0,Lr.Z)(rt).filter(function(it){return ne.isValidElement(it)}).map(function(it){var gt=it.key,yt=it.props,Pt=yt.children,wt=(0,Le.Z)(yt,Ot),Dt=(0,Pe.Z)({key:gt},wt);return Pt&&(Dt.children=xt(Pt)),Dt})}function en(rt){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return rt.filter(function(gt){return gt&&(0,ye.Z)(gt)==="object"}).reduce(function(gt,yt,Pt){var wt=yt.fixed,Dt=wt===!0?"left":wt,jt="".concat(it,"-").concat(Pt),Lt=yt.children;return Lt&&Lt.length>0?[].concat((0,fn.Z)(gt),(0,fn.Z)(en(Lt,jt).map(function(zt){return(0,Pe.Z)({fixed:Dt},zt)}))):[].concat((0,fn.Z)(gt),[(0,Pe.Z)((0,Pe.Z)({key:jt},yt),{},{fixed:Dt})])},[])}function Rn(rt){for(var it=!0,gt=0;gt<rt.length;gt+=1){var yt=rt[gt];if(it&&yt.fixed!=="left")it=!1;else if(!it&&yt.fixed==="left"){warning(!1,"Index ".concat(gt-1," of `columns` missing `fixed='left'` prop."));break}}for(var Pt=!0,wt=rt.length-1;wt>=0;wt-=1){var Dt=rt[wt];if(Pt&&Dt.fixed!=="right")Pt=!1;else if(!Pt&&Dt.fixed==="right"){warning(!1,"Index ".concat(wt+1," of `columns` missing `fixed='right'` prop."));break}}}function pn(rt){return rt.map(function(it){var gt=it.fixed,yt=(0,Le.Z)(it,At),Pt=gt;return gt==="left"?Pt="right":gt==="right"&&(Pt="left"),(0,Pe.Z)({fixed:Pt},yt)})}function Fr(rt,it){var gt=rt.prefixCls,yt=rt.columns,Pt=rt.children,wt=rt.expandable,Dt=rt.expandedKeys,jt=rt.columnTitle,Lt=rt.getRowKey,zt=rt.onTriggerExpand,Xt=rt.expandIcon,Ht=rt.rowExpandable,cn=rt.expandIconColumnIndex,rn=rt.direction,ln=rt.expandRowByClick,En=rt.columnWidth,yn=rt.fixed,xn=rt.scrollWidth,Sn=ne.useMemo(function(){return yt||xt(Pt)},[yt,Pt]),Mn=ne.useMemo(function(){if(wt){var Jn,Zn=Sn.slice();if(!Zn.includes(be)){var Tn=cn||0;Tn>=0&&Zn.splice(Tn,0,be)}var Xn=Zn.indexOf(be);Zn=Zn.filter(function(gr,Hr){return gr!==be||Hr===Xn});var wr=Sn[Xn],Ur;(yn==="left"||yn)&&!cn?Ur="left":(yn==="right"||yn)&&cn===Sn.length?Ur="right":Ur=wr?wr.fixed:null;var Ir=(Jn={},(0,we.Z)(Jn,dn,{className:"".concat(gt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,we.Z)(Jn,"title",jt),(0,we.Z)(Jn,"fixed",Ur),(0,we.Z)(Jn,"className","".concat(gt,"-row-expand-icon-cell")),(0,we.Z)(Jn,"width",En),(0,we.Z)(Jn,"render",function(Hr,Kr,vo){var eo=Lt(Kr,vo),Bo=Dt.has(eo),Fo=Ht?Ht(Kr):!0,Mr=Xt({prefixCls:gt,expanded:Bo,expandable:Fo,record:Kr,onExpand:zt});return ln?ne.createElement("span",{onClick:function(to){return to.stopPropagation()}},Mr):Mr}),Jn);return Zn.map(function(gr){return gr===be?Ir:gr})}return Sn.filter(function(gr){return gr!==be})},[wt,Sn,Lt,Dt,Xt,rn]),or=ne.useMemo(function(){var Jn=Mn;return it&&(Jn=it(Jn)),Jn.length||(Jn=[{render:function(){return null}}]),Jn},[it,Mn,rn]),sr=ne.useMemo(function(){return rn==="rtl"?pn(en(or)):en(or)},[or,rn,xn]),Yn=br(sr,xn),xr=(0,E.Z)(Yn,2),Rr=xr[0],Wn=xr[1];return[or,Rr,Wn]}var ur=Fr;function Gt(rt){var it,gt=rt.prefixCls,yt=rt.record,Pt=rt.onExpand,wt=rt.expanded,Dt=rt.expandable,jt="".concat(gt,"-row-expand-icon");if(!Dt)return ne.createElement("span",{className:Ee()(jt,"".concat(gt,"-row-spaced"))});var Lt=function(Xt){Pt(yt,Xt),Xt.stopPropagation()};return ne.createElement("span",{className:Ee()(jt,(it={},(0,we.Z)(it,"".concat(gt,"-row-expanded"),wt),(0,we.Z)(it,"".concat(gt,"-row-collapsed"),!wt),it)),onClick:Lt})}function Tt(rt,it,gt){var yt=[];function Pt(wt){(wt||[]).forEach(function(Dt,jt){yt.push(it(Dt,jt)),Pt(Dt[gt])})}return Pt(rt),yt}function tn(rt,it,gt){var yt=Qt(rt),Pt=yt.expandIcon,wt=yt.expandedRowKeys,Dt=yt.defaultExpandedRowKeys,jt=yt.defaultExpandAllRows,Lt=yt.expandedRowRender,zt=yt.onExpand,Xt=yt.onExpandedRowsChange,Ht=yt.childrenColumnName,cn=Pt||Gt,rn=Ht||"children",ln=ne.useMemo(function(){return Lt?"row":rt.expandable&&rt.internalHooks===_e&&rt.expandable.__PARENT_RENDER_ICON__||it.some(function(sr){return sr&&(0,ye.Z)(sr)==="object"&&sr[rn]})?"nest":!1},[!!Lt,it]),En=ne.useState(function(){return Dt||(jt?Tt(it,gt,rn):[])}),yn=(0,E.Z)(En,2),xn=yn[0],Sn=yn[1],Mn=ne.useMemo(function(){return new Set(wt||xn||[])},[wt,xn]),or=ne.useCallback(function(sr){var Yn=gt(sr,it.indexOf(sr)),xr,Rr=Mn.has(Yn);Rr?(Mn.delete(Yn),xr=(0,fn.Z)(Mn)):xr=[].concat((0,fn.Z)(Mn),[Yn]),Sn(xr),zt&&zt(!Rr,sr),Xt&&Xt(xr)},[gt,Mn,it,zt,Xt]);return[yt,ln,Mn,cn,rn,or]}function Bt(rt,it,gt,yt){var Pt=rt.map(function(wt,Dt){return Ye(Dt,Dt,rt,it,gt,yt==null?void 0:yt[Dt])});return(0,Ae.Z)(function(){return Pt},[Pt],function(wt,Dt){return!(0,se.Z)(wt,Dt)})}function un(rt){var it=(0,ne.useRef)(rt),gt=(0,ne.useState)({}),yt=(0,E.Z)(gt,2),Pt=yt[1],wt=(0,ne.useRef)(null),Dt=(0,ne.useRef)([]);function jt(Lt){Dt.current.push(Lt);var zt=Promise.resolve();wt.current=zt,zt.then(function(){if(wt.current===zt){var Xt=Dt.current,Ht=it.current;Dt.current=[],Xt.forEach(function(cn){it.current=cn(it.current)}),wt.current=null,Ht!==it.current&&Pt({})}})}return(0,ne.useEffect)(function(){return function(){wt.current=null}},[]),[it.current,jt]}function Ut(rt){var it=(0,ne.useRef)(rt||null),gt=(0,ne.useRef)();function yt(){window.clearTimeout(gt.current)}function Pt(Dt){it.current=Dt,yt(),gt.current=window.setTimeout(function(){it.current=null,gt.current=void 0},100)}function wt(){return it.current}return(0,ne.useEffect)(function(){return yt},[]),[Pt,wt]}function An(){var rt=ne.useState(-1),it=(0,E.Z)(rt,2),gt=it[0],yt=it[1],Pt=ne.useState(-1),wt=(0,E.Z)(Pt,2),Dt=wt[0],jt=wt[1],Lt=ne.useCallback(function(zt,Xt){yt(zt),jt(Xt)},[]);return[gt,Dt,Lt]}var Pn=ve(47273),bt=(0,Pn.Z)()?window:null;function It(rt,it){var gt=(0,ye.Z)(rt)==="object"?rt:{},yt=gt.offsetHeader,Pt=yt===void 0?0:yt,wt=gt.offsetSummary,Dt=wt===void 0?0:wt,jt=gt.offsetScroll,Lt=jt===void 0?0:jt,zt=gt.getContainer,Xt=zt===void 0?function(){return bt}:zt,Ht=Xt()||bt;return ne.useMemo(function(){var cn=!!rt;return{isSticky:cn,stickyClassName:cn?"".concat(it,"-sticky-holder"):"",offsetHeader:Pt,offsetSummary:Dt,offsetScroll:Lt,container:Ht}},[Lt,Pt,Dt,it,Ht])}function Rt(rt,it,gt){var yt=(0,ne.useMemo)(function(){for(var Pt=[],wt=[],Dt=0,jt=0,Lt=0;Lt<it;Lt+=1)if(gt==="rtl"){wt[Lt]=jt,jt+=rt[Lt]||0;var zt=it-Lt-1;Pt[zt]=Dt,Dt+=rt[zt]||0}else{Pt[Lt]=Dt,Dt+=rt[Lt]||0;var Xt=it-Lt-1;wt[Xt]=jt,jt+=rt[Xt]||0}return{left:Pt,right:wt}},[rt,it,gt]);return yt}var Nt=Rt;function Yt(rt){var it=rt.className,gt=rt.children;return ne.createElement("div",{className:it},gt)}var $t=Yt,Kt=ve(8224),Vt=ve(55468),Dn=function(it,gt){var yt,Pt,wt=it.scrollBodyRef,Dt=it.onScroll,jt=it.offsetScroll,Lt=it.container,zt=ue(pe,"prefixCls"),Xt=((yt=wt.current)===null||yt===void 0?void 0:yt.scrollWidth)||0,Ht=((Pt=wt.current)===null||Pt===void 0?void 0:Pt.clientWidth)||0,cn=Xt&&Ht*(Ht/Xt),rn=ne.useRef(),ln=un({scrollLeft:0,isHiddenScrollBar:!1}),En=(0,E.Z)(ln,2),yn=En[0],xn=En[1],Sn=ne.useRef({delta:0,x:0}),Mn=ne.useState(!1),or=(0,E.Z)(Mn,2),sr=or[0],Yn=or[1],xr=function(){Yn(!1)},Rr=function(Xn){Xn.persist(),Sn.current.delta=Xn.pageX-yn.scrollLeft,Sn.current.x=0,Yn(!0),Xn.preventDefault()},Wn=function(Xn){var wr,Ur=Xn||((wr=window)===null||wr===void 0?void 0:wr.event),Ir=Ur.buttons;if(!sr||Ir===0){sr&&Yn(!1);return}var gr=Sn.current.x+Xn.pageX-Sn.current.x-Sn.current.delta;gr<=0&&(gr=0),gr+cn>=Ht&&(gr=Ht-cn),Dt({scrollLeft:gr/Ht*(Xt+2)}),Sn.current.x=Xn.pageX},Jn=function(){if(wt.current){var Xn=(0,Vt.os)(wt.current).top,wr=Xn+wt.current.offsetHeight,Ur=Lt===window?document.documentElement.scrollTop+window.innerHeight:(0,Vt.os)(Lt).top+Lt.clientHeight;wr-(0,nt.Z)()<=Ur||Xn>=Ur-jt?xn(function(Ir){return(0,Pe.Z)((0,Pe.Z)({},Ir),{},{isHiddenScrollBar:!0})}):xn(function(Ir){return(0,Pe.Z)((0,Pe.Z)({},Ir),{},{isHiddenScrollBar:!1})})}},Zn=function(Xn){xn(function(wr){return(0,Pe.Z)((0,Pe.Z)({},wr),{},{scrollLeft:Xn/Xt*Ht||0})})};return ne.useImperativeHandle(gt,function(){return{setScrollLeft:Zn}}),ne.useEffect(function(){var Tn=(0,Kt.Z)(document.body,"mouseup",xr,!1),Xn=(0,Kt.Z)(document.body,"mousemove",Wn,!1);return Jn(),function(){Tn.remove(),Xn.remove()}},[cn,sr]),ne.useEffect(function(){var Tn=(0,Kt.Z)(Lt,"scroll",Jn,!1),Xn=(0,Kt.Z)(window,"resize",Jn,!1);return function(){Tn.remove(),Xn.remove()}},[Lt]),ne.useEffect(function(){yn.isHiddenScrollBar||xn(function(Tn){var Xn=wt.current;return Xn?(0,Pe.Z)((0,Pe.Z)({},Tn),{},{scrollLeft:Xn.scrollLeft/Xn.scrollWidth*Xn.clientWidth}):Tn})},[yn.isHiddenScrollBar]),Xt<=Ht||!cn||yn.isHiddenScrollBar?null:ne.createElement("div",{style:{height:(0,nt.Z)(),width:Ht,bottom:jt},className:"".concat(zt,"-sticky-scroll")},ne.createElement("div",{onMouseDown:Rr,ref:rn,className:Ee()("".concat(zt,"-sticky-scroll-bar"),(0,we.Z)({},"".concat(zt,"-sticky-scroll-bar-active"),sr)),style:{width:"".concat(cn,"px"),transform:"translate3d(".concat(yn.scrollLeft,"px, 0, 0)")}}))},In=ne.forwardRef(Dn);function Ft(rt){return null}var Ar=Ft;function ar(rt){return null}var pr=ar,Wr="rc-table",gn=[],mn={};function On(){return"No Data"}function bn(rt){var it,gt=(0,Pe.Z)({rowKey:"key",prefixCls:Wr,emptyText:On},rt),yt=gt.prefixCls,Pt=gt.className,wt=gt.rowClassName,Dt=gt.style,jt=gt.data,Lt=gt.rowKey,zt=gt.scroll,Xt=gt.tableLayout,Ht=gt.direction,cn=gt.title,rn=gt.footer,ln=gt.summary,En=gt.caption,yn=gt.id,xn=gt.showHeader,Sn=gt.components,Mn=gt.emptyText,or=gt.onRow,sr=gt.onHeaderRow,Yn=gt.internalHooks,xr=gt.transformColumns,Rr=gt.internalRefs,Wn=gt.tailor,Jn=gt.sticky,Zn=jt||gn,Tn=!!Zn.length,Xn=Yn===_e,wr=ne.useCallback(function(uo,Oo){return(0,Ce.Z)(Sn,uo)||Oo},[Sn]),Ur=ne.useMemo(function(){return typeof Lt=="function"?Lt:function(uo){var Oo=uo&&uo[Lt];return Oo}},[Lt]),Ir=wr(["body"]),gr=An(),Hr=(0,E.Z)(gr,3),Kr=Hr[0],vo=Hr[1],eo=Hr[2],Bo=tn(gt,Zn,Ur),Fo=(0,E.Z)(Bo,6),Mr=Fo[0],Uo=Fo[1],to=Fo[2],_o=Fo[3],Eo=Fo[4],aa=Fo[5],Sr=zt==null?void 0:zt.x,mr=ne.useState(0),hr=(0,E.Z)(mr,2),tr=hr[0],no=hr[1],nr=ur((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},gt),Mr),{},{expandable:!!Mr.expandedRowRender,columnTitle:Mr.columnTitle,expandedKeys:to,getRowKey:Ur,onTriggerExpand:aa,expandIcon:_o,expandIconColumnIndex:Mr.expandIconColumnIndex,direction:Ht,scrollWidth:Xn&&Wn&&typeof Sr=="number"?Sr:null}),Xn?xr:null),Dr=(0,E.Z)(nr,3),Qr=Dr[0],Yr=Dr[1],Jo=Dr[2],Xo=Jo!=null?Jo:Sr,ya=ne.useMemo(function(){return{columns:Qr,flattenColumns:Yr}},[Qr,Yr]),Ho=ne.useRef(),ha=ne.useRef(),Go=ne.useRef(),ia=ne.useRef(),Ba=ne.useRef(),ao=ne.useState(!1),co=(0,E.Z)(ao,2),Io=co[0],Zo=co[1],Ko=ne.useState(!1),$r=(0,E.Z)(Ko,2),na=$r[0],Qo=$r[1],ua=un(new Map),Ca=(0,E.Z)(ua,2),Sa=Ca[0],Wa=Ca[1],Oa=qe(Yr),pa=Oa.map(function(uo){return Sa.get(uo)}),sa=ne.useMemo(function(){return pa},[pa.join("_")]),ra=Nt(sa,Yr.length,Ht),$o=zt&&Xe(zt.y),Ro=zt&&Xe(Xo)||!!Mr.fixed,Ea=Ro&&Yr.some(function(uo){var Oo=uo.fixed;return Oo}),Fa=ne.useRef(),Aa=It(Jn,yt),xa=Aa.isSticky,ei=Aa.offsetHeader,vi=Aa.offsetSummary,qr=Aa.offsetScroll,Po=Aa.stickyClassName,Yo=Aa.container,Mo=ne.useMemo(function(){return ln==null?void 0:ln(Zn)},[ln,Zn]),qo=($o||xa)&&ne.isValidElement(Mo)&&Mo.type===Fe&&Mo.props.fixed,la,ca,Ta;$o&&(ca={overflowY:"scroll",maxHeight:zt.y}),Ro&&(la={overflowX:"auto"},$o||(ca={overflowY:"hidden"}),Ta={width:Xo===!0?"auto":Xo,minWidth:"100%"});var Ii=ne.useCallback(function(uo,Oo){(0,ot.Z)(Ho.current)&&Wa(function(ma){if(ma.get(uo)!==Oo){var Da=new Map(ma);return Da.set(uo,Oo),Da}return ma})},[]),Ls=Ut(null),Ri=(0,E.Z)(Ls,2),As=Ri[0],Mi=Ri[1];function ti(uo,Oo){Oo&&(typeof Oo=="function"?Oo(uo):Oo.scrollLeft!==uo&&(Oo.scrollLeft=uo,Oo.scrollLeft!==uo&&setTimeout(function(){Oo.scrollLeft=uo},0)))}var Na=(0,he.Z)(function(uo){var Oo=uo.currentTarget,ma=uo.scrollLeft,Da=Ht==="rtl",ja=typeof ma=="number"?ma:Oo.scrollLeft,Yi=Oo||mn;if(!Mi()||Mi()===Yi){var wi;As(Yi),ti(ja,ha.current),ti(ja,Go.current),ti(ja,Ba.current),ti(ja,(wi=Fa.current)===null||wi===void 0?void 0:wi.setScrollLeft)}var Ci=Oo||ha.current;if(Ci){var Ei=Ci.scrollWidth,xi=Ci.clientWidth;if(Ei===xi){Zo(!1),Qo(!1);return}Da?(Zo(-ja<Ei-xi),Qo(-ja>0)):(Zo(ja>0),Qo(ja<Ei-xi))}}),Bi=function(){Ro&&Go.current?Na({currentTarget:Go.current}):(Zo(!1),Qo(!1))},Ds=function(Oo){var ma=Oo.width;ma!==tr&&(Bi(),no(Ho.current?Ho.current.offsetWidth:ma))},Fi=ne.useRef(!1);ne.useEffect(function(){Fi.current&&Bi()},[Ro,jt,Qr.length]),ne.useEffect(function(){Fi.current=!0},[]);var js=ne.useState(0),Ni=(0,E.Z)(js,2),ni=Ni[0],ki=Ni[1],Is=ne.useState(!0),zi=(0,E.Z)(Is,2),Ui=zi[0],Rs=zi[1];ne.useEffect(function(){(!Wn||!Xn)&&(Go.current instanceof Element?ki((0,nt.o)(Go.current).width):ki((0,nt.o)(ia.current).width)),Rs((0,ke.G)("position","sticky"))},[]),ne.useEffect(function(){Xn&&Rr&&(Rr.body.current=Go.current)});var Ms=ne.useCallback(function(uo){return ne.createElement(ne.Fragment,null,ne.createElement(rr,uo),qo==="top"&&ne.createElement(Te,uo,Mo))},[qo,Mo]),Bs=ne.useCallback(function(uo){return ne.createElement(Te,uo,Mo)},[Mo]),Hi=wr(["table"],"table"),ri=ne.useMemo(function(){return Xt||(Ea?Xo==="max-content"?"auto":"fixed":$o||xa||Yr.some(function(uo){var Oo=uo.ellipsis;return Oo})?"fixed":"auto")},[$o,Ea,Yr,Xt,xa]),yi,Si={colWidths:sa,columCount:Yr.length,stickyOffsets:ra,onHeaderRow:sr,fixHeader:$o,scroll:zt},Gi=ne.useMemo(function(){return Tn?null:typeof Mn=="function"?Mn():Mn},[Tn,Mn]),Wi=ne.createElement(kt,{data:Zn,measureColumnWidth:$o||Ro||xa}),Zi=ne.createElement(vn,{colWidths:Yr.map(function(uo){var Oo=uo.width;return Oo}),columns:Yr}),Ki=En!=null?ne.createElement("caption",{className:"".concat(yt,"-caption")},En):void 0,Fs=(0,mt.Z)(gt,{data:!0}),$i=(0,mt.Z)(gt,{aria:!0});if($o||xa){var bi;typeof Ir=="function"?(bi=Ir(Zn,{scrollbarSize:ni,ref:Go,onScroll:Na}),Si.colWidths=Yr.map(function(uo,Oo){var ma=uo.width,Da=Oo===Yr.length-1?ma-ni:ma;return typeof Da=="number"&&!Number.isNaN(Da)?Da:0})):bi=ne.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},la),ca),onScroll:Na,ref:Go,className:Ee()("".concat(yt,"-body"))},ne.createElement(Hi,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},Ta),{},{tableLayout:ri})},$i),Ki,Zi,Wi,!qo&&Mo&&ne.createElement(Te,{stickyOffsets:ra,flattenColumns:Yr,columns:Qr},Mo)));var Vi=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({noData:!Zn.length,maxContentScroll:Ro&&Xo==="max-content"},Si),ya),{},{direction:Ht,stickyClassName:Po,onScroll:Na});yi=ne.createElement(ne.Fragment,null,xn!==!1&&ne.createElement(_n,(0,ae.Z)({},Vi,{stickyTopOffset:ei,className:"".concat(yt,"-header"),ref:ha}),Ms),bi,qo&&qo!=="top"&&ne.createElement(_n,(0,ae.Z)({},Vi,{stickyBottomOffset:vi,className:"".concat(yt,"-summary"),ref:Ba}),Bs),xa&&ne.createElement(In,{ref:Fa,offsetScroll:qr,scrollBodyRef:Go,onScroll:Na,container:Yo}))}else yi=ne.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},la),ca),className:Ee()("".concat(yt,"-content")),onScroll:Na,ref:Go},ne.createElement(Hi,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},Ta),{},{tableLayout:ri})},$i),Ki,Zi,xn!==!1&&ne.createElement(rr,(0,ae.Z)({},Si,ya)),Wi,Mo&&ne.createElement(Te,{stickyOffsets:ra,flattenColumns:Yr,columns:Qr},Mo)));var Pi=ne.createElement("div",(0,ae.Z)({className:Ee()(yt,Pt,(it={},(0,we.Z)(it,"".concat(yt,"-rtl"),Ht==="rtl"),(0,we.Z)(it,"".concat(yt,"-ping-left"),Io),(0,we.Z)(it,"".concat(yt,"-ping-right"),na),(0,we.Z)(it,"".concat(yt,"-layout-fixed"),Xt==="fixed"),(0,we.Z)(it,"".concat(yt,"-fixed-header"),$o),(0,we.Z)(it,"".concat(yt,"-fixed-column"),Ea),(0,we.Z)(it,"".concat(yt,"-scroll-horizontal"),Ro),(0,we.Z)(it,"".concat(yt,"-has-fix-left"),Yr[0]&&Yr[0].fixed),(0,we.Z)(it,"".concat(yt,"-has-fix-right"),Yr[Yr.length-1]&&Yr[Yr.length-1].fixed==="right"),it)),style:Dt,id:yn,ref:Ho},Fs),cn&&ne.createElement($t,{className:"".concat(yt,"-title")},cn(Zn)),ne.createElement("div",{ref:ia,className:"".concat(yt,"-container")},yi),rn&&ne.createElement($t,{className:"".concat(yt,"-footer")},rn(Zn)));Ro&&(Pi=ne.createElement(Ke.Z,{onResize:Ds},Pi));var Xi=Bt(Yr,ra,Ht,Qr),Ns=ne.useMemo(function(){return{scrollX:Xo,prefixCls:yt,getComponent:wr,scrollbarSize:ni,direction:Ht,fixedInfoList:Xi,isSticky:xa,supportSticky:Ui,componentWidth:tr,fixHeader:$o,fixColumn:Ea,horizonScroll:Ro,tableLayout:ri,rowClassName:wt,expandedRowClassName:Mr.expandedRowClassName,expandIcon:_o,expandableType:Uo,expandRowByClick:Mr.expandRowByClick,expandedRowRender:Mr.expandedRowRender,onTriggerExpand:aa,expandIconColumnIndex:Mr.expandIconColumnIndex,indentSize:Mr.indentSize,allColumnsFixedLeft:Yr.every(function(uo){return uo.fixed==="left"}),emptyNode:Gi,columns:Qr,flattenColumns:Yr,onColumnResize:Ii,hoverStartRow:Kr,hoverEndRow:vo,onHover:eo,rowExpandable:Mr.rowExpandable,onRow:or,getRowKey:Ur,expandedKeys:to,childrenColumnName:Eo}},[Xo,yt,wr,ni,Ht,Xi,xa,Ui,tr,$o,Ea,Ro,ri,wt,Mr.expandedRowClassName,_o,Uo,Mr.expandRowByClick,Mr.expandedRowRender,aa,Mr.expandIconColumnIndex,Mr.indentSize,Gi,Qr,Yr,Ii,Kr,vo,eo,Mr.rowExpandable,or,Ur,to,Eo]);return ne.createElement(pe.Provider,{value:Ns},Pi)}function Pr(rt){return z(bn,rt)}var dr=Pr();dr.EXPAND_COLUMN=be,dr.INTERNAL_HOOKS=_e,dr.Column=Ar,dr.ColumnGroup=pr,dr.Summary=xe;var Qn=dr,kr=ve(65283),an=ce(null),bo=ce(null);function yo(rt,it,gt){var yt=it||1;return gt[rt+yt]-(gt[rt]||0)}function io(rt){var it=rt.rowInfo,gt=rt.column,yt=rt.colIndex,Pt=rt.indent,wt=rt.index,Dt=rt.renderIndex,jt=rt.record,Lt=rt.style,zt=rt.className,Xt=rt.inverse,Ht=rt.getHeight,cn=gt.render,rn=gt.dataIndex,ln=gt.className,En=gt.width,yn=ue(bo,["columnsOffset"]),xn=yn.columnsOffset,Sn=st(it,gt,yt,Pt,wt),Mn=Sn.key,or=Sn.fixedInfo,sr=Sn.appendCellNode,Yn=Sn.additionalCellProps,xr=Yn.style,Rr=Yn.colSpan,Wn=Rr===void 0?1:Rr,Jn=Yn.rowSpan,Zn=Jn===void 0?1:Jn,Tn=yt-1,Xn=yo(Tn,Wn,xn),wr=Wn>1?En-Xn:0,Ur=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},xr),Lt),{},{flex:"0 0 ".concat(Xn,"px"),width:"".concat(Xn,"px"),marginRight:wr,pointerEvents:"auto"}),Ir=ne.useMemo(function(){return Xt?Zn<=1:Wn===0||Zn===0||Zn>1},[Zn,Wn,Xt]);Ir?Ur.visibility="hidden":Xt&&(Ur.height=Ht==null?void 0:Ht(Zn));var gr=Ir?function(){return null}:cn,Hr={};return(Zn===0||Wn===0)&&(Hr.rowSpan=1,Hr.colSpan=1),ne.createElement(ut,(0,ae.Z)({className:Ee()(ln,zt),ellipsis:gt.ellipsis,align:gt.align,scope:gt.rowScope,component:"div",prefixCls:it.prefixCls,key:Mn,record:jt,index:wt,renderIndex:Dt,dataIndex:rn,render:gr,shouldCellUpdate:gt.shouldCellUpdate},or,{appendNode:sr,additionalProps:(0,Pe.Z)((0,Pe.Z)({},Yn),{},{style:Ur},Hr)}))}var To=io,Lo=["data","index","className","rowKey","style","extra","getHeight"],Ao=ne.forwardRef(function(rt,it){var gt=rt.data,yt=rt.index,Pt=rt.className,wt=rt.rowKey,Dt=rt.style,jt=rt.extra,Lt=rt.getHeight,zt=(0,Le.Z)(rt,Lo),Xt=gt.record,Ht=gt.indent,cn=gt.index,rn=ue(pe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ln=rn.scrollX,En=rn.flattenColumns,yn=rn.prefixCls,xn=rn.fixColumn,Sn=rn.componentWidth,Mn=at(Xt,wt,yt,Ht),or=Mn.rowSupportExpand,sr=Mn.expanded,Yn=Mn.rowProps,xr=Mn.expandedRowRender,Rr=Mn.expandedRowClassName,Wn;if(or&&sr){var Jn=xr(Xt,yt,Ht+1,sr),Zn=Rr==null?void 0:Rr(Xt,yt,Ht),Tn={};xn&&(Tn={style:(0,we.Z)({},"--virtual-width","".concat(Sn,"px"))});var Xn="".concat(yn,"-expanded-row-cell");Wn=ne.createElement("div",{className:Ee()("".concat(yn,"-expanded-row"),"".concat(yn,"-expanded-row-level-").concat(Ht+1),Zn)},ne.createElement(ut,{component:"div",prefixCls:yn,className:Ee()(Xn,(0,we.Z)({},"".concat(Xn,"-fixed"),xn)),additionalProps:Tn},Jn))}var wr=(0,Pe.Z)((0,Pe.Z)({},Dt),{},{width:ln});jt&&(wr.position="absolute",wr.pointerEvents="none");var Ur=ne.createElement("div",(0,ae.Z)({},Yn,zt,{ref:or?null:it,className:Ee()(Pt,"".concat(yn,"-row"),Yn==null?void 0:Yn.className,(0,we.Z)({},"".concat(yn,"-row-extra"),jt)),style:(0,Pe.Z)((0,Pe.Z)({},wr),Yn==null?void 0:Yn.style)}),En.map(function(Ir,gr){return ne.createElement(To,{key:gr,rowInfo:Mn,column:Ir,colIndex:gr,indent:Ht,index:yt,renderIndex:cn,record:Xt,inverse:jt,getHeight:Lt})}));return or?ne.createElement("div",{ref:it},Ur,Wn):Ur}),Do=te(Ao),fr=Do,ir=ne.forwardRef(function(rt,it){var gt=rt.data,yt=rt.onScroll,Pt=ue(pe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),wt=Pt.flattenColumns,Dt=Pt.onColumnResize,jt=Pt.getRowKey,Lt=Pt.expandedKeys,zt=Pt.prefixCls,Xt=Pt.childrenColumnName,Ht=Pt.emptyNode,cn=Pt.scrollX,rn=ue(an),ln=rn.scrollY,En=rn.listItemHeight,yn=ne.useRef(),xn=ht(gt,Xt,Lt,jt),Sn=ne.useMemo(function(){var Wn=0;return wt.map(function(Jn){var Zn=Jn.width,Tn=Jn.key;return Wn+=Zn,[Tn,Zn,Wn]})},[wt]),Mn=ne.useMemo(function(){return Sn.map(function(Wn){return Wn[2]})},[Sn]);ne.useEffect(function(){Sn.forEach(function(Wn){var Jn=(0,E.Z)(Wn,2),Zn=Jn[0],Tn=Jn[1];Dt(Zn,Tn)})},[Sn]),ne.useImperativeHandle(it,function(){var Wn={};return Object.defineProperty(Wn,"scrollLeft",{get:function(){var Zn;return((Zn=yn.current)===null||Zn===void 0?void 0:Zn.getScrollInfo().x)||0},set:function(Zn){var Tn;(Tn=yn.current)===null||Tn===void 0||Tn.scrollTo({left:Zn})}}),Wn});var or=function(Jn,Zn){var Tn,Xn=(Tn=xn[Zn])===null||Tn===void 0?void 0:Tn.record,wr=Jn.onCell;if(wr){var Ur,Ir=wr(Xn,Zn);return(Ur=Ir==null?void 0:Ir.rowSpan)!==null&&Ur!==void 0?Ur:1}return 1},sr=function(Jn){var Zn=Jn.start,Tn=Jn.end,Xn=Jn.getSize,wr=Jn.offsetY;if(Tn<0)return null;for(var Ur=wt.filter(function(Sr){return or(Sr,Zn)===0}),Ir=Zn,gr=function(mr){if(Ur=Ur.filter(function(hr){return or(hr,mr)===0}),!Ur.length)return Ir=mr,"break"},Hr=Zn;Hr>=0;Hr-=1){var Kr=gr(Hr);if(Kr==="break")break}for(var vo=wt.filter(function(Sr){return or(Sr,Tn)!==1}),eo=Tn,Bo=function(mr){if(vo=vo.filter(function(hr){return or(hr,mr)!==1}),!vo.length)return eo=Math.max(mr-1,Tn),"break"},Fo=Tn;Fo<xn.length;Fo+=1){var Mr=Bo(Fo);if(Mr==="break")break}for(var Uo=[],to=function(mr){var hr=xn[mr];if(!hr)return"continue";wt.some(function(tr){return or(tr,mr)>1})&&Uo.push(mr)},_o=Ir;_o<=eo;_o+=1)var Eo=to(_o);var aa=Uo.map(function(Sr){var mr=xn[Sr],hr=jt(mr.record,Sr),tr=function(Dr){var Qr=Sr+Dr-1,Yr=jt(xn[Qr].record,Qr),Jo=Xn(hr,Yr);return Jo.bottom-Jo.top},no=Xn(hr);return ne.createElement(fr,{key:Sr,data:mr,rowKey:hr,index:Sr,style:{top:-wr+no.top},extra:!0,getHeight:tr})});return aa},Yn=ne.useMemo(function(){return{columnsOffset:Mn}},[Mn]),xr="".concat(zt,"-tbody"),Rr;return xn.length?Rr=ne.createElement(kr.Z,{fullHeight:!1,ref:yn,className:Ee()(xr,"".concat(xr,"-virtual")),height:ln,itemHeight:En||24,data:xn,itemKey:function(Jn){return jt(Jn.record)},scrollWidth:cn,onVirtualScroll:function(Jn){var Zn=Jn.x;yt({scrollLeft:Zn})},extraRender:sr},function(Wn,Jn,Zn){var Tn=jt(Wn.record,Jn);return ne.createElement(fr,(0,ae.Z)({data:Wn,rowKey:Tn,index:Jn},Zn))}):Rr=ne.createElement("div",{className:Ee()("".concat(zt,"-placeholder"))},ne.createElement(ut,{component:"div",prefixCls:zt},Ht)),ne.createElement(bo.Provider,{value:Yn},Rr)}),xo=te(ir),jr=xo,fo=function(it,gt){var yt=gt.ref,Pt=gt.onScroll;return ne.createElement(jr,{ref:yt,data:it,onScroll:Pt})},So=100;function po(rt){var it=rt.columns,gt=rt.scroll,yt=rt.prefixCls,Pt=yt===void 0?Wr:yt,wt=rt.className,Dt=rt.listItemHeight,jt=gt||{},Lt=jt.x,zt=jt.y;typeof Lt!="number"&&(Lt=((it||[]).length+1)*So),typeof zt!="number"&&(zt=500);var Xt=ne.useMemo(function(){return{scrollY:zt,listItemHeight:Dt}},[zt,Dt]);return ne.createElement(an.Provider,{value:Xt},ne.createElement(Qn,(0,ae.Z)({},rt,{className:Ee()(wt,"".concat(Pt,"-virtual")),scroll:(0,Pe.Z)((0,Pe.Z)({},gt),{},{x:Lt}),components:{body:fo},columns:it,internalHooks:_e,tailor:!0})))}function Vr(rt){return z(po,rt)}var Cr=Vr(),Xr=null;function ro(rt){return null}var jo=ro;function wo(rt){return null}var _t=wo,Wt=ve(2738),qt=ve(68031),Ln=ve(36355),Hn=ve(93891),Kn=ve(19716),yr=ve(8628),zn=ve(31724),jn=ve(58421),sn=ve(71418),Zt=ve(88088);function hn(rt){return function(gt){let{prefixCls:yt,onExpand:Pt,record:wt,expanded:Dt,expandable:jt}=gt;const Lt=`${yt}-row-expand-icon`;return ne.createElement("button",{type:"button",onClick:zt=>{Pt(wt,zt),zt.stopPropagation()},className:Ee()(Lt,{[`${Lt}-spaced`]:!jt,[`${Lt}-expanded`]:jt&&Dt,[`${Lt}-collapsed`]:jt&&!Dt}),"aria-label":Dt?rt.collapse:rt.expand,"aria-expanded":Dt})}}var nn=hn;function Gn(rt,it){return"key"in rt&&rt.key!==void 0&&rt.key!==null?rt.key:rt.dataIndex?Array.isArray(rt.dataIndex)?rt.dataIndex.join("."):rt.dataIndex:it}function Vn(rt,it){return it?`${it}-${rt}`:`${rt}`}function _r(rt,it){return typeof rt=="function"?rt(it):rt}function Br(rt,it){const gt=_r(rt,it);return Object.prototype.toString.call(gt)==="[object Object]"?"":gt}var so={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"},oo=so,Jr=ve(7657),ho=function(it,gt){return ne.createElement(Jr.Z,(0,ae.Z)({},it,{ref:gt,icon:oo}))},vr=ne.forwardRef(ho),$n=vr,qn=ve(56762);function Cn(rt){const it=ne.useRef(rt),gt=(0,qn.Z)();return[()=>it.current,yt=>{it.current=yt,gt()}]}var er=ve(3113),zr=ve(24905),Or=ve(38854),mo=ve(64165),Co=ve(20834),lo=ve(40875),ga=ve(5112),da=ve(17574),No=ve(47472),fa=ve(92832);function zo(rt){let{value:it,onChange:gt,filterSearch:yt,tablePrefixCls:Pt,locale:wt}=rt;return yt?ne.createElement("div",{className:`${Pt}-filter-dropdown-search`},ne.createElement(fa.default,{prefix:ne.createElement(No.Z,null),placeholder:wt.filterSearchPlaceholder,onChange:gt,value:it,htmlSize:1,className:`${Pt}-filter-dropdown-search-input`})):null}var Er=zo,Gr=ve(10228);const Vo=rt=>{const{keyCode:it}=rt;it===Gr.Z.ENTER&&rt.stopPropagation()};var Ia=ne.forwardRef((rt,it)=>ne.createElement("div",{className:rt.className,onClick:gt=>gt.stopPropagation(),onKeyDown:Vo,ref:it},rt.children));function ba(rt){let it=[];return(rt||[]).forEach(gt=>{let{value:yt,children:Pt}=gt;it.push(yt),Pt&&(it=[].concat((0,fn.Z)(it),(0,fn.Z)(ba(Pt))))}),it}function Za(rt){return rt.some(it=>{let{children:gt}=it;return gt})}function Ka(rt,it){return typeof it=="string"||typeof it=="number"?it==null?void 0:it.toString().toLowerCase().includes(rt.trim().toLowerCase()):!1}function $a(rt){let{filters:it,prefixCls:gt,filteredKeys:yt,filterMultiple:Pt,searchValue:wt,filterSearch:Dt}=rt;return it.map((jt,Lt)=>{const zt=String(jt.value);if(jt.children)return{key:zt||Lt,label:jt.text,popupClassName:`${gt}-dropdown-submenu`,children:$a({filters:jt.children,prefixCls:gt,filteredKeys:yt,filterMultiple:Pt,searchValue:wt,filterSearch:Dt})};const Xt=Pt?zr.default:ga.ZP,Ht={key:jt.value!==void 0?zt:Lt,label:ne.createElement(ne.Fragment,null,ne.createElement(Xt,{checked:yt.includes(zt)}),ne.createElement("span",null,jt.text))};return wt.trim()?typeof Dt=="function"?Dt(wt,jt)?Ht:null:Ka(wt,jt.text)?Ht:null:Ht})}function oi(rt){var it,gt;const{tablePrefixCls:yt,prefixCls:Pt,column:wt,dropdownPrefixCls:Dt,columnKey:jt,filterMultiple:Lt,filterMode:zt="menu",filterSearch:Xt=!1,filterState:Ht,triggerFilter:cn,locale:rn,children:ln,getPopupContainer:En}=rt,{filterDropdownOpen:yn,onFilterDropdownOpenChange:xn,filterResetToDefaultFilteredValue:Sn,defaultFilteredValue:Mn,filterDropdownVisible:or,onFilterDropdownVisibleChange:sr}=wt,[Yn,xr]=ne.useState(!1),Rr=!!(Ht&&(!((it=Ht.filteredKeys)===null||it===void 0)&&it.length||Ht.forceFiltered)),Wn=nr=>{xr(nr),xn==null||xn(nr),sr==null||sr(nr)},Jn=(gt=yn!=null?yn:or)!==null&>!==void 0?gt:Yn,Zn=Ht==null?void 0:Ht.filteredKeys,[Tn,Xn]=Cn(Zn||[]),wr=nr=>{let{selectedKeys:Dr}=nr;Xn(Dr)},Ur=(nr,Dr)=>{let{node:Qr,checked:Yr}=Dr;wr(Lt?{selectedKeys:nr}:{selectedKeys:Yr&&Qr.key?[Qr.key]:[]})};ne.useEffect(()=>{Yn&&wr({selectedKeys:Zn||[]})},[Zn]);const[Ir,gr]=ne.useState([]),Hr=nr=>{gr(nr)},[Kr,vo]=ne.useState(""),eo=nr=>{const{value:Dr}=nr.target;vo(Dr)};ne.useEffect(()=>{Yn||vo("")},[Yn]);const Bo=nr=>{const Dr=nr&&nr.length?nr:null;if(Dr===null&&(!Ht||!Ht.filteredKeys)||(0,se.Z)(Dr,Ht==null?void 0:Ht.filteredKeys,!0))return null;cn({column:wt,key:jt,filteredKeys:Dr})},Fo=()=>{Wn(!1),Bo(Tn())},Mr=function(){let{confirm:nr,closeDropdown:Dr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};nr&&Bo([]),Dr&&Wn(!1),vo(""),Xn(Sn?(Mn||[]).map(Qr=>String(Qr)):[])},Uo=function(){let{closeDropdown:nr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};nr&&Wn(!1),Bo(Tn())},to=nr=>{nr&&Zn!==void 0&&Xn(Zn||[]),Wn(nr),!nr&&!wt.filterDropdown&&Fo()},_o=Ee()({[`${Dt}-menu-without-submenu`]:!Za(wt.filters||[])}),Eo=nr=>{if(nr.target.checked){const Dr=ba(wt==null?void 0:wt.filters).map(Qr=>String(Qr));Xn(Dr)}else Xn([])},aa=nr=>{let{filters:Dr}=nr;return(Dr||[]).map((Qr,Yr)=>{const Jo=String(Qr.value),Xo={title:Qr.text,key:Qr.value!==void 0?Jo:Yr};return Qr.children&&(Xo.children=aa({filters:Qr.children})),Xo})},Sr=nr=>{var Dr;return Object.assign(Object.assign({},nr),{text:nr.title,value:nr.key,children:((Dr=nr.children)===null||Dr===void 0?void 0:Dr.map(Qr=>Sr(Qr)))||[]})};let mr;if(typeof wt.filterDropdown=="function")mr=wt.filterDropdown({prefixCls:`${Dt}-custom`,setSelectedKeys:nr=>wr({selectedKeys:nr}),selectedKeys:Tn(),confirm:Uo,clearFilters:Mr,filters:wt.filters,visible:Jn,close:()=>{Wn(!1)}});else if(wt.filterDropdown)mr=wt.filterDropdown;else{const nr=Tn()||[],Dr=()=>(wt.filters||[]).length===0?ne.createElement(mo.Z,{image:mo.Z.PRESENTED_IMAGE_SIMPLE,description:rn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):zt==="tree"?ne.createElement(ne.Fragment,null,ne.createElement(Er,{filterSearch:Xt,value:Kr,onChange:eo,tablePrefixCls:yt,locale:rn}),ne.createElement("div",{className:`${yt}-filter-dropdown-tree`},Lt?ne.createElement(zr.default,{checked:nr.length===ba(wt.filters).length,indeterminate:nr.length>0&&nr.length<ba(wt.filters).length,className:`${yt}-filter-dropdown-checkall`,onChange:Eo},rn.filterCheckall):null,ne.createElement(da.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Lt,checkStrictly:!Lt,className:`${Dt}-menu`,onCheck:Ur,checkedKeys:nr,selectedKeys:nr,showIcon:!1,treeData:aa({filters:wt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Kr.trim()?Yr=>typeof Xt=="function"?Xt(Kr,Sr(Yr)):Ka(Kr,Yr.title):void 0}))):ne.createElement(ne.Fragment,null,ne.createElement(Er,{filterSearch:Xt,value:Kr,onChange:eo,tablePrefixCls:yt,locale:rn}),ne.createElement(Co.default,{selectable:!0,multiple:Lt,prefixCls:`${Dt}-menu`,className:_o,onSelect:wr,onDeselect:wr,selectedKeys:nr,getPopupContainer:En,openKeys:Ir,onOpenChange:Hr,items:$a({filters:wt.filters||[],filterSearch:Xt,prefixCls:Pt,filteredKeys:Tn(),filterMultiple:Lt,searchValue:Kr})})),Qr=()=>Sn?(0,se.Z)((Mn||[]).map(Yr=>String(Yr)),nr,!0):nr.length===0;mr=ne.createElement(ne.Fragment,null,Dr(),ne.createElement("div",{className:`${Pt}-dropdown-btns`},ne.createElement(er.ZP,{type:"link",size:"small",disabled:Qr(),onClick:()=>Mr()},rn.filterReset),ne.createElement(er.ZP,{type:"primary",size:"small",onClick:Fo},rn.filterConfirm)))}wt.filterDropdown&&(mr=ne.createElement(lo.J,{selectable:void 0},mr));const hr=()=>ne.createElement(Ia,{className:`${Pt}-dropdown`},mr);let tr;typeof wt.filterIcon=="function"?tr=wt.filterIcon(Rr):wt.filterIcon?tr=wt.filterIcon:tr=ne.createElement($n,null);const{direction:no}=ne.useContext(Ln.E_);return ne.createElement("div",{className:`${Pt}-column`},ne.createElement("span",{className:`${yt}-column-title`},ln),ne.createElement(Or.Z,{dropdownRender:hr,trigger:["click"],open:Jn,onOpenChange:to,getPopupContainer:En,placement:no==="rtl"?"bottomLeft":"bottomRight"},ne.createElement("span",{role:"button",tabIndex:-1,className:Ee()(`${Pt}-trigger`,{active:Rr}),onClick:nr=>{nr.stopPropagation()}},tr)))}var Ra=oi;function ka(rt,it,gt){let yt=[];return(rt||[]).forEach((Pt,wt)=>{var Dt;const jt=Vn(wt,gt);if(Pt.filters||"filterDropdown"in Pt||"onFilter"in Pt)if("filteredValue"in Pt){let Lt=Pt.filteredValue;"filterDropdown"in Pt||(Lt=(Dt=Lt==null?void 0:Lt.map(String))!==null&&Dt!==void 0?Dt:Lt),yt.push({column:Pt,key:Gn(Pt,jt),filteredKeys:Lt,forceFiltered:Pt.filtered})}else yt.push({column:Pt,key:Gn(Pt,jt),filteredKeys:it&&Pt.defaultFilteredValue?Pt.defaultFilteredValue:void 0,forceFiltered:Pt.filtered});"children"in Pt&&(yt=[].concat((0,fn.Z)(yt),(0,fn.Z)(ka(Pt.children,it,jt))))}),yt}function Va(rt,it,gt,yt,Pt,wt,Dt,jt){return gt.map((Lt,zt)=>{const Xt=Vn(zt,jt),{filterMultiple:Ht=!0,filterMode:cn,filterSearch:rn}=Lt;let ln=Lt;if(ln.filters||ln.filterDropdown){const En=Gn(ln,Xt),yn=yt.find(xn=>{let{key:Sn}=xn;return En===Sn});ln=Object.assign(Object.assign({},ln),{title:xn=>ne.createElement(Ra,{tablePrefixCls:rt,prefixCls:`${rt}-filter`,dropdownPrefixCls:it,column:ln,columnKey:En,filterState:yn,filterMultiple:Ht,filterMode:cn,filterSearch:rn,triggerFilter:wt,locale:Pt,getPopupContainer:Dt},_r(Lt.title,xn))})}return"children"in ln&&(ln=Object.assign(Object.assign({},ln),{children:Va(rt,it,ln.children,yt,Pt,wt,Dt,Xt)})),ln})}function La(rt){const it={};return rt.forEach(gt=>{let{key:yt,filteredKeys:Pt,column:wt}=gt;const{filters:Dt,filterDropdown:jt}=wt;if(jt)it[yt]=Pt||null;else if(Array.isArray(Pt)){const Lt=ba(Dt);it[yt]=Lt.filter(zt=>Pt.includes(String(zt)))}else it[yt]=null}),it}function za(rt,it){return it.reduce((gt,yt)=>{const{column:{onFilter:Pt,filters:wt},filteredKeys:Dt}=yt;return Pt&&Dt&&Dt.length?gt.filter(jt=>Dt.some(Lt=>{const zt=ba(wt),Xt=zt.findIndex(cn=>String(cn)===String(Lt)),Ht=Xt!==-1?zt[Xt]:Lt;return Pt(Ht,jt)})):gt},rt)}const Ua=rt=>rt.flatMap(it=>"children"in it?[it].concat((0,fn.Z)(Ua(it.children||[]))):[it]);function Ha(rt){let{prefixCls:it,dropdownPrefixCls:gt,mergedColumns:yt,onFilterChange:Pt,getPopupContainer:wt,locale:Dt}=rt;const jt=ne.useMemo(()=>Ua(yt||[]),[yt]),[Lt,zt]=ne.useState(()=>ka(jt,!0)),Xt=ne.useMemo(()=>{const ln=ka(jt,!1);if(ln.length===0)return ln;let En=!0,yn=!0;if(ln.forEach(xn=>{let{filteredKeys:Sn}=xn;Sn!==void 0?En=!1:yn=!1}),En){const xn=(jt||[]).map((Sn,Mn)=>Gn(Sn,Vn(Mn)));return Lt.filter(Sn=>{let{key:Mn}=Sn;return xn.includes(Mn)}).map(Sn=>{const Mn=jt[xn.findIndex(or=>or===Sn.key)];return Object.assign(Object.assign({},Sn),{column:Object.assign(Object.assign({},Sn.column),Mn),forceFiltered:Mn.filtered})})}return ln},[jt,Lt]),Ht=ne.useMemo(()=>La(Xt),[Xt]),cn=ln=>{const En=Xt.filter(yn=>{let{key:xn}=yn;return xn!==ln.key});En.push(ln),zt(En),Pt(La(En),En)};return[ln=>Va(it,gt,ln,Xt,Dt,cn,wt),Xt,Ht]}var ai=Ha;function ii(rt,it,gt){const yt=ne.useRef({});function Pt(wt){if(!yt.current||yt.current.data!==rt||yt.current.childrenColumnName!==it||yt.current.getRowKey!==gt){let jt=function(Lt){Lt.forEach((zt,Xt)=>{const Ht=gt(zt,Xt);Dt.set(Ht,zt),zt&&typeof zt=="object"&&it in zt&&jt(zt[it]||[])})};const Dt=new Map;jt(rt),yt.current={data:rt,childrenColumnName:it,kvMap:Dt,getRowKey:gt}}return yt.current.kvMap.get(wt)}return[Pt]}var si=ve(50371),li=function(rt,it){var gt={};for(var yt in rt)Object.prototype.hasOwnProperty.call(rt,yt)&&it.indexOf(yt)<0&&(gt[yt]=rt[yt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,yt=Object.getOwnPropertySymbols(rt);Pt<yt.length;Pt++)it.indexOf(yt[Pt])<0&&Object.prototype.propertyIsEnumerable.call(rt,yt[Pt])&&(gt[yt[Pt]]=rt[yt[Pt]]);return gt};const Xa=10;function ci(rt,it){const gt={current:rt.current,pageSize:rt.pageSize};return Object.keys(it&&typeof it=="object"?it:{}).forEach(Pt=>{const wt=rt[Pt];typeof wt!="function"&&(gt[Pt]=wt)}),gt}function ui(rt,it,gt){const yt=gt&&typeof gt=="object"?gt:{},{total:Pt=0}=yt,wt=li(yt,["total"]),[Dt,jt]=(0,ne.useState)(()=>({current:"defaultCurrent"in wt?wt.defaultCurrent:1,pageSize:"defaultPageSize"in wt?wt.defaultPageSize:Xa})),Lt=(0,si.Z)(Dt,wt,{total:Pt>0?Pt:rt}),zt=Math.ceil((Pt||rt)/Lt.pageSize);Lt.current>zt&&(Lt.current=zt||1);const Xt=(cn,rn)=>{jt({current:cn!=null?cn:1,pageSize:rn||Lt.pageSize})},Ht=(cn,rn)=>{var ln;gt&&((ln=gt.onChange)===null||ln===void 0||ln.call(gt,cn,rn)),Xt(cn,rn),it(cn,rn||(Lt==null?void 0:Lt.pageSize))};return gt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Lt),{onChange:Ht}),Xt]}var di=ui,fi=ve(84105),Ya=ve(35654),lr=ve(90782),Zr=ve(71430),ea=ve(18929);const Wo={},Pa="SELECT_ALL",va="SELECT_INVERT",ta="SELECT_NONE",ko=[],wa=(rt,it)=>{let gt=[];return(it||[]).forEach(yt=>{gt.push(yt),yt&&typeof yt=="object"&&rt in yt&&(gt=[].concat((0,fn.Z)(gt),(0,fn.Z)(wa(rt,yt[rt]))))}),gt};var Ma=(rt,it)=>{const{preserveSelectedRowKeys:gt,selectedRowKeys:yt,defaultSelectedRowKeys:Pt,getCheckboxProps:wt,onChange:Dt,onSelect:jt,onSelectAll:Lt,onSelectInvert:zt,onSelectNone:Xt,onSelectMultiple:Ht,columnWidth:cn,type:rn,selections:ln,fixed:En,renderCell:yn,hideSelectAll:xn,checkStrictly:Sn=!0}=it||{},{prefixCls:Mn,data:or,pageData:sr,getRecordByKey:Yn,getRowKey:xr,expandType:Rr,childrenColumnName:Wn,locale:Jn,getPopupContainer:Zn}=rt,[Tn,Xn]=(0,ea.Z)(yt||Pt||ko,{value:yt}),wr=ne.useRef(new Map),Ur=(0,ne.useCallback)(Sr=>{if(gt){const mr=new Map;Sr.forEach(hr=>{let tr=Yn(hr);!tr&&wr.current.has(hr)&&(tr=wr.current.get(hr)),mr.set(hr,tr)}),wr.current=mr}},[Yn,gt]);ne.useEffect(()=>{Ur(Tn)},[Tn]);const{keyEntities:Ir}=(0,ne.useMemo)(()=>{if(Sn)return{keyEntities:null};let Sr=or;if(gt){const mr=new Set(or.map((tr,no)=>xr(tr,no))),hr=Array.from(wr.current).reduce((tr,no)=>{let[nr,Dr]=no;return mr.has(nr)?tr:tr.concat(Dr)},[]);Sr=[].concat((0,fn.Z)(Sr),(0,fn.Z)(hr))}return(0,Zr.I8)(Sr,{externalGetKey:xr,childrenPropName:Wn})},[or,xr,Sn,Wn,gt]),gr=(0,ne.useMemo)(()=>wa(Wn,sr),[Wn,sr]),Hr=(0,ne.useMemo)(()=>{const Sr=new Map;return gr.forEach((mr,hr)=>{const tr=xr(mr,hr),no=(wt?wt(mr):null)||{};Sr.set(tr,no)}),Sr},[gr,xr,wt]),Kr=(0,ne.useCallback)(Sr=>{var mr;return!!(!((mr=Hr.get(xr(Sr)))===null||mr===void 0)&&mr.disabled)},[Hr,xr]),[vo,eo]=(0,ne.useMemo)(()=>{if(Sn)return[Tn||[],[]];const{checkedKeys:Sr,halfCheckedKeys:mr}=(0,lr.S)(Tn,!0,Ir,Kr);return[Sr||[],mr]},[Tn,Sn,Ir,Kr]),Bo=(0,ne.useMemo)(()=>{const Sr=rn==="radio"?vo.slice(0,1):vo;return new Set(Sr)},[vo,rn]),Fo=(0,ne.useMemo)(()=>rn==="radio"?new Set:new Set(eo),[eo,rn]),[Mr,Uo]=(0,ne.useState)(null);ne.useEffect(()=>{it||Xn(ko)},[!!it]);const to=(0,ne.useCallback)((Sr,mr)=>{let hr,tr;Ur(Sr),gt?(hr=Sr,tr=Sr.map(no=>wr.current.get(no))):(hr=[],tr=[],Sr.forEach(no=>{const nr=Yn(no);nr!==void 0&&(hr.push(no),tr.push(nr))})),Xn(hr),Dt==null||Dt(hr,tr,{type:mr})},[Xn,Yn,Dt,gt]),_o=(0,ne.useCallback)((Sr,mr,hr,tr)=>{if(jt){const no=hr.map(nr=>Yn(nr));jt(Yn(Sr),mr,no,tr)}to(hr,"single")},[jt,Yn,to]),Eo=(0,ne.useMemo)(()=>!ln||xn?null:(ln===!0?[Pa,va,ta]:ln).map(mr=>mr===Pa?{key:"all",text:Jn.selectionAll,onSelect(){to(or.map((hr,tr)=>xr(hr,tr)).filter(hr=>{const tr=Hr.get(hr);return!(tr!=null&&tr.disabled)||Bo.has(hr)}),"all")}}:mr===va?{key:"invert",text:Jn.selectInvert,onSelect(){const hr=new Set(Bo);sr.forEach((no,nr)=>{const Dr=xr(no,nr),Qr=Hr.get(Dr);Qr!=null&&Qr.disabled||(hr.has(Dr)?hr.delete(Dr):hr.add(Dr))});const tr=Array.from(hr);zt&&zt(tr),to(tr,"invert")}}:mr===ta?{key:"none",text:Jn.selectNone,onSelect(){Xt==null||Xt(),to(Array.from(Bo).filter(hr=>{const tr=Hr.get(hr);return tr==null?void 0:tr.disabled}),"none")}}:mr).map(mr=>Object.assign(Object.assign({},mr),{onSelect:function(){for(var hr,tr,no=arguments.length,nr=new Array(no),Dr=0;Dr<no;Dr++)nr[Dr]=arguments[Dr];(tr=mr.onSelect)===null||tr===void 0||(hr=tr).call.apply(hr,[mr].concat(nr)),Uo(null)}})),[ln,Bo,sr,xr,zt,to]);return[(0,ne.useCallback)(Sr=>{var mr;if(!it)return Sr.filter(ao=>ao!==Wo);let hr=(0,fn.Z)(Sr);const tr=new Set(Bo),no=gr.map(xr).filter(ao=>!Hr.get(ao).disabled),nr=no.every(ao=>tr.has(ao)),Dr=no.some(ao=>tr.has(ao)),Qr=()=>{const ao=[];nr?no.forEach(Io=>{tr.delete(Io),ao.push(Io)}):no.forEach(Io=>{tr.has(Io)||(tr.add(Io),ao.push(Io))});const co=Array.from(tr);Lt==null||Lt(!nr,co.map(Io=>Yn(Io)),ao.map(Io=>Yn(Io))),to(co,"all"),Uo(null)};let Yr;if(rn!=="radio"){let ao;if(Eo){const $r={getPopupContainer:Zn,items:Eo.map((na,Qo)=>{const{key:ua,text:Ca,onSelect:Sa}=na;return{key:ua!=null?ua:Qo,onClick:()=>{Sa==null||Sa(no)},label:Ca}})};ao=ne.createElement("div",{className:`${Mn}-selection-extra`},ne.createElement(Or.Z,{menu:$r,getPopupContainer:Zn},ne.createElement("span",null,ne.createElement(fi.Z,null))))}const co=gr.map(($r,na)=>{const Qo=xr($r,na),ua=Hr.get(Qo)||{};return Object.assign({checked:tr.has(Qo)},ua)}).filter($r=>{let{disabled:na}=$r;return na}),Io=!!co.length&&co.length===gr.length,Zo=Io&&co.every($r=>{let{checked:na}=$r;return na}),Ko=Io&&co.some($r=>{let{checked:na}=$r;return na});Yr=!xn&&ne.createElement("div",{className:`${Mn}-selection`},ne.createElement(zr.default,{checked:Io?Zo:!!gr.length&&nr,indeterminate:Io?!Zo&&Ko:!nr&&Dr,onChange:Qr,disabled:gr.length===0||Io,"aria-label":ao?"Custom selection":"Select all",skipGroup:!0}),ao)}let Jo;rn==="radio"?Jo=(ao,co,Io)=>{const Zo=xr(co,Io),Ko=tr.has(Zo);return{node:ne.createElement(ga.ZP,Object.assign({},Hr.get(Zo),{checked:Ko,onClick:$r=>$r.stopPropagation(),onChange:$r=>{tr.has(Zo)||_o(Zo,!0,[Zo],$r.nativeEvent)}})),checked:Ko}}:Jo=(ao,co,Io)=>{var Zo;const Ko=xr(co,Io),$r=tr.has(Ko),na=Fo.has(Ko),Qo=Hr.get(Ko);let ua;return Rr==="nest"?ua=na:ua=(Zo=Qo==null?void 0:Qo.indeterminate)!==null&&Zo!==void 0?Zo:na,{node:ne.createElement(zr.default,Object.assign({},Qo,{indeterminate:ua,checked:$r,skipGroup:!0,onClick:Ca=>Ca.stopPropagation(),onChange:Ca=>{let{nativeEvent:Sa}=Ca;const{shiftKey:Wa}=Sa;let Oa=-1,pa=-1;if(Wa&&Sn){const sa=new Set([Mr,Ko]);no.some((ra,$o)=>{if(sa.has(ra))if(Oa===-1)Oa=$o;else return pa=$o,!0;return!1})}if(pa!==-1&&Oa!==pa&&Sn){const sa=no.slice(Oa,pa+1),ra=[];$r?sa.forEach(Ro=>{tr.has(Ro)&&(ra.push(Ro),tr.delete(Ro))}):sa.forEach(Ro=>{tr.has(Ro)||(ra.push(Ro),tr.add(Ro))});const $o=Array.from(tr);Ht==null||Ht(!$r,$o.map(Ro=>Yn(Ro)),ra.map(Ro=>Yn(Ro))),to($o,"multiple")}else{const sa=vo;if(Sn){const ra=$r?(0,Ya._5)(sa,Ko):(0,Ya.L0)(sa,Ko);_o(Ko,!$r,ra,Sa)}else{const ra=(0,lr.S)([].concat((0,fn.Z)(sa),[Ko]),!0,Ir,Kr),{checkedKeys:$o,halfCheckedKeys:Ro}=ra;let Ea=$o;if($r){const Fa=new Set($o);Fa.delete(Ko),Ea=(0,lr.S)(Array.from(Fa),{checked:!1,halfCheckedKeys:Ro},Ir,Kr).checkedKeys}_o(Ko,!$r,Ea,Sa)}}Uo($r?null:Ko)}})),checked:$r}};const Xo=(ao,co,Io)=>{const{node:Zo,checked:Ko}=Jo(ao,co,Io);return yn?yn(Ko,co,Io,Zo):Zo};if(!hr.includes(Wo))if(hr.findIndex(ao=>{var co;return((co=ao[dn])===null||co===void 0?void 0:co.columnType)==="EXPAND_COLUMN"})===0){const[ao,...co]=hr;hr=[ao,Wo].concat((0,fn.Z)(co))}else hr=[Wo].concat((0,fn.Z)(hr));const ya=hr.indexOf(Wo);hr=hr.filter((ao,co)=>ao!==Wo||co===ya);const Ho=hr[ya-1],ha=hr[ya+1];let Go=En;Go===void 0&&((ha==null?void 0:ha.fixed)!==void 0?Go=ha.fixed:(Ho==null?void 0:Ho.fixed)!==void 0&&(Go=Ho.fixed)),Go&&Ho&&((mr=Ho[dn])===null||mr===void 0?void 0:mr.columnType)==="EXPAND_COLUMN"&&Ho.fixed===void 0&&(Ho.fixed=Go);const ia=Ee()(`${Mn}-selection-col`,{[`${Mn}-selection-col-with-dropdown`]:ln&&rn==="checkbox"}),Ba={fixed:Go,width:cn,className:`${Mn}-selection-column`,title:it.columnTitle||Yr,render:Xo,onCell:it.onCell,[dn]:{className:ia}};return hr.map(ao=>ao===Wo?Ba:ao)},[xr,gr,it,vo,Bo,Fo,cn,Eo,Rr,Mr,Hr,Ht,_o,Kr]),Bo]},gi=ve(89489),Ji=ve(59477),Qi=ve(6848);const Ja="ascend",hi="descend";function Qa(rt){return typeof rt.sorter=="object"&&typeof rt.sorter.multiple=="number"?rt.sorter.multiple:!1}function Oi(rt){return typeof rt=="function"?rt:rt&&typeof rt=="object"&&rt.compare?rt.compare:!1}function qi(rt,it){return it?rt[rt.indexOf(it)+1]:rt[0]}function pi(rt,it,gt){let yt=[];function Pt(wt,Dt){yt.push({column:wt,key:Gn(wt,Dt),multiplePriority:Qa(wt),sortOrder:wt.sortOrder})}return(rt||[]).forEach((wt,Dt)=>{const jt=Vn(Dt,gt);wt.children?("sortOrder"in wt&&Pt(wt,jt),yt=[].concat((0,fn.Z)(yt),(0,fn.Z)(pi(wt.children,it,jt)))):wt.sorter&&("sortOrder"in wt?Pt(wt,jt):it&&wt.defaultSortOrder&&yt.push({column:wt,key:Gn(wt,jt),multiplePriority:Qa(wt),sortOrder:wt.defaultSortOrder}))}),yt}function Ti(rt,it,gt,yt,Pt,wt,Dt,jt){return(it||[]).map((Lt,zt)=>{const Xt=Vn(zt,jt);let Ht=Lt;if(Ht.sorter){const cn=Ht.sortDirections||Pt,rn=Ht.showSorterTooltip===void 0?Dt:Ht.showSorterTooltip,ln=Gn(Ht,Xt),En=gt.find(Rr=>{let{key:Wn}=Rr;return Wn===ln}),yn=En?En.sortOrder:null,xn=qi(cn,yn);let Sn;if(Lt.sortIcon)Sn=Lt.sortIcon({sortOrder:yn});else{const Rr=cn.includes(Ja)&&ne.createElement(Ji.Z,{className:Ee()(`${rt}-column-sorter-up`,{active:yn===Ja})}),Wn=cn.includes(hi)&&ne.createElement(gi.Z,{className:Ee()(`${rt}-column-sorter-down`,{active:yn===hi})});Sn=ne.createElement("span",{className:Ee()(`${rt}-column-sorter`,{[`${rt}-column-sorter-full`]:!!(Rr&&Wn)})},ne.createElement("span",{className:`${rt}-column-sorter-inner`,"aria-hidden":"true"},Rr,Wn))}const{cancelSort:Mn,triggerAsc:or,triggerDesc:sr}=wt||{};let Yn=Mn;xn===hi?Yn=sr:xn===Ja&&(Yn=or);const xr=typeof rn=="object"?rn:{title:Yn};Ht=Object.assign(Object.assign({},Ht),{className:Ee()(Ht.className,{[`${rt}-column-sort`]:yn}),title:Rr=>{const Wn=ne.createElement("div",{className:`${rt}-column-sorters`},ne.createElement("span",{className:`${rt}-column-title`},_r(Lt.title,Rr)),Sn);return rn?ne.createElement(Qi.Z,Object.assign({},xr),Wn):Wn},onHeaderCell:Rr=>{const Wn=Lt.onHeaderCell&&Lt.onHeaderCell(Rr)||{},Jn=Wn.onClick,Zn=Wn.onKeyDown;Wn.onClick=wr=>{yt({column:Lt,key:ln,sortOrder:xn,multiplePriority:Qa(Lt)}),Jn==null||Jn(wr)},Wn.onKeyDown=wr=>{wr.keyCode===Gr.Z.ENTER&&(yt({column:Lt,key:ln,sortOrder:xn,multiplePriority:Qa(Lt)}),Zn==null||Zn(wr))};const Tn=Br(Lt.title,{}),Xn=Tn==null?void 0:Tn.toString();return yn?Wn["aria-sort"]=yn==="ascend"?"ascending":"descending":Wn["aria-label"]=Xn||"",Wn.className=Ee()(Wn.className,`${rt}-column-has-sorters`),Wn.tabIndex=0,Lt.ellipsis&&(Wn.title=(Tn!=null?Tn:"").toString()),Wn}})}return"children"in Ht&&(Ht=Object.assign(Object.assign({},Ht),{children:Ti(rt,Ht.children,gt,yt,Pt,wt,Dt,Xt)})),Ht})}function Li(rt){const{column:it,sortOrder:gt}=rt;return{column:it,order:gt,field:it.dataIndex,columnKey:it.key}}function Ai(rt){const it=rt.filter(gt=>{let{sortOrder:yt}=gt;return yt}).map(Li);return it.length===0&&rt.length?Object.assign(Object.assign({},Li(rt[rt.length-1])),{column:void 0}):it.length<=1?it[0]||{}:it}function mi(rt,it,gt){const yt=it.slice().sort((Dt,jt)=>jt.multiplePriority-Dt.multiplePriority),Pt=rt.slice(),wt=yt.filter(Dt=>{let{column:{sorter:jt},sortOrder:Lt}=Dt;return Oi(jt)&&Lt});return wt.length?Pt.sort((Dt,jt)=>{for(let Lt=0;Lt<wt.length;Lt+=1){const zt=wt[Lt],{column:{sorter:Xt},sortOrder:Ht}=zt,cn=Oi(Xt);if(cn&&Ht){const rn=cn(Dt,jt,Ht);if(rn!==0)return Ht===Ja?rn:-rn}}return 0}).map(Dt=>{const jt=Dt[gt];return jt?Object.assign(Object.assign({},Dt),{[gt]:mi(jt,it,gt)}):Dt}):Pt}function es(rt){let{prefixCls:it,mergedColumns:gt,onSorterChange:yt,sortDirections:Pt,tableLocale:wt,showSorterTooltip:Dt}=rt;const[jt,Lt]=ne.useState(pi(gt,!0)),zt=ne.useMemo(()=>{let ln=!0;const En=pi(gt,!1);if(!En.length)return jt;const yn=[];function xn(Mn){ln?yn.push(Mn):yn.push(Object.assign(Object.assign({},Mn),{sortOrder:null}))}let Sn=null;return En.forEach(Mn=>{Sn===null?(xn(Mn),Mn.sortOrder&&(Mn.multiplePriority===!1?ln=!1:Sn=!0)):(Sn&&Mn.multiplePriority!==!1||(ln=!1),xn(Mn))}),yn},[gt,jt]),Xt=ne.useMemo(()=>{const ln=zt.map(En=>{let{column:yn,sortOrder:xn}=En;return{column:yn,order:xn}});return{sortColumns:ln,sortColumn:ln[0]&&ln[0].column,sortOrder:ln[0]&&ln[0].order}},[zt]);function Ht(ln){let En;ln.multiplePriority===!1||!zt.length||zt[0].multiplePriority===!1?En=[ln]:En=[].concat((0,fn.Z)(zt.filter(yn=>{let{key:xn}=yn;return xn!==ln.key})),[ln]),Lt(En),yt(Ai(En),En)}return[ln=>Ti(it,ln,zt,Ht,Pt,wt,Dt),zt,Xt,()=>Ai(zt)]}function Di(rt,it){return rt.map(gt=>{const yt=Object.assign({},gt);return yt.title=_r(gt.title,it),"children"in yt&&(yt.children=Di(yt.children,it)),yt})}function ts(rt){return[ne.useCallback(gt=>Di(gt,rt),[rt])]}var ns=Pr((rt,it)=>{const{_renderTimes:gt}=rt,{_renderTimes:yt}=it;return gt!==yt}),rs=Vr((rt,it)=>{const{_renderTimes:gt}=rt,{_renderTimes:yt}=it;return gt!==yt}),Ga=ve(64993),qa=ve(17313),os=ve(83116),as=ve(37613),is=rt=>{const{componentCls:it}=rt,gt=`${rt.lineWidth}px ${rt.lineType} ${rt.tableBorderColor}`,yt=(Pt,wt,Dt)=>({[`&${it}-${Pt}`]:{[`> ${it}-container`]:{[`> ${it}-content, > ${it}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${it}-expanded-row-fixed`]:{margin:`-${wt}px -${Dt+rt.lineWidth}px`}}}}}});return{[`${it}-wrapper`]:{[`${it}${it}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${it}-title`]:{border:gt,borderBottom:0},[`> ${it}-container`]:{borderInlineStart:gt,borderTop:gt,[`
|
|
|
> ${it}-content,
|
|
|
> ${it}-header,
|
|
|
> ${it}-body,
|
|
|
> ${it}-summary
|
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:gt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:gt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${it}-cell-fix-right-first::after`]:{borderInlineEnd:gt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${it}-expanded-row-fixed`]:{margin:`-${rt.tablePaddingVertical}px -${rt.tablePaddingHorizontal+rt.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:rt.lineWidth,bottom:0,borderInlineEnd:gt,content:'""'}}}}}},[`&${it}-scroll-horizontal`]:{[`> ${it}-container > ${it}-body`]:{"> table > tbody":{[`
|
|
|
> tr${it}-expanded-row,
|
|
|
> tr${it}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},yt("middle",rt.tablePaddingVerticalMiddle,rt.tablePaddingHorizontalMiddle)),yt("small",rt.tablePaddingVerticalSmall,rt.tablePaddingHorizontalSmall)),{[`> ${it}-footer`]:{border:gt,borderTop:0}}),[`${it}-cell`]:{[`${it}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${rt.lineWidth}px 0 ${rt.lineWidth}px ${rt.tableHeaderBg}`}},[`${it}-bordered ${it}-cell-scrollbar`]:{borderInlineEnd:gt}}}},ss=rt=>{const{componentCls:it}=rt;return{[`${it}-wrapper`]:{[`${it}-cell-ellipsis`]:Object.assign(Object.assign({},qa.vS),{wordBreak:"keep-all",[`
|
|
|
&${it}-cell-fix-left-last,
|
|
|
&${it}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${it}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${it}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ls=rt=>{const{componentCls:it}=rt;return{[`${it}-wrapper`]:{[`${it}-tbody > tr${it}-placeholder`]:{textAlign:"center",color:rt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:rt.colorBgContainer}}}}},cs=ve(15969),us=rt=>{const{componentCls:it,antCls:gt,controlInteractiveSize:yt,motionDurationSlow:Pt,lineWidth:wt,paddingXS:Dt,lineType:jt,tableBorderColor:Lt,tableExpandIconBg:zt,tableExpandColumnWidth:Xt,borderRadius:Ht,fontSize:cn,fontSizeSM:rn,lineHeight:ln,tablePaddingVertical:En,tablePaddingHorizontal:yn,tableExpandedRowBg:xn,paddingXXS:Sn}=rt,Mn=yt/2-wt,or=Mn*2+wt*3,sr=`${wt}px ${jt} ${Lt}`,Yn=Sn-wt;return{[`${it}-wrapper`]:{[`${it}-expand-icon-col`]:{width:Xt},[`${it}-row-expand-icon-cell`]:{textAlign:"center",[`${it}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${it}-row-indent`]:{height:1,float:"left"},[`${it}-row-expand-icon`]:Object.assign(Object.assign({},(0,cs.N)(rt)),{position:"relative",float:"left",boxSizing:"border-box",width:or,height:or,padding:0,color:"inherit",lineHeight:`${or}px`,background:zt,border:sr,borderRadius:Ht,transform:`scale(${yt/or})`,transition:`all ${Pt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Pt} ease-out`,content:'""'},"&::before":{top:Mn,insetInlineEnd:Yn,insetInlineStart:Yn,height:wt},"&::after":{top:Yn,bottom:Yn,insetInlineStart:Mn,width:wt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${it}-row-indent + ${it}-row-expand-icon`]:{marginTop:(cn*ln-wt*3)/2-Math.ceil((rn*1.4-wt*3)/2),marginInlineEnd:Dt},[`tr${it}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:xn}},[`${gt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${it}-expanded-row-fixed`]:{position:"relative",margin:`-${En}px -${yn}px`,padding:`${En}px ${yn}px`}}}},ds=rt=>{const{componentCls:it,antCls:gt,iconCls:yt,tableFilterDropdownWidth:Pt,tableFilterDropdownSearchWidth:wt,paddingXXS:Dt,paddingXS:jt,colorText:Lt,lineWidth:zt,lineType:Xt,tableBorderColor:Ht,tableHeaderIconColor:cn,fontSizeSM:rn,tablePaddingHorizontal:ln,borderRadius:En,motionDurationSlow:yn,colorTextDescription:xn,colorPrimary:Sn,tableHeaderFilterActiveBg:Mn,colorTextDisabled:or,tableFilterDropdownBg:sr,tableFilterDropdownHeight:Yn,controlItemBgHover:xr,controlItemBgActive:Rr,boxShadowSecondary:Wn,filterDropdownMenuBg:Jn}=rt,Zn=`${gt}-dropdown`,Tn=`${it}-filter-dropdown`,Xn=`${gt}-tree`,wr=`${zt}px ${Xt} ${Ht}`;return[{[`${it}-wrapper`]:{[`${it}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${it}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Dt,marginInline:`${Dt}px ${-ln/2}px`,padding:`0 ${Dt}px`,color:cn,fontSize:rn,borderRadius:En,cursor:"pointer",transition:`all ${yn}`,"&:hover":{color:xn,background:Mn},"&.active":{color:Sn}}}},{[`${gt}-dropdown`]:{[Tn]:Object.assign(Object.assign({},(0,qa.Wf)(rt)),{minWidth:Pt,backgroundColor:sr,borderRadius:En,boxShadow:Wn,overflow:"hidden",[`${Zn}-menu`]:{maxHeight:Yn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Jn,"&:empty::after":{display:"block",padding:`${jt}px 0`,color:or,fontSize:rn,textAlign:"center",content:'"Not Found"'}},[`${Tn}-tree`]:{paddingBlock:`${jt}px 0`,paddingInline:jt,[Xn]:{padding:0},[`${Xn}-treenode ${Xn}-node-content-wrapper:hover`]:{backgroundColor:xr},[`${Xn}-treenode-checkbox-checked ${Xn}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Rr}}},[`${Tn}-search`]:{padding:jt,borderBottom:wr,"&-input":{input:{minWidth:wt},[yt]:{color:or}}},[`${Tn}-checkall`]:{width:"100%",marginBottom:Dt,marginInlineStart:Dt},[`${Tn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${jt-zt}px ${jt}px`,overflow:"hidden",borderTop:wr}})}},{[`${gt}-dropdown ${Tn}, ${Tn}-submenu`]:{[`${gt}-checkbox-wrapper + span`]:{paddingInlineStart:jt,color:Lt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},fs=rt=>{const{componentCls:it,lineWidth:gt,colorSplit:yt,motionDurationSlow:Pt,zIndexTableFixed:wt,tableBg:Dt,zIndexTableSticky:jt}=rt,Lt=yt;return{[`${it}-wrapper`]:{[`
|
|
|
${it}-cell-fix-left,
|
|
|
${it}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:wt,background:Dt},[`
|
|
|
${it}-cell-fix-left-first::after,
|
|
|
${it}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-gt,width:30,transform:"translateX(100%)",transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},[`${it}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${it}-cell-fix-right-first::after,
|
|
|
${it}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:-gt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},[`${it}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:jt+1,width:30,transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${it}-ping-left`]:{[`&:not(${it}-has-fix-left) ${it}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Lt}`}},[`
|
|
|
${it}-cell-fix-left-first::after,
|
|
|
${it}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Lt}`},[`${it}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${it}-ping-right`]:{[`&:not(${it}-has-fix-right) ${it}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Lt}`}},[`
|
|
|
${it}-cell-fix-right-first::after,
|
|
|
${it}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Lt}`}}}}},gs=rt=>{const{componentCls:it,antCls:gt}=rt;return{[`${it}-wrapper`]:{[`${it}-pagination${gt}-pagination`]:{margin:`${rt.margin}px 0`},[`${it}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:rt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},hs=rt=>{const{componentCls:it,tableRadius:gt}=rt;return{[`${it}-wrapper`]:{[it]:{[`${it}-title, ${it}-header`]:{borderRadius:`${gt}px ${gt}px 0 0`},[`${it}-title + ${it}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${it}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:gt,borderStartEndRadius:gt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:gt},"> *:last-child":{borderStartEndRadius:gt}}},"&-footer":{borderRadius:`0 0 ${gt}px ${gt}px`}}}}},ps=rt=>{const{componentCls:it}=rt;return{[`${it}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${it}-pagination-left`]:{justifyContent:"flex-end"},[`${it}-pagination-right`]:{justifyContent:"flex-start"},[`${it}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${it}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${it}-row-indent`]:{float:"right"}}}}},ms=rt=>{const{componentCls:it,antCls:gt,iconCls:yt,fontSizeIcon:Pt,padding:wt,paddingXS:Dt,tableHeaderIconColor:jt,tableHeaderIconColorHover:Lt,tableSelectionColumnWidth:zt}=rt;return{[`${it}-wrapper`]:{[`${it}-selection-col`]:{width:zt,[`&${it}-selection-col-with-dropdown`]:{width:zt+Pt+wt/4}},[`${it}-bordered ${it}-selection-col`]:{width:zt+Dt*2,[`&${it}-selection-col-with-dropdown`]:{width:zt+Pt+wt/4+Dt*2}},[`
|
|
|
table tr th${it}-selection-column,
|
|
|
table tr td${it}-selection-column
|
|
|
`]:{paddingInlineEnd:rt.paddingXS,paddingInlineStart:rt.paddingXS,textAlign:"center",[`${gt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${it}-selection-column${it}-cell-fix-left`]:{zIndex:rt.zIndexTableFixed+1},[`table tr th${it}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${it}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${it}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${rt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${rt.tablePaddingHorizontal/4}px`,[yt]:{color:jt,fontSize:Pt,verticalAlign:"baseline","&:hover":{color:Lt}}}}}},vs=rt=>{const{componentCls:it}=rt,gt=(yt,Pt,wt,Dt)=>({[`${it}${it}-${yt}`]:{fontSize:Dt,[`
|
|
|
${it}-title,
|
|
|
${it}-footer,
|
|
|
${it}-cell,
|
|
|
${it}-thead > tr > th,
|
|
|
${it}-tbody > tr > th,
|
|
|
${it}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${Pt}px ${wt}px`},[`${it}-filter-trigger`]:{marginInlineEnd:`-${wt/2}px`},[`${it}-expanded-row-fixed`]:{margin:`-${Pt}px -${wt}px`},[`${it}-tbody`]:{[`${it}-wrapper:only-child ${it}`]:{marginBlock:`-${Pt}px`,marginInline:`${rt.tableExpandColumnWidth-wt}px -${wt}px`}},[`${it}-selection-column`]:{paddingInlineStart:`${wt/4}px`}}});return{[`${it}-wrapper`]:Object.assign(Object.assign({},gt("middle",rt.tablePaddingVerticalMiddle,rt.tablePaddingHorizontalMiddle,rt.tableFontSizeMiddle)),gt("small",rt.tablePaddingVerticalSmall,rt.tablePaddingHorizontalSmall,rt.tableFontSizeSmall))}},ys=rt=>{const{componentCls:it,marginXXS:gt,fontSizeIcon:yt,tableHeaderIconColor:Pt,tableHeaderIconColorHover:wt}=rt;return{[`${it}-wrapper`]:{[`${it}-thead th${it}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${rt.motionDurationSlow}`,"&:hover":{background:rt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:rt.colorPrimary},[`
|
|
|
&${it}-cell-fix-left:hover,
|
|
|
&${it}-cell-fix-right:hover
|
|
|
`]:{background:rt.tableFixedHeaderSortActiveBg}},[`${it}-thead th${it}-column-sort`]:{background:rt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${it}-column-sort`]:{background:rt.tableBodySortBg},[`${it}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${it}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${it}-column-sorter`]:{marginInlineStart:gt,color:Pt,fontSize:0,transition:`color ${rt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:yt,"&.active":{color:rt.colorPrimary}},[`${it}-column-sorter-up + ${it}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${it}-column-sorters:hover ${it}-column-sorter`]:{color:wt}}}},Ss=rt=>{const{componentCls:it,opacityLoading:gt,tableScrollThumbBg:yt,tableScrollThumbBgHover:Pt,tableScrollThumbSize:wt,tableScrollBg:Dt,zIndexTableSticky:jt,stickyScrollBarBorderRadius:Lt}=rt,zt=`${rt.lineWidth}px ${rt.lineType} ${rt.tableBorderColor}`;return{[`${it}-wrapper`]:{[`${it}-sticky`]:{"&-holder":{position:"sticky",zIndex:jt,background:rt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${wt}px !important`,zIndex:jt,display:"flex",alignItems:"center",background:Dt,borderTop:zt,opacity:gt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:wt,backgroundColor:yt,borderRadius:Lt,transition:`all ${rt.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Pt}}}}}}},ji=rt=>{const{componentCls:it,lineWidth:gt,tableBorderColor:yt}=rt,Pt=`${gt}px ${rt.lineType} ${yt}`;return{[`${it}-wrapper`]:{[`${it}-summary`]:{position:"relative",zIndex:rt.zIndexTableFixed,background:rt.tableBg,"> tr":{"> th, > td":{borderBottom:Pt}}},[`div${it}-summary`]:{boxShadow:`0 -${gt}px 0 ${yt}`}}}},bs=rt=>{const{componentCls:it}=rt,gt=`${rt.lineWidth}px ${rt.lineType} ${rt.tableBorderColor}`,yt=`${it}-expanded-row-cell`;return{[`${it}-wrapper`]:{[`${it}-tbody-virtual`]:{[`${it}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${it}-cell`]:{borderBottom:gt},[`${it}-expanded-row`]:{[`${yt}${yt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${rt.lineWidth}px)`,borderInlineEnd:"none"}}},[`${it}-bordered`]:{[`${it}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:gt,position:"absolute"},[`${it}-cell`]:{borderInlineEnd:gt,[`&${it}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-rt.lineWidth,borderInlineStart:gt}}}}}}};const Ps=rt=>{const{componentCls:it,fontWeightStrong:gt,tablePaddingVertical:yt,tablePaddingHorizontal:Pt,lineWidth:wt,lineType:Dt,tableBorderColor:jt,tableFontSize:Lt,tableBg:zt,tableRadius:Xt,tableHeaderTextColor:Ht,motionDurationMid:cn,tableHeaderBg:rn,tableHeaderCellSplitColor:ln,tableRowHoverBg:En,tableSelectedRowBg:yn,tableSelectedRowHoverBg:xn,tableFooterTextColor:Sn,tableFooterBg:Mn,paddingContentVerticalLG:or}=rt,sr=`${wt}px ${Dt} ${jt}`;return{[`${it}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,qa.dF)()),{[it]:Object.assign(Object.assign({},(0,qa.Wf)(rt)),{fontSize:Lt,background:zt,borderRadius:`${Xt}px ${Xt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Xt}px ${Xt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${it}-cell,
|
|
|
${it}-thead > tr > th,
|
|
|
${it}-tbody > tr > th,
|
|
|
${it}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${or}px ${Pt}px`,overflowWrap:"break-word"},[`${it}-title`]:{padding:`${yt}px ${Pt}px`},[`${it}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Ht,fontWeight:gt,textAlign:"start",background:rn,borderBottom:sr,transition:`background ${cn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${it}-selection-column):not(${it}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ln,transform:"translateY(-50%)",transition:`background-color ${cn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${it}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${cn}, border-color ${cn}`,borderBottom:sr,[`
|
|
|
> ${it}-wrapper:only-child,
|
|
|
> ${it}-expanded-row-fixed > ${it}-wrapper:only-child
|
|
|
`]:{[it]:{marginBlock:`-${yt}px`,marginInline:`${rt.tableExpandColumnWidth-Pt}px -${Pt}px`,[`${it}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Ht,fontWeight:gt,textAlign:"start",background:rn,borderBottom:sr,transition:`background ${cn} ease`},[`
|
|
|
&${it}-row:hover > th,
|
|
|
&${it}-row:hover > td,
|
|
|
> th${it}-cell-row-hover,
|
|
|
> td${it}-cell-row-hover
|
|
|
`]:{background:En},[`&${it}-row-selected`]:{"> th, > td":{background:yn},"&:hover > th, &:hover > td":{background:xn}}}},[`${it}-footer`]:{padding:`${yt}px ${Pt}px`,color:Sn,background:Mn}})}};var ws=(0,os.Z)("Table",rt=>{const{colorTextHeading:it,colorSplit:gt,colorIcon:yt,colorIconHover:Pt,opacityLoading:wt,colorBgContainer:Dt,controlInteractiveSize:jt,headerBg:Lt,headerColor:zt,headerSortActiveBg:Xt,headerSortHoverBg:Ht,bodySortBg:cn,rowHoverBg:rn,rowSelectedBg:ln,rowSelectedHoverBg:En,rowExpandedBg:yn,cellPaddingBlock:xn,cellPaddingInline:Sn,cellPaddingBlockMD:Mn,cellPaddingInlineMD:or,cellPaddingBlockSM:sr,cellPaddingInlineSM:Yn,borderColor:xr,footerBg:Rr,footerColor:Wn,headerBorderRadius:Jn,cellFontSize:Zn,cellFontSizeMD:Tn,cellFontSizeSM:Xn,headerSplitColor:wr,fixedHeaderSortActiveBg:Ur,headerFilterHoverBg:Ir,filterDropdownBg:gr,expandIconBg:Hr,selectionColumnWidth:Kr,stickyScrollBarBg:vo}=rt,eo=new Ga.C(yt),Bo=new Ga.C(Pt),Fo=2,Mr=(0,as.TS)(rt,{tableFontSize:Zn,tableBg:Dt,tableRadius:Jn,tablePaddingVertical:xn,tablePaddingHorizontal:Sn,tablePaddingVerticalMiddle:Mn,tablePaddingHorizontalMiddle:or,tablePaddingVerticalSmall:sr,tablePaddingHorizontalSmall:Yn,tableBorderColor:xr,tableHeaderTextColor:zt,tableHeaderBg:Lt,tableFooterTextColor:Wn,tableFooterBg:Rr,tableHeaderCellSplitColor:wr,tableHeaderSortBg:Xt,tableHeaderSortHoverBg:Ht,tableHeaderIconColor:eo.clone().setAlpha(eo.getAlpha()*wt).toRgbString(),tableHeaderIconColorHover:Bo.clone().setAlpha(Bo.getAlpha()*wt).toRgbString(),tableBodySortBg:cn,tableFixedHeaderSortActiveBg:Ur,tableHeaderFilterActiveBg:Ir,tableFilterDropdownBg:gr,tableRowHoverBg:rn,tableSelectedRowBg:ln,tableSelectedRowHoverBg:En,zIndexTableFixed:Fo,zIndexTableSticky:Fo+1,tableFontSizeMiddle:Tn,tableFontSizeSmall:Xn,tableSelectionColumnWidth:Kr,tableExpandIconBg:Hr,tableExpandColumnWidth:jt+2*rt.padding,tableExpandedRowBg:yn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:vo,tableScrollThumbBgHover:it,tableScrollBg:gt});return[Ps(Mr),gs(Mr),ji(Mr),ys(Mr),ds(Mr),is(Mr),hs(Mr),us(Mr),ji(Mr),ls(Mr),ms(Mr),fs(Mr),Ss(Mr),ss(Mr),vs(Mr),ps(Mr),bs(Mr)]},rt=>{const{colorFillAlter:it,colorBgContainer:gt,colorTextHeading:yt,colorFillSecondary:Pt,colorFillContent:wt,controlItemBgActive:Dt,controlItemBgActiveHover:jt,padding:Lt,paddingSM:zt,paddingXS:Xt,colorBorderSecondary:Ht,borderRadiusLG:cn,fontSize:rn,controlHeight:ln,colorTextPlaceholder:En}=rt,yn=new Ga.C(Pt).onBackground(gt).toHexShortString(),xn=new Ga.C(wt).onBackground(gt).toHexShortString(),Sn=new Ga.C(it).onBackground(gt).toHexShortString();return{headerBg:Sn,headerColor:yt,headerSortActiveBg:yn,headerSortHoverBg:xn,bodySortBg:Sn,rowHoverBg:Sn,rowSelectedBg:Dt,rowSelectedHoverBg:jt,rowExpandedBg:it,cellPaddingBlock:Lt,cellPaddingInline:Lt,cellPaddingBlockMD:zt,cellPaddingInlineMD:Xt,cellPaddingBlockSM:Xt,cellPaddingInlineSM:Xt,borderColor:Ht,headerBorderRadius:cn,footerBg:Sn,footerColor:yt,cellFontSize:rn,cellFontSizeMD:rn,cellFontSizeSM:rn,headerSplitColor:Ht,fixedHeaderSortActiveBg:yn,headerFilterHoverBg:wt,filterDropdownMenuBg:gt,filterDropdownBg:gt,expandIconBg:gt,selectionColumnWidth:ln,stickyScrollBarBg:En,stickyScrollBarBorderRadius:100}});const Cs=[],Es=(rt,it)=>{const{prefixCls:gt,className:yt,rootClassName:Pt,style:wt,size:Dt,bordered:jt,dropdownPrefixCls:Lt,dataSource:zt,pagination:Xt,rowSelection:Ht,rowKey:cn="key",rowClassName:rn,columns:ln,children:En,childrenColumnName:yn,onChange:xn,getPopupContainer:Sn,loading:Mn,expandIcon:or,expandable:sr,expandedRowRender:Yn,expandIconColumnIndex:xr,indentSize:Rr,scroll:Wn,sortDirections:Jn,locale:Zn,showSorterTooltip:Tn=!0,virtual:Xn}=rt,wr=ne.useMemo(()=>ln||xt(En),[ln,En]),Ur=ne.useMemo(()=>wr.some(qr=>qr.responsive),[wr]),Ir=(0,yr.Z)(Ur),gr=ne.useMemo(()=>{const qr=new Set(Object.keys(Ir).filter(Po=>Ir[Po]));return wr.filter(Po=>!Po.responsive||Po.responsive.some(Yo=>qr.has(Yo)))},[wr,Ir]),Hr=(0,Wt.Z)(rt,["className","style","columns"]),{locale:Kr=zn.Z,direction:vo,table:eo,renderEmpty:Bo,getPrefixCls:Fo,getPopupContainer:Mr}=ne.useContext(Ln.E_),Uo=(0,Kn.Z)(Dt),to=Object.assign(Object.assign({},Kr.Table),Zn),_o=zt||Cs,Eo=Fo("table",gt),aa=Fo("dropdown",Lt),Sr=Object.assign({childrenColumnName:yn,expandIconColumnIndex:xr},sr),{childrenColumnName:mr="children"}=Sr,hr=ne.useMemo(()=>_o.some(qr=>qr==null?void 0:qr[mr])?"nest":Yn||sr&&sr.expandedRowRender?"row":null,[_o]),tr={body:ne.useRef()},no=ne.useMemo(()=>typeof cn=="function"?cn:qr=>qr==null?void 0:qr[cn],[cn]),[nr]=ii(_o,mr,no),Dr={},Qr=function(qr,Po){let Yo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Mo,qo,la;const ca=Object.assign(Object.assign({},Dr),qr);Yo&&((Mo=Dr.resetPagination)===null||Mo===void 0||Mo.call(Dr),!((qo=ca.pagination)===null||qo===void 0)&&qo.current&&(ca.pagination.current=1),Xt&&Xt.onChange&&Xt.onChange(1,(la=ca.pagination)===null||la===void 0?void 0:la.pageSize)),Wn&&Wn.scrollToFirstRowOnChange!==!1&&tr.body.current&&(0,qt.Z)(0,{getContainer:()=>tr.body.current}),xn==null||xn(ca.pagination,ca.filters,ca.sorter,{currentDataSource:za(mi(_o,ca.sorterStates,mr),ca.filterStates),action:Po})},Yr=(qr,Po)=>{Qr({sorter:qr,sorterStates:Po},"sort",!1)},[Jo,Xo,ya,Ho]=es({prefixCls:Eo,mergedColumns:gr,onSorterChange:Yr,sortDirections:Jn||["ascend","descend"],tableLocale:to,showSorterTooltip:Tn}),ha=ne.useMemo(()=>mi(_o,Xo,mr),[_o,Xo]);Dr.sorter=Ho(),Dr.sorterStates=Xo;const Go=(qr,Po)=>{Qr({filters:qr,filterStates:Po},"filter",!0)},[ia,Ba,ao]=ai({prefixCls:Eo,locale:to,dropdownPrefixCls:aa,mergedColumns:gr,onFilterChange:Go,getPopupContainer:Sn||Mr}),co=za(ha,Ba);Dr.filters=ao,Dr.filterStates=Ba;const Io=ne.useMemo(()=>{const qr={};return Object.keys(ao).forEach(Po=>{ao[Po]!==null&&(qr[Po]=ao[Po])}),Object.assign(Object.assign({},ya),{filters:qr})},[ya,ao]),[Zo]=ts(Io),Ko=(qr,Po)=>{Qr({pagination:Object.assign(Object.assign({},Dr.pagination),{current:qr,pageSize:Po})},"paginate")},[$r,na]=di(co.length,Ko,Xt);Dr.pagination=Xt===!1?{}:ci($r,Xt),Dr.resetPagination=na;const Qo=ne.useMemo(()=>{if(Xt===!1||!$r.pageSize)return co;const{current:qr=1,total:Po,pageSize:Yo=Xa}=$r;return co.length<Po?co.length>Yo?co.slice((qr-1)*Yo,qr*Yo):co:co.slice((qr-1)*Yo,qr*Yo)},[!!Xt,co,$r&&$r.current,$r&&$r.pageSize,$r&&$r.total]),[ua,Ca]=Ma({prefixCls:Eo,data:co,pageData:Qo,getRowKey:no,getRecordByKey:nr,expandType:hr,childrenColumnName:mr,locale:to,getPopupContainer:Sn||Mr},Ht),Sa=(qr,Po,Yo)=>{let Mo;return typeof rn=="function"?Mo=Ee()(rn(qr,Po,Yo)):Mo=Ee()(rn),Ee()({[`${Eo}-row-selected`]:Ca.has(no(qr,Po))},Mo)};Sr.__PARENT_RENDER_ICON__=Sr.expandIcon,Sr.expandIcon=Sr.expandIcon||or||nn(to),hr==="nest"&&Sr.expandIconColumnIndex===void 0?Sr.expandIconColumnIndex=Ht?1:0:Sr.expandIconColumnIndex>0&&Ht&&(Sr.expandIconColumnIndex-=1),typeof Sr.indentSize!="number"&&(Sr.indentSize=typeof Rr=="number"?Rr:15);const Wa=ne.useCallback(qr=>Zo(ua(ia(Jo(qr)))),[Jo,ia,ua]);let Oa,pa;if(Xt!==!1&&($r!=null&&$r.total)){let qr;$r.size?qr=$r.size:qr=Uo==="small"||Uo==="middle"?"small":void 0;const Po=qo=>ne.createElement(jn.Z,Object.assign({},$r,{className:Ee()(`${Eo}-pagination ${Eo}-pagination-${qo}`,$r.className),size:qr})),Yo=vo==="rtl"?"left":"right",{position:Mo}=$r;if(Mo!==null&&Array.isArray(Mo)){const qo=Mo.find(Ta=>Ta.includes("top")),la=Mo.find(Ta=>Ta.includes("bottom")),ca=Mo.every(Ta=>`${Ta}`=="none");!qo&&!la&&!ca&&(pa=Po(Yo)),qo&&(Oa=Po(qo.toLowerCase().replace("top",""))),la&&(pa=Po(la.toLowerCase().replace("bottom","")))}else pa=Po(Yo)}let sa;typeof Mn=="boolean"?sa={spinning:Mn}:typeof Mn=="object"&&(sa=Object.assign({spinning:!0},Mn));const[ra,$o]=ws(Eo),[,Ro]=(0,Zt.Z)(),Ea=Ee()(`${Eo}-wrapper`,eo==null?void 0:eo.className,{[`${Eo}-wrapper-rtl`]:vo==="rtl"},yt,Pt,$o),Fa=Object.assign(Object.assign({},eo==null?void 0:eo.style),wt),Aa=Zn&&Zn.emptyText||(Bo==null?void 0:Bo("Table"))||ne.createElement(Hn.Z,{componentName:"Table"}),xa=Xn?rs:ns,ei={},vi=ne.useMemo(()=>{const{fontSize:qr,lineHeight:Po,padding:Yo,paddingXS:Mo,paddingSM:qo}=Ro,la=Math.floor(qr*Po);switch(Uo){case"large":return Yo*2+la;case"small":return Mo*2+la;default:return qo*2+la}},[Ro,Uo]);return Xn&&(ei.listItemHeight=vi),ra(ne.createElement("div",{ref:it,className:Ea,style:Fa},ne.createElement(sn.Z,Object.assign({spinning:!1},sa),Oa,ne.createElement(xa,Object.assign({},ei,Hr,{columns:gr,direction:vo,expandable:Sr,prefixCls:Eo,className:Ee()({[`${Eo}-middle`]:Uo==="middle",[`${Eo}-small`]:Uo==="small",[`${Eo}-bordered`]:jt,[`${Eo}-empty`]:_o.length===0}),data:Qo,rowKey:no,rowClassName:Sa,emptyText:Aa,internalHooks:_e,internalRefs:tr,transformColumns:Wa})),pa)))};var xs=ne.forwardRef(Es);const _s=(rt,it)=>{const gt=ne.useRef(0);return gt.current+=1,ne.createElement(xs,Object.assign({},rt,{ref:it,_renderTimes:gt.current}))},_a=ne.forwardRef(_s);_a.SELECTION_COLUMN=Wo,_a.EXPAND_COLUMN=be,_a.SELECTION_ALL=Pa,_a.SELECTION_INVERT=va,_a.SELECTION_NONE=ta,_a.Column=jo,_a.ColumnGroup=_t,_a.Summary=xe;var Os=_a,Ts=Os},12563:function(Ct,dt,ve){"use strict";ve.d(dt,{default:function(){return Pe}});var be=ve(59301),_e=ve(99267),E=ve(92310),he=ve.n(E),de=ve(36785),se=ve(47729),ne=ve(14088),ie=ve(36355),ce=ve(17313),ue=ve(37613),ae=ve(83116);const oe=we=>{const{paddingXXS:De,lineWidth:Ee,tagPaddingHorizontal:Ae,componentCls:Ce}=we,Ie=Ae-Ee,Me=De-Ee;return{[Ce]:Object.assign(Object.assign({},(0,ce.Wf)(we)),{display:"inline-block",height:"auto",marginInlineEnd:we.marginXS,paddingInline:Ie,fontSize:we.tagFontSize,lineHeight:we.tagLineHeight,whiteSpace:"nowrap",background:we.defaultBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadiusSM,opacity:1,transition:`all ${we.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ce}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:we.defaultColor},[`${Ce}-close-icon`]:{marginInlineStart:Me,color:we.colorTextDescription,fontSize:we.tagIconSize,cursor:"pointer",transition:`all ${we.motionDurationMid}`,"&:hover":{color:we.colorTextHeading}},[`&${Ce}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${we.iconCls}-close, ${we.iconCls}-close:hover`]:{color:we.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ce}-checkable-checked):hover`]:{color:we.colorPrimary,backgroundColor:we.colorFillSecondary},"&:active, &-checked":{color:we.colorTextLightSolid},"&-checked":{backgroundColor:we.colorPrimary,"&:hover":{backgroundColor:we.colorPrimaryHover}},"&:active":{backgroundColor:we.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${we.iconCls} + span, > span + ${we.iconCls}`]:{marginInlineStart:Ie}}),[`${Ce}-borderless`]:{borderColor:"transparent",background:we.tagBorderlessBg}}},re=we=>{const{lineWidth:De,fontSizeIcon:Ee}=we,Ae=we.fontSizeSM,Ce=`${we.lineHeightSM*Ae}px`;return(0,ue.TS)(we,{tagFontSize:Ae,tagLineHeight:Ce,tagIconSize:Ee-2*De,tagPaddingHorizontal:8,tagBorderlessBg:we.colorFillTertiary})},ee=we=>({defaultBg:we.colorFillQuaternary,defaultColor:we.colorText});var a=(0,ae.Z)("Tag",we=>{const De=re(we);return oe(De)},ee),y=function(we,De){var Ee={};for(var Ae in we)Object.prototype.hasOwnProperty.call(we,Ae)&&De.indexOf(Ae)<0&&(Ee[Ae]=we[Ae]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ae=Object.getOwnPropertySymbols(we);Ce<Ae.length;Ce++)De.indexOf(Ae[Ce])<0&&Object.prototype.propertyIsEnumerable.call(we,Ae[Ce])&&(Ee[Ae[Ce]]=we[Ae[Ce]]);return Ee},b=we=>{const{prefixCls:De,style:Ee,className:Ae,checked:Ce,onChange:Ie,onClick:Me}=we,Ge=y(we,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Be,tag:Qe}=be.useContext(ie.E_),qe=He=>{Ie==null||Ie(!Ce),Me==null||Me(He)},Xe=Be("tag",De),[Ve,We]=a(Xe),ze=he()(Xe,`${Xe}-checkable`,{[`${Xe}-checkable-checked`]:Ce},Qe==null?void 0:Qe.className,Ae,We);return Ve(be.createElement("span",Object.assign({},Ge,{style:Object.assign(Object.assign({},Ee),Qe==null?void 0:Qe.style),className:ze,onClick:qe})))},z=ve(45157);const te=we=>(0,z.Z)(we,(De,Ee)=>{let{textColor:Ae,lightBorderColor:Ce,lightColor:Ie,darkColor:Me}=Ee;return{[`${we.componentCls}-${De}`]:{color:Ae,background:Ie,borderColor:Ce,"&-inverse":{color:we.colorTextLightSolid,background:Me,borderColor:Me},[`&${we.componentCls}-borderless`]:{borderColor:"transparent"}}}});var le=(0,ae.b)(["Tag","preset"],we=>{const De=re(we);return te(De)},ee);function fe(we){return typeof we!="string"?we:we.charAt(0).toUpperCase()+we.slice(1)}const pe=(we,De,Ee)=>{const Ae=fe(Ee);return{[`${we.componentCls}-${De}`]:{color:we[`color${Ee}`],background:we[`color${Ae}Bg`],borderColor:we[`color${Ae}Border`],[`&${we.componentCls}-borderless`]:{borderColor:"transparent"}}}};var me=(0,ae.b)(["Tag","status"],we=>{const De=re(we);return[pe(De,"success","Success"),pe(De,"processing","Info"),pe(De,"error","Error"),pe(De,"warning","Warning")]},ee),ge=function(we,De){var Ee={};for(var Ae in we)Object.prototype.hasOwnProperty.call(we,Ae)&&De.indexOf(Ae)<0&&(Ee[Ae]=we[Ae]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ae=Object.getOwnPropertySymbols(we);Ce<Ae.length;Ce++)De.indexOf(Ae[Ce])<0&&Object.prototype.propertyIsEnumerable.call(we,Ae[Ce])&&(Ee[Ae[Ce]]=we[Ae[Ce]]);return Ee};const Se=(we,De)=>{const{prefixCls:Ee,className:Ae,rootClassName:Ce,style:Ie,children:Me,icon:Ge,color:Be,onClose:Qe,closeIcon:qe,closable:Xe,bordered:Ve=!0}=we,We=ge(we,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ze,direction:He,tag:tt}=be.useContext(ie.E_),[Je,ut]=be.useState(!0);be.useEffect(()=>{"visible"in We&&ut(We.visible)},[We.visible]);const Ye=(0,de.o2)(Be),Ue=(0,de.yT)(Be),je=Ye||Ue,$e=Object.assign(Object.assign({backgroundColor:Be&&!je?Be:void 0},tt==null?void 0:tt.style),Ie),Le=ze("tag",Ee),[Ne,et]=a(Le),Ze=he()(Le,tt==null?void 0:tt.className,{[`${Le}-${Be}`]:je,[`${Le}-has-color`]:Be&&!je,[`${Le}-hidden`]:!Je,[`${Le}-rtl`]:He==="rtl",[`${Le}-borderless`]:!Ve},Ae,Ce,et),Fe=ot=>{ot.stopPropagation(),Qe==null||Qe(ot),!ot.defaultPrevented&&ut(!1)},[,Oe]=(0,se.Z)(Xe,qe,ot=>ot===null?be.createElement(_e.Z,{className:`${Le}-close-icon`,onClick:Fe}):be.createElement("span",{className:`${Le}-close-icon`,onClick:Fe},ot),null,!1),Te=typeof We.onClick=="function"||Me&&Me.type==="a",xe=Ge||null,Re=xe?be.createElement(be.Fragment,null,xe,Me&&be.createElement("span",null,Me)):Me,Ke=be.createElement("span",Object.assign({},We,{ref:De,className:Ze,style:$e}),Re,Oe,Ye&&be.createElement(le,{key:"preset",prefixCls:Le}),Ue&&be.createElement(me,{key:"status",prefixCls:Le}));return Ne(Te?be.createElement(ne.Z,{component:"Tag"},Ke):Ke)},ye=be.forwardRef(Se);ye.CheckableTag=b;var Pe=ye},65615:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ot}});var be=ve(59301),_e=ve(20049),E=ve(5016),he=ve(10928),de=ve(52456),se=ve(5883),ne=ve(43403),ie=ve(35593),ce=ve(92310),ue=ve.n(ce),ae=ve(34280),oe=ve(18929),re=ve(6089);function ee(ke){var nt=window.innerWidth||document.documentElement.clientWidth,mt=window.innerHeight||document.documentElement.clientHeight,ct=ke.getBoundingClientRect(),ht=ct.top,lt=ct.right,pt=ct.bottom,at=ct.left;return ht>=0&&at>=0&<<=nt&&pt<=mt}function a(ke,nt,mt){var ct;return(ct=mt!=null?mt:nt)!==null&&ct!==void 0?ct:ke===null?"center":"bottom"}function y(ke,nt,mt,ct){var ht=(0,be.useState)(void 0),lt=(0,de.Z)(ht,2),pt=lt[0],at=lt[1];(0,ae.Z)(function(){var Jt=typeof ke=="function"?ke():ke;at(Jt||null)});var st=(0,be.useState)(null),ft=(0,de.Z)(st,2),vt=ft[0],St=ft[1],Et=(0,re.Z)(function(){if(pt){!ee(pt)&&nt&&pt.scrollIntoView(ct);var Jt=pt.getBoundingClientRect(),dn=Jt.left,Qt=Jt.top,on=Jt.width,wn=Jt.height,vn={left:dn,top:Qt,width:on,height:wn,radius:0};St(function(fn){return JSON.stringify(fn)!==JSON.stringify(vn)?vn:fn})}else St(null)}),Mt=function(dn){var Qt;return(Qt=Array.isArray(mt==null?void 0:mt.offset)?mt==null?void 0:mt.offset[dn]:mt==null?void 0:mt.offset)!==null&&Qt!==void 0?Qt:6};(0,ae.Z)(function(){return Et(),window.addEventListener("resize",Et),function(){window.removeEventListener("resize",Et)}},[pt,nt,Et]);var kt=(0,be.useMemo)(function(){if(!vt)return vt;var Jt=Mt(0),dn=Mt(1),Qt=(mt==null?void 0:mt.radius)||2;return{left:vt.left-Jt,top:vt.top-dn,width:vt.width+Jt*2,height:vt.height+dn*2,radius:Qt}},[vt,mt]);return[kt,pt]}var x=ve(80402),b={fill:"transparent",pointerEvents:"auto"},z=function(nt){var mt=nt.prefixCls,ct=nt.rootClassName,ht=nt.pos,lt=nt.showMask,pt=nt.style,at=pt===void 0?{}:pt,st=nt.fill,ft=st===void 0?"rgba(0,0,0,0.5)":st,vt=nt.open,St=nt.animated,Et=nt.zIndex,Mt=(0,x.Z)(),kt="".concat(mt,"-mask-").concat(Mt),Jt=(0,he.Z)(St)==="object"?St==null?void 0:St.placeholder:St;return be.createElement(ne.Z,{open:vt,autoLock:!0},be.createElement("div",{className:ue()("".concat(mt,"-mask"),ct),style:(0,_e.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Et,pointerEvents:"none"},at)},lt?be.createElement("svg",{style:{width:"100%",height:"100%"}},be.createElement("defs",null,be.createElement("mask",{id:kt},be.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),ht&&be.createElement("rect",{x:ht.left,y:ht.top,rx:ht.radius,width:ht.width,height:ht.height,fill:"black",className:Jt?"".concat(mt,"-placeholder-animated"):""}))),be.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:ft,mask:"url(#".concat(kt,")")}),ht&&be.createElement(be.Fragment,null,be.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:"100%",height:ht.top})),be.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:ht.left,height:"100%"})),be.createElement("rect",(0,E.Z)({},b,{x:"0",y:ht.top+ht.height,width:"100%",height:"calc(100vh - ".concat(ht.top+ht.height,"px)")})),be.createElement("rect",(0,E.Z)({},b,{x:ht.left+ht.width,y:"0",width:"calc(100vw - ".concat(ht.left+ht.width,"px)"),height:"100%"})))):null))},te=z,le={adjustX:1,adjustY:1},fe=[0,0],pe={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function me(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,nt={};return Object.keys(pe).forEach(function(mt){nt[mt]=(0,_e.Z)((0,_e.Z)({},pe[mt]),{},{autoArrow:ke,targetOffset:fe})}),nt}var ge=me(),Se=ve(92393);function ye(ke){var nt=ke.prefixCls,mt=ke.current,ct=ke.total,ht=ke.title,lt=ke.description,pt=ke.onClose,at=ke.onPrev,st=ke.onNext,ft=ke.onFinish,vt=ke.className,St=ke.closeIcon,Et=St!==!1&&St!==null,Mt=St!==void 0&&St!==!0?St:be.createElement("span",{className:"".concat(nt,"-close-x")},"\xD7");return be.createElement("div",{className:ue()("".concat(nt,"-content"),vt)},be.createElement("div",{className:"".concat(nt,"-inner")},Et&&be.createElement("button",{type:"button",onClick:pt,"aria-label":"Close",className:"".concat(nt,"-close")},Mt),be.createElement("div",{className:"".concat(nt,"-header")},be.createElement("div",{className:"".concat(nt,"-title")},ht)),be.createElement("div",{className:"".concat(nt,"-description")},lt),be.createElement("div",{className:"".concat(nt,"-footer")},be.createElement("div",{className:"".concat(nt,"-sliders")},ct>1?(0,Se.Z)(Array.from({length:ct}).keys()).map(function(kt,Jt){return be.createElement("span",{key:kt,className:Jt===mt?"active":""})}):null),be.createElement("div",{className:"".concat(nt,"-buttons")},mt!==0?be.createElement("button",{className:"".concat(nt,"-prev-btn"),onClick:at},"Prev"):null,mt===ct-1?be.createElement("button",{className:"".concat(nt,"-finish-btn"),onClick:ft},"Finish"):be.createElement("button",{className:"".concat(nt,"-next-btn"),onClick:st},"Next")))))}var Pe=function(nt){var mt=nt.current,ct=nt.renderPanel;return be.createElement(be.Fragment,null,typeof ct=="function"?ct(nt,mt):be.createElement(ye,nt))},we=Pe,De=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],Ee={left:"50%",top:"50%",width:1,height:1},Ae=function(nt){var mt=nt.prefixCls,ct=mt===void 0?"rc-tour":mt,ht=nt.steps,lt=ht===void 0?[]:ht,pt=nt.defaultCurrent,at=nt.current,st=nt.onChange,ft=nt.onClose,vt=nt.onFinish,St=nt.open,Et=nt.mask,Mt=Et===void 0?!0:Et,kt=nt.arrow,Jt=kt===void 0?!0:kt,dn=nt.rootClassName,Qt=nt.placement,on=nt.renderPanel,wn=nt.gap,vn=nt.animated,fn=nt.scrollIntoViewOptions,Bn=fn===void 0?!0:fn,Un=nt.zIndex,Nn=Un===void 0?1001:Un,_n=nt.closeIcon,kn=(0,se.Z)(nt,De),Fn=be.useRef(),Tr=(0,oe.Z)(0,{value:at,defaultValue:pt}),Nr=(0,de.Z)(Tr,2),rr=Nr[0],Lr=Nr[1],cr=(0,oe.Z)(void 0,{value:St,postState:function(pr){return rr<0||rr>=lt.length?!1:pr!=null?pr:!0}}),br=(0,de.Z)(cr,2),Ot=br[0],At=br[1],xt=be.useRef(Ot);(0,ae.Z)(function(){Ot&&!xt.current&&Lr(0),xt.current=Ot},[Ot]);var en=lt[rr]||{},Rn=en.target,pn=en.placement,Fr=en.style,ur=en.arrow,Gt=en.className,Tt=en.mask,tn=en.scrollIntoViewOptions,Bt=en.closeIcon,un=Ot&&(Tt!=null?Tt:Mt),Ut=Bt!=null?Bt:_n,An=tn!=null?tn:Bn,Pn=y(Rn,St,wn,An),bt=(0,de.Z)(Pn,2),It=bt[0],Rt=bt[1],Nt=a(Rt,Qt,pn),Yt=Rt?typeof ur=="undefined"?Jt:ur:!1,$t=(0,he.Z)(Yt)==="object"?Yt.pointAtCenter:!1;(0,ae.Z)(function(){var ar;(ar=Fn.current)===null||ar===void 0||ar.forceAlign()},[$t,rr]);var Kt=function(pr){Lr(pr),st==null||st(pr)};if(Rt===void 0)return null;var Vt=function(){At(!1),ft==null||ft(rr)},Dn=function(){return be.createElement(we,(0,E.Z)({arrow:Yt,key:"content",prefixCls:ct,total:lt.length,renderPanel:on,onPrev:function(){Kt(rr-1)},onNext:function(){Kt(rr+1)},onClose:Vt,current:rr,onFinish:function(){Vt(),vt==null||vt()},closeIcon:Ut},lt[rr]))},In=typeof un=="boolean"?un:!!un,Ft=typeof un=="boolean"?void 0:un,Ar=function(pr){return pr||Rt||document.body};return be.createElement(be.Fragment,null,be.createElement(te,{zIndex:Nn,prefixCls:ct,pos:It,showMask:In,style:Ft==null?void 0:Ft.style,fill:Ft==null?void 0:Ft.color,open:Ot,animated:vn,rootClassName:dn}),be.createElement(ie.Z,(0,E.Z)({builtinPlacements:me($t)},kn,{ref:Fn,popupStyle:Fr,popupPlacement:Nt,popupVisible:Ot,popupClassName:ue()(dn,Gt),prefixCls:ct,popup:Dn,forceRender:!1,destroyPopupOnHide:!0,zIndex:Nn,getTriggerDOMNode:Ar,arrow:!!Yt}),be.createElement(ne.Z,{open:Ot,autoLock:!0},be.createElement("div",{className:ue()(dn,"".concat(ct,"-target-placeholder")),style:(0,_e.Z)((0,_e.Z)({},It||Ee),{},{position:"fixed",pointerEvents:"none"})}))))},Ce=Ae,Ie=Ce,Me=ve(79676),Ge=ve(36355),Be=ve(88088),Qe=ve(99267),qe=ve(3113),Xe=ve(9763),Ve=ve(31724),We=ve(47729);function ze(ke){return ke!=null}var tt=ke=>{let{stepProps:nt,current:mt,type:ct,indicatorsRender:ht,closeIcon:lt}=ke;var pt,at;const{prefixCls:st,total:ft=1,title:vt,onClose:St,onPrev:Et,onNext:Mt,onFinish:kt,cover:Jt,description:dn,nextButtonProps:Qt,prevButtonProps:on,type:wn,className:vn,closeIcon:fn}=nt,Bn=wn!=null?wn:ct,Un=fn!=null?fn:lt,Nn=Un!==!1&&Un!==null,[_n,kn]=(0,We.Z)(Nn,Un,en=>be.createElement("span",{onClick:St,"aria-label":"Close",className:`${st}-close`},en),be.createElement(Qe.Z,{className:`${st}-close-icon`}),!0),Fn=mt===ft-1,Tr=()=>{var en;Et==null||Et(),(en=on==null?void 0:on.onClick)===null||en===void 0||en.call(on)},Nr=()=>{var en;Fn?kt==null||kt():Mt==null||Mt(),(en=Qt==null?void 0:Qt.onClick)===null||en===void 0||en.call(Qt)},rr=ze(vt)?be.createElement("div",{className:`${st}-header`},be.createElement("div",{className:`${st}-title`},vt)):null,Lr=ze(dn)?be.createElement("div",{className:`${st}-description`},dn):null,cr=ze(Jt)?be.createElement("div",{className:`${st}-cover`},Jt):null;let br;ht?br=ht(mt,ft):br=(0,Se.Z)(Array.from({length:ft}).keys()).map((en,Rn)=>be.createElement("span",{key:en,className:ue()(Rn===mt&&`${st}-indicator-active`,`${st}-indicator`)}));const Ot=Bn==="primary"?"default":"primary",At={type:"default",ghost:Bn==="primary"},[xt]=(0,Xe.Z)("Tour",Ve.Z.Tour);return be.createElement("div",{className:ue()(vn,`${st}-content`)},be.createElement("div",{className:`${st}-inner`},_n&&kn,cr,rr,Lr,be.createElement("div",{className:`${st}-footer`},ft>1&&be.createElement("div",{className:`${st}-indicators`},br),be.createElement("div",{className:`${st}-buttons`},mt!==0?be.createElement(qe.ZP,Object.assign({},At,on,{onClick:Tr,size:"small",className:ue()(`${st}-prev-btn`,on==null?void 0:on.className)}),(pt=on==null?void 0:on.children)!==null&&pt!==void 0?pt:xt==null?void 0:xt.Previous):null,be.createElement(qe.ZP,Object.assign({type:Ot},Qt,{onClick:Nr,size:"small",className:ue()(`${st}-next-btn`,Qt==null?void 0:Qt.className)}),(at=Qt==null?void 0:Qt.children)!==null&&at!==void 0?at:Fn?xt==null?void 0:xt.Finish:xt==null?void 0:xt.Next)))))},Je=ve(39722),ut=ve(64993),Ye=ve(17313),Ue=ve(19447),je=ve(83116),$e=ve(37613);const Le=ke=>{const{componentCls:nt,lineHeight:mt,padding:ct,paddingXS:ht,borderRadius:lt,borderRadiusXS:pt,colorPrimary:at,colorText:st,colorFill:ft,indicatorHeight:vt,indicatorWidth:St,boxShadowTertiary:Et,tourZIndexPopup:Mt,fontSize:kt,colorBgElevated:Jt,fontWeightStrong:dn,marginXS:Qt,colorTextLightSolid:on,tourBorderRadius:wn,colorWhite:vn,colorBgTextHover:fn,tourCloseSize:Bn,motionDurationSlow:Un,antCls:Nn}=ke;return[{[nt]:Object.assign(Object.assign({},(0,Ye.Wf)(ke)),{color:st,position:"absolute",zIndex:Mt,display:"block",visibility:"visible",fontSize:kt,lineHeight:mt,width:520,"--antd-arrow-background-color":Jt,"&-pure":{maxWidth:"100%",position:"relative"},[`&${nt}-hidden`]:{display:"none"},[`${nt}-content`]:{position:"relative"},[`${nt}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:wn,boxShadow:Et,position:"relative",backgroundColor:Jt,border:"none",backgroundClip:"padding-box",[`${nt}-close`]:{position:"absolute",top:ct,insetInlineEnd:ct,color:ke.colorIcon,outline:"none",width:Bn,height:Bn,borderRadius:ke.borderRadiusSM,transition:`background-color ${ke.motionDurationMid}, color ${ke.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:ke.colorIconHover,backgroundColor:ke.wireframe?"transparent":ke.colorFillContent}},[`${nt}-cover`]:{textAlign:"center",padding:`${ct+Bn+ht}px ${ct}px 0`,img:{width:"100%"}},[`${nt}-header`]:{padding:`${ct}px ${ct}px ${ht}px`,[`${nt}-title`]:{lineHeight:mt,fontSize:kt,fontWeight:dn}},[`${nt}-description`]:{padding:`0 ${ct}px`,lineHeight:mt,wordWrap:"break-word"},[`${nt}-footer`]:{padding:`${ht}px ${ct}px ${ct}px`,textAlign:"end",borderRadius:`0 0 ${pt}px ${pt}px`,display:"flex",[`${nt}-indicators`]:{display:"inline-block",[`${nt}-indicator`]:{width:St,height:vt,display:"inline-block",borderRadius:"50%",background:ft,"&:not(:last-child)":{marginInlineEnd:vt},"&-active":{background:at}}},[`${nt}-buttons`]:{marginInlineStart:"auto",[`${Nn}-btn`]:{marginInlineStart:Qt}}}},[`${nt}-primary, &${nt}-primary`]:{"--antd-arrow-background-color":at,[`${nt}-inner`]:{color:on,textAlign:"start",textDecoration:"none",backgroundColor:at,borderRadius:lt,boxShadow:Et,[`${nt}-close`]:{color:on},[`${nt}-indicators`]:{[`${nt}-indicator`]:{background:new ut.C(on).setAlpha(.15).toRgbString(),"&-active":{background:on}}},[`${nt}-prev-btn`]:{color:on,borderColor:new ut.C(on).setAlpha(.15).toRgbString(),backgroundColor:at,"&:hover":{backgroundColor:new ut.C(on).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${nt}-next-btn`]:{color:at,borderColor:"transparent",background:vn,"&:hover":{background:new ut.C(fn).onBackground(vn).toRgbString()}}}}}),[`${nt}-mask`]:{[`${nt}-placeholder-animated`]:{transition:`all ${Un}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${nt}-inner`]:{borderRadius:Math.min(wn,Ue.qN)}}},(0,Ue.ZP)(ke,{colorBg:"var(--antd-arrow-background-color)",contentRadius:wn,limitVerticalRadius:!0})]};var Ne=(0,je.Z)("Tour",ke=>{const{borderRadiusLG:nt,fontSize:mt,lineHeight:ct}=ke,ht=(0,$e.TS)(ke,{tourZIndexPopup:ke.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:nt,tourCloseSize:mt*ct});return[Le(ht)]}),et=ve(53487),Ze=function(ke,nt){var mt={};for(var ct in ke)Object.prototype.hasOwnProperty.call(ke,ct)&&nt.indexOf(ct)<0&&(mt[ct]=ke[ct]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,ct=Object.getOwnPropertySymbols(ke);ht<ct.length;ht++)nt.indexOf(ct[ht])<0&&Object.prototype.propertyIsEnumerable.call(ke,ct[ht])&&(mt[ct[ht]]=ke[ct[ht]]);return mt};const Fe=ke=>{const{prefixCls:nt,current:mt=0,total:ct=6,className:ht,style:lt,type:pt}=ke,at=Ze(ke,["prefixCls","current","total","className","style","type"]),{getPrefixCls:st}=be.useContext(Ge.E_),ft=st("tour",nt),[vt,St]=Ne(ft);return vt(be.createElement(Je.t5,{prefixCls:ft,hashId:St,className:ue()(ht,`${ft}-pure`,pt&&`${ft}-${pt}`),style:lt},be.createElement(tt,{stepProps:Object.assign(Object.assign({},at),{prefixCls:ft,total:ct}),current:mt,type:pt})))};var Oe=(0,et.i)(Fe),xe=ke=>{let{defaultType:nt,steps:mt=[],current:ct,defaultCurrent:ht}=ke;var lt;const[pt,at]=(0,oe.Z)(ht,{value:ct});(0,be.useLayoutEffect)(()=>{ct!==void 0&&at(ct)},[ct]);const st=typeof pt=="number"?(lt=mt[pt])===null||lt===void 0?void 0:lt.type:nt;return{currentMergedType:st!=null?st:nt,updateInnerCurrent:at}},Re=function(ke,nt){var mt={};for(var ct in ke)Object.prototype.hasOwnProperty.call(ke,ct)&&nt.indexOf(ct)<0&&(mt[ct]=ke[ct]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,ct=Object.getOwnPropertySymbols(ke);ht<ct.length;ht++)nt.indexOf(ct[ht])<0&&Object.prototype.propertyIsEnumerable.call(ke,ct[ht])&&(mt[ct[ht]]=ke[ct[ht]]);return mt};const Ke=ke=>{const{prefixCls:nt,current:mt,defaultCurrent:ct,type:ht,rootClassName:lt,indicatorsRender:pt,steps:at}=ke,st=Re(ke,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:ft,direction:vt}=(0,be.useContext)(Ge.E_),St=ft("tour",nt),[Et,Mt]=Ne(St),[,kt]=(0,Be.Z)(),{currentMergedType:Jt,updateInnerCurrent:dn}=xe({defaultType:ht,steps:at,current:mt,defaultCurrent:ct}),Qt=(0,Me.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:kt.marginXXS,arrowWidth:kt.sizePopupArrow,borderRadius:kt.borderRadius}),on=ue()({[`${St}-primary`]:Jt==="primary",[`${St}-rtl`]:vt==="rtl"},Mt,lt),wn=(fn,Bn)=>be.createElement(tt,{type:ht,stepProps:fn,current:Bn,indicatorsRender:pt}),vn=fn=>{var Bn;dn(fn),(Bn=ke.onChange)===null||Bn===void 0||Bn.call(ke,fn)};return Et(be.createElement(Ie,Object.assign({},st,{rootClassName:on,prefixCls:St,current:mt,defaultCurrent:ct,animated:!0,renderPanel:wn,builtinPlacements:Qt,onChange:vn,steps:at})))};Ke._InternalPanelDoNotUseOrYouWillBeFired=Oe;var ot=Ke},17574:function(Ct,dt,ve){"use strict";ve.d(dt,{default:function(){return Be}});var be=ve(64588),_e=ve(92393),E=ve(52671),he=ve(8657),de=ve(5016),se=ve(59301),ne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},ie=ne,ce=ve(7657),ue=function(qe,Xe){return se.createElement(ce.Z,(0,de.Z)({},qe,{ref:Xe,icon:ie}))},ae=se.forwardRef(ue),oe=ae,re=ve(92310),ee=ve.n(re),a=ve(35654),y=ve(71430),x=ve(36355),b=ve(56082),z=ve(62892),te=ve(20648);const le=4;function fe(Qe){const{dropPosition:qe,dropLevelOffset:Xe,prefixCls:Ve,indent:We,direction:ze="ltr"}=Qe,He=ze==="ltr"?"left":"right",tt=ze==="ltr"?"right":"left",Je={[He]:-Xe*We+le,[tt]:0};switch(qe){case-1:Je.top=-3;break;case 1:Je.bottom=-3;break;default:Je.bottom=-3,Je[He]=We+le;break}return se.createElement("div",{style:Je,className:`${Ve}-drop-indicator`})}var pe=ve(71997),ge=se.forwardRef((Qe,qe)=>{const{getPrefixCls:Xe,direction:Ve,virtual:We,tree:ze}=se.useContext(x.E_),{prefixCls:He,className:tt,showIcon:Je=!1,showLine:ut,switcherIcon:Ye,blockNode:Ue=!1,children:je,checkable:$e=!1,selectable:Le=!0,draggable:Ne,motion:et,style:Ze}=Qe,Fe=Xe("tree",He),Oe=Xe(),Te=et!=null?et:Object.assign(Object.assign({},(0,z.Z)(Oe)),{motionAppear:!1}),xe=Object.assign(Object.assign({},Qe),{checkable:$e,selectable:Le,showIcon:Je,motion:Te,blockNode:Ue,showLine:!!ut,dropIndicatorRender:fe}),[Re,Ke]=(0,te.ZP)(Fe),ot=se.useMemo(()=>{if(!Ne)return!1;let nt={};switch(typeof Ne){case"function":nt.nodeDraggable=Ne;break;case"object":nt=Object.assign({},Ne);break;default:break}return nt.icon!==!1&&(nt.icon=nt.icon||se.createElement(b.Z,null)),nt},[Ne]),ke=nt=>se.createElement(pe.Z,{prefixCls:Fe,switcherIcon:Ye,treeNodeProps:nt,showLine:ut});return Re(se.createElement(be.Z,Object.assign({itemHeight:20,ref:qe,virtual:We},xe,{style:Object.assign(Object.assign({},ze==null?void 0:ze.style),Ze),prefixCls:Fe,className:ee()({[`${Fe}-icon-hide`]:!Je,[`${Fe}-block-node`]:Ue,[`${Fe}-unselectable`]:!Le,[`${Fe}-rtl`]:Ve==="rtl"},ze==null?void 0:ze.className,tt,Ke),direction:Ve,checkable:$e&&se.createElement("span",{className:`${Fe}-checkbox-inner`}),selectable:Le,switcherIcon:ke,draggable:ot}),je))}),Se;(function(Qe){Qe[Qe.None=0]="None",Qe[Qe.Start=1]="Start",Qe[Qe.End=2]="End"})(Se||(Se={}));function ye(Qe,qe){function Xe(Ve){const{key:We,children:ze}=Ve;qe(We,Ve)!==!1&&ye(ze||[],qe)}Qe.forEach(Xe)}function Pe(Qe){let{treeData:qe,expandedKeys:Xe,startKey:Ve,endKey:We}=Qe;const ze=[];let He=Se.None;if(Ve&&Ve===We)return[Ve];if(!Ve||!We)return[];function tt(Je){return Je===Ve||Je===We}return ye(qe,Je=>{if(He===Se.End)return!1;if(tt(Je)){if(ze.push(Je),He===Se.None)He=Se.Start;else if(He===Se.Start)return He=Se.End,!1}else He===Se.Start&&ze.push(Je);return Xe.includes(Je)}),ze}function we(Qe,qe){const Xe=(0,_e.Z)(qe),Ve=[];return ye(Qe,(We,ze)=>{const He=Xe.indexOf(We);return He!==-1&&(Ve.push(ze),Xe.splice(He,1)),!!Xe.length}),Ve}var De=function(Qe,qe){var Xe={};for(var Ve in Qe)Object.prototype.hasOwnProperty.call(Qe,Ve)&&qe.indexOf(Ve)<0&&(Xe[Ve]=Qe[Ve]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Ve=Object.getOwnPropertySymbols(Qe);We<Ve.length;We++)qe.indexOf(Ve[We])<0&&Object.prototype.propertyIsEnumerable.call(Qe,Ve[We])&&(Xe[Ve[We]]=Qe[Ve[We]]);return Xe};function Ee(Qe){const{isLeaf:qe,expanded:Xe}=Qe;return qe?se.createElement(E.Z,null):Xe?se.createElement(he.Z,null):se.createElement(oe,null)}function Ae(Qe){let{treeData:qe,children:Xe}=Qe;return qe||(0,y.zn)(Xe)}const Ce=(Qe,qe)=>{var{defaultExpandAll:Xe,defaultExpandParent:Ve,defaultExpandedKeys:We}=Qe,ze=De(Qe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const He=se.useRef(),tt=se.useRef(),Je=()=>{const{keyEntities:ot}=(0,y.I8)(Ae(ze));let ke;return Xe?ke=Object.keys(ot):Ve?ke=(0,a.r7)(ze.expandedKeys||We||[],ot):ke=ze.expandedKeys||We,ke},[ut,Ye]=se.useState(ze.selectedKeys||ze.defaultSelectedKeys||[]),[Ue,je]=se.useState(()=>Je());se.useEffect(()=>{"selectedKeys"in ze&&Ye(ze.selectedKeys)},[ze.selectedKeys]),se.useEffect(()=>{"expandedKeys"in ze&&je(ze.expandedKeys)},[ze.expandedKeys]);const $e=(ot,ke)=>{var nt;return"expandedKeys"in ze||je(ot),(nt=ze.onExpand)===null||nt===void 0?void 0:nt.call(ze,ot,ke)},Le=(ot,ke)=>{var nt;const{multiple:mt}=ze,{node:ct,nativeEvent:ht}=ke,{key:lt=""}=ct,pt=Ae(ze),at=Object.assign(Object.assign({},ke),{selected:!0}),st=(ht==null?void 0:ht.ctrlKey)||(ht==null?void 0:ht.metaKey),ft=ht==null?void 0:ht.shiftKey;let vt;mt&&st?(vt=ot,He.current=lt,tt.current=vt,at.selectedNodes=we(pt,vt)):mt&&ft?(vt=Array.from(new Set([].concat((0,_e.Z)(tt.current||[]),(0,_e.Z)(Pe({treeData:pt,expandedKeys:Ue,startKey:lt,endKey:He.current}))))),at.selectedNodes=we(pt,vt)):(vt=[lt],He.current=lt,tt.current=vt,at.selectedNodes=we(pt,vt)),(nt=ze.onSelect)===null||nt===void 0||nt.call(ze,vt,at),"selectedKeys"in ze||Ye(vt)},{getPrefixCls:Ne,direction:et}=se.useContext(x.E_),{prefixCls:Ze,className:Fe,showIcon:Oe=!0,expandAction:Te="click"}=ze,xe=De(ze,["prefixCls","className","showIcon","expandAction"]),Re=Ne("tree",Ze),Ke=ee()(`${Re}-directory`,{[`${Re}-directory-rtl`]:et==="rtl"},Fe);return se.createElement(ge,Object.assign({icon:Ee,ref:qe,blockNode:!0},xe,{showIcon:Oe,expandAction:Te,prefixCls:Re,className:Ke,expandedKeys:Ue,selectedKeys:ut,onSelect:Le,onExpand:$e}))};var Me=se.forwardRef(Ce);const Ge=ge;Ge.DirectoryTree=Me,Ge.TreeNode=be.O;var Be=Ge},20648:function(Ct,dt,ve){"use strict";ve.d(dt,{TM:function(){return re},Yk:function(){return oe}});var be=ve(93083),_e=ve(98447),E=ve(17313),he=ve(8378),de=ve(37613),se=ve(83116);const ne=new be.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ie=(ee,a)=>({[`.${ee}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),ce=(ee,a)=>({[`.${ee}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ue=(ee,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:z,nodeSelectedBg:te,nodeHoverBg:le}=a,fe=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,E.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,E.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:ne,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,E.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},ie(ee,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:fe},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:le},[`&${y}-node-selected`]:{backgroundColor:te},[`${y}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},ce(ee,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},ae=ee=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:z}=ee;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ee.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ee.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${ee.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},oe=(ee,a)=>{const y=`.${ee}`,x=`${y}-treenode`,b=a.paddingXS/2,z=(0,de.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[ue(ee,z),ae(z)]},re=ee=>{const{controlHeightSM:a}=ee;return{titleHeight:a,nodeHoverBg:ee.controlItemBgHover,nodeSelectedBg:ee.controlItemBgActive}};dt.ZP=(0,se.Z)("Tree",(ee,a)=>{let{prefixCls:y}=a;return[{[ee.componentCls]:(0,_e.C2)(`${y}-checkbox`,ee)},oe(y,ee),(0,he.Z)(ee)]},ee=>{const{colorTextLightSolid:a,colorPrimary:y}=ee;return Object.assign(Object.assign({},re(ee)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return x}});var be=ve(5016),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},he=E,de=ve(7657),se=function(z,te){return _e.createElement(de.Z,(0,be.Z)({},z,{ref:te,icon:he}))},ne=_e.forwardRef(se),ie=ne,ce=ve(52671),ue=ve(58617),ae=ve(15075),oe=ve(43531),re=ve(92310),ee=ve.n(re),a=ve(92343),x=b=>{const{prefixCls:z,switcherIcon:te,treeNodeProps:le,showLine:fe}=b,{isLeaf:pe,expanded:me,loading:ge}=le;if(ge)return _e.createElement(ue.Z,{className:`${z}-switcher-loading-icon`});let Se;if(fe&&typeof fe=="object"&&(Se=fe.showLeafIcon),pe){if(!fe)return null;if(typeof Se!="boolean"&&Se){const we=typeof Se=="function"?Se(le):Se,De=`${z}-switcher-line-custom-icon`;return(0,a.l$)(we)?(0,a.Tm)(we,{className:ee()(we.props.className||"",De)}):we}return Se?_e.createElement(ce.Z,{className:`${z}-switcher-line-icon`}):_e.createElement("span",{className:`${z}-switcher-leaf-line`})}const ye=`${z}-switcher-icon`,Pe=typeof te=="function"?te(le):te;return(0,a.l$)(Pe)?(0,a.Tm)(Pe,{className:ee()(Pe.props.className||"",ye)}):Pe!==void 0?Pe:fe?me?_e.createElement(ae.Z,{className:`${z}-switcher-line-icon`}):_e.createElement(oe.Z,{className:`${z}-switcher-line-icon`}):_e.createElement(ie,{className:ye})}},54580:function(Ct,dt,ve){"use strict";ve.d(dt,{default:function(){return Pn}});var be=ve(59301),_e=ve(92393),E=ve(92310),he=ve.n(E),de=ve(5016),se=ve(6487),ne=ve(56789),ie=ve(7942),ce=ve(76773),ue=ve(18082),ae=ve(5883),oe=ve(85444),re=ve(10928),ee=ve(21566),a=ve(26112);function y(bt,It){var Rt="cannot ".concat(bt.method," ").concat(bt.action," ").concat(It.status,"'"),Nt=new Error(Rt);return Nt.status=It.status,Nt.method=bt.method,Nt.url=bt.action,Nt}function x(bt){var It=bt.responseText||bt.response;if(!It)return It;try{return JSON.parse(It)}catch(Rt){return It}}function b(bt){var It=new XMLHttpRequest;bt.onProgress&&It.upload&&(It.upload.onprogress=function($t){$t.total>0&&($t.percent=$t.loaded/$t.total*100),bt.onProgress($t)});var Rt=new FormData;bt.data&&Object.keys(bt.data).forEach(function(Yt){var $t=bt.data[Yt];if(Array.isArray($t)){$t.forEach(function(Kt){Rt.append("".concat(Yt,"[]"),Kt)});return}Rt.append(Yt,$t)}),bt.file instanceof Blob?Rt.append(bt.filename,bt.file,bt.file.name):Rt.append(bt.filename,bt.file),It.onerror=function($t){bt.onError($t)},It.onload=function(){return It.status<200||It.status>=300?bt.onError(y(bt,It),x(It)):bt.onSuccess(x(It),It)},It.open(bt.method,bt.action,!0),bt.withCredentials&&"withCredentials"in It&&(It.withCredentials=!0);var Nt=bt.headers||{};return Nt["X-Requested-With"]!==null&&It.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Nt).forEach(function(Yt){Nt[Yt]!==null&&It.setRequestHeader(Yt,Nt[Yt])}),It.send(Rt),{abort:function(){It.abort()}}}var z=+new Date,te=0;function le(){return"rc-upload-".concat(z,"-").concat(++te)}var fe=ve(48736),pe=function(bt,It){if(bt&&It){var Rt=Array.isArray(It)?It:It.split(","),Nt=bt.name||"",Yt=bt.type||"",$t=Yt.replace(/\/.*$/,"");return Rt.some(function(Kt){var Vt=Kt.trim();if(/^\*(\/\*)?$/.test(Kt))return!0;if(Vt.charAt(0)==="."){var Dn=Nt.toLowerCase(),In=Vt.toLowerCase(),Ft=[In];return(In===".jpg"||In===".jpeg")&&(Ft=[".jpg",".jpeg"]),Ft.some(function(Ar){return Dn.endsWith(Ar)})}return/\/\*$/.test(Vt)?$t===Vt.replace(/\/.*$/,""):Yt===Vt?!0:/^\w+$/.test(Vt)?((0,fe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Vt,"'.Skip for check.")),!0):!1})}return!0};function me(bt,It){var Rt=bt.createReader(),Nt=[];function Yt(){Rt.readEntries(function($t){var Kt=Array.prototype.slice.apply($t);Nt=Nt.concat(Kt);var Vt=!Kt.length;Vt?It(Nt):Yt()})}Yt()}var ge=function(It,Rt,Nt){var Yt=function $t(Kt,Vt){Kt&&(Kt.path=Vt||"",Kt.isFile?Kt.file(function(Dn){Nt(Dn)&&(Kt.fullPath&&!Dn.webkitRelativePath&&(Object.defineProperties(Dn,{webkitRelativePath:{writable:!0}}),Dn.webkitRelativePath=Kt.fullPath.replace(/^\//,""),Object.defineProperties(Dn,{webkitRelativePath:{writable:!1}})),Rt([Dn]))}):Kt.isDirectory&&me(Kt,function(Dn){Dn.forEach(function(In){$t(In,"".concat(Vt).concat(Kt.name,"/"))})}))};It.forEach(function($t){Yt($t.webkitGetAsEntry())})},Se=ge,ye=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Pe=function(bt){(0,ie.Z)(Rt,bt);var It=(0,ce.Z)(Rt);function Rt(){var Nt;(0,se.Z)(this,Rt);for(var Yt=arguments.length,$t=new Array(Yt),Kt=0;Kt<Yt;Kt++)$t[Kt]=arguments[Kt];return Nt=It.call.apply(It,[this].concat($t)),Nt.state={uid:le()},Nt.reqs={},Nt.fileInput=void 0,Nt._isMounted=void 0,Nt.onChange=function(Vt){var Dn=Nt.props,In=Dn.accept,Ft=Dn.directory,Ar=Vt.target.files,ar=(0,_e.Z)(Ar).filter(function(pr){return!Ft||pe(pr,In)});Nt.uploadFiles(ar),Nt.reset()},Nt.onClick=function(Vt){var Dn=Nt.fileInput;if(Dn){var In=Vt.target,Ft=Nt.props.onClick;if(In&&In.tagName==="BUTTON"){var Ar=Dn.parentNode;Ar.focus(),In.blur()}Dn.click(),Ft&&Ft(Vt)}},Nt.onKeyDown=function(Vt){Vt.key==="Enter"&&Nt.onClick(Vt)},Nt.onFileDrop=function(Vt){var Dn=Nt.props.multiple;if(Vt.preventDefault(),Vt.type!=="dragover")if(Nt.props.directory)Se(Array.prototype.slice.call(Vt.dataTransfer.items),Nt.uploadFiles,function(Ft){return pe(Ft,Nt.props.accept)});else{var In=(0,_e.Z)(Vt.dataTransfer.files).filter(function(Ft){return pe(Ft,Nt.props.accept)});Dn===!1&&(In=In.slice(0,1)),Nt.uploadFiles(In)}},Nt.uploadFiles=function(Vt){var Dn=(0,_e.Z)(Vt),In=Dn.map(function(Ft){return Ft.uid=le(),Nt.processFile(Ft,Dn)});Promise.all(In).then(function(Ft){var Ar=Nt.props.onBatchStart;Ar==null||Ar(Ft.map(function(ar){var pr=ar.origin,Wr=ar.parsedFile;return{file:pr,parsedFile:Wr}})),Ft.filter(function(ar){return ar.parsedFile!==null}).forEach(function(ar){Nt.post(ar)})})},Nt.processFile=function(){var Vt=(0,ee.Z)((0,oe.Z)().mark(function Dn(In,Ft){var Ar,ar,pr,Wr,gn,mn,On,bn,Pr;return(0,oe.Z)().wrap(function(Qn){for(;;)switch(Qn.prev=Qn.next){case 0:if(Ar=Nt.props.beforeUpload,ar=In,!Ar){Qn.next=14;break}return Qn.prev=3,Qn.next=6,Ar(In,Ft);case 6:ar=Qn.sent,Qn.next=12;break;case 9:Qn.prev=9,Qn.t0=Qn.catch(3),ar=!1;case 12:if(ar!==!1){Qn.next=14;break}return Qn.abrupt("return",{origin:In,parsedFile:null,action:null,data:null});case 14:if(pr=Nt.props.action,typeof pr!="function"){Qn.next=21;break}return Qn.next=18,pr(In);case 18:Wr=Qn.sent,Qn.next=22;break;case 21:Wr=pr;case 22:if(gn=Nt.props.data,typeof gn!="function"){Qn.next=29;break}return Qn.next=26,gn(In);case 26:mn=Qn.sent,Qn.next=30;break;case 29:mn=gn;case 30:return On=((0,re.Z)(ar)==="object"||typeof ar=="string")&&ar?ar:In,On instanceof File?bn=On:bn=new File([On],In.name,{type:In.type}),Pr=bn,Pr.uid=In.uid,Qn.abrupt("return",{origin:In,data:mn,parsedFile:Pr,action:Wr});case 35:case"end":return Qn.stop()}},Dn,null,[[3,9]])}));return function(Dn,In){return Vt.apply(this,arguments)}}(),Nt.saveFileInput=function(Vt){Nt.fileInput=Vt},Nt}return(0,ne.Z)(Rt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Yt){var $t=this,Kt=Yt.data,Vt=Yt.origin,Dn=Yt.action,In=Yt.parsedFile;if(this._isMounted){var Ft=this.props,Ar=Ft.onStart,ar=Ft.customRequest,pr=Ft.name,Wr=Ft.headers,gn=Ft.withCredentials,mn=Ft.method,On=Vt.uid,bn=ar||b,Pr={action:Dn,filename:pr,data:Kt,file:In,headers:Wr,withCredentials:gn,method:mn||"post",onProgress:function(Qn){var kr=$t.props.onProgress;kr==null||kr(Qn,In)},onSuccess:function(Qn,kr){var an=$t.props.onSuccess;an==null||an(Qn,In,kr),delete $t.reqs[On]},onError:function(Qn,kr){var an=$t.props.onError;an==null||an(Qn,kr,In),delete $t.reqs[On]}};Ar(Vt),this.reqs[On]=bn(Pr)}}},{key:"reset",value:function(){this.setState({uid:le()})}},{key:"abort",value:function(Yt){var $t=this.reqs;if(Yt){var Kt=Yt.uid?Yt.uid:Yt;$t[Kt]&&$t[Kt].abort&&$t[Kt].abort(),delete $t[Kt]}else Object.keys($t).forEach(function(Vt){$t[Vt]&&$t[Vt].abort&&$t[Vt].abort(),delete $t[Vt]})}},{key:"render",value:function(){var Yt=this.props,$t=Yt.component,Kt=Yt.prefixCls,Vt=Yt.className,Dn=Yt.disabled,In=Yt.id,Ft=Yt.style,Ar=Yt.multiple,ar=Yt.accept,pr=Yt.capture,Wr=Yt.children,gn=Yt.directory,mn=Yt.openFileDialogOnClick,On=Yt.onMouseEnter,bn=Yt.onMouseLeave,Pr=(0,ae.Z)(Yt,ye),dr=he()((0,ue.Z)((0,ue.Z)((0,ue.Z)({},Kt,!0),"".concat(Kt,"-disabled"),Dn),Vt,Vt)),Qn=gn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},kr=Dn?{}:{onClick:mn?this.onClick:function(){},onKeyDown:mn?this.onKeyDown:function(){},onMouseEnter:On,onMouseLeave:bn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return be.createElement($t,(0,de.Z)({},kr,{className:dr,role:"button",style:Ft}),be.createElement("input",(0,de.Z)({},(0,a.Z)(Pr,{aria:!0,data:!0}),{id:In,disabled:Dn,type:"file",ref:this.saveFileInput,onClick:function(bo){return bo.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:ar},Qn,{multiple:Ar,onChange:this.onChange},pr!=null?{capture:pr}:{})),Wr)}}]),Rt}(be.Component),we=Pe;function De(){}var Ee=function(bt){(0,ie.Z)(Rt,bt);var It=(0,ce.Z)(Rt);function Rt(){var Nt;(0,se.Z)(this,Rt);for(var Yt=arguments.length,$t=new Array(Yt),Kt=0;Kt<Yt;Kt++)$t[Kt]=arguments[Kt];return Nt=It.call.apply(It,[this].concat($t)),Nt.uploader=void 0,Nt.saveUploader=function(Vt){Nt.uploader=Vt},Nt}return(0,ne.Z)(Rt,[{key:"abort",value:function(Yt){this.uploader.abort(Yt)}},{key:"render",value:function(){return be.createElement(we,(0,de.Z)({},this.props,{ref:this.saveUploader}))}}]),Rt}(be.Component);Ee.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:De,onError:De,onSuccess:De,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Ae=Ee,Ce=Ae,Ie=ve(18929),Me=ve(4676),Ge=ve(36355),Be=ve(1684),Qe=ve(9763),qe=ve(31724),Xe={icon:function(It,Rt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Rt}},{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:It}}]}},name:"file",theme:"twotone"},Ve=Xe,We=ve(7657),ze=function(It,Rt){return be.createElement(We.Z,(0,de.Z)({},It,{ref:Rt,icon:Ve}))},He=be.forwardRef(ze),tt=He,Je=ve(58617),ut={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"},Ye=ut,Ue=function(It,Rt){return be.createElement(We.Z,(0,de.Z)({},It,{ref:Rt,icon:Ye}))},je=be.forwardRef(Ue),$e=je,Le={icon:function(It,Rt){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:It}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Rt}},{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:Rt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Rt}},{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:It}}]}},name:"picture",theme:"twotone"},Ne=Le,et=function(It,Rt){return be.createElement(We.Z,(0,de.Z)({},It,{ref:Rt,icon:Ne}))},Ze=be.forwardRef(et),Fe=Ze,Oe=ve(77900),Te=ve(56762),xe=ve(62892),Re=ve(92343),Ke=ve(3113);function ot(bt){return Object.assign(Object.assign({},bt),{lastModified:bt.lastModified,lastModifiedDate:bt.lastModifiedDate,name:bt.name,size:bt.size,type:bt.type,uid:bt.uid,percent:0,originFileObj:bt})}function ke(bt,It){const Rt=(0,_e.Z)(It),Nt=Rt.findIndex(Yt=>{let{uid:$t}=Yt;return $t===bt.uid});return Nt===-1?Rt.push(bt):Rt[Nt]=bt,Rt}function nt(bt,It){const Rt=bt.uid!==void 0?"uid":"name";return It.filter(Nt=>Nt[Rt]===bt[Rt])[0]}function mt(bt,It){const Rt=bt.uid!==void 0?"uid":"name",Nt=It.filter(Yt=>Yt[Rt]!==bt[Rt]);return Nt.length===It.length?null:Nt}const ct=function(){const It=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Nt=It[It.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Nt)||[""])[0]},ht=bt=>bt.indexOf("image/")===0,lt=bt=>{if(bt.type&&!bt.thumbUrl)return ht(bt.type);const It=bt.thumbUrl||bt.url||"",Rt=ct(It);return/^data:image\//.test(It)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Rt)?!0:!(/^data:/.test(It)||Rt)},pt=200;function at(bt){return new Promise(It=>{if(!bt.type||!ht(bt.type)){It("");return}const Rt=document.createElement("canvas");Rt.width=pt,Rt.height=pt,Rt.style.cssText=`position: fixed; left: 0; top: 0; width: ${pt}px; height: ${pt}px; z-index: 9999; display: none;`,document.body.appendChild(Rt);const Nt=Rt.getContext("2d"),Yt=new Image;if(Yt.onload=()=>{const{width:$t,height:Kt}=Yt;let Vt=pt,Dn=pt,In=0,Ft=0;$t>Kt?(Dn=Kt*(pt/$t),Ft=-(Dn-Vt)/2):(Vt=$t*(pt/Kt),In=-(Vt-Dn)/2),Nt.drawImage(Yt,In,Ft,Vt,Dn);const Ar=Rt.toDataURL();document.body.removeChild(Rt),window.URL.revokeObjectURL(Yt.src),It(Ar)},Yt.crossOrigin="anonymous",bt.type.startsWith("image/svg+xml")){const $t=new FileReader;$t.onload=()=>{$t.result&&(Yt.src=$t.result)},$t.readAsDataURL(bt)}else if(bt.type.startsWith("image/gif")){const $t=new FileReader;$t.onload=()=>{$t.result&&It($t.result)},$t.readAsDataURL(bt)}else Yt.src=window.URL.createObjectURL(bt)})}var st=ve(26227),ft=ve(41464),vt=ve(15277),St=ve(93948),Et=ve(6848),kt=be.forwardRef((bt,It)=>{let{prefixCls:Rt,className:Nt,style:Yt,locale:$t,listType:Kt,file:Vt,items:Dn,progress:In,iconRender:Ft,actionIconRender:Ar,itemRender:ar,isImgUrl:pr,showPreviewIcon:Wr,showRemoveIcon:gn,showDownloadIcon:mn,previewIcon:On,removeIcon:bn,downloadIcon:Pr,onPreview:dr,onDownload:Qn,onClose:kr}=bt;var an,bo;const{status:yo}=Vt,[io,To]=be.useState(yo);be.useEffect(()=>{yo!=="removed"&&To(yo)},[yo]);const[Lo,Ao]=be.useState(!1);be.useEffect(()=>{const Ln=setTimeout(()=>{Ao(!0)},300);return()=>{clearTimeout(Ln)}},[]);const Do=Ft(Vt);let fr=be.createElement("div",{className:`${Rt}-icon`},Do);if(Kt==="picture"||Kt==="picture-card"||Kt==="picture-circle")if(io==="uploading"||!Vt.thumbUrl&&!Vt.url){const Ln=he()(`${Rt}-list-item-thumbnail`,{[`${Rt}-list-item-file`]:io!=="uploading"});fr=be.createElement("div",{className:Ln},Do)}else{const Ln=pr!=null&&pr(Vt)?be.createElement("img",{src:Vt.thumbUrl||Vt.url,alt:Vt.name,className:`${Rt}-list-item-image`,crossOrigin:Vt.crossOrigin}):Do,Hn=he()(`${Rt}-list-item-thumbnail`,{[`${Rt}-list-item-file`]:pr&&!pr(Vt)});fr=be.createElement("a",{className:Hn,onClick:Kn=>dr(Vt,Kn),href:Vt.url||Vt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ln)}const ir=he()(`${Rt}-list-item`,`${Rt}-list-item-${io}`),xo=typeof Vt.linkProps=="string"?JSON.parse(Vt.linkProps):Vt.linkProps,jr=gn?Ar((typeof bn=="function"?bn(Vt):bn)||be.createElement(st.Z,null),()=>kr(Vt),Rt,$t.removeFile):null,fo=mn&&io==="done"?Ar((typeof Pr=="function"?Pr(Vt):Pr)||be.createElement(ft.Z,null),()=>Qn(Vt),Rt,$t.downloadFile):null,So=Kt!=="picture-card"&&Kt!=="picture-circle"&&be.createElement("span",{key:"download-delete",className:he()(`${Rt}-list-item-actions`,{picture:Kt==="picture"})},fo,jr),po=he()(`${Rt}-list-item-name`),Vr=Vt.url?[be.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:po,title:Vt.name},xo,{href:Vt.url,onClick:Ln=>dr(Vt,Ln)}),Vt.name),So]:[be.createElement("span",{key:"view",className:po,onClick:Ln=>dr(Vt,Ln),title:Vt.name},Vt.name),So],Cr={pointerEvents:"none",opacity:.5},Xr=Wr?be.createElement("a",{href:Vt.url||Vt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Vt.url||Vt.thumbUrl?void 0:Cr,onClick:Ln=>dr(Vt,Ln),title:$t.previewFile},typeof On=="function"?On(Vt):On||be.createElement(vt.Z,null)):null,ro=(Kt==="picture-card"||Kt==="picture-circle")&&io!=="uploading"&&be.createElement("span",{className:`${Rt}-list-item-actions`},Xr,io==="done"&&fo,jr),{getPrefixCls:jo}=be.useContext(Ge.E_),wo=jo(),_t=be.createElement("div",{className:ir},fr,Vr,ro,Lo&&be.createElement(Oe.default,{motionName:`${wo}-fade`,visible:io==="uploading",motionDeadline:2e3},Ln=>{let{className:Hn}=Ln;const Kn="percent"in Vt?be.createElement(St.Z,Object.assign({},In,{type:"line",percent:Vt.percent,"aria-label":Vt["aria-label"],"aria-labelledby":Vt["aria-labelledby"]})):null;return be.createElement("div",{className:he()(`${Rt}-list-item-progress`,Hn)},Kn)})),Wt=Vt.response&&typeof Vt.response=="string"?Vt.response:((an=Vt.error)===null||an===void 0?void 0:an.statusText)||((bo=Vt.error)===null||bo===void 0?void 0:bo.message)||$t.uploadError,qt=io==="error"?be.createElement(Et.Z,{title:Wt,getPopupContainer:Ln=>Ln.parentNode},_t):_t;return be.createElement("div",{className:he()(`${Rt}-list-item-container`,Nt),style:Yt,ref:It},ar?ar(qt,Vt,Dn,{download:Qn.bind(null,Vt),preview:dr.bind(null,Vt),remove:kr.bind(null,Vt)}):qt)});const Jt=(bt,It)=>{const{listType:Rt="text",previewFile:Nt=at,onPreview:Yt,onDownload:$t,onRemove:Kt,locale:Vt,iconRender:Dn,isImageUrl:In=lt,prefixCls:Ft,items:Ar=[],showPreviewIcon:ar=!0,showRemoveIcon:pr=!0,showDownloadIcon:Wr=!1,removeIcon:gn,previewIcon:mn,downloadIcon:On,progress:bn={size:[-1,2],showInfo:!1},appendAction:Pr,appendActionVisible:dr=!0,itemRender:Qn,disabled:kr}=bt,an=(0,Te.Z)(),[bo,yo]=be.useState(!1);be.useEffect(()=>{Rt!=="picture"&&Rt!=="picture-card"&&Rt!=="picture-circle"||(Ar||[]).forEach(Cr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Cr.originFileObj instanceof File||Cr.originFileObj instanceof Blob)||Cr.thumbUrl!==void 0||(Cr.thumbUrl="",Nt&&Nt(Cr.originFileObj).then(Xr=>{Cr.thumbUrl=Xr||"",an()}))})},[Rt,Ar,Nt]),be.useEffect(()=>{yo(!0)},[]);const io=(Cr,Xr)=>{if(Yt)return Xr==null||Xr.preventDefault(),Yt(Cr)},To=Cr=>{typeof $t=="function"?$t(Cr):Cr.url&&window.open(Cr.url)},Lo=Cr=>{Kt==null||Kt(Cr)},Ao=Cr=>{if(Dn)return Dn(Cr,Rt);const Xr=Cr.status==="uploading",ro=In&&In(Cr)?be.createElement(Fe,null):be.createElement(tt,null);let jo=Xr?be.createElement(Je.Z,null):be.createElement($e,null);return Rt==="picture"?jo=Xr?be.createElement(Je.Z,null):ro:(Rt==="picture-card"||Rt==="picture-circle")&&(jo=Xr?Vt.uploading:ro),jo},Do=(Cr,Xr,ro,jo)=>{const wo={type:"text",size:"small",title:jo,onClick:_t=>{Xr(),(0,Re.l$)(Cr)&&Cr.props.onClick&&Cr.props.onClick(_t)},className:`${ro}-list-item-action`,disabled:kr};if((0,Re.l$)(Cr)){const _t=(0,Re.Tm)(Cr,Object.assign(Object.assign({},Cr.props),{onClick:()=>{}}));return be.createElement(Ke.ZP,Object.assign({},wo,{icon:_t}))}return be.createElement(Ke.ZP,Object.assign({},wo),be.createElement("span",null,Cr))};be.useImperativeHandle(It,()=>({handlePreview:io,handleDownload:To}));const{getPrefixCls:fr}=be.useContext(Ge.E_),ir=fr("upload",Ft),xo=fr(),jr=he()(`${ir}-list`,`${ir}-list-${Rt}`),fo=(0,_e.Z)(Ar.map(Cr=>({key:Cr.uid,file:Cr})));let po={motionDeadline:2e3,motionName:`${ir}-${Rt==="picture-card"||Rt==="picture-circle"?"animate-inline":"animate"}`,keys:fo,motionAppear:bo};const Vr=be.useMemo(()=>{const Cr=Object.assign({},(0,xe.Z)(xo));return delete Cr.onAppearEnd,delete Cr.onEnterEnd,delete Cr.onLeaveEnd,Cr},[xo]);return Rt!=="picture-card"&&Rt!=="picture-circle"&&(po=Object.assign(Object.assign({},Vr),po)),be.createElement("div",{className:jr},be.createElement(Oe.CSSMotionList,Object.assign({},po,{component:!1}),Cr=>{let{key:Xr,file:ro,className:jo,style:wo}=Cr;return be.createElement(kt,{key:Xr,locale:Vt,prefixCls:ir,className:jo,style:wo,file:ro,items:Ar,progress:bn,listType:Rt,isImgUrl:In,showPreviewIcon:ar,showRemoveIcon:pr,showDownloadIcon:Wr,removeIcon:gn,previewIcon:mn,downloadIcon:On,iconRender:Ao,actionIconRender:Do,itemRender:Qn,onPreview:io,onDownload:To,onClose:Lo})}),Pr&&be.createElement(Oe.default,Object.assign({},po,{visible:dr,forceRender:!0}),Cr=>{let{className:Xr,style:ro}=Cr;return(0,Re.Tm)(Pr,jo=>({className:he()(jo.className,Xr),style:Object.assign(Object.assign(Object.assign({},ro),{pointerEvents:Xr?"none":void 0}),jo.style)}))}))};var Qt=be.forwardRef(Jt),on=ve(17313),wn=ve(8378),vn=ve(83116),fn=ve(37613),Un=bt=>{const{componentCls:It,iconCls:Rt}=bt;return{[`${It}-wrapper`]:{[`${It}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:bt.colorFillAlter,border:`${bt.lineWidth}px dashed ${bt.colorBorder}`,borderRadius:bt.borderRadiusLG,cursor:"pointer",transition:`border-color ${bt.motionDurationSlow}`,[It]:{padding:`${bt.padding}px 0`},[`${It}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${It}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${It}-disabled):hover`]:{borderColor:bt.colorPrimaryHover},[`p${It}-drag-icon`]:{marginBottom:bt.margin,[Rt]:{color:bt.colorPrimary,fontSize:bt.uploadThumbnailSize}},[`p${It}-text`]:{margin:`0 0 ${bt.marginXXS}px`,color:bt.colorTextHeading,fontSize:bt.fontSizeLG},[`p${It}-hint`]:{color:bt.colorTextDescription,fontSize:bt.fontSize},[`&${It}-disabled`]:{cursor:"not-allowed",[`p${It}-drag-icon ${Rt},
|
|
|
p${It}-text,
|
|
|
p${It}-hint
|
|
|
`]:{color:bt.colorTextDisabled}}}}}},_n=bt=>{const{componentCls:It,antCls:Rt,iconCls:Nt,fontSize:Yt,lineHeight:$t}=bt,Kt=`${It}-list-item`,Vt=`${Kt}-actions`,Dn=`${Kt}-action`,In=Math.round(Yt*$t);return{[`${It}-wrapper`]:{[`${It}-list`]:Object.assign(Object.assign({},(0,on.dF)()),{lineHeight:bt.lineHeight,[Kt]:{position:"relative",height:bt.lineHeight*Yt,marginTop:bt.marginXS,fontSize:Yt,display:"flex",alignItems:"center",transition:`background-color ${bt.motionDurationSlow}`,"&:hover":{backgroundColor:bt.controlItemBgHover},[`${Kt}-name`]:Object.assign(Object.assign({},on.vS),{padding:`0 ${bt.paddingXS}px`,lineHeight:$t,flex:"auto",transition:`all ${bt.motionDurationSlow}`}),[Vt]:{[Dn]:{opacity:0},[`${Dn}${Rt}-btn-sm`]:{height:In,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
|
${Dn}:focus-visible,
|
|
|
&.picture ${Dn}
|
|
|
`]:{opacity:1},[Nt]:{color:bt.actionsColor,transition:`all ${bt.motionDurationSlow}`},[`&:hover ${Nt}`]:{color:bt.colorText}},[`${It}-icon ${Nt}`]:{color:bt.colorTextDescription,fontSize:Yt},[`${Kt}-progress`]:{position:"absolute",bottom:-bt.uploadProgressOffset,width:"100%",paddingInlineStart:Yt+bt.paddingXS,fontSize:Yt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Kt}:hover ${Dn}`]:{opacity:1,color:bt.colorText},[`${Kt}-error`]:{color:bt.colorError,[`${Kt}-name, ${It}-icon ${Nt}`]:{color:bt.colorError},[Vt]:{[`${Nt}, ${Nt}:hover`]:{color:bt.colorError},[Dn]:{opacity:1}}},[`${It}-list-item-container`]:{transition:`opacity ${bt.motionDurationSlow}, height ${bt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},kn=ve(93083),Fn=ve(1950);const Tr=new kn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Nr=new kn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Lr=bt=>{const{componentCls:It}=bt,Rt=`${It}-animate-inline`;return[{[`${It}-wrapper`]:{[`${Rt}-appear, ${Rt}-enter, ${Rt}-leave`]:{animationDuration:bt.motionDurationSlow,animationTimingFunction:bt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Rt}-appear, ${Rt}-enter`]:{animationName:Tr},[`${Rt}-leave`]:{animationName:Nr}}},{[`${It}-wrapper`]:(0,Fn.J$)(bt)},Tr,Nr]},cr=ve(30071),br=ve(64993);const Ot=bt=>{const{componentCls:It,iconCls:Rt,uploadThumbnailSize:Nt,uploadProgressOffset:Yt}=bt,$t=`${It}-list`,Kt=`${$t}-item`;return{[`${It}-wrapper`]:{[`
|
|
|
${$t}${$t}-picture,
|
|
|
${$t}${$t}-picture-card,
|
|
|
${$t}${$t}-picture-circle
|
|
|
`]:{[Kt]:{position:"relative",height:Nt+bt.lineWidth*2+bt.paddingXS*2,padding:bt.paddingXS,border:`${bt.lineWidth}px ${bt.lineType} ${bt.colorBorder}`,borderRadius:bt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Kt}-thumbnail`]:Object.assign(Object.assign({},on.vS),{width:Nt,height:Nt,lineHeight:`${Nt+bt.paddingSM}px`,textAlign:"center",flex:"none",[Rt]:{fontSize:bt.fontSizeHeading2,color:bt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Kt}-progress`]:{bottom:Yt,width:`calc(100% - ${bt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Nt+bt.paddingXS}},[`${Kt}-error`]:{borderColor:bt.colorError,[`${Kt}-thumbnail ${Rt}`]:{[`svg path[fill='${cr.blue[0]}']`]:{fill:bt.colorErrorBg},[`svg path[fill='${cr.blue.primary}']`]:{fill:bt.colorError}}},[`${Kt}-uploading`]:{borderStyle:"dashed",[`${Kt}-name`]:{marginBottom:Yt}}},[`${$t}${$t}-picture-circle ${Kt}`]:{[`&, &::before, ${Kt}-thumbnail`]:{borderRadius:"50%"}}}}},At=bt=>{const{componentCls:It,iconCls:Rt,fontSizeLG:Nt,colorTextLightSolid:Yt}=bt,$t=`${It}-list`,Kt=`${$t}-item`,Vt=bt.uploadPicCardSize;return{[`
|
|
|
${It}-wrapper${It}-picture-card-wrapper,
|
|
|
${It}-wrapper${It}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,on.dF)()),{display:"inline-block",width:"100%",[`${It}${It}-select`]:{width:Vt,height:Vt,marginInlineEnd:bt.marginXS,marginBottom:bt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:bt.colorFillAlter,border:`${bt.lineWidth}px dashed ${bt.colorBorder}`,borderRadius:bt.borderRadiusLG,cursor:"pointer",transition:`border-color ${bt.motionDurationSlow}`,[`> ${It}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${It}-disabled):hover`]:{borderColor:bt.colorPrimary}},[`${$t}${$t}-picture-card, ${$t}${$t}-picture-circle`]:{[`${$t}-item-container`]:{display:"inline-block",width:Vt,height:Vt,marginBlock:`0 ${bt.marginXS}px`,marginInline:`0 ${bt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Kt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${bt.paddingXS*2}px)`,height:`calc(100% - ${bt.paddingXS*2}px)`,backgroundColor:bt.colorBgMask,opacity:0,transition:`all ${bt.motionDurationSlow}`,content:'" "'}},[`${Kt}:hover`]:{[`&::before, ${Kt}-actions`]:{opacity:1}},[`${Kt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${bt.motionDurationSlow}`,[`${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{zIndex:10,width:Nt,margin:`0 ${bt.marginXXS}px`,fontSize:Nt,cursor:"pointer",transition:`all ${bt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Kt}-actions, ${Kt}-actions:hover`]:{[`${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{color:new br.C(Yt).setAlpha(.65).toRgbString(),"&:hover":{color:Yt}}},[`${Kt}-thumbnail, ${Kt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Kt}-name`]:{display:"none",textAlign:"center"},[`${Kt}-file + ${Kt}-name`]:{position:"absolute",bottom:bt.margin,display:"block",width:`calc(100% - ${bt.paddingXS*2}px)`},[`${Kt}-uploading`]:{[`&${Kt}`]:{backgroundColor:bt.colorFillAlter},[`&::before, ${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{display:"none"}},[`${Kt}-progress`]:{bottom:bt.marginXL,width:`calc(100% - ${bt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${It}-wrapper${It}-picture-circle-wrapper`]:{[`${It}${It}-select`]:{borderRadius:"50%"}}}};var en=bt=>{const{componentCls:It}=bt;return{[`${It}-rtl`]:{direction:"rtl"}}};const Rn=bt=>{const{componentCls:It,colorTextDisabled:Rt}=bt;return{[`${It}-wrapper`]:Object.assign(Object.assign({},(0,on.Wf)(bt)),{[It]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${It}-select`]:{display:"inline-block"},[`${It}-disabled`]:{color:Rt,cursor:"not-allowed"}})}};var pn=(0,vn.Z)("Upload",bt=>{const{fontSizeHeading3:It,fontSize:Rt,lineHeight:Nt,lineWidth:Yt,controlHeightLG:$t}=bt,Kt=Math.round(Rt*Nt),Vt=(0,fn.TS)(bt,{uploadThumbnailSize:It*2,uploadProgressOffset:Kt/2+Yt,uploadPicCardSize:$t*2.55});return[Rn(Vt),Un(Vt),Ot(Vt),At(Vt),_n(Vt),Lr(Vt),en(Vt),(0,wn.Z)(Vt)]},bt=>({actionsColor:bt.colorTextDescription})),Fr=function(bt,It,Rt,Nt){function Yt($t){return $t instanceof Rt?$t:new Rt(function(Kt){Kt($t)})}return new(Rt||(Rt=Promise))(function($t,Kt){function Vt(Ft){try{In(Nt.next(Ft))}catch(Ar){Kt(Ar)}}function Dn(Ft){try{In(Nt.throw(Ft))}catch(Ar){Kt(Ar)}}function In(Ft){Ft.done?$t(Ft.value):Yt(Ft.value).then(Vt,Dn)}In((Nt=Nt.apply(bt,It||[])).next())})};const ur=`__LIST_IGNORE_${Date.now()}__`,Gt=(bt,It)=>{const{fileList:Rt,defaultFileList:Nt,onRemove:Yt,showUploadList:$t=!0,listType:Kt="text",onPreview:Vt,onDownload:Dn,onChange:In,onDrop:Ft,previewFile:Ar,disabled:ar,locale:pr,iconRender:Wr,isImageUrl:gn,progress:mn,prefixCls:On,className:bn,type:Pr="select",children:dr,style:Qn,itemRender:kr,maxCount:an,data:bo={},multiple:yo=!1,action:io="",accept:To="",supportServerRender:Lo=!0,rootClassName:Ao}=bt,Do=be.useContext(Be.Z),fr=ar!=null?ar:Do,[ir,xo]=(0,Ie.Z)(Nt||[],{value:Rt,postState:vr=>vr!=null?vr:[]}),[jr,fo]=be.useState("drop"),So=be.useRef(null);be.useMemo(()=>{const vr=Date.now();(Rt||[]).forEach(($n,qn)=>{!$n.uid&&!Object.isFrozen($n)&&($n.uid=`__AUTO__${vr}_${qn}__`)})},[Rt]);const po=(vr,$n,qn)=>{let Cn=(0,_e.Z)($n),er=!1;an===1?Cn=Cn.slice(-1):an&&(er=Cn.length>an,Cn=Cn.slice(0,an)),(0,Me.flushSync)(()=>{xo(Cn)});const zr={file:vr,fileList:Cn};qn&&(zr.event=qn),(!er||Cn.some(Or=>Or.uid===vr.uid))&&(0,Me.flushSync)(()=>{In==null||In(zr)})},Vr=(vr,$n)=>Fr(void 0,void 0,void 0,function*(){const{beforeUpload:qn,transformFile:Cn}=bt;let er=vr;if(qn){const zr=yield qn(vr,$n);if(zr===!1)return!1;if(delete vr[ur],zr===ur)return Object.defineProperty(vr,ur,{value:!0,configurable:!0}),!1;typeof zr=="object"&&zr&&(er=zr)}return Cn&&(er=yield Cn(er)),er}),Cr=vr=>{const $n=vr.filter(er=>!er.file[ur]);if(!$n.length)return;const qn=$n.map(er=>ot(er.file));let Cn=(0,_e.Z)(ir);qn.forEach(er=>{Cn=ke(er,Cn)}),qn.forEach((er,zr)=>{let Or=er;if($n[zr].parsedFile)er.status="uploading";else{const{originFileObj:mo}=er;let Co;try{Co=new File([mo],mo.name,{type:mo.type})}catch(lo){Co=new Blob([mo],{type:mo.type}),Co.name=mo.name,Co.lastModifiedDate=new Date,Co.lastModified=new Date().getTime()}Co.uid=er.uid,Or=Co}po(Or,Cn)})},Xr=(vr,$n,qn)=>{try{typeof vr=="string"&&(vr=JSON.parse(vr))}catch(zr){}if(!nt($n,ir))return;const Cn=ot($n);Cn.status="done",Cn.percent=100,Cn.response=vr,Cn.xhr=qn;const er=ke(Cn,ir);po(Cn,er)},ro=(vr,$n)=>{if(!nt($n,ir))return;const qn=ot($n);qn.status="uploading",qn.percent=vr.percent;const Cn=ke(qn,ir);po(qn,Cn,vr)},jo=(vr,$n,qn)=>{if(!nt(qn,ir))return;const Cn=ot(qn);Cn.error=vr,Cn.response=$n,Cn.status="error";const er=ke(Cn,ir);po(Cn,er)},wo=vr=>{let $n;Promise.resolve(typeof Yt=="function"?Yt(vr):Yt).then(qn=>{var Cn;if(qn===!1)return;const er=mt(vr,ir);er&&($n=Object.assign(Object.assign({},vr),{status:"removed"}),ir==null||ir.forEach(zr=>{const Or=$n.uid!==void 0?"uid":"name";zr[Or]===$n[Or]&&!Object.isFrozen(zr)&&(zr.status="removed")}),(Cn=So.current)===null||Cn===void 0||Cn.abort($n),po($n,er))})},_t=vr=>{fo(vr.type),vr.type==="drop"&&(Ft==null||Ft(vr))};be.useImperativeHandle(It,()=>({onBatchStart:Cr,onSuccess:Xr,onProgress:ro,onError:jo,fileList:ir,upload:So.current}));const{getPrefixCls:Wt,direction:qt,upload:Ln}=be.useContext(Ge.E_),Hn=Wt("upload",On),Kn=Object.assign(Object.assign({onBatchStart:Cr,onError:jo,onProgress:ro,onSuccess:Xr},bt),{data:bo,multiple:yo,action:io,accept:To,supportServerRender:Lo,prefixCls:Hn,disabled:fr,beforeUpload:Vr,onChange:void 0});delete Kn.className,delete Kn.style,(!dr||fr)&&delete Kn.id;const[yr,zn]=pn(Hn),[jn]=(0,Qe.Z)("Upload",qe.Z.Upload),{showRemoveIcon:sn,showPreviewIcon:Zt,showDownloadIcon:hn,removeIcon:nn,previewIcon:Gn,downloadIcon:Vn}=typeof $t=="boolean"?{}:$t,_r=(vr,$n)=>$t?be.createElement(Qt,{prefixCls:Hn,listType:Kt,items:ir,previewFile:Ar,onPreview:Vt,onDownload:Dn,onRemove:wo,showRemoveIcon:!fr&&sn,showPreviewIcon:Zt,showDownloadIcon:hn,removeIcon:nn,previewIcon:Gn,downloadIcon:Vn,iconRender:Wr,locale:Object.assign(Object.assign({},jn),pr),isImageUrl:gn,progress:mn,appendAction:vr,appendActionVisible:$n,itemRender:kr,disabled:fr}):vr,Br=he()(`${Hn}-wrapper`,bn,Ao,zn,Ln==null?void 0:Ln.className,{[`${Hn}-rtl`]:qt==="rtl",[`${Hn}-picture-card-wrapper`]:Kt==="picture-card",[`${Hn}-picture-circle-wrapper`]:Kt==="picture-circle"}),so=Object.assign(Object.assign({},Ln==null?void 0:Ln.style),Qn);if(Pr==="drag"){const vr=he()(zn,Hn,`${Hn}-drag`,{[`${Hn}-drag-uploading`]:ir.some($n=>$n.status==="uploading"),[`${Hn}-drag-hover`]:jr==="dragover",[`${Hn}-disabled`]:fr,[`${Hn}-rtl`]:qt==="rtl"});return yr(be.createElement("span",{className:Br},be.createElement("div",{className:vr,style:so,onDrop:_t,onDragOver:_t,onDragLeave:_t},be.createElement(Ce,Object.assign({},Kn,{ref:So,className:`${Hn}-btn`}),be.createElement("div",{className:`${Hn}-drag-container`},dr))),_r()))}const oo=he()(Hn,`${Hn}-select`,{[`${Hn}-disabled`]:fr}),ho=(vr=>be.createElement("div",{className:oo,style:vr},be.createElement(Ce,Object.assign({},Kn,{ref:So}))))(dr?void 0:{display:"none"});return yr(Kt==="picture-card"||Kt==="picture-circle"?be.createElement("span",{className:Br},_r(ho,!!dr)):be.createElement("span",{className:Br},ho,_r()))};var tn=be.forwardRef(Gt),Bt=function(bt,It){var Rt={};for(var Nt in bt)Object.prototype.hasOwnProperty.call(bt,Nt)&&It.indexOf(Nt)<0&&(Rt[Nt]=bt[Nt]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,Nt=Object.getOwnPropertySymbols(bt);Yt<Nt.length;Yt++)It.indexOf(Nt[Yt])<0&&Object.prototype.propertyIsEnumerable.call(bt,Nt[Yt])&&(Rt[Nt[Yt]]=bt[Nt[Yt]]);return Rt},Ut=be.forwardRef((bt,It)=>{var{style:Rt,height:Nt}=bt,Yt=Bt(bt,["style","height"]);return be.createElement(tn,Object.assign({ref:It},Yt,{type:"drag",style:Object.assign(Object.assign({},Rt),{height:Nt})}))});const An=tn;An.Dragger=Ut,An.LIST_IGNORE=ur;var Pn=An},24334:function(Ct,dt,ve){var be,_e;(function(E,he){Ct.exports=he(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ve.g!="undefined"?ve.g:this,function(E){"use strict";E=E||{};var he=E.Base64,de="2.6.4",se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ne=function(Ee){for(var Ae={},Ce=0,Ie=Ee.length;Ce<Ie;Ce++)Ae[Ee.charAt(Ce)]=Ce;return Ae}(se),ie=String.fromCharCode,ce=function(Ee){if(Ee.length<2){var Ae=Ee.charCodeAt(0);return Ae<128?Ee:Ae<2048?ie(192|Ae>>>6)+ie(128|Ae&63):ie(224|Ae>>>12&15)+ie(128|Ae>>>6&63)+ie(128|Ae&63)}else{var Ae=65536+(Ee.charCodeAt(0)-55296)*1024+(Ee.charCodeAt(1)-56320);return ie(240|Ae>>>18&7)+ie(128|Ae>>>12&63)+ie(128|Ae>>>6&63)+ie(128|Ae&63)}},ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ae=function(Ee){return Ee.replace(ue,ce)},oe=function(Ee){var Ae=[0,2,1][Ee.length%3],Ce=Ee.charCodeAt(0)<<16|(Ee.length>1?Ee.charCodeAt(1):0)<<8|(Ee.length>2?Ee.charCodeAt(2):0),Ie=[se.charAt(Ce>>>18),se.charAt(Ce>>>12&63),Ae>=2?"=":se.charAt(Ce>>>6&63),Ae>=1?"=":se.charAt(Ce&63)];return Ie.join("")},re=E.btoa&&typeof E.btoa=="function"?function(Ee){return E.btoa(Ee)}:function(Ee){if(Ee.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ee.replace(/[\s\S]{1,3}/g,oe)},ee=function(Ee){return re(ae(String(Ee)))},a=function(Ee){return Ee.replace(/[+\/]/g,function(Ae){return Ae=="+"?"-":"_"}).replace(/=/g,"")},y=function(Ee,Ae){return Ae?a(ee(Ee)):ee(Ee)},x=function(Ee){return y(Ee,!0)},b;E.Uint8Array&&(b=function(Ee,Ae){for(var Ce="",Ie=0,Me=Ee.length;Ie<Me;Ie+=3){var Ge=Ee[Ie],Be=Ee[Ie+1],Qe=Ee[Ie+2],qe=Ge<<16|Be<<8|Qe;Ce+=se.charAt(qe>>>18)+se.charAt(qe>>>12&63)+(typeof Be!="undefined"?se.charAt(qe>>>6&63):"=")+(typeof Qe!="undefined"?se.charAt(qe&63):"=")}return Ae?a(Ce):Ce});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Ee){switch(Ee.length){case 4:var Ae=(7&Ee.charCodeAt(0))<<18|(63&Ee.charCodeAt(1))<<12|(63&Ee.charCodeAt(2))<<6|63&Ee.charCodeAt(3),Ce=Ae-65536;return ie((Ce>>>10)+55296)+ie((Ce&1023)+56320);case 3:return ie((15&Ee.charCodeAt(0))<<12|(63&Ee.charCodeAt(1))<<6|63&Ee.charCodeAt(2));default:return ie((31&Ee.charCodeAt(0))<<6|63&Ee.charCodeAt(1))}},le=function(Ee){return Ee.replace(z,te)},fe=function(Ee){var Ae=Ee.length,Ce=Ae%4,Ie=(Ae>0?ne[Ee.charAt(0)]<<18:0)|(Ae>1?ne[Ee.charAt(1)]<<12:0)|(Ae>2?ne[Ee.charAt(2)]<<6:0)|(Ae>3?ne[Ee.charAt(3)]:0),Me=[ie(Ie>>>16),ie(Ie>>>8&255),ie(Ie&255)];return Me.length-=[0,0,2,1][Ce],Me.join("")},pe=E.atob&&typeof E.atob=="function"?function(Ee){return E.atob(Ee)}:function(Ee){return Ee.replace(/\S{1,4}/g,fe)},me=function(Ee){return pe(String(Ee).replace(/[^A-Za-z0-9\+\/]/g,""))},ge=function(Ee){return le(pe(Ee))},Se=function(Ee){return String(Ee).replace(/[-_]/g,function(Ae){return Ae=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ye=function(Ee){return ge(Se(Ee))},Pe;E.Uint8Array&&(Pe=function(Ee){return Uint8Array.from(me(Se(Ee)),function(Ae){return Ae.charCodeAt(0)})});var we=function(){var Ee=E.Base64;return E.Base64=he,Ee};if(E.Base64={VERSION:de,atob:me,btoa:re,fromBase64:ye,toBase64:y,utob:ae,encode:y,encodeURI:x,btou:le,decode:ye,noConflict:we,fromUint8Array:b,toUint8Array:Pe},typeof Object.defineProperty=="function"){var De=function(Ee){return{value:Ee,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",De(function(){return ye(this)})),Object.defineProperty(String.prototype,"toBase64",De(function(Ee){return y(this,Ee)})),Object.defineProperty(String.prototype,"toBase64URI",De(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),Ct.exports?Ct.exports.Base64=E.Base64:(be=[],_e=function(){return E.Base64}.apply(dt,be),_e!==void 0&&(Ct.exports=_e)),{Base64:E.Base64}})},39417:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return ge}});var be=ve(5016),_e=ve(18082),E=ve(5883),he=ve(20049),de=ve(6487),se=ve(56789),ne=ve(41281),ie=ve(7942),ce=ve(76773),ue=ve(92310),ae=ve.n(ue),oe=ve(26112),re=ve(59301),ee=ve(39378),a=function(ye){for(var Pe=ye.prefixCls,we=ye.level,De=ye.isStart,Ee=ye.isEnd,Ae="".concat(Pe,"-indent-unit"),Ce=[],Ie=0;Ie<we;Ie+=1){var Me;Ce.push(re.createElement("span",{key:Ie,className:ae()(Ae,(Me={},(0,_e.Z)(Me,"".concat(Ae,"-start"),De[Ie]),(0,_e.Z)(Me,"".concat(Ae,"-end"),Ee[Ie]),Me))}))}return re.createElement("span",{"aria-hidden":"true",className:"".concat(Pe,"-indent")},Ce)},y=re.memo(a),x=ve(67841),b=ve(71430),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",le="close",fe="---",pe=function(Se){(0,ie.Z)(Pe,Se);var ye=(0,ce.Z)(Pe);function Pe(){var we;(0,de.Z)(this,Pe);for(var De=arguments.length,Ee=new Array(De),Ae=0;Ae<De;Ae++)Ee[Ae]=arguments[Ae];return we=ye.call.apply(ye,[this].concat(Ee)),we.state={dragNodeHighlight:!1},we.selectHandle=void 0,we.cacheIndent=void 0,we.onSelectorClick=function(Ce){var Ie=we.props.context.onNodeClick;Ie(Ce,(0,b.F)(we.props)),we.isSelectable()?we.onSelect(Ce):we.onCheck(Ce)},we.onSelectorDoubleClick=function(Ce){var Ie=we.props.context.onNodeDoubleClick;Ie(Ce,(0,b.F)(we.props))},we.onSelect=function(Ce){if(!we.isDisabled()){var Ie=we.props.context.onNodeSelect;Ie(Ce,(0,b.F)(we.props))}},we.onCheck=function(Ce){if(!we.isDisabled()){var Ie=we.props,Me=Ie.disableCheckbox,Ge=Ie.checked,Be=we.props.context.onNodeCheck;if(!(!we.isCheckable()||Me)){var Qe=!Ge;Be(Ce,(0,b.F)(we.props),Qe)}}},we.onMouseEnter=function(Ce){var Ie=we.props.context.onNodeMouseEnter;Ie(Ce,(0,b.F)(we.props))},we.onMouseLeave=function(Ce){var Ie=we.props.context.onNodeMouseLeave;Ie(Ce,(0,b.F)(we.props))},we.onContextMenu=function(Ce){var Ie=we.props.context.onNodeContextMenu;Ie(Ce,(0,b.F)(we.props))},we.onDragStart=function(Ce){var Ie=we.props.context.onNodeDragStart;Ce.stopPropagation(),we.setState({dragNodeHighlight:!0}),Ie(Ce,(0,ne.Z)(we));try{Ce.dataTransfer.setData("text/plain","")}catch(Me){}},we.onDragEnter=function(Ce){var Ie=we.props.context.onNodeDragEnter;Ce.preventDefault(),Ce.stopPropagation(),Ie(Ce,(0,ne.Z)(we))},we.onDragOver=function(Ce){var Ie=we.props.context.onNodeDragOver;Ce.preventDefault(),Ce.stopPropagation(),Ie(Ce,(0,ne.Z)(we))},we.onDragLeave=function(Ce){var Ie=we.props.context.onNodeDragLeave;Ce.stopPropagation(),Ie(Ce,(0,ne.Z)(we))},we.onDragEnd=function(Ce){var Ie=we.props.context.onNodeDragEnd;Ce.stopPropagation(),we.setState({dragNodeHighlight:!1}),Ie(Ce,(0,ne.Z)(we))},we.onDrop=function(Ce){var Ie=we.props.context.onNodeDrop;Ce.preventDefault(),Ce.stopPropagation(),we.setState({dragNodeHighlight:!1}),Ie(Ce,(0,ne.Z)(we))},we.onExpand=function(Ce){var Ie=we.props,Me=Ie.loading,Ge=Ie.context.onNodeExpand;Me||Ge(Ce,(0,b.F)(we.props))},we.setSelectHandle=function(Ce){we.selectHandle=Ce},we.getNodeState=function(){var Ce=we.props.expanded;return we.isLeaf()?null:Ce?te:le},we.hasChildren=function(){var Ce=we.props.eventKey,Ie=we.props.context.keyEntities,Me=(0,x.Z)(Ie,Ce)||{},Ge=Me.children;return!!(Ge||[]).length},we.isLeaf=function(){var Ce=we.props,Ie=Ce.isLeaf,Me=Ce.loaded,Ge=we.props.context.loadData,Be=we.hasChildren();return Ie===!1?!1:Ie||!Ge&&!Be||Ge&&Me&&!Be},we.isDisabled=function(){var Ce=we.props.disabled,Ie=we.props.context.disabled;return!!(Ie||Ce)},we.isCheckable=function(){var Ce=we.props.checkable,Ie=we.props.context.checkable;return!Ie||Ce===!1?!1:Ie},we.syncLoadData=function(Ce){var Ie=Ce.expanded,Me=Ce.loading,Ge=Ce.loaded,Be=we.props.context,Qe=Be.loadData,qe=Be.onNodeLoad;Me||Qe&&Ie&&!we.isLeaf()&&!we.hasChildren()&&!Ge&&qe((0,b.F)(we.props))},we.isDraggable=function(){var Ce=we.props,Ie=Ce.data,Me=Ce.context.draggable;return!!(Me&&(!Me.nodeDraggable||Me.nodeDraggable(Ie)))},we.renderDragHandler=function(){var Ce=we.props.context,Ie=Ce.draggable,Me=Ce.prefixCls;return Ie!=null&&Ie.icon?re.createElement("span",{className:"".concat(Me,"-draggable-icon")},Ie.icon):null},we.renderSwitcherIconDom=function(Ce){var Ie=we.props.switcherIcon,Me=we.props.context.switcherIcon,Ge=Ie||Me;return typeof Ge=="function"?Ge((0,he.Z)((0,he.Z)({},we.props),{},{isLeaf:Ce})):Ge},we.renderSwitcher=function(){var Ce=we.props.expanded,Ie=we.props.context.prefixCls;if(we.isLeaf()){var Me=we.renderSwitcherIconDom(!0);return Me!==!1?re.createElement("span",{className:ae()("".concat(Ie,"-switcher"),"".concat(Ie,"-switcher-noop"))},Me):null}var Ge=ae()("".concat(Ie,"-switcher"),"".concat(Ie,"-switcher_").concat(Ce?te:le)),Be=we.renderSwitcherIconDom(!1);return Be!==!1?re.createElement("span",{onClick:we.onExpand,className:Ge},Be):null},we.renderCheckbox=function(){var Ce=we.props,Ie=Ce.checked,Me=Ce.halfChecked,Ge=Ce.disableCheckbox,Be=we.props.context.prefixCls,Qe=we.isDisabled(),qe=we.isCheckable();if(!qe)return null;var Xe=typeof qe!="boolean"?qe:null;return re.createElement("span",{className:ae()("".concat(Be,"-checkbox"),Ie&&"".concat(Be,"-checkbox-checked"),!Ie&&Me&&"".concat(Be,"-checkbox-indeterminate"),(Qe||Ge)&&"".concat(Be,"-checkbox-disabled")),onClick:we.onCheck},Xe)},we.renderIcon=function(){var Ce=we.props.loading,Ie=we.props.context.prefixCls;return re.createElement("span",{className:ae()("".concat(Ie,"-iconEle"),"".concat(Ie,"-icon__").concat(we.getNodeState()||"docu"),Ce&&"".concat(Ie,"-icon_loading"))})},we.renderSelector=function(){var Ce=we.state.dragNodeHighlight,Ie=we.props,Me=Ie.title,Ge=Me===void 0?fe:Me,Be=Ie.selected,Qe=Ie.icon,qe=Ie.loading,Xe=Ie.data,Ve=we.props.context,We=Ve.prefixCls,ze=Ve.showIcon,He=Ve.icon,tt=Ve.loadData,Je=Ve.titleRender,ut=we.isDisabled(),Ye="".concat(We,"-node-content-wrapper"),Ue;if(ze){var je=Qe||He;Ue=je?re.createElement("span",{className:ae()("".concat(We,"-iconEle"),"".concat(We,"-icon__customize"))},typeof je=="function"?je(we.props):je):we.renderIcon()}else tt&&qe&&(Ue=we.renderIcon());var $e;typeof Ge=="function"?$e=Ge(Xe):Je?$e=Je(Xe):$e=Ge;var Le=re.createElement("span",{className:"".concat(We,"-title")},$e);return re.createElement("span",{ref:we.setSelectHandle,title:typeof Ge=="string"?Ge:"",className:ae()("".concat(Ye),"".concat(Ye,"-").concat(we.getNodeState()||"normal"),!ut&&(Be||Ce)&&"".concat(We,"-node-selected")),onMouseEnter:we.onMouseEnter,onMouseLeave:we.onMouseLeave,onContextMenu:we.onContextMenu,onClick:we.onSelectorClick,onDoubleClick:we.onSelectorDoubleClick},Ue,Le,we.renderDropIndicator())},we.renderDropIndicator=function(){var Ce=we.props,Ie=Ce.disabled,Me=Ce.eventKey,Ge=we.props.context,Be=Ge.draggable,Qe=Ge.dropLevelOffset,qe=Ge.dropPosition,Xe=Ge.prefixCls,Ve=Ge.indent,We=Ge.dropIndicatorRender,ze=Ge.dragOverNodeKey,He=Ge.direction,tt=!!Be,Je=!Ie&&tt&&ze===Me,ut=Ve!=null?Ve:we.cacheIndent;return we.cacheIndent=Ve,Je?We({dropPosition:qe,dropLevelOffset:Qe,indent:ut,prefixCls:Xe,direction:He}):null},we}return(0,se.Z)(Pe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var De=this.props.selectable,Ee=this.props.context.selectable;return typeof De=="boolean"?De:Ee}},{key:"render",value:function(){var De,Ee=this.props,Ae=Ee.eventKey,Ce=Ee.className,Ie=Ee.style,Me=Ee.dragOver,Ge=Ee.dragOverGapTop,Be=Ee.dragOverGapBottom,Qe=Ee.isLeaf,qe=Ee.isStart,Xe=Ee.isEnd,Ve=Ee.expanded,We=Ee.selected,ze=Ee.checked,He=Ee.halfChecked,tt=Ee.loading,Je=Ee.domRef,ut=Ee.active,Ye=Ee.data,Ue=Ee.onMouseMove,je=Ee.selectable,$e=(0,E.Z)(Ee,z),Le=this.props.context,Ne=Le.prefixCls,et=Le.filterTreeNode,Ze=Le.keyEntities,Fe=Le.dropContainerKey,Oe=Le.dropTargetKey,Te=Le.draggingNodeKey,xe=this.isDisabled(),Re=(0,oe.Z)($e,{aria:!0,data:!0}),Ke=(0,x.Z)(Ze,Ae)||{},ot=Ke.level,ke=Xe[Xe.length-1],nt=this.isDraggable(),mt=!xe&&nt,ct=Te===Ae,ht=je!==void 0?{"aria-selected":!!je}:void 0;return re.createElement("div",(0,be.Z)({ref:Je,className:ae()(Ce,"".concat(Ne,"-treenode"),(De={},(0,_e.Z)(De,"".concat(Ne,"-treenode-disabled"),xe),(0,_e.Z)(De,"".concat(Ne,"-treenode-switcher-").concat(Ve?"open":"close"),!Qe),(0,_e.Z)(De,"".concat(Ne,"-treenode-checkbox-checked"),ze),(0,_e.Z)(De,"".concat(Ne,"-treenode-checkbox-indeterminate"),He),(0,_e.Z)(De,"".concat(Ne,"-treenode-selected"),We),(0,_e.Z)(De,"".concat(Ne,"-treenode-loading"),tt),(0,_e.Z)(De,"".concat(Ne,"-treenode-active"),ut),(0,_e.Z)(De,"".concat(Ne,"-treenode-leaf-last"),ke),(0,_e.Z)(De,"".concat(Ne,"-treenode-draggable"),nt),(0,_e.Z)(De,"dragging",ct),(0,_e.Z)(De,"drop-target",Oe===Ae),(0,_e.Z)(De,"drop-container",Fe===Ae),(0,_e.Z)(De,"drag-over",!xe&&Me),(0,_e.Z)(De,"drag-over-gap-top",!xe&&Ge),(0,_e.Z)(De,"drag-over-gap-bottom",!xe&&Be),(0,_e.Z)(De,"filter-node",et&&et((0,b.F)(this.props))),De)),style:Ie,draggable:mt,"aria-grabbed":ct,onDragStart:mt?this.onDragStart:void 0,onDragEnter:nt?this.onDragEnter:void 0,onDragOver:nt?this.onDragOver:void 0,onDragLeave:nt?this.onDragLeave:void 0,onDrop:nt?this.onDrop:void 0,onDragEnd:nt?this.onDragEnd:void 0,onMouseMove:Ue},ht,Re),re.createElement(y,{prefixCls:Ne,level:ot,isStart:qe,isEnd:Xe}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Pe}(re.Component),me=function(ye){return re.createElement(ee.k.Consumer,null,function(Pe){return re.createElement(pe,(0,be.Z)({},ye,{context:Pe}))})};me.displayName="TreeNode",me.isTreeNode=1;var ge=me},39378:function(Ct,dt,ve){"use strict";ve.d(dt,{k:function(){return _e}});var be=ve(59301),_e=be.createContext(null)},64588:function(Ct,dt,ve){"use strict";ve.d(dt,{O:function(){return ge.Z},Z:function(){return Le}});var be=ve(5016),_e=ve(18082),E=ve(10928),he=ve(20049),de=ve(92393),se=ve(6487),ne=ve(56789),ie=ve(41281),ce=ve(7942),ue=ve(76773),ae=ve(92310),oe=ve.n(ae),re=ve(10228),ee=ve(26112),a=ve(48736),y=ve(59301),x=ve(39378);function b(Ne){var et=Ne.dropPosition,Ze=Ne.dropLevelOffset,Fe=Ne.indent,Oe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(et){case-1:Oe.top=0,Oe.left=-Ze*Fe;break;case 1:Oe.bottom=0,Oe.left=-Ze*Fe;break;case 0:Oe.bottom=0,Oe.left=Fe;break}return y.createElement("div",{style:Oe})}function z(Ne){if(Ne==null)throw new TypeError("Cannot destructure "+Ne)}var te=ve(52456),le=ve(5883),fe=ve(34280),pe=ve(65283),me=ve(77900),ge=ve(39417);function Se(Ne,et){var Ze=y.useState(!1),Fe=(0,te.Z)(Ze,2),Oe=Fe[0],Te=Fe[1];y.useLayoutEffect(function(){if(Oe)return Ne(),function(){et()}},[Oe]),y.useLayoutEffect(function(){return Te(!0),function(){Te(!1)}},[])}var ye=ve(71430),Pe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],we=function(et,Ze){var Fe=et.className,Oe=et.style,Te=et.motion,xe=et.motionNodes,Re=et.motionType,Ke=et.onMotionStart,ot=et.onMotionEnd,ke=et.active,nt=et.treeNodeRequiredProps,mt=(0,le.Z)(et,Pe),ct=y.useState(!0),ht=(0,te.Z)(ct,2),lt=ht[0],pt=ht[1],at=y.useContext(x.k),st=at.prefixCls,ft=xe&&Re!=="hide";(0,fe.Z)(function(){xe&&ft!==lt&&pt(ft)},[xe]);var vt=function(){xe&&Ke()},St=y.useRef(!1),Et=function(){xe&&!St.current&&(St.current=!0,ot())};Se(vt,Et);var Mt=function(Jt){ft===Jt&&Et()};return xe?y.createElement(me.default,(0,be.Z)({ref:Ze,visible:lt},Te,{motionAppear:Re==="show",onVisibleChanged:Mt}),function(kt,Jt){var dn=kt.className,Qt=kt.style;return y.createElement("div",{ref:Jt,className:oe()("".concat(st,"-treenode-motion"),dn),style:Qt},xe.map(function(on){var wn=(0,be.Z)({},(z(on.data),on.data)),vn=on.title,fn=on.key,Bn=on.isStart,Un=on.isEnd;delete wn.children;var Nn=(0,ye.H8)(fn,nt);return y.createElement(ge.Z,(0,be.Z)({},wn,Nn,{title:vn,active:ke,data:on.data,key:fn,isStart:Bn,isEnd:Un}))}))}):y.createElement(ge.Z,(0,be.Z)({domRef:Ze,className:Fe,style:Oe},mt,{active:ke}))};we.displayName="MotionTreeNode";var De=y.forwardRef(we),Ee=De;function Ae(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ze=Ne.length,Fe=et.length;if(Math.abs(Ze-Fe)!==1)return{add:!1,key:null};function Oe(Te,xe){var Re=new Map;Te.forEach(function(ot){Re.set(ot,!0)});var Ke=xe.filter(function(ot){return!Re.has(ot)});return Ke.length===1?Ke[0]:null}return Ze<Fe?{add:!0,key:Oe(Ne,et)}:{add:!1,key:Oe(et,Ne)}}function Ce(Ne,et,Ze){var Fe=Ne.findIndex(function(Re){return Re.key===Ze}),Oe=Ne[Fe+1],Te=et.findIndex(function(Re){return Re.key===Ze});if(Oe){var xe=et.findIndex(function(Re){return Re.key===Oe.key});return et.slice(Te+1,xe)}return et.slice(Te+1)}var Ie=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Me={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ge=function(){},Be="RC_TREE_MOTION_".concat(Math.random()),Qe={key:Be},qe={key:Be,level:0,index:0,pos:"0",node:Qe,nodes:[Qe]},Xe={parent:null,children:[],pos:qe.pos,data:Qe,title:null,key:Be,isStart:[],isEnd:[]};function Ve(Ne,et,Ze,Fe){return et===!1||!Ze?Ne:Ne.slice(0,Math.ceil(Ze/Fe)+1)}function We(Ne){var et=Ne.key,Ze=Ne.pos;return(0,ye.km)(et,Ze)}function ze(Ne){for(var et=String(Ne.data.key),Ze=Ne;Ze.parent;)Ze=Ze.parent,et="".concat(Ze.data.key," > ").concat(et);return et}var He=y.forwardRef(function(Ne,et){var Ze=Ne.prefixCls,Fe=Ne.data,Oe=Ne.selectable,Te=Ne.checkable,xe=Ne.expandedKeys,Re=Ne.selectedKeys,Ke=Ne.checkedKeys,ot=Ne.loadedKeys,ke=Ne.loadingKeys,nt=Ne.halfCheckedKeys,mt=Ne.keyEntities,ct=Ne.disabled,ht=Ne.dragging,lt=Ne.dragOverNodeKey,pt=Ne.dropPosition,at=Ne.motion,st=Ne.height,ft=Ne.itemHeight,vt=Ne.virtual,St=Ne.focusable,Et=Ne.activeItem,Mt=Ne.focused,kt=Ne.tabIndex,Jt=Ne.onKeyDown,dn=Ne.onFocus,Qt=Ne.onBlur,on=Ne.onActiveChange,wn=Ne.onListChangeStart,vn=Ne.onListChangeEnd,fn=(0,le.Z)(Ne,Ie),Bn=y.useRef(null),Un=y.useRef(null);y.useImperativeHandle(et,function(){return{scrollTo:function(Pn){Bn.current.scrollTo(Pn)},getIndentWidth:function(){return Un.current.offsetWidth}}});var Nn=y.useState(xe),_n=(0,te.Z)(Nn,2),kn=_n[0],Fn=_n[1],Tr=y.useState(Fe),Nr=(0,te.Z)(Tr,2),rr=Nr[0],Lr=Nr[1],cr=y.useState(Fe),br=(0,te.Z)(cr,2),Ot=br[0],At=br[1],xt=y.useState([]),en=(0,te.Z)(xt,2),Rn=en[0],pn=en[1],Fr=y.useState(null),ur=(0,te.Z)(Fr,2),Gt=ur[0],Tt=ur[1],tn=y.useRef(Fe);tn.current=Fe;function Bt(){var An=tn.current;Lr(An),At(An),pn([]),Tt(null),vn()}(0,fe.Z)(function(){Fn(xe);var An=Ae(kn,xe);if(An.key!==null)if(An.add){var Pn=rr.findIndex(function($t){var Kt=$t.key;return Kt===An.key}),bt=Ve(Ce(rr,Fe,An.key),vt,st,ft),It=rr.slice();It.splice(Pn+1,0,Xe),At(It),pn(bt),Tt("show")}else{var Rt=Fe.findIndex(function($t){var Kt=$t.key;return Kt===An.key}),Nt=Ve(Ce(Fe,rr,An.key),vt,st,ft),Yt=Fe.slice();Yt.splice(Rt+1,0,Xe),At(Yt),pn(Nt),Tt("hide")}else rr!==Fe&&(Lr(Fe),At(Fe))},[xe,Fe]),y.useEffect(function(){ht||Bt()},[ht]);var un=at?Ot:Fe,Ut={expandedKeys:xe,selectedKeys:Re,loadedKeys:ot,loadingKeys:ke,checkedKeys:Ke,halfCheckedKeys:nt,dragOverNodeKey:lt,dropPosition:pt,keyEntities:mt};return y.createElement(y.Fragment,null,Mt&&Et&&y.createElement("span",{style:Me,"aria-live":"assertive"},ze(Et)),y.createElement("div",null,y.createElement("input",{style:Me,disabled:St===!1||ct,tabIndex:St!==!1?kt:null,onKeyDown:Jt,onFocus:dn,onBlur:Qt,value:"",onChange:Ge,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(Ze,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(Ze,"-indent")},y.createElement("div",{ref:Un,className:"".concat(Ze,"-indent-unit")}))),y.createElement(pe.Z,(0,be.Z)({},fn,{data:un,itemKey:We,height:st,fullHeight:!1,virtual:vt,itemHeight:ft,prefixCls:"".concat(Ze,"-list"),ref:Bn,onVisibleChange:function(Pn,bt){var It=new Set(Pn),Rt=bt.filter(function(Nt){return!It.has(Nt)});Rt.some(function(Nt){return We(Nt)===Be})&&Bt()}}),function(An){var Pn=An.pos,bt=(0,be.Z)({},(z(An.data),An.data)),It=An.title,Rt=An.key,Nt=An.isStart,Yt=An.isEnd,$t=(0,ye.km)(Rt,Pn);delete bt.key,delete bt.children;var Kt=(0,ye.H8)($t,Ut);return y.createElement(Ee,(0,be.Z)({},bt,Kt,{title:It,active:!!Et&&Rt===Et.key,pos:Pn,data:An.data,isStart:Nt,isEnd:Yt,motion:at,motionNodes:Rt===Be?Rn:null,motionType:Gt,onMotionStart:wn,onMotionEnd:Bt,treeNodeRequiredProps:Ut,onMouseMove:function(){on(null)}}))}))});He.displayName="NodeList";var tt=He,Je=ve(35654),ut=ve(90782),Ye=ve(67841),Ue=10,je=function(Ne){(0,ce.Z)(Ze,Ne);var et=(0,ue.Z)(Ze);function Ze(){var Fe;(0,se.Z)(this,Ze);for(var Oe=arguments.length,Te=new Array(Oe),xe=0;xe<Oe;xe++)Te[xe]=arguments[xe];return Fe=et.call.apply(et,[this].concat(Te)),Fe.destroyed=!1,Fe.delayedDragEnterLogic=void 0,Fe.loadingRetryTimes={},Fe.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,ye.w$)()},Fe.dragStartMousePosition=null,Fe.dragNode=void 0,Fe.currentMouseOverDroppableNodeKey=null,Fe.listRef=y.createRef(),Fe.onNodeDragStart=function(Re,Ke){var ot=Fe.state,ke=ot.expandedKeys,nt=ot.keyEntities,mt=Fe.props.onDragStart,ct=Ke.props.eventKey;Fe.dragNode=Ke,Fe.dragStartMousePosition={x:Re.clientX,y:Re.clientY};var ht=(0,Je._5)(ke,ct);Fe.setState({draggingNodeKey:ct,dragChildrenKeys:(0,Je.wA)(ct,nt),indent:Fe.listRef.current.getIndentWidth()}),Fe.setExpandedKeys(ht),window.addEventListener("dragend",Fe.onWindowDragEnd),mt==null||mt({event:Re,node:(0,ye.F)(Ke.props)})},Fe.onNodeDragEnter=function(Re,Ke){var ot=Fe.state,ke=ot.expandedKeys,nt=ot.keyEntities,mt=ot.dragChildrenKeys,ct=ot.flattenNodes,ht=ot.indent,lt=Fe.props,pt=lt.onDragEnter,at=lt.onExpand,st=lt.allowDrop,ft=lt.direction,vt=Ke.props,St=vt.pos,Et=vt.eventKey,Mt=(0,ie.Z)(Fe),kt=Mt.dragNode;if(Fe.currentMouseOverDroppableNodeKey!==Et&&(Fe.currentMouseOverDroppableNodeKey=Et),!kt){Fe.resetDragState();return}var Jt=(0,Je.OM)(Re,kt,Ke,ht,Fe.dragStartMousePosition,st,ct,nt,ke,ft),dn=Jt.dropPosition,Qt=Jt.dropLevelOffset,on=Jt.dropTargetKey,wn=Jt.dropContainerKey,vn=Jt.dropTargetPos,fn=Jt.dropAllowed,Bn=Jt.dragOverNodeKey;if(mt.indexOf(on)!==-1||!fn){Fe.resetDragState();return}if(Fe.delayedDragEnterLogic||(Fe.delayedDragEnterLogic={}),Object.keys(Fe.delayedDragEnterLogic).forEach(function(Un){clearTimeout(Fe.delayedDragEnterLogic[Un])}),kt.props.eventKey!==Ke.props.eventKey&&(Re.persist(),Fe.delayedDragEnterLogic[St]=window.setTimeout(function(){if(Fe.state.draggingNodeKey!==null){var Un=(0,de.Z)(ke),Nn=(0,Ye.Z)(nt,Ke.props.eventKey);Nn&&(Nn.children||[]).length&&(Un=(0,Je.L0)(ke,Ke.props.eventKey)),"expandedKeys"in Fe.props||Fe.setExpandedKeys(Un),at==null||at(Un,{node:(0,ye.F)(Ke.props),expanded:!0,nativeEvent:Re.nativeEvent})}},800)),kt.props.eventKey===on&&Qt===0){Fe.resetDragState();return}Fe.setState({dragOverNodeKey:Bn,dropPosition:dn,dropLevelOffset:Qt,dropTargetKey:on,dropContainerKey:wn,dropTargetPos:vn,dropAllowed:fn}),pt==null||pt({event:Re,node:(0,ye.F)(Ke.props),expandedKeys:ke})},Fe.onNodeDragOver=function(Re,Ke){var ot=Fe.state,ke=ot.dragChildrenKeys,nt=ot.flattenNodes,mt=ot.keyEntities,ct=ot.expandedKeys,ht=ot.indent,lt=Fe.props,pt=lt.onDragOver,at=lt.allowDrop,st=lt.direction,ft=(0,ie.Z)(Fe),vt=ft.dragNode;if(vt){var St=(0,Je.OM)(Re,vt,Ke,ht,Fe.dragStartMousePosition,at,nt,mt,ct,st),Et=St.dropPosition,Mt=St.dropLevelOffset,kt=St.dropTargetKey,Jt=St.dropContainerKey,dn=St.dropAllowed,Qt=St.dropTargetPos,on=St.dragOverNodeKey;ke.indexOf(kt)!==-1||!dn||(vt.props.eventKey===kt&&Mt===0?Fe.state.dropPosition===null&&Fe.state.dropLevelOffset===null&&Fe.state.dropTargetKey===null&&Fe.state.dropContainerKey===null&&Fe.state.dropTargetPos===null&&Fe.state.dropAllowed===!1&&Fe.state.dragOverNodeKey===null||Fe.resetDragState():Et===Fe.state.dropPosition&&Mt===Fe.state.dropLevelOffset&&kt===Fe.state.dropTargetKey&&Jt===Fe.state.dropContainerKey&&Qt===Fe.state.dropTargetPos&&dn===Fe.state.dropAllowed&&on===Fe.state.dragOverNodeKey||Fe.setState({dropPosition:Et,dropLevelOffset:Mt,dropTargetKey:kt,dropContainerKey:Jt,dropTargetPos:Qt,dropAllowed:dn,dragOverNodeKey:on}),pt==null||pt({event:Re,node:(0,ye.F)(Ke.props)}))}},Fe.onNodeDragLeave=function(Re,Ke){Fe.currentMouseOverDroppableNodeKey===Ke.props.eventKey&&!Re.currentTarget.contains(Re.relatedTarget)&&(Fe.resetDragState(),Fe.currentMouseOverDroppableNodeKey=null);var ot=Fe.props.onDragLeave;ot==null||ot({event:Re,node:(0,ye.F)(Ke.props)})},Fe.onWindowDragEnd=function(Re){Fe.onNodeDragEnd(Re,null,!0),window.removeEventListener("dragend",Fe.onWindowDragEnd)},Fe.onNodeDragEnd=function(Re,Ke){var ot=Fe.props.onDragEnd;Fe.setState({dragOverNodeKey:null}),Fe.cleanDragState(),ot==null||ot({event:Re,node:(0,ye.F)(Ke.props)}),Fe.dragNode=null,window.removeEventListener("dragend",Fe.onWindowDragEnd)},Fe.onNodeDrop=function(Re,Ke){var ot,ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,nt=Fe.state,mt=nt.dragChildrenKeys,ct=nt.dropPosition,ht=nt.dropTargetKey,lt=nt.dropTargetPos,pt=nt.dropAllowed;if(pt){var at=Fe.props.onDrop;if(Fe.setState({dragOverNodeKey:null}),Fe.cleanDragState(),ht!==null){var st=(0,he.Z)((0,he.Z)({},(0,ye.H8)(ht,Fe.getTreeNodeRequiredProps())),{},{active:((ot=Fe.getActiveItem())===null||ot===void 0?void 0:ot.key)===ht,data:(0,Ye.Z)(Fe.state.keyEntities,ht).node}),ft=mt.indexOf(ht)!==-1;(0,a.ZP)(!ft,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var vt=(0,Je.yx)(lt),St={event:Re,node:(0,ye.F)(st),dragNode:Fe.dragNode?(0,ye.F)(Fe.dragNode.props):null,dragNodesKeys:[Fe.dragNode.props.eventKey].concat(mt),dropToGap:ct!==0,dropPosition:ct+Number(vt[vt.length-1])};ke||at==null||at(St),Fe.dragNode=null}}},Fe.cleanDragState=function(){var Re=Fe.state.draggingNodeKey;Re!==null&&Fe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Fe.dragStartMousePosition=null,Fe.currentMouseOverDroppableNodeKey=null},Fe.triggerExpandActionExpand=function(Re,Ke){var ot=Fe.state,ke=ot.expandedKeys,nt=ot.flattenNodes,mt=Ke.expanded,ct=Ke.key,ht=Ke.isLeaf;if(!(ht||Re.shiftKey||Re.metaKey||Re.ctrlKey)){var lt=nt.filter(function(at){return at.key===ct})[0],pt=(0,ye.F)((0,he.Z)((0,he.Z)({},(0,ye.H8)(ct,Fe.getTreeNodeRequiredProps())),{},{data:lt.data}));Fe.setExpandedKeys(mt?(0,Je._5)(ke,ct):(0,Je.L0)(ke,ct)),Fe.onNodeExpand(Re,pt)}},Fe.onNodeClick=function(Re,Ke){var ot=Fe.props,ke=ot.onClick,nt=ot.expandAction;nt==="click"&&Fe.triggerExpandActionExpand(Re,Ke),ke==null||ke(Re,Ke)},Fe.onNodeDoubleClick=function(Re,Ke){var ot=Fe.props,ke=ot.onDoubleClick,nt=ot.expandAction;nt==="doubleClick"&&Fe.triggerExpandActionExpand(Re,Ke),ke==null||ke(Re,Ke)},Fe.onNodeSelect=function(Re,Ke){var ot=Fe.state.selectedKeys,ke=Fe.state,nt=ke.keyEntities,mt=ke.fieldNames,ct=Fe.props,ht=ct.onSelect,lt=ct.multiple,pt=Ke.selected,at=Ke[mt.key],st=!pt;st?lt?ot=(0,Je.L0)(ot,at):ot=[at]:ot=(0,Je._5)(ot,at);var ft=ot.map(function(vt){var St=(0,Ye.Z)(nt,vt);return St?St.node:null}).filter(function(vt){return vt});Fe.setUncontrolledState({selectedKeys:ot}),ht==null||ht(ot,{event:"select",selected:st,node:Ke,selectedNodes:ft,nativeEvent:Re.nativeEvent})},Fe.onNodeCheck=function(Re,Ke,ot){var ke=Fe.state,nt=ke.keyEntities,mt=ke.checkedKeys,ct=ke.halfCheckedKeys,ht=Fe.props,lt=ht.checkStrictly,pt=ht.onCheck,at=Ke.key,st,ft={event:"check",node:Ke,checked:ot,nativeEvent:Re.nativeEvent};if(lt){var vt=ot?(0,Je.L0)(mt,at):(0,Je._5)(mt,at),St=(0,Je._5)(ct,at);st={checked:vt,halfChecked:St},ft.checkedNodes=vt.map(function(Qt){return(0,Ye.Z)(nt,Qt)}).filter(function(Qt){return Qt}).map(function(Qt){return Qt.node}),Fe.setUncontrolledState({checkedKeys:vt})}else{var Et=(0,ut.S)([].concat((0,de.Z)(mt),[at]),!0,nt),Mt=Et.checkedKeys,kt=Et.halfCheckedKeys;if(!ot){var Jt=new Set(Mt);Jt.delete(at);var dn=(0,ut.S)(Array.from(Jt),{checked:!1,halfCheckedKeys:kt},nt);Mt=dn.checkedKeys,kt=dn.halfCheckedKeys}st=Mt,ft.checkedNodes=[],ft.checkedNodesPositions=[],ft.halfCheckedKeys=kt,Mt.forEach(function(Qt){var on=(0,Ye.Z)(nt,Qt);if(on){var wn=on.node,vn=on.pos;ft.checkedNodes.push(wn),ft.checkedNodesPositions.push({node:wn,pos:vn})}}),Fe.setUncontrolledState({checkedKeys:Mt},!1,{halfCheckedKeys:kt})}pt==null||pt(st,ft)},Fe.onNodeLoad=function(Re){var Ke=Re.key,ot=new Promise(function(ke,nt){Fe.setState(function(mt){var ct=mt.loadedKeys,ht=ct===void 0?[]:ct,lt=mt.loadingKeys,pt=lt===void 0?[]:lt,at=Fe.props,st=at.loadData,ft=at.onLoad;if(!st||ht.indexOf(Ke)!==-1||pt.indexOf(Ke)!==-1)return null;var vt=st(Re);return vt.then(function(){var St=Fe.state.loadedKeys,Et=(0,Je.L0)(St,Ke);ft==null||ft(Et,{event:"load",node:Re}),Fe.setUncontrolledState({loadedKeys:Et}),Fe.setState(function(Mt){return{loadingKeys:(0,Je._5)(Mt.loadingKeys,Ke)}}),ke()}).catch(function(St){if(Fe.setState(function(Mt){return{loadingKeys:(0,Je._5)(Mt.loadingKeys,Ke)}}),Fe.loadingRetryTimes[Ke]=(Fe.loadingRetryTimes[Ke]||0)+1,Fe.loadingRetryTimes[Ke]>=Ue){var Et=Fe.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Fe.setUncontrolledState({loadedKeys:(0,Je.L0)(Et,Ke)}),ke()}nt(St)}),{loadingKeys:(0,Je.L0)(pt,Ke)}})});return ot.catch(function(){}),ot},Fe.onNodeMouseEnter=function(Re,Ke){var ot=Fe.props.onMouseEnter;ot==null||ot({event:Re,node:Ke})},Fe.onNodeMouseLeave=function(Re,Ke){var ot=Fe.props.onMouseLeave;ot==null||ot({event:Re,node:Ke})},Fe.onNodeContextMenu=function(Re,Ke){var ot=Fe.props.onRightClick;ot&&(Re.preventDefault(),ot({event:Re,node:Ke}))},Fe.onFocus=function(){var Re=Fe.props.onFocus;Fe.setState({focused:!0});for(var Ke=arguments.length,ot=new Array(Ke),ke=0;ke<Ke;ke++)ot[ke]=arguments[ke];Re==null||Re.apply(void 0,ot)},Fe.onBlur=function(){var Re=Fe.props.onBlur;Fe.setState({focused:!1}),Fe.onActiveChange(null);for(var Ke=arguments.length,ot=new Array(Ke),ke=0;ke<Ke;ke++)ot[ke]=arguments[ke];Re==null||Re.apply(void 0,ot)},Fe.getTreeNodeRequiredProps=function(){var Re=Fe.state,Ke=Re.expandedKeys,ot=Re.selectedKeys,ke=Re.loadedKeys,nt=Re.loadingKeys,mt=Re.checkedKeys,ct=Re.halfCheckedKeys,ht=Re.dragOverNodeKey,lt=Re.dropPosition,pt=Re.keyEntities;return{expandedKeys:Ke||[],selectedKeys:ot||[],loadedKeys:ke||[],loadingKeys:nt||[],checkedKeys:mt||[],halfCheckedKeys:ct||[],dragOverNodeKey:ht,dropPosition:lt,keyEntities:pt}},Fe.setExpandedKeys=function(Re){var Ke=Fe.state,ot=Ke.treeData,ke=Ke.fieldNames,nt=(0,ye.oH)(ot,Re,ke);Fe.setUncontrolledState({expandedKeys:Re,flattenNodes:nt},!0)},Fe.onNodeExpand=function(Re,Ke){var ot=Fe.state.expandedKeys,ke=Fe.state,nt=ke.listChanging,mt=ke.fieldNames,ct=Fe.props,ht=ct.onExpand,lt=ct.loadData,pt=Ke.expanded,at=Ke[mt.key];if(!nt){var st=ot.indexOf(at),ft=!pt;if((0,a.ZP)(pt&&st!==-1||!pt&&st===-1,"Expand state not sync with index check"),ft?ot=(0,Je.L0)(ot,at):ot=(0,Je._5)(ot,at),Fe.setExpandedKeys(ot),ht==null||ht(ot,{node:Ke,expanded:ft,nativeEvent:Re.nativeEvent}),ft&<){var vt=Fe.onNodeLoad(Ke);vt&&vt.then(function(){var St=(0,ye.oH)(Fe.state.treeData,ot,mt);Fe.setUncontrolledState({flattenNodes:St})}).catch(function(){var St=Fe.state.expandedKeys,Et=(0,Je._5)(St,at);Fe.setExpandedKeys(Et)})}}},Fe.onListChangeStart=function(){Fe.setUncontrolledState({listChanging:!0})},Fe.onListChangeEnd=function(){setTimeout(function(){Fe.setUncontrolledState({listChanging:!1})})},Fe.onActiveChange=function(Re){var Ke=Fe.state.activeKey,ot=Fe.props.onActiveChange;Ke!==Re&&(Fe.setState({activeKey:Re}),Re!==null&&Fe.scrollTo({key:Re}),ot==null||ot(Re))},Fe.getActiveItem=function(){var Re=Fe.state,Ke=Re.activeKey,ot=Re.flattenNodes;return Ke===null?null:ot.find(function(ke){var nt=ke.key;return nt===Ke})||null},Fe.offsetActiveKey=function(Re){var Ke=Fe.state,ot=Ke.flattenNodes,ke=Ke.activeKey,nt=ot.findIndex(function(ht){var lt=ht.key;return lt===ke});nt===-1&&Re<0&&(nt=ot.length),nt=(nt+Re+ot.length)%ot.length;var mt=ot[nt];if(mt){var ct=mt.key;Fe.onActiveChange(ct)}else Fe.onActiveChange(null)},Fe.onKeyDown=function(Re){var Ke=Fe.state,ot=Ke.activeKey,ke=Ke.expandedKeys,nt=Ke.checkedKeys,mt=Ke.fieldNames,ct=Fe.props,ht=ct.onKeyDown,lt=ct.checkable,pt=ct.selectable;switch(Re.which){case re.Z.UP:{Fe.offsetActiveKey(-1),Re.preventDefault();break}case re.Z.DOWN:{Fe.offsetActiveKey(1),Re.preventDefault();break}}var at=Fe.getActiveItem();if(at&&at.data){var st=Fe.getTreeNodeRequiredProps(),ft=at.data.isLeaf===!1||!!(at.data[mt.children]||[]).length,vt=(0,ye.F)((0,he.Z)((0,he.Z)({},(0,ye.H8)(ot,st)),{},{data:at.data,active:!0}));switch(Re.which){case re.Z.LEFT:{ft&&ke.includes(ot)?Fe.onNodeExpand({},vt):at.parent&&Fe.onActiveChange(at.parent.key),Re.preventDefault();break}case re.Z.RIGHT:{ft&&!ke.includes(ot)?Fe.onNodeExpand({},vt):at.children&&at.children.length&&Fe.onActiveChange(at.children[0].key),Re.preventDefault();break}case re.Z.ENTER:case re.Z.SPACE:{lt&&!vt.disabled&&vt.checkable!==!1&&!vt.disableCheckbox?Fe.onNodeCheck({},vt,!nt.includes(ot)):!lt&&pt&&!vt.disabled&&vt.selectable!==!1&&Fe.onNodeSelect({},vt);break}}}ht==null||ht(Re)},Fe.setUncontrolledState=function(Re){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Fe.destroyed){var ke=!1,nt=!0,mt={};Object.keys(Re).forEach(function(ct){if(ct in Fe.props){nt=!1;return}ke=!0,mt[ct]=Re[ct]}),ke&&(!Ke||nt)&&Fe.setState((0,he.Z)((0,he.Z)({},mt),ot))}},Fe.scrollTo=function(Re){Fe.listRef.current.scrollTo(Re)},Fe}return(0,ne.Z)(Ze,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Oe=this.props.activeKey;Oe!==void 0&&Oe!==this.state.activeKey&&(this.setState({activeKey:Oe}),Oe!==null&&this.scrollTo({key:Oe}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Oe,Te=this.state,xe=Te.focused,Re=Te.flattenNodes,Ke=Te.keyEntities,ot=Te.draggingNodeKey,ke=Te.activeKey,nt=Te.dropLevelOffset,mt=Te.dropContainerKey,ct=Te.dropTargetKey,ht=Te.dropPosition,lt=Te.dragOverNodeKey,pt=Te.indent,at=this.props,st=at.prefixCls,ft=at.className,vt=at.style,St=at.showLine,Et=at.focusable,Mt=at.tabIndex,kt=Mt===void 0?0:Mt,Jt=at.selectable,dn=at.showIcon,Qt=at.icon,on=at.switcherIcon,wn=at.draggable,vn=at.checkable,fn=at.checkStrictly,Bn=at.disabled,Un=at.motion,Nn=at.loadData,_n=at.filterTreeNode,kn=at.height,Fn=at.itemHeight,Tr=at.virtual,Nr=at.titleRender,rr=at.dropIndicatorRender,Lr=at.onContextMenu,cr=at.onScroll,br=at.direction,Ot=at.rootClassName,At=at.rootStyle,xt=(0,ee.Z)(this.props,{aria:!0,data:!0}),en;return wn&&((0,E.Z)(wn)==="object"?en=wn:typeof wn=="function"?en={nodeDraggable:wn}:en={}),y.createElement(x.k.Provider,{value:{prefixCls:st,selectable:Jt,showIcon:dn,icon:Qt,switcherIcon:on,draggable:en,draggingNodeKey:ot,checkable:vn,checkStrictly:fn,disabled:Bn,keyEntities:Ke,dropLevelOffset:nt,dropContainerKey:mt,dropTargetKey:ct,dropPosition:ht,dragOverNodeKey:lt,indent:pt,direction:br,dropIndicatorRender:rr,loadData:Nn,filterTreeNode:_n,titleRender:Nr,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}},y.createElement("div",{role:"tree",className:oe()(st,ft,Ot,(Oe={},(0,_e.Z)(Oe,"".concat(st,"-show-line"),St),(0,_e.Z)(Oe,"".concat(st,"-focused"),xe),(0,_e.Z)(Oe,"".concat(st,"-active-focused"),ke!==null),Oe)),style:At},y.createElement(tt,(0,be.Z)({ref:this.listRef,prefixCls:st,style:vt,data:Re,disabled:Bn,selectable:Jt,checkable:!!vn,motion:Un,dragging:ot!==null,height:kn,itemHeight:Fn,virtual:Tr,focusable:Et,focused:xe,tabIndex:kt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Lr,onScroll:cr},this.getTreeNodeRequiredProps(),xt))))}}],[{key:"getDerivedStateFromProps",value:function(Oe,Te){var xe=Te.prevProps,Re={prevProps:Oe};function Ke(Et){return!xe&&Et in Oe||xe&&xe[Et]!==Oe[Et]}var ot,ke=Te.fieldNames;if(Ke("fieldNames")&&(ke=(0,ye.w$)(Oe.fieldNames),Re.fieldNames=ke),Ke("treeData")?ot=Oe.treeData:Ke("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ot=(0,ye.zn)(Oe.children)),ot){Re.treeData=ot;var nt=(0,ye.I8)(ot,{fieldNames:ke});Re.keyEntities=(0,he.Z)((0,_e.Z)({},Be,qe),nt.keyEntities)}var mt=Re.keyEntities||Te.keyEntities;if(Ke("expandedKeys")||xe&&Ke("autoExpandParent"))Re.expandedKeys=Oe.autoExpandParent||!xe&&Oe.defaultExpandParent?(0,Je.r7)(Oe.expandedKeys,mt):Oe.expandedKeys;else if(!xe&&Oe.defaultExpandAll){var ct=(0,he.Z)({},mt);delete ct[Be],Re.expandedKeys=Object.keys(ct).map(function(Et){return ct[Et].key})}else!xe&&Oe.defaultExpandedKeys&&(Re.expandedKeys=Oe.autoExpandParent||Oe.defaultExpandParent?(0,Je.r7)(Oe.defaultExpandedKeys,mt):Oe.defaultExpandedKeys);if(Re.expandedKeys||delete Re.expandedKeys,ot||Re.expandedKeys){var ht=(0,ye.oH)(ot||Te.treeData,Re.expandedKeys||Te.expandedKeys,ke);Re.flattenNodes=ht}if(Oe.selectable&&(Ke("selectedKeys")?Re.selectedKeys=(0,Je.BT)(Oe.selectedKeys,Oe):!xe&&Oe.defaultSelectedKeys&&(Re.selectedKeys=(0,Je.BT)(Oe.defaultSelectedKeys,Oe))),Oe.checkable){var lt;if(Ke("checkedKeys")?lt=(0,Je.E6)(Oe.checkedKeys)||{}:!xe&&Oe.defaultCheckedKeys?lt=(0,Je.E6)(Oe.defaultCheckedKeys)||{}:ot&&(lt=(0,Je.E6)(Oe.checkedKeys)||{checkedKeys:Te.checkedKeys,halfCheckedKeys:Te.halfCheckedKeys}),lt){var pt=lt,at=pt.checkedKeys,st=at===void 0?[]:at,ft=pt.halfCheckedKeys,vt=ft===void 0?[]:ft;if(!Oe.checkStrictly){var St=(0,ut.S)(st,!0,mt);st=St.checkedKeys,vt=St.halfCheckedKeys}Re.checkedKeys=st,Re.halfCheckedKeys=vt}}return Ke("loadedKeys")&&(Re.loadedKeys=Oe.loadedKeys),Re}}]),Ze}(y.Component);je.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},je.TreeNode=ge.Z;var $e=je,Le=$e},35654:function(Ct,dt,ve){"use strict";ve.d(dt,{BT:function(){return y},E6:function(){return z},L0:function(){return ue},OM:function(){return a},_5:function(){return ce},r7:function(){return te},wA:function(){return oe},yx:function(){return ae}});var be=ve(92393),_e=ve(10928),E=ve(48736),he=ve(59301),de=ve(39417),se=ve(67841),ne=ve(71430),ie=null;function ce(le,fe){if(!le)return[];var pe=le.slice(),me=pe.indexOf(fe);return me>=0&&pe.splice(me,1),pe}function ue(le,fe){var pe=(le||[]).slice();return pe.indexOf(fe)===-1&&pe.push(fe),pe}function ae(le){return le.split("-")}function oe(le,fe){var pe=[],me=(0,se.Z)(fe,le);function ge(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Se.forEach(function(ye){var Pe=ye.key,we=ye.children;pe.push(Pe),ge(we)})}return ge(me.children),pe}function re(le){if(le.parent){var fe=ae(le.pos);return Number(fe[fe.length-1])===le.parent.children.length-1}return!1}function ee(le){var fe=ae(le.pos);return Number(fe[fe.length-1])===0}function a(le,fe,pe,me,ge,Se,ye,Pe,we,De){var Ee,Ae=le.clientX,Ce=le.clientY,Ie=le.target.getBoundingClientRect(),Me=Ie.top,Ge=Ie.height,Be=(De==="rtl"?-1:1)*(((ge==null?void 0:ge.x)||0)-Ae),Qe=(Be-12)/me,qe=(0,se.Z)(Pe,pe.props.eventKey);if(Ce<Me+Ge/2){var Xe=ye.findIndex(function(Le){return Le.key===qe.key}),Ve=Xe<=0?0:Xe-1,We=ye[Ve].key;qe=(0,se.Z)(Pe,We)}var ze=qe.key,He=qe,tt=qe.key,Je=0,ut=0;if(!we.includes(ze))for(var Ye=0;Ye<Qe&&re(qe);Ye+=1)qe=qe.parent,ut+=1;var Ue=fe.props.data,je=qe.node,$e=!0;return ee(qe)&&qe.level===0&&Ce<Me+Ge/2&&Se({dragNode:Ue,dropNode:je,dropPosition:-1})&&qe.key===pe.props.eventKey?Je=-1:(He.children||[]).length&&we.includes(tt)?Se({dragNode:Ue,dropNode:je,dropPosition:0})?Je=0:$e=!1:ut===0?Qe>-1.5?Se({dragNode:Ue,dropNode:je,dropPosition:1})?Je=1:$e=!1:Se({dragNode:Ue,dropNode:je,dropPosition:0})?Je=0:Se({dragNode:Ue,dropNode:je,dropPosition:1})?Je=1:$e=!1:Se({dragNode:Ue,dropNode:je,dropPosition:1})?Je=1:$e=!1,{dropPosition:Je,dropLevelOffset:ut,dropTargetKey:qe.key,dropTargetPos:qe.pos,dragOverNodeKey:tt,dropContainerKey:Je===0?null:((Ee=qe.parent)===null||Ee===void 0?void 0:Ee.key)||null,dropAllowed:$e}}function y(le,fe){if(le){var pe=fe.multiple;return pe?le.slice():le.length?[le[0]]:le}}var x=function(fe){return fe};function b(le,fe){if(!le)return[];var pe=fe||{},me=pe.processProps,ge=me===void 0?x:me,Se=Array.isArray(le)?le:[le];return Se.map(function(ye){var Pe=ye.children,we=_objectWithoutProperties(ye,ie),De=b(Pe,fe);return React.createElement(TreeNode,_extends({key:we.key},ge(we)),De)})}function z(le){if(!le)return null;var fe;if(Array.isArray(le))fe={checkedKeys:le,halfCheckedKeys:void 0};else if((0,_e.Z)(le)==="object")fe={checkedKeys:le.checked||void 0,halfCheckedKeys:le.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return fe}function te(le,fe){var pe=new Set;function me(ge){if(!pe.has(ge)){var Se=(0,se.Z)(fe,ge);if(Se){pe.add(ge);var ye=Se.parent,Pe=Se.node;Pe.disabled||ye&&me(ye.key)}}}return(le||[]).forEach(function(ge){me(ge)}),(0,be.Z)(pe)}},90782:function(Ct,dt,ve){"use strict";ve.d(dt,{S:function(){return ne}});var be=ve(48736),_e=ve(67841);function E(ie,ce){var ue=new Set;return ie.forEach(function(ae){ce.has(ae)||ue.add(ae)}),ue}function he(ie){var ce=ie||{},ue=ce.disabled,ae=ce.disableCheckbox,oe=ce.checkable;return!!(ue||ae)||oe===!1}function de(ie,ce,ue,ae){for(var oe=new Set(ie),re=new Set,ee=0;ee<=ue;ee+=1){var a=ce.get(ee)||new Set;a.forEach(function(z){var te=z.key,le=z.node,fe=z.children,pe=fe===void 0?[]:fe;oe.has(te)&&!ae(le)&&pe.filter(function(me){return!ae(me.node)}).forEach(function(me){oe.add(me.key)})})}for(var y=new Set,x=ue;x>=0;x-=1){var b=ce.get(x)||new Set;b.forEach(function(z){var te=z.parent,le=z.node;if(!(ae(le)||!z.parent||y.has(z.parent.key))){if(ae(z.parent.node)){y.add(te.key);return}var fe=!0,pe=!1;(te.children||[]).filter(function(me){return!ae(me.node)}).forEach(function(me){var ge=me.key,Se=oe.has(ge);fe&&!Se&&(fe=!1),!pe&&(Se||re.has(ge))&&(pe=!0)}),fe&&oe.add(te.key),pe&&re.add(te.key),y.add(te.key)}})}return{checkedKeys:Array.from(oe),halfCheckedKeys:Array.from(E(re,oe))}}function se(ie,ce,ue,ae,oe){for(var re=new Set(ie),ee=new Set(ce),a=0;a<=ae;a+=1){var y=ue.get(a)||new Set;y.forEach(function(te){var le=te.key,fe=te.node,pe=te.children,me=pe===void 0?[]:pe;!re.has(le)&&!ee.has(le)&&!oe(fe)&&me.filter(function(ge){return!oe(ge.node)}).forEach(function(ge){re.delete(ge.key)})})}ee=new Set;for(var x=new Set,b=ae;b>=0;b-=1){var z=ue.get(b)||new Set;z.forEach(function(te){var le=te.parent,fe=te.node;if(!(oe(fe)||!te.parent||x.has(te.parent.key))){if(oe(te.parent.node)){x.add(le.key);return}var pe=!0,me=!1;(le.children||[]).filter(function(ge){return!oe(ge.node)}).forEach(function(ge){var Se=ge.key,ye=re.has(Se);pe&&!ye&&(pe=!1),!me&&(ye||ee.has(Se))&&(me=!0)}),pe||re.delete(le.key),me&&ee.add(le.key),x.add(le.key)}})}return{checkedKeys:Array.from(re),halfCheckedKeys:Array.from(E(ee,re))}}function ne(ie,ce,ue,ae){var oe=[],re;ae?re=ae:re=he;var ee=new Set(ie.filter(function(b){var z=!!(0,_e.Z)(ue,b);return z||oe.push(b),z})),a=new Map,y=0;Object.keys(ue).forEach(function(b){var z=ue[b],te=z.level,le=a.get(te);le||(le=new Set,a.set(te,le)),le.add(z),y=Math.max(y,te)}),(0,be.ZP)(!oe.length,"Tree missing follow keys: ".concat(oe.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return ce===!0?x=de(ee,a,y,re):x=se(ee,ce.halfCheckedKeys,a,y,re),x}},67841:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return be}});function be(_e,E){return _e[E]}},71430:function(Ct,dt,ve){"use strict";ve.d(dt,{F:function(){return te},H8:function(){return z},I8:function(){return b},km:function(){return oe},oH:function(){return y},w$:function(){return re},zn:function(){return a}});var be=ve(10928),_e=ve(92393),E=ve(20049),he=ve(5883),de=ve(11592),se=ve(2738),ne=ve(48736),ie=ve(67841),ce=["children"];function ue(le,fe){return"".concat(le,"-").concat(fe)}function ae(le){return le&&le.type&&le.type.isTreeNode}function oe(le,fe){return le!=null?le:fe}function re(le){var fe=le||{},pe=fe.title,me=fe._title,ge=fe.key,Se=fe.children,ye=pe||"title";return{title:ye,_title:me||[ye],key:ge||"key",children:Se||"children"}}function ee(le,fe){var pe=new Map;function me(ge){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ge||[]).forEach(function(ye){var Pe=ye[fe.key],we=ye[fe.children];warning(Pe!=null,"Tree node must have a certain key: [".concat(Se).concat(Pe,"]"));var De=String(Pe);warning(!pe.has(De)||Pe===null||Pe===void 0,"Same 'key' exist in the Tree: ".concat(De)),pe.set(De,!0),me(we,"".concat(Se).concat(De," > "))})}me(le)}function a(le){function fe(pe){var me=(0,de.Z)(pe);return me.map(function(ge){if(!ae(ge))return(0,ne.ZP)(!ge,"Tree/TreeNode can only accept TreeNode as children."),null;var Se=ge.key,ye=ge.props,Pe=ye.children,we=(0,he.Z)(ye,ce),De=(0,E.Z)({key:Se},we),Ee=fe(Pe);return Ee.length&&(De.children=Ee),De}).filter(function(ge){return ge})}return fe(le)}function y(le,fe,pe){var me=re(pe),ge=me._title,Se=me.key,ye=me.children,Pe=new Set(fe===!0?[]:fe),we=[];function De(Ee){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ee.map(function(Ce,Ie){for(var Me=ue(Ae?Ae.pos:"0",Ie),Ge=oe(Ce[Se],Me),Be,Qe=0;Qe<ge.length;Qe+=1){var qe=ge[Qe];if(Ce[qe]!==void 0){Be=Ce[qe];break}}var Xe=(0,E.Z)((0,E.Z)({},(0,se.Z)(Ce,[].concat((0,_e.Z)(ge),[Se,ye]))),{},{title:Be,key:Ge,parent:Ae,pos:Me,children:null,data:Ce,isStart:[].concat((0,_e.Z)(Ae?Ae.isStart:[]),[Ie===0]),isEnd:[].concat((0,_e.Z)(Ae?Ae.isEnd:[]),[Ie===Ee.length-1])});return we.push(Xe),fe===!0||Pe.has(Ge)?Xe.children=De(Ce[ye]||[],Xe):Xe.children=[],Xe})}return De(le),we}function x(le,fe,pe){var me={};(0,be.Z)(pe)==="object"?me=pe:me={externalGetKey:pe},me=me||{};var ge=me,Se=ge.childrenPropName,ye=ge.externalGetKey,Pe=ge.fieldNames,we=re(Pe),De=we.key,Ee=we.children,Ae=Se||Ee,Ce;ye?typeof ye=="string"?Ce=function(Ge){return Ge[ye]}:typeof ye=="function"&&(Ce=function(Ge){return ye(Ge)}):Ce=function(Ge,Be){return oe(Ge[De],Be)};function Ie(Me,Ge,Be,Qe){var qe=Me?Me[Ae]:le,Xe=Me?ue(Be.pos,Ge):"0",Ve=Me?[].concat((0,_e.Z)(Qe),[Me]):[];if(Me){var We=Ce(Me,Xe),ze={node:Me,index:Ge,pos:Xe,key:We,parentPos:Be.node?Be.pos:null,level:Be.level+1,nodes:Ve};fe(ze)}qe&&qe.forEach(function(He,tt){Ie(He,tt,{node:Me,pos:Xe,level:Be?Be.level+1:-1},Ve)})}Ie(null)}function b(le){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=fe.initWrapper,me=fe.processEntity,ge=fe.onProcessFinished,Se=fe.externalGetKey,ye=fe.childrenPropName,Pe=fe.fieldNames,we=arguments.length>2?arguments[2]:void 0,De=Se||we,Ee={},Ae={},Ce={posEntities:Ee,keyEntities:Ae};return pe&&(Ce=pe(Ce)||Ce),x(le,function(Ie){var Me=Ie.node,Ge=Ie.index,Be=Ie.pos,Qe=Ie.key,qe=Ie.parentPos,Xe=Ie.level,Ve=Ie.nodes,We={node:Me,nodes:Ve,index:Ge,key:Qe,pos:Be,level:Xe},ze=oe(Qe,Be);Ee[Be]=We,Ae[ze]=We,We.parent=Ee[qe],We.parent&&(We.parent.children=We.parent.children||[],We.parent.children.push(We)),me&&me(We,Ce)},{externalGetKey:De,childrenPropName:ye,fieldNames:Pe}),ge&&ge(Ce),Ce}function z(le,fe){var pe=fe.expandedKeys,me=fe.selectedKeys,ge=fe.loadedKeys,Se=fe.loadingKeys,ye=fe.checkedKeys,Pe=fe.halfCheckedKeys,we=fe.dragOverNodeKey,De=fe.dropPosition,Ee=fe.keyEntities,Ae=(0,ie.Z)(Ee,le),Ce={eventKey:le,expanded:pe.indexOf(le)!==-1,selected:me.indexOf(le)!==-1,loaded:ge.indexOf(le)!==-1,loading:Se.indexOf(le)!==-1,checked:ye.indexOf(le)!==-1,halfChecked:Pe.indexOf(le)!==-1,pos:String(Ae?Ae.pos:""),dragOver:we===le&&De===0,dragOverGapTop:we===le&&De===-1,dragOverGapBottom:we===le&&De===1};return Ce}function te(le){var fe=le.data,pe=le.expanded,me=le.selected,ge=le.checked,Se=le.loaded,ye=le.loading,Pe=le.halfChecked,we=le.dragOver,De=le.dragOverGapTop,Ee=le.dragOverGapBottom,Ae=le.pos,Ce=le.active,Ie=le.eventKey,Me=(0,E.Z)((0,E.Z)({},fe),{},{expanded:pe,selected:me,checked:ge,loaded:Se,loading:ye,halfChecked:Pe,dragOver:we,dragOverGapTop:De,dragOverGapBottom:Ee,pos:Ae,active:Ce,key:Ie});return"props"in Me||Object.defineProperty(Me,"props",{get:function(){return(0,ne.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),le}}),Me}},8224:function(Ct,dt,ve){"use strict";ve.d(dt,{Z:function(){return _e}});var be=ve(4676);function _e(E,he,de,se){var ne=be.unstable_batchedUpdates?function(ce){be.unstable_batchedUpdates(de,ce)}:de;return E!=null&&E.addEventListener&&E.addEventListener(he,ne,se),{remove:function(){E!=null&&E.removeEventListener&&E.removeEventListener(he,ne,se)}}}},55468:function(Ct,dt,ve){"use strict";ve.d(dt,{g1:function(){return ae},os:function(){return re}});var be=/margin|padding|width|height|max|min|offset/,_e={left:!0,top:!0},E={cssFloat:1,styleFloat:1,float:1};function he(ee){return ee.nodeType===1?ee.ownerDocument.defaultView.getComputedStyle(ee,null):{}}function de(ee,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return ee.offsetHeight;if(a==="width")return ee.offsetWidth}return a in _e||(_e[a]=be.test(a)),_e[a]?parseFloat(y)||0:y}function se(ee,a){var y=arguments.length,x=he(ee);return a=E[a]?"cssFloat"in ee.style?"cssFloat":"styleFloat":a,y===1?x:de(ee,a,x[a]||ee.style[a])}function ne(ee,a,y){var x=arguments.length;if(a=E[a]?"cssFloat"in ee.style?"cssFloat":"styleFloat":a,x===3)return typeof y=="number"&&be.test(a)&&(y="".concat(y,"px")),ee.style[a]=y,y;for(var b in a)a.hasOwnProperty(b)&&ne(ee,b,a[b]);return he(ee)}function ie(ee){return ee===document.body?document.documentElement.clientWidth:ee.offsetWidth}function ce(ee){return ee===document.body?window.innerHeight||document.documentElement.clientHeight:ee.offsetHeight}function ue(){var ee=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ee,height:a}}function ae(){var ee=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:ee,height:a}}function oe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function re(ee){var a=ee.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},24514:function(Ct,dt,ve){"use strict";ve.d(dt,{G:function(){return he}});var be=ve(47273),_e=function(se){if((0,be.Z)()&&window.document.documentElement){var ne=Array.isArray(se)?se:[se],ie=window.document.documentElement;return ne.some(function(ce){return ce in ie.style})}return!1},E=function(se,ne){if(!_e(se))return!1;var ie=document.createElement("div"),ce=ie.style[se];return ie.style[se]=ne,ie.style[se]!==ce};function he(de,se){return!Array.isArray(de)&&se!==void 0?E(de,se):_e(de)}},7062:function(Ct,dt,ve){var be=ve(19637),_e=ve(97573),E=[ve(96627)];Ct.exports=be.createStore(_e,E)},96627:function(Ct,dt,ve){Ct.exports=be;function be(){return ve(42424),{}}},42424:function(){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(Ct){return Ct<10?"0"+Ct:Ct}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(Ct){return rx_escapable.lastIndex=0,rx_escapable.test(Ct)?'"'+Ct.replace(rx_escapable,function(dt){var ve=meta[dt];return typeof ve=="string"?ve:"\\u"+("0000"+dt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+Ct+'"'}function str(Ct,dt){var ve,be,_e,E,he=gap,de,se=dt[Ct];switch(se&&typeof se=="object"&&typeof se.toJSON=="function"&&(se=se.toJSON(Ct)),typeof rep=="function"&&(se=rep.call(dt,Ct,se)),typeof se){case"string":return quote(se);case"number":return isFinite(se)?String(se):"null";case"boolean":case"null":return String(se);case"object":if(!se)return"null";if(gap+=indent,de=[],Object.prototype.toString.apply(se)==="[object Array]"){for(E=se.length,ve=0;ve<E;ve+=1)de[ve]=str(ve,se)||"null";return _e=de.length===0?"[]":gap?`[
|
|
|
`+gap+de.join(`,
|
|
|
`+gap)+`
|
|
|
`+he+"]":"["+de.join(",")+"]",gap=he,_e}if(rep&&typeof rep=="object")for(E=rep.length,ve=0;ve<E;ve+=1)typeof rep[ve]=="string"&&(be=rep[ve],_e=str(be,se),_e&&de.push(quote(be)+(gap?": ":":")+_e));else for(be in se)Object.prototype.hasOwnProperty.call(se,be)&&(_e=str(be,se),_e&&de.push(quote(be)+(gap?": ":":")+_e));return _e=de.length===0?"{}":gap?`{
|
|
|
`+gap+de.join(`,
|
|
|
`+gap)+`
|
|
|
`+he+"}":"{"+de.join(",")+"}",gap=he,_e}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(Ct,dt,ve){var be;if(gap="",indent="",typeof ve=="number")for(be=0;be<ve;be+=1)indent+=" ";else typeof ve=="string"&&(indent=ve);if(rep=dt,dt&&typeof dt!="function"&&(typeof dt!="object"||typeof dt.length!="number"))throw new Error("JSON.stringify");return str("",{"":Ct})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(Ct,dt){var ve,be,_e=Ct[dt];if(_e&&typeof _e=="object")for(ve in _e)Object.prototype.hasOwnProperty.call(_e,ve)&&(be=walk(_e,ve),be!==void 0?_e[ve]=be:delete _e[ve]);return reviver.call(Ct,dt,_e)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(Ct){return"\\u"+("0000"+Ct.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},19637:function(Ct,dt,ve){var be=ve(67039),_e=be.slice,E=be.pluck,he=be.each,de=be.bind,se=be.create,ne=be.isList,ie=be.isFunction,ce=be.isObject;Ct.exports={createStore:oe};var ue={version:"2.0.12",enabled:!1,get:function(re,ee){var a=this.storage.read(this._namespacePrefix+re);return this._deserialize(a,ee)},set:function(re,ee){return ee===void 0?this.remove(re):(this.storage.write(this._namespacePrefix+re,this._serialize(ee)),ee)},remove:function(re){this.storage.remove(this._namespacePrefix+re)},each:function(re){var ee=this;this.storage.each(function(a,y){re.call(ee,ee._deserialize(a),(y||"").replace(ee._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(re){return this._namespacePrefix=="__storejs_"+re+"_"},createStore:function(){return oe.apply(this,arguments)},addPlugin:function(re){this._addPlugin(re)},namespace:function(re){return oe(this.storage,this.plugins,re)}};function ae(){var re=typeof console=="undefined"?null:console;if(re){var ee=re.warn?re.warn:re.log;ee.apply(re,arguments)}}function oe(re,ee,a){a||(a=""),re&&!ne(re)&&(re=[re]),ee&&!ne(ee)&&(ee=[ee]);var y=a?"__storejs_"+a+"_":"",x=a?new RegExp("^"+y):null,b=/^[a-zA-Z0-9_\-]*$/;if(!b.test(a))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var z={_namespacePrefix:y,_namespaceRegexp:x,_testStorage:function(le){try{var fe="__storejs__test__";le.write(fe,fe);var pe=le.read(fe)===fe;return le.remove(fe),pe}catch(me){return!1}},_assignPluginFnProp:function(le,fe){var pe=this[fe];this[fe]=function(){var ge=_e(arguments,0),Se=this;function ye(){if(pe)return he(arguments,function(we,De){ge[De]=we}),pe.apply(Se,ge)}var Pe=[ye].concat(ge);return le.apply(Se,Pe)}},_serialize:function(le){return JSON.stringify(le)},_deserialize:function(le,fe){if(!le)return fe;var pe="";try{pe=JSON.parse(le)}catch(me){pe=le}return pe!==void 0?pe:fe},_addStorage:function(le){this.enabled||this._testStorage(le)&&(this.storage=le,this.enabled=!0)},_addPlugin:function(le){var fe=this;if(ne(le)){he(le,function(ge){fe._addPlugin(ge)});return}var pe=E(this.plugins,function(ge){return le===ge});if(!pe){if(this.plugins.push(le),!ie(le))throw new Error("Plugins must be function values that return objects");var me=le.call(this);if(!ce(me))throw new Error("Plugins must return an object of function properties");he(me,function(ge,Se){if(!ie(ge))throw new Error("Bad plugin property: "+Se+" from plugin "+le.name+". Plugins should only return functions.");fe._assignPluginFnProp(ge,Se)})}},addStorage:function(le){ae("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(le)}},te=se(z,ue,{plugins:[]});return te.raw={},he(te,function(le,fe){ie(le)&&(te.raw[fe]=de(te,le))}),he(re,function(le){te._addStorage(le)}),he(ee,function(le){te._addPlugin(le)}),te}},67039:function(Ct,dt,ve){var be=de(),_e=se(),E=ne(),he=typeof window!="undefined"?window:ve.g;Ct.exports={assign:be,create:_e,trim:E,bind:ie,slice:ce,each:ue,map:ae,pluck:oe,isList:re,isFunction:ee,isObject:a,Global:he};function de(){return Object.assign?Object.assign:function(x,b,z,te){for(var le=1;le<arguments.length;le++)ue(Object(arguments[le]),function(fe,pe){x[pe]=fe});return x}}function se(){if(Object.create)return function(b,z,te,le){var fe=ce(arguments,1);return be.apply(this,[Object.create(b)].concat(fe))};{let x=function(){};var y=x;return function(z,te,le,fe){var pe=ce(arguments,1);return x.prototype=z,be.apply(this,[new x].concat(pe))}}}function ne(){return String.prototype.trim?function(x){return String.prototype.trim.call(x)}:function(x){return x.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function ie(y,x){return function(){return x.apply(y,Array.prototype.slice.call(arguments,0))}}function ce(y,x){return Array.prototype.slice.call(y,x||0)}function ue(y,x){oe(y,function(b,z){return x(b,z),!1})}function ae(y,x){var b=re(y)?[]:{};return oe(y,function(z,te){return b[te]=x(z,te),!1}),b}function oe(y,x){if(re(y)){for(var b=0;b<y.length;b++)if(x(y[b],b))return y[b]}else for(var z in y)if(y.hasOwnProperty(z)&&x(y[z],z))return y[z]}function re(y){return y!=null&&typeof y!="function"&&typeof y.length=="number"}function ee(y){return y&&{}.toString.call(y)==="[object Function]"}function a(y){return y&&{}.toString.call(y)==="[object Object]"}},97573:function(Ct,dt,ve){Ct.exports=[ve(52496),ve(16436),ve(76673),ve(35701),ve(65578),ve(65300)]},35701:function(Ct,dt,ve){var be=ve(67039),_e=be.Global,E=be.trim;Ct.exports={name:"cookieStorage",read:de,write:ne,each:se,remove:ie,clearAll:ce};var he=_e.document;function de(ae){if(!ae||!ue(ae))return null;var oe="(?:^|.*;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(he.cookie.replace(new RegExp(oe),"$1"))}function se(ae){for(var oe=he.cookie.split(/; ?/g),re=oe.length-1;re>=0;re--)if(E(oe[re])){var ee=oe[re].split("="),a=unescape(ee[0]),y=unescape(ee[1]);ae(y,a)}}function ne(ae,oe){ae&&(he.cookie=escape(ae)+"="+escape(oe)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ie(ae){!ae||!ue(ae)||(he.cookie=escape(ae)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function ce(){se(function(ae,oe){ie(oe)})}function ue(ae){return new RegExp("(?:^|;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(he.cookie)}},52496:function(Ct,dt,ve){var be=ve(67039),_e=be.Global;Ct.exports={name:"localStorage",read:he,write:de,each:se,remove:ne,clearAll:ie};function E(){return _e.localStorage}function he(ce){return E().getItem(ce)}function de(ce,ue){return E().setItem(ce,ue)}function se(ce){for(var ue=E().length-1;ue>=0;ue--){var ae=E().key(ue);ce(he(ae),ae)}}function ne(ce){return E().removeItem(ce)}function ie(){return E().clear()}},65300:function(Ct){Ct.exports={name:"memoryStorage",read:ve,write:be,each:_e,remove:E,clearAll:he};var dt={};function ve(de){return dt[de]}function be(de,se){dt[de]=se}function _e(de){for(var se in dt)dt.hasOwnProperty(se)&&de(dt[se],se)}function E(de){delete dt[de]}function he(de){dt={}}},16436:function(Ct,dt,ve){var be=ve(67039),_e=be.Global;Ct.exports={name:"oldFF-globalStorage",read:he,write:de,each:se,remove:ne,clearAll:ie};var E=_e.globalStorage;function he(ce){return E[ce]}function de(ce,ue){E[ce]=ue}function se(ce){for(var ue=E.length-1;ue>=0;ue--){var ae=E.key(ue);ce(E[ae],ae)}}function ne(ce){return E.removeItem(ce)}function ie(){se(function(ce,ue){delete E[ce]})}},76673:function(Ct,dt,ve){var be=ve(67039),_e=be.Global;Ct.exports={name:"oldIE-userDataStorage",write:ne,read:ie,each:ce,remove:ue,clearAll:ae};var E="storejs",he=_e.document,de=ee(),se=(_e.navigator?_e.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function ne(a,y){if(!se){var x=re(a);de(function(b){b.setAttribute(x,y),b.save(E)})}}function ie(a){if(!se){var y=re(a),x=null;return de(function(b){x=b.getAttribute(y)}),x}}function ce(a){de(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var z=x[b];a(y.getAttribute(z.name),z.name)}})}function ue(a){var y=re(a);de(function(x){x.removeAttribute(y),x.save(E)})}function ae(){de(function(a){var y=a.XMLDocument.documentElement.attributes;a.load(E);for(var x=y.length-1;x>=0;x--)a.removeAttribute(y[x].name);a.save(E)})}var oe=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function re(a){return a.replace(/^\d/,"___$&").replace(oe,"___")}function ee(){if(!he||!he.documentElement||!he.documentElement.addBehavior)return null;var a="script",y,x,b;try{x=new ActiveXObject("htmlfile"),x.open(),x.write("<"+a+">document.w=window</"+a+'><iframe src="/favicon.ico"></iframe>'),x.close(),y=x.w.frames[0].document,b=y.createElement("div")}catch(z){b=he.createElement("div"),y=he.body}return function(z){var te=[].slice.call(arguments,0);te.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(E),z.apply(this,te),y.removeChild(b)}}},65578:function(Ct,dt,ve){var be=ve(67039),_e=be.Global;Ct.exports={name:"sessionStorage",read:he,write:de,each:se,remove:ne,clearAll:ie};function E(){return _e.sessionStorage}function he(ce){return E().getItem(ce)}function de(ce,ue){return E().setItem(ce,ue)}function se(ce){for(var ue=E().length-1;ue>=0;ue--){var ae=E().key(ue);ce(he(ae),ae)}}function ne(ce){return E().removeItem(ce)}function ie(){return E().clear()}},34376:function(Ct){(function(dt,ve){if(1)Ct.exports=ve();else var be,_e})(window,function(){return function(dt){var ve={};function be(_e){if(ve[_e])return ve[_e].exports;var E=ve[_e]={i:_e,l:!1,exports:{}};return dt[_e].call(E.exports,E,E.exports,be),E.l=!0,E.exports}return be.m=dt,be.c=ve,be.d=function(_e,E,he){be.o(_e,E)||Object.defineProperty(_e,E,{enumerable:!0,get:he})},be.r=function(_e){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_e,"__esModule",{value:!0})},be.t=function(_e,E){if(1&E&&(_e=be(_e)),8&E||4&E&&typeof _e=="object"&&_e&&_e.__esModule)return _e;var he=Object.create(null);if(be.r(he),Object.defineProperty(he,"default",{enumerable:!0,value:_e}),2&E&&typeof _e!="string")for(var de in _e)be.d(he,de,function(se){return _e[se]}.bind(null,de));return he},be.n=function(_e){var E=_e&&_e.__esModule?function(){return _e.default}:function(){return _e};return be.d(E,"a",E),E},be.o=function(_e,E){return Object.prototype.hasOwnProperty.call(_e,E)},be.p="",be(be.s=34)}([function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.forwardEvent=ve.EventEmitter=void 0;var _e=function(){function E(){this._listeners=[],this._disposed=!1}return Object.defineProperty(E.prototype,"event",{get:function(){var he=this;return this._event||(this._event=function(de){return he._listeners.push(de),{dispose:function(){if(!he._disposed){for(var se=0;se<he._listeners.length;se++)if(he._listeners[se]===de)return void he._listeners.splice(se,1)}}}}),this._event},enumerable:!1,configurable:!0}),E.prototype.fire=function(he,de){for(var se=[],ne=0;ne<this._listeners.length;ne++)se.push(this._listeners[ne]);for(ne=0;ne<se.length;ne++)se[ne].call(void 0,he,de)},E.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},E}();ve.EventEmitter=_e,ve.forwardEvent=function(E,he){return E(function(de){return he.fire(de)})}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.IUnicodeService=ve.IOptionsService=ve.ILogService=ve.IInstantiationService=ve.IDirtyRowService=ve.ICharsetService=ve.ICoreService=ve.ICoreMouseService=ve.IBufferService=void 0;var _e=be(14);ve.IBufferService=_e.createDecorator("BufferService"),ve.ICoreMouseService=_e.createDecorator("CoreMouseService"),ve.ICoreService=_e.createDecorator("CoreService"),ve.ICharsetService=_e.createDecorator("CharsetService"),ve.IDirtyRowService=_e.createDecorator("DirtyRowService"),ve.IInstantiationService=_e.createDecorator("InstantiationService"),ve.ILogService=_e.createDecorator("LogService"),ve.IOptionsService=_e.createDecorator("OptionsService"),ve.IUnicodeService=_e.createDecorator("UnicodeService")},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.getDisposeArrayDisposable=ve.disposeArray=ve.Disposable=void 0;var _e=function(){function he(){this._disposables=[],this._isDisposed=!1}return he.prototype.dispose=function(){this._isDisposed=!0;for(var de=0,se=this._disposables;de<se.length;de++)se[de].dispose();this._disposables.length=0},he.prototype.register=function(de){return this._disposables.push(de),de},he.prototype.unregister=function(de){var se=this._disposables.indexOf(de);se!==-1&&this._disposables.splice(se,1)},he}();function E(he){for(var de=0,se=he;de<se.length;de++)se[de].dispose();he.length=0}ve.Disposable=_e,ve.disposeArray=E,ve.getDisposeArrayDisposable=function(he){return{dispose:function(){return E(he)}}}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.WHITESPACE_CELL_CODE=ve.WHITESPACE_CELL_WIDTH=ve.WHITESPACE_CELL_CHAR=ve.NULL_CELL_CODE=ve.NULL_CELL_WIDTH=ve.NULL_CELL_CHAR=ve.CHAR_DATA_CODE_INDEX=ve.CHAR_DATA_WIDTH_INDEX=ve.CHAR_DATA_CHAR_INDEX=ve.CHAR_DATA_ATTR_INDEX=ve.DEFAULT_ATTR=ve.DEFAULT_COLOR=void 0,ve.DEFAULT_COLOR=256,ve.DEFAULT_ATTR=256|ve.DEFAULT_COLOR<<9,ve.CHAR_DATA_ATTR_INDEX=0,ve.CHAR_DATA_CHAR_INDEX=1,ve.CHAR_DATA_WIDTH_INDEX=2,ve.CHAR_DATA_CODE_INDEX=3,ve.NULL_CELL_CHAR="",ve.NULL_CELL_WIDTH=1,ve.NULL_CELL_CODE=0,ve.WHITESPACE_CELL_CHAR=" ",ve.WHITESPACE_CELL_WIDTH=1,ve.WHITESPACE_CELL_CODE=32},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ie,ce){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ae){ue.__proto__=ae}||function(ue,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ue[oe]=ae[oe])})(ie,ce)},function(ie,ce){function ue(){this.constructor=ie}_e(ie,ce),ie.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.CellData=void 0;var he=be(8),de=be(3),se=be(6),ne=function(ie){function ce(){var ue=ie!==null&&ie.apply(this,arguments)||this;return ue.content=0,ue.fg=0,ue.bg=0,ue.extended=new se.ExtendedAttrs,ue.combinedData="",ue}return E(ce,ie),ce.fromCharData=function(ue){var ae=new ce;return ae.setFromCharData(ue),ae},ce.prototype.isCombined=function(){return 2097152&this.content},ce.prototype.getWidth=function(){return this.content>>22},ce.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?he.stringFromCodePoint(2097151&this.content):""},ce.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},ce.prototype.setFromCharData=function(ue){this.fg=ue[de.CHAR_DATA_ATTR_INDEX],this.bg=0;var ae=!1;if(ue[de.CHAR_DATA_CHAR_INDEX].length>2)ae=!0;else if(ue[de.CHAR_DATA_CHAR_INDEX].length===2){var oe=ue[de.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=oe&&oe<=56319){var re=ue[de.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=re&&re<=57343?this.content=1024*(oe-55296)+re-56320+65536|ue[de.CHAR_DATA_WIDTH_INDEX]<<22:ae=!0}else ae=!0}else this.content=ue[de.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ue[de.CHAR_DATA_WIDTH_INDEX]<<22;ae&&(this.combinedData=ue[de.CHAR_DATA_CHAR_INDEX],this.content=2097152|ue[de.CHAR_DATA_WIDTH_INDEX]<<22)},ce.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},ce}(se.AttributeData);ve.CellData=ne},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.ISoundService=ve.ISelectionService=ve.IRenderService=ve.IMouseService=ve.ICoreBrowserService=ve.ICharSizeService=void 0;var _e=be(14);ve.ICharSizeService=_e.createDecorator("CharSizeService"),ve.ICoreBrowserService=_e.createDecorator("CoreBrowserService"),ve.IMouseService=_e.createDecorator("MouseService"),ve.IRenderService=_e.createDecorator("RenderService"),ve.ISelectionService=_e.createDecorator("SelectionService"),ve.ISoundService=_e.createDecorator("SoundService")},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.ExtendedAttrs=ve.AttributeData=void 0;var _e=function(){function he(){this.fg=0,this.bg=0,this.extended=new E}return he.toColorRGB=function(de){return[de>>>16&255,de>>>8&255,255&de]},he.fromColorRGB=function(de){return(255&de[0])<<16|(255&de[1])<<8|255&de[2]},he.prototype.clone=function(){var de=new he;return de.fg=this.fg,de.bg=this.bg,de.extended=this.extended.clone(),de},he.prototype.isInverse=function(){return 67108864&this.fg},he.prototype.isBold=function(){return 134217728&this.fg},he.prototype.isUnderline=function(){return 268435456&this.fg},he.prototype.isBlink=function(){return 536870912&this.fg},he.prototype.isInvisible=function(){return 1073741824&this.fg},he.prototype.isItalic=function(){return 67108864&this.bg},he.prototype.isDim=function(){return 134217728&this.bg},he.prototype.getFgColorMode=function(){return 50331648&this.fg},he.prototype.getBgColorMode=function(){return 50331648&this.bg},he.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},he.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},he.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},he.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},he.prototype.isFgDefault=function(){return(50331648&this.fg)==0},he.prototype.isBgDefault=function(){return(50331648&this.bg)==0},he.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},he.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},he.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},he.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},he.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},he.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},he.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},he.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},he.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},he.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},he.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},he}();ve.AttributeData=_e;var E=function(){function he(de,se){de===void 0&&(de=0),se===void 0&&(se=-1),this.underlineStyle=de,this.underlineColor=se}return he.prototype.clone=function(){return new he(this.underlineStyle,this.underlineColor)},he.prototype.isEmpty=function(){return this.underlineStyle===0},he}();ve.ExtendedAttrs=E},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.addDisposableDomListener=void 0,ve.addDisposableDomListener=function(_e,E,he,de){_e.addEventListener(E,he,de);var se=!1;return{dispose:function(){se||(se=!0,_e.removeEventListener(E,he,de))}}}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.Utf8ToUtf32=ve.StringToUtf32=ve.utf32ToString=ve.stringFromCodePoint=void 0,ve.stringFromCodePoint=function(he){return he>65535?(he-=65536,String.fromCharCode(55296+(he>>10))+String.fromCharCode(he%1024+56320)):String.fromCharCode(he)},ve.utf32ToString=function(he,de,se){de===void 0&&(de=0),se===void 0&&(se=he.length);for(var ne="",ie=de;ie<se;++ie){var ce=he[ie];ce>65535?(ce-=65536,ne+=String.fromCharCode(55296+(ce>>10))+String.fromCharCode(ce%1024+56320)):ne+=String.fromCharCode(ce)}return ne};var _e=function(){function he(){this._interim=0}return he.prototype.clear=function(){this._interim=0},he.prototype.decode=function(de,se){var ne=de.length;if(!ne)return 0;var ie=0,ce=0;this._interim&&(56320<=(oe=de.charCodeAt(ce++))&&oe<=57343?se[ie++]=1024*(this._interim-55296)+oe-56320+65536:(se[ie++]=this._interim,se[ie++]=oe),this._interim=0);for(var ue=ce;ue<ne;++ue){var ae=de.charCodeAt(ue);if(55296<=ae&&ae<=56319){if(++ue>=ne)return this._interim=ae,ie;var oe;56320<=(oe=de.charCodeAt(ue))&&oe<=57343?se[ie++]=1024*(ae-55296)+oe-56320+65536:(se[ie++]=ae,se[ie++]=oe)}else se[ie++]=ae}return ie},he}();ve.StringToUtf32=_e;var E=function(){function he(){this.interim=new Uint8Array(3)}return he.prototype.clear=function(){this.interim.fill(0)},he.prototype.decode=function(de,se){var ne=de.length;if(!ne)return 0;var ie,ce,ue,ae,oe=0,re=0,ee=0;if(this.interim[0]){var a=!1,y=this.interim[0];y&=(224&y)==192?31:(240&y)==224?15:7;for(var x=0,b=void 0;(b=63&this.interim[++x])&&x<4;)y<<=6,y|=b;for(var z=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,te=z-x;ee<te;){if(ee>=ne)return 0;if((192&(b=de[ee++]))!=128){ee--,a=!0;break}this.interim[x++]=b,y<<=6,y|=63&b}a||(z===2?y<128?ee--:se[oe++]=y:z===3?y<2048||y>=55296&&y<=57343||(se[oe++]=y):y<65536||y>1114111||(se[oe++]=y)),this.interim.fill(0)}for(var le=ne-4,fe=ee;fe<ne;){for(;!(!(fe<le)||128&(ie=de[fe])||128&(ce=de[fe+1])||128&(ue=de[fe+2])||128&(ae=de[fe+3]));)se[oe++]=ie,se[oe++]=ce,se[oe++]=ue,se[oe++]=ae,fe+=4;if((ie=de[fe++])<128)se[oe++]=ie;else if((224&ie)==192){if(fe>=ne)return this.interim[0]=ie,oe;if((192&(ce=de[fe++]))!=128){fe--;continue}if((re=(31&ie)<<6|63&ce)<128){fe--;continue}se[oe++]=re}else if((240&ie)==224){if(fe>=ne)return this.interim[0]=ie,oe;if((192&(ce=de[fe++]))!=128){fe--;continue}if(fe>=ne)return this.interim[0]=ie,this.interim[1]=ce,oe;if((192&(ue=de[fe++]))!=128){fe--;continue}if((re=(15&ie)<<12|(63&ce)<<6|63&ue)<2048||re>=55296&&re<=57343)continue;se[oe++]=re}else if((248&ie)==240){if(fe>=ne)return this.interim[0]=ie,oe;if((192&(ce=de[fe++]))!=128){fe--;continue}if(fe>=ne)return this.interim[0]=ie,this.interim[1]=ce,oe;if((192&(ue=de[fe++]))!=128){fe--;continue}if(fe>=ne)return this.interim[0]=ie,this.interim[1]=ce,this.interim[2]=ue,oe;if((192&(ae=de[fe++]))!=128){fe--;continue}if((re=(7&ie)<<18|(63&ce)<<12|(63&ue)<<6|63&ae)<65536||re>1114111)continue;se[oe++]=re}}return oe},he}();ve.Utf8ToUtf32=E},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.CHAR_ATLAS_CELL_SPACING=ve.DIM_OPACITY=ve.INVERTED_DEFAULT_COLOR=void 0,ve.INVERTED_DEFAULT_COLOR=257,ve.DIM_OPACITY=.5,ve.CHAR_ATLAS_CELL_SPACING=1},function(dt,ve,be){"use strict";var _e,E,he,de;function se(ie){var ce=ie.toString(16);return ce.length<2?"0"+ce:ce}function ne(ie,ce){return ie<ce?(ce+.05)/(ie+.05):(ie+.05)/(ce+.05)}Object.defineProperty(ve,"__esModule",{value:!0}),ve.contrastRatio=ve.toPaddedHex=ve.rgba=ve.rgb=ve.css=ve.color=ve.channels=void 0,function(ie){ie.toCss=function(ce,ue,ae,oe){return oe!==void 0?"#"+se(ce)+se(ue)+se(ae)+se(oe):"#"+se(ce)+se(ue)+se(ae)},ie.toRgba=function(ce,ue,ae,oe){return oe===void 0&&(oe=255),(ce<<24|ue<<16|ae<<8|oe)>>>0}}(_e=ve.channels||(ve.channels={})),(E=ve.color||(ve.color={})).blend=function(ie,ce){var ue=(255&ce.rgba)/255;if(ue===1)return{css:ce.css,rgba:ce.rgba};var ae=ce.rgba>>24&255,oe=ce.rgba>>16&255,re=ce.rgba>>8&255,ee=ie.rgba>>24&255,a=ie.rgba>>16&255,y=ie.rgba>>8&255,x=ee+Math.round((ae-ee)*ue),b=a+Math.round((oe-a)*ue),z=y+Math.round((re-y)*ue);return{css:_e.toCss(x,b,z),rgba:_e.toRgba(x,b,z)}},E.isOpaque=function(ie){return(255&ie.rgba)==255},E.ensureContrastRatio=function(ie,ce,ue){var ae=de.ensureContrastRatio(ie.rgba,ce.rgba,ue);if(ae)return de.toColor(ae>>24&255,ae>>16&255,ae>>8&255)},E.opaque=function(ie){var ce=(255|ie.rgba)>>>0,ue=de.toChannels(ce),ae=ue[0],oe=ue[1],re=ue[2];return{css:_e.toCss(ae,oe,re),rgba:ce}},E.opacity=function(ie,ce){var ue=Math.round(255*ce),ae=de.toChannels(ie.rgba),oe=ae[0],re=ae[1],ee=ae[2];return{css:_e.toCss(oe,re,ee,ue),rgba:_e.toRgba(oe,re,ee,ue)}},(ve.css||(ve.css={})).toColor=function(ie){switch(ie.length){case 7:return{css:ie,rgba:(parseInt(ie.slice(1),16)<<8|255)>>>0};case 9:return{css:ie,rgba:parseInt(ie.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(ie){function ce(ue,ae,oe){var re=ue/255,ee=ae/255,a=oe/255;return .2126*(re<=.03928?re/12.92:Math.pow((re+.055)/1.055,2.4))+.7152*(ee<=.03928?ee/12.92:Math.pow((ee+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))}ie.relativeLuminance=function(ue){return ce(ue>>16&255,ue>>8&255,255&ue)},ie.relativeLuminance2=ce}(he=ve.rgb||(ve.rgb={})),function(ie){function ce(ae,oe,re){for(var ee=ae>>24&255,a=ae>>16&255,y=ae>>8&255,x=oe>>24&255,b=oe>>16&255,z=oe>>8&255,te=ne(he.relativeLuminance2(x,z,b),he.relativeLuminance2(ee,a,y));te<re&&(x>0||b>0||z>0);)x-=Math.max(0,Math.ceil(.1*x)),b-=Math.max(0,Math.ceil(.1*b)),z-=Math.max(0,Math.ceil(.1*z)),te=ne(he.relativeLuminance2(x,z,b),he.relativeLuminance2(ee,a,y));return(x<<24|b<<16|z<<8|255)>>>0}function ue(ae,oe,re){for(var ee=ae>>24&255,a=ae>>16&255,y=ae>>8&255,x=oe>>24&255,b=oe>>16&255,z=oe>>8&255,te=ne(he.relativeLuminance2(x,z,b),he.relativeLuminance2(ee,a,y));te<re&&(x<255||b<255||z<255);)x=Math.min(255,x+Math.ceil(.1*(255-x))),b=Math.min(255,b+Math.ceil(.1*(255-b))),z=Math.min(255,z+Math.ceil(.1*(255-z))),te=ne(he.relativeLuminance2(x,z,b),he.relativeLuminance2(ee,a,y));return(x<<24|b<<16|z<<8|255)>>>0}ie.ensureContrastRatio=function(ae,oe,re){var ee=he.relativeLuminance(ae>>8),a=he.relativeLuminance(oe>>8);if(ne(ee,a)<re)return a<ee?ce(ae,oe,re):ue(ae,oe,re)},ie.reduceLuminance=ce,ie.increaseLuminance=ue,ie.toChannels=function(ae){return[ae>>24&255,ae>>16&255,ae>>8&255,255&ae]},ie.toColor=function(ae,oe,re){return{css:_e.toCss(ae,oe,re),rgba:_e.toRgba(ae,oe,re)}}}(de=ve.rgba||(ve.rgba={})),ve.toPaddedHex=se,ve.contrastRatio=ne},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.isLinux=ve.isWindows=ve.isIphone=ve.isIpad=ve.isMac=ve.isSafari=ve.isFirefox=void 0;var _e=typeof navigator=="undefined",E=_e?"node":navigator.userAgent,he=_e?"node":navigator.platform;function de(se,ne){return se.indexOf(ne)>=0}ve.isFirefox=!!~E.indexOf("Firefox"),ve.isSafari=/^((?!chrome|android).)*safari/i.test(E),ve.isMac=de(["Macintosh","MacIntel","MacPPC","Mac68K"],he),ve.isIpad=he==="iPad",ve.isIphone=he==="iPhone",ve.isWindows=de(["Windows","Win16","Win32","WinCE"],he),ve.isLinux=he.indexOf("Linux")>=0},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.C1=ve.C0=void 0,function(_e){_e.NUL="\0",_e.SOH="",_e.STX="",_e.ETX="",_e.EOT="",_e.ENQ="",_e.ACK="",_e.BEL="\x07",_e.BS="\b",_e.HT=" ",_e.LF=`
|
|
|
`,_e.VT="\v",_e.FF="\f",_e.CR="\r",_e.SO="",_e.SI="",_e.DLE="",_e.DC1="",_e.DC2="",_e.DC3="",_e.DC4="",_e.NAK="",_e.SYN="",_e.ETB="",_e.CAN="",_e.EM="",_e.SUB="",_e.ESC="\x1B",_e.FS="",_e.GS="",_e.RS="",_e.US="",_e.SP=" ",_e.DEL="\x7F"}(ve.C0||(ve.C0={})),function(_e){_e.PAD="\x80",_e.HOP="\x81",_e.BPH="\x82",_e.NBH="\x83",_e.IND="\x84",_e.NEL="\x85",_e.SSA="\x86",_e.ESA="\x87",_e.HTS="\x88",_e.HTJ="\x89",_e.VTS="\x8A",_e.PLD="\x8B",_e.PLU="\x8C",_e.RI="\x8D",_e.SS2="\x8E",_e.SS3="\x8F",_e.DCS="\x90",_e.PU1="\x91",_e.PU2="\x92",_e.STS="\x93",_e.CCH="\x94",_e.MW="\x95",_e.SPA="\x96",_e.EPA="\x97",_e.SOS="\x98",_e.SGCI="\x99",_e.SCI="\x9A",_e.CSI="\x9B",_e.ST="\x9C",_e.OSC="\x9D",_e.PM="\x9E",_e.APC="\x9F"}(ve.C1||(ve.C1={}))},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.BaseRenderLayer=void 0;var _e=be(3),E=be(9),he=be(25),de=be(6),se=be(28),ne=be(10),ie=be(17),ce=function(){function ue(ae,oe,re,ee,a,y,x,b){this._container=ae,this._alpha=ee,this._colors=a,this._rendererId=y,this._bufferService=x,this._optionsService=b,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+oe+"-layer"),this._canvas.style.zIndex=re.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return ue.prototype.dispose=function(){var ae;ie.removeElementFromParent(this._canvas),(ae=this._charAtlas)===null||ae===void 0||ae.dispose()},ue.prototype._initCanvas=function(){this._ctx=se.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},ue.prototype.onOptionsChanged=function(){},ue.prototype.onBlur=function(){},ue.prototype.onFocus=function(){},ue.prototype.onCursorMove=function(){},ue.prototype.onGridChanged=function(ae,oe){},ue.prototype.onSelectionChanged=function(ae,oe,re){re===void 0&&(re=!1)},ue.prototype.setColors=function(ae){this._refreshCharAtlas(ae)},ue.prototype._setTransparency=function(ae){if(ae!==this._alpha){var oe=this._canvas;this._alpha=ae,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,oe),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},ue.prototype._refreshCharAtlas=function(ae){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=he.acquireCharAtlas(this._optionsService.options,this._rendererId,ae,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},ue.prototype.resize=function(ae){this._scaledCellWidth=ae.scaledCellWidth,this._scaledCellHeight=ae.scaledCellHeight,this._scaledCharWidth=ae.scaledCharWidth,this._scaledCharHeight=ae.scaledCharHeight,this._scaledCharLeft=ae.scaledCharLeft,this._scaledCharTop=ae.scaledCharTop,this._canvas.width=ae.scaledCanvasWidth,this._canvas.height=ae.scaledCanvasHeight,this._canvas.style.width=ae.canvasWidth+"px",this._canvas.style.height=ae.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},ue.prototype._fillCells=function(ae,oe,re,ee){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,ee*this._scaledCellHeight)},ue.prototype._fillBottomLineAtCells=function(ae,oe,re){re===void 0&&(re=1),this._ctx.fillRect(ae*this._scaledCellWidth,(oe+1)*this._scaledCellHeight-window.devicePixelRatio-1,re*this._scaledCellWidth,window.devicePixelRatio)},ue.prototype._fillLeftLineAtCell=function(ae,oe,re){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,window.devicePixelRatio*re,this._scaledCellHeight)},ue.prototype._strokeRectAtCell=function(ae,oe,re,ee){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(ae*this._scaledCellWidth+window.devicePixelRatio/2,oe*this._scaledCellHeight+window.devicePixelRatio/2,re*this._scaledCellWidth-window.devicePixelRatio,ee*this._scaledCellHeight-window.devicePixelRatio)},ue.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},ue.prototype._clearCells=function(ae,oe,re,ee){this._alpha?this._ctx.clearRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,ee*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,ee*this._scaledCellHeight))},ue.prototype._fillCharTrueColor=function(ae,oe,re){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(re),this._ctx.fillText(ae.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},ue.prototype._drawChars=function(ae,oe,re){var ee,a,y=this._getContrastColor(ae);y||ae.isFgRGB()||ae.isBgRGB()?this._drawUncachedChars(ae,oe,re,y):(ae.isInverse()?(ee=ae.isBgDefault()?E.INVERTED_DEFAULT_COLOR:ae.getBgColor(),a=ae.isFgDefault()?E.INVERTED_DEFAULT_COLOR:ae.getFgColor()):(a=ae.isBgDefault()?_e.DEFAULT_COLOR:ae.getBgColor(),ee=ae.isFgDefault()?_e.DEFAULT_COLOR:ae.getFgColor()),ee+=this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&ee<8?8:0,this._currentGlyphIdentifier.chars=ae.getChars()||_e.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=ae.getCode()||_e.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=ee,this._currentGlyphIdentifier.bold=!!ae.isBold(),this._currentGlyphIdentifier.dim=!!ae.isDim(),this._currentGlyphIdentifier.italic=!!ae.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(ae,oe,re))},ue.prototype._drawUncachedChars=function(ae,oe,re,ee){if(this._ctx.save(),this._ctx.font=this._getFont(!!ae.isBold(),!!ae.isItalic()),this._ctx.textBaseline="middle",ae.isInverse())if(ee)this._ctx.fillStyle=ee.css;else if(ae.isBgDefault())this._ctx.fillStyle=ne.color.opaque(this._colors.background).css;else if(ae.isBgRGB())this._ctx.fillStyle="rgb("+de.AttributeData.toColorRGB(ae.getBgColor()).join(",")+")";else{var a=ae.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}else if(ee)this._ctx.fillStyle=ee.css;else if(ae.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(ae.isFgRGB())this._ctx.fillStyle="rgb("+de.AttributeData.toColorRGB(ae.getFgColor()).join(",")+")";else{var y=ae.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&y<8&&(y+=8),this._ctx.fillStyle=this._colors.ansi[y].css}this._clipRow(re),ae.isDim()&&(this._ctx.globalAlpha=E.DIM_OPACITY),this._ctx.fillText(ae.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},ue.prototype._clipRow=function(ae){this._ctx.beginPath(),this._ctx.rect(0,ae*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},ue.prototype._getFont=function(ae,oe){return(oe?"italic":"")+" "+(ae?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},ue.prototype._getContrastColor=function(ae){if(this._optionsService.options.minimumContrastRatio!==1){var oe=this._colors.contrastCache.getColor(ae.bg,ae.fg);if(oe!==void 0)return oe||void 0;var re=ae.getFgColor(),ee=ae.getFgColorMode(),a=ae.getBgColor(),y=ae.getBgColorMode(),x=!!ae.isInverse(),b=!!ae.isInverse();if(x){var z=re;re=a,a=z;var te=ee;ee=y,y=te}var le=this._resolveBackgroundRgba(y,a,x),fe=this._resolveForegroundRgba(ee,re,x,b),pe=ne.rgba.ensureContrastRatio(le,fe,this._optionsService.options.minimumContrastRatio);if(pe){var me={css:ne.channels.toCss(pe>>24&255,pe>>16&255,pe>>8&255),rgba:pe};return this._colors.contrastCache.setColor(ae.bg,ae.fg,me),me}this._colors.contrastCache.setColor(ae.bg,ae.fg,null)}},ue.prototype._resolveBackgroundRgba=function(ae,oe,re){switch(ae){case 16777216:case 33554432:return this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return re?this._colors.foreground.rgba:this._colors.background.rgba}},ue.prototype._resolveForegroundRgba=function(ae,oe,re,ee){switch(ae){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&ee&&oe<8&&(oe+=8),this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return re?this._colors.background.rgba:this._colors.foreground.rgba}},ue}();ve.BaseRenderLayer=ce},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.createDecorator=ve.getServiceDependencies=ve.serviceRegistry=void 0;function _e(E,he,de){he.di$target===he?he.di$dependencies.push({id:E,index:de}):(he.di$dependencies=[{id:E,index:de}],he.di$target=he)}ve.serviceRegistry=new Map,ve.getServiceDependencies=function(E){return E.di$dependencies||[]},ve.createDecorator=function(E){if(ve.serviceRegistry.has(E))return ve.serviceRegistry.get(E);var he=function(de,se,ne){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");_e(he,de,ne)};return he.toString=function(){return E},ve.serviceRegistry.set(E,he),he}},function(dt,ve,be){"use strict";function _e(E,he,de,se){if(de===void 0&&(de=0),se===void 0&&(se=E.length),de>=E.length)return E;de=(E.length+de)%E.length,se=se>=E.length?E.length:(E.length+se)%E.length;for(var ne=de;ne<se;++ne)E[ne]=he;return E}Object.defineProperty(ve,"__esModule",{value:!0}),ve.concat=ve.fillFallback=ve.fill=void 0,ve.fill=function(E,he,de,se){return E.fill?E.fill(he,de,se):_e(E,he,de,se)},ve.fillFallback=_e,ve.concat=function(E,he){var de=new E.constructor(E.length+he.length);return de.set(E),de.set(he,E.length),de}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.BufferLine=ve.DEFAULT_ATTR_DATA=void 0;var _e=be(8),E=be(3),he=be(4),de=be(6);ve.DEFAULT_ATTR_DATA=Object.freeze(new de.AttributeData);var se=function(){function ne(ie,ce,ue){ue===void 0&&(ue=!1),this.isWrapped=ue,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*ie);for(var ae=ce||he.CellData.fromCharData([0,E.NULL_CELL_CHAR,E.NULL_CELL_WIDTH,E.NULL_CELL_CODE]),oe=0;oe<ie;++oe)this.setCell(oe,ae);this.length=ie}return ne.prototype.get=function(ie){var ce=this._data[3*ie+0],ue=2097151&ce;return[this._data[3*ie+1],2097152&ce?this._combined[ie]:ue?_e.stringFromCodePoint(ue):"",ce>>22,2097152&ce?this._combined[ie].charCodeAt(this._combined[ie].length-1):ue]},ne.prototype.set=function(ie,ce){this._data[3*ie+1]=ce[E.CHAR_DATA_ATTR_INDEX],ce[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[ie]=ce[1],this._data[3*ie+0]=2097152|ie|ce[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*ie+0]=ce[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ce[E.CHAR_DATA_WIDTH_INDEX]<<22},ne.prototype.getWidth=function(ie){return this._data[3*ie+0]>>22},ne.prototype.hasWidth=function(ie){return 12582912&this._data[3*ie+0]},ne.prototype.getFg=function(ie){return this._data[3*ie+1]},ne.prototype.getBg=function(ie){return this._data[3*ie+2]},ne.prototype.hasContent=function(ie){return 4194303&this._data[3*ie+0]},ne.prototype.getCodePoint=function(ie){var ce=this._data[3*ie+0];return 2097152&ce?this._combined[ie].charCodeAt(this._combined[ie].length-1):2097151&ce},ne.prototype.isCombined=function(ie){return 2097152&this._data[3*ie+0]},ne.prototype.getString=function(ie){var ce=this._data[3*ie+0];return 2097152&ce?this._combined[ie]:2097151&ce?_e.stringFromCodePoint(2097151&ce):""},ne.prototype.loadCell=function(ie,ce){var ue=3*ie;return ce.content=this._data[ue+0],ce.fg=this._data[ue+1],ce.bg=this._data[ue+2],2097152&ce.content&&(ce.combinedData=this._combined[ie]),268435456&ce.bg&&(ce.extended=this._extendedAttrs[ie]),ce},ne.prototype.setCell=function(ie,ce){2097152&ce.content&&(this._combined[ie]=ce.combinedData),268435456&ce.bg&&(this._extendedAttrs[ie]=ce.extended),this._data[3*ie+0]=ce.content,this._data[3*ie+1]=ce.fg,this._data[3*ie+2]=ce.bg},ne.prototype.setCellFromCodePoint=function(ie,ce,ue,ae,oe,re){268435456&oe&&(this._extendedAttrs[ie]=re),this._data[3*ie+0]=ce|ue<<22,this._data[3*ie+1]=ae,this._data[3*ie+2]=oe},ne.prototype.addCodepointToCell=function(ie,ce){var ue=this._data[3*ie+0];2097152&ue?this._combined[ie]+=_e.stringFromCodePoint(ce):(2097151&ue?(this._combined[ie]=_e.stringFromCodePoint(2097151&ue)+_e.stringFromCodePoint(ce),ue&=-2097152,ue|=2097152):ue=ce|1<<22,this._data[3*ie+0]=ue)},ne.prototype.insertCells=function(ie,ce,ue,ae){if((ie%=this.length)&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs),ce<this.length-ie){for(var oe=new he.CellData,re=this.length-ie-ce-1;re>=0;--re)this.setCell(ie+ce+re,this.loadCell(ie+re,oe));for(re=0;re<ce;++re)this.setCell(ie+re,ue)}else for(re=ie;re<this.length;++re)this.setCell(re,ue);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs)},ne.prototype.deleteCells=function(ie,ce,ue,ae){if(ie%=this.length,ce<this.length-ie){for(var oe=new he.CellData,re=0;re<this.length-ie-ce;++re)this.setCell(ie+re,this.loadCell(ie+ce+re,oe));for(re=this.length-ce;re<this.length;++re)this.setCell(re,ue)}else for(re=ie;re<this.length;++re)this.setCell(re,ue);ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs),this.getWidth(ie)!==0||this.hasContent(ie)||this.setCellFromCodePoint(ie,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs)},ne.prototype.replaceCells=function(ie,ce,ue,ae){for(ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs),ce<this.length&&this.getWidth(ce-1)===2&&this.setCellFromCodePoint(ce,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs);ie<ce&&ie<this.length;)this.setCell(ie++,ue)},ne.prototype.resize=function(ie,ce){if(ie!==this.length){if(ie>this.length){var ue=new Uint32Array(3*ie);this.length&&(3*ie<this._data.length?ue.set(this._data.subarray(0,3*ie)):ue.set(this._data)),this._data=ue;for(var ae=this.length;ae<ie;++ae)this.setCell(ae,ce)}else if(ie){(ue=new Uint32Array(3*ie)).set(this._data.subarray(0,3*ie)),this._data=ue;var oe=Object.keys(this._combined);for(ae=0;ae<oe.length;ae++){var re=parseInt(oe[ae],10);re>=ie&&delete this._combined[re]}}else this._data=new Uint32Array(0),this._combined={};this.length=ie}},ne.prototype.fill=function(ie){this._combined={},this._extendedAttrs={};for(var ce=0;ce<this.length;++ce)this.setCell(ce,ie)},ne.prototype.copyFrom=function(ie){for(var ce in this.length!==ie.length?this._data=new Uint32Array(ie._data):this._data.set(ie._data),this.length=ie.length,this._combined={},ie._combined)this._combined[ce]=ie._combined[ce];for(var ce in this._extendedAttrs={},ie._extendedAttrs)this._extendedAttrs[ce]=ie._extendedAttrs[ce];this.isWrapped=ie.isWrapped},ne.prototype.clone=function(){var ie=new ne(0);for(var ce in ie._data=new Uint32Array(this._data),ie.length=this.length,this._combined)ie._combined[ce]=this._combined[ce];for(var ce in this._extendedAttrs)ie._extendedAttrs[ce]=this._extendedAttrs[ce];return ie.isWrapped=this.isWrapped,ie},ne.prototype.getTrimmedLength=function(){for(var ie=this.length-1;ie>=0;--ie)if(4194303&this._data[3*ie+0])return ie+(this._data[3*ie+0]>>22);return 0},ne.prototype.copyCellsFrom=function(ie,ce,ue,ae,oe){var re=ie._data;if(oe)for(var ee=ae-1;ee>=0;ee--)for(var a=0;a<3;a++)this._data[3*(ue+ee)+a]=re[3*(ce+ee)+a];else for(ee=0;ee<ae;ee++)for(a=0;a<3;a++)this._data[3*(ue+ee)+a]=re[3*(ce+ee)+a];var y=Object.keys(ie._combined);for(a=0;a<y.length;a++){var x=parseInt(y[a],10);x>=ce&&(this._combined[x-ce+ue]=ie._combined[x])}},ne.prototype.translateToString=function(ie,ce,ue){ie===void 0&&(ie=!1),ce===void 0&&(ce=0),ue===void 0&&(ue=this.length),ie&&(ue=Math.min(ue,this.getTrimmedLength()));for(var ae="";ce<ue;){var oe=this._data[3*ce+0],re=2097151&oe;ae+=2097152&oe?this._combined[ce]:re?_e.stringFromCodePoint(re):E.WHITESPACE_CELL_CHAR,ce+=oe>>22||1}return ae},ne}();ve.BufferLine=se},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.removeElementFromParent=void 0,ve.removeElementFromParent=function(){for(var _e,E=[],he=0;he<arguments.length;he++)E[he]=arguments[he];for(var de=0,se=E;de<se.length;de++){var ne=se[de];(_e=ne==null?void 0:ne.parentElement)===null||_e===void 0||_e.removeChild(ne)}}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.tooMuchOutput=ve.promptLabel=void 0,ve.promptLabel="Terminal input",ve.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(fe,pe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(me,ge){me.__proto__=ge}||function(me,ge){for(var Se in ge)ge.hasOwnProperty(Se)&&(me[Se]=ge[Se])})(fe,pe)},function(fe,pe){function me(){this.constructor=fe}_e(fe,pe),fe.prototype=pe===null?Object.create(pe):(me.prototype=pe.prototype,new me)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.InputHandler=ve.WindowsOptionsReportType=void 0;var he,de=be(12),se=be(20),ne=be(39),ie=be(2),ce=be(15),ue=be(8),ae=be(16),oe=be(0),re=be(3),ee=be(4),a=be(6),y=be(22),x=be(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function z(fe,pe){if(fe>24)return pe.setWinLines||!1;switch(fe){case 1:return!!pe.restoreWin;case 2:return!!pe.minimizeWin;case 3:return!!pe.setWinPosition;case 4:return!!pe.setWinSizePixels;case 5:return!!pe.raiseWin;case 6:return!!pe.lowerWin;case 7:return!!pe.refreshWin;case 8:return!!pe.setWinSizeChars;case 9:return!!pe.maximizeWin;case 10:return!!pe.fullscreenWin;case 11:return!!pe.getWinState;case 13:return!!pe.getWinPosition;case 14:return!!pe.getWinSizePixels;case 15:return!!pe.getScreenSizePixels;case 16:return!!pe.getCellSizePixels;case 18:return!!pe.getWinSizeChars;case 19:return!!pe.getScreenSizeChars;case 20:return!!pe.getIconTitle;case 21:return!!pe.getWinTitle;case 22:return!!pe.pushTitle;case 23:return!!pe.popTitle;case 24:return!!pe.setWinLines}return!1}(function(fe){fe[fe.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",fe[fe.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(he=ve.WindowsOptionsReportType||(ve.WindowsOptionsReportType={}));var te=function(){function fe(pe,me,ge,Se){this._bufferService=pe,this._coreService=me,this._logService=ge,this._optionsService=Se,this._data=new Uint32Array(0)}return fe.prototype.hook=function(pe){this._data=new Uint32Array(0)},fe.prototype.put=function(pe,me,ge){this._data=ce.concat(this._data,pe.subarray(me,ge))},fe.prototype.unhook=function(pe){if(pe){var me=ue.utf32ToString(this._data);switch(this._data=new Uint32Array(0),me){case'"q':return this._coreService.triggerDataEvent(de.C0.ESC+'P1$r0"q'+de.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(de.C0.ESC+'P1$r61;1"p'+de.C0.ESC+"\\");case"r":var ge=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(de.C0.ESC+"P1$r"+ge+de.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(de.C0.ESC+"P1$r0m"+de.C0.ESC+"\\");case" q":var Se={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return Se-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(de.C0.ESC+"P1$r"+Se+" q"+de.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",me),this._coreService.triggerDataEvent(de.C0.ESC+"P0$r"+de.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},fe}(),le=function(fe){function pe(me,ge,Se,ye,Pe,we,De,Ee,Ae){Ae===void 0&&(Ae=new ne.EscapeSequenceParser);var Ce=fe.call(this)||this;Ce._bufferService=me,Ce._charsetService=ge,Ce._coreService=Se,Ce._dirtyRowService=ye,Ce._logService=Pe,Ce._optionsService=we,Ce._coreMouseService=De,Ce._unicodeService=Ee,Ce._parser=Ae,Ce._parseBuffer=new Uint32Array(4096),Ce._stringDecoder=new ue.StringToUtf32,Ce._utf8Decoder=new ue.Utf8ToUtf32,Ce._workCell=new ee.CellData,Ce._windowTitle="",Ce._iconName="",Ce._windowTitleStack=[],Ce._iconNameStack=[],Ce._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),Ce._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone(),Ce._onRequestBell=new oe.EventEmitter,Ce._onRequestRefreshRows=new oe.EventEmitter,Ce._onRequestReset=new oe.EventEmitter,Ce._onRequestScroll=new oe.EventEmitter,Ce._onRequestSyncScrollBar=new oe.EventEmitter,Ce._onRequestWindowsOptionsReport=new oe.EventEmitter,Ce._onA11yChar=new oe.EventEmitter,Ce._onA11yTab=new oe.EventEmitter,Ce._onCursorMove=new oe.EventEmitter,Ce._onLineFeed=new oe.EventEmitter,Ce._onScroll=new oe.EventEmitter,Ce._onTitleChange=new oe.EventEmitter,Ce.register(Ce._parser),Ce._parser.setCsiHandlerFallback(function(Be,Qe){Ce._logService.debug("Unknown CSI code: ",{identifier:Ce._parser.identToString(Be),params:Qe.toArray()})}),Ce._parser.setEscHandlerFallback(function(Be){Ce._logService.debug("Unknown ESC code: ",{identifier:Ce._parser.identToString(Be)})}),Ce._parser.setExecuteHandlerFallback(function(Be){Ce._logService.debug("Unknown EXECUTE code: ",{code:Be})}),Ce._parser.setOscHandlerFallback(function(Be,Qe,qe){Ce._logService.debug("Unknown OSC code: ",{identifier:Be,action:Qe,data:qe})}),Ce._parser.setDcsHandlerFallback(function(Be,Qe,qe){Qe==="HOOK"&&(qe=qe.toArray()),Ce._logService.debug("Unknown DCS code: ",{identifier:Ce._parser.identToString(Be),action:Qe,payload:qe})}),Ce._parser.setPrintHandler(function(Be,Qe,qe){return Ce.print(Be,Qe,qe)}),Ce._parser.setCsiHandler({final:"@"},function(Be){return Ce.insertChars(Be)}),Ce._parser.setCsiHandler({intermediates:" ",final:"@"},function(Be){return Ce.scrollLeft(Be)}),Ce._parser.setCsiHandler({final:"A"},function(Be){return Ce.cursorUp(Be)}),Ce._parser.setCsiHandler({intermediates:" ",final:"A"},function(Be){return Ce.scrollRight(Be)}),Ce._parser.setCsiHandler({final:"B"},function(Be){return Ce.cursorDown(Be)}),Ce._parser.setCsiHandler({final:"C"},function(Be){return Ce.cursorForward(Be)}),Ce._parser.setCsiHandler({final:"D"},function(Be){return Ce.cursorBackward(Be)}),Ce._parser.setCsiHandler({final:"E"},function(Be){return Ce.cursorNextLine(Be)}),Ce._parser.setCsiHandler({final:"F"},function(Be){return Ce.cursorPrecedingLine(Be)}),Ce._parser.setCsiHandler({final:"G"},function(Be){return Ce.cursorCharAbsolute(Be)}),Ce._parser.setCsiHandler({final:"H"},function(Be){return Ce.cursorPosition(Be)}),Ce._parser.setCsiHandler({final:"I"},function(Be){return Ce.cursorForwardTab(Be)}),Ce._parser.setCsiHandler({final:"J"},function(Be){return Ce.eraseInDisplay(Be)}),Ce._parser.setCsiHandler({prefix:"?",final:"J"},function(Be){return Ce.eraseInDisplay(Be)}),Ce._parser.setCsiHandler({final:"K"},function(Be){return Ce.eraseInLine(Be)}),Ce._parser.setCsiHandler({prefix:"?",final:"K"},function(Be){return Ce.eraseInLine(Be)}),Ce._parser.setCsiHandler({final:"L"},function(Be){return Ce.insertLines(Be)}),Ce._parser.setCsiHandler({final:"M"},function(Be){return Ce.deleteLines(Be)}),Ce._parser.setCsiHandler({final:"P"},function(Be){return Ce.deleteChars(Be)}),Ce._parser.setCsiHandler({final:"S"},function(Be){return Ce.scrollUp(Be)}),Ce._parser.setCsiHandler({final:"T"},function(Be){return Ce.scrollDown(Be)}),Ce._parser.setCsiHandler({final:"X"},function(Be){return Ce.eraseChars(Be)}),Ce._parser.setCsiHandler({final:"Z"},function(Be){return Ce.cursorBackwardTab(Be)}),Ce._parser.setCsiHandler({final:"`"},function(Be){return Ce.charPosAbsolute(Be)}),Ce._parser.setCsiHandler({final:"a"},function(Be){return Ce.hPositionRelative(Be)}),Ce._parser.setCsiHandler({final:"b"},function(Be){return Ce.repeatPrecedingCharacter(Be)}),Ce._parser.setCsiHandler({final:"c"},function(Be){return Ce.sendDeviceAttributesPrimary(Be)}),Ce._parser.setCsiHandler({prefix:">",final:"c"},function(Be){return Ce.sendDeviceAttributesSecondary(Be)}),Ce._parser.setCsiHandler({final:"d"},function(Be){return Ce.linePosAbsolute(Be)}),Ce._parser.setCsiHandler({final:"e"},function(Be){return Ce.vPositionRelative(Be)}),Ce._parser.setCsiHandler({final:"f"},function(Be){return Ce.hVPosition(Be)}),Ce._parser.setCsiHandler({final:"g"},function(Be){return Ce.tabClear(Be)}),Ce._parser.setCsiHandler({final:"h"},function(Be){return Ce.setMode(Be)}),Ce._parser.setCsiHandler({prefix:"?",final:"h"},function(Be){return Ce.setModePrivate(Be)}),Ce._parser.setCsiHandler({final:"l"},function(Be){return Ce.resetMode(Be)}),Ce._parser.setCsiHandler({prefix:"?",final:"l"},function(Be){return Ce.resetModePrivate(Be)}),Ce._parser.setCsiHandler({final:"m"},function(Be){return Ce.charAttributes(Be)}),Ce._parser.setCsiHandler({final:"n"},function(Be){return Ce.deviceStatus(Be)}),Ce._parser.setCsiHandler({prefix:"?",final:"n"},function(Be){return Ce.deviceStatusPrivate(Be)}),Ce._parser.setCsiHandler({intermediates:"!",final:"p"},function(Be){return Ce.softReset(Be)}),Ce._parser.setCsiHandler({intermediates:" ",final:"q"},function(Be){return Ce.setCursorStyle(Be)}),Ce._parser.setCsiHandler({final:"r"},function(Be){return Ce.setScrollRegion(Be)}),Ce._parser.setCsiHandler({final:"s"},function(Be){return Ce.saveCursor(Be)}),Ce._parser.setCsiHandler({final:"t"},function(Be){return Ce.windowOptions(Be)}),Ce._parser.setCsiHandler({final:"u"},function(Be){return Ce.restoreCursor(Be)}),Ce._parser.setCsiHandler({intermediates:"'",final:"}"},function(Be){return Ce.insertColumns(Be)}),Ce._parser.setCsiHandler({intermediates:"'",final:"~"},function(Be){return Ce.deleteColumns(Be)}),Ce._parser.setExecuteHandler(de.C0.BEL,function(){return Ce.bell()}),Ce._parser.setExecuteHandler(de.C0.LF,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(de.C0.VT,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(de.C0.FF,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(de.C0.CR,function(){return Ce.carriageReturn()}),Ce._parser.setExecuteHandler(de.C0.BS,function(){return Ce.backspace()}),Ce._parser.setExecuteHandler(de.C0.HT,function(){return Ce.tab()}),Ce._parser.setExecuteHandler(de.C0.SO,function(){return Ce.shiftOut()}),Ce._parser.setExecuteHandler(de.C0.SI,function(){return Ce.shiftIn()}),Ce._parser.setExecuteHandler(de.C1.IND,function(){return Ce.index()}),Ce._parser.setExecuteHandler(de.C1.NEL,function(){return Ce.nextLine()}),Ce._parser.setExecuteHandler(de.C1.HTS,function(){return Ce.tabSet()}),Ce._parser.setOscHandler(0,new y.OscHandler(function(Be){Ce.setTitle(Be),Ce.setIconName(Be)})),Ce._parser.setOscHandler(1,new y.OscHandler(function(Be){return Ce.setIconName(Be)})),Ce._parser.setOscHandler(2,new y.OscHandler(function(Be){return Ce.setTitle(Be)})),Ce._parser.setEscHandler({final:"7"},function(){return Ce.saveCursor()}),Ce._parser.setEscHandler({final:"8"},function(){return Ce.restoreCursor()}),Ce._parser.setEscHandler({final:"D"},function(){return Ce.index()}),Ce._parser.setEscHandler({final:"E"},function(){return Ce.nextLine()}),Ce._parser.setEscHandler({final:"H"},function(){return Ce.tabSet()}),Ce._parser.setEscHandler({final:"M"},function(){return Ce.reverseIndex()}),Ce._parser.setEscHandler({final:"="},function(){return Ce.keypadApplicationMode()}),Ce._parser.setEscHandler({final:">"},function(){return Ce.keypadNumericMode()}),Ce._parser.setEscHandler({final:"c"},function(){return Ce.fullReset()}),Ce._parser.setEscHandler({final:"n"},function(){return Ce.setgLevel(2)}),Ce._parser.setEscHandler({final:"o"},function(){return Ce.setgLevel(3)}),Ce._parser.setEscHandler({final:"|"},function(){return Ce.setgLevel(3)}),Ce._parser.setEscHandler({final:"}"},function(){return Ce.setgLevel(2)}),Ce._parser.setEscHandler({final:"~"},function(){return Ce.setgLevel(1)}),Ce._parser.setEscHandler({intermediates:"%",final:"@"},function(){return Ce.selectDefaultCharset()}),Ce._parser.setEscHandler({intermediates:"%",final:"G"},function(){return Ce.selectDefaultCharset()});var Ie=function(Be){Me._parser.setEscHandler({intermediates:"(",final:Be},function(){return Ce.selectCharset("("+Be)}),Me._parser.setEscHandler({intermediates:")",final:Be},function(){return Ce.selectCharset(")"+Be)}),Me._parser.setEscHandler({intermediates:"*",final:Be},function(){return Ce.selectCharset("*"+Be)}),Me._parser.setEscHandler({intermediates:"+",final:Be},function(){return Ce.selectCharset("+"+Be)}),Me._parser.setEscHandler({intermediates:"-",final:Be},function(){return Ce.selectCharset("-"+Be)}),Me._parser.setEscHandler({intermediates:".",final:Be},function(){return Ce.selectCharset("."+Be)}),Me._parser.setEscHandler({intermediates:"/",final:Be},function(){return Ce.selectCharset("/"+Be)})},Me=this;for(var Ge in se.CHARSETS)Ie(Ge);return Ce._parser.setEscHandler({intermediates:"#",final:"8"},function(){return Ce.screenAlignmentPattern()}),Ce._parser.setErrorHandler(function(Be){return Ce._logService.error("Parsing error: ",Be),Be}),Ce._parser.setDcsHandler({intermediates:"$",final:"q"},new te(Ce._bufferService,Ce._coreService,Ce._logService,Ce._optionsService)),Ce}return E(pe,fe),Object.defineProperty(pe.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),pe.prototype.dispose=function(){fe.prototype.dispose.call(this)},pe.prototype.parse=function(me){var ge=this._bufferService.buffer,Se=ge.x,ye=ge.y;if(this._logService.debug("parsing data",me),this._parseBuffer.length<me.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(me.length,131072))),this._dirtyRowService.clearRange(),me.length>131072)for(var Pe=0;Pe<me.length;Pe+=131072){var we=Pe+131072<me.length?Pe+131072:me.length,De=typeof me=="string"?this._stringDecoder.decode(me.substring(Pe,we),this._parseBuffer):this._utf8Decoder.decode(me.subarray(Pe,we),this._parseBuffer);this._parser.parse(this._parseBuffer,De)}else De=typeof me=="string"?this._stringDecoder.decode(me,this._parseBuffer):this._utf8Decoder.decode(me,this._parseBuffer),this._parser.parse(this._parseBuffer,De);(ge=this._bufferService.buffer).x===Se&&ge.y===ye||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},pe.prototype.print=function(me,ge,Se){var ye,Pe,we=this._bufferService.buffer,De=this._charsetService.charset,Ee=this._optionsService.options.screenReaderMode,Ae=this._bufferService.cols,Ce=this._coreService.decPrivateModes.wraparound,Ie=this._coreService.modes.insertMode,Me=this._curAttrData,Ge=we.lines.get(we.ybase+we.y);this._dirtyRowService.markDirty(we.y),we.x&&Se-ge>0&&Ge.getWidth(we.x-1)===2&&Ge.setCellFromCodePoint(we.x-1,0,1,Me.fg,Me.bg,Me.extended);for(var Be=ge;Be<Se;++Be){if(ye=me[Be],Pe=this._unicodeService.wcwidth(ye),ye<127&&De){var Qe=De[String.fromCharCode(ye)];Qe&&(ye=Qe.charCodeAt(0))}if(Ee&&this._onA11yChar.fire(ue.stringFromCodePoint(ye)),Pe||!we.x){if(we.x+Pe-1>=Ae){if(Ce){for(;we.x<Ae;)Ge.setCellFromCodePoint(we.x++,0,1,Me.fg,Me.bg,Me.extended);we.x=0,we.y++,we.y===we.scrollBottom+1?(we.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(we.y>=this._bufferService.rows&&(we.y=this._bufferService.rows-1),we.lines.get(we.ybase+we.y).isWrapped=!0),Ge=we.lines.get(we.ybase+we.y)}else if(we.x=Ae-1,Pe===2)continue}if(Ie&&(Ge.insertCells(we.x,Pe,we.getNullCell(Me),Me),Ge.getWidth(Ae-1)===2&&Ge.setCellFromCodePoint(Ae-1,re.NULL_CELL_CODE,re.NULL_CELL_WIDTH,Me.fg,Me.bg,Me.extended)),Ge.setCellFromCodePoint(we.x++,ye,Pe,Me.fg,Me.bg,Me.extended),Pe>0)for(;--Pe;)Ge.setCellFromCodePoint(we.x++,0,0,Me.fg,Me.bg,Me.extended)}else Ge.getWidth(we.x-1)?Ge.addCodepointToCell(we.x-1,ye):Ge.addCodepointToCell(we.x-2,ye)}Se-ge>0&&(Ge.loadCell(we.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),we.x<Ae&&Se-ge>0&&Ge.getWidth(we.x)===0&&!Ge.hasContent(we.x)&&Ge.setCellFromCodePoint(we.x,0,1,Me.fg,Me.bg,Me.extended),this._dirtyRowService.markDirty(we.y)},pe.prototype.addCsiHandler=function(me,ge){var Se=this;return me.final!=="t"||me.prefix||me.intermediates?this._parser.addCsiHandler(me,ge):this._parser.addCsiHandler(me,function(ye){return!z(ye.params[0],Se._optionsService.options.windowOptions)||ge(ye)})},pe.prototype.addDcsHandler=function(me,ge){return this._parser.addDcsHandler(me,new x.DcsHandler(ge))},pe.prototype.addEscHandler=function(me,ge){return this._parser.addEscHandler(me,ge)},pe.prototype.addOscHandler=function(me,ge){return this._parser.addOscHandler(me,new y.OscHandler(ge))},pe.prototype.bell=function(){this._onRequestBell.fire()},pe.prototype.lineFeed=function(){var me=this._bufferService.buffer;this._dirtyRowService.markDirty(me.y),this._optionsService.options.convertEol&&(me.x=0),me.y++,me.y===me.scrollBottom+1?(me.y--,this._onRequestScroll.fire(this._eraseAttrData())):me.y>=this._bufferService.rows&&(me.y=this._bufferService.rows-1),me.x>=this._bufferService.cols&&me.x--,this._dirtyRowService.markDirty(me.y),this._onLineFeed.fire()},pe.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},pe.prototype.backspace=function(){var me,ge=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(ge.x>0&&ge.x--);if(this._restrictCursor(this._bufferService.cols),ge.x>0)ge.x--;else if(ge.x===0&&ge.y>ge.scrollTop&&ge.y<=ge.scrollBottom&&(!((me=ge.lines.get(ge.ybase+ge.y))===null||me===void 0)&&me.isWrapped)){ge.lines.get(ge.ybase+ge.y).isWrapped=!1,ge.y--,ge.x=this._bufferService.cols-1;var Se=ge.lines.get(ge.ybase+ge.y);Se.hasWidth(ge.x)&&!Se.hasContent(ge.x)&&ge.x--}this._restrictCursor()},pe.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var me=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-me)}},pe.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},pe.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},pe.prototype._restrictCursor=function(me){me===void 0&&(me=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(me,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},pe.prototype._setCursor=function(me,ge){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=me,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+ge):(this._bufferService.buffer.x=me,this._bufferService.buffer.y=ge),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},pe.prototype._moveCursor=function(me,ge){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+me,this._bufferService.buffer.y+ge)},pe.prototype.cursorUp=function(me){var ge=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;ge>=0?this._moveCursor(0,-Math.min(ge,me.params[0]||1)):this._moveCursor(0,-(me.params[0]||1))},pe.prototype.cursorDown=function(me){var ge=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;ge>=0?this._moveCursor(0,Math.min(ge,me.params[0]||1)):this._moveCursor(0,me.params[0]||1)},pe.prototype.cursorForward=function(me){this._moveCursor(me.params[0]||1,0)},pe.prototype.cursorBackward=function(me){this._moveCursor(-(me.params[0]||1),0)},pe.prototype.cursorNextLine=function(me){this.cursorDown(me),this._bufferService.buffer.x=0},pe.prototype.cursorPrecedingLine=function(me){this.cursorUp(me),this._bufferService.buffer.x=0},pe.prototype.cursorCharAbsolute=function(me){this._setCursor((me.params[0]||1)-1,this._bufferService.buffer.y)},pe.prototype.cursorPosition=function(me){this._setCursor(me.length>=2?(me.params[1]||1)-1:0,(me.params[0]||1)-1)},pe.prototype.charPosAbsolute=function(me){this._setCursor((me.params[0]||1)-1,this._bufferService.buffer.y)},pe.prototype.hPositionRelative=function(me){this._moveCursor(me.params[0]||1,0)},pe.prototype.linePosAbsolute=function(me){this._setCursor(this._bufferService.buffer.x,(me.params[0]||1)-1)},pe.prototype.vPositionRelative=function(me){this._moveCursor(0,me.params[0]||1)},pe.prototype.hVPosition=function(me){this.cursorPosition(me)},pe.prototype.tabClear=function(me){var ge=me.params[0];ge===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:ge===3&&(this._bufferService.buffer.tabs={})},pe.prototype.cursorForwardTab=function(me){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var ge=me.params[0]||1;ge--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},pe.prototype.cursorBackwardTab=function(me){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var ge=me.params[0]||1,Se=this._bufferService.buffer;ge--;)Se.x=Se.prevStop()},pe.prototype._eraseInBufferLine=function(me,ge,Se,ye){ye===void 0&&(ye=!1);var Pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+me);Pe.replaceCells(ge,Se,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ye&&(Pe.isWrapped=!1)},pe.prototype._resetBufferLine=function(me){var ge=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+me);ge.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),ge.isWrapped=!1},pe.prototype.eraseInDisplay=function(me){var ge;switch(this._restrictCursor(),me.params[0]){case 0:for(ge=this._bufferService.buffer.y,this._dirtyRowService.markDirty(ge),this._eraseInBufferLine(ge++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);ge<this._bufferService.rows;ge++)this._resetBufferLine(ge);this._dirtyRowService.markDirty(ge);break;case 1:for(ge=this._bufferService.buffer.y,this._dirtyRowService.markDirty(ge),this._eraseInBufferLine(ge,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(ge+1).isWrapped=!1);ge--;)this._resetBufferLine(ge);this._dirtyRowService.markDirty(0);break;case 2:for(ge=this._bufferService.rows,this._dirtyRowService.markDirty(ge-1);ge--;)this._resetBufferLine(ge);this._dirtyRowService.markDirty(0);break;case 3:var Se=this._bufferService.buffer.lines.length-this._bufferService.rows;Se>0&&(this._bufferService.buffer.lines.trimStart(Se),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-Se,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-Se,0),this._onScroll.fire(0))}},pe.prototype.eraseInLine=function(me){switch(this._restrictCursor(),me.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},pe.prototype.insertLines=function(me){this._restrictCursor();var ge=me.params[0]||1,Se=this._bufferService.buffer;if(!(Se.y>Se.scrollBottom||Se.y<Se.scrollTop)){for(var ye=Se.ybase+Se.y,Pe=this._bufferService.rows-1-Se.scrollBottom,we=this._bufferService.rows-1+Se.ybase-Pe+1;ge--;)Se.lines.splice(we-1,1),Se.lines.splice(ye,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.y,Se.scrollBottom),Se.x=0}},pe.prototype.deleteLines=function(me){this._restrictCursor();var ge=me.params[0]||1,Se=this._bufferService.buffer;if(!(Se.y>Se.scrollBottom||Se.y<Se.scrollTop)){var ye,Pe=Se.ybase+Se.y;for(ye=this._bufferService.rows-1-Se.scrollBottom,ye=this._bufferService.rows-1+Se.ybase-ye;ge--;)Se.lines.splice(Pe,1),Se.lines.splice(ye,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.y,Se.scrollBottom),Se.x=0}},pe.prototype.insertChars=function(me){this._restrictCursor();var ge=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);ge&&(ge.insertCells(this._bufferService.buffer.x,me.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},pe.prototype.deleteChars=function(me){this._restrictCursor();var ge=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);ge&&(ge.deleteCells(this._bufferService.buffer.x,me.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},pe.prototype.scrollUp=function(me){for(var ge=me.params[0]||1,Se=this._bufferService.buffer;ge--;)Se.lines.splice(Se.ybase+Se.scrollTop,1),Se.lines.splice(Se.ybase+Se.scrollBottom,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.scrollTop,Se.scrollBottom)},pe.prototype.scrollDown=function(me){for(var ge=me.params[0]||1,Se=this._bufferService.buffer;ge--;)Se.lines.splice(Se.ybase+Se.scrollBottom,1),Se.lines.splice(Se.ybase+Se.scrollTop,0,Se.getBlankLine(ae.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(Se.scrollTop,Se.scrollBottom)},pe.prototype.scrollLeft=function(me){var ge=this._bufferService.buffer;if(!(ge.y>ge.scrollBottom||ge.y<ge.scrollTop)){for(var Se=me.params[0]||1,ye=ge.scrollTop;ye<=ge.scrollBottom;++ye){var Pe=ge.lines.get(ge.ybase+ye);Pe.deleteCells(0,Se,ge.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(ge.scrollTop,ge.scrollBottom)}},pe.prototype.scrollRight=function(me){var ge=this._bufferService.buffer;if(!(ge.y>ge.scrollBottom||ge.y<ge.scrollTop)){for(var Se=me.params[0]||1,ye=ge.scrollTop;ye<=ge.scrollBottom;++ye){var Pe=ge.lines.get(ge.ybase+ye);Pe.insertCells(0,Se,ge.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(ge.scrollTop,ge.scrollBottom)}},pe.prototype.insertColumns=function(me){var ge=this._bufferService.buffer;if(!(ge.y>ge.scrollBottom||ge.y<ge.scrollTop)){for(var Se=me.params[0]||1,ye=ge.scrollTop;ye<=ge.scrollBottom;++ye){var Pe=this._bufferService.buffer.lines.get(ge.ybase+ye);Pe.insertCells(ge.x,Se,ge.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(ge.scrollTop,ge.scrollBottom)}},pe.prototype.deleteColumns=function(me){var ge=this._bufferService.buffer;if(!(ge.y>ge.scrollBottom||ge.y<ge.scrollTop)){for(var Se=me.params[0]||1,ye=ge.scrollTop;ye<=ge.scrollBottom;++ye){var Pe=ge.lines.get(ge.ybase+ye);Pe.deleteCells(ge.x,Se,ge.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(ge.scrollTop,ge.scrollBottom)}},pe.prototype.eraseChars=function(me){this._restrictCursor();var ge=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);ge&&(ge.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(me.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},pe.prototype.repeatPrecedingCharacter=function(me){if(this._parser.precedingCodepoint){for(var ge=me.params[0]||1,Se=new Uint32Array(ge),ye=0;ye<ge;++ye)Se[ye]=this._parser.precedingCodepoint;this.print(Se,0,Se.length)}},pe.prototype.sendDeviceAttributesPrimary=function(me){me.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(de.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(de.C0.ESC+"[?6c"))},pe.prototype.sendDeviceAttributesSecondary=function(me){me.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(de.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(de.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(me.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(de.C0.ESC+"[>83;40003;0c"))},pe.prototype._is=function(me){return(this._optionsService.options.termName+"").indexOf(me)===0},pe.prototype.setMode=function(me){for(var ge=0;ge<me.length;ge++)switch(me.params[ge]){case 4:this._coreService.modes.insertMode=!0}},pe.prototype.setModePrivate=function(me){for(var ge=0;ge<me.length;ge++)switch(me.params[ge]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,se.DEFAULT_CHARSET),this._charsetService.setgCharset(1,se.DEFAULT_CHARSET),this._charsetService.setgCharset(2,se.DEFAULT_CHARSET),this._charsetService.setgCharset(3,se.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},pe.prototype.resetMode=function(me){for(var ge=0;ge<me.length;ge++)switch(me.params[ge]){case 4:this._coreService.modes.insertMode=!1}},pe.prototype.resetModePrivate=function(me){for(var ge=0;ge<me.length;ge++)switch(me.params[ge]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),me.params[ge]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},pe.prototype._updateAttrColor=function(me,ge,Se,ye,Pe){return ge===2?(me|=50331648,me&=-16777216,me|=a.AttributeData.fromColorRGB([Se,ye,Pe])):ge===5&&(me&=-50331904,me|=33554432|255&Se),me},pe.prototype._extractColor=function(me,ge,Se){var ye=[0,0,-1,0,0,0],Pe=0,we=0;do{if(ye[we+Pe]=me.params[ge+we],me.hasSubParams(ge+we)){var De=me.getSubParams(ge+we),Ee=0;do ye[1]===5&&(Pe=1),ye[we+Ee+1+Pe]=De[Ee];while(++Ee<De.length&&Ee+we+1+Pe<ye.length);break}if(ye[1]===5&&we+Pe>=2||ye[1]===2&&we+Pe>=5)break;ye[1]&&(Pe=1)}while(++we+ge<me.length&&we+Pe<ye.length);for(Ee=2;Ee<ye.length;++Ee)ye[Ee]===-1&&(ye[Ee]=0);switch(ye[0]){case 38:Se.fg=this._updateAttrColor(Se.fg,ye[1],ye[3],ye[4],ye[5]);break;case 48:Se.bg=this._updateAttrColor(Se.bg,ye[1],ye[3],ye[4],ye[5]);break;case 58:Se.extended=Se.extended.clone(),Se.extended.underlineColor=this._updateAttrColor(Se.extended.underlineColor,ye[1],ye[3],ye[4],ye[5])}return we},pe.prototype._processUnderline=function(me,ge){ge.extended=ge.extended.clone(),(!~me||me>5)&&(me=1),ge.extended.underlineStyle=me,ge.fg|=268435456,me===0&&(ge.fg&=-268435457),ge.updateExtended()},pe.prototype.charAttributes=function(me){if(me.length===1&&me.params[0]===0)return this._curAttrData.fg=ae.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=ae.DEFAULT_ATTR_DATA.bg);for(var ge,Se=me.length,ye=this._curAttrData,Pe=0;Pe<Se;Pe++)(ge=me.params[Pe])>=30&&ge<=37?(ye.fg&=-50331904,ye.fg|=16777216|ge-30):ge>=40&&ge<=47?(ye.bg&=-50331904,ye.bg|=16777216|ge-40):ge>=90&&ge<=97?(ye.fg&=-50331904,ye.fg|=16777224|ge-90):ge>=100&&ge<=107?(ye.bg&=-50331904,ye.bg|=16777224|ge-100):ge===0?(ye.fg=ae.DEFAULT_ATTR_DATA.fg,ye.bg=ae.DEFAULT_ATTR_DATA.bg):ge===1?ye.fg|=134217728:ge===3?ye.bg|=67108864:ge===4?(ye.fg|=268435456,this._processUnderline(me.hasSubParams(Pe)?me.getSubParams(Pe)[0]:1,ye)):ge===5?ye.fg|=536870912:ge===7?ye.fg|=67108864:ge===8?ye.fg|=1073741824:ge===2?ye.bg|=134217728:ge===21?this._processUnderline(2,ye):ge===22?(ye.fg&=-134217729,ye.bg&=-134217729):ge===23?ye.bg&=-67108865:ge===24?ye.fg&=-268435457:ge===25?ye.fg&=-536870913:ge===27?ye.fg&=-67108865:ge===28?ye.fg&=-1073741825:ge===39?(ye.fg&=-67108864,ye.fg|=16777215&ae.DEFAULT_ATTR_DATA.fg):ge===49?(ye.bg&=-67108864,ye.bg|=16777215&ae.DEFAULT_ATTR_DATA.bg):ge===38||ge===48||ge===58?Pe+=this._extractColor(me,Pe,ye):ge===59?(ye.extended=ye.extended.clone(),ye.extended.underlineColor=-1,ye.updateExtended()):ge===100?(ye.fg&=-67108864,ye.fg|=16777215&ae.DEFAULT_ATTR_DATA.fg,ye.bg&=-67108864,ye.bg|=16777215&ae.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",ge)},pe.prototype.deviceStatus=function(me){switch(me.params[0]){case 5:this._coreService.triggerDataEvent(de.C0.ESC+"[0n");break;case 6:var ge=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(de.C0.ESC+"["+ge+";"+Se+"R")}},pe.prototype.deviceStatusPrivate=function(me){switch(me.params[0]){case 6:var ge=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(de.C0.ESC+"[?"+ge+";"+Se+"R")}},pe.prototype.softReset=function(me){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},pe.prototype.setCursorStyle=function(me){var ge=me.params[0]||1;switch(ge){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var Se=ge%2==1;this._optionsService.options.cursorBlink=Se},pe.prototype.setScrollRegion=function(me){var ge,Se=me.params[0]||1;(me.length<2||(ge=me.params[1])>this._bufferService.rows||ge===0)&&(ge=this._bufferService.rows),ge>Se&&(this._bufferService.buffer.scrollTop=Se-1,this._bufferService.buffer.scrollBottom=ge-1,this._setCursor(0,0))},pe.prototype.windowOptions=function(me){if(z(me.params[0],this._optionsService.options.windowOptions)){var ge=me.length>1?me.params[1]:0;switch(me.params[0]){case 14:ge!==2&&this._onRequestWindowsOptionsReport.fire(he.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(he.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(de.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:ge!==0&&ge!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),ge!==0&&ge!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:ge!==0&&ge!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),ge!==0&&ge!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},pe.prototype.saveCursor=function(me){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},pe.prototype.restoreCursor=function(me){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},pe.prototype.setTitle=function(me){this._windowTitle=me,this._onTitleChange.fire(me)},pe.prototype.setIconName=function(me){this._iconName=me},pe.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},pe.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},pe.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},pe.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,se.DEFAULT_CHARSET)},pe.prototype.selectCharset=function(me){me.length===2?me[0]!=="/"&&this._charsetService.setgCharset(b[me[0]],se.CHARSETS[me[1]]||se.DEFAULT_CHARSET):this.selectDefaultCharset()},pe.prototype.index=function(){this._restrictCursor();var me=this._bufferService.buffer;this._bufferService.buffer.y++,me.y===me.scrollBottom+1?(me.y--,this._onRequestScroll.fire(this._eraseAttrData())):me.y>=this._bufferService.rows&&(me.y=this._bufferService.rows-1),this._restrictCursor()},pe.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},pe.prototype.reverseIndex=function(){this._restrictCursor();var me=this._bufferService.buffer;if(me.y===me.scrollTop){var ge=me.scrollBottom-me.scrollTop;me.lines.shiftElements(me.ybase+me.y,ge,1),me.lines.set(me.ybase+me.y,me.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom)}else me.y--,this._restrictCursor()},pe.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},pe.prototype.reset=function(){this._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone()},pe.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},pe.prototype.setgLevel=function(me){this._charsetService.setgLevel(me)},pe.prototype.screenAlignmentPattern=function(){var me=new ee.CellData;me.content=1<<22|69,me.fg=this._curAttrData.fg,me.bg=this._curAttrData.bg;var ge=this._bufferService.buffer;this._setCursor(0,0);for(var Se=0;Se<this._bufferService.rows;++Se){var ye=ge.ybase+ge.y+Se,Pe=ge.lines.get(ye);Pe&&(Pe.fill(me),Pe.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},pe}(ie.Disposable);ve.InputHandler=le},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.DEFAULT_CHARSET=ve.CHARSETS=void 0,ve.CHARSETS={},ve.DEFAULT_CHARSET=ve.CHARSETS.B,ve.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},ve.CHARSETS.A={"#":"\xA3"},ve.CHARSETS.B=void 0,ve.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},ve.CHARSETS.C=ve.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},ve.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},ve.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},ve.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},ve.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},ve.CHARSETS.E=ve.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},ve.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},ve.CHARSETS.H=ve.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},ve.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.Params=void 0;var _e=function(){function E(he,de){if(he===void 0&&(he=32),de===void 0&&(de=32),this.maxLength=he,this.maxSubParamsLength=de,de>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(he),this.length=0,this._subParams=new Int32Array(de),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(he),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(he){var de=new E;if(!he.length)return de;for(var se=he[0]instanceof Array?1:0;se<he.length;++se){var ne=he[se];if(ne instanceof Array)for(var ie=0;ie<ne.length;++ie)de.addSubParam(ne[ie]);else de.addParam(ne)}return de},E.prototype.clone=function(){var he=new E(this.maxLength,this.maxSubParamsLength);return he.params.set(this.params),he.length=this.length,he._subParams.set(this._subParams),he._subParamsLength=this._subParamsLength,he._subParamsIdx.set(this._subParamsIdx),he._rejectDigits=this._rejectDigits,he._rejectSubDigits=this._rejectSubDigits,he._digitIsSub=this._digitIsSub,he},E.prototype.toArray=function(){for(var he=[],de=0;de<this.length;++de){he.push(this.params[de]);var se=this._subParamsIdx[de]>>8,ne=255&this._subParamsIdx[de];ne-se>0&&he.push(Array.prototype.slice.call(this._subParams,se,ne))}return he},E.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},E.prototype.addParam=function(he){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(he<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=he>2147483647?2147483647:he}},E.prototype.addSubParam=function(he){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(he<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=he>2147483647?2147483647:he,this._subParamsIdx[this.length-1]++}},E.prototype.hasSubParams=function(he){return(255&this._subParamsIdx[he])-(this._subParamsIdx[he]>>8)>0},E.prototype.getSubParams=function(he){var de=this._subParamsIdx[he]>>8,se=255&this._subParamsIdx[he];return se-de>0?this._subParams.subarray(de,se):null},E.prototype.getSubParamsAll=function(){for(var he={},de=0;de<this.length;++de){var se=this._subParamsIdx[de]>>8,ne=255&this._subParamsIdx[de];ne-se>0&&(he[de]=this._subParams.slice(se,ne))}return he},E.prototype.addDigit=function(he){var de;if(!(this._rejectDigits||!(de=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var se=this._digitIsSub?this._subParams:this.params,ne=se[de-1];se[de-1]=~ne?Math.min(10*ne+he,2147483647):he}},E}();ve.Params=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.OscHandler=ve.OscParser=void 0;var _e=be(23),E=be(8),he=function(){function se(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return se.prototype.addHandler=function(ne,ie){this._handlers[ne]===void 0&&(this._handlers[ne]=[]);var ce=this._handlers[ne];return ce.push(ie),{dispose:function(){var ue=ce.indexOf(ie);ue!==-1&&ce.splice(ue,1)}}},se.prototype.setHandler=function(ne,ie){this._handlers[ne]=[ie]},se.prototype.clearHandler=function(ne){this._handlers[ne]&&delete this._handlers[ne]},se.prototype.setHandlerFallback=function(ne){this._handlerFb=ne},se.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},se.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},se.prototype._start=function(){var ne=this._handlers[this._id];if(ne)for(var ie=ne.length-1;ie>=0;ie--)ne[ie].start();else this._handlerFb(this._id,"START")},se.prototype._put=function(ne,ie,ce){var ue=this._handlers[this._id];if(ue)for(var ae=ue.length-1;ae>=0;ae--)ue[ae].put(ne,ie,ce);else this._handlerFb(this._id,"PUT",E.utf32ToString(ne,ie,ce))},se.prototype._end=function(ne){var ie=this._handlers[this._id];if(ie){for(var ce=ie.length-1;ce>=0&&ie[ce].end(ne)===!1;ce--);for(ce--;ce>=0;ce--)ie[ce].end(!1)}else this._handlerFb(this._id,"END",ne)},se.prototype.start=function(){this.reset(),this._id=-1,this._state=1},se.prototype.put=function(ne,ie,ce){if(this._state!==3){if(this._state===1)for(;ie<ce;){var ue=ne[ie++];if(ue===59){this._state=2,this._start();break}if(ue<48||57<ue)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+ue-48}this._state===2&&ce-ie>0&&this._put(ne,ie,ce)}},se.prototype.end=function(ne){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(ne)),this._id=-1,this._state=0)},se}();ve.OscParser=he;var de=function(){function se(ne){this._handler=ne,this._data="",this._hitLimit=!1}return se.prototype.start=function(){this._data="",this._hitLimit=!1},se.prototype.put=function(ne,ie,ce){this._hitLimit||(this._data+=E.utf32ToString(ne,ie,ce),this._data.length>_e.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},se.prototype.end=function(ne){var ie;return this._hitLimit?ie=!1:ne&&(ie=this._handler(this._data)),this._data="",this._hitLimit=!1,ie},se}();ve.OscHandler=de},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.PAYLOAD_LIMIT=void 0,ve.PAYLOAD_LIMIT=1e7},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.DcsHandler=ve.DcsParser=void 0;var _e=be(8),E=be(21),he=be(23),de=[],se=function(){function ie(){this._handlers=Object.create(null),this._active=de,this._ident=0,this._handlerFb=function(){}}return ie.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ie.prototype.addHandler=function(ce,ue){this._handlers[ce]===void 0&&(this._handlers[ce]=[]);var ae=this._handlers[ce];return ae.push(ue),{dispose:function(){var oe=ae.indexOf(ue);oe!==-1&&ae.splice(oe,1)}}},ie.prototype.setHandler=function(ce,ue){this._handlers[ce]=[ue]},ie.prototype.clearHandler=function(ce){this._handlers[ce]&&delete this._handlers[ce]},ie.prototype.setHandlerFallback=function(ce){this._handlerFb=ce},ie.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=de,this._ident=0},ie.prototype.hook=function(ce,ue){if(this.reset(),this._ident=ce,this._active=this._handlers[ce]||de,this._active.length)for(var ae=this._active.length-1;ae>=0;ae--)this._active[ae].hook(ue);else this._handlerFb(this._ident,"HOOK",ue)},ie.prototype.put=function(ce,ue,ae){if(this._active.length)for(var oe=this._active.length-1;oe>=0;oe--)this._active[oe].put(ce,ue,ae);else this._handlerFb(this._ident,"PUT",_e.utf32ToString(ce,ue,ae))},ie.prototype.unhook=function(ce){if(this._active.length){for(var ue=this._active.length-1;ue>=0&&this._active[ue].unhook(ce)===!1;ue--);for(ue--;ue>=0;ue--)this._active[ue].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",ce);this._active=de,this._ident=0},ie}();ve.DcsParser=se;var ne=function(){function ie(ce){this._handler=ce,this._data="",this._hitLimit=!1}return ie.prototype.hook=function(ce){this._params=ce.clone(),this._data="",this._hitLimit=!1},ie.prototype.put=function(ce,ue,ae){this._hitLimit||(this._data+=_e.utf32ToString(ce,ue,ae),this._data.length>he.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ie.prototype.unhook=function(ce){var ue;return this._hitLimit?ue=!1:ce&&(ue=this._handler(this._data,this._params||new E.Params)),this._params=void 0,this._data="",this._hitLimit=!1,ue},ie}();ve.DcsHandler=ne},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.removeTerminalFromCache=ve.acquireCharAtlas=void 0;var _e=be(26),E=be(43),he=[];ve.acquireCharAtlas=function(de,se,ne,ie,ce){for(var ue=_e.generateConfig(ie,ce,de,ne),ae=0;ae<he.length;ae++){var oe=(re=he[ae]).ownedBy.indexOf(se);if(oe>=0){if(_e.configEquals(re.config,ue))return re.atlas;re.ownedBy.length===1?(re.atlas.dispose(),he.splice(ae,1)):re.ownedBy.splice(oe,1);break}}for(ae=0;ae<he.length;ae++){var re=he[ae];if(_e.configEquals(re.config,ue))return re.ownedBy.push(se),re.atlas}var ee={atlas:new E.DynamicCharAtlas(document,ue),config:ue,ownedBy:[se]};return he.push(ee),ee.atlas},ve.removeTerminalFromCache=function(de){for(var se=0;se<he.length;se++){var ne=he[se].ownedBy.indexOf(de);if(ne!==-1){he[se].ownedBy.length===1?(he[se].atlas.dispose(),he.splice(se,1)):he[se].ownedBy.splice(ne,1);break}}}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.is256Color=ve.configEquals=ve.generateConfig=void 0;var _e=be(3);ve.generateConfig=function(E,he,de,se){var ne={foreground:se.foreground,background:se.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:se.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:E,scaledCharHeight:he,fontFamily:de.fontFamily,fontSize:de.fontSize,fontWeight:de.fontWeight,fontWeightBold:de.fontWeightBold,allowTransparency:de.allowTransparency,colors:ne}},ve.configEquals=function(E,he){for(var de=0;de<E.colors.ansi.length;de++)if(E.colors.ansi[de].rgba!==he.colors.ansi[de].rgba)return!1;return E.devicePixelRatio===he.devicePixelRatio&&E.fontFamily===he.fontFamily&&E.fontSize===he.fontSize&&E.fontWeight===he.fontWeight&&E.fontWeightBold===he.fontWeightBold&&E.allowTransparency===he.allowTransparency&&E.scaledCharWidth===he.scaledCharWidth&&E.scaledCharHeight===he.scaledCharHeight&&E.colors.foreground===he.colors.foreground&&E.colors.background===he.colors.background},ve.is256Color=function(E){return E<_e.DEFAULT_COLOR}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.ColorManager=ve.DEFAULT_ANSI_COLORS=void 0;var _e=be(10),E=be(45),he=_e.css.toColor("#ffffff"),de=_e.css.toColor("#000000"),se=_e.css.toColor("#ffffff"),ne=_e.css.toColor("#000000"),ie={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};ve.DEFAULT_ANSI_COLORS=function(){for(var ue=[_e.css.toColor("#2e3436"),_e.css.toColor("#cc0000"),_e.css.toColor("#4e9a06"),_e.css.toColor("#c4a000"),_e.css.toColor("#3465a4"),_e.css.toColor("#75507b"),_e.css.toColor("#06989a"),_e.css.toColor("#d3d7cf"),_e.css.toColor("#555753"),_e.css.toColor("#ef2929"),_e.css.toColor("#8ae234"),_e.css.toColor("#fce94f"),_e.css.toColor("#729fcf"),_e.css.toColor("#ad7fa8"),_e.css.toColor("#34e2e2"),_e.css.toColor("#eeeeec")],ae=[0,95,135,175,215,255],oe=0;oe<216;oe++){var re=ae[oe/36%6|0],ee=ae[oe/6%6|0],a=ae[oe%6];ue.push({css:_e.channels.toCss(re,ee,a),rgba:_e.channels.toRgba(re,ee,a)})}for(oe=0;oe<24;oe++){var y=8+10*oe;ue.push({css:_e.channels.toCss(y,y,y),rgba:_e.channels.toRgba(y,y,y)})}return ue}();var ce=function(){function ue(ae,oe){this.allowTransparency=oe;var re=ae.createElement("canvas");re.width=1,re.height=1;var ee=re.getContext("2d");if(!ee)throw new Error("Could not get rendering context");this._ctx=ee,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new E.ColorContrastCache,this.colors={foreground:he,background:de,cursor:se,cursorAccent:ne,selectionTransparent:ie,selectionOpaque:_e.color.blend(de,ie),ansi:ve.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return ue.prototype.onOptionsChange=function(ae){ae==="minimumContrastRatio"&&this._contrastCache.clear()},ue.prototype.setTheme=function(ae){ae===void 0&&(ae={}),this.colors.foreground=this._parseColor(ae.foreground,he),this.colors.background=this._parseColor(ae.background,de),this.colors.cursor=this._parseColor(ae.cursor,se,!0),this.colors.cursorAccent=this._parseColor(ae.cursorAccent,ne,!0),this.colors.selectionTransparent=this._parseColor(ae.selection,ie,!0),this.colors.selectionOpaque=_e.color.blend(this.colors.background,this.colors.selectionTransparent),_e.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=_e.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(ae.black,ve.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(ae.red,ve.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(ae.green,ve.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(ae.yellow,ve.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(ae.blue,ve.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(ae.magenta,ve.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(ae.cyan,ve.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(ae.white,ve.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(ae.brightBlack,ve.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(ae.brightRed,ve.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(ae.brightGreen,ve.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(ae.brightYellow,ve.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(ae.brightBlue,ve.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(ae.brightMagenta,ve.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(ae.brightCyan,ve.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(ae.brightWhite,ve.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},ue.prototype._parseColor=function(ae,oe,re){if(re===void 0&&(re=this.allowTransparency),ae===void 0)return oe;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=ae,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+ae+" is invalid using fallback "+oe.css),oe;this._ctx.fillRect(0,0,1,1);var ee=this._ctx.getImageData(0,0,1,1).data;if(ee[3]!==255){if(!re)return console.warn("Color: "+ae+" is using transparency, but allowTransparency is false. Using fallback "+oe.css+"."),oe;var a=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(le){return Number(le)}),y=a[0],x=a[1],b=a[2],z=a[3],te=Math.round(255*z);return{rgba:_e.channels.toRgba(y,x,b,te),css:ae}}return{css:this._ctx.fillStyle,rgba:_e.channels.toRgba(ee[0],ee[1],ee[2],ee[3])}},ue}();ve.ColorManager=ce},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.throwIfFalsy=void 0,ve.throwIfFalsy=function(_e){if(!_e)throw new Error("value must not be falsy");return _e}},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ce,ue){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,oe){ae.__proto__=oe}||function(ae,oe){for(var re in oe)oe.hasOwnProperty(re)&&(ae[re]=oe[re])})(ce,ue)},function(ce,ue){function ae(){this.constructor=ce}_e(ce,ue),ce.prototype=ue===null?Object.create(ue):(ae.prototype=ue.prototype,new ae)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.CharacterJoinerRegistry=ve.JoinedCellData=void 0;var he=be(6),de=be(3),se=be(4),ne=function(ce){function ue(ae,oe,re){var ee=ce.call(this)||this;return ee.content=0,ee.combinedData="",ee.fg=ae.fg,ee.bg=ae.bg,ee.combinedData=oe,ee._width=re,ee}return E(ue,ce),ue.prototype.isCombined=function(){return 2097152},ue.prototype.getWidth=function(){return this._width},ue.prototype.getChars=function(){return this.combinedData},ue.prototype.getCode=function(){return 2097151},ue.prototype.setFromCharData=function(ae){throw new Error("not implemented")},ue.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},ue}(he.AttributeData);ve.JoinedCellData=ne;var ie=function(){function ce(ue){this._bufferService=ue,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new se.CellData}return ce.prototype.registerCharacterJoiner=function(ue){var ae={id:this._nextCharacterJoinerId++,handler:ue};return this._characterJoiners.push(ae),ae.id},ce.prototype.deregisterCharacterJoiner=function(ue){for(var ae=0;ae<this._characterJoiners.length;ae++)if(this._characterJoiners[ae].id===ue)return this._characterJoiners.splice(ae,1),!0;return!1},ce.prototype.getJoinedCharacters=function(ue){if(this._characterJoiners.length===0)return[];var ae=this._bufferService.buffer.lines.get(ue);if(!ae||ae.length===0)return[];for(var oe=[],re=ae.translateToString(!0),ee=0,a=0,y=0,x=ae.getFg(0),b=ae.getBg(0),z=0;z<ae.getTrimmedLength();z++)if(ae.loadCell(z,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==x||this._workCell.bg!==b){if(z-ee>1)for(var te=this._getJoinedRanges(re,y,a,ae,ee),le=0;le<te.length;le++)oe.push(te[le]);ee=z,y=a,x=this._workCell.fg,b=this._workCell.bg}a+=this._workCell.getChars().length||de.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-ee>1)for(te=this._getJoinedRanges(re,y,a,ae,ee),le=0;le<te.length;le++)oe.push(te[le]);return oe},ce.prototype._getJoinedRanges=function(ue,ae,oe,re,ee){for(var a=ue.substring(ae,oe),y=this._characterJoiners[0].handler(a),x=1;x<this._characterJoiners.length;x++)for(var b=this._characterJoiners[x].handler(a),z=0;z<b.length;z++)ce._mergeRanges(y,b[z]);return this._stringRangesToCellRanges(y,re,ee),y},ce.prototype._stringRangesToCellRanges=function(ue,ae,oe){var re=0,ee=!1,a=0,y=ue[re];if(y){for(var x=oe;x<this._bufferService.cols;x++){var b=ae.getWidth(x),z=ae.getString(x).length||de.WHITESPACE_CELL_CHAR.length;if(b!==0){if(!ee&&y[0]<=a&&(y[0]=x,ee=!0),y[1]<=a){if(y[1]=x,!(y=ue[++re]))break;y[0]<=a?(y[0]=x,ee=!0):ee=!1}a+=z}}y&&(y[1]=this._bufferService.cols)}},ce._mergeRanges=function(ue,ae){for(var oe=!1,re=0;re<ue.length;re++){var ee=ue[re];if(oe){if(ae[1]<=ee[0])return ue[re-1][1]=ae[1],ue;if(ae[1]<=ee[1])return ue[re-1][1]=Math.max(ae[1],ee[1]),ue.splice(re,1),ue;ue.splice(re,1),re--}else{if(ae[1]<=ee[0])return ue.splice(re,0,ae),ue;if(ae[1]<=ee[1])return ee[0]=Math.min(ae[0],ee[0]),ue;ae[0]<ee[1]&&(ee[0]=Math.min(ae[0],ee[0]),oe=!0)}}return oe?ue[ue.length-1][1]=ae[1]:ue.push(ae),ue},ce}();ve.CharacterJoinerRegistry=ie},function(dt,ve,be){"use strict";function _e(E,he){var de=he.getBoundingClientRect();return[E.clientX-de.left,E.clientY-de.top]}Object.defineProperty(ve,"__esModule",{value:!0}),ve.getRawByteCoords=ve.getCoords=ve.getCoordsRelativeToElement=void 0,ve.getCoordsRelativeToElement=_e,ve.getCoords=function(E,he,de,se,ne,ie,ce,ue){if(ne){var ae=_e(E,he);if(ae)return ae[0]=Math.ceil((ae[0]+(ue?ie/2:0))/ie),ae[1]=Math.ceil(ae[1]/ce),ae[0]=Math.min(Math.max(ae[0],1),de+(ue?1:0)),ae[1]=Math.min(Math.max(ae[1],1),se),ae}},ve.getRawByteCoords=function(E){if(E)return{x:E[0]+32,y:E[1]+32}}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.RenderDebouncer=void 0;var _e=function(){function E(he){this._renderCallback=he}return E.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},E.prototype.refresh=function(he,de,se){var ne=this;this._rowCount=se,he=he!==void 0?he:0,de=de!==void 0?de:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,he):he,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,de):de,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return ne._innerRefresh()}))},E.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var he=Math.max(this._rowStart,0),de=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(he,de)}},E}();ve.RenderDebouncer=_e},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(de,se){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ie){ne.__proto__=ie}||function(ne,ie){for(var ce in ie)ie.hasOwnProperty(ce)&&(ne[ce]=ie[ce])})(de,se)},function(de,se){function ne(){this.constructor=de}_e(de,se),de.prototype=se===null?Object.create(se):(ne.prototype=se.prototype,new ne)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.ScreenDprMonitor=void 0;var he=function(de){function se(){var ne=de!==null&&de.apply(this,arguments)||this;return ne._currentDevicePixelRatio=window.devicePixelRatio,ne}return E(se,de),se.prototype.setListener=function(ne){var ie=this;this._listener&&this.clearListener(),this._listener=ne,this._outerListener=function(){ie._listener&&(ie._listener(window.devicePixelRatio,ie._currentDevicePixelRatio),ie._updateDpr())},this._updateDpr()},se.prototype.dispose=function(){de.prototype.dispose.call(this),this.clearListener()},se.prototype._updateDpr=function(){var ne;this._outerListener&&((ne=this._resolutionMediaMatchList)===null||ne===void 0||ne.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},se.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},se}(be(2).Disposable);ve.ScreenDprMonitor=he},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.clone=void 0,ve.clone=function _e(E,he){if(he===void 0&&(he=5),typeof E!="object")return E;var de=Array.isArray(E)?[]:{};for(var se in E)de[se]=he<=1?E[se]:E[se]?_e(E[se],he-1):E[se];return de}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.Terminal=void 0;var _e=be(4),E=be(35),he=be(18),de=be(0),se=be(83),ne=function(){function re(ee){this._core=new E.Terminal(ee),this._addonManager=new se.AddonManager}return re.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(re.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new ae(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"unicode",{get:function(){return this._checkProposedApi(),new oe(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"buffer",{get:function(){return this._checkProposedApi(),new ce(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),re.prototype.blur=function(){this._core.blur()},re.prototype.focus=function(){this._core.focus()},re.prototype.resize=function(ee,a){this._verifyIntegers(ee,a),this._core.resize(ee,a)},re.prototype.open=function(ee){this._core.open(ee)},re.prototype.attachCustomKeyEventHandler=function(ee){this._core.attachCustomKeyEventHandler(ee)},re.prototype.registerLinkMatcher=function(ee,a,y){return this._checkProposedApi(),this._core.registerLinkMatcher(ee,a,y)},re.prototype.deregisterLinkMatcher=function(ee){this._checkProposedApi(),this._core.deregisterLinkMatcher(ee)},re.prototype.registerLinkProvider=function(ee){return this._checkProposedApi(),this._core.registerLinkProvider(ee)},re.prototype.registerCharacterJoiner=function(ee){return this._checkProposedApi(),this._core.registerCharacterJoiner(ee)},re.prototype.deregisterCharacterJoiner=function(ee){this._checkProposedApi(),this._core.deregisterCharacterJoiner(ee)},re.prototype.registerMarker=function(ee){return this._checkProposedApi(),this._verifyIntegers(ee),this._core.addMarker(ee)},re.prototype.addMarker=function(ee){return this.registerMarker(ee)},re.prototype.hasSelection=function(){return this._core.hasSelection()},re.prototype.select=function(ee,a,y){this._verifyIntegers(ee,a,y),this._core.select(ee,a,y)},re.prototype.getSelection=function(){return this._core.getSelection()},re.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},re.prototype.clearSelection=function(){this._core.clearSelection()},re.prototype.selectAll=function(){this._core.selectAll()},re.prototype.selectLines=function(ee,a){this._verifyIntegers(ee,a),this._core.selectLines(ee,a)},re.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},re.prototype.scrollLines=function(ee){this._verifyIntegers(ee),this._core.scrollLines(ee)},re.prototype.scrollPages=function(ee){this._verifyIntegers(ee),this._core.scrollPages(ee)},re.prototype.scrollToTop=function(){this._core.scrollToTop()},re.prototype.scrollToBottom=function(){this._core.scrollToBottom()},re.prototype.scrollToLine=function(ee){this._verifyIntegers(ee),this._core.scrollToLine(ee)},re.prototype.clear=function(){this._core.clear()},re.prototype.write=function(ee,a){this._core.write(ee,a)},re.prototype.writeUtf8=function(ee,a){this._core.write(ee,a)},re.prototype.writeln=function(ee,a){this._core.write(ee),this._core.write(`\r
|
|
|
`,a)},re.prototype.paste=function(ee){this._core.paste(ee)},re.prototype.getOption=function(ee){return this._core.optionsService.getOption(ee)},re.prototype.setOption=function(ee,a){this._core.optionsService.setOption(ee,a)},re.prototype.refresh=function(ee,a){this._verifyIntegers(ee,a),this._core.refresh(ee,a)},re.prototype.reset=function(){this._core.reset()},re.prototype.loadAddon=function(ee){return this._addonManager.loadAddon(this,ee)},Object.defineProperty(re,"strings",{get:function(){return he},enumerable:!1,configurable:!0}),re.prototype._verifyIntegers=function(){for(var ee=[],a=0;a<arguments.length;a++)ee[a]=arguments[a];for(var y=0,x=ee;y<x.length;y++){var b=x[y];if(b===1/0||isNaN(b)||b%1!=0)throw new Error("This API only accepts integers")}},re}();ve.Terminal=ne;var ie=function(){function re(ee,a){this._buffer=ee,this.type=a}return re.prototype.init=function(ee){return this._buffer=ee,this},Object.defineProperty(re.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),re.prototype.getLine=function(ee){var a=this._buffer.lines.get(ee);if(a)return new ue(a)},re.prototype.getNullCell=function(){return new _e.CellData},re}(),ce=function(){function re(ee){var a=this;this._buffers=ee,this._onBufferChange=new de.EventEmitter,this._normal=new ie(this._buffers.normal,"normal"),this._alternate=new ie(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return a._onBufferChange.fire(a.active)})}return Object.defineProperty(re.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),re}(),ue=function(){function re(ee){this._line=ee}return Object.defineProperty(re.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),re.prototype.getCell=function(ee,a){if(!(ee<0||ee>=this._line.length))return a?(this._line.loadCell(ee,a),a):this._line.loadCell(ee,new _e.CellData)},re.prototype.translateToString=function(ee,a,y){return this._line.translateToString(ee,a,y)},re}(),ae=function(){function re(ee){this._core=ee}return re.prototype.registerCsiHandler=function(ee,a){return this._core.addCsiHandler(ee,function(y){return a(y.toArray())})},re.prototype.addCsiHandler=function(ee,a){return this.registerCsiHandler(ee,a)},re.prototype.registerDcsHandler=function(ee,a){return this._core.addDcsHandler(ee,function(y,x){return a(y,x.toArray())})},re.prototype.addDcsHandler=function(ee,a){return this.registerDcsHandler(ee,a)},re.prototype.registerEscHandler=function(ee,a){return this._core.addEscHandler(ee,a)},re.prototype.addEscHandler=function(ee,a){return this.registerEscHandler(ee,a)},re.prototype.registerOscHandler=function(ee,a){return this._core.addOscHandler(ee,a)},re.prototype.addOscHandler=function(ee,a){return this.registerOscHandler(ee,a)},re}(),oe=function(){function re(ee){this._core=ee}return re.prototype.register=function(ee){this._core.unicodeService.register(ee)},Object.defineProperty(re.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(ee){this._core.unicodeService.activeVersion=ee},enumerable:!1,configurable:!0}),re}()},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(Ae,Ce){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ie,Me){Ie.__proto__=Me}||function(Ie,Me){for(var Ge in Me)Me.hasOwnProperty(Ge)&&(Ie[Ge]=Me[Ge])})(Ae,Ce)},function(Ae,Ce){function Ie(){this.constructor=Ae}_e(Ae,Ce),Ae.prototype=Ce===null?Object.create(Ce):(Ie.prototype=Ce.prototype,new Ie)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.Terminal=void 0;var he=be(36),de=be(37),se=be(38),ne=be(12),ie=be(19),ce=be(40),ue=be(50),ae=be(51),oe=be(11),re=be(7),ee=be(18),a=be(54),y=be(55),x=be(56),b=be(57),z=be(59),te=be(0),le=be(16),fe=be(27),pe=be(60),me=be(5),ge=be(61),Se=be(62),ye=be(63),Pe=be(64),we=be(65),De=typeof window!="undefined"?window.document:null,Ee=function(Ae){function Ce(Ie){Ie===void 0&&(Ie={});var Me=Ae.call(this,Ie)||this;return Me.browser=oe,Me._keyDownHandled=!1,Me._onCursorMove=new te.EventEmitter,Me._onKey=new te.EventEmitter,Me._onRender=new te.EventEmitter,Me._onSelectionChange=new te.EventEmitter,Me._onTitleChange=new te.EventEmitter,Me._onFocus=new te.EventEmitter,Me._onBlur=new te.EventEmitter,Me._onA11yCharEmitter=new te.EventEmitter,Me._onA11yTabEmitter=new te.EventEmitter,Me._setup(),Me.linkifier=Me._instantiationService.createInstance(ue.Linkifier),Me.linkifier2=Me.register(Me._instantiationService.createInstance(ye.Linkifier2)),Me.register(Me._inputHandler.onRequestBell(function(){return Me.bell()})),Me.register(Me._inputHandler.onRequestRefreshRows(function(Ge,Be){return Me.refresh(Ge,Be)})),Me.register(Me._inputHandler.onRequestReset(function(){return Me.reset()})),Me.register(Me._inputHandler.onRequestScroll(function(Ge,Be){return Me.scroll(Ge,Be||void 0)})),Me.register(Me._inputHandler.onRequestWindowsOptionsReport(function(Ge){return Me._reportWindowsOptions(Ge)})),Me.register(te.forwardEvent(Me._inputHandler.onCursorMove,Me._onCursorMove)),Me.register(te.forwardEvent(Me._inputHandler.onTitleChange,Me._onTitleChange)),Me.register(te.forwardEvent(Me._inputHandler.onA11yChar,Me._onA11yCharEmitter)),Me.register(te.forwardEvent(Me._inputHandler.onA11yTab,Me._onA11yTabEmitter)),Me.register(Me._bufferService.onResize(function(Ge){return Me._afterResize(Ge.cols,Ge.rows)})),Me}return E(Ce,Ae),Object.defineProperty(Ce.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),Ce.prototype.dispose=function(){var Ie,Me,Ge;this._isDisposed||(Ae.prototype.dispose.call(this),(Ie=this._renderService)===null||Ie===void 0||Ie.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(Ge=(Me=this.element)===null||Me===void 0?void 0:Me.parentNode)===null||Ge===void 0||Ge.removeChild(this.element))},Ce.prototype._setup=function(){Ae.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(Ce.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),Ce.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},Ce.prototype._updateOptions=function(Ie){var Me,Ge,Be,Qe;switch(Ae.prototype._updateOptions.call(this,Ie),Ie){case"fontFamily":case"fontSize":(Me=this._renderService)===null||Me===void 0||Me.clear(),(Ge=this._charSizeService)===null||Ge===void 0||Ge.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(Be=this.viewport)===null||Be===void 0||Be.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)):((Qe=this._accessibilityManager)===null||Qe===void 0||Qe.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},Ce.prototype._onTextAreaFocus=function(Ie){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(ne.C0.ESC+"[I"),this.updateCursorStyle(Ie),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},Ce.prototype.blur=function(){var Ie;return(Ie=this.textarea)===null||Ie===void 0?void 0:Ie.blur()},Ce.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(ne.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},Ce.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var Ie=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),Me=this._bufferService.buffer.y*Ie,Ge=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=Ge+"px",this.textarea.style.top=Me+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=Ie+"px",this.textarea.style.lineHeight=Ie+"px",this.textarea.style.zIndex="-5"}},Ce.prototype._initGlobal=function(){var Ie=this;this._bindKeys(),this.register(re.addDisposableDomListener(this.element,"copy",function(Ge){Ie.hasSelection()&&se.copyHandler(Ge,Ie._selectionService)}));var Me=function(Ge){return se.handlePasteEvent(Ge,Ie.textarea,Ie._coreService)};this.register(re.addDisposableDomListener(this.textarea,"paste",Me)),this.register(re.addDisposableDomListener(this.element,"paste",Me)),oe.isFirefox?this.register(re.addDisposableDomListener(this.element,"mousedown",function(Ge){Ge.button===2&&se.rightClickHandler(Ge,Ie.textarea,Ie.screenElement,Ie._selectionService,Ie.options.rightClickSelectsWord)})):this.register(re.addDisposableDomListener(this.element,"contextmenu",function(Ge){se.rightClickHandler(Ge,Ie.textarea,Ie.screenElement,Ie._selectionService,Ie.options.rightClickSelectsWord)})),oe.isLinux&&this.register(re.addDisposableDomListener(this.element,"auxclick",function(Ge){Ge.button===1&&se.moveTextAreaUnderMouseCursor(Ge,Ie.textarea,Ie.screenElement)}))},Ce.prototype._bindKeys=function(){var Ie=this;this.register(re.addDisposableDomListener(this.textarea,"keyup",function(Me){return Ie._keyUp(Me)},!0)),this.register(re.addDisposableDomListener(this.textarea,"keydown",function(Me){return Ie._keyDown(Me)},!0)),this.register(re.addDisposableDomListener(this.textarea,"keypress",function(Me){return Ie._keyPress(Me)},!0)),this.register(re.addDisposableDomListener(this.textarea,"compositionstart",function(){return Ie._compositionHelper.compositionstart()})),this.register(re.addDisposableDomListener(this.textarea,"compositionupdate",function(Me){return Ie._compositionHelper.compositionupdate(Me)})),this.register(re.addDisposableDomListener(this.textarea,"compositionend",function(){return Ie._compositionHelper.compositionend()})),this.register(this.onRender(function(){return Ie._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(Me){return Ie._queueLinkification(Me.start,Me.end)}))},Ce.prototype.open=function(Ie){var Me=this;if(!Ie)throw new Error("Terminal requires a parent element.");De.body.contains(Ie)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=Ie.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),Ie.appendChild(this.element);var Ge=De.createDocumentFragment();this._viewportElement=De.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),Ge.appendChild(this._viewportElement),this._viewportScrollArea=De.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=De.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=De.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),Ge.appendChild(this.screenElement),this.textarea=De.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",ee.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(re.addDisposableDomListener(this.textarea,"focus",function(qe){return Me._onTextAreaFocus(qe)})),this.register(re.addDisposableDomListener(this.textarea,"blur",function(){return Me._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var Be=this._instantiationService.createInstance(Pe.CoreBrowserService,this.textarea);this._instantiationService.setService(me.ICoreBrowserService,Be),this._charSizeService=this._instantiationService.createInstance(ge.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(me.ICharSizeService,this._charSizeService),this._compositionView=De.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(he.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(Ge),this._theme=this.options.theme||this._theme,this._colorManager=new fe.ColorManager(De,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(qe){return Me._colorManager.onOptionsChange(qe)})),this._colorManager.setTheme(this._theme);var Qe=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(pe.RenderService,Qe,this.rows,this.screenElement)),this._instantiationService.setService(me.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(qe){return Me._onRender.fire(qe)})),this.onResize(function(qe){return Me._renderService.resize(qe.cols,qe.rows)}),this._soundService=this._instantiationService.createInstance(a.SoundService),this._instantiationService.setService(me.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(Se.MouseService),this._instantiationService.setService(me.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(de.Viewport,function(qe,Xe){return Me.scrollLines(qe,Xe)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return Me.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){Me._renderService.onCursorMove(),Me._syncTextArea()})),this.register(this.onResize(function(){return Me._renderService.onResize(Me.cols,Me.rows)})),this.register(this.onBlur(function(){return Me._renderService.onBlur()})),this.register(this.onFocus(function(){return Me._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return Me.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(ae.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(me.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(qe){return Me.scrollLines(qe.amount,qe.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Me._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(qe){return Me._renderService.onSelectionChanged(qe.start,qe.end,qe.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(qe){Me.textarea.value=qe,Me.textarea.focus(),Me.textarea.select()})),this.register(this.onScroll(function(){Me.viewport.syncScrollArea(),Me._selectionService.refresh()})),this.register(re.addDisposableDomListener(this._viewportElement,"scroll",function(){return Me._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return Me._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(re.addDisposableDomListener(this.element,"mousedown",function(qe){return Me._selectionService.onMouseDown(qe)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},Ce.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(ce.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},Ce.prototype._setTheme=function(Ie){var Me,Ge,Be;this._theme=Ie,(Me=this._colorManager)===null||Me===void 0||Me.setTheme(Ie),(Ge=this._renderService)===null||Ge===void 0||Ge.setColors(this._colorManager.colors),(Be=this.viewport)===null||Be===void 0||Be.onThemeChange(this._colorManager.colors)},Ce.prototype.bindMouse=function(){var Ie=this,Me=this,Ge=this.element;function Be(ze){var He,tt,Je=Me._mouseService.getRawByteCoords(ze,Me.screenElement,Me.cols,Me.rows);if(!Je)return!1;switch(ze.overrideType||ze.type){case"mousemove":tt=32,ze.buttons===void 0?(He=3,ze.button!==void 0&&(He=ze.button<3?ze.button:3)):He=1&ze.buttons?0:4&ze.buttons?1:2&ze.buttons?2:3;break;case"mouseup":tt=0,He=ze.button<3?ze.button:3;break;case"mousedown":tt=1,He=ze.button<3?ze.button:3;break;case"wheel":ze.deltaY!==0&&(tt=ze.deltaY<0?0:1),He=4;break;default:return!1}return!(tt===void 0||He===void 0||He>4)&&Me._coreMouseService.triggerMouseEvent({col:Je.x-33,row:Je.y-33,button:He,action:tt,ctrl:ze.ctrlKey,alt:ze.altKey,shift:ze.shiftKey})}var Qe={mouseup:null,wheel:null,mousedrag:null,mousemove:null},qe=function(ze){return Be(ze),ze.buttons||(Ie._document.removeEventListener("mouseup",Qe.mouseup),Qe.mousedrag&&Ie._document.removeEventListener("mousemove",Qe.mousedrag)),Ie.cancel(ze)},Xe=function(ze){return Be(ze),ze.preventDefault(),Ie.cancel(ze)},Ve=function(ze){ze.buttons&&Be(ze)},We=function(ze){ze.buttons||Be(ze)};this.register(this._coreMouseService.onProtocolChange(function(ze){ze?(Ie.optionsService.options.logLevel==="debug"&&Ie._logService.debug("Binding to mouse events:",Ie._coreMouseService.explainEvents(ze)),Ie.element.classList.add("enable-mouse-events"),Ie._selectionService.disable()):(Ie._logService.debug("Unbinding from mouse events."),Ie.element.classList.remove("enable-mouse-events"),Ie._selectionService.enable()),8&ze?Qe.mousemove||(Ge.addEventListener("mousemove",We),Qe.mousemove=We):(Ge.removeEventListener("mousemove",Qe.mousemove),Qe.mousemove=null),16&ze?Qe.wheel||(Ge.addEventListener("wheel",Xe,{passive:!1}),Qe.wheel=Xe):(Ge.removeEventListener("wheel",Qe.wheel),Qe.wheel=null),2&ze?Qe.mouseup||(Qe.mouseup=qe):(Ie._document.removeEventListener("mouseup",Qe.mouseup),Qe.mouseup=null),4&ze?Qe.mousedrag||(Qe.mousedrag=Ve):(Ie._document.removeEventListener("mousemove",Qe.mousedrag),Qe.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(re.addDisposableDomListener(Ge,"mousedown",function(ze){if(ze.preventDefault(),Ie.focus(),Ie._coreMouseService.areMouseEventsActive&&!Ie._selectionService.shouldForceSelection(ze))return Be(ze),Qe.mouseup&&Ie._document.addEventListener("mouseup",Qe.mouseup),Qe.mousedrag&&Ie._document.addEventListener("mousemove",Qe.mousedrag),Ie.cancel(ze)})),this.register(re.addDisposableDomListener(Ge,"wheel",function(ze){if(!Qe.wheel){if(!Ie.buffer.hasScrollback){var He=Ie.viewport.getLinesScrolled(ze);if(He===0)return;for(var tt=ne.C0.ESC+(Ie._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ze.deltaY<0?"A":"B"),Je="",ut=0;ut<Math.abs(He);ut++)Je+=tt;Ie._coreService.triggerDataEvent(Je,!0)}}},{passive:!0})),this.register(re.addDisposableDomListener(Ge,"wheel",function(ze){if(!Qe.wheel)return Ie.viewport.onWheel(ze)?void 0:Ie.cancel(ze)},{passive:!1})),this.register(re.addDisposableDomListener(Ge,"touchstart",function(ze){if(!Ie._coreMouseService.areMouseEventsActive)return Ie.viewport.onTouchStart(ze),Ie.cancel(ze)},{passive:!0})),this.register(re.addDisposableDomListener(Ge,"touchmove",function(ze){if(!Ie._coreMouseService.areMouseEventsActive)return Ie.viewport.onTouchMove(ze)?void 0:Ie.cancel(ze)},{passive:!1}))},Ce.prototype.refresh=function(Ie,Me){var Ge;(Ge=this._renderService)===null||Ge===void 0||Ge.refreshRows(Ie,Me)},Ce.prototype._queueLinkification=function(Ie,Me){var Ge;(Ge=this.linkifier)===null||Ge===void 0||Ge.linkifyRows(Ie,Me)},Ce.prototype.updateCursorStyle=function(Ie){this._selectionService&&this._selectionService.shouldColumnSelect(Ie)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},Ce.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},Ce.prototype.scrollLines=function(Ie,Me){Ae.prototype.scrollLines.call(this,Ie,Me),this.refresh(0,this.rows-1)},Ce.prototype.paste=function(Ie){se.paste(Ie,this.textarea,this._coreService)},Ce.prototype.attachCustomKeyEventHandler=function(Ie){this._customKeyEventHandler=Ie},Ce.prototype.registerLinkMatcher=function(Ie,Me,Ge){var Be=this.linkifier.registerLinkMatcher(Ie,Me,Ge);return this.refresh(0,this.rows-1),Be},Ce.prototype.deregisterLinkMatcher=function(Ie){this.linkifier.deregisterLinkMatcher(Ie)&&this.refresh(0,this.rows-1)},Ce.prototype.registerLinkProvider=function(Ie){return this.linkifier2.registerLinkProvider(Ie)},Ce.prototype.registerCharacterJoiner=function(Ie){var Me=this._renderService.registerCharacterJoiner(Ie);return this.refresh(0,this.rows-1),Me},Ce.prototype.deregisterCharacterJoiner=function(Ie){this._renderService.deregisterCharacterJoiner(Ie)&&this.refresh(0,this.rows-1)},Object.defineProperty(Ce.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),Ce.prototype.addMarker=function(Ie){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+Ie)},Ce.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},Ce.prototype.select=function(Ie,Me,Ge){this._selectionService.setSelection(Ie,Me,Ge)},Ce.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},Ce.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},Ce.prototype.clearSelection=function(){var Ie;(Ie=this._selectionService)===null||Ie===void 0||Ie.clearSelection()},Ce.prototype.selectAll=function(){var Ie;(Ie=this._selectionService)===null||Ie===void 0||Ie.selectAll()},Ce.prototype.selectLines=function(Ie,Me){var Ge;(Ge=this._selectionService)===null||Ge===void 0||Ge.selectLines(Ie,Me)},Ce.prototype._keyDown=function(Ie){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(Ie)===!1)return!1;if(!this._compositionHelper.keydown(Ie))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var Me=z.evaluateKeyboardEvent(Ie,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(Ie),Me.type===3||Me.type===2){var Ge=this.rows-1;return this.scrollLines(Me.type===2?-Ge:Ge),this.cancel(Ie,!0)}return Me.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,Ie)||(Me.cancel&&this.cancel(Ie,!0),!Me.key||(Me.key!==ne.C0.ETX&&Me.key!==ne.C0.CR||(this.textarea.value=""),this._onKey.fire({key:Me.key,domEvent:Ie}),this._showCursor(),this._coreService.triggerDataEvent(Me.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(Ie,!0)))},Ce.prototype._isThirdLevelShift=function(Ie,Me){var Ge=Ie.isMac&&!this.options.macOptionIsMeta&&Me.altKey&&!Me.ctrlKey&&!Me.metaKey||Ie.isWindows&&Me.altKey&&Me.ctrlKey&&!Me.metaKey;return Me.type==="keypress"?Ge:Ge&&(!Me.keyCode||Me.keyCode>47)},Ce.prototype._keyUp=function(Ie){this._customKeyEventHandler&&this._customKeyEventHandler(Ie)===!1||(function(Me){return Me.keyCode===16||Me.keyCode===17||Me.keyCode===18}(Ie)||this.focus(),this.updateCursorStyle(Ie))},Ce.prototype._keyPress=function(Ie){var Me;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(Ie)===!1)return!1;if(this.cancel(Ie),Ie.charCode)Me=Ie.charCode;else if(Ie.which===null||Ie.which===void 0)Me=Ie.keyCode;else{if(Ie.which===0||Ie.charCode===0)return!1;Me=Ie.which}return!(!Me||(Ie.altKey||Ie.ctrlKey||Ie.metaKey)&&!this._isThirdLevelShift(this.browser,Ie))&&(Me=String.fromCharCode(Me),this._onKey.fire({key:Me,domEvent:Ie}),this._showCursor(),this._coreService.triggerDataEvent(Me,!0),!0)},Ce.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},Ce.prototype.resize=function(Ie,Me){Ie!==this.cols||Me!==this.rows?Ae.prototype.resize.call(this,Ie,Me):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},Ce.prototype._afterResize=function(Ie,Me){var Ge,Be;(Ge=this._charSizeService)===null||Ge===void 0||Ge.measure(),(Be=this.viewport)===null||Be===void 0||Be.syncScrollArea(!0)},Ce.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var Ie=1;Ie<this.rows;Ie++)this.buffer.lines.push(this.buffer.getBlankLine(le.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},Ce.prototype.reset=function(){var Ie,Me;this.options.rows=this.rows,this.options.cols=this.cols;var Ge=this._customKeyEventHandler;this._setup(),Ae.prototype.reset.call(this),(Ie=this._selectionService)===null||Ie===void 0||Ie.reset(),this._customKeyEventHandler=Ge,this.refresh(0,this.rows-1),(Me=this.viewport)===null||Me===void 0||Me.syncScrollArea()},Ce.prototype._reportWindowsOptions=function(Ie){if(this._renderService)switch(Ie){case ie.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var Me=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),Ge=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(ne.C0.ESC+"[4;"+Ge+";"+Me+"t");break;case ie.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var Be=this._renderService.dimensions.scaledCellWidth.toFixed(0),Qe=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(ne.C0.ESC+"[6;"+Qe+";"+Be+"t")}},Ce.prototype.cancel=function(Ie,Me){if(this.options.cancelEvents||Me)return Ie.preventDefault(),Ie.stopPropagation(),!1},Ce.prototype._visualBell=function(){return!1},Ce.prototype._soundBell=function(){return this.options.bellStyle==="sound"},Ce}(we.CoreTerminal);ve.Terminal=Ee},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ne,ie,ce,ue){var ae,oe=arguments.length,re=oe<3?ie:ue===null?ue=Object.getOwnPropertyDescriptor(ie,ce):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(ne,ie,ce,ue);else for(var ee=ne.length-1;ee>=0;ee--)(ae=ne[ee])&&(re=(oe<3?ae(re):oe>3?ae(ie,ce,re):ae(ie,ce))||re);return oe>3&&re&&Object.defineProperty(ie,ce,re),re},E=this&&this.__param||function(ne,ie){return function(ce,ue){ie(ce,ue,ne)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.CompositionHelper=void 0;var he=be(5),de=be(1),se=function(){function ne(ie,ce,ue,ae,oe,re){this._textarea=ie,this._compositionView=ce,this._bufferService=ue,this._optionsService=ae,this._charSizeService=oe,this._coreService=re,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(ne.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),ne.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},ne.prototype.compositionupdate=function(ie){var ce=this;this._compositionView.textContent=ie.data,this.updateCompositionElements(),setTimeout(function(){ce._compositionPosition.end=ce._textarea.value.length},0)},ne.prototype.compositionend=function(){this._finalizeComposition(!0)},ne.prototype.keydown=function(ie){if(this._isComposing||this._isSendingComposition){if(ie.keyCode===229||ie.keyCode===16||ie.keyCode===17||ie.keyCode===18)return!1;this._finalizeComposition(!1)}return ie.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},ne.prototype._finalizeComposition=function(ie){var ce=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,ie){var ue={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(ce._isSendingComposition){ce._isSendingComposition=!1;var oe=void 0;oe=ce._isComposing?ce._textarea.value.substring(ue.start,ue.end):ce._textarea.value.substring(ue.start),ce._coreService.triggerDataEvent(oe,!0)}},0)}else{this._isSendingComposition=!1;var ae=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(ae,!0)}},ne.prototype._handleAnyTextareaChanges=function(){var ie=this,ce=this._textarea.value;setTimeout(function(){if(!ie._isComposing){var ue=ie._textarea.value.replace(ce,"");ue.length>0&&ie._coreService.triggerDataEvent(ue,!0)}},0)},ne.prototype.updateCompositionElements=function(ie){var ce=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var ue=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),ae=this._bufferService.buffer.y*ue,oe=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=oe+"px",this._compositionView.style.top=ae+"px",this._compositionView.style.height=ue+"px",this._compositionView.style.lineHeight=ue+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var re=this._compositionView.getBoundingClientRect();this._textarea.style.left=oe+"px",this._textarea.style.top=ae+"px",this._textarea.style.width=re.width+"px",this._textarea.style.height=re.height+"px",this._textarea.style.lineHeight=re.height+"px"}ie||setTimeout(function(){return ce.updateCompositionElements(!0)},0)}},ne=_e([E(2,de.IBufferService),E(3,de.IOptionsService),E(4,he.ICharSizeService),E(5,de.ICoreService)],ne)}();ve.CompositionHelper=se},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ee){re.__proto__=ee}||function(re,ee){for(var a in ee)ee.hasOwnProperty(a)&&(re[a]=ee[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),he=this&&this.__decorate||function(ae,oe,re,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,re):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,re,ee);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},de=this&&this.__param||function(ae,oe){return function(re,ee){oe(re,ee,ae)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.Viewport=void 0;var se=be(2),ne=be(7),ie=be(5),ce=be(1),ue=function(ae){function oe(re,ee,a,y,x,b,z){var te=ae.call(this)||this;return te._scrollLines=re,te._viewportElement=ee,te._scrollArea=a,te._bufferService=y,te._optionsService=x,te._charSizeService=b,te._renderService=z,te.scrollBarWidth=0,te._currentRowHeight=0,te._lastRecordedBufferLength=0,te._lastRecordedViewportHeight=0,te._lastRecordedBufferHeight=0,te._lastTouchY=0,te._lastScrollTop=0,te._wheelPartialScroll=0,te._refreshAnimationFrame=null,te._ignoreNextScrollEvent=!1,te.scrollBarWidth=te._viewportElement.offsetWidth-te._scrollArea.offsetWidth||15,te.register(ne.addDisposableDomListener(te._viewportElement,"scroll",te._onScroll.bind(te))),setTimeout(function(){return te.syncScrollArea()},0),te}return E(oe,ae),oe.prototype.onThemeChange=function(re){this._viewportElement.style.backgroundColor=re.background.css},oe.prototype._refresh=function(re){var ee=this;if(re)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return ee._innerRefresh()}))},oe.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var re=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==re&&(this._lastRecordedBufferHeight=re,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var ee=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==ee&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=ee),this._refreshAnimationFrame=null},oe.prototype.syncScrollArea=function(re){if(re===void 0&&(re=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(re);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var ee=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===ee&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(re)}else this._refresh(re)},oe.prototype._onScroll=function(re){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var ee=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(ee,!0)}},oe.prototype._bubbleScroll=function(re,ee){var a=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(ee<0&&this._viewportElement.scrollTop!==0||ee>0&&a<this._lastRecordedBufferHeight)||(re.cancelable&&re.preventDefault(),!1)},oe.prototype.onWheel=function(re){var ee=this._getPixelsScrolled(re);return ee!==0&&(this._viewportElement.scrollTop+=ee,this._bubbleScroll(re,ee))},oe.prototype._getPixelsScrolled=function(re){if(re.deltaY===0)return 0;var ee=this._applyScrollModifier(re.deltaY,re);return re.deltaMode===WheelEvent.DOM_DELTA_LINE?ee*=this._currentRowHeight:re.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(ee*=this._currentRowHeight*this._bufferService.rows),ee},oe.prototype.getLinesScrolled=function(re){if(re.deltaY===0)return 0;var ee=this._applyScrollModifier(re.deltaY,re);return re.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(ee/=this._currentRowHeight+0,this._wheelPartialScroll+=ee,ee=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):re.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(ee*=this._bufferService.rows),ee},oe.prototype._applyScrollModifier=function(re,ee){var a=this._optionsService.options.fastScrollModifier;return a==="alt"&&ee.altKey||a==="ctrl"&&ee.ctrlKey||a==="shift"&&ee.shiftKey?re*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:re*this._optionsService.options.scrollSensitivity},oe.prototype.onTouchStart=function(re){this._lastTouchY=re.touches[0].pageY},oe.prototype.onTouchMove=function(re){var ee=this._lastTouchY-re.touches[0].pageY;return this._lastTouchY=re.touches[0].pageY,ee!==0&&(this._viewportElement.scrollTop+=ee,this._bubbleScroll(re,ee))},oe=he([de(3,ce.IBufferService),de(4,ce.IOptionsService),de(5,ie.ICharSizeService),de(6,ie.IRenderService)],oe)}(se.Disposable);ve.Viewport=ue},function(dt,ve,be){"use strict";function _e(se){return se.replace(/\r?\n/g,"\r")}function E(se,ne){return ne?"\x1B[200~"+se+"\x1B[201~":se}function he(se,ne,ie){se=E(se=_e(se),ie.decPrivateModes.bracketedPasteMode),ie.triggerDataEvent(se,!0),ne.value=""}function de(se,ne,ie){var ce=ie.getBoundingClientRect(),ue=se.clientX-ce.left-10,ae=se.clientY-ce.top-10;ne.style.width="20px",ne.style.height="20px",ne.style.left=ue+"px",ne.style.top=ae+"px",ne.style.zIndex="1000",ne.focus()}Object.defineProperty(ve,"__esModule",{value:!0}),ve.rightClickHandler=ve.moveTextAreaUnderMouseCursor=ve.paste=ve.handlePasteEvent=ve.copyHandler=ve.bracketTextForPaste=ve.prepareTextForTerminal=void 0,ve.prepareTextForTerminal=_e,ve.bracketTextForPaste=E,ve.copyHandler=function(se,ne){se.clipboardData&&se.clipboardData.setData("text/plain",ne.selectionText),se.preventDefault()},ve.handlePasteEvent=function(se,ne,ie){se.stopPropagation(),se.clipboardData&&he(se.clipboardData.getData("text/plain"),ne,ie)},ve.paste=he,ve.moveTextAreaUnderMouseCursor=de,ve.rightClickHandler=function(se,ne,ie,ce,ue){de(se,ne,ie),ue&&!ce.isClickInSelection(se)&&ce.selectWordAtCursor(se),ne.value=ce.selectionText,ne.select()}},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ee){re.__proto__=ee}||function(re,ee){for(var a in ee)ee.hasOwnProperty(a)&&(re[a]=ee[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.EscapeSequenceParser=ve.VT500_TRANSITION_TABLE=ve.TransitionTable=void 0;var he=be(2),de=be(15),se=be(21),ne=be(22),ie=be(24),ce=function(){function ae(oe){this.table=new Uint8Array(oe)}return ae.prototype.setDefault=function(oe,re){de.fill(this.table,oe<<4|re)},ae.prototype.add=function(oe,re,ee,a){this.table[re<<8|oe]=ee<<4|a},ae.prototype.addMany=function(oe,re,ee,a){for(var y=0;y<oe.length;y++)this.table[re<<8|oe[y]]=ee<<4|a},ae}();ve.TransitionTable=ce,ve.VT500_TRANSITION_TABLE=function(){var ae=new ce(4095),oe=Array.apply(null,Array(256)).map(function(b,z){return z}),re=function(b,z){return oe.slice(b,z)},ee=re(32,127),a=re(0,24);a.push(25),a.push.apply(a,re(28,32));var y,x=re(0,14);for(y in ae.setDefault(1,0),ae.addMany(ee,0,2,0),x)ae.addMany([24,26,153,154],y,3,0),ae.addMany(re(128,144),y,3,0),ae.addMany(re(144,152),y,3,0),ae.add(156,y,0,0),ae.add(27,y,11,1),ae.add(157,y,4,8),ae.addMany([152,158,159],y,0,7),ae.add(155,y,11,3),ae.add(144,y,11,9);return ae.addMany(a,0,3,0),ae.addMany(a,1,3,1),ae.add(127,1,0,1),ae.addMany(a,8,0,8),ae.addMany(a,3,3,3),ae.add(127,3,0,3),ae.addMany(a,4,3,4),ae.add(127,4,0,4),ae.addMany(a,6,3,6),ae.addMany(a,5,3,5),ae.add(127,5,0,5),ae.addMany(a,2,3,2),ae.add(127,2,0,2),ae.add(93,1,4,8),ae.addMany(ee,8,5,8),ae.add(127,8,5,8),ae.addMany([156,27,24,26,7],8,6,0),ae.addMany(re(28,32),8,0,8),ae.addMany([88,94,95],1,0,7),ae.addMany(ee,7,0,7),ae.addMany(a,7,0,7),ae.add(156,7,0,0),ae.add(127,7,0,7),ae.add(91,1,11,3),ae.addMany(re(64,127),3,7,0),ae.addMany(re(48,60),3,8,4),ae.addMany([60,61,62,63],3,9,4),ae.addMany(re(48,60),4,8,4),ae.addMany(re(64,127),4,7,0),ae.addMany([60,61,62,63],4,0,6),ae.addMany(re(32,64),6,0,6),ae.add(127,6,0,6),ae.addMany(re(64,127),6,0,0),ae.addMany(re(32,48),3,9,5),ae.addMany(re(32,48),5,9,5),ae.addMany(re(48,64),5,0,6),ae.addMany(re(64,127),5,7,0),ae.addMany(re(32,48),4,9,5),ae.addMany(re(32,48),1,9,2),ae.addMany(re(32,48),2,9,2),ae.addMany(re(48,127),2,10,0),ae.addMany(re(48,80),1,10,0),ae.addMany(re(81,88),1,10,0),ae.addMany([89,90,92],1,10,0),ae.addMany(re(96,127),1,10,0),ae.add(80,1,11,9),ae.addMany(a,9,0,9),ae.add(127,9,0,9),ae.addMany(re(28,32),9,0,9),ae.addMany(re(32,48),9,9,12),ae.addMany(re(48,60),9,8,10),ae.addMany([60,61,62,63],9,9,10),ae.addMany(a,11,0,11),ae.addMany(re(32,128),11,0,11),ae.addMany(re(28,32),11,0,11),ae.addMany(a,10,0,10),ae.add(127,10,0,10),ae.addMany(re(28,32),10,0,10),ae.addMany(re(48,60),10,8,10),ae.addMany([60,61,62,63],10,0,11),ae.addMany(re(32,48),10,9,12),ae.addMany(a,12,0,12),ae.add(127,12,0,12),ae.addMany(re(28,32),12,0,12),ae.addMany(re(32,48),12,9,12),ae.addMany(re(48,64),12,0,11),ae.addMany(re(64,127),12,12,13),ae.addMany(re(64,127),10,12,13),ae.addMany(re(64,127),9,12,13),ae.addMany(a,13,13,13),ae.addMany(ee,13,13,13),ae.add(127,13,0,13),ae.addMany([27,156,24,26],13,14,0),ae.add(160,0,2,0),ae.add(160,8,5,8),ae.add(160,6,0,6),ae.add(160,11,0,11),ae.add(160,13,13,13),ae}();var ue=function(ae){function oe(re){re===void 0&&(re=ve.VT500_TRANSITION_TABLE);var ee=ae.call(this)||this;return ee._transitions=re,ee.initialState=0,ee.currentState=ee.initialState,ee._params=new se.Params,ee._params.addParam(0),ee._collect=0,ee.precedingCodepoint=0,ee._printHandlerFb=function(a,y,x){},ee._executeHandlerFb=function(a){},ee._csiHandlerFb=function(a,y){},ee._escHandlerFb=function(a){},ee._errorHandlerFb=function(a){return a},ee._printHandler=ee._printHandlerFb,ee._executeHandlers=Object.create(null),ee._csiHandlers=Object.create(null),ee._escHandlers=Object.create(null),ee._oscParser=new ne.OscParser,ee._dcsParser=new ie.DcsParser,ee._errorHandler=ee._errorHandlerFb,ee.setEscHandler({final:"\\"},function(){}),ee}return E(oe,ae),oe.prototype._identifier=function(re,ee){ee===void 0&&(ee=[64,126]);var a=0;if(re.prefix){if(re.prefix.length>1)throw new Error("only one byte as prefix supported");if((a=re.prefix.charCodeAt(0))&&60>a||a>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(re.intermediates){if(re.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var y=0;y<re.intermediates.length;++y){var x=re.intermediates.charCodeAt(y);if(32>x||x>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");a<<=8,a|=x}}if(re.final.length!==1)throw new Error("final must be a single byte");var b=re.final.charCodeAt(0);if(ee[0]>b||b>ee[1])throw new Error("final must be in range "+ee[0]+" .. "+ee[1]);return a<<=8,a|=b},oe.prototype.identToString=function(re){for(var ee=[];re;)ee.push(String.fromCharCode(255&re)),re>>=8;return ee.reverse().join("")},oe.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},oe.prototype.setPrintHandler=function(re){this._printHandler=re},oe.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},oe.prototype.addEscHandler=function(re,ee){var a=this._identifier(re,[48,126]);this._escHandlers[a]===void 0&&(this._escHandlers[a]=[]);var y=this._escHandlers[a];return y.push(ee),{dispose:function(){var x=y.indexOf(ee);x!==-1&&y.splice(x,1)}}},oe.prototype.setEscHandler=function(re,ee){this._escHandlers[this._identifier(re,[48,126])]=[ee]},oe.prototype.clearEscHandler=function(re){this._escHandlers[this._identifier(re,[48,126])]&&delete this._escHandlers[this._identifier(re,[48,126])]},oe.prototype.setEscHandlerFallback=function(re){this._escHandlerFb=re},oe.prototype.setExecuteHandler=function(re,ee){this._executeHandlers[re.charCodeAt(0)]=ee},oe.prototype.clearExecuteHandler=function(re){this._executeHandlers[re.charCodeAt(0)]&&delete this._executeHandlers[re.charCodeAt(0)]},oe.prototype.setExecuteHandlerFallback=function(re){this._executeHandlerFb=re},oe.prototype.addCsiHandler=function(re,ee){var a=this._identifier(re);this._csiHandlers[a]===void 0&&(this._csiHandlers[a]=[]);var y=this._csiHandlers[a];return y.push(ee),{dispose:function(){var x=y.indexOf(ee);x!==-1&&y.splice(x,1)}}},oe.prototype.setCsiHandler=function(re,ee){this._csiHandlers[this._identifier(re)]=[ee]},oe.prototype.clearCsiHandler=function(re){this._csiHandlers[this._identifier(re)]&&delete this._csiHandlers[this._identifier(re)]},oe.prototype.setCsiHandlerFallback=function(re){this._csiHandlerFb=re},oe.prototype.addDcsHandler=function(re,ee){return this._dcsParser.addHandler(this._identifier(re),ee)},oe.prototype.setDcsHandler=function(re,ee){this._dcsParser.setHandler(this._identifier(re),ee)},oe.prototype.clearDcsHandler=function(re){this._dcsParser.clearHandler(this._identifier(re))},oe.prototype.setDcsHandlerFallback=function(re){this._dcsParser.setHandlerFallback(re)},oe.prototype.addOscHandler=function(re,ee){return this._oscParser.addHandler(re,ee)},oe.prototype.setOscHandler=function(re,ee){this._oscParser.setHandler(re,ee)},oe.prototype.clearOscHandler=function(re){this._oscParser.clearHandler(re)},oe.prototype.setOscHandlerFallback=function(re){this._oscParser.setHandlerFallback(re)},oe.prototype.setErrorHandler=function(re){this._errorHandler=re},oe.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},oe.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},oe.prototype.parse=function(re,ee){for(var a=0,y=0,x=this.currentState,b=this._oscParser,z=this._dcsParser,te=this._collect,le=this._params,fe=this._transitions.table,pe=0;pe<ee;++pe){switch((y=fe[x<<8|((a=re[pe])<160?a:160)])>>4){case 2:for(var me=pe+1;;++me){if(me>=ee||(a=re[me])<32||a>126&&a<160){this._printHandler(re,pe,me),pe=me-1;break}if(++me>=ee||(a=re[me])<32||a>126&&a<160){this._printHandler(re,pe,me),pe=me-1;break}if(++me>=ee||(a=re[me])<32||a>126&&a<160){this._printHandler(re,pe,me),pe=me-1;break}if(++me>=ee||(a=re[me])<32||a>126&&a<160){this._printHandler(re,pe,me),pe=me-1;break}}break;case 3:this._executeHandlers[a]?this._executeHandlers[a]():this._executeHandlerFb(a),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:pe,code:a,currentState:x,collect:te,params:le,abort:!1}).abort)return;break;case 7:for(var ge=this._csiHandlers[te<<8|a],Se=ge?ge.length-1:-1;Se>=0&&ge[Se](le)===!1;Se--);Se<0&&this._csiHandlerFb(te<<8|a,le),this.precedingCodepoint=0;break;case 8:do switch(a){case 59:le.addParam(0);break;case 58:le.addSubParam(-1);break;default:le.addDigit(a-48)}while(++pe<ee&&(a=re[pe])>47&&a<60);pe--;break;case 9:te<<=8,te|=a;break;case 10:for(var ye=this._escHandlers[te<<8|a],Pe=ye?ye.length-1:-1;Pe>=0&&ye[Pe]()===!1;Pe--);Pe<0&&this._escHandlerFb(te<<8|a),this.precedingCodepoint=0;break;case 11:le.reset(),le.addParam(0),te=0;break;case 12:z.hook(te<<8|a,le);break;case 13:for(var we=pe+1;;++we)if(we>=ee||(a=re[we])===24||a===26||a===27||a>127&&a<160){z.put(re,pe,we),pe=we-1;break}break;case 14:z.unhook(a!==24&&a!==26),a===27&&(y|=1),le.reset(),le.addParam(0),te=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var De=pe+1;;De++)if(De>=ee||(a=re[De])<32||a>127&&a<=159){b.put(re,pe,De),pe=De-1;break}break;case 6:b.end(a!==24&&a!==26),a===27&&(y|=1),le.reset(),le.addParam(0),te=0,this.precedingCodepoint=0}x=15&y}this._collect=te,this.currentState=x},oe}(he.Disposable);ve.EscapeSequenceParser=ue},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(b,z){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,le){te.__proto__=le}||function(te,le){for(var fe in le)le.hasOwnProperty(fe)&&(te[fe]=le[fe])})(b,z)},function(b,z){function te(){this.constructor=b}_e(b,z),b.prototype=z===null?Object.create(z):(te.prototype=z.prototype,new te)}),he=this&&this.__decorate||function(b,z,te,le){var fe,pe=arguments.length,me=pe<3?z:le===null?le=Object.getOwnPropertyDescriptor(z,te):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")me=Reflect.decorate(b,z,te,le);else for(var ge=b.length-1;ge>=0;ge--)(fe=b[ge])&&(me=(pe<3?fe(me):pe>3?fe(z,te,me):fe(z,te))||me);return pe>3&&me&&Object.defineProperty(z,te,me),me},de=this&&this.__param||function(b,z){return function(te,le){z(te,le,b)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.Renderer=void 0;var se=be(41),ne=be(47),ie=be(48),ce=be(49),ue=be(29),ae=be(2),oe=be(5),re=be(1),ee=be(25),a=be(0),y=1,x=function(b){function z(te,le,fe,pe,me,ge,Se,ye,Pe){var we=b.call(this)||this;we._colors=te,we._screenElement=le,we._bufferService=me,we._charSizeService=ge,we._optionsService=Se,we._id=y++,we._onRequestRedraw=new a.EventEmitter;var De=we._optionsService.options.allowTransparency;return we._characterJoinerRegistry=new ue.CharacterJoinerRegistry(we._bufferService),we._renderLayers=[new se.TextRenderLayer(we._screenElement,0,we._colors,we._characterJoinerRegistry,De,we._id,we._bufferService,Se),new ne.SelectionRenderLayer(we._screenElement,1,we._colors,we._id,we._bufferService,Se),new ce.LinkRenderLayer(we._screenElement,2,we._colors,we._id,fe,pe,we._bufferService,Se),new ie.CursorRenderLayer(we._screenElement,3,we._colors,we._id,we._onRequestRedraw,we._bufferService,Se,ye,Pe)],we.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},we._devicePixelRatio=window.devicePixelRatio,we._updateDimensions(),we.onOptionsChanged(),we}return E(z,b),Object.defineProperty(z.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),z.prototype.dispose=function(){for(var te=0,le=this._renderLayers;te<le.length;te++)le[te].dispose();b.prototype.dispose.call(this),ee.removeTerminalFromCache(this._id)},z.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},z.prototype.setColors=function(te){this._colors=te;for(var le=0,fe=this._renderLayers;le<fe.length;le++){var pe=fe[le];pe.setColors(this._colors),pe.reset()}},z.prototype.onResize=function(te,le){this._updateDimensions();for(var fe=0,pe=this._renderLayers;fe<pe.length;fe++)pe[fe].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},z.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},z.prototype.onBlur=function(){this._runOperation(function(te){return te.onBlur()})},z.prototype.onFocus=function(){this._runOperation(function(te){return te.onFocus()})},z.prototype.onSelectionChanged=function(te,le,fe){fe===void 0&&(fe=!1),this._runOperation(function(pe){return pe.onSelectionChanged(te,le,fe)})},z.prototype.onCursorMove=function(){this._runOperation(function(te){return te.onCursorMove()})},z.prototype.onOptionsChanged=function(){this._runOperation(function(te){return te.onOptionsChanged()})},z.prototype.clear=function(){this._runOperation(function(te){return te.reset()})},z.prototype._runOperation=function(te){for(var le=0,fe=this._renderLayers;le<fe.length;le++)te(fe[le])},z.prototype.renderRows=function(te,le){for(var fe=0,pe=this._renderLayers;fe<pe.length;fe++)pe[fe].onGridChanged(te,le)},z.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},z.prototype.registerCharacterJoiner=function(te){return this._characterJoinerRegistry.registerCharacterJoiner(te)},z.prototype.deregisterCharacterJoiner=function(te){return this._characterJoinerRegistry.deregisterCharacterJoiner(te)},z=he([de(4,re.IBufferService),de(5,oe.ICharSizeService),de(6,re.IOptionsService),de(7,re.ICoreService),de(8,oe.ICoreBrowserService)],z)}(ae.Disposable);ve.Renderer=x},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ee){re.__proto__=ee}||function(re,ee){for(var a in ee)ee.hasOwnProperty(a)&&(re[a]=ee[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.TextRenderLayer=void 0;var he=be(42),de=be(13),se=be(6),ne=be(3),ie=be(29),ce=be(4),ue=function(ae){function oe(re,ee,a,y,x,b,z,te){var le=ae.call(this,re,"text",ee,x,a,b,z,te)||this;return le._characterWidth=0,le._characterFont="",le._characterOverlapCache={},le._workCell=new ce.CellData,le._state=new he.GridCache,le._characterJoinerRegistry=y,le}return E(oe,ae),oe.prototype.resize=function(re){ae.prototype.resize.call(this,re);var ee=this._getFont(!1,!1);this._characterWidth===re.scaledCharWidth&&this._characterFont===ee||(this._characterWidth=re.scaledCharWidth,this._characterFont=ee,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},oe.prototype.reset=function(){this._state.clear(),this._clearAll()},oe.prototype._forEachCell=function(re,ee,a,y){for(var x=re;x<=ee;x++)for(var b=x+this._bufferService.buffer.ydisp,z=this._bufferService.buffer.lines.get(b),te=a?a.getJoinedCharacters(b):[],le=0;le<this._bufferService.cols;le++){z.loadCell(le,this._workCell);var fe=this._workCell,pe=!1,me=le;if(fe.getWidth()!==0){if(te.length>0&&le===te[0][0]){pe=!0;var ge=te.shift();fe=new ie.JoinedCellData(this._workCell,z.translateToString(!0,ge[0],ge[1]),ge[1]-ge[0]),me=ge[1]-1}!pe&&this._isOverlapping(fe)&&me<z.length-1&&z.getCodePoint(me+1)===ne.NULL_CELL_CODE&&(fe.content&=-12582913,fe.content|=2<<22),y(fe,le,x),le=me}}},oe.prototype._drawBackground=function(re,ee){var a=this,y=this._ctx,x=this._bufferService.cols,b=0,z=0,te=null;y.save(),this._forEachCell(re,ee,null,function(le,fe,pe){var me=null;le.isInverse()?me=le.isFgDefault()?a._colors.foreground.css:le.isFgRGB()?"rgb("+se.AttributeData.toColorRGB(le.getFgColor()).join(",")+")":a._colors.ansi[le.getFgColor()].css:le.isBgRGB()?me="rgb("+se.AttributeData.toColorRGB(le.getBgColor()).join(",")+")":le.isBgPalette()&&(me=a._colors.ansi[le.getBgColor()].css),te===null&&(b=fe,z=pe),pe!==z?(y.fillStyle=te||"",a._fillCells(b,z,x-b,1),b=fe,z=pe):te!==me&&(y.fillStyle=te||"",a._fillCells(b,z,fe-b,1),b=fe,z=pe),te=me}),te!==null&&(y.fillStyle=te,this._fillCells(b,z,x-b,1)),y.restore()},oe.prototype._drawForeground=function(re,ee){var a=this;this._forEachCell(re,ee,this._characterJoinerRegistry,function(y,x,b){if(!y.isInvisible()&&(a._drawChars(y,x,b),y.isUnderline())){if(a._ctx.save(),y.isInverse())if(y.isBgDefault())a._ctx.fillStyle=a._colors.background.css;else if(y.isBgRGB())a._ctx.fillStyle="rgb("+se.AttributeData.toColorRGB(y.getBgColor()).join(",")+")";else{var z=y.getBgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&z<8&&(z+=8),a._ctx.fillStyle=a._colors.ansi[z].css}else if(y.isFgDefault())a._ctx.fillStyle=a._colors.foreground.css;else if(y.isFgRGB())a._ctx.fillStyle="rgb("+se.AttributeData.toColorRGB(y.getFgColor()).join(",")+")";else{var te=y.getFgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&te<8&&(te+=8),a._ctx.fillStyle=a._colors.ansi[te].css}a._fillBottomLineAtCells(x,b,y.getWidth()),a._ctx.restore()}})},oe.prototype.onGridChanged=function(re,ee){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,re,this._bufferService.cols,ee-re+1),this._drawBackground(re,ee),this._drawForeground(re,ee))},oe.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},oe.prototype._isOverlapping=function(re){if(re.getWidth()!==1||re.getCode()<256)return!1;var ee=re.getChars();if(this._characterOverlapCache.hasOwnProperty(ee))return this._characterOverlapCache[ee];this._ctx.save(),this._ctx.font=this._characterFont;var a=Math.floor(this._ctx.measureText(ee).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[ee]=a,a},oe}(de.BaseRenderLayer);ve.TextRenderLayer=ue},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.GridCache=void 0;var _e=function(){function E(){this.cache=[]}return E.prototype.resize=function(he,de){for(var se=0;se<he;se++){this.cache.length<=se&&this.cache.push([]);for(var ne=this.cache[se].length;ne<de;ne++)this.cache[se].push(void 0);this.cache[se].length=de}this.cache.length=he},E.prototype.clear=function(){for(var he=0;he<this.cache.length;he++)for(var de=0;de<this.cache[he].length;de++)this.cache[he][de]=void 0},E}();ve.GridCache=_e},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(a,y){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,b){x.__proto__=b}||function(x,b){for(var z in b)b.hasOwnProperty(z)&&(x[z]=b[z])})(a,y)},function(a,y){function x(){this.constructor=a}_e(a,y),a.prototype=y===null?Object.create(y):(x.prototype=y.prototype,new x)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.NoneCharAtlas=ve.DynamicCharAtlas=ve.getGlyphCacheKey=void 0;var he=be(9),de=be(44),se=be(27),ne=be(46),ie=be(11),ce=be(28),ue=be(10),ae={css:"rgba(0, 0, 0, 0)",rgba:0};function oe(a){return a.code<<21|a.bg<<12|a.fg<<3|(a.bold?0:4)+(a.dim?0:2)+(a.italic?0:1)}ve.getGlyphCacheKey=oe;var re=function(a){function y(x,b){var z=a.call(this)||this;z._config=b,z._drawToCacheCount=0,z._glyphsWaitingOnBitmap=[],z._bitmapCommitTimeout=null,z._bitmap=null,z._cacheCanvas=x.createElement("canvas"),z._cacheCanvas.width=1024,z._cacheCanvas.height=1024,z._cacheCtx=ce.throwIfFalsy(z._cacheCanvas.getContext("2d",{alpha:!0}));var te=x.createElement("canvas");te.width=z._config.scaledCharWidth,te.height=z._config.scaledCharHeight,z._tmpCtx=ce.throwIfFalsy(te.getContext("2d",{alpha:z._config.allowTransparency})),z._width=Math.floor(1024/z._config.scaledCharWidth),z._height=Math.floor(1024/z._config.scaledCharHeight);var le=z._width*z._height;return z._cacheMap=new ne.LRUMap(le),z._cacheMap.prealloc(le),z}return E(y,a),y.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},y.prototype.beginFrame=function(){this._drawToCacheCount=0},y.prototype.draw=function(x,b,z,te){if(b.code===32)return!0;if(!this._canCache(b))return!1;var le=oe(b),fe=this._cacheMap.get(le);if(fe!=null)return this._drawFromCache(x,fe,z,te),!0;if(this._drawToCacheCount<100){var pe=void 0;pe=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var me=this._drawToCache(b,pe);return this._cacheMap.set(le,me),this._drawFromCache(x,me,z,te),!0}return!1},y.prototype._canCache=function(x){return x.code<256},y.prototype._toCoordinateX=function(x){return x%this._width*this._config.scaledCharWidth},y.prototype._toCoordinateY=function(x){return Math.floor(x/this._width)*this._config.scaledCharHeight},y.prototype._drawFromCache=function(x,b,z,te){if(!b.isEmpty){var le=this._toCoordinateX(b.index),fe=this._toCoordinateY(b.index);x.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,le,fe,this._config.scaledCharWidth,this._config.scaledCharHeight,z,te,this._config.scaledCharWidth,this._config.scaledCharHeight)}},y.prototype._getColorFromAnsiIndex=function(x){return x<this._config.colors.ansi.length?this._config.colors.ansi[x]:se.DEFAULT_ANSI_COLORS[x]},y.prototype._getBackgroundColor=function(x){return this._config.allowTransparency?ae:x.bg===he.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:x.bg<256?this._getColorFromAnsiIndex(x.bg):this._config.colors.background},y.prototype._getForegroundColor=function(x){return x.fg===he.INVERTED_DEFAULT_COLOR?ue.color.opaque(this._config.colors.background):x.fg<256?this._getColorFromAnsiIndex(x.fg):this._config.colors.foreground},y.prototype._drawToCache=function(x,b){this._drawToCacheCount++,this._tmpCtx.save();var z=this._getBackgroundColor(x);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=z.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var te=x.bold?this._config.fontWeightBold:this._config.fontWeight,le=x.italic?"italic":"";this._tmpCtx.font=le+" "+te+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(x).css,x.dim&&(this._tmpCtx.globalAlpha=he.DIM_OPACITY),this._tmpCtx.fillText(x.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var fe=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),pe=!1;this._config.allowTransparency||(pe=function(ye,Pe){for(var we=!0,De=Pe.rgba>>>24,Ee=Pe.rgba>>>16&255,Ae=Pe.rgba>>>8&255,Ce=0;Ce<ye.data.length;Ce+=4)ye.data[Ce]===De&&ye.data[Ce+1]===Ee&&ye.data[Ce+2]===Ae?ye.data[Ce+3]=0:we=!1;return we}(fe,z));var me=this._toCoordinateX(b),ge=this._toCoordinateY(b);this._cacheCtx.putImageData(fe,me,ge);var Se={index:b,isEmpty:pe,inBitmap:!1};return this._addGlyphToBitmap(Se),Se},y.prototype._addGlyphToBitmap=function(x){var b=this;!("createImageBitmap"in window)||ie.isFirefox||ie.isSafari||(this._glyphsWaitingOnBitmap.push(x),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return b._generateBitmap()},100)))},y.prototype._generateBitmap=function(){var x=this,b=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(z){x._bitmap=z;for(var te=0;te<b.length;te++)b[te].inBitmap=!0}),this._bitmapCommitTimeout=null},y}(de.BaseCharAtlas);ve.DynamicCharAtlas=re;var ee=function(a){function y(x,b){return a.call(this)||this}return E(y,a),y.prototype.draw=function(x,b,z,te){return!1},y}(de.BaseCharAtlas);ve.NoneCharAtlas=ee},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.BaseCharAtlas=void 0;var _e=function(){function E(){this._didWarmUp=!1}return E.prototype.dispose=function(){},E.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},E.prototype._doWarmUp=function(){},E.prototype.beginFrame=function(){},E}();ve.BaseCharAtlas=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.ColorContrastCache=void 0;var _e=function(){function E(){this._color={},this._rgba={}}return E.prototype.clear=function(){this._color={},this._rgba={}},E.prototype.setCss=function(he,de,se){this._rgba[he]||(this._rgba[he]={}),this._rgba[he][de]=se},E.prototype.getCss=function(he,de){return this._rgba[he]?this._rgba[he][de]:void 0},E.prototype.setColor=function(he,de,se){this._color[he]||(this._color[he]={}),this._color[he][de]=se},E.prototype.getColor=function(he,de){return this._color[he]?this._color[he][de]:void 0},E}();ve.ColorContrastCache=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.LRUMap=void 0;var _e=function(){function E(he){this.capacity=he,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return E.prototype._unlinkNode=function(he){var de=he.prev,se=he.next;he===this._head&&(this._head=se),he===this._tail&&(this._tail=de),de!==null&&(de.next=se),se!==null&&(se.prev=de)},E.prototype._appendNode=function(he){var de=this._tail;de!==null&&(de.next=he),he.prev=de,he.next=null,this._tail=he,this._head===null&&(this._head=he)},E.prototype.prealloc=function(he){for(var de=this._nodePool,se=0;se<he;se++)de.push({prev:null,next:null,key:null,value:null})},E.prototype.get=function(he){var de=this._map[he];return de!==void 0?(this._unlinkNode(de),this._appendNode(de),de.value):null},E.prototype.peekValue=function(he){var de=this._map[he];return de!==void 0?de.value:null},E.prototype.peek=function(){var he=this._head;return he===null?null:he.value},E.prototype.set=function(he,de){var se=this._map[he];if(se!==void 0)se=this._map[he],this._unlinkNode(se),se.value=de;else if(this.size>=this.capacity)se=this._head,this._unlinkNode(se),delete this._map[se.key],se.key=he,se.value=de,this._map[he]=se;else{var ne=this._nodePool;ne.length>0?((se=ne.pop()).key=he,se.value=de):se={prev:null,next:null,key:he,value:de},this._map[he]=se,this.size++}this._appendNode(se)},E}();ve.LRUMap=_e},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(de,se){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ie){ne.__proto__=ie}||function(ne,ie){for(var ce in ie)ie.hasOwnProperty(ce)&&(ne[ce]=ie[ce])})(de,se)},function(de,se){function ne(){this.constructor=de}_e(de,se),de.prototype=se===null?Object.create(se):(ne.prototype=se.prototype,new ne)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.SelectionRenderLayer=void 0;var he=function(de){function se(ne,ie,ce,ue,ae,oe){var re=de.call(this,ne,"selection",ie,!0,ce,ue,ae,oe)||this;return re._clearState(),re}return E(se,de),se.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},se.prototype.resize=function(ne){de.prototype.resize.call(this,ne),this._clearState()},se.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},se.prototype.onSelectionChanged=function(ne,ie,ce){if(this._didStateChange(ne,ie,ce,this._bufferService.buffer.ydisp))if(this._clearAll(),ne&&ie){var ue=ne[1]-this._bufferService.buffer.ydisp,ae=ie[1]-this._bufferService.buffer.ydisp,oe=Math.max(ue,0),re=Math.min(ae,this._bufferService.rows-1);if(!(oe>=this._bufferService.rows||re<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,ce){var ee=ne[0],a=ie[0]-ee,y=re-oe+1;this._fillCells(ee,oe,a,y)}else{ee=ue===oe?ne[0]:0;var x=oe===re?ie[0]:this._bufferService.cols;this._fillCells(ee,oe,x-ee,1);var b=Math.max(re-oe-1,0);if(this._fillCells(0,oe+1,this._bufferService.cols,b),oe!==re){var z=ae===re?ie[0]:this._bufferService.cols;this._fillCells(0,re,z,1)}}this._state.start=[ne[0],ne[1]],this._state.end=[ie[0],ie[1]],this._state.columnSelectMode=ce,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},se.prototype._didStateChange=function(ne,ie,ce,ue){return!this._areCoordinatesEqual(ne,this._state.start)||!this._areCoordinatesEqual(ie,this._state.end)||ce!==this._state.columnSelectMode||ue!==this._state.ydisp},se.prototype._areCoordinatesEqual=function(ne,ie){return!(!ne||!ie)&&ne[0]===ie[0]&&ne[1]===ie[1]},se}(be(13).BaseRenderLayer);ve.SelectionRenderLayer=he},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ie,ce){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ae){ue.__proto__=ae}||function(ue,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ue[oe]=ae[oe])})(ie,ce)},function(ie,ce){function ue(){this.constructor=ie}_e(ie,ce),ie.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.CursorRenderLayer=void 0;var he=be(13),de=be(4),se=function(ie){function ce(ue,ae,oe,re,ee,a,y,x,b){var z=ie.call(this,ue,"cursor",ae,!0,oe,re,a,y)||this;return z._onRequestRedraw=ee,z._coreService=x,z._coreBrowserService=b,z._cell=new de.CellData,z._state={x:0,y:0,isFocused:!1,style:"",width:0},z._cursorRenderers={bar:z._renderBarCursor.bind(z),block:z._renderBlockCursor.bind(z),underline:z._renderUnderlineCursor.bind(z)},z}return E(ce,ie),ce.prototype.resize=function(ue){ie.prototype.resize.call(this,ue),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},ce.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},ce.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},ce.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},ce.prototype.onOptionsChanged=function(){var ue,ae=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new ne(this._coreBrowserService.isFocused,function(){ae._render(!0)})):((ue=this._cursorBlinkStateManager)===null||ue===void 0||ue.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},ce.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},ce.prototype.onGridChanged=function(ue,ae){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},ce.prototype._render=function(ue){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var ae=this._bufferService.buffer.ybase+this._bufferService.buffer.y,oe=ae-this._bufferService.buffer.ydisp;if(oe<0||oe>=this._bufferService.rows)this._clearCursor();else{var re=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(ae).loadCell(re,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var ee=this._optionsService.options.cursorStyle;return ee&&ee!=="block"?this._cursorRenderers[ee](re,oe,this._cell):this._renderBlurCursor(re,oe,this._cell),this._ctx.restore(),this._state.x=re,this._state.y=oe,this._state.isFocused=!1,this._state.style=ee,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===re&&this._state.y===oe&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](re,oe,this._cell),this._ctx.restore(),this._state.x=re,this._state.y=oe,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},ce.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},ce.prototype._renderBarCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(ue,ae,this._optionsService.options.cursorWidth),this._ctx.restore()},ce.prototype._renderBlockCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(ue,ae,oe.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(oe,ue,ae),this._ctx.restore()},ce.prototype._renderUnderlineCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(ue,ae),this._ctx.restore()},ce.prototype._renderBlurCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(ue,ae,oe.getWidth(),1),this._ctx.restore()},ce}(he.BaseRenderLayer);ve.CursorRenderLayer=se;var ne=function(){function ie(ce,ue){this._renderCallback=ue,this.isCursorVisible=!0,ce&&this._restartInterval()}return Object.defineProperty(ie.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),ie.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},ie.prototype.restartBlinkAnimation=function(){var ce=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){ce._renderCallback(),ce._animationFrame=void 0})))},ie.prototype._restartInterval=function(ce){var ue=this;ce===void 0&&(ce=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(ue._animationTimeRestarted){var ae=600-(Date.now()-ue._animationTimeRestarted);if(ue._animationTimeRestarted=void 0,ae>0)return void ue._restartInterval(ae)}ue.isCursorVisible=!1,ue._animationFrame=window.requestAnimationFrame(function(){ue._renderCallback(),ue._animationFrame=void 0}),ue._blinkInterval=window.setInterval(function(){if(ue._animationTimeRestarted){var oe=600-(Date.now()-ue._animationTimeRestarted);return ue._animationTimeRestarted=void 0,void ue._restartInterval(oe)}ue.isCursorVisible=!ue.isCursorVisible,ue._animationFrame=window.requestAnimationFrame(function(){ue._renderCallback(),ue._animationFrame=void 0})},600)},ce)},ie.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},ie.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},ie}()},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ie,ce){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ae){ue.__proto__=ae}||function(ue,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ue[oe]=ae[oe])})(ie,ce)},function(ie,ce){function ue(){this.constructor=ie}_e(ie,ce),ie.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.LinkRenderLayer=void 0;var he=be(13),de=be(9),se=be(26),ne=function(ie){function ce(ue,ae,oe,re,ee,a,y,x){var b=ie.call(this,ue,"link",ae,!0,oe,re,y,x)||this;return ee.onShowLinkUnderline(function(z){return b._onShowLinkUnderline(z)}),ee.onHideLinkUnderline(function(z){return b._onHideLinkUnderline(z)}),a.onShowLinkUnderline(function(z){return b._onShowLinkUnderline(z)}),a.onHideLinkUnderline(function(z){return b._onHideLinkUnderline(z)}),b}return E(ce,ie),ce.prototype.resize=function(ue){ie.prototype.resize.call(this,ue),this._state=void 0},ce.prototype.reset=function(){this._clearCurrentLink()},ce.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var ue=this._state.y2-this._state.y1-1;ue>0&&this._clearCells(0,this._state.y1+1,this._state.cols,ue),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},ce.prototype._onShowLinkUnderline=function(ue){if(ue.fg===de.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:ue.fg&&se.is256Color(ue.fg)?this._ctx.fillStyle=this._colors.ansi[ue.fg].css:this._ctx.fillStyle=this._colors.foreground.css,ue.y1===ue.y2)this._fillBottomLineAtCells(ue.x1,ue.y1,ue.x2-ue.x1);else{this._fillBottomLineAtCells(ue.x1,ue.y1,ue.cols-ue.x1);for(var ae=ue.y1+1;ae<ue.y2;ae++)this._fillBottomLineAtCells(0,ae,ue.cols);this._fillBottomLineAtCells(0,ue.y2,ue.x2)}this._state=ue},ce.prototype._onHideLinkUnderline=function(ue){this._clearCurrentLink()},ce}(he.BaseRenderLayer);ve.LinkRenderLayer=ne},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ie,ce,ue,ae){var oe,re=arguments.length,ee=re<3?ce:ae===null?ae=Object.getOwnPropertyDescriptor(ce,ue):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(ie,ce,ue,ae);else for(var a=ie.length-1;a>=0;a--)(oe=ie[a])&&(ee=(re<3?oe(ee):re>3?oe(ce,ue,ee):oe(ce,ue))||ee);return re>3&&ee&&Object.defineProperty(ce,ue,ee),ee},E=this&&this.__param||function(ie,ce){return function(ue,ae){ce(ue,ae,ie)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.MouseZone=ve.Linkifier=void 0;var he=be(0),de=be(1),se=function(){function ie(ce,ue,ae){this._bufferService=ce,this._logService=ue,this._unicodeService=ae,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new he.EventEmitter,this._onHideLinkUnderline=new he.EventEmitter,this._onLinkTooltip=new he.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(ie.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),ie.prototype.attachToDom=function(ce,ue){this._element=ce,this._mouseZoneManager=ue},ie.prototype.linkifyRows=function(ce,ue){var ae=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=ce,this._rowsToLinkify.end=ue):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,ce),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,ue)),this._mouseZoneManager.clearAll(ce,ue),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return ae._linkifyRows()},ie._timeBeforeLatency))},ie.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var ce=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var ue=ce.ydisp+this._rowsToLinkify.start;if(!(ue>=ce.lines.length)){for(var ae=ce.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,oe=Math.ceil(2e3/this._bufferService.cols),re=this._bufferService.buffer.iterator(!1,ue,ae,oe,oe);re.hasNext();)for(var ee=re.next(),a=0;a<this._linkMatchers.length;a++)this._doLinkifyRow(ee.range.first,ee.content,this._linkMatchers[a]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},ie.prototype.registerLinkMatcher=function(ce,ue,ae){if(ae===void 0&&(ae={}),!ue)throw new Error("handler must be defined");var oe={id:this._nextLinkMatcherId++,regex:ce,handler:ue,matchIndex:ae.matchIndex,validationCallback:ae.validationCallback,hoverTooltipCallback:ae.tooltipCallback,hoverLeaveCallback:ae.leaveCallback,willLinkActivate:ae.willLinkActivate,priority:ae.priority||0};return this._addLinkMatcherToList(oe),oe.id},ie.prototype._addLinkMatcherToList=function(ce){if(this._linkMatchers.length!==0){for(var ue=this._linkMatchers.length-1;ue>=0;ue--)if(ce.priority<=this._linkMatchers[ue].priority)return void this._linkMatchers.splice(ue+1,0,ce);this._linkMatchers.splice(0,0,ce)}else this._linkMatchers.push(ce)},ie.prototype.deregisterLinkMatcher=function(ce){for(var ue=0;ue<this._linkMatchers.length;ue++)if(this._linkMatchers[ue].id===ce)return this._linkMatchers.splice(ue,1),!0;return!1},ie.prototype._doLinkifyRow=function(ce,ue,ae){for(var oe,re=this,ee=new RegExp(ae.regex.source,(ae.regex.flags||"")+"g"),a=-1,y=function(){var b=oe[typeof ae.matchIndex!="number"?0:ae.matchIndex];if(!b)return x._logService.debug("match found without corresponding matchIndex",oe,ae),"break";if(a=ue.indexOf(b,a+1),ee.lastIndex=a+b.length,a<0)return"break";var z=x._bufferService.buffer.stringIndexToBufferIndex(ce,a);if(z[0]<0)return"break";var te=x._bufferService.buffer.lines.get(z[0]);if(!te)return"break";var le=te.getFg(z[1]),fe=le?le>>9&511:void 0;ae.validationCallback?ae.validationCallback(b,function(pe){re._rowsTimeoutId||pe&&re._addLink(z[1],z[0]-re._bufferService.buffer.ydisp,b,ae,fe)}):x._addLink(z[1],z[0]-x._bufferService.buffer.ydisp,b,ae,fe)},x=this;(oe=ee.exec(ue))!==null&&y()!=="break";);},ie.prototype._addLink=function(ce,ue,ae,oe,re){var ee=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(ae),y=ce%this._bufferService.cols,x=ue+Math.floor(ce/this._bufferService.cols),b=(y+a)%this._bufferService.cols,z=x+Math.floor((y+a)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,z--),this._mouseZoneManager.add(new ne(y+1,x+1,b+1,z+1,function(te){if(oe.handler)return oe.handler(te,ae);var le=window.open();le?(le.opener=null,le.location.href=ae):console.warn("Opening link blocked as opener could not be cleared")},function(){ee._onShowLinkUnderline.fire(ee._createLinkHoverEvent(y,x,b,z,re)),ee._element.classList.add("xterm-cursor-pointer")},function(te){ee._onLinkTooltip.fire(ee._createLinkHoverEvent(y,x,b,z,re)),oe.hoverTooltipCallback&&oe.hoverTooltipCallback(te,ae,{start:{x:y,y:x},end:{x:b,y:z}})},function(){ee._onHideLinkUnderline.fire(ee._createLinkHoverEvent(y,x,b,z,re)),ee._element.classList.remove("xterm-cursor-pointer"),oe.hoverLeaveCallback&&oe.hoverLeaveCallback()},function(te){return!oe.willLinkActivate||oe.willLinkActivate(te,ae)}))}},ie.prototype._createLinkHoverEvent=function(ce,ue,ae,oe,re){return{x1:ce,y1:ue,x2:ae,y2:oe,cols:this._bufferService.cols,fg:re}},ie._timeBeforeLatency=200,ie=_e([E(0,de.IBufferService),E(1,de.ILogService),E(2,de.IUnicodeService)],ie)}();ve.Linkifier=se;var ne=function(ie,ce,ue,ae,oe,re,ee,a,y){this.x1=ie,this.y1=ce,this.x2=ue,this.y2=ae,this.clickCallback=oe,this.hoverCallback=re,this.tooltipCallback=ee,this.leaveCallback=a,this.willLinkActivate=y};ve.MouseZone=ne},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(b,z){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,le){te.__proto__=le}||function(te,le){for(var fe in le)le.hasOwnProperty(fe)&&(te[fe]=le[fe])})(b,z)},function(b,z){function te(){this.constructor=b}_e(b,z),b.prototype=z===null?Object.create(z):(te.prototype=z.prototype,new te)}),he=this&&this.__decorate||function(b,z,te,le){var fe,pe=arguments.length,me=pe<3?z:le===null?le=Object.getOwnPropertyDescriptor(z,te):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")me=Reflect.decorate(b,z,te,le);else for(var ge=b.length-1;ge>=0;ge--)(fe=b[ge])&&(me=(pe<3?fe(me):pe>3?fe(z,te,me):fe(z,te))||me);return pe>3&&me&&Object.defineProperty(z,te,me),me},de=this&&this.__param||function(b,z){return function(te,le){z(te,le,b)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.SelectionService=void 0;var se=be(11),ne=be(52),ie=be(4),ce=be(0),ue=be(5),ae=be(1),oe=be(30),re=be(53),ee=be(2),a="\xA0",y=new RegExp(a,"g"),x=function(b){function z(te,le,fe,pe,me,ge,Se){var ye=b.call(this)||this;return ye._element=te,ye._screenElement=le,ye._bufferService=fe,ye._coreService=pe,ye._mouseService=me,ye._optionsService=ge,ye._renderService=Se,ye._dragScrollAmount=0,ye._enabled=!0,ye._workCell=new ie.CellData,ye._mouseDownTimeStamp=0,ye._onLinuxMouseSelection=ye.register(new ce.EventEmitter),ye._onRedrawRequest=ye.register(new ce.EventEmitter),ye._onSelectionChange=ye.register(new ce.EventEmitter),ye._onRequestScrollLines=ye.register(new ce.EventEmitter),ye._mouseMoveListener=function(Pe){return ye._onMouseMove(Pe)},ye._mouseUpListener=function(Pe){return ye._onMouseUp(Pe)},ye._coreService.onUserInput(function(){ye.hasSelection&&ye.clearSelection()}),ye._trimListener=ye._bufferService.buffer.lines.onTrim(function(Pe){return ye._onTrim(Pe)}),ye.register(ye._bufferService.buffers.onBufferActivate(function(Pe){return ye._onBufferActivate(Pe)})),ye.enable(),ye._model=new ne.SelectionModel(ye._bufferService),ye._activeSelectionMode=0,ye}return E(z,b),Object.defineProperty(z.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),z.prototype.dispose=function(){this._removeMouseDownListeners()},z.prototype.reset=function(){this.clearSelection()},z.prototype.disable=function(){this.clearSelection(),this._enabled=!1},z.prototype.enable=function(){this._enabled=!0},Object.defineProperty(z.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"hasSelection",{get:function(){var te=this._model.finalSelectionStart,le=this._model.finalSelectionEnd;return!(!te||!le)&&(te[0]!==le[0]||te[1]!==le[1])},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"selectionText",{get:function(){var te=this._model.finalSelectionStart,le=this._model.finalSelectionEnd;if(!te||!le)return"";var fe=this._bufferService.buffer,pe=[];if(this._activeSelectionMode===3){if(te[0]===le[0])return"";for(var me=te[1];me<=le[1];me++){var ge=fe.translateBufferLineToString(me,!0,te[0],le[0]);pe.push(ge)}}else{var Se=te[1]===le[1]?le[0]:void 0;for(pe.push(fe.translateBufferLineToString(te[1],!0,te[0],Se)),me=te[1]+1;me<=le[1]-1;me++){var ye=fe.lines.get(me);ge=fe.translateBufferLineToString(me,!0),ye&&ye.isWrapped?pe[pe.length-1]+=ge:pe.push(ge)}te[1]!==le[1]&&(ye=fe.lines.get(le[1]),ge=fe.translateBufferLineToString(le[1],!0,0,le[0]),ye&&ye.isWrapped?pe[pe.length-1]+=ge:pe.push(ge))}return pe.map(function(Pe){return Pe.replace(y," ")}).join(se.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),z.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},z.prototype.refresh=function(te){var le=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return le._refresh()})),se.isLinux&&te&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},z.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},z.prototype.isClickInSelection=function(te){var le=this._getMouseBufferCoords(te),fe=this._model.finalSelectionStart,pe=this._model.finalSelectionEnd;return!!(fe&&pe&&le)&&this._areCoordsInSelection(le,fe,pe)},z.prototype._areCoordsInSelection=function(te,le,fe){return te[1]>le[1]&&te[1]<fe[1]||le[1]===fe[1]&&te[1]===le[1]&&te[0]>=le[0]&&te[0]<fe[0]||le[1]<fe[1]&&te[1]===fe[1]&&te[0]<fe[0]||le[1]<fe[1]&&te[1]===le[1]&&te[0]>=le[0]},z.prototype.selectWordAtCursor=function(te){var le=this._getMouseBufferCoords(te);le&&(this._selectWordAt(le,!1),this._model.selectionEnd=void 0,this.refresh(!0))},z.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},z.prototype.selectLines=function(te,le){this._model.clearSelection(),te=Math.max(te,0),le=Math.min(le,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,te],this._model.selectionEnd=[this._bufferService.cols,le],this.refresh(),this._onSelectionChange.fire()},z.prototype._onTrim=function(te){this._model.onTrim(te)&&this.refresh()},z.prototype._getMouseBufferCoords=function(te){var le=this._mouseService.getCoords(te,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(le)return le[0]--,le[1]--,le[1]+=this._bufferService.buffer.ydisp,le},z.prototype._getMouseEventScrollAmount=function(te){var le=oe.getCoordsRelativeToElement(te,this._screenElement)[1],fe=this._renderService.dimensions.canvasHeight;return le>=0&&le<=fe?0:(le>fe&&(le-=fe),le=Math.min(Math.max(le,-50),50),(le/=50)/Math.abs(le)+Math.round(14*le))},z.prototype.shouldForceSelection=function(te){return se.isMac?te.altKey&&this._optionsService.options.macOptionClickForcesSelection:te.shiftKey},z.prototype.onMouseDown=function(te){if(this._mouseDownTimeStamp=te.timeStamp,(te.button!==2||!this.hasSelection)&&te.button===0){if(!this._enabled){if(!this.shouldForceSelection(te))return;te.stopPropagation()}te.preventDefault(),this._dragScrollAmount=0,this._enabled&&te.shiftKey?this._onIncrementalClick(te):te.detail===1?this._onSingleClick(te):te.detail===2?this._onDoubleClick(te):te.detail===3&&this._onTripleClick(te),this._addMouseDownListeners(),this.refresh(!0)}},z.prototype._addMouseDownListeners=function(){var te=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return te._dragScroll()},50)},z.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},z.prototype._onIncrementalClick=function(te){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(te))},z.prototype._onSingleClick=function(te){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(te)?3:0,this._model.selectionStart=this._getMouseBufferCoords(te),this._model.selectionStart){this._model.selectionEnd=void 0;var le=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);le&&le.length!==this._model.selectionStart[0]&&le.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},z.prototype._onDoubleClick=function(te){var le=this._getMouseBufferCoords(te);le&&(this._activeSelectionMode=1,this._selectWordAt(le,!0))},z.prototype._onTripleClick=function(te){var le=this._getMouseBufferCoords(te);le&&(this._activeSelectionMode=2,this._selectLineAt(le[1]))},z.prototype.shouldColumnSelect=function(te){return te.altKey&&!(se.isMac&&this._optionsService.options.macOptionClickForcesSelection)},z.prototype._onMouseMove=function(te){if(te.stopImmediatePropagation(),this._model.selectionStart){var le=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(te),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(te),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var fe=this._bufferService.buffer;if(this._model.selectionEnd[1]<fe.lines.length){var pe=fe.lines.get(this._model.selectionEnd[1]);pe&&pe.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}le&&le[0]===this._model.selectionEnd[0]&&le[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},z.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var te=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(te.ydisp+this._bufferService.rows,te.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=te.ydisp),this.refresh()}},z.prototype._onMouseUp=function(te){var le=te.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&le<500&&te.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var fe=this._mouseService.getCoords(te,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(fe&&fe[0]!==void 0&&fe[1]!==void 0){var pe=re.moveToCellSequence(fe[0]-1,fe[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(pe,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},z.prototype._onBufferActivate=function(te){var le=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=te.activeBuffer.lines.onTrim(function(fe){return le._onTrim(fe)})},z.prototype._convertViewportColToCharacterIndex=function(te,le){for(var fe=le[0],pe=0;le[0]>=pe;pe++){var me=te.loadCell(pe,this._workCell).getChars().length;this._workCell.getWidth()===0?fe--:me>1&&le[0]!==pe&&(fe+=me-1)}return fe},z.prototype.setSelection=function(te,le,fe){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[te,le],this._model.selectionStartLength=fe,this.refresh()},z.prototype._getWordAt=function(te,le,fe,pe){if(fe===void 0&&(fe=!0),pe===void 0&&(pe=!0),!(te[0]>=this._bufferService.cols)){var me=this._bufferService.buffer,ge=me.lines.get(te[1]);if(ge){var Se=me.translateBufferLineToString(te[1],!1),ye=this._convertViewportColToCharacterIndex(ge,te),Pe=ye,we=te[0]-ye,De=0,Ee=0,Ae=0,Ce=0;if(Se.charAt(ye)===" "){for(;ye>0&&Se.charAt(ye-1)===" ";)ye--;for(;Pe<Se.length&&Se.charAt(Pe+1)===" ";)Pe++}else{var Ie=te[0],Me=te[0];ge.getWidth(Ie)===0&&(De++,Ie--),ge.getWidth(Me)===2&&(Ee++,Me++);var Ge=ge.getString(Me).length;for(Ge>1&&(Ce+=Ge-1,Pe+=Ge-1);Ie>0&&ye>0&&!this._isCharWordSeparator(ge.loadCell(Ie-1,this._workCell));){ge.loadCell(Ie-1,this._workCell);var Be=this._workCell.getChars().length;this._workCell.getWidth()===0?(De++,Ie--):Be>1&&(Ae+=Be-1,ye-=Be-1),ye--,Ie--}for(;Me<ge.length&&Pe+1<Se.length&&!this._isCharWordSeparator(ge.loadCell(Me+1,this._workCell));){ge.loadCell(Me+1,this._workCell);var Qe=this._workCell.getChars().length;this._workCell.getWidth()===2?(Ee++,Me++):Qe>1&&(Ce+=Qe-1,Pe+=Qe-1),Pe++,Me++}}Pe++;var qe=ye+we-De+Ae,Xe=Math.min(this._bufferService.cols,Pe-ye+De+Ee-Ae-Ce);if(le||Se.slice(ye,Pe).trim()!==""){if(fe&&qe===0&&ge.getCodePoint(0)!==32){var Ve=me.lines.get(te[1]-1);if(Ve&&ge.isWrapped&&Ve.getCodePoint(this._bufferService.cols-1)!==32){var We=this._getWordAt([this._bufferService.cols-1,te[1]-1],!1,!0,!1);if(We){var ze=this._bufferService.cols-We.start;qe-=ze,Xe+=ze}}}if(pe&&qe+Xe===this._bufferService.cols&&ge.getCodePoint(this._bufferService.cols-1)!==32){var He=me.lines.get(te[1]+1);if(He&&He.isWrapped&&He.getCodePoint(0)!==32){var tt=this._getWordAt([0,te[1]+1],!1,!1,!0);tt&&(Xe+=tt.length)}}return{start:qe,length:Xe}}}}},z.prototype._selectWordAt=function(te,le){var fe=this._getWordAt(te,le);if(fe){for(;fe.start<0;)fe.start+=this._bufferService.cols,te[1]--;this._model.selectionStart=[fe.start,te[1]],this._model.selectionStartLength=fe.length}},z.prototype._selectToWordAt=function(te){var le=this._getWordAt(te,!0);if(le){for(var fe=te[1];le.start<0;)le.start+=this._bufferService.cols,fe--;if(!this._model.areSelectionValuesReversed())for(;le.start+le.length>this._bufferService.cols;)le.length-=this._bufferService.cols,fe++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?le.start:le.start+le.length,fe]}},z.prototype._isCharWordSeparator=function(te){return te.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(te.getChars())>=0},z.prototype._selectLineAt=function(te){var le=this._bufferService.buffer.getWrappedRangeForLine(te);this._model.selectionStart=[0,le.first],this._model.selectionEnd=[this._bufferService.cols,le.last],this._model.selectionStartLength=0},z=he([de(2,ae.IBufferService),de(3,ae.ICoreService),de(4,ue.IMouseService),de(5,ae.IOptionsService),de(6,ue.IRenderService)],z)}(ee.Disposable);ve.SelectionService=x},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.SelectionModel=void 0;var _e=function(){function E(he){this._bufferService=he,this.isSelectAllActive=!1,this.selectionStartLength=0}return E.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(E.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var he=this.selectionStart[0]+this.selectionStartLength;return he>this._bufferService.cols?[he%this._bufferService.cols,this.selectionStart[1]+Math.floor(he/this._bufferService.cols)]:[he,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),E.prototype.areSelectionValuesReversed=function(){var he=this.selectionStart,de=this.selectionEnd;return!(!he||!de)&&(he[1]>de[1]||he[1]===de[1]&&he[0]>de[0])},E.prototype.onTrim=function(he){return this.selectionStart&&(this.selectionStart[1]-=he),this.selectionEnd&&(this.selectionEnd[1]-=he),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},E}();ve.SelectionModel=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.moveToCellSequence=void 0;var _e=be(12);function E(ce,ue,ae,oe){var re=ce-he(ae,ce),ee=ue-he(ae,ue);return ie(Math.abs(re-ee)-function(a,y,x){for(var b=0,z=a-he(x,a),te=y-he(x,y),le=0;le<Math.abs(z-te);le++){var fe=de(a,y)==="A"?-1:1,pe=x.buffer.lines.get(z+fe*le);pe&&pe.isWrapped&&b++}return b}(ce,ue,ae),ne(de(ce,ue),oe))}function he(ce,ue){for(var ae=0,oe=ce.buffer.lines.get(ue),re=oe&&oe.isWrapped;re&&ue>=0&&ue<ce.rows;)ae++,re=(oe=ce.buffer.lines.get(--ue))&&oe.isWrapped;return ae}function de(ce,ue){return ce>ue?"A":"B"}function se(ce,ue,ae,oe,re,ee){for(var a=ce,y=ue,x="";a!==ae||y!==oe;)a+=re?1:-1,re&&a>ee.cols-1?(x+=ee.buffer.translateBufferLineToString(y,!1,ce,a),a=0,ce=0,y++):!re&&a<0&&(x+=ee.buffer.translateBufferLineToString(y,!1,0,ce+1),ce=a=ee.cols-1,y--);return x+ee.buffer.translateBufferLineToString(y,!1,ce,a)}function ne(ce,ue){var ae=ue?"O":"[";return _e.C0.ESC+ae+ce}function ie(ce,ue){ce=Math.floor(ce);for(var ae="",oe=0;oe<ce;oe++)ae+=ue;return ae}ve.moveToCellSequence=function(ce,ue,ae,oe){var re,ee=ae.buffer.x,a=ae.buffer.y;if(!ae.buffer.hasScrollback)return function(x,b,z,te,le,fe){return E(b,te,le,fe).length===0?"":ie(se(x,b,x,b-he(le,b),!1,le).length,ne("D",fe))}(ee,a,0,ue,ae,oe)+E(a,ue,ae,oe)+function(x,b,z,te,le,fe){var pe;pe=E(b,te,le,fe).length>0?te-he(le,te):b;var me=te,ge=function(Se,ye,Pe,we,De,Ee){var Ae;return Ae=E(Pe,we,De,Ee).length>0?we-he(De,we):ye,Se<Pe&&Ae<=we||Se>=Pe&&Ae<we?"C":"D"}(x,b,z,te,le,fe);return ie(se(x,pe,z,me,ge==="C",le).length,ne(ge,fe))}(ee,a,ce,ue,ae,oe);if(a===ue)return re=ee>ce?"D":"C",ie(Math.abs(ee-ce),ne(re,oe));re=a>ue?"D":"C";var y=Math.abs(a-ue);return ie(function(x,b){return b.cols-x}(a>ue?ce:ee,ae)+(y-1)*ae.cols+1+((a>ue?ee:ce)-1),ne(re,oe))}},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(se,ne,ie,ce){var ue,ae=arguments.length,oe=ae<3?ne:ce===null?ce=Object.getOwnPropertyDescriptor(ne,ie):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(se,ne,ie,ce);else for(var re=se.length-1;re>=0;re--)(ue=se[re])&&(oe=(ae<3?ue(oe):ae>3?ue(ne,ie,oe):ue(ne,ie))||oe);return ae>3&&oe&&Object.defineProperty(ne,ie,oe),oe},E=this&&this.__param||function(se,ne){return function(ie,ce){ne(ie,ce,se)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.SoundService=void 0;var he=be(1),de=function(){function se(ne){this._optionsService=ne}return Object.defineProperty(se,"audioContext",{get:function(){if(!se._audioContext){var ne=window.AudioContext||window.webkitAudioContext;if(!ne)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;se._audioContext=new ne}return se._audioContext},enumerable:!1,configurable:!0}),se.prototype.playBellSound=function(){var ne=se.audioContext;if(ne){var ie=ne.createBufferSource();ne.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(ce){ie.buffer=ce,ie.connect(ne.destination),ie.start(0)})}},se.prototype._base64ToArrayBuffer=function(ne){for(var ie=window.atob(ne),ce=ie.length,ue=new Uint8Array(ce),ae=0;ae<ce;ae++)ue[ae]=ie.charCodeAt(ae);return ue.buffer},se.prototype._removeMimeType=function(ne){return ne.split(",")[1]},se=_e([E(0,he.IOptionsService)],se)}();ve.SoundService=de},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ee){re.__proto__=ee}||function(re,ee){for(var a in ee)ee.hasOwnProperty(a)&&(re[a]=ee[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),he=this&&this.__decorate||function(ae,oe,re,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,re):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,re,ee);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},de=this&&this.__param||function(ae,oe){return function(re,ee){oe(re,ee,ae)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.MouseZoneManager=void 0;var se=be(2),ne=be(7),ie=be(5),ce=be(1),ue=function(ae){function oe(re,ee,a,y,x,b){var z=ae.call(this)||this;return z._element=re,z._screenElement=ee,z._bufferService=a,z._mouseService=y,z._selectionService=x,z._optionsService=b,z._zones=[],z._areZonesActive=!1,z._lastHoverCoords=[void 0,void 0],z._initialSelectionLength=0,z.register(ne.addDisposableDomListener(z._element,"mousedown",function(te){return z._onMouseDown(te)})),z._mouseMoveListener=function(te){return z._onMouseMove(te)},z._mouseLeaveListener=function(te){return z._onMouseLeave(te)},z._clickListener=function(te){return z._onClick(te)},z}return E(oe,ae),oe.prototype.dispose=function(){ae.prototype.dispose.call(this),this._deactivate()},oe.prototype.add=function(re){this._zones.push(re),this._zones.length===1&&this._activate()},oe.prototype.clearAll=function(re,ee){if(this._zones.length!==0){re&&ee||(re=0,ee=this._bufferService.rows-1);for(var a=0;a<this._zones.length;a++){var y=this._zones[a];(y.y1>re&&y.y1<=ee+1||y.y2>re&&y.y2<=ee+1||y.y1<re&&y.y2>ee+1)&&(this._currentZone&&this._currentZone===y&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(a--,1))}this._zones.length===0&&this._deactivate()}},oe.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},oe.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},oe.prototype._onMouseMove=function(re){this._lastHoverCoords[0]===re.pageX&&this._lastHoverCoords[1]===re.pageY||(this._onHover(re),this._lastHoverCoords=[re.pageX,re.pageY])},oe.prototype._onHover=function(re){var ee=this,a=this._findZoneEventAt(re);a!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),a&&(this._currentZone=a,a.hoverCallback&&a.hoverCallback(re),this._tooltipTimeout=window.setTimeout(function(){return ee._onTooltip(re)},this._optionsService.options.linkTooltipHoverDuration)))},oe.prototype._onTooltip=function(re){this._tooltipTimeout=void 0;var ee=this._findZoneEventAt(re);ee&&ee.tooltipCallback&&ee.tooltipCallback(re)},oe.prototype._onMouseDown=function(re){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var ee=this._findZoneEventAt(re);ee!=null&&ee.willLinkActivate(re)&&(re.preventDefault(),re.stopImmediatePropagation())}},oe.prototype._onMouseLeave=function(re){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},oe.prototype._onClick=function(re){var ee=this._findZoneEventAt(re),a=this._getSelectionLength();ee&&a===this._initialSelectionLength&&(ee.clickCallback(re),re.preventDefault(),re.stopImmediatePropagation())},oe.prototype._getSelectionLength=function(){var re=this._selectionService.selectionText;return re?re.length:0},oe.prototype._findZoneEventAt=function(re){var ee=this._mouseService.getCoords(re,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(ee)for(var a=ee[0],y=ee[1],x=0;x<this._zones.length;x++){var b=this._zones[x];if(b.y1===b.y2){if(y===b.y1&&a>=b.x1&&a<b.x2)return b}else if(y===b.y1&&a>=b.x1||y===b.y2&&a<b.x2||y>b.y1&&y<b.y2)return b}},oe=he([de(2,ce.IBufferService),de(3,ie.IMouseService),de(4,ie.ISelectionService),de(5,ce.IOptionsService)],oe)}(se.Disposable);ve.MouseZoneManager=ue},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(oe,re){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ee,a){ee.__proto__=a}||function(ee,a){for(var y in a)a.hasOwnProperty(y)&&(ee[y]=a[y])})(oe,re)},function(oe,re){function ee(){this.constructor=oe}_e(oe,re),oe.prototype=re===null?Object.create(re):(ee.prototype=re.prototype,new ee)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.AccessibilityManager=void 0;var he=be(18),de=be(11),se=be(31),ne=be(7),ie=be(2),ce=be(32),ue=be(17),ae=function(oe){function re(ee,a){var y=oe.call(this)||this;y._terminal=ee,y._renderService=a,y._liveRegionLineCount=0,y._charsToConsume=[],y._charsToAnnounce="",y._accessibilityTreeRoot=document.createElement("div"),y._accessibilityTreeRoot.classList.add("xterm-accessibility"),y._rowContainer=document.createElement("div"),y._rowContainer.classList.add("xterm-accessibility-tree"),y._rowContainer.setAttribute("role","list"),y._rowElements=[];for(var x=0;x<y._terminal.rows;x++)y._rowElements[x]=y._createAccessibilityTreeNode(),y._rowContainer.appendChild(y._rowElements[x]);if(y._topBoundaryFocusListener=function(b){return y._onBoundaryFocus(b,0)},y._bottomBoundaryFocusListener=function(b){return y._onBoundaryFocus(b,1)},y._rowElements[0].addEventListener("focus",y._topBoundaryFocusListener),y._rowElements[y._rowElements.length-1].addEventListener("focus",y._bottomBoundaryFocusListener),y._refreshRowsDimensions(),y._accessibilityTreeRoot.appendChild(y._rowContainer),y._renderRowsDebouncer=new se.RenderDebouncer(y._renderRows.bind(y)),y._refreshRows(),y._liveRegion=document.createElement("div"),y._liveRegion.classList.add("live-region"),y._liveRegion.setAttribute("aria-live","assertive"),y._accessibilityTreeRoot.appendChild(y._liveRegion),!y._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return y._terminal.element.insertAdjacentElement("afterbegin",y._accessibilityTreeRoot),y.register(y._renderRowsDebouncer),y.register(y._terminal.onResize(function(b){return y._onResize(b.rows)})),y.register(y._terminal.onRender(function(b){return y._refreshRows(b.start,b.end)})),y.register(y._terminal.onScroll(function(){return y._refreshRows()})),y.register(y._terminal.onA11yChar(function(b){return y._onChar(b)})),y.register(y._terminal.onLineFeed(function(){return y._onChar(`
|
|
|
`)})),y.register(y._terminal.onA11yTab(function(b){return y._onTab(b)})),y.register(y._terminal.onKey(function(b){return y._onKey(b.key)})),y.register(y._terminal.onBlur(function(){return y._clearLiveRegion()})),y.register(y._renderService.onDimensionsChange(function(){return y._refreshRowsDimensions()})),y._screenDprMonitor=new ce.ScreenDprMonitor,y.register(y._screenDprMonitor),y._screenDprMonitor.setListener(function(){return y._refreshRowsDimensions()}),y.register(ne.addDisposableDomListener(window,"resize",function(){return y._refreshRowsDimensions()})),y}return E(re,oe),re.prototype.dispose=function(){oe.prototype.dispose.call(this),ue.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},re.prototype._onBoundaryFocus=function(ee,a){var y=ee.target,x=this._rowElements[a===0?1:this._rowElements.length-2];if(y.getAttribute("aria-posinset")!==(a===0?"1":""+this._terminal.buffer.lines.length)&&ee.relatedTarget===x){var b,z;if(a===0?(b=y,z=this._rowElements.pop(),this._rowContainer.removeChild(z)):(b=this._rowElements.shift(),z=y,this._rowContainer.removeChild(b)),b.removeEventListener("focus",this._topBoundaryFocusListener),z.removeEventListener("focus",this._bottomBoundaryFocusListener),a===0){var te=this._createAccessibilityTreeNode();this._rowElements.unshift(te),this._rowContainer.insertAdjacentElement("afterbegin",te)}else te=this._createAccessibilityTreeNode(),this._rowElements.push(te),this._rowContainer.appendChild(te);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(a===0?-1:1),this._rowElements[a===0?1:this._rowElements.length-2].focus(),ee.preventDefault(),ee.stopImmediatePropagation()}},re.prototype._onResize=function(ee){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var a=this._rowContainer.children.length;a<this._terminal.rows;a++)this._rowElements[a]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[a]);for(;this._rowElements.length>ee;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},re.prototype._createAccessibilityTreeNode=function(){var ee=document.createElement("div");return ee.setAttribute("role","listitem"),ee.tabIndex=-1,this._refreshRowDimensions(ee),ee},re.prototype._onTab=function(ee){for(var a=0;a<ee;a++)this._onChar(" ")},re.prototype._onChar=function(ee){var a=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==ee&&(this._charsToAnnounce+=ee):this._charsToAnnounce+=ee,ee===`
|
|
|
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=he.tooMuchOutput)),de.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){a._accessibilityTreeRoot.appendChild(a._liveRegion)},0))},re.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,de.isMac&&ue.removeElementFromParent(this._liveRegion)},re.prototype._onKey=function(ee){this._clearLiveRegion(),this._charsToConsume.push(ee)},re.prototype._refreshRows=function(ee,a){this._renderRowsDebouncer.refresh(ee,a,this._terminal.rows)},re.prototype._renderRows=function(ee,a){for(var y=this._terminal.buffer,x=y.lines.length.toString(),b=ee;b<=a;b++){var z=y.translateBufferLineToString(y.ydisp+b,!0),te=(y.ydisp+b+1).toString(),le=this._rowElements[b];le&&(z.length===0?le.innerHTML=" ":le.textContent=z,le.setAttribute("aria-posinset",te),le.setAttribute("aria-setsize",x))}this._announceCharacters()},re.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var ee=0;ee<this._terminal.rows;ee++)this._refreshRowDimensions(this._rowElements[ee])}},re.prototype._refreshRowDimensions=function(ee){ee.style.height=this._renderService.dimensions.actualCellHeight+"px"},re.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},re}(ie.Disposable);ve.AccessibilityManager=ae},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(y,x){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,z){b.__proto__=z}||function(b,z){for(var te in z)z.hasOwnProperty(te)&&(b[te]=z[te])})(y,x)},function(y,x){function b(){this.constructor=y}_e(y,x),y.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),he=this&&this.__decorate||function(y,x,b,z){var te,le=arguments.length,fe=le<3?x:z===null?z=Object.getOwnPropertyDescriptor(x,b):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")fe=Reflect.decorate(y,x,b,z);else for(var pe=y.length-1;pe>=0;pe--)(te=y[pe])&&(fe=(le<3?te(fe):le>3?te(x,b,fe):te(x,b))||fe);return le>3&&fe&&Object.defineProperty(x,b,fe),fe},de=this&&this.__param||function(y,x){return function(b,z){x(b,z,y)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.DomRenderer=void 0;var se=be(58),ne=be(9),ie=be(2),ce=be(5),ue=be(1),ae=be(0),oe=be(10),re=be(17),ee=1,a=function(y){function x(b,z,te,le,fe,pe,me,ge,Se){var ye=y.call(this)||this;return ye._colors=b,ye._element=z,ye._screenElement=te,ye._viewportElement=le,ye._linkifier=fe,ye._linkifier2=pe,ye._charSizeService=me,ye._optionsService=ge,ye._bufferService=Se,ye._terminalClass=ee++,ye._rowElements=[],ye._rowContainer=document.createElement("div"),ye._rowContainer.classList.add("xterm-rows"),ye._rowContainer.style.lineHeight="normal",ye._rowContainer.setAttribute("aria-hidden","true"),ye._refreshRowElements(ye._bufferService.cols,ye._bufferService.rows),ye._selectionContainer=document.createElement("div"),ye._selectionContainer.classList.add("xterm-selection"),ye._selectionContainer.setAttribute("aria-hidden","true"),ye.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},ye._updateDimensions(),ye._injectCss(),ye._rowFactory=new se.DomRendererRowFactory(document,ye._optionsService,ye._colors),ye._element.classList.add("xterm-dom-renderer-owner-"+ye._terminalClass),ye._screenElement.appendChild(ye._rowContainer),ye._screenElement.appendChild(ye._selectionContainer),ye._linkifier.onShowLinkUnderline(function(Pe){return ye._onLinkHover(Pe)}),ye._linkifier.onHideLinkUnderline(function(Pe){return ye._onLinkLeave(Pe)}),ye._linkifier2.onShowLinkUnderline(function(Pe){return ye._onLinkHover(Pe)}),ye._linkifier2.onHideLinkUnderline(function(Pe){return ye._onLinkLeave(Pe)}),ye}return E(x,y),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return new ae.EventEmitter().event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),re.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),y.prototype.dispose.call(this)},x.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var b=0,z=this._rowElements;b<z.length;b++){var te=z[b];te.style.width=this.dimensions.canvasWidth+"px",te.style.height=this.dimensions.actualCellHeight+"px",te.style.lineHeight=this.dimensions.actualCellHeight+"px",te.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var le=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=le,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},x.prototype.setColors=function(b){this._colors=b,this._injectCss()},x.prototype._injectCss=function(){var b=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var z=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";z+=this._terminalSelector+" span:not(."+se.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+se.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+se.ITALIC_CLASS+" { font-style: italic;}",z+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",z+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",z+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+se.CURSOR_CLASS+"."+se.CURSOR_BLINK_CLASS+":not(."+se.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+se.CURSOR_CLASS+"."+se.CURSOR_BLINK_CLASS+"."+se.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",z+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(te,le){z+=b._terminalSelector+" .xterm-fg-"+le+" { color: "+te.css+"; }"+b._terminalSelector+" .xterm-bg-"+le+" { background-color: "+te.css+"; }"}),z+=this._terminalSelector+" .xterm-fg-"+ne.INVERTED_DEFAULT_COLOR+" { color: "+oe.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+ne.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=z},x.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},x.prototype._refreshRowElements=function(b,z){for(var te=this._rowElements.length;te<=z;te++){var le=document.createElement("div");this._rowContainer.appendChild(le),this._rowElements.push(le)}for(;this._rowElements.length>z;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(b,z){this._refreshRowElements(b,z),this._updateDimensions()},x.prototype.onCharSizeChanged=function(){this._updateDimensions()},x.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},x.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},x.prototype.onSelectionChanged=function(b,z,te){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&z){var le=b[1]-this._bufferService.buffer.ydisp,fe=z[1]-this._bufferService.buffer.ydisp,pe=Math.max(le,0),me=Math.min(fe,this._bufferService.rows-1);if(!(pe>=this._bufferService.rows||me<0)){var ge=document.createDocumentFragment();if(te)ge.appendChild(this._createSelectionElement(pe,b[0],z[0],me-pe+1));else{var Se=le===pe?b[0]:0,ye=pe===me?z[0]:this._bufferService.cols;ge.appendChild(this._createSelectionElement(pe,Se,ye));var Pe=me-pe-1;if(ge.appendChild(this._createSelectionElement(pe+1,0,this._bufferService.cols,Pe)),pe!==me){var we=fe===me?z[0]:this._bufferService.cols;ge.appendChild(this._createSelectionElement(me,0,we))}}this._selectionContainer.appendChild(ge)}}},x.prototype._createSelectionElement=function(b,z,te,le){le===void 0&&(le=1);var fe=document.createElement("div");return fe.style.height=le*this.dimensions.actualCellHeight+"px",fe.style.top=b*this.dimensions.actualCellHeight+"px",fe.style.left=z*this.dimensions.actualCellWidth+"px",fe.style.width=this.dimensions.actualCellWidth*(te-z)+"px",fe},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){for(var b=0,z=this._rowElements;b<z.length;b++)z[b].innerHTML=""},x.prototype.renderRows=function(b,z){for(var te=this._bufferService.buffer.ybase+this._bufferService.buffer.y,le=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),fe=this._optionsService.options.cursorBlink,pe=b;pe<=z;pe++){var me=this._rowElements[pe];me.innerHTML="";var ge=pe+this._bufferService.buffer.ydisp,Se=this._bufferService.buffer.lines.get(ge),ye=this._optionsService.options.cursorStyle;me.appendChild(this._rowFactory.createRow(Se,ge===te,ye,le,fe,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(x.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),x.prototype.registerCharacterJoiner=function(b){return-1},x.prototype.deregisterCharacterJoiner=function(b){return!1},x.prototype._onLinkHover=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!0)},x.prototype._onLinkLeave=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!1)},x.prototype._setCellUnderline=function(b,z,te,le,fe,pe){for(;b!==z||te!==le;){var me=this._rowElements[te];if(!me)return;var ge=me.children[b];ge&&(ge.style.textDecoration=pe?"underline":"none"),++b>=fe&&(b=0,te++)}},x=he([de(6,ce.ICharSizeService),de(7,ue.IOptionsService),de(8,ue.IBufferService)],x)}(ie.Disposable);ve.DomRenderer=a},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.DomRendererRowFactory=ve.CURSOR_STYLE_UNDERLINE_CLASS=ve.CURSOR_STYLE_BAR_CLASS=ve.CURSOR_STYLE_BLOCK_CLASS=ve.CURSOR_BLINK_CLASS=ve.CURSOR_CLASS=ve.UNDERLINE_CLASS=ve.ITALIC_CLASS=ve.DIM_CLASS=ve.BOLD_CLASS=void 0;var _e=be(9),E=be(3),he=be(4),de=be(10);ve.BOLD_CLASS="xterm-bold",ve.DIM_CLASS="xterm-dim",ve.ITALIC_CLASS="xterm-italic",ve.UNDERLINE_CLASS="xterm-underline",ve.CURSOR_CLASS="xterm-cursor",ve.CURSOR_BLINK_CLASS="xterm-cursor-blink",ve.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",ve.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",ve.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var se=function(){function ie(ce,ue,ae){this._document=ce,this._optionsService=ue,this._colors=ae,this._workCell=new he.CellData}return ie.prototype.setColors=function(ce){this._colors=ce},ie.prototype.createRow=function(ce,ue,ae,oe,re,ee,a){for(var y=this._document.createDocumentFragment(),x=0,b=Math.min(ce.length,a)-1;b>=0;b--)if(ce.loadCell(b,this._workCell).getCode()!==E.NULL_CELL_CODE||ue&&b===oe){x=b+1;break}for(b=0;b<x;b++){ce.loadCell(b,this._workCell);var z=this._workCell.getWidth();if(z!==0){var te=this._document.createElement("span");if(z>1&&(te.style.width=ee*z+"px"),ue&&b===oe)switch(te.classList.add(ve.CURSOR_CLASS),re&&te.classList.add(ve.CURSOR_BLINK_CLASS),ae){case"bar":te.classList.add(ve.CURSOR_STYLE_BAR_CLASS);break;case"underline":te.classList.add(ve.CURSOR_STYLE_UNDERLINE_CLASS);break;default:te.classList.add(ve.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&te.classList.add(ve.BOLD_CLASS),this._workCell.isItalic()&&te.classList.add(ve.ITALIC_CLASS),this._workCell.isDim()&&te.classList.add(ve.DIM_CLASS),this._workCell.isUnderline()&&te.classList.add(ve.UNDERLINE_CLASS),this._workCell.isInvisible()?te.textContent=E.WHITESPACE_CELL_CHAR:te.textContent=this._workCell.getChars()||E.WHITESPACE_CELL_CHAR;var le=this._workCell.getFgColor(),fe=this._workCell.getFgColorMode(),pe=this._workCell.getBgColor(),me=this._workCell.getBgColorMode(),ge=!!this._workCell.isInverse();if(ge){var Se=le;le=pe,pe=Se;var ye=fe;fe=me,me=ye}switch(fe){case 16777216:case 33554432:this._workCell.isBold()&&le<8&&this._optionsService.options.drawBoldTextInBrightColors&&(le+=8),this._applyMinimumContrast(te,this._colors.background,this._colors.ansi[le])||te.classList.add("xterm-fg-"+le);break;case 50331648:var Pe=de.rgba.toColor(le>>16&255,le>>8&255,255&le);this._applyMinimumContrast(te,this._colors.background,Pe)||this._addStyle(te,"color:#"+ne(le.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(te,this._colors.background,this._colors.foreground)||ge&&te.classList.add("xterm-fg-"+_e.INVERTED_DEFAULT_COLOR)}switch(me){case 16777216:case 33554432:te.classList.add("xterm-bg-"+pe);break;case 50331648:this._addStyle(te,"background-color:#"+ne(pe.toString(16),"0",6));break;case 0:default:ge&&te.classList.add("xterm-bg-"+_e.INVERTED_DEFAULT_COLOR)}y.appendChild(te)}}return y},ie.prototype._applyMinimumContrast=function(ce,ue,ae){if(this._optionsService.options.minimumContrastRatio===1)return!1;var oe=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return oe===void 0&&(oe=de.color.ensureContrastRatio(ue,ae,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,oe!=null?oe:null)),!!oe&&(this._addStyle(ce,"color:"+oe.css),!0)},ie.prototype._addStyle=function(ce,ue){ce.setAttribute("style",""+(ce.getAttribute("style")||"")+ue+";")},ie}();function ne(ie,ce,ue){for(;ie.length<ue;)ie=ce+ie;return ie}ve.DomRendererRowFactory=se},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.evaluateKeyboardEvent=void 0;var _e=be(12),E={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};ve.evaluateKeyboardEvent=function(he,de,se,ne){var ie={type:0,cancel:!1,key:void 0},ce=(he.shiftKey?1:0)|(he.altKey?2:0)|(he.ctrlKey?4:0)|(he.metaKey?8:0);switch(he.keyCode){case 0:he.key==="UIKeyInputUpArrow"?ie.key=de?_e.C0.ESC+"OA":_e.C0.ESC+"[A":he.key==="UIKeyInputLeftArrow"?ie.key=de?_e.C0.ESC+"OD":_e.C0.ESC+"[D":he.key==="UIKeyInputRightArrow"?ie.key=de?_e.C0.ESC+"OC":_e.C0.ESC+"[C":he.key==="UIKeyInputDownArrow"&&(ie.key=de?_e.C0.ESC+"OB":_e.C0.ESC+"[B");break;case 8:if(he.shiftKey){ie.key=_e.C0.BS;break}if(he.altKey){ie.key=_e.C0.ESC+_e.C0.DEL;break}ie.key=_e.C0.DEL;break;case 9:if(he.shiftKey){ie.key=_e.C0.ESC+"[Z";break}ie.key=_e.C0.HT,ie.cancel=!0;break;case 13:ie.key=he.altKey?_e.C0.ESC+_e.C0.CR:_e.C0.CR,ie.cancel=!0;break;case 27:ie.key=_e.C0.ESC,he.altKey&&(ie.key=_e.C0.ESC+_e.C0.ESC),ie.cancel=!0;break;case 37:if(he.metaKey)break;ce?(ie.key=_e.C0.ESC+"[1;"+(ce+1)+"D",ie.key===_e.C0.ESC+"[1;3D"&&(ie.key=_e.C0.ESC+(se?"b":"[1;5D"))):ie.key=de?_e.C0.ESC+"OD":_e.C0.ESC+"[D";break;case 39:if(he.metaKey)break;ce?(ie.key=_e.C0.ESC+"[1;"+(ce+1)+"C",ie.key===_e.C0.ESC+"[1;3C"&&(ie.key=_e.C0.ESC+(se?"f":"[1;5C"))):ie.key=de?_e.C0.ESC+"OC":_e.C0.ESC+"[C";break;case 38:if(he.metaKey)break;ce?(ie.key=_e.C0.ESC+"[1;"+(ce+1)+"A",se||ie.key!==_e.C0.ESC+"[1;3A"||(ie.key=_e.C0.ESC+"[1;5A")):ie.key=de?_e.C0.ESC+"OA":_e.C0.ESC+"[A";break;case 40:if(he.metaKey)break;ce?(ie.key=_e.C0.ESC+"[1;"+(ce+1)+"B",se||ie.key!==_e.C0.ESC+"[1;3B"||(ie.key=_e.C0.ESC+"[1;5B")):ie.key=de?_e.C0.ESC+"OB":_e.C0.ESC+"[B";break;case 45:he.shiftKey||he.ctrlKey||(ie.key=_e.C0.ESC+"[2~");break;case 46:ie.key=ce?_e.C0.ESC+"[3;"+(ce+1)+"~":_e.C0.ESC+"[3~";break;case 36:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"H":de?_e.C0.ESC+"OH":_e.C0.ESC+"[H";break;case 35:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"F":de?_e.C0.ESC+"OF":_e.C0.ESC+"[F";break;case 33:he.shiftKey?ie.type=2:ie.key=_e.C0.ESC+"[5~";break;case 34:he.shiftKey?ie.type=3:ie.key=_e.C0.ESC+"[6~";break;case 112:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"P":_e.C0.ESC+"OP";break;case 113:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"Q":_e.C0.ESC+"OQ";break;case 114:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"R":_e.C0.ESC+"OR";break;case 115:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"S":_e.C0.ESC+"OS";break;case 116:ie.key=ce?_e.C0.ESC+"[15;"+(ce+1)+"~":_e.C0.ESC+"[15~";break;case 117:ie.key=ce?_e.C0.ESC+"[17;"+(ce+1)+"~":_e.C0.ESC+"[17~";break;case 118:ie.key=ce?_e.C0.ESC+"[18;"+(ce+1)+"~":_e.C0.ESC+"[18~";break;case 119:ie.key=ce?_e.C0.ESC+"[19;"+(ce+1)+"~":_e.C0.ESC+"[19~";break;case 120:ie.key=ce?_e.C0.ESC+"[20;"+(ce+1)+"~":_e.C0.ESC+"[20~";break;case 121:ie.key=ce?_e.C0.ESC+"[21;"+(ce+1)+"~":_e.C0.ESC+"[21~";break;case 122:ie.key=ce?_e.C0.ESC+"[23;"+(ce+1)+"~":_e.C0.ESC+"[23~";break;case 123:ie.key=ce?_e.C0.ESC+"[24;"+(ce+1)+"~":_e.C0.ESC+"[24~";break;default:if(!he.ctrlKey||he.shiftKey||he.altKey||he.metaKey)if(se&&!ne||!he.altKey||he.metaKey)se&&!he.altKey&&!he.ctrlKey&&he.metaKey?he.keyCode===65&&(ie.type=1):he.key&&!he.ctrlKey&&!he.altKey&&!he.metaKey&&he.keyCode>=48&&he.key.length===1?ie.key=he.key:he.key&&he.ctrlKey&&he.key==="_"&&(ie.key=_e.C0.US);else{var ue=E[he.keyCode],ae=ue&&ue[he.shiftKey?1:0];if(ae)ie.key=_e.C0.ESC+ae;else if(he.keyCode>=65&&he.keyCode<=90){var oe=he.ctrlKey?he.keyCode-64:he.keyCode+32;ie.key=_e.C0.ESC+String.fromCharCode(oe)}}else he.keyCode>=65&&he.keyCode<=90?ie.key=String.fromCharCode(he.keyCode-64):he.keyCode===32?ie.key=_e.C0.NUL:he.keyCode>=51&&he.keyCode<=55?ie.key=String.fromCharCode(he.keyCode-51+27):he.keyCode===56?ie.key=_e.C0.DEL:he.keyCode===219?ie.key=_e.C0.ESC:he.keyCode===220?ie.key=_e.C0.FS:he.keyCode===221&&(ie.key=_e.C0.GS)}return ie}},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ee,a){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,x){y.__proto__=x}||function(y,x){for(var b in x)x.hasOwnProperty(b)&&(y[b]=x[b])})(ee,a)},function(ee,a){function y(){this.constructor=ee}_e(ee,a),ee.prototype=a===null?Object.create(a):(y.prototype=a.prototype,new y)}),he=this&&this.__decorate||function(ee,a,y,x){var b,z=arguments.length,te=z<3?a:x===null?x=Object.getOwnPropertyDescriptor(a,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(ee,a,y,x);else for(var le=ee.length-1;le>=0;le--)(b=ee[le])&&(te=(z<3?b(te):z>3?b(a,y,te):b(a,y))||te);return z>3&&te&&Object.defineProperty(a,y,te),te},de=this&&this.__param||function(ee,a){return function(y,x){a(y,x,ee)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.RenderService=void 0;var se=be(31),ne=be(0),ie=be(2),ce=be(32),ue=be(7),ae=be(1),oe=be(5),re=function(ee){function a(y,x,b,z,te,le){var fe=ee.call(this)||this;if(fe._renderer=y,fe._rowCount=x,fe._isPaused=!1,fe._needsFullRefresh=!1,fe._isNextRenderRedrawOnly=!0,fe._needsSelectionRefresh=!1,fe._canvasWidth=0,fe._canvasHeight=0,fe._selectionState={start:void 0,end:void 0,columnSelectMode:!1},fe._onDimensionsChange=new ne.EventEmitter,fe._onRender=new ne.EventEmitter,fe._onRefreshRequest=new ne.EventEmitter,fe.register({dispose:function(){return fe._renderer.dispose()}}),fe._renderDebouncer=new se.RenderDebouncer(function(me,ge){return fe._renderRows(me,ge)}),fe.register(fe._renderDebouncer),fe._screenDprMonitor=new ce.ScreenDprMonitor,fe._screenDprMonitor.setListener(function(){return fe.onDevicePixelRatioChange()}),fe.register(fe._screenDprMonitor),fe.register(le.onResize(function(me){return fe._fullRefresh()})),fe.register(z.onOptionChange(function(){return fe._renderer.onOptionsChanged()})),fe.register(te.onCharSizeChange(function(){return fe.onCharSizeChanged()})),fe._renderer.onRequestRedraw(function(me){return fe.refreshRows(me.start,me.end,!0)}),fe.register(ue.addDisposableDomListener(window,"resize",function(){return fe.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var pe=new IntersectionObserver(function(me){return fe._onIntersectionChange(me[me.length-1])},{threshold:0});pe.observe(b),fe.register({dispose:function(){return pe.disconnect()}})}return fe}return E(a,ee),Object.defineProperty(a.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),a.prototype._onIntersectionChange=function(y){this._isPaused=y.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},a.prototype.refreshRows=function(y,x,b){b===void 0&&(b=!1),this._isPaused?this._needsFullRefresh=!0:(b||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(y,x,this._rowCount))},a.prototype._renderRows=function(y,x){this._renderer.renderRows(y,x),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:y,end:x}),this._isNextRenderRedrawOnly=!0},a.prototype.resize=function(y,x){this._rowCount=x,this._fireOnCanvasResize()},a.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},a.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},a.prototype.dispose=function(){ee.prototype.dispose.call(this)},a.prototype.setRenderer=function(y){var x=this;this._renderer.dispose(),this._renderer=y,this._renderer.onRequestRedraw(function(b){return x.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},a.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},a.prototype.setColors=function(y){this._renderer.setColors(y),this._fullRefresh()},a.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},a.prototype.onResize=function(y,x){this._renderer.onResize(y,x),this._fullRefresh()},a.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},a.prototype.onBlur=function(){this._renderer.onBlur()},a.prototype.onFocus=function(){this._renderer.onFocus()},a.prototype.onSelectionChanged=function(y,x,b){this._selectionState.start=y,this._selectionState.end=x,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(y,x,b)},a.prototype.onCursorMove=function(){this._renderer.onCursorMove()},a.prototype.clear=function(){this._renderer.clear()},a.prototype.registerCharacterJoiner=function(y){return this._renderer.registerCharacterJoiner(y)},a.prototype.deregisterCharacterJoiner=function(y){return this._renderer.deregisterCharacterJoiner(y)},a=he([de(3,ae.IOptionsService),de(4,oe.ICharSizeService),de(5,ae.IBufferService)],a)}(ie.Disposable);ve.RenderService=re},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ie,ce,ue,ae){var oe,re=arguments.length,ee=re<3?ce:ae===null?ae=Object.getOwnPropertyDescriptor(ce,ue):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(ie,ce,ue,ae);else for(var a=ie.length-1;a>=0;a--)(oe=ie[a])&&(ee=(re<3?oe(ee):re>3?oe(ce,ue,ee):oe(ce,ue))||ee);return re>3&&ee&&Object.defineProperty(ce,ue,ee),ee},E=this&&this.__param||function(ie,ce){return function(ue,ae){ce(ue,ae,ie)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.CharSizeService=void 0;var he=be(1),de=be(0),se=function(){function ie(ce,ue,ae){this._optionsService=ae,this.width=0,this.height=0,this._onCharSizeChange=new de.EventEmitter,this._measureStrategy=new ne(ce,ue,this._optionsService)}return Object.defineProperty(ie.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),ie.prototype.measure=function(){var ce=this._measureStrategy.measure();ce.width===this.width&&ce.height===this.height||(this.width=ce.width,this.height=ce.height,this._onCharSizeChange.fire())},ie=_e([E(2,he.IOptionsService)],ie)}();ve.CharSizeService=se;var ne=function(){function ie(ce,ue,ae){this._document=ce,this._parentElement=ue,this._optionsService=ae,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return ie.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var ce=this._measureElement.getBoundingClientRect();return ce.width!==0&&ce.height!==0&&(this._result.width=ce.width,this._result.height=Math.ceil(ce.height)),this._result},ie}()},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ne,ie,ce,ue){var ae,oe=arguments.length,re=oe<3?ie:ue===null?ue=Object.getOwnPropertyDescriptor(ie,ce):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(ne,ie,ce,ue);else for(var ee=ne.length-1;ee>=0;ee--)(ae=ne[ee])&&(re=(oe<3?ae(re):oe>3?ae(ie,ce,re):ae(ie,ce))||re);return oe>3&&re&&Object.defineProperty(ie,ce,re),re},E=this&&this.__param||function(ne,ie){return function(ce,ue){ie(ce,ue,ne)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.MouseService=void 0;var he=be(5),de=be(30),se=function(){function ne(ie,ce){this._renderService=ie,this._charSizeService=ce}return ne.prototype.getCoords=function(ie,ce,ue,ae,oe){return de.getCoords(ie,ce,ue,ae,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,oe)},ne.prototype.getRawByteCoords=function(ie,ce,ue,ae){var oe=this.getCoords(ie,ce,ue,ae);return de.getRawByteCoords(oe)},ne=_e([E(0,he.IRenderService),E(1,he.ICharSizeService)],ne)}();ve.MouseService=se},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ee){re.__proto__=ee}||function(re,ee){for(var a in ee)ee.hasOwnProperty(a)&&(re[a]=ee[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),he=this&&this.__decorate||function(ae,oe,re,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,re):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,re,ee);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},de=this&&this.__param||function(ae,oe){return function(re,ee){oe(re,ee,ae)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.Linkifier2=void 0;var se=be(1),ne=be(0),ie=be(2),ce=be(7),ue=function(ae){function oe(re){var ee=ae.call(this)||this;return ee._bufferService=re,ee._linkProviders=[],ee._linkCacheDisposables=[],ee._isMouseOut=!0,ee._activeLine=-1,ee._onShowLinkUnderline=ee.register(new ne.EventEmitter),ee._onHideLinkUnderline=ee.register(new ne.EventEmitter),ee.register(ie.getDisposeArrayDisposable(ee._linkCacheDisposables)),ee}return E(oe,ae),Object.defineProperty(oe.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),oe.prototype.registerLinkProvider=function(re){var ee=this;return this._linkProviders.push(re),{dispose:function(){var a=ee._linkProviders.indexOf(re);a!==-1&&ee._linkProviders.splice(a,1)}}},oe.prototype.attachToDom=function(re,ee,a){var y=this;this._element=re,this._mouseService=ee,this._renderService=a,this.register(ce.addDisposableDomListener(this._element,"mouseleave",function(){y._isMouseOut=!0,y._clearCurrentLink()})),this.register(ce.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(ce.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},oe.prototype._onMouseMove=function(re){if(this._lastMouseEvent=re,this._element&&this._mouseService){var ee=this._positionFromMouseEvent(re,this._element,this._mouseService);if(ee){this._isMouseOut=!1;for(var a=re.composedPath(),y=0;y<a.length;y++){var x=a[y];if(x.classList.contains("xterm"))break;if(x.classList.contains("xterm-hover"))return}this._lastBufferCell&&ee.x===this._lastBufferCell.x&&ee.y===this._lastBufferCell.y||(this._onHover(ee),this._lastBufferCell=ee)}}},oe.prototype._onHover=function(re){if(this._activeLine!==re.y)return this._clearCurrentLink(),void this._askForLink(re,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,re)||(this._clearCurrentLink(),this._askForLink(re,!0))},oe.prototype._askForLink=function(re,ee){var a=this;this._activeProviderReplies&&ee||(this._activeProviderReplies=new Map,this._activeLine=re.y);var y=!1;this._linkProviders.forEach(function(x,b){var z;ee?!((z=a._activeProviderReplies)===null||z===void 0)&&z.get(b)&&(y=a._checkLinkProviderResult(b,re,y)):x.provideLinks(re.y,function(te){var le,fe;if(!a._isMouseOut){var pe=te==null?void 0:te.map(function(me){return{link:me}});(le=a._activeProviderReplies)===null||le===void 0||le.set(b,pe),y=a._checkLinkProviderResult(b,re,y),((fe=a._activeProviderReplies)===null||fe===void 0?void 0:fe.size)===a._linkProviders.length&&a._removeIntersectingLinks(re.y,a._activeProviderReplies)}})})},oe.prototype._removeIntersectingLinks=function(re,ee){for(var a=new Set,y=0;y<ee.size;y++){var x=ee.get(y);if(x)for(var b=0;b<x.length;b++)for(var z=x[b],te=z.link.range.start.y<re?0:z.link.range.start.x,le=z.link.range.end.y>re?this._bufferService.cols:z.link.range.end.x,fe=te;fe<=le;fe++){if(a.has(fe)){x.splice(b--,1);break}a.add(fe)}}},oe.prototype._checkLinkProviderResult=function(re,ee,a){var y,x=this;if(!this._activeProviderReplies)return a;for(var b=this._activeProviderReplies.get(re),z=!1,te=0;te<re;te++)this._activeProviderReplies.has(te)&&!this._activeProviderReplies.get(te)||(z=!0);if(!z&&b){var le=b.find(function(pe){return x._linkAtPosition(pe.link,ee)});le&&(a=!0,this._handleNewLink(le))}if(this._activeProviderReplies.size===this._linkProviders.length&&!a)for(te=0;te<this._activeProviderReplies.size;te++){var fe=(y=this._activeProviderReplies.get(te))===null||y===void 0?void 0:y.find(function(pe){return x._linkAtPosition(pe.link,ee)});if(fe){a=!0,this._handleNewLink(fe);break}}return a},oe.prototype._onClick=function(re){if(this._element&&this._mouseService&&this._currentLink){var ee=this._positionFromMouseEvent(re,this._element,this._mouseService);ee&&this._linkAtPosition(this._currentLink.link,ee)&&this._currentLink.link.activate(re,this._currentLink.link.text)}},oe.prototype._clearCurrentLink=function(re,ee){this._element&&this._currentLink&&this._lastMouseEvent&&(!re||!ee||this._currentLink.link.range.start.y>=re&&this._currentLink.link.range.end.y<=ee)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,ie.disposeArray(this._linkCacheDisposables))},oe.prototype._handleNewLink=function(re){var ee=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var a=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);a&&this._linkAtPosition(re.link,a)&&(this._currentLink=re,this._currentLink.state={decorations:{underline:re.link.decorations===void 0||re.link.decorations.underline,pointerCursor:re.link.decorations===void 0||re.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,re.link,this._lastMouseEvent),re.link.decorations={},Object.defineProperties(re.link.decorations,{pointerCursor:{get:function(){var y,x;return(x=(y=ee._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.pointerCursor},set:function(y){var x,b;!((x=ee._currentLink)===null||x===void 0)&&x.state&&ee._currentLink.state.decorations.pointerCursor!==y&&(ee._currentLink.state.decorations.pointerCursor=y,ee._currentLink.state.isHovered&&((b=ee._element)===null||b===void 0||b.classList.toggle("xterm-cursor-pointer",y)))}},underline:{get:function(){var y,x;return(x=(y=ee._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.underline},set:function(y){var x,b,z;!((x=ee._currentLink)===null||x===void 0)&&x.state&&((z=(b=ee._currentLink)===null||b===void 0?void 0:b.state)===null||z===void 0?void 0:z.decorations.underline)!==y&&(ee._currentLink.state.decorations.underline=y,ee._currentLink.state.isHovered&&ee._fireUnderlineEvent(re.link,y))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(y){var x=y.start===0?0:y.start+1+ee._bufferService.buffer.ydisp;ee._clearCurrentLink(x,y.end+1+ee._bufferService.buffer.ydisp)})))}},oe.prototype._linkHover=function(re,ee,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(ee,!0),this._currentLink.state.decorations.pointerCursor&&re.classList.add("xterm-cursor-pointer")),ee.hover&&ee.hover(a,ee.text)},oe.prototype._fireUnderlineEvent=function(re,ee){var a=re.range,y=this._bufferService.buffer.ydisp,x=this._createLinkUnderlineEvent(a.start.x-1,a.start.y-y-1,a.end.x,a.end.y-y-1,void 0);(ee?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(x)},oe.prototype._linkLeave=function(re,ee,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(ee,!1),this._currentLink.state.decorations.pointerCursor&&re.classList.remove("xterm-cursor-pointer")),ee.leave&&ee.leave(a,ee.text)},oe.prototype._linkAtPosition=function(re,ee){var a=re.range.start.y===re.range.end.y,y=re.range.start.y<ee.y,x=re.range.end.y>ee.y;return(a&&re.range.start.x<=ee.x&&re.range.end.x>=ee.x||y&&re.range.end.x>=ee.x||x&&re.range.start.x<=ee.x||y&&x)&&re.range.start.y<=ee.y&&re.range.end.y>=ee.y},oe.prototype._positionFromMouseEvent=function(re,ee,a){var y=a.getCoords(re,ee,this._bufferService.cols,this._bufferService.rows);if(y)return{x:y[0],y:y[1]+this._bufferService.buffer.ydisp}},oe.prototype._createLinkUnderlineEvent=function(re,ee,a,y,x){return{x1:re,y1:ee,x2:a,y2:y,cols:this._bufferService.cols,fg:x}},oe=he([de(0,se.IBufferService)],oe)}(ie.Disposable);ve.Linkifier2=ue},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.CoreBrowserService=void 0;var _e=function(){function E(he){this._textarea=he}return Object.defineProperty(E.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),E}();ve.CoreBrowserService=_e},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(te,le){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,pe){fe.__proto__=pe}||function(fe,pe){for(var me in pe)pe.hasOwnProperty(me)&&(fe[me]=pe[me])})(te,le)},function(te,le){function fe(){this.constructor=te}_e(te,le),te.prototype=le===null?Object.create(le):(fe.prototype=le.prototype,new fe)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.CoreTerminal=void 0;var he=be(2),de=be(1),se=be(66),ne=be(67),ie=be(68),ce=be(74),ue=be(75),ae=be(0),oe=be(76),re=be(77),ee=be(78),a=be(80),y=be(81),x=be(19),b=be(82),z=function(te){function le(fe){var pe=te.call(this)||this;return pe._onBinary=new ae.EventEmitter,pe._onData=new ae.EventEmitter,pe._onLineFeed=new ae.EventEmitter,pe._onResize=new ae.EventEmitter,pe._onScroll=new ae.EventEmitter,pe._instantiationService=new se.InstantiationService,pe.optionsService=new ce.OptionsService(fe),pe._instantiationService.setService(de.IOptionsService,pe.optionsService),pe._bufferService=pe.register(pe._instantiationService.createInstance(ie.BufferService)),pe._instantiationService.setService(de.IBufferService,pe._bufferService),pe._logService=pe._instantiationService.createInstance(ne.LogService),pe._instantiationService.setService(de.ILogService,pe._logService),pe._coreService=pe.register(pe._instantiationService.createInstance(ue.CoreService,function(){return pe.scrollToBottom()})),pe._instantiationService.setService(de.ICoreService,pe._coreService),pe._coreMouseService=pe._instantiationService.createInstance(oe.CoreMouseService),pe._instantiationService.setService(de.ICoreMouseService,pe._coreMouseService),pe._dirtyRowService=pe._instantiationService.createInstance(re.DirtyRowService),pe._instantiationService.setService(de.IDirtyRowService,pe._dirtyRowService),pe.unicodeService=pe._instantiationService.createInstance(ee.UnicodeService),pe._instantiationService.setService(de.IUnicodeService,pe.unicodeService),pe._charsetService=pe._instantiationService.createInstance(a.CharsetService),pe._instantiationService.setService(de.ICharsetService,pe._charsetService),pe._inputHandler=new x.InputHandler(pe._bufferService,pe._charsetService,pe._coreService,pe._dirtyRowService,pe._logService,pe.optionsService,pe._coreMouseService,pe.unicodeService),pe.register(ae.forwardEvent(pe._inputHandler.onLineFeed,pe._onLineFeed)),pe.register(pe._inputHandler),pe.register(ae.forwardEvent(pe._bufferService.onResize,pe._onResize)),pe.register(ae.forwardEvent(pe._coreService.onData,pe._onData)),pe.register(ae.forwardEvent(pe._coreService.onBinary,pe._onBinary)),pe.register(pe.optionsService.onOptionChange(function(me){return pe._updateOptions(me)})),pe._writeBuffer=new b.WriteBuffer(function(me){return pe._inputHandler.parse(me)}),pe}return E(le,te),Object.defineProperty(le.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),le.prototype.dispose=function(){var fe;this._isDisposed||(te.prototype.dispose.call(this),(fe=this._windowsMode)===null||fe===void 0||fe.dispose(),this._windowsMode=void 0)},le.prototype.write=function(fe,pe){this._writeBuffer.write(fe,pe)},le.prototype.writeSync=function(fe){this._writeBuffer.writeSync(fe)},le.prototype.resize=function(fe,pe){isNaN(fe)||isNaN(pe)||(fe=Math.max(fe,ie.MINIMUM_COLS),pe=Math.max(pe,ie.MINIMUM_ROWS),this._bufferService.resize(fe,pe))},le.prototype.scroll=function(fe,pe){pe===void 0&&(pe=!1);var me,ge=this._bufferService.buffer;(me=this._cachedBlankLine)&&me.length===this.cols&&me.getFg(0)===fe.fg&&me.getBg(0)===fe.bg||(me=ge.getBlankLine(fe,pe),this._cachedBlankLine=me),me.isWrapped=pe;var Se=ge.ybase+ge.scrollTop,ye=ge.ybase+ge.scrollBottom;if(ge.scrollTop===0){var Pe=ge.lines.isFull;ye===ge.lines.length-1?Pe?ge.lines.recycle().copyFrom(me):ge.lines.push(me.clone()):ge.lines.splice(ye+1,0,me.clone()),Pe?this._bufferService.isUserScrolling&&(ge.ydisp=Math.max(ge.ydisp-1,0)):(ge.ybase++,this._bufferService.isUserScrolling||ge.ydisp++)}else{var we=ye-Se+1;ge.lines.shiftElements(Se+1,we-1,-1),ge.lines.set(ye,me.clone())}this._bufferService.isUserScrolling||(ge.ydisp=ge.ybase),this._dirtyRowService.markRangeDirty(ge.scrollTop,ge.scrollBottom),this._onScroll.fire(ge.ydisp)},le.prototype.scrollLines=function(fe,pe){var me=this._bufferService.buffer;if(fe<0){if(me.ydisp===0)return;this._bufferService.isUserScrolling=!0}else fe+me.ydisp>=me.ybase&&(this._bufferService.isUserScrolling=!1);var ge=me.ydisp;me.ydisp=Math.max(Math.min(me.ydisp+fe,me.ybase),0),ge!==me.ydisp&&(pe||this._onScroll.fire(me.ydisp))},le.prototype.scrollPages=function(fe){this.scrollLines(fe*(this.rows-1))},le.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},le.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},le.prototype.scrollToLine=function(fe){var pe=fe-this._bufferService.buffer.ydisp;pe!==0&&this.scrollLines(pe)},le.prototype.addEscHandler=function(fe,pe){return this._inputHandler.addEscHandler(fe,pe)},le.prototype.addDcsHandler=function(fe,pe){return this._inputHandler.addDcsHandler(fe,pe)},le.prototype.addCsiHandler=function(fe,pe){return this._inputHandler.addCsiHandler(fe,pe)},le.prototype.addOscHandler=function(fe,pe){return this._inputHandler.addOscHandler(fe,pe)},le.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},le.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},le.prototype._updateOptions=function(fe){var pe;switch(fe){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((pe=this._windowsMode)===null||pe===void 0||pe.dispose(),this._windowsMode=void 0)}},le.prototype._enableWindowsMode=function(){var fe=this;if(!this._windowsMode){var pe=[];pe.push(this.onLineFeed(y.updateWindowsModeWrappedState.bind(null,this._bufferService))),pe.push(this.addCsiHandler({final:"H"},function(){return y.updateWindowsModeWrappedState(fe._bufferService),!1})),this._windowsMode={dispose:function(){for(var me=0,ge=pe;me<ge.length;me++)ge[me].dispose()}}}},le}(he.Disposable);ve.CoreTerminal=z},function(dt,ve,be){"use strict";var _e=this&&this.__spreadArrays||function(){for(var ne=0,ie=0,ce=arguments.length;ie<ce;ie++)ne+=arguments[ie].length;var ue=Array(ne),ae=0;for(ie=0;ie<ce;ie++)for(var oe=arguments[ie],re=0,ee=oe.length;re<ee;re++,ae++)ue[ae]=oe[re];return ue};Object.defineProperty(ve,"__esModule",{value:!0}),ve.InstantiationService=ve.ServiceCollection=void 0;var E=be(1),he=be(14),de=function(){function ne(){for(var ie=[],ce=0;ce<arguments.length;ce++)ie[ce]=arguments[ce];this._entries=new Map;for(var ue=0,ae=ie;ue<ae.length;ue++){var oe=ae[ue],re=oe[0],ee=oe[1];this.set(re,ee)}}return ne.prototype.set=function(ie,ce){var ue=this._entries.get(ie);return this._entries.set(ie,ce),ue},ne.prototype.forEach=function(ie){this._entries.forEach(function(ce,ue){return ie(ue,ce)})},ne.prototype.has=function(ie){return this._entries.has(ie)},ne.prototype.get=function(ie){return this._entries.get(ie)},ne}();ve.ServiceCollection=de;var se=function(){function ne(){this._services=new de,this._services.set(E.IInstantiationService,this)}return ne.prototype.setService=function(ie,ce){this._services.set(ie,ce)},ne.prototype.getService=function(ie){return this._services.get(ie)},ne.prototype.createInstance=function(ie){for(var ce=[],ue=1;ue<arguments.length;ue++)ce[ue-1]=arguments[ue];for(var ae=he.getServiceDependencies(ie).sort(function(b,z){return b.index-z.index}),oe=[],re=0,ee=ae;re<ee.length;re++){var a=ee[re],y=this._services.get(a.id);if(!y)throw new Error("[createInstance] "+ie.name+" depends on UNKNOWN service "+a.id+".");oe.push(y)}var x=ae.length>0?ae[0].index:ce.length;if(ce.length!==x)throw new Error("[createInstance] First service dependency of "+ie.name+" at position "+(x+1)+" conflicts with "+ce.length+" static arguments");return new(ie.bind.apply(ie,_e([void 0],_e(ce,oe))))},ne}();ve.InstantiationService=se},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ce,ue,ae,oe){var re,ee=arguments.length,a=ee<3?ue:oe===null?oe=Object.getOwnPropertyDescriptor(ue,ae):oe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(ce,ue,ae,oe);else for(var y=ce.length-1;y>=0;y--)(re=ce[y])&&(a=(ee<3?re(a):ee>3?re(ue,ae,a):re(ue,ae))||a);return ee>3&&a&&Object.defineProperty(ue,ae,a),a},E=this&&this.__param||function(ce,ue){return function(ae,oe){ue(ae,oe,ce)}},he=this&&this.__spreadArrays||function(){for(var ce=0,ue=0,ae=arguments.length;ue<ae;ue++)ce+=arguments[ue].length;var oe=Array(ce),re=0;for(ue=0;ue<ae;ue++)for(var ee=arguments[ue],a=0,y=ee.length;a<y;a++,re++)oe[re]=ee[a];return oe};Object.defineProperty(ve,"__esModule",{value:!0}),ve.LogService=ve.LogLevel=void 0;var de,se=be(1);(function(ce){ce[ce.DEBUG=0]="DEBUG",ce[ce.INFO=1]="INFO",ce[ce.WARN=2]="WARN",ce[ce.ERROR=3]="ERROR",ce[ce.OFF=4]="OFF"})(de=ve.LogLevel||(ve.LogLevel={}));var ne={debug:de.DEBUG,info:de.INFO,warn:de.WARN,error:de.ERROR,off:de.OFF},ie=function(){function ce(ue){var ae=this;this._optionsService=ue,this._updateLogLevel(),this._optionsService.onOptionChange(function(oe){oe==="logLevel"&&ae._updateLogLevel()})}return ce.prototype._updateLogLevel=function(){this._logLevel=ne[this._optionsService.options.logLevel]},ce.prototype._evalLazyOptionalParams=function(ue){for(var ae=0;ae<ue.length;ae++)typeof ue[ae]=="function"&&(ue[ae]=ue[ae]())},ce.prototype._log=function(ue,ae,oe){this._evalLazyOptionalParams(oe),ue.call.apply(ue,he([console,"xterm.js: "+ae],oe))},ce.prototype.debug=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.DEBUG&&this._log(console.log,ue,ae)},ce.prototype.info=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.INFO&&this._log(console.info,ue,ae)},ce.prototype.warn=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.WARN&&this._log(console.warn,ue,ae)},ce.prototype.error=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.ERROR&&this._log(console.error,ue,ae)},ce=_e([E(0,se.IOptionsService)],ce)}();ve.LogService=ie},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ee){re.__proto__=ee}||function(re,ee){for(var a in ee)ee.hasOwnProperty(a)&&(re[a]=ee[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),he=this&&this.__decorate||function(ae,oe,re,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,re):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,re,ee);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},de=this&&this.__param||function(ae,oe){return function(re,ee){oe(re,ee,ae)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.BufferService=ve.MINIMUM_ROWS=ve.MINIMUM_COLS=void 0;var se=be(1),ne=be(69),ie=be(0),ce=be(2);ve.MINIMUM_COLS=2,ve.MINIMUM_ROWS=1;var ue=function(ae){function oe(re){var ee=ae.call(this)||this;return ee._optionsService=re,ee.isUserScrolling=!1,ee._onResize=new ie.EventEmitter,ee.cols=Math.max(re.options.cols,ve.MINIMUM_COLS),ee.rows=Math.max(re.options.rows,ve.MINIMUM_ROWS),ee.buffers=new ne.BufferSet(re,ee),ee}return E(oe,ae),Object.defineProperty(oe.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),oe.prototype.dispose=function(){ae.prototype.dispose.call(this),this.buffers.dispose()},oe.prototype.resize=function(re,ee){this.cols=re,this.rows=ee,this.buffers.resize(re,ee),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:re,rows:ee})},oe.prototype.reset=function(){this.buffers.dispose(),this.buffers=new ne.BufferSet(this._optionsService,this),this.isUserScrolling=!1},oe=he([de(0,se.IOptionsService)],oe)}(ce.Disposable);ve.BufferService=ue},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ne,ie){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ue){ce.__proto__=ue}||function(ce,ue){for(var ae in ue)ue.hasOwnProperty(ae)&&(ce[ae]=ue[ae])})(ne,ie)},function(ne,ie){function ce(){this.constructor=ne}_e(ne,ie),ne.prototype=ie===null?Object.create(ie):(ce.prototype=ie.prototype,new ce)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.BufferSet=void 0;var he=be(70),de=be(0),se=function(ne){function ie(ce,ue){var ae=ne.call(this)||this;return ae._onBufferActivate=ae.register(new de.EventEmitter),ae._normal=new he.Buffer(!0,ce,ue),ae._normal.fillViewportRows(),ae._alt=new he.Buffer(!1,ce,ue),ae._activeBuffer=ae._normal,ae.setupTabStops(),ae}return E(ie,ne),Object.defineProperty(ie.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),ie.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},ie.prototype.activateAltBuffer=function(ce){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(ce),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},ie.prototype.resize=function(ce,ue){this._normal.resize(ce,ue),this._alt.resize(ce,ue)},ie.prototype.setupTabStops=function(ce){this._normal.setupTabStops(ce),this._alt.setupTabStops(ce)},ie}(be(2).Disposable);ve.BufferSet=se},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.BufferStringIterator=ve.Buffer=ve.MAX_BUFFER_SIZE=void 0;var _e=be(71),E=be(16),he=be(4),de=be(3),se=be(72),ne=be(73),ie=be(20),ce=be(6);ve.MAX_BUFFER_SIZE=4294967295;var ue=function(){function oe(re,ee,a){this._hasScrollback=re,this._optionsService=ee,this._bufferService=a,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=E.DEFAULT_ATTR_DATA.clone(),this.savedCharset=ie.DEFAULT_CHARSET,this.markers=[],this._nullCell=he.CellData.fromCharData([0,de.NULL_CELL_CHAR,de.NULL_CELL_WIDTH,de.NULL_CELL_CODE]),this._whitespaceCell=he.CellData.fromCharData([0,de.WHITESPACE_CELL_CHAR,de.WHITESPACE_CELL_WIDTH,de.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new _e.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return oe.prototype.getNullCell=function(re){return re?(this._nullCell.fg=re.fg,this._nullCell.bg=re.bg,this._nullCell.extended=re.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new ce.ExtendedAttrs),this._nullCell},oe.prototype.getWhitespaceCell=function(re){return re?(this._whitespaceCell.fg=re.fg,this._whitespaceCell.bg=re.bg,this._whitespaceCell.extended=re.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new ce.ExtendedAttrs),this._whitespaceCell},oe.prototype.getBlankLine=function(re,ee){return new E.BufferLine(this._bufferService.cols,this.getNullCell(re),ee)},Object.defineProperty(oe.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isCursorInViewport",{get:function(){var re=this.ybase+this.y-this.ydisp;return re>=0&&re<this._rows},enumerable:!1,configurable:!0}),oe.prototype._getCorrectBufferLength=function(re){if(!this._hasScrollback)return re;var ee=re+this._optionsService.options.scrollback;return ee>ve.MAX_BUFFER_SIZE?ve.MAX_BUFFER_SIZE:ee},oe.prototype.fillViewportRows=function(re){if(this.lines.length===0){re===void 0&&(re=E.DEFAULT_ATTR_DATA);for(var ee=this._rows;ee--;)this.lines.push(this.getBlankLine(re))}},oe.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new _e.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},oe.prototype.resize=function(re,ee){var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=this._getCorrectBufferLength(ee);if(y>this.lines.maxLength&&(this.lines.maxLength=y),this.lines.length>0){if(this._cols<re)for(var x=0;x<this.lines.length;x++)this.lines.get(x).resize(re,a);var b=0;if(this._rows<ee)for(var z=this._rows;z<ee;z++)this.lines.length<ee+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new E.BufferLine(re,a)):this.ybase>0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new E.BufferLine(re,a)));else for(z=this._rows;z>ee;z--)this.lines.length>ee+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(y<this.lines.maxLength){var te=this.lines.length-y;te>0&&(this.lines.trimStart(te),this.ybase=Math.max(this.ybase-te,0),this.ydisp=Math.max(this.ydisp-te,0),this.savedY=Math.max(this.savedY-te,0)),this.lines.maxLength=y}this.x=Math.min(this.x,re-1),this.y=Math.min(this.y,ee-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,re-1),this.scrollTop=0}if(this.scrollBottom=ee-1,this._isReflowEnabled&&(this._reflow(re,ee),this._cols>re))for(x=0;x<this.lines.length;x++)this.lines.get(x).resize(re,a);this._cols=re,this._rows=ee},Object.defineProperty(oe.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),oe.prototype._reflow=function(re,ee){this._cols!==re&&(re>this._cols?this._reflowLarger(re,ee):this._reflowSmaller(re,ee))},oe.prototype._reflowLarger=function(re,ee){var a=se.reflowLargerGetLinesToRemove(this.lines,this._cols,re,this.ybase+this.y,this.getNullCell(E.DEFAULT_ATTR_DATA));if(a.length>0){var y=se.reflowLargerCreateNewLayout(this.lines,a);se.reflowLargerApplyNewLayout(this.lines,y.layout),this._reflowLargerAdjustViewport(re,ee,y.countRemoved)}},oe.prototype._reflowLargerAdjustViewport=function(re,ee,a){for(var y=this.getNullCell(E.DEFAULT_ATTR_DATA),x=a;x-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<ee&&this.lines.push(new E.BufferLine(re,y))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-a,0)},oe.prototype._reflowSmaller=function(re,ee){for(var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=[],x=0,b=this.lines.length-1;b>=0;b--){var z=this.lines.get(b);if(!(!z||!z.isWrapped&&z.getTrimmedLength()<=re)){for(var te=[z];z.isWrapped&&b>0;)z=this.lines.get(--b),te.unshift(z);var le=this.ybase+this.y;if(!(le>=b&&le<b+te.length)){var fe=te[te.length-1].getTrimmedLength(),pe=se.reflowSmallerGetNewLineLengths(te,this._cols,re),me=pe.length-te.length,ge=void 0;ge=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+me):Math.max(0,this.lines.length-this.lines.maxLength+me);for(var Se=[],ye=0;ye<me;ye++){var Pe=this.getBlankLine(E.DEFAULT_ATTR_DATA,!0);Se.push(Pe)}Se.length>0&&(y.push({start:b+te.length+x,newLines:Se}),x+=Se.length),te.push.apply(te,Se);var we=pe.length-1,De=pe[we];De===0&&(De=pe[--we]);for(var Ee=te.length-me-1,Ae=fe;Ee>=0;){var Ce=Math.min(Ae,De);if(te[we].copyCellsFrom(te[Ee],Ae-Ce,De-Ce,Ce,!0),(De-=Ce)===0&&(De=pe[--we]),(Ae-=Ce)===0){Ee--;var Ie=Math.max(Ee,0);Ae=se.getWrappedLineTrimmedLength(te,Ie,this._cols)}}for(ye=0;ye<te.length;ye++)pe[ye]<re&&te[ye].setCell(pe[ye],a);for(var Me=me-ge;Me-- >0;)this.ybase===0?this.y<ee-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+x)-ee&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+me,this.ybase+ee-1)}}}if(y.length>0){var Ge=[],Be=[];for(ye=0;ye<this.lines.length;ye++)Be.push(this.lines.get(ye));var Qe=this.lines.length,qe=Qe-1,Xe=0,Ve=y[Xe];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+x);var We=0;for(ye=Math.min(this.lines.maxLength-1,Qe+x-1);ye>=0;ye--)if(Ve&&Ve.start>qe+We){for(var ze=Ve.newLines.length-1;ze>=0;ze--)this.lines.set(ye--,Ve.newLines[ze]);ye++,Ge.push({index:qe+1,amount:Ve.newLines.length}),We+=Ve.newLines.length,Ve=y[++Xe]}else this.lines.set(ye,Be[qe--]);var He=0;for(ye=Ge.length-1;ye>=0;ye--)Ge[ye].index+=He,this.lines.onInsertEmitter.fire(Ge[ye]),He+=Ge[ye].amount;var tt=Math.max(0,Qe+x-this.lines.maxLength);tt>0&&this.lines.onTrimEmitter.fire(tt)}},oe.prototype.stringIndexToBufferIndex=function(re,ee,a){for(a===void 0&&(a=!1);ee;){var y=this.lines.get(re);if(!y)return[-1,-1];for(var x=a?y.getTrimmedLength():y.length,b=0;b<x;++b)if(y.get(b)[de.CHAR_DATA_WIDTH_INDEX]&&(ee-=y.get(b)[de.CHAR_DATA_CHAR_INDEX].length||1),ee<0)return[re,b];re++}return[re,0]},oe.prototype.translateBufferLineToString=function(re,ee,a,y){a===void 0&&(a=0);var x=this.lines.get(re);return x?x.translateToString(ee,a,y):""},oe.prototype.getWrappedRangeForLine=function(re){for(var ee=re,a=re;ee>0&&this.lines.get(ee).isWrapped;)ee--;for(;a+1<this.lines.length&&this.lines.get(a+1).isWrapped;)a++;return{first:ee,last:a}},oe.prototype.setupTabStops=function(re){for(re!=null?this.tabs[re]||(re=this.prevStop(re)):(this.tabs={},re=0);re<this._cols;re+=this._optionsService.options.tabStopWidth)this.tabs[re]=!0},oe.prototype.prevStop=function(re){for(re==null&&(re=this.x);!this.tabs[--re]&&re>0;);return re>=this._cols?this._cols-1:re<0?0:re},oe.prototype.nextStop=function(re){for(re==null&&(re=this.x);!this.tabs[++re]&&re<this._cols;);return re>=this._cols?this._cols-1:re<0?0:re},oe.prototype.addMarker=function(re){var ee=this,a=new ne.Marker(re);return this.markers.push(a),a.register(this.lines.onTrim(function(y){a.line-=y,a.line<0&&a.dispose()})),a.register(this.lines.onInsert(function(y){a.line>=y.index&&(a.line+=y.amount)})),a.register(this.lines.onDelete(function(y){a.line>=y.index&&a.line<y.index+y.amount&&a.dispose(),a.line>y.index&&(a.line-=y.amount)})),a.register(a.onDispose(function(){return ee._removeMarker(a)})),a},oe.prototype._removeMarker=function(re){this.markers.splice(this.markers.indexOf(re),1)},oe.prototype.iterator=function(re,ee,a,y,x){return new ae(this,re,ee,a,y,x)},oe}();ve.Buffer=ue;var ae=function(){function oe(re,ee,a,y,x,b){a===void 0&&(a=0),y===void 0&&(y=re.lines.length),x===void 0&&(x=0),b===void 0&&(b=0),this._buffer=re,this._trimRight=ee,this._startIndex=a,this._endIndex=y,this._startOverscan=x,this._endOverscan=b,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return oe.prototype.hasNext=function(){return this._current<this._endIndex},oe.prototype.next=function(){var re=this._buffer.getWrappedRangeForLine(this._current);re.first<this._startIndex-this._startOverscan&&(re.first=this._startIndex-this._startOverscan),re.last>this._endIndex+this._endOverscan&&(re.last=this._endIndex+this._endOverscan),re.first=Math.max(re.first,0),re.last=Math.min(re.last,this._buffer.lines.length);for(var ee="",a=re.first;a<=re.last;++a)ee+=this._buffer.translateBufferLineToString(a,this._trimRight);return this._current=re.last+1,{range:re,content:ee}},oe}();ve.BufferStringIterator=ae},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.CircularList=void 0;var _e=be(0),E=function(){function he(de){this._maxLength=de,this.onDeleteEmitter=new _e.EventEmitter,this.onInsertEmitter=new _e.EventEmitter,this.onTrimEmitter=new _e.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(he.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"maxLength",{get:function(){return this._maxLength},set:function(de){if(this._maxLength!==de){for(var se=new Array(de),ne=0;ne<Math.min(de,this.length);ne++)se[ne]=this._array[this._getCyclicIndex(ne)];this._array=se,this._maxLength=de,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"length",{get:function(){return this._length},set:function(de){if(de>this._length)for(var se=this._length;se<de;se++)this._array[se]=void 0;this._length=de},enumerable:!1,configurable:!0}),he.prototype.get=function(de){return this._array[this._getCyclicIndex(de)]},he.prototype.set=function(de,se){this._array[this._getCyclicIndex(de)]=se},he.prototype.push=function(de){this._array[this._getCyclicIndex(this._length)]=de,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},he.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(he.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),he.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},he.prototype.splice=function(de,se){for(var ne=[],ie=2;ie<arguments.length;ie++)ne[ie-2]=arguments[ie];if(se){for(var ce=de;ce<this._length-se;ce++)this._array[this._getCyclicIndex(ce)]=this._array[this._getCyclicIndex(ce+se)];this._length-=se}for(ce=this._length-1;ce>=de;ce--)this._array[this._getCyclicIndex(ce+ne.length)]=this._array[this._getCyclicIndex(ce)];for(ce=0;ce<ne.length;ce++)this._array[this._getCyclicIndex(de+ce)]=ne[ce];if(this._length+ne.length>this._maxLength){var ue=this._length+ne.length-this._maxLength;this._startIndex+=ue,this._length=this._maxLength,this.onTrimEmitter.fire(ue)}else this._length+=ne.length},he.prototype.trimStart=function(de){de>this._length&&(de=this._length),this._startIndex+=de,this._length-=de,this.onTrimEmitter.fire(de)},he.prototype.shiftElements=function(de,se,ne){if(!(se<=0)){if(de<0||de>=this._length)throw new Error("start argument out of range");if(de+ne<0)throw new Error("Cannot shift elements in list beyond index 0");if(ne>0){for(var ie=se-1;ie>=0;ie--)this.set(de+ie+ne,this.get(de+ie));var ce=de+se+ne-this._length;if(ce>0)for(this._length+=ce;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(ie=0;ie<se;ie++)this.set(de+ie+ne,this.get(de+ie))}},he.prototype._getCyclicIndex=function(de){return(this._startIndex+de)%this._maxLength},he}();ve.CircularList=E},function(dt,ve,be){"use strict";function _e(E,he,de){if(he===E.length-1)return E[he].getTrimmedLength();var se=!E[he].hasContent(de-1)&&E[he].getWidth(de-1)===1,ne=E[he+1].getWidth(0)===2;return se&&ne?de-1:de}Object.defineProperty(ve,"__esModule",{value:!0}),ve.getWrappedLineTrimmedLength=ve.reflowSmallerGetNewLineLengths=ve.reflowLargerApplyNewLayout=ve.reflowLargerCreateNewLayout=ve.reflowLargerGetLinesToRemove=void 0,ve.reflowLargerGetLinesToRemove=function(E,he,de,se,ne){for(var ie=[],ce=0;ce<E.length-1;ce++){var ue=ce,ae=E.get(++ue);if(ae.isWrapped){for(var oe=[E.get(ce)];ue<E.length&&ae.isWrapped;)oe.push(ae),ae=E.get(++ue);if(se>=ce&&se<ue)ce+=oe.length-1;else{for(var re=0,ee=_e(oe,re,he),a=1,y=0;a<oe.length;){var x=_e(oe,a,he),b=x-y,z=de-ee,te=Math.min(b,z);oe[re].copyCellsFrom(oe[a],y,ee,te,!1),(ee+=te)===de&&(re++,ee=0),(y+=te)===x&&(a++,y=0),ee===0&&re!==0&&oe[re-1].getWidth(de-1)===2&&(oe[re].copyCellsFrom(oe[re-1],de-1,ee++,1,!1),oe[re-1].setCell(de-1,ne))}oe[re].replaceCells(ee,de,ne);for(var le=0,fe=oe.length-1;fe>0&&(fe>re||oe[fe].getTrimmedLength()===0);fe--)le++;le>0&&(ie.push(ce+oe.length-le),ie.push(le)),ce+=oe.length-1}}}return ie},ve.reflowLargerCreateNewLayout=function(E,he){for(var de=[],se=0,ne=he[se],ie=0,ce=0;ce<E.length;ce++)if(ne===ce){var ue=he[++se];E.onDeleteEmitter.fire({index:ce-ie,amount:ue}),ce+=ue-1,ie+=ue,ne=he[++se]}else de.push(ce);return{layout:de,countRemoved:ie}},ve.reflowLargerApplyNewLayout=function(E,he){for(var de=[],se=0;se<he.length;se++)de.push(E.get(he[se]));for(se=0;se<de.length;se++)E.set(se,de[se]);E.length=he.length},ve.reflowSmallerGetNewLineLengths=function(E,he,de){for(var se=[],ne=E.map(function(ee,a){return _e(E,a,he)}).reduce(function(ee,a){return ee+a}),ie=0,ce=0,ue=0;ue<ne;){if(ne-ue<de){se.push(ne-ue);break}ie+=de;var ae=_e(E,ce,he);ie>ae&&(ie-=ae,ce++);var oe=E[ce].getWidth(ie-1)===2;oe&&ie--;var re=oe?de-1:de;se.push(re),ue+=re}return se},ve.getWrappedLineTrimmedLength=_e},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(se,ne){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,ce){ie.__proto__=ce}||function(ie,ce){for(var ue in ce)ce.hasOwnProperty(ue)&&(ie[ue]=ce[ue])})(se,ne)},function(se,ne){function ie(){this.constructor=se}_e(se,ne),se.prototype=ne===null?Object.create(ne):(ie.prototype=ne.prototype,new ie)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.Marker=void 0;var he=be(0),de=function(se){function ne(ie){var ce=se.call(this)||this;return ce.line=ie,ce._id=ne._nextId++,ce.isDisposed=!1,ce._onDispose=new he.EventEmitter,ce}return E(ne,se),Object.defineProperty(ne.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),ne.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},ne._nextId=1,ne}(be(2).Disposable);ve.Marker=de},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.OptionsService=ve.DEFAULT_OPTIONS=ve.DEFAULT_BELL_SOUND=void 0;var _e=be(0),E=be(11),he=be(33);ve.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",ve.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:ve.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:E.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var de=["cols","rows"],se=function(){function ne(ie){this._onOptionChange=new _e.EventEmitter,this.options=he.clone(ve.DEFAULT_OPTIONS);for(var ce=0,ue=Object.keys(ie);ce<ue.length;ce++){var ae=ue[ce];if(ae in this.options){var oe=ie[ae];this.options[ae]=oe}}}return Object.defineProperty(ne.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),ne.prototype.setOption=function(ie,ce){if(!(ie in ve.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');if(de.indexOf(ie)!==-1)throw new Error('Option "'+ie+'" can only be set in the constructor');this.options[ie]!==ce&&(ce=this._sanitizeAndValidateOption(ie,ce),this.options[ie]!==ce&&(this.options[ie]=ce,this._onOptionChange.fire(ie)))},ne.prototype._sanitizeAndValidateOption=function(ie,ce){switch(ie){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":ce||(ce=ve.DEFAULT_OPTIONS[ie]);break;case"cursorWidth":ce=Math.floor(ce);case"lineHeight":case"tabStopWidth":if(ce<1)throw new Error(ie+" cannot be less than 1, value: "+ce);break;case"minimumContrastRatio":ce=Math.max(1,Math.min(21,Math.round(10*ce)/10));break;case"scrollback":if((ce=Math.min(ce,4294967295))<0)throw new Error(ie+" cannot be less than 0, value: "+ce);break;case"fastScrollSensitivity":case"scrollSensitivity":if(ce<=0)throw new Error(ie+" cannot be less than or equal to 0, value: "+ce)}return ce},ne.prototype.getOption=function(ie){if(!(ie in ve.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');return this.options[ie]},ne}();ve.OptionsService=se},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(re,ee){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,y){a.__proto__=y}||function(a,y){for(var x in y)y.hasOwnProperty(x)&&(a[x]=y[x])})(re,ee)},function(re,ee){function a(){this.constructor=re}_e(re,ee),re.prototype=ee===null?Object.create(ee):(a.prototype=ee.prototype,new a)}),he=this&&this.__decorate||function(re,ee,a,y){var x,b=arguments.length,z=b<3?ee:y===null?y=Object.getOwnPropertyDescriptor(ee,a):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(re,ee,a,y);else for(var te=re.length-1;te>=0;te--)(x=re[te])&&(z=(b<3?x(z):b>3?x(ee,a,z):x(ee,a))||z);return b>3&&z&&Object.defineProperty(ee,a,z),z},de=this&&this.__param||function(re,ee){return function(a,y){ee(a,y,re)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.CoreService=void 0;var se=be(1),ne=be(0),ie=be(33),ce=be(2),ue=Object.freeze({insertMode:!1}),ae=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),oe=function(re){function ee(a,y,x,b){var z=re.call(this)||this;return z._bufferService=y,z._logService=x,z._optionsService=b,z.isCursorInitialized=!1,z.isCursorHidden=!1,z._onData=z.register(new ne.EventEmitter),z._onUserInput=z.register(new ne.EventEmitter),z._onBinary=z.register(new ne.EventEmitter),z._scrollToBottom=a,z.register({dispose:function(){return z._scrollToBottom=void 0}}),z.modes=ie.clone(ue),z.decPrivateModes=ie.clone(ae),z}return E(ee,re),Object.defineProperty(ee.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),ee.prototype.reset=function(){this.modes=ie.clone(ue),this.decPrivateModes=ie.clone(ae)},ee.prototype.triggerDataEvent=function(a,y){if(y===void 0&&(y=!1),!this._optionsService.options.disableStdin){var x=this._bufferService.buffer;x.ybase!==x.ydisp&&this._scrollToBottom(),y&&this._onUserInput.fire(),this._logService.debug('sending data "'+a+'"',function(){return a.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(a)}},ee.prototype.triggerBinaryEvent=function(a){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+a+'"',function(){return a.split("").map(function(y){return y.charCodeAt(0)})}),this._onBinary.fire(a))},ee=he([de(1,se.IBufferService),de(2,se.ILogService),de(3,se.IOptionsService)],ee)}(ce.Disposable);ve.CoreService=oe},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ae,oe,re,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,re):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,re,ee);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},E=this&&this.__param||function(ae,oe){return function(re,ee){oe(re,ee,ae)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.CoreMouseService=void 0;var he=be(1),de=be(0),se={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(ae){return ae.button!==4&&ae.action===1&&(ae.ctrl=!1,ae.alt=!1,ae.shift=!1,!0)}},VT200:{events:19,restrict:function(ae){return ae.action!==32}},DRAG:{events:23,restrict:function(ae){return ae.action!==32||ae.button!==3}},ANY:{events:31,restrict:function(ae){return!0}}};function ne(ae,oe){var re=(ae.ctrl?16:0)|(ae.shift?4:0)|(ae.alt?8:0);return ae.button===4?(re|=64,re|=ae.action):(re|=3&ae.button,4&ae.button&&(re|=64),8&ae.button&&(re|=128),ae.action===32?re|=32:ae.action!==0||oe||(re|=3)),re}var ie=String.fromCharCode,ce={DEFAULT:function(ae){var oe=[ne(ae,!1)+32,ae.col+32,ae.row+32];return oe[0]>255||oe[1]>255||oe[2]>255?"":"\x1B[M"+ie(oe[0])+ie(oe[1])+ie(oe[2])},SGR:function(ae){var oe=ae.action===0&&ae.button!==4?"m":"M";return"\x1B[<"+ne(ae,!0)+";"+ae.col+";"+ae.row+oe}},ue=function(){function ae(oe,re){this._bufferService=oe,this._coreService=re,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new de.EventEmitter,this._lastEvent=null;for(var ee=0,a=Object.keys(se);ee<a.length;ee++){var y=a[ee];this.addProtocol(y,se[y])}for(var x=0,b=Object.keys(ce);x<b.length;x++){var z=b[x];this.addEncoding(z,ce[z])}this.reset()}return ae.prototype.addProtocol=function(oe,re){this._protocols[oe]=re},ae.prototype.addEncoding=function(oe,re){this._encodings[oe]=re},Object.defineProperty(ae.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(oe){if(!this._protocols[oe])throw new Error('unknown protocol "'+oe+'"');this._activeProtocol=oe,this._onProtocolChange.fire(this._protocols[oe].events)},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(oe){if(!this._encodings[oe])throw new Error('unknown encoding "'+oe+'"');this._activeEncoding=oe},enumerable:!1,configurable:!0}),ae.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(ae.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),ae.prototype.triggerMouseEvent=function(oe){if(oe.col<0||oe.col>=this._bufferService.cols||oe.row<0||oe.row>=this._bufferService.rows||oe.button===4&&oe.action===32||oe.button===3&&oe.action!==32||oe.button!==4&&(oe.action===2||oe.action===3)||(oe.col++,oe.row++,oe.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,oe))||!this._protocols[this._activeProtocol].restrict(oe))return!1;var re=this._encodings[this._activeEncoding](oe);return re&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(re):this._coreService.triggerDataEvent(re,!0)),this._lastEvent=oe,!0},ae.prototype.explainEvents=function(oe){return{down:!!(1&oe),up:!!(2&oe),drag:!!(4&oe),move:!!(8&oe),wheel:!!(16&oe)}},ae.prototype._compareEvents=function(oe,re){return oe.col===re.col&&oe.row===re.row&&oe.button===re.button&&oe.action===re.action&&oe.ctrl===re.ctrl&&oe.alt===re.alt&&oe.shift===re.shift},ae=_e([E(0,he.IBufferService),E(1,he.ICoreService)],ae)}();ve.CoreMouseService=ue},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(se,ne,ie,ce){var ue,ae=arguments.length,oe=ae<3?ne:ce===null?ce=Object.getOwnPropertyDescriptor(ne,ie):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(se,ne,ie,ce);else for(var re=se.length-1;re>=0;re--)(ue=se[re])&&(oe=(ae<3?ue(oe):ae>3?ue(ne,ie,oe):ue(ne,ie))||oe);return ae>3&&oe&&Object.defineProperty(ne,ie,oe),oe},E=this&&this.__param||function(se,ne){return function(ie,ce){ne(ie,ce,se)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.DirtyRowService=void 0;var he=be(1),de=function(){function se(ne){this._bufferService=ne,this.clearRange()}return Object.defineProperty(se.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),se.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},se.prototype.markDirty=function(ne){ne<this._start?this._start=ne:ne>this._end&&(this._end=ne)},se.prototype.markRangeDirty=function(ne,ie){if(ne>ie){var ce=ne;ne=ie,ie=ce}ne<this._start&&(this._start=ne),ie>this._end&&(this._end=ie)},se.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},se=_e([E(0,he.IBufferService)],se)}();ve.DirtyRowService=de},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.UnicodeService=void 0;var _e=be(0),E=be(79),he=function(){function de(){this._providers=Object.create(null),this._active="",this._onChange=new _e.EventEmitter;var se=new E.UnicodeV6;this.register(se),this._active=se.version,this._activeProvider=se}return Object.defineProperty(de.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"activeVersion",{get:function(){return this._active},set:function(se){if(!this._providers[se])throw new Error('unknown Unicode version "'+se+'"');this._active=se,this._activeProvider=this._providers[se],this._onChange.fire(se)},enumerable:!1,configurable:!0}),de.prototype.register=function(se){this._providers[se.version]=se},de.prototype.wcwidth=function(se){return this._activeProvider.wcwidth(se)},de.prototype.getStringCellWidth=function(se){for(var ne=0,ie=se.length,ce=0;ce<ie;++ce){var ue=se.charCodeAt(ce);if(55296<=ue&&ue<=56319){if(++ce>=ie)return ne+this.wcwidth(ue);var ae=se.charCodeAt(ce);56320<=ae&&ae<=57343?ue=1024*(ue-55296)+ae-56320+65536:ne+=this.wcwidth(ae)}ne+=this.wcwidth(ue)}return ne},de}();ve.UnicodeService=he},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.UnicodeV6=void 0;var _e,E=be(15),he=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],de=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],se=function(){function ne(){if(this.version="6",!_e){_e=new Uint8Array(65536),E.fill(_e,1),_e[0]=0,E.fill(_e,0,1,32),E.fill(_e,0,127,160),E.fill(_e,2,4352,4448),_e[9001]=2,_e[9002]=2,E.fill(_e,2,11904,42192),_e[12351]=1,E.fill(_e,2,44032,55204),E.fill(_e,2,63744,64256),E.fill(_e,2,65040,65050),E.fill(_e,2,65072,65136),E.fill(_e,2,65280,65377),E.fill(_e,2,65504,65511);for(var ie=0;ie<he.length;++ie)E.fill(_e,0,he[ie][0],he[ie][1]+1)}}return ne.prototype.wcwidth=function(ie){return ie<32?0:ie<127?1:ie<65536?_e[ie]:function(ce,ue){var ae,oe=0,re=ue.length-1;if(ce<ue[0][0]||ce>ue[re][1])return!1;for(;re>=oe;)if(ce>ue[ae=oe+re>>1][1])oe=ae+1;else{if(!(ce<ue[ae][0]))return!0;re=ae-1}return!1}(ie,de)?0:ie>=131072&&ie<=196605||ie>=196608&&ie<=262141?2:1},ne}();ve.UnicodeV6=se},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.CharsetService=void 0;var _e=function(){function E(){this.glevel=0,this._charsets=[]}return E.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},E.prototype.setgLevel=function(he){this.glevel=he,this.charset=this._charsets[he]},E.prototype.setgCharset=function(he,de){this._charsets[he]=de,this.glevel===he&&(this.charset=de)},E}();ve.CharsetService=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.updateWindowsModeWrappedState=void 0;var _e=be(3);ve.updateWindowsModeWrappedState=function(E){var he=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),de=he==null?void 0:he.get(E.cols-1),se=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);se&&de&&(se.isWrapped=de[_e.CHAR_DATA_CODE_INDEX]!==_e.NULL_CELL_CODE&&de[_e.CHAR_DATA_CODE_INDEX]!==_e.WHITESPACE_CELL_CODE)}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.WriteBuffer=void 0;var _e=function(){function E(he){this._action=he,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return E.prototype.writeSync=function(he){if(this._writeBuffer.length){for(var de=this._bufferOffset;de<this._writeBuffer.length;++de){var se=this._writeBuffer[de],ne=this._callbacks[de];this._action(se),ne&&ne()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(he)},E.prototype.write=function(he,de){var se=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return se._innerWrite()})),this._pendingData+=he.length,this._writeBuffer.push(he),this._callbacks.push(de)},E.prototype._innerWrite=function(){for(var he=this,de=Date.now();this._writeBuffer.length>this._bufferOffset;){var se=this._writeBuffer[this._bufferOffset],ne=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(se),this._pendingData-=se.length,ne&&ne(),Date.now()-de>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return he._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},E}();ve.WriteBuffer=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.AddonManager=void 0;var _e=function(){function E(){this._addons=[]}return E.prototype.dispose=function(){for(var he=this._addons.length-1;he>=0;he--)this._addons[he].instance.dispose()},E.prototype.loadAddon=function(he,de){var se=this,ne={instance:de,dispose:de.dispose,isDisposed:!1};this._addons.push(ne),de.dispose=function(){return se._wrappedAddonDispose(ne)},de.activate(he)},E.prototype._wrappedAddonDispose=function(he){if(!he.isDisposed){for(var de=-1,se=0;se<this._addons.length;se++)if(this._addons[se]===he){de=se;break}if(de===-1)throw new Error("Could not dispose an addon that has not been loaded");he.isDisposed=!0,he.dispose.apply(he.instance),this._addons.splice(de,1)}},E}();ve.AddonManager=_e}])})},62522:function(Ct){"use strict";Ct.exports="data:image/png;base64,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"},60141:function(Ct){"use strict";Ct.exports="data:image/gif;base64,R0lGODlh6QDIAPf/APrMTf789vrMUPvdi/zfkfi4CvvYef713fnKSfzosP7wyvrSZfjAKPzmqf3wzP767fnHPv7xzf3wzvjFOfe2BP767vi8F/i8GPvagfnGO/jDMv3uxv3svfrNUvzkov724fvWcfzinPvbhPi5DfrTZv734vi6EPzglfnKSP3tw/nJR/3qtv3nrPrRYPjAJf/++/702PvVbvrUbfrUafrQX/rOVvnLTfrWcvi+H/i7Fv7y0P3y0/3wyv3uxPzjoPzglvi/I/vejvvZfPe5D/rTaPrPWvrOVPrKSf3vyPzlpPnNU/nKRvnENfe6E/Ly8v3sv+Xl5frZf9ra2vnIQOjo6Pv7+9jY2PX19d7e3tTU1Ovr6/n5+dzc3O7u7uLi4tDQ0M7Oztvb2/j4+N3d3ezs7NHR0f7+/tXV1fHx8fDw8NLS0uHh4d/f3/jAJvb29vT09M/Pz+/v7/f39+rq6uPj49bW1vr6+uDg4NfX1+Tk5PPz89PT0+np6efn59nZ2e3t7frPWfzmqvnFN/39/fz8/P756/723/vdif3ru/745/zhmObm5vrUav3ps/zim/zdiv757Pzlpvzruvzhmfe3Bve3B/zimvvhmvnCK/jAJ//56v/9+f7z1f702vvciPvXdfnBJ/jFN/jDL/735PvZe/e7Ffzjn/e3CPznq/3twf3ruvi+IPnFNvvdjPzps/3psvrOWP702/rQXfvYevnOWfvUav3quPrWdP302//56/i9G/zejP712/778/nIQv3orfnOV/i3BvnGOv/+/frKR/////3nqv3uw/vYd/3y1frUa/713v3ruPvZevrXd/e2BvnEM//+/P7z1v///f3rufnDMPnHQPe2A/i/JPrIQvnMUP3z2PnLSv/88/e8Gv746P7uxfvUa/vgk/vglPzgk/rNVPvaffnBKf3xz/756vi6D/rSYvrVcPe4C/jENvi7E/789PrPWPnIQfzchv3tv/3svvzquf3qufi9Hfi9Hve4DPnCLvjCL/e1AM3Nzf///yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ4IDc5LjE2NDAzNiwgMjAxOS8wOC8xMy0wMTowNjo1NyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIxLjAgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDJDNDJCNzNGQjY2MTFFREE3MTFEMUFDMEEzQzRDM0MiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDJDNDJCNzRGQjY2MTFFREE3MTFEMUFDMEEzQzRDM0MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMkM0MkI3MUZCNjYxMUVEQTcxMUQxQUMwQTNDNEMzQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowMkM0MkI3MkZCNjYxMUVEQTcxMUQxQUMwQTNDNEMzQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2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"}}]);
|