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

414 lines
1.9 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

(self.webpackChunk=self.webpackChunk||[]).push([[7883,6270],{33463:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},28575:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},84249:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},81893:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},90674:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},55304:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},73148:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},56747:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},50881:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},22751:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},34182:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},74664:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},91034:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return re}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:he}))},re=xe.forwardRef(le)},71736:function(Lt,gt){"use strict";gt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},11579:function(Lt,gt){"use strict";gt.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"}},12867:function(){"use strict"},22707:function(Lt,gt,de){"use strict";var Se=de(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,le=(ie,ue,ae)=>ue in ie?xe(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ie[ue]=ae,re=(ie,ue)=>{for(var ae in ue||(ue={}))he.call(ue,ae)&&le(ie,ae,ue[ae]);if(E)for(var ae of E(ue))fe.call(ue,ae)&&le(ie,ae,ue[ae]);return ie};const se=ie=>React.createElement("svg",re({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ie),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"})));gt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},8861:function(Lt,gt,de){"use strict";var Se=de(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,le=(ie,ue,ae)=>ue in ie?xe(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ie[ue]=ae,re=(ie,ue)=>{for(var ae in ue||(ue={}))he.call(ue,ae)&&le(ie,ae,ue[ae]);if(E)for(var ae of E(ue))fe.call(ue,ae)&&le(ie,ae,ue[ae]);return ie};const se=ie=>React.createElement("svg",re({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ie),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"})));gt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},18023:function(){"use strict";function Lt(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(Lt.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(Lt.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(Lt.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(Lt.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 Lt))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 gt=[];function de(ee,a){var y=gt.pop();return y===void 0?new go.Point(ee,a):(y.x=ee,y.y=a,y)}function Se(){var ee=gt.pop();return ee===void 0?new go.Point:ee}function xe(ee){gt.push(ee)}function E(ee,a,y,x,b,z,te,ce,ge){ge||(ge=new go.Point);var me=ee-y,ve=b-te,pe=NaN,be=NaN;if(me===0)if(ve===0)ee===y&&(pe=ee,be=a);else{var ye=(z-ce)/ve,Ee=z-ye*b;pe=ee,be=ye*pe+Ee}else if(ve===0){var Pe=(a-x)/me,Ae=a-Pe*ee;pe=b,be=Pe*pe+Ae}else{var Pe=(a-x)/me,ye=(z-ce)/ve,Ae=a-Pe*ee,Ee=z-ye*b;pe=(Ee-Ae)/(Pe-ye),be=Pe*pe+Ae}return ge.x=pe,ge.y=be,ge}function he(ee,a,y,x,b,z,te,ce,ge,me,ve,pe,be,ye){var Ee=1-ge,Pe=ge,Ae=ee*Ee+y*Pe,Ce=a*Ee+x*Pe,_e=y*Ee+b*Pe,we=x*Ee+z*Pe,Re=b*Ee+te*Pe,De=z*Ee+ce*Pe,ke=Ae*Ee+_e*Pe,Ie=Ce*Ee+we*Pe,qe=_e*Ee+Re*Pe,Je=we*Ee+De*Pe,We=ke*Ee+qe*Pe,Qe=Ie*Ee+Je*Pe;me.x=Ae,me.y=Ce,ve.x=ke,ve.y=Ie,pe.x=We,pe.y=Qe,be.x=qe,be.y=Je,ye.x=Re,ye.y=De}var fe=new go.Spot(.156,.156),le=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Lt("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*re,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=fe,b.spot2=le,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,re*a,0,a,(1-re)*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,re*y,(1-re)*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,re*y,re*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-re)*a,0,0,(1-re)*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 Lt("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 Lt("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 Lt("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 Lt("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 Lt("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 se=[];function ie(){var ee=se.pop();return ee===void 0?[]:ee}function ue(ee){ee.length=0,se.push(ee)}function ae(ee){for(var a=ie(),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=ne(ee),y=ie();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 ne(ee){for(var a=ae(ee),y=ie(),x=Math.floor(a.length/2),b=a.length-1,z=ee%2===0?2:1,te=0;te<b;te++){var ce=a[te],ge=a[te+1],me=a[(x+te-1)%b],ve=a[(x+te+z)%b];y[te*2]=ce,y[te*2+1]=E(ce.x,ce.y,me.x,me.y,ge.x,ge.y,ve.x,ve.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=ne(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=ne(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=ne(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=ne(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=ne(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=ne(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 Lt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Lt("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 Lt("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 ce=Math.max(b-x,0);return ce>0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),z.spot1=fe,z.spot2=le,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 Lt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Lt("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,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,z,te,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ee,a,y){var x=re/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 Lt("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 Lt("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 Lt("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,ce=Math.atan2(y,a),ge=x-Math.min(Math.cos(ce)*x/2,z),me=x-Math.min(Math.sin(ce)*x/2,te),b=new go.Geometry,ve=new go.PathFigure(ge,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-ge,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,me)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-me)),ve.add(new go.PathSegment(go.PathSegment.Line,a-ge,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,ge,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-me)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,0,me).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Lt("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 Lt("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 Lt("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,re*a,0,a,(.5-re/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+re/2)*y,re*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,ce=0,ge=z*re;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ce)*y,(.5-z+te)*a,(.5+ge+ce)*y,(.5-ge+te)*a,(.5+z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ce)*y,(.5+ge+te)*a,(.5+z+ce)*y,(.5+z+te)*a,(.5+ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ce)*y,(1-.5+z+te)*a,(.5-ge+ce)*y,(.5+ge+te)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ge+te)*a,(.5-z+ce)*y,(.5-z+te+.05)*a,(.5-ge+ce-.02)*y)),z=.2,te=0,ce=-.3,ge=z*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ce)*y,(.5+ge+te)*a,(.5+z+ce)*y,(.5+z+te)*a,(.5+ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ce)*y,(1-.5+z+te)*a,(.5-ge+ce)*y,(.5+ge+te)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ce)*y,(.5-ge+te)*a,(.5-z+ce)*y,(.5-z+te)*a,(.5-ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+te)*a,(.5+z+ce)*y,(.5-z+te)*a,(.5+ge+ce)*y,(.5-ge+te)*a,(.5+z+ce)*y)),z=.2,te=-.3,ce=0,ge=z*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ce)*y,(1-.5+z+te-.05)*a,(.5-ge+ce-.02)*y,(.5+ge+te)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ce)*y,(.5-ge+te)*a,(.5-z+ce)*y,(.5-z+te)*a,(.5-ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ce)*y,(.5-z+te)*a,(.5+ge+ce)*y,(.5-ge+te)*a,(.5+z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ge+te)*a,(.5+z+ce)*y,(.5+z+te)*a,(.5+ge+ce)*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,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+z)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ce,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)),ce=.75,b=new go.PathFigure((te+z)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ce,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=re*.5,z=.5,te=.5,ce=.5,ge=new go.PathFigure(te*a,(ce-z)*y);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),z=.4,b=re*.4;var me=Se(),ve=Se(),pe=Se(),be=Se();he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.42,me,ve,pe,be,be);var ye=Se(),Ee=Se(),Pe=Se();he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.58,be,be,Pe,ye,Ee);var Ae=Se(),Ce=Se(),_e=Se();he(te,ce+z,te-b,ce+z,te-z,ce+b,te-z,ce,.42,Ae,Ce,_e,be,be);var we=Se(),Re=Se(),De=Se();return he(te,ce+z,te-b,ce+z,te-z,ce+b,te-z,ce,.58,be,be,De,we,Re),ge.add(new go.PathSegment(go.PathSegment.Move,De.x*a,De.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,we.x*a,we.y*y,Re.x*a,Re.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,me.x*a,me.y*y,ve.x*a,ve.y*y)),ge.add(new go.PathSegment(go.PathSegment.Line,De.x*a,De.y*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.y*y)),ge.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,ye.x*a,ye.y*y,Ee.x*a,Ee.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,Ae.x*a,Ae.y*y,Ce.x*a,Ce.y*y).close()),xe(me),xe(ve),xe(pe),xe(be),xe(ye),xe(Ee),xe(Pe),xe(Ae),xe(Ce),xe(_e),xe(we),xe(Re),xe(De),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 Lt("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=re*.4,z=.4,te=.5,ce=.5,ge=Se(),me=Se(),ve=Se(),pe=Se(),be=new go.PathFigure((te-z)*a,ce*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.44,ve,pe,me,ge,ge),be.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y));var ye=de(me.x,me.y);he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.56,ge,ge,me,ve,pe);var Ee=de(me.x,me.y);be.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*a,ye.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,ye.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),z=.35,b=re*.35;var Pe=new go.PathFigure(te*a,(ce-z)*y,!1);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y));var Ae=new go.PathFigure((te-z)*a,ce*y,!1);return x.add(Ae),xe(ge),xe(me),xe(ve),xe(pe),xe(ye),xe(Ee),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,ce=b*re,ge=new go.PathFigure((.525+z)*a,(.5+b+te)*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*y,(.5+ce+z)*a,(.5+b+te)*y,(.5+b+z)*a,(.5+ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*y,(1-.5+b+z)*a,(.5-ce+te)*y,(.5+ce+z)*a,(.5-b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ce+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+te)*y,(.5-b+z)*a,(.5+ce+te)*y,(.5-ce+z)*a,(.5+b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,te=-.125,ce=b*re;var ge=new go.PathFigure((1-.5+b+z)*a,(.5+te)*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*y,(.5+b+z)*a,(.5+ce+te)*y,(.5+ce+z)*a,(.5+b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ce+z)*a,(.5+b+te)*y,(.5-b+z)*a,(.5+ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ce+te)*y,(.5-ce+z)*a,(.5-b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*y,(.5+ce+z)*a,(.5-b+te)*y,(1-.5+b+z)*a,(.5-ce+te)*y));var ge=new go.PathFigure((.525+z)*a,(.5+b+te)*y,!1);return x.add(ge),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 Lt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Lt("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,ce=(.5+b/2)*y,ge=new go.Geometry,me=new go.PathFigure(0,te,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,te)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,z,y)),me.add(new go.PathSegment(go.PathSegment.Line,z,ce)),me.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),ge.spot1=new go.Spot(0,te/y);var ve=E(0,ce/y,1,ce/y,z/a,1,1,.5,Se());return ge.spot2=new go.Spot(ve.x,ve.y),xe(ve),ge}),go.Shape.setFigureParameter("Arrow2",0,new Lt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Lt("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,ce=te+b,ge=new go.Geometry,me=new go.PathFigure(0,te,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,te)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,z,y)),me.add(new go.PathSegment(go.PathSegment.Line,z,ce)),me.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),ge.spot1=new go.Spot(0,te/y);var ve=E(0,ce/y,1,ce/y,z/a,1,1,.5,Se());return ge.spot2=new go.Spot(ve.x,ve.y),xe(ve),ge}),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 Lt("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,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ge=E(0,.5,.3,0,0,b/y,.1,b/y,Se());return te.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,1,1,.5,0,z/y,1,z/y,ge),te.spot2=new go.Spot(ge.x,ge.y),xe(ge),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Lt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Lt("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,ce=(y-b)/2,ge=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,te=z+x,ce=0,ge=y):(z=0,te=y,ce=0,ge=y));var me=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);me.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var pe=E(0,.5,.3,ce/y,0,z/y,1,z/y,Se());return me.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,ge/y,1,.5,0,te/y,1,te/y,pe),me.spot2=new go.Spot(pe.x,pe.y),xe(pe),me}),go.Shape.setFigureParameter("IBeamArrow",0,new Lt("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,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,b/y);var ge=E(.7,1,1,.5,0,z/y,1,z/y,Se());return te.spot2=new go.Spot(ge.x,ge.y),xe(ge),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Lt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Lt("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,ce=(y-b)/2,ge=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,te=z+x,ce=0,ge=y):(z=0,te=y,ce=0,ge=y));var me=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);me.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),me.spot1=new go.Spot(0,z/y);var pe=E(.7,ge/y,1,.5,0,te/y,1,te/y,Se());return me.spot2=new go.Spot(pe.x,pe.y),xe(pe),me}),go.Shape.setFigureParameter("Pointer",0,new Lt("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,Se());return b.spot2=new go.Spot(te.x,te.y),xe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Lt("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,Se());return b.spot2=new go.Spot(te.x,te.y),xe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Lt("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,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,0,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var ge=E(.7,1,1,.5,0,z/y,1,z/y,Se());return te.spot2=new go.Spot(ge.x,ge.y),xe(ge),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Lt("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,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,0,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,b/y);var ge=E(.7,1,1,.5,0,z/y,1,z/y,Se());return te.spot2=new go.Spot(ge.x,ge.y),xe(ge),te}),go.Shape.setFigureParameter("SquareArrow",0,new Lt("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=re*.5,z=re*.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=re*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,re*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,re*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-re*x,(.5+z)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-re*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-re*x,(.5+z)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-re*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=re*.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,re*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,re*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-re*x,(.5+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-re*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-re*x,(.5-z)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-re*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=re*.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-re*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-re*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,re*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,re*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+re*x,0,2*x,(.5-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+re*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=re*.5,te=new go.PathFigure(a-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-re*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-re*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,re*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,re*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-re*x,0,a-2*x,(.5-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-re*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=re*b,ce=re*z,ge=.5,me=.1,ve=new go.PathFigure(ge*a,(me+z)*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge-b)*a,me*y,(ge-te)*a,(me+z)*y,(ge-b)*a,(me+ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-z)*y,(ge-b)*a,(me-ce)*y,(ge-te)*a,(me-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge+b)*a,me*y,(ge+te)*a,(me-z)*y,(ge+b)*a,(me-ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me+z)*y,(ge+b)*a,(me+ce)*y,(ge+te)*a,(me+z)*y));var pe=.05,be=re*pe;ge=.05,me=.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)),ge=.95,me=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge+pe)*a,me*y,(ge+be)*a,(me-pe)*y,(ge+pe)*a,(me-be)*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)),pe=.025,be=re*pe,ge=.825,me=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-pe)*y,(ge+pe)*a,(me-be)*y,(ge+be)*a,(me-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-pe)*a,me*y,(ge-be)*a,(me-pe)*y,(ge-pe)*a,(me-be)*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)),pe=.05,be=re*pe,ge=.5,me=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-pe)*y,(ge+pe)*a,(me-be)*y,(ge+be)*a,(me-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-pe)*a,me*y,(ge-be)*a,(me-pe)*y,(ge-pe)*a,(me-be)*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)),pe=.025,be=re*pe,ge=.175,me=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-pe)*y,(ge+pe)*a,(me-be)*y,(ge+be)*a,(me-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-pe)*a,me*y,(ge-be)*a,(me-pe)*y,(ge-pe)*a,(me-be)*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)),pe=.05,be=re*pe,ge=.05,me=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-pe)*y,(ge-pe)*a,(me-be)*y,(ge-be)*a,(me-pe)*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 Lt("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=re*.5,z=re*.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 ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),ce.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=re*.5,z=re*.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 ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ce.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=re*.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 ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.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 ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),ce.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=re*.5,ce=.5,ge=new go.PathFigure(a,ce*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+te)*y,(ce+te)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-te)*a,y,0,(ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-te)*y,(ce-te)*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+te)*a,0,a,(ce-te)*y));var me=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),me.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),me.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=re*.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 ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.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=re*.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 ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.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=re*.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=re*.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 ce=new go.PathFigure(a,z*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var ge=new go.PathFigure(.8*a,.75*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ge.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=re*.1,z=.1,te=.9,ce=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var me=new go.PathFigure((te+z)*a,ce*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce-z)*y,(te+z)*a,(ce-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=re*.5,z=re*.4,te=re*.1,ce=.1,ge=.9,me=.5,ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var pe=new go.PathFigure((ge+ce)*a,me*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me+ce)*y,(ge+ce)*a,(me+te)*y,(ge+te)*a,(me+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a,me*y,(ge-te)*a,(me+ce)*y,(ge-ce)*a,(me+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-ce)*y,(ge-ce)*a,(me-te)*y,(ge-te)*a,(me-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a,me*y,(ge+te)*a,(me-ce)*y,(ge+ce)*a,(me-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=re*b,te=0,ce=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ce-b)*y,.7*a,(ce-z)*y)),b=.1,z=re*.1,te=.9,ce=.5;var me=new go.PathFigure((te-b)*a,ce*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+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=re*b,te=0,ce=.5,ge=new go.PathFigure(0,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z+z)*a,(ce-b)*y,.8*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+z)*y,(te+z+z)*a,(ce+b)*y)),ge.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=re*b,te=.2,ce=.5,ge=new go.PathFigure(.1*a,0,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ce-b)*y,.7*a,(ce-z)*y)),b=.1,z=re*.1,te=.9,ce=.5;var ve=new go.PathFigure((te-b)*a,ce*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+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=re*b,te=.2,ce=.5,ge=new go.PathFigure(.1*a,0,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var me=new go.PathFigure(.2*a,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z)*a,(ce-b)*y,.9*a,(ce-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),me.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=re*.1,z=.1,te=.1,ce=.5,ge=new go.PathFigure((te-b*.5)*a,y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.3,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.5,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.7,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.9,ge.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=re*.5,z=.5,te=.5,ce=.5,ge=new go.PathFigure((te-z)*a,ce*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce-z)*y,(te+z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*a,ce*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*a,ce*y,te*a,(ce-z)*y,te*a,(ce+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=re*.8,ce=.8,ge=0,me=.5,ve=(b-a)/2,pe=(z-y)/2,be=new go.PathFigure(ge*a+ve,(me+ce)*y+pe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a+ve,me*y+pe,(ge-te)*a+ve,(me+ce)*y+pe,(ge-ce)*a+ve,(me+te)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(me-ce)*y+pe,(ge-ce)*a+ve,(me-te)*y+pe,(ge-te)*a+ve,(me-ce)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce+te*.5)*a+ve,me*y+pe,ge*a+ve,(me-ce)*y+pe,(ge-ce+te*.5)*a+ve,(me-te)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(me+ce)*y+pe,(ge-ce+te*.5)*a+ve,(me+te)*y+pe,ge*a+ve,(me+ce)*y+pe).close()),te=re*.4,ce=.4,ge=.2,me=.5;var ye=new go.PathFigure(ge*a+ve,(me+ce)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a+ve,me*y+pe,(ge-te)*a+ve,(me+ce)*y+pe,(ge-ce)*a+ve,(me+te)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(me-ce)*y+pe,(ge-ce)*a+ve,(me-te)*y+pe,(ge-te)*a+ve,(me-ce)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce+te*.5)*a+ve,me*y+pe,ge*a+ve,(me-ce)*y+pe,(ge-ce+te*.5)*a+ve,(me-te)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(me+ce)*y+pe,(ge-ce+te*.5)*a+ve,(me+te)*y+pe,ge*a+ve,(me+ce)*y+pe).close()),te=re*.2,ce=.2,ge=.5,me=.5;var Ee=new go.PathFigure((ge-ce)*a+ve,me*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(me-ce)*y+pe,(ge-ce)*a+ve,(me-te)*y+pe,(ge-te)*a+ve,(me-ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a+ve,me*y+pe,(ge+te)*a+ve,(me-ce)*y+pe,(ge+ce)*a+ve,(me-te)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(me+ce)*y+pe,(ge+ce)*a+ve,(me+te)*y+pe,(ge+te)*a+ve,(me+ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a+ve,me*y+pe,(ge-te)*a+ve,(me+ce)*y+pe,(ge-ce)*a+ve,(me+te)*y+pe)),te=re*.4,ce=.4,ge=.8,me=.5;var Pe=new go.PathFigure(ge*a+ve,(me-ce)*y+pe,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a+ve,me*y+pe,(ge+te)*a+ve,(me-ce)*y+pe,(ge+ce)*a+ve,(me-te)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(me+ce)*y+pe,(ge+ce)*a+ve,(me+te)*y+pe,(ge+te)*a+ve,(me+ce)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce-te*.5)*a+ve,me*y+pe,ge*a+ve,(me+ce)*y+pe,(ge+ce-te*.5)*a+ve,(me+te)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(me-ce)*y+pe,(ge+ce-te*.5)*a+ve,(me-te)*y+pe,ge*a+ve,(me-ce)*y+pe).close()),te=re*.8,ce=.8,ge=1,me=.5;var Ae=new go.PathFigure(ge*a+ve,(me-ce)*y+pe,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a+ve,me*y+pe,(ge+te)*a+ve,(me-ce)*y+pe,(ge+ce)*a+ve,(me-te)*y+pe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(me+ce)*y+pe,(ge+ce)*a+ve,(me+te)*y+pe,(ge+te)*a+ve,(me+ce)*y+pe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce-te*.5)*a+ve,me*y+pe,ge*a+ve,(me+ce)*y+pe,(ge+ce-te*.5)*a+ve,(me+te)*y+pe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(me-ce)*y+pe,(ge+ce-te*.5)*a+ve,(me-te)*y+pe,ge*a+ve,(me-ce)*y+pe).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 ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.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=re*.4,z=.4,te=.5,ce=.5,ge=Se(),me=Se(),ve=Se(),pe=Se();he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.5,ge,ge,me,ve,pe);var be=de(me.x,me.y),ye=new go.PathFigure(me.x*a,me.y*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),he(te-z,ce,te-z,ce-b,te-b,ce-z,te,ce-z,.5,ve,pe,me,ge,ge),ye.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y)),b=re*.3,z=.3,he(te-z,ce,te-z,ce-b,te-b,ce-z,te,ce-z,.5,ve,pe,me,ge,ge),ye.add(new go.PathSegment(go.PathSegment.Line,me.x*a,me.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,pe.x*a,pe.y*y,ve.x*a,ve.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),he(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.5,ge,ge,me,ve,pe),ye.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,pe.x*a,pe.y*y,ve.x*a,ve.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()),xe(ge),xe(me),xe(ve),xe(pe),xe(be),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,ce,ge){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+ge)*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,ce=b*re,ge=.4*Math.SQRT2/2+.5,me=.5-.5*Math.SQRT2/2,ve=1,pe=.5,be=.5,ye=0,Ee=new go.PathFigure(ge*a,(1-me)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,pe*y,ve*a,.7*y,ve*a,pe*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(be+z)*a,(ye+z)*y,(.5+b+z)*a,(.5-ce+z)*y,(.5+ce+z)*a,(.5-b+z)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ce+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ce+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+ce+te)*y,(.5-ce+z)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),Ee.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,ce=.5,ge=te,me=Math.PI/4,ve=4*(1-Math.cos(me))/(3*Math.sin(me)),pe=ve*.5,be=te,ye=te,Ee=ve*be,Pe=ve*ye;z.add(new go.PathSegment(go.PathSegment.Bezier,(ce-be)*a,ge*y,(ce-(Ee+be)/2)*a,(ge+(ye+Pe)/2)*y,(ce-be)*a,(ge+Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-ye)*y,(ce-be)*a,(ge-Pe)*y,(ce-Ee)*a,(ge-ye)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ce+be)*a,ge*y,(ce+Ee)*a,(ge-ye)*y,(ce+be)*a,(ge-Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+be)*a,(ge+Pe)*y,(ce+(Ee+be)/2)*a,(ge+(ye+Pe)/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 Ae=new go.PathFigure(.2*a,y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ce=new go.PathFigure(.8*a,y,!1);return x.add(Ce),Ce.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=re*.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 ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.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,ce=re*.1,ge=.2,me=.9,ve=new go.PathFigure((ge-te)*a,me*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-te)*y,(ge-te)*a,(me-ce)*y,(ge-ce)*a,(me-te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*a,me*y,(ge+ce)*a,(me-te)*y,(ge+te)*a,(me-ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me+te)*y,(ge+te)*a,(me+ce)*y,(ge+ce)*a,(me+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*a,me*y,(ge-ce)*a,(me+te)*y,(ge-te)*a,(me+ce)*y).close()),te=.1,ce=re*.1,ge=.8,me=.9;var pe=new go.PathFigure((ge-te)*a,me*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-te)*y,(ge-te)*a,(me-ce)*y,(ge-ce)*a,(me-te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*a,me*y,(ge+ce)*a,(me-te)*y,(ge+te)*a,(me-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me+te)*y,(ge+te)*a,(me+ce)*y,(ge+ce)*a,(me+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*a,me*y,(ge-ce)*a,(me+te)*y,(ge-te)*a,(me+ce)*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 ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ge=.1,me=re*.1,ve=.1,pe=.9,be=new go.PathFigure((ve-ge)*a,pe*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(pe-ge)*y,(ve-ge)*a,(pe-me)*y,(ve-me)*a,(pe-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*a,pe*y,(ve+me)*a,(pe-ge)*y,(ve+ge)*a,(pe-me)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(pe+ge)*y,(ve+ge)*a,(pe+me)*y,(ve+me)*a,(pe+ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*a,pe*y,(ve-me)*a,(pe+ge)*y,(ve-ge)*a,(pe+me)*y)),ge=.1,me=re*.1,ve=.4,pe=.9;var ye=new go.PathFigure((ve-ge)*a,pe*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(pe-ge)*y,(ve-ge)*a,(pe-me)*y,(ve-me)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*a,pe*y,(ve+me)*a,(pe-ge)*y,(ve+ge)*a,(pe-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(pe+ge)*y,(ve+ge)*a,(pe+me)*y,(ve+me)*a,(pe+ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*a,pe*y,(ve-me)*a,(pe+ge)*y,(ve-ge)*a,(pe+me)*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 ve=.05,pe=re*.05,be=.175,ye=.95,ce=new go.PathFigure((be-ve)*a,ye*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ve)*y,(be-ve)*a,(ye-pe)*y,(be-pe)*a,(ye-ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(be+ve)*a,ye*y,(be+pe)*a,(ye-ve)*y,(be+ve)*a,(ye-pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ve)*y,(be+ve)*a,(ye+pe)*y,(be+pe)*a,(ye+ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(be-ve)*a,ye*y,(be-pe)*a,(ye+ve)*y,(be-ve)*a,(ye+pe)*y));var ve=.05,pe=re*.05,be=.375,ye=.95,ge=new go.PathFigure((be-ve)*a,ye*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ve)*y,(be-ve)*a,(ye-pe)*y,(be-pe)*a,(ye-ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+ve)*a,ye*y,(be+pe)*a,(ye-ve)*y,(be+ve)*a,(ye-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ve)*y,(be+ve)*a,(ye+pe)*y,(be+pe)*a,(ye+ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-ve)*a,ye*y,(be-pe)*a,(ye+ve)*y,(be-ve)*a,(ye+pe)*y));var ve=.05,pe=re*.05,be=.625,ye=.95,me=new go.PathFigure((be-ve)*a,ye*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ve)*y,(be-ve)*a,(ye-pe)*y,(be-pe)*a,(ye-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(be+ve)*a,ye*y,(be+pe)*a,(ye-ve)*y,(be+ve)*a,(ye-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ve)*y,(be+ve)*a,(ye+pe)*y,(be+pe)*a,(ye+ve)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(be-ve)*a,ye*y,(be-pe)*a,(ye+ve)*y,(be-ve)*a,(ye+pe)*y));var ve=.05,pe=re*.05,be=.825,ye=.95,Ee=new go.PathFigure((be-ve)*a,ye*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ve)*y,(be-ve)*a,(ye-pe)*y,(be-pe)*a,(ye-ve)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(be+ve)*a,ye*y,(be+pe)*a,(ye-ve)*y,(be+ve)*a,(ye-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ve)*y,(be+ve)*a,(ye+pe)*y,(be+pe)*a,(ye+ve)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(be-ve)*a,ye*y,(be-pe)*a,(ye+ve)*y,(be-ve)*a,(ye+pe)*y).close());var Pe=new go.PathFigure(0,y,!1);return x.add(Pe),Pe.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 ce=.05,ge=re*.05,me=.35,ve=.775,pe=new go.PathFigure((me-ce)*a,ve*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-ce)*y,(me-ce)*a,(ve-ge)*y,(me-ge)*a,(ve-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+ce)*a,ve*y,(me+ge)*a,(ve-ce)*y,(me+ce)*a,(ve-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve+ce)*y,(me+ce)*a,(ve+ge)*y,(me+ge)*a,(ve+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-ce)*a,ve*y,(me-ge)*a,(ve+ce)*y,(me-ce)*a,(ve+ge)*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=re*.3,te=.5,ce=.7,ge=new go.PathFigure((te-b)*a,ce*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y));var me=new go.PathFigure(0,.7*y,!1);return x.add(me),me.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=re*.5,te=.5,ce=.5,ge=new go.PathFigure((te-b)*a,ce*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y));var me=new go.PathFigure(.15*a,.5*y,!1);return x.add(me),me.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=re*.5,te=.5,ce=.5,ge=new go.PathFigure((te-b)*a,ce*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y).close()),b=.05,z=re*.05,te=.5,ce=.8;var me=new go.PathFigure((te-b)*a,ce*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y).close()),me.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),me.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),me.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 ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var ge=new go.PathFigure(.5*a,.1*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ge.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 ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var ge=new go.PathFigure(a*.816,y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ge.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ge.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 ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var ge=new go.PathFigure(a*1,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ge.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 ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var ge=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ge.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*re,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 ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var ge=new go.PathFigure(a*.83,y*1,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var me=new go.PathFigure(a*.78,y*.05,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),me.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),me.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*re,z=y*.8,te=new go.Geometry,ce=new go.PathFigure(x,0,!0);return te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ce.add(new go.PathSegment(go.PathSegment.Line,x,z)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.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*re,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")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Lt={},gt="5.0",de={},Se=null,xe=!1,E=!1,he=null,fe=!1,le=null,re=null,se=0;se<arguments.length;se++){var ie=arguments[se];if(ie!==null)switch(typeof ie){case"number":gt=ie.toFixed(1);break;case"string":ie.match(new RegExp("^[0-9]\\.[0-9]+$"))?gt=ie:he=ie;break;case"object":typeof ie.is3D!="undefined"?Se=ie:de=ie;break;case"boolean":xe=ie,E=!0;break}}Se===null&&(Se={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},de.material_id!==void 0&&!E&&(xe=!0)),he!==null&&de.id===void 0&&(de.id=he);var ue="",ae="",oe=!1,ne=null,ee=null,a=null,y=!1,x=null,b=null,z=null,te=null,ce=null;de.height!==void 0&&(de.height=Math.round(de.height)),de.width!==void 0&&(de.width=Math.round(de.width));var ge=function(He){return parseFloat(He)>4?parseFloat(He):5};Lt.setHTML5Codebase=function(He,Fe){re=He,Je(He,Fe)},Lt.setJavaCodebase=Lt.setJavaCodebaseVersion=Lt.isCompiledInstalled=Lt.setPreCompiledScriptPath=Lt.setPreCompiledResourcePath=function(){},Lt.setHTML5CodebaseVersion=function(He,Fe){var je=parseFloat(He);if(je!==NaN&&je<5){console.log("The GeoGebra HTML5 codebase version "+je+" is deprecated. Using version latest instead.");return}le=He,qe(He,Fe)},Lt.getHTML5CodebaseVersion=function(){return ee},Lt.getParameters=function(){return de},Lt.setFontsCSSURL=function(He){te=He},Lt.setGiacJSURL=function(He){},Lt.setJNLPFile=function(He){ue=He},Lt.setJNLPBaseDir=function(He){},Lt.inject=function(){function He(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Fe="auto",je=de.id,et,tt=!1,st=0;st<arguments.length;st++){var Xe=arguments[st];typeof Xe=="string"?(Xe=Xe.toLowerCase(),Xe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Fe=Xe:je=arguments[st]):typeof Xe=="boolean"?tt=Xe:Xe instanceof HTMLElement&&(et=Xe)}Ke();function Ke(){if(!fe){setTimeout(Ke,200);return}Fe=ke(Fe);var Me=et||document.getElementById(je);if(!Me){console.log("possibly bug on ajax loading? ");return}if(Lt.removeExistingApplet(Me,!1),de.width===void 0&&Me.clientWidth&&(de.width=Me.clientWidth),de.height===void 0&&Me.clientHeight&&(de.height=Me.clientHeight),!(de.width&&de.height)&&Fe==="html5"&&(delete de.width,delete de.height),ne=Fe,Fe==="screenshot")Ce(Me,de);else{var Ye=!1;de.hasOwnProperty("playButton")&&de.playButton||de.hasOwnProperty("clickToLoad")&&de.clickToLoad?Ye=!0:de.hasOwnProperty("playButtonAutoDecide")&&de.playButtonAutoDecide&&(Ye=(!me()||He())&&ve()),Ye?(ne="screenshot",we(Me,de,tt,Fe)):Ae(Me,de,tt)}}};function me(){try{return window.self!==window.top}catch(He){return!0}}function ve(){return de.hasOwnProperty("screenshotGenerator")&&de.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Lt.getViews=function(){return Se},Lt.isJavaInstalled=function(){return!1};var pe=function(He){var Fe=function(st){var Xe=JSON.parse(st),Ke=function(Le){return Le.type=="G"||Le.type=="E"},Me=Xe.elements?Xe.elements.filter(Ke)[0]:Xe;if(!Me||!Me.url){je();return}de.fileName=Me.url,be(Me.settings||{}),Se.is3D=!0;var Ye="https://www.geogebra.org/images/";Lt.setPreviewImage(x||Me.previewUrl,Ye+"GeoGebra_loading.png",Ye+"applet_play.png"),He()},je=function(){de.onError&&de.onError(),We("Error: Fetching material (id "+de.material_id+") failed.",de)},et=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",tt="/materials/"+de.material_id+"?scope=basic";ye("https://"+et+"/api/proxy.php?path="+encodeURIComponent(tt),Fe,je)};function be(He){var Fe=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(je){He[je]=!!He[je]}),Fe.forEach(function(je){de[je]===void 0&&He[je]!==void 0&&(de[je]=He[je])}),de.showToolBarHelp===void 0&&(de.showToolBarHelp=de.showToolBar)}function ye(He,Fe,je){var et=new XMLHttpRequest;et.open("GET",He),et.onload=function(){Fe(et.responseText)},et.onerror=je,et.send()}Lt.isHTML5Installed=function(){return!0},Lt.getLoadedAppletType=function(){return ne},Lt.setPreviewImage=function(He,Fe,je){x=He,b=Fe,z=je},Lt.removeExistingApplet=function(He,Fe){var je;typeof He=="string"&&(He=document.getElementById(He)),ne=null;var et=null;for(je=0;je<He.childNodes.length;je++){var tt=He.childNodes[je],st=tt.className;st==="applet_screenshot"?Fe?(tt.style.display="block",ne="screenshot"):tt.style.display="none":st!=="applet_scaler prerender"&&(He.removeChild(tt),et=st&&st.indexOf("appletParameters")!=-1?tt.id:null,je--)}var Xe=de.id!==void 0?de.id:et,Ke=window[Xe];Ke&&typeof Ke.getBase64=="function"&&(Ke.remove(),window[Xe]=null)},Lt.refreshHitPoints=function(){if(ge(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var He=Lt.getAppletObject();return He&&typeof He.recalculateEnvironments=="function"?(He.recalculateEnvironments(),!0):!1},Lt.startAnimation=function(){var He=Lt.getAppletObject();return He&&typeof He.startAnimation=="function"?(He.startAnimation(),!0):!1},Lt.stopAnimation=function(){var He=Lt.getAppletObject();return He&&typeof He.stopAnimation=="function"?(He.stopAnimation(),!0):!1},Lt.getAppletObject=function(){var He=de.id!==void 0?de.id:"ggbApplet";return window[He]},Lt.resize=function(){};var Ee=function(He,Fe,je){var et=document.createElement("param");et.setAttribute("name",Fe),et.setAttribute("value",je),He.appendChild(et)},Pe=function(He){return He&&He!=="false"},Ae=function(He,Fe,je){ge(ee)<=4.2&&(je=!0);var et=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ee||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(et=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var tt=document.createElement("div");tt.classList.add("appletParameters","notranslate");var st=Fe.width,Xe=Fe.height;if(Fe.disableAutoScale=Fe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Fe.disableAutoScale,Fe.width!==void 0)if(ge(ee)<=4.4)Pe(Fe.showToolBar)&&(Fe.height-=7),Pe(Fe.showAlgebraInput)&&(Fe.height-=37),Fe.width<605&&Pe(Fe.showToolBar)&&(Fe.width=605,st=605);else{var Ke=100;(Pe(Fe.showToolBar)||Pe(Fe.showMenuBar))&&(Fe.hasOwnProperty("customToolBar")&&(Fe.customToolbar=Fe.customToolBar),Ke=Pe(Fe.showMenuBar)?245:155),st<Ke&&(Fe.width=Ke,st=Ke)}tt.style.border="none",tt.style.display="inline-block";for(var Me in Fe)Fe.hasOwnProperty(Me)&&Me!=="appletOnLoad"&&tt.setAttribute("data-param-"+Me,Fe[Me]);te&&tt.setAttribute("data-param-fontscssurl",te),Lt.resize=function(){GGBAppletUtils.responsiveResize(He,Fe)},window.addEventListener("resize",function(dt){Lt.resize()});var Ye=typeof Fe.appletOnLoad=="function"?Fe.appletOnLoad:function(){};if(!je&&Fe.width!==void 0){Fe.hasOwnProperty("showSplash")||tt.setAttribute("data-param-showSplash","false");var Le=He.querySelector(".applet_scaler.prerender"),Be=Le!==null;if(Be)var Ve=Le.querySelector(".ggb_preview");else{var Ve=De(st,Xe,Fe.borderColor,!1);Le=document.createElement("div"),Le.className="applet_scaler",Le.style.position="relative",Le.style.display="block",Le.style.width=st+"px",Le.style.height=Xe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Le,"66%"),ge(ee)>=5?(Fe.appletOnLoad=function(dt){var nt=He.querySelector(".ggb_preview");nt&&nt.parentNode.removeChild(nt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Le),window.GGBT_wsf_view&&$(window).trigger("resize"),Ye(dt)},Be||Le.appendChild(Ve)):tt.appendChild(Ve),Le.appendChild(tt),Be||He.appendChild(Le),setTimeout(function(){Lt.resize()},1)}else{var $e=document.createElement("div");$e.className="applet_scaler",$e.style.position="relative",$e.style.display="block",$e.appendChild(tt),He.appendChild($e),Fe.appletOnLoad=function(dt){Lt.resize(),Ye(dt)}}function ze(dt,nt){nt&&typeof nt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(dt,nt.appletOnLoad):renderGGBElement(dt),We("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",nt)}function Te(dt,nt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:dt,params:nt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(vt){ze(vt.article,vt.params)}),html5AppletsToProcess=null)},ge(ee)<5&&(dt.className+=" geogebraweb")):ze(dt,nt)}if(et){scriptLoadStarted=!0;for(var Oe=0;Oe<tt.childNodes.length;Oe++){var Ne=tt.childNodes[Oe].tagName;Ne==="TABLE"&&(tt.removeChild(tt.childNodes[Oe]),Oe--)}if(ggbHTML5LoadedScript!==null){var Ge=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ge!=null&&Ge.parentNode.removeChild(Ge)}var rt=document.createElement("script"),mt=function(){Te(tt,Fe)};rt.src=ae+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ee,ggbHTML5LoadedScript=rt.src,We("GeoGebra HTML5 codebase loaded: '"+ae+"'.",Fe),!re&&(!le||le=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),mt()):ae.requirejs?__webpack_require__.e(12).then(function(){var dt=[__webpack_require__(12)];mt.apply(null,dt)}.bind(this)).catch(__webpack_require__.oe):(rt.onload=mt,He.appendChild(rt))}else Te(tt,Fe);Fe.height=Xe,Fe.width=st},Ce=function(He,Fe,je){var et=De(Fe.width,Fe.height,Fe.borderColor,je),tt=document.createElement("div");tt.style.position="relative",tt.style.display="block",tt.style.width=Fe.width+"px",tt.style.height=Fe.height+"px",tt.className="applet_screenshot applet_scaler"+(je?" applet_screenshot_play":""),tt.appendChild(et);var st=GGBAppletUtils.getScale(Fe,He,je);je?(He.appendChild(Re()),window.GGBT_wsf_view||(He.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(tt,"66%"),He.appendChild(tt),st!==1&&!isNaN(st)&&(GGBAppletUtils.scaleElement(tt,st),tt.style.width=Fe.width+"px",tt.style.height=Fe.height+"px",tt.parentNode.style.width=Fe.width*st+"px",tt.parentNode.style.height=Fe.height*st+"px"),Lt.resize=function(){_e(He,et,tt,je)},window.addEventListener("resize",function(Xe){Lt.resize()}),Lt.resize()};function _e(He,Fe,je,et){if(He.contains(Fe)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(He.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(He)}var tt=GGBAppletUtils.getScale(de,He,et);je.parentNode!==null&&(!isNaN(tt)&&tt!==1?(GGBAppletUtils.scaleElement(je,tt),je.parentNode.style.width=de.width*tt+"px",je.parentNode.style.height=de.height*tt+"px"):(GGBAppletUtils.scaleElement(je,1),je.parentNode.style.width=de.width+"px",je.parentNode.style.height=de.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(He),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Lt.onExitFullscreen=function(He,Fe){Fe.appendChild(He)};var we=function(He,Fe,je,et){Ce(He,Fe,!0);for(var tt=function(){var Ke=[];for(Xe=0;Xe<He.childNodes.length;Xe++)Ke.push(He.childNodes[Xe]);if(window.GGBT_wsf_view){var Me=window.GGBT_wsf_view.renderFullScreen(He,Fe.id),Ye=document.getElementById("fullscreencontainer"),Le=jQuery(He).find(".fullscreencontent");Le.length>0?(Me.remove(),Le.attr("id","fullscreencontent").show(),jQuery(Ye).append(Le),window.dispatchEvent(new Event("resize"))):Ae(Me,Fe,!1),window.GGBT_wsf_view.launchFullScreen(Ye)}else ne=et,Ae(He,Fe,!1);if(!window.GGBT_wsf_view)for(Xe=0;Xe<Ke.length;Xe++)He.removeChild(Ke[Xe])},st=He.getElementsByClassName("ggb_preview_play"),Xe=0;Xe<st.length;Xe++)st[Xe].addEventListener("click",tt,!1),st[Xe].addEventListener("ontouchstart",tt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(He),ve()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Re=function(){var He=document.createElement("div");if(He.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Fe='.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");}',je=document.createElement("style");je.styleSheet?je.styleSheet.cssText=Fe:je.appendChild(document.createTextNode(Fe)),document.getElementsByTagName("head")[0].appendChild(je)}return He},De=function(He,Fe,je,et){var tt=document.createElement("div");tt.className="ggb_preview",tt.style.position="absolute",tt.style.zIndex="90",tt.style.width=He-2+"px",tt.style.height=Fe-2+"px",tt.style.top="0px",tt.style.left="0px",tt.style.overflow="hidden",tt.style.backgroundColor="white";var st="lightgrey";je!==void 0&&(je==="none"?st="transparent":st=je),tt.style.border="1px solid "+st;var Xe=document.createElement("img");if(Xe.style.position="relative",Xe.style.zIndex="1000",Xe.style.top="-1px",Xe.style.left="-1px",x!==null&&Xe.setAttribute("src",x),Xe.style.opacity=.7,b!==null){var Ke,Me,Ye;if(!et){Ke=document.createElement("img"),Ke.style.position="absolute",Ke.style.zIndex="1001",Ke.style.opacity=1,Xe.style.opacity=.3,Me=360,Me>He/4*3&&(Me=He/4*3),Ye=Me/5.8,Ke.setAttribute("src",b),Ke.setAttribute("width",Me),Ke.setAttribute("height",Ye);var Le=(He-Me)/2,Be=(Fe-Ye)/2;Ke.style.left=Le+"px",Ke.style.top=Be+"px",tt.appendChild(Ke)}}return tt.appendChild(Xe),tt},ke=function(He){return He=He.toLowerCase(),He==="html5"||He==="screenshot"?He:"html5"},Ie=["web","webSimple","web3d","tablet","tablet3d","phone"],qe=function(He,Fe){if(ee=He,Fe){Je(ee,!0);return}var je=!xe;if(je){var et=ge(ee);!isNaN(et)&&et<4.4&&(je=!1)}var tt,st;window.location.protocol.substr(0,4)==="http"?tt=window.location.protocol:tt="http:";var Xe=ee.indexOf("//");Xe>0?st=ee:Xe===0?st=tt+ee:st="https://www.geogebra.org/apps/5.2.814.0/";for(var Ke in Ie)if(ee.slice(Ie[Ke].length*-1)===Ie[Ke]||ee.slice((Ie[Ke].length+1)*-1)===Ie[Ke]+"/"){Je(st,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&je&&!Se.is3D&&!Se.AV&&!Se.SV&&!Se.CV&&!Se.EV2&&!Se.CP&&!Se.PC&&!Se.DA&&!Se.FI&&!Se.PV&&!Pe(de.showToolBar)&&!Pe(de.showMenuBar)&&!Pe(de.showAlgebraInput)&&!Pe(de.enableRightClick)&&(!de.appName||de.appName=="classic")?st+="webSimple/":st+="web3d/",Je(st,!1)},Je=function(He,Fe){if(He.requirejs){ae=He;return}He.slice(-1)!=="/"&&(He+="/"),ae=He,Fe===null&&(Fe=He.indexOf("http")===-1),oe=Fe,a="web.nocache.js",y=!1;var je=ae.split("/");je.length>1&&(!Fe&&je[je.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Ie.indexOf(je[je.length-2])>=0&&(a=je[je.length-2]+".nocache.js")),je=He.split("/"),ee=je[je.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 et=parseFloat(ee);et!==NaN&&et<5&&He.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+et+" is deprecated. Using version latest instead."),qe("5.0",Fe))},We=function(He,Fe){window.console&&window.console.log&&(!Fe||typeof Fe.showLogging=="undefined"||Fe.showLogging&&Fe.showLogging!=="false")&&console.log(He)};de.material_id!==void 0?pe(Qe):Qe();function Qe(){var He=gt;le!==null?He=le:parseFloat(He)<5&&(He="5.0"),qe(He,!1),re!==null&&Je(re,oe),fe=!0}return Lt},GGBAppletUtils=function(){"use strict";function Lt(){return window.GGBT_wsf_edit!==void 0}function gt(fe,le){le!=1?(fe.style.transformOrigin="0% 0% 0px",fe.style.webkitTransformOrigin="0% 0% 0px",fe.style.transform="scale("+le+","+le+")",fe.style.webkitTransform="scale("+le+","+le+")",fe.style.maxWidth="initial",fe.querySelector(".ggb_preview")!==null&&(fe.querySelector(".ggb_preview").style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(fe.style.transform="none",fe.style.webkitTransform="none")}function de(fe,le,re,se,ie,ue){var ae=null;if(ue!=null&&ue!="")for(var oe=fe.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+ue+" ")>-1){ae=oe;break}else oe=oe.parentNode;var ne=0,ee=0,a=0,y=0,x=0,b=0,z=0;if(ae)ne=ae.offsetWidth,ee=Math.max(se?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ee=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,ee=window.innerHeight,a=window.innerWidth),fe){var te=fe.getBoundingClientRect();te.left>0&&te.left<=ne&&(ie===void 0||!ie)&&(document.dir==="rtl"?(x=ne-te.width-te.left,b=a<=480?10:30):(b=te.left,x=a<=480?10:30),y=b+x)}if(fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=fe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return fe&&((re===void 0||!re)&&le>0&&le+y<ne?ne=le:ne-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(re===void 0||!re)&&(ee-=z)),{width:ne,height:ee}}function Se(fe,le,re,se,ie){if(fe.isScreenshoGenerator)return 1;var ue=se!==void 0&&se,ae=fe.noScaleMargin!=null&&fe.noScaleMargin,oe=function(ce){return ce&&ce!=="false"},ne=oe(fe.autoHeight),ee=de(le,fe.width,re,ne,ue&&window.GGBT_wsf_view||ae,ie),a=parseInt(ee.width),y=fe.width,x=fe.height;if(y===void 0){var b=le.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var z=a/y,te=ue?1:ee.height/x;return re!==void 0&&!re&&(z=Math.min(1,z),te=Math.min(1,te)),Math.min(z,te)}function xe(fe,le,re){var se=1,ie,ue=!1;if(fe.hasOwnProperty("allowUpscale")&&(ue=fe.allowUpscale),fe.hasOwnProperty("scale")&&(se=parseFloat(fe.scale),(isNaN(se)||se===null||se===0)&&(se=1),se>1&&(ue=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(fe.hasOwnProperty("disableAutoScale")&&fe.disableAutoScale))ie=Se(fe,le,ue,re,fe.scaleContainerClass);else return se;return ue&&(!fe.hasOwnProperty("scale")||se===1)?ie:Math.min(se,ie)}function E(fe){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),se=fe.getBoundingClientRect(),ie=(le-se.width)/2,ue=(re-se.height)/2;ue<0&&(ue=0),fe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ie<40?fe.style.left="40px":fe.style.left=ie+"px",fe.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?fe.style.top="40px":fe.style.top=ue+"px",fe.style.left=ie+"px")}function he(fe,le){var re=fe.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(fe)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var se=xe(le,fe);Lt()&&re.setAttribute("data-param-scale",se);for(var ie=null,ue=0;ue<fe.childNodes.length;ue++)if(fe.childNodes[ue].className!==void 0&&fe.childNodes[ue].className.match(/^applet_scaler/)){ie=fe.childNodes[ue];break}if(ie!==null&&ie.querySelector(".noscale")!==null)return;var ae=le.id!==void 0?le.id:"ggbApplet",oe=window[ae];(oe==null||!oe.recalculateEnvironments)&&ie!==null&&!ie.className.match(/fullscreen/)&&(ie.parentNode.style.transform="",!isNaN(se)&&se!==1?(ie.parentNode.style.width=le.width*se+"px",ie.parentNode.style.height=le.height*se+"px",gt(ie,se)):(gt(ie,1),ie.parentNode.style.width=le.width+"px",ie.parentNode.style.height=le.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&E(fe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:he,isFlexibleWorksheetEditor:Lt,positionCenter:E,getScale:xe,scaleElement:gt}}();__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 Lt=n.location.search;return Lt.indexOf(J)!=-1||Lt.indexOf(K)!=-1}function q(Lt,gt){}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(Lt){var gt=s[L].bindings;s[L].bindings=function(){for(var de=gt?gt():{},Se=Lt[webModule.__softPermutationId],xe=O;xe<Se.length;xe++){var E=Se[xe];de[E[O]]=E[P]}return de}};var t;function u(){return v(),t}function v(){if(!t){var Lt=o.createElement(Q);if(Lt.id=L,Lt.style.cssText=R+S,Lt.tabIndex=-1,o.body.appendChild(Lt),t=Lt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var gt=document.compatMode==U?V:W;t.write(gt+X),t.close()}}}function w(Lt){function gt(Se){function xe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=xe();if(E){Se();return}function he(){if(!E){if(!xe())return;E=!0,Se(),o.removeEventListener&&o.removeEventListener(Z,he,!1),fe&&clearInterval(fe)}}o.addEventListener&&o.addEventListener(Z,he,!1);var fe=setInterval(function(){he()},$)}function de(Se){var xe=u(),E=xe.body,he=xe.createElement(_);he.language=ab,he.crossOrigin=W,he.src=Se,webModule.__errFn&&(he.onerror=function(){webModule.__errFn(L,new Error(bb+Se))}),E.appendChild(he)}gt(function(){de(Lt)})}webModule.__startLoadingFragment=function(Lt){return C(Lt)},webModule.__installRunAsyncCode=function(Lt){var gt=u(),de=gt.body,Se=gt.createElement(_);Se.language=ab,Se.text=Lt,de.appendChild(Se),de.removeChild(Se)};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(Lt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Lt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Lt){var gt=c[Lt];return gt==null?null:gt},r=d,webModule.__errFn=e}function B(){function Lt(fe){var le=fe.lastIndexOf(rb);le==-1&&(le=fe.length);var re=fe.indexOf(sb);re==-1&&(re=fe.length);var se=fe.lastIndexOf(tb,Math.min(re,le));return se>=O?fe.substring(O,se+P):W}function gt(fe){if(!fe.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=fe+vb,fe=Lt(le.src)}return fe}function de(){var fe=__gwt_getMetaProperty(wb);return fe!=null?fe:W}function Se(){for(var fe=o.getElementsByTagName(_),le=O;le<fe.length;++le)if(fe[le].src.indexOf(xb)!=-1)return Lt(fe[le].src);return W}function xe(){var fe=o.getElementsByTagName(yb);return fe.length>O?fe[fe.length-P].href:W}function E(){var fe=o.location;return fe.href==fe.protocol+zb+fe.host+fe.pathname+fe.search+fe.hash}var he=de();return he==W&&(he=Se()),he==W&&(he=xe()),he==W&&E()&&(he=Lt(o.location.href)),he=gt(he),he}function C(Lt){return Lt.match(/^\//)||Lt.match(/^[a-zA-Z]+:\/\//)?Lt:webModule.__moduleBase+Lt}function D(){var Lt=[],gt=O,de=[],Se=[];function xe(fe){var le=Se[fe](),re=de[fe];if(le in re)return le;var se=[];for(var ie in re)se[re[ie]]=ie;throw r&&r(fe,se,le),null}if(__gwt_isKnownPropertyValue=function(fe,le){return le in de[fe]},webModule.__getPropMap=function(){var fe={};for(var le in de)de.hasOwnProperty(le)&&(fe[le]=xe(le));return fe},webModule.__computePropValue=xe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var he=E.indexOf(Db);he!=-1&&(gt=parseInt(E.substring(he+P),$),E=E.substring(O,he))}catch(fe){}return webModule.__softPermutationId=gt,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})()},15476:function(Lt,gt,de){"use strict";de.d(gt,{Ax:function(){return he},Ds:function(){return fe},KI:function(){return re},SI:function(){return E},f1:function(){return xe}});var Se=de(11320);function xe(se){let ie=!0;if(se.length>0){for(let ue=0;ue<se.length;ue++)if(se[ue].compile_success==0||!se[ue].compile_success){ie=!1;break}}else ie=!1;return ie}function E(se,ie=""){let ue=[];for(let ae=0;ae<se.length;ae++){let oe=se[ae],ne=ie?`${ie}/${oe.name}`:`${oe.name}`;ue.push({title:oe.name,type:oe.type,isLeaf:oe.type!=="tree",key:ne})}return ue}function he(se,ie,ue){for(let ae=0;ae<se.length;ae++){let oe=se[ae];if(oe.key===ie){oe.children=ue;break}oe.children&&he(oe.children,ie,ue)}return se}function fe(se,ie,ue){let ae;return function(){let oe=this,ne=arguments,ee=function(){ae=null,ue||se.apply(oe,ne)},a=ue&&!ae;clearTimeout(ae),ae=setTimeout(ee,ie),a&&se.apply(oe,ne)}}const le=!0,re=Se.Z.API_SERVER},93137:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return Pe},U:function(){return be}});var Se=de(67294),xe=de(55054),E=de(14446),he=de(9430),fe=de(51959),le=de(15835),re=de(27484),se=de.n(re),ie={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=de(28706),ne=de(35973),ee=de(5764),a=de(67294),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,ge=(Ae,Ce,_e)=>Ce in Ae?y(Ae,Ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ae[Ce]=_e,me=(Ae,Ce)=>{for(var _e in Ce||(Ce={}))te.call(Ce,_e)&&ge(Ae,_e,Ce[_e]);if(z)for(var _e of z(Ce))ce.call(Ce,_e)&&ge(Ae,_e,Ce[_e]);return Ae},ve=(Ae,Ce)=>x(Ae,b(Ce)),pe=(Ae,Ce,_e)=>new Promise((we,Re)=>{var De=qe=>{try{Ie(_e.next(qe))}catch(Je){Re(Je)}},ke=qe=>{try{Ie(_e.throw(qe))}catch(Je){Re(Je)}},Ie=qe=>qe.done?we(qe.value):Promise.resolve(qe.value).then(De,ke);Ie((_e=_e.apply(Ae,Ce)).next())});const be=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ye}=xe.default,Ee=({exercise:Ae,socket:Ce,dispatch:_e,onStartScreenshot:we,onCloseScreenshot:Re,handleToDetail:De})=>{const[ke,Ie]=E.default.useModal(),qe=(0,Se.useRef)(),[Je,We]=(0,Se.useState)(!0),Qe=(0,Se.useRef)(!1),He=(0,ne.useParams)();(0,Se.useEffect)(()=>{var Ne,Ge,rt;if(document.addEventListener((0,fe.gH)(),Te,!1),window.addEventListener("blur",$e,!1),(Ne=Ae.exerciseUserInfo)!=null&&Ne.screen_open&&(0,fe.vp)()&&We(!1),(Ge=Ae.exerciseUserInfo)!=null&&Ge.screen_open&&!(0,fe.vp)()){(0,oe.RG)(" ",!0);const mt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Ae.exerciseUserInfo.screen_sec+3:Ae.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"}},Ae.exerciseUserInfo.screen_num-Ae.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:()=>pe(void 0,null,function*(){var dt;const nt=yield ze();(dt=qe.current)==null||dt.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()+mt*1e3})),"S\uFF09"),onOk:()=>{var dt;(0,oe.RG)(" ",!0),(dt=qe.current)==null||dt.destroy(),We(!1),(0,fe.Dj)(document.body),document.getElementById("root").addEventListener("click",je,!1)}})}return(rt=Ae.exerciseUserInfo)!=null&&rt.screen_open&&!(0,fe.vp)()||document.getElementById("root").addEventListener("click",je,!1),()=>{document.getElementById("root").removeEventListener("click",je,!1),document.removeEventListener((0,fe.gH)(),Te,!1),window.removeEventListener("blur",$e,!1)}},[]),(0,Se.useEffect)(()=>{setTimeout(()=>{Ae.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",je,!1),document.removeEventListener((0,fe.gH)(),Te,!1))},500),et()},[Ae.actionTabs]),(0,Se.useEffect)(()=>{setTimeout(()=>{Ae.exerciseUserInfo.used_screen_num>Ae.exerciseUserInfo.screen_num&&Be()},500)},[Ae.exerciseUserInfo]);const Fe=()=>pe(void 0,null,function*(){const Ne=yield ze();setTimeout(()=>{var Ge,rt;(Ge=qe.current)==null||Ge.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"},Ne.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(rt=Ae.exerciseUserInfo)==null?void 0:rt.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>pe(void 0,null,function*(){(0,fe.Dj)(document.body)})})},1e3)}),je=Ne=>{!(0,fe.vp)()&&Ne.target.nodeName!=="A"&&Ne.target.nodeName!=="BUTTON"&&Ne.target.innerHTML!=="\u786E \u5B9A"&&(0,fe.Dj)(document.body)},et=()=>pe(void 0,null,function*(){const Ne=yield _e({type:"exercise/getExerciseUserInfo",payload:me({},He)});return Ne==null?void 0:Ne.data}),tt=Ne=>pe(void 0,null,function*(){var Ge;if((Ge=Ae.exerciseUserInfo)!=null&&Ge.screen_at){const mt=yield(0,le.ck)(ve(me({},He),{reset:!0}));if((mt==null?void 0:mt.status)===-6)return}const rt=yield(0,le.oy)({id:He.categoryId});if(rt!=null&&rt.is_commit){E.default.destroyAll(),yield st(),Ve(!0);return}else Le(Ne+1)}),st=()=>pe(void 0,null,function*(){var Ne;const Ge=se()(),rt=Ae.exerciseUserInfo.screen_sec;if(Me.current.length>0){const mt=Ge.format("YYYY-MM-DD HH:mm:ss");let dt=Math.floor(Ge.diff(se()(Me.current[0].start))/1e3);const nt=Me.current.length;dt/rt>>0>nt&&(dt=(nt+1)*rt-1),yield(0,le.P8)(He.categoryId,{exercise_user_id:(Ne=Ae.exerciseUserInfo)==null?void 0:Ne.exercise_user_id,time:mt,time_long:dt,count:nt})}Me.current=[]}),Xe=(0,Se.useRef)(0),Ke=(0,Se.useRef)(0),Me=(0,Se.useRef)([]),Ye=(0,Se.useRef)(!1),Le=Ne=>pe(void 0,null,function*(){var Ge;Qe.current||(we(),E.default.destroyAll(),Xe.current=se()().valueOf(),Ye.current=!0,qe.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:ie.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,ee._V)(ee.CP.recordScreen8)),content:a.createElement("div",{className:ie.exitFullScreenModal},a.createElement("img",{src:ue,alt:"",className:ie.warningIcon}),a.createElement("div",{className:ie.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:ie.warningText},((Ge=Ae.exerciseUserInfo)==null?void 0:Ge.screen_num)+1),(0,ee._V)(ee.CP.recordScreen12),a.createElement("span",{className:ie.warningText,style:{fontWeight:600}},(0,ee._V)(ee.CP.recordScreen13)),",",(0,ee._V)(ee.CP.recordScreen14),a.createElement("span",{className:ie.warningText},Ne-1),(0,ee._V)(ee.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ye,{className:ie.countdownWrapper,onFinish:()=>{Ke.current=se()().valueOf(),Me.current.push({start:Xe.current,end:Ke.current}),tt(Ne)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Ae.exerciseUserInfo.screen_sec+1)*1e3}),(0,ee._V)(ee.CP.recordScreen25)),(0,ee._V)(ee.CP.recordScreen16))),onOk:()=>{(0,oe.RG)(" ",!0),st(),(0,fe.Dj)(document.body),Re(),qe.current.destroy(),Ye.current=!1}}))}),Be=()=>pe(void 0,null,function*(){E.default.destroyAll(),(yield(0,le.VL)({categoryId:He.categoryId,commit_method:1}))&&Ve()}),Ve=(Ne=!1)=>pe(void 0,null,function*(){var Ge,rt;if(document.removeEventListener((0,fe.gH)(),Te,!1),(0,fe.BU)(),E.default.destroyAll(),Qe.current=!0,Ne){const mt=yield(0,le.Yu)(He.categoryId,{exercise_user_id:(Ge=Ae.exerciseUserInfo)==null?void 0:Ge.exercise_user_id});ke.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:ie.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:ie.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:ie.forcedText},(0,ee._V)(ee.CP.recordScreen17)),a.createElement("div",{className:ie.screenNumText},(0,ee._V)(ee.CP.recordScreen18),(rt=Ae.exerciseUserInfo)==null?void 0:rt.screen_num,(0,ee._V)(ee.CP.recordScreen19)),a.createElement(he.default,{dataSource:mt==null?void 0:mt.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:()=>{Re(),De()},onOk:()=>{ne.history.push(`/classrooms/${He.coursesId}/exercisenotice/${He.categoryId}/users/${He.login}?isShowApply=true`)}})}else ke.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:()=>{De()}})}),$e=Ne=>{(0,fe.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ye.current&&(0,fe.BU)()},ze=()=>pe(void 0,null,function*(){var Ne;if((Ne=Ae.exerciseUserInfo)!=null&&Ne.screen_at){const mt=yield(0,le.ck)(ve(me({},He),{reset:!0}));if((mt==null?void 0:mt.status)===-6)return}const Ge=yield(0,le.oy)({id:He.categoryId});if(Ge!=null&&Ge.is_commit){Ve();return}return yield et()}),Te=()=>pe(void 0,null,function*(){var Ne;if((0,oe.RG)(" ",!0),(0,fe.vp)()){if((Ne=Ae.exerciseUserInfo)!=null&&Ne.screen_at){var Ge=yield(0,le.ck)(ve(me({},He),{reset:!0}));if((Ge==null?void 0:Ge.status)===-6)return}}else if(!Ye.current){var Ge=yield(0,le.ck)(me({},He));if((Ge==null?void 0:Ge.status)===-6)return;const mt=yield et();Le(mt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Oe=()=>pe(void 0,null,function*(){(0,le.ck)(me({},He));const Ne=yield et();Le(Ne.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Ie)};var Pe=(0,ne.connect)(({exercise:Ae,globalSetting:Ce})=>({globalSetting:Ce,exercise:Ae}))(Ee)},96325:function(Lt,gt,de){"use strict";de.d(gt,{X:function(){return he},y:function(){return E}});var Se=de(67294),xe=de(2453);const E=fe=>{(0,Se.useEffect)(()=>{if(fe){const le=se=>{se.key==="F12"&&(se.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},re=se=>{se.preventDefault()};return document.addEventListener("keydown",le),document.addEventListener("contextmenu",re),()=>{document.removeEventListener("keydown",le),document.removeEventListener("contextmenu",re)}}},[fe])},he=()=>{const[fe,le]=(0,Se.useState)(!1),re=se=>{const{keyCode:ie,ctrlKey:ue,metaKey:ae,type:oe}=se;(oe==="paste"||(ie===67||ie===86)&&(ae||ue))&&(xe.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),se.preventDefault(),se.stopPropagation())};return(0,Se.useEffect)(()=>(fe&&(window.addEventListener("keydown",re,!0),window.addEventListener("paste",re,!0)),()=>{window.removeEventListener("keydown",re,!0),window.removeEventListener("paste",re,!0)}),[fe]),{setOpenDisableCopyAndPaste:le,disableCopyAndPaste:fe}}},63205:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return ae}});var Se=de(67294),xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=de(94184),he=de.n(E),fe=de(57953),le=de(15979),re=de(33170),se=de(28706),ie=(oe,ne,ee)=>new Promise((a,y)=>{var x=te=>{try{z(ee.next(te))}catch(ce){y(ce)}},b=te=>{try{z(ee.throw(te))}catch(ce){y(ce)}},z=te=>te.done?a(te.value):Promise.resolve(te.value).then(x,b);z((ee=ee.apply(oe,ne)).next())}),ae=({data:oe,className:ne,fullWidth:ee,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:z})=>{const te=(0,Se.useRef)(null),ce=(0,Se.useRef)(null),ge=(0,Se.useRef)(null),me=(0,Se.useRef)(null),[ve,pe]=(0,Se.useState)(!1),[be,ye]=(0,Se.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Se.useEffect)(()=>{ge.current||(ge.current=document.createElement("style"),document.head.appendChild(ge.current)),oe!=null&&oe.visible?(document.body.setAttribute("data-custom","y-hidden"),ge.current.innerHTML=" html { overflow-y: hidden; }",oe!=null&&oe.src&&Ee()):(document.body.removeAttribute("data-custom"),ge.current&&(document.head.removeChild(ge.current),ge.current=null))},[oe==null?void 0:oe.visible]);const Ee=()=>ie(void 0,null,function*(){pe(!0),ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const we=yield(0,se.ZJ)(oe==null?void 0:oe.src);te.current.src="",te.current.src=we,te.current.onload=function(){_e()},pe(!1),ye("")}),Pe=()=>{document.body.removeAttribute("data-custom"),ge.current.innerHTML=" ",y()},Ae=we=>ie(void 0,null,function*(){pe(!0),ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Re=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:oe.title,file:we.dataUrl}});Re!=null&&Re.id&&!z?(yield(0,re.ZP)(`/api/attachments/${oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Re==null?void 0:Re.id,settings:JSON.stringify(we.state)}})).status===0&&x():Re!=null&&Re.id&&x(Re),document.body.removeAttribute("data-custom"),ge.current.innerHTML=" ",pe(!1),ye("")}),Ce=()=>{const we=document.querySelector('a[href="https://markerjs.com/"]');we&&we.parentNode&&(we.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(De=>{const ke=document.querySelector(De.name);ke&&ke.setAttribute("title",De.title)})},_e=()=>{ce.current=new le.hP(te.current),ce.current.targetRoot=me.current,ce.current.addEventListener("render",Ae),ce.current.addEventListener("beforeclose",Pe),b&&(ce.current.availableMarkerTypes=ce.current.ALL_MARKER_TYPES,ce.current.uiStyleSettings.redoButtonVisible=!0,ce.current.uiStyleSettings.notesButtonVisible=!0,ce.current.uiStyleSettings.zoomButtonVisible=!0,ce.current.uiStyleSettings.zoomOutButtonVisible=!0,ce.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ce.current.uiStyleSettings,ce.current.show(),oe!=null&&oe.snapshotData&&ce.current.restoreState(oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ce()},300)};return Se.createElement(Se.Fragment,null,(oe==null?void 0:oe.visible)&&Se.createElement(fe.Z,{spinning:ve,tip:be,style:{position:"absolute"}},Se.createElement("div",{ref:me,className:he()(xe.imageDimensions,ne,ee?xe.fullWidth:""),style:a},Se.createElement("img",{className:xe.img,ref:te}))))}},35713:function(Lt,gt,de){"use strict";var Se=de(67294),xe=de(71736),E=de(84279),he=de(36527),fe=de(14446),le=de(67294);const re=(0,Se.forwardRef)(({callback:se,width:ie,onChange:ue,disabled:ae,readOnly:oe,type:ne="",value:ee="",style:a={}},y)=>{const x=(0,Se.useRef)(),b=(0,Se.useRef)(),[z,te]=(0,Se.useState)(0),[ce,ge]=(0,Se.useState)(0),[me,ve]=(0,Se.useState)(!1),pe=()=>{var Pe=document.createElement("div");Pe.innerHTML=x.current.getValue();var Ae=Pe.innerText;return se&&se(Ae),Ae};(0,Se.useImperativeHandle)(y,()=>({getData:pe}));const be=Pe=>{Pe.preventDefault();const Ae=Pe.clientX-z,Ce=Pe.clientY-ce;document.body.onmousemove=_e=>{let we=_e.clientX-Ae,Re=_e.clientY-Ce;const De=document.getElementsByClassName("markdown-popup-form")[0],ke=window.innerWidth-De.offsetWidth,Ie=window.innerHeight-De.offsetHeight;we=Math.max(0,Math.min(we,ke)),Re=Math.max(0,Math.min(Re,Ie)),ye(_e.clientX,_e.clientY,Ae,Ce)&&(te(we),ge(Re))},document.body.onmouseup=function(){document.body.onmousemove=null}},ye=(Pe,Ae,Ce,_e)=>{const we=document.body.clientHeight,Re=document.body.clientWidth;return Pe<20&&Ce>Pe||Pe>Re-20&&Ce<Pe||Ae<20&&_e>Ae||Ae>we-20&&_e<Ae?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,Se.useEffect)(()=>{me&&setTimeout(()=>{const Pe=document.getElementsByClassName("markdown-popup-form")[0],Ae=window.innerWidth/2-Pe.offsetWidth/2,Ce=window.innerHeight/2-Pe.offsetHeight/2;te(Ae),ge(Ce)},0)},[me]);const Ee=()=>{ae||oe||ve(!0)};return le.createElement("div",{style:a},le.createElement("div",{style:{width:ie||"100%",position:"relative"},className:`${xe.Z.mathFillWrap} ${ae||oe?"cursorDefault":""}`,onClick:()=>Ee()},le.createElement("math-field",{disabled:ae,locale:"zh_cn",class:`${xe.Z.mathField} ${ne}`,readOnly:oe,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:ee?18:14},value:ee||""})),le.createElement(fe.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:ce},title:le.createElement("div",{style:{cursor:"move"},onMouseDown:be},"\u8F93\u5165\u516C\u5F0F"),open:me,onOk:()=>{const Pe=b.current.getData();x.current.setValue(Pe),ue(Pe),ve(!1)},onCancel:()=>{ve(!1)},destroyOnClose:!0,className:"markdown-popup-form"},le.createElement(he.Z,{value:ee,ref:b,onChange:ue,showSaveButton:!1})))});gt.Z=re},36527:function(Lt,gt,de){"use strict";var Se=de(67294),xe=de(71230),E=de(15746),he=de(66368),fe=de(71577),le=de(85725),re=de(71736),se=de(84279),ie=de(67294);const ue=(0,Se.forwardRef)(({callback:ae,showSaveButton:oe,value:ne=""},ee)=>{const a=(0,Se.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=ce=>{a.current.setValue(a.current.getValue()+" "+ce.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ie.createElement(xe.Z,{className:re.Z.lists,gutter:[10,10]},y.map((ce,ge)=>ie.createElement(E.Z,{flex:"110px",className:re.Z.item},ie.createElement("div",null,ie.createElement(le.Z,{value:`$$${ce.value}$$`}),ce.name),ie.createElement("div",{className:re.Z.children},ce.children.map((me,ve)=>ie.createElement("div",{key:ve},ie.createElement("h1",null,me.name),ie.createElement(xe.Z,{gutter:[10,10]},me.data.map((pe,be)=>ie.createElement(E.Z,{key:be,onClick:()=>b(pe),className:re.Z.diamond},ie.createElement(le.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ie.createElement(xe.Z,{className:re.Z.lists,gutter:[10,10]},x.map((ce,ge)=>ie.createElement(E.Z,{flex:"110px",className:re.Z.item},ie.createElement("div",null,ie.createElement(le.Z,{value:"`$$"+ce.value+"$$`"}),ce.name),ie.createElement("div",{className:re.Z.children},ce.children.map((me,ve)=>ie.createElement("div",{key:ve},me.name&&ie.createElement("h1",null,me.name),ie.createElement(xe.Z,{gutter:[10,10]},me.data.map((pe,be)=>ie.createElement(E.Z,{key:be,onClick:()=>b(pe),className:re.Z.diamond},ie.createElement(le.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],te=()=>{var ce=document.createElement("div");ce.innerHTML=a.current.getValue();var ge=ce.innerText;return ae&&ae(ge),ge};return(0,Se.useImperativeHandle)(ee,()=>({getData:te})),ie.createElement("div",{className:re.Z.mathWrap},ie.createElement(he.default,{defaultActiveKey:"1",items:z}),ie.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),oe&&ie.createElement("div",{className:re.Z.button},ie.createElement(fe.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});gt.Z=ue},3830:function(Lt,gt,de){"use strict";de.d(gt,{Q:function(){return ie},Z:function(){return ae}});var Se=de(67294),xe={flex_box_center:"flex_box_center___VcCAZ",flex_space_between:"flex_space_between___I3jjO",flex_box_vertical_center:"flex_box_vertical_center___Rm_54",flex_box_center_end:"flex_box_center_end___nTsdc",flex_box_column:"flex_box_column___UVpzN",tags:"tags___kRRoe",text:"text___IyyEa",tagWrap:"tagWrap___v63mB",tag:"tag___X7wE6",c:"c___mZMPq",cpp:"cpp___eaTie",java:"java___gL98T",python:"python___eNRkk",edit:"edit___tbVu0"},E=de(94184),he=de.n(E),fe=de(14446),le=de(2453),re=de(84567),se=(oe,ne,ee)=>new Promise((a,y)=>{var x=te=>{try{z(ee.next(te))}catch(ce){y(ce)}},b=te=>{try{z(ee.throw(te))}catch(ce){y(ce)}},z=te=>te.done?a(te.value):Promise.resolve(te.value).then(x,b);z((ee=ee.apply(oe,ne)).next())});const ie=({title:oe="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:ne=[],visible:ee,setVisible:a,tip:y,onOk:x})=>{const[b,z]=(0,Se.useState)([]),[te,ce]=(0,Se.useState)(!1);return(0,Se.useEffect)(()=>{ee&&z(ne)},[ee]),Se.createElement(fe.default,{centered:!0,open:ee,title:oe,confirmLoading:te,width:564,onOk:()=>se(void 0,null,function*(){if(!b.length){le.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}ce(!0),yield x(b),ce(!1)}),onCancel:()=>a(!1)},!!y&&Se.createElement("div",{className:"c-grey-666 font16 mb10"},y),Se.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},Se.createElement(re.default.Group,{value:b,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:ge=>{z(ge)}})))};var ae=({title:oe="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:ne,style:ee={},onEdit:a,dataSource:y=[]})=>{const x={C:Se.createElement("div",{className:xe.c},"C"),"C++":Se.createElement("div",{className:xe.cpp},"C++"),Java:Se.createElement("div",{className:xe.java},"Java"),Python:Se.createElement("div",{className:xe.python},"Python")};return Se.createElement("div",{className:he()(xe.tags,ne),style:ee},!!oe&&Se.createElement("div",{className:xe.text},oe),Se.createElement("div",{className:xe.tagWrap},y==null?void 0:y.map(b=>Se.createElement(Se.Fragment,{key:b},x[b]))),!!a&&Se.createElement("div",{onClick:a,className:`iconfont icon-bianji_Hover ${xe.edit}`}))}},7621:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return he}});var Se=de(35973),xe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=de(67294),he=({message:fe,className:le,children:re,style:se={}})=>E.createElement("div",{className:`custom-spinner ${xe.idsRingWrapper} ${le}`},E.createElement("div",{className:xe.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),fe?E.createElement("p",{style:se},fe):null,re,E.createElement(Se.Outlet,null))},60076:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return he}});var Se=de(67294),xe=de(33054),E=de(67294),he=({defaultX:fe="40%",leftChild:le,rightChild:re,className:se,hideResize:ie=!1})=>{const[ue,ae]=(0,Se.useState)(fe),oe=(0,Se.useRef)();function ne(){oe.current=!0}(0,Se.useEffect)(()=>{function y(b){oe.current&&(xe.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`:fe,a=`calc(100% - ${ie?"0px":"4px"} - ${ee})`;return E.createElement("div",{className:`split-panel-container ${se}`},E.createElement("section",{style:{width:ee,display:ue===.01?"none":""}},le),E.createElement("section",{className:"resize-x-bar",onMouseDown:ne},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}},re))}},38658:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return le}});var Se=de(67294),xe={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=de(94184),he=de.n(E),le=({className:re,style:se={},leftNode:ie,leftTitle:ue="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:oe="\u8FD0\u884C\u7ED3\u679C"})=>Se.createElement("div",{className:he()(xe.result,re),style:se},Se.createElement("div",{className:xe.left},Se.createElement("div",{className:xe.title},Se.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),Se.createElement("span",null,ue)),Se.createElement("div",{className:xe.leftNode},ie)),Se.createElement("div",{className:xe.right},Se.createElement("div",{className:xe.title},Se.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),Se.createElement("span",null,oe)),Se.createElement("div",{className:xe.rightNode},ae)))},88508:function(Lt,gt,de){"use strict";var Se=de(67294);const xe=he=>String(he).length===1?`0${he}`:he,E=({className:he="",onChange:fe,defaultValue:le=0})=>{const[re,se]=(0,Se.useState)(le);(0,Se.useEffect)(()=>{const oe=setTimeout(()=>{se(re+1e3)},1e3);return fe(re+1e3),()=>{clearInterval(oe)}},[re]);const ie=parseInt(re/(60*6e4))||"00",ue=parseInt(re%(60*6e4)/6e4)||"00",ae=parseInt(re%6e4/1e3)||"00";return Se.createElement("div",{className:he},xe(ie),":",xe(ue),":",xe(ae))};gt.Z=E},71865:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return he}});var Se=de(67294),xe=de(33054),E=de(99398),he=()=>{const[fe,le]=(0,Se.useState)(""),[re,se]=(0,Se.useState)(0);let[ie,ue]=(0,Se.useState)(),[ae,oe]=(0,Se.useState)();const[ne,ee]=(0,Se.useState)(!1),a=(0,Se.useRef)("");(0,Se.useEffect)(()=>xe.Z.subscribe("preview-image",be=>{le(be),console.log(me.current),document.body.style.overflow="hidden"}),[]),(0,Se.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,Se.useEffect)(()=>{a.current=fe},[fe]);function y(pe){pe.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",ue(void 0),oe(void 0),se(0),le("")}function b(){se(re+90)}function z(){ie=me.current.width*1.1,ae=me.current.height*1.1,oe(ae),ue(ie)}function te(){ie=me.current.width/1.1,ae=me.current.height/1.1,oe(ae),ue(ie)}const ce=(0,Se.useRef)(),ge=(0,Se.useRef)(),me=(0,Se.useRef)(),ve=pe=>{(pe.nativeEvent.target===ce.current||pe.nativeEvent.target===ge.current)&&x()};return Se.createElement(Se.Fragment,null,fe?Se.createElement("div",null,Se.createElement("div",{className:"preview-wrp-group",ref:ge},Se.createElement(E.Z,{className:"image-preview",src:fe,style:{display:"none"},preview:{visible:!0,src:fe,movable:!1,onVisibleChange:pe=>{le("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57444:function(Lt,gt,de){"use strict";de.d(gt,{h:function(){return ce}});var Se=de(67294),xe=de(11713),E=de(22150),he=de(71577),fe=de(4631),le=de.n(fe),re=de(71749),se=de(30483),ie=Object.defineProperty,ue=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,a=(ge,me,ve)=>me in ge?ie(ge,me,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ge[me]=ve,y=(ge,me)=>{for(var ve in me||(me={}))ne.call(me,ve)&&a(ge,ve,me[ve]);if(oe)for(var ve of oe(me))ee.call(me,ve)&&a(ge,ve,me[ve]);return ge},x=(ge,me)=>ue(ge,ae(me));const b=xe.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"]};gt.Z=({callback:ge,onCancel:me})=>{const[ve,pe]=(0,Se.useState)("python");function be(Ee){pe(te[Ee][1])}function ye(Ee){ge(Ee)}return Se.createElement(E.default,x(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),Se.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Se.createElement(xe.default,{getPopupContainer:Ee=>Ee.parentNode,onChange:be},Object.keys(te).map(Ee=>Se.createElement(b,{key:Ee,value:Ee},te[Ee][0])))),Se.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Se.createElement(ce,{mode:ve})),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(he.ZP,{type:"ghost",onClick:me},"\u53D6\u6D88")))};function ce({value:ge,onChange:me,mode:ve,options:pe={}}){const be=(0,Se.useRef)(),[ye,Ee]=(0,Se.useState)();return(0,Se.useEffect)(()=>{if(ye){let Pe=function(Ae){const Ce=Ae.getValue();me&&me(Ce)};return ye.on("change",Pe),()=>{ye.off("change",Pe)}}},[ye,me]),(0,Se.useEffect)(()=>{ye&&ye.setOption("mode",ve)},[ye,ve]),(0,Se.useEffect)(()=>{ye&&(ge!==ye.getValue()||ge==="")&&setTimeout(()=>{ye.setValue(ge||"")},300)},[ye,ge]),(0,Se.useEffect)(()=>{if(be.current&&!ye){const Pe=le().fromTextArea(be.current,y({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));Ee(Pe)}},[be.current,ye]),Se.createElement("div",{className:"my-codemirror-container"},Se.createElement("textarea",{ref:be}))}},35567:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return Dn}});var Se=de(67294),xe=de(4631),E=de.n(xe),he=de(91033),fe=de(71749),le=de(57341),re=de(82801),se=de(88386),ie=de(49047),ue=de(80785),ae=de(85725),oe=({value:St="",className:Ct,showTextOnly:Rt,showLines:dn,style:Hn={}})=>{const jn=(0,Se.useMemo)(()=>"",[St]);return Se.createElement(Se.Fragment,null,Se.createElement("div",{dangerouslySetInnerHTML:{__html:jn}}))},ne=de(67294),ee=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(St,Ct,Rt)=>Ct in St?ee(St,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):St[Ct]=Rt,ce=(St,Ct)=>{for(var Rt in Ct||(Ct={}))b.call(Ct,Rt)&&te(St,Rt,Ct[Rt]);if(x)for(var Rt of x(Ct))z.call(Ct,Rt)&&te(St,Rt,Ct[Rt]);return St},ge=(St,Ct)=>a(St,y(Ct));let me=[{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 ve({onActionCallback:St,title:Ct,icon:Rt,actionName:dn,className:Hn="",children:jn}){function br(){St(dn)}return ne.createElement("a",{title:Ct,className:Hn,onClick:br},ne.createElement("i",{className:`${Rt}`}),jn)}var pe=({watch:St,showNullButton:Ct,showNullProgramButton:Rt,onActionCallback:dn,fullScreen:Hn,insertTemp:jn,hidetoolBar:br,extraUse:or})=>{const wr=[...me,{title:`${St?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${St?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!br&&wr.map((Sr,co)=>ne.createElement("li",{key:co},Sr.actionName?ne.createElement(ve,ge(ce({},Sr),{onActionCallback:dn})):ne.createElement("span",{className:"v-line"}))),Ct?ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:dn},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Rt?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:dn},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:dn},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,jn&&ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${jn}`,onActionCallback:dn},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),or&&ne.createElement("li",null,or),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(ve,{icon:`${Hn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Hn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:dn})))},be=de(76621),ye=de(22150),Ee=de(69677),Pe=de(71577),Ae=Object.defineProperty,Ce=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ke=(St,Ct,Rt)=>Ct in St?Ae(St,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):St[Ct]=Rt,Ie=(St,Ct)=>{for(var Rt in Ct||(Ct={}))Re.call(Ct,Rt)&&ke(St,Rt,Ct[Rt]);if(we)for(var Rt of we(Ct))De.call(Ct,Rt)&&ke(St,Rt,Ct[Rt]);return St},qe=(St,Ct)=>Ce(St,_e(Ct));const Je={labelCol:{span:4},wrapperCol:{span:20}};var We=({callback:St,onCancel:Ct})=>{function Rt(dn){St(dn)}return Se.createElement(ye.default,qe(Ie({},Je),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Rt,style:{width:500}}),Se.createElement(ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Se.createElement(Ee.default,null)),Se.createElement(ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Se.createElement(Ee.default,null)),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(Pe.ZP,{type:"ghost",onClick:Ct},"\u53D6\u6D88")))},Qe=de(57444),He=de(70859),Fe=de(14446),je=de(71230),et=de(63205),tt=de(67294),st=({callback:St,onCancel:Ct})=>{const Rt=document.createElement("canvas"),dn=Rt.getContext("2d");Rt.width=1e3,Rt.height=800,dn.fillStyle="#ffffff",dn.fillRect(0,0,Rt.width,Rt.height);const Hn=Rt.toDataURL("image/png");return tt.createElement(Fe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},tt.createElement(je.Z,{style:{height:"100vh"}},tt.createElement(et.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Hn,visible:!0,title:String(Date.now())},onOk:jn=>{St({src:jn.url})},onClose:Ct})))},Xe=de(23495);function Ke(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ke,go.CommandHandler),Ke.prototype.canAlignSelection=function(){var St=this.diagram;return!(St===null||St.isReadOnly||St.isModelReadOnly||St.selection.count<2)},Ke.prototype.alignLeft=function(){var St=this.diagram;St.startTransaction("aligning left");var Ct=1/0;St.selection.each(function(Rt){Rt instanceof go.Link||(Ct=Math.min(Rt.position.x,Ct))}),St.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Ct,Rt.position.y))}),St.commitTransaction("aligning left")},Ke.prototype.alignRight=function(){var St=this.diagram;St.startTransaction("aligning right");var Ct=-1/0;St.selection.each(function(Rt){if(!(Rt instanceof go.Link)){var dn=Rt.actualBounds.x+Rt.actualBounds.width;Ct=Math.max(dn,Ct)}}),St.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Ct-Rt.actualBounds.width,Rt.position.y))}),St.commitTransaction("aligning right")},Ke.prototype.alignTop=function(){var St=this.diagram;St.startTransaction("alignTop");var Ct=1/0;St.selection.each(function(Rt){Rt instanceof go.Link||(Ct=Math.min(Rt.position.y,Ct))}),St.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Rt.position.x,Ct))}),St.commitTransaction("alignTop")},Ke.prototype.alignBottom=function(){var St=this.diagram;St.startTransaction("aligning bottom");var Ct=-1/0;St.selection.each(function(Rt){if(!(Rt instanceof go.Link)){var dn=Rt.actualBounds.y+Rt.actualBounds.height;Ct=Math.max(dn,Ct)}}),St.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Rt.actualBounds.x,Ct-Rt.actualBounds.height))}),St.commitTransaction("aligning bottom")},Ke.prototype.alignCenterX=function(){var St=this.diagram,Ct=St.selection.first();if(Ct){St.startTransaction("aligning Center X");var Rt=Ct.actualBounds.x+Ct.actualBounds.width/2;St.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(Rt-dn.actualBounds.width/2,dn.actualBounds.y))}),St.commitTransaction("aligning Center X")}},Ke.prototype.alignCenterY=function(){var St=this.diagram,Ct=St.selection.first();if(Ct){St.startTransaction("aligning Center Y");var Rt=Ct.actualBounds.y+Ct.actualBounds.height/2;St.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(dn.actualBounds.x,Rt-dn.actualBounds.height/2))}),St.commitTransaction("aligning Center Y")}},Ke.prototype.alignColumn=function(St){var Ct=this.diagram;Ct.startTransaction("align Column"),St===void 0&&(St=0),St=parseFloat(St);var Rt=new Array;Ct.selection.each(function(or){or instanceof go.Link||Rt.push(or)});for(var dn=0;dn<Rt.length-1;dn++){var Hn=Rt[dn],jn=Hn.actualBounds.y+Hn.actualBounds.height+St,br=Rt[dn+1];br.move(new go.Point(Hn.actualBounds.x,jn))}Ct.commitTransaction("align Column")},Ke.prototype.alignRow=function(St){St===void 0&&(St=0),St=parseFloat(St);var Ct=this.diagram;Ct.startTransaction("align Row");var Rt=new Array;Ct.selection.each(function(or){or instanceof go.Link||Rt.push(or)});for(var dn=0;dn<Rt.length-1;dn++){var Hn=Rt[dn],jn=Hn.actualBounds.x+Hn.actualBounds.width+St,br=Rt[dn+1];br.move(new go.Point(jn,Hn.actualBounds.y))}Ct.commitTransaction("align Row")},Ke.prototype.canRotate=function(St){var Ct=this.diagram;return!(Ct===null||Ct.isReadOnly||Ct.isModelReadOnly||Ct.selection.count<1)},Ke.prototype.rotate=function(St){St===void 0&&(St=90);var Ct=this.diagram;Ct.startTransaction("rotate "+St.toString());var Ct=this.diagram;Ct.selection.each(function(Rt){Rt instanceof go.Link||Rt instanceof go.Group||(Rt.angle+=St)}),Ct.commitTransaction("rotate "+St.toString())},Ke.prototype.pullToFront=function(){var St=this.diagram;St.startTransaction("pullToFront");var Ct=new go.Map;St.selection.each(function(Rt){Ct.set(Rt.layer,0)}),Ct.iteratorKeys.each(function(Rt){var dn=0;Rt.parts.each(function(Hn){if(!Hn.isSelected){var jn=Hn.zOrder;isNaN(jn)?Hn.zOrder=0:dn=Math.max(dn,jn)}}),Ct.set(Rt,dn)}),St.selection.each(function(Rt){Ke._assignZOrder(Rt,Ct.get(Rt.layer)+1)}),St.commitTransaction("pullToFront")},Ke.prototype.pushToBack=function(){var St=this.diagram;St.startTransaction("pushToBack");var Ct=new go.Map;St.selection.each(function(Rt){Ct.set(Rt.layer,0)}),Ct.iteratorKeys.each(function(Rt){var dn=0;Rt.parts.each(function(Hn){if(!Hn.isSelected){var jn=Hn.zOrder;isNaN(jn)?Hn.zOrder=0:dn=Math.min(dn,jn)}}),Ct.set(Rt,dn)}),St.selection.each(function(Rt){Ke._assignZOrder(Rt,Ct.get(Rt.layer)-1-Ke._findGroupDepth(Rt))}),St.commitTransaction("pushToBack")},Ke._assignZOrder=function(St,Ct,Rt){Rt===void 0&&(Rt=St),St.layer===Rt.layer&&(St.zOrder=Ct),St instanceof go.Group&&St.memberParts.each(function(dn){Ke._assignZOrder(dn,Ct+1,Rt)})},Ke._findGroupDepth=function(St){if(St instanceof go.Group){var Ct=0;return St.memberParts.each(function(Rt){Ct=Math.max(Ct,Ke._findGroupDepth(Rt))}),Ct+1}else return 0},Ke.prototype.doKeyDown=function(){var St=this.diagram;if(St!==null){var Ct=St.lastInput;if(Ct.key==="Up"||Ct.key==="Down"||Ct.key==="Left"||Ct.key==="Right"){var Rt=this.arrowKeyBehavior;if(Rt==="none")return;if(Rt==="select"){this._arrowKeySelect();return}else if(Rt==="move"){this._arrowKeyMove();return}else if(Rt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ke.prototype._getAllParts=function(){var St=new Array;return this.diagram.nodes.each(function(Ct){St.push(Ct)}),this.diagram.parts.each(function(Ct){St.push(Ct)}),St},Ke.prototype._arrowKeyMove=function(){var St=this.diagram,Ct=St.lastInput,Rt=0,dn=0;if(Ct.control||Ct.meta)Rt=1,dn=1;else if(St.grid!==null){var Hn=St.grid.gridCellSize;dn=Hn.width,Rt=Hn.height}St.startTransaction("arrowKeyMove"),St.selection.each(function(jn){Ct.key==="Up"?jn.move(new go.Point(jn.actualBounds.x,jn.actualBounds.y-Rt)):Ct.key==="Down"?jn.move(new go.Point(jn.actualBounds.x,jn.actualBounds.y+Rt)):Ct.key==="Left"?jn.move(new go.Point(jn.actualBounds.x-dn,jn.actualBounds.y)):Ct.key==="Right"&&jn.move(new go.Point(jn.actualBounds.x+dn,jn.actualBounds.y))}),St.commitTransaction("arrowKeyMove")},Ke.prototype._arrowKeySelect=function(){var St=this.diagram,Ct=St.lastInput,Rt=null;Ct.key==="Up"?Rt=this._findNearestPartTowards(270):Ct.key==="Down"?Rt=this._findNearestPartTowards(90):Ct.key==="Left"?Rt=this._findNearestPartTowards(180):Ct.key==="Right"&&(Rt=this._findNearestPartTowards(0)),Rt!==null&&(Ct.shift?Rt.isSelected=!0:Ct.control||Ct.meta?Rt.isSelected=!Rt.isSelected:St.select(Rt))},Ke.prototype._findNearestPartTowards=function(St){var Ct=this.diagram.selection.first();if(Ct===null)return null;for(var Rt=Ct.actualBounds.center,dn=this._getAllParts(),Hn=1/0,jn=Ct,br=0;br<dn.length;br++){var or=dn[br];if(or!==Ct&&or.canSelect()){var wr=or.actualBounds.center,Sr=Rt.directionPoint(wr),co=this._angleCloseness(Sr,St);if(co<=45){var bn=Rt.distanceSquaredPoint(wr);bn*=1+Math.sin(co*Math.PI/180),bn<Hn&&(Hn=bn,jn=or)}}}return jn},Ke.prototype._angleCloseness=function(St,Ct){return Math.min(Math.abs(Ct-St),Math.min(Math.abs(Ct+360-St),Math.abs(Ct-360-St)))},Ke.prototype._arrowKeyTree=function(){var St=this.diagram,Ct=St.selection.first();if(Ct instanceof go.Node){var Rt=St.lastInput;if(Rt.key==="Right"){if(!Ct.isTreeLeaf)if(!Ct.isTreeExpanded)St.commandHandler.canExpandTree(Ct)&&St.commandHandler.expandTree(Ct);else{var dn=this._sortTreeChildrenByY(Ct).first();dn!==null&&St.select(dn)}}else if(Rt.key==="Left")if(!Ct.isTreeLeaf&&Ct.isTreeExpanded)St.commandHandler.canCollapseTree(Ct)&&St.commandHandler.collapseTree(Ct);else{var Hn=Ct.findTreeParentNode();Hn!==null&&St.select(Hn)}else if(Rt.key==="Up"){var Hn=Ct.findTreeParentNode();if(Hn!==null){var jn=this._sortTreeChildrenByY(Hn),br=jn.indexOf(Ct);if(br>0){for(var or=jn.elt(br-1);or!==null&&or.isTreeExpanded&&!or.isTreeLeaf;){var wr=this._sortTreeChildrenByY(or);or=wr.last()}or!==null&&St.select(or)}else St.select(Hn)}}else if(Rt.key==="Down")if(Ct.isTreeExpanded&&!Ct.isTreeLeaf){var dn=this._sortTreeChildrenByY(Ct).first();dn!==null&&St.select(dn)}else for(;Ct!==null;){var Hn=Ct.findTreeParentNode();if(Hn===null)break;var jn=this._sortTreeChildrenByY(Hn),br=jn.indexOf(Ct);if(br<jn.length-1){St.select(jn.elt(br+1));break}else Ct=Hn}var Sr=St.selection.first();Sr!==null&&St.scrollToRect(Sr.actualBounds)}},Ke.prototype._sortTreeChildrenByY=function(St){var Ct=new go.List().addAll(St.findTreeChildrenNodes());return Ct.sort(function(Rt,dn){var Hn=Rt.location,jn=dn.location;return Hn.y<jn.y?-1:Hn.y>jn.y?1:Hn.x<jn.x?-1:Hn.x>jn.x?1:0}),Ct},Ke.prototype.copyToClipboard=function(St){go.CommandHandler.prototype.copyToClipboard.call(this,St),this._lastPasteOffset.set(this.pasteOffset)},Ke.prototype.pasteFromClipboard=function(){var St=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(St,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),St},Object.defineProperty(Ke.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(St){if(St!=="move"&&St!=="select"&&St!=="scroll"&&St!=="tree"&&St!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+St);this._arrowKeyBehavior=St}}),Object.defineProperty(Ke.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(St){if(!(St instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+St);this._pasteOffset.set(St)}});var Me=Ke,Ye=de(18023),Le=de(15746),Be=de(33170),Ve={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},$e=de(67294),ze=(St,Ct,Rt)=>new Promise((dn,Hn)=>{var jn=wr=>{try{or(Rt.next(wr))}catch(Sr){Hn(Sr)}},br=wr=>{try{or(Rt.throw(wr))}catch(Sr){Hn(Sr)}},or=wr=>wr.done?dn(wr.value):Promise.resolve(wr.value).then(jn,br);or((Rt=Rt.apply(St,Ct)).next())});function Te({onCancel:St,callback:Ct}){let Rt=(0,Se.useRef)(),dn=(0,Se.useRef)(),Hn=(0,Se.useRef)(),jn=(0,Se.useRef)(!1);const br=(0,Se.useRef)(!1),[or,wr]=(0,Se.useState)(0);function Sr(){const bn=Xe.bx.make,Lr={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"};Rt.current=new Xe.S0(dn.current,{padding:20,grid:bn(Xe.s_,"Grid",bn(Xe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),bn(Xe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:$n=>{var Bn=$n.diagram.commandHandler.addTopLevelParts($n.diagram.selection,!0);Bn||$n.diagram.currentTool.doCancel()},commandHandler:bn(Me),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:$n=>{var Bn=$n.subject;Bn.location=Bn.location.copy().snapToGridPoint($n.diagram.grid.gridOrigin,$n.diagram.grid.gridCellSize),setTimeout(()=>{$n.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:$n=>{var Bn=$n.subject;setTimeout(()=>{$n.diagram.commandHandler.editTextBlock()})},LinkRelinked:$n=>{var Bn=$n.parameter.part;Bn.invalidateConnectedLinks();var fr=$n.subject;$n.diagram.toolManager.linkingTool.isForwards?fr.toNode.invalidateConnectedLinks():fr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Rt.current.nodeTemplate=bn(Xe.NB,"Auto",{locationSpot:Xe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Xe.$u(120,60),minSize:new Xe.$u(40,40),resizable:!0,resizeCellSize:new Xe.$u(10,10),rotatable:!0},new Xe.KX("location","loc",Xe.E9.parse).makeTwoWay(Xe.E9.stringify),new Xe.KX("desiredSize","size",Xe.$u.parse).makeTwoWay(Xe.$u.stringify),bn(Xe.bn,{name:"SHAPE",fill:Lr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Xe.z6.AllSides,toSpot:Xe.z6.AllSides},new Xe.KX("figure"),new Xe.KX("fill"),new Xe.KX("stroke","borderColor"),new Xe.KX("strokeWidth","thickness"),new Xe.KX("strokeDashArray","dash")),bn(Xe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),bn(Xe.al,{margin:1,textAlign:"center",overflow:Xe.al.OverflowEllipsis,editable:!0},new Xe.KX("text").makeTwoWay(),new Xe.KX("stroke","color"))),Rt.current.nodeTemplate.toolTip=bn("ToolTip",bn(Xe.s_,"Vertical",{maxSize:new Xe.$u(200,NaN)},bn(Xe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Xe.KX("text")),bn(Xe.al,{font:"10pt sans-serif",textAlign:"center"},new Xe.KX("text","details"))));function jt($n,Bn){var fr=(nr,xr)=>{nr.handled=!0,nr.diagram.model.commit(cr=>{var Fr=xr.part.adornedPart,Qr=new Xe.E9().setRectSpot(Fr.actualBounds,$n);Qr.subtract(Fr.location),Qr.scale(2,2),Qr.x+=Math.sign(Qr.x)*130,Qr.y+=Math.sign(Qr.y)*130,Qr.add(Fr.location),Qr.snapToGridPoint(nr.diagram.grid.gridOrigin,nr.diagram.grid.gridCellSize);var Xr=cr.copyNodeData(Fr.data);cr.setGroupKeyForNodeData(Xr,cr.getGroupKeyForNodeData(Fr.data)),cr.addNodeData(Xr);var It={from:Fr.key,to:cr.getKeyForNodeData(Xr)};cr.addLinkData(It);var Ot=nr.diagram.findNodeForData(Xr);Ot.location=Qr,nr.diagram.select(Ot),setTimeout(()=>{nr.diagram.commandHandler.editTextBlock()},20)})};return bn(Xe.bn,{figure:Bn,alignment:$n,alignmentFocus:$n.opposite(),width:$n.equals(Xe.z6.Top)||$n.equals(Xe.z6.Bottom)?25:18,height:$n.equals(Xe.z6.Top)||$n.equals(Xe.z6.Bottom)?18:25,fill:"orange",stroke:Lr.white,strokeWidth:4,mouseEnter:(nr,xr)=>xr.fill="dodgerblue",mouseLeave:(nr,xr)=>xr.fill="orange",isActionable:!0,click:fr,contextClick:fr})}function mn($n){return bn(Xe.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:(Bn,fr)=>fr.fill="dodgerblue",mouseLeave:(Bn,fr)=>fr.fill="orange",click:(Bn,fr)=>{Bn.diagram.commandHandler.showContextMenu(fr.part.adornedPart)}},$n||{})}Rt.current.nodeTemplate.selectionAdornmentTemplate=bn(Xe.uz,"Spot",bn(Xe.Vm,{padding:10}),jt(Xe.z6.Top,"TriangleUp"),jt(Xe.z6.Left,"TriangleLeft"),jt(Xe.z6.Right,"TriangleRight"),jt(Xe.z6.Bottom,"TriangleDown"),mn({alignment:new Xe.z6(.75,0)}));function cn($n,Bn){return(fr,nr)=>{fr.handled=!0,fr.diagram.model.commit(xr=>{xr.set(nr.part.adornedPart.data,$n,Bn)})}}function vn($n,Bn){return Bn||(Bn="color"),bn(Xe.bn,{width:16,height:16,stroke:"lightgray",fill:$n,margin:1,background:"transparent",mouseEnter:(fr,nr)=>nr.stroke="dodgerblue",mouseLeave:(fr,nr)=>nr.stroke="lightgray",click:cn(Bn,$n),contextClick:cn(Bn,$n)})}function Wn(){return[bn("ContextMenuButton",bn(Xe.s_,"Horizontal",vn(Lr.white,"fill"),vn(Lr.beige,"fill"),vn(Lr.extralightblue,"fill"),vn(Lr.extralightred,"fill"))),bn("ContextMenuButton",bn(Xe.s_,"Horizontal",vn(Lr.lightgray,"fill"),vn(Lr.lightgreen,"fill"),vn(Lr.lightblue,"fill"),vn(Lr.lightred,"fill")))]}function gn(){return[bn("ContextMenuButton",bn(Xe.s_,"Horizontal",vn(Lr.black),vn(Lr.green),vn(Lr.blue),vn(Lr.red))),bn("ContextMenuButton",bn(Xe.s_,"Horizontal",vn(Lr.white),vn(Lr.magenta),vn(Lr.purple),vn(Lr.orange)))]}function Qt($n,Bn){return Bn||(Bn="thickness"),bn(Xe.bn,"LineH",{width:16,height:16,strokeWidth:$n,margin:1,background:"transparent",mouseEnter:(fr,nr)=>nr.background="dodgerblue",mouseLeave:(fr,nr)=>nr.background="transparent",click:cn(Bn,$n),contextClick:cn(Bn,$n)})}function xn($n,Bn){return Bn||(Bn="dash"),bn(Xe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:$n,margin:1,background:"transparent",mouseEnter:(fr,nr)=>nr.background="dodgerblue",mouseLeave:(fr,nr)=>nr.background="transparent",click:cn(Bn,$n),contextClick:cn(Bn,$n)})}function Cr(){return[bn("ContextMenuButton",bn(Xe.s_,"Horizontal",Qt(1),Qt(2),Qt(3),Qt(4))),bn("ContextMenuButton",bn(Xe.s_,"Horizontal",xn(null),xn([2,4]),xn([4,4])))]}function gr($n,Bn){return Bn||(Bn="figure"),bn(Xe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:$n,margin:1,background:"transparent",mouseEnter:(fr,nr)=>nr.fill="dodgerblue",mouseLeave:(fr,nr)=>nr.fill="lightgray",click:cn(Bn,$n),contextClick:cn(Bn,$n)})}Rt.current.nodeTemplate.contextMenu=bn("ContextMenu",bn("ContextMenuButton",bn(Xe.s_,"Horizontal",gr("Rectangle"),gr("RoundedRectangle"),gr("Ellipse"),gr("Diamond"))),bn("ContextMenuButton",bn(Xe.s_,"Horizontal",gr("Parallelogram2"),gr("ManualOperation"),gr("Procedure"),gr("Cylinder1"))),bn("ContextMenuButton",bn(Xe.s_,"Horizontal",gr("Terminator"),gr("CreateRequest"),gr("Document"),gr("TriangleDown"))),Wn(),gn(),Cr()),Rt.current.groupTemplate=bn(Xe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Xe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:($n,Bn)=>{var fr=Bn.addMembers(Bn.diagram.selection,!0);fr||Bn.diagram.currentTool.doCancel()},avoidable:!1},new Xe.KX("location","loc",Xe.E9.parse).makeTwoWay(Xe.E9.stringify),bn(Xe.s_,"Auto",{name:"BODY"},bn(Xe.bn,{parameter1:10,fill:Lr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Xe.z6.AllSides,toSpot:Xe.z6.AllSides},new Xe.KX("fill"),new Xe.KX("stroke","color"),new Xe.KX("strokeWidth","thickness"),new Xe.KX("strokeDashArray","dash")),bn(Xe.Vm,{background:"transparent",margin:20})),bn(Xe.al,{alignment:Xe.z6.Top,alignmentFocus:Xe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Xe.KX("text"),new Xe.KX("stroke","color"))),Rt.current.groupTemplate.selectionAdornmentTemplate=bn(Xe.uz,"Spot",bn(Xe.s_,"Auto",bn(Xe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),bn(Xe.Vm,{margin:1.5})),mn({alignment:Xe.z6.TopRight,alignmentFocus:Xe.z6.BottomRight})),Rt.current.groupTemplate.contextMenu=bn("ContextMenu",Wn(),gn(),Cr()),Rt.current.linkTemplate=bn(Xe.rU,{layerName:"Foreground",routing:Xe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Xe.KX("fromSpot","fromSpot",Xe.z6.parse),new Xe.KX("toSpot","toSpot",Xe.z6.parse),new Xe.KX("fromShortLength","dir",$n=>$n>=1?10:0),new Xe.KX("toShortLength","dir",$n=>$n>=1?10:0),new Xe.KX("points").makeTwoWay(),bn(Xe.bn,{strokeWidth:2},new Xe.KX("stroke","color"),new Xe.KX("strokeWidth","thickness"),new Xe.KX("strokeDashArray","dash")),bn(Xe.bn,{segmentIndex:0,segmentOffset:new Xe.E9(15,0),segmentOrientation:Xe.rU.OrientAlong,alignmentFocus:Xe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Xe.KX("fill","color"),new Xe.KX("visible","dir",$n=>$n===1)),bn(Xe.bn,{segmentIndex:-1,segmentOffset:new Xe.E9(-10,6),segmentOrientation:Xe.rU.OrientPlus90,alignmentFocus:Xe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Xe.KX("fill","color"),new Xe.KX("visible","dir",$n=>$n>=1),new Xe.KX("width","thickness",$n=>7+3*$n),new Xe.KX("height","thickness",$n=>7+3*$n),new Xe.KX("segmentOffset","thickness",$n=>new Xe.E9(-15,4+1.5*$n))),bn(Xe.bn,{segmentIndex:0,segmentOffset:new Xe.E9(15,-6),segmentOrientation:Xe.rU.OrientMinus90,alignmentFocus:Xe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Xe.KX("fill","color"),new Xe.KX("visible","dir",$n=>$n===2),new Xe.KX("width","thickness",$n=>7+3*$n),new Xe.KX("height","thickness",$n=>7+3*$n),new Xe.KX("segmentOffset","thickness",$n=>new Xe.E9(-15,4+1.5*$n))),bn(Xe.al,{alignmentFocus:new Xe.z6(0,1,-4,0),editable:!0},new Xe.KX("text").makeTwoWay(),new Xe.KX("stroke","color"))),Rt.current.linkTemplate.selectionAdornmentTemplate=bn(Xe.uz,bn(Xe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Rr(2)},new Xe.KX("pathPattern","thickness",Rr)),mn({alignmentFocus:new Xe.z6(0,0,-6,-4)}));function Rr($n){return bn(Xe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+($n+4).toString()+" H3"})}function kr($n){var Bn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return $n===0?Bn="M0 0 M16 16 M0 8 L16 8":$n===2&&(Bn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),bn(Xe.bn,{geometryString:Bn,margin:2,background:"transparent",mouseEnter:(fr,nr)=>nr.background="dodgerblue",mouseLeave:(fr,nr)=>nr.background="transparent",click:cn("dir",$n),contextClick:cn("dir",$n)})}function ho($n){var Bn=(fr,nr)=>{fr.handled=!0,fr.diagram.model.commit(xr=>{var cr=nr.part.adornedPart;xr.set(cr.data,$n?"toSpot":"fromSpot",Xe.z6.stringify(Xe.z6.AllSides)),($n?cr.toNode:cr.fromNode).invalidateConnectedLinks()})};return bn(Xe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(fr,nr)=>nr.background="dodgerblue",mouseLeave:(fr,nr)=>nr.background="transparent",click:Bn,contextClick:Bn})}function ao($n,Bn){var fr=0,nr=Xe.z6.RightSide;$n.equals(Xe.z6.Top)?(fr=270,nr=Xe.z6.TopSide):$n.equals(Xe.z6.Left)?(fr=180,nr=Xe.z6.LeftSide):$n.equals(Xe.z6.Bottom)&&(fr=90,nr=Xe.z6.BottomSide),Bn||(fr-=180);var xr=(cr,Fr)=>{cr.handled=!0,cr.diagram.model.commit(Qr=>{var Xr=Fr.part.adornedPart;Qr.set(Xr.data,Bn?"toSpot":"fromSpot",Xe.z6.stringify(nr)),(Bn?Xr.toNode:Xr.fromNode).invalidateConnectedLinks()})};return bn(Xe.bn,{alignment:$n,alignmentFocus:$n.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:fr,background:"transparent",mouseEnter:(cr,Fr)=>Fr.background="dodgerblue",mouseLeave:(cr,Fr)=>Fr.background="transparent",click:xr,contextClick:xr})}Rt.current.linkTemplate.contextMenu=bn("ContextMenu",gn(),Cr(),bn("ContextMenuButton",bn(Xe.s_,"Horizontal",kr(0),kr(1),kr(2))),bn("ContextMenuButton",bn(Xe.s_,"Horizontal",bn(Xe.s_,"Spot",ho(!1),ao(Xe.z6.Top,!1),ao(Xe.z6.Left,!1),ao(Xe.z6.Right,!1),ao(Xe.z6.Bottom,!1)),bn(Xe.s_,"Spot",{margin:new Xe.Zt(0,0,0,2)},ho(!0),ao(Xe.z6.Top,!0),ao(Xe.z6.Left,!0),ao(Xe.z6.Right,!0),ao(Xe.z6.Bottom,!0)))));const eo=`{ "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 Fn=["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 io($n){return console.log("shapeName:",$n),Fn.indexOf($n)>=0}var jo=new Xe.YI(Hn.current,{maxSelectionCount:1,linkTemplate:bn(Xe.rU,{locationSpot:Xe.z6.Center,selectionAdornmentTemplate:bn(Xe.uz,"Link",{locationSpot:Xe.z6.Center},bn(Xe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),bn(Xe.bn,{toArrow:"Standard",stroke:null}))},{routing:Xe.rU.AvoidsNodes,curve:Xe.rU.JumpOver,corner:5,toShortLength:4},new Xe.KX("points"),bn(Xe.bn,{isPanelMain:!0,strokeWidth:2}),bn(Xe.bn,{toArrow:"Standard",stroke:null})),model:new Xe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Xe.bn.getFigureGenerators().toArray().map($n=>({text:"\u672A\u547D\u540D",size:"100 100",figure:$n.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Rt.current.addDiagramListener("TextEdited",function($n){var Bn;const fr=$n.subject.part;var nr=(Bn=document.activeElement)==null?void 0:Bn.value;typeof nr=="string"&&nr.trim()===""&&Rt.current.model.commit(function(xr){xr.set(fr.data,"text","\u672A\u547D\u540D"),Rt.current.commandHandler.stopCommand()},"increment")}),jo.nodeTemplate=bn(Xe.NB,"Auto",{locationSpot:Xe.z6.Center},new Xe.KX("location","location",Xe.E9.parse).makeTwoWay(Xe.E9.stringify),bn(Xe.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 Xe.KX("stroke").makeTwoWay(),new Xe.KX("fill").makeTwoWay(),new Xe.KX("figure")),bn(Xe.al,{margin:new Xe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Xe.$u(16,16),maxSize:new Xe.$u(10,NaN),textAlign:"center",editable:!0},new Xe.KX("key").makeTwoWay())),setTimeout(()=>{Rt.current.grid=bn(Xe.s_,"Grid",bn(Xe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),bn(Xe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Rt.current.grid.visible=!0,Rt.current.grid.gridCellStroke="darkgray",Rt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Rt.current,Rt.current}const co=()=>ze(this,null,function*(){var bn=Rt.current.makeImage();const Lr=yield(0,Be.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:bn.src}});Ct({src:Lr.url})});return(0,Se.useEffect)(()=>(setTimeout(()=>{Sr()},500),wr(or+1),()=>{Rt.current=null}),[]),$e.createElement("div",{ref:br,className:jn.current?`${Ve.maxH60} body-overflow-initial`:"body-overflow-initial"},$e.createElement(Fe.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!or,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:$e.createElement(je.Z,null,$e.createElement(Le.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),$e.createElement(Le.Z,{onClick:()=>{var bn,Lr,jt=Rt.current.selection.first();if(jn.current=!jn.current,document.activeElement&&jt){let mn=(Lr=(bn=document.activeElement)==null?void 0:bn.value)==null?void 0:Lr.trim();typeof mn=="string"&&Rt.current.model.commit(function(cn){cn.set(jt.data,"text",mn||"\u672A\u547D\u540D"),Rt.current.commandHandler.stopCommand()},"increment")}wr(or+1)}},$e.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:St},$e.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ve.flowChartWrp},$e.createElement("div",{style:{display:"flex",height:"100%"}},$e.createElement("div",{style:{width:"300px",height:"100%"}},$e.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),$e.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ve.myPaletteDiv,ref:Hn})),$e.createElement("div",{style:{flex:1,position:"relative"}},$e.createElement("div",{ref:dn,style:{height:"80vh"}}))),$e.createElement("div",{className:"tr"},$e.createElement(Pe.ZP,{size:"large",onClick:co,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Oe=Te,Ne=de(78045),Ge=de(31795);const rt=Ne.ZP.Group,mt={margin:"0 8px"};var dt=({callback:St,onCancel:Ct})=>{function Rt(dn){St(dn)}return Se.createElement(ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Rt},Se.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Se.createElement("span",{style:mt},"\u5355\u5143\u683C\u6570\uFF1A"),Se.createElement("span",{style:mt},"\u884C\u6570"),Se.createElement(ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Se.createElement(Ge.Z,null)),Se.createElement("span",{style:mt},"\u5217\u6570"),Se.createElement(ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Se.createElement(Ge.Z,null))),Se.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Se.createElement("span",{style:mt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Se.createElement(ye.default.Item,{name:"align"},Se.createElement(rt,null,Se.createElement(Ne.ZP,{value:"default"},Se.createElement("i",{className:"fa fa-align-justify"})),Se.createElement(Ne.ZP,{value:"left"},Se.createElement("i",{className:"fa fa-align-left"})),Se.createElement(Ne.ZP,{value:"center"},Se.createElement("i",{className:"fa fa-align-center"})),Se.createElement(Ne.ZP,{value:"right"},Se.createElement("i",{className:"fa fa-align-right"}))))),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(Pe.ZP,{type:"ghost",onClick:Ct},"\u53D6\u6D88")))},nt=de(47897),vt=de(61016),At=de.n(vt),at=(0,Se.forwardRef)(({use3d:St,width:Ct,height:Rt,callback:dn,showSaveButton:Hn},jn)=>{const br=(0,Se.useRef)(),or=(0,Se.useRef)(),[wr,Sr]=(0,Se.useState)(!1),co=(0,Se.useRef)({id:br,appName:"graphing",width:Ct||1e3,height:Rt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Se.useEffect)(()=>{or.current=new(At())(co.current,!0),window.onload=function(){or.current.inject("applet_container")}},[]);const bn=()=>{var Lr=window.ggbApplet.getPNGBase64(1,!0,72);return dn&&dn(Lr),Lr};return(0,Se.useEffect)(()=>{co.current.appName=wr?"3D":"graphing",or.current.inject("applet_container")},[wr]),(0,Se.useEffect)(()=>{Sr(St)},[St]),(0,Se.useImperativeHandle)(jn,()=>({getImgData:bn})),Se.createElement(Se.Fragment,null,Se.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:br}),Se.createElement(je.Z,{align:"middle"},Se.createElement(Le.Z,{flex:1},Se.createElement(nt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:wr,onChange:Lr=>Sr(Lr)})),Se.createElement(Le.Z,null,Se.createElement(Pe.ZP,{size:"large",onClick:bn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),xt=de(36527),lt=de(25934),it=de(2453);const bt="link",wt="upload-image",Dt="add-flowchart",Kt="draw-image",Pn="add-flowchart",wn="code-block",Nn="add-table",On="------------",qn={default:On,left:`:${On}`,center:`:${On}:`,right:`${On}:`};var rr=de(99914),pr=(St,Ct,Rt)=>new Promise((dn,Hn)=>{var jn=wr=>{try{or(Rt.next(wr))}catch(Sr){Hn(Sr)}},br=wr=>{try{or(Rt.throw(wr))}catch(Sr){Hn(Sr)}},or=wr=>wr.done?dn(wr.value):Promise.resolve(wr.value).then(jn,br);or((Rt=Rt.apply(St,Ct)).next())});function zr(){}let Vr=0;const An=1e4,Cn="\u2581",Ut="@\u2581\u2581@",Tt="@\u2581@",kt=`
**\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`,en=["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 Xt(St){return/^\d+$/.test(St)?`${St}px`:St}const tn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",yn={[tn+"-B"]:"bold",[tn+"-I"]:"italic"},Mn={[bt]:"\u6DFB\u52A0\u94FE\u63A5",[wn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[wt]:"\u6DFB\u52A0\u56FE\u7247",[Kt]:"\u6DFB\u52A0\u753B\u56FE",[Dt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Nn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Dn=({defaultValue:St="",onChange:Ct,width:Rt="100%",height:dn=400,miniToolbar:Hn=!1,isFocus:jn=!1,watch:br,insertTemp:or,mode:wr="markdown",id:Sr="markdown-editor-id",showResizeBar:co=!1,noStorage:bn=!1,showNullButton:Lr=!1,showNullProgramButton:jt=!1,hidetoolBar:mn=!1,fullScreen:cn=!1,onBlur:vn,onCMBeforeChange:Wn,onFullScreen:gn,className:Qt="",disablePaste:xn=!1,disabled:Cr=!1,disabledFill:gr=!1,placeholder:Rr="",values:kr="",extraUse:ho,isShowTool:ao=!0,disableImageUpload:eo=!1})=>{const[Fn,io]=(0,Se.useState)(null),[jo,$n]=(0,Se.useState)(St),[Bn,fr]=(0,Se.useState)(br),[nr,xr]=(0,Se.useState)(cn),[cr,Fr]=(0,Se.useState)(""),[Qr,Xr]=(0,Se.useState)(0),[It,Ot]=(0,Se.useState)(dn),[qt,Sn]=(0,Se.useState)(!1),In=(0,Se.useRef)((0,lt.Z)()),an=(0,Se.useRef)(!1),Pr=(0,Se.useRef)(),[Or,Zr]=(0,Se.useState)(0),[ro,Wr]=(0,Se.useState)(0),po=(0,Se.useRef)(),ar=(0,Se.useRef)(),_t=(0,Se.useRef)(),zt=(0,Se.useRef)(),fn=()=>pr(void 0,null,function*(){var on;const Yt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:In.current}});(on=Yt==null?void 0:Yt.attachments)!=null&&on.length&&(console.log("cm:",Fn,po),Yt.attachments.map($t=>{$t.content_type.indexOf("image")>-1?Fn.replaceSelection(`![,](/api/attachments/${$t.id}?type=${$t.content_type})`):$t.content_type.indexOf("video")>-1?Fn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):$t.content_type.indexOf("pdf")>-1?Fn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${$t.id}?type=${$t.content_type}&disposition=inline" target="_blank">${$t.name}</a>`):Fn.replaceSelection(`[${$t.name}](${ENV.API_SERVER}/api/attachments/${$t.id}?type=${$t.content_type})`)}))});(0,Se.useEffect)(()=>{const on=window.scrollY||window.pageYOffset;$n(kr),Fn==null||Fn.setValue(kr),window.scrollTo(0,on)},[kr]),(0,Se.useEffect)(()=>{gn==null||gn(nr)},[nr]),(0,Se.useEffect)(()=>{if(po.current){let on=function($t,Jt){var Ln,ut;if(xn){Jt.preventDefault();return}const ct=Jt.clipboardData;if(ct){const pt=ct.types.toString(),Mt=ct.items;if(pt==="Files"||ct.types.indexOf("Files")>-1){if(Jt.preventDefault(),wr=="stex")return;try{let Ft=Mt[1];((Ln=Mt[0])==null?void 0:Ln.kind)==="file"&&(Ft=Mt[0]);const Ht=Ft.getAsFile(),pn=Ht.name.split(".").pop();if(eo&&((ut=Ht==null?void 0:Ht.type)==null?void 0:ut.indexOf("image"))>-1)return!0;(0,He.I)(Ht,Rn=>{var Vn,Qn,Yn;Rn.id?((Vn=Ht==null?void 0:Ht.type)==null?void 0:Vn.indexOf("image"))>-1?Yt.replaceSelection(`<img width="100%" src="/api/attachments/${Rn.id}?type=${Rn.content_type})" alt="" />`):((Qn=Ht==null?void 0:Ht.type)==null?void 0:Qn.indexOf("video"))>-1?Yt.replaceSelection(`<video width="100%" controls src="/api/attachments/${Rn.id}"></video>`):((Yn=Ht==null?void 0:Ht.type)==null?void 0:Yn.indexOf("pdf"))>-1?Yt.replaceSelection(`<a href="/api/attachments/${Rn.id}?type=${Ht.type}&disposition=inline" target="_blank">${Ht.name}</a>`):en.includes(pn)?Yt.replaceSelection(`<a href="/api/attachments/${Rn.id}?type=office&disposition=inline" target="_blank">${Ht.name}</a>`):Yt.replaceSelection(`[${Ht.name}](/api/attachments/${Rn.id}?type=${Rn.content_type})`):(Rn==null?void 0:Rn.status)===401&&(it.ZP.warning((Rn==null?void 0:Rn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ft){it.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Yt=E().fromTextArea(po.current,{mode:wr,lineNumbers:!Hn,lineWrapping:!0,value:St,autoCloseTags:!jt,autoCloseBrackets:!0});return Yt.on("keyup",function($t,Jt){Jt.keyCode===8&&($t.getValue()==""?Yt.setOption("placeholder",Rr):Yt.setOption("placeholder",null))}),Yt.on("keydown",function($t,Jt){if(Jt.keyCode===8){var Ln=hn($t);Ln&&Jt.preventDefault()}}),jn&&Yt.focus(),Yt.on("paste",on),Yt.on("dragleave",function($t,Jt){ar.current.classList.remove("mouse-hover-md")}),Cr&&Yt.on("beforeChange",function($t,Jt){(Jt.origin==="paste"||Jt.origin==="+input")&&Jt.cancel()}),io(Yt),()=>{Yt.off("paste",on)}}},[]);const ht=(0,Se.useCallback)(()=>{if(ar.current)try{}catch(on){console.log(on,"---- to set md editor body height")}},[It,ar,nr]);(0,Se.useEffect)(()=>{function on(){let Yt=new he.Z($t=>{for(let Jt of $t)(Jt.target.offsetHeight>0||Jt.target.offsetWidth>0)&&(ht(),Fn.setSize("100%","100%"),Fn.refresh())});return Yt.observe(po.current.parentElement),Yt}if(Fn){const Yt=on();return()=>{var $t,Jt;($t=po.current)!=null&&$t.parentElement&&Yt.unobserve((Jt=po.current)==null?void 0:Jt.parentElement)}}},[Fn,ht]),(0,Se.useEffect)(()=>{if(Fn){let on=[];for(const[Yt,$t]of Object.entries(yn)){let Jt={[Yt]:()=>{kn($t)}};on.push(Jt),Fn.addKeyMap(Jt)}return Pr.current=setInterval(()=>{an.current&&fn()},4e3),()=>{clearInterval(Pr.current);for(let Yt of on)Fn.removeKeyMap(Yt)}}},[Fn]),(0,Se.useEffect)(()=>{cn!==nr&&xr(cn)},[cn]),(0,rr.Z)(()=>{if(!bn&&Qr>0){let on=new Date().getTime(),Yt=window.sessionStorage.getItem(Sr);on>=Qr+An&&(!Yt||Yt!==jo)&&(window.sessionStorage.setItem(Sr,jo),Sn(!0))}},An),(0,Se.useEffect)(()=>{fr(br)},[Fn,br]),(0,Se.useEffect)(()=>{Fn&&jn&&Fn.focus()},[Fn,jn]),(0,Se.useEffect)(()=>{if(Bn&&Fn){let on=function($t){let Jt=$t.target;if(zt.current){let Ln=Jt.scrollTop/Jt.scrollHeight;zt.current.scrollTop=zt.current.scrollHeight*Ln}};const Yt=Fn.getScrollerElement();return Yt.addEventListener("scroll",on),()=>{Yt.removeEventListener("scroll",on)}}},[Fn,Bn]),(0,Se.useEffect)(()=>{if(Fn&&Wn){let on=function(Yt,$t){Wn(Yt,$t)};return Fn.on("beforeChange",on),()=>{Fn.off("beforeChange",on)}}},[Fn,Wn]),(0,Se.useEffect)(()=>{if(Fn&&vn){let on=function(){vn(Fn.getValue())};return Fn.on("blur",on),()=>{Fn.off("blur",on)}}},[Fn,vn]);function hn(on,Yt){var $t=on.getDoc(),Jt=$t.getCursor(),Ln=$t.getLine(Jt.line),ut=Ln.charAt(Jt.ch-1),ct=Ln.lastIndexOf("@\u2581@",Jt.ch),pt=Ln.lastIndexOf("@\u2581\u2581@",Jt.ch),Mt=ct>pt?ct:pt,Ft=ct>pt?3:4;if(Ut.indexOf(ut)===-1)return null;if(console.log("change1:",Yt,on,Ln,Jt,Mt,ct,pt,ut),Mt>=0&&Jt.ch-Mt<5){var Ht=Mt+Ft;return $t.replaceRange("",{line:Jt.line,ch:Mt},{line:Jt.line,ch:Ht}),{line:Jt.line,ch:Ht}}return null}(0,Se.useEffect)(()=>{if(Fn){let on=function(Yt,$t){const Jt=Yt.getValue();$n(Jt),Xr(new Date().getTime()),Yt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ct&&(jt?Ct(Jt,Et(Jt)):Ct(Jt))};return Fn.on("change",on),()=>{Fn.off("change",on)}}},[Fn,Ct]),(0,Se.useEffect)(()=>{if(Fn)if(St==null)Fn.setValue(""),$n("");else{const on=window.scrollY||window.pageYOffset;St!==Fn.getValue()&&(Fn.setValue(St),$n(St),Fn.setCursor(Cr?1:Fn.lineCount(),0),window.scrollTo(0,on))}},[Fn,St]);const kn=(0,Se.useCallback)(on=>{const Yt=Fn.getCursor(),$t=Fn.getSelection();let Jt=$t.split(`
`);switch(on){case"bold":return Fn.replaceSelection("**"+$t+"**"),$t===""&&Fn.setCursor(Yt.line,Yt.ch+2),Fn.focus();case"italic":return Fn.replaceSelection("*"+$t+"*"),$t===""&&Fn.setCursor(Yt.line,Yt.ch+1),Fn.focus();case"code":return Fn.replaceSelection("`"+$t+"`"),$t===""&&Fn.setCursor(Yt.line,Yt.ch+1),Fn.focus();case"inline-latex":return Fr("inline-latex"),Fn.focus();case"latex":return Fn.replaceSelection("```latex\n"+$t+"\n```"),Fn.setCursor(Yt.line+1,$t.length+1),Fn.focus();case"line-break":return Fn.replaceSelection(`<br/>
`),Fn.focus();case"list-ul":return $t===""?Fn.replaceSelection("- "+$t):Fn.replaceSelection(Jt.map(Ln=>Ln===""?"":`- ${Ln}`).join(`
`)),Fn.focus();case"list-ol":return $t===""?Fn.replaceSelection("1. "+$t):Fn.replaceSelection(Jt.map((Ln,ut)=>Ln===""?"":`${ut+1}. ${Ln}`).join(`
`)),Fn.focus();case"add-null-ch":return $t===""&&Fn.setCursor(Yt.line,Yt.ch),Fn.replaceSelection(Cn),Fn.focus();case"add-signal":return $t===""&&Fn.setCursor(Yt.line,Yt.ch),Fn.replaceSelection(Tt),Fn.focus();case"add-multiple":return $t===""&&Fn.setCursor(Yt.line,Yt.ch),Fn.replaceSelection(Ut),Fn.focus();case"inster-template-1":return $t===""&&Fn.setCursor(Yt.line,Yt.ch),Fn.replaceSelection(kt),Fn.focus();case"eraser":return Fn.setValue(""),Fn.focus();case"trigger-watch":return fr(!Bn),Fn.focus();case"trigger-full-screen":return xr(!nr),Fn.focus();case bt:Fr(bt);return;case wn:Fr(wn);return;case wt:Fr(wt);return;case Kt:Fr(Kt);return;case"maths-latex":Fr("maths-latex");return;case Dt:Fr(Dt);return;case Nn:Fr(Nn);return;default:throw new Error}},[Fn,Bn,nr]),Un=(0,Se.useCallback)((on,Yt)=>{var $t,Jt,Ln,ut,ct,pt;if(Fr(""),!(eo&&cr==wt))switch(cr){case bt:const{title:Rn,link:Vn}=on;return Fn.replaceSelection(`[${Rn}](${Vn})`),Fn.focus();case wn:const{language:Qn,content:Yn}=on;return Fn.replaceSelection(["```"+Qn,Yn,"```"].join(`
`)),Fn.focus();case"maths-latex":for(var Mt=atob(on),Ft=new Uint8Array(Mt.length),Ht=0;Ht<Mt.length;Ht++)Ft[Ht]=Mt.charCodeAt(Ht);var pn=new Blob([Ft],{type:"image/png"});(0,He.I)(pn,mo=>{mo.id?Fn.replaceSelection(`![,](/api/attachments/${mo.id}?type=${mo.content_type})`):(mo==null?void 0:mo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Fn.replaceSelection("`$$"+on+"$$`");break;case wt:case Kt:case Pn:const{src:tr,alt:Jn}=on,er=Yt,Mr=(Ln=(Jt=($t=er==null?void 0:er.name)==null?void 0:$t.split("."))==null?void 0:Jt.pop)==null?void 0:Ln.call(Jt);return((ut=er==null?void 0:er.type)==null?void 0:ut.indexOf("image"))>-1||!(er!=null&&er.type)?er.align||er.width?Fn.replaceSelection(`<p style="text-align:${er.align||"initial"}"><img width="${er.width?er.width+"%":"initial"}" src="${tr}" alt="${Jn||""}" /></p>`):Fn.replaceSelection(`<img width="100%" src="${tr}" alt="${Jn||""}" />`):((ct=er==null?void 0:er.type)==null?void 0:ct.indexOf("video"))>-1?Fn.replaceSelection(`<video width="100%" controls src="${tr}"></video>`):((pt=er==null?void 0:er.type)==null?void 0:pt.indexOf("pdf"))>-1?Fn.replaceSelection(`<a href="${tr}?type=${er.type}&disposition=inline" target="_blank">${er.name}</a>`):en.includes(Mr)?Fn.replaceSelection(`<a href="${tr}?type=office&disposition=inline" target="_blank">${er.name}</a>`):Fn.replaceSelection(`[${er.name}](${tr})`),Fn.focus();case Nn:const{row:Ur,col:jr,align:Yr}=on;let no=`
`;for(let mo=0;mo<Ur;mo++){let Er=[],uo=[];for(let Co=0;Co<jr;Co++)mo===1&&uo.push(qn[Yr]),Er.push(" ");mo===1&&(no+=`| ${uo.join(" | ")} |
`),no+=`| ${Er.join(jr===1?"":" | ")} |
`}return Fn.replaceSelection(no+`
`),Fn.focus();default:throw new Error}},[Fn,cr,eo]),Vt=(0,Se.useMemo)(()=>{switch(cr){case bt:return Se.createElement(We,{callback:Un,onCancel:nn});case wn:return Se.createElement(Qe.Z,{callback:Un,onCancel:nn});case wt:return Se.createElement(He.Z,{callback:Un,onCancel:nn});case Dt:return Se.createElement(Oe,{callback:Un,onCancel:nn});case Nn:return Se.createElement(dt,{callback:Un,onCancel:nn});case"maths-latex":return Se.createElement(at,{showSaveButton:!0,callback:Un});case"inline-latex":return Se.createElement(xt.Z,{showSaveButton:!0,callback:Un});default:return null}},[cr]);function nn(){Fr("")}(0,Se.useEffect)(()=>{if(_t.current){let on=function(ct){Ln=!0,ut=ct.pageY},Yt=function(){Ln=!1},$t=function(ct){if(Ln){let pt=ct.pageY-ut;pt<0&&(pt=0),pt>300&&(pt=300);let Mt=dn+pt+"px";Ot(Mt)}},Jt=_t.current,Ln=!1,ut=0;return Jt.addEventListener("mousedown",on),document.addEventListener("mousemove",$t),document.addEventListener("mouseup",Yt),()=>{Jt.removeEventListener("mousedown",on),document.removeEventListener("mousemove",$t),document.removeEventListener("mouseup",Yt)}}},[Fn,_t]),(0,Se.useEffect)(()=>{Ot(dn)},[dn]);const sn=Xt(Rt),Kn=Xt(It),lr={width:sn,height:Kn},mr=(0,Se.useMemo)(()=>{if(Qr){let on=new Date(Qr),Yt=on.getHours(),$t=on.getMinutes(),Jt=on.getSeconds();return Yt=Yt<10?"0"+Yt:Yt,$t=$t<10?"0"+$t:$t,Jt=Jt<10?"0"+Jt:Jt,`${Yt}:${$t}:${Jt}`}return 0},[Qr]),Et=on=>{const Yt=[];if(jt){let $t=-1;on=on.replace(/(@▁▁@|@▁@)/g,function(Jt,Ln,ut){Yt.push({multiLine:Jt!==Tt})})}return Yt};function Gt(){window.sessionStorage.removeItem(Sr),Sn(!1),Xr(0)}function rn(){Sn(!1),Xr(0),Fn.setValue(window.sessionStorage.getItem(Sr))}(0,Se.useEffect)(()=>{Mn[cr]&&cr!==Kt&&cr!==Dt&&setTimeout(()=>{const on=document.getElementsByClassName("markdown-popup-form")[0],Yt=window.innerWidth/2-on.offsetWidth/2,$t=window.innerHeight/2-on.offsetHeight/2;Zr(Yt),Wr($t)},0)},[cr]);const Xn=on=>{on.preventDefault();const Yt=on.clientX-Or,$t=on.clientY-ro;document.body.onmousemove=Jt=>{let Ln=Jt.clientX-Yt,ut=Jt.clientY-$t;const ct=document.getElementsByClassName("markdown-popup-form")[0],pt=window.innerWidth-ct.offsetWidth,Mt=window.innerHeight-ct.offsetHeight;Ln=Math.max(0,Math.min(Ln,pt)),ut=Math.max(0,Math.min(ut,Mt)),_n(Jt.clientX,Jt.clientY,Yt,$t)&&(Zr(Ln),Wr(ut))},document.body.onmouseup=function(){document.body.onmousemove=null}},_n=(on,Yt,$t,Jt)=>{const Ln=document.body.clientHeight,ut=document.body.clientWidth;return on<20&&$t>on||on>ut-20&&$t<on||Yt<20&&Jt>Yt||Yt>Ln-20&&Jt<Yt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return Se.createElement(Se.Fragment,null,Se.createElement("div",{className:"markdown-editor-wrapper",ref:ar},Se.createElement("div",{className:`markdown-editor-container ${Qt} ${Bn?"on-preview":""} ${Hn?"mini":""} ${nr?"full-screen":""}`,style:lr},ao&&Se.createElement(pe,{insertTemp:or,watch:Bn,fullScreen:nr,showNullButton:Lr,showNullProgramButton:jt,onActionCallback:kn,hidetoolBar:mn,extraUse:ho}),Se.createElement("div",{className:"markdown-editor-body"},Se.createElement("div",{className:"codemirror-container"},Se.createElement("textarea",{ref:po,placeholder:Rr})),Bn?Se.createElement("div",{ref:zt,className:"preview-container"},wr==="stex"&&Se.createElement(oe,{value:jo}),wr!=="stex"&&Se.createElement(ae.Z,{disabledFill:gr,showProgramFill:jt,value:jo})):null))),co?Se.createElement("a",{ref:_t,className:"editor-resize"}):null,cr===Kt&&Se.createElement(st,{callback:Un,onCancel:nn}),cr===Dt&&Se.createElement(Oe,{callback:Un,onCancel:nn}),Se.createElement(be.Z,null,Mn[cr]&&cr!==Kt&&cr!==Dt?Se.createElement(Fe.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Or,top:ro},title:Se.createElement("div",{style:{cursor:"move"},onMouseDown:Xn},Mn[cr]),open:!0,onCancel:nn,footer:null,destroyOnClose:!0,width:cr===Dt?"1200px":null,height:cr===Dt?"80vh":null,className:"markdown-popup-form"},Vt):null))}},70859:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return ve},I:function(){return be}});var Se=de(22150),xe=de(2453),E=de(69677),he=de(93421),fe=de(31795),le=de(78045),re=de(71577),se=de(15476),ie=de(67294),ue=de(52262),ae=de(67294),oe=Object.defineProperty,ne=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ye,Ee,Pe)=>Ee in ye?oe(ye,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ye[Ee]=Pe,z=(ye,Ee)=>{for(var Pe in Ee||(Ee={}))y.call(Ee,Pe)&&b(ye,Pe,Ee[Pe]);if(a)for(var Pe of a(Ee))x.call(Ee,Pe)&&b(ye,Pe,Ee[Pe]);return ye},te=(ye,Ee)=>ne(ye,ee(Ee));const{useForm:ce}=Se.default,ge={width:280,marginRight:10},me={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:ye,onCancel:Ee})=>{const[Pe]=ce();let Ae=(0,ie.useRef)();function Ce(Re){Ae.current.width=Pe.getFieldValue("width"),Ae.current.align=Pe.getFieldValue("align"),ye(Re,Ae.current)}function _e(Re,De){if(Re.status===-1){xe.ZP.error(Re.message);return}Pe.setFieldsValue({src:`/api/attachments/${Re.id}`,type:De.type})}function we(Re){let De=Re.target.files[0];Ae.current=De,be(De,_e)}return ae.createElement(Se.default,te(z({form:Pe},me),{className:"upload-image-panel",onFinish:Ce,style:{width:470,overflow:"hidden"}}),ae.createElement(Se.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ae.createElement("div",{className:"flex-container"},ae.createElement(Se.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ae.createElement(E.default,{style:ge})),ae.createElement(pe,{onFileChange:we}))),ae.createElement(Se.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ae.createElement(E.default,{style:{width:264}})),ae.createElement(Se.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ae.createElement(he.Z,null,ae.createElement(Se.default.Item,{name:"width",style:{margin:0}},ae.createElement(fe.Z,{style:{width:264}})),ae.createElement("span",{className:"ml8"},"%"))),ae.createElement(Se.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ae.createElement(le.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(Se.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ae.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(re.ZP,{type:"default",onClick:Ee},"\u53D6\u6D88"))))};function pe({onFileChange:ye}){return ae.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ae.createElement("input",{type:"file",onChange:ye}))}function be(ye,Ee){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ue.bg)())throw xe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Pe=new FormData;Pe.append("editormd-image-file",ye),Pe.append("file_param_name","editormd-image-file"),Pe.append("byxhr","true");var Ae=new window.XMLHttpRequest;Ae.withCredentials=!0,Ae.addEventListener("load",function(Ce){Ee(JSON.parse(Ce.target.responseText),ye)},!1),Ae.addEventListener("error",function(Ce){console.error(Ce)},!1),Ae.open("POST",`${se.KI}/api/attachments.json`),Ae.send(Pe)}},76621:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return E}});var Se=de(67294),xe=de(73935);class E extends Se.Component{constructor(fe){super(fe);const le=window.document;this.node=le.createElement("div"),le.body.appendChild(this.node)}render(){const{children:fe}=this.props;return(0,xe.createPortal)(fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},21434:function(Lt,gt,de){"use strict";var Se=de(12867),xe=de(11713),E=de(47897),he=de(67294);const fe=xe.default.Option;gt.Z=({isTheoretical:le,onFontSizeChange:re,cmFontSize:se,cmCodeMode:ie,autoFormat:ue,onCodeModeChange:ae,onTabToSpace:oe,onAutoFormat:ne,formatDocument:ee,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:z,shixun_environment_id:te,shixun_environments:ce})=>{var ge;const me={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"},ve=(ge=ce==null?void 0:ce.find(pe=>pe.shixun_environment_id===te))==null?void 0:ge.program_language;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(xe.default,{bordered:!1,size:"small",value:ie,onChange:ae},he.createElement(fe,{value:"vs"},"\u767D\u8272\u80CC\u666F"),he.createElement(fe,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!le&&he.createElement(he.Fragment,null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),he.createElement(xe.default,{bordered:!1,size:"small",value:se,onChange:re},he.createElement(fe,{value:12},"12px"),he.createElement(fe,{value:14},"14px"),he.createElement(fe,{value:16},"16px"),he.createElement(fe,{value:18},"18px"),he.createElement(fe,{value:20},"20px"),he.createElement(fe,{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")))),!le&&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),!le&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,ve&&he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u7F16\u7A0B\u8BED\u8A00"),he.createElement("span",null,ve)),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),he.createElement("span",null,me[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")))))}},99914:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return xe}});var Se=de(67294);function xe(E,he){const fe=(0,Se.useRef)();(0,Se.useEffect)(()=>{fe.current=E}),(0,Se.useEffect)(()=>{function le(){fe.current()}if(he!==null){let re=setInterval(le,he);return()=>clearInterval(re)}},[he])}},26462:function(Lt,gt,de){"use strict";de.r(gt),de.d(gt,{default:function(){return Vr}});var Se=de(67294),xe=de(14446),E=de(57953),he=de(71577),fe=de(71230),le=de(38703),re=de(15746),se=de(35973),ie={correct:"correct___kxyVH",wrong:"wrong___mq9je",partialCorrect:"partialCorrect___mVUmW",unanswered:"unanswered___Qb6q9",wrap:"wrap___wnenN",head:"head___g9KUg",content:"content___gs8eE",left:"left___nmVnP",answerInfo:"answerInfo___vaCeC",dottedLineWrapper:"dottedLineWrapper___i4mG_",leftHalfCircle:"leftHalfCircle___ViyaI",dottedLine:"dottedLine___w83V6",rightHalfCircle:"rightHalfCircle___qbTN1",card:"card___pGijF",cardTitle:"cardTitle___eA6eY",cardContent:"cardContent___rchFp",cardTag:"cardTag___zad8x",right:"right___oipKn",overall:"overall___xMhs6",tipCorrect:"tipCorrect___fVjaz",tipWrong:"tipWrong___nMG7C",question:"question___uYC59",btns:"btns___als5Y"},ue=de(33170),ae=de(34182),oe=de(74664),ne=de(78045),ee=de(84567),a=de(69677),y={extra:"extra___yTab3",row:"row___HnRCs",md:"md___L1tuZ",title:"title___iSLhz",btn:"btn___C2OtF",boxHead:"boxHead___GfOIb",iframe:"iframe___J6XBA"},x=de(85725),b=de(94184),z=de.n(b),te=de(35567),ce=de(35713),ge=de(3830),me=de(15835),ve=de(19575),pe=de(2453),be=de(88742),ye=de(86276),Ee=de(27484),Pe=de.n(Ee),Ae=de(67294),Ce=Object.defineProperty,_e=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,De=(An,Cn,Ut)=>Cn in An?Ce(An,Cn,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):An[Cn]=Ut,ke=(An,Cn)=>{for(var Ut in Cn||(Cn={}))we.call(Cn,Ut)&&De(An,Ut,Cn[Ut]);if(_e)for(var Ut of _e(Cn))Re.call(Cn,Ut)&&De(An,Ut,Cn[Ut]);return An},Ie=(An,Cn,Ut)=>new Promise((Tt,kt)=>{var en=tn=>{try{Tn(Ut.next(tn))}catch(yn){kt(yn)}},Xt=tn=>{try{Tn(Ut.throw(tn))}catch(yn){kt(yn)}},Tn=tn=>tn.done?Tt(tn.value):Promise.resolve(tn.value).then(en,Xt);Tn((Ut=Ut.apply(An,Cn)).next())}),Je=({className:An,data:Cn={},identifier:Ut,userAnswer:Tt,onFinish:kt})=>{const[en,Xt]=(0,Se.useState)(!1),[Tn,tn]=(0,Se.useState)({}),yn=()=>new Date().getTime(),Mn=St=>Ie(void 0,null,function*(){let Ct=ve.Base64.decode(Cn.code);return Tt.length>0&&(Tt==null||Tt.map(dn=>{dn.multi_line?Ct=Ct.substring(0,Ct.indexOf("@\u2581\u2581@"))+dn.value+Ct.substring(Ct.indexOf("@\u2581\u2581@")+4):Ct=Ct.substring(0,Ct.indexOf("@\u2581@"))+dn.value+Ct.substring(Ct.indexOf("@\u2581@")+3)})),yield(0,be.n4)(St,{code:ve.Base64.encode(Ct),language:Cn.language,answers:Tt==null?void 0:Tt.map(dn=>dn.value)})}),Dn=()=>Ie(void 0,null,function*(){var St;if((St=Tt==null?void 0:Tt.filter(dn=>!dn.value))!=null&&St.length){pe.ZP.warning("\u8BF7\u5148\u586B\u5199\u4EE3\u7801\u4E4B\u540E\u518D\u63D0\u4EA4");return}Xt(!0);const Ct=yield(0,ue.ZP)(`/api/problems/${Ut}/start.json`,{method:"get"}),Rt=yield Mn(Ct==null?void 0:Ct.identifier);if((Rt==null?void 0:Rt.status)===0){let Hn=function(){return Ie(this,null,function*(){const{status:jn,message:br,data:or}=yield(0,be.rX)(Ct==null?void 0:Ct.identifier,"submit");if(yn()-dn>10*1e3*(Tt==null?void 0:Tt.length)){Xt(!1),xe.default.error({centered:!0,icon:null,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6",content:"\u8BF7\u68C0\u67E5\u7A0B\u5E8F\u4EE3\u7801\u662F\u5426\u5B58\u5728\u6B7B\u5FAA\u73AF"});return}if(jn===0){Xt(!1),or.status===2?xe.default.error({centered:!0,icon:null,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}):tn(or);return}setTimeout(Hn,1e3)})};const dn=yn();yield(0,be.bM)(Ct==null?void 0:Ct.identifier,{}),Hn();return}Xt(!1)});return Ae.createElement("div",null,Ae.createElement(he.ZP,{className:z()(An),loading:en,onClick:Dn},"\u63D0\u4EA4\u4EE3\u7801"),Ae.createElement(xe.default,{open:!!(Tn!=null&&Tn.id),title:"\u8FD0\u884C\u7ED3\u679C",width:1100,destroyOnClose:!0,afterClose:()=>kt==null?void 0:kt(),footer:!1,onOk:()=>tn({}),onCancel:()=>tn({})},Ae.createElement("div",{style:{maxHeight:600,overflow:"auto",marginBottom:15}},Ae.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",fontSize:14}},Ae.createElement("div",null,Ae.createElement("span",{style:{color:"#666666"}},"\u72B6\u6001"),Ae.createElement("span",{style:{marginLeft:12,color:Tn.status!==0&&"#E30000"}},ye.Im[Tn.status])),Ae.createElement("div",null,Ae.createElement("span",{style:{color:"#666666"}},"\u63D0\u4EA4\u65F6\u95F4"),Ae.createElement("span",{style:{marginLeft:12}},Pe()(Tn.created_at).format("YYYY-MM-DD HH:mm:ss"))),Ae.createElement("div",null,Ae.createElement("span",{style:{color:"#666666"}},"\u8BED\u8A00"),Ae.createElement("span",{style:{marginLeft:12}},Tn.language)),Ae.createElement("div",null,Ae.createElement("span",{style:{color:"#666666"}},"\u6267\u884C\u7528\u65F6"),Ae.createElement("span",{style:{marginLeft:12}},Tn.execute_time,"ms"))),Ae.createElement(ye.Y4,ke({},Tn)))))},We=de(67294),Qe=Object.defineProperty,He=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,st=(An,Cn,Ut)=>Cn in An?Qe(An,Cn,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):An[Cn]=Ut,Xe=(An,Cn)=>{for(var Ut in Cn||(Cn={}))et.call(Cn,Ut)&&st(An,Ut,Cn[Ut]);if(je)for(var Ut of je(Cn))tt.call(Cn,Ut)&&st(An,Ut,Cn[Ut]);return An},Ke=(An,Cn)=>He(An,Fe(Cn)),Me=(An,Cn,Ut)=>new Promise((Tt,kt)=>{var en=tn=>{try{Tn(Ut.next(tn))}catch(yn){kt(yn)}},Xt=tn=>{try{Tn(Ut.throw(tn))}catch(yn){kt(yn)}},Tn=tn=>tn.done?Tt(tn.value):Promise.resolve(tn.value).then(en,Xt);Tn((Ut=Ut.apply(An,Cn)).next())});const Ye=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Le=({data:An})=>{const{question_type:Cn,group_topic_id:Ut,commit_wrong_question:{analysis:Tt,standard_answer_show:kt,tag_discipline_names:en,standard_answer:Xt}={}}=An,Tn=()=>{if([0,1,2].includes(Cn))return We.createElement("div",{className:y.row},We.createElement("div",null,"\u7B54\xA0\xA0\xA0\xA0\u6848"),We.createElement("div",{className:"c-black"},kt));if([3].includes(Cn))return Xt==null?void 0:Xt.map((tn,yn)=>{var Mn,Dn;return We.createElement(Se.Fragment,{key:yn},We.createElement("div",{className:y.row},We.createElement("div",null,"\u7B54\xA0\xA0\xA0\xA0\u6848",yn+1),(tn==null?void 0:tn.model)===1&&We.createElement("div",{className:"c-black"},(Mn=tn==null?void 0:tn.answer_text)==null?void 0:Mn.join("\u3001")),(tn==null?void 0:tn.model)===2&&We.createElement("div",{className:"flex gap-10px"},(Dn=tn==null?void 0:tn.answer_text)==null?void 0:Dn.map((St,Ct)=>We.createElement(ce.Z,{key:yn+""+Ct,disabled:!0,value:St})))))});if([4].includes(Cn))return We.createElement("div",{className:y.row},We.createElement("div",null,"\u7B54\xA0\xA0\xA0\xA0\u6848"),We.createElement("div",{className:"c-black"},Xt==null?void 0:Xt[0]));if([6].includes(Cn))return We.createElement("div",{className:y.row},We.createElement("div",null,"\u7B54\xA0\xA0\xA0\xA0\u6848"),We.createElement(x.Z,{className:y.md,value:Xt||"-"}));if([8].includes(Cn))return Xt==null?void 0:Xt.map((tn,yn)=>We.createElement(Se.Fragment,{key:yn},We.createElement("div",{className:y.row},We.createElement("div",null,"\u7B54\xA0\xA0\xA0\xA0\u6848",yn+1),We.createElement("div",{className:"c-black"},tn==null?void 0:tn.answer_text))))};return We.createElement("div",{className:y.extra},Tn(),We.createElement("div",{className:y.row},We.createElement("div",null,"\u89E3\xA0\xA0\xA0\xA0\u6790"),We.createElement(x.Z,{className:y.md,value:Tt||"-"})),We.createElement("div",{className:y.row},We.createElement("div",null,"\u77E5\u8BC6\u70B9"),We.createElement("div",{className:"c-black"},en==null?void 0:en.join("\u3001"))))},Be=An=>{const Cn=Tt=>{const{user_answer:kt,standard_answer:en,standard_answers:Xt,standard_answer_show:Tn,tag_discipline_names:tn,analysis:yn,user_answer_infos:Mn}=Tt;return Tt={user_answer_is_right:(Mn==null?void 0:Mn.user_answer_is_right)===void 0?null:Mn==null?void 0:Mn.user_answer_is_right,user_answer:kt,analysis:yn,standard_answer_show:Tn,tag_discipline_names:tn,standard_answer:Xt||en},Tt};return An.map((Tt,kt)=>(Tt.q_position=kt+1,Tt.commit_wrong_question=Cn(Tt),[7].includes(Tt==null?void 0:Tt.question_type)&&(Tt.commit_wrong_question.sub_exercise_questions=Tt.sub_exercise_questions.map(en=>Cn(en))),Tt))},Ve=({data:An={},value:Cn,onChange:Ut})=>{const{question_title:Tt,question_choices:kt,q_position:en,commit_wrong_question:{user_answer_is_right:Xt,user_answer:Tn}={}}=An,tn=Xt!==void 0,yn=Mn=>{const Dn=Mn.target.value;Ut(Dn)};return We.createElement("div",{className:y.question},We.createElement(x.Z,{className:z()(y.title,y.md),value:`${en}\u3001`+Tt}),We.createElement(ne.ZP.Group,{disabled:tn,value:tn?Tn==null?void 0:Tn[0]:Cn,onChange:yn,className:tn&&`edu-radio-${Xt?"green":"red"}`},kt==null?void 0:kt.map((Mn,Dn)=>We.createElement("div",{key:Dn},We.createElement(ne.ZP,{value:Mn==null?void 0:Mn.choice_id,className:"mb20"},We.createElement(fe.Z,{align:"middle",wrap:!1,className:"c-black ml5"},We.createElement("span",{className:"mr5 c-black"},Ye[Dn],"."),We.createElement(x.Z,{className:y.md,value:Mn==null?void 0:Mn.choice_text})))))),tn&&We.createElement(Le,{data:An}))},$e=({data:An={},value:Cn,onChange:Ut})=>{const{question_title:Tt,question_choices:kt,q_position:en,commit_wrong_question:{user_answer_is_right:Xt,user_answer:Tn}={}}=An,tn=Xt!==void 0,yn=Mn=>{Ut(Mn)};return We.createElement("div",{className:y.question},We.createElement(x.Z,{className:z()(y.title,y.md),value:`${en}\u3001`+Tt}),We.createElement(ee.default.Group,{disabled:tn,style:{flexDirection:"column"},value:tn?Tn:Cn,onChange:yn,className:tn&&`edu-checkbox-${Xt?"green":"red"}`},kt==null?void 0:kt.map((Mn,Dn)=>We.createElement("div",{key:Dn},We.createElement(ee.default,{value:Mn==null?void 0:Mn.choice_id,className:"mb20"},We.createElement(fe.Z,{align:"middle",wrap:!1,className:"c-black ml5"},We.createElement("span",{className:"mr5 c-black"},Ye[Dn],"."),We.createElement(x.Z,{className:y.md,value:Mn==null?void 0:Mn.choice_text})))))),tn&&We.createElement(Le,{data:An}))},ze=({data:An={},value:Cn,onChange:Ut})=>{const{question_title:Tt,question_choices:kt,q_position:en,commit_wrong_question:{user_answer_is_right:Xt,user_answer:Tn}={}}=An,tn=Xt!==void 0,yn=Mn=>{const Dn=Mn.target.value;Ut(Dn)};return We.createElement("div",{className:y.question},We.createElement(x.Z,{className:z()(y.title,y.md),value:`${en}\u3001`+Tt}),We.createElement(ne.ZP.Group,{disabled:tn,value:tn?Tn==null?void 0:Tn[0]:Cn,onChange:yn,className:tn&&`edu-radio-${Xt?"green":"red"}`},kt==null?void 0:kt.map((Mn,Dn)=>We.createElement("div",{key:Dn},We.createElement(ne.ZP,{value:Mn==null?void 0:Mn.choice_id,className:"mb20"},We.createElement(fe.Z,{align:"middle",wrap:!1,className:"c-black ml5"},We.createElement(x.Z,{className:y.md,value:Mn==null?void 0:Mn.choice_text})))))),tn&&We.createElement(Le,{data:An}))},Te=({data:An={},value:Cn,onChange:Ut})=>{const[Tt,kt]=(0,Se.useState)([]),{question_title:en,q_position:Xt,standard_answer:Tn,commit_wrong_question:{user_answer_is_right:tn,user_answer:yn}={}}=An,Mn=tn!==void 0,Dn=St=>{Ut(St)};return(0,Se.useEffect)(()=>{if(Mn){kt(yn);return}if(Cn){kt(Cn);return}const St=Tn==null?void 0:Tn.map(Ct=>Ke(Xe({},Ct),{exercise_choice_id:Ct.position,answer_text:""}));kt(St)},[]),We.createElement("div",{className:y.question},We.createElement(x.Z,{className:z()(y.title,y.md),value:`${Xt}\u3001`+en}),We.createElement("div",{className:"flex flex-col gap-20px mb20"},Tt==null?void 0:Tt.map((St,Ct)=>We.createElement(fe.Z,{align:"middle",wrap:!1},We.createElement("div",{className:"mr10"},"\u586B\u7A7A\u9879",Ct+1),We.createElement("div",{className:"flex-1"},(St==null?void 0:St.model)===1?We.createElement(a.default,{placeholder:"\u8BF7\u8F93\u5165\u7B54\u6848",disabled:Mn,value:St==null?void 0:St.answer_text,onChange:Rt=>{Tt[Ct].answer_text=Rt.target.value,kt([...Tt]),Dn(Tt)}}):We.createElement(ce.Z,{value:St==null?void 0:St.answer_text,disabled:Mn,onChange:Rt=>{Tt[Ct].answer_text=Rt,kt([...Tt]),Dn(Tt)}}))))),Mn&&We.createElement(Le,{data:An}))},Oe=({data:An={},value:Cn,onChange:Ut})=>{const{question_title:Tt,q_position:kt,commit_wrong_question:{user_answer_is_right:en,user_answer:Xt}={}}=An,Tn=en!==void 0,tn=yn=>{Ut(yn)};return We.createElement("div",{className:y.question},We.createElement(x.Z,{className:z()(y.title,y.md),value:`${kt}\u3001`+Tt}),Tn?We.createElement("div",{style:{border:"1px solid #dcdcdc"},className:"mb20 p20 c-black"},Xt==null?void 0:Xt[0]):We.createElement(te.Z,{watch:!0,onChange:tn,defaultValue:Cn}),Tn&&We.createElement(Le,{data:An}))},Ne=({showEntryAnswer:An,updateData:Cn,examPaperId:Ut,params:Tt,data:kt={}})=>{const[en,Xt]=(0,Se.useState)(!1),[Tn,tn]=(0,Se.useState)(""),[yn,Mn]=(0,Se.useState)("none"),Dn=(0,Se.useRef)(),{question_id:St,question_title:Ct,q_position:Rt,languages:dn,description:Hn,hack_identifier:jn,commit_wrong_question:{user_answer_is_right:br}={}}=kt,wr=typeof An!="undefined"?An:!(br!==void 0),Sr=()=>Me(void 0,null,function*(){if(Xt(!0),jn){const bn=yield(0,me.nF)({id:jn});(bn==null?void 0:bn.status)===0&&(tn(`/myproblems/${bn.identifier}?type=exercises&exercisesId=${Ut}&coursesId=coursesId&login=${Tt.login}&questionId=${St}`),Mn("block"))}Xt(!1)}),co=bn=>{bn.data==="backExercise"&&(Mn("none"),tn(""),Cn())};return(0,Se.useEffect)(()=>(window.addEventListener("message",co),()=>{window.removeEventListener("message",co)}),[]),We.createElement("div",{className:y.question},We.createElement(x.Z,{className:z()(y.title,y.md),value:`${Rt}\u3001`+Ct}),wr&&We.createElement("div",{className:y.boxHead},We.createElement(ge.Z,{title:"\u7F16\u7A0B\u8BED\u8A00",dataSource:dn}),We.createElement(he.ZP,{loading:en,onClick:Sr,className:y.btn},"\u8FDB\u5165\u7B54\u9898")),We.createElement("div",{style:{border:"1px solid #dcdcdc"},className:"mb20 p20 c-black"},We.createElement(x.Z,{className:y.md,value:Hn})),!wr&&We.createElement(Le,{data:kt}),We.createElement("iframe",{style:{display:yn},className:y.iframe,src:Tn,ref:Dn}))},Ge=({showEntryAnswer:An,updateData:Cn,data:Ut={},value:Tt,onChange:kt})=>{const[en,Xt]=(0,Se.useState)([]),{code:Tn,hack_identifier:tn,question_title:yn,q_position:Mn,standard_answer_with_score:Dn,commit_wrong_question:{user_answer_is_right:St,user_answer:Ct}={}}=Ut,dn=typeof An!="undefined"?An:!(St!==void 0),Hn=jn=>{kt(jn)};return(0,Se.useEffect)(()=>{if(Ct){const br=Ct==null?void 0:Ct.map(or=>Ke(Xe({},or),{exercise_choice_id:or==null?void 0:or.choice_id,value:or.answer_text}));Xt(br),An===!0&&Hn(br);return}if(Tt){Xt(Tt);return}const jn=Dn==null?void 0:Dn.map(br=>Ke(Xe({},br),{exercise_choice_id:br.position,answer_text:"",score:""}));Xt(jn)},[]),We.createElement("div",{className:y.question},We.createElement(x.Z,{className:z()(y.title,y.md),value:`${Mn}\u3001`+yn}),dn&&We.createElement("div",{className:y.boxHead},We.createElement("div",{style:{color:"#FA6400"}},We.createElement("i",{className:"iconfont icon-tishi9 font14 mr8"}),"\u6CE8\u610F\uFF1A\u586B\u5199\u7B54\u6848\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u5426\u5219\u65E0\u6CD5\u5F97\u5206"),We.createElement(Je,{className:y.btn,data:Ut,onFinish:Cn,userAnswer:en,identifier:tn})),We.createElement("div",{style:{border:"1px solid #dcdcdc"},className:"mb20 p20 c-black"},We.createElement(x.Z,{disabledFill:!dn,programFillValue:en,showProgramFill:!0,onFillChange:(jn,br)=>{var or;en[Number(br)].answer_text=(or=jn[Number(br)])==null?void 0:or.value,Xt([...en]),Hn(en)},value:ve.Base64.decode(Tn||"")})),!dn&&We.createElement(Le,{data:Ut}))},rt=({data:An={},value:Cn,onChange:Ut})=>{const[Tt,kt]=(0,Se.useState)([]),[en,Xt]=(0,Se.useState)([]),{question_title:Tn,q_position:tn,commit_wrong_question:yn,sub_exercise_questions:Mn}=An,Dn=(St,Ct)=>{Tt[Ct]=St,kt([...Tt]),Ut(Tt)};return(0,Se.useEffect)(()=>{const St=Mn==null?void 0:Mn.map((Ct,Rt)=>{var dn;return Ke(Xe({},Ct),{q_position:`${tn}.${Rt+1}`,commit_wrong_question:(dn=yn==null?void 0:yn.sub_exercise_questions)==null?void 0:dn[Rt]})});Xt(St)},[]),(0,Se.useEffect)(()=>{if(Cn){kt(Cn);return}const St=Array(Mn==null?void 0:Mn.length).fill(void 0);kt(St)},[]),We.createElement("div",{className:y.question},We.createElement(x.Z,{className:z()(y.title,y.md),value:`${tn}\u3001`+Tn}),We.createElement("div",{className:"flex flex-col gap-20px"},en==null?void 0:en.map((St,Ct)=>{const Rt=Tt[Ct];return We.createElement(Se.Fragment,{key:Ct},(St==null?void 0:St.question_type)===0&&We.createElement(Ve,{value:Rt,data:St,onChange:dn=>Dn(dn,Ct)}),(St==null?void 0:St.question_type)===1&&We.createElement($e,{value:Rt,data:St,onChange:dn=>Dn(dn,Ct)}),(St==null?void 0:St.question_type)===2&&We.createElement(ze,{value:Rt,data:St,onChange:dn=>Dn(dn,Ct)}),(St==null?void 0:St.question_type)===3&&We.createElement(Te,{value:Rt,data:St,onChange:dn=>Dn(dn,Ct)}),(St==null?void 0:St.question_type)===4&&We.createElement(Oe,{value:Rt,data:St,onChange:dn=>Dn(dn,Ct)}))})))};var mt=de(46303),dt={question:"question___QjGrh"},nt=(An,Cn,Ut)=>new Promise((Tt,kt)=>{var en=tn=>{try{Tn(Ut.next(tn))}catch(yn){kt(yn)}},Xt=tn=>{try{Tn(Ut.throw(tn))}catch(yn){kt(yn)}},Tn=tn=>tn.done?Tt(tn.value):Promise.resolve(tn.value).then(en,Xt);Tn((Ut=Ut.apply(An,Cn)).next())}),At=({visible:An,data:Cn,onClose:Ut,login:Tt})=>{const[kt,en]=(0,Se.useState)(!1),[Xt,Tn]=(0,Se.useState)({});(0,Se.useEffect)(()=>{An&&tn()},[An]);const tn=()=>nt(void 0,null,function*(){var yn;en(!0);const Mn=yield(0,ue.ZP)(`/api/exercise_questions/${Cn==null?void 0:Cn.question_id}/origin_question_infos.json`,{method:"get",params:{login:Tt}});if((Mn==null?void 0:Mn.status)===0){const Dn=((yn=Be([Mn==null?void 0:Mn.data]))==null?void 0:yn[0])||{};Tn(Dn)}en(!1)});return Se.createElement(xe.default,{centered:!0,destroyOnClose:!0,onCancel:Ut,open:An,title:"\u539F\u9898",footer:null,bodyStyle:{paddingBottom:25,overflow:"hidden"},width:1e3},Se.createElement(mt.Z,{loading:kt},Se.createElement("div",{className:dt.question},(Xt==null?void 0:Xt.question_type)===0&&Se.createElement(Ve,{data:Xt}),(Xt==null?void 0:Xt.question_type)===1&&Se.createElement($e,{data:Xt}),(Xt==null?void 0:Xt.question_type)===2&&Se.createElement(ze,{data:Xt}),(Xt==null?void 0:Xt.question_type)===3&&Se.createElement(Te,{data:Xt}),(Xt==null?void 0:Xt.question_type)===4&&Se.createElement(Oe,{data:Xt}),(Xt==null?void 0:Xt.question_type)===6&&Se.createElement(Ne,{data:Xt}),(Xt==null?void 0:Xt.question_type)===7&&Se.createElement(rt,{data:Xt}),(Xt==null?void 0:Xt.question_type)===8&&Se.createElement(Ge,{data:Xt}))))},Nt={question:"question___yvmNV"},at=(An,Cn,Ut)=>new Promise((Tt,kt)=>{var en=tn=>{try{Tn(Ut.next(tn))}catch(yn){kt(yn)}},Xt=tn=>{try{Tn(Ut.throw(tn))}catch(yn){kt(yn)}},Tn=tn=>tn.done?Tt(tn.value):Promise.resolve(tn.value).then(en,Xt);Tn((Ut=Ut.apply(An,Cn)).next())}),lt=({visible:An,data:Cn,onClose:Ut,login:Tt})=>{const[kt,en]=(0,Se.useState)(!1),[Xt,Tn]=(0,Se.useState)([]);(0,Se.useEffect)(()=>{An&&tn()},[An]);const tn=()=>at(void 0,null,function*(){var yn;en(!0);const Mn=yield(0,ue.ZP)(`/api/exercise_questions/${Cn==null?void 0:Cn.question_id}/doing_wrong_question_records.json`,{method:"get",params:{login:Tt}});(Mn==null?void 0:Mn.status)===0&&Tn(Be(((yn=Mn==null?void 0:Mn.data)==null?void 0:yn.list)||[])),en(!1)});return Se.createElement(xe.default,{centered:!0,destroyOnClose:!0,onCancel:Ut,open:An,title:"\u505A\u9898\u8BB0\u5F55",footer:null,bodyStyle:{paddingBottom:25,overflow:"hidden"},width:1e3},Se.createElement(mt.Z,{loading:kt},Se.createElement("div",{className:Nt.question},Xt.map((yn,Mn)=>{var Dn,St;return Se.createElement(Se.Fragment,{key:yn==null?void 0:yn.question_id},(yn==null?void 0:yn.question_type)===0&&Se.createElement(Ve,{data:yn}),(yn==null?void 0:yn.question_type)===1&&Se.createElement($e,{data:yn}),(yn==null?void 0:yn.question_type)===2&&Se.createElement(ze,{data:yn}),(yn==null?void 0:yn.question_type)===3&&Se.createElement(Te,{data:yn}),(yn==null?void 0:yn.question_type)===4&&Se.createElement(Oe,{data:yn}),(yn==null?void 0:yn.question_type)===6&&Se.createElement(Ne,{data:yn}),(yn==null?void 0:yn.question_type)===7&&Se.createElement(rt,{data:yn}),(yn==null?void 0:yn.question_type)===8&&Se.createElement(Ge,{data:yn}),Se.createElement(fe.Z,{align:"middle",justify:"space-between"},Se.createElement("div",{className:"c-grey-666"},"\u7B54\u9898\u7ED3\u679C\xA0\xA0",(Dn=yn==null?void 0:yn.user_answer_infos)!=null&&Dn.user_answer_is_right?Se.createElement("span",{style:{color:"#19CB70"}},"\u7B54\u5BF9\u4E86"):Se.createElement("span",{style:{color:"#E30000"}},"\u7B54\u9519\u4E86")),Se.createElement("div",{className:"c-grey-666"},"\u63D0\u4EA4\u65F6\u95F4\xA0\xA0",Se.createElement("span",{className:"c-black"}),Pe()((St=yn==null?void 0:yn.user_answer_infos)==null?void 0:St.user_answer_time).format("YYYY-MM-DD HH:mm:ss"))),Mn<Xt.length-1&&Se.createElement("div",{style:{height:1,background:"#F6F7F9"}}))}))))},it=de(67294),bt=Object.defineProperty,wt=Object.defineProperties,Dt=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,Pn=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,Nn=(An,Cn,Ut)=>Cn in An?bt(An,Cn,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):An[Cn]=Ut,On=(An,Cn)=>{for(var Ut in Cn||(Cn={}))Pn.call(Cn,Ut)&&Nn(An,Ut,Cn[Ut]);if(Kt)for(var Ut of Kt(Cn))wn.call(Cn,Ut)&&Nn(An,Ut,Cn[Ut]);return An},qn=(An,Cn)=>wt(An,Dt(Cn)),rr=(An,Cn)=>{var Ut={};for(var Tt in An)Pn.call(An,Tt)&&Cn.indexOf(Tt)<0&&(Ut[Tt]=An[Tt]);if(An!=null&&Kt)for(var Tt of Kt(An))Cn.indexOf(Tt)<0&&wn.call(An,Tt)&&(Ut[Tt]=An[Tt]);return Ut},pr=(An,Cn,Ut)=>new Promise((Tt,kt)=>{var en=tn=>{try{Tn(Ut.next(tn))}catch(yn){kt(yn)}},Xt=tn=>{try{Tn(Ut.throw(tn))}catch(yn){kt(yn)}},Tn=tn=>tn.done?Tt(tn.value):Promise.resolve(tn.value).then(en,Xt);Tn((Ut=Ut.apply(An,Cn)).next())}),Vr=({})=>{var An,Cn,Ut,Tt,kt,en,Xt,Tn,tn,yn,Mn;const Dn=(0,se.useDispatch)(),St=(0,se.useParams)(),[Ct,Rt]=(0,Se.useState)(!0),[dn,Hn]=(0,Se.useState)(0),[jn,br]=(0,Se.useState)({}),[or,wr]=(0,Se.useState)(null),[Sr,co]=(0,Se.useState)([]),[bn,Lr]=(0,Se.useState)(null),[jt,mn]=(0,Se.useState)(null),[cn,vn]=(0,Se.useState)(0),[Wn,gn]=(0,Se.useState)(null),[Qt,xn]=(0,Se.useState)(!1),[Cr,gr]=(0,Se.useState)(null),[Rr,kr]=(0,Se.useState)(!1),ho=["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341"];(0,Se.useEffect)(()=>(Dn({type:"globalSetting/headerFooterToggle",payload:!1}),()=>{Dn({type:"globalSetting/headerFooterToggle",payload:!0})}),[]),(0,Se.useEffect)(()=>{ao()},[]),(0,Se.useEffect)(()=>{or&&eo(or)},[or]);const ao=(xr="")=>pr(void 0,null,function*(){var cr,Fr,Qr,Xr,It,Ot,qt,Sn,In,an,Pr,Or,Zr,ro;Rt(!0);const Wr=yield(0,ue.ZP)("/api/intelligent_imports/ai_push.json",{method:"post",body:{exercise_id:St==null?void 0:St.categoryId,login:St==null?void 0:St.login,scene_type:11,exercise_question_id:xr}});if((Wr==null?void 0:Wr.status)!==0)return Wr;const po=(cr=Wr==null?void 0:Wr.data)==null?void 0:cr.ai_question_record_id;let ar;do if(ar=yield(0,ue.ZP)("/api/intelligent_imports/get_ai_question_record.json",{method:"get",params:{ai_question_record_id:po}}),((Fr=ar==null?void 0:ar.data)==null?void 0:Fr.status)===1){console.log("\u64CD\u4F5C\u6210\u529F"),gr([(Xr=(Qr=ar==null?void 0:ar.data)==null?void 0:Qr.progress)==null?void 0:Xr.current_success_count,(Ot=(It=ar==null?void 0:ar.data)==null?void 0:It.progress)==null?void 0:Ot.total]);break}else if(((qt=ar==null?void 0:ar.data)==null?void 0:qt.status)===0)xr||xn(!0),kr(!0),gr([(In=(Sn=ar==null?void 0:ar.data)==null?void 0:Sn.progress)==null?void 0:In.current_success_count,(Pr=(an=ar==null?void 0:ar.data)==null?void 0:an.progress)==null?void 0:Pr.total]),console.log("\u8BC6\u522B\u4E2D\uFF0C\u7EE7\u7EED\u8F6E\u8BE2..."),yield new Promise(_t=>setTimeout(_t,2e3));else{console.log("\u72B6\u6001\u5F02\u5E38");break}while(((Or=ar==null?void 0:ar.data)==null?void 0:Or.status)===0);xr?(bn[jt-1]=void 0,Lr([...bn]),eo(or)):wr((ro=(Zr=ar==null?void 0:ar.data)==null?void 0:Zr.content)==null?void 0:ro.exercise_id),kr(!1)}),eo=xr=>pr(void 0,null,function*(){var cr;Rt(!0);const Fr=yield(0,ue.ZP)(`/api/exercises/${xr}/simulate_start_answer.json`,{method:"get"});if((Fr==null?void 0:Fr.status)===0){const[Qr,Xr,It]=[[],[],[],[]];(cr=Fr==null?void 0:Fr.exercise_question_types)==null||cr.forEach((Ot,qt)=>{Xr.push(!0);const Sn=Ot,{items:In}=Sn,an=rr(Sn,["items"]);In==null||In.forEach((Pr,Or)=>{Qr.push(void 0),It.push(qn(On({},Pr),{index:qt,clickIndex:Pr.q_position,q_position:Or+1,titleParams:an}))})}),br(Fr),gn(Wn||Xr),Lr(bn||Qr),co(It),mn(jt||1),vn(cn+1),xn(!1)}Rt(!1)}),Fn=xr=>{bn[jt-1]=xr,Lr([...bn])},io=()=>pr(void 0,null,function*(){var xr;const{question_id:cr,question_type:Fr,sub_exercise_questions:Qr}=Bn,Xr={};if([0,1,2].includes(Fr)&&(Xr.exercise_choice_id=fr),[3,8].includes(Fr)&&(Xr.user_exercise_answers=fr),[4].includes(Fr)&&(Xr.answer_text=fr),[7].includes(Fr)){const Ot=Qr==null?void 0:Qr.map((qt,Sn)=>{const In={sub_question_id:qt==null?void 0:qt.question_id};return[0,1,2].includes(qt.question_type)&&(In.exercise_choice_id=fr[Sn]),[3].includes(qt.question_type)&&(In.user_exercise_answers=fr[Sn]),[4].includes(qt.question_type)&&(In.answer_text=fr[Sn]),In});Xr.sub_questions=Ot}Rt(!0);const It=yield(0,ue.ZP)(`/api/exercise_questions/${cr}/exercise_answers/commit_wrong_question.json`,{method:"post",body:Xr});if((It==null?void 0:It.status)===0){let Ot=Sr[jt-1];const qt=(It==null?void 0:It.data)||{},{sub_exercise_questions:Sn}=qt,In=rr(qt,["sub_exercise_questions"]);Ot=qn(On({},Ot),{has_doing_question_records:!0,commit_wrong_question:In}),[8].includes(Fr)&&(Ot.sub_exercise_questions=(xr=Ot==null?void 0:Ot.sub_exercise_questions)==null?void 0:xr.map((an,Pr)=>qn(On({},an),{commit_wrong_question:Sn[Pr]}))),Sr[jt-1]=Ot,co([...Sr])}Rt(!1)}),jo=()=>{var xr;const cr=Sr.length-((xr=Sr.filter(Fr=>{var Qr;return(Qr=Fr==null?void 0:Fr.commit_wrong_question)==null?void 0:Qr.user_answer_is_right}))==null?void 0:xr.length);if(cr===0){se.history.push(`/classrooms/${St.coursesId}/exercise/${St.categoryId}/detail`);return}xe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:it.createElement("span",null,"\u5171 ",it.createElement("span",{className:"c-light-primary"},Sr.length)," \u9053\u9898\uFF0C\u5F53\u524D\u8FD8\u6709 ",it.createElement("span",{style:{color:"#FF9D18"}},cr)," \u9053\u9898\u672A\u5DE9\u56FA\u3002\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F"),onOk:()=>{se.history.push(`/classrooms/${St.coursesId}/exercise/${St.categoryId}/detail`)}})},$n=(0,Se.useMemo)(()=>{const xr=[],cr=new Map;return Sr.forEach(Fr=>{const{question_type:Qr,name:Xr}=Fr.titleParams;cr.has(Qr)||cr.set(Qr,{question_type:Qr,name:Xr,items:[]}),cr.get(Qr).items.push(Fr)}),cr.forEach(Fr=>{xr.push(Fr)}),xr},[Sr]),Bn=Sr[jt-1]||{},fr=bn==null?void 0:bn[jt-1],nr=()=>{const{question_type:xr}=Bn;let cr=!0;return[0,2,4].includes(xr)&&(fr||(cr=!1)),[1].includes(xr)&&(!fr||(fr==null?void 0:fr.length)===0)&&(cr=!1),[3].includes(xr)&&(!fr||fr!=null&&fr.some(Fr=>!Fr.answer_text))&&(cr=!1),[6,8].includes(xr)&&(cr=!1),cr};return it.createElement(E.Z,{spinning:Ct},it.createElement("div",{className:ie.wrap,style:Qt?{opacity:0}:{}},it.createElement("div",{className:ie.head},it.createElement("b",{className:"c-grey-333 font20"},((An=jn==null?void 0:jn.exercise)==null?void 0:An.exercise_name)||"--"),it.createElement(he.ZP,{onClick:jo,icon:it.createElement("i",{className:"iconfont icon-tuichu2"})},"\u9000\u51FA")),it.createElement("div",{className:ie.content},it.createElement("div",{className:ie.left},it.createElement("aside",{className:"p20 bg-white c-grey-666"},it.createElement("div",null,"\u59D3\u540D",it.createElement("b",{className:"ml10 c-grey-333"},((Cn=jn==null?void 0:jn.exercise)==null?void 0:Cn.user_name)||"--")),it.createElement("div",{className:"mt8"},"\u5B66\u53F7",it.createElement("b",{className:"ml10 c-grey-333"},((Ut=jn==null?void 0:jn.exercise)==null?void 0:Ut.student_id)||"--"))),it.createElement("aside",{className:ie.answerInfo},it.createElement(fe.Z,{justify:"space-between"},it.createElement("div",null,"\u5DE9\u56FA\u8FDB\u5EA6"),it.createElement("b",null,it.createElement("span",{className:"c-light-primary"},(Tt=Sr==null?void 0:Sr.filter(xr=>{var cr;return!!((cr=xr==null?void 0:xr.commit_wrong_question)!=null&&cr.user_answer_is_right)}))==null?void 0:Tt.length),it.createElement("span",{className:"c-grey-999"},"/",Sr.length))),it.createElement(le.Z,{percent:((kt=Sr==null?void 0:Sr.filter(xr=>{var cr;return!!((cr=xr==null?void 0:xr.commit_wrong_question)!=null&&cr.user_answer_is_right)}))==null?void 0:kt.length)/Sr.length*100,showInfo:!1}),it.createElement("div",{className:"c-grey-333"},"\u5171",it.createElement("span",{className:"c-light-primary ml5 mr5"},Sr.length),"\u9898")),it.createElement(fe.Z,{className:ie.dottedLineWrapper,align:"middle"},it.createElement(re.Z,{className:ie.leftHalfCircle}),it.createElement(re.Z,{flex:1,className:ie.dottedLine}),it.createElement(re.Z,{className:ie.rightHalfCircle})),it.createElement("aside",{className:ie.card},$n.map((xr,cr)=>{var Fr;return it.createElement(Se.Fragment,{key:xr==null?void 0:xr.question_type},it.createElement("div",{onClick:()=>gn(Wn.with(cr,!Wn[cr])),className:ie.cardTitle},Wn[cr]?it.createElement(ae.Z,{rev:""}):it.createElement(oe.Z,{rev:""}),it.createElement("span",{className:"ml5 c-grey-666"},xr.name)),Wn[cr]&&it.createElement("div",{className:ie.cardContent},(Fr=xr==null?void 0:xr.items)==null?void 0:Fr.map((Qr,Xr)=>{var It;const Ot=(It=Qr==null?void 0:Qr.commit_wrong_question)==null?void 0:It.doing_question_status;let qt="unanswered";return Ot===0&&(qt="wrong"),Ot===1&&(qt="correct"),Ot===2&&(qt="partialCorrect"),it.createElement("div",{onClick:()=>mn(Qr==null?void 0:Qr.clickIndex),className:ie[qt],key:Qr==null?void 0:Qr.clickIndex},Xr+1)})))})),it.createElement("div",{className:ie.cardTag},it.createElement("div",null,it.createElement("b",{className:ie.correct}),"\u6B63\u786E"),it.createElement("div",null,it.createElement("b",{className:ie.wrong}),"\u9519\u8BEF"),it.createElement("div",null,it.createElement("b",{className:ie.partialCorrect}),"\u90E8\u5206\u6B63\u786E"),it.createElement("div",null,it.createElement("b",{className:ie.unanswered}),"\u672A\u7B54"))),it.createElement("div",{className:ie.right},it.createElement("div",{className:ie.overall},it.createElement("b",{className:"c-black"},ho[Bn==null?void 0:Bn.index],"\u3001\u3010",(en=Bn==null?void 0:Bn.titleParams)==null?void 0:en.name,"\u3011"),it.createElement("span",{style:{marginRight:"auto"},className:"c-grey-666"},"\uFF08\u5171",(Xt=Bn==null?void 0:Bn.titleParams)==null?void 0:Xt.count,"\u9898\uFF09"),(Bn==null?void 0:Bn.has_doing_question_records)&&it.createElement("div",{onClick:()=>Hn(2),className:"current c-light-primary mr20"},it.createElement("i",{className:"iconfont icon-lishijilu font14 mr5"}),"\u505A\u9898\u8BB0\u5F55"),it.createElement("div",{onClick:()=>Hn(1),className:"current c-light-primary"},it.createElement("i",{className:"iconfont icon-chakan3 font14 mr5"}),"\u67E5\u770B\u539F\u9898")),((Tn=Bn==null?void 0:Bn.commit_wrong_question)==null?void 0:Tn.user_answer_is_right)===!0&&it.createElement("div",{className:ie.tipCorrect},"\u606D\u559C\u4F60\u5DF2\u7ECF\u638C\u63E1\u8BE5\u8BD5\u9898\u8003\u5BDF\u7684\u77E5\u8BC6\u70B9\uFF01\u4EE5\u540E\u9047\u5230\u540C\u7C7B\u8BD5\u9898\u8BB0\u5F97\u7075\u6D3B\u8FD0\u7528~"),((tn=Bn==null?void 0:Bn.commit_wrong_question)==null?void 0:tn.user_answer_is_right)===!1&&it.createElement("div",{className:ie.tipWrong},it.createElement("span",null,"\u8BE5\u8BD5\u9898\u8003\u5BDF\u7684\u77E5\u8BC6\u70B9\u4F60\u8FD8\u672A\u638C\u63E1\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u5927\u6A21\u578B\u7EE7\u7EED\u51FA\u9898\u8FDB\u884C\u5DE9\u56FA"),it.createElement("div",{onClick:()=>ao(Bn==null?void 0:Bn.question_id)},"\u7EE7\u7EED\u51FA\u9898")),it.createElement("div",{className:ie.question,key:jt+cn},(Bn==null?void 0:Bn.question_type)===0&&it.createElement(Ve,{value:fr,data:Bn,onChange:Fn}),(Bn==null?void 0:Bn.question_type)===1&&it.createElement($e,{value:fr,data:Bn,onChange:Fn}),(Bn==null?void 0:Bn.question_type)===2&&it.createElement(ze,{value:fr,data:Bn,onChange:Fn}),(Bn==null?void 0:Bn.question_type)===3&&it.createElement(Te,{value:fr,data:Bn,onChange:Fn}),(Bn==null?void 0:Bn.question_type)===4&&it.createElement(Oe,{value:fr,data:Bn,onChange:Fn}),(Bn==null?void 0:Bn.question_type)===6&&it.createElement(Ne,{showEntryAnswer:((yn=Bn==null?void 0:Bn.commit_wrong_question)==null?void 0:yn.user_answer_is_right)!==!0,updateData:io,examPaperId:or,params:St,data:Bn}),(Bn==null?void 0:Bn.question_type)===7&&it.createElement(rt,{value:fr,data:Bn,onChange:Fn}),(Bn==null?void 0:Bn.question_type)===8&&it.createElement(Ge,{showEntryAnswer:((Mn=Bn==null?void 0:Bn.commit_wrong_question)==null?void 0:Mn.user_answer_is_right)!==!0,updateData:io,value:fr,data:Bn,onChange:Fn})),it.createElement("div",{className:ie.btns},jt!==1&&it.createElement(he.ZP,{onClick:()=>mn(jt-1),type:"primary"},"\u4E0A\u4E00\u9898"),jt!==Sr.length&&it.createElement(he.ZP,{onClick:()=>mn(jt+1),type:"primary"},"\u4E0B\u4E00\u9898"),!(Bn!=null&&Bn.commit_wrong_question)&&nr()&&it.createElement(he.ZP,{onClick:io,type:"primary"},"\u786E\u8BA4"))))),it.createElement(At,{login:St==null?void 0:St.login,data:Bn,visible:dn===1,onClose:()=>Hn(0)}),it.createElement(lt,{login:St==null?void 0:St.login,data:Bn,visible:dn===2,onClose:()=>Hn(0)}),it.createElement(xe.default,{centered:!0,closable:!1,destroyOnClose:!0,open:Rr,title:null,footer:null,width:320,afterClose:()=>gr(null)},it.createElement(fe.Z,{align:"middle",style:{flexDirection:"column",paddingTop:20}},it.createElement(E.Z,{size:"large"}),it.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},"\u8BD5\u9898\u751F\u6210\u4E2D\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85"),!or&&it.createElement(fe.Z,{align:"middle",className:"mb10"},it.createElement(le.Z,{style:{width:"auto",marginBottom:0},size:[200,8],showInfo:!1,percent:Cr?Cr[0]/Cr[1]*100:0}),Cr&&it.createElement("span",null,Cr[0],"/",Cr[1])))))}},97917:function(Lt,gt,de){"use strict";var Se=de(67294),xe=de(55054),E=de(31795),he=de(22150),fe=de(14446),le=de(57953),re=de(9430),se=de(69677),ie=de(71230),ue=de(15746),ae=de(71577),oe=de(15835),ne=de(27484),ee=de.n(ne),a=de(35973),y=de(28706),x=de(53814),b=de(52262),z=de(9343),te=de(67294),ce=(pe,be,ye)=>new Promise((Ee,Pe)=>{var Ae=we=>{try{_e(ye.next(we))}catch(Re){Pe(Re)}},Ce=we=>{try{_e(ye.throw(we))}catch(Re){Pe(Re)}},_e=we=>we.done?Ee(we.value):Promise.resolve(we.value).then(Ae,Ce);_e((ye=ye.apply(pe,be)).next())});const{Countdown:ge}=xe.default,me=({value:pe,onChange:be,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:pe,onChange:be,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"})),ve=({exercise:pe,successCb:be,dispatch:ye})=>{var Ee,Pe,Ae,Ce;const _e=(0,a.useParams)(),[we]=he.default.useForm(),Re=he.default.useWatch("time",we),[De,ke]=(0,Se.useState)(!1),Ie=(0,Se.useRef)(),{actionTabs:qe}=pe,[Je,We]=(0,Se.useState)(),[,Qe,He,Fe]=(0,z.U)(oe.n7,{id:_e.categoryId}),[,je,et]=(0,z.U)(oe.Cd,{});(0,Se.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&(ke(!1),we.resetFields())},[pe.actionTabs.key]);const tt=()=>new Promise($e=>ce(void 0,null,function*(){var ze,Te;return Ie.current=yield(0,x.y)({ip_limit:(ze=qe==null?void 0:qe.exerciseParams)==null?void 0:ze.ip_limit,ip_bind:(Te=qe==null?void 0:qe.exerciseParams)==null?void 0:Te.ip_bind_type}),$e()})),st=()=>ce(void 0,null,function*(){var $e,ze,Te,Oe,Ne;yield we.validateFields();const Ge=we.getFieldsValue();if(ke(!0),((($e=qe==null?void 0:qe.exerciseParams)==null?void 0:$e.ip_limit)!=="no"||(ze=qe==null?void 0:qe.exerciseParams)!=null&&ze.ip_bind_type)&&(yield tt()),(yield(0,oe.ZD)((Te=qe==null?void 0:qe.exerciseParams)==null?void 0:Te.id,{exercise_user_id:(Oe=qe==null?void 0:qe.exerciseParams)==null?void 0:Oe.exercise_user_id,unlock_key:Ge.unlock_key,time:Ge.time,ip:Ie.current})).status===0){if(be){ye({type:"exercise/setActionTabs",payload:{}}),be();return}const mt=qe==null?void 0:qe.exerciseParams;(0,y.nr)({inner_ip:mt.inner_ip,public_ip:mt.public_ip,open_camera:mt.open_camera,ip_limit:mt.ip_limit,ip_bind:mt.ip_bind,ip_bind_type:mt.ip_bind_type,exercise_tips:mt.exercise_tips,exerciseId:mt.id,screen_open:mt.screen_open,screen_num:mt.screen_num,screen_sec:mt.screen_sec,coursesId:_e.coursesId,login:(Ne=(0,b.eY)())==null?void 0:Ne.login,history,identity_verify:mt.identity_verify,open_phone_video_recording:mt.open_phone_video_recording,current_status:mt.current_status}),ye({type:"exercise/setActionTabs",payload:{}})}ke(!1)}),Xe=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:$e=>te.createElement("span",{className:$e.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},$e)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:$e=>te.createElement("span",{className:$e.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},$e)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ke=((Ee=qe==null?void 0:qe.exerciseParams)==null?void 0:Ee.errorMessage)&&typeof((Pe=qe==null?void 0:qe.exerciseParams)==null?void 0:Pe.errorMessage)=="object";(0,Se.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&ce(void 0,null,function*(){const $e=yield et(_e);yield He({}),$e.status||We($e)})},[pe.actionTabs.key]);const{time:Me,end_time:Ye}=(Je==null?void 0:Je.exercise)||{},Le=Fe!=null&&Fe.user_end_time?ee()(Fe==null?void 0:Fe.user_end_time).add(1,"minutes"):ee()(),Be=ee()(Fe==null?void 0:Fe.user_total_end_time)>Le?Math.round(ee().duration(ee()(Fe==null?void 0:Fe.user_total_end_time).diff(Le.startOf("minute"))).asMinutes()):0,Ve=((Fe==null?void 0:Fe.student_left_minutes)||0)+(Re||0);return te.createElement(te.Fragment,null,te.createElement(fe.default,{width:514,centered:!0,closable:!!((Ae=qe==null?void 0:qe.exerciseParams)!=null&&Ae.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:pe.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ye({type:"exercise/setActionTabs",payload:{}})}},te.createElement(le.Z,{spinning:Qe||je},Ke&&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 "),!Ke&&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"),Ke&&te.createElement(re.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ce=qe==null?void 0:qe.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:Xe}),te.createElement("div",{className:""},te.createElement(he.default,{form:we,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(se.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Me!==-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()(Fe==null?void 0:Fe.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},te.createElement(me,{MaxMinutes:Be})),te.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},Qe||je?"--":Ve),"\u5206\u949F",Ve!==0&&(Fe==null?void 0:Fe.user_end_time)&&te.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},ee()(Fe==null?void 0:Fe.user_end_time).add(Re||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()(Ye).format("YYYY-MM-DD HH:mm")))),te.createElement(ie.Z,{justify:"space-between",align:"middle"},te.createElement(ue.Z,null),te.createElement(ue.Z,null,te.createElement(ae.ZP,{loading:De,onClick:st},"\u8FDB\u5165\u8003\u8BD5"))))))};gt.Z=(0,a.connect)(({exercise:pe})=>({exercise:pe}))(ve)},38365:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return a}});var Se=de(67294),xe=de(35973),E=de(14446),he=de(71577),fe=de(57953),le=de(88742),re=de(72971),se=de(36295),ie=de(19575),ue=de(27484),ae=de.n(ue),oe=de(94189),ne=de(67294),ee=(y,x,b)=>new Promise((z,te)=>{var ce=ve=>{try{me(b.next(ve))}catch(pe){te(pe)}},ge=ve=>{try{me(b.throw(ve))}catch(pe){te(pe)}},me=ve=>ve.done?z(ve.value):Promise.resolve(ve.value).then(ce,ge);me((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,z]=(0,Se.useState)(void 0);console.log((0,xe.useLocation)(),33);const te=(0,xe.useLocation)();(0,Se.useEffect)(()=>{y&&function(){return ee(this,null,function*(){const We=yield(0,le.X6)(y);z(We.data)})}()},[y]);const{status:ce,created_at:ge,code:me,name:ve,language:pe,pass_sets_count:be,set_count:ye,error_msg:Ee,output:Pe,input:Ae,expected_output:Ce,execute_memory:_e,user:we,execute_time:Re,input_file_url:De,output_file_url:ke,is_file:Ie,expected_output_file_url:qe}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(he.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(fe.Z,{spinning:!b,delay:500},ne.createElement("div",{className:"record-detail-info"},b?ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"record-detail-body"},ne.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),ne.createElement("ul",{className:"record-info"},ne.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",ne.createElement("span",{className:ce===0?"c-green":"c-red"},re.Im[ce])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,ae()(ge).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,pe)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,Re*1e3,"ms")," "),ne.createElement("li",null," ",`${ce===oe.h.HIDE_COMPILE_STATUS?"--":be} / ${ye} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,re.gZ)({status:ce,error_msg:Ee,execute_time:Re,output:Pe,input:Ae,expected_output:Ce,input_file_url:De,output_file_url:ke,is_file:Ie,expected_output_file_url:qe}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(se.ZP,{height:"200px",width:"100%",language:pe==null?void 0:pe.toLocaleLowerCase(),value:ie.Base64.decode(me),options:{readOnly:!0}}))):null)))}},86276:function(Lt,gt,de){"use strict";de.d(gt,{Im:function(){return ye},Y4:function(){return Pe}});var Se=de(67294),xe=de(69677),E=de(2453),he=de(71577),fe=de(96707),le=de(19575),re=de.n(le),se=de(11579),ie=de(7621),ue=de(85725),ae=de(28706),oe=de(12320),ne=de.n(oe),ee=de(33170),a=de(35973),y=de(38365),x=de(33054),b=de(88742),z=de(30546),te=de(91613),ce=de(94184),ge=de.n(ce),me=de(51959),ve=de(67294),pe=(_e,we,Re)=>new Promise((De,ke)=>{var Ie=We=>{try{Je(Re.next(We))}catch(Qe){ke(Qe)}},qe=We=>{try{Je(Re.throw(We))}catch(Qe){ke(Qe)}},Je=We=>We.done?De(We.value):Promise.resolve(We.value).then(Ie,qe);Je((Re=Re.apply(_e,we)).next())});const{TextArea:be}=xe.default,ye={[fe.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[fe.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[fe.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 Ee=(_e=>(_e[_e.SET_VISIBLE=0]="SET_VISIBLE",_e[_e.SET_TABINDEX=1]="SET_TABINDEX",_e))(Ee||{});function Pe(_e){const{status:we,error_msg:Re,output:De,input:ke,expected_output:Ie,is_file:qe,input_file_url:Je,output_file_url:We,expected_output_file_url:Qe,setMonacoValue:He,setData:Fe}=_e,je=(0,Se.useRef)(),et=(0,Se.useRef)(),tt=(0,Se.useRef)();let st=null;const Xe={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,Se.useEffect)(()=>{if(De&&!qe&&je.current){const Ke=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ke.open(je.current);const Me=(0,ae.pp)(le.Base64.decode(De));Ke.write(Me),Ke.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ke.scrollToTop()}catch(Ye){}},100)}if(ke&&!qe&&et.current){const Ke=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ke.open(et.current),Ke.write((0,ae.pp)(ke)),Ke.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ke.scrollToTop()}catch(Me){}},100)}if(Ie&&!qe&&tt.current){const Ke=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ke.open(tt.current),Ke.write((0,ae.pp)(le.Base64.decode(Ie))),Ke.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ke.scrollToTop()}catch(Me){}},100)}},[De]),we){case fe.h.NOMATCH:st=ve.createElement(ve.Fragment,null,ve.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!qe&&ve.createElement("div",{ref:je}),qe&&ve.createElement("div",{style:Xe},ve.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const Ke=yield(0,ee.ZP)(We,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});He(Ke),setTimeout(()=>{Fe(We)},200)})},De)),ve.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!qe&&ve.createElement("div",{ref:tt}),qe&&ve.createElement("div",{style:Xe},ve.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const Ke=yield fetch(Qe,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});He(yield Ke.text()),setTimeout(()=>{Fe(Qe)},200)})},Ie)));break;case fe.h.EXECUTEFAILURE:st=ve.createElement(ve.Fragment,null,ve.createElement("div",{style:{border:"1px #F6F7F9 solid"}},ve.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!qe&&ve.createElement(ue.Z,{value:ke,style:Xe}),qe&&ve.createElement("div",{style:Xe},ve.createElement("a",{onClick:()=>(0,ae.LR)(Je,ke)},ke))),ve.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},ve.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ve.createElement("pre",{className:se.Z.error,style:{color:"#E30000",padding:"0 10px"}},le.Base64.decode(Re),"111")));break;case fe.h.COMPILEFAILURE:st=ve.createElement(ve.Fragment,null,ve.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ve.createElement("pre",{className:se.Z.error},le.Base64.decode(Re)));break;case fe.h.PODFAILURE:st=ve.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case fe.h.TIMEOUT:st=ve.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ve.createElement(ve.Fragment,null," ",st," ")}function Ae(_e){const{status:we,error_msg:Re,execute_time:De,output:ke,input:Ie,expected_output:qe,is_file:Je,input_file_url:We,output_file_url:Qe,expected_output_file_url:He}=_e;let Fe=null;switch(we){case fe.h.OK:case fe.h.NOMATCH:case fe.h.EXECUTEFAILURE:case fe.h.COMPILEFAILURE:Fe=ve.createElement("div",{id:"outputResultRef",className:"h100"});break;case fe.h.PODFAILURE:Fe=ve.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case fe.h.TIMEOUT:Fe=ve.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ve.createElement(ve.Fragment,null," ",Fe," ")}function Ce({value:_e,className:we}){return ve.createElement("span",{className:we},_e)}gt.ZP=({input:_e,is_file:we,debuging:Re,submitting:De,executingMessage:ke,debugResult:Ie,onChangeInput:qe,onDebugCode:Je,onSubmitCode:We,hack:Qe,user:He,submitResult:Fe,isWhiteTheme:je,topDispatch:et})=>{const[tt]=(0,a.useSearchParams)(),st=(0,a.useParams)(),[Xe,Ke]=(0,Se.useState)(!1),[Me,Ye]=(0,Se.useState)(!1),[Le,Be]=(0,Se.useState)(1),[Ve,$e]=(0,Se.useState)(!1),[ze,Te]=(0,Se.useState)(0),[Oe,Ne]=(0,Se.useState)(!1),[Ge,rt]=(0,Se.useState)(""),[mt,dt]=(0,Se.useState)(""),nt=(0,Se.useRef)(),vt=(0,Se.useRef)(),At=(0,Se.useRef)(null),Nt=(0,Se.useRef)(null),at=(0,Se.useRef)(null);console.log(Fe,"submitResult",st);const{status:xt,id:lt,input:it,output:bt,expected_output:wt,is_file:Dt,input_file_url:Kt,output_file_url:Pn,expected_output_file_url:wn,error_msg:Nn,hack_sets:On}=Fe||{};(0,Se.useEffect)(()=>{xt===0&&(Be(1),Te(0))},[xt,lt]),(0,Se.useEffect)(()=>{pe(void 0,null,function*(){var kt;const en=yield(0,b.rX)(st==null?void 0:st.id,"submit");(en==null?void 0:en.status)===0&&(en!=null&&en.data&&((kt=en==null?void 0:en.data)==null?void 0:kt.status)!==0?(et({type:z.Types.SET_SUBMIT_RESULT,payload:{submitResult:en==null?void 0:en.data}}),Be(2),Te(320)):(Be(1),Te(0)))})},[st==null?void 0:st.id]),(0,Se.useEffect)(()=>{if(nt.current){let Tt=function(Dn){Tn=Xt.offsetHeight,tn=!0,yn=Dn.pageY,at.current.style.display="block"},kt=function(){tn=!1,at.current.style.display="none"},en=function(Dn){if(tn){qn();let St=yn-Dn.pageY,Ct=Tn+St;if(Ct<0&&(Ct=0),Ct>window.innerHeight-150&&(Ct=window.innerHeight-150),Le===1){Ct<=34?Te(0):Te(Ct);return}console.log(Ct,"resizeH"),Te(Ct)}};const Xt=At.current;let Tn=0,tn=!1,yn=0;const Mn=document.getElementById("case-y-bar");return Mn==null||Mn.addEventListener("mousedown",Tt),document.addEventListener("mousemove",en),document.addEventListener("mouseup",kt),()=>{const Dn=document.getElementById("case-y-bar");Dn==null||Dn.removeEventListener("mousedown",Tt),document.removeEventListener("mousemove",en),document.removeEventListener("mouseup",kt)}}},[nt,Le]),(0,Se.useEffect)(()=>{const Tt=x.Z.subscribe("resize-move-bar",qn);if(tt.get("type")!=="exercises")return document.addEventListener((0,me.gH)(),zr),()=>{document.removeEventListener((0,me.gH)(),zr),Tt()}},[]),(0,Se.useEffect)(()=>{});function qn(){var Tt,kt,en,Xt;const Tn=document.getElementById("outputResultRef");if(Tn){let tn=Tn.dataset.text;vt.current.reset(),vt.current.writeln(tn);const yn=document.getElementById("outputResultRef").offsetWidth-20,Mn=((Xt=(en=(kt=(Tt=vt.current)==null?void 0:Tt._core)==null?void 0:kt._renderService)==null?void 0:en.dimensions)==null?void 0:Xt.actualCellWidth)||10,Dn=Math.ceil(yn/Mn);vt.current.resize(Dn,Math.ceil(Tn.clientHeight/16))}}function rr(){Ke(!Xe),setTimeout(()=>{qn()},300),Te(Xe?320:window.innerHeight-150)}function pr(){Me?(Ye(!1),(0,me.BU)()):(Ye(!0),(0,me.Dj)(Nt.current))}const zr=Tt=>{(0,me.vp)()||Ye(!1)},Vr=(0,Se.useMemo)(()=>{if(Ie){const{status:Tt,output:kt,error_msg:en}=Ie;return setTimeout(()=>{let Xt="",Tn=document.getElementById("outputResultRef");kt?Xt=le.Base64.decode(kt):en&&(Xt=le.Base64.decode(en)),vt.current=new oe.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),vt.current.open(Tn),vt.current.onKey(function(tn){var yn;if(tn.domEvent.key.toLocaleUpperCase()==="C"&&tn.domEvent.ctrlKey){tn.domEvent.preventDefault();let Mn=(yn=vt.current)==null?void 0:yn.getSelection();navigator.clipboard.writeText(Mn).then(()=>{})}}),Tn.dataset.text=Xt,vt.current.setOption("convertEol",!0),qn()},300),ve.createElement(ve.Fragment,null,Ae(Ie))}return null},[Ie]);function An(){var Tt,kt;if(!(Qe!=null&&Qe.code)||((Tt=Qe==null?void 0:Qe.code)==null?void 0:Tt.trim().length)===0){(kt=E.ZP)==null||kt.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Be(1),Te(320),Je()}const Cn=Tt=>pe(void 0,null,function*(){let kt=yield(0,ee.ZP)(`/api/problems/${Tt}/start.json`,{method:"get",params:{hack_user_id:He==null?void 0:He.user_id}});kt&&(window.location.href=`/myproblems/${kt==null?void 0:kt.identifier}${window.location.search}`)});function Ut(){Dt?navigator.clipboard.writeText(le.Base64.decode(Nn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(le.Base64.decode(bt)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return ve.createElement(Se.Fragment,null,ve.createElement("div",{className:ge()(se.Z.case,je&&se.Z.whiteCase),style:{height:ze},ref:At},ve.createElement("div",{className:se.Z.fullMask,ref:at}),ve.createElement("div",{className:se.Z["resize-y-bar"],id:"case-y-bar",ref:nt,draggable:!1},Le===2&&ve.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Le===1&&(ze<=34?ve.createElement("div",{onClick:()=>{Te(320)},className:se.Z.unfoldBtn},"\u63A7\u5236\u53F0",ve.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):ve.createElement("div",{onClick:()=>{Te(0)},className:se.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",ve.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),ve.createElement("div",null,ve.createElement("div",{className:se.Z.caseHead},ve.createElement("div",{className:se.Z.dot}),ve.createElement("div",{className:se.Z.text},Le===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Le===2&&!De&&typeof xt=="number"&&ve.createElement(ve.Fragment,null,xt===fe.h.OK?ve.createElement("div",{className:se.Z.pass},ve.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):ve.createElement("div",{className:se.Z.noPass},ve.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ye[xt])),ve.createElement("div",{className:se.Z.btns},Le===2&&!De&&ve.createElement(ve.Fragment,null,xt!==fe.h.OK&&ve.createElement("div",{onClick:Ut},ve.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),ve.createElement("div",{onClick:()=>{Ne(lt)}},ve.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),tt.get("type")!=="exercises"&&ve.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>rr()},ve.createElement("i",{className:`iconfont icon-${Xe?"suoxiao1":"fangda"}`})))),ve.createElement("div",{style:{display:Le===1?"block":"none"}},Re?ve.createElement(ie.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):ve.createElement("div",{style:{height:ze-34}},ve.createElement("div",{className:se.Z.result},ve.createElement("div",{className:se.Z.left},ve.createElement("div",{className:se.Z.title},ve.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ve.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),ve.createElement("div",{className:se.Z.leftNode},ve.createElement(be,{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:we?"":_e,onChange:qe}))),ve.createElement("div",{className:se.Z.right},ve.createElement("div",{className:se.Z.title},ve.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ve.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),ve.createElement("div",{className:se.Z.node},Ie?Vr:ve.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")))))),ve.createElement("div",{style:{display:Le===2?"block":"none"}},De?ve.createElement(ie.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):ve.createElement("div",{style:{height:ze-34,display:"flex",flexDirection:"column",overflow:"hidden"}},ve.createElement("div",{ref:Nt,className:se.Z.elseNode},ve.createElement("div",{className:se.Z.nameWrap},ve.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ve.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),ve.createElement("div",{className:se.Z.scroll},ve.createElement("pre",{className:se.Z.scrollBox,style:Ve?{height:Me?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Dt&&ve.createElement(Ce,{value:it}),Dt&&ve.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Tt=yield fetch(Kt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});dt(yield Tt.text()),setTimeout(()=>{rt(Kt)},200)})},it)),it&&ve.createElement("div",{className:se.Z.action},ve.createElement("span",{onClick:()=>$e(!Ve)},Ve?"\u6536\u8D77":"\u5C55\u5F00"),tt.get("type")!=="exercises"&&ve.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>pr(),className:`iconfont icon-${Me?"suoxiao1":"fangda"}`})))),ve.createElement("div",{className:se.Z.result,style:{flex:1,overflow:"hidden"}},ve.createElement("div",{className:se.Z.left},ve.createElement("div",{className:se.Z.title},ve.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ve.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),ve.createElement("div",{className:se.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},ve.createElement("pre",null,!Dt&&ve.createElement(Ce,{className:"mb10",value:wt&&le.Base64.decode(wt)||""}),Dt&&ve.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Tt=yield fetch(wn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});dt(yield Tt.text()),setTimeout(()=>{rt(wn)},200)})},wt)))),ve.createElement("div",{className:se.Z.right},ve.createElement("div",{className:se.Z.title},ve.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ve.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),ve.createElement("div",{className:se.Z.node,style:{color:xt===fe.h.OK?"#2ABD8C":"#FF2C29"}},ve.createElement("pre",null,(xt===4||xt===5)&&ve.createElement(Ce,{className:"mb10",value:Nn&&le.Base64.decode(Nn)||""}),xt!=4&&xt!=5&&(Dt?ve.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Tt=yield(0,ee.ZP)(Pn,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{dt(Tt)}catch(kt){dt("")}setTimeout(()=>{rt(Pn)},200)})},bt):ve.createElement(Ce,{className:"mb10",value:bt&&le.Base64.decode(bt)||""})))))))))),ve.createElement("div",{className:ge()(se.Z.footer,je&&se.Z.whiteFooter),style:{zIndex:100}},(Qe==null?void 0:Qe.is_program)&&(Qe==null?void 0:Qe.above_question)&&ve.createElement(he.ZP,{className:"mr10",type:"primary",onClick:()=>Cn(Qe==null?void 0:Qe.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Qe==null?void 0:Qe.is_program)&&(Qe==null?void 0:Qe.under_question)&&ve.createElement(he.ZP,{className:"mr10",type:"primary",onClick:()=>Cn(Qe==null?void 0:Qe.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),ve.createElement(he.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Re||De,loading:Re,color:"#2ABD8C",className:"mr10",onClick:An},"\u8C03\u8BD5\u4EE3\u7801"),tt.get("qtype")!=="8"&&ve.createElement(he.ZP,{className:se.Z.disabled,type:"primary",icon:ve.createElement("i",{className:"iconfont icon-bofang1"}),loading:De,disabled:Re||De,onClick:()=>{var Tt,kt;if(!(Qe!=null&&Qe.code)||((Tt=Qe==null?void 0:Qe.code)==null?void 0:Tt.trim().length)===0){(kt=E.ZP)==null||kt.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Be(2),Te(320),We()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),ve.createElement(y.Z,{onClose:Ne,open:Oe}),ve.createElement(te.Z,{close:!0,data:Ge,type:Ge.length?"txt":"",onClose:()=>rt(""),monacoEditor:{value:mt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},30546:function(Lt,gt,de){"use strict";de.r(gt),de.d(gt,{Types:function(){return Un},default:function(){return Kn}});var Se=de(67294),xe=de(35973),E=de(55054),he=de(14446),fe=de(57953),le=de(71577),re=de(83062),se=de(71230),ie=de(88742),ue=de(15835),ae=de(51959),oe=de(60076),ne=de(11320),ee=de(55304),a=de(72565),y=de(36295),x=de(76621),b=de(40471),z=de(21434),te=de(2453),ce={list:"list___IRN6i",copy:"copy___qCn9B"},ge=de(74855),me=de(33170),ve=(Et,Gt,rn)=>new Promise((Xn,_n)=>{var on=Jt=>{try{$t(rn.next(Jt))}catch(Ln){_n(Ln)}},Yt=Jt=>{try{$t(rn.throw(Jt))}catch(Ln){_n(Ln)}},$t=Jt=>Jt.done?Xn(Jt.value):Promise.resolve(Jt.value).then(on,Yt);$t((rn=rn.apply(Et,Gt)).next())}),be=({showResourceCentre:Et,identifier:Gt})=>{const rn=(0,xe.useParams)(),[Xn,_n]=(0,Se.useState)(null);(0,Se.useEffect)(()=>{Et&&on()},[Et]);const on=()=>ve(void 0,null,function*(){const Yt=yield(0,me.ZP)(`/api/problems/${Gt}/attachment_list.json`,{method:"get"});(Yt==null?void 0:Yt.status)==0&&_n(Yt.data||[])});return Se.createElement("div",{className:"tpi-code-setting"},Se.createElement("h3",null,"\u8D44\u6E90\u4E2D\u5FC3"),!(Xn!=null&&Xn.length)&&Se.createElement("div",{className:"tc mt50 c-grey-999"},"\u6682\u65E0\u8D44\u6E90\u6570\u636E"),Xn==null?void 0:Xn.map((Yt,$t)=>Se.createElement("dl",{className:ce.list,key:$t},Se.createElement(re.Z,{title:Yt.title},Se.createElement("dt",null,Se.createElement("i",{className:"icon-wenjian4 mr5"}),Yt.title)),Se.createElement("dd",null,Se.createElement(ge.CopyToClipboard,{text:Yt.saved_file_path,onCopy:()=>te.ZP.success("\u590D\u5236\u6210\u529F")},Se.createElement("span",{className:`${ce.copy} current`},"\u70B9\u51FB\u590D\u5236"))))))},ye=de(67294),Ee=Object.defineProperty,Pe=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Re=(Et,Gt,rn)=>Gt in Et?Ee(Et,Gt,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Et[Gt]=rn,De=(Et,Gt)=>{for(var rn in Gt||(Gt={}))_e.call(Gt,rn)&&Re(Et,rn,Gt[rn]);if(Ce)for(var rn of Ce(Gt))we.call(Gt,rn)&&Re(Et,rn,Gt[rn]);return Et},ke=(Et,Gt)=>Pe(Et,Ae(Gt));const Ie={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0),showResourceCentre:!1};var qe=(Et=>(Et[Et.set_font_size=0]="set_font_size",Et[Et.set_theme=1]="set_theme",Et[Et.on_tab_to_space=2]="on_tab_to_space",Et[Et.set_show_editor_setting=3]="set_show_editor_setting",Et[Et.set_show_respurce_center=4]="set_show_respurce_center",Et))(qe||{});function Je(Et,Gt){switch(Gt.type){case 3:return ke(De({},Et),{showEditorSetting:Gt.payload});case 1:return ke(De({},Et),{theme:Gt.payload});case 0:return ke(De({},Et),{fontSize:Gt.payload});case 2:return ke(De({},Et),{tabToSpace:Gt.payload});case 4:return ke(De({},Et),{showResourceCentre:Gt.payload});default:throw new Error}}var We=({isLoading:Et,value:Gt,onChange:rn,language:Xn,onUpdateCode:_n,ActionBarRender:on,setIsWhiteTheme:Yt,identifier:$t})=>{const[Jt,Ln]=(0,Se.useReducer)(Je,Ie),{theme:ut,fontSize:ct,showEditorSetting:pt,tabToSpace:Mt,showResourceCentre:Ft}=Jt,Ht=(0,Se.useRef)(),pn=(0,Se.useRef)();(0,Se.useEffect)(()=>{Yt(ut==="vs")},[ut]);const Rn={onFontSizeChange:er=>{Ln({type:0,payload:er}),(0,b.t)("cmFontSize",er)},tabToSpace:Mt,cmFontSize:ct,className:"oj",cmCodeMode:ut,onTabToSpace:er=>{Ln({type:2,payload:er}),(0,b.t)("cmTabToSpace",er)},onCodeModeChange:er=>{Ln({type:1,payload:er}),(0,b.t)("ProgrammingCodeMode",er)}};function Vn(){Ln({type:3,payload:!1})}function Qn(){Ln({type:3,payload:!0})}function Yn(){Ln({type:4,payload:!1})}function tr(){Ln({type:4,payload:!0})}const Jn={value:Gt,language:Xn,theme:ut,options:{fontSize:ct,insertSpaces:Mt},onChange:er=>{rn(er),pn.current=er,clearTimeout(Ht.current),Ht.current=setTimeout(()=>{_n(pn.current)},1e4)},onEditBlur:er=>{pn.current&&_n(pn.current)}};return ye.createElement(Se.Fragment,null,on(Qn,tr),ye.createElement("div",{style:{flex:1,overflow:"hidden"}},!Et&&ye.createElement(y.ZP,De({},Jn))),ye.createElement(x.Z,null,ye.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:pt,onClose:Vn},ye.createElement(z.Z,De({},Rn)))),ye.createElement(x.Z,null,ye.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Ft,onClose:Yn},ye.createElement(be,{showResourceCentre:Ft,identifier:$t}))))},Qe=de(60141),He=de(19575),Fe=de(86276),je={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"},et={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},tt=de(9430),st=de(28452),Xe=de(3407),Ke=de(38365),Me=de(27484),Ye=de.n(Me),Le=de(67294);const{Column:Be}=tt.default;var Ve=({submitResult:Et,submitting:Gt,submitRecords:rn,page:Xn,onPageChange:_n,topicId:on})=>{const[Yt]=(0,xe.useSearchParams)(),{records:$t,records_count:Jt}=rn||{},[Ln,ut]=(0,Se.useState)(!1),ct=Yt.get("type")==="1";return Le.createElement(fe.Z,{spinning:Gt,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Le.createElement(Xe.Z,{style:{fontSize:24},spin:!0})},($t==null?void 0:$t.length)>0?Le.createElement(tt.default,{dataSource:$t,rowKey:"id",pagination:!1},Le.createElement(Be,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(pt,Mt)=>Le.createElement("span",null," ",Ye()(pt).format("YYYY-MM-DD HH:mm:ss"))}),Le.createElement(Be,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(pt,Mt)=>{var Ft;return Le.createElement("span",{className:`${pt===0?"c-green":"c-red"} current`,onClick:()=>{ut(Mt.id)}},(Ft=Fe.Im[pt])==null?void 0:Ft.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Le.createElement(Be,{title:`\u6267\u884C\u7528\u65F6 (${ct?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:pt=>pt?ct?pt:pt/1e3:""}),Le.createElement(Be,{title:`\u5185\u5B58\u6D88\u8017\uFF08${ct?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:pt=>pt?ct?pt:parseFloat((pt/1024).toFixed(2)):""}),Le.createElement(Be,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Le.createElement(Be,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(pt,Mt)=>Le.createElement("span",{className:"c-light-primary current",onClick:()=>{ut(Mt.id)}},"\u67E5\u770B")})):Le.createElement("div",{style:{height:300,width:"100%"}}),Le.createElement(Ke.Z,{onClose:ut,open:Ln}),Jt>15?Le.createElement(st.Z,{className:et.pagination,current:Xn,pageSize:15,total:Jt,onChange:_n}):null)},$e=de(26194),ze=de(66309),Te={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Oe=de(85725),Ne=de(67294);const Ge={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var rt=({hack:Et})=>{const{language:Gt,difficult:rn,time_limit:Xn,description:_n}=Et,[on]=(0,xe.useSearchParams)(),Yt=Ge[rn];return Ne.createElement(Ne.Fragment,null,Ne.createElement("ul",{className:Te.info},Ne.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Ne.createElement("b",{className:Te.info_tag},Gt)),Ne.createElement("li",null,Ne.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Ne.createElement(ze.default,{color:Yt==null?void 0:Yt.color},Yt==null?void 0:Yt.name)),Ne.createElement("li",null,Ne.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Ne.createElement("span",{style:{color:"#333333"}},Xn,"\u79D2"))),on.get("qtype")==="8"?Ne.createElement(Oe.Z,{value:_n,showProgramFill:!0,className:Te.desc}):Ne.createElement(Oe.Z,{value:_n,className:Te.desc}))},mt={},dt=de(67294),nt=({hack:Et,current_user:Gt})=>dt.createElement("div",{className:mt.answer},Et!=null&&Et.answer_text?dt.createElement(Oe.Z,{style:{padding:"13px 0"},value:(Et==null?void 0:Et.answer_text)||""}):dt.createElement($e.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),vt=de(33054);function At(Et,Gt){return(0,me.U2)(`/problems/${Et}/comments.json`,{page:Gt,limit:10})}function Nt(Et){return(0,me.v_)(`/discusses/${Et}/plus.json`,{container_type:"Discuss",type:1})}function at(Et,Gt,rn){return(0,me.v_)(`/problems/${Et}/comments/reply.json`,{comments:{content:rn,parent_id:Gt}})}function xt(Et,Gt){return(0,me.v_)(`/problems/${Et}/comments.json`,{comments:{content:Gt}})}function lt(Et,Gt,rn){return(0,me.v_)(`/problems/${Et}/comments/${Gt}/hidden.json`,rn)}function it(Et,Gt){return(0,me.IV)(`/problems/${Et}/comments/${Gt}`)}var bt=de(93989);function wt({author:Et}){return Se.createElement("a",{href:`/users/${Et.login}`,target:"_blank"},Se.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${Et.image_url}`,width:"50"}))}function Dt({data:Et,index:Gt,parentDiscussIndex:rn,user:Xn,onSetActionType:_n}){const{author:on,can_delete:Yt,content:$t,id:Jt,time:Ln}=Et;function ut(){_n({id:Jt,index:Gt,type:"delete-discuss",parentDiscussIndex:rn,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const ct=Xn.admin||Yt||on.user_id===Xn.user_id;return Se.createElement("div",{className:"discuss-item-container second-discuss "},Se.createElement(wt,{author:on}),Se.createElement("section",null,Se.createElement("div",{className:"discuss-info"},Se.createElement("a",{href:`/users/${on.login}`,target:"_blank"},on.name),Se.createElement("span",{className:"grey"},Ln),Se.createElement("div",{className:"btn-group",style:{marginBottom:0}},ct?Se.createElement("a",{onClick:ut,title:"\u5220\u9664"},Se.createElement("i",{className:"iconfont icon-shanchu"})):null)),Se.createElement(Oe.Z,{className:"discuss-content",value:$t})))}var Kt=({user:Et,data:Gt,index:rn,onPlusDiscuss:Xn,onSetActionType:_n,activeDiscussIndex:on,onReplyDiscuss:Yt,onSetActiveDiscussIndex:$t})=>{const{content:Jt,children:Ln,hidden:ut,id:ct,praise_count:pt,time:Mt,user_praise:Ft,can_delete:Ht,author:pn}=Gt;function Rn(){$t(ct)}function Vn(){Xn(ct,!Ft,rn)}function Qn(){_n({id:ct,index:rn,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function Yn(){_n({id:ct,index:rn,params:{hidden:ut?"0":"1"},type:"hidden-discuss",message:ut?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const tr=Et.admin||Et.user_id===pn.user_id;return Se.createElement("div",{className:"discuss-item-container",key:ct},Se.createElement(wt,{author:pn}),Se.createElement("section",null,Se.createElement("div",{className:"discuss-info"},Se.createElement("a",{href:`/users/${pn.login}`,target:"_blank"}," ",pn.name," "),Se.createElement("span",{className:"grey"},Mt)),Se.createElement(Oe.Z,{className:"discuss-content",value:Jt}),Ln&&Ln.length>0?Se.createElement("div",{className:"reply-discuss-container"},Ln.map((Jn,er)=>Se.createElement(Dt,{key:Jn.id,data:Jn,index:er,user:Et,onSetActionType:_n,parentDiscussIndex:rn}))):null,Se.createElement("div",{className:"btn-group"},tr?Se.createElement("a",{onClick:Yn,title:ut?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},Se.createElement("i",{className:ut?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Ht&&(!Ln||Ln.length==0)?Se.createElement("a",{onClick:Qn,title:"\u5220\u9664"},Se.createElement("i",{className:"iconfont icon-shanchu"})):null,Se.createElement("a",{onClick:Rn,title:"\u56DE\u590D"}," ",Se.createElement("i",{className:"iconfont icon-huifu1"})," "),Se.createElement("a",{onClick:Vn,className:Ft?"c-orange":""},Se.createElement("i",{className:Ft?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),Se.createElement("span",null,pt||""))),Se.createElement(bt.Z,{id:ct,activeDiscussIndex:on,onReplyDiscuss:Yt})))},Pn=de(71865),wn={"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"},Nn=de(35567),On=(Et,Gt,rn)=>new Promise((Xn,_n)=>{var on=Jt=>{try{$t(rn.next(Jt))}catch(Ln){_n(Ln)}},Yt=Jt=>{try{$t(rn.throw(Jt))}catch(Ln){_n(Ln)}},$t=Jt=>Jt.done?Xn(Jt.value):Promise.resolve(Jt.value).then(on,Yt);$t((rn=rn.apply(Et,Gt)).next())}),qn=({user_praise:Et,praise_count:Gt,praisePlus:rn,onCreateDiscuss:Xn,discuss_count:_n})=>{const[on,Yt]=(0,Se.useState)(!1),[$t,Jt]=(0,Se.useState)("");function Ln(Mt){Jt(Mt)}function ut(){Yt(!0)}function ct(){Yt(!1)}function pt(){return On(this,null,function*(){Xn($t),Jt(""),Yt(!1)})}return Se.createElement("div",{className:`${wn["dis-input-editor-container"]} ${on?wn.active:""} `},Se.createElement("div",{className:on?`hide ${wn["text-area"]}`:wn["text-area"]},Se.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:ut}),Se.createElement("a",null," ",Se.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",_n," "),Se.createElement("a",{className:"c-light-black",onClick:rn,title:Et?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},Se.createElement("i",{className:`mr3 ${Et?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Gt?Se.createElement("span",null,Gt):"")),on?Se.createElement("div",{className:wn["input-mask"],onClick:ct}):null,Se.createElement("div",{className:on?wn["md-container"]:`${wn["md-container"]} hide`},Se.createElement(Nn.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:$t,height:240,onChange:Ln}),Se.createElement("div",{className:wn["tip-container"],onClick:ct},Se.createElement("a",{className:wn["btn-send"],onClick:pt}," \u53D1\u9001 "))))},rr=de(67294),pr=Object.defineProperty,zr=Object.defineProperties,Vr=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,Cn=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,Tt=(Et,Gt,rn)=>Gt in Et?pr(Et,Gt,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Et[Gt]=rn,kt=(Et,Gt)=>{for(var rn in Gt||(Gt={}))Cn.call(Gt,rn)&&Tt(Et,rn,Gt[rn]);if(An)for(var rn of An(Gt))Ut.call(Gt,rn)&&Tt(Et,rn,Gt[rn]);return Et},en=(Et,Gt)=>zr(Et,Vr(Gt)),Xt=(Et,Gt,rn)=>new Promise((Xn,_n)=>{var on=Jt=>{try{$t(rn.next(Jt))}catch(Ln){_n(Ln)}},Yt=Jt=>{try{$t(rn.throw(Jt))}catch(Ln){_n(Ln)}},$t=Jt=>Jt.done?Xn(Jt.value):Promise.resolve(Jt.value).then(on,Yt);$t((rn=rn.apply(Et,Gt)).next())});const Tn={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var tn=(Et=>(Et[Et.GET_DISCUSSES=0]="GET_DISCUSSES",Et[Et.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",Et[Et.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",Et[Et.PLUS_DISCUSS=3]="PLUS_DISCUSS",Et[Et.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",Et[Et.SET_PAGE=5]="SET_PAGE",Et[Et.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",Et))(tn||{});function yn(Et,Gt){switch(Gt.type){case 6:return en(kt({},Et),{loading:!0});case 0:return kt(kt({},Et),Gt.payload);case 1:return kt(kt({},Et),Gt.payload);case 4:return kt(kt({},Et),Gt.payload);case 3:return kt(kt({},Et),Gt.payload);case 5:return en(kt({},Et),{page:Gt.payload});case 2:return kt(kt({},Et),Gt.payload);default:throw new Error}}var Mn=({user:Et,identifier:Gt,hack:rn,onTriggerPraise:Xn,activeIndex:_n})=>{const[on,Yt]=(0,Se.useReducer)(yn,Tn),{loading:$t,page:Jt,data:Ln,count:ut,actionType:ct,activeDiscussIndex:pt}=on,Mt=(0,Se.useCallback)(()=>Xt(void 0,null,function*(){Yt({type:6});const Jn=yield At(Gt,Jt),{comments:er,disscuss_count:Mr}=Jn;Yt({type:0,payload:{data:er,count:Mr,loading:!1}})}),[Jt,Gt]);(0,Se.useEffect)(()=>{_n==="2"&&Mt()},[Gt,Jt,_n]);function Ft(Jn){Yt({type:5,payload:Jn})}function Ht(Jn){Yt({type:4,payload:{actionType:Jn}})}function pn(Jn){Yt(pt===Jn?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Jn}})}function Rn(Jn,er,Mr){return Xt(this,null,function*(){try{const Ur=yield Nt(Jn);Ln[Mr].user_praise=er,Ln[Mr].praise_count=Ur.praise_count,Yt({type:3,payload:{data:[...Ln]}})}catch(Ur){console.log(Ur)}})}function Vn(){return Xt(this,null,function*(){const{id:Jn,params:er,type:Mr,index:Ur,parentDiscussIndex:jr}=ct;if(Mr==="hidden-discuss"&&(yield lt(Gt,Jn,er),jr?Ln[jr].children[Ur].hidden=er.hidden==1:Ln[Ur].hidden=er.hidden==1,Yt({type:4,payload:{actionType:null,data:[...Ln]}})),Mr==="delete-discuss"){if(yield it(Gt,Jn),jr||jr===0){let Yr=Ln[jr].children;for(let no=Yr.length-1;no>=0;no--)if(Yr[no].id===Jn){Yr.splice(no,1);break}Ln[jr].children=Yr}else for(let Yr=Ln.length-1;Yr>=0;Yr--)if(Ln[Yr].id===Jn){Ln.splice(Yr,1);break}Yt({type:4,payload:{actionType:null,data:[...Ln]}})}})}function Qn(){Yt({type:4,payload:{actionType:null}})}function Yn(Jn,er){return Xt(this,null,function*(){try{yield at(Gt,Jn,er),Mt()}catch(Mr){console.log(Mr)}})}function tr(Jn){return Xt(this,null,function*(){Yt({type:6}),yield xt(Gt,Jn),Mt()})}return rr.createElement(rr.Fragment,null,rr.createElement("div",{className:"discuss-panel"},Ln.length===0?rr.createElement($e.Z,null):Ln.map((Jn,er)=>rr.createElement(Kt,{onReplyDiscuss:Yn,onPlusDiscuss:Rn,onSetActiveDiscussIndex:pn,onSetActionType:Ht,data:Jn,index:er,user:Et,activeDiscussIndex:pt})),ut>10?rr.createElement("div",{className:"pagination-container"},rr.createElement(st.Z,{showQuickJumper:!0,onChange:Ft,current:Jt,total:ut})):null),rr.createElement(qn,{user_praise:rn.user_praise,praise_count:rn.praises_count,praisePlus:Xn,discuss_count:rn.comments_count,onCreateDiscuss:tr}),rr.createElement(x.Z,null,rr.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:!!ct,onOk:Vn,onCancel:Qn},rr.createElement("p",null,ct?ct.message:"")),rr.createElement(Pn.Z,null)))},Dn=de(11713),St=de(69677),Ct=de(79753),Rt={},dn=de(67294),Hn=({hack:Et,current_user:Gt})=>dn.createElement("div",{className:Rt.answer},Et!=null&&Et.analysis?dn.createElement(Oe.Z,{style:{padding:"13px 0"},value:(Et==null?void 0:Et.analysis)||""}):dn.createElement($e.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),jn={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},br=de(47221),or=de(15746),wr=de(22150),Sr=de(31795),co=de(32259),bn=de(67294);const{TextArea:Lr}=St.default,{Panel:jt}=br.default;var mn=({data:Et,hack:Gt})=>(console.log(Et,Gt,"data"),Gt!=null&&Gt.is_file?bn.createElement(co.Y2,{disabled:!0,className:jn.uploadTableWrapper,showScore:!Gt.test_set_score,data:Et,isProgramHomework:!0}):bn.createElement("div",{className:jn.hackSets},Et==null?void 0:Et.map((rn,Xn)=>bn.createElement(br.default,{accordion:!0,bordered:!1,key:Xn,defaultActiveKey:Xn===0&&rn.id,className:jn.collapseWrapper,expandIcon:({isActive:_n})=>bn.createElement("i",{className:`iconfont icon-weizhankai ${_n?jn.open:jn.close}`,style:{fontSize:14,transition:"all .2s"}})},bn.createElement(jt,{key:rn.id,header:bn.createElement(se.Z,{align:"middle",justify:"space-between",wrap:!1},bn.createElement(or.Z,{className:jn.panelHeader},bn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Xn+1)),bn.createElement(or.Z,{flex:1},bn.createElement(se.Z,{align:"middle",justify:"end",wrap:!1},!(Gt!=null&&Gt.test_set_score)&&bn.createElement(or.Z,{className:jn.rateInput},bn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),bn.createElement("div",null,bn.createElement(wr.default.Item,{noStyle:!0},bn.createElement(Sr.Z,{value:rn==null?void 0:rn.score,className:jn.baseFormItem,min:0,max:100,disabled:!0}))),bn.createElement("span",{className:"ml10"},"%")))))},bn.createElement(wr.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},bn.createElement(Lr,{readOnly:!0,value:rn==null?void 0:rn.input,rows:4})),bn.createElement(wr.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},bn.createElement(Lr,{readOnly:!0,value:rn==null?void 0:rn.output,rows:4}))))))),cn={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},vn=de(67294),gn=(0,Se.forwardRef)(({data:Et=[]},Gt)=>{var rn;const[Xn,_n]=(0,Se.useState)(),on=Et.filter($t=>$t.show);(0,Se.useEffect)(()=>{on.length&&_n(on[0].id)},[Et==null?void 0:Et.length]);const Yt=((rn=on.find($t=>$t.id===Xn))==null?void 0:rn.element)||null;return(0,Se.useImperativeHandle)(Gt,()=>({setActiveTab:$t=>_n($t)})),vn.createElement("div",{className:cn.tabs},vn.createElement("div",{className:cn.tabWarp},on.map($t=>vn.createElement("div",{onClick:()=>_n($t.id),className:`${cn.tab} ${$t.id===Xn?cn.active:""}`,key:$t.id},$t.name))),vn.createElement("div",{className:cn.content},Yt))}),Qt=de(67294),xn=Object.defineProperty,Cr=Object.defineProperties,gr=Object.getOwnPropertyDescriptors,Rr=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,ao=(Et,Gt,rn)=>Gt in Et?xn(Et,Gt,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Et[Gt]=rn,eo=(Et,Gt)=>{for(var rn in Gt||(Gt={}))kr.call(Gt,rn)&&ao(Et,rn,Gt[rn]);if(Rr)for(var rn of Rr(Gt))ho.call(Gt,rn)&&ao(Et,rn,Gt[rn]);return Et},Fn=(Et,Gt)=>Cr(Et,gr(Gt)),io=(Et,Gt,rn)=>new Promise((Xn,_n)=>{var on=Jt=>{try{$t(rn.next(Jt))}catch(Ln){_n(Ln)}},Yt=Jt=>{try{$t(rn.throw(Jt))}catch(Ln){_n(Ln)}},$t=Jt=>Jt.done?Xn(Jt.value):Promise.resolve(Jt.value).then(on,Yt);$t((rn=rn.apply(Et,Gt)).next())});const jo={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},$n={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var Bn=({hack:Et,onTriggerPraise:Gt,topicId:rn,page:Xn,onPageChange:_n,user:on,current_user:Yt,submitRecords:$t,submitting:Jt,submitResult:Ln,setActiveIndex:ut,hack_sets:ct})=>{var pt,Mt;const[Ft]=(0,xe.useSearchParams)(),[Ht,pn]=(0,Se.useState)("0"),Rn=(0,xe.useLocation)(),[Vn,Qn]=(0,Se.useState)(!1),[Yn,tr]=(0,Se.useState)(null),[Jn,er]=(0,Se.useState)([]),[Mr,Ur]=(0,Se.useState)([]),[jr,Yr]=(0,Se.useState)({page:1,limit:10}),no=(0,Se.useRef)(null),mo=(0,Se.useRef)(null);console.log(on,"user");let[Er,uo]=(0,Se.useState)(Fn(eo({},(0,xe.useParams)()),{page:1,per_page:20,name:""}));(0,Se.useEffect)(()=>{mo.current&&(Et==null?void 0:Et.is_close_tips)===!1&&Yn===null&&tr(!0)},[mo.current,Et==null?void 0:Et.is_close_tips,Yn]);function Co(){return io(this,null,function*(){yield(0,me.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,Se.useEffect)(()=>{ut(Ht)},[Ht]);function Io(Kr){return io(this,null,function*(){let To=Kr.target.id;if(To==="1"){let Ao=yield(0,me.ZP)(`/api/myproblems/${Er.id}/redo_logs.json`,{method:"get",params:eo({},jr)});(Ao==null?void 0:Ao.status)===0&&Ur(Ao==null?void 0:Ao.data)}pn(To)})}(0,Se.useEffect)(()=>vt.Z.subscribe("to-commit-info",()=>{pn("1"),no.current&&no.current.setActiveTab("1")}),[]),(0,Se.useEffect)(()=>vt.Z.subscribe("to-reset-info",()=>{Io({target:{id:"1"}}),no.current&&no.current.setActiveTab("2")}),[]);function yo(){pn("2")}function Eo(){return io(this,null,function*(){let Kr=yield(0,me.ZP)("/api/problems/my_hack_list.json",{method:"get",params:eo({identifier:Er==null?void 0:Er.id},Er)});er(Kr)})}const hr=[{title:null,description:Qt.createElement("div",null,Qt.createElement("b",{onClick:()=>{tr(!1),Co(),Qn(!0),Eo()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Qt.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"),Qt.createElement(le.ZP,{onClick:()=>{tr(!1),Co()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>mo.current}];return Qt.createElement("div",{className:je["left-panel"]},Qt.createElement("ul",{className:`${je["s-navs"]} ${je["bg-white"]} ${je.b1}`},(Et==null?void 0:Et.is_program)&&!Ft.get("pageId")&&Qt.createElement(re.Z,{title:"\u9898\u76EE\u5217\u8868"},Qt.createElement("div",{onClick:()=>{Eo(),Qn(!0)},className:je.btns,ref:mo,style:Yn?{pointerEvents:"none"}:{}},Qt.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Qt.createElement("li",{style:{marginLeft:20}},Qt.createElement("a",{className:Ht==="0"?je.active:"",id:"0",onClick:Io},"\u9898\u76EE\u63CF\u8FF0")),Qt.createElement("li",null,Qt.createElement("a",{className:Ht==="1"?je.active:"",id:"1",onClick:Io},"\u64CD\u4F5C\u8BB0\u5F55")),(Ft.get("type")!=="exercises"&&(Et==null?void 0:Et.answer_text_show)||Ft.get("type")!=="exercises"&&(Et==null?void 0:Et.analysis_show))&&Qt.createElement("li",null,Qt.createElement("a",{className:Ht==="4"?je.active:"",id:"4",onClick:Io},"\u89E3\u7B54\u53C2\u8003")),Ft.get("type")!=="exercises"&&Qt.createElement("li",null,Qt.createElement("a",{className:Ht==="2"?je.active:"",id:"2",onClick:Io},"\u8BC4\u8BBA")),!!(ct!=null&&ct.length)&&Ft.get("type")!=="exercises"&&Ft.get("type")!=="1"&&Qt.createElement("li",null,Qt.createElement("a",{className:Ht==="5"?je.active:"",id:"5",onClick:Io},"\u6D4B\u8BD5\u7528\u4F8B"))),Qt.createElement("div",{className:`${je["tab-panel-body"]} ${Ht==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Qt.createElement(rt,{hack:Et,onTriggerPraise:Gt,toDiscuss:yo})),Qt.createElement("div",{style:{padding:"12px"},className:`${je["tab-panel-body"]} ${Ht==="1"?"":"hide"}`},Qt.createElement(gn,{ref:no,data:[{id:"1",show:Ft.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Qt.createElement(Qt.Fragment,null,$t!=null&&$t.records_count||Jt?Qt.createElement(Ve,{page:Xn,onPageChange:_n,topicId:rn,submitting:Jt,key:(Ln==null?void 0:Ln.id)||1,submitRecords:$t,submitResult:Ln}):Qt.createElement($e.Z,null))},{id:"2",show:Ft.get("type")==="exercises"||(Et==null?void 0:Et.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Qt.createElement(Qt.Fragment,null,Qt.createElement(tt.default,{pagination:!1,dataSource:Mr==null?void 0:Mr.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Kr,To,Ao)=>Ye()(Kr).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Kr,To,Ao)=>{var wo;return(wo=[{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(xo=>xo.id===Kr))==null?void 0:wo.name}}]}),Qt.createElement(st.Z,{style:{marginTop:10},current:jr.page,total:Mr==null?void 0:Mr.count,hideOnSinglePage:!0,onChange:Kr=>io(void 0,null,function*(){jr.page=Kr,Yr(jr);let To=yield(0,me.ZP)(`/api/myproblems/${Er.id}/redo_logs.json`,{method:"get",params:Fn(eo({},jr),{courseId:Er.courseId})});(To==null?void 0:To.status)===0&&Ur(To==null?void 0:To.data)})}))}]})),Qt.createElement("div",{style:{padding:"12px"},className:`${je["tab-panel-body"]} ${Ht==="4"?"":"hide"}`},Qt.createElement(gn,{data:[{id:"1",show:Ft.get("type")!=="exercises"&&(Et==null?void 0:Et.answer_text_show),name:"\u7B54\u6848",element:Qt.createElement(Qt.Fragment,null,Qt.createElement(nt,{hack:Et,current_user:Yt}))},{id:"2",show:Ft.get("type")!=="exercises"&&(Et==null?void 0:Et.analysis_show),name:"\u89E3\u6790",element:Qt.createElement(Qt.Fragment,null,Qt.createElement(Hn,{hack:Et,current_user:Yt}))}]})),Qt.createElement("div",{className:`${je["tab-panel-body"]} ${Ht==="2"?"":"hide"}`,style:{padding:0}},Qt.createElement(Mn,{user:on,activeIndex:Ht,identifier:Et.identifier,hack:Et,onTriggerPraise:Gt})),Qt.createElement("div",{className:`${je["tab-panel-body"]} ${Ht==="5"?"":"hide"}`,style:{padding:12}},Qt.createElement(mn,{data:ct||[],hack:Et})),Qt.createElement(a.Z,{rootClassName:je.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>Qn(!1),open:Vn},Qt.createElement(se.Z,null,Qt.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Qt.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Jn==null?void 0:Jn.total_count,"\u9898\xA0[\xA0",Jn==null?void 0:Jn.total_score,"\u5206\xA0]\xA0"),!(on!=null&&on.hack_manager)&&Qt.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Jn==null?void 0:Jn.work_score,"\u5206")),Qt.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Qt.createElement(se.Z,{align:"middle",className:"mt10 mb10"},!(on!=null&&on.hack_manager)&&Qt.createElement(Dn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Kr=>{Er.page=1,Er.finish_status=Kr,uo(eo({},Er)),Eo()}},Qt.createElement(Dn.default.Option,{value:""},"\u5168\u90E8"),Qt.createElement(Dn.default.Option,{value:0},"\u672A\u5F00\u59CB"),Qt.createElement(Dn.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Qt.createElement(Dn.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Qt.createElement(Dn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Kr=>{Er.page=1,Er.difficult=Kr||null,uo(eo({},Er)),Eo()}},Qt.createElement(Dn.default.Option,{value:0},"\u5168\u90E8"),Qt.createElement(Dn.default.Option,{value:1},"\u7B80\u5355"),Qt.createElement(Dn.default.Option,{value:2},"\u9002\u4E2D"),Qt.createElement(Dn.default.Option,{value:3},"\u56F0\u96BE")),Qt.createElement(St.default.Search,{size:"large",onSearch:Kr=>{Er.name=Kr,Er.page=1,uo(eo({},Er)),Eo()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Qt.createElement("div",{className:je.list,style:{height:36,background:"#3D445C"}},!(on!=null&&on.hack_manager)&&Qt.createElement("span",null,"\u72B6\u6001"),Qt.createElement("span",null,"\u5E8F\u53F7"),Qt.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Qt.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Qt.createElement("div",{style:{overflow:"auto",flex:1}},(pt=Jn==null?void 0:Jn.data)!=null&&pt.length?(Mt=Jn==null?void 0:Jn.data)==null?void 0:Mt.map((Kr,To)=>Qt.createElement("div",{onClick:()=>io(void 0,null,function*(){let Ao=yield(0,me.ZP)(`/api/problems/${Kr==null?void 0:Kr.identifier}/start.json`,{method:"get",params:{hack_user_id:on==null?void 0:on.user_id}});Ao&&(window.location.href=`/myproblems/${Ao==null?void 0:Ao.identifier}${window.location.search}`)}),className:`${je.list} ${Kr!=null&&Kr.checked?je.active:""}`},!(on!=null&&on.hack_manager)&&Qt.createElement(Qt.Fragment,null,!(Kr!=null&&Kr.opened)&&Qt.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Kr==null?void 0:Kr.opened)&&!(Kr!=null&&Kr.passed)&&Qt.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Kr==null?void 0:Kr.opened)&&(Kr==null?void 0:Kr.passed)&&Qt.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Qt.createElement("span",null,(Er.page-1)*20+(To+1)),Qt.createElement("span",{style:{flex:1},title:Kr.name},`[${Kr==null?void 0:Kr.score}\u5206]`,"\xA0",Kr.name),Qt.createElement("span",{style:{flexBasis:48,paddingRight:0}},jo[Kr.difficult]))):Qt.createElement($e.Z,null)),Qt.createElement(st.Z,{current:Er.page,className:"mt20",hideOnSinglePage:!0,total:Jn==null?void 0:Jn.count,pageSize:Er.per_page,onChange:(Kr,To)=>{Er.page=Kr,Er.per_page=To,Eo()}})),Qt.createElement(Ct.Z,{rootClassName:je.tour,closeIcon:!1,open:!!Yn,steps:hr,gap:{offset:3,radius:2}}))},fr=de(62522),nr=de(53814),xr=de(88508),cr=de(97917),Fr=de(43462),Qr=de(93137),Xr=de(11579),It=de(94184),Ot=de.n(It),qt=de(96325),Sn=de(22707),In=de(8861),an=de(67294),Pr=Object.defineProperty,Or=Object.defineProperties,Zr=Object.getOwnPropertyDescriptors,ro=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,ar=(Et,Gt,rn)=>Gt in Et?Pr(Et,Gt,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Et[Gt]=rn,_t=(Et,Gt)=>{for(var rn in Gt||(Gt={}))Wr.call(Gt,rn)&&ar(Et,rn,Gt[rn]);if(ro)for(var rn of ro(Gt))po.call(Gt,rn)&&ar(Et,rn,Gt[rn]);return Et},zt=(Et,Gt)=>Or(Et,Zr(Gt)),fn=(Et,Gt)=>{var rn={};for(var Xn in Et)Wr.call(Et,Xn)&&Gt.indexOf(Xn)<0&&(rn[Xn]=Et[Xn]);if(Et!=null&&ro)for(var Xn of ro(Et))Gt.indexOf(Xn)<0&&po.call(Et,Xn)&&(rn[Xn]=Et[Xn]);return rn},ht=(Et,Gt,rn)=>new Promise((Xn,_n)=>{var on=Jt=>{try{$t(rn.next(Jt))}catch(Ln){_n(Ln)}},Yt=Jt=>{try{$t(rn.throw(Jt))}catch(Ln){_n(Ln)}},$t=Jt=>Jt.done?Xn(Jt.value):Promise.resolve(Jt.value).then(on,Yt);$t((rn=rn.apply(Et,Gt)).next())});const{Countdown:hn}=E.default,kn={Java:"java",C:"c",Python:"py","C++":"c"};var Un=(Et=>(Et[Et.SET_LOADING=0]="SET_LOADING",Et[Et.GET_DATA=1]="GET_DATA",Et[Et.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",Et[Et.SET_DATA=3]="SET_DATA",Et[Et.SET_DEBUGING=4]="SET_DEBUGING",Et[Et.SET_SUBMITING=5]="SET_SUBMITING",Et[Et.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",Et[Et.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",Et[Et.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",Et[Et.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",Et[Et.SET_PAGE=10]="SET_PAGE",Et))(Un||{});function Vt(){return new Date().getTime()}const nn={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function sn(Et,Gt){switch(Gt.type){case 1:return _t(_t({},Et),Gt.payload);case 3:return zt(_t({},Et),{data:Gt.payload});case 0:return zt(_t({},Et),{loading:Gt.payload});case 9:return zt(_t({},Et),{showNote:Gt.payload});case 4:return zt(_t({},Et),{debuging:Gt.payload});case 5:return zt(_t({},Et),{submitting:Gt.payload});case 2:return zt(_t({},Et),{submitRecords:Gt.payload});case 10:return zt(_t({},Et),{submitRecordPage:Gt.payload});case 6:return zt(_t({},Et),{executingMessage:Gt.payload});case 7:return _t(_t({},Et),Gt.payload);case 8:return _t(_t({},Et),Gt.payload);default:throw new Error}}var Kn=({children:Et})=>{var Gt,rn,Xn,_n,on;const[Yt,$t]=(0,Se.useReducer)(sn,nn),{id:Jt}=(0,xe.useParams)(),Ln=(0,xe.useLocation)(),[ut]=(0,xe.useSearchParams)(),{loading:ct,data:pt,debugResult:Mt,submitResult:Ft,submitRecords:Ht,submitRecordPage:pn,showNote:Rn,debuging:Vn,submitting:Qn,executingMessage:Yn}=Yt,[tr,Jn]=(0,Se.useState)("#37AD83"),[er,Mr]=(0,Se.useState)(null),[Ur,jr]=(0,Se.useState)({}),[Yr,no]=(0,Se.useState)(!0),[mo,Er]=(0,Se.useState)(!1),[uo,Co]=(0,Se.useState)(!1),Io=(0,Se.useRef)(null),yo=(0,Se.useRef)(0),Eo=pt==null?void 0:pt.user,hr=pt==null?void 0:pt.hack,[Kr,To]=(0,Se.useState)(!1),Ao=(0,Se.useRef)(1),wo=(0,Se.useRef)(!1);(0,qt.y)(ut.get("type")==="exercises");const{setOpenDisableCopyAndPaste:xo}=(0,qt.X)(),[ko,Qo]=(0,Se.useState)(""),oa=(0,Fr._)(Ur);(0,Se.useEffect)(()=>{function Dr(){return ht(this,null,function*(){var lo,Xo,ma,Aa,$a;no(!0);const _a=yield(0,ie.fu)(Jt,{exercise_id:ut.get("exercisesId")});if(setTimeout(()=>{no(!1)},800),_a.status!==401){try{_a.hack.code=He.Base64.decode(_a.hack.code)}catch(ta){console.log(ta)}_a.hack=zt(_t({},_a.hack),{is_program:ut.get("type")==="1"}),$t({type:1,payload:{loading:!1,data:_a}})}if(ut.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let ta;ut.get("coursesId")=="coursesId"?ta=yield(0,ue._F)({categoryId:ut.get("exercisesId"),login:ut.get("login")}):ta=yield(0,ue._B)({categoryId:ut.get("exercisesId"),login:ut.get("login")}),jr(_t({},ta)),xo((lo=ta==null?void 0:ta.exercise)==null?void 0:lo.forbid_copy),typeof((Xo=ta==null?void 0:ta.exercise)==null?void 0:Xo.left_time)=="number"&&(Mr(Date.now()+((ma=ta==null?void 0:ta.exercise)==null?void 0:ma.left_time)*1e3),setTimeout(()=>{Jn("red")},(((Aa=ta==null?void 0:ta.exercise)==null?void 0:Aa.left_time)-300>0?(($a=ta==null?void 0:ta.exercise)==null?void 0:$a.left_time)-300:0)*1e3))}})}Jt&&Dr()},[Jt]),(0,Se.useEffect)(()=>{var Dr;return ut.get("type")==="exercises"&&((Dr=Ur==null?void 0:Ur.exercise)!=null&&Dr.screen_open)&&(window.removeEventListener("blur",Vo,!1),Qr.U.forEach((lo,Xo)=>{window.addEventListener(lo,Vo,!1)}),window.addEventListener("blur",Vo,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Vo)}},[Ur]),(0,Se.useEffect)(()=>{ko==="1"&&Jt&&hr!=null&&hr.language&&la()},[Jt,pn,hr==null?void 0:hr.language,ko]),(0,Se.useEffect)(()=>(hr!=null&&hr.is_program&&(yo.current=0,Io.current=setInterval(()=>{Do()},15e3)),()=>{clearInterval(Io.current)}),[hr==null?void 0:hr.is_program]);const Do=()=>ht(void 0,null,function*(){let Dr=yield(0,me.ZP)(`/api/myproblems/${Jt}/save_long_time.json`,{method:"get",params:{answer_long_time:yo.current}})}),Vo=()=>{wo.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function la(){return ht(this,null,function*(){try{const Dr=yield(0,ie.zO)(Jt,{limit:15,page:pn,language:hr==null?void 0:hr.language});$t({type:2,payload:Dr})}catch(Dr){console.log(Dr)}})}function ha(Dr){$t({type:10,payload:Dr})}function aa(Dr){return ht(this,null,function*(){var lo;let Xo;(ut.get("ip_limit")==="inner"||ut.get("ip_bind_type")==="true")&&(Xo=yield(0,nr.y)({ip_limit:ut.get("ip_limit"),ip_bind:ut.get("ip_bind_type")==="true"}));const ma=yield(0,ie.n4)(Jt,{code:He.Base64.encode(Dr||hr.code),language:hr==null?void 0:hr.language,exercise_id:ut.get("exercisesId"),question_id:ut.get("questionId"),ip:Xo});return ma.status===-5&&(0,xe.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:zt(_t({errorMessage:ma==null?void 0:ma.message},(Ur==null?void 0:Ur.exercise)||{}),{exercise_user_id:(lo=Ur==null?void 0:Ur.exercise)==null?void 0:lo.exercise_user_id,id:ut.get("exercisesId")})}}),ma})}function Wo(){return ht(this,null,function*(){if(Ao.current=2,!Qn){$t({type:5,payload:!0});try{vt.Z.publish("to-commit-info");const Dr=yield aa();if(console.log(Dr,1),Dr.status===0){let _a=function(){return ht(this,null,function*(){const{status:ta,data:Va}=yield(0,ie.rX)(Jt,"submit"),Wa=Vt()-$a>(ma*Aa+30)*1e3;if(ta!==0&&!Wa&&setTimeout(_a,1e3),Wa&&ta!==0){he.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),$t({type:5,payload:!1});return}if(ta===0){Va.status===2&&he.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(Va==null?void 0:Va.status)===0&&ut.get("type")==="1"&&Co(!0);const Xa=yield(0,ie.zO)(Jt,{limit:15,page:pn,language:hr==null?void 0:hr.language});$t({type:8,payload:zt(_t({},Yt),{submitResult:Va,submitting:!1,submitRecords:Xa})})}})},lo={};ut.get("type")==="exercises"&&(lo.extras={exercise_id:ut.get("exercisesId"),question_id:ut.get("questionId")},(ut.get("ip_limit")==="inner"||ut.get("ip_bind_type")==="true")&&(lo.extras.ip=yield(0,nr.y)({ip_limit:ut.get("ip_limit"),ip_bind:ut.get("ip_bind_type")==="true"})));const Xo=yield(0,ie.bM)(Jt,lo);if(Xo.status===-1&&ut.get("exercisesId")){window.parent.location.href=`/classrooms/${ut.get("coursesId")}/exercise/${ut.get("exercisesId")}/detail`;return}const{time_limit:ma,test_case_size:Aa}=hr,$a=Vt();Xo.status>-1?_a():$t({type:5,payload:!1})}else $t({type:5,payload:!1})}catch(Dr){console.log(Dr),$t({type:5,payload:!1})}To(!1)}})}function pa(){return ht(this,null,function*(){Ao.current=1,Yt.debuging=!0,$t({type:4,payload:!0});try{if((yield aa()).status===0){let $a=function(){return ht(this,null,function*(){const{status:_a,message:ta,data:Va}=yield(0,ie.rX)(Jt,"debug"),Wa=Vt()-Aa>(lo+30)*1e3;if(_a!==0&&!Wa&&($t({type:6,payload:ta}),setTimeout($a,1e3)),Wa){he.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),$t({type:4,payload:!1}),$t({type:7,payload:zt(_t({},Yt),{debugResult:{status:2},debuging:!1})});return}_a===0&&(Va.status===2&&he.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),$t({type:4,payload:!1}),$t({type:7,payload:zt(_t({},Yt),{debugResult:Va,debuging:!1})}))})};const{time_limit:lo}=hr;let Xo={input:encodeURIComponent(pt.test_case.input)};ut.get("type")==="exercises"&&(Xo.exercise_id=ut.get("exercisesId"));const ma=yield(0,ie.MU)(Jt,Xo);if(ma.status===-1&&ut.get("exercisesId")){window.parent.location.href=`/classrooms/${ut.get("coursesId")}/exercise/${ut.get("exercisesId")}/detail`;return}const Aa=Vt();(ma==null?void 0:ma.status)>-1?$a():$t({type:4,payload:!1})}else $t({type:4,payload:!1})}catch(Dr){console.log(Dr)}finally{}})}function Go(Dr,lo){const Xo=lo?{modify_code:!1}:{};$t({type:3,payload:zt(_t({},pt),{hack:_t(zt(_t({},hr),{code:Dr}),Xo)})}),To(!0)}const ea=Dr=>ht(void 0,null,function*(){let lo=yield(0,me.ZP)(`/api/problems/${hr==null?void 0:hr.identifier}/start.json`,{method:"get",params:{language:Dr==="C++"||Dr==="c++"?encodeURIComponent(Dr):Dr,hack_user_id:Eo==null?void 0:Eo.user_id}});lo.status!==-1&&xe.history.replace(`/myproblems/${lo==null?void 0:lo.identifier}${window.location.search}`)});function xa(Dr){let lo=Dr.target.value;$t({type:3,payload:zt(_t({},pt),{test_case:{input:lo}})})}function Oa(){return ht(this,null,function*(){try{let Dr={};ut.get("type")==="exercises"?Dr.exercise_id=ut.get("exercisesId"):hr!=null&&hr.homework_common_id&&(Dr.homework_common_id=hr==null?void 0:hr.homework_common_id);const lo=yield(0,ie.H7)(Jt,_t({},Dr));lo.status===401||(Go(He.Base64.decode(lo.code)),(ut.get("type")==="exercises"||hr!=null&&hr.homework_common_id)&&vt.Z.publish("to-reset-info"))}catch(Dr){console.log(Dr)}})}function Jo(){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 ht(this,null,function*(){const Dr=yield(0,ie.fi)(Jt);Dr.status===401||Go(He.Base64.decode(Dr.code),!0)})}})}function qo(){$t({type:9,payload:!0})}function ba(){$t({type:9,payload:!1})}function Ka(Dr){return ht(this,null,function*(){yield(0,ie.MK)(Jt,Dr),$t({type:1,payload:{showNote:!1,data:zt(_t({},pt),{hack:zt(_t({},hr),{notes:Dr.notes})})}})})}const ja={hack:hr,isLoading:Yr,input:(Gt=pt==null?void 0:pt.test_case)==null?void 0:Gt.input,is_file:(rn=pt==null?void 0:pt.test_case)==null?void 0:rn.is_file,identifier:hr==null?void 0:hr.identifier,attachments_count:pt==null?void 0:pt.attachments_count,language:hr==null?void 0:hr.language,code:hr==null?void 0:hr.code,title:"main."+kn[hr==null?void 0:hr.language],modify_code:hr==null?void 0:hr.modify_code,notes:hr==null?void 0:hr.notes,debugResult:Mt,debuging:Vn,submitting:Qn,submitResult:Ft,executingMessage:Yn,onCancelNote:ba,onAddNote:Ka,showNote:Rn,user:Eo,onShowNote:qo,onSubmitCode:Wo,onChangeCode:Go,onChangeInput:xa,onDebugCode:pa,onResetCode:Oa,onSyncCode:Jo,onUpdateCode:aa,onChangeLanguage:ea,isWhiteTheme:mo,setIsWhiteTheme:Er,topDispatch:$t};function Fa(){return ht(this,null,function*(){const{praise_count:Dr}=yield(0,ie.vl)(hr.id,{container_type:"Hack",type:1});let lo=zt(_t({},pt),{hack:zt(_t({},hr),{praises_count:Dr,user_praise:!hr.user_praise})});$t({type:3,payload:lo})})}const Ga={topicId:Jt,submitResult:Ft,submitRecords:Ht,submitting:Qn,page:pn,onPageChange:ha,hack:hr,user:pt==null?void 0:pt.user,hack_sets:pt==null?void 0:pt.hack_sets,current_user:pt==null?void 0:pt.current_user,onTriggerPraise:Fa,setActiveIndex:Qo};return console.log(Ur),an.createElement(an.Fragment,null,an.createElement(fe.Z,{spinning:ct,delay:500},pt?an.createElement(an.Fragment,null,an.createElement("header",{className:Ot()(Xr.Z.header,mo&&Xr.Z.whiteHeader)},ut.get("type")!=="exercises"&&an.createElement("div",null,an.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${Eo==null?void 0:Eo.image_url}`,alt:"user",width:36}),an.createElement("span",{style:{color:mo?"#333":"#B2BACB",fontSize:16}},Eo==null?void 0:Eo.name)),ut.get("type")==="exercises"&&an.createElement("div",null,an.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",an.createElement("span",{className:"ml10"},(Xn=Ur==null?void 0:Ur.exercise)==null?void 0:Xn.user_name)),an.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",an.createElement("span",{className:"ml10"},(_n=Ur==null?void 0:Ur.exercise)==null?void 0:_n.student_id))),an.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},an.createElement("div",null,hr.name)),(hr==null?void 0:hr.is_program)&&an.createElement(xr.Z,{defaultValue:hr==null?void 0:hr.answer_long_time,onChange:Dr=>{yo.current=Dr},className:Xr.Z.timepiece}),Eo!=null&&Eo.hack_manager?an.createElement(xe.Link,{className:Xr.Z.btn_edit,to:ut.get("type")==="1"?ut.get("pageId")?`/problems/newedit/${hr.identifier}?type=1&pageId=${ut.get("pageId")}&backUrl=${ut.get("backUrl")}`:`/problems/newedit/${hr.identifier}?type=1`:`/problems/newedit/${hr.identifier}`}," ",an.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,!!((on=Ur==null?void 0:Ur.exercise)!=null&&on.left_time)&&an.createElement(an.Fragment,null,an.createElement("span",{style:{color:tr,marginRight:6},className:`iconfont icon-daojishi ${Xr.Z.djs}`}),an.createElement("span",{className:"c-white mr20"},an.createElement(hn,{valueStyle:{color:tr,fontSize:20,fontWeight:500},title:an.createElement("span",{style:{color:tr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:er,onFinish:()=>ht(void 0,null,function*(){const Dr=yield(0,ue.VL)({categoryId:ut.get("exercisesId"),commit_method:2});if((Dr==null?void 0:Dr.status)===0&&(aa(),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:()=>ht(void 0,null,function*(){window.parent.location.href=`/classrooms/${ut.get("coursesId")}/exercise/${ut.get("exercisesId")}/detail`})})),(Dr==null?void 0:Dr.status)===-3){const lo=parseInt(Dr==null?void 0:Dr.message);Mr(Date.now()+lo*1e3)}})}))),ut.get("type")==="exercises"?an.createElement(le.ZP,{type:"primary",onClick:()=>{const Dr=()=>ht(void 0,null,function*(){yield aa(),To(!1),oa(),wo.current=!0,Vo()});if(!(Ht!=null&&Ht.records_count)||Kr){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:Dr});return}Dr()}},an.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):an.createElement("span",{onClick:()=>{var Dr;if(ut.get("backUrl"))xe.history.push(ut.get("backUrl"));else if(ut.get("type")==="1"){let lo=(Dr=localStorage.getItem("program_homework"))==null?void 0:Dr.split(",");xe.history.push(`/classrooms/${lo==null?void 0:lo[0]}/program_homework/${lo==null?void 0:lo[1]}/detail`)}else xe.history.push("/problemset")}},an.createElement(re.Z,{title:"\u5173\u95ED"},an.createElement("i",{style:{color:mo?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),an.createElement(fe.Z,{size:"large",spinning:Yr},an.createElement(oe.Z,{className:Ot()(Xr.Z.myProblems,mo&&Xr.Z.whiteMyProblems),leftChild:an.createElement(Bn,_t({},Ga)),rightChild:an.createElement(mr,_t({},ja))}))):null,an.createElement(he.default,{centered:!0,closable:!1,width:680,footer:null,open:uo,className:"oj-modal"},an.createElement("section",{className:"oj-modal-content"},an.createElement("div",{className:"oj-modal-head"},an.createElement("img",{src:fr,alt:""}),an.createElement("i",{onClick:()=>Co(!1),className:"iconfont icon-guanbi1"})),an.createElement("aside",null,an.createElement("img",{className:"mr30",src:In.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",an.createElement("span",{style:{color:"#75d6ba",marginRight:100}},Ft==null?void 0:Ft.execute_time,"ms"),"\u4F18\u4E8E",an.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Ft==null?void 0:Ft.time_better_than)||100,"%"),"\u7684\u7528\u6237"),an.createElement("aside",{className:"mb50"},an.createElement("img",{src:Sn.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"},Ft==null?void 0:Ft.execute_memory,"kb")),an.createElement("span",null,an.createElement("span",null))),"\u4F18\u4E8E",an.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Ft==null?void 0:Ft.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),an.createElement("div",{id:"oj-modal-next",onClick:()=>ht(void 0,null,function*(){var Dr;if(Ft!=null&&Ft.next_identifier){let lo=yield(0,me.ZP)(`/api/problems/${Ft==null?void 0:Ft.next_identifier}/start.json`,{method:"get",params:{hack_user_id:Eo==null?void 0:Eo.user_id}});lo&&(window.location.href=`/myproblems/${lo==null?void 0:lo.identifier}${window.location.search}`)}else{let lo=(Dr=localStorage.getItem("program_homework"))==null?void 0:Dr.split(",");xe.history.push(`/classrooms/${lo==null?void 0:lo[0]}/program_homework/${lo==null?void 0:lo[1]}/detail`)}}),className:"oj-modal-btn"},Ft!=null&&Ft.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875")))),an.createElement(cr.Z,{successCb:()=>{Ao.current===1?pa():Wo()}}))};function lr({title:Et,modify_code:Gt,onSyncCode:rn,onShowCodeSetting:Xn,onResetCode:_n,hack:on,onChangeLanguage:Yt,isWhiteTheme:$t,onShowResourceCentre:Jt,attachments_count:Ln}){var ut;const ct=()=>{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:_n})},[pt]=(0,xe.useSearchParams)(),Mt=pt.get("language"),Ft=Ht=>Ht==="1"?"c++":Ht==="2"?"C++":Ht;return(0,Se.useEffect)(()=>{Mt&&Yt(Ft(Mt))},[]),(0,Se.useEffect)(()=>{on!=null&&on.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:()=>_n()})},[on==null?void 0:on.language]),console.log(on,$t,"hack"),an.createElement("div",{className:`${Xr.Z.codeHead} ${$t?Xr.Z.whiteCodeHead:""}`},an.createElement("div",{className:Xr.Z.navWrap},(ut=on==null?void 0:on.all_language)==null?void 0:ut.map(Ht=>an.createElement("div",{className:`${Xr.Z.nav} ${Ht===(on==null?void 0:on.language)?Xr.Z.active:""}`,key:Ht,onClick:()=>Yt(Ht)},an.createElement(re.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},an.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),an.createElement("span",null,Ht)))),an.createElement(se.Z,{align:"middle",style:{marginLeft:"auto"}},Gt?an.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:rn},an.createElement("img",{src:Qe,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Ln>0&&an.createElement("a",{onClick:Jt},an.createElement(re.Z,{title:"\u8D44\u6E90\u4E2D\u5FC3"},an.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-ziyuanzhongxin mr15"}))),an.createElement("a",{onClick:ct},an.createElement(re.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},an.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),an.createElement("a",{onClick:Xn},an.createElement(re.Z,{title:"\u8BBE\u7F6E"},an.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function mr(Et){var Gt=Et,{input:rn,is_file:Xn,identifier:_n,showNote:on,onShowNote:Yt,notes:$t,onCancelNote:Jt,onAddNote:Ln,debugResult:ut,language:ct,debuging:pt,submitting:Mt,executingMessage:Ft,code:Ht,onSubmitCode:pn,onDebugCode:Rn,onChangeCode:Vn,onChangeInput:Qn,onUpdateCode:Yn,user:tr,isLoading:Jn,submitResult:er}=Gt,Mr=fn(Gt,["input","is_file","identifier","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function Ur(Yr,no){return an.createElement(lr,zt(_t({},Mr),{onShowCodeSetting:Yr,onShowResourceCentre:no}))}const jr=_t({input:rn,is_file:Xn,debugResult:ut,debuging:pt,submitting:Mt,executingMessage:Ft,onDebugCode:Rn,onChangeCode:Vn,onSubmitCode:pn,onChangeInput:Qn,user:tr,submitResult:er},Mr);return an.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},an.createElement(We,{setIsWhiteTheme:Mr==null?void 0:Mr.setIsWhiteTheme,isLoading:Jn,language:ct,value:Ht,identifier:_n,onChange:Vn,onUpdateCode:Yn,ActionBarRender:Ur}),an.createElement(Fe.ZP,_t({},jr)))}},96707:function(Lt,gt,de){"use strict";de.d(gt,{h:function(){return Se}});var Se=(xe=>(xe[xe.NOMATCH=-1]="NOMATCH",xe[xe.OK=0]="OK",xe[xe.TIMEOUT=2]="TIMEOUT",xe[xe.PODFAILURE=3]="PODFAILURE",xe[xe.COMPILEFAILURE=4]="COMPILEFAILURE",xe[xe.EXECUTEFAILURE=5]="EXECUTEFAILURE",xe[xe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",xe))(Se||{})},88742:function(Lt,gt,de){"use strict";de.d(gt,{H7:function(){return a},MK:function(){return ee},MU:function(){return ue},X6:function(){return oe},bM:function(){return ie},fi:function(){return y},fu:function(){return se},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return ae}});var Se=de(33170),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,le=(z,te,ce)=>te in z?xe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ce}):z[te]=ce,re=(z,te)=>{for(var ce in te||(te={}))he.call(te,ce)&&le(z,ce,te[ce]);if(E)for(var ce of E(te))fe.call(te,ce)&&le(z,ce,te[ce]);return z};function se(z,te){return(0,Se.U2)(`myproblems/${z}.json`,re({hidePopLogin:!0},te||{}))}function ie(z,te){return(0,Se.v_)(`myproblems/${z}/code_submit.json`,te)}function ue(z,te){return(0,Se.v_)(`myproblems/${z}/code_debug.json`,te)}function ae(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,Se.U2)(`myproblems/${z}/submit_records.json`,te)}function oe(z){return(0,Se.U2)("myproblems/record_detail.json",{id:z})}function ne(z,te){return(0,Se.U2)(`myproblems/${z}/result.json`,{mode:te})}function ee(z,te){return(0,Se.v_)(`myproblems/${z}/add_notes.json`,te)}function a(z,te){return(0,Se.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function y(z){return(0,Se.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,Se.v_)(`myproblems/${z}/update_code.json`,te)}function b(z,te){return(0,Se.v_)(`discusses/${z}/plus.json`,te)}},72971:function(Lt,gt,de){"use strict";de.d(gt,{Im:function(){return ye},ZP:function(){return we},gZ:function(){return Ce}});var Se=de(67294),xe=de(69677),E=de(71577),he=de(42922),fe=de(53978),le=de(94189),re=de(19575),se=de(7621),ie=de(85725),ue=de(28706),ae=de(38658),oe=de(12320),ne=de(94184),ee=de.n(ne),a=de(67294),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,ge=(Re,De,ke)=>De in Re?y(Re,De,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Re[De]=ke,me=(Re,De)=>{for(var ke in De||(De={}))te.call(De,ke)&&ge(Re,ke,De[ke]);if(z)for(var ke of z(De))ce.call(De,ke)&&ge(Re,ke,De[ke]);return Re},ve=(Re,De)=>x(Re,b(De));const{TextArea:pe}=xe.default,be={visible:!1,tabIndex:"0"},ye={[le.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[le.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[le.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 Ee=(Re=>(Re[Re.SET_VISIBLE=0]="SET_VISIBLE",Re[Re.SET_TABINDEX=1]="SET_TABINDEX",Re))(Ee||{});function Pe(Re,De){switch(De.type){case 0:return ve(me({},Re),{visible:De.payload});case 1:return ve(me({},Re),{tabIndex:De.payload});default:throw new Error}}function Ae({value:Re,className:De}){const[ke,Ie]=(0,Se.useState)(!1),qe=(0,Se.useRef)(),Je=(0,Se.useRef)();return(0,Se.useEffect)(()=>{ke&&(Je.current.reset(),Je.current.write((0,ue.pp)(Re||"")))},[Re,ke]),(0,Se.useEffect)(()=>{var We,Qe,He,Fe;if(qe.current){Je.current=new oe.Terminal({fontSize:14,disableStdin:!0}),Je.current.open(qe.current);const je=qe.current.offsetWidth-14,et=((Fe=(He=(Qe=(We=Je.current)==null?void 0:We._core)==null?void 0:Qe._renderService)==null?void 0:He.dimensions)==null?void 0:Fe.actualCellWidth)||9.5,tt=Math.ceil(je/et);Je.current.resize(tt,8),Ie(!0)}},[]),a.createElement("div",{ref:qe,className:ee()("XtermText-valueRef",De)})}function Ce(Re){const{status:De,error_msg:ke,output:Ie,input:qe,expected_output:Je,is_file:We,input_file_url:Qe,output_file_url:He,expected_output_file_url:Fe}=Re;let je=null;const et={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(De){case le.h.NOMATCH:je=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!We&&a.createElement(Ae,{className:"mb10",value:qe}),We&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Qe,qe)},qe)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!We&&a.createElement(Ae,{className:"mb10",value:Ie&&re.Base64.decode(Ie)||""}),We&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(He,Ie)},Ie)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!We&&a.createElement(Ae,{className:"mb10",value:Je&&re.Base64.decode(Je)||""}),We&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Fe,Je)},Je)));break;case le.h.EXECUTEFAILURE:je=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!We&&a.createElement(ie.Z,{value:qe,style:et}),We&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Qe,qe)},qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},re.Base64.decode(ke)));break;case le.h.COMPILEFAILURE:je=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!We&&a.createElement(ie.Z,{value:qe,style:et}),We&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Qe,qe)},qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},re.Base64.decode(ke)));break;case le.h.PODFAILURE:je=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.h.TIMEOUT:je=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",je," ")}function _e(Re){const{status:De,error_msg:ke,execute_time:Ie,output:qe,input:Je,expected_output:We,is_file:Qe,input_file_url:He,output_file_url:Fe,expected_output_file_url:je}=Re;let et=null;switch(De){case le.h.OK:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Ie,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,re.Base64.decode(qe)));break;case le.h.NOMATCH:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,Je)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",qe&&re.Base64.decode(qe)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",We&&re.Base64.decode(We)));break;case le.h.EXECUTEFAILURE:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,Je)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},re.Base64.decode(ke)));break;case le.h.COMPILEFAILURE:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,Je)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},re.Base64.decode(ke)));break;case le.h.PODFAILURE:et=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.h.TIMEOUT:et=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",et," ")}var we=({id:Re,is_file:De,input:ke,debuging:Ie,submitting:qe,executingMessage:Je,debugResult:We,onChangeInput:Qe,onDebugCode:He,onSubmitCode:Fe})=>{const[je,et]=(0,Se.useReducer)(Pe,be),{visible:tt,tabIndex:st}=je;(0,Se.useEffect)(()=>{et({type:0,payload:!1})},[Re]);function Xe(Le){let Be=Le.target.id;et({type:1,payload:Be})}function Ke(){et({type:0,payload:!tt})}const Me=(0,Se.useMemo)(()=>{if(We){const{status:Le}=We;return a.createElement(a.Fragment,null,_e(We))}return null},[We]);function Ye(){et({type:0,payload:!0}),et({type:1,payload:"1"}),He()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${tt?"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(pe,{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:De?"":ke,onChange:Qe}),rightNode:Ie?a.createElement(se.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):We?Me: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 ${tt?"up":""}`,onClick:Ke},tt?a.createElement(he.Z,null):a.createElement(fe.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:Ie,onClick:Ye},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:qe,disabled:qe,onClick:()=>{et({type:0,payload:!1}),Fe()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},94189:function(Lt,gt,de){"use strict";de.d(gt,{h:function(){return Se}});var Se=(xe=>(xe[xe.NOMATCH=-1]="NOMATCH",xe[xe.OK=0]="OK",xe[xe.TIMEOUT=2]="TIMEOUT",xe[xe.PODFAILURE=3]="PODFAILURE",xe[xe.COMPILEFAILURE=4]="COMPILEFAILURE",xe[xe.EXECUTEFAILURE=5]="EXECUTEFAILURE",xe[xe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",xe))(Se||{})},32259:function(Lt,gt,de){"use strict";de.d(gt,{Y2:function(){return we},ZP:function(){return Re}});var Se=de(67294),xe=de(59810),E=de(2453),he=de(14446),fe=de(71230),le=de(78045),re=de(71577),se=de(84567),ie=de(83062),ue=de(69677),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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",ne=de(56448),ee=de.n(ne),a=de(33170),y=de(25934),x=de(28706),b=de(91613),z=de(67294),te=Object.defineProperty,ce=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,be=(De,ke,Ie)=>ke in De?te(De,ke,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):De[ke]=Ie,ye=(De,ke)=>{for(var Ie in ke||(ke={}))ve.call(ke,Ie)&&be(De,Ie,ke[Ie]);if(me)for(var Ie of me(ke))pe.call(ke,Ie)&&be(De,Ie,ke[Ie]);return De},Ee=(De,ke)=>ce(De,ge(ke)),Pe=(De,ke,Ie)=>new Promise((qe,Je)=>{var We=Fe=>{try{He(Ie.next(Fe))}catch(je){Je(je)}},Qe=Fe=>{try{He(Ie.throw(Fe))}catch(je){Je(je)}},He=Fe=>Fe.done?qe(Fe.value):Promise.resolve(Fe.value).then(We,Qe);He((Ie=Ie.apply(De,ke)).next())});const{Dragger:Ae}=xe.default,Ce=De=>{const ke=je=>je&&je.substring(0,je.lastIndexOf("."));for(var Ie=[...De],qe=0,Je=[],We=0;We<Ie.length;We++){for(var Qe="",He=0;He<Je.length;He++)if(ke(Je[He][0].name)==ke(Ie[We].name)){qe=1,Qe=He;break}if(qe==1)Je[Qe].push(Ie[We]),qe=0;else if(qe==0){let je=new Array;je.push(Ie[We]),Je.push(je)}}return Je.map(je=>{if(je.forEach(et=>{let tt=et.name.split(/\.(?=[^\.]+$)/);et.name=`${tt[0]}.${tt[1].toLowerCase()}`}),je[0].name.includes(".in"))return je.length===2?je:[je[0],{}];if(je[0].name.includes(".out"))return je.length===2?je.reverse():[{},je[0]]})},_e=({onClose:De,onOK:ke,visible:Ie,wrapClassName:qe,rootIdentifier:Je,multiple:We=!1,defaultMultipleValue:Qe=!0})=>{const[He,Fe]=(0,Se.useState)([]),[je,et]=(0,Se.useState)({}),[tt,st]=(0,Se.useState)(!1),[Xe,Ke]=(0,Se.useState)(!0),[Me,Ye]=(0,Se.useState)(null),Le=(0,Se.useRef)([]),Be=(0,Se.useRef)(0),Ve=()=>{De()};(0,Se.useEffect)(()=>{$e()},[]),(0,Se.useEffect)(()=>{Ie&&(Le.current=[],Be.current=0,Fe([]),Ke(Qe))},[Ie]);const $e=()=>Pe(void 0,null,function*(){try{Ye(!0)}catch(dt){}}),ze=dt=>dt&&dt.substring(0,dt.lastIndexOf(".")),Te=dt=>{var nt,vt;const At=ze((nt=dt[0])==null?void 0:nt.name)||ze((vt=dt[1])==null?void 0:vt.name),Nt=He.filter(at=>ze(at.name)!==At);Le.current=[...Nt],Fe([...Nt])},Oe=dt=>{if(!Xe){const xt=new FormData;xt.append("file",dt.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:xt},!0).then(it=>{if(it.status===0){Be.current=Be.current+1;const bt=Le.current.map(wt=>{var Dt;if(wt.name===dt.name){const Kt=ye({},wt);return(Dt=dt==null?void 0:dt.name)!=null&&Dt.includes(".in")?Kt.input=it==null?void 0:it.content:Kt.output=it==null?void 0:it.content,Kt}return wt});if(Le.current=[...bt],Fe([...bt]),Be.current>0&&Be.current===He.length){st(!1);let wt=Ce(bt);wt=wt.filter(Dt=>{var Kt,Pn;return!!((Kt=Dt[0])!=null&&Kt.name&&((Pn=Dt[1])!=null&&Pn.name))}),wt=wt.map(Dt=>Ee(ye(ye({},Dt[0]),Dt[1]),{is_file:!1})),ke(wt),De()}}else st(!1),De()});return}if(Me){const xt=new FormData;xt.append("file",dt.file),Je===null?xt.append("identifier","testsets"):xt.append("identifier",Je),(0,a.ZP)("/api/attachments.json",{method:"post",body:xt},!0).then(it=>{if(it.filename){Be.current=Be.current+1;const bt=Le.current.map(wt=>{var Dt;if(wt.name===(it==null?void 0:it.filename)){const Kt=Ee(ye({},wt),{is_oss:!Me});return(Dt=it==null?void 0:it.filename)!=null&&Dt.includes(".in")?(Kt.in_object_key=it==null?void 0:it.object,Kt.in_object_size=it==null?void 0:it.size,Kt.input=it==null?void 0:it.filename,Kt.in_file=dt):(Kt.out_object_key=it==null?void 0:it.object,Kt.out_object_size=it==null?void 0:it.size,Kt.output=it==null?void 0:it.filename,Kt.out_file=dt),Kt}return wt});if(Le.current=[...bt],Fe([...bt]),Be.current>0&&Be.current===He.length){st(!1);let wt=Ce(bt);wt=wt.filter(Dt=>{var Kt,Pn;return!!((Kt=Dt[0])!=null&&Kt.name&&((Pn=Dt[1])!=null&&Pn.name))}),wt=wt.map(Dt=>Ee(ye(ye({},Dt[0]),Dt[1]),{is_file:!0})),ke(wt),De()}}else st(!1),De()});return}const nt=new(ee())({endpoint:je.end_point,region:je.region,accessKeyId:je.access_key_id,accessKeySecret:je.access_key_secret,bucket:je.bucket,stsToken:je.security_token}),vt=dt.name,At={container_type:"TestSet",file_name:vt},Nt=(0,y.Z)();let at=`testsets/${Je}/${Nt}${vt.indexOf(".")>-1?"."+vt.split(".").pop():""}`;Je===null&&(at=`testsets/${Nt}${vt.indexOf(".")>-1?"."+vt.split(".").pop():""}`),nt.multipartUpload(at,new Blob([dt.file],{type:dt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:vt+""},url:je==null?void 0:je.callback_url,host:je==null?void 0:je.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(At)}}).then(function(xt){if(xt.data.status===0){Be.current=Be.current+1;const lt=Le.current.map(it=>{var bt,wt,Dt,Kt,Pn,wn,Nn,On,qn,rr,pr,zr,Vr,An,Cn,Ut,Tt;if(it.name===((wt=(bt=xt.data)==null?void 0:bt.data)==null?void 0:wt.file_name)){const kt=Ee(ye({},it),{is_oss:!Me});return(Pn=(Kt=(Dt=xt.data)==null?void 0:Dt.data)==null?void 0:Kt.file_name)!=null&&Pn.includes(".in")?(kt.in_object_key=(Nn=(wn=xt.data)==null?void 0:wn.data)==null?void 0:Nn.object,kt.in_object_size=(qn=(On=xt.data)==null?void 0:On.data)==null?void 0:qn.size,kt.input=(pr=(rr=xt.data)==null?void 0:rr.data)==null?void 0:pr.file_name,kt.in_file=dt):(kt.out_object_key=(Vr=(zr=xt.data)==null?void 0:zr.data)==null?void 0:Vr.object,kt.out_object_size=(Cn=(An=xt.data)==null?void 0:An.data)==null?void 0:Cn.size,kt.output=(Tt=(Ut=xt.data)==null?void 0:Ut.data)==null?void 0:Tt.file_name,kt.out_file=dt),kt}return it});if(Le.current=[...lt],Fe([...lt]),Be.current>0&&Be.current===He.length){st(!1);let it=Ce(lt);it=it.filter(bt=>{var wt,Dt;return!!((wt=bt[0])!=null&&wt.name&&((Dt=bt[1])!=null&&Dt.name))}),it=it.map(bt=>Ee(ye(ye({},bt[0]),bt[1]),{is_file:!0})),ke(it),De()}}})},Ne=dt=>new Promise((nt,vt)=>{let At=0,Nt=[];for(let at=0;at<dt.length;at++)dt[at].file.slice(0,1).arrayBuffer().then(()=>{At++,At===dt.length&&(Nt.length?(E.ZP.warning(`${Nt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),vt()):nt(dt))}).catch(xt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",xt),At++,Nt.push(dt[at].name),At===dt.length&&(Nt.length?(E.ZP.warning(`${Nt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),vt()):nt(dt))})}),Ge=()=>Pe(void 0,null,function*(){if(He.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ne(He),st(!0),Ce(He).some(nt=>{var vt,At;return!((vt=nt[0])!=null&&vt.name&&((At=nt[1])!=null&&At.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:()=>Pe(void 0,null,function*(){He.map(nt=>Pe(void 0,null,function*(){Oe(nt)}))}),onCancel:()=>{st(!1)}});return}He.map(nt=>Pe(void 0,null,function*(){Oe(nt)}))}),rt={name:"file",fileList:He,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:dt=>{if(He!=null&&He.some(vt=>vt.name===dt.name))return E.ZP.info(`${dt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(dt.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(dt.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:dt.name,uid:dt.uid,file:dt,percent:0};return He.push(nt),Le.current=[...He],Fe([...He]),!1}},mt=Ce(He);return console.log(He,mt,"fileList"),z.createElement(he.default,{open:Ie,wrapClassName:qe,onOk:Ge,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:tt},onCancel:Ve,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ae.wrap},He.length?z.createElement("div",null,z.createElement(fe.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:We?"visible":"hidden"}},z.createElement("span",{className:ae.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(le.ZP.Group,{className:`ml20 ${ae.testCaseRadio}`,optionType:"button",value:Xe,onChange:dt=>Ke(dt.target.value)},z.createElement(le.ZP,{value:!1},"\u6587\u672C"),z.createElement(le.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(xe.default,ye({},rt),z.createElement(re.ZP,{type:"primary",className:ae.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(we,{data:mt,onRemove:Te})):z.createElement("div",{className:`${ae.noData} mb30`},z.createElement(xe.default.Dragger,Ee(ye({},rt),{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))))},we=({data:De=[],onRemove:ke,width:Ie="auto",showScore:qe=!1,disabled:Je=!1,inputChange:We,onEvaluatingChange:Qe,onSelectAll:He,checkAll1:Fe,checkAll2:je,checkAll3:et,checkAll4:tt,checkAll5:st,showEvaluatingSetting:Xe=!1,className:Ke="",isProgramHomework:Me=!1})=>{const Ye={value:"",filename:"",dataUrl:""},[Le,Be]=(0,Se.useState)(ye({},Ye)),Ve=Te=>{let Oe=document.createElement("a");document.body.appendChild(Oe);let Ne=URL.createObjectURL(Te.file);Oe.href=Ne,Oe.download=Te.name,Oe.click(),URL.revokeObjectURL(Ne),document.body.removeChild(Oe)},$e=(Te,Oe)=>{(0,x.LR)(Te,Oe)},ze=(Te,Oe)=>{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:()=>{ke(Te,Oe)},onCancel:()=>{}})};return De.length?z.createElement("div",{className:Ke,style:{width:Ie}},z.createElement("div",{className:`${Me?ae.headProgram:ae.head}`},Xe&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:Fe,onChange:Te=>{He(Te.target.checked,"hidden")}}),z.createElement(ie.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:Me?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:qe?Me?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:qe?Me?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),qe&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Xe&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:tt,onChange:Te=>{He(Te.target.checked,"input_visible")}}),z.createElement(ie.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"}))),Xe&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:je,onChange:Te=>{He(Te.target.checked,"is_invisible")}}),z.createElement(ie.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"}))),Xe&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:st,onChange:Te=>{He(Te.target.checked,"actual_output_visible")}}),z.createElement(ie.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"}))),Xe&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:et,onChange:Te=>{He(Te.target.checked,"last_match_rule")}}),z.createElement(ie.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:Me?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ae.listWrapper,style:{boxShadow:Me?"0px 2px 4px 0px #EAEEF4":"unset"}},De.map((Te,Oe)=>{var Ne,Ge,rt,mt;return z.createElement("div",{key:Oe,className:ae.list,style:Me?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Xe&&z.createElement("div",{style:{width:"15%"}},z.createElement(se.default,{checked:!!Te.hidden,onChange:dt=>{Qe(dt.target.checked,Oe,"hidden")}})),z.createElement("div",{style:{width:Me?"25%":"15%",paddingLeft:Me?"5px":"0px",paddingRight:Me?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Oe+1),z.createElement("div",{className:ae.info,style:{width:qe?Me?"20%":"15%":"25%"}},z.createElement("span",{title:Te.input||((Ne=Te[0])==null?void 0:Ne.name),onClick:()=>Pe(void 0,null,function*(){let dt;Te.input?Te.input_file_url?dt=Te.input_file_url:dt=Te.in_file:dt=Te[0];let nt;typeof dt=="string"?(nt=yield fetch(dt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Be({value:yield nt.text(),filename:"",dataUrl:dt})):(nt=yield(0,x.db)(dt.file),Be({value:nt.text,filename:dt.name,dataUrl:nt.link}))})},Te.input||((Ge=Te[0])==null?void 0:Ge.name))),z.createElement("div",{className:ae.info,style:{width:qe?Me?"20%":"15%":"25%"}},z.createElement("span",{title:Te.output||((rt=Te[1])==null?void 0:rt.name),onClick:()=>Pe(void 0,null,function*(){let dt;Te.input?Te.output_file_url?dt=Te.output_file_url:dt=Te.out_file:dt=Te[1];let nt;typeof dt=="string"?(nt=yield fetch(dt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Be({value:yield nt.text(),filename:"",dataUrl:dt})):(nt=yield(0,x.db)(dt.file),Be({value:nt.text,filename:dt.name,dataUrl:nt.link}))})},Te.output||((mt=Te[1])==null?void 0:mt.name))),qe&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{size:"large",addonAfter:Me?"%":null,disabled:Je,style:{width:"80%"},onChange:dt=>We(dt,Oe),value:Te.score}),!Me&&z.createElement("span",null,"\xA0%")),Xe&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Te.input_visible||!1,onChange:dt=>{Qe(dt.target.checked,Oe,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Xe&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Te.is_invisible||!1,onChange:dt=>{Qe(dt.target.checked,Oe,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Xe&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Te.actual_output_visible||!1,onChange:dt=>{Qe(dt.target.checked,Oe,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Xe&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Te.last_match_rule||!1,onChange:dt=>{Qe(dt.target.checked,Oe,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>ze(Te,Oe),style:Me?{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:()=>Be(ye({},Ye)),monacoEditor:{value:Le.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Re=_e},93989:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return ne}});var Se=de(67294),xe=de(2453),E=de(83062),he=de(57953),fe=de(71230),le=de(15746),re=de(28452),se=de(71577),ie=de(35567),ue=de(33170),ae=de(85725),oe=(a,y,x)=>new Promise((b,z)=>{var te=me=>{try{ge(x.next(me))}catch(ve){z(ve)}},ce=me=>{try{ge(x.throw(me))}catch(ve){z(ve)}},ge=me=>me.done?b(me.value):Promise.resolve(me.value).then(te,ce);ge((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[z,te]=(0,Se.useState)(""),[ce,ge]=(0,Se.useState)(!1);function me(pe){te(pe)}function ve(){if(!z){xe.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,z),te("")}return(0,Se.useEffect)(()=>{y!=a&&ge(!1)},[y]),Se.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},Se.createElement(ie.Z,{miniToolbar:!0,startInit:y===a,defaultValue:z,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:me,extraUse:b&&Se.createElement(E.Z,{color:"#fff",open:ce,destroyTooltipOnHide:!0,title:ee({id:a,isOpen:ce,activeDiscussIndex:y,onChange:me,setIsOpen:ge}),overlayStyle:{maxWidth:600}},Se.createElement("a",{title:ce?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>ge(!ce)},Se.createElement("i",{className:"iconfont icon-dianzan11"})))}),Se.createElement("a",{onClick:ve,className:"btn-send"},"\u53D1\u9001"))};const ee=a=>{const[y,x]=(0,Se.useState)(!1),[b,z]=(0,Se.useState)([]),[te,ce]=(0,Se.useState)(1);(0,Se.useEffect)(()=>{a!=null&&a.isOpen?ge():(ce(1),z([]))},[a==null?void 0:a.isOpen]);const ge=()=>oe(void 0,null,function*(){x(!0);const me=yield(0,ue.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(me==null?void 0:me.status)==0&&z(me==null?void 0:me.answer),x(!1)});return Se.createElement(he.Z,{spinning:y},Se.createElement("div",{style:{color:"#000"}},Se.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[te-1])||""}),Se.createElement(fe.Z,{justify:"end",align:"middle"},Se.createElement(le.Z,null,Se.createElement(re.Z,{simple:!0,current:te,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:me=>{ce(me)}})),Se.createElement(le.Z,null,Se.createElement(se.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")))))}},5764:function(Lt,gt,de){"use strict";de.d(gt,{CP:function(){return E},_V:function(){return le}});var Se=de(81354),xe=de.n(Se);const E={secret:Se.enc.Utf8.parse("0a18e199b87f1a8d"),iv:Se.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 fe(re="",se="exam"){const{secret:ie,iv:ue}=he[se];return AES.encrypt(re,ie,{iv:ue,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function le(re="",se="exam"){const{secret:ie,iv:ue}=he[se];return Se.AES.decrypt(re,ie,{iv:ue,mode:xe().mode.CBC,padding:xe().pad.Pkcs7}).toString(Se.enc.Utf8)}},51959:function(Lt,gt,de){"use strict";de.d(gt,{BU:function(){return xe},Dj:function(){return Se},gH:function(){return E},vp:function(){return he}});function Se(fe){try{fe.mozRequestFullScreen?fe.mozRequestFullScreen():fe.webkitRequestFullScreen&&fe.webkitRequestFullScreen()}catch(le){console.log(le,":e")}}function xe(){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 fe=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,le=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",fe),window.isFullScreen?window.isFullScreen:fe!=null}},9343:function(Lt,gt,de){"use strict";de.d(gt,{U:function(){return ie}});var Se=de(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,le=(ue,ae,oe)=>ae in ue?xe(ue,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ue[ae]=oe,re=(ue,ae)=>{for(var oe in ae||(ae={}))he.call(ae,oe)&&le(ue,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&le(ue,oe,ae[oe]);return ue},se=(ue,ae,oe)=>new Promise((ne,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?ne(b.value):Promise.resolve(b.value).then(a,y);x((oe=oe.apply(ue,ae)).next())});function ie(ue,ae){const[oe,ne]=(0,Se.useState)(ae),[ee,a]=(0,Se.useState)(!1),[y,x]=(0,Se.useState)();return[oe,ee,(z,te=!1)=>se(this,null,function*(){const ce=te?ae:re(re({},oe),z);a(!0),ne(ce);const ge=yield ue(ce);return a(!1),x(ge),ge}),y]}},43462:function(Lt,gt,de){"use strict";de.d(gt,{_:function(){return E}});var Se=de(67294),xe=de(14446);const E=he=>{var fe,le;const re=(0,Se.useRef)([]),se=()=>{for(const ie of re.current)clearTimeout(ie);re.current=[]};return(0,Se.useEffect)(()=>{var ie,ue,ae,oe,ne,ee;if(se(),(ie=he==null?void 0:he.exercise)!=null&&ie.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(((ne=he==null?void 0:he.exercise)==null?void 0:ne.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(()=>{xe.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);re.current.push(x)}}},[(fe=he==null?void 0:he.exercise)==null?void 0:fe.left_time,(le=he==null?void 0:he.exercise)==null?void 0:le.exercise_events]),se}},40471:function(Lt,gt,de){"use strict";de.d(gt,{G:function(){return fe},t:function(){return he}});var Se=de(58971),xe=de.n(Se);const E=null;function he(le,re){let se=xe().get("__ec");se||(se={}),se[le]=re,xe().set("__ec",se)}function fe(le,re){let se=xe().get("__ec");return se?se[le]===void 0?re:se[le]:re}},56448:function(Lt){(function(gt){(function(de){if(1)Lt.exports=de();else var Se})(function(){var de,Se,xe;return function(){function E(he,fe,le){function re(ue,ae){if(!fe[ue]){if(!he[ue]){var oe=void 0;if(!ae&&oe)return require(ue,!0);if(se)return se(ue,!0);var ne=new Error("Cannot find module '"+ue+"'");throw ne.code="MODULE_NOT_FOUND",ne}var ee=fe[ue]={exports:{}};he[ue][0].call(ee.exports,function(a){var y=he[ue][1][a];return re(y||a)},ee,ee.exports,E,he,fe,le)}return fe[ue].exports}for(var se=void 0,ie=0;ie<le.length;ie++)re(le[ie]);return re}return E}()({1:[function(E,he,fe){"use strict";var le=E("./browser/client");le.Buffer=E("buffer").Buffer,le.urllib=E("../shims/xhr"),le.version=E("./browser/version").version,he.exports=le},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(E,he,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(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 ie=E("assert"),ue=E("../common/utils/checkBucketName"),ae=ue.checkBucketName,oe=fe;function ne(a){return Array.isArray?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"}function ee(a){return a?ne(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,se.default)(re.default.mark(function x(b,z){var te,ce;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("DELETE",b,"",z),me.next=3,this.request(te);case 3:if(ce=me.sent,!(ce.status===200||ce.status===204)){me.next=6;break}return me.abrupt("return",{res:ce.res});case 6:return me.next=8,this.requestError(ce);case 8:throw me.sent;case 9:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketACL=function(){var a=(0,se.default)(re.default.mark(function x(b,z,te){var ce,ge;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ce=this._bucketRequestParams("PUT",b,"acl",te),ce.headers={"x-oss-acl":z},ce.successStatuses=[200],ve.next=5,this.request(ce);case 5:return ge=ve.sent,ve.abrupt("return",{bucket:ge.headers.location&&ge.headers.location.substring(1)||null,res:ge.res});case 7:case"end":return ve.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketACL=function(){var a=(0,se.default)(re.default.mark(function x(b,z){var te,ce;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("GET",b,"acl",z),te.successStatuses=[200],te.xmlResponse=!0,me.next=5,this.request(te);case 5:return ce=me.sent,me.abrupt("return",{acl:ce.data.AccessControlList.Grant,owner:{id:ce.data.Owner.ID,displayName:ce.data.Owner.DisplayName},res:ce.res});case 7:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketLogging=function(){var a=(0,se.default)(re.default.mark(function x(b,z,te){var ce,ge,me;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ce=this._bucketRequestParams("PUT",b,"logging",te),ge=`<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(b,`</TargetBucket>
`),z&&(ge+="<TargetPrefix>".concat(z,`</TargetPrefix>
`)),ge+=`</LoggingEnabled>
</BucketLoggingStatus>`,ce.content=ge,ce.mime="xml",ce.successStatuses=[200],pe.next=9,this.request(ce);case 9:return me=pe.sent,pe.abrupt("return",{res:me.res});case 11:case"end":return pe.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketLogging=function(){var a=(0,se.default)(re.default.mark(function x(b,z){var te,ce,ge;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("GET",b,"logging",z),te.successStatuses=[200],te.xmlResponse=!0,ve.next=5,this.request(te);case 5:return ce=ve.sent,ge=ce.data.LoggingEnabled,ve.abrupt("return",{enable:!!ge,prefix:ge&&ge.TargetPrefix||null,res:ce.res});case 8:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketLogging=function(){var a=(0,se.default)(re.default.mark(function x(b,z){var te,ce;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("DELETE",b,"logging",z),te.successStatuses=[204,200],me.next=4,this.request(te);case 4:return ce=me.sent,me.abrupt("return",{res:ce.res});case 6:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketCORS=function(){var a=(0,se.default)(re.default.mark(function x(b,z,te){var ce,ge,me,ve,pe,be,ye,Ee,Pe,Ae;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:for(z=z||[],ie(z.length,"rules is required"),z.forEach(function(we){ie(we.allowedOrigin,"allowedOrigin is required"),ie(we.allowedMethod,"allowedMethod is required")}),ce=this._bucketRequestParams("PUT",b,"cors",te),ge=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,me=function(Re){ge+="<AllowedOrigin>".concat(Re,"</AllowedOrigin>")},ve=function(Re){ge+="<AllowedMethod>".concat(Re,"</AllowedMethod>")},pe=function(Re){ge+="<AllowedHeader>".concat(Re,"</AllowedHeader>")},be=function(Re){ge+="<ExposeHeader>".concat(Re,"</ExposeHeader>")},ye=0,Ee=z.length;ye<Ee;ye++)Pe=z[ye],ge+="<CORSRule>",ee(Pe.allowedOrigin).forEach(me),ee(Pe.allowedMethod).forEach(ve),ee(Pe.allowedHeader).forEach(pe),ee(Pe.exposeHeader).forEach(be),Pe.maxAgeSeconds&&(ge+="<MaxAgeSeconds>".concat(Pe.maxAgeSeconds,"</MaxAgeSeconds>")),ge+="</CORSRule>";return ge+="</CORSConfiguration>",ce.content=ge,ce.mime="xml",ce.successStatuses=[200],_e.next=16,this.request(ce);case 16:return Ae=_e.sent,_e.abrupt("return",{res:Ae.res});case 18:case"end":return _e.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketCORS=function(){var a=(0,se.default)(re.default.mark(function x(b,z){var te,ce,ge,me;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return te=this._bucketRequestParams("GET",b,"cors",z),te.successStatuses=[200],te.xmlResponse=!0,pe.next=5,this.request(te);case 5:return ce=pe.sent,ge=[],ce.data&&ce.data.CORSRule&&(me=ce.data.CORSRule,ne(me)||(me=[me]),me.forEach(function(be){var ye={};Object.keys(be).forEach(function(Ee){ye[Ee.slice(0,1).toLowerCase()+Ee.slice(1,Ee.length)]=be[Ee]}),ge.push(ye)})),pe.abrupt("return",{rules:ge,res:ce.res});case 9:case"end":return pe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketCORS=function(){var a=(0,se.default)(re.default.mark(function x(b,z){var te,ce;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("DELETE",b,"cors",z),te.successStatuses=[204],me.next=4,this.request(te);case 4:return ce=me.sent,me.abrupt("return",{res:ce.res});case 6:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketReferer=function(){var a=(0,se.default)(re.default.mark(function x(b,z,te,ce){var ge,me,ve,pe;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(ge=this._bucketRequestParams("PUT",b,"referer",ce),me=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,me+=" <AllowEmptyReferer>".concat(z?"true":"false",`</AllowEmptyReferer>
`),te&&te.length>0){for(me+=` <RefererList>
`,ve=0;ve<te.length;ve++)me+=" <Referer>".concat(te[ve],`</Referer>
`);me+=` </RefererList>
`}else me+=` <RefererList />
`;return me+="</RefererConfiguration>",ge.content=me,ge.mime="xml",ge.successStatuses=[200],ye.next=10,this.request(ge);case 10:return pe=ye.sent,ye.abrupt("return",{res:pe.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,se.default)(re.default.mark(function x(b,z){var te,ce,ge;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("GET",b,"referer",z),te.successStatuses=[200],te.xmlResponse=!0,ve.next=5,this.request(te);case 5:return ce=ve.sent,ge=ce.data.RefererList.Referer||null,ge&&(ne(ge)||(ge=[ge])),ve.abrupt("return",{allowEmpty:ce.data.AllowEmptyReferer==="true",referers:ge,res:ce.res});case 9:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketReferer=function(){var a=(0,se.default)(re.default.mark(function x(b,z){return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,this.putBucketReferer(b,!0,null,z);case 2:return ce.abrupt("return",ce.sent);case 3:case"end":return ce.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,fe){(function(le,re){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ie=se(E("@babel/runtime/regenerator")),ue=se(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"),ne=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"),ce=E("../common/client/initOptions"),ge=E("../common/utils/createRequest"),me=ge.createRequest,ve=E("../common/utils/encoder"),pe=ve.encoder,be=E("../common/client/getReqUrl"),ye=be.getReqUrl,Ee=E("../common/utils/setSTSToken"),Pe=Ee.setSTSToken,Ae=E("../common/utils/retry"),Ce=Ae.retry,_e=E("../common/utils/isFunction"),we=_e.isFunction,Re=new ne;function De(){var Qe=a.name,He=a.version;Qe&&Qe.toLowerCase&&Qe.toLowerCase()==="ie"&&He.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function ke(){return location&&location.protocol==="https:"}function Ie(Qe,He){if(De(),!(this instanceof Ie))return new Ie(Qe,He);Qe&&Qe.inited?this.options=Qe:this.options=Ie.initOptions(Qe),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Re),this.ctx=He,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}he.exports=Ie,Ie.initOptions=function(He){He.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Fe=Object.assign({secure:ke(),useFetch:!1},He);return ce(Fe)};var qe=Ie.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(He){return this.debug("authorization stringToSign: %s",He,"info"),te.computeSignature(this.options.accessKeySecret,He,this.options.headerEncoding)},qe._getReqUrl=ye,qe.authorization=function(He,Fe,je,et){var tt=te.buildCanonicalString(He.toUpperCase(),Fe,{headers:et,parameters:je});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,tt,this.options.headerEncoding)},qe.request=function(){var Qe=(0,ue.default)(ie.default.mark(function He(Fe){var je=this;return ie.default.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(!this.options.retryMax){tt.next=6;break}return tt.next=3,Ce(Je.bind(this),this.options.retryMax,{errorHandler:function(Xe){var Ke=function(Ye){if(Fe.stream)return!1;var Le=[-1,-2].includes(Ye.status),Be=je.options.requestErrorRetryHandle||function(){return!0};return Le&&Be(Ye)};return!!Ke(Xe)}})(Fe);case 3:return tt.abrupt("return",tt.sent);case 6:return tt.abrupt("return",Je.call(this,Fe));case 7:case"end":return tt.stop()}},He,this)}));return function(He){return Qe.apply(this,arguments)}}();function Je(Qe){return We.apply(this,arguments)}function We(){return We=(0,ue.default)(ie.default.mark(function Qe(He){var Fe,je,et,tt,st,Xe;return ie.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(!(this.options.stsToken&&we(this.options.refreshSTSToken))){Me.next=3;break}return Me.next=3,Pe.call(this);case 3:return Fe=me.call(this,He),this.options.useFetch||(Fe.params.mode="disable-fetch"),tt=!!He.stream,Me.prev=6,Me.next=9,this.urllib.request(Fe.url,Fe.params);case 9:je=Me.sent,this.debug("response %s %s, got %s, headers: %j",He.method,Fe.url,je.status,je.headers,"info"),Me.next=16;break;case 13:Me.prev=13,Me.t0=Me.catch(6),et=Me.t0;case 16:if(!(je&&He.successStatuses&&He.successStatuses.indexOf(je.status)===-1)){Me.next=28;break}return Me.next=19,this.requestError(je);case 19:if(st=Me.sent,!(st.code==="RequestTimeTooSkewed"&&!tt)){Me.next=25;break}return this.options.amendTimeSkewed=+new Date(st.serverTime)-new Date,Me.next=24,this.request(He);case 24:return Me.abrupt("return",Me.sent);case 25:st.params=He,Me.next=32;break;case 28:if(!et){Me.next=32;break}return Me.next=31,this.requestError(et);case 31:st=Me.sent;case 32:if(!st){Me.next=34;break}throw st;case 34:if(!He.xmlResponse){Me.next=39;break}return Me.next=37,this.parseXML(je.data);case 37:Xe=Me.sent,je.data=Xe;case 39:return Me.abrupt("return",je);case 40:case"end":return Me.stop()}},Qe,this,[[6,13]])})),We.apply(this,arguments)}qe._getResource=function(He){var Fe="/";return He.bucket&&(Fe+="".concat(He.bucket,"/")),He.object&&(Fe+=pe(He.object,this.options.headerEncoding)),Fe},qe._escape=function(He){return y.encodeURIComponent(He).replace(/%2F/g,"/")},qe._getUserAgent=function(){var He=re&&re.browser?"js":"nodejs",Fe="aliyun-sdk-".concat(He,"/").concat(b.version),je=a.description;return!je&&re&&(je="Node.js ".concat(re.version.slice(1)," on ").concat(re.platform," ").concat(re.arch)),this._checkUserAgent("".concat(Fe," ").concat(je))},qe._checkUserAgent=function(He){var Fe=He.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return Fe},qe.checkBrowserAndVersion=function(He,Fe){return z.name===He&&z.version.split(".")[0]===Fe},qe.parseXML=function(He){return new Promise(function(Fe,je){le.isBuffer(He)&&(He=He.toString()),oe.parseString(He,{explicitRoot:!1,explicitArray:!1},function(et,tt){et?je(et):Fe(tt)})})},qe.requestError=function(){var Qe=(0,ue.default)(ie.default.mark(function Fe(je){var et,tt,st,Xe;return ie.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(et=null,!(!je.data||!je.data.length)){Me.next=5;break}je.status===-1||je.status===-2?(et=new Error(je.message),et.name=je.name,et.status=je.status,et.code=je.name):(je.status===404?(et=new Error("Object not exists"),et.name="NoSuchKeyError",et.status=404,et.code="NoSuchKey"):je.status===412?(et=new Error("Pre condition failed"),et.name="PreconditionFailedError",et.status=412,et.code="PreconditionFailed"):(et=new Error("Unknow error, status: ".concat(je.status)),et.name="UnknownError",et.status=je.status),et.requestId=je.headers["x-oss-request-id"],et.host=""),Me.next=32;break;case 5:return tt=String(je.data),this.debug("request response error data: %s",tt,"error"),Me.prev=7,Me.next=10,this.parseXML(tt);case 10:if(Me.t0=Me.sent,Me.t0){Me.next=13;break}Me.t0={};case 13:st=Me.t0,Me.next=23;break;case 16:return Me.prev=16,Me.t1=Me.catch(7),this.debug(tt,"error"),Me.t1.message+=`
raw xml: `.concat(tt),Me.t1.status=je.status,Me.t1.requestId=je.headers["x-oss-request-id"],Me.abrupt("return",Me.t1);case 23:Xe=st.Message||"unknow request error, status: ".concat(je.status),st.Condition&&(Xe+=" (condition: ".concat(st.Condition,")")),et=new Error(Xe),et.name=st.Code?"".concat(st.Code,"Error"):"UnknownError",et.status=je.status,et.code=st.Code,et.requestId=st.RequestId,et.hostId=st.HostId,et.serverTime=st.ServerTime;case 32:return this.debug("generate error %j",et,"error"),Me.abrupt("return",et);case 34:case"end":return Me.stop()}},Fe,this,[[7,16]])}));function He(Fe){return Qe.apply(this,arguments)}return He}()}).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,fe){(function(le){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),se=re(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 ie=re(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("util"),ae=E("path"),oe=E("mime"),ne=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=fe;te.multipartUpload=function(){var pe=(0,ie.default)(se.default.mark(function ye(Ee,Pe){var Ae,Ce,_e,we,Re,De,ke,Ie,qe,Je=arguments;return se.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(Ae=Je.length>2&&Je[2]!==void 0?Je[2]:{},this.resetCancelFlag(),Ae.disabledMD5=Ae.disabledMD5===void 0?!0:!!Ae.disabledMD5,!(Ae.checkpoint&&Ae.checkpoint.uploadId)){Qe.next=8;break}return Pe&&x(Pe)&&(Ae.checkpoint.file=Pe),Qe.next=7,this._resumeMultipart(Ae.checkpoint,Ae);case 7:return Qe.abrupt("return",Qe.sent);case 8:return Ce=102400,Ae.mime||(x(Pe)?Ae.mime=oe.getType(ae.extname(Pe.name)):a(Pe)?Ae.mime=Pe.type:z(Pe)?Ae.mime="":Ae.mime=oe.getType(ae.extname(Pe))),Ae.headers=Ae.headers||{},this._convertMetaToHeaders(Ae.meta,Ae.headers),Qe.next=14,this._getFileSize(Pe);case 14:if(_e=Qe.sent,!(_e<Ce)){Qe.next=26;break}return Ae.contentLength=_e,Qe.next=19,this.put(Ee,Pe,Ae);case 19:if(we=Qe.sent,!(Ae&&Ae.progress)){Qe.next=23;break}return Qe.next=23,Ae.progress(1);case 23:return Re={res:we.res,bucket:this.options.bucket,name:Ee,etag:we.res.headers.etag},(Ae.headers&&Ae.headers["x-oss-callback"]||Ae.callback)&&(Re.data=we.data),Qe.abrupt("return",Re);case 26:if(!(Ae.partSize&&parseInt(Ae.partSize,10)!==Ae.partSize)){Qe.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Ae.partSize&&Ae.partSize<Ce)){Qe.next=30;break}throw new Error("partSize must not be smaller than ".concat(Ce));case 30:return Qe.next=32,this.initMultipartUpload(Ee,Ae);case 32:if(De=Qe.sent,ke=De.uploadId,Ie=this._getPartSize(_e,Ae.partSize),qe={file:Pe,name:Ee,fileSize:_e,partSize:Ie,uploadId:ke,doneParts:[]},!(Ae&&Ae.progress)){Qe.next=39;break}return Qe.next=39,Ae.progress(0,qe,De.res);case 39:return Qe.next=41,this._resumeMultipart(qe,Ae);case 41:return Qe.abrupt("return",Qe.sent);case 42:case"end":return Qe.stop()}},ye,this)}));function be(ye,Ee){return pe.apply(this,arguments)}return be}(),te._resumeMultipart=function(){var pe=(0,ie.default)(se.default.mark(function ye(Ee,Pe){var Ae,Ce,_e,we,Re,De,ke,Ie,qe,Je,We,Qe,He,Fe,je,et,tt,st,Xe;return se.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(Ae=this,!this.isCancel()){Me.next=3;break}throw this._makeCancelEvent();case 3:return Ce=Ee.file,_e=Ee.fileSize,we=Ee.partSize,Re=Ee.uploadId,De=Ee.doneParts,ke=Ee.name,Ie=[],De.length>0&&ne(De).to(Ie),qe=this._divideParts(_e,we),Je=qe.length,We=!1,Qe=function(Le,Be){return new Promise(function(){var Ve=(0,ie.default)(se.default.mark(function $e(ze,Te){var Oe,Ne,Ge,rt,mt;return se.default.wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:if(nt.prev=0,Le.isCancel()){nt.next=29;break}return Oe=qe[Be-1],nt.next=5,Le._createBuffer(Ce,Oe.start,Oe.end);case 5:return Ne=nt.sent,Ge={content:Ne,size:Oe.end-Oe.start},nt.prev=7,nt.next=10,Le._uploadPart(ke,Re,Be,Ge,Pe);case 10:rt=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()&&!We)){nt.next=26;break}if(Ee.doneParts.push({number:Be,etag:rt.res.headers.etag}),!Pe.progress){nt.next=23;break}return nt.next=23,Pe.progress(De.length/(Je+1),Ee,rt.res);case 23:ze({number:Be,etag:rt.res.headers.etag}),nt.next=27;break;case 26:ze();case 27:nt.next=30;break;case 29:ze();case 30:nt.next=41;break;case 32:nt.prev=32,nt.t1=nt.catch(0),mt=new Error,mt.name=nt.t1.name,mt.message=nt.t1.message,mt.stack=nt.t1.stack,mt.partNum=Be,ne(nt.t1).to(mt),Te(mt);case 41:case"end":return nt.stop()}},$e,null,[[0,32],[7,13]])}));return function($e,ze){return Ve.apply(this,arguments)}}())},He=Array.from(new Array(Je),function(Ye,Le){return Le+1}),Fe=Ie.map(function(Ye){return Ye.number}),je=He.filter(function(Ye){return Fe.indexOf(Ye)<0}),et=5,tt=Pe.parallel||et,Me.next=17,this._parallel(je,tt,function(Ye){return new Promise(function(Le,Be){Qe(Ae,Ye).then(function(Ve){Ve&&Ie.push(Ve),Le()}).catch(function(Ve){Be(Ve)})})});case 17:if(st=Me.sent,We=!0,Xe=st.find(function(Ye){return Ye.name==="abort"}),!Xe){Me.next=22;break}throw Xe;case 22:if(!this.isCancel()){Me.next=25;break}throw Qe=null,this._makeCancelEvent();case 25:if(!(st&&st.length>0)){Me.next=28;break}throw st[0].message="Failed to upload some parts with error: ".concat(st[0].toString()," part_num: ").concat(st[0].partNum),st[0];case 28:return Me.next=30,this.completeMultipartUpload(ke,Re,Ie,Pe);case 30:return Me.abrupt("return",Me.sent);case 31:case"end":return Me.stop()}},ye,this)}));function be(ye,Ee){return pe.apply(this,arguments)}return be}(),te._getFileSize=function(){var pe=(0,ie.default)(se.default.mark(function ye(Ee){return se.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(!z(Ee)){Ae.next=4;break}return Ae.abrupt("return",Ee.length);case 4:if(!(a(Ee)||x(Ee))){Ae.next=6;break}return Ae.abrupt("return",Ee.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Ae.stop()}},ye)}));function be(ye){return pe.apply(this,arguments)}return be}();var ce=E("stream"),ge=ce.Readable;function me(pe,be){if(!(this instanceof me))return new me(pe,be);ge.call(this,be),this.file=pe,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}ue.inherits(me,ge),me.prototype.readFileAndPush=function(be){if(this.fileBuffer)for(var ye=!0;ye&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Ee=this.start,Pe=Ee+be;Pe=Pe>this.fileBuffer.length?this.fileBuffer.length:Pe,this.start=Pe,ye=this.push(this.fileBuffer.slice(Ee,Pe))}},me.prototype._read=function(be){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;be=be||ye;var Ee=this;this.reader.onload=function(Ae){Ee.fileBuffer=le.from(new Uint8Array(Ae.target.result)),Ee.file=null,Ee.readFileAndPush(be)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(be)};function ve(pe){return pe.arrayBuffer?pe.arrayBuffer():new Promise(function(be,ye){var Ee=new FileReader;Ee.onload=function(Pe){be(Pe.target.result)},Ee.onerror=function(Pe){ye(Pe)},Ee.readAsArrayBuffer(pe)})}te._createBuffer=function(){var pe=(0,ie.default)(se.default.mark(function ye(Ee,Pe,Ae){var Ce,_e;return se.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(!(a(Ee)||x(Ee))){Re.next=8;break}return Ce=Ee.slice(Pe,Ae),Re.next=4,ve(Ce);case 4:return _e=Re.sent,Re.abrupt("return",le.from(_e));case 8:if(!z(Ee)){Re.next=12;break}return Re.abrupt("return",Ee.subarray(Pe,Ae));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Re.stop()}},ye)}));function be(ye,Ee,Pe){return pe.apply(this,arguments)}return be}(),te._getPartSize=function(be,ye){var Ee=1e4,Pe=1*1024*1024;ye||(ye=Pe);var Ae=Math.ceil(be/Ee);return ye<Ae&&(ye=Ae,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(be,ye){for(var Ee=Math.ceil(be/ye),Pe=[],Ae=0;Ae<Ee;Ae++){var Ce=ye*Ae,_e=Math.min(Ce+ye,be);Pe.push({start:Ce,end:_e})}return Pe}}).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,fe){"use strict";var le=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 re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("fs"),ue=E("copy-to"),ae=E("path"),oe=E("mime"),ne=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,ce=E("../common/utils/obj2xml"),ge=ce.obj2xml,me=fe;me.append=function(){var ve=(0,se.default)(re.default.mark(function be(ye,Ee,Pe){var Ae;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return Pe=Pe||{},Pe.position===void 0&&(Pe.position="0"),Pe.subres={append:"",position:Pe.position},Pe.method="POST",_e.next=6,this.put(ye,Ee,Pe);case 6:return Ae=_e.sent,Ae.nextAppendPosition=Ae.res.headers["x-oss-next-append-position"],_e.abrupt("return",Ae);case 9:case"end":return _e.stop()}},be,this)}));function pe(be,ye,Ee){return ve.apply(this,arguments)}return pe}(),me.put=function(){var ve=(0,se.default)(re.default.mark(function be(ye,Ee,Pe){var Ae,Ce,_e,we,Re;return re.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(Pe=Pe||{},Pe.disabledMD5=Pe.disabledMD5===void 0?!0:!!Pe.disabledMD5,Pe.headers=Pe.headers||{},ye=this._objectName(ye),!te(Ee)){ke.next=8;break}Ae=Ee,ke.next=19;break;case 8:if(!(y(Ee)||b(Ee))){ke.next=18;break}return Pe.mime||(b(Ee)?Pe.mime=oe.getType(ae.extname(Ee.name)):Pe.mime=Ee.type),ke.next=12,this._createBuffer(Ee,0,Ee.size);case 12:return Ae=ke.sent,ke.next=15,this._getFileSize(Ee);case 15:Pe.contentLength=ke.sent,ke.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(Pe.meta,Pe.headers),Ce=Pe.method||"PUT",_e=this._objectRequestParams(Ce,ye,Pe),ne.encodeCallback(_e,Pe),_e.mime=Pe.mime,_e.disabledMD5=Pe.disabledMD5,_e.content=Ae,_e.successStatuses=[200],ke.next=29,this.request(_e);case 29:return we=ke.sent,Re={name:ye,url:this._objectUrl(ye),res:we.res},_e.headers&&_e.headers["x-oss-callback"]&&(Re.data=JSON.parse(we.data.toString())),ke.abrupt("return",Re);case 33:case"end":return ke.stop()}},be,this)}));function pe(be,ye,Ee){return ve.apply(this,arguments)}return pe}(),me.putStream=function(){var ve=(0,se.default)(re.default.mark(function be(ye,Ee,Pe){var Ae,Ce,_e,we;return re.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return Pe=Pe||{},Pe.headers=Pe.headers||{},ye=this._objectName(ye),Pe.contentLength?Pe.headers["Content-Length"]=Pe.contentLength:Pe.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(Pe.meta,Pe.headers),Ae=Pe.method||"PUT",Ce=this._objectRequestParams(Ae,ye,Pe),ne.encodeCallback(Ce,Pe),Ce.mime=Pe.mime,Ce.stream=Ee,Ce.successStatuses=[200],De.next=13,this.request(Ce);case 13:return _e=De.sent,we={name:ye,url:this._objectUrl(ye),res:_e.res},Ce.headers&&Ce.headers["x-oss-callback"]&&(we.data=JSON.parse(_e.data.toString())),De.abrupt("return",we);case 17:case"end":return De.stop()}},be,this)}));function pe(be,ye,Ee){return ve.apply(this,arguments)}return pe}(),ee(me,E("../common/object/copyObject")),ee(me,E("../common/object/getObjectTagging")),ee(me,E("../common/object/putObjectTagging")),ee(me,E("../common/object/deleteObjectTagging")),ee(me,E("../common/image")),ee(me,E("../common/object/getBucketVersions")),ee(me,E("../common/object/getACL")),ee(me,E("../common/object/putACL")),ee(me,E("../common/object/head")),ee(me,E("../common/object/delete")),ee(me,E("../common/object/get")),ee(me,E("../common/object/putSymlink")),ee(me,E("../common/object/getSymlink")),ee(me,E("../common/object/deleteMulti")),ee(me,E("../common/object/getObjectMeta")),ee(me,E("../common/object/getObjectUrl")),ee(me,E("../common/object/generateObjectUrl")),ee(me,E("../common/object/signatureUrl")),ee(me,E("../common/object/asyncSignatureUrl")),me.putMeta=function(){var ve=(0,se.default)(re.default.mark(function be(ye,Ee,Pe){var Ae;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return _e.next=2,this.copy(ye,ye,{meta:Ee||{},timeout:Pe&&Pe.timeout,ctx:Pe&&Pe.ctx});case 2:return Ae=_e.sent,_e.abrupt("return",Ae);case 4:case"end":return _e.stop()}},be,this)}));function pe(be,ye,Ee){return ve.apply(this,arguments)}return pe}(),me.list=function(){var ve=(0,se.default)(re.default.mark(function be(ye,Ee){var Pe,Ae,Ce,_e,we;return re.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return Pe=this._objectRequestParams("GET","",Ee),Pe.query=ye,Pe.xmlResponse=!0,Pe.successStatuses=[200],De.next=6,this.request(Pe);case 6:return Ae=De.sent,Ce=Ae.data.Contents||[],_e=this,Ce&&(Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(ke){return{name:ke.Key,url:_e._objectUrl(ke.Key),lastModified:ke.LastModified,etag:ke.ETag,type:ke.Type,size:Number(ke.Size),storageClass:ke.StorageClass,owner:{id:ke.Owner.ID,displayName:ke.Owner.DisplayName}}})),we=Ae.data.CommonPrefixes||null,we&&(Array.isArray(we)||(we=[we]),we=we.map(function(ke){return ke.Prefix})),De.abrupt("return",{res:Ae.res,objects:Ce,prefixes:we,nextMarker:Ae.data.NextMarker||null,isTruncated:Ae.data.IsTruncated==="true"});case 13:case"end":return De.stop()}},be,this)}));function pe(be,ye){return ve.apply(this,arguments)}return pe}(),me.listV2=function(){var ve=(0,se.default)(re.default.mark(function be(ye){var Ee,Pe,Ae,Ce,_e,we,Re,De=arguments;return re.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ee=De.length>1&&De[1]!==void 0?De[1]:{},Pe=ye["continuation-token"]||ye.continuationToken,Pe&&(Ee.subres=Object.assign({"continuation-token":Pe},Ee.subres)),Ae=this._objectRequestParams("GET","",Ee),Ae.query=Object.assign({"list-type":2},ye),delete Ae.query["continuation-token"],delete Ae.query.continuationToken,Ae.xmlResponse=!0,Ae.successStatuses=[200],Ie.next=11,this.request(Ae);case 11:return Ce=Ie.sent,_e=Ce.data.Contents||[],we=this,_e&&(Array.isArray(_e)||(_e=[_e]),_e=_e.map(function(qe){var Je=null;return qe.Owner&&(Je={id:qe.Owner.ID,displayName:qe.Owner.DisplayName}),{name:qe.Key,url:we._objectUrl(qe.Key),lastModified:qe.LastModified,etag:qe.ETag,type:qe.Type,size:Number(qe.Size),storageClass:qe.StorageClass,owner:Je}})),Re=Ce.data.CommonPrefixes||null,Re&&(Array.isArray(Re)||(Re=[Re]),Re=Re.map(function(qe){return qe.Prefix})),Ie.abrupt("return",{res:Ce.res,objects:_e,prefixes:Re,isTruncated:Ce.data.IsTruncated==="true",keyCount:+Ce.data.KeyCount,continuationToken:Ce.data.ContinuationToken||null,nextContinuationToken:Ce.data.NextContinuationToken||null});case 18:case"end":return Ie.stop()}},be,this)}));function pe(be){return ve.apply(this,arguments)}return pe}(),me.restore=function(){var ve=(0,se.default)(re.default.mark(function be(ye){var Ee,Pe,Ae,Ce,_e=arguments;return re.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Ee=_e.length>1&&_e[1]!==void 0?_e[1]:{type:"Archive"},Ee=Ee||{},Ee.subres=Object.assign({restore:""},Ee.subres),Ee.versionId&&(Ee.subres.versionId=Ee.versionId),Pe=this._objectRequestParams("POST",ye,Ee),Ee.type==="ColdArchive"&&(Ae={RestoreRequest:{Days:Ee.Days?Ee.Days:2,JobParameters:{Tier:Ee.JobParameters?Ee.JobParameters:"Standard"}}},Pe.content=ge(Ae,{headers:!0}),Pe.mime="xml"),Pe.successStatuses=[202],Re.next=9,this.request(Pe);case 9:return Ce=Re.sent,Re.abrupt("return",{res:Ce.res});case 11:case"end":return Re.stop()}},be,this)}));function pe(be){return ve.apply(this,arguments)}return pe}(),me._objectUrl=function(pe){return this._getReqUrl({bucket:this.options.bucket,object:pe})},me._objectRequestParams=function(pe,be,ye){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");ye=ye||{},be=this._objectName(be);var Ee={object:be,bucket:this.options.bucket,method:pe,subres:ye&&ye.subres,timeout:ye&&ye.timeout,ctx:ye&&ye.ctx};return ye.headers&&(Ee.headers={},ue(ye.headers).to(Ee.headers)),Ee},me._objectName=function(pe){return pe.replace(/^\/+/,"")},me._convertMetaToHeaders=function(pe,be){pe&&Object.keys(pe).forEach(function(ye){be["x-oss-meta-".concat(ye)]=pe[ye]})},me._deleteFileSafe=function(pe){var be=this;return new Promise(function(ye){ie.exists(pe,function(Ee){Ee?ie.unlink(pe,function(Pe){Pe&&be.debug("unlink %j error: %s",pe,Pe,"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,fe){"use strict";fe.version="6.18.1"},{}],7:[function(E,he,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.abortBucketWorm=void 0;var ie=E("../utils/checkBucketName");function ue(oe,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(re.default.mark(function oe(ne,ee){var a,y;return re.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ie.checkBucketName(ne),a=this._bucketRequestParams("DELETE",ne,"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)}fe.abortBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,he,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.completeBucketWorm=void 0;var ie=E("../utils/checkBucketName");function ue(oe,ne,ee){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(re.default.mark(function oe(ne,ee,a){var y,x;return re.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ie.checkBucketName(ne),y=this._bucketRequestParams("POST",ne,{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)}fe.completeBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,he,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.deleteBucketInventory=void 0;var ie=E("../utils/checkBucketName");function ue(oe,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(re.default.mark(function oe(ne,ee){var a,y,x,b,z=arguments;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return a=z.length>2&&z[2]!==void 0?z[2]:{},y=Object.assign({inventory:"",inventoryId:ee},a.subres),ie.checkBucketName(ne),x=this._bucketRequestParams("DELETE",ne,y,a),x.successStatuses=[204],ce.next=7,this.request(x);case 7:return b=ce.sent,ce.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return ce.stop()}},oe,this)})),ae.apply(this,arguments)}fe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=fe;ae.deleteBucketLifecycle=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y){var x,b;return re.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 ne(ee,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,he,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=fe;ae.deleteBucketWebsite=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y){var x,b;return re.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 ne(ee,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,he,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.extendBucketWorm=void 0;var ie=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ae(ne,ee,a,y){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee,a,y,x){var b,z,te;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ie.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],ge.next=8,this.request(b);case 8:return te=ge.sent,ge.abrupt("return",{res:te.res,status:te.status});case 10:case"end":return ge.stop()}},ne,this)})),oe.apply(this,arguments)}fe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.getBucketInventory=void 0;var ie=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ae(ne,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee,a){var y,x,b,z,te=arguments;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return y=te.length>2&&te[2]!==void 0?te[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),ie.checkBucketName(ee),b=this._bucketRequestParams("GET",ee,x,y),b.successStatuses=[200],b.xmlResponse=!0,ge.next=8,this.request(b);case 8:return z=ge.sent,ge.abrupt("return",{status:z.status,res:z.res,inventory:ue.formatInventoryConfig(z.data)});case 10:case"end":return ge.stop()}},ne,this)})),oe.apply(this,arguments)}fe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,ne=E("../utils/formatObjKey"),ee=ne.formatObjKey,a=fe;a.getBucketLifecycle=function(){var y=(0,se.default)(re.default.mark(function b(z,te){var ce,ge,me;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ue(z),ce=this._bucketRequestParams("GET",z,"lifecycle",te),ce.successStatuses=[200],ce.xmlResponse=!0,pe.next=6,this.request(ce);case 6:return ge=pe.sent,me=ge.data.Rule||null,me&&(oe(me)||(me=[me]),me=me.map(function(be){return be.ID&&(be.id=be.ID,delete be.ID),be.Tag&&!oe(be.Tag)&&(be.Tag=[be.Tag]),ee(be,"firstLowerCase")})),pe.abrupt("return",{rules:me,res:ge.res});case 10:case"end":return pe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=fe;ae.getBucketVersioning=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y){var x,b,z;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ue(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],ce.next=6,this.request(x);case 6:return b=ce.sent,z=b.data.Status,ce.abrupt("return",{status:b.status,versionStatus:z,res:b.res});case 9:case"end":return ce.stop()}},ee,this)}));function ne(ee,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,he,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("../utils/isObject"),oe=ae.isObject,ne=fe;ne.getBucketWebsite=function(){var ee=(0,se.default)(re.default.mark(function y(x,b){var z,te,ce;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ue(x),z=this._bucketRequestParams("GET",x,"website",b),z.successStatuses=[200],z.xmlResponse=!0,me.next=6,this.request(z);case 6:return te=me.sent,ce=[],te.data.RoutingRules&&te.data.RoutingRules.RoutingRule&&(oe(te.data.RoutingRules.RoutingRule)?ce=[te.data.RoutingRules.RoutingRule]:ce=te.data.RoutingRules.RoutingRule),me.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:ce,error:te.data.ErrorDocument&&te.data.ErrorDocument.Key||null,res:te.res});case 10:case"end":return me.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.getBucketWorm=void 0;var ie=E("../utils/checkBucketName"),ue=E("../utils/dataFix");function ae(ne,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee,a){var y,x;return re.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ie.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()}},ne,this)})),oe.apply(this,arguments)}fe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.initiateBucketWorm=void 0;var ie=E("../utils/obj2xml"),ue=E("../utils/checkBucketName");function ae(ne,ee,a){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee,a,y){var x,b,z;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ue.checkBucketName(ee),x=this._bucketRequestParams("POST",ee,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=ie.obj2xml(b,{headers:!0}),x.successStatuses=[200],ce.next=8,this.request(x);case 8:return z=ce.sent,ce.abrupt("return",{res:z.res,wormId:z.res.headers["x-oss-worm-id"],status:z.status});case 10:case"end":return ce.stop()}},ne,this)})),oe.apply(this,arguments)}fe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.listBucketInventory=void 0;var ie=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ae(ne){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee){var a,y,x,b,z,te,ce,ge,me=arguments;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return a=me.length>1&&me[1]!==void 0?me[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),ie.checkBucketName(ee),b=this._bucketRequestParams("GET",ee,x,a),b.successStatuses=[200],b.xmlResponse=!0,pe.next=9,this.request(b);case 9:return z=pe.sent,te=z.data,ce=z.res,ge=z.status,pe.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:ue.formatInventoryConfig(te.InventoryConfiguration,!0),status:ge,res:ce});case 12:case"end":return pe.stop()}},ne,this)})),oe.apply(this,arguments)}fe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.putBucketInventory=void 0;var ie=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ae(ne,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee,a){var y,x,b,z,te,ce,ge,me,ve,pe,be,ye=arguments;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return y=ye.length>2&&ye[2]!==void 0?ye[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),ie.checkBucketName(ee),b=a.OSSBucketDestination,z=a.optionalFields,te=a.includedObjectVersions,ce="acs:oss:::",ge="acs:ram::".concat(b.accountId,":role/"),me={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(ge).concat(b.rolename),Bucket:"".concat(ce).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:te,OptionalFields:{Field:(z==null?void 0:z.field)||[]}}},ve=ue.obj2xml(me,{headers:!0,firstUpperCase:!0}),pe=this._bucketRequestParams("PUT",ee,x,y),pe.successStatuses=[200],pe.mime="xml",pe.content=ve,Pe.next=14,this.request(pe);case 14:return be=Pe.sent,Pe.abrupt("return",{status:be.status,res:be.res});case 16:case"end":return Pe.stop()}},ne,this)})),oe.apply(this,arguments)}fe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,ne=E("../utils/deepCopy"),ee=ne.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,z=E("../utils/checkObjectTag"),te=z.checkObjectTag,ce=E("../utils/getStrBytesCount"),ge=ce.getStrBytesCount,me=fe;me.putBucketLifecycle=function(){var Ee=(0,se.default)(re.default.mark(function Ae(Ce,_e,we){var Re,De,ke,Ie,qe;return re.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:if(ue(Ce),oe(_e)){We.next=3;break}throw new Error("rules must be Array");case 3:return Re=this._bucketRequestParams("PUT",Ce,"lifecycle",we),De=[],ke={LifecycleConfiguration:{Rule:De}},_e.forEach(function(Qe){ve(Qe),ye(Qe),Qe.id&&(Qe.ID=Qe.id,delete Qe.id),De.push(Qe)}),Ie=b(ke,{headers:!0,firstUpperCase:!0}),Re.content=Ie,Re.mime="xml",Re.successStatuses=[200],We.next=13,this.request(Re);case 13:return qe=We.sent,We.abrupt("return",{res:qe.res});case 15:case"end":return We.stop()}},Ae,this)}));function Pe(Ae,Ce,_e){return Ee.apply(this,arguments)}return Pe}();function ve(Ee){Ee.days&&(Ee.expiration={days:Ee.days}),Ee.date&&(Ee.expiration={createdBeforeDate:Ee.date})}function pe(Ee,Pe){var Ae=Ee.days,Ce=Ee.createdBeforeDate;if(!Ae&&!Ce)throw new Error("".concat(Pe," must includes days or createdBeforeDate"));if(Ae&&!/^[1-9][0-9]*$/.test(Ae))throw new Error("days must be a positive integer");if(Ce&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ce))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function be(Ee){if(!oe(Ee)&&!y(Ee))throw new Error("tag must be Object or Array");Ee=y(Ee)?[Ee]:Ee;var Pe={},Ae=ee(Ee);Ae.forEach(function(Ce){Pe[Ce.key]=Ce.value}),te(Pe)}function ye(Ee){if(Ee.id&&ge(Ee.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Ee.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Ee.status))throw new Error("Status must be Enabled or Disabled");if(Ee.transition){if(!["IA","Archive"].includes(Ee.transition.storageClass))throw new Error("StorageClass must be IA or Archive");pe(Ee.transition,"Transition")}if(Ee.expiration){if(!Ee.expiration.expiredObjectDeleteMarker)pe(Ee.expiration,"Expiration");else if(Ee.expiration.days||Ee.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Ee.abortMultipartUpload&&pe(Ee.abortMultipartUpload,"AbortMultipartUpload"),!Ee.expiration&&!Ee.abortMultipartUpload&&!Ee.transition&&!Ee.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Ee.tag){if(Ee.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");be(Ee.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,ne=fe;ne.putBucketVersioning=function(){var ee=(0,se.default)(re.default.mark(function y(x,b){var z,te,ce,ge,me=arguments;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(z=me.length>2&&me[2]!==void 0?me[2]:{},ue(x),["Enabled","Suspended"].includes(b)){pe.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return te=this._bucketRequestParams("PUT",x,"versioning",z),ce={VersioningConfiguration:{Status:b}},te.mime="xml",te.content=oe(ce,{headers:!0}),pe.next=10,this.request(te);case 10:return ge=pe.sent,pe.abrupt("return",{res:ge.res,status:ge.status});case 12:case"end":return pe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,ne=E("../utils/isArray"),ee=ne.isArray,a=fe;a.putBucketWebsite=function(){var y=(0,se.default)(re.default.mark(function b(z){var te,ce,ge,me,ve,pe,be,ye=arguments;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(te=ye.length>1&&ye[1]!==void 0?ye[1]:{},ce=ye.length>2?ye[2]:void 0,ue(z),ge=this._bucketRequestParams("PUT",z,"website",ce),me={Suffix:te.index||"index.html"},ve={IndexDocument:me},pe={WebsiteConfiguration:ve},te.supportSubDir&&(me.SupportSubDir=te.supportSubDir),te.type&&(me.Type=te.type),te.error&&(ve.ErrorDocument={Key:te.error}),te.routingRules===void 0){Pe.next=14;break}if(ee(te.routingRules)){Pe.next=13;break}throw new Error("RoutingRules must be Array");case 13:ve.RoutingRules={RoutingRule:te.routingRules};case 14:return pe=oe(pe),ge.content=pe,ge.mime="xml",ge.successStatuses=[200],Pe.next=20,this.request(ge);case 20:return be=Pe.sent,Pe.abrupt("return",{res:be.res});case 22:case"end":return Pe.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,fe){(function(le){(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"),fe.encodeCallback=function(se,ie){if(se.headers=se.headers||{},!Object.prototype.hasOwnProperty.call(se.headers,"x-oss-callback")&&ie.callback){var ue={callbackUrl:encodeURI(ie.callback.url),callbackBody:ie.callback.body};ie.callback.host&&(ue.callbackHost=ie.callback.host),ie.callback.contentType&&(ue.callbackBodyType=ie.callback.contentType);var ae=le.from(JSON.stringify(ue)).toString("base64");if(se.headers["x-oss-callback"]=ae,ie.callback.customValue){var oe={};Object.keys(ie.callback.customValue).forEach(function(ne){oe["x:".concat(ne)]=ie.callback.customValue[ne].toString()}),se.headers["x-oss-callback-var"]=le.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,fe){"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 le=function(ee){return ee&&ee.__esModule?ee:{default:ee}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.getReqUrl=void 0;var re=le(E("copy-to")),se=le(E("url")),ie=le(E("merge-descriptors")),ue=le(E("is-type-of")),ae=E("../utils/isIP"),oe=E("../utils/checkConfigValid");function ne(ee){var a={},y=this.options.cname;oe.checkConfigValid(this.options.endpoint,"endpoint"),re.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&&ie.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,ie.default(b,z)}return a.query=b,se.default.format(a)}fe.getReqUrl=ne},{"../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,fe){"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 le=E("humanize-ms"),re=E("url"),se=E("../utils/checkBucketName"),ie=se.checkBucketName,ue=E("../utils/setRegion"),ae=ue.setRegion,oe=E("../utils/checkConfigValid"),ne=oe.checkConfigValid;function ee(a,y){ne(a,"endpoint");var x=re.parse(a);if(x.protocol||(x=re.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&&ie(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=le(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,fe){"use strict";var le=E("merge-descriptors"),re=fe;le(re,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,he,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("querystring"),oe=E("js-base64"),ne=oe.Base64.encode,ee=fe;ee.processObjectSave=function(){var y=(0,se.default)(re.default.mark(function b(z,te,ce,ge){var me,ve,pe,be;return re.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return a(z,"sourceObject"),a(te,"targetObject"),a(ce,"process"),te=this._objectName(te),ge&&ue(ge),me=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),ve=ge?",b_".concat(ne(ge)):"",te=ne(te),pe={"x-oss-process":"".concat(ce,"|sys/saveas,o_").concat(te).concat(ve)},me.content=ae.stringify(pe),Ee.next=12,this.request(me);case 12:return be=Ee.sent,Ee.abrupt("return",{res:be.res,status:be.res.status});case 14:case"end":return Ee.stop()}},b,this)}));function x(b,z,te,ce){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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("debug")("ali-oss:multipart-copy"),ue=E("copy-to"),ae=fe;ae.uploadPartCopy=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y,x,b,z){var te,ce,ge,me,ve,pe=arguments;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return te=pe.length>5&&pe[5]!==void 0?pe[5]:{},te.headers=te.headers||{},ce=te.versionId||te.subres&&te.subres.versionId||null,ce?ge="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey),"?versionId=").concat(ce):ge="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey)),te.headers["x-oss-copy-source"]=ge,b&&(te.headers["x-oss-copy-source-range"]="bytes=".concat(b)),te.subres={partNumber:x,uploadId:y},me=this._objectRequestParams("PUT",a,te),me.mime=te.mime,me.successStatuses=[200],ye.next=12,this.request(me);case 12:return ve=ye.sent,ye.abrupt("return",{name:a,etag:ve.res.headers.etag,res:ve.res});case 14:case"end":return ye.stop()}},ee,this)}));function ne(ee,a,y,x,b){return oe.apply(this,arguments)}return ne}(),ae.multipartUploadCopy=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y){var x,b,z,te,ce,ge,me,ve,pe,be,ye,Ee,Pe=arguments;return re.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return x=Pe.length>2&&Pe[2]!==void 0?Pe[2]:{},this.resetCancelFlag(),b=x.versionId,z=b===void 0?null:b,te={versionId:z},Ce.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,te);case 6:if(ce=Ce.sent,ge=ce.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||ge,!(x.checkpoint&&x.checkpoint.uploadId)){Ce.next=14;break}return Ce.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return Ce.abrupt("return",Ce.sent);case 14:if(me=102400,ve=y.endOffset-y.startOffset,!(ve<me)){Ce.next=18;break}throw new Error("copySize must not be smaller than ".concat(me));case 18:if(!(x.partSize&&x.partSize<me)){Ce.next=20;break}throw new Error("partSize must not be smaller than ".concat(me));case 20:return Ce.next=22,this.initMultipartUpload(a,x);case 22:if(pe=Ce.sent,be=pe.uploadId,ye=this._getPartSize(ve,x.partSize),Ee={name:a,copySize:ve,partSize:ye,uploadId:be,doneParts:[]},!(x&&x.progress)){Ce.next=29;break}return Ce.next=29,x.progress(0,Ee,pe.res);case 29:return Ce.next=31,this._resumeMultipartCopy(Ee,y,x);case 31:return Ce.abrupt("return",Ce.sent);case 32:case"end":return Ce.stop()}},ee,this)}));function ne(ee,a){return oe.apply(this,arguments)}return ne}(),ae._resumeMultipartCopy=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y,x){var b,z,te,ce,ge,me,ve,pe,be,ye,Ee,Pe,Ae,Ce,_e,we,Re,De,ke,Ie,qe;return re.default.wrap(function(We){for(;;)switch(We.prev=We.next){case 0:if(!this.isCancel()){We.next=2;break}throw this._makeCancelEvent();case 2:if(b=x.versionId,z=b===void 0?null:b,te={versionId:z},ce=a.copySize,ge=a.partSize,me=a.uploadId,ve=a.doneParts,pe=a.name,be=this._divideMultipartCopyParts(ce,ge,y.startOffset),ye=be.length,Ee={headers:{}},x.copyheaders&&ue(x.copyheaders).to(Ee.headers),z&&ue(te).to(Ee),Pe=function(He,Fe,je){return new Promise(function(){var et=(0,se.default)(re.default.mark(function tt(st,Xe){var Ke,Me,Ye;return re.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(Be.prev=0,He.isCancel()){Be.next=22;break}return Ke=be[Fe-1],Me="".concat(Ke.start,"-").concat(Ke.end-1),Be.prev=4,Be.next=7,He.uploadPartCopy(pe,me,Fe,Me,je,Ee);case 7:Ye=Be.sent,Be.next=15;break;case 10:if(Be.prev=10,Be.t0=Be.catch(4),Be.t0.status!==404){Be.next=14;break}throw He._makeAbortEvent();case 14:throw Be.t0;case 15:if(He.isCancel()){Be.next=22;break}if(ie("content-range ".concat(Ye.res.headers["content-range"])),ve.push({number:Fe,etag:Ye.res.headers.etag}),a.doneParts=ve,!(x&&x.progress)){Be.next=22;break}return Be.next=22,x.progress(ve.length/ye,a,Ye.res);case 22:st(),Be.next=29;break;case 25:Be.prev=25,Be.t1=Be.catch(0),Be.t1.partNum=Fe,Xe(Be.t1);case 29:case"end":return Be.stop()}},tt,null,[[0,25],[4,10]])}));return function(tt,st){return et.apply(this,arguments)}}())},Ae=Array.from(new Array(ye),function(Qe,He){return He+1}),Ce=ve.map(function(Qe){return Qe.number}),_e=Ae.filter(function(Qe){return Ce.indexOf(Qe)<0}),we=5,Re=x.parallel||we,!(this.checkBrowserAndVersion("Internet Explorer","10")||Re===1)){We.next=28;break}De=0;case 18:if(!(De<_e.length)){We.next=26;break}if(!this.isCancel()){We.next=21;break}throw this._makeCancelEvent();case 21:return We.next=23,Pe(this,_e[De],y);case 23:De++,We.next=18;break;case 26:We.next=40;break;case 28:return We.next=30,this._parallelNode(_e,Re,Pe,y);case 30:if(ke=We.sent,Ie=ke.find(function(Qe){return Qe.name==="abort"}),!Ie){We.next=34;break}throw Ie;case 34:if(!this.isCancel()){We.next=36;break}throw this._makeCancelEvent();case 36:if(!(ke&&ke.length>0)){We.next=40;break}throw qe=ke[0],qe.message="Failed to copy some parts with error: ".concat(qe.toString()," part_num: ").concat(qe.partNum),qe;case 40:return We.next=42,this.completeMultipartUpload(pe,me,ve,x);case 42:return We.abrupt("return",We.sent);case 43:case"end":return We.stop()}},ee,this)}));function ne(ee,a,y){return oe.apply(this,arguments)}return ne}(),ae._divideMultipartCopyParts=function(ne,ee,a){for(var y=Math.ceil(ne/ee),x=[],b=0;b<y;b++){var z=ee*b+a,te=Math.min(z+ee,ne+a);x.push({start:z,end:te})}return x},ae._getObjectMeta=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y,x){var b,z;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return b=this.getBucket(),this.setBucket(a),ce.next=4,this.head(y,x);case 4:return z=ce.sent,this.setBucket(b),ce.abrupt("return",z);case 7:case"end":return ce.stop()}},ee,this)}));function ne(ee,a,y){return oe.apply(this,arguments)}return ne}()},{"@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,fe){(function(le){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),se=re(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 ie=re(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("copy-to"),ae=E("./callback"),oe=E("./utils/deepCopy"),ne=oe.deepCopyWith,ee=E("./utils/isBuffer"),a=ee.isBuffer,y=E("./utils/omit"),x=y.omit,b=fe;b.listUploads=function(){var z=(0,ie.default)(se.default.mark(function ce(ge,me){var ve,pe,be,ye;return se.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return me=me||{},ve={},ue(me).to(ve),ve.subres="uploads",pe=this._objectRequestParams("GET","",ve),pe.query=ge,pe.xmlResponse=!0,pe.successStatuses=[200],Pe.next=10,this.request(pe);case 10:return be=Pe.sent,ye=be.data.Upload||[],Array.isArray(ye)||(ye=[ye]),ye=ye.map(function(Ae){return{name:Ae.Key,uploadId:Ae.UploadId,initiated:Ae.Initiated}}),Pe.abrupt("return",{res:be.res,uploads:ye,bucket:be.data.Bucket,nextKeyMarker:be.data.NextKeyMarker,nextUploadIdMarker:be.data.NextUploadIdMarker,isTruncated:be.data.IsTruncated==="true"});case 15:case"end":return Pe.stop()}},ce,this)}));function te(ce,ge){return z.apply(this,arguments)}return te}(),b.listParts=function(){var z=(0,ie.default)(se.default.mark(function ce(ge,me,ve,pe){var be,ye,Ee;return se.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return pe=pe||{},be={},ue(pe).to(be),be.subres={uploadId:me},ye=this._objectRequestParams("GET",ge,be),ye.query=ve,ye.xmlResponse=!0,ye.successStatuses=[200],Ae.next=10,this.request(ye);case 10:return Ee=Ae.sent,Ae.abrupt("return",{res:Ee.res,uploadId:Ee.data.UploadId,bucket:Ee.data.Bucket,name:Ee.data.Key,partNumberMarker:Ee.data.PartNumberMarker,nextPartNumberMarker:Ee.data.NextPartNumberMarker,maxParts:Ee.data.MaxParts,isTruncated:Ee.data.IsTruncated,parts:Ee.data.Part||[]});case 12:case"end":return Ae.stop()}},ce,this)}));function te(ce,ge,me,ve){return z.apply(this,arguments)}return te}(),b.abortMultipartUpload=function(){var z=(0,ie.default)(se.default.mark(function ce(ge,me,ve){var pe,be,ye;return se.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return this._stop(),ve=ve||{},pe={},ue(ve).to(pe),pe.subres={uploadId:me},be=this._objectRequestParams("DELETE",ge,pe),be.successStatuses=[204],Pe.next=9,this.request(be);case 9:return ye=Pe.sent,Pe.abrupt("return",{res:ye.res});case 11:case"end":return Pe.stop()}},ce,this)}));function te(ce,ge,me){return z.apply(this,arguments)}return te}(),b.initMultipartUpload=function(){var z=(0,ie.default)(se.default.mark(function ce(ge,me){var ve,pe,be;return se.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return me=me||{},ve={},ue(me).to(ve),ve.headers=ve.headers||{},this._convertMetaToHeaders(me.meta,ve.headers),ve.subres="uploads",pe=this._objectRequestParams("POST",ge,ve),pe.mime=me.mime,pe.xmlResponse=!0,pe.successStatuses=[200],Ee.next=12,this.request(pe);case 12:return be=Ee.sent,Ee.abrupt("return",{res:be.res,bucket:be.data.Bucket,name:be.data.Key,uploadId:be.data.UploadId});case 14:case"end":return Ee.stop()}},ce,this)}));function te(ce,ge){return z.apply(this,arguments)}return te}(),b.uploadPart=function(){var z=(0,ie.default)(se.default.mark(function ce(ge,me,ve,pe,be,ye,Ee){var Pe,Ae;return se.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(Pe={size:ye-be},Ae=le&&le.browser,!Ae){_e.next=8;break}return _e.next=5,this._createBuffer(pe,be,ye);case 5:Pe.content=_e.sent,_e.next=11;break;case 8:return _e.next=10,this._createStream(pe,be,ye);case 10:Pe.stream=_e.sent;case 11:return _e.next=13,this._uploadPart(ge,me,ve,Pe,Ee);case 13:return _e.abrupt("return",_e.sent);case 14:case"end":return _e.stop()}},ce,this)}));function te(ce,ge,me,ve,pe,be,ye){return z.apply(this,arguments)}return te}(),b.completeMultipartUpload=function(){var z=(0,ie.default)(se.default.mark(function ce(ge,me,ve,pe){var be,ye,Ee,Pe,Ae,Ce,_e,we;return se.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:for(be=ve.concat().sort(function(ke,Ie){return ke.number-Ie.number}).filter(function(ke,Ie,qe){return!Ie||ke.number!==qe[Ie-1].number}),ye=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,Ee=0;Ee<be.length;Ee++)Pe=be[Ee],ye+=`<Part>
`,ye+="<PartNumber>".concat(Pe.number,`</PartNumber>
`),ye+="<ETag>".concat(Pe.etag,`</ETag>
`),ye+=`</Part>
`;return ye+="</CompleteMultipartUpload>",pe=pe||{},Ae={},Ae=ne(pe,function(ke){if(a(ke))return null}),Ae.subres={uploadId:me},Ae.headers=x(Ae.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ce=this._objectRequestParams("POST",ge,Ae),ae.encodeCallback(Ce,Ae),Ce.mime="xml",Ce.content=ye,Ce.headers&&Ce.headers["x-oss-callback"]||(Ce.xmlResponse=!0),Ce.successStatuses=[200],De.next=17,this.request(Ce);case 17:if(_e=De.sent,!pe.progress){De.next=21;break}return De.next=21,pe.progress(1,null,_e.res);case 21:return we={res:_e.res,bucket:Ce.bucket,name:ge,etag:_e.res.headers.etag},Ce.headers&&Ce.headers["x-oss-callback"]&&(we.data=JSON.parse(_e.data.toString())),De.abrupt("return",we);case 24:case"end":return De.stop()}},ce,this)}));function te(ce,ge,me,ve){return z.apply(this,arguments)}return te}(),b._uploadPart=function(){var z=(0,ie.default)(se.default.mark(function ce(ge,me,ve,pe,be){var ye,Ee,Pe,Ae;return se.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return be=be||{},ye={},ue(be).to(ye),ye.headers=ye.headers||{},ye.headers["Content-Length"]=pe.size,ye.headers=x(ye.headers,["x-oss-server-side-encryption"]),ye.subres={partNumber:ve,uploadId:me},Ee=this._objectRequestParams("PUT",ge,ye),Ee.mime=ye.mime,Pe=le&&le.browser,Pe?Ee.content=pe.content:Ee.stream=pe.stream,Ee.successStatuses=[200],Ee.disabledMD5=be.disabledMD5,_e.next=15,this.request(Ee);case 15:if(Ae=_e.sent,Ae.res.headers.etag){_e.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 pe.stream&&(pe.stream=null,Ee.stream=null),_e.abrupt("return",{name:ge,etag:Ae.res.headers.etag,res:Ae.res});case 20:case"end":return _e.stop()}},ce,this)}));function te(ce,ge,me,ve,pe){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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("url"),ue=E("utility"),ae=E("copy-to"),oe=E("../../common/signUtils"),ne=E("../utils/isIP"),ee=ne.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,z=fe;z.asyncSignatureUrl=function(){var te=(0,se.default)(re.default.mark(function ge(me,ve){var pe,be,ye,Ee,Pe;return re.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(!ee(this.options.endpoint.hostname)){Ce.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ve=ve||{},me=this._objectName(me),ve.method=ve.method||"GET",pe=ue.timestamp()+(ve.expires||1800),be={bucket:this.options.bucket,object:me},ye=this._getResource(be),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Ce.next=11;break}return Ce.next=11,y.call(this);case 11:return this.options.stsToken&&(ve["security-token"]=this.options.stsToken),Ee=oe._signatureForURL(this.options.accessKeySecret,ve,ye,pe),Pe=ie.parse(this._getReqUrl(be)),Pe.query={OSSAccessKeyId:this.options.accessKeyId,Expires:pe,Signature:Ee.Signature},ae(Ee.subResource).to(Pe.query),Ce.abrupt("return",Pe.format());case 17:case"end":return Ce.stop()}},ge,this)}));function ce(ge,me){return te.apply(this,arguments)}return ce}()},{"../../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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/typeof")),ie=le(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("../utils/checkBucketName"),ae=ue.checkBucketName,oe=fe,ne=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];oe.copy=function(){var ee=(0,ie.default)(re.default.mark(function y(x,b,z,te){var ce,ge,me;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return(0,se.default)(z)==="object"&&(te=z),te=te||{},te.headers=te.headers||{},Object.keys(te.headers).forEach(function(be){te.headers["x-oss-copy-source-".concat(be.toLowerCase())]=te.headers[be]}),(te.meta||Object.keys(te.headers).find(function(be){return ne.includes(be.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,ce=this._objectRequestParams("PUT",x,te),ce.xmlResponse=!0,ce.successStatuses=[200,304],pe.next=14,this.request(ce);case 14:return ge=pe.sent,me=ge.data,me&&(me={etag:me.ETag,lastModified:me.LastModified}),pe.abrupt("return",{data:me,res:ge.res});case 18:case"end":return pe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.delete=function(){var ue=(0,se.default)(re.default.mark(function oe(ne){var ee,a,y,x=arguments;return re.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",ne,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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("utility"),ue=E("../utils/obj2xml"),ae=ue.obj2xml,oe=fe;oe.deleteMulti=function(){var ne=(0,se.default)(re.default.mark(function a(y){var x,b,z,te,ce,ge,me,ve,pe,be,ye,Ee,Pe,Ae=arguments;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(x=Ae.length>1&&Ae[1]!==void 0?Ae[1]:{},b=[],!(!y||!y.length)){_e.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=ie.escape(this._objectName(y[z])):(ce=y[z],ge=ce.key,me=ce.versionId,te.Key=ie.escape(this._objectName(ge)),te.VersionId=me),b.push(te);return ve={Delete:{Quiet:!!x.quiet,Object:b}},pe=ae(ve,{headers:!0}),x.subres=Object.assign({delete:""},x.subres),x.versionId&&(x.subres.versionId=x.versionId),be=this._objectRequestParams("POST","",x),be.mime="xml",be.content=pe,be.xmlResponse=!0,be.successStatuses=[200],_e.next=16,this.request(be);case 16:return ye=_e.sent,Ee=ye.data,Pe=Ee&&Ee.Deleted||null,Pe&&(Array.isArray(Pe)||(Pe=[Pe])),_e.abrupt("return",{res:ye.res,deleted:Pe||[]});case 21:case"end":return _e.stop()}},a,this)}));function ee(a){return ne.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.deleteObjectTagging=function(){var ue=(0,se.default)(re.default.mark(function oe(ne){var ee,a,y,x=arguments;return re.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),ne=this._objectName(ne),a=this._objectRequestParams("DELETE",ne,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,fe){"use strict";E("core-js/modules/es.array.concat.js");var le=E("url"),re=E("../utils/isIP"),se=re.isIP,ie=fe;ie.generateObjectUrl=function(ae,oe){if(se(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 ne=le.parse(oe),ee=this.options.bucket;ne.hostname="".concat(ee,".").concat(ne.hostname),ne.host="".concat(ee,".").concat(ne.host),oe=ne.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,fe){(function(le){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),se=re(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=re(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("fs"),ae=E("is-type-of"),oe=fe;oe.get=function(){var ne=(0,ie.default)(se.default.mark(function a(y,x){var b,z,te,ce,ge,me,ve,pe,be=arguments;return se.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return b=be.length>2&&be[2]!==void 0?be[2]:{},z=null,te=!1,ae.writableStream(x)?z=x:ae.string(x)?(z=ue.createWriteStream(x),te=!0):b=x,b=b||{},ce=le&&le.browser,ge=b.responseCacheControl===null?"":"no-cache",me=ce&&ge?{"response-cache-control":ge}:{},b.subres=Object.assign(me,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Ee.prev=11,pe=this._objectRequestParams("GET",y,b),pe.writeStream=z,pe.successStatuses=[200,206,304],Ee.next=17,this.request(pe);case 17:ve=Ee.sent,te&&z.destroy(),Ee.next=28;break;case 21:if(Ee.prev=21,Ee.t0=Ee.catch(11),!te){Ee.next=27;break}return z.destroy(),Ee.next=27,this._deleteFileSafe(x);case 27:throw Ee.t0;case 28:return Ee.abrupt("return",{res:ve.res,content:ve.data});case 29:case"end":return Ee.stop()}},a,this,[[11,21]])}));function ee(a,y){return ne.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.getACL=function(){var ue=(0,se.default)(re.default.mark(function oe(ne){var ee,a,y,x=arguments;return re.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),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe,ue=E("../utils/isObject"),ae=ue.isObject,oe=E("../utils/isArray"),ne=oe.isArray;ie.getBucketVersions=ee,ie.listObjectVersions=ee;function ee(){return a.apply(this,arguments)}function a(){return a=(0,se.default)(re.default.mark(function b(){var z,te,ce,ge,me,ve,pe,be,ye=arguments;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.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)){Pe.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),ce=this._objectRequestParams("GET","",te),ce.xmlResponse=!0,ce.successStatuses=[200],ce.query=x(z),Pe.next=12,this.request(ce);case 12:return ge=Pe.sent,me=ge.data.Version||[],ve=ge.data.DeleteMarker||[],pe=this,me&&(Array.isArray(me)||(me=[me]),me=me.map(function(Ae){return{name:Ae.Key,url:pe._objectUrl(Ae.Key),lastModified:Ae.LastModified,isLatest:Ae.IsLatest==="true",versionId:Ae.VersionId,etag:Ae.ETag,type:Ae.Type,size:Number(Ae.Size),storageClass:Ae.StorageClass,owner:{id:Ae.Owner.ID,displayName:Ae.Owner.DisplayName}}})),ve&&(ne(ve)||(ve=[ve]),ve=ve.map(function(Ae){return{name:Ae.Key,lastModified:Ae.LastModified,versionId:Ae.VersionId,owner:{id:Ae.Owner.ID,displayName:Ae.Owner.DisplayName}}})),be=ge.data.CommonPrefixes||null,be&&(ne(be)||(be=[be]),be=be.map(function(Ae){return Ae.Prefix})),Pe.abrupt("return",{res:ge.res,objects:me,deleteMarker:ve,prefixes:be,nextMarker:ge.data.NextKeyMarker||null,NextVersionIdMarker:ge.data.NextVersionIdMarker||null,nextKeyMarker:ge.data.NextKeyMarker||null,nextVersionIdMarker:ge.data.NextVersionIdMarker||null,isTruncated:ge.data.IsTruncated==="true"});case 21:case"end":return Pe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.getObjectMeta=function(){var ue=(0,se.default)(re.default.mark(function oe(ne,ee){var a,y;return re.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ee=ee||{},ne=this._objectName(ne),ee.subres=Object.assign({objectMeta:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),a=this._objectRequestParams("HEAD",ne,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,ne){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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe,ue=E("../utils/isObject"),ae=ue.isObject;ie.getObjectTagging=function(){var oe=(0,se.default)(re.default.mark(function ee(a){var y,x,b,z,te,ce,ge=arguments;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return y=ge.length>1&&ge[1]!==void 0?ge[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],ve.next=8,this.request(x);case 8:return b=ve.sent,ve.next=11,this.parseXML(b.data);case 11:return z=ve.sent,te=z.TagSet.Tag,te=te&&ae(te)?[te]:te||[],ce={},te.forEach(function(pe){ce[pe.Key]=pe.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:ce});case 17:case"end":return ve.stop()}},ee,this)}));function ne(ee){return oe.apply(this,arguments)}return ne}()},{"../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,fe){"use strict";var le=E("../utils/isIP"),re=le.isIP,se=fe;se.getObjectUrl=function(ue,ae){if(re(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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.getSymlink=function(){var ue=(0,se.default)(re.default.mark(function oe(ne){var ee,a,y,x,b=arguments;return re.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),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkEnv"),ue=ie.checkEnv,ae=fe;ae.head=function(){var oe=(0,se.default)(re.default.mark(function ee(a){var y,x,b,z,te=arguments;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.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],ge.next=8,this.request(x);case 8:return b=ge.sent,z={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(me){me.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[me.substring(11)]=b.headers[me])}),ge.abrupt("return",z);case 12:case"end":return ge.stop()}},ee,this)}));function ne(ee){return oe.apply(this,arguments)}return ne}()},{"../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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.putACL=function(){var ue=(0,se.default)(re.default.mark(function oe(ne,ee,a){var y,x;return re.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,ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,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,ne,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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/obj2xml"),ue=ie.obj2xml,ae=E("../utils/checkObjectTag"),oe=ae.checkObjectTag,ne=fe;ne.putObjectTagging=function(){var ee=(0,se.default)(re.default.mark(function y(x,b){var z,te,ce,ge,me=arguments;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return z=me.length>2&&me[2]!==void 0?me[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(be){return{Key:be,Value:b[be]}}),ce={Tagging:{TagSet:{Tag:b}}},te.mime="xml",te.content=ue(ce),pe.next=13,this.request(te);case 13:return ge=pe.sent,pe.abrupt("return",{res:ge.res,status:ge.status});case 15:case"end":return pe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.putSymlink=function(){var ue=(0,se.default)(re.default.mark(function oe(ne,ee,a){var y,x;return re.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),ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,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,ne,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,fe){"use strict";var le=E("url"),re=E("utility"),se=E("copy-to"),ie=E("../../common/signUtils"),ue=E("../utils/isIP"),ae=ue.isIP,oe=fe;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=re.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=ie._signatureForURL(this.options.accessKeySecret,a,b,y),te=le.parse(this._getReqUrl(x));return te.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:z.Signature},se(z.subResource).to(te.query),te.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,he,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("./utils/isArray"),ue=ie.isArray,ae=fe;ae._parallelNode=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y,x,b){var z,te,ce,ge,me,ve,pe,be;return re.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:z=this,te=[],ce=[],ge=a.length/y,me=a.length%y,ve=me===0?ge:(a.length-me)/y+1,pe=1,be=0;case 8:if(!(be<a.length)){Ee.next=26;break}if(!z.isCancel()){Ee.next=11;break}return Ee.abrupt("break",26);case 11:if(b?ce.push(x(z,a[be],b)):ce.push(x(z,a[be])),!(ce.length===y||pe===ve&&be===a.length-1)){Ee.next=23;break}return Ee.prev=13,pe+=1,Ee.next=17,Promise.all(ce);case 17:Ee.next=22;break;case 19:Ee.prev=19,Ee.t0=Ee.catch(13),te.push(Ee.t0);case 22:ce=[];case 23:be++,Ee.next=8;break;case 26:return Ee.abrupt("return",te);case 27:case"end":return Ee.stop()}},ee,this,[[13,19]])}));function ne(ee,a,y,x){return oe.apply(this,arguments)}return ne}(),ae._parallel=function(ne,ee,a){var y=this;return new Promise(function(x){var b=[];if(ee<=0||!ne){x(b);return}function z(Ee){return function(){if(Ee===null)throw new Error("Callback was already called.");var Pe=Ee;Ee=null;for(var Ae=arguments.length,Ce=new Array(Ae),_e=0;_e<Ae;_e++)Ce[_e]=arguments[_e];Pe.apply(this,Ce)}}function te(Ee){var Pe=-1,Ae=Ee.length;return function(){return++Pe<Ae&&!y.isCancel()?{value:Ee[Pe],key:Pe}:null}}var ce=te(ne),ge=!1,me=0,ve=!1;function pe(Ee){me-=1,Ee?(ge=!0,b.push(Ee),x(b)):ge&&me<=0?(ge=!0,x(b)):ve||(y.isCancel()?x(b):ye())}function be(Ee,Pe){a(Ee).then(function(Ae){Pe(null,Ae)}).catch(function(Ae){Pe(Ae)})}function ye(){for(ve=!0;me<ee&&!ge&&!y.isCancel();){var Ee=ce();if(Ee===null||b.length>0){ge=!0,me<=0&&x(b);return}me+=1,be(Ee.value,z(pe))}ve=!1}ye()})},ae.cancel=function(ne){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=[],ne&&this.abortMultipartUpload(ne.name,ne.uploadId,ne.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 ne={status:0,name:"cancel"};return ne},ae._makeAbortEvent=function(){var ne={status:0,name:"abort",message:"upload task has been abort"};return ne}},{"./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,fe){(function(le){(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 re=E("./../../shims/crypto/crypto.js"),se=E("is-type-of"),ie=E("./utils/lowercaseKeyHeader"),ue=ie.lowercaseKeyHeader;fe.buildCanonicalizedResource=function(oe,ne){var ee="".concat(oe),a="?";if(se.string(ne)&&ne.trim()!=="")ee+=a+ne;else if(se.array(ne))ne.sort(),ee+=a+ne.join("&");else if(ne){var y=function(z,te){return z[0]>te[0]?1:z[0]<te[0]?-1:0},x=function(z){ee+=a+z,(ne[z]||ne[z]===0)&&(ee+="=".concat(ne[z])),a="&"};Object.keys(ne).sort(y).forEach(x)}return ee},fe.buildCanonicalString=function(oe,ne,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(ce){var ge=ce.toLowerCase();ge.indexOf(x)===0&&(z[ge]=String(y[ce]).trim())}),Object.keys(z).sort().forEach(function(ce){b.push("".concat(ce,":").concat(z[ce]))}),te=te.concat(b),te.push(this.buildCanonicalizedResource(ne,ee.parameters)),te.join(`
`)},fe.computeSignature=function(oe,ne){var ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=re.createHmac("sha1",oe);return a.update(le.from(ne,ee)).digest("base64")},fe.authorization=function(oe,ne,ee,a){return"OSS ".concat(oe,":").concat(this.computeSignature(ne,ee,a))},fe._signatureForURL=function(oe){var ne=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=ne.subResource,z=b===void 0?{}:b;if(ne.process){var te="x-oss-process";z[te]=ne.process}if(ne.trafficLimit){var ce="x-oss-traffic-limit";z[ce]=ne.trafficLimit}if(ne.response&&Object.keys(ne.response).forEach(function(pe){var be="response-".concat(pe.toLowerCase());z[be]=ne.response[pe]}),Object.keys(ne).forEach(function(pe){var be=pe.toLowerCase(),ye=ne[pe];be.indexOf("x-oss-")===0?x[be]=ye:(be.indexOf("content-md5")===0||be.indexOf("content-type")===0)&&(x[pe]=ye)}),Object.prototype.hasOwnProperty.call(ne,"security-token")&&(z["security-token"]=ne["security-token"]),Object.prototype.hasOwnProperty.call(ne,"callback")){var ge={callbackUrl:encodeURI(ne.callback.url),callbackBody:ne.callback.body};if(ne.callback.host&&(ge.callbackHost=ne.callback.host),ne.callback.contentType&&(ge.callbackBodyType=ne.callback.contentType),z.callback=le.from(JSON.stringify(ge)).toString("base64"),ne.callback.customValue){var me={};Object.keys(ne.callback.customValue).forEach(function(pe){me["x:".concat(pe)]=ne.callback.customValue[pe]}),z["callback-var"]=le.from(JSON.stringify(me)).toString("base64")}}var ve=this.buildCanonicalString(ne.method,ee,{headers:x,parameters:z},a.toString());return{Signature:this.computeSignature(oe,ve,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,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkBucketName=void 0,fe.checkBucketName=function(le){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,se=re?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!se.test(le))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,he,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkConfigValid=void 0;var le={endpoint:re,region:/^[a-zA-Z0-9\-_]+$/};function re(se){return typeof se=="string"?/^[a-zA-Z0-9._:/-]+$/.test(se):se.host?/^[a-zA-Z0-9._:/-]+$/.test(se.host):!1}fe.checkConfigValid=function(se,ie){if(le[ie]){var ue=!0;if(le[ie]instanceof Function?ue=le[ie](se):ue=le[ie].test(se),!ue)throw new Error("The ".concat(ie," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,he,fe){(function(le){(function(){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkEnv=void 0;function re(se){le.browser&&console.warn(se)}fe.checkEnv=re}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,he,fe){"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(fe,"__esModule",{value:!0}),fe.checkObjectTag=void 0;var le=E("./checkValid"),re=le.checkValid,se=E("./isObject"),ie=se.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(ne){if(!ie(ne))throw new Error("tag must be Object");var ee=Object.entries(ne);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){re(x,ae[a[b]])})})}fe.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,fe){"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(fe,"__esModule",{value:!0}),fe.checkValid=void 0;function le(re,se){se.forEach(function(ie){if(ie.validator)ie.validator(re);else if(ie.pattern&&!ie.pattern.test(re))throw new Error(ie.msg)})}fe.checkValid=le},{"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,fe){(function(le){(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(fe,"__esModule",{value:!0}),fe.createRequest=void 0;var re=E("./../../../shims/crypto/crypto.js"),se=E("debug")("ali-oss"),ie=E("mime"),ue=E("dateformat"),ae=E("copy-to"),oe=E("path"),ne=E("./encoder"),ee=ne.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,z=E("../client/getReqUrl"),te=z.getReqUrl,ce=E("./isDingTalk"),ge=ce.isDingTalk;function me(be,ye){return be[ye]||be[ye.toLowerCase()]}function ve(be,ye){delete be[ye],delete be[ye.toLowerCase()]}function pe(be){var ye=new Date;this.options.amendTimeSkewed&&(ye=+new Date+this.options.amendTimeSkewed);var Ee={"x-oss-date":ue(ye,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Ee["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Ee["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Ee,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Ee["x-oss-security-token"]=this.options.stsToken),ae(be.headers).to(Ee),me(Ee,"Content-Type")||(be.mime&&be.mime.indexOf("/")>0?Ee["Content-Type"]=be.mime:ge()?Ee["Content-Type"]="application/octet-stream":Ee["Content-Type"]=ie.getType(be.mime||oe.extname(be.object||""))),me(Ee,"Content-Type")||ve(Ee,"Content-Type"),be.content&&(be.disabledMD5||(!be.headers||!be.headers["Content-MD5"]?Ee["Content-MD5"]=re.createHash("md5").update(le.from(be.content,"utf8")).digest("base64"):Ee["Content-MD5"]=be.headers["Content-MD5"]),Ee["Content-Length"]||(Ee["Content-Length"]=be.content.length));var Pe=Object.prototype.hasOwnProperty;for(var Ae in Ee)Ee[Ae]&&Pe.call(Ee,Ae)&&(Ee[Ae]=ee(String(Ee[Ae]),this.options.headerEncoding));var Ce=this._getResource(be);if(Ee.authorization=this.authorization(be.method,Ce,be.subres,Ee,this.options.headerEncoding),y(this.options.endpoint.hostname)){var _e=this.options,we=_e.region,Re=_e.internal,De=_e.secure,ke=b(we,Re,De);Ee.host="".concat(be.bucket,".").concat(ke.host)}var Ie=te.bind(this)(be);se("request %s %s, with headers %j, !!stream: %s",be.method,Ie,Ee,!!be.stream);var qe=be.timeout||this.options.timeout,Je={method:be.method,content:be.content,stream:be.stream,headers:Ee,timeout:qe,writeStream:be.writeStream,customResponse:be.customResponse,ctx:be.ctx||this.ctx};return this.agent&&(Je.agent=this.agent),this.httpsAgent&&(Je.httpsAgent=this.httpsAgent),Je.enableProxy=!!this.options.enableProxy,Je.proxy=this.options.proxy?this.options.proxy:null,{url:Ie,params:Je}}fe.createRequest=pe}).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,fe){"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(fe,"__esModule",{value:!0}),fe.dataFix=void 0;var le=E("./isObject"),re=["true","TRUE","1",1],se=["false","FALSE","0",0];function ie(oe,ne,ee){if(le.isObject(oe)){var a=ne.remove,y=a===void 0?[]:a,x=ne.rename,b=x===void 0?{}:x,z=ne.camel,te=z===void 0?[]:z,ce=ne.bool,ge=ce===void 0?[]:ce,me=ne.lowerFirst,ve=me===void 0?!1:me;return y.forEach(function(pe){return delete oe[pe]}),Object.entries(b).forEach(function(pe){oe[pe[0]]&&(oe[pe[1]]||(oe[pe[1]]=oe[pe[0]],delete oe[pe[0]]))}),te.forEach(function(pe){if(oe[pe]){var be=pe.replace(/^(.)/,function(ye){return ye.toLowerCase()}).replace(/-(\w)/g,function(ye,Ee){return Ee.toUpperCase()});oe[be]||(oe[be]=oe[pe])}}),ge.forEach(function(pe){oe[pe]=ue(oe[pe])}),typeof ee=="function"&&ee(oe),ae(oe,ve),ie}}fe.dataFix=ie;function ue(oe){return oe?re.includes(oe)?!0:se.includes(oe)?!1:oe:!1}function ae(oe,ne){ne&&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,fe){"use strict";var le=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 re=le(E("@babel/runtime/helpers/typeof"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.deepCopyWith=fe.deepCopy=void 0;var se=E("./isBuffer");fe.deepCopy=function(ie){if(ie===null||(0,re.default)(ie)!=="object")return ie;if(se.isBuffer(ie))return ie.slice();var ue=Array.isArray(ie)?[]:{};return Object.keys(ie).forEach(function(ae){ue[ae]=fe.deepCopy(ie[ae])}),ue},fe.deepCopyWith=function(ie,ue){function ae(oe,ne,ee){var a=ue(oe,ne,ee);if(a!==void 0)return a;if(oe===null||(0,re.default)(oe)!=="object")return oe;if(se.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(ie,"",null):fe.deepCopy(ie)}},{"./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,fe){(function(le){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.encoder=void 0;function re(se){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return ie==="utf-8"?se:le.from(se).toString("latin1")}fe.encoder=re}).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,fe){"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(fe,"__esModule",{value:!0}),fe.formatInventoryConfig=void 0;var le=E("../utils/dataFix"),re=E("../utils/isObject"),se=E("../utils/isArray"),ie=E("../utils/formatObjKey");function ue(oe){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ne&&re.isObject(oe)&&(oe=[oe]),se.isArray(oe)?oe=oe.map(ae):oe=ae(oe),oe}fe.formatInventoryConfig=ue;function ae(oe){return le.dataFix(oe,{bool:["IsEnabled"]},function(ne){var ee,a;ne.prefix=ne.Filter.Prefix,delete ne.Filter,ne.OSSBucketDestination=ne.Destination.OSSBucketDestination,ne.OSSBucketDestination.rolename=ne.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ne.OSSBucketDestination.RoleArn,ne.OSSBucketDestination.bucket=ne.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ne.OSSBucketDestination.Bucket,delete ne.Destination,ne.frequency=ne.Schedule.Frequency,delete ne.Schedule.Frequency,!((ee=ne==null?void 0:ne.OptionalFields)===null||ee===void 0)&&ee.Field&&!se.isArray((a=ne.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ne.OptionalFields.Field=[ne.OptionalFields.Field])}),oe=ie.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,fe){"use strict";var le=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 re=le(E("@babel/runtime/helpers/typeof"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.formatObjKey=void 0;function se(ue,ae,oe){if(ue===null||(0,re.default)(ue)!=="object")return ue;var ne;if(Array.isArray(ue)){ne=[];for(var ee=0;ee<ue.length;ee++)ne.push(se(ue[ee],ae,oe))}else ne={},Object.keys(ue).forEach(function(a){ne[ie(a,ae,oe)]=se(ue[a],ae,oe)});return ne}fe.formatObjKey=se;function ie(ue,ae,oe){return oe&&oe.exclude&&oe.exclude.includes(ue)||(ae==="firstUpperCase"?ue=ue.replace(/^./,function(ne){return ne.toUpperCase()}):ae==="firstLowerCase"&&(ue=ue.replace(/^./,function(ne){return ne.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,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.getStrBytesCount=void 0;function le(re){for(var se=0,ie=0;ie<re.length;ie++){var ue=re.charAt(ie);/^[\u00-\uff]$/.test(ue)?se+=1:se+=2}return se}fe.getStrBytesCount=le},{"core-js/modules/es.regexp.exec.js":300}],63:[function(E,he,fe){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.isArray=void 0,fe.isArray=function(le){return Object.prototype.toString.call(le)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(E,he,fe){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isBlob=void 0;function le(re){return typeof Blob!="undefined"&&re instanceof Blob}fe.isBlob=le},{}],65:[function(E,he,fe){(function(le){(function(){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isBuffer=void 0;function re(se){return le.isBuffer(se)}fe.isBuffer=re}).call(this)}).call(this,{isBuffer:E("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(E,he,fe){(function(le){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.isDingTalk=void 0;function re(){return!!(le.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}fe.isDingTalk=re}).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,fe){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isFile=void 0,fe.isFile=function(le){return typeof File!="undefined"&&le instanceof File}},{}],68:[function(E,he,fe){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isFunction=void 0,fe.isFunction=function(le){return typeof le=="function"}},{}],69:[function(E,he,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.isIP=void 0,fe.isIP=function(le){var re=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,se=/^\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 re.test(le)||se.test(le)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(E,he,fe){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.isObject=void 0,fe.isObject=function(le){return Object.prototype.toString.call(le)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(E,he,fe){"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(fe,"__esModule",{value:!0}),fe.lowercaseKeyHeader=void 0;var le=E("./isObject");function re(se){var ie={};return le.isObject(se)&&Object.keys(se).forEach(function(ue){ie[ue.toLowerCase()]=se[ue]}),ie}fe.lowercaseKeyHeader=re},{"./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,fe){"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(fe,"__esModule",{value:!0}),fe.obj2xml=void 0;var le=E("./formatObjKey");function re(ie){return Object.prototype.toString.call(ie).replace(/(.*? |])/g,"").toLowerCase()}function se(ie,ue){var ae="";return ue&&ue.headers&&(ae=`<?xml version="1.0" encoding="UTF-8"?>
`),ue&&ue.firstUpperCase&&(ie=le.formatObjKey(ie,"firstUpperCase")),re(ie)==="object"?Object.keys(ie).forEach(function(oe){re(ie[oe])!=="undefined"&&re(ie[oe])!=="null"&&(re(ie[oe])==="string"||re(ie[oe])==="number"?ae+="<".concat(oe,">").concat(ie[oe],"</").concat(oe,">"):re(ie[oe])==="object"?ae+="<".concat(oe,">").concat(se(ie[oe]),"</").concat(oe,">"):re(ie[oe])==="array"?ae+=ie[oe].map(function(ne){return"<".concat(oe,">").concat(se(ne),"</").concat(oe,">")}).join(""):ae+="<".concat(oe,">").concat(ie[oe].toString(),"</").concat(oe,">"))}):ae+=ie.toString(),ae}fe.obj2xml=se},{"./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,fe){"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 le(ue,ae){var oe=typeof Symbol!="undefined"&&ue[Symbol.iterator]||ue["@@iterator"];if(!oe){if(Array.isArray(ue)||(oe=re(ue))||ae&&ue&&typeof ue.length=="number"){oe&&(ue=oe);var ne=0,ee=function(){};return{s:ee,n:function(){return ne>=ue.length?{done:!0}:{done:!1,value:ue[ne++]}},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 re(ue,ae){if(ue){if(typeof ue=="string")return se(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 se(ue,ae)}}function se(ue,ae){(ae==null||ae>ue.length)&&(ae=ue.length);for(var oe=0,ne=new Array(ae);oe<ae;oe++)ne[oe]=ue[oe];return ne}Object.defineProperty(fe,"__esModule",{value:!0}),fe.omit=void 0;function ie(ue,ae){var oe=Object.assign({},ue),ne=le(ae),ee;try{for(ne.s();!(ee=ne.n()).done;){var a=ee.value;delete oe[a]}}catch(y){ne.e(y)}finally{ne.f()}return oe}fe.omit=ie},{"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,fe){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.retry=void 0;function le(re,se){var ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ue=0,ae=ie.retryDelay,oe=ae===void 0?500:ae,ne=ie.errorHandler,ee=ne===void 0?function(){return!0}:ne,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,ce){re.apply(void 0,b).then(function(ge){ue=0,te(ge)}).catch(function(ge){ue<se&&ee(ge)?(ue++,setTimeout(function(){te(y.apply(void 0,b))},oe)):(ue=0,ce(ge))})})};return a}fe.retry=le},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(E,he,fe){"use strict";var le=function(ue){return ue&&ue.__esModule?ue:{default:ue}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.setRegion=void 0;var re=le(E("url")),se=E("./checkConfigValid");function ie(ue){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;se.checkConfigValid(ue,"region");var ne=oe?"https://":"http://",ee=ae?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ue.substr(0,a.length)===a&&(ee=".aliyuncs.com"),re.default.parse(ne+ue+ee)}fe.setRegion=ie},{"./checkConfigValid":52,url:472}],76:[function(E,he,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkCredentials=fe.setSTSToken=void 0;var ie=E("./formatObjKey");function ue(){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(re.default.mark(function ne(){var ee,a;return re.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=ie.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()}},ne,this)})),ae.apply(this,arguments)}fe.setSTSToken=ue;function oe(ne){var ee=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ne);ee.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}fe.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,fe){function le(se,ie,ue,ae,oe,ne,ee){try{var a=se[ne](ee),y=a.value}catch(x){ue(x);return}a.done?ie(y):Promise.resolve(y).then(ae,oe)}function re(se){return function(){var ie=this,ue=arguments;return new Promise(function(ae,oe){var ne=se.apply(ie,ue);function ee(y){le(ne,ae,oe,ee,a,"next",y)}function a(y){le(ne,ae,oe,ee,a,"throw",y)}ee(void 0)})}}he.exports=re,he.exports.__esModule=!0,he.exports.default=he.exports},{}],78:[function(E,he,fe){function le(re){return re&&re.__esModule?re:{default:re}}he.exports=le,he.exports.__esModule=!0,he.exports.default=he.exports},{}],79:[function(E,he,fe){function le(re){"@babel/helpers - typeof";return he.exports=le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},he.exports.__esModule=!0,he.exports.default=he.exports,le(re)}he.exports=le,he.exports.__esModule=!0,he.exports.default=he.exports},{}],80:[function(E,he,fe){he.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,he,fe){he.exports=le,he.exports.HttpsAgent=le;function le(){}},{}],82:[function(E,he,fe){(function(le){(function(){"use strict";var re=E("object-assign");function se(we,Re){if(we===Re)return 0;for(var De=we.length,ke=Re.length,Ie=0,qe=Math.min(De,ke);Ie<qe;++Ie)if(we[Ie]!==Re[Ie]){De=we[Ie],ke=Re[Ie];break}return De<ke?-1:ke<De?1:0}function ie(we){return le.Buffer&&typeof le.Buffer.isBuffer=="function"?le.Buffer.isBuffer(we):!!(we!=null&&we._isBuffer)}var ue=E("util/"),ae=Object.prototype.hasOwnProperty,oe=Array.prototype.slice,ne=function(){return function(){}.name==="foo"}();function ee(we){return Object.prototype.toString.call(we)}function a(we){return ie(we)||typeof le.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(we):we?!!(we instanceof DataView||we.buffer&&we.buffer instanceof ArrayBuffer):!1}var y=he.exports=me,x=/\s*function\s+([^\(\s]*)\s*/;function b(we){if(ue.isFunction(we)){if(ne)return we.name;var Re=we.toString(),De=Re.match(x);return De&&De[1]}}y.AssertionError=function(Re){this.name="AssertionError",this.actual=Re.actual,this.expected=Re.expected,this.operator=Re.operator,Re.message?(this.message=Re.message,this.generatedMessage=!1):(this.message=ce(this),this.generatedMessage=!0);var De=Re.stackStartFunction||ge;if(Error.captureStackTrace)Error.captureStackTrace(this,De);else{var ke=new Error;if(ke.stack){var Ie=ke.stack,qe=b(De),Je=Ie.indexOf(`
`+qe);if(Je>=0){var We=Ie.indexOf(`
`,Je+1);Ie=Ie.substring(We+1)}this.stack=Ie}}},ue.inherits(y.AssertionError,Error);function z(we,Re){return typeof we=="string"?we.length<Re?we:we.slice(0,Re):we}function te(we){if(ne||!ue.isFunction(we))return ue.inspect(we);var Re=b(we),De=Re?": "+Re:"";return"[Function"+De+"]"}function ce(we){return z(te(we.actual),128)+" "+we.operator+" "+z(te(we.expected),128)}function ge(we,Re,De,ke,Ie){throw new y.AssertionError({message:De,actual:we,expected:Re,operator:ke,stackStartFunction:Ie})}y.fail=ge;function me(we,Re){we||ge(we,!0,Re,"==",y.ok)}y.ok=me,y.equal=function(Re,De,ke){Re!=De&&ge(Re,De,ke,"==",y.equal)},y.notEqual=function(Re,De,ke){Re==De&&ge(Re,De,ke,"!=",y.notEqual)},y.deepEqual=function(Re,De,ke){ve(Re,De,!1)||ge(Re,De,ke,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(Re,De,ke){ve(Re,De,!0)||ge(Re,De,ke,"deepStrictEqual",y.deepStrictEqual)};function ve(we,Re,De,ke){if(we===Re)return!0;if(ie(we)&&ie(Re))return se(we,Re)===0;if(ue.isDate(we)&&ue.isDate(Re))return we.getTime()===Re.getTime();if(ue.isRegExp(we)&&ue.isRegExp(Re))return we.source===Re.source&&we.global===Re.global&&we.multiline===Re.multiline&&we.lastIndex===Re.lastIndex&&we.ignoreCase===Re.ignoreCase;if((we===null||typeof we!="object")&&(Re===null||typeof Re!="object"))return De?we===Re:we==Re;if(a(we)&&a(Re)&&ee(we)===ee(Re)&&!(we instanceof Float32Array||we instanceof Float64Array))return se(new Uint8Array(we.buffer),new Uint8Array(Re.buffer))===0;if(ie(we)!==ie(Re))return!1;ke=ke||{actual:[],expected:[]};var Ie=ke.actual.indexOf(we);return Ie!==-1&&Ie===ke.expected.indexOf(Re)?!0:(ke.actual.push(we),ke.expected.push(Re),be(we,Re,De,ke))}function pe(we){return Object.prototype.toString.call(we)=="[object Arguments]"}function be(we,Re,De,ke){if(we==null||Re===null||Re===void 0)return!1;if(ue.isPrimitive(we)||ue.isPrimitive(Re))return we===Re;if(De&&Object.getPrototypeOf(we)!==Object.getPrototypeOf(Re))return!1;var Ie=pe(we),qe=pe(Re);if(Ie&&!qe||!Ie&&qe)return!1;if(Ie)return we=oe.call(we),Re=oe.call(Re),ve(we,Re,De);var Je=_e(we),We=_e(Re),Qe,He;if(Je.length!==We.length)return!1;for(Je.sort(),We.sort(),He=Je.length-1;He>=0;He--)if(Je[He]!==We[He])return!1;for(He=Je.length-1;He>=0;He--)if(Qe=Je[He],!ve(we[Qe],Re[Qe],De,ke))return!1;return!0}y.notDeepEqual=function(Re,De,ke){ve(Re,De,!1)&&ge(Re,De,ke,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ye;function ye(we,Re,De){ve(we,Re,!0)&&ge(we,Re,De,"notDeepStrictEqual",ye)}y.strictEqual=function(Re,De,ke){Re!==De&&ge(Re,De,ke,"===",y.strictEqual)},y.notStrictEqual=function(Re,De,ke){Re===De&&ge(Re,De,ke,"!==",y.notStrictEqual)};function Ee(we,Re){if(!we||!Re)return!1;if(Object.prototype.toString.call(Re)=="[object RegExp]")return Re.test(we);try{if(we instanceof Re)return!0}catch(De){}return Error.isPrototypeOf(Re)?!1:Re.call({},we)===!0}function Pe(we){var Re;try{we()}catch(De){Re=De}return Re}function Ae(we,Re,De,ke){var Ie;if(typeof Re!="function")throw new TypeError('"block" argument must be a function');typeof De=="string"&&(ke=De,De=null),Ie=Pe(Re),ke=(De&&De.name?" ("+De.name+").":".")+(ke?" "+ke:"."),we&&!Ie&&ge(Ie,De,"Missing expected exception"+ke);var qe=typeof ke=="string",Je=!we&&ue.isError(Ie),We=!we&&Ie&&!De;if((Je&&qe&&Ee(Ie,De)||We)&&ge(Ie,De,"Got unwanted exception"+ke),we&&Ie&&De&&!Ee(Ie,De)||!we&&Ie)throw Ie}y.throws=function(we,Re,De){Ae(!0,we,Re,De)},y.doesNotThrow=function(we,Re,De){Ae(!1,we,Re,De)},y.ifError=function(we){if(we)throw we};function Ce(we,Re){we||ge(we,!0,Re,"==",Ce)}y.strict=re(Ce,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var _e=Object.keys||function(we){var Re=[];for(var De in we)ae.call(we,De)&&Re.push(De);return Re}}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,he,fe){typeof Object.create=="function"?he.exports=function(re,se){re.super_=se,re.prototype=Object.create(se.prototype,{constructor:{value:re,enumerable:!1,writable:!0,configurable:!0}})}:he.exports=function(re,se){re.super_=se;var ie=function(){};ie.prototype=se.prototype,re.prototype=new ie,re.prototype.constructor=re}},{}],84:[function(E,he,fe){he.exports=function(re){return re&&typeof re=="object"&&typeof re.copy=="function"&&typeof re.fill=="function"&&typeof re.readUInt8=="function"}},{}],85:[function(E,he,fe){(function(le,re){(function(){var se=/%[sdj%]/g;fe.format=function(We){if(!be(We)){for(var Qe=[],He=0;He<arguments.length;He++)Qe.push(ae(arguments[He]));return Qe.join(" ")}for(var He=1,Fe=arguments,je=Fe.length,et=String(We).replace(se,function(st){if(st==="%%")return"%";if(He>=je)return st;switch(st){case"%s":return String(Fe[He++]);case"%d":return Number(Fe[He++]);case"%j":try{return JSON.stringify(Fe[He++])}catch(Xe){return"[Circular]"}default:return st}}),tt=Fe[He];He<je;tt=Fe[++He])me(tt)||!Ae(tt)?et+=" "+tt:et+=" "+ae(tt);return et},fe.deprecate=function(We,Qe){if(Ee(re.process))return function(){return fe.deprecate(We,Qe).apply(this,arguments)};if(le.noDeprecation===!0)return We;var He=!1;function Fe(){if(!He){if(le.throwDeprecation)throw new Error(Qe);le.traceDeprecation?console.trace(Qe):console.error(Qe),He=!0}return We.apply(this,arguments)}return Fe};var ie={},ue;fe.debuglog=function(We){if(Ee(ue)&&(ue=le.env.NODE_DEBUG||""),We=We.toUpperCase(),!ie[We])if(new RegExp("\\b"+We+"\\b","i").test(ue)){var Qe=le.pid;ie[We]=function(){var He=fe.format.apply(fe,arguments);console.error("%s %d: %s",We,Qe,He)}}else ie[We]=function(){};return ie[We]};function ae(We,Qe){var He={seen:[],stylize:ne};return arguments.length>=3&&(He.depth=arguments[2]),arguments.length>=4&&(He.colors=arguments[3]),ge(Qe)?He.showHidden=Qe:Qe&&fe._extend(He,Qe),Ee(He.showHidden)&&(He.showHidden=!1),Ee(He.depth)&&(He.depth=2),Ee(He.colors)&&(He.colors=!1),Ee(He.customInspect)&&(He.customInspect=!0),He.colors&&(He.stylize=oe),a(He,We,He.depth)}fe.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(We,Qe){var He=ae.styles[Qe];return He?"\x1B["+ae.colors[He][0]+"m"+We+"\x1B["+ae.colors[He][1]+"m":We}function ne(We,Qe){return We}function ee(We){var Qe={};return We.forEach(function(He,Fe){Qe[He]=!0}),Qe}function a(We,Qe,He){if(We.customInspect&&Qe&&we(Qe.inspect)&&Qe.inspect!==fe.inspect&&!(Qe.constructor&&Qe.constructor.prototype===Qe)){var Fe=Qe.inspect(He,We);return be(Fe)||(Fe=a(We,Fe,He)),Fe}var je=y(We,Qe);if(je)return je;var et=Object.keys(Qe),tt=ee(et);if(We.showHidden&&(et=Object.getOwnPropertyNames(Qe)),_e(Qe)&&(et.indexOf("message")>=0||et.indexOf("description")>=0))return x(Qe);if(et.length===0){if(we(Qe)){var st=Qe.name?": "+Qe.name:"";return We.stylize("[Function"+st+"]","special")}if(Pe(Qe))return We.stylize(RegExp.prototype.toString.call(Qe),"regexp");if(Ce(Qe))return We.stylize(Date.prototype.toString.call(Qe),"date");if(_e(Qe))return x(Qe)}var Xe="",Ke=!1,Me=["{","}"];if(ce(Qe)&&(Ke=!0,Me=["[","]"]),we(Qe)){var Ye=Qe.name?": "+Qe.name:"";Xe=" [Function"+Ye+"]"}if(Pe(Qe)&&(Xe=" "+RegExp.prototype.toString.call(Qe)),Ce(Qe)&&(Xe=" "+Date.prototype.toUTCString.call(Qe)),_e(Qe)&&(Xe=" "+x(Qe)),et.length===0&&(!Ke||Qe.length==0))return Me[0]+Xe+Me[1];if(He<0)return Pe(Qe)?We.stylize(RegExp.prototype.toString.call(Qe),"regexp"):We.stylize("[Object]","special");We.seen.push(Qe);var Le;return Ke?Le=b(We,Qe,He,tt,et):Le=et.map(function(Be){return z(We,Qe,He,tt,Be,Ke)}),We.seen.pop(),te(Le,Xe,Me)}function y(We,Qe){if(Ee(Qe))return We.stylize("undefined","undefined");if(be(Qe)){var He="'"+JSON.stringify(Qe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return We.stylize(He,"string")}if(pe(Qe))return We.stylize(""+Qe,"number");if(ge(Qe))return We.stylize(""+Qe,"boolean");if(me(Qe))return We.stylize("null","null")}function x(We){return"["+Error.prototype.toString.call(We)+"]"}function b(We,Qe,He,Fe,je){for(var et=[],tt=0,st=Qe.length;tt<st;++tt)Je(Qe,String(tt))?et.push(z(We,Qe,He,Fe,String(tt),!0)):et.push("");return je.forEach(function(Xe){Xe.match(/^\d+$/)||et.push(z(We,Qe,He,Fe,Xe,!0))}),et}function z(We,Qe,He,Fe,je,et){var tt,st,Xe;if(Xe=Object.getOwnPropertyDescriptor(Qe,je)||{value:Qe[je]},Xe.get?Xe.set?st=We.stylize("[Getter/Setter]","special"):st=We.stylize("[Getter]","special"):Xe.set&&(st=We.stylize("[Setter]","special")),Je(Fe,je)||(tt="["+je+"]"),st||(We.seen.indexOf(Xe.value)<0?(me(He)?st=a(We,Xe.value,null):st=a(We,Xe.value,He-1),st.indexOf(`
`)>-1&&(et?st=st.split(`
`).map(function(Ke){return" "+Ke}).join(`
`).substr(2):st=`
`+st.split(`
`).map(function(Ke){return" "+Ke}).join(`
`))):st=We.stylize("[Circular]","special")),Ee(tt)){if(et&&je.match(/^\d+$/))return st;tt=JSON.stringify(""+je),tt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(tt=tt.substr(1,tt.length-2),tt=We.stylize(tt,"name")):(tt=tt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),tt=We.stylize(tt,"string"))}return tt+": "+st}function te(We,Qe,He){var Fe=0,je=We.reduce(function(et,tt){return Fe++,tt.indexOf(`
`)>=0&&Fe++,et+tt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return je>60?He[0]+(Qe===""?"":Qe+`
`)+" "+We.join(`,
`)+" "+He[1]:He[0]+Qe+" "+We.join(", ")+" "+He[1]}function ce(We){return Array.isArray(We)}fe.isArray=ce;function ge(We){return typeof We=="boolean"}fe.isBoolean=ge;function me(We){return We===null}fe.isNull=me;function ve(We){return We==null}fe.isNullOrUndefined=ve;function pe(We){return typeof We=="number"}fe.isNumber=pe;function be(We){return typeof We=="string"}fe.isString=be;function ye(We){return typeof We=="symbol"}fe.isSymbol=ye;function Ee(We){return We===void 0}fe.isUndefined=Ee;function Pe(We){return Ae(We)&&De(We)==="[object RegExp]"}fe.isRegExp=Pe;function Ae(We){return typeof We=="object"&&We!==null}fe.isObject=Ae;function Ce(We){return Ae(We)&&De(We)==="[object Date]"}fe.isDate=Ce;function _e(We){return Ae(We)&&(De(We)==="[object Error]"||We instanceof Error)}fe.isError=_e;function we(We){return typeof We=="function"}fe.isFunction=we;function Re(We){return We===null||typeof We=="boolean"||typeof We=="number"||typeof We=="string"||typeof We=="symbol"||typeof We=="undefined"}fe.isPrimitive=Re,fe.isBuffer=E("./support/isBuffer");function De(We){return Object.prototype.toString.call(We)}function ke(We){return We<10?"0"+We.toString(10):We.toString(10)}var Ie=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function qe(){var We=new Date,Qe=[ke(We.getHours()),ke(We.getMinutes()),ke(We.getSeconds())].join(":");return[We.getDate(),Ie[We.getMonth()],Qe].join(" ")}fe.log=function(){console.log("%s - %s",qe(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(We,Qe){if(!Qe||!Ae(Qe))return We;for(var He=Object.keys(Qe),Fe=He.length;Fe--;)We[He[Fe]]=Qe[He[Fe]];return We};function Je(We,Qe){return Object.prototype.hasOwnProperty.call(We,Qe)}}).call(this)}).call(this,E("_process"),typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,he,fe){(function(le){(function(){"use strict";var re=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],se=typeof globalThis=="undefined"?le:globalThis;he.exports=function(){for(var ue=[],ae=0;ae<re.length;ae++)typeof se[re[ae]]=="function"&&(ue[ue.length]=re[ae]);return ue}}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(E,he,fe){"use strict";fe.byteLength=ne,fe.toByteArray=a,fe.fromByteArray=b;for(var le=[],re=[],se=typeof Uint8Array!="undefined"?Uint8Array:Array,ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=0,ae=ie.length;ue<ae;++ue)le[ue]=ie[ue],re[ie.charCodeAt(ue)]=ue;re[45]=62,re[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 ce=z.indexOf("=");ce===-1&&(ce=te);var ge=ce===te?0:4-ce%4;return[ce,ge]}function ne(z){var te=oe(z),ce=te[0],ge=te[1];return(ce+ge)*3/4-ge}function ee(z,te,ce){return(te+ce)*3/4-ce}function a(z){var te,ce=oe(z),ge=ce[0],me=ce[1],ve=new se(ee(z,ge,me)),pe=0,be=me>0?ge-4:ge,ye;for(ye=0;ye<be;ye+=4)te=re[z.charCodeAt(ye)]<<18|re[z.charCodeAt(ye+1)]<<12|re[z.charCodeAt(ye+2)]<<6|re[z.charCodeAt(ye+3)],ve[pe++]=te>>16&255,ve[pe++]=te>>8&255,ve[pe++]=te&255;return me===2&&(te=re[z.charCodeAt(ye)]<<2|re[z.charCodeAt(ye+1)]>>4,ve[pe++]=te&255),me===1&&(te=re[z.charCodeAt(ye)]<<10|re[z.charCodeAt(ye+1)]<<4|re[z.charCodeAt(ye+2)]>>2,ve[pe++]=te>>8&255,ve[pe++]=te&255),ve}function y(z){return le[z>>18&63]+le[z>>12&63]+le[z>>6&63]+le[z&63]}function x(z,te,ce){for(var ge,me=[],ve=te;ve<ce;ve+=3)ge=(z[ve]<<16&16711680)+(z[ve+1]<<8&65280)+(z[ve+2]&255),me.push(y(ge));return me.join("")}function b(z){for(var te,ce=z.length,ge=ce%3,me=[],ve=16383,pe=0,be=ce-ge;pe<be;pe+=ve)me.push(x(z,pe,pe+ve>be?be:pe+ve));return ge===1?(te=z[ce-1],me.push(le[te>>2]+le[te<<4&63]+"==")):ge===2&&(te=(z[ce-2]<<8)+z[ce-1],me.push(le[te>>10]+le[te>>4&63]+le[te<<2&63]+"=")),me.join("")}},{}],88:[function(E,he,fe){(function(le,re,se){typeof he!="undefined"&&he.exports?he.exports=se():typeof de=="function"&&de.amd?de(re,se):le[re]=se()})(this,"bowser",function(){var le=!0;function re(ee){function a(Qe){var He=ee.match(Qe);return He&&He.length>1&&He[1]||""}function y(Qe){var He=ee.match(Qe);return He&&He.length>1&&He[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),ce=!te&&/nexus\s*[0-9]+/i.test(ee),ge=/CrOS/.test(ee),me=/silk/i.test(ee),ve=/sailfish/i.test(ee),pe=/tizen/i.test(ee),be=/(web|hpw)(o|0)s/i.test(ee),ye=/windows phone/i.test(ee),Ee=/SamsungBrowser/i.test(ee),Pe=!ye&&/windows/i.test(ee),Ae=!x&&!me&&/macintosh/i.test(ee),Ce=!z&&!ve&&!pe&&!be&&/linux/i.test(ee),_e=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),we=a(/version\/(\d+(\.\d+)?)/i),Re=/tablet/i.test(ee)&&!/tablet pc/i.test(ee),De=!Re&&/[^-]mobi/i.test(ee),ke=/xbox/i.test(ee),Ie;/opera/i.test(ee)?Ie={name:"Opera",opera:le,version:we||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ee)?Ie={name:"Opera",opera:le,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||we}:/SamsungBrowser/i.test(ee)?Ie={name:"Samsung Internet for Android",samsungBrowser:le,version:we||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ee)?Ie={name:"NAVER Whale browser",whale:le,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ee)?Ie={name:"MZ Browser",mzbrowser:le,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ee)?Ie={name:"Opera Coast",coast:le,version:we||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ee)?Ie={name:"Focus",focus:le,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ee)?Ie={name:"Yandex Browser",yandexbrowser:le,version:we||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ee)?Ie={name:"UC Browser",ucbrowser:le,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ee)?Ie={name:"Maxthon",maxthon:le,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ee)?Ie={name:"Epiphany",epiphany:le,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ee)?Ie={name:"Puffin",puffin:le,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ee)?Ie={name:"Sleipnir",sleipnir:le,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ee)?Ie={name:"K-Meleon",kMeleon:le,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ye?(Ie={name:"Windows Phone",osname:"Windows Phone",windowsphone:le},_e?(Ie.msedge=le,Ie.version=_e):(Ie.msie=le,Ie.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ee)?Ie={name:"Internet Explorer",msie:le,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ge?Ie={name:"Chrome",osname:"Chrome OS",chromeos:le,chromeBook:le,chrome:le,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ee)?Ie={name:"Microsoft Edge",msedge:le,version:_e}:/vivaldi/i.test(ee)?Ie={name:"Vivaldi",vivaldi:le,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||we}:ve?Ie={name:"Sailfish",osname:"Sailfish OS",sailfish:le,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ee)?Ie={name:"SeaMonkey",seamonkey:le,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ee)?(Ie={name:"Firefox",firefox:le,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ee)&&(Ie.firefoxos=le,Ie.osname="Firefox OS")):me?Ie={name:"Amazon Silk",silk:le,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ee)?Ie={name:"PhantomJS",phantom:le,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ee)?Ie={name:"SlimerJS",slimer:le,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ee)||/rim\stablet/i.test(ee)?Ie={name:"BlackBerry",osname:"BlackBerry OS",blackberry:le,version:we||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:be?(Ie={name:"WebOS",osname:"WebOS",webos:le,version:we||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ee)&&(Ie.touchpad=le)):/bada/i.test(ee)?Ie={name:"Bada",osname:"Bada",bada:le,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:pe?Ie={name:"Tizen",osname:"Tizen",tizen:le,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||we}:/qupzilla/i.test(ee)?Ie={name:"QupZilla",qupzilla:le,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||we}:/chromium/i.test(ee)?Ie={name:"Chromium",chromium:le,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||we}:/chrome|crios|crmo/i.test(ee)?Ie={name:"Chrome",chrome:le,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?Ie={name:"Android",version:we}:/safari|applewebkit/i.test(ee)?(Ie={name:"Safari",safari:le},we&&(Ie.version=we)):x?(Ie={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},we&&(Ie.version=we)):/googlebot/i.test(ee)?Ie={name:"Googlebot",googlebot:le,version:a(/googlebot\/(\d+(\.\d+))/i)||we}:Ie={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Ie.msedge&&/(apple)?webkit/i.test(ee)?(/(apple)?webkit\/537\.36/i.test(ee)?(Ie.name=Ie.name||"Blink",Ie.blink=le):(Ie.name=Ie.name||"Webkit",Ie.webkit=le),!Ie.version&&we&&(Ie.version=we)):!Ie.opera&&/gecko\//i.test(ee)&&(Ie.name=Ie.name||"Gecko",Ie.gecko=le,Ie.version=Ie.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Ie.windowsphone&&(z||Ie.silk)?(Ie.android=le,Ie.osname="Android"):!Ie.windowsphone&&x?(Ie[x]=le,Ie.ios=le,Ie.osname="iOS"):Ae?(Ie.mac=le,Ie.osname="macOS"):ke?(Ie.xbox=le,Ie.osname="Xbox"):Pe?(Ie.windows=le,Ie.osname="Windows"):Ce&&(Ie.linux=le,Ie.osname="Linux");function qe(Qe){switch(Qe){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 Je="";Ie.windows?Je=qe(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Ie.windowsphone?Je=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Ie.mac?(Je=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Je=Je.replace(/[_\s]/g,".")):x?(Je=a(/os (\d+([_\s]\d+)*) like mac os x/i),Je=Je.replace(/[_\s]/g,".")):z?Je=a(/android[ \/-](\d+(\.\d+)*)/i):Ie.webos?Je=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Ie.blackberry?Je=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Ie.bada?Je=a(/bada\/(\d+(\.\d+)*)/i):Ie.tizen&&(Je=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Je&&(Ie.osversion=Je);var We=!Ie.windows&&Je.split(".")[0];return Re||ce||x=="ipad"||z&&(We==3||We>=4&&!De)||Ie.silk?Ie.tablet=le:(De||x=="iphone"||x=="ipod"||z||te||Ie.blackberry||Ie.webos||Ie.bada)&&(Ie.mobile=le),Ie.msedge||Ie.msie&&Ie.version>=10||Ie.yandexbrowser&&Ie.version>=15||Ie.vivaldi&&Ie.version>=1||Ie.chrome&&Ie.version>=20||Ie.samsungBrowser&&Ie.version>=4||Ie.whale&&ae([Ie.version,"1.0"])===1||Ie.mzbrowser&&ae([Ie.version,"6.0"])===1||Ie.focus&&ae([Ie.version,"1.0"])===1||Ie.firefox&&Ie.version>=20||Ie.safari&&Ie.version>=6||Ie.opera&&Ie.version>=10||Ie.ios&&Ie.osversion&&Ie.osversion.split(".")[0]>=6||Ie.blackberry&&Ie.version>=10.1||Ie.chromium&&Ie.version>=20?Ie.a=le:Ie.msie&&Ie.version<10||Ie.chrome&&Ie.version<20||Ie.firefox&&Ie.version<20||Ie.safari&&Ie.version<6||Ie.opera&&Ie.version<10||Ie.ios&&Ie.osversion&&Ie.osversion.split(".")[0]<6||Ie.chromium&&Ie.version<20?Ie.c=le:Ie.x=le,Ie}var se=re(typeof navigator!="undefined"&&navigator.userAgent||"");se.test=function(ee){for(var a=0;a<ee.length;++a){var y=ee[a];if(typeof y=="string"&&y in se)return!0}return!1};function ie(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(ie(ee[0]),ie(ee[1])),y=ue(ee,function(x){var b=a-ie(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=se;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=re(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 ne(ee,a,y){return!oe(ee,a,y)}return se.isUnsupportedBrowser=oe,se.compareVersions=ae,se.check=ne,se._detect=re,se.detect=re,se})},{}],89:[function(E,he,fe){},{}],90:[function(E,he,fe){(function(le){(function(){"use strict";var re=E("base64-js"),se=E("ieee754");fe.Buffer=oe,fe.SlowBuffer=ge,fe.INSPECT_MAX_BYTES=50;var ie=2147483647;fe.kMaxLength=ie,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 Te=new Uint8Array(1);return Te.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Te.foo()===42}catch(Oe){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(Te){if(Te>ie)throw new RangeError('The value "'+Te+'" is invalid for option "size"');var Oe=new Uint8Array(Te);return Oe.__proto__=oe.prototype,Oe}function oe(Te,Oe,Ne){if(typeof Te=="number"){if(typeof Oe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Te)}return ne(Te,Oe,Ne)}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 ne(Te,Oe,Ne){if(typeof Te=="string")return x(Te,Oe);if(ArrayBuffer.isView(Te))return b(Te);if(Te==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te);if($e(Te,ArrayBuffer)||Te&&$e(Te.buffer,ArrayBuffer))return z(Te,Oe,Ne);if(typeof Te=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ge=Te.valueOf&&Te.valueOf();if(Ge!=null&&Ge!==Te)return oe.from(Ge,Oe,Ne);var rt=te(Te);if(rt)return rt;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Te[Symbol.toPrimitive]=="function")return oe.from(Te[Symbol.toPrimitive]("string"),Oe,Ne);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te)}oe.from=function(Te,Oe,Ne){return ne(Te,Oe,Ne)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function ee(Te){if(typeof Te!="number")throw new TypeError('"size" argument must be of type number');if(Te<0)throw new RangeError('The value "'+Te+'" is invalid for option "size"')}function a(Te,Oe,Ne){return ee(Te),Te<=0?ae(Te):Oe!==void 0?typeof Ne=="string"?ae(Te).fill(Oe,Ne):ae(Te).fill(Oe):ae(Te)}oe.alloc=function(Te,Oe,Ne){return a(Te,Oe,Ne)};function y(Te){return ee(Te),ae(Te<0?0:ce(Te)|0)}oe.allocUnsafe=function(Te){return y(Te)},oe.allocUnsafeSlow=function(Te){return y(Te)};function x(Te,Oe){if((typeof Oe!="string"||Oe==="")&&(Oe="utf8"),!oe.isEncoding(Oe))throw new TypeError("Unknown encoding: "+Oe);var Ne=me(Te,Oe)|0,Ge=ae(Ne),rt=Ge.write(Te,Oe);return rt!==Ne&&(Ge=Ge.slice(0,rt)),Ge}function b(Te){for(var Oe=Te.length<0?0:ce(Te.length)|0,Ne=ae(Oe),Ge=0;Ge<Oe;Ge+=1)Ne[Ge]=Te[Ge]&255;return Ne}function z(Te,Oe,Ne){if(Oe<0||Te.byteLength<Oe)throw new RangeError('"offset" is outside of buffer bounds');if(Te.byteLength<Oe+(Ne||0))throw new RangeError('"length" is outside of buffer bounds');var Ge;return Oe===void 0&&Ne===void 0?Ge=new Uint8Array(Te):Ne===void 0?Ge=new Uint8Array(Te,Oe):Ge=new Uint8Array(Te,Oe,Ne),Ge.__proto__=oe.prototype,Ge}function te(Te){if(oe.isBuffer(Te)){var Oe=ce(Te.length)|0,Ne=ae(Oe);return Ne.length===0||Te.copy(Ne,0,0,Oe),Ne}if(Te.length!==void 0)return typeof Te.length!="number"||ze(Te.length)?ae(0):b(Te);if(Te.type==="Buffer"&&Array.isArray(Te.data))return b(Te.data)}function ce(Te){if(Te>=ie)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ie.toString(16)+" bytes");return Te|0}function ge(Te){return+Te!=Te&&(Te=0),oe.alloc(+Te)}oe.isBuffer=function(Oe){return Oe!=null&&Oe._isBuffer===!0&&Oe!==oe.prototype},oe.compare=function(Oe,Ne){if($e(Oe,Uint8Array)&&(Oe=oe.from(Oe,Oe.offset,Oe.byteLength)),$e(Ne,Uint8Array)&&(Ne=oe.from(Ne,Ne.offset,Ne.byteLength)),!oe.isBuffer(Oe)||!oe.isBuffer(Ne))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Oe===Ne)return 0;for(var Ge=Oe.length,rt=Ne.length,mt=0,dt=Math.min(Ge,rt);mt<dt;++mt)if(Oe[mt]!==Ne[mt]){Ge=Oe[mt],rt=Ne[mt];break}return Ge<rt?-1:rt<Ge?1:0},oe.isEncoding=function(Oe){switch(String(Oe).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(Oe,Ne){if(!Array.isArray(Oe))throw new TypeError('"list" argument must be an Array of Buffers');if(Oe.length===0)return oe.alloc(0);var Ge;if(Ne===void 0)for(Ne=0,Ge=0;Ge<Oe.length;++Ge)Ne+=Oe[Ge].length;var rt=oe.allocUnsafe(Ne),mt=0;for(Ge=0;Ge<Oe.length;++Ge){var dt=Oe[Ge];if($e(dt,Uint8Array)&&(dt=oe.from(dt)),!oe.isBuffer(dt))throw new TypeError('"list" argument must be an Array of Buffers');dt.copy(rt,mt),mt+=dt.length}return rt};function me(Te,Oe){if(oe.isBuffer(Te))return Te.length;if(ArrayBuffer.isView(Te)||$e(Te,ArrayBuffer))return Te.byteLength;if(typeof Te!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Te);var Ne=Te.length,Ge=arguments.length>2&&arguments[2]===!0;if(!Ge&&Ne===0)return 0;for(var rt=!1;;)switch(Oe){case"ascii":case"latin1":case"binary":return Ne;case"utf8":case"utf-8":return Me(Te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne*2;case"hex":return Ne>>>1;case"base64":return Be(Te).length;default:if(rt)return Ge?-1:Me(Te).length;Oe=(""+Oe).toLowerCase(),rt=!0}}oe.byteLength=me;function ve(Te,Oe,Ne){var Ge=!1;if((Oe===void 0||Oe<0)&&(Oe=0),Oe>this.length||((Ne===void 0||Ne>this.length)&&(Ne=this.length),Ne<=0)||(Ne>>>=0,Oe>>>=0,Ne<=Oe))return"";for(Te||(Te="utf8");;)switch(Te){case"hex":return We(this,Oe,Ne);case"utf8":case"utf-8":return De(this,Oe,Ne);case"ascii":return qe(this,Oe,Ne);case"latin1":case"binary":return Je(this,Oe,Ne);case"base64":return Re(this,Oe,Ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qe(this,Oe,Ne);default:if(Ge)throw new TypeError("Unknown encoding: "+Te);Te=(Te+"").toLowerCase(),Ge=!0}}oe.prototype._isBuffer=!0;function pe(Te,Oe,Ne){var Ge=Te[Oe];Te[Oe]=Te[Ne],Te[Ne]=Ge}oe.prototype.swap16=function(){var Oe=this.length;if(Oe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ne=0;Ne<Oe;Ne+=2)pe(this,Ne,Ne+1);return this},oe.prototype.swap32=function(){var Oe=this.length;if(Oe%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Ne=0;Ne<Oe;Ne+=4)pe(this,Ne,Ne+3),pe(this,Ne+1,Ne+2);return this},oe.prototype.swap64=function(){var Oe=this.length;if(Oe%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Ne=0;Ne<Oe;Ne+=8)pe(this,Ne,Ne+7),pe(this,Ne+1,Ne+6),pe(this,Ne+2,Ne+5),pe(this,Ne+3,Ne+4);return this},oe.prototype.toString=function(){var Oe=this.length;return Oe===0?"":arguments.length===0?De(this,0,Oe):ve.apply(this,arguments)},oe.prototype.toLocaleString=oe.prototype.toString,oe.prototype.equals=function(Oe){if(!oe.isBuffer(Oe))throw new TypeError("Argument must be a Buffer");return this===Oe?!0:oe.compare(this,Oe)===0},oe.prototype.inspect=function(){var Oe="",Ne=fe.INSPECT_MAX_BYTES;return Oe=this.toString("hex",0,Ne).replace(/(.{2})/g,"$1 ").trim(),this.length>Ne&&(Oe+=" ... "),"<Buffer "+Oe+">"},oe.prototype.compare=function(Oe,Ne,Ge,rt,mt){if($e(Oe,Uint8Array)&&(Oe=oe.from(Oe,Oe.offset,Oe.byteLength)),!oe.isBuffer(Oe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Oe);if(Ne===void 0&&(Ne=0),Ge===void 0&&(Ge=Oe?Oe.length:0),rt===void 0&&(rt=0),mt===void 0&&(mt=this.length),Ne<0||Ge>Oe.length||rt<0||mt>this.length)throw new RangeError("out of range index");if(rt>=mt&&Ne>=Ge)return 0;if(rt>=mt)return-1;if(Ne>=Ge)return 1;if(Ne>>>=0,Ge>>>=0,rt>>>=0,mt>>>=0,this===Oe)return 0;for(var dt=mt-rt,nt=Ge-Ne,vt=Math.min(dt,nt),At=this.slice(rt,mt),Nt=Oe.slice(Ne,Ge),at=0;at<vt;++at)if(At[at]!==Nt[at]){dt=At[at],nt=Nt[at];break}return dt<nt?-1:nt<dt?1:0};function be(Te,Oe,Ne,Ge,rt){if(Te.length===0)return-1;if(typeof Ne=="string"?(Ge=Ne,Ne=0):Ne>2147483647?Ne=2147483647:Ne<-2147483648&&(Ne=-2147483648),Ne=+Ne,ze(Ne)&&(Ne=rt?0:Te.length-1),Ne<0&&(Ne=Te.length+Ne),Ne>=Te.length){if(rt)return-1;Ne=Te.length-1}else if(Ne<0)if(rt)Ne=0;else return-1;if(typeof Oe=="string"&&(Oe=oe.from(Oe,Ge)),oe.isBuffer(Oe))return Oe.length===0?-1:ye(Te,Oe,Ne,Ge,rt);if(typeof Oe=="number")return Oe=Oe&255,typeof Uint8Array.prototype.indexOf=="function"?rt?Uint8Array.prototype.indexOf.call(Te,Oe,Ne):Uint8Array.prototype.lastIndexOf.call(Te,Oe,Ne):ye(Te,[Oe],Ne,Ge,rt);throw new TypeError("val must be string, number or Buffer")}function ye(Te,Oe,Ne,Ge,rt){var mt=1,dt=Te.length,nt=Oe.length;if(Ge!==void 0&&(Ge=String(Ge).toLowerCase(),Ge==="ucs2"||Ge==="ucs-2"||Ge==="utf16le"||Ge==="utf-16le")){if(Te.length<2||Oe.length<2)return-1;mt=2,dt/=2,nt/=2,Ne/=2}function vt(lt,it){return mt===1?lt[it]:lt.readUInt16BE(it*mt)}var At;if(rt){var Nt=-1;for(At=Ne;At<dt;At++)if(vt(Te,At)===vt(Oe,Nt===-1?0:At-Nt)){if(Nt===-1&&(Nt=At),At-Nt+1===nt)return Nt*mt}else Nt!==-1&&(At-=At-Nt),Nt=-1}else for(Ne+nt>dt&&(Ne=dt-nt),At=Ne;At>=0;At--){for(var at=!0,xt=0;xt<nt;xt++)if(vt(Te,At+xt)!==vt(Oe,xt)){at=!1;break}if(at)return At}return-1}oe.prototype.includes=function(Oe,Ne,Ge){return this.indexOf(Oe,Ne,Ge)!==-1},oe.prototype.indexOf=function(Oe,Ne,Ge){return be(this,Oe,Ne,Ge,!0)},oe.prototype.lastIndexOf=function(Oe,Ne,Ge){return be(this,Oe,Ne,Ge,!1)};function Ee(Te,Oe,Ne,Ge){Ne=Number(Ne)||0;var rt=Te.length-Ne;Ge?(Ge=Number(Ge),Ge>rt&&(Ge=rt)):Ge=rt;var mt=Oe.length;Ge>mt/2&&(Ge=mt/2);for(var dt=0;dt<Ge;++dt){var nt=parseInt(Oe.substr(dt*2,2),16);if(ze(nt))return dt;Te[Ne+dt]=nt}return dt}function Pe(Te,Oe,Ne,Ge){return Ve(Me(Oe,Te.length-Ne),Te,Ne,Ge)}function Ae(Te,Oe,Ne,Ge){return Ve(Ye(Oe),Te,Ne,Ge)}function Ce(Te,Oe,Ne,Ge){return Ae(Te,Oe,Ne,Ge)}function _e(Te,Oe,Ne,Ge){return Ve(Be(Oe),Te,Ne,Ge)}function we(Te,Oe,Ne,Ge){return Ve(Le(Oe,Te.length-Ne),Te,Ne,Ge)}oe.prototype.write=function(Oe,Ne,Ge,rt){if(Ne===void 0)rt="utf8",Ge=this.length,Ne=0;else if(Ge===void 0&&typeof Ne=="string")rt=Ne,Ge=this.length,Ne=0;else if(isFinite(Ne))Ne=Ne>>>0,isFinite(Ge)?(Ge=Ge>>>0,rt===void 0&&(rt="utf8")):(rt=Ge,Ge=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var mt=this.length-Ne;if((Ge===void 0||Ge>mt)&&(Ge=mt),Oe.length>0&&(Ge<0||Ne<0)||Ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");rt||(rt="utf8");for(var dt=!1;;)switch(rt){case"hex":return Ee(this,Oe,Ne,Ge);case"utf8":case"utf-8":return Pe(this,Oe,Ne,Ge);case"ascii":return Ae(this,Oe,Ne,Ge);case"latin1":case"binary":return Ce(this,Oe,Ne,Ge);case"base64":return _e(this,Oe,Ne,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,Oe,Ne,Ge);default:if(dt)throw new TypeError("Unknown encoding: "+rt);rt=(""+rt).toLowerCase(),dt=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Re(Te,Oe,Ne){return Oe===0&&Ne===Te.length?re.fromByteArray(Te):re.fromByteArray(Te.slice(Oe,Ne))}function De(Te,Oe,Ne){Ne=Math.min(Te.length,Ne);for(var Ge=[],rt=Oe;rt<Ne;){var mt=Te[rt],dt=null,nt=mt>239?4:mt>223?3:mt>191?2:1;if(rt+nt<=Ne){var vt,At,Nt,at;switch(nt){case 1:mt<128&&(dt=mt);break;case 2:vt=Te[rt+1],(vt&192)===128&&(at=(mt&31)<<6|vt&63,at>127&&(dt=at));break;case 3:vt=Te[rt+1],At=Te[rt+2],(vt&192)===128&&(At&192)===128&&(at=(mt&15)<<12|(vt&63)<<6|At&63,at>2047&&(at<55296||at>57343)&&(dt=at));break;case 4:vt=Te[rt+1],At=Te[rt+2],Nt=Te[rt+3],(vt&192)===128&&(At&192)===128&&(Nt&192)===128&&(at=(mt&15)<<18|(vt&63)<<12|(At&63)<<6|Nt&63,at>65535&&at<1114112&&(dt=at))}}dt===null?(dt=65533,nt=1):dt>65535&&(dt-=65536,Ge.push(dt>>>10&1023|55296),dt=56320|dt&1023),Ge.push(dt),rt+=nt}return Ie(Ge)}var ke=4096;function Ie(Te){var Oe=Te.length;if(Oe<=ke)return String.fromCharCode.apply(String,Te);for(var Ne="",Ge=0;Ge<Oe;)Ne+=String.fromCharCode.apply(String,Te.slice(Ge,Ge+=ke));return Ne}function qe(Te,Oe,Ne){var Ge="";Ne=Math.min(Te.length,Ne);for(var rt=Oe;rt<Ne;++rt)Ge+=String.fromCharCode(Te[rt]&127);return Ge}function Je(Te,Oe,Ne){var Ge="";Ne=Math.min(Te.length,Ne);for(var rt=Oe;rt<Ne;++rt)Ge+=String.fromCharCode(Te[rt]);return Ge}function We(Te,Oe,Ne){var Ge=Te.length;(!Oe||Oe<0)&&(Oe=0),(!Ne||Ne<0||Ne>Ge)&&(Ne=Ge);for(var rt="",mt=Oe;mt<Ne;++mt)rt+=Ke(Te[mt]);return rt}function Qe(Te,Oe,Ne){for(var Ge=Te.slice(Oe,Ne),rt="",mt=0;mt<Ge.length;mt+=2)rt+=String.fromCharCode(Ge[mt]+Ge[mt+1]*256);return rt}oe.prototype.slice=function(Oe,Ne){var Ge=this.length;Oe=~~Oe,Ne=Ne===void 0?Ge:~~Ne,Oe<0?(Oe+=Ge,Oe<0&&(Oe=0)):Oe>Ge&&(Oe=Ge),Ne<0?(Ne+=Ge,Ne<0&&(Ne=0)):Ne>Ge&&(Ne=Ge),Ne<Oe&&(Ne=Oe);var rt=this.subarray(Oe,Ne);return rt.__proto__=oe.prototype,rt};function He(Te,Oe,Ne){if(Te%1!==0||Te<0)throw new RangeError("offset is not uint");if(Te+Oe>Ne)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Oe,Ne,Ge){Oe=Oe>>>0,Ne=Ne>>>0,Ge||He(Oe,Ne,this.length);for(var rt=this[Oe],mt=1,dt=0;++dt<Ne&&(mt*=256);)rt+=this[Oe+dt]*mt;return rt},oe.prototype.readUIntBE=function(Oe,Ne,Ge){Oe=Oe>>>0,Ne=Ne>>>0,Ge||He(Oe,Ne,this.length);for(var rt=this[Oe+--Ne],mt=1;Ne>0&&(mt*=256);)rt+=this[Oe+--Ne]*mt;return rt},oe.prototype.readUInt8=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,1,this.length),this[Oe]},oe.prototype.readUInt16LE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,2,this.length),this[Oe]|this[Oe+1]<<8},oe.prototype.readUInt16BE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,2,this.length),this[Oe]<<8|this[Oe+1]},oe.prototype.readUInt32LE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),(this[Oe]|this[Oe+1]<<8|this[Oe+2]<<16)+this[Oe+3]*16777216},oe.prototype.readUInt32BE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),this[Oe]*16777216+(this[Oe+1]<<16|this[Oe+2]<<8|this[Oe+3])},oe.prototype.readIntLE=function(Oe,Ne,Ge){Oe=Oe>>>0,Ne=Ne>>>0,Ge||He(Oe,Ne,this.length);for(var rt=this[Oe],mt=1,dt=0;++dt<Ne&&(mt*=256);)rt+=this[Oe+dt]*mt;return mt*=128,rt>=mt&&(rt-=Math.pow(2,8*Ne)),rt},oe.prototype.readIntBE=function(Oe,Ne,Ge){Oe=Oe>>>0,Ne=Ne>>>0,Ge||He(Oe,Ne,this.length);for(var rt=Ne,mt=1,dt=this[Oe+--rt];rt>0&&(mt*=256);)dt+=this[Oe+--rt]*mt;return mt*=128,dt>=mt&&(dt-=Math.pow(2,8*Ne)),dt},oe.prototype.readInt8=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,1,this.length),this[Oe]&128?(255-this[Oe]+1)*-1:this[Oe]},oe.prototype.readInt16LE=function(Oe,Ne){Oe=Oe>>>0,Ne||He(Oe,2,this.length);var Ge=this[Oe]|this[Oe+1]<<8;return Ge&32768?Ge|4294901760:Ge},oe.prototype.readInt16BE=function(Oe,Ne){Oe=Oe>>>0,Ne||He(Oe,2,this.length);var Ge=this[Oe+1]|this[Oe]<<8;return Ge&32768?Ge|4294901760:Ge},oe.prototype.readInt32LE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),this[Oe]|this[Oe+1]<<8|this[Oe+2]<<16|this[Oe+3]<<24},oe.prototype.readInt32BE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),this[Oe]<<24|this[Oe+1]<<16|this[Oe+2]<<8|this[Oe+3]},oe.prototype.readFloatLE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),se.read(this,Oe,!0,23,4)},oe.prototype.readFloatBE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),se.read(this,Oe,!1,23,4)},oe.prototype.readDoubleLE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,8,this.length),se.read(this,Oe,!0,52,8)},oe.prototype.readDoubleBE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,8,this.length),se.read(this,Oe,!1,52,8)};function Fe(Te,Oe,Ne,Ge,rt,mt){if(!oe.isBuffer(Te))throw new TypeError('"buffer" argument must be a Buffer instance');if(Oe>rt||Oe<mt)throw new RangeError('"value" argument is out of bounds');if(Ne+Ge>Te.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Oe,Ne,Ge,rt){if(Oe=+Oe,Ne=Ne>>>0,Ge=Ge>>>0,!rt){var mt=Math.pow(2,8*Ge)-1;Fe(this,Oe,Ne,Ge,mt,0)}var dt=1,nt=0;for(this[Ne]=Oe&255;++nt<Ge&&(dt*=256);)this[Ne+nt]=Oe/dt&255;return Ne+Ge},oe.prototype.writeUIntBE=function(Oe,Ne,Ge,rt){if(Oe=+Oe,Ne=Ne>>>0,Ge=Ge>>>0,!rt){var mt=Math.pow(2,8*Ge)-1;Fe(this,Oe,Ne,Ge,mt,0)}var dt=Ge-1,nt=1;for(this[Ne+dt]=Oe&255;--dt>=0&&(nt*=256);)this[Ne+dt]=Oe/nt&255;return Ne+Ge},oe.prototype.writeUInt8=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,1,255,0),this[Ne]=Oe&255,Ne+1},oe.prototype.writeUInt16LE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,2,65535,0),this[Ne]=Oe&255,this[Ne+1]=Oe>>>8,Ne+2},oe.prototype.writeUInt16BE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,2,65535,0),this[Ne]=Oe>>>8,this[Ne+1]=Oe&255,Ne+2},oe.prototype.writeUInt32LE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,4,4294967295,0),this[Ne+3]=Oe>>>24,this[Ne+2]=Oe>>>16,this[Ne+1]=Oe>>>8,this[Ne]=Oe&255,Ne+4},oe.prototype.writeUInt32BE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,4,4294967295,0),this[Ne]=Oe>>>24,this[Ne+1]=Oe>>>16,this[Ne+2]=Oe>>>8,this[Ne+3]=Oe&255,Ne+4},oe.prototype.writeIntLE=function(Oe,Ne,Ge,rt){if(Oe=+Oe,Ne=Ne>>>0,!rt){var mt=Math.pow(2,8*Ge-1);Fe(this,Oe,Ne,Ge,mt-1,-mt)}var dt=0,nt=1,vt=0;for(this[Ne]=Oe&255;++dt<Ge&&(nt*=256);)Oe<0&&vt===0&&this[Ne+dt-1]!==0&&(vt=1),this[Ne+dt]=(Oe/nt>>0)-vt&255;return Ne+Ge},oe.prototype.writeIntBE=function(Oe,Ne,Ge,rt){if(Oe=+Oe,Ne=Ne>>>0,!rt){var mt=Math.pow(2,8*Ge-1);Fe(this,Oe,Ne,Ge,mt-1,-mt)}var dt=Ge-1,nt=1,vt=0;for(this[Ne+dt]=Oe&255;--dt>=0&&(nt*=256);)Oe<0&&vt===0&&this[Ne+dt+1]!==0&&(vt=1),this[Ne+dt]=(Oe/nt>>0)-vt&255;return Ne+Ge},oe.prototype.writeInt8=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,1,127,-128),Oe<0&&(Oe=255+Oe+1),this[Ne]=Oe&255,Ne+1},oe.prototype.writeInt16LE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,2,32767,-32768),this[Ne]=Oe&255,this[Ne+1]=Oe>>>8,Ne+2},oe.prototype.writeInt16BE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,2,32767,-32768),this[Ne]=Oe>>>8,this[Ne+1]=Oe&255,Ne+2},oe.prototype.writeInt32LE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,4,2147483647,-2147483648),this[Ne]=Oe&255,this[Ne+1]=Oe>>>8,this[Ne+2]=Oe>>>16,this[Ne+3]=Oe>>>24,Ne+4},oe.prototype.writeInt32BE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,4,2147483647,-2147483648),Oe<0&&(Oe=4294967295+Oe+1),this[Ne]=Oe>>>24,this[Ne+1]=Oe>>>16,this[Ne+2]=Oe>>>8,this[Ne+3]=Oe&255,Ne+4};function je(Te,Oe,Ne,Ge,rt,mt){if(Ne+Ge>Te.length)throw new RangeError("Index out of range");if(Ne<0)throw new RangeError("Index out of range")}function et(Te,Oe,Ne,Ge,rt){return Oe=+Oe,Ne=Ne>>>0,rt||je(Te,Oe,Ne,4,34028234663852886e22,-34028234663852886e22),se.write(Te,Oe,Ne,Ge,23,4),Ne+4}oe.prototype.writeFloatLE=function(Oe,Ne,Ge){return et(this,Oe,Ne,!0,Ge)},oe.prototype.writeFloatBE=function(Oe,Ne,Ge){return et(this,Oe,Ne,!1,Ge)};function tt(Te,Oe,Ne,Ge,rt){return Oe=+Oe,Ne=Ne>>>0,rt||je(Te,Oe,Ne,8,17976931348623157e292,-17976931348623157e292),se.write(Te,Oe,Ne,Ge,52,8),Ne+8}oe.prototype.writeDoubleLE=function(Oe,Ne,Ge){return tt(this,Oe,Ne,!0,Ge)},oe.prototype.writeDoubleBE=function(Oe,Ne,Ge){return tt(this,Oe,Ne,!1,Ge)},oe.prototype.copy=function(Oe,Ne,Ge,rt){if(!oe.isBuffer(Oe))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!rt&&rt!==0&&(rt=this.length),Ne>=Oe.length&&(Ne=Oe.length),Ne||(Ne=0),rt>0&&rt<Ge&&(rt=Ge),rt===Ge||Oe.length===0||this.length===0)return 0;if(Ne<0)throw new RangeError("targetStart out of bounds");if(Ge<0||Ge>=this.length)throw new RangeError("Index out of range");if(rt<0)throw new RangeError("sourceEnd out of bounds");rt>this.length&&(rt=this.length),Oe.length-Ne<rt-Ge&&(rt=Oe.length-Ne+Ge);var mt=rt-Ge;if(this===Oe&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Ne,Ge,rt);else if(this===Oe&&Ge<Ne&&Ne<rt)for(var dt=mt-1;dt>=0;--dt)Oe[dt+Ne]=this[dt+Ge];else Uint8Array.prototype.set.call(Oe,this.subarray(Ge,rt),Ne);return mt},oe.prototype.fill=function(Oe,Ne,Ge,rt){if(typeof Oe=="string"){if(typeof Ne=="string"?(rt=Ne,Ne=0,Ge=this.length):typeof Ge=="string"&&(rt=Ge,Ge=this.length),rt!==void 0&&typeof rt!="string")throw new TypeError("encoding must be a string");if(typeof rt=="string"&&!oe.isEncoding(rt))throw new TypeError("Unknown encoding: "+rt);if(Oe.length===1){var mt=Oe.charCodeAt(0);(rt==="utf8"&&mt<128||rt==="latin1")&&(Oe=mt)}}else typeof Oe=="number"&&(Oe=Oe&255);if(Ne<0||this.length<Ne||this.length<Ge)throw new RangeError("Out of range index");if(Ge<=Ne)return this;Ne=Ne>>>0,Ge=Ge===void 0?this.length:Ge>>>0,Oe||(Oe=0);var dt;if(typeof Oe=="number")for(dt=Ne;dt<Ge;++dt)this[dt]=Oe;else{var nt=oe.isBuffer(Oe)?Oe:oe.from(Oe,rt),vt=nt.length;if(vt===0)throw new TypeError('The value "'+Oe+'" is invalid for argument "value"');for(dt=0;dt<Ge-Ne;++dt)this[dt+Ne]=nt[dt%vt]}return this};var st=/[^+/0-9A-Za-z-_]/g;function Xe(Te){if(Te=Te.split("=")[0],Te=Te.trim().replace(st,""),Te.length<2)return"";for(;Te.length%4!==0;)Te=Te+"=";return Te}function Ke(Te){return Te<16?"0"+Te.toString(16):Te.toString(16)}function Me(Te,Oe){Oe=Oe||1/0;for(var Ne,Ge=Te.length,rt=null,mt=[],dt=0;dt<Ge;++dt){if(Ne=Te.charCodeAt(dt),Ne>55295&&Ne<57344){if(!rt){if(Ne>56319){(Oe-=3)>-1&&mt.push(239,191,189);continue}else if(dt+1===Ge){(Oe-=3)>-1&&mt.push(239,191,189);continue}rt=Ne;continue}if(Ne<56320){(Oe-=3)>-1&&mt.push(239,191,189),rt=Ne;continue}Ne=(rt-55296<<10|Ne-56320)+65536}else rt&&(Oe-=3)>-1&&mt.push(239,191,189);if(rt=null,Ne<128){if((Oe-=1)<0)break;mt.push(Ne)}else if(Ne<2048){if((Oe-=2)<0)break;mt.push(Ne>>6|192,Ne&63|128)}else if(Ne<65536){if((Oe-=3)<0)break;mt.push(Ne>>12|224,Ne>>6&63|128,Ne&63|128)}else if(Ne<1114112){if((Oe-=4)<0)break;mt.push(Ne>>18|240,Ne>>12&63|128,Ne>>6&63|128,Ne&63|128)}else throw new Error("Invalid code point")}return mt}function Ye(Te){for(var Oe=[],Ne=0;Ne<Te.length;++Ne)Oe.push(Te.charCodeAt(Ne)&255);return Oe}function Le(Te,Oe){for(var Ne,Ge,rt,mt=[],dt=0;dt<Te.length&&!((Oe-=2)<0);++dt)Ne=Te.charCodeAt(dt),Ge=Ne>>8,rt=Ne%256,mt.push(rt),mt.push(Ge);return mt}function Be(Te){return re.toByteArray(Xe(Te))}function Ve(Te,Oe,Ne,Ge){for(var rt=0;rt<Ge&&!(rt+Ne>=Oe.length||rt>=Te.length);++rt)Oe[rt+Ne]=Te[rt];return rt}function $e(Te,Oe){return Te instanceof Oe||Te!=null&&Te.constructor!=null&&Te.constructor.name!=null&&Te.constructor.name===Oe.name}function ze(Te){return Te!==Te}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,he,fe){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,fe){"use strict";var le=E("get-intrinsic"),re=E("./"),se=re(le("String.prototype.indexOf"));he.exports=function(ue,ae){var oe=le(ue,!!ae);return typeof oe=="function"&&se(ue,".prototype.")>-1?re(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(E,he,fe){"use strict";var le=E("function-bind"),re=E("get-intrinsic"),se=re("%Function.prototype.apply%"),ie=re("%Function.prototype.call%"),ue=re("%Reflect.apply%",!0)||le.call(ie,se),ae=re("%Object.getOwnPropertyDescriptor%",!0),oe=re("%Object.defineProperty%",!0),ne=re("%Math.max%");if(oe)try{oe({},"a",{value:1})}catch(a){oe=null}he.exports=function(y){var x=ue(le,ie,arguments);if(ae&&oe){var b=ae(x,"length");b.configurable&&oe(x,"length",{value:1+ne(0,y.length-(arguments.length-1))})}return x};var ee=function(){return ue(le,se,arguments)};oe?oe(he.exports,"apply",{value:ee}):he.exports.apply=ee},{"function-bind":347,"get-intrinsic":348}],94:[function(E,he,fe){"use strict";var le=Array.prototype.slice;he.exports=re;function re(ie,ue){if(!(this instanceof re))return new re(ie,ue);this.src=ie,this._withAccess=ue}re.prototype.withAccess=function(ie){return this._withAccess=ie!==!1,this},re.prototype.pick=function(ie){return Array.isArray(ie)||(ie=le.call(arguments)),ie.length&&(this.keys=ie),this},re.prototype.to=function(ie){if(ie=ie||{},!this.src)return ie;var ue=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ae=0;ae<ue.length;ae++)oe=ue[ae],ie[oe]===void 0&&(ie[oe]=this.src[oe]);return ie}for(var ae=0;ae<ue.length;ae++){var oe=ue[ae];if(se(ie,oe)){var ne=this.src.__lookupGetter__(oe),ee=this.src.__lookupSetter__(oe);ne&&ie.__defineGetter__(oe,ne),ee&&ie.__defineSetter__(oe,ee),!ne&&!ee&&(ie[oe]=this.src[oe])}}return ie},re.prototype.toCover=function(ie){for(var ue=this.keys||Object.keys(this.src),ae=0;ae<ue.length;ae++){var oe=ue[ae];delete ie[oe];var ne=this.src.__lookupGetter__(oe),ee=this.src.__lookupSetter__(oe);ne&&ie.__defineGetter__(oe,ne),ee&&ie.__defineSetter__(oe,ee),!ne&&!ee&&(ie[oe]=this.src[oe])}},re.prototype.override=re.prototype.toCover,re.prototype.and=function(ie){var ue={};return this.to(ue),this.src=ie,this.to(ue),this.src=ue,this};function se(ie,ue){return ie[ue]===void 0&&ie.__lookupGetter__(ue)===void 0&&ie.__lookupSetter__(ue)===void 0}},{}],95:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/is-callable"),se=E("../internals/try-to-string"),ie=le.TypeError;he.exports=function(ue){if(re(ue))return ue;throw ie(se(ue)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/is-constructor"),se=E("../internals/try-to-string"),ie=le.TypeError;he.exports=function(ue){if(re(ue))return ue;throw ie(se(ue)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/is-callable"),se=le.String,ie=le.TypeError;he.exports=function(ue){if(typeof ue=="object"||re(ue))return ue;throw ie("Can't set "+se(ue)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,he,fe){var le=E("../internals/well-known-symbol"),re=E("../internals/object-create"),se=E("../internals/object-define-property"),ie=le("unscopables"),ue=Array.prototype;ue[ie]==null&&se.f(ue,ie,{configurable:!0,value:re(null)}),he.exports=function(ae){ue[ie][ae]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(E,he,fe){"use strict";var le=E("../internals/string-multibyte").charAt;he.exports=function(re,se,ie){return se+(ie?le(re,se).length:1)}},{"../internals/string-multibyte":239}],100:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/object-is-prototype-of"),se=le.TypeError;he.exports=function(ie,ue){if(re(ue,ie))return ie;throw se("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/is-object"),se=le.String,ie=le.TypeError;he.exports=function(ue){if(re(ue))return ue;throw ie(se(ue)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(E,he,fe){he.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-native"),re=E("../internals/descriptors"),se=E("../internals/global"),ie=E("../internals/is-callable"),ue=E("../internals/is-object"),ae=E("../internals/has-own-property"),oe=E("../internals/classof"),ne=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"),ce=E("../internals/uid"),ge=se.Int8Array,me=ge&&ge.prototype,ve=se.Uint8ClampedArray,pe=ve&&ve.prototype,be=ge&&b(ge),ye=me&&b(me),Ee=Object.prototype,Pe=se.TypeError,Ae=te("toStringTag"),Ce=ce("TYPED_ARRAY_TAG"),_e=ce("TYPED_ARRAY_CONSTRUCTOR"),we=le&&!!z&&oe(se.opera)!=="Opera",Re=!1,De,ke,Ie,qe={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Je={BigInt64Array:8,BigUint64Array:8},We=function(st){if(!ue(st))return!1;var Xe=oe(st);return Xe==="DataView"||ae(qe,Xe)||ae(Je,Xe)},Qe=function(tt){if(!ue(tt))return!1;var st=oe(tt);return ae(qe,st)||ae(Je,st)},He=function(tt){if(Qe(tt))return tt;throw Pe("Target is not a typed array")},Fe=function(tt){if(ie(tt)&&(!z||x(be,tt)))return tt;throw Pe(ne(tt)+" is not a typed array constructor")},je=function(tt,st,Xe,Ke){if(re){if(Xe)for(var Me in qe){var Ye=se[Me];if(Ye&&ae(Ye.prototype,tt))try{delete Ye.prototype[tt]}catch(Le){try{Ye.prototype[tt]=st}catch(Be){}}}(!ye[tt]||Xe)&&a(ye,tt,Xe?st:we&&me[tt]||st,Ke)}},et=function(tt,st,Xe){var Ke,Me;if(re){if(z){if(Xe){for(Ke in qe)if(Me=se[Ke],Me&&ae(Me,tt))try{delete Me[tt]}catch(Ye){}}if(!be[tt]||Xe)try{return a(be,tt,Xe?st:we&&be[tt]||st)}catch(Ye){}else return}for(Ke in qe)Me=se[Ke],Me&&(!Me[tt]||Xe)&&a(Me,tt,st)}};for(De in qe)ke=se[De],Ie=ke&&ke.prototype,Ie?ee(Ie,_e,ke):we=!1;for(De in Je)ke=se[De],Ie=ke&&ke.prototype,Ie&&ee(Ie,_e,ke);if((!we||!ie(be)||be===Function.prototype)&&(be=function(){throw Pe("Incorrect invocation")},we))for(De in qe)se[De]&&z(se[De],be);if((!we||!ye||ye===Ee)&&(ye=be.prototype,we))for(De in qe)se[De]&&z(se[De].prototype,ye);if(we&&b(pe)!==ye&&z(pe,ye),re&&!ae(ye,Ae)){Re=!0,y(ye,Ae,{get:function(){return ue(this)?this[Ce]:void 0}});for(De in qe)se[De]&&ee(se[De],Ce,De)}he.exports={NATIVE_ARRAY_BUFFER_VIEWS:we,TYPED_ARRAY_CONSTRUCTOR:_e,TYPED_ARRAY_TAG:Re&&Ce,aTypedArray:He,aTypedArrayConstructor:Fe,exportTypedArrayMethod:je,exportTypedArrayStaticMethod:et,isView:We,isTypedArray:Qe,TypedArray:be,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,fe){"use strict";var le=E("../internals/global"),re=E("../internals/function-uncurry-this"),se=E("../internals/descriptors"),ie=E("../internals/array-buffer-native"),ue=E("../internals/function-name"),ae=E("../internals/create-non-enumerable-property"),oe=E("../internals/redefine-all"),ne=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"),ce=E("../internals/object-get-own-property-names").f,ge=E("../internals/object-define-property").f,me=E("../internals/array-fill"),ve=E("../internals/array-slice-simple"),pe=E("../internals/set-to-string-tag"),be=E("../internals/internal-state"),ye=ue.PROPER,Ee=ue.CONFIGURABLE,Pe=be.get,Ae=be.set,Ce="ArrayBuffer",_e="DataView",we="prototype",Re="Wrong length",De="Wrong index",ke=le[Ce],Ie=ke,qe=Ie&&Ie[we],Je=le[_e],We=Je&&Je[we],Qe=Object.prototype,He=le.Array,Fe=le.RangeError,je=re(me),et=re([].reverse),tt=b.pack,st=b.unpack,Xe=function(dt){return[dt&255]},Ke=function(dt){return[dt&255,dt>>8&255]},Me=function(dt){return[dt&255,dt>>8&255,dt>>16&255,dt>>24&255]},Ye=function(dt){return dt[3]<<24|dt[2]<<16|dt[1]<<8|dt[0]},Le=function(dt){return tt(dt,23,4)},Be=function(dt){return tt(dt,52,8)},Ve=function(dt,nt){ge(dt[we],nt,{get:function(){return Pe(this)[nt]}})},$e=function(dt,nt,vt,At){var Nt=x(vt),at=Pe(dt);if(Nt+nt>at.byteLength)throw Fe(De);var xt=Pe(at.buffer).bytes,lt=Nt+at.byteOffset,it=ve(xt,lt,lt+nt);return At?it:et(it)},ze=function(dt,nt,vt,At,Nt,at){var xt=x(vt),lt=Pe(dt);if(xt+nt>lt.byteLength)throw Fe(De);for(var it=Pe(lt.buffer).bytes,bt=xt+lt.byteOffset,wt=At(+Nt),Dt=0;Dt<nt;Dt++)it[bt+Dt]=wt[at?Dt:nt-Dt-1]};if(!ie)Ie=function(nt){ee(this,qe);var vt=x(nt);Ae(this,{bytes:je(He(vt),0),byteLength:vt}),se||(this.byteLength=vt)},qe=Ie[we],Je=function(nt,vt,At){ee(this,We),ee(nt,qe);var Nt=Pe(nt).byteLength,at=a(vt);if(at<0||at>Nt)throw Fe("Wrong offset");if(At=At===void 0?Nt-at:y(At),at+At>Nt)throw Fe(Re);Ae(this,{buffer:nt,byteLength:At,byteOffset:at}),se||(this.buffer=nt,this.byteLength=At,this.byteOffset=at)},We=Je[we],se&&(Ve(Ie,"byteLength"),Ve(Je,"buffer"),Ve(Je,"byteLength"),Ve(Je,"byteOffset")),oe(We,{getInt8:function(nt){return $e(this,1,nt)[0]<<24>>24},getUint8:function(nt){return $e(this,1,nt)[0]},getInt16:function(nt){var vt=$e(this,2,nt,arguments.length>1?arguments[1]:void 0);return(vt[1]<<8|vt[0])<<16>>16},getUint16:function(nt){var vt=$e(this,2,nt,arguments.length>1?arguments[1]:void 0);return vt[1]<<8|vt[0]},getInt32:function(nt){return Ye($e(this,4,nt,arguments.length>1?arguments[1]:void 0))},getUint32:function(nt){return Ye($e(this,4,nt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(nt){return st($e(this,4,nt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(nt){return st($e(this,8,nt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(nt,vt){ze(this,1,nt,Xe,vt)},setUint8:function(nt,vt){ze(this,1,nt,Xe,vt)},setInt16:function(nt,vt){ze(this,2,nt,Ke,vt,arguments.length>2?arguments[2]:void 0)},setUint16:function(nt,vt){ze(this,2,nt,Ke,vt,arguments.length>2?arguments[2]:void 0)},setInt32:function(nt,vt){ze(this,4,nt,Me,vt,arguments.length>2?arguments[2]:void 0)},setUint32:function(nt,vt){ze(this,4,nt,Me,vt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(nt,vt){ze(this,4,nt,Le,vt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(nt,vt){ze(this,8,nt,Be,vt,arguments.length>2?arguments[2]:void 0)}});else{var Te=ye&&ke.name!==Ce;if(!ne(function(){ke(1)})||!ne(function(){new ke(-1)})||ne(function(){return new ke,new ke(1.5),new ke(NaN),Te&&!Ee})){Ie=function(nt){return ee(this,qe),new ke(x(nt))},Ie[we]=qe;for(var Oe=ce(ke),Ne=0,Ge;Oe.length>Ne;)(Ge=Oe[Ne++])in Ie||ae(Ie,Ge,ke[Ge]);qe.constructor=Ie}else Te&&Ee&&ae(ke,"name",Ce);te&&z(We)!==Qe&&te(We,Qe);var rt=new Je(new Ie(2)),mt=re(We.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),(rt.getInt8(0)||!rt.getInt8(1))&&oe(We,{setInt8:function(nt,vt){mt(this,nt,vt<<24>>24)},setUint8:function(nt,vt){mt(this,nt,vt<<24>>24)}},{unsafe:!0})}pe(Ie,Ce),pe(Je,_e),he.exports={ArrayBuffer:Ie,DataView:Je}},{"../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,fe){"use strict";var le=E("../internals/to-object"),re=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),ie=Math.min;he.exports=[].copyWithin||function(ae,oe){var ne=le(this),ee=se(ne),a=re(ae,ee),y=re(oe,ee),x=arguments.length>2?arguments[2]:void 0,b=ie((x===void 0?ee:re(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 ne?ne[a]=ne[y]:delete ne[a],a+=z,y+=z;return ne}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,he,fe){"use strict";var le=E("../internals/to-object"),re=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like");he.exports=function(ue){for(var ae=le(this),oe=se(ae),ne=arguments.length,ee=re(ne>1?arguments[1]:void 0,oe),a=ne>2?arguments[2]:void 0,y=a===void 0?oe:re(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,fe){"use strict";var le=E("../internals/array-iteration").forEach,re=E("../internals/array-method-is-strict"),se=re("forEach");he.exports=se?[].forEach:function(ue){return le(this,ue,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,he,fe){var le=E("../internals/length-of-array-like");he.exports=function(re,se){for(var ie=0,ue=le(se),ae=new re(ue);ue>ie;)ae[ie]=se[ie++];return ae}},{"../internals/length-of-array-like":188}],109:[function(E,he,fe){"use strict";var le=E("../internals/global"),re=E("../internals/function-bind-context"),se=E("../internals/function-call"),ie=E("../internals/to-object"),ue=E("../internals/call-with-safe-iteration-closing"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/is-constructor"),ne=E("../internals/length-of-array-like"),ee=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=le.Array;he.exports=function(z){var te=ie(z),ce=oe(this),ge=arguments.length,me=ge>1?arguments[1]:void 0,ve=me!==void 0;ve&&(me=re(me,ge>2?arguments[2]:void 0));var pe=y(te),be=0,ye,Ee,Pe,Ae,Ce,_e;if(pe&&!(this==x&&ae(pe)))for(Ae=a(te,pe),Ce=Ae.next,Ee=ce?new this:[];!(Pe=se(Ce,Ae)).done;be++)_e=ve?ue(Ae,me,[Pe.value,be],!0):Pe.value,ee(Ee,be,_e);else for(ye=ne(te),Ee=ce?new this(ye):x(ye);ye>be;be++)_e=ve?me(te[be],be):te[be],ee(Ee,be,_e);return Ee.length=be,Ee}},{"../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,fe){var le=E("../internals/to-indexed-object"),re=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),ie=function(ue){return function(ae,oe,ne){var ee=le(ae),a=se(ee),y=re(ne,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:ie(!0),indexOf:ie(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,he,fe){var le=E("../internals/function-bind-context"),re=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),ie=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/array-species-create"),oe=re([].push),ne=function(ee){var a=ee==1,y=ee==2,x=ee==3,b=ee==4,z=ee==6,te=ee==7,ce=ee==5||z;return function(ge,me,ve,pe){for(var be=ie(ge),ye=se(be),Ee=le(me,ve),Pe=ue(ye),Ae=0,Ce=pe||ae,_e=a?Ce(ge,Pe):y||te?Ce(ge,0):void 0,we,Re;Pe>Ae;Ae++)if((ce||Ae in ye)&&(we=ye[Ae],Re=Ee(we,Ae,be),ee))if(a)_e[Ae]=Re;else if(Re)switch(ee){case 3:return!0;case 5:return we;case 6:return Ae;case 2:oe(_e,we)}else switch(ee){case 4:return!1;case 7:oe(_e,we)}return z?-1:x||b?b:_e}};he.exports={forEach:ne(0),map:ne(1),filter:ne(2),some:ne(3),every:ne(4),find:ne(5),findIndex:ne(6),filterReject:ne(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,fe){"use strict";var le=E("../internals/function-apply"),re=E("../internals/to-indexed-object"),se=E("../internals/to-integer-or-infinity"),ie=E("../internals/length-of-array-like"),ue=E("../internals/array-method-is-strict"),ae=Math.min,oe=[].lastIndexOf,ne=!!oe&&1/[1].lastIndexOf(1,-0)<0,ee=ue("lastIndexOf"),a=ne||!ee;he.exports=a?function(x){if(ne)return le(oe,this,arguments)||0;var b=re(this),z=ie(b),te=z-1;for(arguments.length>1&&(te=ae(te,se(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,fe){var le=E("../internals/fails"),re=E("../internals/well-known-symbol"),se=E("../internals/engine-v8-version"),ie=re("species");he.exports=function(ue){return se>=51||!le(function(){var ae=[],oe=ae.constructor={};return oe[ie]=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,fe){"use strict";var le=E("../internals/fails");he.exports=function(re,se){var ie=[][re];return!!ie&&le(function(){ie.call(null,se||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/a-callable"),se=E("../internals/to-object"),ie=E("../internals/indexed-object"),ue=E("../internals/length-of-array-like"),ae=le.TypeError,oe=function(ne){return function(ee,a,y,x){re(a);var b=se(ee),z=ie(b),te=ue(b),ce=ne?te-1:0,ge=ne?-1:1;if(y<2)for(;;){if(ce in z){x=z[ce],ce+=ge;break}if(ce+=ge,ne?ce<0:te<=ce)throw ae("Reduce of empty array with no initial value")}for(;ne?ce>=0:te>ce;ce+=ge)ce in z&&(x=a(x,z[ce],ce,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,fe){var le=E("../internals/global"),re=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),ie=E("../internals/create-property"),ue=le.Array,ae=Math.max;he.exports=function(oe,ne,ee){for(var a=se(oe),y=re(ne,a),x=re(ee===void 0?a:ee,a),b=ue(ae(x-y,0)),z=0;y<x;y++,z++)ie(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,fe){var le=E("../internals/function-uncurry-this");he.exports=le([].slice)},{"../internals/function-uncurry-this":157}],118:[function(E,he,fe){var le=E("../internals/array-slice-simple"),re=Math.floor,se=function(ae,oe){var ne=ae.length,ee=re(ne/2);return ne<8?ie(ae,oe):ue(ae,se(le(ae,0,ee),oe),se(le(ae,ee),oe),oe)},ie=function(ae,oe){for(var ne=ae.length,ee=1,a,y;ee<ne;){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,ne,ee){for(var a=oe.length,y=ne.length,x=0,b=0;x<a||b<y;)ae[x+b]=x<a&&b<y?ee(oe[x],ne[b])<=0?oe[x++]:ne[b++]:x<a?oe[x++]:ne[b++];return ae};he.exports=se},{"../internals/array-slice-simple":116}],119:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/is-array"),se=E("../internals/is-constructor"),ie=E("../internals/is-object"),ue=E("../internals/well-known-symbol"),ae=ue("species"),oe=le.Array;he.exports=function(ne){var ee;return re(ne)&&(ee=ne.constructor,se(ee)&&(ee===oe||re(ee.prototype))?ee=void 0:ie(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,fe){var le=E("../internals/array-species-constructor");he.exports=function(re,se){return new(le(re))(se===0?0:se)}},{"../internals/array-species-constructor":119}],121:[function(E,he,fe){var le=E("../internals/an-object"),re=E("../internals/iterator-close");he.exports=function(se,ie,ue,ae){try{return ae?ie(le(ue)[0],ue[1]):ie(ue)}catch(oe){re(se,"throw",oe)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,he,fe){var le=E("../internals/well-known-symbol"),re=le("iterator"),se=!1;try{var ie=0,ue={next:function(){return{done:!!ie++}},return:function(){se=!0}};ue[re]=function(){return this},Array.from(ue,function(){throw 2})}catch(ae){}he.exports=function(ae,oe){if(!oe&&!se)return!1;var ne=!1;try{var ee={};ee[re]=function(){return{next:function(){return{done:ne=!0}}}},ae(ee)}catch(a){}return ne}},{"../internals/well-known-symbol":268}],123:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=le({}.toString),se=le("".slice);he.exports=function(ie){return se(re(ie),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/to-string-tag-support"),se=E("../internals/is-callable"),ie=E("../internals/classof-raw"),ue=E("../internals/well-known-symbol"),ae=ue("toStringTag"),oe=le.Object,ne=ie(function(){return arguments}())=="Arguments",ee=function(a,y){try{return a[y]}catch(x){}};he.exports=re?ie:function(a){var y,x,b;return a===void 0?"Undefined":a===null?"Null":typeof(x=ee(y=oe(a),ae))=="string"?x:ne?ie(y):(b=ie(y))=="Object"&&se(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,fe){var le=E("../internals/has-own-property"),re=E("../internals/own-keys"),se=E("../internals/object-get-own-property-descriptor"),ie=E("../internals/object-define-property");he.exports=function(ue,ae,oe){for(var ne=re(ae),ee=ie.f,a=se.f,y=0;y<ne.length;y++){var x=ne[y];!le(ue,x)&&!(oe&&le(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,fe){var le=E("../internals/well-known-symbol"),re=le("match");he.exports=function(se){var ie=/./;try{"/./"[se](ie)}catch(ue){try{return ie[re]=!1,"/./"[se](ie)}catch(ae){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,he,fe){var le=E("../internals/fails");he.exports=!le(function(){function re(){}return re.prototype.constructor=null,Object.getPrototypeOf(new re)!==re.prototype})},{"../internals/fails":150}],128:[function(E,he,fe){"use strict";var le=E("../internals/iterators-core").IteratorPrototype,re=E("../internals/object-create"),se=E("../internals/create-property-descriptor"),ie=E("../internals/set-to-string-tag"),ue=E("../internals/iterators"),ae=function(){return this};he.exports=function(oe,ne,ee,a){var y=ne+" Iterator";return oe.prototype=re(le,{next:se(+!a,ee)}),ie(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,fe){var le=E("../internals/descriptors"),re=E("../internals/object-define-property"),se=E("../internals/create-property-descriptor");he.exports=le?function(ie,ue,ae){return re.f(ie,ue,se(1,ae))}:function(ie,ue,ae){return ie[ue]=ae,ie}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,he,fe){he.exports=function(le,re){return{enumerable:!(le&1),configurable:!(le&2),writable:!(le&4),value:re}}},{}],131:[function(E,he,fe){"use strict";var le=E("../internals/to-property-key"),re=E("../internals/object-define-property"),se=E("../internals/create-property-descriptor");he.exports=function(ie,ue,ae){var oe=le(ue);oe in ie?re.f(ie,oe,se(0,ae)):ie[oe]=ae}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(E,he,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-call"),se=E("../internals/is-pure"),ie=E("../internals/function-name"),ue=E("../internals/is-callable"),ae=E("../internals/create-iterator-constructor"),oe=E("../internals/object-get-prototype-of"),ne=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=ie.PROPER,ce=ie.CONFIGURABLE,ge=z.IteratorPrototype,me=z.BUGGY_SAFARI_ITERATORS,ve=x("iterator"),pe="keys",be="values",ye="entries",Ee=function(){return this};he.exports=function(Pe,Ae,Ce,_e,we,Re,De){ae(Ce,Ae,_e);var ke=function(tt){if(tt===we&&Qe)return Qe;if(!me&&tt in Je)return Je[tt];switch(tt){case pe:return function(){return new Ce(this,tt)};case be:return function(){return new Ce(this,tt)};case ye:return function(){return new Ce(this,tt)}}return function(){return new Ce(this)}},Ie=Ae+" Iterator",qe=!1,Je=Pe.prototype,We=Je[ve]||Je["@@iterator"]||we&&Je[we],Qe=!me&&We||ke(we),He=Ae=="Array"&&Je.entries||We,Fe,je,et;if(He&&(Fe=oe(He.call(new Pe)),Fe!==Object.prototype&&Fe.next&&(!se&&oe(Fe)!==ge&&(ne?ne(Fe,ge):ue(Fe[ve])||y(Fe,ve,Ee)),ee(Fe,Ie,!0,!0),se&&(b[Ie]=Ee))),te&&we==be&&We&&We.name!==be&&(!se&&ce?a(Je,"name",be):(qe=!0,Qe=function(){return re(We,this)})),we)if(je={values:ke(be),keys:Re?Qe:ke(pe),entries:ke(ye)},De)for(et in je)(me||qe||!(et in Je))&&y(Je,et,je[et]);else le({target:Ae,proto:!0,forced:me||qe},je);return(!se||De)&&Je[ve]!==Qe&&y(Je,ve,Qe,{name:we}),b[Ae]=Qe,je}},{"../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,fe){var le=E("../internals/path"),re=E("../internals/has-own-property"),se=E("../internals/well-known-symbol-wrapped"),ie=E("../internals/object-define-property").f;he.exports=function(ue){var ae=le.Symbol||(le.Symbol={});re(ae,ue)||ie(ae,ue,{value:se.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,fe){var le=E("../internals/fails");he.exports=!le(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/is-object"),se=le.document,ie=re(se)&&re(se.createElement);he.exports=function(ue){return ie?se.createElement(ue):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(E,he,fe){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,fe){var le=E("../internals/document-create-element"),re=le("span").classList,se=re&&re.constructor&&re.constructor.prototype;he.exports=se===Object.prototype?void 0:se},{"../internals/document-create-element":135}],138:[function(E,he,fe){var le=E("../internals/engine-user-agent"),re=le.match(/firefox\/(\d+)/i);he.exports=!!re&&+re[1]},{"../internals/engine-user-agent":145}],139:[function(E,he,fe){he.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(E,he,fe){var le=E("../internals/engine-user-agent");he.exports=/MSIE|Trident/.test(le)},{"../internals/engine-user-agent":145}],141:[function(E,he,fe){var le=E("../internals/engine-user-agent"),re=E("../internals/global");he.exports=/ipad|iphone|ipod/i.test(le)&&re.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(E,he,fe){var le=E("../internals/engine-user-agent");he.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(le)},{"../internals/engine-user-agent":145}],143:[function(E,he,fe){var le=E("../internals/classof-raw"),re=E("../internals/global");he.exports=le(re.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(E,he,fe){var le=E("../internals/engine-user-agent");he.exports=/web0s(?!.*chrome)/i.test(le)},{"../internals/engine-user-agent":145}],145:[function(E,he,fe){var le=E("../internals/get-built-in");he.exports=le("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/engine-user-agent"),se=le.process,ie=le.Deno,ue=se&&se.versions||ie&&ie.version,ae=ue&&ue.v8,oe,ne;ae&&(oe=ae.split("."),ne=oe[0]>0&&oe[0]<4?1:+(oe[0]+oe[1])),!ne&&re&&(oe=re.match(/Edge\/(\d+)/),(!oe||oe[1]>=74)&&(oe=re.match(/Chrome\/(\d+)/),oe&&(ne=+oe[1]))),he.exports=ne},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,he,fe){var le=E("../internals/engine-user-agent"),re=le.match(/AppleWebKit\/(\d+)\./);he.exports=!!re&&+re[1]},{"../internals/engine-user-agent":145}],148:[function(E,he,fe){he.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/object-get-own-property-descriptor").f,se=E("../internals/create-non-enumerable-property"),ie=E("../internals/redefine"),ue=E("../internals/set-global"),ae=E("../internals/copy-constructor-properties"),oe=E("../internals/is-forced");he.exports=function(ne,ee){var a=ne.target,y=ne.global,x=ne.stat,b,z,te,ce,ge,me;if(y?z=le:x?z=le[a]||ue(a,{}):z=(le[a]||{}).prototype,z)for(te in ee){if(ge=ee[te],ne.noTargetGet?(me=re(z,te),ce=me&&me.value):ce=z[te],b=oe(y?te:a+(x?".":"#")+te,ne.forced),!b&&ce!==void 0){if(typeof ge==typeof ce)continue;ae(ge,ce)}(ne.sham||ce&&ce.sham)&&se(ge,"sham",!0),ie(z,te,ge,ne)}}},{"../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,fe){he.exports=function(le){try{return!!le()}catch(re){return!0}}},{}],151:[function(E,he,fe){"use strict";E("../modules/es.regexp.exec");var le=E("../internals/function-uncurry-this"),re=E("../internals/redefine"),se=E("../internals/regexp-exec"),ie=E("../internals/fails"),ue=E("../internals/well-known-symbol"),ae=E("../internals/create-non-enumerable-property"),oe=ue("species"),ne=RegExp.prototype;he.exports=function(ee,a,y,x){var b=ue(ee),z=!ie(function(){var me={};return me[b]=function(){return 7},""[ee](me)!=7}),te=z&&!ie(function(){var me=!1,ve=/a/;return ee==="split"&&(ve={},ve.constructor={},ve.constructor[oe]=function(){return ve},ve.flags="",ve[b]=/./[b]),ve.exec=function(){return me=!0,null},ve[b](""),!me});if(!z||!te||y){var ce=le(/./[b]),ge=a(b,""[ee],function(me,ve,pe,be,ye){var Ee=le(me),Pe=ve.exec;return Pe===se||Pe===ne.exec?z&&!ye?{done:!0,value:ce(ve,pe,be)}:{done:!0,value:Ee(pe,ve,be)}:{done:!1}});re(String.prototype,ee,ge[0]),re(ne,b,ge[1])}x&&ae(ne[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,fe){var le=E("../internals/function-bind-native"),re=Function.prototype,se=re.apply,ie=re.call;he.exports=typeof Reflect=="object"&&Reflect.apply||(le?ie.bind(se):function(){return ie.apply(se,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/a-callable"),se=E("../internals/function-bind-native"),ie=le(le.bind);he.exports=function(ue,ae){return re(ue),ae===void 0?ue:se?ie(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,fe){var le=E("../internals/fails");he.exports=!le(function(){var re=function(){}.bind();return typeof re!="function"||re.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,he,fe){var le=E("../internals/function-bind-native"),re=Function.prototype.call;he.exports=le?re.bind(re):function(){return re.apply(re,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,he,fe){var le=E("../internals/descriptors"),re=E("../internals/has-own-property"),se=Function.prototype,ie=le&&Object.getOwnPropertyDescriptor,ue=re(se,"name"),ae=ue&&function(){}.name==="something",oe=ue&&(!le||le&&ie(se,"name").configurable);he.exports={EXISTS:ue,PROPER:ae,CONFIGURABLE:oe}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,he,fe){var le=E("../internals/function-bind-native"),re=Function.prototype,se=re.bind,ie=re.call,ue=le&&se.bind(ie,ie);he.exports=le?function(ae){return ae&&ue(ae)}:function(ae){return ae&&function(){return ie.apply(ae,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/is-callable"),se=function(ie){return re(ie)?ie:void 0};he.exports=function(ie,ue){return arguments.length<2?se(le[ie]):le[ie]&&le[ie][ue]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,he,fe){var le=E("../internals/classof"),re=E("../internals/get-method"),se=E("../internals/iterators"),ie=E("../internals/well-known-symbol"),ue=ie("iterator");he.exports=function(ae){if(ae!=null)return re(ae,ue)||re(ae,"@@iterator")||se[le(ae)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/function-call"),se=E("../internals/a-callable"),ie=E("../internals/an-object"),ue=E("../internals/try-to-string"),ae=E("../internals/get-iterator-method"),oe=le.TypeError;he.exports=function(ne,ee){var a=arguments.length<2?ae(ne):ee;if(se(a))return ie(re(a,ne));throw oe(ue(ne)+" 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,fe){var le=E("../internals/a-callable");he.exports=function(re,se){var ie=re[se];return ie==null?void 0:le(ie)}},{"../internals/a-callable":95}],162:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/to-object"),se=Math.floor,ie=le("".charAt),ue=le("".replace),ae=le("".slice),oe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ne=/\$([$&'`]|\d{1,2})/g;he.exports=function(ee,a,y,x,b,z){var te=y+ee.length,ce=x.length,ge=ne;return b!==void 0&&(b=re(b),ge=oe),ue(z,ge,function(me,ve){var pe;switch(ie(ve,0)){case"$":return"$";case"&":return ee;case"`":return ae(a,0,y);case"'":return ae(a,te);case"<":pe=b[ae(ve,1,-1)];break;default:var be=+ve;if(be===0)return me;if(be>ce){var ye=se(be/10);return ye===0?me:ye<=ce?x[ye-1]===void 0?ie(ve,1):x[ye-1]+ie(ve,1):me}pe=x[be-1]}return pe===void 0?"":pe})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,he,fe){(function(le){(function(){var re=function(se){return se&&se.Math==Math&&se};he.exports=re(typeof globalThis=="object"&&globalThis)||re(typeof window=="object"&&window)||re(typeof self=="object"&&self)||re(typeof le=="object"&&le)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/to-object"),se=le({}.hasOwnProperty);he.exports=Object.hasOwn||function(ue,ae){return se(re(ue),ae)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,he,fe){he.exports={}},{}],166:[function(E,he,fe){var le=E("../internals/global");he.exports=function(re,se){var ie=le.console;ie&&ie.error&&(arguments.length==1?ie.error(re):ie.error(re,se))}},{"../internals/global":163}],167:[function(E,he,fe){var le=E("../internals/get-built-in");he.exports=le("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,he,fe){var le=E("../internals/descriptors"),re=E("../internals/fails"),se=E("../internals/document-create-element");he.exports=!le&&!re(function(){return Object.defineProperty(se("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,he,fe){var le=E("../internals/global"),re=le.Array,se=Math.abs,ie=Math.pow,ue=Math.floor,ae=Math.log,oe=Math.LN2,ne=function(a,y,x){var b=re(x),z=x*8-y-1,te=(1<<z)-1,ce=te>>1,ge=y===23?ie(2,-24)-ie(2,-77):0,me=a<0||a===0&&1/a<0?1:0,ve=0,pe,be,ye;for(a=se(a),a!=a||a===1/0?(be=a!=a?1:0,pe=te):(pe=ue(ae(a)/oe),ye=ie(2,-pe),a*ye<1&&(pe--,ye*=2),pe+ce>=1?a+=ge/ye:a+=ge*ie(2,1-ce),a*ye>=2&&(pe++,ye/=2),pe+ce>=te?(be=0,pe=te):pe+ce>=1?(be=(a*ye-1)*ie(2,y),pe=pe+ce):(be=a*ie(2,ce-1)*ie(2,y),pe=0));y>=8;)b[ve++]=be&255,be/=256,y-=8;for(pe=pe<<y|be,z+=y;z>0;)b[ve++]=pe&255,pe/=256,z-=8;return b[--ve]|=me*128,b},ee=function(a,y){var x=a.length,b=x*8-y-1,z=(1<<b)-1,te=z>>1,ce=b-7,ge=x-1,me=a[ge--],ve=me&127,pe;for(me>>=7;ce>0;)ve=ve*256+a[ge--],ce-=8;for(pe=ve&(1<<-ce)-1,ve>>=-ce,ce+=y;ce>0;)pe=pe*256+a[ge--],ce-=8;if(ve===0)ve=1-te;else{if(ve===z)return pe?NaN:me?-1/0:1/0;pe=pe+ie(2,y),ve=ve-te}return(me?-1:1)*pe*ie(2,ve-y)};he.exports={pack:ne,unpack:ee}},{"../internals/global":163}],170:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/function-uncurry-this"),se=E("../internals/fails"),ie=E("../internals/classof-raw"),ue=le.Object,ae=re("".split);he.exports=se(function(){return!ue("z").propertyIsEnumerable(0)})?function(oe){return ie(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,fe){var le=E("../internals/is-callable"),re=E("../internals/is-object"),se=E("../internals/object-set-prototype-of");he.exports=function(ie,ue,ae){var oe,ne;return se&&le(oe=ue.constructor)&&oe!==ae&&re(ne=oe.prototype)&&ne!==ae.prototype&&se(ie,ne),ie}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/is-callable"),se=E("../internals/shared-store"),ie=le(Function.toString);re(se.inspectSource)||(se.inspectSource=function(ue){return ie(ue)}),he.exports=se.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,he,fe){var le=E("../internals/native-weak-map"),re=E("../internals/global"),se=E("../internals/function-uncurry-this"),ie=E("../internals/is-object"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/has-own-property"),oe=E("../internals/shared-store"),ne=E("../internals/shared-key"),ee=E("../internals/hidden-keys"),a="Object already initialized",y=re.TypeError,x=re.WeakMap,b,z,te,ce=function(Ee){return te(Ee)?z(Ee):b(Ee,{})},ge=function(Ee){return function(Pe){var Ae;if(!ie(Pe)||(Ae=z(Pe)).type!==Ee)throw y("Incompatible receiver, "+Ee+" required");return Ae}};if(le||oe.state){var me=oe.state||(oe.state=new x),ve=se(me.get),pe=se(me.has),be=se(me.set);b=function(Ee,Pe){if(pe(me,Ee))throw new y(a);return Pe.facade=Ee,be(me,Ee,Pe),Pe},z=function(Ee){return ve(me,Ee)||{}},te=function(Ee){return pe(me,Ee)}}else{var ye=ne("state");ee[ye]=!0,b=function(Ee,Pe){if(ae(Ee,ye))throw new y(a);return Pe.facade=Ee,ue(Ee,ye,Pe),Pe},z=function(Ee){return ae(Ee,ye)?Ee[ye]:{}},te=function(Ee){return ae(Ee,ye)}}he.exports={set:b,get:z,has:te,enforce:ce,getterFor:ge}},{"../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,fe){var le=E("../internals/well-known-symbol"),re=E("../internals/iterators"),se=le("iterator"),ie=Array.prototype;he.exports=function(ue){return ue!==void 0&&(re.Array===ue||ie[se]===ue)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,he,fe){var le=E("../internals/classof-raw");he.exports=Array.isArray||function(se){return le(se)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,he,fe){he.exports=function(le){return typeof le=="function"}},{}],177:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/fails"),se=E("../internals/is-callable"),ie=E("../internals/classof"),ue=E("../internals/get-built-in"),ae=E("../internals/inspect-source"),oe=function(){},ne=[],ee=ue("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=le(a.exec),x=!a.exec(oe),b=function(ce){if(!se(ce))return!1;try{return ee(oe,ne,ce),!0}catch(ge){return!1}},z=function(ce){if(!se(ce))return!1;switch(ie(ce)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ae(ce))}catch(ge){return!0}};z.sham=!0,he.exports=!ee||re(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,fe){var le=E("../internals/fails"),re=E("../internals/is-callable"),se=/#|\.prototype\./,ie=function(ee,a){var y=ae[ue(ee)];return y==ne?!0:y==oe?!1:re(a)?le(a):!!a},ue=ie.normalize=function(ee){return String(ee).replace(se,".").toLowerCase()},ae=ie.data={},oe=ie.NATIVE="N",ne=ie.POLYFILL="P";he.exports=ie},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,he,fe){var le=E("../internals/is-object"),re=Math.floor;he.exports=Number.isInteger||function(ie){return!le(ie)&&isFinite(ie)&&re(ie)===ie}},{"../internals/is-object":180}],180:[function(E,he,fe){var le=E("../internals/is-callable");he.exports=function(re){return typeof re=="object"?re!==null:le(re)}},{"../internals/is-callable":176}],181:[function(E,he,fe){he.exports=!1},{}],182:[function(E,he,fe){var le=E("../internals/is-object"),re=E("../internals/classof-raw"),se=E("../internals/well-known-symbol"),ie=se("match");he.exports=function(ue){var ae;return le(ue)&&((ae=ue[ie])!==void 0?!!ae:re(ue)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/get-built-in"),se=E("../internals/is-callable"),ie=E("../internals/object-is-prototype-of"),ue=E("../internals/use-symbol-as-uid"),ae=le.Object;he.exports=ue?function(oe){return typeof oe=="symbol"}:function(oe){var ne=re("Symbol");return se(ne)&&ie(ne.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,fe){var le=E("../internals/global"),re=E("../internals/function-bind-context"),se=E("../internals/function-call"),ie=E("../internals/an-object"),ue=E("../internals/try-to-string"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/length-of-array-like"),ne=E("../internals/object-is-prototype-of"),ee=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=le.TypeError,b=function(te,ce){this.stopped=te,this.result=ce},z=b.prototype;he.exports=function(te,ce,ge){var me=ge&&ge.that,ve=!!(ge&&ge.AS_ENTRIES),pe=!!(ge&&ge.IS_ITERATOR),be=!!(ge&&ge.INTERRUPTED),ye=re(ce,me),Ee,Pe,Ae,Ce,_e,we,Re,De=function(Ie){return Ee&&y(Ee,"normal",Ie),new b(!0,Ie)},ke=function(Ie){return ve?(ie(Ie),be?ye(Ie[0],Ie[1],De):ye(Ie[0],Ie[1])):be?ye(Ie,De):ye(Ie)};if(pe)Ee=te;else{if(Pe=a(te),!Pe)throw x(ue(te)+" is not iterable");if(ae(Pe)){for(Ae=0,Ce=oe(te);Ce>Ae;Ae++)if(_e=ke(te[Ae]),_e&&ne(z,_e))return _e;return new b(!1)}Ee=ee(te,Pe)}for(we=Ee.next;!(Re=se(we,Ee)).done;){try{_e=ke(Re.value)}catch(Ie){y(Ee,"throw",Ie)}if(typeof _e=="object"&&_e&&ne(z,_e))return _e}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,fe){var le=E("../internals/function-call"),re=E("../internals/an-object"),se=E("../internals/get-method");he.exports=function(ie,ue,ae){var oe,ne;re(ie);try{if(oe=se(ie,"return"),!oe){if(ue==="throw")throw ae;return ae}oe=le(oe,ie)}catch(ee){ne=!0,oe=ee}if(ue==="throw")throw ae;if(ne)throw oe;return re(oe),ae}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,he,fe){"use strict";var le=E("../internals/fails"),re=E("../internals/is-callable"),se=E("../internals/object-create"),ie=E("../internals/object-get-prototype-of"),ue=E("../internals/redefine"),ae=E("../internals/well-known-symbol"),oe=E("../internals/is-pure"),ne=ae("iterator"),ee=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=ie(ie(x)),y!==Object.prototype&&(a=y)):ee=!0);var b=a==null||le(function(){var z={};return a[ne].call(z)!==z});b?a={}:oe&&(a=se(a)),re(a[ne])||ue(a,ne,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,fe){arguments[4][165][0].apply(fe,arguments)},{dup:165}],188:[function(E,he,fe){var le=E("../internals/to-length");he.exports=function(re){return le(re.length)}},{"../internals/to-length":249}],189:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/function-bind-context"),se=E("../internals/object-get-own-property-descriptor").f,ie=E("../internals/task").set,ue=E("../internals/engine-is-ios"),ae=E("../internals/engine-is-ios-pebble"),oe=E("../internals/engine-is-webos-webkit"),ne=E("../internals/engine-is-node"),ee=le.MutationObserver||le.WebKitMutationObserver,a=le.document,y=le.process,x=le.Promise,b=se(le,"queueMicrotask"),z=b&&b.value,te,ce,ge,me,ve,pe,be,ye;z||(te=function(){var Ee,Pe;for(ne&&(Ee=y.domain)&&Ee.exit();ce;){Pe=ce.fn,ce=ce.next;try{Pe()}catch(Ae){throw ce?me():ge=void 0,Ae}}ge=void 0,Ee&&Ee.enter()},!ue&&!ne&&!oe&&ee&&a?(ve=!0,pe=a.createTextNode(""),new ee(te).observe(pe,{characterData:!0}),me=function(){pe.data=ve=!ve}):!ae&&x&&x.resolve?(be=x.resolve(void 0),be.constructor=x,ye=re(be.then,be),me=function(){ye(te)}):ne?me=function(){y.nextTick(te)}:(ie=re(ie,le),me=function(){ie(te)})),he.exports=z||function(Ee){var Pe={fn:Ee,next:void 0};ge&&(ge.next=Pe),ce||(ce=Pe,me()),ge=Pe}},{"../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,fe){var le=E("../internals/native-symbol");he.exports=le&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,he,fe){var le=E("../internals/engine-v8-version"),re=E("../internals/fails");he.exports=!!Object.getOwnPropertySymbols&&!re(function(){var se=Symbol();return!String(se)||!(Object(se)instanceof Symbol)||!Symbol.sham&&le&&le<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/is-callable"),se=E("../internals/inspect-source"),ie=le.WeakMap;he.exports=re(ie)&&/native code/.test(se(ie))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,he,fe){"use strict";var le=E("../internals/a-callable"),re=function(se){var ie,ue;this.promise=new se(function(ae,oe){if(ie!==void 0||ue!==void 0)throw TypeError("Bad Promise constructor");ie=ae,ue=oe}),this.resolve=le(ie),this.reject=le(ue)};he.exports.f=function(se){return new re(se)}},{"../internals/a-callable":95}],194:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/is-regexp"),se=le.TypeError;he.exports=function(ie){if(re(ie))throw se("The method doesn't accept regular expressions");return ie}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,he,fe){"use strict";var le=E("../internals/descriptors"),re=E("../internals/function-uncurry-this"),se=E("../internals/function-call"),ie=E("../internals/fails"),ue=E("../internals/object-keys"),ae=E("../internals/object-get-own-property-symbols"),oe=E("../internals/object-property-is-enumerable"),ne=E("../internals/to-object"),ee=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=re([].concat);he.exports=!a||ie(function(){if(le&&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(),ce="abcdefghijklmnopqrst";return b[te]=7,ce.split("").forEach(function(ge){z[ge]=ge}),a({},b)[te]!=7||ue(a({},z)).join("")!=ce})?function(z,te){for(var ce=ne(z),ge=arguments.length,me=1,ve=ae.f,pe=oe.f;ge>me;)for(var be=ee(arguments[me++]),ye=ve?x(ue(be),ve(be)):ue(be),Ee=ye.length,Pe=0,Ae;Ee>Pe;)Ae=ye[Pe++],(!le||se(pe,be,Ae))&&(ce[Ae]=be[Ae]);return ce}: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,fe){var le=E("../internals/an-object"),re=E("../internals/object-define-properties"),se=E("../internals/enum-bug-keys"),ie=E("../internals/hidden-keys"),ue=E("../internals/html"),ae=E("../internals/document-create-element"),oe=E("../internals/shared-key"),ne=">",ee="<",a="prototype",y="script",x=oe("IE_PROTO"),b=function(){},z=function(ve){return ee+y+ne+ve+ee+"/"+y+ne},te=function(ve){ve.write(z("")),ve.close();var pe=ve.parentWindow.Object;return ve=null,pe},ce=function(){var ve=ae("iframe"),pe="java"+y+":",be;return ve.style.display="none",ue.appendChild(ve),ve.src=String(pe),be=ve.contentWindow.document,be.open(),be.write(z("document.F=Object")),be.close(),be.F},ge,me=function(){try{ge=new ActiveXObject("htmlfile")}catch(pe){}me=typeof document!="undefined"?document.domain&&ge?te(ge):ce():te(ge);for(var ve=se.length;ve--;)delete me[a][se[ve]];return me()};ie[x]=!0,he.exports=Object.create||function(pe,be){var ye;return pe!==null?(b[a]=le(pe),ye=new b,b[a]=null,ye[x]=pe):ye=me(),be===void 0?ye:re.f(ye,be)}},{"../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,fe){var le=E("../internals/descriptors"),re=E("../internals/v8-prototype-define-bug"),se=E("../internals/object-define-property"),ie=E("../internals/an-object"),ue=E("../internals/to-indexed-object"),ae=E("../internals/object-keys");fe.f=le&&!re?Object.defineProperties:function(ne,ee){ie(ne);for(var a=ue(ee),y=ae(ee),x=y.length,b=0,z;x>b;)se.f(ne,z=y[b++],a[z]);return ne}},{"../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,fe){var le=E("../internals/global"),re=E("../internals/descriptors"),se=E("../internals/ie8-dom-define"),ie=E("../internals/v8-prototype-define-bug"),ue=E("../internals/an-object"),ae=E("../internals/to-property-key"),oe=le.TypeError,ne=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";fe.f=re?ie?function(z,te,ce){if(ue(z),te=ae(te),ue(ce),typeof z=="function"&&te==="prototype"&&"value"in ce&&x in ce&&!ce[x]){var ge=ee(z,te);ge&&ge[x]&&(z[te]=ce.value,ce={configurable:y in ce?ce[y]:ge[y],enumerable:a in ce?ce[a]:ge[a],writable:!1})}return ne(z,te,ce)}:ne:function(z,te,ce){if(ue(z),te=ae(te),ue(ce),se)try{return ne(z,te,ce)}catch(ge){}if("get"in ce||"set"in ce)throw oe("Accessors not supported");return"value"in ce&&(z[te]=ce.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,fe){var le=E("../internals/descriptors"),re=E("../internals/function-call"),se=E("../internals/object-property-is-enumerable"),ie=E("../internals/create-property-descriptor"),ue=E("../internals/to-indexed-object"),ae=E("../internals/to-property-key"),oe=E("../internals/has-own-property"),ne=E("../internals/ie8-dom-define"),ee=Object.getOwnPropertyDescriptor;fe.f=le?ee:function(y,x){if(y=ue(y),x=ae(x),ne)try{return ee(y,x)}catch(b){}if(oe(y,x))return ie(!re(se.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,fe){var le=E("../internals/classof-raw"),re=E("../internals/to-indexed-object"),se=E("../internals/object-get-own-property-names").f,ie=E("../internals/array-slice-simple"),ue=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(oe){try{return se(oe)}catch(ne){return ie(ue)}};he.exports.f=function(ne){return ue&&le(ne)=="Window"?ae(ne):se(re(ne))}},{"../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,fe){var le=E("../internals/object-keys-internal"),re=E("../internals/enum-bug-keys"),se=re.concat("length","prototype");fe.f=Object.getOwnPropertyNames||function(ue){return le(ue,se)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,he,fe){fe.f=Object.getOwnPropertySymbols},{}],203:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/has-own-property"),se=E("../internals/is-callable"),ie=E("../internals/to-object"),ue=E("../internals/shared-key"),ae=E("../internals/correct-prototype-getter"),oe=ue("IE_PROTO"),ne=le.Object,ee=ne.prototype;he.exports=ae?ne.getPrototypeOf:function(a){var y=ie(a);if(re(y,oe))return y[oe];var x=y.constructor;return se(x)&&y instanceof x?x.prototype:y instanceof ne?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,fe){var le=E("../internals/function-uncurry-this");he.exports=le({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/has-own-property"),se=E("../internals/to-indexed-object"),ie=E("../internals/array-includes").indexOf,ue=E("../internals/hidden-keys"),ae=le([].push);he.exports=function(oe,ne){var ee=se(oe),a=0,y=[],x;for(x in ee)!re(ue,x)&&re(ee,x)&&ae(y,x);for(;ne.length>a;)re(ee,x=ne[a++])&&(~ie(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,fe){var le=E("../internals/object-keys-internal"),re=E("../internals/enum-bug-keys");he.exports=Object.keys||function(ie){return le(ie,re)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,he,fe){"use strict";var le={}.propertyIsEnumerable,re=Object.getOwnPropertyDescriptor,se=re&&!le.call({1:2},1);fe.f=se?function(ue){var ae=re(this,ue);return!!ae&&ae.enumerable}:le},{}],208:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/an-object"),se=E("../internals/a-possible-prototype");he.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var ie=!1,ue={},ae;try{ae=le(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(ue,[]),ie=ue instanceof Array}catch(oe){}return function(ne,ee){return re(ne),se(ee),ie?ae(ne,ee):ne.__proto__=ee,ne}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,he,fe){var le=E("../internals/descriptors"),re=E("../internals/function-uncurry-this"),se=E("../internals/object-keys"),ie=E("../internals/to-indexed-object"),ue=E("../internals/object-property-is-enumerable").f,ae=re(ue),oe=re([].push),ne=function(ee){return function(a){for(var y=ie(a),x=se(y),b=x.length,z=0,te=[],ce;b>z;)ce=x[z++],(!le||ae(y,ce))&&oe(te,ee?[ce,y[ce]]:y[ce]);return te}};he.exports={entries:ne(!0),values:ne(!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,fe){"use strict";var le=E("../internals/to-string-tag-support"),re=E("../internals/classof");he.exports=le?{}.toString:function(){return"[object "+re(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/function-call"),se=E("../internals/is-callable"),ie=E("../internals/is-object"),ue=le.TypeError;he.exports=function(ae,oe){var ne,ee;if(oe==="string"&&se(ne=ae.toString)&&!ie(ee=re(ne,ae))||se(ne=ae.valueOf)&&!ie(ee=re(ne,ae))||oe!=="string"&&se(ne=ae.toString)&&!ie(ee=re(ne,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,fe){var le=E("../internals/get-built-in"),re=E("../internals/function-uncurry-this"),se=E("../internals/object-get-own-property-names"),ie=E("../internals/object-get-own-property-symbols"),ue=E("../internals/an-object"),ae=re([].concat);he.exports=le("Reflect","ownKeys")||function(ne){var ee=se.f(ue(ne)),a=ie.f;return a?ae(ee,a(ne)):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,fe){var le=E("../internals/global");he.exports=le},{"../internals/global":163}],214:[function(E,he,fe){he.exports=function(le){try{return{error:!1,value:le()}}catch(re){return{error:!0,value:re}}}},{}],215:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/promise-native-constructor"),se=E("../internals/is-callable"),ie=E("../internals/is-forced"),ue=E("../internals/inspect-source"),ae=E("../internals/well-known-symbol"),oe=E("../internals/engine-is-browser"),ne=E("../internals/is-pure"),ee=E("../internals/engine-v8-version"),a=re&&re.prototype,y=ae("species"),x=!1,b=se(le.PromiseRejectionEvent),z=ie("Promise",function(){var te=ue(re),ce=te!==String(re);if(!ce&&ee===66||ne&&!(a.catch&&a.finally))return!0;if(ee>=51&&/native code/.test(te))return!1;var ge=new re(function(pe){pe(1)}),me=function(pe){pe(function(){},function(){})},ve=ge.constructor={};return ve[y]=me,x=ge.then(function(){})instanceof me,x?!ce&&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,fe){var le=E("../internals/global");he.exports=le.Promise},{"../internals/global":163}],217:[function(E,he,fe){var le=E("../internals/an-object"),re=E("../internals/is-object"),se=E("../internals/new-promise-capability");he.exports=function(ie,ue){if(le(ie),re(ue)&&ue.constructor===ie)return ue;var ae=se.f(ie),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,fe){var le=E("../internals/promise-native-constructor"),re=E("../internals/check-correctness-of-iteration"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR;he.exports=se||!re(function(ie){le.all(ie).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,he,fe){var le=E("../internals/object-define-property").f;he.exports=function(re,se,ie){ie in re||le(re,ie,{configurable:!0,get:function(){return se[ie]},set:function(ue){se[ie]=ue}})}},{"../internals/object-define-property":198}],220:[function(E,he,fe){var le=function(){this.head=null,this.tail=null};le.prototype={add:function(re){var se={item:re,next:null};this.head?this.tail.next=se:this.head=se,this.tail=se},get:function(){var re=this.head;if(re)return this.head=re.next,this.tail===re&&(this.tail=null),re.item}},he.exports=le},{}],221:[function(E,he,fe){var le=E("../internals/redefine");he.exports=function(re,se,ie){for(var ue in se)le(re,ue,se[ue],ie);return re}},{"../internals/redefine":222}],222:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/is-callable"),se=E("../internals/has-own-property"),ie=E("../internals/create-non-enumerable-property"),ue=E("../internals/set-global"),ae=E("../internals/inspect-source"),oe=E("../internals/internal-state"),ne=E("../internals/function-name").CONFIGURABLE,ee=oe.get,a=oe.enforce,y=String(String).split("String");(he.exports=function(x,b,z,te){var ce=te?!!te.unsafe:!1,ge=te?!!te.enumerable:!1,me=te?!!te.noTargetGet:!1,ve=te&&te.name!==void 0?te.name:b,pe;if(re(z)&&(String(ve).slice(0,7)==="Symbol("&&(ve="["+String(ve).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!se(z,"name")||ne&&z.name!==ve)&&ie(z,"name",ve),pe=a(z),pe.source||(pe.source=y.join(typeof ve=="string"?ve:""))),x===le){ge?x[b]=z:ue(b,z);return}else ce?!me&&x[b]&&(ge=!0):delete x[b];ge?x[b]=z:ie(x,b,z)})(Function.prototype,"toString",function(){return re(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,fe){var le=E("../internals/global"),re=E("../internals/function-call"),se=E("../internals/an-object"),ie=E("../internals/is-callable"),ue=E("../internals/classof-raw"),ae=E("../internals/regexp-exec"),oe=le.TypeError;he.exports=function(ne,ee){var a=ne.exec;if(ie(a)){var y=re(a,ne,ee);return y!==null&&se(y),y}if(ue(ne)==="RegExp")return re(ae,ne,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,fe){"use strict";var le=E("../internals/function-call"),re=E("../internals/function-uncurry-this"),se=E("../internals/to-string"),ie=E("../internals/regexp-flags"),ue=E("../internals/regexp-sticky-helpers"),ae=E("../internals/shared"),oe=E("../internals/object-create"),ne=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=re("".charAt),te=re("".indexOf),ce=re("".replace),ge=re("".slice),me=function(){var ye=/a/,Ee=/b*/g;return le(x,ye,"a"),le(x,Ee,"a"),ye.lastIndex!==0||Ee.lastIndex!==0}(),ve=ue.BROKEN_CARET,pe=/()??/.exec("")[1]!==void 0,be=me||pe||ve||ee||a;be&&(b=function(Ee){var Pe=this,Ae=ne(Pe),Ce=se(Ee),_e=Ae.raw,we,Re,De,ke,Ie,qe,Je;if(_e)return _e.lastIndex=Pe.lastIndex,we=le(b,_e,Ce),Pe.lastIndex=_e.lastIndex,we;var We=Ae.groups,Qe=ve&&Pe.sticky,He=le(ie,Pe),Fe=Pe.source,je=0,et=Ce;if(Qe&&(He=ce(He,"y",""),te(He,"g")===-1&&(He+="g"),et=ge(Ce,Pe.lastIndex),Pe.lastIndex>0&&(!Pe.multiline||Pe.multiline&&z(Ce,Pe.lastIndex-1)!==`
`)&&(Fe="(?: "+Fe+")",et=" "+et,je++),Re=new RegExp("^(?:"+Fe+")",He)),pe&&(Re=new RegExp("^"+Fe+"$(?!\\s)",He)),me&&(De=Pe.lastIndex),ke=le(x,Qe?Re:Pe,et),Qe?ke?(ke.input=ge(ke.input,je),ke[0]=ge(ke[0],je),ke.index=Pe.lastIndex,Pe.lastIndex+=ke[0].length):Pe.lastIndex=0:me&&ke&&(Pe.lastIndex=Pe.global?ke.index+ke[0].length:De),pe&&ke&&ke.length>1&&le(y,ke[0],Re,function(){for(Ie=1;Ie<arguments.length-2;Ie++)arguments[Ie]===void 0&&(ke[Ie]=void 0)}),ke&&We)for(ke.groups=qe=oe(null),Ie=0;Ie<We.length;Ie++)Je=We[Ie],qe[Je[0]]=ke[Je[1]];return ke}),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,fe){"use strict";var le=E("../internals/an-object");he.exports=function(){var re=le(this),se="";return re.hasIndices&&(se+="d"),re.global&&(se+="g"),re.ignoreCase&&(se+="i"),re.multiline&&(se+="m"),re.dotAll&&(se+="s"),re.unicode&&(se+="u"),re.sticky&&(se+="y"),se}},{"../internals/an-object":101}],226:[function(E,he,fe){var le=E("../internals/function-call"),re=E("../internals/has-own-property"),se=E("../internals/object-is-prototype-of"),ie=E("../internals/regexp-flags"),ue=RegExp.prototype;he.exports=function(ae){var oe=ae.flags;return oe===void 0&&!("flags"in ue)&&!re(ae,"flags")&&se(ue,ae)?le(ie,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,fe){var le=E("../internals/fails"),re=E("../internals/global"),se=re.RegExp,ie=le(function(){var oe=se("a","y");return oe.lastIndex=2,oe.exec("abcd")!=null}),ue=ie||le(function(){return!se("a","y").sticky}),ae=ie||le(function(){var oe=se("^r","gy");return oe.lastIndex=2,oe.exec("str")!=null});he.exports={BROKEN_CARET:ae,MISSED_STICKY:ue,UNSUPPORTED_Y:ie}},{"../internals/fails":150,"../internals/global":163}],228:[function(E,he,fe){var le=E("../internals/fails"),re=E("../internals/global"),se=re.RegExp;he.exports=le(function(){var ie=se(".","s");return!(ie.dotAll&&ie.exec(`
`)&&ie.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(E,he,fe){var le=E("../internals/fails"),re=E("../internals/global"),se=re.RegExp;he.exports=le(function(){var ie=se("(?<a>b)","g");return ie.exec("b").groups.a!=="b"||"b".replace(ie,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,he,fe){var le=E("../internals/global"),re=le.TypeError;he.exports=function(se){if(se==null)throw re("Can't call method on "+se);return se}},{"../internals/global":163}],231:[function(E,he,fe){he.exports=Object.is||function(re,se){return re===se?re!==0||1/re===1/se:re!=re&&se!=se}},{}],232:[function(E,he,fe){var le=E("../internals/global"),re=Object.defineProperty;he.exports=function(se,ie){try{re(le,se,{value:ie,configurable:!0,writable:!0})}catch(ue){le[se]=ie}return ie}},{"../internals/global":163}],233:[function(E,he,fe){"use strict";var le=E("../internals/get-built-in"),re=E("../internals/object-define-property"),se=E("../internals/well-known-symbol"),ie=E("../internals/descriptors"),ue=se("species");he.exports=function(ae){var oe=le(ae),ne=re.f;ie&&oe&&!oe[ue]&&ne(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,fe){var le=E("../internals/object-define-property").f,re=E("../internals/has-own-property"),se=E("../internals/well-known-symbol"),ie=se("toStringTag");he.exports=function(ue,ae,oe){ue&&!oe&&(ue=ue.prototype),ue&&!re(ue,ie)&&le(ue,ie,{configurable:!0,value:ae})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,he,fe){var le=E("../internals/shared"),re=E("../internals/uid"),se=le("keys");he.exports=function(ie){return se[ie]||(se[ie]=re(ie))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/set-global"),se="__core-js_shared__",ie=le[se]||re(se,{});he.exports=ie},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,he,fe){var le=E("../internals/is-pure"),re=E("../internals/shared-store");(he.exports=function(se,ie){return re[se]||(re[se]=ie!==void 0?ie:{})})("versions",[]).push({version:"3.22.1",mode:le?"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,fe){var le=E("../internals/an-object"),re=E("../internals/a-constructor"),se=E("../internals/well-known-symbol"),ie=se("species");he.exports=function(ue,ae){var oe=le(ue).constructor,ne;return oe===void 0||(ne=le(oe)[ie])==null?ae:re(ne)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/to-integer-or-infinity"),se=E("../internals/to-string"),ie=E("../internals/require-object-coercible"),ue=le("".charAt),ae=le("".charCodeAt),oe=le("".slice),ne=function(ee){return function(a,y){var x=se(ie(a)),b=re(y),z=x.length,te,ce;return b<0||b>=z?ee?"":void 0:(te=ae(x,b),te<55296||te>56319||b+1===z||(ce=ae(x,b+1))<56320||ce>57343?ee?ue(x,b):te:ee?oe(x,b,b+2):(te-55296<<10)+(ce-56320)+65536)}};he.exports={codeAt:ne(!1),charAt:ne(!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,fe){var le=E("../internals/function-name").PROPER,re=E("../internals/fails"),se=E("../internals/whitespaces"),ie="\u200B\x85\u180E";he.exports=function(ue){return re(function(){return!!se[ue]()||ie[ue]()!==ie||le&&se[ue].name!==ue})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/require-object-coercible"),se=E("../internals/to-string"),ie=E("../internals/whitespaces"),ue=le("".replace),ae="["+ie+"]",oe=RegExp("^"+ae+ae+"*"),ne=RegExp(ae+ae+"*$"),ee=function(a){return function(y){var x=se(re(y));return a&1&&(x=ue(x,oe,"")),a&2&&(x=ue(x,ne,"")),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,fe){var le=E("../internals/function-call"),re=E("../internals/get-built-in"),se=E("../internals/well-known-symbol"),ie=E("../internals/redefine");he.exports=function(){var ue=re("Symbol"),ae=ue&&ue.prototype,oe=ae&&ae.valueOf,ne=se("toPrimitive");ae&&!ae[ne]&&ie(ae,ne,function(ee){return le(oe,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/function-apply"),se=E("../internals/function-bind-context"),ie=E("../internals/is-callable"),ue=E("../internals/has-own-property"),ae=E("../internals/fails"),oe=E("../internals/html"),ne=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=le.setImmediate,z=le.clearImmediate,te=le.process,ce=le.Dispatch,ge=le.Function,me=le.MessageChannel,ve=le.String,pe=0,be={},ye="onreadystatechange",Ee,Pe,Ae,Ce;try{Ee=le.location}catch(ke){}var _e=function(ke){if(ue(be,ke)){var Ie=be[ke];delete be[ke],Ie()}},we=function(ke){return function(){_e(ke)}},Re=function(ke){_e(ke.data)},De=function(ke){le.postMessage(ve(ke),Ee.protocol+"//"+Ee.host)};(!b||!z)&&(b=function(Ie){a(arguments.length,1);var qe=ie(Ie)?Ie:ge(Ie),Je=ne(arguments,1);return be[++pe]=function(){re(qe,void 0,Je)},Pe(pe),pe},z=function(Ie){delete be[Ie]},x?Pe=function(ke){te.nextTick(we(ke))}:ce&&ce.now?Pe=function(ke){ce.now(we(ke))}:me&&!y?(Ae=new me,Ce=Ae.port2,Ae.port1.onmessage=Re,Pe=se(Ce.postMessage,Ce)):le.addEventListener&&ie(le.postMessage)&&!le.importScripts&&Ee&&Ee.protocol!=="file:"&&!ae(De)?(Pe=De,le.addEventListener("message",Re,!1)):ye in ee("script")?Pe=function(ke){oe.appendChild(ee("script"))[ye]=function(){oe.removeChild(this),_e(ke)}}:Pe=function(ke){setTimeout(we(ke),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,fe){var le=E("../internals/function-uncurry-this");he.exports=le(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,he,fe){var le=E("../internals/to-integer-or-infinity"),re=Math.max,se=Math.min;he.exports=function(ie,ue){var ae=le(ie);return ae<0?re(ae+ue,0):se(ae,ue)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),se=E("../internals/to-length"),ie=le.RangeError;he.exports=function(ue){if(ue===void 0)return 0;var ae=re(ue),oe=se(ae);if(ae!==oe)throw ie("Wrong length or index");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,he,fe){var le=E("../internals/indexed-object"),re=E("../internals/require-object-coercible");he.exports=function(se){return le(re(se))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,he,fe){var le=Math.ceil,re=Math.floor;he.exports=function(se){var ie=+se;return ie!==ie||ie===0?0:(ie>0?re:le)(ie)}},{}],249:[function(E,he,fe){var le=E("../internals/to-integer-or-infinity"),re=Math.min;he.exports=function(se){return se>0?re(le(se),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/require-object-coercible"),se=le.Object;he.exports=function(ie){return se(re(ie))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/to-positive-integer"),se=le.RangeError;he.exports=function(ie,ue){var ae=re(ie);if(ae%ue)throw se("Wrong offset");return ae}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),se=le.RangeError;he.exports=function(ie){var ue=re(ie);if(ue<0)throw se("The argument can't be less than 0");return ue}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/function-call"),se=E("../internals/is-object"),ie=E("../internals/is-symbol"),ue=E("../internals/get-method"),ae=E("../internals/ordinary-to-primitive"),oe=E("../internals/well-known-symbol"),ne=le.TypeError,ee=oe("toPrimitive");he.exports=function(a,y){if(!se(a)||ie(a))return a;var x=ue(a,ee),b;if(x){if(y===void 0&&(y="default"),b=re(x,a,y),!se(b)||ie(b))return b;throw ne("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,fe){var le=E("../internals/to-primitive"),re=E("../internals/is-symbol");he.exports=function(se){var ie=le(se,"string");return re(ie)?ie:ie+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,he,fe){var le=E("../internals/well-known-symbol"),re=le("toStringTag"),se={};se[re]="z",he.exports=String(se)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/classof"),se=le.String;he.exports=function(ie){if(re(ie)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return se(ie)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,he,fe){var le=E("../internals/global"),re=le.String;he.exports=function(se){try{return re(se)}catch(ie){return"Object"}}},{"../internals/global":163}],258:[function(E,he,fe){"use strict";var le=E("../internals/export"),re=E("../internals/global"),se=E("../internals/function-call"),ie=E("../internals/descriptors"),ue=E("../internals/typed-array-constructors-require-wrappers"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/array-buffer"),ne=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"),ce=E("../internals/has-own-property"),ge=E("../internals/classof"),me=E("../internals/is-object"),ve=E("../internals/is-symbol"),pe=E("../internals/object-create"),be=E("../internals/object-is-prototype-of"),ye=E("../internals/object-set-prototype-of"),Ee=E("../internals/object-get-own-property-names").f,Pe=E("../internals/typed-array-from"),Ae=E("../internals/array-iteration").forEach,Ce=E("../internals/set-species"),_e=E("../internals/object-define-property"),we=E("../internals/object-get-own-property-descriptor"),Re=E("../internals/internal-state"),De=E("../internals/inherit-if-required"),ke=Re.get,Ie=Re.set,qe=_e.f,Je=we.f,We=Math.round,Qe=re.RangeError,He=oe.ArrayBuffer,Fe=He.prototype,je=oe.DataView,et=ae.NATIVE_ARRAY_BUFFER_VIEWS,tt=ae.TYPED_ARRAY_CONSTRUCTOR,st=ae.TYPED_ARRAY_TAG,Xe=ae.TypedArray,Ke=ae.TypedArrayPrototype,Me=ae.aTypedArrayConstructor,Ye=ae.isTypedArray,Le="BYTES_PER_ELEMENT",Be="Wrong length",Ve=function(Ge,rt){Me(Ge);for(var mt=0,dt=rt.length,nt=new Ge(dt);dt>mt;)nt[mt]=rt[mt++];return nt},$e=function(Ge,rt){qe(Ge,rt,{get:function(){return ke(this)[rt]}})},ze=function(Ge){var rt;return be(Fe,Ge)||(rt=ge(Ge))=="ArrayBuffer"||rt=="SharedArrayBuffer"},Te=function(Ge,rt){return Ye(Ge)&&!ve(rt)&&rt in Ge&&y(+rt)&&rt>=0},Oe=function(rt,mt){return mt=te(mt),Te(rt,mt)?ee(2,rt[mt]):Je(rt,mt)},Ne=function(rt,mt,dt){return mt=te(mt),Te(rt,mt)&&me(dt)&&ce(dt,"value")&&!ce(dt,"get")&&!ce(dt,"set")&&!dt.configurable&&(!ce(dt,"writable")||dt.writable)&&(!ce(dt,"enumerable")||dt.enumerable)?(rt[mt]=dt.value,rt):qe(rt,mt,dt)};ie?(et||(we.f=Oe,_e.f=Ne,$e(Ke,"buffer"),$e(Ke,"byteOffset"),$e(Ke,"byteLength"),$e(Ke,"length")),le({target:"Object",stat:!0,forced:!et},{getOwnPropertyDescriptor:Oe,defineProperty:Ne}),he.exports=function(Ge,rt,mt){var dt=Ge.match(/\d+$/)[0]/8,nt=Ge+(mt?"Clamped":"")+"Array",vt="get"+Ge,At="set"+Ge,Nt=re[nt],at=Nt,xt=at&&at.prototype,lt={},it=function(Dt,Kt){var Pn=ke(Dt);return Pn.view[vt](Kt*dt+Pn.byteOffset,!0)},bt=function(Dt,Kt,Pn){var wn=ke(Dt);mt&&(Pn=(Pn=We(Pn))<0?0:Pn>255?255:Pn&255),wn.view[At](Kt*dt+wn.byteOffset,Pn,!0)},wt=function(Dt,Kt){qe(Dt,Kt,{get:function(){return it(this,Kt)},set:function(Pn){return bt(this,Kt,Pn)},enumerable:!0})};et?ue&&(at=rt(function(Dt,Kt,Pn,wn){return ne(Dt,xt),De(function(){return me(Kt)?ze(Kt)?wn!==void 0?new Nt(Kt,z(Pn,dt),wn):Pn!==void 0?new Nt(Kt,z(Pn,dt)):new Nt(Kt):Ye(Kt)?Ve(at,Kt):se(Pe,at,Kt):new Nt(b(Kt))}(),Dt,at)}),ye&&ye(at,Xe),Ae(Ee(Nt),function(Dt){Dt in at||a(at,Dt,Nt[Dt])}),at.prototype=xt):(at=rt(function(Dt,Kt,Pn,wn){ne(Dt,xt);var Nn=0,On=0,qn,rr,pr;if(!me(Kt))pr=b(Kt),rr=pr*dt,qn=new He(rr);else if(ze(Kt)){qn=Kt,On=z(Pn,dt);var zr=Kt.byteLength;if(wn===void 0){if(zr%dt||(rr=zr-On,rr<0))throw Qe(Be)}else if(rr=x(wn)*dt,rr+On>zr)throw Qe(Be);pr=rr/dt}else return Ye(Kt)?Ve(at,Kt):se(Pe,at,Kt);for(Ie(Dt,{buffer:qn,byteOffset:On,byteLength:rr,length:pr,view:new je(qn)});Nn<pr;)wt(Dt,Nn++)}),ye&&ye(at,Xe),xt=at.prototype=pe(Ke)),xt.constructor!==at&&a(xt,"constructor",at),a(xt,tt,at),st&&a(xt,st,nt),lt[nt]=at,le({global:!0,forced:at!=Nt,sham:!et},lt),Le in at||a(at,Le,dt),Le in xt||a(xt,Le,dt),Ce(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,fe){var le=E("../internals/global"),re=E("../internals/fails"),se=E("../internals/check-correctness-of-iteration"),ie=E("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,ue=le.ArrayBuffer,ae=le.Int8Array;he.exports=!ie||!re(function(){ae(1)})||!re(function(){new ae(-1)})||!se(function(oe){new ae,new ae(null),new ae(1.5),new ae(oe)},!0)||re(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,fe){var le=E("../internals/array-from-constructor-and-list"),re=E("../internals/typed-array-species-constructor");he.exports=function(se,ie){return le(re(se),ie)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(E,he,fe){var le=E("../internals/function-bind-context"),re=E("../internals/function-call"),se=E("../internals/a-constructor"),ie=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/get-iterator"),oe=E("../internals/get-iterator-method"),ne=E("../internals/is-array-iterator-method"),ee=E("../internals/array-buffer-view-core").aTypedArrayConstructor;he.exports=function(y){var x=se(this),b=ie(y),z=arguments.length,te=z>1?arguments[1]:void 0,ce=te!==void 0,ge=oe(b),me,ve,pe,be,ye,Ee;if(ge&&!ne(ge))for(ye=ae(b,ge),Ee=ye.next,b=[];!(be=re(Ee,ye)).done;)b.push(be.value);for(ce&&z>2&&(te=le(te,arguments[2])),ve=ue(b),pe=new(ee(x))(ve),me=0;ve>me;me++)pe[me]=ce?te(b[me],me):b[me];return pe}},{"../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,fe){var le=E("../internals/array-buffer-view-core"),re=E("../internals/species-constructor"),se=le.TYPED_ARRAY_CONSTRUCTOR,ie=le.aTypedArrayConstructor;he.exports=function(ue){return ie(re(ue,ue[se]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,he,fe){var le=E("../internals/function-uncurry-this"),re=0,se=Math.random(),ie=le(1 .toString);he.exports=function(ue){return"Symbol("+(ue===void 0?"":ue)+")_"+ie(++re+se,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,he,fe){var le=E("../internals/native-symbol");he.exports=le&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,he,fe){var le=E("../internals/descriptors"),re=E("../internals/fails");he.exports=le&&re(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,he,fe){var le=E("../internals/global"),re=le.TypeError;he.exports=function(se,ie){if(se<ie)throw re("Not enough arguments");return se}},{"../internals/global":163}],267:[function(E,he,fe){var le=E("../internals/well-known-symbol");fe.f=le},{"../internals/well-known-symbol":268}],268:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/shared"),se=E("../internals/has-own-property"),ie=E("../internals/uid"),ue=E("../internals/native-symbol"),ae=E("../internals/use-symbol-as-uid"),oe=re("wks"),ne=le.Symbol,ee=ne&&ne.for,a=ae?ne:ne&&ne.withoutSetter||ie;he.exports=function(y){if(!se(oe,y)||!(ue||typeof oe[y]=="string")){var x="Symbol."+y;ue&&se(ne,y)?oe[y]=ne[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,fe){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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/global"),se=E("../internals/array-buffer"),ie=E("../internals/set-species"),ue="ArrayBuffer",ae=se[ue],oe=re[ue];le({global:!0,forced:oe!==ae},{ArrayBuffer:ae}),ie(ue)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,he,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-uncurry-this"),se=E("../internals/fails"),ie=E("../internals/array-buffer"),ue=E("../internals/an-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/to-length"),ne=E("../internals/species-constructor"),ee=ie.ArrayBuffer,a=ie.DataView,y=a.prototype,x=re(ee.prototype.slice),b=re(y.getUint8),z=re(y.setUint8),te=se(function(){return!new ee(2).slice(1,void 0).byteLength});le({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:te},{slice:function(ge,me){if(x&&me===void 0)return x(ue(this),ge);for(var ve=ue(this).byteLength,pe=ae(ge,ve),be=ae(me===void 0?ve:me,ve),ye=new(ne(this,ee))(oe(be-pe)),Ee=new a(this),Pe=new a(ye),Ae=0;pe<be;)z(Pe,Ae++,b(Ee,pe++));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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/global"),se=E("../internals/fails"),ie=E("../internals/is-array"),ue=E("../internals/is-object"),ae=E("../internals/to-object"),oe=E("../internals/length-of-array-like"),ne=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",ce=re.TypeError,ge=x>=51||!se(function(){var be=[];return be[b]=!1,be.concat()[0]!==be}),me=a("concat"),ve=function(be){if(!ue(be))return!1;var ye=be[b];return ye!==void 0?!!ye:ie(be)},pe=!ge||!me;le({target:"Array",proto:!0,forced:pe},{concat:function(ye){var Ee=ae(this),Pe=ee(Ee,0),Ae=0,Ce,_e,we,Re,De;for(Ce=-1,we=arguments.length;Ce<we;Ce++)if(De=Ce===-1?Ee:arguments[Ce],ve(De)){if(Re=oe(De),Ae+Re>z)throw ce(te);for(_e=0;_e<Re;_e++,Ae++)_e in De&&ne(Pe,Ae,De[_e])}else{if(Ae>=z)throw ce(te);ne(Pe,Ae++,De)}return Pe.length=Ae,Pe}})},{"../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,fe){var le=E("../internals/export"),re=E("../internals/array-fill"),se=E("../internals/add-to-unscopables");le({target:"Array",proto:!0},{fill:re}),se("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,he,fe){"use strict";var le=E("../internals/export"),re=E("../internals/array-iteration").filter,se=E("../internals/array-method-has-species-support"),ie=se("filter");le({target:"Array",proto:!0,forced:!ie},{filter:function(ae){return re(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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/array-iteration").find,se=E("../internals/add-to-unscopables"),ie="find",ue=!0;ie in[]&&Array(1)[ie](function(){ue=!1}),le({target:"Array",proto:!0,forced:ue},{find:function(oe){return re(this,oe,arguments.length>1?arguments[1]:void 0)}}),se(ie)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,he,fe){var le=E("../internals/export"),re=E("../internals/array-from"),se=E("../internals/check-correctness-of-iteration"),ie=!se(function(ue){Array.from(ue)});le({target:"Array",stat:!0,forced:ie},{from:re})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,he,fe){"use strict";var le=E("../internals/export"),re=E("../internals/array-includes").includes,se=E("../internals/add-to-unscopables");le({target:"Array",proto:!0},{includes:function(ue){return re(this,ue,arguments.length>1?arguments[1]:void 0)}}),se("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,he,fe){"use strict";var le=E("../internals/to-indexed-object"),re=E("../internals/add-to-unscopables"),se=E("../internals/iterators"),ie=E("../internals/internal-state"),ue=E("../internals/object-define-property").f,ae=E("../internals/define-iterator"),oe=E("../internals/is-pure"),ne=E("../internals/descriptors"),ee="Array Iterator",a=ie.set,y=ie.getterFor(ee);he.exports=ae(Array,"Array",function(b,z){a(this,{type:ee,target:le(b),index:0,kind:z})},function(){var b=y(this),z=b.target,te=b.kind,ce=b.index++;return!z||ce>=z.length?(b.target=void 0,{value:void 0,done:!0}):te=="keys"?{value:ce,done:!1}:te=="values"?{value:z[ce],done:!1}:{value:[ce,z[ce]],done:!1}},"values");var x=se.Arguments=se.Array;if(re("keys"),re("values"),re("entries"),!oe&&ne&&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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),ie=E("../internals/to-indexed-object"),ue=E("../internals/array-method-is-strict"),ae=re([].join),oe=se!=Object,ne=ue("join",",");le({target:"Array",proto:!0,forced:oe||!ne},{join:function(a){return ae(ie(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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/array-iteration").map,se=E("../internals/array-method-has-species-support"),ie=se("map");le({target:"Array",proto:!0,forced:!ie},{map:function(ae){return re(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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/global"),se=E("../internals/is-array"),ie=E("../internals/is-constructor"),ue=E("../internals/is-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/length-of-array-like"),ne=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=re.Array,ce=Math.max;le({target:"Array",proto:!0,forced:!b},{slice:function(me,ve){var pe=ne(this),be=oe(pe),ye=ae(me,be),Ee=ae(ve===void 0?be:ve,be),Pe,Ae,Ce;if(se(pe)&&(Pe=pe.constructor,ie(Pe)&&(Pe===te||se(Pe.prototype))?Pe=void 0:ue(Pe)&&(Pe=Pe[z],Pe===null&&(Pe=void 0)),Pe===te||Pe===void 0))return x(pe,ye,Ee);for(Ae=new(Pe===void 0?te:Pe)(ce(Ee-ye,0)),Ce=0;ye<Ee;ye++,Ce++)ye in pe&&ee(Ae,Ce,pe[ye]);return Ae.length=Ce,Ae}})},{"../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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-uncurry-this"),se=E("../internals/a-callable"),ie=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/to-string"),oe=E("../internals/fails"),ne=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=re(z.sort),ce=re(z.push),ge=oe(function(){z.sort(void 0)}),me=oe(function(){z.sort(null)}),ve=ee("sort"),pe=!oe(function(){if(x)return x<70;if(!(a&&a>3)){if(y)return!0;if(b)return b<603;var Ee="",Pe,Ae,Ce,_e;for(Pe=65;Pe<76;Pe++){switch(Ae=String.fromCharCode(Pe),Pe){case 66:case 69:case 70:case 72:Ce=3;break;case 68:case 71:Ce=4;break;default:Ce=2}for(_e=0;_e<47;_e++)z.push({k:Ae+_e,v:Ce})}for(z.sort(function(we,Re){return Re.v-we.v}),_e=0;_e<z.length;_e++)Ae=z[_e].k.charAt(0),Ee.charAt(Ee.length-1)!==Ae&&(Ee+=Ae);return Ee!=="DGBEFHACIJK"}}),be=ge||!me||!ve||!pe,ye=function(Ee){return function(Pe,Ae){return Ae===void 0?-1:Pe===void 0?1:Ee!==void 0?+Ee(Pe,Ae)||0:ae(Pe)>ae(Ae)?1:-1}};le({target:"Array",proto:!0,forced:be},{sort:function(Pe){Pe!==void 0&&se(Pe);var Ae=ie(this);if(pe)return Pe===void 0?te(Ae):te(Ae,Pe);var Ce=[],_e=ue(Ae),we,Re;for(Re=0;Re<_e;Re++)Re in Ae&&ce(Ce,Ae[Re]);for(ne(Ce,ye(Pe)),we=Ce.length,Re=0;Re<we;)Ae[Re]=Ce[Re++];for(;Re<_e;)delete Ae[Re++];return Ae}})},{"../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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/global"),se=E("../internals/to-absolute-index"),ie=E("../internals/to-integer-or-infinity"),ue=E("../internals/length-of-array-like"),ae=E("../internals/to-object"),oe=E("../internals/array-species-create"),ne=E("../internals/create-property"),ee=E("../internals/array-method-has-species-support"),a=ee("splice"),y=re.TypeError,x=Math.max,b=Math.min,z=9007199254740991,te="Maximum allowed length exceeded";le({target:"Array",proto:!0,forced:!a},{splice:function(ge,me){var ve=ae(this),pe=ue(ve),be=se(ge,pe),ye=arguments.length,Ee,Pe,Ae,Ce,_e,we;if(ye===0?Ee=Pe=0:ye===1?(Ee=0,Pe=pe-be):(Ee=ye-2,Pe=b(x(ie(me),0),pe-be)),pe+Ee-Pe>z)throw y(te);for(Ae=oe(ve,Pe),Ce=0;Ce<Pe;Ce++)_e=be+Ce,_e in ve&&ne(Ae,Ce,ve[_e]);if(Ae.length=Pe,Ee<Pe){for(Ce=be;Ce<pe-Pe;Ce++)_e=Ce+Pe,we=Ce+Ee,_e in ve?ve[we]=ve[_e]:delete ve[we];for(Ce=pe;Ce>pe-Pe+Ee;Ce--)delete ve[Ce-1]}else if(Ee>Pe)for(Ce=pe-Pe;Ce>be;Ce--)_e=Ce+Pe-1,we=Ce+Ee-1,_e in ve?ve[we]=ve[_e]:delete ve[we];for(Ce=0;Ce<Ee;Ce++)ve[Ce+be]=arguments[Ce+2];return ve.length=pe-Pe+Ee,Ae}})},{"../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,fe){var le=E("../internals/descriptors"),re=E("../internals/function-name").EXISTS,se=E("../internals/function-uncurry-this"),ie=E("../internals/object-define-property").f,ue=Function.prototype,ae=se(ue.toString),oe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ne=se(oe.exec),ee="name";le&&!re&&ie(ue,ee,{configurable:!0,get:function(){try{return ne(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,fe){var le=E("../internals/export"),re=E("../internals/get-built-in"),se=E("../internals/function-apply"),ie=E("../internals/function-call"),ue=E("../internals/function-uncurry-this"),ae=E("../internals/fails"),oe=E("../internals/is-array"),ne=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=re("JSON","stringify"),z=ue(/./.exec),te=ue("".charAt),ce=ue("".charCodeAt),ge=ue("".replace),me=ue(1 .toString),ve=/[\uD800-\uDFFF]/g,pe=/^[\uD800-\uDBFF]$/,be=/^[\uDC00-\uDFFF]$/,ye=!x||ae(function(){var Ce=re("Symbol")();return b([Ce])!="[null]"||b({a:Ce})!="{}"||b(Object(Ce))!="{}"}),Ee=ae(function(){return b("\uDF06\uD834")!=='"\\udf06\\ud834"'||b("\uDEAD")!=='"\\udead"'}),Pe=function(Ce,_e){var we=y(arguments),Re=_e;if(!(!ee(_e)&&Ce===void 0||a(Ce)))return oe(_e)||(_e=function(De,ke){if(ne(Re)&&(ke=ie(Re,this,De,ke)),!a(ke))return ke}),we[1]=_e,se(b,null,we)},Ae=function(Ce,_e,we){var Re=te(we,_e-1),De=te(we,_e+1);return z(pe,Ce)&&!z(be,De)||z(be,Ce)&&!z(pe,Re)?"\\u"+me(ce(Ce,0),16):Ce};b&&le({target:"JSON",stat:!0,forced:ye||Ee},{stringify:function(_e,we,Re){var De=y(arguments),ke=se(ye?Pe:b,null,De);return Ee&&typeof ke=="string"?ge(ke,ve,Ae):ke}})},{"../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,fe){"use strict";var le=E("../internals/descriptors"),re=E("../internals/global"),se=E("../internals/function-uncurry-this"),ie=E("../internals/is-forced"),ue=E("../internals/redefine"),ae=E("../internals/has-own-property"),oe=E("../internals/inherit-if-required"),ne=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"),ce=E("../internals/string-trim").trim,ge="Number",me=re[ge],ve=me.prototype,pe=re.TypeError,be=se("".slice),ye=se("".charCodeAt),Ee=function(Re){var De=a(Re,"number");return typeof De=="bigint"?De:Pe(De)},Pe=function(Re){var De=a(Re,"number"),ke,Ie,qe,Je,We,Qe,He,Fe;if(ee(De))throw pe("Cannot convert a Symbol value to a number");if(typeof De=="string"&&De.length>2){if(De=ce(De),ke=ye(De,0),ke===43||ke===45){if(Ie=ye(De,2),Ie===88||Ie===120)return NaN}else if(ke===48){switch(ye(De,1)){case 66:case 98:qe=2,Je=49;break;case 79:case 111:qe=8,Je=55;break;default:return+De}for(We=be(De,2),Qe=We.length,He=0;He<Qe;He++)if(Fe=ye(We,He),Fe<48||Fe>Je)return NaN;return parseInt(We,qe)}}return+De};if(ie(ge,!me(" 0o1")||!me("0b1")||me("+0x1"))){for(var Ae=function(De){var ke=arguments.length<1?0:me(Ee(De)),Ie=this;return ne(ve,Ie)&&y(function(){te(Ie)})?oe(Object(ke),Ie,Ae):ke},Ce=le?x(me):"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(","),_e=0,we;Ce.length>_e;_e++)ae(me,we=Ce[_e])&&!ae(Ae,we)&&z(Ae,we,b(me,we));Ae.prototype=ve,ve.constructor=Ae,ue(re,ge,Ae)}},{"../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,fe){var le=E("../internals/export"),re=E("../internals/object-assign");le({target:"Object",stat:!0,forced:Object.assign!==re},{assign:re})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,he,fe){var le=E("../internals/export"),re=E("../internals/object-to-array").entries;le({target:"Object",stat:!0},{entries:function(ie){return re(ie)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,he,fe){var le=E("../internals/export"),re=E("../internals/native-symbol"),se=E("../internals/fails"),ie=E("../internals/object-get-own-property-symbols"),ue=E("../internals/to-object"),ae=!re||se(function(){ie.f(1)});le({target:"Object",stat:!0,forced:ae},{getOwnPropertySymbols:function(ne){var ee=ie.f;return ee?ee(ue(ne)):[]}})},{"../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,fe){var le=E("../internals/export"),re=E("../internals/to-object"),se=E("../internals/object-keys"),ie=E("../internals/fails"),ue=ie(function(){se(1)});le({target:"Object",stat:!0,forced:ue},{keys:function(oe){return se(re(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,he,fe){var le=E("../internals/to-string-tag-support"),re=E("../internals/redefine"),se=E("../internals/object-to-string");le||re(Object.prototype,"toString",se,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,he,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-call"),se=E("../internals/a-callable"),ie=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");le({target:"Promise",stat:!0,forced:oe},{all:function(ee){var a=this,y=ie.f(a),x=y.resolve,b=y.reject,z=ue(function(){var te=se(a.resolve),ce=[],ge=0,me=1;ae(ee,function(ve){var pe=ge++,be=!1;me++,re(te,a,ve).then(function(ye){be||(be=!0,ce[pe]=ye,--me||x(ce))},b)}),--me||x(ce)});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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/is-pure"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR,ie=E("../internals/promise-native-constructor"),ue=E("../internals/get-built-in"),ae=E("../internals/is-callable"),oe=E("../internals/redefine"),ne=ie&&ie.prototype;if(le({target:"Promise",proto:!0,forced:se,real:!0},{catch:function(a){return this.then(void 0,a)}}),!re&&ae(ie)){var ee=ue("Promise").prototype.catch;ne.catch!==ee&&oe(ne,"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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/is-pure"),se=E("../internals/engine-is-node"),ie=E("../internals/global"),ue=E("../internals/function-call"),ae=E("../internals/redefine"),oe=E("../internals/redefine-all"),ne=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"),ce=E("../internals/task").set,ge=E("../internals/microtask"),me=E("../internals/host-report-errors"),ve=E("../internals/perform"),pe=E("../internals/queue"),be=E("../internals/internal-state"),ye=E("../internals/promise-native-constructor"),Ee=E("../internals/promise-constructor-detection"),Pe=E("../internals/new-promise-capability"),Ae="Promise",Ce=Ee.CONSTRUCTOR,_e=Ee.REJECTION_EVENT,we=Ee.SUBCLASSING,Re=be.getterFor(Ae),De=be.set,ke=ye&&ye.prototype,Ie=ye,qe=ke,Je=ie.TypeError,We=ie.document,Qe=ie.process,He=Pe.f,Fe=He,je=!!(We&&We.createEvent&&ie.dispatchEvent),et="unhandledrejection",tt="rejectionhandled",st=0,Xe=1,Ke=2,Me=1,Ye=2,Le,Be,Ve,$e,ze=function(At){var Nt;return b(At)&&x(Nt=At.then)?Nt:!1},Te=function(At,Nt){var at=Nt.value,xt=Nt.state==Xe,lt=xt?At.ok:At.fail,it=At.resolve,bt=At.reject,wt=At.domain,Dt,Kt,Pn;try{lt?(xt||(Nt.rejection===Ye&&mt(Nt),Nt.rejection=Me),lt===!0?Dt=at:(wt&&wt.enter(),Dt=lt(at),wt&&(wt.exit(),Pn=!0)),Dt===At.promise?bt(Je("Promise-chain cycle")):(Kt=ze(Dt))?ue(Kt,Dt,it,bt):it(Dt)):bt(at)}catch(wn){wt&&!Pn&&wt.exit(),bt(wn)}},Oe=function(At,Nt){At.notified||(At.notified=!0,ge(function(){for(var at=At.reactions,xt;xt=at.get();)Te(xt,At);At.notified=!1,Nt&&!At.rejection&&Ge(At)}))},Ne=function(At,Nt,at){var xt,lt;je?(xt=We.createEvent("Event"),xt.promise=Nt,xt.reason=at,xt.initEvent(At,!1,!0),ie.dispatchEvent(xt)):xt={promise:Nt,reason:at},!_e&&(lt=ie["on"+At])?lt(xt):At===et&&me("Unhandled promise rejection",at)},Ge=function(At){ue(ce,ie,function(){var Nt=At.facade,at=At.value,xt=rt(At),lt;if(xt&&(lt=ve(function(){se?Qe.emit("unhandledRejection",at,Nt):Ne(et,Nt,at)}),At.rejection=se||rt(At)?Ye:Me,lt.error))throw lt.value})},rt=function(At){return At.rejection!==Me&&!At.parent},mt=function(At){ue(ce,ie,function(){var Nt=At.facade;se?Qe.emit("rejectionHandled",Nt):Ne(tt,Nt,At.value)})},dt=function(At,Nt,at){return function(xt){At(Nt,xt,at)}},nt=function(At,Nt,at){At.done||(At.done=!0,at&&(At=at),At.value=Nt,At.state=Ke,Oe(At,!0))},vt=function(At,Nt,at){if(!At.done){At.done=!0,at&&(At=at);try{if(At.facade===Nt)throw Je("Promise can't be resolved itself");var xt=ze(Nt);xt?ge(function(){var lt={done:!1};try{ue(xt,Nt,dt(vt,lt,At),dt(nt,lt,At))}catch(it){nt(lt,it,At)}}):(At.value=Nt,At.state=Xe,Oe(At,!1))}catch(lt){nt({done:!1},lt,At)}}};if(Ce&&(Ie=function(Nt){z(this,qe),y(Nt),ue(Le,this);var at=Re(this);try{Nt(dt(vt,at),dt(nt,at))}catch(xt){nt(at,xt)}},qe=Ie.prototype,Le=function(Nt){De(this,{type:Ae,done:!1,notified:!1,parent:!1,reactions:new pe,rejection:!1,state:st,value:void 0})},Le.prototype=oe(qe,{then:function(Nt,at){var xt=Re(this),lt=He(te(this,Ie));return xt.parent=!0,lt.ok=x(Nt)?Nt:!0,lt.fail=x(at)&&at,lt.domain=se?Qe.domain:void 0,xt.state==st?xt.reactions.add(lt):ge(function(){Te(lt,xt)}),lt.promise}}),Be=function(){var At=new Le,Nt=Re(At);this.promise=At,this.resolve=dt(vt,Nt),this.reject=dt(nt,Nt)},Pe.f=He=function(At){return At===Ie||At===Ve?new Be(At):Fe(At)},!re&&x(ye)&&ke!==Object.prototype)){$e=ke.then,we||ae(ke,"then",function(Nt,at){var xt=this;return new Ie(function(lt,it){ue($e,xt,lt,it)}).then(Nt,at)},{unsafe:!0});try{delete ke.constructor}catch(At){}ne&&ne(ke,qe)}le({global:!0,wrap:!0,forced:Ce},{Promise:Ie}),ee(Ie,Ae,!1,!0),a(Ae)},{"../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,fe){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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-call"),se=E("../internals/a-callable"),ie=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");le({target:"Promise",stat:!0,forced:oe},{race:function(ee){var a=this,y=ie.f(a),x=y.reject,b=ue(function(){var z=se(a.resolve);ae(ee,function(te){re(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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-call"),se=E("../internals/new-promise-capability"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR;le({target:"Promise",stat:!0,forced:ie},{reject:function(ae){var oe=se.f(this);return re(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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/get-built-in"),se=E("../internals/is-pure"),ie=E("../internals/promise-native-constructor"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR,ae=E("../internals/promise-resolve"),oe=re("Promise"),ne=se&&!ue;le({target:"Promise",stat:!0,forced:se||ue},{resolve:function(a){return ae(ne&&this===oe?ie: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,fe){var le=E("../internals/descriptors"),re=E("../internals/global"),se=E("../internals/function-uncurry-this"),ie=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,ne=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"),ce=E("../internals/has-own-property"),ge=E("../internals/internal-state").enforce,me=E("../internals/set-species"),ve=E("../internals/well-known-symbol"),pe=E("../internals/regexp-unsupported-dot-all"),be=E("../internals/regexp-unsupported-ncg"),ye=ve("match"),Ee=re.RegExp,Pe=Ee.prototype,Ae=re.SyntaxError,Ce=se(Pe.exec),_e=se("".charAt),we=se("".replace),Re=se("".indexOf),De=se("".slice),ke=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ie=/a/g,qe=/a/g,Je=new Ee(Ie)!==Ie,We=x.MISSED_STICKY,Qe=x.UNSUPPORTED_Y,He=le&&(!Je||We||pe||be||te(function(){return qe[ye]=!1,Ee(Ie)!=Ie||Ee(qe)==qe||Ee(Ie,"i")!="/a/i"})),Fe=function(Xe){for(var Ke=Xe.length,Me=0,Ye="",Le=!1,Be;Me<=Ke;Me++){if(Be=_e(Xe,Me),Be==="\\"){Ye+=Be+_e(Xe,++Me);continue}!Le&&Be==="."?Ye+="[\\s\\S]":(Be==="["?Le=!0:Be==="]"&&(Le=!1),Ye+=Be)}return Ye},je=function(Xe){for(var Ke=Xe.length,Me=0,Ye="",Le=[],Be={},Ve=!1,$e=!1,ze=0,Te="",Oe;Me<=Ke;Me++){if(Oe=_e(Xe,Me),Oe==="\\")Oe=Oe+_e(Xe,++Me);else if(Oe==="]")Ve=!1;else if(!Ve)switch(!0){case Oe==="[":Ve=!0;break;case Oe==="(":Ce(ke,De(Xe,Me+1))&&(Me+=2,$e=!0),Ye+=Oe,ze++;continue;case(Oe===">"&&$e):if(Te===""||ce(Be,Te))throw new Ae("Invalid capture group name");Be[Te]=!0,Le[Le.length]=[Te,ze],$e=!1,Te="";continue}$e?Te+=Oe:Ye+=Oe}return[Ye,Le]};if(ie("RegExp",He)){for(var et=function(Ke,Me){var Ye=ne(Pe,this),Le=ee(Ke),Be=Me===void 0,Ve=[],$e=Ke,ze,Te,Oe,Ne,Ge,rt;if(!Ye&&Le&&Be&&Ke.constructor===et)return Ke;if((Le||ne(Pe,Ke))&&(Ke=Ke.source,Be&&(Me=y($e))),Ke=Ke===void 0?"":a(Ke),Me=Me===void 0?"":a(Me),$e=Ke,pe&&"dotAll"in Ie&&(Te=!!Me&&Re(Me,"s")>-1,Te&&(Me=we(Me,/s/g,""))),ze=Me,We&&"sticky"in Ie&&(Oe=!!Me&&Re(Me,"y")>-1,Oe&&Qe&&(Me=we(Me,/y/g,""))),be&&(Ne=je(Ke),Ke=Ne[0],Ve=Ne[1]),Ge=ue(Ee(Ke,Me),Ye?this:Pe,et),(Te||Oe||Ve.length)&&(rt=ge(Ge),Te&&(rt.dotAll=!0,rt.raw=et(Fe(Ke),ze)),Oe&&(rt.sticky=!0),Ve.length&&(rt.groups=Ve)),Ke!==$e)try{ae(Ge,"source",$e===""?"(?:)":$e)}catch(mt){}return Ge},tt=oe(Ee),st=0;tt.length>st;)b(et,Ee,tt[st++]);Pe.constructor=et,et.prototype=Pe,z(re,"RegExp",et)}me("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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/regexp-exec");le({target:"RegExp",proto:!0,forced:/./.exec!==re},{exec:re})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,he,fe){"use strict";var le=E("../internals/function-name").PROPER,re=E("../internals/redefine"),se=E("../internals/an-object"),ie=E("../internals/to-string"),ue=E("../internals/fails"),ae=E("../internals/regexp-get-flags"),oe="toString",ne=RegExp.prototype,ee=ne[oe],a=ue(function(){return ee.call({source:"a",flags:"b"})!="/a/b"}),y=le&&ee.name!=oe;(a||y)&&re(RegExp.prototype,oe,function(){var b=se(this),z=ie(b.source),te=ie(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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-uncurry-this"),se=E("../internals/not-a-regexp"),ie=E("../internals/require-object-coercible"),ue=E("../internals/to-string"),ae=E("../internals/correct-is-regexp-logic"),oe=re("".indexOf);le({target:"String",proto:!0,forced:!ae("includes")},{includes:function(ee){return!!~oe(ue(ie(this)),ue(se(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,fe){"use strict";var le=E("../internals/string-multibyte").charAt,re=E("../internals/to-string"),se=E("../internals/internal-state"),ie=E("../internals/define-iterator"),ue="String Iterator",ae=se.set,oe=se.getterFor(ue);ie(String,"String",function(ne){ae(this,{type:ue,string:re(ne),index:0})},function(){var ee=oe(this),a=ee.string,y=ee.index,x;return y>=a.length?{value:void 0,done:!0}:(x=le(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,fe){"use strict";var le=E("../internals/function-call"),re=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),ie=E("../internals/to-length"),ue=E("../internals/to-string"),ae=E("../internals/require-object-coercible"),oe=E("../internals/get-method"),ne=E("../internals/advance-string-index"),ee=E("../internals/regexp-exec-abstract");re("match",function(a,y,x){return[function(z){var te=ae(this),ce=z==null?void 0:oe(z,a);return ce?le(ce,z,te):new RegExp(z)[a](ue(te))},function(b){var z=se(this),te=ue(b),ce=x(y,z,te);if(ce.done)return ce.value;if(!z.global)return ee(z,te);var ge=z.unicode;z.lastIndex=0;for(var me=[],ve=0,pe;(pe=ee(z,te))!==null;){var be=ue(pe[0]);me[ve]=be,be===""&&(z.lastIndex=ne(te,ie(z.lastIndex),ge)),ve++}return ve===0?null:me}]})},{"../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,fe){"use strict";var le=E("../internals/function-apply"),re=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),ie=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/fails"),ae=E("../internals/an-object"),oe=E("../internals/is-callable"),ne=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"),ce=E("../internals/well-known-symbol"),ge=ce("replace"),me=Math.max,ve=Math.min,pe=se([].concat),be=se([].push),ye=se("".indexOf),Ee=se("".slice),Pe=function(we){return we===void 0?we:String(we)},Ae=function(){return"a".replace(/./,"$0")==="$0"}(),Ce=function(){return/./[ge]?/./[ge]("a","$0")==="":!1}(),_e=!ue(function(){var we=/./;return we.exec=function(){var Re=[];return Re.groups={a:"7"},Re},"".replace(we,"$<a>")!=="7"});ie("replace",function(we,Re,De){var ke=Ce?"$":"$0";return[function(qe,Je){var We=y(this),Qe=qe==null?void 0:b(qe,ge);return Qe?re(Qe,qe,We,Je):re(Re,a(We),qe,Je)},function(Ie,qe){var Je=ae(this),We=a(Ie);if(typeof qe=="string"&&ye(qe,ke)===-1&&ye(qe,"$<")===-1){var Qe=De(Re,Je,We,qe);if(Qe.done)return Qe.value}var He=oe(qe);He||(qe=a(qe));var Fe=Je.global;if(Fe){var je=Je.unicode;Je.lastIndex=0}for(var et=[];;){var tt=te(Je,We);if(tt===null||(be(et,tt),!Fe))break;var st=a(tt[0]);st===""&&(Je.lastIndex=x(We,ee(Je.lastIndex),je))}for(var Xe="",Ke=0,Me=0;Me<et.length;Me++){tt=et[Me];for(var Ye=a(tt[0]),Le=me(ve(ne(tt.index),We.length),0),Be=[],Ve=1;Ve<tt.length;Ve++)be(Be,Pe(tt[Ve]));var $e=tt.groups;if(He){var ze=pe([Ye],Be,Le,We);$e!==void 0&&be(ze,$e);var Te=a(le(qe,void 0,ze))}else Te=z(Ye,We,Le,Be,$e,qe);Le>=Ke&&(Xe+=Ee(We,Ke,Le)+Te,Ke=Le+Ye.length)}return Xe+Ee(We,Ke)}]},!_e||!Ae||Ce)},{"../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,fe){"use strict";var le=E("../internals/function-call"),re=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),ie=E("../internals/require-object-coercible"),ue=E("../internals/same-value"),ae=E("../internals/to-string"),oe=E("../internals/get-method"),ne=E("../internals/regexp-exec-abstract");re("search",function(ee,a,y){return[function(b){var z=ie(this),te=b==null?void 0:oe(b,ee);return te?le(te,b,z):new RegExp(b)[ee](ae(z))},function(x){var b=se(this),z=ae(x),te=y(a,b,z);if(te.done)return te.value;var ce=b.lastIndex;ue(ce,0)||(b.lastIndex=0);var ge=ne(b,z);return ue(b.lastIndex,ce)||(b.lastIndex=ce),ge===null?-1:ge.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,fe){"use strict";var le=E("../internals/function-apply"),re=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),ie=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/is-regexp"),ae=E("../internals/an-object"),oe=E("../internals/require-object-coercible"),ne=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"),ce=E("../internals/regexp-sticky-helpers"),ge=E("../internals/fails"),me=ce.UNSUPPORTED_Y,ve=4294967295,pe=Math.min,be=[].push,ye=se(/./.exec),Ee=se(be),Pe=se("".slice),Ae=!ge(function(){var Ce=/(?:)/,_e=Ce.exec;Ce.exec=function(){return _e.apply(this,arguments)};var we="ab".split(Ce);return we.length!==2||we[0]!=="a"||we[1]!=="b"});ie("split",function(Ce,_e,we){var Re;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Re=function(De,ke){var Ie=y(oe(this)),qe=ke===void 0?ve:ke>>>0;if(qe===0)return[];if(De===void 0)return[Ie];if(!ue(De))return re(_e,Ie,De,qe);for(var Je=[],We=(De.ignoreCase?"i":"")+(De.multiline?"m":"")+(De.unicode?"u":"")+(De.sticky?"y":""),Qe=0,He=new RegExp(De.source,We+"g"),Fe,je,et;(Fe=re(te,He,Ie))&&(je=He.lastIndex,!(je>Qe&&(Ee(Je,Pe(Ie,Qe,Fe.index)),Fe.length>1&&Fe.index<Ie.length&&le(be,Je,b(Fe,1)),et=Fe[0].length,Qe=je,Je.length>=qe)));)He.lastIndex===Fe.index&&He.lastIndex++;return Qe===Ie.length?(et||!ye(He,""))&&Ee(Je,""):Ee(Je,Pe(Ie,Qe)),Je.length>qe?b(Je,0,qe):Je}:"0".split(void 0,0).length?Re=function(De,ke){return De===void 0&&ke===0?[]:re(_e,this,De,ke)}:Re=_e,[function(ke,Ie){var qe=oe(this),Je=ke==null?void 0:x(ke,Ce);return Je?re(Je,ke,qe,Ie):re(Re,y(qe),ke,Ie)},function(De,ke){var Ie=ae(this),qe=y(De),Je=we(Re,Ie,qe,ke,Re!==_e);if(Je.done)return Je.value;var We=ne(Ie,RegExp),Qe=Ie.unicode,He=(Ie.ignoreCase?"i":"")+(Ie.multiline?"m":"")+(Ie.unicode?"u":"")+(me?"g":"y"),Fe=new We(me?"^(?:"+Ie.source+")":Ie,He),je=ke===void 0?ve:ke>>>0;if(je===0)return[];if(qe.length===0)return z(Fe,qe)===null?[qe]:[];for(var et=0,tt=0,st=[];tt<qe.length;){Fe.lastIndex=me?0:tt;var Xe=z(Fe,me?Pe(qe,tt):qe),Ke;if(Xe===null||(Ke=pe(a(Fe.lastIndex+(me?tt:0)),qe.length))===et)tt=ee(qe,tt,Qe);else{if(Ee(st,Pe(qe,et,tt)),st.length===je)return st;for(var Me=1;Me<=Xe.length-1;Me++)if(Ee(st,Xe[Me]),st.length===je)return st;tt=et=Ke}}return Ee(st,Pe(qe,et)),st}]},!Ae,me)},{"../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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/string-trim").trim,se=E("../internals/string-trim-forced");le({target:"String",proto:!0,forced:se("trim")},{trim:function(){return re(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(E,he,fe){"use strict";var le=E("../internals/export"),re=E("../internals/global"),se=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),ue=E("../internals/is-pure"),ae=E("../internals/descriptors"),oe=E("../internals/native-symbol"),ne=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"),ce=E("../internals/object-create"),ge=E("../internals/object-keys"),me=E("../internals/object-get-own-property-names"),ve=E("../internals/object-get-own-property-names-external"),pe=E("../internals/object-get-own-property-symbols"),be=E("../internals/object-get-own-property-descriptor"),ye=E("../internals/object-define-property"),Ee=E("../internals/object-define-properties"),Pe=E("../internals/object-property-is-enumerable"),Ae=E("../internals/redefine"),Ce=E("../internals/shared"),_e=E("../internals/shared-key"),we=E("../internals/hidden-keys"),Re=E("../internals/uid"),De=E("../internals/well-known-symbol"),ke=E("../internals/well-known-symbol-wrapped"),Ie=E("../internals/define-well-known-symbol"),qe=E("../internals/symbol-define-to-primitive"),Je=E("../internals/set-to-string-tag"),We=E("../internals/internal-state"),Qe=E("../internals/array-iteration").forEach,He=_e("hidden"),Fe="Symbol",je="prototype",et=We.set,tt=We.getterFor(Fe),st=Object[je],Xe=re.Symbol,Ke=Xe&&Xe[je],Me=re.TypeError,Ye=re.QObject,Le=be.f,Be=ye.f,Ve=ve.f,$e=Pe.f,ze=ie([].push),Te=Ce("symbols"),Oe=Ce("op-symbols"),Ne=Ce("wks"),Ge=!Ye||!Ye[je]||!Ye[je].findChild,rt=ae&&ne(function(){return ce(Be({},"a",{get:function(){return Be(this,"a",{value:7}).a}})).a!=7})?function(lt,it,bt){var wt=Le(st,it);wt&&delete st[it],Be(lt,it,bt),wt&&lt!==st&&Be(st,it,wt)}:Be,mt=function(lt,it){var bt=Te[lt]=ce(Ke);return et(bt,{type:Fe,tag:lt,description:it}),ae||(bt.description=it),bt},dt=function(it,bt,wt){it===st&&dt(Oe,bt,wt),y(it);var Dt=b(bt);return y(wt),ee(Te,Dt)?(wt.enumerable?(ee(it,He)&&it[He][Dt]&&(it[He][Dt]=!1),wt=ce(wt,{enumerable:te(0,!1)})):(ee(it,He)||Be(it,He,te(1,{})),it[He][Dt]=!0),rt(it,Dt,wt)):Be(it,Dt,wt)},nt=function(it,bt){y(it);var wt=x(bt),Dt=ge(wt).concat(xt(wt));return Qe(Dt,function(Kt){(!ae||se(At,wt,Kt))&&dt(it,Kt,wt[Kt])}),it},vt=function(it,bt){return bt===void 0?ce(it):nt(ce(it),bt)},At=function(it){var bt=b(it),wt=se($e,this,bt);return this===st&&ee(Te,bt)&&!ee(Oe,bt)?!1:wt||!ee(this,bt)||!ee(Te,bt)||ee(this,He)&&this[He][bt]?wt:!0},Nt=function(it,bt){var wt=x(it),Dt=b(bt);if(!(wt===st&&ee(Te,Dt)&&!ee(Oe,Dt))){var Kt=Le(wt,Dt);return Kt&&ee(Te,Dt)&&!(ee(wt,He)&&wt[He][Dt])&&(Kt.enumerable=!0),Kt}},at=function(it){var bt=Ve(x(it)),wt=[];return Qe(bt,function(Dt){!ee(Te,Dt)&&!ee(we,Dt)&&ze(wt,Dt)}),wt},xt=function(lt){var it=lt===st,bt=Ve(it?Oe:x(lt)),wt=[];return Qe(bt,function(Dt){ee(Te,Dt)&&(!it||ee(st,Dt))&&ze(wt,Te[Dt])}),wt};oe||(Xe=function(){if(a(Ke,this))throw Me("Symbol is not a constructor");var it=!arguments.length||arguments[0]===void 0?void 0:z(arguments[0]),bt=Re(it),wt=function(Dt){this===st&&se(wt,Oe,Dt),ee(this,He)&&ee(this[He],bt)&&(this[He][bt]=!1),rt(this,bt,te(1,Dt))};return ae&&Ge&&rt(st,bt,{configurable:!0,set:wt}),mt(bt,it)},Ke=Xe[je],Ae(Ke,"toString",function(){return tt(this).tag}),Ae(Xe,"withoutSetter",function(lt){return mt(Re(lt),lt)}),Pe.f=At,ye.f=dt,Ee.f=nt,be.f=Nt,me.f=ve.f=at,pe.f=xt,ke.f=function(lt){return mt(De(lt),lt)},ae&&(Be(Ke,"description",{configurable:!0,get:function(){return tt(this).description}}),ue||Ae(st,"propertyIsEnumerable",At,{unsafe:!0}))),le({global:!0,wrap:!0,forced:!oe,sham:!oe},{Symbol:Xe}),Qe(ge(Ne),function(lt){Ie(lt)}),le({target:Fe,stat:!0,forced:!oe},{useSetter:function(){Ge=!0},useSimple:function(){Ge=!1}}),le({target:"Object",stat:!0,forced:!oe,sham:!ae},{create:vt,defineProperty:dt,defineProperties:nt,getOwnPropertyDescriptor:Nt}),le({target:"Object",stat:!0,forced:!oe},{getOwnPropertyNames:at}),qe(),Je(Xe,Fe),we[He]=!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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/descriptors"),se=E("../internals/global"),ie=E("../internals/function-uncurry-this"),ue=E("../internals/has-own-property"),ae=E("../internals/is-callable"),oe=E("../internals/object-is-prototype-of"),ne=E("../internals/to-string"),ee=E("../internals/object-define-property").f,a=E("../internals/copy-constructor-properties"),y=se.Symbol,x=y&&y.prototype;if(re&&ae(y)&&(!("description"in x)||y().description!==void 0)){var b={},z=function(){var ye=arguments.length<1||arguments[0]===void 0?void 0:ne(arguments[0]),Ee=oe(x,this)?new y(ye):ye===void 0?y():y(ye);return ye===""&&(b[Ee]=!0),Ee};a(z,y),z.prototype=x,x.constructor=z;var te=String(y("test"))=="Symbol(test)",ce=ie(x.toString),ge=ie(x.valueOf),me=/^Symbol\((.*)\)[^)]+$/,ve=ie("".replace),pe=ie("".slice);ee(x,"description",{configurable:!0,get:function(){var ye=ge(this),Ee=ce(ye);if(ue(b,ye))return"";var Pe=te?pe(Ee,7,-1):ve(Ee,me,"$1");return Pe===""?void 0:Pe}}),le({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,fe){var le=E("../internals/export"),re=E("../internals/get-built-in"),se=E("../internals/has-own-property"),ie=E("../internals/to-string"),ue=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ue("string-to-symbol-registry"),ne=ue("symbol-to-string-registry");le({target:"Symbol",stat:!0,forced:!ae},{for:function(ee){var a=ie(ee);if(se(oe,a))return oe[a];var y=re("Symbol")(a);return oe[a]=y,ne[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,fe){var le=E("../internals/define-well-known-symbol");le("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(E,he,fe){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,fe){var le=E("../internals/export"),re=E("../internals/has-own-property"),se=E("../internals/is-symbol"),ie=E("../internals/try-to-string"),ue=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ue("symbol-to-string-registry");le({target:"Symbol",stat:!0,forced:!ae},{keyFor:function(ee){if(!se(ee))throw TypeError(ie(ee)+" is not a symbol");if(re(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,fe){"use strict";var le=E("../internals/function-uncurry-this"),re=E("../internals/array-buffer-view-core"),se=E("../internals/array-copy-within"),ie=le(se),ue=re.aTypedArray,ae=re.exportTypedArrayMethod;ae("copyWithin",function(ne,ee){return ie(ue(this),ne,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,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").every,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("every",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/function-call"),se=E("../internals/array-fill"),ie=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("fill",function(oe){var ne=arguments.length;return re(se,ie(this),oe,ne>1?arguments[1]:void 0,ne>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").filter,se=E("../internals/typed-array-from-species-and-list"),ie=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("filter",function(oe){var ne=re(ie(this),oe,arguments.length>1?arguments[1]:void 0);return se(this,ne)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").findIndex,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("findIndex",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").find,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("find",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").forEach,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("forEach",function(ae){re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-includes").includes,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("includes",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-includes").indexOf,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("indexOf",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,he,fe){"use strict";var le=E("../internals/global"),re=E("../internals/fails"),se=E("../internals/function-uncurry-this"),ie=E("../internals/array-buffer-view-core"),ue=E("../modules/es.array.iterator"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=le.Uint8Array,ee=se(ue.values),a=se(ue.keys),y=se(ue.entries),x=ie.aTypedArray,b=ie.exportTypedArrayMethod,z=ne&&ne.prototype,te=!re(function(){z[oe].call([1])}),ce=!!z&&z.values&&z[oe]===z.values&&z.values.name==="values",ge=function(){return ee(x(this))};b("entries",function(){return y(x(this))},te),b("keys",function(){return a(x(this))},te),b("values",ge,te||!ce,{name:"values"}),b(oe,ge,te||!ce,{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,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/function-uncurry-this"),se=le.aTypedArray,ie=le.exportTypedArrayMethod,ue=re([].join);ie("join",function(oe){return ue(se(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/function-apply"),se=E("../internals/array-last-index-of"),ie=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("lastIndexOf",function(oe){var ne=arguments.length;return re(se,ie(this),ne>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,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").map,se=E("../internals/typed-array-species-constructor"),ie=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("map",function(oe){return re(ie(this),oe,arguments.length>1?arguments[1]:void 0,function(ne,ee){return new(se(ne))(ee)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-reduce").right,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("reduceRight",function(ae){var oe=arguments.length;return re(se(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-reduce").left,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("reduce",function(ae){var oe=arguments.length;return re(se(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,he,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=le.aTypedArray,se=le.exportTypedArrayMethod,ie=Math.floor;se("reverse",function(){for(var ae=this,oe=re(ae).length,ne=ie(oe/2),ee=0,a;ee<ne;)a=ae[ee],ae[ee++]=ae[--oe],ae[oe]=a;return ae})},{"../internals/array-buffer-view-core":103}],331:[function(E,he,fe){"use strict";var le=E("../internals/global"),re=E("../internals/function-call"),se=E("../internals/array-buffer-view-core"),ie=E("../internals/length-of-array-like"),ue=E("../internals/to-offset"),ae=E("../internals/to-object"),oe=E("../internals/fails"),ne=le.RangeError,ee=le.Int8Array,a=ee&&ee.prototype,y=a&&a.set,x=se.aTypedArray,b=se.exportTypedArrayMethod,z=!oe(function(){var ce=new Uint8ClampedArray(2);return re(y,ce,{length:1,0:3},1),ce[1]!==3}),te=z&&se.NATIVE_ARRAY_BUFFER_VIEWS&&oe(function(){var ce=new ee(2);return ce.set(1),ce.set("2",1),ce[0]!==0||ce[1]!==2});b("set",function(ge){x(this);var me=ue(arguments.length>1?arguments[1]:void 0,1),ve=ae(ge);if(z)return re(y,this,ve,me);var pe=this.length,be=ie(ve),ye=0;if(be+me>pe)throw ne("Wrong length");for(;ye<be;)this[me+ye]=ve[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,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/typed-array-species-constructor"),se=E("../internals/fails"),ie=E("../internals/array-slice"),ue=le.aTypedArray,ae=le.exportTypedArrayMethod,oe=se(function(){new Int8Array(1).slice()});ae("slice",function(ee,a){for(var y=ie(ue(this),ee,a),x=re(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,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").some,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("some",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,he,fe){"use strict";var le=E("../internals/global"),re=E("../internals/function-uncurry-this"),se=E("../internals/fails"),ie=E("../internals/a-callable"),ue=E("../internals/array-sort"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/engine-ff-version"),ne=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=le.Uint16Array,z=b&&re(b.prototype.sort),te=!!z&&!(se(function(){z(new b(2),null)})&&se(function(){z(new b(2),{})})),ce=!!z&&!se(function(){if(ee)return ee<74;if(oe)return oe<67;if(ne)return!0;if(a)return a<602;var me=new b(516),ve=Array(516),pe,be;for(pe=0;pe<516;pe++)be=pe%4,me[pe]=515-pe,ve[pe]=pe-2*be+3;for(z(me,function(ye,Ee){return(ye/4|0)-(Ee/4|0)}),pe=0;pe<516;pe++)if(me[pe]!==ve[pe])return!0}),ge=function(me){return function(ve,pe){return me!==void 0?+me(ve,pe)||0:pe!==pe?-1:ve!==ve?1:ve===0&&pe===0?1/ve>0&&1/pe<0?1:-1:ve>pe}};x("sort",function(ve){return ve!==void 0&&ie(ve),ce?z(this,ve):ue(y(this),ge(ve))},!ce||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,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/to-length"),se=E("../internals/to-absolute-index"),ie=E("../internals/typed-array-species-constructor"),ue=le.aTypedArray,ae=le.exportTypedArrayMethod;ae("subarray",function(ne,ee){var a=ue(this),y=a.length,x=se(ne,y),b=ie(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,re((ee===void 0?y:se(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,fe){"use strict";var le=E("../internals/global"),re=E("../internals/function-apply"),se=E("../internals/array-buffer-view-core"),ie=E("../internals/fails"),ue=E("../internals/array-slice"),ae=le.Int8Array,oe=se.aTypedArray,ne=se.exportTypedArrayMethod,ee=[].toLocaleString,a=!!ae&&ie(function(){ee.call(new ae(1))}),y=ie(function(){return[1,2].toLocaleString()!=new ae([1,2]).toLocaleString()})||!ie(function(){ae.prototype.toLocaleString.call([1,2])});ne("toLocaleString",function(){return re(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,fe){"use strict";var le=E("../internals/array-buffer-view-core").exportTypedArrayMethod,re=E("../internals/fails"),se=E("../internals/global"),ie=E("../internals/function-uncurry-this"),ue=se.Uint8Array,ae=ue&&ue.prototype||{},oe=[].toString,ne=ie([].join);re(function(){oe.call({})})&&(oe=function(){return ne(this)});var ee=ae.toString!=oe;le("toString",oe,ee)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,he,fe){var le=E("../internals/typed-array-constructor");le("Uint8",function(re){return function(ie,ue,ae){return re(this,ie,ue,ae)}})},{"../internals/typed-array-constructor":258}],339:[function(E,he,fe){var le=E("../internals/global"),re=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),ie=E("../internals/array-for-each"),ue=E("../internals/create-non-enumerable-property"),ae=function(ne){if(ne&&ne.forEach!==ie)try{ue(ne,"forEach",ie)}catch(ee){ne.forEach=ie}};for(var oe in re)re[oe]&&ae(le[oe]&&le[oe].prototype);ae(se)},{"../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,fe){var le=E("../internals/global"),re=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),ie=E("../modules/es.array.iterator"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=ae("toStringTag"),ee=ie.values,a=function(x,b){if(x){if(x[oe]!==ee)try{ue(x,oe,ee)}catch(te){x[oe]=ee}if(x[ne]||ue(x,ne,b),re[b]){for(var z in ie)if(x[z]!==ie[z])try{ue(x,z,ie[z])}catch(te){x[z]=ie[z]}}}};for(var y in re)a(le[y]&&le[y].prototype,y);a(se,"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,fe){function le(ce){return Array.isArray?Array.isArray(ce):te(ce)==="[object Array]"}fe.isArray=le;function re(ce){return typeof ce=="boolean"}fe.isBoolean=re;function se(ce){return ce===null}fe.isNull=se;function ie(ce){return ce==null}fe.isNullOrUndefined=ie;function ue(ce){return typeof ce=="number"}fe.isNumber=ue;function ae(ce){return typeof ce=="string"}fe.isString=ae;function oe(ce){return typeof ce=="symbol"}fe.isSymbol=oe;function ne(ce){return ce===void 0}fe.isUndefined=ne;function ee(ce){return te(ce)==="[object RegExp]"}fe.isRegExp=ee;function a(ce){return typeof ce=="object"&&ce!==null}fe.isObject=a;function y(ce){return te(ce)==="[object Date]"}fe.isDate=y;function x(ce){return te(ce)==="[object Error]"||ce instanceof Error}fe.isError=x;function b(ce){return typeof ce=="function"}fe.isFunction=b;function z(ce){return ce===null||typeof ce=="boolean"||typeof ce=="number"||typeof ce=="string"||typeof ce=="symbol"||typeof ce=="undefined"}fe.isPrimitive=z,fe.isBuffer=E("buffer").Buffer.isBuffer;function te(ce){return Object.prototype.toString.call(ce)}},{buffer:90}],342:[function(E,he,fe){(function(le){"use strict";var re=function(){var oe=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ne=/\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(re.masks[y]||y||re.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",ce=a[te+"Date"](),ge=a[te+"Day"](),me=a[te+"Month"](),ve=a[te+"FullYear"](),pe=a[te+"Hours"](),be=a[te+"Minutes"](),ye=a[te+"Seconds"](),Ee=a[te+"Milliseconds"](),Pe=x?0:a.getTimezoneOffset(),Ae=ie(a),Ce=ue(a),_e={d:ce,dd:se(ce),ddd:re.i18n.dayNames[ge],dddd:re.i18n.dayNames[ge+7],m:me+1,mm:se(me+1),mmm:re.i18n.monthNames[me],mmmm:re.i18n.monthNames[me+12],yy:String(ve).slice(2),yyyy:ve,h:pe%12||12,hh:se(pe%12||12),H:pe,HH:se(pe),M:be,MM:se(be),s:ye,ss:se(ye),l:se(Ee,3),L:se(Math.round(Ee/10)),t:pe<12?"a":"p",tt:pe<12?"am":"pm",T:pe<12?"A":"P",TT:pe<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(ne)||[""]).pop().replace(ee,""),o:(Pe>0?"-":"+")+se(Math.floor(Math.abs(Pe)/60)*100+Math.abs(Pe)%60,4),S:["th","st","nd","rd"][ce%10>3?0:(ce%100-ce%10!=10)*ce%10],W:Ae,N:Ce};return y.replace(oe,function(we){return we in _e?_e[we]:we.slice(1,we.length-1)})}}();re.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"},re.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 se(oe,ne){for(oe=String(oe),ne=ne||2;oe.length<ne;)oe="0"+oe;return oe}function ie(oe){var ne=new Date(oe.getFullYear(),oe.getMonth(),oe.getDate());ne.setDate(ne.getDate()-(ne.getDay()+6)%7+3);var ee=new Date(ne.getFullYear(),0,4);ee.setDate(ee.getDate()-(ee.getDay()+6)%7+3);var a=ne.getTimezoneOffset()-ee.getTimezoneOffset();ne.setHours(ne.getHours()-a);var y=(ne-ee)/(864e5*7);return 1+Math.floor(y)}function ue(oe){var ne=oe.getDay();return ne===0&&(ne=7),ne}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 de=="function"&&de.amd?de(function(){return re}):typeof fe=="object"?he.exports=re:le.dateFormat=re})(this)},{}],343:[function(E,he,fe){"use strict";var le=/["'&<>]/;he.exports=re;function re(se){var ie=""+se,ue=le.exec(ie);if(!ue)return ie;var ae,oe="",ne=0,ee=0;for(ne=ue.index;ne<ie.length;ne++){switch(ie.charCodeAt(ne)){case 34:ae="&quot;";break;case 38:ae="&amp;";break;case 39:ae="&#39;";break;case 60:ae="&lt;";break;case 62:ae="&gt;";break;default:continue}ee!==ne&&(oe+=ie.substring(ee,ne)),ee=ne+1,oe+=ae}return ee!==ne?oe+ie.substring(ee,ne):oe}},{}],344:[function(E,he,fe){"use strict";var le=typeof Reflect=="object"?Reflect:null,re=le&&typeof le.apply=="function"?le.apply:function(ye,Ee,Pe){return Function.prototype.apply.call(ye,Ee,Pe)},se;le&&typeof le.ownKeys=="function"?se=le.ownKeys:Object.getOwnPropertySymbols?se=function(ye){return Object.getOwnPropertyNames(ye).concat(Object.getOwnPropertySymbols(ye))}:se=function(ye){return Object.getOwnPropertyNames(ye)};function ie(be){console&&console.warn&&console.warn(be)}var ue=Number.isNaN||function(ye){return ye!==ye};function ae(){ae.init.call(this)}he.exports=ae,he.exports.once=me,ae.EventEmitter=ae,ae.prototype._events=void 0,ae.prototype._eventsCount=0,ae.prototype._maxListeners=void 0;var oe=10;function ne(be){if(typeof be!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof be)}Object.defineProperty(ae,"defaultMaxListeners",{enumerable:!0,get:function(){return oe},set:function(be){if(typeof be!="number"||be<0||ue(be))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+be+".");oe=be}}),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(be){return be._maxListeners===void 0?ae.defaultMaxListeners:be._maxListeners}ae.prototype.getMaxListeners=function(){return ee(this)},ae.prototype.emit=function(ye){for(var Ee=[],Pe=1;Pe<arguments.length;Pe++)Ee.push(arguments[Pe]);var Ae=ye==="error",Ce=this._events;if(Ce!==void 0)Ae=Ae&&Ce.error===void 0;else if(!Ae)return!1;if(Ae){var _e;if(Ee.length>0&&(_e=Ee[0]),_e instanceof Error)throw _e;var we=new Error("Unhandled error."+(_e?" ("+_e.message+")":""));throw we.context=_e,we}var Re=Ce[ye];if(Re===void 0)return!1;if(typeof Re=="function")re(Re,this,Ee);else for(var De=Re.length,ke=te(Re,De),Pe=0;Pe<De;++Pe)re(ke[Pe],this,Ee);return!0};function a(be,ye,Ee,Pe){var Ae,Ce,_e;if(ne(Ee),Ce=be._events,Ce===void 0?(Ce=be._events=Object.create(null),be._eventsCount=0):(Ce.newListener!==void 0&&(be.emit("newListener",ye,Ee.listener?Ee.listener:Ee),Ce=be._events),_e=Ce[ye]),_e===void 0)_e=Ce[ye]=Ee,++be._eventsCount;else if(typeof _e=="function"?_e=Ce[ye]=Pe?[Ee,_e]:[_e,Ee]:Pe?_e.unshift(Ee):_e.push(Ee),Ae=ee(be),Ae>0&&_e.length>Ae&&!_e.warned){_e.warned=!0;var we=new Error("Possible EventEmitter memory leak detected. "+_e.length+" "+String(ye)+" listeners added. Use emitter.setMaxListeners() to increase limit");we.name="MaxListenersExceededWarning",we.emitter=be,we.type=ye,we.count=_e.length,ie(we)}return be}ae.prototype.addListener=function(ye,Ee){return a(this,ye,Ee,!1)},ae.prototype.on=ae.prototype.addListener,ae.prototype.prependListener=function(ye,Ee){return a(this,ye,Ee,!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(be,ye,Ee){var Pe={fired:!1,wrapFn:void 0,target:be,type:ye,listener:Ee},Ae=y.bind(Pe);return Ae.listener=Ee,Pe.wrapFn=Ae,Ae}ae.prototype.once=function(ye,Ee){return ne(Ee),this.on(ye,x(this,ye,Ee)),this},ae.prototype.prependOnceListener=function(ye,Ee){return ne(Ee),this.prependListener(ye,x(this,ye,Ee)),this},ae.prototype.removeListener=function(ye,Ee){var Pe,Ae,Ce,_e,we;if(ne(Ee),Ae=this._events,Ae===void 0)return this;if(Pe=Ae[ye],Pe===void 0)return this;if(Pe===Ee||Pe.listener===Ee)--this._eventsCount===0?this._events=Object.create(null):(delete Ae[ye],Ae.removeListener&&this.emit("removeListener",ye,Pe.listener||Ee));else if(typeof Pe!="function"){for(Ce=-1,_e=Pe.length-1;_e>=0;_e--)if(Pe[_e]===Ee||Pe[_e].listener===Ee){we=Pe[_e].listener,Ce=_e;break}if(Ce<0)return this;Ce===0?Pe.shift():ce(Pe,Ce),Pe.length===1&&(Ae[ye]=Pe[0]),Ae.removeListener!==void 0&&this.emit("removeListener",ye,we||Ee)}return this},ae.prototype.off=ae.prototype.removeListener,ae.prototype.removeAllListeners=function(ye){var Ee,Pe,Ae;if(Pe=this._events,Pe===void 0)return this;if(Pe.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Pe[ye]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Pe[ye]),this;if(arguments.length===0){var Ce=Object.keys(Pe),_e;for(Ae=0;Ae<Ce.length;++Ae)_e=Ce[Ae],_e!=="removeListener"&&this.removeAllListeners(_e);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Ee=Pe[ye],typeof Ee=="function")this.removeListener(ye,Ee);else if(Ee!==void 0)for(Ae=Ee.length-1;Ae>=0;Ae--)this.removeListener(ye,Ee[Ae]);return this};function b(be,ye,Ee){var Pe=be._events;if(Pe===void 0)return[];var Ae=Pe[ye];return Ae===void 0?[]:typeof Ae=="function"?Ee?[Ae.listener||Ae]:[Ae]:Ee?ge(Ae):te(Ae,Ae.length)}ae.prototype.listeners=function(ye){return b(this,ye,!0)},ae.prototype.rawListeners=function(ye){return b(this,ye,!1)},ae.listenerCount=function(be,ye){return typeof be.listenerCount=="function"?be.listenerCount(ye):z.call(be,ye)},ae.prototype.listenerCount=z;function z(be){var ye=this._events;if(ye!==void 0){var Ee=ye[be];if(typeof Ee=="function")return 1;if(Ee!==void 0)return Ee.length}return 0}ae.prototype.eventNames=function(){return this._eventsCount>0?se(this._events):[]};function te(be,ye){for(var Ee=new Array(ye),Pe=0;Pe<ye;++Pe)Ee[Pe]=be[Pe];return Ee}function ce(be,ye){for(;ye+1<be.length;ye++)be[ye]=be[ye+1];be.pop()}function ge(be){for(var ye=new Array(be.length),Ee=0;Ee<ye.length;++Ee)ye[Ee]=be[Ee].listener||be[Ee];return ye}function me(be,ye){return new Promise(function(Ee,Pe){function Ae(_e){be.removeListener(ye,Ce),Pe(_e)}function Ce(){typeof be.removeListener=="function"&&be.removeListener("error",Ae),Ee([].slice.call(arguments))}pe(be,ye,Ce,{once:!0}),ye!=="error"&&ve(be,Ae,{once:!0})})}function ve(be,ye,Ee){typeof be.on=="function"&&pe(be,"error",ye,Ee)}function pe(be,ye,Ee,Pe){if(typeof be.on=="function")Pe.once?be.once(ye,Ee):be.on(ye,Ee);else if(typeof be.addEventListener=="function")be.addEventListener(ye,function Ae(Ce){Pe.once&&be.removeEventListener(ye,Ae),Ee(Ce)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof be)}},{}],345:[function(E,he,fe){"use strict";var le=E("is-callable"),re=Object.prototype.toString,se=Object.prototype.hasOwnProperty,ie=function(ee,a,y){for(var x=0,b=ee.length;x<b;x++)se.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)se.call(ee,x)&&(y==null?a(ee[x],x,ee):a.call(y,ee[x],x,ee))},oe=function(ee,a,y){if(!le(a))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=y),re.call(ee)==="[object Array]"?ie(ee,a,x):typeof ee=="string"?ue(ee,a,x):ae(ee,a,x)};he.exports=oe},{"is-callable":367}],346:[function(E,he,fe){"use strict";var le="Function.prototype.bind called on incompatible ",re=Array.prototype.slice,se=Object.prototype.toString,ie="[object Function]";he.exports=function(ae){var oe=this;if(typeof oe!="function"||se.call(oe)!==ie)throw new TypeError(le+oe);for(var ne=re.call(arguments,1),ee,a=function(){if(this instanceof ee){var te=oe.apply(this,ne.concat(re.call(arguments)));return Object(te)===te?te:this}else return oe.apply(ae,ne.concat(re.call(arguments)))},y=Math.max(0,oe.length-ne.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,fe){"use strict";var le=E("./implementation");he.exports=Function.prototype.bind||le},{"./implementation":346}],348:[function(E,he,fe){"use strict";var le,re=SyntaxError,se=Function,ie=TypeError,ue=function(Re){try{return se('"use strict"; return ('+Re+").constructor;")()}catch(De){}},ae=Object.getOwnPropertyDescriptor;if(ae)try{ae({},"")}catch(Re){ae=null}var oe=function(){throw new ie},ne=ae?function(){try{return arguments.callee,oe}catch(Re){try{return ae(arguments,"callee").get}catch(De){return oe}}}():oe,ee=E("has-symbols")(),a=E("has-proto")(),y=Object.getPrototypeOf||(a?function(Re){return Re.__proto__}:null),x={},b=typeof Uint8Array=="undefined"||!y?le:y(Uint8Array),z={"%AggregateError%":typeof AggregateError=="undefined"?le:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?le:ArrayBuffer,"%ArrayIteratorPrototype%":ee&&y?y([][Symbol.iterator]()):le,"%AsyncFromSyncIteratorPrototype%":le,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics=="undefined"?le:Atomics,"%BigInt%":typeof BigInt=="undefined"?le:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?le:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?le:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?le:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?le:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?le:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?le:FinalizationRegistry,"%Function%":se,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array=="undefined"?le:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?le:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?le:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ee&&y?y(y([][Symbol.iterator]())):le,"%JSON%":typeof JSON=="object"?JSON:le,"%Map%":typeof Map=="undefined"?le:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!ee||!y?le:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?le:Promise,"%Proxy%":typeof Proxy=="undefined"?le:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?le:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?le:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!ee||!y?le:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?le:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ee&&y?y(""[Symbol.iterator]()):le,"%Symbol%":ee?Symbol:le,"%SyntaxError%":re,"%ThrowTypeError%":ne,"%TypedArray%":b,"%TypeError%":ie,"%Uint8Array%":typeof Uint8Array=="undefined"?le:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?le:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?le:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?le:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?le:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?le:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?le:WeakSet};if(y)try{null.error}catch(Re){var te=y(y(Re));z["%Error.prototype%"]=te}var ce=function Re(De){var ke;if(De==="%AsyncFunction%")ke=ue("async function () {}");else if(De==="%GeneratorFunction%")ke=ue("function* () {}");else if(De==="%AsyncGeneratorFunction%")ke=ue("async function* () {}");else if(De==="%AsyncGenerator%"){var Ie=Re("%AsyncGeneratorFunction%");Ie&&(ke=Ie.prototype)}else if(De==="%AsyncIteratorPrototype%"){var qe=Re("%AsyncGenerator%");qe&&y&&(ke=y(qe.prototype))}return z[De]=ke,ke},ge={"%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"]},me=E("function-bind"),ve=E("has"),pe=me.call(Function.call,Array.prototype.concat),be=me.call(Function.apply,Array.prototype.splice),ye=me.call(Function.call,String.prototype.replace),Ee=me.call(Function.call,String.prototype.slice),Pe=me.call(Function.call,RegExp.prototype.exec),Ae=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ce=/\\(\\)?/g,_e=function(De){var ke=Ee(De,0,1),Ie=Ee(De,-1);if(ke==="%"&&Ie!=="%")throw new re("invalid intrinsic syntax, expected closing `%`");if(Ie==="%"&&ke!=="%")throw new re("invalid intrinsic syntax, expected opening `%`");var qe=[];return ye(De,Ae,function(Je,We,Qe,He){qe[qe.length]=Qe?ye(He,Ce,"$1"):We||Je}),qe},we=function(De,ke){var Ie=De,qe;if(ve(ge,Ie)&&(qe=ge[Ie],Ie="%"+qe[0]+"%"),ve(z,Ie)){var Je=z[Ie];if(Je===x&&(Je=ce(Ie)),typeof Je=="undefined"&&!ke)throw new ie("intrinsic "+De+" exists, but is not available. Please file an issue!");return{alias:qe,name:Ie,value:Je}}throw new re("intrinsic "+De+" does not exist!")};he.exports=function(De,ke){if(typeof De!="string"||De.length===0)throw new ie("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ke!="boolean")throw new ie('"allowMissing" argument must be a boolean');if(Pe(/^%?[^%]*%?$/,De)===null)throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ie=_e(De),qe=Ie.length>0?Ie[0]:"",Je=we("%"+qe+"%",ke),We=Je.name,Qe=Je.value,He=!1,Fe=Je.alias;Fe&&(qe=Fe[0],be(Ie,pe([0,1],Fe)));for(var je=1,et=!0;je<Ie.length;je+=1){var tt=Ie[je],st=Ee(tt,0,1),Xe=Ee(tt,-1);if((st==='"'||st==="'"||st==="`"||Xe==='"'||Xe==="'"||Xe==="`")&&st!==Xe)throw new re("property names with quotes must have matching quotes");if((tt==="constructor"||!et)&&(He=!0),qe+="."+tt,We="%"+qe+"%",ve(z,We))Qe=z[We];else if(Qe!=null){if(!(tt in Qe)){if(!ke)throw new ie("base intrinsic for "+De+" exists, but the property is not available.");return}if(ae&&je+1>=Ie.length){var Ke=ae(Qe,tt);et=!!Ke,et&&"get"in Ke&&!("originalValue"in Ke.get)?Qe=Ke.get:Qe=Qe[tt]}else et=ve(Qe,tt),Qe=Qe[tt];et&&!He&&(z[We]=Qe)}}return Qe}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,he,fe){"use strict";var le=E("get-intrinsic"),re=le("%Object.getOwnPropertyDescriptor%",!0);if(re)try{re([],"length")}catch(se){re=null}he.exports=re},{"get-intrinsic":348}],350:[function(E,he,fe){"use strict";var le={foo:{}},re=Object;he.exports=function(){return{__proto__:le}.foo===le.foo&&!({__proto__:null}instanceof re)}},{}],351:[function(E,he,fe){"use strict";var le=typeof Symbol!="undefined"&&Symbol,re=E("./shams");he.exports=function(){return typeof le!="function"||typeof Symbol!="function"||typeof le("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:re()}},{"./shams":352}],352:[function(E,he,fe){"use strict";he.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var re={},se=Symbol("test"),ie=Object(se);if(typeof se=="string"||Object.prototype.toString.call(se)!=="[object Symbol]"||Object.prototype.toString.call(ie)!=="[object Symbol]")return!1;var ue=42;re[se]=ue;for(se in re)return!1;if(typeof Object.keys=="function"&&Object.keys(re).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(re).length!==0)return!1;var ae=Object.getOwnPropertySymbols(re);if(ae.length!==1||ae[0]!==se||!Object.prototype.propertyIsEnumerable.call(re,se))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var oe=Object.getOwnPropertyDescriptor(re,se);if(oe.value!==ue||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(E,he,fe){"use strict";var le=E("has-symbols/shams");he.exports=function(){return le()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,he,fe){"use strict";var le=E("function-bind");he.exports=le.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,he,fe){var le=E("http"),re=E("url"),se=he.exports;for(var ie in le)le.hasOwnProperty(ie)&&(se[ie]=le[ie]);se.request=function(ae,oe){return ae=ue(ae),le.request.call(this,ae,oe)},se.get=function(ae,oe){return ae=ue(ae),le.get.call(this,ae,oe)};function ue(ae){if(typeof ae=="string"&&(ae=re.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,fe){"use strict";var le=E("util"),re=E("ms");he.exports=function(se){if(typeof se=="number")return se;var ie=re(se);if(ie===void 0){var ue=new Error(le.format("humanize-ms(%j) result undefined",se));console.warn(ue.stack)}return ie}},{ms:376,util:419}],357:[function(E,he,fe){fe.read=function(le,re,se,ie,ue){var ae,oe,ne=ue*8-ie-1,ee=(1<<ne)-1,a=ee>>1,y=-7,x=se?ue-1:0,b=se?-1:1,z=le[re+x];for(x+=b,ae=z&(1<<-y)-1,z>>=-y,y+=ne;y>0;ae=ae*256+le[re+x],x+=b,y-=8);for(oe=ae&(1<<-y)-1,ae>>=-y,y+=ie;y>0;oe=oe*256+le[re+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,ie),ae=ae-a}return(z?-1:1)*oe*Math.pow(2,ae-ie)},fe.write=function(le,re,se,ie,ue,ae){var oe,ne,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=ie?0:ae-1,te=ie?1:-1,ce=re<0||re===0&&1/re<0?1:0;for(re=Math.abs(re),isNaN(re)||re===1/0?(ne=isNaN(re)?1:0,oe=y):(oe=Math.floor(Math.log(re)/Math.LN2),re*(ee=Math.pow(2,-oe))<1&&(oe--,ee*=2),oe+x>=1?re+=b/ee:re+=b*Math.pow(2,1-x),re*ee>=2&&(oe++,ee/=2),oe+x>=y?(ne=0,oe=y):oe+x>=1?(ne=(re*ee-1)*Math.pow(2,ue),oe=oe+x):(ne=re*Math.pow(2,x-1)*Math.pow(2,ue),oe=0));ue>=8;le[se+z]=ne&255,z+=te,ne/=256,ue-=8);for(oe=oe<<ue|ne,a+=ue;a>0;le[se+z]=oe&255,z+=te,oe/=256,a-=8);le[se+z-te]|=ce*128}},{}],358:[function(E,he,fe){"use strict";var le=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],re,se,ie=-1,ue=[],ae=!1;function oe(){!re||!se||(re=!1,se.length?ue=se.concat(ue):ie=-1,ue.length&&ne())}function ne(){if(!re){ae=!1,re=!0;for(var z=ue.length,te=setTimeout(oe);z;){for(se=ue,ue=[];se&&++ie<z;)se[ie].run();ie=-1,z=ue.length}se=null,ie=-1,re=!1,clearTimeout(te)}}for(var ee,a=-1,y=le.length;++a<y;)if(le[a]&&le[a].test&&le[a].test()){ee=le[a].install(ne);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 ce=1;ce<arguments.length;ce++)te[ce-1]=arguments[ce];ue.push(new x(z,te)),!ae&&!re&&(ae=!0,ee())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(E,he,fe){(function(le){(function(){"use strict";fe.test=function(){return le.setImmediate?!1:typeof le.MessageChannel!="undefined"},fe.install=function(re){var se=new le.MessageChannel;return se.port1.onmessage=re,function(){se.port2.postMessage(0)}}}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(E,he,fe){(function(le){(function(){"use strict";var re=le.MutationObserver||le.WebKitMutationObserver;fe.test=function(){return re},fe.install=function(se){var ie=0,ue=new re(se),ae=le.document.createTextNode("");return ue.observe(ae,{characterData:!0}),function(){ae.data=ie=++ie%2}}}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(E,he,fe){(function(le){(function(){"use strict";fe.test=function(){return typeof le.queueMicrotask=="function"},fe.install=function(re){return function(){le.queueMicrotask(re)}}}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(E,he,fe){(function(le){(function(){"use strict";fe.test=function(){return"document"in le&&"onreadystatechange"in le.document.createElement("script")},fe.install=function(re){return function(){var se=le.document.createElement("script");return se.onreadystatechange=function(){re(),se.onreadystatechange=null,se.parentNode.removeChild(se),se=null},le.document.documentElement.appendChild(se),re}}}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(E,he,fe){"use strict";fe.test=function(){return!0},fe.install=function(le){return function(){setTimeout(le,0)}}},{}],364:[function(E,he,fe){typeof Object.create=="function"?he.exports=function(re,se){se&&(re.super_=se,re.prototype=Object.create(se.prototype,{constructor:{value:re,enumerable:!1,writable:!0,configurable:!0}}))}:he.exports=function(re,se){if(se){re.super_=se;var ie=function(){};ie.prototype=se.prototype,re.prototype=new ie,re.prototype.constructor=re}}},{}],365:[function(E,he,fe){"use strict";var le=E("has-tostringtag/shams")(),re=E("call-bind/callBound"),se=re("Object.prototype.toString"),ie=function(ne){return le&&ne&&typeof ne=="object"&&Symbol.toStringTag in ne?!1:se(ne)==="[object Arguments]"},ue=function(ne){return ie(ne)?!0:ne!==null&&typeof ne=="object"&&typeof ne.length=="number"&&ne.length>=0&&se(ne)!=="[object Array]"&&se(ne.callee)==="[object Function]"},ae=function(){return ie(arguments)}();ie.isLegacyArguments=ue,he.exports=ae?ie:ue},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,he,fe){he.exports=function(se){return se!=null&&(le(se)||re(se)||!!se._isBuffer)};function le(se){return!!se.constructor&&typeof se.constructor.isBuffer=="function"&&se.constructor.isBuffer(se)}function re(se){return typeof se.readFloatLE=="function"&&typeof se.slice=="function"&&le(se.slice(0,0))}},{}],367:[function(E,he,fe){"use strict";var le=Function.prototype.toString,re=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,se,ie;if(typeof re=="function"&&typeof Object.defineProperty=="function")try{se=Object.defineProperty({},"length",{get:function(){throw ie}}),ie={},re(function(){throw 42},null,se)}catch(ve){ve!==ie&&(re=null)}else re=null;var ue=/^\s*class\b/,ae=function(pe){try{var be=le.call(pe);return ue.test(be)}catch(ye){return!1}},oe=function(pe){try{return ae(pe)?!1:(le.call(pe),!0)}catch(be){return!1}},ne=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,ce=!(0 in[,]),ge=function(){return!1};if(typeof document=="object"){var me=document.all;ne.call(me)===ne.call(document.all)&&(ge=function(pe){if((ce||!pe)&&(typeof pe=="undefined"||typeof pe=="object"))try{var be=ne.call(pe);return(be===x||be===b||be===z||be===ee)&&pe("")==null}catch(ye){}return!1})}he.exports=re?function(pe){if(ge(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;try{re(pe,null,se)}catch(be){if(be!==ie)return!1}return!ae(pe)&&oe(pe)}:function(pe){if(ge(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;if(te)return oe(pe);if(ae(pe))return!1;var be=ne.call(pe);return be!==a&&be!==y&&!/^\[object HTML/.test(be)?!1:oe(pe)}},{}],368:[function(E,he,fe){"use strict";var le=Object.prototype.toString,re=Function.prototype.toString,se=/^\s*(?:function)?\*/,ie=E("has-tostringtag/shams")(),ue=Object.getPrototypeOf,ae=function(){if(!ie)return!1;try{return Function("return function*() {}")()}catch(ne){}},oe;he.exports=function(ee){if(typeof ee!="function")return!1;if(se.test(re.call(ee)))return!0;if(!ie){var a=le.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,fe){"use strict";var le=E("which-typed-array");he.exports=function(se){return!!le(se)}},{"which-typed-array":420}],370:[function(E,he,fe){var le={}.toString;he.exports=Array.isArray||function(re){return le.call(re)=="[object Array]"}},{}],371:[function(E,he,fe){(function(le){(function(){(function(re,se){typeof fe=="object"&&typeof he!="undefined"?he.exports=se(re):typeof de=="function"&&de.amd?de(se):se(re)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof le!="undefined"?le:this,function(re){"use strict";re=re||{};var se=re.Base64,ie="2.6.4",ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(De){for(var ke={},Ie=0,qe=De.length;Ie<qe;Ie++)ke[De.charAt(Ie)]=Ie;return ke}(ue),oe=String.fromCharCode,ne=function(De){if(De.length<2){var ke=De.charCodeAt(0);return ke<128?De:ke<2048?oe(192|ke>>>6)+oe(128|ke&63):oe(224|ke>>>12&15)+oe(128|ke>>>6&63)+oe(128|ke&63)}else{var ke=65536+(De.charCodeAt(0)-55296)*1024+(De.charCodeAt(1)-56320);return oe(240|ke>>>18&7)+oe(128|ke>>>12&63)+oe(128|ke>>>6&63)+oe(128|ke&63)}},ee=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(De){return De.replace(ee,ne)},y=function(De){var ke=[0,2,1][De.length%3],Ie=De.charCodeAt(0)<<16|(De.length>1?De.charCodeAt(1):0)<<8|(De.length>2?De.charCodeAt(2):0),qe=[ue.charAt(Ie>>>18),ue.charAt(Ie>>>12&63),ke>=2?"=":ue.charAt(Ie>>>6&63),ke>=1?"=":ue.charAt(Ie&63)];return qe.join("")},x=re.btoa&&typeof re.btoa=="function"?function(De){return re.btoa(De)}:function(De){if(De.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return De.replace(/[\s\S]{1,3}/g,y)},b=function(De){return x(a(String(De)))},z=function(De){return De.replace(/[+\/]/g,function(ke){return ke=="+"?"-":"_"}).replace(/=/g,"")},te=function(De,ke){return ke?z(b(De)):b(De)},ce=function(De){return te(De,!0)},ge;re.Uint8Array&&(ge=function(De,ke){for(var Ie="",qe=0,Je=De.length;qe<Je;qe+=3){var We=De[qe],Qe=De[qe+1],He=De[qe+2],Fe=We<<16|Qe<<8|He;Ie+=ue.charAt(Fe>>>18)+ue.charAt(Fe>>>12&63)+(typeof Qe!="undefined"?ue.charAt(Fe>>>6&63):"=")+(typeof He!="undefined"?ue.charAt(Fe&63):"=")}return ke?z(Ie):Ie});var me=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(De){switch(De.length){case 4:var ke=(7&De.charCodeAt(0))<<18|(63&De.charCodeAt(1))<<12|(63&De.charCodeAt(2))<<6|63&De.charCodeAt(3),Ie=ke-65536;return oe((Ie>>>10)+55296)+oe((Ie&1023)+56320);case 3:return oe((15&De.charCodeAt(0))<<12|(63&De.charCodeAt(1))<<6|63&De.charCodeAt(2));default:return oe((31&De.charCodeAt(0))<<6|63&De.charCodeAt(1))}},pe=function(De){return De.replace(me,ve)},be=function(De){var ke=De.length,Ie=ke%4,qe=(ke>0?ae[De.charAt(0)]<<18:0)|(ke>1?ae[De.charAt(1)]<<12:0)|(ke>2?ae[De.charAt(2)]<<6:0)|(ke>3?ae[De.charAt(3)]:0),Je=[oe(qe>>>16),oe(qe>>>8&255),oe(qe&255)];return Je.length-=[0,0,2,1][Ie],Je.join("")},ye=re.atob&&typeof re.atob=="function"?function(De){return re.atob(De)}:function(De){return De.replace(/\S{1,4}/g,be)},Ee=function(De){return ye(String(De).replace(/[^A-Za-z0-9\+\/]/g,""))},Pe=function(De){return pe(ye(De))},Ae=function(De){return String(De).replace(/[-_]/g,function(ke){return ke=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ce=function(De){return Pe(Ae(De))},_e;re.Uint8Array&&(_e=function(De){return Uint8Array.from(Ee(Ae(De)),function(ke){return ke.charCodeAt(0)})});var we=function(){var De=re.Base64;return re.Base64=se,De};if(re.Base64={VERSION:ie,atob:Ee,btoa:x,fromBase64:Ce,toBase64:te,utob:a,encode:te,encodeURI:ce,btou:pe,decode:Ce,noConflict:we,fromUint8Array:ge,toUint8Array:_e},typeof Object.defineProperty=="function"){var Re=function(De){return{value:De,enumerable:!1,writable:!0,configurable:!0}};re.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Re(function(){return Ce(this)})),Object.defineProperty(String.prototype,"toBase64",Re(function(De){return te(this,De)})),Object.defineProperty(String.prototype,"toBase64URI",Re(function(){return te(this,!0)}))}}return re.Meteor&&(Base64=re.Base64),typeof he!="undefined"&&he.exports?he.exports.Base64=re.Base64:typeof de=="function"&&de.amd&&de([],function(){return re.Base64}),{Base64:re.Base64}})}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,he,fe){"use strict";he.exports=re;var le=Object.prototype.hasOwnProperty;function re(se,ie,ue){if(!se)throw new TypeError("argument dest is required");if(!ie)throw new TypeError("argument src is required");return ue===void 0&&(ue=!0),Object.getOwnPropertyNames(ie).forEach(function(oe){if(!(!ue&&le.call(se,oe))){var ne=Object.getOwnPropertyDescriptor(ie,oe);Object.defineProperty(se,oe,ne)}}),se}},{}],373:[function(E,he,fe){"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 le(){this._types=Object.create(null),this._extensions=Object.create(null);for(var re=0;re<arguments.length;re++)this.define(arguments[re]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}le.prototype.define=function(re,se){for(var ie in re){var ue=re[ie].map(function(ee){return ee.toLowerCase()});ie=ie.toLowerCase();for(var ae=0;ae<ue.length;ae++){var oe=ue[ae];if(oe[0]!=="*"){if(!se&&oe in this._types)throw new Error('Attempt to change mapping for "'+oe+'" extension from "'+this._types[oe]+'" to "'+ie+'". Pass `force=true` to allow this, otherwise remove "'+oe+'" from the list of extensions for "'+ie+'".');this._types[oe]=ie}}if(se||!this._extensions[ie]){var ne=ue[0];this._extensions[ie]=ne[0]!=="*"?ne:ne.substr(1)}}},le.prototype.getType=function(re){re=String(re);var se=re.replace(/^.*[/\\]/,"").toLowerCase(),ie=se.replace(/^.*\./,"").toLowerCase(),ue=se.length<re.length,ae=ie.length<se.length-1;return(ae||!ue)&&this._types[ie]||null},le.prototype.getExtension=function(re){return re=/^\s*([^;\s]*)/.test(re)&&RegExp.$1,re&&this._extensions[re.toLowerCase()]||null},he.exports=le},{"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,fe){"use strict";var le=E("./Mime");he.exports=new le(E("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(E,he,fe){"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,fe){var le=1e3,re=le*60,se=re*60,ie=se*24,ue=ie*7,ae=ie*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):ne(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*ie;case"hours":case"hour":case"hrs":case"hr":case"h":return b*se;case"minutes":case"minute":case"mins":case"min":case"m":return b*re;case"seconds":case"second":case"secs":case"sec":case"s":return b*le;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ne(y){var x=Math.abs(y);return x>=ie?Math.round(y/ie)+"d":x>=se?Math.round(y/se)+"h":x>=re?Math.round(y/re)+"m":x>=le?Math.round(y/le)+"s":y+"ms"}function ee(y){var x=Math.abs(y);return x>=ie?a(y,x,ie,"day"):x>=se?a(y,x,se,"hour"):x>=re?a(y,x,re,"minute"):x>=le?a(y,x,le,"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,fe){"use strict";var le=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;function ie(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={},ne=0;ne<10;ne++)oe["_"+String.fromCharCode(ne)]=ne;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 ne,ee=ie(ae),a,y=1;y<arguments.length;y++){ne=Object(arguments[y]);for(var x in ne)re.call(ne,x)&&(ee[x]=ne[x]);if(le){a=le(ne);for(var b=0;b<a.length;b++)se.call(ne,a[b])&&(ee[a[b]]=ne[a[b]])}}return ee}},{}],378:[function(E,he,fe){(function(le){(function(){"use strict";function re(ae){if(typeof ae!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(ae))}function se(ae,oe){for(var ne="",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(ne.length<2||ee!==2||ne.charCodeAt(ne.length-1)!==46||ne.charCodeAt(ne.length-2)!==46){if(ne.length>2){var z=ne.lastIndexOf("/");if(z!==ne.length-1){z===-1?(ne="",ee=0):(ne=ne.slice(0,z),ee=ne.length-1-ne.lastIndexOf("/")),a=b,y=0;continue}}else if(ne.length===2||ne.length===1){ne="",ee=0,a=b,y=0;continue}}oe&&(ne.length>0?ne+="/..":ne="..",ee=2)}else ne.length>0?ne+="/"+ae.slice(a+1,b):ne=ae.slice(a+1,b),ee=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return ne}function ie(ae,oe){var ne=oe.dir||oe.root,ee=oe.base||(oe.name||"")+(oe.ext||"");return ne?ne===oe.root?ne+ee:ne+ae+ee:ee}var ue={resolve:function(){for(var oe="",ne=!1,ee,a=arguments.length-1;a>=-1&&!ne;a--){var y;a>=0?y=arguments[a]:(ee===void 0&&(ee=le.cwd()),y=ee),re(y),y.length!==0&&(oe=y+"/"+oe,ne=y.charCodeAt(0)===47)}return oe=se(oe,!ne),ne?oe.length>0?"/"+oe:"/":oe.length>0?oe:"."},normalize:function(oe){if(re(oe),oe.length===0)return".";var ne=oe.charCodeAt(0)===47,ee=oe.charCodeAt(oe.length-1)===47;return oe=se(oe,!ne),oe.length===0&&!ne&&(oe="."),oe.length>0&&ee&&(oe+="/"),ne?"/"+oe:oe},isAbsolute:function(oe){return re(oe),oe.length>0&&oe.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var oe,ne=0;ne<arguments.length;++ne){var ee=arguments[ne];re(ee),ee.length>0&&(oe===void 0?oe=ee:oe+="/"+ee)}return oe===void 0?".":ue.normalize(oe)},relative:function(oe,ne){if(re(oe),re(ne),oe===ne||(oe=ue.resolve(oe),ne=ue.resolve(ne),oe===ne))return"";for(var ee=1;ee<oe.length&&oe.charCodeAt(ee)===47;++ee);for(var a=oe.length,y=a-ee,x=1;x<ne.length&&ne.charCodeAt(x)===47;++x);for(var b=ne.length,z=b-x,te=y<z?y:z,ce=-1,ge=0;ge<=te;++ge){if(ge===te){if(z>te){if(ne.charCodeAt(x+ge)===47)return ne.slice(x+ge+1);if(ge===0)return ne.slice(x+ge)}else y>te&&(oe.charCodeAt(ee+ge)===47?ce=ge:ge===0&&(ce=0));break}var me=oe.charCodeAt(ee+ge),ve=ne.charCodeAt(x+ge);if(me!==ve)break;me===47&&(ce=ge)}var pe="";for(ge=ee+ce+1;ge<=a;++ge)(ge===a||oe.charCodeAt(ge)===47)&&(pe.length===0?pe+="..":pe+="/..");return pe.length>0?pe+ne.slice(x+ce):(x+=ce,ne.charCodeAt(x)===47&&++x,ne.slice(x))},_makeLong:function(oe){return oe},dirname:function(oe){if(re(oe),oe.length===0)return".";for(var ne=oe.charCodeAt(0),ee=ne===47,a=-1,y=!0,x=oe.length-1;x>=1;--x)if(ne=oe.charCodeAt(x),ne===47){if(!y){a=x;break}}else y=!1;return a===-1?ee?"/":".":ee&&a===1?"//":oe.slice(0,a)},basename:function(oe,ne){if(ne!==void 0&&typeof ne!="string")throw new TypeError('"ext" argument must be a string');re(oe);var ee=0,a=-1,y=!0,x;if(ne!==void 0&&ne.length>0&&ne.length<=oe.length){if(ne.length===oe.length&&ne===oe)return"";var b=ne.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===ne.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){re(oe);for(var ne=-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?ne===-1?ne=b:x!==1&&(x=1):ne!==-1&&(x=-1)}return ne===-1||a===-1||x===0||x===1&&ne===a-1&&ne===ee+1?"":oe.slice(ne,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 ie("/",oe)},parse:function(oe){re(oe);var ne={root:"",dir:"",base:"",ext:"",name:""};if(oe.length===0)return ne;var ee=oe.charCodeAt(0),a=ee===47,y;a?(ne.root="/",y=1):y=0;for(var x=-1,b=0,z=-1,te=!0,ce=oe.length-1,ge=0;ce>=y;--ce){if(ee=oe.charCodeAt(ce),ee===47){if(!te){b=ce+1;break}continue}z===-1&&(te=!1,z=ce+1),ee===46?x===-1?x=ce:ge!==1&&(ge=1):x!==-1&&(ge=-1)}return x===-1||z===-1||ge===0||ge===1&&x===z-1&&x===b+1?z!==-1&&(b===0&&a?ne.base=ne.name=oe.slice(1,z):ne.base=ne.name=oe.slice(b,z)):(b===0&&a?(ne.name=oe.slice(1,x),ne.base=oe.slice(1,z)):(ne.name=oe.slice(b,x),ne.base=oe.slice(b,z)),ne.ext=oe.slice(x,z)),b>0?ne.dir=oe.slice(0,b-1):a&&(ne.dir="/"),ne},sep:"/",delimiter:":",win32:null,posix:null};ue.posix=ue,he.exports=ue}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,he,fe){(function(le){(function(){(function(){"use strict";var re={function:!0,object:!0},se=re[typeof window]&&window||this,ie=se,ue=re[typeof fe]&&fe,ae=re[typeof he]&&he&&!he.nodeType&&he,oe=ue&&ae&&typeof le=="object"&&le;oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(se=oe);var ne=Math.pow(2,53)-1,ee=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function z(Ce){return Ce=String(Ce),Ce.charAt(0).toUpperCase()+Ce.slice(1)}function te(Ce,_e,we){var Re={"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 _e&&we&&/^Win/i.test(Ce)&&!/^Windows Phone /i.test(Ce)&&(Re=Re[/[\d.]+$/.exec(Ce)])&&(Ce="Windows "+Re),Ce=String(Ce),_e&&we&&(Ce=Ce.replace(RegExp(_e,"i"),we)),Ce=ge(Ce.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]),Ce}function ce(Ce,_e){var we=-1,Re=Ce?Ce.length:0;if(typeof Re=="number"&&Re>-1&&Re<=ne)for(;++we<Re;)_e(Ce[we],we,Ce);else me(Ce,_e)}function ge(Ce){return Ce=Ee(Ce),/^(?:webOS|i(?:OS|P))/.test(Ce)?Ce:z(Ce)}function me(Ce,_e){for(var we in Ce)x.call(Ce,we)&&_e(Ce[we],we,Ce)}function ve(Ce){return Ce==null?z(Ce):b.call(Ce).slice(8,-1)}function pe(Ce,_e){var we=Ce!=null?typeof Ce[_e]:"number";return!/^(?:boolean|number|string|undefined)$/.test(we)&&(we=="object"?!!Ce[_e]:!0)}function be(Ce){return String(Ce).replace(/([ -])(?!$)/g,"$1?")}function ye(Ce,_e){var we=null;return ce(Ce,function(Re,De){we=_e(we,Re,De,Ce)}),we}function Ee(Ce){return String(Ce).replace(/^ +| +$/g,"")}function Pe(Ce){var _e=se,we=Ce&&typeof Ce=="object"&&ve(Ce)!="String";we&&(_e=Ce,Ce=null);var Re=_e.navigator||{},De=Re.userAgent||"";Ce||(Ce=De);var ke=we||a==ie,Ie=we?!!Re.likeChrome:/\bChrome\b/.test(Ce)&&!/internal|\n/i.test(b.toString()),qe="Object",Je=we?qe:"ScriptBridgingProxyObject",We=we?qe:"Environment",Qe=we&&_e.java?"JavaPackage":ve(_e.java),He=we?qe:"RuntimeObject",Fe=/\bJava/.test(Qe)&&_e.java,je=Fe&&ve(_e.environment)==We,et=Fe?"a":"\u03B1",tt=Fe?"b":"\u03B2",st=_e.document||{},Xe=_e.operamini||_e.opera,Ke=ee.test(Ke=we&&Xe?Xe["[[Class]]"]:ve(Xe))?Ke:Xe=null,Me,Ye=Ce,Le=[],Be=null,Ve=Ce==De,$e=Ve&&Xe&&typeof Xe.version=="function"&&Xe.version(),ze,Te=mt([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Oe=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"]),Ne=At([{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"]),Ge=dt({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}}),rt=vt(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function mt(lt){return ye(lt,function(it,bt){return it||RegExp("\\b"+(bt.pattern||be(bt))+"\\b","i").exec(Ce)&&(bt.label||bt)})}function dt(lt){return ye(lt,function(it,bt,wt){return it||(bt[Ne]||bt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ne)]||RegExp("\\b"+be(wt)+"(?:\\b|\\w*\\d)","i").exec(Ce))&&wt})}function nt(lt){return ye(lt,function(it,bt){return it||RegExp("\\b"+(bt.pattern||be(bt))+"\\b","i").exec(Ce)&&(bt.label||bt)})}function vt(lt){return ye(lt,function(it,bt){var wt=bt.pattern||be(bt);return!it&&(it=RegExp("\\b"+wt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(Ce))&&(it=te(it,wt,bt.label||bt)),it})}function At(lt){return ye(lt,function(it,bt){var wt=bt.pattern||be(bt);return!it&&(it=RegExp("\\b"+wt+" *\\d+[.\\w_]*","i").exec(Ce)||RegExp("\\b"+wt+" *\\w+-[\\w]*","i").exec(Ce)||RegExp("\\b"+wt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(Ce))&&((it=String(bt.label&&!RegExp(wt,"i").test(bt.label)?bt.label:it).split("/"))[1]&&!/[\d.]+/.test(it[0])&&(it[0]+=" "+it[1]),bt=bt.label||bt,it=ge(it[0].replace(RegExp(wt,"i"),bt).replace(RegExp("; *(?:"+bt+"[_-])?","i")," ").replace(RegExp("("+bt+")[-_.]?(\\w)","i"),"$1 $2"))),it})}function Nt(lt){return ye(lt,function(it,bt){return it||(RegExp(bt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(Ce)||0)[1]||null})}function at(){return this.description||""}if(Te&&(Te=[Te]),/\bAndroid\b/.test(rt)&&!Ne&&(Me=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(Ce))&&(Ne=Ee(Me[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Ge&&!Ne?Ne=At([Ge]):Ge&&Ne&&(Ne=Ne.replace(RegExp("^("+be(Ge)+")[-_.\\s]","i"),Ge+" ").replace(RegExp("^("+be(Ge)+")[-_.]?(\\w)","i"),Ge+" $2")),(Me=/\bGoogle TV\b/.exec(Ne))&&(Ne=Me[0]),/\bSimulator\b/i.test(Ce)&&(Ne=(Ne?Ne+" ":"")+"Simulator"),Oe=="Opera Mini"&&/\bOPiOS\b/.test(Ce)&&Le.push("running in Turbo/Uncompressed mode"),Oe=="IE"&&/\blike iPhone OS\b/.test(Ce)?(Me=Pe(Ce.replace(/like iPhone OS/,"")),Ge=Me.manufacturer,Ne=Me.product):/^iP/.test(Ne)?(Oe||(Oe="Safari"),rt="iOS"+((Me=/ OS ([\d_]+)/i.exec(Ce))?" "+Me[1].replace(/_/g,"."):"")):Oe=="Konqueror"&&/^Linux\b/i.test(rt)?rt="Kubuntu":Ge&&Ge!="Google"&&(/Chrome/.test(Oe)&&!/\bMobile Safari\b/i.test(Ce)||/\bVita\b/.test(Ne))||/\bAndroid\b/.test(rt)&&/^Chrome/.test(Oe)&&/\bVersion\//i.test(Ce)?(Oe="Android Browser",rt=/\bAndroid\b/.test(rt)?rt:"Android"):Oe=="Silk"?(/\bMobi/i.test(Ce)||(rt="Android",Le.unshift("desktop mode")),/Accelerated *= *true/i.test(Ce)&&Le.unshift("accelerated")):Oe=="UC Browser"&&/\bUCWEB\b/.test(Ce)?Le.push("speed mode"):Oe=="PaleMoon"&&(Me=/\bFirefox\/([\d.]+)\b/.exec(Ce))?Le.push("identifying as Firefox "+Me[1]):Oe=="Firefox"&&(Me=/\b(Mobile|Tablet|TV)\b/i.exec(Ce))?(rt||(rt="Firefox OS"),Ne||(Ne=Me[1])):!Oe||(Me=!/\bMinefield\b/i.test(Ce)&&/\b(?:Firefox|Safari)\b/.exec(Oe))?(Oe&&!Ne&&/[\/,]|^[^(]+?\)/.test(Ce.slice(Ce.indexOf(Me+"/")+8))&&(Oe=null),(Me=Ne||Ge||rt)&&(Ne||Ge||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(rt))&&(Oe=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(rt)?rt:Me)+" Browser")):Oe=="Electron"&&(Me=(/\bChrome\/([\d.]+)\b/.exec(Ce)||0)[1])&&Le.push("Chromium "+Me),$e||($e=Nt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",be(Oe),"(?:Firefox|Minefield|NetFront)"])),(Me=Te=="iCab"&&parseFloat($e)>3&&"WebKit"||/\bOpera\b/.test(Oe)&&(/\bOPR\b/.test(Ce)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ce)&&!/^(?:Trident|EdgeHTML)$/.test(Te)&&"WebKit"||!Te&&/\bMSIE\b/i.test(Ce)&&(rt=="Mac OS"?"Tasman":"Trident")||Te=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Oe)&&"NetFront")&&(Te=[Me]),Oe=="IE"&&(Me=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ce)||0)[1])?(Oe+=" Mobile",rt="Windows Phone "+(/\+$/.test(Me)?Me:Me+".x"),Le.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ce)?(Oe="IE Mobile",rt="Windows Phone 8.x",Le.unshift("desktop mode"),$e||($e=(/\brv:([\d.]+)/.exec(Ce)||0)[1])):Oe!="IE"&&Te=="Trident"&&(Me=/\brv:([\d.]+)/.exec(Ce))&&(Oe&&Le.push("identifying as "+Oe+($e?" "+$e:"")),Oe="IE",$e=Me[1]),Ve){if(pe(_e,"global"))if(Fe&&(Me=Fe.lang.System,Ye=Me.getProperty("os.arch"),rt=rt||Me.getProperty("os.name")+" "+Me.getProperty("os.version")),je){try{$e=_e.require("ringo/engine").version.join("."),Oe="RingoJS"}catch(lt){(Me=_e.system)&&Me.global.system==_e.system&&(Oe="Narwhal",rt||(rt=Me[0].os||null))}Oe||(Oe="Rhino")}else typeof _e.process=="object"&&!_e.process.browser&&(Me=_e.process)&&(typeof Me.versions=="object"&&(typeof Me.versions.electron=="string"?(Le.push("Node "+Me.versions.node),Oe="Electron",$e=Me.versions.electron):typeof Me.versions.nw=="string"&&(Le.push("Chromium "+$e,"Node "+Me.versions.node),Oe="NW.js",$e=Me.versions.nw)),Oe||(Oe="Node.js",Ye=Me.arch,rt=Me.platform,$e=/[\d.]+/.exec(Me.version),$e=$e?$e[0]:null));else ve(Me=_e.runtime)==Je?(Oe="Adobe AIR",rt=Me.flash.system.Capabilities.os):ve(Me=_e.phantom)==He?(Oe="PhantomJS",$e=(Me=Me.version||null)&&Me.major+"."+Me.minor+"."+Me.patch):typeof st.documentMode=="number"&&(Me=/\bTrident\/(\d+)/i.exec(Ce))?($e=[$e,st.documentMode],(Me=+Me[1]+4)!=$e[1]&&(Le.push("IE "+$e[1]+" mode"),Te&&(Te[1]=""),$e[1]=Me),$e=Oe=="IE"?String($e[1].toFixed(1)):$e[0]):typeof st.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Oe)&&(Le.push("masking as "+Oe+" "+$e),Oe="IE",$e="11.0",Te=["Trident"],rt="Windows");rt=rt&&ge(rt)}if($e&&(Me=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec($e)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ce+";"+(Ve&&Re.appMinorVersion))||/\bMinefield\b/i.test(Ce)&&"a")&&(Be=/b/i.test(Me)?"beta":"alpha",$e=$e.replace(RegExp(Me+"\\+?$"),"")+(Be=="beta"?tt:et)+(/\d+\+?/.exec(Me)||"")),Oe=="Fennec"||Oe=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(rt))Oe="Firefox Mobile";else if(Oe=="Maxthon"&&$e)$e=$e.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ne))Ne=="Xbox 360"&&(rt=null),Ne=="Xbox 360"&&/\bIEMobile\b/.test(Ce)&&Le.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Oe)||Oe&&!Ne&&!/Browser|Mobi/.test(Oe))&&(rt=="Windows CE"||/Mobi/i.test(Ce)))Oe+=" Mobile";else if(Oe=="IE"&&Ve)try{_e.external===null&&Le.unshift("platform preview")}catch(lt){Le.unshift("embedded")}else(/\bBlackBerry\b/.test(Ne)||/\bBB10\b/.test(Ce))&&(Me=(RegExp(Ne.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ce)||0)[1]||$e)?(Me=[Me,/BB10/.test(Ce)],rt=(Me[1]?(Ne=null,Ge="BlackBerry"):"Device Software")+" "+Me[0],$e=null):this!=me&&Ne!="Wii"&&(Ve&&Xe||/Opera/.test(Oe)&&/\b(?:MSIE|Firefox)\b/i.test(Ce)||Oe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(rt)||Oe=="IE"&&(rt&&!/^Win/.test(rt)&&$e>5.5||/\bWindows XP\b/.test(rt)&&$e>8||$e==8&&!/\bTrident\b/.test(Ce)))&&!ee.test(Me=Pe.call(me,Ce.replace(ee,"")+";"))&&Me.name&&(Me="ing as "+Me.name+((Me=Me.version)?" "+Me:""),ee.test(Oe)?(/\bIE\b/.test(Me)&&rt=="Mac OS"&&(rt=null),Me="identify"+Me):(Me="mask"+Me,Ke?Oe=ge(Ke.replace(/([a-z])([A-Z])/g,"$1 $2")):Oe="Opera",/\bIE\b/.test(Me)&&(rt=null),Ve||($e=null)),Te=["Presto"],Le.push(Me));(Me=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ce)||0)[1])&&(Me=[parseFloat(Me.replace(/\.(\d)$/,".0$1")),Me],Oe=="Safari"&&Me[1].slice(-1)=="+"?(Oe="WebKit Nightly",Be="alpha",$e=Me[1].slice(0,-1)):($e==Me[1]||$e==(Me[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ce)||0)[1]))&&($e=null),Me[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ce)||0)[1],Me[0]==537.36&&Me[2]==537.36&&parseFloat(Me[1])>=28&&Te=="WebKit"&&(Te=["Blink"]),!Ve||!Ie&&!Me[1]?(Te&&(Te[1]="like Safari"),Me=(Me=Me[0],Me<400?1:Me<500?2:Me<526?3:Me<533?4:Me<534?"4+":Me<535?5:Me<537?6:Me<538?7:Me<601?8:Me<602?9:Me<604?10:Me<606?11:Me<608?12:"12")):(Te&&(Te[1]="like Chrome"),Me=Me[1]||(Me=Me[0],Me<530?1:Me<532?2:Me<532.05?3:Me<533?4:Me<534.03?5:Me<534.07?6:Me<534.1?7:Me<534.13?8:Me<534.16?9:Me<534.24?10:Me<534.3?11:Me<535.01?12:Me<535.02?"13+":Me<535.07?15:Me<535.11?16:Me<535.19?17:Me<536.05?18:Me<536.1?19:Me<537.01?20:Me<537.11?"21+":Me<537.13?23:Me<537.18?24:Me<537.24?25:Me<537.36?26:Te!="Blink"?"27":"28")),Te&&(Te[1]+=" "+(Me+=typeof Me=="number"?".x":/[.+]/.test(Me)?"":"+")),Oe=="Safari"&&(!$e||parseInt($e)>45)?$e=Me:Oe=="Chrome"&&/\bHeadlessChrome/i.test(Ce)&&Le.unshift("headless")),Oe=="Opera"&&(Me=/\bzbov|zvav$/.exec(rt))?(Oe+=" ",Le.unshift("desktop mode"),Me=="zvav"?(Oe+="Mini",$e=null):Oe+="Mobile",rt=rt.replace(RegExp(" *"+Me+"$"),"")):Oe=="Safari"&&/\bChrome\b/.exec(Te&&Te[1])?(Le.unshift("desktop mode"),Oe="Chrome Mobile",$e=null,/\bOS X\b/.test(rt)?(Ge="Apple",rt="iOS 4.3+"):rt=null):/\bSRWare Iron\b/.test(Oe)&&!$e&&($e=Nt("Chrome")),$e&&$e.indexOf(Me=/[\d.]+$/.exec(rt))==0&&Ce.indexOf("/"+Me+"-")>-1&&(rt=Ee(rt.replace(Me,""))),rt&&rt.indexOf(Oe)!=-1&&!RegExp(Oe+" OS").test(rt)&&(rt=rt.replace(RegExp(" *"+be(Oe)+" *"),"")),Te&&!/\b(?:Avant|Nook)\b/.test(Oe)&&(/Browser|Lunascape|Maxthon/.test(Oe)||Oe!="Safari"&&/^iOS/.test(rt)&&/\bSafari\b/.test(Te[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Oe)&&Te[1])&&(Me=Te[Te.length-1])&&Le.push(Me),Le.length&&(Le=["("+Le.join("; ")+")"]),Ge&&Ne&&Ne.indexOf(Ge)<0&&Le.push("on "+Ge),Ne&&Le.push((/^on /.test(Le[Le.length-1])?"":"on ")+Ne),rt&&(Me=/ ([\d.+]+)$/.exec(rt),ze=Me&&rt.charAt(rt.length-Me[0].length-1)=="/",rt={architecture:32,family:Me&&!ze?rt.replace(Me[0],""):rt,version:Me?Me[1]:null,toString:function(){var lt=this.version;return this.family+(lt&&!ze?" "+lt:"")+(this.architecture==64?" 64-bit":"")}}),(Me=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ye))&&!/\bi686\b/i.test(Ye)?(rt&&(rt.architecture=64,rt.family=rt.family.replace(RegExp(" *"+Me),"")),Oe&&(/\bWOW64\b/i.test(Ce)||Ve&&/\w(?:86|32)$/.test(Re.cpuClass||Re.platform)&&!/\bWin64; x64\b/i.test(Ce))&&Le.unshift("32-bit")):rt&&/^OS X/.test(rt.family)&&Oe=="Chrome"&&parseFloat($e)>=39&&(rt.architecture=64),Ce||(Ce=null);var xt={};return xt.description=Ce,xt.layout=Te&&Te[0],xt.manufacturer=Ge,xt.name=Oe,xt.prerelease=Be,xt.product=Ne,xt.ua=Ce,xt.version=Oe&&$e,xt.os=rt||{architecture:null,family:null,version:null,toString:function(){return"null"}},xt.parse=Pe,xt.toString=at,xt.version&&Le.unshift($e),xt.name&&Le.unshift(Oe),rt&&Oe&&!(rt==String(rt).split(" ")[0]&&(rt==Oe.split(" ")[0]||Ne))&&Le.push(Ne?"("+rt+")":"on "+rt),Le.length&&(xt.description=Le.join(" ")),xt}var Ae=Pe();typeof de=="function"&&typeof de.amd=="object"&&de.amd?(se.platform=Ae,de(function(){return Ae})):ue&&ae?me(Ae,function(Ce,_e){ue[_e]=Ce}):se.platform=Ae}).call(this)}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,he,fe){(function(le){(function(){"use strict";typeof le=="undefined"||!le.version||le.version.indexOf("v0.")===0||le.version.indexOf("v1.")===0&&le.version.indexOf("v1.8.")!==0?he.exports={nextTick:re}:he.exports=le;function re(se,ie,ue,ae){if(typeof se!="function")throw new TypeError('"callback" argument must be a function');var oe=arguments.length,ne,ee;switch(oe){case 0:case 1:return le.nextTick(se);case 2:return le.nextTick(function(){se.call(null,ie)});case 3:return le.nextTick(function(){se.call(null,ie,ue)});case 4:return le.nextTick(function(){se.call(null,ie,ue,ae)});default:for(ne=new Array(oe-1),ee=0;ee<ne.length;)ne[ee++]=arguments[ee];return le.nextTick(function(){se.apply(null,ne)})}}}).call(this)}).call(this,E("_process"))},{_process:467}],381:[function(E,he,fe){var le=he.exports={},re,se;function ie(){throw new Error("setTimeout has not been defined")}function ue(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?re=setTimeout:re=ie}catch(ce){re=ie}try{typeof clearTimeout=="function"?se=clearTimeout:se=ue}catch(ce){se=ue}})();function ae(ce){if(re===setTimeout)return setTimeout(ce,0);if((re===ie||!re)&&setTimeout)return re=setTimeout,setTimeout(ce,0);try{return re(ce,0)}catch(ge){try{return re.call(null,ce,0)}catch(me){return re.call(this,ce,0)}}}function oe(ce){if(se===clearTimeout)return clearTimeout(ce);if((se===ue||!se)&&clearTimeout)return se=clearTimeout,clearTimeout(ce);try{return se(ce)}catch(ge){try{return se.call(null,ce)}catch(me){return se.call(this,ce)}}}var ne=[],ee=!1,a,y=-1;function x(){!ee||!a||(ee=!1,a.length?ne=a.concat(ne):y=-1,ne.length&&b())}function b(){if(!ee){var ce=ae(x);ee=!0;for(var ge=ne.length;ge;){for(a=ne,ne=[];++y<ge;)a&&a[y].run();y=-1,ge=ne.length}a=null,ee=!1,oe(ce)}}le.nextTick=function(ce){var ge=new Array(arguments.length-1);if(arguments.length>1)for(var me=1;me<arguments.length;me++)ge[me-1]=arguments[me];ne.push(new z(ce,ge)),ne.length===1&&!ee&&ae(b)};function z(ce,ge){this.fun=ce,this.array=ge}z.prototype.run=function(){this.fun.apply(null,this.array)},le.title="browser",le.browser=!0,le.env={},le.argv=[],le.version="",le.versions={};function te(){}le.on=te,le.addListener=te,le.once=te,le.off=te,le.removeListener=te,le.removeAllListeners=te,le.emit=te,le.prependListener=te,le.prependOnceListener=te,le.listeners=function(ce){return[]},le.binding=function(ce){throw new Error("process.binding is not supported")},le.cwd=function(){return"/"},le.chdir=function(ce){throw new Error("process.chdir is not supported")},le.umask=function(){return 0}},{}],382:[function(E,he,fe){(function(le){(function(){(function(re){var se=typeof fe=="object"&&fe&&!fe.nodeType&&fe,ie=typeof he=="object"&&he&&!he.nodeType&&he,ue=typeof le=="object"&&le;(ue.global===ue||ue.window===ue||ue.self===ue)&&(re=ue);var ae,oe=2147483647,ne=36,ee=1,a=26,y=38,x=700,b=72,z=128,te="-",ce=/^xn--/,ge=/[^\x20-\x7E]/,me=/[\x2E\u3002\uFF0E\uFF61]/g,ve={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pe=ne-ee,be=Math.floor,ye=String.fromCharCode,Ee;function Pe(Qe){throw new RangeError(ve[Qe])}function Ae(Qe,He){for(var Fe=Qe.length,je=[];Fe--;)je[Fe]=He(Qe[Fe]);return je}function Ce(Qe,He){var Fe=Qe.split("@"),je="";Fe.length>1&&(je=Fe[0]+"@",Qe=Fe[1]),Qe=Qe.replace(me,".");var et=Qe.split("."),tt=Ae(et,He).join(".");return je+tt}function _e(Qe){for(var He=[],Fe=0,je=Qe.length,et,tt;Fe<je;)et=Qe.charCodeAt(Fe++),et>=55296&&et<=56319&&Fe<je?(tt=Qe.charCodeAt(Fe++),(tt&64512)==56320?He.push(((et&1023)<<10)+(tt&1023)+65536):(He.push(et),Fe--)):He.push(et);return He}function we(Qe){return Ae(Qe,function(He){var Fe="";return He>65535&&(He-=65536,Fe+=ye(He>>>10&1023|55296),He=56320|He&1023),Fe+=ye(He),Fe}).join("")}function Re(Qe){return Qe-48<10?Qe-22:Qe-65<26?Qe-65:Qe-97<26?Qe-97:ne}function De(Qe,He){return Qe+22+75*(Qe<26)-((He!=0)<<5)}function ke(Qe,He,Fe){var je=0;for(Qe=Fe?be(Qe/x):Qe>>1,Qe+=be(Qe/He);Qe>pe*a>>1;je+=ne)Qe=be(Qe/pe);return be(je+(pe+1)*Qe/(Qe+y))}function Ie(Qe){var He=[],Fe=Qe.length,je,et=0,tt=z,st=b,Xe,Ke,Me,Ye,Le,Be,Ve,$e,ze;for(Xe=Qe.lastIndexOf(te),Xe<0&&(Xe=0),Ke=0;Ke<Xe;++Ke)Qe.charCodeAt(Ke)>=128&&Pe("not-basic"),He.push(Qe.charCodeAt(Ke));for(Me=Xe>0?Xe+1:0;Me<Fe;){for(Ye=et,Le=1,Be=ne;Me>=Fe&&Pe("invalid-input"),Ve=Re(Qe.charCodeAt(Me++)),(Ve>=ne||Ve>be((oe-et)/Le))&&Pe("overflow"),et+=Ve*Le,$e=Be<=st?ee:Be>=st+a?a:Be-st,!(Ve<$e);Be+=ne)ze=ne-$e,Le>be(oe/ze)&&Pe("overflow"),Le*=ze;je=He.length+1,st=ke(et-Ye,je,Ye==0),be(et/je)>oe-tt&&Pe("overflow"),tt+=be(et/je),et%=je,He.splice(et++,0,tt)}return we(He)}function qe(Qe){var He,Fe,je,et,tt,st,Xe,Ke,Me,Ye,Le,Be=[],Ve,$e,ze,Te;for(Qe=_e(Qe),Ve=Qe.length,He=z,Fe=0,tt=b,st=0;st<Ve;++st)Le=Qe[st],Le<128&&Be.push(ye(Le));for(je=et=Be.length,et&&Be.push(te);je<Ve;){for(Xe=oe,st=0;st<Ve;++st)Le=Qe[st],Le>=He&&Le<Xe&&(Xe=Le);for($e=je+1,Xe-He>be((oe-Fe)/$e)&&Pe("overflow"),Fe+=(Xe-He)*$e,He=Xe,st=0;st<Ve;++st)if(Le=Qe[st],Le<He&&++Fe>oe&&Pe("overflow"),Le==He){for(Ke=Fe,Me=ne;Ye=Me<=tt?ee:Me>=tt+a?a:Me-tt,!(Ke<Ye);Me+=ne)Te=Ke-Ye,ze=ne-Ye,Be.push(ye(De(Ye+Te%ze,0))),Ke=be(Te/ze);Be.push(ye(De(Ke,0))),tt=ke(Fe,$e,je==et),Fe=0,++je}++Fe,++He}return Be.join("")}function Je(Qe){return Ce(Qe,function(He){return ce.test(He)?Ie(He.slice(4).toLowerCase()):He})}function We(Qe){return Ce(Qe,function(He){return ge.test(He)?"xn--"+qe(He):He})}if(ae={version:"1.4.1",ucs2:{decode:_e,encode:we},decode:Ie,encode:qe,toASCII:We,toUnicode:Je},typeof de=="function"&&typeof de.amd=="object"&&de.amd)de("punycode",function(){return ae});else if(se&&ie)if(he.exports==se)ie.exports=ae;else for(Ee in ae)ae.hasOwnProperty(Ee)&&(se[Ee]=ae[Ee]);else re.punycode=ae})(this)}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(E,he,fe){"use strict";function le(se,ie){return Object.prototype.hasOwnProperty.call(se,ie)}he.exports=function(se,ie,ue,ae){ie=ie||"&",ue=ue||"=";var oe={};if(typeof se!="string"||se.length===0)return oe;var ne=/\+/g;se=se.split(ie);var ee=1e3;ae&&typeof ae.maxKeys=="number"&&(ee=ae.maxKeys);var a=se.length;ee>0&&a>ee&&(a=ee);for(var y=0;y<a;++y){var x=se[y].replace(ne,"%20"),b=x.indexOf(ue),z,te,ce,ge;b>=0?(z=x.substr(0,b),te=x.substr(b+1)):(z=x,te=""),ce=decodeURIComponent(z),ge=decodeURIComponent(te),le(oe,ce)?re(oe[ce])?oe[ce].push(ge):oe[ce]=[oe[ce],ge]:oe[ce]=ge}return oe};var re=Array.isArray||function(se){return Object.prototype.toString.call(se)==="[object Array]"}},{}],384:[function(E,he,fe){"use strict";var le=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,ne){return ae=ae||"&",oe=oe||"=",ue===null&&(ue=void 0),typeof ue=="object"?se(ie(ue),function(ee){var a=encodeURIComponent(le(ee))+oe;return re(ue[ee])?se(ue[ee],function(y){return a+encodeURIComponent(le(y))}).join(ae):a+encodeURIComponent(le(ue[ee]))}).join(ae):ne?encodeURIComponent(le(ne))+oe+encodeURIComponent(le(ue)):""};var re=Array.isArray||function(ue){return Object.prototype.toString.call(ue)==="[object Array]"};function se(ue,ae){if(ue.map)return ue.map(ae);for(var oe=[],ne=0;ne<ue.length;ne++)oe.push(ae(ue[ne],ne));return oe}var ie=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,fe){"use strict";fe.decode=fe.parse=E("./decode"),fe.encode=fe.stringify=E("./encode")},{"./decode":383,"./encode":384}],386:[function(E,he,fe){"use strict";var le=E("process-nextick-args"),re=Object.keys||function(x){var b=[];for(var z in x)b.push(z);return b};he.exports=ee;var se=Object.create(E("core-util-is"));se.inherits=E("inherits");var ie=E("./_stream_readable"),ue=E("./_stream_writable");se.inherits(ee,ie);for(var ae=re(ue.prototype),oe=0;oe<ae.length;oe++){var ne=ae[oe];ee.prototype[ne]||(ee.prototype[ne]=ue.prototype[ne])}function ee(x){if(!(this instanceof ee))return new ee(x);ie.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||le.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(),le.nextTick(b,x)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(E,he,fe){"use strict";he.exports=se;var le=E("./_stream_transform"),re=Object.create(E("core-util-is"));re.inherits=E("inherits"),re.inherits(se,le);function se(ie){if(!(this instanceof se))return new se(ie);le.call(this,ie)}se.prototype._transform=function(ie,ue,ae){ae(null,ie)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(E,he,fe){(function(le,re){(function(){"use strict";var se=E("process-nextick-args");he.exports=ye;var ie=E("isarray"),ue;ye.ReadableState=be;var ae=E("events").EventEmitter,oe=function(Le,Be){return Le.listeners(Be).length},ne=E("./internal/streams/stream"),ee=E("safe-buffer").Buffer,a=re.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 ce=E("./internal/streams/BufferList"),ge=E("./internal/streams/destroy"),me;b.inherits(ye,ne);var ve=["error","close","destroy","pause","resume"];function pe(Le,Be,Ve){if(typeof Le.prependListener=="function")return Le.prependListener(Be,Ve);!Le._events||!Le._events[Be]?Le.on(Be,Ve):ie(Le._events[Be])?Le._events[Be].unshift(Ve):Le._events[Be]=[Ve,Le._events[Be]]}function be(Le,Be){ue=ue||E("./_stream_duplex"),Le=Le||{};var Ve=Be instanceof ue;this.objectMode=!!Le.objectMode,Ve&&(this.objectMode=this.objectMode||!!Le.readableObjectMode);var $e=Le.highWaterMark,ze=Le.readableHighWaterMark,Te=this.objectMode?16:16*1024;$e||$e===0?this.highWaterMark=$e:Ve&&(ze||ze===0)?this.highWaterMark=ze:this.highWaterMark=Te,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new ce,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&&(me||(me=E("string_decoder/").StringDecoder),this.decoder=new me(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 be(Le,this),this.readable=!0,Le&&(typeof Le.read=="function"&&(this._read=Le.read),typeof Le.destroy=="function"&&(this._destroy=Le.destroy)),ne.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=ge.destroy,ye.prototype._undestroy=ge.undestroy,ye.prototype._destroy=function(Le,Be){this.push(null),Be(Le)},ye.prototype.push=function(Le,Be){var Ve=this._readableState,$e;return Ve.objectMode?$e=!0:typeof Le=="string"&&(Be=Be||Ve.defaultEncoding,Be!==Ve.encoding&&(Le=ee.from(Le,Be),Be=""),$e=!0),Ee(this,Le,Be,!1,$e)},ye.prototype.unshift=function(Le){return Ee(this,Le,null,!0,!1)};function Ee(Le,Be,Ve,$e,ze){var Te=Le._readableState;if(Be===null)Te.reading=!1,De(Le,Te);else{var Oe;ze||(Oe=Ae(Te,Be)),Oe?Le.emit("error",Oe):Te.objectMode||Be&&Be.length>0?(typeof Be!="string"&&!Te.objectMode&&Object.getPrototypeOf(Be)!==ee.prototype&&(Be=y(Be)),$e?Te.endEmitted?Le.emit("error",new Error("stream.unshift() after end event")):Pe(Le,Te,Be,!0):Te.ended?Le.emit("error",new Error("stream.push() after EOF")):(Te.reading=!1,Te.decoder&&!Ve?(Be=Te.decoder.write(Be),Te.objectMode||Be.length!==0?Pe(Le,Te,Be,!1):qe(Le,Te)):Pe(Le,Te,Be,!1))):$e||(Te.reading=!1)}return Ce(Te)}function Pe(Le,Be,Ve,$e){Be.flowing&&Be.length===0&&!Be.sync?(Le.emit("data",Ve),Le.read(0)):(Be.length+=Be.objectMode?1:Ve.length,$e?Be.buffer.unshift(Ve):Be.buffer.push(Ve),Be.needReadable&&ke(Le)),qe(Le,Be)}function Ae(Le,Be){var Ve;return!x(Be)&&typeof Be!="string"&&Be!==void 0&&!Le.objectMode&&(Ve=new TypeError("Invalid non-string/buffer chunk")),Ve}function Ce(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 me||(me=E("string_decoder/").StringDecoder),this._readableState.decoder=new me(Le),this._readableState.encoding=Le,this};var _e=8388608;function we(Le){return Le>=_e?Le=_e:(Le--,Le|=Le>>>1,Le|=Le>>>2,Le|=Le>>>4,Le|=Le>>>8,Le|=Le>>>16,Le++),Le}function Re(Le,Be){return Le<=0||Be.length===0&&Be.ended?0:Be.objectMode?1:Le!==Le?Be.flowing&&Be.length?Be.buffer.head.data.length:Be.length:(Le>Be.highWaterMark&&(Be.highWaterMark=we(Le)),Le<=Be.length?Le:Be.ended?Be.length:(Be.needReadable=!0,0))}ye.prototype.read=function(Le){te("read",Le),Le=parseInt(Le,10);var Be=this._readableState,Ve=Le;if(Le!==0&&(Be.emittedReadable=!1),Le===0&&Be.needReadable&&(Be.length>=Be.highWaterMark||Be.ended))return te("read: emitReadable",Be.length,Be.ended),Be.length===0&&Be.ended?Ke(this):ke(this),null;if(Le=Re(Le,Be),Le===0&&Be.ended)return Be.length===0&&Ke(this),null;var $e=Be.needReadable;te("need readable",$e),(Be.length===0||Be.length-Le<Be.highWaterMark)&&($e=!0,te("length less than watermark",$e)),Be.ended||Be.reading?($e=!1,te("reading or ended",$e)):$e&&(te("do read"),Be.reading=!0,Be.sync=!0,Be.length===0&&(Be.needReadable=!0),this._read(Be.highWaterMark),Be.sync=!1,Be.reading||(Le=Re(Ve,Be)));var ze;return Le>0?ze=et(Le,Be):ze=null,ze===null?(Be.needReadable=!0,Le=0):Be.length-=Le,Be.length===0&&(Be.ended||(Be.needReadable=!0),Ve!==Le&&Be.ended&&Ke(this)),ze!==null&&this.emit("data",ze),ze};function De(Le,Be){if(!Be.ended){if(Be.decoder){var Ve=Be.decoder.end();Ve&&Ve.length&&(Be.buffer.push(Ve),Be.length+=Be.objectMode?1:Ve.length)}Be.ended=!0,ke(Le)}}function ke(Le){var Be=Le._readableState;Be.needReadable=!1,Be.emittedReadable||(te("emitReadable",Be.flowing),Be.emittedReadable=!0,Be.sync?se.nextTick(Ie,Le):Ie(Le))}function Ie(Le){te("emit readable"),Le.emit("readable"),je(Le)}function qe(Le,Be){Be.readingMore||(Be.readingMore=!0,se.nextTick(Je,Le,Be))}function Je(Le,Be){for(var Ve=Be.length;!Be.reading&&!Be.flowing&&!Be.ended&&Be.length<Be.highWaterMark&&(te("maybeReadMore read 0"),Le.read(0),Ve!==Be.length);)Ve=Be.length;Be.readingMore=!1}ye.prototype._read=function(Le){this.emit("error",new Error("_read() is not implemented"))},ye.prototype.pipe=function(Le,Be){var Ve=this,$e=this._readableState;switch($e.pipesCount){case 0:$e.pipes=Le;break;case 1:$e.pipes=[$e.pipes,Le];break;default:$e.pipes.push(Le);break}$e.pipesCount+=1,te("pipe count=%d opts=%j",$e.pipesCount,Be);var ze=(!Be||Be.end!==!1)&&Le!==le.stdout&&Le!==le.stderr,Te=ze?Ne:at;$e.endEmitted?se.nextTick(Te):Ve.once("end",Te),Le.on("unpipe",Oe);function Oe(xt,lt){te("onunpipe"),xt===Ve&&lt&&lt.hasUnpiped===!1&&(lt.hasUnpiped=!0,mt())}function Ne(){te("onend"),Le.end()}var Ge=We(Ve);Le.on("drain",Ge);var rt=!1;function mt(){te("cleanup"),Le.removeListener("close",At),Le.removeListener("finish",Nt),Le.removeListener("drain",Ge),Le.removeListener("error",vt),Le.removeListener("unpipe",Oe),Ve.removeListener("end",Ne),Ve.removeListener("end",at),Ve.removeListener("data",nt),rt=!0,$e.awaitDrain&&(!Le._writableState||Le._writableState.needDrain)&&Ge()}var dt=!1;Ve.on("data",nt);function nt(xt){te("ondata"),dt=!1;var lt=Le.write(xt);lt===!1&&!dt&&(($e.pipesCount===1&&$e.pipes===Le||$e.pipesCount>1&&Ye($e.pipes,Le)!==-1)&&!rt&&(te("false write response, pause",Ve._readableState.awaitDrain),Ve._readableState.awaitDrain++,dt=!0),Ve.pause())}function vt(xt){te("onerror",xt),at(),Le.removeListener("error",vt),oe(Le,"error")===0&&Le.emit("error",xt)}pe(Le,"error",vt);function At(){Le.removeListener("finish",Nt),at()}Le.once("close",At);function Nt(){te("onfinish"),Le.removeListener("close",At),at()}Le.once("finish",Nt);function at(){te("unpipe"),Ve.unpipe(Le)}return Le.emit("pipe",Ve),$e.flowing||(te("pipe resume"),Ve.resume()),Le};function We(Le){return function(){var Be=Le._readableState;te("pipeOnDrain",Be.awaitDrain),Be.awaitDrain&&Be.awaitDrain--,Be.awaitDrain===0&&oe(Le,"data")&&(Be.flowing=!0,je(Le))}}ye.prototype.unpipe=function(Le){var Be=this._readableState,Ve={hasUnpiped:!1};if(Be.pipesCount===0)return this;if(Be.pipesCount===1)return Le&&Le!==Be.pipes?this:(Le||(Le=Be.pipes),Be.pipes=null,Be.pipesCount=0,Be.flowing=!1,Le&&Le.emit("unpipe",this,Ve),this);if(!Le){var $e=Be.pipes,ze=Be.pipesCount;Be.pipes=null,Be.pipesCount=0,Be.flowing=!1;for(var Te=0;Te<ze;Te++)$e[Te].emit("unpipe",this,Ve);return this}var Oe=Ye(Be.pipes,Le);return Oe===-1?this:(Be.pipes.splice(Oe,1),Be.pipesCount-=1,Be.pipesCount===1&&(Be.pipes=Be.pipes[0]),Le.emit("unpipe",this,Ve),this)},ye.prototype.on=function(Le,Be){var Ve=ne.prototype.on.call(this,Le,Be);if(Le==="data")this._readableState.flowing!==!1&&this.resume();else if(Le==="readable"){var $e=this._readableState;!$e.endEmitted&&!$e.readableListening&&($e.readableListening=$e.needReadable=!0,$e.emittedReadable=!1,$e.reading?$e.length&&ke(this):se.nextTick(Qe,this))}return Ve},ye.prototype.addListener=ye.prototype.on;function Qe(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,He(this,Le)),this};function He(Le,Be){Be.resumeScheduled||(Be.resumeScheduled=!0,se.nextTick(Fe,Le,Be))}function Fe(Le,Be){Be.reading||(te("resume read 0"),Le.read(0)),Be.resumeScheduled=!1,Be.awaitDrain=0,Le.emit("resume"),je(Le),Be.flowing&&!Be.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 je(Le){var Be=Le._readableState;for(te("flow",Be.flowing);Be.flowing&&Le.read()!==null;);}ye.prototype.wrap=function(Le){var Be=this,Ve=this._readableState,$e=!1;Le.on("end",function(){if(te("wrapped end"),Ve.decoder&&!Ve.ended){var Oe=Ve.decoder.end();Oe&&Oe.length&&Be.push(Oe)}Be.push(null)}),Le.on("data",function(Oe){if(te("wrapped data"),Ve.decoder&&(Oe=Ve.decoder.write(Oe)),!(Ve.objectMode&&Oe==null)&&!(!Ve.objectMode&&(!Oe||!Oe.length))){var Ne=Be.push(Oe);Ne||($e=!0,Le.pause())}});for(var ze in Le)this[ze]===void 0&&typeof Le[ze]=="function"&&(this[ze]=function(Oe){return function(){return Le[Oe].apply(Le,arguments)}}(ze));for(var Te=0;Te<ve.length;Te++)Le.on(ve[Te],this.emit.bind(this,ve[Te]));return this._read=function(Oe){te("wrapped _read",Oe),$e&&($e=!1,Le.resume())},this},Object.defineProperty(ye.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),ye._fromList=et;function et(Le,Be){if(Be.length===0)return null;var Ve;return Be.objectMode?Ve=Be.buffer.shift():!Le||Le>=Be.length?(Be.decoder?Ve=Be.buffer.join(""):Be.buffer.length===1?Ve=Be.buffer.head.data:Ve=Be.buffer.concat(Be.length),Be.buffer.clear()):Ve=tt(Le,Be.buffer,Be.decoder),Ve}function tt(Le,Be,Ve){var $e;return Le<Be.head.data.length?($e=Be.head.data.slice(0,Le),Be.head.data=Be.head.data.slice(Le)):Le===Be.head.data.length?$e=Be.shift():$e=Ve?st(Le,Be):Xe(Le,Be),$e}function st(Le,Be){var Ve=Be.head,$e=1,ze=Ve.data;for(Le-=ze.length;Ve=Ve.next;){var Te=Ve.data,Oe=Le>Te.length?Te.length:Le;if(Oe===Te.length?ze+=Te:ze+=Te.slice(0,Le),Le-=Oe,Le===0){Oe===Te.length?(++$e,Ve.next?Be.head=Ve.next:Be.head=Be.tail=null):(Be.head=Ve,Ve.data=Te.slice(Oe));break}++$e}return Be.length-=$e,ze}function Xe(Le,Be){var Ve=ee.allocUnsafe(Le),$e=Be.head,ze=1;for($e.data.copy(Ve),Le-=$e.data.length;$e=$e.next;){var Te=$e.data,Oe=Le>Te.length?Te.length:Le;if(Te.copy(Ve,Ve.length-Le,0,Oe),Le-=Oe,Le===0){Oe===Te.length?(++ze,$e.next?Be.head=$e.next:Be.head=Be.tail=null):(Be.head=$e,$e.data=Te.slice(Oe));break}++ze}return Be.length-=ze,Ve}function Ke(Le){var Be=Le._readableState;if(Be.length>0)throw new Error('"endReadable()" called on non-empty stream');Be.endEmitted||(Be.ended=!0,se.nextTick(Me,Be,Le))}function Me(Le,Be){!Le.endEmitted&&Le.length===0&&(Le.endEmitted=!0,Be.readable=!1,Be.emit("end"))}function Ye(Le,Be){for(var Ve=0,$e=Le.length;Ve<$e;Ve++)if(Le[Ve]===Be)return Ve;return-1}}).call(this)}).call(this,E("_process"),typeof gt!="undefined"?gt: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,fe){"use strict";he.exports=ie;var le=E("./_stream_duplex"),re=Object.create(E("core-util-is"));re.inherits=E("inherits"),re.inherits(ie,le);function se(oe,ne){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,ne!=null&&this.push(ne),a(oe);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function ie(oe){if(!(this instanceof ie))return new ie(oe);le.call(this,oe),this._transformState={afterTransform:se.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(ne,ee){ae(oe,ne,ee)}):ae(this,null,null)}ie.prototype.push=function(oe,ne){return this._transformState.needTransform=!1,le.prototype.push.call(this,oe,ne)},ie.prototype._transform=function(oe,ne,ee){throw new Error("_transform() is not implemented")},ie.prototype._write=function(oe,ne,ee){var a=this._transformState;if(a.writecb=ee,a.writechunk=oe,a.writeencoding=ne,!a.transforming){var y=this._readableState;(a.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},ie.prototype._read=function(oe){var ne=this._transformState;ne.writechunk!==null&&ne.writecb&&!ne.transforming?(ne.transforming=!0,this._transform(ne.writechunk,ne.writeencoding,ne.afterTransform)):ne.needTransform=!0},ie.prototype._destroy=function(oe,ne){var ee=this;le.prototype._destroy.call(this,oe,function(a){ne(a),ee.emit("close")})};function ae(oe,ne,ee){if(ne)return oe.emit("error",ne);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,fe){(function(le,re,se){(function(){"use strict";var ie=E("process-nextick-args");he.exports=pe;function ue(Fe,je,et){this.chunk=Fe,this.encoding=je,this.callback=et,this.next=null}function ae(Fe){var je=this;this.next=null,this.entry=null,this.finish=function(){He(je,Fe)}}var oe=!le.browser&&["v0.10","v0.9."].indexOf(le.version.slice(0,5))>-1?se:ie.nextTick,ne;pe.WritableState=me;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=re.Uint8Array||function(){};function z(Fe){return x.from(Fe)}function te(Fe){return x.isBuffer(Fe)||Fe instanceof b}var ce=E("./internal/streams/destroy");ee.inherits(pe,y);function ge(){}function me(Fe,je){ne=ne||E("./_stream_duplex"),Fe=Fe||{};var et=je instanceof ne;this.objectMode=!!Fe.objectMode,et&&(this.objectMode=this.objectMode||!!Fe.writableObjectMode);var tt=Fe.highWaterMark,st=Fe.writableHighWaterMark,Xe=this.objectMode?16:16*1024;tt||tt===0?this.highWaterMark=tt:et&&(st||st===0)?this.highWaterMark=st:this.highWaterMark=Xe,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 Ke=Fe.decodeStrings===!1;this.decodeStrings=!Ke,this.defaultEncoding=Fe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Me){we(je,Me)},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)}me.prototype.getBuffer=function(){for(var je=this.bufferedRequest,et=[];je;)et.push(je),je=je.next;return et},function(){try{Object.defineProperty(me.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Fe){}}();var ve;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ve=Function.prototype[Symbol.hasInstance],Object.defineProperty(pe,Symbol.hasInstance,{value:function(Fe){return ve.call(this,Fe)?!0:this!==pe?!1:Fe&&Fe._writableState instanceof me}})):ve=function(Fe){return Fe instanceof this};function pe(Fe){if(ne=ne||E("./_stream_duplex"),!ve.call(pe,this)&&!(this instanceof ne))return new pe(Fe);this._writableState=new me(Fe,this),this.writable=!0,Fe&&(typeof Fe.write=="function"&&(this._write=Fe.write),typeof Fe.writev=="function"&&(this._writev=Fe.writev),typeof Fe.destroy=="function"&&(this._destroy=Fe.destroy),typeof Fe.final=="function"&&(this._final=Fe.final)),y.call(this)}pe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function be(Fe,je){var et=new Error("write after end");Fe.emit("error",et),ie.nextTick(je,et)}function ye(Fe,je,et,tt){var st=!0,Xe=!1;return et===null?Xe=new TypeError("May not write null values to stream"):typeof et!="string"&&et!==void 0&&!je.objectMode&&(Xe=new TypeError("Invalid non-string/buffer chunk")),Xe&&(Fe.emit("error",Xe),ie.nextTick(tt,Xe),st=!1),st}pe.prototype.write=function(Fe,je,et){var tt=this._writableState,st=!1,Xe=!tt.objectMode&&te(Fe);return Xe&&!x.isBuffer(Fe)&&(Fe=z(Fe)),typeof je=="function"&&(et=je,je=null),Xe?je="buffer":je||(je=tt.defaultEncoding),typeof et!="function"&&(et=ge),tt.ended?be(this,et):(Xe||ye(this,tt,Fe,et))&&(tt.pendingcb++,st=Pe(this,tt,Xe,Fe,je,et)),st},pe.prototype.cork=function(){var Fe=this._writableState;Fe.corked++},pe.prototype.uncork=function(){var Fe=this._writableState;Fe.corked&&(Fe.corked--,!Fe.writing&&!Fe.corked&&!Fe.finished&&!Fe.bufferProcessing&&Fe.bufferedRequest&&ke(this,Fe))},pe.prototype.setDefaultEncoding=function(je){if(typeof je=="string"&&(je=je.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((je+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+je);return this._writableState.defaultEncoding=je,this};function Ee(Fe,je,et){return!Fe.objectMode&&Fe.decodeStrings!==!1&&typeof je=="string"&&(je=x.from(je,et)),je}Object.defineProperty(pe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Pe(Fe,je,et,tt,st,Xe){if(!et){var Ke=Ee(je,tt,st);tt!==Ke&&(et=!0,st="buffer",tt=Ke)}var Me=je.objectMode?1:tt.length;je.length+=Me;var Ye=je.length<je.highWaterMark;if(Ye||(je.needDrain=!0),je.writing||je.corked){var Le=je.lastBufferedRequest;je.lastBufferedRequest={chunk:tt,encoding:st,isBuf:et,callback:Xe,next:null},Le?Le.next=je.lastBufferedRequest:je.bufferedRequest=je.lastBufferedRequest,je.bufferedRequestCount+=1}else Ae(Fe,je,!1,Me,tt,st,Xe);return Ye}function Ae(Fe,je,et,tt,st,Xe,Ke){je.writelen=tt,je.writecb=Ke,je.writing=!0,je.sync=!0,et?Fe._writev(st,je.onwrite):Fe._write(st,Xe,je.onwrite),je.sync=!1}function Ce(Fe,je,et,tt,st){--je.pendingcb,et?(ie.nextTick(st,tt),ie.nextTick(We,Fe,je),Fe._writableState.errorEmitted=!0,Fe.emit("error",tt)):(st(tt),Fe._writableState.errorEmitted=!0,Fe.emit("error",tt),We(Fe,je))}function _e(Fe){Fe.writing=!1,Fe.writecb=null,Fe.length-=Fe.writelen,Fe.writelen=0}function we(Fe,je){var et=Fe._writableState,tt=et.sync,st=et.writecb;if(_e(et),je)Ce(Fe,et,tt,je,st);else{var Xe=Ie(et);!Xe&&!et.corked&&!et.bufferProcessing&&et.bufferedRequest&&ke(Fe,et),tt?oe(Re,Fe,et,Xe,st):Re(Fe,et,Xe,st)}}function Re(Fe,je,et,tt){et||De(Fe,je),je.pendingcb--,tt(),We(Fe,je)}function De(Fe,je){je.length===0&&je.needDrain&&(je.needDrain=!1,Fe.emit("drain"))}function ke(Fe,je){je.bufferProcessing=!0;var et=je.bufferedRequest;if(Fe._writev&&et&&et.next){var tt=je.bufferedRequestCount,st=new Array(tt),Xe=je.corkedRequestsFree;Xe.entry=et;for(var Ke=0,Me=!0;et;)st[Ke]=et,et.isBuf||(Me=!1),et=et.next,Ke+=1;st.allBuffers=Me,Ae(Fe,je,!0,je.length,st,"",Xe.finish),je.pendingcb++,je.lastBufferedRequest=null,Xe.next?(je.corkedRequestsFree=Xe.next,Xe.next=null):je.corkedRequestsFree=new ae(je),je.bufferedRequestCount=0}else{for(;et;){var Ye=et.chunk,Le=et.encoding,Be=et.callback,Ve=je.objectMode?1:Ye.length;if(Ae(Fe,je,!1,Ve,Ye,Le,Be),et=et.next,je.bufferedRequestCount--,je.writing)break}et===null&&(je.lastBufferedRequest=null)}je.bufferedRequest=et,je.bufferProcessing=!1}pe.prototype._write=function(Fe,je,et){et(new Error("_write() is not implemented"))},pe.prototype._writev=null,pe.prototype.end=function(Fe,je,et){var tt=this._writableState;typeof Fe=="function"?(et=Fe,Fe=null,je=null):typeof je=="function"&&(et=je,je=null),Fe!=null&&this.write(Fe,je),tt.corked&&(tt.corked=1,this.uncork()),!tt.ending&&!tt.finished&&Qe(this,tt,et)};function Ie(Fe){return Fe.ending&&Fe.length===0&&Fe.bufferedRequest===null&&!Fe.finished&&!Fe.writing}function qe(Fe,je){Fe._final(function(et){je.pendingcb--,et&&Fe.emit("error",et),je.prefinished=!0,Fe.emit("prefinish"),We(Fe,je)})}function Je(Fe,je){!je.prefinished&&!je.finalCalled&&(typeof Fe._final=="function"?(je.pendingcb++,je.finalCalled=!0,ie.nextTick(qe,Fe,je)):(je.prefinished=!0,Fe.emit("prefinish")))}function We(Fe,je){var et=Ie(je);return et&&(Je(Fe,je),je.pendingcb===0&&(je.finished=!0,Fe.emit("finish"))),et}function Qe(Fe,je,et){je.ending=!0,We(Fe,je),et&&(je.finished?ie.nextTick(et):Fe.once("finish",et)),je.ended=!0,Fe.writable=!1}function He(Fe,je,et){var tt=Fe.entry;for(Fe.entry=null;tt;){var st=tt.callback;je.pendingcb--,st(et),tt=tt.next}je.corkedRequestsFree?je.corkedRequestsFree.next=Fe:je.corkedRequestsFree=Fe}Object.defineProperty(pe.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Fe){this._writableState&&(this._writableState.destroyed=Fe)}}),pe.prototype.destroy=ce.destroy,pe.prototype._undestroy=ce.undestroy,pe.prototype._destroy=function(Fe,je){this.end(),je(Fe)}}).call(this)}).call(this,E("_process"),typeof gt!="undefined"?gt: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,fe){"use strict";function le(ue,ae){if(!(ue instanceof ae))throw new TypeError("Cannot call a class as a function")}var re=E("safe-buffer").Buffer,se=E("util");function ie(ue,ae,oe){ue.copy(ae,oe)}he.exports=function(){function ue(){le(this,ue),this.head=null,this.tail=null,this.length=0}return ue.prototype.push=function(oe){var ne={data:oe,next:null};this.length>0?this.tail.next=ne:this.head=ne,this.tail=ne,++this.length},ue.prototype.unshift=function(oe){var ne={data:oe,next:this.head};this.length===0&&(this.tail=ne),this.head=ne,++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 ne=this.head,ee=""+ne.data;ne=ne.next;)ee+=oe+ne.data;return ee},ue.prototype.concat=function(oe){if(this.length===0)return re.alloc(0);if(this.length===1)return this.head.data;for(var ne=re.allocUnsafe(oe>>>0),ee=this.head,a=0;ee;)ie(ee.data,ne,a),a+=ee.data.length,ee=ee.next;return ne},ue}(),se&&se.inspect&&se.inspect.custom&&(he.exports.prototype[se.inspect.custom]=function(){var ue=se.inspect({length:this.length});return this.constructor.name+" "+ue})},{"safe-buffer":396,util:89}],392:[function(E,he,fe){"use strict";var le=E("process-nextick-args");function re(ue,ae){var oe=this,ne=this._readableState&&this._readableState.destroyed,ee=this._writableState&&this._writableState.destroyed;return ne||ee?(ae?ae(ue):ue&&(!this._writableState||!this._writableState.errorEmitted)&&le.nextTick(ie,this,ue),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ue||null,function(a){!ae&&a?(le.nextTick(ie,oe,a),oe._writableState&&(oe._writableState.errorEmitted=!0)):ae&&ae(a)}),this)}function se(){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 ie(ue,ae){ue.emit("error",ae)}he.exports={destroy:re,undestroy:se}},{"process-nextick-args":380}],393:[function(E,he,fe){he.exports=E("events").EventEmitter},{events:344}],394:[function(E,he,fe){fe=he.exports=E("./lib/_stream_readable.js"),fe.Stream=fe,fe.Readable=fe,fe.Writable=E("./lib/_stream_writable.js"),fe.Duplex=E("./lib/_stream_duplex.js"),fe.Transform=E("./lib/_stream_transform.js"),fe.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,fe){var le=function(re){"use strict";var se=Object.prototype,ie=se.hasOwnProperty,ue,ae=typeof Symbol=="function"?Symbol:{},oe=ae.iterator||"@@iterator",ne=ae.asyncIterator||"@@asyncIterator",ee=ae.toStringTag||"@@toStringTag";function a(Je,We,Qe){return Object.defineProperty(Je,We,{value:Qe,enumerable:!0,configurable:!0,writable:!0}),Je[We]}try{a({},"")}catch(Je){a=function(We,Qe,He){return We[Qe]=He}}function y(Je,We,Qe,He){var Fe=We&&We.prototype instanceof me?We:me,je=Object.create(Fe.prototype),et=new ke(He||[]);return je._invoke=_e(Je,Qe,et),je}re.wrap=y;function x(Je,We,Qe){try{return{type:"normal",arg:Je.call(We,Qe)}}catch(He){return{type:"throw",arg:He}}}var b="suspendedStart",z="suspendedYield",te="executing",ce="completed",ge={};function me(){}function ve(){}function pe(){}var be={};a(be,oe,function(){return this});var ye=Object.getPrototypeOf,Ee=ye&&ye(ye(Ie([])));Ee&&Ee!==se&&ie.call(Ee,oe)&&(be=Ee);var Pe=pe.prototype=me.prototype=Object.create(be);ve.prototype=pe,a(Pe,"constructor",pe),a(pe,"constructor",ve),ve.displayName=a(pe,ee,"GeneratorFunction");function Ae(Je){["next","throw","return"].forEach(function(We){a(Je,We,function(Qe){return this._invoke(We,Qe)})})}re.isGeneratorFunction=function(Je){var We=typeof Je=="function"&&Je.constructor;return We?We===ve||(We.displayName||We.name)==="GeneratorFunction":!1},re.mark=function(Je){return Object.setPrototypeOf?Object.setPrototypeOf(Je,pe):(Je.__proto__=pe,a(Je,ee,"GeneratorFunction")),Je.prototype=Object.create(Pe),Je},re.awrap=function(Je){return{__await:Je}};function Ce(Je,We){function Qe(je,et,tt,st){var Xe=x(Je[je],Je,et);if(Xe.type==="throw")st(Xe.arg);else{var Ke=Xe.arg,Me=Ke.value;return Me&&typeof Me=="object"&&ie.call(Me,"__await")?We.resolve(Me.__await).then(function(Ye){Qe("next",Ye,tt,st)},function(Ye){Qe("throw",Ye,tt,st)}):We.resolve(Me).then(function(Ye){Ke.value=Ye,tt(Ke)},function(Ye){return Qe("throw",Ye,tt,st)})}}var He;function Fe(je,et){function tt(){return new We(function(st,Xe){Qe(je,et,st,Xe)})}return He=He?He.then(tt,tt):tt()}this._invoke=Fe}Ae(Ce.prototype),a(Ce.prototype,ne,function(){return this}),re.AsyncIterator=Ce,re.async=function(Je,We,Qe,He,Fe){Fe===void 0&&(Fe=Promise);var je=new Ce(y(Je,We,Qe,He),Fe);return re.isGeneratorFunction(We)?je:je.next().then(function(et){return et.done?et.value:je.next()})};function _e(Je,We,Qe){var He=b;return function(je,et){if(He===te)throw new Error("Generator is already running");if(He===ce){if(je==="throw")throw et;return qe()}for(Qe.method=je,Qe.arg=et;;){var tt=Qe.delegate;if(tt){var st=we(tt,Qe);if(st){if(st===ge)continue;return st}}if(Qe.method==="next")Qe.sent=Qe._sent=Qe.arg;else if(Qe.method==="throw"){if(He===b)throw He=ce,Qe.arg;Qe.dispatchException(Qe.arg)}else Qe.method==="return"&&Qe.abrupt("return",Qe.arg);He=te;var Xe=x(Je,We,Qe);if(Xe.type==="normal"){if(He=Qe.done?ce:z,Xe.arg===ge)continue;return{value:Xe.arg,done:Qe.done}}else Xe.type==="throw"&&(He=ce,Qe.method="throw",Qe.arg=Xe.arg)}}}function we(Je,We){var Qe=Je.iterator[We.method];if(Qe===ue){if(We.delegate=null,We.method==="throw"){if(Je.iterator.return&&(We.method="return",We.arg=ue,we(Je,We),We.method==="throw"))return ge;We.method="throw",We.arg=new TypeError("The iterator does not provide a 'throw' method")}return ge}var He=x(Qe,Je.iterator,We.arg);if(He.type==="throw")return We.method="throw",We.arg=He.arg,We.delegate=null,ge;var Fe=He.arg;if(!Fe)return We.method="throw",We.arg=new TypeError("iterator result is not an object"),We.delegate=null,ge;if(Fe.done)We[Je.resultName]=Fe.value,We.next=Je.nextLoc,We.method!=="return"&&(We.method="next",We.arg=ue);else return Fe;return We.delegate=null,ge}Ae(Pe),a(Pe,ee,"Generator"),a(Pe,oe,function(){return this}),a(Pe,"toString",function(){return"[object Generator]"});function Re(Je){var We={tryLoc:Je[0]};1 in Je&&(We.catchLoc=Je[1]),2 in Je&&(We.finallyLoc=Je[2],We.afterLoc=Je[3]),this.tryEntries.push(We)}function De(Je){var We=Je.completion||{};We.type="normal",delete We.arg,Je.completion=We}function ke(Je){this.tryEntries=[{tryLoc:"root"}],Je.forEach(Re,this),this.reset(!0)}re.keys=function(Je){var We=[];for(var Qe in Je)We.push(Qe);return We.reverse(),function He(){for(;We.length;){var Fe=We.pop();if(Fe in Je)return He.value=Fe,He.done=!1,He}return He.done=!0,He}};function Ie(Je){if(Je){var We=Je[oe];if(We)return We.call(Je);if(typeof Je.next=="function")return Je;if(!isNaN(Je.length)){var Qe=-1,He=function Fe(){for(;++Qe<Je.length;)if(ie.call(Je,Qe))return Fe.value=Je[Qe],Fe.done=!1,Fe;return Fe.value=ue,Fe.done=!0,Fe};return He.next=He}}return{next:qe}}re.values=Ie;function qe(){return{value:ue,done:!0}}return ke.prototype={constructor:ke,reset:function(Je){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(De),!Je)for(var We in this)We.charAt(0)==="t"&&ie.call(this,We)&&!isNaN(+We.slice(1))&&(this[We]=ue)},stop:function(){this.done=!0;var Je=this.tryEntries[0],We=Je.completion;if(We.type==="throw")throw We.arg;return this.rval},dispatchException:function(Je){if(this.done)throw Je;var We=this;function Qe(st,Xe){return je.type="throw",je.arg=Je,We.next=st,Xe&&(We.method="next",We.arg=ue),!!Xe}for(var He=this.tryEntries.length-1;He>=0;--He){var Fe=this.tryEntries[He],je=Fe.completion;if(Fe.tryLoc==="root")return Qe("end");if(Fe.tryLoc<=this.prev){var et=ie.call(Fe,"catchLoc"),tt=ie.call(Fe,"finallyLoc");if(et&&tt){if(this.prev<Fe.catchLoc)return Qe(Fe.catchLoc,!0);if(this.prev<Fe.finallyLoc)return Qe(Fe.finallyLoc)}else if(et){if(this.prev<Fe.catchLoc)return Qe(Fe.catchLoc,!0)}else if(tt){if(this.prev<Fe.finallyLoc)return Qe(Fe.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(Je,We){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var He=this.tryEntries[Qe];if(He.tryLoc<=this.prev&&ie.call(He,"finallyLoc")&&this.prev<He.finallyLoc){var Fe=He;break}}Fe&&(Je==="break"||Je==="continue")&&Fe.tryLoc<=We&&We<=Fe.finallyLoc&&(Fe=null);var je=Fe?Fe.completion:{};return je.type=Je,je.arg=We,Fe?(this.method="next",this.next=Fe.finallyLoc,ge):this.complete(je)},complete:function(Je,We){if(Je.type==="throw")throw Je.arg;return Je.type==="break"||Je.type==="continue"?this.next=Je.arg:Je.type==="return"?(this.rval=this.arg=Je.arg,this.method="return",this.next="end"):Je.type==="normal"&&We&&(this.next=We),ge},finish:function(Je){for(var We=this.tryEntries.length-1;We>=0;--We){var Qe=this.tryEntries[We];if(Qe.finallyLoc===Je)return this.complete(Qe.completion,Qe.afterLoc),De(Qe),ge}},catch:function(Je){for(var We=this.tryEntries.length-1;We>=0;--We){var Qe=this.tryEntries[We];if(Qe.tryLoc===Je){var He=Qe.completion;if(He.type==="throw"){var Fe=He.arg;De(Qe)}return Fe}}throw new Error("illegal catch attempt")},delegateYield:function(Je,We,Qe){return this.delegate={iterator:Ie(Je),resultName:We,nextLoc:Qe},this.method==="next"&&(this.arg=ue),ge}},re}(typeof he=="object"?he.exports:{});try{regeneratorRuntime=le}catch(re){typeof globalThis=="object"?globalThis.regeneratorRuntime=le:Function("r","regeneratorRuntime = r")(le)}},{}],396:[function(E,he,fe){var le=E("buffer"),re=le.Buffer;function se(ue,ae){for(var oe in ue)ae[oe]=ue[oe]}re.from&&re.alloc&&re.allocUnsafe&&re.allocUnsafeSlow?he.exports=le:(se(le,fe),fe.Buffer=ie);function ie(ue,ae,oe){return re(ue,ae,oe)}se(re,ie),ie.from=function(ue,ae,oe){if(typeof ue=="number")throw new TypeError("Argument must not be a number");return re(ue,ae,oe)},ie.alloc=function(ue,ae,oe){if(typeof ue!="number")throw new TypeError("Argument must be a number");var ne=re(ue);return ae!==void 0?typeof oe=="string"?ne.fill(ae,oe):ne.fill(ae):ne.fill(0),ne},ie.allocUnsafe=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return re(ue)},ie.allocUnsafeSlow=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return le.SlowBuffer(ue)}},{buffer:90}],397:[function(E,he,fe){(function(le){(function(){(function(re){re.parser=function(Ke,Me){return new ie(Ke,Me)},re.SAXParser=ie,re.SAXStream=y,re.createStream=a,re.MAX_BUFFER_LENGTH=64*1024;var se=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];re.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function ie(Ke,Me){if(!(this instanceof ie))return new ie(Ke,Me);var Ye=this;ae(Ye),Ye.q=Ye.c="",Ye.bufferCheckPosition=re.MAX_BUFFER_LENGTH,Ye.opt=Me||{},Ye.opt.lowercase=Ye.opt.lowercase||Ye.opt.lowercasetags,Ye.looseCase=Ye.opt.lowercase?"toLowerCase":"toUpperCase",Ye.tags=[],Ye.closed=Ye.closedRoot=Ye.sawRoot=!1,Ye.tag=Ye.error=null,Ye.strict=!!Ke,Ye.noscript=!!(Ke||Ye.opt.noscript),Ye.state=Ce.BEGIN,Ye.strictEntities=Ye.opt.strictEntities,Ye.ENTITIES=Ye.strictEntities?Object.create(re.XML_ENTITIES):Object.create(re.ENTITIES),Ye.attribList=[],Ye.opt.xmlns&&(Ye.ns=Object.create(ce)),Ye.trackPosition=Ye.opt.position!==!1,Ye.trackPosition&&(Ye.position=Ye.line=Ye.column=0),we(Ye,"onready")}Object.create||(Object.create=function(Ke){function Me(){}Me.prototype=Ke;var Ye=new Me;return Ye}),Object.keys||(Object.keys=function(Ke){var Me=[];for(var Ye in Ke)Ke.hasOwnProperty(Ye)&&Me.push(Ye);return Me});function ue(Ke){for(var Me=Math.max(re.MAX_BUFFER_LENGTH,10),Ye=0,Le=0,Be=se.length;Le<Be;Le++){var Ve=Ke[se[Le]].length;if(Ve>Me)switch(se[Le]){case"textNode":De(Ke);break;case"cdata":Re(Ke,"oncdata",Ke.cdata),Ke.cdata="";break;case"script":Re(Ke,"onscript",Ke.script),Ke.script="";break;default:Ie(Ke,"Max buffer length exceeded: "+se[Le])}Ye=Math.max(Ye,Ve)}var $e=re.MAX_BUFFER_LENGTH-Ye;Ke.bufferCheckPosition=$e+Ke.position}function ae(Ke){for(var Me=0,Ye=se.length;Me<Ye;Me++)Ke[se[Me]]=""}function oe(Ke){De(Ke),Ke.cdata!==""&&(Re(Ke,"oncdata",Ke.cdata),Ke.cdata=""),Ke.script!==""&&(Re(Ke,"onscript",Ke.script),Ke.script="")}ie.prototype={end:function(){qe(this)},write:Xe,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){oe(this)}};var ne;try{ne=E("stream").Stream}catch(Ke){ne=function(){}}var ee=re.EVENTS.filter(function(Ke){return Ke!=="error"&&Ke!=="end"});function a(Ke,Me){return new y(Ke,Me)}function y(Ke,Me){if(!(this instanceof y))return new y(Ke,Me);ne.apply(this),this._parser=new ie(Ke,Me),this.writable=!0,this.readable=!0;var Ye=this;this._parser.onend=function(){Ye.emit("end")},this._parser.onerror=function(Le){Ye.emit("error",Le),Ye._parser.error=null},this._decoder=null,ee.forEach(function(Le){Object.defineProperty(Ye,"on"+Le,{get:function(){return Ye._parser["on"+Le]},set:function(Be){if(!Be)return Ye.removeAllListeners(Le),Ye._parser["on"+Le]=Be,Be;Ye.on(Le,Be)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(ne.prototype,{constructor:{value:y}}),y.prototype.write=function(Ke){if(typeof le=="function"&&typeof le.isBuffer=="function"&&le.isBuffer(Ke)){if(!this._decoder){var Me=E("string_decoder").StringDecoder;this._decoder=new Me("utf8")}Ke=this._decoder.write(Ke)}return this._parser.write(Ke.toString()),this.emit("data",Ke),!0},y.prototype.end=function(Ke){return Ke&&Ke.length&&this.write(Ke),this._parser.end(),!0},y.prototype.on=function(Ke,Me){var Ye=this;return!Ye._parser["on"+Ke]&&ee.indexOf(Ke)!==-1&&(Ye._parser["on"+Ke]=function(){var Le=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Le.splice(0,0,Ke),Ye.emit.apply(Ye,Le)}),ne.prototype.on.call(Ye,Ke,Me)};var x="[CDATA[",b="DOCTYPE",z="http://www.w3.org/XML/1998/namespace",te="http://www.w3.org/2000/xmlns/",ce={xml:z,xmlns:te},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]/,me=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,ve=/[#:_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-]/;function be(Ke){return Ke===" "||Ke===`
`||Ke==="\r"||Ke===" "}function ye(Ke){return Ke==='"'||Ke==="'"}function Ee(Ke){return Ke===">"||be(Ke)}function Pe(Ke,Me){return Ke.test(Me)}function Ae(Ke,Me){return!Pe(Ke,Me)}var Ce=0;re.STATE={BEGIN:Ce++,BEGIN_WHITESPACE:Ce++,TEXT:Ce++,TEXT_ENTITY:Ce++,OPEN_WAKA:Ce++,SGML_DECL:Ce++,SGML_DECL_QUOTED:Ce++,DOCTYPE:Ce++,DOCTYPE_QUOTED:Ce++,DOCTYPE_DTD:Ce++,DOCTYPE_DTD_QUOTED:Ce++,COMMENT_STARTING:Ce++,COMMENT:Ce++,COMMENT_ENDING:Ce++,COMMENT_ENDED:Ce++,CDATA:Ce++,CDATA_ENDING:Ce++,CDATA_ENDING_2:Ce++,PROC_INST:Ce++,PROC_INST_BODY:Ce++,PROC_INST_ENDING:Ce++,OPEN_TAG:Ce++,OPEN_TAG_SLASH:Ce++,ATTRIB:Ce++,ATTRIB_NAME:Ce++,ATTRIB_NAME_SAW_WHITE:Ce++,ATTRIB_VALUE:Ce++,ATTRIB_VALUE_QUOTED:Ce++,ATTRIB_VALUE_CLOSED:Ce++,ATTRIB_VALUE_UNQUOTED:Ce++,ATTRIB_VALUE_ENTITY_Q:Ce++,ATTRIB_VALUE_ENTITY_U:Ce++,CLOSE_TAG:Ce++,CLOSE_TAG_SAW_WHITE:Ce++,SCRIPT:Ce++,SCRIPT_ENDING:Ce++},re.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},re.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(re.ENTITIES).forEach(function(Ke){var Me=re.ENTITIES[Ke],Ye=typeof Me=="number"?String.fromCharCode(Me):Me;re.ENTITIES[Ke]=Ye});for(var _e in re.STATE)re.STATE[re.STATE[_e]]=_e;Ce=re.STATE;function we(Ke,Me,Ye){Ke[Me]&&Ke[Me](Ye)}function Re(Ke,Me,Ye){Ke.textNode&&De(Ke),we(Ke,Me,Ye)}function De(Ke){Ke.textNode=ke(Ke.opt,Ke.textNode),Ke.textNode&&we(Ke,"ontext",Ke.textNode),Ke.textNode=""}function ke(Ke,Me){return Ke.trim&&(Me=Me.trim()),Ke.normalize&&(Me=Me.replace(/\s+/g," ")),Me}function Ie(Ke,Me){return De(Ke),Ke.trackPosition&&(Me+=`
Line: `+Ke.line+`
Column: `+Ke.column+`
Char: `+Ke.c),Me=new Error(Me),Ke.error=Me,we(Ke,"onerror",Me),Ke}function qe(Ke){return Ke.sawRoot&&!Ke.closedRoot&&Je(Ke,"Unclosed root tag"),Ke.state!==Ce.BEGIN&&Ke.state!==Ce.BEGIN_WHITESPACE&&Ke.state!==Ce.TEXT&&Ie(Ke,"Unexpected end"),De(Ke),Ke.c="",Ke.closed=!0,we(Ke,"onend"),ie.call(Ke,Ke.strict,Ke.opt),Ke}function Je(Ke,Me){if(typeof Ke!="object"||!(Ke instanceof ie))throw new Error("bad call to strictFail");Ke.strict&&Ie(Ke,Me)}function We(Ke){Ke.strict||(Ke.tagName=Ke.tagName[Ke.looseCase]());var Me=Ke.tags[Ke.tags.length-1]||Ke,Ye=Ke.tag={name:Ke.tagName,attributes:{}};Ke.opt.xmlns&&(Ye.ns=Me.ns),Ke.attribList.length=0,Re(Ke,"onopentagstart",Ye)}function Qe(Ke,Me){var Ye=Ke.indexOf(":"),Le=Ye<0?["",Ke]:Ke.split(":"),Be=Le[0],Ve=Le[1];return Me&&Ke==="xmlns"&&(Be="xmlns",Ve=""),{prefix:Be,local:Ve}}function He(Ke){if(Ke.strict||(Ke.attribName=Ke.attribName[Ke.looseCase]()),Ke.attribList.indexOf(Ke.attribName)!==-1||Ke.tag.attributes.hasOwnProperty(Ke.attribName)){Ke.attribName=Ke.attribValue="";return}if(Ke.opt.xmlns){var Me=Qe(Ke.attribName,!0),Ye=Me.prefix,Le=Me.local;if(Ye==="xmlns")if(Le==="xml"&&Ke.attribValue!==z)Je(Ke,"xml: prefix must be bound to "+z+`
Actual: `+Ke.attribValue);else if(Le==="xmlns"&&Ke.attribValue!==te)Je(Ke,"xmlns: prefix must be bound to "+te+`
Actual: `+Ke.attribValue);else{var Be=Ke.tag,Ve=Ke.tags[Ke.tags.length-1]||Ke;Be.ns===Ve.ns&&(Be.ns=Object.create(Ve.ns)),Be.ns[Le]=Ke.attribValue}Ke.attribList.push([Ke.attribName,Ke.attribValue])}else Ke.tag.attributes[Ke.attribName]=Ke.attribValue,Re(Ke,"onattribute",{name:Ke.attribName,value:Ke.attribValue});Ke.attribName=Ke.attribValue=""}function Fe(Ke,Me){if(Ke.opt.xmlns){var Ye=Ke.tag,Le=Qe(Ke.tagName);Ye.prefix=Le.prefix,Ye.local=Le.local,Ye.uri=Ye.ns[Le.prefix]||"",Ye.prefix&&!Ye.uri&&(Je(Ke,"Unbound namespace prefix: "+JSON.stringify(Ke.tagName)),Ye.uri=Le.prefix);var Be=Ke.tags[Ke.tags.length-1]||Ke;Ye.ns&&Be.ns!==Ye.ns&&Object.keys(Ye.ns).forEach(function(nt){Re(Ke,"onopennamespace",{prefix:nt,uri:Ye.ns[nt]})});for(var Ve=0,$e=Ke.attribList.length;Ve<$e;Ve++){var ze=Ke.attribList[Ve],Te=ze[0],Oe=ze[1],Ne=Qe(Te,!0),Ge=Ne.prefix,rt=Ne.local,mt=Ge===""?"":Ye.ns[Ge]||"",dt={name:Te,value:Oe,prefix:Ge,local:rt,uri:mt};Ge&&Ge!=="xmlns"&&!mt&&(Je(Ke,"Unbound namespace prefix: "+JSON.stringify(Ge)),dt.uri=Ge),Ke.tag.attributes[Te]=dt,Re(Ke,"onattribute",dt)}Ke.attribList.length=0}Ke.tag.isSelfClosing=!!Me,Ke.sawRoot=!0,Ke.tags.push(Ke.tag),Re(Ke,"onopentag",Ke.tag),Me||(!Ke.noscript&&Ke.tagName.toLowerCase()==="script"?Ke.state=Ce.SCRIPT:Ke.state=Ce.TEXT,Ke.tag=null,Ke.tagName=""),Ke.attribName=Ke.attribValue="",Ke.attribList.length=0}function je(Ke){if(!Ke.tagName){Je(Ke,"Weird empty close tag."),Ke.textNode+="</>",Ke.state=Ce.TEXT;return}if(Ke.script){if(Ke.tagName!=="script"){Ke.script+="</"+Ke.tagName+">",Ke.tagName="",Ke.state=Ce.SCRIPT;return}Re(Ke,"onscript",Ke.script),Ke.script=""}var Me=Ke.tags.length,Ye=Ke.tagName;Ke.strict||(Ye=Ye[Ke.looseCase]());for(var Le=Ye;Me--;){var Be=Ke.tags[Me];if(Be.name!==Le)Je(Ke,"Unexpected close tag");else break}if(Me<0){Je(Ke,"Unmatched closing tag: "+Ke.tagName),Ke.textNode+="</"+Ke.tagName+">",Ke.state=Ce.TEXT;return}Ke.tagName=Ye;for(var Ve=Ke.tags.length;Ve-- >Me;){var $e=Ke.tag=Ke.tags.pop();Ke.tagName=Ke.tag.name,Re(Ke,"onclosetag",Ke.tagName);var ze={};for(var Te in $e.ns)ze[Te]=$e.ns[Te];var Oe=Ke.tags[Ke.tags.length-1]||Ke;Ke.opt.xmlns&&$e.ns!==Oe.ns&&Object.keys($e.ns).forEach(function(Ne){var Ge=$e.ns[Ne];Re(Ke,"onclosenamespace",{prefix:Ne,uri:Ge})})}Me===0&&(Ke.closedRoot=!0),Ke.tagName=Ke.attribValue=Ke.attribName="",Ke.attribList.length=0,Ke.state=Ce.TEXT}function et(Ke){var Me=Ke.entity,Ye=Me.toLowerCase(),Le,Be="";return Ke.ENTITIES[Me]?Ke.ENTITIES[Me]:Ke.ENTITIES[Ye]?Ke.ENTITIES[Ye]:(Me=Ye,Me.charAt(0)==="#"&&(Me.charAt(1)==="x"?(Me=Me.slice(2),Le=parseInt(Me,16),Be=Le.toString(16)):(Me=Me.slice(1),Le=parseInt(Me,10),Be=Le.toString(10))),Me=Me.replace(/^0+/,""),isNaN(Le)||Be.toLowerCase()!==Me?(Je(Ke,"Invalid character entity"),"&"+Ke.entity+";"):String.fromCodePoint(Le))}function tt(Ke,Me){Me==="<"?(Ke.state=Ce.OPEN_WAKA,Ke.startTagPosition=Ke.position):be(Me)||(Je(Ke,"Non-whitespace before first tag."),Ke.textNode=Me,Ke.state=Ce.TEXT)}function st(Ke,Me){var Ye="";return Me<Ke.length&&(Ye=Ke.charAt(Me)),Ye}function Xe(Ke){var Me=this;if(this.error)throw this.error;if(Me.closed)return Ie(Me,"Cannot write after close. Assign an onready handler.");if(Ke===null)return qe(Me);typeof Ke=="object"&&(Ke=Ke.toString());for(var Ye=0,Le="";Le=st(Ke,Ye++),Me.c=Le,!!Le;)switch(Me.trackPosition&&(Me.position++,Le===`
`?(Me.line++,Me.column=0):Me.column++),Me.state){case Ce.BEGIN:if(Me.state=Ce.BEGIN_WHITESPACE,Le==="\uFEFF")continue;tt(Me,Le);continue;case Ce.BEGIN_WHITESPACE:tt(Me,Le);continue;case Ce.TEXT:if(Me.sawRoot&&!Me.closedRoot){for(var Be=Ye-1;Le&&Le!=="<"&&Le!=="&";)Le=st(Ke,Ye++),Le&&Me.trackPosition&&(Me.position++,Le===`
`?(Me.line++,Me.column=0):Me.column++);Me.textNode+=Ke.substring(Be,Ye-1)}Le==="<"&&!(Me.sawRoot&&Me.closedRoot&&!Me.strict)?(Me.state=Ce.OPEN_WAKA,Me.startTagPosition=Me.position):(!be(Le)&&(!Me.sawRoot||Me.closedRoot)&&Je(Me,"Text data outside of root node."),Le==="&"?Me.state=Ce.TEXT_ENTITY:Me.textNode+=Le);continue;case Ce.SCRIPT:Le==="<"?Me.state=Ce.SCRIPT_ENDING:Me.script+=Le;continue;case Ce.SCRIPT_ENDING:Le==="/"?Me.state=Ce.CLOSE_TAG:(Me.script+="<"+Le,Me.state=Ce.SCRIPT);continue;case Ce.OPEN_WAKA:if(Le==="!")Me.state=Ce.SGML_DECL,Me.sgmlDecl="";else if(!be(Le))if(Pe(ge,Le))Me.state=Ce.OPEN_TAG,Me.tagName=Le;else if(Le==="/")Me.state=Ce.CLOSE_TAG,Me.tagName="";else if(Le==="?")Me.state=Ce.PROC_INST,Me.procInstName=Me.procInstBody="";else{if(Je(Me,"Unencoded <"),Me.startTagPosition+1<Me.position){var Ve=Me.position-Me.startTagPosition;Le=new Array(Ve).join(" ")+Le}Me.textNode+="<"+Le,Me.state=Ce.TEXT}continue;case Ce.SGML_DECL:(Me.sgmlDecl+Le).toUpperCase()===x?(Re(Me,"onopencdata"),Me.state=Ce.CDATA,Me.sgmlDecl="",Me.cdata=""):Me.sgmlDecl+Le==="--"?(Me.state=Ce.COMMENT,Me.comment="",Me.sgmlDecl=""):(Me.sgmlDecl+Le).toUpperCase()===b?(Me.state=Ce.DOCTYPE,(Me.doctype||Me.sawRoot)&&Je(Me,"Inappropriately located doctype declaration"),Me.doctype="",Me.sgmlDecl=""):Le===">"?(Re(Me,"onsgmldeclaration",Me.sgmlDecl),Me.sgmlDecl="",Me.state=Ce.TEXT):(ye(Le)&&(Me.state=Ce.SGML_DECL_QUOTED),Me.sgmlDecl+=Le);continue;case Ce.SGML_DECL_QUOTED:Le===Me.q&&(Me.state=Ce.SGML_DECL,Me.q=""),Me.sgmlDecl+=Le;continue;case Ce.DOCTYPE:Le===">"?(Me.state=Ce.TEXT,Re(Me,"ondoctype",Me.doctype),Me.doctype=!0):(Me.doctype+=Le,Le==="["?Me.state=Ce.DOCTYPE_DTD:ye(Le)&&(Me.state=Ce.DOCTYPE_QUOTED,Me.q=Le));continue;case Ce.DOCTYPE_QUOTED:Me.doctype+=Le,Le===Me.q&&(Me.q="",Me.state=Ce.DOCTYPE);continue;case Ce.DOCTYPE_DTD:Me.doctype+=Le,Le==="]"?Me.state=Ce.DOCTYPE:ye(Le)&&(Me.state=Ce.DOCTYPE_DTD_QUOTED,Me.q=Le);continue;case Ce.DOCTYPE_DTD_QUOTED:Me.doctype+=Le,Le===Me.q&&(Me.state=Ce.DOCTYPE_DTD,Me.q="");continue;case Ce.COMMENT:Le==="-"?Me.state=Ce.COMMENT_ENDING:Me.comment+=Le;continue;case Ce.COMMENT_ENDING:Le==="-"?(Me.state=Ce.COMMENT_ENDED,Me.comment=ke(Me.opt,Me.comment),Me.comment&&Re(Me,"oncomment",Me.comment),Me.comment=""):(Me.comment+="-"+Le,Me.state=Ce.COMMENT);continue;case Ce.COMMENT_ENDED:Le!==">"?(Je(Me,"Malformed comment"),Me.comment+="--"+Le,Me.state=Ce.COMMENT):Me.state=Ce.TEXT;continue;case Ce.CDATA:Le==="]"?Me.state=Ce.CDATA_ENDING:Me.cdata+=Le;continue;case Ce.CDATA_ENDING:Le==="]"?Me.state=Ce.CDATA_ENDING_2:(Me.cdata+="]"+Le,Me.state=Ce.CDATA);continue;case Ce.CDATA_ENDING_2:Le===">"?(Me.cdata&&Re(Me,"oncdata",Me.cdata),Re(Me,"onclosecdata"),Me.cdata="",Me.state=Ce.TEXT):Le==="]"?Me.cdata+="]":(Me.cdata+="]]"+Le,Me.state=Ce.CDATA);continue;case Ce.PROC_INST:Le==="?"?Me.state=Ce.PROC_INST_ENDING:be(Le)?Me.state=Ce.PROC_INST_BODY:Me.procInstName+=Le;continue;case Ce.PROC_INST_BODY:if(!Me.procInstBody&&be(Le))continue;Le==="?"?Me.state=Ce.PROC_INST_ENDING:Me.procInstBody+=Le;continue;case Ce.PROC_INST_ENDING:Le===">"?(Re(Me,"onprocessinginstruction",{name:Me.procInstName,body:Me.procInstBody}),Me.procInstName=Me.procInstBody="",Me.state=Ce.TEXT):(Me.procInstBody+="?"+Le,Me.state=Ce.PROC_INST_BODY);continue;case Ce.OPEN_TAG:Pe(me,Le)?Me.tagName+=Le:(We(Me),Le===">"?Fe(Me):Le==="/"?Me.state=Ce.OPEN_TAG_SLASH:(be(Le)||Je(Me,"Invalid character in tag name"),Me.state=Ce.ATTRIB));continue;case Ce.OPEN_TAG_SLASH:Le===">"?(Fe(Me,!0),je(Me)):(Je(Me,"Forward-slash in opening tag not followed by >"),Me.state=Ce.ATTRIB);continue;case Ce.ATTRIB:if(be(Le))continue;Le===">"?Fe(Me):Le==="/"?Me.state=Ce.OPEN_TAG_SLASH:Pe(ge,Le)?(Me.attribName=Le,Me.attribValue="",Me.state=Ce.ATTRIB_NAME):Je(Me,"Invalid attribute name");continue;case Ce.ATTRIB_NAME:Le==="="?Me.state=Ce.ATTRIB_VALUE:Le===">"?(Je(Me,"Attribute without value"),Me.attribValue=Me.attribName,He(Me),Fe(Me)):be(Le)?Me.state=Ce.ATTRIB_NAME_SAW_WHITE:Pe(me,Le)?Me.attribName+=Le:Je(Me,"Invalid attribute name");continue;case Ce.ATTRIB_NAME_SAW_WHITE:if(Le==="=")Me.state=Ce.ATTRIB_VALUE;else{if(be(Le))continue;Je(Me,"Attribute without value"),Me.tag.attributes[Me.attribName]="",Me.attribValue="",Re(Me,"onattribute",{name:Me.attribName,value:""}),Me.attribName="",Le===">"?Fe(Me):Pe(ge,Le)?(Me.attribName=Le,Me.state=Ce.ATTRIB_NAME):(Je(Me,"Invalid attribute name"),Me.state=Ce.ATTRIB)}continue;case Ce.ATTRIB_VALUE:if(be(Le))continue;ye(Le)?(Me.q=Le,Me.state=Ce.ATTRIB_VALUE_QUOTED):(Je(Me,"Unquoted attribute value"),Me.state=Ce.ATTRIB_VALUE_UNQUOTED,Me.attribValue=Le);continue;case Ce.ATTRIB_VALUE_QUOTED:if(Le!==Me.q){Le==="&"?Me.state=Ce.ATTRIB_VALUE_ENTITY_Q:Me.attribValue+=Le;continue}He(Me),Me.q="",Me.state=Ce.ATTRIB_VALUE_CLOSED;continue;case Ce.ATTRIB_VALUE_CLOSED:be(Le)?Me.state=Ce.ATTRIB:Le===">"?Fe(Me):Le==="/"?Me.state=Ce.OPEN_TAG_SLASH:Pe(ge,Le)?(Je(Me,"No whitespace between attributes"),Me.attribName=Le,Me.attribValue="",Me.state=Ce.ATTRIB_NAME):Je(Me,"Invalid attribute name");continue;case Ce.ATTRIB_VALUE_UNQUOTED:if(!Ee(Le)){Le==="&"?Me.state=Ce.ATTRIB_VALUE_ENTITY_U:Me.attribValue+=Le;continue}He(Me),Le===">"?Fe(Me):Me.state=Ce.ATTRIB;continue;case Ce.CLOSE_TAG:if(Me.tagName)Le===">"?je(Me):Pe(me,Le)?Me.tagName+=Le:Me.script?(Me.script+="</"+Me.tagName,Me.tagName="",Me.state=Ce.SCRIPT):(be(Le)||Je(Me,"Invalid tagname in closing tag"),Me.state=Ce.CLOSE_TAG_SAW_WHITE);else{if(be(Le))continue;Ae(ge,Le)?Me.script?(Me.script+="</"+Le,Me.state=Ce.SCRIPT):Je(Me,"Invalid tagname in closing tag."):Me.tagName=Le}continue;case Ce.CLOSE_TAG_SAW_WHITE:if(be(Le))continue;Le===">"?je(Me):Je(Me,"Invalid characters in closing tag");continue;case Ce.TEXT_ENTITY:case Ce.ATTRIB_VALUE_ENTITY_Q:case Ce.ATTRIB_VALUE_ENTITY_U:var $e,ze;switch(Me.state){case Ce.TEXT_ENTITY:$e=Ce.TEXT,ze="textNode";break;case Ce.ATTRIB_VALUE_ENTITY_Q:$e=Ce.ATTRIB_VALUE_QUOTED,ze="attribValue";break;case Ce.ATTRIB_VALUE_ENTITY_U:$e=Ce.ATTRIB_VALUE_UNQUOTED,ze="attribValue";break}Le===";"?(Me[ze]+=et(Me),Me.entity="",Me.state=$e):Pe(Me.entity.length?pe:ve,Le)?Me.entity+=Le:(Je(Me,"Invalid character in entity name"),Me[ze]+="&"+Me.entity+Le,Me.entity="",Me.state=$e);continue;default:throw new Error(Me,"Unknown state: "+Me.state)}return Me.position>=Me.bufferCheckPosition&&ue(Me),Me}String.fromCodePoint||function(){var Ke=String.fromCharCode,Me=Math.floor,Ye=function(){var Le=16384,Be=[],Ve,$e,ze=-1,Te=arguments.length;if(!Te)return"";for(var Oe="";++ze<Te;){var Ne=Number(arguments[ze]);if(!isFinite(Ne)||Ne<0||Ne>1114111||Me(Ne)!==Ne)throw RangeError("Invalid code point: "+Ne);Ne<=65535?Be.push(Ne):(Ne-=65536,Ve=(Ne>>10)+55296,$e=Ne%1024+56320,Be.push(Ve,$e)),(ze+1===Te||Be.length>Le)&&(Oe+=Ke.apply(null,Be),Be.length=0)}return Oe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ye,configurable:!0,writable:!0}):String.fromCodePoint=Ye}()})(typeof fe=="undefined"?this.sax={}:fe)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,he,fe){he.exports=se;var le=E("events").EventEmitter,re=E("inherits");re(se,le),se.Readable=E("readable-stream/lib/_stream_readable.js"),se.Writable=E("readable-stream/lib/_stream_writable.js"),se.Duplex=E("readable-stream/lib/_stream_duplex.js"),se.Transform=E("readable-stream/lib/_stream_transform.js"),se.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),se.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),se.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),se.Stream=se;function se(){le.call(this)}se.prototype.pipe=function(ie,ue){var ae=this;function oe(z){ie.writable&&ie.write(z)===!1&&ae.pause&&ae.pause()}ae.on("data",oe);function ne(){ae.readable&&ae.resume&&ae.resume()}ie.on("drain",ne),!ie._isStdio&&(!ue||ue.end!==!1)&&(ae.on("end",a),ae.on("close",y));var ee=!1;function a(){ee||(ee=!0,ie.end())}function y(){ee||(ee=!0,typeof ie.destroy=="function"&&ie.destroy())}function x(z){if(b(),le.listenerCount(this,"error")===0)throw z}ae.on("error",x),ie.on("error",x);function b(){ae.removeListener("data",oe),ie.removeListener("drain",ne),ae.removeListener("end",a),ae.removeListener("close",y),ae.removeListener("error",x),ie.removeListener("error",x),ae.removeListener("end",b),ae.removeListener("close",b),ie.removeListener("close",b)}return ae.on("end",b),ae.on("close",b),ie.on("close",b),ie.emit("pipe",ae),ie}},{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,fe){"use strict";function le(ne,ee){ne.prototype=Object.create(ee.prototype),ne.prototype.constructor=ne,ne.__proto__=ee}var re={};function se(ne,ee,a){a||(a=Error);function y(b,z,te){return typeof ee=="string"?ee:ee(b,z,te)}var x=function(b){le(z,b);function z(te,ce,ge){return b.call(this,y(te,ce,ge))||this}return z}(a);x.prototype.name=a.name,x.prototype.code=ne,re[ne]=x}function ie(ne,ee){if(Array.isArray(ne)){var a=ne.length;return ne=ne.map(function(y){return String(y)}),a>2?"one of ".concat(ee," ").concat(ne.slice(0,a-1).join(", "),", or ")+ne[a-1]:a===2?"one of ".concat(ee," ").concat(ne[0]," or ").concat(ne[1]):"of ".concat(ee," ").concat(ne[0])}else return"of ".concat(ee," ").concat(String(ne))}function ue(ne,ee,a){return ne.substr(!a||a<0?0:+a,ee.length)===ee}function ae(ne,ee,a){return(a===void 0||a>ne.length)&&(a=ne.length),ne.substring(a-ee.length,a)===ee}function oe(ne,ee,a){return typeof a!="number"&&(a=0),a+ee.length>ne.length?!1:ne.indexOf(ee,a)!==-1}se("ERR_INVALID_OPT_VALUE",function(ne,ee){return'The value "'+ee+'" is invalid for option "'+ne+'"'},TypeError),se("ERR_INVALID_ARG_TYPE",function(ne,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(ne," argument"))x="The ".concat(ne," ").concat(y," ").concat(ie(ee,"type"));else{var b=oe(ne,".")?"property":"argument";x='The "'.concat(ne,'" ').concat(b," ").concat(y," ").concat(ie(ee,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),se("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),se("ERR_METHOD_NOT_IMPLEMENTED",function(ne){return"The "+ne+" method is not implemented"}),se("ERR_STREAM_PREMATURE_CLOSE","Premature close"),se("ERR_STREAM_DESTROYED",function(ne){return"Cannot call "+ne+" after a stream was destroyed"}),se("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),se("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),se("ERR_STREAM_WRITE_AFTER_END","write after end"),se("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),se("ERR_UNKNOWN_ENCODING",function(ne){return"Unknown encoding: "+ne},TypeError),se("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),he.exports.codes=re},{}],400:[function(E,he,fe){(function(le){(function(){"use strict";var re=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};he.exports=ne;var se=E("./_stream_readable"),ie=E("./_stream_writable");E("inherits")(ne,se);for(var ue=re(ie.prototype),ae=0;ae<ue.length;ae++){var oe=ue[ae];ne.prototype[oe]||(ne.prototype[oe]=ie.prototype[oe])}function ne(y){if(!(this instanceof ne))return new ne(y);se.call(this,y),ie.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(ne.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(ne.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ne.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ee(){this._writableState.ended||le.nextTick(a,this)}function a(y){y.end()}Object.defineProperty(ne.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,fe){"use strict";he.exports=re;var le=E("./_stream_transform");E("inherits")(re,le);function re(se){if(!(this instanceof re))return new re(se);le.call(this,se)}re.prototype._transform=function(se,ie,ue){ue(null,se)}},{"./_stream_transform":403,inherits:364}],402:[function(E,he,fe){(function(le,re){(function(){"use strict";he.exports=Re;var se;Re.ReadableState=we;var ie=E("events").EventEmitter,ue=function(Te,Oe){return Te.listeners(Oe).length},ae=E("./internal/streams/stream"),oe=E("buffer").Buffer,ne=(typeof re!="undefined"?re:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function ee(ze){return oe.from(ze)}function a(ze){return oe.isBuffer(ze)||ze instanceof ne}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"),ce=te.getHighWaterMark,ge=E("../errors").codes,me=ge.ERR_INVALID_ARG_TYPE,ve=ge.ERR_STREAM_PUSH_AFTER_EOF,pe=ge.ERR_METHOD_NOT_IMPLEMENTED,be=ge.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ye,Ee,Pe;E("inherits")(Re,ae);var Ae=z.errorOrDestroy,Ce=["error","close","destroy","pause","resume"];function _e(ze,Te,Oe){if(typeof ze.prependListener=="function")return ze.prependListener(Te,Oe);!ze._events||!ze._events[Te]?ze.on(Te,Oe):Array.isArray(ze._events[Te])?ze._events[Te].unshift(Oe):ze._events[Te]=[Oe,ze._events[Te]]}function we(ze,Te,Oe){se=se||E("./_stream_duplex"),ze=ze||{},typeof Oe!="boolean"&&(Oe=Te instanceof se),this.objectMode=!!ze.objectMode,Oe&&(this.objectMode=this.objectMode||!!ze.readableObjectMode),this.highWaterMark=ce(this,ze,"readableHighWaterMark",Oe),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=ze.emitClose!==!1,this.autoDestroy=!!ze.autoDestroy,this.destroyed=!1,this.defaultEncoding=ze.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ze.encoding&&(ye||(ye=E("string_decoder/").StringDecoder),this.decoder=new ye(ze.encoding),this.encoding=ze.encoding)}function Re(ze){if(se=se||E("./_stream_duplex"),!(this instanceof Re))return new Re(ze);var Te=this instanceof se;this._readableState=new we(ze,this,Te),this.readable=!0,ze&&(typeof ze.read=="function"&&(this._read=ze.read),typeof ze.destroy=="function"&&(this._destroy=ze.destroy)),ae.call(this)}Object.defineProperty(Re.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Te){this._readableState&&(this._readableState.destroyed=Te)}}),Re.prototype.destroy=z.destroy,Re.prototype._undestroy=z.undestroy,Re.prototype._destroy=function(ze,Te){Te(ze)},Re.prototype.push=function(ze,Te){var Oe=this._readableState,Ne;return Oe.objectMode?Ne=!0:typeof ze=="string"&&(Te=Te||Oe.defaultEncoding,Te!==Oe.encoding&&(ze=oe.from(ze,Te),Te=""),Ne=!0),De(this,ze,Te,!1,Ne)},Re.prototype.unshift=function(ze){return De(this,ze,null,!0,!1)};function De(ze,Te,Oe,Ne,Ge){x("readableAddChunk",Te);var rt=ze._readableState;if(Te===null)rt.reading=!1,Qe(ze,rt);else{var mt;if(Ge||(mt=Ie(rt,Te)),mt)Ae(ze,mt);else if(rt.objectMode||Te&&Te.length>0)if(typeof Te!="string"&&!rt.objectMode&&Object.getPrototypeOf(Te)!==oe.prototype&&(Te=ee(Te)),Ne)rt.endEmitted?Ae(ze,new be):ke(ze,rt,Te,!0);else if(rt.ended)Ae(ze,new ve);else{if(rt.destroyed)return!1;rt.reading=!1,rt.decoder&&!Oe?(Te=rt.decoder.write(Te),rt.objectMode||Te.length!==0?ke(ze,rt,Te,!1):je(ze,rt)):ke(ze,rt,Te,!1)}else Ne||(rt.reading=!1,je(ze,rt))}return!rt.ended&&(rt.length<rt.highWaterMark||rt.length===0)}function ke(ze,Te,Oe,Ne){Te.flowing&&Te.length===0&&!Te.sync?(Te.awaitDrain=0,ze.emit("data",Oe)):(Te.length+=Te.objectMode?1:Oe.length,Ne?Te.buffer.unshift(Oe):Te.buffer.push(Oe),Te.needReadable&&He(ze)),je(ze,Te)}function Ie(ze,Te){var Oe;return!a(Te)&&typeof Te!="string"&&Te!==void 0&&!ze.objectMode&&(Oe=new me("chunk",["string","Buffer","Uint8Array"],Te)),Oe}Re.prototype.isPaused=function(){return this._readableState.flowing===!1},Re.prototype.setEncoding=function(ze){ye||(ye=E("string_decoder/").StringDecoder);var Te=new ye(ze);this._readableState.decoder=Te,this._readableState.encoding=this._readableState.decoder.encoding;for(var Oe=this._readableState.buffer.head,Ne="";Oe!==null;)Ne+=Te.write(Oe.data),Oe=Oe.next;return this._readableState.buffer.clear(),Ne!==""&&this._readableState.buffer.push(Ne),this._readableState.length=Ne.length,this};var qe=1073741824;function Je(ze){return ze>=qe?ze=qe:(ze--,ze|=ze>>>1,ze|=ze>>>2,ze|=ze>>>4,ze|=ze>>>8,ze|=ze>>>16,ze++),ze}function We(ze,Te){return ze<=0||Te.length===0&&Te.ended?0:Te.objectMode?1:ze!==ze?Te.flowing&&Te.length?Te.buffer.head.data.length:Te.length:(ze>Te.highWaterMark&&(Te.highWaterMark=Je(ze)),ze<=Te.length?ze:Te.ended?Te.length:(Te.needReadable=!0,0))}Re.prototype.read=function(ze){x("read",ze),ze=parseInt(ze,10);var Te=this._readableState,Oe=ze;if(ze!==0&&(Te.emittedReadable=!1),ze===0&&Te.needReadable&&((Te.highWaterMark!==0?Te.length>=Te.highWaterMark:Te.length>0)||Te.ended))return x("read: emitReadable",Te.length,Te.ended),Te.length===0&&Te.ended?Be(this):He(this),null;if(ze=We(ze,Te),ze===0&&Te.ended)return Te.length===0&&Be(this),null;var Ne=Te.needReadable;x("need readable",Ne),(Te.length===0||Te.length-ze<Te.highWaterMark)&&(Ne=!0,x("length less than watermark",Ne)),Te.ended||Te.reading?(Ne=!1,x("reading or ended",Ne)):Ne&&(x("do read"),Te.reading=!0,Te.sync=!0,Te.length===0&&(Te.needReadable=!0),this._read(Te.highWaterMark),Te.sync=!1,Te.reading||(ze=We(Oe,Te)));var Ge;return ze>0?Ge=Le(ze,Te):Ge=null,Ge===null?(Te.needReadable=Te.length<=Te.highWaterMark,ze=0):(Te.length-=ze,Te.awaitDrain=0),Te.length===0&&(Te.ended||(Te.needReadable=!0),Oe!==ze&&Te.ended&&Be(this)),Ge!==null&&this.emit("data",Ge),Ge};function Qe(ze,Te){if(x("onEofChunk"),!Te.ended){if(Te.decoder){var Oe=Te.decoder.end();Oe&&Oe.length&&(Te.buffer.push(Oe),Te.length+=Te.objectMode?1:Oe.length)}Te.ended=!0,Te.sync?He(ze):(Te.needReadable=!1,Te.emittedReadable||(Te.emittedReadable=!0,Fe(ze)))}}function He(ze){var Te=ze._readableState;x("emitReadable",Te.needReadable,Te.emittedReadable),Te.needReadable=!1,Te.emittedReadable||(x("emitReadable",Te.flowing),Te.emittedReadable=!0,le.nextTick(Fe,ze))}function Fe(ze){var Te=ze._readableState;x("emitReadable_",Te.destroyed,Te.length,Te.ended),!Te.destroyed&&(Te.length||Te.ended)&&(ze.emit("readable"),Te.emittedReadable=!1),Te.needReadable=!Te.flowing&&!Te.ended&&Te.length<=Te.highWaterMark,Ye(ze)}function je(ze,Te){Te.readingMore||(Te.readingMore=!0,le.nextTick(et,ze,Te))}function et(ze,Te){for(;!Te.reading&&!Te.ended&&(Te.length<Te.highWaterMark||Te.flowing&&Te.length===0);){var Oe=Te.length;if(x("maybeReadMore read 0"),ze.read(0),Oe===Te.length)break}Te.readingMore=!1}Re.prototype._read=function(ze){Ae(this,new pe("_read()"))},Re.prototype.pipe=function(ze,Te){var Oe=this,Ne=this._readableState;switch(Ne.pipesCount){case 0:Ne.pipes=ze;break;case 1:Ne.pipes=[Ne.pipes,ze];break;default:Ne.pipes.push(ze);break}Ne.pipesCount+=1,x("pipe count=%d opts=%j",Ne.pipesCount,Te);var Ge=(!Te||Te.end!==!1)&&ze!==le.stdout&&ze!==le.stderr,rt=Ge?dt:it;Ne.endEmitted?le.nextTick(rt):Oe.once("end",rt),ze.on("unpipe",mt);function mt(bt,wt){x("onunpipe"),bt===Oe&&wt&&wt.hasUnpiped===!1&&(wt.hasUnpiped=!0,At())}function dt(){x("onend"),ze.end()}var nt=tt(Oe);ze.on("drain",nt);var vt=!1;function At(){x("cleanup"),ze.removeListener("close",xt),ze.removeListener("finish",lt),ze.removeListener("drain",nt),ze.removeListener("error",at),ze.removeListener("unpipe",mt),Oe.removeListener("end",dt),Oe.removeListener("end",it),Oe.removeListener("data",Nt),vt=!0,Ne.awaitDrain&&(!ze._writableState||ze._writableState.needDrain)&&nt()}Oe.on("data",Nt);function Nt(bt){x("ondata");var wt=ze.write(bt);x("dest.write",wt),wt===!1&&((Ne.pipesCount===1&&Ne.pipes===ze||Ne.pipesCount>1&&$e(Ne.pipes,ze)!==-1)&&!vt&&(x("false write response, pause",Ne.awaitDrain),Ne.awaitDrain++),Oe.pause())}function at(bt){x("onerror",bt),it(),ze.removeListener("error",at),ue(ze,"error")===0&&Ae(ze,bt)}_e(ze,"error",at);function xt(){ze.removeListener("finish",lt),it()}ze.once("close",xt);function lt(){x("onfinish"),ze.removeListener("close",xt),it()}ze.once("finish",lt);function it(){x("unpipe"),Oe.unpipe(ze)}return ze.emit("pipe",Oe),Ne.flowing||(x("pipe resume"),Oe.resume()),ze};function tt(ze){return function(){var Oe=ze._readableState;x("pipeOnDrain",Oe.awaitDrain),Oe.awaitDrain&&Oe.awaitDrain--,Oe.awaitDrain===0&&ue(ze,"data")&&(Oe.flowing=!0,Ye(ze))}}Re.prototype.unpipe=function(ze){var Te=this._readableState,Oe={hasUnpiped:!1};if(Te.pipesCount===0)return this;if(Te.pipesCount===1)return ze&&ze!==Te.pipes?this:(ze||(ze=Te.pipes),Te.pipes=null,Te.pipesCount=0,Te.flowing=!1,ze&&ze.emit("unpipe",this,Oe),this);if(!ze){var Ne=Te.pipes,Ge=Te.pipesCount;Te.pipes=null,Te.pipesCount=0,Te.flowing=!1;for(var rt=0;rt<Ge;rt++)Ne[rt].emit("unpipe",this,{hasUnpiped:!1});return this}var mt=$e(Te.pipes,ze);return mt===-1?this:(Te.pipes.splice(mt,1),Te.pipesCount-=1,Te.pipesCount===1&&(Te.pipes=Te.pipes[0]),ze.emit("unpipe",this,Oe),this)},Re.prototype.on=function(ze,Te){var Oe=ae.prototype.on.call(this,ze,Te),Ne=this._readableState;return ze==="data"?(Ne.readableListening=this.listenerCount("readable")>0,Ne.flowing!==!1&&this.resume()):ze==="readable"&&!Ne.endEmitted&&!Ne.readableListening&&(Ne.readableListening=Ne.needReadable=!0,Ne.flowing=!1,Ne.emittedReadable=!1,x("on readable",Ne.length,Ne.reading),Ne.length?He(this):Ne.reading||le.nextTick(Xe,this)),Oe},Re.prototype.addListener=Re.prototype.on,Re.prototype.removeListener=function(ze,Te){var Oe=ae.prototype.removeListener.call(this,ze,Te);return ze==="readable"&&le.nextTick(st,this),Oe},Re.prototype.removeAllListeners=function(ze){var Te=ae.prototype.removeAllListeners.apply(this,arguments);return(ze==="readable"||ze===void 0)&&le.nextTick(st,this),Te};function st(ze){var Te=ze._readableState;Te.readableListening=ze.listenerCount("readable")>0,Te.resumeScheduled&&!Te.paused?Te.flowing=!0:ze.listenerCount("data")>0&&ze.resume()}function Xe(ze){x("readable nexttick read 0"),ze.read(0)}Re.prototype.resume=function(){var ze=this._readableState;return ze.flowing||(x("resume"),ze.flowing=!ze.readableListening,Ke(this,ze)),ze.paused=!1,this};function Ke(ze,Te){Te.resumeScheduled||(Te.resumeScheduled=!0,le.nextTick(Me,ze,Te))}function Me(ze,Te){x("resume",Te.reading),Te.reading||ze.read(0),Te.resumeScheduled=!1,ze.emit("resume"),Ye(ze),Te.flowing&&!Te.reading&&ze.read(0)}Re.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 Ye(ze){var Te=ze._readableState;for(x("flow",Te.flowing);Te.flowing&&ze.read()!==null;);}Re.prototype.wrap=function(ze){var Te=this,Oe=this._readableState,Ne=!1;ze.on("end",function(){if(x("wrapped end"),Oe.decoder&&!Oe.ended){var mt=Oe.decoder.end();mt&&mt.length&&Te.push(mt)}Te.push(null)}),ze.on("data",function(mt){if(x("wrapped data"),Oe.decoder&&(mt=Oe.decoder.write(mt)),!(Oe.objectMode&&mt==null)&&!(!Oe.objectMode&&(!mt||!mt.length))){var dt=Te.push(mt);dt||(Ne=!0,ze.pause())}});for(var Ge in ze)this[Ge]===void 0&&typeof ze[Ge]=="function"&&(this[Ge]=function(dt){return function(){return ze[dt].apply(ze,arguments)}}(Ge));for(var rt=0;rt<Ce.length;rt++)ze.on(Ce[rt],this.emit.bind(this,Ce[rt]));return this._read=function(mt){x("wrapped _read",mt),Ne&&(Ne=!1,ze.resume())},this},typeof Symbol=="function"&&(Re.prototype[Symbol.asyncIterator]=function(){return Ee===void 0&&(Ee=E("./internal/streams/async_iterator")),Ee(this)}),Object.defineProperty(Re.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Re.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Re.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Te){this._readableState&&(this._readableState.flowing=Te)}}),Re._fromList=Le,Object.defineProperty(Re.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Le(ze,Te){if(Te.length===0)return null;var Oe;return Te.objectMode?Oe=Te.buffer.shift():!ze||ze>=Te.length?(Te.decoder?Oe=Te.buffer.join(""):Te.buffer.length===1?Oe=Te.buffer.first():Oe=Te.buffer.concat(Te.length),Te.buffer.clear()):Oe=Te.buffer.consume(ze,Te.decoder),Oe}function Be(ze){var Te=ze._readableState;x("endReadable",Te.endEmitted),Te.endEmitted||(Te.ended=!0,le.nextTick(Ve,Te,ze))}function Ve(ze,Te){if(x("endReadableNT",ze.endEmitted,ze.length),!ze.endEmitted&&ze.length===0&&(ze.endEmitted=!0,Te.readable=!1,Te.emit("end"),ze.autoDestroy)){var Oe=Te._writableState;(!Oe||Oe.autoDestroy&&Oe.finished)&&Te.destroy()}}typeof Symbol=="function"&&(Re.from=function(ze,Te){return Pe===void 0&&(Pe=E("./internal/streams/from")),Pe(Re,ze,Te)});function $e(ze,Te){for(var Oe=0,Ne=ze.length;Oe<Ne;Oe++)if(ze[Oe]===Te)return Oe;return-1}}).call(this)}).call(this,E("_process"),typeof gt!="undefined"?gt: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,fe){"use strict";he.exports=ne;var le=E("../errors").codes,re=le.ERR_METHOD_NOT_IMPLEMENTED,se=le.ERR_MULTIPLE_CALLBACK,ie=le.ERR_TRANSFORM_ALREADY_TRANSFORMING,ue=le.ERR_TRANSFORM_WITH_LENGTH_0,ae=E("./_stream_duplex");E("inherits")(ne,ae);function oe(y,x){var b=this._transformState;b.transforming=!1;var z=b.writecb;if(z===null)return this.emit("error",new se);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 ne(y){if(!(this instanceof ne))return new ne(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)}ne.prototype.push=function(y,x){return this._transformState.needTransform=!1,ae.prototype.push.call(this,y,x)},ne.prototype._transform=function(y,x,b){b(new re("_transform()"))},ne.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)}},ne.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},ne.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 ie;return y.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(E,he,fe){(function(le,re){(function(){"use strict";he.exports=we;function se(Ye,Le,Be){this.chunk=Ye,this.encoding=Le,this.callback=Be,this.next=null}function ie(Ye){var Le=this;this.next=null,this.entry=null,this.finish=function(){Me(Le,Ye)}}var ue;we.WritableState=Ce;var ae={deprecate:E("util-deprecate")},oe=E("./internal/streams/stream"),ne=E("buffer").Buffer,ee=(typeof re!="undefined"?re:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function a(Ye){return ne.from(Ye)}function y(Ye){return ne.isBuffer(Ye)||Ye instanceof ee}var x=E("./internal/streams/destroy"),b=E("./internal/streams/state"),z=b.getHighWaterMark,te=E("../errors").codes,ce=te.ERR_INVALID_ARG_TYPE,ge=te.ERR_METHOD_NOT_IMPLEMENTED,me=te.ERR_MULTIPLE_CALLBACK,ve=te.ERR_STREAM_CANNOT_PIPE,pe=te.ERR_STREAM_DESTROYED,be=te.ERR_STREAM_NULL_VALUES,ye=te.ERR_STREAM_WRITE_AFTER_END,Ee=te.ERR_UNKNOWN_ENCODING,Pe=x.errorOrDestroy;E("inherits")(we,oe);function Ae(){}function Ce(Ye,Le,Be){ue=ue||E("./_stream_duplex"),Ye=Ye||{},typeof Be!="boolean"&&(Be=Le instanceof ue),this.objectMode=!!Ye.objectMode,Be&&(this.objectMode=this.objectMode||!!Ye.writableObjectMode),this.highWaterMark=z(this,Ye,"writableHighWaterMark",Be),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ve=Ye.decodeStrings===!1;this.decodeStrings=!Ve,this.defaultEncoding=Ye.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function($e){Qe(Le,$e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ye.emitClose!==!1,this.autoDestroy=!!Ye.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new ie(this)}Ce.prototype.getBuffer=function(){for(var Le=this.bufferedRequest,Be=[];Le;)Be.push(Le),Le=Le.next;return Be},function(){try{Object.defineProperty(Ce.prototype,"buffer",{get:ae.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ye){}}();var _e;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(_e=Function.prototype[Symbol.hasInstance],Object.defineProperty(we,Symbol.hasInstance,{value:function(Le){return _e.call(this,Le)?!0:this!==we?!1:Le&&Le._writableState instanceof Ce}})):_e=function(Le){return Le instanceof this};function we(Ye){ue=ue||E("./_stream_duplex");var Le=this instanceof ue;if(!Le&&!_e.call(we,this))return new we(Ye);this._writableState=new Ce(Ye,this,Le),this.writable=!0,Ye&&(typeof Ye.write=="function"&&(this._write=Ye.write),typeof Ye.writev=="function"&&(this._writev=Ye.writev),typeof Ye.destroy=="function"&&(this._destroy=Ye.destroy),typeof Ye.final=="function"&&(this._final=Ye.final)),oe.call(this)}we.prototype.pipe=function(){Pe(this,new ve)};function Re(Ye,Le){var Be=new ye;Pe(Ye,Be),le.nextTick(Le,Be)}function De(Ye,Le,Be,Ve){var $e;return Be===null?$e=new be:typeof Be!="string"&&!Le.objectMode&&($e=new ce("chunk",["string","Buffer"],Be)),$e?(Pe(Ye,$e),le.nextTick(Ve,$e),!1):!0}we.prototype.write=function(Ye,Le,Be){var Ve=this._writableState,$e=!1,ze=!Ve.objectMode&&y(Ye);return ze&&!ne.isBuffer(Ye)&&(Ye=a(Ye)),typeof Le=="function"&&(Be=Le,Le=null),ze?Le="buffer":Le||(Le=Ve.defaultEncoding),typeof Be!="function"&&(Be=Ae),Ve.ending?Re(this,Be):(ze||De(this,Ve,Ye,Be))&&(Ve.pendingcb++,$e=Ie(this,Ve,ze,Ye,Le,Be)),$e},we.prototype.cork=function(){this._writableState.corked++},we.prototype.uncork=function(){var Ye=this._writableState;Ye.corked&&(Ye.corked--,!Ye.writing&&!Ye.corked&&!Ye.bufferProcessing&&Ye.bufferedRequest&&je(this,Ye))},we.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 Ee(Le);return this._writableState.defaultEncoding=Le,this},Object.defineProperty(we.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function ke(Ye,Le,Be){return!Ye.objectMode&&Ye.decodeStrings!==!1&&typeof Le=="string"&&(Le=ne.from(Le,Be)),Le}Object.defineProperty(we.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ie(Ye,Le,Be,Ve,$e,ze){if(!Be){var Te=ke(Le,Ve,$e);Ve!==Te&&(Be=!0,$e="buffer",Ve=Te)}var Oe=Le.objectMode?1:Ve.length;Le.length+=Oe;var Ne=Le.length<Le.highWaterMark;if(Ne||(Le.needDrain=!0),Le.writing||Le.corked){var Ge=Le.lastBufferedRequest;Le.lastBufferedRequest={chunk:Ve,encoding:$e,isBuf:Be,callback:ze,next:null},Ge?Ge.next=Le.lastBufferedRequest:Le.bufferedRequest=Le.lastBufferedRequest,Le.bufferedRequestCount+=1}else qe(Ye,Le,!1,Oe,Ve,$e,ze);return Ne}function qe(Ye,Le,Be,Ve,$e,ze,Te){Le.writelen=Ve,Le.writecb=Te,Le.writing=!0,Le.sync=!0,Le.destroyed?Le.onwrite(new pe("write")):Be?Ye._writev($e,Le.onwrite):Ye._write($e,ze,Le.onwrite),Le.sync=!1}function Je(Ye,Le,Be,Ve,$e){--Le.pendingcb,Be?(le.nextTick($e,Ve),le.nextTick(Xe,Ye,Le),Ye._writableState.errorEmitted=!0,Pe(Ye,Ve)):($e(Ve),Ye._writableState.errorEmitted=!0,Pe(Ye,Ve),Xe(Ye,Le))}function We(Ye){Ye.writing=!1,Ye.writecb=null,Ye.length-=Ye.writelen,Ye.writelen=0}function Qe(Ye,Le){var Be=Ye._writableState,Ve=Be.sync,$e=Be.writecb;if(typeof $e!="function")throw new me;if(We(Be),Le)Je(Ye,Be,Ve,Le,$e);else{var ze=et(Be)||Ye.destroyed;!ze&&!Be.corked&&!Be.bufferProcessing&&Be.bufferedRequest&&je(Ye,Be),Ve?le.nextTick(He,Ye,Be,ze,$e):He(Ye,Be,ze,$e)}}function He(Ye,Le,Be,Ve){Be||Fe(Ye,Le),Le.pendingcb--,Ve(),Xe(Ye,Le)}function Fe(Ye,Le){Le.length===0&&Le.needDrain&&(Le.needDrain=!1,Ye.emit("drain"))}function je(Ye,Le){Le.bufferProcessing=!0;var Be=Le.bufferedRequest;if(Ye._writev&&Be&&Be.next){var Ve=Le.bufferedRequestCount,$e=new Array(Ve),ze=Le.corkedRequestsFree;ze.entry=Be;for(var Te=0,Oe=!0;Be;)$e[Te]=Be,Be.isBuf||(Oe=!1),Be=Be.next,Te+=1;$e.allBuffers=Oe,qe(Ye,Le,!0,Le.length,$e,"",ze.finish),Le.pendingcb++,Le.lastBufferedRequest=null,ze.next?(Le.corkedRequestsFree=ze.next,ze.next=null):Le.corkedRequestsFree=new ie(Le),Le.bufferedRequestCount=0}else{for(;Be;){var Ne=Be.chunk,Ge=Be.encoding,rt=Be.callback,mt=Le.objectMode?1:Ne.length;if(qe(Ye,Le,!1,mt,Ne,Ge,rt),Be=Be.next,Le.bufferedRequestCount--,Le.writing)break}Be===null&&(Le.lastBufferedRequest=null)}Le.bufferedRequest=Be,Le.bufferProcessing=!1}we.prototype._write=function(Ye,Le,Be){Be(new ge("_write()"))},we.prototype._writev=null,we.prototype.end=function(Ye,Le,Be){var Ve=this._writableState;return typeof Ye=="function"?(Be=Ye,Ye=null,Le=null):typeof Le=="function"&&(Be=Le,Le=null),Ye!=null&&this.write(Ye,Le),Ve.corked&&(Ve.corked=1,this.uncork()),Ve.ending||Ke(this,Ve,Be),this},Object.defineProperty(we.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function et(Ye){return Ye.ending&&Ye.length===0&&Ye.bufferedRequest===null&&!Ye.finished&&!Ye.writing}function tt(Ye,Le){Ye._final(function(Be){Le.pendingcb--,Be&&Pe(Ye,Be),Le.prefinished=!0,Ye.emit("prefinish"),Xe(Ye,Le)})}function st(Ye,Le){!Le.prefinished&&!Le.finalCalled&&(typeof Ye._final=="function"&&!Le.destroyed?(Le.pendingcb++,Le.finalCalled=!0,le.nextTick(tt,Ye,Le)):(Le.prefinished=!0,Ye.emit("prefinish")))}function Xe(Ye,Le){var Be=et(Le);if(Be&&(st(Ye,Le),Le.pendingcb===0&&(Le.finished=!0,Ye.emit("finish"),Le.autoDestroy))){var Ve=Ye._readableState;(!Ve||Ve.autoDestroy&&Ve.endEmitted)&&Ye.destroy()}return Be}function Ke(Ye,Le,Be){Le.ending=!0,Xe(Ye,Le),Be&&(Le.finished?le.nextTick(Be):Ye.once("finish",Be)),Le.ended=!0,Ye.writable=!1}function Me(Ye,Le,Be){var Ve=Ye.entry;for(Ye.entry=null;Ve;){var $e=Ve.callback;Le.pendingcb--,$e(Be),Ve=Ve.next}Le.corkedRequestsFree.next=Ye}Object.defineProperty(we.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Le){this._writableState&&(this._writableState.destroyed=Le)}}),we.prototype.destroy=x.destroy,we.prototype._undestroy=x.undestroy,we.prototype._destroy=function(Ye,Le){Le(Ye)}}).call(this)}).call(this,E("_process"),typeof gt!="undefined"?gt: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,fe){(function(le){(function(){"use strict";var re;function se(be,ye,Ee){return ye=ie(ye),ye in be?Object.defineProperty(be,ye,{value:Ee,enumerable:!0,configurable:!0,writable:!0}):be[ye]=Ee,be}function ie(be){var ye=ue(be,"string");return typeof ye=="symbol"?ye:String(ye)}function ue(be,ye){if(typeof be!="object"||be===null)return be;var Ee=be[Symbol.toPrimitive];if(Ee!==void 0){var Pe=Ee.call(be,ye||"default");if(typeof Pe!="object")return Pe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ye==="string"?String:Number)(be)}var ae=E("./end-of-stream"),oe=Symbol("lastResolve"),ne=Symbol("lastReject"),ee=Symbol("error"),a=Symbol("ended"),y=Symbol("lastPromise"),x=Symbol("handlePromise"),b=Symbol("stream");function z(be,ye){return{value:be,done:ye}}function te(be){var ye=be[oe];if(ye!==null){var Ee=be[b].read();Ee!==null&&(be[y]=null,be[oe]=null,be[ne]=null,ye(z(Ee,!1)))}}function ce(be){le.nextTick(te,be)}function ge(be,ye){return function(Ee,Pe){be.then(function(){if(ye[a]){Ee(z(void 0,!0));return}ye[x](Ee,Pe)},Pe)}}var me=Object.getPrototypeOf(function(){}),ve=Object.setPrototypeOf((re={get stream(){return this[b]},next:function(){var ye=this,Ee=this[ee];if(Ee!==null)return Promise.reject(Ee);if(this[a])return Promise.resolve(z(void 0,!0));if(this[b].destroyed)return new Promise(function(_e,we){le.nextTick(function(){ye[ee]?we(ye[ee]):_e(z(void 0,!0))})});var Pe=this[y],Ae;if(Pe)Ae=new Promise(ge(Pe,this));else{var Ce=this[b].read();if(Ce!==null)return Promise.resolve(z(Ce,!1));Ae=new Promise(this[x])}return this[y]=Ae,Ae}},se(re,Symbol.asyncIterator,function(){return this}),se(re,"return",function(){var ye=this;return new Promise(function(Ee,Pe){ye[b].destroy(null,function(Ae){if(Ae){Pe(Ae);return}Ee(z(void 0,!0))})})}),re),me),pe=function(ye){var Ee,Pe=Object.create(ve,(Ee={},se(Ee,b,{value:ye,writable:!0}),se(Ee,oe,{value:null,writable:!0}),se(Ee,ne,{value:null,writable:!0}),se(Ee,ee,{value:null,writable:!0}),se(Ee,a,{value:ye._readableState.endEmitted,writable:!0}),se(Ee,x,{value:function(Ce,_e){var we=Pe[b].read();we?(Pe[y]=null,Pe[oe]=null,Pe[ne]=null,Ce(z(we,!1))):(Pe[oe]=Ce,Pe[ne]=_e)},writable:!0}),Ee));return Pe[y]=null,ae(ye,function(Ae){if(Ae&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Ce=Pe[ne];Ce!==null&&(Pe[y]=null,Pe[oe]=null,Pe[ne]=null,Ce(Ae)),Pe[ee]=Ae;return}var _e=Pe[oe];_e!==null&&(Pe[y]=null,Pe[oe]=null,Pe[ne]=null,_e(z(void 0,!0))),Pe[a]=!0}),ye.on("readable",ce.bind(null,Pe)),Pe};he.exports=pe}).call(this)}).call(this,E("_process"))},{"./end-of-stream":408,_process:467}],406:[function(E,he,fe){"use strict";function le(te,ce){var ge=Object.keys(te);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(te);ce&&(me=me.filter(function(ve){return Object.getOwnPropertyDescriptor(te,ve).enumerable})),ge.push.apply(ge,me)}return ge}function re(te){for(var ce=1;ce<arguments.length;ce++){var ge=arguments[ce]!=null?arguments[ce]:{};ce%2?le(Object(ge),!0).forEach(function(me){se(te,me,ge[me])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(ge)):le(Object(ge)).forEach(function(me){Object.defineProperty(te,me,Object.getOwnPropertyDescriptor(ge,me))})}return te}function se(te,ce,ge){return ce=oe(ce),ce in te?Object.defineProperty(te,ce,{value:ge,enumerable:!0,configurable:!0,writable:!0}):te[ce]=ge,te}function ie(te,ce){if(!(te instanceof ce))throw new TypeError("Cannot call a class as a function")}function ue(te,ce){for(var ge=0;ge<ce.length;ge++){var me=ce[ge];me.enumerable=me.enumerable||!1,me.configurable=!0,"value"in me&&(me.writable=!0),Object.defineProperty(te,oe(me.key),me)}}function ae(te,ce,ge){return ce&&ue(te.prototype,ce),ge&&ue(te,ge),Object.defineProperty(te,"prototype",{writable:!1}),te}function oe(te){var ce=ne(te,"string");return typeof ce=="symbol"?ce:String(ce)}function ne(te,ce){if(typeof te!="object"||te===null)return te;var ge=te[Symbol.toPrimitive];if(ge!==void 0){var me=ge.call(te,ce||"default");if(typeof me!="object")return me;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ce==="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,ce,ge){a.prototype.copy.call(te,ce,ge)}he.exports=function(){function te(){ie(this,te),this.head=null,this.tail=null,this.length=0}return ae(te,[{key:"push",value:function(ge){var me={data:ge,next:null};this.length>0?this.tail.next=me:this.head=me,this.tail=me,++this.length}},{key:"unshift",value:function(ge){var me={data:ge,next:this.head};this.length===0&&(this.tail=me),this.head=me,++this.length}},{key:"shift",value:function(){if(this.length!==0){var ge=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ge}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(ge){if(this.length===0)return"";for(var me=this.head,ve=""+me.data;me=me.next;)ve+=ge+me.data;return ve}},{key:"concat",value:function(ge){if(this.length===0)return a.alloc(0);for(var me=a.allocUnsafe(ge>>>0),ve=this.head,pe=0;ve;)z(ve.data,me,pe),pe+=ve.data.length,ve=ve.next;return me}},{key:"consume",value:function(ge,me){var ve;return ge<this.head.data.length?(ve=this.head.data.slice(0,ge),this.head.data=this.head.data.slice(ge)):ge===this.head.data.length?ve=this.shift():ve=me?this._getString(ge):this._getBuffer(ge),ve}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(ge){var me=this.head,ve=1,pe=me.data;for(ge-=pe.length;me=me.next;){var be=me.data,ye=ge>be.length?be.length:ge;if(ye===be.length?pe+=be:pe+=be.slice(0,ge),ge-=ye,ge===0){ye===be.length?(++ve,me.next?this.head=me.next:this.head=this.tail=null):(this.head=me,me.data=be.slice(ye));break}++ve}return this.length-=ve,pe}},{key:"_getBuffer",value:function(ge){var me=a.allocUnsafe(ge),ve=this.head,pe=1;for(ve.data.copy(me),ge-=ve.data.length;ve=ve.next;){var be=ve.data,ye=ge>be.length?be.length:ge;if(be.copy(me,me.length-ge,0,ye),ge-=ye,ge===0){ye===be.length?(++pe,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=be.slice(ye));break}++pe}return this.length-=pe,me}},{key:b,value:function(ge,me){return x(this,re(re({},me),{},{depth:0,customInspect:!1}))}}]),te}()},{buffer:90,util:89}],407:[function(E,he,fe){(function(le){(function(){"use strict";function re(ne,ee){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(ee?ee(ne):ne&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,le.nextTick(ae,this,ne)):le.nextTick(ae,this,ne)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ne||null,function(b){!ee&&b?a._writableState?a._writableState.errorEmitted?le.nextTick(ie,a):(a._writableState.errorEmitted=!0,le.nextTick(se,a,b)):le.nextTick(se,a,b):ee?(le.nextTick(ie,a),ee(b)):le.nextTick(ie,a)}),this)}function se(ne,ee){ae(ne,ee),ie(ne)}function ie(ne){ne._writableState&&!ne._writableState.emitClose||ne._readableState&&!ne._readableState.emitClose||ne.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(ne,ee){ne.emit("error",ee)}function oe(ne,ee){var a=ne._readableState,y=ne._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ne.destroy(ee):ne.emit("error",ee)}he.exports={destroy:re,undestroy:ue,errorOrDestroy:oe}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,he,fe){"use strict";var le=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function re(ae){var oe=!1;return function(){if(!oe){oe=!0;for(var ne=arguments.length,ee=new Array(ne),a=0;a<ne;a++)ee[a]=arguments[a];ae.apply(this,ee)}}}function se(){}function ie(ae){return ae.setHeader&&typeof ae.abort=="function"}function ue(ae,oe,ne){if(typeof oe=="function")return ue(ae,null,oe);oe||(oe={}),ne=re(ne||se);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||ne.call(ae)},z=ae._readableState&&ae._readableState.endEmitted,te=function(){ee=!1,z=!0,a||ne.call(ae)},ce=function(pe){ne.call(ae,pe)},ge=function(){var pe;if(ee&&!z)return(!ae._readableState||!ae._readableState.ended)&&(pe=new le),ne.call(ae,pe);if(a&&!x)return(!ae._writableState||!ae._writableState.ended)&&(pe=new le),ne.call(ae,pe)},me=function(){ae.req.on("finish",b)};return ie(ae)?(ae.on("complete",b),ae.on("abort",ge),ae.req?me():ae.on("request",me)):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",ce),ae.on("close",ge),function(){ae.removeListener("complete",b),ae.removeListener("abort",ge),ae.removeListener("request",me),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",ce),ae.removeListener("close",ge)}}he.exports=ue},{"../../../errors":399}],409:[function(E,he,fe){he.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(E,he,fe){"use strict";var le;function re(b){var z=!1;return function(){z||(z=!0,b.apply(void 0,arguments))}}var se=E("../../../errors").codes,ie=se.ERR_MISSING_ARGS,ue=se.ERR_STREAM_DESTROYED;function ae(b){if(b)throw b}function oe(b){return b.setHeader&&typeof b.abort=="function"}function ne(b,z,te,ce){ce=re(ce);var ge=!1;b.on("close",function(){ge=!0}),le===void 0&&(le=E("./end-of-stream")),le(b,{readable:z,writable:te},function(ve){if(ve)return ce(ve);ge=!0,ce()});var me=!1;return function(ve){if(!ge&&!me){if(me=!0,oe(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();ce(ve||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 ce=y(z);if(Array.isArray(z[0])&&(z=z[0]),z.length<2)throw new ie("streams");var ge,me=z.map(function(ve,pe){var be=pe<z.length-1,ye=pe>0;return ne(ve,be,ye,function(Ee){ge||(ge=Ee),Ee&&me.forEach(ee),!be&&(me.forEach(ee),ce(ge))})});return z.reduce(a)}he.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,he,fe){"use strict";var le=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function re(ie,ue,ae){return ie.highWaterMark!=null?ie.highWaterMark:ue?ie[ae]:null}function se(ie,ue,ae,oe){var ne=re(ue,oe,ae);if(ne!=null){if(!(isFinite(ne)&&Math.floor(ne)===ne)||ne<0){var ee=oe?ae:"highWaterMark";throw new le(ee,ne)}return Math.floor(ne)}return ie.objectMode?16:16*1024}he.exports={getHighWaterMark:se}},{"../../../errors":399}],412:[function(E,he,fe){arguments[4][393][0].apply(fe,arguments)},{dup:393,events:344}],413:[function(E,he,fe){"use strict";var le=E("safe-buffer").Buffer,re=le.isEncoding||function(me){switch(me=""+me,me&&me.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 se(me){if(!me)return"utf8";for(var ve;;)switch(me){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 me;default:if(ve)return;me=(""+me).toLowerCase(),ve=!0}}function ie(me){var ve=se(me);if(typeof ve!="string"&&(le.isEncoding===re||!re(me)))throw new Error("Unknown encoding: "+me);return ve||me}fe.StringDecoder=ue;function ue(me){this.encoding=ie(me);var ve;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ve=4;break;case"utf8":this.fillLast=ee,ve=4;break;case"base64":this.text=z,this.end=te,ve=3;break;default:this.write=ce,this.end=ge;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=le.allocUnsafe(ve)}ue.prototype.write=function(me){if(me.length===0)return"";var ve,pe;if(this.lastNeed){if(ve=this.fillLast(me),ve===void 0)return"";pe=this.lastNeed,this.lastNeed=0}else pe=0;return pe<me.length?ve?ve+this.text(me,pe):this.text(me,pe):ve||""},ue.prototype.end=y,ue.prototype.text=a,ue.prototype.fillLast=function(me){if(this.lastNeed<=me.length)return me.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);me.copy(this.lastChar,this.lastTotal-this.lastNeed,0,me.length),this.lastNeed-=me.length};function ae(me){return me<=127?0:me>>5===6?2:me>>4===14?3:me>>3===30?4:me>>6===2?-1:-2}function oe(me,ve,pe){var be=ve.length-1;if(be<pe)return 0;var ye=ae(ve[be]);return ye>=0?(ye>0&&(me.lastNeed=ye-1),ye):--be<pe||ye===-2?0:(ye=ae(ve[be]),ye>=0?(ye>0&&(me.lastNeed=ye-2),ye):--be<pe||ye===-2?0:(ye=ae(ve[be]),ye>=0?(ye>0&&(ye===2?ye=0:me.lastNeed=ye-3),ye):0))}function ne(me,ve,pe){if((ve[0]&192)!==128)return me.lastNeed=0,"\uFFFD";if(me.lastNeed>1&&ve.length>1){if((ve[1]&192)!==128)return me.lastNeed=1,"\uFFFD";if(me.lastNeed>2&&ve.length>2&&(ve[2]&192)!==128)return me.lastNeed=2,"\uFFFD"}}function ee(me){var ve=this.lastTotal-this.lastNeed,pe=ne(this,me,ve);if(pe!==void 0)return pe;if(this.lastNeed<=me.length)return me.copy(this.lastChar,ve,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);me.copy(this.lastChar,ve,0,me.length),this.lastNeed-=me.length}function a(me,ve){var pe=oe(this,me,ve);if(!this.lastNeed)return me.toString("utf8",ve);this.lastTotal=pe;var be=me.length-(pe-this.lastNeed);return me.copy(this.lastChar,0,be),me.toString("utf8",ve,be)}function y(me){var ve=me&&me.length?this.write(me):"";return this.lastNeed?ve+"\uFFFD":ve}function x(me,ve){if((me.length-ve)%2===0){var pe=me.toString("utf16le",ve);if(pe){var be=pe.charCodeAt(pe.length-1);if(be>=55296&&be<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=me[me.length-2],this.lastChar[1]=me[me.length-1],pe.slice(0,-1)}return pe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=me[me.length-1],me.toString("utf16le",ve,me.length-1)}function b(me){var ve=me&&me.length?this.write(me):"";if(this.lastNeed){var pe=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,pe)}return ve}function z(me,ve){var pe=(me.length-ve)%3;return pe===0?me.toString("base64",ve):(this.lastNeed=3-pe,this.lastTotal=3,pe===1?this.lastChar[0]=me[me.length-1]:(this.lastChar[0]=me[me.length-2],this.lastChar[1]=me[me.length-1]),me.toString("base64",ve,me.length-pe))}function te(me){var ve=me&&me.length?this.write(me):"";return this.lastNeed?ve+this.lastChar.toString("base64",0,3-this.lastNeed):ve}function ce(me){return me.toString(this.encoding)}function ge(me){return me&&me.length?this.write(me):""}},{"safe-buffer":396}],414:[function(E,he,fe){(function(le,re){(function(){var se=E("process/browser.js").nextTick,ie=Function.prototype.apply,ue=Array.prototype.slice,ae={},oe=0;fe.setTimeout=function(){return new ne(ie.call(setTimeout,window,arguments),clearTimeout)},fe.setInterval=function(){return new ne(ie.call(setInterval,window,arguments),clearInterval)},fe.clearTimeout=fe.clearInterval=function(ee){ee.close()};function ne(ee,a){this._id=ee,this._clearFn=a}ne.prototype.unref=ne.prototype.ref=function(){},ne.prototype.close=function(){this._clearFn.call(window,this._id)},fe.enroll=function(ee,a){clearTimeout(ee._idleTimeoutId),ee._idleTimeout=a},fe.unenroll=function(ee){clearTimeout(ee._idleTimeoutId),ee._idleTimeout=-1},fe._unrefActive=fe.active=function(ee){clearTimeout(ee._idleTimeoutId);var a=ee._idleTimeout;a>=0&&(ee._idleTimeoutId=setTimeout(function(){ee._onTimeout&&ee._onTimeout()},a))},fe.setImmediate=typeof le=="function"?le:function(ee){var a=oe++,y=arguments.length<2?!1:ue.call(arguments,1);return ae[a]=!0,se(function(){ae[a]&&(y?ee.apply(null,y):ee.call(null),fe.clearImmediate(a))}),a},fe.clearImmediate=typeof re=="function"?re: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,fe){var le=E("buffer").Buffer;he.exports=function(re){if(re instanceof Uint8Array){if(re.byteOffset===0&&re.byteLength===re.buffer.byteLength)return re.buffer;if(typeof re.buffer.slice=="function")return re.buffer.slice(re.byteOffset,re.byteOffset+re.byteLength)}if(le.isBuffer(re)){for(var se=new Uint8Array(re.length),ie=re.length,ue=0;ue<ie;ue++)se[ue]=re[ue];return se.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,he,fe){(function(le){(function(){he.exports=re;function re(ie,ue){if(se("noDeprecation"))return ie;var ae=!1;function oe(){if(!ae){if(se("throwDeprecation"))throw new Error(ue);se("traceDeprecation")?console.trace(ue):console.warn(ue),ae=!0}return ie.apply(this,arguments)}return oe}function se(ie){try{if(!le.localStorage)return!1}catch(ae){return!1}var ue=le.localStorage[ie];return ue==null?!1:String(ue).toLowerCase()==="true"}}).call(this)}).call(this,typeof gt!="undefined"?gt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(E,he,fe){arguments[4][84][0].apply(fe,arguments)},{dup:84}],418:[function(E,he,fe){"use strict";var le=E("is-arguments"),re=E("is-generator-function"),se=E("which-typed-array"),ie=E("is-typed-array");function ue(Ge){return Ge.call.bind(Ge)}var ae=typeof BigInt!="undefined",oe=typeof Symbol!="undefined",ne=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(Ge,rt){if(typeof Ge!="object")return!1;try{return rt(Ge),!0}catch(mt){return!1}}fe.isArgumentsObject=le,fe.isGeneratorFunction=re,fe.isTypedArray=ie;function te(Ge){return typeof Promise!="undefined"&&Ge instanceof Promise||Ge!==null&&typeof Ge=="object"&&typeof Ge.then=="function"&&typeof Ge.catch=="function"}fe.isPromise=te;function ce(Ge){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(Ge):ie(Ge)||je(Ge)}fe.isArrayBufferView=ce;function ge(Ge){return se(Ge)==="Uint8Array"}fe.isUint8Array=ge;function me(Ge){return se(Ge)==="Uint8ClampedArray"}fe.isUint8ClampedArray=me;function ve(Ge){return se(Ge)==="Uint16Array"}fe.isUint16Array=ve;function pe(Ge){return se(Ge)==="Uint32Array"}fe.isUint32Array=pe;function be(Ge){return se(Ge)==="Int8Array"}fe.isInt8Array=be;function ye(Ge){return se(Ge)==="Int16Array"}fe.isInt16Array=ye;function Ee(Ge){return se(Ge)==="Int32Array"}fe.isInt32Array=Ee;function Pe(Ge){return se(Ge)==="Float32Array"}fe.isFloat32Array=Pe;function Ae(Ge){return se(Ge)==="Float64Array"}fe.isFloat64Array=Ae;function Ce(Ge){return se(Ge)==="BigInt64Array"}fe.isBigInt64Array=Ce;function _e(Ge){return se(Ge)==="BigUint64Array"}fe.isBigUint64Array=_e;function we(Ge){return ne(Ge)==="[object Map]"}we.working=typeof Map!="undefined"&&we(new Map);function Re(Ge){return typeof Map=="undefined"?!1:we.working?we(Ge):Ge instanceof Map}fe.isMap=Re;function De(Ge){return ne(Ge)==="[object Set]"}De.working=typeof Set!="undefined"&&De(new Set);function ke(Ge){return typeof Set=="undefined"?!1:De.working?De(Ge):Ge instanceof Set}fe.isSet=ke;function Ie(Ge){return ne(Ge)==="[object WeakMap]"}Ie.working=typeof WeakMap!="undefined"&&Ie(new WeakMap);function qe(Ge){return typeof WeakMap=="undefined"?!1:Ie.working?Ie(Ge):Ge instanceof WeakMap}fe.isWeakMap=qe;function Je(Ge){return ne(Ge)==="[object WeakSet]"}Je.working=typeof WeakSet!="undefined"&&Je(new WeakSet);function We(Ge){return Je(Ge)}fe.isWeakSet=We;function Qe(Ge){return ne(Ge)==="[object ArrayBuffer]"}Qe.working=typeof ArrayBuffer!="undefined"&&Qe(new ArrayBuffer);function He(Ge){return typeof ArrayBuffer=="undefined"?!1:Qe.working?Qe(Ge):Ge instanceof ArrayBuffer}fe.isArrayBuffer=He;function Fe(Ge){return ne(Ge)==="[object DataView]"}Fe.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&Fe(new DataView(new ArrayBuffer(1),0,1));function je(Ge){return typeof DataView=="undefined"?!1:Fe.working?Fe(Ge):Ge instanceof DataView}fe.isDataView=je;var et=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function tt(Ge){return ne(Ge)==="[object SharedArrayBuffer]"}function st(Ge){return typeof et=="undefined"?!1:(typeof tt.working=="undefined"&&(tt.working=tt(new et)),tt.working?tt(Ge):Ge instanceof et)}fe.isSharedArrayBuffer=st;function Xe(Ge){return ne(Ge)==="[object AsyncFunction]"}fe.isAsyncFunction=Xe;function Ke(Ge){return ne(Ge)==="[object Map Iterator]"}fe.isMapIterator=Ke;function Me(Ge){return ne(Ge)==="[object Set Iterator]"}fe.isSetIterator=Me;function Ye(Ge){return ne(Ge)==="[object Generator]"}fe.isGeneratorObject=Ye;function Le(Ge){return ne(Ge)==="[object WebAssembly.Module]"}fe.isWebAssemblyCompiledModule=Le;function Be(Ge){return z(Ge,ee)}fe.isNumberObject=Be;function Ve(Ge){return z(Ge,a)}fe.isStringObject=Ve;function $e(Ge){return z(Ge,y)}fe.isBooleanObject=$e;function ze(Ge){return ae&&z(Ge,x)}fe.isBigIntObject=ze;function Te(Ge){return oe&&z(Ge,b)}fe.isSymbolObject=Te;function Oe(Ge){return Be(Ge)||Ve(Ge)||$e(Ge)||ze(Ge)||Te(Ge)}fe.isBoxedPrimitive=Oe;function Ne(Ge){return typeof Uint8Array!="undefined"&&(He(Ge)||st(Ge))}fe.isAnyArrayBuffer=Ne,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Ge){Object.defineProperty(fe,Ge,{enumerable:!1,value:function(){throw new Error(Ge+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,he,fe){(function(le){(function(){var re=Object.getOwnPropertyDescriptors||function(et){for(var tt=Object.keys(et),st={},Xe=0;Xe<tt.length;Xe++)st[tt[Xe]]=Object.getOwnPropertyDescriptor(et,tt[Xe]);return st},se=/%[sdj%]/g;fe.format=function(je){if(!ye(je)){for(var et=[],tt=0;tt<arguments.length;tt++)et.push(oe(arguments[tt]));return et.join(" ")}for(var tt=1,st=arguments,Xe=st.length,Ke=String(je).replace(se,function(Ye){if(Ye==="%%")return"%";if(tt>=Xe)return Ye;switch(Ye){case"%s":return String(st[tt++]);case"%d":return Number(st[tt++]);case"%j":try{return JSON.stringify(st[tt++])}catch(Le){return"[Circular]"}default:return Ye}}),Me=st[tt];tt<Xe;Me=st[++tt])ve(Me)||!Ce(Me)?Ke+=" "+Me:Ke+=" "+oe(Me);return Ke},fe.deprecate=function(je,et){if(typeof le!="undefined"&&le.noDeprecation===!0)return je;if(typeof le=="undefined")return function(){return fe.deprecate(je,et).apply(this,arguments)};var tt=!1;function st(){if(!tt){if(le.throwDeprecation)throw new Error(et);le.traceDeprecation?console.trace(et):console.error(et),tt=!0}return je.apply(this,arguments)}return st};var ie={},ue=/^$/;if(le.env.NODE_DEBUG){var ae=le.env.NODE_DEBUG;ae=ae.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ue=new RegExp("^"+ae+"$","i")}fe.debuglog=function(je){if(je=je.toUpperCase(),!ie[je])if(ue.test(je)){var et=le.pid;ie[je]=function(){var tt=fe.format.apply(fe,arguments);console.error("%s %d: %s",je,et,tt)}}else ie[je]=function(){};return ie[je]};function oe(je,et){var tt={seen:[],stylize:ee};return arguments.length>=3&&(tt.depth=arguments[2]),arguments.length>=4&&(tt.colors=arguments[3]),me(et)?tt.showHidden=et:et&&fe._extend(tt,et),Pe(tt.showHidden)&&(tt.showHidden=!1),Pe(tt.depth)&&(tt.depth=2),Pe(tt.colors)&&(tt.colors=!1),Pe(tt.customInspect)&&(tt.customInspect=!0),tt.colors&&(tt.stylize=ne),y(tt,je,tt.depth)}fe.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 ne(je,et){var tt=oe.styles[et];return tt?"\x1B["+oe.colors[tt][0]+"m"+je+"\x1B["+oe.colors[tt][1]+"m":je}function ee(je,et){return je}function a(je){var et={};return je.forEach(function(tt,st){et[tt]=!0}),et}function y(je,et,tt){if(je.customInspect&&et&&Re(et.inspect)&&et.inspect!==fe.inspect&&!(et.constructor&&et.constructor.prototype===et)){var st=et.inspect(tt,je);return ye(st)||(st=y(je,st,tt)),st}var Xe=x(je,et);if(Xe)return Xe;var Ke=Object.keys(et),Me=a(Ke);if(je.showHidden&&(Ke=Object.getOwnPropertyNames(et)),we(et)&&(Ke.indexOf("message")>=0||Ke.indexOf("description")>=0))return b(et);if(Ke.length===0){if(Re(et)){var Ye=et.name?": "+et.name:"";return je.stylize("[Function"+Ye+"]","special")}if(Ae(et))return je.stylize(RegExp.prototype.toString.call(et),"regexp");if(_e(et))return je.stylize(Date.prototype.toString.call(et),"date");if(we(et))return b(et)}var Le="",Be=!1,Ve=["{","}"];if(ge(et)&&(Be=!0,Ve=["[","]"]),Re(et)){var $e=et.name?": "+et.name:"";Le=" [Function"+$e+"]"}if(Ae(et)&&(Le=" "+RegExp.prototype.toString.call(et)),_e(et)&&(Le=" "+Date.prototype.toUTCString.call(et)),we(et)&&(Le=" "+b(et)),Ke.length===0&&(!Be||et.length==0))return Ve[0]+Le+Ve[1];if(tt<0)return Ae(et)?je.stylize(RegExp.prototype.toString.call(et),"regexp"):je.stylize("[Object]","special");je.seen.push(et);var ze;return Be?ze=z(je,et,tt,Me,Ke):ze=Ke.map(function(Te){return te(je,et,tt,Me,Te,Be)}),je.seen.pop(),ce(ze,Le,Ve)}function x(je,et){if(Pe(et))return je.stylize("undefined","undefined");if(ye(et)){var tt="'"+JSON.stringify(et).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return je.stylize(tt,"string")}if(be(et))return je.stylize(""+et,"number");if(me(et))return je.stylize(""+et,"boolean");if(ve(et))return je.stylize("null","null")}function b(je){return"["+Error.prototype.toString.call(je)+"]"}function z(je,et,tt,st,Xe){for(var Ke=[],Me=0,Ye=et.length;Me<Ye;++Me)We(et,String(Me))?Ke.push(te(je,et,tt,st,String(Me),!0)):Ke.push("");return Xe.forEach(function(Le){Le.match(/^\d+$/)||Ke.push(te(je,et,tt,st,Le,!0))}),Ke}function te(je,et,tt,st,Xe,Ke){var Me,Ye,Le;if(Le=Object.getOwnPropertyDescriptor(et,Xe)||{value:et[Xe]},Le.get?Le.set?Ye=je.stylize("[Getter/Setter]","special"):Ye=je.stylize("[Getter]","special"):Le.set&&(Ye=je.stylize("[Setter]","special")),We(st,Xe)||(Me="["+Xe+"]"),Ye||(je.seen.indexOf(Le.value)<0?(ve(tt)?Ye=y(je,Le.value,null):Ye=y(je,Le.value,tt-1),Ye.indexOf(`
`)>-1&&(Ke?Ye=Ye.split(`
`).map(function(Be){return" "+Be}).join(`
`).slice(2):Ye=`
`+Ye.split(`
`).map(function(Be){return" "+Be}).join(`
`))):Ye=je.stylize("[Circular]","special")),Pe(Me)){if(Ke&&Xe.match(/^\d+$/))return Ye;Me=JSON.stringify(""+Xe),Me.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Me=Me.slice(1,-1),Me=je.stylize(Me,"name")):(Me=Me.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Me=je.stylize(Me,"string"))}return Me+": "+Ye}function ce(je,et,tt){var st=0,Xe=je.reduce(function(Ke,Me){return st++,Me.indexOf(`
`)>=0&&st++,Ke+Me.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Xe>60?tt[0]+(et===""?"":et+`
`)+" "+je.join(`,
`)+" "+tt[1]:tt[0]+et+" "+je.join(", ")+" "+tt[1]}fe.types=E("./support/types");function ge(je){return Array.isArray(je)}fe.isArray=ge;function me(je){return typeof je=="boolean"}fe.isBoolean=me;function ve(je){return je===null}fe.isNull=ve;function pe(je){return je==null}fe.isNullOrUndefined=pe;function be(je){return typeof je=="number"}fe.isNumber=be;function ye(je){return typeof je=="string"}fe.isString=ye;function Ee(je){return typeof je=="symbol"}fe.isSymbol=Ee;function Pe(je){return je===void 0}fe.isUndefined=Pe;function Ae(je){return Ce(je)&&ke(je)==="[object RegExp]"}fe.isRegExp=Ae,fe.types.isRegExp=Ae;function Ce(je){return typeof je=="object"&&je!==null}fe.isObject=Ce;function _e(je){return Ce(je)&&ke(je)==="[object Date]"}fe.isDate=_e,fe.types.isDate=_e;function we(je){return Ce(je)&&(ke(je)==="[object Error]"||je instanceof Error)}fe.isError=we,fe.types.isNativeError=we;function Re(je){return typeof je=="function"}fe.isFunction=Re;function De(je){return je===null||typeof je=="boolean"||typeof je=="number"||typeof je=="string"||typeof je=="symbol"||typeof je=="undefined"}fe.isPrimitive=De,fe.isBuffer=E("./support/isBuffer");function ke(je){return Object.prototype.toString.call(je)}function Ie(je){return je<10?"0"+je.toString(10):je.toString(10)}var qe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Je(){var je=new Date,et=[Ie(je.getHours()),Ie(je.getMinutes()),Ie(je.getSeconds())].join(":");return[je.getDate(),qe[je.getMonth()],et].join(" ")}fe.log=function(){console.log("%s - %s",Je(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(je,et){if(!et||!Ce(et))return je;for(var tt=Object.keys(et),st=tt.length;st--;)je[tt[st]]=et[tt[st]];return je};function We(je,et){return Object.prototype.hasOwnProperty.call(je,et)}var Qe=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;fe.promisify=function(et){if(typeof et!="function")throw new TypeError('The "original" argument must be of type Function');if(Qe&&et[Qe]){var tt=et[Qe];if(typeof tt!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(tt,Qe,{value:tt,enumerable:!1,writable:!1,configurable:!0}),tt}function tt(){for(var st,Xe,Ke=new Promise(function(Le,Be){st=Le,Xe=Be}),Me=[],Ye=0;Ye<arguments.length;Ye++)Me.push(arguments[Ye]);Me.push(function(Le,Be){Le?Xe(Le):st(Be)});try{et.apply(this,Me)}catch(Le){Xe(Le)}return Ke}return Object.setPrototypeOf(tt,Object.getPrototypeOf(et)),Qe&&Object.defineProperty(tt,Qe,{value:tt,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(tt,re(et))},fe.promisify.custom=Qe;function He(je,et){if(!je){var tt=new Error("Promise was rejected with a falsy value");tt.reason=je,je=tt}return et(je)}function Fe(je){if(typeof je!="function")throw new TypeError('The "original" argument must be of type Function');function et(){for(var tt=[],st=0;st<arguments.length;st++)tt.push(arguments[st]);var Xe=tt.pop();if(typeof Xe!="function")throw new TypeError("The last argument must be of type Function");var Ke=this,Me=function(){return Xe.apply(Ke,arguments)};je.apply(this,tt).then(function(Ye){le.nextTick(Me.bind(null,null,Ye))},function(Ye){le.nextTick(He.bind(null,Ye,Me))})}return Object.setPrototypeOf(et,Object.getPrototypeOf(je)),Object.defineProperties(et,re(je)),et}fe.callbackify=Fe}).call(this)}).call(this,E("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(E,he,fe){(function(le){(function(){"use strict";var re=E("for-each"),se=E("available-typed-arrays"),ie=E("call-bind"),ue=E("call-bind/callBound"),ae=E("gopd"),oe=ue("Object.prototype.toString"),ne=E("has-tostringtag/shams")(),ee=typeof globalThis=="undefined"?le:globalThis,a=se(),y=ue("String.prototype.slice"),x=Object.getPrototypeOf,b=ue("Array.prototype.indexOf",!0)||function(me,ve){for(var pe=0;pe<me.length;pe+=1)if(me[pe]===ve)return pe;return-1},z={__proto__:null};ne&&ae&&x?re(a,function(ge){var me=new ee[ge];if(Symbol.toStringTag in me){var ve=x(me),pe=ae(ve,Symbol.toStringTag);if(!pe){var be=x(ve);pe=ae(be,Symbol.toStringTag)}z["$"+ge]=ie(pe.get)}}):re(a,function(ge){var me=new ee[ge];z["$"+ge]=ie(me.slice)});var te=function(me){var ve=!1;return re(z,function(pe,be){if(!ve)try{"$"+pe(me)===be&&(ve=y(be,1))}catch(ye){}}),ve},ce=function(me){var ve=!1;return re(z,function(pe,be){if(!ve)try{pe(me),ve=y(be,1)}catch(ye){}}),ve};he.exports=function(me){if(!me||typeof me!="object")return!1;if(!ne){var ve=y(oe(me),8,-1);return b(a,ve)>-1?ve:ve!=="Object"?!1:ce(me)}return ae?te(me):null}}).call(this)}).call(this,typeof gt!="undefined"?gt: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,fe){(function(){"use strict";fe.stripBOM=function(le){return le[0]==="\uFEFF"?le.substring(1):le}}).call(this)},{}],422:[function(E,he,fe){(function(){"use strict";var le,re,se,ie,ue,ae={}.hasOwnProperty;le=E("xmlbuilder"),re=E("./defaults").defaults,ie=function(oe){return typeof oe=="string"&&(oe.indexOf("&")>=0||oe.indexOf(">")>=0||oe.indexOf("<")>=0)},ue=function(oe){return"<![CDATA["+se(oe)+"]]>"},se=function(oe){return oe.replace("]]>","]]]]><![CDATA[>")},fe.Builder=function(){function oe(ne){var ee,a,y;this.options={},a=re["0.2"];for(ee in a)ae.call(a,ee)&&(y=a[ee],this.options[ee]=y);for(ee in ne)ae.call(ne,ee)&&(y=ne[ee],this.options[ee]=y)}return oe.prototype.buildObject=function(ne){var ee,a,y,x,b;return ee=this.options.attrkey,a=this.options.charkey,Object.keys(ne).length===1&&this.options.rootName===re["0.2"].rootName?(b=Object.keys(ne)[0],ne=ne[b]):b=this.options.rootName,y=function(z){return function(te,ce){var ge,me,ve,pe,be,ye;if(typeof ce!="object")z.options.cdata&&ie(ce)?te.raw(ue(ce)):te.txt(ce);else if(Array.isArray(ce)){for(pe in ce)if(ae.call(ce,pe)){me=ce[pe];for(be in me)ve=me[be],te=y(te.ele(be),ve).up()}}else for(be in ce)if(ae.call(ce,be))if(me=ce[be],be===ee){if(typeof me=="object")for(ge in me)ye=me[ge],te=te.att(ge,ye)}else if(be===a)z.options.cdata&&ie(me)?te=te.raw(ue(me)):te=te.txt(me);else if(Array.isArray(me))for(pe in me)ae.call(me,pe)&&(ve=me[pe],typeof ve=="string"?z.options.cdata&&ie(ve)?te=te.ele(be).raw(ue(ve)).up():te=te.ele(be,ve).up():te=y(te.ele(be),ve).up());else typeof me=="object"?te=y(te.ele(be),me).up():typeof me=="string"&&z.options.cdata&&ie(me)?te=te.ele(be).raw(ue(me)).up():(me==null&&(me=""),te=te.ele(be,me.toString()).up());return te}}(this),x=le.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ne).end(this.options.renderOpts)},oe}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,he,fe){(function(){fe.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,fe){(function(){"use strict";var le,re,se,ie,ue,ae,oe,ne,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 ce(){this.constructor=b}return ce.prototype=z.prototype,b.prototype=new ce,b.__super__=z.prototype,b},x={}.hasOwnProperty;ne=E("sax"),ie=E("events"),le=E("./bom"),oe=E("./processors"),ee=E("timers").setImmediate,re=E("./defaults").defaults,ue=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ae=function(b,z,te){var ce,ge,me;for(ce=0,ge=b.length;ce<ge;ce++)me=b[ce],z=me(z,te);return z},se=function(b,z,te){var ce;return ce=Object.create(null),ce.value=te,ce.writable=!0,ce.enumerable=!0,ce.configurable=!0,Object.defineProperty(b,z,ce)},fe.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 ce,ge,me;if(!(this instanceof fe.Parser))return new fe.Parser(te);this.options={},ge=re["0.2"];for(ce in ge)x.call(ge,ce)&&(me=ge[ce],this.options[ce]=me);for(ce in te)x.call(te,ce)&&(me=te[ce],this.options[ce]=me);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,ce;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(ge){if(ce=ge,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(ce)}},z.prototype.assignOrPush=function(te,ce,ge){return ce in te?(te[ce]instanceof Array||se(te,ce,[te[ce]]),te[ce].push(ge)):this.options.explicitArray?se(te,ce,[ge]):se(te,ce,ge)},z.prototype.reset=function(){var te,ce,ge,me;return this.removeAllListeners(),this.saxParser=ne.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(ve){return function(pe){if(ve.saxParser.resume(),!ve.saxParser.errThrown)return ve.saxParser.errThrown=!0,ve.emit("error",pe)}}(this),this.saxParser.onend=function(ve){return function(){if(!ve.saxParser.ended)return ve.saxParser.ended=!0,ve.emit("end",ve.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,me=[],te=this.options.attrkey,ce=this.options.charkey,this.saxParser.onopentag=function(ve){return function(pe){var be,ye,Ee,Pe,Ae;if(Ee={},Ee[ce]="",!ve.options.ignoreAttrs){Ae=pe.attributes;for(be in Ae)x.call(Ae,be)&&(!(te in Ee)&&!ve.options.mergeAttrs&&(Ee[te]={}),ye=ve.options.attrValueProcessors?ae(ve.options.attrValueProcessors,pe.attributes[be],be):pe.attributes[be],Pe=ve.options.attrNameProcessors?ae(ve.options.attrNameProcessors,be):be,ve.options.mergeAttrs?ve.assignOrPush(Ee,Pe,ye):se(Ee[te],Pe,ye))}return Ee["#name"]=ve.options.tagNameProcessors?ae(ve.options.tagNameProcessors,pe.name):pe.name,ve.options.xmlns&&(Ee[ve.options.xmlnskey]={uri:pe.uri,local:pe.local}),me.push(Ee)}}(this),this.saxParser.onclosetag=function(ve){return function(){var pe,be,ye,Ee,Pe,Ae,Ce,_e,we,Re;if(Ae=me.pop(),Pe=Ae["#name"],(!ve.options.explicitChildren||!ve.options.preserveChildrenOrder)&&delete Ae["#name"],Ae.cdata===!0&&(pe=Ae.cdata,delete Ae.cdata),we=me[me.length-1],Ae[ce].match(/^\s*$/)&&!pe?(be=Ae[ce],delete Ae[ce]):(ve.options.trim&&(Ae[ce]=Ae[ce].trim()),ve.options.normalize&&(Ae[ce]=Ae[ce].replace(/\s{2,}/g," ").trim()),Ae[ce]=ve.options.valueProcessors?ae(ve.options.valueProcessors,Ae[ce],Pe):Ae[ce],Object.keys(Ae).length===1&&ce in Ae&&!ve.EXPLICIT_CHARKEY&&(Ae=Ae[ce])),ue(Ae)&&(typeof ve.options.emptyTag=="function"?Ae=ve.options.emptyTag():Ae=ve.options.emptyTag!==""?ve.options.emptyTag:be),ve.options.validator!=null&&(Re="/"+function(){var De,ke,Ie;for(Ie=[],De=0,ke=me.length;De<ke;De++)Ee=me[De],Ie.push(Ee["#name"]);return Ie}().concat(Pe).join("/"),function(){var De;try{return Ae=ve.options.validator(Re,we&&we[Pe],Ae)}catch(ke){return De=ke,ve.emit("error",De)}}()),ve.options.explicitChildren&&!ve.options.mergeAttrs&&typeof Ae=="object"){if(!ve.options.preserveChildrenOrder)Ee={},ve.options.attrkey in Ae&&(Ee[ve.options.attrkey]=Ae[ve.options.attrkey],delete Ae[ve.options.attrkey]),!ve.options.charsAsChildren&&ve.options.charkey in Ae&&(Ee[ve.options.charkey]=Ae[ve.options.charkey],delete Ae[ve.options.charkey]),Object.getOwnPropertyNames(Ae).length>0&&(Ee[ve.options.childkey]=Ae),Ae=Ee;else if(we){we[ve.options.childkey]=we[ve.options.childkey]||[],Ce={};for(ye in Ae)x.call(Ae,ye)&&se(Ce,ye,Ae[ye]);we[ve.options.childkey].push(Ce),delete Ae["#name"],Object.keys(Ae).length===1&&ce in Ae&&!ve.EXPLICIT_CHARKEY&&(Ae=Ae[ce])}}return me.length>0?ve.assignOrPush(we,Pe,Ae):(ve.options.explicitRoot&&(_e=Ae,Ae={},se(Ae,Pe,_e)),ve.resultObject=Ae,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),ge=function(ve){return function(pe){var be,ye;if(ye=me[me.length-1],ye)return ye[ce]+=pe,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||pe.replace(/\\n/g,"").trim()!=="")&&(ye[ve.options.childkey]=ye[ve.options.childkey]||[],be={"#name":"__text__"},be[ce]=pe,ve.options.normalize&&(be[ce]=be[ce].replace(/\s{2,}/g," ").trim()),ye[ve.options.childkey].push(be)),ye}}(this),this.saxParser.ontext=ge,this.saxParser.oncdata=function(ve){return function(pe){var be;if(be=ge(pe),be)return be.cdata=!0}}(this)},z.prototype.parseString=function(te,ce){var ge;ce!=null&&typeof ce=="function"&&(this.on("end",function(me){return this.reset(),ce(null,me)}),this.on("error",function(me){return this.reset(),ce(me)}));try{return te=te.toString(),te.trim()===""?(this.emit("end",null),!0):(te=le.stripBOM(te),this.options.async?(this.remaining=te,ee(this.processAsync),this.saxParser):this.saxParser.write(te).close())}catch(me){if(ge=me,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw ge}else return this.emit("error",ge),this.saxParser.errThrown=!0}},z.prototype.parseStringPromise=function(te){return new Promise(function(ce){return function(ge,me){return ce.parseString(te,function(ve,pe){return ve?me(ve):ge(pe)})}}(this))},z}(ie),fe.parseString=function(b,z,te){var ce,ge,me;return te!=null?(typeof te=="function"&&(ce=te),typeof z=="object"&&(ge=z)):(typeof z=="function"&&(ce=z),ge={}),me=new fe.Parser(ge),me.parseString(b,ce)},fe.parseStringPromise=function(b,z){var te,ce;return typeof z=="object"&&(te=z),ce=new fe.Parser(te),ce.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,he,fe){(function(){"use strict";var le;le=new RegExp(/(?!xmlns)^.*:/),fe.normalize=function(re){return re.toLowerCase()},fe.firstCharLowerCase=function(re){return re.charAt(0).toLowerCase()+re.slice(1)},fe.stripPrefix=function(re){return re.replace(le,"")},fe.parseNumbers=function(re){return isNaN(re)||(re=re%1===0?parseInt(re,10):parseFloat(re)),re},fe.parseBooleans=function(re){return/^(?:true|false)$/i.test(re)&&(re=re.toLowerCase()==="true"),re}}).call(this)},{}],426:[function(E,he,fe){(function(){"use strict";var le,re,se,ie,ue=function(oe,ne){for(var ee in ne)ae.call(ne,ee)&&(oe[ee]=ne[ee]);function a(){this.constructor=oe}return a.prototype=ne.prototype,oe.prototype=new a,oe.__super__=ne.prototype,oe},ae={}.hasOwnProperty;re=E("./defaults"),le=E("./builder"),se=E("./parser"),ie=E("./processors"),fe.defaults=re.defaults,fe.processors=ie,fe.ValidationError=function(oe){ue(ne,oe);function ne(ee){this.message=ee}return ne}(Error),fe.Builder=le.Builder,fe.Parser=se.Parser,fe.parseString=se.parseString,fe.parseStringPromise=se.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,he,fe){(function(){he.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,he,fe){(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,fe){(function(){var le,re,se,ie,ue,ae,oe,ne=[].slice,ee={}.hasOwnProperty;le=function(){var a,y,x,b,z,te;if(te=arguments[0],z=2<=arguments.length?ne.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")},se=function(a){return ue(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},ie=function(a){var y;if(se(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)},re=function(a){return ue(a.valueOf)?a.valueOf():a},he.exports.assign=le,he.exports.isFunction=ue,he.exports.isObject=ae,he.exports.isArray=se,he.exports.isEmpty=ie,he.exports.isPlainObject=oe,he.exports.getValue=re}).call(this)},{}],430:[function(E,he,fe){(function(){he.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(E,he,fe){(function(){var le,re,se;le=E("./NodeType"),se=E("./XMLNode"),he.exports=re=function(){function ie(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=le.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(ie.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(ie.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(ie.prototype,"textContent",{get:function(){return this.value},set:function(ue){return this.value=ue||""}}),Object.defineProperty(ie.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(ie.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(ie.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(ie.prototype,"specified",{get:function(){return!0}}),ie.prototype.clone=function(){return Object.create(this)},ie.prototype.toString=function(ue){return this.options.writer.attribute(this,this.options.writer.filterOptions(ue))},ie.prototype.debugInfo=function(ue){return ue=ue||this.name,ue==null?"parent: <"+this.parent.name+">":"attribute: {"+ue+"}, parent: <"+this.parent.name+">"},ie.prototype.isEqualNode=function(ue){return!(ue.namespaceURI!==this.namespaceURI||ue.prefix!==this.prefix||ue.localName!==this.localName||ue.value!==this.value)},ie}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,he,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;le=E("./NodeType"),se=E("./XMLCharacterData"),he.exports=re=function(ae){ie(oe,ae);function oe(ne,ee){if(oe.__super__.constructor.call(this,ne),ee==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=le.CData,this.value=this.stringify.cdata(ee)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.cdata(this,this.options.writer.filterOptions(ne))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,he,fe){(function(){var le,re,se=function(ue,ae){for(var oe in ae)ie.call(ae,oe)&&(ue[oe]=ae[oe]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},ie={}.hasOwnProperty;re=E("./XMLNode"),he.exports=le=function(ue){se(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,ne){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,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.deleteData=function(oe,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.replaceData=function(oe,ne,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}(re)}).call(this)},{"./XMLNode":450}],434:[function(E,he,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;le=E("./NodeType"),re=E("./XMLCharacterData"),he.exports=se=function(ae){ie(oe,ae);function oe(ne,ee){if(oe.__super__.constructor.call(this,ne),ee==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=le.Comment,this.value=this.stringify.comment(ee)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.comment(this,this.options.writer.filterOptions(ne))},oe}(re)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,he,fe){(function(){var le,re,se;re=E("./XMLDOMErrorHandler"),se=E("./XMLDOMStringList"),he.exports=le=function(){function ie(){var ue;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new re,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(ie.prototype,"parameterNames",{get:function(){return new se(Object.keys(this.defaultParams))}}),ie.prototype.getParameter=function(ue){return this.params.hasOwnProperty(ue)?this.params[ue]:null},ie.prototype.canSetParameter=function(ue,ae){return!0},ie.prototype.setParameter=function(ue,ae){return ae!=null?this.params[ue]=ae:delete this.params[ue]},ie}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,he,fe){(function(){var le;he.exports=le=function(){function re(){}return re.prototype.handleError=function(se){throw new Error(se)},re}()}).call(this)},{}],437:[function(E,he,fe){(function(){var le;he.exports=le=function(){function re(){}return re.prototype.hasFeature=function(se,ie){return!0},re.prototype.createDocumentType=function(se,ie,ue){throw new Error("This DOM method is not implemented.")},re.prototype.createDocument=function(se,ie,ue){throw new Error("This DOM method is not implemented.")},re.prototype.createHTMLDocument=function(se){throw new Error("This DOM method is not implemented.")},re.prototype.getFeature=function(se,ie){throw new Error("This DOM method is not implemented.")},re}()}).call(this)},{}],438:[function(E,he,fe){(function(){var le;he.exports=le=function(){function re(se){this.arr=se||[]}return Object.defineProperty(re.prototype,"length",{get:function(){return this.arr.length}}),re.prototype.item=function(se){return this.arr[se]||null},re.prototype.contains=function(se){return this.arr.indexOf(se)!==-1},re}()}).call(this)},{}],439:[function(E,he,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),he.exports=re=function(ae){ie(oe,ae);function oe(ne,ee,a,y,x,b){if(oe.__super__.constructor.call(this,ne),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=le.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(ne){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ne))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,he,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),he.exports=re=function(ae){ie(oe,ae);function oe(ne,ee,a){if(oe.__super__.constructor.call(this,ne),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=le.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return oe.prototype.toString=function(ne){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ne))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,he,fe){(function(){var le,re,se,ie,ue=function(oe,ne){for(var ee in ne)ae.call(ne,ee)&&(oe[ee]=ne[ee]);function a(){this.constructor=oe}return a.prototype=ne.prototype,oe.prototype=new a,oe.__super__=ne.prototype,oe},ae={}.hasOwnProperty;ie=E("./Utility").isObject,se=E("./XMLNode"),le=E("./NodeType"),he.exports=re=function(oe){ue(ne,oe);function ne(ee,a,y,x){if(ne.__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=le.EntityDeclaration,!ie(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(ne.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ne.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ne.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ne.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlVersion",{get:function(){return null}}),ne.prototype.toString=function(ee){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ee))},ne}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,he,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),he.exports=re=function(ae){ie(oe,ae);function oe(ne,ee,a){if(oe.__super__.constructor.call(this,ne),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=le.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(ne){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ne))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,he,fe){(function(){var le,re,se,ie,ue=function(oe,ne){for(var ee in ne)ae.call(ne,ee)&&(oe[ee]=ne[ee]);function a(){this.constructor=oe}return a.prototype=ne.prototype,oe.prototype=new a,oe.__super__=ne.prototype,oe},ae={}.hasOwnProperty;ie=E("./Utility").isObject,se=E("./XMLNode"),le=E("./NodeType"),he.exports=re=function(oe){ue(ne,oe);function ne(ee,a,y,x){var b;ne.__super__.constructor.call(this,ee),ie(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=le.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ne.prototype.toString=function(ee){return this.options.writer.declaration(this,this.options.writer.filterOptions(ee))},ne}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,he,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,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,ne=E("./XMLNode"),le=E("./NodeType"),re=E("./XMLDTDAttList"),ie=E("./XMLDTDEntity"),se=E("./XMLDTDElement"),ue=E("./XMLDTDNotation"),oe=E("./XMLNamedNodeMap"),he.exports=ae=function(x){a(b,x);function b(z,te,ce){var ge,me,ve,pe,be,ye;if(b.__super__.constructor.call(this,z),this.type=le.DocType,z.children){for(pe=z.children,me=0,ve=pe.length;me<ve;me++)if(ge=pe[me],ge.type===le.Element){this.name=ge.name;break}}this.documentObject=z,ee(te)&&(be=te,te=be.pubID,ce=be.sysID),ce==null&&(ye=[te,ce],ce=ye[0],te=ye[1]),te!=null&&(this.pubID=this.stringify.dtdPubID(te)),ce!=null&&(this.sysID=this.stringify.dtdSysID(ce))}return Object.defineProperty(b.prototype,"entities",{get:function(){var z,te,ce,ge,me;for(ge={},me=this.children,te=0,ce=me.length;te<ce;te++)z=me[te],z.type===le.EntityDeclaration&&!z.pe&&(ge[z.name]=z);return new oe(ge)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var z,te,ce,ge,me;for(ge={},me=this.children,te=0,ce=me.length;te<ce;te++)z=me[te],z.type===le.NotationDeclaration&&(ge[z.name]=z);return new oe(ge)}}),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 ce;return ce=new se(this,z,te),this.children.push(ce),this},b.prototype.attList=function(z,te,ce,ge,me){var ve;return ve=new re(this,z,te,ce,ge,me),this.children.push(ve),this},b.prototype.entity=function(z,te){var ce;return ce=new ie(this,!1,z,te),this.children.push(ce),this},b.prototype.pEntity=function(z,te){var ce;return ce=new ie(this,!0,z,te),this.children.push(ce),this},b.prototype.notation=function(z,te){var ce;return ce=new ue(this,z,te),this.children.push(ce),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,ce,ge,me){return this.attList(z,te,ce,ge,me)},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}(ne)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(E,he,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,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;ne=E("./Utility").isPlainObject,se=E("./XMLDOMImplementation"),re=E("./XMLDOMConfiguration"),ue=E("./XMLNode"),le=E("./NodeType"),oe=E("./XMLStringifier"),ae=E("./XMLStringWriter"),he.exports=ie=function(y){ee(x,y);function x(b){x.__super__.constructor.call(this,null),this.name="#document",this.type=le.Document,this.documentURI=null,this.domConfig=new re,b||(b={}),b.writer||(b.writer=new ae),this.options=b,this.stringify=new oe(b)}return Object.defineProperty(x.prototype,"implementation",{value:new se}),Object.defineProperty(x.prototype,"doctype",{get:function(){var b,z,te,ce;for(ce=this.children,z=0,te=ce.length;z<te;z++)if(b=ce[z],b.type===le.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===le.Declaration?this.children[0].encoding:null}}),Object.defineProperty(x.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===le.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(x.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===le.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?ne(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,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,ee,a,y,x,b,z,te,ce,ge,me,ve,pe,be,ye,Ee,Pe,Ae={}.hasOwnProperty;Pe=E("./Utility"),ye=Pe.isObject,be=Pe.isFunction,Ee=Pe.isPlainObject,pe=Pe.getValue,le=E("./NodeType"),x=E("./XMLDocument"),z=E("./XMLElement"),ie=E("./XMLCData"),ue=E("./XMLComment"),ce=E("./XMLRaw"),ve=E("./XMLText"),te=E("./XMLProcessingInstruction"),a=E("./XMLDeclaration"),y=E("./XMLDocType"),ae=E("./XMLDTDAttList"),ne=E("./XMLDTDEntity"),oe=E("./XMLDTDElement"),ee=E("./XMLDTDNotation"),se=E("./XMLAttribute"),me=E("./XMLStringifier"),ge=E("./XMLStringWriter"),re=E("./WriterState"),he.exports=b=function(){function Ce(_e,we,Re){var De;this.name="?xml",this.type=le.Document,_e||(_e={}),De={},_e.writer?Ee(_e.writer)&&(De=_e.writer,_e.writer=new ge):_e.writer=new ge,this.options=_e,this.writer=_e.writer,this.writerOptions=this.writer.filterOptions(De),this.stringify=new me(_e),this.onDataCallback=we||function(){},this.onEndCallback=Re||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return Ce.prototype.createChildNode=function(_e){var we,Re,De,ke,Ie,qe,Je,We;switch(_e.type){case le.CData:this.cdata(_e.value);break;case le.Comment:this.comment(_e.value);break;case le.Element:De={},Je=_e.attribs;for(Re in Je)Ae.call(Je,Re)&&(we=Je[Re],De[Re]=we.value);this.node(_e.name,De);break;case le.Dummy:this.dummy();break;case le.Raw:this.raw(_e.value);break;case le.Text:this.text(_e.value);break;case le.ProcessingInstruction:this.instruction(_e.target,_e.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+_e.constructor.name)}for(We=_e.children,Ie=0,qe=We.length;Ie<qe;Ie++)ke=We[Ie],this.createChildNode(ke),ke.type===le.Element&&this.up();return this},Ce.prototype.dummy=function(){return this},Ce.prototype.node=function(_e,we,Re){var De;if(_e==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(_e));return this.openCurrent(),_e=pe(_e),we==null&&(we={}),we=pe(we),ye(we)||(De=[we,Re],Re=De[0],we=De[1]),this.currentNode=new z(this,_e,we),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Re!=null&&this.text(Re),this},Ce.prototype.element=function(_e,we,Re){var De,ke,Ie,qe,Je,We;if(this.currentNode&&this.currentNode.type===le.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(_e)||ye(_e)||be(_e))for(qe=this.options.noValidation,this.options.noValidation=!0,We=new x(this.options).element("TEMP_ROOT"),We.element(_e),this.options.noValidation=qe,Je=We.children,ke=0,Ie=Je.length;ke<Ie;ke++)De=Je[ke],this.createChildNode(De),De.type===le.Element&&this.up();else this.node(_e,we,Re);return this},Ce.prototype.attribute=function(_e,we){var Re,De;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(_e));if(_e!=null&&(_e=pe(_e)),ye(_e))for(Re in _e)Ae.call(_e,Re)&&(De=_e[Re],this.attribute(Re,De));else be(we)&&(we=we.apply()),this.options.keepNullAttributes&&we==null?this.currentNode.attribs[_e]=new se(this,_e,""):we!=null&&(this.currentNode.attribs[_e]=new se(this,_e,we));return this},Ce.prototype.text=function(_e){var we;return this.openCurrent(),we=new ve(this,_e),this.onData(this.writer.text(we,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.cdata=function(_e){var we;return this.openCurrent(),we=new ie(this,_e),this.onData(this.writer.cdata(we,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.comment=function(_e){var we;return this.openCurrent(),we=new ue(this,_e),this.onData(this.writer.comment(we,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.raw=function(_e){var we;return this.openCurrent(),we=new ce(this,_e),this.onData(this.writer.raw(we,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.instruction=function(_e,we){var Re,De,ke,Ie,qe;if(this.openCurrent(),_e!=null&&(_e=pe(_e)),we!=null&&(we=pe(we)),Array.isArray(_e))for(Re=0,Ie=_e.length;Re<Ie;Re++)De=_e[Re],this.instruction(De);else if(ye(_e))for(De in _e)Ae.call(_e,De)&&(ke=_e[De],this.instruction(De,ke));else be(we)&&(we=we.apply()),qe=new te(this,_e,we),this.onData(this.writer.processingInstruction(qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},Ce.prototype.declaration=function(_e,we,Re){var De;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return De=new a(this,_e,we,Re),this.onData(this.writer.declaration(De,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.doctype=function(_e,we,Re){if(this.openCurrent(),_e==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,we,Re),this.currentNode.rootNodeName=_e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},Ce.prototype.dtdElement=function(_e,we){var Re;return this.openCurrent(),Re=new oe(this,_e,we),this.onData(this.writer.dtdElement(Re,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.attList=function(_e,we,Re,De,ke){var Ie;return this.openCurrent(),Ie=new ae(this,_e,we,Re,De,ke),this.onData(this.writer.dtdAttList(Ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.entity=function(_e,we){var Re;return this.openCurrent(),Re=new ne(this,!1,_e,we),this.onData(this.writer.dtdEntity(Re,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.pEntity=function(_e,we){var Re;return this.openCurrent(),Re=new ne(this,!0,_e,we),this.onData(this.writer.dtdEntity(Re,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.notation=function(_e,we){var Re;return this.openCurrent(),Re=new ee(this,_e,we),this.onData(this.writer.dtdNotation(Re,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.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},Ce.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},Ce.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ce.prototype.openNode=function(_e){var we,Re,De,ke;if(!_e.isOpen){if(!this.root&&this.currentLevel===0&&_e.type===le.Element&&(this.root=_e),Re="",_e.type===le.Element){this.writerOptions.state=re.OpenTag,Re=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"<"+_e.name,ke=_e.attribs;for(De in ke)Ae.call(ke,De)&&(we=ke[De],Re+=this.writer.attribute(we,this.writerOptions,this.currentLevel));Re+=(_e.children?">":"/>")+this.writer.endline(_e,this.writerOptions,this.currentLevel),this.writerOptions.state=re.InsideTag}else this.writerOptions.state=re.OpenTag,Re=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+_e.rootNodeName,_e.pubID&&_e.sysID?Re+=' PUBLIC "'+_e.pubID+'" "'+_e.sysID+'"':_e.sysID&&(Re+=' SYSTEM "'+_e.sysID+'"'),_e.children?(Re+=" [",this.writerOptions.state=re.InsideTag):(this.writerOptions.state=re.CloseTag,Re+=">"),Re+=this.writer.endline(_e,this.writerOptions,this.currentLevel);return this.onData(Re,this.currentLevel),_e.isOpen=!0}},Ce.prototype.closeNode=function(_e){var we;if(!_e.isClosed)return we="",this.writerOptions.state=re.CloseTag,_e.type===le.Element?we=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"</"+_e.name+">"+this.writer.endline(_e,this.writerOptions,this.currentLevel):we=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(_e,this.writerOptions,this.currentLevel),this.writerOptions.state=re.None,this.onData(we,this.currentLevel),_e.isClosed=!0},Ce.prototype.onData=function(_e,we){return this.documentStarted=!0,this.onDataCallback(_e,we+1)},Ce.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ce.prototype.debugInfo=function(_e){return _e==null?"":"node: <"+_e+">"},Ce.prototype.ele=function(){return this.element.apply(this,arguments)},Ce.prototype.nod=function(_e,we,Re){return this.node(_e,we,Re)},Ce.prototype.txt=function(_e){return this.text(_e)},Ce.prototype.dat=function(_e){return this.cdata(_e)},Ce.prototype.com=function(_e){return this.comment(_e)},Ce.prototype.ins=function(_e,we){return this.instruction(_e,we)},Ce.prototype.dec=function(_e,we,Re){return this.declaration(_e,we,Re)},Ce.prototype.dtd=function(_e,we,Re){return this.doctype(_e,we,Re)},Ce.prototype.e=function(_e,we,Re){return this.element(_e,we,Re)},Ce.prototype.n=function(_e,we,Re){return this.node(_e,we,Re)},Ce.prototype.t=function(_e){return this.text(_e)},Ce.prototype.d=function(_e){return this.cdata(_e)},Ce.prototype.c=function(_e){return this.comment(_e)},Ce.prototype.r=function(_e){return this.raw(_e)},Ce.prototype.i=function(_e,we){return this.instruction(_e,we)},Ce.prototype.att=function(){return this.currentNode&&this.currentNode.type===le.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.a=function(){return this.currentNode&&this.currentNode.type===le.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.ent=function(_e,we){return this.entity(_e,we)},Ce.prototype.pent=function(_e,we){return this.pEntity(_e,we)},Ce.prototype.not=function(_e,we){return this.notation(_e,we)},Ce}()}).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,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),he.exports=re=function(ae){ie(oe,ae);function oe(ne){oe.__super__.constructor.call(this,ne),this.type=le.Dummy}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return""},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,he,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,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"),ne=ee.isObject,oe=ee.isFunction,ae=ee.getValue,ue=E("./XMLNode"),le=E("./NodeType"),re=E("./XMLAttribute"),ie=E("./XMLNamedNodeMap"),he.exports=se=function(x){a(b,x);function b(z,te,ce){var ge,me,ve,pe;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=le.Element,this.attribs={},this.schemaTypeInfo=null,ce!=null&&this.attribute(ce),z.type===le.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(pe=z.children,me=0,ve=pe.length;me<ve;me++)if(ge=pe[me],ge.type===le.DocType){ge.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 ie(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var z,te,ce,ge;ce=Object.create(this),ce.isRoot&&(ce.documentObject=null),ce.attribs={},ge=this.attribs;for(te in ge)y.call(ge,te)&&(z=ge[te],ce.attribs[te]=z.clone());return ce.children=[],this.children.forEach(function(me){var ve;return ve=me.clone(),ve.parent=ce,ce.children.push(ve)}),ce},b.prototype.attribute=function(z,te){var ce,ge;if(z!=null&&(z=ae(z)),ne(z))for(ce in z)y.call(z,ce)&&(ge=z[ce],this.attribute(ce,ge));else oe(te)&&(te=te.apply()),this.options.keepNullAttributes&&te==null?this.attribs[z]=new re(this,z,""):te!=null&&(this.attribs[z]=new re(this,z,te));return this},b.prototype.removeAttribute=function(z){var te,ce,ge;if(z==null)throw new Error("Missing attribute name. "+this.debugInfo());if(z=ae(z),Array.isArray(z))for(ce=0,ge=z.length;ce<ge;ce++)te=z[ce],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,ce){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,ce){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,ce,ge;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=ce=0,ge=this.attribs.length-1;0<=ge?ce<=ge:ce>=ge;te=0<=ge?++ce:--ce)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,fe){(function(){var le;he.exports=le=function(){function re(se){this.nodes=se}return Object.defineProperty(re.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),re.prototype.clone=function(){return this.nodes=null},re.prototype.getNamedItem=function(se){return this.nodes[se]},re.prototype.setNamedItem=function(se){var ie;return ie=this.nodes[se.nodeName],this.nodes[se.nodeName]=se,ie||null},re.prototype.removeNamedItem=function(se){var ie;return ie=this.nodes[se],delete this.nodes[se],ie||null},re.prototype.item=function(se){return this.nodes[Object.keys(this.nodes)[se]]||null},re.prototype.getNamedItemNS=function(se,ie){throw new Error("This DOM method is not implemented.")},re.prototype.setNamedItemNS=function(se){throw new Error("This DOM method is not implemented.")},re.prototype.removeNamedItemNS=function(se,ie){throw new Error("This DOM method is not implemented.")},re}()}).call(this)},{}],450:[function(E,he,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,ee,a,y,x,b,z,te,ce,ge,me,ve,pe={}.hasOwnProperty;ve=E("./Utility"),me=ve.isObject,ge=ve.isFunction,ce=ve.isEmpty,te=ve.getValue,ne=null,se=null,ie=null,ue=null,ae=null,b=null,z=null,x=null,oe=null,re=null,y=null,ee=null,le=null,he.exports=a=function(){function be(ye){this.parent=ye,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ne||(ne=E("./XMLElement"),se=E("./XMLCData"),ie=E("./XMLComment"),ue=E("./XMLDeclaration"),ae=E("./XMLDocType"),b=E("./XMLRaw"),z=E("./XMLText"),x=E("./XMLProcessingInstruction"),oe=E("./XMLDummy"),re=E("./NodeType"),y=E("./XMLNodeList"),ee=E("./XMLNamedNodeMap"),le=E("./DocumentPosition"))}return Object.defineProperty(be.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(be.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(be.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(be.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(be.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(be.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(be.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(be.prototype,"previousSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye-1]||null}}),Object.defineProperty(be.prototype,"nextSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye+1]||null}}),Object.defineProperty(be.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(be.prototype,"textContent",{get:function(){var ye,Ee,Pe,Ae,Ce;if(this.nodeType===re.Element||this.nodeType===re.DocumentFragment){for(Ce="",Ae=this.children,Ee=0,Pe=Ae.length;Ee<Pe;Ee++)ye=Ae[Ee],ye.textContent&&(Ce+=ye.textContent);return Ce}else return null},set:function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),be.prototype.setParent=function(ye){var Ee,Pe,Ae,Ce,_e;for(this.parent=ye,ye&&(this.options=ye.options,this.stringify=ye.stringify),Ce=this.children,_e=[],Pe=0,Ae=Ce.length;Pe<Ae;Pe++)Ee=Ce[Pe],_e.push(Ee.setParent(this));return _e},be.prototype.element=function(ye,Ee,Pe){var Ae,Ce,_e,we,Re,De,ke,Ie,qe,Je,We;if(De=null,Ee===null&&Pe==null&&(qe=[{},null],Ee=qe[0],Pe=qe[1]),Ee==null&&(Ee={}),Ee=te(Ee),me(Ee)||(Je=[Ee,Pe],Pe=Je[0],Ee=Je[1]),ye!=null&&(ye=te(ye)),Array.isArray(ye))for(_e=0,ke=ye.length;_e<ke;_e++)Ce=ye[_e],De=this.element(Ce);else if(ge(ye))De=this.element(ye.apply());else if(me(ye)){for(Re in ye)if(pe.call(ye,Re))if(We=ye[Re],ge(We)&&(We=We.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Re.indexOf(this.stringify.convertAttKey)===0)De=this.attribute(Re.substr(this.stringify.convertAttKey.length),We);else if(!this.options.separateArrayItems&&Array.isArray(We)&&ce(We))De=this.dummy();else if(me(We)&&ce(We))De=this.element(Re);else if(!this.options.keepNullNodes&&We==null)De=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(We))for(we=0,Ie=We.length;we<Ie;we++)Ce=We[we],Ae={},Ae[Re]=Ce,De=this.element(Ae);else me(We)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Re.indexOf(this.stringify.convertTextKey)===0?De=this.element(We):(De=this.element(Re),De.element(We)):De=this.element(Re,We)}else!this.options.keepNullNodes&&Pe===null?De=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&ye.indexOf(this.stringify.convertTextKey)===0?De=this.text(Pe):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&ye.indexOf(this.stringify.convertCDataKey)===0?De=this.cdata(Pe):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&ye.indexOf(this.stringify.convertCommentKey)===0?De=this.comment(Pe):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&ye.indexOf(this.stringify.convertRawKey)===0?De=this.raw(Pe):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&ye.indexOf(this.stringify.convertPIKey)===0?De=this.instruction(ye.substr(this.stringify.convertPIKey.length),Pe):De=this.node(ye,Ee,Pe);if(De==null)throw new Error("Could not create any elements with: "+ye+". "+this.debugInfo());return De},be.prototype.insertBefore=function(ye,Ee,Pe){var Ae,Ce,_e,we,Re;if(ye!=null&&ye.type)return _e=ye,we=Ee,_e.setParent(this),we?(Ce=children.indexOf(we),Re=children.splice(Ce),children.push(_e),Array.prototype.push.apply(children,Re)):children.push(_e),_e;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ye));return Ce=this.parent.children.indexOf(this),Re=this.parent.children.splice(Ce),Ae=this.parent.element(ye,Ee,Pe),Array.prototype.push.apply(this.parent.children,Re),Ae},be.prototype.insertAfter=function(ye,Ee,Pe){var Ae,Ce,_e;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ye));return Ce=this.parent.children.indexOf(this),_e=this.parent.children.splice(Ce+1),Ae=this.parent.element(ye,Ee,Pe),Array.prototype.push.apply(this.parent.children,_e),Ae},be.prototype.remove=function(){var ye,Ee;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(Ee=[])),this.parent},be.prototype.node=function(ye,Ee,Pe){var Ae,Ce;return ye!=null&&(ye=te(ye)),Ee||(Ee={}),Ee=te(Ee),me(Ee)||(Ce=[Ee,Pe],Pe=Ce[0],Ee=Ce[1]),Ae=new ne(this,ye,Ee),Pe!=null&&Ae.text(Pe),this.children.push(Ae),Ae},be.prototype.text=function(ye){var Ee;return me(ye)&&this.element(ye),Ee=new z(this,ye),this.children.push(Ee),this},be.prototype.cdata=function(ye){var Ee;return Ee=new se(this,ye),this.children.push(Ee),this},be.prototype.comment=function(ye){var Ee;return Ee=new ie(this,ye),this.children.push(Ee),this},be.prototype.commentBefore=function(ye){var Ee,Pe,Ae;return Pe=this.parent.children.indexOf(this),Ae=this.parent.children.splice(Pe),Ee=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,Ae),this},be.prototype.commentAfter=function(ye){var Ee,Pe,Ae;return Pe=this.parent.children.indexOf(this),Ae=this.parent.children.splice(Pe+1),Ee=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,Ae),this},be.prototype.raw=function(ye){var Ee;return Ee=new b(this,ye),this.children.push(Ee),this},be.prototype.dummy=function(){var ye;return ye=new oe(this),ye},be.prototype.instruction=function(ye,Ee){var Pe,Ae,Ce,_e,we;if(ye!=null&&(ye=te(ye)),Ee!=null&&(Ee=te(Ee)),Array.isArray(ye))for(_e=0,we=ye.length;_e<we;_e++)Pe=ye[_e],this.instruction(Pe);else if(me(ye))for(Pe in ye)pe.call(ye,Pe)&&(Ae=ye[Pe],this.instruction(Pe,Ae));else ge(Ee)&&(Ee=Ee.apply()),Ce=new x(this,ye,Ee),this.children.push(Ce);return this},be.prototype.instructionBefore=function(ye,Ee){var Pe,Ae,Ce;return Ae=this.parent.children.indexOf(this),Ce=this.parent.children.splice(Ae),Pe=this.parent.instruction(ye,Ee),Array.prototype.push.apply(this.parent.children,Ce),this},be.prototype.instructionAfter=function(ye,Ee){var Pe,Ae,Ce;return Ae=this.parent.children.indexOf(this),Ce=this.parent.children.splice(Ae+1),Pe=this.parent.instruction(ye,Ee),Array.prototype.push.apply(this.parent.children,Ce),this},be.prototype.declaration=function(ye,Ee,Pe){var Ae,Ce;return Ae=this.document(),Ce=new ue(Ae,ye,Ee,Pe),Ae.children.length===0?Ae.children.unshift(Ce):Ae.children[0].type===re.Declaration?Ae.children[0]=Ce:Ae.children.unshift(Ce),Ae.root()||Ae},be.prototype.dtd=function(ye,Ee){var Pe,Ae,Ce,_e,we,Re,De,ke,Ie,qe;for(Ae=this.document(),Ce=new ae(Ae,ye,Ee),Ie=Ae.children,_e=we=0,De=Ie.length;we<De;_e=++we)if(Pe=Ie[_e],Pe.type===re.DocType)return Ae.children[_e]=Ce,Ce;for(qe=Ae.children,_e=Re=0,ke=qe.length;Re<ke;_e=++Re)if(Pe=qe[_e],Pe.isRoot)return Ae.children.splice(_e,0,Ce),Ce;return Ae.children.push(Ce),Ce},be.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},be.prototype.root=function(){var ye;for(ye=this;ye;){if(ye.type===re.Document)return ye.rootObject;if(ye.isRoot)return ye;ye=ye.parent}},be.prototype.document=function(){var ye;for(ye=this;ye;){if(ye.type===re.Document)return ye;ye=ye.parent}},be.prototype.end=function(ye){return this.document().end(ye)},be.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]},be.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]},be.prototype.importDocument=function(ye){var Ee;return Ee=ye.root().clone(),Ee.parent=this,Ee.isRoot=!1,this.children.push(Ee),this},be.prototype.debugInfo=function(ye){var Ee,Pe;return ye=ye||this.name,ye==null&&!((Ee=this.parent)!=null&&Ee.name)?"":ye==null?"parent: <"+this.parent.name+">":(Pe=this.parent)!=null&&Pe.name?"node: <"+ye+">, parent: <"+this.parent.name+">":"node: <"+ye+">"},be.prototype.ele=function(ye,Ee,Pe){return this.element(ye,Ee,Pe)},be.prototype.nod=function(ye,Ee,Pe){return this.node(ye,Ee,Pe)},be.prototype.txt=function(ye){return this.text(ye)},be.prototype.dat=function(ye){return this.cdata(ye)},be.prototype.com=function(ye){return this.comment(ye)},be.prototype.ins=function(ye,Ee){return this.instruction(ye,Ee)},be.prototype.doc=function(){return this.document()},be.prototype.dec=function(ye,Ee,Pe){return this.declaration(ye,Ee,Pe)},be.prototype.e=function(ye,Ee,Pe){return this.element(ye,Ee,Pe)},be.prototype.n=function(ye,Ee,Pe){return this.node(ye,Ee,Pe)},be.prototype.t=function(ye){return this.text(ye)},be.prototype.d=function(ye){return this.cdata(ye)},be.prototype.c=function(ye){return this.comment(ye)},be.prototype.r=function(ye){return this.raw(ye)},be.prototype.i=function(ye,Ee){return this.instruction(ye,Ee)},be.prototype.u=function(){return this.up()},be.prototype.importXMLBuilder=function(ye){return this.importDocument(ye)},be.prototype.replaceChild=function(ye,Ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.removeChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.appendChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.hasChildNodes=function(){return this.children.length!==0},be.prototype.cloneNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.isSupported=function(ye,Ee){return!0},be.prototype.hasAttributes=function(){return this.attribs.length!==0},be.prototype.compareDocumentPosition=function(ye){var Ee,Pe;return Ee=this,Ee===ye?0:this.document()!==ye.document()?(Pe=le.Disconnected|le.ImplementationSpecific,Math.random()<.5?Pe|=le.Preceding:Pe|=le.Following,Pe):Ee.isAncestor(ye)?le.Contains|le.Preceding:Ee.isDescendant(ye)?le.Contains|le.Following:Ee.isPreceding(ye)?le.Preceding:le.Following},be.prototype.isSameNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.lookupPrefix=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.isDefaultNamespace=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.lookupNamespaceURI=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.isEqualNode=function(ye){var Ee,Pe,Ae;if(ye.nodeType!==this.nodeType||ye.children.length!==this.children.length)return!1;for(Ee=Pe=0,Ae=this.children.length-1;0<=Ae?Pe<=Ae:Pe>=Ae;Ee=0<=Ae?++Pe:--Pe)if(!this.children[Ee].isEqualNode(ye.children[Ee]))return!1;return!0},be.prototype.getFeature=function(ye,Ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.setUserData=function(ye,Ee,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.getUserData=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.contains=function(ye){return ye?ye===this||this.isDescendant(ye):!1},be.prototype.isDescendant=function(ye){var Ee,Pe,Ae,Ce,_e;for(_e=this.children,Ae=0,Ce=_e.length;Ae<Ce;Ae++)if(Ee=_e[Ae],ye===Ee||(Pe=Ee.isDescendant(ye),Pe))return!0;return!1},be.prototype.isAncestor=function(ye){return ye.isDescendant(this)},be.prototype.isPreceding=function(ye){var Ee,Pe;return Ee=this.treePosition(ye),Pe=this.treePosition(this),Ee===-1||Pe===-1?!1:Ee<Pe},be.prototype.isFollowing=function(ye){var Ee,Pe;return Ee=this.treePosition(ye),Pe=this.treePosition(this),Ee===-1||Pe===-1?!1:Ee>Pe},be.prototype.treePosition=function(ye){var Ee,Pe;return Pe=0,Ee=!1,this.foreachTreeNode(this.document(),function(Ae){if(Pe++,!Ee&&Ae===ye)return Ee=!0}),Ee?Pe:-1},be.prototype.foreachTreeNode=function(ye,Ee){var Pe,Ae,Ce,_e,we;for(ye||(ye=this.document()),_e=ye.children,Ae=0,Ce=_e.length;Ae<Ce;Ae++){if(Pe=_e[Ae],we=Ee(Pe))return we;if(we=this.foreachTreeNode(Pe,Ee),we)return we}},be}()}).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,fe){(function(){var le;he.exports=le=function(){function re(se){this.nodes=se}return Object.defineProperty(re.prototype,"length",{get:function(){return this.nodes.length||0}}),re.prototype.clone=function(){return this.nodes=null},re.prototype.item=function(se){return this.nodes[se]||null},re}()}).call(this)},{}],452:[function(E,he,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;le=E("./NodeType"),re=E("./XMLCharacterData"),he.exports=se=function(ae){ie(oe,ae);function oe(ne,ee,a){if(oe.__super__.constructor.call(this,ne),ee==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=le.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(ne){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(ne))},oe.prototype.isEqualNode=function(ne){return!(!oe.__super__.isEqualNode.apply(this,arguments).isEqualNode(ne)||ne.target!==this.target)},oe}(re)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(E,he,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;le=E("./NodeType"),re=E("./XMLNode"),he.exports=se=function(ae){ie(oe,ae);function oe(ne,ee){if(oe.__super__.constructor.call(this,ne),ee==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=le.Raw,this.value=this.stringify.raw(ee)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.raw(this,this.options.writer.filterOptions(ne))},oe}(re)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(E,he,fe){(function(){var le,re,se,ie,ue=function(oe,ne){for(var ee in ne)ae.call(ne,ee)&&(oe[ee]=ne[ee]);function a(){this.constructor=oe}return a.prototype=ne.prototype,oe.prototype=new a,oe.__super__=ne.prototype,oe},ae={}.hasOwnProperty;le=E("./NodeType"),ie=E("./XMLWriterBase"),re=E("./WriterState"),he.exports=se=function(oe){ue(ne,oe);function ne(ee,a){this.stream=ee,ne.__super__.constructor.call(this,a)}return ne.prototype.endline=function(ee,a,y){return ee.isLastRootNode&&a.state===re.CloseTag?"":ne.__super__.endline.call(this,ee,a,y)},ne.prototype.document=function(ee,a){var y,x,b,z,te,ce,ge,me,ve;for(ge=ee.children,x=b=0,te=ge.length;b<te;x=++b)y=ge[x],y.isLastRootNode=x===ee.children.length-1;for(a=this.filterOptions(a),me=ee.children,ve=[],z=0,ce=me.length;z<ce;z++)y=me[z],ve.push(this.writeChildNode(y,a,0));return ve},ne.prototype.attribute=function(ee,a,y){return this.stream.write(ne.__super__.attribute.call(this,ee,a,y))},ne.prototype.cdata=function(ee,a,y){return this.stream.write(ne.__super__.cdata.call(this,ee,a,y))},ne.prototype.comment=function(ee,a,y){return this.stream.write(ne.__super__.comment.call(this,ee,a,y))},ne.prototype.declaration=function(ee,a,y){return this.stream.write(ne.__super__.declaration.call(this,ee,a,y))},ne.prototype.docType=function(ee,a,y){var x,b,z,te;if(y||(y=0),this.openNode(ee,a,y),a.state=re.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=re.InsideTag,te=ee.children,b=0,z=te.length;b<z;b++)x=te[b],this.writeChildNode(x,a,y+1);a.state=re.CloseTag,this.stream.write("]")}return a.state=re.CloseTag,this.stream.write(a.spaceBeforeSlash+">"),this.stream.write(this.endline(ee,a,y)),a.state=re.None,this.closeNode(ee,a,y)},ne.prototype.element=function(ee,a,y){var x,b,z,te,ce,ge,me,ve,pe,be;y||(y=0),this.openNode(ee,a,y),a.state=re.OpenTag,this.stream.write(this.indent(ee,a,y)+"<"+ee.name),pe=ee.attribs;for(me in pe)ae.call(pe,me)&&(x=pe[me],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===le.Text||ye.type===le.Raw)&&ye.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=re.CloseTag,this.stream.write("</"+ee.name+">")):(a.state=re.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&z===1&&(te.type===le.Text||te.type===le.Raw)&&te.value!=null)this.stream.write(">"),a.state=re.InsideTag,a.suppressPrettyCount++,ve=!0,this.writeChildNode(te,a,y+1),a.suppressPrettyCount--,ve=!1,a.state=re.CloseTag,this.stream.write("</"+ee.name+">");else{for(this.stream.write(">"+this.endline(ee,a,y)),a.state=re.InsideTag,be=ee.children,ce=0,ge=be.length;ce<ge;ce++)b=be[ce],this.writeChildNode(b,a,y+1);a.state=re.CloseTag,this.stream.write(this.indent(ee,a,y)+"</"+ee.name+">")}return this.stream.write(this.endline(ee,a,y)),a.state=re.None,this.closeNode(ee,a,y)},ne.prototype.processingInstruction=function(ee,a,y){return this.stream.write(ne.__super__.processingInstruction.call(this,ee,a,y))},ne.prototype.raw=function(ee,a,y){return this.stream.write(ne.__super__.raw.call(this,ee,a,y))},ne.prototype.text=function(ee,a,y){return this.stream.write(ne.__super__.text.call(this,ee,a,y))},ne.prototype.dtdAttList=function(ee,a,y){return this.stream.write(ne.__super__.dtdAttList.call(this,ee,a,y))},ne.prototype.dtdElement=function(ee,a,y){return this.stream.write(ne.__super__.dtdElement.call(this,ee,a,y))},ne.prototype.dtdEntity=function(ee,a,y){return this.stream.write(ne.__super__.dtdEntity.call(this,ee,a,y))},ne.prototype.dtdNotation=function(ee,a,y){return this.stream.write(ne.__super__.dtdNotation.call(this,ee,a,y))},ne}(ie)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,he,fe){(function(){var le,re,se=function(ue,ae){for(var oe in ae)ie.call(ae,oe)&&(ue[oe]=ae[oe]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},ie={}.hasOwnProperty;re=E("./XMLWriterBase"),he.exports=le=function(ue){se(ae,ue);function ae(oe){ae.__super__.constructor.call(this,oe)}return ae.prototype.document=function(oe,ne){var ee,a,y,x,b;for(ne=this.filterOptions(ne),x="",b=oe.children,a=0,y=b.length;a<y;a++)ee=b[a],x+=this.writeChildNode(ee,ne,0);return ne.pretty&&x.slice(-ne.newline.length)===ne.newline&&(x=x.slice(0,-ne.newline.length)),x},ae}(re)}).call(this)},{"./XMLWriterBase":458}],456:[function(E,he,fe){(function(){var le,re=function(ie,ue){return function(){return ie.apply(ue,arguments)}},se={}.hasOwnProperty;he.exports=le=function(){function ie(ue){this.assertLegalName=re(this.assertLegalName,this),this.assertLegalChar=re(this.assertLegalChar,this);var ae,oe,ne;ue||(ue={}),this.options=ue,this.options.version||(this.options.version="1.0"),oe=ue.stringify||{};for(ae in oe)se.call(oe,ae)&&(ne=oe[ae],this[ae]=ne)}return ie.prototype.name=function(ue){return this.options.noValidation?ue:this.assertLegalName(""+ue||"")},ie.prototype.text=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.textEscape(""+ue||""))},ie.prototype.cdata=function(ue){return this.options.noValidation?ue:(ue=""+ue||"",ue=ue.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(ue))},ie.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)},ie.prototype.raw=function(ue){return this.options.noValidation?ue:""+ue||""},ie.prototype.attValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.attEscape(ue=""+ue||""))},ie.prototype.insTarget=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.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)},ie.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},ie.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)},ie.prototype.xmlStandalone=function(ue){return this.options.noValidation?ue:ue?"yes":"no"},ie.prototype.dtdPubID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdSysID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdElementValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdAttType=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdAttDefault=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdEntityValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdNData=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.convertAttKey="@",ie.prototype.convertPIKey="?",ie.prototype.convertTextKey="#text",ie.prototype.convertCDataKey="#cdata",ie.prototype.convertCommentKey="#comment",ie.prototype.convertRawKey="#raw",ie.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},ie.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},ie.prototype.textEscape=function(ue){var ae;return this.options.noValidation?ue:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ae,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},ie.prototype.attEscape=function(ue){var ae;return this.options.noValidation?ue:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ae,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},ie}()}).call(this)},{}],457:[function(E,he,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;le=E("./NodeType"),re=E("./XMLCharacterData"),he.exports=se=function(ae){ie(oe,ae);function oe(ne,ee){if(oe.__super__.constructor.call(this,ne),ee==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=le.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 ne,ee,a;for(a="",ee=this.previousSibling;ee;)a=ee.data+a,ee=ee.previousSibling;for(a+=this.data,ne=this.nextSibling;ne;)a=a+ne.data,ne=ne.nextSibling;return a}}),oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.text(this,this.options.writer.filterOptions(ne))},oe.prototype.splitText=function(ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe.prototype.replaceWholeText=function(ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe}(re)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(E,he,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,ee,a,y,x,b,z,te,ce,ge,me={}.hasOwnProperty;ge=E("./Utility").assign,le=E("./NodeType"),ee=E("./XMLDeclaration"),a=E("./XMLDocType"),se=E("./XMLCData"),ie=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"),ne=E("./XMLDTDNotation"),re=E("./WriterState"),he.exports=ce=function(){function ve(pe){var be,ye,Ee;pe||(pe={}),this.options=pe,ye=pe.writer||{};for(be in ye)me.call(ye,be)&&(Ee=ye[be],this["_"+be]=this[be],this[be]=Ee)}return ve.prototype.filterOptions=function(pe){var be,ye,Ee,Pe,Ae,Ce,_e,we;return pe||(pe={}),pe=ge({},this.options,pe),be={writer:this},be.pretty=pe.pretty||!1,be.allowEmpty=pe.allowEmpty||!1,be.indent=(ye=pe.indent)!=null?ye:" ",be.newline=(Ee=pe.newline)!=null?Ee:`
`,be.offset=(Pe=pe.offset)!=null?Pe:0,be.dontPrettyTextNodes=(Ae=(Ce=pe.dontPrettyTextNodes)!=null?Ce:pe.dontprettytextnodes)!=null?Ae:0,be.spaceBeforeSlash=(_e=(we=pe.spaceBeforeSlash)!=null?we:pe.spacebeforeslash)!=null?_e:"",be.spaceBeforeSlash===!0&&(be.spaceBeforeSlash=" "),be.suppressPrettyCount=0,be.user={},be.state=re.None,be},ve.prototype.indent=function(pe,be,ye){var Ee;return!be.pretty||be.suppressPrettyCount?"":be.pretty&&(Ee=(ye||0)+be.offset+1,Ee>0)?new Array(Ee).join(be.indent):""},ve.prototype.endline=function(pe,be,ye){return!be.pretty||be.suppressPrettyCount?"":be.newline},ve.prototype.attribute=function(pe,be,ye){var Ee;return this.openAttribute(pe,be,ye),Ee=" "+pe.name+'="'+pe.value+'"',this.closeAttribute(pe,be,ye),Ee},ve.prototype.cdata=function(pe,be,ye){var Ee;return this.openNode(pe,be,ye),be.state=re.OpenTag,Ee=this.indent(pe,be,ye)+"<![CDATA[",be.state=re.InsideTag,Ee+=pe.value,be.state=re.CloseTag,Ee+="]]>"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ee},ve.prototype.comment=function(pe,be,ye){var Ee;return this.openNode(pe,be,ye),be.state=re.OpenTag,Ee=this.indent(pe,be,ye)+"<!-- ",be.state=re.InsideTag,Ee+=pe.value,be.state=re.CloseTag,Ee+=" -->"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ee},ve.prototype.declaration=function(pe,be,ye){var Ee;return this.openNode(pe,be,ye),be.state=re.OpenTag,Ee=this.indent(pe,be,ye)+"<?xml",be.state=re.InsideTag,Ee+=' version="'+pe.version+'"',pe.encoding!=null&&(Ee+=' encoding="'+pe.encoding+'"'),pe.standalone!=null&&(Ee+=' standalone="'+pe.standalone+'"'),be.state=re.CloseTag,Ee+=be.spaceBeforeSlash+"?>",Ee+=this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ee},ve.prototype.docType=function(pe,be,ye){var Ee,Pe,Ae,Ce,_e;if(ye||(ye=0),this.openNode(pe,be,ye),be.state=re.OpenTag,Ce=this.indent(pe,be,ye),Ce+="<!DOCTYPE "+pe.root().name,pe.pubID&&pe.sysID?Ce+=' PUBLIC "'+pe.pubID+'" "'+pe.sysID+'"':pe.sysID&&(Ce+=' SYSTEM "'+pe.sysID+'"'),pe.children.length>0){for(Ce+=" [",Ce+=this.endline(pe,be,ye),be.state=re.InsideTag,_e=pe.children,Pe=0,Ae=_e.length;Pe<Ae;Pe++)Ee=_e[Pe],Ce+=this.writeChildNode(Ee,be,ye+1);be.state=re.CloseTag,Ce+="]"}return be.state=re.CloseTag,Ce+=be.spaceBeforeSlash+">",Ce+=this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ce},ve.prototype.element=function(pe,be,ye){var Ee,Pe,Ae,Ce,_e,we,Re,De,ke,Ie,qe,Je,We,Qe;ye||(ye=0),Ie=!1,qe="",this.openNode(pe,be,ye),be.state=re.OpenTag,qe+=this.indent(pe,be,ye)+"<"+pe.name,Je=pe.attribs;for(ke in Je)me.call(Je,ke)&&(Ee=Je[ke],qe+=this.attribute(Ee,be,ye));if(Ae=pe.children.length,Ce=Ae===0?null:pe.children[0],Ae===0||pe.children.every(function(He){return(He.type===le.Text||He.type===le.Raw)&&He.value===""}))be.allowEmpty?(qe+=">",be.state=re.CloseTag,qe+="</"+pe.name+">"+this.endline(pe,be,ye)):(be.state=re.CloseTag,qe+=be.spaceBeforeSlash+"/>"+this.endline(pe,be,ye));else if(be.pretty&&Ae===1&&(Ce.type===le.Text||Ce.type===le.Raw)&&Ce.value!=null)qe+=">",be.state=re.InsideTag,be.suppressPrettyCount++,Ie=!0,qe+=this.writeChildNode(Ce,be,ye+1),be.suppressPrettyCount--,Ie=!1,be.state=re.CloseTag,qe+="</"+pe.name+">"+this.endline(pe,be,ye);else{if(be.dontPrettyTextNodes){for(We=pe.children,_e=0,Re=We.length;_e<Re;_e++)if(Pe=We[_e],(Pe.type===le.Text||Pe.type===le.Raw)&&Pe.value!=null){be.suppressPrettyCount++,Ie=!0;break}}for(qe+=">"+this.endline(pe,be,ye),be.state=re.InsideTag,Qe=pe.children,we=0,De=Qe.length;we<De;we++)Pe=Qe[we],qe+=this.writeChildNode(Pe,be,ye+1);be.state=re.CloseTag,qe+=this.indent(pe,be,ye)+"</"+pe.name+">",Ie&&be.suppressPrettyCount--,qe+=this.endline(pe,be,ye),be.state=re.None}return this.closeNode(pe,be,ye),qe},ve.prototype.writeChildNode=function(pe,be,ye){switch(pe.type){case le.CData:return this.cdata(pe,be,ye);case le.Comment:return this.comment(pe,be,ye);case le.Element:return this.element(pe,be,ye);case le.Raw:return this.raw(pe,be,ye);case le.Text:return this.text(pe,be,ye);case le.ProcessingInstruction:return this.processingInstruction(pe,be,ye);case le.Dummy:return"";case le.Declaration:return this.declaration(pe,be,ye);case le.DocType:return this.docType(pe,be,ye);case le.AttributeDeclaration:return this.dtdAttList(pe,be,ye);case le.ElementDeclaration:return this.dtdElement(pe,be,ye);case le.EntityDeclaration:return this.dtdEntity(pe,be,ye);case le.NotationDeclaration:return this.dtdNotation(pe,be,ye);default:throw new Error("Unknown XML node type: "+pe.constructor.name)}},ve.prototype.processingInstruction=function(pe,be,ye){var Ee;return this.openNode(pe,be,ye),be.state=re.OpenTag,Ee=this.indent(pe,be,ye)+"<?",be.state=re.InsideTag,Ee+=pe.target,pe.value&&(Ee+=" "+pe.value),be.state=re.CloseTag,Ee+=be.spaceBeforeSlash+"?>",Ee+=this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ee},ve.prototype.raw=function(pe,be,ye){var Ee;return this.openNode(pe,be,ye),be.state=re.OpenTag,Ee=this.indent(pe,be,ye),be.state=re.InsideTag,Ee+=pe.value,be.state=re.CloseTag,Ee+=this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ee},ve.prototype.text=function(pe,be,ye){var Ee;return this.openNode(pe,be,ye),be.state=re.OpenTag,Ee=this.indent(pe,be,ye),be.state=re.InsideTag,Ee+=pe.value,be.state=re.CloseTag,Ee+=this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ee},ve.prototype.dtdAttList=function(pe,be,ye){var Ee;return this.openNode(pe,be,ye),be.state=re.OpenTag,Ee=this.indent(pe,be,ye)+"<!ATTLIST",be.state=re.InsideTag,Ee+=" "+pe.elementName+" "+pe.attributeName+" "+pe.attributeType,pe.defaultValueType!=="#DEFAULT"&&(Ee+=" "+pe.defaultValueType),pe.defaultValue&&(Ee+=' "'+pe.defaultValue+'"'),be.state=re.CloseTag,Ee+=be.spaceBeforeSlash+">"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ee},ve.prototype.dtdElement=function(pe,be,ye){var Ee;return this.openNode(pe,be,ye),be.state=re.OpenTag,Ee=this.indent(pe,be,ye)+"<!ELEMENT",be.state=re.InsideTag,Ee+=" "+pe.name+" "+pe.value,be.state=re.CloseTag,Ee+=be.spaceBeforeSlash+">"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ee},ve.prototype.dtdEntity=function(pe,be,ye){var Ee;return this.openNode(pe,be,ye),be.state=re.OpenTag,Ee=this.indent(pe,be,ye)+"<!ENTITY",be.state=re.InsideTag,pe.pe&&(Ee+=" %"),Ee+=" "+pe.name,pe.value?Ee+=' "'+pe.value+'"':(pe.pubID&&pe.sysID?Ee+=' PUBLIC "'+pe.pubID+'" "'+pe.sysID+'"':pe.sysID&&(Ee+=' SYSTEM "'+pe.sysID+'"'),pe.nData&&(Ee+=" NDATA "+pe.nData)),be.state=re.CloseTag,Ee+=be.spaceBeforeSlash+">"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ee},ve.prototype.dtdNotation=function(pe,be,ye){var Ee;return this.openNode(pe,be,ye),be.state=re.OpenTag,Ee=this.indent(pe,be,ye)+"<!NOTATION",be.state=re.InsideTag,Ee+=" "+pe.name,pe.pubID&&pe.sysID?Ee+=' PUBLIC "'+pe.pubID+'" "'+pe.sysID+'"':pe.pubID?Ee+=' PUBLIC "'+pe.pubID+'"':pe.sysID&&(Ee+=' SYSTEM "'+pe.sysID+'"'),be.state=re.CloseTag,Ee+=be.spaceBeforeSlash+">"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Ee},ve.prototype.openNode=function(pe,be,ye){},ve.prototype.closeNode=function(pe,be,ye){},ve.prototype.openAttribute=function(pe,be,ye){},ve.prototype.closeAttribute=function(pe,be,ye){},ve}()}).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,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,ee,a;a=E("./Utility"),ne=a.assign,ee=a.isFunction,se=E("./XMLDOMImplementation"),ie=E("./XMLDocument"),ue=E("./XMLDocumentCB"),oe=E("./XMLStringWriter"),ae=E("./XMLStreamWriter"),le=E("./NodeType"),re=E("./WriterState"),he.exports.create=function(y,x,b,z){var te,ce;if(y==null)throw new Error("Root element needs a name.");return z=ne({},x,b,z),te=new ie(z),ce=te.element(y),z.headless||(te.declaration(z),(z.pubID!=null||z.sysID!=null)&&te.dtd(z)),ce},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 ie(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 se,he.exports.nodeType=le,he.exports.writerState=re}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,he,fe){he.exports=re;var le=Object.prototype.hasOwnProperty;function re(){for(var se={},ie=0;ie<arguments.length;ie++){var ue=arguments[ie];for(var ae in ue)le.call(ue,ae)&&(se[ae]=ue[ae])}return se}},{}],461:[function(E,he,fe){"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 le=E("buffer").Buffer,re=E("./sha"),se=E("./md5"),ie={sha1:re,md5:se},ue=64,ae=le.alloc(ue);ae.fill(0);function oe(a,y,x){le.isBuffer(y)||(y=le.from(y)),le.isBuffer(x)||(x=le.from(x)),y.length>ue?y=a(y):y.length<ue&&(y=le.concat([y,ae],ue));for(var b=le.alloc(ue),z=le.alloc(ue),te=0;te<ue;te++)b[te]=y[te]^54,z[te]=y[te]^92;var ce=a(le.concat([b,x]));return a(le.concat([z,ce]))}function ne(a,y){a=a||"sha1";var x=ie[a],b=[],z=0;return x||ee("algorithm:",a,"is not yet supported"),{update:function(ce){return le.isBuffer(ce)||(ce=le.from(ce)),b.push(ce),z+=ce.length,this},digest:function(ce){var ge=le.concat(b),me=y?oe(x,y,ge):x(ge);return b=null,ce?me.toString(ce):me}}}function ee(){var a=[].slice.call(arguments).join(" ");throw new Error([a,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}fe.createHash=function(a){return ne(a)},fe.createHmac=function(a,y){return ne(a,y)},fe.createCredentials=function(){ee("sorry,createCredentials is not implemented yet")},fe.createCipher=function(){ee("sorry,createCipher is not implemented yet")},fe.createCipheriv=function(){ee("sorry,createCipheriv is not implemented yet")},fe.createDecipher=function(){ee("sorry,createDecipher is not implemented yet")},fe.createDecipheriv=function(){ee("sorry,createDecipheriv is not implemented yet")},fe.createSign=function(){ee("sorry,createSign is not implemented yet")},fe.createVerify=function(){ee("sorry,createVerify is not implemented yet")},fe.createDiffieHellman=function(){ee("sorry,createDiffieHellman is not implemented yet")},fe.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,fe){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js");var le=E("buffer").Buffer,re=4,se=le.alloc(re);se.fill(0);var ie=8;function ue(ne,ee){if(ne.length%re!==0){var a=ne.length+(re-ne.length%re);ne=le.concat([ne,se],a)}for(var y=[],x=ee?ne.readInt32BE:ne.readInt32LE,b=0;b<ne.length;b+=re)y.push(x.call(ne,b));return y}function ae(ne,ee,a){for(var y=le.alloc(ee),x=a?y.writeInt32BE:y.writeInt32LE,b=0;b<ne.length;b++)x.call(y,ne[b],b*4,!0);return y}function oe(ne,ee,a,y){le.isBuffer(ne)||(ne=le.from(ne));var x=ee(ue(ne,y),ne.length*ie);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,fe){"use strict";var le=E("./helpers");function re(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function se(y,x){y[x>>5]|=128<<x%32,y[(x+64>>>9<<4)+14]=x;for(var b=1732584193,z=-271733879,te=-1732584194,ce=271733878,ge=0;ge<y.length;ge+=16){var me=b,ve=z,pe=te,be=ce;b=ue(b,z,te,ce,y[ge+0],7,-680876936),ce=ue(ce,b,z,te,y[ge+1],12,-389564586),te=ue(te,ce,b,z,y[ge+2],17,606105819),z=ue(z,te,ce,b,y[ge+3],22,-1044525330),b=ue(b,z,te,ce,y[ge+4],7,-176418897),ce=ue(ce,b,z,te,y[ge+5],12,1200080426),te=ue(te,ce,b,z,y[ge+6],17,-1473231341),z=ue(z,te,ce,b,y[ge+7],22,-45705983),b=ue(b,z,te,ce,y[ge+8],7,1770035416),ce=ue(ce,b,z,te,y[ge+9],12,-1958414417),te=ue(te,ce,b,z,y[ge+10],17,-42063),z=ue(z,te,ce,b,y[ge+11],22,-1990404162),b=ue(b,z,te,ce,y[ge+12],7,1804603682),ce=ue(ce,b,z,te,y[ge+13],12,-40341101),te=ue(te,ce,b,z,y[ge+14],17,-1502002290),z=ue(z,te,ce,b,y[ge+15],22,1236535329),b=ae(b,z,te,ce,y[ge+1],5,-165796510),ce=ae(ce,b,z,te,y[ge+6],9,-1069501632),te=ae(te,ce,b,z,y[ge+11],14,643717713),z=ae(z,te,ce,b,y[ge+0],20,-373897302),b=ae(b,z,te,ce,y[ge+5],5,-701558691),ce=ae(ce,b,z,te,y[ge+10],9,38016083),te=ae(te,ce,b,z,y[ge+15],14,-660478335),z=ae(z,te,ce,b,y[ge+4],20,-405537848),b=ae(b,z,te,ce,y[ge+9],5,568446438),ce=ae(ce,b,z,te,y[ge+14],9,-1019803690),te=ae(te,ce,b,z,y[ge+3],14,-187363961),z=ae(z,te,ce,b,y[ge+8],20,1163531501),b=ae(b,z,te,ce,y[ge+13],5,-1444681467),ce=ae(ce,b,z,te,y[ge+2],9,-51403784),te=ae(te,ce,b,z,y[ge+7],14,1735328473),z=ae(z,te,ce,b,y[ge+12],20,-1926607734),b=oe(b,z,te,ce,y[ge+5],4,-378558),ce=oe(ce,b,z,te,y[ge+8],11,-2022574463),te=oe(te,ce,b,z,y[ge+11],16,1839030562),z=oe(z,te,ce,b,y[ge+14],23,-35309556),b=oe(b,z,te,ce,y[ge+1],4,-1530992060),ce=oe(ce,b,z,te,y[ge+4],11,1272893353),te=oe(te,ce,b,z,y[ge+7],16,-155497632),z=oe(z,te,ce,b,y[ge+10],23,-1094730640),b=oe(b,z,te,ce,y[ge+13],4,681279174),ce=oe(ce,b,z,te,y[ge+0],11,-358537222),te=oe(te,ce,b,z,y[ge+3],16,-722521979),z=oe(z,te,ce,b,y[ge+6],23,76029189),b=oe(b,z,te,ce,y[ge+9],4,-640364487),ce=oe(ce,b,z,te,y[ge+12],11,-421815835),te=oe(te,ce,b,z,y[ge+15],16,530742520),z=oe(z,te,ce,b,y[ge+2],23,-995338651),b=ne(b,z,te,ce,y[ge+0],6,-198630844),ce=ne(ce,b,z,te,y[ge+7],10,1126891415),te=ne(te,ce,b,z,y[ge+14],15,-1416354905),z=ne(z,te,ce,b,y[ge+5],21,-57434055),b=ne(b,z,te,ce,y[ge+12],6,1700485571),ce=ne(ce,b,z,te,y[ge+3],10,-1894986606),te=ne(te,ce,b,z,y[ge+10],15,-1051523),z=ne(z,te,ce,b,y[ge+1],21,-2054922799),b=ne(b,z,te,ce,y[ge+8],6,1873313359),ce=ne(ce,b,z,te,y[ge+15],10,-30611744),te=ne(te,ce,b,z,y[ge+6],15,-1560198380),z=ne(z,te,ce,b,y[ge+13],21,1309151649),b=ne(b,z,te,ce,y[ge+4],6,-145523070),ce=ne(ce,b,z,te,y[ge+11],10,-1120210379),te=ne(te,ce,b,z,y[ge+2],15,718787259),z=ne(z,te,ce,b,y[ge+9],21,-343485551),b=ee(b,me),z=ee(z,ve),te=ee(te,pe),ce=ee(ce,be)}return Array(b,z,te,ce)}function ie(y,x,b,z,te,ce){return ee(a(ee(ee(x,y),ee(z,ce)),te),b)}function ue(y,x,b,z,te,ce,ge){return ie(x&b|~x&z,y,x,te,ce,ge)}function ae(y,x,b,z,te,ce,ge){return ie(x&z|b&~z,y,x,te,ce,ge)}function oe(y,x,b,z,te,ce,ge){return ie(x^b^z,y,x,te,ce,ge)}function ne(y,x,b,z,te,ce,ge){return ie(b^(x|~z),y,x,te,ce,ge)}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 le.hash(x,se,16)}},{"./helpers":462}],464:[function(E,he,fe){"use strict";var le=E("./helpers");function re(oe,ne){oe[ne>>5]|=128<<24-ne%32,oe[(ne+64>>9<<4)+15]=ne;for(var ee=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,z=-1009589776,te=0;te<oe.length;te+=16){for(var ce=a,ge=y,me=x,ve=b,pe=z,be=0;be<80;be++){be<16?ee[be]=oe[te+be]:ee[be]=ae(ee[be-3]^ee[be-8]^ee[be-14]^ee[be-16],1);var ye=ue(ue(ae(a,5),se(be,y,x,b)),ue(ue(z,ee[be]),ie(be)));z=b,b=x,x=ae(y,30),y=a,a=ye}a=ue(a,ce),y=ue(y,ge),x=ue(x,me),b=ue(b,ve),z=ue(z,pe)}return Array(a,y,x,b,z)}function se(oe,ne,ee,a){return oe<20?ne&ee|~ne&a:oe<40?ne^ee^a:oe<60?ne&ee|ne&a|ee&a:ne^ee^a}function ie(oe){return oe<20?1518500249:oe<40?1859775393:oe<60?-1894007588:-899497514}function ue(oe,ne){var ee=(oe&65535)+(ne&65535),a=(oe>>16)+(ne>>16)+(ee>>16);return a<<16|ee&65535}function ae(oe,ne){return oe<<ne|oe>>>32-ne}he.exports=function(ne){return le.hash(ne,re,20,!0)}},{"./helpers":462}],465:[function(E,he,fe){"use strict";he.exports=function(){return function(){}}},{}],466:[function(E,he,fe){(function(le){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),se=re(E("@babel/runtime/helpers/typeof")),ie=E("stream"),ue=ie.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=le.isBuffer;function ne(ee){return ee instanceof ue}he.exports.writableStream=function(a){return ne(a)&&typeof a._write=="function"&&(0,se.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,fe){"use strict";var le=E("immediate"),re=he.exports={};re.nextTick=le,re.title="browser",re.browser=!0,re.env={},re.argv=[],re.version="",re.versions={};function se(){}re.on=se,re.addListener=se,re.once=se,re.off=se,re.removeListener=se,re.removeAllListeners=se,re.emit=se,re.prependListener=se,re.prependOnceListener=se,re.listeners=function(ie){return[]},re.binding=function(ie){throw new Error("process.binding is not supported")},re.cwd=function(){return"/"},re.chdir=function(ie){throw new Error("process.chdir is not supported")},re.umask=function(){return 0}},{immediate:358}],468:[function(E,he,fe){(function(le){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var re=E("./lib/request"),se=E("./lib/response"),ie=E("xtend"),ue=E("builtin-status-codes"),ae=E("url"),oe=fe;oe.request=function(ne,ee){typeof ne=="string"?ne=ae.parse(ne):ne=ie(ne);var a=le.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ne.protocol||a,x=ne.hostname||ne.host,b=ne.port,z=ne.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ne.url=(x?y+"//"+x:"")+(b?":"+b:"")+z,ne.method=(ne.method||"GET").toUpperCase(),ne.headers=ne.headers||{};var te=new re(ne);return ee&&te.on("response",ee),te},oe.get=function(ee,a){var y=oe.request(ee,a);return y.end(),y},oe.ClientRequest=re,oe.IncomingMessage=se.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 gt!="undefined"?gt: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,fe){(function(le){(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"),fe.fetch=oe(le.fetch)&&oe(le.ReadableStream),fe.writableStream=oe(le.WritableStream),fe.abortController=oe(le.AbortController),fe.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),fe.blobConstructor=!0}catch(ne){}var re;function se(){if(re!==void 0)return re;if(le.XMLHttpRequest){re=new le.XMLHttpRequest;try{re.open("GET",le.XDomainRequest?"/":"https://example.com")}catch(ne){re=null}}else re=null;return re}function ie(ne){var ee=se();if(!ee)return!1;try{return ee.responseType=ne,ee.responseType===ne}catch(a){}return!1}var ue=typeof le.ArrayBuffer!="undefined",ae=ue&&oe(le.ArrayBuffer.prototype.slice);fe.arraybuffer=fe.fetch||ue&&ie("arraybuffer"),fe.msstream=!fe.fetch&&ae&&ie("ms-stream"),fe.mozchunkedarraybuffer=!fe.fetch&&ue&&ie("moz-chunked-arraybuffer"),fe.overrideMimeType=fe.fetch||(se()?oe(se().overrideMimeType):!1),fe.vbArray=oe(le.VBArray);function oe(ne){return typeof ne=="function"}re=null}).call(this)}).call(this,typeof gt!="undefined"?gt: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,fe){(function(le,re,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"),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 ie=E("./capability"),ue=E("inherits"),ae=E("./response"),oe=E("readable-stream"),ne=E("to-arraybuffer"),ee=ae.IncomingMessage,a=ae.readyStates;function y(te,ce){return ie.fetch&&ce?"fetch":ie.mozchunkedarraybuffer?"moz-chunked-arraybuffer":ie.msstream?"ms-stream":ie.arraybuffer&&te?"arraybuffer":ie.vbArray&&te?"text:vbarray":"text"}var x=he.exports=function(te){var ce=this;oe.Writable.call(ce),ce._opts=te,ce._body=[],ce._headers={},te.auth&&ce.setHeader("Authorization","Basic "+new se(te.auth).toString("base64")),Object.keys(te.headers).forEach(function(ve){ce.setHeader(ve,te.headers[ve])});var ge,me=!0;if(te.mode==="disable-fetch"||"requestTimeout"in te&&!ie.abortController)me=!1,ge=!0;else if(te.mode==="prefer-streaming")ge=!1;else if(te.mode==="allow-wrong-content-type")ge=!ie.overrideMimeType;else if(!te.mode||te.mode==="default"||te.mode==="prefer-fast")ge=!0;else throw new Error("Invalid value for opts.mode");ce._mode=y(ge,me),ce._fetchTimer=null,ce.on("finish",function(){ce._onFinish()})};ue(x,oe.Writable),x.prototype.setHeader=function(te,ce){var ge=this,me=te.toLowerCase();z.indexOf(me)===-1&&(ge._headers[me]={name:te,value:ce})},x.prototype.getHeader=function(te){var ce=this._headers[te.toLowerCase()];return ce?ce.value:null},x.prototype.removeHeader=function(te){var ce=this;delete ce._headers[te.toLowerCase()]},x.prototype._onFinish=function(){var te=this;if(!te._destroyed){var ce=te._opts,ge=te._headers,me=null;ce.method!=="GET"&&ce.method!=="HEAD"&&(ie.arraybuffer?me=ne(se.concat(te._body)):ie.blobConstructor?me=new re.Blob(te._body.map(function(Pe){return ne(Pe)}),{type:(ge["content-type"]||{}).value||""}):me=se.concat(te._body).toString());var ve=[];if(Object.keys(ge).forEach(function(Pe){var Ae=ge[Pe].name,Ce=ge[Pe].value;Array.isArray(Ce)?Ce.forEach(function(_e){ve.push([Ae,_e])}):ve.push([Ae,Ce])}),te._mode==="fetch"){var pe=null,be=null;if(ie.abortController){var ye=new AbortController;pe=ye.signal,te._fetchAbortController=ye,"requestTimeout"in ce&&ce.requestTimeout!==0&&(te._fetchTimer=re.setTimeout(function(){te.emit("requestTimeout"),te._fetchAbortController&&te._fetchAbortController.abort()},ce.requestTimeout))}re.fetch(te._opts.url,{method:te._opts.method,headers:ve,body:me||void 0,mode:"cors",credentials:ce.withCredentials?"include":"same-origin",signal:pe}).then(function(Pe){te._fetchResponse=Pe,te._connect()},function(Pe){re.clearTimeout(te._fetchTimer),te._destroyed||te.emit("error",Pe)})}else{var Ee=te._xhr=new re.XMLHttpRequest;try{Ee.open(te._opts.method,te._opts.url,!0)}catch(Pe){le.nextTick(function(){te.emit("error",Pe)});return}"responseType"in Ee&&(Ee.responseType=te._mode.split(":")[0]),"withCredentials"in Ee&&(Ee.withCredentials=!!ce.withCredentials),te._mode==="text"&&"overrideMimeType"in Ee&&Ee.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ce&&(Ee.timeout=ce.requestTimeout,Ee.ontimeout=function(){te.emit("requestTimeout")}),ve.forEach(function(Pe){Ee.setRequestHeader(Pe[0],Pe[1])}),te._response=null,Ee.onreadystatechange=function(){switch(Ee.readyState){case a.LOADING:case a.DONE:te._onXHRProgress();break}},te._mode==="moz-chunked-arraybuffer"&&(Ee.onprogress=function(){te._onXHRProgress()}),Ee.onerror=function(){te._destroyed||te.emit("error",new Error("XHR error"))};try{Ee.send(me)}catch(Pe){le.nextTick(function(){te.emit("error",Pe)});return}}}};function b(te){try{var ce=te.status;return ce!==null&&ce!==0}catch(ge){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(ce){te.emit("error",ce)}),te.emit("response",te._response))},x.prototype._write=function(te,ce,ge){var me=this;me._body.push(te),ge()},x.prototype.abort=x.prototype.destroy=function(){var te=this;te._destroyed=!0,re.clearTimeout(te._fetchTimer),te._response&&(te._response._destroyed=!0),te._xhr?te._xhr.abort():te._fetchAbortController&&te._fetchAbortController.abort()},x.prototype.end=function(te,ce,ge){var me=this;typeof te=="function"&&(ge=te,te=void 0),oe.Writable.prototype.end.call(me,te,ce,ge)},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 gt!="undefined"?gt: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,fe){(function(le,re,se){(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 ie=E("./capability"),ue=E("inherits"),ae=E("readable-stream"),oe=fe.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ne=fe.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(){le.nextTick(function(){b.emit("close")})}),y==="fetch"){var z=function pe(){ce.read().then(function(be){if(!b._destroyed){if(be.done){re.clearTimeout(x),b.push(null);return}b.push(new se(be.value)),pe()}}).catch(function(be){re.clearTimeout(x),b._destroyed||b.emit("error",be)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(pe,be){b.headers[be.toLowerCase()]=pe,b.rawHeaders.push(be,pe)}),ie.writableStream){var te=new WritableStream({write:function(be){return new Promise(function(ye,Ee){b._destroyed?Ee():b.push(new se(be))?ye():b._resumeFetch=ye})},close:function(){re.clearTimeout(x),b._destroyed||b.push(null)},abort:function(be){b._destroyed||b.emit("error",be)}});try{a.body.pipeTo(te).catch(function(pe){re.clearTimeout(x),b._destroyed||b.emit("error",pe)});return}catch(pe){}}var ce=a.body.getReader();z()}else{b._xhr=ee,b._pos=0,b.url=ee.responseURL,b.statusCode=ee.status,b.statusMessage=ee.statusText;var ge=ee.getAllResponseHeaders().split(/\r?\n/);if(ge.forEach(function(pe){var be=pe.match(/^([^:]+):\s*(.*)/);if(be){var ye=be[1].toLowerCase();ye==="set-cookie"?(b.headers[ye]===void 0&&(b.headers[ye]=[]),b.headers[ye].push(be[2])):b.headers[ye]!==void 0?b.headers[ye]+=", "+be[2]:b.headers[ye]=be[2],b.rawHeaders.push(be[1],be[2])}}),b._charset="x-user-defined",!ie.overrideMimeType){var me=b.rawHeaders["mime-type"];if(me){var ve=me.match(/;\s*charset=([^;])(;|$)/);ve&&(b._charset=ve[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};ue(ne,ae.Readable),ne.prototype._read=function(){var ee=this,a=ee._resumeFetch;a&&(ee._resumeFetch=null,a())},ne.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 re.VBArray(a.responseBody).toArray()}catch(ce){}if(y!==null){ee.push(new se(y));break}case"text":try{y=a.responseText}catch(ce){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 se(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 se(new Uint8Array(y)));break;case"moz-chunked-arraybuffer":if(y=a.response,a.readyState!==oe.LOADING||!y)break;ee.push(new se(new Uint8Array(y)));break;case"ms-stream":if(y=a.response,a.readyState!==oe.LOADING)break;var te=new re.MSStreamReader;te.onprogress=function(){te.result.byteLength>ee._pos&&(ee.push(new se(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 gt!="undefined"?gt: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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=E("punycode"),ie=E("./util");fe.parse=be,fe.resolve=Ee,fe.resolveObject=Pe,fe.format=ye,fe.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]*$/,ne=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ee=["<",">",'"',"`"," ","\r",`
`," "],a=["{","}","|","\\","^","`"].concat(ee),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],z=255,te=/^[+a-z0-9A-Z_-]{0,63}$/,ce=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ge={javascript:!0,"javascript:":!0},me={javascript:!0,"javascript:":!0},ve={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},pe=E("querystring");function be(Ae,Ce,_e){if(Ae&&ie.isObject(Ae)&&Ae instanceof ue)return Ae;var we=new ue;return we.parse(Ae,Ce,_e),we}ue.prototype.parse=function(Ae,Ce,_e){if(!ie.isString(Ae))throw new TypeError("Parameter 'url' must be a string, not "+(0,re.default)(Ae));var we=Ae.indexOf("?"),Re=we!==-1&&we<Ae.indexOf("#")?"?":"#",De=Ae.split(Re),ke=/\\/g;De[0]=De[0].replace(ke,"/"),Ae=De.join(Re);var Ie=Ae;if(Ie=Ie.trim(),!_e&&Ae.split("#").length===1){var qe=ne.exec(Ie);if(qe)return this.path=Ie,this.href=Ie,this.pathname=qe[1],qe[2]?(this.search=qe[2],Ce?this.query=pe.parse(this.search.substr(1)):this.query=this.search.substr(1)):Ce&&(this.search="",this.query={}),this}var Je=ae.exec(Ie);if(Je){Je=Je[0];var We=Je.toLowerCase();this.protocol=We,Ie=Ie.substr(Je.length)}if(_e||Je||Ie.match(/^\/\/[^@\/]+@[^@\/]+/)){var Qe=Ie.substr(0,2)==="//";Qe&&!(Je&&me[Je])&&(Ie=Ie.substr(2),this.slashes=!0)}if(!me[Je]&&(Qe||Je&&!ve[Je])){for(var He=-1,Fe=0;Fe<b.length;Fe++){var je=Ie.indexOf(b[Fe]);je!==-1&&(He===-1||je<He)&&(He=je)}var et,tt;He===-1?tt=Ie.lastIndexOf("@"):tt=Ie.lastIndexOf("@",He),tt!==-1&&(et=Ie.slice(0,tt),Ie=Ie.slice(tt+1),this.auth=decodeURIComponent(et)),He=-1;for(var Fe=0;Fe<x.length;Fe++){var je=Ie.indexOf(x[Fe]);je!==-1&&(He===-1||je<He)&&(He=je)}He===-1&&(He=Ie.length),this.host=Ie.slice(0,He),Ie=Ie.slice(He),this.parseHost(),this.hostname=this.hostname||"";var st=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!st)for(var Xe=this.hostname.split("."),Fe=0,Ke=Xe.length;Fe<Ke;Fe++){var Me=Xe[Fe];if(Me&&!Me.match(te)){for(var Ye="",Le=0,Be=Me.length;Le<Be;Le++)Me.charCodeAt(Le)>127?Ye+="x":Ye+=Me[Le];if(!Ye.match(te)){var Ve=Xe.slice(0,Fe),$e=Xe.slice(Fe+1),ze=Me.match(ce);ze&&(Ve.push(ze[1]),$e.unshift(ze[2])),$e.length&&(Ie="/"+$e.join(".")+Ie),this.hostname=Ve.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),st||(this.hostname=se.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Oe=this.hostname||"";this.host=Oe+Te,this.href+=this.host,st&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Ie[0]!=="/"&&(Ie="/"+Ie))}if(!ge[We])for(var Fe=0,Ke=y.length;Fe<Ke;Fe++){var Ne=y[Fe];if(Ie.indexOf(Ne)!==-1){var Ge=encodeURIComponent(Ne);Ge===Ne&&(Ge=escape(Ne)),Ie=Ie.split(Ne).join(Ge)}}var rt=Ie.indexOf("#");rt!==-1&&(this.hash=Ie.substr(rt),Ie=Ie.slice(0,rt));var mt=Ie.indexOf("?");if(mt!==-1?(this.search=Ie.substr(mt),this.query=Ie.substr(mt+1),Ce&&(this.query=pe.parse(this.query)),Ie=Ie.slice(0,mt)):Ce&&(this.search="",this.query={}),Ie&&(this.pathname=Ie),ve[We]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Te=this.pathname||"",dt=this.search||"";this.path=Te+dt}return this.href=this.format(),this};function ye(Ae){return ie.isString(Ae)&&(Ae=be(Ae)),Ae instanceof ue?Ae.format():ue.prototype.format.call(Ae)}ue.prototype.format=function(){var Ae=this.auth||"";Ae&&(Ae=encodeURIComponent(Ae),Ae=Ae.replace(/%3A/i,":"),Ae+="@");var Ce=this.protocol||"",_e=this.pathname||"",we=this.hash||"",Re=!1,De="";this.host?Re=Ae+this.host:this.hostname&&(Re=Ae+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Re+=":"+this.port)),this.query&&ie.isObject(this.query)&&Object.keys(this.query).length&&(De=pe.stringify(this.query));var ke=this.search||De&&"?"+De||"";return Ce&&Ce.substr(-1)!==":"&&(Ce+=":"),this.slashes||(!Ce||ve[Ce])&&Re!==!1?(Re="//"+(Re||""),_e&&_e.charAt(0)!=="/"&&(_e="/"+_e)):Re||(Re=""),we&&we.charAt(0)!=="#"&&(we="#"+we),ke&&ke.charAt(0)!=="?"&&(ke="?"+ke),_e=_e.replace(/[?#]/g,function(Ie){return encodeURIComponent(Ie)}),ke=ke.replace("#","%23"),Ce+Re+_e+ke+we};function Ee(Ae,Ce){return be(Ae,!1,!0).resolve(Ce)}ue.prototype.resolve=function(Ae){return this.resolveObject(be(Ae,!1,!0)).format()};function Pe(Ae,Ce){return Ae?be(Ae,!1,!0).resolveObject(Ce):Ce}ue.prototype.resolveObject=function(Ae){if(ie.isString(Ae)){var Ce=new ue;Ce.parse(Ae,!1,!0),Ae=Ce}for(var _e=new ue,we=Object.keys(this),Re=0;Re<we.length;Re++){var De=we[Re];_e[De]=this[De]}if(_e.hash=Ae.hash,Ae.href==="")return _e.href=_e.format(),_e;if(Ae.slashes&&!Ae.protocol){for(var ke=Object.keys(Ae),Ie=0;Ie<ke.length;Ie++){var qe=ke[Ie];qe!=="protocol"&&(_e[qe]=Ae[qe])}return ve[_e.protocol]&&_e.hostname&&!_e.pathname&&(_e.path=_e.pathname="/"),_e.href=_e.format(),_e}if(Ae.protocol&&Ae.protocol!==_e.protocol){if(!ve[Ae.protocol]){for(var Je=Object.keys(Ae),We=0;We<Je.length;We++){var Qe=Je[We];_e[Qe]=Ae[Qe]}return _e.href=_e.format(),_e}if(_e.protocol=Ae.protocol,!Ae.host&&!me[Ae.protocol]){for(var Ke=(Ae.pathname||"").split("/");Ke.length&&!(Ae.host=Ke.shift()););Ae.host||(Ae.host=""),Ae.hostname||(Ae.hostname=""),Ke[0]!==""&&Ke.unshift(""),Ke.length<2&&Ke.unshift(""),_e.pathname=Ke.join("/")}else _e.pathname=Ae.pathname;if(_e.search=Ae.search,_e.query=Ae.query,_e.host=Ae.host||"",_e.auth=Ae.auth,_e.hostname=Ae.hostname||Ae.host,_e.port=Ae.port,_e.pathname||_e.search){var He=_e.pathname||"",Fe=_e.search||"";_e.path=He+Fe}return _e.slashes=_e.slashes||Ae.slashes,_e.href=_e.format(),_e}var je=_e.pathname&&_e.pathname.charAt(0)==="/",et=Ae.host||Ae.pathname&&Ae.pathname.charAt(0)==="/",tt=et||je||_e.host&&Ae.pathname,st=tt,Xe=_e.pathname&&_e.pathname.split("/")||[],Ke=Ae.pathname&&Ae.pathname.split("/")||[],Me=_e.protocol&&!ve[_e.protocol];if(Me&&(_e.hostname="",_e.port=null,_e.host&&(Xe[0]===""?Xe[0]=_e.host:Xe.unshift(_e.host)),_e.host="",Ae.protocol&&(Ae.hostname=null,Ae.port=null,Ae.host&&(Ke[0]===""?Ke[0]=Ae.host:Ke.unshift(Ae.host)),Ae.host=null),tt=tt&&(Ke[0]===""||Xe[0]==="")),et)_e.host=Ae.host||Ae.host===""?Ae.host:_e.host,_e.hostname=Ae.hostname||Ae.hostname===""?Ae.hostname:_e.hostname,_e.search=Ae.search,_e.query=Ae.query,Xe=Ke;else if(Ke.length)Xe||(Xe=[]),Xe.pop(),Xe=Xe.concat(Ke),_e.search=Ae.search,_e.query=Ae.query;else if(!ie.isNullOrUndefined(Ae.search)){if(Me){_e.hostname=_e.host=Xe.shift();var Ye=_e.host&&_e.host.indexOf("@")>0?_e.host.split("@"):!1;Ye&&(_e.auth=Ye.shift(),_e.host=_e.hostname=Ye.shift())}return _e.search=Ae.search,_e.query=Ae.query,(!ie.isNull(_e.pathname)||!ie.isNull(_e.search))&&(_e.path=(_e.pathname?_e.pathname:"")+(_e.search?_e.search:"")),_e.href=_e.format(),_e}if(!Xe.length)return _e.pathname=null,_e.search?_e.path="/"+_e.search:_e.path=null,_e.href=_e.format(),_e;for(var Le=Xe.slice(-1)[0],Be=(_e.host||Ae.host||Xe.length>1)&&(Le==="."||Le==="..")||Le==="",Ve=0,$e=Xe.length;$e>=0;$e--)Le=Xe[$e],Le==="."?Xe.splice($e,1):Le===".."?(Xe.splice($e,1),Ve++):Ve&&(Xe.splice($e,1),Ve--);if(!tt&&!st)for(;Ve--;Ve)Xe.unshift("..");tt&&Xe[0]!==""&&(!Xe[0]||Xe[0].charAt(0)!=="/")&&Xe.unshift(""),Be&&Xe.join("/").substr(-1)!=="/"&&Xe.push("");var ze=Xe[0]===""||Xe[0]&&Xe[0].charAt(0)==="/";if(Me){_e.hostname=_e.host=ze?"":Xe.length?Xe.shift():"";var Ye=_e.host&&_e.host.indexOf("@")>0?_e.host.split("@"):!1;Ye&&(_e.auth=Ye.shift(),_e.host=_e.hostname=Ye.shift())}return tt=tt||_e.host&&Xe.length,tt&&!ze&&Xe.unshift(""),Xe.length?_e.pathname=Xe.join("/"):(_e.pathname=null,_e.path=null),(!ie.isNull(_e.pathname)||!ie.isNull(_e.search))&&(_e.path=(_e.pathname?_e.pathname:"")+(_e.search?_e.search:"")),_e.auth=Ae.auth||_e.auth,_e.slashes=_e.slashes||Ae.slashes,_e.href=_e.format(),_e},ue.prototype.parseHost=function(){var Ae=this.host,Ce=oe.exec(Ae);Ce&&(Ce=Ce[0],Ce!==":"&&(this.port=Ce.substr(1)),Ae=Ae.substr(0,Ae.length-Ce.length)),Ae&&(this.hostname=Ae)}},{"./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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/helpers/typeof"));he.exports={isString:function(ie){return typeof ie=="string"},isObject:function(ie){return(0,re.default)(ie)==="object"&&ie!==null},isNull:function(ie){return ie===null},isNullOrUndefined:function(ie){return ie==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,he,fe){"use strict";E("core-js/modules/es.number.constructor.js"),fe.encodeURIComponent=function(le){try{return encodeURIComponent(le)}catch(re){return le}},fe.escape=E("escape-html"),fe.timestamp=function(re){if(re){var se=re;return typeof se=="string"&&(se=Number(se)),String(re).length===10&&(se*=1e3),new Date(se)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,he,fe){(function(le,re){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ie=se(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"),ne=E("https"),ee=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function z(me,ve){return me===void 0?ve:me}function te(me){return me?me.split(";")[0].trim().toLowerCase():""}function ce(me,ve){return function(pe,be,ye){if(pe)return ve(pe);me({data:be,status:ye.statusCode,headers:ye.headers,res:ye})}}fe.TIMEOUTS=[a("300s"),a("300s")];var ge=["json","text"];fe.request=function(ve,pe,be){return arguments.length===2&&typeof pe=="function"&&(be=pe,pe=null),typeof be=="function"?fe.requestWithCallback(ve,pe,be):new Promise(function(ye,Ee){fe.requestWithCallback(ve,pe,ce(ye,Ee))})},fe.requestWithCallback=function(ve,pe,be){if(!ve||typeof ve!="string"&&(0,ie.default)(ve)!=="object"){var ye=ue.format("expect request url to be a string or a http request options, but got %j",ve);throw new Error(ye)}arguments.length===2&&typeof pe=="function"&&(be=pe,pe=null),pe=pe||{},y>=x&&(y=0);var Ee=++y;pe.requestUrls=pe.requestUrls||[];var Pe={requestId:Ee,url:ve,args:pe,ctx:pe.ctx};pe.emitter&&pe.emitter.emit("request",Pe),pe.timeout=pe.timeout||fe.TIMEOUTS,pe.maxRedirects=pe.maxRedirects||10,pe.streaming=pe.streaming||pe.customResponse;var Ae=Date.now(),Ce;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),Ce=ae.parse(ve)):Ce=ve;var _e=(pe.type||pe.method||Ce.method||"GET").toUpperCase(),we=Ce.port||80,Re=oe,De=z(pe.agent,fe.agent),ke=pe.fixJSONCtlChars;Ce.protocol==="https:"&&(Re=ne,De=z(pe.httpsAgent,fe.httpsAgent),Ce.port||(we=443));var Ie={host:Ce.hostname||Ce.host||"localhost",path:Ce.path||"/",method:_e,port:we,agent:De,headers:pe.headers||{},lookup:pe.lookup};Array.isArray(pe.timeout)?Ie.requestTimeout=pe.timeout[pe.timeout.length-1]:typeof pe.timeout!="undefined"&&(Ie.requestTimeout=pe.timeout);var qe=pe.auth||Ce.auth;qe&&(Ie.auth=qe);var Je=pe.content||pe.data,We=_e==="GET"||_e==="HEAD"||pe.dataAsQueryString;if(!pe.content&&Je&&!(typeof Je=="string"||re.isBuffer(Je)))if(We)Je=pe.nestedQuerystring?qs.stringify(Je):querystring.stringify(Je);else{var Qe=Ie.headers["Content-Type"]||Ie.headers["content-type"];Qe||(pe.contentType==="json"?Qe="application/json":Qe="application/x-www-form-urlencoded",Ie.headers["Content-Type"]=Qe),te(Qe)==="application/json"?Je=JSON.stringify(Je):Je=pe.nestedQuerystring?qs.stringify(Je):querystring.stringify(Je)}We&&Je&&(Ie.path+=(Ce.query?"&":"?")+Je,Je=null);var He=0;if(Je){var Fe=Je.length;re.isBuffer(Je)||(Fe=re.byteLength(Je)),He=Ie.headers["Content-Length"]=Fe}pe.dataType==="json"&&(Ie.headers.Accept="application/json"),typeof pe.beforeRequest=="function"&&pe.beforeRequest(Ie);var je=null,et=null,tt=null,st=!1,Xe=!1,Ke=0,Me=-1,Ye=!1,Le="",Be="",Ve=null;pe.timing&&(Ve={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function $e(){je&&(clearTimeout(je),je=null)}function ze(){et&&(clearTimeout(et),et=null)}function Te(at,xt,lt){if(ze(),!be){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Ee,le.pid,Ie.method,ve),at&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),Ee,le.pid,at.name,at.message,at.stack);return}var it=be;be=null;var bt={};lt&&(Me=lt.statusCode,bt=lt.headers);var wt=Date.now()-Ae;Ve&&(Ve.contentDownload=wt),ee("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",wt,Ke,Me,Ie.method,Ie.host,Ie.path,Xe,Ve);var Dt={status:Me,statusCode:Me,headers:bt,size:Ke,aborted:Ye,rt:wt,keepAliveSocket:Xe,data:xt,requestUrls:pe.requestUrls,timing:Ve,remoteAddress:Le,remotePort:Be};if(at){var Kt="";De&&typeof De.getCurrentStatus=="function"&&(Kt=", agent status: "+JSON.stringify(De.getCurrentStatus())),at.message+=", "+Ie.method+" "+ve+" "+Me+" (connected: "+st+", keepalive socket: "+Xe+Kt+`)
headers: `+JSON.stringify(bt),at.data=xt,at.path=Ie.path,at.status=Me,at.headers=bt,at.res=Dt}it(at,xt,pe.streaming?lt:Dt),pe.emitter&&(Pe.url=ve,Pe.socket=At&&At.connection,Pe.options=Ie,Pe.size=He,pe.emitter.emit("response",{requestId:Ee,error:at,ctx:pe.ctx,req:Pe,res:Dt}))}function Oe(at){var xt=null;if(pe.followRedirect&&statuses.redirect[at.statusCode]){pe._followRedirectCount=(pe._followRedirectCount||0)+1;var lt=at.headers.location;if(!lt)xt=new Error("Got statusCode "+at.statusCode+" but cannot resolve next location from headers"),xt.name="FollowRedirectError";else if(pe._followRedirectCount>pe.maxRedirects)xt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),xt.name="MaxRedirectError";else{var it=pe.formatRedirectUrl?pe.formatRedirectUrl(ve,lt):ae.resolve(ve,lt);ee("Request#%d %s: `redirected` from %s to %s",Ee,Ie.path,ve,it),ze(),pe.headers&&pe.headers.Host&&b.test(lt)&&(pe.headers.Host=null);var bt=be;return be=null,fe.requestWithCallback(it,pe,bt),{redirect:!0,error:null}}}return{redirect:!1,error:xt}}pe.gzip&&!Ie.headers["Accept-Encoding"]&&!Ie.headers["accept-encoding"]&&(Ie.headers["Accept-Encoding"]="gzip");function Ne(at,xt,lt){var it=at.headers["content-encoding"];return lt(null,xt,it)}var Ge=pe.writeStream;ee("Request#%d %s %s with headers %j, options.path: %s",Ee,_e,ve,Ie.headers,Ie.path),pe.requestUrls.push(ve);function rt(at){if(Ve&&(Ve.waiting=Date.now()-Ae),ee("Request#%d %s `req response` event emit: status %d, headers: %j",Ee,ve,at.statusCode,at.headers),pe.streaming){var xt=Oe(at);if(xt.redirect){at.resume();return}return xt.error?(at.resume(),Te(xt.error,null,at)):Te(null,null,at)}if(at.on("close",function(){ee("Request#%d %s: `res close` event emit, total size %d",Ee,ve,Ke)}),at.on("error",function(){ee("Request#%d %s: `res error` event emit, total size %d",Ee,ve,Ke)}),at.on("aborted",function(){Ye=!0,ee("Request#%d %s: `res aborted` event emit, total size %d",Ee,ve,Ke)}),Ge){var lt=Oe(at);if(lt.redirect){at.resume();return}return lt.error?(at.resume(),Ge.end(),Te(lt.error,null,at)):(pe.consumeWriteStream===!1?at.on("end",Te.bind(null,null,null,at)):Ge.on("close",function(){ee("Request#%d %s: writeStream close event emitted",Ee,ve),Te(tt||null,null,at)}),at.pipe(Ge))}var it=[];at.on("data",function(bt){ee("Request#%d %s: `res data` event emit, size %d",Ee,ve,bt.length),Ke+=bt.length,it.push(bt)}),at.on("end",function(){var bt=re.concat(it,Ke);if(ee("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Ee,ve,Ke,at._dumped),tt)return Te(tt,bt,at);var wt=Oe(at);if(wt.error)return Te(wt.error,bt,at);wt.redirect||Ne(at,bt,function(Dt,Kt,Pn){if(Dt)return Te(Dt,bt,at);if(!Pn&&ge.indexOf(pe.dataType)>=0){try{Kt=decodeBodyByCharset(Kt,at)}catch(Nn){return ee("decodeBodyByCharset error: %s",Nn),Te(null,Kt,at)}if(pe.dataType==="json")if(Ke===0)Kt=null;else{var wn=parseJSON(Kt,ke);wn.error?Dt=wn.error:Kt=wn.data}}Ye&&ee("Request#%d %s: Remote socket was terminated before `response.end()` was called",Ee,ve),Te(Dt,Kt,at)})})}var mt,dt;Array.isArray(pe.timeout)?(mt=a(pe.timeout[0]),dt=a(pe.timeout[1])):mt=dt=a(pe.timeout),ee("ConnectTimeout: %d, ResponseTimeout: %d",mt,dt);function nt(){ee("Connect timer ticking, timeout: %d",mt),je=setTimeout(function(){je=null,Me===-1&&(Me=-2);var at="Connect timeout for "+mt+"ms",xt="ConnectionTimeoutError";At.socket||(xt="SocketAssignTimeoutError",at+=", working sockets is full"),tt=new Error(at),tt.name=xt,tt.requestId=Ee,ee("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Ee,ve,tt.name,at,st),Nt()},mt)}function vt(){ee("Response timer ticking, timeout: %d",dt),et=setTimeout(function(){et=null;var at="Response timeout for "+dt+"ms",xt="ResponseTimeoutError";tt=new Error(at),tt.name=xt,tt.requestId=Ee,ee("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Ee,ve,tt.name,at,st),Nt()},dt)}var At;Ie.mode=pe.mode?pe.mode:"";try{At=Re.request(Ie,rt)}catch(at){return Te(at)}typeof window=="undefined"?nt():At.on("requestTimeout",function(){Me===-1&&(Me=-2);var at="Connect timeout for "+mt+"ms",xt="ConnectionTimeoutError";tt=new Error(at),tt.name=xt,tt.requestId=Ee,Nt()});function Nt(){ee("Request#%d %s abort, connected: %s",Ee,ve,st),At.socket||(tt.noSocket=!0,Te(tt)),At.abort()}return Ve&&At.on("finish",function(){Ve.requestSent=Date.now()-Ae}),At.once("socket",function(at){Ve&&(Ve.queuing=Date.now()-Ae);var xt=at.readyState;if(xt==="opening"){at.once("lookup",function(lt,it,bt){ee("Request#%d %s lookup: %s, %s, %s",Ee,ve,lt,it,bt),Ve&&(Ve.dnslookup=Date.now()-Ae),it&&(Le=it)}),at.once("connect",function(){Ve&&(Ve.connected=Date.now()-Ae),$e(),vt(),ee("Request#%d %s new socket connected",Ee,ve),st=!0,Le||(Le=at.remoteAddress),Be=at.remotePort});return}ee("Request#%d %s reuse socket connected, readyState: %s",Ee,ve,xt),st=!0,Xe=!0,Le||(Le=at.remoteAddress),Be=at.remotePort,$e(),vt()}),At.on("error",function(at){(at.name==="Error"||at.name==="TypeError")&&(at.name=st?"ResponseError":"RequestError"),at.message+=' (req "error")',ee("Request#%d %s `req error` event emit, %s: %s",Ee,ve,at.name,at.message),Te(tt||at)}),Ge&&Ge.once("error",function(at){at.message+=' (writeStream "error")',tt=at,ee("Request#%d %s `writeStream error` event emit, %s: %s",Ee,ve,at.name,at.message),Nt()}),pe.stream?(pe.stream.pipe(At),pe.stream.once("error",function(at){at.message+=' (stream "error")',tt=at,ee("Request#%d %s `readStream error` event emit, %s: %s",Ee,ve,at.name,at.message),Nt()})):At.end(Je),At.requestId=Ee,At}}).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)},38780:function(Lt,gt){"use strict";function de(){const Se=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let xe=1;xe<arguments.length;xe++){const E=xe<0||arguments.length<=xe?void 0:arguments[xe];E&&Object.keys(E).forEach(he=>{const fe=E[he];fe!==void 0&&(Se[he]=fe)})}return Se}gt.Z=de},81643:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return Se}});const Se=xe=>xe?typeof xe=="function"?xe():xe:null},66367:function(Lt,gt,de){"use strict";de.d(gt,{F:function(){return Se},Z:function(){return xe}});function Se(E){return E!=null&&E===E.window}function xe(E,he){var fe,le;if(typeof window=="undefined")return 0;const re=he?"scrollTop":"scrollLeft";let se=0;return Se(E)?se=E[he?"pageYOffset":"pageXOffset"]:E instanceof Document?se=E.documentElement[re]:(E instanceof HTMLElement||E)&&(se=E[re]),E&&!Se(E)&&typeof se!="number"&&(se=(le=((fe=E.ownerDocument)!==null&&fe!==void 0?fe:E).documentElement)===null||le===void 0?void 0:le[re]),se}},57838:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return xe}});var Se=de(67294);function xe(){const[,E]=Se.useReducer(he=>he+1,0);return E}},58375:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return he}});var Se=de(96523);function xe(fe,le,re,se){const ie=re-le;return fe/=se/2,fe<1?ie/2*fe*fe*fe+le:ie/2*((fe-=2)*fe*fe+2)+le}var E=de(66367);function he(fe){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:se,duration:ie=450}=le,ue=re(),ae=(0,E.Z)(ue,!0),oe=Date.now(),ne=()=>{const a=Date.now()-oe,y=xe(a>ie?ie:a,ae,fe,ie);(0,E.F)(ue)?ue.scrollTo(window.pageXOffset,y):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=y:ue.scrollTop=y,a<ie?(0,Se.Z)(ne):typeof se=="function"&&se()};(0,Se.Z)(ne)}},84567:function(Lt,gt,de){"use strict";de.d(gt,{default:function(){return ve}});var Se=de(94184),xe=de.n(Se),E=de(95860),he=de(67294),fe=de(53124),le=de(98866),re=de(65223),ie=he.createContext(null),ue=de(63185),ae=de(45353),oe=de(92429),ne=function(pe,be){var ye={};for(var Ee in pe)Object.prototype.hasOwnProperty.call(pe,Ee)&&be.indexOf(Ee)<0&&(ye[Ee]=pe[Ee]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ee=Object.getOwnPropertySymbols(pe);Pe<Ee.length;Pe++)be.indexOf(Ee[Pe])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ee[Pe])&&(ye[Ee[Pe]]=pe[Ee[Pe]]);return ye};const ee=(pe,be)=>{var ye;const{prefixCls:Ee,className:Pe,rootClassName:Ae,children:Ce,indeterminate:_e=!1,style:we,onMouseEnter:Re,onMouseLeave:De,skipGroup:ke=!1,disabled:Ie}=pe,qe=ne(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Je,direction:We,checkbox:Qe}=he.useContext(fe.E_),He=he.useContext(ie),{isFormItemInput:Fe}=he.useContext(re.aM),je=he.useContext(le.Z),et=(ye=(He==null?void 0:He.disabled)||Ie)!==null&&ye!==void 0?ye:je,tt=he.useRef(qe.value);he.useEffect(()=>{He==null||He.registerValue(qe.value)},[]),he.useEffect(()=>{if(!ke)return qe.value!==tt.current&&(He==null||He.cancelValue(tt.current),He==null||He.registerValue(qe.value),tt.current=qe.value),()=>He==null?void 0:He.cancelValue(qe.value)},[qe.value]);const st=Je("checkbox",Ee),[Xe,Ke]=(0,ue.ZP)(st),Me=Object.assign({},qe);He&&!ke&&(Me.onChange=function(){qe.onChange&&qe.onChange.apply(qe,arguments),He.toggleOption&&He.toggleOption({label:Ce,value:qe.value})},Me.name=He.name,Me.checked=He.value.includes(qe.value));const Ye=xe()(`${st}-wrapper`,{[`${st}-rtl`]:We==="rtl",[`${st}-wrapper-checked`]:Me.checked,[`${st}-wrapper-disabled`]:et,[`${st}-wrapper-in-form-item`]:Fe},Qe==null?void 0:Qe.className,Pe,Ae,Ke),Le=xe()({[`${st}-indeterminate`]:_e},oe.A,Ke),Be=_e?"mixed":void 0;return Xe(he.createElement(ae.Z,{component:"Checkbox",disabled:et},he.createElement("label",{className:Ye,style:Object.assign(Object.assign({},Qe==null?void 0:Qe.style),we),onMouseEnter:Re,onMouseLeave:De},he.createElement(E.Z,Object.assign({"aria-checked":Be},Me,{prefixCls:st,className:Le,disabled:et,ref:be})),Ce!==void 0&&he.createElement("span",null,Ce))))};var y=he.forwardRef(ee),x=de(74902),b=de(10366),z=function(pe,be){var ye={};for(var Ee in pe)Object.prototype.hasOwnProperty.call(pe,Ee)&&be.indexOf(Ee)<0&&(ye[Ee]=pe[Ee]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ee=Object.getOwnPropertySymbols(pe);Pe<Ee.length;Pe++)be.indexOf(Ee[Pe])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ee[Pe])&&(ye[Ee[Pe]]=pe[Ee[Pe]]);return ye};const te=(pe,be)=>{const{defaultValue:ye,children:Ee,options:Pe=[],prefixCls:Ae,className:Ce,rootClassName:_e,style:we,onChange:Re}=pe,De=z(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ke,direction:Ie}=he.useContext(fe.E_),[qe,Je]=he.useState(De.value||ye||[]),[We,Qe]=he.useState([]);he.useEffect(()=>{"value"in De&&Je(De.value||[])},[De.value]);const He=he.useMemo(()=>Pe.map(Ve=>typeof Ve=="string"||typeof Ve=="number"?{label:Ve,value:Ve}:Ve),[Pe]),Fe=Ve=>{Qe($e=>$e.filter(ze=>ze!==Ve))},je=Ve=>{Qe($e=>[].concat((0,x.Z)($e),[Ve]))},et=Ve=>{const $e=qe.indexOf(Ve.value),ze=(0,x.Z)(qe);$e===-1?ze.push(Ve.value):ze.splice($e,1),"value"in De||Je(ze),Re==null||Re(ze.filter(Te=>We.includes(Te)).sort((Te,Oe)=>{const Ne=He.findIndex(rt=>rt.value===Te),Ge=He.findIndex(rt=>rt.value===Oe);return Ne-Ge}))},tt=ke("checkbox",Ae),st=`${tt}-group`,[Xe,Ke]=(0,ue.ZP)(tt),Me=(0,b.Z)(De,["value","disabled"]),Ye=Pe.length?He.map(Ve=>he.createElement(y,{prefixCls:tt,key:Ve.value.toString(),disabled:"disabled"in Ve?Ve.disabled:De.disabled,value:Ve.value,checked:qe.includes(Ve.value),onChange:Ve.onChange,className:`${st}-item`,style:Ve.style,title:Ve.title},Ve.label)):Ee,Le={toggleOption:et,value:qe,disabled:De.disabled,name:De.name,registerValue:je,cancelValue:Fe},Be=xe()(st,{[`${st}-rtl`]:Ie==="rtl"},Ce,_e,Ke);return Xe(he.createElement("div",Object.assign({className:Be,style:we},Me,{ref:be}),he.createElement(ie.Provider,{value:Le},Ye)))},ce=he.forwardRef(te);var ge=he.memo(ce);const me=y;me.Group=ge,me.__ANT_CHECKBOX=!0;var ve=me},63185:function(Lt,gt,de){"use strict";de.d(gt,{C2:function(){return fe}});var Se=de(14747),xe=de(45503),E=de(67968);const he=le=>{const{checkboxCls:re}=le,se=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,Se.Wf)(le)),{display:"inline-flex",flexWrap:"wrap",columnGap:le.marginXS,[`> ${le.antCls}-row`]:{flex:1}}),[se]:Object.assign(Object.assign({},(0,Se.Wf)(le)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${se}`]:{marginInlineStart:0},[`&${se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,Se.Wf)(le)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:le.borderRadiusSM,alignSelf:"center",[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${re}-inner`]:Object.assign({},(0,Se.oN)(le))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:le.checkboxSize,height:le.checkboxSize,direction:"ltr",backgroundColor:le.colorBgContainer,border:`${le.lineWidth}px ${le.lineType} ${le.colorBorder}`,borderRadius:le.borderRadiusSM,borderCollapse:"separate",transition:`all ${le.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:le.checkboxSize/14*5,height:le.checkboxSize/14*8,border:`${le.lineWidthBold}px solid ${le.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${le.motionDurationFast} ${le.motionEaseInBack}, opacity ${le.motionDurationFast}`}},"& + span":{paddingInlineStart:le.paddingXS,paddingInlineEnd:le.paddingXS}})},{[`
${se}:not(${se}-disabled),
${re}:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{borderColor:le.colorPrimary}},[`${se}:not(${se}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:le.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:le.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:le.colorPrimary,borderColor:le.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${le.motionDurationMid} ${le.motionEaseOutBack} ${le.motionDurationFast}`}}},[`
${se}-checked:not(${se}-disabled),
${re}-checked:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{backgroundColor:le.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:le.colorBgContainer,borderColor:le.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:le.fontSizeLG/2,height:le.fontSizeLG/2,backgroundColor:le.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${se}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:le.colorBgContainerDisabled,borderColor:le.colorBorder,"&:after":{borderColor:le.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:le.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:le.colorTextDisabled}}}]};function fe(le,re){const se=(0,xe.TS)(re,{checkboxCls:`.${le}`,checkboxSize:re.controlInteractiveSize});return[he(se)]}gt.ZP=(0,E.Z)("Checkbox",(le,re)=>{let{prefixCls:se}=re;return[fe(se,le)]})},47221:function(Lt,gt,de){"use strict";de.d(gt,{default:function(){return Me}});var Se=de(91034),xe=de(94184),E=de.n(xe),he=de(97685),fe=de(74902),le=de(71002),re=de(21770),se=de(80334),ie=de(67294),ue=de(87462),ae=de(45987),oe=de(50344),ne=de(4942),ee=de(62874),a=de(15105),y=ie.forwardRef(function(Ye,Le){var Be,Ve=Ye.prefixCls,$e=Ye.forceRender,ze=Ye.className,Te=Ye.style,Oe=Ye.children,Ne=Ye.isActive,Ge=Ye.role,rt=ie.useState(Ne||$e),mt=(0,he.Z)(rt,2),dt=mt[0],nt=mt[1];return ie.useEffect(function(){($e||Ne)&&nt(!0)},[$e,Ne]),dt?ie.createElement("div",{ref:Le,className:E()("".concat(Ve,"-content"),(Be={},(0,ne.Z)(Be,"".concat(Ve,"-content-active"),Ne),(0,ne.Z)(Be,"".concat(Ve,"-content-inactive"),!Ne),Be),ze),style:Te,role:Ge},ie.createElement("div",{className:"".concat(Ve,"-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=ie.forwardRef(function(Ye,Le){var Be,Ve,$e=Ye.showArrow,ze=$e===void 0?!0:$e,Te=Ye.headerClass,Oe=Ye.isActive,Ne=Ye.onItemClick,Ge=Ye.forceRender,rt=Ye.className,mt=Ye.prefixCls,dt=Ye.collapsible,nt=Ye.accordion,vt=Ye.panelKey,At=Ye.extra,Nt=Ye.header,at=Ye.expandIcon,xt=Ye.openMotion,lt=Ye.destroyInactivePanel,it=Ye.children,bt=(0,ae.Z)(Ye,b),wt=dt==="disabled",Dt=dt==="header",Kt=dt==="icon",Pn=At!=null&&typeof At!="boolean",wn=function(){Ne==null||Ne(vt)},Nn=function(Vr){(Vr.key==="Enter"||Vr.keyCode===a.Z.ENTER||Vr.which===a.Z.ENTER)&&wn()},On=typeof at=="function"?at(Ye):ie.createElement("i",{className:"arrow"});On&&(On=ie.createElement("div",{className:"".concat(mt,"-expand-icon"),onClick:["header","icon"].includes(dt)?wn:void 0},On));var qn=E()((Be={},(0,ne.Z)(Be,"".concat(mt,"-item"),!0),(0,ne.Z)(Be,"".concat(mt,"-item-active"),Oe),(0,ne.Z)(Be,"".concat(mt,"-item-disabled"),wt),Be),rt),rr=E()(Te,(Ve={},(0,ne.Z)(Ve,"".concat(mt,"-header"),!0),(0,ne.Z)(Ve,"".concat(mt,"-header-collapsible-only"),Dt),(0,ne.Z)(Ve,"".concat(mt,"-icon-collapsible-only"),Kt),Ve)),pr={className:rr,"aria-expanded":Oe,"aria-disabled":wt,onKeyDown:Nn};return!Dt&&!Kt&&(pr.onClick=wn,pr.role=nt?"tab":"button",pr.tabIndex=wt?-1:0),ie.createElement("div",(0,ue.Z)({},bt,{ref:Le,className:qn}),ie.createElement("div",pr,ze&&On,ie.createElement("span",{className:"".concat(mt,"-header-text"),onClick:dt==="header"?wn:void 0},Nt),Pn&&ie.createElement("div",{className:"".concat(mt,"-extra")},At)),ie.createElement(ee.Z,(0,ue.Z)({visible:Oe,leavedClassName:"".concat(mt,"-content-hidden")},xt,{forceRender:Ge,removeOnLeave:lt}),function(zr,Vr){var An=zr.className,Cn=zr.style;return ie.createElement(x,{ref:Vr,prefixCls:mt,className:An,style:Cn,isActive:Oe,forceRender:Ge,role:nt?"tabpanel":void 0},it)}))}),te=z,ce=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ge=function(Le,Be){var Ve=Be.prefixCls,$e=Be.accordion,ze=Be.collapsible,Te=Be.destroyInactivePanel,Oe=Be.onItemClick,Ne=Be.activeKey,Ge=Be.openMotion,rt=Be.expandIcon;return Le.map(function(mt,dt){var nt=mt.children,vt=mt.label,At=mt.key,Nt=mt.collapsible,at=mt.onItemClick,xt=mt.destroyInactivePanel,lt=(0,ae.Z)(mt,ce),it=String(At!=null?At:dt),bt=Nt!=null?Nt:ze,wt=xt!=null?xt:Te,Dt=function(wn){bt!=="disabled"&&(Oe(wn),at==null||at(wn))},Kt=!1;return $e?Kt=Ne[0]===it:Kt=Ne.indexOf(it)>-1,ie.createElement(te,(0,ue.Z)({},lt,{prefixCls:Ve,key:it,panelKey:it,isActive:Kt,accordion:$e,openMotion:Ge,expandIcon:rt,header:vt,collapsible:bt,onItemClick:Dt,destroyInactivePanel:wt}),nt)})},me=function(Le,Be,Ve){if(!Le)return null;var $e=Ve.prefixCls,ze=Ve.accordion,Te=Ve.collapsible,Oe=Ve.destroyInactivePanel,Ne=Ve.onItemClick,Ge=Ve.activeKey,rt=Ve.openMotion,mt=Ve.expandIcon,dt=Le.key||String(Be),nt=Le.props,vt=nt.header,At=nt.headerClass,Nt=nt.destroyInactivePanel,at=nt.collapsible,xt=nt.onItemClick,lt=!1;ze?lt=Ge[0]===dt:lt=Ge.indexOf(dt)>-1;var it=at!=null?at:Te,bt=function(Kt){it!=="disabled"&&(Ne(Kt),xt==null||xt(Kt))},wt={key:dt,panelKey:dt,header:vt,headerClass:At,isActive:lt,prefixCls:$e,destroyInactivePanel:Nt!=null?Nt:Oe,openMotion:rt,accordion:ze,children:Le.props.children,onItemClick:bt,expandIcon:mt,collapsible:it};return typeof Le.type=="string"?Le:(Object.keys(wt).forEach(function(Dt){typeof wt[Dt]=="undefined"&&delete wt[Dt]}),ie.cloneElement(Le,wt))};function ve(Ye,Le,Be){return Array.isArray(Ye)?ge(Ye,Be):(0,oe.Z)(Le).map(function(Ve,$e){return me(Ve,$e,Be)})}var pe=ve;function be(Ye){var Le=Ye;if(!Array.isArray(Le)){var Be=(0,le.Z)(Le);Le=Be==="number"||Be==="string"?[Le]:[]}return Le.map(function(Ve){return String(Ve)})}var ye=ie.forwardRef(function(Ye,Le){var Be=Ye.prefixCls,Ve=Be===void 0?"rc-collapse":Be,$e=Ye.destroyInactivePanel,ze=$e===void 0?!1:$e,Te=Ye.style,Oe=Ye.accordion,Ne=Ye.className,Ge=Ye.children,rt=Ye.collapsible,mt=Ye.openMotion,dt=Ye.expandIcon,nt=Ye.activeKey,vt=Ye.defaultActiveKey,At=Ye.onChange,Nt=Ye.items,at=E()(Ve,Ne),xt=(0,re.Z)([],{value:nt,onChange:function(Pn){return At==null?void 0:At(Pn)},defaultValue:vt,postState:be}),lt=(0,he.Z)(xt,2),it=lt[0],bt=lt[1],wt=function(Pn){return bt(function(){if(Oe)return it[0]===Pn?[]:[Pn];var wn=it.indexOf(Pn),Nn=wn>-1;return Nn?it.filter(function(On){return On!==Pn}):[].concat((0,fe.Z)(it),[Pn])})};(0,se.ZP)(!Ge,"`children` will be removed in next major version. Please use `items` instead.");var Dt=pe(Nt,Ge,{prefixCls:Ve,accordion:Oe,openMotion:mt,expandIcon:dt,collapsible:rt,destroyInactivePanel:ze,onItemClick:wt,activeKey:it});return ie.createElement("div",{ref:Le,className:at,style:Te,role:Oe?"tablist":void 0},Dt)}),Ee=Object.assign(ye,{Panel:te}),Pe=Ee,Ae=Ee.Panel,Ce=de(37419),_e=de(10366),we=de(33603),Re=de(96159),De=de(53124),ke=de(98675),qe=ie.forwardRef((Ye,Le)=>{const{getPrefixCls:Be}=ie.useContext(De.E_),{prefixCls:Ve,className:$e,showArrow:ze=!0}=Ye,Te=Be("collapse",Ve),Oe=E()({[`${Te}-no-arrow`]:!ze},$e);return ie.createElement(Pe.Panel,Object.assign({ref:Le},Ye,{prefixCls:Te,className:Oe}))}),Je=de(14747),We=de(33507),Qe=de(67968),He=de(45503);const Fe=Ye=>{const{componentCls:Le,contentBg:Be,padding:Ve,headerBg:$e,headerPadding:ze,collapseHeaderPaddingSM:Te,collapseHeaderPaddingLG:Oe,collapsePanelBorderRadius:Ne,lineWidth:Ge,lineType:rt,colorBorder:mt,colorText:dt,colorTextHeading:nt,colorTextDisabled:vt,fontSize:At,fontSizeLG:Nt,lineHeight:at,marginSM:xt,paddingSM:lt,paddingLG:it,paddingXS:bt,motionDurationSlow:wt,fontSizeIcon:Dt,contentPadding:Kt}=Ye,Pn=`${Ge}px ${rt} ${mt}`;return{[Le]:Object.assign(Object.assign({},(0,Je.Wf)(Ye)),{backgroundColor:$e,border:Pn,borderBottom:0,borderRadius:`${Ne}px`,"&-rtl":{direction:"rtl"},[`& > ${Le}-item`]:{borderBottom:Pn,"&:last-child":{[`
&,
& > ${Le}-header`]:{borderRadius:`0 0 ${Ne}px ${Ne}px`}},[`> ${Le}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:ze,color:nt,lineHeight:at,cursor:"pointer",transition:`all ${wt}, visibility 0s`,[`> ${Le}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Le}-expand-icon`]:{height:At*at,display:"flex",alignItems:"center",paddingInlineEnd:xt},[`${Le}-arrow`]:Object.assign(Object.assign({},(0,Je.Ro)()),{fontSize:Dt,svg:{transition:`transform ${wt}`}}),[`${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:dt,backgroundColor:Be,borderTop:Pn,[`& > ${Le}-content-box`]:{padding:Kt},"&-hidden":{display:"none"}},"&-small":{[`> ${Le}-item`]:{[`> ${Le}-header`]:{padding:Te,paddingInlineStart:bt,[`> ${Le}-expand-icon`]:{marginInlineStart:lt-bt}},[`> ${Le}-content > ${Le}-content-box`]:{padding:lt}}},"&-large":{[`> ${Le}-item`]:{fontSize:Nt,[`> ${Le}-header`]:{padding:Oe,paddingInlineStart:Ve,[`> ${Le}-expand-icon`]:{height:Nt*at,marginInlineStart:it-Ve}},[`> ${Le}-content > ${Le}-content-box`]:{padding:it}}},[`${Le}-item:last-child`]:{[`> ${Le}-content`]:{borderRadius:`0 0 ${Ne}px ${Ne}px`}},[`& ${Le}-item-disabled > ${Le}-header`]:{"\n &,\n & > .arrow\n ":{color:vt,cursor:"not-allowed"}},[`&${Le}-icon-position-end`]:{[`& > ${Le}-item`]:{[`> ${Le}-header`]:{[`${Le}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:xt}}}}})}},je=Ye=>{const{componentCls:Le}=Ye,Be=`> ${Le}-item > ${Le}-header ${Le}-arrow svg`;return{[`${Le}-rtl`]:{[Be]:{transform:"rotate(180deg)"}}}},et=Ye=>{const{componentCls:Le,headerBg:Be,paddingXXS:Ve,colorBorder:$e}=Ye;return{[`${Le}-borderless`]:{backgroundColor:Be,border:0,[`> ${Le}-item`]:{borderBottom:`1px solid ${$e}`},[`
> ${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:Ve}}}},tt=Ye=>{const{componentCls:Le,paddingSM:Be}=Ye;return{[`${Le}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Le}-item`]:{borderBottom:0,[`> ${Le}-content`]:{backgroundColor:"transparent",border:0,[`> ${Le}-content-box`]:{paddingBlock:Be}}}}}};var st=(0,Qe.Z)("Collapse",Ye=>{const Le=(0,He.TS)(Ye,{collapseHeaderPaddingSM:`${Ye.paddingXS}px ${Ye.paddingSM}px`,collapseHeaderPaddingLG:`${Ye.padding}px ${Ye.paddingLG}px`,collapsePanelBorderRadius:Ye.borderRadiusLG});return[Fe(Le),et(Le),tt(Le),je(Le),(0,We.Z)(Le)]},Ye=>({headerPadding:`${Ye.paddingSM}px ${Ye.padding}px`,headerBg:Ye.colorFillAlter,contentPadding:`${Ye.padding}px 16px`,contentBg:Ye.colorBgContainer})),Ke=Object.assign(ie.forwardRef((Ye,Le)=>{const{getPrefixCls:Be,direction:Ve,collapse:$e}=ie.useContext(De.E_),{prefixCls:ze,className:Te,rootClassName:Oe,style:Ne,bordered:Ge=!0,ghost:rt,size:mt,expandIconPosition:dt="start",children:nt,expandIcon:vt}=Ye,At=(0,ke.Z)(Pn=>{var wn;return(wn=mt!=null?mt:Pn)!==null&&wn!==void 0?wn:"middle"}),Nt=Be("collapse",ze),at=Be(),[xt,lt]=st(Nt),it=ie.useMemo(()=>dt==="left"?"start":dt==="right"?"end":dt,[dt]),bt=function(){let Pn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const wn=vt?vt(Pn):ie.createElement(Se.Z,{rotate:Pn.isActive?90:void 0});return(0,Re.Tm)(wn,()=>({className:E()(wn.props.className,`${Nt}-arrow`)}))},wt=E()(`${Nt}-icon-position-${it}`,{[`${Nt}-borderless`]:!Ge,[`${Nt}-rtl`]:Ve==="rtl",[`${Nt}-ghost`]:!!rt,[`${Nt}-${At}`]:At!=="middle"},$e==null?void 0:$e.className,Te,Oe,lt),Dt=Object.assign(Object.assign({},(0,we.Z)(at)),{motionAppear:!1,leavedClassName:`${Nt}-content-hidden`}),Kt=ie.useMemo(()=>nt?(0,Ce.Z)(nt).map((Pn,wn)=>{var Nn,On;if(!((Nn=Pn.props)===null||Nn===void 0)&&Nn.disabled){const qn=(On=Pn.key)!==null&&On!==void 0?On:String(wn),{disabled:rr,collapsible:pr}=Pn.props,zr=Object.assign(Object.assign({},(0,_e.Z)(Pn.props,["disabled"])),{key:qn,collapsible:pr!=null?pr:rr?"disabled":void 0});return(0,Re.Tm)(Pn,zr)}return Pn}):null,[nt]);return xt(ie.createElement(Pe,Object.assign({ref:Le,openMotion:Dt},(0,_e.Z)(Ye,["rootClassName"]),{expandIcon:bt,prefixCls:Nt,className:wt,style:Object.assign(Object.assign({},$e==null?void 0:$e.style),Ne)}),Kt))}),{Panel:qe}),Me=Ke},72565:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return Xr}});var Se=de(94184),xe=de.n(Se),E=de(1413),he=de(97685),fe=de(67294),le=de(73935);function re(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var se={};function ie(It,Ot){}function ue(It,Ot){}function ae(){se={}}function oe(It,Ot,qt){!Ot&&!se[qt]&&(It(!1,qt),se[qt]=!0)}function ne(It,Ot){oe(ie,It,Ot)}function ee(It,Ot){oe(ue,It,Ot)}var a=null,y=de(71002),x=de(18459);function b(It,Ot,qt){var Sn=fe.useRef({});return(!("value"in Sn.current)||qt(Sn.current.condition,Ot))&&(Sn.current.value=It(),Sn.current.condition=Ot),Sn.current.value}function z(It,Ot){typeof It=="function"?It(Ot):(0,y.Z)(It)==="object"&&It&&"current"in It&&(It.current=Ot)}function te(){for(var It=arguments.length,Ot=new Array(It),qt=0;qt<It;qt++)Ot[qt]=arguments[qt];var Sn=Ot.filter(function(In){return In});return Sn.length<=1?Sn[0]:function(In){Ot.forEach(function(an){z(an,In)})}}function ce(){for(var It=arguments.length,Ot=new Array(It),qt=0;qt<It;qt++)Ot[qt]=arguments[qt];return b(function(){return te.apply(void 0,Ot)},Ot,function(Sn,In){return Sn.length===In.length&&Sn.every(function(an,Pr){return an===In[Pr]})})}function ge(It){var Ot,qt,Sn=(0,x.isMemo)(It)?It.type.type:It.type;return!(typeof Sn=="function"&&!((Ot=Sn.prototype)!==null&&Ot!==void 0&&Ot.render)||typeof It=="function"&&!((qt=It.prototype)!==null&&qt!==void 0&&qt.render))}var me=fe.createContext(null),ve=me,pe=de(74902),be=re()?fe.useLayoutEffect:fe.useEffect,ye=be,Ee=function(Ot,qt){var Sn=React.useRef(!0);be(function(){if(!Sn.current)return Ot()},qt),be(function(){return Sn.current=!1,function(){Sn.current=!0}},[])},Pe=[];function Ae(It,Ot){var qt=fe.useState(function(){if(!re())return null;var zt=document.createElement("div");return zt}),Sn=(0,he.Z)(qt,1),In=Sn[0],an=fe.useRef(!1),Pr=fe.useContext(ve),Or=fe.useState(Pe),Zr=(0,he.Z)(Or,2),ro=Zr[0],Wr=Zr[1],po=Pr||(an.current?void 0:function(zt){Wr(function(fn){var ht=[zt].concat((0,pe.Z)(fn));return ht})});function ar(){In.parentElement||document.body.appendChild(In),an.current=!0}function _t(){var zt;(zt=In.parentElement)===null||zt===void 0||zt.removeChild(In),an.current=!1}return ye(function(){return It?Pr?Pr(ar):ar():_t(),_t},[It]),ye(function(){ro.length&&(ro.forEach(function(zt){return zt()}),Wr(Pe))},[ro]),[In,po]}function Ce(It,Ot){if(!It)return!1;if(It.contains)return It.contains(Ot);for(var qt=Ot;qt;){if(qt===It)return!0;qt=qt.parentNode}return!1}var _e="data-rc-order",we="rc-util-key",Re=new Map;function De(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ot=It.mark;return Ot?Ot.startsWith("data-")?Ot:"data-".concat(Ot):we}function ke(It){if(It.attachTo)return It.attachTo;var Ot=document.querySelector("head");return Ot||document.body}function Ie(It){return It==="queue"?"prependQueue":It?"prepend":"append"}function qe(It){return Array.from((Re.get(It)||It).children).filter(function(Ot){return Ot.tagName==="STYLE"})}function Je(It){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!re())return null;var qt=Ot.csp,Sn=Ot.prepend,In=document.createElement("style");In.setAttribute(_e,Ie(Sn)),qt!=null&&qt.nonce&&(In.nonce=qt==null?void 0:qt.nonce),In.innerHTML=It;var an=ke(Ot),Pr=an.firstChild;if(Sn){if(Sn==="queue"){var Or=qe(an).filter(function(Zr){return["prepend","prependQueue"].includes(Zr.getAttribute(_e))});if(Or.length)return an.insertBefore(In,Or[Or.length-1].nextSibling),In}an.insertBefore(In,Pr)}else an.appendChild(In);return In}function We(It){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},qt=ke(Ot);return qe(qt).find(function(Sn){return Sn.getAttribute(De(Ot))===It})}function Qe(It){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},qt=We(It,Ot);if(qt){var Sn=ke(Ot);Sn.removeChild(qt)}}function He(It,Ot){var qt=Re.get(It);if(!qt||!Ce(document,qt)){var Sn=Je("",Ot),In=Sn.parentNode;Re.set(It,In),It.removeChild(Sn)}}function Fe(){Re.clear()}function je(It,Ot){var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Sn=ke(qt);He(Sn,qt);var In=We(Ot,qt);if(In){var an,Pr;if((an=qt.csp)!==null&&an!==void 0&&an.nonce&&In.nonce!==((Pr=qt.csp)===null||Pr===void 0?void 0:Pr.nonce)){var Or;In.nonce=(Or=qt.csp)===null||Or===void 0?void 0:Or.nonce}return In.innerHTML!==It&&(In.innerHTML=It),In}var Zr=Je(It,qt);return Zr.setAttribute(De(qt),Ot),Zr}var et;function tt(It){if(typeof document=="undefined")return 0;if(It||et===void 0){var Ot=document.createElement("div");Ot.style.width="100%",Ot.style.height="200px";var qt=document.createElement("div"),Sn=qt.style;Sn.position="absolute",Sn.top="0",Sn.left="0",Sn.pointerEvents="none",Sn.visibility="hidden",Sn.width="200px",Sn.height="150px",Sn.overflow="hidden",qt.appendChild(Ot),document.body.appendChild(qt);var In=Ot.offsetWidth;qt.style.overflow="scroll";var an=Ot.offsetWidth;In===an&&(an=qt.clientWidth),document.body.removeChild(qt),et=In-an}return et}function st(It){var Ot=It.match(/^(.*)px$/),qt=Number(Ot==null?void 0:Ot[1]);return Number.isNaN(qt)?tt():qt}function Xe(It){if(typeof document=="undefined"||!It||!(It instanceof Element))return{width:0,height:0};var Ot=getComputedStyle(It,"::-webkit-scrollbar"),qt=Ot.width,Sn=Ot.height;return{width:st(qt),height:st(Sn)}}function Ke(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Me="rc-util-locker-".concat(Date.now()),Ye=0;function Le(It){var Ot=!!It,qt=fe.useState(function(){return Ye+=1,"".concat(Me,"_").concat(Ye)}),Sn=(0,he.Z)(qt,1),In=Sn[0];ye(function(){if(Ot){var an=Xe(document.body).width,Pr=Ke();je(`
html body {
overflow-y: hidden;
`.concat(Pr?"width: calc(100% - ".concat(an,"px);"):"",`
}`),In)}else Qe(In);return function(){Qe(In)}},[Ot,In])}var Be=!1;function Ve(It){return typeof It=="boolean"&&(Be=It),Be}var $e=function(Ot){return Ot===!1?!1:!re()||!Ot?null:typeof Ot=="string"?document.querySelector(Ot):typeof Ot=="function"?Ot():Ot},ze=fe.forwardRef(function(It,Ot){var qt=It.open,Sn=It.autoLock,In=It.getContainer,an=It.debug,Pr=It.autoDestroy,Or=Pr===void 0?!0:Pr,Zr=It.children,ro=fe.useState(qt),Wr=(0,he.Z)(ro,2),po=Wr[0],ar=Wr[1],_t=po||qt;fe.useEffect(function(){(Or||qt)&&ar(qt)},[qt,Or]);var zt=fe.useState(function(){return $e(In)}),fn=(0,he.Z)(zt,2),ht=fn[0],hn=fn[1];fe.useEffect(function(){var rn=$e(In);hn(rn!=null?rn:null)});var kn=Ae(_t&&!ht,an),Un=(0,he.Z)(kn,2),Vt=Un[0],nn=Un[1],sn=ht!=null?ht:Vt;Le(Sn&&qt&&re()&&(sn===Vt||sn===document.body));var Kn=null;if(Zr&&ge(Zr)&&Ot){var lr=Zr;Kn=lr.ref}var mr=ce(Kn,Ot);if(!_t||!re()||ht===void 0)return null;var Et=sn===!1||Ve(),Gt=Zr;return Ot&&(Gt=fe.cloneElement(Zr,{ref:mr})),fe.createElement(ve.Provider,{value:nn},Et?Gt:(0,le.createPortal)(Gt,sn))}),Te=ze,Oe=Te;function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ge=Ne()?fe.useLayoutEffect:fe.useEffect,rt=function(Ot,qt){var Sn=fe.useRef(!0);Ge(function(){return Ot(Sn.current)},qt),Ge(function(){return Sn.current=!1,function(){Sn.current=!0}},[])},mt=function(Ot,qt){rt(function(Sn){if(!Sn)return Ot()},qt)},dt=rt,nt=fe.createContext(null),vt=fe.createContext({}),At=nt,Nt=de(4942),at=de(87462),xt=de(62874),lt={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Ot){var qt=Ot.keyCode;if(Ot.altKey&&!Ot.ctrlKey||Ot.metaKey||qt>=lt.F1&&qt<=lt.F12)return!1;switch(qt){case lt.ALT:case lt.CAPS_LOCK:case lt.CONTEXT_MENU:case lt.CTRL:case lt.DOWN:case lt.END:case lt.ESC:case lt.HOME:case lt.INSERT:case lt.LEFT:case lt.MAC_FF_META:case lt.META:case lt.NUMLOCK:case lt.NUM_CENTER:case lt.PAGE_DOWN:case lt.PAGE_UP:case lt.PAUSE:case lt.PRINT_SCREEN:case lt.RIGHT:case lt.SHIFT:case lt.UP:case lt.WIN_KEY:case lt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Ot){if(Ot>=lt.ZERO&&Ot<=lt.NINE||Ot>=lt.NUM_ZERO&&Ot<=lt.NUM_MULTIPLY||Ot>=lt.A&&Ot<=lt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ot===0)return!0;switch(Ot){case lt.SPACE:case lt.QUESTION_MARK:case lt.NUM_PLUS:case lt.NUM_MINUS:case lt.NUM_PERIOD:case lt.NUM_DIVISION:case lt.SEMICOLON:case lt.DASH:case lt.EQUALS:case lt.COMMA:case lt.PERIOD:case lt.SLASH:case lt.APOSTROPHE:case lt.SINGLE_QUOTE:case lt.OPEN_SQUARE_BRACKET:case lt.BACKSLASH:case lt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},it=lt,bt=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,wt=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Dt="".concat(bt," ").concat(wt).split(/[\s\n]+/),Kt="aria-",Pn="data-";function wn(It,Ot){return It.indexOf(Ot)===0}function Nn(It){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,qt;Ot===!1?qt={aria:!0,data:!0,attr:!0}:Ot===!0?qt={aria:!0}:qt=(0,E.Z)({},Ot);var Sn={};return Object.keys(It).forEach(function(In){(qt.aria&&(In==="role"||wn(In,Kt))||qt.data&&wn(In,Pn)||qt.attr&&Dt.includes(In))&&(Sn[In]=It[In])}),Sn}function On(It){var Ot=React.useRef();Ot.current=It;var qt=React.useCallback(function(){for(var Sn,In=arguments.length,an=new Array(In),Pr=0;Pr<In;Pr++)an[Pr]=arguments[Pr];return(Sn=Ot.current)===null||Sn===void 0?void 0:Sn.call.apply(Sn,[Ot].concat(an))},[]);return qt}function qn(It){var Ot=React.useRef(!1),qt=React.useState(It),Sn=_slicedToArray(qt,2),In=Sn[0],an=Sn[1];React.useEffect(function(){return Ot.current=!1,function(){Ot.current=!0}},[]);function Pr(Or,Zr){Zr&&Ot.current||an(Or)}return[In,Pr]}function rr(It){return It!==void 0}function pr(It,Ot){var qt=Ot||{},Sn=qt.defaultValue,In=qt.value,an=qt.onChange,Pr=qt.postState,Or=useState(function(){return rr(In)?In:rr(Sn)?typeof Sn=="function"?Sn():Sn:typeof It=="function"?It():It}),Zr=_slicedToArray(Or,2),ro=Zr[0],Wr=Zr[1],po=In!==void 0?In:ro,ar=Pr?Pr(po):po,_t=useEvent(an),zt=useState([po]),fn=_slicedToArray(zt,2),ht=fn[0],hn=fn[1];useLayoutUpdateEffect(function(){var Un=ht[0];ro!==Un&&_t(ro,Un)},[ht]),useLayoutUpdateEffect(function(){rr(In)||Wr(In)},[In]);var kn=useEvent(function(Un,Vt){Wr(Un,Vt),hn([po],Vt)});return[ar,kn]}var zr=de(33993);function Vr(It,Ot,qt){var Sn=fe.useRef({});return(!("value"in Sn.current)||qt(Sn.current.condition,Ot))&&(Sn.current.value=It(),Sn.current.condition=Ot),Sn.current.value}function An(It,Ot){typeof It=="function"?It(Ot):(0,y.Z)(It)==="object"&&It&&"current"in It&&(It.current=Ot)}function Cn(){for(var It=arguments.length,Ot=new Array(It),qt=0;qt<It;qt++)Ot[qt]=arguments[qt];var Sn=Ot.filter(function(In){return In});return Sn.length<=1?Sn[0]:function(In){Ot.forEach(function(an){An(an,In)})}}function Ut(){for(var It=arguments.length,Ot=new Array(It),qt=0;qt<It;qt++)Ot[qt]=arguments[qt];return Vr(function(){return Cn.apply(void 0,Ot)},Ot,function(Sn,In){return Sn.length!==In.length||Sn.every(function(an,Pr){return an!==In[Pr]})})}function Tt(It){var Ot,qt,Sn=isMemo(It)?It.type.type:It.type;return!(typeof Sn=="function"&&!((Ot=Sn.prototype)!==null&&Ot!==void 0&&Ot.render)||typeof It=="function"&&!((qt=It.prototype)!==null&&qt!==void 0&&qt.render))}function kt(It){return!isValidElement(It)||isFragment(It)?!1:Tt(It)}function en(It,Ot,qt,Sn){if(!Ot.length)return qt;var In=_toArray(Ot),an=In[0],Pr=In.slice(1),Or;return!It&&typeof an=="number"?Or=[]:Array.isArray(It)?Or=_toConsumableArray(It):Or=_objectSpread({},It),Sn&&qt===void 0&&Pr.length===1?delete Or[an][Pr[0]]:Or[an]=en(Or[an],Pr,qt,Sn),Or}function Xt(It,Ot,qt){var Sn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Ot.length&&Sn&&qt===void 0&&!get(It,Ot.slice(0,-1))?It:en(It,Ot,qt,Sn)}function Tn(It){return _typeof(It)==="object"&&It!==null&&Object.getPrototypeOf(It)===Object.prototype}function tn(It){return Array.isArray(It)?[]:{}}var yn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Mn(){for(var It=arguments.length,Ot=new Array(It),qt=0;qt<It;qt++)Ot[qt]=arguments[qt];var Sn=tn(Ot[0]);return Ot.forEach(function(In){function an(Pr,Or){var Zr=new Set(Or),ro=get(In,Pr),Wr=Array.isArray(ro);if(Wr||Tn(ro)){if(!Zr.has(ro)){Zr.add(ro);var po=get(Sn,Pr);Wr?Sn=Xt(Sn,Pr,[]):(!po||_typeof(po)!=="object")&&(Sn=Xt(Sn,Pr,tn(ro))),yn(ro).forEach(function(ar){an([].concat(_toConsumableArray(Pr),[ar]),Zr)})}}else Sn=Xt(Sn,Pr,ro)}an([])}),Sn}var Dn={},St=[],Ct=function(Ot){St.push(Ot)};function Rt(It,Ot){if(0)var qt}function dn(It,Ot){if(0)var qt}function Hn(){Dn={}}function jn(It,Ot,qt){!Ot&&!Dn[qt]&&(It(!1,qt),Dn[qt]=!0)}function br(It,Ot){jn(Rt,It,Ot)}function or(It,Ot){jn(dn,It,Ot)}br.preMessage=Ct,br.resetWarned=Hn,br.noteOnce=or;var wr=br,Sr=function(Ot){var qt=Ot.prefixCls,Sn=Ot.className,In=Ot.style,an=Ot.children,Pr=Ot.containerRef,Or=Ot.id,Zr=Ot.onMouseEnter,ro=Ot.onMouseOver,Wr=Ot.onMouseLeave,po=Ot.onClick,ar=Ot.onKeyDown,_t=Ot.onKeyUp,zt={onMouseEnter:Zr,onMouseOver:ro,onMouseLeave:Wr,onClick:po,onKeyDown:ar,onKeyUp:_t},fn=fe.useContext(vt),ht=fn.panel,hn=Ut(ht,Pr);return fe.createElement(fe.Fragment,null,fe.createElement("div",(0,at.Z)({id:Or,className:xe()("".concat(qt,"-content"),Sn),style:(0,E.Z)({},In),"aria-modal":"true",role:"dialog",ref:hn},zt),an))},co=Sr;function bn(It){return typeof It=="string"&&String(Number(It))===It?(wr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(It)):It}function Lr(It){warning(!("wrapperClassName"in It),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!It.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var jt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function mn(It,Ot){var qt,Sn,In,an,Pr=It.prefixCls,Or=It.open,Zr=It.placement,ro=It.inline,Wr=It.push,po=It.forceRender,ar=It.autoFocus,_t=It.keyboard,zt=It.rootClassName,fn=It.rootStyle,ht=It.zIndex,hn=It.className,kn=It.id,Un=It.style,Vt=It.motion,nn=It.width,sn=It.height,Kn=It.children,lr=It.contentWrapperStyle,mr=It.mask,Et=It.maskClosable,Gt=It.maskMotion,rn=It.maskClassName,Xn=It.maskStyle,_n=It.afterOpenChange,on=It.onClose,Yt=It.onMouseEnter,$t=It.onMouseOver,Jt=It.onMouseLeave,Ln=It.onClick,ut=It.onKeyDown,ct=It.onKeyUp,pt=fe.useRef(),Mt=fe.useRef(),Ft=fe.useRef();fe.useImperativeHandle(Ot,function(){return pt.current});var Ht=function(uo){var Co=uo.keyCode,Io=uo.shiftKey;switch(Co){case it.TAB:{if(Co===it.TAB){if(!Io&&document.activeElement===Ft.current){var yo;(yo=Mt.current)===null||yo===void 0||yo.focus({preventScroll:!0})}else if(Io&&document.activeElement===Mt.current){var Eo;(Eo=Ft.current)===null||Eo===void 0||Eo.focus({preventScroll:!0})}}break}case it.ESC:{on&&_t&&(uo.stopPropagation(),on(uo));break}}};fe.useEffect(function(){if(Or&&ar){var Er;(Er=pt.current)===null||Er===void 0||Er.focus({preventScroll:!0})}},[Or]);var pn=fe.useState(!1),Rn=(0,he.Z)(pn,2),Vn=Rn[0],Qn=Rn[1],Yn=fe.useContext(At),tr;Wr===!1?tr={distance:0}:Wr===!0?tr={}:tr=Wr||{};var Jn=(qt=(Sn=(In=tr)===null||In===void 0?void 0:In.distance)!==null&&Sn!==void 0?Sn:Yn==null?void 0:Yn.pushDistance)!==null&&qt!==void 0?qt:180,er=fe.useMemo(function(){return{pushDistance:Jn,push:function(){Qn(!0)},pull:function(){Qn(!1)}}},[Jn]);fe.useEffect(function(){if(Or){var Er;Yn==null||(Er=Yn.push)===null||Er===void 0||Er.call(Yn)}else{var uo;Yn==null||(uo=Yn.pull)===null||uo===void 0||uo.call(Yn)}},[Or]),fe.useEffect(function(){return function(){var Er;Yn==null||(Er=Yn.pull)===null||Er===void 0||Er.call(Yn)}},[]);var Mr=mr&&fe.createElement(xt.Z,(0,at.Z)({key:"mask"},Gt,{visible:Or}),function(Er,uo){var Co=Er.className,Io=Er.style;return fe.createElement("div",{className:xe()("".concat(Pr,"-mask"),Co,rn),style:(0,E.Z)((0,E.Z)({},Io),Xn),onClick:Et&&Or?on:void 0,ref:uo})}),Ur=typeof Vt=="function"?Vt(Zr):Vt,jr={};if(Vn&&Jn)switch(Zr){case"top":jr.transform="translateY(".concat(Jn,"px)");break;case"bottom":jr.transform="translateY(".concat(-Jn,"px)");break;case"left":jr.transform="translateX(".concat(Jn,"px)");break;default:jr.transform="translateX(".concat(-Jn,"px)");break}Zr==="left"||Zr==="right"?jr.width=bn(nn):jr.height=bn(sn);var Yr={onMouseEnter:Yt,onMouseOver:$t,onMouseLeave:Jt,onClick:Ln,onKeyDown:ut,onKeyUp:ct},no=fe.createElement(xt.Z,(0,at.Z)({key:"panel"},Ur,{visible:Or,forceRender:po,onVisibleChanged:function(uo){_n==null||_n(uo)},removeOnLeave:!1,leavedClassName:"".concat(Pr,"-content-wrapper-hidden")}),function(Er,uo){var Co=Er.className,Io=Er.style;return fe.createElement("div",(0,at.Z)({className:xe()("".concat(Pr,"-content-wrapper"),Co),style:(0,E.Z)((0,E.Z)((0,E.Z)({},jr),Io),lr)},Nn(It,{data:!0})),fe.createElement(co,(0,at.Z)({id:kn,containerRef:uo,prefixCls:Pr,className:hn,style:Un},Yr),Kn))}),mo=(0,E.Z)({},fn);return ht&&(mo.zIndex=ht),fe.createElement(At.Provider,{value:er},fe.createElement("div",{className:xe()(Pr,"".concat(Pr,"-").concat(Zr),zt,(an={},(0,Nt.Z)(an,"".concat(Pr,"-open"),Or),(0,Nt.Z)(an,"".concat(Pr,"-inline"),ro),an)),style:mo,tabIndex:-1,ref:pt,onKeyDown:Ht},Mr,fe.createElement("div",{tabIndex:0,ref:Mt,style:jt,"aria-hidden":"true","data-sentinel":"start"}),no,fe.createElement("div",{tabIndex:0,ref:Ft,style:jt,"aria-hidden":"true","data-sentinel":"end"})))}var cn=fe.forwardRef(mn),vn=cn,Wn=function(Ot){var qt=Ot.open,Sn=qt===void 0?!1:qt,In=Ot.prefixCls,an=In===void 0?"rc-drawer":In,Pr=Ot.placement,Or=Pr===void 0?"right":Pr,Zr=Ot.autoFocus,ro=Zr===void 0?!0:Zr,Wr=Ot.keyboard,po=Wr===void 0?!0:Wr,ar=Ot.width,_t=ar===void 0?378:ar,zt=Ot.mask,fn=zt===void 0?!0:zt,ht=Ot.maskClosable,hn=ht===void 0?!0:ht,kn=Ot.getContainer,Un=Ot.forceRender,Vt=Ot.afterOpenChange,nn=Ot.destroyOnClose,sn=Ot.onMouseEnter,Kn=Ot.onMouseOver,lr=Ot.onMouseLeave,mr=Ot.onClick,Et=Ot.onKeyDown,Gt=Ot.onKeyUp,rn=Ot.panelRef,Xn=fe.useState(!1),_n=(0,he.Z)(Xn,2),on=_n[0],Yt=_n[1],$t=fe.useState(!1),Jt=(0,he.Z)($t,2),Ln=Jt[0],ut=Jt[1];dt(function(){ut(!0)},[]);var ct=Ln?Sn:!1,pt=fe.useRef(),Mt=fe.useRef();dt(function(){ct&&(Mt.current=document.activeElement)},[ct]);var Ft=function(Qn){var Yn;if(Yt(Qn),Vt==null||Vt(Qn),!Qn&&Mt.current&&!((Yn=pt.current)!==null&&Yn!==void 0&&Yn.contains(Mt.current))){var tr;(tr=Mt.current)===null||tr===void 0||tr.focus({preventScroll:!0})}},Ht=fe.useMemo(function(){return{panel:rn}},[rn]);if(!Un&&!on&&!ct&&nn)return null;var pn={onMouseEnter:sn,onMouseOver:Kn,onMouseLeave:lr,onClick:mr,onKeyDown:Et,onKeyUp:Gt},Rn=(0,E.Z)((0,E.Z)({},Ot),{},{open:ct,prefixCls:an,placement:Or,autoFocus:ro,keyboard:po,width:_t,mask:fn,maskClosable:hn,inline:kn===!1,afterOpenChange:Ft,ref:pt},pn);return fe.createElement(vt.Provider,{value:Ht},fe.createElement(Oe,{open:ct||Un||on,autoDestroy:!1,getContainer:kn,autoLock:fn&&(ct||on)},fe.createElement(vn,Rn)))},gn=Wn,Qt=gn,xn=de(33603),Cr=de(53124),gr=de(65223),Rr=de(69760),ho=It=>{const{prefixCls:Ot,title:qt,footer:Sn,extra:In,closeIcon:an,closable:Pr,onClose:Or,headerStyle:Zr,drawerStyle:ro,bodyStyle:Wr,footerStyle:po,children:ar}=It,_t=fe.useCallback(kn=>fe.createElement("button",{type:"button",onClick:Or,"aria-label":"Close",className:`${Ot}-close`},kn),[Or]),[zt,fn]=(0,Rr.Z)(Pr,an,_t,void 0,!0),ht=fe.useMemo(()=>!qt&&!zt?null:fe.createElement("div",{style:Zr,className:xe()(`${Ot}-header`,{[`${Ot}-header-close-only`]:zt&&!qt&&!In})},fe.createElement("div",{className:`${Ot}-header-title`},fn,qt&&fe.createElement("div",{className:`${Ot}-title`},qt)),In&&fe.createElement("div",{className:`${Ot}-extra`},In)),[zt,fn,In,Zr,Ot,qt]),hn=fe.useMemo(()=>{if(!Sn)return null;const kn=`${Ot}-footer`;return fe.createElement("div",{className:kn,style:po},Sn)},[Sn,po,Ot]);return fe.createElement("div",{className:`${Ot}-wrapper-body`,style:ro},ht,fe.createElement("div",{className:`${Ot}-body`,style:Wr},ar),hn)},ao=de(4173),eo=de(67968),Fn=de(45503),jo=It=>{const{componentCls:Ot,motionDurationSlow:qt}=It,Sn={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${qt}`}}};return{[Ot]:{[`${Ot}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${qt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Ot}-panel-motion`]:{"&-left":[Sn,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Sn,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Sn,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Sn,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const $n=It=>{const{componentCls:Ot,zIndexPopup:qt,colorBgMask:Sn,colorBgElevated:In,motionDurationSlow:an,motionDurationMid:Pr,padding:Or,paddingLG:Zr,fontSizeLG:ro,lineHeightLG:Wr,lineWidth:po,lineType:ar,colorSplit:_t,marginSM:zt,colorIcon:fn,colorIconHover:ht,colorText:hn,fontWeightStrong:kn,footerPaddingBlock:Un,footerPaddingInline:Vt}=It,nn=`${Ot}-content-wrapper`;return{[Ot]:{position:"fixed",inset:0,zIndex:qt,pointerEvents:"none","&-pure":{position:"relative",background:In,[`&${Ot}-left`]:{boxShadow:It.boxShadowDrawerLeft},[`&${Ot}-right`]:{boxShadow:It.boxShadowDrawerRight},[`&${Ot}-top`]:{boxShadow:It.boxShadowDrawerUp},[`&${Ot}-bottom`]:{boxShadow:It.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Ot}-mask`]:{position:"absolute",inset:0,zIndex:qt,background:Sn,pointerEvents:"auto"},[nn]:{position:"absolute",zIndex:qt,maxWidth:"100vw",transition:`all ${an}`,"&-hidden":{display:"none"}},[`&-left > ${nn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:It.boxShadowDrawerLeft},[`&-right > ${nn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:It.boxShadowDrawerRight},[`&-top > ${nn}`]:{top:0,insetInline:0,boxShadow:It.boxShadowDrawerUp},[`&-bottom > ${nn}`]:{bottom:0,insetInline:0,boxShadow:It.boxShadowDrawerDown},[`${Ot}-content`]:{width:"100%",height:"100%",overflow:"auto",background:In,pointerEvents:"auto"},[`${Ot}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Ot}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Or}px ${Zr}px`,fontSize:ro,lineHeight:Wr,borderBottom:`${po}px ${ar} ${_t}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Ot}-extra`]:{flex:"none"},[`${Ot}-close`]:{display:"inline-block",marginInlineEnd:zt,color:fn,fontWeight:kn,fontSize:ro,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Pr}`,textRendering:"auto","&:focus, &:hover":{color:ht,textDecoration:"none"}},[`${Ot}-title`]:{flex:1,margin:0,color:hn,fontWeight:It.fontWeightStrong,fontSize:ro,lineHeight:Wr},[`${Ot}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Zr,overflow:"auto"},[`${Ot}-footer`]:{flexShrink:0,padding:`${Un}px ${Vt}px`,borderTop:`${po}px ${ar} ${_t}`},"&-rtl":{direction:"rtl"}}}};var Bn=(0,eo.Z)("Drawer",It=>{const Ot=(0,Fn.TS)(It,{});return[$n(Ot),jo(Ot)]},It=>({zIndexPopup:It.zIndexPopupBase,footerPaddingBlock:It.paddingXS,footerPaddingInline:It.padding})),fr=de(16569),nr=function(It,Ot){var qt={};for(var Sn in It)Object.prototype.hasOwnProperty.call(It,Sn)&&Ot.indexOf(Sn)<0&&(qt[Sn]=It[Sn]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,Sn=Object.getOwnPropertySymbols(It);In<Sn.length;In++)Ot.indexOf(Sn[In])<0&&Object.prototype.propertyIsEnumerable.call(It,Sn[In])&&(qt[Sn[In]]=It[Sn[In]]);return qt};const xr=null,cr={distance:180},Fr=It=>{var Ot;const{rootClassName:qt,width:Sn,height:In,size:an="default",mask:Pr=!0,push:Or=cr,open:Zr,afterOpenChange:ro,onClose:Wr,prefixCls:po,getContainer:ar,style:_t,className:zt,visible:fn,afterVisibleChange:ht}=It,hn=nr(It,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:kn,getPrefixCls:Un,direction:Vt,drawer:nn}=fe.useContext(Cr.E_),sn=Un("drawer",po),[Kn,lr]=Bn(sn),mr=ar===void 0&&kn?()=>kn(document.body):ar,Et=xe()({"no-mask":!Pr,[`${sn}-rtl`]:Vt==="rtl"},qt,lr),Gt=fe.useMemo(()=>Sn!=null?Sn:an==="large"?736:378,[Sn,an]),rn=fe.useMemo(()=>In!=null?In:an==="large"?736:378,[In,an]),Xn={motionName:(0,xn.m)(sn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},_n=Yt=>({motionName:(0,xn.m)(sn,`panel-motion-${Yt}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),on=(0,fr.H)();return Kn(fe.createElement(ao.BR,null,fe.createElement(gr.Ux,{status:!0,override:!0},fe.createElement(Qt,Object.assign({prefixCls:sn,onClose:Wr,maskMotion:Xn,motion:_n},hn,{open:Zr!=null?Zr:fn,mask:Pr,push:Or,width:Gt,height:rn,style:Object.assign(Object.assign({},nn==null?void 0:nn.style),_t),className:xe()(nn==null?void 0:nn.className,zt),rootClassName:Et,getContainer:mr,afterOpenChange:ro!=null?ro:ht,panelRef:on}),fe.createElement(ho,Object.assign({prefixCls:sn},hn,{onClose:Wr}))))))},Qr=It=>{const{prefixCls:Ot,style:qt,className:Sn,placement:In="right"}=It,an=nr(It,["prefixCls","style","className","placement"]),{getPrefixCls:Pr}=fe.useContext(Cr.E_),Or=Pr("drawer",Ot),[Zr,ro]=Bn(Or),Wr=xe()(Or,`${Or}-pure`,`${Or}-${In}`,ro,Sn);return Zr(fe.createElement("div",{className:Wr,style:qt},fe.createElement(ho,Object.assign({prefixCls:Or},an))))};Fr._InternalPanelDoNotUseOrYouWillBeFired=Qr;var Xr=Fr},35874:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return $e}});var Se=de(67294),xe=de(91034),E=de(94184),he=de.n(E),fe=de(87462),le=de(4942),re=de(97685),se=de(45987),ie=de(62709),ue=de(71002),ae=de(12060);function oe(ze,Te,Oe){var Ne=React.useRef({});return(!("value"in Ne.current)||Oe(Ne.current.condition,Te))&&(Ne.current.value=ze(),Ne.current.condition=Te),Ne.current.value}function ne(ze,Te){typeof ze=="function"?ze(Te):(0,ue.Z)(ze)==="object"&&ze&&"current"in ze&&(ze.current=Te)}function ee(){for(var ze=arguments.length,Te=new Array(ze),Oe=0;Oe<ze;Oe++)Te[Oe]=arguments[Oe];var Ne=Te.filter(function(Ge){return Ge});return Ne.length<=1?Ne[0]:function(Ge){Te.forEach(function(rt){ne(rt,Ge)})}}function a(){for(var ze=arguments.length,Te=new Array(ze),Oe=0;Oe<ze;Oe++)Te[Oe]=arguments[Oe];return useMemo(function(){return ee.apply(void 0,Te)},Te,function(Ne,Ge){return Ne.length===Ge.length&&Ne.every(function(rt,mt){return rt===Ge[mt]})})}function y(ze){var Te,Oe,Ne=(0,ae.isMemo)(ze)?ze.type.type:ze.type;return!(typeof Ne=="function"&&!((Te=Ne.prototype)!==null&&Te!==void 0&&Te.render)||typeof ze=="function"&&!((Oe=ze.prototype)!==null&&Oe!==void 0&&Oe.render))}var x={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Te){var Oe=Te.keyCode;if(Te.altKey&&!Te.ctrlKey||Te.metaKey||Oe>=x.F1&&Oe<=x.F12)return!1;switch(Oe){case x.ALT:case x.CAPS_LOCK:case x.CONTEXT_MENU:case x.CTRL:case x.DOWN:case x.END:case x.ESC:case x.HOME:case x.INSERT:case x.LEFT:case x.MAC_FF_META:case x.META:case x.NUMLOCK:case x.NUM_CENTER:case x.PAGE_DOWN:case x.PAGE_UP:case x.PAUSE:case x.PRINT_SCREEN:case x.RIGHT:case x.SHIFT:case x.UP:case x.WIN_KEY:case x.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Te){if(Te>=x.ZERO&&Te<=x.NINE||Te>=x.NUM_ZERO&&Te<=x.NUM_MULTIPLY||Te>=x.A&&Te<=x.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Te===0)return!0;switch(Te){case x.SPACE:case x.QUESTION_MARK:case x.NUM_PLUS:case x.NUM_MINUS:case x.NUM_PERIOD:case x.NUM_DIVISION:case x.SEMICOLON:case x.DASH:case x.EQUALS:case x.COMMA:case x.PERIOD:case x.SLASH:case x.APOSTROPHE:case x.SINGLE_QUOTE:case x.OPEN_SQUARE_BRACKET:case x.BACKSLASH:case x.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},b=x,z=function(Te){return+setTimeout(Te,16)},te=function(Te){return clearTimeout(Te)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(z=function(Te){return window.requestAnimationFrame(Te)},te=function(Te){return window.cancelAnimationFrame(Te)});var ce=0,ge=new Map;function me(ze){ge.delete(ze)}var ve=function(Te){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ce+=1;var Ne=ce;function Ge(rt){if(rt===0)me(Ne),Te();else{var mt=z(function(){Ge(rt-1)});ge.set(Ne,mt)}}return Ge(Oe),Ne};ve.cancel=function(ze){var Te=ge.get(ze);return me(Te),te(Te)};var pe=ve,be=b.ESC,ye=b.TAB;function Ee(ze){var Te=ze.visible,Oe=ze.triggerRef,Ne=ze.onVisibleChange,Ge=ze.autoFocus,rt=ze.overlayRef,mt=Se.useRef(!1),dt=function(){if(Te){var Nt,at;(Nt=Oe.current)===null||Nt===void 0||(at=Nt.focus)===null||at===void 0||at.call(Nt),Ne==null||Ne(!1)}},nt=function(){var Nt;return(Nt=rt.current)!==null&&Nt!==void 0&&Nt.focus?(rt.current.focus(),mt.current=!0,!0):!1},vt=function(Nt){switch(Nt.keyCode){case be:dt();break;case ye:{var at=!1;mt.current||(at=nt()),at?Nt.preventDefault():dt();break}}};Se.useEffect(function(){return Te?(window.addEventListener("keydown",vt),Ge&&pe(nt,3),function(){window.removeEventListener("keydown",vt),mt.current=!1}):function(){mt.current=!1}},[Te])}var Pe=(0,Se.forwardRef)(function(ze,Te){var Oe=ze.overlay,Ne=ze.arrow,Ge=ze.prefixCls,rt=(0,Se.useMemo)(function(){var dt;return typeof Oe=="function"?dt=Oe():dt=Oe,dt},[Oe]),mt=ee(Te,rt==null?void 0:rt.ref);return Se.createElement(Se.Fragment,null,Ne&&Se.createElement("div",{className:"".concat(Ge,"-arrow")}),Se.cloneElement(rt,{ref:y(rt)?mt:void 0}))}),Ae=Pe,Ce={adjustX:1,adjustY:1},_e=[0,0],we={topLeft:{points:["bl","tl"],overflow:Ce,offset:[0,-4],targetOffset:_e},top:{points:["bc","tc"],overflow:Ce,offset:[0,-4],targetOffset:_e},topRight:{points:["br","tr"],overflow:Ce,offset:[0,-4],targetOffset:_e},bottomLeft:{points:["tl","bl"],overflow:Ce,offset:[0,4],targetOffset:_e},bottom:{points:["tc","bc"],overflow:Ce,offset:[0,4],targetOffset:_e},bottomRight:{points:["tr","br"],overflow:Ce,offset:[0,4],targetOffset:_e}},Re=we,De=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function ke(ze,Te){var Oe,Ne=ze.arrow,Ge=Ne===void 0?!1:Ne,rt=ze.prefixCls,mt=rt===void 0?"rc-dropdown":rt,dt=ze.transitionName,nt=ze.animation,vt=ze.align,At=ze.placement,Nt=At===void 0?"bottomLeft":At,at=ze.placements,xt=at===void 0?Re:at,lt=ze.getPopupContainer,it=ze.showAction,bt=ze.hideAction,wt=ze.overlayClassName,Dt=ze.overlayStyle,Kt=ze.visible,Pn=ze.trigger,wn=Pn===void 0?["hover"]:Pn,Nn=ze.autoFocus,On=ze.overlay,qn=ze.children,rr=ze.onVisibleChange,pr=(0,se.Z)(ze,De),zr=Se.useState(),Vr=(0,re.Z)(zr,2),An=Vr[0],Cn=Vr[1],Ut="visible"in ze?Kt:An,Tt=Se.useRef(null),kt=Se.useRef(null),en=Se.useRef(null);Se.useImperativeHandle(Te,function(){return Tt.current});var Xt=function(dn){Cn(dn),rr==null||rr(dn)};Ee({visible:Ut,triggerRef:en,onVisibleChange:Xt,autoFocus:Nn,overlayRef:kt});var Tn=function(dn){var Hn=ze.onOverlayClick;Cn(!1),Hn&&Hn(dn)},tn=function(){return Se.createElement(Ae,{ref:kt,overlay:On,prefixCls:mt,arrow:Ge})},yn=function(){return typeof On=="function"?tn:tn()},Mn=function(){var dn=ze.minOverlayWidthMatchTrigger,Hn=ze.alignPoint;return"minOverlayWidthMatchTrigger"in ze?dn:!Hn},Dn=function(){var dn=ze.openClassName;return dn!==void 0?dn:"".concat(mt,"-open")},St=Se.cloneElement(qn,{className:he()((Oe=qn.props)===null||Oe===void 0?void 0:Oe.className,Ut&&Dn()),ref:y(qn)?ee(en,qn.ref):void 0}),Ct=bt;return!Ct&&wn.indexOf("contextMenu")!==-1&&(Ct=["click"]),Se.createElement(ie.Z,(0,fe.Z)({builtinPlacements:xt},pr,{prefixCls:mt,ref:Tt,popupClassName:he()(wt,(0,le.Z)({},"".concat(mt,"-show-arrow"),Ge)),popupStyle:Dt,action:wn,showAction:it,hideAction:Ct,popupPlacement:Nt,popupAlign:vt,popupTransitionName:dt,popupAnimation:nt,popupVisible:Ut,stretch:Mn()?"minWidth":"",popup:yn(),onPopupVisibleChange:Xt,onPopupClick:Tn,getPopupContainer:lt}),St)}var Ie=Se.forwardRef(ke),qe=Ie,Je=de(60276),We=de(5663),Qe=de(10366),He=de(80636),Fe=de(8745),je=de(96159),et=de(53124),tt=de(68508),st=de(76529),Xe=de(46605),Ke=de(66748);const Me=null,Ye=ze=>{const{menu:Te,arrow:Oe,prefixCls:Ne,children:Ge,trigger:rt,disabled:mt,dropdownRender:dt,getPopupContainer:nt,overlayClassName:vt,rootClassName:At,open:Nt,onOpenChange:at,visible:xt,onVisibleChange:lt,mouseEnterDelay:it=.15,mouseLeaveDelay:bt=.1,autoAdjustOverflow:wt=!0,placement:Dt="",overlay:Kt,transitionName:Pn}=ze,{getPopupContainer:wn,getPrefixCls:Nn,direction:On}=Se.useContext(et.E_),qn=Se.useMemo(()=>{const St=Nn();return Pn!==void 0?Pn:Dt.includes("top")?`${St}-slide-down`:`${St}-slide-up`},[Nn,Dt,Pn]),rr=Se.useMemo(()=>Dt?Dt.includes("Center")?Dt.slice(0,Dt.indexOf("Center")):Dt:On==="rtl"?"bottomRight":"bottomLeft",[Dt,On]),pr=Nn("dropdown",Ne),[zr,Vr]=(0,Ke.Z)(pr),[,An]=(0,Xe.Z)(),Cn=Se.Children.only(Ge),Ut=(0,je.Tm)(Cn,{className:he()(`${pr}-trigger`,{[`${pr}-rtl`]:On==="rtl"},Cn.props.className),disabled:mt}),Tt=mt?[]:rt;let kt;Tt&&Tt.includes("contextMenu")&&(kt=!0);const[en,Xt]=(0,We.Z)(!1,{value:Nt!=null?Nt:xt}),Tn=(0,Je.useEvent)(St=>{at==null||at(St),lt==null||lt(St),Xt(St)}),tn=he()(vt,At,Vr,{[`${pr}-rtl`]:On==="rtl"}),yn=(0,He.Z)({arrowPointAtCenter:typeof Oe=="object"&&Oe.pointAtCenter,autoAdjustOverflow:wt,offset:An.marginXXS,arrowWidth:Oe?An.sizePopupArrow:0,borderRadius:An.borderRadius}),Mn=Se.useCallback(()=>{Xt(!1)},[]),Dn=()=>{let St;return Te!=null&&Te.items?St=Se.createElement(tt.default,Object.assign({},Te)):typeof Kt=="function"?St=Kt():St=Kt,dt&&(St=dt(St)),St=Se.Children.only(typeof St=="string"?Se.createElement("span",null,St):St),Se.createElement(st.J,{prefixCls:`${pr}-menu`,expandIcon:Se.createElement("span",{className:`${pr}-menu-submenu-arrow`},Se.createElement(xe.Z,{className:`${pr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Mn,validator:Ct=>{let{mode:Rt}=Ct}},St)};return zr(Se.createElement(qe,Object.assign({alignPoint:kt},(0,Qe.Z)(ze,["rootClassName"]),{mouseEnterDelay:it,mouseLeaveDelay:bt,visible:en,builtinPlacements:yn,arrow:!!Oe,overlayClassName:tn,prefixCls:pr,getPopupContainer:nt||wn,transitionName:qn,trigger:Tt,overlay:Dn,placement:rr,onVisibleChange:Tn}),Ut))};function Le(ze){return Object.assign(Object.assign({},ze),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Be=(0,Fe.Z)(Ye,"dropdown",ze=>ze,Le),Ve=ze=>Se.createElement(Be,Object.assign({},ze),Se.createElement("span",null));Ye._InternalPanelDoNotUseOrYouWillBeFired=Ve;var $e=Ye},85418:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return a}});var Se=de(35874),xe=de(94184),E=de.n(xe),he=de(67294),fe=de(25877),le=de(71577),re=de(53124),se=de(93421),ie=de(4173),ue=de(66748),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(re.E_),{prefixCls:te,type:ce="default",danger:ge,disabled:me,loading:ve,onClick:pe,htmlType:be,children:ye,className:Ee,menu:Pe,arrow:Ae,autoFocus:Ce,overlay:_e,trigger:we,align:Re,open:De,onOpenChange:ke,placement:Ie,getPopupContainer:qe,href:Je,icon:We=he.createElement(fe.Z,null),title:Qe,buttonsRender:He=mt=>mt,mouseEnterDelay:Fe,mouseLeaveDelay:je,overlayClassName:et,overlayStyle:tt,destroyPopupOnHide:st,dropdownRender:Xe}=y,Ke=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"]),Me=b("dropdown",te),Ye=`${Me}-button`,[Le,Be]=(0,ue.Z)(Me),Ve={menu:Pe,arrow:Ae,autoFocus:Ce,align:Re,disabled:me,trigger:me?[]:we,onOpenChange:ke,getPopupContainer:qe||x,mouseEnterDelay:Fe,mouseLeaveDelay:je,overlayClassName:et,overlayStyle:tt,destroyPopupOnHide:st,dropdownRender:Xe},{compactSize:$e,compactItemClassnames:ze}=(0,ie.ri)(Me,z),Te=E()(Ye,ze,Ee,Be);"overlay"in y&&(Ve.overlay=_e),"open"in y&&(Ve.open=De),"placement"in y?Ve.placement=Ie:Ve.placement=z==="rtl"?"bottomLeft":"bottomRight";const Oe=he.createElement(le.ZP,{type:ce,danger:ge,disabled:me,loading:ve,onClick:pe,htmlType:be,href:Je,title:Qe},ye),Ne=he.createElement(le.ZP,{type:ce,danger:ge,icon:We}),[Ge,rt]=He([Oe,Ne]);return Le(he.createElement(se.Z.Compact,Object.assign({className:Te,size:$e,block:!0},Ke),Ge,he.createElement(Se.Z,Object.assign({},Ve),rt)))};oe.__ANT_BUTTON=!0;var ne=oe;const ee=Se.Z;ee.Button=ne;var a=ee},66748:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return ae}});var Se=de(14747),xe=de(67771),E=de(33297),he=de(50438),fe=de(97414),le=de(67968),re=de(45503),ie=oe=>{const{componentCls:ne,menuCls:ee,colorError:a,colorTextLightSolid:y}=oe,x=`${ee}-item`;return{[`${ne}, ${ne}-menu-submenu`]:{[`${ee} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ue=oe=>{const{componentCls:ne,menuCls:ee,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:te,dropdownPaddingVertical:ce,fontSize:ge,dropdownEdgeChildPadding:me,colorTextDisabled:ve,fontSizeIcon:pe,controlPaddingHorizontal:be,colorBgElevated:ye}=oe;return[{[ne]:Object.assign(Object.assign({},(0,Se.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:pe}},[`${ne}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:pe},[`${z}-down::before`]:{transition:`transform ${te}`}},[`${ne}-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${ne}-placement-bottomLeft,
&${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomLeft,
&${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottom,
&${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottom,
&${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottomRight,
&${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomRight`]:{animationName:xe.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topLeft,
&${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topLeft,
&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-top,
&${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-top,
&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topRight,
&${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topRight`]:{animationName:xe.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomLeft,
&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottom,
&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomRight`]:{animationName:xe.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topLeft,
&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-top,
&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topRight`]:{animationName:xe.ly}})},(0,fe.ZP)(oe,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ne} ${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}},[`${ne}, ${ne}-menu-submenu`]:{[ee]:Object.assign(Object.assign({padding:me,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:oe.borderRadiusLG,outline:"none",boxShadow:oe.boxShadowSecondary},(0,Se.Qy)(oe)),{[`${ee}-item-group-title`]:{padding:`${ce}px ${be}px`,color:oe.colorTextDescription,transition:`all ${te}`},[`${ee}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ee}-item-icon`]:{minWidth:ge,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:`${ce}px ${be}px`,color:oe.colorText,fontWeight:"normal",fontSize:ge,lineHeight:oe.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:oe.borderRadiusSM,"&:hover, &-active":{backgroundColor:oe.controlItemBgHover}},(0,Se.Qy)(oe)),{"&-selected":{color:oe.colorPrimary,backgroundColor:oe.controlItemBgActive,"&:hover, &-active":{backgroundColor:oe.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${oe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:oe.colorSplit},[`${ne}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:oe.paddingXS,[`${ne}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:oe.colorTextDescription,fontSize:pe,fontStyle:"normal"}}}),[`${ee}-item-group-list`]:{margin:`0 ${oe.marginXS}px`,padding:0,listStyle:"none"},[`${ee}-submenu-title`]:{paddingInlineEnd:be+oe.fontSizeSM},[`${ee}-submenu-vertical`]:{position:"relative"},[`${ee}-submenu${ee}-submenu-disabled ${ne}-menu-submenu-title`]:{[`&, ${ne}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:ye,cursor:"not-allowed"}},[`${ee}-submenu-selected ${ne}-menu-submenu-title`]:{color:oe.colorPrimary}})}},[(0,xe.oN)(oe,"slide-up"),(0,xe.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,le.Z)("Dropdown",(oe,ne)=>{let{rootPrefixCls:ee}=ne;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:te,componentCls:ce,borderRadiusLG:ge}=oe,me=(x-b*z)/2,{dropdownArrowOffset:ve}=(0,fe.fS)({contentRadius:ge}),pe=(0,re.TS)(oe,{menuCls:`${ce}-menu`,rootPrefixCls:ee,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:me,dropdownEdgeChildPadding:te});return[ue(pe),ie(pe)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},25378:function(Lt,gt,de){"use strict";var Se=de(67294),xe=de(14075),E=de(57838),he=de(74443);function fe(){let le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,Se.useRef)({}),se=(0,E.Z)(),ie=(0,he.ZP)();return(0,xe.Z)(()=>{const ue=ie.subscribe(ae=>{re.current=ae,le&&se()});return()=>ie.unsubscribe(ue)},[]),re.current}gt.Z=fe},99398:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return Ln}});var Se=de(67294),xe=de.t(Se,2),E=de(99569),he=de(94184),fe=de.n(he),le=de(87462),re=de(1413),se=de(4942),ie=de(97685),ue=de(71002),ae=de(45987),oe=/margin|padding|width|height|max|min|offset/,ne={left:!0,top:!0},ee={cssFloat:1,styleFloat:1,float:1};function a(ut){return ut.nodeType===1?ut.ownerDocument.defaultView.getComputedStyle(ut,null):{}}function y(ut,ct,pt){if(ct=ct.toLowerCase(),pt==="auto"){if(ct==="height")return ut.offsetHeight;if(ct==="width")return ut.offsetWidth}return ct in ne||(ne[ct]=oe.test(ct)),ne[ct]?parseFloat(pt)||0:pt}function x(ut,ct){var pt=arguments.length,Mt=a(ut);return ct=ee[ct]?"cssFloat"in ut.style?"cssFloat":"styleFloat":ct,pt===1?Mt:y(ut,ct,Mt[ct]||ut.style[ct])}function b(ut,ct,pt){var Mt=arguments.length;if(ct=ee[ct]?"cssFloat"in ut.style?"cssFloat":"styleFloat":ct,Mt===3)return typeof pt=="number"&&oe.test(ct)&&(pt="".concat(pt,"px")),ut.style[ct]=pt,pt;for(var Ft in ct)ct.hasOwnProperty(Ft)&&b(ut,Ft,ct[Ft]);return a(ut)}function z(ut){return ut===document.body?document.documentElement.clientWidth:ut.offsetWidth}function te(ut){return ut===document.body?window.innerHeight||document.documentElement.clientHeight:ut.offsetHeight}function ce(){var ut=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ct=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ut,height:ct}}function ge(){var ut=document.documentElement.clientWidth,ct=window.innerHeight||document.documentElement.clientHeight;return{width:ut,height:ct}}function me(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ve(ut){var ct=ut.getBoundingClientRect(),pt=document.documentElement;return{left:ct.left+(window.pageXOffset||pt.scrollLeft)-(pt.clientLeft||document.body.clientLeft||0),top:ct.top+(window.pageYOffset||pt.scrollTop)-(pt.clientTop||document.body.clientTop||0)}}function pe(ut){var ct=Se.useRef();ct.current=ut;var pt=Se.useCallback(function(){for(var Mt,Ft=arguments.length,Ht=new Array(Ft),pn=0;pn<Ft;pn++)Ht[pn]=arguments[pn];return(Mt=ct.current)===null||Mt===void 0?void 0:Mt.call.apply(Mt,[ct].concat(Ht))},[]);return pt}function be(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ye=be()?Se.useLayoutEffect:Se.useEffect,Ee=function(ct,pt){var Mt=Se.useRef(!0);ye(function(){return ct(Mt.current)},pt),ye(function(){return Mt.current=!1,function(){Mt.current=!0}},[])},Pe=function(ct,pt){Ee(function(Mt){if(!Mt)return ct()},pt)},Ae=null;function Ce(ut){var ct=Se.useRef(!1),pt=Se.useState(ut),Mt=(0,ie.Z)(pt,2),Ft=Mt[0],Ht=Mt[1];Se.useEffect(function(){return ct.current=!1,function(){ct.current=!0}},[]);function pn(Rn,Vn){Vn&&ct.current||Ht(Rn)}return[Ft,pn]}function _e(ut){return ut!==void 0}function we(ut,ct){var pt=ct||{},Mt=pt.defaultValue,Ft=pt.value,Ht=pt.onChange,pn=pt.postState,Rn=Ce(function(){return _e(Ft)?Ft:_e(Mt)?typeof Mt=="function"?Mt():Mt:typeof ut=="function"?ut():ut}),Vn=(0,ie.Z)(Rn,2),Qn=Vn[0],Yn=Vn[1],tr=Ft!==void 0?Ft:Qn,Jn=pn?pn(tr):tr,er=pe(Ht),Mr=Ce([tr]),Ur=(0,ie.Z)(Mr,2),jr=Ur[0],Yr=Ur[1];Pe(function(){var mo=jr[0];Qn!==mo&&er(Qn,mo)},[jr]),Pe(function(){_e(Ft)||Yn(Ft)},[Ft]);var no=pe(function(mo,Er){Yn(mo,Er),Yr([tr],Er)});return[Jn,no]}var Re=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],De=Se.createContext(null),ke=0;function Ie(ut,ct){var pt=Se.useState(function(){return ke+=1,String(ke)}),Mt=(0,ie.Z)(pt,1),Ft=Mt[0],Ht=Se.useContext(De),pn={data:ct,canPreview:ut};return Se.useEffect(function(){if(Ht)return Ht.register(Ft,pn)},[]),Se.useEffect(function(){Ht&&Ht.register(Ft,pn)},[ut,ct]),Ft}function qe(ut){return new Promise(function(ct){var pt=document.createElement("img");pt.onerror=function(){return ct(!1)},pt.onload=function(){return ct(!0)},pt.src=ut})}function Je(ut){var ct=ut.src,pt=ut.isCustomPlaceholder,Mt=ut.fallback,Ft=(0,Se.useState)(pt?"loading":"normal"),Ht=(0,ie.Z)(Ft,2),pn=Ht[0],Rn=Ht[1],Vn=(0,Se.useRef)(!1),Qn=pn==="error";(0,Se.useEffect)(function(){qe(ct).then(function(er){er||Rn("error")})},[ct]),(0,Se.useEffect)(function(){pt&&!Vn.current?Rn("loading"):Qn&&Rn("normal")},[ct]);var Yn=function(){Rn("normal")},tr=function(Mr){Vn.current=!1,pn==="loading"&&Mr!=null&&Mr.complete&&(Mr.naturalWidth||Mr.naturalHeight)&&(Vn.current=!0,Yn())},Jn=Qn&&Mt?{src:Mt}:{onLoad:Yn,src:ct};return[tr,Jn,pn]}var We=de(2788),Qe=Se.createContext({});function He(ut,ct){if(!ut)return!1;if(ut.contains)return ut.contains(ct);for(var pt=ct;pt;){if(pt===ut)return!0;pt=pt.parentNode}return!1}function Fe(){var ut=(0,re.Z)({},xe);return ut.useId}var je=0;function et(){}function tt(ut){var ct=Se.useState("ssr-id"),pt=(0,ie.Z)(ct,2),Mt=pt[0],Ft=pt[1],Ht=Fe(),pn=Ht==null?void 0:Ht();return Se.useEffect(function(){if(!Ht){var Rn=je;je+=1,Ft("rc_unique_".concat(Rn))}},[]),ut||pn||Mt}var st={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ct){var pt=ct.keyCode;if(ct.altKey&&!ct.ctrlKey||ct.metaKey||pt>=st.F1&&pt<=st.F12)return!1;switch(pt){case st.ALT:case st.CAPS_LOCK:case st.CONTEXT_MENU:case st.CTRL:case st.DOWN:case st.END:case st.ESC:case st.HOME:case st.INSERT:case st.LEFT:case st.MAC_FF_META:case st.META:case st.NUMLOCK:case st.NUM_CENTER:case st.PAGE_DOWN:case st.PAGE_UP:case st.PAUSE:case st.PRINT_SCREEN:case st.RIGHT:case st.SHIFT:case st.UP:case st.WIN_KEY:case st.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ct){if(ct>=st.ZERO&&ct<=st.NINE||ct>=st.NUM_ZERO&&ct<=st.NUM_MULTIPLY||ct>=st.A&&ct<=st.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ct===0)return!0;switch(ct){case st.SPACE:case st.QUESTION_MARK:case st.NUM_PLUS:case st.NUM_MINUS:case st.NUM_PERIOD:case st.NUM_DIVISION:case st.SEMICOLON:case st.DASH:case st.EQUALS:case st.COMMA:case st.PERIOD:case st.SLASH:case st.APOSTROPHE:case st.SINGLE_QUOTE:case st.OPEN_SQUARE_BRACKET:case st.BACKSLASH:case st.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Xe=st,Ke=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Me=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Ye="".concat(Ke," ").concat(Me).split(/[\s\n]+/),Le="aria-",Be="data-";function Ve(ut,ct){return ut.indexOf(ct)===0}function $e(ut){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pt;ct===!1?pt={aria:!0,data:!0,attr:!0}:ct===!0?pt={aria:!0}:pt=(0,re.Z)({},ct);var Mt={};return Object.keys(ut).forEach(function(Ft){(pt.aria&&(Ft==="role"||Ve(Ft,Le))||pt.data&&Ve(Ft,Be)||pt.attr&&Ye.includes(Ft))&&(Mt[Ft]=ut[Ft])}),Mt}function ze(ut,ct,pt){var Mt=ct;return!Mt&&pt&&(Mt="".concat(ut,"-").concat(pt)),Mt}function Te(ut,ct){var pt=ut["page".concat(ct?"Y":"X","Offset")],Mt="scroll".concat(ct?"Top":"Left");if(typeof pt!="number"){var Ft=ut.document;pt=Ft.documentElement[Mt],typeof pt!="number"&&(pt=Ft.body[Mt])}return pt}function Oe(ut){var ct=ut.getBoundingClientRect(),pt={left:ct.left,top:ct.top},Mt=ut.ownerDocument,Ft=Mt.defaultView||Mt.parentWindow;return pt.left+=Te(Ft),pt.top+=Te(Ft,!0),pt}var Ne=de(62874),Ge=de(59864);function rt(ut,ct,pt){var Mt=Se.useRef({});return(!("value"in Mt.current)||pt(Mt.current.condition,ct))&&(Mt.current.value=ut(),Mt.current.condition=ct),Mt.current.value}function mt(ut,ct){typeof ut=="function"?ut(ct):(0,ue.Z)(ut)==="object"&&ut&&"current"in ut&&(ut.current=ct)}function dt(){for(var ut=arguments.length,ct=new Array(ut),pt=0;pt<ut;pt++)ct[pt]=arguments[pt];var Mt=ct.filter(function(Ft){return Ft});return Mt.length<=1?Mt[0]:function(Ft){ct.forEach(function(Ht){mt(Ht,Ft)})}}function nt(){for(var ut=arguments.length,ct=new Array(ut),pt=0;pt<ut;pt++)ct[pt]=arguments[pt];return rt(function(){return dt.apply(void 0,ct)},ct,function(Mt,Ft){return Mt.length===Ft.length&&Mt.every(function(Ht,pn){return Ht===Ft[pn]})})}function vt(ut){var ct,pt,Mt=isMemo(ut)?ut.type.type:ut.type;return!(typeof Mt=="function"&&!((ct=Mt.prototype)!==null&&ct!==void 0&&ct.render)||typeof ut=="function"&&!((pt=ut.prototype)!==null&&pt!==void 0&&pt.render))}var At=Se.memo(function(ut){var ct=ut.children;return ct},function(ut,ct){var pt=ct.shouldUpdate;return!pt}),Nt={width:0,height:0,overflow:"hidden",outline:"none"},at=Se.forwardRef(function(ut,ct){var pt=ut.prefixCls,Mt=ut.className,Ft=ut.style,Ht=ut.title,pn=ut.ariaId,Rn=ut.footer,Vn=ut.closable,Qn=ut.closeIcon,Yn=ut.onClose,tr=ut.children,Jn=ut.bodyStyle,er=ut.bodyProps,Mr=ut.modalRender,Ur=ut.onMouseDown,jr=ut.onMouseUp,Yr=ut.holderRef,no=ut.visible,mo=ut.forceRender,Er=ut.width,uo=ut.height,Co=Se.useContext(Qe),Io=Co.panel,yo=nt(Yr,Io),Eo=(0,Se.useRef)(),hr=(0,Se.useRef)();Se.useImperativeHandle(ct,function(){return{focus:function(){var Qo;(Qo=Eo.current)===null||Qo===void 0||Qo.focus()},changeActive:function(Qo){var oa=document,Do=oa.activeElement;Qo&&Do===hr.current?Eo.current.focus():!Qo&&Do===Eo.current&&hr.current.focus()}}});var Kr={};Er!==void 0&&(Kr.width=Er),uo!==void 0&&(Kr.height=uo);var To;Rn&&(To=Se.createElement("div",{className:"".concat(pt,"-footer")},Rn));var Ao;Ht&&(Ao=Se.createElement("div",{className:"".concat(pt,"-header")},Se.createElement("div",{className:"".concat(pt,"-title"),id:pn},Ht)));var wo;Vn&&(wo=Se.createElement("button",{type:"button",onClick:Yn,"aria-label":"Close",className:"".concat(pt,"-close")},Qn||Se.createElement("span",{className:"".concat(pt,"-close-x")})));var xo=Se.createElement("div",{className:"".concat(pt,"-content")},wo,Ao,Se.createElement("div",(0,le.Z)({className:"".concat(pt,"-body"),style:Jn},er),tr),To);return Se.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":Ht?pn:null,"aria-modal":"true",ref:yo,style:(0,re.Z)((0,re.Z)({},Ft),Kr),className:fe()(pt,Mt),onMouseDown:Ur,onMouseUp:jr},Se.createElement("div",{tabIndex:0,ref:Eo,style:Nt,"aria-hidden":"true"}),Se.createElement(At,{shouldUpdate:no||mo},Mr?Mr(xo):xo),Se.createElement("div",{tabIndex:0,ref:hr,style:Nt,"aria-hidden":"true"}))}),xt=at,lt=Se.forwardRef(function(ut,ct){var pt=ut.prefixCls,Mt=ut.title,Ft=ut.style,Ht=ut.className,pn=ut.visible,Rn=ut.forceRender,Vn=ut.destroyOnClose,Qn=ut.motionName,Yn=ut.ariaId,tr=ut.onVisibleChanged,Jn=ut.mousePosition,er=(0,Se.useRef)(),Mr=Se.useState(),Ur=(0,ie.Z)(Mr,2),jr=Ur[0],Yr=Ur[1],no={};jr&&(no.transformOrigin=jr);function mo(){var Er=Oe(er.current);Yr(Jn?"".concat(Jn.x-Er.left,"px ").concat(Jn.y-Er.top,"px"):"")}return Se.createElement(Ne.Z,{visible:pn,onVisibleChanged:tr,onAppearPrepare:mo,onEnterPrepare:mo,forceRender:Rn,motionName:Qn,removeOnLeave:Vn,ref:er},function(Er,uo){var Co=Er.className,Io=Er.style;return Se.createElement(xt,(0,le.Z)({},ut,{ref:ct,title:Mt,ariaId:Yn,prefixCls:pt,holderRef:uo,style:(0,re.Z)((0,re.Z)((0,re.Z)({},Io),Ft),no),className:fe()(Ht,Co)}))})});lt.displayName="Content";var it=lt;function bt(ut){var ct=ut.prefixCls,pt=ut.style,Mt=ut.visible,Ft=ut.maskProps,Ht=ut.motionName;return Se.createElement(Ne.Z,{key:"mask",visible:Mt,motionName:Ht,leavedClassName:"".concat(ct,"-mask-hidden")},function(pn,Rn){var Vn=pn.className,Qn=pn.style;return Se.createElement("div",(0,le.Z)({ref:Rn,style:(0,re.Z)((0,re.Z)({},Qn),pt),className:fe()("".concat(ct,"-mask"),Vn)},Ft))})}function wt(ut){var ct=ut.prefixCls,pt=ct===void 0?"rc-dialog":ct,Mt=ut.zIndex,Ft=ut.visible,Ht=Ft===void 0?!1:Ft,pn=ut.keyboard,Rn=pn===void 0?!0:pn,Vn=ut.focusTriggerAfterClose,Qn=Vn===void 0?!0:Vn,Yn=ut.wrapStyle,tr=ut.wrapClassName,Jn=ut.wrapProps,er=ut.onClose,Mr=ut.afterOpenChange,Ur=ut.afterClose,jr=ut.transitionName,Yr=ut.animation,no=ut.closable,mo=no===void 0?!0:no,Er=ut.mask,uo=Er===void 0?!0:Er,Co=ut.maskTransitionName,Io=ut.maskAnimation,yo=ut.maskClosable,Eo=yo===void 0?!0:yo,hr=ut.maskStyle,Kr=ut.maskProps,To=ut.rootClassName,Ao=(0,Se.useRef)(),wo=(0,Se.useRef)(),xo=(0,Se.useRef)(),ko=Se.useState(Ht),Qo=(0,ie.Z)(ko,2),oa=Qo[0],Do=Qo[1],Vo=tt();function la(){He(wo.current,document.activeElement)||(Ao.current=document.activeElement)}function ha(){if(!He(wo.current,document.activeElement)){var qo;(qo=xo.current)===null||qo===void 0||qo.focus()}}function aa(qo){if(qo)ha();else{if(Do(!1),uo&&Ao.current&&Qn){try{Ao.current.focus({preventScroll:!0})}catch(ba){}Ao.current=null}oa&&(Ur==null||Ur())}Mr==null||Mr(qo)}function Wo(qo){er==null||er(qo)}var pa=(0,Se.useRef)(!1),Go=(0,Se.useRef)(),ea=function(){clearTimeout(Go.current),pa.current=!0},xa=function(){Go.current=setTimeout(function(){pa.current=!1})},Oa=null;Eo&&(Oa=function(ba){pa.current?pa.current=!1:wo.current===ba.target&&Wo(ba)});function Jo(qo){if(Rn&&qo.keyCode===Xe.ESC){qo.stopPropagation(),Wo(qo);return}Ht&&qo.keyCode===Xe.TAB&&xo.current.changeActive(!qo.shiftKey)}return(0,Se.useEffect)(function(){Ht&&(Do(!0),la())},[Ht]),(0,Se.useEffect)(function(){return function(){clearTimeout(Go.current)}},[]),Se.createElement("div",(0,le.Z)({className:fe()("".concat(pt,"-root"),To)},$e(ut,{data:!0})),Se.createElement(bt,{prefixCls:pt,visible:uo&&Ht,motionName:ze(pt,Co,Io),style:(0,re.Z)({zIndex:Mt},hr),maskProps:Kr}),Se.createElement("div",(0,le.Z)({tabIndex:-1,onKeyDown:Jo,className:fe()("".concat(pt,"-wrap"),tr),ref:wo,onClick:Oa,style:(0,re.Z)((0,re.Z)({zIndex:Mt},Yn),{},{display:oa?null:"none"})},Jn),Se.createElement(it,(0,le.Z)({},ut,{onMouseDown:ea,onMouseUp:xa,ref:xo,closable:mo,ariaId:Vo,prefixCls:pt,visible:Ht&&oa,onClose:Wo,onVisibleChanged:aa,motionName:ze(pt,jr,Yr)}))))}var Dt=function(ct){var pt=ct.visible,Mt=ct.getContainer,Ft=ct.forceRender,Ht=ct.destroyOnClose,pn=Ht===void 0?!1:Ht,Rn=ct.afterClose,Vn=ct.panelRef,Qn=Se.useState(pt),Yn=(0,ie.Z)(Qn,2),tr=Yn[0],Jn=Yn[1],er=Se.useMemo(function(){return{panel:Vn}},[Vn]);return Se.useEffect(function(){pt&&Jn(!0)},[pt]),!Ft&&pn&&!tr?null:Se.createElement(Qe.Provider,{value:er},Se.createElement(We.Z,{open:pt||Ft||tr,autoDestroy:!1,getContainer:Mt,autoLock:pt||tr},Se.createElement(wt,(0,le.Z)({},ct,{destroyOnClose:pn,afterClose:function(){Rn==null||Rn(),Jn(!1)}}))))};Dt.displayName="Dialog";var Kt=Dt,Pn=Kt,wn=de(73935);function Nn(ut,ct,pt,Mt){var Ft=wn.unstable_batchedUpdates?function(pn){wn.unstable_batchedUpdates(pt,pn)}:pt;return ut!=null&&ut.addEventListener&&ut.addEventListener(ct,Ft,Mt),{remove:function(){ut!=null&&ut.removeEventListener&&ut.removeEventListener(ct,Ft,Mt)}}}var On={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ct){var pt=ct.keyCode;if(ct.altKey&&!ct.ctrlKey||ct.metaKey||pt>=On.F1&&pt<=On.F12)return!1;switch(pt){case On.ALT:case On.CAPS_LOCK:case On.CONTEXT_MENU:case On.CTRL:case On.DOWN:case On.END:case On.ESC:case On.HOME:case On.INSERT:case On.LEFT:case On.MAC_FF_META:case On.META:case On.NUMLOCK:case On.NUM_CENTER:case On.PAGE_DOWN:case On.PAGE_UP:case On.PAUSE:case On.PRINT_SCREEN:case On.RIGHT:case On.SHIFT:case On.UP:case On.WIN_KEY:case On.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ct){if(ct>=On.ZERO&&ct<=On.NINE||ct>=On.NUM_ZERO&&ct<=On.NUM_MULTIPLY||ct>=On.A&&ct<=On.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ct===0)return!0;switch(ct){case On.SPACE:case On.QUESTION_MARK:case On.NUM_PLUS:case On.NUM_MINUS:case On.NUM_PERIOD:case On.NUM_DIVISION:case On.SEMICOLON:case On.DASH:case On.EQUALS:case On.COMMA:case On.PERIOD:case On.SLASH:case On.APOSTROPHE:case On.SINGLE_QUOTE:case On.OPEN_SQUARE_BRACKET:case On.BACKSLASH:case On.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},qn=On,rr={},pr=[],zr=function(ct){pr.push(ct)};function Vr(ut,ct){if(0)var pt}function An(ut,ct){if(0)var pt}function Cn(){rr={}}function Ut(ut,ct,pt){!ct&&!rr[pt]&&(ut(!1,pt),rr[pt]=!0)}function Tt(ut,ct){Ut(Vr,ut,ct)}function kt(ut,ct){Ut(An,ut,ct)}Tt.preMessage=zr,Tt.resetWarned=Cn,Tt.noteOnce=kt;var en=Tt;function Xt(ut,ct,pt,Mt){var Ft=ct+pt,Ht=(pt-Mt)/2;if(pt>Mt){if(ct>0)return(0,se.Z)({},ut,Ht);if(ct<0&&Ft<Mt)return(0,se.Z)({},ut,-Ht)}else if(ct<0||Ft>Mt)return(0,se.Z)({},ut,ct<0?Ht:-Ht);return{}}function Tn(ut,ct,pt,Mt){var Ft=ge(),Ht=Ft.width,pn=Ft.height,Rn=null;return ut<=Ht&&ct<=pn?Rn={x:0,y:0}:(ut>Ht||ct>pn)&&(Rn=(0,re.Z)((0,re.Z)({},Xt("x",pt,ut,Ht)),Xt("y",Mt,ct,pn))),Rn}function tn(ut,ct){var pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Mt=new Set;function Ft(Ht,pn){var Rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Vn=Mt.has(Ht);if(en(!Vn,"Warning: There may be circular references"),Vn)return!1;if(Ht===pn)return!0;if(pt&&Rn>1)return!1;Mt.add(Ht);var Qn=Rn+1;if(Array.isArray(Ht)){if(!Array.isArray(pn)||Ht.length!==pn.length)return!1;for(var Yn=0;Yn<Ht.length;Yn++)if(!Ft(Ht[Yn],pn[Yn],Qn))return!1;return!0}if(Ht&&pn&&(0,ue.Z)(Ht)==="object"&&(0,ue.Z)(pn)==="object"){var tr=Object.keys(Ht);return tr.length!==Object.keys(pn).length?!1:tr.every(function(Jn){return Ft(Ht[Jn],pn[Jn],Qn)})}return!1}return Ft(ut,ct)}var yn=tn,Mn=function(ct){return+setTimeout(ct,16)},Dn=function(ct){return clearTimeout(ct)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Mn=function(ct){return window.requestAnimationFrame(ct)},Dn=function(ct){return window.cancelAnimationFrame(ct)});var St=0,Ct=new Map;function Rt(ut){Ct.delete(ut)}var dn=function(ct){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;St+=1;var Mt=St;function Ft(Ht){if(Ht===0)Rt(Mt),ct();else{var pn=Mn(function(){Ft(Ht-1)});Ct.set(Mt,pn)}}return Ft(pt),Mt};dn.cancel=function(ut){var ct=Ct.get(ut);return Rt(ct),Dn(ct)};var Hn=dn,jn={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function br(ut,ct,pt,Mt){var Ft=(0,Se.useRef)(null),Ht=(0,Se.useRef)([]),pn=(0,Se.useState)(jn),Rn=(0,ie.Z)(pn,2),Vn=Rn[0],Qn=Rn[1],Yn=function(Mr){Qn(jn),Mt&&!yn(jn,Vn)&&Mt({transform:jn,action:Mr})},tr=function(Mr,Ur){Ft.current===null&&(Ht.current=[],Ft.current=Hn(function(){Qn(function(jr){var Yr=jr;return Ht.current.forEach(function(no){Yr=(0,re.Z)((0,re.Z)({},Yr),no)}),Ft.current=null,Mt==null||Mt({transform:Yr,action:Ur}),Yr})})),Ht.current.push((0,re.Z)((0,re.Z)({},Vn),Mr))},Jn=function(Mr,Ur,jr,Yr){var no=ut.current,mo=no.width,Er=no.height,uo=no.offsetWidth,Co=no.offsetHeight,Io=no.offsetLeft,yo=no.offsetTop,Eo=Mr,hr=Vn.scale*Mr;hr>pt?(Eo=pt/Vn.scale,hr=pt):hr<ct&&(Eo=ct/Vn.scale,hr=ct);var Kr=jr!=null?jr:innerWidth/2,To=Yr!=null?Yr:innerHeight/2,Ao=Eo-1,wo=Ao*mo*.5,xo=Ao*Er*.5,ko=Ao*(Kr-Vn.x-Io),Qo=Ao*(To-Vn.y-yo),oa=Vn.x-(ko-wo),Do=Vn.y-(Qo-xo);if(Mr<1&&hr===1){var Vo=uo*hr,la=Co*hr,ha=ge(),aa=ha.width,Wo=ha.height;Vo<=aa&&la<=Wo&&(oa=0,Do=0)}tr({x:oa,y:Do,scale:hr},Ur)};return{transform:Vn,resetTransform:Yn,updateTransform:tr,dispatchZoomChange:Jn}}var or=function(ct){var pt=ct.visible,Mt=ct.maskTransitionName,Ft=ct.getContainer,Ht=ct.prefixCls,pn=ct.rootClassName,Rn=ct.icons,Vn=ct.countRender,Qn=ct.showSwitch,Yn=ct.showProgress,tr=ct.current,Jn=ct.transform,er=ct.count,Mr=ct.scale,Ur=ct.minScale,jr=ct.maxScale,Yr=ct.closeIcon,no=ct.onSwitchLeft,mo=ct.onSwitchRight,Er=ct.onClose,uo=ct.onZoomIn,Co=ct.onZoomOut,Io=ct.onRotateRight,yo=ct.onRotateLeft,Eo=ct.onFlipX,hr=ct.onFlipY,Kr=ct.toolbarRender,To=(0,Se.useContext)(De),Ao=Rn.rotateLeft,wo=Rn.rotateRight,xo=Rn.zoomIn,ko=Rn.zoomOut,Qo=Rn.close,oa=Rn.left,Do=Rn.right,Vo=Rn.flipX,la=Rn.flipY,ha="".concat(Ht,"-operations-operation");Se.useEffect(function(){var Go=function(xa){xa.keyCode===qn.ESC&&Er()};return pt&&window.addEventListener("keydown",Go),function(){window.removeEventListener("keydown",Go)}},[pt]);var aa=[{icon:la,onClick:hr,type:"flipY"},{icon:Vo,onClick:Eo,type:"flipX"},{icon:Ao,onClick:yo,type:"rotateLeft"},{icon:wo,onClick:Io,type:"rotateRight"},{icon:ko,onClick:Co,type:"zoomOut",disabled:Mr===Ur},{icon:xo,onClick:uo,type:"zoomIn",disabled:Mr===jr}],Wo=aa.map(function(Go){var ea,xa=Go.icon,Oa=Go.onClick,Jo=Go.type,qo=Go.disabled;return Se.createElement("div",{className:fe()(ha,(ea={},(0,se.Z)(ea,"".concat(Ht,"-operations-operation-").concat(Jo),!0),(0,se.Z)(ea,"".concat(Ht,"-operations-operation-disabled"),!!qo),ea)),onClick:Oa,key:Jo},xa)}),pa=Se.createElement("div",{className:"".concat(Ht,"-operations")},Wo);return Se.createElement(Ne.Z,{visible:pt,motionName:Mt},function(Go){var ea=Go.className,xa=Go.style;return Se.createElement(We.Z,{open:!0,getContainer:Ft!=null?Ft:document.body},Se.createElement("div",{className:fe()("".concat(Ht,"-operations-wrapper"),ea,pn),style:xa},Yr===null?null:Se.createElement("button",{className:"".concat(Ht,"-close"),onClick:Er},Yr||Qo),Qn&&Se.createElement(Se.Fragment,null,Se.createElement("div",{className:fe()("".concat(Ht,"-switch-left"),(0,se.Z)({},"".concat(Ht,"-switch-left-disabled"),tr===0)),onClick:no},oa),Se.createElement("div",{className:fe()("".concat(Ht,"-switch-right"),(0,se.Z)({},"".concat(Ht,"-switch-right-disabled"),tr===er-1)),onClick:mo},Do)),Se.createElement("div",{className:"".concat(Ht,"-footer")},Yn&&Se.createElement("div",{className:"".concat(Ht,"-progress")},Vn?Vn(tr+1,er):"".concat(tr+1," / ").concat(er)),Kr?Kr(pa,(0,re.Z)({icons:{flipYIcon:Wo[0],flipXIcon:Wo[1],rotateLeftIcon:Wo[2],rotateRightIcon:Wo[3],zoomOutIcon:Wo[4],zoomInIcon:Wo[5]},actions:{onFlipY:hr,onFlipX:Eo,onRotateLeft:yo,onRotateRight:Io,onZoomOut:Co,onZoomIn:uo},transform:Jn},To?{current:tr,total:er}:{})):pa)))})},wr=or,Sr=1,co=1,bn=["fallback","src","imgRef"],Lr=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],jt=function(ct){var pt=ct.fallback,Mt=ct.src,Ft=ct.imgRef,Ht=(0,ae.Z)(ct,bn),pn=Je({src:Mt,fallback:pt}),Rn=(0,ie.Z)(pn,2),Vn=Rn[0],Qn=Rn[1];return Se.createElement("img",(0,le.Z)({ref:function(tr){Ft.current=tr,Vn(tr)}},Ht,Qn))},mn=function(ct){var pt=ct.prefixCls,Mt=ct.src,Ft=ct.alt,Ht=ct.fallback,pn=ct.movable,Rn=pn===void 0?!0:pn,Vn=ct.onClose,Qn=ct.visible,Yn=ct.icons,tr=Yn===void 0?{}:Yn,Jn=ct.rootClassName,er=ct.closeIcon,Mr=ct.getContainer,Ur=ct.current,jr=Ur===void 0?0:Ur,Yr=ct.count,no=Yr===void 0?1:Yr,mo=ct.countRender,Er=ct.scaleStep,uo=Er===void 0?.5:Er,Co=ct.minScale,Io=Co===void 0?1:Co,yo=ct.maxScale,Eo=yo===void 0?50:yo,hr=ct.transitionName,Kr=hr===void 0?"zoom":hr,To=ct.maskTransitionName,Ao=To===void 0?"fade":To,wo=ct.imageRender,xo=ct.imgCommonProps,ko=ct.toolbarRender,Qo=ct.onTransform,oa=ct.onChange,Do=(0,ae.Z)(ct,Lr),Vo=(0,Se.useRef)(),la=(0,Se.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),ha=(0,Se.useState)(!1),aa=(0,ie.Z)(ha,2),Wo=aa[0],pa=aa[1],Go=(0,Se.useContext)(De),ea=Go&&no>1,xa=Go&&no>=1,Oa=br(Vo,Io,Eo,Qo),Jo=Oa.transform,qo=Oa.resetTransform,ba=Oa.updateTransform,Ka=Oa.dispatchZoomChange,ja=(0,Se.useState)(!0),Fa=(0,ie.Z)(ja,2),Ga=Fa[0],Dr=Fa[1],lo=Jo.rotate,Xo=Jo.scale,ma=Jo.x,Aa=Jo.y,$a=fe()((0,se.Z)({},"".concat(pt,"-moving"),Wo));(0,Se.useEffect)(function(){Ga||Dr(!0)},[Ga]);var _a=function(){qo("close")},ta=function(){Ka(Sr+uo,"zoomIn")},Va=function(){Ka(Sr/(Sr+uo),"zoomOut")},fi=function(){ba({rotate:lo+90},"rotateRight")},Wa=function(){ba({rotate:lo-90},"rotateLeft")},Xa=function(){ba({flipX:!Jo.flipX},"flipX")},ti=function(){ba({flipY:!Jo.flipY},"flipY")},bi=function(No){No==null||No.preventDefault(),No==null||No.stopPropagation(),jr>0&&(Dr(!1),qo("prev"),oa==null||oa(jr-1,jr))},Pi=function(No){No==null||No.preventDefault(),No==null||No.stopPropagation(),jr<no-1&&(Dr(!1),qo("next"),oa==null||oa(jr+1,jr))},gi=function(){if(Qn&&Wo){pa(!1);var No=la.current,mi=No.transformX,Ya=No.transformY,Qa=ma!==mi&&Aa!==Ya;if(!Qa)return;var si=Vo.current.offsetWidth*Xo,li=Vo.current.offsetHeight*Xo,hi=Vo.current.getBoundingClientRect(),Gi=hi.left,_i=hi.top,Ti=lo%180!==0,Oi=Tn(Ti?li:si,Ti?si:li,Gi,_i);Oi&&ba((0,re.Z)({},Oi),"dragRebound")}},Ui=function(No){!Rn||No.button!==0||(No.preventDefault(),No.stopPropagation(),la.current={deltaX:No.pageX-Jo.x,deltaY:No.pageY-Jo.y,transformX:Jo.x,transformY:Jo.y},pa(!0))},Ri=function(No){Qn&&Wo&&ba({x:No.pageX-la.current.deltaX,y:No.pageY-la.current.deltaY},"move")},zi=function(No){if(!(!Qn||No.deltaY==0)){var mi=Math.abs(No.deltaY/100),Ya=Math.min(mi,co),Qa=Sr+Ya*uo;No.deltaY>0&&(Qa=Sr/Qa),Ka(Qa,"wheel",No.clientX,No.clientY)}},Hi=function(No){!Qn||!ea||(No.keyCode===qn.LEFT?bi():No.keyCode===qn.RIGHT&&Pi())},Di=function(No){Qn&&(Xo!==1?ba({x:0,y:0,scale:1},"doubleClick"):Ka(Sr+uo,"doubleClick",No.clientX,No.clientY))};(0,Se.useEffect)(function(){var Ca,No,mi,Ya;if(Rn){mi=Nn(window,"mouseup",gi,!1),Ya=Nn(window,"mousemove",Ri,!1);try{window.top!==window.self&&(Ca=Nn(window.top,"mouseup",gi,!1),No=Nn(window.top,"mousemove",Ri,!1))}catch(Qa){Vr(!1,"[rc-image] ".concat(Qa))}}return function(){var Qa,si,li,hi;(Qa=mi)===null||Qa===void 0||Qa.remove(),(si=Ya)===null||si===void 0||si.remove(),(li=Ca)===null||li===void 0||li.remove(),(hi=No)===null||hi===void 0||hi.remove()}},[Qn,Wo,ma,Aa,lo,Rn]),(0,Se.useEffect)(function(){var Ca=Nn(window,"keydown",Hi,!1);return function(){Ca.remove()}},[Qn,ea,jr]);var xi=Se.createElement(jt,(0,le.Z)({},xo,{width:ct.width,height:ct.height,imgRef:Vo,className:"".concat(pt,"-img"),alt:Ft,style:{transform:"translate3d(".concat(Jo.x,"px, ").concat(Jo.y,"px, 0) scale3d(").concat(Jo.flipX?"-":"").concat(Xo,", ").concat(Jo.flipY?"-":"").concat(Xo,", 1) rotate(").concat(lo,"deg)"),transitionDuration:!Ga&&"0s"},fallback:Ht,src:Mt,onWheel:zi,onMouseDown:Ui,onDoubleClick:Di}));return Se.createElement(Se.Fragment,null,Se.createElement(Pn,(0,le.Z)({transitionName:Kr,maskTransitionName:Ao,closable:!1,keyboard:!0,prefixCls:pt,onClose:Vn,visible:Qn,wrapClassName:$a,rootClassName:Jn,getContainer:Mr},Do,{afterClose:_a}),Se.createElement("div",{className:"".concat(pt,"-img-wrapper")},wo?wo(xi,(0,re.Z)({transform:Jo},Go?{current:jr}:{})):xi)),Se.createElement(wr,{visible:Qn,transform:Jo,maskTransitionName:Ao,closeIcon:er,getContainer:Mr,prefixCls:pt,rootClassName:Jn,icons:tr,countRender:mo,showSwitch:ea,showProgress:xa,current:jr,count:no,scale:Xo,minScale:Io,maxScale:Eo,toolbarRender:ko,onSwitchLeft:bi,onSwitchRight:Pi,onZoomIn:ta,onZoomOut:Va,onRotateRight:fi,onRotateLeft:Wa,onFlipX:Xa,onFlipY:ti,onClose:Vn}))},cn=mn,vn=de(74902);function Wn(ut){var ct=Se.useState({}),pt=(0,ie.Z)(ct,2),Mt=pt[0],Ft=pt[1],Ht=Se.useCallback(function(Rn,Vn){return Ft(function(Qn){return(0,re.Z)((0,re.Z)({},Qn),{},(0,se.Z)({},Rn,Vn))}),function(){Ft(function(Qn){var Yn=(0,re.Z)({},Qn);return delete Yn[Rn],Yn})}},[]),pn=Se.useMemo(function(){return ut?ut.map(function(Rn){if(typeof Rn=="string")return{data:{src:Rn}};var Vn={};return Object.keys(Rn).forEach(function(Qn){["src"].concat((0,vn.Z)(Re)).includes(Qn)&&(Vn[Qn]=Rn[Qn])}),{data:Vn}}):Object.keys(Mt).reduce(function(Rn,Vn){var Qn=Mt[Vn],Yn=Qn.canPreview,tr=Qn.data;return Yn&&Rn.push({data:tr,id:Vn}),Rn},[])},[ut,Mt]);return[pn,Ht]}var gn=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Qt=["src"],xn=function(ct){var pt,Mt=ct.previewPrefixCls,Ft=Mt===void 0?"rc-image-preview":Mt,Ht=ct.children,pn=ct.icons,Rn=pn===void 0?{}:pn,Vn=ct.items,Qn=ct.preview,Yn=ct.fallback,tr=(0,ue.Z)(Qn)==="object"?Qn:{},Jn=tr.visible,er=tr.onVisibleChange,Mr=tr.getContainer,Ur=tr.current,jr=tr.movable,Yr=tr.minScale,no=tr.maxScale,mo=tr.countRender,Er=tr.closeIcon,uo=tr.onChange,Co=tr.onTransform,Io=tr.toolbarRender,yo=tr.imageRender,Eo=(0,ae.Z)(tr,gn),hr=Wn(Vn),Kr=(0,ie.Z)(hr,2),To=Kr[0],Ao=Kr[1],wo=we(0,{value:Ur}),xo=(0,ie.Z)(wo,2),ko=xo[0],Qo=xo[1],oa=(0,Se.useState)(!1),Do=(0,ie.Z)(oa,2),Vo=Do[0],la=Do[1],ha=((pt=To[ko])===null||pt===void 0?void 0:pt.data)||{},aa=ha.src,Wo=(0,ae.Z)(ha,Qt),pa=we(!!Jn,{value:Jn,onChange:function(lo,Xo){er==null||er(lo,Xo,ko)}}),Go=(0,ie.Z)(pa,2),ea=Go[0],xa=Go[1],Oa=(0,Se.useState)(null),Jo=(0,ie.Z)(Oa,2),qo=Jo[0],ba=Jo[1],Ka=Se.useCallback(function(Dr,lo,Xo){var ma=To.findIndex(function(Aa){return Aa.id===Dr});xa(!0),ba({x:lo,y:Xo}),Qo(ma<0?0:ma),la(!0)},[To]);Se.useEffect(function(){ea?Vo||Qo(0):la(!1)},[ea]);var ja=function(lo,Xo){Qo(lo),uo==null||uo(lo,Xo)},Fa=function(){xa(!1),ba(null)},Ga=Se.useMemo(function(){return{register:Ao,onPreview:Ka}},[Ao,Ka]);return Se.createElement(De.Provider,{value:Ga},Ht,Se.createElement(cn,(0,le.Z)({"aria-hidden":!ea,movable:jr,visible:ea,prefixCls:Ft,closeIcon:Er,onClose:Fa,mousePosition:qo,imgCommonProps:Wo,src:aa,fallback:Yn,icons:Rn,minScale:Yr,maxScale:no,getContainer:Mr,current:ko,count:To.length,countRender:mo,onTransform:Co,toolbarRender:Io,imageRender:yo,onChange:ja},Eo)))},Cr=xn,gr=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Rr=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],kr=function(ct){var pt=ct.src,Mt=ct.alt,Ft=ct.onPreviewClose,Ht=ct.prefixCls,pn=Ht===void 0?"rc-image":Ht,Rn=ct.previewPrefixCls,Vn=Rn===void 0?"".concat(pn,"-preview"):Rn,Qn=ct.placeholder,Yn=ct.fallback,tr=ct.width,Jn=ct.height,er=ct.style,Mr=ct.preview,Ur=Mr===void 0?!0:Mr,jr=ct.className,Yr=ct.onClick,no=ct.onError,mo=ct.wrapperClassName,Er=ct.wrapperStyle,uo=ct.rootClassName,Co=(0,ae.Z)(ct,gr),Io=Qn&&Qn!==!0,yo=(0,ue.Z)(Ur)==="object"?Ur:{},Eo=yo.src,hr=yo.visible,Kr=hr===void 0?void 0:hr,To=yo.onVisibleChange,Ao=To===void 0?Ft:To,wo=yo.getContainer,xo=wo===void 0?void 0:wo,ko=yo.mask,Qo=yo.maskClassName,oa=yo.movable,Do=yo.icons,Vo=yo.scaleStep,la=yo.minScale,ha=yo.maxScale,aa=yo.imageRender,Wo=yo.toolbarRender,pa=(0,ae.Z)(yo,Rr),Go=Eo!=null?Eo:pt,ea=we(!!Kr,{value:Kr,onChange:Ao}),xa=(0,ie.Z)(ea,2),Oa=xa[0],Jo=xa[1],qo=Je({src:pt,isCustomPlaceholder:Io,fallback:Yn}),ba=(0,ie.Z)(qo,3),Ka=ba[0],ja=ba[1],Fa=ba[2],Ga=(0,Se.useState)(null),Dr=(0,ie.Z)(Ga,2),lo=Dr[0],Xo=Dr[1],ma=(0,Se.useContext)(De),Aa=!!Ur,$a=function(){Jo(!1),Xo(null)},_a=fe()(pn,mo,uo,(0,se.Z)({},"".concat(pn,"-error"),Fa==="error")),ta=(0,Se.useMemo)(function(){var Xa={};return Re.forEach(function(ti){ct[ti]!==void 0&&(Xa[ti]=ct[ti])}),Xa},Re.map(function(Xa){return ct[Xa]})),Va=(0,Se.useMemo)(function(){return(0,re.Z)((0,re.Z)({},ta),{},{src:Go})},[Go,ta]),fi=Ie(Aa,Va),Wa=function(ti){var bi=ve(ti.target),Pi=bi.left,gi=bi.top;ma?ma.onPreview(fi,Pi,gi):(Xo({x:Pi,y:gi}),Jo(!0)),Yr==null||Yr(ti)};return Se.createElement(Se.Fragment,null,Se.createElement("div",(0,le.Z)({},Co,{className:_a,onClick:Aa?Wa:Yr,style:(0,re.Z)({width:tr,height:Jn},Er)}),Se.createElement("img",(0,le.Z)({},ta,{className:fe()("".concat(pn,"-img"),(0,se.Z)({},"".concat(pn,"-img-placeholder"),Qn===!0),jr),style:(0,re.Z)({height:Jn},er),ref:Ka},ja,{width:tr,height:Jn,onError:no})),Fa==="loading"&&Se.createElement("div",{"aria-hidden":"true",className:"".concat(pn,"-placeholder")},Qn),ko&&Aa&&Se.createElement("div",{className:fe()("".concat(pn,"-mask"),Qo),style:{display:(er==null?void 0:er.display)==="none"?"none":void 0}},ko)),!ma&&Aa&&Se.createElement(cn,(0,le.Z)({"aria-hidden":!Oa,visible:Oa,prefixCls:Vn,onClose:$a,mousePosition:lo,src:Go,alt:Mt,fallback:Yn,getContainer:xo,icons:Do,movable:oa,scaleStep:Vo,minScale:la,maxScale:ha,rootClassName:uo,imageRender:aa,imgCommonProps:ta,toolbarRender:Wo},pa)))};kr.PreviewGroup=Cr,kr.displayName="Image";var ho=kr,ao=ho,eo=de(33603),Fn=de(53124),io=de(24457),jo=de(73475),$n=de(22751),Bn=de(91034),fr={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"},nr=fr,xr=de(74643),cr=function(ct,pt){return Se.createElement(xr.Z,(0,le.Z)({},ct,{ref:pt,icon:nr}))},Fr=Se.forwardRef(cr),Qr={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"},Xr=Qr,It=function(ct,pt){return Se.createElement(xr.Z,(0,le.Z)({},ct,{ref:pt,icon:Xr}))},Ot=Se.forwardRef(It),qt={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"},Sn=qt,In=function(ct,pt){return Se.createElement(xr.Z,(0,le.Z)({},ct,{ref:pt,icon:Sn}))},an=Se.forwardRef(In),Pr={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"},Or=Pr,Zr=function(ct,pt){return Se.createElement(xr.Z,(0,le.Z)({},ct,{ref:pt,icon:Or}))},ro=Se.forwardRef(Zr),Wr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},po=Wr,ar=function(ct,pt){return Se.createElement(xr.Z,(0,le.Z)({},ct,{ref:pt,icon:po}))},_t=Se.forwardRef(ar),zt=de(84780),fn=de(71194),ht=de(14747),hn=de(50438),kn=de(16932),Un=de(67968),Vt=de(45503);const nn=ut=>({position:ut||"absolute",inset:0}),sn=ut=>{const{iconCls:ct,motionDurationSlow:pt,paddingXXS:Mt,marginXXS:Ft,prefixCls:Ht,colorTextLightSolid:pn}=ut;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:pn,background:new zt.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${pt}`,[`.${Ht}-mask-info`]:Object.assign(Object.assign({},ht.vS),{padding:`0 ${Mt}px`,[ct]:{marginInlineEnd:Ft,svg:{verticalAlign:"baseline"}}})}},Kn=ut=>{const{previewCls:ct,modalMaskBg:pt,paddingSM:Mt,marginXL:Ft,margin:Ht,paddingLG:pn,previewOperationColorDisabled:Rn,previewOperationHoverColor:Vn,motionDurationSlow:Qn,iconCls:Yn,colorTextLightSolid:tr}=ut,Jn=new zt.C(pt).setAlpha(.1),er=Jn.clone().setAlpha(.2);return{[`${ct}-footer`]:{position:"fixed",bottom:Ft,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:ut.previewOperationColor},[`${ct}-progress`]:{marginBottom:Ht},[`${ct}-close`]:{position:"fixed",top:Ft,right:{_skip_check_:!0,value:Ft},display:"flex",color:tr,backgroundColor:Jn.toRgbString(),borderRadius:"50%",padding:Mt,outline:0,border:0,cursor:"pointer",transition:`all ${Qn}`,"&:hover":{backgroundColor:er.toRgbString()},[`& > ${Yn}`]:{fontSize:ut.previewOperationSize}},[`${ct}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${pn}px`,backgroundColor:Jn.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Mt,padding:Mt,cursor:"pointer",transition:`all ${Qn}`,userSelect:"none",[`&:not(${ct}-operations-operation-disabled):hover > ${Yn}`]:{color:Vn},"&-disabled":{color:Rn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Yn}`]:{fontSize:ut.previewOperationSize}}}}},lr=ut=>{const{modalMaskBg:ct,iconCls:pt,previewOperationColorDisabled:Mt,previewCls:Ft,zIndexPopup:Ht,motionDurationSlow:pn}=ut,Rn=new zt.C(ct).setAlpha(.1),Vn=Rn.clone().setAlpha(.2);return{[`${Ft}-switch-left, ${Ft}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Ht+1,display:"flex",alignItems:"center",justifyContent:"center",width:ut.imagePreviewSwitchSize,height:ut.imagePreviewSwitchSize,marginTop:-ut.imagePreviewSwitchSize/2,color:ut.previewOperationColor,background:Rn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${pn}`,userSelect:"none","&:hover":{background:Vn.toRgbString()},"&-disabled":{"&, &:hover":{color:Mt,background:"transparent",cursor:"not-allowed",[`> ${pt}`]:{cursor:"not-allowed"}}},[`> ${pt}`]:{fontSize:ut.previewOperationSize}},[`${Ft}-switch-left`]:{insetInlineStart:ut.marginSM},[`${Ft}-switch-right`]:{insetInlineEnd:ut.marginSM}}},mr=ut=>{const{motionEaseOut:ct,previewCls:pt,motionDurationSlow:Mt,componentCls:Ft}=ut;return[{[`${Ft}-preview-root`]:{[pt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${pt}-body`]:Object.assign(Object.assign({},nn()),{overflow:"hidden"}),[`${pt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Mt} ${ct} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},nn()),{transition:`transform ${Mt} ${ct} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${pt}-moving`]:{[`${pt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Ft}-preview-root`]:{[`${pt}-wrap`]:{zIndex:ut.zIndexPopup}}},{[`${Ft}-preview-operations-wrapper`]:{position:"fixed",zIndex:ut.zIndexPopup+1},"&":[Kn(ut),lr(ut)]}]},Et=ut=>{const{componentCls:ct}=ut;return{[ct]:{position:"relative",display:"inline-block",[`${ct}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ct}-img-placeholder`]:{backgroundColor:ut.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ct}-mask`]:Object.assign({},sn(ut)),[`${ct}-mask:hover`]:{opacity:1},[`${ct}-placeholder`]:Object.assign({},nn())}}},Gt=ut=>{const{previewCls:ct}=ut;return{[`${ct}-root`]:(0,hn._y)(ut,"zoom"),"&":(0,kn.J$)(ut,!0)}};var rn=(0,Un.Z)("Image",ut=>{const ct=`${ut.componentCls}-preview`,pt=(0,Vt.TS)(ut,{previewCls:ct,modalMaskBg:new zt.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:ut.controlHeightLG});return[Et(pt),mr(pt),(0,fn.QA)((0,Vt.TS)(pt,{componentCls:ct})),Gt(pt)]},ut=>({zIndexPopup:ut.zIndexPopupBase+80,previewOperationColor:new zt.C(ut.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new zt.C(ut.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new zt.C(ut.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:ut.fontSizeIcon*1.5})),Xn=function(ut,ct){var pt={};for(var Mt in ut)Object.prototype.hasOwnProperty.call(ut,Mt)&&ct.indexOf(Mt)<0&&(pt[Mt]=ut[Mt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,Mt=Object.getOwnPropertySymbols(ut);Ft<Mt.length;Ft++)ct.indexOf(Mt[Ft])<0&&Object.prototype.propertyIsEnumerable.call(ut,Mt[Ft])&&(pt[Mt[Ft]]=ut[Mt[Ft]]);return pt};const _n={rotateLeft:Se.createElement(Fr,null),rotateRight:Se.createElement(Ot,null),zoomIn:Se.createElement(ro,null),zoomOut:Se.createElement(_t,null),close:Se.createElement(jo.Z,null),left:Se.createElement($n.Z,null),right:Se.createElement(Bn.Z,null),flipX:Se.createElement(an,null),flipY:Se.createElement(an,{rotate:90})};var Yt=ut=>{var{previewPrefixCls:ct,preview:pt}=ut,Mt=Xn(ut,["previewPrefixCls","preview"]);const{getPrefixCls:Ft}=Se.useContext(Fn.E_),Ht=Ft("image",ct),pn=`${Ht}-preview`,Rn=Ft(),[Vn,Qn]=rn(Ht),Yn=Se.useMemo(()=>{var tr;if(pt===!1)return pt;const Jn=typeof pt=="object"?pt:{},er=fe()(Qn,(tr=Jn.rootClassName)!==null&&tr!==void 0?tr:"");return Object.assign(Object.assign({},Jn),{transitionName:(0,eo.m)(Rn,"zoom",Jn.transitionName),maskTransitionName:(0,eo.m)(Rn,"fade",Jn.maskTransitionName),rootClassName:er})},[pt]);return Vn(Se.createElement(ao.PreviewGroup,Object.assign({preview:Yn,previewPrefixCls:pn,icons:_n},Mt)))},$t=function(ut,ct){var pt={};for(var Mt in ut)Object.prototype.hasOwnProperty.call(ut,Mt)&&ct.indexOf(Mt)<0&&(pt[Mt]=ut[Mt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,Mt=Object.getOwnPropertySymbols(ut);Ft<Mt.length;Ft++)ct.indexOf(Mt[Ft])<0&&Object.prototype.propertyIsEnumerable.call(ut,Mt[Ft])&&(pt[Mt[Ft]]=ut[Mt[Ft]]);return pt};const Jt=ut=>{const{prefixCls:ct,preview:pt,className:Mt,rootClassName:Ft,style:Ht}=ut,pn=$t(ut,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Rn,locale:Vn=io.Z,getPopupContainer:Qn,image:Yn}=Se.useContext(Fn.E_),tr=Rn("image",ct),Jn=Rn(),er=Vn.Image||io.Z.Image,[Mr,Ur]=rn(tr),jr=fe()(Ft,Ur),Yr=fe()(Mt,Ur,Yn==null?void 0:Yn.className),no=Se.useMemo(()=>{if(pt===!1)return pt;const Er=typeof pt=="object"?pt:{},{getContainer:uo}=Er,Co=$t(Er,["getContainer"]);return Object.assign(Object.assign({mask:Se.createElement("div",{className:`${tr}-mask-info`},Se.createElement(E.Z,null),er==null?void 0:er.preview),icons:_n},Co),{getContainer:uo||Qn,transitionName:(0,eo.m)(Jn,"zoom",Er.transitionName),maskTransitionName:(0,eo.m)(Jn,"fade",Er.maskTransitionName)})},[pt,er]),mo=Object.assign(Object.assign({},Yn==null?void 0:Yn.style),Ht);return Mr(Se.createElement(ao,Object.assign({prefixCls:tr,preview:no,rootClassName:jr,className:Yr,style:mo},pn)))};Jt.PreviewGroup=Yt;var Ln=Jt},71322:function(Lt,gt,de){"use strict";de.d(gt,{D:function(){return z},Z:function(){return ge}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(ve,pe){return xe.createElement(fe.Z,(0,Se.Z)({},ve,{ref:pe,icon:he}))},re=xe.forwardRef(le),se=de(22751),ie=de(91034),ue=de(94184),ae=de.n(ue),oe=de(10366),ee=me=>!isNaN(parseFloat(me))&&isFinite(me),a=de(53124),y=de(84321),x=function(me,ve){var pe={};for(var be in me)Object.prototype.hasOwnProperty.call(me,be)&&ve.indexOf(be)<0&&(pe[be]=me[be]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,be=Object.getOwnPropertySymbols(me);ye<be.length;ye++)ve.indexOf(be[ye])<0&&Object.prototype.propertyIsEnumerable.call(me,be[ye])&&(pe[be[ye]]=me[be[ye]]);return pe};const b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},z=xe.createContext({}),te=(()=>{let me=0;return function(){let ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return me+=1,`${ve}${me}`}})();var ge=xe.forwardRef((me,ve)=>{const{prefixCls:pe,className:be,trigger:ye,children:Ee,defaultCollapsed:Pe=!1,theme:Ae="dark",style:Ce={},collapsible:_e=!1,reverseArrow:we=!1,width:Re=200,collapsedWidth:De=80,zeroWidthTriggerStyle:ke,breakpoint:Ie,onCollapse:qe,onBreakpoint:Je}=me,We=x(me,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Qe}=(0,xe.useContext)(y.Gs),[He,Fe]=(0,xe.useState)("collapsed"in me?me.collapsed:Pe),[je,et]=(0,xe.useState)(!1);(0,xe.useEffect)(()=>{"collapsed"in me&&Fe(me.collapsed)},[me.collapsed]);const tt=(Le,Be)=>{"collapsed"in me||Fe(Le),qe==null||qe(Le,Be)},st=(0,xe.useRef)();st.current=Le=>{et(Le.matches),Je==null||Je(Le.matches),He!==Le.matches&&tt(Le.matches,"responsive")},(0,xe.useEffect)(()=>{function Le(Ve){return st.current(Ve)}let Be;if(typeof window!="undefined"){const{matchMedia:Ve}=window;if(Ve&&Ie&&Ie in b){Be=Ve(`(max-width: ${b[Ie]})`);try{Be.addEventListener("change",Le)}catch($e){Be.addListener(Le)}Le(Be)}}return()=>{try{Be==null||Be.removeEventListener("change",Le)}catch(Ve){Be==null||Be.removeListener(Le)}}},[Ie]),(0,xe.useEffect)(()=>{const Le=te("ant-sider-");return Qe.addSider(Le),()=>Qe.removeSider(Le)},[]);const Xe=()=>{tt(!He,"clickTrigger")},{getPrefixCls:Ke}=(0,xe.useContext)(a.E_),Me=()=>{const Le=Ke("layout-sider",pe),Be=(0,oe.Z)(We,["collapsed"]),Ve=He?De:Re,$e=ee(Ve)?`${Ve}px`:String(Ve),ze=parseFloat(String(De||0))===0?xe.createElement("span",{onClick:Xe,className:ae()(`${Le}-zero-width-trigger`,`${Le}-zero-width-trigger-${we?"right":"left"}`),style:ke},ye||xe.createElement(re,null)):null,Ne={expanded:we?xe.createElement(ie.Z,null):xe.createElement(se.Z,null),collapsed:we?xe.createElement(se.Z,null):xe.createElement(ie.Z,null)}[He?"collapsed":"expanded"],Ge=ye!==null?ze||xe.createElement("div",{className:`${Le}-trigger`,onClick:Xe,style:{width:$e}},ye||Ne):null,rt=Object.assign(Object.assign({},Ce),{flex:`0 0 ${$e}`,maxWidth:$e,minWidth:$e,width:$e}),mt=ae()(Le,`${Le}-${Ae}`,{[`${Le}-collapsed`]:!!He,[`${Le}-has-trigger`]:_e&&ye!==null&&!ze,[`${Le}-below`]:!!je,[`${Le}-zero-width`]:parseFloat($e)===0},be);return xe.createElement("aside",Object.assign({className:mt},Be,{style:rt,ref:ve}),xe.createElement("div",{className:`${Le}-children`},Ee),_e||je&&ze?Ge:null)},Ye=xe.useMemo(()=>({siderCollapsed:He}),[He]);return xe.createElement(z.Provider,{value:Ye},Me())})},84321:function(Lt,gt,de){"use strict";de.d(gt,{VY:function(){return te},$_:function(){return z},h4:function(){return b},Gs:function(){return ne},ZP:function(){return ce}});var Se=de(74902),xe=de(94184),E=de.n(xe),he=de(10366),fe=de(67294),le=de(53124),re=de(67968),ie=ge=>{const{componentCls:me,bodyBg:ve,lightSiderBg:pe,lightTriggerBg:be,lightTriggerColor:ye}=ge;return{[`${me}-sider-light`]:{background:pe,[`${me}-sider-trigger`]:{color:ye,background:be},[`${me}-sider-zero-width-trigger`]:{color:ye,background:be,border:`1px solid ${ve}`,borderInlineStart:0}}}};const ue=ge=>{const{antCls:me,componentCls:ve,colorText:pe,triggerColor:be,footerBg:ye,triggerBg:Ee,headerHeight:Pe,headerPadding:Ae,headerColor:Ce,footerPadding:_e,triggerHeight:we,zeroTriggerHeight:Re,zeroTriggerWidth:De,motionDurationMid:ke,motionDurationSlow:Ie,fontSize:qe,borderRadius:Je,bodyBg:We,headerBg:Qe,siderBg:He}=ge;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:We,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:He,transition:`all ${ke}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${me}-menu${me}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:we},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:we,color:be,lineHeight:`${we}px`,textAlign:"center",background:Ee,cursor:"pointer",transition:`all ${ke}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Pe,insetInlineEnd:-De,zIndex:1,width:De,height:Re,color:be,fontSize:ge.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:He,borderStartStartRadius:0,borderStartEndRadius:Je,borderEndEndRadius:Je,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ie} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ie}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-De,borderStartStartRadius:Je,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Je}}}}},ie(ge)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:Pe,padding:Ae,color:Ce,lineHeight:`${Pe}px`,background:Qe,[`${me}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:_e,color:pe,fontSize:qe,background:ye},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var ae=(0,re.Z)("Layout",ge=>[ue(ge)],ge=>{const{colorBgLayout:me,controlHeight:ve,controlHeightLG:pe,colorText:be,controlHeightSM:ye,marginXXS:Ee,colorTextLightSolid:Pe,colorBgContainer:Ae}=ge,Ce=pe*1.25;return{colorBgHeader:"#001529",colorBgBody:me,colorBgTrigger:"#002140",bodyBg:me,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${Ce}px`,headerColor:be,footerPadding:`${ye}px ${Ce}px`,footerBg:me,siderBg:"#001529",triggerHeight:pe+Ee*2,triggerBg:"#002140",triggerColor:Pe,zeroTriggerWidth:pe,zeroTriggerHeight:pe,lightSiderBg:Ae,lightTriggerBg:Ae,lightTriggerColor:be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(ge,me){var ve={};for(var pe in ge)Object.prototype.hasOwnProperty.call(ge,pe)&&me.indexOf(pe)<0&&(ve[pe]=ge[pe]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,pe=Object.getOwnPropertySymbols(ge);be<pe.length;be++)me.indexOf(pe[be])<0&&Object.prototype.propertyIsEnumerable.call(ge,pe[be])&&(ve[pe[be]]=ge[pe[be]]);return ve};const ne=fe.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ee(ge){let{suffixCls:me,tagName:ve,displayName:pe}=ge;return be=>fe.forwardRef((Ee,Pe)=>fe.createElement(be,Object.assign({ref:Pe,suffixCls:me,tagName:ve},Ee)))}const a=fe.forwardRef((ge,me)=>{const{prefixCls:ve,suffixCls:pe,className:be,tagName:ye}=ge,Ee=oe(ge,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Pe}=fe.useContext(le.E_),Ae=Pe("layout",ve),[Ce,_e]=ae(Ae),we=pe?`${Ae}-${pe}`:Ae;return Ce(fe.createElement(ye,Object.assign({className:E()(ve||we,be,_e),ref:me},Ee)))}),y=fe.forwardRef((ge,me)=>{const{direction:ve}=fe.useContext(le.E_),[pe,be]=fe.useState([]),{prefixCls:ye,className:Ee,rootClassName:Pe,children:Ae,hasSider:Ce,tagName:_e,style:we}=ge,Re=oe(ge,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),De=(0,he.Z)(Re,["suffixCls"]),{getPrefixCls:ke,layout:Ie}=fe.useContext(le.E_),qe=ke("layout",ye),[Je,We]=ae(qe),Qe=E()(qe,{[`${qe}-has-sider`]:typeof Ce=="boolean"?Ce:pe.length>0,[`${qe}-rtl`]:ve==="rtl"},Ie==null?void 0:Ie.className,Ee,Pe,We),He=fe.useMemo(()=>({siderHook:{addSider:Fe=>{be(je=>[].concat((0,Se.Z)(je),[Fe]))},removeSider:Fe=>{be(je=>je.filter(et=>et!==Fe))}}}),[]);return Je(fe.createElement(ne.Provider,{value:He},fe.createElement(_e,Object.assign({ref:me,className:Qe,style:Object.assign(Object.assign({},Ie==null?void 0:Ie.style),we)},De),Ae)))}),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 ce=x},76529:function(Lt,gt,de){"use strict";de.d(gt,{J:function(){return le}});var Se=de(67294),xe=de(4173),E=de(60276),he=function(re,se){var ie={};for(var ue in re)Object.prototype.hasOwnProperty.call(re,ue)&&se.indexOf(ue)<0&&(ie[ue]=re[ue]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ue=Object.getOwnPropertySymbols(re);ae<ue.length;ae++)se.indexOf(ue[ae])<0&&Object.prototype.propertyIsEnumerable.call(re,ue[ae])&&(ie[ue[ae]]=re[ue[ae]]);return ie};const fe=Se.createContext(null),le=Se.forwardRef((re,se)=>{const{children:ie}=re,ue=he(re,["children"]),ae=Se.useContext(fe),oe=Se.useMemo(()=>Object.assign(Object.assign({},ae),ue),[ae,ue.prefixCls,ue.mode,ue.selectable]);return Se.createElement(fe.Provider,{value:oe},Se.createElement(xe.BR,null,(0,E.supportNodeRef)(ie)?Se.cloneElement(ie,{ref:se}):ie))});gt.Z=fe},68508:function(Lt,gt,de){"use strict";de.d(gt,{default:function(){return Le}});var Se=de(78595),xe=de(67294),E=de(71322),he=de(94184),fe=de.n(he),le=de(53124),re=function(Be,Ve){var $e={};for(var ze in Be)Object.prototype.hasOwnProperty.call(Be,ze)&&Ve.indexOf(ze)<0&&($e[ze]=Be[ze]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ze=Object.getOwnPropertySymbols(Be);Te<ze.length;Te++)Ve.indexOf(ze[Te])<0&&Object.prototype.propertyIsEnumerable.call(Be,ze[Te])&&($e[ze[Te]]=Be[ze[Te]]);return $e},ie=Be=>{const{prefixCls:Ve,className:$e,dashed:ze}=Be,Te=re(Be,["prefixCls","className","dashed"]),{getPrefixCls:Oe}=xe.useContext(le.E_),Ne=Oe("menu",Ve),Ge=fe()({[`${Ne}-item-divider-dashed`]:!!ze},$e);return xe.createElement(Se.iz,Object.assign({className:Ge},Te))},ue=de(37419),ae=de(10366),oe=de(83062),ne=de(96159),a=(0,xe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Be=>{var Ve;const{className:$e,children:ze,icon:Te,title:Oe,danger:Ne}=Be,{prefixCls:Ge,firstLevel:rt,direction:mt,disableMenuItemTitleTooltip:dt,inlineCollapsed:nt}=xe.useContext(a),vt=it=>{const bt=xe.createElement("span",{className:`${Ge}-title-content`},ze);return(!Te||(0,ne.l$)(ze)&&ze.type==="span")&&ze&&it&&rt&&typeof ze=="string"?xe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},ze.charAt(0)):bt},{siderCollapsed:At}=xe.useContext(E.D);let Nt=Oe;typeof Oe=="undefined"?Nt=rt?ze:"":Oe===!1&&(Nt="");const at={title:Nt};!At&&!nt&&(at.title=null,at.open=!1);const xt=(0,ue.Z)(ze).length;let lt=xe.createElement(Se.ck,Object.assign({},(0,ae.Z)(Be,["title","icon","danger"]),{className:fe()({[`${Ge}-item-danger`]:Ne,[`${Ge}-item-only-child`]:(Te?xt+1:xt)===1},$e),title:typeof Oe=="string"?Oe:void 0}),(0,ne.Tm)(Te,{className:fe()((0,ne.l$)(Te)?(Ve=Te.props)===null||Ve===void 0?void 0:Ve.className:"",`${Ge}-item-icon`)}),vt(nt));return dt||(lt=xe.createElement(oe.Z,Object.assign({},at,{placement:mt==="rtl"?"left":"right",overlayClassName:`${Ge}-inline-collapsed-tooltip`}),lt)),lt},z=Be=>{var Ve;const{popupClassName:$e,icon:ze,title:Te,theme:Oe}=Be,Ne=xe.useContext(a),{prefixCls:Ge,inlineCollapsed:rt,theme:mt}=Ne,dt=(0,Se.Xl)();let nt;if(!ze)nt=rt&&!dt.length&&Te&&typeof Te=="string"?xe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Te.charAt(0)):xe.createElement("span",{className:`${Ge}-title-content`},Te);else{const At=(0,ne.l$)(Te)&&Te.type==="span";nt=xe.createElement(xe.Fragment,null,(0,ne.Tm)(ze,{className:fe()((0,ne.l$)(ze)?(Ve=ze.props)===null||Ve===void 0?void 0:Ve.className:"",`${Ge}-item-icon`)}),At?Te:xe.createElement("span",{className:`${Ge}-title-content`},Te))}const vt=xe.useMemo(()=>Object.assign(Object.assign({},Ne),{firstLevel:!1}),[Ne]);return xe.createElement(a.Provider,{value:vt},xe.createElement(Se.Wd,Object.assign({},(0,ae.Z)(Be,["icon"]),{title:nt,popupClassName:fe()(Ge,$e,`${Ge}-${Oe||mt}`)})))},te=de(25877),ce=de(60276),ge=de(33603),me=de(76529),ve=function(Be,Ve){var $e={};for(var ze in Be)Object.prototype.hasOwnProperty.call(Be,ze)&&Ve.indexOf(ze)<0&&($e[ze]=Be[ze]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ze=Object.getOwnPropertySymbols(Be);Te<ze.length;Te++)Ve.indexOf(ze[Te])<0&&Object.prototype.propertyIsEnumerable.call(Be,ze[Te])&&($e[ze[Te]]=Be[ze[Te]]);return $e};function pe(Be){return(Be||[]).map((Ve,$e)=>{if(Ve&&typeof Ve=="object"){const ze=Ve,{label:Te,children:Oe,key:Ne,type:Ge}=ze,rt=ve(ze,["label","children","key","type"]),mt=Ne!=null?Ne:`tmp-${$e}`;return Oe||Ge==="group"?Ge==="group"?xe.createElement(Se.BW,Object.assign({key:mt},rt,{title:Te}),pe(Oe)):xe.createElement(z,Object.assign({key:mt},rt,{title:Te}),pe(Oe)):Ge==="divider"?xe.createElement(ie,Object.assign({key:mt},rt)):xe.createElement(x,Object.assign({key:mt},rt),Te)}return null}).filter(Ve=>Ve)}function be(Be){return xe.useMemo(()=>Be&&pe(Be),[Be])}var ye=de(84780),Ee=de(14747),Pe=de(33507),Ae=de(67771),Ce=de(50438),_e=de(67968),we=de(45503),De=Be=>{const{componentCls:Ve,motionDurationSlow:$e,horizontalLineHeight:ze,colorSplit:Te,lineWidth:Oe,lineType:Ne,itemPaddingInline:Ge}=Be;return{[`${Ve}-horizontal`]:{lineHeight:ze,border:0,borderBottom:`${Oe}px ${Ne} ${Te}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ve}-item, ${Ve}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ge},[`> ${Ve}-item:hover,
> ${Ve}-item-active,
> ${Ve}-submenu ${Ve}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ve}-item, ${Ve}-submenu-title`]:{transition:[`border-color ${$e}`,`background ${$e}`].join(",")},[`${Ve}-submenu-arrow`]:{display:"none"}}}},Ie=Be=>{let{componentCls:Ve,menuArrowOffset:$e}=Be;return{[`${Ve}-rtl`]:{direction:"rtl"},[`${Ve}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ve}-rtl${Ve}-vertical,
${Ve}-submenu-rtl ${Ve}-vertical`]:{[`${Ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${$e})`},"&::after":{transform:`rotate(45deg) translateY(${$e})`}}}}};const qe=Be=>Object.assign({},(0,Ee.oN)(Be));var We=(Be,Ve)=>{const{componentCls:$e,itemColor:ze,itemSelectedColor:Te,groupTitleColor:Oe,itemBg:Ne,subMenuItemBg:Ge,itemSelectedBg:rt,activeBarHeight:mt,activeBarWidth:dt,activeBarBorderWidth:nt,motionDurationSlow:vt,motionEaseInOut:At,motionEaseOut:Nt,itemPaddingInline:at,motionDurationMid:xt,itemHoverColor:lt,lineType:it,colorSplit:bt,itemDisabledColor:wt,dangerItemColor:Dt,dangerItemHoverColor:Kt,dangerItemSelectedColor:Pn,dangerItemActiveBg:wn,dangerItemSelectedBg:Nn,itemHoverBg:On,itemActiveBg:qn,menuSubMenuBg:rr,horizontalItemSelectedColor:pr,horizontalItemSelectedBg:zr,horizontalItemBorderRadius:Vr,horizontalItemHoverBg:An,popupBg:Cn}=Be;return{[`${$e}-${Ve}, ${$e}-${Ve} > ${$e}`]:{color:ze,background:Ne,[`&${$e}-root:focus-visible`]:Object.assign({},qe(Be)),[`${$e}-item-group-title`]:{color:Oe},[`${$e}-submenu-selected`]:{[`> ${$e}-submenu-title`]:{color:Te}},[`${$e}-item-disabled, ${$e}-submenu-disabled`]:{color:`${wt} !important`},[`${$e}-item:not(${$e}-item-selected):not(${$e}-submenu-selected)`]:{[`&:hover, > ${$e}-submenu-title:hover`]:{color:lt}},[`&:not(${$e}-horizontal)`]:{[`${$e}-item:not(${$e}-item-selected)`]:{"&:hover":{backgroundColor:On},"&:active":{backgroundColor:qn}},[`${$e}-submenu-title`]:{"&:hover":{backgroundColor:On},"&:active":{backgroundColor:qn}}},[`${$e}-item-danger`]:{color:Dt,[`&${$e}-item:hover`]:{[`&:not(${$e}-item-selected):not(${$e}-submenu-selected)`]:{color:Kt}},[`&${$e}-item:active`]:{background:wn}},[`${$e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${$e}-item-selected`]:{color:Te,[`&${$e}-item-danger`]:{color:Pn},"a, a:hover":{color:"inherit"}},[`& ${$e}-item-selected`]:{backgroundColor:rt,[`&${$e}-item-danger`]:{backgroundColor:Nn}},[`${$e}-item, ${$e}-submenu-title`]:{[`&:not(${$e}-item-disabled):focus-visible`]:Object.assign({},qe(Be))},[`&${$e}-submenu > ${$e}`]:{backgroundColor:rr},[`&${$e}-popup > ${$e}`]:{backgroundColor:Cn},[`&${$e}-horizontal`]:Object.assign(Object.assign({},Ve==="dark"?{borderBottom:0}:{}),{[`> ${$e}-item, > ${$e}-submenu`]:{top:nt,marginTop:-nt,marginBottom:0,borderRadius:Vr,"&::after":{position:"absolute",insetInline:at,bottom:0,borderBottom:`${mt}px solid transparent`,transition:`border-color ${vt} ${At}`,content:'""'},"&:hover, &-active, &-open":{background:An,"&::after":{borderBottomWidth:mt,borderBottomColor:pr}},"&-selected":{color:pr,backgroundColor:zr,"&:hover":{backgroundColor:zr},"&::after":{borderBottomWidth:mt,borderBottomColor:pr}}}}),[`&${$e}-root`]:{[`&${$e}-inline, &${$e}-vertical`]:{borderInlineEnd:`${nt}px ${it} ${bt}`}},[`&${$e}-inline`]:{[`${$e}-sub${$e}-inline`]:{background:Ge},[`${$e}-item, ${$e}-submenu-title`]:nt&&dt?{width:`calc(100% + ${nt}px)`}:{},[`${$e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${dt}px solid ${Te}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${xt} ${Nt}`,`opacity ${xt} ${Nt}`].join(","),content:'""'},[`&${$e}-item-danger`]:{"&::after":{borderInlineEndColor:Pn}}},[`${$e}-selected, ${$e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${xt} ${At}`,`opacity ${xt} ${At}`].join(",")}}}}}};const Qe=Be=>{const{componentCls:Ve,itemHeight:$e,itemMarginInline:ze,padding:Te,menuArrowSize:Oe,marginXS:Ne,itemMarginBlock:Ge}=Be,rt=Te+Oe+Ne;return{[`${Ve}-item`]:{position:"relative",overflow:"hidden"},[`${Ve}-item, ${Ve}-submenu-title`]:{height:$e,lineHeight:`${$e}px`,paddingInline:Te,overflow:"hidden",textOverflow:"ellipsis",marginInline:ze,marginBlock:Ge,width:`calc(100% - ${ze*2}px)`},[`> ${Ve}-item,
> ${Ve}-submenu > ${Ve}-submenu-title`]:{height:$e,lineHeight:`${$e}px`},[`${Ve}-item-group-list ${Ve}-submenu-title,
${Ve}-submenu-title`]:{paddingInlineEnd:rt}}};var Fe=Be=>{const{componentCls:Ve,iconCls:$e,itemHeight:ze,colorTextLightSolid:Te,dropdownWidth:Oe,controlHeightLG:Ne,motionDurationMid:Ge,motionEaseOut:rt,paddingXL:mt,itemMarginInline:dt,fontSizeLG:nt,motionDurationSlow:vt,paddingXS:At,boxShadowSecondary:Nt,collapsedWidth:at,collapsedIconSize:xt}=Be,lt={height:ze,lineHeight:`${ze}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ve]:{"&-inline, &-vertical":Object.assign({[`&${Ve}-root`]:{boxShadow:"none"}},Qe(Be))},[`${Ve}-submenu-popup`]:{[`${Ve}-vertical`]:Object.assign(Object.assign({},Qe(Be)),{boxShadow:Nt})}},{[`${Ve}-submenu-popup ${Ve}-vertical${Ve}-sub`]:{minWidth:Oe,maxHeight:`calc(100vh - ${Ne*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ve}-inline`]:{width:"100%",[`&${Ve}-root`]:{[`${Ve}-item, ${Ve}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${vt}`,`background ${vt}`,`padding ${Ge} ${rt}`].join(","),[`> ${Ve}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ve}-sub${Ve}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ve}-submenu > ${Ve}-submenu-title`]:lt,[`& ${Ve}-item-group-title`]:{paddingInlineStart:mt}},[`${Ve}-item`]:lt}},{[`${Ve}-inline-collapsed`]:{width:at,[`&${Ve}-root`]:{[`${Ve}-item, ${Ve}-submenu ${Ve}-submenu-title`]:{[`> ${Ve}-inline-collapsed-noicon`]:{fontSize:nt,textAlign:"center"}}},[`> ${Ve}-item,
> ${Ve}-item-group > ${Ve}-item-group-list > ${Ve}-item,
> ${Ve}-item-group > ${Ve}-item-group-list > ${Ve}-submenu > ${Ve}-submenu-title,
> ${Ve}-submenu > ${Ve}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${nt/2}px - ${dt}px)`,textOverflow:"clip",[`
${Ve}-submenu-arrow,
${Ve}-submenu-expand-icon
`]:{opacity:0},[`${Ve}-item-icon, ${$e}`]:{margin:0,fontSize:xt,lineHeight:`${ze}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ve}-item-icon, ${$e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ve}-item-icon, ${$e}`]:{display:"none"},"a, a:hover":{color:Te}},[`${Ve}-item-group-title`]:Object.assign(Object.assign({},Ee.vS),{paddingInline:At})}}]};const je=Be=>{const{componentCls:Ve,motionDurationSlow:$e,motionDurationMid:ze,motionEaseInOut:Te,motionEaseOut:Oe,iconCls:Ne,iconSize:Ge,iconMarginInlineEnd:rt}=Be;return{[`${Ve}-item, ${Ve}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${$e}`,`background ${$e}`,`padding ${$e} ${Te}`].join(","),[`${Ve}-item-icon, ${Ne}`]:{minWidth:Ge,fontSize:Ge,transition:[`font-size ${ze} ${Oe}`,`margin ${$e} ${Te}`,`color ${$e}`].join(","),"+ span":{marginInlineStart:rt,opacity:1,transition:[`opacity ${$e} ${Te}`,`margin ${$e}`,`color ${$e}`].join(",")}},[`${Ve}-item-icon`]:Object.assign({},(0,Ee.Ro)()),[`&${Ve}-item-only-child`]:{[`> ${Ne}, > ${Ve}-item-icon`]:{marginInlineEnd:0}}},[`${Ve}-item-disabled, ${Ve}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ve}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},et=Be=>{const{componentCls:Ve,motionDurationSlow:$e,motionEaseInOut:ze,borderRadius:Te,menuArrowSize:Oe,menuArrowOffset:Ne}=Be;return{[`${Ve}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Be.margin,width:Oe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${$e} ${ze}, opacity ${$e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Oe*.6,height:Oe*.15,backgroundColor:"currentcolor",borderRadius:Te,transition:[`background ${$e} ${ze}`,`transform ${$e} ${ze}`,`top ${$e} ${ze}`,`color ${$e} ${ze}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ne})`},"&::after":{transform:`rotate(-45deg) translateY(${Ne})`}}}}},tt=Be=>{const{antCls:Ve,componentCls:$e,fontSize:ze,motionDurationSlow:Te,motionDurationMid:Oe,motionEaseInOut:Ne,paddingXS:Ge,padding:rt,colorSplit:mt,lineWidth:dt,zIndexPopup:nt,borderRadiusLG:vt,subMenuItemBorderRadius:At,menuArrowSize:Nt,menuArrowOffset:at,lineType:xt,menuPanelMaskInset:lt,groupTitleLineHeight:it,groupTitleFontSize:bt}=Be;return[{"":{[`${$e}`]:Object.assign(Object.assign({},(0,Ee.dF)()),{"&-hidden":{display:"none"}})},[`${$e}-submenu-hidden`]:{display:"none"}},{[$e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(Be)),(0,Ee.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ze,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Te} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${$e}-item`]:{flex:"none"}},[`${$e}-item, ${$e}-submenu, ${$e}-submenu-title`]:{borderRadius:Be.itemBorderRadius},[`${$e}-item-group-title`]:{padding:`${Ge}px ${rt}px`,fontSize:bt,lineHeight:it,transition:`all ${Te}`},[`&-horizontal ${$e}-submenu`]:{transition:[`border-color ${Te} ${Ne}`,`background ${Te} ${Ne}`].join(",")},[`${$e}-submenu, ${$e}-submenu-inline`]:{transition:[`border-color ${Te} ${Ne}`,`background ${Te} ${Ne}`,`padding ${Oe} ${Ne}`].join(",")},[`${$e}-submenu ${$e}-sub`]:{cursor:"initial",transition:[`background ${Te} ${Ne}`,`padding ${Te} ${Ne}`].join(",")},[`${$e}-title-content`]:{transition:`color ${Te}`},[`${$e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${$e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:mt,borderStyle:xt,borderWidth:0,borderTopWidth:dt,marginBlock:dt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),je(Be)),{[`${$e}-item-group`]:{[`${$e}-item-group-list`]:{margin:0,padding:0,[`${$e}-item, ${$e}-submenu-title`]:{paddingInline:`${ze*2}px ${rt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:nt,borderRadius:vt,boxShadow:"none",transformOrigin:"0 0",[`&${$e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${lt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:lt},"\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:Be.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Be.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Be.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Be.paddingXS},[`> ${$e}`]:Object.assign(Object.assign(Object.assign({borderRadius:vt},je(Be)),et(Be)),{[`${$e}-item, ${$e}-submenu > ${$e}-submenu-title`]:{borderRadius:At},[`${$e}-submenu-title::after`]:{transition:`transform ${Te} ${Ne}`}})}}),et(Be)),{[`&-inline-collapsed ${$e}-submenu-arrow,
&-inline ${$e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${at})`},"&::after":{transform:`rotate(45deg) translateX(-${at})`}},[`${$e}-submenu-open${$e}-submenu-inline > ${$e}-submenu-title > ${$e}-submenu-arrow`]:{transform:`translateY(-${Nt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${at})`},"&::before":{transform:`rotate(45deg) translateX(${at})`}}})},{[`${Ve}-layout-header`]:{[$e]:{lineHeight:"inherit"}}}]};var st=(Be,Ve)=>(0,_e.Z)("Menu",ze=>{if(Ve===!1)return[];const{colorBgElevated:Te,colorPrimary:Oe,colorTextLightSolid:Ne,controlHeightLG:Ge,fontSize:rt,darkItemColor:mt,darkDangerItemColor:dt,darkItemBg:nt,darkSubMenuItemBg:vt,darkItemSelectedColor:At,darkItemSelectedBg:Nt,darkDangerItemSelectedBg:at,darkItemHoverBg:xt,darkGroupTitleColor:lt,darkItemHoverColor:it,darkItemDisabledColor:bt,darkDangerItemHoverColor:wt,darkDangerItemSelectedColor:Dt,darkDangerItemActiveBg:Kt}=ze,Pn=rt/7*5,wn=(0,we.TS)(ze,{menuArrowSize:Pn,menuHorizontalHeight:Ge*1.15,menuArrowOffset:`${Pn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Te}),Nn=(0,we.TS)(wn,{itemColor:mt,itemHoverColor:it,groupTitleColor:lt,itemSelectedColor:At,itemBg:nt,popupBg:nt,subMenuItemBg:vt,itemActiveBg:"transparent",itemSelectedBg:Nt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:xt,itemDisabledColor:bt,dangerItemColor:dt,dangerItemHoverColor:wt,dangerItemSelectedColor:Dt,dangerItemActiveBg:Kt,dangerItemSelectedBg:at,menuSubMenuBg:vt,horizontalItemSelectedColor:Ne,horizontalItemSelectedBg:Oe});return[tt(wn),De(wn),Fe(wn),We(wn,"light"),We(Nn,"dark"),Ie(wn),(0,Pe.Z)(wn),(0,Ae.oN)(wn,"slide-up"),(0,Ae.oN)(wn,"slide-down"),(0,Ce._y)(wn,"zoom-big")]},ze=>{const{colorPrimary:Te,colorError:Oe,colorTextDisabled:Ne,colorErrorBg:Ge,colorText:rt,colorTextDescription:mt,colorBgContainer:dt,colorFillAlter:nt,colorFillContent:vt,lineWidth:At,lineWidthBold:Nt,controlItemBgActive:at,colorBgTextHover:xt,controlHeightLG:lt,lineHeight:it,colorBgElevated:bt,marginXXS:wt,padding:Dt,fontSize:Kt,controlHeightSM:Pn,fontSizeLG:wn,colorTextLightSolid:Nn,colorErrorHover:On}=ze,qn=new ye.C(Nn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ze.zIndexPopupBase+50,radiusItem:ze.borderRadiusLG,itemBorderRadius:ze.borderRadiusLG,radiusSubMenuItem:ze.borderRadiusSM,subMenuItemBorderRadius:ze.borderRadiusSM,colorItemText:rt,itemColor:rt,colorItemTextHover:rt,itemHoverColor:rt,colorItemTextHoverHorizontal:Te,horizontalItemHoverColor:Te,colorGroupTitle:mt,groupTitleColor:mt,colorItemTextSelected:Te,itemSelectedColor:Te,colorItemTextSelectedHorizontal:Te,horizontalItemSelectedColor:Te,colorItemBg:dt,itemBg:dt,colorItemBgHover:xt,itemHoverBg:xt,colorItemBgActive:vt,itemActiveBg:at,colorSubItemBg:nt,subMenuItemBg:nt,colorItemBgSelected:at,itemSelectedBg:at,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Nt,activeBarHeight:Nt,colorActiveBarBorderSize:At,activeBarBorderWidth:At,colorItemTextDisabled:Ne,itemDisabledColor:Ne,colorDangerItemText:Oe,dangerItemColor:Oe,colorDangerItemTextHover:Oe,dangerItemHoverColor:Oe,colorDangerItemTextSelected:Oe,dangerItemSelectedColor:Oe,colorDangerItemBgActive:Ge,dangerItemActiveBg:Ge,colorDangerItemBgSelected:Ge,dangerItemSelectedBg:Ge,itemMarginInline:ze.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:lt,groupTitleLineHeight:it,collapsedWidth:lt*2,popupBg:bt,itemMarginBlock:wt,itemPaddingInline:Dt,horizontalLineHeight:`${lt*1.15}px`,iconSize:Kt,iconMarginInlineEnd:Pn-Kt,collapsedIconSize:wn,groupTitleFontSize:Kt,darkItemDisabledColor:new ye.C(Nn).setAlpha(.25).toRgbString(),darkItemColor:qn,darkDangerItemColor:Oe,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Nn,darkItemSelectedBg:Te,darkDangerItemSelectedBg:Oe,darkItemHoverBg:"transparent",darkGroupTitleColor:qn,darkItemHoverColor:Nn,darkDangerItemHoverColor:On,darkDangerItemSelectedColor:Nn,darkDangerItemActiveBg:Oe}},{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"]]})(Be),Xe=function(Be,Ve){var $e={};for(var ze in Be)Object.prototype.hasOwnProperty.call(Be,ze)&&Ve.indexOf(ze)<0&&($e[ze]=Be[ze]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ze=Object.getOwnPropertySymbols(Be);Te<ze.length;Te++)Ve.indexOf(ze[Te])<0&&Object.prototype.propertyIsEnumerable.call(Be,ze[Te])&&($e[ze[Te]]=Be[ze[Te]]);return $e},Me=(0,xe.forwardRef)((Be,Ve)=>{var $e,ze;const Te=xe.useContext(me.Z),Oe=Te||{},{getPrefixCls:Ne,getPopupContainer:Ge,direction:rt,menu:mt}=xe.useContext(le.E_),dt=Ne(),{prefixCls:nt,className:vt,style:At,theme:Nt="light",expandIcon:at,_internalDisableMenuItemTitleTooltip:xt,inlineCollapsed:lt,siderCollapsed:it,items:bt,children:wt,rootClassName:Dt,mode:Kt,selectable:Pn,onClick:wn,overflowedIndicatorPopupClassName:Nn}=Be,On=Xe(Be,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),qn=(0,ae.Z)(On,["collapsedWidth"]),rr=be(bt)||wt;($e=Oe.validator)===null||$e===void 0||$e.call(Oe,{mode:Kt});const pr=(0,ce.useEvent)(function(){var tn;wn==null||wn.apply(void 0,arguments),(tn=Oe.onClick)===null||tn===void 0||tn.call(Oe)}),zr=Oe.mode||Kt,Vr=Pn!=null?Pn:Oe.selectable,An=xe.useMemo(()=>it!==void 0?it:lt,[lt,it]),Cn={horizontal:{motionName:`${dt}-slide-up`},inline:(0,ge.Z)(dt),other:{motionName:`${dt}-zoom-big`}},Ut=Ne("menu",nt||Oe.prefixCls),[Tt,kt]=st(Ut,!Te),en=fe()(`${Ut}-${Nt}`,mt==null?void 0:mt.className,vt);let Xt;if(typeof at=="function")Xt=at;else if(at===null||at===!1)Xt=null;else if(Oe.expandIcon===null||Oe.expandIcon===!1)Xt=null;else{const tn=at!=null?at:Oe.expandIcon;Xt=(0,ne.Tm)(tn,{className:fe()(`${Ut}-submenu-expand-icon`,(0,ne.l$)(tn)?(ze=tn.props)===null||ze===void 0?void 0:ze.className:"")})}const Tn=xe.useMemo(()=>({prefixCls:Ut,inlineCollapsed:An||!1,direction:rt,firstLevel:!0,theme:Nt,mode:zr,disableMenuItemTitleTooltip:xt}),[Ut,An,rt,xt,Nt]);return Tt(xe.createElement(me.Z.Provider,{value:null},xe.createElement(a.Provider,{value:Tn},xe.createElement(Se.ZP,Object.assign({getPopupContainer:Ge,overflowedIndicator:xe.createElement(te.Z,null),overflowedIndicatorPopupClassName:fe()(Ut,`${Ut}-${Nt}`,Nn),mode:zr,selectable:Vr,onClick:pr},qn,{inlineCollapsed:An,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),At),className:en,prefixCls:Ut,direction:rt,defaultMotions:Cn,expandIcon:Xt,ref:Ve,rootClassName:fe()(Dt,kt)}),rr))))});const Ye=(0,xe.forwardRef)((Be,Ve)=>{const $e=(0,xe.useRef)(null),ze=xe.useContext(E.D);return(0,xe.useImperativeHandle)(Ve,()=>({menu:$e.current,focus:Te=>{var Oe;(Oe=$e.current)===null||Oe===void 0||Oe.focus(Te)}})),xe.createElement(Me,Object.assign({ref:$e},Be,ze))});Ye.Item=x,Ye.SubMenu=z,Ye.Divider=ie,Ye.ItemGroup=Se.BW;var Le=Ye},28452:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return dt}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(vt,At){return xe.createElement(fe.Z,(0,Se.Z)({},vt,{ref:At,icon:he}))},re=xe.forwardRef(le),se=de(81893),ie=de(22751),ue=de(91034),ae=de(94184),oe=de.n(ae),ne=de(4942),ee=de(1413),a=de(15671),y=de(43144),x=de(60136),b=de(51630),z=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,te=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ce="".concat(z," ").concat(te).split(/[\s\n]+/),ge="aria-",me="data-";function ve(nt,vt){return nt.indexOf(vt)===0}function pe(nt){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,At;vt===!1?At={aria:!0,data:!0,attr:!0}:vt===!0?At={aria:!0}:At=(0,ee.Z)({},vt);var Nt={};return Object.keys(nt).forEach(function(at){(At.aria&&(at==="role"||ve(at,ge))||At.data&&ve(at,me)||At.attr&&ce.includes(at))&&(Nt[at]=nt[at])}),Nt}var be={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ye=be,Ee=de(81626),Pe=function(nt){(0,x.Z)(At,nt);var vt=(0,b.Z)(At);function At(){var Nt;(0,a.Z)(this,At);for(var at=arguments.length,xt=new Array(at),lt=0;lt<at;lt++)xt[lt]=arguments[lt];return Nt=vt.call.apply(vt,[this].concat(xt)),Nt.state={goInputText:""},Nt.getValidValue=function(){var it=Nt.state.goInputText;return!it||Number.isNaN(it)?void 0:Number(it)},Nt.buildOptionText=function(it){return"".concat(it," ").concat(Nt.props.locale.items_per_page)},Nt.changeSize=function(it){Nt.props.changeSize(Number(it))},Nt.handleChange=function(it){Nt.setState({goInputText:it.target.value})},Nt.handleBlur=function(it){var bt=Nt.props,wt=bt.goButton,Dt=bt.quickGo,Kt=bt.rootPrefixCls,Pn=Nt.state.goInputText;wt||Pn===""||(Nt.setState({goInputText:""}),!(it.relatedTarget&&(it.relatedTarget.className.indexOf("".concat(Kt,"-item-link"))>=0||it.relatedTarget.className.indexOf("".concat(Kt,"-item"))>=0))&&Dt(Nt.getValidValue()))},Nt.go=function(it){var bt=Nt.state.goInputText;bt!==""&&(it.keyCode===ye.ENTER||it.type==="click")&&(Nt.setState({goInputText:""}),Nt.props.quickGo(Nt.getValidValue()))},Nt}return(0,y.Z)(At,[{key:"getPageSizeOptions",value:function(){var at=this.props,xt=at.pageSize,lt=at.pageSizeOptions;return lt.some(function(it){return it.toString()===xt.toString()})?lt:lt.concat([xt.toString()]).sort(function(it,bt){var wt=Number.isNaN(Number(it))?0:Number(it),Dt=Number.isNaN(Number(bt))?0:Number(bt);return wt-Dt})}},{key:"render",value:function(){var at=this,xt=this.props,lt=xt.pageSize,it=xt.locale,bt=xt.rootPrefixCls,wt=xt.changeSize,Dt=xt.quickGo,Kt=xt.goButton,Pn=xt.selectComponentClass,wn=xt.buildOptionText,Nn=xt.selectPrefixCls,On=xt.disabled,qn=this.state.goInputText,rr="".concat(bt,"-options"),pr=Pn,zr=null,Vr=null,An=null;if(!wt&&!Dt)return null;var Cn=this.getPageSizeOptions();if(wt&&pr){var Ut=Cn.map(function(Tt,kt){return xe.createElement(pr.Option,{key:kt,value:Tt.toString()},(wn||at.buildOptionText)(Tt))});zr=xe.createElement(pr,{disabled:On,prefixCls:Nn,showSearch:!1,className:"".concat(rr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(lt||Cn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(kt){return kt.parentNode},"aria-label":it.page_size,defaultOpen:!1},Ut)}return Dt&&(Kt&&(An=typeof Kt=="boolean"?xe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:On,className:"".concat(rr,"-quick-jumper-button")},it.jump_to_confirm):xe.createElement("span",{onClick:this.go,onKeyUp:this.go},Kt)),Vr=xe.createElement("div",{className:"".concat(rr,"-quick-jumper")},it.jump_to,xe.createElement("input",{disabled:On,type:"text",value:qn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":it.page}),it.page,An)),xe.createElement("li",{className:"".concat(rr)},zr,Vr)}}]),At}(xe.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ae=Pe,Ce=function(vt){var At,Nt=vt.rootPrefixCls,at=vt.page,xt=vt.active,lt=vt.className,it=vt.showTitle,bt=vt.onClick,wt=vt.onKeyPress,Dt=vt.itemRender,Kt="".concat(Nt,"-item"),Pn=oe()(Kt,"".concat(Kt,"-").concat(at),(At={},(0,ne.Z)(At,"".concat(Kt,"-active"),xt),(0,ne.Z)(At,"".concat(Kt,"-disabled"),!at),(0,ne.Z)(At,vt.className,lt),At)),wn=function(){bt(at)},Nn=function(rr){wt(rr,bt,at)},On=Dt(at,"page",xe.createElement("a",{rel:"nofollow"},at));return On?xe.createElement("li",{title:it?at.toString():null,className:Pn,onClick:wn,onKeyPress:Nn,tabIndex:0},On):null},_e=Ce;function we(){}function Re(nt){var vt=Number(nt);return typeof vt=="number"&&!Number.isNaN(vt)&&isFinite(vt)&&Math.floor(vt)===vt}var De=function(vt,At,Nt){return Nt};function ke(nt,vt,At){var Nt=typeof nt=="undefined"?vt.pageSize:nt;return Math.floor((At.total-1)/Nt)+1}var Ie=function(nt){(0,x.Z)(At,nt);var vt=(0,b.Z)(At);function At(Nt){var at;(0,a.Z)(this,At),at=vt.call(this,Nt),at.paginationNode=xe.createRef(),at.getJumpPrevPage=function(){return Math.max(1,at.state.current-(at.props.showLessItems?3:5))},at.getJumpNextPage=function(){return Math.min(ke(void 0,at.state,at.props),at.state.current+(at.props.showLessItems?3:5))},at.getItemIcon=function(wt,Dt){var Kt=at.props.prefixCls,Pn=wt||xe.createElement("button",{type:"button","aria-label":Dt,className:"".concat(Kt,"-item-link")});return typeof wt=="function"&&(Pn=xe.createElement(wt,(0,ee.Z)({},at.props))),Pn},at.isValid=function(wt){var Dt=at.props.total;return Re(wt)&&wt!==at.state.current&&Re(Dt)&&Dt>0},at.shouldDisplayQuickJumper=function(){var wt=at.props,Dt=wt.showQuickJumper,Kt=wt.total,Pn=at.state.pageSize;return Kt<=Pn?!1:Dt},at.handleKeyDown=function(wt){(wt.keyCode===ye.ARROW_UP||wt.keyCode===ye.ARROW_DOWN)&&wt.preventDefault()},at.handleKeyUp=function(wt){var Dt=at.getValidValue(wt),Kt=at.state.currentInputValue;Dt!==Kt&&at.setState({currentInputValue:Dt}),wt.keyCode===ye.ENTER?at.handleChange(Dt):wt.keyCode===ye.ARROW_UP?at.handleChange(Dt-1):wt.keyCode===ye.ARROW_DOWN&&at.handleChange(Dt+1)},at.handleBlur=function(wt){var Dt=at.getValidValue(wt);at.handleChange(Dt)},at.changePageSize=function(wt){var Dt=at.state.current,Kt=ke(wt,at.state,at.props);Dt=Dt>Kt?Kt:Dt,Kt===0&&(Dt=at.state.current),typeof wt=="number"&&("pageSize"in at.props||at.setState({pageSize:wt}),"current"in at.props||at.setState({current:Dt,currentInputValue:Dt})),at.props.onShowSizeChange(Dt,wt),"onChange"in at.props&&at.props.onChange&&at.props.onChange(Dt,wt)},at.handleChange=function(wt){var Dt=at.props,Kt=Dt.disabled,Pn=Dt.onChange,wn=at.state,Nn=wn.pageSize,On=wn.current,qn=wn.currentInputValue;if(at.isValid(wt)&&!Kt){var rr=ke(void 0,at.state,at.props),pr=wt;return wt>rr?pr=rr:wt<1&&(pr=1),"current"in at.props||at.setState({current:pr}),pr!==qn&&at.setState({currentInputValue:pr}),Pn(pr,Nn),pr}return On},at.prev=function(){at.hasPrev()&&at.handleChange(at.state.current-1)},at.next=function(){at.hasNext()&&at.handleChange(at.state.current+1)},at.jumpPrev=function(){at.handleChange(at.getJumpPrevPage())},at.jumpNext=function(){at.handleChange(at.getJumpNextPage())},at.hasPrev=function(){return at.state.current>1},at.hasNext=function(){return at.state.current<ke(void 0,at.state,at.props)},at.runIfEnter=function(wt,Dt){if(wt.key==="Enter"||wt.charCode===13){for(var Kt=arguments.length,Pn=new Array(Kt>2?Kt-2:0),wn=2;wn<Kt;wn++)Pn[wn-2]=arguments[wn];Dt.apply(void 0,Pn)}},at.runIfEnterPrev=function(wt){at.runIfEnter(wt,at.prev)},at.runIfEnterNext=function(wt){at.runIfEnter(wt,at.next)},at.runIfEnterJumpPrev=function(wt){at.runIfEnter(wt,at.jumpPrev)},at.runIfEnterJumpNext=function(wt){at.runIfEnter(wt,at.jumpNext)},at.handleGoTO=function(wt){(wt.keyCode===ye.ENTER||wt.type==="click")&&at.handleChange(at.state.currentInputValue)},at.renderPrev=function(wt){var Dt=at.props,Kt=Dt.prevIcon,Pn=Dt.itemRender,wn=Pn(wt,"prev",at.getItemIcon(Kt,"prev page")),Nn=!at.hasPrev();return(0,xe.isValidElement)(wn)?(0,xe.cloneElement)(wn,{disabled:Nn}):wn},at.renderNext=function(wt){var Dt=at.props,Kt=Dt.nextIcon,Pn=Dt.itemRender,wn=Pn(wt,"next",at.getItemIcon(Kt,"next page")),Nn=!at.hasNext();return(0,xe.isValidElement)(wn)?(0,xe.cloneElement)(wn,{disabled:Nn}):wn};var xt=Nt.onChange!==we,lt="current"in Nt;lt&&!xt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var it=Nt.defaultCurrent;"current"in Nt&&(it=Nt.current);var bt=Nt.defaultPageSize;return"pageSize"in Nt&&(bt=Nt.pageSize),it=Math.min(it,ke(bt,void 0,Nt)),at.state={current:it,currentInputValue:it,pageSize:bt},at}return(0,y.Z)(At,[{key:"componentDidUpdate",value:function(at,xt){var lt=this.props.prefixCls;if(xt.current!==this.state.current&&this.paginationNode.current){var it=this.paginationNode.current.querySelector(".".concat(lt,"-item-").concat(xt.current));if(it&&document.activeElement===it){var bt;it==null||(bt=it.blur)===null||bt===void 0||bt.call(it)}}}},{key:"getValidValue",value:function(at){var xt=at.target.value,lt=ke(void 0,this.state,this.props),it=this.state.currentInputValue,bt;return xt===""?bt=xt:Number.isNaN(Number(xt))?bt=it:xt>=lt?bt=lt:bt=Number(xt),bt}},{key:"getShowSizeChanger",value:function(){var at=this.props,xt=at.showSizeChanger,lt=at.total,it=at.totalBoundaryShowSizeChanger;return typeof xt!="undefined"?xt:lt>it}},{key:"render",value:function(){var at=this.props,xt=at.prefixCls,lt=at.className,it=at.style,bt=at.disabled,wt=at.hideOnSinglePage,Dt=at.total,Kt=at.locale,Pn=at.showQuickJumper,wn=at.showLessItems,Nn=at.showTitle,On=at.showTotal,qn=at.simple,rr=at.itemRender,pr=at.showPrevNextJumpers,zr=at.jumpPrevIcon,Vr=at.jumpNextIcon,An=at.selectComponentClass,Cn=at.selectPrefixCls,Ut=at.pageSizeOptions,Tt=this.state,kt=Tt.current,en=Tt.pageSize,Xt=Tt.currentInputValue;if(wt===!0&&Dt<=en)return null;var Tn=ke(void 0,this.state,this.props),tn=[],yn=null,Mn=null,Dn=null,St=null,Ct=null,Rt=Pn&&Pn.goButton,dn=wn?1:2,Hn=kt-1>0?kt-1:0,jn=kt+1<Tn?kt+1:Tn,br=pe(this.props,{aria:!0,data:!0}),or=On&&xe.createElement("li",{className:"".concat(xt,"-total-text")},On(Dt,[Dt===0?0:(kt-1)*en+1,kt*en>Dt?Dt:kt*en]));if(qn){Rt&&(typeof Rt=="boolean"?Ct=xe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Kt.jump_to_confirm):Ct=xe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Rt),Ct=xe.createElement("li",{title:Nn?"".concat(Kt.jump_to).concat(kt,"/").concat(Tn):null,className:"".concat(xt,"-simple-pager")},Ct));var wr=this.renderPrev(Hn);return xe.createElement("ul",(0,Se.Z)({className:oe()(xt,"".concat(xt,"-simple"),(0,ne.Z)({},"".concat(xt,"-disabled"),bt),lt),style:it,ref:this.paginationNode},br),or,wr?xe.createElement("li",{title:Nn?Kt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(xt,"-prev"),(0,ne.Z)({},"".concat(xt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},wr):null,xe.createElement("li",{title:Nn?"".concat(kt,"/").concat(Tn):null,className:"".concat(xt,"-simple-pager")},xe.createElement("input",{type:"text",value:Xt,disabled:bt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),xe.createElement("span",{className:"".concat(xt,"-slash")},"/"),Tn),xe.createElement("li",{title:Nn?Kt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:oe()("".concat(xt,"-next"),(0,ne.Z)({},"".concat(xt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(jn)),Ct)}if(Tn<=3+dn*2){var Sr={locale:Kt,rootPrefixCls:xt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Nn,itemRender:rr};Tn||tn.push(xe.createElement(_e,(0,Se.Z)({},Sr,{key:"noPager",page:1,className:"".concat(xt,"-item-disabled")})));for(var co=1;co<=Tn;co+=1){var bn=kt===co;tn.push(xe.createElement(_e,(0,Se.Z)({},Sr,{key:co,page:co,active:bn})))}}else{var Lr=wn?Kt.prev_3:Kt.prev_5,jt=wn?Kt.next_3:Kt.next_5,mn=rr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(zr,"prev page")),cn=rr(this.getJumpNextPage(),"jump-next",this.getItemIcon(Vr,"next page"));pr&&(yn=mn?xe.createElement("li",{title:Nn?Lr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:oe()("".concat(xt,"-jump-prev"),(0,ne.Z)({},"".concat(xt,"-jump-prev-custom-icon"),!!zr))},mn):null,Mn=cn?xe.createElement("li",{title:Nn?jt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:oe()("".concat(xt,"-jump-next"),(0,ne.Z)({},"".concat(xt,"-jump-next-custom-icon"),!!Vr))},cn):null),St=xe.createElement(_e,{locale:Kt,last:!0,rootPrefixCls:xt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Tn,page:Tn,active:!1,showTitle:Nn,itemRender:rr}),Dn=xe.createElement(_e,{locale:Kt,rootPrefixCls:xt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Nn,itemRender:rr});var vn=Math.max(1,kt-dn),Wn=Math.min(kt+dn,Tn);kt-1<=dn&&(Wn=1+dn*2),Tn-kt<=dn&&(vn=Tn-dn*2);for(var gn=vn;gn<=Wn;gn+=1){var Qt=kt===gn;tn.push(xe.createElement(_e,{locale:Kt,rootPrefixCls:xt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:gn,page:gn,active:Qt,showTitle:Nn,itemRender:rr}))}kt-1>=dn*2&&kt!==3&&(tn[0]=(0,xe.cloneElement)(tn[0],{className:"".concat(xt,"-item-after-jump-prev")}),tn.unshift(yn)),Tn-kt>=dn*2&&kt!==Tn-2&&(tn[tn.length-1]=(0,xe.cloneElement)(tn[tn.length-1],{className:"".concat(xt,"-item-before-jump-next")}),tn.push(Mn)),vn!==1&&tn.unshift(Dn),Wn!==Tn&&tn.push(St)}var xn=!this.hasPrev()||!Tn,Cr=!this.hasNext()||!Tn,gr=this.renderPrev(Hn),Rr=this.renderNext(jn);return xe.createElement("ul",(0,Se.Z)({className:oe()(xt,lt,(0,ne.Z)({},"".concat(xt,"-disabled"),bt)),style:it,ref:this.paginationNode},br),or,gr?xe.createElement("li",{title:Nn?Kt.prev_page:null,onClick:this.prev,tabIndex:xn?null:0,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(xt,"-prev"),(0,ne.Z)({},"".concat(xt,"-disabled"),xn)),"aria-disabled":xn},gr):null,tn,Rr?xe.createElement("li",{title:Nn?Kt.next_page:null,onClick:this.next,tabIndex:Cr?null:0,onKeyPress:this.runIfEnterNext,className:oe()("".concat(xt,"-next"),(0,ne.Z)({},"".concat(xt,"-disabled"),Cr)),"aria-disabled":Cr},Rr):null,xe.createElement(Ae,{disabled:bt,locale:Kt,rootPrefixCls:xt,selectComponentClass:An,selectPrefixCls:Cn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:kt,pageSize:en,pageSizeOptions:Ut,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Rt}))}}],[{key:"getDerivedStateFromProps",value:function(at,xt){var lt={};if("current"in at&&(lt.current=at.current,at.current!==xt.current&&(lt.currentInputValue=lt.current)),"pageSize"in at&&at.pageSize!==xt.pageSize){var it=xt.current,bt=ke(at.pageSize,xt,at);it=it>bt?bt:it,"current"in at||(lt.current=it,lt.currentInputValue=it),lt.pageSize=at.pageSize}return lt}}]),At}(xe.Component);Ie.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:we,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:we,locale:Ee.Z,style:{},itemRender:De,totalBoundaryShowSizeChanger:50};var qe=Ie,Je=de(62906),We=de(53124),Qe=de(98675),He=de(25378),Fe=de(10110),je=de(11713);const et=nt=>xe.createElement(je.default,Object.assign({},nt,{showSearch:!0,size:"small"})),tt=nt=>xe.createElement(je.default,Object.assign({},nt,{showSearch:!0,size:"middle"}));et.Option=je.default.Option,tt.Option=je.default.Option;var st=de(47673),Xe=de(14747),Ke=de(67968),Me=de(45503);const Ye=nt=>{const{componentCls:vt}=nt;return{[`${vt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${vt}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${vt}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed"}}},[`&${vt}-disabled`]:{cursor:"not-allowed",[`${vt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:nt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:nt.colorBorder,backgroundColor:nt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:nt.itemActiveBgDisabled},a:{color:nt.itemActiveColorDisabled}}},[`${vt}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${vt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${vt}-simple-pager`]:{color:nt.colorTextDisabled},[`${vt}-jump-prev, ${vt}-jump-next`]:{[`${vt}-item-link-icon`]:{opacity:0},[`${vt}-item-ellipsis`]:{opacity:1}}},[`&${vt}-simple`]:{[`${vt}-prev, ${vt}-next`]:{[`&${vt}-disabled ${vt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Le=nt=>{const{componentCls:vt}=nt;return{[`&${vt}-mini ${vt}-total-text, &${vt}-mini ${vt}-simple-pager`]:{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`},[`&${vt}-mini ${vt}-item`]:{minWidth:nt.itemSizeSM,height:nt.itemSizeSM,margin:0,lineHeight:`${nt.itemSizeSM-2}px`},[`&${vt}-mini:not(${vt}-disabled) ${vt}-item:not(${vt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:nt.colorBgTextHover},"&:active":{backgroundColor:nt.colorBgTextActive}},[`&${vt}-mini ${vt}-prev, &${vt}-mini ${vt}-next`]:{minWidth:nt.itemSizeSM,height:nt.itemSizeSM,margin:0,lineHeight:`${nt.itemSizeSM}px`},[`&${vt}-mini:not(${vt}-disabled)`]:{[`${vt}-prev, ${vt}-next`]:{[`&:hover ${vt}-item-link`]:{backgroundColor:nt.colorBgTextHover},[`&:active ${vt}-item-link`]:{backgroundColor:nt.colorBgTextActive},[`&${vt}-disabled:hover ${vt}-item-link`]:{backgroundColor:"transparent"}}},[`
&${vt}-mini ${vt}-prev ${vt}-item-link,
&${vt}-mini ${vt}-next ${vt}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`}},[`&${vt}-mini ${vt}-jump-prev, &${vt}-mini ${vt}-jump-next`]:{height:nt.itemSizeSM,marginInlineEnd:0,lineHeight:`${nt.itemSizeSM}px`},[`&${vt}-mini ${vt}-options`]:{marginInlineStart:nt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:nt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,st.x0)(nt)),{width:nt.paginationMiniQuickJumperInputWidth,height:nt.controlHeightSM})}}}},Be=nt=>{const{componentCls:vt}=nt;return{[`
&${vt}-simple ${vt}-prev,
&${vt}-simple ${vt}-next
`]:{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`,verticalAlign:"top",[`${vt}-item-link`]:{height:nt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:nt.colorBgTextHover},"&:active":{backgroundColor:nt.colorBgTextActive},"&::after":{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`}}},[`&${vt}-simple ${vt}-simple-pager`]:{display:"inline-block",height:nt.itemSizeSM,marginInlineEnd:nt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:nt.marginXS,padding:`0 ${nt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:nt.itemInputBg,border:`${nt.lineWidth}px ${nt.lineType} ${nt.colorBorder}`,borderRadius:nt.borderRadius,outline:"none",transition:`border-color ${nt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:nt.colorPrimary},"&:focus":{borderColor:nt.colorPrimaryHover,boxShadow:`${nt.inputOutlineOffset}px 0 ${nt.controlOutlineWidth}px ${nt.controlOutline}`},"&[disabled]":{color:nt.colorTextDisabled,backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,cursor:"not-allowed"}}}}},Ve=nt=>{const{componentCls:vt}=nt;return{[`${vt}-jump-prev, ${vt}-jump-next`]:{outline:0,[`${vt}-item-container`]:{position:"relative",[`${vt}-item-link-icon`]:{color:nt.colorPrimary,fontSize:nt.fontSizeSM,opacity:0,transition:`all ${nt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${vt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:nt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:nt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:nt.paginationEllipsisTextIndent,opacity:1,transition:`all ${nt.motionDurationMid}`}},"&:hover":{[`${vt}-item-link-icon`]:{opacity:1},[`${vt}-item-ellipsis`]:{opacity:0}}},[`
${vt}-prev,
${vt}-jump-prev,
${vt}-jump-next
`]:{marginInlineEnd:nt.marginXS},[`
${vt}-prev,
${vt}-next,
${vt}-jump-prev,
${vt}-jump-next
`]:{display:"inline-block",minWidth:nt.itemSize,height:nt.itemSize,color:nt.colorText,fontFamily:nt.fontFamily,lineHeight:`${nt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:nt.borderRadius,cursor:"pointer",transition:`all ${nt.motionDurationMid}`},[`${vt}-prev, ${vt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:nt.colorText,cursor:"pointer",userSelect:"none"},[`${vt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:nt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${nt.lineWidth}px ${nt.lineType} transparent`,borderRadius:nt.borderRadius,outline:"none",transition:`all ${nt.motionDurationMid}`},[`&:hover ${vt}-item-link`]:{backgroundColor:nt.colorBgTextHover},[`&:active ${vt}-item-link`]:{backgroundColor:nt.colorBgTextActive},[`&${vt}-disabled:hover`]:{[`${vt}-item-link`]:{backgroundColor:"transparent"}}},[`${vt}-slash`]:{marginInlineEnd:nt.paginationSlashMarginInlineEnd,marginInlineStart:nt.paginationSlashMarginInlineStart},[`${vt}-options`]:{display:"inline-block",marginInlineStart:nt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:nt.controlHeight,marginInlineStart:nt.marginXS,lineHeight:`${nt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,st.ik)(nt)),{width:nt.controlHeightLG*1.25,height:nt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:nt.marginXS,marginInlineEnd:nt.marginXS})}}}},$e=nt=>{const{componentCls:vt}=nt;return{[`${vt}-item`]:{display:"inline-block",minWidth:nt.itemSize,height:nt.itemSize,marginInlineEnd:nt.marginXS,fontFamily:nt.fontFamily,lineHeight:`${nt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${nt.lineWidth}px ${nt.lineType} transparent`,borderRadius:nt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${nt.paginationItemPaddingInline}px`,color:nt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${vt}-item-active)`]:{"&:hover":{transition:`all ${nt.motionDurationMid}`,backgroundColor:nt.colorBgTextHover},"&:active":{backgroundColor:nt.colorBgTextActive}},"&-active":{fontWeight:nt.fontWeightStrong,backgroundColor:nt.itemActiveBg,borderColor:nt.colorPrimary,a:{color:nt.colorPrimary},"&:hover":{borderColor:nt.colorPrimaryHover},"&:hover a":{color:nt.colorPrimaryHover}}}}},ze=nt=>{const{componentCls:vt}=nt;return{[vt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(nt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${vt}-total-text`]:{display:"inline-block",height:nt.itemSize,marginInlineEnd:nt.marginXS,lineHeight:`${nt.itemSize-2}px`,verticalAlign:"middle"}}),$e(nt)),Ve(nt)),Be(nt)),Le(nt)),Ye(nt)),{[`@media only screen and (max-width: ${nt.screenLG}px)`]:{[`${vt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${nt.screenSM}px)`]:{[`${vt}-options`]:{display:"none"}}}),[`&${nt.componentCls}-rtl`]:{direction:"rtl"}}},Te=nt=>{const{componentCls:vt}=nt;return{[`${vt}${vt}-disabled:not(${vt}-mini)`]:{"&, &:hover":{[`${vt}-item-link`]:{borderColor:nt.colorBorder}},"&:focus-visible":{[`${vt}-item-link`]:{borderColor:nt.colorBorder}},[`${vt}-item, ${vt}-item-link`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,[`&:hover:not(${vt}-item-active)`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,a:{color:nt.colorTextDisabled}},[`&${vt}-item-active`]:{backgroundColor:nt.itemActiveBgDisabled}},[`${vt}-prev, ${vt}-next`]:{"&:hover button":{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,color:nt.colorTextDisabled},[`${vt}-item-link`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder}}},[`${vt}:not(${vt}-mini)`]:{[`${vt}-prev, ${vt}-next`]:{"&:hover button":{borderColor:nt.colorPrimaryHover,backgroundColor:nt.itemBg},[`${vt}-item-link`]:{backgroundColor:nt.itemLinkBg,borderColor:nt.colorBorder},[`&:hover ${vt}-item-link`]:{borderColor:nt.colorPrimary,backgroundColor:nt.itemBg,color:nt.colorPrimary},[`&${vt}-disabled`]:{[`${vt}-item-link`]:{borderColor:nt.colorBorder,color:nt.colorTextDisabled}}},[`${vt}-item`]:{backgroundColor:nt.itemBg,border:`${nt.lineWidth}px ${nt.lineType} ${nt.colorBorder}`,[`&:hover:not(${vt}-item-active)`]:{borderColor:nt.colorPrimary,backgroundColor:nt.itemBg,a:{color:nt.colorPrimary}},"&-active":{borderColor:nt.colorPrimary}}}}},Oe=nt=>{const{componentCls:vt}=nt;return{[`${vt}:not(${vt}-disabled)`]:{[`${vt}-item`]:Object.assign({},(0,Xe.Qy)(nt)),[`${vt}-jump-prev, ${vt}-jump-next`]:{"&:focus-visible":Object.assign({[`${vt}-item-link-icon`]:{opacity:1},[`${vt}-item-ellipsis`]:{opacity:0}},(0,Xe.oN)(nt))},[`${vt}-prev, ${vt}-next`]:{[`&:focus-visible ${vt}-item-link`]:Object.assign({},(0,Xe.oN)(nt))}}}};var Ne=(0,Ke.Z)("Pagination",nt=>{const vt=(0,Me.TS)(nt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:nt.marginXXS/2,paginationMiniQuickJumperInputWidth:nt.controlHeightLG*1.1,paginationItemPaddingInline:nt.marginXXS*1.5,paginationEllipsisLetterSpacing:nt.marginXXS/2,paginationSlashMarginInlineStart:nt.marginXXS,paginationSlashMarginInlineEnd:nt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,st.e5)(nt),(0,st.TM)(nt));return[ze(vt),Oe(vt),nt.wireframe&&Te(vt)]},nt=>({itemBg:nt.colorBgContainer,itemSize:nt.controlHeight,itemSizeSM:nt.controlHeightSM,itemActiveBg:nt.colorBgContainer,itemLinkBg:nt.colorBgContainer,itemActiveColorDisabled:nt.colorTextDisabled,itemActiveBgDisabled:nt.controlItemBgActiveDisabled,itemInputBg:nt.colorBgContainer,miniOptionsSizeChangerTop:0})),Ge=function(nt,vt){var At={};for(var Nt in nt)Object.prototype.hasOwnProperty.call(nt,Nt)&&vt.indexOf(Nt)<0&&(At[Nt]=nt[Nt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Nt=Object.getOwnPropertySymbols(nt);at<Nt.length;at++)vt.indexOf(Nt[at])<0&&Object.prototype.propertyIsEnumerable.call(nt,Nt[at])&&(At[Nt[at]]=nt[Nt[at]]);return At},mt=nt=>{const{prefixCls:vt,selectPrefixCls:At,className:Nt,rootClassName:at,style:xt,size:lt,locale:it,selectComponentClass:bt,responsive:wt,showSizeChanger:Dt}=nt,Kt=Ge(nt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Pn}=(0,He.Z)(wt),{getPrefixCls:wn,direction:Nn,pagination:On={}}=xe.useContext(We.E_),qn=wn("pagination",vt),[rr,pr]=Ne(qn),zr=Dt!=null?Dt:On.showSizeChanger,Vr=xe.useMemo(()=>{const Tn=xe.createElement("span",{className:`${qn}-item-ellipsis`},"\u2022\u2022\u2022"),tn=xe.createElement("button",{className:`${qn}-item-link`,type:"button",tabIndex:-1},Nn==="rtl"?xe.createElement(ue.Z,null):xe.createElement(ie.Z,null)),yn=xe.createElement("button",{className:`${qn}-item-link`,type:"button",tabIndex:-1},Nn==="rtl"?xe.createElement(ie.Z,null):xe.createElement(ue.Z,null)),Mn=xe.createElement("a",{className:`${qn}-item-link`},xe.createElement("div",{className:`${qn}-item-container`},Nn==="rtl"?xe.createElement(se.Z,{className:`${qn}-item-link-icon`}):xe.createElement(re,{className:`${qn}-item-link-icon`}),Tn)),Dn=xe.createElement("a",{className:`${qn}-item-link`},xe.createElement("div",{className:`${qn}-item-container`},Nn==="rtl"?xe.createElement(re,{className:`${qn}-item-link-icon`}):xe.createElement(se.Z,{className:`${qn}-item-link-icon`}),Tn));return{prevIcon:tn,nextIcon:yn,jumpPrevIcon:Mn,jumpNextIcon:Dn}},[Nn,qn]),[An]=(0,Fe.Z)("Pagination",Je.Z),Cn=Object.assign(Object.assign({},An),it),Ut=(0,Qe.Z)(lt),Tt=Ut==="small"||!!(Pn&&!Ut&&wt),kt=wn("select",At),en=oe()({[`${qn}-mini`]:Tt,[`${qn}-rtl`]:Nn==="rtl"},On==null?void 0:On.className,Nt,at,pr),Xt=Object.assign(Object.assign({},On==null?void 0:On.style),xt);return rr(xe.createElement(qe,Object.assign({},Vr,Kt,{style:Xt,prefixCls:qn,selectPrefixCls:kt,className:en,selectComponentClass:bt||(Tt?et:tt),locale:Cn,showSizeChanger:zr})))},dt=mt},66330:function(Lt,gt,de){"use strict";de.d(gt,{t5:function(){return ue}});var Se=de(94184),xe=de.n(Se),E=de(92419),he=de(67294),fe=de(53124),le=de(81643),re=de(20136),se=function(oe,ne){var ee={};for(var a in oe)Object.prototype.hasOwnProperty.call(oe,a)&&ne.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++)ne.indexOf(a[y])<0&&Object.prototype.propertyIsEnumerable.call(oe,a[y])&&(ee[a[y]]=oe[a[y]]);return ee};const ie=(oe,ne,ee)=>{if(!(!ne&&!ee))return he.createElement(he.Fragment,null,ne&&he.createElement("div",{className:`${oe}-title`},(0,le.Z)(ne)),he.createElement("div",{className:`${oe}-inner-content`},(0,le.Z)(ee)))},ue=oe=>{const{hashId:ne,prefixCls:ee,className:a,style:y,placement:x="top",title:b,content:z,children:te}=oe;return he.createElement("div",{className:xe()(ne,ee,`${ee}-pure`,`${ee}-placement-${x}`,a),style:y},he.createElement("div",{className:`${ee}-arrow`}),he.createElement(E.G,Object.assign({},oe,{className:ne,prefixCls:ee}),te||ie(ee,b,z)))},ae=oe=>{const{prefixCls:ne}=oe,ee=se(oe,["prefixCls"]),{getPrefixCls:a}=he.useContext(fe.E_),y=a("popover",ne),[x,b]=(0,re.Z)(y);return x(he.createElement(ue,Object.assign({},ee,{prefixCls:y,hashId:b})))};gt.ZP=ae},20136:function(Lt,gt,de){"use strict";var Se=de(14747),xe=de(50438),E=de(97414),he=de(8796),fe=de(67968),le=de(45503);const re=ue=>{const{componentCls:ae,popoverColor:oe,minWidth:ne,fontWeightStrong:ee,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:te,colorBgElevated:ce,popoverBg:ge}=ue;return[{[ae]:Object.assign(Object.assign({},(0,Se.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":ce,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ae}-content`]:{position:"relative"},[`${ae}-inner`]:{backgroundColor:ge,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ae}-title`]:{minWidth:ne,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"}}}]},se=ue=>{const{componentCls:ae}=ue;return{[ae]:he.i.map(oe=>{const ne=ue[`${oe}6`];return{[`&${ae}-${oe}`]:{"--antd-arrow-background-color":ne,[`${ae}-inner`]:{backgroundColor:ne},[`${ae}-arrow`]:{background:"transparent"}}}})}},ie=ue=>{const{componentCls:ae,lineWidth:oe,lineType:ne,colorSplit:ee,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:z}=ue,te=y-Math.round(x*b),ce=te/2,ge=te/2-oe,me=z;return{[ae]:{[`${ae}-inner`]:{padding:0},[`${ae}-title`]:{margin:0,padding:`${ce}px ${me}px ${ge}px`,borderBottom:`${oe}px ${ne} ${ee}`},[`${ae}-inner-content`]:{padding:`${a}px ${me}px`}}}};gt.Z=(0,fe.Z)("Popover",ue=>{const{colorBgElevated:ae,colorText:oe,wireframe:ne}=ue,ee=(0,le.TS)(ue,{popoverPadding:12,popoverBg:ae,popoverColor:oe});return[re(ee),se(ee),ne&&ie(ee),(0,xe._y)(ee,"zoom-big")]},ue=>({width:177,minWidth:177,zIndexPopup:ue.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return xt}});var Se=de(67294),xe=de(87725),E=de(18299),he=de(16646),fe=de(73475),le=de(94184),re=de.n(le),se=de(10366),ie=de(53124),ue=de(87462),ae=de(1413),oe=de(45987),ne={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ee=function(){var it=(0,Se.useRef)([]),bt=(0,Se.useRef)(null);return(0,Se.useEffect)(function(){var wt=Date.now(),Dt=!1;it.current.forEach(function(Kt){if(Kt){Dt=!0;var Pn=Kt.style;Pn.transitionDuration=".3s, .3s, .3s, .06s",bt.current&&wt-bt.current<100&&(Pn.transitionDuration="0s, 0s")}}),Dt&&(bt.current=Date.now())}),it.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(it){var bt=(0,ae.Z)((0,ae.Z)({},ne),it),wt=bt.className,Dt=bt.percent,Kt=bt.prefixCls,Pn=bt.strokeColor,wn=bt.strokeLinecap,Nn=bt.strokeWidth,On=bt.style,qn=bt.trailColor,rr=bt.trailWidth,pr=bt.transition,zr=(0,oe.Z)(bt,a);delete zr.gapPosition;var Vr=Array.isArray(Dt)?Dt:[Dt],An=Array.isArray(Pn)?Pn:[Pn],Cn=ee(),Ut=Nn/2,Tt=100-Nn/2,kt="M ".concat(wn==="round"?Ut:0,",").concat(Ut,`
L `).concat(wn==="round"?Tt:100,",").concat(Ut),en="0 0 100 ".concat(Nn),Xt=0;return Se.createElement("svg",(0,ue.Z)({className:re()("".concat(Kt,"-line"),wt),viewBox:en,preserveAspectRatio:"none",style:On},zr),Se.createElement("path",{className:"".concat(Kt,"-line-trail"),d:kt,strokeLinecap:wn,stroke:qn,strokeWidth:rr||Nn,fillOpacity:"0"}),Vr.map(function(Tn,tn){var yn=1;switch(wn){case"round":yn=1-Nn/100;break;case"square":yn=1-Nn/2/100;break;default:yn=1;break}var Mn={strokeDasharray:"".concat(Tn*yn,"px, 100px"),strokeDashoffset:"-".concat(Xt,"px"),transition:pr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Dn=An[tn]||An[An.length-1];return Xt+=Tn,Se.createElement("path",{key:tn,className:"".concat(Kt,"-line-path"),d:kt,strokeLinecap:wn,stroke:Dn,strokeWidth:Nn,fillOpacity:"0",ref:function(Ct){Cn[tn]=Ct},style:Mn})}))},x=y,b=de(71002),z=de(97685),te=de(98924),ce=0,ge=(0,te.Z)();function me(){var lt;return ge?(lt=ce,ce+=1):lt="TEST_OR_SSR",lt}var ve=function(lt){var it=Se.useState(),bt=(0,z.Z)(it,2),wt=bt[0],Dt=bt[1];return Se.useEffect(function(){Dt("rc_progress_".concat(me()))},[]),lt||wt},pe=function(it){var bt=it.bg,wt=it.children;return Se.createElement("div",{style:{width:"100%",height:"100%",background:bt}},wt)};function be(lt,it){return Object.keys(lt).map(function(bt){var wt=parseFloat(bt),Dt="".concat(Math.floor(wt*it),"%");return"".concat(lt[bt]," ").concat(Dt)})}var ye=Se.forwardRef(function(lt,it){var bt=lt.prefixCls,wt=lt.color,Dt=lt.gradientId,Kt=lt.radius,Pn=lt.style,wn=lt.ptg,Nn=lt.strokeLinecap,On=lt.strokeWidth,qn=lt.size,rr=lt.gapDegree,pr=wt&&(0,b.Z)(wt)==="object",zr=pr?"#FFF":void 0,Vr=qn/2,An=Se.createElement("circle",{className:"".concat(bt,"-circle-path"),r:Kt,cx:Vr,cy:Vr,stroke:zr,strokeLinecap:Nn,strokeWidth:On,opacity:wn===0?0:1,style:Pn,ref:it});if(!pr)return An;var Cn="".concat(Dt,"-conic"),Ut=rr?"".concat(180+rr/2,"deg"):"0deg",Tt=be(wt,(360-rr)/360),kt=be(wt,1),en="conic-gradient(from ".concat(Ut,", ").concat(Tt.join(", "),")"),Xt="linear-gradient(to ".concat(rr?"bottom":"top",", ").concat(kt.join(", "),")");return Se.createElement(Se.Fragment,null,Se.createElement("mask",{id:Cn},An),Se.createElement("foreignObject",{x:0,y:0,width:qn,height:qn,mask:"url(#".concat(Cn,")")},Se.createElement(pe,{bg:Xt},Se.createElement(pe,{bg:en}))))}),Ee=ye,Pe=100,Ae=function(it,bt,wt,Dt,Kt,Pn,wn,Nn,On,qn){var rr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,pr=wt/100*360*((360-Pn)/360),zr=Pn===0?0:{bottom:0,top:180,left:90,right:-90}[wn],Vr=(100-Dt)/100*bt;On==="round"&&Dt!==100&&(Vr+=qn/2,Vr>=bt&&(Vr=bt-.01));var An=Pe/2;return{stroke:typeof Nn=="string"?Nn:void 0,strokeDasharray:"".concat(bt,"px ").concat(it),strokeDashoffset:Vr+rr,transform:"rotate(".concat(Kt+pr+zr,"deg)"),transformOrigin:"".concat(An,"px ").concat(An,"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}},Ce=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function _e(lt){var it=lt!=null?lt:[];return Array.isArray(it)?it:[it]}var we=function(it){var bt=(0,ae.Z)((0,ae.Z)({},ne),it),wt=bt.id,Dt=bt.prefixCls,Kt=bt.steps,Pn=bt.strokeWidth,wn=bt.trailWidth,Nn=bt.gapDegree,On=Nn===void 0?0:Nn,qn=bt.gapPosition,rr=bt.trailColor,pr=bt.strokeLinecap,zr=bt.style,Vr=bt.className,An=bt.strokeColor,Cn=bt.percent,Ut=(0,oe.Z)(bt,Ce),Tt=Pe/2,kt=ve(wt),en="".concat(kt,"-gradient"),Xt=Tt-Pn/2,Tn=Math.PI*2*Xt,tn=On>0?90+On/2:-90,yn=Tn*((360-On)/360),Mn=(0,b.Z)(Kt)==="object"?Kt:{count:Kt,space:2},Dn=Mn.count,St=Mn.space,Ct=_e(Cn),Rt=_e(An),dn=Rt.find(function(co){return co&&(0,b.Z)(co)==="object"}),Hn=dn&&(0,b.Z)(dn)==="object",jn=Hn?"butt":pr,br=Ae(Tn,yn,0,100,tn,On,qn,rr,jn,Pn),or=ee(),wr=function(){var bn=0;return Ct.map(function(Lr,jt){var mn=Rt[jt]||Rt[Rt.length-1],cn=Ae(Tn,yn,bn,Lr,tn,On,qn,mn,jn,Pn);return bn+=Lr,Se.createElement(Ee,{key:jt,color:mn,ptg:Lr,radius:Xt,prefixCls:Dt,gradientId:en,style:cn,strokeLinecap:jn,strokeWidth:Pn,gapDegree:On,ref:function(Wn){or[jt]=Wn},size:Pe})}).reverse()},Sr=function(){var bn=Math.round(Dn*(Ct[0]/100)),Lr=100/Dn,jt=0;return new Array(Dn).fill(null).map(function(mn,cn){var vn=cn<=bn-1?Rt[0]:rr,Wn=vn&&(0,b.Z)(vn)==="object"?"url(#".concat(en,")"):void 0,gn=Ae(Tn,yn,jt,Lr,tn,On,qn,vn,"butt",Pn,St);return jt+=(yn-gn.strokeDashoffset+St)*100/yn,Se.createElement("circle",{key:cn,className:"".concat(Dt,"-circle-path"),r:Xt,cx:Tt,cy:Tt,stroke:Wn,strokeWidth:Pn,opacity:1,style:gn,ref:function(xn){or[cn]=xn}})})};return Se.createElement("svg",(0,ue.Z)({className:re()("".concat(Dt,"-circle"),Vr),viewBox:"0 0 ".concat(Pe," ").concat(Pe),style:zr,id:wt,role:"presentation"},Ut),!Dn&&Se.createElement("circle",{className:"".concat(Dt,"-circle-trail"),r:Xt,cx:Tt,cy:Tt,stroke:rr,strokeLinecap:jn,strokeWidth:wn||Pn,style:br}),Dn?Sr():wr())},Re=we,De={Line:x,Circle:Re},ke=de(83062),Ie=de(47448);function qe(lt){return!lt||lt<0?0:lt>100?100:lt}function Je(lt){let{success:it,successPercent:bt}=lt,wt=bt;return it&&"progress"in it&&(wt=it.progress),it&&"percent"in it&&(wt=it.percent),wt}const We=lt=>{let{percent:it,success:bt,successPercent:wt}=lt;const Dt=qe(Je({success:bt,successPercent:wt}));return[Dt,qe(qe(it)-Dt)]},Qe=lt=>{let{success:it={},strokeColor:bt}=lt;const{strokeColor:wt}=it;return[wt||Ie.presetPrimaryColors.green,bt||null]},He=(lt,it,bt)=>{var wt,Dt,Kt,Pn;let wn=-1,Nn=-1;if(it==="step"){const On=bt.steps,qn=bt.strokeWidth;typeof lt=="string"||typeof lt=="undefined"?(wn=lt==="small"?2:14,Nn=qn!=null?qn:8):typeof lt=="number"?[wn,Nn]=[lt,lt]:[wn=14,Nn=8]=lt,wn*=On}else if(it==="line"){const On=bt==null?void 0:bt.strokeWidth;typeof lt=="string"||typeof lt=="undefined"?Nn=On||(lt==="small"?6:8):typeof lt=="number"?[wn,Nn]=[lt,lt]:[wn=-1,Nn=8]=lt}else(it==="circle"||it==="dashboard")&&(typeof lt=="string"||typeof lt=="undefined"?[wn,Nn]=lt==="small"?[60,60]:[120,120]:typeof lt=="number"?[wn,Nn]=[lt,lt]:(wn=(Dt=(wt=lt[0])!==null&&wt!==void 0?wt:lt[1])!==null&&Dt!==void 0?Dt:120,Nn=(Pn=(Kt=lt[0])!==null&&Kt!==void 0?Kt:lt[1])!==null&&Pn!==void 0?Pn:120));return[wn,Nn]},Fe=3,je=lt=>Fe/lt*100;var tt=lt=>{const{prefixCls:it,trailColor:bt=null,strokeLinecap:wt="round",gapPosition:Dt,gapDegree:Kt,width:Pn=120,type:wn,children:Nn,success:On,size:qn=Pn}=lt,[rr,pr]=He(qn,"circle");let{strokeWidth:zr}=lt;zr===void 0&&(zr=Math.max(je(rr),6));const Vr={width:rr,height:pr,fontSize:rr*.15+6},An=Se.useMemo(()=>{if(Kt||Kt===0)return Kt;if(wn==="dashboard")return 75},[Kt,wn]),Cn=Dt||wn==="dashboard"&&"bottom"||void 0,Ut=Object.prototype.toString.call(lt.strokeColor)==="[object Object]",Tt=Qe({success:On,strokeColor:lt.strokeColor}),kt=re()(`${it}-inner`,{[`${it}-circle-gradient`]:Ut}),en=Se.createElement(Re,{percent:We(lt),strokeWidth:zr,trailWidth:zr,strokeColor:Tt,strokeLinecap:wt,trailColor:bt,prefixCls:it,gapDegree:An,gapPosition:Cn});return Se.createElement("div",{className:kt,style:Vr},rr<=20?Se.createElement(ke.Z,{title:Nn},Se.createElement("span",null,en)):Se.createElement(Se.Fragment,null,en,Nn))},st=function(lt,it){var bt={};for(var wt in lt)Object.prototype.hasOwnProperty.call(lt,wt)&&it.indexOf(wt)<0&&(bt[wt]=lt[wt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,wt=Object.getOwnPropertySymbols(lt);Dt<wt.length;Dt++)it.indexOf(wt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(lt,wt[Dt])&&(bt[wt[Dt]]=lt[wt[Dt]]);return bt};const Xe=lt=>{let it=[];return Object.keys(lt).forEach(bt=>{const wt=parseFloat(bt.replace(/%/g,""));isNaN(wt)||it.push({key:wt,value:lt[bt]})}),it=it.sort((bt,wt)=>bt.key-wt.key),it.map(bt=>{let{key:wt,value:Dt}=bt;return`${Dt} ${wt}%`}).join(", ")},Ke=(lt,it)=>{const{from:bt=Ie.presetPrimaryColors.blue,to:wt=Ie.presetPrimaryColors.blue,direction:Dt=it==="rtl"?"to left":"to right"}=lt,Kt=st(lt,["from","to","direction"]);if(Object.keys(Kt).length!==0){const Pn=Xe(Kt);return{backgroundImage:`linear-gradient(${Dt}, ${Pn})`}}return{backgroundImage:`linear-gradient(${Dt}, ${bt}, ${wt})`}};var Ye=lt=>{const{prefixCls:it,direction:bt,percent:wt,size:Dt,strokeWidth:Kt,strokeColor:Pn,strokeLinecap:wn="round",children:Nn,trailColor:On=null,success:qn}=lt,rr=Pn&&typeof Pn!="string"?Ke(Pn,bt):{backgroundColor:Pn},pr=wn==="square"||wn==="butt"?0:void 0,zr={backgroundColor:On||void 0,borderRadius:pr},Vr=Dt!=null?Dt:[-1,Kt||(Dt==="small"?6:8)],[An,Cn]=He(Vr,"line",{strokeWidth:Kt}),Ut=Object.assign({width:`${qe(wt)}%`,height:Cn,borderRadius:pr},rr),Tt=Je(lt),kt={width:`${qe(Tt)}%`,height:Cn,borderRadius:pr,backgroundColor:qn==null?void 0:qn.strokeColor},en={width:An<0?"100%":An,height:Cn};return Se.createElement(Se.Fragment,null,Se.createElement("div",{className:`${it}-outer`,style:en},Se.createElement("div",{className:`${it}-inner`,style:zr},Se.createElement("div",{className:`${it}-bg`,style:Ut}),Tt!==void 0?Se.createElement("div",{className:`${it}-success-bg`,style:kt}):null)),Nn)},Be=lt=>{const{size:it,steps:bt,percent:wt=0,strokeWidth:Dt=8,strokeColor:Kt,trailColor:Pn=null,prefixCls:wn,children:Nn}=lt,On=Math.round(bt*(wt/100)),qn=it==="small"?2:14,rr=it!=null?it:[qn,Dt],[pr,zr]=He(rr,"step",{steps:bt,strokeWidth:Dt}),Vr=pr/bt,An=new Array(bt);for(let Cn=0;Cn<bt;Cn++){const Ut=Array.isArray(Kt)?Kt[Cn]:Kt;An[Cn]=Se.createElement("div",{key:Cn,className:re()(`${wn}-steps-item`,{[`${wn}-steps-item-active`]:Cn<=On-1}),style:{backgroundColor:Cn<=On-1?Ut:Pn,width:Vr,height:zr}})}return Se.createElement("div",{className:`${wn}-steps-outer`},An,Nn)},Ve=de(45930),$e=de(14747),ze=de(67968),Te=de(45503);const Oe=lt=>{const it=lt?"100%":"-100%";return new Ve.Keyframes(`antProgress${lt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${it}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${it}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ne=lt=>{const{componentCls:it,iconCls:bt}=lt;return{[it]:Object.assign(Object.assign({},(0,$e.Wf)(lt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:lt.fontSize,marginInlineEnd:lt.marginXS,marginBottom:lt.marginXS},[`${it}-outer`]:{display:"inline-block",width:"100%"},[`&${it}-show-info`]:{[`${it}-outer`]:{marginInlineEnd:`calc(-2em - ${lt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${lt.paddingXS}px)`}},[`${it}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:lt.remainingColor,borderRadius:lt.lineBorderRadius},[`${it}-inner:not(${it}-circle-gradient)`]:{[`${it}-circle-path`]:{stroke:lt.defaultColor}},[`${it}-success-bg, ${it}-bg`]:{position:"relative",backgroundColor:lt.defaultColor,borderRadius:lt.lineBorderRadius,transition:`all ${lt.motionDurationSlow} ${lt.motionEaseInOutCirc}`},[`${it}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:lt.colorSuccess},[`${it}-text`]:{display:"inline-block",width:"2em",marginInlineStart:lt.marginXS,color:lt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[bt]:{fontSize:lt.fontSize}},[`&${it}-status-active`]:{[`${it}-bg::before`]:{position:"absolute",inset:0,backgroundColor:lt.colorBgContainer,borderRadius:lt.lineBorderRadius,opacity:0,animationName:Oe(),animationDuration:lt.progressActiveMotionDuration,animationTimingFunction:lt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${it}-rtl${it}-status-active`]:{[`${it}-bg::before`]:{animationName:Oe(!0)}},[`&${it}-status-exception`]:{[`${it}-bg`]:{backgroundColor:lt.colorError},[`${it}-text`]:{color:lt.colorError}},[`&${it}-status-exception ${it}-inner:not(${it}-circle-gradient)`]:{[`${it}-circle-path`]:{stroke:lt.colorError}},[`&${it}-status-success`]:{[`${it}-bg`]:{backgroundColor:lt.colorSuccess},[`${it}-text`]:{color:lt.colorSuccess}},[`&${it}-status-success ${it}-inner:not(${it}-circle-gradient)`]:{[`${it}-circle-path`]:{stroke:lt.colorSuccess}}})}},Ge=lt=>{const{componentCls:it,iconCls:bt}=lt;return{[it]:{[`${it}-circle-trail`]:{stroke:lt.remainingColor},[`&${it}-circle ${it}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${it}-circle ${it}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:lt.circleTextColor,fontSize:lt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[bt]:{fontSize:`${lt.fontSize/lt.fontSizeSM}em`}},[`${it}-circle&-status-exception`]:{[`${it}-text`]:{color:lt.colorError}},[`${it}-circle&-status-success`]:{[`${it}-text`]:{color:lt.colorSuccess}}},[`${it}-inline-circle`]:{lineHeight:1,[`${it}-inner`]:{verticalAlign:"bottom"}}}},rt=lt=>{const{componentCls:it}=lt;return{[it]:{[`${it}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:lt.progressStepMinWidth,marginInlineEnd:lt.progressStepMarginInlineEnd,backgroundColor:lt.remainingColor,transition:`all ${lt.motionDurationSlow}`,"&-active":{backgroundColor:lt.defaultColor}}}}}},mt=lt=>{const{componentCls:it,iconCls:bt}=lt;return{[it]:{[`${it}-small&-line, ${it}-small&-line ${it}-text ${bt}`]:{fontSize:lt.fontSizeSM}}}};var dt=(0,ze.Z)("Progress",lt=>{const it=lt.marginXXS/2,bt=(0,Te.TS)(lt,{progressStepMarginInlineEnd:it,progressStepMinWidth:it,progressActiveMotionDuration:"2.4s"});return[Ne(bt),Ge(bt),rt(bt),mt(bt)]},lt=>({circleTextColor:lt.colorText,defaultColor:lt.colorInfo,remainingColor:lt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),nt=function(lt,it){var bt={};for(var wt in lt)Object.prototype.hasOwnProperty.call(lt,wt)&&it.indexOf(wt)<0&&(bt[wt]=lt[wt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,wt=Object.getOwnPropertySymbols(lt);Dt<wt.length;Dt++)it.indexOf(wt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(lt,wt[Dt])&&(bt[wt[Dt]]=lt[wt[Dt]]);return bt};const vt=null,At=["normal","exception","active","success"];var at=Se.forwardRef((lt,it)=>{const{prefixCls:bt,className:wt,rootClassName:Dt,steps:Kt,strokeColor:Pn,percent:wn=0,size:Nn="default",showInfo:On=!0,type:qn="line",status:rr,format:pr,style:zr}=lt,Vr=nt(lt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),An=Se.useMemo(()=>{var Ct,Rt;const dn=Je(lt);return parseInt(dn!==void 0?(Ct=dn!=null?dn:0)===null||Ct===void 0?void 0:Ct.toString():(Rt=wn!=null?wn:0)===null||Rt===void 0?void 0:Rt.toString(),10)},[wn,lt.success,lt.successPercent]),Cn=Se.useMemo(()=>!At.includes(rr)&&An>=100?"success":rr||"normal",[rr,An]),{getPrefixCls:Ut,direction:Tt,progress:kt}=Se.useContext(ie.E_),en=Ut("progress",bt),[Xt,Tn]=dt(en),tn=Se.useMemo(()=>{if(!On)return null;const Ct=Je(lt);let Rt;const dn=pr||(jn=>`${jn}%`),Hn=qn==="line";return pr||Cn!=="exception"&&Cn!=="success"?Rt=dn(qe(wn),qe(Ct)):Cn==="exception"?Rt=Hn?Se.createElement(he.Z,null):Se.createElement(fe.Z,null):Cn==="success"&&(Rt=Hn?Se.createElement(xe.Z,null):Se.createElement(E.Z,null)),Se.createElement("span",{className:`${en}-text`,title:typeof Rt=="string"?Rt:void 0},Rt)},[On,wn,An,Cn,qn,en,pr]),yn=Array.isArray(Pn)?Pn[0]:Pn,Mn=typeof Pn=="string"||Array.isArray(Pn)?Pn:void 0;let Dn;qn==="line"?Dn=Kt?Se.createElement(Be,Object.assign({},lt,{strokeColor:Mn,prefixCls:en,steps:Kt}),tn):Se.createElement(Ye,Object.assign({},lt,{strokeColor:yn,prefixCls:en,direction:Tt}),tn):(qn==="circle"||qn==="dashboard")&&(Dn=Se.createElement(tt,Object.assign({},lt,{strokeColor:yn,prefixCls:en,progressStatus:Cn}),tn));const St=re()(en,`${en}-status-${Cn}`,`${en}-${qn==="dashboard"&&"circle"||Kt&&"steps"||qn}`,{[`${en}-inline-circle`]:qn==="circle"&&He(Nn,"circle")[0]<=20,[`${en}-show-info`]:On,[`${en}-${Nn}`]:typeof Nn=="string",[`${en}-rtl`]:Tt==="rtl"},kt==null?void 0:kt.className,wt,Dt,Tn);return Xt(Se.createElement("div",Object.assign({ref:it,style:Object.assign(Object.assign({},kt==null?void 0:kt.style),zr),className:St,role:"progressbar","aria-valuenow":An},(0,se.Z)(Vr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Dn))}),xt=at},46303:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return Be}});var Se=de(94184),xe=de.n(Se),E=de(67294),he=de(53124),fe=de(10366),re=Ve=>{const{prefixCls:$e,className:ze,style:Te,size:Oe,shape:Ne}=Ve,Ge=xe()({[`${$e}-lg`]:Oe==="large",[`${$e}-sm`]:Oe==="small"}),rt=xe()({[`${$e}-circle`]:Ne==="circle",[`${$e}-square`]:Ne==="square",[`${$e}-round`]:Ne==="round"}),mt=E.useMemo(()=>typeof Oe=="number"?{width:Oe,height:Oe,lineHeight:`${Oe}px`}:{},[Oe]);return E.createElement("span",{className:xe()($e,Ge,rt,ze),style:Object.assign(Object.assign({},mt),Te)})},se=de(45930),ie=de(67968),ue=de(45503);const ae=new se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),oe=Ve=>({height:Ve,lineHeight:`${Ve}px`}),ne=Ve=>Object.assign({width:Ve},oe(Ve)),ee=Ve=>({background:Ve.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ae,animationDuration:Ve.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=Ve=>Object.assign({width:Ve*5,minWidth:Ve*5},oe(Ve)),y=Ve=>{const{skeletonAvatarCls:$e,gradientFromColor:ze,controlHeight:Te,controlHeightLG:Oe,controlHeightSM:Ne}=Ve;return{[`${$e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ze},ne(Te)),[`${$e}${$e}-circle`]:{borderRadius:"50%"},[`${$e}${$e}-lg`]:Object.assign({},ne(Oe)),[`${$e}${$e}-sm`]:Object.assign({},ne(Ne))}},x=Ve=>{const{controlHeight:$e,borderRadiusSM:ze,skeletonInputCls:Te,controlHeightLG:Oe,controlHeightSM:Ne,gradientFromColor:Ge}=Ve;return{[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ge,borderRadius:ze},a($e)),[`${Te}-lg`]:Object.assign({},a(Oe)),[`${Te}-sm`]:Object.assign({},a(Ne))}},b=Ve=>Object.assign({width:Ve},oe(Ve)),z=Ve=>{const{skeletonImageCls:$e,imageSizeBase:ze,gradientFromColor:Te,borderRadiusSM:Oe}=Ve;return{[`${$e}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Te,borderRadius:Oe},b(ze*2)),{[`${$e}-path`]:{fill:"#bfbfbf"},[`${$e}-svg`]:Object.assign(Object.assign({},b(ze)),{maxWidth:ze*4,maxHeight:ze*4}),[`${$e}-svg${$e}-svg-circle`]:{borderRadius:"50%"}}),[`${$e}${$e}-circle`]:{borderRadius:"50%"}}},te=(Ve,$e,ze)=>{const{skeletonButtonCls:Te}=Ve;return{[`${ze}${Te}-circle`]:{width:$e,minWidth:$e,borderRadius:"50%"},[`${ze}${Te}-round`]:{borderRadius:$e}}},ce=Ve=>Object.assign({width:Ve*2,minWidth:Ve*2},oe(Ve)),ge=Ve=>{const{borderRadiusSM:$e,skeletonButtonCls:ze,controlHeight:Te,controlHeightLG:Oe,controlHeightSM:Ne,gradientFromColor:Ge}=Ve;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ge,borderRadius:$e,width:Te*2,minWidth:Te*2},ce(Te))},te(Ve,Te,ze)),{[`${ze}-lg`]:Object.assign({},ce(Oe))}),te(Ve,Oe,`${ze}-lg`)),{[`${ze}-sm`]:Object.assign({},ce(Ne))}),te(Ve,Ne,`${ze}-sm`))},me=Ve=>{const{componentCls:$e,skeletonAvatarCls:ze,skeletonTitleCls:Te,skeletonParagraphCls:Oe,skeletonButtonCls:Ne,skeletonInputCls:Ge,skeletonImageCls:rt,controlHeight:mt,controlHeightLG:dt,controlHeightSM:nt,gradientFromColor:vt,padding:At,marginSM:Nt,borderRadius:at,titleHeight:xt,blockRadius:lt,paragraphLiHeight:it,controlHeightXS:bt,paragraphMarginTop:wt}=Ve;return{[`${$e}`]:{display:"table",width:"100%",[`${$e}-header`]:{display:"table-cell",paddingInlineEnd:At,verticalAlign:"top",[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:vt},ne(mt)),[`${ze}-circle`]:{borderRadius:"50%"},[`${ze}-lg`]:Object.assign({},ne(dt)),[`${ze}-sm`]:Object.assign({},ne(nt))},[`${$e}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Te}`]:{width:"100%",height:xt,background:vt,borderRadius:lt,[`+ ${Oe}`]:{marginBlockStart:nt}},[`${Oe}`]:{padding:0,"> li":{width:"100%",height:it,listStyle:"none",background:vt,borderRadius:lt,"+ li":{marginBlockStart:bt}}},[`${Oe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${$e}-content`]:{[`${Te}, ${Oe} > li`]:{borderRadius:at}}},[`${$e}-with-avatar ${$e}-content`]:{[`${Te}`]:{marginBlockStart:Nt,[`+ ${Oe}`]:{marginBlockStart:wt}}},[`${$e}${$e}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ge(Ve)),y(Ve)),x(Ve)),z(Ve)),[`${$e}${$e}-block`]:{width:"100%",[`${Ne}`]:{width:"100%"},[`${Ge}`]:{width:"100%"}},[`${$e}${$e}-active`]:{[`
${Te},
${Oe} > li,
${ze},
${Ne},
${Ge},
${rt}
`]:Object.assign({},ee(Ve))}}};var ve=(0,ie.Z)("Skeleton",Ve=>{const{componentCls:$e}=Ve,ze=(0,ue.TS)(Ve,{skeletonAvatarCls:`${$e}-avatar`,skeletonTitleCls:`${$e}-title`,skeletonParagraphCls:`${$e}-paragraph`,skeletonButtonCls:`${$e}-button`,skeletonInputCls:`${$e}-input`,skeletonImageCls:`${$e}-image`,imageSizeBase:Ve.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ve.gradientFromColor} 25%, ${Ve.gradientToColor} 37%, ${Ve.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[me(ze)]},Ve=>{const{colorFillContent:$e,colorFill:ze}=Ve,Te=$e,Oe=ze;return{color:Te,colorGradientEnd:Oe,gradientFromColor:Te,gradientToColor:Oe,titleHeight:Ve.controlHeight/2,blockRadius:Ve.borderRadiusSM,paragraphMarginTop:Ve.marginLG+Ve.marginXXS,paragraphLiHeight:Ve.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),be=Ve=>{const{prefixCls:$e,className:ze,rootClassName:Te,active:Oe,shape:Ne="circle",size:Ge="default"}=Ve,{getPrefixCls:rt}=E.useContext(he.E_),mt=rt("skeleton",$e),[dt,nt]=ve(mt),vt=(0,fe.Z)(Ve,["prefixCls","className"]),At=xe()(mt,`${mt}-element`,{[`${mt}-active`]:Oe},ze,Te,nt);return dt(E.createElement("div",{className:At},E.createElement(re,Object.assign({prefixCls:`${mt}-avatar`,shape:Ne,size:Ge},vt))))},Ee=Ve=>{const{prefixCls:$e,className:ze,rootClassName:Te,active:Oe,block:Ne=!1,size:Ge="default"}=Ve,{getPrefixCls:rt}=E.useContext(he.E_),mt=rt("skeleton",$e),[dt,nt]=ve(mt),vt=(0,fe.Z)(Ve,["prefixCls"]),At=xe()(mt,`${mt}-element`,{[`${mt}-active`]:Oe,[`${mt}-block`]:Ne},ze,Te,nt);return dt(E.createElement("div",{className:At},E.createElement(re,Object.assign({prefixCls:`${mt}-button`,size:Ge},vt))))};const Pe="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 Ce=Ve=>{const{prefixCls:$e,className:ze,rootClassName:Te,style:Oe,active:Ne}=Ve,{getPrefixCls:Ge}=E.useContext(he.E_),rt=Ge("skeleton",$e),[mt,dt]=ve(rt),nt=xe()(rt,`${rt}-element`,{[`${rt}-active`]:Ne},ze,Te,dt);return mt(E.createElement("div",{className:nt},E.createElement("div",{className:xe()(`${rt}-image`,ze),style:Oe},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${rt}-image-svg`},E.createElement("path",{d:Pe,className:`${rt}-image-path`})))))},we=Ve=>{const{prefixCls:$e,className:ze,rootClassName:Te,active:Oe,block:Ne,size:Ge="default"}=Ve,{getPrefixCls:rt}=E.useContext(he.E_),mt=rt("skeleton",$e),[dt,nt]=ve(mt),vt=(0,fe.Z)(Ve,["prefixCls"]),At=xe()(mt,`${mt}-element`,{[`${mt}-active`]:Oe,[`${mt}-block`]:Ne},ze,Te,nt);return dt(E.createElement("div",{className:At},E.createElement(re,Object.assign({prefixCls:`${mt}-input`,size:Ge},vt))))},Re=de(87462),De={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"},ke=De,Ie=de(74643),qe=function($e,ze){return E.createElement(Ie.Z,(0,Re.Z)({},$e,{ref:ze,icon:ke}))},Je=E.forwardRef(qe),Qe=Ve=>{const{prefixCls:$e,className:ze,rootClassName:Te,style:Oe,active:Ne,children:Ge}=Ve,{getPrefixCls:rt}=E.useContext(he.E_),mt=rt("skeleton",$e),[dt,nt]=ve(mt),vt=xe()(mt,`${mt}-element`,{[`${mt}-active`]:Ne},nt,ze,Te),At=Ge!=null?Ge:E.createElement(Je,null);return dt(E.createElement("div",{className:vt},E.createElement("div",{className:xe()(`${mt}-image`,ze),style:Oe},At)))},He=de(74902),je=Ve=>{const $e=rt=>{const{width:mt,rows:dt=2}=Ve;if(Array.isArray(mt))return mt[rt];if(dt-1===rt)return mt},{prefixCls:ze,className:Te,style:Oe,rows:Ne}=Ve,Ge=(0,He.Z)(Array(Ne)).map((rt,mt)=>E.createElement("li",{key:mt,style:{width:$e(mt)}}));return E.createElement("ul",{className:xe()(ze,Te),style:Oe},Ge)},tt=Ve=>{let{prefixCls:$e,className:ze,width:Te,style:Oe}=Ve;return E.createElement("h3",{className:xe()($e,ze),style:Object.assign({width:Te},Oe)})};function st(Ve){return Ve&&typeof Ve=="object"?Ve:{}}function Xe(Ve,$e){return Ve&&!$e?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ke(Ve,$e){return!Ve&&$e?{width:"38%"}:Ve&&$e?{width:"50%"}:{}}function Me(Ve,$e){const ze={};return(!Ve||!$e)&&(ze.width="61%"),!Ve&&$e?ze.rows=3:ze.rows=2,ze}const Ye=Ve=>{const{prefixCls:$e,loading:ze,className:Te,rootClassName:Oe,style:Ne,children:Ge,avatar:rt=!1,title:mt=!0,paragraph:dt=!0,active:nt,round:vt}=Ve,{getPrefixCls:At,direction:Nt,skeleton:at}=E.useContext(he.E_),xt=At("skeleton",$e),[lt,it]=ve(xt);if(ze||!("loading"in Ve)){const bt=!!rt,wt=!!mt,Dt=!!dt;let Kt;if(bt){const Nn=Object.assign(Object.assign({prefixCls:`${xt}-avatar`},Xe(wt,Dt)),st(rt));Kt=E.createElement("div",{className:`${xt}-header`},E.createElement(re,Object.assign({},Nn)))}let Pn;if(wt||Dt){let Nn;if(wt){const qn=Object.assign(Object.assign({prefixCls:`${xt}-title`},Ke(bt,Dt)),st(mt));Nn=E.createElement(tt,Object.assign({},qn))}let On;if(Dt){const qn=Object.assign(Object.assign({prefixCls:`${xt}-paragraph`},Me(bt,wt)),st(dt));On=E.createElement(je,Object.assign({},qn))}Pn=E.createElement("div",{className:`${xt}-content`},Nn,On)}const wn=xe()(xt,{[`${xt}-with-avatar`]:bt,[`${xt}-active`]:nt,[`${xt}-rtl`]:Nt==="rtl",[`${xt}-round`]:vt},at==null?void 0:at.className,Te,Oe,it);return lt(E.createElement("div",{className:wn,style:Object.assign(Object.assign({},at==null?void 0:at.style),Ne)},Kt,Pn))}return typeof Ge!="undefined"?Ge:null};Ye.Button=Ee,Ye.Avatar=be,Ye.Input=we,Ye.Image=Ce,Ye.Node=Qe;var Le=Ye,Be=Le},55054:function(Lt,gt,de){"use strict";de.d(gt,{default:function(){return ve}});var Se=de(67294),xe=de(57838),E=de(96159),he=de(94184),fe=de.n(he),le=de(53124),re=de(46303),ie=pe=>{const{value:be,formatter:ye,precision:Ee,decimalSeparator:Pe,groupSeparator:Ae="",prefixCls:Ce}=pe;let _e;if(typeof ye=="function")_e=ye(be);else{const we=String(be),Re=we.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Re||we==="-")_e=we;else{const De=Re[1];let ke=Re[2]||"0",Ie=Re[4]||"";ke=ke.replace(/\B(?=(\d{3})+(?!\d))/g,Ae),typeof Ee=="number"&&(Ie=Ie.padEnd(Ee,"0").slice(0,Ee>0?Ee:0)),Ie&&(Ie=`${Pe}${Ie}`),_e=[Se.createElement("span",{key:"int",className:`${Ce}-content-value-int`},De,ke),Ie&&Se.createElement("span",{key:"decimal",className:`${Ce}-content-value-decimal`},Ie)]}}return Se.createElement("span",{className:`${Ce}-content-value`},_e)},ue=de(14747),ae=de(67968),oe=de(45503);const ne=pe=>{const{componentCls:be,marginXXS:ye,padding:Ee,colorTextDescription:Pe,titleFontSize:Ae,colorTextHeading:Ce,contentFontSize:_e,fontFamily:we}=pe;return{[`${be}`]:Object.assign(Object.assign({},(0,ue.Wf)(pe)),{[`${be}-title`]:{marginBottom:ye,color:Pe,fontSize:Ae},[`${be}-skeleton`]:{paddingTop:Ee},[`${be}-content`]:{color:Ce,fontSize:_e,fontFamily:we,[`${be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${be}-content-prefix, ${be}-content-suffix`]:{display:"inline-block"},[`${be}-content-prefix`]:{marginInlineEnd:ye},[`${be}-content-suffix`]:{marginInlineStart:ye}}})}};var ee=(0,ae.Z)("Statistic",pe=>{const be=(0,oe.TS)(pe,{});return[ne(be)]},pe=>{const{fontSizeHeading3:be,fontSize:ye}=pe;return{titleFontSize:ye,contentFontSize:be}}),y=pe=>{const{prefixCls:be,className:ye,rootClassName:Ee,style:Pe,valueStyle:Ae,value:Ce=0,title:_e,valueRender:we,prefix:Re,suffix:De,loading:ke=!1,onMouseEnter:Ie,onMouseLeave:qe,decimalSeparator:Je=".",groupSeparator:We=","}=pe,{getPrefixCls:Qe,direction:He,statistic:Fe}=Se.useContext(le.E_),je=Qe("statistic",be),[et,tt]=ee(je),st=Se.createElement(ie,Object.assign({decimalSeparator:Je,groupSeparator:We,prefixCls:je},pe,{value:Ce})),Xe=fe()(je,{[`${je}-rtl`]:He==="rtl"},Fe==null?void 0:Fe.className,ye,Ee,tt);return et(Se.createElement("div",{className:Xe,style:Object.assign(Object.assign({},Fe==null?void 0:Fe.style),Pe),onMouseEnter:Ie,onMouseLeave:qe},_e&&Se.createElement("div",{className:`${je}-title`},_e),Se.createElement(re.Z,{paragraph:!1,loading:ke,className:`${je}-skeleton`},Se.createElement("div",{style:Ae,className:`${je}-content`},Re&&Se.createElement("span",{className:`${je}-content-prefix`},Re),we?we(st):st,De&&Se.createElement("span",{className:`${je}-content-suffix`},De)))))};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(pe,be){let ye=pe;const Ee=/\[[^\]]*]/g,Pe=(be.match(Ee)||[]).map(we=>we.slice(1,-1)),Ae=be.replace(Ee,"[]"),Ce=x.reduce((we,Re)=>{let[De,ke]=Re;if(we.includes(De)){const Ie=Math.floor(ye/ke);return ye-=Ie*ke,we.replace(new RegExp(`${De}+`,"g"),qe=>{const Je=qe.length;return Ie.toString().padStart(Je,"0")})}return we},Ae);let _e=0;return Ce.replace(Ee,()=>{const we=Pe[_e];return _e+=1,we})}function z(pe,be){const{format:ye=""}=be,Ee=new Date(pe).getTime(),Pe=Date.now(),Ae=Math.max(Ee-Pe,0);return b(Ae,ye)}const te=1e3/30;function ce(pe){return new Date(pe).getTime()}const ge=pe=>{const{value:be,format:ye="HH:mm:ss",onChange:Ee,onFinish:Pe}=pe,Ae=(0,xe.Z)(),Ce=Se.useRef(null),_e=()=>{Pe==null||Pe(),Ce.current&&(clearInterval(Ce.current),Ce.current=null)},we=()=>{const ke=ce(be);ke>=Date.now()&&(Ce.current=setInterval(()=>{Ae(),Ee==null||Ee(ke-Date.now()),ke<Date.now()&&_e()},te))};Se.useEffect(()=>(we(),()=>{Ce.current&&(clearInterval(Ce.current),Ce.current=null)}),[be]);const Re=(ke,Ie)=>z(ke,Object.assign(Object.assign({},Ie),{format:ye})),De=ke=>(0,E.Tm)(ke,{title:void 0});return Se.createElement(y,Object.assign({},pe,{valueRender:De,formatter:Re}))};var me=Se.memo(ge);y.Countdown=me;var ve=y},49867:function(Lt,gt,de){"use strict";de.d(gt,{N:function(){return Se}});const Se=xe=>({color:xe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${xe.motionDurationSlow}`,"&:focus, &:hover":{color:xe.colorLinkHover},"&:active":{color:xe.colorLinkActive}})},9430:function(Lt,gt,de){"use strict";de.d(gt,{default:function(){return Tl}});var Se={},xe="rc-table-internal-hook",E=de(97685),he=de(66680),fe=de(8410),le=de(91881),re=de(67294),se=de(73935);function ie(Ue){var Ze=re.createContext(void 0),ot=function(yt){var Pt=yt.value,Bt=yt.children,Zt=re.useRef(Pt);Zt.current=Pt;var Wt=re.useState(function(){return{getValue:function(){return Zt.current},listeners:new Set}}),ln=(0,E.Z)(Wt,1),En=ln[0];return(0,fe.Z)(function(){(0,se.unstable_batchedUpdates)(function(){En.listeners.forEach(function(un){un(Pt)})})},[Pt]),re.createElement(Ze.Provider,{value:En},Bt)};return{Context:Ze,Provider:ot,defaultValue:Ue}}function ue(Ue,Ze){var ot=(0,he.Z)(typeof Ze=="function"?Ze:function(un){if(Ze===void 0)return un;if(!Array.isArray(Ze))return un[Ze];var Gn={};return Ze.forEach(function(zn){Gn[zn]=un[zn]}),Gn}),ft=re.useContext(Ue==null?void 0:Ue.Context),yt=ft||{},Pt=yt.listeners,Bt=yt.getValue,Zt=re.useRef();Zt.current=ot(ft?Bt():Ue==null?void 0:Ue.defaultValue);var Wt=re.useState({}),ln=(0,E.Z)(Wt,2),En=ln[1];return(0,fe.Z)(function(){if(!ft)return;function un(Gn){var zn=ot(Gn);(0,le.Z)(Zt.current,zn,!0)||En({})}return Pt.add(un),function(){Pt.delete(un)}},[ft]),Zt.current}var ae=de(87462),oe=de(42550);function ne(){var Ue=re.createContext(null);function Ze(){return re.useContext(Ue)}function ot(yt,Pt){var Bt=(0,oe.Yr)(yt),Zt=function(ln,En){var un=Bt?{ref:En}:{},Gn=re.useRef(0),zn=re.useRef(ln),Zn=Ze();return Zn!==null?re.createElement(yt,(0,ae.Z)({},ln,un)):((!Pt||Pt(zn.current,ln))&&(Gn.current+=1),zn.current=ln,re.createElement(Ue.Provider,{value:Gn.current},re.createElement(yt,(0,ae.Z)({},ln,un))))};return Bt?re.forwardRef(Zt):Zt}function ft(yt,Pt){var Bt=(0,oe.Yr)(yt),Zt=function(ln,En){var un=Bt?{ref:En}:{};return Ze(),re.createElement(yt,(0,ae.Z)({},ln,un))};return Bt?re.memo(re.forwardRef(Zt),Pt):re.memo(Zt,Pt)}return{makeImmutable:ot,responseImmutable:ft,useImmutableMark:Ze}}var ee=ne(),a=ee.makeImmutable,y=ee.responseImmutable,x=ee.useImmutableMark,b=ne(),z=b.makeImmutable,te=b.responseImmutable,ce=b.useImmutableMark,ge=ie(),me=ge;function ve(Ue,Ze){var ot=re.useRef(0);ot.current+=1;var ft=re.useRef(Ue),yt=[];Object.keys(Ue||{}).map(function(Bt){var Zt;(Ue==null?void 0:Ue[Bt])!==((Zt=ft.current)===null||Zt===void 0?void 0:Zt[Bt])&&yt.push(Bt)}),ft.current=Ue;var Pt=re.useRef([]);return yt.length&&(Pt.current=yt),re.useDebugValue(ot.current),re.useDebugValue(Pt.current.join(", ")),Ze&&console.log("".concat(Ze,":"),ot.current,Pt.current),ot.current}var pe=null,be=re.memo(function(){var Ue=ve();return re.createElement("h1",null,"Render Times: ",Ue)});be.displayName="RenderBlock";var ye=de(71002),Ee=de(1413),Pe=de(4942),Ae=de(94184),Ce=de.n(Ae);function _e(Ue,Ze,ot){var ft=re.useRef({});return(!("value"in ft.current)||ot(ft.current.condition,Ze))&&(ft.current.value=Ue(),ft.current.condition=Ze),ft.current.value}var we={},Re=[],De=function(Ze){Re.push(Ze)};function ke(Ue,Ze){if(0)var ot}function Ie(Ue,Ze){if(0)var ot}function qe(){we={}}function Je(Ue,Ze,ot){!Ze&&!we[ot]&&(Ue(!1,ot),we[ot]=!0)}function We(Ue,Ze){Je(ke,Ue,Ze)}function Qe(Ue,Ze){Je(Ie,Ue,Ze)}We.preMessage=De,We.resetWarned=qe,We.noteOnce=Qe;var He=We;function Fe(Ue,Ze){var ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ft=new Set;function yt(Pt,Bt){var Zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Wt=ft.has(Pt);if(He(!Wt,"Warning: There may be circular references"),Wt)return!1;if(Pt===Bt)return!0;if(ot&&Zt>1)return!1;ft.add(Pt);var ln=Zt+1;if(Array.isArray(Pt)){if(!Array.isArray(Bt)||Pt.length!==Bt.length)return!1;for(var En=0;En<Pt.length;En++)if(!yt(Pt[En],Bt[En],ln))return!1;return!0}if(Pt&&Bt&&(0,ye.Z)(Pt)==="object"&&(0,ye.Z)(Bt)==="object"){var un=Object.keys(Pt);return un.length!==Object.keys(Bt).length?!1:un.every(function(Gn){return yt(Pt[Gn],Bt[Gn],ln)})}return!1}return yt(Ue,Ze)}var je=Fe;function et(Ue,Ze){for(var ot=Ue,ft=0;ft<Ze.length;ft+=1){if(ot==null)return;ot=ot[Ze[ft]]}return ot}var tt=re.createContext({renderWithProps:!1}),st=tt,Xe="RC_TABLE_KEY";function Ke(Ue){return Ue==null?[]:Array.isArray(Ue)?Ue:[Ue]}function Me(Ue){var Ze=[],ot={};return Ue.forEach(function(ft){for(var yt=ft||{},Pt=yt.key,Bt=yt.dataIndex,Zt=Pt||Ke(Bt).join("-")||Xe;ot[Zt];)Zt="".concat(Zt,"_next");ot[Zt]=!0,Ze.push(Zt)}),Ze}function Ye(Ue){return Ue!=null}function Le(Ue){return Ue&&(0,ye.Z)(Ue)==="object"&&!Array.isArray(Ue)&&!re.isValidElement(Ue)}function Be(Ue,Ze,ot,ft,yt,Pt){var Bt=re.useContext(st),Zt=ce(),Wt=_e(function(){if(Ye(ft))return[ft];var ln=Ze==null||Ze===""?[]:Array.isArray(Ze)?Ze:[Ze],En=et(Ue,ln),un=En,Gn=void 0;if(yt){var zn=yt(En,Ue,ot);Le(zn)?(un=zn.children,Gn=zn.props,Bt.renderWithProps=!0):un=zn}return[un,Gn]},[Zt,Ue,ft,Ze,yt,ot],function(ln,En){if(Pt){var un=(0,E.Z)(ln,2),Gn=un[1],zn=(0,E.Z)(En,2),Zn=zn[1];return Pt(Zn,Gn)}return Bt.renderWithProps?!0:!je(ln,En,!0)});return Wt}function Ve(Ue,Ze,ot,ft){var yt=Ue+Ze-1;return Ue<=ft&&yt>=ot}function $e(Ue,Ze){return ue(me,function(ot){var ft=Ve(Ue,Ze||1,ot.hoverStartRow,ot.hoverEndRow);return[ft,ot.onHover]})}var ze=function(Ze){var ot=Ze.ellipsis,ft=Ze.rowType,yt=Ze.children,Pt,Bt=ot===!0?{showTitle:!0}:ot;return Bt&&(Bt.showTitle||ft==="header")&&(typeof yt=="string"||typeof yt=="number"?Pt=yt.toString():re.isValidElement(yt)&&typeof yt.props.children=="string"&&(Pt=yt.props.children)),Pt};function Te(Ue){var Ze,ot,ft,yt,Pt,Bt,Zt,Wt,ln=Ue.component,En=Ue.children,un=Ue.ellipsis,Gn=Ue.scope,zn=Ue.prefixCls,Zn=Ue.className,ur=Ue.align,ir=Ue.record,dr=Ue.render,sr=Ue.dataIndex,vr=Ue.renderIndex,Br=Ue.shouldCellUpdate,$r=Ue.index,Ir=Ue.rowType,fo=Ue.colSpan,bo=Ue.rowSpan,_r=Ue.fixLeft,Nr=Ue.fixRight,Tr=Ue.firstFixLeft,yr=Ue.lastFixLeft,Ar=Ue.firstFixRight,so=Ue.lastFixRight,_o=Ue.appendNode,So=Ue.additionalProps,Jr=So===void 0?{}:So,Oo=Ue.isSticky,Lo="".concat(zn,"-cell"),Yo=ue(me,["supportSticky","allColumnsFixedLeft"]),Uo=Yo.supportSticky,fa=Yo.allColumnsFixedLeft,ga=Be(ir,sr,vr,En,dr,Br),Po=(0,E.Z)(ga,2),va=Po[0],zo=Po[1],ia={},ra=typeof _r=="number"&&Uo,Ba=typeof Nr=="number"&&Uo;ra&&(ia.position="sticky",ia.left=_r),Ba&&(ia.position="sticky",ia.right=Nr);var oo=(Ze=(ot=(ft=zo==null?void 0:zo.colSpan)!==null&&ft!==void 0?ft:Jr.colSpan)!==null&&ot!==void 0?ot:fo)!==null&&Ze!==void 0?Ze:1,to=(yt=(Pt=(Bt=zo==null?void 0:zo.rowSpan)!==null&&Bt!==void 0?Bt:Jr.rowSpan)!==null&&Pt!==void 0?Pt:bo)!==null&&yt!==void 0?yt:1,qr=$e($r,to),Hr=(0,E.Z)(qr,2),Ho=Hr[0],Gr=Hr[1],vo=function(Sa){var ka;ir&&Gr($r,$r+to-1),Jr==null||(ka=Jr.onMouseEnter)===null||ka===void 0||ka.call(Jr,Sa)},Fo=function(Sa){var ka;ir&&Gr(-1,-1),Jr==null||(ka=Jr.onMouseLeave)===null||ka===void 0||ka.call(Jr,Sa)};if(oo===0||to===0)return null;var Mo=(Zt=Jr.title)!==null&&Zt!==void 0?Zt:ze({rowType:Ir,ellipsis:un,children:va}),Ra=Ce()(Lo,Zn,(Wt={},(0,Pe.Z)(Wt,"".concat(Lo,"-fix-left"),ra&&Uo),(0,Pe.Z)(Wt,"".concat(Lo,"-fix-left-first"),Tr&&Uo),(0,Pe.Z)(Wt,"".concat(Lo,"-fix-left-last"),yr&&Uo),(0,Pe.Z)(Wt,"".concat(Lo,"-fix-left-all"),yr&&fa&&Uo),(0,Pe.Z)(Wt,"".concat(Lo,"-fix-right"),Ba&&Uo),(0,Pe.Z)(Wt,"".concat(Lo,"-fix-right-first"),Ar&&Uo),(0,Pe.Z)(Wt,"".concat(Lo,"-fix-right-last"),so&&Uo),(0,Pe.Z)(Wt,"".concat(Lo,"-ellipsis"),un),(0,Pe.Z)(Wt,"".concat(Lo,"-with-append"),_o),(0,Pe.Z)(Wt,"".concat(Lo,"-fix-sticky"),(ra||Ba)&&Oo&&Uo),(0,Pe.Z)(Wt,"".concat(Lo,"-row-hover"),!zo&&Ho),Wt),Jr.className,zo==null?void 0:zo.className),Ta={};ur&&(Ta.textAlign=ur);var ni=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},ia),Jr.style),Ta),zo==null?void 0:zo.style),ya=va;return(0,ye.Z)(ya)==="object"&&!Array.isArray(ya)&&!re.isValidElement(ya)&&(ya=null),un&&(yr||Ar)&&(ya=re.createElement("span",{className:"".concat(Lo,"-content")},ya)),re.createElement(ln,(0,ae.Z)({},zo,Jr,{className:Ra,style:ni,title:Mo,scope:Gn,onMouseEnter:vo,onMouseLeave:Fo,colSpan:oo!==1?oo:null,rowSpan:to!==1?to:null}),_o,ya)}var Oe=re.memo(Te);function Ne(Ue,Ze,ot,ft,yt,Pt){var Bt=ot[Ue]||{},Zt=ot[Ze]||{},Wt,ln;Bt.fixed==="left"?Wt=ft.left[yt==="rtl"?Ze:Ue]:Zt.fixed==="right"&&(ln=ft.right[yt==="rtl"?Ue:Ze]);var En=!1,un=!1,Gn=!1,zn=!1,Zn=ot[Ze+1],ur=ot[Ue-1],ir=!(Pt!=null&&Pt.children);if(yt==="rtl"){if(Wt!==void 0){var dr=ur&&ur.fixed==="left";zn=!dr&&ir}else if(ln!==void 0){var sr=Zn&&Zn.fixed==="right";Gn=!sr&&ir}}else if(Wt!==void 0){var vr=Zn&&Zn.fixed==="left";En=!vr&&ir}else if(ln!==void 0){var Br=ur&&ur.fixed==="right";un=!Br&&ir}return{fixLeft:Wt,fixRight:ln,lastFixLeft:En,firstFixRight:un,lastFixRight:Gn,firstFixLeft:zn,isSticky:ft.isSticky}}var Ge=re.createContext({}),rt=Ge;function mt(Ue){var Ze=Ue.className,ot=Ue.index,ft=Ue.children,yt=Ue.colSpan,Pt=yt===void 0?1:yt,Bt=Ue.rowSpan,Zt=Ue.align,Wt=ue(me,["prefixCls","direction"]),ln=Wt.prefixCls,En=Wt.direction,un=re.useContext(rt),Gn=un.scrollColumnIndex,zn=un.stickyOffsets,Zn=un.flattenColumns,ur=un.columns,ir=ot+Pt-1,dr=ir+1===Gn?Pt+1:Pt,sr=Ne(ot,ot+dr-1,Zn,zn,En,ur==null?void 0:ur[ot]);return re.createElement(Oe,(0,ae.Z)({className:Ze,index:ot,component:"td",prefixCls:ln,record:null,dataIndex:null,align:Zt,colSpan:dr,rowSpan:Bt,render:function(){return ft}},sr))}var dt=de(45987),nt=["children"];function vt(Ue){var Ze=Ue.children,ot=(0,dt.Z)(Ue,nt);return re.createElement("tr",ot,Ze)}function At(Ue){var Ze=Ue.children;return Ze}At.Row=vt,At.Cell=mt;var Nt=At;function at(Ue){var Ze=Ue.children,ot=Ue.stickyOffsets,ft=Ue.flattenColumns,yt=Ue.columns,Pt=ue(me,"prefixCls"),Bt=ft.length-1,Zt=ft[Bt],Wt=re.useMemo(function(){return{stickyOffsets:ot,flattenColumns:ft,scrollColumnIndex:Zt!=null&&Zt.scrollbar?Bt:null,columns:yt}},[Zt,ft,Bt,ot,yt]);return re.createElement(rt.Provider,{value:Wt},re.createElement("tfoot",{className:"".concat(Pt,"-summary")},Ze))}var xt=te(at),lt=Nt;function it(Ue){var Ze=re.useRef();Ze.current=Ue;var ot=re.useCallback(function(){for(var ft,yt=arguments.length,Pt=new Array(yt),Bt=0;Bt<yt;Bt++)Pt[Bt]=arguments[Bt];return(ft=Ze.current)===null||ft===void 0?void 0:ft.call.apply(ft,[Ze].concat(Pt))},[]);return ot}function bt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var wt=bt()?re.useLayoutEffect:re.useEffect,Dt=function(Ze,ot){var ft=React.useRef(!0);wt(function(){return Ze(ft.current)},ot),wt(function(){return ft.current=!1,function(){ft.current=!0}},[])},Kt=function(Ze,ot){Dt(function(ft){if(!ft)return Ze()},ot)},Pn=null;function wn(Ue){var Ze=React.useRef(!1),ot=React.useState(Ue),ft=_slicedToArray(ot,2),yt=ft[0],Pt=ft[1];React.useEffect(function(){return Ze.current=!1,function(){Ze.current=!0}},[]);function Bt(Zt,Wt){Wt&&Ze.current||Pt(Zt)}return[yt,Bt]}function Nn(Ue){return Ue!==void 0}function On(Ue,Ze){var ot=Ze||{},ft=ot.defaultValue,yt=ot.value,Pt=ot.onChange,Bt=ot.postState,Zt=useState(function(){return Nn(yt)?yt:Nn(ft)?typeof ft=="function"?ft():ft:typeof Ue=="function"?Ue():Ue}),Wt=_slicedToArray(Zt,2),ln=Wt[0],En=Wt[1],un=yt!==void 0?yt:ln,Gn=Bt?Bt(un):un,zn=useEvent(Pt),Zn=useState([un]),ur=_slicedToArray(Zn,2),ir=ur[0],dr=ur[1];useLayoutUpdateEffect(function(){var vr=ir[0];ln!==vr&&zn(ln,vr)},[ir]),useLayoutUpdateEffect(function(){Nn(yt)||En(yt)},[yt]);var sr=useEvent(function(vr,Br){En(vr,Br),dr([un],Br)});return[Gn,sr]}var qn=de(35110);function rr(Ue,Ze){typeof Ue=="function"?Ue(Ze):(0,ye.Z)(Ue)==="object"&&Ue&&"current"in Ue&&(Ue.current=Ze)}function pr(){for(var Ue=arguments.length,Ze=new Array(Ue),ot=0;ot<Ue;ot++)Ze[ot]=arguments[ot];var ft=Ze.filter(function(yt){return yt});return ft.length<=1?ft[0]:function(yt){Ze.forEach(function(Pt){rr(Pt,yt)})}}function zr(){for(var Ue=arguments.length,Ze=new Array(Ue),ot=0;ot<Ue;ot++)Ze[ot]=arguments[ot];return useMemo(function(){return pr.apply(void 0,Ze)},Ze,function(ft,yt){return ft.length!==yt.length||ft.every(function(Pt,Bt){return Pt!==yt[Bt]})})}function Vr(Ue){var Ze,ot,ft=isMemo(Ue)?Ue.type.type:Ue.type;return!(typeof ft=="function"&&!((Ze=ft.prototype)!==null&&Ze!==void 0&&Ze.render)||typeof Ue=="function"&&!((ot=Ue.prototype)!==null&&ot!==void 0&&ot.render))}function An(Ue){return!isValidElement(Ue)||isFragment(Ue)?!1:Vr(Ue)}function Cn(Ue,Ze,ot,ft){if(!Ze.length)return ot;var yt=_toArray(Ze),Pt=yt[0],Bt=yt.slice(1),Zt;return!Ue&&typeof Pt=="number"?Zt=[]:Array.isArray(Ue)?Zt=_toConsumableArray(Ue):Zt=_objectSpread({},Ue),ft&&ot===void 0&&Bt.length===1?delete Zt[Pt][Bt[0]]:Zt[Pt]=Cn(Zt[Pt],Bt,ot,ft),Zt}function Ut(Ue,Ze,ot){var ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Ze.length&&ft&&ot===void 0&&!get(Ue,Ze.slice(0,-1))?Ue:Cn(Ue,Ze,ot,ft)}function Tt(Ue){return _typeof(Ue)==="object"&&Ue!==null&&Object.getPrototypeOf(Ue)===Object.prototype}function kt(Ue){return Array.isArray(Ue)?[]:{}}var en=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Xt(){for(var Ue=arguments.length,Ze=new Array(Ue),ot=0;ot<Ue;ot++)Ze[ot]=arguments[ot];var ft=kt(Ze[0]);return Ze.forEach(function(yt){function Pt(Bt,Zt){var Wt=new Set(Zt),ln=get(yt,Bt),En=Array.isArray(ln);if(En||Tt(ln)){if(!Wt.has(ln)){Wt.add(ln);var un=get(ft,Bt);En?ft=Ut(ft,Bt,[]):(!un||_typeof(un)!=="object")&&(ft=Ut(ft,Bt,kt(ln))),en(ln).forEach(function(Gn){Pt([].concat(_toConsumableArray(Bt),[Gn]),Wt)})}}else ft=Ut(ft,Bt,ln)}Pt([])}),ft}var Tn=de(48555),tn=function(Ue){if(!Ue)return!1;if(Ue instanceof Element){if(Ue.offsetParent)return!0;if(Ue.getBBox){var Ze=Ue.getBBox(),ot=Ze.width,ft=Ze.height;if(ot||ft)return!0}if(Ue.getBoundingClientRect){var yt=Ue.getBoundingClientRect(),Pt=yt.width,Bt=yt.height;if(Pt||Bt)return!0}}return!1},yn=function(Ze){if(bt()&&window.document.documentElement){var ot=Array.isArray(Ze)?Ze:[Ze],ft=window.document.documentElement;return ot.some(function(yt){return yt in ft.style})}return!1},Mn=function(Ze,ot){if(!yn(Ze))return!1;var ft=document.createElement("div"),yt=ft.style[Ze];return ft.style[Ze]=ot,ft.style[Ze]!==yt};function Dn(Ue,Ze){return!Array.isArray(Ue)&&Ze!==void 0?Mn(Ue,Ze):yn(Ue)}var St;function Ct(Ue){if(typeof document=="undefined")return 0;if(Ue||St===void 0){var Ze=document.createElement("div");Ze.style.width="100%",Ze.style.height="200px";var ot=document.createElement("div"),ft=ot.style;ft.position="absolute",ft.top="0",ft.left="0",ft.pointerEvents="none",ft.visibility="hidden",ft.width="200px",ft.height="150px",ft.overflow="hidden",ot.appendChild(Ze),document.body.appendChild(ot);var yt=Ze.offsetWidth;ot.style.overflow="scroll";var Pt=Ze.offsetWidth;yt===Pt&&(Pt=ot.clientWidth),document.body.removeChild(ot),St=yt-Pt}return St}function Rt(Ue){var Ze=Ue.match(/^(.*)px$/),ot=Number(Ze==null?void 0:Ze[1]);return Number.isNaN(ot)?Ct():ot}function dn(Ue){if(typeof document=="undefined"||!Ue||!(Ue instanceof Element))return{width:0,height:0};var Ze=getComputedStyle(Ue,"::-webkit-scrollbar"),ot=Ze.width,ft=Ze.height;return{width:Rt(ot),height:Rt(ft)}}var Hn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,jn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,br="".concat(Hn," ").concat(jn).split(/[\s\n]+/),or="aria-",wr="data-";function Sr(Ue,Ze){return Ue.indexOf(Ze)===0}function co(Ue){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ot;Ze===!1?ot={aria:!0,data:!0,attr:!0}:Ze===!0?ot={aria:!0}:ot=(0,Ee.Z)({},Ze);var ft={};return Object.keys(Ue).forEach(function(yt){(ot.aria&&(yt==="role"||Sr(yt,or))||ot.data&&Sr(yt,wr)||ot.attr&&br.includes(yt))&&(ft[yt]=Ue[yt])}),ft}function bn(Ue,Ze,ot,ft,yt,Pt,Bt){Ue.push({record:Ze,indent:ot,index:Bt});var Zt=Pt(Ze),Wt=yt==null?void 0:yt.has(Zt);if(Ze&&Array.isArray(Ze[ft])&&Wt)for(var ln=0;ln<Ze[ft].length;ln+=1)bn(Ue,Ze[ft][ln],ot+1,ft,yt,Pt,ln)}function Lr(Ue,Ze,ot,ft){var yt=re.useMemo(function(){if(ot!=null&&ot.size){for(var Pt=[],Bt=0;Bt<(Ue==null?void 0:Ue.length);Bt+=1){var Zt=Ue[Bt];bn(Pt,Zt,0,Ze,ot,ft,Bt)}return Pt}return Ue==null?void 0:Ue.map(function(Wt,ln){return{record:Wt,indent:0,index:ln}})},[Ue,Ze,ot,ft]);return yt}function jt(Ue){var Ze=Ue.prefixCls,ot=Ue.children,ft=Ue.component,yt=Ue.cellComponent,Pt=Ue.className,Bt=Ue.expanded,Zt=Ue.colSpan,Wt=Ue.isEmpty,ln=ue(me,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),En=ln.scrollbarSize,un=ln.fixHeader,Gn=ln.fixColumn,zn=ln.componentWidth,Zn=ln.horizonScroll,ur=ot;return(Wt?Zn&&zn:Gn)&&(ur=re.createElement("div",{style:{width:zn-(un?En:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ze,"-expanded-row-fixed")},ur)),re.createElement(ft,{className:Pt,style:{display:Bt?null:"none"}},re.createElement(Oe,{component:yt,prefixCls:Ze,colSpan:Zt},ur))}var mn=jt;function cn(Ue,Ze,ot,ft){var yt=ue(me,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Pt=yt.flattenColumns,Bt=yt.expandableType,Zt=yt.expandedKeys,Wt=yt.childrenColumnName,ln=yt.onTriggerExpand,En=yt.rowExpandable,un=yt.onRow,Gn=yt.expandRowByClick,zn=yt.rowClassName,Zn=Bt==="nest",ur=Bt==="row"&&(!En||En(Ue)),ir=ur||Zn,dr=Zt&&Zt.has(Ze),sr=Wt&&Ue&&Ue[Wt],vr=it(ln),Br=un==null?void 0:un(Ue,ot),$r=Br==null?void 0:Br.onClick,Ir=function(Nr){Gn&&ir&&ln(Ue,Nr);for(var Tr=arguments.length,yr=new Array(Tr>1?Tr-1:0),Ar=1;Ar<Tr;Ar++)yr[Ar-1]=arguments[Ar];$r==null||$r.apply(void 0,[Nr].concat(yr))},fo;typeof zn=="string"?fo=zn:typeof zn=="function"&&(fo=zn(Ue,ot,ft));var bo=Me(Pt);return(0,Ee.Z)((0,Ee.Z)({},yt),{},{columnsKey:bo,nestExpandable:Zn,expanded:dr,hasNestChildren:sr,record:Ue,onTriggerExpand:vr,rowSupportExpand:ur,expandable:ir,rowProps:(0,Ee.Z)((0,Ee.Z)({},Br),{},{className:Ce()(fo,Br==null?void 0:Br.className),onClick:Ir})})}function vn(Ue,Ze,ot,ft,yt){var Pt=Ue.record,Bt=Ue.prefixCls,Zt=Ue.columnsKey,Wt=Ue.fixedInfoList,ln=Ue.expandIconColumnIndex,En=Ue.nestExpandable,un=Ue.indentSize,Gn=Ue.expandIcon,zn=Ue.expanded,Zn=Ue.hasNestChildren,ur=Ue.onTriggerExpand,ir=Zt[ot],dr=Wt[ot],sr;ot===(ln||0)&&En&&(sr=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(un*ft,"px")},className:"".concat(Bt,"-row-indent indent-level-").concat(ft)}),Gn({prefixCls:Bt,expanded:zn,expandable:Zn,record:Pt,onExpand:ur})));var vr;return Ze.onCell&&(vr=Ze.onCell(Pt,yt)),{key:ir,fixedInfo:dr,appendCellNode:sr,additionalCellProps:vr||{}}}function Wn(Ue){var Ze=Ue.className,ot=Ue.style,ft=Ue.record,yt=Ue.index,Pt=Ue.renderIndex,Bt=Ue.rowKey,Zt=Ue.indent,Wt=Zt===void 0?0:Zt,ln=Ue.rowComponent,En=Ue.cellComponent,un=Ue.scopeCellComponent,Gn=cn(ft,Bt,yt,Wt),zn=Gn.prefixCls,Zn=Gn.flattenColumns,ur=Gn.expandedRowClassName,ir=Gn.expandedRowRender,dr=Gn.rowProps,sr=Gn.expanded,vr=Gn.rowSupportExpand,Br=re.useState(!1),$r=(0,E.Z)(Br,2),Ir=$r[0],fo=$r[1];re.useEffect(function(){sr&&fo(!0)},[sr]);var bo=re.createElement(ln,(0,ae.Z)({},dr,{"data-row-key":Bt,className:Ce()(Ze,"".concat(zn,"-row"),"".concat(zn,"-row-level-").concat(Wt),dr==null?void 0:dr.className),style:(0,Ee.Z)((0,Ee.Z)({},ot),dr==null?void 0:dr.style)}),Zn.map(function(yr,Ar){var so=yr.render,_o=yr.dataIndex,So=yr.className,Jr=vn(Gn,yr,Ar,Wt,yt),Oo=Jr.key,Lo=Jr.fixedInfo,Yo=Jr.appendCellNode,Uo=Jr.additionalCellProps;return re.createElement(Oe,(0,ae.Z)({className:So,ellipsis:yr.ellipsis,align:yr.align,scope:yr.rowScope,component:yr.rowScope?un:En,prefixCls:zn,key:Oo,record:ft,index:yt,renderIndex:Pt,dataIndex:_o,render:so,shouldCellUpdate:yr.shouldCellUpdate},Lo,{appendNode:Yo,additionalProps:Uo}))})),_r;if(vr&&(Ir||sr)){var Nr=ir(ft,yt,Wt+1,sr),Tr=ur&&ur(ft,yt,Wt);_r=re.createElement(mn,{expanded:sr,className:Ce()("".concat(zn,"-expanded-row"),"".concat(zn,"-expanded-row-level-").concat(Wt+1),Tr),prefixCls:zn,component:ln,cellComponent:En,colSpan:Zn.length,isEmpty:!1},Nr)}return re.createElement(re.Fragment,null,bo,_r)}Wn.displayName="BodyRow";var gn=te(Wn);function Qt(Ue){var Ze=Ue.columnKey,ot=Ue.onColumnResize,ft=re.useRef();return re.useEffect(function(){ft.current&&ot(Ze,ft.current.offsetWidth)},[]),re.createElement(Tn.Z,{data:Ze},re.createElement("td",{ref:ft,style:{padding:0,border:0,height:0}},re.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function xn(Ue){var Ze=Ue.prefixCls,ot=Ue.columnsKey,ft=Ue.onColumnResize;return re.createElement("tr",{"aria-hidden":"true",className:"".concat(Ze,"-measure-row"),style:{height:0,fontSize:0}},re.createElement(Tn.Z.Collection,{onBatchResize:function(Pt){Pt.forEach(function(Bt){var Zt=Bt.data,Wt=Bt.size;ft(Zt,Wt.offsetWidth)})}},ot.map(function(yt){return re.createElement(Qt,{key:yt,columnKey:yt,onColumnResize:ft})})))}function Cr(Ue){var Ze=Ue.data,ot=Ue.measureColumnWidth,ft=ue(me,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),yt=ft.prefixCls,Pt=ft.getComponent,Bt=ft.onColumnResize,Zt=ft.flattenColumns,Wt=ft.getRowKey,ln=ft.expandedKeys,En=ft.childrenColumnName,un=ft.emptyNode,Gn=Lr(Ze,En,ln,Wt),zn=re.useRef({renderWithProps:!1}),Zn=Pt(["body","wrapper"],"tbody"),ur=Pt(["body","row"],"tr"),ir=Pt(["body","cell"],"td"),dr=Pt(["body","cell"],"th"),sr;Ze.length?sr=Gn.map(function(Br,$r){var Ir=Br.record,fo=Br.indent,bo=Br.index,_r=Wt(Ir,$r);return re.createElement(gn,{key:_r,rowKey:_r,record:Ir,index:$r,renderIndex:bo,rowComponent:ur,cellComponent:ir,scopeCellComponent:dr,getRowKey:Wt,indent:fo})}):sr=re.createElement(mn,{expanded:!0,className:"".concat(yt,"-placeholder"),prefixCls:yt,component:ur,cellComponent:ir,colSpan:Zt.length,isEmpty:!0},un);var vr=Me(Zt);return re.createElement(st.Provider,{value:zn.current},re.createElement(Zn,{className:"".concat(yt,"-tbody")},ot&&re.createElement(xn,{prefixCls:yt,columnsKey:vr,onColumnResize:Bt}),sr))}Cr.displayName="Body";var gr=te(Cr),Rr=["expandable"],kr="RC_TABLE_INTERNAL_COL_DEFINE";function ho(Ue){var Ze=Ue.expandable,ot=(0,dt.Z)(Ue,Rr),ft;return"expandable"in Ue?ft=(0,Ee.Z)((0,Ee.Z)({},ot),Ze):ft=ot,ft.showExpandColumn===!1&&(ft.expandIconColumnIndex=-1),ft}var ao=["columnType"];function eo(Ue){for(var Ze=Ue.colWidths,ot=Ue.columns,ft=Ue.columCount,yt=[],Pt=ft||ot.length,Bt=!1,Zt=Pt-1;Zt>=0;Zt-=1){var Wt=Ze[Zt],ln=ot&&ot[Zt],En=ln&&ln[kr];if(Wt||En||Bt){var un=En||{},Gn=un.columnType,zn=(0,dt.Z)(un,ao);yt.unshift(re.createElement("col",(0,ae.Z)({key:Zt,style:{width:Wt}},zn))),Bt=!0}}return re.createElement("colgroup",null,yt)}var Fn=eo,io=de(74902),jo=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function $n(Ue,Ze){return(0,re.useMemo)(function(){for(var ot=[],ft=0;ft<Ze;ft+=1){var yt=Ue[ft];if(yt!==void 0)ot[ft]=yt;else return null}return ot},[Ue.join("_"),Ze])}var Bn=re.forwardRef(function(Ue,Ze){var ot=Ue.className,ft=Ue.noData,yt=Ue.columns,Pt=Ue.flattenColumns,Bt=Ue.colWidths,Zt=Ue.columCount,Wt=Ue.stickyOffsets,ln=Ue.direction,En=Ue.fixHeader,un=Ue.stickyTopOffset,Gn=Ue.stickyBottomOffset,zn=Ue.stickyClassName,Zn=Ue.onScroll,ur=Ue.maxContentScroll,ir=Ue.children,dr=(0,dt.Z)(Ue,jo),sr=ue(me,["prefixCls","scrollbarSize","isSticky"]),vr=sr.prefixCls,Br=sr.scrollbarSize,$r=sr.isSticky,Ir=$r&&!En?0:Br,fo=re.useRef(null),bo=re.useCallback(function(So){rr(Ze,So),rr(fo,So)},[]);re.useEffect(function(){var So;function Jr(Oo){var Lo=Oo,Yo=Lo.currentTarget,Uo=Lo.deltaX;Uo&&(Zn({currentTarget:Yo,scrollLeft:Yo.scrollLeft+Uo}),Oo.preventDefault())}return(So=fo.current)===null||So===void 0||So.addEventListener("wheel",Jr),function(){var Oo;(Oo=fo.current)===null||Oo===void 0||Oo.removeEventListener("wheel",Jr)}},[]);var _r=re.useMemo(function(){return Pt.every(function(So){return So.width})},[Pt]),Nr=Pt[Pt.length-1],Tr={fixed:Nr?Nr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(vr,"-cell-scrollbar")}}},yr=(0,re.useMemo)(function(){return Ir?[].concat((0,io.Z)(yt),[Tr]):yt},[Ir,yt]),Ar=(0,re.useMemo)(function(){return Ir?[].concat((0,io.Z)(Pt),[Tr]):Pt},[Ir,Pt]),so=(0,re.useMemo)(function(){var So=Wt.right,Jr=Wt.left;return(0,Ee.Z)((0,Ee.Z)({},Wt),{},{left:ln==="rtl"?[].concat((0,io.Z)(Jr.map(function(Oo){return Oo+Ir})),[0]):Jr,right:ln==="rtl"?So:[].concat((0,io.Z)(So.map(function(Oo){return Oo+Ir})),[0]),isSticky:$r})},[Ir,Wt,$r]),_o=$n(Bt,Zt);return re.createElement("div",{style:(0,Ee.Z)({overflow:"hidden"},$r?{top:un,bottom:Gn}:{}),ref:bo,className:Ce()(ot,(0,Pe.Z)({},zn,!!zn))},re.createElement("table",{style:{tableLayout:"fixed",visibility:ft||_o?null:"hidden"}},(!ft||!ur||_r)&&re.createElement(Fn,{colWidths:_o?[].concat((0,io.Z)(_o),[Ir]):[],columCount:Zt+1,columns:Ar}),ir((0,Ee.Z)((0,Ee.Z)({},dr),{},{stickyOffsets:so,columns:yr,flattenColumns:Ar}))))});Bn.displayName="FixedHolder";var fr=re.memo(Bn);function nr(Ue){var Ze=Ue.cells,ot=Ue.stickyOffsets,ft=Ue.flattenColumns,yt=Ue.rowComponent,Pt=Ue.cellComponent,Bt=Ue.tdCellComponent,Zt=Ue.onHeaderRow,Wt=Ue.index,ln=ue(me,["prefixCls","direction"]),En=ln.prefixCls,un=ln.direction,Gn;Zt&&(Gn=Zt(Ze.map(function(Zn){return Zn.column}),Wt));var zn=Me(Ze.map(function(Zn){return Zn.column}));return re.createElement(yt,Gn,Ze.map(function(Zn,ur){var ir=Zn.column,dr=Ne(Zn.colStart,Zn.colEnd,ft,ot,un,ir),sr;return ir&&ir.onHeaderCell&&(sr=Zn.column.onHeaderCell(ir)),re.createElement(Oe,(0,ae.Z)({},Zn,{scope:ir.title?Zn.colSpan>1?"colgroup":"col":null,ellipsis:ir.ellipsis,align:ir.align,component:ir.title?Pt:Bt,prefixCls:En,key:zn[ur]},dr,{additionalProps:sr,rowType:"header"}))}))}nr.displayName="HeaderRow";var xr=nr;function cr(Ue){var Ze=[];function ot(Bt,Zt){var Wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ze[Wt]=Ze[Wt]||[];var ln=Zt,En=Bt.filter(Boolean).map(function(un){var Gn={key:un.key,className:un.className||"",children:un.title,column:un,colStart:ln},zn=1,Zn=un.children;return Zn&&Zn.length>0&&(zn=ot(Zn,ln,Wt+1).reduce(function(ur,ir){return ur+ir},0),Gn.hasSubColumns=!0),"colSpan"in un&&(zn=un.colSpan),"rowSpan"in un&&(Gn.rowSpan=un.rowSpan),Gn.colSpan=zn,Gn.colEnd=Gn.colStart+zn-1,Ze[Wt].push(Gn),ln+=zn,zn});return En}ot(Ue,0);for(var ft=Ze.length,yt=function(Zt){Ze[Zt].forEach(function(Wt){!("rowSpan"in Wt)&&!Wt.hasSubColumns&&(Wt.rowSpan=ft-Zt)})},Pt=0;Pt<ft;Pt+=1)yt(Pt);return Ze}function Fr(Ue){var Ze=Ue.stickyOffsets,ot=Ue.columns,ft=Ue.flattenColumns,yt=Ue.onHeaderRow,Pt=ue(me,["prefixCls","getComponent"]),Bt=Pt.prefixCls,Zt=Pt.getComponent,Wt=re.useMemo(function(){return cr(ot)},[ot]),ln=Zt(["header","wrapper"],"thead"),En=Zt(["header","row"],"tr"),un=Zt(["header","cell"],"th"),Gn=Zt(["header","cell"],"td");return re.createElement(ln,{className:"".concat(Bt,"-thead")},Wt.map(function(zn,Zn){var ur=re.createElement(xr,{key:Zn,flattenColumns:ft,cells:zn,stickyOffsets:Ze,rowComponent:En,cellComponent:un,tdCellComponent:Gn,onHeaderRow:yt,index:Zn});return ur}))}var Qr=te(Fr);function Xr(Ue){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ot=[];return re.Children.forEach(Ue,function(ft){ft==null&&!Ze.keepEmpty||(Array.isArray(ft)?ot=ot.concat(Xr(ft)):(0,qn.isFragment)(ft)&&ft.props?ot=ot.concat(Xr(ft.props.children,Ze)):ot.push(ft))}),ot}function It(Ue){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ze=="number"?Ze:Ze.endsWith("%")?Ue*parseFloat(Ze)/100:null}function Ot(Ue,Ze){return re.useMemo(function(){if(Ze&&Ze>0){var ot=0,ft=0;Ue.forEach(function(ln){var En=It(Ze,ln.width);En?ot+=En:ft+=1});var yt=Ze-ot,Pt=ft,Bt=yt/ft,Zt=0,Wt=Ue.map(function(ln){var En=(0,Ee.Z)({},ln),un=It(Ze,En.width);if(un)En.width=un;else{var Gn=Math.floor(Bt);En.width=Pt===1?yt:Gn,yt-=Gn,Pt-=1}return Zt+=En.width,En});return[Wt,Zt]}return[Ue,Ze]},[Ue,Ze])}var qt=["children"],Sn=["fixed"];function In(Ue){return Xr(Ue).filter(function(Ze){return re.isValidElement(Ze)}).map(function(Ze){var ot=Ze.key,ft=Ze.props,yt=ft.children,Pt=(0,dt.Z)(ft,qt),Bt=(0,Ee.Z)({key:ot},Pt);return yt&&(Bt.children=In(yt)),Bt})}function an(Ue){var Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ue.filter(function(ot){return ot&&(0,ye.Z)(ot)==="object"}).reduce(function(ot,ft,yt){var Pt=ft.fixed,Bt=Pt===!0?"left":Pt,Zt="".concat(Ze,"-").concat(yt),Wt=ft.children;return Wt&&Wt.length>0?[].concat((0,io.Z)(ot),(0,io.Z)(an(Wt,Zt).map(function(ln){return(0,Ee.Z)({fixed:Bt},ln)}))):[].concat((0,io.Z)(ot),[(0,Ee.Z)((0,Ee.Z)({key:Zt},ft),{},{fixed:Bt})])},[])}function Pr(Ue){for(var Ze=!0,ot=0;ot<Ue.length;ot+=1){var ft=Ue[ot];if(Ze&&ft.fixed!=="left")Ze=!1;else if(!Ze&&ft.fixed==="left"){warning(!1,"Index ".concat(ot-1," of `columns` missing `fixed='left'` prop."));break}}for(var yt=!0,Pt=Ue.length-1;Pt>=0;Pt-=1){var Bt=Ue[Pt];if(yt&&Bt.fixed!=="right")yt=!1;else if(!yt&&Bt.fixed==="right"){warning(!1,"Index ".concat(Pt+1," of `columns` missing `fixed='right'` prop."));break}}}function Or(Ue){return Ue.map(function(Ze){var ot=Ze.fixed,ft=(0,dt.Z)(Ze,Sn),yt=ot;return ot==="left"?yt="right":ot==="right"&&(yt="left"),(0,Ee.Z)({fixed:yt},ft)})}function Zr(Ue,Ze){var ot=Ue.prefixCls,ft=Ue.columns,yt=Ue.children,Pt=Ue.expandable,Bt=Ue.expandedKeys,Zt=Ue.columnTitle,Wt=Ue.getRowKey,ln=Ue.onTriggerExpand,En=Ue.expandIcon,un=Ue.rowExpandable,Gn=Ue.expandIconColumnIndex,zn=Ue.direction,Zn=Ue.expandRowByClick,ur=Ue.columnWidth,ir=Ue.fixed,dr=Ue.scrollWidth,sr=re.useMemo(function(){return ft||In(yt)},[ft,yt]),vr=re.useMemo(function(){if(Pt){var Nr,Tr=sr.slice();if(!Tr.includes(Se)){var yr=Gn||0;yr>=0&&Tr.splice(yr,0,Se)}var Ar=Tr.indexOf(Se);Tr=Tr.filter(function(Jr,Oo){return Jr!==Se||Oo===Ar});var so=sr[Ar],_o;(ir==="left"||ir)&&!Gn?_o="left":(ir==="right"||ir)&&Gn===sr.length?_o="right":_o=so?so.fixed:null;var So=(Nr={},(0,Pe.Z)(Nr,kr,{className:"".concat(ot,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Pe.Z)(Nr,"title",Zt),(0,Pe.Z)(Nr,"fixed",_o),(0,Pe.Z)(Nr,"className","".concat(ot,"-row-expand-icon-cell")),(0,Pe.Z)(Nr,"width",ur),(0,Pe.Z)(Nr,"render",function(Oo,Lo,Yo){var Uo=Wt(Lo,Yo),fa=Bt.has(Uo),ga=un?un(Lo):!0,Po=En({prefixCls:ot,expanded:fa,expandable:ga,record:Lo,onExpand:ln});return Zn?re.createElement("span",{onClick:function(zo){return zo.stopPropagation()}},Po):Po}),Nr);return Tr.map(function(Jr){return Jr===Se?So:Jr})}return sr.filter(function(Jr){return Jr!==Se})},[Pt,sr,Wt,Bt,En,zn]),Br=re.useMemo(function(){var Nr=vr;return Ze&&(Nr=Ze(Nr)),Nr.length||(Nr=[{render:function(){return null}}]),Nr},[Ze,vr,zn]),$r=re.useMemo(function(){return zn==="rtl"?Or(an(Br)):an(Br)},[Br,zn,dr]),Ir=Ot($r,dr),fo=(0,E.Z)(Ir,2),bo=fo[0],_r=fo[1];return[Br,bo,_r]}var ro=Zr;function Wr(Ue){var Ze,ot=Ue.prefixCls,ft=Ue.record,yt=Ue.onExpand,Pt=Ue.expanded,Bt=Ue.expandable,Zt="".concat(ot,"-row-expand-icon");if(!Bt)return re.createElement("span",{className:Ce()(Zt,"".concat(ot,"-row-spaced"))});var Wt=function(En){yt(ft,En),En.stopPropagation()};return re.createElement("span",{className:Ce()(Zt,(Ze={},(0,Pe.Z)(Ze,"".concat(ot,"-row-expanded"),Pt),(0,Pe.Z)(Ze,"".concat(ot,"-row-collapsed"),!Pt),Ze)),onClick:Wt})}function po(Ue,Ze,ot){var ft=[];function yt(Pt){(Pt||[]).forEach(function(Bt,Zt){ft.push(Ze(Bt,Zt)),yt(Bt[ot])})}return yt(Ue),ft}function ar(Ue,Ze,ot){var ft=ho(Ue),yt=ft.expandIcon,Pt=ft.expandedRowKeys,Bt=ft.defaultExpandedRowKeys,Zt=ft.defaultExpandAllRows,Wt=ft.expandedRowRender,ln=ft.onExpand,En=ft.onExpandedRowsChange,un=ft.childrenColumnName,Gn=yt||Wr,zn=un||"children",Zn=re.useMemo(function(){return Wt?"row":Ue.expandable&&Ue.internalHooks===xe&&Ue.expandable.__PARENT_RENDER_ICON__||Ze.some(function($r){return $r&&(0,ye.Z)($r)==="object"&&$r[zn]})?"nest":!1},[!!Wt,Ze]),ur=re.useState(function(){return Bt||(Zt?po(Ze,ot,zn):[])}),ir=(0,E.Z)(ur,2),dr=ir[0],sr=ir[1],vr=re.useMemo(function(){return new Set(Pt||dr||[])},[Pt,dr]),Br=re.useCallback(function($r){var Ir=ot($r,Ze.indexOf($r)),fo,bo=vr.has(Ir);bo?(vr.delete(Ir),fo=(0,io.Z)(vr)):fo=[].concat((0,io.Z)(vr),[Ir]),sr(fo),ln&&ln(!bo,$r),En&&En(fo)},[ot,vr,Ze,ln,En]);return[ft,Zn,vr,Gn,zn,Br]}function _t(Ue,Ze,ot,ft){var yt=Ue.map(function(Pt,Bt){return Ne(Bt,Bt,Ue,Ze,ot,ft==null?void 0:ft[Bt])});return _e(function(){return yt},[yt],function(Pt,Bt){return!je(Pt,Bt)})}function zt(Ue){var Ze=(0,re.useRef)(Ue),ot=(0,re.useState)({}),ft=(0,E.Z)(ot,2),yt=ft[1],Pt=(0,re.useRef)(null),Bt=(0,re.useRef)([]);function Zt(Wt){Bt.current.push(Wt);var ln=Promise.resolve();Pt.current=ln,ln.then(function(){if(Pt.current===ln){var En=Bt.current,un=Ze.current;Bt.current=[],En.forEach(function(Gn){Ze.current=Gn(Ze.current)}),Pt.current=null,un!==Ze.current&&yt({})}})}return(0,re.useEffect)(function(){return function(){Pt.current=null}},[]),[Ze.current,Zt]}function fn(Ue){var Ze=(0,re.useRef)(Ue||null),ot=(0,re.useRef)();function ft(){window.clearTimeout(ot.current)}function yt(Bt){Ze.current=Bt,ft(),ot.current=window.setTimeout(function(){Ze.current=null,ot.current=void 0},100)}function Pt(){return Ze.current}return(0,re.useEffect)(function(){return ft},[]),[yt,Pt]}function ht(){var Ue=re.useState(-1),Ze=(0,E.Z)(Ue,2),ot=Ze[0],ft=Ze[1],yt=re.useState(-1),Pt=(0,E.Z)(yt,2),Bt=Pt[0],Zt=Pt[1],Wt=re.useCallback(function(ln,En){ft(ln),Zt(En)},[]);return[ot,Bt,Wt]}var hn=bt()?window:null;function kn(Ue,Ze){var ot=(0,ye.Z)(Ue)==="object"?Ue:{},ft=ot.offsetHeader,yt=ft===void 0?0:ft,Pt=ot.offsetSummary,Bt=Pt===void 0?0:Pt,Zt=ot.offsetScroll,Wt=Zt===void 0?0:Zt,ln=ot.getContainer,En=ln===void 0?function(){return hn}:ln,un=En()||hn;return re.useMemo(function(){var Gn=!!Ue;return{isSticky:Gn,stickyClassName:Gn?"".concat(Ze,"-sticky-holder"):"",offsetHeader:yt,offsetSummary:Bt,offsetScroll:Wt,container:un}},[Wt,yt,Bt,Ze,un])}function Un(Ue,Ze,ot){var ft=(0,re.useMemo)(function(){for(var yt=[],Pt=[],Bt=0,Zt=0,Wt=0;Wt<Ze;Wt+=1)if(ot==="rtl"){Pt[Wt]=Zt,Zt+=Ue[Wt]||0;var ln=Ze-Wt-1;yt[ln]=Bt,Bt+=Ue[ln]||0}else{yt[Wt]=Bt,Bt+=Ue[Wt]||0;var En=Ze-Wt-1;Pt[En]=Zt,Zt+=Ue[En]||0}return{left:yt,right:Pt}},[Ue,Ze,ot]);return ft}var Vt=Un;function nn(Ue){var Ze=Ue.className,ot=Ue.children;return re.createElement("div",{className:Ze},ot)}var sn=nn;function Kn(Ue,Ze,ot,ft){var yt=se.unstable_batchedUpdates?function(Bt){se.unstable_batchedUpdates(ot,Bt)}:ot;return Ue!=null&&Ue.addEventListener&&Ue.addEventListener(Ze,yt,ft),{remove:function(){Ue!=null&&Ue.removeEventListener&&Ue.removeEventListener(Ze,yt,ft)}}}var lr=/margin|padding|width|height|max|min|offset/,mr={left:!0,top:!0},Et={cssFloat:1,styleFloat:1,float:1};function Gt(Ue){return Ue.nodeType===1?Ue.ownerDocument.defaultView.getComputedStyle(Ue,null):{}}function rn(Ue,Ze,ot){if(Ze=Ze.toLowerCase(),ot==="auto"){if(Ze==="height")return Ue.offsetHeight;if(Ze==="width")return Ue.offsetWidth}return Ze in mr||(mr[Ze]=lr.test(Ze)),mr[Ze]?parseFloat(ot)||0:ot}function Xn(Ue,Ze){var ot=arguments.length,ft=Gt(Ue);return Ze=Et[Ze]?"cssFloat"in Ue.style?"cssFloat":"styleFloat":Ze,ot===1?ft:rn(Ue,Ze,ft[Ze]||Ue.style[Ze])}function _n(Ue,Ze,ot){var ft=arguments.length;if(Ze=Et[Ze]?"cssFloat"in Ue.style?"cssFloat":"styleFloat":Ze,ft===3)return typeof ot=="number"&&lr.test(Ze)&&(ot="".concat(ot,"px")),Ue.style[Ze]=ot,ot;for(var yt in Ze)Ze.hasOwnProperty(yt)&&_n(Ue,yt,Ze[yt]);return Gt(Ue)}function on(Ue){return Ue===document.body?document.documentElement.clientWidth:Ue.offsetWidth}function Yt(Ue){return Ue===document.body?window.innerHeight||document.documentElement.clientHeight:Ue.offsetHeight}function $t(){var Ue=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Ze=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Ue,height:Ze}}function Jt(){var Ue=document.documentElement.clientWidth,Ze=window.innerHeight||document.documentElement.clientHeight;return{width:Ue,height:Ze}}function Ln(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ut(Ue){var Ze=Ue.getBoundingClientRect(),ot=document.documentElement;return{left:Ze.left+(window.pageXOffset||ot.scrollLeft)-(ot.clientLeft||document.body.clientLeft||0),top:Ze.top+(window.pageYOffset||ot.scrollTop)-(ot.clientTop||document.body.clientTop||0)}}var ct=function(Ze,ot){var ft,yt,Pt=Ze.scrollBodyRef,Bt=Ze.onScroll,Zt=Ze.offsetScroll,Wt=Ze.container,ln=ue(me,"prefixCls"),En=((ft=Pt.current)===null||ft===void 0?void 0:ft.scrollWidth)||0,un=((yt=Pt.current)===null||yt===void 0?void 0:yt.clientWidth)||0,Gn=En&&un*(un/En),zn=re.useRef(),Zn=zt({scrollLeft:0,isHiddenScrollBar:!1}),ur=(0,E.Z)(Zn,2),ir=ur[0],dr=ur[1],sr=re.useRef({delta:0,x:0}),vr=re.useState(!1),Br=(0,E.Z)(vr,2),$r=Br[0],Ir=Br[1],fo=function(){Ir(!1)},bo=function(Ar){Ar.persist(),sr.current.delta=Ar.pageX-ir.scrollLeft,sr.current.x=0,Ir(!0),Ar.preventDefault()},_r=function(Ar){var so,_o=Ar||((so=window)===null||so===void 0?void 0:so.event),So=_o.buttons;if(!$r||So===0){$r&&Ir(!1);return}var Jr=sr.current.x+Ar.pageX-sr.current.x-sr.current.delta;Jr<=0&&(Jr=0),Jr+Gn>=un&&(Jr=un-Gn),Bt({scrollLeft:Jr/un*(En+2)}),sr.current.x=Ar.pageX},Nr=function(){if(Pt.current){var Ar=ut(Pt.current).top,so=Ar+Pt.current.offsetHeight,_o=Wt===window?document.documentElement.scrollTop+window.innerHeight:ut(Wt).top+Wt.clientHeight;so-Ct()<=_o||Ar>=_o-Zt?dr(function(So){return(0,Ee.Z)((0,Ee.Z)({},So),{},{isHiddenScrollBar:!0})}):dr(function(So){return(0,Ee.Z)((0,Ee.Z)({},So),{},{isHiddenScrollBar:!1})})}},Tr=function(Ar){dr(function(so){return(0,Ee.Z)((0,Ee.Z)({},so),{},{scrollLeft:Ar/En*un||0})})};return re.useImperativeHandle(ot,function(){return{setScrollLeft:Tr}}),re.useEffect(function(){var yr=Kn(document.body,"mouseup",fo,!1),Ar=Kn(document.body,"mousemove",_r,!1);return Nr(),function(){yr.remove(),Ar.remove()}},[Gn,$r]),re.useEffect(function(){var yr=Kn(Wt,"scroll",Nr,!1),Ar=Kn(window,"resize",Nr,!1);return function(){yr.remove(),Ar.remove()}},[Wt]),re.useEffect(function(){ir.isHiddenScrollBar||dr(function(yr){var Ar=Pt.current;return Ar?(0,Ee.Z)((0,Ee.Z)({},yr),{},{scrollLeft:Ar.scrollLeft/Ar.scrollWidth*Ar.clientWidth}):yr})},[ir.isHiddenScrollBar]),En<=un||!Gn||ir.isHiddenScrollBar?null:re.createElement("div",{style:{height:Ct(),width:un,bottom:Zt},className:"".concat(ln,"-sticky-scroll")},re.createElement("div",{onMouseDown:bo,ref:zn,className:Ce()("".concat(ln,"-sticky-scroll-bar"),(0,Pe.Z)({},"".concat(ln,"-sticky-scroll-bar-active"),$r)),style:{width:"".concat(Gn,"px"),transform:"translate3d(".concat(ir.scrollLeft,"px, 0, 0)")}}))},pt=re.forwardRef(ct);function Mt(Ue){return null}var Ft=Mt;function Ht(Ue){return null}var pn=Ht,Rn="rc-table",Vn=[],Qn={};function Yn(){return"No Data"}function tr(Ue){var Ze,ot=(0,Ee.Z)({rowKey:"key",prefixCls:Rn,emptyText:Yn},Ue),ft=ot.prefixCls,yt=ot.className,Pt=ot.rowClassName,Bt=ot.style,Zt=ot.data,Wt=ot.rowKey,ln=ot.scroll,En=ot.tableLayout,un=ot.direction,Gn=ot.title,zn=ot.footer,Zn=ot.summary,ur=ot.caption,ir=ot.id,dr=ot.showHeader,sr=ot.components,vr=ot.emptyText,Br=ot.onRow,$r=ot.onHeaderRow,Ir=ot.internalHooks,fo=ot.transformColumns,bo=ot.internalRefs,_r=ot.tailor,Nr=ot.sticky,Tr=Zt||Vn,yr=!!Tr.length,Ar=Ir===xe,so=re.useCallback(function($o,sa){return et(sr,$o)||sa},[sr]),_o=re.useMemo(function(){return typeof Wt=="function"?Wt:function($o){var sa=$o&&$o[Wt];return sa}},[Wt]),So=so(["body"]),Jr=ht(),Oo=(0,E.Z)(Jr,3),Lo=Oo[0],Yo=Oo[1],Uo=Oo[2],fa=ar(ot,Tr,_o),ga=(0,E.Z)(fa,6),Po=ga[0],va=ga[1],zo=ga[2],ia=ga[3],ra=ga[4],Ba=ga[5],oo=ln==null?void 0:ln.x,to=re.useState(0),qr=(0,E.Z)(to,2),Hr=qr[0],Ho=qr[1],Gr=ro((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},ot),Po),{},{expandable:!!Po.expandedRowRender,columnTitle:Po.columnTitle,expandedKeys:zo,getRowKey:_o,onTriggerExpand:Ba,expandIcon:ia,expandIconColumnIndex:Po.expandIconColumnIndex,direction:un,scrollWidth:Ar&&_r&&typeof oo=="number"?oo:null}),Ar?fo:null),vo=(0,E.Z)(Gr,3),Fo=vo[0],Mo=vo[1],Ra=vo[2],Ta=Ra!=null?Ra:oo,ni=re.useMemo(function(){return{columns:Fo,flattenColumns:Mo}},[Fo,Mo]),ya=re.useRef(),Ja=re.useRef(),Sa=re.useRef(),ka=re.useRef(),Ei=re.useRef(),Zo=re.useState(!1),Ko=(0,E.Z)(Zo,2),ca=Ko[0],Pa=Ko[1],Ea=re.useState(!1),Ro=(0,E.Z)(Ea,2),Ma=Ro[0],Da=Ro[1],Za=zt(new Map),oi=(0,E.Z)(Za,2),ri=oi[0],Li=oi[1],ui=Me(Mo),qa=ui.map(function($o){return ri.get($o)}),Ua=re.useMemo(function(){return qa},[qa.join("_")]),Na=Vt(Ua,Mo.length,un),wa=ln&&Ye(ln.y),ua=ln&&Ye(Ta)||!!Po.fixed,ai=ua&&Mo.some(function($o){var sa=$o.fixed;return sa}),wi=re.useRef(),vi=kn(Nr,ft),ii=vi.isSticky,ji=vi.offsetHeader,Qi=vi.offsetSummary,Bo=vi.offsetScroll,na=vi.stickyClassName,La=vi.container,da=re.useMemo(function(){return Zn==null?void 0:Zn(Tr)},[Zn,Tr]),Ia=(wa||ii)&&re.isValidElement(da)&&da.type===Nt&&da.props.fixed,za,Ha,di;wa&&(Ha={overflowY:"scroll",maxHeight:ln.y}),ua&&(za={overflowX:"auto"},wa||(Ha={overflowY:"hidden"}),di={width:Ta===!0?"auto":Ta,minWidth:"100%"});var ys=re.useCallback(function($o,sa){tn(ya.current)&&Li(function(ei){if(ei.get($o)!==sa){var yi=new Map(ei);return yi.set($o,sa),yi}return ei})},[]),Ol=fn(null),Ss=(0,E.Z)(Ol,2),Al=Ss[0],bs=Ss[1];function Fi($o,sa){sa&&(typeof sa=="function"?sa($o):sa.scrollLeft!==$o&&(sa.scrollLeft=$o,sa.scrollLeft!==$o&&setTimeout(function(){sa.scrollLeft=$o},0)))}var Ci=it(function($o){var sa=$o.currentTarget,ei=$o.scrollLeft,yi=un==="rtl",Si=typeof ei=="number"?ei:sa.scrollLeft,Ns=sa||Qn;if(!bs()||bs()===Ns){var ns;Al(Ns),Fi(Si,Ja.current),Fi(Si,Sa.current),Fi(Si,Ei.current),Fi(Si,(ns=wi.current)===null||ns===void 0?void 0:ns.setScrollLeft)}var rs=sa||Ja.current;if(rs){var os=rs.scrollWidth,as=rs.clientWidth;if(os===as){Pa(!1),Da(!1);return}yi?(Pa(-Si<os-as),Da(-Si>0)):(Pa(Si>0),Da(Si<os-as))}}),Ps=function(){ua&&Sa.current?Ci({currentTarget:Sa.current}):(Pa(!1),Da(!1))},Ll=function(sa){var ei=sa.width;ei!==Hr&&(Ps(),Ho(ya.current?ya.current.offsetWidth:ei))},Es=re.useRef(!1);re.useEffect(function(){Es.current&&Ps()},[ua,Zt,Fo.length]),re.useEffect(function(){Es.current=!0},[]);var Rl=re.useState(0),ws=(0,E.Z)(Rl,2),Bi=ws[0],Cs=ws[1],Dl=re.useState(!0),xs=(0,E.Z)(Dl,2),_s=xs[0],Il=xs[1];re.useEffect(function(){(!_r||!Ar)&&(Sa.current instanceof Element?Cs(dn(Sa.current).width):Cs(dn(ka.current).width)),Il(Dn("position","sticky"))},[]),re.useEffect(function(){Ar&&bo&&(bo.body.current=Sa.current)});var Ml=re.useCallback(function($o){return re.createElement(re.Fragment,null,re.createElement(Qr,$o),Ia==="top"&&re.createElement(xt,$o,da))},[Ia,da]),Nl=re.useCallback(function($o){return re.createElement(xt,$o,da)},[da]),Ts=so(["table"],"table"),ki=re.useMemo(function(){return En||(ai?Ta==="max-content"?"auto":"fixed":wa||ii||Mo.some(function($o){var sa=$o.ellipsis;return sa})?"fixed":"auto")},[wa,ai,Mo,En,ii]),Ji,qi={colWidths:Ua,columCount:Mo.length,stickyOffsets:Na,onHeaderRow:$r,fixHeader:wa,scroll:ln},Os=re.useMemo(function(){return yr?null:typeof vr=="function"?vr():vr},[yr,vr]),As=re.createElement(gr,{data:Tr,measureColumnWidth:wa||ua||ii}),Ls=re.createElement(Fn,{colWidths:Mo.map(function($o){var sa=$o.width;return sa}),columns:Mo}),Rs=ur!=null?re.createElement("caption",{className:"".concat(ft,"-caption")},ur):void 0,jl=co(ot,{data:!0}),Ds=co(ot,{aria:!0});if(wa||ii){var es;typeof So=="function"?(es=So(Tr,{scrollbarSize:Bi,ref:Sa,onScroll:Ci}),qi.colWidths=Mo.map(function($o,sa){var ei=$o.width,yi=sa===Mo.length-1?ei-Bi:ei;return typeof yi=="number"&&!Number.isNaN(yi)?yi:0})):es=re.createElement("div",{style:(0,Ee.Z)((0,Ee.Z)({},za),Ha),onScroll:Ci,ref:Sa,className:Ce()("".concat(ft,"-body"))},re.createElement(Ts,(0,ae.Z)({style:(0,Ee.Z)((0,Ee.Z)({},di),{},{tableLayout:ki})},Ds),Rs,Ls,As,!Ia&&da&&re.createElement(xt,{stickyOffsets:Na,flattenColumns:Mo,columns:Fo},da)));var Is=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({noData:!Tr.length,maxContentScroll:ua&&Ta==="max-content"},qi),ni),{},{direction:un,stickyClassName:na,onScroll:Ci});Ji=re.createElement(re.Fragment,null,dr!==!1&&re.createElement(fr,(0,ae.Z)({},Is,{stickyTopOffset:ji,className:"".concat(ft,"-header"),ref:Ja}),Ml),es,Ia&&Ia!=="top"&&re.createElement(fr,(0,ae.Z)({},Is,{stickyBottomOffset:Qi,className:"".concat(ft,"-summary"),ref:Ei}),Nl),ii&&re.createElement(pt,{ref:wi,offsetScroll:Bo,scrollBodyRef:Sa,onScroll:Ci,container:La}))}else Ji=re.createElement("div",{style:(0,Ee.Z)((0,Ee.Z)({},za),Ha),className:Ce()("".concat(ft,"-content")),onScroll:Ci,ref:Sa},re.createElement(Ts,(0,ae.Z)({style:(0,Ee.Z)((0,Ee.Z)({},di),{},{tableLayout:ki})},Ds),Rs,Ls,dr!==!1&&re.createElement(Qr,(0,ae.Z)({},qi,ni)),As,da&&re.createElement(xt,{stickyOffsets:Na,flattenColumns:Mo,columns:Fo},da)));var ts=re.createElement("div",(0,ae.Z)({className:Ce()(ft,yt,(Ze={},(0,Pe.Z)(Ze,"".concat(ft,"-rtl"),un==="rtl"),(0,Pe.Z)(Ze,"".concat(ft,"-ping-left"),ca),(0,Pe.Z)(Ze,"".concat(ft,"-ping-right"),Ma),(0,Pe.Z)(Ze,"".concat(ft,"-layout-fixed"),En==="fixed"),(0,Pe.Z)(Ze,"".concat(ft,"-fixed-header"),wa),(0,Pe.Z)(Ze,"".concat(ft,"-fixed-column"),ai),(0,Pe.Z)(Ze,"".concat(ft,"-scroll-horizontal"),ua),(0,Pe.Z)(Ze,"".concat(ft,"-has-fix-left"),Mo[0]&&Mo[0].fixed),(0,Pe.Z)(Ze,"".concat(ft,"-has-fix-right"),Mo[Mo.length-1]&&Mo[Mo.length-1].fixed==="right"),Ze)),style:Bt,id:ir,ref:ya},jl),Gn&&re.createElement(sn,{className:"".concat(ft,"-title")},Gn(Tr)),re.createElement("div",{ref:ka,className:"".concat(ft,"-container")},Ji),zn&&re.createElement(sn,{className:"".concat(ft,"-footer")},zn(Tr)));ua&&(ts=re.createElement(Tn.Z,{onResize:Ll},ts));var Ms=_t(Mo,Na,un,Fo),Fl=re.useMemo(function(){return{scrollX:Ta,prefixCls:ft,getComponent:so,scrollbarSize:Bi,direction:un,fixedInfoList:Ms,isSticky:ii,supportSticky:_s,componentWidth:Hr,fixHeader:wa,fixColumn:ai,horizonScroll:ua,tableLayout:ki,rowClassName:Pt,expandedRowClassName:Po.expandedRowClassName,expandIcon:ia,expandableType:va,expandRowByClick:Po.expandRowByClick,expandedRowRender:Po.expandedRowRender,onTriggerExpand:Ba,expandIconColumnIndex:Po.expandIconColumnIndex,indentSize:Po.indentSize,allColumnsFixedLeft:Mo.every(function($o){return $o.fixed==="left"}),emptyNode:Os,columns:Fo,flattenColumns:Mo,onColumnResize:ys,hoverStartRow:Lo,hoverEndRow:Yo,onHover:Uo,rowExpandable:Po.rowExpandable,onRow:Br,getRowKey:_o,expandedKeys:zo,childrenColumnName:ra}},[Ta,ft,so,Bi,un,Ms,ii,_s,Hr,wa,ai,ua,ki,Pt,Po.expandedRowClassName,ia,va,Po.expandRowByClick,Po.expandedRowRender,Ba,Po.expandIconColumnIndex,Po.indentSize,Os,Fo,Mo,ys,Lo,Yo,Uo,Po.rowExpandable,Br,_o,zo,ra]);return re.createElement(me.Provider,{value:Fl},ts)}function Jn(Ue){return z(tr,Ue)}var er=Jn();er.EXPAND_COLUMN=Se,er.INTERNAL_HOOKS=xe,er.Column=Ft,er.ColumnGroup=pn,er.Summary=lt;var Mr=er,Ur=de(73299),jr=ie(null),Yr=ie(null);function no(Ue,Ze,ot){var ft=Ze||1;return ot[Ue+ft]-(ot[Ue]||0)}function mo(Ue){var Ze=Ue.rowInfo,ot=Ue.column,ft=Ue.colIndex,yt=Ue.indent,Pt=Ue.index,Bt=Ue.renderIndex,Zt=Ue.record,Wt=Ue.style,ln=Ue.className,En=Ue.inverse,un=Ue.getHeight,Gn=ot.render,zn=ot.dataIndex,Zn=ot.className,ur=ot.width,ir=ue(Yr,["columnsOffset"]),dr=ir.columnsOffset,sr=vn(Ze,ot,ft,yt,Pt),vr=sr.key,Br=sr.fixedInfo,$r=sr.appendCellNode,Ir=sr.additionalCellProps,fo=Ir.style,bo=Ir.colSpan,_r=bo===void 0?1:bo,Nr=Ir.rowSpan,Tr=Nr===void 0?1:Nr,yr=ft-1,Ar=no(yr,_r,dr),so=_r>1?ur-Ar:0,_o=(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},fo),Wt),{},{flex:"0 0 ".concat(Ar,"px"),width:"".concat(Ar,"px"),marginRight:so,pointerEvents:"auto"}),So=re.useMemo(function(){return En?Tr<=1:_r===0||Tr===0||Tr>1},[Tr,_r,En]);So?_o.visibility="hidden":En&&(_o.height=un==null?void 0:un(Tr));var Jr=So?function(){return null}:Gn,Oo={};return(Tr===0||_r===0)&&(Oo.rowSpan=1,Oo.colSpan=1),re.createElement(Oe,(0,ae.Z)({className:Ce()(Zn,ln),ellipsis:ot.ellipsis,align:ot.align,scope:ot.rowScope,component:"div",prefixCls:Ze.prefixCls,key:vr,record:Zt,index:Pt,renderIndex:Bt,dataIndex:zn,render:Jr,shouldCellUpdate:ot.shouldCellUpdate},Br,{appendNode:$r,additionalProps:(0,Ee.Z)((0,Ee.Z)({},Ir),{},{style:_o},Oo)}))}var Er=mo,uo=["data","index","className","rowKey","style","extra","getHeight"],Co=re.forwardRef(function(Ue,Ze){var ot=Ue.data,ft=Ue.index,yt=Ue.className,Pt=Ue.rowKey,Bt=Ue.style,Zt=Ue.extra,Wt=Ue.getHeight,ln=(0,dt.Z)(Ue,uo),En=ot.record,un=ot.indent,Gn=ot.index,zn=ue(me,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Zn=zn.scrollX,ur=zn.flattenColumns,ir=zn.prefixCls,dr=zn.fixColumn,sr=zn.componentWidth,vr=cn(En,Pt,ft,un),Br=vr.rowSupportExpand,$r=vr.expanded,Ir=vr.rowProps,fo=vr.expandedRowRender,bo=vr.expandedRowClassName,_r;if(Br&&$r){var Nr=fo(En,ft,un+1,$r),Tr=bo==null?void 0:bo(En,ft,un),yr={};dr&&(yr={style:(0,Pe.Z)({},"--virtual-width","".concat(sr,"px"))});var Ar="".concat(ir,"-expanded-row-cell");_r=re.createElement("div",{className:Ce()("".concat(ir,"-expanded-row"),"".concat(ir,"-expanded-row-level-").concat(un+1),Tr)},re.createElement(Oe,{component:"div",prefixCls:ir,className:Ce()(Ar,(0,Pe.Z)({},"".concat(Ar,"-fixed"),dr)),additionalProps:yr},Nr))}var so=(0,Ee.Z)((0,Ee.Z)({},Bt),{},{width:Zn});Zt&&(so.position="absolute",so.pointerEvents="none");var _o=re.createElement("div",(0,ae.Z)({},Ir,ln,{ref:Br?null:Ze,className:Ce()(yt,"".concat(ir,"-row"),Ir==null?void 0:Ir.className,(0,Pe.Z)({},"".concat(ir,"-row-extra"),Zt)),style:(0,Ee.Z)((0,Ee.Z)({},so),Ir==null?void 0:Ir.style)}),ur.map(function(So,Jr){return re.createElement(Er,{key:Jr,rowInfo:vr,column:So,colIndex:Jr,indent:un,index:ft,renderIndex:Gn,record:En,inverse:Zt,getHeight:Wt})}));return Br?re.createElement("div",{ref:Ze},_o,_r):_o}),Io=te(Co),yo=Io,Eo=re.forwardRef(function(Ue,Ze){var ot=Ue.data,ft=Ue.onScroll,yt=ue(me,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Pt=yt.flattenColumns,Bt=yt.onColumnResize,Zt=yt.getRowKey,Wt=yt.expandedKeys,ln=yt.prefixCls,En=yt.childrenColumnName,un=yt.emptyNode,Gn=yt.scrollX,zn=ue(jr),Zn=zn.scrollY,ur=zn.listItemHeight,ir=re.useRef(),dr=Lr(ot,En,Wt,Zt),sr=re.useMemo(function(){var _r=0;return Pt.map(function(Nr){var Tr=Nr.width,yr=Nr.key;return _r+=Tr,[yr,Tr,_r]})},[Pt]),vr=re.useMemo(function(){return sr.map(function(_r){return _r[2]})},[sr]);re.useEffect(function(){sr.forEach(function(_r){var Nr=(0,E.Z)(_r,2),Tr=Nr[0],yr=Nr[1];Bt(Tr,yr)})},[sr]),re.useImperativeHandle(Ze,function(){var _r={};return Object.defineProperty(_r,"scrollLeft",{get:function(){var Tr;return((Tr=ir.current)===null||Tr===void 0?void 0:Tr.getScrollInfo().x)||0},set:function(Tr){var yr;(yr=ir.current)===null||yr===void 0||yr.scrollTo({left:Tr})}}),_r});var Br=function(Nr,Tr){var yr,Ar=(yr=dr[Tr])===null||yr===void 0?void 0:yr.record,so=Nr.onCell;if(so){var _o,So=so(Ar,Tr);return(_o=So==null?void 0:So.rowSpan)!==null&&_o!==void 0?_o:1}return 1},$r=function(Nr){var Tr=Nr.start,yr=Nr.end,Ar=Nr.getSize,so=Nr.offsetY;if(yr<0)return null;for(var _o=Pt.filter(function(oo){return Br(oo,Tr)===0}),So=Tr,Jr=function(to){if(_o=_o.filter(function(qr){return Br(qr,to)===0}),!_o.length)return So=to,"break"},Oo=Tr;Oo>=0;Oo-=1){var Lo=Jr(Oo);if(Lo==="break")break}for(var Yo=Pt.filter(function(oo){return Br(oo,yr)!==1}),Uo=yr,fa=function(to){if(Yo=Yo.filter(function(qr){return Br(qr,to)!==1}),!Yo.length)return Uo=Math.max(to-1,yr),"break"},ga=yr;ga<dr.length;ga+=1){var Po=fa(ga);if(Po==="break")break}for(var va=[],zo=function(to){var qr=dr[to];if(!qr)return"continue";Pt.some(function(Hr){return Br(Hr,to)>1})&&va.push(to)},ia=So;ia<=Uo;ia+=1)var ra=zo(ia);var Ba=va.map(function(oo){var to=dr[oo],qr=Zt(to.record,oo),Hr=function(vo){var Fo=oo+vo-1,Mo=Zt(dr[Fo].record,Fo),Ra=Ar(qr,Mo);return Ra.bottom-Ra.top},Ho=Ar(qr);return re.createElement(yo,{key:oo,data:to,rowKey:qr,index:oo,style:{top:-so+Ho.top},extra:!0,getHeight:Hr})});return Ba},Ir=re.useMemo(function(){return{columnsOffset:vr}},[vr]),fo="".concat(ln,"-tbody"),bo;return dr.length?bo=re.createElement(Ur.Z,{fullHeight:!1,ref:ir,className:Ce()(fo,"".concat(fo,"-virtual")),height:Zn,itemHeight:ur||24,data:dr,itemKey:function(Nr){return Zt(Nr.record)},scrollWidth:Gn,onVirtualScroll:function(Nr){var Tr=Nr.x;ft({scrollLeft:Tr})},extraRender:$r},function(_r,Nr,Tr){var yr=Zt(_r.record,Nr);return re.createElement(yo,(0,ae.Z)({data:_r,rowKey:yr,index:Nr},Tr))}):bo=re.createElement("div",{className:Ce()("".concat(ln,"-placeholder"))},re.createElement(Oe,{component:"div",prefixCls:ln},un)),re.createElement(Yr.Provider,{value:Ir},bo)}),hr=te(Eo),Kr=hr,To=function(Ze,ot){var ft=ot.ref,yt=ot.onScroll;return re.createElement(Kr,{ref:ft,data:Ze,onScroll:yt})},Ao=100;function wo(Ue){var Ze=Ue.columns,ot=Ue.scroll,ft=Ue.prefixCls,yt=ft===void 0?Rn:ft,Pt=Ue.className,Bt=Ue.listItemHeight,Zt=ot||{},Wt=Zt.x,ln=Zt.y;typeof Wt!="number"&&(Wt=((Ze||[]).length+1)*Ao),typeof ln!="number"&&(ln=500);var En=re.useMemo(function(){return{scrollY:ln,listItemHeight:Bt}},[ln,Bt]);return re.createElement(jr.Provider,{value:En},re.createElement(Mr,(0,ae.Z)({},Ue,{className:Ce()(Pt,"".concat(yt,"-virtual")),scroll:(0,Ee.Z)((0,Ee.Z)({},ot),{},{x:Wt}),components:{body:To},columns:Ze,internalHooks:xe,tailor:!0})))}function xo(Ue){return z(wo,Ue)}var ko=xo(),Qo=null;function oa(Ue){return null}var Do=oa;function Vo(Ue){return null}var la=Vo,ha=de(10366),aa=de(58375),Wo=de(53124),pa=de(88258),Go=de(98675),ea=de(25378),xa=de(24457),Oa=de(28452),Jo=de(57953),qo=de(46605);function ba(Ue){return function(ot){let{prefixCls:ft,onExpand:yt,record:Pt,expanded:Bt,expandable:Zt}=ot;const Wt=`${ft}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:ln=>{yt(Pt,ln),ln.stopPropagation()},className:Ce()(Wt,{[`${Wt}-spaced`]:!Zt,[`${Wt}-expanded`]:Zt&&Bt,[`${Wt}-collapsed`]:Zt&&!Bt}),"aria-label":Bt?Ue.collapse:Ue.expand,"aria-expanded":Bt})}}var Ka=ba;function ja(Ue,Ze){return"key"in Ue&&Ue.key!==void 0&&Ue.key!==null?Ue.key:Ue.dataIndex?Array.isArray(Ue.dataIndex)?Ue.dataIndex.join("."):Ue.dataIndex:Ze}function Fa(Ue,Ze){return Ze?`${Ze}-${Ue}`:`${Ue}`}function Ga(Ue,Ze){return typeof Ue=="function"?Ue(Ze):Ue}function Dr(Ue,Ze){const ot=Ga(Ue,Ze);return Object.prototype.toString.call(ot)==="[object Object]"?"":ot}var lo={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"},Xo=lo,ma=de(74643),Aa=function(Ze,ot){return re.createElement(ma.Z,(0,ae.Z)({},Ze,{ref:ot,icon:Xo}))},$a=re.forwardRef(Aa),_a=de(7699),ta=de(57838);function Va(Ue){const Ze=re.useRef(Ue),ot=(0,ta.Z)();return[()=>Ze.current,ft=>{Ze.current=ft,ot()}]}var fi=de(71577),Wa=de(84567),Xa=de(85418),ti=de(32983),bi=de(68508),Pi=de(76529),gi=de(78045),Ui=de(79870),Ri=de(72395),zi=de(69677);function Hi(Ue){let{value:Ze,onChange:ot,filterSearch:ft,tablePrefixCls:yt,locale:Pt}=Ue;return ft?re.createElement("div",{className:`${yt}-filter-dropdown-search`},re.createElement(zi.default,{prefix:re.createElement(Ri.Z,null),placeholder:Pt.filterSearchPlaceholder,onChange:ot,value:Ze,htmlSize:1,className:`${yt}-filter-dropdown-search-input`})):null}var Di=Hi,xi=de(92389);const Ca=Ue=>{const{keyCode:Ze}=Ue;Ze===xi.Z.ENTER&&Ue.stopPropagation()};var mi=re.forwardRef((Ue,Ze)=>re.createElement("div",{className:Ue.className,onClick:ot=>ot.stopPropagation(),onKeyDown:Ca,ref:Ze},Ue.children));function Ya(Ue){let Ze=[];return(Ue||[]).forEach(ot=>{let{value:ft,children:yt}=ot;Ze.push(ft),yt&&(Ze=[].concat((0,io.Z)(Ze),(0,io.Z)(Ya(yt))))}),Ze}function Qa(Ue){return Ue.some(Ze=>{let{children:ot}=Ze;return ot})}function si(Ue,Ze){return typeof Ze=="string"||typeof Ze=="number"?Ze==null?void 0:Ze.toString().toLowerCase().includes(Ue.trim().toLowerCase()):!1}function li(Ue){let{filters:Ze,prefixCls:ot,filteredKeys:ft,filterMultiple:yt,searchValue:Pt,filterSearch:Bt}=Ue;return Ze.map((Zt,Wt)=>{const ln=String(Zt.value);if(Zt.children)return{key:ln||Wt,label:Zt.text,popupClassName:`${ot}-dropdown-submenu`,children:li({filters:Zt.children,prefixCls:ot,filteredKeys:ft,filterMultiple:yt,searchValue:Pt,filterSearch:Bt})};const En=yt?Wa.default:gi.ZP,un={key:Zt.value!==void 0?ln:Wt,label:re.createElement(re.Fragment,null,re.createElement(En,{checked:ft.includes(ln)}),re.createElement("span",null,Zt.text))};return Pt.trim()?typeof Bt=="function"?Bt(Pt,Zt)?un:null:si(Pt,Zt.text)?un:null:un})}function hi(Ue){var Ze,ot;const{tablePrefixCls:ft,prefixCls:yt,column:Pt,dropdownPrefixCls:Bt,columnKey:Zt,filterMultiple:Wt,filterMode:ln="menu",filterSearch:En=!1,filterState:un,triggerFilter:Gn,locale:zn,children:Zn,getPopupContainer:ur}=Ue,{filterDropdownOpen:ir,onFilterDropdownOpenChange:dr,filterResetToDefaultFilteredValue:sr,defaultFilteredValue:vr,filterDropdownVisible:Br,onFilterDropdownVisibleChange:$r}=Pt,[Ir,fo]=re.useState(!1),bo=!!(un&&(!((Ze=un.filteredKeys)===null||Ze===void 0)&&Ze.length||un.forceFiltered)),_r=Gr=>{fo(Gr),dr==null||dr(Gr),$r==null||$r(Gr)},Nr=(ot=ir!=null?ir:Br)!==null&&ot!==void 0?ot:Ir,Tr=un==null?void 0:un.filteredKeys,[yr,Ar]=Va(Tr||[]),so=Gr=>{let{selectedKeys:vo}=Gr;Ar(vo)},_o=(Gr,vo)=>{let{node:Fo,checked:Mo}=vo;so(Wt?{selectedKeys:Gr}:{selectedKeys:Mo&&Fo.key?[Fo.key]:[]})};re.useEffect(()=>{Ir&&so({selectedKeys:Tr||[]})},[Tr]);const[So,Jr]=re.useState([]),Oo=Gr=>{Jr(Gr)},[Lo,Yo]=re.useState(""),Uo=Gr=>{const{value:vo}=Gr.target;Yo(vo)};re.useEffect(()=>{Ir||Yo("")},[Ir]);const fa=Gr=>{const vo=Gr&&Gr.length?Gr:null;if(vo===null&&(!un||!un.filteredKeys)||(0,_a.Z)(vo,un==null?void 0:un.filteredKeys,!0))return null;Gn({column:Pt,key:Zt,filteredKeys:vo})},ga=()=>{_r(!1),fa(yr())},Po=function(){let{confirm:Gr,closeDropdown:vo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Gr&&fa([]),vo&&_r(!1),Yo(""),Ar(sr?(vr||[]).map(Fo=>String(Fo)):[])},va=function(){let{closeDropdown:Gr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Gr&&_r(!1),fa(yr())},zo=Gr=>{Gr&&Tr!==void 0&&Ar(Tr||[]),_r(Gr),!Gr&&!Pt.filterDropdown&&ga()},ia=Ce()({[`${Bt}-menu-without-submenu`]:!Qa(Pt.filters||[])}),ra=Gr=>{if(Gr.target.checked){const vo=Ya(Pt==null?void 0:Pt.filters).map(Fo=>String(Fo));Ar(vo)}else Ar([])},Ba=Gr=>{let{filters:vo}=Gr;return(vo||[]).map((Fo,Mo)=>{const Ra=String(Fo.value),Ta={title:Fo.text,key:Fo.value!==void 0?Ra:Mo};return Fo.children&&(Ta.children=Ba({filters:Fo.children})),Ta})},oo=Gr=>{var vo;return Object.assign(Object.assign({},Gr),{text:Gr.title,value:Gr.key,children:((vo=Gr.children)===null||vo===void 0?void 0:vo.map(Fo=>oo(Fo)))||[]})};let to;if(typeof Pt.filterDropdown=="function")to=Pt.filterDropdown({prefixCls:`${Bt}-custom`,setSelectedKeys:Gr=>so({selectedKeys:Gr}),selectedKeys:yr(),confirm:va,clearFilters:Po,filters:Pt.filters,visible:Nr,close:()=>{_r(!1)}});else if(Pt.filterDropdown)to=Pt.filterDropdown;else{const Gr=yr()||[],vo=()=>(Pt.filters||[]).length===0?re.createElement(ti.Z,{image:ti.Z.PRESENTED_IMAGE_SIMPLE,description:zn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):ln==="tree"?re.createElement(re.Fragment,null,re.createElement(Di,{filterSearch:En,value:Lo,onChange:Uo,tablePrefixCls:ft,locale:zn}),re.createElement("div",{className:`${ft}-filter-dropdown-tree`},Wt?re.createElement(Wa.default,{checked:Gr.length===Ya(Pt.filters).length,indeterminate:Gr.length>0&&Gr.length<Ya(Pt.filters).length,className:`${ft}-filter-dropdown-checkall`,onChange:ra},zn.filterCheckall):null,re.createElement(Ui.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Wt,checkStrictly:!Wt,className:`${Bt}-menu`,onCheck:_o,checkedKeys:Gr,selectedKeys:Gr,showIcon:!1,treeData:Ba({filters:Pt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Lo.trim()?Mo=>typeof En=="function"?En(Lo,oo(Mo)):si(Lo,Mo.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(Di,{filterSearch:En,value:Lo,onChange:Uo,tablePrefixCls:ft,locale:zn}),re.createElement(bi.default,{selectable:!0,multiple:Wt,prefixCls:`${Bt}-menu`,className:ia,onSelect:so,onDeselect:so,selectedKeys:Gr,getPopupContainer:ur,openKeys:So,onOpenChange:Oo,items:li({filters:Pt.filters||[],filterSearch:En,prefixCls:yt,filteredKeys:yr(),filterMultiple:Wt,searchValue:Lo})})),Fo=()=>sr?(0,_a.Z)((vr||[]).map(Mo=>String(Mo)),Gr,!0):Gr.length===0;to=re.createElement(re.Fragment,null,vo(),re.createElement("div",{className:`${yt}-dropdown-btns`},re.createElement(fi.ZP,{type:"link",size:"small",disabled:Fo(),onClick:()=>Po()},zn.filterReset),re.createElement(fi.ZP,{type:"primary",size:"small",onClick:ga},zn.filterConfirm)))}Pt.filterDropdown&&(to=re.createElement(Pi.J,{selectable:void 0},to));const qr=()=>re.createElement(mi,{className:`${yt}-dropdown`},to);let Hr;typeof Pt.filterIcon=="function"?Hr=Pt.filterIcon(bo):Pt.filterIcon?Hr=Pt.filterIcon:Hr=re.createElement($a,null);const{direction:Ho}=re.useContext(Wo.E_);return re.createElement("div",{className:`${yt}-column`},re.createElement("span",{className:`${ft}-column-title`},Zn),re.createElement(Xa.Z,{dropdownRender:qr,trigger:["click"],open:Nr,onOpenChange:zo,getPopupContainer:ur,placement:Ho==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:Ce()(`${yt}-trigger`,{active:bo}),onClick:Gr=>{Gr.stopPropagation()}},Hr)))}var Gi=hi;function _i(Ue,Ze,ot){let ft=[];return(Ue||[]).forEach((yt,Pt)=>{var Bt;const Zt=Fa(Pt,ot);if(yt.filters||"filterDropdown"in yt||"onFilter"in yt)if("filteredValue"in yt){let Wt=yt.filteredValue;"filterDropdown"in yt||(Wt=(Bt=Wt==null?void 0:Wt.map(String))!==null&&Bt!==void 0?Bt:Wt),ft.push({column:yt,key:ja(yt,Zt),filteredKeys:Wt,forceFiltered:yt.filtered})}else ft.push({column:yt,key:ja(yt,Zt),filteredKeys:Ze&&yt.defaultFilteredValue?yt.defaultFilteredValue:void 0,forceFiltered:yt.filtered});"children"in yt&&(ft=[].concat((0,io.Z)(ft),(0,io.Z)(_i(yt.children,Ze,Zt))))}),ft}function Ti(Ue,Ze,ot,ft,yt,Pt,Bt,Zt){return ot.map((Wt,ln)=>{const En=Fa(ln,Zt),{filterMultiple:un=!0,filterMode:Gn,filterSearch:zn}=Wt;let Zn=Wt;if(Zn.filters||Zn.filterDropdown){const ur=ja(Zn,En),ir=ft.find(dr=>{let{key:sr}=dr;return ur===sr});Zn=Object.assign(Object.assign({},Zn),{title:dr=>re.createElement(Gi,{tablePrefixCls:Ue,prefixCls:`${Ue}-filter`,dropdownPrefixCls:Ze,column:Zn,columnKey:ur,filterState:ir,filterMultiple:un,filterMode:Gn,filterSearch:zn,triggerFilter:Pt,locale:yt,getPopupContainer:Bt},Ga(Wt.title,dr))})}return"children"in Zn&&(Zn=Object.assign(Object.assign({},Zn),{children:Ti(Ue,Ze,Zn.children,ft,yt,Pt,Bt,En)})),Zn})}function Oi(Ue){const Ze={};return Ue.forEach(ot=>{let{key:ft,filteredKeys:yt,column:Pt}=ot;const{filters:Bt,filterDropdown:Zt}=Pt;if(Zt)Ze[ft]=yt||null;else if(Array.isArray(yt)){const Wt=Ya(Bt);Ze[ft]=Wt.filter(ln=>yt.includes(String(ln)))}else Ze[ft]=null}),Ze}function is(Ue,Ze){return Ze.reduce((ot,ft)=>{const{column:{onFilter:yt,filters:Pt},filteredKeys:Bt}=ft;return yt&&Bt&&Bt.length?ot.filter(Zt=>Bt.some(Wt=>{const ln=Ya(Pt),En=ln.findIndex(Gn=>String(Gn)===String(Wt)),un=En!==-1?ln[En]:Wt;return yt(un,Zt)})):ot},Ue)}const ss=Ue=>Ue.flatMap(Ze=>"children"in Ze?[Ze].concat((0,io.Z)(ss(Ze.children||[]))):[Ze]);function js(Ue){let{prefixCls:Ze,dropdownPrefixCls:ot,mergedColumns:ft,onFilterChange:yt,getPopupContainer:Pt,locale:Bt}=Ue;const Zt=re.useMemo(()=>ss(ft||[]),[ft]),[Wt,ln]=re.useState(()=>_i(Zt,!0)),En=re.useMemo(()=>{const Zn=_i(Zt,!1);if(Zn.length===0)return Zn;let ur=!0,ir=!0;if(Zn.forEach(dr=>{let{filteredKeys:sr}=dr;sr!==void 0?ur=!1:ir=!1}),ur){const dr=(Zt||[]).map((sr,vr)=>ja(sr,Fa(vr)));return Wt.filter(sr=>{let{key:vr}=sr;return dr.includes(vr)}).map(sr=>{const vr=Zt[dr.findIndex(Br=>Br===sr.key)];return Object.assign(Object.assign({},sr),{column:Object.assign(Object.assign({},sr.column),vr),forceFiltered:vr.filtered})})}return Zn},[Zt,Wt]),un=re.useMemo(()=>Oi(En),[En]),Gn=Zn=>{const ur=En.filter(ir=>{let{key:dr}=ir;return dr!==Zn.key});ur.push(Zn),ln(ur),yt(Oi(ur),ur)};return[Zn=>Ti(Ze,ot,Zn,En,Bt,Gn,Pt),En,un]}var Fs=js;function Bs(Ue,Ze,ot){const ft=re.useRef({});function yt(Pt){if(!ft.current||ft.current.data!==Ue||ft.current.childrenColumnName!==Ze||ft.current.getRowKey!==ot){let Zt=function(Wt){Wt.forEach((ln,En)=>{const un=ot(ln,En);Bt.set(un,ln),ln&&typeof ln=="object"&&Ze in ln&&Zt(ln[Ze]||[])})};const Bt=new Map;Zt(Ue),ft.current={data:Ue,childrenColumnName:Ze,kvMap:Bt,getRowKey:ot}}return ft.current.kvMap.get(Pt)}return[yt]}var ks=de(38780),Us=function(Ue,Ze){var ot={};for(var ft in Ue)Object.prototype.hasOwnProperty.call(Ue,ft)&&Ze.indexOf(ft)<0&&(ot[ft]=Ue[ft]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,ft=Object.getOwnPropertySymbols(Ue);yt<ft.length;yt++)Ze.indexOf(ft[yt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,ft[yt])&&(ot[ft[yt]]=Ue[ft[yt]]);return ot};const ls=10;function zs(Ue,Ze){const ot={current:Ue.current,pageSize:Ue.pageSize};return Object.keys(Ze&&typeof Ze=="object"?Ze:{}).forEach(yt=>{const Pt=Ue[yt];typeof Pt!="function"&&(ot[yt]=Pt)}),ot}function Hs(Ue,Ze,ot){const ft=ot&&typeof ot=="object"?ot:{},{total:yt=0}=ft,Pt=Us(ft,["total"]),[Bt,Zt]=(0,re.useState)(()=>({current:"defaultCurrent"in Pt?Pt.defaultCurrent:1,pageSize:"defaultPageSize"in Pt?Pt.defaultPageSize:ls})),Wt=(0,ks.Z)(Bt,Pt,{total:yt>0?yt:Ue}),ln=Math.ceil((yt||Ue)/Wt.pageSize);Wt.current>ln&&(Wt.current=ln||1);const En=(Gn,zn)=>{Zt({current:Gn!=null?Gn:1,pageSize:zn||Wt.pageSize})},un=(Gn,zn)=>{var Zn;ot&&((Zn=ot.onChange)===null||Zn===void 0||Zn.call(ot,Gn,zn)),En(Gn,zn),Ze(Gn,zn||(Wt==null?void 0:Wt.pageSize))};return ot===!1?[{},()=>{}]:[Object.assign(Object.assign({},Wt),{onChange:un}),En]}var Gs=Hs,Ws=de(42922),cs=de(29873),Wi=de(97153),Zs=de(83898),Ks=de(5663);const pi={},Zi="SELECT_ALL",Ki="SELECT_INVERT",$i="SELECT_NONE",us=[],ds=(Ue,Ze)=>{let ot=[];return(Ze||[]).forEach(ft=>{ot.push(ft),ft&&typeof ft=="object"&&Ue in ft&&(ot=[].concat((0,io.Z)(ot),(0,io.Z)(ds(Ue,ft[Ue]))))}),ot};var $s=(Ue,Ze)=>{const{preserveSelectedRowKeys:ot,selectedRowKeys:ft,defaultSelectedRowKeys:yt,getCheckboxProps:Pt,onChange:Bt,onSelect:Zt,onSelectAll:Wt,onSelectInvert:ln,onSelectNone:En,onSelectMultiple:un,columnWidth:Gn,type:zn,selections:Zn,fixed:ur,renderCell:ir,hideSelectAll:dr,checkStrictly:sr=!0}=Ze||{},{prefixCls:vr,data:Br,pageData:$r,getRecordByKey:Ir,getRowKey:fo,expandType:bo,childrenColumnName:_r,locale:Nr,getPopupContainer:Tr}=Ue,[yr,Ar]=(0,Ks.Z)(ft||yt||us,{value:ft}),so=re.useRef(new Map),_o=(0,re.useCallback)(oo=>{if(ot){const to=new Map;oo.forEach(qr=>{let Hr=Ir(qr);!Hr&&so.current.has(qr)&&(Hr=so.current.get(qr)),to.set(qr,Hr)}),so.current=to}},[Ir,ot]);re.useEffect(()=>{_o(yr)},[yr]);const{keyEntities:So}=(0,re.useMemo)(()=>{if(sr)return{keyEntities:null};let oo=Br;if(ot){const to=new Set(Br.map((Hr,Ho)=>fo(Hr,Ho))),qr=Array.from(so.current).reduce((Hr,Ho)=>{let[Gr,vo]=Ho;return to.has(Gr)?Hr:Hr.concat(vo)},[]);oo=[].concat((0,io.Z)(oo),(0,io.Z)(qr))}return(0,Zs.I8)(oo,{externalGetKey:fo,childrenPropName:_r})},[Br,fo,sr,_r,ot]),Jr=(0,re.useMemo)(()=>ds(_r,$r),[_r,$r]),Oo=(0,re.useMemo)(()=>{const oo=new Map;return Jr.forEach((to,qr)=>{const Hr=fo(to,qr),Ho=(Pt?Pt(to):null)||{};oo.set(Hr,Ho)}),oo},[Jr,fo,Pt]),Lo=(0,re.useCallback)(oo=>{var to;return!!(!((to=Oo.get(fo(oo)))===null||to===void 0)&&to.disabled)},[Oo,fo]),[Yo,Uo]=(0,re.useMemo)(()=>{if(sr)return[yr||[],[]];const{checkedKeys:oo,halfCheckedKeys:to}=(0,Wi.S)(yr,!0,So,Lo);return[oo||[],to]},[yr,sr,So,Lo]),fa=(0,re.useMemo)(()=>{const oo=zn==="radio"?Yo.slice(0,1):Yo;return new Set(oo)},[Yo,zn]),ga=(0,re.useMemo)(()=>zn==="radio"?new Set:new Set(Uo),[Uo,zn]),[Po,va]=(0,re.useState)(null);re.useEffect(()=>{Ze||Ar(us)},[!!Ze]);const zo=(0,re.useCallback)((oo,to)=>{let qr,Hr;_o(oo),ot?(qr=oo,Hr=oo.map(Ho=>so.current.get(Ho))):(qr=[],Hr=[],oo.forEach(Ho=>{const Gr=Ir(Ho);Gr!==void 0&&(qr.push(Ho),Hr.push(Gr))})),Ar(qr),Bt==null||Bt(qr,Hr,{type:to})},[Ar,Ir,Bt,ot]),ia=(0,re.useCallback)((oo,to,qr,Hr)=>{if(Zt){const Ho=qr.map(Gr=>Ir(Gr));Zt(Ir(oo),to,Ho,Hr)}zo(qr,"single")},[Zt,Ir,zo]),ra=(0,re.useMemo)(()=>!Zn||dr?null:(Zn===!0?[Zi,Ki,$i]:Zn).map(to=>to===Zi?{key:"all",text:Nr.selectionAll,onSelect(){zo(Br.map((qr,Hr)=>fo(qr,Hr)).filter(qr=>{const Hr=Oo.get(qr);return!(Hr!=null&&Hr.disabled)||fa.has(qr)}),"all")}}:to===Ki?{key:"invert",text:Nr.selectInvert,onSelect(){const qr=new Set(fa);$r.forEach((Ho,Gr)=>{const vo=fo(Ho,Gr),Fo=Oo.get(vo);Fo!=null&&Fo.disabled||(qr.has(vo)?qr.delete(vo):qr.add(vo))});const Hr=Array.from(qr);ln&&ln(Hr),zo(Hr,"invert")}}:to===$i?{key:"none",text:Nr.selectNone,onSelect(){En==null||En(),zo(Array.from(fa).filter(qr=>{const Hr=Oo.get(qr);return Hr==null?void 0:Hr.disabled}),"none")}}:to).map(to=>Object.assign(Object.assign({},to),{onSelect:function(){for(var qr,Hr,Ho=arguments.length,Gr=new Array(Ho),vo=0;vo<Ho;vo++)Gr[vo]=arguments[vo];(Hr=to.onSelect)===null||Hr===void 0||(qr=Hr).call.apply(qr,[to].concat(Gr)),va(null)}})),[Zn,fa,$r,fo,ln,zo]);return[(0,re.useCallback)(oo=>{var to;if(!Ze)return oo.filter(Zo=>Zo!==pi);let qr=(0,io.Z)(oo);const Hr=new Set(fa),Ho=Jr.map(fo).filter(Zo=>!Oo.get(Zo).disabled),Gr=Ho.every(Zo=>Hr.has(Zo)),vo=Ho.some(Zo=>Hr.has(Zo)),Fo=()=>{const Zo=[];Gr?Ho.forEach(ca=>{Hr.delete(ca),Zo.push(ca)}):Ho.forEach(ca=>{Hr.has(ca)||(Hr.add(ca),Zo.push(ca))});const Ko=Array.from(Hr);Wt==null||Wt(!Gr,Ko.map(ca=>Ir(ca)),Zo.map(ca=>Ir(ca))),zo(Ko,"all"),va(null)};let Mo;if(zn!=="radio"){let Zo;if(ra){const Ro={getPopupContainer:Tr,items:ra.map((Ma,Da)=>{const{key:Za,text:oi,onSelect:ri}=Ma;return{key:Za!=null?Za:Da,onClick:()=>{ri==null||ri(Ho)},label:oi}})};Zo=re.createElement("div",{className:`${vr}-selection-extra`},re.createElement(Xa.Z,{menu:Ro,getPopupContainer:Tr},re.createElement("span",null,re.createElement(Ws.Z,null))))}const Ko=Jr.map((Ro,Ma)=>{const Da=fo(Ro,Ma),Za=Oo.get(Da)||{};return Object.assign({checked:Hr.has(Da)},Za)}).filter(Ro=>{let{disabled:Ma}=Ro;return Ma}),ca=!!Ko.length&&Ko.length===Jr.length,Pa=ca&&Ko.every(Ro=>{let{checked:Ma}=Ro;return Ma}),Ea=ca&&Ko.some(Ro=>{let{checked:Ma}=Ro;return Ma});Mo=!dr&&re.createElement("div",{className:`${vr}-selection`},re.createElement(Wa.default,{checked:ca?Pa:!!Jr.length&&Gr,indeterminate:ca?!Pa&&Ea:!Gr&&vo,onChange:Fo,disabled:Jr.length===0||ca,"aria-label":Zo?"Custom selection":"Select all",skipGroup:!0}),Zo)}let Ra;zn==="radio"?Ra=(Zo,Ko,ca)=>{const Pa=fo(Ko,ca),Ea=Hr.has(Pa);return{node:re.createElement(gi.ZP,Object.assign({},Oo.get(Pa),{checked:Ea,onClick:Ro=>Ro.stopPropagation(),onChange:Ro=>{Hr.has(Pa)||ia(Pa,!0,[Pa],Ro.nativeEvent)}})),checked:Ea}}:Ra=(Zo,Ko,ca)=>{var Pa;const Ea=fo(Ko,ca),Ro=Hr.has(Ea),Ma=ga.has(Ea),Da=Oo.get(Ea);let Za;return bo==="nest"?Za=Ma:Za=(Pa=Da==null?void 0:Da.indeterminate)!==null&&Pa!==void 0?Pa:Ma,{node:re.createElement(Wa.default,Object.assign({},Da,{indeterminate:Za,checked:Ro,skipGroup:!0,onClick:oi=>oi.stopPropagation(),onChange:oi=>{let{nativeEvent:ri}=oi;const{shiftKey:Li}=ri;let ui=-1,qa=-1;if(Li&&sr){const Ua=new Set([Po,Ea]);Ho.some((Na,wa)=>{if(Ua.has(Na))if(ui===-1)ui=wa;else return qa=wa,!0;return!1})}if(qa!==-1&&ui!==qa&&sr){const Ua=Ho.slice(ui,qa+1),Na=[];Ro?Ua.forEach(ua=>{Hr.has(ua)&&(Na.push(ua),Hr.delete(ua))}):Ua.forEach(ua=>{Hr.has(ua)||(Na.push(ua),Hr.add(ua))});const wa=Array.from(Hr);un==null||un(!Ro,wa.map(ua=>Ir(ua)),Na.map(ua=>Ir(ua))),zo(wa,"multiple")}else{const Ua=Yo;if(sr){const Na=Ro?(0,cs._5)(Ua,Ea):(0,cs.L0)(Ua,Ea);ia(Ea,!Ro,Na,ri)}else{const Na=(0,Wi.S)([].concat((0,io.Z)(Ua),[Ea]),!0,So,Lo),{checkedKeys:wa,halfCheckedKeys:ua}=Na;let ai=wa;if(Ro){const wi=new Set(wa);wi.delete(Ea),ai=(0,Wi.S)(Array.from(wi),{checked:!1,halfCheckedKeys:ua},So,Lo).checkedKeys}ia(Ea,!Ro,ai,ri)}}va(Ro?null:Ea)}})),checked:Ro}};const Ta=(Zo,Ko,ca)=>{const{node:Pa,checked:Ea}=Ra(Zo,Ko,ca);return ir?ir(Ea,Ko,ca,Pa):Pa};if(!qr.includes(pi))if(qr.findIndex(Zo=>{var Ko;return((Ko=Zo[kr])===null||Ko===void 0?void 0:Ko.columnType)==="EXPAND_COLUMN"})===0){const[Zo,...Ko]=qr;qr=[Zo,pi].concat((0,io.Z)(Ko))}else qr=[pi].concat((0,io.Z)(qr));const ni=qr.indexOf(pi);qr=qr.filter((Zo,Ko)=>Zo!==pi||Ko===ni);const ya=qr[ni-1],Ja=qr[ni+1];let Sa=ur;Sa===void 0&&((Ja==null?void 0:Ja.fixed)!==void 0?Sa=Ja.fixed:(ya==null?void 0:ya.fixed)!==void 0&&(Sa=ya.fixed)),Sa&&ya&&((to=ya[kr])===null||to===void 0?void 0:to.columnType)==="EXPAND_COLUMN"&&ya.fixed===void 0&&(ya.fixed=Sa);const ka=Ce()(`${vr}-selection-col`,{[`${vr}-selection-col-with-dropdown`]:Zn&&zn==="checkbox"}),Ei={fixed:Sa,width:Gn,className:`${vr}-selection-column`,title:Ze.columnTitle||Mo,render:Ta,onCell:Ze.onCell,[kr]:{className:ka}};return qr.map(Zo=>Zo===pi?Ei:Zo)},[fo,Jr,Ze,Yo,fa,ga,Gn,ra,bo,Po,Oo,un,ia,Lo]),fa]},Vs=de(33463),Xs=de(28575),Ys=de(83062);const Ii="ascend",Vi="descend";function Mi(Ue){return typeof Ue.sorter=="object"&&typeof Ue.sorter.multiple=="number"?Ue.sorter.multiple:!1}function fs(Ue){return typeof Ue=="function"?Ue:Ue&&typeof Ue=="object"&&Ue.compare?Ue.compare:!1}function Qs(Ue,Ze){return Ze?Ue[Ue.indexOf(Ze)+1]:Ue[0]}function Xi(Ue,Ze,ot){let ft=[];function yt(Pt,Bt){ft.push({column:Pt,key:ja(Pt,Bt),multiplePriority:Mi(Pt),sortOrder:Pt.sortOrder})}return(Ue||[]).forEach((Pt,Bt)=>{const Zt=Fa(Bt,ot);Pt.children?("sortOrder"in Pt&&yt(Pt,Zt),ft=[].concat((0,io.Z)(ft),(0,io.Z)(Xi(Pt.children,Ze,Zt)))):Pt.sorter&&("sortOrder"in Pt?yt(Pt,Zt):Ze&&Pt.defaultSortOrder&&ft.push({column:Pt,key:ja(Pt,Zt),multiplePriority:Mi(Pt),sortOrder:Pt.defaultSortOrder}))}),ft}function gs(Ue,Ze,ot,ft,yt,Pt,Bt,Zt){return(Ze||[]).map((Wt,ln)=>{const En=Fa(ln,Zt);let un=Wt;if(un.sorter){const Gn=un.sortDirections||yt,zn=un.showSorterTooltip===void 0?Bt:un.showSorterTooltip,Zn=ja(un,En),ur=ot.find(bo=>{let{key:_r}=bo;return _r===Zn}),ir=ur?ur.sortOrder:null,dr=Qs(Gn,ir);let sr;if(Wt.sortIcon)sr=Wt.sortIcon({sortOrder:ir});else{const bo=Gn.includes(Ii)&&re.createElement(Xs.Z,{className:Ce()(`${Ue}-column-sorter-up`,{active:ir===Ii})}),_r=Gn.includes(Vi)&&re.createElement(Vs.Z,{className:Ce()(`${Ue}-column-sorter-down`,{active:ir===Vi})});sr=re.createElement("span",{className:Ce()(`${Ue}-column-sorter`,{[`${Ue}-column-sorter-full`]:!!(bo&&_r)})},re.createElement("span",{className:`${Ue}-column-sorter-inner`,"aria-hidden":"true"},bo,_r))}const{cancelSort:vr,triggerAsc:Br,triggerDesc:$r}=Pt||{};let Ir=vr;dr===Vi?Ir=$r:dr===Ii&&(Ir=Br);const fo=typeof zn=="object"?zn:{title:Ir};un=Object.assign(Object.assign({},un),{className:Ce()(un.className,{[`${Ue}-column-sort`]:ir}),title:bo=>{const _r=re.createElement("div",{className:`${Ue}-column-sorters`},re.createElement("span",{className:`${Ue}-column-title`},Ga(Wt.title,bo)),sr);return zn?re.createElement(Ys.Z,Object.assign({},fo),_r):_r},onHeaderCell:bo=>{const _r=Wt.onHeaderCell&&Wt.onHeaderCell(bo)||{},Nr=_r.onClick,Tr=_r.onKeyDown;_r.onClick=so=>{ft({column:Wt,key:Zn,sortOrder:dr,multiplePriority:Mi(Wt)}),Nr==null||Nr(so)},_r.onKeyDown=so=>{so.keyCode===xi.Z.ENTER&&(ft({column:Wt,key:Zn,sortOrder:dr,multiplePriority:Mi(Wt)}),Tr==null||Tr(so))};const yr=Dr(Wt.title,{}),Ar=yr==null?void 0:yr.toString();return ir?_r["aria-sort"]=ir==="ascend"?"ascending":"descending":_r["aria-label"]=Ar||"",_r.className=Ce()(_r.className,`${Ue}-column-has-sorters`),_r.tabIndex=0,Wt.ellipsis&&(_r.title=(yr!=null?yr:"").toString()),_r}})}return"children"in un&&(un=Object.assign(Object.assign({},un),{children:gs(Ue,un.children,ot,ft,yt,Pt,Bt,En)})),un})}function ms(Ue){const{column:Ze,sortOrder:ot}=Ue;return{column:Ze,order:ot,field:Ze.dataIndex,columnKey:Ze.key}}function hs(Ue){const Ze=Ue.filter(ot=>{let{sortOrder:ft}=ot;return ft}).map(ms);return Ze.length===0&&Ue.length?Object.assign(Object.assign({},ms(Ue[Ue.length-1])),{column:void 0}):Ze.length<=1?Ze[0]||{}:Ze}function Yi(Ue,Ze,ot){const ft=Ze.slice().sort((Bt,Zt)=>Zt.multiplePriority-Bt.multiplePriority),yt=Ue.slice(),Pt=ft.filter(Bt=>{let{column:{sorter:Zt},sortOrder:Wt}=Bt;return fs(Zt)&&Wt});return Pt.length?yt.sort((Bt,Zt)=>{for(let Wt=0;Wt<Pt.length;Wt+=1){const ln=Pt[Wt],{column:{sorter:En},sortOrder:un}=ln,Gn=fs(En);if(Gn&&un){const zn=Gn(Bt,Zt,un);if(zn!==0)return un===Ii?zn:-zn}}return 0}).map(Bt=>{const Zt=Bt[ot];return Zt?Object.assign(Object.assign({},Bt),{[ot]:Yi(Zt,Ze,ot)}):Bt}):yt}function Js(Ue){let{prefixCls:Ze,mergedColumns:ot,onSorterChange:ft,sortDirections:yt,tableLocale:Pt,showSorterTooltip:Bt}=Ue;const[Zt,Wt]=re.useState(Xi(ot,!0)),ln=re.useMemo(()=>{let Zn=!0;const ur=Xi(ot,!1);if(!ur.length)return Zt;const ir=[];function dr(vr){Zn?ir.push(vr):ir.push(Object.assign(Object.assign({},vr),{sortOrder:null}))}let sr=null;return ur.forEach(vr=>{sr===null?(dr(vr),vr.sortOrder&&(vr.multiplePriority===!1?Zn=!1:sr=!0)):(sr&&vr.multiplePriority!==!1||(Zn=!1),dr(vr))}),ir},[ot,Zt]),En=re.useMemo(()=>{const Zn=ln.map(ur=>{let{column:ir,sortOrder:dr}=ur;return{column:ir,order:dr}});return{sortColumns:Zn,sortColumn:Zn[0]&&Zn[0].column,sortOrder:Zn[0]&&Zn[0].order}},[ln]);function un(Zn){let ur;Zn.multiplePriority===!1||!ln.length||ln[0].multiplePriority===!1?ur=[Zn]:ur=[].concat((0,io.Z)(ln.filter(ir=>{let{key:dr}=ir;return dr!==Zn.key})),[Zn]),Wt(ur),ft(hs(ur),ur)}return[Zn=>gs(Ze,Zn,ln,un,yt,Pt,Bt),ln,En,()=>hs(ln)]}function ps(Ue,Ze){return Ue.map(ot=>{const ft=Object.assign({},ot);return ft.title=Ga(ot.title,Ze),"children"in ft&&(ft.children=ps(ft.children,Ze)),ft})}function el(Ue){return[re.useCallback(ot=>ps(ot,Ue),[Ue])]}var tl=Jn((Ue,Ze)=>{const{_renderTimes:ot}=Ue,{_renderTimes:ft}=Ze;return ot!==ft}),nl=xo((Ue,Ze)=>{const{_renderTimes:ot}=Ue,{_renderTimes:ft}=Ze;return ot!==ft}),Ai=de(84780),Ni=de(14747),rl=de(67968),ol=de(45503),al=Ue=>{const{componentCls:Ze}=Ue,ot=`${Ue.lineWidth}px ${Ue.lineType} ${Ue.tableBorderColor}`,ft=(yt,Pt,Bt)=>({[`&${Ze}-${yt}`]:{[`> ${Ze}-container`]:{[`> ${Ze}-content, > ${Ze}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ze}-expanded-row-fixed`]:{margin:`-${Pt}px -${Bt+Ue.lineWidth}px`}}}}}});return{[`${Ze}-wrapper`]:{[`${Ze}${Ze}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ze}-title`]:{border:ot,borderBottom:0},[`> ${Ze}-container`]:{borderInlineStart:ot,borderTop:ot,[`
> ${Ze}-content,
> ${Ze}-header,
> ${Ze}-body,
> ${Ze}-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:ot},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ot},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ze}-cell-fix-right-first::after`]:{borderInlineEnd:ot}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ze}-expanded-row-fixed`]:{margin:`-${Ue.tablePaddingVertical}px -${Ue.tablePaddingHorizontal+Ue.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ue.lineWidth,bottom:0,borderInlineEnd:ot,content:'""'}}}}}},[`&${Ze}-scroll-horizontal`]:{[`> ${Ze}-container > ${Ze}-body`]:{"> table > tbody":{[`
> tr${Ze}-expanded-row,
> tr${Ze}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ft("middle",Ue.tablePaddingVerticalMiddle,Ue.tablePaddingHorizontalMiddle)),ft("small",Ue.tablePaddingVerticalSmall,Ue.tablePaddingHorizontalSmall)),{[`> ${Ze}-footer`]:{border:ot,borderTop:0}}),[`${Ze}-cell`]:{[`${Ze}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ue.lineWidth}px 0 ${Ue.lineWidth}px ${Ue.tableHeaderBg}`}},[`${Ze}-bordered ${Ze}-cell-scrollbar`]:{borderInlineEnd:ot}}}},il=Ue=>{const{componentCls:Ze}=Ue;return{[`${Ze}-wrapper`]:{[`${Ze}-cell-ellipsis`]:Object.assign(Object.assign({},Ni.vS),{wordBreak:"keep-all",[`
&${Ze}-cell-fix-left-last,
&${Ze}-cell-fix-right-first
`]:{overflow:"visible",[`${Ze}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ze}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},sl=Ue=>{const{componentCls:Ze}=Ue;return{[`${Ze}-wrapper`]:{[`${Ze}-tbody > tr${Ze}-placeholder`]:{textAlign:"center",color:Ue.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ue.colorBgContainer}}}}},ll=de(49867),cl=Ue=>{const{componentCls:Ze,antCls:ot,controlInteractiveSize:ft,motionDurationSlow:yt,lineWidth:Pt,paddingXS:Bt,lineType:Zt,tableBorderColor:Wt,tableExpandIconBg:ln,tableExpandColumnWidth:En,borderRadius:un,fontSize:Gn,fontSizeSM:zn,lineHeight:Zn,tablePaddingVertical:ur,tablePaddingHorizontal:ir,tableExpandedRowBg:dr,paddingXXS:sr}=Ue,vr=ft/2-Pt,Br=vr*2+Pt*3,$r=`${Pt}px ${Zt} ${Wt}`,Ir=sr-Pt;return{[`${Ze}-wrapper`]:{[`${Ze}-expand-icon-col`]:{width:En},[`${Ze}-row-expand-icon-cell`]:{textAlign:"center",[`${Ze}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ze}-row-indent`]:{height:1,float:"left"},[`${Ze}-row-expand-icon`]:Object.assign(Object.assign({},(0,ll.N)(Ue)),{position:"relative",float:"left",boxSizing:"border-box",width:Br,height:Br,padding:0,color:"inherit",lineHeight:`${Br}px`,background:ln,border:$r,borderRadius:un,transform:`scale(${ft/Br})`,transition:`all ${yt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${yt} ease-out`,content:'""'},"&::before":{top:vr,insetInlineEnd:Ir,insetInlineStart:Ir,height:Pt},"&::after":{top:Ir,bottom:Ir,insetInlineStart:vr,width:Pt,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"}}),[`${Ze}-row-indent + ${Ze}-row-expand-icon`]:{marginTop:(Gn*Zn-Pt*3)/2-Math.ceil((zn*1.4-Pt*3)/2),marginInlineEnd:Bt},[`tr${Ze}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:dr}},[`${ot}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ze}-expanded-row-fixed`]:{position:"relative",margin:`-${ur}px -${ir}px`,padding:`${ur}px ${ir}px`}}}},ul=Ue=>{const{componentCls:Ze,antCls:ot,iconCls:ft,tableFilterDropdownWidth:yt,tableFilterDropdownSearchWidth:Pt,paddingXXS:Bt,paddingXS:Zt,colorText:Wt,lineWidth:ln,lineType:En,tableBorderColor:un,tableHeaderIconColor:Gn,fontSizeSM:zn,tablePaddingHorizontal:Zn,borderRadius:ur,motionDurationSlow:ir,colorTextDescription:dr,colorPrimary:sr,tableHeaderFilterActiveBg:vr,colorTextDisabled:Br,tableFilterDropdownBg:$r,tableFilterDropdownHeight:Ir,controlItemBgHover:fo,controlItemBgActive:bo,boxShadowSecondary:_r,filterDropdownMenuBg:Nr}=Ue,Tr=`${ot}-dropdown`,yr=`${Ze}-filter-dropdown`,Ar=`${ot}-tree`,so=`${ln}px ${En} ${un}`;return[{[`${Ze}-wrapper`]:{[`${Ze}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ze}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Bt,marginInline:`${Bt}px ${-Zn/2}px`,padding:`0 ${Bt}px`,color:Gn,fontSize:zn,borderRadius:ur,cursor:"pointer",transition:`all ${ir}`,"&:hover":{color:dr,background:vr},"&.active":{color:sr}}}},{[`${ot}-dropdown`]:{[yr]:Object.assign(Object.assign({},(0,Ni.Wf)(Ue)),{minWidth:yt,backgroundColor:$r,borderRadius:ur,boxShadow:_r,overflow:"hidden",[`${Tr}-menu`]:{maxHeight:Ir,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Nr,"&:empty::after":{display:"block",padding:`${Zt}px 0`,color:Br,fontSize:zn,textAlign:"center",content:'"Not Found"'}},[`${yr}-tree`]:{paddingBlock:`${Zt}px 0`,paddingInline:Zt,[Ar]:{padding:0},[`${Ar}-treenode ${Ar}-node-content-wrapper:hover`]:{backgroundColor:fo},[`${Ar}-treenode-checkbox-checked ${Ar}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:bo}}},[`${yr}-search`]:{padding:Zt,borderBottom:so,"&-input":{input:{minWidth:Pt},[ft]:{color:Br}}},[`${yr}-checkall`]:{width:"100%",marginBottom:Bt,marginInlineStart:Bt},[`${yr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Zt-ln}px ${Zt}px`,overflow:"hidden",borderTop:so}})}},{[`${ot}-dropdown ${yr}, ${yr}-submenu`]:{[`${ot}-checkbox-wrapper + span`]:{paddingInlineStart:Zt,color:Wt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},dl=Ue=>{const{componentCls:Ze,lineWidth:ot,colorSplit:ft,motionDurationSlow:yt,zIndexTableFixed:Pt,tableBg:Bt,zIndexTableSticky:Zt}=Ue,Wt=ft;return{[`${Ze}-wrapper`]:{[`
${Ze}-cell-fix-left,
${Ze}-cell-fix-right
`]:{position:"sticky !important",zIndex:Pt,background:Bt},[`
${Ze}-cell-fix-left-first::after,
${Ze}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ot,width:30,transform:"translateX(100%)",transition:`box-shadow ${yt}`,content:'""',pointerEvents:"none"},[`${Ze}-cell-fix-left-all::after`]:{display:"none"},[`
${Ze}-cell-fix-right-first::after,
${Ze}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-ot,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${yt}`,content:'""',pointerEvents:"none"},[`${Ze}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Zt+1,width:30,transition:`box-shadow ${yt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ze}-ping-left`]:{[`&:not(${Ze}-has-fix-left) ${Ze}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Wt}`}},[`
${Ze}-cell-fix-left-first::after,
${Ze}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Wt}`},[`${Ze}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ze}-ping-right`]:{[`&:not(${Ze}-has-fix-right) ${Ze}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Wt}`}},[`
${Ze}-cell-fix-right-first::after,
${Ze}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Wt}`}}}}},fl=Ue=>{const{componentCls:Ze,antCls:ot}=Ue;return{[`${Ze}-wrapper`]:{[`${Ze}-pagination${ot}-pagination`]:{margin:`${Ue.margin}px 0`},[`${Ze}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ue.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},gl=Ue=>{const{componentCls:Ze,tableRadius:ot}=Ue;return{[`${Ze}-wrapper`]:{[Ze]:{[`${Ze}-title, ${Ze}-header`]:{borderRadius:`${ot}px ${ot}px 0 0`},[`${Ze}-title + ${Ze}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ze}-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:ot,borderStartEndRadius:ot,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ot},"> *:last-child":{borderStartEndRadius:ot}}},"&-footer":{borderRadius:`0 0 ${ot}px ${ot}px`}}}}},ml=Ue=>{const{componentCls:Ze}=Ue;return{[`${Ze}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ze}-pagination-left`]:{justifyContent:"flex-end"},[`${Ze}-pagination-right`]:{justifyContent:"flex-start"},[`${Ze}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ze}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ze}-row-indent`]:{float:"right"}}}}},hl=Ue=>{const{componentCls:Ze,antCls:ot,iconCls:ft,fontSizeIcon:yt,padding:Pt,paddingXS:Bt,tableHeaderIconColor:Zt,tableHeaderIconColorHover:Wt,tableSelectionColumnWidth:ln}=Ue;return{[`${Ze}-wrapper`]:{[`${Ze}-selection-col`]:{width:ln,[`&${Ze}-selection-col-with-dropdown`]:{width:ln+yt+Pt/4}},[`${Ze}-bordered ${Ze}-selection-col`]:{width:ln+Bt*2,[`&${Ze}-selection-col-with-dropdown`]:{width:ln+yt+Pt/4+Bt*2}},[`
table tr th${Ze}-selection-column,
table tr td${Ze}-selection-column
`]:{paddingInlineEnd:Ue.paddingXS,paddingInlineStart:Ue.paddingXS,textAlign:"center",[`${ot}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ze}-selection-column${Ze}-cell-fix-left`]:{zIndex:Ue.zIndexTableFixed+1},[`table tr th${Ze}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ze}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ze}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ue.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ue.tablePaddingHorizontal/4}px`,[ft]:{color:Zt,fontSize:yt,verticalAlign:"baseline","&:hover":{color:Wt}}}}}},pl=Ue=>{const{componentCls:Ze}=Ue,ot=(ft,yt,Pt,Bt)=>({[`${Ze}${Ze}-${ft}`]:{fontSize:Bt,[`
${Ze}-title,
${Ze}-footer,
${Ze}-cell,
${Ze}-thead > tr > th,
${Ze}-tbody > tr > th,
${Ze}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${yt}px ${Pt}px`},[`${Ze}-filter-trigger`]:{marginInlineEnd:`-${Pt/2}px`},[`${Ze}-expanded-row-fixed`]:{margin:`-${yt}px -${Pt}px`},[`${Ze}-tbody`]:{[`${Ze}-wrapper:only-child ${Ze}`]:{marginBlock:`-${yt}px`,marginInline:`${Ue.tableExpandColumnWidth-Pt}px -${Pt}px`}},[`${Ze}-selection-column`]:{paddingInlineStart:`${Pt/4}px`}}});return{[`${Ze}-wrapper`]:Object.assign(Object.assign({},ot("middle",Ue.tablePaddingVerticalMiddle,Ue.tablePaddingHorizontalMiddle,Ue.tableFontSizeMiddle)),ot("small",Ue.tablePaddingVerticalSmall,Ue.tablePaddingHorizontalSmall,Ue.tableFontSizeSmall))}},vl=Ue=>{const{componentCls:Ze,marginXXS:ot,fontSizeIcon:ft,tableHeaderIconColor:yt,tableHeaderIconColorHover:Pt}=Ue;return{[`${Ze}-wrapper`]:{[`${Ze}-thead th${Ze}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ue.motionDurationSlow}`,"&:hover":{background:Ue.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ue.colorPrimary},[`
&${Ze}-cell-fix-left:hover,
&${Ze}-cell-fix-right:hover
`]:{background:Ue.tableFixedHeaderSortActiveBg}},[`${Ze}-thead th${Ze}-column-sort`]:{background:Ue.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ze}-column-sort`]:{background:Ue.tableBodySortBg},[`${Ze}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ze}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ze}-column-sorter`]:{marginInlineStart:ot,color:yt,fontSize:0,transition:`color ${Ue.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ft,"&.active":{color:Ue.colorPrimary}},[`${Ze}-column-sorter-up + ${Ze}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ze}-column-sorters:hover ${Ze}-column-sorter`]:{color:Pt}}}},yl=Ue=>{const{componentCls:Ze,opacityLoading:ot,tableScrollThumbBg:ft,tableScrollThumbBgHover:yt,tableScrollThumbSize:Pt,tableScrollBg:Bt,zIndexTableSticky:Zt,stickyScrollBarBorderRadius:Wt}=Ue,ln=`${Ue.lineWidth}px ${Ue.lineType} ${Ue.tableBorderColor}`;return{[`${Ze}-wrapper`]:{[`${Ze}-sticky`]:{"&-holder":{position:"sticky",zIndex:Zt,background:Ue.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Pt}px !important`,zIndex:Zt,display:"flex",alignItems:"center",background:Bt,borderTop:ln,opacity:ot,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Pt,backgroundColor:ft,borderRadius:Wt,transition:`all ${Ue.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:yt}}}}}}},vs=Ue=>{const{componentCls:Ze,lineWidth:ot,tableBorderColor:ft}=Ue,yt=`${ot}px ${Ue.lineType} ${ft}`;return{[`${Ze}-wrapper`]:{[`${Ze}-summary`]:{position:"relative",zIndex:Ue.zIndexTableFixed,background:Ue.tableBg,"> tr":{"> th, > td":{borderBottom:yt}}},[`div${Ze}-summary`]:{boxShadow:`0 -${ot}px 0 ${ft}`}}}},Sl=Ue=>{const{componentCls:Ze}=Ue,ot=`${Ue.lineWidth}px ${Ue.lineType} ${Ue.tableBorderColor}`,ft=`${Ze}-expanded-row-cell`;return{[`${Ze}-wrapper`]:{[`${Ze}-tbody-virtual`]:{[`${Ze}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ze}-cell`]:{borderBottom:ot},[`${Ze}-expanded-row`]:{[`${ft}${ft}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ue.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ze}-bordered`]:{[`${Ze}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ot,position:"absolute"},[`${Ze}-cell`]:{borderInlineEnd:ot,[`&${Ze}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ue.lineWidth,borderInlineStart:ot}}}}}}};const bl=Ue=>{const{componentCls:Ze,fontWeightStrong:ot,tablePaddingVertical:ft,tablePaddingHorizontal:yt,lineWidth:Pt,lineType:Bt,tableBorderColor:Zt,tableFontSize:Wt,tableBg:ln,tableRadius:En,tableHeaderTextColor:un,motionDurationMid:Gn,tableHeaderBg:zn,tableHeaderCellSplitColor:Zn,tableRowHoverBg:ur,tableSelectedRowBg:ir,tableSelectedRowHoverBg:dr,tableFooterTextColor:sr,tableFooterBg:vr,paddingContentVerticalLG:Br}=Ue,$r=`${Pt}px ${Bt} ${Zt}`;return{[`${Ze}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ni.dF)()),{[Ze]:Object.assign(Object.assign({},(0,Ni.Wf)(Ue)),{fontSize:Wt,background:ln,borderRadius:`${En}px ${En}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${En}px ${En}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Ze}-cell,
${Ze}-thead > tr > th,
${Ze}-tbody > tr > th,
${Ze}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Br}px ${yt}px`,overflowWrap:"break-word"},[`${Ze}-title`]:{padding:`${ft}px ${yt}px`},[`${Ze}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:un,fontWeight:ot,textAlign:"start",background:zn,borderBottom:$r,transition:`background ${Gn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ze}-selection-column):not(${Ze}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Zn,transform:"translateY(-50%)",transition:`background-color ${Gn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ze}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Gn}, border-color ${Gn}`,borderBottom:$r,[`
> ${Ze}-wrapper:only-child,
> ${Ze}-expanded-row-fixed > ${Ze}-wrapper:only-child
`]:{[Ze]:{marginBlock:`-${ft}px`,marginInline:`${Ue.tableExpandColumnWidth-yt}px -${yt}px`,[`${Ze}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:un,fontWeight:ot,textAlign:"start",background:zn,borderBottom:$r,transition:`background ${Gn} ease`},[`
&${Ze}-row:hover > th,
&${Ze}-row:hover > td,
> th${Ze}-cell-row-hover,
> td${Ze}-cell-row-hover
`]:{background:ur},[`&${Ze}-row-selected`]:{"> th, > td":{background:ir},"&:hover > th, &:hover > td":{background:dr}}}},[`${Ze}-footer`]:{padding:`${ft}px ${yt}px`,color:sr,background:vr}})}};var Pl=(0,rl.Z)("Table",Ue=>{const{colorTextHeading:Ze,colorSplit:ot,colorIcon:ft,colorIconHover:yt,opacityLoading:Pt,colorBgContainer:Bt,controlInteractiveSize:Zt,headerBg:Wt,headerColor:ln,headerSortActiveBg:En,headerSortHoverBg:un,bodySortBg:Gn,rowHoverBg:zn,rowSelectedBg:Zn,rowSelectedHoverBg:ur,rowExpandedBg:ir,cellPaddingBlock:dr,cellPaddingInline:sr,cellPaddingBlockMD:vr,cellPaddingInlineMD:Br,cellPaddingBlockSM:$r,cellPaddingInlineSM:Ir,borderColor:fo,footerBg:bo,footerColor:_r,headerBorderRadius:Nr,cellFontSize:Tr,cellFontSizeMD:yr,cellFontSizeSM:Ar,headerSplitColor:so,fixedHeaderSortActiveBg:_o,headerFilterHoverBg:So,filterDropdownBg:Jr,expandIconBg:Oo,selectionColumnWidth:Lo,stickyScrollBarBg:Yo}=Ue,Uo=new Ai.C(ft),fa=new Ai.C(yt),ga=2,Po=(0,ol.TS)(Ue,{tableFontSize:Tr,tableBg:Bt,tableRadius:Nr,tablePaddingVertical:dr,tablePaddingHorizontal:sr,tablePaddingVerticalMiddle:vr,tablePaddingHorizontalMiddle:Br,tablePaddingVerticalSmall:$r,tablePaddingHorizontalSmall:Ir,tableBorderColor:fo,tableHeaderTextColor:ln,tableHeaderBg:Wt,tableFooterTextColor:_r,tableFooterBg:bo,tableHeaderCellSplitColor:so,tableHeaderSortBg:En,tableHeaderSortHoverBg:un,tableHeaderIconColor:Uo.clone().setAlpha(Uo.getAlpha()*Pt).toRgbString(),tableHeaderIconColorHover:fa.clone().setAlpha(fa.getAlpha()*Pt).toRgbString(),tableBodySortBg:Gn,tableFixedHeaderSortActiveBg:_o,tableHeaderFilterActiveBg:So,tableFilterDropdownBg:Jr,tableRowHoverBg:zn,tableSelectedRowBg:Zn,tableSelectedRowHoverBg:ur,zIndexTableFixed:ga,zIndexTableSticky:ga+1,tableFontSizeMiddle:yr,tableFontSizeSmall:Ar,tableSelectionColumnWidth:Lo,tableExpandIconBg:Oo,tableExpandColumnWidth:Zt+2*Ue.padding,tableExpandedRowBg:ir,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Yo,tableScrollThumbBgHover:Ze,tableScrollBg:ot});return[bl(Po),fl(Po),vs(Po),vl(Po),ul(Po),al(Po),gl(Po),cl(Po),vs(Po),sl(Po),hl(Po),dl(Po),yl(Po),il(Po),pl(Po),ml(Po),Sl(Po)]},Ue=>{const{colorFillAlter:Ze,colorBgContainer:ot,colorTextHeading:ft,colorFillSecondary:yt,colorFillContent:Pt,controlItemBgActive:Bt,controlItemBgActiveHover:Zt,padding:Wt,paddingSM:ln,paddingXS:En,colorBorderSecondary:un,borderRadiusLG:Gn,fontSize:zn,controlHeight:Zn,colorTextPlaceholder:ur}=Ue,ir=new Ai.C(yt).onBackground(ot).toHexShortString(),dr=new Ai.C(Pt).onBackground(ot).toHexShortString(),sr=new Ai.C(Ze).onBackground(ot).toHexShortString();return{headerBg:sr,headerColor:ft,headerSortActiveBg:ir,headerSortHoverBg:dr,bodySortBg:sr,rowHoverBg:sr,rowSelectedBg:Bt,rowSelectedHoverBg:Zt,rowExpandedBg:Ze,cellPaddingBlock:Wt,cellPaddingInline:Wt,cellPaddingBlockMD:ln,cellPaddingInlineMD:En,cellPaddingBlockSM:En,cellPaddingInlineSM:En,borderColor:un,headerBorderRadius:Gn,footerBg:sr,footerColor:ft,cellFontSize:zn,cellFontSizeMD:zn,cellFontSizeSM:zn,headerSplitColor:un,fixedHeaderSortActiveBg:ir,headerFilterHoverBg:Pt,filterDropdownMenuBg:ot,filterDropdownBg:ot,expandIconBg:ot,selectionColumnWidth:Zn,stickyScrollBarBg:ur,stickyScrollBarBorderRadius:100}});const El=[],wl=(Ue,Ze)=>{const{prefixCls:ot,className:ft,rootClassName:yt,style:Pt,size:Bt,bordered:Zt,dropdownPrefixCls:Wt,dataSource:ln,pagination:En,rowSelection:un,rowKey:Gn="key",rowClassName:zn,columns:Zn,children:ur,childrenColumnName:ir,onChange:dr,getPopupContainer:sr,loading:vr,expandIcon:Br,expandable:$r,expandedRowRender:Ir,expandIconColumnIndex:fo,indentSize:bo,scroll:_r,sortDirections:Nr,locale:Tr,showSorterTooltip:yr=!0,virtual:Ar}=Ue,so=re.useMemo(()=>Zn||In(ur),[Zn,ur]),_o=re.useMemo(()=>so.some(Bo=>Bo.responsive),[so]),So=(0,ea.Z)(_o),Jr=re.useMemo(()=>{const Bo=new Set(Object.keys(So).filter(na=>So[na]));return so.filter(na=>!na.responsive||na.responsive.some(La=>Bo.has(La)))},[so,So]),Oo=(0,ha.Z)(Ue,["className","style","columns"]),{locale:Lo=xa.Z,direction:Yo,table:Uo,renderEmpty:fa,getPrefixCls:ga,getPopupContainer:Po}=re.useContext(Wo.E_),va=(0,Go.Z)(Bt),zo=Object.assign(Object.assign({},Lo.Table),Tr),ia=ln||El,ra=ga("table",ot),Ba=ga("dropdown",Wt),oo=Object.assign({childrenColumnName:ir,expandIconColumnIndex:fo},$r),{childrenColumnName:to="children"}=oo,qr=re.useMemo(()=>ia.some(Bo=>Bo==null?void 0:Bo[to])?"nest":Ir||$r&&$r.expandedRowRender?"row":null,[ia]),Hr={body:re.useRef()},Ho=re.useMemo(()=>typeof Gn=="function"?Gn:Bo=>Bo==null?void 0:Bo[Gn],[Gn]),[Gr]=Bs(ia,to,Ho),vo={},Fo=function(Bo,na){let La=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var da,Ia,za;const Ha=Object.assign(Object.assign({},vo),Bo);La&&((da=vo.resetPagination)===null||da===void 0||da.call(vo),!((Ia=Ha.pagination)===null||Ia===void 0)&&Ia.current&&(Ha.pagination.current=1),En&&En.onChange&&En.onChange(1,(za=Ha.pagination)===null||za===void 0?void 0:za.pageSize)),_r&&_r.scrollToFirstRowOnChange!==!1&&Hr.body.current&&(0,aa.Z)(0,{getContainer:()=>Hr.body.current}),dr==null||dr(Ha.pagination,Ha.filters,Ha.sorter,{currentDataSource:is(Yi(ia,Ha.sorterStates,to),Ha.filterStates),action:na})},Mo=(Bo,na)=>{Fo({sorter:Bo,sorterStates:na},"sort",!1)},[Ra,Ta,ni,ya]=Js({prefixCls:ra,mergedColumns:Jr,onSorterChange:Mo,sortDirections:Nr||["ascend","descend"],tableLocale:zo,showSorterTooltip:yr}),Ja=re.useMemo(()=>Yi(ia,Ta,to),[ia,Ta]);vo.sorter=ya(),vo.sorterStates=Ta;const Sa=(Bo,na)=>{Fo({filters:Bo,filterStates:na},"filter",!0)},[ka,Ei,Zo]=Fs({prefixCls:ra,locale:zo,dropdownPrefixCls:Ba,mergedColumns:Jr,onFilterChange:Sa,getPopupContainer:sr||Po}),Ko=is(Ja,Ei);vo.filters=Zo,vo.filterStates=Ei;const ca=re.useMemo(()=>{const Bo={};return Object.keys(Zo).forEach(na=>{Zo[na]!==null&&(Bo[na]=Zo[na])}),Object.assign(Object.assign({},ni),{filters:Bo})},[ni,Zo]),[Pa]=el(ca),Ea=(Bo,na)=>{Fo({pagination:Object.assign(Object.assign({},vo.pagination),{current:Bo,pageSize:na})},"paginate")},[Ro,Ma]=Gs(Ko.length,Ea,En);vo.pagination=En===!1?{}:zs(Ro,En),vo.resetPagination=Ma;const Da=re.useMemo(()=>{if(En===!1||!Ro.pageSize)return Ko;const{current:Bo=1,total:na,pageSize:La=ls}=Ro;return Ko.length<na?Ko.length>La?Ko.slice((Bo-1)*La,Bo*La):Ko:Ko.slice((Bo-1)*La,Bo*La)},[!!En,Ko,Ro&&Ro.current,Ro&&Ro.pageSize,Ro&&Ro.total]),[Za,oi]=$s({prefixCls:ra,data:Ko,pageData:Da,getRowKey:Ho,getRecordByKey:Gr,expandType:qr,childrenColumnName:to,locale:zo,getPopupContainer:sr||Po},un),ri=(Bo,na,La)=>{let da;return typeof zn=="function"?da=Ce()(zn(Bo,na,La)):da=Ce()(zn),Ce()({[`${ra}-row-selected`]:oi.has(Ho(Bo,na))},da)};oo.__PARENT_RENDER_ICON__=oo.expandIcon,oo.expandIcon=oo.expandIcon||Br||Ka(zo),qr==="nest"&&oo.expandIconColumnIndex===void 0?oo.expandIconColumnIndex=un?1:0:oo.expandIconColumnIndex>0&&un&&(oo.expandIconColumnIndex-=1),typeof oo.indentSize!="number"&&(oo.indentSize=typeof bo=="number"?bo:15);const Li=re.useCallback(Bo=>Pa(Za(ka(Ra(Bo)))),[Ra,ka,Za]);let ui,qa;if(En!==!1&&(Ro!=null&&Ro.total)){let Bo;Ro.size?Bo=Ro.size:Bo=va==="small"||va==="middle"?"small":void 0;const na=Ia=>re.createElement(Oa.Z,Object.assign({},Ro,{className:Ce()(`${ra}-pagination ${ra}-pagination-${Ia}`,Ro.className),size:Bo})),La=Yo==="rtl"?"left":"right",{position:da}=Ro;if(da!==null&&Array.isArray(da)){const Ia=da.find(di=>di.includes("top")),za=da.find(di=>di.includes("bottom")),Ha=da.every(di=>`${di}`=="none");!Ia&&!za&&!Ha&&(qa=na(La)),Ia&&(ui=na(Ia.toLowerCase().replace("top",""))),za&&(qa=na(za.toLowerCase().replace("bottom","")))}else qa=na(La)}let Ua;typeof vr=="boolean"?Ua={spinning:vr}:typeof vr=="object"&&(Ua=Object.assign({spinning:!0},vr));const[Na,wa]=Pl(ra),[,ua]=(0,qo.Z)(),ai=Ce()(`${ra}-wrapper`,Uo==null?void 0:Uo.className,{[`${ra}-wrapper-rtl`]:Yo==="rtl"},ft,yt,wa),wi=Object.assign(Object.assign({},Uo==null?void 0:Uo.style),Pt),vi=Tr&&Tr.emptyText||(fa==null?void 0:fa("Table"))||re.createElement(pa.Z,{componentName:"Table"}),ii=Ar?nl:tl,ji={},Qi=re.useMemo(()=>{const{fontSize:Bo,lineHeight:na,padding:La,paddingXS:da,paddingSM:Ia}=ua,za=Math.floor(Bo*na);switch(va){case"large":return La*2+za;case"small":return da*2+za;default:return Ia*2+za}},[ua,va]);return Ar&&(ji.listItemHeight=Qi),Na(re.createElement("div",{ref:Ze,className:ai,style:wi},re.createElement(Jo.Z,Object.assign({spinning:!1},Ua),ui,re.createElement(ii,Object.assign({},ji,Oo,{columns:Jr,direction:Yo,expandable:oo,prefixCls:ra,className:Ce()({[`${ra}-middle`]:va==="middle",[`${ra}-small`]:va==="small",[`${ra}-bordered`]:Zt,[`${ra}-empty`]:ia.length===0}),data:Da,rowKey:Ho,rowClassName:ri,emptyText:vi,internalHooks:xe,internalRefs:Hr,transformColumns:Li})),qa)))};var Cl=re.forwardRef(wl);const xl=(Ue,Ze)=>{const ot=re.useRef(0);return ot.current+=1,re.createElement(Cl,Object.assign({},Ue,{ref:Ze,_renderTimes:ot.current}))},ci=re.forwardRef(xl);ci.SELECTION_COLUMN=pi,ci.EXPAND_COLUMN=Se,ci.SELECTION_ALL=Zi,ci.SELECTION_INVERT=Ki,ci.SELECTION_NONE=$i,ci.Column=Do,ci.ColumnGroup=la,ci.Summary=lt;var _l=ci,Tl=_l},66309:function(Lt,gt,de){"use strict";de.d(gt,{default:function(){return Ee}});var Se=de(67294),xe=de(73475),E=de(94184),he=de.n(E),fe=de(98787),le=de(69760),re=de(45353),se=de(53124),ie=de(14747),ue=de(45503),ae=de(67968);const oe=Pe=>{const{paddingXXS:Ae,lineWidth:Ce,tagPaddingHorizontal:_e,componentCls:we}=Pe,Re=_e-Ce,De=Ae-Ce;return{[we]:Object.assign(Object.assign({},(0,ie.Wf)(Pe)),{display:"inline-block",height:"auto",marginInlineEnd:Pe.marginXS,paddingInline:Re,fontSize:Pe.tagFontSize,lineHeight:Pe.tagLineHeight,whiteSpace:"nowrap",background:Pe.defaultBg,border:`${Pe.lineWidth}px ${Pe.lineType} ${Pe.colorBorder}`,borderRadius:Pe.borderRadiusSM,opacity:1,transition:`all ${Pe.motionDurationMid}`,textAlign:"start",position:"relative",[`&${we}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Pe.defaultColor},[`${we}-close-icon`]:{marginInlineStart:De,color:Pe.colorTextDescription,fontSize:Pe.tagIconSize,cursor:"pointer",transition:`all ${Pe.motionDurationMid}`,"&:hover":{color:Pe.colorTextHeading}},[`&${we}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Pe.iconCls}-close, ${Pe.iconCls}-close:hover`]:{color:Pe.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${we}-checkable-checked):hover`]:{color:Pe.colorPrimary,backgroundColor:Pe.colorFillSecondary},"&:active, &-checked":{color:Pe.colorTextLightSolid},"&-checked":{backgroundColor:Pe.colorPrimary,"&:hover":{backgroundColor:Pe.colorPrimaryHover}},"&:active":{backgroundColor:Pe.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Pe.iconCls} + span, > span + ${Pe.iconCls}`]:{marginInlineStart:Re}}),[`${we}-borderless`]:{borderColor:"transparent",background:Pe.tagBorderlessBg}}},ne=Pe=>{const{lineWidth:Ae,fontSizeIcon:Ce}=Pe,_e=Pe.fontSizeSM,we=`${Pe.lineHeightSM*_e}px`;return(0,ue.TS)(Pe,{tagFontSize:_e,tagLineHeight:we,tagIconSize:Ce-2*Ae,tagPaddingHorizontal:8,tagBorderlessBg:Pe.colorFillTertiary})},ee=Pe=>({defaultBg:Pe.colorFillQuaternary,defaultColor:Pe.colorText});var a=(0,ae.Z)("Tag",Pe=>{const Ae=ne(Pe);return oe(Ae)},ee),y=function(Pe,Ae){var Ce={};for(var _e in Pe)Object.prototype.hasOwnProperty.call(Pe,_e)&&Ae.indexOf(_e)<0&&(Ce[_e]=Pe[_e]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,_e=Object.getOwnPropertySymbols(Pe);we<_e.length;we++)Ae.indexOf(_e[we])<0&&Object.prototype.propertyIsEnumerable.call(Pe,_e[we])&&(Ce[_e[we]]=Pe[_e[we]]);return Ce},b=Pe=>{const{prefixCls:Ae,style:Ce,className:_e,checked:we,onChange:Re,onClick:De}=Pe,ke=y(Pe,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Ie,tag:qe}=Se.useContext(se.E_),Je=je=>{Re==null||Re(!we),De==null||De(je)},We=Ie("tag",Ae),[Qe,He]=a(We),Fe=he()(We,`${We}-checkable`,{[`${We}-checkable-checked`]:we},qe==null?void 0:qe.className,_e,He);return Qe(Se.createElement("span",Object.assign({},ke,{style:Object.assign(Object.assign({},Ce),qe==null?void 0:qe.style),className:Fe,onClick:Je})))},z=de(98719);const te=Pe=>(0,z.Z)(Pe,(Ae,Ce)=>{let{textColor:_e,lightBorderColor:we,lightColor:Re,darkColor:De}=Ce;return{[`${Pe.componentCls}-${Ae}`]:{color:_e,background:Re,borderColor:we,"&-inverse":{color:Pe.colorTextLightSolid,background:De,borderColor:De},[`&${Pe.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ce=(0,ae.b)(["Tag","preset"],Pe=>{const Ae=ne(Pe);return te(Ae)},ee);function ge(Pe){return typeof Pe!="string"?Pe:Pe.charAt(0).toUpperCase()+Pe.slice(1)}const me=(Pe,Ae,Ce)=>{const _e=ge(Ce);return{[`${Pe.componentCls}-${Ae}`]:{color:Pe[`color${Ce}`],background:Pe[`color${_e}Bg`],borderColor:Pe[`color${_e}Border`],[`&${Pe.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ve=(0,ae.b)(["Tag","status"],Pe=>{const Ae=ne(Pe);return[me(Ae,"success","Success"),me(Ae,"processing","Info"),me(Ae,"error","Error"),me(Ae,"warning","Warning")]},ee),pe=function(Pe,Ae){var Ce={};for(var _e in Pe)Object.prototype.hasOwnProperty.call(Pe,_e)&&Ae.indexOf(_e)<0&&(Ce[_e]=Pe[_e]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,_e=Object.getOwnPropertySymbols(Pe);we<_e.length;we++)Ae.indexOf(_e[we])<0&&Object.prototype.propertyIsEnumerable.call(Pe,_e[we])&&(Ce[_e[we]]=Pe[_e[we]]);return Ce};const be=(Pe,Ae)=>{const{prefixCls:Ce,className:_e,rootClassName:we,style:Re,children:De,icon:ke,color:Ie,onClose:qe,closeIcon:Je,closable:We,bordered:Qe=!0}=Pe,He=pe(Pe,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:Fe,direction:je,tag:et}=Se.useContext(se.E_),[tt,st]=Se.useState(!0);Se.useEffect(()=>{"visible"in He&&st(He.visible)},[He.visible]);const Xe=(0,fe.o2)(Ie),Ke=(0,fe.yT)(Ie),Me=Xe||Ke,Ye=Object.assign(Object.assign({backgroundColor:Ie&&!Me?Ie:void 0},et==null?void 0:et.style),Re),Le=Fe("tag",Ce),[Be,Ve]=a(Le),$e=he()(Le,et==null?void 0:et.className,{[`${Le}-${Ie}`]:Me,[`${Le}-has-color`]:Ie&&!Me,[`${Le}-hidden`]:!tt,[`${Le}-rtl`]:je==="rtl",[`${Le}-borderless`]:!Qe},_e,we,Ve),ze=mt=>{mt.stopPropagation(),qe==null||qe(mt),!mt.defaultPrevented&&st(!1)},[,Te]=(0,le.Z)(We,Je,mt=>mt===null?Se.createElement(xe.Z,{className:`${Le}-close-icon`,onClick:ze}):Se.createElement("span",{className:`${Le}-close-icon`,onClick:ze},mt),null,!1),Oe=typeof He.onClick=="function"||De&&De.type==="a",Ne=ke||null,Ge=Ne?Se.createElement(Se.Fragment,null,Ne,De&&Se.createElement("span",null,De)):De,rt=Se.createElement("span",Object.assign({},He,{ref:Ae,className:$e,style:Ye}),Ge,Te,Xe&&Se.createElement(ce,{key:"preset",prefixCls:Le}),Ke&&Se.createElement(ve,{key:"status",prefixCls:Le}));return Be(Oe?Se.createElement(re.Z,{component:"Tag"},rt):rt)},ye=Se.forwardRef(be);ye.CheckableTag=b;var Ee=ye},79753:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return Cn}});var Se=de(67294),xe=de.t(Se,2),E=de(1413),he=de(87462),fe=de(71002),le=de(97685),re=de(45987),se=de(73935),ie=de(98924),ue=de(80334),ae=de(42550),oe=Se.createContext(null),ne=oe,ee=de(74902),a=de(8410),y=[];function x(Ut,Tt){var kt=Se.useState(function(){if(!(0,ie.Z)())return null;var Hn=document.createElement("div");return Hn}),en=(0,le.Z)(kt,1),Xt=en[0],Tn=Se.useRef(!1),tn=Se.useContext(ne),yn=Se.useState(y),Mn=(0,le.Z)(yn,2),Dn=Mn[0],St=Mn[1],Ct=tn||(Tn.current?void 0:function(Hn){St(function(jn){var br=[Hn].concat((0,ee.Z)(jn));return br})});function Rt(){Xt.parentElement||document.body.appendChild(Xt),Tn.current=!0}function dn(){var Hn;(Hn=Xt.parentElement)===null||Hn===void 0||Hn.removeChild(Xt),Tn.current=!1}return(0,a.Z)(function(){return Ut?tn?tn(Rt):Rt():dn(),dn},[Ut]),(0,a.Z)(function(){Dn.length&&(Dn.forEach(function(Hn){return Hn()}),St(y))},[Dn]),[Xt,Ct]}var b=de(48981),z=de(74204);function te(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ce="rc-util-locker-".concat(Date.now()),ge=0;function me(Ut){var Tt=!!Ut,kt=Se.useState(function(){return ge+=1,"".concat(ce,"_").concat(ge)}),en=(0,le.Z)(kt,1),Xt=en[0];(0,a.Z)(function(){if(Tt){var Tn=(0,z.o)(document.body).width,tn=te();(0,b.hq)(`
html body {
overflow-y: hidden;
`.concat(tn?"width: calc(100% - ".concat(Tn,"px);"):"",`
}`),Xt)}else(0,b.jL)(Xt);return function(){(0,b.jL)(Xt)}},[Tt,Xt])}var ve=!1;function pe(Ut){return typeof Ut=="boolean"&&(ve=Ut),ve}var be=function(Tt){return Tt===!1?!1:!(0,ie.Z)()||!Tt?null:typeof Tt=="string"?document.querySelector(Tt):typeof Tt=="function"?Tt():Tt},ye=Se.forwardRef(function(Ut,Tt){var kt=Ut.open,en=Ut.autoLock,Xt=Ut.getContainer,Tn=Ut.debug,tn=Ut.autoDestroy,yn=tn===void 0?!0:tn,Mn=Ut.children,Dn=Se.useState(kt),St=(0,le.Z)(Dn,2),Ct=St[0],Rt=St[1],dn=Ct||kt;Se.useEffect(function(){(yn||kt)&&Rt(kt)},[kt,yn]);var Hn=Se.useState(function(){return be(Xt)}),jn=(0,le.Z)(Hn,2),br=jn[0],or=jn[1];Se.useEffect(function(){var gn=be(Xt);or(gn!=null?gn:null)});var wr=x(dn&&!br,Tn),Sr=(0,le.Z)(wr,2),co=Sr[0],bn=Sr[1],Lr=br!=null?br:co;me(en&&kt&&(0,ie.Z)()&&(Lr===co||Lr===document.body));var jt=null;if(Mn&&(0,ae.Yr)(Mn)&&Tt){var mn=Mn;jt=mn.ref}var cn=(0,ae.x1)(jt,Tt);if(!dn||!(0,ie.Z)()||br===void 0)return null;var vn=Lr===!1||pe(),Wn=Mn;return Tt&&(Wn=Se.cloneElement(Mn,{ref:cn})),Se.createElement(ne.Provider,{value:bn},vn?Wn:(0,se.createPortal)(Wn,Lr))}),Ee=ye,Pe=Ee,Ae=de(62709),Ce=de(94184),_e=de.n(Ce),we=de(21770),Re=de(66680);function De(Ut){var Tt=window.innerWidth||document.documentElement.clientWidth,kt=window.innerHeight||document.documentElement.clientHeight,en=Ut.getBoundingClientRect(),Xt=en.top,Tn=en.right,tn=en.bottom,yn=en.left;return Xt>=0&&yn>=0&&Tn<=Tt&&tn<=kt}function ke(Ut,Tt,kt){var en;return(en=kt!=null?kt:Tt)!==null&&en!==void 0?en:Ut===null?"center":"bottom"}function Ie(Ut,Tt,kt,en){var Xt=(0,Se.useState)(void 0),Tn=(0,le.Z)(Xt,2),tn=Tn[0],yn=Tn[1];(0,a.Z)(function(){var jn=typeof Ut=="function"?Ut():Ut;yn(jn||null)});var Mn=(0,Se.useState)(null),Dn=(0,le.Z)(Mn,2),St=Dn[0],Ct=Dn[1],Rt=(0,Re.Z)(function(){if(tn){!De(tn)&&Tt&&tn.scrollIntoView(en);var jn=tn.getBoundingClientRect(),br=jn.left,or=jn.top,wr=jn.width,Sr=jn.height,co={left:br,top:or,width:wr,height:Sr,radius:0};Ct(function(bn){return JSON.stringify(bn)!==JSON.stringify(co)?co:bn})}else Ct(null)}),dn=function(br){var or;return(or=Array.isArray(kt==null?void 0:kt.offset)?kt==null?void 0:kt.offset[br]:kt==null?void 0:kt.offset)!==null&&or!==void 0?or:6};(0,a.Z)(function(){return Rt(),window.addEventListener("resize",Rt),function(){window.removeEventListener("resize",Rt)}},[tn,Tt,Rt]);var Hn=(0,Se.useMemo)(function(){if(!St)return St;var jn=dn(0),br=dn(1),or=(kt==null?void 0:kt.radius)||2;return{left:St.left-jn,top:St.top-br,width:St.width+jn*2,height:St.height+br*2,radius:or}},[St,kt]);return[Hn,tn]}function qe(){var Ut=(0,E.Z)({},xe);return Ut.useId}var Je=0;function We(){}function Qe(Ut){var Tt=Se.useState("ssr-id"),kt=(0,le.Z)(Tt,2),en=kt[0],Xt=kt[1],Tn=qe(),tn=Tn==null?void 0:Tn();return Se.useEffect(function(){if(!Tn){var yn=Je;Je+=1,Xt("rc_unique_".concat(yn))}},[]),Ut||tn||en}var He={fill:"transparent",pointerEvents:"auto"},Fe=function(Tt){var kt=Tt.prefixCls,en=Tt.rootClassName,Xt=Tt.pos,Tn=Tt.showMask,tn=Tt.style,yn=tn===void 0?{}:tn,Mn=Tt.fill,Dn=Mn===void 0?"rgba(0,0,0,0.5)":Mn,St=Tt.open,Ct=Tt.animated,Rt=Tt.zIndex,dn=Qe(),Hn="".concat(kt,"-mask-").concat(dn),jn=(0,fe.Z)(Ct)==="object"?Ct==null?void 0:Ct.placeholder:Ct;return Se.createElement(Pe,{open:St,autoLock:!0},Se.createElement("div",{className:_e()("".concat(kt,"-mask"),en),style:(0,E.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Rt,pointerEvents:"none"},yn)},Tn?Se.createElement("svg",{style:{width:"100%",height:"100%"}},Se.createElement("defs",null,Se.createElement("mask",{id:Hn},Se.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),Xt&&Se.createElement("rect",{x:Xt.left,y:Xt.top,rx:Xt.radius,width:Xt.width,height:Xt.height,fill:"black",className:jn?"".concat(kt,"-placeholder-animated"):""}))),Se.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:Dn,mask:"url(#".concat(Hn,")")}),Xt&&Se.createElement(Se.Fragment,null,Se.createElement("rect",(0,he.Z)({},He,{x:"0",y:"0",width:"100%",height:Xt.top})),Se.createElement("rect",(0,he.Z)({},He,{x:"0",y:"0",width:Xt.left,height:"100%"})),Se.createElement("rect",(0,he.Z)({},He,{x:"0",y:Xt.top+Xt.height,width:"100%",height:"calc(100vh - ".concat(Xt.top+Xt.height,"px)")})),Se.createElement("rect",(0,he.Z)({},He,{x:Xt.left+Xt.width,y:"0",width:"calc(100vw - ".concat(Xt.left+Xt.width,"px)"),height:"100%"})))):null))},je=Fe,et={adjustX:1,adjustY:1},tt=[0,0],st={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 Xe(){var Ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Tt={};return Object.keys(st).forEach(function(kt){Tt[kt]=(0,E.Z)((0,E.Z)({},st[kt]),{},{autoArrow:Ut,targetOffset:tt})}),Tt}var Ke=Xe();function Me(Ut){var Tt=Ut.prefixCls,kt=Ut.current,en=Ut.total,Xt=Ut.title,Tn=Ut.description,tn=Ut.onClose,yn=Ut.onPrev,Mn=Ut.onNext,Dn=Ut.onFinish,St=Ut.className,Ct=Ut.closeIcon,Rt=Ct!==!1&&Ct!==null,dn=Ct!==void 0&&Ct!==!0?Ct:Se.createElement("span",{className:"".concat(Tt,"-close-x")},"\xD7");return Se.createElement("div",{className:_e()("".concat(Tt,"-content"),St)},Se.createElement("div",{className:"".concat(Tt,"-inner")},Rt&&Se.createElement("button",{type:"button",onClick:tn,"aria-label":"Close",className:"".concat(Tt,"-close")},dn),Se.createElement("div",{className:"".concat(Tt,"-header")},Se.createElement("div",{className:"".concat(Tt,"-title")},Xt)),Se.createElement("div",{className:"".concat(Tt,"-description")},Tn),Se.createElement("div",{className:"".concat(Tt,"-footer")},Se.createElement("div",{className:"".concat(Tt,"-sliders")},en>1?(0,ee.Z)(Array.from({length:en}).keys()).map(function(Hn,jn){return Se.createElement("span",{key:Hn,className:jn===kt?"active":""})}):null),Se.createElement("div",{className:"".concat(Tt,"-buttons")},kt!==0?Se.createElement("button",{className:"".concat(Tt,"-prev-btn"),onClick:yn},"Prev"):null,kt===en-1?Se.createElement("button",{className:"".concat(Tt,"-finish-btn"),onClick:Dn},"Finish"):Se.createElement("button",{className:"".concat(Tt,"-next-btn"),onClick:Mn},"Next")))))}var Ye=function(Tt){var kt=Tt.current,en=Tt.renderPanel;return Se.createElement(Se.Fragment,null,typeof en=="function"?en(Tt,kt):Se.createElement(Me,Tt))},Le=Ye,Be=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],Ve={left:"50%",top:"50%",width:1,height:1},$e=function(Tt){var kt=Tt.prefixCls,en=kt===void 0?"rc-tour":kt,Xt=Tt.steps,Tn=Xt===void 0?[]:Xt,tn=Tt.defaultCurrent,yn=Tt.current,Mn=Tt.onChange,Dn=Tt.onClose,St=Tt.onFinish,Ct=Tt.open,Rt=Tt.mask,dn=Rt===void 0?!0:Rt,Hn=Tt.arrow,jn=Hn===void 0?!0:Hn,br=Tt.rootClassName,or=Tt.placement,wr=Tt.renderPanel,Sr=Tt.gap,co=Tt.animated,bn=Tt.scrollIntoViewOptions,Lr=bn===void 0?!0:bn,jt=Tt.zIndex,mn=jt===void 0?1001:jt,cn=Tt.closeIcon,vn=(0,re.Z)(Tt,Be),Wn=Se.useRef(),gn=(0,we.Z)(0,{value:yn,defaultValue:tn}),Qt=(0,le.Z)(gn,2),xn=Qt[0],Cr=Qt[1],gr=(0,we.Z)(void 0,{value:Ct,postState:function(_t){return xn<0||xn>=Tn.length?!1:_t!=null?_t:!0}}),Rr=(0,le.Z)(gr,2),kr=Rr[0],ho=Rr[1],ao=Se.useRef(kr);(0,a.Z)(function(){kr&&!ao.current&&Cr(0),ao.current=kr},[kr]);var eo=Tn[xn]||{},Fn=eo.target,io=eo.placement,jo=eo.style,$n=eo.arrow,Bn=eo.className,fr=eo.mask,nr=eo.scrollIntoViewOptions,xr=eo.closeIcon,cr=kr&&(fr!=null?fr:dn),Fr=xr!=null?xr:cn,Qr=nr!=null?nr:Lr,Xr=Ie(Fn,Ct,Sr,Qr),It=(0,le.Z)(Xr,2),Ot=It[0],qt=It[1],Sn=ke(qt,or,io),In=qt?typeof $n=="undefined"?jn:$n:!1,an=(0,fe.Z)(In)==="object"?In.pointAtCenter:!1;(0,a.Z)(function(){var ar;(ar=Wn.current)===null||ar===void 0||ar.forceAlign()},[an,xn]);var Pr=function(_t){Cr(_t),Mn==null||Mn(_t)};if(qt===void 0)return null;var Or=function(){ho(!1),Dn==null||Dn(xn)},Zr=function(){return Se.createElement(Le,(0,he.Z)({arrow:In,key:"content",prefixCls:en,total:Tn.length,renderPanel:wr,onPrev:function(){Pr(xn-1)},onNext:function(){Pr(xn+1)},onClose:Or,current:xn,onFinish:function(){Or(),St==null||St()},closeIcon:Fr},Tn[xn]))},ro=typeof cr=="boolean"?cr:!!cr,Wr=typeof cr=="boolean"?void 0:cr,po=function(_t){return _t||qt||document.body};return Se.createElement(Se.Fragment,null,Se.createElement(je,{zIndex:mn,prefixCls:en,pos:Ot,showMask:ro,style:Wr==null?void 0:Wr.style,fill:Wr==null?void 0:Wr.color,open:kr,animated:co,rootClassName:br}),Se.createElement(Ae.Z,(0,he.Z)({builtinPlacements:Xe(an)},vn,{ref:Wn,popupStyle:jo,popupPlacement:Sn,popupVisible:kr,popupClassName:_e()(br,Bn),prefixCls:en,popup:Zr,forceRender:!1,destroyPopupOnHide:!0,zIndex:mn,getTriggerDOMNode:po,arrow:!!In}),Se.createElement(Pe,{open:kr,autoLock:!0},Se.createElement("div",{className:_e()(br,"".concat(en,"-target-placeholder")),style:(0,E.Z)((0,E.Z)({},Ot||Ve),{},{position:"fixed",pointerEvents:"none"})}))))},ze=$e,Te=ze,Oe=de(80636),Ne=de(53124),Ge=de(46605),rt=de(73475),mt=de(71577),dt=de(10110),nt=de(24457),vt=de(69760);function At(Ut){return Ut!=null}var at=Ut=>{let{stepProps:Tt,current:kt,type:en,indicatorsRender:Xt,closeIcon:Tn}=Ut;var tn,yn;const{prefixCls:Mn,total:Dn=1,title:St,onClose:Ct,onPrev:Rt,onNext:dn,onFinish:Hn,cover:jn,description:br,nextButtonProps:or,prevButtonProps:wr,type:Sr,className:co,closeIcon:bn}=Tt,Lr=Sr!=null?Sr:en,jt=bn!=null?bn:Tn,mn=jt!==!1&&jt!==null,[cn,vn]=(0,vt.Z)(mn,jt,eo=>Se.createElement("span",{onClick:Ct,"aria-label":"Close",className:`${Mn}-close`},eo),Se.createElement(rt.Z,{className:`${Mn}-close-icon`}),!0),Wn=kt===Dn-1,gn=()=>{var eo;Rt==null||Rt(),(eo=wr==null?void 0:wr.onClick)===null||eo===void 0||eo.call(wr)},Qt=()=>{var eo;Wn?Hn==null||Hn():dn==null||dn(),(eo=or==null?void 0:or.onClick)===null||eo===void 0||eo.call(or)},xn=At(St)?Se.createElement("div",{className:`${Mn}-header`},Se.createElement("div",{className:`${Mn}-title`},St)):null,Cr=At(br)?Se.createElement("div",{className:`${Mn}-description`},br):null,gr=At(jn)?Se.createElement("div",{className:`${Mn}-cover`},jn):null;let Rr;Xt?Rr=Xt(kt,Dn):Rr=(0,ee.Z)(Array.from({length:Dn}).keys()).map((eo,Fn)=>Se.createElement("span",{key:eo,className:_e()(Fn===kt&&`${Mn}-indicator-active`,`${Mn}-indicator`)}));const kr=Lr==="primary"?"default":"primary",ho={type:"default",ghost:Lr==="primary"},[ao]=(0,dt.Z)("Tour",nt.Z.Tour);return Se.createElement("div",{className:_e()(co,`${Mn}-content`)},Se.createElement("div",{className:`${Mn}-inner`},cn&&vn,gr,xn,Cr,Se.createElement("div",{className:`${Mn}-footer`},Dn>1&&Se.createElement("div",{className:`${Mn}-indicators`},Rr),Se.createElement("div",{className:`${Mn}-buttons`},kt!==0?Se.createElement(mt.ZP,Object.assign({},ho,wr,{onClick:gn,size:"small",className:_e()(`${Mn}-prev-btn`,wr==null?void 0:wr.className)}),(tn=wr==null?void 0:wr.children)!==null&&tn!==void 0?tn:ao==null?void 0:ao.Previous):null,Se.createElement(mt.ZP,Object.assign({type:kr},or,{onClick:Qt,size:"small",className:_e()(`${Mn}-next-btn`,or==null?void 0:or.className)}),(yn=or==null?void 0:or.children)!==null&&yn!==void 0?yn:Wn?ao==null?void 0:ao.Finish:ao==null?void 0:ao.Next)))))},xt=de(66330),lt=de(84780),it=de(14747),bt=de(97414),wt=de(67968),Dt=de(45503);const Kt=Ut=>{const{componentCls:Tt,lineHeight:kt,padding:en,paddingXS:Xt,borderRadius:Tn,borderRadiusXS:tn,colorPrimary:yn,colorText:Mn,colorFill:Dn,indicatorHeight:St,indicatorWidth:Ct,boxShadowTertiary:Rt,tourZIndexPopup:dn,fontSize:Hn,colorBgElevated:jn,fontWeightStrong:br,marginXS:or,colorTextLightSolid:wr,tourBorderRadius:Sr,colorWhite:co,colorBgTextHover:bn,tourCloseSize:Lr,motionDurationSlow:jt,antCls:mn}=Ut;return[{[Tt]:Object.assign(Object.assign({},(0,it.Wf)(Ut)),{color:Mn,position:"absolute",zIndex:dn,display:"block",visibility:"visible",fontSize:Hn,lineHeight:kt,width:520,"--antd-arrow-background-color":jn,"&-pure":{maxWidth:"100%",position:"relative"},[`&${Tt}-hidden`]:{display:"none"},[`${Tt}-content`]:{position:"relative"},[`${Tt}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:Sr,boxShadow:Rt,position:"relative",backgroundColor:jn,border:"none",backgroundClip:"padding-box",[`${Tt}-close`]:{position:"absolute",top:en,insetInlineEnd:en,color:Ut.colorIcon,outline:"none",width:Lr,height:Lr,borderRadius:Ut.borderRadiusSM,transition:`background-color ${Ut.motionDurationMid}, color ${Ut.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:Ut.colorIconHover,backgroundColor:Ut.wireframe?"transparent":Ut.colorFillContent}},[`${Tt}-cover`]:{textAlign:"center",padding:`${en+Lr+Xt}px ${en}px 0`,img:{width:"100%"}},[`${Tt}-header`]:{padding:`${en}px ${en}px ${Xt}px`,[`${Tt}-title`]:{lineHeight:kt,fontSize:Hn,fontWeight:br}},[`${Tt}-description`]:{padding:`0 ${en}px`,lineHeight:kt,wordWrap:"break-word"},[`${Tt}-footer`]:{padding:`${Xt}px ${en}px ${en}px`,textAlign:"end",borderRadius:`0 0 ${tn}px ${tn}px`,display:"flex",[`${Tt}-indicators`]:{display:"inline-block",[`${Tt}-indicator`]:{width:Ct,height:St,display:"inline-block",borderRadius:"50%",background:Dn,"&:not(:last-child)":{marginInlineEnd:St},"&-active":{background:yn}}},[`${Tt}-buttons`]:{marginInlineStart:"auto",[`${mn}-btn`]:{marginInlineStart:or}}}},[`${Tt}-primary, &${Tt}-primary`]:{"--antd-arrow-background-color":yn,[`${Tt}-inner`]:{color:wr,textAlign:"start",textDecoration:"none",backgroundColor:yn,borderRadius:Tn,boxShadow:Rt,[`${Tt}-close`]:{color:wr},[`${Tt}-indicators`]:{[`${Tt}-indicator`]:{background:new lt.C(wr).setAlpha(.15).toRgbString(),"&-active":{background:wr}}},[`${Tt}-prev-btn`]:{color:wr,borderColor:new lt.C(wr).setAlpha(.15).toRgbString(),backgroundColor:yn,"&:hover":{backgroundColor:new lt.C(wr).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${Tt}-next-btn`]:{color:yn,borderColor:"transparent",background:co,"&:hover":{background:new lt.C(bn).onBackground(co).toRgbString()}}}}}),[`${Tt}-mask`]:{[`${Tt}-placeholder-animated`]:{transition:`all ${jt}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${Tt}-inner`]:{borderRadius:Math.min(Sr,bt.qN)}}},(0,bt.ZP)(Ut,{colorBg:"var(--antd-arrow-background-color)",contentRadius:Sr,limitVerticalRadius:!0})]};var Pn=(0,wt.Z)("Tour",Ut=>{const{borderRadiusLG:Tt,fontSize:kt,lineHeight:en}=Ut,Xt=(0,Dt.TS)(Ut,{tourZIndexPopup:Ut.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:Tt,tourCloseSize:kt*en});return[Kt(Xt)]}),wn=de(8745),Nn=function(Ut,Tt){var kt={};for(var en in Ut)Object.prototype.hasOwnProperty.call(Ut,en)&&Tt.indexOf(en)<0&&(kt[en]=Ut[en]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,en=Object.getOwnPropertySymbols(Ut);Xt<en.length;Xt++)Tt.indexOf(en[Xt])<0&&Object.prototype.propertyIsEnumerable.call(Ut,en[Xt])&&(kt[en[Xt]]=Ut[en[Xt]]);return kt};const On=Ut=>{const{prefixCls:Tt,current:kt=0,total:en=6,className:Xt,style:Tn,type:tn}=Ut,yn=Nn(Ut,["prefixCls","current","total","className","style","type"]),{getPrefixCls:Mn}=Se.useContext(Ne.E_),Dn=Mn("tour",Tt),[St,Ct]=Pn(Dn);return St(Se.createElement(xt.t5,{prefixCls:Dn,hashId:Ct,className:_e()(Xt,`${Dn}-pure`,tn&&`${Dn}-${tn}`),style:Tn},Se.createElement(at,{stepProps:Object.assign(Object.assign({},yn),{prefixCls:Dn,total:en}),current:kt,type:tn})))};var qn=(0,wn.i)(On),rr=de(5663),zr=Ut=>{let{defaultType:Tt,steps:kt=[],current:en,defaultCurrent:Xt}=Ut;var Tn;const[tn,yn]=(0,rr.Z)(Xt,{value:en});(0,Se.useLayoutEffect)(()=>{en!==void 0&&yn(en)},[en]);const Mn=typeof tn=="number"?(Tn=kt[tn])===null||Tn===void 0?void 0:Tn.type:Tt;return{currentMergedType:Mn!=null?Mn:Tt,updateInnerCurrent:yn}},Vr=function(Ut,Tt){var kt={};for(var en in Ut)Object.prototype.hasOwnProperty.call(Ut,en)&&Tt.indexOf(en)<0&&(kt[en]=Ut[en]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,en=Object.getOwnPropertySymbols(Ut);Xt<en.length;Xt++)Tt.indexOf(en[Xt])<0&&Object.prototype.propertyIsEnumerable.call(Ut,en[Xt])&&(kt[en[Xt]]=Ut[en[Xt]]);return kt};const An=Ut=>{const{prefixCls:Tt,current:kt,defaultCurrent:en,type:Xt,rootClassName:Tn,indicatorsRender:tn,steps:yn}=Ut,Mn=Vr(Ut,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:Dn,direction:St}=(0,Se.useContext)(Ne.E_),Ct=Dn("tour",Tt),[Rt,dn]=Pn(Ct),[,Hn]=(0,Ge.Z)(),{currentMergedType:jn,updateInnerCurrent:br}=zr({defaultType:Xt,steps:yn,current:kt,defaultCurrent:en}),or=(0,Oe.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:Hn.marginXXS,arrowWidth:Hn.sizePopupArrow,borderRadius:Hn.borderRadius}),wr=_e()({[`${Ct}-primary`]:jn==="primary",[`${Ct}-rtl`]:St==="rtl"},dn,Tn),Sr=(bn,Lr)=>Se.createElement(at,{type:Xt,stepProps:bn,current:Lr,indicatorsRender:tn}),co=bn=>{var Lr;br(bn),(Lr=Ut.onChange)===null||Lr===void 0||Lr.call(Ut,bn)};return Rt(Se.createElement(Te,Object.assign({},Mn,{rootClassName:wr,prefixCls:Ct,current:kt,defaultCurrent:en,animated:!0,renderPanel:Sr,builtinPlacements:or,onChange:co,steps:yn})))};An._InternalPanelDoNotUseOrYouWillBeFired=qn;var Cn=An},79870:function(Lt,gt,de){"use strict";de.d(gt,{default:function(){return ar}});var Se=de(87462),xe=de(4942),E=de(71002),he=de(1413),fe=de(74902),le=de(15671),re=de(43144),se=de(97326),ie=de(60136),ue=de(51630),ae=de(94184),oe=de.n(ae),ne={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(zt){var fn=zt.keyCode;if(zt.altKey&&!zt.ctrlKey||zt.metaKey||fn>=ne.F1&&fn<=ne.F12)return!1;switch(fn){case ne.ALT:case ne.CAPS_LOCK:case ne.CONTEXT_MENU:case ne.CTRL:case ne.DOWN:case ne.END:case ne.ESC:case ne.HOME:case ne.INSERT:case ne.LEFT:case ne.MAC_FF_META:case ne.META:case ne.NUMLOCK:case ne.NUM_CENTER:case ne.PAGE_DOWN:case ne.PAGE_UP:case ne.PAUSE:case ne.PRINT_SCREEN:case ne.RIGHT:case ne.SHIFT:case ne.UP:case ne.WIN_KEY:case ne.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(zt){if(zt>=ne.ZERO&&zt<=ne.NINE||zt>=ne.NUM_ZERO&&zt<=ne.NUM_MULTIPLY||zt>=ne.A&&zt<=ne.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&zt===0)return!0;switch(zt){case ne.SPACE:case ne.QUESTION_MARK:case ne.NUM_PLUS:case ne.NUM_MINUS:case ne.NUM_PERIOD:case ne.NUM_DIVISION:case ne.SEMICOLON:case ne.DASH:case ne.EQUALS:case ne.COMMA:case ne.PERIOD:case ne.SLASH:case ne.APOSTROPHE:case ne.SINGLE_QUOTE:case ne.OPEN_SQUARE_BRACKET:case ne.BACKSLASH:case ne.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ee=ne,a=de(34952),y=de(72978),x=de(67294),b=de(69610);function z(_t){var zt=_t.dropPosition,fn=_t.dropLevelOffset,ht=_t.indent,hn={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(zt){case-1:hn.top=0,hn.left=-fn*ht;break;case 1:hn.bottom=0,hn.left=-fn*ht;break;case 0:hn.bottom=0,hn.left=ht;break}return x.createElement("div",{style:hn})}var te=de(36459),ce=de(97685),ge=de(45987);function me(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ve=me()?x.useLayoutEffect:x.useEffect,pe=ve,be=function(zt,fn){var ht=React.useRef(!0);ve(function(){if(!ht.current)return zt()},fn),ve(function(){return ht.current=!1,function(){ht.current=!0}},[])},ye=de(73299),Ee=de(73935);function Pe(_t){return _t instanceof HTMLElement||_t instanceof SVGElement}function Ae(_t){return Pe(_t)?_t:_t instanceof x.Component?Ee.findDOMNode(_t):null}var Ce=de(28580);function _e(_t,zt,fn){var ht=React.useRef({});return(!("value"in ht.current)||fn(ht.current.condition,zt))&&(ht.current.value=_t(),ht.current.condition=zt),ht.current.value}function we(_t,zt){typeof _t=="function"?_t(zt):(0,E.Z)(_t)==="object"&&_t&&"current"in _t&&(_t.current=zt)}function Re(){for(var _t=arguments.length,zt=new Array(_t),fn=0;fn<_t;fn++)zt[fn]=arguments[fn];var ht=zt.filter(function(hn){return hn});return ht.length<=1?ht[0]:function(hn){zt.forEach(function(kn){we(kn,hn)})}}function De(){for(var _t=arguments.length,zt=new Array(_t),fn=0;fn<_t;fn++)zt[fn]=arguments[fn];return useMemo(function(){return Re.apply(void 0,zt)},zt,function(ht,hn){return ht.length===hn.length&&ht.every(function(kn,Un){return kn===hn[Un]})})}function ke(_t){var zt,fn,ht=(0,Ce.isMemo)(_t)?_t.type.type:_t.type;return!(typeof ht=="function"&&!((zt=ht.prototype)!==null&&zt!==void 0&&zt.render)||typeof _t=="function"&&!((fn=_t.prototype)!==null&&fn!==void 0&&fn.render))}function Ie(_t,zt){var fn={};return fn[_t.toLowerCase()]=zt.toLowerCase(),fn["Webkit".concat(_t)]="webkit".concat(zt),fn["Moz".concat(_t)]="moz".concat(zt),fn["ms".concat(_t)]="MS".concat(zt),fn["O".concat(_t)]="o".concat(zt.toLowerCase()),fn}function qe(_t,zt){var fn={animationend:Ie("Animation","AnimationEnd"),transitionend:Ie("Transition","TransitionEnd")};return _t&&("AnimationEvent"in zt||delete fn.animationend.animation,"TransitionEvent"in zt||delete fn.transitionend.transition),fn}var Je=qe(me(),typeof window!="undefined"?window:{}),We={};if(me()){var Qe=document.createElement("div");We=Qe.style}var He={};function Fe(_t){if(He[_t])return He[_t];var zt=Je[_t];if(zt)for(var fn=Object.keys(zt),ht=fn.length,hn=0;hn<ht;hn+=1){var kn=fn[hn];if(Object.prototype.hasOwnProperty.call(zt,kn)&&kn in We)return He[_t]=zt[kn],He[_t]}return""}var je=Fe("animationend"),et=Fe("transitionend"),tt=!!(je&&et),st=je||"animationend",Xe=et||"transitionend";function Ke(_t,zt){if(!_t)return null;if((0,E.Z)(_t)==="object"){var fn=zt.replace(/-\w/g,function(ht){return ht[1].toUpperCase()});return _t[fn]}return"".concat(_t,"-").concat(zt)}var Me="none",Ye="appear",Le="enter",Be="leave",Ve="none",$e="prepare",ze="start",Te="active",Oe="end";function Ne(_t){var zt=x.useRef(!1),fn=x.useState(_t),ht=(0,ce.Z)(fn,2),hn=ht[0],kn=ht[1];x.useEffect(function(){return zt.current=!1,function(){zt.current=!0}},[]);function Un(Vt,nn){nn&&zt.current||kn(Vt)}return[hn,Un]}var Ge=function(zt){return+setTimeout(zt,16)},rt=function(zt){return clearTimeout(zt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ge=function(zt){return window.requestAnimationFrame(zt)},rt=function(zt){return window.cancelAnimationFrame(zt)});var mt=0,dt=new Map;function nt(_t){dt.delete(_t)}var vt=function(zt){var fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;mt+=1;var ht=mt;function hn(kn){if(kn===0)nt(ht),zt();else{var Un=Ge(function(){hn(kn-1)});dt.set(ht,Un)}}return hn(fn),ht};vt.cancel=function(_t){var zt=dt.get(_t);return nt(zt),rt(zt)};var At=vt,Nt=function(){var _t=x.useRef(null);function zt(){At.cancel(_t.current)}function fn(ht){var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;zt();var kn=At(function(){hn<=1?ht({isCanceled:function(){return kn!==_t.current}}):fn(ht,hn-1)});_t.current=kn}return x.useEffect(function(){return function(){zt()}},[]),[fn,zt]},at=me()?x.useLayoutEffect:x.useEffect,xt=at,lt=[$e,ze,Te,Oe],it=!1,bt=!0;function wt(_t){return _t===Te||_t===Oe}var Dt=function(_t,zt){var fn=Ne(Ve),ht=(0,ce.Z)(fn,2),hn=ht[0],kn=ht[1],Un=Nt(),Vt=(0,ce.Z)(Un,2),nn=Vt[0],sn=Vt[1];function Kn(){kn($e,!0)}return xt(function(){if(hn!==Ve&&hn!==Oe){var lr=lt.indexOf(hn),mr=lt[lr+1],Et=zt(hn);Et===it?kn(mr,!0):nn(function(Gt){function rn(){Gt.isCanceled()||kn(mr,!0)}Et===!0?rn():Promise.resolve(Et).then(rn)})}},[_t,hn]),x.useEffect(function(){return function(){sn()}},[]),[Kn,hn]},Kt=function(_t){var zt=(0,x.useRef)(),fn=(0,x.useRef)(_t);fn.current=_t;var ht=x.useCallback(function(Un){fn.current(Un)},[]);function hn(Un){Un&&(Un.removeEventListener(Xe,ht),Un.removeEventListener(st,ht))}function kn(Un){zt.current&&zt.current!==Un&&hn(zt.current),Un&&Un!==zt.current&&(Un.addEventListener(Xe,ht),Un.addEventListener(st,ht),zt.current=Un)}return x.useEffect(function(){return function(){hn(zt.current)}},[]),[kn,hn]};function Pn(_t,zt,fn,ht){var hn=ht.motionEnter,kn=hn===void 0?!0:hn,Un=ht.motionAppear,Vt=Un===void 0?!0:Un,nn=ht.motionLeave,sn=nn===void 0?!0:nn,Kn=ht.motionDeadline,lr=ht.motionLeaveImmediately,mr=ht.onAppearPrepare,Et=ht.onEnterPrepare,Gt=ht.onLeavePrepare,rn=ht.onAppearStart,Xn=ht.onEnterStart,_n=ht.onLeaveStart,on=ht.onAppearActive,Yt=ht.onEnterActive,$t=ht.onLeaveActive,Jt=ht.onAppearEnd,Ln=ht.onEnterEnd,ut=ht.onLeaveEnd,ct=ht.onVisibleChanged,pt=Ne(),Mt=(0,ce.Z)(pt,2),Ft=Mt[0],Ht=Mt[1],pn=Ne(Me),Rn=(0,ce.Z)(pn,2),Vn=Rn[0],Qn=Rn[1],Yn=Ne(null),tr=(0,ce.Z)(Yn,2),Jn=tr[0],er=tr[1],Mr=(0,x.useRef)(!1),Ur=(0,x.useRef)(null);function jr(){return fn()}var Yr=(0,x.useRef)(!1);function no(wo){var xo=jr();if(!(wo&&!wo.deadline&&wo.target!==xo)){var ko=Yr.current,Qo;Vn===Ye&&ko?Qo=Jt==null?void 0:Jt(xo,wo):Vn===Le&&ko?Qo=Ln==null?void 0:Ln(xo,wo):Vn===Be&&ko&&(Qo=ut==null?void 0:ut(xo,wo)),Vn!==Me&&ko&&Qo!==!1&&(Qn(Me,!0),er(null,!0))}}var mo=Kt(no),Er=(0,ce.Z)(mo,1),uo=Er[0],Co=x.useMemo(function(){var wo,xo,ko;switch(Vn){case Ye:return wo={},(0,xe.Z)(wo,$e,mr),(0,xe.Z)(wo,ze,rn),(0,xe.Z)(wo,Te,on),wo;case Le:return xo={},(0,xe.Z)(xo,$e,Et),(0,xe.Z)(xo,ze,Xn),(0,xe.Z)(xo,Te,Yt),xo;case Be:return ko={},(0,xe.Z)(ko,$e,Gt),(0,xe.Z)(ko,ze,_n),(0,xe.Z)(ko,Te,$t),ko;default:return{}}},[Vn]),Io=Dt(Vn,function(wo){if(wo===$e){var xo=Co[$e];return xo?xo(jr()):it}if(hr in Co){var ko;er(((ko=Co[hr])===null||ko===void 0?void 0:ko.call(Co,jr(),null))||null)}return hr===Te&&(uo(jr()),Kn>0&&(clearTimeout(Ur.current),Ur.current=setTimeout(function(){no({deadline:!0})},Kn))),bt}),yo=(0,ce.Z)(Io,2),Eo=yo[0],hr=yo[1],Kr=wt(hr);Yr.current=Kr,xt(function(){Ht(zt);var wo=Mr.current;if(Mr.current=!0,!!_t){var xo;!wo&&zt&&Vt&&(xo=Ye),wo&&zt&&kn&&(xo=Le),(wo&&!zt&&sn||!wo&&lr&&!zt&&sn)&&(xo=Be),xo&&(Qn(xo),Eo())}},[zt]),(0,x.useEffect)(function(){(Vn===Ye&&!Vt||Vn===Le&&!kn||Vn===Be&&!sn)&&Qn(Me)},[Vt,kn,sn]),(0,x.useEffect)(function(){return function(){Mr.current=!1,clearTimeout(Ur.current)}},[]);var To=x.useRef(!1);(0,x.useEffect)(function(){Ft&&(To.current=!0),Ft!==void 0&&Vn===Me&&((To.current||Ft)&&(ct==null||ct(Ft)),To.current=!0)},[Ft,Vn]);var Ao=Jn;return Co[$e]&&hr===ze&&(Ao=(0,he.Z)({transition:"none"},Ao)),[Vn,hr,Ao,Ft!=null?Ft:zt]}var wn=function(_t){(0,ie.Z)(fn,_t);var zt=(0,ue.Z)(fn);function fn(){return(0,le.Z)(this,fn),zt.apply(this,arguments)}return(0,re.Z)(fn,[{key:"render",value:function(){return this.props.children}}]),fn}(x.Component),Nn=wn;function On(_t){var zt=_t;(0,E.Z)(_t)==="object"&&(zt=_t.transitionSupport);function fn(hn){return!!(hn.motionName&&zt)}var ht=x.forwardRef(function(hn,kn){var Un=hn.visible,Vt=Un===void 0?!0:Un,nn=hn.removeOnLeave,sn=nn===void 0?!0:nn,Kn=hn.forceRender,lr=hn.children,mr=hn.motionName,Et=hn.leavedClassName,Gt=hn.eventProps,rn=fn(hn),Xn=(0,x.useRef)(),_n=(0,x.useRef)();function on(){try{return Xn.current instanceof HTMLElement?Xn.current:Ae(_n.current)}catch(Yn){return null}}var Yt=Pn(rn,Vt,on,hn),$t=(0,ce.Z)(Yt,4),Jt=$t[0],Ln=$t[1],ut=$t[2],ct=$t[3],pt=x.useRef(ct);ct&&(pt.current=!0);var Mt=x.useCallback(function(Yn){Xn.current=Yn,we(kn,Yn)},[kn]),Ft,Ht=(0,he.Z)((0,he.Z)({},Gt),{},{visible:Vt});if(!lr)Ft=null;else if(Jt===Me||!fn(hn))ct?Ft=lr((0,he.Z)({},Ht),Mt):!sn&&pt.current&&Et?Ft=lr((0,he.Z)((0,he.Z)({},Ht),{},{className:Et}),Mt):Kn||!sn&&!Et?Ft=lr((0,he.Z)((0,he.Z)({},Ht),{},{style:{display:"none"}}),Mt):Ft=null;else{var pn,Rn;Ln===$e?Rn="prepare":wt(Ln)?Rn="active":Ln===ze&&(Rn="start"),Ft=lr((0,he.Z)((0,he.Z)({},Ht),{},{className:oe()(Ke(mr,Jt),(pn={},(0,xe.Z)(pn,Ke(mr,"".concat(Jt,"-").concat(Rn)),Rn),(0,xe.Z)(pn,mr,typeof mr=="string"),pn)),style:ut}),Mt)}if(x.isValidElement(Ft)&&ke(Ft)){var Vn=Ft,Qn=Vn.ref;Qn||(Ft=x.cloneElement(Ft,{ref:Mt}))}return x.createElement(Nn,{ref:_n},Ft)});return ht.displayName="CSSMotion",ht}var qn=On(tt),rr="add",pr="keep",zr="remove",Vr="removed";function An(_t){var zt;return _t&&(0,E.Z)(_t)==="object"&&"key"in _t?zt=_t:zt={key:_t},(0,he.Z)((0,he.Z)({},zt),{},{key:String(zt.key)})}function Cn(){var _t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return _t.map(An)}function Ut(){var _t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],fn=[],ht=0,hn=zt.length,kn=Cn(_t),Un=Cn(zt);kn.forEach(function(sn){for(var Kn=!1,lr=ht;lr<hn;lr+=1){var mr=Un[lr];if(mr.key===sn.key){ht<lr&&(fn=fn.concat(Un.slice(ht,lr).map(function(Et){return(0,he.Z)((0,he.Z)({},Et),{},{status:rr})})),ht=lr),fn.push((0,he.Z)((0,he.Z)({},mr),{},{status:pr})),ht+=1,Kn=!0;break}}Kn||fn.push((0,he.Z)((0,he.Z)({},sn),{},{status:zr}))}),ht<hn&&(fn=fn.concat(Un.slice(ht).map(function(sn){return(0,he.Z)((0,he.Z)({},sn),{},{status:rr})})));var Vt={};fn.forEach(function(sn){var Kn=sn.key;Vt[Kn]=(Vt[Kn]||0)+1});var nn=Object.keys(Vt).filter(function(sn){return Vt[sn]>1});return nn.forEach(function(sn){fn=fn.filter(function(Kn){var lr=Kn.key,mr=Kn.status;return lr!==sn||mr!==zr}),fn.forEach(function(Kn){Kn.key===sn&&(Kn.status=pr)})}),fn}var Tt=["component","children","onVisibleChanged","onAllRemoved"],kt=["status"],en=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Xt(_t){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qn,fn=function(ht){(0,ie.Z)(kn,ht);var hn=(0,ue.Z)(kn);function kn(){var Un;(0,le.Z)(this,kn);for(var Vt=arguments.length,nn=new Array(Vt),sn=0;sn<Vt;sn++)nn[sn]=arguments[sn];return Un=hn.call.apply(hn,[this].concat(nn)),(0,xe.Z)((0,se.Z)(Un),"state",{keyEntities:[]}),(0,xe.Z)((0,se.Z)(Un),"removeKey",function(Kn){var lr=Un.state.keyEntities,mr=lr.map(function(Et){return Et.key!==Kn?Et:(0,he.Z)((0,he.Z)({},Et),{},{status:Vr})});return Un.setState({keyEntities:mr}),mr.filter(function(Et){var Gt=Et.status;return Gt!==Vr}).length}),Un}return(0,re.Z)(kn,[{key:"render",value:function(){var Vt=this,nn=this.state.keyEntities,sn=this.props,Kn=sn.component,lr=sn.children,mr=sn.onVisibleChanged,Et=sn.onAllRemoved,Gt=(0,ge.Z)(sn,Tt),rn=Kn||x.Fragment,Xn={};return en.forEach(function(_n){Xn[_n]=Gt[_n],delete Gt[_n]}),delete Gt.keys,x.createElement(rn,Gt,nn.map(function(_n){var on=_n.status,Yt=(0,ge.Z)(_n,kt),$t=on===rr||on===pr;return x.createElement(zt,(0,Se.Z)({},Xn,{key:Yt.key,visible:$t,eventProps:Yt,onVisibleChanged:function(Ln){if(mr==null||mr(Ln,{key:Yt.key}),!Ln){var ut=Vt.removeKey(Yt.key);ut===0&&Et&&Et()}}}),lr)}))}}],[{key:"getDerivedStateFromProps",value:function(Vt,nn){var sn=Vt.keys,Kn=nn.keyEntities,lr=Cn(sn),mr=Ut(Kn,lr);return{keyEntities:mr.filter(function(Et){var Gt=Kn.find(function(rn){var Xn=rn.key;return Et.key===Xn});return!(Gt&&Gt.status===Vr&&Et.status===zr)})}}}]),kn}(x.Component);return(0,xe.Z)(fn,"defaultProps",{component:"div"}),fn}var Tn=Xt(tt),tn=qn,yn=de(56261);function Mn(_t,zt){var fn=x.useState(!1),ht=(0,ce.Z)(fn,2),hn=ht[0],kn=ht[1];x.useLayoutEffect(function(){if(hn)return _t(),function(){zt()}},[hn]),x.useLayoutEffect(function(){return kn(!0),function(){kn(!1)}},[])}var Dn=de(83898),St=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Ct=function(zt,fn){var ht=zt.className,hn=zt.style,kn=zt.motion,Un=zt.motionNodes,Vt=zt.motionType,nn=zt.onMotionStart,sn=zt.onMotionEnd,Kn=zt.active,lr=zt.treeNodeRequiredProps,mr=(0,ge.Z)(zt,St),Et=x.useState(!0),Gt=(0,ce.Z)(Et,2),rn=Gt[0],Xn=Gt[1],_n=x.useContext(b.k),on=_n.prefixCls,Yt=Un&&Vt!=="hide";pe(function(){Un&&Yt!==rn&&Xn(Yt)},[Un]);var $t=function(){Un&&nn()},Jt=x.useRef(!1),Ln=function(){Un&&!Jt.current&&(Jt.current=!0,sn())};Mn($t,Ln);var ut=function(pt){Yt===pt&&Ln()};return Un?x.createElement(tn,(0,Se.Z)({ref:fn,visible:rn},kn,{motionAppear:Vt==="show",onVisibleChanged:ut}),function(ct,pt){var Mt=ct.className,Ft=ct.style;return x.createElement("div",{ref:pt,className:oe()("".concat(on,"-treenode-motion"),Mt),style:Ft},Un.map(function(Ht){var pn=(0,Se.Z)({},((0,te.Z)(Ht.data),Ht.data)),Rn=Ht.title,Vn=Ht.key,Qn=Ht.isStart,Yn=Ht.isEnd;delete pn.children;var tr=(0,Dn.H8)(Vn,lr);return x.createElement(yn.Z,(0,Se.Z)({},pn,tr,{title:Rn,active:Kn,data:Ht.data,key:Vn,isStart:Qn,isEnd:Yn}))}))}):x.createElement(yn.Z,(0,Se.Z)({domRef:fn,className:ht,style:hn},mr,{active:Kn}))};Ct.displayName="MotionTreeNode";var Rt=x.forwardRef(Ct),dn=Rt;function Hn(){var _t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],fn=_t.length,ht=zt.length;if(Math.abs(fn-ht)!==1)return{add:!1,key:null};function hn(kn,Un){var Vt=new Map;kn.forEach(function(sn){Vt.set(sn,!0)});var nn=Un.filter(function(sn){return!Vt.has(sn)});return nn.length===1?nn[0]:null}return fn<ht?{add:!0,key:hn(_t,zt)}:{add:!1,key:hn(zt,_t)}}function jn(_t,zt,fn){var ht=_t.findIndex(function(Vt){return Vt.key===fn}),hn=_t[ht+1],kn=zt.findIndex(function(Vt){return Vt.key===fn});if(hn){var Un=zt.findIndex(function(Vt){return Vt.key===hn.key});return zt.slice(kn+1,Un)}return zt.slice(kn+1)}var br=["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"],or={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},wr=function(){},Sr="RC_TREE_MOTION_".concat(Math.random()),co={key:Sr},bn={key:Sr,level:0,index:0,pos:"0",node:co,nodes:[co]},Lr={parent:null,children:[],pos:bn.pos,data:co,title:null,key:Sr,isStart:[],isEnd:[]};function jt(_t,zt,fn,ht){return zt===!1||!fn?_t:_t.slice(0,Math.ceil(fn/ht)+1)}function mn(_t){var zt=_t.key,fn=_t.pos;return(0,Dn.km)(zt,fn)}function cn(_t){for(var zt=String(_t.data.key),fn=_t;fn.parent;)fn=fn.parent,zt="".concat(fn.data.key," > ").concat(zt);return zt}var vn=x.forwardRef(function(_t,zt){var fn=_t.prefixCls,ht=_t.data,hn=_t.selectable,kn=_t.checkable,Un=_t.expandedKeys,Vt=_t.selectedKeys,nn=_t.checkedKeys,sn=_t.loadedKeys,Kn=_t.loadingKeys,lr=_t.halfCheckedKeys,mr=_t.keyEntities,Et=_t.disabled,Gt=_t.dragging,rn=_t.dragOverNodeKey,Xn=_t.dropPosition,_n=_t.motion,on=_t.height,Yt=_t.itemHeight,$t=_t.virtual,Jt=_t.focusable,Ln=_t.activeItem,ut=_t.focused,ct=_t.tabIndex,pt=_t.onKeyDown,Mt=_t.onFocus,Ft=_t.onBlur,Ht=_t.onActiveChange,pn=_t.onListChangeStart,Rn=_t.onListChangeEnd,Vn=(0,ge.Z)(_t,br),Qn=x.useRef(null),Yn=x.useRef(null);x.useImperativeHandle(zt,function(){return{scrollTo:function(Vo){Qn.current.scrollTo(Vo)},getIndentWidth:function(){return Yn.current.offsetWidth}}});var tr=x.useState(Un),Jn=(0,ce.Z)(tr,2),er=Jn[0],Mr=Jn[1],Ur=x.useState(ht),jr=(0,ce.Z)(Ur,2),Yr=jr[0],no=jr[1],mo=x.useState(ht),Er=(0,ce.Z)(mo,2),uo=Er[0],Co=Er[1],Io=x.useState([]),yo=(0,ce.Z)(Io,2),Eo=yo[0],hr=yo[1],Kr=x.useState(null),To=(0,ce.Z)(Kr,2),Ao=To[0],wo=To[1],xo=x.useRef(ht);xo.current=ht;function ko(){var Do=xo.current;no(Do),Co(Do),hr([]),wo(null),Rn()}pe(function(){Mr(Un);var Do=Hn(er,Un);if(Do.key!==null)if(Do.add){var Vo=Yr.findIndex(function(Go){var ea=Go.key;return ea===Do.key}),la=jt(jn(Yr,ht,Do.key),$t,on,Yt),ha=Yr.slice();ha.splice(Vo+1,0,Lr),Co(ha),hr(la),wo("show")}else{var aa=ht.findIndex(function(Go){var ea=Go.key;return ea===Do.key}),Wo=jt(jn(ht,Yr,Do.key),$t,on,Yt),pa=ht.slice();pa.splice(aa+1,0,Lr),Co(pa),hr(Wo),wo("hide")}else Yr!==ht&&(no(ht),Co(ht))},[Un,ht]),x.useEffect(function(){Gt||ko()},[Gt]);var Qo=_n?uo:ht,oa={expandedKeys:Un,selectedKeys:Vt,loadedKeys:sn,loadingKeys:Kn,checkedKeys:nn,halfCheckedKeys:lr,dragOverNodeKey:rn,dropPosition:Xn,keyEntities:mr};return x.createElement(x.Fragment,null,ut&&Ln&&x.createElement("span",{style:or,"aria-live":"assertive"},cn(Ln)),x.createElement("div",null,x.createElement("input",{style:or,disabled:Jt===!1||Et,tabIndex:Jt!==!1?ct:null,onKeyDown:pt,onFocus:Mt,onBlur:Ft,value:"",onChange:wr,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(fn,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(fn,"-indent")},x.createElement("div",{ref:Yn,className:"".concat(fn,"-indent-unit")}))),x.createElement(ye.Z,(0,Se.Z)({},Vn,{data:Qo,itemKey:mn,height:on,fullHeight:!1,virtual:$t,itemHeight:Yt,prefixCls:"".concat(fn,"-list"),ref:Qn,onVisibleChange:function(Vo,la){var ha=new Set(Vo),aa=la.filter(function(Wo){return!ha.has(Wo)});aa.some(function(Wo){return mn(Wo)===Sr})&&ko()}}),function(Do){var Vo=Do.pos,la=(0,Se.Z)({},((0,te.Z)(Do.data),Do.data)),ha=Do.title,aa=Do.key,Wo=Do.isStart,pa=Do.isEnd,Go=(0,Dn.km)(aa,Vo);delete la.key,delete la.children;var ea=(0,Dn.H8)(Go,oa);return x.createElement(dn,(0,Se.Z)({},la,ea,{title:ha,active:!!Ln&&aa===Ln.key,pos:Vo,data:Do.data,isStart:Wo,isEnd:pa,motion:_n,motionNodes:aa===Sr?Eo:null,motionType:Ao,onMotionStart:pn,onMotionEnd:ko,treeNodeRequiredProps:oa,onMouseMove:function(){Ht(null)}}))}))});vn.displayName="NodeList";var Wn=vn,gn=de(29873),Qt=de(97153),xn=de(3596),Cr=10,gr=function(_t){(0,ie.Z)(fn,_t);var zt=(0,ue.Z)(fn);function fn(){var ht;(0,le.Z)(this,fn);for(var hn=arguments.length,kn=new Array(hn),Un=0;Un<hn;Un++)kn[Un]=arguments[Un];return ht=zt.call.apply(zt,[this].concat(kn)),ht.destroyed=!1,ht.delayedDragEnterLogic=void 0,ht.loadingRetryTimes={},ht.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,Dn.w$)()},ht.dragStartMousePosition=null,ht.dragNode=void 0,ht.currentMouseOverDroppableNodeKey=null,ht.listRef=x.createRef(),ht.onNodeDragStart=function(Vt,nn){var sn=ht.state,Kn=sn.expandedKeys,lr=sn.keyEntities,mr=ht.props.onDragStart,Et=nn.props.eventKey;ht.dragNode=nn,ht.dragStartMousePosition={x:Vt.clientX,y:Vt.clientY};var Gt=(0,gn._5)(Kn,Et);ht.setState({draggingNodeKey:Et,dragChildrenKeys:(0,gn.wA)(Et,lr),indent:ht.listRef.current.getIndentWidth()}),ht.setExpandedKeys(Gt),window.addEventListener("dragend",ht.onWindowDragEnd),mr==null||mr({event:Vt,node:(0,Dn.F)(nn.props)})},ht.onNodeDragEnter=function(Vt,nn){var sn=ht.state,Kn=sn.expandedKeys,lr=sn.keyEntities,mr=sn.dragChildrenKeys,Et=sn.flattenNodes,Gt=sn.indent,rn=ht.props,Xn=rn.onDragEnter,_n=rn.onExpand,on=rn.allowDrop,Yt=rn.direction,$t=nn.props,Jt=$t.pos,Ln=$t.eventKey,ut=(0,se.Z)(ht),ct=ut.dragNode;if(ht.currentMouseOverDroppableNodeKey!==Ln&&(ht.currentMouseOverDroppableNodeKey=Ln),!ct){ht.resetDragState();return}var pt=(0,gn.OM)(Vt,ct,nn,Gt,ht.dragStartMousePosition,on,Et,lr,Kn,Yt),Mt=pt.dropPosition,Ft=pt.dropLevelOffset,Ht=pt.dropTargetKey,pn=pt.dropContainerKey,Rn=pt.dropTargetPos,Vn=pt.dropAllowed,Qn=pt.dragOverNodeKey;if(mr.indexOf(Ht)!==-1||!Vn){ht.resetDragState();return}if(ht.delayedDragEnterLogic||(ht.delayedDragEnterLogic={}),Object.keys(ht.delayedDragEnterLogic).forEach(function(Yn){clearTimeout(ht.delayedDragEnterLogic[Yn])}),ct.props.eventKey!==nn.props.eventKey&&(Vt.persist(),ht.delayedDragEnterLogic[Jt]=window.setTimeout(function(){if(ht.state.draggingNodeKey!==null){var Yn=(0,fe.Z)(Kn),tr=(0,xn.Z)(lr,nn.props.eventKey);tr&&(tr.children||[]).length&&(Yn=(0,gn.L0)(Kn,nn.props.eventKey)),"expandedKeys"in ht.props||ht.setExpandedKeys(Yn),_n==null||_n(Yn,{node:(0,Dn.F)(nn.props),expanded:!0,nativeEvent:Vt.nativeEvent})}},800)),ct.props.eventKey===Ht&&Ft===0){ht.resetDragState();return}ht.setState({dragOverNodeKey:Qn,dropPosition:Mt,dropLevelOffset:Ft,dropTargetKey:Ht,dropContainerKey:pn,dropTargetPos:Rn,dropAllowed:Vn}),Xn==null||Xn({event:Vt,node:(0,Dn.F)(nn.props),expandedKeys:Kn})},ht.onNodeDragOver=function(Vt,nn){var sn=ht.state,Kn=sn.dragChildrenKeys,lr=sn.flattenNodes,mr=sn.keyEntities,Et=sn.expandedKeys,Gt=sn.indent,rn=ht.props,Xn=rn.onDragOver,_n=rn.allowDrop,on=rn.direction,Yt=(0,se.Z)(ht),$t=Yt.dragNode;if($t){var Jt=(0,gn.OM)(Vt,$t,nn,Gt,ht.dragStartMousePosition,_n,lr,mr,Et,on),Ln=Jt.dropPosition,ut=Jt.dropLevelOffset,ct=Jt.dropTargetKey,pt=Jt.dropContainerKey,Mt=Jt.dropAllowed,Ft=Jt.dropTargetPos,Ht=Jt.dragOverNodeKey;Kn.indexOf(ct)!==-1||!Mt||($t.props.eventKey===ct&&ut===0?ht.state.dropPosition===null&&ht.state.dropLevelOffset===null&&ht.state.dropTargetKey===null&&ht.state.dropContainerKey===null&&ht.state.dropTargetPos===null&&ht.state.dropAllowed===!1&&ht.state.dragOverNodeKey===null||ht.resetDragState():Ln===ht.state.dropPosition&&ut===ht.state.dropLevelOffset&&ct===ht.state.dropTargetKey&&pt===ht.state.dropContainerKey&&Ft===ht.state.dropTargetPos&&Mt===ht.state.dropAllowed&&Ht===ht.state.dragOverNodeKey||ht.setState({dropPosition:Ln,dropLevelOffset:ut,dropTargetKey:ct,dropContainerKey:pt,dropTargetPos:Ft,dropAllowed:Mt,dragOverNodeKey:Ht}),Xn==null||Xn({event:Vt,node:(0,Dn.F)(nn.props)}))}},ht.onNodeDragLeave=function(Vt,nn){ht.currentMouseOverDroppableNodeKey===nn.props.eventKey&&!Vt.currentTarget.contains(Vt.relatedTarget)&&(ht.resetDragState(),ht.currentMouseOverDroppableNodeKey=null);var sn=ht.props.onDragLeave;sn==null||sn({event:Vt,node:(0,Dn.F)(nn.props)})},ht.onWindowDragEnd=function(Vt){ht.onNodeDragEnd(Vt,null,!0),window.removeEventListener("dragend",ht.onWindowDragEnd)},ht.onNodeDragEnd=function(Vt,nn){var sn=ht.props.onDragEnd;ht.setState({dragOverNodeKey:null}),ht.cleanDragState(),sn==null||sn({event:Vt,node:(0,Dn.F)(nn.props)}),ht.dragNode=null,window.removeEventListener("dragend",ht.onWindowDragEnd)},ht.onNodeDrop=function(Vt,nn){var sn,Kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,lr=ht.state,mr=lr.dragChildrenKeys,Et=lr.dropPosition,Gt=lr.dropTargetKey,rn=lr.dropTargetPos,Xn=lr.dropAllowed;if(Xn){var _n=ht.props.onDrop;if(ht.setState({dragOverNodeKey:null}),ht.cleanDragState(),Gt!==null){var on=(0,he.Z)((0,he.Z)({},(0,Dn.H8)(Gt,ht.getTreeNodeRequiredProps())),{},{active:((sn=ht.getActiveItem())===null||sn===void 0?void 0:sn.key)===Gt,data:(0,xn.Z)(ht.state.keyEntities,Gt).node}),Yt=mr.indexOf(Gt)!==-1;(0,y.ZP)(!Yt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var $t=(0,gn.yx)(rn),Jt={event:Vt,node:(0,Dn.F)(on),dragNode:ht.dragNode?(0,Dn.F)(ht.dragNode.props):null,dragNodesKeys:[ht.dragNode.props.eventKey].concat(mr),dropToGap:Et!==0,dropPosition:Et+Number($t[$t.length-1])};Kn||_n==null||_n(Jt),ht.dragNode=null}}},ht.cleanDragState=function(){var Vt=ht.state.draggingNodeKey;Vt!==null&&ht.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ht.dragStartMousePosition=null,ht.currentMouseOverDroppableNodeKey=null},ht.triggerExpandActionExpand=function(Vt,nn){var sn=ht.state,Kn=sn.expandedKeys,lr=sn.flattenNodes,mr=nn.expanded,Et=nn.key,Gt=nn.isLeaf;if(!(Gt||Vt.shiftKey||Vt.metaKey||Vt.ctrlKey)){var rn=lr.filter(function(_n){return _n.key===Et})[0],Xn=(0,Dn.F)((0,he.Z)((0,he.Z)({},(0,Dn.H8)(Et,ht.getTreeNodeRequiredProps())),{},{data:rn.data}));ht.setExpandedKeys(mr?(0,gn._5)(Kn,Et):(0,gn.L0)(Kn,Et)),ht.onNodeExpand(Vt,Xn)}},ht.onNodeClick=function(Vt,nn){var sn=ht.props,Kn=sn.onClick,lr=sn.expandAction;lr==="click"&&ht.triggerExpandActionExpand(Vt,nn),Kn==null||Kn(Vt,nn)},ht.onNodeDoubleClick=function(Vt,nn){var sn=ht.props,Kn=sn.onDoubleClick,lr=sn.expandAction;lr==="doubleClick"&&ht.triggerExpandActionExpand(Vt,nn),Kn==null||Kn(Vt,nn)},ht.onNodeSelect=function(Vt,nn){var sn=ht.state.selectedKeys,Kn=ht.state,lr=Kn.keyEntities,mr=Kn.fieldNames,Et=ht.props,Gt=Et.onSelect,rn=Et.multiple,Xn=nn.selected,_n=nn[mr.key],on=!Xn;on?rn?sn=(0,gn.L0)(sn,_n):sn=[_n]:sn=(0,gn._5)(sn,_n);var Yt=sn.map(function($t){var Jt=(0,xn.Z)(lr,$t);return Jt?Jt.node:null}).filter(function($t){return $t});ht.setUncontrolledState({selectedKeys:sn}),Gt==null||Gt(sn,{event:"select",selected:on,node:nn,selectedNodes:Yt,nativeEvent:Vt.nativeEvent})},ht.onNodeCheck=function(Vt,nn,sn){var Kn=ht.state,lr=Kn.keyEntities,mr=Kn.checkedKeys,Et=Kn.halfCheckedKeys,Gt=ht.props,rn=Gt.checkStrictly,Xn=Gt.onCheck,_n=nn.key,on,Yt={event:"check",node:nn,checked:sn,nativeEvent:Vt.nativeEvent};if(rn){var $t=sn?(0,gn.L0)(mr,_n):(0,gn._5)(mr,_n),Jt=(0,gn._5)(Et,_n);on={checked:$t,halfChecked:Jt},Yt.checkedNodes=$t.map(function(Ft){return(0,xn.Z)(lr,Ft)}).filter(function(Ft){return Ft}).map(function(Ft){return Ft.node}),ht.setUncontrolledState({checkedKeys:$t})}else{var Ln=(0,Qt.S)([].concat((0,fe.Z)(mr),[_n]),!0,lr),ut=Ln.checkedKeys,ct=Ln.halfCheckedKeys;if(!sn){var pt=new Set(ut);pt.delete(_n);var Mt=(0,Qt.S)(Array.from(pt),{checked:!1,halfCheckedKeys:ct},lr);ut=Mt.checkedKeys,ct=Mt.halfCheckedKeys}on=ut,Yt.checkedNodes=[],Yt.checkedNodesPositions=[],Yt.halfCheckedKeys=ct,ut.forEach(function(Ft){var Ht=(0,xn.Z)(lr,Ft);if(Ht){var pn=Ht.node,Rn=Ht.pos;Yt.checkedNodes.push(pn),Yt.checkedNodesPositions.push({node:pn,pos:Rn})}}),ht.setUncontrolledState({checkedKeys:ut},!1,{halfCheckedKeys:ct})}Xn==null||Xn(on,Yt)},ht.onNodeLoad=function(Vt){var nn=Vt.key,sn=new Promise(function(Kn,lr){ht.setState(function(mr){var Et=mr.loadedKeys,Gt=Et===void 0?[]:Et,rn=mr.loadingKeys,Xn=rn===void 0?[]:rn,_n=ht.props,on=_n.loadData,Yt=_n.onLoad;if(!on||Gt.indexOf(nn)!==-1||Xn.indexOf(nn)!==-1)return null;var $t=on(Vt);return $t.then(function(){var Jt=ht.state.loadedKeys,Ln=(0,gn.L0)(Jt,nn);Yt==null||Yt(Ln,{event:"load",node:Vt}),ht.setUncontrolledState({loadedKeys:Ln}),ht.setState(function(ut){return{loadingKeys:(0,gn._5)(ut.loadingKeys,nn)}}),Kn()}).catch(function(Jt){if(ht.setState(function(ut){return{loadingKeys:(0,gn._5)(ut.loadingKeys,nn)}}),ht.loadingRetryTimes[nn]=(ht.loadingRetryTimes[nn]||0)+1,ht.loadingRetryTimes[nn]>=Cr){var Ln=ht.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ht.setUncontrolledState({loadedKeys:(0,gn.L0)(Ln,nn)}),Kn()}lr(Jt)}),{loadingKeys:(0,gn.L0)(Xn,nn)}})});return sn.catch(function(){}),sn},ht.onNodeMouseEnter=function(Vt,nn){var sn=ht.props.onMouseEnter;sn==null||sn({event:Vt,node:nn})},ht.onNodeMouseLeave=function(Vt,nn){var sn=ht.props.onMouseLeave;sn==null||sn({event:Vt,node:nn})},ht.onNodeContextMenu=function(Vt,nn){var sn=ht.props.onRightClick;sn&&(Vt.preventDefault(),sn({event:Vt,node:nn}))},ht.onFocus=function(){var Vt=ht.props.onFocus;ht.setState({focused:!0});for(var nn=arguments.length,sn=new Array(nn),Kn=0;Kn<nn;Kn++)sn[Kn]=arguments[Kn];Vt==null||Vt.apply(void 0,sn)},ht.onBlur=function(){var Vt=ht.props.onBlur;ht.setState({focused:!1}),ht.onActiveChange(null);for(var nn=arguments.length,sn=new Array(nn),Kn=0;Kn<nn;Kn++)sn[Kn]=arguments[Kn];Vt==null||Vt.apply(void 0,sn)},ht.getTreeNodeRequiredProps=function(){var Vt=ht.state,nn=Vt.expandedKeys,sn=Vt.selectedKeys,Kn=Vt.loadedKeys,lr=Vt.loadingKeys,mr=Vt.checkedKeys,Et=Vt.halfCheckedKeys,Gt=Vt.dragOverNodeKey,rn=Vt.dropPosition,Xn=Vt.keyEntities;return{expandedKeys:nn||[],selectedKeys:sn||[],loadedKeys:Kn||[],loadingKeys:lr||[],checkedKeys:mr||[],halfCheckedKeys:Et||[],dragOverNodeKey:Gt,dropPosition:rn,keyEntities:Xn}},ht.setExpandedKeys=function(Vt){var nn=ht.state,sn=nn.treeData,Kn=nn.fieldNames,lr=(0,Dn.oH)(sn,Vt,Kn);ht.setUncontrolledState({expandedKeys:Vt,flattenNodes:lr},!0)},ht.onNodeExpand=function(Vt,nn){var sn=ht.state.expandedKeys,Kn=ht.state,lr=Kn.listChanging,mr=Kn.fieldNames,Et=ht.props,Gt=Et.onExpand,rn=Et.loadData,Xn=nn.expanded,_n=nn[mr.key];if(!lr){var on=sn.indexOf(_n),Yt=!Xn;if((0,y.ZP)(Xn&&on!==-1||!Xn&&on===-1,"Expand state not sync with index check"),Yt?sn=(0,gn.L0)(sn,_n):sn=(0,gn._5)(sn,_n),ht.setExpandedKeys(sn),Gt==null||Gt(sn,{node:nn,expanded:Yt,nativeEvent:Vt.nativeEvent}),Yt&&rn){var $t=ht.onNodeLoad(nn);$t&&$t.then(function(){var Jt=(0,Dn.oH)(ht.state.treeData,sn,mr);ht.setUncontrolledState({flattenNodes:Jt})}).catch(function(){var Jt=ht.state.expandedKeys,Ln=(0,gn._5)(Jt,_n);ht.setExpandedKeys(Ln)})}}},ht.onListChangeStart=function(){ht.setUncontrolledState({listChanging:!0})},ht.onListChangeEnd=function(){setTimeout(function(){ht.setUncontrolledState({listChanging:!1})})},ht.onActiveChange=function(Vt){var nn=ht.state.activeKey,sn=ht.props.onActiveChange;nn!==Vt&&(ht.setState({activeKey:Vt}),Vt!==null&&ht.scrollTo({key:Vt}),sn==null||sn(Vt))},ht.getActiveItem=function(){var Vt=ht.state,nn=Vt.activeKey,sn=Vt.flattenNodes;return nn===null?null:sn.find(function(Kn){var lr=Kn.key;return lr===nn})||null},ht.offsetActiveKey=function(Vt){var nn=ht.state,sn=nn.flattenNodes,Kn=nn.activeKey,lr=sn.findIndex(function(Gt){var rn=Gt.key;return rn===Kn});lr===-1&&Vt<0&&(lr=sn.length),lr=(lr+Vt+sn.length)%sn.length;var mr=sn[lr];if(mr){var Et=mr.key;ht.onActiveChange(Et)}else ht.onActiveChange(null)},ht.onKeyDown=function(Vt){var nn=ht.state,sn=nn.activeKey,Kn=nn.expandedKeys,lr=nn.checkedKeys,mr=nn.fieldNames,Et=ht.props,Gt=Et.onKeyDown,rn=Et.checkable,Xn=Et.selectable;switch(Vt.which){case ee.UP:{ht.offsetActiveKey(-1),Vt.preventDefault();break}case ee.DOWN:{ht.offsetActiveKey(1),Vt.preventDefault();break}}var _n=ht.getActiveItem();if(_n&&_n.data){var on=ht.getTreeNodeRequiredProps(),Yt=_n.data.isLeaf===!1||!!(_n.data[mr.children]||[]).length,$t=(0,Dn.F)((0,he.Z)((0,he.Z)({},(0,Dn.H8)(sn,on)),{},{data:_n.data,active:!0}));switch(Vt.which){case ee.LEFT:{Yt&&Kn.includes(sn)?ht.onNodeExpand({},$t):_n.parent&&ht.onActiveChange(_n.parent.key),Vt.preventDefault();break}case ee.RIGHT:{Yt&&!Kn.includes(sn)?ht.onNodeExpand({},$t):_n.children&&_n.children.length&&ht.onActiveChange(_n.children[0].key),Vt.preventDefault();break}case ee.ENTER:case ee.SPACE:{rn&&!$t.disabled&&$t.checkable!==!1&&!$t.disableCheckbox?ht.onNodeCheck({},$t,!lr.includes(sn)):!rn&&Xn&&!$t.disabled&&$t.selectable!==!1&&ht.onNodeSelect({},$t);break}}}Gt==null||Gt(Vt)},ht.setUncontrolledState=function(Vt){var nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ht.destroyed){var Kn=!1,lr=!0,mr={};Object.keys(Vt).forEach(function(Et){if(Et in ht.props){lr=!1;return}Kn=!0,mr[Et]=Vt[Et]}),Kn&&(!nn||lr)&&ht.setState((0,he.Z)((0,he.Z)({},mr),sn))}},ht.scrollTo=function(Vt){ht.listRef.current.scrollTo(Vt)},ht}return(0,re.Z)(fn,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var hn=this.props.activeKey;hn!==void 0&&hn!==this.state.activeKey&&(this.setState({activeKey:hn}),hn!==null&&this.scrollTo({key:hn}))}},{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 hn,kn=this.state,Un=kn.focused,Vt=kn.flattenNodes,nn=kn.keyEntities,sn=kn.draggingNodeKey,Kn=kn.activeKey,lr=kn.dropLevelOffset,mr=kn.dropContainerKey,Et=kn.dropTargetKey,Gt=kn.dropPosition,rn=kn.dragOverNodeKey,Xn=kn.indent,_n=this.props,on=_n.prefixCls,Yt=_n.className,$t=_n.style,Jt=_n.showLine,Ln=_n.focusable,ut=_n.tabIndex,ct=ut===void 0?0:ut,pt=_n.selectable,Mt=_n.showIcon,Ft=_n.icon,Ht=_n.switcherIcon,pn=_n.draggable,Rn=_n.checkable,Vn=_n.checkStrictly,Qn=_n.disabled,Yn=_n.motion,tr=_n.loadData,Jn=_n.filterTreeNode,er=_n.height,Mr=_n.itemHeight,Ur=_n.virtual,jr=_n.titleRender,Yr=_n.dropIndicatorRender,no=_n.onContextMenu,mo=_n.onScroll,Er=_n.direction,uo=_n.rootClassName,Co=_n.rootStyle,Io=(0,a.Z)(this.props,{aria:!0,data:!0}),yo;return pn&&((0,E.Z)(pn)==="object"?yo=pn:typeof pn=="function"?yo={nodeDraggable:pn}:yo={}),x.createElement(b.k.Provider,{value:{prefixCls:on,selectable:pt,showIcon:Mt,icon:Ft,switcherIcon:Ht,draggable:yo,draggingNodeKey:sn,checkable:Rn,checkStrictly:Vn,disabled:Qn,keyEntities:nn,dropLevelOffset:lr,dropContainerKey:mr,dropTargetKey:Et,dropPosition:Gt,dragOverNodeKey:rn,indent:Xn,direction:Er,dropIndicatorRender:Yr,loadData:tr,filterTreeNode:Jn,titleRender:jr,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}},x.createElement("div",{role:"tree",className:oe()(on,Yt,uo,(hn={},(0,xe.Z)(hn,"".concat(on,"-show-line"),Jt),(0,xe.Z)(hn,"".concat(on,"-focused"),Un),(0,xe.Z)(hn,"".concat(on,"-active-focused"),Kn!==null),hn)),style:Co},x.createElement(Wn,(0,Se.Z)({ref:this.listRef,prefixCls:on,style:$t,data:Vt,disabled:Qn,selectable:pt,checkable:!!Rn,motion:Yn,dragging:sn!==null,height:er,itemHeight:Mr,virtual:Ur,focusable:Ln,focused:Un,tabIndex:ct,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:no,onScroll:mo},this.getTreeNodeRequiredProps(),Io))))}}],[{key:"getDerivedStateFromProps",value:function(hn,kn){var Un=kn.prevProps,Vt={prevProps:hn};function nn(Ln){return!Un&&Ln in hn||Un&&Un[Ln]!==hn[Ln]}var sn,Kn=kn.fieldNames;if(nn("fieldNames")&&(Kn=(0,Dn.w$)(hn.fieldNames),Vt.fieldNames=Kn),nn("treeData")?sn=hn.treeData:nn("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),sn=(0,Dn.zn)(hn.children)),sn){Vt.treeData=sn;var lr=(0,Dn.I8)(sn,{fieldNames:Kn});Vt.keyEntities=(0,he.Z)((0,xe.Z)({},Sr,bn),lr.keyEntities)}var mr=Vt.keyEntities||kn.keyEntities;if(nn("expandedKeys")||Un&&nn("autoExpandParent"))Vt.expandedKeys=hn.autoExpandParent||!Un&&hn.defaultExpandParent?(0,gn.r7)(hn.expandedKeys,mr):hn.expandedKeys;else if(!Un&&hn.defaultExpandAll){var Et=(0,he.Z)({},mr);delete Et[Sr],Vt.expandedKeys=Object.keys(Et).map(function(Ln){return Et[Ln].key})}else!Un&&hn.defaultExpandedKeys&&(Vt.expandedKeys=hn.autoExpandParent||hn.defaultExpandParent?(0,gn.r7)(hn.defaultExpandedKeys,mr):hn.defaultExpandedKeys);if(Vt.expandedKeys||delete Vt.expandedKeys,sn||Vt.expandedKeys){var Gt=(0,Dn.oH)(sn||kn.treeData,Vt.expandedKeys||kn.expandedKeys,Kn);Vt.flattenNodes=Gt}if(hn.selectable&&(nn("selectedKeys")?Vt.selectedKeys=(0,gn.BT)(hn.selectedKeys,hn):!Un&&hn.defaultSelectedKeys&&(Vt.selectedKeys=(0,gn.BT)(hn.defaultSelectedKeys,hn))),hn.checkable){var rn;if(nn("checkedKeys")?rn=(0,gn.E6)(hn.checkedKeys)||{}:!Un&&hn.defaultCheckedKeys?rn=(0,gn.E6)(hn.defaultCheckedKeys)||{}:sn&&(rn=(0,gn.E6)(hn.checkedKeys)||{checkedKeys:kn.checkedKeys,halfCheckedKeys:kn.halfCheckedKeys}),rn){var Xn=rn,_n=Xn.checkedKeys,on=_n===void 0?[]:_n,Yt=Xn.halfCheckedKeys,$t=Yt===void 0?[]:Yt;if(!hn.checkStrictly){var Jt=(0,Qt.S)(on,!0,mr);on=Jt.checkedKeys,$t=Jt.halfCheckedKeys}Vt.checkedKeys=on,Vt.halfCheckedKeys=$t}}return nn("loadedKeys")&&(Vt.loadedKeys=hn.loadedKeys),Vt}}]),fn}(x.Component);gr.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:z,allowDrop:function(){return!0},expandAction:!1},gr.TreeNode=yn.Z;var Rr=gr,kr=Rr,ho=de(73148),ao=de(56747),eo={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"},Fn=eo,io=de(74643),jo=function(zt,fn){return x.createElement(io.Z,(0,Se.Z)({},zt,{ref:fn,icon:Fn}))},$n=x.forwardRef(jo),Bn=de(53124),fr=de(50881),nr=de(33603),xr=de(32157);const cr=4;function Fr(_t){const{dropPosition:zt,dropLevelOffset:fn,prefixCls:ht,indent:hn,direction:kn="ltr"}=_t,Un=kn==="ltr"?"left":"right",Vt=kn==="ltr"?"right":"left",nn={[Un]:-fn*hn+cr,[Vt]:0};switch(zt){case-1:nn.top=-3;break;case 1:nn.bottom=-3;break;default:nn.bottom=-3,nn[Un]=hn+cr;break}return x.createElement("div",{style:nn,className:`${ht}-drop-indicator`})}var Qr=de(99184),It=x.forwardRef((_t,zt)=>{const{getPrefixCls:fn,direction:ht,virtual:hn,tree:kn}=x.useContext(Bn.E_),{prefixCls:Un,className:Vt,showIcon:nn=!1,showLine:sn,switcherIcon:Kn,blockNode:lr=!1,children:mr,checkable:Et=!1,selectable:Gt=!0,draggable:rn,motion:Xn,style:_n}=_t,on=fn("tree",Un),Yt=fn(),$t=Xn!=null?Xn:Object.assign(Object.assign({},(0,nr.Z)(Yt)),{motionAppear:!1}),Jt=Object.assign(Object.assign({},_t),{checkable:Et,selectable:Gt,showIcon:nn,motion:$t,blockNode:lr,showLine:!!sn,dropIndicatorRender:Fr}),[Ln,ut]=(0,xr.ZP)(on),ct=x.useMemo(()=>{if(!rn)return!1;let Mt={};switch(typeof rn){case"function":Mt.nodeDraggable=rn;break;case"object":Mt=Object.assign({},rn);break;default:break}return Mt.icon!==!1&&(Mt.icon=Mt.icon||x.createElement(fr.Z,null)),Mt},[rn]),pt=Mt=>x.createElement(Qr.Z,{prefixCls:on,switcherIcon:Kn,treeNodeProps:Mt,showLine:sn});return Ln(x.createElement(kr,Object.assign({itemHeight:20,ref:zt,virtual:hn},Jt,{style:Object.assign(Object.assign({},kn==null?void 0:kn.style),_n),prefixCls:on,className:oe()({[`${on}-icon-hide`]:!nn,[`${on}-block-node`]:lr,[`${on}-unselectable`]:!Gt,[`${on}-rtl`]:ht==="rtl"},kn==null?void 0:kn.className,Vt,ut),direction:ht,checkable:Et&&x.createElement("span",{className:`${on}-checkbox-inner`}),selectable:Gt,switcherIcon:pt,draggable:ct}),mr))}),Ot;(function(_t){_t[_t.None=0]="None",_t[_t.Start=1]="Start",_t[_t.End=2]="End"})(Ot||(Ot={}));function qt(_t,zt){function fn(ht){const{key:hn,children:kn}=ht;zt(hn,ht)!==!1&&qt(kn||[],zt)}_t.forEach(fn)}function Sn(_t){let{treeData:zt,expandedKeys:fn,startKey:ht,endKey:hn}=_t;const kn=[];let Un=Ot.None;if(ht&&ht===hn)return[ht];if(!ht||!hn)return[];function Vt(nn){return nn===ht||nn===hn}return qt(zt,nn=>{if(Un===Ot.End)return!1;if(Vt(nn)){if(kn.push(nn),Un===Ot.None)Un=Ot.Start;else if(Un===Ot.Start)return Un=Ot.End,!1}else Un===Ot.Start&&kn.push(nn);return fn.includes(nn)}),kn}function In(_t,zt){const fn=(0,fe.Z)(zt),ht=[];return qt(_t,(hn,kn)=>{const Un=fn.indexOf(hn);return Un!==-1&&(ht.push(kn),fn.splice(Un,1)),!!fn.length}),ht}var an=function(_t,zt){var fn={};for(var ht in _t)Object.prototype.hasOwnProperty.call(_t,ht)&&zt.indexOf(ht)<0&&(fn[ht]=_t[ht]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,ht=Object.getOwnPropertySymbols(_t);hn<ht.length;hn++)zt.indexOf(ht[hn])<0&&Object.prototype.propertyIsEnumerable.call(_t,ht[hn])&&(fn[ht[hn]]=_t[ht[hn]]);return fn};function Pr(_t){const{isLeaf:zt,expanded:fn}=_t;return zt?x.createElement(ho.Z,null):fn?x.createElement(ao.Z,null):x.createElement($n,null)}function Or(_t){let{treeData:zt,children:fn}=_t;return zt||(0,Dn.zn)(fn)}const Zr=(_t,zt)=>{var{defaultExpandAll:fn,defaultExpandParent:ht,defaultExpandedKeys:hn}=_t,kn=an(_t,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Un=x.useRef(),Vt=x.useRef(),nn=()=>{const{keyEntities:ct}=(0,Dn.I8)(Or(kn));let pt;return fn?pt=Object.keys(ct):ht?pt=(0,gn.r7)(kn.expandedKeys||hn||[],ct):pt=kn.expandedKeys||hn,pt},[sn,Kn]=x.useState(kn.selectedKeys||kn.defaultSelectedKeys||[]),[lr,mr]=x.useState(()=>nn());x.useEffect(()=>{"selectedKeys"in kn&&Kn(kn.selectedKeys)},[kn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in kn&&mr(kn.expandedKeys)},[kn.expandedKeys]);const Et=(ct,pt)=>{var Mt;return"expandedKeys"in kn||mr(ct),(Mt=kn.onExpand)===null||Mt===void 0?void 0:Mt.call(kn,ct,pt)},Gt=(ct,pt)=>{var Mt;const{multiple:Ft}=kn,{node:Ht,nativeEvent:pn}=pt,{key:Rn=""}=Ht,Vn=Or(kn),Qn=Object.assign(Object.assign({},pt),{selected:!0}),Yn=(pn==null?void 0:pn.ctrlKey)||(pn==null?void 0:pn.metaKey),tr=pn==null?void 0:pn.shiftKey;let Jn;Ft&&Yn?(Jn=ct,Un.current=Rn,Vt.current=Jn,Qn.selectedNodes=In(Vn,Jn)):Ft&&tr?(Jn=Array.from(new Set([].concat((0,fe.Z)(Vt.current||[]),(0,fe.Z)(Sn({treeData:Vn,expandedKeys:lr,startKey:Rn,endKey:Un.current}))))),Qn.selectedNodes=In(Vn,Jn)):(Jn=[Rn],Un.current=Rn,Vt.current=Jn,Qn.selectedNodes=In(Vn,Jn)),(Mt=kn.onSelect)===null||Mt===void 0||Mt.call(kn,Jn,Qn),"selectedKeys"in kn||Kn(Jn)},{getPrefixCls:rn,direction:Xn}=x.useContext(Bn.E_),{prefixCls:_n,className:on,showIcon:Yt=!0,expandAction:$t="click"}=kn,Jt=an(kn,["prefixCls","className","showIcon","expandAction"]),Ln=rn("tree",_n),ut=oe()(`${Ln}-directory`,{[`${Ln}-directory-rtl`]:Xn==="rtl"},on);return x.createElement(It,Object.assign({icon:Pr,ref:zt,blockNode:!0},Jt,{showIcon:Yt,expandAction:$t,prefixCls:Ln,className:ut,expandedKeys:lr,selectedKeys:sn,onSelect:Gt,onExpand:Et}))};var Wr=x.forwardRef(Zr);const po=It;po.DirectoryTree=Wr,po.TreeNode=yn.Z;var ar=po},32157:function(Lt,gt,de){"use strict";de.d(gt,{TM:function(){return ne},Yk:function(){return oe}});var Se=de(45930),xe=de(63185),E=de(14747),he=de(33507),fe=de(45503),le=de(67968);const re=new Se.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),se=(ee,a)=>({[`.${ee}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),ie=(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:ce}=a,ge=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:re,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({},se(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:ge},[`${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:ce},[`&${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"},ie(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,fe.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[ue(ee,z),ae(z)]},ne=ee=>{const{controlHeightSM:a}=ee;return{titleHeight:a,nodeHoverBg:ee.controlItemBgHover,nodeSelectedBg:ee.controlItemBgActive}};gt.ZP=(0,le.Z)("Tree",(ee,a)=>{let{prefixCls:y}=a;return[{[ee.componentCls]:(0,xe.C2)(`${y}-checkbox`,ee)},oe(y,ee),(0,he.Z)(ee)]},ee=>{const{colorTextLightSolid:a,colorPrimary:y}=ee;return Object.assign(Object.assign({},ne(ee)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},99184:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return y}});var Se=de(87462),xe=de(67294),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,fe=de(74643),le=function(b,z){return xe.createElement(fe.Z,(0,Se.Z)({},b,{ref:z,icon:he}))},re=xe.forwardRef(le),se=de(73148),ie=de(3407),ue=de(34182),ae=de(74664),oe=de(94184),ne=de.n(oe),ee=de(96159),y=x=>{const{prefixCls:b,switcherIcon:z,treeNodeProps:te,showLine:ce}=x,{isLeaf:ge,expanded:me,loading:ve}=te;if(ve)return xe.createElement(ie.Z,{className:`${b}-switcher-loading-icon`});let pe;if(ce&&typeof ce=="object"&&(pe=ce.showLeafIcon),ge){if(!ce)return null;if(typeof pe!="boolean"&&pe){const Ee=typeof pe=="function"?pe(te):pe,Pe=`${b}-switcher-line-custom-icon`;return(0,ee.l$)(Ee)?(0,ee.Tm)(Ee,{className:ne()(Ee.props.className||"",Pe)}):Ee}return pe?xe.createElement(se.Z,{className:`${b}-switcher-line-icon`}):xe.createElement("span",{className:`${b}-switcher-leaf-line`})}const be=`${b}-switcher-icon`,ye=typeof z=="function"?z(te):z;return(0,ee.l$)(ye)?(0,ee.Tm)(ye,{className:ne()(ye.props.className||"",be)}):ye!==void 0?ye:ce?me?xe.createElement(ue.Z,{className:`${b}-switcher-line-icon`}):xe.createElement(ae.Z,{className:`${b}-switcher-line-icon`}):xe.createElement(re,{className:be})}},59810:function(Lt,gt,de){"use strict";de.d(gt,{default:function(){return Lr}});var Se=de(67294),xe=de(74902),E=de(94184),he=de.n(E),fe=de(87462),le=de(15671),re=de(43144),se=de(60136),ie=de(51630),ue=de(4942),ae=de(45987),oe=de(74165),ne=de(71002),ee=de(15861),a=de(64217);function y(jt,mn){var cn="cannot ".concat(jt.method," ").concat(jt.action," ").concat(mn.status,"'"),vn=new Error(cn);return vn.status=mn.status,vn.method=jt.method,vn.url=jt.action,vn}function x(jt){var mn=jt.responseText||jt.response;if(!mn)return mn;try{return JSON.parse(mn)}catch(cn){return mn}}function b(jt){var mn=new XMLHttpRequest;jt.onProgress&&mn.upload&&(mn.upload.onprogress=function(gn){gn.total>0&&(gn.percent=gn.loaded/gn.total*100),jt.onProgress(gn)});var cn=new FormData;jt.data&&Object.keys(jt.data).forEach(function(Wn){var gn=jt.data[Wn];if(Array.isArray(gn)){gn.forEach(function(Qt){cn.append("".concat(Wn,"[]"),Qt)});return}cn.append(Wn,gn)}),jt.file instanceof Blob?cn.append(jt.filename,jt.file,jt.file.name):cn.append(jt.filename,jt.file),mn.onerror=function(gn){jt.onError(gn)},mn.onload=function(){return mn.status<200||mn.status>=300?jt.onError(y(jt,mn),x(mn)):jt.onSuccess(x(mn),mn)},mn.open(jt.method,jt.action,!0),jt.withCredentials&&"withCredentials"in mn&&(mn.withCredentials=!0);var vn=jt.headers||{};return vn["X-Requested-With"]!==null&&mn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(vn).forEach(function(Wn){vn[Wn]!==null&&mn.setRequestHeader(Wn,vn[Wn])}),mn.send(cn),{abort:function(){mn.abort()}}}var z=+new Date,te=0;function ce(){return"rc-upload-".concat(z,"-").concat(++te)}var ge=de(80334),me=function(jt,mn){if(jt&&mn){var cn=Array.isArray(mn)?mn:mn.split(","),vn=jt.name||"",Wn=jt.type||"",gn=Wn.replace(/\/.*$/,"");return cn.some(function(Qt){var xn=Qt.trim();if(/^\*(\/\*)?$/.test(Qt))return!0;if(xn.charAt(0)==="."){var Cr=vn.toLowerCase(),gr=xn.toLowerCase(),Rr=[gr];return(gr===".jpg"||gr===".jpeg")&&(Rr=[".jpg",".jpeg"]),Rr.some(function(kr){return Cr.endsWith(kr)})}return/\/\*$/.test(xn)?gn===xn.replace(/\/.*$/,""):Wn===xn?!0:/^\w+$/.test(xn)?((0,ge.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(xn,"'.Skip for check.")),!0):!1})}return!0};function ve(jt,mn){var cn=jt.createReader(),vn=[];function Wn(){cn.readEntries(function(gn){var Qt=Array.prototype.slice.apply(gn);vn=vn.concat(Qt);var xn=!Qt.length;xn?mn(vn):Wn()})}Wn()}var pe=function(mn,cn,vn){var Wn=function gn(Qt,xn){Qt&&(Qt.path=xn||"",Qt.isFile?Qt.file(function(Cr){vn(Cr)&&(Qt.fullPath&&!Cr.webkitRelativePath&&(Object.defineProperties(Cr,{webkitRelativePath:{writable:!0}}),Cr.webkitRelativePath=Qt.fullPath.replace(/^\//,""),Object.defineProperties(Cr,{webkitRelativePath:{writable:!1}})),cn([Cr]))}):Qt.isDirectory&&ve(Qt,function(Cr){Cr.forEach(function(gr){gn(gr,"".concat(xn).concat(Qt.name,"/"))})}))};mn.forEach(function(gn){Wn(gn.webkitGetAsEntry())})},be=pe,ye=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ee=function(jt){(0,se.Z)(cn,jt);var mn=(0,ie.Z)(cn);function cn(){var vn;(0,le.Z)(this,cn);for(var Wn=arguments.length,gn=new Array(Wn),Qt=0;Qt<Wn;Qt++)gn[Qt]=arguments[Qt];return vn=mn.call.apply(mn,[this].concat(gn)),vn.state={uid:ce()},vn.reqs={},vn.fileInput=void 0,vn._isMounted=void 0,vn.onChange=function(xn){var Cr=vn.props,gr=Cr.accept,Rr=Cr.directory,kr=xn.target.files,ho=(0,xe.Z)(kr).filter(function(ao){return!Rr||me(ao,gr)});vn.uploadFiles(ho),vn.reset()},vn.onClick=function(xn){var Cr=vn.fileInput;if(Cr){var gr=vn.props,Rr=gr.children,kr=gr.onClick;if(Rr&&Rr.type==="button"){var ho=Cr.parentNode;ho.focus(),ho.querySelector("button").blur()}Cr.click(),kr&&kr(xn)}},vn.onKeyDown=function(xn){xn.key==="Enter"&&vn.onClick(xn)},vn.onFileDrop=function(xn){var Cr=vn.props.multiple;if(xn.preventDefault(),xn.type!=="dragover")if(vn.props.directory)be(Array.prototype.slice.call(xn.dataTransfer.items),vn.uploadFiles,function(Rr){return me(Rr,vn.props.accept)});else{var gr=(0,xe.Z)(xn.dataTransfer.files).filter(function(Rr){return me(Rr,vn.props.accept)});Cr===!1&&(gr=gr.slice(0,1)),vn.uploadFiles(gr)}},vn.uploadFiles=function(xn){var Cr=(0,xe.Z)(xn),gr=Cr.map(function(Rr){return Rr.uid=ce(),vn.processFile(Rr,Cr)});Promise.all(gr).then(function(Rr){var kr=vn.props.onBatchStart;kr==null||kr(Rr.map(function(ho){var ao=ho.origin,eo=ho.parsedFile;return{file:ao,parsedFile:eo}})),Rr.filter(function(ho){return ho.parsedFile!==null}).forEach(function(ho){vn.post(ho)})})},vn.processFile=function(){var xn=(0,ee.Z)((0,oe.Z)().mark(function Cr(gr,Rr){var kr,ho,ao,eo,Fn,io,jo,$n,Bn;return(0,oe.Z)().wrap(function(nr){for(;;)switch(nr.prev=nr.next){case 0:if(kr=vn.props.beforeUpload,ho=gr,!kr){nr.next=14;break}return nr.prev=3,nr.next=6,kr(gr,Rr);case 6:ho=nr.sent,nr.next=12;break;case 9:nr.prev=9,nr.t0=nr.catch(3),ho=!1;case 12:if(ho!==!1){nr.next=14;break}return nr.abrupt("return",{origin:gr,parsedFile:null,action:null,data:null});case 14:if(ao=vn.props.action,typeof ao!="function"){nr.next=21;break}return nr.next=18,ao(gr);case 18:eo=nr.sent,nr.next=22;break;case 21:eo=ao;case 22:if(Fn=vn.props.data,typeof Fn!="function"){nr.next=29;break}return nr.next=26,Fn(gr);case 26:io=nr.sent,nr.next=30;break;case 29:io=Fn;case 30:return jo=((0,ne.Z)(ho)==="object"||typeof ho=="string")&&ho?ho:gr,jo instanceof File?$n=jo:$n=new File([jo],gr.name,{type:gr.type}),Bn=$n,Bn.uid=gr.uid,nr.abrupt("return",{origin:gr,data:io,parsedFile:Bn,action:eo});case 35:case"end":return nr.stop()}},Cr,null,[[3,9]])}));return function(Cr,gr){return xn.apply(this,arguments)}}(),vn.saveFileInput=function(xn){vn.fileInput=xn},vn}return(0,re.Z)(cn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Wn){var gn=this,Qt=Wn.data,xn=Wn.origin,Cr=Wn.action,gr=Wn.parsedFile;if(this._isMounted){var Rr=this.props,kr=Rr.onStart,ho=Rr.customRequest,ao=Rr.name,eo=Rr.headers,Fn=Rr.withCredentials,io=Rr.method,jo=xn.uid,$n=ho||b,Bn={action:Cr,filename:ao,data:Qt,file:gr,headers:eo,withCredentials:Fn,method:io||"post",onProgress:function(nr){var xr=gn.props.onProgress;xr==null||xr(nr,gr)},onSuccess:function(nr,xr){var cr=gn.props.onSuccess;cr==null||cr(nr,gr,xr),delete gn.reqs[jo]},onError:function(nr,xr){var cr=gn.props.onError;cr==null||cr(nr,xr,gr),delete gn.reqs[jo]}};kr(xn),this.reqs[jo]=$n(Bn)}}},{key:"reset",value:function(){this.setState({uid:ce()})}},{key:"abort",value:function(Wn){var gn=this.reqs;if(Wn){var Qt=Wn.uid?Wn.uid:Wn;gn[Qt]&&gn[Qt].abort&&gn[Qt].abort(),delete gn[Qt]}else Object.keys(gn).forEach(function(xn){gn[xn]&&gn[xn].abort&&gn[xn].abort(),delete gn[xn]})}},{key:"render",value:function(){var Wn,gn=this.props,Qt=gn.component,xn=gn.prefixCls,Cr=gn.className,gr=gn.disabled,Rr=gn.id,kr=gn.style,ho=gn.multiple,ao=gn.accept,eo=gn.capture,Fn=gn.children,io=gn.directory,jo=gn.openFileDialogOnClick,$n=gn.onMouseEnter,Bn=gn.onMouseLeave,fr=(0,ae.Z)(gn,ye),nr=he()((Wn={},(0,ue.Z)(Wn,xn,!0),(0,ue.Z)(Wn,"".concat(xn,"-disabled"),gr),(0,ue.Z)(Wn,Cr,Cr),Wn)),xr=io?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},cr=gr?{}:{onClick:jo?this.onClick:function(){},onKeyDown:jo?this.onKeyDown:function(){},onMouseEnter:$n,onMouseLeave:Bn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return Se.createElement(Qt,(0,fe.Z)({},cr,{className:nr,role:"button",style:kr}),Se.createElement("input",(0,fe.Z)({},(0,a.Z)(fr,{aria:!0,data:!0}),{id:Rr,disabled:gr,type:"file",ref:this.saveFileInput,onClick:function(Qr){return Qr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:ao},xr,{multiple:ho,onChange:this.onChange},eo!=null?{capture:eo}:{})),Fn)}}]),cn}(Se.Component),Pe=Ee;function Ae(){}var Ce=function(jt){(0,se.Z)(cn,jt);var mn=(0,ie.Z)(cn);function cn(){var vn;(0,le.Z)(this,cn);for(var Wn=arguments.length,gn=new Array(Wn),Qt=0;Qt<Wn;Qt++)gn[Qt]=arguments[Qt];return vn=mn.call.apply(mn,[this].concat(gn)),vn.uploader=void 0,vn.saveUploader=function(xn){vn.uploader=xn},vn}return(0,re.Z)(cn,[{key:"abort",value:function(Wn){this.uploader.abort(Wn)}},{key:"render",value:function(){return Se.createElement(Pe,(0,fe.Z)({},this.props,{ref:this.saveUploader}))}}]),cn}(Se.Component);Ce.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Ae,onError:Ae,onSuccess:Ae,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var _e=Ce,we=_e,Re=de(5663),De=de(73935),ke=de(53124),Ie=de(98866),qe=de(10110),Je=de(24457),We={icon:function(mn,cn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:cn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:mn}}]}},name:"file",theme:"twotone"},Qe=We,He=de(74643),Fe=function(mn,cn){return Se.createElement(He.Z,(0,fe.Z)({},mn,{ref:cn,icon:Qe}))},je=Se.forwardRef(Fe),et=de(3407),tt={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"},st=tt,Xe=function(mn,cn){return Se.createElement(He.Z,(0,fe.Z)({},mn,{ref:cn,icon:st}))},Ke=Se.forwardRef(Xe),Me={icon:function(mn,cn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:mn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:cn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:cn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:cn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:mn}}]}},name:"picture",theme:"twotone"},Ye=Me,Le=function(mn,cn){return Se.createElement(He.Z,(0,fe.Z)({},mn,{ref:cn,icon:Ye}))},Be=Se.forwardRef(Le),Ve=de(38379),$e=de(57838),ze=de(33603),Te=de(96159),Oe=de(71577);function Ne(jt){return Object.assign(Object.assign({},jt),{lastModified:jt.lastModified,lastModifiedDate:jt.lastModifiedDate,name:jt.name,size:jt.size,type:jt.type,uid:jt.uid,percent:0,originFileObj:jt})}function Ge(jt,mn){const cn=(0,xe.Z)(mn),vn=cn.findIndex(Wn=>{let{uid:gn}=Wn;return gn===jt.uid});return vn===-1?cn.push(jt):cn[vn]=jt,cn}function rt(jt,mn){const cn=jt.uid!==void 0?"uid":"name";return mn.filter(vn=>vn[cn]===jt[cn])[0]}function mt(jt,mn){const cn=jt.uid!==void 0?"uid":"name",vn=mn.filter(Wn=>Wn[cn]!==jt[cn]);return vn.length===mn.length?null:vn}const dt=function(){const mn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),vn=mn[mn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(vn)||[""])[0]},nt=jt=>jt.indexOf("image/")===0,vt=jt=>{if(jt.type&&!jt.thumbUrl)return nt(jt.type);const mn=jt.thumbUrl||jt.url||"",cn=dt(mn);return/^data:image\//.test(mn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(cn)?!0:!(/^data:/.test(mn)||cn)},At=200;function Nt(jt){return new Promise(mn=>{if(!jt.type||!nt(jt.type)){mn("");return}const cn=document.createElement("canvas");cn.width=At,cn.height=At,cn.style.cssText=`position: fixed; left: 0; top: 0; width: ${At}px; height: ${At}px; z-index: 9999; display: none;`,document.body.appendChild(cn);const vn=cn.getContext("2d"),Wn=new Image;if(Wn.onload=()=>{const{width:gn,height:Qt}=Wn;let xn=At,Cr=At,gr=0,Rr=0;gn>Qt?(Cr=Qt*(At/gn),Rr=-(Cr-xn)/2):(xn=gn*(At/Qt),gr=-(xn-Cr)/2),vn.drawImage(Wn,gr,Rr,xn,Cr);const kr=cn.toDataURL();document.body.removeChild(cn),window.URL.revokeObjectURL(Wn.src),mn(kr)},Wn.crossOrigin="anonymous",jt.type.startsWith("image/svg+xml")){const gn=new FileReader;gn.onload=()=>{gn.result&&(Wn.src=gn.result)},gn.readAsDataURL(jt)}else if(jt.type.startsWith("image/gif")){const gn=new FileReader;gn.onload=()=>{gn.result&&mn(gn.result)},gn.readAsDataURL(jt)}else Wn.src=window.URL.createObjectURL(jt)})}var at=de(84249),xt=de(90674),lt=de(99569),it=de(38703),bt=de(83062),Dt=Se.forwardRef((jt,mn)=>{let{prefixCls:cn,className:vn,style:Wn,locale:gn,listType:Qt,file:xn,items:Cr,progress:gr,iconRender:Rr,actionIconRender:kr,itemRender:ho,isImgUrl:ao,showPreviewIcon:eo,showRemoveIcon:Fn,showDownloadIcon:io,previewIcon:jo,removeIcon:$n,downloadIcon:Bn,onPreview:fr,onDownload:nr,onClose:xr}=jt;var cr,Fr;const{status:Qr}=xn,[Xr,It]=Se.useState(Qr);Se.useEffect(()=>{Qr!=="removed"&&It(Qr)},[Qr]);const[Ot,qt]=Se.useState(!1);Se.useEffect(()=>{const Vt=setTimeout(()=>{qt(!0)},300);return()=>{clearTimeout(Vt)}},[]);const Sn=Rr(xn);let In=Se.createElement("div",{className:`${cn}-icon`},Sn);if(Qt==="picture"||Qt==="picture-card"||Qt==="picture-circle")if(Xr==="uploading"||!xn.thumbUrl&&!xn.url){const Vt=he()(`${cn}-list-item-thumbnail`,{[`${cn}-list-item-file`]:Xr!=="uploading"});In=Se.createElement("div",{className:Vt},Sn)}else{const Vt=ao!=null&&ao(xn)?Se.createElement("img",{src:xn.thumbUrl||xn.url,alt:xn.name,className:`${cn}-list-item-image`,crossOrigin:xn.crossOrigin}):Sn,nn=he()(`${cn}-list-item-thumbnail`,{[`${cn}-list-item-file`]:ao&&!ao(xn)});In=Se.createElement("a",{className:nn,onClick:sn=>fr(xn,sn),href:xn.url||xn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Vt)}const an=he()(`${cn}-list-item`,`${cn}-list-item-${Xr}`),Pr=typeof xn.linkProps=="string"?JSON.parse(xn.linkProps):xn.linkProps,Or=Fn?kr((typeof $n=="function"?$n(xn):$n)||Se.createElement(at.Z,null),()=>xr(xn),cn,gn.removeFile):null,Zr=io&&Xr==="done"?kr((typeof Bn=="function"?Bn(xn):Bn)||Se.createElement(xt.Z,null),()=>nr(xn),cn,gn.downloadFile):null,ro=Qt!=="picture-card"&&Qt!=="picture-circle"&&Se.createElement("span",{key:"download-delete",className:he()(`${cn}-list-item-actions`,{picture:Qt==="picture"})},Zr,Or),Wr=he()(`${cn}-list-item-name`),po=xn.url?[Se.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Wr,title:xn.name},Pr,{href:xn.url,onClick:Vt=>fr(xn,Vt)}),xn.name),ro]:[Se.createElement("span",{key:"view",className:Wr,onClick:Vt=>fr(xn,Vt),title:xn.name},xn.name),ro],ar={pointerEvents:"none",opacity:.5},_t=eo?Se.createElement("a",{href:xn.url||xn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:xn.url||xn.thumbUrl?void 0:ar,onClick:Vt=>fr(xn,Vt),title:gn.previewFile},typeof jo=="function"?jo(xn):jo||Se.createElement(lt.Z,null)):null,zt=(Qt==="picture-card"||Qt==="picture-circle")&&Xr!=="uploading"&&Se.createElement("span",{className:`${cn}-list-item-actions`},_t,Xr==="done"&&Zr,Or),{getPrefixCls:fn}=Se.useContext(ke.E_),ht=fn(),hn=Se.createElement("div",{className:an},In,po,zt,Ot&&Se.createElement(Ve.default,{motionName:`${ht}-fade`,visible:Xr==="uploading",motionDeadline:2e3},Vt=>{let{className:nn}=Vt;const sn="percent"in xn?Se.createElement(it.Z,Object.assign({},gr,{type:"line",percent:xn.percent,"aria-label":xn["aria-label"],"aria-labelledby":xn["aria-labelledby"]})):null;return Se.createElement("div",{className:he()(`${cn}-list-item-progress`,nn)},sn)})),kn=xn.response&&typeof xn.response=="string"?xn.response:((cr=xn.error)===null||cr===void 0?void 0:cr.statusText)||((Fr=xn.error)===null||Fr===void 0?void 0:Fr.message)||gn.uploadError,Un=Xr==="error"?Se.createElement(bt.Z,{title:kn,getPopupContainer:Vt=>Vt.parentNode},hn):hn;return Se.createElement("div",{className:he()(`${cn}-list-item-container`,vn),style:Wn,ref:mn},ho?ho(Un,xn,Cr,{download:nr.bind(null,xn),preview:fr.bind(null,xn),remove:xr.bind(null,xn)}):Un)});const Kt=(jt,mn)=>{const{listType:cn="text",previewFile:vn=Nt,onPreview:Wn,onDownload:gn,onRemove:Qt,locale:xn,iconRender:Cr,isImageUrl:gr=vt,prefixCls:Rr,items:kr=[],showPreviewIcon:ho=!0,showRemoveIcon:ao=!0,showDownloadIcon:eo=!1,removeIcon:Fn,previewIcon:io,downloadIcon:jo,progress:$n={size:[-1,2],showInfo:!1},appendAction:Bn,appendActionVisible:fr=!0,itemRender:nr,disabled:xr}=jt,cr=(0,$e.Z)(),[Fr,Qr]=Se.useState(!1);Se.useEffect(()=>{cn!=="picture"&&cn!=="picture-card"&&cn!=="picture-circle"||(kr||[]).forEach(ar=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ar.originFileObj instanceof File||ar.originFileObj instanceof Blob)||ar.thumbUrl!==void 0||(ar.thumbUrl="",vn&&vn(ar.originFileObj).then(_t=>{ar.thumbUrl=_t||"",cr()}))})},[cn,kr,vn]),Se.useEffect(()=>{Qr(!0)},[]);const Xr=(ar,_t)=>{if(Wn)return _t==null||_t.preventDefault(),Wn(ar)},It=ar=>{typeof gn=="function"?gn(ar):ar.url&&window.open(ar.url)},Ot=ar=>{Qt==null||Qt(ar)},qt=ar=>{if(Cr)return Cr(ar,cn);const _t=ar.status==="uploading",zt=gr&&gr(ar)?Se.createElement(Be,null):Se.createElement(je,null);let fn=_t?Se.createElement(et.Z,null):Se.createElement(Ke,null);return cn==="picture"?fn=_t?Se.createElement(et.Z,null):zt:(cn==="picture-card"||cn==="picture-circle")&&(fn=_t?xn.uploading:zt),fn},Sn=(ar,_t,zt,fn)=>{const ht={type:"text",size:"small",title:fn,onClick:hn=>{_t(),(0,Te.l$)(ar)&&ar.props.onClick&&ar.props.onClick(hn)},className:`${zt}-list-item-action`,disabled:xr};if((0,Te.l$)(ar)){const hn=(0,Te.Tm)(ar,Object.assign(Object.assign({},ar.props),{onClick:()=>{}}));return Se.createElement(Oe.ZP,Object.assign({},ht,{icon:hn}))}return Se.createElement(Oe.ZP,Object.assign({},ht),Se.createElement("span",null,ar))};Se.useImperativeHandle(mn,()=>({handlePreview:Xr,handleDownload:It}));const{getPrefixCls:In}=Se.useContext(ke.E_),an=In("upload",Rr),Pr=In(),Or=he()(`${an}-list`,`${an}-list-${cn}`),Zr=(0,xe.Z)(kr.map(ar=>({key:ar.uid,file:ar})));let Wr={motionDeadline:2e3,motionName:`${an}-${cn==="picture-card"||cn==="picture-circle"?"animate-inline":"animate"}`,keys:Zr,motionAppear:Fr};const po=Se.useMemo(()=>{const ar=Object.assign({},(0,ze.Z)(Pr));return delete ar.onAppearEnd,delete ar.onEnterEnd,delete ar.onLeaveEnd,ar},[Pr]);return cn!=="picture-card"&&cn!=="picture-circle"&&(Wr=Object.assign(Object.assign({},po),Wr)),Se.createElement("div",{className:Or},Se.createElement(Ve.CSSMotionList,Object.assign({},Wr,{component:!1}),ar=>{let{key:_t,file:zt,className:fn,style:ht}=ar;return Se.createElement(Dt,{key:_t,locale:xn,prefixCls:an,className:fn,style:ht,file:zt,items:kr,progress:$n,listType:cn,isImgUrl:gr,showPreviewIcon:ho,showRemoveIcon:ao,showDownloadIcon:eo,removeIcon:Fn,previewIcon:io,downloadIcon:jo,iconRender:qt,actionIconRender:Sn,itemRender:nr,onPreview:Xr,onDownload:It,onClose:Ot})}),Bn&&Se.createElement(Ve.default,Object.assign({},Wr,{visible:fr,forceRender:!0}),ar=>{let{className:_t,style:zt}=ar;return(0,Te.Tm)(Bn,fn=>({className:he()(fn.className,_t),style:Object.assign(Object.assign(Object.assign({},zt),{pointerEvents:_t?"none":void 0}),fn.style)}))}))};var wn=Se.forwardRef(Kt),Nn=de(14747),On=de(33507),qn=de(67968),rr=de(45503),zr=jt=>{const{componentCls:mn,iconCls:cn}=jt;return{[`${mn}-wrapper`]:{[`${mn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:jt.colorFillAlter,border:`${jt.lineWidth}px dashed ${jt.colorBorder}`,borderRadius:jt.borderRadiusLG,cursor:"pointer",transition:`border-color ${jt.motionDurationSlow}`,[mn]:{padding:`${jt.padding}px 0`},[`${mn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${mn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${mn}-disabled):hover`]:{borderColor:jt.colorPrimaryHover},[`p${mn}-drag-icon`]:{marginBottom:jt.margin,[cn]:{color:jt.colorPrimary,fontSize:jt.uploadThumbnailSize}},[`p${mn}-text`]:{margin:`0 0 ${jt.marginXXS}px`,color:jt.colorTextHeading,fontSize:jt.fontSizeLG},[`p${mn}-hint`]:{color:jt.colorTextDescription,fontSize:jt.fontSize},[`&${mn}-disabled`]:{cursor:"not-allowed",[`p${mn}-drag-icon ${cn},
p${mn}-text,
p${mn}-hint
`]:{color:jt.colorTextDisabled}}}}}},An=jt=>{const{componentCls:mn,antCls:cn,iconCls:vn,fontSize:Wn,lineHeight:gn}=jt,Qt=`${mn}-list-item`,xn=`${Qt}-actions`,Cr=`${Qt}-action`,gr=Math.round(Wn*gn);return{[`${mn}-wrapper`]:{[`${mn}-list`]:Object.assign(Object.assign({},(0,Nn.dF)()),{lineHeight:jt.lineHeight,[Qt]:{position:"relative",height:jt.lineHeight*Wn,marginTop:jt.marginXS,fontSize:Wn,display:"flex",alignItems:"center",transition:`background-color ${jt.motionDurationSlow}`,"&:hover":{backgroundColor:jt.controlItemBgHover},[`${Qt}-name`]:Object.assign(Object.assign({},Nn.vS),{padding:`0 ${jt.paddingXS}px`,lineHeight:gn,flex:"auto",transition:`all ${jt.motionDurationSlow}`}),[xn]:{[Cr]:{opacity:0},[`${Cr}${cn}-btn-sm`]:{height:gr,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${Cr}:focus-visible,
&.picture ${Cr}
`]:{opacity:1},[vn]:{color:jt.actionsColor,transition:`all ${jt.motionDurationSlow}`},[`&:hover ${vn}`]:{color:jt.colorText}},[`${mn}-icon ${vn}`]:{color:jt.colorTextDescription,fontSize:Wn},[`${Qt}-progress`]:{position:"absolute",bottom:-jt.uploadProgressOffset,width:"100%",paddingInlineStart:Wn+jt.paddingXS,fontSize:Wn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Qt}:hover ${Cr}`]:{opacity:1,color:jt.colorText},[`${Qt}-error`]:{color:jt.colorError,[`${Qt}-name, ${mn}-icon ${vn}`]:{color:jt.colorError},[xn]:{[`${vn}, ${vn}:hover`]:{color:jt.colorError},[Cr]:{opacity:1}}},[`${mn}-list-item-container`]:{transition:`opacity ${jt.motionDurationSlow}, height ${jt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Cn=de(45930),Ut=de(16932);const Tt=new Cn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),kt=new Cn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Xt=jt=>{const{componentCls:mn}=jt,cn=`${mn}-animate-inline`;return[{[`${mn}-wrapper`]:{[`${cn}-appear, ${cn}-enter, ${cn}-leave`]:{animationDuration:jt.motionDurationSlow,animationTimingFunction:jt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${cn}-appear, ${cn}-enter`]:{animationName:Tt},[`${cn}-leave`]:{animationName:kt}}},{[`${mn}-wrapper`]:(0,Ut.J$)(jt)},Tt,kt]},Tn=de(47448),tn=de(84780);const yn=jt=>{const{componentCls:mn,iconCls:cn,uploadThumbnailSize:vn,uploadProgressOffset:Wn}=jt,gn=`${mn}-list`,Qt=`${gn}-item`;return{[`${mn}-wrapper`]:{[`
${gn}${gn}-picture,
${gn}${gn}-picture-card,
${gn}${gn}-picture-circle
`]:{[Qt]:{position:"relative",height:vn+jt.lineWidth*2+jt.paddingXS*2,padding:jt.paddingXS,border:`${jt.lineWidth}px ${jt.lineType} ${jt.colorBorder}`,borderRadius:jt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Qt}-thumbnail`]:Object.assign(Object.assign({},Nn.vS),{width:vn,height:vn,lineHeight:`${vn+jt.paddingSM}px`,textAlign:"center",flex:"none",[cn]:{fontSize:jt.fontSizeHeading2,color:jt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Qt}-progress`]:{bottom:Wn,width:`calc(100% - ${jt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:vn+jt.paddingXS}},[`${Qt}-error`]:{borderColor:jt.colorError,[`${Qt}-thumbnail ${cn}`]:{[`svg path[fill='${Tn.blue[0]}']`]:{fill:jt.colorErrorBg},[`svg path[fill='${Tn.blue.primary}']`]:{fill:jt.colorError}}},[`${Qt}-uploading`]:{borderStyle:"dashed",[`${Qt}-name`]:{marginBottom:Wn}}},[`${gn}${gn}-picture-circle ${Qt}`]:{[`&, &::before, ${Qt}-thumbnail`]:{borderRadius:"50%"}}}}},Mn=jt=>{const{componentCls:mn,iconCls:cn,fontSizeLG:vn,colorTextLightSolid:Wn}=jt,gn=`${mn}-list`,Qt=`${gn}-item`,xn=jt.uploadPicCardSize;return{[`
${mn}-wrapper${mn}-picture-card-wrapper,
${mn}-wrapper${mn}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Nn.dF)()),{display:"inline-block",width:"100%",[`${mn}${mn}-select`]:{width:xn,height:xn,marginInlineEnd:jt.marginXS,marginBottom:jt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:jt.colorFillAlter,border:`${jt.lineWidth}px dashed ${jt.colorBorder}`,borderRadius:jt.borderRadiusLG,cursor:"pointer",transition:`border-color ${jt.motionDurationSlow}`,[`> ${mn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${mn}-disabled):hover`]:{borderColor:jt.colorPrimary}},[`${gn}${gn}-picture-card, ${gn}${gn}-picture-circle`]:{[`${gn}-item-container`]:{display:"inline-block",width:xn,height:xn,marginBlock:`0 ${jt.marginXS}px`,marginInline:`0 ${jt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Qt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${jt.paddingXS*2}px)`,height:`calc(100% - ${jt.paddingXS*2}px)`,backgroundColor:jt.colorBgMask,opacity:0,transition:`all ${jt.motionDurationSlow}`,content:'" "'}},[`${Qt}:hover`]:{[`&::before, ${Qt}-actions`]:{opacity:1}},[`${Qt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${jt.motionDurationSlow}`,[`${cn}-eye, ${cn}-download, ${cn}-delete`]:{zIndex:10,width:vn,margin:`0 ${jt.marginXXS}px`,fontSize:vn,cursor:"pointer",transition:`all ${jt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Qt}-actions, ${Qt}-actions:hover`]:{[`${cn}-eye, ${cn}-download, ${cn}-delete`]:{color:new tn.C(Wn).setAlpha(.65).toRgbString(),"&:hover":{color:Wn}}},[`${Qt}-thumbnail, ${Qt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Qt}-name`]:{display:"none",textAlign:"center"},[`${Qt}-file + ${Qt}-name`]:{position:"absolute",bottom:jt.margin,display:"block",width:`calc(100% - ${jt.paddingXS*2}px)`},[`${Qt}-uploading`]:{[`&${Qt}`]:{backgroundColor:jt.colorFillAlter},[`&::before, ${cn}-eye, ${cn}-download, ${cn}-delete`]:{display:"none"}},[`${Qt}-progress`]:{bottom:jt.marginXL,width:`calc(100% - ${jt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${mn}-wrapper${mn}-picture-circle-wrapper`]:{[`${mn}${mn}-select`]:{borderRadius:"50%"}}}};var St=jt=>{const{componentCls:mn}=jt;return{[`${mn}-rtl`]:{direction:"rtl"}}};const Ct=jt=>{const{componentCls:mn,colorTextDisabled:cn}=jt;return{[`${mn}-wrapper`]:Object.assign(Object.assign({},(0,Nn.Wf)(jt)),{[mn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${mn}-select`]:{display:"inline-block"},[`${mn}-disabled`]:{color:cn,cursor:"not-allowed"}})}};var Rt=(0,qn.Z)("Upload",jt=>{const{fontSizeHeading3:mn,fontSize:cn,lineHeight:vn,lineWidth:Wn,controlHeightLG:gn}=jt,Qt=Math.round(cn*vn),xn=(0,rr.TS)(jt,{uploadThumbnailSize:mn*2,uploadProgressOffset:Qt/2+Wn,uploadPicCardSize:gn*2.55});return[Ct(xn),zr(xn),yn(xn),Mn(xn),An(xn),Xt(xn),St(xn),(0,On.Z)(xn)]},jt=>({actionsColor:jt.colorTextDescription})),dn=function(jt,mn,cn,vn){function Wn(gn){return gn instanceof cn?gn:new cn(function(Qt){Qt(gn)})}return new(cn||(cn=Promise))(function(gn,Qt){function xn(Rr){try{gr(vn.next(Rr))}catch(kr){Qt(kr)}}function Cr(Rr){try{gr(vn.throw(Rr))}catch(kr){Qt(kr)}}function gr(Rr){Rr.done?gn(Rr.value):Wn(Rr.value).then(xn,Cr)}gr((vn=vn.apply(jt,mn||[])).next())})};const Hn=`__LIST_IGNORE_${Date.now()}__`,jn=(jt,mn)=>{const{fileList:cn,defaultFileList:vn,onRemove:Wn,showUploadList:gn=!0,listType:Qt="text",onPreview:xn,onDownload:Cr,onChange:gr,onDrop:Rr,previewFile:kr,disabled:ho,locale:ao,iconRender:eo,isImageUrl:Fn,progress:io,prefixCls:jo,className:$n,type:Bn="select",children:fr,style:nr,itemRender:xr,maxCount:cr,data:Fr={},multiple:Qr=!1,action:Xr="",accept:It="",supportServerRender:Ot=!0,rootClassName:qt}=jt,Sn=Se.useContext(Ie.Z),In=ho!=null?ho:Sn,[an,Pr]=(0,Re.Z)(vn||[],{value:cn,postState:pt=>pt!=null?pt:[]}),[Or,Zr]=Se.useState("drop"),ro=Se.useRef(null);Se.useMemo(()=>{const pt=Date.now();(cn||[]).forEach((Mt,Ft)=>{!Mt.uid&&!Object.isFrozen(Mt)&&(Mt.uid=`__AUTO__${pt}_${Ft}__`)})},[cn]);const Wr=(pt,Mt,Ft)=>{let Ht=(0,xe.Z)(Mt),pn=!1;cr===1?Ht=Ht.slice(-1):cr&&(pn=Ht.length>cr,Ht=Ht.slice(0,cr)),(0,De.flushSync)(()=>{Pr(Ht)});const Rn={file:pt,fileList:Ht};Ft&&(Rn.event=Ft),(!pn||Ht.some(Vn=>Vn.uid===pt.uid))&&(0,De.flushSync)(()=>{gr==null||gr(Rn)})},po=(pt,Mt)=>dn(void 0,void 0,void 0,function*(){const{beforeUpload:Ft,transformFile:Ht}=jt;let pn=pt;if(Ft){const Rn=yield Ft(pt,Mt);if(Rn===!1)return!1;if(delete pt[Hn],Rn===Hn)return Object.defineProperty(pt,Hn,{value:!0,configurable:!0}),!1;typeof Rn=="object"&&Rn&&(pn=Rn)}return Ht&&(pn=yield Ht(pn)),pn}),ar=pt=>{const Mt=pt.filter(pn=>!pn.file[Hn]);if(!Mt.length)return;const Ft=Mt.map(pn=>Ne(pn.file));let Ht=(0,xe.Z)(an);Ft.forEach(pn=>{Ht=Ge(pn,Ht)}),Ft.forEach((pn,Rn)=>{let Vn=pn;if(Mt[Rn].parsedFile)pn.status="uploading";else{const{originFileObj:Qn}=pn;let Yn;try{Yn=new File([Qn],Qn.name,{type:Qn.type})}catch(tr){Yn=new Blob([Qn],{type:Qn.type}),Yn.name=Qn.name,Yn.lastModifiedDate=new Date,Yn.lastModified=new Date().getTime()}Yn.uid=pn.uid,Vn=Yn}Wr(Vn,Ht)})},_t=(pt,Mt,Ft)=>{try{typeof pt=="string"&&(pt=JSON.parse(pt))}catch(Rn){}if(!rt(Mt,an))return;const Ht=Ne(Mt);Ht.status="done",Ht.percent=100,Ht.response=pt,Ht.xhr=Ft;const pn=Ge(Ht,an);Wr(Ht,pn)},zt=(pt,Mt)=>{if(!rt(Mt,an))return;const Ft=Ne(Mt);Ft.status="uploading",Ft.percent=pt.percent;const Ht=Ge(Ft,an);Wr(Ft,Ht,pt)},fn=(pt,Mt,Ft)=>{if(!rt(Ft,an))return;const Ht=Ne(Ft);Ht.error=pt,Ht.response=Mt,Ht.status="error";const pn=Ge(Ht,an);Wr(Ht,pn)},ht=pt=>{let Mt;Promise.resolve(typeof Wn=="function"?Wn(pt):Wn).then(Ft=>{var Ht;if(Ft===!1)return;const pn=mt(pt,an);pn&&(Mt=Object.assign(Object.assign({},pt),{status:"removed"}),an==null||an.forEach(Rn=>{const Vn=Mt.uid!==void 0?"uid":"name";Rn[Vn]===Mt[Vn]&&!Object.isFrozen(Rn)&&(Rn.status="removed")}),(Ht=ro.current)===null||Ht===void 0||Ht.abort(Mt),Wr(Mt,pn))})},hn=pt=>{Zr(pt.type),pt.type==="drop"&&(Rr==null||Rr(pt))};Se.useImperativeHandle(mn,()=>({onBatchStart:ar,onSuccess:_t,onProgress:zt,onError:fn,fileList:an,upload:ro.current}));const{getPrefixCls:kn,direction:Un,upload:Vt}=Se.useContext(ke.E_),nn=kn("upload",jo),sn=Object.assign(Object.assign({onBatchStart:ar,onError:fn,onProgress:zt,onSuccess:_t},jt),{data:Fr,multiple:Qr,action:Xr,accept:It,supportServerRender:Ot,prefixCls:nn,disabled:In,beforeUpload:po,onChange:void 0});delete sn.className,delete sn.style,(!fr||In)&&delete sn.id;const[Kn,lr]=Rt(nn),[mr]=(0,qe.Z)("Upload",Je.Z.Upload),{showRemoveIcon:Et,showPreviewIcon:Gt,showDownloadIcon:rn,removeIcon:Xn,previewIcon:_n,downloadIcon:on}=typeof gn=="boolean"?{}:gn,Yt=(pt,Mt)=>gn?Se.createElement(wn,{prefixCls:nn,listType:Qt,items:an,previewFile:kr,onPreview:xn,onDownload:Cr,onRemove:ht,showRemoveIcon:!In&&Et,showPreviewIcon:Gt,showDownloadIcon:rn,removeIcon:Xn,previewIcon:_n,downloadIcon:on,iconRender:eo,locale:Object.assign(Object.assign({},mr),ao),isImageUrl:Fn,progress:io,appendAction:pt,appendActionVisible:Mt,itemRender:xr,disabled:In}):pt,$t=he()(`${nn}-wrapper`,$n,qt,lr,Vt==null?void 0:Vt.className,{[`${nn}-rtl`]:Un==="rtl",[`${nn}-picture-card-wrapper`]:Qt==="picture-card",[`${nn}-picture-circle-wrapper`]:Qt==="picture-circle"}),Jt=Object.assign(Object.assign({},Vt==null?void 0:Vt.style),nr);if(Bn==="drag"){const pt=he()(lr,nn,`${nn}-drag`,{[`${nn}-drag-uploading`]:an.some(Mt=>Mt.status==="uploading"),[`${nn}-drag-hover`]:Or==="dragover",[`${nn}-disabled`]:In,[`${nn}-rtl`]:Un==="rtl"});return Kn(Se.createElement("span",{className:$t},Se.createElement("div",{className:pt,style:Jt,onDrop:hn,onDragOver:hn,onDragLeave:hn},Se.createElement(we,Object.assign({},sn,{ref:ro,className:`${nn}-btn`}),Se.createElement("div",{className:`${nn}-drag-container`},fr))),Yt()))}const Ln=he()(nn,`${nn}-select`,{[`${nn}-disabled`]:In}),ct=(pt=>Se.createElement("div",{className:Ln,style:pt},Se.createElement(we,Object.assign({},sn,{ref:ro}))))(fr?void 0:{display:"none"});return Kn(Qt==="picture-card"||Qt==="picture-circle"?Se.createElement("span",{className:$t},Yt(ct,!!fr)):Se.createElement("span",{className:$t},ct,Yt()))};var or=Se.forwardRef(jn),wr=function(jt,mn){var cn={};for(var vn in jt)Object.prototype.hasOwnProperty.call(jt,vn)&&mn.indexOf(vn)<0&&(cn[vn]=jt[vn]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wn=0,vn=Object.getOwnPropertySymbols(jt);Wn<vn.length;Wn++)mn.indexOf(vn[Wn])<0&&Object.prototype.propertyIsEnumerable.call(jt,vn[Wn])&&(cn[vn[Wn]]=jt[vn[Wn]]);return cn},co=Se.forwardRef((jt,mn)=>{var{style:cn,height:vn}=jt,Wn=wr(jt,["style","height"]);return Se.createElement(or,Object.assign({ref:mn},Wn,{type:"drag",style:Object.assign(Object.assign({},cn),{height:vn})}))});const bn=or;bn.Dragger=co,bn.LIST_IGNORE=Hn;var Lr=bn},72665:function(Lt,gt){"use strict";var de;var Se=typeof Symbol=="function"&&Symbol.for,xe=Se?Symbol.for("react.element"):60103,E=Se?Symbol.for("react.portal"):60106,he=Se?Symbol.for("react.fragment"):60107,fe=Se?Symbol.for("react.strict_mode"):60108,le=Se?Symbol.for("react.profiler"):60114,re=Se?Symbol.for("react.provider"):60109,se=Se?Symbol.for("react.context"):60110,ie=Se?Symbol.for("react.async_mode"):60111,ue=Se?Symbol.for("react.concurrent_mode"):60111,ae=Se?Symbol.for("react.forward_ref"):60112,oe=Se?Symbol.for("react.suspense"):60113,ne=Se?Symbol.for("react.suspense_list"):60120,ee=Se?Symbol.for("react.memo"):60115,a=Se?Symbol.for("react.lazy"):60116,y=Se?Symbol.for("react.block"):60121,x=Se?Symbol.for("react.fundamental"):60117,b=Se?Symbol.for("react.responder"):60118,z=Se?Symbol.for("react.scope"):60119;function te(ge){if(typeof ge=="object"&&ge!==null){var me=ge.$$typeof;switch(me){case xe:switch(ge=ge.type,ge){case ie:case ue:case he:case le:case fe:case oe:return ge;default:switch(ge=ge&&ge.$$typeof,ge){case se:case ae:case a:case ee:case re:return ge;default:return me}}case E:return me}}}function ce(ge){return te(ge)===ue}de=ie,de=ue,de=se,de=re,de=xe,de=ae,de=he,de=a,de=ee,de=E,de=le,de=fe,de=oe,de=function(ge){return ce(ge)||te(ge)===ie},de=ce,de=function(ge){return te(ge)===se},de=function(ge){return te(ge)===re},de=function(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===xe},de=function(ge){return te(ge)===ae},de=function(ge){return te(ge)===he},de=function(ge){return te(ge)===a},gt.isMemo=function(ge){return te(ge)===ee},de=function(ge){return te(ge)===E},de=function(ge){return te(ge)===le},de=function(ge){return te(ge)===fe},de=function(ge){return te(ge)===oe},de=function(ge){return typeof ge=="string"||typeof ge=="function"||ge===he||ge===ue||ge===le||ge===fe||ge===oe||ge===ne||typeof ge=="object"&&ge!==null&&(ge.$$typeof===a||ge.$$typeof===ee||ge.$$typeof===re||ge.$$typeof===se||ge.$$typeof===ae||ge.$$typeof===x||ge.$$typeof===b||ge.$$typeof===z||ge.$$typeof===y)},de=te},12060:function(Lt,gt,de){"use strict";Lt.exports=de(72665)},56261:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return pe}});var Se=de(87462),xe=de(4942),E=de(45987),he=de(1413),fe=de(15671),le=de(43144),re=de(97326),se=de(60136),ie=de(51630),ue=de(94184),ae=de.n(ue),oe=de(34952),ne=de(67294),ee=de(69610),a=function(ye){for(var Ee=ye.prefixCls,Pe=ye.level,Ae=ye.isStart,Ce=ye.isEnd,_e="".concat(Ee,"-indent-unit"),we=[],Re=0;Re<Pe;Re+=1){var De;we.push(ne.createElement("span",{key:Re,className:ae()(_e,(De={},(0,xe.Z)(De,"".concat(_e,"-start"),Ae[Re]),(0,xe.Z)(De,"".concat(_e,"-end"),Ce[Re]),De))}))}return ne.createElement("span",{"aria-hidden":"true",className:"".concat(Ee,"-indent")},we)},y=ne.memo(a),x=de(3596),b=de(83898),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",ce="close",ge="---",me=function(be){(0,se.Z)(Ee,be);var ye=(0,ie.Z)(Ee);function Ee(){var Pe;(0,fe.Z)(this,Ee);for(var Ae=arguments.length,Ce=new Array(Ae),_e=0;_e<Ae;_e++)Ce[_e]=arguments[_e];return Pe=ye.call.apply(ye,[this].concat(Ce)),Pe.state={dragNodeHighlight:!1},Pe.selectHandle=void 0,Pe.cacheIndent=void 0,Pe.onSelectorClick=function(we){var Re=Pe.props.context.onNodeClick;Re(we,(0,b.F)(Pe.props)),Pe.isSelectable()?Pe.onSelect(we):Pe.onCheck(we)},Pe.onSelectorDoubleClick=function(we){var Re=Pe.props.context.onNodeDoubleClick;Re(we,(0,b.F)(Pe.props))},Pe.onSelect=function(we){if(!Pe.isDisabled()){var Re=Pe.props.context.onNodeSelect;Re(we,(0,b.F)(Pe.props))}},Pe.onCheck=function(we){if(!Pe.isDisabled()){var Re=Pe.props,De=Re.disableCheckbox,ke=Re.checked,Ie=Pe.props.context.onNodeCheck;if(!(!Pe.isCheckable()||De)){var qe=!ke;Ie(we,(0,b.F)(Pe.props),qe)}}},Pe.onMouseEnter=function(we){var Re=Pe.props.context.onNodeMouseEnter;Re(we,(0,b.F)(Pe.props))},Pe.onMouseLeave=function(we){var Re=Pe.props.context.onNodeMouseLeave;Re(we,(0,b.F)(Pe.props))},Pe.onContextMenu=function(we){var Re=Pe.props.context.onNodeContextMenu;Re(we,(0,b.F)(Pe.props))},Pe.onDragStart=function(we){var Re=Pe.props.context.onNodeDragStart;we.stopPropagation(),Pe.setState({dragNodeHighlight:!0}),Re(we,(0,re.Z)(Pe));try{we.dataTransfer.setData("text/plain","")}catch(De){}},Pe.onDragEnter=function(we){var Re=Pe.props.context.onNodeDragEnter;we.preventDefault(),we.stopPropagation(),Re(we,(0,re.Z)(Pe))},Pe.onDragOver=function(we){var Re=Pe.props.context.onNodeDragOver;we.preventDefault(),we.stopPropagation(),Re(we,(0,re.Z)(Pe))},Pe.onDragLeave=function(we){var Re=Pe.props.context.onNodeDragLeave;we.stopPropagation(),Re(we,(0,re.Z)(Pe))},Pe.onDragEnd=function(we){var Re=Pe.props.context.onNodeDragEnd;we.stopPropagation(),Pe.setState({dragNodeHighlight:!1}),Re(we,(0,re.Z)(Pe))},Pe.onDrop=function(we){var Re=Pe.props.context.onNodeDrop;we.preventDefault(),we.stopPropagation(),Pe.setState({dragNodeHighlight:!1}),Re(we,(0,re.Z)(Pe))},Pe.onExpand=function(we){var Re=Pe.props,De=Re.loading,ke=Re.context.onNodeExpand;De||ke(we,(0,b.F)(Pe.props))},Pe.setSelectHandle=function(we){Pe.selectHandle=we},Pe.getNodeState=function(){var we=Pe.props.expanded;return Pe.isLeaf()?null:we?te:ce},Pe.hasChildren=function(){var we=Pe.props.eventKey,Re=Pe.props.context.keyEntities,De=(0,x.Z)(Re,we)||{},ke=De.children;return!!(ke||[]).length},Pe.isLeaf=function(){var we=Pe.props,Re=we.isLeaf,De=we.loaded,ke=Pe.props.context.loadData,Ie=Pe.hasChildren();return Re===!1?!1:Re||!ke&&!Ie||ke&&De&&!Ie},Pe.isDisabled=function(){var we=Pe.props.disabled,Re=Pe.props.context.disabled;return!!(Re||we)},Pe.isCheckable=function(){var we=Pe.props.checkable,Re=Pe.props.context.checkable;return!Re||we===!1?!1:Re},Pe.syncLoadData=function(we){var Re=we.expanded,De=we.loading,ke=we.loaded,Ie=Pe.props.context,qe=Ie.loadData,Je=Ie.onNodeLoad;De||qe&&Re&&!Pe.isLeaf()&&!Pe.hasChildren()&&!ke&&Je((0,b.F)(Pe.props))},Pe.isDraggable=function(){var we=Pe.props,Re=we.data,De=we.context.draggable;return!!(De&&(!De.nodeDraggable||De.nodeDraggable(Re)))},Pe.renderDragHandler=function(){var we=Pe.props.context,Re=we.draggable,De=we.prefixCls;return Re!=null&&Re.icon?ne.createElement("span",{className:"".concat(De,"-draggable-icon")},Re.icon):null},Pe.renderSwitcherIconDom=function(we){var Re=Pe.props.switcherIcon,De=Pe.props.context.switcherIcon,ke=Re||De;return typeof ke=="function"?ke((0,he.Z)((0,he.Z)({},Pe.props),{},{isLeaf:we})):ke},Pe.renderSwitcher=function(){var we=Pe.props.expanded,Re=Pe.props.context.prefixCls;if(Pe.isLeaf()){var De=Pe.renderSwitcherIconDom(!0);return De!==!1?ne.createElement("span",{className:ae()("".concat(Re,"-switcher"),"".concat(Re,"-switcher-noop"))},De):null}var ke=ae()("".concat(Re,"-switcher"),"".concat(Re,"-switcher_").concat(we?te:ce)),Ie=Pe.renderSwitcherIconDom(!1);return Ie!==!1?ne.createElement("span",{onClick:Pe.onExpand,className:ke},Ie):null},Pe.renderCheckbox=function(){var we=Pe.props,Re=we.checked,De=we.halfChecked,ke=we.disableCheckbox,Ie=Pe.props.context.prefixCls,qe=Pe.isDisabled(),Je=Pe.isCheckable();if(!Je)return null;var We=typeof Je!="boolean"?Je:null;return ne.createElement("span",{className:ae()("".concat(Ie,"-checkbox"),Re&&"".concat(Ie,"-checkbox-checked"),!Re&&De&&"".concat(Ie,"-checkbox-indeterminate"),(qe||ke)&&"".concat(Ie,"-checkbox-disabled")),onClick:Pe.onCheck},We)},Pe.renderIcon=function(){var we=Pe.props.loading,Re=Pe.props.context.prefixCls;return ne.createElement("span",{className:ae()("".concat(Re,"-iconEle"),"".concat(Re,"-icon__").concat(Pe.getNodeState()||"docu"),we&&"".concat(Re,"-icon_loading"))})},Pe.renderSelector=function(){var we=Pe.state.dragNodeHighlight,Re=Pe.props,De=Re.title,ke=De===void 0?ge:De,Ie=Re.selected,qe=Re.icon,Je=Re.loading,We=Re.data,Qe=Pe.props.context,He=Qe.prefixCls,Fe=Qe.showIcon,je=Qe.icon,et=Qe.loadData,tt=Qe.titleRender,st=Pe.isDisabled(),Xe="".concat(He,"-node-content-wrapper"),Ke;if(Fe){var Me=qe||je;Ke=Me?ne.createElement("span",{className:ae()("".concat(He,"-iconEle"),"".concat(He,"-icon__customize"))},typeof Me=="function"?Me(Pe.props):Me):Pe.renderIcon()}else et&&Je&&(Ke=Pe.renderIcon());var Ye;typeof ke=="function"?Ye=ke(We):tt?Ye=tt(We):Ye=ke;var Le=ne.createElement("span",{className:"".concat(He,"-title")},Ye);return ne.createElement("span",{ref:Pe.setSelectHandle,title:typeof ke=="string"?ke:"",className:ae()("".concat(Xe),"".concat(Xe,"-").concat(Pe.getNodeState()||"normal"),!st&&(Ie||we)&&"".concat(He,"-node-selected")),onMouseEnter:Pe.onMouseEnter,onMouseLeave:Pe.onMouseLeave,onContextMenu:Pe.onContextMenu,onClick:Pe.onSelectorClick,onDoubleClick:Pe.onSelectorDoubleClick},Ke,Le,Pe.renderDropIndicator())},Pe.renderDropIndicator=function(){var we=Pe.props,Re=we.disabled,De=we.eventKey,ke=Pe.props.context,Ie=ke.draggable,qe=ke.dropLevelOffset,Je=ke.dropPosition,We=ke.prefixCls,Qe=ke.indent,He=ke.dropIndicatorRender,Fe=ke.dragOverNodeKey,je=ke.direction,et=!!Ie,tt=!Re&&et&&Fe===De,st=Qe!=null?Qe:Pe.cacheIndent;return Pe.cacheIndent=Qe,tt?He({dropPosition:Je,dropLevelOffset:qe,indent:st,prefixCls:We,direction:je}):null},Pe}return(0,le.Z)(Ee,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Ae=this.props.selectable,Ce=this.props.context.selectable;return typeof Ae=="boolean"?Ae:Ce}},{key:"render",value:function(){var Ae,Ce=this.props,_e=Ce.eventKey,we=Ce.className,Re=Ce.style,De=Ce.dragOver,ke=Ce.dragOverGapTop,Ie=Ce.dragOverGapBottom,qe=Ce.isLeaf,Je=Ce.isStart,We=Ce.isEnd,Qe=Ce.expanded,He=Ce.selected,Fe=Ce.checked,je=Ce.halfChecked,et=Ce.loading,tt=Ce.domRef,st=Ce.active,Xe=Ce.data,Ke=Ce.onMouseMove,Me=Ce.selectable,Ye=(0,E.Z)(Ce,z),Le=this.props.context,Be=Le.prefixCls,Ve=Le.filterTreeNode,$e=Le.keyEntities,ze=Le.dropContainerKey,Te=Le.dropTargetKey,Oe=Le.draggingNodeKey,Ne=this.isDisabled(),Ge=(0,oe.Z)(Ye,{aria:!0,data:!0}),rt=(0,x.Z)($e,_e)||{},mt=rt.level,dt=We[We.length-1],nt=this.isDraggable(),vt=!Ne&&nt,At=Oe===_e,Nt=Me!==void 0?{"aria-selected":!!Me}:void 0;return ne.createElement("div",(0,Se.Z)({ref:tt,className:ae()(we,"".concat(Be,"-treenode"),(Ae={},(0,xe.Z)(Ae,"".concat(Be,"-treenode-disabled"),Ne),(0,xe.Z)(Ae,"".concat(Be,"-treenode-switcher-").concat(Qe?"open":"close"),!qe),(0,xe.Z)(Ae,"".concat(Be,"-treenode-checkbox-checked"),Fe),(0,xe.Z)(Ae,"".concat(Be,"-treenode-checkbox-indeterminate"),je),(0,xe.Z)(Ae,"".concat(Be,"-treenode-selected"),He),(0,xe.Z)(Ae,"".concat(Be,"-treenode-loading"),et),(0,xe.Z)(Ae,"".concat(Be,"-treenode-active"),st),(0,xe.Z)(Ae,"".concat(Be,"-treenode-leaf-last"),dt),(0,xe.Z)(Ae,"".concat(Be,"-treenode-draggable"),nt),(0,xe.Z)(Ae,"dragging",At),(0,xe.Z)(Ae,"drop-target",Te===_e),(0,xe.Z)(Ae,"drop-container",ze===_e),(0,xe.Z)(Ae,"drag-over",!Ne&&De),(0,xe.Z)(Ae,"drag-over-gap-top",!Ne&&ke),(0,xe.Z)(Ae,"drag-over-gap-bottom",!Ne&&Ie),(0,xe.Z)(Ae,"filter-node",Ve&&Ve((0,b.F)(this.props))),Ae)),style:Re,draggable:vt,"aria-grabbed":At,onDragStart:vt?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:Ke},Nt,Ge),ne.createElement(y,{prefixCls:Be,level:mt,isStart:Je,isEnd:We}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Ee}(ne.Component),ve=function(ye){return ne.createElement(ee.k.Consumer,null,function(Ee){return ne.createElement(me,(0,Se.Z)({},ye,{context:Ee}))})};ve.displayName="TreeNode",ve.isTreeNode=1;var pe=ve},69610:function(Lt,gt,de){"use strict";de.d(gt,{k:function(){return xe}});var Se=de(67294),xe=Se.createContext(null)},29873:function(Lt,gt,de){"use strict";de.d(gt,{BT:function(){return y},E6:function(){return z},L0:function(){return ue},OM:function(){return a},_5:function(){return ie},r7:function(){return te},wA:function(){return oe},yx:function(){return ae}});var Se=de(74902),xe=de(71002),E=de(72978),he=de(67294),fe=de(56261),le=de(3596),re=de(83898),se=null;function ie(ce,ge){if(!ce)return[];var me=ce.slice(),ve=me.indexOf(ge);return ve>=0&&me.splice(ve,1),me}function ue(ce,ge){var me=(ce||[]).slice();return me.indexOf(ge)===-1&&me.push(ge),me}function ae(ce){return ce.split("-")}function oe(ce,ge){var me=[],ve=(0,le.Z)(ge,ce);function pe(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];be.forEach(function(ye){var Ee=ye.key,Pe=ye.children;me.push(Ee),pe(Pe)})}return pe(ve.children),me}function ne(ce){if(ce.parent){var ge=ae(ce.pos);return Number(ge[ge.length-1])===ce.parent.children.length-1}return!1}function ee(ce){var ge=ae(ce.pos);return Number(ge[ge.length-1])===0}function a(ce,ge,me,ve,pe,be,ye,Ee,Pe,Ae){var Ce,_e=ce.clientX,we=ce.clientY,Re=ce.target.getBoundingClientRect(),De=Re.top,ke=Re.height,Ie=(Ae==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-_e),qe=(Ie-12)/ve,Je=(0,le.Z)(Ee,me.props.eventKey);if(we<De+ke/2){var We=ye.findIndex(function(Le){return Le.key===Je.key}),Qe=We<=0?0:We-1,He=ye[Qe].key;Je=(0,le.Z)(Ee,He)}var Fe=Je.key,je=Je,et=Je.key,tt=0,st=0;if(!Pe.includes(Fe))for(var Xe=0;Xe<qe&&ne(Je);Xe+=1)Je=Je.parent,st+=1;var Ke=ge.props.data,Me=Je.node,Ye=!0;return ee(Je)&&Je.level===0&&we<De+ke/2&&be({dragNode:Ke,dropNode:Me,dropPosition:-1})&&Je.key===me.props.eventKey?tt=-1:(je.children||[]).length&&Pe.includes(et)?be({dragNode:Ke,dropNode:Me,dropPosition:0})?tt=0:Ye=!1:st===0?qe>-1.5?be({dragNode:Ke,dropNode:Me,dropPosition:1})?tt=1:Ye=!1:be({dragNode:Ke,dropNode:Me,dropPosition:0})?tt=0:be({dragNode:Ke,dropNode:Me,dropPosition:1})?tt=1:Ye=!1:be({dragNode:Ke,dropNode:Me,dropPosition:1})?tt=1:Ye=!1,{dropPosition:tt,dropLevelOffset:st,dropTargetKey:Je.key,dropTargetPos:Je.pos,dragOverNodeKey:et,dropContainerKey:tt===0?null:((Ce=Je.parent)===null||Ce===void 0?void 0:Ce.key)||null,dropAllowed:Ye}}function y(ce,ge){if(ce){var me=ge.multiple;return me?ce.slice():ce.length?[ce[0]]:ce}}var x=function(ge){return ge};function b(ce,ge){if(!ce)return[];var me=ge||{},ve=me.processProps,pe=ve===void 0?x:ve,be=Array.isArray(ce)?ce:[ce];return be.map(function(ye){var Ee=ye.children,Pe=_objectWithoutProperties(ye,se),Ae=b(Ee,ge);return React.createElement(TreeNode,_extends({key:Pe.key},pe(Pe)),Ae)})}function z(ce){if(!ce)return null;var ge;if(Array.isArray(ce))ge={checkedKeys:ce,halfCheckedKeys:void 0};else if((0,xe.Z)(ce)==="object")ge={checkedKeys:ce.checked||void 0,halfCheckedKeys:ce.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ge}function te(ce,ge){var me=new Set;function ve(pe){if(!me.has(pe)){var be=(0,le.Z)(ge,pe);if(be){me.add(pe);var ye=be.parent,Ee=be.node;Ee.disabled||ye&&ve(ye.key)}}}return(ce||[]).forEach(function(pe){ve(pe)}),(0,Se.Z)(me)}},97153:function(Lt,gt,de){"use strict";de.d(gt,{S:function(){return re}});var Se=de(72978),xe=de(3596);function E(se,ie){var ue=new Set;return se.forEach(function(ae){ie.has(ae)||ue.add(ae)}),ue}function he(se){var ie=se||{},ue=ie.disabled,ae=ie.disableCheckbox,oe=ie.checkable;return!!(ue||ae)||oe===!1}function fe(se,ie,ue,ae){for(var oe=new Set(se),ne=new Set,ee=0;ee<=ue;ee+=1){var a=ie.get(ee)||new Set;a.forEach(function(z){var te=z.key,ce=z.node,ge=z.children,me=ge===void 0?[]:ge;oe.has(te)&&!ae(ce)&&me.filter(function(ve){return!ae(ve.node)}).forEach(function(ve){oe.add(ve.key)})})}for(var y=new Set,x=ue;x>=0;x-=1){var b=ie.get(x)||new Set;b.forEach(function(z){var te=z.parent,ce=z.node;if(!(ae(ce)||!z.parent||y.has(z.parent.key))){if(ae(z.parent.node)){y.add(te.key);return}var ge=!0,me=!1;(te.children||[]).filter(function(ve){return!ae(ve.node)}).forEach(function(ve){var pe=ve.key,be=oe.has(pe);ge&&!be&&(ge=!1),!me&&(be||ne.has(pe))&&(me=!0)}),ge&&oe.add(te.key),me&&ne.add(te.key),y.add(te.key)}})}return{checkedKeys:Array.from(oe),halfCheckedKeys:Array.from(E(ne,oe))}}function le(se,ie,ue,ae,oe){for(var ne=new Set(se),ee=new Set(ie),a=0;a<=ae;a+=1){var y=ue.get(a)||new Set;y.forEach(function(te){var ce=te.key,ge=te.node,me=te.children,ve=me===void 0?[]:me;!ne.has(ce)&&!ee.has(ce)&&!oe(ge)&&ve.filter(function(pe){return!oe(pe.node)}).forEach(function(pe){ne.delete(pe.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 ce=te.parent,ge=te.node;if(!(oe(ge)||!te.parent||x.has(te.parent.key))){if(oe(te.parent.node)){x.add(ce.key);return}var me=!0,ve=!1;(ce.children||[]).filter(function(pe){return!oe(pe.node)}).forEach(function(pe){var be=pe.key,ye=ne.has(be);me&&!ye&&(me=!1),!ve&&(ye||ee.has(be))&&(ve=!0)}),me||ne.delete(ce.key),ve&&ee.add(ce.key),x.add(ce.key)}})}return{checkedKeys:Array.from(ne),halfCheckedKeys:Array.from(E(ee,ne))}}function re(se,ie,ue,ae){var oe=[],ne;ae?ne=ae:ne=he;var ee=new Set(se.filter(function(b){var z=!!(0,xe.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,ce=a.get(te);ce||(ce=new Set,a.set(te,ce)),ce.add(z),y=Math.max(y,te)}),(0,Se.ZP)(!oe.length,"Tree missing follow keys: ".concat(oe.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return ie===!0?x=fe(ee,a,y,ne):x=le(ee,ie.halfCheckedKeys,a,y,ne),x}},3596:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return Se}});function Se(xe,E){return xe[E]}},83898:function(Lt,gt,de){"use strict";de.d(gt,{I8:function(){return te},F:function(){return ge},zn:function(){return x},w$:function(){return a},oH:function(){return b},km:function(){return ee},H8:function(){return ce}});var Se=de(71002),xe=de(74902),E=de(1413),he=de(45987),fe=de(67294),le=de(28580);function re(me){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=[];return fe.Children.forEach(me,function(be){be==null&&!ve.keepEmpty||(Array.isArray(be)?pe=pe.concat(re(be)):(0,le.isFragment)(be)&&be.props?pe=pe.concat(re(be.props.children,ve)):pe.push(be))}),pe}function se(me,ve){var pe=(0,E.Z)({},me);return Array.isArray(ve)&&ve.forEach(function(be){delete pe[be]}),pe}var ie=de(72978),ue=de(3596),ae=["children"];function oe(me,ve){return"".concat(me,"-").concat(ve)}function ne(me){return me&&me.type&&me.type.isTreeNode}function ee(me,ve){return me!=null?me:ve}function a(me){var ve=me||{},pe=ve.title,be=ve._title,ye=ve.key,Ee=ve.children,Pe=pe||"title";return{title:Pe,_title:be||[Pe],key:ye||"key",children:Ee||"children"}}function y(me,ve){var pe=new Map;function be(ye){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ye||[]).forEach(function(Pe){var Ae=Pe[ve.key],Ce=Pe[ve.children];warning(Ae!=null,"Tree node must have a certain key: [".concat(Ee).concat(Ae,"]"));var _e=String(Ae);warning(!pe.has(_e)||Ae===null||Ae===void 0,"Same 'key' exist in the Tree: ".concat(_e)),pe.set(_e,!0),be(Ce,"".concat(Ee).concat(_e," > "))})}be(me)}function x(me){function ve(pe){var be=re(pe);return be.map(function(ye){if(!ne(ye))return(0,ie.ZP)(!ye,"Tree/TreeNode can only accept TreeNode as children."),null;var Ee=ye.key,Pe=ye.props,Ae=Pe.children,Ce=(0,he.Z)(Pe,ae),_e=(0,E.Z)({key:Ee},Ce),we=ve(Ae);return we.length&&(_e.children=we),_e}).filter(function(ye){return ye})}return ve(me)}function b(me,ve,pe){var be=a(pe),ye=be._title,Ee=be.key,Pe=be.children,Ae=new Set(ve===!0?[]:ve),Ce=[];function _e(we){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return we.map(function(De,ke){for(var Ie=oe(Re?Re.pos:"0",ke),qe=ee(De[Ee],Ie),Je,We=0;We<ye.length;We+=1){var Qe=ye[We];if(De[Qe]!==void 0){Je=De[Qe];break}}var He=(0,E.Z)((0,E.Z)({},se(De,[].concat((0,xe.Z)(ye),[Ee,Pe]))),{},{title:Je,key:qe,parent:Re,pos:Ie,children:null,data:De,isStart:[].concat((0,xe.Z)(Re?Re.isStart:[]),[ke===0]),isEnd:[].concat((0,xe.Z)(Re?Re.isEnd:[]),[ke===we.length-1])});return Ce.push(He),ve===!0||Ae.has(qe)?He.children=_e(De[Pe]||[],He):He.children=[],He})}return _e(me),Ce}function z(me,ve,pe){var be={};(0,Se.Z)(pe)==="object"?be=pe:be={externalGetKey:pe},be=be||{};var ye=be,Ee=ye.childrenPropName,Pe=ye.externalGetKey,Ae=ye.fieldNames,Ce=a(Ae),_e=Ce.key,we=Ce.children,Re=Ee||we,De;Pe?typeof Pe=="string"?De=function(qe){return qe[Pe]}:typeof Pe=="function"&&(De=function(qe){return Pe(qe)}):De=function(qe,Je){return ee(qe[_e],Je)};function ke(Ie,qe,Je,We){var Qe=Ie?Ie[Re]:me,He=Ie?oe(Je.pos,qe):"0",Fe=Ie?[].concat((0,xe.Z)(We),[Ie]):[];if(Ie){var je=De(Ie,He),et={node:Ie,index:qe,pos:He,key:je,parentPos:Je.node?Je.pos:null,level:Je.level+1,nodes:Fe};ve(et)}Qe&&Qe.forEach(function(tt,st){ke(tt,st,{node:Ie,pos:He,level:Je?Je.level+1:-1},Fe)})}ke(null)}function te(me){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=ve.initWrapper,be=ve.processEntity,ye=ve.onProcessFinished,Ee=ve.externalGetKey,Pe=ve.childrenPropName,Ae=ve.fieldNames,Ce=arguments.length>2?arguments[2]:void 0,_e=Ee||Ce,we={},Re={},De={posEntities:we,keyEntities:Re};return pe&&(De=pe(De)||De),z(me,function(ke){var Ie=ke.node,qe=ke.index,Je=ke.pos,We=ke.key,Qe=ke.parentPos,He=ke.level,Fe=ke.nodes,je={node:Ie,nodes:Fe,index:qe,key:We,pos:Je,level:He},et=ee(We,Je);we[Je]=je,Re[et]=je,je.parent=we[Qe],je.parent&&(je.parent.children=je.parent.children||[],je.parent.children.push(je)),be&&be(je,De)},{externalGetKey:_e,childrenPropName:Pe,fieldNames:Ae}),ye&&ye(De),De}function ce(me,ve){var pe=ve.expandedKeys,be=ve.selectedKeys,ye=ve.loadedKeys,Ee=ve.loadingKeys,Pe=ve.checkedKeys,Ae=ve.halfCheckedKeys,Ce=ve.dragOverNodeKey,_e=ve.dropPosition,we=ve.keyEntities,Re=(0,ue.Z)(we,me),De={eventKey:me,expanded:pe.indexOf(me)!==-1,selected:be.indexOf(me)!==-1,loaded:ye.indexOf(me)!==-1,loading:Ee.indexOf(me)!==-1,checked:Pe.indexOf(me)!==-1,halfChecked:Ae.indexOf(me)!==-1,pos:String(Re?Re.pos:""),dragOver:Ce===me&&_e===0,dragOverGapTop:Ce===me&&_e===-1,dragOverGapBottom:Ce===me&&_e===1};return De}function ge(me){var ve=me.data,pe=me.expanded,be=me.selected,ye=me.checked,Ee=me.loaded,Pe=me.loading,Ae=me.halfChecked,Ce=me.dragOver,_e=me.dragOverGapTop,we=me.dragOverGapBottom,Re=me.pos,De=me.active,ke=me.eventKey,Ie=(0,E.Z)((0,E.Z)({},ve),{},{expanded:pe,selected:be,checked:ye,loaded:Ee,loading:Pe,halfChecked:Ae,dragOver:Ce,dragOverGapTop:_e,dragOverGapBottom:we,pos:Re,active:De,key:ke});return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return(0,ie.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),me}}),Ie}},34952:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return se}});var Se=de(1413),xe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,E=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,he="".concat(xe," ").concat(E).split(/[\s\n]+/),fe="aria-",le="data-";function re(ie,ue){return ie.indexOf(ue)===0}function se(ie){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae;ue===!1?ae={aria:!0,data:!0,attr:!0}:ue===!0?ae={aria:!0}:ae=(0,Se.Z)({},ue);var oe={};return Object.keys(ie).forEach(function(ne){(ae.aria&&(ne==="role"||re(ne,fe))||ae.data&&re(ne,le)||ae.attr&&he.includes(ne))&&(oe[ne]=ie[ne])}),oe}},72978:function(Lt,gt,de){"use strict";var Se={};function xe(se,ie){}function E(se,ie){}function he(){Se={}}function fe(se,ie,ue){!ie&&!Se[ue]&&(se(!1,ue),Se[ue]=!0)}function le(se,ie){fe(xe,se,ie)}function re(se,ie){fe(E,se,ie)}gt.ZP=le},81533:function(Lt,gt){"use strict";var de;var Se=typeof Symbol=="function"&&Symbol.for,xe=Se?Symbol.for("react.element"):60103,E=Se?Symbol.for("react.portal"):60106,he=Se?Symbol.for("react.fragment"):60107,fe=Se?Symbol.for("react.strict_mode"):60108,le=Se?Symbol.for("react.profiler"):60114,re=Se?Symbol.for("react.provider"):60109,se=Se?Symbol.for("react.context"):60110,ie=Se?Symbol.for("react.async_mode"):60111,ue=Se?Symbol.for("react.concurrent_mode"):60111,ae=Se?Symbol.for("react.forward_ref"):60112,oe=Se?Symbol.for("react.suspense"):60113,ne=Se?Symbol.for("react.suspense_list"):60120,ee=Se?Symbol.for("react.memo"):60115,a=Se?Symbol.for("react.lazy"):60116,y=Se?Symbol.for("react.block"):60121,x=Se?Symbol.for("react.fundamental"):60117,b=Se?Symbol.for("react.responder"):60118,z=Se?Symbol.for("react.scope"):60119;function te(ge){if(typeof ge=="object"&&ge!==null){var me=ge.$$typeof;switch(me){case xe:switch(ge=ge.type,ge){case ie:case ue:case he:case le:case fe:case oe:return ge;default:switch(ge=ge&&ge.$$typeof,ge){case se:case ae:case a:case ee:case re:return ge;default:return me}}case E:return me}}}function ce(ge){return te(ge)===ue}de=ie,de=ue,de=se,de=re,de=xe,de=ae,de=he,de=a,de=ee,de=E,de=le,de=fe,de=oe,de=function(ge){return ce(ge)||te(ge)===ie},de=ce,de=function(ge){return te(ge)===se},de=function(ge){return te(ge)===re},de=function(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===xe},de=function(ge){return te(ge)===ae},gt.isFragment=function(ge){return te(ge)===he},de=function(ge){return te(ge)===a},gt.isMemo=function(ge){return te(ge)===ee},de=function(ge){return te(ge)===E},de=function(ge){return te(ge)===le},de=function(ge){return te(ge)===fe},de=function(ge){return te(ge)===oe},de=function(ge){return typeof ge=="string"||typeof ge=="function"||ge===he||ge===ue||ge===le||ge===fe||ge===oe||ge===ne||typeof ge=="object"&&ge!==null&&(ge.$$typeof===a||ge.$$typeof===ee||ge.$$typeof===re||ge.$$typeof===se||ge.$$typeof===ae||ge.$$typeof===x||ge.$$typeof===b||ge.$$typeof===z||ge.$$typeof===y)},de=te},28580:function(Lt,gt,de){"use strict";Lt.exports=de(81533)},92389:function(Lt,gt){"use strict";var de={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(xe){var E=xe.keyCode;if(xe.altKey&&!xe.ctrlKey||xe.metaKey||E>=de.F1&&E<=de.F12)return!1;switch(E){case de.ALT:case de.CAPS_LOCK:case de.CONTEXT_MENU:case de.CTRL:case de.DOWN:case de.END:case de.ESC:case de.HOME:case de.INSERT:case de.LEFT:case de.MAC_FF_META:case de.META:case de.NUMLOCK:case de.NUM_CENTER:case de.PAGE_DOWN:case de.PAGE_UP:case de.PAUSE:case de.PRINT_SCREEN:case de.RIGHT:case de.SHIFT:case de.UP:case de.WIN_KEY:case de.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(xe){if(xe>=de.ZERO&&xe<=de.NINE||xe>=de.NUM_ZERO&&xe<=de.NUM_MULTIPLY||xe>=de.A&&xe<=de.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&xe===0)return!0;switch(xe){case de.SPACE:case de.QUESTION_MARK:case de.NUM_PLUS:case de.NUM_MINUS:case de.NUM_PERIOD:case de.NUM_DIVISION:case de.SEMICOLON:case de.DASH:case de.EQUALS:case de.COMMA:case de.PERIOD:case de.SLASH:case de.APOSTROPHE:case de.SINGLE_QUOTE:case de.OPEN_SQUARE_BRACKET:case de.BACKSLASH:case de.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};gt.Z=de},19575:function(Lt,gt,de){var Se,xe;(function(E,he){Lt.exports=he(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof de.g!="undefined"?de.g:this,function(E){"use strict";E=E||{};var he=E.Base64,fe="2.6.4",le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=function(Ce){for(var _e={},we=0,Re=Ce.length;we<Re;we++)_e[Ce.charAt(we)]=we;return _e}(le),se=String.fromCharCode,ie=function(Ce){if(Ce.length<2){var _e=Ce.charCodeAt(0);return _e<128?Ce:_e<2048?se(192|_e>>>6)+se(128|_e&63):se(224|_e>>>12&15)+se(128|_e>>>6&63)+se(128|_e&63)}else{var _e=65536+(Ce.charCodeAt(0)-55296)*1024+(Ce.charCodeAt(1)-56320);return se(240|_e>>>18&7)+se(128|_e>>>12&63)+se(128|_e>>>6&63)+se(128|_e&63)}},ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ae=function(Ce){return Ce.replace(ue,ie)},oe=function(Ce){var _e=[0,2,1][Ce.length%3],we=Ce.charCodeAt(0)<<16|(Ce.length>1?Ce.charCodeAt(1):0)<<8|(Ce.length>2?Ce.charCodeAt(2):0),Re=[le.charAt(we>>>18),le.charAt(we>>>12&63),_e>=2?"=":le.charAt(we>>>6&63),_e>=1?"=":le.charAt(we&63)];return Re.join("")},ne=E.btoa&&typeof E.btoa=="function"?function(Ce){return E.btoa(Ce)}:function(Ce){if(Ce.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ce.replace(/[\s\S]{1,3}/g,oe)},ee=function(Ce){return ne(ae(String(Ce)))},a=function(Ce){return Ce.replace(/[+\/]/g,function(_e){return _e=="+"?"-":"_"}).replace(/=/g,"")},y=function(Ce,_e){return _e?a(ee(Ce)):ee(Ce)},x=function(Ce){return y(Ce,!0)},b;E.Uint8Array&&(b=function(Ce,_e){for(var we="",Re=0,De=Ce.length;Re<De;Re+=3){var ke=Ce[Re],Ie=Ce[Re+1],qe=Ce[Re+2],Je=ke<<16|Ie<<8|qe;we+=le.charAt(Je>>>18)+le.charAt(Je>>>12&63)+(typeof Ie!="undefined"?le.charAt(Je>>>6&63):"=")+(typeof qe!="undefined"?le.charAt(Je&63):"=")}return _e?a(we):we});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Ce){switch(Ce.length){case 4:var _e=(7&Ce.charCodeAt(0))<<18|(63&Ce.charCodeAt(1))<<12|(63&Ce.charCodeAt(2))<<6|63&Ce.charCodeAt(3),we=_e-65536;return se((we>>>10)+55296)+se((we&1023)+56320);case 3:return se((15&Ce.charCodeAt(0))<<12|(63&Ce.charCodeAt(1))<<6|63&Ce.charCodeAt(2));default:return se((31&Ce.charCodeAt(0))<<6|63&Ce.charCodeAt(1))}},ce=function(Ce){return Ce.replace(z,te)},ge=function(Ce){var _e=Ce.length,we=_e%4,Re=(_e>0?re[Ce.charAt(0)]<<18:0)|(_e>1?re[Ce.charAt(1)]<<12:0)|(_e>2?re[Ce.charAt(2)]<<6:0)|(_e>3?re[Ce.charAt(3)]:0),De=[se(Re>>>16),se(Re>>>8&255),se(Re&255)];return De.length-=[0,0,2,1][we],De.join("")},me=E.atob&&typeof E.atob=="function"?function(Ce){return E.atob(Ce)}:function(Ce){return Ce.replace(/\S{1,4}/g,ge)},ve=function(Ce){return me(String(Ce).replace(/[^A-Za-z0-9\+\/]/g,""))},pe=function(Ce){return ce(me(Ce))},be=function(Ce){return String(Ce).replace(/[-_]/g,function(_e){return _e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ye=function(Ce){return pe(be(Ce))},Ee;E.Uint8Array&&(Ee=function(Ce){return Uint8Array.from(ve(be(Ce)),function(_e){return _e.charCodeAt(0)})});var Pe=function(){var Ce=E.Base64;return E.Base64=he,Ce};if(E.Base64={VERSION:fe,atob:ve,btoa:ne,fromBase64:ye,toBase64:y,utob:ae,encode:y,encodeURI:x,btou:ce,decode:ye,noConflict:Pe,fromUint8Array:b,toUint8Array:Ee},typeof Object.defineProperty=="function"){var Ae=function(Ce){return{value:Ce,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ae(function(){return ye(this)})),Object.defineProperty(String.prototype,"toBase64",Ae(function(Ce){return y(this,Ce)})),Object.defineProperty(String.prototype,"toBase64URI",Ae(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),Lt.exports?Lt.exports.Base64=E.Base64:(Se=[],xe=function(){return E.Base64}.apply(gt,Se),xe!==void 0&&(Lt.exports=xe)),{Base64:E.Base64}})},26819:function(Lt,gt){"use strict";var de;var Se=typeof Symbol=="function"&&Symbol.for,xe=Se?Symbol.for("react.element"):60103,E=Se?Symbol.for("react.portal"):60106,he=Se?Symbol.for("react.fragment"):60107,fe=Se?Symbol.for("react.strict_mode"):60108,le=Se?Symbol.for("react.profiler"):60114,re=Se?Symbol.for("react.provider"):60109,se=Se?Symbol.for("react.context"):60110,ie=Se?Symbol.for("react.async_mode"):60111,ue=Se?Symbol.for("react.concurrent_mode"):60111,ae=Se?Symbol.for("react.forward_ref"):60112,oe=Se?Symbol.for("react.suspense"):60113,ne=Se?Symbol.for("react.suspense_list"):60120,ee=Se?Symbol.for("react.memo"):60115,a=Se?Symbol.for("react.lazy"):60116,y=Se?Symbol.for("react.block"):60121,x=Se?Symbol.for("react.fundamental"):60117,b=Se?Symbol.for("react.responder"):60118,z=Se?Symbol.for("react.scope"):60119;function te(ge){if(typeof ge=="object"&&ge!==null){var me=ge.$$typeof;switch(me){case xe:switch(ge=ge.type,ge){case ie:case ue:case he:case le:case fe:case oe:return ge;default:switch(ge=ge&&ge.$$typeof,ge){case se:case ae:case a:case ee:case re:return ge;default:return me}}case E:return me}}}function ce(ge){return te(ge)===ue}de=ie,de=ue,de=se,de=re,de=xe,de=ae,de=he,de=a,de=ee,de=E,de=le,de=fe,de=oe,de=function(ge){return ce(ge)||te(ge)===ie},de=ce,de=function(ge){return te(ge)===se},de=function(ge){return te(ge)===re},de=function(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===xe},de=function(ge){return te(ge)===ae},de=function(ge){return te(ge)===he},de=function(ge){return te(ge)===a},gt.isMemo=function(ge){return te(ge)===ee},de=function(ge){return te(ge)===E},de=function(ge){return te(ge)===le},de=function(ge){return te(ge)===fe},de=function(ge){return te(ge)===oe},de=function(ge){return typeof ge=="string"||typeof ge=="function"||ge===he||ge===ue||ge===le||ge===fe||ge===oe||ge===ne||typeof ge=="object"&&ge!==null&&(ge.$$typeof===a||ge.$$typeof===ee||ge.$$typeof===re||ge.$$typeof===se||ge.$$typeof===ae||ge.$$typeof===x||ge.$$typeof===b||ge.$$typeof===z||ge.$$typeof===y)},de=te},18459:function(Lt,gt,de){"use strict";Lt.exports=de(26819)},16651:function(Lt,gt){"use strict";var de;var Se=Symbol.for("react.element"),xe=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),le=Symbol.for("react.provider"),re=Symbol.for("react.context"),se=Symbol.for("react.server_context"),ie=Symbol.for("react.forward_ref"),ue=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),ee=Symbol.for("react.offscreen"),a;a=Symbol.for("react.module.reference");function y(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case Se:switch(x=x.type,x){case E:case fe:case he:case ue:case ae:return x;default:switch(x=x&&x.$$typeof,x){case se:case re:case ie:case ne:case oe:case le:return x;default:return b}}case xe:return b}}}de=re,de=le,de=Se,de=ie,de=E,de=ne,de=oe,de=xe,de=fe,de=he,de=ue,de=ae,de=function(){return!1},de=function(){return!1},de=function(x){return y(x)===re},de=function(x){return y(x)===le},de=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===Se},de=function(x){return y(x)===ie},de=function(x){return y(x)===E},de=function(x){return y(x)===ne},de=function(x){return y(x)===oe},de=function(x){return y(x)===xe},de=function(x){return y(x)===fe},de=function(x){return y(x)===he},de=function(x){return y(x)===ue},de=function(x){return y(x)===ae},de=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===fe||x===he||x===ue||x===ae||x===ee||typeof x=="object"&&x!==null&&(x.$$typeof===ne||x.$$typeof===oe||x.$$typeof===le||x.$$typeof===re||x.$$typeof===ie||x.$$typeof===a||x.getModuleId!==void 0)},de=y},33993:function(Lt,gt,de){"use strict";de(16651)},81626:function(Lt,gt){"use strict";gt.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},46762:function(Lt,gt){"use strict";var de;var Se=Symbol.for("react.element"),xe=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),le=Symbol.for("react.provider"),re=Symbol.for("react.context"),se=Symbol.for("react.server_context"),ie=Symbol.for("react.forward_ref"),ue=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),ee=Symbol.for("react.offscreen"),a;a=Symbol.for("react.module.reference");function y(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case Se:switch(x=x.type,x){case E:case fe:case he:case ue:case ae:return x;default:switch(x=x&&x.$$typeof,x){case se:case re:case ie:case ne:case oe:case le:return x;default:return b}}case xe:return b}}}de=re,de=le,de=Se,de=ie,de=E,de=ne,de=oe,de=xe,de=fe,de=he,de=ue,de=ae,de=function(){return!1},de=function(){return!1},de=function(x){return y(x)===re},de=function(x){return y(x)===le},de=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===Se},de=function(x){return y(x)===ie},gt.isFragment=function(x){return y(x)===E},de=function(x){return y(x)===ne},de=function(x){return y(x)===oe},de=function(x){return y(x)===xe},de=function(x){return y(x)===fe},de=function(x){return y(x)===he},de=function(x){return y(x)===ue},de=function(x){return y(x)===ae},de=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===fe||x===he||x===ue||x===ae||x===ee||typeof x=="object"&&x!==null&&(x.$$typeof===ne||x.$$typeof===oe||x.$$typeof===le||x.$$typeof===re||x.$$typeof===ie||x.$$typeof===a||x.getModuleId!==void 0)},de=y},35110:function(Lt,gt,de){"use strict";Lt.exports=de(46762)},64217:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return se}});var Se=de(1413),xe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,E=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,he="".concat(xe," ").concat(E).split(/[\s\n]+/),fe="aria-",le="data-";function re(ie,ue){return ie.indexOf(ue)===0}function se(ie){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae;ue===!1?ae={aria:!0,data:!0,attr:!0}:ue===!0?ae={aria:!0}:ae=(0,Se.Z)({},ue);var oe={};return Object.keys(ie).forEach(function(ne){(ae.aria&&(ne==="role"||re(ne,fe))||ae.data&&re(ne,le)||ae.attr&&he.includes(ne))&&(oe[ne]=ie[ne])}),oe}},58971:function(Lt,gt,de){var Se=de(62195),xe=de(39015),E=[de(19257)];Lt.exports=Se.createStore(xe,E)},19257:function(Lt,gt,de){Lt.exports=Se;function Se(){return de(55703),{}}},55703:function(){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(Lt){return Lt<10?"0"+Lt:Lt}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(Lt){return rx_escapable.lastIndex=0,rx_escapable.test(Lt)?'"'+Lt.replace(rx_escapable,function(gt){var de=meta[gt];return typeof de=="string"?de:"\\u"+("0000"+gt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+Lt+'"'}function str(Lt,gt){var de,Se,xe,E,he=gap,fe,le=gt[Lt];switch(le&&typeof le=="object"&&typeof le.toJSON=="function"&&(le=le.toJSON(Lt)),typeof rep=="function"&&(le=rep.call(gt,Lt,le)),typeof le){case"string":return quote(le);case"number":return isFinite(le)?String(le):"null";case"boolean":case"null":return String(le);case"object":if(!le)return"null";if(gap+=indent,fe=[],Object.prototype.toString.apply(le)==="[object Array]"){for(E=le.length,de=0;de<E;de+=1)fe[de]=str(de,le)||"null";return xe=fe.length===0?"[]":gap?`[
`+gap+fe.join(`,
`+gap)+`
`+he+"]":"["+fe.join(",")+"]",gap=he,xe}if(rep&&typeof rep=="object")for(E=rep.length,de=0;de<E;de+=1)typeof rep[de]=="string"&&(Se=rep[de],xe=str(Se,le),xe&&fe.push(quote(Se)+(gap?": ":":")+xe));else for(Se in le)Object.prototype.hasOwnProperty.call(le,Se)&&(xe=str(Se,le),xe&&fe.push(quote(Se)+(gap?": ":":")+xe));return xe=fe.length===0?"{}":gap?`{
`+gap+fe.join(`,
`+gap)+`
`+he+"}":"{"+fe.join(",")+"}",gap=he,xe}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(Lt,gt,de){var Se;if(gap="",indent="",typeof de=="number")for(Se=0;Se<de;Se+=1)indent+=" ";else typeof de=="string"&&(indent=de);if(rep=gt,gt&&typeof gt!="function"&&(typeof gt!="object"||typeof gt.length!="number"))throw new Error("JSON.stringify");return str("",{"":Lt})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(Lt,gt){var de,Se,xe=Lt[gt];if(xe&&typeof xe=="object")for(de in xe)Object.prototype.hasOwnProperty.call(xe,de)&&(Se=walk(xe,de),Se!==void 0?xe[de]=Se:delete xe[de]);return reviver.call(Lt,gt,xe)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(Lt){return"\\u"+("0000"+Lt.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},62195:function(Lt,gt,de){var Se=de(69078),xe=Se.slice,E=Se.pluck,he=Se.each,fe=Se.bind,le=Se.create,re=Se.isList,se=Se.isFunction,ie=Se.isObject;Lt.exports={createStore:oe};var ue={version:"2.0.12",enabled:!1,get:function(ne,ee){var a=this.storage.read(this._namespacePrefix+ne);return this._deserialize(a,ee)},set:function(ne,ee){return ee===void 0?this.remove(ne):(this.storage.write(this._namespacePrefix+ne,this._serialize(ee)),ee)},remove:function(ne){this.storage.remove(this._namespacePrefix+ne)},each:function(ne){var ee=this;this.storage.each(function(a,y){ne.call(ee,ee._deserialize(a),(y||"").replace(ee._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(ne){return this._namespacePrefix=="__storejs_"+ne+"_"},createStore:function(){return oe.apply(this,arguments)},addPlugin:function(ne){this._addPlugin(ne)},namespace:function(ne){return oe(this.storage,this.plugins,ne)}};function ae(){var ne=typeof console=="undefined"?null:console;if(ne){var ee=ne.warn?ne.warn:ne.log;ee.apply(ne,arguments)}}function oe(ne,ee,a){a||(a=""),ne&&!re(ne)&&(ne=[ne]),ee&&!re(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(ce){try{var ge="__storejs__test__";ce.write(ge,ge);var me=ce.read(ge)===ge;return ce.remove(ge),me}catch(ve){return!1}},_assignPluginFnProp:function(ce,ge){var me=this[ge];this[ge]=function(){var pe=xe(arguments,0),be=this;function ye(){if(me)return he(arguments,function(Pe,Ae){pe[Ae]=Pe}),me.apply(be,pe)}var Ee=[ye].concat(pe);return ce.apply(be,Ee)}},_serialize:function(ce){return JSON.stringify(ce)},_deserialize:function(ce,ge){if(!ce)return ge;var me="";try{me=JSON.parse(ce)}catch(ve){me=ce}return me!==void 0?me:ge},_addStorage:function(ce){this.enabled||this._testStorage(ce)&&(this.storage=ce,this.enabled=!0)},_addPlugin:function(ce){var ge=this;if(re(ce)){he(ce,function(pe){ge._addPlugin(pe)});return}var me=E(this.plugins,function(pe){return ce===pe});if(!me){if(this.plugins.push(ce),!se(ce))throw new Error("Plugins must be function values that return objects");var ve=ce.call(this);if(!ie(ve))throw new Error("Plugins must return an object of function properties");he(ve,function(pe,be){if(!se(pe))throw new Error("Bad plugin property: "+be+" from plugin "+ce.name+". Plugins should only return functions.");ge._assignPluginFnProp(pe,be)})}},addStorage:function(ce){ae("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(ce)}},te=le(z,ue,{plugins:[]});return te.raw={},he(te,function(ce,ge){se(ce)&&(te.raw[ge]=fe(te,ce))}),he(ne,function(ce){te._addStorage(ce)}),he(ee,function(ce){te._addPlugin(ce)}),te}},69078:function(Lt,gt,de){var Se=fe(),xe=le(),E=re(),he=typeof window!="undefined"?window:de.g;Lt.exports={assign:Se,create:xe,trim:E,bind:se,slice:ie,each:ue,map:ae,pluck:oe,isList:ne,isFunction:ee,isObject:a,Global:he};function fe(){return Object.assign?Object.assign:function(x,b,z,te){for(var ce=1;ce<arguments.length;ce++)ue(Object(arguments[ce]),function(ge,me){x[me]=ge});return x}}function le(){if(Object.create)return function(b,z,te,ce){var ge=ie(arguments,1);return Se.apply(this,[Object.create(b)].concat(ge))};{let x=function(){};var y=x;return function(z,te,ce,ge){var me=ie(arguments,1);return x.prototype=z,Se.apply(this,[new x].concat(me))}}}function re(){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 se(y,x){return function(){return x.apply(y,Array.prototype.slice.call(arguments,0))}}function ie(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=ne(y)?[]:{};return oe(y,function(z,te){return b[te]=x(z,te),!1}),b}function oe(y,x){if(ne(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 ne(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]"}},39015:function(Lt,gt,de){Lt.exports=[de(39627),de(95347),de(34524),de(45580),de(58855),de(8728)]},45580:function(Lt,gt,de){var Se=de(69078),xe=Se.Global,E=Se.trim;Lt.exports={name:"cookieStorage",read:fe,write:re,each:le,remove:se,clearAll:ie};var he=xe.document;function fe(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 le(ae){for(var oe=he.cookie.split(/; ?/g),ne=oe.length-1;ne>=0;ne--)if(E(oe[ne])){var ee=oe[ne].split("="),a=unescape(ee[0]),y=unescape(ee[1]);ae(y,a)}}function re(ae,oe){ae&&(he.cookie=escape(ae)+"="+escape(oe)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function se(ae){!ae||!ue(ae)||(he.cookie=escape(ae)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function ie(){le(function(ae,oe){se(oe)})}function ue(ae){return new RegExp("(?:^|;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(he.cookie)}},39627:function(Lt,gt,de){var Se=de(69078),xe=Se.Global;Lt.exports={name:"localStorage",read:he,write:fe,each:le,remove:re,clearAll:se};function E(){return xe.localStorage}function he(ie){return E().getItem(ie)}function fe(ie,ue){return E().setItem(ie,ue)}function le(ie){for(var ue=E().length-1;ue>=0;ue--){var ae=E().key(ue);ie(he(ae),ae)}}function re(ie){return E().removeItem(ie)}function se(){return E().clear()}},8728:function(Lt){Lt.exports={name:"memoryStorage",read:de,write:Se,each:xe,remove:E,clearAll:he};var gt={};function de(fe){return gt[fe]}function Se(fe,le){gt[fe]=le}function xe(fe){for(var le in gt)gt.hasOwnProperty(le)&&fe(gt[le],le)}function E(fe){delete gt[fe]}function he(fe){gt={}}},95347:function(Lt,gt,de){var Se=de(69078),xe=Se.Global;Lt.exports={name:"oldFF-globalStorage",read:he,write:fe,each:le,remove:re,clearAll:se};var E=xe.globalStorage;function he(ie){return E[ie]}function fe(ie,ue){E[ie]=ue}function le(ie){for(var ue=E.length-1;ue>=0;ue--){var ae=E.key(ue);ie(E[ae],ae)}}function re(ie){return E.removeItem(ie)}function se(){le(function(ie,ue){delete E[ie]})}},34524:function(Lt,gt,de){var Se=de(69078),xe=Se.Global;Lt.exports={name:"oldIE-userDataStorage",write:re,read:se,each:ie,remove:ue,clearAll:ae};var E="storejs",he=xe.document,fe=ee(),le=(xe.navigator?xe.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function re(a,y){if(!le){var x=ne(a);fe(function(b){b.setAttribute(x,y),b.save(E)})}}function se(a){if(!le){var y=ne(a),x=null;return fe(function(b){x=b.getAttribute(y)}),x}}function ie(a){fe(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=ne(a);fe(function(x){x.removeAttribute(y),x.save(E)})}function ae(){fe(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 ne(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)}}},58855:function(Lt,gt,de){var Se=de(69078),xe=Se.Global;Lt.exports={name:"sessionStorage",read:he,write:fe,each:le,remove:re,clearAll:se};function E(){return xe.sessionStorage}function he(ie){return E().getItem(ie)}function fe(ie,ue){return E().setItem(ie,ue)}function le(ie){for(var ue=E().length-1;ue>=0;ue--){var ae=E().key(ue);ie(he(ae),ae)}}function re(ie){return E().removeItem(ie)}function se(){return E().clear()}},12320:function(Lt){(function(gt,de){if(1)Lt.exports=de();else var Se,xe})(window,function(){return function(gt){var de={};function Se(xe){if(de[xe])return de[xe].exports;var E=de[xe]={i:xe,l:!1,exports:{}};return gt[xe].call(E.exports,E,E.exports,Se),E.l=!0,E.exports}return Se.m=gt,Se.c=de,Se.d=function(xe,E,he){Se.o(xe,E)||Object.defineProperty(xe,E,{enumerable:!0,get:he})},Se.r=function(xe){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(xe,"__esModule",{value:!0})},Se.t=function(xe,E){if(1&E&&(xe=Se(xe)),8&E||4&E&&typeof xe=="object"&&xe&&xe.__esModule)return xe;var he=Object.create(null);if(Se.r(he),Object.defineProperty(he,"default",{enumerable:!0,value:xe}),2&E&&typeof xe!="string")for(var fe in xe)Se.d(he,fe,function(le){return xe[le]}.bind(null,fe));return he},Se.n=function(xe){var E=xe&&xe.__esModule?function(){return xe.default}:function(){return xe};return Se.d(E,"a",E),E},Se.o=function(xe,E){return Object.prototype.hasOwnProperty.call(xe,E)},Se.p="",Se(Se.s=34)}([function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.forwardEvent=de.EventEmitter=void 0;var xe=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(fe){return he._listeners.push(fe),{dispose:function(){if(!he._disposed){for(var le=0;le<he._listeners.length;le++)if(he._listeners[le]===fe)return void he._listeners.splice(le,1)}}}}),this._event},enumerable:!1,configurable:!0}),E.prototype.fire=function(he,fe){for(var le=[],re=0;re<this._listeners.length;re++)le.push(this._listeners[re]);for(re=0;re<le.length;re++)le[re].call(void 0,he,fe)},E.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},E}();de.EventEmitter=xe,de.forwardEvent=function(E,he){return E(function(fe){return he.fire(fe)})}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.IUnicodeService=de.IOptionsService=de.ILogService=de.IInstantiationService=de.IDirtyRowService=de.ICharsetService=de.ICoreService=de.ICoreMouseService=de.IBufferService=void 0;var xe=Se(14);de.IBufferService=xe.createDecorator("BufferService"),de.ICoreMouseService=xe.createDecorator("CoreMouseService"),de.ICoreService=xe.createDecorator("CoreService"),de.ICharsetService=xe.createDecorator("CharsetService"),de.IDirtyRowService=xe.createDecorator("DirtyRowService"),de.IInstantiationService=xe.createDecorator("InstantiationService"),de.ILogService=xe.createDecorator("LogService"),de.IOptionsService=xe.createDecorator("OptionsService"),de.IUnicodeService=xe.createDecorator("UnicodeService")},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.getDisposeArrayDisposable=de.disposeArray=de.Disposable=void 0;var xe=function(){function he(){this._disposables=[],this._isDisposed=!1}return he.prototype.dispose=function(){this._isDisposed=!0;for(var fe=0,le=this._disposables;fe<le.length;fe++)le[fe].dispose();this._disposables.length=0},he.prototype.register=function(fe){return this._disposables.push(fe),fe},he.prototype.unregister=function(fe){var le=this._disposables.indexOf(fe);le!==-1&&this._disposables.splice(le,1)},he}();function E(he){for(var fe=0,le=he;fe<le.length;fe++)le[fe].dispose();he.length=0}de.Disposable=xe,de.disposeArray=E,de.getDisposeArrayDisposable=function(he){return{dispose:function(){return E(he)}}}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.WHITESPACE_CELL_CODE=de.WHITESPACE_CELL_WIDTH=de.WHITESPACE_CELL_CHAR=de.NULL_CELL_CODE=de.NULL_CELL_WIDTH=de.NULL_CELL_CHAR=de.CHAR_DATA_CODE_INDEX=de.CHAR_DATA_WIDTH_INDEX=de.CHAR_DATA_CHAR_INDEX=de.CHAR_DATA_ATTR_INDEX=de.DEFAULT_ATTR=de.DEFAULT_COLOR=void 0,de.DEFAULT_COLOR=256,de.DEFAULT_ATTR=256|de.DEFAULT_COLOR<<9,de.CHAR_DATA_ATTR_INDEX=0,de.CHAR_DATA_CHAR_INDEX=1,de.CHAR_DATA_WIDTH_INDEX=2,de.CHAR_DATA_CODE_INDEX=3,de.NULL_CELL_CHAR="",de.NULL_CELL_WIDTH=1,de.NULL_CELL_CODE=0,de.WHITESPACE_CELL_CHAR=" ",de.WHITESPACE_CELL_WIDTH=1,de.WHITESPACE_CELL_CODE=32},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(se,ie){return(xe=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])})(se,ie)},function(se,ie){function ue(){this.constructor=se}xe(se,ie),se.prototype=ie===null?Object.create(ie):(ue.prototype=ie.prototype,new ue)});Object.defineProperty(de,"__esModule",{value:!0}),de.CellData=void 0;var he=Se(8),fe=Se(3),le=Se(6),re=function(se){function ie(){var ue=se!==null&&se.apply(this,arguments)||this;return ue.content=0,ue.fg=0,ue.bg=0,ue.extended=new le.ExtendedAttrs,ue.combinedData="",ue}return E(ie,se),ie.fromCharData=function(ue){var ae=new ie;return ae.setFromCharData(ue),ae},ie.prototype.isCombined=function(){return 2097152&this.content},ie.prototype.getWidth=function(){return this.content>>22},ie.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?he.stringFromCodePoint(2097151&this.content):""},ie.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},ie.prototype.setFromCharData=function(ue){this.fg=ue[fe.CHAR_DATA_ATTR_INDEX],this.bg=0;var ae=!1;if(ue[fe.CHAR_DATA_CHAR_INDEX].length>2)ae=!0;else if(ue[fe.CHAR_DATA_CHAR_INDEX].length===2){var oe=ue[fe.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=oe&&oe<=56319){var ne=ue[fe.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=ne&&ne<=57343?this.content=1024*(oe-55296)+ne-56320+65536|ue[fe.CHAR_DATA_WIDTH_INDEX]<<22:ae=!0}else ae=!0}else this.content=ue[fe.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ue[fe.CHAR_DATA_WIDTH_INDEX]<<22;ae&&(this.combinedData=ue[fe.CHAR_DATA_CHAR_INDEX],this.content=2097152|ue[fe.CHAR_DATA_WIDTH_INDEX]<<22)},ie.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},ie}(le.AttributeData);de.CellData=re},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.ISoundService=de.ISelectionService=de.IRenderService=de.IMouseService=de.ICoreBrowserService=de.ICharSizeService=void 0;var xe=Se(14);de.ICharSizeService=xe.createDecorator("CharSizeService"),de.ICoreBrowserService=xe.createDecorator("CoreBrowserService"),de.IMouseService=xe.createDecorator("MouseService"),de.IRenderService=xe.createDecorator("RenderService"),de.ISelectionService=xe.createDecorator("SelectionService"),de.ISoundService=xe.createDecorator("SoundService")},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.ExtendedAttrs=de.AttributeData=void 0;var xe=function(){function he(){this.fg=0,this.bg=0,this.extended=new E}return he.toColorRGB=function(fe){return[fe>>>16&255,fe>>>8&255,255&fe]},he.fromColorRGB=function(fe){return(255&fe[0])<<16|(255&fe[1])<<8|255&fe[2]},he.prototype.clone=function(){var fe=new he;return fe.fg=this.fg,fe.bg=this.bg,fe.extended=this.extended.clone(),fe},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}();de.AttributeData=xe;var E=function(){function he(fe,le){fe===void 0&&(fe=0),le===void 0&&(le=-1),this.underlineStyle=fe,this.underlineColor=le}return he.prototype.clone=function(){return new he(this.underlineStyle,this.underlineColor)},he.prototype.isEmpty=function(){return this.underlineStyle===0},he}();de.ExtendedAttrs=E},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.addDisposableDomListener=void 0,de.addDisposableDomListener=function(xe,E,he,fe){xe.addEventListener(E,he,fe);var le=!1;return{dispose:function(){le||(le=!0,xe.removeEventListener(E,he,fe))}}}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.Utf8ToUtf32=de.StringToUtf32=de.utf32ToString=de.stringFromCodePoint=void 0,de.stringFromCodePoint=function(he){return he>65535?(he-=65536,String.fromCharCode(55296+(he>>10))+String.fromCharCode(he%1024+56320)):String.fromCharCode(he)},de.utf32ToString=function(he,fe,le){fe===void 0&&(fe=0),le===void 0&&(le=he.length);for(var re="",se=fe;se<le;++se){var ie=he[se];ie>65535?(ie-=65536,re+=String.fromCharCode(55296+(ie>>10))+String.fromCharCode(ie%1024+56320)):re+=String.fromCharCode(ie)}return re};var xe=function(){function he(){this._interim=0}return he.prototype.clear=function(){this._interim=0},he.prototype.decode=function(fe,le){var re=fe.length;if(!re)return 0;var se=0,ie=0;this._interim&&(56320<=(oe=fe.charCodeAt(ie++))&&oe<=57343?le[se++]=1024*(this._interim-55296)+oe-56320+65536:(le[se++]=this._interim,le[se++]=oe),this._interim=0);for(var ue=ie;ue<re;++ue){var ae=fe.charCodeAt(ue);if(55296<=ae&&ae<=56319){if(++ue>=re)return this._interim=ae,se;var oe;56320<=(oe=fe.charCodeAt(ue))&&oe<=57343?le[se++]=1024*(ae-55296)+oe-56320+65536:(le[se++]=ae,le[se++]=oe)}else le[se++]=ae}return se},he}();de.StringToUtf32=xe;var E=function(){function he(){this.interim=new Uint8Array(3)}return he.prototype.clear=function(){this.interim.fill(0)},he.prototype.decode=function(fe,le){var re=fe.length;if(!re)return 0;var se,ie,ue,ae,oe=0,ne=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>=re)return 0;if((192&(b=fe[ee++]))!=128){ee--,a=!0;break}this.interim[x++]=b,y<<=6,y|=63&b}a||(z===2?y<128?ee--:le[oe++]=y:z===3?y<2048||y>=55296&&y<=57343||(le[oe++]=y):y<65536||y>1114111||(le[oe++]=y)),this.interim.fill(0)}for(var ce=re-4,ge=ee;ge<re;){for(;!(!(ge<ce)||128&(se=fe[ge])||128&(ie=fe[ge+1])||128&(ue=fe[ge+2])||128&(ae=fe[ge+3]));)le[oe++]=se,le[oe++]=ie,le[oe++]=ue,le[oe++]=ae,ge+=4;if((se=fe[ge++])<128)le[oe++]=se;else if((224&se)==192){if(ge>=re)return this.interim[0]=se,oe;if((192&(ie=fe[ge++]))!=128){ge--;continue}if((ne=(31&se)<<6|63&ie)<128){ge--;continue}le[oe++]=ne}else if((240&se)==224){if(ge>=re)return this.interim[0]=se,oe;if((192&(ie=fe[ge++]))!=128){ge--;continue}if(ge>=re)return this.interim[0]=se,this.interim[1]=ie,oe;if((192&(ue=fe[ge++]))!=128){ge--;continue}if((ne=(15&se)<<12|(63&ie)<<6|63&ue)<2048||ne>=55296&&ne<=57343)continue;le[oe++]=ne}else if((248&se)==240){if(ge>=re)return this.interim[0]=se,oe;if((192&(ie=fe[ge++]))!=128){ge--;continue}if(ge>=re)return this.interim[0]=se,this.interim[1]=ie,oe;if((192&(ue=fe[ge++]))!=128){ge--;continue}if(ge>=re)return this.interim[0]=se,this.interim[1]=ie,this.interim[2]=ue,oe;if((192&(ae=fe[ge++]))!=128){ge--;continue}if((ne=(7&se)<<18|(63&ie)<<12|(63&ue)<<6|63&ae)<65536||ne>1114111)continue;le[oe++]=ne}}return oe},he}();de.Utf8ToUtf32=E},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.CHAR_ATLAS_CELL_SPACING=de.DIM_OPACITY=de.INVERTED_DEFAULT_COLOR=void 0,de.INVERTED_DEFAULT_COLOR=257,de.DIM_OPACITY=.5,de.CHAR_ATLAS_CELL_SPACING=1},function(gt,de,Se){"use strict";var xe,E,he,fe;function le(se){var ie=se.toString(16);return ie.length<2?"0"+ie:ie}function re(se,ie){return se<ie?(ie+.05)/(se+.05):(se+.05)/(ie+.05)}Object.defineProperty(de,"__esModule",{value:!0}),de.contrastRatio=de.toPaddedHex=de.rgba=de.rgb=de.css=de.color=de.channels=void 0,function(se){se.toCss=function(ie,ue,ae,oe){return oe!==void 0?"#"+le(ie)+le(ue)+le(ae)+le(oe):"#"+le(ie)+le(ue)+le(ae)},se.toRgba=function(ie,ue,ae,oe){return oe===void 0&&(oe=255),(ie<<24|ue<<16|ae<<8|oe)>>>0}}(xe=de.channels||(de.channels={})),(E=de.color||(de.color={})).blend=function(se,ie){var ue=(255&ie.rgba)/255;if(ue===1)return{css:ie.css,rgba:ie.rgba};var ae=ie.rgba>>24&255,oe=ie.rgba>>16&255,ne=ie.rgba>>8&255,ee=se.rgba>>24&255,a=se.rgba>>16&255,y=se.rgba>>8&255,x=ee+Math.round((ae-ee)*ue),b=a+Math.round((oe-a)*ue),z=y+Math.round((ne-y)*ue);return{css:xe.toCss(x,b,z),rgba:xe.toRgba(x,b,z)}},E.isOpaque=function(se){return(255&se.rgba)==255},E.ensureContrastRatio=function(se,ie,ue){var ae=fe.ensureContrastRatio(se.rgba,ie.rgba,ue);if(ae)return fe.toColor(ae>>24&255,ae>>16&255,ae>>8&255)},E.opaque=function(se){var ie=(255|se.rgba)>>>0,ue=fe.toChannels(ie),ae=ue[0],oe=ue[1],ne=ue[2];return{css:xe.toCss(ae,oe,ne),rgba:ie}},E.opacity=function(se,ie){var ue=Math.round(255*ie),ae=fe.toChannels(se.rgba),oe=ae[0],ne=ae[1],ee=ae[2];return{css:xe.toCss(oe,ne,ee,ue),rgba:xe.toRgba(oe,ne,ee,ue)}},(de.css||(de.css={})).toColor=function(se){switch(se.length){case 7:return{css:se,rgba:(parseInt(se.slice(1),16)<<8|255)>>>0};case 9:return{css:se,rgba:parseInt(se.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(se){function ie(ue,ae,oe){var ne=ue/255,ee=ae/255,a=oe/255;return .2126*(ne<=.03928?ne/12.92:Math.pow((ne+.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))}se.relativeLuminance=function(ue){return ie(ue>>16&255,ue>>8&255,255&ue)},se.relativeLuminance2=ie}(he=de.rgb||(de.rgb={})),function(se){function ie(ae,oe,ne){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=re(he.relativeLuminance2(x,z,b),he.relativeLuminance2(ee,a,y));te<ne&&(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=re(he.relativeLuminance2(x,z,b),he.relativeLuminance2(ee,a,y));return(x<<24|b<<16|z<<8|255)>>>0}function ue(ae,oe,ne){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=re(he.relativeLuminance2(x,z,b),he.relativeLuminance2(ee,a,y));te<ne&&(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=re(he.relativeLuminance2(x,z,b),he.relativeLuminance2(ee,a,y));return(x<<24|b<<16|z<<8|255)>>>0}se.ensureContrastRatio=function(ae,oe,ne){var ee=he.relativeLuminance(ae>>8),a=he.relativeLuminance(oe>>8);if(re(ee,a)<ne)return a<ee?ie(ae,oe,ne):ue(ae,oe,ne)},se.reduceLuminance=ie,se.increaseLuminance=ue,se.toChannels=function(ae){return[ae>>24&255,ae>>16&255,ae>>8&255,255&ae]},se.toColor=function(ae,oe,ne){return{css:xe.toCss(ae,oe,ne),rgba:xe.toRgba(ae,oe,ne)}}}(fe=de.rgba||(de.rgba={})),de.toPaddedHex=le,de.contrastRatio=re},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isLinux=de.isWindows=de.isIphone=de.isIpad=de.isMac=de.isSafari=de.isFirefox=void 0;var xe=typeof navigator=="undefined",E=xe?"node":navigator.userAgent,he=xe?"node":navigator.platform;function fe(le,re){return le.indexOf(re)>=0}de.isFirefox=!!~E.indexOf("Firefox"),de.isSafari=/^((?!chrome|android).)*safari/i.test(E),de.isMac=fe(["Macintosh","MacIntel","MacPPC","Mac68K"],he),de.isIpad=he==="iPad",de.isIphone=he==="iPhone",de.isWindows=fe(["Windows","Win16","Win32","WinCE"],he),de.isLinux=he.indexOf("Linux")>=0},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.C1=de.C0=void 0,function(xe){xe.NUL="\0",xe.SOH="",xe.STX="",xe.ETX="",xe.EOT="",xe.ENQ="",xe.ACK="",xe.BEL="\x07",xe.BS="\b",xe.HT=" ",xe.LF=`
`,xe.VT="\v",xe.FF="\f",xe.CR="\r",xe.SO="",xe.SI="",xe.DLE="",xe.DC1="",xe.DC2="",xe.DC3="",xe.DC4="",xe.NAK="",xe.SYN="",xe.ETB="",xe.CAN="",xe.EM="",xe.SUB="",xe.ESC="\x1B",xe.FS="",xe.GS="",xe.RS="",xe.US="",xe.SP=" ",xe.DEL="\x7F"}(de.C0||(de.C0={})),function(xe){xe.PAD="\x80",xe.HOP="\x81",xe.BPH="\x82",xe.NBH="\x83",xe.IND="\x84",xe.NEL="\x85",xe.SSA="\x86",xe.ESA="\x87",xe.HTS="\x88",xe.HTJ="\x89",xe.VTS="\x8A",xe.PLD="\x8B",xe.PLU="\x8C",xe.RI="\x8D",xe.SS2="\x8E",xe.SS3="\x8F",xe.DCS="\x90",xe.PU1="\x91",xe.PU2="\x92",xe.STS="\x93",xe.CCH="\x94",xe.MW="\x95",xe.SPA="\x96",xe.EPA="\x97",xe.SOS="\x98",xe.SGCI="\x99",xe.SCI="\x9A",xe.CSI="\x9B",xe.ST="\x9C",xe.OSC="\x9D",xe.PM="\x9E",xe.APC="\x9F"}(de.C1||(de.C1={}))},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.BaseRenderLayer=void 0;var xe=Se(3),E=Se(9),he=Se(25),fe=Se(6),le=Se(28),re=Se(10),se=Se(17),ie=function(){function ue(ae,oe,ne,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=ne.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return ue.prototype.dispose=function(){var ae;se.removeElementFromParent(this._canvas),(ae=this._charAtlas)===null||ae===void 0||ae.dispose()},ue.prototype._initCanvas=function(){this._ctx=le.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,ne){ne===void 0&&(ne=!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,ne,ee){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,ne*this._scaledCellWidth,ee*this._scaledCellHeight)},ue.prototype._fillBottomLineAtCells=function(ae,oe,ne){ne===void 0&&(ne=1),this._ctx.fillRect(ae*this._scaledCellWidth,(oe+1)*this._scaledCellHeight-window.devicePixelRatio-1,ne*this._scaledCellWidth,window.devicePixelRatio)},ue.prototype._fillLeftLineAtCell=function(ae,oe,ne){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,window.devicePixelRatio*ne,this._scaledCellHeight)},ue.prototype._strokeRectAtCell=function(ae,oe,ne,ee){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(ae*this._scaledCellWidth+window.devicePixelRatio/2,oe*this._scaledCellHeight+window.devicePixelRatio/2,ne*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,ne,ee){this._alpha?this._ctx.clearRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,ne*this._scaledCellWidth,ee*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,ne*this._scaledCellWidth,ee*this._scaledCellHeight))},ue.prototype._fillCharTrueColor=function(ae,oe,ne){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(ne),this._ctx.fillText(ae.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},ue.prototype._drawChars=function(ae,oe,ne){var ee,a,y=this._getContrastColor(ae);y||ae.isFgRGB()||ae.isBgRGB()?this._drawUncachedChars(ae,oe,ne,y):(ae.isInverse()?(ee=ae.isBgDefault()?E.INVERTED_DEFAULT_COLOR:ae.getBgColor(),a=ae.isFgDefault()?E.INVERTED_DEFAULT_COLOR:ae.getFgColor()):(a=ae.isBgDefault()?xe.DEFAULT_COLOR:ae.getBgColor(),ee=ae.isFgDefault()?xe.DEFAULT_COLOR:ae.getFgColor()),ee+=this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&ee<8?8:0,this._currentGlyphIdentifier.chars=ae.getChars()||xe.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=ae.getCode()||xe.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,ne*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(ae,oe,ne))},ue.prototype._drawUncachedChars=function(ae,oe,ne,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=re.color.opaque(this._colors.background).css;else if(ae.isBgRGB())this._ctx.fillStyle="rgb("+fe.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("+fe.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(ne),ae.isDim()&&(this._ctx.globalAlpha=E.DIM_OPACITY),this._ctx.fillText(ae.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,ne*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 ne=ae.getFgColor(),ee=ae.getFgColorMode(),a=ae.getBgColor(),y=ae.getBgColorMode(),x=!!ae.isInverse(),b=!!ae.isInverse();if(x){var z=ne;ne=a,a=z;var te=ee;ee=y,y=te}var ce=this._resolveBackgroundRgba(y,a,x),ge=this._resolveForegroundRgba(ee,ne,x,b),me=re.rgba.ensureContrastRatio(ce,ge,this._optionsService.options.minimumContrastRatio);if(me){var ve={css:re.channels.toCss(me>>24&255,me>>16&255,me>>8&255),rgba:me};return this._colors.contrastCache.setColor(ae.bg,ae.fg,ve),ve}this._colors.contrastCache.setColor(ae.bg,ae.fg,null)}},ue.prototype._resolveBackgroundRgba=function(ae,oe,ne){switch(ae){case 16777216:case 33554432:return this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return ne?this._colors.foreground.rgba:this._colors.background.rgba}},ue.prototype._resolveForegroundRgba=function(ae,oe,ne,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 ne?this._colors.background.rgba:this._colors.foreground.rgba}},ue}();de.BaseRenderLayer=ie},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.createDecorator=de.getServiceDependencies=de.serviceRegistry=void 0;function xe(E,he,fe){he.di$target===he?he.di$dependencies.push({id:E,index:fe}):(he.di$dependencies=[{id:E,index:fe}],he.di$target=he)}de.serviceRegistry=new Map,de.getServiceDependencies=function(E){return E.di$dependencies||[]},de.createDecorator=function(E){if(de.serviceRegistry.has(E))return de.serviceRegistry.get(E);var he=function(fe,le,re){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");xe(he,fe,re)};return he.toString=function(){return E},de.serviceRegistry.set(E,he),he}},function(gt,de,Se){"use strict";function xe(E,he,fe,le){if(fe===void 0&&(fe=0),le===void 0&&(le=E.length),fe>=E.length)return E;fe=(E.length+fe)%E.length,le=le>=E.length?E.length:(E.length+le)%E.length;for(var re=fe;re<le;++re)E[re]=he;return E}Object.defineProperty(de,"__esModule",{value:!0}),de.concat=de.fillFallback=de.fill=void 0,de.fill=function(E,he,fe,le){return E.fill?E.fill(he,fe,le):xe(E,he,fe,le)},de.fillFallback=xe,de.concat=function(E,he){var fe=new E.constructor(E.length+he.length);return fe.set(E),fe.set(he,E.length),fe}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.BufferLine=de.DEFAULT_ATTR_DATA=void 0;var xe=Se(8),E=Se(3),he=Se(4),fe=Se(6);de.DEFAULT_ATTR_DATA=Object.freeze(new fe.AttributeData);var le=function(){function re(se,ie,ue){ue===void 0&&(ue=!1),this.isWrapped=ue,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*se);for(var ae=ie||he.CellData.fromCharData([0,E.NULL_CELL_CHAR,E.NULL_CELL_WIDTH,E.NULL_CELL_CODE]),oe=0;oe<se;++oe)this.setCell(oe,ae);this.length=se}return re.prototype.get=function(se){var ie=this._data[3*se+0],ue=2097151&ie;return[this._data[3*se+1],2097152&ie?this._combined[se]:ue?xe.stringFromCodePoint(ue):"",ie>>22,2097152&ie?this._combined[se].charCodeAt(this._combined[se].length-1):ue]},re.prototype.set=function(se,ie){this._data[3*se+1]=ie[E.CHAR_DATA_ATTR_INDEX],ie[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[se]=ie[1],this._data[3*se+0]=2097152|se|ie[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*se+0]=ie[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ie[E.CHAR_DATA_WIDTH_INDEX]<<22},re.prototype.getWidth=function(se){return this._data[3*se+0]>>22},re.prototype.hasWidth=function(se){return 12582912&this._data[3*se+0]},re.prototype.getFg=function(se){return this._data[3*se+1]},re.prototype.getBg=function(se){return this._data[3*se+2]},re.prototype.hasContent=function(se){return 4194303&this._data[3*se+0]},re.prototype.getCodePoint=function(se){var ie=this._data[3*se+0];return 2097152&ie?this._combined[se].charCodeAt(this._combined[se].length-1):2097151&ie},re.prototype.isCombined=function(se){return 2097152&this._data[3*se+0]},re.prototype.getString=function(se){var ie=this._data[3*se+0];return 2097152&ie?this._combined[se]:2097151&ie?xe.stringFromCodePoint(2097151&ie):""},re.prototype.loadCell=function(se,ie){var ue=3*se;return ie.content=this._data[ue+0],ie.fg=this._data[ue+1],ie.bg=this._data[ue+2],2097152&ie.content&&(ie.combinedData=this._combined[se]),268435456&ie.bg&&(ie.extended=this._extendedAttrs[se]),ie},re.prototype.setCell=function(se,ie){2097152&ie.content&&(this._combined[se]=ie.combinedData),268435456&ie.bg&&(this._extendedAttrs[se]=ie.extended),this._data[3*se+0]=ie.content,this._data[3*se+1]=ie.fg,this._data[3*se+2]=ie.bg},re.prototype.setCellFromCodePoint=function(se,ie,ue,ae,oe,ne){268435456&oe&&(this._extendedAttrs[se]=ne),this._data[3*se+0]=ie|ue<<22,this._data[3*se+1]=ae,this._data[3*se+2]=oe},re.prototype.addCodepointToCell=function(se,ie){var ue=this._data[3*se+0];2097152&ue?this._combined[se]+=xe.stringFromCodePoint(ie):(2097151&ue?(this._combined[se]=xe.stringFromCodePoint(2097151&ue)+xe.stringFromCodePoint(ie),ue&=-2097152,ue|=2097152):ue=ie|1<<22,this._data[3*se+0]=ue)},re.prototype.insertCells=function(se,ie,ue,ae){if((se%=this.length)&&this.getWidth(se-1)===2&&this.setCellFromCodePoint(se-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new fe.ExtendedAttrs),ie<this.length-se){for(var oe=new he.CellData,ne=this.length-se-ie-1;ne>=0;--ne)this.setCell(se+ie+ne,this.loadCell(se+ne,oe));for(ne=0;ne<ie;++ne)this.setCell(se+ne,ue)}else for(ne=se;ne<this.length;++ne)this.setCell(ne,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 fe.ExtendedAttrs)},re.prototype.deleteCells=function(se,ie,ue,ae){if(se%=this.length,ie<this.length-se){for(var oe=new he.CellData,ne=0;ne<this.length-se-ie;++ne)this.setCell(se+ne,this.loadCell(se+ie+ne,oe));for(ne=this.length-ie;ne<this.length;++ne)this.setCell(ne,ue)}else for(ne=se;ne<this.length;++ne)this.setCell(ne,ue);se&&this.getWidth(se-1)===2&&this.setCellFromCodePoint(se-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new fe.ExtendedAttrs),this.getWidth(se)!==0||this.hasContent(se)||this.setCellFromCodePoint(se,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new fe.ExtendedAttrs)},re.prototype.replaceCells=function(se,ie,ue,ae){for(se&&this.getWidth(se-1)===2&&this.setCellFromCodePoint(se-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new fe.ExtendedAttrs),ie<this.length&&this.getWidth(ie-1)===2&&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 fe.ExtendedAttrs);se<ie&&se<this.length;)this.setCell(se++,ue)},re.prototype.resize=function(se,ie){if(se!==this.length){if(se>this.length){var ue=new Uint32Array(3*se);this.length&&(3*se<this._data.length?ue.set(this._data.subarray(0,3*se)):ue.set(this._data)),this._data=ue;for(var ae=this.length;ae<se;++ae)this.setCell(ae,ie)}else if(se){(ue=new Uint32Array(3*se)).set(this._data.subarray(0,3*se)),this._data=ue;var oe=Object.keys(this._combined);for(ae=0;ae<oe.length;ae++){var ne=parseInt(oe[ae],10);ne>=se&&delete this._combined[ne]}}else this._data=new Uint32Array(0),this._combined={};this.length=se}},re.prototype.fill=function(se){this._combined={},this._extendedAttrs={};for(var ie=0;ie<this.length;++ie)this.setCell(ie,se)},re.prototype.copyFrom=function(se){for(var ie in this.length!==se.length?this._data=new Uint32Array(se._data):this._data.set(se._data),this.length=se.length,this._combined={},se._combined)this._combined[ie]=se._combined[ie];for(var ie in this._extendedAttrs={},se._extendedAttrs)this._extendedAttrs[ie]=se._extendedAttrs[ie];this.isWrapped=se.isWrapped},re.prototype.clone=function(){var se=new re(0);for(var ie in se._data=new Uint32Array(this._data),se.length=this.length,this._combined)se._combined[ie]=this._combined[ie];for(var ie in this._extendedAttrs)se._extendedAttrs[ie]=this._extendedAttrs[ie];return se.isWrapped=this.isWrapped,se},re.prototype.getTrimmedLength=function(){for(var se=this.length-1;se>=0;--se)if(4194303&this._data[3*se+0])return se+(this._data[3*se+0]>>22);return 0},re.prototype.copyCellsFrom=function(se,ie,ue,ae,oe){var ne=se._data;if(oe)for(var ee=ae-1;ee>=0;ee--)for(var a=0;a<3;a++)this._data[3*(ue+ee)+a]=ne[3*(ie+ee)+a];else for(ee=0;ee<ae;ee++)for(a=0;a<3;a++)this._data[3*(ue+ee)+a]=ne[3*(ie+ee)+a];var y=Object.keys(se._combined);for(a=0;a<y.length;a++){var x=parseInt(y[a],10);x>=ie&&(this._combined[x-ie+ue]=se._combined[x])}},re.prototype.translateToString=function(se,ie,ue){se===void 0&&(se=!1),ie===void 0&&(ie=0),ue===void 0&&(ue=this.length),se&&(ue=Math.min(ue,this.getTrimmedLength()));for(var ae="";ie<ue;){var oe=this._data[3*ie+0],ne=2097151&oe;ae+=2097152&oe?this._combined[ie]:ne?xe.stringFromCodePoint(ne):E.WHITESPACE_CELL_CHAR,ie+=oe>>22||1}return ae},re}();de.BufferLine=le},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.removeElementFromParent=void 0,de.removeElementFromParent=function(){for(var xe,E=[],he=0;he<arguments.length;he++)E[he]=arguments[he];for(var fe=0,le=E;fe<le.length;fe++){var re=le[fe];(xe=re==null?void 0:re.parentElement)===null||xe===void 0||xe.removeChild(re)}}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.tooMuchOutput=de.promptLabel=void 0,de.promptLabel="Terminal input",de.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ge,me){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ve,pe){ve.__proto__=pe}||function(ve,pe){for(var be in pe)pe.hasOwnProperty(be)&&(ve[be]=pe[be])})(ge,me)},function(ge,me){function ve(){this.constructor=ge}xe(ge,me),ge.prototype=me===null?Object.create(me):(ve.prototype=me.prototype,new ve)});Object.defineProperty(de,"__esModule",{value:!0}),de.InputHandler=de.WindowsOptionsReportType=void 0;var he,fe=Se(12),le=Se(20),re=Se(39),se=Se(2),ie=Se(15),ue=Se(8),ae=Se(16),oe=Se(0),ne=Se(3),ee=Se(4),a=Se(6),y=Se(22),x=Se(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function z(ge,me){if(ge>24)return me.setWinLines||!1;switch(ge){case 1:return!!me.restoreWin;case 2:return!!me.minimizeWin;case 3:return!!me.setWinPosition;case 4:return!!me.setWinSizePixels;case 5:return!!me.raiseWin;case 6:return!!me.lowerWin;case 7:return!!me.refreshWin;case 8:return!!me.setWinSizeChars;case 9:return!!me.maximizeWin;case 10:return!!me.fullscreenWin;case 11:return!!me.getWinState;case 13:return!!me.getWinPosition;case 14:return!!me.getWinSizePixels;case 15:return!!me.getScreenSizePixels;case 16:return!!me.getCellSizePixels;case 18:return!!me.getWinSizeChars;case 19:return!!me.getScreenSizeChars;case 20:return!!me.getIconTitle;case 21:return!!me.getWinTitle;case 22:return!!me.pushTitle;case 23:return!!me.popTitle;case 24:return!!me.setWinLines}return!1}(function(ge){ge[ge.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",ge[ge.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(he=de.WindowsOptionsReportType||(de.WindowsOptionsReportType={}));var te=function(){function ge(me,ve,pe,be){this._bufferService=me,this._coreService=ve,this._logService=pe,this._optionsService=be,this._data=new Uint32Array(0)}return ge.prototype.hook=function(me){this._data=new Uint32Array(0)},ge.prototype.put=function(me,ve,pe){this._data=ie.concat(this._data,me.subarray(ve,pe))},ge.prototype.unhook=function(me){if(me){var ve=ue.utf32ToString(this._data);switch(this._data=new Uint32Array(0),ve){case'"q':return this._coreService.triggerDataEvent(fe.C0.ESC+'P1$r0"q'+fe.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(fe.C0.ESC+'P1$r61;1"p'+fe.C0.ESC+"\\");case"r":var pe=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(fe.C0.ESC+"P1$r"+pe+fe.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(fe.C0.ESC+"P1$r0m"+fe.C0.ESC+"\\");case" q":var be={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return be-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(fe.C0.ESC+"P1$r"+be+" q"+fe.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",ve),this._coreService.triggerDataEvent(fe.C0.ESC+"P0$r"+fe.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},ge}(),ce=function(ge){function me(ve,pe,be,ye,Ee,Pe,Ae,Ce,_e){_e===void 0&&(_e=new re.EscapeSequenceParser);var we=ge.call(this)||this;we._bufferService=ve,we._charsetService=pe,we._coreService=be,we._dirtyRowService=ye,we._logService=Ee,we._optionsService=Pe,we._coreMouseService=Ae,we._unicodeService=Ce,we._parser=_e,we._parseBuffer=new Uint32Array(4096),we._stringDecoder=new ue.StringToUtf32,we._utf8Decoder=new ue.Utf8ToUtf32,we._workCell=new ee.CellData,we._windowTitle="",we._iconName="",we._windowTitleStack=[],we._iconNameStack=[],we._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),we._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone(),we._onRequestBell=new oe.EventEmitter,we._onRequestRefreshRows=new oe.EventEmitter,we._onRequestReset=new oe.EventEmitter,we._onRequestScroll=new oe.EventEmitter,we._onRequestSyncScrollBar=new oe.EventEmitter,we._onRequestWindowsOptionsReport=new oe.EventEmitter,we._onA11yChar=new oe.EventEmitter,we._onA11yTab=new oe.EventEmitter,we._onCursorMove=new oe.EventEmitter,we._onLineFeed=new oe.EventEmitter,we._onScroll=new oe.EventEmitter,we._onTitleChange=new oe.EventEmitter,we.register(we._parser),we._parser.setCsiHandlerFallback(function(Ie,qe){we._logService.debug("Unknown CSI code: ",{identifier:we._parser.identToString(Ie),params:qe.toArray()})}),we._parser.setEscHandlerFallback(function(Ie){we._logService.debug("Unknown ESC code: ",{identifier:we._parser.identToString(Ie)})}),we._parser.setExecuteHandlerFallback(function(Ie){we._logService.debug("Unknown EXECUTE code: ",{code:Ie})}),we._parser.setOscHandlerFallback(function(Ie,qe,Je){we._logService.debug("Unknown OSC code: ",{identifier:Ie,action:qe,data:Je})}),we._parser.setDcsHandlerFallback(function(Ie,qe,Je){qe==="HOOK"&&(Je=Je.toArray()),we._logService.debug("Unknown DCS code: ",{identifier:we._parser.identToString(Ie),action:qe,payload:Je})}),we._parser.setPrintHandler(function(Ie,qe,Je){return we.print(Ie,qe,Je)}),we._parser.setCsiHandler({final:"@"},function(Ie){return we.insertChars(Ie)}),we._parser.setCsiHandler({intermediates:" ",final:"@"},function(Ie){return we.scrollLeft(Ie)}),we._parser.setCsiHandler({final:"A"},function(Ie){return we.cursorUp(Ie)}),we._parser.setCsiHandler({intermediates:" ",final:"A"},function(Ie){return we.scrollRight(Ie)}),we._parser.setCsiHandler({final:"B"},function(Ie){return we.cursorDown(Ie)}),we._parser.setCsiHandler({final:"C"},function(Ie){return we.cursorForward(Ie)}),we._parser.setCsiHandler({final:"D"},function(Ie){return we.cursorBackward(Ie)}),we._parser.setCsiHandler({final:"E"},function(Ie){return we.cursorNextLine(Ie)}),we._parser.setCsiHandler({final:"F"},function(Ie){return we.cursorPrecedingLine(Ie)}),we._parser.setCsiHandler({final:"G"},function(Ie){return we.cursorCharAbsolute(Ie)}),we._parser.setCsiHandler({final:"H"},function(Ie){return we.cursorPosition(Ie)}),we._parser.setCsiHandler({final:"I"},function(Ie){return we.cursorForwardTab(Ie)}),we._parser.setCsiHandler({final:"J"},function(Ie){return we.eraseInDisplay(Ie)}),we._parser.setCsiHandler({prefix:"?",final:"J"},function(Ie){return we.eraseInDisplay(Ie)}),we._parser.setCsiHandler({final:"K"},function(Ie){return we.eraseInLine(Ie)}),we._parser.setCsiHandler({prefix:"?",final:"K"},function(Ie){return we.eraseInLine(Ie)}),we._parser.setCsiHandler({final:"L"},function(Ie){return we.insertLines(Ie)}),we._parser.setCsiHandler({final:"M"},function(Ie){return we.deleteLines(Ie)}),we._parser.setCsiHandler({final:"P"},function(Ie){return we.deleteChars(Ie)}),we._parser.setCsiHandler({final:"S"},function(Ie){return we.scrollUp(Ie)}),we._parser.setCsiHandler({final:"T"},function(Ie){return we.scrollDown(Ie)}),we._parser.setCsiHandler({final:"X"},function(Ie){return we.eraseChars(Ie)}),we._parser.setCsiHandler({final:"Z"},function(Ie){return we.cursorBackwardTab(Ie)}),we._parser.setCsiHandler({final:"`"},function(Ie){return we.charPosAbsolute(Ie)}),we._parser.setCsiHandler({final:"a"},function(Ie){return we.hPositionRelative(Ie)}),we._parser.setCsiHandler({final:"b"},function(Ie){return we.repeatPrecedingCharacter(Ie)}),we._parser.setCsiHandler({final:"c"},function(Ie){return we.sendDeviceAttributesPrimary(Ie)}),we._parser.setCsiHandler({prefix:">",final:"c"},function(Ie){return we.sendDeviceAttributesSecondary(Ie)}),we._parser.setCsiHandler({final:"d"},function(Ie){return we.linePosAbsolute(Ie)}),we._parser.setCsiHandler({final:"e"},function(Ie){return we.vPositionRelative(Ie)}),we._parser.setCsiHandler({final:"f"},function(Ie){return we.hVPosition(Ie)}),we._parser.setCsiHandler({final:"g"},function(Ie){return we.tabClear(Ie)}),we._parser.setCsiHandler({final:"h"},function(Ie){return we.setMode(Ie)}),we._parser.setCsiHandler({prefix:"?",final:"h"},function(Ie){return we.setModePrivate(Ie)}),we._parser.setCsiHandler({final:"l"},function(Ie){return we.resetMode(Ie)}),we._parser.setCsiHandler({prefix:"?",final:"l"},function(Ie){return we.resetModePrivate(Ie)}),we._parser.setCsiHandler({final:"m"},function(Ie){return we.charAttributes(Ie)}),we._parser.setCsiHandler({final:"n"},function(Ie){return we.deviceStatus(Ie)}),we._parser.setCsiHandler({prefix:"?",final:"n"},function(Ie){return we.deviceStatusPrivate(Ie)}),we._parser.setCsiHandler({intermediates:"!",final:"p"},function(Ie){return we.softReset(Ie)}),we._parser.setCsiHandler({intermediates:" ",final:"q"},function(Ie){return we.setCursorStyle(Ie)}),we._parser.setCsiHandler({final:"r"},function(Ie){return we.setScrollRegion(Ie)}),we._parser.setCsiHandler({final:"s"},function(Ie){return we.saveCursor(Ie)}),we._parser.setCsiHandler({final:"t"},function(Ie){return we.windowOptions(Ie)}),we._parser.setCsiHandler({final:"u"},function(Ie){return we.restoreCursor(Ie)}),we._parser.setCsiHandler({intermediates:"'",final:"}"},function(Ie){return we.insertColumns(Ie)}),we._parser.setCsiHandler({intermediates:"'",final:"~"},function(Ie){return we.deleteColumns(Ie)}),we._parser.setExecuteHandler(fe.C0.BEL,function(){return we.bell()}),we._parser.setExecuteHandler(fe.C0.LF,function(){return we.lineFeed()}),we._parser.setExecuteHandler(fe.C0.VT,function(){return we.lineFeed()}),we._parser.setExecuteHandler(fe.C0.FF,function(){return we.lineFeed()}),we._parser.setExecuteHandler(fe.C0.CR,function(){return we.carriageReturn()}),we._parser.setExecuteHandler(fe.C0.BS,function(){return we.backspace()}),we._parser.setExecuteHandler(fe.C0.HT,function(){return we.tab()}),we._parser.setExecuteHandler(fe.C0.SO,function(){return we.shiftOut()}),we._parser.setExecuteHandler(fe.C0.SI,function(){return we.shiftIn()}),we._parser.setExecuteHandler(fe.C1.IND,function(){return we.index()}),we._parser.setExecuteHandler(fe.C1.NEL,function(){return we.nextLine()}),we._parser.setExecuteHandler(fe.C1.HTS,function(){return we.tabSet()}),we._parser.setOscHandler(0,new y.OscHandler(function(Ie){we.setTitle(Ie),we.setIconName(Ie)})),we._parser.setOscHandler(1,new y.OscHandler(function(Ie){return we.setIconName(Ie)})),we._parser.setOscHandler(2,new y.OscHandler(function(Ie){return we.setTitle(Ie)})),we._parser.setEscHandler({final:"7"},function(){return we.saveCursor()}),we._parser.setEscHandler({final:"8"},function(){return we.restoreCursor()}),we._parser.setEscHandler({final:"D"},function(){return we.index()}),we._parser.setEscHandler({final:"E"},function(){return we.nextLine()}),we._parser.setEscHandler({final:"H"},function(){return we.tabSet()}),we._parser.setEscHandler({final:"M"},function(){return we.reverseIndex()}),we._parser.setEscHandler({final:"="},function(){return we.keypadApplicationMode()}),we._parser.setEscHandler({final:">"},function(){return we.keypadNumericMode()}),we._parser.setEscHandler({final:"c"},function(){return we.fullReset()}),we._parser.setEscHandler({final:"n"},function(){return we.setgLevel(2)}),we._parser.setEscHandler({final:"o"},function(){return we.setgLevel(3)}),we._parser.setEscHandler({final:"|"},function(){return we.setgLevel(3)}),we._parser.setEscHandler({final:"}"},function(){return we.setgLevel(2)}),we._parser.setEscHandler({final:"~"},function(){return we.setgLevel(1)}),we._parser.setEscHandler({intermediates:"%",final:"@"},function(){return we.selectDefaultCharset()}),we._parser.setEscHandler({intermediates:"%",final:"G"},function(){return we.selectDefaultCharset()});var Re=function(Ie){De._parser.setEscHandler({intermediates:"(",final:Ie},function(){return we.selectCharset("("+Ie)}),De._parser.setEscHandler({intermediates:")",final:Ie},function(){return we.selectCharset(")"+Ie)}),De._parser.setEscHandler({intermediates:"*",final:Ie},function(){return we.selectCharset("*"+Ie)}),De._parser.setEscHandler({intermediates:"+",final:Ie},function(){return we.selectCharset("+"+Ie)}),De._parser.setEscHandler({intermediates:"-",final:Ie},function(){return we.selectCharset("-"+Ie)}),De._parser.setEscHandler({intermediates:".",final:Ie},function(){return we.selectCharset("."+Ie)}),De._parser.setEscHandler({intermediates:"/",final:Ie},function(){return we.selectCharset("/"+Ie)})},De=this;for(var ke in le.CHARSETS)Re(ke);return we._parser.setEscHandler({intermediates:"#",final:"8"},function(){return we.screenAlignmentPattern()}),we._parser.setErrorHandler(function(Ie){return we._logService.error("Parsing error: ",Ie),Ie}),we._parser.setDcsHandler({intermediates:"$",final:"q"},new te(we._bufferService,we._coreService,we._logService,we._optionsService)),we}return E(me,ge),Object.defineProperty(me.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),me.prototype.dispose=function(){ge.prototype.dispose.call(this)},me.prototype.parse=function(ve){var pe=this._bufferService.buffer,be=pe.x,ye=pe.y;if(this._logService.debug("parsing data",ve),this._parseBuffer.length<ve.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(ve.length,131072))),this._dirtyRowService.clearRange(),ve.length>131072)for(var Ee=0;Ee<ve.length;Ee+=131072){var Pe=Ee+131072<ve.length?Ee+131072:ve.length,Ae=typeof ve=="string"?this._stringDecoder.decode(ve.substring(Ee,Pe),this._parseBuffer):this._utf8Decoder.decode(ve.subarray(Ee,Pe),this._parseBuffer);this._parser.parse(this._parseBuffer,Ae)}else Ae=typeof ve=="string"?this._stringDecoder.decode(ve,this._parseBuffer):this._utf8Decoder.decode(ve,this._parseBuffer),this._parser.parse(this._parseBuffer,Ae);(pe=this._bufferService.buffer).x===be&&pe.y===ye||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},me.prototype.print=function(ve,pe,be){var ye,Ee,Pe=this._bufferService.buffer,Ae=this._charsetService.charset,Ce=this._optionsService.options.screenReaderMode,_e=this._bufferService.cols,we=this._coreService.decPrivateModes.wraparound,Re=this._coreService.modes.insertMode,De=this._curAttrData,ke=Pe.lines.get(Pe.ybase+Pe.y);this._dirtyRowService.markDirty(Pe.y),Pe.x&&be-pe>0&&ke.getWidth(Pe.x-1)===2&&ke.setCellFromCodePoint(Pe.x-1,0,1,De.fg,De.bg,De.extended);for(var Ie=pe;Ie<be;++Ie){if(ye=ve[Ie],Ee=this._unicodeService.wcwidth(ye),ye<127&&Ae){var qe=Ae[String.fromCharCode(ye)];qe&&(ye=qe.charCodeAt(0))}if(Ce&&this._onA11yChar.fire(ue.stringFromCodePoint(ye)),Ee||!Pe.x){if(Pe.x+Ee-1>=_e){if(we){for(;Pe.x<_e;)ke.setCellFromCodePoint(Pe.x++,0,1,De.fg,De.bg,De.extended);Pe.x=0,Pe.y++,Pe.y===Pe.scrollBottom+1?(Pe.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(Pe.y>=this._bufferService.rows&&(Pe.y=this._bufferService.rows-1),Pe.lines.get(Pe.ybase+Pe.y).isWrapped=!0),ke=Pe.lines.get(Pe.ybase+Pe.y)}else if(Pe.x=_e-1,Ee===2)continue}if(Re&&(ke.insertCells(Pe.x,Ee,Pe.getNullCell(De),De),ke.getWidth(_e-1)===2&&ke.setCellFromCodePoint(_e-1,ne.NULL_CELL_CODE,ne.NULL_CELL_WIDTH,De.fg,De.bg,De.extended)),ke.setCellFromCodePoint(Pe.x++,ye,Ee,De.fg,De.bg,De.extended),Ee>0)for(;--Ee;)ke.setCellFromCodePoint(Pe.x++,0,0,De.fg,De.bg,De.extended)}else ke.getWidth(Pe.x-1)?ke.addCodepointToCell(Pe.x-1,ye):ke.addCodepointToCell(Pe.x-2,ye)}be-pe>0&&(ke.loadCell(Pe.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),Pe.x<_e&&be-pe>0&&ke.getWidth(Pe.x)===0&&!ke.hasContent(Pe.x)&&ke.setCellFromCodePoint(Pe.x,0,1,De.fg,De.bg,De.extended),this._dirtyRowService.markDirty(Pe.y)},me.prototype.addCsiHandler=function(ve,pe){var be=this;return ve.final!=="t"||ve.prefix||ve.intermediates?this._parser.addCsiHandler(ve,pe):this._parser.addCsiHandler(ve,function(ye){return!z(ye.params[0],be._optionsService.options.windowOptions)||pe(ye)})},me.prototype.addDcsHandler=function(ve,pe){return this._parser.addDcsHandler(ve,new x.DcsHandler(pe))},me.prototype.addEscHandler=function(ve,pe){return this._parser.addEscHandler(ve,pe)},me.prototype.addOscHandler=function(ve,pe){return this._parser.addOscHandler(ve,new y.OscHandler(pe))},me.prototype.bell=function(){this._onRequestBell.fire()},me.prototype.lineFeed=function(){var ve=this._bufferService.buffer;this._dirtyRowService.markDirty(ve.y),this._optionsService.options.convertEol&&(ve.x=0),ve.y++,ve.y===ve.scrollBottom+1?(ve.y--,this._onRequestScroll.fire(this._eraseAttrData())):ve.y>=this._bufferService.rows&&(ve.y=this._bufferService.rows-1),ve.x>=this._bufferService.cols&&ve.x--,this._dirtyRowService.markDirty(ve.y),this._onLineFeed.fire()},me.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},me.prototype.backspace=function(){var ve,pe=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(pe.x>0&&pe.x--);if(this._restrictCursor(this._bufferService.cols),pe.x>0)pe.x--;else if(pe.x===0&&pe.y>pe.scrollTop&&pe.y<=pe.scrollBottom&&(!((ve=pe.lines.get(pe.ybase+pe.y))===null||ve===void 0)&&ve.isWrapped)){pe.lines.get(pe.ybase+pe.y).isWrapped=!1,pe.y--,pe.x=this._bufferService.cols-1;var be=pe.lines.get(pe.ybase+pe.y);be.hasWidth(pe.x)&&!be.hasContent(pe.x)&&pe.x--}this._restrictCursor()},me.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var ve=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-ve)}},me.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},me.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},me.prototype._restrictCursor=function(ve){ve===void 0&&(ve=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(ve,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)},me.prototype._setCursor=function(ve,pe){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=ve,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+pe):(this._bufferService.buffer.x=ve,this._bufferService.buffer.y=pe),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},me.prototype._moveCursor=function(ve,pe){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+ve,this._bufferService.buffer.y+pe)},me.prototype.cursorUp=function(ve){var pe=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;pe>=0?this._moveCursor(0,-Math.min(pe,ve.params[0]||1)):this._moveCursor(0,-(ve.params[0]||1))},me.prototype.cursorDown=function(ve){var pe=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;pe>=0?this._moveCursor(0,Math.min(pe,ve.params[0]||1)):this._moveCursor(0,ve.params[0]||1)},me.prototype.cursorForward=function(ve){this._moveCursor(ve.params[0]||1,0)},me.prototype.cursorBackward=function(ve){this._moveCursor(-(ve.params[0]||1),0)},me.prototype.cursorNextLine=function(ve){this.cursorDown(ve),this._bufferService.buffer.x=0},me.prototype.cursorPrecedingLine=function(ve){this.cursorUp(ve),this._bufferService.buffer.x=0},me.prototype.cursorCharAbsolute=function(ve){this._setCursor((ve.params[0]||1)-1,this._bufferService.buffer.y)},me.prototype.cursorPosition=function(ve){this._setCursor(ve.length>=2?(ve.params[1]||1)-1:0,(ve.params[0]||1)-1)},me.prototype.charPosAbsolute=function(ve){this._setCursor((ve.params[0]||1)-1,this._bufferService.buffer.y)},me.prototype.hPositionRelative=function(ve){this._moveCursor(ve.params[0]||1,0)},me.prototype.linePosAbsolute=function(ve){this._setCursor(this._bufferService.buffer.x,(ve.params[0]||1)-1)},me.prototype.vPositionRelative=function(ve){this._moveCursor(0,ve.params[0]||1)},me.prototype.hVPosition=function(ve){this.cursorPosition(ve)},me.prototype.tabClear=function(ve){var pe=ve.params[0];pe===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:pe===3&&(this._bufferService.buffer.tabs={})},me.prototype.cursorForwardTab=function(ve){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=ve.params[0]||1;pe--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},me.prototype.cursorBackwardTab=function(ve){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=ve.params[0]||1,be=this._bufferService.buffer;pe--;)be.x=be.prevStop()},me.prototype._eraseInBufferLine=function(ve,pe,be,ye){ye===void 0&&(ye=!1);var Ee=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+ve);Ee.replaceCells(pe,be,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ye&&(Ee.isWrapped=!1)},me.prototype._resetBufferLine=function(ve){var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+ve);pe.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),pe.isWrapped=!1},me.prototype.eraseInDisplay=function(ve){var pe;switch(this._restrictCursor(),ve.params[0]){case 0:for(pe=this._bufferService.buffer.y,this._dirtyRowService.markDirty(pe),this._eraseInBufferLine(pe++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);pe<this._bufferService.rows;pe++)this._resetBufferLine(pe);this._dirtyRowService.markDirty(pe);break;case 1:for(pe=this._bufferService.buffer.y,this._dirtyRowService.markDirty(pe),this._eraseInBufferLine(pe,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(pe+1).isWrapped=!1);pe--;)this._resetBufferLine(pe);this._dirtyRowService.markDirty(0);break;case 2:for(pe=this._bufferService.rows,this._dirtyRowService.markDirty(pe-1);pe--;)this._resetBufferLine(pe);this._dirtyRowService.markDirty(0);break;case 3:var be=this._bufferService.buffer.lines.length-this._bufferService.rows;be>0&&(this._bufferService.buffer.lines.trimStart(be),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-be,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-be,0),this._onScroll.fire(0))}},me.prototype.eraseInLine=function(ve){switch(this._restrictCursor(),ve.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)},me.prototype.insertLines=function(ve){this._restrictCursor();var pe=ve.params[0]||1,be=this._bufferService.buffer;if(!(be.y>be.scrollBottom||be.y<be.scrollTop)){for(var ye=be.ybase+be.y,Ee=this._bufferService.rows-1-be.scrollBottom,Pe=this._bufferService.rows-1+be.ybase-Ee+1;pe--;)be.lines.splice(Pe-1,1),be.lines.splice(ye,0,be.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(be.y,be.scrollBottom),be.x=0}},me.prototype.deleteLines=function(ve){this._restrictCursor();var pe=ve.params[0]||1,be=this._bufferService.buffer;if(!(be.y>be.scrollBottom||be.y<be.scrollTop)){var ye,Ee=be.ybase+be.y;for(ye=this._bufferService.rows-1-be.scrollBottom,ye=this._bufferService.rows-1+be.ybase-ye;pe--;)be.lines.splice(Ee,1),be.lines.splice(ye,0,be.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(be.y,be.scrollBottom),be.x=0}},me.prototype.insertChars=function(ve){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.insertCells(this._bufferService.buffer.x,ve.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},me.prototype.deleteChars=function(ve){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.deleteCells(this._bufferService.buffer.x,ve.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},me.prototype.scrollUp=function(ve){for(var pe=ve.params[0]||1,be=this._bufferService.buffer;pe--;)be.lines.splice(be.ybase+be.scrollTop,1),be.lines.splice(be.ybase+be.scrollBottom,0,be.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(be.scrollTop,be.scrollBottom)},me.prototype.scrollDown=function(ve){for(var pe=ve.params[0]||1,be=this._bufferService.buffer;pe--;)be.lines.splice(be.ybase+be.scrollBottom,1),be.lines.splice(be.ybase+be.scrollTop,0,be.getBlankLine(ae.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(be.scrollTop,be.scrollBottom)},me.prototype.scrollLeft=function(ve){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var be=ve.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Ee=pe.lines.get(pe.ybase+ye);Ee.deleteCells(0,be,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Ee.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},me.prototype.scrollRight=function(ve){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var be=ve.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Ee=pe.lines.get(pe.ybase+ye);Ee.insertCells(0,be,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Ee.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},me.prototype.insertColumns=function(ve){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var be=ve.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Ee=this._bufferService.buffer.lines.get(pe.ybase+ye);Ee.insertCells(pe.x,be,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Ee.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},me.prototype.deleteColumns=function(ve){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var be=ve.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Ee=pe.lines.get(pe.ybase+ye);Ee.deleteCells(pe.x,be,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Ee.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},me.prototype.eraseChars=function(ve){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(ve.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},me.prototype.repeatPrecedingCharacter=function(ve){if(this._parser.precedingCodepoint){for(var pe=ve.params[0]||1,be=new Uint32Array(pe),ye=0;ye<pe;++ye)be[ye]=this._parser.precedingCodepoint;this.print(be,0,be.length)}},me.prototype.sendDeviceAttributesPrimary=function(ve){ve.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(fe.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(fe.C0.ESC+"[?6c"))},me.prototype.sendDeviceAttributesSecondary=function(ve){ve.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(fe.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(fe.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(ve.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(fe.C0.ESC+"[>83;40003;0c"))},me.prototype._is=function(ve){return(this._optionsService.options.termName+"").indexOf(ve)===0},me.prototype.setMode=function(ve){for(var pe=0;pe<ve.length;pe++)switch(ve.params[pe]){case 4:this._coreService.modes.insertMode=!0}},me.prototype.setModePrivate=function(ve){for(var pe=0;pe<ve.length;pe++)switch(ve.params[pe]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,le.DEFAULT_CHARSET),this._charsetService.setgCharset(1,le.DEFAULT_CHARSET),this._charsetService.setgCharset(2,le.DEFAULT_CHARSET),this._charsetService.setgCharset(3,le.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}},me.prototype.resetMode=function(ve){for(var pe=0;pe<ve.length;pe++)switch(ve.params[pe]){case 4:this._coreService.modes.insertMode=!1}},me.prototype.resetModePrivate=function(ve){for(var pe=0;pe<ve.length;pe++)switch(ve.params[pe]){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(),ve.params[pe]===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}},me.prototype._updateAttrColor=function(ve,pe,be,ye,Ee){return pe===2?(ve|=50331648,ve&=-16777216,ve|=a.AttributeData.fromColorRGB([be,ye,Ee])):pe===5&&(ve&=-50331904,ve|=33554432|255&be),ve},me.prototype._extractColor=function(ve,pe,be){var ye=[0,0,-1,0,0,0],Ee=0,Pe=0;do{if(ye[Pe+Ee]=ve.params[pe+Pe],ve.hasSubParams(pe+Pe)){var Ae=ve.getSubParams(pe+Pe),Ce=0;do ye[1]===5&&(Ee=1),ye[Pe+Ce+1+Ee]=Ae[Ce];while(++Ce<Ae.length&&Ce+Pe+1+Ee<ye.length);break}if(ye[1]===5&&Pe+Ee>=2||ye[1]===2&&Pe+Ee>=5)break;ye[1]&&(Ee=1)}while(++Pe+pe<ve.length&&Pe+Ee<ye.length);for(Ce=2;Ce<ye.length;++Ce)ye[Ce]===-1&&(ye[Ce]=0);switch(ye[0]){case 38:be.fg=this._updateAttrColor(be.fg,ye[1],ye[3],ye[4],ye[5]);break;case 48:be.bg=this._updateAttrColor(be.bg,ye[1],ye[3],ye[4],ye[5]);break;case 58:be.extended=be.extended.clone(),be.extended.underlineColor=this._updateAttrColor(be.extended.underlineColor,ye[1],ye[3],ye[4],ye[5])}return Pe},me.prototype._processUnderline=function(ve,pe){pe.extended=pe.extended.clone(),(!~ve||ve>5)&&(ve=1),pe.extended.underlineStyle=ve,pe.fg|=268435456,ve===0&&(pe.fg&=-268435457),pe.updateExtended()},me.prototype.charAttributes=function(ve){if(ve.length===1&&ve.params[0]===0)return this._curAttrData.fg=ae.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=ae.DEFAULT_ATTR_DATA.bg);for(var pe,be=ve.length,ye=this._curAttrData,Ee=0;Ee<be;Ee++)(pe=ve.params[Ee])>=30&&pe<=37?(ye.fg&=-50331904,ye.fg|=16777216|pe-30):pe>=40&&pe<=47?(ye.bg&=-50331904,ye.bg|=16777216|pe-40):pe>=90&&pe<=97?(ye.fg&=-50331904,ye.fg|=16777224|pe-90):pe>=100&&pe<=107?(ye.bg&=-50331904,ye.bg|=16777224|pe-100):pe===0?(ye.fg=ae.DEFAULT_ATTR_DATA.fg,ye.bg=ae.DEFAULT_ATTR_DATA.bg):pe===1?ye.fg|=134217728:pe===3?ye.bg|=67108864:pe===4?(ye.fg|=268435456,this._processUnderline(ve.hasSubParams(Ee)?ve.getSubParams(Ee)[0]:1,ye)):pe===5?ye.fg|=536870912:pe===7?ye.fg|=67108864:pe===8?ye.fg|=1073741824:pe===2?ye.bg|=134217728:pe===21?this._processUnderline(2,ye):pe===22?(ye.fg&=-134217729,ye.bg&=-134217729):pe===23?ye.bg&=-67108865:pe===24?ye.fg&=-268435457:pe===25?ye.fg&=-536870913:pe===27?ye.fg&=-67108865:pe===28?ye.fg&=-1073741825:pe===39?(ye.fg&=-67108864,ye.fg|=16777215&ae.DEFAULT_ATTR_DATA.fg):pe===49?(ye.bg&=-67108864,ye.bg|=16777215&ae.DEFAULT_ATTR_DATA.bg):pe===38||pe===48||pe===58?Ee+=this._extractColor(ve,Ee,ye):pe===59?(ye.extended=ye.extended.clone(),ye.extended.underlineColor=-1,ye.updateExtended()):pe===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.",pe)},me.prototype.deviceStatus=function(ve){switch(ve.params[0]){case 5:this._coreService.triggerDataEvent(fe.C0.ESC+"[0n");break;case 6:var pe=this._bufferService.buffer.y+1,be=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(fe.C0.ESC+"["+pe+";"+be+"R")}},me.prototype.deviceStatusPrivate=function(ve){switch(ve.params[0]){case 6:var pe=this._bufferService.buffer.y+1,be=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(fe.C0.ESC+"[?"+pe+";"+be+"R")}},me.prototype.softReset=function(ve){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},me.prototype.setCursorStyle=function(ve){var pe=ve.params[0]||1;switch(pe){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 be=pe%2==1;this._optionsService.options.cursorBlink=be},me.prototype.setScrollRegion=function(ve){var pe,be=ve.params[0]||1;(ve.length<2||(pe=ve.params[1])>this._bufferService.rows||pe===0)&&(pe=this._bufferService.rows),pe>be&&(this._bufferService.buffer.scrollTop=be-1,this._bufferService.buffer.scrollBottom=pe-1,this._setCursor(0,0))},me.prototype.windowOptions=function(ve){if(z(ve.params[0],this._optionsService.options.windowOptions)){var pe=ve.length>1?ve.params[1]:0;switch(ve.params[0]){case 14:pe!==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(fe.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:pe!==0&&pe!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),pe!==0&&pe!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:pe!==0&&pe!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),pe!==0&&pe!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},me.prototype.saveCursor=function(ve){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},me.prototype.restoreCursor=function(ve){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()},me.prototype.setTitle=function(ve){this._windowTitle=ve,this._onTitleChange.fire(ve)},me.prototype.setIconName=function(ve){this._iconName=ve},me.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},me.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},me.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},me.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,le.DEFAULT_CHARSET)},me.prototype.selectCharset=function(ve){ve.length===2?ve[0]!=="/"&&this._charsetService.setgCharset(b[ve[0]],le.CHARSETS[ve[1]]||le.DEFAULT_CHARSET):this.selectDefaultCharset()},me.prototype.index=function(){this._restrictCursor();var ve=this._bufferService.buffer;this._bufferService.buffer.y++,ve.y===ve.scrollBottom+1?(ve.y--,this._onRequestScroll.fire(this._eraseAttrData())):ve.y>=this._bufferService.rows&&(ve.y=this._bufferService.rows-1),this._restrictCursor()},me.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},me.prototype.reverseIndex=function(){this._restrictCursor();var ve=this._bufferService.buffer;if(ve.y===ve.scrollTop){var pe=ve.scrollBottom-ve.scrollTop;ve.lines.shiftElements(ve.ybase+ve.y,pe,1),ve.lines.set(ve.ybase+ve.y,ve.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(ve.scrollTop,ve.scrollBottom)}else ve.y--,this._restrictCursor()},me.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},me.prototype.reset=function(){this._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone()},me.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},me.prototype.setgLevel=function(ve){this._charsetService.setgLevel(ve)},me.prototype.screenAlignmentPattern=function(){var ve=new ee.CellData;ve.content=1<<22|69,ve.fg=this._curAttrData.fg,ve.bg=this._curAttrData.bg;var pe=this._bufferService.buffer;this._setCursor(0,0);for(var be=0;be<this._bufferService.rows;++be){var ye=pe.ybase+pe.y+be,Ee=pe.lines.get(ye);Ee&&(Ee.fill(ve),Ee.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},me}(se.Disposable);de.InputHandler=ce},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.DEFAULT_CHARSET=de.CHARSETS=void 0,de.CHARSETS={},de.DEFAULT_CHARSET=de.CHARSETS.B,de.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"},de.CHARSETS.A={"#":"\xA3"},de.CHARSETS.B=void 0,de.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},de.CHARSETS.C=de.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},de.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},de.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},de.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},de.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},de.CHARSETS.E=de.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},de.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},de.CHARSETS.H=de.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},de.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.Params=void 0;var xe=function(){function E(he,fe){if(he===void 0&&(he=32),fe===void 0&&(fe=32),this.maxLength=he,this.maxSubParamsLength=fe,fe>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(he),this.length=0,this._subParams=new Int32Array(fe),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(he),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(he){var fe=new E;if(!he.length)return fe;for(var le=he[0]instanceof Array?1:0;le<he.length;++le){var re=he[le];if(re instanceof Array)for(var se=0;se<re.length;++se)fe.addSubParam(re[se]);else fe.addParam(re)}return fe},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=[],fe=0;fe<this.length;++fe){he.push(this.params[fe]);var le=this._subParamsIdx[fe]>>8,re=255&this._subParamsIdx[fe];re-le>0&&he.push(Array.prototype.slice.call(this._subParams,le,re))}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 fe=this._subParamsIdx[he]>>8,le=255&this._subParamsIdx[he];return le-fe>0?this._subParams.subarray(fe,le):null},E.prototype.getSubParamsAll=function(){for(var he={},fe=0;fe<this.length;++fe){var le=this._subParamsIdx[fe]>>8,re=255&this._subParamsIdx[fe];re-le>0&&(he[fe]=this._subParams.slice(le,re))}return he},E.prototype.addDigit=function(he){var fe;if(!(this._rejectDigits||!(fe=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var le=this._digitIsSub?this._subParams:this.params,re=le[fe-1];le[fe-1]=~re?Math.min(10*re+he,2147483647):he}},E}();de.Params=xe},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.OscHandler=de.OscParser=void 0;var xe=Se(23),E=Se(8),he=function(){function le(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return le.prototype.addHandler=function(re,se){this._handlers[re]===void 0&&(this._handlers[re]=[]);var ie=this._handlers[re];return ie.push(se),{dispose:function(){var ue=ie.indexOf(se);ue!==-1&&ie.splice(ue,1)}}},le.prototype.setHandler=function(re,se){this._handlers[re]=[se]},le.prototype.clearHandler=function(re){this._handlers[re]&&delete this._handlers[re]},le.prototype.setHandlerFallback=function(re){this._handlerFb=re},le.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},le.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},le.prototype._start=function(){var re=this._handlers[this._id];if(re)for(var se=re.length-1;se>=0;se--)re[se].start();else this._handlerFb(this._id,"START")},le.prototype._put=function(re,se,ie){var ue=this._handlers[this._id];if(ue)for(var ae=ue.length-1;ae>=0;ae--)ue[ae].put(re,se,ie);else this._handlerFb(this._id,"PUT",E.utf32ToString(re,se,ie))},le.prototype._end=function(re){var se=this._handlers[this._id];if(se){for(var ie=se.length-1;ie>=0&&se[ie].end(re)===!1;ie--);for(ie--;ie>=0;ie--)se[ie].end(!1)}else this._handlerFb(this._id,"END",re)},le.prototype.start=function(){this.reset(),this._id=-1,this._state=1},le.prototype.put=function(re,se,ie){if(this._state!==3){if(this._state===1)for(;se<ie;){var ue=re[se++];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&&ie-se>0&&this._put(re,se,ie)}},le.prototype.end=function(re){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(re)),this._id=-1,this._state=0)},le}();de.OscParser=he;var fe=function(){function le(re){this._handler=re,this._data="",this._hitLimit=!1}return le.prototype.start=function(){this._data="",this._hitLimit=!1},le.prototype.put=function(re,se,ie){this._hitLimit||(this._data+=E.utf32ToString(re,se,ie),this._data.length>xe.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},le.prototype.end=function(re){var se;return this._hitLimit?se=!1:re&&(se=this._handler(this._data)),this._data="",this._hitLimit=!1,se},le}();de.OscHandler=fe},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.PAYLOAD_LIMIT=void 0,de.PAYLOAD_LIMIT=1e7},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.DcsHandler=de.DcsParser=void 0;var xe=Se(8),E=Se(21),he=Se(23),fe=[],le=function(){function se(){this._handlers=Object.create(null),this._active=fe,this._ident=0,this._handlerFb=function(){}}return se.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},se.prototype.addHandler=function(ie,ue){this._handlers[ie]===void 0&&(this._handlers[ie]=[]);var ae=this._handlers[ie];return ae.push(ue),{dispose:function(){var oe=ae.indexOf(ue);oe!==-1&&ae.splice(oe,1)}}},se.prototype.setHandler=function(ie,ue){this._handlers[ie]=[ue]},se.prototype.clearHandler=function(ie){this._handlers[ie]&&delete this._handlers[ie]},se.prototype.setHandlerFallback=function(ie){this._handlerFb=ie},se.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=fe,this._ident=0},se.prototype.hook=function(ie,ue){if(this.reset(),this._ident=ie,this._active=this._handlers[ie]||fe,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)},se.prototype.put=function(ie,ue,ae){if(this._active.length)for(var oe=this._active.length-1;oe>=0;oe--)this._active[oe].put(ie,ue,ae);else this._handlerFb(this._ident,"PUT",xe.utf32ToString(ie,ue,ae))},se.prototype.unhook=function(ie){if(this._active.length){for(var ue=this._active.length-1;ue>=0&&this._active[ue].unhook(ie)===!1;ue--);for(ue--;ue>=0;ue--)this._active[ue].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",ie);this._active=fe,this._ident=0},se}();de.DcsParser=le;var re=function(){function se(ie){this._handler=ie,this._data="",this._hitLimit=!1}return se.prototype.hook=function(ie){this._params=ie.clone(),this._data="",this._hitLimit=!1},se.prototype.put=function(ie,ue,ae){this._hitLimit||(this._data+=xe.utf32ToString(ie,ue,ae),this._data.length>he.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},se.prototype.unhook=function(ie){var ue;return this._hitLimit?ue=!1:ie&&(ue=this._handler(this._data,this._params||new E.Params)),this._params=void 0,this._data="",this._hitLimit=!1,ue},se}();de.DcsHandler=re},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.removeTerminalFromCache=de.acquireCharAtlas=void 0;var xe=Se(26),E=Se(43),he=[];de.acquireCharAtlas=function(fe,le,re,se,ie){for(var ue=xe.generateConfig(se,ie,fe,re),ae=0;ae<he.length;ae++){var oe=(ne=he[ae]).ownedBy.indexOf(le);if(oe>=0){if(xe.configEquals(ne.config,ue))return ne.atlas;ne.ownedBy.length===1?(ne.atlas.dispose(),he.splice(ae,1)):ne.ownedBy.splice(oe,1);break}}for(ae=0;ae<he.length;ae++){var ne=he[ae];if(xe.configEquals(ne.config,ue))return ne.ownedBy.push(le),ne.atlas}var ee={atlas:new E.DynamicCharAtlas(document,ue),config:ue,ownedBy:[le]};return he.push(ee),ee.atlas},de.removeTerminalFromCache=function(fe){for(var le=0;le<he.length;le++){var re=he[le].ownedBy.indexOf(fe);if(re!==-1){he[le].ownedBy.length===1?(he[le].atlas.dispose(),he.splice(le,1)):he[le].ownedBy.splice(re,1);break}}}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.is256Color=de.configEquals=de.generateConfig=void 0;var xe=Se(3);de.generateConfig=function(E,he,fe,le){var re={foreground:le.foreground,background:le.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:le.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:E,scaledCharHeight:he,fontFamily:fe.fontFamily,fontSize:fe.fontSize,fontWeight:fe.fontWeight,fontWeightBold:fe.fontWeightBold,allowTransparency:fe.allowTransparency,colors:re}},de.configEquals=function(E,he){for(var fe=0;fe<E.colors.ansi.length;fe++)if(E.colors.ansi[fe].rgba!==he.colors.ansi[fe].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},de.is256Color=function(E){return E<xe.DEFAULT_COLOR}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.ColorManager=de.DEFAULT_ANSI_COLORS=void 0;var xe=Se(10),E=Se(45),he=xe.css.toColor("#ffffff"),fe=xe.css.toColor("#000000"),le=xe.css.toColor("#ffffff"),re=xe.css.toColor("#000000"),se={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};de.DEFAULT_ANSI_COLORS=function(){for(var ue=[xe.css.toColor("#2e3436"),xe.css.toColor("#cc0000"),xe.css.toColor("#4e9a06"),xe.css.toColor("#c4a000"),xe.css.toColor("#3465a4"),xe.css.toColor("#75507b"),xe.css.toColor("#06989a"),xe.css.toColor("#d3d7cf"),xe.css.toColor("#555753"),xe.css.toColor("#ef2929"),xe.css.toColor("#8ae234"),xe.css.toColor("#fce94f"),xe.css.toColor("#729fcf"),xe.css.toColor("#ad7fa8"),xe.css.toColor("#34e2e2"),xe.css.toColor("#eeeeec")],ae=[0,95,135,175,215,255],oe=0;oe<216;oe++){var ne=ae[oe/36%6|0],ee=ae[oe/6%6|0],a=ae[oe%6];ue.push({css:xe.channels.toCss(ne,ee,a),rgba:xe.channels.toRgba(ne,ee,a)})}for(oe=0;oe<24;oe++){var y=8+10*oe;ue.push({css:xe.channels.toCss(y,y,y),rgba:xe.channels.toRgba(y,y,y)})}return ue}();var ie=function(){function ue(ae,oe){this.allowTransparency=oe;var ne=ae.createElement("canvas");ne.width=1,ne.height=1;var ee=ne.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:fe,cursor:le,cursorAccent:re,selectionTransparent:se,selectionOpaque:xe.color.blend(fe,se),ansi:de.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,fe),this.colors.cursor=this._parseColor(ae.cursor,le,!0),this.colors.cursorAccent=this._parseColor(ae.cursorAccent,re,!0),this.colors.selectionTransparent=this._parseColor(ae.selection,se,!0),this.colors.selectionOpaque=xe.color.blend(this.colors.background,this.colors.selectionTransparent),xe.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=xe.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(ae.black,de.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(ae.red,de.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(ae.green,de.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(ae.yellow,de.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(ae.blue,de.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(ae.magenta,de.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(ae.cyan,de.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(ae.white,de.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(ae.brightBlack,de.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(ae.brightRed,de.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(ae.brightGreen,de.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(ae.brightYellow,de.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(ae.brightBlue,de.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(ae.brightMagenta,de.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(ae.brightCyan,de.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(ae.brightWhite,de.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},ue.prototype._parseColor=function(ae,oe,ne){if(ne===void 0&&(ne=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(!ne)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(ce){return Number(ce)}),y=a[0],x=a[1],b=a[2],z=a[3],te=Math.round(255*z);return{rgba:xe.channels.toRgba(y,x,b,te),css:ae}}return{css:this._ctx.fillStyle,rgba:xe.channels.toRgba(ee[0],ee[1],ee[2],ee[3])}},ue}();de.ColorManager=ie},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.throwIfFalsy=void 0,de.throwIfFalsy=function(xe){if(!xe)throw new Error("value must not be falsy");return xe}},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ie,ue){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,oe){ae.__proto__=oe}||function(ae,oe){for(var ne in oe)oe.hasOwnProperty(ne)&&(ae[ne]=oe[ne])})(ie,ue)},function(ie,ue){function ae(){this.constructor=ie}xe(ie,ue),ie.prototype=ue===null?Object.create(ue):(ae.prototype=ue.prototype,new ae)});Object.defineProperty(de,"__esModule",{value:!0}),de.CharacterJoinerRegistry=de.JoinedCellData=void 0;var he=Se(6),fe=Se(3),le=Se(4),re=function(ie){function ue(ae,oe,ne){var ee=ie.call(this)||this;return ee.content=0,ee.combinedData="",ee.fg=ae.fg,ee.bg=ae.bg,ee.combinedData=oe,ee._width=ne,ee}return E(ue,ie),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);de.JoinedCellData=re;var se=function(){function ie(ue){this._bufferService=ue,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new le.CellData}return ie.prototype.registerCharacterJoiner=function(ue){var ae={id:this._nextCharacterJoinerId++,handler:ue};return this._characterJoiners.push(ae),ae.id},ie.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},ie.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=[],ne=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(ne,y,a,ae,ee),ce=0;ce<te.length;ce++)oe.push(te[ce]);ee=z,y=a,x=this._workCell.fg,b=this._workCell.bg}a+=this._workCell.getChars().length||fe.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-ee>1)for(te=this._getJoinedRanges(ne,y,a,ae,ee),ce=0;ce<te.length;ce++)oe.push(te[ce]);return oe},ie.prototype._getJoinedRanges=function(ue,ae,oe,ne,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++)ie._mergeRanges(y,b[z]);return this._stringRangesToCellRanges(y,ne,ee),y},ie.prototype._stringRangesToCellRanges=function(ue,ae,oe){var ne=0,ee=!1,a=0,y=ue[ne];if(y){for(var x=oe;x<this._bufferService.cols;x++){var b=ae.getWidth(x),z=ae.getString(x).length||fe.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[++ne]))break;y[0]<=a?(y[0]=x,ee=!0):ee=!1}a+=z}}y&&(y[1]=this._bufferService.cols)}},ie._mergeRanges=function(ue,ae){for(var oe=!1,ne=0;ne<ue.length;ne++){var ee=ue[ne];if(oe){if(ae[1]<=ee[0])return ue[ne-1][1]=ae[1],ue;if(ae[1]<=ee[1])return ue[ne-1][1]=Math.max(ae[1],ee[1]),ue.splice(ne,1),ue;ue.splice(ne,1),ne--}else{if(ae[1]<=ee[0])return ue.splice(ne,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},ie}();de.CharacterJoinerRegistry=se},function(gt,de,Se){"use strict";function xe(E,he){var fe=he.getBoundingClientRect();return[E.clientX-fe.left,E.clientY-fe.top]}Object.defineProperty(de,"__esModule",{value:!0}),de.getRawByteCoords=de.getCoords=de.getCoordsRelativeToElement=void 0,de.getCoordsRelativeToElement=xe,de.getCoords=function(E,he,fe,le,re,se,ie,ue){if(re){var ae=xe(E,he);if(ae)return ae[0]=Math.ceil((ae[0]+(ue?se/2:0))/se),ae[1]=Math.ceil(ae[1]/ie),ae[0]=Math.min(Math.max(ae[0],1),fe+(ue?1:0)),ae[1]=Math.min(Math.max(ae[1],1),le),ae}},de.getRawByteCoords=function(E){if(E)return{x:E[0]+32,y:E[1]+32}}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.RenderDebouncer=void 0;var xe=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,fe,le){var re=this;this._rowCount=le,he=he!==void 0?he:0,fe=fe!==void 0?fe: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,fe):fe,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return re._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),fe=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(he,fe)}},E}();de.RenderDebouncer=xe},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(fe,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,se){re.__proto__=se}||function(re,se){for(var ie in se)se.hasOwnProperty(ie)&&(re[ie]=se[ie])})(fe,le)},function(fe,le){function re(){this.constructor=fe}xe(fe,le),fe.prototype=le===null?Object.create(le):(re.prototype=le.prototype,new re)});Object.defineProperty(de,"__esModule",{value:!0}),de.ScreenDprMonitor=void 0;var he=function(fe){function le(){var re=fe!==null&&fe.apply(this,arguments)||this;return re._currentDevicePixelRatio=window.devicePixelRatio,re}return E(le,fe),le.prototype.setListener=function(re){var se=this;this._listener&&this.clearListener(),this._listener=re,this._outerListener=function(){se._listener&&(se._listener(window.devicePixelRatio,se._currentDevicePixelRatio),se._updateDpr())},this._updateDpr()},le.prototype.dispose=function(){fe.prototype.dispose.call(this),this.clearListener()},le.prototype._updateDpr=function(){var re;this._outerListener&&((re=this._resolutionMediaMatchList)===null||re===void 0||re.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},le.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)},le}(Se(2).Disposable);de.ScreenDprMonitor=he},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.clone=void 0,de.clone=function xe(E,he){if(he===void 0&&(he=5),typeof E!="object")return E;var fe=Array.isArray(E)?[]:{};for(var le in E)fe[le]=he<=1?E[le]:E[le]?xe(E[le],he-1):E[le];return fe}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.Terminal=void 0;var xe=Se(4),E=Se(35),he=Se(18),fe=Se(0),le=Se(83),re=function(){function ne(ee){this._core=new E.Terminal(ee),this._addonManager=new le.AddonManager}return ne.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(ne.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new ae(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"unicode",{get:function(){return this._checkProposedApi(),new oe(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"buffer",{get:function(){return this._checkProposedApi(),new ie(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),ne.prototype.blur=function(){this._core.blur()},ne.prototype.focus=function(){this._core.focus()},ne.prototype.resize=function(ee,a){this._verifyIntegers(ee,a),this._core.resize(ee,a)},ne.prototype.open=function(ee){this._core.open(ee)},ne.prototype.attachCustomKeyEventHandler=function(ee){this._core.attachCustomKeyEventHandler(ee)},ne.prototype.registerLinkMatcher=function(ee,a,y){return this._checkProposedApi(),this._core.registerLinkMatcher(ee,a,y)},ne.prototype.deregisterLinkMatcher=function(ee){this._checkProposedApi(),this._core.deregisterLinkMatcher(ee)},ne.prototype.registerLinkProvider=function(ee){return this._checkProposedApi(),this._core.registerLinkProvider(ee)},ne.prototype.registerCharacterJoiner=function(ee){return this._checkProposedApi(),this._core.registerCharacterJoiner(ee)},ne.prototype.deregisterCharacterJoiner=function(ee){this._checkProposedApi(),this._core.deregisterCharacterJoiner(ee)},ne.prototype.registerMarker=function(ee){return this._checkProposedApi(),this._verifyIntegers(ee),this._core.addMarker(ee)},ne.prototype.addMarker=function(ee){return this.registerMarker(ee)},ne.prototype.hasSelection=function(){return this._core.hasSelection()},ne.prototype.select=function(ee,a,y){this._verifyIntegers(ee,a,y),this._core.select(ee,a,y)},ne.prototype.getSelection=function(){return this._core.getSelection()},ne.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},ne.prototype.clearSelection=function(){this._core.clearSelection()},ne.prototype.selectAll=function(){this._core.selectAll()},ne.prototype.selectLines=function(ee,a){this._verifyIntegers(ee,a),this._core.selectLines(ee,a)},ne.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},ne.prototype.scrollLines=function(ee){this._verifyIntegers(ee),this._core.scrollLines(ee)},ne.prototype.scrollPages=function(ee){this._verifyIntegers(ee),this._core.scrollPages(ee)},ne.prototype.scrollToTop=function(){this._core.scrollToTop()},ne.prototype.scrollToBottom=function(){this._core.scrollToBottom()},ne.prototype.scrollToLine=function(ee){this._verifyIntegers(ee),this._core.scrollToLine(ee)},ne.prototype.clear=function(){this._core.clear()},ne.prototype.write=function(ee,a){this._core.write(ee,a)},ne.prototype.writeUtf8=function(ee,a){this._core.write(ee,a)},ne.prototype.writeln=function(ee,a){this._core.write(ee),this._core.write(`\r
`,a)},ne.prototype.paste=function(ee){this._core.paste(ee)},ne.prototype.getOption=function(ee){return this._core.optionsService.getOption(ee)},ne.prototype.setOption=function(ee,a){this._core.optionsService.setOption(ee,a)},ne.prototype.refresh=function(ee,a){this._verifyIntegers(ee,a),this._core.refresh(ee,a)},ne.prototype.reset=function(){this._core.reset()},ne.prototype.loadAddon=function(ee){return this._addonManager.loadAddon(this,ee)},Object.defineProperty(ne,"strings",{get:function(){return he},enumerable:!1,configurable:!0}),ne.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")}},ne}();de.Terminal=re;var se=function(){function ne(ee,a){this._buffer=ee,this.type=a}return ne.prototype.init=function(ee){return this._buffer=ee,this},Object.defineProperty(ne.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),ne.prototype.getLine=function(ee){var a=this._buffer.lines.get(ee);if(a)return new ue(a)},ne.prototype.getNullCell=function(){return new xe.CellData},ne}(),ie=function(){function ne(ee){var a=this;this._buffers=ee,this._onBufferChange=new fe.EventEmitter,this._normal=new se(this._buffers.normal,"normal"),this._alternate=new se(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return a._onBufferChange.fire(a.active)})}return Object.defineProperty(ne.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ne.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(ne.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),ne}(),ue=function(){function ne(ee){this._line=ee}return Object.defineProperty(ne.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),ne.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 xe.CellData)},ne.prototype.translateToString=function(ee,a,y){return this._line.translateToString(ee,a,y)},ne}(),ae=function(){function ne(ee){this._core=ee}return ne.prototype.registerCsiHandler=function(ee,a){return this._core.addCsiHandler(ee,function(y){return a(y.toArray())})},ne.prototype.addCsiHandler=function(ee,a){return this.registerCsiHandler(ee,a)},ne.prototype.registerDcsHandler=function(ee,a){return this._core.addDcsHandler(ee,function(y,x){return a(y,x.toArray())})},ne.prototype.addDcsHandler=function(ee,a){return this.registerDcsHandler(ee,a)},ne.prototype.registerEscHandler=function(ee,a){return this._core.addEscHandler(ee,a)},ne.prototype.addEscHandler=function(ee,a){return this.registerEscHandler(ee,a)},ne.prototype.registerOscHandler=function(ee,a){return this._core.addOscHandler(ee,a)},ne.prototype.addOscHandler=function(ee,a){return this.registerOscHandler(ee,a)},ne}(),oe=function(){function ne(ee){this._core=ee}return ne.prototype.register=function(ee){this._core.unicodeService.register(ee)},Object.defineProperty(ne.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(ee){this._core.unicodeService.activeVersion=ee},enumerable:!1,configurable:!0}),ne}()},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(_e,we){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Re,De){Re.__proto__=De}||function(Re,De){for(var ke in De)De.hasOwnProperty(ke)&&(Re[ke]=De[ke])})(_e,we)},function(_e,we){function Re(){this.constructor=_e}xe(_e,we),_e.prototype=we===null?Object.create(we):(Re.prototype=we.prototype,new Re)});Object.defineProperty(de,"__esModule",{value:!0}),de.Terminal=void 0;var he=Se(36),fe=Se(37),le=Se(38),re=Se(12),se=Se(19),ie=Se(40),ue=Se(50),ae=Se(51),oe=Se(11),ne=Se(7),ee=Se(18),a=Se(54),y=Se(55),x=Se(56),b=Se(57),z=Se(59),te=Se(0),ce=Se(16),ge=Se(27),me=Se(60),ve=Se(5),pe=Se(61),be=Se(62),ye=Se(63),Ee=Se(64),Pe=Se(65),Ae=typeof window!="undefined"?window.document:null,Ce=function(_e){function we(Re){Re===void 0&&(Re={});var De=_e.call(this,Re)||this;return De.browser=oe,De._keyDownHandled=!1,De._onCursorMove=new te.EventEmitter,De._onKey=new te.EventEmitter,De._onRender=new te.EventEmitter,De._onSelectionChange=new te.EventEmitter,De._onTitleChange=new te.EventEmitter,De._onFocus=new te.EventEmitter,De._onBlur=new te.EventEmitter,De._onA11yCharEmitter=new te.EventEmitter,De._onA11yTabEmitter=new te.EventEmitter,De._setup(),De.linkifier=De._instantiationService.createInstance(ue.Linkifier),De.linkifier2=De.register(De._instantiationService.createInstance(ye.Linkifier2)),De.register(De._inputHandler.onRequestBell(function(){return De.bell()})),De.register(De._inputHandler.onRequestRefreshRows(function(ke,Ie){return De.refresh(ke,Ie)})),De.register(De._inputHandler.onRequestReset(function(){return De.reset()})),De.register(De._inputHandler.onRequestScroll(function(ke,Ie){return De.scroll(ke,Ie||void 0)})),De.register(De._inputHandler.onRequestWindowsOptionsReport(function(ke){return De._reportWindowsOptions(ke)})),De.register(te.forwardEvent(De._inputHandler.onCursorMove,De._onCursorMove)),De.register(te.forwardEvent(De._inputHandler.onTitleChange,De._onTitleChange)),De.register(te.forwardEvent(De._inputHandler.onA11yChar,De._onA11yCharEmitter)),De.register(te.forwardEvent(De._inputHandler.onA11yTab,De._onA11yTabEmitter)),De.register(De._bufferService.onResize(function(ke){return De._afterResize(ke.cols,ke.rows)})),De}return E(we,_e),Object.defineProperty(we.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),we.prototype.dispose=function(){var Re,De,ke;this._isDisposed||(_e.prototype.dispose.call(this),(Re=this._renderService)===null||Re===void 0||Re.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(ke=(De=this.element)===null||De===void 0?void 0:De.parentNode)===null||ke===void 0||ke.removeChild(this.element))},we.prototype._setup=function(){_e.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(we.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),we.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},we.prototype._updateOptions=function(Re){var De,ke,Ie,qe;switch(_e.prototype._updateOptions.call(this,Re),Re){case"fontFamily":case"fontSize":(De=this._renderService)===null||De===void 0||De.clear(),(ke=this._charSizeService)===null||ke===void 0||ke.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":(Ie=this.viewport)===null||Ie===void 0||Ie.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)}},we.prototype._onTextAreaFocus=function(Re){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(re.C0.ESC+"[I"),this.updateCursorStyle(Re),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},we.prototype.blur=function(){var Re;return(Re=this.textarea)===null||Re===void 0?void 0:Re.blur()},we.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(re.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},we.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var Re=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),De=this._bufferService.buffer.y*Re,ke=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=ke+"px",this.textarea.style.top=De+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=Re+"px",this.textarea.style.lineHeight=Re+"px",this.textarea.style.zIndex="-5"}},we.prototype._initGlobal=function(){var Re=this;this._bindKeys(),this.register(ne.addDisposableDomListener(this.element,"copy",function(ke){Re.hasSelection()&&le.copyHandler(ke,Re._selectionService)}));var De=function(ke){return le.handlePasteEvent(ke,Re.textarea,Re._coreService)};this.register(ne.addDisposableDomListener(this.textarea,"paste",De)),this.register(ne.addDisposableDomListener(this.element,"paste",De)),oe.isFirefox?this.register(ne.addDisposableDomListener(this.element,"mousedown",function(ke){ke.button===2&&le.rightClickHandler(ke,Re.textarea,Re.screenElement,Re._selectionService,Re.options.rightClickSelectsWord)})):this.register(ne.addDisposableDomListener(this.element,"contextmenu",function(ke){le.rightClickHandler(ke,Re.textarea,Re.screenElement,Re._selectionService,Re.options.rightClickSelectsWord)})),oe.isLinux&&this.register(ne.addDisposableDomListener(this.element,"auxclick",function(ke){ke.button===1&&le.moveTextAreaUnderMouseCursor(ke,Re.textarea,Re.screenElement)}))},we.prototype._bindKeys=function(){var Re=this;this.register(ne.addDisposableDomListener(this.textarea,"keyup",function(De){return Re._keyUp(De)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keydown",function(De){return Re._keyDown(De)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keypress",function(De){return Re._keyPress(De)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"compositionstart",function(){return Re._compositionHelper.compositionstart()})),this.register(ne.addDisposableDomListener(this.textarea,"compositionupdate",function(De){return Re._compositionHelper.compositionupdate(De)})),this.register(ne.addDisposableDomListener(this.textarea,"compositionend",function(){return Re._compositionHelper.compositionend()})),this.register(this.onRender(function(){return Re._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(De){return Re._queueLinkification(De.start,De.end)}))},we.prototype.open=function(Re){var De=this;if(!Re)throw new Error("Terminal requires a parent element.");Ae.body.contains(Re)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=Re.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"),Re.appendChild(this.element);var ke=Ae.createDocumentFragment();this._viewportElement=Ae.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),ke.appendChild(this._viewportElement),this._viewportScrollArea=Ae.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=Ae.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=Ae.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),ke.appendChild(this.screenElement),this.textarea=Ae.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(ne.addDisposableDomListener(this.textarea,"focus",function(Je){return De._onTextAreaFocus(Je)})),this.register(ne.addDisposableDomListener(this.textarea,"blur",function(){return De._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var Ie=this._instantiationService.createInstance(Ee.CoreBrowserService,this.textarea);this._instantiationService.setService(ve.ICoreBrowserService,Ie),this._charSizeService=this._instantiationService.createInstance(pe.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(ve.ICharSizeService,this._charSizeService),this._compositionView=Ae.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(ke),this._theme=this.options.theme||this._theme,this._colorManager=new ge.ColorManager(Ae,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(Je){return De._colorManager.onOptionsChange(Je)})),this._colorManager.setTheme(this._theme);var qe=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(me.RenderService,qe,this.rows,this.screenElement)),this._instantiationService.setService(ve.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(Je){return De._onRender.fire(Je)})),this.onResize(function(Je){return De._renderService.resize(Je.cols,Je.rows)}),this._soundService=this._instantiationService.createInstance(a.SoundService),this._instantiationService.setService(ve.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(be.MouseService),this._instantiationService.setService(ve.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(fe.Viewport,function(Je,We){return De.scrollLines(Je,We)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return De.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){De._renderService.onCursorMove(),De._syncTextArea()})),this.register(this.onResize(function(){return De._renderService.onResize(De.cols,De.rows)})),this.register(this.onBlur(function(){return De._renderService.onBlur()})),this.register(this.onFocus(function(){return De._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return De.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(ae.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(ve.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(Je){return De.scrollLines(Je.amount,Je.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return De._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(Je){return De._renderService.onSelectionChanged(Je.start,Je.end,Je.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(Je){De.textarea.value=Je,De.textarea.focus(),De.textarea.select()})),this.register(this.onScroll(function(){De.viewport.syncScrollArea(),De._selectionService.refresh()})),this.register(ne.addDisposableDomListener(this._viewportElement,"scroll",function(){return De._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return De._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(ne.addDisposableDomListener(this.element,"mousedown",function(Je){return De._selectionService.onMouseDown(Je)})),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()},we.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(ie.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+'"')}},we.prototype._setTheme=function(Re){var De,ke,Ie;this._theme=Re,(De=this._colorManager)===null||De===void 0||De.setTheme(Re),(ke=this._renderService)===null||ke===void 0||ke.setColors(this._colorManager.colors),(Ie=this.viewport)===null||Ie===void 0||Ie.onThemeChange(this._colorManager.colors)},we.prototype.bindMouse=function(){var Re=this,De=this,ke=this.element;function Ie(Fe){var je,et,tt=De._mouseService.getRawByteCoords(Fe,De.screenElement,De.cols,De.rows);if(!tt)return!1;switch(Fe.overrideType||Fe.type){case"mousemove":et=32,Fe.buttons===void 0?(je=3,Fe.button!==void 0&&(je=Fe.button<3?Fe.button:3)):je=1&Fe.buttons?0:4&Fe.buttons?1:2&Fe.buttons?2:3;break;case"mouseup":et=0,je=Fe.button<3?Fe.button:3;break;case"mousedown":et=1,je=Fe.button<3?Fe.button:3;break;case"wheel":Fe.deltaY!==0&&(et=Fe.deltaY<0?0:1),je=4;break;default:return!1}return!(et===void 0||je===void 0||je>4)&&De._coreMouseService.triggerMouseEvent({col:tt.x-33,row:tt.y-33,button:je,action:et,ctrl:Fe.ctrlKey,alt:Fe.altKey,shift:Fe.shiftKey})}var qe={mouseup:null,wheel:null,mousedrag:null,mousemove:null},Je=function(Fe){return Ie(Fe),Fe.buttons||(Re._document.removeEventListener("mouseup",qe.mouseup),qe.mousedrag&&Re._document.removeEventListener("mousemove",qe.mousedrag)),Re.cancel(Fe)},We=function(Fe){return Ie(Fe),Fe.preventDefault(),Re.cancel(Fe)},Qe=function(Fe){Fe.buttons&&Ie(Fe)},He=function(Fe){Fe.buttons||Ie(Fe)};this.register(this._coreMouseService.onProtocolChange(function(Fe){Fe?(Re.optionsService.options.logLevel==="debug"&&Re._logService.debug("Binding to mouse events:",Re._coreMouseService.explainEvents(Fe)),Re.element.classList.add("enable-mouse-events"),Re._selectionService.disable()):(Re._logService.debug("Unbinding from mouse events."),Re.element.classList.remove("enable-mouse-events"),Re._selectionService.enable()),8&Fe?qe.mousemove||(ke.addEventListener("mousemove",He),qe.mousemove=He):(ke.removeEventListener("mousemove",qe.mousemove),qe.mousemove=null),16&Fe?qe.wheel||(ke.addEventListener("wheel",We,{passive:!1}),qe.wheel=We):(ke.removeEventListener("wheel",qe.wheel),qe.wheel=null),2&Fe?qe.mouseup||(qe.mouseup=Je):(Re._document.removeEventListener("mouseup",qe.mouseup),qe.mouseup=null),4&Fe?qe.mousedrag||(qe.mousedrag=Qe):(Re._document.removeEventListener("mousemove",qe.mousedrag),qe.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(ne.addDisposableDomListener(ke,"mousedown",function(Fe){if(Fe.preventDefault(),Re.focus(),Re._coreMouseService.areMouseEventsActive&&!Re._selectionService.shouldForceSelection(Fe))return Ie(Fe),qe.mouseup&&Re._document.addEventListener("mouseup",qe.mouseup),qe.mousedrag&&Re._document.addEventListener("mousemove",qe.mousedrag),Re.cancel(Fe)})),this.register(ne.addDisposableDomListener(ke,"wheel",function(Fe){if(!qe.wheel){if(!Re.buffer.hasScrollback){var je=Re.viewport.getLinesScrolled(Fe);if(je===0)return;for(var et=re.C0.ESC+(Re._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(Fe.deltaY<0?"A":"B"),tt="",st=0;st<Math.abs(je);st++)tt+=et;Re._coreService.triggerDataEvent(tt,!0)}}},{passive:!0})),this.register(ne.addDisposableDomListener(ke,"wheel",function(Fe){if(!qe.wheel)return Re.viewport.onWheel(Fe)?void 0:Re.cancel(Fe)},{passive:!1})),this.register(ne.addDisposableDomListener(ke,"touchstart",function(Fe){if(!Re._coreMouseService.areMouseEventsActive)return Re.viewport.onTouchStart(Fe),Re.cancel(Fe)},{passive:!0})),this.register(ne.addDisposableDomListener(ke,"touchmove",function(Fe){if(!Re._coreMouseService.areMouseEventsActive)return Re.viewport.onTouchMove(Fe)?void 0:Re.cancel(Fe)},{passive:!1}))},we.prototype.refresh=function(Re,De){var ke;(ke=this._renderService)===null||ke===void 0||ke.refreshRows(Re,De)},we.prototype._queueLinkification=function(Re,De){var ke;(ke=this.linkifier)===null||ke===void 0||ke.linkifyRows(Re,De)},we.prototype.updateCursorStyle=function(Re){this._selectionService&&this._selectionService.shouldColumnSelect(Re)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},we.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},we.prototype.scrollLines=function(Re,De){_e.prototype.scrollLines.call(this,Re,De),this.refresh(0,this.rows-1)},we.prototype.paste=function(Re){le.paste(Re,this.textarea,this._coreService)},we.prototype.attachCustomKeyEventHandler=function(Re){this._customKeyEventHandler=Re},we.prototype.registerLinkMatcher=function(Re,De,ke){var Ie=this.linkifier.registerLinkMatcher(Re,De,ke);return this.refresh(0,this.rows-1),Ie},we.prototype.deregisterLinkMatcher=function(Re){this.linkifier.deregisterLinkMatcher(Re)&&this.refresh(0,this.rows-1)},we.prototype.registerLinkProvider=function(Re){return this.linkifier2.registerLinkProvider(Re)},we.prototype.registerCharacterJoiner=function(Re){var De=this._renderService.registerCharacterJoiner(Re);return this.refresh(0,this.rows-1),De},we.prototype.deregisterCharacterJoiner=function(Re){this._renderService.deregisterCharacterJoiner(Re)&&this.refresh(0,this.rows-1)},Object.defineProperty(we.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),we.prototype.addMarker=function(Re){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+Re)},we.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},we.prototype.select=function(Re,De,ke){this._selectionService.setSelection(Re,De,ke)},we.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},we.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]}},we.prototype.clearSelection=function(){var Re;(Re=this._selectionService)===null||Re===void 0||Re.clearSelection()},we.prototype.selectAll=function(){var Re;(Re=this._selectionService)===null||Re===void 0||Re.selectAll()},we.prototype.selectLines=function(Re,De){var ke;(ke=this._selectionService)===null||ke===void 0||ke.selectLines(Re,De)},we.prototype._keyDown=function(Re){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(Re)===!1)return!1;if(!this._compositionHelper.keydown(Re))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var De=z.evaluateKeyboardEvent(Re,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(Re),De.type===3||De.type===2){var ke=this.rows-1;return this.scrollLines(De.type===2?-ke:ke),this.cancel(Re,!0)}return De.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,Re)||(De.cancel&&this.cancel(Re,!0),!De.key||(De.key!==re.C0.ETX&&De.key!==re.C0.CR||(this.textarea.value=""),this._onKey.fire({key:De.key,domEvent:Re}),this._showCursor(),this._coreService.triggerDataEvent(De.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(Re,!0)))},we.prototype._isThirdLevelShift=function(Re,De){var ke=Re.isMac&&!this.options.macOptionIsMeta&&De.altKey&&!De.ctrlKey&&!De.metaKey||Re.isWindows&&De.altKey&&De.ctrlKey&&!De.metaKey;return De.type==="keypress"?ke:ke&&(!De.keyCode||De.keyCode>47)},we.prototype._keyUp=function(Re){this._customKeyEventHandler&&this._customKeyEventHandler(Re)===!1||(function(De){return De.keyCode===16||De.keyCode===17||De.keyCode===18}(Re)||this.focus(),this.updateCursorStyle(Re))},we.prototype._keyPress=function(Re){var De;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(Re)===!1)return!1;if(this.cancel(Re),Re.charCode)De=Re.charCode;else if(Re.which===null||Re.which===void 0)De=Re.keyCode;else{if(Re.which===0||Re.charCode===0)return!1;De=Re.which}return!(!De||(Re.altKey||Re.ctrlKey||Re.metaKey)&&!this._isThirdLevelShift(this.browser,Re))&&(De=String.fromCharCode(De),this._onKey.fire({key:De,domEvent:Re}),this._showCursor(),this._coreService.triggerDataEvent(De,!0),!0)},we.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},we.prototype.resize=function(Re,De){Re!==this.cols||De!==this.rows?_e.prototype.resize.call(this,Re,De):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},we.prototype._afterResize=function(Re,De){var ke,Ie;(ke=this._charSizeService)===null||ke===void 0||ke.measure(),(Ie=this.viewport)===null||Ie===void 0||Ie.syncScrollArea(!0)},we.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 Re=1;Re<this.rows;Re++)this.buffer.lines.push(this.buffer.getBlankLine(ce.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},we.prototype.reset=function(){var Re,De;this.options.rows=this.rows,this.options.cols=this.cols;var ke=this._customKeyEventHandler;this._setup(),_e.prototype.reset.call(this),(Re=this._selectionService)===null||Re===void 0||Re.reset(),this._customKeyEventHandler=ke,this.refresh(0,this.rows-1),(De=this.viewport)===null||De===void 0||De.syncScrollArea()},we.prototype._reportWindowsOptions=function(Re){if(this._renderService)switch(Re){case se.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var De=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),ke=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(re.C0.ESC+"[4;"+ke+";"+De+"t");break;case se.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var Ie=this._renderService.dimensions.scaledCellWidth.toFixed(0),qe=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(re.C0.ESC+"[6;"+qe+";"+Ie+"t")}},we.prototype.cancel=function(Re,De){if(this.options.cancelEvents||De)return Re.preventDefault(),Re.stopPropagation(),!1},we.prototype._visualBell=function(){return!1},we.prototype._soundBell=function(){return this.options.bellStyle==="sound"},we}(Pe.CoreTerminal);de.Terminal=Ce},function(gt,de,Se){"use strict";var xe=this&&this.__decorate||function(re,se,ie,ue){var ae,oe=arguments.length,ne=oe<3?se:ue===null?ue=Object.getOwnPropertyDescriptor(se,ie):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(re,se,ie,ue);else for(var ee=re.length-1;ee>=0;ee--)(ae=re[ee])&&(ne=(oe<3?ae(ne):oe>3?ae(se,ie,ne):ae(se,ie))||ne);return oe>3&&ne&&Object.defineProperty(se,ie,ne),ne},E=this&&this.__param||function(re,se){return function(ie,ue){se(ie,ue,re)}};Object.defineProperty(de,"__esModule",{value:!0}),de.CompositionHelper=void 0;var he=Se(5),fe=Se(1),le=function(){function re(se,ie,ue,ae,oe,ne){this._textarea=se,this._compositionView=ie,this._bufferService=ue,this._optionsService=ae,this._charSizeService=oe,this._coreService=ne,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(re.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),re.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},re.prototype.compositionupdate=function(se){var ie=this;this._compositionView.textContent=se.data,this.updateCompositionElements(),setTimeout(function(){ie._compositionPosition.end=ie._textarea.value.length},0)},re.prototype.compositionend=function(){this._finalizeComposition(!0)},re.prototype.keydown=function(se){if(this._isComposing||this._isSendingComposition){if(se.keyCode===229||se.keyCode===16||se.keyCode===17||se.keyCode===18)return!1;this._finalizeComposition(!1)}return se.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},re.prototype._finalizeComposition=function(se){var ie=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,se){var ue={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(ie._isSendingComposition){ie._isSendingComposition=!1;var oe=void 0;oe=ie._isComposing?ie._textarea.value.substring(ue.start,ue.end):ie._textarea.value.substring(ue.start),ie._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)}},re.prototype._handleAnyTextareaChanges=function(){var se=this,ie=this._textarea.value;setTimeout(function(){if(!se._isComposing){var ue=se._textarea.value.replace(ie,"");ue.length>0&&se._coreService.triggerDataEvent(ue,!0)}},0)},re.prototype.updateCompositionElements=function(se){var ie=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 ne=this._compositionView.getBoundingClientRect();this._textarea.style.left=oe+"px",this._textarea.style.top=ae+"px",this._textarea.style.width=ne.width+"px",this._textarea.style.height=ne.height+"px",this._textarea.style.lineHeight=ne.height+"px"}se||setTimeout(function(){return ie.updateCompositionElements(!0)},0)}},re=xe([E(2,fe.IBufferService),E(3,fe.IOptionsService),E(4,he.ICharSizeService),E(5,fe.ICoreService)],re)}();de.CompositionHelper=le},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ee){ne.__proto__=ee}||function(ne,ee){for(var a in ee)ee.hasOwnProperty(a)&&(ne[a]=ee[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,ne):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,ee);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,ee){oe(ne,ee,ae)}};Object.defineProperty(de,"__esModule",{value:!0}),de.Viewport=void 0;var le=Se(2),re=Se(7),se=Se(5),ie=Se(1),ue=function(ae){function oe(ne,ee,a,y,x,b,z){var te=ae.call(this)||this;return te._scrollLines=ne,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(re.addDisposableDomListener(te._viewportElement,"scroll",te._onScroll.bind(te))),setTimeout(function(){return te.syncScrollArea()},0),te}return E(oe,ae),oe.prototype.onThemeChange=function(ne){this._viewportElement.style.backgroundColor=ne.background.css},oe.prototype._refresh=function(ne){var ee=this;if(ne)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 ne=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==ne&&(this._lastRecordedBufferHeight=ne,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(ne){if(ne===void 0&&(ne=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(ne);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(ne)}else this._refresh(ne)},oe.prototype._onScroll=function(ne){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(ne,ee){var a=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(ee<0&&this._viewportElement.scrollTop!==0||ee>0&&a<this._lastRecordedBufferHeight)||(ne.cancelable&&ne.preventDefault(),!1)},oe.prototype.onWheel=function(ne){var ee=this._getPixelsScrolled(ne);return ee!==0&&(this._viewportElement.scrollTop+=ee,this._bubbleScroll(ne,ee))},oe.prototype._getPixelsScrolled=function(ne){if(ne.deltaY===0)return 0;var ee=this._applyScrollModifier(ne.deltaY,ne);return ne.deltaMode===WheelEvent.DOM_DELTA_LINE?ee*=this._currentRowHeight:ne.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(ee*=this._currentRowHeight*this._bufferService.rows),ee},oe.prototype.getLinesScrolled=function(ne){if(ne.deltaY===0)return 0;var ee=this._applyScrollModifier(ne.deltaY,ne);return ne.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):ne.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(ee*=this._bufferService.rows),ee},oe.prototype._applyScrollModifier=function(ne,ee){var a=this._optionsService.options.fastScrollModifier;return a==="alt"&&ee.altKey||a==="ctrl"&&ee.ctrlKey||a==="shift"&&ee.shiftKey?ne*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:ne*this._optionsService.options.scrollSensitivity},oe.prototype.onTouchStart=function(ne){this._lastTouchY=ne.touches[0].pageY},oe.prototype.onTouchMove=function(ne){var ee=this._lastTouchY-ne.touches[0].pageY;return this._lastTouchY=ne.touches[0].pageY,ee!==0&&(this._viewportElement.scrollTop+=ee,this._bubbleScroll(ne,ee))},oe=he([fe(3,ie.IBufferService),fe(4,ie.IOptionsService),fe(5,se.ICharSizeService),fe(6,se.IRenderService)],oe)}(le.Disposable);de.Viewport=ue},function(gt,de,Se){"use strict";function xe(le){return le.replace(/\r?\n/g,"\r")}function E(le,re){return re?"\x1B[200~"+le+"\x1B[201~":le}function he(le,re,se){le=E(le=xe(le),se.decPrivateModes.bracketedPasteMode),se.triggerDataEvent(le,!0),re.value=""}function fe(le,re,se){var ie=se.getBoundingClientRect(),ue=le.clientX-ie.left-10,ae=le.clientY-ie.top-10;re.style.width="20px",re.style.height="20px",re.style.left=ue+"px",re.style.top=ae+"px",re.style.zIndex="1000",re.focus()}Object.defineProperty(de,"__esModule",{value:!0}),de.rightClickHandler=de.moveTextAreaUnderMouseCursor=de.paste=de.handlePasteEvent=de.copyHandler=de.bracketTextForPaste=de.prepareTextForTerminal=void 0,de.prepareTextForTerminal=xe,de.bracketTextForPaste=E,de.copyHandler=function(le,re){le.clipboardData&&le.clipboardData.setData("text/plain",re.selectionText),le.preventDefault()},de.handlePasteEvent=function(le,re,se){le.stopPropagation(),le.clipboardData&&he(le.clipboardData.getData("text/plain"),re,se)},de.paste=he,de.moveTextAreaUnderMouseCursor=fe,de.rightClickHandler=function(le,re,se,ie,ue){fe(le,re,se),ue&&!ie.isClickInSelection(le)&&ie.selectWordAtCursor(le),re.value=ie.selectionText,re.select()}},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ee){ne.__proto__=ee}||function(ne,ee){for(var a in ee)ee.hasOwnProperty(a)&&(ne[a]=ee[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)});Object.defineProperty(de,"__esModule",{value:!0}),de.EscapeSequenceParser=de.VT500_TRANSITION_TABLE=de.TransitionTable=void 0;var he=Se(2),fe=Se(15),le=Se(21),re=Se(22),se=Se(24),ie=function(){function ae(oe){this.table=new Uint8Array(oe)}return ae.prototype.setDefault=function(oe,ne){fe.fill(this.table,oe<<4|ne)},ae.prototype.add=function(oe,ne,ee,a){this.table[ne<<8|oe]=ee<<4|a},ae.prototype.addMany=function(oe,ne,ee,a){for(var y=0;y<oe.length;y++)this.table[ne<<8|oe[y]]=ee<<4|a},ae}();de.TransitionTable=ie,de.VT500_TRANSITION_TABLE=function(){var ae=new ie(4095),oe=Array.apply(null,Array(256)).map(function(b,z){return z}),ne=function(b,z){return oe.slice(b,z)},ee=ne(32,127),a=ne(0,24);a.push(25),a.push.apply(a,ne(28,32));var y,x=ne(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(ne(128,144),y,3,0),ae.addMany(ne(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(ne(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(ne(64,127),3,7,0),ae.addMany(ne(48,60),3,8,4),ae.addMany([60,61,62,63],3,9,4),ae.addMany(ne(48,60),4,8,4),ae.addMany(ne(64,127),4,7,0),ae.addMany([60,61,62,63],4,0,6),ae.addMany(ne(32,64),6,0,6),ae.add(127,6,0,6),ae.addMany(ne(64,127),6,0,0),ae.addMany(ne(32,48),3,9,5),ae.addMany(ne(32,48),5,9,5),ae.addMany(ne(48,64),5,0,6),ae.addMany(ne(64,127),5,7,0),ae.addMany(ne(32,48),4,9,5),ae.addMany(ne(32,48),1,9,2),ae.addMany(ne(32,48),2,9,2),ae.addMany(ne(48,127),2,10,0),ae.addMany(ne(48,80),1,10,0),ae.addMany(ne(81,88),1,10,0),ae.addMany([89,90,92],1,10,0),ae.addMany(ne(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(ne(28,32),9,0,9),ae.addMany(ne(32,48),9,9,12),ae.addMany(ne(48,60),9,8,10),ae.addMany([60,61,62,63],9,9,10),ae.addMany(a,11,0,11),ae.addMany(ne(32,128),11,0,11),ae.addMany(ne(28,32),11,0,11),ae.addMany(a,10,0,10),ae.add(127,10,0,10),ae.addMany(ne(28,32),10,0,10),ae.addMany(ne(48,60),10,8,10),ae.addMany([60,61,62,63],10,0,11),ae.addMany(ne(32,48),10,9,12),ae.addMany(a,12,0,12),ae.add(127,12,0,12),ae.addMany(ne(28,32),12,0,12),ae.addMany(ne(32,48),12,9,12),ae.addMany(ne(48,64),12,0,11),ae.addMany(ne(64,127),12,12,13),ae.addMany(ne(64,127),10,12,13),ae.addMany(ne(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(ne){ne===void 0&&(ne=de.VT500_TRANSITION_TABLE);var ee=ae.call(this)||this;return ee._transitions=ne,ee.initialState=0,ee.currentState=ee.initialState,ee._params=new le.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 re.OscParser,ee._dcsParser=new se.DcsParser,ee._errorHandler=ee._errorHandlerFb,ee.setEscHandler({final:"\\"},function(){}),ee}return E(oe,ae),oe.prototype._identifier=function(ne,ee){ee===void 0&&(ee=[64,126]);var a=0;if(ne.prefix){if(ne.prefix.length>1)throw new Error("only one byte as prefix supported");if((a=ne.prefix.charCodeAt(0))&&60>a||a>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(ne.intermediates){if(ne.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var y=0;y<ne.intermediates.length;++y){var x=ne.intermediates.charCodeAt(y);if(32>x||x>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");a<<=8,a|=x}}if(ne.final.length!==1)throw new Error("final must be a single byte");var b=ne.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(ne){for(var ee=[];ne;)ee.push(String.fromCharCode(255&ne)),ne>>=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(ne){this._printHandler=ne},oe.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},oe.prototype.addEscHandler=function(ne,ee){var a=this._identifier(ne,[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(ne,ee){this._escHandlers[this._identifier(ne,[48,126])]=[ee]},oe.prototype.clearEscHandler=function(ne){this._escHandlers[this._identifier(ne,[48,126])]&&delete this._escHandlers[this._identifier(ne,[48,126])]},oe.prototype.setEscHandlerFallback=function(ne){this._escHandlerFb=ne},oe.prototype.setExecuteHandler=function(ne,ee){this._executeHandlers[ne.charCodeAt(0)]=ee},oe.prototype.clearExecuteHandler=function(ne){this._executeHandlers[ne.charCodeAt(0)]&&delete this._executeHandlers[ne.charCodeAt(0)]},oe.prototype.setExecuteHandlerFallback=function(ne){this._executeHandlerFb=ne},oe.prototype.addCsiHandler=function(ne,ee){var a=this._identifier(ne);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(ne,ee){this._csiHandlers[this._identifier(ne)]=[ee]},oe.prototype.clearCsiHandler=function(ne){this._csiHandlers[this._identifier(ne)]&&delete this._csiHandlers[this._identifier(ne)]},oe.prototype.setCsiHandlerFallback=function(ne){this._csiHandlerFb=ne},oe.prototype.addDcsHandler=function(ne,ee){return this._dcsParser.addHandler(this._identifier(ne),ee)},oe.prototype.setDcsHandler=function(ne,ee){this._dcsParser.setHandler(this._identifier(ne),ee)},oe.prototype.clearDcsHandler=function(ne){this._dcsParser.clearHandler(this._identifier(ne))},oe.prototype.setDcsHandlerFallback=function(ne){this._dcsParser.setHandlerFallback(ne)},oe.prototype.addOscHandler=function(ne,ee){return this._oscParser.addHandler(ne,ee)},oe.prototype.setOscHandler=function(ne,ee){this._oscParser.setHandler(ne,ee)},oe.prototype.clearOscHandler=function(ne){this._oscParser.clearHandler(ne)},oe.prototype.setOscHandlerFallback=function(ne){this._oscParser.setHandlerFallback(ne)},oe.prototype.setErrorHandler=function(ne){this._errorHandler=ne},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(ne,ee){for(var a=0,y=0,x=this.currentState,b=this._oscParser,z=this._dcsParser,te=this._collect,ce=this._params,ge=this._transitions.table,me=0;me<ee;++me){switch((y=ge[x<<8|((a=ne[me])<160?a:160)])>>4){case 2:for(var ve=me+1;;++ve){if(ve>=ee||(a=ne[ve])<32||a>126&&a<160){this._printHandler(ne,me,ve),me=ve-1;break}if(++ve>=ee||(a=ne[ve])<32||a>126&&a<160){this._printHandler(ne,me,ve),me=ve-1;break}if(++ve>=ee||(a=ne[ve])<32||a>126&&a<160){this._printHandler(ne,me,ve),me=ve-1;break}if(++ve>=ee||(a=ne[ve])<32||a>126&&a<160){this._printHandler(ne,me,ve),me=ve-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:me,code:a,currentState:x,collect:te,params:ce,abort:!1}).abort)return;break;case 7:for(var pe=this._csiHandlers[te<<8|a],be=pe?pe.length-1:-1;be>=0&&pe[be](ce)===!1;be--);be<0&&this._csiHandlerFb(te<<8|a,ce),this.precedingCodepoint=0;break;case 8:do switch(a){case 59:ce.addParam(0);break;case 58:ce.addSubParam(-1);break;default:ce.addDigit(a-48)}while(++me<ee&&(a=ne[me])>47&&a<60);me--;break;case 9:te<<=8,te|=a;break;case 10:for(var ye=this._escHandlers[te<<8|a],Ee=ye?ye.length-1:-1;Ee>=0&&ye[Ee]()===!1;Ee--);Ee<0&&this._escHandlerFb(te<<8|a),this.precedingCodepoint=0;break;case 11:ce.reset(),ce.addParam(0),te=0;break;case 12:z.hook(te<<8|a,ce);break;case 13:for(var Pe=me+1;;++Pe)if(Pe>=ee||(a=ne[Pe])===24||a===26||a===27||a>127&&a<160){z.put(ne,me,Pe),me=Pe-1;break}break;case 14:z.unhook(a!==24&&a!==26),a===27&&(y|=1),ce.reset(),ce.addParam(0),te=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var Ae=me+1;;Ae++)if(Ae>=ee||(a=ne[Ae])<32||a>127&&a<=159){b.put(ne,me,Ae),me=Ae-1;break}break;case 6:b.end(a!==24&&a!==26),a===27&&(y|=1),ce.reset(),ce.addParam(0),te=0,this.precedingCodepoint=0}x=15&y}this._collect=te,this.currentState=x},oe}(he.Disposable);de.EscapeSequenceParser=ue},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(b,z){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ce){te.__proto__=ce}||function(te,ce){for(var ge in ce)ce.hasOwnProperty(ge)&&(te[ge]=ce[ge])})(b,z)},function(b,z){function te(){this.constructor=b}xe(b,z),b.prototype=z===null?Object.create(z):(te.prototype=z.prototype,new te)}),he=this&&this.__decorate||function(b,z,te,ce){var ge,me=arguments.length,ve=me<3?z:ce===null?ce=Object.getOwnPropertyDescriptor(z,te):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ve=Reflect.decorate(b,z,te,ce);else for(var pe=b.length-1;pe>=0;pe--)(ge=b[pe])&&(ve=(me<3?ge(ve):me>3?ge(z,te,ve):ge(z,te))||ve);return me>3&&ve&&Object.defineProperty(z,te,ve),ve},fe=this&&this.__param||function(b,z){return function(te,ce){z(te,ce,b)}};Object.defineProperty(de,"__esModule",{value:!0}),de.Renderer=void 0;var le=Se(41),re=Se(47),se=Se(48),ie=Se(49),ue=Se(29),ae=Se(2),oe=Se(5),ne=Se(1),ee=Se(25),a=Se(0),y=1,x=function(b){function z(te,ce,ge,me,ve,pe,be,ye,Ee){var Pe=b.call(this)||this;Pe._colors=te,Pe._screenElement=ce,Pe._bufferService=ve,Pe._charSizeService=pe,Pe._optionsService=be,Pe._id=y++,Pe._onRequestRedraw=new a.EventEmitter;var Ae=Pe._optionsService.options.allowTransparency;return Pe._characterJoinerRegistry=new ue.CharacterJoinerRegistry(Pe._bufferService),Pe._renderLayers=[new le.TextRenderLayer(Pe._screenElement,0,Pe._colors,Pe._characterJoinerRegistry,Ae,Pe._id,Pe._bufferService,be),new re.SelectionRenderLayer(Pe._screenElement,1,Pe._colors,Pe._id,Pe._bufferService,be),new ie.LinkRenderLayer(Pe._screenElement,2,Pe._colors,Pe._id,ge,me,Pe._bufferService,be),new se.CursorRenderLayer(Pe._screenElement,3,Pe._colors,Pe._id,Pe._onRequestRedraw,Pe._bufferService,be,ye,Ee)],Pe.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},Pe._devicePixelRatio=window.devicePixelRatio,Pe._updateDimensions(),Pe.onOptionsChanged(),Pe}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,ce=this._renderLayers;te<ce.length;te++)ce[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 ce=0,ge=this._renderLayers;ce<ge.length;ce++){var me=ge[ce];me.setColors(this._colors),me.reset()}},z.prototype.onResize=function(te,ce){this._updateDimensions();for(var ge=0,me=this._renderLayers;ge<me.length;ge++)me[ge].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,ce,ge){ge===void 0&&(ge=!1),this._runOperation(function(me){return me.onSelectionChanged(te,ce,ge)})},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 ce=0,ge=this._renderLayers;ce<ge.length;ce++)te(ge[ce])},z.prototype.renderRows=function(te,ce){for(var ge=0,me=this._renderLayers;ge<me.length;ge++)me[ge].onGridChanged(te,ce)},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([fe(4,ne.IBufferService),fe(5,oe.ICharSizeService),fe(6,ne.IOptionsService),fe(7,ne.ICoreService),fe(8,oe.ICoreBrowserService)],z)}(ae.Disposable);de.Renderer=x},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ee){ne.__proto__=ee}||function(ne,ee){for(var a in ee)ee.hasOwnProperty(a)&&(ne[a]=ee[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)});Object.defineProperty(de,"__esModule",{value:!0}),de.TextRenderLayer=void 0;var he=Se(42),fe=Se(13),le=Se(6),re=Se(3),se=Se(29),ie=Se(4),ue=function(ae){function oe(ne,ee,a,y,x,b,z,te){var ce=ae.call(this,ne,"text",ee,x,a,b,z,te)||this;return ce._characterWidth=0,ce._characterFont="",ce._characterOverlapCache={},ce._workCell=new ie.CellData,ce._state=new he.GridCache,ce._characterJoinerRegistry=y,ce}return E(oe,ae),oe.prototype.resize=function(ne){ae.prototype.resize.call(this,ne);var ee=this._getFont(!1,!1);this._characterWidth===ne.scaledCharWidth&&this._characterFont===ee||(this._characterWidth=ne.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(ne,ee,a,y){for(var x=ne;x<=ee;x++)for(var b=x+this._bufferService.buffer.ydisp,z=this._bufferService.buffer.lines.get(b),te=a?a.getJoinedCharacters(b):[],ce=0;ce<this._bufferService.cols;ce++){z.loadCell(ce,this._workCell);var ge=this._workCell,me=!1,ve=ce;if(ge.getWidth()!==0){if(te.length>0&&ce===te[0][0]){me=!0;var pe=te.shift();ge=new se.JoinedCellData(this._workCell,z.translateToString(!0,pe[0],pe[1]),pe[1]-pe[0]),ve=pe[1]-1}!me&&this._isOverlapping(ge)&&ve<z.length-1&&z.getCodePoint(ve+1)===re.NULL_CELL_CODE&&(ge.content&=-12582913,ge.content|=2<<22),y(ge,ce,x),ce=ve}}},oe.prototype._drawBackground=function(ne,ee){var a=this,y=this._ctx,x=this._bufferService.cols,b=0,z=0,te=null;y.save(),this._forEachCell(ne,ee,null,function(ce,ge,me){var ve=null;ce.isInverse()?ve=ce.isFgDefault()?a._colors.foreground.css:ce.isFgRGB()?"rgb("+le.AttributeData.toColorRGB(ce.getFgColor()).join(",")+")":a._colors.ansi[ce.getFgColor()].css:ce.isBgRGB()?ve="rgb("+le.AttributeData.toColorRGB(ce.getBgColor()).join(",")+")":ce.isBgPalette()&&(ve=a._colors.ansi[ce.getBgColor()].css),te===null&&(b=ge,z=me),me!==z?(y.fillStyle=te||"",a._fillCells(b,z,x-b,1),b=ge,z=me):te!==ve&&(y.fillStyle=te||"",a._fillCells(b,z,ge-b,1),b=ge,z=me),te=ve}),te!==null&&(y.fillStyle=te,this._fillCells(b,z,x-b,1)),y.restore()},oe.prototype._drawForeground=function(ne,ee){var a=this;this._forEachCell(ne,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("+le.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("+le.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(ne,ee){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,ne,this._bufferService.cols,ee-ne+1),this._drawBackground(ne,ee),this._drawForeground(ne,ee))},oe.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},oe.prototype._isOverlapping=function(ne){if(ne.getWidth()!==1||ne.getCode()<256)return!1;var ee=ne.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}(fe.BaseRenderLayer);de.TextRenderLayer=ue},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.GridCache=void 0;var xe=function(){function E(){this.cache=[]}return E.prototype.resize=function(he,fe){for(var le=0;le<he;le++){this.cache.length<=le&&this.cache.push([]);for(var re=this.cache[le].length;re<fe;re++)this.cache[le].push(void 0);this.cache[le].length=fe}this.cache.length=he},E.prototype.clear=function(){for(var he=0;he<this.cache.length;he++)for(var fe=0;fe<this.cache[he].length;fe++)this.cache[he][fe]=void 0},E}();de.GridCache=xe},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(a,y){return(xe=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}xe(a,y),a.prototype=y===null?Object.create(y):(x.prototype=y.prototype,new x)});Object.defineProperty(de,"__esModule",{value:!0}),de.NoneCharAtlas=de.DynamicCharAtlas=de.getGlyphCacheKey=void 0;var he=Se(9),fe=Se(44),le=Se(27),re=Se(46),se=Se(11),ie=Se(28),ue=Se(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)}de.getGlyphCacheKey=oe;var ne=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=ie.throwIfFalsy(z._cacheCanvas.getContext("2d",{alpha:!0}));var te=x.createElement("canvas");te.width=z._config.scaledCharWidth,te.height=z._config.scaledCharHeight,z._tmpCtx=ie.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 ce=z._width*z._height;return z._cacheMap=new re.LRUMap(ce),z._cacheMap.prealloc(ce),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 ce=oe(b),ge=this._cacheMap.get(ce);if(ge!=null)return this._drawFromCache(x,ge,z,te),!0;if(this._drawToCacheCount<100){var me=void 0;me=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var ve=this._drawToCache(b,me);return this._cacheMap.set(ce,ve),this._drawFromCache(x,ve,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 ce=this._toCoordinateX(b.index),ge=this._toCoordinateY(b.index);x.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,ce,ge,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]:le.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,ce=x.italic?"italic":"";this._tmpCtx.font=ce+" "+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 ge=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),me=!1;this._config.allowTransparency||(me=function(ye,Ee){for(var Pe=!0,Ae=Ee.rgba>>>24,Ce=Ee.rgba>>>16&255,_e=Ee.rgba>>>8&255,we=0;we<ye.data.length;we+=4)ye.data[we]===Ae&&ye.data[we+1]===Ce&&ye.data[we+2]===_e?ye.data[we+3]=0:Pe=!1;return Pe}(ge,z));var ve=this._toCoordinateX(b),pe=this._toCoordinateY(b);this._cacheCtx.putImageData(ge,ve,pe);var be={index:b,isEmpty:me,inBitmap:!1};return this._addGlyphToBitmap(be),be},y.prototype._addGlyphToBitmap=function(x){var b=this;!("createImageBitmap"in window)||se.isFirefox||se.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}(fe.BaseCharAtlas);de.DynamicCharAtlas=ne;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}(fe.BaseCharAtlas);de.NoneCharAtlas=ee},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.BaseCharAtlas=void 0;var xe=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}();de.BaseCharAtlas=xe},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.ColorContrastCache=void 0;var xe=function(){function E(){this._color={},this._rgba={}}return E.prototype.clear=function(){this._color={},this._rgba={}},E.prototype.setCss=function(he,fe,le){this._rgba[he]||(this._rgba[he]={}),this._rgba[he][fe]=le},E.prototype.getCss=function(he,fe){return this._rgba[he]?this._rgba[he][fe]:void 0},E.prototype.setColor=function(he,fe,le){this._color[he]||(this._color[he]={}),this._color[he][fe]=le},E.prototype.getColor=function(he,fe){return this._color[he]?this._color[he][fe]:void 0},E}();de.ColorContrastCache=xe},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.LRUMap=void 0;var xe=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 fe=he.prev,le=he.next;he===this._head&&(this._head=le),he===this._tail&&(this._tail=fe),fe!==null&&(fe.next=le),le!==null&&(le.prev=fe)},E.prototype._appendNode=function(he){var fe=this._tail;fe!==null&&(fe.next=he),he.prev=fe,he.next=null,this._tail=he,this._head===null&&(this._head=he)},E.prototype.prealloc=function(he){for(var fe=this._nodePool,le=0;le<he;le++)fe.push({prev:null,next:null,key:null,value:null})},E.prototype.get=function(he){var fe=this._map[he];return fe!==void 0?(this._unlinkNode(fe),this._appendNode(fe),fe.value):null},E.prototype.peekValue=function(he){var fe=this._map[he];return fe!==void 0?fe.value:null},E.prototype.peek=function(){var he=this._head;return he===null?null:he.value},E.prototype.set=function(he,fe){var le=this._map[he];if(le!==void 0)le=this._map[he],this._unlinkNode(le),le.value=fe;else if(this.size>=this.capacity)le=this._head,this._unlinkNode(le),delete this._map[le.key],le.key=he,le.value=fe,this._map[he]=le;else{var re=this._nodePool;re.length>0?((le=re.pop()).key=he,le.value=fe):le={prev:null,next:null,key:he,value:fe},this._map[he]=le,this.size++}this._appendNode(le)},E}();de.LRUMap=xe},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(fe,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,se){re.__proto__=se}||function(re,se){for(var ie in se)se.hasOwnProperty(ie)&&(re[ie]=se[ie])})(fe,le)},function(fe,le){function re(){this.constructor=fe}xe(fe,le),fe.prototype=le===null?Object.create(le):(re.prototype=le.prototype,new re)});Object.defineProperty(de,"__esModule",{value:!0}),de.SelectionRenderLayer=void 0;var he=function(fe){function le(re,se,ie,ue,ae,oe){var ne=fe.call(this,re,"selection",se,!0,ie,ue,ae,oe)||this;return ne._clearState(),ne}return E(le,fe),le.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},le.prototype.resize=function(re){fe.prototype.resize.call(this,re),this._clearState()},le.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},le.prototype.onSelectionChanged=function(re,se,ie){if(this._didStateChange(re,se,ie,this._bufferService.buffer.ydisp))if(this._clearAll(),re&&se){var ue=re[1]-this._bufferService.buffer.ydisp,ae=se[1]-this._bufferService.buffer.ydisp,oe=Math.max(ue,0),ne=Math.min(ae,this._bufferService.rows-1);if(!(oe>=this._bufferService.rows||ne<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,ie){var ee=re[0],a=se[0]-ee,y=ne-oe+1;this._fillCells(ee,oe,a,y)}else{ee=ue===oe?re[0]:0;var x=oe===ne?se[0]:this._bufferService.cols;this._fillCells(ee,oe,x-ee,1);var b=Math.max(ne-oe-1,0);if(this._fillCells(0,oe+1,this._bufferService.cols,b),oe!==ne){var z=ae===ne?se[0]:this._bufferService.cols;this._fillCells(0,ne,z,1)}}this._state.start=[re[0],re[1]],this._state.end=[se[0],se[1]],this._state.columnSelectMode=ie,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},le.prototype._didStateChange=function(re,se,ie,ue){return!this._areCoordinatesEqual(re,this._state.start)||!this._areCoordinatesEqual(se,this._state.end)||ie!==this._state.columnSelectMode||ue!==this._state.ydisp},le.prototype._areCoordinatesEqual=function(re,se){return!(!re||!se)&&re[0]===se[0]&&re[1]===se[1]},le}(Se(13).BaseRenderLayer);de.SelectionRenderLayer=he},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(se,ie){return(xe=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])})(se,ie)},function(se,ie){function ue(){this.constructor=se}xe(se,ie),se.prototype=ie===null?Object.create(ie):(ue.prototype=ie.prototype,new ue)});Object.defineProperty(de,"__esModule",{value:!0}),de.CursorRenderLayer=void 0;var he=Se(13),fe=Se(4),le=function(se){function ie(ue,ae,oe,ne,ee,a,y,x,b){var z=se.call(this,ue,"cursor",ae,!0,oe,ne,a,y)||this;return z._onRequestRedraw=ee,z._coreService=x,z._coreBrowserService=b,z._cell=new fe.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(ie,se),ie.prototype.resize=function(ue){se.prototype.resize.call(this,ue),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},ie.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},ie.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},ie.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},ie.prototype.onOptionsChanged=function(){var ue,ae=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new re(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})},ie.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},ie.prototype.onGridChanged=function(ue,ae){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},ie.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 ne=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(ae).loadCell(ne,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](ne,oe,this._cell):this._renderBlurCursor(ne,oe,this._cell),this._ctx.restore(),this._state.x=ne,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===ne&&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"](ne,oe,this._cell),this._ctx.restore(),this._state.x=ne,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()},ie.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})},ie.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()},ie.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()},ie.prototype._renderUnderlineCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(ue,ae),this._ctx.restore()},ie.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()},ie}(he.BaseRenderLayer);de.CursorRenderLayer=le;var re=function(){function se(ie,ue){this._renderCallback=ue,this.isCursorVisible=!0,ie&&this._restartInterval()}return Object.defineProperty(se.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),se.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)},se.prototype.restartBlinkAnimation=function(){var ie=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){ie._renderCallback(),ie._animationFrame=void 0})))},se.prototype._restartInterval=function(ie){var ue=this;ie===void 0&&(ie=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)},ie)},se.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)},se.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},se}()},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(se,ie){return(xe=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])})(se,ie)},function(se,ie){function ue(){this.constructor=se}xe(se,ie),se.prototype=ie===null?Object.create(ie):(ue.prototype=ie.prototype,new ue)});Object.defineProperty(de,"__esModule",{value:!0}),de.LinkRenderLayer=void 0;var he=Se(13),fe=Se(9),le=Se(26),re=function(se){function ie(ue,ae,oe,ne,ee,a,y,x){var b=se.call(this,ue,"link",ae,!0,oe,ne,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(ie,se),ie.prototype.resize=function(ue){se.prototype.resize.call(this,ue),this._state=void 0},ie.prototype.reset=function(){this._clearCurrentLink()},ie.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}},ie.prototype._onShowLinkUnderline=function(ue){if(ue.fg===fe.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:ue.fg&&le.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},ie.prototype._onHideLinkUnderline=function(ue){this._clearCurrentLink()},ie}(he.BaseRenderLayer);de.LinkRenderLayer=re},function(gt,de,Se){"use strict";var xe=this&&this.__decorate||function(se,ie,ue,ae){var oe,ne=arguments.length,ee=ne<3?ie:ae===null?ae=Object.getOwnPropertyDescriptor(ie,ue):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(se,ie,ue,ae);else for(var a=se.length-1;a>=0;a--)(oe=se[a])&&(ee=(ne<3?oe(ee):ne>3?oe(ie,ue,ee):oe(ie,ue))||ee);return ne>3&&ee&&Object.defineProperty(ie,ue,ee),ee},E=this&&this.__param||function(se,ie){return function(ue,ae){ie(ue,ae,se)}};Object.defineProperty(de,"__esModule",{value:!0}),de.MouseZone=de.Linkifier=void 0;var he=Se(0),fe=Se(1),le=function(){function se(ie,ue,ae){this._bufferService=ie,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(se.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),se.prototype.attachToDom=function(ie,ue){this._element=ie,this._mouseZoneManager=ue},se.prototype.linkifyRows=function(ie,ue){var ae=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=ie,this._rowsToLinkify.end=ue):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,ie),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,ue)),this._mouseZoneManager.clearAll(ie,ue),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return ae._linkifyRows()},se._timeBeforeLatency))},se.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var ie=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var ue=ie.ydisp+this._rowsToLinkify.start;if(!(ue>=ie.lines.length)){for(var ae=ie.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,oe=Math.ceil(2e3/this._bufferService.cols),ne=this._bufferService.buffer.iterator(!1,ue,ae,oe,oe);ne.hasNext();)for(var ee=ne.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")},se.prototype.registerLinkMatcher=function(ie,ue,ae){if(ae===void 0&&(ae={}),!ue)throw new Error("handler must be defined");var oe={id:this._nextLinkMatcherId++,regex:ie,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},se.prototype._addLinkMatcherToList=function(ie){if(this._linkMatchers.length!==0){for(var ue=this._linkMatchers.length-1;ue>=0;ue--)if(ie.priority<=this._linkMatchers[ue].priority)return void this._linkMatchers.splice(ue+1,0,ie);this._linkMatchers.splice(0,0,ie)}else this._linkMatchers.push(ie)},se.prototype.deregisterLinkMatcher=function(ie){for(var ue=0;ue<this._linkMatchers.length;ue++)if(this._linkMatchers[ue].id===ie)return this._linkMatchers.splice(ue,1),!0;return!1},se.prototype._doLinkifyRow=function(ie,ue,ae){for(var oe,ne=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(ie,a);if(z[0]<0)return"break";var te=x._bufferService.buffer.lines.get(z[0]);if(!te)return"break";var ce=te.getFg(z[1]),ge=ce?ce>>9&511:void 0;ae.validationCallback?ae.validationCallback(b,function(me){ne._rowsTimeoutId||me&&ne._addLink(z[1],z[0]-ne._bufferService.buffer.ydisp,b,ae,ge)}):x._addLink(z[1],z[0]-x._bufferService.buffer.ydisp,b,ae,ge)},x=this;(oe=ee.exec(ue))!==null&&y()!=="break";);},se.prototype._addLink=function(ie,ue,ae,oe,ne){var ee=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(ae),y=ie%this._bufferService.cols,x=ue+Math.floor(ie/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 re(y+1,x+1,b+1,z+1,function(te){if(oe.handler)return oe.handler(te,ae);var ce=window.open();ce?(ce.opener=null,ce.location.href=ae):console.warn("Opening link blocked as opener could not be cleared")},function(){ee._onShowLinkUnderline.fire(ee._createLinkHoverEvent(y,x,b,z,ne)),ee._element.classList.add("xterm-cursor-pointer")},function(te){ee._onLinkTooltip.fire(ee._createLinkHoverEvent(y,x,b,z,ne)),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,ne)),ee._element.classList.remove("xterm-cursor-pointer"),oe.hoverLeaveCallback&&oe.hoverLeaveCallback()},function(te){return!oe.willLinkActivate||oe.willLinkActivate(te,ae)}))}},se.prototype._createLinkHoverEvent=function(ie,ue,ae,oe,ne){return{x1:ie,y1:ue,x2:ae,y2:oe,cols:this._bufferService.cols,fg:ne}},se._timeBeforeLatency=200,se=xe([E(0,fe.IBufferService),E(1,fe.ILogService),E(2,fe.IUnicodeService)],se)}();de.Linkifier=le;var re=function(se,ie,ue,ae,oe,ne,ee,a,y){this.x1=se,this.y1=ie,this.x2=ue,this.y2=ae,this.clickCallback=oe,this.hoverCallback=ne,this.tooltipCallback=ee,this.leaveCallback=a,this.willLinkActivate=y};de.MouseZone=re},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(b,z){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ce){te.__proto__=ce}||function(te,ce){for(var ge in ce)ce.hasOwnProperty(ge)&&(te[ge]=ce[ge])})(b,z)},function(b,z){function te(){this.constructor=b}xe(b,z),b.prototype=z===null?Object.create(z):(te.prototype=z.prototype,new te)}),he=this&&this.__decorate||function(b,z,te,ce){var ge,me=arguments.length,ve=me<3?z:ce===null?ce=Object.getOwnPropertyDescriptor(z,te):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ve=Reflect.decorate(b,z,te,ce);else for(var pe=b.length-1;pe>=0;pe--)(ge=b[pe])&&(ve=(me<3?ge(ve):me>3?ge(z,te,ve):ge(z,te))||ve);return me>3&&ve&&Object.defineProperty(z,te,ve),ve},fe=this&&this.__param||function(b,z){return function(te,ce){z(te,ce,b)}};Object.defineProperty(de,"__esModule",{value:!0}),de.SelectionService=void 0;var le=Se(11),re=Se(52),se=Se(4),ie=Se(0),ue=Se(5),ae=Se(1),oe=Se(30),ne=Se(53),ee=Se(2),a="\xA0",y=new RegExp(a,"g"),x=function(b){function z(te,ce,ge,me,ve,pe,be){var ye=b.call(this)||this;return ye._element=te,ye._screenElement=ce,ye._bufferService=ge,ye._coreService=me,ye._mouseService=ve,ye._optionsService=pe,ye._renderService=be,ye._dragScrollAmount=0,ye._enabled=!0,ye._workCell=new se.CellData,ye._mouseDownTimeStamp=0,ye._onLinuxMouseSelection=ye.register(new ie.EventEmitter),ye._onRedrawRequest=ye.register(new ie.EventEmitter),ye._onSelectionChange=ye.register(new ie.EventEmitter),ye._onRequestScrollLines=ye.register(new ie.EventEmitter),ye._mouseMoveListener=function(Ee){return ye._onMouseMove(Ee)},ye._mouseUpListener=function(Ee){return ye._onMouseUp(Ee)},ye._coreService.onUserInput(function(){ye.hasSelection&&ye.clearSelection()}),ye._trimListener=ye._bufferService.buffer.lines.onTrim(function(Ee){return ye._onTrim(Ee)}),ye.register(ye._bufferService.buffers.onBufferActivate(function(Ee){return ye._onBufferActivate(Ee)})),ye.enable(),ye._model=new re.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,ce=this._model.finalSelectionEnd;return!(!te||!ce)&&(te[0]!==ce[0]||te[1]!==ce[1])},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"selectionText",{get:function(){var te=this._model.finalSelectionStart,ce=this._model.finalSelectionEnd;if(!te||!ce)return"";var ge=this._bufferService.buffer,me=[];if(this._activeSelectionMode===3){if(te[0]===ce[0])return"";for(var ve=te[1];ve<=ce[1];ve++){var pe=ge.translateBufferLineToString(ve,!0,te[0],ce[0]);me.push(pe)}}else{var be=te[1]===ce[1]?ce[0]:void 0;for(me.push(ge.translateBufferLineToString(te[1],!0,te[0],be)),ve=te[1]+1;ve<=ce[1]-1;ve++){var ye=ge.lines.get(ve);pe=ge.translateBufferLineToString(ve,!0),ye&&ye.isWrapped?me[me.length-1]+=pe:me.push(pe)}te[1]!==ce[1]&&(ye=ge.lines.get(ce[1]),pe=ge.translateBufferLineToString(ce[1],!0,0,ce[0]),ye&&ye.isWrapped?me[me.length-1]+=pe:me.push(pe))}return me.map(function(Ee){return Ee.replace(y," ")}).join(le.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 ce=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return ce._refresh()})),le.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 ce=this._getMouseBufferCoords(te),ge=this._model.finalSelectionStart,me=this._model.finalSelectionEnd;return!!(ge&&me&&ce)&&this._areCoordsInSelection(ce,ge,me)},z.prototype._areCoordsInSelection=function(te,ce,ge){return te[1]>ce[1]&&te[1]<ge[1]||ce[1]===ge[1]&&te[1]===ce[1]&&te[0]>=ce[0]&&te[0]<ge[0]||ce[1]<ge[1]&&te[1]===ge[1]&&te[0]<ge[0]||ce[1]<ge[1]&&te[1]===ce[1]&&te[0]>=ce[0]},z.prototype.selectWordAtCursor=function(te){var ce=this._getMouseBufferCoords(te);ce&&(this._selectWordAt(ce,!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,ce){this._model.clearSelection(),te=Math.max(te,0),ce=Math.min(ce,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,te],this._model.selectionEnd=[this._bufferService.cols,ce],this.refresh(),this._onSelectionChange.fire()},z.prototype._onTrim=function(te){this._model.onTrim(te)&&this.refresh()},z.prototype._getMouseBufferCoords=function(te){var ce=this._mouseService.getCoords(te,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(ce)return ce[0]--,ce[1]--,ce[1]+=this._bufferService.buffer.ydisp,ce},z.prototype._getMouseEventScrollAmount=function(te){var ce=oe.getCoordsRelativeToElement(te,this._screenElement)[1],ge=this._renderService.dimensions.canvasHeight;return ce>=0&&ce<=ge?0:(ce>ge&&(ce-=ge),ce=Math.min(Math.max(ce,-50),50),(ce/=50)/Math.abs(ce)+Math.round(14*ce))},z.prototype.shouldForceSelection=function(te){return le.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 ce=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);ce&&ce.length!==this._model.selectionStart[0]&&ce.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},z.prototype._onDoubleClick=function(te){var ce=this._getMouseBufferCoords(te);ce&&(this._activeSelectionMode=1,this._selectWordAt(ce,!0))},z.prototype._onTripleClick=function(te){var ce=this._getMouseBufferCoords(te);ce&&(this._activeSelectionMode=2,this._selectLineAt(ce[1]))},z.prototype.shouldColumnSelect=function(te){return te.altKey&&!(le.isMac&&this._optionsService.options.macOptionClickForcesSelection)},z.prototype._onMouseMove=function(te){if(te.stopImmediatePropagation(),this._model.selectionStart){var ce=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 ge=this._bufferService.buffer;if(this._model.selectionEnd[1]<ge.lines.length){var me=ge.lines.get(this._model.selectionEnd[1]);me&&me.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}ce&&ce[0]===this._model.selectionEnd[0]&&ce[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 ce=te.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&ce<500&&te.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var ge=this._mouseService.getCoords(te,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(ge&&ge[0]!==void 0&&ge[1]!==void 0){var me=ne.moveToCellSequence(ge[0]-1,ge[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(me,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},z.prototype._onBufferActivate=function(te){var ce=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=te.activeBuffer.lines.onTrim(function(ge){return ce._onTrim(ge)})},z.prototype._convertViewportColToCharacterIndex=function(te,ce){for(var ge=ce[0],me=0;ce[0]>=me;me++){var ve=te.loadCell(me,this._workCell).getChars().length;this._workCell.getWidth()===0?ge--:ve>1&&ce[0]!==me&&(ge+=ve-1)}return ge},z.prototype.setSelection=function(te,ce,ge){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[te,ce],this._model.selectionStartLength=ge,this.refresh()},z.prototype._getWordAt=function(te,ce,ge,me){if(ge===void 0&&(ge=!0),me===void 0&&(me=!0),!(te[0]>=this._bufferService.cols)){var ve=this._bufferService.buffer,pe=ve.lines.get(te[1]);if(pe){var be=ve.translateBufferLineToString(te[1],!1),ye=this._convertViewportColToCharacterIndex(pe,te),Ee=ye,Pe=te[0]-ye,Ae=0,Ce=0,_e=0,we=0;if(be.charAt(ye)===" "){for(;ye>0&&be.charAt(ye-1)===" ";)ye--;for(;Ee<be.length&&be.charAt(Ee+1)===" ";)Ee++}else{var Re=te[0],De=te[0];pe.getWidth(Re)===0&&(Ae++,Re--),pe.getWidth(De)===2&&(Ce++,De++);var ke=pe.getString(De).length;for(ke>1&&(we+=ke-1,Ee+=ke-1);Re>0&&ye>0&&!this._isCharWordSeparator(pe.loadCell(Re-1,this._workCell));){pe.loadCell(Re-1,this._workCell);var Ie=this._workCell.getChars().length;this._workCell.getWidth()===0?(Ae++,Re--):Ie>1&&(_e+=Ie-1,ye-=Ie-1),ye--,Re--}for(;De<pe.length&&Ee+1<be.length&&!this._isCharWordSeparator(pe.loadCell(De+1,this._workCell));){pe.loadCell(De+1,this._workCell);var qe=this._workCell.getChars().length;this._workCell.getWidth()===2?(Ce++,De++):qe>1&&(we+=qe-1,Ee+=qe-1),Ee++,De++}}Ee++;var Je=ye+Pe-Ae+_e,We=Math.min(this._bufferService.cols,Ee-ye+Ae+Ce-_e-we);if(ce||be.slice(ye,Ee).trim()!==""){if(ge&&Je===0&&pe.getCodePoint(0)!==32){var Qe=ve.lines.get(te[1]-1);if(Qe&&pe.isWrapped&&Qe.getCodePoint(this._bufferService.cols-1)!==32){var He=this._getWordAt([this._bufferService.cols-1,te[1]-1],!1,!0,!1);if(He){var Fe=this._bufferService.cols-He.start;Je-=Fe,We+=Fe}}}if(me&&Je+We===this._bufferService.cols&&pe.getCodePoint(this._bufferService.cols-1)!==32){var je=ve.lines.get(te[1]+1);if(je&&je.isWrapped&&je.getCodePoint(0)!==32){var et=this._getWordAt([0,te[1]+1],!1,!1,!0);et&&(We+=et.length)}}return{start:Je,length:We}}}}},z.prototype._selectWordAt=function(te,ce){var ge=this._getWordAt(te,ce);if(ge){for(;ge.start<0;)ge.start+=this._bufferService.cols,te[1]--;this._model.selectionStart=[ge.start,te[1]],this._model.selectionStartLength=ge.length}},z.prototype._selectToWordAt=function(te){var ce=this._getWordAt(te,!0);if(ce){for(var ge=te[1];ce.start<0;)ce.start+=this._bufferService.cols,ge--;if(!this._model.areSelectionValuesReversed())for(;ce.start+ce.length>this._bufferService.cols;)ce.length-=this._bufferService.cols,ge++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?ce.start:ce.start+ce.length,ge]}},z.prototype._isCharWordSeparator=function(te){return te.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(te.getChars())>=0},z.prototype._selectLineAt=function(te){var ce=this._bufferService.buffer.getWrappedRangeForLine(te);this._model.selectionStart=[0,ce.first],this._model.selectionEnd=[this._bufferService.cols,ce.last],this._model.selectionStartLength=0},z=he([fe(2,ae.IBufferService),fe(3,ae.ICoreService),fe(4,ue.IMouseService),fe(5,ae.IOptionsService),fe(6,ue.IRenderService)],z)}(ee.Disposable);de.SelectionService=x},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.SelectionModel=void 0;var xe=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,fe=this.selectionEnd;return!(!he||!fe)&&(he[1]>fe[1]||he[1]===fe[1]&&he[0]>fe[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}();de.SelectionModel=xe},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.moveToCellSequence=void 0;var xe=Se(12);function E(ie,ue,ae,oe){var ne=ie-he(ae,ie),ee=ue-he(ae,ue);return se(Math.abs(ne-ee)-function(a,y,x){for(var b=0,z=a-he(x,a),te=y-he(x,y),ce=0;ce<Math.abs(z-te);ce++){var ge=fe(a,y)==="A"?-1:1,me=x.buffer.lines.get(z+ge*ce);me&&me.isWrapped&&b++}return b}(ie,ue,ae),re(fe(ie,ue),oe))}function he(ie,ue){for(var ae=0,oe=ie.buffer.lines.get(ue),ne=oe&&oe.isWrapped;ne&&ue>=0&&ue<ie.rows;)ae++,ne=(oe=ie.buffer.lines.get(--ue))&&oe.isWrapped;return ae}function fe(ie,ue){return ie>ue?"A":"B"}function le(ie,ue,ae,oe,ne,ee){for(var a=ie,y=ue,x="";a!==ae||y!==oe;)a+=ne?1:-1,ne&&a>ee.cols-1?(x+=ee.buffer.translateBufferLineToString(y,!1,ie,a),a=0,ie=0,y++):!ne&&a<0&&(x+=ee.buffer.translateBufferLineToString(y,!1,0,ie+1),ie=a=ee.cols-1,y--);return x+ee.buffer.translateBufferLineToString(y,!1,ie,a)}function re(ie,ue){var ae=ue?"O":"[";return xe.C0.ESC+ae+ie}function se(ie,ue){ie=Math.floor(ie);for(var ae="",oe=0;oe<ie;oe++)ae+=ue;return ae}de.moveToCellSequence=function(ie,ue,ae,oe){var ne,ee=ae.buffer.x,a=ae.buffer.y;if(!ae.buffer.hasScrollback)return function(x,b,z,te,ce,ge){return E(b,te,ce,ge).length===0?"":se(le(x,b,x,b-he(ce,b),!1,ce).length,re("D",ge))}(ee,a,0,ue,ae,oe)+E(a,ue,ae,oe)+function(x,b,z,te,ce,ge){var me;me=E(b,te,ce,ge).length>0?te-he(ce,te):b;var ve=te,pe=function(be,ye,Ee,Pe,Ae,Ce){var _e;return _e=E(Ee,Pe,Ae,Ce).length>0?Pe-he(Ae,Pe):ye,be<Ee&&_e<=Pe||be>=Ee&&_e<Pe?"C":"D"}(x,b,z,te,ce,ge);return se(le(x,me,z,ve,pe==="C",ce).length,re(pe,ge))}(ee,a,ie,ue,ae,oe);if(a===ue)return ne=ee>ie?"D":"C",se(Math.abs(ee-ie),re(ne,oe));ne=a>ue?"D":"C";var y=Math.abs(a-ue);return se(function(x,b){return b.cols-x}(a>ue?ie:ee,ae)+(y-1)*ae.cols+1+((a>ue?ee:ie)-1),re(ne,oe))}},function(gt,de,Se){"use strict";var xe=this&&this.__decorate||function(le,re,se,ie){var ue,ae=arguments.length,oe=ae<3?re:ie===null?ie=Object.getOwnPropertyDescriptor(re,se):ie;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(le,re,se,ie);else for(var ne=le.length-1;ne>=0;ne--)(ue=le[ne])&&(oe=(ae<3?ue(oe):ae>3?ue(re,se,oe):ue(re,se))||oe);return ae>3&&oe&&Object.defineProperty(re,se,oe),oe},E=this&&this.__param||function(le,re){return function(se,ie){re(se,ie,le)}};Object.defineProperty(de,"__esModule",{value:!0}),de.SoundService=void 0;var he=Se(1),fe=function(){function le(re){this._optionsService=re}return Object.defineProperty(le,"audioContext",{get:function(){if(!le._audioContext){var re=window.AudioContext||window.webkitAudioContext;if(!re)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;le._audioContext=new re}return le._audioContext},enumerable:!1,configurable:!0}),le.prototype.playBellSound=function(){var re=le.audioContext;if(re){var se=re.createBufferSource();re.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(ie){se.buffer=ie,se.connect(re.destination),se.start(0)})}},le.prototype._base64ToArrayBuffer=function(re){for(var se=window.atob(re),ie=se.length,ue=new Uint8Array(ie),ae=0;ae<ie;ae++)ue[ae]=se.charCodeAt(ae);return ue.buffer},le.prototype._removeMimeType=function(re){return re.split(",")[1]},le=xe([E(0,he.IOptionsService)],le)}();de.SoundService=fe},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ee){ne.__proto__=ee}||function(ne,ee){for(var a in ee)ee.hasOwnProperty(a)&&(ne[a]=ee[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,ne):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,ee);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,ee){oe(ne,ee,ae)}};Object.defineProperty(de,"__esModule",{value:!0}),de.MouseZoneManager=void 0;var le=Se(2),re=Se(7),se=Se(5),ie=Se(1),ue=function(ae){function oe(ne,ee,a,y,x,b){var z=ae.call(this)||this;return z._element=ne,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(re.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(ne){this._zones.push(ne),this._zones.length===1&&this._activate()},oe.prototype.clearAll=function(ne,ee){if(this._zones.length!==0){ne&&ee||(ne=0,ee=this._bufferService.rows-1);for(var a=0;a<this._zones.length;a++){var y=this._zones[a];(y.y1>ne&&y.y1<=ee+1||y.y2>ne&&y.y2<=ee+1||y.y1<ne&&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(ne){this._lastHoverCoords[0]===ne.pageX&&this._lastHoverCoords[1]===ne.pageY||(this._onHover(ne),this._lastHoverCoords=[ne.pageX,ne.pageY])},oe.prototype._onHover=function(ne){var ee=this,a=this._findZoneEventAt(ne);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(ne),this._tooltipTimeout=window.setTimeout(function(){return ee._onTooltip(ne)},this._optionsService.options.linkTooltipHoverDuration)))},oe.prototype._onTooltip=function(ne){this._tooltipTimeout=void 0;var ee=this._findZoneEventAt(ne);ee&&ee.tooltipCallback&&ee.tooltipCallback(ne)},oe.prototype._onMouseDown=function(ne){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var ee=this._findZoneEventAt(ne);ee!=null&&ee.willLinkActivate(ne)&&(ne.preventDefault(),ne.stopImmediatePropagation())}},oe.prototype._onMouseLeave=function(ne){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},oe.prototype._onClick=function(ne){var ee=this._findZoneEventAt(ne),a=this._getSelectionLength();ee&&a===this._initialSelectionLength&&(ee.clickCallback(ne),ne.preventDefault(),ne.stopImmediatePropagation())},oe.prototype._getSelectionLength=function(){var ne=this._selectionService.selectionText;return ne?ne.length:0},oe.prototype._findZoneEventAt=function(ne){var ee=this._mouseService.getCoords(ne,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([fe(2,ie.IBufferService),fe(3,se.IMouseService),fe(4,se.ISelectionService),fe(5,ie.IOptionsService)],oe)}(le.Disposable);de.MouseZoneManager=ue},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(oe,ne){return(xe=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,ne)},function(oe,ne){function ee(){this.constructor=oe}xe(oe,ne),oe.prototype=ne===null?Object.create(ne):(ee.prototype=ne.prototype,new ee)});Object.defineProperty(de,"__esModule",{value:!0}),de.AccessibilityManager=void 0;var he=Se(18),fe=Se(11),le=Se(31),re=Se(7),se=Se(2),ie=Se(32),ue=Se(17),ae=function(oe){function ne(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 le.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 ie.ScreenDprMonitor,y.register(y._screenDprMonitor),y._screenDprMonitor.setListener(function(){return y._refreshRowsDimensions()}),y.register(re.addDisposableDomListener(window,"resize",function(){return y._refreshRowsDimensions()})),y}return E(ne,oe),ne.prototype.dispose=function(){oe.prototype.dispose.call(this),ue.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},ne.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()}},ne.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()},ne.prototype._createAccessibilityTreeNode=function(){var ee=document.createElement("div");return ee.setAttribute("role","listitem"),ee.tabIndex=-1,this._refreshRowDimensions(ee),ee},ne.prototype._onTab=function(ee){for(var a=0;a<ee;a++)this._onChar(" ")},ne.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)),fe.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){a._accessibilityTreeRoot.appendChild(a._liveRegion)},0))},ne.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,fe.isMac&&ue.removeElementFromParent(this._liveRegion)},ne.prototype._onKey=function(ee){this._clearLiveRegion(),this._charsToConsume.push(ee)},ne.prototype._refreshRows=function(ee,a){this._renderRowsDebouncer.refresh(ee,a,this._terminal.rows)},ne.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(),ce=this._rowElements[b];ce&&(z.length===0?ce.innerHTML="&nbsp;":ce.textContent=z,ce.setAttribute("aria-posinset",te),ce.setAttribute("aria-setsize",x))}this._announceCharacters()},ne.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])}},ne.prototype._refreshRowDimensions=function(ee){ee.style.height=this._renderService.dimensions.actualCellHeight+"px"},ne.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},ne}(se.Disposable);de.AccessibilityManager=ae},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(y,x){return(xe=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}xe(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,ce=arguments.length,ge=ce<3?x:z===null?z=Object.getOwnPropertyDescriptor(x,b):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ge=Reflect.decorate(y,x,b,z);else for(var me=y.length-1;me>=0;me--)(te=y[me])&&(ge=(ce<3?te(ge):ce>3?te(x,b,ge):te(x,b))||ge);return ce>3&&ge&&Object.defineProperty(x,b,ge),ge},fe=this&&this.__param||function(y,x){return function(b,z){x(b,z,y)}};Object.defineProperty(de,"__esModule",{value:!0}),de.DomRenderer=void 0;var le=Se(58),re=Se(9),se=Se(2),ie=Se(5),ue=Se(1),ae=Se(0),oe=Se(10),ne=Se(17),ee=1,a=function(y){function x(b,z,te,ce,ge,me,ve,pe,be){var ye=y.call(this)||this;return ye._colors=b,ye._element=z,ye._screenElement=te,ye._viewportElement=ce,ye._linkifier=ge,ye._linkifier2=me,ye._charSizeService=ve,ye._optionsService=pe,ye._bufferService=be,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 le.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(Ee){return ye._onLinkHover(Ee)}),ye._linkifier.onHideLinkUnderline(function(Ee){return ye._onLinkLeave(Ee)}),ye._linkifier2.onShowLinkUnderline(function(Ee){return ye._onLinkHover(Ee)}),ye._linkifier2.onHideLinkUnderline(function(Ee){return ye._onLinkLeave(Ee)}),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),ne.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 ce=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=ce,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(."+le.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+le.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+le.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) ."+le.CURSOR_CLASS+"."+le.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+le.CURSOR_CLASS+"."+le.CURSOR_BLINK_CLASS+":not(."+le.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+le.CURSOR_CLASS+"."+le.CURSOR_BLINK_CLASS+"."+le.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+le.CURSOR_CLASS+"."+le.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+le.CURSOR_CLASS+"."+le.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+le.CURSOR_CLASS+"."+le.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,ce){z+=b._terminalSelector+" .xterm-fg-"+ce+" { color: "+te.css+"; }"+b._terminalSelector+" .xterm-bg-"+ce+" { background-color: "+te.css+"; }"}),z+=this._terminalSelector+" .xterm-fg-"+re.INVERTED_DEFAULT_COLOR+" { color: "+oe.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+re.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 ce=document.createElement("div");this._rowContainer.appendChild(ce),this._rowElements.push(ce)}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 ce=b[1]-this._bufferService.buffer.ydisp,ge=z[1]-this._bufferService.buffer.ydisp,me=Math.max(ce,0),ve=Math.min(ge,this._bufferService.rows-1);if(!(me>=this._bufferService.rows||ve<0)){var pe=document.createDocumentFragment();if(te)pe.appendChild(this._createSelectionElement(me,b[0],z[0],ve-me+1));else{var be=ce===me?b[0]:0,ye=me===ve?z[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(me,be,ye));var Ee=ve-me-1;if(pe.appendChild(this._createSelectionElement(me+1,0,this._bufferService.cols,Ee)),me!==ve){var Pe=ge===ve?z[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(ve,0,Pe))}}this._selectionContainer.appendChild(pe)}}},x.prototype._createSelectionElement=function(b,z,te,ce){ce===void 0&&(ce=1);var ge=document.createElement("div");return ge.style.height=ce*this.dimensions.actualCellHeight+"px",ge.style.top=b*this.dimensions.actualCellHeight+"px",ge.style.left=z*this.dimensions.actualCellWidth+"px",ge.style.width=this.dimensions.actualCellWidth*(te-z)+"px",ge},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,ce=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),ge=this._optionsService.options.cursorBlink,me=b;me<=z;me++){var ve=this._rowElements[me];ve.innerHTML="";var pe=me+this._bufferService.buffer.ydisp,be=this._bufferService.buffer.lines.get(pe),ye=this._optionsService.options.cursorStyle;ve.appendChild(this._rowFactory.createRow(be,pe===te,ye,ce,ge,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,ce,ge,me){for(;b!==z||te!==ce;){var ve=this._rowElements[te];if(!ve)return;var pe=ve.children[b];pe&&(pe.style.textDecoration=me?"underline":"none"),++b>=ge&&(b=0,te++)}},x=he([fe(6,ie.ICharSizeService),fe(7,ue.IOptionsService),fe(8,ue.IBufferService)],x)}(se.Disposable);de.DomRenderer=a},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.DomRendererRowFactory=de.CURSOR_STYLE_UNDERLINE_CLASS=de.CURSOR_STYLE_BAR_CLASS=de.CURSOR_STYLE_BLOCK_CLASS=de.CURSOR_BLINK_CLASS=de.CURSOR_CLASS=de.UNDERLINE_CLASS=de.ITALIC_CLASS=de.DIM_CLASS=de.BOLD_CLASS=void 0;var xe=Se(9),E=Se(3),he=Se(4),fe=Se(10);de.BOLD_CLASS="xterm-bold",de.DIM_CLASS="xterm-dim",de.ITALIC_CLASS="xterm-italic",de.UNDERLINE_CLASS="xterm-underline",de.CURSOR_CLASS="xterm-cursor",de.CURSOR_BLINK_CLASS="xterm-cursor-blink",de.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",de.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",de.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var le=function(){function se(ie,ue,ae){this._document=ie,this._optionsService=ue,this._colors=ae,this._workCell=new he.CellData}return se.prototype.setColors=function(ie){this._colors=ie},se.prototype.createRow=function(ie,ue,ae,oe,ne,ee,a){for(var y=this._document.createDocumentFragment(),x=0,b=Math.min(ie.length,a)-1;b>=0;b--)if(ie.loadCell(b,this._workCell).getCode()!==E.NULL_CELL_CODE||ue&&b===oe){x=b+1;break}for(b=0;b<x;b++){ie.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(de.CURSOR_CLASS),ne&&te.classList.add(de.CURSOR_BLINK_CLASS),ae){case"bar":te.classList.add(de.CURSOR_STYLE_BAR_CLASS);break;case"underline":te.classList.add(de.CURSOR_STYLE_UNDERLINE_CLASS);break;default:te.classList.add(de.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&te.classList.add(de.BOLD_CLASS),this._workCell.isItalic()&&te.classList.add(de.ITALIC_CLASS),this._workCell.isDim()&&te.classList.add(de.DIM_CLASS),this._workCell.isUnderline()&&te.classList.add(de.UNDERLINE_CLASS),this._workCell.isInvisible()?te.textContent=E.WHITESPACE_CELL_CHAR:te.textContent=this._workCell.getChars()||E.WHITESPACE_CELL_CHAR;var ce=this._workCell.getFgColor(),ge=this._workCell.getFgColorMode(),me=this._workCell.getBgColor(),ve=this._workCell.getBgColorMode(),pe=!!this._workCell.isInverse();if(pe){var be=ce;ce=me,me=be;var ye=ge;ge=ve,ve=ye}switch(ge){case 16777216:case 33554432:this._workCell.isBold()&&ce<8&&this._optionsService.options.drawBoldTextInBrightColors&&(ce+=8),this._applyMinimumContrast(te,this._colors.background,this._colors.ansi[ce])||te.classList.add("xterm-fg-"+ce);break;case 50331648:var Ee=fe.rgba.toColor(ce>>16&255,ce>>8&255,255&ce);this._applyMinimumContrast(te,this._colors.background,Ee)||this._addStyle(te,"color:#"+re(ce.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(te,this._colors.background,this._colors.foreground)||pe&&te.classList.add("xterm-fg-"+xe.INVERTED_DEFAULT_COLOR)}switch(ve){case 16777216:case 33554432:te.classList.add("xterm-bg-"+me);break;case 50331648:this._addStyle(te,"background-color:#"+re(me.toString(16),"0",6));break;case 0:default:pe&&te.classList.add("xterm-bg-"+xe.INVERTED_DEFAULT_COLOR)}y.appendChild(te)}}return y},se.prototype._applyMinimumContrast=function(ie,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=fe.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(ie,"color:"+oe.css),!0)},se.prototype._addStyle=function(ie,ue){ie.setAttribute("style",""+(ie.getAttribute("style")||"")+ue+";")},se}();function re(se,ie,ue){for(;se.length<ue;)se=ie+se;return se}de.DomRendererRowFactory=le},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.evaluateKeyboardEvent=void 0;var xe=Se(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:["'",'"']};de.evaluateKeyboardEvent=function(he,fe,le,re){var se={type:0,cancel:!1,key:void 0},ie=(he.shiftKey?1:0)|(he.altKey?2:0)|(he.ctrlKey?4:0)|(he.metaKey?8:0);switch(he.keyCode){case 0:he.key==="UIKeyInputUpArrow"?se.key=fe?xe.C0.ESC+"OA":xe.C0.ESC+"[A":he.key==="UIKeyInputLeftArrow"?se.key=fe?xe.C0.ESC+"OD":xe.C0.ESC+"[D":he.key==="UIKeyInputRightArrow"?se.key=fe?xe.C0.ESC+"OC":xe.C0.ESC+"[C":he.key==="UIKeyInputDownArrow"&&(se.key=fe?xe.C0.ESC+"OB":xe.C0.ESC+"[B");break;case 8:if(he.shiftKey){se.key=xe.C0.BS;break}if(he.altKey){se.key=xe.C0.ESC+xe.C0.DEL;break}se.key=xe.C0.DEL;break;case 9:if(he.shiftKey){se.key=xe.C0.ESC+"[Z";break}se.key=xe.C0.HT,se.cancel=!0;break;case 13:se.key=he.altKey?xe.C0.ESC+xe.C0.CR:xe.C0.CR,se.cancel=!0;break;case 27:se.key=xe.C0.ESC,he.altKey&&(se.key=xe.C0.ESC+xe.C0.ESC),se.cancel=!0;break;case 37:if(he.metaKey)break;ie?(se.key=xe.C0.ESC+"[1;"+(ie+1)+"D",se.key===xe.C0.ESC+"[1;3D"&&(se.key=xe.C0.ESC+(le?"b":"[1;5D"))):se.key=fe?xe.C0.ESC+"OD":xe.C0.ESC+"[D";break;case 39:if(he.metaKey)break;ie?(se.key=xe.C0.ESC+"[1;"+(ie+1)+"C",se.key===xe.C0.ESC+"[1;3C"&&(se.key=xe.C0.ESC+(le?"f":"[1;5C"))):se.key=fe?xe.C0.ESC+"OC":xe.C0.ESC+"[C";break;case 38:if(he.metaKey)break;ie?(se.key=xe.C0.ESC+"[1;"+(ie+1)+"A",le||se.key!==xe.C0.ESC+"[1;3A"||(se.key=xe.C0.ESC+"[1;5A")):se.key=fe?xe.C0.ESC+"OA":xe.C0.ESC+"[A";break;case 40:if(he.metaKey)break;ie?(se.key=xe.C0.ESC+"[1;"+(ie+1)+"B",le||se.key!==xe.C0.ESC+"[1;3B"||(se.key=xe.C0.ESC+"[1;5B")):se.key=fe?xe.C0.ESC+"OB":xe.C0.ESC+"[B";break;case 45:he.shiftKey||he.ctrlKey||(se.key=xe.C0.ESC+"[2~");break;case 46:se.key=ie?xe.C0.ESC+"[3;"+(ie+1)+"~":xe.C0.ESC+"[3~";break;case 36:se.key=ie?xe.C0.ESC+"[1;"+(ie+1)+"H":fe?xe.C0.ESC+"OH":xe.C0.ESC+"[H";break;case 35:se.key=ie?xe.C0.ESC+"[1;"+(ie+1)+"F":fe?xe.C0.ESC+"OF":xe.C0.ESC+"[F";break;case 33:he.shiftKey?se.type=2:se.key=xe.C0.ESC+"[5~";break;case 34:he.shiftKey?se.type=3:se.key=xe.C0.ESC+"[6~";break;case 112:se.key=ie?xe.C0.ESC+"[1;"+(ie+1)+"P":xe.C0.ESC+"OP";break;case 113:se.key=ie?xe.C0.ESC+"[1;"+(ie+1)+"Q":xe.C0.ESC+"OQ";break;case 114:se.key=ie?xe.C0.ESC+"[1;"+(ie+1)+"R":xe.C0.ESC+"OR";break;case 115:se.key=ie?xe.C0.ESC+"[1;"+(ie+1)+"S":xe.C0.ESC+"OS";break;case 116:se.key=ie?xe.C0.ESC+"[15;"+(ie+1)+"~":xe.C0.ESC+"[15~";break;case 117:se.key=ie?xe.C0.ESC+"[17;"+(ie+1)+"~":xe.C0.ESC+"[17~";break;case 118:se.key=ie?xe.C0.ESC+"[18;"+(ie+1)+"~":xe.C0.ESC+"[18~";break;case 119:se.key=ie?xe.C0.ESC+"[19;"+(ie+1)+"~":xe.C0.ESC+"[19~";break;case 120:se.key=ie?xe.C0.ESC+"[20;"+(ie+1)+"~":xe.C0.ESC+"[20~";break;case 121:se.key=ie?xe.C0.ESC+"[21;"+(ie+1)+"~":xe.C0.ESC+"[21~";break;case 122:se.key=ie?xe.C0.ESC+"[23;"+(ie+1)+"~":xe.C0.ESC+"[23~";break;case 123:se.key=ie?xe.C0.ESC+"[24;"+(ie+1)+"~":xe.C0.ESC+"[24~";break;default:if(!he.ctrlKey||he.shiftKey||he.altKey||he.metaKey)if(le&&!re||!he.altKey||he.metaKey)le&&!he.altKey&&!he.ctrlKey&&he.metaKey?he.keyCode===65&&(se.type=1):he.key&&!he.ctrlKey&&!he.altKey&&!he.metaKey&&he.keyCode>=48&&he.key.length===1?se.key=he.key:he.key&&he.ctrlKey&&he.key==="_"&&(se.key=xe.C0.US);else{var ue=E[he.keyCode],ae=ue&&ue[he.shiftKey?1:0];if(ae)se.key=xe.C0.ESC+ae;else if(he.keyCode>=65&&he.keyCode<=90){var oe=he.ctrlKey?he.keyCode-64:he.keyCode+32;se.key=xe.C0.ESC+String.fromCharCode(oe)}}else he.keyCode>=65&&he.keyCode<=90?se.key=String.fromCharCode(he.keyCode-64):he.keyCode===32?se.key=xe.C0.NUL:he.keyCode>=51&&he.keyCode<=55?se.key=String.fromCharCode(he.keyCode-51+27):he.keyCode===56?se.key=xe.C0.DEL:he.keyCode===219?se.key=xe.C0.ESC:he.keyCode===220?se.key=xe.C0.FS:he.keyCode===221&&(se.key=xe.C0.GS)}return se}},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ee,a){return(xe=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}xe(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 ce=ee.length-1;ce>=0;ce--)(b=ee[ce])&&(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},fe=this&&this.__param||function(ee,a){return function(y,x){a(y,x,ee)}};Object.defineProperty(de,"__esModule",{value:!0}),de.RenderService=void 0;var le=Se(31),re=Se(0),se=Se(2),ie=Se(32),ue=Se(7),ae=Se(1),oe=Se(5),ne=function(ee){function a(y,x,b,z,te,ce){var ge=ee.call(this)||this;if(ge._renderer=y,ge._rowCount=x,ge._isPaused=!1,ge._needsFullRefresh=!1,ge._isNextRenderRedrawOnly=!0,ge._needsSelectionRefresh=!1,ge._canvasWidth=0,ge._canvasHeight=0,ge._selectionState={start:void 0,end:void 0,columnSelectMode:!1},ge._onDimensionsChange=new re.EventEmitter,ge._onRender=new re.EventEmitter,ge._onRefreshRequest=new re.EventEmitter,ge.register({dispose:function(){return ge._renderer.dispose()}}),ge._renderDebouncer=new le.RenderDebouncer(function(ve,pe){return ge._renderRows(ve,pe)}),ge.register(ge._renderDebouncer),ge._screenDprMonitor=new ie.ScreenDprMonitor,ge._screenDprMonitor.setListener(function(){return ge.onDevicePixelRatioChange()}),ge.register(ge._screenDprMonitor),ge.register(ce.onResize(function(ve){return ge._fullRefresh()})),ge.register(z.onOptionChange(function(){return ge._renderer.onOptionsChanged()})),ge.register(te.onCharSizeChange(function(){return ge.onCharSizeChanged()})),ge._renderer.onRequestRedraw(function(ve){return ge.refreshRows(ve.start,ve.end,!0)}),ge.register(ue.addDisposableDomListener(window,"resize",function(){return ge.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var me=new IntersectionObserver(function(ve){return ge._onIntersectionChange(ve[ve.length-1])},{threshold:0});me.observe(b),ge.register({dispose:function(){return me.disconnect()}})}return ge}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([fe(3,ae.IOptionsService),fe(4,oe.ICharSizeService),fe(5,ae.IBufferService)],a)}(se.Disposable);de.RenderService=ne},function(gt,de,Se){"use strict";var xe=this&&this.__decorate||function(se,ie,ue,ae){var oe,ne=arguments.length,ee=ne<3?ie:ae===null?ae=Object.getOwnPropertyDescriptor(ie,ue):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(se,ie,ue,ae);else for(var a=se.length-1;a>=0;a--)(oe=se[a])&&(ee=(ne<3?oe(ee):ne>3?oe(ie,ue,ee):oe(ie,ue))||ee);return ne>3&&ee&&Object.defineProperty(ie,ue,ee),ee},E=this&&this.__param||function(se,ie){return function(ue,ae){ie(ue,ae,se)}};Object.defineProperty(de,"__esModule",{value:!0}),de.CharSizeService=void 0;var he=Se(1),fe=Se(0),le=function(){function se(ie,ue,ae){this._optionsService=ae,this.width=0,this.height=0,this._onCharSizeChange=new fe.EventEmitter,this._measureStrategy=new re(ie,ue,this._optionsService)}return Object.defineProperty(se.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),se.prototype.measure=function(){var ie=this._measureStrategy.measure();ie.width===this.width&&ie.height===this.height||(this.width=ie.width,this.height=ie.height,this._onCharSizeChange.fire())},se=xe([E(2,he.IOptionsService)],se)}();de.CharSizeService=le;var re=function(){function se(ie,ue,ae){this._document=ie,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 se.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var ie=this._measureElement.getBoundingClientRect();return ie.width!==0&&ie.height!==0&&(this._result.width=ie.width,this._result.height=Math.ceil(ie.height)),this._result},se}()},function(gt,de,Se){"use strict";var xe=this&&this.__decorate||function(re,se,ie,ue){var ae,oe=arguments.length,ne=oe<3?se:ue===null?ue=Object.getOwnPropertyDescriptor(se,ie):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(re,se,ie,ue);else for(var ee=re.length-1;ee>=0;ee--)(ae=re[ee])&&(ne=(oe<3?ae(ne):oe>3?ae(se,ie,ne):ae(se,ie))||ne);return oe>3&&ne&&Object.defineProperty(se,ie,ne),ne},E=this&&this.__param||function(re,se){return function(ie,ue){se(ie,ue,re)}};Object.defineProperty(de,"__esModule",{value:!0}),de.MouseService=void 0;var he=Se(5),fe=Se(30),le=function(){function re(se,ie){this._renderService=se,this._charSizeService=ie}return re.prototype.getCoords=function(se,ie,ue,ae,oe){return fe.getCoords(se,ie,ue,ae,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,oe)},re.prototype.getRawByteCoords=function(se,ie,ue,ae){var oe=this.getCoords(se,ie,ue,ae);return fe.getRawByteCoords(oe)},re=xe([E(0,he.IRenderService),E(1,he.ICharSizeService)],re)}();de.MouseService=le},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ee){ne.__proto__=ee}||function(ne,ee){for(var a in ee)ee.hasOwnProperty(a)&&(ne[a]=ee[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,ne):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,ee);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,ee){oe(ne,ee,ae)}};Object.defineProperty(de,"__esModule",{value:!0}),de.Linkifier2=void 0;var le=Se(1),re=Se(0),se=Se(2),ie=Se(7),ue=function(ae){function oe(ne){var ee=ae.call(this)||this;return ee._bufferService=ne,ee._linkProviders=[],ee._linkCacheDisposables=[],ee._isMouseOut=!0,ee._activeLine=-1,ee._onShowLinkUnderline=ee.register(new re.EventEmitter),ee._onHideLinkUnderline=ee.register(new re.EventEmitter),ee.register(se.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(ne){var ee=this;return this._linkProviders.push(ne),{dispose:function(){var a=ee._linkProviders.indexOf(ne);a!==-1&&ee._linkProviders.splice(a,1)}}},oe.prototype.attachToDom=function(ne,ee,a){var y=this;this._element=ne,this._mouseService=ee,this._renderService=a,this.register(ie.addDisposableDomListener(this._element,"mouseleave",function(){y._isMouseOut=!0,y._clearCurrentLink()})),this.register(ie.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(ie.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},oe.prototype._onMouseMove=function(ne){if(this._lastMouseEvent=ne,this._element&&this._mouseService){var ee=this._positionFromMouseEvent(ne,this._element,this._mouseService);if(ee){this._isMouseOut=!1;for(var a=ne.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(ne){if(this._activeLine!==ne.y)return this._clearCurrentLink(),void this._askForLink(ne,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,ne)||(this._clearCurrentLink(),this._askForLink(ne,!0))},oe.prototype._askForLink=function(ne,ee){var a=this;this._activeProviderReplies&&ee||(this._activeProviderReplies=new Map,this._activeLine=ne.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,ne,y)):x.provideLinks(ne.y,function(te){var ce,ge;if(!a._isMouseOut){var me=te==null?void 0:te.map(function(ve){return{link:ve}});(ce=a._activeProviderReplies)===null||ce===void 0||ce.set(b,me),y=a._checkLinkProviderResult(b,ne,y),((ge=a._activeProviderReplies)===null||ge===void 0?void 0:ge.size)===a._linkProviders.length&&a._removeIntersectingLinks(ne.y,a._activeProviderReplies)}})})},oe.prototype._removeIntersectingLinks=function(ne,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<ne?0:z.link.range.start.x,ce=z.link.range.end.y>ne?this._bufferService.cols:z.link.range.end.x,ge=te;ge<=ce;ge++){if(a.has(ge)){x.splice(b--,1);break}a.add(ge)}}},oe.prototype._checkLinkProviderResult=function(ne,ee,a){var y,x=this;if(!this._activeProviderReplies)return a;for(var b=this._activeProviderReplies.get(ne),z=!1,te=0;te<ne;te++)this._activeProviderReplies.has(te)&&!this._activeProviderReplies.get(te)||(z=!0);if(!z&&b){var ce=b.find(function(me){return x._linkAtPosition(me.link,ee)});ce&&(a=!0,this._handleNewLink(ce))}if(this._activeProviderReplies.size===this._linkProviders.length&&!a)for(te=0;te<this._activeProviderReplies.size;te++){var ge=(y=this._activeProviderReplies.get(te))===null||y===void 0?void 0:y.find(function(me){return x._linkAtPosition(me.link,ee)});if(ge){a=!0,this._handleNewLink(ge);break}}return a},oe.prototype._onClick=function(ne){if(this._element&&this._mouseService&&this._currentLink){var ee=this._positionFromMouseEvent(ne,this._element,this._mouseService);ee&&this._linkAtPosition(this._currentLink.link,ee)&&this._currentLink.link.activate(ne,this._currentLink.link.text)}},oe.prototype._clearCurrentLink=function(ne,ee){this._element&&this._currentLink&&this._lastMouseEvent&&(!ne||!ee||this._currentLink.link.range.start.y>=ne&&this._currentLink.link.range.end.y<=ee)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,se.disposeArray(this._linkCacheDisposables))},oe.prototype._handleNewLink=function(ne){var ee=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var a=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);a&&this._linkAtPosition(ne.link,a)&&(this._currentLink=ne,this._currentLink.state={decorations:{underline:ne.link.decorations===void 0||ne.link.decorations.underline,pointerCursor:ne.link.decorations===void 0||ne.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,ne.link,this._lastMouseEvent),ne.link.decorations={},Object.defineProperties(ne.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(ne.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(ne,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&&ne.classList.add("xterm-cursor-pointer")),ee.hover&&ee.hover(a,ee.text)},oe.prototype._fireUnderlineEvent=function(ne,ee){var a=ne.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(ne,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&&ne.classList.remove("xterm-cursor-pointer")),ee.leave&&ee.leave(a,ee.text)},oe.prototype._linkAtPosition=function(ne,ee){var a=ne.range.start.y===ne.range.end.y,y=ne.range.start.y<ee.y,x=ne.range.end.y>ee.y;return(a&&ne.range.start.x<=ee.x&&ne.range.end.x>=ee.x||y&&ne.range.end.x>=ee.x||x&&ne.range.start.x<=ee.x||y&&x)&&ne.range.start.y<=ee.y&&ne.range.end.y>=ee.y},oe.prototype._positionFromMouseEvent=function(ne,ee,a){var y=a.getCoords(ne,ee,this._bufferService.cols,this._bufferService.rows);if(y)return{x:y[0],y:y[1]+this._bufferService.buffer.ydisp}},oe.prototype._createLinkUnderlineEvent=function(ne,ee,a,y,x){return{x1:ne,y1:ee,x2:a,y2:y,cols:this._bufferService.cols,fg:x}},oe=he([fe(0,le.IBufferService)],oe)}(se.Disposable);de.Linkifier2=ue},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.CoreBrowserService=void 0;var xe=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}();de.CoreBrowserService=xe},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(te,ce){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ge,me){ge.__proto__=me}||function(ge,me){for(var ve in me)me.hasOwnProperty(ve)&&(ge[ve]=me[ve])})(te,ce)},function(te,ce){function ge(){this.constructor=te}xe(te,ce),te.prototype=ce===null?Object.create(ce):(ge.prototype=ce.prototype,new ge)});Object.defineProperty(de,"__esModule",{value:!0}),de.CoreTerminal=void 0;var he=Se(2),fe=Se(1),le=Se(66),re=Se(67),se=Se(68),ie=Se(74),ue=Se(75),ae=Se(0),oe=Se(76),ne=Se(77),ee=Se(78),a=Se(80),y=Se(81),x=Se(19),b=Se(82),z=function(te){function ce(ge){var me=te.call(this)||this;return me._onBinary=new ae.EventEmitter,me._onData=new ae.EventEmitter,me._onLineFeed=new ae.EventEmitter,me._onResize=new ae.EventEmitter,me._onScroll=new ae.EventEmitter,me._instantiationService=new le.InstantiationService,me.optionsService=new ie.OptionsService(ge),me._instantiationService.setService(fe.IOptionsService,me.optionsService),me._bufferService=me.register(me._instantiationService.createInstance(se.BufferService)),me._instantiationService.setService(fe.IBufferService,me._bufferService),me._logService=me._instantiationService.createInstance(re.LogService),me._instantiationService.setService(fe.ILogService,me._logService),me._coreService=me.register(me._instantiationService.createInstance(ue.CoreService,function(){return me.scrollToBottom()})),me._instantiationService.setService(fe.ICoreService,me._coreService),me._coreMouseService=me._instantiationService.createInstance(oe.CoreMouseService),me._instantiationService.setService(fe.ICoreMouseService,me._coreMouseService),me._dirtyRowService=me._instantiationService.createInstance(ne.DirtyRowService),me._instantiationService.setService(fe.IDirtyRowService,me._dirtyRowService),me.unicodeService=me._instantiationService.createInstance(ee.UnicodeService),me._instantiationService.setService(fe.IUnicodeService,me.unicodeService),me._charsetService=me._instantiationService.createInstance(a.CharsetService),me._instantiationService.setService(fe.ICharsetService,me._charsetService),me._inputHandler=new x.InputHandler(me._bufferService,me._charsetService,me._coreService,me._dirtyRowService,me._logService,me.optionsService,me._coreMouseService,me.unicodeService),me.register(ae.forwardEvent(me._inputHandler.onLineFeed,me._onLineFeed)),me.register(me._inputHandler),me.register(ae.forwardEvent(me._bufferService.onResize,me._onResize)),me.register(ae.forwardEvent(me._coreService.onData,me._onData)),me.register(ae.forwardEvent(me._coreService.onBinary,me._onBinary)),me.register(me.optionsService.onOptionChange(function(ve){return me._updateOptions(ve)})),me._writeBuffer=new b.WriteBuffer(function(ve){return me._inputHandler.parse(ve)}),me}return E(ce,te),Object.defineProperty(ce.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),ce.prototype.dispose=function(){var ge;this._isDisposed||(te.prototype.dispose.call(this),(ge=this._windowsMode)===null||ge===void 0||ge.dispose(),this._windowsMode=void 0)},ce.prototype.write=function(ge,me){this._writeBuffer.write(ge,me)},ce.prototype.writeSync=function(ge){this._writeBuffer.writeSync(ge)},ce.prototype.resize=function(ge,me){isNaN(ge)||isNaN(me)||(ge=Math.max(ge,se.MINIMUM_COLS),me=Math.max(me,se.MINIMUM_ROWS),this._bufferService.resize(ge,me))},ce.prototype.scroll=function(ge,me){me===void 0&&(me=!1);var ve,pe=this._bufferService.buffer;(ve=this._cachedBlankLine)&&ve.length===this.cols&&ve.getFg(0)===ge.fg&&ve.getBg(0)===ge.bg||(ve=pe.getBlankLine(ge,me),this._cachedBlankLine=ve),ve.isWrapped=me;var be=pe.ybase+pe.scrollTop,ye=pe.ybase+pe.scrollBottom;if(pe.scrollTop===0){var Ee=pe.lines.isFull;ye===pe.lines.length-1?Ee?pe.lines.recycle().copyFrom(ve):pe.lines.push(ve.clone()):pe.lines.splice(ye+1,0,ve.clone()),Ee?this._bufferService.isUserScrolling&&(pe.ydisp=Math.max(pe.ydisp-1,0)):(pe.ybase++,this._bufferService.isUserScrolling||pe.ydisp++)}else{var Pe=ye-be+1;pe.lines.shiftElements(be+1,Pe-1,-1),pe.lines.set(ye,ve.clone())}this._bufferService.isUserScrolling||(pe.ydisp=pe.ybase),this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom),this._onScroll.fire(pe.ydisp)},ce.prototype.scrollLines=function(ge,me){var ve=this._bufferService.buffer;if(ge<0){if(ve.ydisp===0)return;this._bufferService.isUserScrolling=!0}else ge+ve.ydisp>=ve.ybase&&(this._bufferService.isUserScrolling=!1);var pe=ve.ydisp;ve.ydisp=Math.max(Math.min(ve.ydisp+ge,ve.ybase),0),pe!==ve.ydisp&&(me||this._onScroll.fire(ve.ydisp))},ce.prototype.scrollPages=function(ge){this.scrollLines(ge*(this.rows-1))},ce.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},ce.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},ce.prototype.scrollToLine=function(ge){var me=ge-this._bufferService.buffer.ydisp;me!==0&&this.scrollLines(me)},ce.prototype.addEscHandler=function(ge,me){return this._inputHandler.addEscHandler(ge,me)},ce.prototype.addDcsHandler=function(ge,me){return this._inputHandler.addDcsHandler(ge,me)},ce.prototype.addCsiHandler=function(ge,me){return this._inputHandler.addCsiHandler(ge,me)},ce.prototype.addOscHandler=function(ge,me){return this._inputHandler.addOscHandler(ge,me)},ce.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},ce.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},ce.prototype._updateOptions=function(ge){var me;switch(ge){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((me=this._windowsMode)===null||me===void 0||me.dispose(),this._windowsMode=void 0)}},ce.prototype._enableWindowsMode=function(){var ge=this;if(!this._windowsMode){var me=[];me.push(this.onLineFeed(y.updateWindowsModeWrappedState.bind(null,this._bufferService))),me.push(this.addCsiHandler({final:"H"},function(){return y.updateWindowsModeWrappedState(ge._bufferService),!1})),this._windowsMode={dispose:function(){for(var ve=0,pe=me;ve<pe.length;ve++)pe[ve].dispose()}}}},ce}(he.Disposable);de.CoreTerminal=z},function(gt,de,Se){"use strict";var xe=this&&this.__spreadArrays||function(){for(var re=0,se=0,ie=arguments.length;se<ie;se++)re+=arguments[se].length;var ue=Array(re),ae=0;for(se=0;se<ie;se++)for(var oe=arguments[se],ne=0,ee=oe.length;ne<ee;ne++,ae++)ue[ae]=oe[ne];return ue};Object.defineProperty(de,"__esModule",{value:!0}),de.InstantiationService=de.ServiceCollection=void 0;var E=Se(1),he=Se(14),fe=function(){function re(){for(var se=[],ie=0;ie<arguments.length;ie++)se[ie]=arguments[ie];this._entries=new Map;for(var ue=0,ae=se;ue<ae.length;ue++){var oe=ae[ue],ne=oe[0],ee=oe[1];this.set(ne,ee)}}return re.prototype.set=function(se,ie){var ue=this._entries.get(se);return this._entries.set(se,ie),ue},re.prototype.forEach=function(se){this._entries.forEach(function(ie,ue){return se(ue,ie)})},re.prototype.has=function(se){return this._entries.has(se)},re.prototype.get=function(se){return this._entries.get(se)},re}();de.ServiceCollection=fe;var le=function(){function re(){this._services=new fe,this._services.set(E.IInstantiationService,this)}return re.prototype.setService=function(se,ie){this._services.set(se,ie)},re.prototype.getService=function(se){return this._services.get(se)},re.prototype.createInstance=function(se){for(var ie=[],ue=1;ue<arguments.length;ue++)ie[ue-1]=arguments[ue];for(var ae=he.getServiceDependencies(se).sort(function(b,z){return b.index-z.index}),oe=[],ne=0,ee=ae;ne<ee.length;ne++){var a=ee[ne],y=this._services.get(a.id);if(!y)throw new Error("[createInstance] "+se.name+" depends on UNKNOWN service "+a.id+".");oe.push(y)}var x=ae.length>0?ae[0].index:ie.length;if(ie.length!==x)throw new Error("[createInstance] First service dependency of "+se.name+" at position "+(x+1)+" conflicts with "+ie.length+" static arguments");return new(se.bind.apply(se,xe([void 0],xe(ie,oe))))},re}();de.InstantiationService=le},function(gt,de,Se){"use strict";var xe=this&&this.__decorate||function(ie,ue,ae,oe){var ne,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(ie,ue,ae,oe);else for(var y=ie.length-1;y>=0;y--)(ne=ie[y])&&(a=(ee<3?ne(a):ee>3?ne(ue,ae,a):ne(ue,ae))||a);return ee>3&&a&&Object.defineProperty(ue,ae,a),a},E=this&&this.__param||function(ie,ue){return function(ae,oe){ue(ae,oe,ie)}},he=this&&this.__spreadArrays||function(){for(var ie=0,ue=0,ae=arguments.length;ue<ae;ue++)ie+=arguments[ue].length;var oe=Array(ie),ne=0;for(ue=0;ue<ae;ue++)for(var ee=arguments[ue],a=0,y=ee.length;a<y;a++,ne++)oe[ne]=ee[a];return oe};Object.defineProperty(de,"__esModule",{value:!0}),de.LogService=de.LogLevel=void 0;var fe,le=Se(1);(function(ie){ie[ie.DEBUG=0]="DEBUG",ie[ie.INFO=1]="INFO",ie[ie.WARN=2]="WARN",ie[ie.ERROR=3]="ERROR",ie[ie.OFF=4]="OFF"})(fe=de.LogLevel||(de.LogLevel={}));var re={debug:fe.DEBUG,info:fe.INFO,warn:fe.WARN,error:fe.ERROR,off:fe.OFF},se=function(){function ie(ue){var ae=this;this._optionsService=ue,this._updateLogLevel(),this._optionsService.onOptionChange(function(oe){oe==="logLevel"&&ae._updateLogLevel()})}return ie.prototype._updateLogLevel=function(){this._logLevel=re[this._optionsService.options.logLevel]},ie.prototype._evalLazyOptionalParams=function(ue){for(var ae=0;ae<ue.length;ae++)typeof ue[ae]=="function"&&(ue[ae]=ue[ae]())},ie.prototype._log=function(ue,ae,oe){this._evalLazyOptionalParams(oe),ue.call.apply(ue,he([console,"xterm.js: "+ae],oe))},ie.prototype.debug=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.DEBUG&&this._log(console.log,ue,ae)},ie.prototype.info=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.INFO&&this._log(console.info,ue,ae)},ie.prototype.warn=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.WARN&&this._log(console.warn,ue,ae)},ie.prototype.error=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.ERROR&&this._log(console.error,ue,ae)},ie=xe([E(0,le.IOptionsService)],ie)}();de.LogService=se},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ee){ne.__proto__=ee}||function(ne,ee){for(var a in ee)ee.hasOwnProperty(a)&&(ne[a]=ee[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,ne):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,ee);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,ee){oe(ne,ee,ae)}};Object.defineProperty(de,"__esModule",{value:!0}),de.BufferService=de.MINIMUM_ROWS=de.MINIMUM_COLS=void 0;var le=Se(1),re=Se(69),se=Se(0),ie=Se(2);de.MINIMUM_COLS=2,de.MINIMUM_ROWS=1;var ue=function(ae){function oe(ne){var ee=ae.call(this)||this;return ee._optionsService=ne,ee.isUserScrolling=!1,ee._onResize=new se.EventEmitter,ee.cols=Math.max(ne.options.cols,de.MINIMUM_COLS),ee.rows=Math.max(ne.options.rows,de.MINIMUM_ROWS),ee.buffers=new re.BufferSet(ne,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(ne,ee){this.cols=ne,this.rows=ee,this.buffers.resize(ne,ee),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:ne,rows:ee})},oe.prototype.reset=function(){this.buffers.dispose(),this.buffers=new re.BufferSet(this._optionsService,this),this.isUserScrolling=!1},oe=he([fe(0,le.IOptionsService)],oe)}(ie.Disposable);de.BufferService=ue},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(re,se){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,ue){ie.__proto__=ue}||function(ie,ue){for(var ae in ue)ue.hasOwnProperty(ae)&&(ie[ae]=ue[ae])})(re,se)},function(re,se){function ie(){this.constructor=re}xe(re,se),re.prototype=se===null?Object.create(se):(ie.prototype=se.prototype,new ie)});Object.defineProperty(de,"__esModule",{value:!0}),de.BufferSet=void 0;var he=Se(70),fe=Se(0),le=function(re){function se(ie,ue){var ae=re.call(this)||this;return ae._onBufferActivate=ae.register(new fe.EventEmitter),ae._normal=new he.Buffer(!0,ie,ue),ae._normal.fillViewportRows(),ae._alt=new he.Buffer(!1,ie,ue),ae._activeBuffer=ae._normal,ae.setupTabStops(),ae}return E(se,re),Object.defineProperty(se.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),se.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}))},se.prototype.activateAltBuffer=function(ie){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(ie),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}))},se.prototype.resize=function(ie,ue){this._normal.resize(ie,ue),this._alt.resize(ie,ue)},se.prototype.setupTabStops=function(ie){this._normal.setupTabStops(ie),this._alt.setupTabStops(ie)},se}(Se(2).Disposable);de.BufferSet=le},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.BufferStringIterator=de.Buffer=de.MAX_BUFFER_SIZE=void 0;var xe=Se(71),E=Se(16),he=Se(4),fe=Se(3),le=Se(72),re=Se(73),se=Se(20),ie=Se(6);de.MAX_BUFFER_SIZE=4294967295;var ue=function(){function oe(ne,ee,a){this._hasScrollback=ne,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=se.DEFAULT_CHARSET,this.markers=[],this._nullCell=he.CellData.fromCharData([0,fe.NULL_CELL_CHAR,fe.NULL_CELL_WIDTH,fe.NULL_CELL_CODE]),this._whitespaceCell=he.CellData.fromCharData([0,fe.WHITESPACE_CELL_CHAR,fe.WHITESPACE_CELL_WIDTH,fe.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new xe.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return oe.prototype.getNullCell=function(ne){return ne?(this._nullCell.fg=ne.fg,this._nullCell.bg=ne.bg,this._nullCell.extended=ne.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new ie.ExtendedAttrs),this._nullCell},oe.prototype.getWhitespaceCell=function(ne){return ne?(this._whitespaceCell.fg=ne.fg,this._whitespaceCell.bg=ne.bg,this._whitespaceCell.extended=ne.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new ie.ExtendedAttrs),this._whitespaceCell},oe.prototype.getBlankLine=function(ne,ee){return new E.BufferLine(this._bufferService.cols,this.getNullCell(ne),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 ne=this.ybase+this.y-this.ydisp;return ne>=0&&ne<this._rows},enumerable:!1,configurable:!0}),oe.prototype._getCorrectBufferLength=function(ne){if(!this._hasScrollback)return ne;var ee=ne+this._optionsService.options.scrollback;return ee>de.MAX_BUFFER_SIZE?de.MAX_BUFFER_SIZE:ee},oe.prototype.fillViewportRows=function(ne){if(this.lines.length===0){ne===void 0&&(ne=E.DEFAULT_ATTR_DATA);for(var ee=this._rows;ee--;)this.lines.push(this.getBlankLine(ne))}},oe.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new xe.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},oe.prototype.resize=function(ne,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<ne)for(var x=0;x<this.lines.length;x++)this.lines.get(x).resize(ne,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(ne,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(ne,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,ne-1),this.y=Math.min(this.y,ee-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,ne-1),this.scrollTop=0}if(this.scrollBottom=ee-1,this._isReflowEnabled&&(this._reflow(ne,ee),this._cols>ne))for(x=0;x<this.lines.length;x++)this.lines.get(x).resize(ne,a);this._cols=ne,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(ne,ee){this._cols!==ne&&(ne>this._cols?this._reflowLarger(ne,ee):this._reflowSmaller(ne,ee))},oe.prototype._reflowLarger=function(ne,ee){var a=le.reflowLargerGetLinesToRemove(this.lines,this._cols,ne,this.ybase+this.y,this.getNullCell(E.DEFAULT_ATTR_DATA));if(a.length>0){var y=le.reflowLargerCreateNewLayout(this.lines,a);le.reflowLargerApplyNewLayout(this.lines,y.layout),this._reflowLargerAdjustViewport(ne,ee,y.countRemoved)}},oe.prototype._reflowLargerAdjustViewport=function(ne,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(ne,y))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-a,0)},oe.prototype._reflowSmaller=function(ne,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()<=ne)){for(var te=[z];z.isWrapped&&b>0;)z=this.lines.get(--b),te.unshift(z);var ce=this.ybase+this.y;if(!(ce>=b&&ce<b+te.length)){var ge=te[te.length-1].getTrimmedLength(),me=le.reflowSmallerGetNewLineLengths(te,this._cols,ne),ve=me.length-te.length,pe=void 0;pe=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+ve):Math.max(0,this.lines.length-this.lines.maxLength+ve);for(var be=[],ye=0;ye<ve;ye++){var Ee=this.getBlankLine(E.DEFAULT_ATTR_DATA,!0);be.push(Ee)}be.length>0&&(y.push({start:b+te.length+x,newLines:be}),x+=be.length),te.push.apply(te,be);var Pe=me.length-1,Ae=me[Pe];Ae===0&&(Ae=me[--Pe]);for(var Ce=te.length-ve-1,_e=ge;Ce>=0;){var we=Math.min(_e,Ae);if(te[Pe].copyCellsFrom(te[Ce],_e-we,Ae-we,we,!0),(Ae-=we)===0&&(Ae=me[--Pe]),(_e-=we)===0){Ce--;var Re=Math.max(Ce,0);_e=le.getWrappedLineTrimmedLength(te,Re,this._cols)}}for(ye=0;ye<te.length;ye++)me[ye]<ne&&te[ye].setCell(me[ye],a);for(var De=ve-pe;De-- >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+ve,this.ybase+ee-1)}}}if(y.length>0){var ke=[],Ie=[];for(ye=0;ye<this.lines.length;ye++)Ie.push(this.lines.get(ye));var qe=this.lines.length,Je=qe-1,We=0,Qe=y[We];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+x);var He=0;for(ye=Math.min(this.lines.maxLength-1,qe+x-1);ye>=0;ye--)if(Qe&&Qe.start>Je+He){for(var Fe=Qe.newLines.length-1;Fe>=0;Fe--)this.lines.set(ye--,Qe.newLines[Fe]);ye++,ke.push({index:Je+1,amount:Qe.newLines.length}),He+=Qe.newLines.length,Qe=y[++We]}else this.lines.set(ye,Ie[Je--]);var je=0;for(ye=ke.length-1;ye>=0;ye--)ke[ye].index+=je,this.lines.onInsertEmitter.fire(ke[ye]),je+=ke[ye].amount;var et=Math.max(0,qe+x-this.lines.maxLength);et>0&&this.lines.onTrimEmitter.fire(et)}},oe.prototype.stringIndexToBufferIndex=function(ne,ee,a){for(a===void 0&&(a=!1);ee;){var y=this.lines.get(ne);if(!y)return[-1,-1];for(var x=a?y.getTrimmedLength():y.length,b=0;b<x;++b)if(y.get(b)[fe.CHAR_DATA_WIDTH_INDEX]&&(ee-=y.get(b)[fe.CHAR_DATA_CHAR_INDEX].length||1),ee<0)return[ne,b];ne++}return[ne,0]},oe.prototype.translateBufferLineToString=function(ne,ee,a,y){a===void 0&&(a=0);var x=this.lines.get(ne);return x?x.translateToString(ee,a,y):""},oe.prototype.getWrappedRangeForLine=function(ne){for(var ee=ne,a=ne;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(ne){for(ne!=null?this.tabs[ne]||(ne=this.prevStop(ne)):(this.tabs={},ne=0);ne<this._cols;ne+=this._optionsService.options.tabStopWidth)this.tabs[ne]=!0},oe.prototype.prevStop=function(ne){for(ne==null&&(ne=this.x);!this.tabs[--ne]&&ne>0;);return ne>=this._cols?this._cols-1:ne<0?0:ne},oe.prototype.nextStop=function(ne){for(ne==null&&(ne=this.x);!this.tabs[++ne]&&ne<this._cols;);return ne>=this._cols?this._cols-1:ne<0?0:ne},oe.prototype.addMarker=function(ne){var ee=this,a=new re.Marker(ne);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(ne){this.markers.splice(this.markers.indexOf(ne),1)},oe.prototype.iterator=function(ne,ee,a,y,x){return new ae(this,ne,ee,a,y,x)},oe}();de.Buffer=ue;var ae=function(){function oe(ne,ee,a,y,x,b){a===void 0&&(a=0),y===void 0&&(y=ne.lines.length),x===void 0&&(x=0),b===void 0&&(b=0),this._buffer=ne,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 ne=this._buffer.getWrappedRangeForLine(this._current);ne.first<this._startIndex-this._startOverscan&&(ne.first=this._startIndex-this._startOverscan),ne.last>this._endIndex+this._endOverscan&&(ne.last=this._endIndex+this._endOverscan),ne.first=Math.max(ne.first,0),ne.last=Math.min(ne.last,this._buffer.lines.length);for(var ee="",a=ne.first;a<=ne.last;++a)ee+=this._buffer.translateBufferLineToString(a,this._trimRight);return this._current=ne.last+1,{range:ne,content:ee}},oe}();de.BufferStringIterator=ae},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.CircularList=void 0;var xe=Se(0),E=function(){function he(fe){this._maxLength=fe,this.onDeleteEmitter=new xe.EventEmitter,this.onInsertEmitter=new xe.EventEmitter,this.onTrimEmitter=new xe.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(fe){if(this._maxLength!==fe){for(var le=new Array(fe),re=0;re<Math.min(fe,this.length);re++)le[re]=this._array[this._getCyclicIndex(re)];this._array=le,this._maxLength=fe,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"length",{get:function(){return this._length},set:function(fe){if(fe>this._length)for(var le=this._length;le<fe;le++)this._array[le]=void 0;this._length=fe},enumerable:!1,configurable:!0}),he.prototype.get=function(fe){return this._array[this._getCyclicIndex(fe)]},he.prototype.set=function(fe,le){this._array[this._getCyclicIndex(fe)]=le},he.prototype.push=function(fe){this._array[this._getCyclicIndex(this._length)]=fe,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(fe,le){for(var re=[],se=2;se<arguments.length;se++)re[se-2]=arguments[se];if(le){for(var ie=fe;ie<this._length-le;ie++)this._array[this._getCyclicIndex(ie)]=this._array[this._getCyclicIndex(ie+le)];this._length-=le}for(ie=this._length-1;ie>=fe;ie--)this._array[this._getCyclicIndex(ie+re.length)]=this._array[this._getCyclicIndex(ie)];for(ie=0;ie<re.length;ie++)this._array[this._getCyclicIndex(fe+ie)]=re[ie];if(this._length+re.length>this._maxLength){var ue=this._length+re.length-this._maxLength;this._startIndex+=ue,this._length=this._maxLength,this.onTrimEmitter.fire(ue)}else this._length+=re.length},he.prototype.trimStart=function(fe){fe>this._length&&(fe=this._length),this._startIndex+=fe,this._length-=fe,this.onTrimEmitter.fire(fe)},he.prototype.shiftElements=function(fe,le,re){if(!(le<=0)){if(fe<0||fe>=this._length)throw new Error("start argument out of range");if(fe+re<0)throw new Error("Cannot shift elements in list beyond index 0");if(re>0){for(var se=le-1;se>=0;se--)this.set(fe+se+re,this.get(fe+se));var ie=fe+le+re-this._length;if(ie>0)for(this._length+=ie;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(se=0;se<le;se++)this.set(fe+se+re,this.get(fe+se))}},he.prototype._getCyclicIndex=function(fe){return(this._startIndex+fe)%this._maxLength},he}();de.CircularList=E},function(gt,de,Se){"use strict";function xe(E,he,fe){if(he===E.length-1)return E[he].getTrimmedLength();var le=!E[he].hasContent(fe-1)&&E[he].getWidth(fe-1)===1,re=E[he+1].getWidth(0)===2;return le&&re?fe-1:fe}Object.defineProperty(de,"__esModule",{value:!0}),de.getWrappedLineTrimmedLength=de.reflowSmallerGetNewLineLengths=de.reflowLargerApplyNewLayout=de.reflowLargerCreateNewLayout=de.reflowLargerGetLinesToRemove=void 0,de.reflowLargerGetLinesToRemove=function(E,he,fe,le,re){for(var se=[],ie=0;ie<E.length-1;ie++){var ue=ie,ae=E.get(++ue);if(ae.isWrapped){for(var oe=[E.get(ie)];ue<E.length&&ae.isWrapped;)oe.push(ae),ae=E.get(++ue);if(le>=ie&&le<ue)ie+=oe.length-1;else{for(var ne=0,ee=xe(oe,ne,he),a=1,y=0;a<oe.length;){var x=xe(oe,a,he),b=x-y,z=fe-ee,te=Math.min(b,z);oe[ne].copyCellsFrom(oe[a],y,ee,te,!1),(ee+=te)===fe&&(ne++,ee=0),(y+=te)===x&&(a++,y=0),ee===0&&ne!==0&&oe[ne-1].getWidth(fe-1)===2&&(oe[ne].copyCellsFrom(oe[ne-1],fe-1,ee++,1,!1),oe[ne-1].setCell(fe-1,re))}oe[ne].replaceCells(ee,fe,re);for(var ce=0,ge=oe.length-1;ge>0&&(ge>ne||oe[ge].getTrimmedLength()===0);ge--)ce++;ce>0&&(se.push(ie+oe.length-ce),se.push(ce)),ie+=oe.length-1}}}return se},de.reflowLargerCreateNewLayout=function(E,he){for(var fe=[],le=0,re=he[le],se=0,ie=0;ie<E.length;ie++)if(re===ie){var ue=he[++le];E.onDeleteEmitter.fire({index:ie-se,amount:ue}),ie+=ue-1,se+=ue,re=he[++le]}else fe.push(ie);return{layout:fe,countRemoved:se}},de.reflowLargerApplyNewLayout=function(E,he){for(var fe=[],le=0;le<he.length;le++)fe.push(E.get(he[le]));for(le=0;le<fe.length;le++)E.set(le,fe[le]);E.length=he.length},de.reflowSmallerGetNewLineLengths=function(E,he,fe){for(var le=[],re=E.map(function(ee,a){return xe(E,a,he)}).reduce(function(ee,a){return ee+a}),se=0,ie=0,ue=0;ue<re;){if(re-ue<fe){le.push(re-ue);break}se+=fe;var ae=xe(E,ie,he);se>ae&&(se-=ae,ie++);var oe=E[ie].getWidth(se-1)===2;oe&&se--;var ne=oe?fe-1:fe;le.push(ne),ue+=ne}return le},de.getWrappedLineTrimmedLength=xe},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(le,re){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,ie){se.__proto__=ie}||function(se,ie){for(var ue in ie)ie.hasOwnProperty(ue)&&(se[ue]=ie[ue])})(le,re)},function(le,re){function se(){this.constructor=le}xe(le,re),le.prototype=re===null?Object.create(re):(se.prototype=re.prototype,new se)});Object.defineProperty(de,"__esModule",{value:!0}),de.Marker=void 0;var he=Se(0),fe=function(le){function re(se){var ie=le.call(this)||this;return ie.line=se,ie._id=re._nextId++,ie.isDisposed=!1,ie._onDispose=new he.EventEmitter,ie}return E(re,le),Object.defineProperty(re.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),re.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},re._nextId=1,re}(Se(2).Disposable);de.Marker=fe},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.OptionsService=de.DEFAULT_OPTIONS=de.DEFAULT_BELL_SOUND=void 0;var xe=Se(0),E=Se(11),he=Se(33);de.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",de.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:de.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 fe=["cols","rows"],le=function(){function re(se){this._onOptionChange=new xe.EventEmitter,this.options=he.clone(de.DEFAULT_OPTIONS);for(var ie=0,ue=Object.keys(se);ie<ue.length;ie++){var ae=ue[ie];if(ae in this.options){var oe=se[ae];this.options[ae]=oe}}}return Object.defineProperty(re.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),re.prototype.setOption=function(se,ie){if(!(se in de.DEFAULT_OPTIONS))throw new Error('No option with key "'+se+'"');if(fe.indexOf(se)!==-1)throw new Error('Option "'+se+'" can only be set in the constructor');this.options[se]!==ie&&(ie=this._sanitizeAndValidateOption(se,ie),this.options[se]!==ie&&(this.options[se]=ie,this._onOptionChange.fire(se)))},re.prototype._sanitizeAndValidateOption=function(se,ie){switch(se){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":ie||(ie=de.DEFAULT_OPTIONS[se]);break;case"cursorWidth":ie=Math.floor(ie);case"lineHeight":case"tabStopWidth":if(ie<1)throw new Error(se+" cannot be less than 1, value: "+ie);break;case"minimumContrastRatio":ie=Math.max(1,Math.min(21,Math.round(10*ie)/10));break;case"scrollback":if((ie=Math.min(ie,4294967295))<0)throw new Error(se+" cannot be less than 0, value: "+ie);break;case"fastScrollSensitivity":case"scrollSensitivity":if(ie<=0)throw new Error(se+" cannot be less than or equal to 0, value: "+ie)}return ie},re.prototype.getOption=function(se){if(!(se in de.DEFAULT_OPTIONS))throw new Error('No option with key "'+se+'"');return this.options[se]},re}();de.OptionsService=le},function(gt,de,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ne,ee){return(xe=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])})(ne,ee)},function(ne,ee){function a(){this.constructor=ne}xe(ne,ee),ne.prototype=ee===null?Object.create(ee):(a.prototype=ee.prototype,new a)}),he=this&&this.__decorate||function(ne,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(ne,ee,a,y);else for(var te=ne.length-1;te>=0;te--)(x=ne[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},fe=this&&this.__param||function(ne,ee){return function(a,y){ee(a,y,ne)}};Object.defineProperty(de,"__esModule",{value:!0}),de.CoreService=void 0;var le=Se(1),re=Se(0),se=Se(33),ie=Se(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(ne){function ee(a,y,x,b){var z=ne.call(this)||this;return z._bufferService=y,z._logService=x,z._optionsService=b,z.isCursorInitialized=!1,z.isCursorHidden=!1,z._onData=z.register(new re.EventEmitter),z._onUserInput=z.register(new re.EventEmitter),z._onBinary=z.register(new re.EventEmitter),z._scrollToBottom=a,z.register({dispose:function(){return z._scrollToBottom=void 0}}),z.modes=se.clone(ue),z.decPrivateModes=se.clone(ae),z}return E(ee,ne),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=se.clone(ue),this.decPrivateModes=se.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([fe(1,le.IBufferService),fe(2,le.ILogService),fe(3,le.IOptionsService)],ee)}(ie.Disposable);de.CoreService=oe},function(gt,de,Se){"use strict";var xe=this&&this.__decorate||function(ae,oe,ne,ee){var a,y=arguments.length,x=y<3?oe:ee===null?ee=Object.getOwnPropertyDescriptor(oe,ne):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,ee);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},E=this&&this.__param||function(ae,oe){return function(ne,ee){oe(ne,ee,ae)}};Object.defineProperty(de,"__esModule",{value:!0}),de.CoreMouseService=void 0;var he=Se(1),fe=Se(0),le={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 re(ae,oe){var ne=(ae.ctrl?16:0)|(ae.shift?4:0)|(ae.alt?8:0);return ae.button===4?(ne|=64,ne|=ae.action):(ne|=3&ae.button,4&ae.button&&(ne|=64),8&ae.button&&(ne|=128),ae.action===32?ne|=32:ae.action!==0||oe||(ne|=3)),ne}var se=String.fromCharCode,ie={DEFAULT:function(ae){var oe=[re(ae,!1)+32,ae.col+32,ae.row+32];return oe[0]>255||oe[1]>255||oe[2]>255?"":"\x1B[M"+se(oe[0])+se(oe[1])+se(oe[2])},SGR:function(ae){var oe=ae.action===0&&ae.button!==4?"m":"M";return"\x1B[<"+re(ae,!0)+";"+ae.col+";"+ae.row+oe}},ue=function(){function ae(oe,ne){this._bufferService=oe,this._coreService=ne,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new fe.EventEmitter,this._lastEvent=null;for(var ee=0,a=Object.keys(le);ee<a.length;ee++){var y=a[ee];this.addProtocol(y,le[y])}for(var x=0,b=Object.keys(ie);x<b.length;x++){var z=b[x];this.addEncoding(z,ie[z])}this.reset()}return ae.prototype.addProtocol=function(oe,ne){this._protocols[oe]=ne},ae.prototype.addEncoding=function(oe,ne){this._encodings[oe]=ne},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 ne=this._encodings[this._activeEncoding](oe);return ne&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(ne):this._coreService.triggerDataEvent(ne,!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,ne){return oe.col===ne.col&&oe.row===ne.row&&oe.button===ne.button&&oe.action===ne.action&&oe.ctrl===ne.ctrl&&oe.alt===ne.alt&&oe.shift===ne.shift},ae=xe([E(0,he.IBufferService),E(1,he.ICoreService)],ae)}();de.CoreMouseService=ue},function(gt,de,Se){"use strict";var xe=this&&this.__decorate||function(le,re,se,ie){var ue,ae=arguments.length,oe=ae<3?re:ie===null?ie=Object.getOwnPropertyDescriptor(re,se):ie;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(le,re,se,ie);else for(var ne=le.length-1;ne>=0;ne--)(ue=le[ne])&&(oe=(ae<3?ue(oe):ae>3?ue(re,se,oe):ue(re,se))||oe);return ae>3&&oe&&Object.defineProperty(re,se,oe),oe},E=this&&this.__param||function(le,re){return function(se,ie){re(se,ie,le)}};Object.defineProperty(de,"__esModule",{value:!0}),de.DirtyRowService=void 0;var he=Se(1),fe=function(){function le(re){this._bufferService=re,this.clearRange()}return Object.defineProperty(le.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),le.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},le.prototype.markDirty=function(re){re<this._start?this._start=re:re>this._end&&(this._end=re)},le.prototype.markRangeDirty=function(re,se){if(re>se){var ie=re;re=se,se=ie}re<this._start&&(this._start=re),se>this._end&&(this._end=se)},le.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},le=xe([E(0,he.IBufferService)],le)}();de.DirtyRowService=fe},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.UnicodeService=void 0;var xe=Se(0),E=Se(79),he=function(){function fe(){this._providers=Object.create(null),this._active="",this._onChange=new xe.EventEmitter;var le=new E.UnicodeV6;this.register(le),this._active=le.version,this._activeProvider=le}return Object.defineProperty(fe.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(fe.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(fe.prototype,"activeVersion",{get:function(){return this._active},set:function(le){if(!this._providers[le])throw new Error('unknown Unicode version "'+le+'"');this._active=le,this._activeProvider=this._providers[le],this._onChange.fire(le)},enumerable:!1,configurable:!0}),fe.prototype.register=function(le){this._providers[le.version]=le},fe.prototype.wcwidth=function(le){return this._activeProvider.wcwidth(le)},fe.prototype.getStringCellWidth=function(le){for(var re=0,se=le.length,ie=0;ie<se;++ie){var ue=le.charCodeAt(ie);if(55296<=ue&&ue<=56319){if(++ie>=se)return re+this.wcwidth(ue);var ae=le.charCodeAt(ie);56320<=ae&&ae<=57343?ue=1024*(ue-55296)+ae-56320+65536:re+=this.wcwidth(ae)}re+=this.wcwidth(ue)}return re},fe}();de.UnicodeService=he},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.UnicodeV6=void 0;var xe,E=Se(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]],fe=[[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]],le=function(){function re(){if(this.version="6",!xe){xe=new Uint8Array(65536),E.fill(xe,1),xe[0]=0,E.fill(xe,0,1,32),E.fill(xe,0,127,160),E.fill(xe,2,4352,4448),xe[9001]=2,xe[9002]=2,E.fill(xe,2,11904,42192),xe[12351]=1,E.fill(xe,2,44032,55204),E.fill(xe,2,63744,64256),E.fill(xe,2,65040,65050),E.fill(xe,2,65072,65136),E.fill(xe,2,65280,65377),E.fill(xe,2,65504,65511);for(var se=0;se<he.length;++se)E.fill(xe,0,he[se][0],he[se][1]+1)}}return re.prototype.wcwidth=function(se){return se<32?0:se<127?1:se<65536?xe[se]:function(ie,ue){var ae,oe=0,ne=ue.length-1;if(ie<ue[0][0]||ie>ue[ne][1])return!1;for(;ne>=oe;)if(ie>ue[ae=oe+ne>>1][1])oe=ae+1;else{if(!(ie<ue[ae][0]))return!0;ne=ae-1}return!1}(se,fe)?0:se>=131072&&se<=196605||se>=196608&&se<=262141?2:1},re}();de.UnicodeV6=le},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.CharsetService=void 0;var xe=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,fe){this._charsets[he]=fe,this.glevel===he&&(this.charset=fe)},E}();de.CharsetService=xe},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.updateWindowsModeWrappedState=void 0;var xe=Se(3);de.updateWindowsModeWrappedState=function(E){var he=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),fe=he==null?void 0:he.get(E.cols-1),le=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);le&&fe&&(le.isWrapped=fe[xe.CHAR_DATA_CODE_INDEX]!==xe.NULL_CELL_CODE&&fe[xe.CHAR_DATA_CODE_INDEX]!==xe.WHITESPACE_CELL_CODE)}},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.WriteBuffer=void 0;var xe=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 fe=this._bufferOffset;fe<this._writeBuffer.length;++fe){var le=this._writeBuffer[fe],re=this._callbacks[fe];this._action(le),re&&re()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(he)},E.prototype.write=function(he,fe){var le=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 le._innerWrite()})),this._pendingData+=he.length,this._writeBuffer.push(he),this._callbacks.push(fe)},E.prototype._innerWrite=function(){for(var he=this,fe=Date.now();this._writeBuffer.length>this._bufferOffset;){var le=this._writeBuffer[this._bufferOffset],re=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(le),this._pendingData-=le.length,re&&re(),Date.now()-fe>=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}();de.WriteBuffer=xe},function(gt,de,Se){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.AddonManager=void 0;var xe=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,fe){var le=this,re={instance:fe,dispose:fe.dispose,isDisposed:!1};this._addons.push(re),fe.dispose=function(){return le._wrappedAddonDispose(re)},fe.activate(he)},E.prototype._wrappedAddonDispose=function(he){if(!he.isDisposed){for(var fe=-1,le=0;le<this._addons.length;le++)if(this._addons[le]===he){fe=le;break}if(fe===-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(fe,1)}},E}();de.AddonManager=xe}])})},62522:function(Lt){"use strict";Lt.exports="data:image/png;base64,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"},60141:function(Lt){"use strict";Lt.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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"},36459:function(Lt,gt,de){"use strict";de.d(gt,{Z:function(){return Se}});function Se(xe){if(xe==null)throw new TypeError("Cannot destructure "+xe)}}}]);