|
|
(self.webpackChunk=self.webpackChunk||[]).push([[6270],{33463:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},28575:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},84249:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},81893:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},90674:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},55304:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},73148:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},56747:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},50881:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},22751:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},34182:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},74664:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},91034:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(le,ce){return xe.createElement(de.Z,(0,Se.Z)({},le,{ref:ce,icon:ve}))},re=xe.forwardRef(se)},71736:function(_t,dt){"use strict";dt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},11579:function(_t,dt){"use strict";dt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},12867:function(){"use strict"},22707:function(_t,dt,fe){"use strict";var Se=fe(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(le,ce,ae)=>ce in le?xe(le,ce,{enumerable:!0,configurable:!0,writable:!0,value:ae}):le[ce]=ae,re=(le,ce)=>{for(var ae in ce||(ce={}))ve.call(ce,ae)&&se(le,ae,ce[ae]);if(E)for(var ae of E(ce))de.call(ce,ae)&&se(le,ae,ce[ae]);return le};const ie=le=>React.createElement("svg",re({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},le),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));dt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},8861:function(_t,dt,fe){"use strict";var Se=fe(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(le,ce,ae)=>ce in le?xe(le,ce,{enumerable:!0,configurable:!0,writable:!0,value:ae}):le[ce]=ae,re=(le,ce)=>{for(var ae in ce||(ce={}))ve.call(ce,ae)&&se(le,ae,ce[ae]);if(E)for(var ae of E(ce))de.call(ce,ae)&&se(le,ae,ce[ae]);return le};const ie=le=>React.createElement("svg",re({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},le),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));dt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},18023:function(){"use strict";function _t(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(_t.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(_t.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(_t.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(_t.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 _t))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ee];x||(x=[],go.Shape._FigureParameters[ee]=x),x[a]=y};var dt=[];function fe(ee,a){var y=dt.pop();return y===void 0?new go.Point(ee,a):(y.x=ee,y.y=a,y)}function Se(){var ee=dt.pop();return ee===void 0?new go.Point:ee}function xe(ee){dt.push(ee)}function E(ee,a,y,x,b,te,z,ue,ge){ge||(ge=new go.Point);var me=ee-y,he=b-z,pe=NaN,be=NaN;if(me===0)if(he===0)ee===y&&(pe=ee,be=a);else{var ye=(te-ue)/he,Pe=te-ye*b;pe=ee,be=ye*pe+Pe}else if(he===0){var we=(a-x)/me,Oe=a-we*ee;pe=b,be=we*pe+Oe}else{var we=(a-x)/me,ye=(te-ue)/he,Oe=a-we*ee,Pe=te-ye*b;pe=(Pe-Oe)/(we-ye),be=we*pe+Oe}return ge.x=pe,ge.y=be,ge}function ve(ee,a,y,x,b,te,z,ue,ge,me,he,pe,be,ye){var Pe=1-ge,we=ge,Oe=ee*Pe+y*we,Ce=a*Pe+x*we,_e=y*Pe+b*we,Ee=x*Pe+te*we,Me=b*Pe+z*we,Ie=te*Pe+ue*we,Be=Oe*Pe+_e*we,Re=Ce*Pe+Ee*we,tt=_e*Pe+Me*we,Ye=Ee*Pe+Ie*we,et=Be*Pe+tt*we,Xe=Re*Pe+Ye*we;me.x=Oe,me.y=Ce,he.x=Be,he.y=Re,pe.x=et,pe.y=Xe,be.x=tt,be.y=Ye,ye.x=Me,ye.y=Ie}var de=new go.Spot(.156,.156),se=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new _t("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,te=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&&(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,1,-b,-b)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ee,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ee,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=de,b.spot2=se,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ee,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,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 _t("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 te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.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())):te.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&&te.setSpots(b/a,0,(a-b)/a,1),te}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new _t("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 te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.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())):te.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&&te.setSpots(b/a,0,(a-b)/a,1),te}}),go.Shape.setFigureParameter("Trapezoid1",0,new _t("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 te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.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())):te.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&&te.setSpots(b/a,0,(a-b)/a,1),te}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new _t("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 te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.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())):te.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&&te.setSpots(b/a,0,(a-b)/a,1),te}}),go.Shape.setFigureParameter("ManualOperation",0,new _t("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 te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.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())):te.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&&te.setSpots(b/a,0,(a-b)/a,1),te}});var ie=[];function le(){var ee=ie.pop();return ee===void 0?[]:ee}function ce(ee){ee.length=0,ie.push(ee)}function ae(ee){for(var a=le(),y=.5,x=.5,b=Math.PI*1.5,te=0,z=0;z<ee;z++)te=2*Math.PI/ee*z+b,a[z]=new go.Point(x+y*Math.cos(te),x+y*Math.sin(te));return a.push(a[0]),a}function oe(ee){var a=ne(ee),y=le();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 ce(a),y}function ne(ee){for(var a=ae(ee),y=le(),x=Math.floor(a.length/2),b=a.length-1,te=ee%2===0?2:1,z=0;z<b;z++){var ue=a[z],ge=a[z+1],me=a[(x+z-1)%b],he=a[(x+z+te)%b];y[z*2]=ue,y[z*2+1]=E(ue.x,ue.y,me.x,me.y,ge.x,ge.y,he.x,he.y,new go.Point)}return y[y.length]=y[0],ce(a),y}go.Shape.defineFigureGenerator("Pentagon",function(ee,a,y){var x=ae(5),b=new go.Geometry,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<5;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<6;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<7;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<8;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<9;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<10;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<12;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<10;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<12;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<14;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<16;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<18;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<20;z++)te.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return te.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<x.length;z+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return te.segments.last().close(),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<x.length;z+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return te.segments.last().close(),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<x.length;z+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return te.segments.last().close(),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<x.length;z+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return te.segments.last().close(),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<x.length;z+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return te.segments.last().close(),ce(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,te=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(te);for(var z=1;z<x.length;z+=3)te.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return te.segments.last().close(),ce(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new _t("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new _t("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 te=new go.Geometry,z=new go.PathFigure(0,0,!0);return te.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()),x<a/2&&b<y/2&&(z.add(new go.PathSegment(go.PathSegment.Move,x,b)),z.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),te.setSpots(0,0,1,1,x,b,-x,-b),te}),go.Shape.setFigureParameter("Ring",0,new _t("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,te=new go.Geometry,z=new go.PathFigure(a,a/2,!0);te.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var ue=Math.max(b-x,0);return ue>0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ue,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ue,ue).close())),te.spot1=de,te.spot2=se,te.defaultStretch=go.GraphObject.Uniform,te}),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 _t("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new _t("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 te=x%360;te<0&&(te+=360);var z=b%360,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,te,z,ue,ue,ue,ue).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ee,a,y){var x=re/Math.SQRT2*.5,b=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,te*y,a,(1-x)*y,(b+x)*a,(te+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new _t("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,te=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new _t("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,te=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new _t("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 te=a/2,z=y/2,ue=Math.atan2(y,a),ge=x-Math.min(Math.cos(ue)*x/2,te),me=x-Math.min(Math.sin(ue)*x/2,z),b=new go.Geometry,he=new go.PathFigure(ge,0,!0);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te,.2*y)),he.add(new go.PathSegment(go.PathSegment.Line,a-ge,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,me)),he.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,a,y-me)),he.add(new go.PathSegment(go.PathSegment.Line,a-ge,y)),he.add(new go.PathSegment(go.PathSegment.Line,te,.8*y)),he.add(new go.PathSegment(go.PathSegment.Line,ge,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,y-me)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,0,me).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new _t("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,te=new go.PathFigure(.1*a,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new _t("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,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new _t("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,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.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 te=.2,z=.3,ue=0,ge=te*re;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+te+ue)*y,(.5-te+z)*a,(.5+ge+ue)*y,(.5-ge+z)*a,(.5+te+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+z)*a,(.5+ue)*y,(.5+ge+z)*a,(.5+te+ue)*y,(.5+te+z)*a,(.5+ge+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-te+ue)*y,(1-.5+te+z)*a,(.5-ge+ue)*y,(.5+ge+z)*a,(.5-te+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ge+z)*a,(.5-te+ue)*y,(.5-te+z+.05)*a,(.5-ge+ue-.02)*y)),te=.2,z=0,ue=-.3,ge=te*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+z)*a,(.5+ue)*y,(.5+ge+z)*a,(.5+te+ue)*y,(.5+te+z)*a,(.5+ge+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-te+ue)*y,(1-.5+te+z)*a,(.5-ge+ue)*y,(.5+ge+z)*a,(.5-te+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+z)*a,(.5+ue)*y,(.5-ge+z)*a,(.5-te+ue)*y,(.5-te+z)*a,(.5-ge+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+z)*a,(.5+te+ue)*y,(.5-te+z)*a,(.5+ge+ue)*y,(.5-ge+z)*a,(.5+te+ue)*y)),te=.2,z=-.3,ue=0,ge=te*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-te+ue)*y,(1-.5+te+z-.05)*a,(.5-ge+ue-.02)*y,(.5+ge+z)*a,(.5-te+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+z)*a,(.5+ue)*y,(.5-ge+z)*a,(.5-te+ue)*y,(.5-te+z)*a,(.5-ge+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+te+ue)*y,(.5-te+z)*a,(.5+ge+ue)*y,(.5-ge+z)*a,(.5+te+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ge+z)*a,(.5+te+ue)*y,(.5+te+z)*a,(.5+ge+ue)*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 te=.1,z=.5,ue=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+te)*a,ue*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ue,te*a,te*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)),ue=.75,b=new go.PathFigure((z+te)*a,ue*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ue,te*a,te*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ee,a,y){var x=.8535533905932737,b=.5*a,te=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,te,b,te)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,te)).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,te=.5,z=.5,ue=.5,ge=new go.PathFigure(z*a,(ue-te)*y);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-te)*a,ue*y,(z-b)*a,(ue-te)*y,(z-te)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+te)*y,(z-te)*a,(ue+b)*y,(z-b)*a,(ue+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,ue*y,(z+b)*a,(ue+te)*y,(z+te)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-te)*y,(z+te)*a,(ue-b)*y,(z+b)*a,(ue-te)*y)),te=.4,b=re*.4;var me=Se(),he=Se(),pe=Se(),be=Se();ve(z,ue-te,z+b,ue-te,z+te,ue-b,z+te,ue,.42,me,he,pe,be,be);var ye=Se(),Pe=Se(),we=Se();ve(z,ue-te,z+b,ue-te,z+te,ue-b,z+te,ue,.58,be,be,we,ye,Pe);var Oe=Se(),Ce=Se(),_e=Se();ve(z,ue+te,z-b,ue+te,z-te,ue+b,z-te,ue,.42,Oe,Ce,_e,be,be);var Ee=Se(),Me=Se(),Ie=Se();return ve(z,ue+te,z-b,ue+te,z-te,ue+b,z-te,ue,.58,be,be,Ie,Ee,Me),ge.add(new go.PathSegment(go.PathSegment.Move,Ie.x*a,Ie.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-te)*a,ue*y,Ee.x*a,Ee.y*y,Me.x*a,Me.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-te)*y,(z-te)*a,(ue-b)*y,(z-b)*a,(ue-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,me.x*a,me.y*y,he.x*a,he.y*y)),ge.add(new go.PathSegment(go.PathSegment.Line,Ie.x*a,Ie.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,we.x*a,we.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,ue*y,ye.x*a,ye.y*y,Pe.x*a,Pe.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+te)*y,(z+te)*a,(ue+b)*y,(z+b)*a,(ue+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,Oe.x*a,Oe.y*y,Ce.x*a,Ce.y*y).close()),xe(me),xe(he),xe(pe),xe(be),xe(ye),xe(Pe),xe(we),xe(Oe),xe(Ce),xe(_e),xe(Ee),xe(Me),xe(Ie),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 _t("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,te=b+x;return new go.Geometry().add(new go.PathFigure(te,.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,te=.4,z=.5,ue=.5,ge=Se(),me=Se(),he=Se(),pe=Se(),be=new go.PathFigure((z-te)*a,ue*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-te)*y,(z-te)*a,(ue-b)*y,(z-b)*a,(ue-te)*y)),ve(z,ue-te,z+b,ue-te,z+te,ue-b,z+te,ue,.44,he,pe,me,ge,ge),be.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,he.x*a,he.y*y,pe.x*a,pe.y*y));var ye=fe(me.x,me.y);ve(z,ue-te,z+b,ue-te,z+te,ue-b,z+te,ue,.56,ge,ge,me,he,pe);var Pe=fe(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,(Pe.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,ue*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+te)*y,(z+te)*a,(ue+b)*y,(z+b)*a,(ue+te)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-te)*a,ue*y,(z-b)*a,(ue+te)*y,(z-te)*a,(ue+b)*y)),te=.35,b=re*.35;var we=new go.PathFigure(z*a,(ue-te)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-te)*a,ue*y,(z-b)*a,(ue-te)*y,(z-te)*a,(ue-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+te)*y,(z-te)*a,(ue+b)*y,(z-b)*a,(ue+te)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,ue*y,(z+b)*a,(ue+te)*y,(z+te)*a,(ue+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-te)*y,(z+te)*a,(ue-b)*y,(z+b)*a,(ue-te)*y));var Oe=new go.PathFigure((z-te)*a,ue*y,!1);return x.add(Oe),xe(ge),xe(me),xe(he),xe(pe),xe(ye),xe(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ee,a,y){var x=new go.Geometry,b=.375,te=0,z=-.125,ue=b*re,ge=new go.PathFigure((.525+te)*a,(.5+b+z)*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*a,(.5+z)*y,(.5+ue+te)*a,(.5+b+z)*y,(.5+b+te)*a,(.5+ue+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-b+z)*y,(1-.5+b+te)*a,(.5-ue+z)*y,(.5+ue+te)*a,(.5-b+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+z)*y,(.5-ue+te)*a,(.5-b+z)*y,(.5-b+te)*a,(.5-ue+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*a,(.5+b+z)*y,(.5-b+te)*a,(.5+ue+z)*y,(.5-ue+te)*a,(.5+b+z)*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,te=0,z=-.125,ue=b*re;var ge=new go.PathFigure((1-.5+b+te)*a,(.5+z)*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+b+z)*y,(.5+b+te)*a,(.5+ue+z)*y,(.5+ue+te)*a,(.5+b+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+z)*y,(.5-ue+te)*a,(.5+b+z)*y,(.5-b+te)*a,(.5+ue+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-b+z)*y,(.5-b+te)*a,(.5-ue+z)*y,(.5-ue+te)*a,(.5-b+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*a,(.5+z)*y,(.5+ue+te)*a,(.5-b+z)*y,(1-.5+b+te)*a,(.5-ue+z)*y));var ge=new go.PathFigure((.525+te)*a,(.5+b+z)*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 _t("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new _t("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 te=(1-x)*a,z=(.5-b/2)*y,ue=(.5+b/2)*y,ge=new go.Geometry,me=new go.PathFigure(0,z,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,te,z)),me.add(new go.PathSegment(go.PathSegment.Line,te,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,te,y)),me.add(new go.PathSegment(go.PathSegment.Line,te,ue)),me.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),ge.spot1=new go.Spot(0,z/y);var he=E(0,ue/y,1,ue/y,te/a,1,1,.5,Se());return ge.spot2=new go.Spot(he.x,he.y),xe(he),ge}),go.Shape.setFigureParameter("Arrow2",0,new _t("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new _t("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 te=a-x,z=(y-b)/2,ue=z+b,ge=new go.Geometry,me=new go.PathFigure(0,z,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,te,z)),me.add(new go.PathSegment(go.PathSegment.Line,te,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,te,y)),me.add(new go.PathSegment(go.PathSegment.Line,te,ue)),me.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),ge.spot1=new go.Spot(0,z/y);var he=E(0,ue/y,1,ue/y,te/a,1,1,.5,Se());return ge.spot2=new go.Spot(he.x,he.y),xe(he),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 _t("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,te=(.5+x/2)*y,z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.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 z.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,1,1,.5,0,te/y,1,te/y,ge),z.spot2=new go.Spot(ge.x,ge.y),xe(ge),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new _t("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new _t("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 te=(y-x)/2,z=te+x,ue=(y-b)/2,ge=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,z=te+x,ue=0,ge=y):(te=0,z=y,ue=0,ge=y));var me=new go.Geometry,he=new go.PathFigure(a,.5*y,!0);me.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ge)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,ge)),he.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,ue)),he.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close());var pe=E(0,.5,.3,ue/y,0,te/y,1,te/y,Se());return me.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,ge/y,1,.5,0,z/y,1,z/y,pe),me.spot2=new go.Spot(pe.x,pe.y),xe(pe),me}),go.Shape.setFigureParameter("IBeamArrow",0,new _t("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,te=(.5+x/2)*y,z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var ge=E(.7,1,1,.5,0,te/y,1,te/y,Se());return z.spot2=new go.Spot(ge.x,ge.y),xe(ge),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new _t("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new _t("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 te=(y-x)/2,z=te+x,ue=(y-b)/2,ge=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,z=te+x,ue=0,ge=y):(te=0,z=y,ue=0,ge=y));var me=new go.Geometry,he=new go.PathFigure(a,.5*y,!0);me.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ge)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,ge)),he.add(new go.PathSegment(go.PathSegment.Line,0,ge)),he.add(new go.PathSegment(go.PathSegment.Line,0,ue)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),he.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),he.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close()),me.spot1=new go.Spot(0,te/y);var pe=E(.7,ge/y,1,.5,0,z/y,1,z/y,Se());return me.spot2=new go.Spot(pe.x,pe.y),xe(pe),me}),go.Shape.setFigureParameter("Pointer",0,new _t("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,te=new go.PathFigure(a,.5*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=E(.2,.65,1,.65,0,1,1,.5,Se());return b.spot2=new go.Spot(z.x,z.y),xe(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new _t("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,te=new go.PathFigure(a,.5*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.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 z=E(0,.65,1,.65,0,1,1,.5,Se());return b.spot2=new go.Spot(z.x,z.y),xe(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new _t("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,te=(.5+x/2)*y,z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ue.add(new go.PathSegment(go.PathSegment.Line,0,te)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ge=E(.7,1,1,.5,0,te/y,1,te/y,Se());return z.spot2=new go.Spot(ge.x,ge.y),xe(ge),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new _t("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,te=b+x;x>y&&(b=0,te=y);var z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ue.add(new go.PathSegment(go.PathSegment.Line,0,te)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var ge=E(.7,1,1,.5,0,te/y,1,te/y,Se());return z.spot2=new go.Spot(ge.x,ge.y),xe(ge),z}),go.Shape.setFigureParameter("SquareArrow",0,new _t("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,te=new go.PathFigure(a,.5*y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.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,te=re*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*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 te=new go.PathFigure(0,.9*y,!1);return x.add(te),te.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 te=new go.PathFigure(.5*a,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),te.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 te=new go.PathFigure(0,.3*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),te.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,te=re*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,re*x,(.5-te)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+te)*a,0,1*a,re*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-re*x,(.5+te)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,1*y,0,y-re*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ue=new go.PathFigure(a,x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-re*x,(.5+te)*a,2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-te)*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,te=re*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,re*x,(.5-te)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+te)*a,0,a,re*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-re*x,(.5+te)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,y,0,y-re*x));var ue=new go.PathFigure(0,y-x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-re*x,(.5-te)*a,y-2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+te)*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,te=re*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-re*x,0,a,(.5-te)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-re*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,re*x,y,0,(.5+te)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,re*x,0));var ue=new go.PathFigure(x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+re*x,0,2*x,(.5-te)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+te)*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,te=re*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-re*x,0,a,(.5-te)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-re*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,re*x,y,0,(.5+te)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,re*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ue=new go.PathFigure(a-x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-re*x,0,a-2*x,(.5-te)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+te)*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 te=new go.PathFigure(.25*a,.25*y,!1);return x.add(te),te.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 te=new go.PathFigure(0,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),te.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 te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.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 te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),te.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,te=.1,z=re*b,ue=re*te,ge=.5,me=.1,he=new go.PathFigure(ge*a,(me+te)*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge-b)*a,me*y,(ge-z)*a,(me+te)*y,(ge-b)*a,(me+ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-te)*y,(ge-b)*a,(me-ue)*y,(ge-z)*a,(me-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge+b)*a,me*y,(ge+z)*a,(me-te)*y,(ge+b)*a,(me-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me+te)*y,(ge+b)*a,(me+ue)*y,(ge+z)*a,(me+te)*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 _t("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,te=new go.PathFigure(a,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),te.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 te=new go.PathFigure(.5*a,.5*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.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 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 z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.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,te=re*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-te)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+te)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+te)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+te)*y,(.5+b)*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+te)*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,te=re*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-te)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+te)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+te)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+te)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+te)*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 te=re*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-te)*y,(.2-te)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+te)*a,0,a,(.2-te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+te)*y,(.8+te)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-te)*a,y,0,(.8+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ue=new go.PathFigure(0,b*y,!1);return x.add(ue),ue.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 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 z=new go.PathFigure(0,b*y,!1);return x.add(z),z.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 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 z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.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 te=new go.PathFigure(.1*a,.4*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),te.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 te=new go.PathFigure(.75*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),te.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 te=new go.PathFigure(a,.5*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.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,te=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,te*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a,te*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ee,a,y){var x=new go.Geometry,b=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,z=re*.5,ue=.5,ge=new go.PathFigure(a,ue*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+z)*y,(ue+z)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-z)*a,y,0,(ue+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-z)*y,(ue-z)*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+z)*a,0,a,(ue-z)*y));var me=new go.PathFigure((te+b)*a,(te+b)*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,te*a,te*y)),me.add(new go.PathSegment(go.PathSegment.Move,te*a,(te+b)*y)),me.add(new go.PathSegment(go.PathSegment.Line,(te+b)*a,te*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 te=new go.PathFigure(.1*a,0,!1);return x.add(te),te.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,te=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*a,.9*y,a,(te+b)*y,(te+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.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 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,b*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.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 te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),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,.5*a,(1-b)*y)),te.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 te=new go.PathFigure(.1*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.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 te=new go.PathFigure(.2*a,.1*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.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 te=1-b,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,.5*a,y).close());var ue=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ue),ue.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,te=.5,z=new go.PathFigure(a,te*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+b)*y,(te+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y));var ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.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,te=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);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,(1-te)*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}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,te=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,y)),z.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 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 z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.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 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 z=new go.PathFigure(b*a,0,!1);return x.add(z),z.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 te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.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 te=new go.PathFigure(b*a,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.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 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,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),te.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,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),te.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,te=.5,z=new go.PathFigure(a,te*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+b)*y,(te+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y));var ue=new go.PathFigure(a,te*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,te*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,te=.1,z=.9,ue=.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((z+te)*a,ue*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+te)*y,(z+te)*a,(ue+b)*y,(z+b)*a,(ue+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z-te)*a,ue*y,(z-b)*a,(ue+te)*y,(z-te)*a,(ue+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-te)*y,(z-te)*a,(ue-b)*y,(z-b)*a,(ue-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,ue*y,(z+b)*a,(ue-te)*y,(z+te)*a,(ue-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,te=re*.4,z=re*.1,ue=.1,ge=.9,me=.5,he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+te)*y,(.4+b)*a,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,y)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-te)*y));var pe=new go.PathFigure((ge+ue)*a,me*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me+ue)*y,(ge+ue)*a,(me+z)*y,(ge+z)*a,(me+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a,me*y,(ge-z)*a,(me+ue)*y,(ge-ue)*a,(me+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-ue)*y,(ge-ue)*a,(me-z)*y,(ge-z)*a,(me-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a,me*y,(ge+z)*a,(me-ue)*y,(ge+ue)*a,(me-z)*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,te=re*b,z=0,ue=.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,(ue+te)*y,(z+te)*a,(ue+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,(z+te)*a,(ue-b)*y,.7*a,(ue-te)*y)),b=.1,te=re*.1,z=.9,ue=.5;var me=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-te)*y,(z-te)*a,(ue-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+te)*a,(ue-b)*y,(z+b)*a,(ue-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+te)*y,(z+te)*a,(ue+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-te)*a,(ue+b)*y,(z-b)*a,(ue+te)*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,te=re*b,z=0,ue=.5,ge=new go.PathFigure(0,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+te+te)*a,(ue-b)*y,.8*a,(ue-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+te)*y,(z+te+te)*a,(ue+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,te=re*b,z=.2,ue=.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,(ue+te)*y,(z+te)*a,(ue+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,(z+te)*a,(ue-b)*y,.7*a,(ue-te)*y)),b=.1,te=re*.1,z=.9,ue=.5;var he=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-te)*y,(z-te)*a,(ue-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+te)*a,(ue-b)*y,(z+b)*a,(ue-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+te)*y,(z+te)*a,(ue+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-te)*a,(ue+b)*y,(z-b)*a,(ue+te)*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,te=re*b,z=.2,ue=.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,(z+te)*a,(ue-b)*y,.9*a,(ue-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+te)*y,(z+te)*a,(ue+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,te=.1,z=.1,ue=.5,ge=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,0,(z-b)*a,y,(z-te)*a,0)),z=.3,ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+te)*a,0,(z+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,0,(z-b)*a,y,(z-te)*a,0)),z=.5,ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+te)*a,0,(z+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,0,(z-b)*a,y,(z-te)*a,0)),z=.7,ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+te)*a,0,(z+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,0,(z-b)*a,y,(z-te)*a,0)),z=.9,ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+te)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ee,a,y){var x=new go.Geometry,b=re*.5,te=.5,z=.5,ue=.5,ge=new go.PathFigure((z-te)*a,ue*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-te)*y,(z-te)*a,(ue-b)*y,(z-b)*a,(ue-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,ue*y,(z+b)*a,(ue-te)*y,(z+te)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+te)*y,(z+te)*a,(ue+b)*y,(z+b)*a,(ue+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-te)*a,ue*y,(z-b)*a,(ue+te)*y,(z-te)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Move,(z-te+.1)*a,ue*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+te-.1)*a,ue*y,z*a,(ue-te)*y,z*a,(ue+te)*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,te=y;a=a*.38,y=y*.6;var z=re*.8,ue=.8,ge=0,me=.5,he=(b-a)/2,pe=(te-y)/2,be=new go.PathFigure(ge*a+he,(me+ue)*y+pe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a+he,me*y+pe,(ge-z)*a+he,(me+ue)*y+pe,(ge-ue)*a+he,(me+z)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+he,(me-ue)*y+pe,(ge-ue)*a+he,(me-z)*y+pe,(ge-z)*a+he,(me-ue)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue+z*.5)*a+he,me*y+pe,ge*a+he,(me-ue)*y+pe,(ge-ue+z*.5)*a+he,(me-z)*y+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+he,(me+ue)*y+pe,(ge-ue+z*.5)*a+he,(me+z)*y+pe,ge*a+he,(me+ue)*y+pe).close()),z=re*.4,ue=.4,ge=.2,me=.5;var ye=new go.PathFigure(ge*a+he,(me+ue)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a+he,me*y+pe,(ge-z)*a+he,(me+ue)*y+pe,(ge-ue)*a+he,(me+z)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+he,(me-ue)*y+pe,(ge-ue)*a+he,(me-z)*y+pe,(ge-z)*a+he,(me-ue)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue+z*.5)*a+he,me*y+pe,ge*a+he,(me-ue)*y+pe,(ge-ue+z*.5)*a+he,(me-z)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+he,(me+ue)*y+pe,(ge-ue+z*.5)*a+he,(me+z)*y+pe,ge*a+he,(me+ue)*y+pe).close()),z=re*.2,ue=.2,ge=.5,me=.5;var Pe=new go.PathFigure((ge-ue)*a+he,me*y+pe,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+he,(me-ue)*y+pe,(ge-ue)*a+he,(me-z)*y+pe,(ge-z)*a+he,(me-ue)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a+he,me*y+pe,(ge+z)*a+he,(me-ue)*y+pe,(ge+ue)*a+he,(me-z)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+he,(me+ue)*y+pe,(ge+ue)*a+he,(me+z)*y+pe,(ge+z)*a+he,(me+ue)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a+he,me*y+pe,(ge-z)*a+he,(me+ue)*y+pe,(ge-ue)*a+he,(me+z)*y+pe)),z=re*.4,ue=.4,ge=.8,me=.5;var we=new go.PathFigure(ge*a+he,(me-ue)*y+pe,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a+he,me*y+pe,(ge+z)*a+he,(me-ue)*y+pe,(ge+ue)*a+he,(me-z)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+he,(me+ue)*y+pe,(ge+ue)*a+he,(me+z)*y+pe,(ge+z)*a+he,(me+ue)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue-z*.5)*a+he,me*y+pe,ge*a+he,(me+ue)*y+pe,(ge+ue-z*.5)*a+he,(me+z)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+he,(me-ue)*y+pe,(ge+ue-z*.5)*a+he,(me-z)*y+pe,ge*a+he,(me-ue)*y+pe).close()),z=re*.8,ue=.8,ge=1,me=.5;var Oe=new go.PathFigure(ge*a+he,(me-ue)*y+pe,!0);return x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a+he,me*y+pe,(ge+z)*a+he,(me-ue)*y+pe,(ge+ue)*a+he,(me-z)*y+pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+he,(me+ue)*y+pe,(ge+ue)*a+he,(me+z)*y+pe,(ge+z)*a+he,(me+ue)*y+pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue-z*.5)*a+he,me*y+pe,ge*a+he,(me+ue)*y+pe,(ge+ue-z*.5)*a+he,(me+z)*y+pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+he,(me-ue)*y+pe,(ge+ue-z*.5)*a+he,(me-z)*y+pe,ge*a+he,(me-ue)*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 te=new go.PathFigure(0,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,y)),te.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 te=new go.PathFigure(.1*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.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,te=.4,z=.5,ue=.5,ge=Se(),me=Se(),he=Se(),pe=Se();ve(z,ue-te,z+b,ue-te,z+te,ue-b,z+te,ue,.5,ge,ge,me,he,pe);var be=fe(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,(z+te)*a,ue*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+te)*y,(z+te)*a,(ue+b)*y,(z+b)*a,(ue+te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-te)*a,ue*y,(z-b)*a,(ue+te)*y,(z-te)*a,(ue+b)*y)),ve(z-te,ue,z-te,ue-b,z-b,ue-te,z,ue-te,.5,he,pe,me,ge,ge),ye.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),b=re*.3,te=.3,ve(z-te,ue,z-te,ue-b,z-b,ue-te,z,ue-te,.5,he,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,(z-te)*a,ue*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+te)*y,(z-te)*a,(ue+b)*y,(z-b)*a,(ue+te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+te)*a,ue*y,(z+b)*a,(ue+te)*y,(z+te)*a,(ue+b)*y)),ve(z,ue-te,z+b,ue-te,z+te,ue-b,z+te,ue,.5,ge,ge,me,he,pe),ye.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,pe.x*a,pe.y*y,he.x*a,he.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(he),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 te(z,ue,ge){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+ge)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+ge)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+ge)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*a,(.8+ge)*y).close())}return te(b,0,0),te(b,.4,0),te(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,te=0,z=0,ue=b*re,ge=.4*Math.SQRT2/2+.5,me=.5-.5*Math.SQRT2/2,he=1,pe=.5,be=.5,ye=0,Pe=new go.PathFigure(ge*a,(1-me)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,pe*y,he*a,.7*y,he*a,pe*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+te)*a,(ye+te)*y,(.5+b+te)*a,(.5-ue+te)*y,(.5+ue+te)*a,(.5-b+te)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+z)*y,(.5-ue+te)*a,(.5-b+z)*y,(.5-b+te)*a,(.5-ue+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*a,.9*y,(.5-b+te)*a,(.5+ue+z)*y,(.5-ue+te)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*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 te=new go.PathFigure(a,y,!1);x.add(te);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.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 te=new go.PathFigure(.45*a,.73*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),te.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),te.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 te=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),te.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,ue=.5,ge=z,me=Math.PI/4,he=4*(1-Math.cos(me))/(3*Math.sin(me)),pe=he*.5,be=z,ye=z,Pe=he*be,we=he*ye;te.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*a,ge*y,(ue-(Pe+be)/2)*a,(ge+(ye+we)/2)*y,(ue-be)*a,(ge+we)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(ge-ye)*y,(ue-be)*a,(ge-we)*y,(ue-Pe)*a,(ge-ye)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ue+be)*a,ge*y,(ue+Pe)*a,(ge-ye)*y,(ue+be)*a,(ge-we)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+be)*a,(ge+we)*y,(ue+(Pe+be)/2)*a,(ge+(ye+we)/2)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Oe=new go.PathFigure(.2*a,y,!1);x.add(Oe),Oe.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 te=new go.PathFigure(.2*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),te.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 te=new go.PathFigure(a,y,!1);x.add(te);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.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 te=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,te*a,te*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 te=new go.PathFigure(.475*a,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),te.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.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,te=re*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+te)*y,(b+te)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-te)*a,y,0,(b+te)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-te)*y,(b-te)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+te)*a,0,a,(b-te)*y));var ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.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 te=new go.PathFigure(0,.15*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),te.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 te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*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).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 te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.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 te=new go.PathFigure(.15*a,.6*y,!1);return x.add(te),te.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 te=new go.PathFigure(a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,ue=re*.1,ge=.2,me=.9,he=new go.PathFigure((ge-z)*a,me*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-z)*y,(ge-z)*a,(me-ue)*y,(ge-ue)*a,(me-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge+z)*a,me*y,(ge+ue)*a,(me-z)*y,(ge+z)*a,(me-ue)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me+z)*y,(ge+z)*a,(me+ue)*y,(ge+ue)*a,(me+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge-z)*a,me*y,(ge-ue)*a,(me+z)*y,(ge-z)*a,(me+ue)*y).close()),z=.1,ue=re*.1,ge=.8,me=.9;var pe=new go.PathFigure((ge-z)*a,me*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-z)*y,(ge-z)*a,(me-ue)*y,(ge-ue)*a,(me-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+z)*a,me*y,(ge+ue)*a,(me-z)*y,(ge+z)*a,(me-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me+z)*y,(ge+z)*a,(me+ue)*y,(ge+ue)*a,(me+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-z)*a,me*y,(ge-ue)*a,(me+z)*y,(ge-z)*a,(me+ue)*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 te=new go.PathFigure(0,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ge=.1,me=re*.1,he=.1,pe=.9,be=new go.PathFigure((he-ge)*a,pe*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ge)*y,(he-ge)*a,(pe-me)*y,(he-me)*a,(pe-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(he+ge)*a,pe*y,(he+me)*a,(pe-ge)*y,(he+ge)*a,(pe-me)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ge)*y,(he+ge)*a,(pe+me)*y,(he+me)*a,(pe+ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,pe*y,(he-me)*a,(pe+ge)*y,(he-ge)*a,(pe+me)*y)),ge=.1,me=re*.1,he=.4,pe=.9;var ye=new go.PathFigure((he-ge)*a,pe*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe-ge)*y,(he-ge)*a,(pe-me)*y,(he-me)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(he+ge)*a,pe*y,(he+me)*a,(pe-ge)*y,(he+ge)*a,(pe-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(pe+ge)*y,(he+ge)*a,(pe+me)*y,(he+me)*a,(pe+ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(he-ge)*a,pe*y,(he-me)*a,(pe+ge)*y,(he-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 te=new go.PathFigure(.45*a,.7*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var he=.05,pe=re*.05,be=.175,ye=.95,ue=new go.PathFigure((be-he)*a,ye*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-he)*y,(be-he)*a,(ye-pe)*y,(be-pe)*a,(ye-he)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(be+he)*a,ye*y,(be+pe)*a,(ye-he)*y,(be+he)*a,(ye-pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+he)*y,(be+he)*a,(ye+pe)*y,(be+pe)*a,(ye+he)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(be-he)*a,ye*y,(be-pe)*a,(ye+he)*y,(be-he)*a,(ye+pe)*y));var he=.05,pe=re*.05,be=.375,ye=.95,ge=new go.PathFigure((be-he)*a,ye*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-he)*y,(be-he)*a,(ye-pe)*y,(be-pe)*a,(ye-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+he)*a,ye*y,(be+pe)*a,(ye-he)*y,(be+he)*a,(ye-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+he)*y,(be+he)*a,(ye+pe)*y,(be+pe)*a,(ye+he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-he)*a,ye*y,(be-pe)*a,(ye+he)*y,(be-he)*a,(ye+pe)*y));var he=.05,pe=re*.05,be=.625,ye=.95,me=new go.PathFigure((be-he)*a,ye*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-he)*y,(be-he)*a,(ye-pe)*y,(be-pe)*a,(ye-he)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(be+he)*a,ye*y,(be+pe)*a,(ye-he)*y,(be+he)*a,(ye-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+he)*y,(be+he)*a,(ye+pe)*y,(be+pe)*a,(ye+he)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(be-he)*a,ye*y,(be-pe)*a,(ye+he)*y,(be-he)*a,(ye+pe)*y));var he=.05,pe=re*.05,be=.825,ye=.95,Pe=new go.PathFigure((be-he)*a,ye*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-he)*y,(be-he)*a,(ye-pe)*y,(be-pe)*a,(ye-he)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+he)*a,ye*y,(be+pe)*a,(ye-he)*y,(be+he)*a,(ye-pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+he)*y,(be+he)*a,(ye+pe)*y,(be+pe)*a,(ye+he)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be-he)*a,ye*y,(be-pe)*a,(ye+he)*y,(be-he)*a,(ye+pe)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ue=.05,ge=re*.05,me=.35,he=.775,pe=new go.PathFigure((me-ue)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(he-ue)*y,(me-ue)*a,(he-ge)*y,(me-ge)*a,(he-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me+ue)*a,he*y,(me+ge)*a,(he-ue)*y,(me+ue)*a,(he-ge)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(he+ue)*y,(me+ue)*a,(he+ge)*y,(me+ge)*a,(he+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(me-ue)*a,he*y,(me-ge)*a,(he+ue)*y,(me-ue)*a,(he+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,te=re*.3,z=.5,ue=.7,ge=new go.PathFigure((z-b)*a,ue*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-te)*y,(z-te)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+te)*a,(ue-b)*y,(z+b)*a,(ue-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+te)*y,(z+te)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-te)*a,(ue+b)*y,(z-b)*a,(ue+te)*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 te=new go.PathFigure(0,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),te.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,te=re*.5,z=.5,ue=.5,ge=new go.PathFigure((z-b)*a,ue*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-te)*y,(z-te)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+te)*a,(ue-b)*y,(z+b)*a,(ue-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+te)*y,(z+te)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-te)*a,(ue+b)*y,(z-b)*a,(ue+te)*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,te=re*.5,z=.5,ue=.5,ge=new go.PathFigure((z-b)*a,ue*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-te)*y,(z-te)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+te)*a,(ue-b)*y,(z+b)*a,(ue-te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+te)*y,(z+te)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-te)*a,(ue+b)*y,(z-b)*a,(ue+te)*y).close()),b=.05,te=re*.05,z=.5,ue=.8;var me=new go.PathFigure((z-b)*a,ue*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-te)*y,(z-te)*a,(ue-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+te)*a,(ue-b)*y,(z+b)*a,(ue-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+te)*y,(z+te)*a,(ue+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-te)*a,(ue+b)*y,(z-b)*a,(ue+te)*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 te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),te.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 te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.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 te=new go.PathFigure(0,y*.6,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),te.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 te=new go.PathFigure(.126*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.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 te=new go.PathFigure(a*.204,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.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 te=new go.PathFigure(a*.055,.07*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.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 te=new go.PathFigure(0,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.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,te=b*re,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-te,a-te,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,te,y,0,y-te)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,te,te,0).close());var ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.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,te=y*.8,z=new go.Geometry,ue=new go.PathFigure(x,0,!0);return z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,a,te-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,te,a,te-b,a-b,te)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,te)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,te)),ue.add(new go.PathSegment(go.PathSegment.Line,x,te)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,te-x,b,te,0,te-b)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),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 te=new go.PathFigure(a*1,y*.55,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),te.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 te=new go.PathFigure(a*.1,y*.2,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.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,te=b*re,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-te,a-te,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,te,y,0,y-te)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),te>1?(x.spot1=new go.Spot(0,0,te,te),x.spot2=new go.Spot(1,1,-te,-te)):(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 te=.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-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),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-te)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.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 te=.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-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),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-te)).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 te=.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-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),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-te)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.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 te=new go.PathFigure(a*.235,y*.28,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),te.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),te.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 _t={},dt="5.0",fe={},Se=null,xe=!1,E=!1,ve=null,de=!1,se=null,re=null,ie=0;ie<arguments.length;ie++){var le=arguments[ie];if(le!==null)switch(typeof le){case"number":dt=le.toFixed(1);break;case"string":le.match(new RegExp("^[0-9]\\.[0-9]+$"))?dt=le:ve=le;break;case"object":typeof le.is3D!="undefined"?Se=le:fe=le;break;case"boolean":xe=le,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},fe.material_id!==void 0&&!E&&(xe=!0)),ve!==null&&fe.id===void 0&&(fe.id=ve);var ce="",ae="",oe=!1,ne=null,ee=null,a=null,y=!1,x=null,b=null,te=null,z=null,ue=null;fe.height!==void 0&&(fe.height=Math.round(fe.height)),fe.width!==void 0&&(fe.width=Math.round(fe.width));var ge=function(Ge){return parseFloat(Ge)>4?parseFloat(Ge):5};_t.setHTML5Codebase=function(Ge,Fe){re=Ge,Ye(Ge,Fe)},_t.setJavaCodebase=_t.setJavaCodebaseVersion=_t.isCompiledInstalled=_t.setPreCompiledScriptPath=_t.setPreCompiledResourcePath=function(){},_t.setHTML5CodebaseVersion=function(Ge,Fe){var je=parseFloat(Ge);if(je!==NaN&&je<5){console.log("The GeoGebra HTML5 codebase version "+je+" is deprecated. Using version latest instead.");return}se=Ge,tt(Ge,Fe)},_t.getHTML5CodebaseVersion=function(){return ee},_t.getParameters=function(){return fe},_t.setFontsCSSURL=function(Ge){z=Ge},_t.setGiacJSURL=function(Ge){},_t.setJNLPFile=function(Ge){ce=Ge},_t.setJNLPBaseDir=function(Ge){},_t.inject=function(){function Ge(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Fe="auto",je=fe.id,qe,Je=!1,it=0;it<arguments.length;it++){var Qe=arguments[it];typeof Qe=="string"?(Qe=Qe.toLowerCase(),Qe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Fe=Qe:je=arguments[it]):typeof Qe=="boolean"?Je=Qe:Qe instanceof HTMLElement&&(qe=Qe)}Ze();function Ze(){if(!de){setTimeout(Ze,200);return}Fe=Be(Fe);var De=qe||document.getElementById(je);if(!De){console.log("possibly bug on ajax loading? ");return}if(_t.removeExistingApplet(De,!1),fe.width===void 0&&De.clientWidth&&(fe.width=De.clientWidth),fe.height===void 0&&De.clientHeight&&(fe.height=De.clientHeight),!(fe.width&&fe.height)&&Fe==="html5"&&(delete fe.width,delete fe.height),ne=Fe,Fe==="screenshot")Ce(De,fe);else{var Ve=!1;fe.hasOwnProperty("playButton")&&fe.playButton||fe.hasOwnProperty("clickToLoad")&&fe.clickToLoad?Ve=!0:fe.hasOwnProperty("playButtonAutoDecide")&&fe.playButtonAutoDecide&&(Ve=(!me()||Ge())&&he()),Ve?(ne="screenshot",Ee(De,fe,Je,Fe)):Oe(De,fe,Je)}}};function me(){try{return window.self!==window.top}catch(Ge){return!0}}function he(){return fe.hasOwnProperty("screenshotGenerator")&&fe.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}_t.getViews=function(){return Se},_t.isJavaInstalled=function(){return!1};var pe=function(Ge){var Fe=function(it){var Qe=JSON.parse(it),Ze=function(Ae){return Ae.type=="G"||Ae.type=="E"},De=Qe.elements?Qe.elements.filter(Ze)[0]:Qe;if(!De||!De.url){je();return}fe.fileName=De.url,be(De.settings||{}),Se.is3D=!0;var Ve="https://www.geogebra.org/images/";_t.setPreviewImage(x||De.previewUrl,Ve+"GeoGebra_loading.png",Ve+"applet_play.png"),Ge()},je=function(){fe.onError&&fe.onError(),et("Error: Fetching material (id "+fe.material_id+") failed.",fe)},qe=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Je="/materials/"+fe.material_id+"?scope=basic";ye("https://"+qe+"/api/proxy.php?path="+encodeURIComponent(Je),Fe,je)};function be(Ge){var Fe=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(je){Ge[je]=!!Ge[je]}),Fe.forEach(function(je){fe[je]===void 0&&Ge[je]!==void 0&&(fe[je]=Ge[je])}),fe.showToolBarHelp===void 0&&(fe.showToolBarHelp=fe.showToolBar)}function ye(Ge,Fe,je){var qe=new XMLHttpRequest;qe.open("GET",Ge),qe.onload=function(){Fe(qe.responseText)},qe.onerror=je,qe.send()}_t.isHTML5Installed=function(){return!0},_t.getLoadedAppletType=function(){return ne},_t.setPreviewImage=function(Ge,Fe,je){x=Ge,b=Fe,te=je},_t.removeExistingApplet=function(Ge,Fe){var je;typeof Ge=="string"&&(Ge=document.getElementById(Ge)),ne=null;var qe=null;for(je=0;je<Ge.childNodes.length;je++){var Je=Ge.childNodes[je],it=Je.className;it==="applet_screenshot"?Fe?(Je.style.display="block",ne="screenshot"):Je.style.display="none":it!=="applet_scaler prerender"&&(Ge.removeChild(Je),qe=it&&it.indexOf("appletParameters")!=-1?Je.id:null,je--)}var Qe=fe.id!==void 0?fe.id:qe,Ze=window[Qe];Ze&&typeof Ze.getBase64=="function"&&(Ze.remove(),window[Qe]=null)},_t.refreshHitPoints=function(){if(ge(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ge=_t.getAppletObject();return Ge&&typeof Ge.recalculateEnvironments=="function"?(Ge.recalculateEnvironments(),!0):!1},_t.startAnimation=function(){var Ge=_t.getAppletObject();return Ge&&typeof Ge.startAnimation=="function"?(Ge.startAnimation(),!0):!1},_t.stopAnimation=function(){var Ge=_t.getAppletObject();return Ge&&typeof Ge.stopAnimation=="function"?(Ge.stopAnimation(),!0):!1},_t.getAppletObject=function(){var Ge=fe.id!==void 0?fe.id:"ggbApplet";return window[Ge]},_t.resize=function(){};var Pe=function(Ge,Fe,je){var qe=document.createElement("param");qe.setAttribute("name",Fe),qe.setAttribute("value",je),Ge.appendChild(qe)},we=function(Ge){return Ge&&Ge!=="false"},Oe=function(Ge,Fe,je){ge(ee)<=4.2&&(je=!0);var qe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ee||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(qe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Je=document.createElement("div");Je.classList.add("appletParameters","notranslate");var it=Fe.width,Qe=Fe.height;if(Fe.disableAutoScale=Fe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Fe.disableAutoScale,Fe.width!==void 0)if(ge(ee)<=4.4)we(Fe.showToolBar)&&(Fe.height-=7),we(Fe.showAlgebraInput)&&(Fe.height-=37),Fe.width<605&&we(Fe.showToolBar)&&(Fe.width=605,it=605);else{var Ze=100;(we(Fe.showToolBar)||we(Fe.showMenuBar))&&(Fe.hasOwnProperty("customToolBar")&&(Fe.customToolbar=Fe.customToolBar),Ze=we(Fe.showMenuBar)?245:155),it<Ze&&(Fe.width=Ze,it=Ze)}Je.style.border="none",Je.style.display="inline-block";for(var De in Fe)Fe.hasOwnProperty(De)&&De!=="appletOnLoad"&&Je.setAttribute("data-param-"+De,Fe[De]);z&&Je.setAttribute("data-param-fontscssurl",z),_t.resize=function(){GGBAppletUtils.responsiveResize(Ge,Fe)},window.addEventListener("resize",function(vt){_t.resize()});var Ve=typeof Fe.appletOnLoad=="function"?Fe.appletOnLoad:function(){};if(!je&&Fe.width!==void 0){Fe.hasOwnProperty("showSplash")||Je.setAttribute("data-param-showSplash","false");var Ae=Ge.querySelector(".applet_scaler.prerender"),ke=Ae!==null;if(ke)var $e=Ae.querySelector(".ggb_preview");else{var $e=Ie(it,Qe,Fe.borderColor,!1);Ae=document.createElement("div"),Ae.className="applet_scaler",Ae.style.position="relative",Ae.style.display="block",Ae.style.width=it+"px",Ae.style.height=Qe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ae,"66%"),ge(ee)>=5?(Fe.appletOnLoad=function(vt){var nt=Ge.querySelector(".ggb_preview");nt&&nt.parentNode.removeChild(nt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ae),window.GGBT_wsf_view&&$(window).trigger("resize"),Ve(vt)},ke||Ae.appendChild($e)):Je.appendChild($e),Ae.appendChild(Je),ke||Ge.appendChild(Ae),setTimeout(function(){_t.resize()},1)}else{var Ke=document.createElement("div");Ke.className="applet_scaler",Ke.style.position="relative",Ke.style.display="block",Ke.appendChild(Je),Ge.appendChild(Ke),Fe.appletOnLoad=function(vt){_t.resize(),Ve(vt)}}function ze(vt,nt){nt&&typeof nt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(vt,nt.appletOnLoad):renderGGBElement(vt),et("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",nt)}function Le(vt,nt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:vt,params:nt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ut){ze(ut.article,ut.params)}),html5AppletsToProcess=null)},ge(ee)<5&&(vt.className+=" geogebraweb")):ze(vt,nt)}if(qe){scriptLoadStarted=!0;for(var Te=0;Te<Je.childNodes.length;Te++){var Ne=Je.childNodes[Te].tagName;Ne==="TABLE"&&(Je.removeChild(Je.childNodes[Te]),Te--)}if(ggbHTML5LoadedScript!==null){var He=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');He!=null&&He.parentNode.removeChild(He)}var rt=document.createElement("script"),mt=function(){Le(Je,Fe)};rt.src=ae+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ee,ggbHTML5LoadedScript=rt.src,et("GeoGebra HTML5 codebase loaded: '"+ae+"'.",Fe),!re&&(!se||se=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),mt()):ae.requirejs?__webpack_require__.e(12).then(function(){var vt=[__webpack_require__(12)];mt.apply(null,vt)}.bind(this)).catch(__webpack_require__.oe):(rt.onload=mt,Ge.appendChild(rt))}else Le(Je,Fe);Fe.height=Qe,Fe.width=it},Ce=function(Ge,Fe,je){var qe=Ie(Fe.width,Fe.height,Fe.borderColor,je),Je=document.createElement("div");Je.style.position="relative",Je.style.display="block",Je.style.width=Fe.width+"px",Je.style.height=Fe.height+"px",Je.className="applet_screenshot applet_scaler"+(je?" applet_screenshot_play":""),Je.appendChild(qe);var it=GGBAppletUtils.getScale(Fe,Ge,je);je?(Ge.appendChild(Me()),window.GGBT_wsf_view||(Ge.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Je,"66%"),Ge.appendChild(Je),it!==1&&!isNaN(it)&&(GGBAppletUtils.scaleElement(Je,it),Je.style.width=Fe.width+"px",Je.style.height=Fe.height+"px",Je.parentNode.style.width=Fe.width*it+"px",Je.parentNode.style.height=Fe.height*it+"px"),_t.resize=function(){_e(Ge,qe,Je,je)},window.addEventListener("resize",function(Qe){_t.resize()}),_t.resize()};function _e(Ge,Fe,je,qe){if(Ge.contains(Fe)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ge.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ge)}var Je=GGBAppletUtils.getScale(fe,Ge,qe);je.parentNode!==null&&(!isNaN(Je)&&Je!==1?(GGBAppletUtils.scaleElement(je,Je),je.parentNode.style.width=fe.width*Je+"px",je.parentNode.style.height=fe.height*Je+"px"):(GGBAppletUtils.scaleElement(je,1),je.parentNode.style.width=fe.width+"px",je.parentNode.style.height=fe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ge),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}_t.onExitFullscreen=function(Ge,Fe){Fe.appendChild(Ge)};var Ee=function(Ge,Fe,je,qe){Ce(Ge,Fe,!0);for(var Je=function(){var Ze=[];for(Qe=0;Qe<Ge.childNodes.length;Qe++)Ze.push(Ge.childNodes[Qe]);if(window.GGBT_wsf_view){var De=window.GGBT_wsf_view.renderFullScreen(Ge,Fe.id),Ve=document.getElementById("fullscreencontainer"),Ae=jQuery(Ge).find(".fullscreencontent");Ae.length>0?(De.remove(),Ae.attr("id","fullscreencontent").show(),jQuery(Ve).append(Ae),window.dispatchEvent(new Event("resize"))):Oe(De,Fe,!1),window.GGBT_wsf_view.launchFullScreen(Ve)}else ne=qe,Oe(Ge,Fe,!1);if(!window.GGBT_wsf_view)for(Qe=0;Qe<Ze.length;Qe++)Ge.removeChild(Ze[Qe])},it=Ge.getElementsByClassName("ggb_preview_play"),Qe=0;Qe<it.length;Qe++)it[Qe].addEventListener("click",Je,!1),it[Qe].addEventListener("ontouchstart",Je,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ge),he()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Me=function(){var Ge=document.createElement("div");if(Ge.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 Ge},Ie=function(Ge,Fe,je,qe){var Je=document.createElement("div");Je.className="ggb_preview",Je.style.position="absolute",Je.style.zIndex="90",Je.style.width=Ge-2+"px",Je.style.height=Fe-2+"px",Je.style.top="0px",Je.style.left="0px",Je.style.overflow="hidden",Je.style.backgroundColor="white";var it="lightgrey";je!==void 0&&(je==="none"?it="transparent":it=je),Je.style.border="1px solid "+it;var Qe=document.createElement("img");if(Qe.style.position="relative",Qe.style.zIndex="1000",Qe.style.top="-1px",Qe.style.left="-1px",x!==null&&Qe.setAttribute("src",x),Qe.style.opacity=.7,b!==null){var Ze,De,Ve;if(!qe){Ze=document.createElement("img"),Ze.style.position="absolute",Ze.style.zIndex="1001",Ze.style.opacity=1,Qe.style.opacity=.3,De=360,De>Ge/4*3&&(De=Ge/4*3),Ve=De/5.8,Ze.setAttribute("src",b),Ze.setAttribute("width",De),Ze.setAttribute("height",Ve);var Ae=(Ge-De)/2,ke=(Fe-Ve)/2;Ze.style.left=Ae+"px",Ze.style.top=ke+"px",Je.appendChild(Ze)}}return Je.appendChild(Qe),Je},Be=function(Ge){return Ge=Ge.toLowerCase(),Ge==="html5"||Ge==="screenshot"?Ge:"html5"},Re=["web","webSimple","web3d","tablet","tablet3d","phone"],tt=function(Ge,Fe){if(ee=Ge,Fe){Ye(ee,!0);return}var je=!xe;if(je){var qe=ge(ee);!isNaN(qe)&&qe<4.4&&(je=!1)}var Je,it;window.location.protocol.substr(0,4)==="http"?Je=window.location.protocol:Je="http:";var Qe=ee.indexOf("//");Qe>0?it=ee:Qe===0?it=Je+ee:it="https://www.geogebra.org/apps/5.2.814.0/";for(var Ze in Re)if(ee.slice(Re[Ze].length*-1)===Re[Ze]||ee.slice((Re[Ze].length+1)*-1)===Re[Ze]+"/"){Ye(it,!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&&!we(fe.showToolBar)&&!we(fe.showMenuBar)&&!we(fe.showAlgebraInput)&&!we(fe.enableRightClick)&&(!fe.appName||fe.appName=="classic")?it+="webSimple/":it+="web3d/",Ye(it,!1)},Ye=function(Ge,Fe){if(Ge.requirejs){ae=Ge;return}Ge.slice(-1)!=="/"&&(Ge+="/"),ae=Ge,Fe===null&&(Fe=Ge.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):Re.indexOf(je[je.length-2])>=0&&(a=je[je.length-2]+".nocache.js")),je=Ge.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 qe=parseFloat(ee);qe!==NaN&&qe<5&&Ge.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+qe+" is deprecated. Using version latest instead."),tt("5.0",Fe))},et=function(Ge,Fe){window.console&&window.console.log&&(!Fe||typeof Fe.showLogging=="undefined"||Fe.showLogging&&Fe.showLogging!=="false")&&console.log(Ge)};fe.material_id!==void 0?pe(Xe):Xe();function Xe(){var Ge=dt;se!==null?Ge=se:parseFloat(Ge)<5&&(Ge="5.0"),tt(Ge,!1),re!==null&&Ye(re,oe),de=!0}return _t},GGBAppletUtils=function(){"use strict";function _t(){return window.GGBT_wsf_edit!==void 0}function dt(de,se){se!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+se+","+se+")",de.style.webkitTransform="scale("+se+","+se+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function fe(de,se,re,ie,le,ce){var ae=null;if(ce!=null&&ce!="")for(var oe=de.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+ce+" ")>-1){ae=oe;break}else oe=oe.parentNode;var ne=0,ee=0,a=0,y=0,x=0,b=0,te=0;if(ae)ne=ae.offsetWidth,ee=Math.max(ie?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),de){var z=de.getBoundingClientRect();z.left>0&&z.left<=ne&&(le===void 0||!le)&&(document.dir==="rtl"?(x=ne-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ue=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,te=40)}}return de&&((re===void 0||!re)&&se>0&&se+y<ne?ne=se:ne-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(re===void 0||!re)&&(ee-=te)),{width:ne,height:ee}}function Se(de,se,re,ie,le){if(de.isScreenshoGenerator)return 1;var ce=ie!==void 0&&ie,ae=de.noScaleMargin!=null&&de.noScaleMargin,oe=function(ue){return ue&&ue!=="false"},ne=oe(de.autoHeight),ee=fe(se,de.width,re,ne,ce&&window.GGBT_wsf_view||ae,le),a=parseInt(ee.width),y=de.width,x=de.height;if(y===void 0){var b=se.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var te=a/y,z=ce?1:ee.height/x;return re!==void 0&&!re&&(te=Math.min(1,te),z=Math.min(1,z)),Math.min(te,z)}function xe(de,se,re){var ie=1,le,ce=!1;if(de.hasOwnProperty("allowUpscale")&&(ce=de.allowUpscale),de.hasOwnProperty("scale")&&(ie=parseFloat(de.scale),(isNaN(ie)||ie===null||ie===0)&&(ie=1),ie>1&&(ce=!0)),se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))le=Se(de,se,ce,re,de.scaleContainerClass);else return ie;return ce&&(!de.hasOwnProperty("scale")||ie===1)?le:Math.min(ie,le)}function E(de){var se=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=de.getBoundingClientRect(),le=(se-ie.width)/2,ce=(re-ie.height)/2;ce<0&&(ce=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(le<40?de.style.left="40px":de.style.left=le+"px",de.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?de.style.top="40px":de.style.top=ce+"px",de.style.left=le+"px")}function ve(de,se){var re=de.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(se.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var ie=xe(se,de);_t()&&re.setAttribute("data-param-scale",ie);for(var le=null,ce=0;ce<de.childNodes.length;ce++)if(de.childNodes[ce].className!==void 0&&de.childNodes[ce].className.match(/^applet_scaler/)){le=de.childNodes[ce];break}if(le!==null&&le.querySelector(".noscale")!==null)return;var ae=se.id!==void 0?se.id:"ggbApplet",oe=window[ae];(oe==null||!oe.recalculateEnvironments)&&le!==null&&!le.className.match(/fullscreen/)&&(le.parentNode.style.transform="",!isNaN(ie)&&ie!==1?(le.parentNode.style.width=se.width*ie+"px",le.parentNode.style.height=se.height*ie+"px",dt(le,ie)):(dt(le,1),le.parentNode.style.width=se.width+"px",le.parentNode.style.height=se.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&E(de),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:ve,isFlexibleWorksheetEditor:_t,positionCenter:E,getScale:xe,scaleElement:dt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var _t=n.location.search;return _t.indexOf(J)!=-1||_t.indexOf(K)!=-1}function q(_t,dt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(_t){var dt=s[L].bindings;s[L].bindings=function(){for(var fe=dt?dt():{},Se=_t[webModule.__softPermutationId],xe=O;xe<Se.length;xe++){var E=Se[xe];fe[E[O]]=E[P]}return fe}};var t;function u(){return v(),t}function v(){if(!t){var _t=o.createElement(Q);if(_t.id=L,_t.style.cssText=R+S,_t.tabIndex=-1,o.body.appendChild(_t),t=_t.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var dt=document.compatMode==U?V:W;t.write(dt+X),t.close()}}}function w(_t){function dt(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 ve(){if(!E){if(!xe())return;E=!0,Se(),o.removeEventListener&&o.removeEventListener(Z,ve,!1),de&&clearInterval(de)}}o.addEventListener&&o.addEventListener(Z,ve,!1);var de=setInterval(function(){ve()},$)}function fe(Se){var xe=u(),E=xe.body,ve=xe.createElement(_);ve.language=ab,ve.crossOrigin=W,ve.src=Se,webModule.__errFn&&(ve.onerror=function(){webModule.__errFn(L,new Error(bb+Se))}),E.appendChild(ve)}dt(function(){fe(_t)})}webModule.__startLoadingFragment=function(_t){return C(_t)},webModule.__installRunAsyncCode=function(_t){var dt=u(),fe=dt.body,Se=dt.createElement(_);Se.language=ab,Se.text=_t,fe.appendChild(Se),fe.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(_t){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(_t){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(_t){var dt=c[_t];return dt==null?null:dt},r=d,webModule.__errFn=e}function B(){function _t(de){var se=de.lastIndexOf(rb);se==-1&&(se=de.length);var re=de.indexOf(sb);re==-1&&(re=de.length);var ie=de.lastIndexOf(tb,Math.min(re,se));return ie>=O?de.substring(O,ie+P):W}function dt(de){if(!de.match(/^\w+:\/\//)){var se=o.createElement(ub);se.src=de+vb,de=_t(se.src)}return de}function fe(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function Se(){for(var de=o.getElementsByTagName(_),se=O;se<de.length;++se)if(de[se].src.indexOf(xb)!=-1)return _t(de[se].src);return W}function xe(){var de=o.getElementsByTagName(yb);return de.length>O?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var ve=fe();return ve==W&&(ve=Se()),ve==W&&(ve=xe()),ve==W&&E()&&(ve=_t(o.location.href)),ve=dt(ve),ve}function C(_t){return _t.match(/^\//)||_t.match(/^[a-zA-Z]+:\/\//)?_t:webModule.__moduleBase+_t}function D(){var _t=[],dt=O,fe=[],Se=[];function xe(de){var se=Se[de](),re=fe[de];if(se in re)return se;var ie=[];for(var le in re)ie[re[le]]=le;throw r&&r(de,ie,se),null}if(__gwt_isKnownPropertyValue=function(de,se){return se in fe[de]},webModule.__getPropMap=function(){var de={};for(var se in fe)fe.hasOwnProperty(se)&&(de[se]=xe(se));return de},webModule.__computePropValue=xe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var ve=E.indexOf(Db);ve!=-1&&(dt=parseInt(E.substring(ve+P),$),E=E.substring(O,ve))}catch(de){}return webModule.__softPermutationId=dt,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(_t,dt,fe){"use strict";fe.d(dt,{Ax:function(){return ve},Ds:function(){return de},KI:function(){return re},SI:function(){return E},f1:function(){return xe}});var Se=fe(11320);function xe(ie){let le=!0;if(ie.length>0){for(let ce=0;ce<ie.length;ce++)if(ie[ce].compile_success==0||!ie[ce].compile_success){le=!1;break}}else le=!1;return le}function E(ie,le=""){let ce=[];for(let ae=0;ae<ie.length;ae++){let oe=ie[ae],ne=le?`${le}/${oe.name}`:`${oe.name}`;ce.push({title:oe.name,type:oe.type,isLeaf:oe.type!=="tree",key:ne})}return ce}function ve(ie,le,ce){for(let ae=0;ae<ie.length;ae++){let oe=ie[ae];if(oe.key===le){oe.children=ce;break}oe.children&&ve(oe.children,le,ce)}return ie}function de(ie,le,ce){let ae;return function(){let oe=this,ne=arguments,ee=function(){ae=null,ce||ie.apply(oe,ne)},a=ce&&!ae;clearTimeout(ae),ae=setTimeout(ee,le),a&&ie.apply(oe,ne)}}const se=!0,re=Se.Z.API_SERVER},93137:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return we},U:function(){return be}});var Se=fe(67294),xe=fe(55054),E=fe(14446),ve=fe(9430),de=fe(51959),se=fe(15835),re=fe(27484),ie=fe.n(re),le={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"},ce="data:image/png;base64,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",ae="data:image/png;base64,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",oe=fe(28706),ne=fe(35973),ee=fe(5764),a=fe(67294),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,ge=(Oe,Ce,_e)=>Ce in Oe?y(Oe,Ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Oe[Ce]=_e,me=(Oe,Ce)=>{for(var _e in Ce||(Ce={}))z.call(Ce,_e)&&ge(Oe,_e,Ce[_e]);if(te)for(var _e of te(Ce))ue.call(Ce,_e)&&ge(Oe,_e,Ce[_e]);return Oe},he=(Oe,Ce)=>x(Oe,b(Ce)),pe=(Oe,Ce,_e)=>new Promise((Ee,Me)=>{var Ie=tt=>{try{Re(_e.next(tt))}catch(Ye){Me(Ye)}},Be=tt=>{try{Re(_e.throw(tt))}catch(Ye){Me(Ye)}},Re=tt=>tt.done?Ee(tt.value):Promise.resolve(tt.value).then(Ie,Be);Re((_e=_e.apply(Oe,Ce)).next())});const be=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ye}=xe.default,Pe=({exercise:Oe,socket:Ce,dispatch:_e,onStartScreenshot:Ee,onCloseScreenshot:Me,handleToDetail:Ie})=>{const Be=(0,ne.useIntl)(),[Re,tt]=E.default.useModal(),Ye=(0,Se.useRef)(),[et,Xe]=(0,Se.useState)(!0),Ge=(0,Se.useRef)(!1),Fe=(0,ne.useParams)();(0,Se.useEffect)(()=>{var He,rt,mt;if(document.addEventListener((0,de.gH)(),Te,!1),window.addEventListener("blur",ze,!1),(He=Oe.exerciseUserInfo)!=null&&He.screen_open&&(0,de.vp)()&&Xe(!1),(rt=Oe.exerciseUserInfo)!=null&&rt.screen_open&&!(0,de.vp)()){(0,oe.RG)(" ",!0);const vt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Oe.exerciseUserInfo.screen_sec+3:Oe.exerciseUserInfo.screen_sec+10+1;Ye.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"}},Oe.exerciseUserInfo.screen_num-Oe.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 nt;const ut=yield Le();(nt=Ye.current)==null||nt.destroy(),ut.used_screen_num&&ke(ut.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+vt*1e3})),"S\uFF09"),onOk:()=>{var nt;(0,oe.RG)(" ",!0),(nt=Ye.current)==null||nt.destroy(),Xe(!1),(0,de.Dj)(document.body),document.getElementById("root").addEventListener("click",qe,!1)}})}return(mt=Oe.exerciseUserInfo)!=null&&mt.screen_open&&!(0,de.vp)()||document.getElementById("root").addEventListener("click",qe,!1),()=>{document.getElementById("root").removeEventListener("click",qe,!1),document.removeEventListener((0,de.gH)(),Te,!1),window.removeEventListener("blur",ze,!1)}},[]),(0,Se.useEffect)(()=>{setTimeout(()=>{Oe.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",qe,!1),document.removeEventListener((0,de.gH)(),Te,!1))},500),Je()},[Oe.actionTabs]),(0,Se.useEffect)(()=>{setTimeout(()=>{Oe.exerciseUserInfo.used_screen_num>Oe.exerciseUserInfo.screen_num&&$e()},500)},[Oe.exerciseUserInfo]);const je=()=>pe(void 0,null,function*(){const He=yield Le();setTimeout(()=>{var rt,mt;(rt=Ye.current)==null||rt.destroy(),Ye.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"},He.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(mt=Oe.exerciseUserInfo)==null?void 0:mt.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>pe(void 0,null,function*(){(0,de.Dj)(document.body)})})},1e3)}),qe=He=>{!(0,de.vp)()&&He.target.nodeName!=="A"&&He.target.nodeName!=="BUTTON"&&He.target.innerHTML!=="\u786E \u5B9A"&&(0,de.Dj)(document.body)},Je=()=>pe(void 0,null,function*(){const He=yield _e({type:"exercise/getExerciseUserInfo",payload:me({},Fe)});return He==null?void 0:He.data}),it=He=>pe(void 0,null,function*(){var rt;if((rt=Oe.exerciseUserInfo)!=null&&rt.screen_at){const vt=yield(0,se.ck)(he(me({},Fe),{reset:!0}));if((vt==null?void 0:vt.status)===-6)return}const mt=yield(0,se.oy)({id:Fe.categoryId});if(mt!=null&&mt.is_commit){E.default.destroyAll(),yield Qe(),Ke(!0);return}else ke(He+1)}),Qe=()=>pe(void 0,null,function*(){var He;const rt=ie()(),mt=Oe.exerciseUserInfo.screen_sec;if(Ve.current.length>0){const vt=rt.format("YYYY-MM-DD HH:mm:ss");let nt=Math.floor(rt.diff(ie()(Ve.current[0].start))/1e3);const ut=Ve.current.length;nt/mt>>0>ut&&(nt=(ut+1)*mt-1),yield(0,se.P8)(Fe.categoryId,{exercise_user_id:(He=Oe.exerciseUserInfo)==null?void 0:He.exercise_user_id,time:vt,time_long:nt,count:ut})}Ve.current=[]}),Ze=(0,Se.useRef)(0),De=(0,Se.useRef)(0),Ve=(0,Se.useRef)([]),Ae=(0,Se.useRef)(!1),ke=He=>pe(void 0,null,function*(){var rt;Ge.current||(Ee(),E.default.destroyAll(),Ze.current=ie()().valueOf(),Ae.current=!0,Ye.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:le.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,ee._V)(ee.CP.recordScreen8)),content:a.createElement("div",{className:le.exitFullScreenModal},a.createElement("img",{src:ce,alt:"",className:le.warningIcon}),a.createElement("div",{className:le.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:le.warningText},((rt=Oe.exerciseUserInfo)==null?void 0:rt.screen_num)+1),(0,ee._V)(ee.CP.recordScreen12),a.createElement("span",{className:le.warningText,style:{fontWeight:600}},(0,ee._V)(ee.CP.recordScreen13)),",",(0,ee._V)(ee.CP.recordScreen14),a.createElement("span",{className:le.warningText},He-1),(0,ee._V)(ee.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ye,{className:le.countdownWrapper,onFinish:()=>{De.current=ie()().valueOf(),Ve.current.push({start:Ze.current,end:De.current}),it(He)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Oe.exerciseUserInfo.screen_sec+1)*1e3}),(0,ee._V)(ee.CP.recordScreen25)),(0,ee._V)(ee.CP.recordScreen16))),onOk:()=>{(0,oe.RG)(" ",!0),Qe(),(0,de.Dj)(document.body),Me(),Ye.current.destroy(),Ae.current=!1}}))}),$e=()=>pe(void 0,null,function*(){E.default.destroyAll(),(yield(0,se.VL)({categoryId:Fe.categoryId,commit_method:1}))&&Ke()}),Ke=(He=!1)=>pe(void 0,null,function*(){var rt,mt;if(document.removeEventListener((0,de.gH)(),Te,!1),(0,de.BU)(),E.default.destroyAll(),Ge.current=!0,He){const vt=yield(0,se.Yu)(Fe.categoryId,{exercise_user_id:(rt=Oe.exerciseUserInfo)==null?void 0:rt.exercise_user_id});Re.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:Be.formatMessage({id:"classroomGraphicGroupHomework.return",defaultMessage:"\u8FD4\u56DE"}),width:616,className:le.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:le.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:le.forcedText},(0,ee._V)(ee.CP.recordScreen17)),a.createElement("div",{className:le.screenNumText},(0,ee._V)(ee.CP.recordScreen18),(mt=Oe.exerciseUserInfo)==null?void 0:mt.screen_num,(0,ee._V)(ee.CP.recordScreen19)),a.createElement(ve.default,{dataSource:vt==null?void 0:vt.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:()=>{Me(),Ie()},onOk:()=>{ne.history.push(`/classrooms/${Fe.coursesId}/exercisenotice/${Fe.categoryId}/users/${Fe.login}?isShowApply=true`)}})}else Re.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:()=>{Ie()}})}),ze=He=>{(0,de.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ae.current&&(0,de.BU)()},Le=()=>pe(void 0,null,function*(){var He;if((He=Oe.exerciseUserInfo)!=null&&He.screen_at){const vt=yield(0,se.ck)(he(me({},Fe),{reset:!0}));if((vt==null?void 0:vt.status)===-6)return}const rt=yield(0,se.oy)({id:Fe.categoryId});if(rt!=null&&rt.is_commit){Ke();return}return yield Je()}),Te=()=>pe(void 0,null,function*(){var He;if((0,oe.RG)(" ",!0),(0,de.vp)()){if((He=Oe.exerciseUserInfo)!=null&&He.screen_at){var rt=yield(0,se.ck)(he(me({},Fe),{reset:!0}));if((rt==null?void 0:rt.status)===-6)return}}else if(!Ae.current){var rt=yield(0,se.ck)(me({},Fe));if((rt==null?void 0:rt.status)===-6)return;const vt=yield Je();ke(vt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Ne=()=>pe(void 0,null,function*(){(0,se.ck)(me({},Fe));const He=yield Je();ke(He.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,tt)};var we=(0,ne.connect)(({exercise:Oe,globalSetting:Ce})=>({globalSetting:Ce,exercise:Oe}))(Pe)},96325:function(_t,dt,fe){"use strict";fe.d(dt,{X:function(){return ve},y:function(){return E}});var Se=fe(67294),xe=fe(2453);const E=de=>{(0,Se.useEffect)(()=>{if(de){const se=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},re=ie=>{ie.preventDefault()};return document.addEventListener("keydown",se),document.addEventListener("contextmenu",re),()=>{document.removeEventListener("keydown",se),document.removeEventListener("contextmenu",re)}}},[de])},ve=()=>{const[de,se]=(0,Se.useState)(!1),re=ie=>{const{keyCode:le,ctrlKey:ce,metaKey:ae,type:oe}=ie;(oe==="paste"||(le===67||le===86)&&(ae||ce))&&(xe.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,Se.useEffect)(()=>(de&&(window.addEventListener("keydown",re,!0),window.addEventListener("paste",re,!0)),()=>{window.removeEventListener("keydown",re,!0),window.removeEventListener("paste",re,!0)}),[de]),{setOpenDisableCopyAndPaste:se,disableCopyAndPaste:de}}},63205:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return oe}});var Se=fe(67294),xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=fe(94184),ve=fe.n(E),de=fe(57953),se=fe(15979),re=fe(33170),ie=fe(28706),le=fe(35973),ce=(ne,ee,a)=>new Promise((y,x)=>{var b=ue=>{try{z(a.next(ue))}catch(ge){x(ge)}},te=ue=>{try{z(a.throw(ue))}catch(ge){x(ge)}},z=ue=>ue.done?y(ue.value):Promise.resolve(ue.value).then(b,te);z((a=a.apply(ne,ee)).next())}),oe=({data:ne,className:ee,fullWidth:a,style:y={},onClose:x,onOk:b,showFullTools:te,noAssociationId:z})=>{const ue=(0,le.useIntl)(),ge=(0,Se.useRef)(null),me=(0,Se.useRef)(null),he=(0,Se.useRef)(null),pe=(0,Se.useRef)(null),[be,ye]=(0,Se.useState)(!1),[Pe,we]=(0,Se.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Se.useEffect)(()=>{he.current||(he.current=document.createElement("style"),document.head.appendChild(he.current)),ne!=null&&ne.visible?(document.body.setAttribute("data-custom","y-hidden"),he.current.innerHTML=" html { overflow-y: hidden; }",ne!=null&&ne.src&&Oe()):(document.body.removeAttribute("data-custom"),he.current&&(document.head.removeChild(he.current),he.current=null))},[ne==null?void 0:ne.visible]);const Oe=()=>ce(void 0,null,function*(){ye(!0),we("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ie=yield(0,ie.ZJ)(ne==null?void 0:ne.src);ge.current.src="",ge.current.src=Ie,ge.current.onload=function(){Me()},ye(!1),we("")}),Ce=()=>{document.body.removeAttribute("data-custom"),he.current.innerHTML=" ",x()},_e=Ie=>ce(void 0,null,function*(){ye(!0),we("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Be=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ne.title,file:Ie.dataUrl}});Be!=null&&Be.id&&!z?(yield(0,re.ZP)(`/api/attachments/${ne.id}/add_subitem.json`,{method:"post",body:{subitem_id:Be==null?void 0:Be.id,settings:JSON.stringify(Ie.state)}})).status===0&&b():Be!=null&&Be.id&&b(Be),document.body.removeAttribute("data-custom"),he.current.innerHTML=" ",ye(!1),we("")}),Ee=()=>{const Ie=document.querySelector('a[href="https://markerjs.com/"]');Ie&&Ie.parentNode&&(Ie.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:ue.formatMessage({id:"shixuns.text",defaultMessage:"\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:ue.formatMessage({id:"classroomClassroomExperiments.save",defaultMessage:"\u4FDD\u5B58"})},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Re=>{const tt=document.querySelector(Re.name);tt&&tt.setAttribute("title",Re.title)})},Me=()=>{me.current=new se.hP(ge.current),me.current.targetRoot=pe.current,me.current.addEventListener("render",_e),me.current.addEventListener("beforeclose",Ce),te&&(me.current.availableMarkerTypes=me.current.ALL_MARKER_TYPES,me.current.uiStyleSettings.redoButtonVisible=!0,me.current.uiStyleSettings.notesButtonVisible=!0,me.current.uiStyleSettings.zoomButtonVisible=!0,me.current.uiStyleSettings.zoomOutButtonVisible=!0,me.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=me.current.uiStyleSettings,me.current.show(),ne!=null&&ne.snapshotData&&me.current.restoreState(ne.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ee()},300)};return Se.createElement(Se.Fragment,null,(ne==null?void 0:ne.visible)&&Se.createElement(de.Z,{spinning:be,tip:Pe,style:{position:"absolute"}},Se.createElement("div",{ref:pe,className:ve()(xe.imageDimensions,ee,a?xe.fullWidth:""),style:y},Se.createElement("img",{className:xe.img,ref:ge}))))}},36527:function(_t,dt,fe){"use strict";var Se=fe(67294),xe=fe(71230),E=fe(15746),ve=fe(66368),de=fe(71577),se=fe(85725),re=fe(71736),ie=fe(84279),le=fe(35973),ce=fe(67294);const ae=(0,Se.forwardRef)(({callback:oe,showSaveButton:ne,value:ee=""},a)=>{const y=(0,Se.useRef)(),x=(0,le.useIntl)(),b=[{name:x.formatMessage({id:"markdownEditor.fractionsScores",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.rootsSuperscripts",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.limitsLogarithms",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.trigonometricFunctions",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.integralOperations",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.largeOperations",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.bracketsRounding",defaultMessage:"\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 "}]}]}],te=[{name:x.formatMessage({id:"markdownEditor.algebra",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.geometry",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.inequalities",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.integrals",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.trigonometry",defaultMessage:"\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:x.formatMessage({id:"markdownEditor.statistics",defaultMessage:"\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}`}]}]}],z=me=>{y.current.setValue(y.current.getValue()+" "+me.value+" ")},ue=[{key:"1",label:x.formatMessage({id:"markdownEditor.quickTemplates",defaultMessage:"\u5FEB\u6377\u6A21\u677F"}),children:ce.createElement(xe.Z,{className:re.Z.lists,gutter:[10,10]},b.map((me,he)=>ce.createElement(E.Z,{flex:"110px",className:re.Z.item},ce.createElement("div",null,ce.createElement(se.Z,{value:`$$${me.value}$$`}),me.name),ce.createElement("div",{className:re.Z.children},me.children.map((pe,be)=>ce.createElement("div",{key:be},ce.createElement("h1",null,pe.name),ce.createElement(xe.Z,{gutter:[10,10]},pe.data.map((ye,Pe)=>ce.createElement(E.Z,{key:Pe,onClick:()=>z(ye),className:re.Z.diamond},ce.createElement(se.Z,{value:"`$$"+ye.value+"$$`"}))))))))))},{key:"2",label:x.formatMessage({id:"markdownEditor.formulaTemplates",defaultMessage:"\u516C\u5F0F\u6A21\u677F"}),children:ce.createElement(xe.Z,{className:re.Z.lists,gutter:[10,10]},te.map((me,he)=>ce.createElement(E.Z,{flex:"110px",className:re.Z.item},ce.createElement("div",null,ce.createElement(se.Z,{value:"`$$"+me.value+"$$`"}),me.name),ce.createElement("div",{className:re.Z.children},me.children.map((pe,be)=>ce.createElement("div",{key:be},pe.name&&ce.createElement("h1",null,pe.name),ce.createElement(xe.Z,{gutter:[10,10]},pe.data.map((ye,Pe)=>ce.createElement(E.Z,{key:Pe,onClick:()=>z(ye),className:re.Z.diamond},ce.createElement(se.Z,{value:"`$$"+ye.value+"$$`"}))))))))))}],ge=()=>{var me=document.createElement("div");me.innerHTML=y.current.getValue();var he=me.innerText;return oe&&oe(he),he};return(0,Se.useImperativeHandle)(a,()=>({getData:ge})),ce.createElement("div",{className:re.Z.mathWrap},ce.createElement(ve.default,{defaultActiveKey:"1",items:ue}),ce.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:x.formatMessage({id:"markdownEditor.pleaseOpenKeyboardEnterFormula",defaultMessage:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F"}),ref:y,style:{width:800,marginTop:30,fontSize:18}},ee||""),ne&&ce.createElement("div",{className:re.Z.button},ce.createElement(de.ZP,{size:"large",onClick:ge,style:{zIndex:8,marginTop:10},type:"primary"},x.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))});dt.Z=ae},7621:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return ve}});var Se=fe(35973),xe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=fe(67294),ve=({message:de,className:se,children:re,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${xe.idsRingWrapper} ${se}`},E.createElement("div",{className:xe.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),de?E.createElement("p",{style:ie},de):null,re,E.createElement(Se.Outlet,null))},60076:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return ve}});var Se=fe(67294),xe=fe(33054),E=fe(67294),ve=({defaultX:de="40%",leftChild:se,rightChild:re,className:ie,hideResize:le=!1})=>{const[ce,ae]=(0,Se.useState)(de),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 ce=="number"&&ce!==.01?`${ce}px`:de,a=`calc(100% - ${le?"0px":"4px"} - ${ee})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:ee,display:ce===.01?"none":""}},se),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(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return re}});var Se=fe(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=fe(94184),ve=fe.n(E),de=fe(35973),re=({className:ie,style:le={},leftNode:ce,leftTitle:ae,rightNode:oe,rightTitle:ne})=>{const ee=(0,de.useIntl)();return Se.createElement("div",{className:ve()(xe.result,ie),style:le},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,ae||ee.formatMessage({id:"shixuns.selfTestInput",defaultMessage:"\u81EA\u6D4B\u8F93\u5165"}))),Se.createElement("div",{className:xe.leftNode},ce)),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,ne||ee.formatMessage({id:"shixuns.executionResults",defaultMessage:"\u8FD0\u884C\u7ED3\u679C"}))),Se.createElement("div",{className:xe.rightNode},oe)))}},88508:function(_t,dt,fe){"use strict";var Se=fe(67294);const xe=ve=>String(ve).length===1?`0${ve}`:ve,E=({className:ve="",onChange:de,defaultValue:se=0})=>{const[re,ie]=(0,Se.useState)(se);(0,Se.useEffect)(()=>{const oe=setTimeout(()=>{ie(re+1e3)},1e3);return de(re+1e3),()=>{clearInterval(oe)}},[re]);const le=parseInt(re/(60*6e4))||"00",ce=parseInt(re%(60*6e4)/6e4)||"00",ae=parseInt(re%6e4/1e3)||"00";return Se.createElement("div",{className:ve},xe(le),":",xe(ce),":",xe(ae))};dt.Z=E},71865:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return ve}});var Se=fe(67294),xe=fe(33054),E=fe(99398),ve=()=>{const[de,se]=(0,Se.useState)(""),[re,ie]=(0,Se.useState)(0);let[le,ce]=(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=>{se(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=de},[de]);function y(pe){pe.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",ce(void 0),oe(void 0),ie(0),se("")}function b(){ie(re+90)}function te(){le=me.current.width*1.1,ae=me.current.height*1.1,oe(ae),ce(le)}function z(){le=me.current.width/1.1,ae=me.current.height/1.1,oe(ae),ce(le)}const ue=(0,Se.useRef)(),ge=(0,Se.useRef)(),me=(0,Se.useRef)(),he=pe=>{(pe.nativeEvent.target===ue.current||pe.nativeEvent.target===ge.current)&&x()};return Se.createElement(Se.Fragment,null,de?Se.createElement("div",null,Se.createElement("div",{className:"preview-wrp-group",ref:ge},Se.createElement(E.Z,{className:"image-preview",src:de,style:{display:"none"},preview:{visible:!0,src:de,movable:!1,onVisibleChange:pe=>{se("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57444:function(_t,dt,fe){"use strict";fe.d(dt,{h:function(){return ge}});var Se=fe(67294),xe=fe(11713),E=fe(22150),ve=fe(71577),de=fe(4631),se=fe.n(de),re=fe(71749),ie=fe(30483),le=fe(35973),ce=Object.defineProperty,ae=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(me,he,pe)=>he in me?ce(me,he,{enumerable:!0,configurable:!0,writable:!0,value:pe}):me[he]=pe,x=(me,he)=>{for(var pe in he||(he={}))ee.call(he,pe)&&y(me,pe,he[pe]);if(ne)for(var pe of ne(he))a.call(he,pe)&&y(me,pe,he[pe]);return me},b=(me,he)=>ae(me,oe(he));const te=xe.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ue={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};dt.Z=({callback:me,onCancel:he})=>{const[pe,be]=(0,Se.useState)("python");function ye(Oe){be(ue[Oe][1])}function Pe(Oe){me(Oe)}const we=(0,le.useIntl)();return Se.createElement(E.default,b(x({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Pe,style:{width:500}}),Se.createElement(E.default.Item,{label:we.formatMessage({id:"markdownEditor.codeLanguage",defaultMessage:"\u4EE3\u7801\u8BED\u8A00"}),name:"language"},Se.createElement(xe.default,{getPopupContainer:Oe=>Oe.parentNode,onChange:ye},Object.keys(ue).map(Oe=>Se.createElement(te,{key:Oe,value:Oe},ue[Oe][0])))),Se.createElement(E.default.Item,{label:we.formatMessage({id:"markdownEditor.codeContent",defaultMessage:"\u4EE3\u7801\u5185\u5BB9"}),name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Se.createElement(ge,{mode:pe})),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},we.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Se.createElement(ve.ZP,{type:"ghost",onClick:he},we.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))};function ge({value:me,onChange:he,mode:pe,options:be={}}){const ye=(0,Se.useRef)(),[Pe,we]=(0,Se.useState)();return(0,Se.useEffect)(()=>{if(Pe){let Oe=function(Ce){const _e=Ce.getValue();he&&he(_e)};return Pe.on("change",Oe),()=>{Pe.off("change",Oe)}}},[Pe,he]),(0,Se.useEffect)(()=>{Pe&&Pe.setOption("mode",pe)},[Pe,pe]),(0,Se.useEffect)(()=>{Pe&&(me!==Pe.getValue()||me==="")&&setTimeout(()=>{Pe.setValue(me||"")},300)},[Pe,me]),(0,Se.useEffect)(()=>{if(ye.current&&!Pe){const Oe=se().fromTextArea(ye.current,x({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},be));we(Oe)}},[ye.current,Pe]),Se.createElement("div",{className:"my-codemirror-container"},Se.createElement("textarea",{ref:ye}))}},35567:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return ar}});var Se=fe(67294),xe=fe(4631),E=fe.n(xe),ve=fe(91033),de=fe(71749),se=fe(57341),re=fe(82801),ie=fe(88386),le=fe(49047),ce=fe(80785),ae=fe(85725),oe=({value:xt="",className:It,showTextOnly:Rt,showLines:fn,style:Nn={}})=>{const jn=(0,Se.useMemo)(()=>"",[xt]);return Se.createElement(Se.Fragment,null,Se.createElement("div",{dangerouslySetInnerHTML:{__html:jn}}))},ne=fe(35973),ee=fe(67294),a=Object.defineProperty,y=Object.defineProperties,x=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ue=(xt,It,Rt)=>It in xt?a(xt,It,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):xt[It]=Rt,ge=(xt,It)=>{for(var Rt in It||(It={}))te.call(It,Rt)&&ue(xt,Rt,It[Rt]);if(b)for(var Rt of b(It))z.call(It,Rt)&&ue(xt,Rt,It[Rt]);return xt},me=(xt,It)=>y(xt,x(It));function he({onActionCallback:xt,title:It,icon:Rt,actionName:fn,className:Nn="",children:jn}){function gr(){xt(fn)}return ee.createElement("a",{title:It,className:Nn,onClick:gr},ee.createElement("i",{className:`${Rt}`}),jn)}var pe=({watch:xt,showNullButton:It,showNullProgramButton:Rt,onActionCallback:fn,fullScreen:Nn,insertTemp:jn,hidetoolBar:gr,extraUse:hr})=>{const qn=(0,ne.useIntl)(),lo=[...[{title:qn.formatMessage({id:"markdownEditor.bold",defaultMessage:"\u7C97\u4F53"}),icon:"md-iconfont icon-bold",actionName:"bold"},{title:qn.formatMessage({id:"markdownEditor.italic",defaultMessage:"\u659C\u4F53"}),icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:qn.formatMessage({id:"markdownEditor.unorderedList",defaultMessage:"\u65E0\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:qn.formatMessage({id:"markdownEditor.orderedList",defaultMessage:"\u6709\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:qn.formatMessage({id:"markdownEditor.inlineCode",defaultMessage:"\u884C\u5185\u4EE3\u7801"}),icon:"md-iconfont icon-code",actionName:"code"},{title:qn.formatMessage({id:"markdownEditor.codeBlockMultiLanguage",defaultMessage:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09"}),icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:qn.formatMessage({id:"markdownEditor.link",defaultMessage:"\u94FE\u63A5"}),icon:"md-iconfont icon-link",actionName:"link"},"|",{title:qn.formatMessage({id:"markdownEditor.inlineFormula",defaultMessage:"\u884C\u5185\u516C\u5F0F"}),icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:qn.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:qn.formatMessage({id:"markdownEditor.multiLineFormula",defaultMessage:"\u591A\u884C\u516C\u5F0F"}),icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:qn.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:qn.formatMessage({id:"markdownEditor.insertDrawing",defaultMessage:"\u63D2\u5165\u753B\u56FE"}),icon:"iconfont icon-sheji",actionName:"draw-image"},{title:qn.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:qn.formatMessage({id:"markdownEditor.table",defaultMessage:"\u8868\u683C"}),icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:qn.formatMessage({id:"markdownEditor.lineBreak",defaultMessage:"\u6362\u884C"}),icon:"md-iconfont icon-minus",actionName:"line-break"},{title:qn.formatMessage({id:"markdownEditor.clear",defaultMessage:"\u6E05\u7A7A"}),icon:"md-iconfont icon-eraser",actionName:"eraser"}],{title:`${xt?qn.formatMessage({id:"markdownEditor.disableRealTimePreview",defaultMessage:"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8"}):qn.formatMessage({id:"markdownEditor.enableRealTimePreview",defaultMessage:"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"})}`,icon:`${xt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ee.createElement("ul",{className:"markdown-toolbar-container"},!gr&&lo.map((Or,An)=>ee.createElement("li",{key:An},Or.actionName?ee.createElement(he,me(ge({},Or),{onActionCallback:fn})):ee.createElement("span",{className:"v-line"}))),It?ee.createElement("li",null,ee.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:fn},ee.createElement("span",{className:"fill-tip"},qn.formatMessage({id:"questionBankAddQuestion.clickToInsertBlank",defaultMessage:"\u70B9\u51FB\u63D2\u5165"}),"\b",qn.formatMessage({id:"questionBankAddQuestion.blank",defaultMessage:"\u586B\u7A7A\u9879"})))):null,Rt?ee.createElement(ee.Fragment,null,ee.createElement("li",null,ee.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:fn},ee.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ee.createElement("li",null,ee.createElement(he,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:fn},ee.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,jn&&ee.createElement("li",null,ee.createElement(he,{icon:"md-iconfont icon-edit",className:"btn-null",title:qn.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"}),actionName:`inster-template-${jn}`,onActionCallback:fn},ee.createElement("span",{className:"fill-tip"},qn.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"})))),hr&&ee.createElement("li",null,hr),ee.createElement("li",{className:"btn-full-screen"},ee.createElement(he,{icon:`${Nn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Nn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:fn})))},be=fe(76621),ye=fe(22150),Pe=fe(69677),we=fe(71577),Oe=Object.defineProperty,Ce=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Be=(xt,It,Rt)=>It in xt?Oe(xt,It,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):xt[It]=Rt,Re=(xt,It)=>{for(var Rt in It||(It={}))Me.call(It,Rt)&&Be(xt,Rt,It[Rt]);if(Ee)for(var Rt of Ee(It))Ie.call(It,Rt)&&Be(xt,Rt,It[Rt]);return xt},tt=(xt,It)=>Ce(xt,_e(It));const Ye={labelCol:{span:4},wrapperCol:{span:20}};var et=({callback:xt,onCancel:It})=>{function Rt(Nn){xt(Nn)}const fn=(0,ne.useIntl)();return Se.createElement(ye.default,tt(Re({},Ye),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Rt,style:{width:500}}),Se.createElement(ye.default.Item,{label:fn.formatMessage({id:"markdownEditor.linkAddress",defaultMessage:"\u94FE\u63A5\u5730\u5740"}),name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Se.createElement(Pe.default,null)),Se.createElement(ye.default.Item,{label:fn.formatMessage({id:"markdownEditor.linkTitle",defaultMessage:"\u94FE\u63A5\u6807\u9898"}),name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Se.createElement(Pe.default,null)),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},fn.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Se.createElement(we.ZP,{type:"ghost",onClick:It},fn.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},Xe=fe(57444),Ge=fe(70859),Fe=fe(14446),je=fe(71230),qe=fe(63205),Je=fe(67294),it=({callback:xt,onCancel:It})=>{const Rt=document.createElement("canvas"),fn=Rt.getContext("2d");Rt.width=1e3,Rt.height=800,fn.fillStyle="#ffffff",fn.fillRect(0,0,Rt.width,Rt.height);const Nn=Rt.toDataURL("image/png");return Je.createElement(Fe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Je.createElement(je.Z,{style:{height:"100vh"}},Je.createElement(qe.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Nn,visible:!0,title:String(Date.now())},onOk:jn=>{xt({src:jn.url})},onClose:It})))},Qe=fe(23495);function Ze(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ze,go.CommandHandler),Ze.prototype.canAlignSelection=function(){var xt=this.diagram;return!(xt===null||xt.isReadOnly||xt.isModelReadOnly||xt.selection.count<2)},Ze.prototype.alignLeft=function(){var xt=this.diagram;xt.startTransaction("aligning left");var It=1/0;xt.selection.each(function(Rt){Rt instanceof go.Link||(It=Math.min(Rt.position.x,It))}),xt.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(It,Rt.position.y))}),xt.commitTransaction("aligning left")},Ze.prototype.alignRight=function(){var xt=this.diagram;xt.startTransaction("aligning right");var It=-1/0;xt.selection.each(function(Rt){if(!(Rt instanceof go.Link)){var fn=Rt.actualBounds.x+Rt.actualBounds.width;It=Math.max(fn,It)}}),xt.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(It-Rt.actualBounds.width,Rt.position.y))}),xt.commitTransaction("aligning right")},Ze.prototype.alignTop=function(){var xt=this.diagram;xt.startTransaction("alignTop");var It=1/0;xt.selection.each(function(Rt){Rt instanceof go.Link||(It=Math.min(Rt.position.y,It))}),xt.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Rt.position.x,It))}),xt.commitTransaction("alignTop")},Ze.prototype.alignBottom=function(){var xt=this.diagram;xt.startTransaction("aligning bottom");var It=-1/0;xt.selection.each(function(Rt){if(!(Rt instanceof go.Link)){var fn=Rt.actualBounds.y+Rt.actualBounds.height;It=Math.max(fn,It)}}),xt.selection.each(function(Rt){Rt instanceof go.Link||Rt.move(new go.Point(Rt.actualBounds.x,It-Rt.actualBounds.height))}),xt.commitTransaction("aligning bottom")},Ze.prototype.alignCenterX=function(){var xt=this.diagram,It=xt.selection.first();if(It){xt.startTransaction("aligning Center X");var Rt=It.actualBounds.x+It.actualBounds.width/2;xt.selection.each(function(fn){fn instanceof go.Link||fn.move(new go.Point(Rt-fn.actualBounds.width/2,fn.actualBounds.y))}),xt.commitTransaction("aligning Center X")}},Ze.prototype.alignCenterY=function(){var xt=this.diagram,It=xt.selection.first();if(It){xt.startTransaction("aligning Center Y");var Rt=It.actualBounds.y+It.actualBounds.height/2;xt.selection.each(function(fn){fn instanceof go.Link||fn.move(new go.Point(fn.actualBounds.x,Rt-fn.actualBounds.height/2))}),xt.commitTransaction("aligning Center Y")}},Ze.prototype.alignColumn=function(xt){var It=this.diagram;It.startTransaction("align Column"),xt===void 0&&(xt=0),xt=parseFloat(xt);var Rt=new Array;It.selection.each(function(hr){hr instanceof go.Link||Rt.push(hr)});for(var fn=0;fn<Rt.length-1;fn++){var Nn=Rt[fn],jn=Nn.actualBounds.y+Nn.actualBounds.height+xt,gr=Rt[fn+1];gr.move(new go.Point(Nn.actualBounds.x,jn))}It.commitTransaction("align Column")},Ze.prototype.alignRow=function(xt){xt===void 0&&(xt=0),xt=parseFloat(xt);var It=this.diagram;It.startTransaction("align Row");var Rt=new Array;It.selection.each(function(hr){hr instanceof go.Link||Rt.push(hr)});for(var fn=0;fn<Rt.length-1;fn++){var Nn=Rt[fn],jn=Nn.actualBounds.x+Nn.actualBounds.width+xt,gr=Rt[fn+1];gr.move(new go.Point(jn,Nn.actualBounds.y))}It.commitTransaction("align Row")},Ze.prototype.canRotate=function(xt){var It=this.diagram;return!(It===null||It.isReadOnly||It.isModelReadOnly||It.selection.count<1)},Ze.prototype.rotate=function(xt){xt===void 0&&(xt=90);var It=this.diagram;It.startTransaction("rotate "+xt.toString());var It=this.diagram;It.selection.each(function(Rt){Rt instanceof go.Link||Rt instanceof go.Group||(Rt.angle+=xt)}),It.commitTransaction("rotate "+xt.toString())},Ze.prototype.pullToFront=function(){var xt=this.diagram;xt.startTransaction("pullToFront");var It=new go.Map;xt.selection.each(function(Rt){It.set(Rt.layer,0)}),It.iteratorKeys.each(function(Rt){var fn=0;Rt.parts.each(function(Nn){if(!Nn.isSelected){var jn=Nn.zOrder;isNaN(jn)?Nn.zOrder=0:fn=Math.max(fn,jn)}}),It.set(Rt,fn)}),xt.selection.each(function(Rt){Ze._assignZOrder(Rt,It.get(Rt.layer)+1)}),xt.commitTransaction("pullToFront")},Ze.prototype.pushToBack=function(){var xt=this.diagram;xt.startTransaction("pushToBack");var It=new go.Map;xt.selection.each(function(Rt){It.set(Rt.layer,0)}),It.iteratorKeys.each(function(Rt){var fn=0;Rt.parts.each(function(Nn){if(!Nn.isSelected){var jn=Nn.zOrder;isNaN(jn)?Nn.zOrder=0:fn=Math.min(fn,jn)}}),It.set(Rt,fn)}),xt.selection.each(function(Rt){Ze._assignZOrder(Rt,It.get(Rt.layer)-1-Ze._findGroupDepth(Rt))}),xt.commitTransaction("pushToBack")},Ze._assignZOrder=function(xt,It,Rt){Rt===void 0&&(Rt=xt),xt.layer===Rt.layer&&(xt.zOrder=It),xt instanceof go.Group&&xt.memberParts.each(function(fn){Ze._assignZOrder(fn,It+1,Rt)})},Ze._findGroupDepth=function(xt){if(xt instanceof go.Group){var It=0;return xt.memberParts.each(function(Rt){It=Math.max(It,Ze._findGroupDepth(Rt))}),It+1}else return 0},Ze.prototype.doKeyDown=function(){var xt=this.diagram;if(xt!==null){var It=xt.lastInput;if(It.key==="Up"||It.key==="Down"||It.key==="Left"||It.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)}},Ze.prototype._getAllParts=function(){var xt=new Array;return this.diagram.nodes.each(function(It){xt.push(It)}),this.diagram.parts.each(function(It){xt.push(It)}),xt},Ze.prototype._arrowKeyMove=function(){var xt=this.diagram,It=xt.lastInput,Rt=0,fn=0;if(It.control||It.meta)Rt=1,fn=1;else if(xt.grid!==null){var Nn=xt.grid.gridCellSize;fn=Nn.width,Rt=Nn.height}xt.startTransaction("arrowKeyMove"),xt.selection.each(function(jn){It.key==="Up"?jn.move(new go.Point(jn.actualBounds.x,jn.actualBounds.y-Rt)):It.key==="Down"?jn.move(new go.Point(jn.actualBounds.x,jn.actualBounds.y+Rt)):It.key==="Left"?jn.move(new go.Point(jn.actualBounds.x-fn,jn.actualBounds.y)):It.key==="Right"&&jn.move(new go.Point(jn.actualBounds.x+fn,jn.actualBounds.y))}),xt.commitTransaction("arrowKeyMove")},Ze.prototype._arrowKeySelect=function(){var xt=this.diagram,It=xt.lastInput,Rt=null;It.key==="Up"?Rt=this._findNearestPartTowards(270):It.key==="Down"?Rt=this._findNearestPartTowards(90):It.key==="Left"?Rt=this._findNearestPartTowards(180):It.key==="Right"&&(Rt=this._findNearestPartTowards(0)),Rt!==null&&(It.shift?Rt.isSelected=!0:It.control||It.meta?Rt.isSelected=!Rt.isSelected:xt.select(Rt))},Ze.prototype._findNearestPartTowards=function(xt){var It=this.diagram.selection.first();if(It===null)return null;for(var Rt=It.actualBounds.center,fn=this._getAllParts(),Nn=1/0,jn=It,gr=0;gr<fn.length;gr++){var hr=fn[gr];if(hr!==It&&hr.canSelect()){var qn=hr.actualBounds.center,Br=Rt.directionPoint(qn),lo=this._angleCloseness(Br,xt);if(lo<=45){var Or=Rt.distanceSquaredPoint(qn);Or*=1+Math.sin(lo*Math.PI/180),Or<Nn&&(Nn=Or,jn=hr)}}}return jn},Ze.prototype._angleCloseness=function(xt,It){return Math.min(Math.abs(It-xt),Math.min(Math.abs(It+360-xt),Math.abs(It-360-xt)))},Ze.prototype._arrowKeyTree=function(){var xt=this.diagram,It=xt.selection.first();if(It instanceof go.Node){var Rt=xt.lastInput;if(Rt.key==="Right"){if(!It.isTreeLeaf)if(!It.isTreeExpanded)xt.commandHandler.canExpandTree(It)&&xt.commandHandler.expandTree(It);else{var fn=this._sortTreeChildrenByY(It).first();fn!==null&&xt.select(fn)}}else if(Rt.key==="Left")if(!It.isTreeLeaf&&It.isTreeExpanded)xt.commandHandler.canCollapseTree(It)&&xt.commandHandler.collapseTree(It);else{var Nn=It.findTreeParentNode();Nn!==null&&xt.select(Nn)}else if(Rt.key==="Up"){var Nn=It.findTreeParentNode();if(Nn!==null){var jn=this._sortTreeChildrenByY(Nn),gr=jn.indexOf(It);if(gr>0){for(var hr=jn.elt(gr-1);hr!==null&&hr.isTreeExpanded&&!hr.isTreeLeaf;){var qn=this._sortTreeChildrenByY(hr);hr=qn.last()}hr!==null&&xt.select(hr)}else xt.select(Nn)}}else if(Rt.key==="Down")if(It.isTreeExpanded&&!It.isTreeLeaf){var fn=this._sortTreeChildrenByY(It).first();fn!==null&&xt.select(fn)}else for(;It!==null;){var Nn=It.findTreeParentNode();if(Nn===null)break;var jn=this._sortTreeChildrenByY(Nn),gr=jn.indexOf(It);if(gr<jn.length-1){xt.select(jn.elt(gr+1));break}else It=Nn}var Br=xt.selection.first();Br!==null&&xt.scrollToRect(Br.actualBounds)}},Ze.prototype._sortTreeChildrenByY=function(xt){var It=new go.List().addAll(xt.findTreeChildrenNodes());return It.sort(function(Rt,fn){var Nn=Rt.location,jn=fn.location;return Nn.y<jn.y?-1:Nn.y>jn.y?1:Nn.x<jn.x?-1:Nn.x>jn.x?1:0}),It},Ze.prototype.copyToClipboard=function(xt){go.CommandHandler.prototype.copyToClipboard.call(this,xt),this._lastPasteOffset.set(this.pasteOffset)},Ze.prototype.pasteFromClipboard=function(){var xt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(xt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),xt},Object.defineProperty(Ze.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(xt){if(xt!=="move"&&xt!=="select"&&xt!=="scroll"&&xt!=="tree"&&xt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+xt);this._arrowKeyBehavior=xt}}),Object.defineProperty(Ze.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(xt){if(!(xt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+xt);this._pasteOffset.set(xt)}});var De=Ze,Ve=fe(18023),Ae=fe(15746),ke=fe(33170),$e={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ke=fe(67294),ze=(xt,It,Rt)=>new Promise((fn,Nn)=>{var jn=qn=>{try{hr(Rt.next(qn))}catch(Br){Nn(Br)}},gr=qn=>{try{hr(Rt.throw(qn))}catch(Br){Nn(Br)}},hr=qn=>qn.done?fn(qn.value):Promise.resolve(qn.value).then(jn,gr);hr((Rt=Rt.apply(xt,It)).next())});function Le({onCancel:xt,callback:It}){let Rt=(0,Se.useRef)(),fn=(0,Se.useRef)(),Nn=(0,Se.useRef)(),jn=(0,Se.useRef)(!1);const gr=(0,Se.useRef)(!1),[hr,qn]=(0,Se.useState)(0);function Br(){const An=Qe.bx.make,_r={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 Qe.S0(fn.current,{padding:20,grid:An(Qe.s_,"Grid",An(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),An(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:kn=>{var dr=kn.diagram.commandHandler.addTopLevelParts(kn.diagram.selection,!0);dr||kn.diagram.currentTool.doCancel()},commandHandler:An(De),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:kn=>{var dr=kn.subject;dr.location=dr.location.copy().snapToGridPoint(kn.diagram.grid.gridOrigin,kn.diagram.grid.gridCellSize),setTimeout(()=>{kn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:kn=>{var dr=kn.subject;setTimeout(()=>{kn.diagram.commandHandler.editTextBlock()})},LinkRelinked:kn=>{var dr=kn.parameter.part;dr.invalidateConnectedLinks();var ur=kn.subject;kn.diagram.toolManager.linkingTool.isForwards?ur.toNode.invalidateConnectedLinks():ur.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Rt.current.nodeTemplate=An(Qe.NB,"Auto",{locationSpot:Qe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Qe.$u(120,60),minSize:new Qe.$u(40,40),resizable:!0,resizeCellSize:new Qe.$u(10,10),rotatable:!0},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),new Qe.KX("desiredSize","size",Qe.$u.parse).makeTwoWay(Qe.$u.stringify),An(Qe.bn,{name:"SHAPE",fill:_r.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("figure"),new Qe.KX("fill"),new Qe.KX("stroke","borderColor"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),An(Qe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),An(Qe.al,{margin:1,textAlign:"center",overflow:Qe.al.OverflowEllipsis,editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),Rt.current.nodeTemplate.toolTip=An("ToolTip",An(Qe.s_,"Vertical",{maxSize:new Qe.$u(200,NaN)},An(Qe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Qe.KX("text")),An(Qe.al,{font:"10pt sans-serif",textAlign:"center"},new Qe.KX("text","details"))));function zt(kn,dr){var ur=(Xn,uo)=>{Xn.handled=!0,Xn.diagram.model.commit(so=>{var yo=uo.part.adornedPart,Fo=new Qe.E9().setRectSpot(yo.actualBounds,kn);Fo.subtract(yo.location),Fo.scale(2,2),Fo.x+=Math.sign(Fo.x)*130,Fo.y+=Math.sign(Fo.y)*130,Fo.add(yo.location),Fo.snapToGridPoint(Xn.diagram.grid.gridOrigin,Xn.diagram.grid.gridCellSize);var zo=so.copyNodeData(yo.data);so.setGroupKeyForNodeData(zo,so.getGroupKeyForNodeData(yo.data)),so.addNodeData(zo);var Mt={from:yo.key,to:so.getKeyForNodeData(zo)};so.addLinkData(Mt);var At=Xn.diagram.findNodeForData(zo);At.location=Fo,Xn.diagram.select(At),setTimeout(()=>{Xn.diagram.commandHandler.editTextBlock()},20)})};return An(Qe.bn,{figure:dr,alignment:kn,alignmentFocus:kn.opposite(),width:kn.equals(Qe.z6.Top)||kn.equals(Qe.z6.Bottom)?25:18,height:kn.equals(Qe.z6.Top)||kn.equals(Qe.z6.Bottom)?18:25,fill:"orange",stroke:_r.white,strokeWidth:4,mouseEnter:(Xn,uo)=>uo.fill="dodgerblue",mouseLeave:(Xn,uo)=>uo.fill="orange",isActionable:!0,click:ur,contextClick:ur})}function ln(kn){return An(Qe.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:(dr,ur)=>ur.fill="dodgerblue",mouseLeave:(dr,ur)=>ur.fill="orange",click:(dr,ur)=>{dr.diagram.commandHandler.showContextMenu(ur.part.adornedPart)}},kn||{})}Rt.current.nodeTemplate.selectionAdornmentTemplate=An(Qe.uz,"Spot",An(Qe.Vm,{padding:10}),zt(Qe.z6.Top,"TriangleUp"),zt(Qe.z6.Left,"TriangleLeft"),zt(Qe.z6.Right,"TriangleRight"),zt(Qe.z6.Bottom,"TriangleDown"),ln({alignment:new Qe.z6(.75,0)}));function an(kn,dr){return(ur,Xn)=>{ur.handled=!0,ur.diagram.model.commit(uo=>{uo.set(Xn.part.adornedPart.data,kn,dr)})}}function mn(kn,dr){return dr||(dr="color"),An(Qe.bn,{width:16,height:16,stroke:"lightgray",fill:kn,margin:1,background:"transparent",mouseEnter:(ur,Xn)=>Xn.stroke="dodgerblue",mouseLeave:(ur,Xn)=>Xn.stroke="lightgray",click:an(dr,kn),contextClick:an(dr,kn)})}function zn(){return[An("ContextMenuButton",An(Qe.s_,"Horizontal",mn(_r.white,"fill"),mn(_r.beige,"fill"),mn(_r.extralightblue,"fill"),mn(_r.extralightred,"fill"))),An("ContextMenuButton",An(Qe.s_,"Horizontal",mn(_r.lightgray,"fill"),mn(_r.lightgreen,"fill"),mn(_r.lightblue,"fill"),mn(_r.lightred,"fill")))]}function Dt(){return[An("ContextMenuButton",An(Qe.s_,"Horizontal",mn(_r.black),mn(_r.green),mn(_r.blue),mn(_r.red))),An("ContextMenuButton",An(Qe.s_,"Horizontal",mn(_r.white),mn(_r.magenta),mn(_r.purple),mn(_r.orange)))]}function Bn(kn,dr){return dr||(dr="thickness"),An(Qe.bn,"LineH",{width:16,height:16,strokeWidth:kn,margin:1,background:"transparent",mouseEnter:(ur,Xn)=>Xn.background="dodgerblue",mouseLeave:(ur,Xn)=>Xn.background="transparent",click:an(dr,kn),contextClick:an(dr,kn)})}function yn(kn,dr){return dr||(dr="dash"),An(Qe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:kn,margin:1,background:"transparent",mouseEnter:(ur,Xn)=>Xn.background="dodgerblue",mouseLeave:(ur,Xn)=>Xn.background="transparent",click:an(dr,kn),contextClick:an(dr,kn)})}function Er(){return[An("ContextMenuButton",An(Qe.s_,"Horizontal",Bn(1),Bn(2),Bn(3),Bn(4))),An("ContextMenuButton",An(Qe.s_,"Horizontal",yn(null),yn([2,4]),yn([4,4])))]}function ir(kn,dr){return dr||(dr="figure"),An(Qe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:kn,margin:1,background:"transparent",mouseEnter:(ur,Xn)=>Xn.fill="dodgerblue",mouseLeave:(ur,Xn)=>Xn.fill="lightgray",click:an(dr,kn),contextClick:an(dr,kn)})}Rt.current.nodeTemplate.contextMenu=An("ContextMenu",An("ContextMenuButton",An(Qe.s_,"Horizontal",ir("Rectangle"),ir("RoundedRectangle"),ir("Ellipse"),ir("Diamond"))),An("ContextMenuButton",An(Qe.s_,"Horizontal",ir("Parallelogram2"),ir("ManualOperation"),ir("Procedure"),ir("Cylinder1"))),An("ContextMenuButton",An(Qe.s_,"Horizontal",ir("Terminator"),ir("CreateRequest"),ir("Document"),ir("TriangleDown"))),zn(),Dt(),Er()),Rt.current.groupTemplate=An(Qe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Qe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(kn,dr)=>{var ur=dr.addMembers(dr.diagram.selection,!0);ur||dr.diagram.currentTool.doCancel()},avoidable:!1},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),An(Qe.s_,"Auto",{name:"BODY"},An(Qe.bn,{parameter1:10,fill:_r.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("fill"),new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),An(Qe.Vm,{background:"transparent",margin:20})),An(Qe.al,{alignment:Qe.z6.Top,alignmentFocus:Qe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Qe.KX("text"),new Qe.KX("stroke","color"))),Rt.current.groupTemplate.selectionAdornmentTemplate=An(Qe.uz,"Spot",An(Qe.s_,"Auto",An(Qe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),An(Qe.Vm,{margin:1.5})),ln({alignment:Qe.z6.TopRight,alignmentFocus:Qe.z6.BottomRight})),Rt.current.groupTemplate.contextMenu=An("ContextMenu",zn(),Dt(),Er()),Rt.current.linkTemplate=An(Qe.rU,{layerName:"Foreground",routing:Qe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Qe.KX("fromSpot","fromSpot",Qe.z6.parse),new Qe.KX("toSpot","toSpot",Qe.z6.parse),new Qe.KX("fromShortLength","dir",kn=>kn>=1?10:0),new Qe.KX("toShortLength","dir",kn=>kn>=1?10:0),new Qe.KX("points").makeTwoWay(),An(Qe.bn,{strokeWidth:2},new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),An(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,0),segmentOrientation:Qe.rU.OrientAlong,alignmentFocus:Qe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",kn=>kn===1)),An(Qe.bn,{segmentIndex:-1,segmentOffset:new Qe.E9(-10,6),segmentOrientation:Qe.rU.OrientPlus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",kn=>kn>=1),new Qe.KX("width","thickness",kn=>7+3*kn),new Qe.KX("height","thickness",kn=>7+3*kn),new Qe.KX("segmentOffset","thickness",kn=>new Qe.E9(-15,4+1.5*kn))),An(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,-6),segmentOrientation:Qe.rU.OrientMinus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",kn=>kn===2),new Qe.KX("width","thickness",kn=>7+3*kn),new Qe.KX("height","thickness",kn=>7+3*kn),new Qe.KX("segmentOffset","thickness",kn=>new Qe.E9(-15,4+1.5*kn))),An(Qe.al,{alignmentFocus:new Qe.z6(0,1,-4,0),editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),Rt.current.linkTemplate.selectionAdornmentTemplate=An(Qe.uz,An(Qe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Mr(2)},new Qe.KX("pathPattern","thickness",Mr)),ln({alignmentFocus:new Qe.z6(0,0,-6,-4)}));function Mr(kn){return An(Qe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(kn+4).toString()+" H3"})}function Wr(kn){var dr="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return kn===0?dr="M0 0 M16 16 M0 8 L16 8":kn===2&&(dr="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),An(Qe.bn,{geometryString:dr,margin:2,background:"transparent",mouseEnter:(ur,Xn)=>Xn.background="dodgerblue",mouseLeave:(ur,Xn)=>Xn.background="transparent",click:an("dir",kn),contextClick:an("dir",kn)})}function Pn(kn){var dr=(ur,Xn)=>{ur.handled=!0,ur.diagram.model.commit(uo=>{var so=Xn.part.adornedPart;uo.set(so.data,kn?"toSpot":"fromSpot",Qe.z6.stringify(Qe.z6.AllSides)),(kn?so.toNode:so.fromNode).invalidateConnectedLinks()})};return An(Qe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(ur,Xn)=>Xn.background="dodgerblue",mouseLeave:(ur,Xn)=>Xn.background="transparent",click:dr,contextClick:dr})}function Qr(kn,dr){var ur=0,Xn=Qe.z6.RightSide;kn.equals(Qe.z6.Top)?(ur=270,Xn=Qe.z6.TopSide):kn.equals(Qe.z6.Left)?(ur=180,Xn=Qe.z6.LeftSide):kn.equals(Qe.z6.Bottom)&&(ur=90,Xn=Qe.z6.BottomSide),dr||(ur-=180);var uo=(so,yo)=>{so.handled=!0,so.diagram.model.commit(Fo=>{var zo=yo.part.adornedPart;Fo.set(zo.data,dr?"toSpot":"fromSpot",Qe.z6.stringify(Xn)),(dr?zo.toNode:zo.fromNode).invalidateConnectedLinks()})};return An(Qe.bn,{alignment:kn,alignmentFocus:kn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:ur,background:"transparent",mouseEnter:(so,yo)=>yo.background="dodgerblue",mouseLeave:(so,yo)=>yo.background="transparent",click:uo,contextClick:uo})}Rt.current.linkTemplate.contextMenu=An("ContextMenu",Dt(),Er(),An("ContextMenuButton",An(Qe.s_,"Horizontal",Wr(0),Wr(1),Wr(2))),An("ContextMenuButton",An(Qe.s_,"Horizontal",An(Qe.s_,"Spot",Pn(!1),Qr(Qe.z6.Top,!1),Qr(Qe.z6.Left,!1),Qr(Qe.z6.Right,!1),Qr(Qe.z6.Bottom,!1)),An(Qe.s_,"Spot",{margin:new Qe.Zt(0,0,0,2)},Pn(!0),Qr(Qe.z6.Top,!0),Qr(Qe.z6.Left,!0),Qr(Qe.z6.Right,!0),Qr(Qe.z6.Bottom,!0)))));const io=`{ "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 Mo=["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 oo(kn){return console.log("shapeName:",kn),Mo.indexOf(kn)>=0}var Ho=new Qe.YI(Nn.current,{maxSelectionCount:1,linkTemplate:An(Qe.rU,{locationSpot:Qe.z6.Center,selectionAdornmentTemplate:An(Qe.uz,"Link",{locationSpot:Qe.z6.Center},An(Qe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),An(Qe.bn,{toArrow:"Standard",stroke:null}))},{routing:Qe.rU.AvoidsNodes,curve:Qe.rU.JumpOver,corner:5,toShortLength:4},new Qe.KX("points"),An(Qe.bn,{isPanelMain:!0,strokeWidth:2}),An(Qe.bn,{toArrow:"Standard",stroke:null})),model:new Qe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Qe.bn.getFigureGenerators().toArray().map(kn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:kn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Rt.current.addDiagramListener("TextEdited",function(kn){var dr;const ur=kn.subject.part;var Xn=(dr=document.activeElement)==null?void 0:dr.value;typeof Xn=="string"&&Xn.trim()===""&&Rt.current.model.commit(function(uo){uo.set(ur.data,"text","\u672A\u547D\u540D"),Rt.current.commandHandler.stopCommand()},"increment")}),Ho.nodeTemplate=An(Qe.NB,"Auto",{locationSpot:Qe.z6.Center},new Qe.KX("location","location",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),An(Qe.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 Qe.KX("stroke").makeTwoWay(),new Qe.KX("fill").makeTwoWay(),new Qe.KX("figure")),An(Qe.al,{margin:new Qe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Qe.$u(16,16),maxSize:new Qe.$u(10,NaN),textAlign:"center",editable:!0},new Qe.KX("key").makeTwoWay())),setTimeout(()=>{Rt.current.grid=An(Qe.s_,"Grid",An(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),An(Qe.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 lo=()=>ze(this,null,function*(){var An=Rt.current.makeImage();const _r=yield(0,ke.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:An.src}});It({src:_r.url})});(0,Se.useEffect)(()=>(setTimeout(()=>{Br()},500),qn(hr+1),()=>{Rt.current=null}),[]);const Or=(0,ne.useIntl)();return Ke.createElement("div",{ref:gr,className:jn.current?`${$e.maxH60} body-overflow-initial`:"body-overflow-initial"},Ke.createElement(Fe.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!hr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ke.createElement(je.Z,null,Ke.createElement(Ae.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ke.createElement(Ae.Z,{onClick:()=>{var An,_r,zt=Rt.current.selection.first();if(jn.current=!jn.current,document.activeElement&&zt){let ln=(_r=(An=document.activeElement)==null?void 0:An.value)==null?void 0:_r.trim();typeof ln=="string"&&Rt.current.model.commit(function(an){an.set(zt.data,"text",ln||"\u672A\u547D\u540D"),Rt.current.commandHandler.stopCommand()},"increment")}qn(hr+1)}},Ke.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},Or.formatMessage({id:"shixuns.expand",defaultMessage:"\u5C55\u5F00"})," /",Or.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"})))),onCancel:xt},Ke.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:$e.flowChartWrp},Ke.createElement("div",{style:{display:"flex",height:"100%"}},Ke.createElement("div",{style:{width:"300px",height:"100%"}},Ke.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ke.createElement("div",{style:{height:"calc(100% - 50px)"},className:$e.myPaletteDiv,ref:Nn})),Ke.createElement("div",{style:{flex:1,position:"relative"}},Ke.createElement("div",{ref:fn,style:{height:"80vh"}}))),Ke.createElement("div",{className:"tr"},Ke.createElement(we.ZP,{size:"large",onClick:lo,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},Or.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))))}var Te=Le,Ne=fe(78045),He=fe(31795);const rt=Ne.ZP.Group,mt={margin:"0 8px"};var vt=({callback:xt,onCancel:It})=>{function Rt(Nn){xt(Nn)}const fn=(0,ne.useIntl)();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},fn.formatMessage({id:"markdownEditor.numberOfCells",defaultMessage:"\u5355\u5143\u683C\u6570"}),"\uFF1A"),Se.createElement("span",{style:mt},fn.formatMessage({id:"markdownEditor.numberOfRows",defaultMessage:"\u884C\u6570"})),Se.createElement(ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Se.createElement(He.Z,null)),Se.createElement("span",{style:mt},fn.formatMessage({id:"markdownEditor.numberOfColumns",defaultMessage:"\u5217\u6570"})),Se.createElement(ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Se.createElement(He.Z,null))),Se.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Se.createElement("span",{style:mt},fn.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\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(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},fn.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Se.createElement(we.ZP,{type:"ghost",onClick:It},fn.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},nt=fe(47897),ut=fe(61016),Et=fe.n(ut),at=(0,Se.forwardRef)(({use3d:xt,width:It,height:Rt,callback:fn,showSaveButton:Nn},jn)=>{const gr=(0,Se.useRef)(),hr=(0,Se.useRef)(),qn=(0,ne.useIntl)(),[Br,lo]=(0,Se.useState)(!1),Or=(0,Se.useRef)({id:gr,appName:"graphing",width:It||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)(()=>{hr.current=new(Et())(Or.current,!0),window.onload=function(){hr.current.inject("applet_container")}},[]);const An=()=>{var _r=window.ggbApplet.getPNGBase64(1,!0,72);return fn&&fn(_r),_r};return(0,Se.useEffect)(()=>{Or.current.appName=Br?"3D":"graphing",hr.current.inject("applet_container")},[Br]),(0,Se.useEffect)(()=>{lo(xt)},[xt]),(0,Se.useImperativeHandle)(jn,()=>({getImgData:An})),Se.createElement(Se.Fragment,null,Se.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:gr}),Se.createElement(je.Z,{align:"middle"},Se.createElement(Ae.Z,{flex:1},Se.createElement(nt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:qn.formatMessage({id:"markdownEditor.enable3DImage",defaultMessage:"\u5F00\u542F3D\u56FE\u50CF"}),checked:Br,onChange:_r=>lo(_r)})),Se.createElement(Ae.Z,null,Se.createElement(we.ZP,{size:"large",onClick:An,style:{zIndex:8,marginTop:10},type:"primary"},qn.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"})))))}),Tt=fe(36527),st=fe(25934),pt=fe(2453);const Pt="link",wt="upload-image",Lt="add-flowchart",$t="draw-image",nn="add-flowchart",un="code-block",Cn="add-table",Sn="------------",Kn={default:Sn,left:`:${Sn}`,center:`:${Sn}:`,right:`${Sn}:`};var nr=fe(99914),fr=(xt,It,Rt)=>new Promise((fn,Nn)=>{var jn=qn=>{try{hr(Rt.next(qn))}catch(Br){Nn(Br)}},gr=qn=>{try{hr(Rt.throw(qn))}catch(Br){Nn(Br)}},hr=qn=>qn.done?fn(qn.value):Promise.resolve(qn.value).then(jn,gr);hr((Rt=Rt.apply(xt,It)).next())});function Ur(){}let Gr=0;const zr=1e4,Ir="\u2581",bn="@\u2581\u2581@",tn="@\u2581@",dn=`
|
|
|
**\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`,vn=["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 xn(xt){return/^\d+$/.test(xt)?`${xt}px`:xt}const Vn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",pr={[Vn+"-B"]:"bold",[Vn+"-I"]:"italic"};var ar=({defaultValue:xt="",onChange:It,width:Rt="100%",height:fn=400,miniToolbar:Nn=!1,isFocus:jn=!1,watch:gr,insertTemp:hr,mode:qn="markdown",id:Br="markdown-editor-id",showResizeBar:lo=!1,noStorage:Or=!1,showNullButton:An=!1,showNullProgramButton:_r=!1,hidetoolBar:zt=!1,fullScreen:ln=!1,onBlur:an,onCMBeforeChange:mn,onFullScreen:zn,className:Dt="",disablePaste:Bn=!1,disabled:yn=!1,disabledFill:Er=!1,placeholder:ir="",values:Mr="",extraUse:Wr})=>{const[Pn,Qr]=(0,Se.useState)(null),[io,Mo]=(0,Se.useState)(xt),[oo,Ho]=(0,Se.useState)(gr),[kn,dr]=(0,Se.useState)(ln),[ur,Xn]=(0,Se.useState)(""),[uo,so]=(0,Se.useState)(0),[yo,Fo]=(0,Se.useState)(fn),[zo,Mt]=(0,Se.useState)(!1),At=(0,Se.useRef)((0,st.Z)()),rn=(0,Se.useRef)(!1),Ut=(0,Se.useRef)(),[On,er]=(0,Se.useState)(0),[vr,xr]=(0,Se.useState)(0),Nr=(0,Se.useRef)(),no=(0,Se.useRef)(),Kr=(0,Se.useRef)(),Pr=(0,Se.useRef)(),Qn=()=>fr(void 0,null,function*(){var kt;const Kt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:At.current}});(kt=Kt==null?void 0:Kt.attachments)!=null&&kt.length&&(console.log("cm:",Pn,Nr),Kt.attachments.map(Gt=>{Gt.content_type.indexOf("image")>-1?Pn.replaceSelection(``):Gt.content_type.indexOf("video")>-1?Pn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Gt.content_type.indexOf("pdf")>-1?Pn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Gt.id}?type=${Gt.content_type}&disposition=inline" target="_blank">${Gt.name}</a>`):Pn.replaceSelection(`[${Gt.name}](${ENV.API_SERVER}/api/attachments/${Gt.id}?type=${Gt.content_type})`)}))});(0,Se.useEffect)(()=>{const kt=window.scrollY||window.pageYOffset;Mo(Mr),Pn==null||Pn.setValue(Mr),window.scrollTo(0,kt)},[Mr]),(0,Se.useEffect)(()=>{zn==null||zn(kn)},[kn]),(0,Se.useEffect)(()=>{if(Nr.current){let kt=function(Gt,Qt){var Dn;if(Bn){Qt.preventDefault();return}const hn=Qt.clipboardData;if(hn){const ht=hn.types.toString(),lt=hn.items;if(ht==="Files"||hn.types.indexOf("Files")>-1){if(Qt.preventDefault(),qn=="stex")return;try{let ft=lt[1];((Dn=lt[0])==null?void 0:Dn.kind)==="file"&&(ft=lt[0]);const Ct=ft.getAsFile(),Nt=Ct.name.split(".").pop();(0,Ge.I)(Ct,Yt=>{var pn,Tn,Un;Yt.id?((pn=Ct==null?void 0:Ct.type)==null?void 0:pn.indexOf("image"))>-1?Kt.replaceSelection(`<img width="100%" src="/api/attachments/${Yt.id}?type=${Yt.content_type})" alt="" />`):((Tn=Ct==null?void 0:Ct.type)==null?void 0:Tn.indexOf("video"))>-1?Kt.replaceSelection(`<video width="100%" controls src="/api/attachments/${Yt.id}"></video>`):((Un=Ct==null?void 0:Ct.type)==null?void 0:Un.indexOf("pdf"))>-1?Kt.replaceSelection(`<a href="/api/attachments/${Yt.id}?type=${Ct.type}&disposition=inline" target="_blank">${Ct.name}</a>`):vn.includes(Nt)?Kt.replaceSelection(`<a href="/api/attachments/${Yt.id}?type=office&disposition=inline" target="_blank">${Ct.name}</a>`):Kt.replaceSelection(`[${Ct.name}](/api/attachments/${Yt.id}?type=${Yt.content_type})`):(Yt==null?void 0:Yt.status)===401&&(pt.ZP.warning((Yt==null?void 0:Yt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(ft){pt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Kt=E().fromTextArea(Nr.current,{mode:qn,lineNumbers:!Nn,lineWrapping:!0,value:xt,autoCloseTags:!_r,autoCloseBrackets:!0});return Kt.on("keyup",function(Gt,Qt){Qt.keyCode===8&&(Gt.getValue()==""?Kt.setOption("placeholder",ir):Kt.setOption("placeholder",null))}),Kt.on("keydown",function(Gt,Qt){if(Qt.keyCode===8){var Dn=Ht(Gt);Dn&&Qt.preventDefault()}}),jn&&Kt.focus(),Kt.on("paste",kt),Kt.on("dragleave",function(Gt,Qt){no.current.classList.remove("mouse-hover-md")}),yn&&Kt.on("beforeChange",function(Gt,Qt){(Qt.origin==="paste"||Qt.origin==="+input")&&Qt.cancel()}),Qr(Kt),()=>{Kt.off("paste",kt)}}},[]);const jt=(0,Se.useCallback)(()=>{if(no.current)try{}catch(kt){console.log(kt,"---- to set md editor body height")}},[yo,no,kn]);(0,Se.useEffect)(()=>{function kt(){let Kt=new ve.Z(Gt=>{for(let Qt of Gt)(Qt.target.offsetHeight>0||Qt.target.offsetWidth>0)&&(jt(),Pn.setSize("100%","100%"),Pn.refresh())});return Kt.observe(Nr.current.parentElement),Kt}if(Pn){const Kt=kt();return()=>{var Gt,Qt;(Gt=Nr.current)!=null&&Gt.parentElement&&Kt.unobserve((Qt=Nr.current)==null?void 0:Qt.parentElement)}}},[Pn,jt]),(0,Se.useEffect)(()=>{if(Pn){let kt=[];for(const[Kt,Gt]of Object.entries(pr)){let Qt={[Kt]:()=>{sn(Gt)}};kt.push(Qt),Pn.addKeyMap(Qt)}return Ut.current=setInterval(()=>{rn.current&&Qn()},4e3),()=>{clearInterval(Ut.current);for(let Kt of kt)Pn.removeKeyMap(Kt)}}},[Pn]),(0,Se.useEffect)(()=>{ln!==kn&&dr(ln)},[ln]),(0,nr.Z)(()=>{if(!Or&&uo>0){let kt=new Date().getTime(),Kt=window.sessionStorage.getItem(Br);kt>=uo+zr&&(!Kt||Kt!==io)&&(window.sessionStorage.setItem(Br,io),Mt(!0))}},zr),(0,Se.useEffect)(()=>{Ho(gr)},[Pn,gr]),(0,Se.useEffect)(()=>{Pn&&jn&&Pn.focus()},[Pn,jn]),(0,Se.useEffect)(()=>{if(oo&&Pn){let kt=function(Gt){let Qt=Gt.target;if(Pr.current){let Dn=Qt.scrollTop/Qt.scrollHeight;Pr.current.scrollTop=Pr.current.scrollHeight*Dn}};const Kt=Pn.getScrollerElement();return Kt.addEventListener("scroll",kt),()=>{Kt.removeEventListener("scroll",kt)}}},[Pn,oo]),(0,Se.useEffect)(()=>{if(Pn&&mn){let kt=function(Kt,Gt){mn(Kt,Gt)};return Pn.on("beforeChange",kt),()=>{Pn.off("beforeChange",kt)}}},[Pn,mn]),(0,Se.useEffect)(()=>{if(Pn&&an){let kt=function(){an(Pn.getValue())};return Pn.on("blur",kt),()=>{Pn.off("blur",kt)}}},[Pn,an]);function Ht(kt,Kt){var Gt=kt.getDoc(),Qt=Gt.getCursor(),Dn=Gt.getLine(Qt.line),hn=Dn.charAt(Qt.ch-1),ht=Dn.lastIndexOf("@\u2581@",Qt.ch),lt=Dn.lastIndexOf("@\u2581\u2581@",Qt.ch),ft=ht>lt?ht:lt,Ct=ht>lt?3:4;if(bn.indexOf(hn)===-1)return null;if(console.log("change1:",Kt,kt,Dn,Qt,ft,ht,lt,hn),ft>=0&&Qt.ch-ft<5){var Nt=ft+Ct;return Gt.replaceRange("",{line:Qt.line,ch:ft},{line:Qt.line,ch:Nt}),{line:Qt.line,ch:Nt}}return null}(0,Se.useEffect)(()=>{if(Pn){let kt=function(Kt,Gt){const Qt=Kt.getValue();Mo(Qt),so(new Date().getTime()),Kt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),It&&(_r?It(Qt,Gn(Qt)):It(Qt))};return Pn.on("change",kt),()=>{Pn.off("change",kt)}}},[Pn,It]),(0,Se.useEffect)(()=>{if(Pn)if(xt==null)Pn.setValue(""),Mo("");else{const kt=window.scrollY||window.pageYOffset;xt!==Pn.getValue()&&(Pn.setValue(xt),Mo(xt),Pn.setCursor(yn?1:Pn.lineCount(),0),window.scrollTo(0,kt))}},[Pn,xt]);const sn=(0,Se.useCallback)(kt=>{const Kt=Pn.getCursor(),Gt=Pn.getSelection();let Qt=Gt.split(`
|
|
|
`);switch(kt){case"bold":return Pn.replaceSelection("**"+Gt+"**"),Gt===""&&Pn.setCursor(Kt.line,Kt.ch+2),Pn.focus();case"italic":return Pn.replaceSelection("*"+Gt+"*"),Gt===""&&Pn.setCursor(Kt.line,Kt.ch+1),Pn.focus();case"code":return Pn.replaceSelection("`"+Gt+"`"),Gt===""&&Pn.setCursor(Kt.line,Kt.ch+1),Pn.focus();case"inline-latex":return Xn("inline-latex"),Pn.focus();case"latex":return Pn.replaceSelection("```latex\n"+Gt+"\n```"),Pn.setCursor(Kt.line+1,Gt.length+1),Pn.focus();case"line-break":return Pn.replaceSelection(`<br/>
|
|
|
`),Pn.focus();case"list-ul":return Gt===""?Pn.replaceSelection("- "+Gt):Pn.replaceSelection(Qt.map(Dn=>Dn===""?"":`- ${Dn}`).join(`
|
|
|
`)),Pn.focus();case"list-ol":return Gt===""?Pn.replaceSelection("1. "+Gt):Pn.replaceSelection(Qt.map((Dn,hn)=>Dn===""?"":`${hn+1}. ${Dn}`).join(`
|
|
|
`)),Pn.focus();case"add-null-ch":return Gt===""&&Pn.setCursor(Kt.line,Kt.ch),Pn.replaceSelection(Ir),Pn.focus();case"add-signal":return Gt===""&&Pn.setCursor(Kt.line,Kt.ch),Pn.replaceSelection(tn),Pn.focus();case"add-multiple":return Gt===""&&Pn.setCursor(Kt.line,Kt.ch),Pn.replaceSelection(bn),Pn.focus();case"inster-template-1":return Gt===""&&Pn.setCursor(Kt.line,Kt.ch),Pn.replaceSelection(dn),Pn.focus();case"eraser":return Pn.setValue(""),Pn.focus();case"trigger-watch":return Ho(!oo),Pn.focus();case"trigger-full-screen":return dr(!kn),Pn.focus();case Pt:Xn(Pt);return;case un:Xn(un);return;case wt:Xn(wt);return;case $t:Xn($t);return;case"maths-latex":Xn("maths-latex");return;case Lt:Xn(Lt);return;case Cn:Xn(Cn);return;default:throw new Error}},[Pn,oo,kn]),gt=(0,Se.useCallback)((kt,Kt)=>{var Gt,Qt,Dn,hn,ht,lt;switch(Xn(""),ur){case Pt:const{title:pn,link:Tn}=kt;return Pn.replaceSelection(`[${pn}](${Tn})`),Pn.focus();case un:const{language:Un,content:Zn}=kt;return Pn.replaceSelection(["```"+Un,Zn,"```"].join(`
|
|
|
`)),Pn.focus();case"maths-latex":for(var ft=atob(kt),Ct=new Uint8Array(ft.length),Nt=0;Nt<ft.length;Nt++)Ct[Nt]=ft.charCodeAt(Nt);var Yt=new Blob([Ct],{type:"image/png"});(0,Ge.I)(Yt,$r=>{$r.id?Pn.replaceSelection(``):($r==null?void 0:$r.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Pn.replaceSelection("`$$"+kt+"$$`");break;case wt:case $t:case nn:const{src:Wn,alt:En}=kt,$n=Kt,yr=(Dn=(Qt=(Gt=$n==null?void 0:$n.name)==null?void 0:Gt.split("."))==null?void 0:Qt.pop)==null?void 0:Dn.call(Qt);return((hn=$n==null?void 0:$n.type)==null?void 0:hn.indexOf("image"))>-1||!($n!=null&&$n.type)?$n.align||$n.width?Pn.replaceSelection(`<p style="text-align:${$n.align||"initial"}"><img width="${$n.width?$n.width+"%":"initial"}" src="${Wn}" alt="${En||""}" /></p>`):Pn.replaceSelection(`<img width="100%" src="${Wn}" alt="${En||""}" />`):((ht=$n==null?void 0:$n.type)==null?void 0:ht.indexOf("video"))>-1?Pn.replaceSelection(`<video width="100%" controls src="${Wn}"></video>`):((lt=$n==null?void 0:$n.type)==null?void 0:lt.indexOf("pdf"))>-1?Pn.replaceSelection(`<a href="${Wn}?type=${$n.type}&disposition=inline" target="_blank">${$n.name}</a>`):vn.includes(yr)?Pn.replaceSelection(`<a href="${Wn}?type=office&disposition=inline" target="_blank">${$n.name}</a>`):Pn.replaceSelection(`[${$n.name}](${Wn})`),Pn.focus();case Cn:const{row:wr,col:qr,align:Rr}=kt;let Zr=`
|
|
|
`;for(let $r=0;$r<wr;$r++){let Ro=[],mr=[];for(let ro=0;ro<qr;ro++)$r===1&&mr.push(Kn[Rr]),Ro.push(" ");$r===1&&(Zr+=`| ${mr.join(" | ")} |
|
|
|
`),Zr+=`| ${Ro.join(qr===1?"":" | ")} |
|
|
|
`}return Pn.replaceSelection(Zr+`
|
|
|
`),Pn.focus();default:throw new Error}},[Pn,ur]),cn=(0,Se.useMemo)(()=>{switch(ur){case Pt:return Se.createElement(et,{callback:gt,onCancel:wn});case un:return Se.createElement(Xe.Z,{callback:gt,onCancel:wn});case wt:return Se.createElement(Ge.Z,{callback:gt,onCancel:wn});case Lt:return Se.createElement(Te,{callback:gt,onCancel:wn});case Cn:return Se.createElement(vt,{callback:gt,onCancel:wn});case"maths-latex":return Se.createElement(at,{showSaveButton:!0,callback:gt});case"inline-latex":return Se.createElement(Tt.Z,{showSaveButton:!0,callback:gt});default:return null}},[ur]);function wn(){Xn("")}(0,Se.useEffect)(()=>{if(Kr.current){let kt=function(ht){Dn=!0,hn=ht.pageY},Kt=function(){Dn=!1},Gt=function(ht){if(Dn){let lt=ht.pageY-hn;lt<0&&(lt=0),lt>300&&(lt=300);let ft=fn+lt+"px";Fo(ft)}},Qt=Kr.current,Dn=!1,hn=0;return Qt.addEventListener("mousedown",kt),document.addEventListener("mousemove",Gt),document.addEventListener("mouseup",Kt),()=>{Qt.removeEventListener("mousedown",kt),document.removeEventListener("mousemove",Gt),document.removeEventListener("mouseup",Kt)}}},[Pn,Kr]),(0,Se.useEffect)(()=>{Fo(fn)},[fn]);const Hn=xn(Rt),Vt=xn(yo),en={width:Hn,height:Vt},Jt=(0,Se.useMemo)(()=>{if(uo){let kt=new Date(uo),Kt=kt.getHours(),Gt=kt.getMinutes(),Qt=kt.getSeconds();return Kt=Kt<10?"0"+Kt:Kt,Gt=Gt<10?"0"+Gt:Gt,Qt=Qt<10?"0"+Qt:Qt,`${Kt}:${Gt}:${Qt}`}return 0},[uo]),Gn=kt=>{const Kt=[];if(_r){let Gt=-1;kt=kt.replace(/(@▁▁@|@▁@)/g,function(Qt,Dn,hn){Kt.push({multiLine:Qt!==tn})})}return Kt};function St(){window.sessionStorage.removeItem(Br),Mt(!1),so(0)}function Ft(){Mt(!1),so(0),Pn.setValue(window.sessionStorage.getItem(Br))}const Xt=(0,ne.useIntl)(),_n={[Pt]:"\u6DFB\u52A0\u94FE\u63A5",[un]:Xt.formatMessage({id:"markdownEditor.addCodeBlock",defaultMessage:"\u6DFB\u52A0\u4EE3\u7801\u5757"}),[wt]:Xt.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),[$t]:"\u6DFB\u52A0\u753B\u56FE",[Lt]:Xt.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),[Cn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":Xt.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),"inline-latex":Xt.formatMessage({id:"markdownEditor.latexFormula",defaultMessage:"LATEX\u516C\u5F0F"})};(0,Se.useEffect)(()=>{_n[ur]&&ur!==$t&&ur!==Lt&&setTimeout(()=>{const kt=document.getElementsByClassName("markdown-popup-form")[0],Kt=window.innerWidth/2-kt.offsetWidth/2,Gt=window.innerHeight/2-kt.offsetHeight/2;er(Kt),xr(Gt)},0)},[ur]);const Ln=kt=>{kt.preventDefault();const Kt=kt.clientX-On,Gt=kt.clientY-vr;document.body.onmousemove=Qt=>{let Dn=Qt.clientX-Kt,hn=Qt.clientY-Gt;const ht=document.getElementsByClassName("markdown-popup-form")[0],lt=window.innerWidth-ht.offsetWidth,ft=window.innerHeight-ht.offsetHeight;Dn=Math.max(0,Math.min(Dn,lt)),hn=Math.max(0,Math.min(hn,ft)),Fn(Qt.clientX,Qt.clientY,Kt,Gt)&&(er(Dn),xr(hn))},document.body.onmouseup=function(){document.body.onmousemove=null}},Fn=(kt,Kt,Gt,Qt)=>{const Dn=document.body.clientHeight,hn=document.body.clientWidth;return kt<20&&Gt>kt||kt>hn-20&&Gt<kt||Kt<20&&Qt>Kt||Kt>Dn-20&&Qt<Kt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return Se.createElement(Se.Fragment,null,Se.createElement("div",{className:"markdown-editor-wrapper",ref:no},Se.createElement("div",{className:`markdown-editor-container ${Dt} ${oo?"on-preview":""} ${Nn?"mini":""} ${kn?"full-screen":""}`,style:en},Se.createElement(pe,{insertTemp:hr,watch:oo,fullScreen:kn,showNullButton:An,showNullProgramButton:_r,onActionCallback:sn,hidetoolBar:zt,extraUse:Wr}),Se.createElement("div",{className:"markdown-editor-body"},Se.createElement("div",{className:"codemirror-container"},Se.createElement("textarea",{ref:Nr,placeholder:ir})),oo?Se.createElement("div",{ref:Pr,className:"preview-container"},qn==="stex"&&Se.createElement(oe,{value:io}),qn!=="stex"&&Se.createElement(ae.Z,{disabledFill:Er,showProgramFill:_r,value:io})):null))),lo?Se.createElement("a",{ref:Kr,className:"editor-resize"}):null,ur===$t&&Se.createElement(it,{callback:gt,onCancel:wn}),ur===Lt&&Se.createElement(Te,{callback:gt,onCancel:wn}),Se.createElement(be.Z,null,_n[ur]&&ur!==$t&&ur!==Lt?Se.createElement(Fe.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:On,top:vr},title:Se.createElement("div",{style:{cursor:"move"},onMouseDown:Ln},_n[ur]),open:!0,onCancel:wn,footer:null,destroyOnClose:!0,width:ur===Lt?"1200px":null,height:ur===Lt?"80vh":null,className:"markdown-popup-form"},cn):null))}},70859:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return pe},I:function(){return ye}});var Se=fe(22150),xe=fe(2453),E=fe(69677),ve=fe(93421),de=fe(31795),se=fe(78045),re=fe(71577),ie=fe(15476),le=fe(67294),ce=fe(52262),ae=fe(35973),oe=fe(67294),ne=Object.defineProperty,ee=Object.defineProperties,a=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,te=(Pe,we,Oe)=>we in Pe?ne(Pe,we,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):Pe[we]=Oe,z=(Pe,we)=>{for(var Oe in we||(we={}))x.call(we,Oe)&&te(Pe,Oe,we[Oe]);if(y)for(var Oe of y(we))b.call(we,Oe)&&te(Pe,Oe,we[Oe]);return Pe},ue=(Pe,we)=>ee(Pe,a(we));const{useForm:ge}=Se.default,me={width:280,marginRight:10},he={labelCol:{span:5},wrapperCol:{span:19}};var pe=({callback:Pe,onCancel:we})=>{const[Oe]=ge();let Ce=(0,le.useRef)();const _e=(0,ae.useIntl)();function Ee(Be){Ce.current.width=Oe.getFieldValue("width"),Ce.current.align=Oe.getFieldValue("align"),Pe(Be,Ce.current)}function Me(Be,Re){if(Be.status===-1){xe.ZP.error(Be.message);return}Oe.setFieldsValue({src:`/api/attachments/${Be.id}`,type:Re.type})}function Ie(Be){let Re=Be.target.files[0];Ce.current=Re,ye(Re,Me)}return oe.createElement(Se.default,ue(z({form:Oe},he),{className:"upload-image-panel",onFinish:Ee,style:{width:470,overflow:"hidden"}}),oe.createElement(Se.default.Item,{label:_e.formatMessage({id:"markdownEditor.imageAddress",defaultMessage:"\u56FE\u7247\u5730\u5740"}),required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(Se.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},oe.createElement(E.default,{style:me})),oe.createElement(be,{onFileChange:Ie}))),oe.createElement(Se.default.Item,{label:_e.formatMessage({id:"markdownEditor.imageDescription",defaultMessage:"\u56FE\u7247\u63CF\u8FF0"}),name:"alt"},oe.createElement(E.default,{style:{width:264}})),oe.createElement(Se.default.Item,{label:_e.formatMessage({id:"markdownEditor.imageWidth",defaultMessage:"\u56FE\u7247\u5BBD\u5EA6"}),name:"width"},oe.createElement(ve.Z,null,oe.createElement(Se.default.Item,{name:"width",style:{margin:0}},oe.createElement(de.Z,{style:{width:264}})),oe.createElement("span",{className:"ml8"},"%"))),oe.createElement(Se.default.Item,{label:_e.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),name:"align"},oe.createElement(se.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:_e.formatMessage({id:"markdownEditor.leftAlign",defaultMessage:"\u5DE6\u5BF9\u9F50"})},{value:"center",label:_e.formatMessage({id:"markdownEditor.centerAlign",defaultMessage:"\u5C45\u4E2D\u5BF9\u9F50"})},{value:"right",label:_e.formatMessage({id:"markdownEditor.rightAlign",defaultMessage:"\u53F3\u5BF9\u9F50"})}]})),oe.createElement("aside",null,oe.createElement(Se.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},oe.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},_e.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),oe.createElement(re.ZP,{type:"default",onClick:we},_e.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"})))))};function be({onFileChange:Pe}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:Pe}))}function ye(Pe,we){if(!Pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ce.bg)())throw xe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Oe=new FormData;Oe.append("editormd-image-file",Pe),Oe.append("file_param_name","editormd-image-file"),Oe.append("byxhr","true");var Ce=new window.XMLHttpRequest;Ce.withCredentials=!0,Ce.addEventListener("load",function(_e){we(JSON.parse(_e.target.responseText),Pe)},!1),Ce.addEventListener("error",function(_e){console.error(_e)},!1),Ce.open("POST",`${ie.KI}/api/attachments.json`),Ce.send(Oe)}},76621:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return E}});var Se=fe(67294),xe=fe(73935);class E extends Se.Component{constructor(de){super(de);const se=window.document;this.node=se.createElement("div"),se.body.appendChild(this.node)}render(){const{children:de}=this.props;return(0,xe.createPortal)(de,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},21434:function(_t,dt,fe){"use strict";var Se=fe(12867),xe=fe(11713),E=fe(47897),ve=fe(35973),de=fe(67294);const se=xe.default.Option;dt.Z=({isTheoretical:re,onFontSizeChange:ie,cmFontSize:le,cmCodeMode:ce,autoFormat:ae,onCodeModeChange:oe,onTabToSpace:ne,onAutoFormat:ee,formatDocument:a,className:y="",tabToSpace:x,children:b,code_editor:te,challenge:z,shixun_environment_id:ue,shixun_environments:ge})=>{var me;const he=(0,ve.useIntl)(),pe={1:he.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"}),2:he.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"}),3:he.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"})},be=(me=ge==null?void 0:ge.find(ye=>ye.shixun_environment_id===ue))==null?void 0:me.program_language;return de.createElement("div",{className:`tpi-code-setting ${y}`},de.createElement("h3",null,he.formatMessage({id:"shixuns.codeFormat",defaultMessage:"\u4EE3\u7801\u683C\u5F0F"})),de.createElement("section",null,de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.displayMode",defaultMessage:"\u663E\u793A\u6A21\u5F0F"})),de.createElement(xe.default,{bordered:!1,size:"small",value:ce,onChange:oe},de.createElement(se,{value:"vs"},he.formatMessage({id:"shixuns.whiteBackground",defaultMessage:"\u767D\u8272\u80CC\u666F"})),de.createElement(se,{value:"vs-dark"},he.formatMessage({id:"shixuns.blackBackground",defaultMessage:"\u9ED1\u8272\u80CC\u666F"})))),!re&&de.createElement(de.Fragment,null,de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.fontSize",defaultMessage:"\u5B57\u4F53\u5927\u5C0F"})),de.createElement(xe.default,{bordered:!1,size:"small",value:le,onChange:ie},de.createElement(se,{value:12},"12px"),de.createElement(se,{value:14},"14px"),de.createElement(se,{value:16},"16px"),de.createElement(se,{value:18},"18px"),de.createElement(se,{value:20},"20px"),de.createElement(se,{value:22},"22px"))),de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.tabConversion",defaultMessage:"Tab\u8F6C\u6362"})),de.createElement(E.Z,{checked:x,onChange:ne})),de.createElement("div",{className:"file-item",onClick:a},de.createElement("b",{style:{cursor:"pointer"}},he.formatMessage({id:"shixuns.formatCode",defaultMessage:"\u683C\u5F0F\u5316\u4EE3\u7801"}))))),!re&&de.createElement(de.Fragment,null,de.createElement("h3",null,he.formatMessage({id:"shixuns.shortcuts",defaultMessage:"\u5FEB\u6377\u952E"})),de.createElement("section",null,de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.saveCode",defaultMessage:"\u4FDD\u5B58\u4EE3\u7801"})),de.createElement("span",null,"Ctrl + S")),de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.showShortcutsList",defaultMessage:"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"})),de.createElement("span",null,"F1 / Alt + F1")),de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.indentLeftRight",defaultMessage:"\u5DE6\u53F3\u7F29\u8FDB"})),de.createElement("span",null,"Ctrl + ]/[")),de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.jumpToMatchingBracket",defaultMessage:"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"})),de.createElement("span",null,"Ctrl + Shift + \\")),de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.goToLineStart",defaultMessage:"\u8F6C\u5230\u884C\u9996"})),de.createElement("span",null,"Home")),de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.goToLineEnd",defaultMessage:"\u8F6C\u5230\u884C\u5C3E"})),de.createElement("span",null,"End"))),b),!re&&de.createElement(de.Fragment,null,de.createElement("h3",null,he.formatMessage({id:"shixuns.shortcuts",defaultMessage:"\u5FEB\u6377\u952E"})),de.createElement("section",null,be&&de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"questionBankAddQuestion.programmingLanguage",defaultMessage:"\u7F16\u7A0B\u8BED\u8A00"})),de.createElement("span",null,be)),de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.practicalDifficulty",defaultMessage:"\u5B9E\u8BAD\u96BE\u6613\u5EA6"})),de.createElement("span",null,pe[z==null?void 0:z.difficulty])),de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.labEnvironment",defaultMessage:"\u5B9E\u9A8C\u73AF\u5883"})),de.createElement("span",null,te==null?void 0:te.name)),de.createElement("div",{className:"file-item"},de.createElement("b",null,he.formatMessage({id:"shixuns.labContainerNetwork",defaultMessage:"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"})),de.createElement("span",null,te!=null&&te.close_internet?he.formatMessage({id:"shixuns.closeInternet",defaultMessage:"\u5173\u95ED\u5916\u7F51"}):he.formatMessage({id:"shixuns.enableExternalNetwork",defaultMessage:"\u5F00\u542F\u5916\u7F51"}))))))}},99914:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return xe}});var Se=fe(67294);function xe(E,ve){const de=(0,Se.useRef)();(0,Se.useEffect)(()=>{de.current=E}),(0,Se.useEffect)(()=>{function se(){de.current()}if(ve!==null){let re=setInterval(se,ve);return()=>clearInterval(re)}},[ve])}},97917:function(_t,dt,fe){"use strict";var Se=fe(67294),xe=fe(55054),E=fe(31795),ve=fe(22150),de=fe(14446),se=fe(57953),re=fe(9430),ie=fe(69677),le=fe(71230),ce=fe(15746),ae=fe(71577),oe=fe(15835),ne=fe(27484),ee=fe.n(ne),a=fe(35973),y=fe(28706),x=fe(53814),b=fe(52262),te=fe(9343),z=fe(67294),ue=(pe,be,ye)=>new Promise((Pe,we)=>{var Oe=Ee=>{try{_e(ye.next(Ee))}catch(Me){we(Me)}},Ce=Ee=>{try{_e(ye.throw(Ee))}catch(Me){we(Me)}},_e=Ee=>Ee.done?Pe(Ee.value):Promise.resolve(Ee.value).then(Oe,Ce);_e((ye=ye.apply(pe,be)).next())});const{Countdown:ge}=xe.default,me=({value:pe,onChange:be,MaxMinutes:ye})=>{const Pe=(0,a.useIntl)();return z.createElement(z.Fragment,null,z.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",z.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",z.createElement("br",null)),z.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} ${Pe.formatMessage({id:"classrooms.minute",defaultMessage:"\u5206\u949F"})}\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:Pe.formatMessage({id:"classrooms.minute",defaultMessage:"\u5206\u949F"})}))},he=({exercise:pe,successCb:be,dispatch:ye})=>{var Pe,we,Oe,Ce;const _e=(0,a.useIntl)(),Ee=(0,a.useParams)(),[Me]=ve.default.useForm(),Ie=ve.default.useWatch("time",Me),[Be,Re]=(0,Se.useState)(!1),tt=(0,Se.useRef)(),{actionTabs:Ye}=pe,[et,Xe]=(0,Se.useState)(),[,Ge,Fe,je]=(0,te.U)(oe.n7,{id:Ee.categoryId}),[,qe,Je]=(0,te.U)(oe.Cd,{});(0,Se.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&(Re(!1),Me.resetFields())},[pe.actionTabs.key]);const it=()=>new Promise(ze=>ue(void 0,null,function*(){var Le,Te;return tt.current=yield(0,x.y)({ip_limit:(Le=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Le.ip_limit,ip_bind:(Te=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Te.ip_bind_type}),ze()})),Qe=()=>ue(void 0,null,function*(){var ze,Le,Te,Ne,He;yield Me.validateFields();const rt=Me.getFieldsValue();if(Re(!0),(((ze=Ye==null?void 0:Ye.exerciseParams)==null?void 0:ze.ip_limit)!=="no"||(Le=Ye==null?void 0:Ye.exerciseParams)!=null&&Le.ip_bind_type)&&(yield it()),(yield(0,oe.ZD)((Te=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Te.id,{exercise_user_id:(Ne=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ne.exercise_user_id,unlock_key:rt.unlock_key,time:rt.time,ip:tt.current})).status===0){if(be){ye({type:"exercise/setActionTabs",payload:{}}),be();return}const vt=Ye==null?void 0:Ye.exerciseParams;(0,y.nr)({inner_ip:vt.inner_ip,public_ip:vt.public_ip,open_camera:vt.open_camera,ip_limit:vt.ip_limit,ip_bind:vt.ip_bind,ip_bind_type:vt.ip_bind_type,exercise_tips:vt.exercise_tips,exerciseId:vt.id,screen_open:vt.screen_open,screen_num:vt.screen_num,screen_sec:vt.screen_sec,coursesId:Ee.coursesId,login:(He=(0,b.eY)())==null?void 0:He.login,history,identity_verify:vt.identity_verify,open_phone_video_recording:vt.open_phone_video_recording,current_status:vt.current_status}),ye({type:"exercise/setActionTabs",payload:{}})}Re(!1)}),Ze=[{title:_e.formatMessage({id:"classrooms.ipAddress",defaultMessage:"IP\u5730\u5740"}),dataIndex:"ip",key:"ip",render:ze=>z.createElement("span",{className:ze.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ze)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:ze=>z.createElement("span",{className:ze.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},ze)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],De=((Pe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((we=Ye==null?void 0:Ye.exerciseParams)==null?void 0:we.errorMessage)=="object";(0,Se.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&ue(void 0,null,function*(){const ze=yield Je(Ee);yield Fe({}),ze.status||Xe(ze)})},[pe.actionTabs.key]);const{time:Ve,end_time:Ae}=(et==null?void 0:et.exercise)||{},ke=je!=null&&je.user_end_time?ee()(je==null?void 0:je.user_end_time).add(1,"minutes"):ee()(),$e=ee()(je==null?void 0:je.user_total_end_time)>ke?Math.round(ee().duration(ee()(je==null?void 0:je.user_total_end_time).diff(ke.startOf("minute"))).asMinutes()):0,Ke=((je==null?void 0:je.student_left_minutes)||0)+(Ie||0);return z.createElement(z.Fragment,null,z.createElement(de.default,{width:514,centered:!0,closable:!!((Oe=Ye==null?void 0:Ye.exerciseParams)!=null&&Oe.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:_e.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),open:pe.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ye({type:"exercise/setActionTabs",payload:{}})}},z.createElement(se.Z,{spinning:Ge||qe},De&&z.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 "),!De&&z.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"),De&&z.createElement(re.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ce=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:Ze}),z.createElement("div",{className:""},z.createElement(ve.default,{form:Me,layout:"vertical",autoComplete:"off"},z.createElement(ve.default.Item,{label:_e.formatMessage({id:"classroomExams.examUnlockCode",defaultMessage:"\u8003\u8BD5\u89E3\u9501\u7801"}),name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},z.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Ve!==-1?z.createElement(z.Fragment,null,z.createElement(ve.default.Item,{name:"time",label:z.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",z.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",ee()(je==null?void 0:je.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},z.createElement(me,{MaxMinutes:$e})),z.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},Ge||qe?"--":Ke),_e.formatMessage({id:"classrooms.minute",defaultMessage:"\u5206\u949F"}),Ke!==0&&(je==null?void 0:je.user_end_time)&&z.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},ee()(je==null?void 0:je.user_end_time).add(Ie||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):z.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()(Ae).format("YYYY-MM-DD HH:mm")))),z.createElement(le.Z,{justify:"space-between",align:"middle"},z.createElement(ce.Z,null),z.createElement(ce.Z,null,z.createElement(ae.ZP,{loading:Be,onClick:Qe},"\u8FDB\u5165\u8003\u8BD5"))))))};dt.Z=(0,a.connect)(({exercise:pe})=>({exercise:pe}))(he)},38365:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return a}});var Se=fe(67294),xe=fe(35973),E=fe(14446),ve=fe(71577),de=fe(57953),se=fe(88742),re=fe(72971),ie=fe(36295),le=fe(19575),ce=fe(27484),ae=fe.n(ce),oe=fe(94189),ne=fe(67294),ee=(y,x,b)=>new Promise((te,z)=>{var ue=he=>{try{me(b.next(he))}catch(pe){z(pe)}},ge=he=>{try{me(b.throw(he))}catch(pe){z(pe)}},me=he=>he.done?te(he.value):Promise.resolve(he.value).then(ue,ge);me((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,te]=(0,Se.useState)(void 0);console.log((0,xe.useLocation)(),33);const z=(0,xe.useLocation)(),ue=(0,xe.useIntl)();(0,Se.useEffect)(()=>{y&&function(){return ee(this,null,function*(){const Xe=yield(0,se.X6)(y);te(Xe.data)})}()},[y]);const{status:ge,created_at:me,code:he,name:pe,language:be,pass_sets_count:ye,set_count:Pe,error_msg:we,output:Oe,input:Ce,expected_output:_e,execute_memory:Ee,user:Me,execute_time:Ie,input_file_url:Be,output_file_url:Re,is_file:tt,expected_output_file_url:Ye}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(ve.ZP,{type:"primary",onClick:()=>x(!1)},ue.formatMessage({id:"user.disable",defaultMessage:"\u5173\u95ED"})),centered:!0},ne.createElement(de.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," ",ue.formatMessage({id:"shixuns.submissionRecords",defaultMessage:"\u63D0\u4EA4\u8BB0\u5F55"})),ne.createElement("ul",{className:"record-info"},ne.createElement("li",null," ",ue.formatMessage({id:"classroomProgrammingHomework.evaluationResult",defaultMessage:"\u8BC4\u6D4B\u7ED3\u679C"}),"\uFF1A",ne.createElement("span",{className:ge===0?"c-green":"c-red"},re.Im[ge])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,ae()(me).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," ",ue.formatMessage({id:"classrooms.language",defaultMessage:"\u8BED\u8A00"}),"\uFF1A",ne.createElement("span",null,be)," "),ne.createElement("li",null," ",ue.formatMessage({id:"classrooms.executionTime",defaultMessage:"\u6267\u884C\u7528\u65F6"}),"\uFF1A",ne.createElement("span",null,Ie*1e3,"ms")," "),ne.createElement("li",null," ",`${ge===oe.h.HIDE_COMPILE_STATUS?"--":ye} / ${Pe} {intl.formatMessage({ id: 'classrooms.passedTestCases', defaultMessage: '\u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B' })}`," ")),(0,re.gZ)({status:ge,error_msg:we,execute_time:Ie,output:Oe,input:Ce,expected_output:_e,input_file_url:Be,output_file_url:Re,is_file:tt,expected_output_file_url:Ye}),ne.createElement("h2",null," ",ue.formatMessage({id:"classrooms.submittedContent",defaultMessage:"\u63D0\u4EA4\u7684\u5185\u5BB9"})," "),ne.createElement(ie.ZP,{height:"200px",width:"100%",language:be==null?void 0:be.toLocaleLowerCase(),value:le.Base64.decode(he),options:{readOnly:!0}}))):null)))}},86276:function(_t,dt,fe){"use strict";fe.d(dt,{Im:function(){return ye},Y4:function(){return we}});var Se=fe(67294),xe=fe(69677),E=fe(2453),ve=fe(71577),de=fe(96707),se=fe(19575),re=fe.n(se),ie=fe(11579),le=fe(7621),ce=fe(85725),ae=fe(28706),oe=fe(12320),ne=fe.n(oe),ee=fe(33170),a=fe(35973),y=fe(38365),x=fe(33054),b=fe(88742),te=fe(30546),z=fe(91613),ue=fe(94184),ge=fe.n(ue),me=fe(51959),he=fe(67294),pe=(_e,Ee,Me)=>new Promise((Ie,Be)=>{var Re=et=>{try{Ye(Me.next(et))}catch(Xe){Be(Xe)}},tt=et=>{try{Ye(Me.throw(et))}catch(Xe){Be(Xe)}},Ye=et=>et.done?Ie(et.value):Promise.resolve(et.value).then(Re,tt);Ye((Me=Me.apply(_e,Ee)).next())});const{TextArea:be}=xe.default,ye={[de.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[de.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[de.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(_e=>(_e[_e.SET_VISIBLE=0]="SET_VISIBLE",_e[_e.SET_TABINDEX=1]="SET_TABINDEX",_e))(Pe||{});function we(_e){const Ee=(0,a.useIntl)(),{status:Me,error_msg:Ie,output:Be,input:Re,expected_output:tt,is_file:Ye,input_file_url:et,output_file_url:Xe,expected_output_file_url:Ge,setMonacoValue:Fe,setData:je}=_e,qe=(0,Se.useRef)(),Je=(0,Se.useRef)(),it=(0,Se.useRef)();let Qe=null;const Ze={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,Se.useEffect)(()=>{if(Be&&!Ye&&qe.current){const De=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});De.open(qe.current);const Ve=(0,ae.pp)(se.Base64.decode(Be));De.write(Ve),De.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{De.scrollToTop()}catch(Ae){}},100)}if(Re&&!Ye&&Je.current){const De=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});De.open(Je.current),De.write((0,ae.pp)(Re)),De.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{De.scrollToTop()}catch(Ve){}},100)}if(tt&&!Ye&&it.current){const De=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});De.open(it.current),De.write((0,ae.pp)(se.Base64.decode(tt))),De.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{De.scrollToTop()}catch(Ve){}},100)}},[Be]),Me){case de.h.NOMATCH:Qe=he.createElement(he.Fragment,null,he.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ye&&he.createElement("div",{ref:qe}),Ye&&he.createElement("div",{style:Ze},he.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const De=yield(0,ee.ZP)(Xe,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});Fe(De),setTimeout(()=>{je(Xe)},200)})},Be)),he.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ye&&he.createElement("div",{ref:it}),Ye&&he.createElement("div",{style:Ze},he.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const De=yield fetch(Ge,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Fe(yield De.text()),setTimeout(()=>{je(Ge)},200)})},tt)));break;case de.h.EXECUTEFAILURE:Qe=he.createElement(he.Fragment,null,he.createElement("div",{style:{border:"1px #F6F7F9 solid"}},he.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ye&&he.createElement(ce.Z,{value:Re,style:Ze}),Ye&&he.createElement("div",{style:Ze},he.createElement("a",{onClick:()=>(0,ae.LR)(et,Re)},Re))),he.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},he.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),he.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},se.Base64.decode(Ie),"111")));break;case de.h.COMPILEFAILURE:Qe=he.createElement(he.Fragment,null,he.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),he.createElement("pre",{className:ie.Z.error},se.Base64.decode(Ie)));break;case de.h.PODFAILURE:Qe=he.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case de.h.TIMEOUT:Qe=he.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return he.createElement(he.Fragment,null," ",Qe," ")}function Oe(_e){const Ee=(0,a.useIntl)(),{status:Me,error_msg:Ie,execute_time:Be,output:Re,input:tt,expected_output:Ye,is_file:et,input_file_url:Xe,output_file_url:Ge,expected_output_file_url:Fe}=_e;let je=null;switch(Me){case de.h.OK:case de.h.NOMATCH:case de.h.EXECUTEFAILURE:case de.h.COMPILEFAILURE:je=he.createElement("div",{id:"outputResultRef",className:"h100"});break;case de.h.PODFAILURE:je=he.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case de.h.TIMEOUT:je=he.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return he.createElement(he.Fragment,null," ",je," ")}function Ce({value:_e,className:Ee}){return he.createElement("span",{className:Ee},_e)}dt.ZP=({input:_e,is_file:Ee,debuging:Me,submitting:Ie,executingMessage:Be,debugResult:Re,onChangeInput:tt,onDebugCode:Ye,onSubmitCode:et,hack:Xe,user:Ge,submitResult:Fe,isWhiteTheme:je,topDispatch:qe})=>{const Je=(0,a.useIntl)(),[it]=(0,a.useSearchParams)(),Qe=(0,a.useParams)(),[Ze,De]=(0,Se.useState)(!1),[Ve,Ae]=(0,Se.useState)(!1),[ke,$e]=(0,Se.useState)(1),[Ke,ze]=(0,Se.useState)(!1),[Le,Te]=(0,Se.useState)(0),[Ne,He]=(0,Se.useState)(!1),[rt,mt]=(0,Se.useState)(""),[vt,nt]=(0,Se.useState)(""),ut=(0,Se.useRef)(),Et=(0,Se.useRef)(),Ot=(0,Se.useRef)(null),at=(0,Se.useRef)(null),Tt=(0,Se.useRef)(null);console.log(Fe,"submitResult",Qe);const{status:st,id:pt,input:Pt,output:wt,expected_output:Lt,is_file:$t,input_file_url:nn,output_file_url:un,expected_output_file_url:Cn,error_msg:Sn,hack_sets:Kn}=Fe||{};(0,Se.useEffect)(()=>{st===0&&($e(1),Te(0))},[st,pt]),(0,Se.useEffect)(()=>{pe(void 0,null,function*(){var vn;const xn=yield(0,b.rX)(Qe==null?void 0:Qe.id,"submit");(xn==null?void 0:xn.status)===0&&(xn!=null&&xn.data&&((vn=xn==null?void 0:xn.data)==null?void 0:vn.status)!==0?(qe({type:te.Types.SET_SUBMIT_RESULT,payload:{submitResult:xn==null?void 0:xn.data}}),$e(2),Te(320)):($e(1),Te(0)))})},[Qe==null?void 0:Qe.id]),(0,Se.useEffect)(()=>{if(ut.current){let dn=function(It){Vn=tr.offsetHeight,pr=!0,ar=It.pageY,Tt.current.style.display="block"},vn=function(){pr=!1,Tt.current.style.display="none"},xn=function(It){if(pr){nr();let Rt=ar-It.pageY,fn=Vn+Rt;if(fn<0&&(fn=0),fn>window.innerHeight-150&&(fn=window.innerHeight-150),ke===1){fn<=34?Te(0):Te(fn);return}console.log(fn,"resizeH"),Te(fn)}};const tr=Ot.current;let Vn=0,pr=!1,ar=0;const xt=document.getElementById("case-y-bar");return xt==null||xt.addEventListener("mousedown",dn),document.addEventListener("mousemove",xn),document.addEventListener("mouseup",vn),()=>{const It=document.getElementById("case-y-bar");It==null||It.removeEventListener("mousedown",dn),document.removeEventListener("mousemove",xn),document.removeEventListener("mouseup",vn)}}},[ut,ke]),(0,Se.useEffect)(()=>{const dn=x.Z.subscribe("resize-move-bar",nr);if(it.get("type")!=="exercises")return document.addEventListener((0,me.gH)(),Gr),()=>{document.removeEventListener((0,me.gH)(),Gr),dn()}},[]),(0,Se.useEffect)(()=>{});function nr(){var dn,vn,xn,tr;const Vn=document.getElementById("outputResultRef");if(Vn){let pr=Vn.dataset.text;Et.current.reset(),Et.current.writeln(pr);const ar=document.getElementById("outputResultRef").offsetWidth-20,xt=((tr=(xn=(vn=(dn=Et.current)==null?void 0:dn._core)==null?void 0:vn._renderService)==null?void 0:xn.dimensions)==null?void 0:tr.actualCellWidth)||10,It=Math.ceil(ar/xt);Et.current.resize(It,Math.ceil(Vn.clientHeight/16))}}function fr(){De(!Ze),setTimeout(()=>{nr()},300),Te(Ze?320:window.innerHeight-150)}function Ur(){Ve?(Ae(!1),(0,me.BU)()):(Ae(!0),(0,me.Dj)(at.current))}const Gr=dn=>{(0,me.vp)()||Ae(!1)},zr=(0,Se.useMemo)(()=>{if(Re){const{status:dn,output:vn,error_msg:xn}=Re;return setTimeout(()=>{let tr="",Vn=document.getElementById("outputResultRef");vn?tr=se.Base64.decode(vn):xn&&(tr=se.Base64.decode(xn)),Et.current=new oe.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),Et.current.open(Vn),Et.current.onKey(function(pr){var ar;if(pr.domEvent.key.toLocaleUpperCase()==="C"&&pr.domEvent.ctrlKey){pr.domEvent.preventDefault();let xt=(ar=Et.current)==null?void 0:ar.getSelection();navigator.clipboard.writeText(xt).then(()=>{})}}),Vn.dataset.text=tr,Et.current.setOption("convertEol",!0),nr()},300),he.createElement(he.Fragment,null,Oe(Re))}return null},[Re]);function Ir(){var dn,vn;if(!(Xe!=null&&Xe.code)||((dn=Xe==null?void 0:Xe.code)==null?void 0:dn.trim().length)===0){(vn=E.ZP)==null||vn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}$e(1),Te(320),Ye()}const bn=dn=>pe(void 0,null,function*(){let vn=yield(0,ee.ZP)(`/api/problems/${dn}/start.json`,{method:"get",params:{hack_user_id:Ge==null?void 0:Ge.user_id}});vn&&(window.location.href=`/myproblems/${vn==null?void 0:vn.identifier}${window.location.search}`)});function tn(){$t?navigator.clipboard.writeText(se.Base64.decode(Sn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(se.Base64.decode(wt)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return he.createElement(Se.Fragment,null,he.createElement("div",{className:ge()(ie.Z.case,je&&ie.Z.whiteCase),style:{height:Le},ref:Ot},he.createElement("div",{className:ie.Z.fullMask,ref:Tt}),he.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:ut,draggable:!1},ke===2&&he.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),ke===1&&(Le<=34?he.createElement("div",{onClick:()=>{Te(320)},className:ie.Z.unfoldBtn},Je.formatMessage({id:"problemset.console",defaultMessage:"\u63A7\u5236\u53F0"}),he.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):he.createElement("div",{onClick:()=>{Te(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},Je.formatMessage({id:"problemset.console",defaultMessage:"\u63A7\u5236\u53F0"}),he.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),he.createElement("div",null,he.createElement("div",{className:ie.Z.caseHead},he.createElement("div",{className:ie.Z.dot}),he.createElement("div",{className:ie.Z.text},ke===1?Je.formatMessage({id:"problemset.debugResult",defaultMessage:"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"}):Je.formatMessage({id:"classroomProgrammingHomework.evaluationResult",defaultMessage:"\u8BC4\u6D4B\u7ED3\u679C"})),ke===2&&!Ie&&typeof st=="number"&&he.createElement(he.Fragment,null,st===de.h.OK?he.createElement("div",{className:ie.Z.pass},he.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),Je.formatMessage({id:"shixuns.evaluationPassed",defaultMessage:"\u8BC4\u6D4B\u901A\u8FC7"})):he.createElement("div",{className:ie.Z.noPass},he.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ye[st])),he.createElement("div",{className:ie.Z.btns},ke===2&&!Ie&&he.createElement(he.Fragment,null,st!==de.h.OK&&he.createElement("div",{onClick:tn},he.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),he.createElement("div",{onClick:()=>{He(pt)}},he.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),it.get("type")!=="exercises"&&he.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>fr()},he.createElement("i",{className:`iconfont icon-${Ze?"suoxiao1":"fangda"}`})))),he.createElement("div",{style:{display:ke===1?"block":"none"}},Me?he.createElement(le.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):he.createElement("div",{style:{height:Le-34}},he.createElement("div",{className:ie.Z.result},he.createElement("div",{className:ie.Z.left},he.createElement("div",{className:ie.Z.title},he.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),he.createElement("span",null,Je.formatMessage({id:"questionBankAddQuestion.customTestCase",defaultMessage:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"}))),he.createElement("div",{className:ie.Z.leftNode},he.createElement(be,{placeholder:Je.formatMessage({id:"classrooms.pleaseEnterSelfTestCase",defaultMessage:"\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:Ee?"":_e,onChange:tt}))),he.createElement("div",{className:ie.Z.right},he.createElement("div",{className:ie.Z.title},he.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),he.createElement("span",null,Je.formatMessage({id:"questionBankAddQuestion.codeExecutionResult",defaultMessage:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"}))),he.createElement("div",{className:ie.Z.node},Re?zr:he.createElement("p",{style:{color:"#8F96B1"}},Je.formatMessage({id:"classrooms.pleaseEnterCustomTestCase",defaultMessage:"\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"}))))))),he.createElement("div",{style:{display:ke===2?"block":"none"}},Ie?he.createElement(le.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):he.createElement("div",{style:{height:Le-34,display:"flex",flexDirection:"column",overflow:"hidden"}},he.createElement("div",{ref:at,className:ie.Z.elseNode},he.createElement("div",{className:ie.Z.nameWrap},he.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),he.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),he.createElement("div",{className:ie.Z.scroll},he.createElement("pre",{className:ie.Z.scrollBox,style:Ke?{height:Ve?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!$t&&he.createElement(Ce,{value:Pt}),$t&&he.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const dn=yield fetch(nn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});nt(yield dn.text()),setTimeout(()=>{mt(nn)},200)})},Pt)),Pt&&he.createElement("div",{className:ie.Z.action},he.createElement("span",{onClick:()=>ze(!Ke)},Ke?Je.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"}):Je.formatMessage({id:"shixuns.expand",defaultMessage:"\u5C55\u5F00"})),it.get("type")!=="exercises"&&he.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>Ur(),className:`iconfont icon-${Ve?"suoxiao1":"fangda"}`})))),he.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},he.createElement("div",{className:ie.Z.left},he.createElement("div",{className:ie.Z.title},he.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),he.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),he.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},he.createElement("pre",null,!$t&&he.createElement(Ce,{className:"mb10",value:Lt&&se.Base64.decode(Lt)||""}),$t&&he.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const dn=yield fetch(Cn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});nt(yield dn.text()),setTimeout(()=>{mt(Cn)},200)})},Lt)))),he.createElement("div",{className:ie.Z.right},he.createElement("div",{className:ie.Z.title},he.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),he.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),he.createElement("div",{className:ie.Z.node,style:{color:st===de.h.OK?"#2ABD8C":"#FF2C29"}},he.createElement("pre",null,(st===4||st===5)&&he.createElement(Ce,{className:"mb10",value:Sn&&se.Base64.decode(Sn)||""}),st!=4&&st!=5&&($t?he.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const dn=yield(0,ee.ZP)(un,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{nt(dn)}catch(vn){nt("")}setTimeout(()=>{mt(un)},200)})},wt):he.createElement(Ce,{className:"mb10",value:wt&&se.Base64.decode(wt)||""})))))))))),he.createElement("div",{className:ge()(ie.Z.footer,je&&ie.Z.whiteFooter),style:{zIndex:100}},(Xe==null?void 0:Xe.is_program)&&(Xe==null?void 0:Xe.above_question)&&he.createElement(ve.ZP,{className:"mr10",type:"primary",onClick:()=>bn(Xe==null?void 0:Xe.above_question),id:"oj-prev",ghost:!0},Je.formatMessage({id:"testPaperBank.previousQuestion",defaultMessage:"\u4E0A\u4E00\u9898"})),(Xe==null?void 0:Xe.is_program)&&(Xe==null?void 0:Xe.under_question)&&he.createElement(ve.ZP,{className:"mr10",type:"primary",onClick:()=>bn(Xe==null?void 0:Xe.under_question),id:"oj-next",ghost:!0},Je.formatMessage({id:"testPaperBank.nextQuestion",defaultMessage:"\u4E0B\u4E00\u9898"})),he.createElement(ve.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Me||Ie,loading:Me,color:"#2ABD8C",className:"mr10",onClick:Ir},Je.formatMessage({id:"questionBankAddQuestion.debugCode",defaultMessage:"\u8C03\u8BD5\u4EE3\u7801"})),it.get("qtype")!=="8"&&he.createElement(ve.ZP,{className:ie.Z.disabled,type:"primary",icon:he.createElement("i",{className:"iconfont icon-bofang1"}),loading:Ie,disabled:Me||Ie,onClick:()=>{var dn,vn;if(!(Xe!=null&&Xe.code)||((dn=Xe==null?void 0:Xe.code)==null?void 0:dn.trim().length)===0){(vn=E.ZP)==null||vn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}$e(2),Te(320),et()}},Je.formatMessage({id:"questionBankAddQuestion.evaluateAndSubmit",defaultMessage:"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"}))),he.createElement(y.Z,{onClose:He,open:Ne}),he.createElement(z.Z,{close:!0,data:rt,type:rt.length?"txt":"",onClose:()=>mt(""),monacoEditor:{value:vt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},30546:function(_t,dt,fe){"use strict";fe.r(dt),fe.d(dt,{Types:function(){return cn},default:function(){return en}});var Se=fe(67294),xe=fe(35973),E=fe(55054),ve=fe(14446),de=fe(57953),se=fe(71577),re=fe(83062),ie=fe(71230),le=fe(88742),ce=fe(15835),ae=fe(51959),oe=fe(60076),ne=fe(11320),ee=fe(55304),a=fe(72565),y=fe(36295),x=fe(76621),b=fe(40471),te=fe(21434),z=fe(2453),ue={list:"list___IRN6i",copy:"copy___qCn9B"},ge=fe(74855),me=fe(33170),he=(St,Ft,Xt)=>new Promise((_n,Ln)=>{var Fn=Gt=>{try{Kt(Xt.next(Gt))}catch(Qt){Ln(Qt)}},kt=Gt=>{try{Kt(Xt.throw(Gt))}catch(Qt){Ln(Qt)}},Kt=Gt=>Gt.done?_n(Gt.value):Promise.resolve(Gt.value).then(Fn,kt);Kt((Xt=Xt.apply(St,Ft)).next())}),be=({showResourceCentre:St,identifier:Ft})=>{const Xt=(0,xe.useIntl)(),_n=(0,xe.useParams)(),[Ln,Fn]=(0,Se.useState)(null);(0,Se.useEffect)(()=>{St&&kt()},[St]);const kt=()=>he(void 0,null,function*(){const Kt=yield(0,me.ZP)(`/api/problems/${Ft}/attachment_list.json`,{method:"get"});(Kt==null?void 0:Kt.status)==0&&Fn(Kt.data||[])});return Se.createElement("div",{className:"tpi-code-setting"},Se.createElement("h3",null,Xt.formatMessage({id:"shixuns.resourceCenter",defaultMessage:"\u8D44\u6E90\u4E2D\u5FC3"})),!(Ln!=null&&Ln.length)&&Se.createElement("div",{className:"tc mt50 c-grey-999"},Xt.formatMessage({id:"shixuns.noResourceData",defaultMessage:"\u6682\u65E0\u8D44\u6E90\u6570\u636E"})),Ln==null?void 0:Ln.map((Kt,Gt)=>Se.createElement("dl",{className:ue.list,key:Gt},Se.createElement(re.Z,{title:Kt.title},Se.createElement("dt",null,Se.createElement("i",{className:"icon-wenjian4 mr5"}),Kt.title)),Se.createElement("dd",null,Se.createElement(ge.CopyToClipboard,{text:Kt.saved_file_path,onCopy:()=>z.ZP.success(Xt.formatMessage({id:"classrooms.copySuccess",defaultMessage:"\u590D\u5236\u6210\u529F"}))},Se.createElement("span",{className:`${ue.copy} current`},Xt.formatMessage({id:"shixuns.clickToCopy",defaultMessage:"\u70B9\u51FB\u590D\u5236"})))))))},ye=fe(67294),Pe=Object.defineProperty,we=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,Me=(St,Ft,Xt)=>Ft in St?Pe(St,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):St[Ft]=Xt,Ie=(St,Ft)=>{for(var Xt in Ft||(Ft={}))_e.call(Ft,Xt)&&Me(St,Xt,Ft[Xt]);if(Ce)for(var Xt of Ce(Ft))Ee.call(Ft,Xt)&&Me(St,Xt,Ft[Xt]);return St},Be=(St,Ft)=>we(St,Oe(Ft));const Re={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0),showResourceCentre:!1};var tt=(St=>(St[St.set_font_size=0]="set_font_size",St[St.set_theme=1]="set_theme",St[St.on_tab_to_space=2]="on_tab_to_space",St[St.set_show_editor_setting=3]="set_show_editor_setting",St[St.set_show_respurce_center=4]="set_show_respurce_center",St))(tt||{});function Ye(St,Ft){switch(Ft.type){case 3:return Be(Ie({},St),{showEditorSetting:Ft.payload});case 1:return Be(Ie({},St),{theme:Ft.payload});case 0:return Be(Ie({},St),{fontSize:Ft.payload});case 2:return Be(Ie({},St),{tabToSpace:Ft.payload});case 4:return Be(Ie({},St),{showResourceCentre:Ft.payload});default:throw new Error}}var et=({isLoading:St,value:Ft,onChange:Xt,language:_n,onUpdateCode:Ln,ActionBarRender:Fn,setIsWhiteTheme:kt,identifier:Kt})=>{const[Gt,Qt]=(0,Se.useReducer)(Ye,Re),{theme:Dn,fontSize:hn,showEditorSetting:ht,tabToSpace:lt,showResourceCentre:ft}=Gt,Ct=(0,Se.useRef)(),Nt=(0,Se.useRef)();(0,Se.useEffect)(()=>{kt(Dn==="vs")},[Dn]);const Yt={onFontSizeChange:En=>{Qt({type:0,payload:En}),(0,b.t)("cmFontSize",En)},tabToSpace:lt,cmFontSize:hn,className:"oj",cmCodeMode:Dn,onTabToSpace:En=>{Qt({type:2,payload:En}),(0,b.t)("cmTabToSpace",En)},onCodeModeChange:En=>{Qt({type:1,payload:En}),(0,b.t)("ProgrammingCodeMode",En)}};function pn(){Qt({type:3,payload:!1})}function Tn(){Qt({type:3,payload:!0})}function Un(){Qt({type:4,payload:!1})}function Zn(){Qt({type:4,payload:!0})}const Wn={value:Ft,language:_n,theme:Dn,options:{fontSize:hn,insertSpaces:lt},onChange:En=>{Xt(En),Nt.current=En,clearTimeout(Ct.current),Ct.current=setTimeout(()=>{Ln(Nt.current)},1e4)},onEditBlur:En=>{Nt.current&&Ln(Nt.current)}};return ye.createElement(Se.Fragment,null,Fn(Tn,Zn),ye.createElement("div",{style:{flex:1,overflow:"hidden"}},!St&&ye.createElement(y.ZP,Ie({},Wn))),ye.createElement(x.Z,null,ye.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:ht,onClose:pn},ye.createElement(te.Z,Ie({},Yt)))),ye.createElement(x.Z,null,ye.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:ft,onClose:Un},ye.createElement(be,{showResourceCentre:ft,identifier:Kt}))))},Xe=fe(60141),Ge=fe(19575),Fe=fe(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"},qe={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},Je=fe(9430),it=fe(28452),Qe=fe(3407),Ze=fe(38365),De=fe(27484),Ve=fe.n(De),Ae=fe(67294);const{Column:ke}=Je.default;var $e=({submitResult:St,submitting:Ft,submitRecords:Xt,page:_n,onPageChange:Ln,topicId:Fn})=>{const kt=(0,xe.useIntl)(),[Kt]=(0,xe.useSearchParams)(),{records:Gt,records_count:Qt}=Xt||{},[Dn,hn]=(0,Se.useState)(!1),ht=Kt.get("type")==="1";return Ae.createElement(de.Z,{spinning:Ft,tip:kt.formatMessage({id:"competitions.inEvaluation",defaultMessage:"\u8BC4\u6D4B\u4E2D"})+"...",indicator:Ae.createElement(Qe.Z,{style:{fontSize:24},spin:!0})},(Gt==null?void 0:Gt.length)>0?Ae.createElement(Je.default,{dataSource:Gt,rowKey:"id",pagination:!1},Ae.createElement(ke,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(lt,ft)=>Ae.createElement("span",null," ",Ve()(lt).format("YYYY-MM-DD HH:mm:ss"))}),Ae.createElement(ke,{title:kt.formatMessage({id:"classroomProgrammingHomework.evaluationResult",defaultMessage:"\u8BC4\u6D4B\u7ED3\u679C"}),dataIndex:"status",key:"status",render:(lt,ft)=>{var Ct;return Ae.createElement("span",{className:`${lt===0?"c-green":"c-red"} current`,onClick:()=>{hn(ft.id)}},(Ct=Fe.Im[lt])==null?void 0:Ct.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ae.createElement(ke,{title:`${kt.formatMessage({id:"classrooms.executionTime",defaultMessage:"\u6267\u884C\u7528\u65F6"})} (${ht?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:lt=>lt?ht?lt:lt/1e3:""}),Ae.createElement(ke,{title:`${kt.formatMessage({id:"classrooms.memoryConsumption",defaultMessage:"\u5185\u5B58\u6D88\u8017"})}\uFF08${ht?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:lt=>lt?ht?lt:parseFloat((lt/1024).toFixed(2)):""}),Ae.createElement(ke,{title:kt.formatMessage({id:"classrooms.language",defaultMessage:"\u8BED\u8A00"}),dataIndex:"language",key:"language"}),Ae.createElement(ke,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(lt,ft)=>Ae.createElement("span",{className:"c-light-primary current",onClick:()=>{hn(ft.id)}},kt.formatMessage({id:"classrooms.view",defaultMessage:"\u67E5\u770B"}))})):Ae.createElement("div",{style:{height:300,width:"100%"}}),Ae.createElement(Ze.Z,{onClose:hn,open:Dn}),Qt>15?Ae.createElement(it.Z,{className:qe.pagination,current:_n,pageSize:15,total:Qt,onChange:Ln}):null)},Ke=fe(26194),ze=fe(66309),Le={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Te=fe(85725),Ne=fe(67294),He=({hack:St})=>{const Ft=(0,xe.useIntl)(),{language:Xt,difficult:_n,time_limit:Ln,description:Fn}=St,[kt]=(0,xe.useSearchParams)(),Gt={1:{name:Ft.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"}),color:"#52c41a"},2:{name:Ft.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"}),color:"#faad14"},3:{name:Ft.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"}),color:"#f5222d"}}[_n];return Ne.createElement(Ne.Fragment,null,Ne.createElement("ul",{className:Le.info},Ne.createElement("li",null,Ft.formatMessage({id:"paths.programmingLanguage",defaultMessage:"\u7F16\u7A0B\u8BED\u8A00"}),"\xA0\xA0",Ne.createElement("b",{className:Le.info_tag},Xt)),Ne.createElement("li",null,Ne.createElement("span",{className:"ml20"},Ft.formatMessage({id:"questionBankList.difficulty",defaultMessage:"\u96BE\u5EA6"})),"\xA0\xA0",Ne.createElement(ze.default,{color:Gt==null?void 0:Gt.color},Gt==null?void 0:Gt.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"}},Ln,"\u79D2"))),kt.get("qtype")==="8"?Ne.createElement(Te.Z,{value:Fn,showProgramFill:!0,className:Le.desc}):Ne.createElement(Te.Z,{value:Fn,className:Le.desc}))},rt={},mt=fe(67294),vt=({hack:St,current_user:Ft})=>mt.createElement("div",{className:rt.answer},St!=null&&St.answer_text?mt.createElement(Te.Z,{style:{padding:"13px 0"},value:(St==null?void 0:St.answer_text)||""}):mt.createElement(Ke.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),nt=fe(33054);function ut(St,Ft){return(0,me.U2)(`/problems/${St}/comments.json`,{page:Ft,limit:10})}function Et(St){return(0,me.v_)(`/discusses/${St}/plus.json`,{container_type:"Discuss",type:1})}function Ot(St,Ft,Xt){return(0,me.v_)(`/problems/${St}/comments/reply.json`,{comments:{content:Xt,parent_id:Ft}})}function at(St,Ft){return(0,me.v_)(`/problems/${St}/comments.json`,{comments:{content:Ft}})}function Tt(St,Ft,Xt){return(0,me.v_)(`/problems/${St}/comments/${Ft}/hidden.json`,Xt)}function st(St,Ft){return(0,me.IV)(`/problems/${St}/comments/${Ft}`)}var pt=fe(93989);function Pt({author:St}){const Ft=(0,xe.useIntl)();return Se.createElement("a",{href:`/users/${St.login}`,target:"_blank"},Se.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${St.image_url}`,width:"50"}))}function wt({data:St,index:Ft,parentDiscussIndex:Xt,user:_n,onSetActionType:Ln}){const Fn=(0,xe.useIntl)(),{author:kt,can_delete:Kt,content:Gt,id:Qt,time:Dn}=St;function hn(){Ln({id:Qt,index:Ft,type:"delete-discuss",parentDiscussIndex:Xt,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const ht=_n.admin||Kt||kt.user_id===_n.user_id;return Se.createElement("div",{className:"discuss-item-container second-discuss "},Se.createElement(Pt,{author:kt}),Se.createElement("section",null,Se.createElement("div",{className:"discuss-info"},Se.createElement("a",{href:`/users/${kt.login}`,target:"_blank"},kt.name),Se.createElement("span",{className:"grey"},Dn),Se.createElement("div",{className:"btn-group",style:{marginBottom:0}},ht?Se.createElement("a",{onClick:hn,title:Fn.formatMessage({id:"questionBankAddQuestion.delete",defaultMessage:"\u5220\u9664"})},Se.createElement("i",{className:"iconfont icon-shanchu"})):null)),Se.createElement(Te.Z,{className:"discuss-content",value:Gt})))}var Lt=({user:St,data:Ft,index:Xt,onPlusDiscuss:_n,onSetActionType:Ln,activeDiscussIndex:Fn,onReplyDiscuss:kt,onSetActiveDiscussIndex:Kt})=>{const{content:Gt,children:Qt,hidden:Dn,id:hn,praise_count:ht,time:lt,user_praise:ft,can_delete:Ct,author:Nt}=Ft;function Yt(){Kt(hn)}function pn(){_n(hn,!ft,Xt)}function Tn(){Ln({id:hn,index:Xt,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function Un(){Ln({id:hn,index:Xt,params:{hidden:Dn?"0":"1"},type:"hidden-discuss",message:Dn?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Zn=St.admin||St.user_id===Nt.user_id;return Se.createElement("div",{className:"discuss-item-container",key:hn},Se.createElement(Pt,{author:Nt}),Se.createElement("section",null,Se.createElement("div",{className:"discuss-info"},Se.createElement("a",{href:`/users/${Nt.login}`,target:"_blank"}," ",Nt.name," "),Se.createElement("span",{className:"grey"},lt)),Se.createElement(Te.Z,{className:"discuss-content",value:Gt}),Qt&&Qt.length>0?Se.createElement("div",{className:"reply-discuss-container"},Qt.map((Wn,En)=>Se.createElement(wt,{key:Wn.id,data:Wn,index:En,user:St,onSetActionType:Ln,parentDiscussIndex:Xt}))):null,Se.createElement("div",{className:"btn-group"},Zn?Se.createElement("a",{onClick:Un,title:Dn?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},Se.createElement("i",{className:Dn?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Ct&&(!Qt||Qt.length==0)?Se.createElement("a",{onClick:Tn,title:intl.formatMessage({id:"questionBankAddQuestion.delete",defaultMessage:"\u5220\u9664"})},Se.createElement("i",{className:"iconfont icon-shanchu"})):null,Se.createElement("a",{onClick:Yt,title:"\u56DE\u590D"}," ",Se.createElement("i",{className:"iconfont icon-huifu1"})," "),Se.createElement("a",{onClick:pn,className:ft?"c-orange":""},Se.createElement("i",{className:ft?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),Se.createElement("span",null,ht||""))),Se.createElement(pt.Z,{id:hn,activeDiscussIndex:Fn,onReplyDiscuss:kt})))},$t=fe(71865),nn={"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"},un=fe(35567),Cn=(St,Ft,Xt)=>new Promise((_n,Ln)=>{var Fn=Gt=>{try{Kt(Xt.next(Gt))}catch(Qt){Ln(Qt)}},kt=Gt=>{try{Kt(Xt.throw(Gt))}catch(Qt){Ln(Qt)}},Kt=Gt=>Gt.done?_n(Gt.value):Promise.resolve(Gt.value).then(Fn,kt);Kt((Xt=Xt.apply(St,Ft)).next())}),Sn=({user_praise:St,praise_count:Ft,praisePlus:Xt,onCreateDiscuss:_n,discuss_count:Ln})=>{const Fn=(0,xe.useIntl)(),[kt,Kt]=(0,Se.useState)(!1),[Gt,Qt]=(0,Se.useState)("");function Dn(ft){Qt(ft)}function hn(){Kt(!0)}function ht(){Kt(!1)}function lt(){return Cn(this,null,function*(){_n(Gt),Qt(""),Kt(!1)})}return Se.createElement("div",{className:`${nn["dis-input-editor-container"]} ${kt?nn.active:""} `},Se.createElement("div",{className:kt?`hide ${nn["text-area"]}`:nn["text-area"]},Se.createElement("input",{placeholder:Fn.formatMessage({id:"shixuns.saySomething",defaultMessage:"\u8BF4\u70B9\u4EC0\u4E48"}),onClick:hn}),Se.createElement("a",null," ",Se.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Ln," "),Se.createElement("a",{className:"c-light-black",onClick:Xt,title:St?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},Se.createElement("i",{className:`mr3 ${St?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Ft?Se.createElement("span",null,Ft):"")),kt?Se.createElement("div",{className:nn["input-mask"],onClick:ht}):null,Se.createElement("div",{className:kt?nn["md-container"]:`${nn["md-container"]} hide`},Se.createElement(un.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:Gt,height:240,onChange:Dn}),Se.createElement("div",{className:nn["tip-container"],onClick:ht},Se.createElement("a",{className:nn["btn-send"],onClick:lt}," ",Fn.formatMessage({id:"shixuns.send",defaultMessage:"\u53D1\u9001"})))))},Kn=fe(67294),nr=Object.defineProperty,fr=Object.defineProperties,Ur=Object.getOwnPropertyDescriptors,Gr=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable,bn=(St,Ft,Xt)=>Ft in St?nr(St,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):St[Ft]=Xt,tn=(St,Ft)=>{for(var Xt in Ft||(Ft={}))zr.call(Ft,Xt)&&bn(St,Xt,Ft[Xt]);if(Gr)for(var Xt of Gr(Ft))Ir.call(Ft,Xt)&&bn(St,Xt,Ft[Xt]);return St},dn=(St,Ft)=>fr(St,Ur(Ft)),vn=(St,Ft,Xt)=>new Promise((_n,Ln)=>{var Fn=Gt=>{try{Kt(Xt.next(Gt))}catch(Qt){Ln(Qt)}},kt=Gt=>{try{Kt(Xt.throw(Gt))}catch(Qt){Ln(Qt)}},Kt=Gt=>Gt.done?_n(Gt.value):Promise.resolve(Gt.value).then(Fn,kt);Kt((Xt=Xt.apply(St,Ft)).next())});const xn={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var tr=(St=>(St[St.GET_DISCUSSES=0]="GET_DISCUSSES",St[St.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",St[St.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",St[St.PLUS_DISCUSS=3]="PLUS_DISCUSS",St[St.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",St[St.SET_PAGE=5]="SET_PAGE",St[St.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",St))(tr||{});function Vn(St,Ft){switch(Ft.type){case 6:return dn(tn({},St),{loading:!0});case 0:return tn(tn({},St),Ft.payload);case 1:return tn(tn({},St),Ft.payload);case 4:return tn(tn({},St),Ft.payload);case 3:return tn(tn({},St),Ft.payload);case 5:return dn(tn({},St),{page:Ft.payload});case 2:return tn(tn({},St),Ft.payload);default:throw new Error}}var pr=({user:St,identifier:Ft,hack:Xt,onTriggerPraise:_n,activeIndex:Ln})=>{const Fn=(0,xe.useIntl)(),[kt,Kt]=(0,Se.useReducer)(Vn,xn),{loading:Gt,page:Qt,data:Dn,count:hn,actionType:ht,activeDiscussIndex:lt}=kt,ft=(0,Se.useCallback)(()=>vn(void 0,null,function*(){Kt({type:6});const En=yield ut(Ft,Qt),{comments:$n,disscuss_count:yr}=En;Kt({type:0,payload:{data:$n,count:yr,loading:!1}})}),[Qt,Ft]);(0,Se.useEffect)(()=>{Ln==="2"&&ft()},[Ft,Qt,Ln]);function Ct(En){Kt({type:5,payload:En})}function Nt(En){Kt({type:4,payload:{actionType:En}})}function Yt(En){Kt(lt===En?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:En}})}function pn(En,$n,yr){return vn(this,null,function*(){try{const wr=yield Et(En);Dn[yr].user_praise=$n,Dn[yr].praise_count=wr.praise_count,Kt({type:3,payload:{data:[...Dn]}})}catch(wr){console.log(wr)}})}function Tn(){return vn(this,null,function*(){const{id:En,params:$n,type:yr,index:wr,parentDiscussIndex:qr}=ht;if(yr==="hidden-discuss"&&(yield Tt(Ft,En,$n),qr?Dn[qr].children[wr].hidden=$n.hidden==1:Dn[wr].hidden=$n.hidden==1,Kt({type:4,payload:{actionType:null,data:[...Dn]}})),yr==="delete-discuss"){if(yield st(Ft,En),qr||qr===0){let Rr=Dn[qr].children;for(let Zr=Rr.length-1;Zr>=0;Zr--)if(Rr[Zr].id===En){Rr.splice(Zr,1);break}Dn[qr].children=Rr}else for(let Rr=Dn.length-1;Rr>=0;Rr--)if(Dn[Rr].id===En){Dn.splice(Rr,1);break}Kt({type:4,payload:{actionType:null,data:[...Dn]}})}})}function Un(){Kt({type:4,payload:{actionType:null}})}function Zn(En,$n){return vn(this,null,function*(){try{yield Ot(Ft,En,$n),ft()}catch(yr){console.log(yr)}})}function Wn(En){return vn(this,null,function*(){Kt({type:6}),yield at(Ft,En),ft()})}return Kn.createElement(Kn.Fragment,null,Kn.createElement("div",{className:"discuss-panel"},Dn.length===0?Kn.createElement(Ke.Z,null):Dn.map((En,$n)=>Kn.createElement(Lt,{onReplyDiscuss:Zn,onPlusDiscuss:pn,onSetActiveDiscussIndex:Yt,onSetActionType:Nt,data:En,index:$n,user:St,activeDiscussIndex:lt})),hn>10?Kn.createElement("div",{className:"pagination-container"},Kn.createElement(it.Z,{showQuickJumper:!0,onChange:Ct,current:Qt,total:hn})):null),Kn.createElement(Sn,{user_praise:Xt.user_praise,praise_count:Xt.praises_count,praisePlus:_n,discuss_count:Xt.comments_count,onCreateDiscuss:Wn}),Kn.createElement(x.Z,null,Kn.createElement(ve.default,{centered:!0,title:Fn.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),open:!!ht,onOk:Tn,onCancel:Un},Kn.createElement("p",null,ht?ht.message:"")),Kn.createElement($t.Z,null)))},ar=fe(11713),xt=fe(69677),It=fe(79753),Rt={},fn=fe(67294),Nn=({hack:St,current_user:Ft})=>fn.createElement("div",{className:Rt.answer},St!=null&&St.analysis?fn.createElement(Te.Z,{style:{padding:"13px 0"},value:(St==null?void 0:St.analysis)||""}):fn.createElement(Ke.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_"},gr=fe(47221),hr=fe(15746),qn=fe(22150),Br=fe(31795),lo=fe(32259),Or=fe(67294);const{TextArea:An}=xt.default,{Panel:_r}=gr.default;var zt=({data:St,hack:Ft})=>{const Xt=(0,xe.useIntl)();return console.log(St,Ft,"data"),Ft!=null&&Ft.is_file?Or.createElement(lo.Y2,{disabled:!0,className:jn.uploadTableWrapper,showScore:!Ft.test_set_score,data:St,isProgramHomework:!0}):Or.createElement("div",{className:jn.hackSets},St==null?void 0:St.map((_n,Ln)=>Or.createElement(gr.default,{accordion:!0,bordered:!1,key:Ln,defaultActiveKey:Ln===0&&_n.id,className:jn.collapseWrapper,expandIcon:({isActive:Fn})=>Or.createElement("i",{className:`iconfont icon-weizhankai ${Fn?jn.open:jn.close}`,style:{fontSize:14,transition:"all .2s"}})},Or.createElement(_r,{key:_n.id,header:Or.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},Or.createElement(hr.Z,{className:jn.panelHeader},Or.createElement("span",null,Xt.formatMessage({id:"shixuns.testCases",defaultMessage:"\u6D4B\u8BD5\u7528\u4F8B"}),Ln+1)),Or.createElement(hr.Z,{flex:1},Or.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Ft!=null&&Ft.test_set_score)&&Or.createElement(hr.Z,{className:jn.rateInput},Or.createElement("span",{className:"mr20"},Xt.formatMessage({id:"questionBankAddQuestion.scoringRatio",defaultMessage:"\u8BC4\u5206\u5360\u6BD4"})),Or.createElement("div",null,Or.createElement(qn.default.Item,{noStyle:!0},Or.createElement(Br.Z,{value:_n==null?void 0:_n.score,className:jn.baseFormItem,min:0,max:100,disabled:!0}))),Or.createElement("span",{className:"ml10"},"%")))))},Or.createElement(qn.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},Or.createElement(An,{readOnly:!0,value:_n==null?void 0:_n.input,rows:4})),Or.createElement(qn.default.Item,{label:Xt.formatMessage({id:"questionBankAddQuestion.output",defaultMessage:"\u8F93\u51FA"}),labelCol:{span:24}},Or.createElement(An,{readOnly:!0,value:_n==null?void 0:_n.output,rows:4}))))))},ln={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},an=fe(67294),zn=(0,Se.forwardRef)(({data:St=[]},Ft)=>{var Xt;const[_n,Ln]=(0,Se.useState)(),Fn=St.filter(Kt=>Kt.show);(0,Se.useEffect)(()=>{Fn.length&&Ln(Fn[0].id)},[St==null?void 0:St.length]);const kt=((Xt=Fn.find(Kt=>Kt.id===_n))==null?void 0:Xt.element)||null;return(0,Se.useImperativeHandle)(Ft,()=>({setActiveTab:Kt=>Ln(Kt)})),an.createElement("div",{className:ln.tabs},an.createElement("div",{className:ln.tabWarp},Fn.map(Kt=>an.createElement("div",{onClick:()=>Ln(Kt.id),className:`${ln.tab} ${Kt.id===_n?ln.active:""}`,key:Kt.id},Kt.name))),an.createElement("div",{className:ln.content},kt))}),Dt=fe(67294),Bn=Object.defineProperty,yn=Object.defineProperties,Er=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,Wr=Object.prototype.propertyIsEnumerable,Pn=(St,Ft,Xt)=>Ft in St?Bn(St,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):St[Ft]=Xt,Qr=(St,Ft)=>{for(var Xt in Ft||(Ft={}))Mr.call(Ft,Xt)&&Pn(St,Xt,Ft[Xt]);if(ir)for(var Xt of ir(Ft))Wr.call(Ft,Xt)&&Pn(St,Xt,Ft[Xt]);return St},io=(St,Ft)=>yn(St,Er(Ft)),Mo=(St,Ft,Xt)=>new Promise((_n,Ln)=>{var Fn=Gt=>{try{Kt(Xt.next(Gt))}catch(Qt){Ln(Qt)}},kt=Gt=>{try{Kt(Xt.throw(Gt))}catch(Qt){Ln(Qt)}},Kt=Gt=>Gt.done?_n(Gt.value):Promise.resolve(Gt.value).then(Fn,kt);Kt((Xt=Xt.apply(St,Ft)).next())});const oo={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var Ho=({hack:St,onTriggerPraise:Ft,topicId:Xt,page:_n,onPageChange:Ln,user:Fn,current_user:kt,submitRecords:Kt,submitting:Gt,submitResult:Qt,setActiveIndex:Dn,hack_sets:hn})=>{var ht,lt;const ft=(0,xe.useIntl)(),[Ct]=(0,xe.useSearchParams)(),[Nt,Yt]=(0,Se.useState)("0"),pn=(0,xe.useLocation)(),[Tn,Un]=(0,Se.useState)(!1),[Zn,Wn]=(0,Se.useState)(null),[En,$n]=(0,Se.useState)([]),[yr,wr]=(0,Se.useState)([]),[qr,Rr]=(0,Se.useState)({page:1,limit:10}),Zr=(0,Se.useRef)(null),$r=(0,Se.useRef)(null);console.log(Fn,"user");const Ro={1:ft.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"}),2:ft.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"}),3:ft.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"})};let[mr,ro]=(0,Se.useState)(io(Qr({},(0,xe.useParams)()),{page:1,per_page:20,name:""}));(0,Se.useEffect)(()=>{$r.current&&(St==null?void 0:St.is_close_tips)===!1&&Zn===null&&Wn(!0)},[$r.current,St==null?void 0:St.is_close_tips,Zn]);function bo(){return Mo(this,null,function*(){yield(0,me.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,Se.useEffect)(()=>{Dn(Nt)},[Nt]);function Oo(kr){return Mo(this,null,function*(){let Eo=kr.target.id;if(Eo==="1"){let xo=yield(0,me.ZP)(`/api/myproblems/${mr.id}/redo_logs.json`,{method:"get",params:Qr({},qr)});(xo==null?void 0:xo.status)===0&&wr(xo==null?void 0:xo.data)}Yt(Eo)})}(0,Se.useEffect)(()=>nt.Z.subscribe("to-commit-info",()=>{Yt("1"),Zr.current&&Zr.current.setActiveTab("1")}),[]),(0,Se.useEffect)(()=>nt.Z.subscribe("to-reset-info",()=>{Oo({target:{id:"1"}}),Zr.current&&Zr.current.setActiveTab("2")}),[]);function eo(){Yt("2")}function sr(){return Mo(this,null,function*(){let kr=yield(0,me.ZP)("/api/problems/my_hack_list.json",{method:"get",params:Qr({identifier:mr==null?void 0:mr.id},mr)});$n(kr)})}const Ao=[{title:null,description:Dt.createElement("div",null,Dt.createElement("b",{onClick:()=>{Wn(!1),bo(),Un(!0),sr()},className:"c-light-primary font16 current"},ft.formatMessage({id:"classrooms.viewQuestionList",defaultMessage:"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"})),Dt.createElement("div",{className:"c-grey-333 mt10 mb20"},ft.formatMessage({id:"classroomProgrammingHomework.findAllRequiredQuestionsHere",defaultMessage:"\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"})),Dt.createElement(se.ZP,{onClick:()=>{Wn(!1),bo()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},ft.formatMessage({id:"competitions.gotIt",defaultMessage:"\u77E5\u9053\u4E86"}))),target:()=>$r.current}];return Dt.createElement("div",{className:je["left-panel"]},Dt.createElement("ul",{className:`${je["s-navs"]} ${je["bg-white"]} ${je.b1}`},(St==null?void 0:St.is_program)&&!Ct.get("pageId")&&Dt.createElement(re.Z,{title:"\u9898\u76EE\u5217\u8868"},Dt.createElement("div",{onClick:()=>{sr(),Un(!0)},className:je.btns,ref:$r,style:Zn?{pointerEvents:"none"}:{}},Dt.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Dt.createElement("li",{style:{marginLeft:20}},Dt.createElement("a",{className:Nt==="0"?je.active:"",id:"0",onClick:Oo},ft.formatMessage({id:"questionBankAddQuestion.questionDescription1",defaultMessage:"\u9898\u76EE\u63CF\u8FF0"}))),Dt.createElement("li",null,Dt.createElement("a",{className:Nt==="1"?je.active:"",id:"1",onClick:Oo},ft.formatMessage({id:"questionBankAddQuestion.operationRecords",defaultMessage:"\u64CD\u4F5C\u8BB0\u5F55"}))),(Ct.get("type")!=="exercises"&&(St==null?void 0:St.answer_text_show)||Ct.get("type")!=="exercises"&&(St==null?void 0:St.analysis_show))&&Dt.createElement("li",null,Dt.createElement("a",{className:Nt==="4"?je.active:"",id:"4",onClick:Oo},"\u89E3\u7B54\u53C2\u8003")),Ct.get("type")!=="exercises"&&Dt.createElement("li",null,Dt.createElement("a",{className:Nt==="2"?je.active:"",id:"2",onClick:Oo},ft.formatMessage({id:"questionBankAddQuestion.comments",defaultMessage:"\u8BC4\u8BBA"}))),!!(hn!=null&&hn.length)&&Ct.get("type")!=="exercises"&&Ct.get("type")!=="1"&&Dt.createElement("li",null,Dt.createElement("a",{className:Nt==="5"?je.active:"",id:"5",onClick:Oo},ft.formatMessage({id:"shixuns.testCases",defaultMessage:"\u6D4B\u8BD5\u7528\u4F8B"})))),Dt.createElement("div",{className:`${je["tab-panel-body"]} ${Nt==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Dt.createElement(He,{hack:St,onTriggerPraise:Ft,toDiscuss:eo})),Dt.createElement("div",{style:{padding:"12px"},className:`${je["tab-panel-body"]} ${Nt==="1"?"":"hide"}`},Dt.createElement(zn,{ref:Zr,data:[{id:"1",show:Ct.get("qtype")!=="8",name:ft.formatMessage({id:"shixuns.submissionRecords",defaultMessage:"\u63D0\u4EA4\u8BB0\u5F55"}),element:Dt.createElement(Dt.Fragment,null,Kt!=null&&Kt.records_count||Gt?Dt.createElement($e,{page:_n,onPageChange:Ln,topicId:Xt,submitting:Gt,key:(Qt==null?void 0:Qt.id)||1,submitRecords:Kt,submitResult:Qt}):Dt.createElement(Ke.Z,null))},{id:"2",show:Ct.get("type")==="exercises"||(St==null?void 0:St.homework_common_id),name:ft.formatMessage({id:"shixuns.resetRecords",defaultMessage:"\u91CD\u7F6E\u8BB0\u5F55"}),element:Dt.createElement(Dt.Fragment,null,Dt.createElement(Je.default,{pagination:!1,dataSource:yr==null?void 0:yr.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(kr,Eo,xo)=>Ve()(kr).format("YYYY-MM-DD HH:mm:ss")},{title:ft.formatMessage({id:"classrooms.action",defaultMessage:"\u64CD\u4F5C"}),dataIndex:"redo_type",render:(kr,Eo,xo)=>{var vo;return(vo=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:ft.formatMessage({id:"shixuns.restoreInitialCode",defaultMessage:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"})},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(So=>So.id===kr))==null?void 0:vo.name}}]}),Dt.createElement(it.Z,{style:{marginTop:10},current:qr.page,total:yr==null?void 0:yr.count,hideOnSinglePage:!0,onChange:kr=>Mo(void 0,null,function*(){qr.page=kr,Rr(qr);let Eo=yield(0,me.ZP)(`/api/myproblems/${mr.id}/redo_logs.json`,{method:"get",params:io(Qr({},qr),{courseId:mr.courseId})});(Eo==null?void 0:Eo.status)===0&&wr(Eo==null?void 0:Eo.data)})}))}]})),Dt.createElement("div",{style:{padding:"12px"},className:`${je["tab-panel-body"]} ${Nt==="4"?"":"hide"}`},Dt.createElement(zn,{data:[{id:"1",show:Ct.get("type")!=="exercises"&&(St==null?void 0:St.answer_text_show),name:"\u7B54\u6848",element:Dt.createElement(Dt.Fragment,null,Dt.createElement(vt,{hack:St,current_user:kt}))},{id:"2",show:Ct.get("type")!=="exercises"&&(St==null?void 0:St.analysis_show),name:ft.formatMessage({id:"testPaperBank.analysisNoAnalysis",defaultMessage:"\u89E3\u6790"}),element:Dt.createElement(Dt.Fragment,null,Dt.createElement(Nn,{hack:St,current_user:kt}))}]})),Dt.createElement("div",{className:`${je["tab-panel-body"]} ${Nt==="2"?"":"hide"}`,style:{padding:0}},Dt.createElement(pr,{user:Fn,activeIndex:Nt,identifier:St.identifier,hack:St,onTriggerPraise:Ft})),Dt.createElement("div",{className:`${je["tab-panel-body"]} ${Nt==="5"?"":"hide"}`,style:{padding:12}},Dt.createElement(zt,{data:hn||[],hack:St})),Dt.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:()=>Un(!1),open:Tn},Dt.createElement(ie.Z,null,Dt.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Dt.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},ft.formatMessage({id:"common.total",defaultMessage:"\u5171"})," ",En==null?void 0:En.total_count,ft.formatMessage({id:"problemset.question",defaultMessage:"\u9898"}),"\xA0[\xA0",En==null?void 0:En.total_score,ft.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"}),"\xA0]\xA0"),!(Fn!=null&&Fn.hack_manager)&&Dt.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",En==null?void 0:En.work_score,ft.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"}))),Dt.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Dt.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(Fn!=null&&Fn.hack_manager)&&Dt.createElement(ar.default,{size:"large",className:"mr10",style:{width:104},placeholder:ft.formatMessage({id:"classroomProgrammingHomework.passStatus",defaultMessage:"\u901A\u8FC7\u60C5\u51B5"}),onChange:kr=>{mr.page=1,mr.finish_status=kr,ro(Qr({},mr)),sr()}},Dt.createElement(ar.default.Option,{value:""},ft.formatMessage({id:"personalHomepageclassrooms.all",defaultMessage:"\u5168\u90E8"})),Dt.createElement(ar.default.Option,{value:0},ft.formatMessage({id:"classrooms.notStarted",defaultMessage:"\u672A\u5F00\u59CB"})),Dt.createElement(ar.default.Option,{value:1},ft.formatMessage({id:"competitions.inProgress",defaultMessage:"\u8FDB\u884C\u4E2D"})),Dt.createElement(ar.default.Option,{value:2},ft.formatMessage({id:"classrooms.completed",defaultMessage:"\u5DF2\u5B8C\u6210"}))),Dt.createElement(ar.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:kr=>{mr.page=1,mr.difficult=kr||null,ro(Qr({},mr)),sr()}},Dt.createElement(ar.default.Option,{value:0},ft.formatMessage({id:"personalHomepageclassrooms.all",defaultMessage:"\u5168\u90E8"})),Dt.createElement(ar.default.Option,{value:1},ft.formatMessage({id:"shixuns.easy",defaultMessage:"\u7B80\u5355"})),Dt.createElement(ar.default.Option,{value:2},ft.formatMessage({id:"shixuns.medium",defaultMessage:"\u9002\u4E2D"})),Dt.createElement(ar.default.Option,{value:3},ft.formatMessage({id:"shixuns.difficult",defaultMessage:"\u56F0\u96BE"}))),Dt.createElement(xt.default.Search,{size:"large",onSearch:kr=>{mr.name=kr,mr.page=1,ro(Qr({},mr)),sr()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Dt.createElement("div",{className:je.list,style:{height:36,background:"#3D445C"}},!(Fn!=null&&Fn.hack_manager)&&Dt.createElement("span",null,ft.formatMessage({id:"classrooms.status",defaultMessage:"\u72B6\u6001"})),Dt.createElement("span",null,"\u5E8F\u53F7"),Dt.createElement("span",{style:{flex:1}},ft.formatMessage({id:"classroomProgrammingHomework.questionName",defaultMessage:"\u9898\u76EE\u540D\u79F0"})),Dt.createElement("span",{style:{flexBasis:48,paddingRight:0}},ft.formatMessage({id:"questionBankList.difficulty",defaultMessage:"\u96BE\u5EA6"}))),Dt.createElement("div",{style:{overflow:"auto",flex:1}},(ht=En==null?void 0:En.data)!=null&&ht.length?(lt=En==null?void 0:En.data)==null?void 0:lt.map((kr,Eo)=>Dt.createElement("div",{onClick:()=>Mo(void 0,null,function*(){let xo=yield(0,me.ZP)(`/api/problems/${kr==null?void 0:kr.identifier}/start.json`,{method:"get",params:{hack_user_id:Fn==null?void 0:Fn.user_id}});xo&&(window.location.href=`/myproblems/${xo==null?void 0:xo.identifier}${window.location.search}`)}),className:`${je.list} ${kr!=null&&kr.checked?je.active:""}`},!(Fn!=null&&Fn.hack_manager)&&Dt.createElement(Dt.Fragment,null,!(kr!=null&&kr.opened)&&Dt.createElement("span",{style:{color:"#E02020"}},ft.formatMessage({id:"classrooms.notStarted",defaultMessage:"\u672A\u5F00\u59CB"})),(kr==null?void 0:kr.opened)&&!(kr!=null&&kr.passed)&&Dt.createElement("span",{style:{color:"#FA6400"}},ft.formatMessage({id:"competitions.inProgress",defaultMessage:"\u8FDB\u884C\u4E2D"})),(kr==null?void 0:kr.opened)&&(kr==null?void 0:kr.passed)&&Dt.createElement("span",{style:{color:"#24C074"}},ft.formatMessage({id:"classrooms.completed",defaultMessage:"\u5DF2\u5B8C\u6210"}))),Dt.createElement("span",null,(mr.page-1)*20+(Eo+1)),Dt.createElement("span",{style:{flex:1},title:kr.name},`[${kr==null?void 0:kr.score}\u5206]`,"\xA0",kr.name),Dt.createElement("span",{style:{flexBasis:48,paddingRight:0}},Ro[kr.difficult]))):Dt.createElement(Ke.Z,null)),Dt.createElement(it.Z,{current:mr.page,className:"mt20",hideOnSinglePage:!0,total:En==null?void 0:En.count,pageSize:mr.per_page,onChange:(kr,Eo)=>{mr.page=kr,mr.per_page=Eo,sr()}})),Dt.createElement(It.Z,{rootClassName:je.tour,closeIcon:!1,open:!!Zn,steps:Ao,gap:{offset:3,radius:2}}))},kn=fe(62522),dr=fe(53814),ur=fe(88508),Xn=fe(97917),uo=fe(43462),so=fe(93137),yo=fe(11579),Fo=fe(94184),zo=fe.n(Fo),Mt=fe(96325),At=fe(22707),rn=fe(8861),Ut=fe(67294),On=Object.defineProperty,er=Object.defineProperties,vr=Object.getOwnPropertyDescriptors,xr=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,Kr=(St,Ft,Xt)=>Ft in St?On(St,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):St[Ft]=Xt,Pr=(St,Ft)=>{for(var Xt in Ft||(Ft={}))Nr.call(Ft,Xt)&&Kr(St,Xt,Ft[Xt]);if(xr)for(var Xt of xr(Ft))no.call(Ft,Xt)&&Kr(St,Xt,Ft[Xt]);return St},Qn=(St,Ft)=>er(St,vr(Ft)),jt=(St,Ft)=>{var Xt={};for(var _n in St)Nr.call(St,_n)&&Ft.indexOf(_n)<0&&(Xt[_n]=St[_n]);if(St!=null&&xr)for(var _n of xr(St))Ft.indexOf(_n)<0&&no.call(St,_n)&&(Xt[_n]=St[_n]);return Xt},Ht=(St,Ft,Xt)=>new Promise((_n,Ln)=>{var Fn=Gt=>{try{Kt(Xt.next(Gt))}catch(Qt){Ln(Qt)}},kt=Gt=>{try{Kt(Xt.throw(Gt))}catch(Qt){Ln(Qt)}},Kt=Gt=>Gt.done?_n(Gt.value):Promise.resolve(Gt.value).then(Fn,kt);Kt((Xt=Xt.apply(St,Ft)).next())});const{Countdown:sn}=E.default,gt={Java:"java",C:"c",Python:"py","C++":"c"};var cn=(St=>(St[St.SET_LOADING=0]="SET_LOADING",St[St.GET_DATA=1]="GET_DATA",St[St.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",St[St.SET_DATA=3]="SET_DATA",St[St.SET_DEBUGING=4]="SET_DEBUGING",St[St.SET_SUBMITING=5]="SET_SUBMITING",St[St.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",St[St.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",St[St.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",St[St.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",St[St.SET_PAGE=10]="SET_PAGE",St))(cn||{});function wn(){return new Date().getTime()}const Hn={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Vt(St,Ft){switch(Ft.type){case 1:return Pr(Pr({},St),Ft.payload);case 3:return Qn(Pr({},St),{data:Ft.payload});case 0:return Qn(Pr({},St),{loading:Ft.payload});case 9:return Qn(Pr({},St),{showNote:Ft.payload});case 4:return Qn(Pr({},St),{debuging:Ft.payload});case 5:return Qn(Pr({},St),{submitting:Ft.payload});case 2:return Qn(Pr({},St),{submitRecords:Ft.payload});case 10:return Qn(Pr({},St),{submitRecordPage:Ft.payload});case 6:return Qn(Pr({},St),{executingMessage:Ft.payload});case 7:return Pr(Pr({},St),Ft.payload);case 8:return Pr(Pr({},St),Ft.payload);default:throw new Error}}var en=({children:St})=>{var Ft,Xt,_n,Ln,Fn;const kt=(0,xe.useIntl)(),[Kt,Gt]=(0,Se.useReducer)(Vt,Hn),{id:Qt}=(0,xe.useParams)(),Dn=(0,xe.useLocation)(),[hn]=(0,xe.useSearchParams)(),{loading:ht,data:lt,debugResult:ft,submitResult:Ct,submitRecords:Nt,submitRecordPage:Yt,showNote:pn,debuging:Tn,submitting:Un,executingMessage:Zn}=Kt,[Wn,En]=(0,Se.useState)("#37AD83"),[$n,yr]=(0,Se.useState)(null),[wr,qr]=(0,Se.useState)({}),[Rr,Zr]=(0,Se.useState)(!0),[$r,Ro]=(0,Se.useState)(!1),[mr,ro]=(0,Se.useState)(!1),bo=(0,Se.useRef)(null),Oo=(0,Se.useRef)(0),eo=lt==null?void 0:lt.user,sr=lt==null?void 0:lt.hack,[Ao,kr]=(0,Se.useState)(!1),Eo=(0,Se.useRef)(1),xo=(0,Se.useRef)(!1);(0,Mt.y)(hn.get("type")==="exercises");const{setOpenDisableCopyAndPaste:vo}=(0,Mt.X)(),[So,Bo]=(0,Se.useState)(""),Xo=(0,uo._)(wr);(0,Se.useEffect)(()=>{function Ar(){return Ht(this,null,function*(){var co,Jo,qo,Aa,_a;Zr(!0);const La=yield(0,le.fu)(Qt,{exercise_id:hn.get("exercisesId")});if(setTimeout(()=>{Zr(!1)},800),La.status!==401){try{La.hack.code=Ge.Base64.decode(La.hack.code)}catch(ia){console.log(ia)}La.hack=Qn(Pr({},La.hack),{is_program:hn.get("type")==="1"}),Gt({type:1,payload:{loading:!1,data:La}})}if(hn.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let ia;hn.get("coursesId")=="coursesId"?ia=yield(0,ce._F)({categoryId:hn.get("exercisesId"),login:hn.get("login")}):ia=yield(0,ce._B)({categoryId:hn.get("exercisesId"),login:hn.get("login")}),qr(Pr({},ia)),vo((co=ia==null?void 0:ia.exercise)==null?void 0:co.forbid_copy),typeof((Jo=ia==null?void 0:ia.exercise)==null?void 0:Jo.left_time)=="number"&&(yr(Date.now()+((qo=ia==null?void 0:ia.exercise)==null?void 0:qo.left_time)*1e3),setTimeout(()=>{En("red")},(((Aa=ia==null?void 0:ia.exercise)==null?void 0:Aa.left_time)-300>0?((_a=ia==null?void 0:ia.exercise)==null?void 0:_a.left_time)-300:0)*1e3))}})}Qt&&Ar()},[Qt]),(0,Se.useEffect)(()=>{var Ar;return hn.get("type")==="exercises"&&((Ar=wr==null?void 0:wr.exercise)!=null&&Ar.screen_open)&&(window.removeEventListener("blur",Po,!1),so.U.forEach((co,Jo)=>{window.addEventListener(co,Po,!1)}),window.addEventListener("blur",Po,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Po)}},[wr]),(0,Se.useEffect)(()=>{So==="1"&&Qt&&sr!=null&&sr.language&&oa()},[Qt,Yt,sr==null?void 0:sr.language,So]),(0,Se.useEffect)(()=>(sr!=null&&sr.is_program&&(Oo.current=0,bo.current=setInterval(()=>{ra()},15e3)),()=>{clearInterval(bo.current)}),[sr==null?void 0:sr.is_program]);const ra=()=>Ht(void 0,null,function*(){let Ar=yield(0,me.ZP)(`/api/myproblems/${Qt}/save_long_time.json`,{method:"get",params:{answer_long_time:Oo.current}})}),Po=()=>{xo.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function oa(){return Ht(this,null,function*(){try{const Ar=yield(0,le.zO)(Qt,{limit:15,page:Yt,language:sr==null?void 0:sr.language});Gt({type:2,payload:Ar})}catch(Ar){console.log(Ar)}})}function ca(Ar){Gt({type:10,payload:Ar})}function aa(Ar){return Ht(this,null,function*(){var co;let Jo;(hn.get("ip_limit")==="inner"||hn.get("ip_bind_type")==="true")&&(Jo=yield(0,dr.y)({ip_limit:hn.get("ip_limit"),ip_bind:hn.get("ip_bind_type")==="true"}));const qo=yield(0,le.n4)(Qt,{code:Ge.Base64.encode(Ar||sr.code),language:sr==null?void 0:sr.language,exercise_id:hn.get("exercisesId"),question_id:hn.get("questionId"),ip:Jo});return qo.status===-5&&(0,xe.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Qn(Pr({errorMessage:qo==null?void 0:qo.message},(wr==null?void 0:wr.exercise)||{}),{exercise_user_id:(co=wr==null?void 0:wr.exercise)==null?void 0:co.exercise_user_id,id:hn.get("exercisesId")})}}),qo})}function ha(){return Ht(this,null,function*(){if(Eo.current=2,!Un){Gt({type:5,payload:!0});try{nt.Z.publish("to-commit-info");const Ar=yield aa();if(console.log(Ar,1),Ar.status===0){let La=function(){return Ht(this,null,function*(){const{status:ia,data:Na}=yield(0,le.rX)(Qt,"submit"),Xa=wn()-_a>(qo*Aa+30)*1e3;if(ia!==0&&!Xa&&setTimeout(La,1e3),Xa&&ia!==0){ve.default.error({centered:!0,okText:kt.formatMessage({id:"onlineCourses.gotIt",defaultMessage:"\u77E5\u9053\u5566"}),title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),Gt({type:5,payload:!1});return}if(ia===0){Na.status===2&&ve.default.error({centered:!0,okText:kt.formatMessage({id:"onlineCourses.gotIt",defaultMessage:"\u77E5\u9053\u5566"}),title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(Na==null?void 0:Na.status)===0&&hn.get("type")==="1"&&ro(!0);const ri=yield(0,le.zO)(Qt,{limit:15,page:Yt,language:sr==null?void 0:sr.language});Gt({type:8,payload:Qn(Pr({},Kt),{submitResult:Na,submitting:!1,submitRecords:ri})})}})},co={};hn.get("type")==="exercises"&&(co.extras={exercise_id:hn.get("exercisesId"),question_id:hn.get("questionId")},(hn.get("ip_limit")==="inner"||hn.get("ip_bind_type")==="true")&&(co.extras.ip=yield(0,dr.y)({ip_limit:hn.get("ip_limit"),ip_bind:hn.get("ip_bind_type")==="true"})));const Jo=yield(0,le.bM)(Qt,co);if(Jo.status===-1&&hn.get("exercisesId")){window.parent.location.href=`/classrooms/${hn.get("coursesId")}/exercise/${hn.get("exercisesId")}/detail`;return}const{time_limit:qo,test_case_size:Aa}=sr,_a=wn();Jo.status>-1?La():Gt({type:5,payload:!1})}else Gt({type:5,payload:!1})}catch(Ar){console.log(Ar),Gt({type:5,payload:!1})}kr(!1)}})}function Go(){return Ht(this,null,function*(){Eo.current=1,Kt.debuging=!0,Gt({type:4,payload:!0});try{if((yield aa()).status===0){let _a=function(){return Ht(this,null,function*(){const{status:La,message:ia,data:Na}=yield(0,le.rX)(Qt,"debug"),Xa=wn()-Aa>(co+30)*1e3;if(La!==0&&!Xa&&(Gt({type:6,payload:ia}),setTimeout(_a,1e3)),Xa){ve.default.error({title:kt.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,okText:kt.formatMessage({id:"onlineCourses.gotIt",defaultMessage:"\u77E5\u9053\u5566"}),title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Gt({type:4,payload:!1}),Gt({type:7,payload:Qn(Pr({},Kt),{debugResult:{status:2},debuging:!1})});return}La===0&&(Na.status===2&&ve.default.error({title:kt.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,okText:kt.formatMessage({id:"onlineCourses.gotIt",defaultMessage:"\u77E5\u9053\u5566"}),content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Gt({type:4,payload:!1}),Gt({type:7,payload:Qn(Pr({},Kt),{debugResult:Na,debuging:!1})}))})};const{time_limit:co}=sr;let Jo={input:encodeURIComponent(lt.test_case.input)};hn.get("type")==="exercises"&&(Jo.exercise_id=hn.get("exercisesId"));const qo=yield(0,le.MU)(Qt,Jo);if(qo.status===-1&&hn.get("exercisesId")){window.parent.location.href=`/classrooms/${hn.get("coursesId")}/exercise/${hn.get("exercisesId")}/detail`;return}const Aa=wn();(qo==null?void 0:qo.status)>-1?_a():Gt({type:4,payload:!1})}else Gt({type:4,payload:!1})}catch(Ar){console.log(Ar)}finally{}})}function pa(Ar,co){const Jo=co?{modify_code:!1}:{};Gt({type:3,payload:Qn(Pr({},lt),{hack:Pr(Qn(Pr({},sr),{code:Ar}),Jo)})}),kr(!0)}const Ko=Ar=>Ht(void 0,null,function*(){let co=yield(0,me.ZP)(`/api/problems/${sr==null?void 0:sr.identifier}/start.json`,{method:"get",params:{language:Ar==="C++"||Ar==="c++"?encodeURIComponent(Ar):Ar,hack_user_id:eo==null?void 0:eo.user_id}});co.status!==-1&&xe.history.replace(`/myproblems/${co==null?void 0:co.identifier}${window.location.search}`)});function ea(Ar){let co=Ar.target.value;Gt({type:3,payload:Qn(Pr({},lt),{test_case:{input:co}})})}function xa(){return Ht(this,null,function*(){try{let Ar={};hn.get("type")==="exercises"?Ar.exercise_id=hn.get("exercisesId"):sr!=null&&sr.homework_common_id&&(Ar.homework_common_id=sr==null?void 0:sr.homework_common_id);const co=yield(0,le.H7)(Qt,Pr({},Ar));co.status===401||(pa(Ge.Base64.decode(co.code)),(hn.get("type")==="exercises"||sr!=null&&sr.homework_common_id)&&nt.Z.publish("to-reset-info"))}catch(Ar){console.log(Ar)}})}function Oa(){ve.default.confirm({centered:!0,okText:kt.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),cancelText:kt.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:kt.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:Ut.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",Ut.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 Ar=yield(0,le.fi)(Qt);Ar.status===401||pa(Ge.Base64.decode(Ar.code),!0)})}})}function Yo(){Gt({type:9,payload:!0})}function Qo(){Gt({type:9,payload:!1})}function ba(Ar){return Ht(this,null,function*(){yield(0,le.MK)(Qt,Ar),Gt({type:1,payload:{showNote:!1,data:Qn(Pr({},lt),{hack:Qn(Pr({},sr),{notes:Ar.notes})})}})})}const Za={hack:sr,isLoading:Rr,input:(Ft=lt==null?void 0:lt.test_case)==null?void 0:Ft.input,is_file:(Xt=lt==null?void 0:lt.test_case)==null?void 0:Xt.is_file,identifier:sr==null?void 0:sr.identifier,attachments_count:lt==null?void 0:lt.attachments_count,language:sr==null?void 0:sr.language,code:sr==null?void 0:sr.code,title:"main."+gt[sr==null?void 0:sr.language],modify_code:sr==null?void 0:sr.modify_code,notes:sr==null?void 0:sr.notes,debugResult:ft,debuging:Tn,submitting:Un,submitResult:Ct,executingMessage:Zn,onCancelNote:Qo,onAddNote:ba,showNote:pn,user:eo,onShowNote:Yo,onSubmitCode:ha,onChangeCode:pa,onChangeInput:ea,onDebugCode:Go,onResetCode:xa,onSyncCode:Oa,onUpdateCode:aa,onChangeLanguage:Ko,isWhiteTheme:$r,setIsWhiteTheme:Ro,topDispatch:Gt};function Ba(){return Ht(this,null,function*(){const{praise_count:Ar}=yield(0,le.vl)(sr.id,{container_type:"Hack",type:1});let co=Qn(Pr({},lt),{hack:Qn(Pr({},sr),{praises_count:Ar,user_praise:!sr.user_praise})});Gt({type:3,payload:co})})}const ka={topicId:Qt,submitResult:Ct,submitRecords:Nt,submitting:Un,page:Yt,onPageChange:ca,hack:sr,user:lt==null?void 0:lt.user,hack_sets:lt==null?void 0:lt.hack_sets,current_user:lt==null?void 0:lt.current_user,onTriggerPraise:Ba,setActiveIndex:Bo};return console.log(wr),Ut.createElement(Ut.Fragment,null,Ut.createElement(de.Z,{spinning:ht,delay:500},lt?Ut.createElement(Ut.Fragment,null,Ut.createElement("header",{className:zo()(yo.Z.header,$r&&yo.Z.whiteHeader)},hn.get("type")!=="exercises"&&Ut.createElement("div",null,Ut.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${eo==null?void 0:eo.image_url}`,alt:"user",width:36}),Ut.createElement("span",{style:{color:$r?"#333":"#B2BACB",fontSize:16}},eo==null?void 0:eo.name)),hn.get("type")==="exercises"&&Ut.createElement("div",null,Ut.createElement("div",{className:"exercise_user_info"},kt.formatMessage({id:"user.name",defaultMessage:"\u59D3\u540D"}),Ut.createElement("span",{className:"ml10"},(_n=wr==null?void 0:wr.exercise)==null?void 0:_n.user_name)),Ut.createElement("div",{className:"exercise_user_info ml30"},kt.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"}),Ut.createElement("span",{className:"ml10"},(Ln=wr==null?void 0:wr.exercise)==null?void 0:Ln.student_id))),Ut.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},Ut.createElement("div",null,sr.name)),(sr==null?void 0:sr.is_program)&&Ut.createElement(ur.Z,{defaultValue:sr==null?void 0:sr.answer_long_time,onChange:Ar=>{Oo.current=Ar},className:yo.Z.timepiece}),eo!=null&&eo.hack_manager?Ut.createElement(xe.Link,{className:yo.Z.btn_edit,to:hn.get("type")==="1"?hn.get("pageId")?`/problems/newedit/${sr.identifier}?type=1&pageId=${hn.get("pageId")}&backUrl=${hn.get("backUrl")}`:`/problems/newedit/${sr.identifier}?type=1`:`/problems/newedit/${sr.identifier}`}," ",Ut.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," ",kt.formatMessage({id:"classroomExams.edit",defaultMessage:"\u7F16\u8F91"})):null,!!((Fn=wr==null?void 0:wr.exercise)!=null&&Fn.left_time)&&Ut.createElement(Ut.Fragment,null,Ut.createElement("span",{style:{color:Wn,marginRight:6},className:`iconfont icon-daojishi ${yo.Z.djs}`}),Ut.createElement("span",{className:"c-white mr20"},Ut.createElement(sn,{valueStyle:{color:Wn,fontSize:20,fontWeight:500},title:Ut.createElement("span",{style:{color:Wn,fontSize:14,marginRight:10},className:"time"},kt.formatMessage({id:"testPaperBank.remainingAnsweringTime",defaultMessage:"\u5269\u4F59\u7B54\u9898\u65F6\u957F"})),value:$n,onFinish:()=>Ht(void 0,null,function*(){const Ar=yield(0,ce.VL)({categoryId:hn.get("exercisesId"),commit_method:2});if((Ar==null?void 0:Ar.status)===0&&(aa(),ve.default.info({width:530,title:kt.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),centered:!0,okText:kt.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),content:Ut.createElement("div",{className:"tc font16"},kt.formatMessage({id:"shixuns.answeringEnded",defaultMessage:"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377"}),Ut.createElement("br",null),kt.formatMessage({id:"shixuns.cannotModifyAnswers",defaultMessage:"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"})),onOk:()=>Ht(void 0,null,function*(){window.parent.location.href=`/classrooms/${hn.get("coursesId")}/exercise/${hn.get("exercisesId")}/detail`})})),(Ar==null?void 0:Ar.status)===-3){const co=parseInt(Ar==null?void 0:Ar.message);yr(Date.now()+co*1e3)}})}))),hn.get("type")==="exercises"?Ut.createElement(se.ZP,{type:"primary",onClick:()=>{const Ar=()=>Ht(void 0,null,function*(){yield aa(),kr(!1),Xo(),xo.current=!0,Po()});if(!(Nt!=null&&Nt.records_count)||Ao){ve.default.confirm({centered:!0,okText:kt.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),cancelText:kt.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),icon:null,title:kt.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:Ut.createElement("div",{style:{color:"#FF0000"}},kt.formatMessage({id:"shixuns.confirmAssessmentSubmission",defaultMessage:"\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:Ar});return}Ar()}},Ut.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"}),kt.formatMessage({id:"classroomExams.returnToTestPaper",defaultMessage:"\u8FD4\u56DE\u8BD5\u5377"})):Ut.createElement("span",{onClick:()=>{var Ar;if(hn.get("backUrl"))xe.history.push(hn.get("backUrl"));else if(hn.get("type")==="1"){let co=(Ar=localStorage.getItem("program_homework"))==null?void 0:Ar.split(",");xe.history.push(`/classrooms/${co==null?void 0:co[0]}/program_homework/${co==null?void 0:co[1]}/detail`)}else xe.history.push("/problemset")}},Ut.createElement(re.Z,{title:"\u5173\u95ED"},Ut.createElement("i",{style:{color:$r?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),Ut.createElement(de.Z,{size:"large",spinning:Rr},Ut.createElement(oe.Z,{className:zo()(yo.Z.myProblems,$r&&yo.Z.whiteMyProblems),leftChild:Ut.createElement(Ho,Pr({},ka)),rightChild:Ut.createElement(Gn,Pr({},Za))}))):null,Ut.createElement(ve.default,{centered:!0,closable:!1,width:680,footer:null,open:mr,className:"oj-modal"},Ut.createElement("section",{className:"oj-modal-content"},Ut.createElement("div",{className:"oj-modal-head"},Ut.createElement("img",{src:kn,alt:""}),Ut.createElement("i",{onClick:()=>ro(!1),className:"iconfont icon-guanbi1"})),Ut.createElement("aside",null,Ut.createElement("img",{className:"mr30",src:rn.Z}),kt.formatMessage({id:"classroomProgrammingHomework.runTime",defaultMessage:"\u8FD0\u884C\u65F6\u95F4"}),":\xA0",Ut.createElement("span",{style:{color:"#75d6ba",marginRight:100}},Ct==null?void 0:Ct.execute_time,"ms"),"\u4F18\u4E8E",Ut.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Ct==null?void 0:Ct.time_better_than)||100,"%"),"\u7684\u7528\u6237"),Ut.createElement("aside",{className:"mb50"},Ut.createElement("img",{src:At.Z,className:"mr30"}),Ut.createElement("span",{className:"oj-modal-tt"},Ut.createElement("span",null,Ut.createElement("span",null,kt.formatMessage({id:"classroomProgrammingHomework.memoryUsed",defaultMessage:"\u5360\u7528\u5185\u5B58"}),":\xA0"),Ut.createElement("span",{className:"c-light-primary"},Ct==null?void 0:Ct.execute_memory,"kb")),Ut.createElement("span",null,Ut.createElement("span",null))),"\u4F18\u4E8E",Ut.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Ct==null?void 0:Ct.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),Ut.createElement("div",{id:"oj-modal-next",onClick:()=>Ht(void 0,null,function*(){var Ar;if(Ct!=null&&Ct.next_identifier){let co=yield(0,me.ZP)(`/api/problems/${Ct==null?void 0:Ct.next_identifier}/start.json`,{method:"get",params:{hack_user_id:eo==null?void 0:eo.user_id}});co&&(window.location.href=`/myproblems/${co==null?void 0:co.identifier}${window.location.search}`)}else{let co=(Ar=localStorage.getItem("program_homework"))==null?void 0:Ar.split(",");xe.history.push(`/classrooms/${co==null?void 0:co[0]}/program_homework/${co==null?void 0:co[1]}/detail`)}}),className:"oj-modal-btn"},Ct!=null&&Ct.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":kt.formatMessage({id:"classroomProgrammingHomework.returnToHomeworkDetailsPage",defaultMessage:"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"}))))),Ut.createElement(Xn.Z,{successCb:()=>{Eo.current===1?Go():ha()}}))};function Jt({title:St,modify_code:Ft,onSyncCode:Xt,onShowCodeSetting:_n,onResetCode:Ln,hack:Fn,onChangeLanguage:kt,isWhiteTheme:Kt,onShowResourceCentre:Gt,attachments_count:Qt}){var Dn;const hn=(0,xe.useIntl)(),ht=()=>{ve.default.confirm({title:hn.formatMessage({id:"shixuns.restoreInitialCode",defaultMessage:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"}),icon:Ut.createElement(ee.Z,null),content:hn.formatMessage({id:"shixuns.contentWillBeLost",defaultMessage:"\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:hn.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),cancelText:hn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:Ln})},[lt]=(0,xe.useSearchParams)(),ft=lt.get("language"),Ct=Nt=>Nt==="1"?"c++":Nt==="2"?"C++":Nt;return(0,Se.useEffect)(()=>{ft&&kt(Ct(ft))},[]),(0,Se.useEffect)(()=>{Fn!=null&&Fn.tpm_code_modified&&ve.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:Ut.createElement(ee.Z,null),content:Ut.createElement("div",null,Ut.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),Ut.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),Ut.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:hn.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),cancelText:hn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>Ln()})},[Fn==null?void 0:Fn.language]),console.log(Fn,Kt,"hack"),Ut.createElement("div",{className:`${yo.Z.codeHead} ${Kt?yo.Z.whiteCodeHead:""}`},Ut.createElement("div",{className:yo.Z.navWrap},(Dn=Fn==null?void 0:Fn.all_language)==null?void 0:Dn.map(Nt=>Ut.createElement("div",{className:`${yo.Z.nav} ${Nt===(Fn==null?void 0:Fn.language)?yo.Z.active:""}`,key:Nt,onClick:()=>kt(Nt)},Ut.createElement(re.Z,{title:hn.formatMessage({id:"paths.programmingLanguage",defaultMessage:"\u7F16\u7A0B\u8BED\u8A00"})},Ut.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),Ut.createElement("span",null,Nt)))),Ut.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Ft?Ut.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Xt},Ut.createElement("img",{src:Xe,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Qt>0&&Ut.createElement("a",{onClick:Gt},Ut.createElement(re.Z,{title:"\u8D44\u6E90\u4E2D\u5FC3"},Ut.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-ziyuanzhongxin mr15"}))),Ut.createElement("a",{onClick:ht},Ut.createElement(re.Z,{title:hn.formatMessage({id:"shixuns.restoreInitialCode",defaultMessage:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"})},Ut.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),Ut.createElement("a",{onClick:_n},Ut.createElement(re.Z,{title:"\u8BBE\u7F6E"},Ut.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function Gn(St){var Ft=St,{input:Xt,is_file:_n,identifier:Ln,showNote:Fn,onShowNote:kt,notes:Kt,onCancelNote:Gt,onAddNote:Qt,debugResult:Dn,language:hn,debuging:ht,submitting:lt,executingMessage:ft,code:Ct,onSubmitCode:Nt,onDebugCode:Yt,onChangeCode:pn,onChangeInput:Tn,onUpdateCode:Un,user:Zn,isLoading:Wn,submitResult:En}=Ft,$n=jt(Ft,["input","is_file","identifier","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function yr(qr,Rr){return Ut.createElement(Jt,Qn(Pr({},$n),{onShowCodeSetting:qr,onShowResourceCentre:Rr}))}const wr=Pr({input:Xt,is_file:_n,debugResult:Dn,debuging:ht,submitting:lt,executingMessage:ft,onDebugCode:Yt,onChangeCode:pn,onSubmitCode:Nt,onChangeInput:Tn,user:Zn,submitResult:En},$n);return Ut.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},Ut.createElement(et,{setIsWhiteTheme:$n==null?void 0:$n.setIsWhiteTheme,isLoading:Wn,language:hn,value:Ct,identifier:Ln,onChange:pn,onUpdateCode:Un,ActionBarRender:yr}),Ut.createElement(Fe.ZP,Pr({},wr)))}},96707:function(_t,dt,fe){"use strict";fe.d(dt,{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(_t,dt,fe){"use strict";fe.d(dt,{H7:function(){return a},MK:function(){return ee},MU:function(){return ce},X6:function(){return oe},bM:function(){return le},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return ae}});var Se=fe(33170),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(te,z,ue)=>z in te?xe(te,z,{enumerable:!0,configurable:!0,writable:!0,value:ue}):te[z]=ue,re=(te,z)=>{for(var ue in z||(z={}))ve.call(z,ue)&&se(te,ue,z[ue]);if(E)for(var ue of E(z))de.call(z,ue)&&se(te,ue,z[ue]);return te};function ie(te,z){return(0,Se.U2)(`myproblems/${te}.json`,re({hidePopLogin:!0},z||{}))}function le(te,z){return(0,Se.v_)(`myproblems/${te}/code_submit.json`,z)}function ce(te,z){return(0,Se.v_)(`myproblems/${te}/code_debug.json`,z)}function ae(te,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,Se.U2)(`myproblems/${te}/submit_records.json`,z)}function oe(te){return(0,Se.U2)("myproblems/record_detail.json",{id:te})}function ne(te,z){return(0,Se.U2)(`myproblems/${te}/result.json`,{mode:z})}function ee(te,z){return(0,Se.v_)(`myproblems/${te}/add_notes.json`,z)}function a(te,z){return(0,Se.v_)(`myproblems/${te}/restore_initial_code.json`,z)}function y(te){return(0,Se.v_)(`myproblems/${te}/sync_code.json`)}function x(te,z){return(0,Se.v_)(`myproblems/${te}/update_code.json`,z)}function b(te,z){return(0,Se.v_)(`discusses/${te}/plus.json`,z)}},72971:function(_t,dt,fe){"use strict";fe.d(dt,{Im:function(){return Pe},ZP:function(){return Me},gZ:function(){return _e}});var Se=fe(67294),xe=fe(69677),E=fe(71577),ve=fe(42922),de=fe(53978),se=fe(94189),re=fe(19575),ie=fe(7621),le=fe(85725),ce=fe(28706),ae=fe(38658),oe=fe(12320),ne=fe(94184),ee=fe.n(ne),a=fe(35973),y=fe(67294),x=Object.defineProperty,b=Object.defineProperties,te=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,me=(Ie,Be,Re)=>Be in Ie?x(Ie,Be,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ie[Be]=Re,he=(Ie,Be)=>{for(var Re in Be||(Be={}))ue.call(Be,Re)&&me(Ie,Re,Be[Re]);if(z)for(var Re of z(Be))ge.call(Be,Re)&&me(Ie,Re,Be[Re]);return Ie},pe=(Ie,Be)=>b(Ie,te(Be));const{TextArea:be}=xe.default,ye={visible:!1,tabIndex:"0"},Pe={[se.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[se.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[se.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var we=(Ie=>(Ie[Ie.SET_VISIBLE=0]="SET_VISIBLE",Ie[Ie.SET_TABINDEX=1]="SET_TABINDEX",Ie))(we||{});function Oe(Ie,Be){switch(Be.type){case 0:return pe(he({},Ie),{visible:Be.payload});case 1:return pe(he({},Ie),{tabIndex:Be.payload});default:throw new Error}}function Ce({value:Ie,className:Be}){const Re=(0,a.useIntl)(),[tt,Ye]=(0,Se.useState)(!1),et=(0,Se.useRef)(),Xe=(0,Se.useRef)();return(0,Se.useEffect)(()=>{tt&&(Xe.current.reset(),Xe.current.write((0,ce.pp)(Ie||"")))},[Ie,tt]),(0,Se.useEffect)(()=>{var Ge,Fe,je,qe;if(et.current){Xe.current=new oe.Terminal({fontSize:14,disableStdin:!0}),Xe.current.open(et.current);const Je=et.current.offsetWidth-14,it=((qe=(je=(Fe=(Ge=Xe.current)==null?void 0:Ge._core)==null?void 0:Fe._renderService)==null?void 0:je.dimensions)==null?void 0:qe.actualCellWidth)||9.5,Qe=Math.ceil(Je/it);Xe.current.resize(Qe,8),Ye(!0)}},[]),y.createElement("div",{ref:et,className:ee()("XtermText-valueRef",Be)})}function _e(Ie){const Be=(0,a.useIntl)(),{status:Re,error_msg:tt,output:Ye,input:et,expected_output:Xe,is_file:Ge,input_file_url:Fe,output_file_url:je,expected_output_file_url:qe}=Ie;let Je=null;const it={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Re){case se.h.NOMATCH:Je=y.createElement(y.Fragment,null,y.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Ge&&y.createElement(Ce,{className:"mb10",value:et}),Ge&&y.createElement("div",{style:it},y.createElement("a",{onClick:()=>(0,ce.LR)(Fe,et)},et)),y.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ge&&y.createElement(Ce,{className:"mb10",value:Ye&&re.Base64.decode(Ye)||""}),Ge&&y.createElement("div",{style:it},y.createElement("a",{onClick:()=>(0,ce.LR)(je,Ye)},Ye)),y.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ge&&y.createElement(Ce,{className:"mb10",value:Xe&&re.Base64.decode(Xe)||""}),Ge&&y.createElement("div",{style:it},y.createElement("a",{onClick:()=>(0,ce.LR)(qe,Xe)},Xe)));break;case se.h.EXECUTEFAILURE:Je=y.createElement(y.Fragment,null,y.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ge&&y.createElement(le.Z,{value:et,style:it}),Ge&&y.createElement("div",{style:it},y.createElement("a",{onClick:()=>(0,ce.LR)(Fe,et)},et)),y.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),y.createElement("pre",{className:"error"},re.Base64.decode(tt)));break;case se.h.COMPILEFAILURE:Je=y.createElement(y.Fragment,null,y.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ge&&y.createElement(le.Z,{value:et,style:it}),Ge&&y.createElement("div",{style:it},y.createElement("a",{onClick:()=>(0,ce.LR)(Fe,et)},et)),y.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),y.createElement("pre",{className:"error"},re.Base64.decode(tt)));break;case se.h.PODFAILURE:Je=y.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:Je=y.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return y.createElement(y.Fragment,null," ",Je," ")}function Ee(Ie){const Be=(0,a.useIntl)(),{status:Re,error_msg:tt,execute_time:Ye,output:et,input:Xe,expected_output:Ge,is_file:Fe,input_file_url:je,output_file_url:qe,expected_output_file_url:Je}=Ie;let it=null;switch(Re){case se.h.OK:it=y.createElement(y.Fragment,null,y.createElement("p",null,Be.formatMessage({id:"classrooms.executionTime",defaultMessage:"\u6267\u884C\u7528\u65F6"}),"\uFF1A",Ye,"\u79D2"),y.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),y.createElement("pre",null,re.Base64.decode(et)));break;case se.h.NOMATCH:it=y.createElement(y.Fragment,null,y.createElement("p",null,Be.formatMessage({id:"shixuns.input",defaultMessage:"\u8F93\u5165"}),"\uFF1A",y.createElement("pre",null,Xe)),y.createElement("p",null,Be.formatMessage({id:"questionBankAddQuestion.output",defaultMessage:"\u8F93\u51FA"}),"\uFF1A",et&&re.Base64.decode(et)),y.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Ge&&re.Base64.decode(Ge)));break;case se.h.EXECUTEFAILURE:it=y.createElement(y.Fragment,null,y.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",y.createElement("pre",null,Xe)),y.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),y.createElement("pre",{className:"error"},re.Base64.decode(tt)));break;case se.h.COMPILEFAILURE:it=y.createElement(y.Fragment,null,y.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",y.createElement("pre",null,Xe)),y.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),y.createElement("pre",{className:"error"},re.Base64.decode(tt)));break;case se.h.PODFAILURE:it=y.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:it=y.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return y.createElement(y.Fragment,null," ",it," ")}var Me=({id:Ie,is_file:Be,input:Re,debuging:tt,submitting:Ye,executingMessage:et,debugResult:Xe,onChangeInput:Ge,onDebugCode:Fe,onSubmitCode:je})=>{const qe=(0,a.useIntl)(),[Je,it]=(0,Se.useReducer)(Oe,ye),{visible:Qe,tabIndex:Ze}=Je;(0,Se.useEffect)(()=>{it({type:0,payload:!1})},[Ie]);function De($e){let Ke=$e.target.id;it({type:1,payload:Ke})}function Ve(){it({type:0,payload:!Qe})}const Ae=(0,Se.useMemo)(()=>{if(Xe){const{status:$e}=Xe;return y.createElement(y.Fragment,null,Ee(Xe))}return null},[Xe]);function ke(){it({type:0,payload:!0}),it({type:1,payload:"1"}),Fe()}return y.createElement("div",{className:"test-case-panel"},y.createElement("div",{className:`test-case-panel-body ${Qe?"active":""}`},y.createElement("ul",{className:"s-navs"},y.createElement("li",null,y.createElement("a",{className:"active"},qe.formatMessage({id:"problemset.debugResult",defaultMessage:"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"})))),y.createElement(ae.Z,{leftTitle:qe.formatMessage({id:"questionBankAddQuestion.customTestCase",defaultMessage:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"}),rightTitle:qe.formatMessage({id:"questionBankAddQuestion.codeExecutionResult",defaultMessage:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"}),style:{height:240},leftNode:y.createElement(be,{placeholder:qe.formatMessage({id:"classrooms.pleaseEnterSelfTestCase",defaultMessage:"\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:Be?"":Re,onChange:Ge}),rightNode:tt?y.createElement(ie.Z,{message:qe.formatMessage({id:"shixuns.codeExecuting",defaultMessage:"\u4EE3\u7801\u6267\u884C\u4E2D"})+"..."}):Xe?Ae:y.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")})),y.createElement("a",{className:`btn-collapse ${Qe?"up":""}`,onClick:Ve},Qe?y.createElement(ve.Z,null):y.createElement(de.Z,null)),y.createElement("footer",{className:"footer"},y.createElement("span",{style:{visibility:"hidden"}},qe.formatMessage({id:"problemset.console",defaultMessage:"\u63A7\u5236\u53F0"})),y.createElement("div",{className:"flex-container"},y.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},qe.formatMessage({id:"testPaperBank.previousQuestion",defaultMessage:"\u4E0A\u4E00\u9898"})),y.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},qe.formatMessage({id:"testPaperBank.nextQuestion",defaultMessage:"\u4E0B\u4E00\u9898"})),y.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:tt,onClick:ke},qe.formatMessage({id:"questionBankAddQuestion.debugCode",defaultMessage:"\u8C03\u8BD5\u4EE3\u7801"})),y.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Ye,disabled:Ye,onClick:()=>{it({type:0,payload:!1}),je()}},qe.formatMessage({id:"questionBankAddQuestion.evaluateAndSubmit",defaultMessage:"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"})))))}},94189:function(_t,dt,fe){"use strict";fe.d(dt,{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(_t,dt,fe){"use strict";fe.d(dt,{Y2:function(){return Me},ZP:function(){return Ie}});var Se=fe(67294),xe=fe(59810),E=fe(2453),ve=fe(14446),de=fe(71230),se=fe(78045),re=fe(71577),ie=fe(84567),le=fe(83062),ce=fe(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=fe(56448),ee=fe.n(ne),a=fe(33170),y=fe(25934),x=fe(28706),b=fe(91613),te=fe(35973),z=fe(67294),ue=Object.defineProperty,ge=Object.defineProperties,me=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ye=(Be,Re,tt)=>Re in Be?ue(Be,Re,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Be[Re]=tt,Pe=(Be,Re)=>{for(var tt in Re||(Re={}))pe.call(Re,tt)&&ye(Be,tt,Re[tt]);if(he)for(var tt of he(Re))be.call(Re,tt)&&ye(Be,tt,Re[tt]);return Be},we=(Be,Re)=>ge(Be,me(Re)),Oe=(Be,Re,tt)=>new Promise((Ye,et)=>{var Xe=je=>{try{Fe(tt.next(je))}catch(qe){et(qe)}},Ge=je=>{try{Fe(tt.throw(je))}catch(qe){et(qe)}},Fe=je=>je.done?Ye(je.value):Promise.resolve(je.value).then(Xe,Ge);Fe((tt=tt.apply(Be,Re)).next())});const{Dragger:Ce}=xe.default,_e=Be=>{const Re=qe=>qe&&qe.substring(0,qe.lastIndexOf("."));for(var tt=[...Be],Ye=0,et=[],Xe=0;Xe<tt.length;Xe++){for(var Ge="",Fe=0;Fe<et.length;Fe++)if(Re(et[Fe][0].name)==Re(tt[Xe].name)){Ye=1,Ge=Fe;break}if(Ye==1)et[Ge].push(tt[Xe]),Ye=0;else if(Ye==0){let qe=new Array;qe.push(tt[Xe]),et.push(qe)}}return et.map(qe=>{if(qe.forEach(Je=>{let it=Je.name.split(/\.(?=[^\.]+$)/);Je.name=`${it[0]}.${it[1].toLowerCase()}`}),qe[0].name.includes(".in"))return qe.length===2?qe:[qe[0],{}];if(qe[0].name.includes(".out"))return qe.length===2?qe.reverse():[{},qe[0]]})},Ee=({onClose:Be,onOK:Re,visible:tt,wrapClassName:Ye,rootIdentifier:et,multiple:Xe=!1,defaultMultipleValue:Ge=!0})=>{const Fe=(0,te.useIntl)(),[je,qe]=(0,Se.useState)([]),[Je,it]=(0,Se.useState)({}),[Qe,Ze]=(0,Se.useState)(!1),[De,Ve]=(0,Se.useState)(!0),[Ae,ke]=(0,Se.useState)(null),$e=(0,Se.useRef)([]),Ke=(0,Se.useRef)(0),ze=()=>{Be()};(0,Se.useEffect)(()=>{Le()},[]),(0,Se.useEffect)(()=>{tt&&($e.current=[],Ke.current=0,qe([]),Ve(Ge))},[tt]);const Le=()=>Oe(void 0,null,function*(){try{ke(!0)}catch(ut){}}),Te=ut=>ut&&ut.substring(0,ut.lastIndexOf(".")),Ne=ut=>{var Et,Ot;const at=Te((Et=ut[0])==null?void 0:Et.name)||Te((Ot=ut[1])==null?void 0:Ot.name),Tt=je.filter(st=>Te(st.name)!==at);$e.current=[...Tt],qe([...Tt])},He=ut=>{if(!De){const pt=new FormData;pt.append("file",ut.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:pt},!0).then(wt=>{if(wt.status===0){Ke.current=Ke.current+1;const Lt=$e.current.map($t=>{var nn;if($t.name===ut.name){const un=Pe({},$t);return(nn=ut==null?void 0:ut.name)!=null&&nn.includes(".in")?un.input=wt==null?void 0:wt.content:un.output=wt==null?void 0:wt.content,un}return $t});if($e.current=[...Lt],qe([...Lt]),Ke.current>0&&Ke.current===je.length){Ze(!1);let $t=_e(Lt);$t=$t.filter(nn=>{var un,Cn;return!!((un=nn[0])!=null&&un.name&&((Cn=nn[1])!=null&&Cn.name))}),$t=$t.map(nn=>we(Pe(Pe({},nn[0]),nn[1]),{is_file:!1})),Re($t),Be()}}else Ze(!1),Be()});return}if(Ae){const pt=new FormData;pt.append("file",ut.file),et===null?pt.append("identifier","testsets"):pt.append("identifier",et),(0,a.ZP)("/api/attachments.json",{method:"post",body:pt},!0).then(wt=>{if(wt.filename){Ke.current=Ke.current+1;const Lt=$e.current.map($t=>{var nn;if($t.name===(wt==null?void 0:wt.filename)){const un=we(Pe({},$t),{is_oss:!Ae});return(nn=wt==null?void 0:wt.filename)!=null&&nn.includes(".in")?(un.in_object_key=wt==null?void 0:wt.object,un.in_object_size=wt==null?void 0:wt.size,un.input=wt==null?void 0:wt.filename,un.in_file=ut):(un.out_object_key=wt==null?void 0:wt.object,un.out_object_size=wt==null?void 0:wt.size,un.output=wt==null?void 0:wt.filename,un.out_file=ut),un}return $t});if($e.current=[...Lt],qe([...Lt]),Ke.current>0&&Ke.current===je.length){Ze(!1);let $t=_e(Lt);$t=$t.filter(nn=>{var un,Cn;return!!((un=nn[0])!=null&&un.name&&((Cn=nn[1])!=null&&Cn.name))}),$t=$t.map(nn=>we(Pe(Pe({},nn[0]),nn[1]),{is_file:!0})),Re($t),Be()}}else Ze(!1),Be()});return}const Et=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}),Ot=ut.name,at={container_type:"TestSet",file_name:Ot},Tt=(0,y.Z)();let st=`testsets/${et}/${Tt}${Ot.indexOf(".")>-1?"."+Ot.split(".").pop():""}`;et===null&&(st=`testsets/${Tt}${Ot.indexOf(".")>-1?"."+Ot.split(".").pop():""}`),Et.multipartUpload(st,new Blob([ut.file],{type:ut.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:Ot+""},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(pt){if(pt.data.status===0){Ke.current=Ke.current+1;const Pt=$e.current.map(wt=>{var Lt,$t,nn,un,Cn,Sn,Kn,nr,fr,Ur,Gr,zr,Ir,bn,tn,dn,vn;if(wt.name===(($t=(Lt=pt.data)==null?void 0:Lt.data)==null?void 0:$t.file_name)){const xn=we(Pe({},wt),{is_oss:!Ae});return(Cn=(un=(nn=pt.data)==null?void 0:nn.data)==null?void 0:un.file_name)!=null&&Cn.includes(".in")?(xn.in_object_key=(Kn=(Sn=pt.data)==null?void 0:Sn.data)==null?void 0:Kn.object,xn.in_object_size=(fr=(nr=pt.data)==null?void 0:nr.data)==null?void 0:fr.size,xn.input=(Gr=(Ur=pt.data)==null?void 0:Ur.data)==null?void 0:Gr.file_name,xn.in_file=ut):(xn.out_object_key=(Ir=(zr=pt.data)==null?void 0:zr.data)==null?void 0:Ir.object,xn.out_object_size=(tn=(bn=pt.data)==null?void 0:bn.data)==null?void 0:tn.size,xn.output=(vn=(dn=pt.data)==null?void 0:dn.data)==null?void 0:vn.file_name,xn.out_file=ut),xn}return wt});if($e.current=[...Pt],qe([...Pt]),Ke.current>0&&Ke.current===je.length){Ze(!1);let wt=_e(Pt);wt=wt.filter(Lt=>{var $t,nn;return!!(($t=Lt[0])!=null&&$t.name&&((nn=Lt[1])!=null&&nn.name))}),wt=wt.map(Lt=>we(Pe(Pe({},Lt[0]),Lt[1]),{is_file:!0})),Re(wt),Be()}}})},rt=ut=>new Promise((Et,Ot)=>{let at=0,Tt=[];for(let st=0;st<ut.length;st++)ut[st].file.slice(0,1).arrayBuffer().then(()=>{at++,at===ut.length&&(Tt.length?(E.ZP.warning(`${Tt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),Ot()):Et(ut))}).catch(pt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",pt),at++,Tt.push(ut[st].name),at===ut.length&&(Tt.length?(E.ZP.warning(`${Tt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),Ot()):Et(ut))})}),mt=()=>Oe(void 0,null,function*(){if(je.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield rt(je),Ze(!0),_e(je).some(Et=>{var Ot,at;return!((Ot=Et[0])!=null&&Ot.name&&((at=Et[1])!=null&&at.name))})){ve.default.confirm({centered:!0,okText:Fe.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),cancelText:Fe.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),title:Fe.formatMessage({id:"shixuns.prompt",defaultMessage:"\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:()=>Oe(void 0,null,function*(){je.map(Et=>Oe(void 0,null,function*(){He(Et)}))}),onCancel:()=>{Ze(!1)}});return}je.map(Et=>Oe(void 0,null,function*(){He(Et)}))}),vt={name:"file",fileList:je,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:ut=>{if(je!=null&&je.some(Ot=>Ot.name===ut.name))return E.ZP.info(`${ut.name}${Fe.formatMessage({id:"shixuns.fileAlreadyExists",defaultMessage:"\u6587\u4EF6\u5DF2\u5B58\u5728"})}`),!1;if(ut.size/1024/1024>100)return E.ZP.info(Fe.formatMessage({id:"shixuns.fileExceedsLimit",defaultMessage:"\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"})),!1;if(!/\.(in|out|IN|OUT)$/.test(ut.name))return E.ZP.warning(Fe.formatMessage({id:"shixuns.inputFileTypes",defaultMessage:"\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"})),!1;const Et={name:ut.name,uid:ut.uid,file:ut,percent:0};return je.push(Et),$e.current=[...je],qe([...je]),!1}},nt=_e(je);return console.log(je,nt,"fileList"),z.createElement(ve.default,{open:tt,wrapClassName:Ye,onOk:mt,centered:!0,okText:Fe.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u8BA4"}),cancelText:Fe.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),okButtonProps:{loading:Qe},onCancel:ze,width:730,title:Fe.formatMessage({id:"shixuns.batchUploadTestCases",defaultMessage:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"})},z.createElement("div",{className:ae.wrap},je.length?z.createElement("div",null,z.createElement(de.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Xe?"visible":"hidden"}},z.createElement("span",{className:ae.greyText},Fe.formatMessage({id:"shixuns.testCaseType",defaultMessage:"\u7528\u4F8B\u7C7B\u578B"})),z.createElement(se.ZP.Group,{className:`ml20 ${ae.testCaseRadio}`,optionType:"button",value:De,onChange:ut=>Ve(ut.target.value)},z.createElement(se.ZP,{value:!1},Fe.formatMessage({id:"shixuns.text",defaultMessage:"\u6587\u672C"})),z.createElement(se.ZP,{value:!0},Fe.formatMessage({id:"shixuns.file",defaultMessage:"\u6587\u4EF6"})))),z.createElement(xe.default,Pe({},vt),z.createElement(re.ZP,{type:"primary",className:ae.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),Fe.formatMessage({id:"shixuns.uploadFile",defaultMessage:"\u4E0A\u4F20\u6587\u4EF6"})))),z.createElement(Me,{data:nt,onRemove:Ne})):z.createElement("div",{className:`${ae.noData} mb30`},z.createElement(xe.default.Dragger,we(Pe({},vt),{className:ae.dragger}),z.createElement("img",{src:oe,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,Fe.formatMessage({id:"shixuns.dragUpload",defaultMessage:"\u62D6\u62FD\u6587\u4EF6\u6216"})),z.createElement("span",{className:ae.uploadText},Fe.formatMessage({id:"shixuns.clickToUpload",defaultMessage:"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20"}))))),z.createElement("div",{className:ae.text},z.createElement("span",{style:{color:"#FA6400"}},Fe.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"})),z.createElement("br",null),Fe.formatMessage({id:"shixuns.filesMustBeInAndOutTextFiles",defaultMessage:"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002"}),z.createElement("br",null),Fe.formatMessage({id:"shixuns.uploadedFilesEncodingSupportsOnlyUTF8",defaultMessage:"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),Fe.formatMessage({id:"shixuns.inputOutputFilesMustCorrespondByName",defaultMessage:"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),Fe.formatMessage({id:"shixuns.singleUploadedFileCannotExceed100MB",defaultMessage:"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))))},Me=({data:Be=[],onRemove:Re,width:tt="auto",showScore:Ye=!1,disabled:et=!1,inputChange:Xe,onEvaluatingChange:Ge,onSelectAll:Fe,checkAll1:je,checkAll2:qe,checkAll3:Je,checkAll4:it,checkAll5:Qe,showEvaluatingSetting:Ze=!1,className:De="",isProgramHomework:Ve=!1})=>{const Ae=(0,te.useIntl)(),ke={value:"",filename:"",dataUrl:""},[$e,Ke]=(0,Se.useState)(Pe({},ke)),ze=Ne=>{let He=document.createElement("a");document.body.appendChild(He);let rt=URL.createObjectURL(Ne.file);He.href=rt,He.download=Ne.name,He.click(),URL.revokeObjectURL(rt),document.body.removeChild(He)},Le=(Ne,He)=>{(0,x.LR)(Ne,He)},Te=(Ne,He)=>{ve.default.confirm({centered:!0,okText:Ae.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),cancelText:Ae.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),title:Ae.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Re(Ne,He)},onCancel:()=>{}})};return Be.length?z.createElement("div",{className:De,style:{width:tt}},z.createElement("div",{className:`${Ve?ae.headProgram:ae.head}`},Ze&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:je,onChange:Ne=>{Fe(Ne.target.checked,"hidden")}}),z.createElement(le.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:Ve?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:Ye?Ve?"20%":"15%":"25%",padding:"0 12px"}},Ae.formatMessage({id:"shixuns.input",defaultMessage:"\u8F93\u5165"})),z.createElement("div",{style:{width:Ye?Ve?"20%":"15%":"25%",padding:"0 12px"}},Ae.formatMessage({id:"questionBankAddQuestion.output",defaultMessage:"\u8F93\u51FA"})),Ye&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:it,onChange:Ne=>{Fe(Ne.target.checked,"input_visible")}}),z.createElement(le.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},Ae.formatMessage({id:"shixuns.input",defaultMessage:"\u8F93\u5165"})),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:qe,onChange:Ne=>{Fe(Ne.target.checked,"is_invisible")}}),z.createElement(le.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},Ae.formatMessage({id:"shixuns.expectedOutput",defaultMessage:"\u9884\u671F\u8F93\u51FA"})),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Qe,onChange:Ne=>{Fe(Ne.target.checked,"actual_output_visible")}}),z.createElement(le.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},Ae.formatMessage({id:"shixuns.actualOutput",defaultMessage:"\u5B9E\u9645\u8F93\u51FA"})),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Je,onChange:Ne=>{Fe(Ne.target.checked,"last_match_rule")}}),z.createElement(le.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"}},Ae.formatMessage({id:"shixuns.specialCriteria",defaultMessage:"\u7279\u6B8A\u5224\u5B9A"})),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ae.operation,style:Ve?{flex:1,textAlign:"right"}:{width:"10%"}},Ae.formatMessage({id:"shixuns.operation",defaultMessage:"\u64CD\u4F5C"}))),z.createElement("div",{className:ae.listWrapper,style:{boxShadow:Ve?"0px 2px 4px 0px #EAEEF4":"unset"}},Be.map((Ne,He)=>{var rt,mt,vt,nt;return z.createElement("div",{key:He,className:ae.list,style:Ve?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ze&&z.createElement("div",{style:{width:"15%"}},z.createElement(ie.default,{checked:!!Ne.hidden,onChange:ut=>{Ge(ut.target.checked,He,"hidden")}})),z.createElement("div",{style:{width:Ve?"25%":"15%",paddingLeft:Ve?"5px":"0px",paddingRight:Ve?"5px":"0px"}},Ae.formatMessage({id:"shixuns.testCases",defaultMessage:"\u6D4B\u8BD5\u7528\u4F8B"}),He+1),z.createElement("div",{className:ae.info,style:{width:Ye?Ve?"20%":"15%":"25%"}},z.createElement("span",{title:Ne.input||((rt=Ne[0])==null?void 0:rt.name),onClick:()=>Oe(void 0,null,function*(){let ut;Ne.input?Ne.input_file_url?ut=Ne.input_file_url:ut=Ne.in_file:ut=Ne[0];let Et;typeof ut=="string"?(Et=yield fetch(ut,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ke({value:yield Et.text(),filename:"",dataUrl:ut})):(Et=yield(0,x.db)(ut.file),Ke({value:Et.text,filename:ut.name,dataUrl:Et.link}))})},Ne.input||((mt=Ne[0])==null?void 0:mt.name))),z.createElement("div",{className:ae.info,style:{width:Ye?Ve?"20%":"15%":"25%"}},z.createElement("span",{title:Ne.output||((vt=Ne[1])==null?void 0:vt.name),onClick:()=>Oe(void 0,null,function*(){let ut;Ne.input?Ne.output_file_url?ut=Ne.output_file_url:ut=Ne.out_file:ut=Ne[1];let Et;typeof ut=="string"?(Et=yield fetch(ut,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ke({value:yield Et.text(),filename:"",dataUrl:ut})):(Et=yield(0,x.db)(ut.file),Ke({value:Et.text,filename:ut.name,dataUrl:Et.link}))})},Ne.output||((nt=Ne[1])==null?void 0:nt.name))),Ye&&z.createElement("div",{style:{width:"20%"}},z.createElement(ce.default,{size:"large",addonAfter:Ve?"%":null,disabled:et,style:{width:"80%"},onChange:ut=>Xe(ut,He),value:Ne.score}),!Ve&&z.createElement("span",null,"\xA0%")),Ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ne.input_visible||!1,onChange:ut=>{Ge(ut.target.checked,He,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ne.is_invisible||!1,onChange:ut=>{Ge(ut.target.checked,He,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ne.actual_output_visible||!1,onChange:ut=>{Ge(ut.target.checked,He,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:Ne.last_match_rule||!1,onChange:ut=>{Ge(ut.target.checked,He,"last_match_rule")},className:"font14"},Ae.formatMessage({id:"shixuns.tailMatching",defaultMessage:"\u672B\u5C3E\u5339\u914D"}))),z.createElement("div",{onClick:()=>Te(Ne,He),style:Ve?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ae.del},Ae.formatMessage({id:"shixuns.delete",defaultMessage:"\u5220\u9664"}))))})),z.createElement(b.Z,{close:!0,data:$e.dataUrl,filename:$e.filename,type:$e.dataUrl.length?"txt":"",onClose:()=>Ke(Pe({},ke)),monacoEditor:{value:$e.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Ie=Ee},93989:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return ee}});var Se=fe(67294),xe=fe(2453),E=fe(83062),ve=fe(57953),de=fe(71230),se=fe(15746),re=fe(28452),ie=fe(71577),le=fe(35567),ce=fe(33170),ae=fe(85725),oe=fe(35973),ne=(y,x,b)=>new Promise((te,z)=>{var ue=he=>{try{me(b.next(he))}catch(pe){z(pe)}},ge=he=>{try{me(b.throw(he))}catch(pe){z(pe)}},me=he=>he.done?te(he.value):Promise.resolve(he.value).then(ue,ge);me((b=b.apply(y,x)).next())}),ee=({id:y,activeDiscussIndex:x,onReplyDiscuss:b,adminOrOperator:te})=>{const z=(0,oe.useIntl)(),[ue,ge]=(0,Se.useState)(""),[me,he]=(0,Se.useState)(!1);function pe(ye){ge(ye)}function be(){if(!ue){xe.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}b(y,ue),ge("")}return(0,Se.useEffect)(()=>{x!=y&&he(!1)},[x]),Se.createElement("div",{key:y,className:"discuss-item-editor",style:{display:x===y?"block":"none",width:"100%"}},Se.createElement(le.Z,{miniToolbar:!0,startInit:x===y,defaultValue:ue,id:y,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:pe,extraUse:te&&Se.createElement(E.Z,{color:"#fff",open:me,destroyTooltipOnHide:!0,title:a({id:y,isOpen:me,activeDiscussIndex:x,onChange:pe,setIsOpen:he}),overlayStyle:{maxWidth:600}},Se.createElement("a",{title:me?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>he(!me)},Se.createElement("i",{className:"iconfont icon-dianzan11"})))}),Se.createElement("a",{onClick:be,className:"btn-send"},z.formatMessage({id:"shixuns.send",defaultMessage:"\u53D1\u9001"})))};const a=y=>{const x=(0,oe.useIntl)(),[b,te]=(0,Se.useState)(!1),[z,ue]=(0,Se.useState)([]),[ge,me]=(0,Se.useState)(1);(0,Se.useEffect)(()=>{y!=null&&y.isOpen?he():(me(1),ue([]))},[y==null?void 0:y.isOpen]);const he=()=>ne(void 0,null,function*(){te(!0);const pe=yield(0,ce.ZP)(`/api/discusses/${y==null?void 0:y.id}/recommend_answer.json`,{method:"get"});(pe==null?void 0:pe.status)==0&&ue(pe==null?void 0:pe.answer),te(!1)});return Se.createElement(ve.Z,{spinning:b},Se.createElement("div",{style:{color:"#000"}},Se.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(z==null?void 0:z[ge-1])||""}),Se.createElement(de.Z,{justify:"end",align:"middle"},Se.createElement(se.Z,null,Se.createElement(re.Z,{simple:!0,current:ge,pageSize:1,total:(z==null?void 0:z.length)||0,onChange:pe=>{me(pe)}})),Se.createElement(se.Z,null,Se.createElement(ie.ZP,{onClick:()=>ne(void 0,null,function*(){y==null||y.onChange(z==null?void 0:z[ge-1]),y==null||y.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},5764:function(_t,dt,fe){"use strict";fe.d(dt,{CP:function(){return E},_V:function(){return se}});var Se=fe(81354),xe=fe.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=="},ve={exam:E};function de(re="",ie="exam"){const{secret:le,iv:ce}=ve[ie];return AES.encrypt(re,le,{iv:ce,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function se(re="",ie="exam"){const{secret:le,iv:ce}=ve[ie];return Se.AES.decrypt(re,le,{iv:ce,mode:xe().mode.CBC,padding:xe().pad.Pkcs7}).toString(Se.enc.Utf8)}},51959:function(_t,dt,fe){"use strict";fe.d(dt,{BU:function(){return xe},Dj:function(){return Se},gH:function(){return E},vp:function(){return ve}});function Se(de){try{de.mozRequestFullScreen?de.mozRequestFullScreen():de.webkitRequestFullScreen&&de.webkitRequestFullScreen()}catch(se){console.log(se,":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 ve(){var de=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,se=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",de),window.isFullScreen?window.isFullScreen:de!=null}},9343:function(_t,dt,fe){"use strict";fe.d(dt,{U:function(){return le}});var Se=fe(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(ce,ae,oe)=>ae in ce?xe(ce,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ce[ae]=oe,re=(ce,ae)=>{for(var oe in ae||(ae={}))ve.call(ae,oe)&&se(ce,oe,ae[oe]);if(E)for(var oe of E(ae))de.call(ae,oe)&&se(ce,oe,ae[oe]);return ce},ie=(ce,ae,oe)=>new Promise((ne,ee)=>{var a=b=>{try{x(oe.next(b))}catch(te){ee(te)}},y=b=>{try{x(oe.throw(b))}catch(te){ee(te)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((oe=oe.apply(ce,ae)).next())});function le(ce,ae){const[oe,ne]=(0,Se.useState)(ae),[ee,a]=(0,Se.useState)(!1),[y,x]=(0,Se.useState)();return[oe,ee,(te,z=!1)=>ie(this,null,function*(){const ue=z?ae:re(re({},oe),te);a(!0),ne(ue);const ge=yield ce(ue);return a(!1),x(ge),ge}),y]}},43462:function(_t,dt,fe){"use strict";fe.d(dt,{_:function(){return E}});var Se=fe(67294),xe=fe(14446);const E=ve=>{var de,se;const re=(0,Se.useRef)([]),ie=()=>{for(const le of re.current)clearTimeout(le);re.current=[]};return(0,Se.useEffect)(()=>{var le,ce,ae,oe,ne,ee;if(ie(),(le=ve==null?void 0:ve.exercise)!=null&&le.left_time&&((ae=(ce=ve==null?void 0:ve.exercise)==null?void 0:ce.exercise_events)==null?void 0:ae.length)>0){for(const a of(oe=ve==null?void 0:ve.exercise)==null?void 0:oe.exercise_events)if(((ne=ve==null?void 0:ve.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((ee=ve==null?void 0:ve.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)}}},[(de=ve==null?void 0:ve.exercise)==null?void 0:de.left_time,(se=ve==null?void 0:ve.exercise)==null?void 0:se.exercise_events]),ie}},40471:function(_t,dt,fe){"use strict";fe.d(dt,{G:function(){return de},t:function(){return ve}});var Se=fe(58971),xe=fe.n(Se);const E=null;function ve(se,re){let ie=xe().get("__ec");ie||(ie={}),ie[se]=re,xe().set("__ec",ie)}function de(se,re){let ie=xe().get("__ec");return ie?ie[se]===void 0?re:ie[se]:re}},56448:function(_t){(function(dt){(function(fe){if(1)_t.exports=fe();else var Se})(function(){var fe,Se,xe;return function(){function E(ve,de,se){function re(ce,ae){if(!de[ce]){if(!ve[ce]){var oe=void 0;if(!ae&&oe)return require(ce,!0);if(ie)return ie(ce,!0);var ne=new Error("Cannot find module '"+ce+"'");throw ne.code="MODULE_NOT_FOUND",ne}var ee=de[ce]={exports:{}};ve[ce][0].call(ee.exports,function(a){var y=ve[ce][1][a];return re(y||a)},ee,ee.exports,E,ve,de,se)}return de[ce].exports}for(var ie=void 0,le=0;le<se.length;le++)re(se[le]);return re}return E}()({1:[function(E,ve,de){"use strict";var se=E("./browser/client");se.Buffer=E("buffer").Buffer,se.urllib=E("../shims/xhr"),se.version=E("./browser/version").version,ve.exports=se},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.slice.js");var le=E("assert"),ce=E("../common/utils/checkBucketName"),ae=ce.checkBucketName,oe=de;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,ie.default)(re.default.mark(function x(b,te){var z,ue;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return z=this._bucketRequestParams("DELETE",b,"",te),me.next=3,this.request(z);case 3:if(ue=me.sent,!(ue.status===200||ue.status===204)){me.next=6;break}return me.abrupt("return",{res:ue.res});case 6:return me.next=8,this.requestError(ue);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,ie.default)(re.default.mark(function x(b,te,z){var ue,ge;return re.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ue=this._bucketRequestParams("PUT",b,"acl",z),ue.headers={"x-oss-acl":te},ue.successStatuses=[200],he.next=5,this.request(ue);case 5:return ge=he.sent,he.abrupt("return",{bucket:ge.headers.location&&ge.headers.location.substring(1)||null,res:ge.res});case 7:case"end":return he.stop()}},x,this)}));function y(x,b,te){return a.apply(this,arguments)}return y}(),oe.getBucketACL=function(){var a=(0,ie.default)(re.default.mark(function x(b,te){var z,ue;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return z=this._bucketRequestParams("GET",b,"acl",te),z.successStatuses=[200],z.xmlResponse=!0,me.next=5,this.request(z);case 5:return ue=me.sent,me.abrupt("return",{acl:ue.data.AccessControlList.Grant,owner:{id:ue.data.Owner.ID,displayName:ue.data.Owner.DisplayName},res:ue.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,ie.default)(re.default.mark(function x(b,te,z){var ue,ge,me;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ue=this._bucketRequestParams("PUT",b,"logging",z),ge=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<BucketLoggingStatus>
|
|
|
<LoggingEnabled>
|
|
|
<TargetBucket>`.concat(b,`</TargetBucket>
|
|
|
`),te&&(ge+="<TargetPrefix>".concat(te,`</TargetPrefix>
|
|
|
`)),ge+=`</LoggingEnabled>
|
|
|
</BucketLoggingStatus>`,ue.content=ge,ue.mime="xml",ue.successStatuses=[200],pe.next=9,this.request(ue);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,te){return a.apply(this,arguments)}return y}(),oe.getBucketLogging=function(){var a=(0,ie.default)(re.default.mark(function x(b,te){var z,ue,ge;return re.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return z=this._bucketRequestParams("GET",b,"logging",te),z.successStatuses=[200],z.xmlResponse=!0,he.next=5,this.request(z);case 5:return ue=he.sent,ge=ue.data.LoggingEnabled,he.abrupt("return",{enable:!!ge,prefix:ge&&ge.TargetPrefix||null,res:ue.res});case 8:case"end":return he.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketLogging=function(){var a=(0,ie.default)(re.default.mark(function x(b,te){var z,ue;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return z=this._bucketRequestParams("DELETE",b,"logging",te),z.successStatuses=[204,200],me.next=4,this.request(z);case 4:return ue=me.sent,me.abrupt("return",{res:ue.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,ie.default)(re.default.mark(function x(b,te,z){var ue,ge,me,he,pe,be,ye,Pe,we,Oe;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:for(te=te||[],le(te.length,"rules is required"),te.forEach(function(Ee){le(Ee.allowedOrigin,"allowedOrigin is required"),le(Ee.allowedMethod,"allowedMethod is required")}),ue=this._bucketRequestParams("PUT",b,"cors",z),ge=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CORSConfiguration>`,me=function(Me){ge+="<AllowedOrigin>".concat(Me,"</AllowedOrigin>")},he=function(Me){ge+="<AllowedMethod>".concat(Me,"</AllowedMethod>")},pe=function(Me){ge+="<AllowedHeader>".concat(Me,"</AllowedHeader>")},be=function(Me){ge+="<ExposeHeader>".concat(Me,"</ExposeHeader>")},ye=0,Pe=te.length;ye<Pe;ye++)we=te[ye],ge+="<CORSRule>",ee(we.allowedOrigin).forEach(me),ee(we.allowedMethod).forEach(he),ee(we.allowedHeader).forEach(pe),ee(we.exposeHeader).forEach(be),we.maxAgeSeconds&&(ge+="<MaxAgeSeconds>".concat(we.maxAgeSeconds,"</MaxAgeSeconds>")),ge+="</CORSRule>";return ge+="</CORSConfiguration>",ue.content=ge,ue.mime="xml",ue.successStatuses=[200],_e.next=16,this.request(ue);case 16:return Oe=_e.sent,_e.abrupt("return",{res:Oe.res});case 18:case"end":return _e.stop()}},x,this)}));function y(x,b,te){return a.apply(this,arguments)}return y}(),oe.getBucketCORS=function(){var a=(0,ie.default)(re.default.mark(function x(b,te){var z,ue,ge,me;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return z=this._bucketRequestParams("GET",b,"cors",te),z.successStatuses=[200],z.xmlResponse=!0,pe.next=5,this.request(z);case 5:return ue=pe.sent,ge=[],ue.data&&ue.data.CORSRule&&(me=ue.data.CORSRule,ne(me)||(me=[me]),me.forEach(function(be){var ye={};Object.keys(be).forEach(function(Pe){ye[Pe.slice(0,1).toLowerCase()+Pe.slice(1,Pe.length)]=be[Pe]}),ge.push(ye)})),pe.abrupt("return",{rules:ge,res:ue.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,ie.default)(re.default.mark(function x(b,te){var z,ue;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return z=this._bucketRequestParams("DELETE",b,"cors",te),z.successStatuses=[204],me.next=4,this.request(z);case 4:return ue=me.sent,me.abrupt("return",{res:ue.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,ie.default)(re.default.mark(function x(b,te,z,ue){var ge,me,he,pe;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(ge=this._bucketRequestParams("PUT",b,"referer",ue),me=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<RefererConfiguration>
|
|
|
`,me+=" <AllowEmptyReferer>".concat(te?"true":"false",`</AllowEmptyReferer>
|
|
|
`),z&&z.length>0){for(me+=` <RefererList>
|
|
|
`,he=0;he<z.length;he++)me+=" <Referer>".concat(z[he],`</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,te,z){return a.apply(this,arguments)}return y}(),oe.getBucketReferer=function(){var a=(0,ie.default)(re.default.mark(function x(b,te){var z,ue,ge;return re.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return z=this._bucketRequestParams("GET",b,"referer",te),z.successStatuses=[200],z.xmlResponse=!0,he.next=5,this.request(z);case 5:return ue=he.sent,ge=ue.data.RefererList.Referer||null,ge&&(ne(ge)||(ge=[ge])),he.abrupt("return",{allowEmpty:ue.data.AllowEmptyReferer==="true",referers:ge,res:ue.res});case 9:case"end":return he.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketReferer=function(){var a=(0,ie.default)(re.default.mark(function x(b,te){return re.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,this.putBucketReferer(b,!0,null,te);case 2:return ue.abrupt("return",ue.sent);case 3:case"end":return ue.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe._bucketRequestParams=function(y,x,b,te){return{method:y,bucket:x,subres:b,timeout:te&&te.timeout,ctx:te&&te.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,ve,de){(function(se,re){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),le=ie(E("@babel/runtime/regenerator")),ce=ie(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ae=E("debug")("ali-oss"),oe=E("xml2js"),ne=E("agentkeepalive"),ee=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),te=E("bowser"),z=E("../common/signUtils"),ue=E("../common/client/initOptions"),ge=E("../common/utils/createRequest"),me=ge.createRequest,he=E("../common/utils/encoder"),pe=he.encoder,be=E("../common/client/getReqUrl"),ye=be.getReqUrl,Pe=E("../common/utils/setSTSToken"),we=Pe.setSTSToken,Oe=E("../common/utils/retry"),Ce=Oe.retry,_e=E("../common/utils/isFunction"),Ee=_e.isFunction,Me=new ne;function Ie(){var Xe=a.name,Ge=a.version;Xe&&Xe.toLowerCase&&Xe.toLowerCase()==="ie"&&Ge.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Be(){return location&&location.protocol==="https:"}function Re(Xe,Ge){if(Ie(),!(this instanceof Re))return new Re(Xe,Ge);Xe&&Xe.inited?this.options=Xe:this.options=Re.initOptions(Xe),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Me),this.ctx=Ge,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}ve.exports=Re,Re.initOptions=function(Ge){Ge.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:Be(),useFetch:!1},Ge);return ue(Fe)};var tt=Re.prototype;tt.debug=ae,ee(tt,E("./object")),ee(tt,E("./bucket")),ee(tt,E("../common/bucket/getBucketWebsite")),ee(tt,E("../common/bucket/putBucketWebsite")),ee(tt,E("../common/bucket/deleteBucketWebsite")),ee(tt,E("../common/bucket/getBucketLifecycle")),ee(tt,E("../common/bucket/putBucketLifecycle")),ee(tt,E("../common/bucket/deleteBucketLifecycle")),ee(tt,E("../common/bucket/putBucketVersioning")),ee(tt,E("../common/bucket/getBucketVersioning")),ee(tt,E("../common/bucket/getBucketInventory")),ee(tt,E("../common/bucket/deleteBucketInventory")),ee(tt,E("../common/bucket/listBucketInventory")),ee(tt,E("../common/bucket/putBucketInventory")),ee(tt,E("../common/bucket/abortBucketWorm")),ee(tt,E("../common/bucket/completeBucketWorm")),ee(tt,E("../common/bucket/extendBucketWorm")),ee(tt,E("../common/bucket/getBucketWorm")),ee(tt,E("../common/bucket/initiateBucketWorm")),ee(tt,E("./managed-upload")),ee(tt,E("../common/multipart-copy")),ee(tt,E("../common/multipart")),ee(tt,E("../common/parallel")),tt.signature=function(Ge){return this.debug("authorization stringToSign: %s",Ge,"info"),z.computeSignature(this.options.accessKeySecret,Ge,this.options.headerEncoding)},tt._getReqUrl=ye,tt.authorization=function(Ge,Fe,je,qe){var Je=z.buildCanonicalString(Ge.toUpperCase(),Fe,{headers:qe,parameters:je});return z.authorization(this.options.accessKeyId,this.options.accessKeySecret,Je,this.options.headerEncoding)},tt.request=function(){var Xe=(0,ce.default)(le.default.mark(function Ge(Fe){var je=this;return le.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(!this.options.retryMax){Je.next=6;break}return Je.next=3,Ce(Ye.bind(this),this.options.retryMax,{errorHandler:function(Qe){var Ze=function(Ve){if(Fe.stream)return!1;var Ae=[-1,-2].includes(Ve.status),ke=je.options.requestErrorRetryHandle||function(){return!0};return Ae&&ke(Ve)};return!!Ze(Qe)}})(Fe);case 3:return Je.abrupt("return",Je.sent);case 6:return Je.abrupt("return",Ye.call(this,Fe));case 7:case"end":return Je.stop()}},Ge,this)}));return function(Ge){return Xe.apply(this,arguments)}}();function Ye(Xe){return et.apply(this,arguments)}function et(){return et=(0,ce.default)(le.default.mark(function Xe(Ge){var Fe,je,qe,Je,it,Qe;return le.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:if(!(this.options.stsToken&&Ee(this.options.refreshSTSToken))){De.next=3;break}return De.next=3,we.call(this);case 3:return Fe=me.call(this,Ge),this.options.useFetch||(Fe.params.mode="disable-fetch"),Je=!!Ge.stream,De.prev=6,De.next=9,this.urllib.request(Fe.url,Fe.params);case 9:je=De.sent,this.debug("response %s %s, got %s, headers: %j",Ge.method,Fe.url,je.status,je.headers,"info"),De.next=16;break;case 13:De.prev=13,De.t0=De.catch(6),qe=De.t0;case 16:if(!(je&&Ge.successStatuses&&Ge.successStatuses.indexOf(je.status)===-1)){De.next=28;break}return De.next=19,this.requestError(je);case 19:if(it=De.sent,!(it.code==="RequestTimeTooSkewed"&&!Je)){De.next=25;break}return this.options.amendTimeSkewed=+new Date(it.serverTime)-new Date,De.next=24,this.request(Ge);case 24:return De.abrupt("return",De.sent);case 25:it.params=Ge,De.next=32;break;case 28:if(!qe){De.next=32;break}return De.next=31,this.requestError(qe);case 31:it=De.sent;case 32:if(!it){De.next=34;break}throw it;case 34:if(!Ge.xmlResponse){De.next=39;break}return De.next=37,this.parseXML(je.data);case 37:Qe=De.sent,je.data=Qe;case 39:return De.abrupt("return",je);case 40:case"end":return De.stop()}},Xe,this,[[6,13]])})),et.apply(this,arguments)}tt._getResource=function(Ge){var Fe="/";return Ge.bucket&&(Fe+="".concat(Ge.bucket,"/")),Ge.object&&(Fe+=pe(Ge.object,this.options.headerEncoding)),Fe},tt._escape=function(Ge){return y.encodeURIComponent(Ge).replace(/%2F/g,"/")},tt._getUserAgent=function(){var Ge=re&&re.browser?"js":"nodejs",Fe="aliyun-sdk-".concat(Ge,"/").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))},tt._checkUserAgent=function(Ge){var Fe=Ge.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return Fe},tt.checkBrowserAndVersion=function(Ge,Fe){return te.name===Ge&&te.version.split(".")[0]===Fe},tt.parseXML=function(Ge){return new Promise(function(Fe,je){se.isBuffer(Ge)&&(Ge=Ge.toString()),oe.parseString(Ge,{explicitRoot:!1,explicitArray:!1},function(qe,Je){qe?je(qe):Fe(Je)})})},tt.requestError=function(){var Xe=(0,ce.default)(le.default.mark(function Fe(je){var qe,Je,it,Qe;return le.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:if(qe=null,!(!je.data||!je.data.length)){De.next=5;break}je.status===-1||je.status===-2?(qe=new Error(je.message),qe.name=je.name,qe.status=je.status,qe.code=je.name):(je.status===404?(qe=new Error("Object not exists"),qe.name="NoSuchKeyError",qe.status=404,qe.code="NoSuchKey"):je.status===412?(qe=new Error("Pre condition failed"),qe.name="PreconditionFailedError",qe.status=412,qe.code="PreconditionFailed"):(qe=new Error("Unknow error, status: ".concat(je.status)),qe.name="UnknownError",qe.status=je.status),qe.requestId=je.headers["x-oss-request-id"],qe.host=""),De.next=32;break;case 5:return Je=String(je.data),this.debug("request response error data: %s",Je,"error"),De.prev=7,De.next=10,this.parseXML(Je);case 10:if(De.t0=De.sent,De.t0){De.next=13;break}De.t0={};case 13:it=De.t0,De.next=23;break;case 16:return De.prev=16,De.t1=De.catch(7),this.debug(Je,"error"),De.t1.message+=`
|
|
|
raw xml: `.concat(Je),De.t1.status=je.status,De.t1.requestId=je.headers["x-oss-request-id"],De.abrupt("return",De.t1);case 23:Qe=it.Message||"unknow request error, status: ".concat(je.status),it.Condition&&(Qe+=" (condition: ".concat(it.Condition,")")),qe=new Error(Qe),qe.name=it.Code?"".concat(it.Code,"Error"):"UnknownError",qe.status=je.status,qe.code=it.Code,qe.requestId=it.RequestId,qe.hostId=it.HostId,qe.serverTime=it.ServerTime;case 32:return this.debug("generate error %j",qe,"error"),De.abrupt("return",qe);case 34:case"end":return De.stop()}},Fe,this,[[7,16]])}));function Ge(Fe){return Xe.apply(this,arguments)}return Ge}()}).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,ve,de){(function(se){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),ie=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 le=re(E("@babel/runtime/helpers/asyncToGenerator")),ce=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"),te=b.isBuffer,z=de;z.multipartUpload=function(){var pe=(0,le.default)(ie.default.mark(function ye(Pe,we){var Oe,Ce,_e,Ee,Me,Ie,Be,Re,tt,Ye=arguments;return ie.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(Oe=Ye.length>2&&Ye[2]!==void 0?Ye[2]:{},this.resetCancelFlag(),Oe.disabledMD5=Oe.disabledMD5===void 0?!0:!!Oe.disabledMD5,!(Oe.checkpoint&&Oe.checkpoint.uploadId)){Xe.next=8;break}return we&&x(we)&&(Oe.checkpoint.file=we),Xe.next=7,this._resumeMultipart(Oe.checkpoint,Oe);case 7:return Xe.abrupt("return",Xe.sent);case 8:return Ce=102400,Oe.mime||(x(we)?Oe.mime=oe.getType(ae.extname(we.name)):a(we)?Oe.mime=we.type:te(we)?Oe.mime="":Oe.mime=oe.getType(ae.extname(we))),Oe.headers=Oe.headers||{},this._convertMetaToHeaders(Oe.meta,Oe.headers),Xe.next=14,this._getFileSize(we);case 14:if(_e=Xe.sent,!(_e<Ce)){Xe.next=26;break}return Oe.contentLength=_e,Xe.next=19,this.put(Pe,we,Oe);case 19:if(Ee=Xe.sent,!(Oe&&Oe.progress)){Xe.next=23;break}return Xe.next=23,Oe.progress(1);case 23:return Me={res:Ee.res,bucket:this.options.bucket,name:Pe,etag:Ee.res.headers.etag},(Oe.headers&&Oe.headers["x-oss-callback"]||Oe.callback)&&(Me.data=Ee.data),Xe.abrupt("return",Me);case 26:if(!(Oe.partSize&&parseInt(Oe.partSize,10)!==Oe.partSize)){Xe.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Oe.partSize&&Oe.partSize<Ce)){Xe.next=30;break}throw new Error("partSize must not be smaller than ".concat(Ce));case 30:return Xe.next=32,this.initMultipartUpload(Pe,Oe);case 32:if(Ie=Xe.sent,Be=Ie.uploadId,Re=this._getPartSize(_e,Oe.partSize),tt={file:we,name:Pe,fileSize:_e,partSize:Re,uploadId:Be,doneParts:[]},!(Oe&&Oe.progress)){Xe.next=39;break}return Xe.next=39,Oe.progress(0,tt,Ie.res);case 39:return Xe.next=41,this._resumeMultipart(tt,Oe);case 41:return Xe.abrupt("return",Xe.sent);case 42:case"end":return Xe.stop()}},ye,this)}));function be(ye,Pe){return pe.apply(this,arguments)}return be}(),z._resumeMultipart=function(){var pe=(0,le.default)(ie.default.mark(function ye(Pe,we){var Oe,Ce,_e,Ee,Me,Ie,Be,Re,tt,Ye,et,Xe,Ge,Fe,je,qe,Je,it,Qe;return ie.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:if(Oe=this,!this.isCancel()){De.next=3;break}throw this._makeCancelEvent();case 3:return Ce=Pe.file,_e=Pe.fileSize,Ee=Pe.partSize,Me=Pe.uploadId,Ie=Pe.doneParts,Be=Pe.name,Re=[],Ie.length>0&&ne(Ie).to(Re),tt=this._divideParts(_e,Ee),Ye=tt.length,et=!1,Xe=function(Ae,ke){return new Promise(function(){var $e=(0,le.default)(ie.default.mark(function Ke(ze,Le){var Te,Ne,He,rt,mt;return ie.default.wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:if(nt.prev=0,Ae.isCancel()){nt.next=29;break}return Te=tt[ke-1],nt.next=5,Ae._createBuffer(Ce,Te.start,Te.end);case 5:return Ne=nt.sent,He={content:Ne,size:Te.end-Te.start},nt.prev=7,nt.next=10,Ae._uploadPart(Be,Me,ke,He,we);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 Ae._makeAbortEvent();case 17:throw nt.t0;case 18:if(!(!Ae.isCancel()&&!et)){nt.next=26;break}if(Pe.doneParts.push({number:ke,etag:rt.res.headers.etag}),!we.progress){nt.next=23;break}return nt.next=23,we.progress(Ie.length/(Ye+1),Pe,rt.res);case 23:ze({number:ke,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=ke,ne(nt.t1).to(mt),Le(mt);case 41:case"end":return nt.stop()}},Ke,null,[[0,32],[7,13]])}));return function(Ke,ze){return $e.apply(this,arguments)}}())},Ge=Array.from(new Array(Ye),function(Ve,Ae){return Ae+1}),Fe=Re.map(function(Ve){return Ve.number}),je=Ge.filter(function(Ve){return Fe.indexOf(Ve)<0}),qe=5,Je=we.parallel||qe,De.next=17,this._parallel(je,Je,function(Ve){return new Promise(function(Ae,ke){Xe(Oe,Ve).then(function($e){$e&&Re.push($e),Ae()}).catch(function($e){ke($e)})})});case 17:if(it=De.sent,et=!0,Qe=it.find(function(Ve){return Ve.name==="abort"}),!Qe){De.next=22;break}throw Qe;case 22:if(!this.isCancel()){De.next=25;break}throw Xe=null,this._makeCancelEvent();case 25:if(!(it&&it.length>0)){De.next=28;break}throw it[0].message="Failed to upload some parts with error: ".concat(it[0].toString()," part_num: ").concat(it[0].partNum),it[0];case 28:return De.next=30,this.completeMultipartUpload(Be,Me,Re,we);case 30:return De.abrupt("return",De.sent);case 31:case"end":return De.stop()}},ye,this)}));function be(ye,Pe){return pe.apply(this,arguments)}return be}(),z._getFileSize=function(){var pe=(0,le.default)(ie.default.mark(function ye(Pe){return ie.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(!te(Pe)){Oe.next=4;break}return Oe.abrupt("return",Pe.length);case 4:if(!(a(Pe)||x(Pe))){Oe.next=6;break}return Oe.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Oe.stop()}},ye)}));function be(ye){return pe.apply(this,arguments)}return be}();var ue=E("stream"),ge=ue.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}ce.inherits(me,ge),me.prototype.readFileAndPush=function(be){if(this.fileBuffer)for(var ye=!0;ye&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Pe=this.start,we=Pe+be;we=we>this.fileBuffer.length?this.fileBuffer.length:we,this.start=we,ye=this.push(this.fileBuffer.slice(Pe,we))}},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 Pe=this;this.reader.onload=function(Oe){Pe.fileBuffer=se.from(new Uint8Array(Oe.target.result)),Pe.file=null,Pe.readFileAndPush(be)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(be)};function he(pe){return pe.arrayBuffer?pe.arrayBuffer():new Promise(function(be,ye){var Pe=new FileReader;Pe.onload=function(we){be(we.target.result)},Pe.onerror=function(we){ye(we)},Pe.readAsArrayBuffer(pe)})}z._createBuffer=function(){var pe=(0,le.default)(ie.default.mark(function ye(Pe,we,Oe){var Ce,_e;return ie.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(!(a(Pe)||x(Pe))){Me.next=8;break}return Ce=Pe.slice(we,Oe),Me.next=4,he(Ce);case 4:return _e=Me.sent,Me.abrupt("return",se.from(_e));case 8:if(!te(Pe)){Me.next=12;break}return Me.abrupt("return",Pe.subarray(we,Oe));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Me.stop()}},ye)}));function be(ye,Pe,we){return pe.apply(this,arguments)}return be}(),z._getPartSize=function(be,ye){var Pe=1e4,we=1*1024*1024;ye||(ye=we);var Oe=Math.ceil(be/Pe);return ye<Oe&&(ye=Oe,console.warn("partSize has been set to ".concat(ye,", because the partSize you provided causes partNumber to be greater than 10,000"))),ye},z._divideParts=function(be,ye){for(var Pe=Math.ceil(be/ye),we=[],Oe=0;Oe<Pe;Oe++){var Ce=ye*Oe,_e=Math.min(Ce+ye,be);we.push({start:Ce,end:_e})}return we}}).call(this)}).call(this,E("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.promise.js");var re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("fs"),ce=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,te=E("../common/utils/isBuffer"),z=te.isBuffer,ue=E("../common/utils/obj2xml"),ge=ue.obj2xml,me=de;me.append=function(){var he=(0,ie.default)(re.default.mark(function be(ye,Pe,we){var Oe;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return we=we||{},we.position===void 0&&(we.position="0"),we.subres={append:"",position:we.position},we.method="POST",_e.next=6,this.put(ye,Pe,we);case 6:return Oe=_e.sent,Oe.nextAppendPosition=Oe.res.headers["x-oss-next-append-position"],_e.abrupt("return",Oe);case 9:case"end":return _e.stop()}},be,this)}));function pe(be,ye,Pe){return he.apply(this,arguments)}return pe}(),me.put=function(){var he=(0,ie.default)(re.default.mark(function be(ye,Pe,we){var Oe,Ce,_e,Ee,Me;return re.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(we=we||{},we.disabledMD5=we.disabledMD5===void 0?!0:!!we.disabledMD5,we.headers=we.headers||{},ye=this._objectName(ye),!z(Pe)){Be.next=8;break}Oe=Pe,Be.next=19;break;case 8:if(!(y(Pe)||b(Pe))){Be.next=18;break}return we.mime||(b(Pe)?we.mime=oe.getType(ae.extname(Pe.name)):we.mime=Pe.type),Be.next=12,this._createBuffer(Pe,0,Pe.size);case 12:return Oe=Be.sent,Be.next=15,this._getFileSize(Pe);case 15:we.contentLength=Be.sent,Be.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(we.meta,we.headers),Ce=we.method||"PUT",_e=this._objectRequestParams(Ce,ye,we),ne.encodeCallback(_e,we),_e.mime=we.mime,_e.disabledMD5=we.disabledMD5,_e.content=Oe,_e.successStatuses=[200],Be.next=29,this.request(_e);case 29:return Ee=Be.sent,Me={name:ye,url:this._objectUrl(ye),res:Ee.res},_e.headers&&_e.headers["x-oss-callback"]&&(Me.data=JSON.parse(Ee.data.toString())),Be.abrupt("return",Me);case 33:case"end":return Be.stop()}},be,this)}));function pe(be,ye,Pe){return he.apply(this,arguments)}return pe}(),me.putStream=function(){var he=(0,ie.default)(re.default.mark(function be(ye,Pe,we){var Oe,Ce,_e,Ee;return re.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return we=we||{},we.headers=we.headers||{},ye=this._objectName(ye),we.contentLength?we.headers["Content-Length"]=we.contentLength:we.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(we.meta,we.headers),Oe=we.method||"PUT",Ce=this._objectRequestParams(Oe,ye,we),ne.encodeCallback(Ce,we),Ce.mime=we.mime,Ce.stream=Pe,Ce.successStatuses=[200],Ie.next=13,this.request(Ce);case 13:return _e=Ie.sent,Ee={name:ye,url:this._objectUrl(ye),res:_e.res},Ce.headers&&Ce.headers["x-oss-callback"]&&(Ee.data=JSON.parse(_e.data.toString())),Ie.abrupt("return",Ee);case 17:case"end":return Ie.stop()}},be,this)}));function pe(be,ye,Pe){return he.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 he=(0,ie.default)(re.default.mark(function be(ye,Pe,we){var Oe;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return _e.next=2,this.copy(ye,ye,{meta:Pe||{},timeout:we&&we.timeout,ctx:we&&we.ctx});case 2:return Oe=_e.sent,_e.abrupt("return",Oe);case 4:case"end":return _e.stop()}},be,this)}));function pe(be,ye,Pe){return he.apply(this,arguments)}return pe}(),me.list=function(){var he=(0,ie.default)(re.default.mark(function be(ye,Pe){var we,Oe,Ce,_e,Ee;return re.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return we=this._objectRequestParams("GET","",Pe),we.query=ye,we.xmlResponse=!0,we.successStatuses=[200],Ie.next=6,this.request(we);case 6:return Oe=Ie.sent,Ce=Oe.data.Contents||[],_e=this,Ce&&(Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(Be){return{name:Be.Key,url:_e._objectUrl(Be.Key),lastModified:Be.LastModified,etag:Be.ETag,type:Be.Type,size:Number(Be.Size),storageClass:Be.StorageClass,owner:{id:Be.Owner.ID,displayName:Be.Owner.DisplayName}}})),Ee=Oe.data.CommonPrefixes||null,Ee&&(Array.isArray(Ee)||(Ee=[Ee]),Ee=Ee.map(function(Be){return Be.Prefix})),Ie.abrupt("return",{res:Oe.res,objects:Ce,prefixes:Ee,nextMarker:Oe.data.NextMarker||null,isTruncated:Oe.data.IsTruncated==="true"});case 13:case"end":return Ie.stop()}},be,this)}));function pe(be,ye){return he.apply(this,arguments)}return pe}(),me.listV2=function(){var he=(0,ie.default)(re.default.mark(function be(ye){var Pe,we,Oe,Ce,_e,Ee,Me,Ie=arguments;return re.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Pe=Ie.length>1&&Ie[1]!==void 0?Ie[1]:{},we=ye["continuation-token"]||ye.continuationToken,we&&(Pe.subres=Object.assign({"continuation-token":we},Pe.subres)),Oe=this._objectRequestParams("GET","",Pe),Oe.query=Object.assign({"list-type":2},ye),delete Oe.query["continuation-token"],delete Oe.query.continuationToken,Oe.xmlResponse=!0,Oe.successStatuses=[200],Re.next=11,this.request(Oe);case 11:return Ce=Re.sent,_e=Ce.data.Contents||[],Ee=this,_e&&(Array.isArray(_e)||(_e=[_e]),_e=_e.map(function(tt){var Ye=null;return tt.Owner&&(Ye={id:tt.Owner.ID,displayName:tt.Owner.DisplayName}),{name:tt.Key,url:Ee._objectUrl(tt.Key),lastModified:tt.LastModified,etag:tt.ETag,type:tt.Type,size:Number(tt.Size),storageClass:tt.StorageClass,owner:Ye}})),Me=Ce.data.CommonPrefixes||null,Me&&(Array.isArray(Me)||(Me=[Me]),Me=Me.map(function(tt){return tt.Prefix})),Re.abrupt("return",{res:Ce.res,objects:_e,prefixes:Me,isTruncated:Ce.data.IsTruncated==="true",keyCount:+Ce.data.KeyCount,continuationToken:Ce.data.ContinuationToken||null,nextContinuationToken:Ce.data.NextContinuationToken||null});case 18:case"end":return Re.stop()}},be,this)}));function pe(be){return he.apply(this,arguments)}return pe}(),me.restore=function(){var he=(0,ie.default)(re.default.mark(function be(ye){var Pe,we,Oe,Ce,_e=arguments;return re.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Pe=_e.length>1&&_e[1]!==void 0?_e[1]:{type:"Archive"},Pe=Pe||{},Pe.subres=Object.assign({restore:""},Pe.subres),Pe.versionId&&(Pe.subres.versionId=Pe.versionId),we=this._objectRequestParams("POST",ye,Pe),Pe.type==="ColdArchive"&&(Oe={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},we.content=ge(Oe,{headers:!0}),we.mime="xml"),we.successStatuses=[202],Me.next=9,this.request(we);case 9:return Ce=Me.sent,Me.abrupt("return",{res:Ce.res});case 11:case"end":return Me.stop()}},be,this)}));function pe(be){return he.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 Pe={object:be,bucket:this.options.bucket,method:pe,subres:ye&&ye.subres,timeout:ye&&ye.timeout,ctx:ye&&ye.ctx};return ye.headers&&(Pe.headers={},ce(ye.headers).to(Pe.headers)),Pe},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){le.exists(pe,function(Pe){Pe?le.unlink(pe,function(we){we&&be.debug("unlink %j error: %s",pe,we,"error"),ye()}):ye()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(E,ve,de){"use strict";de.version="6.18.1"},{}],7:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.abortBucketWorm=void 0;var le=E("../utils/checkBucketName");function ce(oe,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.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 le.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)}de.abortBucketWorm=ce},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.completeBucketWorm=void 0;var le=E("../utils/checkBucketName");function ce(oe,ne,ee){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(re.default.mark(function oe(ne,ee,a){var y,x;return re.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return le.checkBucketName(ne),y=this._bucketRequestParams("POST",ne,{wormId:ee},a),te.next=4,this.request(y);case 4:return x=te.sent,te.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return te.stop()}},oe,this)})),ae.apply(this,arguments)}de.completeBucketWorm=ce},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.deleteBucketInventory=void 0;var le=E("../utils/checkBucketName");function ce(oe,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(re.default.mark(function oe(ne,ee){var a,y,x,b,te=arguments;return re.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return a=te.length>2&&te[2]!==void 0?te[2]:{},y=Object.assign({inventory:"",inventoryId:ee},a.subres),le.checkBucketName(ne),x=this._bucketRequestParams("DELETE",ne,y,a),x.successStatuses=[204],ue.next=7,this.request(x);case 7:return b=ue.sent,ue.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return ue.stop()}},oe,this)})),ae.apply(this,arguments)}de.deleteBucketInventory=ce},{"../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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=de;ae.deleteBucketLifecycle=function(){var oe=(0,ie.default)(re.default.mark(function ee(a,y){var x,b;return re.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ce(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],z.next=5,this.request(x);case 5:return b=z.sent,z.abrupt("return",{res:b.res});case 7:case"end":return z.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=de;ae.deleteBucketWebsite=function(){var oe=(0,ie.default)(re.default.mark(function ee(a,y){var x,b;return re.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ce(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],z.next=5,this.request(x);case 5:return b=z.sent,z.abrupt("return",{res:b.res});case 7:case"end":return z.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.extendBucketWorm=void 0;var le=E("../utils/checkBucketName"),ce=E("../utils/obj2xml");function ae(ne,ee,a,y){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(ee,a,y,x){var b,te,z;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return le.checkBucketName(ee),b=this._bucketRequestParams("POST",ee,{wormExtend:"",wormId:a},x),te={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=ce.obj2xml(te,{headers:!0}),b.successStatuses=[200],ge.next=8,this.request(b);case 8:return z=ge.sent,ge.abrupt("return",{res:z.res,status:z.status});case 10:case"end":return ge.stop()}},ne,this)})),oe.apply(this,arguments)}de.extendBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.getBucketInventory=void 0;var le=E("../utils/checkBucketName"),ce=E("../utils/formatInventoryConfig");function ae(ne,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(ee,a){var y,x,b,te,z=arguments;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return y=z.length>2&&z[2]!==void 0?z[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),le.checkBucketName(ee),b=this._bucketRequestParams("GET",ee,x,y),b.successStatuses=[200],b.xmlResponse=!0,ge.next=8,this.request(b);case 8:return te=ge.sent,ge.abrupt("return",{status:te.status,res:te.res,inventory:ce.formatInventoryConfig(te.data)});case 10:case"end":return ge.stop()}},ne,this)})),oe.apply(this,arguments)}de.getBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,ne=E("../utils/formatObjKey"),ee=ne.formatObjKey,a=de;a.getBucketLifecycle=function(){var y=(0,ie.default)(re.default.mark(function b(te,z){var ue,ge,me;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ce(te),ue=this._bucketRequestParams("GET",te,"lifecycle",z),ue.successStatuses=[200],ue.xmlResponse=!0,pe.next=6,this.request(ue);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,te){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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=de;ae.getBucketVersioning=function(){var oe=(0,ie.default)(re.default.mark(function ee(a,y){var x,b,te;return re.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ce(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],ue.next=6,this.request(x);case 6:return b=ue.sent,te=b.data.Status,ue.abrupt("return",{status:b.status,versionStatus:te,res:b.res});case 9:case"end":return ue.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("../utils/isObject"),oe=ae.isObject,ne=de;ne.getBucketWebsite=function(){var ee=(0,ie.default)(re.default.mark(function y(x,b){var te,z,ue;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ce(x),te=this._bucketRequestParams("GET",x,"website",b),te.successStatuses=[200],te.xmlResponse=!0,me.next=6,this.request(te);case 6:return z=me.sent,ue=[],z.data.RoutingRules&&z.data.RoutingRules.RoutingRule&&(oe(z.data.RoutingRules.RoutingRule)?ue=[z.data.RoutingRules.RoutingRule]:ue=z.data.RoutingRules.RoutingRule),me.abrupt("return",{index:z.data.IndexDocument&&z.data.IndexDocument.Suffix||"",supportSubDir:z.data.IndexDocument&&z.data.IndexDocument.SupportSubDir||"false",type:z.data.IndexDocument&&z.data.IndexDocument.Type,routingRules:ue,error:z.data.ErrorDocument&&z.data.ErrorDocument.Key||null,res:z.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.getBucketWorm=void 0;var le=E("../utils/checkBucketName"),ce=E("../utils/dataFix");function ae(ne,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(ee,a){var y,x;return re.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return le.checkBucketName(ee),y=this._bucketRequestParams("GET",ee,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,te.next=6,this.request(y);case 6:return x=te.sent,ce.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),te.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return te.stop()}},ne,this)})),oe.apply(this,arguments)}de.getBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.initiateBucketWorm=void 0;var le=E("../utils/obj2xml"),ce=E("../utils/checkBucketName");function ae(ne,ee,a){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(ee,a,y){var x,b,te;return re.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ce.checkBucketName(ee),x=this._bucketRequestParams("POST",ee,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=le.obj2xml(b,{headers:!0}),x.successStatuses=[200],ue.next=8,this.request(x);case 8:return te=ue.sent,ue.abrupt("return",{res:te.res,wormId:te.res.headers["x-oss-worm-id"],status:te.status});case 10:case"end":return ue.stop()}},ne,this)})),oe.apply(this,arguments)}de.initiateBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.listBucketInventory=void 0;var le=E("../utils/checkBucketName"),ce=E("../utils/formatInventoryConfig");function ae(ne){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(ee){var a,y,x,b,te,z,ue,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),le.checkBucketName(ee),b=this._bucketRequestParams("GET",ee,x,a),b.successStatuses=[200],b.xmlResponse=!0,pe.next=9,this.request(b);case 9:return te=pe.sent,z=te.data,ue=te.res,ge=te.status,pe.abrupt("return",{isTruncated:z.IsTruncated==="true",nextContinuationToken:z.NextContinuationToken,inventoryList:ce.formatInventoryConfig(z.InventoryConfiguration,!0),status:ge,res:ue});case 12:case"end":return pe.stop()}},ne,this)})),oe.apply(this,arguments)}de.listBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.putBucketInventory=void 0;var le=E("../utils/checkBucketName"),ce=E("../utils/obj2xml");function ae(ne,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(ee,a){var y,x,b,te,z,ue,ge,me,he,pe,be,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return y=ye.length>2&&ye[2]!==void 0?ye[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),le.checkBucketName(ee),b=a.OSSBucketDestination,te=a.optionalFields,z=a.includedObjectVersions,ue="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(ue).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:z,OptionalFields:{Field:(te==null?void 0:te.field)||[]}}},he=ce.obj2xml(me,{headers:!0,firstUpperCase:!0}),pe=this._bucketRequestParams("PUT",ee,x,y),pe.successStatuses=[200],pe.mime="xml",pe.content=he,we.next=14,this.request(pe);case 14:return be=we.sent,we.abrupt("return",{status:be.status,res:be.res});case 16:case"end":return we.stop()}},ne,this)})),oe.apply(this,arguments)}de.putBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.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,te=E("../utils/checkObjectTag"),z=te.checkObjectTag,ue=E("../utils/getStrBytesCount"),ge=ue.getStrBytesCount,me=de;me.putBucketLifecycle=function(){var Pe=(0,ie.default)(re.default.mark(function Oe(Ce,_e,Ee){var Me,Ie,Be,Re,tt;return re.default.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(ce(Ce),oe(_e)){et.next=3;break}throw new Error("rules must be Array");case 3:return Me=this._bucketRequestParams("PUT",Ce,"lifecycle",Ee),Ie=[],Be={LifecycleConfiguration:{Rule:Ie}},_e.forEach(function(Xe){he(Xe),ye(Xe),Xe.id&&(Xe.ID=Xe.id,delete Xe.id),Ie.push(Xe)}),Re=b(Be,{headers:!0,firstUpperCase:!0}),Me.content=Re,Me.mime="xml",Me.successStatuses=[200],et.next=13,this.request(Me);case 13:return tt=et.sent,et.abrupt("return",{res:tt.res});case 15:case"end":return et.stop()}},Oe,this)}));function we(Oe,Ce,_e){return Pe.apply(this,arguments)}return we}();function he(Pe){Pe.days&&(Pe.expiration={days:Pe.days}),Pe.date&&(Pe.expiration={createdBeforeDate:Pe.date})}function pe(Pe,we){var Oe=Pe.days,Ce=Pe.createdBeforeDate;if(!Oe&&!Ce)throw new Error("".concat(we," must includes days or createdBeforeDate"));if(Oe&&!/^[1-9][0-9]*$/.test(Oe))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(Pe){if(!oe(Pe)&&!y(Pe))throw new Error("tag must be Object or Array");Pe=y(Pe)?[Pe]:Pe;var we={},Oe=ee(Pe);Oe.forEach(function(Ce){we[Ce.key]=Ce.value}),z(we)}function ye(Pe){if(Pe.id&&ge(Pe.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Pe.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Pe.status))throw new Error("Status must be Enabled or Disabled");if(Pe.transition){if(!["IA","Archive"].includes(Pe.transition.storageClass))throw new Error("StorageClass must be IA or Archive");pe(Pe.transition,"Transition")}if(Pe.expiration){if(!Pe.expiration.expiredObjectDeleteMarker)pe(Pe.expiration,"Expiration");else if(Pe.expiration.days||Pe.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Pe.abortMultipartUpload&&pe(Pe.abortMultipartUpload,"AbortMultipartUpload"),!Pe.expiration&&!Pe.abortMultipartUpload&&!Pe.transition&&!Pe.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Pe.tag){if(Pe.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");be(Pe.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,ne=de;ne.putBucketVersioning=function(){var ee=(0,ie.default)(re.default.mark(function y(x,b){var te,z,ue,ge,me=arguments;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(te=me.length>2&&me[2]!==void 0?me[2]:{},ce(x),["Enabled","Suspended"].includes(b)){pe.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return z=this._bucketRequestParams("PUT",x,"versioning",te),ue={VersioningConfiguration:{Status:b}},z.mime="xml",z.content=oe(ue,{headers:!0}),pe.next=10,this.request(z);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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,ne=E("../utils/isArray"),ee=ne.isArray,a=de;a.putBucketWebsite=function(){var y=(0,ie.default)(re.default.mark(function b(te){var z,ue,ge,me,he,pe,be,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(z=ye.length>1&&ye[1]!==void 0?ye[1]:{},ue=ye.length>2?ye[2]:void 0,ce(te),ge=this._bucketRequestParams("PUT",te,"website",ue),me={Suffix:z.index||"index.html"},he={IndexDocument:me},pe={WebsiteConfiguration:he},z.supportSubDir&&(me.SupportSubDir=z.supportSubDir),z.type&&(me.Type=z.type),z.error&&(he.ErrorDocument={Key:z.error}),z.routingRules===void 0){we.next=14;break}if(ee(z.routingRules)){we.next=13;break}throw new Error("RoutingRules must be Array");case 13:he.RoutingRules={RoutingRule:z.routingRules};case 14:return pe=oe(pe),ge.content=pe,ge.mime="xml",ge.successStatuses=[200],we.next=20,this.request(ge);case 20:return be=we.sent,we.abrupt("return",{res:be.res});case 22:case"end":return we.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,ve,de){(function(se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),de.encodeCallback=function(ie,le){if(ie.headers=ie.headers||{},!Object.prototype.hasOwnProperty.call(ie.headers,"x-oss-callback")&&le.callback){var ce={callbackUrl:encodeURI(le.callback.url),callbackBody:le.callback.body};le.callback.host&&(ce.callbackHost=le.callback.host),le.callback.contentType&&(ce.callbackBodyType=le.callback.contentType);var ae=se.from(JSON.stringify(ce)).toString("base64");if(ie.headers["x-oss-callback"]=ae,le.callback.customValue){var oe={};Object.keys(le.callback.customValue).forEach(function(ne){oe["x:".concat(ne)]=le.callback.customValue[ne].toString()}),ie.headers["x-oss-callback-var"]=se.from(JSON.stringify(oe)).toString("base64")}}}}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(E,ve,de){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var se=function(ee){return ee&&ee.__esModule?ee:{default:ee}};Object.defineProperty(de,"__esModule",{value:!0}),de.getReqUrl=void 0;var re=se(E("copy-to")),ie=se(E("url")),le=se(E("merge-descriptors")),ce=se(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&&le.default(b,ee.query),ee.subres){var te={};ce.default.string(ee.subres)?te[ee.subres]="":ce.default.array(ee.subres)?ee.subres.forEach(function(z){te[z]=""}):te=ee.subres,le.default(b,te)}return a.query=b,ie.default.format(a)}de.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,ve,de){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var se=E("humanize-ms"),re=E("url"),ie=E("../utils/checkBucketName"),le=ie.checkBucketName,ce=E("../utils/setRegion"),ae=ce.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}ve.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&&le(a.bucket);var y=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=se(y.timeout)),y.endpoint)y.endpoint=ee(y.endpoint,y.secure);else if(y.region)y.endpoint=ae(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(E,ve,de){"use strict";var se=E("merge-descriptors"),re=de;se(re,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ce=le.checkBucketName,ae=E("querystring"),oe=E("js-base64"),ne=oe.Base64.encode,ee=de;ee.processObjectSave=function(){var y=(0,ie.default)(re.default.mark(function b(te,z,ue,ge){var me,he,pe,be;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return a(te,"sourceObject"),a(z,"targetObject"),a(ue,"process"),z=this._objectName(z),ge&&ce(ge),me=this._objectRequestParams("POST",te,{subres:"x-oss-process"}),he=ge?",b_".concat(ne(ge)):"",z=ne(z),pe={"x-oss-process":"".concat(ue,"|sys/saveas,o_").concat(z).concat(he)},me.content=ae.stringify(pe),Pe.next=12,this.request(me);case 12:return be=Pe.sent,Pe.abrupt("return",{res:be.res,status:be.res.status});case 14:case"end":return Pe.stop()}},b,this)}));function x(b,te,z,ue){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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("debug")("ali-oss:multipart-copy"),ce=E("copy-to"),ae=de;ae.uploadPartCopy=function(){var oe=(0,ie.default)(re.default.mark(function ee(a,y,x,b,te){var z,ue,ge,me,he,pe=arguments;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return z=pe.length>5&&pe[5]!==void 0?pe[5]:{},z.headers=z.headers||{},ue=z.versionId||z.subres&&z.subres.versionId||null,ue?ge="/".concat(te.sourceBucketName,"/").concat(encodeURIComponent(te.sourceKey),"?versionId=").concat(ue):ge="/".concat(te.sourceBucketName,"/").concat(encodeURIComponent(te.sourceKey)),z.headers["x-oss-copy-source"]=ge,b&&(z.headers["x-oss-copy-source-range"]="bytes=".concat(b)),z.subres={partNumber:x,uploadId:y},me=this._objectRequestParams("PUT",a,z),me.mime=z.mime,me.successStatuses=[200],ye.next=12,this.request(me);case 12:return he=ye.sent,ye.abrupt("return",{name:a,etag:he.res.headers.etag,res:he.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,ie.default)(re.default.mark(function ee(a,y){var x,b,te,z,ue,ge,me,he,pe,be,ye,Pe,we=arguments;return re.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return x=we.length>2&&we[2]!==void 0?we[2]:{},this.resetCancelFlag(),b=x.versionId,te=b===void 0?null:b,z={versionId:te},Ce.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,z);case 6:if(ue=Ce.sent,ge=ue.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,he=y.endOffset-y.startOffset,!(he<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(he,x.partSize),Pe={name:a,copySize:he,partSize:ye,uploadId:be,doneParts:[]},!(x&&x.progress)){Ce.next=29;break}return Ce.next=29,x.progress(0,Pe,pe.res);case 29:return Ce.next=31,this._resumeMultipartCopy(Pe,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,ie.default)(re.default.mark(function ee(a,y,x){var b,te,z,ue,ge,me,he,pe,be,ye,Pe,we,Oe,Ce,_e,Ee,Me,Ie,Be,Re,tt;return re.default.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(!this.isCancel()){et.next=2;break}throw this._makeCancelEvent();case 2:if(b=x.versionId,te=b===void 0?null:b,z={versionId:te},ue=a.copySize,ge=a.partSize,me=a.uploadId,he=a.doneParts,pe=a.name,be=this._divideMultipartCopyParts(ue,ge,y.startOffset),ye=be.length,Pe={headers:{}},x.copyheaders&&ce(x.copyheaders).to(Pe.headers),te&&ce(z).to(Pe),we=function(Ge,Fe,je){return new Promise(function(){var qe=(0,ie.default)(re.default.mark(function Je(it,Qe){var Ze,De,Ve;return re.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(ke.prev=0,Ge.isCancel()){ke.next=22;break}return Ze=be[Fe-1],De="".concat(Ze.start,"-").concat(Ze.end-1),ke.prev=4,ke.next=7,Ge.uploadPartCopy(pe,me,Fe,De,je,Pe);case 7:Ve=ke.sent,ke.next=15;break;case 10:if(ke.prev=10,ke.t0=ke.catch(4),ke.t0.status!==404){ke.next=14;break}throw Ge._makeAbortEvent();case 14:throw ke.t0;case 15:if(Ge.isCancel()){ke.next=22;break}if(le("content-range ".concat(Ve.res.headers["content-range"])),he.push({number:Fe,etag:Ve.res.headers.etag}),a.doneParts=he,!(x&&x.progress)){ke.next=22;break}return ke.next=22,x.progress(he.length/ye,a,Ve.res);case 22:it(),ke.next=29;break;case 25:ke.prev=25,ke.t1=ke.catch(0),ke.t1.partNum=Fe,Qe(ke.t1);case 29:case"end":return ke.stop()}},Je,null,[[0,25],[4,10]])}));return function(Je,it){return qe.apply(this,arguments)}}())},Oe=Array.from(new Array(ye),function(Xe,Ge){return Ge+1}),Ce=he.map(function(Xe){return Xe.number}),_e=Oe.filter(function(Xe){return Ce.indexOf(Xe)<0}),Ee=5,Me=x.parallel||Ee,!(this.checkBrowserAndVersion("Internet Explorer","10")||Me===1)){et.next=28;break}Ie=0;case 18:if(!(Ie<_e.length)){et.next=26;break}if(!this.isCancel()){et.next=21;break}throw this._makeCancelEvent();case 21:return et.next=23,we(this,_e[Ie],y);case 23:Ie++,et.next=18;break;case 26:et.next=40;break;case 28:return et.next=30,this._parallelNode(_e,Me,we,y);case 30:if(Be=et.sent,Re=Be.find(function(Xe){return Xe.name==="abort"}),!Re){et.next=34;break}throw Re;case 34:if(!this.isCancel()){et.next=36;break}throw this._makeCancelEvent();case 36:if(!(Be&&Be.length>0)){et.next=40;break}throw tt=Be[0],tt.message="Failed to copy some parts with error: ".concat(tt.toString()," part_num: ").concat(tt.partNum),tt;case 40:return et.next=42,this.completeMultipartUpload(pe,me,he,x);case 42:return et.abrupt("return",et.sent);case 43:case"end":return et.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 te=ee*b+a,z=Math.min(te+ee,ne+a);x.push({start:te,end:z})}return x},ae._getObjectMeta=function(){var oe=(0,ie.default)(re.default.mark(function ee(a,y,x){var b,te;return re.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return b=this.getBucket(),this.setBucket(a),ue.next=4,this.head(y,x);case 4:return te=ue.sent,this.setBucket(b),ue.abrupt("return",te);case 7:case"end":return ue.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,ve,de){(function(se){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),ie=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 le=re(E("@babel/runtime/helpers/asyncToGenerator")),ce=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=de;b.listUploads=function(){var te=(0,le.default)(ie.default.mark(function ue(ge,me){var he,pe,be,ye;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return me=me||{},he={},ce(me).to(he),he.subres="uploads",pe=this._objectRequestParams("GET","",he),pe.query=ge,pe.xmlResponse=!0,pe.successStatuses=[200],we.next=10,this.request(pe);case 10:return be=we.sent,ye=be.data.Upload||[],Array.isArray(ye)||(ye=[ye]),ye=ye.map(function(Oe){return{name:Oe.Key,uploadId:Oe.UploadId,initiated:Oe.Initiated}}),we.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 we.stop()}},ue,this)}));function z(ue,ge){return te.apply(this,arguments)}return z}(),b.listParts=function(){var te=(0,le.default)(ie.default.mark(function ue(ge,me,he,pe){var be,ye,Pe;return ie.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return pe=pe||{},be={},ce(pe).to(be),be.subres={uploadId:me},ye=this._objectRequestParams("GET",ge,be),ye.query=he,ye.xmlResponse=!0,ye.successStatuses=[200],Oe.next=10,this.request(ye);case 10:return Pe=Oe.sent,Oe.abrupt("return",{res:Pe.res,uploadId:Pe.data.UploadId,bucket:Pe.data.Bucket,name:Pe.data.Key,partNumberMarker:Pe.data.PartNumberMarker,nextPartNumberMarker:Pe.data.NextPartNumberMarker,maxParts:Pe.data.MaxParts,isTruncated:Pe.data.IsTruncated,parts:Pe.data.Part||[]});case 12:case"end":return Oe.stop()}},ue,this)}));function z(ue,ge,me,he){return te.apply(this,arguments)}return z}(),b.abortMultipartUpload=function(){var te=(0,le.default)(ie.default.mark(function ue(ge,me,he){var pe,be,ye;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return this._stop(),he=he||{},pe={},ce(he).to(pe),pe.subres={uploadId:me},be=this._objectRequestParams("DELETE",ge,pe),be.successStatuses=[204],we.next=9,this.request(be);case 9:return ye=we.sent,we.abrupt("return",{res:ye.res});case 11:case"end":return we.stop()}},ue,this)}));function z(ue,ge,me){return te.apply(this,arguments)}return z}(),b.initMultipartUpload=function(){var te=(0,le.default)(ie.default.mark(function ue(ge,me){var he,pe,be;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return me=me||{},he={},ce(me).to(he),he.headers=he.headers||{},this._convertMetaToHeaders(me.meta,he.headers),he.subres="uploads",pe=this._objectRequestParams("POST",ge,he),pe.mime=me.mime,pe.xmlResponse=!0,pe.successStatuses=[200],Pe.next=12,this.request(pe);case 12:return be=Pe.sent,Pe.abrupt("return",{res:be.res,bucket:be.data.Bucket,name:be.data.Key,uploadId:be.data.UploadId});case 14:case"end":return Pe.stop()}},ue,this)}));function z(ue,ge){return te.apply(this,arguments)}return z}(),b.uploadPart=function(){var te=(0,le.default)(ie.default.mark(function ue(ge,me,he,pe,be,ye,Pe){var we,Oe;return ie.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(we={size:ye-be},Oe=se&&se.browser,!Oe){_e.next=8;break}return _e.next=5,this._createBuffer(pe,be,ye);case 5:we.content=_e.sent,_e.next=11;break;case 8:return _e.next=10,this._createStream(pe,be,ye);case 10:we.stream=_e.sent;case 11:return _e.next=13,this._uploadPart(ge,me,he,we,Pe);case 13:return _e.abrupt("return",_e.sent);case 14:case"end":return _e.stop()}},ue,this)}));function z(ue,ge,me,he,pe,be,ye){return te.apply(this,arguments)}return z}(),b.completeMultipartUpload=function(){var te=(0,le.default)(ie.default.mark(function ue(ge,me,he,pe){var be,ye,Pe,we,Oe,Ce,_e,Ee;return ie.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:for(be=he.concat().sort(function(Be,Re){return Be.number-Re.number}).filter(function(Be,Re,tt){return!Re||Be.number!==tt[Re-1].number}),ye=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,Pe=0;Pe<be.length;Pe++)we=be[Pe],ye+=`<Part>
|
|
|
`,ye+="<PartNumber>".concat(we.number,`</PartNumber>
|
|
|
`),ye+="<ETag>".concat(we.etag,`</ETag>
|
|
|
`),ye+=`</Part>
|
|
|
`;return ye+="</CompleteMultipartUpload>",pe=pe||{},Oe={},Oe=ne(pe,function(Be){if(a(Be))return null}),Oe.subres={uploadId:me},Oe.headers=x(Oe.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ce=this._objectRequestParams("POST",ge,Oe),ae.encodeCallback(Ce,Oe),Ce.mime="xml",Ce.content=ye,Ce.headers&&Ce.headers["x-oss-callback"]||(Ce.xmlResponse=!0),Ce.successStatuses=[200],Ie.next=17,this.request(Ce);case 17:if(_e=Ie.sent,!pe.progress){Ie.next=21;break}return Ie.next=21,pe.progress(1,null,_e.res);case 21:return Ee={res:_e.res,bucket:Ce.bucket,name:ge,etag:_e.res.headers.etag},Ce.headers&&Ce.headers["x-oss-callback"]&&(Ee.data=JSON.parse(_e.data.toString())),Ie.abrupt("return",Ee);case 24:case"end":return Ie.stop()}},ue,this)}));function z(ue,ge,me,he){return te.apply(this,arguments)}return z}(),b._uploadPart=function(){var te=(0,le.default)(ie.default.mark(function ue(ge,me,he,pe,be){var ye,Pe,we,Oe;return ie.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return be=be||{},ye={},ce(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:he,uploadId:me},Pe=this._objectRequestParams("PUT",ge,ye),Pe.mime=ye.mime,we=se&&se.browser,we?Pe.content=pe.content:Pe.stream=pe.stream,Pe.successStatuses=[200],Pe.disabledMD5=be.disabledMD5,_e.next=15,this.request(Pe);case 15:if(Oe=_e.sent,Oe.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,Pe.stream=null),_e.abrupt("return",{name:ge,etag:Oe.res.headers.etag,res:Oe.res});case 20:case"end":return _e.stop()}},ue,this)}));function z(ue,ge,me,he,pe){return te.apply(this,arguments)}return z}()}).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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("url"),ce=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,te=de;te.asyncSignatureUrl=function(){var z=(0,ie.default)(re.default.mark(function ge(me,he){var pe,be,ye,Pe,we;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(he=he||{},me=this._objectName(me),he.method=he.method||"GET",pe=ce.timestamp()+(he.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&&(he["security-token"]=this.options.stsToken),Pe=oe._signatureForURL(this.options.accessKeySecret,he,ye,pe),we=le.parse(this._getReqUrl(be)),we.query={OSSAccessKeyId:this.options.accessKeyId,Expires:pe,Signature:Pe.Signature},ae(Pe.subResource).to(we.query),Ce.abrupt("return",we.format());case 17:case"end":return Ce.stop()}},ge,this)}));function ue(ge,me){return z.apply(this,arguments)}return ue}()},{"../../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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ie=se(E("@babel/runtime/helpers/typeof")),le=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ae=ce.checkBucketName,oe=de,ne=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];oe.copy=function(){var ee=(0,le.default)(re.default.mark(function y(x,b,te,z){var ue,ge,me;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return(0,ie.default)(te)==="object"&&(z=te),z=z||{},z.headers=z.headers||{},Object.keys(z.headers).forEach(function(be){z.headers["x-oss-copy-source-".concat(be.toLowerCase())]=z.headers[be]}),(z.meta||Object.keys(z.headers).find(function(be){return ne.includes(be.toLowerCase())}))&&(z.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(z.meta,z.headers),b=this._getSourceName(b,te),z.versionId&&(b="".concat(b,"?versionId=").concat(z.versionId)),z.headers["x-oss-copy-source"]=b,ue=this._objectRequestParams("PUT",x,z),ue.xmlResponse=!0,ue.successStatuses=[200,304],pe.next=14,this.request(ue);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,te){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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=de;le.delete=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne){var ee,a,y,x=arguments;return re.default.wrap(function(te){for(;;)switch(te.prev=te.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],te.next=7,this.request(a);case 7:return y=te.sent,te.abrupt("return",{res:y.res});case 9:case"end":return te.stop()}},oe,this)}));function ae(oe){return ce.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("utility"),ce=E("../utils/obj2xml"),ae=ce.obj2xml,oe=de;oe.deleteMulti=function(){var ne=(0,ie.default)(re.default.mark(function a(y){var x,b,te,z,ue,ge,me,he,pe,be,ye,Pe,we,Oe=arguments;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(x=Oe.length>1&&Oe[1]!==void 0?Oe[1]:{},b=[],!(!y||!y.length)){_e.next=4;break}throw new Error("names is required");case 4:for(te=0;te<y.length;te++)z={},typeof y[te]=="string"?z.Key=le.escape(this._objectName(y[te])):(ue=y[te],ge=ue.key,me=ue.versionId,z.Key=le.escape(this._objectName(ge)),z.VersionId=me),b.push(z);return he={Delete:{Quiet:!!x.quiet,Object:b}},pe=ae(he,{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,Pe=ye.data,we=Pe&&Pe.Deleted||null,we&&(Array.isArray(we)||(we=[we])),_e.abrupt("return",{res:ye.res,deleted:we||[]});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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=de;le.deleteObjectTagging=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne){var ee,a,y,x=arguments;return re.default.wrap(function(te){for(;;)switch(te.prev=te.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],te.next=8,this.request(a);case 8:return y=te.sent,te.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return te.stop()}},oe,this)}));function ae(oe){return ce.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,ve,de){"use strict";E("core-js/modules/es.array.concat.js");var se=E("url"),re=E("../utils/isIP"),ie=re.isIP,le=de;le.generateObjectUrl=function(ae,oe){if(ie(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(oe)oe[oe.length-1]!=="/"&&(oe+="/");else{oe=this.options.endpoint.format();var ne=se.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,ve,de){(function(se){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),ie=re(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var le=re(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("fs"),ae=E("is-type-of"),oe=de;oe.get=function(){var ne=(0,le.default)(ie.default.mark(function a(y,x){var b,te,z,ue,ge,me,he,pe,be=arguments;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return b=be.length>2&&be[2]!==void 0?be[2]:{},te=null,z=!1,ae.writableStream(x)?te=x:ae.string(x)?(te=ce.createWriteStream(x),z=!0):b=x,b=b||{},ue=se&&se.browser,ge=b.responseCacheControl===null?"":"no-cache",me=ue&&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),Pe.prev=11,pe=this._objectRequestParams("GET",y,b),pe.writeStream=te,pe.successStatuses=[200,206,304],Pe.next=17,this.request(pe);case 17:he=Pe.sent,z&&te.destroy(),Pe.next=28;break;case 21:if(Pe.prev=21,Pe.t0=Pe.catch(11),!z){Pe.next=27;break}return te.destroy(),Pe.next=27,this._deleteFileSafe(x);case 27:throw Pe.t0;case 28:return Pe.abrupt("return",{res:he.res,content:he.data});case 29:case"end":return Pe.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=de;le.getACL=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne){var ee,a,y,x=arguments;return re.default.wrap(function(te){for(;;)switch(te.prev=te.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,te.next=9,this.request(a);case 9:return y=te.sent,te.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 te.stop()}},oe,this)}));function ae(oe){return ce.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=de,ce=E("../utils/isObject"),ae=ce.isObject,oe=E("../utils/isArray"),ne=oe.isArray;le.getBucketVersions=ee,le.listObjectVersions=ee;function ee(){return a.apply(this,arguments)}function a(){return a=(0,ie.default)(re.default.mark(function b(){var te,z,ue,ge,me,he,pe,be,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(te=ye.length>0&&ye[0]!==void 0?ye[0]:{},z=ye.length>1&&ye[1]!==void 0?ye[1]:{},!(te.versionIdMarker&&te.keyMarker===void 0)){we.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return z.subres=Object.assign({versions:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ue=this._objectRequestParams("GET","",z),ue.xmlResponse=!0,ue.successStatuses=[200],ue.query=x(te),we.next=12,this.request(ue);case 12:return ge=we.sent,me=ge.data.Version||[],he=ge.data.DeleteMarker||[],pe=this,me&&(Array.isArray(me)||(me=[me]),me=me.map(function(Oe){return{name:Oe.Key,url:pe._objectUrl(Oe.Key),lastModified:Oe.LastModified,isLatest:Oe.IsLatest==="true",versionId:Oe.VersionId,etag:Oe.ETag,type:Oe.Type,size:Number(Oe.Size),storageClass:Oe.StorageClass,owner:{id:Oe.Owner.ID,displayName:Oe.Owner.DisplayName}}})),he&&(ne(he)||(he=[he]),he=he.map(function(Oe){return{name:Oe.Key,lastModified:Oe.LastModified,versionId:Oe.VersionId,owner:{id:Oe.Owner.ID,displayName:Oe.Owner.DisplayName}}})),be=ge.data.CommonPrefixes||null,be&&(ne(be)||(be=[be]),be=be.map(function(Oe){return Oe.Prefix})),we.abrupt("return",{res:ge.res,objects:me,deleteMarker:he,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 we.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},te={};return ae(b)&&Object.keys(b).forEach(function(z){te[y(z)]=b[z]}),te}},{"../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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=de;le.getObjectMeta=function(){var ce=(0,ie.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 ce.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=de,ce=E("../utils/isObject"),ae=ce.isObject;le.getObjectTagging=function(){var oe=(0,ie.default)(re.default.mark(function ee(a){var y,x,b,te,z,ue,ge=arguments;return re.default.wrap(function(he){for(;;)switch(he.prev=he.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],he.next=8,this.request(x);case 8:return b=he.sent,he.next=11,this.parseXML(b.data);case 11:return te=he.sent,z=te.TagSet.Tag,z=z&&ae(z)?[z]:z||[],ue={},z.forEach(function(pe){ue[pe.Key]=pe.Value}),he.abrupt("return",{status:b.status,res:b.res,tag:ue});case 17:case"end":return he.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,ve,de){"use strict";var se=E("../utils/isIP"),re=se.isIP,ie=de;ie.getObjectUrl=function(ce,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(ce))}},{"../utils/isIP":69}],43:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=de;le.getSymlink=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne){var ee,a,y,x,b=arguments;return re.default.wrap(function(z){for(;;)switch(z.prev=z.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],z.next=8,this.request(a);case 8:return y=z.sent,x=y.res.headers["x-oss-symlink-target"],z.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return z.stop()}},oe,this)}));function ae(oe){return ce.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkEnv"),ce=le.checkEnv,ae=de;ae.head=function(){var oe=(0,ie.default)(re.default.mark(function ee(a){var y,x,b,te,z=arguments;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return y=z.length>1&&z[1]!==void 0?z[1]:{},ce("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,te={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(me){me.indexOf("x-oss-meta-")===0&&(te.meta||(te.meta={}),te.meta[me.substring(11)]=b.headers[me])}),ge.abrupt("return",te);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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=de;le.putACL=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne,ee,a){var y,x;return re.default.wrap(function(te){for(;;)switch(te.prev=te.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],te.next=10,this.request(y);case 10:return x=te.sent,te.abrupt("return",{res:x.res});case 12:case"end":return te.stop()}},oe,this)}));function ae(oe,ne,ee){return ce.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/obj2xml"),ce=le.obj2xml,ae=E("../utils/checkObjectTag"),oe=ae.checkObjectTag,ne=de;ne.putObjectTagging=function(){var ee=(0,ie.default)(re.default.mark(function y(x,b){var te,z,ue,ge,me=arguments;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return te=me.length>2&&me[2]!==void 0?me[2]:{},oe(b),te.subres=Object.assign({tagging:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),x=this._objectName(x),z=this._objectRequestParams("PUT",x,te),z.successStatuses=[200],b=Object.keys(b).map(function(be){return{Key:be,Value:b[be]}}),ue={Tagging:{TagSet:{Tag:b}}},z.mime="xml",z.content=ce(ue),pe.next=13,this.request(z);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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=de;le.putSymlink=function(){var ce=(0,ie.default)(re.default.mark(function oe(ne,ee,a){var y,x;return re.default.wrap(function(te){for(;;)switch(te.prev=te.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],te.next=13,this.request(y);case 13:return x=te.sent,te.abrupt("return",{res:x.res});case 15:case"end":return te.stop()}},oe,this)}));function ae(oe,ne,ee){return ce.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,ve,de){"use strict";var se=E("url"),re=E("utility"),ie=E("copy-to"),le=E("../../common/signUtils"),ce=E("../utils/isIP"),ae=ce.isIP,oe=de;oe.signatureUrl=function(ee,a){if(ae(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},ee=this._objectName(ee),a.method=a.method||"GET";var y=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 te=le._signatureForURL(this.options.accessKeySecret,a,b,y),z=se.parse(this._getReqUrl(x));return z.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:te.Signature},ie(te.subResource).to(z.query),z.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("./utils/isArray"),ce=le.isArray,ae=de;ae._parallelNode=function(){var oe=(0,ie.default)(re.default.mark(function ee(a,y,x,b){var te,z,ue,ge,me,he,pe,be;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:te=this,z=[],ue=[],ge=a.length/y,me=a.length%y,he=me===0?ge:(a.length-me)/y+1,pe=1,be=0;case 8:if(!(be<a.length)){Pe.next=26;break}if(!te.isCancel()){Pe.next=11;break}return Pe.abrupt("break",26);case 11:if(b?ue.push(x(te,a[be],b)):ue.push(x(te,a[be])),!(ue.length===y||pe===he&&be===a.length-1)){Pe.next=23;break}return Pe.prev=13,pe+=1,Pe.next=17,Promise.all(ue);case 17:Pe.next=22;break;case 19:Pe.prev=19,Pe.t0=Pe.catch(13),z.push(Pe.t0);case 22:ue=[];case 23:be++,Pe.next=8;break;case 26:return Pe.abrupt("return",z);case 27:case"end":return Pe.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 te(Pe){return function(){if(Pe===null)throw new Error("Callback was already called.");var we=Pe;Pe=null;for(var Oe=arguments.length,Ce=new Array(Oe),_e=0;_e<Oe;_e++)Ce[_e]=arguments[_e];we.apply(this,Ce)}}function z(Pe){var we=-1,Oe=Pe.length;return function(){return++we<Oe&&!y.isCancel()?{value:Pe[we],key:we}:null}}var ue=z(ne),ge=!1,me=0,he=!1;function pe(Pe){me-=1,Pe?(ge=!0,b.push(Pe),x(b)):ge&&me<=0?(ge=!0,x(b)):he||(y.isCancel()?x(b):ye())}function be(Pe,we){a(Pe).then(function(Oe){we(null,Oe)}).catch(function(Oe){we(Oe)})}function ye(){for(he=!0;me<ee&&!ge&&!y.isCancel();){var Pe=ue();if(Pe===null||b.length>0){ge=!0,me<=0&&x(b);return}me+=1,be(Pe.value,te(pe))}he=!1}ye()})},ae.cancel=function(ne){this.options.cancelFlag=!0,ce(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,ve,de){(function(se){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var re=E("./../../shims/crypto/crypto.js"),ie=E("is-type-of"),le=E("./utils/lowercaseKeyHeader"),ce=le.lowercaseKeyHeader;de.buildCanonicalizedResource=function(oe,ne){var ee="".concat(oe),a="?";if(ie.string(ne)&&ne.trim()!=="")ee+=a+ne;else if(ie.array(ne))ne.sort(),ee+=a+ne.join("&");else if(ne){var y=function(te,z){return te[0]>z[0]?1:te[0]<z[0]?-1:0},x=function(te){ee+=a+te,(ne[te]||ne[te]===0)&&(ee+="=".concat(ne[te])),a="&"};Object.keys(ne).sort(y).forEach(x)}return ee},de.buildCanonicalString=function(oe,ne,ee,a){ee=ee||{};var y=ce(ee.headers),x="x-oss-",b=[],te={},z=[oe.toUpperCase(),y["content-md5"]||"",y["content-type"],a||y["x-oss-date"]];return Object.keys(y).forEach(function(ue){var ge=ue.toLowerCase();ge.indexOf(x)===0&&(te[ge]=String(y[ue]).trim())}),Object.keys(te).sort().forEach(function(ue){b.push("".concat(ue,":").concat(te[ue]))}),z=z.concat(b),z.push(this.buildCanonicalizedResource(ne,ee.parameters)),z.join(`
|
|
|
`)},de.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(se.from(ne,ee)).digest("base64")},de.authorization=function(oe,ne,ee,a){return"OSS ".concat(oe,":").concat(this.computeSignature(ne,ee,a))},de._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,te=b===void 0?{}:b;if(ne.process){var z="x-oss-process";te[z]=ne.process}if(ne.trafficLimit){var ue="x-oss-traffic-limit";te[ue]=ne.trafficLimit}if(ne.response&&Object.keys(ne.response).forEach(function(pe){var be="response-".concat(pe.toLowerCase());te[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")&&(te["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),te.callback=se.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]}),te["callback-var"]=se.from(JSON.stringify(me)).toString("base64")}}var he=this.buildCanonicalString(ne.method,ee,{headers:x,parameters:te},a.toString());return{Signature:this.computeSignature(oe,he,y),subResource:te}}}).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,ve,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkBucketName=void 0,de.checkBucketName=function(se){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=re?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ie.test(se))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,ve,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkConfigValid=void 0;var se={endpoint:re,region:/^[a-zA-Z0-9\-_]+$/};function re(ie){return typeof ie=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ie):ie.host?/^[a-zA-Z0-9._:/-]+$/.test(ie.host):!1}de.checkConfigValid=function(ie,le){if(se[le]){var ce=!0;if(se[le]instanceof Function?ce=se[le](ie):ce=se[le].test(ie),!ce)throw new Error("The ".concat(le," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,ve,de){(function(se){(function(){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.checkEnv=void 0;function re(ie){se.browser&&console.warn(ie)}de.checkEnv=re}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,ve,de){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkObjectTag=void 0;var se=E("./checkValid"),re=se.checkValid,ie=E("./isObject"),le=ie.isObject,ce=[{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(ce,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(ce,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function oe(ne){if(!le(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]])})})}de.checkObjectTag=oe},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,ve,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkValid=void 0;function se(re,ie){ie.forEach(function(le){if(le.validator)le.validator(re);else if(le.pattern&&!le.pattern.test(re))throw new Error(le.msg)})}de.checkValid=se},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(E,ve,de){(function(se){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.createRequest=void 0;var re=E("./../../../shims/crypto/crypto.js"),ie=E("debug")("ali-oss"),le=E("mime"),ce=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,te=E("../client/getReqUrl"),z=te.getReqUrl,ue=E("./isDingTalk"),ge=ue.isDingTalk;function me(be,ye){return be[ye]||be[ye.toLowerCase()]}function he(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 Pe={"x-oss-date":ce(ye,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Pe["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Pe["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Pe,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Pe["x-oss-security-token"]=this.options.stsToken),ae(be.headers).to(Pe),me(Pe,"Content-Type")||(be.mime&&be.mime.indexOf("/")>0?Pe["Content-Type"]=be.mime:ge()?Pe["Content-Type"]="application/octet-stream":Pe["Content-Type"]=le.getType(be.mime||oe.extname(be.object||""))),me(Pe,"Content-Type")||he(Pe,"Content-Type"),be.content&&(be.disabledMD5||(!be.headers||!be.headers["Content-MD5"]?Pe["Content-MD5"]=re.createHash("md5").update(se.from(be.content,"utf8")).digest("base64"):Pe["Content-MD5"]=be.headers["Content-MD5"]),Pe["Content-Length"]||(Pe["Content-Length"]=be.content.length));var we=Object.prototype.hasOwnProperty;for(var Oe in Pe)Pe[Oe]&&we.call(Pe,Oe)&&(Pe[Oe]=ee(String(Pe[Oe]),this.options.headerEncoding));var Ce=this._getResource(be);if(Pe.authorization=this.authorization(be.method,Ce,be.subres,Pe,this.options.headerEncoding),y(this.options.endpoint.hostname)){var _e=this.options,Ee=_e.region,Me=_e.internal,Ie=_e.secure,Be=b(Ee,Me,Ie);Pe.host="".concat(be.bucket,".").concat(Be.host)}var Re=z.bind(this)(be);ie("request %s %s, with headers %j, !!stream: %s",be.method,Re,Pe,!!be.stream);var tt=be.timeout||this.options.timeout,Ye={method:be.method,content:be.content,stream:be.stream,headers:Pe,timeout:tt,writeStream:be.writeStream,customResponse:be.customResponse,ctx:be.ctx||this.ctx};return this.agent&&(Ye.agent=this.agent),this.httpsAgent&&(Ye.httpsAgent=this.httpsAgent),Ye.enableProxy=!!this.options.enableProxy,Ye.proxy=this.options.proxy?this.options.proxy:null,{url:Re,params:Ye}}de.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,ve,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.dataFix=void 0;var se=E("./isObject"),re=["true","TRUE","1",1],ie=["false","FALSE","0",0];function le(oe,ne,ee){if(se.isObject(oe)){var a=ne.remove,y=a===void 0?[]:a,x=ne.rename,b=x===void 0?{}:x,te=ne.camel,z=te===void 0?[]:te,ue=ne.bool,ge=ue===void 0?[]:ue,me=ne.lowerFirst,he=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]]))}),z.forEach(function(pe){if(oe[pe]){var be=pe.replace(/^(.)/,function(ye){return ye.toLowerCase()}).replace(/-(\w)/g,function(ye,Pe){return Pe.toUpperCase()});oe[be]||(oe[be]=oe[pe])}}),ge.forEach(function(pe){oe[pe]=ce(oe[pe])}),typeof ee=="function"&&ee(oe),ae(oe,he),le}}de.dataFix=le;function ce(oe){return oe?re.includes(oe)?!0:ie.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var re=se(E("@babel/runtime/helpers/typeof"));Object.defineProperty(de,"__esModule",{value:!0}),de.deepCopyWith=de.deepCopy=void 0;var ie=E("./isBuffer");de.deepCopy=function(le){if(le===null||(0,re.default)(le)!=="object")return le;if(ie.isBuffer(le))return le.slice();var ce=Array.isArray(le)?[]:{};return Object.keys(le).forEach(function(ae){ce[ae]=de.deepCopy(le[ae])}),ce},de.deepCopyWith=function(le,ce){function ae(oe,ne,ee){var a=ce(oe,ne,ee);if(a!==void 0)return a;if(oe===null||(0,re.default)(oe)!=="object")return oe;if(ie.isBuffer(oe))return oe.slice();var y=Array.isArray(oe)?[]:{};return Object.keys(oe).forEach(function(x){y[x]=ae(oe[x],x,oe)}),y}return ce?ae(le,"",null):de.deepCopy(le)}},{"./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,ve,de){(function(se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.encoder=void 0;function re(ie){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return le==="utf-8"?ie:se.from(ie).toString("latin1")}de.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,ve,de){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.formatInventoryConfig=void 0;var se=E("../utils/dataFix"),re=E("../utils/isObject"),ie=E("../utils/isArray"),le=E("../utils/formatObjKey");function ce(oe){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ne&&re.isObject(oe)&&(oe=[oe]),ie.isArray(oe)?oe=oe.map(ae):oe=ae(oe),oe}de.formatInventoryConfig=ce;function ae(oe){return se.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&&!ie.isArray((a=ne.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ne.OptionalFields.Field=[ne.OptionalFields.Field])}),oe=le.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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var re=se(E("@babel/runtime/helpers/typeof"));Object.defineProperty(de,"__esModule",{value:!0}),de.formatObjKey=void 0;function ie(ce,ae,oe){if(ce===null||(0,re.default)(ce)!=="object")return ce;var ne;if(Array.isArray(ce)){ne=[];for(var ee=0;ee<ce.length;ee++)ne.push(ie(ce[ee],ae,oe))}else ne={},Object.keys(ce).forEach(function(a){ne[le(a,ae,oe)]=ie(ce[a],ae,oe)});return ne}de.formatObjKey=ie;function le(ce,ae,oe){return oe&&oe.exclude&&oe.exclude.includes(ce)||(ae==="firstUpperCase"?ce=ce.replace(/^./,function(ne){return ne.toUpperCase()}):ae==="firstLowerCase"&&(ce=ce.replace(/^./,function(ne){return ne.toLowerCase()}))),ce}},{"@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,ve,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.getStrBytesCount=void 0;function se(re){for(var ie=0,le=0;le<re.length;le++){var ce=re.charAt(le);/^[\u00-\uff]$/.test(ce)?ie+=1:ie+=2}return ie}de.getStrBytesCount=se},{"core-js/modules/es.regexp.exec.js":300}],63:[function(E,ve,de){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isArray=void 0,de.isArray=function(se){return Object.prototype.toString.call(se)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(E,ve,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isBlob=void 0;function se(re){return typeof Blob!="undefined"&&re instanceof Blob}de.isBlob=se},{}],65:[function(E,ve,de){(function(se){(function(){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isBuffer=void 0;function re(ie){return se.isBuffer(ie)}de.isBuffer=re}).call(this)}).call(this,{isBuffer:E("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(E,ve,de){(function(se){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isDingTalk=void 0;function re(){return!!(se.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}de.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,ve,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isFile=void 0,de.isFile=function(se){return typeof File!="undefined"&&se instanceof File}},{}],68:[function(E,ve,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isFunction=void 0,de.isFunction=function(se){return typeof se=="function"}},{}],69:[function(E,ve,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isIP=void 0,de.isIP=function(se){var re=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,ie=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return re.test(se)||ie.test(se)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(E,ve,de){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isObject=void 0,de.isObject=function(se){return Object.prototype.toString.call(se)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(E,ve,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.lowercaseKeyHeader=void 0;var se=E("./isObject");function re(ie){var le={};return se.isObject(ie)&&Object.keys(ie).forEach(function(ce){le[ce.toLowerCase()]=ie[ce]}),le}de.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,ve,de){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.obj2xml=void 0;var se=E("./formatObjKey");function re(le){return Object.prototype.toString.call(le).replace(/(.*? |])/g,"").toLowerCase()}function ie(le,ce){var ae="";return ce&&ce.headers&&(ae=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),ce&&ce.firstUpperCase&&(le=se.formatObjKey(le,"firstUpperCase")),re(le)==="object"?Object.keys(le).forEach(function(oe){re(le[oe])!=="undefined"&&re(le[oe])!=="null"&&(re(le[oe])==="string"||re(le[oe])==="number"?ae+="<".concat(oe,">").concat(le[oe],"</").concat(oe,">"):re(le[oe])==="object"?ae+="<".concat(oe,">").concat(ie(le[oe]),"</").concat(oe,">"):re(le[oe])==="array"?ae+=le[oe].map(function(ne){return"<".concat(oe,">").concat(ie(ne),"</").concat(oe,">")}).join(""):ae+="<".concat(oe,">").concat(le[oe].toString(),"</").concat(oe,">"))}):ae+=le.toString(),ae}de.obj2xml=ie},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,ve,de){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function se(ce,ae){var oe=typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(!oe){if(Array.isArray(ce)||(oe=re(ce))||ae&&ce&&typeof ce.length=="number"){oe&&(ce=oe);var ne=0,ee=function(){};return{s:ee,n:function(){return ne>=ce.length?{done:!0}:{done:!1,value:ce[ne++]}},e:function(te){throw te},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(ce)},n:function(){var te=oe.next();return a=te.done,te},e:function(te){y=!0,x=te},f:function(){try{!a&&oe.return!=null&&oe.return()}finally{if(y)throw x}}}}function re(ce,ae){if(ce){if(typeof ce=="string")return ie(ce,ae);var oe=Object.prototype.toString.call(ce).slice(8,-1);if(oe==="Object"&&ce.constructor&&(oe=ce.constructor.name),oe==="Map"||oe==="Set")return Array.from(ce);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return ie(ce,ae)}}function ie(ce,ae){(ae==null||ae>ce.length)&&(ae=ce.length);for(var oe=0,ne=new Array(ae);oe<ae;oe++)ne[oe]=ce[oe];return ne}Object.defineProperty(de,"__esModule",{value:!0}),de.omit=void 0;function le(ce,ae){var oe=Object.assign({},ce),ne=se(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}de.omit=le},{"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,ve,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.retry=void 0;function se(re,ie){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ce=0,ae=le.retryDelay,oe=ae===void 0?500:ae,ne=le.errorHandler,ee=ne===void 0?function(){return!0}:ne,a=function y(){for(var x=arguments.length,b=new Array(x),te=0;te<x;te++)b[te]=arguments[te];return new Promise(function(z,ue){re.apply(void 0,b).then(function(ge){ce=0,z(ge)}).catch(function(ge){ce<ie&&ee(ge)?(ce++,setTimeout(function(){z(y.apply(void 0,b))},oe)):(ce=0,ue(ge))})})};return a}de.retry=se},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(E,ve,de){"use strict";var se=function(ce){return ce&&ce.__esModule?ce:{default:ce}};Object.defineProperty(de,"__esModule",{value:!0}),de.setRegion=void 0;var re=se(E("url")),ie=E("./checkConfigValid");function le(ce){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ie.checkConfigValid(ce,"region");var ne=oe?"https://":"http://",ee=ae?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ce.substr(0,a.length)===a&&(ee=".aliyuncs.com"),re.default.parse(ne+ce+ee)}de.setRegion=le},{"./checkConfigValid":52,url:472}],76:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.checkCredentials=de.setSTSToken=void 0;var le=E("./formatObjKey");function ce(){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.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=le.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)}de.setSTSToken=ce;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))})}de.checkCredentials=oe},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,ve,de){function se(ie,le,ce,ae,oe,ne,ee){try{var a=ie[ne](ee),y=a.value}catch(x){ce(x);return}a.done?le(y):Promise.resolve(y).then(ae,oe)}function re(ie){return function(){var le=this,ce=arguments;return new Promise(function(ae,oe){var ne=ie.apply(le,ce);function ee(y){se(ne,ae,oe,ee,a,"next",y)}function a(y){se(ne,ae,oe,ee,a,"throw",y)}ee(void 0)})}}ve.exports=re,ve.exports.__esModule=!0,ve.exports.default=ve.exports},{}],78:[function(E,ve,de){function se(re){return re&&re.__esModule?re:{default:re}}ve.exports=se,ve.exports.__esModule=!0,ve.exports.default=ve.exports},{}],79:[function(E,ve,de){function se(re){"@babel/helpers - typeof";return ve.exports=se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},ve.exports.__esModule=!0,ve.exports.default=ve.exports,se(re)}ve.exports=se,ve.exports.__esModule=!0,ve.exports.default=ve.exports},{}],80:[function(E,ve,de){ve.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,ve,de){ve.exports=se,ve.exports.HttpsAgent=se;function se(){}},{}],82:[function(E,ve,de){(function(se){(function(){"use strict";var re=E("object-assign");function ie(Ee,Me){if(Ee===Me)return 0;for(var Ie=Ee.length,Be=Me.length,Re=0,tt=Math.min(Ie,Be);Re<tt;++Re)if(Ee[Re]!==Me[Re]){Ie=Ee[Re],Be=Me[Re];break}return Ie<Be?-1:Be<Ie?1:0}function le(Ee){return se.Buffer&&typeof se.Buffer.isBuffer=="function"?se.Buffer.isBuffer(Ee):!!(Ee!=null&&Ee._isBuffer)}var ce=E("util/"),ae=Object.prototype.hasOwnProperty,oe=Array.prototype.slice,ne=function(){return function(){}.name==="foo"}();function ee(Ee){return Object.prototype.toString.call(Ee)}function a(Ee){return le(Ee)||typeof se.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Ee):Ee?!!(Ee instanceof DataView||Ee.buffer&&Ee.buffer instanceof ArrayBuffer):!1}var y=ve.exports=me,x=/\s*function\s+([^\(\s]*)\s*/;function b(Ee){if(ce.isFunction(Ee)){if(ne)return Ee.name;var Me=Ee.toString(),Ie=Me.match(x);return Ie&&Ie[1]}}y.AssertionError=function(Me){this.name="AssertionError",this.actual=Me.actual,this.expected=Me.expected,this.operator=Me.operator,Me.message?(this.message=Me.message,this.generatedMessage=!1):(this.message=ue(this),this.generatedMessage=!0);var Ie=Me.stackStartFunction||ge;if(Error.captureStackTrace)Error.captureStackTrace(this,Ie);else{var Be=new Error;if(Be.stack){var Re=Be.stack,tt=b(Ie),Ye=Re.indexOf(`
|
|
|
`+tt);if(Ye>=0){var et=Re.indexOf(`
|
|
|
`,Ye+1);Re=Re.substring(et+1)}this.stack=Re}}},ce.inherits(y.AssertionError,Error);function te(Ee,Me){return typeof Ee=="string"?Ee.length<Me?Ee:Ee.slice(0,Me):Ee}function z(Ee){if(ne||!ce.isFunction(Ee))return ce.inspect(Ee);var Me=b(Ee),Ie=Me?": "+Me:"";return"[Function"+Ie+"]"}function ue(Ee){return te(z(Ee.actual),128)+" "+Ee.operator+" "+te(z(Ee.expected),128)}function ge(Ee,Me,Ie,Be,Re){throw new y.AssertionError({message:Ie,actual:Ee,expected:Me,operator:Be,stackStartFunction:Re})}y.fail=ge;function me(Ee,Me){Ee||ge(Ee,!0,Me,"==",y.ok)}y.ok=me,y.equal=function(Me,Ie,Be){Me!=Ie&&ge(Me,Ie,Be,"==",y.equal)},y.notEqual=function(Me,Ie,Be){Me==Ie&&ge(Me,Ie,Be,"!=",y.notEqual)},y.deepEqual=function(Me,Ie,Be){he(Me,Ie,!1)||ge(Me,Ie,Be,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(Me,Ie,Be){he(Me,Ie,!0)||ge(Me,Ie,Be,"deepStrictEqual",y.deepStrictEqual)};function he(Ee,Me,Ie,Be){if(Ee===Me)return!0;if(le(Ee)&&le(Me))return ie(Ee,Me)===0;if(ce.isDate(Ee)&&ce.isDate(Me))return Ee.getTime()===Me.getTime();if(ce.isRegExp(Ee)&&ce.isRegExp(Me))return Ee.source===Me.source&&Ee.global===Me.global&&Ee.multiline===Me.multiline&&Ee.lastIndex===Me.lastIndex&&Ee.ignoreCase===Me.ignoreCase;if((Ee===null||typeof Ee!="object")&&(Me===null||typeof Me!="object"))return Ie?Ee===Me:Ee==Me;if(a(Ee)&&a(Me)&&ee(Ee)===ee(Me)&&!(Ee instanceof Float32Array||Ee instanceof Float64Array))return ie(new Uint8Array(Ee.buffer),new Uint8Array(Me.buffer))===0;if(le(Ee)!==le(Me))return!1;Be=Be||{actual:[],expected:[]};var Re=Be.actual.indexOf(Ee);return Re!==-1&&Re===Be.expected.indexOf(Me)?!0:(Be.actual.push(Ee),Be.expected.push(Me),be(Ee,Me,Ie,Be))}function pe(Ee){return Object.prototype.toString.call(Ee)=="[object Arguments]"}function be(Ee,Me,Ie,Be){if(Ee==null||Me===null||Me===void 0)return!1;if(ce.isPrimitive(Ee)||ce.isPrimitive(Me))return Ee===Me;if(Ie&&Object.getPrototypeOf(Ee)!==Object.getPrototypeOf(Me))return!1;var Re=pe(Ee),tt=pe(Me);if(Re&&!tt||!Re&&tt)return!1;if(Re)return Ee=oe.call(Ee),Me=oe.call(Me),he(Ee,Me,Ie);var Ye=_e(Ee),et=_e(Me),Xe,Ge;if(Ye.length!==et.length)return!1;for(Ye.sort(),et.sort(),Ge=Ye.length-1;Ge>=0;Ge--)if(Ye[Ge]!==et[Ge])return!1;for(Ge=Ye.length-1;Ge>=0;Ge--)if(Xe=Ye[Ge],!he(Ee[Xe],Me[Xe],Ie,Be))return!1;return!0}y.notDeepEqual=function(Me,Ie,Be){he(Me,Ie,!1)&&ge(Me,Ie,Be,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ye;function ye(Ee,Me,Ie){he(Ee,Me,!0)&&ge(Ee,Me,Ie,"notDeepStrictEqual",ye)}y.strictEqual=function(Me,Ie,Be){Me!==Ie&&ge(Me,Ie,Be,"===",y.strictEqual)},y.notStrictEqual=function(Me,Ie,Be){Me===Ie&&ge(Me,Ie,Be,"!==",y.notStrictEqual)};function Pe(Ee,Me){if(!Ee||!Me)return!1;if(Object.prototype.toString.call(Me)=="[object RegExp]")return Me.test(Ee);try{if(Ee instanceof Me)return!0}catch(Ie){}return Error.isPrototypeOf(Me)?!1:Me.call({},Ee)===!0}function we(Ee){var Me;try{Ee()}catch(Ie){Me=Ie}return Me}function Oe(Ee,Me,Ie,Be){var Re;if(typeof Me!="function")throw new TypeError('"block" argument must be a function');typeof Ie=="string"&&(Be=Ie,Ie=null),Re=we(Me),Be=(Ie&&Ie.name?" ("+Ie.name+").":".")+(Be?" "+Be:"."),Ee&&!Re&&ge(Re,Ie,"Missing expected exception"+Be);var tt=typeof Be=="string",Ye=!Ee&&ce.isError(Re),et=!Ee&&Re&&!Ie;if((Ye&&tt&&Pe(Re,Ie)||et)&&ge(Re,Ie,"Got unwanted exception"+Be),Ee&&Re&&Ie&&!Pe(Re,Ie)||!Ee&&Re)throw Re}y.throws=function(Ee,Me,Ie){Oe(!0,Ee,Me,Ie)},y.doesNotThrow=function(Ee,Me,Ie){Oe(!1,Ee,Me,Ie)},y.ifError=function(Ee){if(Ee)throw Ee};function Ce(Ee,Me){Ee||ge(Ee,!0,Me,"==",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(Ee){var Me=[];for(var Ie in Ee)ae.call(Ee,Ie)&&Me.push(Ie);return Me}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,ve,de){typeof Object.create=="function"?ve.exports=function(re,ie){re.super_=ie,re.prototype=Object.create(ie.prototype,{constructor:{value:re,enumerable:!1,writable:!0,configurable:!0}})}:ve.exports=function(re,ie){re.super_=ie;var le=function(){};le.prototype=ie.prototype,re.prototype=new le,re.prototype.constructor=re}},{}],84:[function(E,ve,de){ve.exports=function(re){return re&&typeof re=="object"&&typeof re.copy=="function"&&typeof re.fill=="function"&&typeof re.readUInt8=="function"}},{}],85:[function(E,ve,de){(function(se,re){(function(){var ie=/%[sdj%]/g;de.format=function(et){if(!be(et)){for(var Xe=[],Ge=0;Ge<arguments.length;Ge++)Xe.push(ae(arguments[Ge]));return Xe.join(" ")}for(var Ge=1,Fe=arguments,je=Fe.length,qe=String(et).replace(ie,function(it){if(it==="%%")return"%";if(Ge>=je)return it;switch(it){case"%s":return String(Fe[Ge++]);case"%d":return Number(Fe[Ge++]);case"%j":try{return JSON.stringify(Fe[Ge++])}catch(Qe){return"[Circular]"}default:return it}}),Je=Fe[Ge];Ge<je;Je=Fe[++Ge])me(Je)||!Oe(Je)?qe+=" "+Je:qe+=" "+ae(Je);return qe},de.deprecate=function(et,Xe){if(Pe(re.process))return function(){return de.deprecate(et,Xe).apply(this,arguments)};if(se.noDeprecation===!0)return et;var Ge=!1;function Fe(){if(!Ge){if(se.throwDeprecation)throw new Error(Xe);se.traceDeprecation?console.trace(Xe):console.error(Xe),Ge=!0}return et.apply(this,arguments)}return Fe};var le={},ce;de.debuglog=function(et){if(Pe(ce)&&(ce=se.env.NODE_DEBUG||""),et=et.toUpperCase(),!le[et])if(new RegExp("\\b"+et+"\\b","i").test(ce)){var Xe=se.pid;le[et]=function(){var Ge=de.format.apply(de,arguments);console.error("%s %d: %s",et,Xe,Ge)}}else le[et]=function(){};return le[et]};function ae(et,Xe){var Ge={seen:[],stylize:ne};return arguments.length>=3&&(Ge.depth=arguments[2]),arguments.length>=4&&(Ge.colors=arguments[3]),ge(Xe)?Ge.showHidden=Xe:Xe&&de._extend(Ge,Xe),Pe(Ge.showHidden)&&(Ge.showHidden=!1),Pe(Ge.depth)&&(Ge.depth=2),Pe(Ge.colors)&&(Ge.colors=!1),Pe(Ge.customInspect)&&(Ge.customInspect=!0),Ge.colors&&(Ge.stylize=oe),a(Ge,et,Ge.depth)}de.inspect=ae,ae.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function oe(et,Xe){var Ge=ae.styles[Xe];return Ge?"\x1B["+ae.colors[Ge][0]+"m"+et+"\x1B["+ae.colors[Ge][1]+"m":et}function ne(et,Xe){return et}function ee(et){var Xe={};return et.forEach(function(Ge,Fe){Xe[Ge]=!0}),Xe}function a(et,Xe,Ge){if(et.customInspect&&Xe&&Ee(Xe.inspect)&&Xe.inspect!==de.inspect&&!(Xe.constructor&&Xe.constructor.prototype===Xe)){var Fe=Xe.inspect(Ge,et);return be(Fe)||(Fe=a(et,Fe,Ge)),Fe}var je=y(et,Xe);if(je)return je;var qe=Object.keys(Xe),Je=ee(qe);if(et.showHidden&&(qe=Object.getOwnPropertyNames(Xe)),_e(Xe)&&(qe.indexOf("message")>=0||qe.indexOf("description")>=0))return x(Xe);if(qe.length===0){if(Ee(Xe)){var it=Xe.name?": "+Xe.name:"";return et.stylize("[Function"+it+"]","special")}if(we(Xe))return et.stylize(RegExp.prototype.toString.call(Xe),"regexp");if(Ce(Xe))return et.stylize(Date.prototype.toString.call(Xe),"date");if(_e(Xe))return x(Xe)}var Qe="",Ze=!1,De=["{","}"];if(ue(Xe)&&(Ze=!0,De=["[","]"]),Ee(Xe)){var Ve=Xe.name?": "+Xe.name:"";Qe=" [Function"+Ve+"]"}if(we(Xe)&&(Qe=" "+RegExp.prototype.toString.call(Xe)),Ce(Xe)&&(Qe=" "+Date.prototype.toUTCString.call(Xe)),_e(Xe)&&(Qe=" "+x(Xe)),qe.length===0&&(!Ze||Xe.length==0))return De[0]+Qe+De[1];if(Ge<0)return we(Xe)?et.stylize(RegExp.prototype.toString.call(Xe),"regexp"):et.stylize("[Object]","special");et.seen.push(Xe);var Ae;return Ze?Ae=b(et,Xe,Ge,Je,qe):Ae=qe.map(function(ke){return te(et,Xe,Ge,Je,ke,Ze)}),et.seen.pop(),z(Ae,Qe,De)}function y(et,Xe){if(Pe(Xe))return et.stylize("undefined","undefined");if(be(Xe)){var Ge="'"+JSON.stringify(Xe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return et.stylize(Ge,"string")}if(pe(Xe))return et.stylize(""+Xe,"number");if(ge(Xe))return et.stylize(""+Xe,"boolean");if(me(Xe))return et.stylize("null","null")}function x(et){return"["+Error.prototype.toString.call(et)+"]"}function b(et,Xe,Ge,Fe,je){for(var qe=[],Je=0,it=Xe.length;Je<it;++Je)Ye(Xe,String(Je))?qe.push(te(et,Xe,Ge,Fe,String(Je),!0)):qe.push("");return je.forEach(function(Qe){Qe.match(/^\d+$/)||qe.push(te(et,Xe,Ge,Fe,Qe,!0))}),qe}function te(et,Xe,Ge,Fe,je,qe){var Je,it,Qe;if(Qe=Object.getOwnPropertyDescriptor(Xe,je)||{value:Xe[je]},Qe.get?Qe.set?it=et.stylize("[Getter/Setter]","special"):it=et.stylize("[Getter]","special"):Qe.set&&(it=et.stylize("[Setter]","special")),Ye(Fe,je)||(Je="["+je+"]"),it||(et.seen.indexOf(Qe.value)<0?(me(Ge)?it=a(et,Qe.value,null):it=a(et,Qe.value,Ge-1),it.indexOf(`
|
|
|
`)>-1&&(qe?it=it.split(`
|
|
|
`).map(function(Ze){return" "+Ze}).join(`
|
|
|
`).substr(2):it=`
|
|
|
`+it.split(`
|
|
|
`).map(function(Ze){return" "+Ze}).join(`
|
|
|
`))):it=et.stylize("[Circular]","special")),Pe(Je)){if(qe&&je.match(/^\d+$/))return it;Je=JSON.stringify(""+je),Je.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Je=Je.substr(1,Je.length-2),Je=et.stylize(Je,"name")):(Je=Je.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Je=et.stylize(Je,"string"))}return Je+": "+it}function z(et,Xe,Ge){var Fe=0,je=et.reduce(function(qe,Je){return Fe++,Je.indexOf(`
|
|
|
`)>=0&&Fe++,qe+Je.replace(/\u001b\[\d\d?m/g,"").length+1},0);return je>60?Ge[0]+(Xe===""?"":Xe+`
|
|
|
`)+" "+et.join(`,
|
|
|
`)+" "+Ge[1]:Ge[0]+Xe+" "+et.join(", ")+" "+Ge[1]}function ue(et){return Array.isArray(et)}de.isArray=ue;function ge(et){return typeof et=="boolean"}de.isBoolean=ge;function me(et){return et===null}de.isNull=me;function he(et){return et==null}de.isNullOrUndefined=he;function pe(et){return typeof et=="number"}de.isNumber=pe;function be(et){return typeof et=="string"}de.isString=be;function ye(et){return typeof et=="symbol"}de.isSymbol=ye;function Pe(et){return et===void 0}de.isUndefined=Pe;function we(et){return Oe(et)&&Ie(et)==="[object RegExp]"}de.isRegExp=we;function Oe(et){return typeof et=="object"&&et!==null}de.isObject=Oe;function Ce(et){return Oe(et)&&Ie(et)==="[object Date]"}de.isDate=Ce;function _e(et){return Oe(et)&&(Ie(et)==="[object Error]"||et instanceof Error)}de.isError=_e;function Ee(et){return typeof et=="function"}de.isFunction=Ee;function Me(et){return et===null||typeof et=="boolean"||typeof et=="number"||typeof et=="string"||typeof et=="symbol"||typeof et=="undefined"}de.isPrimitive=Me,de.isBuffer=E("./support/isBuffer");function Ie(et){return Object.prototype.toString.call(et)}function Be(et){return et<10?"0"+et.toString(10):et.toString(10)}var Re=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function tt(){var et=new Date,Xe=[Be(et.getHours()),Be(et.getMinutes()),Be(et.getSeconds())].join(":");return[et.getDate(),Re[et.getMonth()],Xe].join(" ")}de.log=function(){console.log("%s - %s",tt(),de.format.apply(de,arguments))},de.inherits=E("inherits"),de._extend=function(et,Xe){if(!Xe||!Oe(Xe))return et;for(var Ge=Object.keys(Xe),Fe=Ge.length;Fe--;)et[Ge[Fe]]=Xe[Ge[Fe]];return et};function Ye(et,Xe){return Object.prototype.hasOwnProperty.call(et,Xe)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,ve,de){(function(se){(function(){"use strict";var re=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ie=typeof globalThis=="undefined"?se:globalThis;ve.exports=function(){for(var ce=[],ae=0;ae<re.length;ae++)typeof ie[re[ae]]=="function"&&(ce[ce.length]=re[ae]);return ce}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(E,ve,de){"use strict";de.byteLength=ne,de.toByteArray=a,de.fromByteArray=b;for(var se=[],re=[],ie=typeof Uint8Array!="undefined"?Uint8Array:Array,le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ce=0,ae=le.length;ce<ae;++ce)se[ce]=le[ce],re[le.charCodeAt(ce)]=ce;re[45]=62,re[95]=63;function oe(te){var z=te.length;if(z%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ue=te.indexOf("=");ue===-1&&(ue=z);var ge=ue===z?0:4-ue%4;return[ue,ge]}function ne(te){var z=oe(te),ue=z[0],ge=z[1];return(ue+ge)*3/4-ge}function ee(te,z,ue){return(z+ue)*3/4-ue}function a(te){var z,ue=oe(te),ge=ue[0],me=ue[1],he=new ie(ee(te,ge,me)),pe=0,be=me>0?ge-4:ge,ye;for(ye=0;ye<be;ye+=4)z=re[te.charCodeAt(ye)]<<18|re[te.charCodeAt(ye+1)]<<12|re[te.charCodeAt(ye+2)]<<6|re[te.charCodeAt(ye+3)],he[pe++]=z>>16&255,he[pe++]=z>>8&255,he[pe++]=z&255;return me===2&&(z=re[te.charCodeAt(ye)]<<2|re[te.charCodeAt(ye+1)]>>4,he[pe++]=z&255),me===1&&(z=re[te.charCodeAt(ye)]<<10|re[te.charCodeAt(ye+1)]<<4|re[te.charCodeAt(ye+2)]>>2,he[pe++]=z>>8&255,he[pe++]=z&255),he}function y(te){return se[te>>18&63]+se[te>>12&63]+se[te>>6&63]+se[te&63]}function x(te,z,ue){for(var ge,me=[],he=z;he<ue;he+=3)ge=(te[he]<<16&16711680)+(te[he+1]<<8&65280)+(te[he+2]&255),me.push(y(ge));return me.join("")}function b(te){for(var z,ue=te.length,ge=ue%3,me=[],he=16383,pe=0,be=ue-ge;pe<be;pe+=he)me.push(x(te,pe,pe+he>be?be:pe+he));return ge===1?(z=te[ue-1],me.push(se[z>>2]+se[z<<4&63]+"==")):ge===2&&(z=(te[ue-2]<<8)+te[ue-1],me.push(se[z>>10]+se[z>>4&63]+se[z<<2&63]+"=")),me.join("")}},{}],88:[function(E,ve,de){(function(se,re,ie){typeof ve!="undefined"&&ve.exports?ve.exports=ie():typeof fe=="function"&&fe.amd?fe(re,ie):se[re]=ie()})(this,"bowser",function(){var se=!0;function re(ee){function a(Xe){var Ge=ee.match(Xe);return Ge&&Ge.length>1&&Ge[1]||""}function y(Xe){var Ge=ee.match(Xe);return Ge&&Ge.length>1&&Ge[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(ee),te=!b&&/android/i.test(ee),z=/nexus\s*[0-6]\s*/i.test(ee),ue=!z&&/nexus\s*[0-9]+/i.test(ee),ge=/CrOS/.test(ee),me=/silk/i.test(ee),he=/sailfish/i.test(ee),pe=/tizen/i.test(ee),be=/(web|hpw)(o|0)s/i.test(ee),ye=/windows phone/i.test(ee),Pe=/SamsungBrowser/i.test(ee),we=!ye&&/windows/i.test(ee),Oe=!x&&!me&&/macintosh/i.test(ee),Ce=!te&&!he&&!pe&&!be&&/linux/i.test(ee),_e=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ee=a(/version\/(\d+(\.\d+)?)/i),Me=/tablet/i.test(ee)&&!/tablet pc/i.test(ee),Ie=!Me&&/[^-]mobi/i.test(ee),Be=/xbox/i.test(ee),Re;/opera/i.test(ee)?Re={name:"Opera",opera:se,version:Ee||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ee)?Re={name:"Opera",opera:se,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ee}:/SamsungBrowser/i.test(ee)?Re={name:"Samsung Internet for Android",samsungBrowser:se,version:Ee||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ee)?Re={name:"NAVER Whale browser",whale:se,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ee)?Re={name:"MZ Browser",mzbrowser:se,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ee)?Re={name:"Opera Coast",coast:se,version:Ee||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ee)?Re={name:"Focus",focus:se,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ee)?Re={name:"Yandex Browser",yandexbrowser:se,version:Ee||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ee)?Re={name:"UC Browser",ucbrowser:se,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ee)?Re={name:"Maxthon",maxthon:se,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ee)?Re={name:"Epiphany",epiphany:se,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ee)?Re={name:"Puffin",puffin:se,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ee)?Re={name:"Sleipnir",sleipnir:se,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ee)?Re={name:"K-Meleon",kMeleon:se,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ye?(Re={name:"Windows Phone",osname:"Windows Phone",windowsphone:se},_e?(Re.msedge=se,Re.version=_e):(Re.msie=se,Re.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ee)?Re={name:"Internet Explorer",msie:se,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ge?Re={name:"Chrome",osname:"Chrome OS",chromeos:se,chromeBook:se,chrome:se,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ee)?Re={name:"Microsoft Edge",msedge:se,version:_e}:/vivaldi/i.test(ee)?Re={name:"Vivaldi",vivaldi:se,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ee}:he?Re={name:"Sailfish",osname:"Sailfish OS",sailfish:se,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ee)?Re={name:"SeaMonkey",seamonkey:se,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ee)?(Re={name:"Firefox",firefox:se,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ee)&&(Re.firefoxos=se,Re.osname="Firefox OS")):me?Re={name:"Amazon Silk",silk:se,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ee)?Re={name:"PhantomJS",phantom:se,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ee)?Re={name:"SlimerJS",slimer:se,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ee)||/rim\stablet/i.test(ee)?Re={name:"BlackBerry",osname:"BlackBerry OS",blackberry:se,version:Ee||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:be?(Re={name:"WebOS",osname:"WebOS",webos:se,version:Ee||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ee)&&(Re.touchpad=se)):/bada/i.test(ee)?Re={name:"Bada",osname:"Bada",bada:se,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:pe?Re={name:"Tizen",osname:"Tizen",tizen:se,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ee}:/qupzilla/i.test(ee)?Re={name:"QupZilla",qupzilla:se,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ee}:/chromium/i.test(ee)?Re={name:"Chromium",chromium:se,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ee}:/chrome|crios|crmo/i.test(ee)?Re={name:"Chrome",chrome:se,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:te?Re={name:"Android",version:Ee}:/safari|applewebkit/i.test(ee)?(Re={name:"Safari",safari:se},Ee&&(Re.version=Ee)):x?(Re={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Ee&&(Re.version=Ee)):/googlebot/i.test(ee)?Re={name:"Googlebot",googlebot:se,version:a(/googlebot\/(\d+(\.\d+))/i)||Ee}:Re={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Re.msedge&&/(apple)?webkit/i.test(ee)?(/(apple)?webkit\/537\.36/i.test(ee)?(Re.name=Re.name||"Blink",Re.blink=se):(Re.name=Re.name||"Webkit",Re.webkit=se),!Re.version&&Ee&&(Re.version=Ee)):!Re.opera&&/gecko\//i.test(ee)&&(Re.name=Re.name||"Gecko",Re.gecko=se,Re.version=Re.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Re.windowsphone&&(te||Re.silk)?(Re.android=se,Re.osname="Android"):!Re.windowsphone&&x?(Re[x]=se,Re.ios=se,Re.osname="iOS"):Oe?(Re.mac=se,Re.osname="macOS"):Be?(Re.xbox=se,Re.osname="Xbox"):we?(Re.windows=se,Re.osname="Windows"):Ce&&(Re.linux=se,Re.osname="Linux");function tt(Xe){switch(Xe){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 Ye="";Re.windows?Ye=tt(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Re.windowsphone?Ye=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Re.mac?(Ye=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Ye=Ye.replace(/[_\s]/g,".")):x?(Ye=a(/os (\d+([_\s]\d+)*) like mac os x/i),Ye=Ye.replace(/[_\s]/g,".")):te?Ye=a(/android[ \/-](\d+(\.\d+)*)/i):Re.webos?Ye=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Re.blackberry?Ye=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Re.bada?Ye=a(/bada\/(\d+(\.\d+)*)/i):Re.tizen&&(Ye=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Ye&&(Re.osversion=Ye);var et=!Re.windows&&Ye.split(".")[0];return Me||ue||x=="ipad"||te&&(et==3||et>=4&&!Ie)||Re.silk?Re.tablet=se:(Ie||x=="iphone"||x=="ipod"||te||z||Re.blackberry||Re.webos||Re.bada)&&(Re.mobile=se),Re.msedge||Re.msie&&Re.version>=10||Re.yandexbrowser&&Re.version>=15||Re.vivaldi&&Re.version>=1||Re.chrome&&Re.version>=20||Re.samsungBrowser&&Re.version>=4||Re.whale&&ae([Re.version,"1.0"])===1||Re.mzbrowser&&ae([Re.version,"6.0"])===1||Re.focus&&ae([Re.version,"1.0"])===1||Re.firefox&&Re.version>=20||Re.safari&&Re.version>=6||Re.opera&&Re.version>=10||Re.ios&&Re.osversion&&Re.osversion.split(".")[0]>=6||Re.blackberry&&Re.version>=10.1||Re.chromium&&Re.version>=20?Re.a=se:Re.msie&&Re.version<10||Re.chrome&&Re.version<20||Re.firefox&&Re.version<20||Re.safari&&Re.version<6||Re.opera&&Re.version<10||Re.ios&&Re.osversion&&Re.osversion.split(".")[0]<6||Re.chromium&&Re.version<20?Re.c=se:Re.x=se,Re}var ie=re(typeof navigator!="undefined"&&navigator.userAgent||"");ie.test=function(ee){for(var a=0;a<ee.length;++a){var y=ee[a];if(typeof y=="string"&&y in ie)return!0}return!1};function le(ee){return ee.split(".").length}function ce(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(le(ee[0]),le(ee[1])),y=ce(ee,function(x){var b=a-le(x);return x=x+new Array(b+1).join(".0"),ce(x.split("."),function(te){return new Array(20-te.length).join("0")+te}).reverse()});--a>=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function oe(ee,a,y){var x=ie;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=re(y));var b=""+x.version;for(var te in ee)if(ee.hasOwnProperty(te)&&x[te]){if(typeof ee[te]!="string")throw new Error("Browser version in the minVersion map should be a string: "+te+": "+String(ee));return ae([b,ee[te]])<0}return a}function ne(ee,a,y){return!oe(ee,a,y)}return ie.isUnsupportedBrowser=oe,ie.compareVersions=ae,ie.check=ne,ie._detect=re,ie.detect=re,ie})},{}],89:[function(E,ve,de){},{}],90:[function(E,ve,de){(function(se){(function(){"use strict";var re=E("base64-js"),ie=E("ieee754");de.Buffer=oe,de.SlowBuffer=ge,de.INSPECT_MAX_BYTES=50;var le=2147483647;de.kMaxLength=le,oe.TYPED_ARRAY_SUPPORT=ce(),!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 ce(){try{var Le=new Uint8Array(1);return Le.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Le.foo()===42}catch(Te){return!1}}Object.defineProperty(oe.prototype,"parent",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.buffer}}),Object.defineProperty(oe.prototype,"offset",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.byteOffset}});function ae(Le){if(Le>le)throw new RangeError('The value "'+Le+'" is invalid for option "size"');var Te=new Uint8Array(Le);return Te.__proto__=oe.prototype,Te}function oe(Le,Te,Ne){if(typeof Le=="number"){if(typeof Te=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Le)}return ne(Le,Te,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(Le,Te,Ne){if(typeof Le=="string")return x(Le,Te);if(ArrayBuffer.isView(Le))return b(Le);if(Le==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Le);if(Ke(Le,ArrayBuffer)||Le&&Ke(Le.buffer,ArrayBuffer))return te(Le,Te,Ne);if(typeof Le=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var He=Le.valueOf&&Le.valueOf();if(He!=null&&He!==Le)return oe.from(He,Te,Ne);var rt=z(Le);if(rt)return rt;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Le[Symbol.toPrimitive]=="function")return oe.from(Le[Symbol.toPrimitive]("string"),Te,Ne);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Le)}oe.from=function(Le,Te,Ne){return ne(Le,Te,Ne)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function ee(Le){if(typeof Le!="number")throw new TypeError('"size" argument must be of type number');if(Le<0)throw new RangeError('The value "'+Le+'" is invalid for option "size"')}function a(Le,Te,Ne){return ee(Le),Le<=0?ae(Le):Te!==void 0?typeof Ne=="string"?ae(Le).fill(Te,Ne):ae(Le).fill(Te):ae(Le)}oe.alloc=function(Le,Te,Ne){return a(Le,Te,Ne)};function y(Le){return ee(Le),ae(Le<0?0:ue(Le)|0)}oe.allocUnsafe=function(Le){return y(Le)},oe.allocUnsafeSlow=function(Le){return y(Le)};function x(Le,Te){if((typeof Te!="string"||Te==="")&&(Te="utf8"),!oe.isEncoding(Te))throw new TypeError("Unknown encoding: "+Te);var Ne=me(Le,Te)|0,He=ae(Ne),rt=He.write(Le,Te);return rt!==Ne&&(He=He.slice(0,rt)),He}function b(Le){for(var Te=Le.length<0?0:ue(Le.length)|0,Ne=ae(Te),He=0;He<Te;He+=1)Ne[He]=Le[He]&255;return Ne}function te(Le,Te,Ne){if(Te<0||Le.byteLength<Te)throw new RangeError('"offset" is outside of buffer bounds');if(Le.byteLength<Te+(Ne||0))throw new RangeError('"length" is outside of buffer bounds');var He;return Te===void 0&&Ne===void 0?He=new Uint8Array(Le):Ne===void 0?He=new Uint8Array(Le,Te):He=new Uint8Array(Le,Te,Ne),He.__proto__=oe.prototype,He}function z(Le){if(oe.isBuffer(Le)){var Te=ue(Le.length)|0,Ne=ae(Te);return Ne.length===0||Le.copy(Ne,0,0,Te),Ne}if(Le.length!==void 0)return typeof Le.length!="number"||ze(Le.length)?ae(0):b(Le);if(Le.type==="Buffer"&&Array.isArray(Le.data))return b(Le.data)}function ue(Le){if(Le>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return Le|0}function ge(Le){return+Le!=Le&&(Le=0),oe.alloc(+Le)}oe.isBuffer=function(Te){return Te!=null&&Te._isBuffer===!0&&Te!==oe.prototype},oe.compare=function(Te,Ne){if(Ke(Te,Uint8Array)&&(Te=oe.from(Te,Te.offset,Te.byteLength)),Ke(Ne,Uint8Array)&&(Ne=oe.from(Ne,Ne.offset,Ne.byteLength)),!oe.isBuffer(Te)||!oe.isBuffer(Ne))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Te===Ne)return 0;for(var He=Te.length,rt=Ne.length,mt=0,vt=Math.min(He,rt);mt<vt;++mt)if(Te[mt]!==Ne[mt]){He=Te[mt],rt=Ne[mt];break}return He<rt?-1:rt<He?1:0},oe.isEncoding=function(Te){switch(String(Te).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},oe.concat=function(Te,Ne){if(!Array.isArray(Te))throw new TypeError('"list" argument must be an Array of Buffers');if(Te.length===0)return oe.alloc(0);var He;if(Ne===void 0)for(Ne=0,He=0;He<Te.length;++He)Ne+=Te[He].length;var rt=oe.allocUnsafe(Ne),mt=0;for(He=0;He<Te.length;++He){var vt=Te[He];if(Ke(vt,Uint8Array)&&(vt=oe.from(vt)),!oe.isBuffer(vt))throw new TypeError('"list" argument must be an Array of Buffers');vt.copy(rt,mt),mt+=vt.length}return rt};function me(Le,Te){if(oe.isBuffer(Le))return Le.length;if(ArrayBuffer.isView(Le)||Ke(Le,ArrayBuffer))return Le.byteLength;if(typeof Le!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Le);var Ne=Le.length,He=arguments.length>2&&arguments[2]===!0;if(!He&&Ne===0)return 0;for(var rt=!1;;)switch(Te){case"ascii":case"latin1":case"binary":return Ne;case"utf8":case"utf-8":return De(Le).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne*2;case"hex":return Ne>>>1;case"base64":return ke(Le).length;default:if(rt)return He?-1:De(Le).length;Te=(""+Te).toLowerCase(),rt=!0}}oe.byteLength=me;function he(Le,Te,Ne){var He=!1;if((Te===void 0||Te<0)&&(Te=0),Te>this.length||((Ne===void 0||Ne>this.length)&&(Ne=this.length),Ne<=0)||(Ne>>>=0,Te>>>=0,Ne<=Te))return"";for(Le||(Le="utf8");;)switch(Le){case"hex":return et(this,Te,Ne);case"utf8":case"utf-8":return Ie(this,Te,Ne);case"ascii":return tt(this,Te,Ne);case"latin1":case"binary":return Ye(this,Te,Ne);case"base64":return Me(this,Te,Ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe(this,Te,Ne);default:if(He)throw new TypeError("Unknown encoding: "+Le);Le=(Le+"").toLowerCase(),He=!0}}oe.prototype._isBuffer=!0;function pe(Le,Te,Ne){var He=Le[Te];Le[Te]=Le[Ne],Le[Ne]=He}oe.prototype.swap16=function(){var Te=this.length;if(Te%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ne=0;Ne<Te;Ne+=2)pe(this,Ne,Ne+1);return this},oe.prototype.swap32=function(){var Te=this.length;if(Te%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Ne=0;Ne<Te;Ne+=4)pe(this,Ne,Ne+3),pe(this,Ne+1,Ne+2);return this},oe.prototype.swap64=function(){var Te=this.length;if(Te%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Ne=0;Ne<Te;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 Te=this.length;return Te===0?"":arguments.length===0?Ie(this,0,Te):he.apply(this,arguments)},oe.prototype.toLocaleString=oe.prototype.toString,oe.prototype.equals=function(Te){if(!oe.isBuffer(Te))throw new TypeError("Argument must be a Buffer");return this===Te?!0:oe.compare(this,Te)===0},oe.prototype.inspect=function(){var Te="",Ne=de.INSPECT_MAX_BYTES;return Te=this.toString("hex",0,Ne).replace(/(.{2})/g,"$1 ").trim(),this.length>Ne&&(Te+=" ... "),"<Buffer "+Te+">"},oe.prototype.compare=function(Te,Ne,He,rt,mt){if(Ke(Te,Uint8Array)&&(Te=oe.from(Te,Te.offset,Te.byteLength)),!oe.isBuffer(Te))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Te);if(Ne===void 0&&(Ne=0),He===void 0&&(He=Te?Te.length:0),rt===void 0&&(rt=0),mt===void 0&&(mt=this.length),Ne<0||He>Te.length||rt<0||mt>this.length)throw new RangeError("out of range index");if(rt>=mt&&Ne>=He)return 0;if(rt>=mt)return-1;if(Ne>=He)return 1;if(Ne>>>=0,He>>>=0,rt>>>=0,mt>>>=0,this===Te)return 0;for(var vt=mt-rt,nt=He-Ne,ut=Math.min(vt,nt),Et=this.slice(rt,mt),Ot=Te.slice(Ne,He),at=0;at<ut;++at)if(Et[at]!==Ot[at]){vt=Et[at],nt=Ot[at];break}return vt<nt?-1:nt<vt?1:0};function be(Le,Te,Ne,He,rt){if(Le.length===0)return-1;if(typeof Ne=="string"?(He=Ne,Ne=0):Ne>2147483647?Ne=2147483647:Ne<-2147483648&&(Ne=-2147483648),Ne=+Ne,ze(Ne)&&(Ne=rt?0:Le.length-1),Ne<0&&(Ne=Le.length+Ne),Ne>=Le.length){if(rt)return-1;Ne=Le.length-1}else if(Ne<0)if(rt)Ne=0;else return-1;if(typeof Te=="string"&&(Te=oe.from(Te,He)),oe.isBuffer(Te))return Te.length===0?-1:ye(Le,Te,Ne,He,rt);if(typeof Te=="number")return Te=Te&255,typeof Uint8Array.prototype.indexOf=="function"?rt?Uint8Array.prototype.indexOf.call(Le,Te,Ne):Uint8Array.prototype.lastIndexOf.call(Le,Te,Ne):ye(Le,[Te],Ne,He,rt);throw new TypeError("val must be string, number or Buffer")}function ye(Le,Te,Ne,He,rt){var mt=1,vt=Le.length,nt=Te.length;if(He!==void 0&&(He=String(He).toLowerCase(),He==="ucs2"||He==="ucs-2"||He==="utf16le"||He==="utf-16le")){if(Le.length<2||Te.length<2)return-1;mt=2,vt/=2,nt/=2,Ne/=2}function ut(st,pt){return mt===1?st[pt]:st.readUInt16BE(pt*mt)}var Et;if(rt){var Ot=-1;for(Et=Ne;Et<vt;Et++)if(ut(Le,Et)===ut(Te,Ot===-1?0:Et-Ot)){if(Ot===-1&&(Ot=Et),Et-Ot+1===nt)return Ot*mt}else Ot!==-1&&(Et-=Et-Ot),Ot=-1}else for(Ne+nt>vt&&(Ne=vt-nt),Et=Ne;Et>=0;Et--){for(var at=!0,Tt=0;Tt<nt;Tt++)if(ut(Le,Et+Tt)!==ut(Te,Tt)){at=!1;break}if(at)return Et}return-1}oe.prototype.includes=function(Te,Ne,He){return this.indexOf(Te,Ne,He)!==-1},oe.prototype.indexOf=function(Te,Ne,He){return be(this,Te,Ne,He,!0)},oe.prototype.lastIndexOf=function(Te,Ne,He){return be(this,Te,Ne,He,!1)};function Pe(Le,Te,Ne,He){Ne=Number(Ne)||0;var rt=Le.length-Ne;He?(He=Number(He),He>rt&&(He=rt)):He=rt;var mt=Te.length;He>mt/2&&(He=mt/2);for(var vt=0;vt<He;++vt){var nt=parseInt(Te.substr(vt*2,2),16);if(ze(nt))return vt;Le[Ne+vt]=nt}return vt}function we(Le,Te,Ne,He){return $e(De(Te,Le.length-Ne),Le,Ne,He)}function Oe(Le,Te,Ne,He){return $e(Ve(Te),Le,Ne,He)}function Ce(Le,Te,Ne,He){return Oe(Le,Te,Ne,He)}function _e(Le,Te,Ne,He){return $e(ke(Te),Le,Ne,He)}function Ee(Le,Te,Ne,He){return $e(Ae(Te,Le.length-Ne),Le,Ne,He)}oe.prototype.write=function(Te,Ne,He,rt){if(Ne===void 0)rt="utf8",He=this.length,Ne=0;else if(He===void 0&&typeof Ne=="string")rt=Ne,He=this.length,Ne=0;else if(isFinite(Ne))Ne=Ne>>>0,isFinite(He)?(He=He>>>0,rt===void 0&&(rt="utf8")):(rt=He,He=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var mt=this.length-Ne;if((He===void 0||He>mt)&&(He=mt),Te.length>0&&(He<0||Ne<0)||Ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");rt||(rt="utf8");for(var vt=!1;;)switch(rt){case"hex":return Pe(this,Te,Ne,He);case"utf8":case"utf-8":return we(this,Te,Ne,He);case"ascii":return Oe(this,Te,Ne,He);case"latin1":case"binary":return Ce(this,Te,Ne,He);case"base64":return _e(this,Te,Ne,He);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ee(this,Te,Ne,He);default:if(vt)throw new TypeError("Unknown encoding: "+rt);rt=(""+rt).toLowerCase(),vt=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Me(Le,Te,Ne){return Te===0&&Ne===Le.length?re.fromByteArray(Le):re.fromByteArray(Le.slice(Te,Ne))}function Ie(Le,Te,Ne){Ne=Math.min(Le.length,Ne);for(var He=[],rt=Te;rt<Ne;){var mt=Le[rt],vt=null,nt=mt>239?4:mt>223?3:mt>191?2:1;if(rt+nt<=Ne){var ut,Et,Ot,at;switch(nt){case 1:mt<128&&(vt=mt);break;case 2:ut=Le[rt+1],(ut&192)===128&&(at=(mt&31)<<6|ut&63,at>127&&(vt=at));break;case 3:ut=Le[rt+1],Et=Le[rt+2],(ut&192)===128&&(Et&192)===128&&(at=(mt&15)<<12|(ut&63)<<6|Et&63,at>2047&&(at<55296||at>57343)&&(vt=at));break;case 4:ut=Le[rt+1],Et=Le[rt+2],Ot=Le[rt+3],(ut&192)===128&&(Et&192)===128&&(Ot&192)===128&&(at=(mt&15)<<18|(ut&63)<<12|(Et&63)<<6|Ot&63,at>65535&&at<1114112&&(vt=at))}}vt===null?(vt=65533,nt=1):vt>65535&&(vt-=65536,He.push(vt>>>10&1023|55296),vt=56320|vt&1023),He.push(vt),rt+=nt}return Re(He)}var Be=4096;function Re(Le){var Te=Le.length;if(Te<=Be)return String.fromCharCode.apply(String,Le);for(var Ne="",He=0;He<Te;)Ne+=String.fromCharCode.apply(String,Le.slice(He,He+=Be));return Ne}function tt(Le,Te,Ne){var He="";Ne=Math.min(Le.length,Ne);for(var rt=Te;rt<Ne;++rt)He+=String.fromCharCode(Le[rt]&127);return He}function Ye(Le,Te,Ne){var He="";Ne=Math.min(Le.length,Ne);for(var rt=Te;rt<Ne;++rt)He+=String.fromCharCode(Le[rt]);return He}function et(Le,Te,Ne){var He=Le.length;(!Te||Te<0)&&(Te=0),(!Ne||Ne<0||Ne>He)&&(Ne=He);for(var rt="",mt=Te;mt<Ne;++mt)rt+=Ze(Le[mt]);return rt}function Xe(Le,Te,Ne){for(var He=Le.slice(Te,Ne),rt="",mt=0;mt<He.length;mt+=2)rt+=String.fromCharCode(He[mt]+He[mt+1]*256);return rt}oe.prototype.slice=function(Te,Ne){var He=this.length;Te=~~Te,Ne=Ne===void 0?He:~~Ne,Te<0?(Te+=He,Te<0&&(Te=0)):Te>He&&(Te=He),Ne<0?(Ne+=He,Ne<0&&(Ne=0)):Ne>He&&(Ne=He),Ne<Te&&(Ne=Te);var rt=this.subarray(Te,Ne);return rt.__proto__=oe.prototype,rt};function Ge(Le,Te,Ne){if(Le%1!==0||Le<0)throw new RangeError("offset is not uint");if(Le+Te>Ne)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Te,Ne,He){Te=Te>>>0,Ne=Ne>>>0,He||Ge(Te,Ne,this.length);for(var rt=this[Te],mt=1,vt=0;++vt<Ne&&(mt*=256);)rt+=this[Te+vt]*mt;return rt},oe.prototype.readUIntBE=function(Te,Ne,He){Te=Te>>>0,Ne=Ne>>>0,He||Ge(Te,Ne,this.length);for(var rt=this[Te+--Ne],mt=1;Ne>0&&(mt*=256);)rt+=this[Te+--Ne]*mt;return rt},oe.prototype.readUInt8=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,1,this.length),this[Te]},oe.prototype.readUInt16LE=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,2,this.length),this[Te]|this[Te+1]<<8},oe.prototype.readUInt16BE=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,2,this.length),this[Te]<<8|this[Te+1]},oe.prototype.readUInt32LE=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,4,this.length),(this[Te]|this[Te+1]<<8|this[Te+2]<<16)+this[Te+3]*16777216},oe.prototype.readUInt32BE=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,4,this.length),this[Te]*16777216+(this[Te+1]<<16|this[Te+2]<<8|this[Te+3])},oe.prototype.readIntLE=function(Te,Ne,He){Te=Te>>>0,Ne=Ne>>>0,He||Ge(Te,Ne,this.length);for(var rt=this[Te],mt=1,vt=0;++vt<Ne&&(mt*=256);)rt+=this[Te+vt]*mt;return mt*=128,rt>=mt&&(rt-=Math.pow(2,8*Ne)),rt},oe.prototype.readIntBE=function(Te,Ne,He){Te=Te>>>0,Ne=Ne>>>0,He||Ge(Te,Ne,this.length);for(var rt=Ne,mt=1,vt=this[Te+--rt];rt>0&&(mt*=256);)vt+=this[Te+--rt]*mt;return mt*=128,vt>=mt&&(vt-=Math.pow(2,8*Ne)),vt},oe.prototype.readInt8=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,1,this.length),this[Te]&128?(255-this[Te]+1)*-1:this[Te]},oe.prototype.readInt16LE=function(Te,Ne){Te=Te>>>0,Ne||Ge(Te,2,this.length);var He=this[Te]|this[Te+1]<<8;return He&32768?He|4294901760:He},oe.prototype.readInt16BE=function(Te,Ne){Te=Te>>>0,Ne||Ge(Te,2,this.length);var He=this[Te+1]|this[Te]<<8;return He&32768?He|4294901760:He},oe.prototype.readInt32LE=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,4,this.length),this[Te]|this[Te+1]<<8|this[Te+2]<<16|this[Te+3]<<24},oe.prototype.readInt32BE=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,4,this.length),this[Te]<<24|this[Te+1]<<16|this[Te+2]<<8|this[Te+3]},oe.prototype.readFloatLE=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,4,this.length),ie.read(this,Te,!0,23,4)},oe.prototype.readFloatBE=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,4,this.length),ie.read(this,Te,!1,23,4)},oe.prototype.readDoubleLE=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,8,this.length),ie.read(this,Te,!0,52,8)},oe.prototype.readDoubleBE=function(Te,Ne){return Te=Te>>>0,Ne||Ge(Te,8,this.length),ie.read(this,Te,!1,52,8)};function Fe(Le,Te,Ne,He,rt,mt){if(!oe.isBuffer(Le))throw new TypeError('"buffer" argument must be a Buffer instance');if(Te>rt||Te<mt)throw new RangeError('"value" argument is out of bounds');if(Ne+He>Le.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Te,Ne,He,rt){if(Te=+Te,Ne=Ne>>>0,He=He>>>0,!rt){var mt=Math.pow(2,8*He)-1;Fe(this,Te,Ne,He,mt,0)}var vt=1,nt=0;for(this[Ne]=Te&255;++nt<He&&(vt*=256);)this[Ne+nt]=Te/vt&255;return Ne+He},oe.prototype.writeUIntBE=function(Te,Ne,He,rt){if(Te=+Te,Ne=Ne>>>0,He=He>>>0,!rt){var mt=Math.pow(2,8*He)-1;Fe(this,Te,Ne,He,mt,0)}var vt=He-1,nt=1;for(this[Ne+vt]=Te&255;--vt>=0&&(nt*=256);)this[Ne+vt]=Te/nt&255;return Ne+He},oe.prototype.writeUInt8=function(Te,Ne,He){return Te=+Te,Ne=Ne>>>0,He||Fe(this,Te,Ne,1,255,0),this[Ne]=Te&255,Ne+1},oe.prototype.writeUInt16LE=function(Te,Ne,He){return Te=+Te,Ne=Ne>>>0,He||Fe(this,Te,Ne,2,65535,0),this[Ne]=Te&255,this[Ne+1]=Te>>>8,Ne+2},oe.prototype.writeUInt16BE=function(Te,Ne,He){return Te=+Te,Ne=Ne>>>0,He||Fe(this,Te,Ne,2,65535,0),this[Ne]=Te>>>8,this[Ne+1]=Te&255,Ne+2},oe.prototype.writeUInt32LE=function(Te,Ne,He){return Te=+Te,Ne=Ne>>>0,He||Fe(this,Te,Ne,4,4294967295,0),this[Ne+3]=Te>>>24,this[Ne+2]=Te>>>16,this[Ne+1]=Te>>>8,this[Ne]=Te&255,Ne+4},oe.prototype.writeUInt32BE=function(Te,Ne,He){return Te=+Te,Ne=Ne>>>0,He||Fe(this,Te,Ne,4,4294967295,0),this[Ne]=Te>>>24,this[Ne+1]=Te>>>16,this[Ne+2]=Te>>>8,this[Ne+3]=Te&255,Ne+4},oe.prototype.writeIntLE=function(Te,Ne,He,rt){if(Te=+Te,Ne=Ne>>>0,!rt){var mt=Math.pow(2,8*He-1);Fe(this,Te,Ne,He,mt-1,-mt)}var vt=0,nt=1,ut=0;for(this[Ne]=Te&255;++vt<He&&(nt*=256);)Te<0&&ut===0&&this[Ne+vt-1]!==0&&(ut=1),this[Ne+vt]=(Te/nt>>0)-ut&255;return Ne+He},oe.prototype.writeIntBE=function(Te,Ne,He,rt){if(Te=+Te,Ne=Ne>>>0,!rt){var mt=Math.pow(2,8*He-1);Fe(this,Te,Ne,He,mt-1,-mt)}var vt=He-1,nt=1,ut=0;for(this[Ne+vt]=Te&255;--vt>=0&&(nt*=256);)Te<0&&ut===0&&this[Ne+vt+1]!==0&&(ut=1),this[Ne+vt]=(Te/nt>>0)-ut&255;return Ne+He},oe.prototype.writeInt8=function(Te,Ne,He){return Te=+Te,Ne=Ne>>>0,He||Fe(this,Te,Ne,1,127,-128),Te<0&&(Te=255+Te+1),this[Ne]=Te&255,Ne+1},oe.prototype.writeInt16LE=function(Te,Ne,He){return Te=+Te,Ne=Ne>>>0,He||Fe(this,Te,Ne,2,32767,-32768),this[Ne]=Te&255,this[Ne+1]=Te>>>8,Ne+2},oe.prototype.writeInt16BE=function(Te,Ne,He){return Te=+Te,Ne=Ne>>>0,He||Fe(this,Te,Ne,2,32767,-32768),this[Ne]=Te>>>8,this[Ne+1]=Te&255,Ne+2},oe.prototype.writeInt32LE=function(Te,Ne,He){return Te=+Te,Ne=Ne>>>0,He||Fe(this,Te,Ne,4,2147483647,-2147483648),this[Ne]=Te&255,this[Ne+1]=Te>>>8,this[Ne+2]=Te>>>16,this[Ne+3]=Te>>>24,Ne+4},oe.prototype.writeInt32BE=function(Te,Ne,He){return Te=+Te,Ne=Ne>>>0,He||Fe(this,Te,Ne,4,2147483647,-2147483648),Te<0&&(Te=4294967295+Te+1),this[Ne]=Te>>>24,this[Ne+1]=Te>>>16,this[Ne+2]=Te>>>8,this[Ne+3]=Te&255,Ne+4};function je(Le,Te,Ne,He,rt,mt){if(Ne+He>Le.length)throw new RangeError("Index out of range");if(Ne<0)throw new RangeError("Index out of range")}function qe(Le,Te,Ne,He,rt){return Te=+Te,Ne=Ne>>>0,rt||je(Le,Te,Ne,4,34028234663852886e22,-34028234663852886e22),ie.write(Le,Te,Ne,He,23,4),Ne+4}oe.prototype.writeFloatLE=function(Te,Ne,He){return qe(this,Te,Ne,!0,He)},oe.prototype.writeFloatBE=function(Te,Ne,He){return qe(this,Te,Ne,!1,He)};function Je(Le,Te,Ne,He,rt){return Te=+Te,Ne=Ne>>>0,rt||je(Le,Te,Ne,8,17976931348623157e292,-17976931348623157e292),ie.write(Le,Te,Ne,He,52,8),Ne+8}oe.prototype.writeDoubleLE=function(Te,Ne,He){return Je(this,Te,Ne,!0,He)},oe.prototype.writeDoubleBE=function(Te,Ne,He){return Je(this,Te,Ne,!1,He)},oe.prototype.copy=function(Te,Ne,He,rt){if(!oe.isBuffer(Te))throw new TypeError("argument should be a Buffer");if(He||(He=0),!rt&&rt!==0&&(rt=this.length),Ne>=Te.length&&(Ne=Te.length),Ne||(Ne=0),rt>0&&rt<He&&(rt=He),rt===He||Te.length===0||this.length===0)return 0;if(Ne<0)throw new RangeError("targetStart out of bounds");if(He<0||He>=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),Te.length-Ne<rt-He&&(rt=Te.length-Ne+He);var mt=rt-He;if(this===Te&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Ne,He,rt);else if(this===Te&&He<Ne&&Ne<rt)for(var vt=mt-1;vt>=0;--vt)Te[vt+Ne]=this[vt+He];else Uint8Array.prototype.set.call(Te,this.subarray(He,rt),Ne);return mt},oe.prototype.fill=function(Te,Ne,He,rt){if(typeof Te=="string"){if(typeof Ne=="string"?(rt=Ne,Ne=0,He=this.length):typeof He=="string"&&(rt=He,He=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(Te.length===1){var mt=Te.charCodeAt(0);(rt==="utf8"&&mt<128||rt==="latin1")&&(Te=mt)}}else typeof Te=="number"&&(Te=Te&255);if(Ne<0||this.length<Ne||this.length<He)throw new RangeError("Out of range index");if(He<=Ne)return this;Ne=Ne>>>0,He=He===void 0?this.length:He>>>0,Te||(Te=0);var vt;if(typeof Te=="number")for(vt=Ne;vt<He;++vt)this[vt]=Te;else{var nt=oe.isBuffer(Te)?Te:oe.from(Te,rt),ut=nt.length;if(ut===0)throw new TypeError('The value "'+Te+'" is invalid for argument "value"');for(vt=0;vt<He-Ne;++vt)this[vt+Ne]=nt[vt%ut]}return this};var it=/[^+/0-9A-Za-z-_]/g;function Qe(Le){if(Le=Le.split("=")[0],Le=Le.trim().replace(it,""),Le.length<2)return"";for(;Le.length%4!==0;)Le=Le+"=";return Le}function Ze(Le){return Le<16?"0"+Le.toString(16):Le.toString(16)}function De(Le,Te){Te=Te||1/0;for(var Ne,He=Le.length,rt=null,mt=[],vt=0;vt<He;++vt){if(Ne=Le.charCodeAt(vt),Ne>55295&&Ne<57344){if(!rt){if(Ne>56319){(Te-=3)>-1&&mt.push(239,191,189);continue}else if(vt+1===He){(Te-=3)>-1&&mt.push(239,191,189);continue}rt=Ne;continue}if(Ne<56320){(Te-=3)>-1&&mt.push(239,191,189),rt=Ne;continue}Ne=(rt-55296<<10|Ne-56320)+65536}else rt&&(Te-=3)>-1&&mt.push(239,191,189);if(rt=null,Ne<128){if((Te-=1)<0)break;mt.push(Ne)}else if(Ne<2048){if((Te-=2)<0)break;mt.push(Ne>>6|192,Ne&63|128)}else if(Ne<65536){if((Te-=3)<0)break;mt.push(Ne>>12|224,Ne>>6&63|128,Ne&63|128)}else if(Ne<1114112){if((Te-=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 Ve(Le){for(var Te=[],Ne=0;Ne<Le.length;++Ne)Te.push(Le.charCodeAt(Ne)&255);return Te}function Ae(Le,Te){for(var Ne,He,rt,mt=[],vt=0;vt<Le.length&&!((Te-=2)<0);++vt)Ne=Le.charCodeAt(vt),He=Ne>>8,rt=Ne%256,mt.push(rt),mt.push(He);return mt}function ke(Le){return re.toByteArray(Qe(Le))}function $e(Le,Te,Ne,He){for(var rt=0;rt<He&&!(rt+Ne>=Te.length||rt>=Le.length);++rt)Te[rt+Ne]=Le[rt];return rt}function Ke(Le,Te){return Le instanceof Te||Le!=null&&Le.constructor!=null&&Le.constructor.name!=null&&Le.constructor.name===Te.name}function ze(Le){return Le!==Le}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,ve,de){ve.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,ve,de){"use strict";var se=E("get-intrinsic"),re=E("./"),ie=re(se("String.prototype.indexOf"));ve.exports=function(ce,ae){var oe=se(ce,!!ae);return typeof oe=="function"&&ie(ce,".prototype.")>-1?re(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(E,ve,de){"use strict";var se=E("function-bind"),re=E("get-intrinsic"),ie=re("%Function.prototype.apply%"),le=re("%Function.prototype.call%"),ce=re("%Reflect.apply%",!0)||se.call(le,ie),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}ve.exports=function(y){var x=ce(se,le,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 ce(se,ie,arguments)};oe?oe(ve.exports,"apply",{value:ee}):ve.exports.apply=ee},{"function-bind":347,"get-intrinsic":348}],94:[function(E,ve,de){"use strict";var se=Array.prototype.slice;ve.exports=re;function re(le,ce){if(!(this instanceof re))return new re(le,ce);this.src=le,this._withAccess=ce}re.prototype.withAccess=function(le){return this._withAccess=le!==!1,this},re.prototype.pick=function(le){return Array.isArray(le)||(le=se.call(arguments)),le.length&&(this.keys=le),this},re.prototype.to=function(le){if(le=le||{},!this.src)return le;var ce=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ae=0;ae<ce.length;ae++)oe=ce[ae],le[oe]===void 0&&(le[oe]=this.src[oe]);return le}for(var ae=0;ae<ce.length;ae++){var oe=ce[ae];if(ie(le,oe)){var ne=this.src.__lookupGetter__(oe),ee=this.src.__lookupSetter__(oe);ne&&le.__defineGetter__(oe,ne),ee&&le.__defineSetter__(oe,ee),!ne&&!ee&&(le[oe]=this.src[oe])}}return le},re.prototype.toCover=function(le){for(var ce=this.keys||Object.keys(this.src),ae=0;ae<ce.length;ae++){var oe=ce[ae];delete le[oe];var ne=this.src.__lookupGetter__(oe),ee=this.src.__lookupSetter__(oe);ne&&le.__defineGetter__(oe,ne),ee&&le.__defineSetter__(oe,ee),!ne&&!ee&&(le[oe]=this.src[oe])}},re.prototype.override=re.prototype.toCover,re.prototype.and=function(le){var ce={};return this.to(ce),this.src=le,this.to(ce),this.src=ce,this};function ie(le,ce){return le[ce]===void 0&&le.__lookupGetter__(ce)===void 0&&le.__lookupSetter__(ce)===void 0}},{}],95:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=E("../internals/try-to-string"),le=se.TypeError;ve.exports=function(ce){if(re(ce))return ce;throw le(ie(ce)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/is-constructor"),ie=E("../internals/try-to-string"),le=se.TypeError;ve.exports=function(ce){if(re(ce))return ce;throw le(ie(ce)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=se.String,le=se.TypeError;ve.exports=function(ce){if(typeof ce=="object"||re(ce))return ce;throw le("Can't set "+ie(ce)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,ve,de){var se=E("../internals/well-known-symbol"),re=E("../internals/object-create"),ie=E("../internals/object-define-property"),le=se("unscopables"),ce=Array.prototype;ce[le]==null&&ie.f(ce,le,{configurable:!0,value:re(null)}),ve.exports=function(ae){ce[le][ae]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(E,ve,de){"use strict";var se=E("../internals/string-multibyte").charAt;ve.exports=function(re,ie,le){return ie+(le?se(re,ie).length:1)}},{"../internals/string-multibyte":239}],100:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/object-is-prototype-of"),ie=se.TypeError;ve.exports=function(le,ce){if(re(ce,le))return le;throw ie("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/is-object"),ie=se.String,le=se.TypeError;ve.exports=function(ce){if(re(ce))return ce;throw le(ie(ce)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(E,ve,de){ve.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-native"),re=E("../internals/descriptors"),ie=E("../internals/global"),le=E("../internals/is-callable"),ce=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"),te=E("../internals/object-set-prototype-of"),z=E("../internals/well-known-symbol"),ue=E("../internals/uid"),ge=ie.Int8Array,me=ge&&ge.prototype,he=ie.Uint8ClampedArray,pe=he&&he.prototype,be=ge&&b(ge),ye=me&&b(me),Pe=Object.prototype,we=ie.TypeError,Oe=z("toStringTag"),Ce=ue("TYPED_ARRAY_TAG"),_e=ue("TYPED_ARRAY_CONSTRUCTOR"),Ee=se&&!!te&&oe(ie.opera)!=="Opera",Me=!1,Ie,Be,Re,tt={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ye={BigInt64Array:8,BigUint64Array:8},et=function(it){if(!ce(it))return!1;var Qe=oe(it);return Qe==="DataView"||ae(tt,Qe)||ae(Ye,Qe)},Xe=function(Je){if(!ce(Je))return!1;var it=oe(Je);return ae(tt,it)||ae(Ye,it)},Ge=function(Je){if(Xe(Je))return Je;throw we("Target is not a typed array")},Fe=function(Je){if(le(Je)&&(!te||x(be,Je)))return Je;throw we(ne(Je)+" is not a typed array constructor")},je=function(Je,it,Qe,Ze){if(re){if(Qe)for(var De in tt){var Ve=ie[De];if(Ve&&ae(Ve.prototype,Je))try{delete Ve.prototype[Je]}catch(Ae){try{Ve.prototype[Je]=it}catch(ke){}}}(!ye[Je]||Qe)&&a(ye,Je,Qe?it:Ee&&me[Je]||it,Ze)}},qe=function(Je,it,Qe){var Ze,De;if(re){if(te){if(Qe){for(Ze in tt)if(De=ie[Ze],De&&ae(De,Je))try{delete De[Je]}catch(Ve){}}if(!be[Je]||Qe)try{return a(be,Je,Qe?it:Ee&&be[Je]||it)}catch(Ve){}else return}for(Ze in tt)De=ie[Ze],De&&(!De[Je]||Qe)&&a(De,Je,it)}};for(Ie in tt)Be=ie[Ie],Re=Be&&Be.prototype,Re?ee(Re,_e,Be):Ee=!1;for(Ie in Ye)Be=ie[Ie],Re=Be&&Be.prototype,Re&&ee(Re,_e,Be);if((!Ee||!le(be)||be===Function.prototype)&&(be=function(){throw we("Incorrect invocation")},Ee))for(Ie in tt)ie[Ie]&&te(ie[Ie],be);if((!Ee||!ye||ye===Pe)&&(ye=be.prototype,Ee))for(Ie in tt)ie[Ie]&&te(ie[Ie].prototype,ye);if(Ee&&b(pe)!==ye&&te(pe,ye),re&&!ae(ye,Oe)){Me=!0,y(ye,Oe,{get:function(){return ce(this)?this[Ce]:void 0}});for(Ie in tt)ie[Ie]&&ee(ie[Ie],Ce,Ie)}ve.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ee,TYPED_ARRAY_CONSTRUCTOR:_e,TYPED_ARRAY_TAG:Me&&Ce,aTypedArray:Ge,aTypedArrayConstructor:Fe,exportTypedArrayMethod:je,exportTypedArrayStaticMethod:qe,isView:et,isTypedArray:Xe,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,ve,de){"use strict";var se=E("../internals/global"),re=E("../internals/function-uncurry-this"),ie=E("../internals/descriptors"),le=E("../internals/array-buffer-native"),ce=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"),te=E("../internals/object-get-prototype-of"),z=E("../internals/object-set-prototype-of"),ue=E("../internals/object-get-own-property-names").f,ge=E("../internals/object-define-property").f,me=E("../internals/array-fill"),he=E("../internals/array-slice-simple"),pe=E("../internals/set-to-string-tag"),be=E("../internals/internal-state"),ye=ce.PROPER,Pe=ce.CONFIGURABLE,we=be.get,Oe=be.set,Ce="ArrayBuffer",_e="DataView",Ee="prototype",Me="Wrong length",Ie="Wrong index",Be=se[Ce],Re=Be,tt=Re&&Re[Ee],Ye=se[_e],et=Ye&&Ye[Ee],Xe=Object.prototype,Ge=se.Array,Fe=se.RangeError,je=re(me),qe=re([].reverse),Je=b.pack,it=b.unpack,Qe=function(vt){return[vt&255]},Ze=function(vt){return[vt&255,vt>>8&255]},De=function(vt){return[vt&255,vt>>8&255,vt>>16&255,vt>>24&255]},Ve=function(vt){return vt[3]<<24|vt[2]<<16|vt[1]<<8|vt[0]},Ae=function(vt){return Je(vt,23,4)},ke=function(vt){return Je(vt,52,8)},$e=function(vt,nt){ge(vt[Ee],nt,{get:function(){return we(this)[nt]}})},Ke=function(vt,nt,ut,Et){var Ot=x(ut),at=we(vt);if(Ot+nt>at.byteLength)throw Fe(Ie);var Tt=we(at.buffer).bytes,st=Ot+at.byteOffset,pt=he(Tt,st,st+nt);return Et?pt:qe(pt)},ze=function(vt,nt,ut,Et,Ot,at){var Tt=x(ut),st=we(vt);if(Tt+nt>st.byteLength)throw Fe(Ie);for(var pt=we(st.buffer).bytes,Pt=Tt+st.byteOffset,wt=Et(+Ot),Lt=0;Lt<nt;Lt++)pt[Pt+Lt]=wt[at?Lt:nt-Lt-1]};if(!le)Re=function(nt){ee(this,tt);var ut=x(nt);Oe(this,{bytes:je(Ge(ut),0),byteLength:ut}),ie||(this.byteLength=ut)},tt=Re[Ee],Ye=function(nt,ut,Et){ee(this,et),ee(nt,tt);var Ot=we(nt).byteLength,at=a(ut);if(at<0||at>Ot)throw Fe("Wrong offset");if(Et=Et===void 0?Ot-at:y(Et),at+Et>Ot)throw Fe(Me);Oe(this,{buffer:nt,byteLength:Et,byteOffset:at}),ie||(this.buffer=nt,this.byteLength=Et,this.byteOffset=at)},et=Ye[Ee],ie&&($e(Re,"byteLength"),$e(Ye,"buffer"),$e(Ye,"byteLength"),$e(Ye,"byteOffset")),oe(et,{getInt8:function(nt){return Ke(this,1,nt)[0]<<24>>24},getUint8:function(nt){return Ke(this,1,nt)[0]},getInt16:function(nt){var ut=Ke(this,2,nt,arguments.length>1?arguments[1]:void 0);return(ut[1]<<8|ut[0])<<16>>16},getUint16:function(nt){var ut=Ke(this,2,nt,arguments.length>1?arguments[1]:void 0);return ut[1]<<8|ut[0]},getInt32:function(nt){return Ve(Ke(this,4,nt,arguments.length>1?arguments[1]:void 0))},getUint32:function(nt){return Ve(Ke(this,4,nt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(nt){return it(Ke(this,4,nt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(nt){return it(Ke(this,8,nt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(nt,ut){ze(this,1,nt,Qe,ut)},setUint8:function(nt,ut){ze(this,1,nt,Qe,ut)},setInt16:function(nt,ut){ze(this,2,nt,Ze,ut,arguments.length>2?arguments[2]:void 0)},setUint16:function(nt,ut){ze(this,2,nt,Ze,ut,arguments.length>2?arguments[2]:void 0)},setInt32:function(nt,ut){ze(this,4,nt,De,ut,arguments.length>2?arguments[2]:void 0)},setUint32:function(nt,ut){ze(this,4,nt,De,ut,arguments.length>2?arguments[2]:void 0)},setFloat32:function(nt,ut){ze(this,4,nt,Ae,ut,arguments.length>2?arguments[2]:void 0)},setFloat64:function(nt,ut){ze(this,8,nt,ke,ut,arguments.length>2?arguments[2]:void 0)}});else{var Le=ye&&Be.name!==Ce;if(!ne(function(){Be(1)})||!ne(function(){new Be(-1)})||ne(function(){return new Be,new Be(1.5),new Be(NaN),Le&&!Pe})){Re=function(nt){return ee(this,tt),new Be(x(nt))},Re[Ee]=tt;for(var Te=ue(Be),Ne=0,He;Te.length>Ne;)(He=Te[Ne++])in Re||ae(Re,He,Be[He]);tt.constructor=Re}else Le&&Pe&&ae(Be,"name",Ce);z&&te(et)!==Xe&&z(et,Xe);var rt=new Ye(new Re(2)),mt=re(et.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),(rt.getInt8(0)||!rt.getInt8(1))&&oe(et,{setInt8:function(nt,ut){mt(this,nt,ut<<24>>24)},setUint8:function(nt,ut){mt(this,nt,ut<<24>>24)}},{unsafe:!0})}pe(Re,Ce),pe(Ye,_e),ve.exports={ArrayBuffer:Re,DataView:Ye}},{"../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,ve,de){"use strict";var se=E("../internals/to-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=Math.min;ve.exports=[].copyWithin||function(ae,oe){var ne=se(this),ee=ie(ne),a=re(ae,ee),y=re(oe,ee),x=arguments.length>2?arguments[2]:void 0,b=le((x===void 0?ee:re(x,ee))-y,ee-a),te=1;for(y<a&&a<y+b&&(te=-1,y+=b-1,a+=b-1);b-- >0;)y in ne?ne[a]=ne[y]:delete ne[a],a+=te,y+=te;return ne}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,ve,de){"use strict";var se=E("../internals/to-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like");ve.exports=function(ce){for(var ae=se(this),oe=ie(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++]=ce;return ae}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,ve,de){"use strict";var se=E("../internals/array-iteration").forEach,re=E("../internals/array-method-is-strict"),ie=re("forEach");ve.exports=ie?[].forEach:function(ce){return se(this,ce,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,ve,de){var se=E("../internals/length-of-array-like");ve.exports=function(re,ie){for(var le=0,ce=se(ie),ae=new re(ce);ce>le;)ae[le]=ie[le++];return ae}},{"../internals/length-of-array-like":188}],109:[function(E,ve,de){"use strict";var se=E("../internals/global"),re=E("../internals/function-bind-context"),ie=E("../internals/function-call"),le=E("../internals/to-object"),ce=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=se.Array;ve.exports=function(te){var z=le(te),ue=oe(this),ge=arguments.length,me=ge>1?arguments[1]:void 0,he=me!==void 0;he&&(me=re(me,ge>2?arguments[2]:void 0));var pe=y(z),be=0,ye,Pe,we,Oe,Ce,_e;if(pe&&!(this==x&&ae(pe)))for(Oe=a(z,pe),Ce=Oe.next,Pe=ue?new this:[];!(we=ie(Ce,Oe)).done;be++)_e=he?ce(Oe,me,[we.value,be],!0):we.value,ee(Pe,be,_e);else for(ye=ne(z),Pe=ue?new this(ye):x(ye);ye>be;be++)_e=he?me(z[be],be):z[be],ee(Pe,be,_e);return Pe.length=be,Pe}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,ve,de){var se=E("../internals/to-indexed-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=function(ce){return function(ae,oe,ne){var ee=se(ae),a=ie(ee),y=re(ne,a),x;if(ce&&oe!=oe){for(;a>y;)if(x=ee[y++],x!=x)return!0}else for(;a>y;y++)if((ce||y in ee)&&ee[y]===oe)return ce||y||0;return!ce&&-1}};ve.exports={includes:le(!0),indexOf:le(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,ve,de){var se=E("../internals/function-bind-context"),re=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),le=E("../internals/to-object"),ce=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,te=ee==6,z=ee==7,ue=ee==5||te;return function(ge,me,he,pe){for(var be=le(ge),ye=ie(be),Pe=se(me,he),we=ce(ye),Oe=0,Ce=pe||ae,_e=a?Ce(ge,we):y||z?Ce(ge,0):void 0,Ee,Me;we>Oe;Oe++)if((ue||Oe in ye)&&(Ee=ye[Oe],Me=Pe(Ee,Oe,be),ee))if(a)_e[Oe]=Me;else if(Me)switch(ee){case 3:return!0;case 5:return Ee;case 6:return Oe;case 2:oe(_e,Ee)}else switch(ee){case 4:return!1;case 7:oe(_e,Ee)}return te?-1:x||b?b:_e}};ve.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,ve,de){"use strict";var se=E("../internals/function-apply"),re=E("../internals/to-indexed-object"),ie=E("../internals/to-integer-or-infinity"),le=E("../internals/length-of-array-like"),ce=E("../internals/array-method-is-strict"),ae=Math.min,oe=[].lastIndexOf,ne=!!oe&&1/[1].lastIndexOf(1,-0)<0,ee=ce("lastIndexOf"),a=ne||!ee;ve.exports=a?function(x){if(ne)return se(oe,this,arguments)||0;var b=re(this),te=le(b),z=te-1;for(arguments.length>1&&(z=ae(z,ie(arguments[1]))),z<0&&(z=te+z);z>=0;z--)if(z in b&&b[z]===x)return z||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,ve,de){var se=E("../internals/fails"),re=E("../internals/well-known-symbol"),ie=E("../internals/engine-v8-version"),le=re("species");ve.exports=function(ce){return ie>=51||!se(function(){var ae=[],oe=ae.constructor={};return oe[le]=function(){return{foo:1}},ae[ce](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,ve,de){"use strict";var se=E("../internals/fails");ve.exports=function(re,ie){var le=[][re];return!!le&&se(function(){le.call(null,ie||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/a-callable"),ie=E("../internals/to-object"),le=E("../internals/indexed-object"),ce=E("../internals/length-of-array-like"),ae=se.TypeError,oe=function(ne){return function(ee,a,y,x){re(a);var b=ie(ee),te=le(b),z=ce(b),ue=ne?z-1:0,ge=ne?-1:1;if(y<2)for(;;){if(ue in te){x=te[ue],ue+=ge;break}if(ue+=ge,ne?ue<0:z<=ue)throw ae("Reduce of empty array with no initial value")}for(;ne?ue>=0:z>ue;ue+=ge)ue in te&&(x=a(x,te[ue],ue,b));return x}};ve.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,ve,de){var se=E("../internals/global"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=E("../internals/create-property"),ce=se.Array,ae=Math.max;ve.exports=function(oe,ne,ee){for(var a=ie(oe),y=re(ne,a),x=re(ee===void 0?a:ee,a),b=ce(ae(x-y,0)),te=0;y<x;y++,te++)le(b,te,oe[y]);return b.length=te,b}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(E,ve,de){var se=E("../internals/function-uncurry-this");ve.exports=se([].slice)},{"../internals/function-uncurry-this":157}],118:[function(E,ve,de){var se=E("../internals/array-slice-simple"),re=Math.floor,ie=function(ae,oe){var ne=ae.length,ee=re(ne/2);return ne<8?le(ae,oe):ce(ae,ie(se(ae,0,ee),oe),ie(se(ae,ee),oe),oe)},le=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},ce=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};ve.exports=ie},{"../internals/array-slice-simple":116}],119:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/is-array"),ie=E("../internals/is-constructor"),le=E("../internals/is-object"),ce=E("../internals/well-known-symbol"),ae=ce("species"),oe=se.Array;ve.exports=function(ne){var ee;return re(ne)&&(ee=ne.constructor,ie(ee)&&(ee===oe||re(ee.prototype))?ee=void 0:le(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,ve,de){var se=E("../internals/array-species-constructor");ve.exports=function(re,ie){return new(se(re))(ie===0?0:ie)}},{"../internals/array-species-constructor":119}],121:[function(E,ve,de){var se=E("../internals/an-object"),re=E("../internals/iterator-close");ve.exports=function(ie,le,ce,ae){try{return ae?le(se(ce)[0],ce[1]):le(ce)}catch(oe){re(ie,"throw",oe)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,ve,de){var se=E("../internals/well-known-symbol"),re=se("iterator"),ie=!1;try{var le=0,ce={next:function(){return{done:!!le++}},return:function(){ie=!0}};ce[re]=function(){return this},Array.from(ce,function(){throw 2})}catch(ae){}ve.exports=function(ae,oe){if(!oe&&!ie)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,ve,de){var se=E("../internals/function-uncurry-this"),re=se({}.toString),ie=se("".slice);ve.exports=function(le){return ie(re(le),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/to-string-tag-support"),ie=E("../internals/is-callable"),le=E("../internals/classof-raw"),ce=E("../internals/well-known-symbol"),ae=ce("toStringTag"),oe=se.Object,ne=le(function(){return arguments}())=="Arguments",ee=function(a,y){try{return a[y]}catch(x){}};ve.exports=re?le:function(a){var y,x,b;return a===void 0?"Undefined":a===null?"Null":typeof(x=ee(y=oe(a),ae))=="string"?x:ne?le(y):(b=le(y))=="Object"&&ie(y.callee)?"Arguments":b}},{"../internals/classof-raw":123,"../internals/global":163,"../internals/is-callable":176,"../internals/to-string-tag-support":255,"../internals/well-known-symbol":268}],125:[function(E,ve,de){var se=E("../internals/has-own-property"),re=E("../internals/own-keys"),ie=E("../internals/object-get-own-property-descriptor"),le=E("../internals/object-define-property");ve.exports=function(ce,ae,oe){for(var ne=re(ae),ee=le.f,a=ie.f,y=0;y<ne.length;y++){var x=ne[y];!se(ce,x)&&!(oe&&se(oe,x))&&ee(ce,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,ve,de){var se=E("../internals/well-known-symbol"),re=se("match");ve.exports=function(ie){var le=/./;try{"/./"[ie](le)}catch(ce){try{return le[re]=!1,"/./"[ie](le)}catch(ae){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,ve,de){var se=E("../internals/fails");ve.exports=!se(function(){function re(){}return re.prototype.constructor=null,Object.getPrototypeOf(new re)!==re.prototype})},{"../internals/fails":150}],128:[function(E,ve,de){"use strict";var se=E("../internals/iterators-core").IteratorPrototype,re=E("../internals/object-create"),ie=E("../internals/create-property-descriptor"),le=E("../internals/set-to-string-tag"),ce=E("../internals/iterators"),ae=function(){return this};ve.exports=function(oe,ne,ee,a){var y=ne+" Iterator";return oe.prototype=re(se,{next:ie(+!a,ee)}),le(oe,y,!1,!0),ce[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,ve,de){var se=E("../internals/descriptors"),re=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");ve.exports=se?function(le,ce,ae){return re.f(le,ce,ie(1,ae))}:function(le,ce,ae){return le[ce]=ae,le}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,ve,de){ve.exports=function(se,re){return{enumerable:!(se&1),configurable:!(se&2),writable:!(se&4),value:re}}},{}],131:[function(E,ve,de){"use strict";var se=E("../internals/to-property-key"),re=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");ve.exports=function(le,ce,ae){var oe=se(ce);oe in le?re.f(le,oe,ie(0,ae)):le[oe]=ae}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(E,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/is-pure"),le=E("../internals/function-name"),ce=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"),te=E("../internals/iterators-core"),z=le.PROPER,ue=le.CONFIGURABLE,ge=te.IteratorPrototype,me=te.BUGGY_SAFARI_ITERATORS,he=x("iterator"),pe="keys",be="values",ye="entries",Pe=function(){return this};ve.exports=function(we,Oe,Ce,_e,Ee,Me,Ie){ae(Ce,Oe,_e);var Be=function(Je){if(Je===Ee&&Xe)return Xe;if(!me&&Je in Ye)return Ye[Je];switch(Je){case pe:return function(){return new Ce(this,Je)};case be:return function(){return new Ce(this,Je)};case ye:return function(){return new Ce(this,Je)}}return function(){return new Ce(this)}},Re=Oe+" Iterator",tt=!1,Ye=we.prototype,et=Ye[he]||Ye["@@iterator"]||Ee&&Ye[Ee],Xe=!me&&et||Be(Ee),Ge=Oe=="Array"&&Ye.entries||et,Fe,je,qe;if(Ge&&(Fe=oe(Ge.call(new we)),Fe!==Object.prototype&&Fe.next&&(!ie&&oe(Fe)!==ge&&(ne?ne(Fe,ge):ce(Fe[he])||y(Fe,he,Pe)),ee(Fe,Re,!0,!0),ie&&(b[Re]=Pe))),z&&Ee==be&&et&&et.name!==be&&(!ie&&ue?a(Ye,"name",be):(tt=!0,Xe=function(){return re(et,this)})),Ee)if(je={values:Be(be),keys:Me?Xe:Be(pe),entries:Be(ye)},Ie)for(qe in je)(me||tt||!(qe in Ye))&&y(Ye,qe,je[qe]);else se({target:Oe,proto:!0,forced:me||tt},je);return(!ie||Ie)&&Ye[he]!==Xe&&y(Ye,he,Xe,{name:Ee}),b[Oe]=Xe,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,ve,de){var se=E("../internals/path"),re=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol-wrapped"),le=E("../internals/object-define-property").f;ve.exports=function(ce){var ae=se.Symbol||(se.Symbol={});re(ae,ce)||le(ae,ce,{value:ie.f(ce)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(E,ve,de){var se=E("../internals/fails");ve.exports=!se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/is-object"),ie=se.document,le=re(ie)&&re(ie.createElement);ve.exports=function(ce){return le?ie.createElement(ce):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(E,ve,de){ve.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,ve,de){var se=E("../internals/document-create-element"),re=se("span").classList,ie=re&&re.constructor&&re.constructor.prototype;ve.exports=ie===Object.prototype?void 0:ie},{"../internals/document-create-element":135}],138:[function(E,ve,de){var se=E("../internals/engine-user-agent"),re=se.match(/firefox\/(\d+)/i);ve.exports=!!re&&+re[1]},{"../internals/engine-user-agent":145}],139:[function(E,ve,de){ve.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(E,ve,de){var se=E("../internals/engine-user-agent");ve.exports=/MSIE|Trident/.test(se)},{"../internals/engine-user-agent":145}],141:[function(E,ve,de){var se=E("../internals/engine-user-agent"),re=E("../internals/global");ve.exports=/ipad|iphone|ipod/i.test(se)&&re.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(E,ve,de){var se=E("../internals/engine-user-agent");ve.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(se)},{"../internals/engine-user-agent":145}],143:[function(E,ve,de){var se=E("../internals/classof-raw"),re=E("../internals/global");ve.exports=se(re.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(E,ve,de){var se=E("../internals/engine-user-agent");ve.exports=/web0s(?!.*chrome)/i.test(se)},{"../internals/engine-user-agent":145}],145:[function(E,ve,de){var se=E("../internals/get-built-in");ve.exports=se("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/engine-user-agent"),ie=se.process,le=se.Deno,ce=ie&&ie.versions||le&&le.version,ae=ce&&ce.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]))),ve.exports=ne},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,ve,de){var se=E("../internals/engine-user-agent"),re=se.match(/AppleWebKit\/(\d+)\./);ve.exports=!!re&&+re[1]},{"../internals/engine-user-agent":145}],148:[function(E,ve,de){ve.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/object-get-own-property-descriptor").f,ie=E("../internals/create-non-enumerable-property"),le=E("../internals/redefine"),ce=E("../internals/set-global"),ae=E("../internals/copy-constructor-properties"),oe=E("../internals/is-forced");ve.exports=function(ne,ee){var a=ne.target,y=ne.global,x=ne.stat,b,te,z,ue,ge,me;if(y?te=se:x?te=se[a]||ce(a,{}):te=(se[a]||{}).prototype,te)for(z in ee){if(ge=ee[z],ne.noTargetGet?(me=re(te,z),ue=me&&me.value):ue=te[z],b=oe(y?z:a+(x?".":"#")+z,ne.forced),!b&&ue!==void 0){if(typeof ge==typeof ue)continue;ae(ge,ue)}(ne.sham||ue&&ue.sham)&&ie(ge,"sham",!0),le(te,z,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,ve,de){ve.exports=function(se){try{return!!se()}catch(re){return!0}}},{}],151:[function(E,ve,de){"use strict";E("../modules/es.regexp.exec");var se=E("../internals/function-uncurry-this"),re=E("../internals/redefine"),ie=E("../internals/regexp-exec"),le=E("../internals/fails"),ce=E("../internals/well-known-symbol"),ae=E("../internals/create-non-enumerable-property"),oe=ce("species"),ne=RegExp.prototype;ve.exports=function(ee,a,y,x){var b=ce(ee),te=!le(function(){var me={};return me[b]=function(){return 7},""[ee](me)!=7}),z=te&&!le(function(){var me=!1,he=/a/;return ee==="split"&&(he={},he.constructor={},he.constructor[oe]=function(){return he},he.flags="",he[b]=/./[b]),he.exec=function(){return me=!0,null},he[b](""),!me});if(!te||!z||y){var ue=se(/./[b]),ge=a(b,""[ee],function(me,he,pe,be,ye){var Pe=se(me),we=he.exec;return we===ie||we===ne.exec?te&&!ye?{done:!0,value:ue(he,pe,be)}:{done:!0,value:Pe(pe,he,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,ve,de){var se=E("../internals/function-bind-native"),re=Function.prototype,ie=re.apply,le=re.call;ve.exports=typeof Reflect=="object"&&Reflect.apply||(se?le.bind(ie):function(){return le.apply(ie,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,ve,de){var se=E("../internals/function-uncurry-this"),re=E("../internals/a-callable"),ie=E("../internals/function-bind-native"),le=se(se.bind);ve.exports=function(ce,ae){return re(ce),ae===void 0?ce:ie?le(ce,ae):function(){return ce.apply(ae,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,ve,de){var se=E("../internals/fails");ve.exports=!se(function(){var re=function(){}.bind();return typeof re!="function"||re.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,ve,de){var se=E("../internals/function-bind-native"),re=Function.prototype.call;ve.exports=se?re.bind(re):function(){return re.apply(re,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,ve,de){var se=E("../internals/descriptors"),re=E("../internals/has-own-property"),ie=Function.prototype,le=se&&Object.getOwnPropertyDescriptor,ce=re(ie,"name"),ae=ce&&function(){}.name==="something",oe=ce&&(!se||se&&le(ie,"name").configurable);ve.exports={EXISTS:ce,PROPER:ae,CONFIGURABLE:oe}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,ve,de){var se=E("../internals/function-bind-native"),re=Function.prototype,ie=re.bind,le=re.call,ce=se&&ie.bind(le,le);ve.exports=se?function(ae){return ae&&ce(ae)}:function(ae){return ae&&function(){return le.apply(ae,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=function(le){return re(le)?le:void 0};ve.exports=function(le,ce){return arguments.length<2?ie(se[le]):se[le]&&se[le][ce]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,ve,de){var se=E("../internals/classof"),re=E("../internals/get-method"),ie=E("../internals/iterators"),le=E("../internals/well-known-symbol"),ce=le("iterator");ve.exports=function(ae){if(ae!=null)return re(ae,ce)||re(ae,"@@iterator")||ie[se(ae)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/an-object"),ce=E("../internals/try-to-string"),ae=E("../internals/get-iterator-method"),oe=se.TypeError;ve.exports=function(ne,ee){var a=arguments.length<2?ae(ne):ee;if(ie(a))return le(re(a,ne));throw oe(ce(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,ve,de){var se=E("../internals/a-callable");ve.exports=function(re,ie){var le=re[ie];return le==null?void 0:se(le)}},{"../internals/a-callable":95}],162:[function(E,ve,de){var se=E("../internals/function-uncurry-this"),re=E("../internals/to-object"),ie=Math.floor,le=se("".charAt),ce=se("".replace),ae=se("".slice),oe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ne=/\$([$&'`]|\d{1,2})/g;ve.exports=function(ee,a,y,x,b,te){var z=y+ee.length,ue=x.length,ge=ne;return b!==void 0&&(b=re(b),ge=oe),ce(te,ge,function(me,he){var pe;switch(le(he,0)){case"$":return"$";case"&":return ee;case"`":return ae(a,0,y);case"'":return ae(a,z);case"<":pe=b[ae(he,1,-1)];break;default:var be=+he;if(be===0)return me;if(be>ue){var ye=ie(be/10);return ye===0?me:ye<=ue?x[ye-1]===void 0?le(he,1):x[ye-1]+le(he,1):me}pe=x[be-1]}return pe===void 0?"":pe})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,ve,de){(function(se){(function(){var re=function(ie){return ie&&ie.Math==Math&&ie};ve.exports=re(typeof globalThis=="object"&&globalThis)||re(typeof window=="object"&&window)||re(typeof self=="object"&&self)||re(typeof se=="object"&&se)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,ve,de){var se=E("../internals/function-uncurry-this"),re=E("../internals/to-object"),ie=se({}.hasOwnProperty);ve.exports=Object.hasOwn||function(ce,ae){return ie(re(ce),ae)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,ve,de){ve.exports={}},{}],166:[function(E,ve,de){var se=E("../internals/global");ve.exports=function(re,ie){var le=se.console;le&&le.error&&(arguments.length==1?le.error(re):le.error(re,ie))}},{"../internals/global":163}],167:[function(E,ve,de){var se=E("../internals/get-built-in");ve.exports=se("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,ve,de){var se=E("../internals/descriptors"),re=E("../internals/fails"),ie=E("../internals/document-create-element");ve.exports=!se&&!re(function(){return Object.defineProperty(ie("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,ve,de){var se=E("../internals/global"),re=se.Array,ie=Math.abs,le=Math.pow,ce=Math.floor,ae=Math.log,oe=Math.LN2,ne=function(a,y,x){var b=re(x),te=x*8-y-1,z=(1<<te)-1,ue=z>>1,ge=y===23?le(2,-24)-le(2,-77):0,me=a<0||a===0&&1/a<0?1:0,he=0,pe,be,ye;for(a=ie(a),a!=a||a===1/0?(be=a!=a?1:0,pe=z):(pe=ce(ae(a)/oe),ye=le(2,-pe),a*ye<1&&(pe--,ye*=2),pe+ue>=1?a+=ge/ye:a+=ge*le(2,1-ue),a*ye>=2&&(pe++,ye/=2),pe+ue>=z?(be=0,pe=z):pe+ue>=1?(be=(a*ye-1)*le(2,y),pe=pe+ue):(be=a*le(2,ue-1)*le(2,y),pe=0));y>=8;)b[he++]=be&255,be/=256,y-=8;for(pe=pe<<y|be,te+=y;te>0;)b[he++]=pe&255,pe/=256,te-=8;return b[--he]|=me*128,b},ee=function(a,y){var x=a.length,b=x*8-y-1,te=(1<<b)-1,z=te>>1,ue=b-7,ge=x-1,me=a[ge--],he=me&127,pe;for(me>>=7;ue>0;)he=he*256+a[ge--],ue-=8;for(pe=he&(1<<-ue)-1,he>>=-ue,ue+=y;ue>0;)pe=pe*256+a[ge--],ue-=8;if(he===0)he=1-z;else{if(he===te)return pe?NaN:me?-1/0:1/0;pe=pe+le(2,y),he=he-z}return(me?-1:1)*pe*le(2,he-y)};ve.exports={pack:ne,unpack:ee}},{"../internals/global":163}],170:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/classof-raw"),ce=se.Object,ae=re("".split);ve.exports=ie(function(){return!ce("z").propertyIsEnumerable(0)})?function(oe){return le(oe)=="String"?ae(oe,""):ce(oe)}:ce},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,ve,de){var se=E("../internals/is-callable"),re=E("../internals/is-object"),ie=E("../internals/object-set-prototype-of");ve.exports=function(le,ce,ae){var oe,ne;return ie&&se(oe=ce.constructor)&&oe!==ae&&re(ne=oe.prototype)&&ne!==ae.prototype&&ie(le,ne),le}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,ve,de){var se=E("../internals/function-uncurry-this"),re=E("../internals/is-callable"),ie=E("../internals/shared-store"),le=se(Function.toString);re(ie.inspectSource)||(ie.inspectSource=function(ce){return le(ce)}),ve.exports=ie.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,ve,de){var se=E("../internals/native-weak-map"),re=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-object"),ce=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,te,z,ue=function(Pe){return z(Pe)?te(Pe):b(Pe,{})},ge=function(Pe){return function(we){var Oe;if(!le(we)||(Oe=te(we)).type!==Pe)throw y("Incompatible receiver, "+Pe+" required");return Oe}};if(se||oe.state){var me=oe.state||(oe.state=new x),he=ie(me.get),pe=ie(me.has),be=ie(me.set);b=function(Pe,we){if(pe(me,Pe))throw new y(a);return we.facade=Pe,be(me,Pe,we),we},te=function(Pe){return he(me,Pe)||{}},z=function(Pe){return pe(me,Pe)}}else{var ye=ne("state");ee[ye]=!0,b=function(Pe,we){if(ae(Pe,ye))throw new y(a);return we.facade=Pe,ce(Pe,ye,we),we},te=function(Pe){return ae(Pe,ye)?Pe[ye]:{}},z=function(Pe){return ae(Pe,ye)}}ve.exports={set:b,get:te,has:z,enforce:ue,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,ve,de){var se=E("../internals/well-known-symbol"),re=E("../internals/iterators"),ie=se("iterator"),le=Array.prototype;ve.exports=function(ce){return ce!==void 0&&(re.Array===ce||le[ie]===ce)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,ve,de){var se=E("../internals/classof-raw");ve.exports=Array.isArray||function(ie){return se(ie)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,ve,de){ve.exports=function(se){return typeof se=="function"}},{}],177:[function(E,ve,de){var se=E("../internals/function-uncurry-this"),re=E("../internals/fails"),ie=E("../internals/is-callable"),le=E("../internals/classof"),ce=E("../internals/get-built-in"),ae=E("../internals/inspect-source"),oe=function(){},ne=[],ee=ce("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=se(a.exec),x=!a.exec(oe),b=function(ue){if(!ie(ue))return!1;try{return ee(oe,ne,ue),!0}catch(ge){return!1}},te=function(ue){if(!ie(ue))return!1;switch(le(ue)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ae(ue))}catch(ge){return!0}};te.sham=!0,ve.exports=!ee||re(function(){var z;return b(b.call)||!b(Object)||!b(function(){z=!0})||z})?te: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,ve,de){var se=E("../internals/fails"),re=E("../internals/is-callable"),ie=/#|\.prototype\./,le=function(ee,a){var y=ae[ce(ee)];return y==ne?!0:y==oe?!1:re(a)?se(a):!!a},ce=le.normalize=function(ee){return String(ee).replace(ie,".").toLowerCase()},ae=le.data={},oe=le.NATIVE="N",ne=le.POLYFILL="P";ve.exports=le},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,ve,de){var se=E("../internals/is-object"),re=Math.floor;ve.exports=Number.isInteger||function(le){return!se(le)&&isFinite(le)&&re(le)===le}},{"../internals/is-object":180}],180:[function(E,ve,de){var se=E("../internals/is-callable");ve.exports=function(re){return typeof re=="object"?re!==null:se(re)}},{"../internals/is-callable":176}],181:[function(E,ve,de){ve.exports=!1},{}],182:[function(E,ve,de){var se=E("../internals/is-object"),re=E("../internals/classof-raw"),ie=E("../internals/well-known-symbol"),le=ie("match");ve.exports=function(ce){var ae;return se(ce)&&((ae=ce[le])!==void 0?!!ae:re(ce)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/get-built-in"),ie=E("../internals/is-callable"),le=E("../internals/object-is-prototype-of"),ce=E("../internals/use-symbol-as-uid"),ae=se.Object;ve.exports=ce?function(oe){return typeof oe=="symbol"}:function(oe){var ne=re("Symbol");return ie(ne)&&le(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,ve,de){var se=E("../internals/global"),re=E("../internals/function-bind-context"),ie=E("../internals/function-call"),le=E("../internals/an-object"),ce=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=se.TypeError,b=function(z,ue){this.stopped=z,this.result=ue},te=b.prototype;ve.exports=function(z,ue,ge){var me=ge&&ge.that,he=!!(ge&&ge.AS_ENTRIES),pe=!!(ge&&ge.IS_ITERATOR),be=!!(ge&&ge.INTERRUPTED),ye=re(ue,me),Pe,we,Oe,Ce,_e,Ee,Me,Ie=function(Re){return Pe&&y(Pe,"normal",Re),new b(!0,Re)},Be=function(Re){return he?(le(Re),be?ye(Re[0],Re[1],Ie):ye(Re[0],Re[1])):be?ye(Re,Ie):ye(Re)};if(pe)Pe=z;else{if(we=a(z),!we)throw x(ce(z)+" is not iterable");if(ae(we)){for(Oe=0,Ce=oe(z);Ce>Oe;Oe++)if(_e=Be(z[Oe]),_e&&ne(te,_e))return _e;return new b(!1)}Pe=ee(z,we)}for(Ee=Pe.next;!(Me=ie(Ee,Pe)).done;){try{_e=Be(Me.value)}catch(Re){y(Pe,"throw",Re)}if(typeof _e=="object"&&_e&&ne(te,_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,ve,de){var se=E("../internals/function-call"),re=E("../internals/an-object"),ie=E("../internals/get-method");ve.exports=function(le,ce,ae){var oe,ne;re(le);try{if(oe=ie(le,"return"),!oe){if(ce==="throw")throw ae;return ae}oe=se(oe,le)}catch(ee){ne=!0,oe=ee}if(ce==="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,ve,de){"use strict";var se=E("../internals/fails"),re=E("../internals/is-callable"),ie=E("../internals/object-create"),le=E("../internals/object-get-prototype-of"),ce=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=le(le(x)),y!==Object.prototype&&(a=y)):ee=!0);var b=a==null||se(function(){var te={};return a[ne].call(te)!==te});b?a={}:oe&&(a=ie(a)),re(a[ne])||ce(a,ne,function(){return this}),ve.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,ve,de){arguments[4][165][0].apply(de,arguments)},{dup:165}],188:[function(E,ve,de){var se=E("../internals/to-length");ve.exports=function(re){return se(re.length)}},{"../internals/to-length":249}],189:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/function-bind-context"),ie=E("../internals/object-get-own-property-descriptor").f,le=E("../internals/task").set,ce=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=se.MutationObserver||se.WebKitMutationObserver,a=se.document,y=se.process,x=se.Promise,b=ie(se,"queueMicrotask"),te=b&&b.value,z,ue,ge,me,he,pe,be,ye;te||(z=function(){var Pe,we;for(ne&&(Pe=y.domain)&&Pe.exit();ue;){we=ue.fn,ue=ue.next;try{we()}catch(Oe){throw ue?me():ge=void 0,Oe}}ge=void 0,Pe&&Pe.enter()},!ce&&!ne&&!oe&&ee&&a?(he=!0,pe=a.createTextNode(""),new ee(z).observe(pe,{characterData:!0}),me=function(){pe.data=he=!he}):!ae&&x&&x.resolve?(be=x.resolve(void 0),be.constructor=x,ye=re(be.then,be),me=function(){ye(z)}):ne?me=function(){y.nextTick(z)}:(le=re(le,se),me=function(){le(z)})),ve.exports=te||function(Pe){var we={fn:Pe,next:void 0};ge&&(ge.next=we),ue||(ue=we,me()),ge=we}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,ve,de){var se=E("../internals/native-symbol");ve.exports=se&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,ve,de){var se=E("../internals/engine-v8-version"),re=E("../internals/fails");ve.exports=!!Object.getOwnPropertySymbols&&!re(function(){var ie=Symbol();return!String(ie)||!(Object(ie)instanceof Symbol)||!Symbol.sham&&se&&se<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=E("../internals/inspect-source"),le=se.WeakMap;ve.exports=re(le)&&/native code/.test(ie(le))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,ve,de){"use strict";var se=E("../internals/a-callable"),re=function(ie){var le,ce;this.promise=new ie(function(ae,oe){if(le!==void 0||ce!==void 0)throw TypeError("Bad Promise constructor");le=ae,ce=oe}),this.resolve=se(le),this.reject=se(ce)};ve.exports.f=function(ie){return new re(ie)}},{"../internals/a-callable":95}],194:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/is-regexp"),ie=se.TypeError;ve.exports=function(le){if(re(le))throw ie("The method doesn't accept regular expressions");return le}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,ve,de){"use strict";var se=E("../internals/descriptors"),re=E("../internals/function-uncurry-this"),ie=E("../internals/function-call"),le=E("../internals/fails"),ce=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);ve.exports=!a||le(function(){if(se&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},te={},z=Symbol(),ue="abcdefghijklmnopqrst";return b[z]=7,ue.split("").forEach(function(ge){te[ge]=ge}),a({},b)[z]!=7||ce(a({},te)).join("")!=ue})?function(te,z){for(var ue=ne(te),ge=arguments.length,me=1,he=ae.f,pe=oe.f;ge>me;)for(var be=ee(arguments[me++]),ye=he?x(ce(be),he(be)):ce(be),Pe=ye.length,we=0,Oe;Pe>we;)Oe=ye[we++],(!se||ie(pe,be,Oe))&&(ue[Oe]=be[Oe]);return ue}: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,ve,de){var se=E("../internals/an-object"),re=E("../internals/object-define-properties"),ie=E("../internals/enum-bug-keys"),le=E("../internals/hidden-keys"),ce=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(){},te=function(he){return ee+y+ne+he+ee+"/"+y+ne},z=function(he){he.write(te("")),he.close();var pe=he.parentWindow.Object;return he=null,pe},ue=function(){var he=ae("iframe"),pe="java"+y+":",be;return he.style.display="none",ce.appendChild(he),he.src=String(pe),be=he.contentWindow.document,be.open(),be.write(te("document.F=Object")),be.close(),be.F},ge,me=function(){try{ge=new ActiveXObject("htmlfile")}catch(pe){}me=typeof document!="undefined"?document.domain&&ge?z(ge):ue():z(ge);for(var he=ie.length;he--;)delete me[a][ie[he]];return me()};le[x]=!0,ve.exports=Object.create||function(pe,be){var ye;return pe!==null?(b[a]=se(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,ve,de){var se=E("../internals/descriptors"),re=E("../internals/v8-prototype-define-bug"),ie=E("../internals/object-define-property"),le=E("../internals/an-object"),ce=E("../internals/to-indexed-object"),ae=E("../internals/object-keys");de.f=se&&!re?Object.defineProperties:function(ne,ee){le(ne);for(var a=ce(ee),y=ae(ee),x=y.length,b=0,te;x>b;)ie.f(ne,te=y[b++],a[te]);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,ve,de){var se=E("../internals/global"),re=E("../internals/descriptors"),ie=E("../internals/ie8-dom-define"),le=E("../internals/v8-prototype-define-bug"),ce=E("../internals/an-object"),ae=E("../internals/to-property-key"),oe=se.TypeError,ne=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";de.f=re?le?function(te,z,ue){if(ce(te),z=ae(z),ce(ue),typeof te=="function"&&z==="prototype"&&"value"in ue&&x in ue&&!ue[x]){var ge=ee(te,z);ge&&ge[x]&&(te[z]=ue.value,ue={configurable:y in ue?ue[y]:ge[y],enumerable:a in ue?ue[a]:ge[a],writable:!1})}return ne(te,z,ue)}:ne:function(te,z,ue){if(ce(te),z=ae(z),ce(ue),ie)try{return ne(te,z,ue)}catch(ge){}if("get"in ue||"set"in ue)throw oe("Accessors not supported");return"value"in ue&&(te[z]=ue.value),te}},{"../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,ve,de){var se=E("../internals/descriptors"),re=E("../internals/function-call"),ie=E("../internals/object-property-is-enumerable"),le=E("../internals/create-property-descriptor"),ce=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;de.f=se?ee:function(y,x){if(y=ce(y),x=ae(x),ne)try{return ee(y,x)}catch(b){}if(oe(y,x))return le(!re(ie.f,y,x),y[x])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(E,ve,de){var se=E("../internals/classof-raw"),re=E("../internals/to-indexed-object"),ie=E("../internals/object-get-own-property-names").f,le=E("../internals/array-slice-simple"),ce=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(oe){try{return ie(oe)}catch(ne){return le(ce)}};ve.exports.f=function(ne){return ce&&se(ne)=="Window"?ae(ne):ie(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,ve,de){var se=E("../internals/object-keys-internal"),re=E("../internals/enum-bug-keys"),ie=re.concat("length","prototype");de.f=Object.getOwnPropertyNames||function(ce){return se(ce,ie)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,ve,de){de.f=Object.getOwnPropertySymbols},{}],203:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/has-own-property"),ie=E("../internals/is-callable"),le=E("../internals/to-object"),ce=E("../internals/shared-key"),ae=E("../internals/correct-prototype-getter"),oe=ce("IE_PROTO"),ne=se.Object,ee=ne.prototype;ve.exports=ae?ne.getPrototypeOf:function(a){var y=le(a);if(re(y,oe))return y[oe];var x=y.constructor;return ie(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,ve,de){var se=E("../internals/function-uncurry-this");ve.exports=se({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,ve,de){var se=E("../internals/function-uncurry-this"),re=E("../internals/has-own-property"),ie=E("../internals/to-indexed-object"),le=E("../internals/array-includes").indexOf,ce=E("../internals/hidden-keys"),ae=se([].push);ve.exports=function(oe,ne){var ee=ie(oe),a=0,y=[],x;for(x in ee)!re(ce,x)&&re(ee,x)&&ae(y,x);for(;ne.length>a;)re(ee,x=ne[a++])&&(~le(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,ve,de){var se=E("../internals/object-keys-internal"),re=E("../internals/enum-bug-keys");ve.exports=Object.keys||function(le){return se(le,re)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,ve,de){"use strict";var se={}.propertyIsEnumerable,re=Object.getOwnPropertyDescriptor,ie=re&&!se.call({1:2},1);de.f=ie?function(ce){var ae=re(this,ce);return!!ae&&ae.enumerable}:se},{}],208:[function(E,ve,de){var se=E("../internals/function-uncurry-this"),re=E("../internals/an-object"),ie=E("../internals/a-possible-prototype");ve.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var le=!1,ce={},ae;try{ae=se(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(ce,[]),le=ce instanceof Array}catch(oe){}return function(ne,ee){return re(ne),ie(ee),le?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,ve,de){var se=E("../internals/descriptors"),re=E("../internals/function-uncurry-this"),ie=E("../internals/object-keys"),le=E("../internals/to-indexed-object"),ce=E("../internals/object-property-is-enumerable").f,ae=re(ce),oe=re([].push),ne=function(ee){return function(a){for(var y=le(a),x=ie(y),b=x.length,te=0,z=[],ue;b>te;)ue=x[te++],(!se||ae(y,ue))&&oe(z,ee?[ue,y[ue]]:y[ue]);return z}};ve.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,ve,de){"use strict";var se=E("../internals/to-string-tag-support"),re=E("../internals/classof");ve.exports=se?{}.toString:function(){return"[object "+re(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/is-callable"),le=E("../internals/is-object"),ce=se.TypeError;ve.exports=function(ae,oe){var ne,ee;if(oe==="string"&&ie(ne=ae.toString)&&!le(ee=re(ne,ae))||ie(ne=ae.valueOf)&&!le(ee=re(ne,ae))||oe!=="string"&&ie(ne=ae.toString)&&!le(ee=re(ne,ae)))return ee;throw ce("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,ve,de){var se=E("../internals/get-built-in"),re=E("../internals/function-uncurry-this"),ie=E("../internals/object-get-own-property-names"),le=E("../internals/object-get-own-property-symbols"),ce=E("../internals/an-object"),ae=re([].concat);ve.exports=se("Reflect","ownKeys")||function(ne){var ee=ie.f(ce(ne)),a=le.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,ve,de){var se=E("../internals/global");ve.exports=se},{"../internals/global":163}],214:[function(E,ve,de){ve.exports=function(se){try{return{error:!1,value:se()}}catch(re){return{error:!0,value:re}}}},{}],215:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/promise-native-constructor"),ie=E("../internals/is-callable"),le=E("../internals/is-forced"),ce=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=ie(se.PromiseRejectionEvent),te=le("Promise",function(){var z=ce(re),ue=z!==String(re);if(!ue&&ee===66||ne&&!(a.catch&&a.finally))return!0;if(ee>=51&&/native code/.test(z))return!1;var ge=new re(function(pe){pe(1)}),me=function(pe){pe(function(){},function(){})},he=ge.constructor={};return he[y]=me,x=ge.then(function(){})instanceof me,x?!ue&&oe&&!b:!0});ve.exports={CONSTRUCTOR:te,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,ve,de){var se=E("../internals/global");ve.exports=se.Promise},{"../internals/global":163}],217:[function(E,ve,de){var se=E("../internals/an-object"),re=E("../internals/is-object"),ie=E("../internals/new-promise-capability");ve.exports=function(le,ce){if(se(le),re(ce)&&ce.constructor===le)return ce;var ae=ie.f(le),oe=ae.resolve;return oe(ce),ae.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,ve,de){var se=E("../internals/promise-native-constructor"),re=E("../internals/check-correctness-of-iteration"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR;ve.exports=ie||!re(function(le){se.all(le).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,ve,de){var se=E("../internals/object-define-property").f;ve.exports=function(re,ie,le){le in re||se(re,le,{configurable:!0,get:function(){return ie[le]},set:function(ce){ie[le]=ce}})}},{"../internals/object-define-property":198}],220:[function(E,ve,de){var se=function(){this.head=null,this.tail=null};se.prototype={add:function(re){var ie={item:re,next:null};this.head?this.tail.next=ie:this.head=ie,this.tail=ie},get:function(){var re=this.head;if(re)return this.head=re.next,this.tail===re&&(this.tail=null),re.item}},ve.exports=se},{}],221:[function(E,ve,de){var se=E("../internals/redefine");ve.exports=function(re,ie,le){for(var ce in ie)se(re,ce,ie[ce],le);return re}},{"../internals/redefine":222}],222:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=E("../internals/has-own-property"),le=E("../internals/create-non-enumerable-property"),ce=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");(ve.exports=function(x,b,te,z){var ue=z?!!z.unsafe:!1,ge=z?!!z.enumerable:!1,me=z?!!z.noTargetGet:!1,he=z&&z.name!==void 0?z.name:b,pe;if(re(te)&&(String(he).slice(0,7)==="Symbol("&&(he="["+String(he).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ie(te,"name")||ne&&te.name!==he)&&le(te,"name",he),pe=a(te),pe.source||(pe.source=y.join(typeof he=="string"?he:""))),x===se){ge?x[b]=te:ce(b,te);return}else ue?!me&&x[b]&&(ge=!0):delete x[b];ge?x[b]=te:le(x,b,te)})(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,ve,de){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/an-object"),le=E("../internals/is-callable"),ce=E("../internals/classof-raw"),ae=E("../internals/regexp-exec"),oe=se.TypeError;ve.exports=function(ne,ee){var a=ne.exec;if(le(a)){var y=re(a,ne,ee);return y!==null&&ie(y),y}if(ce(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,ve,de){"use strict";var se=E("../internals/function-call"),re=E("../internals/function-uncurry-this"),ie=E("../internals/to-string"),le=E("../internals/regexp-flags"),ce=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,te=re("".charAt),z=re("".indexOf),ue=re("".replace),ge=re("".slice),me=function(){var ye=/a/,Pe=/b*/g;return se(x,ye,"a"),se(x,Pe,"a"),ye.lastIndex!==0||Pe.lastIndex!==0}(),he=ce.BROKEN_CARET,pe=/()??/.exec("")[1]!==void 0,be=me||pe||he||ee||a;be&&(b=function(Pe){var we=this,Oe=ne(we),Ce=ie(Pe),_e=Oe.raw,Ee,Me,Ie,Be,Re,tt,Ye;if(_e)return _e.lastIndex=we.lastIndex,Ee=se(b,_e,Ce),we.lastIndex=_e.lastIndex,Ee;var et=Oe.groups,Xe=he&&we.sticky,Ge=se(le,we),Fe=we.source,je=0,qe=Ce;if(Xe&&(Ge=ue(Ge,"y",""),z(Ge,"g")===-1&&(Ge+="g"),qe=ge(Ce,we.lastIndex),we.lastIndex>0&&(!we.multiline||we.multiline&&te(Ce,we.lastIndex-1)!==`
|
|
|
`)&&(Fe="(?: "+Fe+")",qe=" "+qe,je++),Me=new RegExp("^(?:"+Fe+")",Ge)),pe&&(Me=new RegExp("^"+Fe+"$(?!\\s)",Ge)),me&&(Ie=we.lastIndex),Be=se(x,Xe?Me:we,qe),Xe?Be?(Be.input=ge(Be.input,je),Be[0]=ge(Be[0],je),Be.index=we.lastIndex,we.lastIndex+=Be[0].length):we.lastIndex=0:me&&Be&&(we.lastIndex=we.global?Be.index+Be[0].length:Ie),pe&&Be&&Be.length>1&&se(y,Be[0],Me,function(){for(Re=1;Re<arguments.length-2;Re++)arguments[Re]===void 0&&(Be[Re]=void 0)}),Be&&et)for(Be.groups=tt=oe(null),Re=0;Re<et.length;Re++)Ye=et[Re],tt[Ye[0]]=Be[Ye[1]];return Be}),ve.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,ve,de){"use strict";var se=E("../internals/an-object");ve.exports=function(){var re=se(this),ie="";return re.hasIndices&&(ie+="d"),re.global&&(ie+="g"),re.ignoreCase&&(ie+="i"),re.multiline&&(ie+="m"),re.dotAll&&(ie+="s"),re.unicode&&(ie+="u"),re.sticky&&(ie+="y"),ie}},{"../internals/an-object":101}],226:[function(E,ve,de){var se=E("../internals/function-call"),re=E("../internals/has-own-property"),ie=E("../internals/object-is-prototype-of"),le=E("../internals/regexp-flags"),ce=RegExp.prototype;ve.exports=function(ae){var oe=ae.flags;return oe===void 0&&!("flags"in ce)&&!re(ae,"flags")&&ie(ce,ae)?se(le,ae):oe}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(E,ve,de){var se=E("../internals/fails"),re=E("../internals/global"),ie=re.RegExp,le=se(function(){var oe=ie("a","y");return oe.lastIndex=2,oe.exec("abcd")!=null}),ce=le||se(function(){return!ie("a","y").sticky}),ae=le||se(function(){var oe=ie("^r","gy");return oe.lastIndex=2,oe.exec("str")!=null});ve.exports={BROKEN_CARET:ae,MISSED_STICKY:ce,UNSUPPORTED_Y:le}},{"../internals/fails":150,"../internals/global":163}],228:[function(E,ve,de){var se=E("../internals/fails"),re=E("../internals/global"),ie=re.RegExp;ve.exports=se(function(){var le=ie(".","s");return!(le.dotAll&&le.exec(`
|
|
|
`)&&le.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(E,ve,de){var se=E("../internals/fails"),re=E("../internals/global"),ie=re.RegExp;ve.exports=se(function(){var le=ie("(?<a>b)","g");return le.exec("b").groups.a!=="b"||"b".replace(le,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,ve,de){var se=E("../internals/global"),re=se.TypeError;ve.exports=function(ie){if(ie==null)throw re("Can't call method on "+ie);return ie}},{"../internals/global":163}],231:[function(E,ve,de){ve.exports=Object.is||function(re,ie){return re===ie?re!==0||1/re===1/ie:re!=re&&ie!=ie}},{}],232:[function(E,ve,de){var se=E("../internals/global"),re=Object.defineProperty;ve.exports=function(ie,le){try{re(se,ie,{value:le,configurable:!0,writable:!0})}catch(ce){se[ie]=le}return le}},{"../internals/global":163}],233:[function(E,ve,de){"use strict";var se=E("../internals/get-built-in"),re=E("../internals/object-define-property"),ie=E("../internals/well-known-symbol"),le=E("../internals/descriptors"),ce=ie("species");ve.exports=function(ae){var oe=se(ae),ne=re.f;le&&oe&&!oe[ce]&&ne(oe,ce,{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,ve,de){var se=E("../internals/object-define-property").f,re=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol"),le=ie("toStringTag");ve.exports=function(ce,ae,oe){ce&&!oe&&(ce=ce.prototype),ce&&!re(ce,le)&&se(ce,le,{configurable:!0,value:ae})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,ve,de){var se=E("../internals/shared"),re=E("../internals/uid"),ie=se("keys");ve.exports=function(le){return ie[le]||(ie[le]=re(le))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/set-global"),ie="__core-js_shared__",le=se[ie]||re(ie,{});ve.exports=le},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,ve,de){var se=E("../internals/is-pure"),re=E("../internals/shared-store");(ve.exports=function(ie,le){return re[ie]||(re[ie]=le!==void 0?le:{})})("versions",[]).push({version:"3.22.1",mode:se?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(E,ve,de){var se=E("../internals/an-object"),re=E("../internals/a-constructor"),ie=E("../internals/well-known-symbol"),le=ie("species");ve.exports=function(ce,ae){var oe=se(ce).constructor,ne;return oe===void 0||(ne=se(oe)[le])==null?ae:re(ne)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,ve,de){var se=E("../internals/function-uncurry-this"),re=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-string"),le=E("../internals/require-object-coercible"),ce=se("".charAt),ae=se("".charCodeAt),oe=se("".slice),ne=function(ee){return function(a,y){var x=ie(le(a)),b=re(y),te=x.length,z,ue;return b<0||b>=te?ee?"":void 0:(z=ae(x,b),z<55296||z>56319||b+1===te||(ue=ae(x,b+1))<56320||ue>57343?ee?ce(x,b):z:ee?oe(x,b,b+2):(z-55296<<10)+(ue-56320)+65536)}};ve.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,ve,de){var se=E("../internals/function-name").PROPER,re=E("../internals/fails"),ie=E("../internals/whitespaces"),le="\u200B\x85\u180E";ve.exports=function(ce){return re(function(){return!!ie[ce]()||le[ce]()!==le||se&&ie[ce].name!==ce})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,ve,de){var se=E("../internals/function-uncurry-this"),re=E("../internals/require-object-coercible"),ie=E("../internals/to-string"),le=E("../internals/whitespaces"),ce=se("".replace),ae="["+le+"]",oe=RegExp("^"+ae+ae+"*"),ne=RegExp(ae+ae+"*$"),ee=function(a){return function(y){var x=ie(re(y));return a&1&&(x=ce(x,oe,"")),a&2&&(x=ce(x,ne,"")),x}};ve.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,ve,de){var se=E("../internals/function-call"),re=E("../internals/get-built-in"),ie=E("../internals/well-known-symbol"),le=E("../internals/redefine");ve.exports=function(){var ce=re("Symbol"),ae=ce&&ce.prototype,oe=ae&&ae.valueOf,ne=ie("toPrimitive");ae&&!ae[ne]&&le(ae,ne,function(ee){return se(oe,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/function-apply"),ie=E("../internals/function-bind-context"),le=E("../internals/is-callable"),ce=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=se.setImmediate,te=se.clearImmediate,z=se.process,ue=se.Dispatch,ge=se.Function,me=se.MessageChannel,he=se.String,pe=0,be={},ye="onreadystatechange",Pe,we,Oe,Ce;try{Pe=se.location}catch(Be){}var _e=function(Be){if(ce(be,Be)){var Re=be[Be];delete be[Be],Re()}},Ee=function(Be){return function(){_e(Be)}},Me=function(Be){_e(Be.data)},Ie=function(Be){se.postMessage(he(Be),Pe.protocol+"//"+Pe.host)};(!b||!te)&&(b=function(Re){a(arguments.length,1);var tt=le(Re)?Re:ge(Re),Ye=ne(arguments,1);return be[++pe]=function(){re(tt,void 0,Ye)},we(pe),pe},te=function(Re){delete be[Re]},x?we=function(Be){z.nextTick(Ee(Be))}:ue&&ue.now?we=function(Be){ue.now(Ee(Be))}:me&&!y?(Oe=new me,Ce=Oe.port2,Oe.port1.onmessage=Me,we=ie(Ce.postMessage,Ce)):se.addEventListener&&le(se.postMessage)&&!se.importScripts&&Pe&&Pe.protocol!=="file:"&&!ae(Ie)?(we=Ie,se.addEventListener("message",Me,!1)):ye in ee("script")?we=function(Be){oe.appendChild(ee("script"))[ye]=function(){oe.removeChild(this),_e(Be)}}:we=function(Be){setTimeout(Ee(Be),0)}),ve.exports={set:b,clear:te}},{"../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,ve,de){var se=E("../internals/function-uncurry-this");ve.exports=se(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,ve,de){var se=E("../internals/to-integer-or-infinity"),re=Math.max,ie=Math.min;ve.exports=function(le,ce){var ae=se(le);return ae<0?re(ae+ce,0):ie(ae,ce)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-length"),le=se.RangeError;ve.exports=function(ce){if(ce===void 0)return 0;var ae=re(ce),oe=ie(ae);if(ae!==oe)throw le("Wrong length or index");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,ve,de){var se=E("../internals/indexed-object"),re=E("../internals/require-object-coercible");ve.exports=function(ie){return se(re(ie))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,ve,de){var se=Math.ceil,re=Math.floor;ve.exports=function(ie){var le=+ie;return le!==le||le===0?0:(le>0?re:se)(le)}},{}],249:[function(E,ve,de){var se=E("../internals/to-integer-or-infinity"),re=Math.min;ve.exports=function(ie){return ie>0?re(se(ie),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/require-object-coercible"),ie=se.Object;ve.exports=function(le){return ie(re(le))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/to-positive-integer"),ie=se.RangeError;ve.exports=function(le,ce){var ae=re(le);if(ae%ce)throw ie("Wrong offset");return ae}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),ie=se.RangeError;ve.exports=function(le){var ce=re(le);if(ce<0)throw ie("The argument can't be less than 0");return ce}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/is-object"),le=E("../internals/is-symbol"),ce=E("../internals/get-method"),ae=E("../internals/ordinary-to-primitive"),oe=E("../internals/well-known-symbol"),ne=se.TypeError,ee=oe("toPrimitive");ve.exports=function(a,y){if(!ie(a)||le(a))return a;var x=ce(a,ee),b;if(x){if(y===void 0&&(y="default"),b=re(x,a,y),!ie(b)||le(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,ve,de){var se=E("../internals/to-primitive"),re=E("../internals/is-symbol");ve.exports=function(ie){var le=se(ie,"string");return re(le)?le:le+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,ve,de){var se=E("../internals/well-known-symbol"),re=se("toStringTag"),ie={};ie[re]="z",ve.exports=String(ie)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/classof"),ie=se.String;ve.exports=function(le){if(re(le)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ie(le)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,ve,de){var se=E("../internals/global"),re=se.String;ve.exports=function(ie){try{return re(ie)}catch(le){return"Object"}}},{"../internals/global":163}],258:[function(E,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/function-call"),le=E("../internals/descriptors"),ce=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"),te=E("../internals/to-offset"),z=E("../internals/to-property-key"),ue=E("../internals/has-own-property"),ge=E("../internals/classof"),me=E("../internals/is-object"),he=E("../internals/is-symbol"),pe=E("../internals/object-create"),be=E("../internals/object-is-prototype-of"),ye=E("../internals/object-set-prototype-of"),Pe=E("../internals/object-get-own-property-names").f,we=E("../internals/typed-array-from"),Oe=E("../internals/array-iteration").forEach,Ce=E("../internals/set-species"),_e=E("../internals/object-define-property"),Ee=E("../internals/object-get-own-property-descriptor"),Me=E("../internals/internal-state"),Ie=E("../internals/inherit-if-required"),Be=Me.get,Re=Me.set,tt=_e.f,Ye=Ee.f,et=Math.round,Xe=re.RangeError,Ge=oe.ArrayBuffer,Fe=Ge.prototype,je=oe.DataView,qe=ae.NATIVE_ARRAY_BUFFER_VIEWS,Je=ae.TYPED_ARRAY_CONSTRUCTOR,it=ae.TYPED_ARRAY_TAG,Qe=ae.TypedArray,Ze=ae.TypedArrayPrototype,De=ae.aTypedArrayConstructor,Ve=ae.isTypedArray,Ae="BYTES_PER_ELEMENT",ke="Wrong length",$e=function(He,rt){De(He);for(var mt=0,vt=rt.length,nt=new He(vt);vt>mt;)nt[mt]=rt[mt++];return nt},Ke=function(He,rt){tt(He,rt,{get:function(){return Be(this)[rt]}})},ze=function(He){var rt;return be(Fe,He)||(rt=ge(He))=="ArrayBuffer"||rt=="SharedArrayBuffer"},Le=function(He,rt){return Ve(He)&&!he(rt)&&rt in He&&y(+rt)&&rt>=0},Te=function(rt,mt){return mt=z(mt),Le(rt,mt)?ee(2,rt[mt]):Ye(rt,mt)},Ne=function(rt,mt,vt){return mt=z(mt),Le(rt,mt)&&me(vt)&&ue(vt,"value")&&!ue(vt,"get")&&!ue(vt,"set")&&!vt.configurable&&(!ue(vt,"writable")||vt.writable)&&(!ue(vt,"enumerable")||vt.enumerable)?(rt[mt]=vt.value,rt):tt(rt,mt,vt)};le?(qe||(Ee.f=Te,_e.f=Ne,Ke(Ze,"buffer"),Ke(Ze,"byteOffset"),Ke(Ze,"byteLength"),Ke(Ze,"length")),se({target:"Object",stat:!0,forced:!qe},{getOwnPropertyDescriptor:Te,defineProperty:Ne}),ve.exports=function(He,rt,mt){var vt=He.match(/\d+$/)[0]/8,nt=He+(mt?"Clamped":"")+"Array",ut="get"+He,Et="set"+He,Ot=re[nt],at=Ot,Tt=at&&at.prototype,st={},pt=function(Lt,$t){var nn=Be(Lt);return nn.view[ut]($t*vt+nn.byteOffset,!0)},Pt=function(Lt,$t,nn){var un=Be(Lt);mt&&(nn=(nn=et(nn))<0?0:nn>255?255:nn&255),un.view[Et]($t*vt+un.byteOffset,nn,!0)},wt=function(Lt,$t){tt(Lt,$t,{get:function(){return pt(this,$t)},set:function(nn){return Pt(this,$t,nn)},enumerable:!0})};qe?ce&&(at=rt(function(Lt,$t,nn,un){return ne(Lt,Tt),Ie(function(){return me($t)?ze($t)?un!==void 0?new Ot($t,te(nn,vt),un):nn!==void 0?new Ot($t,te(nn,vt)):new Ot($t):Ve($t)?$e(at,$t):ie(we,at,$t):new Ot(b($t))}(),Lt,at)}),ye&&ye(at,Qe),Oe(Pe(Ot),function(Lt){Lt in at||a(at,Lt,Ot[Lt])}),at.prototype=Tt):(at=rt(function(Lt,$t,nn,un){ne(Lt,Tt);var Cn=0,Sn=0,Kn,nr,fr;if(!me($t))fr=b($t),nr=fr*vt,Kn=new Ge(nr);else if(ze($t)){Kn=$t,Sn=te(nn,vt);var Ur=$t.byteLength;if(un===void 0){if(Ur%vt||(nr=Ur-Sn,nr<0))throw Xe(ke)}else if(nr=x(un)*vt,nr+Sn>Ur)throw Xe(ke);fr=nr/vt}else return Ve($t)?$e(at,$t):ie(we,at,$t);for(Re(Lt,{buffer:Kn,byteOffset:Sn,byteLength:nr,length:fr,view:new je(Kn)});Cn<fr;)wt(Lt,Cn++)}),ye&&ye(at,Qe),Tt=at.prototype=pe(Ze)),Tt.constructor!==at&&a(Tt,"constructor",at),a(Tt,Je,at),it&&a(Tt,it,nt),st[nt]=at,se({global:!0,forced:at!=Ot,sham:!qe},st),Ae in at||a(at,Ae,vt),Ae in Tt||a(Tt,Ae,vt),Ce(nt)}):ve.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,ve,de){var se=E("../internals/global"),re=E("../internals/fails"),ie=E("../internals/check-correctness-of-iteration"),le=E("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,ce=se.ArrayBuffer,ae=se.Int8Array;ve.exports=!le||!re(function(){ae(1)})||!re(function(){new ae(-1)})||!ie(function(oe){new ae,new ae(null),new ae(1.5),new ae(oe)},!0)||re(function(){return new ae(new ce(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,ve,de){var se=E("../internals/array-from-constructor-and-list"),re=E("../internals/typed-array-species-constructor");ve.exports=function(ie,le){return se(re(ie),le)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(E,ve,de){var se=E("../internals/function-bind-context"),re=E("../internals/function-call"),ie=E("../internals/a-constructor"),le=E("../internals/to-object"),ce=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;ve.exports=function(y){var x=ie(this),b=le(y),te=arguments.length,z=te>1?arguments[1]:void 0,ue=z!==void 0,ge=oe(b),me,he,pe,be,ye,Pe;if(ge&&!ne(ge))for(ye=ae(b,ge),Pe=ye.next,b=[];!(be=re(Pe,ye)).done;)b.push(be.value);for(ue&&te>2&&(z=se(z,arguments[2])),he=ce(b),pe=new(ee(x))(he),me=0;he>me;me++)pe[me]=ue?z(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,ve,de){var se=E("../internals/array-buffer-view-core"),re=E("../internals/species-constructor"),ie=se.TYPED_ARRAY_CONSTRUCTOR,le=se.aTypedArrayConstructor;ve.exports=function(ce){return le(re(ce,ce[ie]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,ve,de){var se=E("../internals/function-uncurry-this"),re=0,ie=Math.random(),le=se(1 .toString);ve.exports=function(ce){return"Symbol("+(ce===void 0?"":ce)+")_"+le(++re+ie,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,ve,de){var se=E("../internals/native-symbol");ve.exports=se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,ve,de){var se=E("../internals/descriptors"),re=E("../internals/fails");ve.exports=se&&re(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,ve,de){var se=E("../internals/global"),re=se.TypeError;ve.exports=function(ie,le){if(ie<le)throw re("Not enough arguments");return ie}},{"../internals/global":163}],267:[function(E,ve,de){var se=E("../internals/well-known-symbol");de.f=se},{"../internals/well-known-symbol":268}],268:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/shared"),ie=E("../internals/has-own-property"),le=E("../internals/uid"),ce=E("../internals/native-symbol"),ae=E("../internals/use-symbol-as-uid"),oe=re("wks"),ne=se.Symbol,ee=ne&&ne.for,a=ae?ne:ne&&ne.withoutSetter||le;ve.exports=function(y){if(!ie(oe,y)||!(ce||typeof oe[y]=="string")){var x="Symbol."+y;ce&&ie(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,ve,de){ve.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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/array-buffer"),le=E("../internals/set-species"),ce="ArrayBuffer",ae=ie[ce],oe=re[ce];se({global:!0,forced:oe!==ae},{ArrayBuffer:ae}),le(ce)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/array-buffer"),ce=E("../internals/an-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/to-length"),ne=E("../internals/species-constructor"),ee=le.ArrayBuffer,a=le.DataView,y=a.prototype,x=re(ee.prototype.slice),b=re(y.getUint8),te=re(y.setUint8),z=ie(function(){return!new ee(2).slice(1,void 0).byteLength});se({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:z},{slice:function(ge,me){if(x&&me===void 0)return x(ce(this),ge);for(var he=ce(this).byteLength,pe=ae(ge,he),be=ae(me===void 0?he:me,he),ye=new(ne(this,ee))(oe(be-pe)),Pe=new a(this),we=new a(ye),Oe=0;pe<be;)te(we,Oe++,b(Pe,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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/fails"),le=E("../internals/is-array"),ce=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"),te=9007199254740991,z="Maximum allowed index exceeded",ue=re.TypeError,ge=x>=51||!ie(function(){var be=[];return be[b]=!1,be.concat()[0]!==be}),me=a("concat"),he=function(be){if(!ce(be))return!1;var ye=be[b];return ye!==void 0?!!ye:le(be)},pe=!ge||!me;se({target:"Array",proto:!0,forced:pe},{concat:function(ye){var Pe=ae(this),we=ee(Pe,0),Oe=0,Ce,_e,Ee,Me,Ie;for(Ce=-1,Ee=arguments.length;Ce<Ee;Ce++)if(Ie=Ce===-1?Pe:arguments[Ce],he(Ie)){if(Me=oe(Ie),Oe+Me>te)throw ue(z);for(_e=0;_e<Me;_e++,Oe++)_e in Ie&&ne(we,Oe,Ie[_e])}else{if(Oe>=te)throw ue(z);ne(we,Oe++,Ie)}return we.length=Oe,we}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,ve,de){var se=E("../internals/export"),re=E("../internals/array-fill"),ie=E("../internals/add-to-unscopables");se({target:"Array",proto:!0},{fill:re}),ie("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/array-iteration").filter,ie=E("../internals/array-method-has-species-support"),le=ie("filter");se({target:"Array",proto:!0,forced:!le},{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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/array-iteration").find,ie=E("../internals/add-to-unscopables"),le="find",ce=!0;le in[]&&Array(1)[le](function(){ce=!1}),se({target:"Array",proto:!0,forced:ce},{find:function(oe){return re(this,oe,arguments.length>1?arguments[1]:void 0)}}),ie(le)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,ve,de){var se=E("../internals/export"),re=E("../internals/array-from"),ie=E("../internals/check-correctness-of-iteration"),le=!ie(function(ce){Array.from(ce)});se({target:"Array",stat:!0,forced:le},{from:re})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/array-includes").includes,ie=E("../internals/add-to-unscopables");se({target:"Array",proto:!0},{includes:function(ce){return re(this,ce,arguments.length>1?arguments[1]:void 0)}}),ie("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,ve,de){"use strict";var se=E("../internals/to-indexed-object"),re=E("../internals/add-to-unscopables"),ie=E("../internals/iterators"),le=E("../internals/internal-state"),ce=E("../internals/object-define-property").f,ae=E("../internals/define-iterator"),oe=E("../internals/is-pure"),ne=E("../internals/descriptors"),ee="Array Iterator",a=le.set,y=le.getterFor(ee);ve.exports=ae(Array,"Array",function(b,te){a(this,{type:ee,target:se(b),index:0,kind:te})},function(){var b=y(this),te=b.target,z=b.kind,ue=b.index++;return!te||ue>=te.length?(b.target=void 0,{value:void 0,done:!0}):z=="keys"?{value:ue,done:!1}:z=="values"?{value:te[ue],done:!1}:{value:[ue,te[ue]],done:!1}},"values");var x=ie.Arguments=ie.Array;if(re("keys"),re("values"),re("entries"),!oe&&ne&&x.name!=="values")try{ce(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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),le=E("../internals/to-indexed-object"),ce=E("../internals/array-method-is-strict"),ae=re([].join),oe=ie!=Object,ne=ce("join",",");se({target:"Array",proto:!0,forced:oe||!ne},{join:function(a){return ae(le(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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/array-iteration").map,ie=E("../internals/array-method-has-species-support"),le=ie("map");se({target:"Array",proto:!0,forced:!le},{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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/is-array"),le=E("../internals/is-constructor"),ce=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"),te=a("species"),z=re.Array,ue=Math.max;se({target:"Array",proto:!0,forced:!b},{slice:function(me,he){var pe=ne(this),be=oe(pe),ye=ae(me,be),Pe=ae(he===void 0?be:he,be),we,Oe,Ce;if(ie(pe)&&(we=pe.constructor,le(we)&&(we===z||ie(we.prototype))?we=void 0:ce(we)&&(we=we[te],we===null&&(we=void 0)),we===z||we===void 0))return x(pe,ye,Pe);for(Oe=new(we===void 0?z:we)(ue(Pe-ye,0)),Ce=0;ye<Pe;ye++,Ce++)ye in pe&&ee(Oe,Ce,pe[ye]);return Oe.length=Ce,Oe}})},{"../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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/a-callable"),le=E("../internals/to-object"),ce=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"),te=[],z=re(te.sort),ue=re(te.push),ge=oe(function(){te.sort(void 0)}),me=oe(function(){te.sort(null)}),he=ee("sort"),pe=!oe(function(){if(x)return x<70;if(!(a&&a>3)){if(y)return!0;if(b)return b<603;var Pe="",we,Oe,Ce,_e;for(we=65;we<76;we++){switch(Oe=String.fromCharCode(we),we){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++)te.push({k:Oe+_e,v:Ce})}for(te.sort(function(Ee,Me){return Me.v-Ee.v}),_e=0;_e<te.length;_e++)Oe=te[_e].k.charAt(0),Pe.charAt(Pe.length-1)!==Oe&&(Pe+=Oe);return Pe!=="DGBEFHACIJK"}}),be=ge||!me||!he||!pe,ye=function(Pe){return function(we,Oe){return Oe===void 0?-1:we===void 0?1:Pe!==void 0?+Pe(we,Oe)||0:ae(we)>ae(Oe)?1:-1}};se({target:"Array",proto:!0,forced:be},{sort:function(we){we!==void 0&&ie(we);var Oe=le(this);if(pe)return we===void 0?z(Oe):z(Oe,we);var Ce=[],_e=ce(Oe),Ee,Me;for(Me=0;Me<_e;Me++)Me in Oe&&ue(Ce,Oe[Me]);for(ne(Ce,ye(we)),Ee=Ce.length,Me=0;Me<Ee;)Oe[Me]=Ce[Me++];for(;Me<_e;)delete Oe[Me++];return Oe}})},{"../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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/to-absolute-index"),le=E("../internals/to-integer-or-infinity"),ce=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,te=9007199254740991,z="Maximum allowed length exceeded";se({target:"Array",proto:!0,forced:!a},{splice:function(ge,me){var he=ae(this),pe=ce(he),be=ie(ge,pe),ye=arguments.length,Pe,we,Oe,Ce,_e,Ee;if(ye===0?Pe=we=0:ye===1?(Pe=0,we=pe-be):(Pe=ye-2,we=b(x(le(me),0),pe-be)),pe+Pe-we>te)throw y(z);for(Oe=oe(he,we),Ce=0;Ce<we;Ce++)_e=be+Ce,_e in he&&ne(Oe,Ce,he[_e]);if(Oe.length=we,Pe<we){for(Ce=be;Ce<pe-we;Ce++)_e=Ce+we,Ee=Ce+Pe,_e in he?he[Ee]=he[_e]:delete he[Ee];for(Ce=pe;Ce>pe-we+Pe;Ce--)delete he[Ce-1]}else if(Pe>we)for(Ce=pe-we;Ce>be;Ce--)_e=Ce+we-1,Ee=Ce+Pe-1,_e in he?he[Ee]=he[_e]:delete he[Ee];for(Ce=0;Ce<Pe;Ce++)he[Ce+be]=arguments[Ce+2];return he.length=pe-we+Pe,Oe}})},{"../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,ve,de){var se=E("../internals/descriptors"),re=E("../internals/function-name").EXISTS,ie=E("../internals/function-uncurry-this"),le=E("../internals/object-define-property").f,ce=Function.prototype,ae=ie(ce.toString),oe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ne=ie(oe.exec),ee="name";se&&!re&&le(ce,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,ve,de){var se=E("../internals/export"),re=E("../internals/get-built-in"),ie=E("../internals/function-apply"),le=E("../internals/function-call"),ce=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"),te=ce(/./.exec),z=ce("".charAt),ue=ce("".charCodeAt),ge=ce("".replace),me=ce(1 .toString),he=/[\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))!="{}"}),Pe=ae(function(){return b("\uDF06\uD834")!=='"\\udf06\\ud834"'||b("\uDEAD")!=='"\\udead"'}),we=function(Ce,_e){var Ee=y(arguments),Me=_e;if(!(!ee(_e)&&Ce===void 0||a(Ce)))return oe(_e)||(_e=function(Ie,Be){if(ne(Me)&&(Be=le(Me,this,Ie,Be)),!a(Be))return Be}),Ee[1]=_e,ie(b,null,Ee)},Oe=function(Ce,_e,Ee){var Me=z(Ee,_e-1),Ie=z(Ee,_e+1);return te(pe,Ce)&&!te(be,Ie)||te(be,Ce)&&!te(pe,Me)?"\\u"+me(ue(Ce,0),16):Ce};b&&se({target:"JSON",stat:!0,forced:ye||Pe},{stringify:function(_e,Ee,Me){var Ie=y(arguments),Be=ie(ye?we:b,null,Ie);return Pe&&typeof Be=="string"?ge(Be,he,Oe):Be}})},{"../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,ve,de){"use strict";var se=E("../internals/descriptors"),re=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-forced"),ce=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,te=E("../internals/object-define-property").f,z=E("../internals/this-number-value"),ue=E("../internals/string-trim").trim,ge="Number",me=re[ge],he=me.prototype,pe=re.TypeError,be=ie("".slice),ye=ie("".charCodeAt),Pe=function(Me){var Ie=a(Me,"number");return typeof Ie=="bigint"?Ie:we(Ie)},we=function(Me){var Ie=a(Me,"number"),Be,Re,tt,Ye,et,Xe,Ge,Fe;if(ee(Ie))throw pe("Cannot convert a Symbol value to a number");if(typeof Ie=="string"&&Ie.length>2){if(Ie=ue(Ie),Be=ye(Ie,0),Be===43||Be===45){if(Re=ye(Ie,2),Re===88||Re===120)return NaN}else if(Be===48){switch(ye(Ie,1)){case 66:case 98:tt=2,Ye=49;break;case 79:case 111:tt=8,Ye=55;break;default:return+Ie}for(et=be(Ie,2),Xe=et.length,Ge=0;Ge<Xe;Ge++)if(Fe=ye(et,Ge),Fe<48||Fe>Ye)return NaN;return parseInt(et,tt)}}return+Ie};if(le(ge,!me(" 0o1")||!me("0b1")||me("+0x1"))){for(var Oe=function(Ie){var Be=arguments.length<1?0:me(Pe(Ie)),Re=this;return ne(he,Re)&&y(function(){z(Re)})?oe(Object(Be),Re,Oe):Be},Ce=se?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,Ee;Ce.length>_e;_e++)ae(me,Ee=Ce[_e])&&!ae(Oe,Ee)&&te(Oe,Ee,b(me,Ee));Oe.prototype=he,he.constructor=Oe,ce(re,ge,Oe)}},{"../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,ve,de){var se=E("../internals/export"),re=E("../internals/object-assign");se({target:"Object",stat:!0,forced:Object.assign!==re},{assign:re})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,ve,de){var se=E("../internals/export"),re=E("../internals/object-to-array").entries;se({target:"Object",stat:!0},{entries:function(le){return re(le)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,ve,de){var se=E("../internals/export"),re=E("../internals/native-symbol"),ie=E("../internals/fails"),le=E("../internals/object-get-own-property-symbols"),ce=E("../internals/to-object"),ae=!re||ie(function(){le.f(1)});se({target:"Object",stat:!0,forced:ae},{getOwnPropertySymbols:function(ne){var ee=le.f;return ee?ee(ce(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,ve,de){var se=E("../internals/export"),re=E("../internals/to-object"),ie=E("../internals/object-keys"),le=E("../internals/fails"),ce=le(function(){ie(1)});se({target:"Object",stat:!0,forced:ce},{keys:function(oe){return ie(re(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,ve,de){var se=E("../internals/to-string-tag-support"),re=E("../internals/redefine"),ie=E("../internals/object-to-string");se||re(Object.prototype,"toString",ie,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/new-promise-capability"),ce=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");se({target:"Promise",stat:!0,forced:oe},{all:function(ee){var a=this,y=le.f(a),x=y.resolve,b=y.reject,te=ce(function(){var z=ie(a.resolve),ue=[],ge=0,me=1;ae(ee,function(he){var pe=ge++,be=!1;me++,re(z,a,he).then(function(ye){be||(be=!0,ue[pe]=ye,--me||x(ue))},b)}),--me||x(ue)});return te.error&&b(te.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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/is-pure"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR,le=E("../internals/promise-native-constructor"),ce=E("../internals/get-built-in"),ae=E("../internals/is-callable"),oe=E("../internals/redefine"),ne=le&&le.prototype;if(se({target:"Promise",proto:!0,forced:ie,real:!0},{catch:function(a){return this.then(void 0,a)}}),!re&&ae(le)){var ee=ce("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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/is-pure"),ie=E("../internals/engine-is-node"),le=E("../internals/global"),ce=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"),te=E("../internals/an-instance"),z=E("../internals/species-constructor"),ue=E("../internals/task").set,ge=E("../internals/microtask"),me=E("../internals/host-report-errors"),he=E("../internals/perform"),pe=E("../internals/queue"),be=E("../internals/internal-state"),ye=E("../internals/promise-native-constructor"),Pe=E("../internals/promise-constructor-detection"),we=E("../internals/new-promise-capability"),Oe="Promise",Ce=Pe.CONSTRUCTOR,_e=Pe.REJECTION_EVENT,Ee=Pe.SUBCLASSING,Me=be.getterFor(Oe),Ie=be.set,Be=ye&&ye.prototype,Re=ye,tt=Be,Ye=le.TypeError,et=le.document,Xe=le.process,Ge=we.f,Fe=Ge,je=!!(et&&et.createEvent&&le.dispatchEvent),qe="unhandledrejection",Je="rejectionhandled",it=0,Qe=1,Ze=2,De=1,Ve=2,Ae,ke,$e,Ke,ze=function(Et){var Ot;return b(Et)&&x(Ot=Et.then)?Ot:!1},Le=function(Et,Ot){var at=Ot.value,Tt=Ot.state==Qe,st=Tt?Et.ok:Et.fail,pt=Et.resolve,Pt=Et.reject,wt=Et.domain,Lt,$t,nn;try{st?(Tt||(Ot.rejection===Ve&&mt(Ot),Ot.rejection=De),st===!0?Lt=at:(wt&&wt.enter(),Lt=st(at),wt&&(wt.exit(),nn=!0)),Lt===Et.promise?Pt(Ye("Promise-chain cycle")):($t=ze(Lt))?ce($t,Lt,pt,Pt):pt(Lt)):Pt(at)}catch(un){wt&&!nn&&wt.exit(),Pt(un)}},Te=function(Et,Ot){Et.notified||(Et.notified=!0,ge(function(){for(var at=Et.reactions,Tt;Tt=at.get();)Le(Tt,Et);Et.notified=!1,Ot&&!Et.rejection&&He(Et)}))},Ne=function(Et,Ot,at){var Tt,st;je?(Tt=et.createEvent("Event"),Tt.promise=Ot,Tt.reason=at,Tt.initEvent(Et,!1,!0),le.dispatchEvent(Tt)):Tt={promise:Ot,reason:at},!_e&&(st=le["on"+Et])?st(Tt):Et===qe&&me("Unhandled promise rejection",at)},He=function(Et){ce(ue,le,function(){var Ot=Et.facade,at=Et.value,Tt=rt(Et),st;if(Tt&&(st=he(function(){ie?Xe.emit("unhandledRejection",at,Ot):Ne(qe,Ot,at)}),Et.rejection=ie||rt(Et)?Ve:De,st.error))throw st.value})},rt=function(Et){return Et.rejection!==De&&!Et.parent},mt=function(Et){ce(ue,le,function(){var Ot=Et.facade;ie?Xe.emit("rejectionHandled",Ot):Ne(Je,Ot,Et.value)})},vt=function(Et,Ot,at){return function(Tt){Et(Ot,Tt,at)}},nt=function(Et,Ot,at){Et.done||(Et.done=!0,at&&(Et=at),Et.value=Ot,Et.state=Ze,Te(Et,!0))},ut=function(Et,Ot,at){if(!Et.done){Et.done=!0,at&&(Et=at);try{if(Et.facade===Ot)throw Ye("Promise can't be resolved itself");var Tt=ze(Ot);Tt?ge(function(){var st={done:!1};try{ce(Tt,Ot,vt(ut,st,Et),vt(nt,st,Et))}catch(pt){nt(st,pt,Et)}}):(Et.value=Ot,Et.state=Qe,Te(Et,!1))}catch(st){nt({done:!1},st,Et)}}};if(Ce&&(Re=function(Ot){te(this,tt),y(Ot),ce(Ae,this);var at=Me(this);try{Ot(vt(ut,at),vt(nt,at))}catch(Tt){nt(at,Tt)}},tt=Re.prototype,Ae=function(Ot){Ie(this,{type:Oe,done:!1,notified:!1,parent:!1,reactions:new pe,rejection:!1,state:it,value:void 0})},Ae.prototype=oe(tt,{then:function(Ot,at){var Tt=Me(this),st=Ge(z(this,Re));return Tt.parent=!0,st.ok=x(Ot)?Ot:!0,st.fail=x(at)&&at,st.domain=ie?Xe.domain:void 0,Tt.state==it?Tt.reactions.add(st):ge(function(){Le(st,Tt)}),st.promise}}),ke=function(){var Et=new Ae,Ot=Me(Et);this.promise=Et,this.resolve=vt(ut,Ot),this.reject=vt(nt,Ot)},we.f=Ge=function(Et){return Et===Re||Et===$e?new ke(Et):Fe(Et)},!re&&x(ye)&&Be!==Object.prototype)){Ke=Be.then,Ee||ae(Be,"then",function(Ot,at){var Tt=this;return new Re(function(st,pt){ce(Ke,Tt,st,pt)}).then(Ot,at)},{unsafe:!0});try{delete Be.constructor}catch(Et){}ne&&ne(Be,tt)}se({global:!0,wrap:!0,forced:Ce},{Promise:Re}),ee(Re,Oe,!1,!0),a(Oe)},{"../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,ve,de){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/new-promise-capability"),ce=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");se({target:"Promise",stat:!0,forced:oe},{race:function(ee){var a=this,y=le.f(a),x=y.reject,b=ce(function(){var te=ie(a.resolve);ae(ee,function(z){re(te,a,z).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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/new-promise-capability"),le=E("../internals/promise-constructor-detection").CONSTRUCTOR;se({target:"Promise",stat:!0,forced:le},{reject:function(ae){var oe=ie.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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/get-built-in"),ie=E("../internals/is-pure"),le=E("../internals/promise-native-constructor"),ce=E("../internals/promise-constructor-detection").CONSTRUCTOR,ae=E("../internals/promise-resolve"),oe=re("Promise"),ne=ie&&!ce;se({target:"Promise",stat:!0,forced:ie||ce},{resolve:function(a){return ae(ne&&this===oe?le: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,ve,de){var se=E("../internals/descriptors"),re=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-forced"),ce=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"),te=E("../internals/redefine"),z=E("../internals/fails"),ue=E("../internals/has-own-property"),ge=E("../internals/internal-state").enforce,me=E("../internals/set-species"),he=E("../internals/well-known-symbol"),pe=E("../internals/regexp-unsupported-dot-all"),be=E("../internals/regexp-unsupported-ncg"),ye=he("match"),Pe=re.RegExp,we=Pe.prototype,Oe=re.SyntaxError,Ce=ie(we.exec),_e=ie("".charAt),Ee=ie("".replace),Me=ie("".indexOf),Ie=ie("".slice),Be=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Re=/a/g,tt=/a/g,Ye=new Pe(Re)!==Re,et=x.MISSED_STICKY,Xe=x.UNSUPPORTED_Y,Ge=se&&(!Ye||et||pe||be||z(function(){return tt[ye]=!1,Pe(Re)!=Re||Pe(tt)==tt||Pe(Re,"i")!="/a/i"})),Fe=function(Qe){for(var Ze=Qe.length,De=0,Ve="",Ae=!1,ke;De<=Ze;De++){if(ke=_e(Qe,De),ke==="\\"){Ve+=ke+_e(Qe,++De);continue}!Ae&&ke==="."?Ve+="[\\s\\S]":(ke==="["?Ae=!0:ke==="]"&&(Ae=!1),Ve+=ke)}return Ve},je=function(Qe){for(var Ze=Qe.length,De=0,Ve="",Ae=[],ke={},$e=!1,Ke=!1,ze=0,Le="",Te;De<=Ze;De++){if(Te=_e(Qe,De),Te==="\\")Te=Te+_e(Qe,++De);else if(Te==="]")$e=!1;else if(!$e)switch(!0){case Te==="[":$e=!0;break;case Te==="(":Ce(Be,Ie(Qe,De+1))&&(De+=2,Ke=!0),Ve+=Te,ze++;continue;case(Te===">"&&Ke):if(Le===""||ue(ke,Le))throw new Oe("Invalid capture group name");ke[Le]=!0,Ae[Ae.length]=[Le,ze],Ke=!1,Le="";continue}Ke?Le+=Te:Ve+=Te}return[Ve,Ae]};if(le("RegExp",Ge)){for(var qe=function(Ze,De){var Ve=ne(we,this),Ae=ee(Ze),ke=De===void 0,$e=[],Ke=Ze,ze,Le,Te,Ne,He,rt;if(!Ve&&Ae&&ke&&Ze.constructor===qe)return Ze;if((Ae||ne(we,Ze))&&(Ze=Ze.source,ke&&(De=y(Ke))),Ze=Ze===void 0?"":a(Ze),De=De===void 0?"":a(De),Ke=Ze,pe&&"dotAll"in Re&&(Le=!!De&&Me(De,"s")>-1,Le&&(De=Ee(De,/s/g,""))),ze=De,et&&"sticky"in Re&&(Te=!!De&&Me(De,"y")>-1,Te&&Xe&&(De=Ee(De,/y/g,""))),be&&(Ne=je(Ze),Ze=Ne[0],$e=Ne[1]),He=ce(Pe(Ze,De),Ve?this:we,qe),(Le||Te||$e.length)&&(rt=ge(He),Le&&(rt.dotAll=!0,rt.raw=qe(Fe(Ze),ze)),Te&&(rt.sticky=!0),$e.length&&(rt.groups=$e)),Ze!==Ke)try{ae(He,"source",Ke===""?"(?:)":Ke)}catch(mt){}return He},Je=oe(Pe),it=0;Je.length>it;)b(qe,Pe,Je[it++]);we.constructor=qe,qe.prototype=we,te(re,"RegExp",qe)}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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/regexp-exec");se({target:"RegExp",proto:!0,forced:/./.exec!==re},{exec:re})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,ve,de){"use strict";var se=E("../internals/function-name").PROPER,re=E("../internals/redefine"),ie=E("../internals/an-object"),le=E("../internals/to-string"),ce=E("../internals/fails"),ae=E("../internals/regexp-get-flags"),oe="toString",ne=RegExp.prototype,ee=ne[oe],a=ce(function(){return ee.call({source:"a",flags:"b"})!="/a/b"}),y=se&&ee.name!=oe;(a||y)&&re(RegExp.prototype,oe,function(){var b=ie(this),te=le(b.source),z=le(ae(b));return"/"+te+"/"+z},{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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/not-a-regexp"),le=E("../internals/require-object-coercible"),ce=E("../internals/to-string"),ae=E("../internals/correct-is-regexp-logic"),oe=re("".indexOf);se({target:"String",proto:!0,forced:!ae("includes")},{includes:function(ee){return!!~oe(ce(le(this)),ce(ie(ee)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,ve,de){"use strict";var se=E("../internals/string-multibyte").charAt,re=E("../internals/to-string"),ie=E("../internals/internal-state"),le=E("../internals/define-iterator"),ce="String Iterator",ae=ie.set,oe=ie.getterFor(ce);le(String,"String",function(ne){ae(this,{type:ce,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=se(a,y),ee.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,ve,de){"use strict";var se=E("../internals/function-call"),re=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),le=E("../internals/to-length"),ce=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(te){var z=ae(this),ue=te==null?void 0:oe(te,a);return ue?se(ue,te,z):new RegExp(te)[a](ce(z))},function(b){var te=ie(this),z=ce(b),ue=x(y,te,z);if(ue.done)return ue.value;if(!te.global)return ee(te,z);var ge=te.unicode;te.lastIndex=0;for(var me=[],he=0,pe;(pe=ee(te,z))!==null;){var be=ce(pe[0]);me[he]=be,be===""&&(te.lastIndex=ne(z,le(te.lastIndex),ge)),he++}return he===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,ve,de){"use strict";var se=E("../internals/function-apply"),re=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),le=E("../internals/fix-regexp-well-known-symbol-logic"),ce=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"),te=E("../internals/get-substitution"),z=E("../internals/regexp-exec-abstract"),ue=E("../internals/well-known-symbol"),ge=ue("replace"),me=Math.max,he=Math.min,pe=ie([].concat),be=ie([].push),ye=ie("".indexOf),Pe=ie("".slice),we=function(Ee){return Ee===void 0?Ee:String(Ee)},Oe=function(){return"a".replace(/./,"$0")==="$0"}(),Ce=function(){return/./[ge]?/./[ge]("a","$0")==="":!1}(),_e=!ce(function(){var Ee=/./;return Ee.exec=function(){var Me=[];return Me.groups={a:"7"},Me},"".replace(Ee,"$<a>")!=="7"});le("replace",function(Ee,Me,Ie){var Be=Ce?"$":"$0";return[function(tt,Ye){var et=y(this),Xe=tt==null?void 0:b(tt,ge);return Xe?re(Xe,tt,et,Ye):re(Me,a(et),tt,Ye)},function(Re,tt){var Ye=ae(this),et=a(Re);if(typeof tt=="string"&&ye(tt,Be)===-1&&ye(tt,"$<")===-1){var Xe=Ie(Me,Ye,et,tt);if(Xe.done)return Xe.value}var Ge=oe(tt);Ge||(tt=a(tt));var Fe=Ye.global;if(Fe){var je=Ye.unicode;Ye.lastIndex=0}for(var qe=[];;){var Je=z(Ye,et);if(Je===null||(be(qe,Je),!Fe))break;var it=a(Je[0]);it===""&&(Ye.lastIndex=x(et,ee(Ye.lastIndex),je))}for(var Qe="",Ze=0,De=0;De<qe.length;De++){Je=qe[De];for(var Ve=a(Je[0]),Ae=me(he(ne(Je.index),et.length),0),ke=[],$e=1;$e<Je.length;$e++)be(ke,we(Je[$e]));var Ke=Je.groups;if(Ge){var ze=pe([Ve],ke,Ae,et);Ke!==void 0&&be(ze,Ke);var Le=a(se(tt,void 0,ze))}else Le=te(Ve,et,Ae,ke,Ke,tt);Ae>=Ze&&(Qe+=Pe(et,Ze,Ae)+Le,Ze=Ae+Ve.length)}return Qe+Pe(et,Ze)}]},!_e||!Oe||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,ve,de){"use strict";var se=E("../internals/function-call"),re=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),le=E("../internals/require-object-coercible"),ce=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 te=le(this),z=b==null?void 0:oe(b,ee);return z?se(z,b,te):new RegExp(b)[ee](ae(te))},function(x){var b=ie(this),te=ae(x),z=y(a,b,te);if(z.done)return z.value;var ue=b.lastIndex;ce(ue,0)||(b.lastIndex=0);var ge=ne(b,te);return ce(b.lastIndex,ue)||(b.lastIndex=ue),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,ve,de){"use strict";var se=E("../internals/function-apply"),re=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),le=E("../internals/fix-regexp-well-known-symbol-logic"),ce=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"),te=E("../internals/regexp-exec-abstract"),z=E("../internals/regexp-exec"),ue=E("../internals/regexp-sticky-helpers"),ge=E("../internals/fails"),me=ue.UNSUPPORTED_Y,he=4294967295,pe=Math.min,be=[].push,ye=ie(/./.exec),Pe=ie(be),we=ie("".slice),Oe=!ge(function(){var Ce=/(?:)/,_e=Ce.exec;Ce.exec=function(){return _e.apply(this,arguments)};var Ee="ab".split(Ce);return Ee.length!==2||Ee[0]!=="a"||Ee[1]!=="b"});le("split",function(Ce,_e,Ee){var Me;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Me=function(Ie,Be){var Re=y(oe(this)),tt=Be===void 0?he:Be>>>0;if(tt===0)return[];if(Ie===void 0)return[Re];if(!ce(Ie))return re(_e,Re,Ie,tt);for(var Ye=[],et=(Ie.ignoreCase?"i":"")+(Ie.multiline?"m":"")+(Ie.unicode?"u":"")+(Ie.sticky?"y":""),Xe=0,Ge=new RegExp(Ie.source,et+"g"),Fe,je,qe;(Fe=re(z,Ge,Re))&&(je=Ge.lastIndex,!(je>Xe&&(Pe(Ye,we(Re,Xe,Fe.index)),Fe.length>1&&Fe.index<Re.length&&se(be,Ye,b(Fe,1)),qe=Fe[0].length,Xe=je,Ye.length>=tt)));)Ge.lastIndex===Fe.index&&Ge.lastIndex++;return Xe===Re.length?(qe||!ye(Ge,""))&&Pe(Ye,""):Pe(Ye,we(Re,Xe)),Ye.length>tt?b(Ye,0,tt):Ye}:"0".split(void 0,0).length?Me=function(Ie,Be){return Ie===void 0&&Be===0?[]:re(_e,this,Ie,Be)}:Me=_e,[function(Be,Re){var tt=oe(this),Ye=Be==null?void 0:x(Be,Ce);return Ye?re(Ye,Be,tt,Re):re(Me,y(tt),Be,Re)},function(Ie,Be){var Re=ae(this),tt=y(Ie),Ye=Ee(Me,Re,tt,Be,Me!==_e);if(Ye.done)return Ye.value;var et=ne(Re,RegExp),Xe=Re.unicode,Ge=(Re.ignoreCase?"i":"")+(Re.multiline?"m":"")+(Re.unicode?"u":"")+(me?"g":"y"),Fe=new et(me?"^(?:"+Re.source+")":Re,Ge),je=Be===void 0?he:Be>>>0;if(je===0)return[];if(tt.length===0)return te(Fe,tt)===null?[tt]:[];for(var qe=0,Je=0,it=[];Je<tt.length;){Fe.lastIndex=me?0:Je;var Qe=te(Fe,me?we(tt,Je):tt),Ze;if(Qe===null||(Ze=pe(a(Fe.lastIndex+(me?Je:0)),tt.length))===qe)Je=ee(tt,Je,Xe);else{if(Pe(it,we(tt,qe,Je)),it.length===je)return it;for(var De=1;De<=Qe.length-1;De++)if(Pe(it,Qe[De]),it.length===je)return it;Je=qe=Ze}}return Pe(it,we(tt,qe)),it}]},!Oe,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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/string-trim").trim,ie=E("../internals/string-trim-forced");se({target:"String",proto:!0,forced:ie("trim")},{trim:function(){return re(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(E,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/function-call"),le=E("../internals/function-uncurry-this"),ce=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"),te=E("../internals/to-string"),z=E("../internals/create-property-descriptor"),ue=E("../internals/object-create"),ge=E("../internals/object-keys"),me=E("../internals/object-get-own-property-names"),he=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"),Pe=E("../internals/object-define-properties"),we=E("../internals/object-property-is-enumerable"),Oe=E("../internals/redefine"),Ce=E("../internals/shared"),_e=E("../internals/shared-key"),Ee=E("../internals/hidden-keys"),Me=E("../internals/uid"),Ie=E("../internals/well-known-symbol"),Be=E("../internals/well-known-symbol-wrapped"),Re=E("../internals/define-well-known-symbol"),tt=E("../internals/symbol-define-to-primitive"),Ye=E("../internals/set-to-string-tag"),et=E("../internals/internal-state"),Xe=E("../internals/array-iteration").forEach,Ge=_e("hidden"),Fe="Symbol",je="prototype",qe=et.set,Je=et.getterFor(Fe),it=Object[je],Qe=re.Symbol,Ze=Qe&&Qe[je],De=re.TypeError,Ve=re.QObject,Ae=be.f,ke=ye.f,$e=he.f,Ke=we.f,ze=le([].push),Le=Ce("symbols"),Te=Ce("op-symbols"),Ne=Ce("wks"),He=!Ve||!Ve[je]||!Ve[je].findChild,rt=ae&&ne(function(){return ue(ke({},"a",{get:function(){return ke(this,"a",{value:7}).a}})).a!=7})?function(st,pt,Pt){var wt=Ae(it,pt);wt&&delete it[pt],ke(st,pt,Pt),wt&&st!==it&&ke(it,pt,wt)}:ke,mt=function(st,pt){var Pt=Le[st]=ue(Ze);return qe(Pt,{type:Fe,tag:st,description:pt}),ae||(Pt.description=pt),Pt},vt=function(pt,Pt,wt){pt===it&&vt(Te,Pt,wt),y(pt);var Lt=b(Pt);return y(wt),ee(Le,Lt)?(wt.enumerable?(ee(pt,Ge)&&pt[Ge][Lt]&&(pt[Ge][Lt]=!1),wt=ue(wt,{enumerable:z(0,!1)})):(ee(pt,Ge)||ke(pt,Ge,z(1,{})),pt[Ge][Lt]=!0),rt(pt,Lt,wt)):ke(pt,Lt,wt)},nt=function(pt,Pt){y(pt);var wt=x(Pt),Lt=ge(wt).concat(Tt(wt));return Xe(Lt,function($t){(!ae||ie(Et,wt,$t))&&vt(pt,$t,wt[$t])}),pt},ut=function(pt,Pt){return Pt===void 0?ue(pt):nt(ue(pt),Pt)},Et=function(pt){var Pt=b(pt),wt=ie(Ke,this,Pt);return this===it&&ee(Le,Pt)&&!ee(Te,Pt)?!1:wt||!ee(this,Pt)||!ee(Le,Pt)||ee(this,Ge)&&this[Ge][Pt]?wt:!0},Ot=function(pt,Pt){var wt=x(pt),Lt=b(Pt);if(!(wt===it&&ee(Le,Lt)&&!ee(Te,Lt))){var $t=Ae(wt,Lt);return $t&&ee(Le,Lt)&&!(ee(wt,Ge)&&wt[Ge][Lt])&&($t.enumerable=!0),$t}},at=function(pt){var Pt=$e(x(pt)),wt=[];return Xe(Pt,function(Lt){!ee(Le,Lt)&&!ee(Ee,Lt)&&ze(wt,Lt)}),wt},Tt=function(st){var pt=st===it,Pt=$e(pt?Te:x(st)),wt=[];return Xe(Pt,function(Lt){ee(Le,Lt)&&(!pt||ee(it,Lt))&&ze(wt,Le[Lt])}),wt};oe||(Qe=function(){if(a(Ze,this))throw De("Symbol is not a constructor");var pt=!arguments.length||arguments[0]===void 0?void 0:te(arguments[0]),Pt=Me(pt),wt=function(Lt){this===it&&ie(wt,Te,Lt),ee(this,Ge)&&ee(this[Ge],Pt)&&(this[Ge][Pt]=!1),rt(this,Pt,z(1,Lt))};return ae&&He&&rt(it,Pt,{configurable:!0,set:wt}),mt(Pt,pt)},Ze=Qe[je],Oe(Ze,"toString",function(){return Je(this).tag}),Oe(Qe,"withoutSetter",function(st){return mt(Me(st),st)}),we.f=Et,ye.f=vt,Pe.f=nt,be.f=Ot,me.f=he.f=at,pe.f=Tt,Be.f=function(st){return mt(Ie(st),st)},ae&&(ke(Ze,"description",{configurable:!0,get:function(){return Je(this).description}}),ce||Oe(it,"propertyIsEnumerable",Et,{unsafe:!0}))),se({global:!0,wrap:!0,forced:!oe,sham:!oe},{Symbol:Qe}),Xe(ge(Ne),function(st){Re(st)}),se({target:Fe,stat:!0,forced:!oe},{useSetter:function(){He=!0},useSimple:function(){He=!1}}),se({target:"Object",stat:!0,forced:!oe,sham:!ae},{create:ut,defineProperty:vt,defineProperties:nt,getOwnPropertyDescriptor:Ot}),se({target:"Object",stat:!0,forced:!oe},{getOwnPropertyNames:at}),tt(),Ye(Qe,Fe),Ee[Ge]=!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,ve,de){"use strict";var se=E("../internals/export"),re=E("../internals/descriptors"),ie=E("../internals/global"),le=E("../internals/function-uncurry-this"),ce=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=ie.Symbol,x=y&&y.prototype;if(re&&ae(y)&&(!("description"in x)||y().description!==void 0)){var b={},te=function(){var ye=arguments.length<1||arguments[0]===void 0?void 0:ne(arguments[0]),Pe=oe(x,this)?new y(ye):ye===void 0?y():y(ye);return ye===""&&(b[Pe]=!0),Pe};a(te,y),te.prototype=x,x.constructor=te;var z=String(y("test"))=="Symbol(test)",ue=le(x.toString),ge=le(x.valueOf),me=/^Symbol\((.*)\)[^)]+$/,he=le("".replace),pe=le("".slice);ee(x,"description",{configurable:!0,get:function(){var ye=ge(this),Pe=ue(ye);if(ce(b,ye))return"";var we=z?pe(Pe,7,-1):he(Pe,me,"$1");return we===""?void 0:we}}),se({global:!0,forced:!0},{Symbol:te})}},{"../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,ve,de){var se=E("../internals/export"),re=E("../internals/get-built-in"),ie=E("../internals/has-own-property"),le=E("../internals/to-string"),ce=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ce("string-to-symbol-registry"),ne=ce("symbol-to-string-registry");se({target:"Symbol",stat:!0,forced:!ae},{for:function(ee){var a=le(ee);if(ie(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,ve,de){var se=E("../internals/define-well-known-symbol");se("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(E,ve,de){E("../modules/es.symbol.constructor"),E("../modules/es.symbol.for"),E("../modules/es.symbol.key-for"),E("../modules/es.json.stringify"),E("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":285,"../modules/es.object.get-own-property-symbols":289,"../modules/es.symbol.constructor":309,"../modules/es.symbol.for":311,"../modules/es.symbol.key-for":314}],314:[function(E,ve,de){var se=E("../internals/export"),re=E("../internals/has-own-property"),ie=E("../internals/is-symbol"),le=E("../internals/try-to-string"),ce=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ce("symbol-to-string-registry");se({target:"Symbol",stat:!0,forced:!ae},{keyFor:function(ee){if(!ie(ee))throw TypeError(le(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,ve,de){"use strict";var se=E("../internals/function-uncurry-this"),re=E("../internals/array-buffer-view-core"),ie=E("../internals/array-copy-within"),le=se(ie),ce=re.aTypedArray,ae=re.exportTypedArrayMethod;ae("copyWithin",function(ne,ee){return le(ce(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,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").every,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("every",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/function-call"),ie=E("../internals/array-fill"),le=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("fill",function(oe){var ne=arguments.length;return re(ie,le(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,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").filter,ie=E("../internals/typed-array-from-species-and-list"),le=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("filter",function(oe){var ne=re(le(this),oe,arguments.length>1?arguments[1]:void 0);return ie(this,ne)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").findIndex,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("findIndex",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").find,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("find",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").forEach,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("forEach",function(ae){re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-includes").includes,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("includes",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-includes").indexOf,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("indexOf",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,ve,de){"use strict";var se=E("../internals/global"),re=E("../internals/fails"),ie=E("../internals/function-uncurry-this"),le=E("../internals/array-buffer-view-core"),ce=E("../modules/es.array.iterator"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=se.Uint8Array,ee=ie(ce.values),a=ie(ce.keys),y=ie(ce.entries),x=le.aTypedArray,b=le.exportTypedArrayMethod,te=ne&&ne.prototype,z=!re(function(){te[oe].call([1])}),ue=!!te&&te.values&&te[oe]===te.values&&te.values.name==="values",ge=function(){return ee(x(this))};b("entries",function(){return y(x(this))},z),b("keys",function(){return a(x(this))},z),b("values",ge,z||!ue,{name:"values"}),b(oe,ge,z||!ue,{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,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/function-uncurry-this"),ie=se.aTypedArray,le=se.exportTypedArrayMethod,ce=re([].join);le("join",function(oe){return ce(ie(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/function-apply"),ie=E("../internals/array-last-index-of"),le=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("lastIndexOf",function(oe){var ne=arguments.length;return re(ie,le(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,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").map,ie=E("../internals/typed-array-species-constructor"),le=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("map",function(oe){return re(le(this),oe,arguments.length>1?arguments[1]:void 0,function(ne,ee){return new(ie(ne))(ee)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-reduce").right,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("reduceRight",function(ae){var oe=arguments.length;return re(ie(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-reduce").left,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("reduce",function(ae){var oe=arguments.length;return re(ie(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=se.aTypedArray,ie=se.exportTypedArrayMethod,le=Math.floor;ie("reverse",function(){for(var ae=this,oe=re(ae).length,ne=le(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,ve,de){"use strict";var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/array-buffer-view-core"),le=E("../internals/length-of-array-like"),ce=E("../internals/to-offset"),ae=E("../internals/to-object"),oe=E("../internals/fails"),ne=se.RangeError,ee=se.Int8Array,a=ee&&ee.prototype,y=a&&a.set,x=ie.aTypedArray,b=ie.exportTypedArrayMethod,te=!oe(function(){var ue=new Uint8ClampedArray(2);return re(y,ue,{length:1,0:3},1),ue[1]!==3}),z=te&&ie.NATIVE_ARRAY_BUFFER_VIEWS&&oe(function(){var ue=new ee(2);return ue.set(1),ue.set("2",1),ue[0]!==0||ue[1]!==2});b("set",function(ge){x(this);var me=ce(arguments.length>1?arguments[1]:void 0,1),he=ae(ge);if(te)return re(y,this,he,me);var pe=this.length,be=le(he),ye=0;if(be+me>pe)throw ne("Wrong length");for(;ye<be;)this[me+ye]=he[ye++]},!te||z)},{"../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,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/typed-array-species-constructor"),ie=E("../internals/fails"),le=E("../internals/array-slice"),ce=se.aTypedArray,ae=se.exportTypedArrayMethod,oe=ie(function(){new Int8Array(1).slice()});ae("slice",function(ee,a){for(var y=le(ce(this),ee,a),x=re(this),b=0,te=y.length,z=new x(te);te>b;)z[b]=y[b++];return z},oe)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").some,ie=se.aTypedArray,le=se.exportTypedArrayMethod;le("some",function(ae){return re(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,ve,de){"use strict";var se=E("../internals/global"),re=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/a-callable"),ce=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=se.Uint16Array,te=b&&re(b.prototype.sort),z=!!te&&!(ie(function(){te(new b(2),null)})&&ie(function(){te(new b(2),{})})),ue=!!te&&!ie(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),he=Array(516),pe,be;for(pe=0;pe<516;pe++)be=pe%4,me[pe]=515-pe,he[pe]=pe-2*be+3;for(te(me,function(ye,Pe){return(ye/4|0)-(Pe/4|0)}),pe=0;pe<516;pe++)if(me[pe]!==he[pe])return!0}),ge=function(me){return function(he,pe){return me!==void 0?+me(he,pe)||0:pe!==pe?-1:he!==he?1:he===0&&pe===0?1/he>0&&1/pe<0?1:-1:he>pe}};x("sort",function(he){return he!==void 0&&le(he),ue?te(this,he):ce(y(this),ge(he))},!ue||z)},{"../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,ve,de){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/to-length"),ie=E("../internals/to-absolute-index"),le=E("../internals/typed-array-species-constructor"),ce=se.aTypedArray,ae=se.exportTypedArrayMethod;ae("subarray",function(ne,ee){var a=ce(this),y=a.length,x=ie(ne,y),b=le(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,re((ee===void 0?y:ie(ee,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,ve,de){"use strict";var se=E("../internals/global"),re=E("../internals/function-apply"),ie=E("../internals/array-buffer-view-core"),le=E("../internals/fails"),ce=E("../internals/array-slice"),ae=se.Int8Array,oe=ie.aTypedArray,ne=ie.exportTypedArrayMethod,ee=[].toLocaleString,a=!!ae&&le(function(){ee.call(new ae(1))}),y=le(function(){return[1,2].toLocaleString()!=new ae([1,2]).toLocaleString()})||!le(function(){ae.prototype.toLocaleString.call([1,2])});ne("toLocaleString",function(){return re(ee,a?ce(oe(this)):oe(this),ce(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,ve,de){"use strict";var se=E("../internals/array-buffer-view-core").exportTypedArrayMethod,re=E("../internals/fails"),ie=E("../internals/global"),le=E("../internals/function-uncurry-this"),ce=ie.Uint8Array,ae=ce&&ce.prototype||{},oe=[].toString,ne=le([].join);re(function(){oe.call({})})&&(oe=function(){return ne(this)});var ee=ae.toString!=oe;se("toString",oe,ee)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,ve,de){var se=E("../internals/typed-array-constructor");se("Uint8",function(re){return function(le,ce,ae){return re(this,le,ce,ae)}})},{"../internals/typed-array-constructor":258}],339:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),le=E("../internals/array-for-each"),ce=E("../internals/create-non-enumerable-property"),ae=function(ne){if(ne&&ne.forEach!==le)try{ce(ne,"forEach",le)}catch(ee){ne.forEach=le}};for(var oe in re)re[oe]&&ae(se[oe]&&se[oe].prototype);ae(ie)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(E,ve,de){var se=E("../internals/global"),re=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),le=E("../modules/es.array.iterator"),ce=E("../internals/create-non-enumerable-property"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=ae("toStringTag"),ee=le.values,a=function(x,b){if(x){if(x[oe]!==ee)try{ce(x,oe,ee)}catch(z){x[oe]=ee}if(x[ne]||ce(x,ne,b),re[b]){for(var te in le)if(x[te]!==le[te])try{ce(x,te,le[te])}catch(z){x[te]=le[te]}}}};for(var y in re)a(se[y]&&se[y].prototype,y);a(ie,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(E,ve,de){function se(ue){return Array.isArray?Array.isArray(ue):z(ue)==="[object Array]"}de.isArray=se;function re(ue){return typeof ue=="boolean"}de.isBoolean=re;function ie(ue){return ue===null}de.isNull=ie;function le(ue){return ue==null}de.isNullOrUndefined=le;function ce(ue){return typeof ue=="number"}de.isNumber=ce;function ae(ue){return typeof ue=="string"}de.isString=ae;function oe(ue){return typeof ue=="symbol"}de.isSymbol=oe;function ne(ue){return ue===void 0}de.isUndefined=ne;function ee(ue){return z(ue)==="[object RegExp]"}de.isRegExp=ee;function a(ue){return typeof ue=="object"&&ue!==null}de.isObject=a;function y(ue){return z(ue)==="[object Date]"}de.isDate=y;function x(ue){return z(ue)==="[object Error]"||ue instanceof Error}de.isError=x;function b(ue){return typeof ue=="function"}de.isFunction=b;function te(ue){return ue===null||typeof ue=="boolean"||typeof ue=="number"||typeof ue=="string"||typeof ue=="symbol"||typeof ue=="undefined"}de.isPrimitive=te,de.isBuffer=E("buffer").Buffer.isBuffer;function z(ue){return Object.prototype.toString.call(ue)}},{buffer:90}],342:[function(E,ve,de){(function(se){"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 te=y.slice(0,4);(te==="UTC:"||te==="GMT:")&&(y=y.slice(4),x=!0,te==="GMT:"&&(b=!0));var z=x?"getUTC":"get",ue=a[z+"Date"](),ge=a[z+"Day"](),me=a[z+"Month"](),he=a[z+"FullYear"](),pe=a[z+"Hours"](),be=a[z+"Minutes"](),ye=a[z+"Seconds"](),Pe=a[z+"Milliseconds"](),we=x?0:a.getTimezoneOffset(),Oe=le(a),Ce=ce(a),_e={d:ue,dd:ie(ue),ddd:re.i18n.dayNames[ge],dddd:re.i18n.dayNames[ge+7],m:me+1,mm:ie(me+1),mmm:re.i18n.monthNames[me],mmmm:re.i18n.monthNames[me+12],yy:String(he).slice(2),yyyy:he,h:pe%12||12,hh:ie(pe%12||12),H:pe,HH:ie(pe),M:be,MM:ie(be),s:ye,ss:ie(ye),l:ie(Pe,3),L:ie(Math.round(Pe/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:(we>0?"-":"+")+ie(Math.floor(Math.abs(we)/60)*100+Math.abs(we)%60,4),S:["th","st","nd","rd"][ue%10>3?0:(ue%100-ue%10!=10)*ue%10],W:Oe,N:Ce};return y.replace(oe,function(Ee){return Ee in _e?_e[Ee]:Ee.slice(1,Ee.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 ie(oe,ne){for(oe=String(oe),ne=ne||2;oe.length<ne;)oe="0"+oe;return oe}function le(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 ce(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 fe=="function"&&fe.amd?fe(function(){return re}):typeof de=="object"?ve.exports=re:se.dateFormat=re})(this)},{}],343:[function(E,ve,de){"use strict";var se=/["'&<>]/;ve.exports=re;function re(ie){var le=""+ie,ce=se.exec(le);if(!ce)return le;var ae,oe="",ne=0,ee=0;for(ne=ce.index;ne<le.length;ne++){switch(le.charCodeAt(ne)){case 34:ae=""";break;case 38:ae="&";break;case 39:ae="'";break;case 60:ae="<";break;case 62:ae=">";break;default:continue}ee!==ne&&(oe+=le.substring(ee,ne)),ee=ne+1,oe+=ae}return ee!==ne?oe+le.substring(ee,ne):oe}},{}],344:[function(E,ve,de){"use strict";var se=typeof Reflect=="object"?Reflect:null,re=se&&typeof se.apply=="function"?se.apply:function(ye,Pe,we){return Function.prototype.apply.call(ye,Pe,we)},ie;se&&typeof se.ownKeys=="function"?ie=se.ownKeys:Object.getOwnPropertySymbols?ie=function(ye){return Object.getOwnPropertyNames(ye).concat(Object.getOwnPropertySymbols(ye))}:ie=function(ye){return Object.getOwnPropertyNames(ye)};function le(be){console&&console.warn&&console.warn(be)}var ce=Number.isNaN||function(ye){return ye!==ye};function ae(){ae.init.call(this)}ve.exports=ae,ve.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||ce(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||ce(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 Pe=[],we=1;we<arguments.length;we++)Pe.push(arguments[we]);var Oe=ye==="error",Ce=this._events;if(Ce!==void 0)Oe=Oe&&Ce.error===void 0;else if(!Oe)return!1;if(Oe){var _e;if(Pe.length>0&&(_e=Pe[0]),_e instanceof Error)throw _e;var Ee=new Error("Unhandled error."+(_e?" ("+_e.message+")":""));throw Ee.context=_e,Ee}var Me=Ce[ye];if(Me===void 0)return!1;if(typeof Me=="function")re(Me,this,Pe);else for(var Ie=Me.length,Be=z(Me,Ie),we=0;we<Ie;++we)re(Be[we],this,Pe);return!0};function a(be,ye,Pe,we){var Oe,Ce,_e;if(ne(Pe),Ce=be._events,Ce===void 0?(Ce=be._events=Object.create(null),be._eventsCount=0):(Ce.newListener!==void 0&&(be.emit("newListener",ye,Pe.listener?Pe.listener:Pe),Ce=be._events),_e=Ce[ye]),_e===void 0)_e=Ce[ye]=Pe,++be._eventsCount;else if(typeof _e=="function"?_e=Ce[ye]=we?[Pe,_e]:[_e,Pe]:we?_e.unshift(Pe):_e.push(Pe),Oe=ee(be),Oe>0&&_e.length>Oe&&!_e.warned){_e.warned=!0;var Ee=new Error("Possible EventEmitter memory leak detected. "+_e.length+" "+String(ye)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ee.name="MaxListenersExceededWarning",Ee.emitter=be,Ee.type=ye,Ee.count=_e.length,le(Ee)}return be}ae.prototype.addListener=function(ye,Pe){return a(this,ye,Pe,!1)},ae.prototype.on=ae.prototype.addListener,ae.prototype.prependListener=function(ye,Pe){return a(this,ye,Pe,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(be,ye,Pe){var we={fired:!1,wrapFn:void 0,target:be,type:ye,listener:Pe},Oe=y.bind(we);return Oe.listener=Pe,we.wrapFn=Oe,Oe}ae.prototype.once=function(ye,Pe){return ne(Pe),this.on(ye,x(this,ye,Pe)),this},ae.prototype.prependOnceListener=function(ye,Pe){return ne(Pe),this.prependListener(ye,x(this,ye,Pe)),this},ae.prototype.removeListener=function(ye,Pe){var we,Oe,Ce,_e,Ee;if(ne(Pe),Oe=this._events,Oe===void 0)return this;if(we=Oe[ye],we===void 0)return this;if(we===Pe||we.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete Oe[ye],Oe.removeListener&&this.emit("removeListener",ye,we.listener||Pe));else if(typeof we!="function"){for(Ce=-1,_e=we.length-1;_e>=0;_e--)if(we[_e]===Pe||we[_e].listener===Pe){Ee=we[_e].listener,Ce=_e;break}if(Ce<0)return this;Ce===0?we.shift():ue(we,Ce),we.length===1&&(Oe[ye]=we[0]),Oe.removeListener!==void 0&&this.emit("removeListener",ye,Ee||Pe)}return this},ae.prototype.off=ae.prototype.removeListener,ae.prototype.removeAllListeners=function(ye){var Pe,we,Oe;if(we=this._events,we===void 0)return this;if(we.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):we[ye]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete we[ye]),this;if(arguments.length===0){var Ce=Object.keys(we),_e;for(Oe=0;Oe<Ce.length;++Oe)_e=Ce[Oe],_e!=="removeListener"&&this.removeAllListeners(_e);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Pe=we[ye],typeof Pe=="function")this.removeListener(ye,Pe);else if(Pe!==void 0)for(Oe=Pe.length-1;Oe>=0;Oe--)this.removeListener(ye,Pe[Oe]);return this};function b(be,ye,Pe){var we=be._events;if(we===void 0)return[];var Oe=we[ye];return Oe===void 0?[]:typeof Oe=="function"?Pe?[Oe.listener||Oe]:[Oe]:Pe?ge(Oe):z(Oe,Oe.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):te.call(be,ye)},ae.prototype.listenerCount=te;function te(be){var ye=this._events;if(ye!==void 0){var Pe=ye[be];if(typeof Pe=="function")return 1;if(Pe!==void 0)return Pe.length}return 0}ae.prototype.eventNames=function(){return this._eventsCount>0?ie(this._events):[]};function z(be,ye){for(var Pe=new Array(ye),we=0;we<ye;++we)Pe[we]=be[we];return Pe}function ue(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),Pe=0;Pe<ye.length;++Pe)ye[Pe]=be[Pe].listener||be[Pe];return ye}function me(be,ye){return new Promise(function(Pe,we){function Oe(_e){be.removeListener(ye,Ce),we(_e)}function Ce(){typeof be.removeListener=="function"&&be.removeListener("error",Oe),Pe([].slice.call(arguments))}pe(be,ye,Ce,{once:!0}),ye!=="error"&&he(be,Oe,{once:!0})})}function he(be,ye,Pe){typeof be.on=="function"&&pe(be,"error",ye,Pe)}function pe(be,ye,Pe,we){if(typeof be.on=="function")we.once?be.once(ye,Pe):be.on(ye,Pe);else if(typeof be.addEventListener=="function")be.addEventListener(ye,function Oe(Ce){we.once&&be.removeEventListener(ye,Oe),Pe(Ce)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof be)}},{}],345:[function(E,ve,de){"use strict";var se=E("is-callable"),re=Object.prototype.toString,ie=Object.prototype.hasOwnProperty,le=function(ee,a,y){for(var x=0,b=ee.length;x<b;x++)ie.call(ee,x)&&(y==null?a(ee[x],x,ee):a.call(y,ee[x],x,ee))},ce=function(ee,a,y){for(var x=0,b=ee.length;x<b;x++)y==null?a(ee.charAt(x),x,ee):a.call(y,ee.charAt(x),x,ee)},ae=function(ee,a,y){for(var x in ee)ie.call(ee,x)&&(y==null?a(ee[x],x,ee):a.call(y,ee[x],x,ee))},oe=function(ee,a,y){if(!se(a))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=y),re.call(ee)==="[object Array]"?le(ee,a,x):typeof ee=="string"?ce(ee,a,x):ae(ee,a,x)};ve.exports=oe},{"is-callable":367}],346:[function(E,ve,de){"use strict";var se="Function.prototype.bind called on incompatible ",re=Array.prototype.slice,ie=Object.prototype.toString,le="[object Function]";ve.exports=function(ae){var oe=this;if(typeof oe!="function"||ie.call(oe)!==le)throw new TypeError(se+oe);for(var ne=re.call(arguments,1),ee,a=function(){if(this instanceof ee){var z=oe.apply(this,ne.concat(re.call(arguments)));return Object(z)===z?z: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 te=function(){};te.prototype=oe.prototype,ee.prototype=new te,te.prototype=null}return ee}},{}],347:[function(E,ve,de){"use strict";var se=E("./implementation");ve.exports=Function.prototype.bind||se},{"./implementation":346}],348:[function(E,ve,de){"use strict";var se,re=SyntaxError,ie=Function,le=TypeError,ce=function(Me){try{return ie('"use strict"; return ('+Me+").constructor;")()}catch(Ie){}},ae=Object.getOwnPropertyDescriptor;if(ae)try{ae({},"")}catch(Me){ae=null}var oe=function(){throw new le},ne=ae?function(){try{return arguments.callee,oe}catch(Me){try{return ae(arguments,"callee").get}catch(Ie){return oe}}}():oe,ee=E("has-symbols")(),a=E("has-proto")(),y=Object.getPrototypeOf||(a?function(Me){return Me.__proto__}:null),x={},b=typeof Uint8Array=="undefined"||!y?se:y(Uint8Array),te={"%AggregateError%":typeof AggregateError=="undefined"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?se:ArrayBuffer,"%ArrayIteratorPrototype%":ee&&y?y([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics=="undefined"?se:Atomics,"%BigInt%":typeof BigInt=="undefined"?se:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?se:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?se:FinalizationRegistry,"%Function%":ie,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array=="undefined"?se:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?se:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ee&&y?y(y([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map=="undefined"?se:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!ee||!y?se:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?se:Promise,"%Proxy%":typeof Proxy=="undefined"?se:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?se:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!ee||!y?se:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ee&&y?y(""[Symbol.iterator]()):se,"%Symbol%":ee?Symbol:se,"%SyntaxError%":re,"%ThrowTypeError%":ne,"%TypedArray%":b,"%TypeError%":le,"%Uint8Array%":typeof Uint8Array=="undefined"?se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?se:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?se:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?se:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?se:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?se:WeakSet};if(y)try{null.error}catch(Me){var z=y(y(Me));te["%Error.prototype%"]=z}var ue=function Me(Ie){var Be;if(Ie==="%AsyncFunction%")Be=ce("async function () {}");else if(Ie==="%GeneratorFunction%")Be=ce("function* () {}");else if(Ie==="%AsyncGeneratorFunction%")Be=ce("async function* () {}");else if(Ie==="%AsyncGenerator%"){var Re=Me("%AsyncGeneratorFunction%");Re&&(Be=Re.prototype)}else if(Ie==="%AsyncIteratorPrototype%"){var tt=Me("%AsyncGenerator%");tt&&y&&(Be=y(tt.prototype))}return te[Ie]=Be,Be},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"),he=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),Pe=me.call(Function.call,String.prototype.slice),we=me.call(Function.call,RegExp.prototype.exec),Oe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ce=/\\(\\)?/g,_e=function(Ie){var Be=Pe(Ie,0,1),Re=Pe(Ie,-1);if(Be==="%"&&Re!=="%")throw new re("invalid intrinsic syntax, expected closing `%`");if(Re==="%"&&Be!=="%")throw new re("invalid intrinsic syntax, expected opening `%`");var tt=[];return ye(Ie,Oe,function(Ye,et,Xe,Ge){tt[tt.length]=Xe?ye(Ge,Ce,"$1"):et||Ye}),tt},Ee=function(Ie,Be){var Re=Ie,tt;if(he(ge,Re)&&(tt=ge[Re],Re="%"+tt[0]+"%"),he(te,Re)){var Ye=te[Re];if(Ye===x&&(Ye=ue(Re)),typeof Ye=="undefined"&&!Be)throw new le("intrinsic "+Ie+" exists, but is not available. Please file an issue!");return{alias:tt,name:Re,value:Ye}}throw new re("intrinsic "+Ie+" does not exist!")};ve.exports=function(Ie,Be){if(typeof Ie!="string"||Ie.length===0)throw new le("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Be!="boolean")throw new le('"allowMissing" argument must be a boolean');if(we(/^%?[^%]*%?$/,Ie)===null)throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Re=_e(Ie),tt=Re.length>0?Re[0]:"",Ye=Ee("%"+tt+"%",Be),et=Ye.name,Xe=Ye.value,Ge=!1,Fe=Ye.alias;Fe&&(tt=Fe[0],be(Re,pe([0,1],Fe)));for(var je=1,qe=!0;je<Re.length;je+=1){var Je=Re[je],it=Pe(Je,0,1),Qe=Pe(Je,-1);if((it==='"'||it==="'"||it==="`"||Qe==='"'||Qe==="'"||Qe==="`")&&it!==Qe)throw new re("property names with quotes must have matching quotes");if((Je==="constructor"||!qe)&&(Ge=!0),tt+="."+Je,et="%"+tt+"%",he(te,et))Xe=te[et];else if(Xe!=null){if(!(Je in Xe)){if(!Be)throw new le("base intrinsic for "+Ie+" exists, but the property is not available.");return}if(ae&&je+1>=Re.length){var Ze=ae(Xe,Je);qe=!!Ze,qe&&"get"in Ze&&!("originalValue"in Ze.get)?Xe=Ze.get:Xe=Xe[Je]}else qe=he(Xe,Je),Xe=Xe[Je];qe&&!Ge&&(te[et]=Xe)}}return Xe}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,ve,de){"use strict";var se=E("get-intrinsic"),re=se("%Object.getOwnPropertyDescriptor%",!0);if(re)try{re([],"length")}catch(ie){re=null}ve.exports=re},{"get-intrinsic":348}],350:[function(E,ve,de){"use strict";var se={foo:{}},re=Object;ve.exports=function(){return{__proto__:se}.foo===se.foo&&!({__proto__:null}instanceof re)}},{}],351:[function(E,ve,de){"use strict";var se=typeof Symbol!="undefined"&&Symbol,re=E("./shams");ve.exports=function(){return typeof se!="function"||typeof Symbol!="function"||typeof se("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:re()}},{"./shams":352}],352:[function(E,ve,de){"use strict";ve.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var re={},ie=Symbol("test"),le=Object(ie);if(typeof ie=="string"||Object.prototype.toString.call(ie)!=="[object Symbol]"||Object.prototype.toString.call(le)!=="[object Symbol]")return!1;var ce=42;re[ie]=ce;for(ie 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]!==ie||!Object.prototype.propertyIsEnumerable.call(re,ie))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var oe=Object.getOwnPropertyDescriptor(re,ie);if(oe.value!==ce||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(E,ve,de){"use strict";var se=E("has-symbols/shams");ve.exports=function(){return se()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,ve,de){"use strict";var se=E("function-bind");ve.exports=se.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,ve,de){var se=E("http"),re=E("url"),ie=ve.exports;for(var le in se)se.hasOwnProperty(le)&&(ie[le]=se[le]);ie.request=function(ae,oe){return ae=ce(ae),se.request.call(this,ae,oe)},ie.get=function(ae,oe){return ae=ce(ae),se.get.call(this,ae,oe)};function ce(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,ve,de){"use strict";var se=E("util"),re=E("ms");ve.exports=function(ie){if(typeof ie=="number")return ie;var le=re(ie);if(le===void 0){var ce=new Error(se.format("humanize-ms(%j) result undefined",ie));console.warn(ce.stack)}return le}},{ms:376,util:419}],357:[function(E,ve,de){de.read=function(se,re,ie,le,ce){var ae,oe,ne=ce*8-le-1,ee=(1<<ne)-1,a=ee>>1,y=-7,x=ie?ce-1:0,b=ie?-1:1,te=se[re+x];for(x+=b,ae=te&(1<<-y)-1,te>>=-y,y+=ne;y>0;ae=ae*256+se[re+x],x+=b,y-=8);for(oe=ae&(1<<-y)-1,ae>>=-y,y+=le;y>0;oe=oe*256+se[re+x],x+=b,y-=8);if(ae===0)ae=1-a;else{if(ae===ee)return oe?NaN:(te?-1:1)*(1/0);oe=oe+Math.pow(2,le),ae=ae-a}return(te?-1:1)*oe*Math.pow(2,ae-le)},de.write=function(se,re,ie,le,ce,ae){var oe,ne,ee,a=ae*8-ce-1,y=(1<<a)-1,x=y>>1,b=ce===23?Math.pow(2,-24)-Math.pow(2,-77):0,te=le?0:ae-1,z=le?1:-1,ue=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,ce),oe=oe+x):(ne=re*Math.pow(2,x-1)*Math.pow(2,ce),oe=0));ce>=8;se[ie+te]=ne&255,te+=z,ne/=256,ce-=8);for(oe=oe<<ce|ne,a+=ce;a>0;se[ie+te]=oe&255,te+=z,oe/=256,a-=8);se[ie+te-z]|=ue*128}},{}],358:[function(E,ve,de){"use strict";var se=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],re,ie,le=-1,ce=[],ae=!1;function oe(){!re||!ie||(re=!1,ie.length?ce=ie.concat(ce):le=-1,ce.length&&ne())}function ne(){if(!re){ae=!1,re=!0;for(var te=ce.length,z=setTimeout(oe);te;){for(ie=ce,ce=[];ie&&++le<te;)ie[le].run();le=-1,te=ce.length}ie=null,le=-1,re=!1,clearTimeout(z)}}for(var ee,a=-1,y=se.length;++a<y;)if(se[a]&&se[a].test&&se[a].test()){ee=se[a].install(ne);break}function x(te,z){this.fun=te,this.array=z}x.prototype.run=function(){var te=this.fun,z=this.array;switch(z.length){case 0:return te();case 1:return te(z[0]);case 2:return te(z[0],z[1]);case 3:return te(z[0],z[1],z[2]);default:return te.apply(null,z)}},ve.exports=b;function b(te){var z=new Array(arguments.length-1);if(arguments.length>1)for(var ue=1;ue<arguments.length;ue++)z[ue-1]=arguments[ue];ce.push(new x(te,z)),!ae&&!re&&(ae=!0,ee())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(E,ve,de){(function(se){(function(){"use strict";de.test=function(){return se.setImmediate?!1:typeof se.MessageChannel!="undefined"},de.install=function(re){var ie=new se.MessageChannel;return ie.port1.onmessage=re,function(){ie.port2.postMessage(0)}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(E,ve,de){(function(se){(function(){"use strict";var re=se.MutationObserver||se.WebKitMutationObserver;de.test=function(){return re},de.install=function(ie){var le=0,ce=new re(ie),ae=se.document.createTextNode("");return ce.observe(ae,{characterData:!0}),function(){ae.data=le=++le%2}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(E,ve,de){(function(se){(function(){"use strict";de.test=function(){return typeof se.queueMicrotask=="function"},de.install=function(re){return function(){se.queueMicrotask(re)}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(E,ve,de){(function(se){(function(){"use strict";de.test=function(){return"document"in se&&"onreadystatechange"in se.document.createElement("script")},de.install=function(re){return function(){var ie=se.document.createElement("script");return ie.onreadystatechange=function(){re(),ie.onreadystatechange=null,ie.parentNode.removeChild(ie),ie=null},se.document.documentElement.appendChild(ie),re}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(E,ve,de){"use strict";de.test=function(){return!0},de.install=function(se){return function(){setTimeout(se,0)}}},{}],364:[function(E,ve,de){typeof Object.create=="function"?ve.exports=function(re,ie){ie&&(re.super_=ie,re.prototype=Object.create(ie.prototype,{constructor:{value:re,enumerable:!1,writable:!0,configurable:!0}}))}:ve.exports=function(re,ie){if(ie){re.super_=ie;var le=function(){};le.prototype=ie.prototype,re.prototype=new le,re.prototype.constructor=re}}},{}],365:[function(E,ve,de){"use strict";var se=E("has-tostringtag/shams")(),re=E("call-bind/callBound"),ie=re("Object.prototype.toString"),le=function(ne){return se&&ne&&typeof ne=="object"&&Symbol.toStringTag in ne?!1:ie(ne)==="[object Arguments]"},ce=function(ne){return le(ne)?!0:ne!==null&&typeof ne=="object"&&typeof ne.length=="number"&&ne.length>=0&&ie(ne)!=="[object Array]"&&ie(ne.callee)==="[object Function]"},ae=function(){return le(arguments)}();le.isLegacyArguments=ce,ve.exports=ae?le:ce},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,ve,de){ve.exports=function(ie){return ie!=null&&(se(ie)||re(ie)||!!ie._isBuffer)};function se(ie){return!!ie.constructor&&typeof ie.constructor.isBuffer=="function"&&ie.constructor.isBuffer(ie)}function re(ie){return typeof ie.readFloatLE=="function"&&typeof ie.slice=="function"&&se(ie.slice(0,0))}},{}],367:[function(E,ve,de){"use strict";var se=Function.prototype.toString,re=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ie,le;if(typeof re=="function"&&typeof Object.defineProperty=="function")try{ie=Object.defineProperty({},"length",{get:function(){throw le}}),le={},re(function(){throw 42},null,ie)}catch(he){he!==le&&(re=null)}else re=null;var ce=/^\s*class\b/,ae=function(pe){try{var be=se.call(pe);return ce.test(be)}catch(ye){return!1}},oe=function(pe){try{return ae(pe)?!1:(se.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]",te="[object HTMLCollection]",z=typeof Symbol=="function"&&!!Symbol.toStringTag,ue=!(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((ue||!pe)&&(typeof pe=="undefined"||typeof pe=="object"))try{var be=ne.call(pe);return(be===x||be===b||be===te||be===ee)&&pe("")==null}catch(ye){}return!1})}ve.exports=re?function(pe){if(ge(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;try{re(pe,null,ie)}catch(be){if(be!==le)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(z)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,ve,de){"use strict";var se=Object.prototype.toString,re=Function.prototype.toString,ie=/^\s*(?:function)?\*/,le=E("has-tostringtag/shams")(),ce=Object.getPrototypeOf,ae=function(){if(!le)return!1;try{return Function("return function*() {}")()}catch(ne){}},oe;ve.exports=function(ee){if(typeof ee!="function")return!1;if(ie.test(re.call(ee)))return!0;if(!le){var a=se.call(ee);return a==="[object GeneratorFunction]"}if(!ce)return!1;if(typeof oe=="undefined"){var y=ae();oe=y?ce(y):!1}return ce(ee)===oe}},{"has-tostringtag/shams":353}],369:[function(E,ve,de){"use strict";var se=E("which-typed-array");ve.exports=function(ie){return!!se(ie)}},{"which-typed-array":420}],370:[function(E,ve,de){var se={}.toString;ve.exports=Array.isArray||function(re){return se.call(re)=="[object Array]"}},{}],371:[function(E,ve,de){(function(se){(function(){(function(re,ie){typeof de=="object"&&typeof ve!="undefined"?ve.exports=ie(re):typeof fe=="function"&&fe.amd?fe(ie):ie(re)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof se!="undefined"?se:this,function(re){"use strict";re=re||{};var ie=re.Base64,le="2.6.4",ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(Ie){for(var Be={},Re=0,tt=Ie.length;Re<tt;Re++)Be[Ie.charAt(Re)]=Re;return Be}(ce),oe=String.fromCharCode,ne=function(Ie){if(Ie.length<2){var Be=Ie.charCodeAt(0);return Be<128?Ie:Be<2048?oe(192|Be>>>6)+oe(128|Be&63):oe(224|Be>>>12&15)+oe(128|Be>>>6&63)+oe(128|Be&63)}else{var Be=65536+(Ie.charCodeAt(0)-55296)*1024+(Ie.charCodeAt(1)-56320);return oe(240|Be>>>18&7)+oe(128|Be>>>12&63)+oe(128|Be>>>6&63)+oe(128|Be&63)}},ee=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Ie){return Ie.replace(ee,ne)},y=function(Ie){var Be=[0,2,1][Ie.length%3],Re=Ie.charCodeAt(0)<<16|(Ie.length>1?Ie.charCodeAt(1):0)<<8|(Ie.length>2?Ie.charCodeAt(2):0),tt=[ce.charAt(Re>>>18),ce.charAt(Re>>>12&63),Be>=2?"=":ce.charAt(Re>>>6&63),Be>=1?"=":ce.charAt(Re&63)];return tt.join("")},x=re.btoa&&typeof re.btoa=="function"?function(Ie){return re.btoa(Ie)}:function(Ie){if(Ie.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ie.replace(/[\s\S]{1,3}/g,y)},b=function(Ie){return x(a(String(Ie)))},te=function(Ie){return Ie.replace(/[+\/]/g,function(Be){return Be=="+"?"-":"_"}).replace(/=/g,"")},z=function(Ie,Be){return Be?te(b(Ie)):b(Ie)},ue=function(Ie){return z(Ie,!0)},ge;re.Uint8Array&&(ge=function(Ie,Be){for(var Re="",tt=0,Ye=Ie.length;tt<Ye;tt+=3){var et=Ie[tt],Xe=Ie[tt+1],Ge=Ie[tt+2],Fe=et<<16|Xe<<8|Ge;Re+=ce.charAt(Fe>>>18)+ce.charAt(Fe>>>12&63)+(typeof Xe!="undefined"?ce.charAt(Fe>>>6&63):"=")+(typeof Ge!="undefined"?ce.charAt(Fe&63):"=")}return Be?te(Re):Re});var me=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,he=function(Ie){switch(Ie.length){case 4:var Be=(7&Ie.charCodeAt(0))<<18|(63&Ie.charCodeAt(1))<<12|(63&Ie.charCodeAt(2))<<6|63&Ie.charCodeAt(3),Re=Be-65536;return oe((Re>>>10)+55296)+oe((Re&1023)+56320);case 3:return oe((15&Ie.charCodeAt(0))<<12|(63&Ie.charCodeAt(1))<<6|63&Ie.charCodeAt(2));default:return oe((31&Ie.charCodeAt(0))<<6|63&Ie.charCodeAt(1))}},pe=function(Ie){return Ie.replace(me,he)},be=function(Ie){var Be=Ie.length,Re=Be%4,tt=(Be>0?ae[Ie.charAt(0)]<<18:0)|(Be>1?ae[Ie.charAt(1)]<<12:0)|(Be>2?ae[Ie.charAt(2)]<<6:0)|(Be>3?ae[Ie.charAt(3)]:0),Ye=[oe(tt>>>16),oe(tt>>>8&255),oe(tt&255)];return Ye.length-=[0,0,2,1][Re],Ye.join("")},ye=re.atob&&typeof re.atob=="function"?function(Ie){return re.atob(Ie)}:function(Ie){return Ie.replace(/\S{1,4}/g,be)},Pe=function(Ie){return ye(String(Ie).replace(/[^A-Za-z0-9\+\/]/g,""))},we=function(Ie){return pe(ye(Ie))},Oe=function(Ie){return String(Ie).replace(/[-_]/g,function(Be){return Be=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ce=function(Ie){return we(Oe(Ie))},_e;re.Uint8Array&&(_e=function(Ie){return Uint8Array.from(Pe(Oe(Ie)),function(Be){return Be.charCodeAt(0)})});var Ee=function(){var Ie=re.Base64;return re.Base64=ie,Ie};if(re.Base64={VERSION:le,atob:Pe,btoa:x,fromBase64:Ce,toBase64:z,utob:a,encode:z,encodeURI:ue,btou:pe,decode:Ce,noConflict:Ee,fromUint8Array:ge,toUint8Array:_e},typeof Object.defineProperty=="function"){var Me=function(Ie){return{value:Ie,enumerable:!1,writable:!0,configurable:!0}};re.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Me(function(){return Ce(this)})),Object.defineProperty(String.prototype,"toBase64",Me(function(Ie){return z(this,Ie)})),Object.defineProperty(String.prototype,"toBase64URI",Me(function(){return z(this,!0)}))}}return re.Meteor&&(Base64=re.Base64),typeof ve!="undefined"&&ve.exports?ve.exports.Base64=re.Base64:typeof fe=="function"&&fe.amd&&fe([],function(){return re.Base64}),{Base64:re.Base64}})}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,ve,de){"use strict";ve.exports=re;var se=Object.prototype.hasOwnProperty;function re(ie,le,ce){if(!ie)throw new TypeError("argument dest is required");if(!le)throw new TypeError("argument src is required");return ce===void 0&&(ce=!0),Object.getOwnPropertyNames(le).forEach(function(oe){if(!(!ce&&se.call(ie,oe))){var ne=Object.getOwnPropertyDescriptor(le,oe);Object.defineProperty(ie,oe,ne)}}),ie}},{}],373:[function(E,ve,de){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function se(){this._types=Object.create(null),this._extensions=Object.create(null);for(var 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)}se.prototype.define=function(re,ie){for(var le in re){var ce=re[le].map(function(ee){return ee.toLowerCase()});le=le.toLowerCase();for(var ae=0;ae<ce.length;ae++){var oe=ce[ae];if(oe[0]!=="*"){if(!ie&&oe in this._types)throw new Error('Attempt to change mapping for "'+oe+'" extension from "'+this._types[oe]+'" to "'+le+'". Pass `force=true` to allow this, otherwise remove "'+oe+'" from the list of extensions for "'+le+'".');this._types[oe]=le}}if(ie||!this._extensions[le]){var ne=ce[0];this._extensions[le]=ne[0]!=="*"?ne:ne.substr(1)}}},se.prototype.getType=function(re){re=String(re);var ie=re.replace(/^.*[/\\]/,"").toLowerCase(),le=ie.replace(/^.*\./,"").toLowerCase(),ce=ie.length<re.length,ae=le.length<ie.length-1;return(ae||!ce)&&this._types[le]||null},se.prototype.getExtension=function(re){return re=/^\s*([^;\s]*)/.test(re)&&RegExp.$1,re&&this._extensions[re.toLowerCase()]||null},ve.exports=se},{"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.constructor.js":299,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305}],374:[function(E,ve,de){"use strict";var se=E("./Mime");ve.exports=new se(E("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(E,ve,de){"use strict";ve.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,ve,de){var se=1e3,re=se*60,ie=re*60,le=ie*24,ce=le*7,ae=le*365.25;ve.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]),te=(x[2]||"ms").toLowerCase();switch(te){case"years":case"year":case"yrs":case"yr":case"y":return b*ae;case"weeks":case"week":case"w":return b*ce;case"days":case"day":case"d":return b*le;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ie;case"minutes":case"minute":case"mins":case"min":case"m":return b*re;case"seconds":case"second":case"secs":case"sec":case"s":return b*se;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ne(y){var x=Math.abs(y);return x>=le?Math.round(y/le)+"d":x>=ie?Math.round(y/ie)+"h":x>=re?Math.round(y/re)+"m":x>=se?Math.round(y/se)+"s":y+"ms"}function ee(y){var x=Math.abs(y);return x>=le?a(y,x,le,"day"):x>=ie?a(y,x,ie,"hour"):x>=re?a(y,x,re,"minute"):x>=se?a(y,x,se,"second"):y+" ms"}function a(y,x,b,te){var z=x>=b*1.5;return Math.round(y/b)+" "+te+(z?"s":"")}},{}],377:[function(E,ve,de){"use strict";var se=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;function le(ae){if(ae==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ae)}function ce(){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}}ve.exports=ce()?Object.assign:function(ae,oe){for(var ne,ee=le(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(se){a=se(ne);for(var b=0;b<a.length;b++)ie.call(ne,a[b])&&(ee[a[b]]=ne[a[b]])}}return ee}},{}],378:[function(E,ve,de){(function(se){(function(){"use strict";function re(ae){if(typeof ae!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(ae))}function ie(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 te=ne.lastIndexOf("/");if(te!==ne.length-1){te===-1?(ne="",ee=0):(ne=ne.slice(0,te),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 le(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 ce={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=se.cwd()),y=ee),re(y),y.length!==0&&(oe=y+"/"+oe,ne=y.charCodeAt(0)===47)}return oe=ie(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=ie(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?".":ce.normalize(oe)},relative:function(oe,ne){if(re(oe),re(ne),oe===ne||(oe=ce.resolve(oe),ne=ce.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,te=b-x,z=y<te?y:te,ue=-1,ge=0;ge<=z;++ge){if(ge===z){if(te>z){if(ne.charCodeAt(x+ge)===47)return ne.slice(x+ge+1);if(ge===0)return ne.slice(x+ge)}else y>z&&(oe.charCodeAt(ee+ge)===47?ue=ge:ge===0&&(ue=0));break}var me=oe.charCodeAt(ee+ge),he=ne.charCodeAt(x+ge);if(me!==he)break;me===47&&(ue=ge)}var pe="";for(ge=ee+ue+1;ge<=a;++ge)(ge===a||oe.charCodeAt(ge)===47)&&(pe.length===0?pe+="..":pe+="/..");return pe.length>0?pe+ne.slice(x+ue):(x+=ue,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,te=-1;for(x=oe.length-1;x>=0;--x){var z=oe.charCodeAt(x);if(z===47){if(!y){ee=x+1;break}}else te===-1&&(y=!1,te=x+1),b>=0&&(z===ne.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=te))}return ee===a?a=te: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 te=oe.charCodeAt(b);if(te===47){if(!y){ee=b+1;break}continue}a===-1&&(y=!1,a=b+1),te===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 le("/",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,te=-1,z=!0,ue=oe.length-1,ge=0;ue>=y;--ue){if(ee=oe.charCodeAt(ue),ee===47){if(!z){b=ue+1;break}continue}te===-1&&(z=!1,te=ue+1),ee===46?x===-1?x=ue:ge!==1&&(ge=1):x!==-1&&(ge=-1)}return x===-1||te===-1||ge===0||ge===1&&x===te-1&&x===b+1?te!==-1&&(b===0&&a?ne.base=ne.name=oe.slice(1,te):ne.base=ne.name=oe.slice(b,te)):(b===0&&a?(ne.name=oe.slice(1,x),ne.base=oe.slice(1,te)):(ne.name=oe.slice(b,x),ne.base=oe.slice(b,te)),ne.ext=oe.slice(x,te)),b>0?ne.dir=oe.slice(0,b-1):a&&(ne.dir="/"),ne},sep:"/",delimiter:":",win32:null,posix:null};ce.posix=ce,ve.exports=ce}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,ve,de){(function(se){(function(){(function(){"use strict";var re={function:!0,object:!0},ie=re[typeof window]&&window||this,le=ie,ce=re[typeof de]&&de,ae=re[typeof ve]&&ve&&!ve.nodeType&&ve,oe=ce&&ae&&typeof se=="object"&&se;oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(ie=oe);var ne=Math.pow(2,53)-1,ee=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function te(Ce){return Ce=String(Ce),Ce.charAt(0).toUpperCase()+Ce.slice(1)}function z(Ce,_e,Ee){var Me={"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&&Ee&&/^Win/i.test(Ce)&&!/^Windows Phone /i.test(Ce)&&(Me=Me[/[\d.]+$/.exec(Ce)])&&(Ce="Windows "+Me),Ce=String(Ce),_e&&Ee&&(Ce=Ce.replace(RegExp(_e,"i"),Ee)),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 ue(Ce,_e){var Ee=-1,Me=Ce?Ce.length:0;if(typeof Me=="number"&&Me>-1&&Me<=ne)for(;++Ee<Me;)_e(Ce[Ee],Ee,Ce);else me(Ce,_e)}function ge(Ce){return Ce=Pe(Ce),/^(?:webOS|i(?:OS|P))/.test(Ce)?Ce:te(Ce)}function me(Ce,_e){for(var Ee in Ce)x.call(Ce,Ee)&&_e(Ce[Ee],Ee,Ce)}function he(Ce){return Ce==null?te(Ce):b.call(Ce).slice(8,-1)}function pe(Ce,_e){var Ee=Ce!=null?typeof Ce[_e]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Ee)&&(Ee=="object"?!!Ce[_e]:!0)}function be(Ce){return String(Ce).replace(/([ -])(?!$)/g,"$1?")}function ye(Ce,_e){var Ee=null;return ue(Ce,function(Me,Ie){Ee=_e(Ee,Me,Ie,Ce)}),Ee}function Pe(Ce){return String(Ce).replace(/^ +| +$/g,"")}function we(Ce){var _e=ie,Ee=Ce&&typeof Ce=="object"&&he(Ce)!="String";Ee&&(_e=Ce,Ce=null);var Me=_e.navigator||{},Ie=Me.userAgent||"";Ce||(Ce=Ie);var Be=Ee||a==le,Re=Ee?!!Me.likeChrome:/\bChrome\b/.test(Ce)&&!/internal|\n/i.test(b.toString()),tt="Object",Ye=Ee?tt:"ScriptBridgingProxyObject",et=Ee?tt:"Environment",Xe=Ee&&_e.java?"JavaPackage":he(_e.java),Ge=Ee?tt:"RuntimeObject",Fe=/\bJava/.test(Xe)&&_e.java,je=Fe&&he(_e.environment)==et,qe=Fe?"a":"\u03B1",Je=Fe?"b":"\u03B2",it=_e.document||{},Qe=_e.operamini||_e.opera,Ze=ee.test(Ze=Ee&&Qe?Qe["[[Class]]"]:he(Qe))?Ze:Qe=null,De,Ve=Ce,Ae=[],ke=null,$e=Ce==Ie,Ke=$e&&Qe&&typeof Qe.version=="function"&&Qe.version(),ze,Le=mt([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Te=nt(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),Ne=Et([{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"]),He=vt({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=ut(["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(st){return ye(st,function(pt,Pt){return pt||RegExp("\\b"+(Pt.pattern||be(Pt))+"\\b","i").exec(Ce)&&(Pt.label||Pt)})}function vt(st){return ye(st,function(pt,Pt,wt){return pt||(Pt[Ne]||Pt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ne)]||RegExp("\\b"+be(wt)+"(?:\\b|\\w*\\d)","i").exec(Ce))&&wt})}function nt(st){return ye(st,function(pt,Pt){return pt||RegExp("\\b"+(Pt.pattern||be(Pt))+"\\b","i").exec(Ce)&&(Pt.label||Pt)})}function ut(st){return ye(st,function(pt,Pt){var wt=Pt.pattern||be(Pt);return!pt&&(pt=RegExp("\\b"+wt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(Ce))&&(pt=z(pt,wt,Pt.label||Pt)),pt})}function Et(st){return ye(st,function(pt,Pt){var wt=Pt.pattern||be(Pt);return!pt&&(pt=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))&&((pt=String(Pt.label&&!RegExp(wt,"i").test(Pt.label)?Pt.label:pt).split("/"))[1]&&!/[\d.]+/.test(pt[0])&&(pt[0]+=" "+pt[1]),Pt=Pt.label||Pt,pt=ge(pt[0].replace(RegExp(wt,"i"),Pt).replace(RegExp("; *(?:"+Pt+"[_-])?","i")," ").replace(RegExp("("+Pt+")[-_.]?(\\w)","i"),"$1 $2"))),pt})}function Ot(st){return ye(st,function(pt,Pt){return pt||(RegExp(Pt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(Ce)||0)[1]||null})}function at(){return this.description||""}if(Le&&(Le=[Le]),/\bAndroid\b/.test(rt)&&!Ne&&(De=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(Ce))&&(Ne=Pe(De[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),He&&!Ne?Ne=Et([He]):He&&Ne&&(Ne=Ne.replace(RegExp("^("+be(He)+")[-_.\\s]","i"),He+" ").replace(RegExp("^("+be(He)+")[-_.]?(\\w)","i"),He+" $2")),(De=/\bGoogle TV\b/.exec(Ne))&&(Ne=De[0]),/\bSimulator\b/i.test(Ce)&&(Ne=(Ne?Ne+" ":"")+"Simulator"),Te=="Opera Mini"&&/\bOPiOS\b/.test(Ce)&&Ae.push("running in Turbo/Uncompressed mode"),Te=="IE"&&/\blike iPhone OS\b/.test(Ce)?(De=we(Ce.replace(/like iPhone OS/,"")),He=De.manufacturer,Ne=De.product):/^iP/.test(Ne)?(Te||(Te="Safari"),rt="iOS"+((De=/ OS ([\d_]+)/i.exec(Ce))?" "+De[1].replace(/_/g,"."):"")):Te=="Konqueror"&&/^Linux\b/i.test(rt)?rt="Kubuntu":He&&He!="Google"&&(/Chrome/.test(Te)&&!/\bMobile Safari\b/i.test(Ce)||/\bVita\b/.test(Ne))||/\bAndroid\b/.test(rt)&&/^Chrome/.test(Te)&&/\bVersion\//i.test(Ce)?(Te="Android Browser",rt=/\bAndroid\b/.test(rt)?rt:"Android"):Te=="Silk"?(/\bMobi/i.test(Ce)||(rt="Android",Ae.unshift("desktop mode")),/Accelerated *= *true/i.test(Ce)&&Ae.unshift("accelerated")):Te=="UC Browser"&&/\bUCWEB\b/.test(Ce)?Ae.push("speed mode"):Te=="PaleMoon"&&(De=/\bFirefox\/([\d.]+)\b/.exec(Ce))?Ae.push("identifying as Firefox "+De[1]):Te=="Firefox"&&(De=/\b(Mobile|Tablet|TV)\b/i.exec(Ce))?(rt||(rt="Firefox OS"),Ne||(Ne=De[1])):!Te||(De=!/\bMinefield\b/i.test(Ce)&&/\b(?:Firefox|Safari)\b/.exec(Te))?(Te&&!Ne&&/[\/,]|^[^(]+?\)/.test(Ce.slice(Ce.indexOf(De+"/")+8))&&(Te=null),(De=Ne||He||rt)&&(Ne||He||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(rt))&&(Te=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(rt)?rt:De)+" Browser")):Te=="Electron"&&(De=(/\bChrome\/([\d.]+)\b/.exec(Ce)||0)[1])&&Ae.push("Chromium "+De),Ke||(Ke=Ot(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",be(Te),"(?:Firefox|Minefield|NetFront)"])),(De=Le=="iCab"&&parseFloat(Ke)>3&&"WebKit"||/\bOpera\b/.test(Te)&&(/\bOPR\b/.test(Ce)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ce)&&!/^(?:Trident|EdgeHTML)$/.test(Le)&&"WebKit"||!Le&&/\bMSIE\b/i.test(Ce)&&(rt=="Mac OS"?"Tasman":"Trident")||Le=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Te)&&"NetFront")&&(Le=[De]),Te=="IE"&&(De=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ce)||0)[1])?(Te+=" Mobile",rt="Windows Phone "+(/\+$/.test(De)?De:De+".x"),Ae.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ce)?(Te="IE Mobile",rt="Windows Phone 8.x",Ae.unshift("desktop mode"),Ke||(Ke=(/\brv:([\d.]+)/.exec(Ce)||0)[1])):Te!="IE"&&Le=="Trident"&&(De=/\brv:([\d.]+)/.exec(Ce))&&(Te&&Ae.push("identifying as "+Te+(Ke?" "+Ke:"")),Te="IE",Ke=De[1]),$e){if(pe(_e,"global"))if(Fe&&(De=Fe.lang.System,Ve=De.getProperty("os.arch"),rt=rt||De.getProperty("os.name")+" "+De.getProperty("os.version")),je){try{Ke=_e.require("ringo/engine").version.join("."),Te="RingoJS"}catch(st){(De=_e.system)&&De.global.system==_e.system&&(Te="Narwhal",rt||(rt=De[0].os||null))}Te||(Te="Rhino")}else typeof _e.process=="object"&&!_e.process.browser&&(De=_e.process)&&(typeof De.versions=="object"&&(typeof De.versions.electron=="string"?(Ae.push("Node "+De.versions.node),Te="Electron",Ke=De.versions.electron):typeof De.versions.nw=="string"&&(Ae.push("Chromium "+Ke,"Node "+De.versions.node),Te="NW.js",Ke=De.versions.nw)),Te||(Te="Node.js",Ve=De.arch,rt=De.platform,Ke=/[\d.]+/.exec(De.version),Ke=Ke?Ke[0]:null));else he(De=_e.runtime)==Ye?(Te="Adobe AIR",rt=De.flash.system.Capabilities.os):he(De=_e.phantom)==Ge?(Te="PhantomJS",Ke=(De=De.version||null)&&De.major+"."+De.minor+"."+De.patch):typeof it.documentMode=="number"&&(De=/\bTrident\/(\d+)/i.exec(Ce))?(Ke=[Ke,it.documentMode],(De=+De[1]+4)!=Ke[1]&&(Ae.push("IE "+Ke[1]+" mode"),Le&&(Le[1]=""),Ke[1]=De),Ke=Te=="IE"?String(Ke[1].toFixed(1)):Ke[0]):typeof it.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Te)&&(Ae.push("masking as "+Te+" "+Ke),Te="IE",Ke="11.0",Le=["Trident"],rt="Windows");rt=rt&&ge(rt)}if(Ke&&(De=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ke)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ce+";"+($e&&Me.appMinorVersion))||/\bMinefield\b/i.test(Ce)&&"a")&&(ke=/b/i.test(De)?"beta":"alpha",Ke=Ke.replace(RegExp(De+"\\+?$"),"")+(ke=="beta"?Je:qe)+(/\d+\+?/.exec(De)||"")),Te=="Fennec"||Te=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(rt))Te="Firefox Mobile";else if(Te=="Maxthon"&&Ke)Ke=Ke.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ne))Ne=="Xbox 360"&&(rt=null),Ne=="Xbox 360"&&/\bIEMobile\b/.test(Ce)&&Ae.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Te)||Te&&!Ne&&!/Browser|Mobi/.test(Te))&&(rt=="Windows CE"||/Mobi/i.test(Ce)))Te+=" Mobile";else if(Te=="IE"&&$e)try{_e.external===null&&Ae.unshift("platform preview")}catch(st){Ae.unshift("embedded")}else(/\bBlackBerry\b/.test(Ne)||/\bBB10\b/.test(Ce))&&(De=(RegExp(Ne.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ce)||0)[1]||Ke)?(De=[De,/BB10/.test(Ce)],rt=(De[1]?(Ne=null,He="BlackBerry"):"Device Software")+" "+De[0],Ke=null):this!=me&&Ne!="Wii"&&($e&&Qe||/Opera/.test(Te)&&/\b(?:MSIE|Firefox)\b/i.test(Ce)||Te=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(rt)||Te=="IE"&&(rt&&!/^Win/.test(rt)&&Ke>5.5||/\bWindows XP\b/.test(rt)&&Ke>8||Ke==8&&!/\bTrident\b/.test(Ce)))&&!ee.test(De=we.call(me,Ce.replace(ee,"")+";"))&&De.name&&(De="ing as "+De.name+((De=De.version)?" "+De:""),ee.test(Te)?(/\bIE\b/.test(De)&&rt=="Mac OS"&&(rt=null),De="identify"+De):(De="mask"+De,Ze?Te=ge(Ze.replace(/([a-z])([A-Z])/g,"$1 $2")):Te="Opera",/\bIE\b/.test(De)&&(rt=null),$e||(Ke=null)),Le=["Presto"],Ae.push(De));(De=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ce)||0)[1])&&(De=[parseFloat(De.replace(/\.(\d)$/,".0$1")),De],Te=="Safari"&&De[1].slice(-1)=="+"?(Te="WebKit Nightly",ke="alpha",Ke=De[1].slice(0,-1)):(Ke==De[1]||Ke==(De[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ce)||0)[1]))&&(Ke=null),De[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ce)||0)[1],De[0]==537.36&&De[2]==537.36&&parseFloat(De[1])>=28&&Le=="WebKit"&&(Le=["Blink"]),!$e||!Re&&!De[1]?(Le&&(Le[1]="like Safari"),De=(De=De[0],De<400?1:De<500?2:De<526?3:De<533?4:De<534?"4+":De<535?5:De<537?6:De<538?7:De<601?8:De<602?9:De<604?10:De<606?11:De<608?12:"12")):(Le&&(Le[1]="like Chrome"),De=De[1]||(De=De[0],De<530?1:De<532?2:De<532.05?3:De<533?4:De<534.03?5:De<534.07?6:De<534.1?7:De<534.13?8:De<534.16?9:De<534.24?10:De<534.3?11:De<535.01?12:De<535.02?"13+":De<535.07?15:De<535.11?16:De<535.19?17:De<536.05?18:De<536.1?19:De<537.01?20:De<537.11?"21+":De<537.13?23:De<537.18?24:De<537.24?25:De<537.36?26:Le!="Blink"?"27":"28")),Le&&(Le[1]+=" "+(De+=typeof De=="number"?".x":/[.+]/.test(De)?"":"+")),Te=="Safari"&&(!Ke||parseInt(Ke)>45)?Ke=De:Te=="Chrome"&&/\bHeadlessChrome/i.test(Ce)&&Ae.unshift("headless")),Te=="Opera"&&(De=/\bzbov|zvav$/.exec(rt))?(Te+=" ",Ae.unshift("desktop mode"),De=="zvav"?(Te+="Mini",Ke=null):Te+="Mobile",rt=rt.replace(RegExp(" *"+De+"$"),"")):Te=="Safari"&&/\bChrome\b/.exec(Le&&Le[1])?(Ae.unshift("desktop mode"),Te="Chrome Mobile",Ke=null,/\bOS X\b/.test(rt)?(He="Apple",rt="iOS 4.3+"):rt=null):/\bSRWare Iron\b/.test(Te)&&!Ke&&(Ke=Ot("Chrome")),Ke&&Ke.indexOf(De=/[\d.]+$/.exec(rt))==0&&Ce.indexOf("/"+De+"-")>-1&&(rt=Pe(rt.replace(De,""))),rt&&rt.indexOf(Te)!=-1&&!RegExp(Te+" OS").test(rt)&&(rt=rt.replace(RegExp(" *"+be(Te)+" *"),"")),Le&&!/\b(?:Avant|Nook)\b/.test(Te)&&(/Browser|Lunascape|Maxthon/.test(Te)||Te!="Safari"&&/^iOS/.test(rt)&&/\bSafari\b/.test(Le[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Te)&&Le[1])&&(De=Le[Le.length-1])&&Ae.push(De),Ae.length&&(Ae=["("+Ae.join("; ")+")"]),He&&Ne&&Ne.indexOf(He)<0&&Ae.push("on "+He),Ne&&Ae.push((/^on /.test(Ae[Ae.length-1])?"":"on ")+Ne),rt&&(De=/ ([\d.+]+)$/.exec(rt),ze=De&&rt.charAt(rt.length-De[0].length-1)=="/",rt={architecture:32,family:De&&!ze?rt.replace(De[0],""):rt,version:De?De[1]:null,toString:function(){var st=this.version;return this.family+(st&&!ze?" "+st:"")+(this.architecture==64?" 64-bit":"")}}),(De=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ve))&&!/\bi686\b/i.test(Ve)?(rt&&(rt.architecture=64,rt.family=rt.family.replace(RegExp(" *"+De),"")),Te&&(/\bWOW64\b/i.test(Ce)||$e&&/\w(?:86|32)$/.test(Me.cpuClass||Me.platform)&&!/\bWin64; x64\b/i.test(Ce))&&Ae.unshift("32-bit")):rt&&/^OS X/.test(rt.family)&&Te=="Chrome"&&parseFloat(Ke)>=39&&(rt.architecture=64),Ce||(Ce=null);var Tt={};return Tt.description=Ce,Tt.layout=Le&&Le[0],Tt.manufacturer=He,Tt.name=Te,Tt.prerelease=ke,Tt.product=Ne,Tt.ua=Ce,Tt.version=Te&&Ke,Tt.os=rt||{architecture:null,family:null,version:null,toString:function(){return"null"}},Tt.parse=we,Tt.toString=at,Tt.version&&Ae.unshift(Ke),Tt.name&&Ae.unshift(Te),rt&&Te&&!(rt==String(rt).split(" ")[0]&&(rt==Te.split(" ")[0]||Ne))&&Ae.push(Ne?"("+rt+")":"on "+rt),Ae.length&&(Tt.description=Ae.join(" ")),Tt}var Oe=we();typeof fe=="function"&&typeof fe.amd=="object"&&fe.amd?(ie.platform=Oe,fe(function(){return Oe})):ce&&ae?me(Oe,function(Ce,_e){ce[_e]=Ce}):ie.platform=Oe}).call(this)}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,ve,de){(function(se){(function(){"use strict";typeof se=="undefined"||!se.version||se.version.indexOf("v0.")===0||se.version.indexOf("v1.")===0&&se.version.indexOf("v1.8.")!==0?ve.exports={nextTick:re}:ve.exports=se;function re(ie,le,ce,ae){if(typeof ie!="function")throw new TypeError('"callback" argument must be a function');var oe=arguments.length,ne,ee;switch(oe){case 0:case 1:return se.nextTick(ie);case 2:return se.nextTick(function(){ie.call(null,le)});case 3:return se.nextTick(function(){ie.call(null,le,ce)});case 4:return se.nextTick(function(){ie.call(null,le,ce,ae)});default:for(ne=new Array(oe-1),ee=0;ee<ne.length;)ne[ee++]=arguments[ee];return se.nextTick(function(){ie.apply(null,ne)})}}}).call(this)}).call(this,E("_process"))},{_process:467}],381:[function(E,ve,de){var se=ve.exports={},re,ie;function le(){throw new Error("setTimeout has not been defined")}function ce(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?re=setTimeout:re=le}catch(ue){re=le}try{typeof clearTimeout=="function"?ie=clearTimeout:ie=ce}catch(ue){ie=ce}})();function ae(ue){if(re===setTimeout)return setTimeout(ue,0);if((re===le||!re)&&setTimeout)return re=setTimeout,setTimeout(ue,0);try{return re(ue,0)}catch(ge){try{return re.call(null,ue,0)}catch(me){return re.call(this,ue,0)}}}function oe(ue){if(ie===clearTimeout)return clearTimeout(ue);if((ie===ce||!ie)&&clearTimeout)return ie=clearTimeout,clearTimeout(ue);try{return ie(ue)}catch(ge){try{return ie.call(null,ue)}catch(me){return ie.call(this,ue)}}}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 ue=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(ue)}}se.nextTick=function(ue){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 te(ue,ge)),ne.length===1&&!ee&&ae(b)};function te(ue,ge){this.fun=ue,this.array=ge}te.prototype.run=function(){this.fun.apply(null,this.array)},se.title="browser",se.browser=!0,se.env={},se.argv=[],se.version="",se.versions={};function z(){}se.on=z,se.addListener=z,se.once=z,se.off=z,se.removeListener=z,se.removeAllListeners=z,se.emit=z,se.prependListener=z,se.prependOnceListener=z,se.listeners=function(ue){return[]},se.binding=function(ue){throw new Error("process.binding is not supported")},se.cwd=function(){return"/"},se.chdir=function(ue){throw new Error("process.chdir is not supported")},se.umask=function(){return 0}},{}],382:[function(E,ve,de){(function(se){(function(){(function(re){var ie=typeof de=="object"&&de&&!de.nodeType&&de,le=typeof ve=="object"&&ve&&!ve.nodeType&&ve,ce=typeof se=="object"&&se;(ce.global===ce||ce.window===ce||ce.self===ce)&&(re=ce);var ae,oe=2147483647,ne=36,ee=1,a=26,y=38,x=700,b=72,te=128,z="-",ue=/^xn--/,ge=/[^\x20-\x7E]/,me=/[\x2E\u3002\uFF0E\uFF61]/g,he={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,Pe;function we(Xe){throw new RangeError(he[Xe])}function Oe(Xe,Ge){for(var Fe=Xe.length,je=[];Fe--;)je[Fe]=Ge(Xe[Fe]);return je}function Ce(Xe,Ge){var Fe=Xe.split("@"),je="";Fe.length>1&&(je=Fe[0]+"@",Xe=Fe[1]),Xe=Xe.replace(me,".");var qe=Xe.split("."),Je=Oe(qe,Ge).join(".");return je+Je}function _e(Xe){for(var Ge=[],Fe=0,je=Xe.length,qe,Je;Fe<je;)qe=Xe.charCodeAt(Fe++),qe>=55296&&qe<=56319&&Fe<je?(Je=Xe.charCodeAt(Fe++),(Je&64512)==56320?Ge.push(((qe&1023)<<10)+(Je&1023)+65536):(Ge.push(qe),Fe--)):Ge.push(qe);return Ge}function Ee(Xe){return Oe(Xe,function(Ge){var Fe="";return Ge>65535&&(Ge-=65536,Fe+=ye(Ge>>>10&1023|55296),Ge=56320|Ge&1023),Fe+=ye(Ge),Fe}).join("")}function Me(Xe){return Xe-48<10?Xe-22:Xe-65<26?Xe-65:Xe-97<26?Xe-97:ne}function Ie(Xe,Ge){return Xe+22+75*(Xe<26)-((Ge!=0)<<5)}function Be(Xe,Ge,Fe){var je=0;for(Xe=Fe?be(Xe/x):Xe>>1,Xe+=be(Xe/Ge);Xe>pe*a>>1;je+=ne)Xe=be(Xe/pe);return be(je+(pe+1)*Xe/(Xe+y))}function Re(Xe){var Ge=[],Fe=Xe.length,je,qe=0,Je=te,it=b,Qe,Ze,De,Ve,Ae,ke,$e,Ke,ze;for(Qe=Xe.lastIndexOf(z),Qe<0&&(Qe=0),Ze=0;Ze<Qe;++Ze)Xe.charCodeAt(Ze)>=128&&we("not-basic"),Ge.push(Xe.charCodeAt(Ze));for(De=Qe>0?Qe+1:0;De<Fe;){for(Ve=qe,Ae=1,ke=ne;De>=Fe&&we("invalid-input"),$e=Me(Xe.charCodeAt(De++)),($e>=ne||$e>be((oe-qe)/Ae))&&we("overflow"),qe+=$e*Ae,Ke=ke<=it?ee:ke>=it+a?a:ke-it,!($e<Ke);ke+=ne)ze=ne-Ke,Ae>be(oe/ze)&&we("overflow"),Ae*=ze;je=Ge.length+1,it=Be(qe-Ve,je,Ve==0),be(qe/je)>oe-Je&&we("overflow"),Je+=be(qe/je),qe%=je,Ge.splice(qe++,0,Je)}return Ee(Ge)}function tt(Xe){var Ge,Fe,je,qe,Je,it,Qe,Ze,De,Ve,Ae,ke=[],$e,Ke,ze,Le;for(Xe=_e(Xe),$e=Xe.length,Ge=te,Fe=0,Je=b,it=0;it<$e;++it)Ae=Xe[it],Ae<128&&ke.push(ye(Ae));for(je=qe=ke.length,qe&&ke.push(z);je<$e;){for(Qe=oe,it=0;it<$e;++it)Ae=Xe[it],Ae>=Ge&&Ae<Qe&&(Qe=Ae);for(Ke=je+1,Qe-Ge>be((oe-Fe)/Ke)&&we("overflow"),Fe+=(Qe-Ge)*Ke,Ge=Qe,it=0;it<$e;++it)if(Ae=Xe[it],Ae<Ge&&++Fe>oe&&we("overflow"),Ae==Ge){for(Ze=Fe,De=ne;Ve=De<=Je?ee:De>=Je+a?a:De-Je,!(Ze<Ve);De+=ne)Le=Ze-Ve,ze=ne-Ve,ke.push(ye(Ie(Ve+Le%ze,0))),Ze=be(Le/ze);ke.push(ye(Ie(Ze,0))),Je=Be(Fe,Ke,je==qe),Fe=0,++je}++Fe,++Ge}return ke.join("")}function Ye(Xe){return Ce(Xe,function(Ge){return ue.test(Ge)?Re(Ge.slice(4).toLowerCase()):Ge})}function et(Xe){return Ce(Xe,function(Ge){return ge.test(Ge)?"xn--"+tt(Ge):Ge})}if(ae={version:"1.4.1",ucs2:{decode:_e,encode:Ee},decode:Re,encode:tt,toASCII:et,toUnicode:Ye},typeof fe=="function"&&typeof fe.amd=="object"&&fe.amd)fe("punycode",function(){return ae});else if(ie&&le)if(ve.exports==ie)le.exports=ae;else for(Pe in ae)ae.hasOwnProperty(Pe)&&(ie[Pe]=ae[Pe]);else re.punycode=ae})(this)}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(E,ve,de){"use strict";function se(ie,le){return Object.prototype.hasOwnProperty.call(ie,le)}ve.exports=function(ie,le,ce,ae){le=le||"&",ce=ce||"=";var oe={};if(typeof ie!="string"||ie.length===0)return oe;var ne=/\+/g;ie=ie.split(le);var ee=1e3;ae&&typeof ae.maxKeys=="number"&&(ee=ae.maxKeys);var a=ie.length;ee>0&&a>ee&&(a=ee);for(var y=0;y<a;++y){var x=ie[y].replace(ne,"%20"),b=x.indexOf(ce),te,z,ue,ge;b>=0?(te=x.substr(0,b),z=x.substr(b+1)):(te=x,z=""),ue=decodeURIComponent(te),ge=decodeURIComponent(z),se(oe,ue)?re(oe[ue])?oe[ue].push(ge):oe[ue]=[oe[ue],ge]:oe[ue]=ge}return oe};var re=Array.isArray||function(ie){return Object.prototype.toString.call(ie)==="[object Array]"}},{}],384:[function(E,ve,de){"use strict";var se=function(ce){switch(typeof ce){case"string":return ce;case"boolean":return ce?"true":"false";case"number":return isFinite(ce)?ce:"";default:return""}};ve.exports=function(ce,ae,oe,ne){return ae=ae||"&",oe=oe||"=",ce===null&&(ce=void 0),typeof ce=="object"?ie(le(ce),function(ee){var a=encodeURIComponent(se(ee))+oe;return re(ce[ee])?ie(ce[ee],function(y){return a+encodeURIComponent(se(y))}).join(ae):a+encodeURIComponent(se(ce[ee]))}).join(ae):ne?encodeURIComponent(se(ne))+oe+encodeURIComponent(se(ce)):""};var re=Array.isArray||function(ce){return Object.prototype.toString.call(ce)==="[object Array]"};function ie(ce,ae){if(ce.map)return ce.map(ae);for(var oe=[],ne=0;ne<ce.length;ne++)oe.push(ae(ce[ne],ne));return oe}var le=Object.keys||function(ce){var ae=[];for(var oe in ce)Object.prototype.hasOwnProperty.call(ce,oe)&&ae.push(oe);return ae}},{}],385:[function(E,ve,de){"use strict";de.decode=de.parse=E("./decode"),de.encode=de.stringify=E("./encode")},{"./decode":383,"./encode":384}],386:[function(E,ve,de){"use strict";var se=E("process-nextick-args"),re=Object.keys||function(x){var b=[];for(var te in x)b.push(te);return b};ve.exports=ee;var ie=Object.create(E("core-util-is"));ie.inherits=E("inherits");var le=E("./_stream_readable"),ce=E("./_stream_writable");ie.inherits(ee,le);for(var ae=re(ce.prototype),oe=0;oe<ae.length;oe++){var ne=ae[oe];ee.prototype[ne]||(ee.prototype[ne]=ce.prototype[ne])}function ee(x){if(!(this instanceof ee))return new ee(x);le.call(this,x),ce.call(this,x),x&&x.readable===!1&&(this.readable=!1),x&&x.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,x&&x.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",a)}Object.defineProperty(ee.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function a(){this.allowHalfOpen||this._writableState.ended||se.nextTick(y,this)}function y(x){x.end()}Object.defineProperty(ee.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(x){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=x,this._writableState.destroyed=x)}}),ee.prototype._destroy=function(x,b){this.push(null),this.end(),se.nextTick(b,x)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(E,ve,de){"use strict";ve.exports=ie;var se=E("./_stream_transform"),re=Object.create(E("core-util-is"));re.inherits=E("inherits"),re.inherits(ie,se);function ie(le){if(!(this instanceof ie))return new ie(le);se.call(this,le)}ie.prototype._transform=function(le,ce,ae){ae(null,le)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(E,ve,de){(function(se,re){(function(){"use strict";var ie=E("process-nextick-args");ve.exports=ye;var le=E("isarray"),ce;ye.ReadableState=be;var ae=E("events").EventEmitter,oe=function(Ae,ke){return Ae.listeners(ke).length},ne=E("./internal/streams/stream"),ee=E("safe-buffer").Buffer,a=re.Uint8Array||function(){};function y(Ae){return ee.from(Ae)}function x(Ae){return ee.isBuffer(Ae)||Ae instanceof a}var b=Object.create(E("core-util-is"));b.inherits=E("inherits");var te=E("util"),z=void 0;te&&te.debuglog?z=te.debuglog("stream"):z=function(){};var ue=E("./internal/streams/BufferList"),ge=E("./internal/streams/destroy"),me;b.inherits(ye,ne);var he=["error","close","destroy","pause","resume"];function pe(Ae,ke,$e){if(typeof Ae.prependListener=="function")return Ae.prependListener(ke,$e);!Ae._events||!Ae._events[ke]?Ae.on(ke,$e):le(Ae._events[ke])?Ae._events[ke].unshift($e):Ae._events[ke]=[$e,Ae._events[ke]]}function be(Ae,ke){ce=ce||E("./_stream_duplex"),Ae=Ae||{};var $e=ke instanceof ce;this.objectMode=!!Ae.objectMode,$e&&(this.objectMode=this.objectMode||!!Ae.readableObjectMode);var Ke=Ae.highWaterMark,ze=Ae.readableHighWaterMark,Le=this.objectMode?16:16*1024;Ke||Ke===0?this.highWaterMark=Ke:$e&&(ze||ze===0)?this.highWaterMark=ze:this.highWaterMark=Le,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new ue,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=Ae.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Ae.encoding&&(me||(me=E("string_decoder/").StringDecoder),this.decoder=new me(Ae.encoding),this.encoding=Ae.encoding)}function ye(Ae){if(ce=ce||E("./_stream_duplex"),!(this instanceof ye))return new ye(Ae);this._readableState=new be(Ae,this),this.readable=!0,Ae&&(typeof Ae.read=="function"&&(this._read=Ae.read),typeof Ae.destroy=="function"&&(this._destroy=Ae.destroy)),ne.call(this)}Object.defineProperty(ye.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ae){this._readableState&&(this._readableState.destroyed=Ae)}}),ye.prototype.destroy=ge.destroy,ye.prototype._undestroy=ge.undestroy,ye.prototype._destroy=function(Ae,ke){this.push(null),ke(Ae)},ye.prototype.push=function(Ae,ke){var $e=this._readableState,Ke;return $e.objectMode?Ke=!0:typeof Ae=="string"&&(ke=ke||$e.defaultEncoding,ke!==$e.encoding&&(Ae=ee.from(Ae,ke),ke=""),Ke=!0),Pe(this,Ae,ke,!1,Ke)},ye.prototype.unshift=function(Ae){return Pe(this,Ae,null,!0,!1)};function Pe(Ae,ke,$e,Ke,ze){var Le=Ae._readableState;if(ke===null)Le.reading=!1,Ie(Ae,Le);else{var Te;ze||(Te=Oe(Le,ke)),Te?Ae.emit("error",Te):Le.objectMode||ke&&ke.length>0?(typeof ke!="string"&&!Le.objectMode&&Object.getPrototypeOf(ke)!==ee.prototype&&(ke=y(ke)),Ke?Le.endEmitted?Ae.emit("error",new Error("stream.unshift() after end event")):we(Ae,Le,ke,!0):Le.ended?Ae.emit("error",new Error("stream.push() after EOF")):(Le.reading=!1,Le.decoder&&!$e?(ke=Le.decoder.write(ke),Le.objectMode||ke.length!==0?we(Ae,Le,ke,!1):tt(Ae,Le)):we(Ae,Le,ke,!1))):Ke||(Le.reading=!1)}return Ce(Le)}function we(Ae,ke,$e,Ke){ke.flowing&&ke.length===0&&!ke.sync?(Ae.emit("data",$e),Ae.read(0)):(ke.length+=ke.objectMode?1:$e.length,Ke?ke.buffer.unshift($e):ke.buffer.push($e),ke.needReadable&&Be(Ae)),tt(Ae,ke)}function Oe(Ae,ke){var $e;return!x(ke)&&typeof ke!="string"&&ke!==void 0&&!Ae.objectMode&&($e=new TypeError("Invalid non-string/buffer chunk")),$e}function Ce(Ae){return!Ae.ended&&(Ae.needReadable||Ae.length<Ae.highWaterMark||Ae.length===0)}ye.prototype.isPaused=function(){return this._readableState.flowing===!1},ye.prototype.setEncoding=function(Ae){return me||(me=E("string_decoder/").StringDecoder),this._readableState.decoder=new me(Ae),this._readableState.encoding=Ae,this};var _e=8388608;function Ee(Ae){return Ae>=_e?Ae=_e:(Ae--,Ae|=Ae>>>1,Ae|=Ae>>>2,Ae|=Ae>>>4,Ae|=Ae>>>8,Ae|=Ae>>>16,Ae++),Ae}function Me(Ae,ke){return Ae<=0||ke.length===0&&ke.ended?0:ke.objectMode?1:Ae!==Ae?ke.flowing&&ke.length?ke.buffer.head.data.length:ke.length:(Ae>ke.highWaterMark&&(ke.highWaterMark=Ee(Ae)),Ae<=ke.length?Ae:ke.ended?ke.length:(ke.needReadable=!0,0))}ye.prototype.read=function(Ae){z("read",Ae),Ae=parseInt(Ae,10);var ke=this._readableState,$e=Ae;if(Ae!==0&&(ke.emittedReadable=!1),Ae===0&&ke.needReadable&&(ke.length>=ke.highWaterMark||ke.ended))return z("read: emitReadable",ke.length,ke.ended),ke.length===0&&ke.ended?Ze(this):Be(this),null;if(Ae=Me(Ae,ke),Ae===0&&ke.ended)return ke.length===0&&Ze(this),null;var Ke=ke.needReadable;z("need readable",Ke),(ke.length===0||ke.length-Ae<ke.highWaterMark)&&(Ke=!0,z("length less than watermark",Ke)),ke.ended||ke.reading?(Ke=!1,z("reading or ended",Ke)):Ke&&(z("do read"),ke.reading=!0,ke.sync=!0,ke.length===0&&(ke.needReadable=!0),this._read(ke.highWaterMark),ke.sync=!1,ke.reading||(Ae=Me($e,ke)));var ze;return Ae>0?ze=qe(Ae,ke):ze=null,ze===null?(ke.needReadable=!0,Ae=0):ke.length-=Ae,ke.length===0&&(ke.ended||(ke.needReadable=!0),$e!==Ae&&ke.ended&&Ze(this)),ze!==null&&this.emit("data",ze),ze};function Ie(Ae,ke){if(!ke.ended){if(ke.decoder){var $e=ke.decoder.end();$e&&$e.length&&(ke.buffer.push($e),ke.length+=ke.objectMode?1:$e.length)}ke.ended=!0,Be(Ae)}}function Be(Ae){var ke=Ae._readableState;ke.needReadable=!1,ke.emittedReadable||(z("emitReadable",ke.flowing),ke.emittedReadable=!0,ke.sync?ie.nextTick(Re,Ae):Re(Ae))}function Re(Ae){z("emit readable"),Ae.emit("readable"),je(Ae)}function tt(Ae,ke){ke.readingMore||(ke.readingMore=!0,ie.nextTick(Ye,Ae,ke))}function Ye(Ae,ke){for(var $e=ke.length;!ke.reading&&!ke.flowing&&!ke.ended&&ke.length<ke.highWaterMark&&(z("maybeReadMore read 0"),Ae.read(0),$e!==ke.length);)$e=ke.length;ke.readingMore=!1}ye.prototype._read=function(Ae){this.emit("error",new Error("_read() is not implemented"))},ye.prototype.pipe=function(Ae,ke){var $e=this,Ke=this._readableState;switch(Ke.pipesCount){case 0:Ke.pipes=Ae;break;case 1:Ke.pipes=[Ke.pipes,Ae];break;default:Ke.pipes.push(Ae);break}Ke.pipesCount+=1,z("pipe count=%d opts=%j",Ke.pipesCount,ke);var ze=(!ke||ke.end!==!1)&&Ae!==se.stdout&&Ae!==se.stderr,Le=ze?Ne:at;Ke.endEmitted?ie.nextTick(Le):$e.once("end",Le),Ae.on("unpipe",Te);function Te(Tt,st){z("onunpipe"),Tt===$e&&st&&st.hasUnpiped===!1&&(st.hasUnpiped=!0,mt())}function Ne(){z("onend"),Ae.end()}var He=et($e);Ae.on("drain",He);var rt=!1;function mt(){z("cleanup"),Ae.removeListener("close",Et),Ae.removeListener("finish",Ot),Ae.removeListener("drain",He),Ae.removeListener("error",ut),Ae.removeListener("unpipe",Te),$e.removeListener("end",Ne),$e.removeListener("end",at),$e.removeListener("data",nt),rt=!0,Ke.awaitDrain&&(!Ae._writableState||Ae._writableState.needDrain)&&He()}var vt=!1;$e.on("data",nt);function nt(Tt){z("ondata"),vt=!1;var st=Ae.write(Tt);st===!1&&!vt&&((Ke.pipesCount===1&&Ke.pipes===Ae||Ke.pipesCount>1&&Ve(Ke.pipes,Ae)!==-1)&&!rt&&(z("false write response, pause",$e._readableState.awaitDrain),$e._readableState.awaitDrain++,vt=!0),$e.pause())}function ut(Tt){z("onerror",Tt),at(),Ae.removeListener("error",ut),oe(Ae,"error")===0&&Ae.emit("error",Tt)}pe(Ae,"error",ut);function Et(){Ae.removeListener("finish",Ot),at()}Ae.once("close",Et);function Ot(){z("onfinish"),Ae.removeListener("close",Et),at()}Ae.once("finish",Ot);function at(){z("unpipe"),$e.unpipe(Ae)}return Ae.emit("pipe",$e),Ke.flowing||(z("pipe resume"),$e.resume()),Ae};function et(Ae){return function(){var ke=Ae._readableState;z("pipeOnDrain",ke.awaitDrain),ke.awaitDrain&&ke.awaitDrain--,ke.awaitDrain===0&&oe(Ae,"data")&&(ke.flowing=!0,je(Ae))}}ye.prototype.unpipe=function(Ae){var ke=this._readableState,$e={hasUnpiped:!1};if(ke.pipesCount===0)return this;if(ke.pipesCount===1)return Ae&&Ae!==ke.pipes?this:(Ae||(Ae=ke.pipes),ke.pipes=null,ke.pipesCount=0,ke.flowing=!1,Ae&&Ae.emit("unpipe",this,$e),this);if(!Ae){var Ke=ke.pipes,ze=ke.pipesCount;ke.pipes=null,ke.pipesCount=0,ke.flowing=!1;for(var Le=0;Le<ze;Le++)Ke[Le].emit("unpipe",this,$e);return this}var Te=Ve(ke.pipes,Ae);return Te===-1?this:(ke.pipes.splice(Te,1),ke.pipesCount-=1,ke.pipesCount===1&&(ke.pipes=ke.pipes[0]),Ae.emit("unpipe",this,$e),this)},ye.prototype.on=function(Ae,ke){var $e=ne.prototype.on.call(this,Ae,ke);if(Ae==="data")this._readableState.flowing!==!1&&this.resume();else if(Ae==="readable"){var Ke=this._readableState;!Ke.endEmitted&&!Ke.readableListening&&(Ke.readableListening=Ke.needReadable=!0,Ke.emittedReadable=!1,Ke.reading?Ke.length&&Be(this):ie.nextTick(Xe,this))}return $e},ye.prototype.addListener=ye.prototype.on;function Xe(Ae){z("readable nexttick read 0"),Ae.read(0)}ye.prototype.resume=function(){var Ae=this._readableState;return Ae.flowing||(z("resume"),Ae.flowing=!0,Ge(this,Ae)),this};function Ge(Ae,ke){ke.resumeScheduled||(ke.resumeScheduled=!0,ie.nextTick(Fe,Ae,ke))}function Fe(Ae,ke){ke.reading||(z("resume read 0"),Ae.read(0)),ke.resumeScheduled=!1,ke.awaitDrain=0,Ae.emit("resume"),je(Ae),ke.flowing&&!ke.reading&&Ae.read(0)}ye.prototype.pause=function(){return z("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(z("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function je(Ae){var ke=Ae._readableState;for(z("flow",ke.flowing);ke.flowing&&Ae.read()!==null;);}ye.prototype.wrap=function(Ae){var ke=this,$e=this._readableState,Ke=!1;Ae.on("end",function(){if(z("wrapped end"),$e.decoder&&!$e.ended){var Te=$e.decoder.end();Te&&Te.length&&ke.push(Te)}ke.push(null)}),Ae.on("data",function(Te){if(z("wrapped data"),$e.decoder&&(Te=$e.decoder.write(Te)),!($e.objectMode&&Te==null)&&!(!$e.objectMode&&(!Te||!Te.length))){var Ne=ke.push(Te);Ne||(Ke=!0,Ae.pause())}});for(var ze in Ae)this[ze]===void 0&&typeof Ae[ze]=="function"&&(this[ze]=function(Te){return function(){return Ae[Te].apply(Ae,arguments)}}(ze));for(var Le=0;Le<he.length;Le++)Ae.on(he[Le],this.emit.bind(this,he[Le]));return this._read=function(Te){z("wrapped _read",Te),Ke&&(Ke=!1,Ae.resume())},this},Object.defineProperty(ye.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),ye._fromList=qe;function qe(Ae,ke){if(ke.length===0)return null;var $e;return ke.objectMode?$e=ke.buffer.shift():!Ae||Ae>=ke.length?(ke.decoder?$e=ke.buffer.join(""):ke.buffer.length===1?$e=ke.buffer.head.data:$e=ke.buffer.concat(ke.length),ke.buffer.clear()):$e=Je(Ae,ke.buffer,ke.decoder),$e}function Je(Ae,ke,$e){var Ke;return Ae<ke.head.data.length?(Ke=ke.head.data.slice(0,Ae),ke.head.data=ke.head.data.slice(Ae)):Ae===ke.head.data.length?Ke=ke.shift():Ke=$e?it(Ae,ke):Qe(Ae,ke),Ke}function it(Ae,ke){var $e=ke.head,Ke=1,ze=$e.data;for(Ae-=ze.length;$e=$e.next;){var Le=$e.data,Te=Ae>Le.length?Le.length:Ae;if(Te===Le.length?ze+=Le:ze+=Le.slice(0,Ae),Ae-=Te,Ae===0){Te===Le.length?(++Ke,$e.next?ke.head=$e.next:ke.head=ke.tail=null):(ke.head=$e,$e.data=Le.slice(Te));break}++Ke}return ke.length-=Ke,ze}function Qe(Ae,ke){var $e=ee.allocUnsafe(Ae),Ke=ke.head,ze=1;for(Ke.data.copy($e),Ae-=Ke.data.length;Ke=Ke.next;){var Le=Ke.data,Te=Ae>Le.length?Le.length:Ae;if(Le.copy($e,$e.length-Ae,0,Te),Ae-=Te,Ae===0){Te===Le.length?(++ze,Ke.next?ke.head=Ke.next:ke.head=ke.tail=null):(ke.head=Ke,Ke.data=Le.slice(Te));break}++ze}return ke.length-=ze,$e}function Ze(Ae){var ke=Ae._readableState;if(ke.length>0)throw new Error('"endReadable()" called on non-empty stream');ke.endEmitted||(ke.ended=!0,ie.nextTick(De,ke,Ae))}function De(Ae,ke){!Ae.endEmitted&&Ae.length===0&&(Ae.endEmitted=!0,ke.readable=!1,ke.emit("end"))}function Ve(Ae,ke){for(var $e=0,Ke=Ae.length;$e<Ke;$e++)if(Ae[$e]===ke)return $e;return-1}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":386,"./internal/streams/BufferList":391,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,events:344,inherits:364,isarray:370,"process-nextick-args":380,"safe-buffer":396,"string_decoder/":413,util:89}],389:[function(E,ve,de){"use strict";ve.exports=le;var se=E("./_stream_duplex"),re=Object.create(E("core-util-is"));re.inherits=E("inherits"),re.inherits(le,se);function ie(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 le(oe){if(!(this instanceof le))return new le(oe);se.call(this,oe),this._transformState={afterTransform:ie.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,oe&&(typeof oe.transform=="function"&&(this._transform=oe.transform),typeof oe.flush=="function"&&(this._flush=oe.flush)),this.on("prefinish",ce)}function ce(){var oe=this;typeof this._flush=="function"?this._flush(function(ne,ee){ae(oe,ne,ee)}):ae(this,null,null)}le.prototype.push=function(oe,ne){return this._transformState.needTransform=!1,se.prototype.push.call(this,oe,ne)},le.prototype._transform=function(oe,ne,ee){throw new Error("_transform() is not implemented")},le.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)}},le.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},le.prototype._destroy=function(oe,ne){var ee=this;se.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,ve,de){(function(se,re,ie){(function(){"use strict";var le=E("process-nextick-args");ve.exports=pe;function ce(Fe,je,qe){this.chunk=Fe,this.encoding=je,this.callback=qe,this.next=null}function ae(Fe){var je=this;this.next=null,this.entry=null,this.finish=function(){Ge(je,Fe)}}var oe=!se.browser&&["v0.10","v0.9."].indexOf(se.version.slice(0,5))>-1?ie:le.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 te(Fe){return x.from(Fe)}function z(Fe){return x.isBuffer(Fe)||Fe instanceof b}var ue=E("./internal/streams/destroy");ee.inherits(pe,y);function ge(){}function me(Fe,je){ne=ne||E("./_stream_duplex"),Fe=Fe||{};var qe=je instanceof ne;this.objectMode=!!Fe.objectMode,qe&&(this.objectMode=this.objectMode||!!Fe.writableObjectMode);var Je=Fe.highWaterMark,it=Fe.writableHighWaterMark,Qe=this.objectMode?16:16*1024;Je||Je===0?this.highWaterMark=Je:qe&&(it||it===0)?this.highWaterMark=it:this.highWaterMark=Qe,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 Ze=Fe.decodeStrings===!1;this.decodeStrings=!Ze,this.defaultEncoding=Fe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(De){Ee(je,De)},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,qe=[];je;)qe.push(je),je=je.next;return qe},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 he;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(he=Function.prototype[Symbol.hasInstance],Object.defineProperty(pe,Symbol.hasInstance,{value:function(Fe){return he.call(this,Fe)?!0:this!==pe?!1:Fe&&Fe._writableState instanceof me}})):he=function(Fe){return Fe instanceof this};function pe(Fe){if(ne=ne||E("./_stream_duplex"),!he.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 qe=new Error("write after end");Fe.emit("error",qe),le.nextTick(je,qe)}function ye(Fe,je,qe,Je){var it=!0,Qe=!1;return qe===null?Qe=new TypeError("May not write null values to stream"):typeof qe!="string"&&qe!==void 0&&!je.objectMode&&(Qe=new TypeError("Invalid non-string/buffer chunk")),Qe&&(Fe.emit("error",Qe),le.nextTick(Je,Qe),it=!1),it}pe.prototype.write=function(Fe,je,qe){var Je=this._writableState,it=!1,Qe=!Je.objectMode&&z(Fe);return Qe&&!x.isBuffer(Fe)&&(Fe=te(Fe)),typeof je=="function"&&(qe=je,je=null),Qe?je="buffer":je||(je=Je.defaultEncoding),typeof qe!="function"&&(qe=ge),Je.ended?be(this,qe):(Qe||ye(this,Je,Fe,qe))&&(Je.pendingcb++,it=we(this,Je,Qe,Fe,je,qe)),it},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&&Be(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 Pe(Fe,je,qe){return!Fe.objectMode&&Fe.decodeStrings!==!1&&typeof je=="string"&&(je=x.from(je,qe)),je}Object.defineProperty(pe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function we(Fe,je,qe,Je,it,Qe){if(!qe){var Ze=Pe(je,Je,it);Je!==Ze&&(qe=!0,it="buffer",Je=Ze)}var De=je.objectMode?1:Je.length;je.length+=De;var Ve=je.length<je.highWaterMark;if(Ve||(je.needDrain=!0),je.writing||je.corked){var Ae=je.lastBufferedRequest;je.lastBufferedRequest={chunk:Je,encoding:it,isBuf:qe,callback:Qe,next:null},Ae?Ae.next=je.lastBufferedRequest:je.bufferedRequest=je.lastBufferedRequest,je.bufferedRequestCount+=1}else Oe(Fe,je,!1,De,Je,it,Qe);return Ve}function Oe(Fe,je,qe,Je,it,Qe,Ze){je.writelen=Je,je.writecb=Ze,je.writing=!0,je.sync=!0,qe?Fe._writev(it,je.onwrite):Fe._write(it,Qe,je.onwrite),je.sync=!1}function Ce(Fe,je,qe,Je,it){--je.pendingcb,qe?(le.nextTick(it,Je),le.nextTick(et,Fe,je),Fe._writableState.errorEmitted=!0,Fe.emit("error",Je)):(it(Je),Fe._writableState.errorEmitted=!0,Fe.emit("error",Je),et(Fe,je))}function _e(Fe){Fe.writing=!1,Fe.writecb=null,Fe.length-=Fe.writelen,Fe.writelen=0}function Ee(Fe,je){var qe=Fe._writableState,Je=qe.sync,it=qe.writecb;if(_e(qe),je)Ce(Fe,qe,Je,je,it);else{var Qe=Re(qe);!Qe&&!qe.corked&&!qe.bufferProcessing&&qe.bufferedRequest&&Be(Fe,qe),Je?oe(Me,Fe,qe,Qe,it):Me(Fe,qe,Qe,it)}}function Me(Fe,je,qe,Je){qe||Ie(Fe,je),je.pendingcb--,Je(),et(Fe,je)}function Ie(Fe,je){je.length===0&&je.needDrain&&(je.needDrain=!1,Fe.emit("drain"))}function Be(Fe,je){je.bufferProcessing=!0;var qe=je.bufferedRequest;if(Fe._writev&&qe&&qe.next){var Je=je.bufferedRequestCount,it=new Array(Je),Qe=je.corkedRequestsFree;Qe.entry=qe;for(var Ze=0,De=!0;qe;)it[Ze]=qe,qe.isBuf||(De=!1),qe=qe.next,Ze+=1;it.allBuffers=De,Oe(Fe,je,!0,je.length,it,"",Qe.finish),je.pendingcb++,je.lastBufferedRequest=null,Qe.next?(je.corkedRequestsFree=Qe.next,Qe.next=null):je.corkedRequestsFree=new ae(je),je.bufferedRequestCount=0}else{for(;qe;){var Ve=qe.chunk,Ae=qe.encoding,ke=qe.callback,$e=je.objectMode?1:Ve.length;if(Oe(Fe,je,!1,$e,Ve,Ae,ke),qe=qe.next,je.bufferedRequestCount--,je.writing)break}qe===null&&(je.lastBufferedRequest=null)}je.bufferedRequest=qe,je.bufferProcessing=!1}pe.prototype._write=function(Fe,je,qe){qe(new Error("_write() is not implemented"))},pe.prototype._writev=null,pe.prototype.end=function(Fe,je,qe){var Je=this._writableState;typeof Fe=="function"?(qe=Fe,Fe=null,je=null):typeof je=="function"&&(qe=je,je=null),Fe!=null&&this.write(Fe,je),Je.corked&&(Je.corked=1,this.uncork()),!Je.ending&&!Je.finished&&Xe(this,Je,qe)};function Re(Fe){return Fe.ending&&Fe.length===0&&Fe.bufferedRequest===null&&!Fe.finished&&!Fe.writing}function tt(Fe,je){Fe._final(function(qe){je.pendingcb--,qe&&Fe.emit("error",qe),je.prefinished=!0,Fe.emit("prefinish"),et(Fe,je)})}function Ye(Fe,je){!je.prefinished&&!je.finalCalled&&(typeof Fe._final=="function"?(je.pendingcb++,je.finalCalled=!0,le.nextTick(tt,Fe,je)):(je.prefinished=!0,Fe.emit("prefinish")))}function et(Fe,je){var qe=Re(je);return qe&&(Ye(Fe,je),je.pendingcb===0&&(je.finished=!0,Fe.emit("finish"))),qe}function Xe(Fe,je,qe){je.ending=!0,et(Fe,je),qe&&(je.finished?le.nextTick(qe):Fe.once("finish",qe)),je.ended=!0,Fe.writable=!1}function Ge(Fe,je,qe){var Je=Fe.entry;for(Fe.entry=null;Je;){var it=Je.callback;je.pendingcb--,it(qe),Je=Je.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=ue.destroy,pe.prototype._undestroy=ue.undestroy,pe.prototype._destroy=function(Fe,je){this.end(),je(Fe)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("timers").setImmediate)},{"./_stream_duplex":386,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,inherits:364,"process-nextick-args":380,"safe-buffer":396,timers:414,"util-deprecate":416}],391:[function(E,ve,de){"use strict";function se(ce,ae){if(!(ce instanceof ae))throw new TypeError("Cannot call a class as a function")}var re=E("safe-buffer").Buffer,ie=E("util");function le(ce,ae,oe){ce.copy(ae,oe)}ve.exports=function(){function ce(){se(this,ce),this.head=null,this.tail=null,this.length=0}return ce.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},ce.prototype.unshift=function(oe){var ne={data:oe,next:this.head};this.length===0&&(this.tail=ne),this.head=ne,++this.length},ce.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}},ce.prototype.clear=function(){this.head=this.tail=null,this.length=0},ce.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},ce.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;)le(ee.data,ne,a),a+=ee.data.length,ee=ee.next;return ne},ce}(),ie&&ie.inspect&&ie.inspect.custom&&(ve.exports.prototype[ie.inspect.custom]=function(){var ce=ie.inspect({length:this.length});return this.constructor.name+" "+ce})},{"safe-buffer":396,util:89}],392:[function(E,ve,de){"use strict";var se=E("process-nextick-args");function re(ce,ae){var oe=this,ne=this._readableState&&this._readableState.destroyed,ee=this._writableState&&this._writableState.destroyed;return ne||ee?(ae?ae(ce):ce&&(!this._writableState||!this._writableState.errorEmitted)&&se.nextTick(le,this,ce),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ce||null,function(a){!ae&&a?(se.nextTick(le,oe,a),oe._writableState&&(oe._writableState.errorEmitted=!0)):ae&&ae(a)}),this)}function ie(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function le(ce,ae){ce.emit("error",ae)}ve.exports={destroy:re,undestroy:ie}},{"process-nextick-args":380}],393:[function(E,ve,de){ve.exports=E("events").EventEmitter},{events:344}],394:[function(E,ve,de){de=ve.exports=E("./lib/_stream_readable.js"),de.Stream=de,de.Readable=de,de.Writable=E("./lib/_stream_writable.js"),de.Duplex=E("./lib/_stream_duplex.js"),de.Transform=E("./lib/_stream_transform.js"),de.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,ve,de){var se=function(re){"use strict";var ie=Object.prototype,le=ie.hasOwnProperty,ce,ae=typeof Symbol=="function"?Symbol:{},oe=ae.iterator||"@@iterator",ne=ae.asyncIterator||"@@asyncIterator",ee=ae.toStringTag||"@@toStringTag";function a(Ye,et,Xe){return Object.defineProperty(Ye,et,{value:Xe,enumerable:!0,configurable:!0,writable:!0}),Ye[et]}try{a({},"")}catch(Ye){a=function(et,Xe,Ge){return et[Xe]=Ge}}function y(Ye,et,Xe,Ge){var Fe=et&&et.prototype instanceof me?et:me,je=Object.create(Fe.prototype),qe=new Be(Ge||[]);return je._invoke=_e(Ye,Xe,qe),je}re.wrap=y;function x(Ye,et,Xe){try{return{type:"normal",arg:Ye.call(et,Xe)}}catch(Ge){return{type:"throw",arg:Ge}}}var b="suspendedStart",te="suspendedYield",z="executing",ue="completed",ge={};function me(){}function he(){}function pe(){}var be={};a(be,oe,function(){return this});var ye=Object.getPrototypeOf,Pe=ye&&ye(ye(Re([])));Pe&&Pe!==ie&&le.call(Pe,oe)&&(be=Pe);var we=pe.prototype=me.prototype=Object.create(be);he.prototype=pe,a(we,"constructor",pe),a(pe,"constructor",he),he.displayName=a(pe,ee,"GeneratorFunction");function Oe(Ye){["next","throw","return"].forEach(function(et){a(Ye,et,function(Xe){return this._invoke(et,Xe)})})}re.isGeneratorFunction=function(Ye){var et=typeof Ye=="function"&&Ye.constructor;return et?et===he||(et.displayName||et.name)==="GeneratorFunction":!1},re.mark=function(Ye){return Object.setPrototypeOf?Object.setPrototypeOf(Ye,pe):(Ye.__proto__=pe,a(Ye,ee,"GeneratorFunction")),Ye.prototype=Object.create(we),Ye},re.awrap=function(Ye){return{__await:Ye}};function Ce(Ye,et){function Xe(je,qe,Je,it){var Qe=x(Ye[je],Ye,qe);if(Qe.type==="throw")it(Qe.arg);else{var Ze=Qe.arg,De=Ze.value;return De&&typeof De=="object"&&le.call(De,"__await")?et.resolve(De.__await).then(function(Ve){Xe("next",Ve,Je,it)},function(Ve){Xe("throw",Ve,Je,it)}):et.resolve(De).then(function(Ve){Ze.value=Ve,Je(Ze)},function(Ve){return Xe("throw",Ve,Je,it)})}}var Ge;function Fe(je,qe){function Je(){return new et(function(it,Qe){Xe(je,qe,it,Qe)})}return Ge=Ge?Ge.then(Je,Je):Je()}this._invoke=Fe}Oe(Ce.prototype),a(Ce.prototype,ne,function(){return this}),re.AsyncIterator=Ce,re.async=function(Ye,et,Xe,Ge,Fe){Fe===void 0&&(Fe=Promise);var je=new Ce(y(Ye,et,Xe,Ge),Fe);return re.isGeneratorFunction(et)?je:je.next().then(function(qe){return qe.done?qe.value:je.next()})};function _e(Ye,et,Xe){var Ge=b;return function(je,qe){if(Ge===z)throw new Error("Generator is already running");if(Ge===ue){if(je==="throw")throw qe;return tt()}for(Xe.method=je,Xe.arg=qe;;){var Je=Xe.delegate;if(Je){var it=Ee(Je,Xe);if(it){if(it===ge)continue;return it}}if(Xe.method==="next")Xe.sent=Xe._sent=Xe.arg;else if(Xe.method==="throw"){if(Ge===b)throw Ge=ue,Xe.arg;Xe.dispatchException(Xe.arg)}else Xe.method==="return"&&Xe.abrupt("return",Xe.arg);Ge=z;var Qe=x(Ye,et,Xe);if(Qe.type==="normal"){if(Ge=Xe.done?ue:te,Qe.arg===ge)continue;return{value:Qe.arg,done:Xe.done}}else Qe.type==="throw"&&(Ge=ue,Xe.method="throw",Xe.arg=Qe.arg)}}}function Ee(Ye,et){var Xe=Ye.iterator[et.method];if(Xe===ce){if(et.delegate=null,et.method==="throw"){if(Ye.iterator.return&&(et.method="return",et.arg=ce,Ee(Ye,et),et.method==="throw"))return ge;et.method="throw",et.arg=new TypeError("The iterator does not provide a 'throw' method")}return ge}var Ge=x(Xe,Ye.iterator,et.arg);if(Ge.type==="throw")return et.method="throw",et.arg=Ge.arg,et.delegate=null,ge;var Fe=Ge.arg;if(!Fe)return et.method="throw",et.arg=new TypeError("iterator result is not an object"),et.delegate=null,ge;if(Fe.done)et[Ye.resultName]=Fe.value,et.next=Ye.nextLoc,et.method!=="return"&&(et.method="next",et.arg=ce);else return Fe;return et.delegate=null,ge}Oe(we),a(we,ee,"Generator"),a(we,oe,function(){return this}),a(we,"toString",function(){return"[object Generator]"});function Me(Ye){var et={tryLoc:Ye[0]};1 in Ye&&(et.catchLoc=Ye[1]),2 in Ye&&(et.finallyLoc=Ye[2],et.afterLoc=Ye[3]),this.tryEntries.push(et)}function Ie(Ye){var et=Ye.completion||{};et.type="normal",delete et.arg,Ye.completion=et}function Be(Ye){this.tryEntries=[{tryLoc:"root"}],Ye.forEach(Me,this),this.reset(!0)}re.keys=function(Ye){var et=[];for(var Xe in Ye)et.push(Xe);return et.reverse(),function Ge(){for(;et.length;){var Fe=et.pop();if(Fe in Ye)return Ge.value=Fe,Ge.done=!1,Ge}return Ge.done=!0,Ge}};function Re(Ye){if(Ye){var et=Ye[oe];if(et)return et.call(Ye);if(typeof Ye.next=="function")return Ye;if(!isNaN(Ye.length)){var Xe=-1,Ge=function Fe(){for(;++Xe<Ye.length;)if(le.call(Ye,Xe))return Fe.value=Ye[Xe],Fe.done=!1,Fe;return Fe.value=ce,Fe.done=!0,Fe};return Ge.next=Ge}}return{next:tt}}re.values=Re;function tt(){return{value:ce,done:!0}}return Be.prototype={constructor:Be,reset:function(Ye){if(this.prev=0,this.next=0,this.sent=this._sent=ce,this.done=!1,this.delegate=null,this.method="next",this.arg=ce,this.tryEntries.forEach(Ie),!Ye)for(var et in this)et.charAt(0)==="t"&&le.call(this,et)&&!isNaN(+et.slice(1))&&(this[et]=ce)},stop:function(){this.done=!0;var Ye=this.tryEntries[0],et=Ye.completion;if(et.type==="throw")throw et.arg;return this.rval},dispatchException:function(Ye){if(this.done)throw Ye;var et=this;function Xe(it,Qe){return je.type="throw",je.arg=Ye,et.next=it,Qe&&(et.method="next",et.arg=ce),!!Qe}for(var Ge=this.tryEntries.length-1;Ge>=0;--Ge){var Fe=this.tryEntries[Ge],je=Fe.completion;if(Fe.tryLoc==="root")return Xe("end");if(Fe.tryLoc<=this.prev){var qe=le.call(Fe,"catchLoc"),Je=le.call(Fe,"finallyLoc");if(qe&&Je){if(this.prev<Fe.catchLoc)return Xe(Fe.catchLoc,!0);if(this.prev<Fe.finallyLoc)return Xe(Fe.finallyLoc)}else if(qe){if(this.prev<Fe.catchLoc)return Xe(Fe.catchLoc,!0)}else if(Je){if(this.prev<Fe.finallyLoc)return Xe(Fe.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(Ye,et){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var Ge=this.tryEntries[Xe];if(Ge.tryLoc<=this.prev&&le.call(Ge,"finallyLoc")&&this.prev<Ge.finallyLoc){var Fe=Ge;break}}Fe&&(Ye==="break"||Ye==="continue")&&Fe.tryLoc<=et&&et<=Fe.finallyLoc&&(Fe=null);var je=Fe?Fe.completion:{};return je.type=Ye,je.arg=et,Fe?(this.method="next",this.next=Fe.finallyLoc,ge):this.complete(je)},complete:function(Ye,et){if(Ye.type==="throw")throw Ye.arg;return Ye.type==="break"||Ye.type==="continue"?this.next=Ye.arg:Ye.type==="return"?(this.rval=this.arg=Ye.arg,this.method="return",this.next="end"):Ye.type==="normal"&&et&&(this.next=et),ge},finish:function(Ye){for(var et=this.tryEntries.length-1;et>=0;--et){var Xe=this.tryEntries[et];if(Xe.finallyLoc===Ye)return this.complete(Xe.completion,Xe.afterLoc),Ie(Xe),ge}},catch:function(Ye){for(var et=this.tryEntries.length-1;et>=0;--et){var Xe=this.tryEntries[et];if(Xe.tryLoc===Ye){var Ge=Xe.completion;if(Ge.type==="throw"){var Fe=Ge.arg;Ie(Xe)}return Fe}}throw new Error("illegal catch attempt")},delegateYield:function(Ye,et,Xe){return this.delegate={iterator:Re(Ye),resultName:et,nextLoc:Xe},this.method==="next"&&(this.arg=ce),ge}},re}(typeof ve=="object"?ve.exports:{});try{regeneratorRuntime=se}catch(re){typeof globalThis=="object"?globalThis.regeneratorRuntime=se:Function("r","regeneratorRuntime = r")(se)}},{}],396:[function(E,ve,de){var se=E("buffer"),re=se.Buffer;function ie(ce,ae){for(var oe in ce)ae[oe]=ce[oe]}re.from&&re.alloc&&re.allocUnsafe&&re.allocUnsafeSlow?ve.exports=se:(ie(se,de),de.Buffer=le);function le(ce,ae,oe){return re(ce,ae,oe)}ie(re,le),le.from=function(ce,ae,oe){if(typeof ce=="number")throw new TypeError("Argument must not be a number");return re(ce,ae,oe)},le.alloc=function(ce,ae,oe){if(typeof ce!="number")throw new TypeError("Argument must be a number");var ne=re(ce);return ae!==void 0?typeof oe=="string"?ne.fill(ae,oe):ne.fill(ae):ne.fill(0),ne},le.allocUnsafe=function(ce){if(typeof ce!="number")throw new TypeError("Argument must be a number");return re(ce)},le.allocUnsafeSlow=function(ce){if(typeof ce!="number")throw new TypeError("Argument must be a number");return se.SlowBuffer(ce)}},{buffer:90}],397:[function(E,ve,de){(function(se){(function(){(function(re){re.parser=function(Ze,De){return new le(Ze,De)},re.SAXParser=le,re.SAXStream=y,re.createStream=a,re.MAX_BUFFER_LENGTH=64*1024;var ie=["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 le(Ze,De){if(!(this instanceof le))return new le(Ze,De);var Ve=this;ae(Ve),Ve.q=Ve.c="",Ve.bufferCheckPosition=re.MAX_BUFFER_LENGTH,Ve.opt=De||{},Ve.opt.lowercase=Ve.opt.lowercase||Ve.opt.lowercasetags,Ve.looseCase=Ve.opt.lowercase?"toLowerCase":"toUpperCase",Ve.tags=[],Ve.closed=Ve.closedRoot=Ve.sawRoot=!1,Ve.tag=Ve.error=null,Ve.strict=!!Ze,Ve.noscript=!!(Ze||Ve.opt.noscript),Ve.state=Ce.BEGIN,Ve.strictEntities=Ve.opt.strictEntities,Ve.ENTITIES=Ve.strictEntities?Object.create(re.XML_ENTITIES):Object.create(re.ENTITIES),Ve.attribList=[],Ve.opt.xmlns&&(Ve.ns=Object.create(ue)),Ve.trackPosition=Ve.opt.position!==!1,Ve.trackPosition&&(Ve.position=Ve.line=Ve.column=0),Ee(Ve,"onready")}Object.create||(Object.create=function(Ze){function De(){}De.prototype=Ze;var Ve=new De;return Ve}),Object.keys||(Object.keys=function(Ze){var De=[];for(var Ve in Ze)Ze.hasOwnProperty(Ve)&&De.push(Ve);return De});function ce(Ze){for(var De=Math.max(re.MAX_BUFFER_LENGTH,10),Ve=0,Ae=0,ke=ie.length;Ae<ke;Ae++){var $e=Ze[ie[Ae]].length;if($e>De)switch(ie[Ae]){case"textNode":Ie(Ze);break;case"cdata":Me(Ze,"oncdata",Ze.cdata),Ze.cdata="";break;case"script":Me(Ze,"onscript",Ze.script),Ze.script="";break;default:Re(Ze,"Max buffer length exceeded: "+ie[Ae])}Ve=Math.max(Ve,$e)}var Ke=re.MAX_BUFFER_LENGTH-Ve;Ze.bufferCheckPosition=Ke+Ze.position}function ae(Ze){for(var De=0,Ve=ie.length;De<Ve;De++)Ze[ie[De]]=""}function oe(Ze){Ie(Ze),Ze.cdata!==""&&(Me(Ze,"oncdata",Ze.cdata),Ze.cdata=""),Ze.script!==""&&(Me(Ze,"onscript",Ze.script),Ze.script="")}le.prototype={end:function(){tt(this)},write:Qe,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(Ze){ne=function(){}}var ee=re.EVENTS.filter(function(Ze){return Ze!=="error"&&Ze!=="end"});function a(Ze,De){return new y(Ze,De)}function y(Ze,De){if(!(this instanceof y))return new y(Ze,De);ne.apply(this),this._parser=new le(Ze,De),this.writable=!0,this.readable=!0;var Ve=this;this._parser.onend=function(){Ve.emit("end")},this._parser.onerror=function(Ae){Ve.emit("error",Ae),Ve._parser.error=null},this._decoder=null,ee.forEach(function(Ae){Object.defineProperty(Ve,"on"+Ae,{get:function(){return Ve._parser["on"+Ae]},set:function(ke){if(!ke)return Ve.removeAllListeners(Ae),Ve._parser["on"+Ae]=ke,ke;Ve.on(Ae,ke)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(ne.prototype,{constructor:{value:y}}),y.prototype.write=function(Ze){if(typeof se=="function"&&typeof se.isBuffer=="function"&&se.isBuffer(Ze)){if(!this._decoder){var De=E("string_decoder").StringDecoder;this._decoder=new De("utf8")}Ze=this._decoder.write(Ze)}return this._parser.write(Ze.toString()),this.emit("data",Ze),!0},y.prototype.end=function(Ze){return Ze&&Ze.length&&this.write(Ze),this._parser.end(),!0},y.prototype.on=function(Ze,De){var Ve=this;return!Ve._parser["on"+Ze]&&ee.indexOf(Ze)!==-1&&(Ve._parser["on"+Ze]=function(){var Ae=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Ae.splice(0,0,Ze),Ve.emit.apply(Ve,Ae)}),ne.prototype.on.call(Ve,Ze,De)};var x="[CDATA[",b="DOCTYPE",te="http://www.w3.org/XML/1998/namespace",z="http://www.w3.org/2000/xmlns/",ue={xml:te,xmlns:z},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-]/,he=/[#:_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(Ze){return Ze===" "||Ze===`
|
|
|
`||Ze==="\r"||Ze===" "}function ye(Ze){return Ze==='"'||Ze==="'"}function Pe(Ze){return Ze===">"||be(Ze)}function we(Ze,De){return Ze.test(De)}function Oe(Ze,De){return!we(Ze,De)}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(Ze){var De=re.ENTITIES[Ze],Ve=typeof De=="number"?String.fromCharCode(De):De;re.ENTITIES[Ze]=Ve});for(var _e in re.STATE)re.STATE[re.STATE[_e]]=_e;Ce=re.STATE;function Ee(Ze,De,Ve){Ze[De]&&Ze[De](Ve)}function Me(Ze,De,Ve){Ze.textNode&&Ie(Ze),Ee(Ze,De,Ve)}function Ie(Ze){Ze.textNode=Be(Ze.opt,Ze.textNode),Ze.textNode&&Ee(Ze,"ontext",Ze.textNode),Ze.textNode=""}function Be(Ze,De){return Ze.trim&&(De=De.trim()),Ze.normalize&&(De=De.replace(/\s+/g," ")),De}function Re(Ze,De){return Ie(Ze),Ze.trackPosition&&(De+=`
|
|
|
Line: `+Ze.line+`
|
|
|
Column: `+Ze.column+`
|
|
|
Char: `+Ze.c),De=new Error(De),Ze.error=De,Ee(Ze,"onerror",De),Ze}function tt(Ze){return Ze.sawRoot&&!Ze.closedRoot&&Ye(Ze,"Unclosed root tag"),Ze.state!==Ce.BEGIN&&Ze.state!==Ce.BEGIN_WHITESPACE&&Ze.state!==Ce.TEXT&&Re(Ze,"Unexpected end"),Ie(Ze),Ze.c="",Ze.closed=!0,Ee(Ze,"onend"),le.call(Ze,Ze.strict,Ze.opt),Ze}function Ye(Ze,De){if(typeof Ze!="object"||!(Ze instanceof le))throw new Error("bad call to strictFail");Ze.strict&&Re(Ze,De)}function et(Ze){Ze.strict||(Ze.tagName=Ze.tagName[Ze.looseCase]());var De=Ze.tags[Ze.tags.length-1]||Ze,Ve=Ze.tag={name:Ze.tagName,attributes:{}};Ze.opt.xmlns&&(Ve.ns=De.ns),Ze.attribList.length=0,Me(Ze,"onopentagstart",Ve)}function Xe(Ze,De){var Ve=Ze.indexOf(":"),Ae=Ve<0?["",Ze]:Ze.split(":"),ke=Ae[0],$e=Ae[1];return De&&Ze==="xmlns"&&(ke="xmlns",$e=""),{prefix:ke,local:$e}}function Ge(Ze){if(Ze.strict||(Ze.attribName=Ze.attribName[Ze.looseCase]()),Ze.attribList.indexOf(Ze.attribName)!==-1||Ze.tag.attributes.hasOwnProperty(Ze.attribName)){Ze.attribName=Ze.attribValue="";return}if(Ze.opt.xmlns){var De=Xe(Ze.attribName,!0),Ve=De.prefix,Ae=De.local;if(Ve==="xmlns")if(Ae==="xml"&&Ze.attribValue!==te)Ye(Ze,"xml: prefix must be bound to "+te+`
|
|
|
Actual: `+Ze.attribValue);else if(Ae==="xmlns"&&Ze.attribValue!==z)Ye(Ze,"xmlns: prefix must be bound to "+z+`
|
|
|
Actual: `+Ze.attribValue);else{var ke=Ze.tag,$e=Ze.tags[Ze.tags.length-1]||Ze;ke.ns===$e.ns&&(ke.ns=Object.create($e.ns)),ke.ns[Ae]=Ze.attribValue}Ze.attribList.push([Ze.attribName,Ze.attribValue])}else Ze.tag.attributes[Ze.attribName]=Ze.attribValue,Me(Ze,"onattribute",{name:Ze.attribName,value:Ze.attribValue});Ze.attribName=Ze.attribValue=""}function Fe(Ze,De){if(Ze.opt.xmlns){var Ve=Ze.tag,Ae=Xe(Ze.tagName);Ve.prefix=Ae.prefix,Ve.local=Ae.local,Ve.uri=Ve.ns[Ae.prefix]||"",Ve.prefix&&!Ve.uri&&(Ye(Ze,"Unbound namespace prefix: "+JSON.stringify(Ze.tagName)),Ve.uri=Ae.prefix);var ke=Ze.tags[Ze.tags.length-1]||Ze;Ve.ns&&ke.ns!==Ve.ns&&Object.keys(Ve.ns).forEach(function(nt){Me(Ze,"onopennamespace",{prefix:nt,uri:Ve.ns[nt]})});for(var $e=0,Ke=Ze.attribList.length;$e<Ke;$e++){var ze=Ze.attribList[$e],Le=ze[0],Te=ze[1],Ne=Xe(Le,!0),He=Ne.prefix,rt=Ne.local,mt=He===""?"":Ve.ns[He]||"",vt={name:Le,value:Te,prefix:He,local:rt,uri:mt};He&&He!=="xmlns"&&!mt&&(Ye(Ze,"Unbound namespace prefix: "+JSON.stringify(He)),vt.uri=He),Ze.tag.attributes[Le]=vt,Me(Ze,"onattribute",vt)}Ze.attribList.length=0}Ze.tag.isSelfClosing=!!De,Ze.sawRoot=!0,Ze.tags.push(Ze.tag),Me(Ze,"onopentag",Ze.tag),De||(!Ze.noscript&&Ze.tagName.toLowerCase()==="script"?Ze.state=Ce.SCRIPT:Ze.state=Ce.TEXT,Ze.tag=null,Ze.tagName=""),Ze.attribName=Ze.attribValue="",Ze.attribList.length=0}function je(Ze){if(!Ze.tagName){Ye(Ze,"Weird empty close tag."),Ze.textNode+="</>",Ze.state=Ce.TEXT;return}if(Ze.script){if(Ze.tagName!=="script"){Ze.script+="</"+Ze.tagName+">",Ze.tagName="",Ze.state=Ce.SCRIPT;return}Me(Ze,"onscript",Ze.script),Ze.script=""}var De=Ze.tags.length,Ve=Ze.tagName;Ze.strict||(Ve=Ve[Ze.looseCase]());for(var Ae=Ve;De--;){var ke=Ze.tags[De];if(ke.name!==Ae)Ye(Ze,"Unexpected close tag");else break}if(De<0){Ye(Ze,"Unmatched closing tag: "+Ze.tagName),Ze.textNode+="</"+Ze.tagName+">",Ze.state=Ce.TEXT;return}Ze.tagName=Ve;for(var $e=Ze.tags.length;$e-- >De;){var Ke=Ze.tag=Ze.tags.pop();Ze.tagName=Ze.tag.name,Me(Ze,"onclosetag",Ze.tagName);var ze={};for(var Le in Ke.ns)ze[Le]=Ke.ns[Le];var Te=Ze.tags[Ze.tags.length-1]||Ze;Ze.opt.xmlns&&Ke.ns!==Te.ns&&Object.keys(Ke.ns).forEach(function(Ne){var He=Ke.ns[Ne];Me(Ze,"onclosenamespace",{prefix:Ne,uri:He})})}De===0&&(Ze.closedRoot=!0),Ze.tagName=Ze.attribValue=Ze.attribName="",Ze.attribList.length=0,Ze.state=Ce.TEXT}function qe(Ze){var De=Ze.entity,Ve=De.toLowerCase(),Ae,ke="";return Ze.ENTITIES[De]?Ze.ENTITIES[De]:Ze.ENTITIES[Ve]?Ze.ENTITIES[Ve]:(De=Ve,De.charAt(0)==="#"&&(De.charAt(1)==="x"?(De=De.slice(2),Ae=parseInt(De,16),ke=Ae.toString(16)):(De=De.slice(1),Ae=parseInt(De,10),ke=Ae.toString(10))),De=De.replace(/^0+/,""),isNaN(Ae)||ke.toLowerCase()!==De?(Ye(Ze,"Invalid character entity"),"&"+Ze.entity+";"):String.fromCodePoint(Ae))}function Je(Ze,De){De==="<"?(Ze.state=Ce.OPEN_WAKA,Ze.startTagPosition=Ze.position):be(De)||(Ye(Ze,"Non-whitespace before first tag."),Ze.textNode=De,Ze.state=Ce.TEXT)}function it(Ze,De){var Ve="";return De<Ze.length&&(Ve=Ze.charAt(De)),Ve}function Qe(Ze){var De=this;if(this.error)throw this.error;if(De.closed)return Re(De,"Cannot write after close. Assign an onready handler.");if(Ze===null)return tt(De);typeof Ze=="object"&&(Ze=Ze.toString());for(var Ve=0,Ae="";Ae=it(Ze,Ve++),De.c=Ae,!!Ae;)switch(De.trackPosition&&(De.position++,Ae===`
|
|
|
`?(De.line++,De.column=0):De.column++),De.state){case Ce.BEGIN:if(De.state=Ce.BEGIN_WHITESPACE,Ae==="\uFEFF")continue;Je(De,Ae);continue;case Ce.BEGIN_WHITESPACE:Je(De,Ae);continue;case Ce.TEXT:if(De.sawRoot&&!De.closedRoot){for(var ke=Ve-1;Ae&&Ae!=="<"&&Ae!=="&";)Ae=it(Ze,Ve++),Ae&&De.trackPosition&&(De.position++,Ae===`
|
|
|
`?(De.line++,De.column=0):De.column++);De.textNode+=Ze.substring(ke,Ve-1)}Ae==="<"&&!(De.sawRoot&&De.closedRoot&&!De.strict)?(De.state=Ce.OPEN_WAKA,De.startTagPosition=De.position):(!be(Ae)&&(!De.sawRoot||De.closedRoot)&&Ye(De,"Text data outside of root node."),Ae==="&"?De.state=Ce.TEXT_ENTITY:De.textNode+=Ae);continue;case Ce.SCRIPT:Ae==="<"?De.state=Ce.SCRIPT_ENDING:De.script+=Ae;continue;case Ce.SCRIPT_ENDING:Ae==="/"?De.state=Ce.CLOSE_TAG:(De.script+="<"+Ae,De.state=Ce.SCRIPT);continue;case Ce.OPEN_WAKA:if(Ae==="!")De.state=Ce.SGML_DECL,De.sgmlDecl="";else if(!be(Ae))if(we(ge,Ae))De.state=Ce.OPEN_TAG,De.tagName=Ae;else if(Ae==="/")De.state=Ce.CLOSE_TAG,De.tagName="";else if(Ae==="?")De.state=Ce.PROC_INST,De.procInstName=De.procInstBody="";else{if(Ye(De,"Unencoded <"),De.startTagPosition+1<De.position){var $e=De.position-De.startTagPosition;Ae=new Array($e).join(" ")+Ae}De.textNode+="<"+Ae,De.state=Ce.TEXT}continue;case Ce.SGML_DECL:(De.sgmlDecl+Ae).toUpperCase()===x?(Me(De,"onopencdata"),De.state=Ce.CDATA,De.sgmlDecl="",De.cdata=""):De.sgmlDecl+Ae==="--"?(De.state=Ce.COMMENT,De.comment="",De.sgmlDecl=""):(De.sgmlDecl+Ae).toUpperCase()===b?(De.state=Ce.DOCTYPE,(De.doctype||De.sawRoot)&&Ye(De,"Inappropriately located doctype declaration"),De.doctype="",De.sgmlDecl=""):Ae===">"?(Me(De,"onsgmldeclaration",De.sgmlDecl),De.sgmlDecl="",De.state=Ce.TEXT):(ye(Ae)&&(De.state=Ce.SGML_DECL_QUOTED),De.sgmlDecl+=Ae);continue;case Ce.SGML_DECL_QUOTED:Ae===De.q&&(De.state=Ce.SGML_DECL,De.q=""),De.sgmlDecl+=Ae;continue;case Ce.DOCTYPE:Ae===">"?(De.state=Ce.TEXT,Me(De,"ondoctype",De.doctype),De.doctype=!0):(De.doctype+=Ae,Ae==="["?De.state=Ce.DOCTYPE_DTD:ye(Ae)&&(De.state=Ce.DOCTYPE_QUOTED,De.q=Ae));continue;case Ce.DOCTYPE_QUOTED:De.doctype+=Ae,Ae===De.q&&(De.q="",De.state=Ce.DOCTYPE);continue;case Ce.DOCTYPE_DTD:De.doctype+=Ae,Ae==="]"?De.state=Ce.DOCTYPE:ye(Ae)&&(De.state=Ce.DOCTYPE_DTD_QUOTED,De.q=Ae);continue;case Ce.DOCTYPE_DTD_QUOTED:De.doctype+=Ae,Ae===De.q&&(De.state=Ce.DOCTYPE_DTD,De.q="");continue;case Ce.COMMENT:Ae==="-"?De.state=Ce.COMMENT_ENDING:De.comment+=Ae;continue;case Ce.COMMENT_ENDING:Ae==="-"?(De.state=Ce.COMMENT_ENDED,De.comment=Be(De.opt,De.comment),De.comment&&Me(De,"oncomment",De.comment),De.comment=""):(De.comment+="-"+Ae,De.state=Ce.COMMENT);continue;case Ce.COMMENT_ENDED:Ae!==">"?(Ye(De,"Malformed comment"),De.comment+="--"+Ae,De.state=Ce.COMMENT):De.state=Ce.TEXT;continue;case Ce.CDATA:Ae==="]"?De.state=Ce.CDATA_ENDING:De.cdata+=Ae;continue;case Ce.CDATA_ENDING:Ae==="]"?De.state=Ce.CDATA_ENDING_2:(De.cdata+="]"+Ae,De.state=Ce.CDATA);continue;case Ce.CDATA_ENDING_2:Ae===">"?(De.cdata&&Me(De,"oncdata",De.cdata),Me(De,"onclosecdata"),De.cdata="",De.state=Ce.TEXT):Ae==="]"?De.cdata+="]":(De.cdata+="]]"+Ae,De.state=Ce.CDATA);continue;case Ce.PROC_INST:Ae==="?"?De.state=Ce.PROC_INST_ENDING:be(Ae)?De.state=Ce.PROC_INST_BODY:De.procInstName+=Ae;continue;case Ce.PROC_INST_BODY:if(!De.procInstBody&&be(Ae))continue;Ae==="?"?De.state=Ce.PROC_INST_ENDING:De.procInstBody+=Ae;continue;case Ce.PROC_INST_ENDING:Ae===">"?(Me(De,"onprocessinginstruction",{name:De.procInstName,body:De.procInstBody}),De.procInstName=De.procInstBody="",De.state=Ce.TEXT):(De.procInstBody+="?"+Ae,De.state=Ce.PROC_INST_BODY);continue;case Ce.OPEN_TAG:we(me,Ae)?De.tagName+=Ae:(et(De),Ae===">"?Fe(De):Ae==="/"?De.state=Ce.OPEN_TAG_SLASH:(be(Ae)||Ye(De,"Invalid character in tag name"),De.state=Ce.ATTRIB));continue;case Ce.OPEN_TAG_SLASH:Ae===">"?(Fe(De,!0),je(De)):(Ye(De,"Forward-slash in opening tag not followed by >"),De.state=Ce.ATTRIB);continue;case Ce.ATTRIB:if(be(Ae))continue;Ae===">"?Fe(De):Ae==="/"?De.state=Ce.OPEN_TAG_SLASH:we(ge,Ae)?(De.attribName=Ae,De.attribValue="",De.state=Ce.ATTRIB_NAME):Ye(De,"Invalid attribute name");continue;case Ce.ATTRIB_NAME:Ae==="="?De.state=Ce.ATTRIB_VALUE:Ae===">"?(Ye(De,"Attribute without value"),De.attribValue=De.attribName,Ge(De),Fe(De)):be(Ae)?De.state=Ce.ATTRIB_NAME_SAW_WHITE:we(me,Ae)?De.attribName+=Ae:Ye(De,"Invalid attribute name");continue;case Ce.ATTRIB_NAME_SAW_WHITE:if(Ae==="=")De.state=Ce.ATTRIB_VALUE;else{if(be(Ae))continue;Ye(De,"Attribute without value"),De.tag.attributes[De.attribName]="",De.attribValue="",Me(De,"onattribute",{name:De.attribName,value:""}),De.attribName="",Ae===">"?Fe(De):we(ge,Ae)?(De.attribName=Ae,De.state=Ce.ATTRIB_NAME):(Ye(De,"Invalid attribute name"),De.state=Ce.ATTRIB)}continue;case Ce.ATTRIB_VALUE:if(be(Ae))continue;ye(Ae)?(De.q=Ae,De.state=Ce.ATTRIB_VALUE_QUOTED):(Ye(De,"Unquoted attribute value"),De.state=Ce.ATTRIB_VALUE_UNQUOTED,De.attribValue=Ae);continue;case Ce.ATTRIB_VALUE_QUOTED:if(Ae!==De.q){Ae==="&"?De.state=Ce.ATTRIB_VALUE_ENTITY_Q:De.attribValue+=Ae;continue}Ge(De),De.q="",De.state=Ce.ATTRIB_VALUE_CLOSED;continue;case Ce.ATTRIB_VALUE_CLOSED:be(Ae)?De.state=Ce.ATTRIB:Ae===">"?Fe(De):Ae==="/"?De.state=Ce.OPEN_TAG_SLASH:we(ge,Ae)?(Ye(De,"No whitespace between attributes"),De.attribName=Ae,De.attribValue="",De.state=Ce.ATTRIB_NAME):Ye(De,"Invalid attribute name");continue;case Ce.ATTRIB_VALUE_UNQUOTED:if(!Pe(Ae)){Ae==="&"?De.state=Ce.ATTRIB_VALUE_ENTITY_U:De.attribValue+=Ae;continue}Ge(De),Ae===">"?Fe(De):De.state=Ce.ATTRIB;continue;case Ce.CLOSE_TAG:if(De.tagName)Ae===">"?je(De):we(me,Ae)?De.tagName+=Ae:De.script?(De.script+="</"+De.tagName,De.tagName="",De.state=Ce.SCRIPT):(be(Ae)||Ye(De,"Invalid tagname in closing tag"),De.state=Ce.CLOSE_TAG_SAW_WHITE);else{if(be(Ae))continue;Oe(ge,Ae)?De.script?(De.script+="</"+Ae,De.state=Ce.SCRIPT):Ye(De,"Invalid tagname in closing tag."):De.tagName=Ae}continue;case Ce.CLOSE_TAG_SAW_WHITE:if(be(Ae))continue;Ae===">"?je(De):Ye(De,"Invalid characters in closing tag");continue;case Ce.TEXT_ENTITY:case Ce.ATTRIB_VALUE_ENTITY_Q:case Ce.ATTRIB_VALUE_ENTITY_U:var Ke,ze;switch(De.state){case Ce.TEXT_ENTITY:Ke=Ce.TEXT,ze="textNode";break;case Ce.ATTRIB_VALUE_ENTITY_Q:Ke=Ce.ATTRIB_VALUE_QUOTED,ze="attribValue";break;case Ce.ATTRIB_VALUE_ENTITY_U:Ke=Ce.ATTRIB_VALUE_UNQUOTED,ze="attribValue";break}Ae===";"?(De[ze]+=qe(De),De.entity="",De.state=Ke):we(De.entity.length?pe:he,Ae)?De.entity+=Ae:(Ye(De,"Invalid character in entity name"),De[ze]+="&"+De.entity+Ae,De.entity="",De.state=Ke);continue;default:throw new Error(De,"Unknown state: "+De.state)}return De.position>=De.bufferCheckPosition&&ce(De),De}String.fromCodePoint||function(){var Ze=String.fromCharCode,De=Math.floor,Ve=function(){var Ae=16384,ke=[],$e,Ke,ze=-1,Le=arguments.length;if(!Le)return"";for(var Te="";++ze<Le;){var Ne=Number(arguments[ze]);if(!isFinite(Ne)||Ne<0||Ne>1114111||De(Ne)!==Ne)throw RangeError("Invalid code point: "+Ne);Ne<=65535?ke.push(Ne):(Ne-=65536,$e=(Ne>>10)+55296,Ke=Ne%1024+56320,ke.push($e,Ke)),(ze+1===Le||ke.length>Ae)&&(Te+=Ze.apply(null,ke),ke.length=0)}return Te};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ve,configurable:!0,writable:!0}):String.fromCodePoint=Ve}()})(typeof de=="undefined"?this.sax={}:de)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,ve,de){ve.exports=ie;var se=E("events").EventEmitter,re=E("inherits");re(ie,se),ie.Readable=E("readable-stream/lib/_stream_readable.js"),ie.Writable=E("readable-stream/lib/_stream_writable.js"),ie.Duplex=E("readable-stream/lib/_stream_duplex.js"),ie.Transform=E("readable-stream/lib/_stream_transform.js"),ie.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ie.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ie.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ie.Stream=ie;function ie(){se.call(this)}ie.prototype.pipe=function(le,ce){var ae=this;function oe(te){le.writable&&le.write(te)===!1&&ae.pause&&ae.pause()}ae.on("data",oe);function ne(){ae.readable&&ae.resume&&ae.resume()}le.on("drain",ne),!le._isStdio&&(!ce||ce.end!==!1)&&(ae.on("end",a),ae.on("close",y));var ee=!1;function a(){ee||(ee=!0,le.end())}function y(){ee||(ee=!0,typeof le.destroy=="function"&&le.destroy())}function x(te){if(b(),se.listenerCount(this,"error")===0)throw te}ae.on("error",x),le.on("error",x);function b(){ae.removeListener("data",oe),le.removeListener("drain",ne),ae.removeListener("end",a),ae.removeListener("close",y),ae.removeListener("error",x),le.removeListener("error",x),ae.removeListener("end",b),ae.removeListener("close",b),le.removeListener("close",b)}return ae.on("end",b),ae.on("close",b),le.on("close",b),le.emit("pipe",ae),le}},{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,ve,de){"use strict";function se(ne,ee){ne.prototype=Object.create(ee.prototype),ne.prototype.constructor=ne,ne.__proto__=ee}var re={};function ie(ne,ee,a){a||(a=Error);function y(b,te,z){return typeof ee=="string"?ee:ee(b,te,z)}var x=function(b){se(te,b);function te(z,ue,ge){return b.call(this,y(z,ue,ge))||this}return te}(a);x.prototype.name=a.name,x.prototype.code=ne,re[ne]=x}function le(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 ce(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}ie("ERR_INVALID_OPT_VALUE",function(ne,ee){return'The value "'+ee+'" is invalid for option "'+ne+'"'},TypeError),ie("ERR_INVALID_ARG_TYPE",function(ne,ee,a){var y;typeof ee=="string"&&ce(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(le(ee,"type"));else{var b=oe(ne,".")?"property":"argument";x='The "'.concat(ne,'" ').concat(b," ").concat(y," ").concat(le(ee,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),ie("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ie("ERR_METHOD_NOT_IMPLEMENTED",function(ne){return"The "+ne+" method is not implemented"}),ie("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ie("ERR_STREAM_DESTROYED",function(ne){return"Cannot call "+ne+" after a stream was destroyed"}),ie("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ie("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ie("ERR_STREAM_WRITE_AFTER_END","write after end"),ie("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ie("ERR_UNKNOWN_ENCODING",function(ne){return"Unknown encoding: "+ne},TypeError),ie("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ve.exports.codes=re},{}],400:[function(E,ve,de){(function(se){(function(){"use strict";var re=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};ve.exports=ne;var ie=E("./_stream_readable"),le=E("./_stream_writable");E("inherits")(ne,ie);for(var ce=re(le.prototype),ae=0;ae<ce.length;ae++){var oe=ce[ae];ne.prototype[oe]||(ne.prototype[oe]=le.prototype[oe])}function ne(y){if(!(this instanceof ne))return new ne(y);ie.call(this,y),le.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||se.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,ve,de){"use strict";ve.exports=re;var se=E("./_stream_transform");E("inherits")(re,se);function re(ie){if(!(this instanceof re))return new re(ie);se.call(this,ie)}re.prototype._transform=function(ie,le,ce){ce(null,ie)}},{"./_stream_transform":403,inherits:364}],402:[function(E,ve,de){(function(se,re){(function(){"use strict";ve.exports=Me;var ie;Me.ReadableState=Ee;var le=E("events").EventEmitter,ce=function(Le,Te){return Le.listeners(Te).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"),te=E("./internal/streams/destroy"),z=E("./internal/streams/state"),ue=z.getHighWaterMark,ge=E("../errors").codes,me=ge.ERR_INVALID_ARG_TYPE,he=ge.ERR_STREAM_PUSH_AFTER_EOF,pe=ge.ERR_METHOD_NOT_IMPLEMENTED,be=ge.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ye,Pe,we;E("inherits")(Me,ae);var Oe=te.errorOrDestroy,Ce=["error","close","destroy","pause","resume"];function _e(ze,Le,Te){if(typeof ze.prependListener=="function")return ze.prependListener(Le,Te);!ze._events||!ze._events[Le]?ze.on(Le,Te):Array.isArray(ze._events[Le])?ze._events[Le].unshift(Te):ze._events[Le]=[Te,ze._events[Le]]}function Ee(ze,Le,Te){ie=ie||E("./_stream_duplex"),ze=ze||{},typeof Te!="boolean"&&(Te=Le instanceof ie),this.objectMode=!!ze.objectMode,Te&&(this.objectMode=this.objectMode||!!ze.readableObjectMode),this.highWaterMark=ue(this,ze,"readableHighWaterMark",Te),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=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 Me(ze){if(ie=ie||E("./_stream_duplex"),!(this instanceof Me))return new Me(ze);var Le=this instanceof ie;this._readableState=new Ee(ze,this,Le),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(Me.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Le){this._readableState&&(this._readableState.destroyed=Le)}}),Me.prototype.destroy=te.destroy,Me.prototype._undestroy=te.undestroy,Me.prototype._destroy=function(ze,Le){Le(ze)},Me.prototype.push=function(ze,Le){var Te=this._readableState,Ne;return Te.objectMode?Ne=!0:typeof ze=="string"&&(Le=Le||Te.defaultEncoding,Le!==Te.encoding&&(ze=oe.from(ze,Le),Le=""),Ne=!0),Ie(this,ze,Le,!1,Ne)},Me.prototype.unshift=function(ze){return Ie(this,ze,null,!0,!1)};function Ie(ze,Le,Te,Ne,He){x("readableAddChunk",Le);var rt=ze._readableState;if(Le===null)rt.reading=!1,Xe(ze,rt);else{var mt;if(He||(mt=Re(rt,Le)),mt)Oe(ze,mt);else if(rt.objectMode||Le&&Le.length>0)if(typeof Le!="string"&&!rt.objectMode&&Object.getPrototypeOf(Le)!==oe.prototype&&(Le=ee(Le)),Ne)rt.endEmitted?Oe(ze,new be):Be(ze,rt,Le,!0);else if(rt.ended)Oe(ze,new he);else{if(rt.destroyed)return!1;rt.reading=!1,rt.decoder&&!Te?(Le=rt.decoder.write(Le),rt.objectMode||Le.length!==0?Be(ze,rt,Le,!1):je(ze,rt)):Be(ze,rt,Le,!1)}else Ne||(rt.reading=!1,je(ze,rt))}return!rt.ended&&(rt.length<rt.highWaterMark||rt.length===0)}function Be(ze,Le,Te,Ne){Le.flowing&&Le.length===0&&!Le.sync?(Le.awaitDrain=0,ze.emit("data",Te)):(Le.length+=Le.objectMode?1:Te.length,Ne?Le.buffer.unshift(Te):Le.buffer.push(Te),Le.needReadable&&Ge(ze)),je(ze,Le)}function Re(ze,Le){var Te;return!a(Le)&&typeof Le!="string"&&Le!==void 0&&!ze.objectMode&&(Te=new me("chunk",["string","Buffer","Uint8Array"],Le)),Te}Me.prototype.isPaused=function(){return this._readableState.flowing===!1},Me.prototype.setEncoding=function(ze){ye||(ye=E("string_decoder/").StringDecoder);var Le=new ye(ze);this._readableState.decoder=Le,this._readableState.encoding=this._readableState.decoder.encoding;for(var Te=this._readableState.buffer.head,Ne="";Te!==null;)Ne+=Le.write(Te.data),Te=Te.next;return this._readableState.buffer.clear(),Ne!==""&&this._readableState.buffer.push(Ne),this._readableState.length=Ne.length,this};var tt=1073741824;function Ye(ze){return ze>=tt?ze=tt:(ze--,ze|=ze>>>1,ze|=ze>>>2,ze|=ze>>>4,ze|=ze>>>8,ze|=ze>>>16,ze++),ze}function et(ze,Le){return ze<=0||Le.length===0&&Le.ended?0:Le.objectMode?1:ze!==ze?Le.flowing&&Le.length?Le.buffer.head.data.length:Le.length:(ze>Le.highWaterMark&&(Le.highWaterMark=Ye(ze)),ze<=Le.length?ze:Le.ended?Le.length:(Le.needReadable=!0,0))}Me.prototype.read=function(ze){x("read",ze),ze=parseInt(ze,10);var Le=this._readableState,Te=ze;if(ze!==0&&(Le.emittedReadable=!1),ze===0&&Le.needReadable&&((Le.highWaterMark!==0?Le.length>=Le.highWaterMark:Le.length>0)||Le.ended))return x("read: emitReadable",Le.length,Le.ended),Le.length===0&&Le.ended?ke(this):Ge(this),null;if(ze=et(ze,Le),ze===0&&Le.ended)return Le.length===0&&ke(this),null;var Ne=Le.needReadable;x("need readable",Ne),(Le.length===0||Le.length-ze<Le.highWaterMark)&&(Ne=!0,x("length less than watermark",Ne)),Le.ended||Le.reading?(Ne=!1,x("reading or ended",Ne)):Ne&&(x("do read"),Le.reading=!0,Le.sync=!0,Le.length===0&&(Le.needReadable=!0),this._read(Le.highWaterMark),Le.sync=!1,Le.reading||(ze=et(Te,Le)));var He;return ze>0?He=Ae(ze,Le):He=null,He===null?(Le.needReadable=Le.length<=Le.highWaterMark,ze=0):(Le.length-=ze,Le.awaitDrain=0),Le.length===0&&(Le.ended||(Le.needReadable=!0),Te!==ze&&Le.ended&&ke(this)),He!==null&&this.emit("data",He),He};function Xe(ze,Le){if(x("onEofChunk"),!Le.ended){if(Le.decoder){var Te=Le.decoder.end();Te&&Te.length&&(Le.buffer.push(Te),Le.length+=Le.objectMode?1:Te.length)}Le.ended=!0,Le.sync?Ge(ze):(Le.needReadable=!1,Le.emittedReadable||(Le.emittedReadable=!0,Fe(ze)))}}function Ge(ze){var Le=ze._readableState;x("emitReadable",Le.needReadable,Le.emittedReadable),Le.needReadable=!1,Le.emittedReadable||(x("emitReadable",Le.flowing),Le.emittedReadable=!0,se.nextTick(Fe,ze))}function Fe(ze){var Le=ze._readableState;x("emitReadable_",Le.destroyed,Le.length,Le.ended),!Le.destroyed&&(Le.length||Le.ended)&&(ze.emit("readable"),Le.emittedReadable=!1),Le.needReadable=!Le.flowing&&!Le.ended&&Le.length<=Le.highWaterMark,Ve(ze)}function je(ze,Le){Le.readingMore||(Le.readingMore=!0,se.nextTick(qe,ze,Le))}function qe(ze,Le){for(;!Le.reading&&!Le.ended&&(Le.length<Le.highWaterMark||Le.flowing&&Le.length===0);){var Te=Le.length;if(x("maybeReadMore read 0"),ze.read(0),Te===Le.length)break}Le.readingMore=!1}Me.prototype._read=function(ze){Oe(this,new pe("_read()"))},Me.prototype.pipe=function(ze,Le){var Te=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,Le);var He=(!Le||Le.end!==!1)&&ze!==se.stdout&&ze!==se.stderr,rt=He?vt:pt;Ne.endEmitted?se.nextTick(rt):Te.once("end",rt),ze.on("unpipe",mt);function mt(Pt,wt){x("onunpipe"),Pt===Te&&wt&&wt.hasUnpiped===!1&&(wt.hasUnpiped=!0,Et())}function vt(){x("onend"),ze.end()}var nt=Je(Te);ze.on("drain",nt);var ut=!1;function Et(){x("cleanup"),ze.removeListener("close",Tt),ze.removeListener("finish",st),ze.removeListener("drain",nt),ze.removeListener("error",at),ze.removeListener("unpipe",mt),Te.removeListener("end",vt),Te.removeListener("end",pt),Te.removeListener("data",Ot),ut=!0,Ne.awaitDrain&&(!ze._writableState||ze._writableState.needDrain)&&nt()}Te.on("data",Ot);function Ot(Pt){x("ondata");var wt=ze.write(Pt);x("dest.write",wt),wt===!1&&((Ne.pipesCount===1&&Ne.pipes===ze||Ne.pipesCount>1&&Ke(Ne.pipes,ze)!==-1)&&!ut&&(x("false write response, pause",Ne.awaitDrain),Ne.awaitDrain++),Te.pause())}function at(Pt){x("onerror",Pt),pt(),ze.removeListener("error",at),ce(ze,"error")===0&&Oe(ze,Pt)}_e(ze,"error",at);function Tt(){ze.removeListener("finish",st),pt()}ze.once("close",Tt);function st(){x("onfinish"),ze.removeListener("close",Tt),pt()}ze.once("finish",st);function pt(){x("unpipe"),Te.unpipe(ze)}return ze.emit("pipe",Te),Ne.flowing||(x("pipe resume"),Te.resume()),ze};function Je(ze){return function(){var Te=ze._readableState;x("pipeOnDrain",Te.awaitDrain),Te.awaitDrain&&Te.awaitDrain--,Te.awaitDrain===0&&ce(ze,"data")&&(Te.flowing=!0,Ve(ze))}}Me.prototype.unpipe=function(ze){var Le=this._readableState,Te={hasUnpiped:!1};if(Le.pipesCount===0)return this;if(Le.pipesCount===1)return ze&&ze!==Le.pipes?this:(ze||(ze=Le.pipes),Le.pipes=null,Le.pipesCount=0,Le.flowing=!1,ze&&ze.emit("unpipe",this,Te),this);if(!ze){var Ne=Le.pipes,He=Le.pipesCount;Le.pipes=null,Le.pipesCount=0,Le.flowing=!1;for(var rt=0;rt<He;rt++)Ne[rt].emit("unpipe",this,{hasUnpiped:!1});return this}var mt=Ke(Le.pipes,ze);return mt===-1?this:(Le.pipes.splice(mt,1),Le.pipesCount-=1,Le.pipesCount===1&&(Le.pipes=Le.pipes[0]),ze.emit("unpipe",this,Te),this)},Me.prototype.on=function(ze,Le){var Te=ae.prototype.on.call(this,ze,Le),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?Ge(this):Ne.reading||se.nextTick(Qe,this)),Te},Me.prototype.addListener=Me.prototype.on,Me.prototype.removeListener=function(ze,Le){var Te=ae.prototype.removeListener.call(this,ze,Le);return ze==="readable"&&se.nextTick(it,this),Te},Me.prototype.removeAllListeners=function(ze){var Le=ae.prototype.removeAllListeners.apply(this,arguments);return(ze==="readable"||ze===void 0)&&se.nextTick(it,this),Le};function it(ze){var Le=ze._readableState;Le.readableListening=ze.listenerCount("readable")>0,Le.resumeScheduled&&!Le.paused?Le.flowing=!0:ze.listenerCount("data")>0&&ze.resume()}function Qe(ze){x("readable nexttick read 0"),ze.read(0)}Me.prototype.resume=function(){var ze=this._readableState;return ze.flowing||(x("resume"),ze.flowing=!ze.readableListening,Ze(this,ze)),ze.paused=!1,this};function Ze(ze,Le){Le.resumeScheduled||(Le.resumeScheduled=!0,se.nextTick(De,ze,Le))}function De(ze,Le){x("resume",Le.reading),Le.reading||ze.read(0),Le.resumeScheduled=!1,ze.emit("resume"),Ve(ze),Le.flowing&&!Le.reading&&ze.read(0)}Me.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 Ve(ze){var Le=ze._readableState;for(x("flow",Le.flowing);Le.flowing&&ze.read()!==null;);}Me.prototype.wrap=function(ze){var Le=this,Te=this._readableState,Ne=!1;ze.on("end",function(){if(x("wrapped end"),Te.decoder&&!Te.ended){var mt=Te.decoder.end();mt&&mt.length&&Le.push(mt)}Le.push(null)}),ze.on("data",function(mt){if(x("wrapped data"),Te.decoder&&(mt=Te.decoder.write(mt)),!(Te.objectMode&&mt==null)&&!(!Te.objectMode&&(!mt||!mt.length))){var vt=Le.push(mt);vt||(Ne=!0,ze.pause())}});for(var He in ze)this[He]===void 0&&typeof ze[He]=="function"&&(this[He]=function(vt){return function(){return ze[vt].apply(ze,arguments)}}(He));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"&&(Me.prototype[Symbol.asyncIterator]=function(){return Pe===void 0&&(Pe=E("./internal/streams/async_iterator")),Pe(this)}),Object.defineProperty(Me.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Me.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Me.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Le){this._readableState&&(this._readableState.flowing=Le)}}),Me._fromList=Ae,Object.defineProperty(Me.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ae(ze,Le){if(Le.length===0)return null;var Te;return Le.objectMode?Te=Le.buffer.shift():!ze||ze>=Le.length?(Le.decoder?Te=Le.buffer.join(""):Le.buffer.length===1?Te=Le.buffer.first():Te=Le.buffer.concat(Le.length),Le.buffer.clear()):Te=Le.buffer.consume(ze,Le.decoder),Te}function ke(ze){var Le=ze._readableState;x("endReadable",Le.endEmitted),Le.endEmitted||(Le.ended=!0,se.nextTick($e,Le,ze))}function $e(ze,Le){if(x("endReadableNT",ze.endEmitted,ze.length),!ze.endEmitted&&ze.length===0&&(ze.endEmitted=!0,Le.readable=!1,Le.emit("end"),ze.autoDestroy)){var Te=Le._writableState;(!Te||Te.autoDestroy&&Te.finished)&&Le.destroy()}}typeof Symbol=="function"&&(Me.from=function(ze,Le){return we===void 0&&(we=E("./internal/streams/from")),we(Me,ze,Le)});function Ke(ze,Le){for(var Te=0,Ne=ze.length;Te<Ne;Te++)if(ze[Te]===Le)return Te;return-1}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/async_iterator":405,"./internal/streams/buffer_list":406,"./internal/streams/destroy":407,"./internal/streams/from":409,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,events:344,inherits:364,"string_decoder/":413,util:89}],403:[function(E,ve,de){"use strict";ve.exports=ne;var se=E("../errors").codes,re=se.ERR_METHOD_NOT_IMPLEMENTED,ie=se.ERR_MULTIPLE_CALLBACK,le=se.ERR_TRANSFORM_ALREADY_TRANSFORMING,ce=se.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 te=b.writecb;if(te===null)return this.emit("error",new ie);b.writechunk=null,b.writecb=null,x!=null&&this.push(x),te(y);var z=this._readableState;z.reading=!1,(z.needReadable||z.length<z.highWaterMark)&&this._read(z.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 te=this._transformState;if(te.writecb=b,te.writechunk=y,te.writeencoding=x,!te.transforming){var z=this._readableState;(te.needTransform||z.needReadable||z.length<z.highWaterMark)&&this._read(z.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 ce;if(y._transformState.transforming)throw new le;return y.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(E,ve,de){(function(se,re){(function(){"use strict";ve.exports=Ee;function ie(Ve,Ae,ke){this.chunk=Ve,this.encoding=Ae,this.callback=ke,this.next=null}function le(Ve){var Ae=this;this.next=null,this.entry=null,this.finish=function(){De(Ae,Ve)}}var ce;Ee.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(Ve){return ne.from(Ve)}function y(Ve){return ne.isBuffer(Ve)||Ve instanceof ee}var x=E("./internal/streams/destroy"),b=E("./internal/streams/state"),te=b.getHighWaterMark,z=E("../errors").codes,ue=z.ERR_INVALID_ARG_TYPE,ge=z.ERR_METHOD_NOT_IMPLEMENTED,me=z.ERR_MULTIPLE_CALLBACK,he=z.ERR_STREAM_CANNOT_PIPE,pe=z.ERR_STREAM_DESTROYED,be=z.ERR_STREAM_NULL_VALUES,ye=z.ERR_STREAM_WRITE_AFTER_END,Pe=z.ERR_UNKNOWN_ENCODING,we=x.errorOrDestroy;E("inherits")(Ee,oe);function Oe(){}function Ce(Ve,Ae,ke){ce=ce||E("./_stream_duplex"),Ve=Ve||{},typeof ke!="boolean"&&(ke=Ae instanceof ce),this.objectMode=!!Ve.objectMode,ke&&(this.objectMode=this.objectMode||!!Ve.writableObjectMode),this.highWaterMark=te(this,Ve,"writableHighWaterMark",ke),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var $e=Ve.decodeStrings===!1;this.decodeStrings=!$e,this.defaultEncoding=Ve.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ke){Xe(Ae,Ke)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ve.emitClose!==!1,this.autoDestroy=!!Ve.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new le(this)}Ce.prototype.getBuffer=function(){for(var Ae=this.bufferedRequest,ke=[];Ae;)ke.push(Ae),Ae=Ae.next;return ke},function(){try{Object.defineProperty(Ce.prototype,"buffer",{get:ae.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ve){}}();var _e;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(_e=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ee,Symbol.hasInstance,{value:function(Ae){return _e.call(this,Ae)?!0:this!==Ee?!1:Ae&&Ae._writableState instanceof Ce}})):_e=function(Ae){return Ae instanceof this};function Ee(Ve){ce=ce||E("./_stream_duplex");var Ae=this instanceof ce;if(!Ae&&!_e.call(Ee,this))return new Ee(Ve);this._writableState=new Ce(Ve,this,Ae),this.writable=!0,Ve&&(typeof Ve.write=="function"&&(this._write=Ve.write),typeof Ve.writev=="function"&&(this._writev=Ve.writev),typeof Ve.destroy=="function"&&(this._destroy=Ve.destroy),typeof Ve.final=="function"&&(this._final=Ve.final)),oe.call(this)}Ee.prototype.pipe=function(){we(this,new he)};function Me(Ve,Ae){var ke=new ye;we(Ve,ke),se.nextTick(Ae,ke)}function Ie(Ve,Ae,ke,$e){var Ke;return ke===null?Ke=new be:typeof ke!="string"&&!Ae.objectMode&&(Ke=new ue("chunk",["string","Buffer"],ke)),Ke?(we(Ve,Ke),se.nextTick($e,Ke),!1):!0}Ee.prototype.write=function(Ve,Ae,ke){var $e=this._writableState,Ke=!1,ze=!$e.objectMode&&y(Ve);return ze&&!ne.isBuffer(Ve)&&(Ve=a(Ve)),typeof Ae=="function"&&(ke=Ae,Ae=null),ze?Ae="buffer":Ae||(Ae=$e.defaultEncoding),typeof ke!="function"&&(ke=Oe),$e.ending?Me(this,ke):(ze||Ie(this,$e,Ve,ke))&&($e.pendingcb++,Ke=Re(this,$e,ze,Ve,Ae,ke)),Ke},Ee.prototype.cork=function(){this._writableState.corked++},Ee.prototype.uncork=function(){var Ve=this._writableState;Ve.corked&&(Ve.corked--,!Ve.writing&&!Ve.corked&&!Ve.bufferProcessing&&Ve.bufferedRequest&&je(this,Ve))},Ee.prototype.setDefaultEncoding=function(Ae){if(typeof Ae=="string"&&(Ae=Ae.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ae+"").toLowerCase())>-1))throw new Pe(Ae);return this._writableState.defaultEncoding=Ae,this},Object.defineProperty(Ee.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Be(Ve,Ae,ke){return!Ve.objectMode&&Ve.decodeStrings!==!1&&typeof Ae=="string"&&(Ae=ne.from(Ae,ke)),Ae}Object.defineProperty(Ee.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Re(Ve,Ae,ke,$e,Ke,ze){if(!ke){var Le=Be(Ae,$e,Ke);$e!==Le&&(ke=!0,Ke="buffer",$e=Le)}var Te=Ae.objectMode?1:$e.length;Ae.length+=Te;var Ne=Ae.length<Ae.highWaterMark;if(Ne||(Ae.needDrain=!0),Ae.writing||Ae.corked){var He=Ae.lastBufferedRequest;Ae.lastBufferedRequest={chunk:$e,encoding:Ke,isBuf:ke,callback:ze,next:null},He?He.next=Ae.lastBufferedRequest:Ae.bufferedRequest=Ae.lastBufferedRequest,Ae.bufferedRequestCount+=1}else tt(Ve,Ae,!1,Te,$e,Ke,ze);return Ne}function tt(Ve,Ae,ke,$e,Ke,ze,Le){Ae.writelen=$e,Ae.writecb=Le,Ae.writing=!0,Ae.sync=!0,Ae.destroyed?Ae.onwrite(new pe("write")):ke?Ve._writev(Ke,Ae.onwrite):Ve._write(Ke,ze,Ae.onwrite),Ae.sync=!1}function Ye(Ve,Ae,ke,$e,Ke){--Ae.pendingcb,ke?(se.nextTick(Ke,$e),se.nextTick(Qe,Ve,Ae),Ve._writableState.errorEmitted=!0,we(Ve,$e)):(Ke($e),Ve._writableState.errorEmitted=!0,we(Ve,$e),Qe(Ve,Ae))}function et(Ve){Ve.writing=!1,Ve.writecb=null,Ve.length-=Ve.writelen,Ve.writelen=0}function Xe(Ve,Ae){var ke=Ve._writableState,$e=ke.sync,Ke=ke.writecb;if(typeof Ke!="function")throw new me;if(et(ke),Ae)Ye(Ve,ke,$e,Ae,Ke);else{var ze=qe(ke)||Ve.destroyed;!ze&&!ke.corked&&!ke.bufferProcessing&&ke.bufferedRequest&&je(Ve,ke),$e?se.nextTick(Ge,Ve,ke,ze,Ke):Ge(Ve,ke,ze,Ke)}}function Ge(Ve,Ae,ke,$e){ke||Fe(Ve,Ae),Ae.pendingcb--,$e(),Qe(Ve,Ae)}function Fe(Ve,Ae){Ae.length===0&&Ae.needDrain&&(Ae.needDrain=!1,Ve.emit("drain"))}function je(Ve,Ae){Ae.bufferProcessing=!0;var ke=Ae.bufferedRequest;if(Ve._writev&&ke&&ke.next){var $e=Ae.bufferedRequestCount,Ke=new Array($e),ze=Ae.corkedRequestsFree;ze.entry=ke;for(var Le=0,Te=!0;ke;)Ke[Le]=ke,ke.isBuf||(Te=!1),ke=ke.next,Le+=1;Ke.allBuffers=Te,tt(Ve,Ae,!0,Ae.length,Ke,"",ze.finish),Ae.pendingcb++,Ae.lastBufferedRequest=null,ze.next?(Ae.corkedRequestsFree=ze.next,ze.next=null):Ae.corkedRequestsFree=new le(Ae),Ae.bufferedRequestCount=0}else{for(;ke;){var Ne=ke.chunk,He=ke.encoding,rt=ke.callback,mt=Ae.objectMode?1:Ne.length;if(tt(Ve,Ae,!1,mt,Ne,He,rt),ke=ke.next,Ae.bufferedRequestCount--,Ae.writing)break}ke===null&&(Ae.lastBufferedRequest=null)}Ae.bufferedRequest=ke,Ae.bufferProcessing=!1}Ee.prototype._write=function(Ve,Ae,ke){ke(new ge("_write()"))},Ee.prototype._writev=null,Ee.prototype.end=function(Ve,Ae,ke){var $e=this._writableState;return typeof Ve=="function"?(ke=Ve,Ve=null,Ae=null):typeof Ae=="function"&&(ke=Ae,Ae=null),Ve!=null&&this.write(Ve,Ae),$e.corked&&($e.corked=1,this.uncork()),$e.ending||Ze(this,$e,ke),this},Object.defineProperty(Ee.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function qe(Ve){return Ve.ending&&Ve.length===0&&Ve.bufferedRequest===null&&!Ve.finished&&!Ve.writing}function Je(Ve,Ae){Ve._final(function(ke){Ae.pendingcb--,ke&&we(Ve,ke),Ae.prefinished=!0,Ve.emit("prefinish"),Qe(Ve,Ae)})}function it(Ve,Ae){!Ae.prefinished&&!Ae.finalCalled&&(typeof Ve._final=="function"&&!Ae.destroyed?(Ae.pendingcb++,Ae.finalCalled=!0,se.nextTick(Je,Ve,Ae)):(Ae.prefinished=!0,Ve.emit("prefinish")))}function Qe(Ve,Ae){var ke=qe(Ae);if(ke&&(it(Ve,Ae),Ae.pendingcb===0&&(Ae.finished=!0,Ve.emit("finish"),Ae.autoDestroy))){var $e=Ve._readableState;(!$e||$e.autoDestroy&&$e.endEmitted)&&Ve.destroy()}return ke}function Ze(Ve,Ae,ke){Ae.ending=!0,Qe(Ve,Ae),ke&&(Ae.finished?se.nextTick(ke):Ve.once("finish",ke)),Ae.ended=!0,Ve.writable=!1}function De(Ve,Ae,ke){var $e=Ve.entry;for(Ve.entry=null;$e;){var Ke=$e.callback;Ae.pendingcb--,Ke(ke),$e=$e.next}Ae.corkedRequestsFree.next=Ve}Object.defineProperty(Ee.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Ae){this._writableState&&(this._writableState.destroyed=Ae)}}),Ee.prototype.destroy=x.destroy,Ee.prototype._undestroy=x.undestroy,Ee.prototype._destroy=function(Ve,Ae){Ae(Ve)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/destroy":407,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,inherits:364,"util-deprecate":416}],405:[function(E,ve,de){(function(se){(function(){"use strict";var re;function ie(be,ye,Pe){return ye=le(ye),ye in be?Object.defineProperty(be,ye,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):be[ye]=Pe,be}function le(be){var ye=ce(be,"string");return typeof ye=="symbol"?ye:String(ye)}function ce(be,ye){if(typeof be!="object"||be===null)return be;var Pe=be[Symbol.toPrimitive];if(Pe!==void 0){var we=Pe.call(be,ye||"default");if(typeof we!="object")return we;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 te(be,ye){return{value:be,done:ye}}function z(be){var ye=be[oe];if(ye!==null){var Pe=be[b].read();Pe!==null&&(be[y]=null,be[oe]=null,be[ne]=null,ye(te(Pe,!1)))}}function ue(be){se.nextTick(z,be)}function ge(be,ye){return function(Pe,we){be.then(function(){if(ye[a]){Pe(te(void 0,!0));return}ye[x](Pe,we)},we)}}var me=Object.getPrototypeOf(function(){}),he=Object.setPrototypeOf((re={get stream(){return this[b]},next:function(){var ye=this,Pe=this[ee];if(Pe!==null)return Promise.reject(Pe);if(this[a])return Promise.resolve(te(void 0,!0));if(this[b].destroyed)return new Promise(function(_e,Ee){se.nextTick(function(){ye[ee]?Ee(ye[ee]):_e(te(void 0,!0))})});var we=this[y],Oe;if(we)Oe=new Promise(ge(we,this));else{var Ce=this[b].read();if(Ce!==null)return Promise.resolve(te(Ce,!1));Oe=new Promise(this[x])}return this[y]=Oe,Oe}},ie(re,Symbol.asyncIterator,function(){return this}),ie(re,"return",function(){var ye=this;return new Promise(function(Pe,we){ye[b].destroy(null,function(Oe){if(Oe){we(Oe);return}Pe(te(void 0,!0))})})}),re),me),pe=function(ye){var Pe,we=Object.create(he,(Pe={},ie(Pe,b,{value:ye,writable:!0}),ie(Pe,oe,{value:null,writable:!0}),ie(Pe,ne,{value:null,writable:!0}),ie(Pe,ee,{value:null,writable:!0}),ie(Pe,a,{value:ye._readableState.endEmitted,writable:!0}),ie(Pe,x,{value:function(Ce,_e){var Ee=we[b].read();Ee?(we[y]=null,we[oe]=null,we[ne]=null,Ce(te(Ee,!1))):(we[oe]=Ce,we[ne]=_e)},writable:!0}),Pe));return we[y]=null,ae(ye,function(Oe){if(Oe&&Oe.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Ce=we[ne];Ce!==null&&(we[y]=null,we[oe]=null,we[ne]=null,Ce(Oe)),we[ee]=Oe;return}var _e=we[oe];_e!==null&&(we[y]=null,we[oe]=null,we[ne]=null,_e(te(void 0,!0))),we[a]=!0}),ye.on("readable",ue.bind(null,we)),we};ve.exports=pe}).call(this)}).call(this,E("_process"))},{"./end-of-stream":408,_process:467}],406:[function(E,ve,de){"use strict";function se(z,ue){var ge=Object.keys(z);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(z);ue&&(me=me.filter(function(he){return Object.getOwnPropertyDescriptor(z,he).enumerable})),ge.push.apply(ge,me)}return ge}function re(z){for(var ue=1;ue<arguments.length;ue++){var ge=arguments[ue]!=null?arguments[ue]:{};ue%2?se(Object(ge),!0).forEach(function(me){ie(z,me,ge[me])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(ge)):se(Object(ge)).forEach(function(me){Object.defineProperty(z,me,Object.getOwnPropertyDescriptor(ge,me))})}return z}function ie(z,ue,ge){return ue=oe(ue),ue in z?Object.defineProperty(z,ue,{value:ge,enumerable:!0,configurable:!0,writable:!0}):z[ue]=ge,z}function le(z,ue){if(!(z instanceof ue))throw new TypeError("Cannot call a class as a function")}function ce(z,ue){for(var ge=0;ge<ue.length;ge++){var me=ue[ge];me.enumerable=me.enumerable||!1,me.configurable=!0,"value"in me&&(me.writable=!0),Object.defineProperty(z,oe(me.key),me)}}function ae(z,ue,ge){return ue&&ce(z.prototype,ue),ge&&ce(z,ge),Object.defineProperty(z,"prototype",{writable:!1}),z}function oe(z){var ue=ne(z,"string");return typeof ue=="symbol"?ue:String(ue)}function ne(z,ue){if(typeof z!="object"||z===null)return z;var ge=z[Symbol.toPrimitive];if(ge!==void 0){var me=ge.call(z,ue||"default");if(typeof me!="object")return me;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ue==="string"?String:Number)(z)}var ee=E("buffer"),a=ee.Buffer,y=E("util"),x=y.inspect,b=x&&x.custom||"inspect";function te(z,ue,ge){a.prototype.copy.call(z,ue,ge)}ve.exports=function(){function z(){le(this,z),this.head=null,this.tail=null,this.length=0}return ae(z,[{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,he=""+me.data;me=me.next;)he+=ge+me.data;return he}},{key:"concat",value:function(ge){if(this.length===0)return a.alloc(0);for(var me=a.allocUnsafe(ge>>>0),he=this.head,pe=0;he;)te(he.data,me,pe),pe+=he.data.length,he=he.next;return me}},{key:"consume",value:function(ge,me){var he;return ge<this.head.data.length?(he=this.head.data.slice(0,ge),this.head.data=this.head.data.slice(ge)):ge===this.head.data.length?he=this.shift():he=me?this._getString(ge):this._getBuffer(ge),he}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(ge){var me=this.head,he=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?(++he,me.next?this.head=me.next:this.head=this.tail=null):(this.head=me,me.data=be.slice(ye));break}++he}return this.length-=he,pe}},{key:"_getBuffer",value:function(ge){var me=a.allocUnsafe(ge),he=this.head,pe=1;for(he.data.copy(me),ge-=he.data.length;he=he.next;){var be=he.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,he.next?this.head=he.next:this.head=this.tail=null):(this.head=he,he.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}))}}]),z}()},{buffer:90,util:89}],407:[function(E,ve,de){(function(se){(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,se.nextTick(ae,this,ne)):se.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?se.nextTick(le,a):(a._writableState.errorEmitted=!0,se.nextTick(ie,a,b)):se.nextTick(ie,a,b):ee?(se.nextTick(le,a),ee(b)):se.nextTick(le,a)}),this)}function ie(ne,ee){ae(ne,ee),le(ne)}function le(ne){ne._writableState&&!ne._writableState.emitClose||ne._readableState&&!ne._readableState.emitClose||ne.emit("close")}function ce(){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)}ve.exports={destroy:re,undestroy:ce,errorOrDestroy:oe}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,ve,de){"use strict";var se=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 ie(){}function le(ae){return ae.setHeader&&typeof ae.abort=="function"}function ce(ae,oe,ne){if(typeof oe=="function")return ce(ae,null,oe);oe||(oe={}),ne=re(ne||ie);var ee=oe.readable||oe.readable!==!1&&ae.readable,a=oe.writable||oe.writable!==!1&&ae.writable,y=function(){ae.writable||b()},x=ae._writableState&&ae._writableState.finished,b=function(){a=!1,x=!0,ee||ne.call(ae)},te=ae._readableState&&ae._readableState.endEmitted,z=function(){ee=!1,te=!0,a||ne.call(ae)},ue=function(pe){ne.call(ae,pe)},ge=function(){var pe;if(ee&&!te)return(!ae._readableState||!ae._readableState.ended)&&(pe=new se),ne.call(ae,pe);if(a&&!x)return(!ae._writableState||!ae._writableState.ended)&&(pe=new se),ne.call(ae,pe)},me=function(){ae.req.on("finish",b)};return le(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",z),ae.on("finish",b),oe.error!==!1&&ae.on("error",ue),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",z),ae.removeListener("error",ue),ae.removeListener("close",ge)}}ve.exports=ce},{"../../../errors":399}],409:[function(E,ve,de){ve.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(E,ve,de){"use strict";var se;function re(b){var te=!1;return function(){te||(te=!0,b.apply(void 0,arguments))}}var ie=E("../../../errors").codes,le=ie.ERR_MISSING_ARGS,ce=ie.ERR_STREAM_DESTROYED;function ae(b){if(b)throw b}function oe(b){return b.setHeader&&typeof b.abort=="function"}function ne(b,te,z,ue){ue=re(ue);var ge=!1;b.on("close",function(){ge=!0}),se===void 0&&(se=E("./end-of-stream")),se(b,{readable:te,writable:z},function(he){if(he)return ue(he);ge=!0,ue()});var me=!1;return function(he){if(!ge&&!me){if(me=!0,oe(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();ue(he||new ce("pipe"))}}}function ee(b){b()}function a(b,te){return b.pipe(te)}function y(b){return!b.length||typeof b[b.length-1]!="function"?ae:b.pop()}function x(){for(var b=arguments.length,te=new Array(b),z=0;z<b;z++)te[z]=arguments[z];var ue=y(te);if(Array.isArray(te[0])&&(te=te[0]),te.length<2)throw new le("streams");var ge,me=te.map(function(he,pe){var be=pe<te.length-1,ye=pe>0;return ne(he,be,ye,function(Pe){ge||(ge=Pe),Pe&&me.forEach(ee),!be&&(me.forEach(ee),ue(ge))})});return te.reduce(a)}ve.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,ve,de){"use strict";var se=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function re(le,ce,ae){return le.highWaterMark!=null?le.highWaterMark:ce?le[ae]:null}function ie(le,ce,ae,oe){var ne=re(ce,oe,ae);if(ne!=null){if(!(isFinite(ne)&&Math.floor(ne)===ne)||ne<0){var ee=oe?ae:"highWaterMark";throw new se(ee,ne)}return Math.floor(ne)}return le.objectMode?16:16*1024}ve.exports={getHighWaterMark:ie}},{"../../../errors":399}],412:[function(E,ve,de){arguments[4][393][0].apply(de,arguments)},{dup:393,events:344}],413:[function(E,ve,de){"use strict";var se=E("safe-buffer").Buffer,re=se.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 ie(me){if(!me)return"utf8";for(var he;;)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(he)return;me=(""+me).toLowerCase(),he=!0}}function le(me){var he=ie(me);if(typeof he!="string"&&(se.isEncoding===re||!re(me)))throw new Error("Unknown encoding: "+me);return he||me}de.StringDecoder=ce;function ce(me){this.encoding=le(me);var he;switch(this.encoding){case"utf16le":this.text=x,this.end=b,he=4;break;case"utf8":this.fillLast=ee,he=4;break;case"base64":this.text=te,this.end=z,he=3;break;default:this.write=ue,this.end=ge;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=se.allocUnsafe(he)}ce.prototype.write=function(me){if(me.length===0)return"";var he,pe;if(this.lastNeed){if(he=this.fillLast(me),he===void 0)return"";pe=this.lastNeed,this.lastNeed=0}else pe=0;return pe<me.length?he?he+this.text(me,pe):this.text(me,pe):he||""},ce.prototype.end=y,ce.prototype.text=a,ce.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,he,pe){var be=he.length-1;if(be<pe)return 0;var ye=ae(he[be]);return ye>=0?(ye>0&&(me.lastNeed=ye-1),ye):--be<pe||ye===-2?0:(ye=ae(he[be]),ye>=0?(ye>0&&(me.lastNeed=ye-2),ye):--be<pe||ye===-2?0:(ye=ae(he[be]),ye>=0?(ye>0&&(ye===2?ye=0:me.lastNeed=ye-3),ye):0))}function ne(me,he,pe){if((he[0]&192)!==128)return me.lastNeed=0,"\uFFFD";if(me.lastNeed>1&&he.length>1){if((he[1]&192)!==128)return me.lastNeed=1,"\uFFFD";if(me.lastNeed>2&&he.length>2&&(he[2]&192)!==128)return me.lastNeed=2,"\uFFFD"}}function ee(me){var he=this.lastTotal-this.lastNeed,pe=ne(this,me,he);if(pe!==void 0)return pe;if(this.lastNeed<=me.length)return me.copy(this.lastChar,he,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);me.copy(this.lastChar,he,0,me.length),this.lastNeed-=me.length}function a(me,he){var pe=oe(this,me,he);if(!this.lastNeed)return me.toString("utf8",he);this.lastTotal=pe;var be=me.length-(pe-this.lastNeed);return me.copy(this.lastChar,0,be),me.toString("utf8",he,be)}function y(me){var he=me&&me.length?this.write(me):"";return this.lastNeed?he+"\uFFFD":he}function x(me,he){if((me.length-he)%2===0){var pe=me.toString("utf16le",he);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",he,me.length-1)}function b(me){var he=me&&me.length?this.write(me):"";if(this.lastNeed){var pe=this.lastTotal-this.lastNeed;return he+this.lastChar.toString("utf16le",0,pe)}return he}function te(me,he){var pe=(me.length-he)%3;return pe===0?me.toString("base64",he):(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",he,me.length-pe))}function z(me){var he=me&&me.length?this.write(me):"";return this.lastNeed?he+this.lastChar.toString("base64",0,3-this.lastNeed):he}function ue(me){return me.toString(this.encoding)}function ge(me){return me&&me.length?this.write(me):""}},{"safe-buffer":396}],414:[function(E,ve,de){(function(se,re){(function(){var ie=E("process/browser.js").nextTick,le=Function.prototype.apply,ce=Array.prototype.slice,ae={},oe=0;de.setTimeout=function(){return new ne(le.call(setTimeout,window,arguments),clearTimeout)},de.setInterval=function(){return new ne(le.call(setInterval,window,arguments),clearInterval)},de.clearTimeout=de.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)},de.enroll=function(ee,a){clearTimeout(ee._idleTimeoutId),ee._idleTimeout=a},de.unenroll=function(ee){clearTimeout(ee._idleTimeoutId),ee._idleTimeout=-1},de._unrefActive=de.active=function(ee){clearTimeout(ee._idleTimeoutId);var a=ee._idleTimeout;a>=0&&(ee._idleTimeoutId=setTimeout(function(){ee._onTimeout&&ee._onTimeout()},a))},de.setImmediate=typeof se=="function"?se:function(ee){var a=oe++,y=arguments.length<2?!1:ce.call(arguments,1);return ae[a]=!0,ie(function(){ae[a]&&(y?ee.apply(null,y):ee.call(null),de.clearImmediate(a))}),a},de.clearImmediate=typeof 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,ve,de){var se=E("buffer").Buffer;ve.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(se.isBuffer(re)){for(var ie=new Uint8Array(re.length),le=re.length,ce=0;ce<le;ce++)ie[ce]=re[ce];return ie.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,ve,de){(function(se){(function(){ve.exports=re;function re(le,ce){if(ie("noDeprecation"))return le;var ae=!1;function oe(){if(!ae){if(ie("throwDeprecation"))throw new Error(ce);ie("traceDeprecation")?console.trace(ce):console.warn(ce),ae=!0}return le.apply(this,arguments)}return oe}function ie(le){try{if(!se.localStorage)return!1}catch(ae){return!1}var ce=se.localStorage[le];return ce==null?!1:String(ce).toLowerCase()==="true"}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(E,ve,de){arguments[4][84][0].apply(de,arguments)},{dup:84}],418:[function(E,ve,de){"use strict";var se=E("is-arguments"),re=E("is-generator-function"),ie=E("which-typed-array"),le=E("is-typed-array");function ce(He){return He.call.bind(He)}var ae=typeof BigInt!="undefined",oe=typeof Symbol!="undefined",ne=ce(Object.prototype.toString),ee=ce(Number.prototype.valueOf),a=ce(String.prototype.valueOf),y=ce(Boolean.prototype.valueOf);if(ae)var x=ce(BigInt.prototype.valueOf);if(oe)var b=ce(Symbol.prototype.valueOf);function te(He,rt){if(typeof He!="object")return!1;try{return rt(He),!0}catch(mt){return!1}}de.isArgumentsObject=se,de.isGeneratorFunction=re,de.isTypedArray=le;function z(He){return typeof Promise!="undefined"&&He instanceof Promise||He!==null&&typeof He=="object"&&typeof He.then=="function"&&typeof He.catch=="function"}de.isPromise=z;function ue(He){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(He):le(He)||je(He)}de.isArrayBufferView=ue;function ge(He){return ie(He)==="Uint8Array"}de.isUint8Array=ge;function me(He){return ie(He)==="Uint8ClampedArray"}de.isUint8ClampedArray=me;function he(He){return ie(He)==="Uint16Array"}de.isUint16Array=he;function pe(He){return ie(He)==="Uint32Array"}de.isUint32Array=pe;function be(He){return ie(He)==="Int8Array"}de.isInt8Array=be;function ye(He){return ie(He)==="Int16Array"}de.isInt16Array=ye;function Pe(He){return ie(He)==="Int32Array"}de.isInt32Array=Pe;function we(He){return ie(He)==="Float32Array"}de.isFloat32Array=we;function Oe(He){return ie(He)==="Float64Array"}de.isFloat64Array=Oe;function Ce(He){return ie(He)==="BigInt64Array"}de.isBigInt64Array=Ce;function _e(He){return ie(He)==="BigUint64Array"}de.isBigUint64Array=_e;function Ee(He){return ne(He)==="[object Map]"}Ee.working=typeof Map!="undefined"&&Ee(new Map);function Me(He){return typeof Map=="undefined"?!1:Ee.working?Ee(He):He instanceof Map}de.isMap=Me;function Ie(He){return ne(He)==="[object Set]"}Ie.working=typeof Set!="undefined"&&Ie(new Set);function Be(He){return typeof Set=="undefined"?!1:Ie.working?Ie(He):He instanceof Set}de.isSet=Be;function Re(He){return ne(He)==="[object WeakMap]"}Re.working=typeof WeakMap!="undefined"&&Re(new WeakMap);function tt(He){return typeof WeakMap=="undefined"?!1:Re.working?Re(He):He instanceof WeakMap}de.isWeakMap=tt;function Ye(He){return ne(He)==="[object WeakSet]"}Ye.working=typeof WeakSet!="undefined"&&Ye(new WeakSet);function et(He){return Ye(He)}de.isWeakSet=et;function Xe(He){return ne(He)==="[object ArrayBuffer]"}Xe.working=typeof ArrayBuffer!="undefined"&&Xe(new ArrayBuffer);function Ge(He){return typeof ArrayBuffer=="undefined"?!1:Xe.working?Xe(He):He instanceof ArrayBuffer}de.isArrayBuffer=Ge;function Fe(He){return ne(He)==="[object DataView]"}Fe.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&Fe(new DataView(new ArrayBuffer(1),0,1));function je(He){return typeof DataView=="undefined"?!1:Fe.working?Fe(He):He instanceof DataView}de.isDataView=je;var qe=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function Je(He){return ne(He)==="[object SharedArrayBuffer]"}function it(He){return typeof qe=="undefined"?!1:(typeof Je.working=="undefined"&&(Je.working=Je(new qe)),Je.working?Je(He):He instanceof qe)}de.isSharedArrayBuffer=it;function Qe(He){return ne(He)==="[object AsyncFunction]"}de.isAsyncFunction=Qe;function Ze(He){return ne(He)==="[object Map Iterator]"}de.isMapIterator=Ze;function De(He){return ne(He)==="[object Set Iterator]"}de.isSetIterator=De;function Ve(He){return ne(He)==="[object Generator]"}de.isGeneratorObject=Ve;function Ae(He){return ne(He)==="[object WebAssembly.Module]"}de.isWebAssemblyCompiledModule=Ae;function ke(He){return te(He,ee)}de.isNumberObject=ke;function $e(He){return te(He,a)}de.isStringObject=$e;function Ke(He){return te(He,y)}de.isBooleanObject=Ke;function ze(He){return ae&&te(He,x)}de.isBigIntObject=ze;function Le(He){return oe&&te(He,b)}de.isSymbolObject=Le;function Te(He){return ke(He)||$e(He)||Ke(He)||ze(He)||Le(He)}de.isBoxedPrimitive=Te;function Ne(He){return typeof Uint8Array!="undefined"&&(Ge(He)||it(He))}de.isAnyArrayBuffer=Ne,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(He){Object.defineProperty(de,He,{enumerable:!1,value:function(){throw new Error(He+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,ve,de){(function(se){(function(){var re=Object.getOwnPropertyDescriptors||function(qe){for(var Je=Object.keys(qe),it={},Qe=0;Qe<Je.length;Qe++)it[Je[Qe]]=Object.getOwnPropertyDescriptor(qe,Je[Qe]);return it},ie=/%[sdj%]/g;de.format=function(je){if(!ye(je)){for(var qe=[],Je=0;Je<arguments.length;Je++)qe.push(oe(arguments[Je]));return qe.join(" ")}for(var Je=1,it=arguments,Qe=it.length,Ze=String(je).replace(ie,function(Ve){if(Ve==="%%")return"%";if(Je>=Qe)return Ve;switch(Ve){case"%s":return String(it[Je++]);case"%d":return Number(it[Je++]);case"%j":try{return JSON.stringify(it[Je++])}catch(Ae){return"[Circular]"}default:return Ve}}),De=it[Je];Je<Qe;De=it[++Je])he(De)||!Ce(De)?Ze+=" "+De:Ze+=" "+oe(De);return Ze},de.deprecate=function(je,qe){if(typeof se!="undefined"&&se.noDeprecation===!0)return je;if(typeof se=="undefined")return function(){return de.deprecate(je,qe).apply(this,arguments)};var Je=!1;function it(){if(!Je){if(se.throwDeprecation)throw new Error(qe);se.traceDeprecation?console.trace(qe):console.error(qe),Je=!0}return je.apply(this,arguments)}return it};var le={},ce=/^$/;if(se.env.NODE_DEBUG){var ae=se.env.NODE_DEBUG;ae=ae.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ce=new RegExp("^"+ae+"$","i")}de.debuglog=function(je){if(je=je.toUpperCase(),!le[je])if(ce.test(je)){var qe=se.pid;le[je]=function(){var Je=de.format.apply(de,arguments);console.error("%s %d: %s",je,qe,Je)}}else le[je]=function(){};return le[je]};function oe(je,qe){var Je={seen:[],stylize:ee};return arguments.length>=3&&(Je.depth=arguments[2]),arguments.length>=4&&(Je.colors=arguments[3]),me(qe)?Je.showHidden=qe:qe&&de._extend(Je,qe),we(Je.showHidden)&&(Je.showHidden=!1),we(Je.depth)&&(Je.depth=2),we(Je.colors)&&(Je.colors=!1),we(Je.customInspect)&&(Je.customInspect=!0),Je.colors&&(Je.stylize=ne),y(Je,je,Je.depth)}de.inspect=oe,oe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ne(je,qe){var Je=oe.styles[qe];return Je?"\x1B["+oe.colors[Je][0]+"m"+je+"\x1B["+oe.colors[Je][1]+"m":je}function ee(je,qe){return je}function a(je){var qe={};return je.forEach(function(Je,it){qe[Je]=!0}),qe}function y(je,qe,Je){if(je.customInspect&&qe&&Me(qe.inspect)&&qe.inspect!==de.inspect&&!(qe.constructor&&qe.constructor.prototype===qe)){var it=qe.inspect(Je,je);return ye(it)||(it=y(je,it,Je)),it}var Qe=x(je,qe);if(Qe)return Qe;var Ze=Object.keys(qe),De=a(Ze);if(je.showHidden&&(Ze=Object.getOwnPropertyNames(qe)),Ee(qe)&&(Ze.indexOf("message")>=0||Ze.indexOf("description")>=0))return b(qe);if(Ze.length===0){if(Me(qe)){var Ve=qe.name?": "+qe.name:"";return je.stylize("[Function"+Ve+"]","special")}if(Oe(qe))return je.stylize(RegExp.prototype.toString.call(qe),"regexp");if(_e(qe))return je.stylize(Date.prototype.toString.call(qe),"date");if(Ee(qe))return b(qe)}var Ae="",ke=!1,$e=["{","}"];if(ge(qe)&&(ke=!0,$e=["[","]"]),Me(qe)){var Ke=qe.name?": "+qe.name:"";Ae=" [Function"+Ke+"]"}if(Oe(qe)&&(Ae=" "+RegExp.prototype.toString.call(qe)),_e(qe)&&(Ae=" "+Date.prototype.toUTCString.call(qe)),Ee(qe)&&(Ae=" "+b(qe)),Ze.length===0&&(!ke||qe.length==0))return $e[0]+Ae+$e[1];if(Je<0)return Oe(qe)?je.stylize(RegExp.prototype.toString.call(qe),"regexp"):je.stylize("[Object]","special");je.seen.push(qe);var ze;return ke?ze=te(je,qe,Je,De,Ze):ze=Ze.map(function(Le){return z(je,qe,Je,De,Le,ke)}),je.seen.pop(),ue(ze,Ae,$e)}function x(je,qe){if(we(qe))return je.stylize("undefined","undefined");if(ye(qe)){var Je="'"+JSON.stringify(qe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return je.stylize(Je,"string")}if(be(qe))return je.stylize(""+qe,"number");if(me(qe))return je.stylize(""+qe,"boolean");if(he(qe))return je.stylize("null","null")}function b(je){return"["+Error.prototype.toString.call(je)+"]"}function te(je,qe,Je,it,Qe){for(var Ze=[],De=0,Ve=qe.length;De<Ve;++De)et(qe,String(De))?Ze.push(z(je,qe,Je,it,String(De),!0)):Ze.push("");return Qe.forEach(function(Ae){Ae.match(/^\d+$/)||Ze.push(z(je,qe,Je,it,Ae,!0))}),Ze}function z(je,qe,Je,it,Qe,Ze){var De,Ve,Ae;if(Ae=Object.getOwnPropertyDescriptor(qe,Qe)||{value:qe[Qe]},Ae.get?Ae.set?Ve=je.stylize("[Getter/Setter]","special"):Ve=je.stylize("[Getter]","special"):Ae.set&&(Ve=je.stylize("[Setter]","special")),et(it,Qe)||(De="["+Qe+"]"),Ve||(je.seen.indexOf(Ae.value)<0?(he(Je)?Ve=y(je,Ae.value,null):Ve=y(je,Ae.value,Je-1),Ve.indexOf(`
|
|
|
`)>-1&&(Ze?Ve=Ve.split(`
|
|
|
`).map(function(ke){return" "+ke}).join(`
|
|
|
`).slice(2):Ve=`
|
|
|
`+Ve.split(`
|
|
|
`).map(function(ke){return" "+ke}).join(`
|
|
|
`))):Ve=je.stylize("[Circular]","special")),we(De)){if(Ze&&Qe.match(/^\d+$/))return Ve;De=JSON.stringify(""+Qe),De.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(De=De.slice(1,-1),De=je.stylize(De,"name")):(De=De.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),De=je.stylize(De,"string"))}return De+": "+Ve}function ue(je,qe,Je){var it=0,Qe=je.reduce(function(Ze,De){return it++,De.indexOf(`
|
|
|
`)>=0&&it++,Ze+De.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Qe>60?Je[0]+(qe===""?"":qe+`
|
|
|
`)+" "+je.join(`,
|
|
|
`)+" "+Je[1]:Je[0]+qe+" "+je.join(", ")+" "+Je[1]}de.types=E("./support/types");function ge(je){return Array.isArray(je)}de.isArray=ge;function me(je){return typeof je=="boolean"}de.isBoolean=me;function he(je){return je===null}de.isNull=he;function pe(je){return je==null}de.isNullOrUndefined=pe;function be(je){return typeof je=="number"}de.isNumber=be;function ye(je){return typeof je=="string"}de.isString=ye;function Pe(je){return typeof je=="symbol"}de.isSymbol=Pe;function we(je){return je===void 0}de.isUndefined=we;function Oe(je){return Ce(je)&&Be(je)==="[object RegExp]"}de.isRegExp=Oe,de.types.isRegExp=Oe;function Ce(je){return typeof je=="object"&&je!==null}de.isObject=Ce;function _e(je){return Ce(je)&&Be(je)==="[object Date]"}de.isDate=_e,de.types.isDate=_e;function Ee(je){return Ce(je)&&(Be(je)==="[object Error]"||je instanceof Error)}de.isError=Ee,de.types.isNativeError=Ee;function Me(je){return typeof je=="function"}de.isFunction=Me;function Ie(je){return je===null||typeof je=="boolean"||typeof je=="number"||typeof je=="string"||typeof je=="symbol"||typeof je=="undefined"}de.isPrimitive=Ie,de.isBuffer=E("./support/isBuffer");function Be(je){return Object.prototype.toString.call(je)}function Re(je){return je<10?"0"+je.toString(10):je.toString(10)}var tt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ye(){var je=new Date,qe=[Re(je.getHours()),Re(je.getMinutes()),Re(je.getSeconds())].join(":");return[je.getDate(),tt[je.getMonth()],qe].join(" ")}de.log=function(){console.log("%s - %s",Ye(),de.format.apply(de,arguments))},de.inherits=E("inherits"),de._extend=function(je,qe){if(!qe||!Ce(qe))return je;for(var Je=Object.keys(qe),it=Je.length;it--;)je[Je[it]]=qe[Je[it]];return je};function et(je,qe){return Object.prototype.hasOwnProperty.call(je,qe)}var Xe=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;de.promisify=function(qe){if(typeof qe!="function")throw new TypeError('The "original" argument must be of type Function');if(Xe&&qe[Xe]){var Je=qe[Xe];if(typeof Je!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Je,Xe,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Je}function Je(){for(var it,Qe,Ze=new Promise(function(Ae,ke){it=Ae,Qe=ke}),De=[],Ve=0;Ve<arguments.length;Ve++)De.push(arguments[Ve]);De.push(function(Ae,ke){Ae?Qe(Ae):it(ke)});try{qe.apply(this,De)}catch(Ae){Qe(Ae)}return Ze}return Object.setPrototypeOf(Je,Object.getPrototypeOf(qe)),Xe&&Object.defineProperty(Je,Xe,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Je,re(qe))},de.promisify.custom=Xe;function Ge(je,qe){if(!je){var Je=new Error("Promise was rejected with a falsy value");Je.reason=je,je=Je}return qe(je)}function Fe(je){if(typeof je!="function")throw new TypeError('The "original" argument must be of type Function');function qe(){for(var Je=[],it=0;it<arguments.length;it++)Je.push(arguments[it]);var Qe=Je.pop();if(typeof Qe!="function")throw new TypeError("The last argument must be of type Function");var Ze=this,De=function(){return Qe.apply(Ze,arguments)};je.apply(this,Je).then(function(Ve){se.nextTick(De.bind(null,null,Ve))},function(Ve){se.nextTick(Ge.bind(null,Ve,De))})}return Object.setPrototypeOf(qe,Object.getPrototypeOf(je)),Object.defineProperties(qe,re(je)),qe}de.callbackify=Fe}).call(this)}).call(this,E("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(E,ve,de){(function(se){(function(){"use strict";var re=E("for-each"),ie=E("available-typed-arrays"),le=E("call-bind"),ce=E("call-bind/callBound"),ae=E("gopd"),oe=ce("Object.prototype.toString"),ne=E("has-tostringtag/shams")(),ee=typeof globalThis=="undefined"?se:globalThis,a=ie(),y=ce("String.prototype.slice"),x=Object.getPrototypeOf,b=ce("Array.prototype.indexOf",!0)||function(me,he){for(var pe=0;pe<me.length;pe+=1)if(me[pe]===he)return pe;return-1},te={__proto__:null};ne&&ae&&x?re(a,function(ge){var me=new ee[ge];if(Symbol.toStringTag in me){var he=x(me),pe=ae(he,Symbol.toStringTag);if(!pe){var be=x(he);pe=ae(be,Symbol.toStringTag)}te["$"+ge]=le(pe.get)}}):re(a,function(ge){var me=new ee[ge];te["$"+ge]=le(me.slice)});var z=function(me){var he=!1;return re(te,function(pe,be){if(!he)try{"$"+pe(me)===be&&(he=y(be,1))}catch(ye){}}),he},ue=function(me){var he=!1;return re(te,function(pe,be){if(!he)try{pe(me),he=y(be,1)}catch(ye){}}),he};ve.exports=function(me){if(!me||typeof me!="object")return!1;if(!ne){var he=y(oe(me),8,-1);return b(a,he)>-1?he:he!=="Object"?!1:ue(me)}return ae?z(me):null}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,ve,de){(function(){"use strict";de.stripBOM=function(se){return se[0]==="\uFEFF"?se.substring(1):se}}).call(this)},{}],422:[function(E,ve,de){(function(){"use strict";var se,re,ie,le,ce,ae={}.hasOwnProperty;se=E("xmlbuilder"),re=E("./defaults").defaults,le=function(oe){return typeof oe=="string"&&(oe.indexOf("&")>=0||oe.indexOf(">")>=0||oe.indexOf("<")>=0)},ce=function(oe){return"<![CDATA["+ie(oe)+"]]>"},ie=function(oe){return oe.replace("]]>","]]]]><![CDATA[>")},de.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(te){return function(z,ue){var ge,me,he,pe,be,ye;if(typeof ue!="object")te.options.cdata&&le(ue)?z.raw(ce(ue)):z.txt(ue);else if(Array.isArray(ue)){for(pe in ue)if(ae.call(ue,pe)){me=ue[pe];for(be in me)he=me[be],z=y(z.ele(be),he).up()}}else for(be in ue)if(ae.call(ue,be))if(me=ue[be],be===ee){if(typeof me=="object")for(ge in me)ye=me[ge],z=z.att(ge,ye)}else if(be===a)te.options.cdata&&le(me)?z=z.raw(ce(me)):z=z.txt(me);else if(Array.isArray(me))for(pe in me)ae.call(me,pe)&&(he=me[pe],typeof he=="string"?te.options.cdata&&le(he)?z=z.ele(be).raw(ce(he)).up():z=z.ele(be,he).up():z=y(z.ele(be),he).up());else typeof me=="object"?z=y(z.ele(be),me).up():typeof me=="string"&&te.options.cdata&&le(me)?z=z.ele(be).raw(ce(me)).up():(me==null&&(me=""),z=z.ele(be,me.toString()).up());return z}}(this),x=se.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,ve,de){(function(){de.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
|
|
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,ve,de){(function(){"use strict";var se,re,ie,le,ce,ae,oe,ne,ee,a=function(b,te){return function(){return b.apply(te,arguments)}},y=function(b,te){for(var z in te)x.call(te,z)&&(b[z]=te[z]);function ue(){this.constructor=b}return ue.prototype=te.prototype,b.prototype=new ue,b.__super__=te.prototype,b},x={}.hasOwnProperty;ne=E("sax"),le=E("events"),se=E("./bom"),oe=E("./processors"),ee=E("timers").setImmediate,re=E("./defaults").defaults,ce=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ae=function(b,te,z){var ue,ge,me;for(ue=0,ge=b.length;ue<ge;ue++)me=b[ue],te=me(te,z);return te},ie=function(b,te,z){var ue;return ue=Object.create(null),ue.value=z,ue.writable=!0,ue.enumerable=!0,ue.configurable=!0,Object.defineProperty(b,te,ue)},de.Parser=function(b){y(te,b);function te(z){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 ue,ge,me;if(!(this instanceof de.Parser))return new de.Parser(z);this.options={},ge=re["0.2"];for(ue in ge)x.call(ge,ue)&&(me=ge[ue],this.options[ue]=me);for(ue in z)x.call(z,ue)&&(me=z[ue],this.options[ue]=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 te.prototype.processAsync=function(){var z,ue;try{return this.remaining.length<=this.options.chunkSize?(z=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(z),this.saxParser.close()):(z=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(z),ee(this.processAsync))}catch(ge){if(ue=ge,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(ue)}},te.prototype.assignOrPush=function(z,ue,ge){return ue in z?(z[ue]instanceof Array||ie(z,ue,[z[ue]]),z[ue].push(ge)):this.options.explicitArray?ie(z,ue,[ge]):ie(z,ue,ge)},te.prototype.reset=function(){var z,ue,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(he){return function(pe){if(he.saxParser.resume(),!he.saxParser.errThrown)return he.saxParser.errThrown=!0,he.emit("error",pe)}}(this),this.saxParser.onend=function(he){return function(){if(!he.saxParser.ended)return he.saxParser.ended=!0,he.emit("end",he.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,me=[],z=this.options.attrkey,ue=this.options.charkey,this.saxParser.onopentag=function(he){return function(pe){var be,ye,Pe,we,Oe;if(Pe={},Pe[ue]="",!he.options.ignoreAttrs){Oe=pe.attributes;for(be in Oe)x.call(Oe,be)&&(!(z in Pe)&&!he.options.mergeAttrs&&(Pe[z]={}),ye=he.options.attrValueProcessors?ae(he.options.attrValueProcessors,pe.attributes[be],be):pe.attributes[be],we=he.options.attrNameProcessors?ae(he.options.attrNameProcessors,be):be,he.options.mergeAttrs?he.assignOrPush(Pe,we,ye):ie(Pe[z],we,ye))}return Pe["#name"]=he.options.tagNameProcessors?ae(he.options.tagNameProcessors,pe.name):pe.name,he.options.xmlns&&(Pe[he.options.xmlnskey]={uri:pe.uri,local:pe.local}),me.push(Pe)}}(this),this.saxParser.onclosetag=function(he){return function(){var pe,be,ye,Pe,we,Oe,Ce,_e,Ee,Me;if(Oe=me.pop(),we=Oe["#name"],(!he.options.explicitChildren||!he.options.preserveChildrenOrder)&&delete Oe["#name"],Oe.cdata===!0&&(pe=Oe.cdata,delete Oe.cdata),Ee=me[me.length-1],Oe[ue].match(/^\s*$/)&&!pe?(be=Oe[ue],delete Oe[ue]):(he.options.trim&&(Oe[ue]=Oe[ue].trim()),he.options.normalize&&(Oe[ue]=Oe[ue].replace(/\s{2,}/g," ").trim()),Oe[ue]=he.options.valueProcessors?ae(he.options.valueProcessors,Oe[ue],we):Oe[ue],Object.keys(Oe).length===1&&ue in Oe&&!he.EXPLICIT_CHARKEY&&(Oe=Oe[ue])),ce(Oe)&&(typeof he.options.emptyTag=="function"?Oe=he.options.emptyTag():Oe=he.options.emptyTag!==""?he.options.emptyTag:be),he.options.validator!=null&&(Me="/"+function(){var Ie,Be,Re;for(Re=[],Ie=0,Be=me.length;Ie<Be;Ie++)Pe=me[Ie],Re.push(Pe["#name"]);return Re}().concat(we).join("/"),function(){var Ie;try{return Oe=he.options.validator(Me,Ee&&Ee[we],Oe)}catch(Be){return Ie=Be,he.emit("error",Ie)}}()),he.options.explicitChildren&&!he.options.mergeAttrs&&typeof Oe=="object"){if(!he.options.preserveChildrenOrder)Pe={},he.options.attrkey in Oe&&(Pe[he.options.attrkey]=Oe[he.options.attrkey],delete Oe[he.options.attrkey]),!he.options.charsAsChildren&&he.options.charkey in Oe&&(Pe[he.options.charkey]=Oe[he.options.charkey],delete Oe[he.options.charkey]),Object.getOwnPropertyNames(Oe).length>0&&(Pe[he.options.childkey]=Oe),Oe=Pe;else if(Ee){Ee[he.options.childkey]=Ee[he.options.childkey]||[],Ce={};for(ye in Oe)x.call(Oe,ye)&&ie(Ce,ye,Oe[ye]);Ee[he.options.childkey].push(Ce),delete Oe["#name"],Object.keys(Oe).length===1&&ue in Oe&&!he.EXPLICIT_CHARKEY&&(Oe=Oe[ue])}}return me.length>0?he.assignOrPush(Ee,we,Oe):(he.options.explicitRoot&&(_e=Oe,Oe={},ie(Oe,we,_e)),he.resultObject=Oe,he.saxParser.ended=!0,he.emit("end",he.resultObject))}}(this),ge=function(he){return function(pe){var be,ye;if(ye=me[me.length-1],ye)return ye[ue]+=pe,he.options.explicitChildren&&he.options.preserveChildrenOrder&&he.options.charsAsChildren&&(he.options.includeWhiteChars||pe.replace(/\\n/g,"").trim()!=="")&&(ye[he.options.childkey]=ye[he.options.childkey]||[],be={"#name":"__text__"},be[ue]=pe,he.options.normalize&&(be[ue]=be[ue].replace(/\s{2,}/g," ").trim()),ye[he.options.childkey].push(be)),ye}}(this),this.saxParser.ontext=ge,this.saxParser.oncdata=function(he){return function(pe){var be;if(be=ge(pe),be)return be.cdata=!0}}(this)},te.prototype.parseString=function(z,ue){var ge;ue!=null&&typeof ue=="function"&&(this.on("end",function(me){return this.reset(),ue(null,me)}),this.on("error",function(me){return this.reset(),ue(me)}));try{return z=z.toString(),z.trim()===""?(this.emit("end",null),!0):(z=se.stripBOM(z),this.options.async?(this.remaining=z,ee(this.processAsync),this.saxParser):this.saxParser.write(z).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}},te.prototype.parseStringPromise=function(z){return new Promise(function(ue){return function(ge,me){return ue.parseString(z,function(he,pe){return he?me(he):ge(pe)})}}(this))},te}(le),de.parseString=function(b,te,z){var ue,ge,me;return z!=null?(typeof z=="function"&&(ue=z),typeof te=="object"&&(ge=te)):(typeof te=="function"&&(ue=te),ge={}),me=new de.Parser(ge),me.parseString(b,ue)},de.parseStringPromise=function(b,te){var z,ue;return typeof te=="object"&&(z=te),ue=new de.Parser(z),ue.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,ve,de){(function(){"use strict";var se;se=new RegExp(/(?!xmlns)^.*:/),de.normalize=function(re){return re.toLowerCase()},de.firstCharLowerCase=function(re){return re.charAt(0).toLowerCase()+re.slice(1)},de.stripPrefix=function(re){return re.replace(se,"")},de.parseNumbers=function(re){return isNaN(re)||(re=re%1===0?parseInt(re,10):parseFloat(re)),re},de.parseBooleans=function(re){return/^(?:true|false)$/i.test(re)&&(re=re.toLowerCase()==="true"),re}}).call(this)},{}],426:[function(E,ve,de){(function(){"use strict";var se,re,ie,le,ce=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"),se=E("./builder"),ie=E("./parser"),le=E("./processors"),de.defaults=re.defaults,de.processors=le,de.ValidationError=function(oe){ce(ne,oe);function ne(ee){this.message=ee}return ne}(Error),de.Builder=se.Builder,de.Parser=ie.Parser,de.parseString=ie.parseString,de.parseStringPromise=ie.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,ve,de){(function(){ve.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,ve,de){(function(){ve.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,ve,de){(function(){var se,re,ie,le,ce,ae,oe,ne=[].slice,ee={}.hasOwnProperty;se=function(){var a,y,x,b,te,z;if(z=arguments[0],te=2<=arguments.length?ne.call(arguments,1):[],ce(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=te.length;a<x;a++)if(b=te[a],b!=null)for(y in b)ee.call(b,y)&&(z[y]=b[y]);return z},ce=function(a){return!!a&&Object.prototype.toString.call(a)==="[object Function]"},ae=function(a){var y;return!!a&&((y=typeof a)=="function"||y==="object")},ie=function(a){return ce(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},le=function(a){var y;if(ie(a))return!a.length;for(y in a)if(ee.call(a,y))return!1;return!0},oe=function(a){var y,x;return ae(a)&&(x=Object.getPrototypeOf(a))&&(y=x.constructor)&&typeof y=="function"&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},re=function(a){return ce(a.valueOf)?a.valueOf():a},ve.exports.assign=se,ve.exports.isFunction=ce,ve.exports.isObject=ae,ve.exports.isArray=ie,ve.exports.isEmpty=le,ve.exports.isPlainObject=oe,ve.exports.getValue=re}).call(this)},{}],430:[function(E,ve,de){(function(){ve.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(E,ve,de){(function(){var se,re,ie;se=E("./NodeType"),ie=E("./XMLNode"),ve.exports=re=function(){function le(ce,ae,oe){if(this.parent=ce,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),ae==null)throw new Error("Missing attribute name. "+this.debugInfo(ae));this.name=this.stringify.name(ae),this.value=this.stringify.attValue(oe),this.type=se.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(le.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(le.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(le.prototype,"textContent",{get:function(){return this.value},set:function(ce){return this.value=ce||""}}),Object.defineProperty(le.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(le.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(le.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(le.prototype,"specified",{get:function(){return!0}}),le.prototype.clone=function(){return Object.create(this)},le.prototype.toString=function(ce){return this.options.writer.attribute(this,this.options.writer.filterOptions(ce))},le.prototype.debugInfo=function(ce){return ce=ce||this.name,ce==null?"parent: <"+this.parent.name+">":"attribute: {"+ce+"}, parent: <"+this.parent.name+">"},le.prototype.isEqualNode=function(ce){return!(ce.namespaceURI!==this.namespaceURI||ce.prefix!==this.prefix||ce.localName!==this.localName||ce.value!==this.value)},le}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,ve,de){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.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},ce={}.hasOwnProperty;se=E("./NodeType"),ie=E("./XMLCharacterData"),ve.exports=re=function(ae){le(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=se.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}(ie)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,ve,de){(function(){var se,re,ie=function(ce,ae){for(var oe in ae)le.call(ae,oe)&&(ce[oe]=ae[oe]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;re=E("./XMLNode"),ve.exports=se=function(ce){ie(ae,ce);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,ve,de){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.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},ce={}.hasOwnProperty;se=E("./NodeType"),re=E("./XMLCharacterData"),ve.exports=ie=function(ae){le(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=se.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,ve,de){(function(){var se,re,ie;re=E("./XMLDOMErrorHandler"),ie=E("./XMLDOMStringList"),ve.exports=se=function(){function le(){var ce;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=ce=Object.create(this.defaultParams)}return Object.defineProperty(le.prototype,"parameterNames",{get:function(){return new ie(Object.keys(this.defaultParams))}}),le.prototype.getParameter=function(ce){return this.params.hasOwnProperty(ce)?this.params[ce]:null},le.prototype.canSetParameter=function(ce,ae){return!0},le.prototype.setParameter=function(ce,ae){return ae!=null?this.params[ce]=ae:delete this.params[ce]},le}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,ve,de){(function(){var se;ve.exports=se=function(){function re(){}return re.prototype.handleError=function(ie){throw new Error(ie)},re}()}).call(this)},{}],437:[function(E,ve,de){(function(){var se;ve.exports=se=function(){function re(){}return re.prototype.hasFeature=function(ie,le){return!0},re.prototype.createDocumentType=function(ie,le,ce){throw new Error("This DOM method is not implemented.")},re.prototype.createDocument=function(ie,le,ce){throw new Error("This DOM method is not implemented.")},re.prototype.createHTMLDocument=function(ie){throw new Error("This DOM method is not implemented.")},re.prototype.getFeature=function(ie,le){throw new Error("This DOM method is not implemented.")},re}()}).call(this)},{}],438:[function(E,ve,de){(function(){var se;ve.exports=se=function(){function re(ie){this.arr=ie||[]}return Object.defineProperty(re.prototype,"length",{get:function(){return this.arr.length}}),re.prototype.item=function(ie){return this.arr[ie]||null},re.prototype.contains=function(ie){return this.arr.indexOf(ie)!==-1},re}()}).call(this)},{}],439:[function(E,ve,de){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.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},ce={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),ve.exports=re=function(ae){le(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=se.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return oe.prototype.toString=function(ne){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ne))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,ve,de){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.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},ce={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),ve.exports=re=function(ae){le(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=se.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}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,ve,de){(function(){var se,re,ie,le,ce=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("./Utility").isObject,ie=E("./XMLNode"),se=E("./NodeType"),ve.exports=re=function(oe){ce(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=se.EntityDeclaration,!le(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}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,ve,de){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.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},ce={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),ve.exports=re=function(ae){le(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=se.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(oe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(oe.prototype,"systemId",{get:function(){return this.sysID}}),oe.prototype.toString=function(ne){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ne))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,ve,de){(function(){var se,re,ie,le,ce=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("./Utility").isObject,ie=E("./XMLNode"),se=E("./NodeType"),ve.exports=re=function(oe){ce(ne,oe);function ne(ee,a,y,x){var b;ne.__super__.constructor.call(this,ee),le(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=se.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ne.prototype.toString=function(ee){return this.options.writer.declaration(this,this.options.writer.filterOptions(ee))},ne}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,ve,de){(function(){var se,re,ie,le,ce,ae,oe,ne,ee,a=function(x,b){for(var te in b)y.call(b,te)&&(x[te]=b[te]);function z(){this.constructor=x}return z.prototype=b.prototype,x.prototype=new z,x.__super__=b.prototype,x},y={}.hasOwnProperty;ee=E("./Utility").isObject,ne=E("./XMLNode"),se=E("./NodeType"),re=E("./XMLDTDAttList"),le=E("./XMLDTDEntity"),ie=E("./XMLDTDElement"),ce=E("./XMLDTDNotation"),oe=E("./XMLNamedNodeMap"),ve.exports=ae=function(x){a(b,x);function b(te,z,ue){var ge,me,he,pe,be,ye;if(b.__super__.constructor.call(this,te),this.type=se.DocType,te.children){for(pe=te.children,me=0,he=pe.length;me<he;me++)if(ge=pe[me],ge.type===se.Element){this.name=ge.name;break}}this.documentObject=te,ee(z)&&(be=z,z=be.pubID,ue=be.sysID),ue==null&&(ye=[z,ue],ue=ye[0],z=ye[1]),z!=null&&(this.pubID=this.stringify.dtdPubID(z)),ue!=null&&(this.sysID=this.stringify.dtdSysID(ue))}return Object.defineProperty(b.prototype,"entities",{get:function(){var te,z,ue,ge,me;for(ge={},me=this.children,z=0,ue=me.length;z<ue;z++)te=me[z],te.type===se.EntityDeclaration&&!te.pe&&(ge[te.name]=te);return new oe(ge)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var te,z,ue,ge,me;for(ge={},me=this.children,z=0,ue=me.length;z<ue;z++)te=me[z],te.type===se.NotationDeclaration&&(ge[te.name]=te);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(te,z){var ue;return ue=new ie(this,te,z),this.children.push(ue),this},b.prototype.attList=function(te,z,ue,ge,me){var he;return he=new re(this,te,z,ue,ge,me),this.children.push(he),this},b.prototype.entity=function(te,z){var ue;return ue=new le(this,!1,te,z),this.children.push(ue),this},b.prototype.pEntity=function(te,z){var ue;return ue=new le(this,!0,te,z),this.children.push(ue),this},b.prototype.notation=function(te,z){var ue;return ue=new ce(this,te,z),this.children.push(ue),this},b.prototype.toString=function(te){return this.options.writer.docType(this,this.options.writer.filterOptions(te))},b.prototype.ele=function(te,z){return this.element(te,z)},b.prototype.att=function(te,z,ue,ge,me){return this.attList(te,z,ue,ge,me)},b.prototype.ent=function(te,z){return this.entity(te,z)},b.prototype.pent=function(te,z){return this.pEntity(te,z)},b.prototype.not=function(te,z){return this.notation(te,z)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(te){return!(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(te)||te.name!==this.name||te.publicId!==this.publicId||te.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,ve,de){(function(){var se,re,ie,le,ce,ae,oe,ne,ee=function(y,x){for(var b in x)a.call(x,b)&&(y[b]=x[b]);function te(){this.constructor=y}return te.prototype=x.prototype,y.prototype=new te,y.__super__=x.prototype,y},a={}.hasOwnProperty;ne=E("./Utility").isPlainObject,ie=E("./XMLDOMImplementation"),re=E("./XMLDOMConfiguration"),ce=E("./XMLNode"),se=E("./NodeType"),oe=E("./XMLStringifier"),ae=E("./XMLStringWriter"),ve.exports=le=function(y){ee(x,y);function x(b){x.__super__.constructor.call(this,null),this.name="#document",this.type=se.Document,this.documentURI=null,this.domConfig=new 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 ie}),Object.defineProperty(x.prototype,"doctype",{get:function(){var b,te,z,ue;for(ue=this.children,te=0,z=ue.length;te<z;te++)if(b=ue[te],b.type===se.DocType)return b;return null}}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(x.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(x.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===se.Declaration?this.children[0].encoding:null}}),Object.defineProperty(x.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===se.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(x.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===se.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(x.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(x.prototype,"origin",{get:function(){return null}}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(x.prototype,"contentType",{get:function(){return null}}),x.prototype.end=function(b){var te;return te={},b?ne(b)&&(te=b,b=this.options.writer):b=this.options.writer,b.document(this,b.filterOptions(te))},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,te){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,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createElementNS=function(b,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttributeNS=function(b,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagNameNS=function(b,te){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,te,z){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,te,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTreeWalker=function(b,te,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x}(ce)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(E,ve,de){(function(){var se,re,ie,le,ce,ae,oe,ne,ee,a,y,x,b,te,z,ue,ge,me,he,pe,be,ye,Pe,we,Oe={}.hasOwnProperty;we=E("./Utility"),ye=we.isObject,be=we.isFunction,Pe=we.isPlainObject,pe=we.getValue,se=E("./NodeType"),x=E("./XMLDocument"),te=E("./XMLElement"),le=E("./XMLCData"),ce=E("./XMLComment"),ue=E("./XMLRaw"),he=E("./XMLText"),z=E("./XMLProcessingInstruction"),a=E("./XMLDeclaration"),y=E("./XMLDocType"),ae=E("./XMLDTDAttList"),ne=E("./XMLDTDEntity"),oe=E("./XMLDTDElement"),ee=E("./XMLDTDNotation"),ie=E("./XMLAttribute"),me=E("./XMLStringifier"),ge=E("./XMLStringWriter"),re=E("./WriterState"),ve.exports=b=function(){function Ce(_e,Ee,Me){var Ie;this.name="?xml",this.type=se.Document,_e||(_e={}),Ie={},_e.writer?Pe(_e.writer)&&(Ie=_e.writer,_e.writer=new ge):_e.writer=new ge,this.options=_e,this.writer=_e.writer,this.writerOptions=this.writer.filterOptions(Ie),this.stringify=new me(_e),this.onDataCallback=Ee||function(){},this.onEndCallback=Me||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 Ee,Me,Ie,Be,Re,tt,Ye,et;switch(_e.type){case se.CData:this.cdata(_e.value);break;case se.Comment:this.comment(_e.value);break;case se.Element:Ie={},Ye=_e.attribs;for(Me in Ye)Oe.call(Ye,Me)&&(Ee=Ye[Me],Ie[Me]=Ee.value);this.node(_e.name,Ie);break;case se.Dummy:this.dummy();break;case se.Raw:this.raw(_e.value);break;case se.Text:this.text(_e.value);break;case se.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(et=_e.children,Re=0,tt=et.length;Re<tt;Re++)Be=et[Re],this.createChildNode(Be),Be.type===se.Element&&this.up();return this},Ce.prototype.dummy=function(){return this},Ce.prototype.node=function(_e,Ee,Me){var Ie;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),Ee==null&&(Ee={}),Ee=pe(Ee),ye(Ee)||(Ie=[Ee,Me],Me=Ie[0],Ee=Ie[1]),this.currentNode=new te(this,_e,Ee),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Me!=null&&this.text(Me),this},Ce.prototype.element=function(_e,Ee,Me){var Ie,Be,Re,tt,Ye,et;if(this.currentNode&&this.currentNode.type===se.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(_e)||ye(_e)||be(_e))for(tt=this.options.noValidation,this.options.noValidation=!0,et=new x(this.options).element("TEMP_ROOT"),et.element(_e),this.options.noValidation=tt,Ye=et.children,Be=0,Re=Ye.length;Be<Re;Be++)Ie=Ye[Be],this.createChildNode(Ie),Ie.type===se.Element&&this.up();else this.node(_e,Ee,Me);return this},Ce.prototype.attribute=function(_e,Ee){var Me,Ie;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(Me in _e)Oe.call(_e,Me)&&(Ie=_e[Me],this.attribute(Me,Ie));else be(Ee)&&(Ee=Ee.apply()),this.options.keepNullAttributes&&Ee==null?this.currentNode.attribs[_e]=new ie(this,_e,""):Ee!=null&&(this.currentNode.attribs[_e]=new ie(this,_e,Ee));return this},Ce.prototype.text=function(_e){var Ee;return this.openCurrent(),Ee=new he(this,_e),this.onData(this.writer.text(Ee,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.cdata=function(_e){var Ee;return this.openCurrent(),Ee=new le(this,_e),this.onData(this.writer.cdata(Ee,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.comment=function(_e){var Ee;return this.openCurrent(),Ee=new ce(this,_e),this.onData(this.writer.comment(Ee,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.raw=function(_e){var Ee;return this.openCurrent(),Ee=new ue(this,_e),this.onData(this.writer.raw(Ee,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.instruction=function(_e,Ee){var Me,Ie,Be,Re,tt;if(this.openCurrent(),_e!=null&&(_e=pe(_e)),Ee!=null&&(Ee=pe(Ee)),Array.isArray(_e))for(Me=0,Re=_e.length;Me<Re;Me++)Ie=_e[Me],this.instruction(Ie);else if(ye(_e))for(Ie in _e)Oe.call(_e,Ie)&&(Be=_e[Ie],this.instruction(Ie,Be));else be(Ee)&&(Ee=Ee.apply()),tt=new z(this,_e,Ee),this.onData(this.writer.processingInstruction(tt,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},Ce.prototype.declaration=function(_e,Ee,Me){var Ie;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Ie=new a(this,_e,Ee,Me),this.onData(this.writer.declaration(Ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.doctype=function(_e,Ee,Me){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,Ee,Me),this.currentNode.rootNodeName=_e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},Ce.prototype.dtdElement=function(_e,Ee){var Me;return this.openCurrent(),Me=new oe(this,_e,Ee),this.onData(this.writer.dtdElement(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.attList=function(_e,Ee,Me,Ie,Be){var Re;return this.openCurrent(),Re=new ae(this,_e,Ee,Me,Ie,Be),this.onData(this.writer.dtdAttList(Re,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.entity=function(_e,Ee){var Me;return this.openCurrent(),Me=new ne(this,!1,_e,Ee),this.onData(this.writer.dtdEntity(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.pEntity=function(_e,Ee){var Me;return this.openCurrent(),Me=new ne(this,!0,_e,Ee),this.onData(this.writer.dtdEntity(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.notation=function(_e,Ee){var Me;return this.openCurrent(),Me=new ee(this,_e,Ee),this.onData(this.writer.dtdNotation(Me,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 Ee,Me,Ie,Be;if(!_e.isOpen){if(!this.root&&this.currentLevel===0&&_e.type===se.Element&&(this.root=_e),Me="",_e.type===se.Element){this.writerOptions.state=re.OpenTag,Me=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"<"+_e.name,Be=_e.attribs;for(Ie in Be)Oe.call(Be,Ie)&&(Ee=Be[Ie],Me+=this.writer.attribute(Ee,this.writerOptions,this.currentLevel));Me+=(_e.children?">":"/>")+this.writer.endline(_e,this.writerOptions,this.currentLevel),this.writerOptions.state=re.InsideTag}else this.writerOptions.state=re.OpenTag,Me=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+_e.rootNodeName,_e.pubID&&_e.sysID?Me+=' PUBLIC "'+_e.pubID+'" "'+_e.sysID+'"':_e.sysID&&(Me+=' SYSTEM "'+_e.sysID+'"'),_e.children?(Me+=" [",this.writerOptions.state=re.InsideTag):(this.writerOptions.state=re.CloseTag,Me+=">"),Me+=this.writer.endline(_e,this.writerOptions,this.currentLevel);return this.onData(Me,this.currentLevel),_e.isOpen=!0}},Ce.prototype.closeNode=function(_e){var Ee;if(!_e.isClosed)return Ee="",this.writerOptions.state=re.CloseTag,_e.type===se.Element?Ee=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"</"+_e.name+">"+this.writer.endline(_e,this.writerOptions,this.currentLevel):Ee=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(_e,this.writerOptions,this.currentLevel),this.writerOptions.state=re.None,this.onData(Ee,this.currentLevel),_e.isClosed=!0},Ce.prototype.onData=function(_e,Ee){return this.documentStarted=!0,this.onDataCallback(_e,Ee+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,Ee,Me){return this.node(_e,Ee,Me)},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,Ee){return this.instruction(_e,Ee)},Ce.prototype.dec=function(_e,Ee,Me){return this.declaration(_e,Ee,Me)},Ce.prototype.dtd=function(_e,Ee,Me){return this.doctype(_e,Ee,Me)},Ce.prototype.e=function(_e,Ee,Me){return this.element(_e,Ee,Me)},Ce.prototype.n=function(_e,Ee,Me){return this.node(_e,Ee,Me)},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,Ee){return this.instruction(_e,Ee)},Ce.prototype.att=function(){return this.currentNode&&this.currentNode.type===se.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.a=function(){return this.currentNode&&this.currentNode.type===se.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.ent=function(_e,Ee){return this.entity(_e,Ee)},Ce.prototype.pent=function(_e,Ee){return this.pEntity(_e,Ee)},Ce.prototype.not=function(_e,Ee){return this.notation(_e,Ee)},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,ve,de){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.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},ce={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),ve.exports=re=function(ae){le(oe,ae);function oe(ne){oe.__super__.constructor.call(this,ne),this.type=se.Dummy}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return""},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,ve,de){(function(){var se,re,ie,le,ce,ae,oe,ne,ee,a=function(x,b){for(var te in b)y.call(b,te)&&(x[te]=b[te]);function z(){this.constructor=x}return z.prototype=b.prototype,x.prototype=new z,x.__super__=b.prototype,x},y={}.hasOwnProperty;ee=E("./Utility"),ne=ee.isObject,oe=ee.isFunction,ae=ee.getValue,ce=E("./XMLNode"),se=E("./NodeType"),re=E("./XMLAttribute"),le=E("./XMLNamedNodeMap"),ve.exports=ie=function(x){a(b,x);function b(te,z,ue){var ge,me,he,pe;if(b.__super__.constructor.call(this,te),z==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(z),this.type=se.Element,this.attribs={},this.schemaTypeInfo=null,ue!=null&&this.attribute(ue),te.type===se.Document&&(this.isRoot=!0,this.documentObject=te,te.rootObject=this,te.children)){for(pe=te.children,me=0,he=pe.length;me<he;me++)if(ge=pe[me],ge.type===se.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 le(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var te,z,ue,ge;ue=Object.create(this),ue.isRoot&&(ue.documentObject=null),ue.attribs={},ge=this.attribs;for(z in ge)y.call(ge,z)&&(te=ge[z],ue.attribs[z]=te.clone());return ue.children=[],this.children.forEach(function(me){var he;return he=me.clone(),he.parent=ue,ue.children.push(he)}),ue},b.prototype.attribute=function(te,z){var ue,ge;if(te!=null&&(te=ae(te)),ne(te))for(ue in te)y.call(te,ue)&&(ge=te[ue],this.attribute(ue,ge));else oe(z)&&(z=z.apply()),this.options.keepNullAttributes&&z==null?this.attribs[te]=new re(this,te,""):z!=null&&(this.attribs[te]=new re(this,te,z));return this},b.prototype.removeAttribute=function(te){var z,ue,ge;if(te==null)throw new Error("Missing attribute name. "+this.debugInfo());if(te=ae(te),Array.isArray(te))for(ue=0,ge=te.length;ue<ge;ue++)z=te[ue],delete this.attribs[z];else delete this.attribs[te];return this},b.prototype.toString=function(te){return this.options.writer.element(this,this.options.writer.filterOptions(te))},b.prototype.att=function(te,z){return this.attribute(te,z)},b.prototype.a=function(te,z){return this.attribute(te,z)},b.prototype.getAttribute=function(te){return this.attribs.hasOwnProperty(te)?this.attribs[te].value:null},b.prototype.setAttribute=function(te,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(te){return this.attribs.hasOwnProperty(te)?this.attribs[te]:null},b.prototype.setAttributeNode=function(te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(te,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(te,z,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(te,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(te,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(te,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(te){return this.attribs.hasOwnProperty(te)},b.prototype.hasAttributeNS=function(te,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(te,z){return this.attribs.hasOwnProperty(te)?this.attribs[te].isId:z},b.prototype.setIdAttributeNS=function(te,z,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(te,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(te,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(te){var z,ue,ge;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(te)||te.namespaceURI!==this.namespaceURI||te.prefix!==this.prefix||te.localName!==this.localName||te.attribs.length!==this.attribs.length)return!1;for(z=ue=0,ge=this.attribs.length-1;0<=ge?ue<=ge:ue>=ge;z=0<=ge?++ue:--ue)if(!this.attribs[z].isEqualNode(te.attribs[z]))return!1;return!0},b}(ce)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,ve,de){(function(){var se;ve.exports=se=function(){function re(ie){this.nodes=ie}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(ie){return this.nodes[ie]},re.prototype.setNamedItem=function(ie){var le;return le=this.nodes[ie.nodeName],this.nodes[ie.nodeName]=ie,le||null},re.prototype.removeNamedItem=function(ie){var le;return le=this.nodes[ie],delete this.nodes[ie],le||null},re.prototype.item=function(ie){return this.nodes[Object.keys(this.nodes)[ie]]||null},re.prototype.getNamedItemNS=function(ie,le){throw new Error("This DOM method is not implemented.")},re.prototype.setNamedItemNS=function(ie){throw new Error("This DOM method is not implemented.")},re.prototype.removeNamedItemNS=function(ie,le){throw new Error("This DOM method is not implemented.")},re}()}).call(this)},{}],450:[function(E,ve,de){(function(){var se,re,ie,le,ce,ae,oe,ne,ee,a,y,x,b,te,z,ue,ge,me,he,pe={}.hasOwnProperty;he=E("./Utility"),me=he.isObject,ge=he.isFunction,ue=he.isEmpty,z=he.getValue,ne=null,ie=null,le=null,ce=null,ae=null,b=null,te=null,x=null,oe=null,re=null,y=null,ee=null,se=null,ve.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"),ie=E("./XMLCData"),le=E("./XMLComment"),ce=E("./XMLDeclaration"),ae=E("./XMLDocType"),b=E("./XMLRaw"),te=E("./XMLText"),x=E("./XMLProcessingInstruction"),oe=E("./XMLDummy"),re=E("./NodeType"),y=E("./XMLNodeList"),ee=E("./XMLNamedNodeMap"),se=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,Pe,we,Oe,Ce;if(this.nodeType===re.Element||this.nodeType===re.DocumentFragment){for(Ce="",Oe=this.children,Pe=0,we=Oe.length;Pe<we;Pe++)ye=Oe[Pe],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 Pe,we,Oe,Ce,_e;for(this.parent=ye,ye&&(this.options=ye.options,this.stringify=ye.stringify),Ce=this.children,_e=[],we=0,Oe=Ce.length;we<Oe;we++)Pe=Ce[we],_e.push(Pe.setParent(this));return _e},be.prototype.element=function(ye,Pe,we){var Oe,Ce,_e,Ee,Me,Ie,Be,Re,tt,Ye,et;if(Ie=null,Pe===null&&we==null&&(tt=[{},null],Pe=tt[0],we=tt[1]),Pe==null&&(Pe={}),Pe=z(Pe),me(Pe)||(Ye=[Pe,we],we=Ye[0],Pe=Ye[1]),ye!=null&&(ye=z(ye)),Array.isArray(ye))for(_e=0,Be=ye.length;_e<Be;_e++)Ce=ye[_e],Ie=this.element(Ce);else if(ge(ye))Ie=this.element(ye.apply());else if(me(ye)){for(Me in ye)if(pe.call(ye,Me))if(et=ye[Me],ge(et)&&(et=et.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Me.indexOf(this.stringify.convertAttKey)===0)Ie=this.attribute(Me.substr(this.stringify.convertAttKey.length),et);else if(!this.options.separateArrayItems&&Array.isArray(et)&&ue(et))Ie=this.dummy();else if(me(et)&&ue(et))Ie=this.element(Me);else if(!this.options.keepNullNodes&&et==null)Ie=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(et))for(Ee=0,Re=et.length;Ee<Re;Ee++)Ce=et[Ee],Oe={},Oe[Me]=Ce,Ie=this.element(Oe);else me(et)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Me.indexOf(this.stringify.convertTextKey)===0?Ie=this.element(et):(Ie=this.element(Me),Ie.element(et)):Ie=this.element(Me,et)}else!this.options.keepNullNodes&&we===null?Ie=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&ye.indexOf(this.stringify.convertTextKey)===0?Ie=this.text(we):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&ye.indexOf(this.stringify.convertCDataKey)===0?Ie=this.cdata(we):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&ye.indexOf(this.stringify.convertCommentKey)===0?Ie=this.comment(we):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&ye.indexOf(this.stringify.convertRawKey)===0?Ie=this.raw(we):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&ye.indexOf(this.stringify.convertPIKey)===0?Ie=this.instruction(ye.substr(this.stringify.convertPIKey.length),we):Ie=this.node(ye,Pe,we);if(Ie==null)throw new Error("Could not create any elements with: "+ye+". "+this.debugInfo());return Ie},be.prototype.insertBefore=function(ye,Pe,we){var Oe,Ce,_e,Ee,Me;if(ye!=null&&ye.type)return _e=ye,Ee=Pe,_e.setParent(this),Ee?(Ce=children.indexOf(Ee),Me=children.splice(Ce),children.push(_e),Array.prototype.push.apply(children,Me)):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),Me=this.parent.children.splice(Ce),Oe=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,Me),Oe},be.prototype.insertAfter=function(ye,Pe,we){var Oe,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),Oe=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,_e),Oe},be.prototype.remove=function(){var ye,Pe;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return ye=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[ye,ye-ye+1].concat(Pe=[])),this.parent},be.prototype.node=function(ye,Pe,we){var Oe,Ce;return ye!=null&&(ye=z(ye)),Pe||(Pe={}),Pe=z(Pe),me(Pe)||(Ce=[Pe,we],we=Ce[0],Pe=Ce[1]),Oe=new ne(this,ye,Pe),we!=null&&Oe.text(we),this.children.push(Oe),Oe},be.prototype.text=function(ye){var Pe;return me(ye)&&this.element(ye),Pe=new te(this,ye),this.children.push(Pe),this},be.prototype.cdata=function(ye){var Pe;return Pe=new ie(this,ye),this.children.push(Pe),this},be.prototype.comment=function(ye){var Pe;return Pe=new le(this,ye),this.children.push(Pe),this},be.prototype.commentBefore=function(ye){var Pe,we,Oe;return we=this.parent.children.indexOf(this),Oe=this.parent.children.splice(we),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,Oe),this},be.prototype.commentAfter=function(ye){var Pe,we,Oe;return we=this.parent.children.indexOf(this),Oe=this.parent.children.splice(we+1),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,Oe),this},be.prototype.raw=function(ye){var Pe;return Pe=new b(this,ye),this.children.push(Pe),this},be.prototype.dummy=function(){var ye;return ye=new oe(this),ye},be.prototype.instruction=function(ye,Pe){var we,Oe,Ce,_e,Ee;if(ye!=null&&(ye=z(ye)),Pe!=null&&(Pe=z(Pe)),Array.isArray(ye))for(_e=0,Ee=ye.length;_e<Ee;_e++)we=ye[_e],this.instruction(we);else if(me(ye))for(we in ye)pe.call(ye,we)&&(Oe=ye[we],this.instruction(we,Oe));else ge(Pe)&&(Pe=Pe.apply()),Ce=new x(this,ye,Pe),this.children.push(Ce);return this},be.prototype.instructionBefore=function(ye,Pe){var we,Oe,Ce;return Oe=this.parent.children.indexOf(this),Ce=this.parent.children.splice(Oe),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,Ce),this},be.prototype.instructionAfter=function(ye,Pe){var we,Oe,Ce;return Oe=this.parent.children.indexOf(this),Ce=this.parent.children.splice(Oe+1),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,Ce),this},be.prototype.declaration=function(ye,Pe,we){var Oe,Ce;return Oe=this.document(),Ce=new ce(Oe,ye,Pe,we),Oe.children.length===0?Oe.children.unshift(Ce):Oe.children[0].type===re.Declaration?Oe.children[0]=Ce:Oe.children.unshift(Ce),Oe.root()||Oe},be.prototype.dtd=function(ye,Pe){var we,Oe,Ce,_e,Ee,Me,Ie,Be,Re,tt;for(Oe=this.document(),Ce=new ae(Oe,ye,Pe),Re=Oe.children,_e=Ee=0,Ie=Re.length;Ee<Ie;_e=++Ee)if(we=Re[_e],we.type===re.DocType)return Oe.children[_e]=Ce,Ce;for(tt=Oe.children,_e=Me=0,Be=tt.length;Me<Be;_e=++Me)if(we=tt[_e],we.isRoot)return Oe.children.splice(_e,0,Ce),Ce;return Oe.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 Pe;return Pe=ye.root().clone(),Pe.parent=this,Pe.isRoot=!1,this.children.push(Pe),this},be.prototype.debugInfo=function(ye){var Pe,we;return ye=ye||this.name,ye==null&&!((Pe=this.parent)!=null&&Pe.name)?"":ye==null?"parent: <"+this.parent.name+">":(we=this.parent)!=null&&we.name?"node: <"+ye+">, parent: <"+this.parent.name+">":"node: <"+ye+">"},be.prototype.ele=function(ye,Pe,we){return this.element(ye,Pe,we)},be.prototype.nod=function(ye,Pe,we){return this.node(ye,Pe,we)},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,Pe){return this.instruction(ye,Pe)},be.prototype.doc=function(){return this.document()},be.prototype.dec=function(ye,Pe,we){return this.declaration(ye,Pe,we)},be.prototype.e=function(ye,Pe,we){return this.element(ye,Pe,we)},be.prototype.n=function(ye,Pe,we){return this.node(ye,Pe,we)},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,Pe){return this.instruction(ye,Pe)},be.prototype.u=function(){return this.up()},be.prototype.importXMLBuilder=function(ye){return this.importDocument(ye)},be.prototype.replaceChild=function(ye,Pe){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,Pe){return!0},be.prototype.hasAttributes=function(){return this.attribs.length!==0},be.prototype.compareDocumentPosition=function(ye){var Pe,we;return Pe=this,Pe===ye?0:this.document()!==ye.document()?(we=se.Disconnected|se.ImplementationSpecific,Math.random()<.5?we|=se.Preceding:we|=se.Following,we):Pe.isAncestor(ye)?se.Contains|se.Preceding:Pe.isDescendant(ye)?se.Contains|se.Following:Pe.isPreceding(ye)?se.Preceding:se.Following},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 Pe,we,Oe;if(ye.nodeType!==this.nodeType||ye.children.length!==this.children.length)return!1;for(Pe=we=0,Oe=this.children.length-1;0<=Oe?we<=Oe:we>=Oe;Pe=0<=Oe?++we:--we)if(!this.children[Pe].isEqualNode(ye.children[Pe]))return!1;return!0},be.prototype.getFeature=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.setUserData=function(ye,Pe,we){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 Pe,we,Oe,Ce,_e;for(_e=this.children,Oe=0,Ce=_e.length;Oe<Ce;Oe++)if(Pe=_e[Oe],ye===Pe||(we=Pe.isDescendant(ye),we))return!0;return!1},be.prototype.isAncestor=function(ye){return ye.isDescendant(this)},be.prototype.isPreceding=function(ye){var Pe,we;return Pe=this.treePosition(ye),we=this.treePosition(this),Pe===-1||we===-1?!1:Pe<we},be.prototype.isFollowing=function(ye){var Pe,we;return Pe=this.treePosition(ye),we=this.treePosition(this),Pe===-1||we===-1?!1:Pe>we},be.prototype.treePosition=function(ye){var Pe,we;return we=0,Pe=!1,this.foreachTreeNode(this.document(),function(Oe){if(we++,!Pe&&Oe===ye)return Pe=!0}),Pe?we:-1},be.prototype.foreachTreeNode=function(ye,Pe){var we,Oe,Ce,_e,Ee;for(ye||(ye=this.document()),_e=ye.children,Oe=0,Ce=_e.length;Oe<Ce;Oe++){if(we=_e[Oe],Ee=Pe(we))return Ee;if(Ee=this.foreachTreeNode(we,Pe),Ee)return Ee}},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,ve,de){(function(){var se;ve.exports=se=function(){function re(ie){this.nodes=ie}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(ie){return this.nodes[ie]||null},re}()}).call(this)},{}],452:[function(E,ve,de){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.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},ce={}.hasOwnProperty;se=E("./NodeType"),re=E("./XMLCharacterData"),ve.exports=ie=function(ae){le(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=se.ProcessingInstruction,this.target=this.stringify.insTarget(ee),this.name=this.target,a&&(this.value=this.stringify.insValue(a))}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(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,ve,de){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.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},ce={}.hasOwnProperty;se=E("./NodeType"),re=E("./XMLNode"),ve.exports=ie=function(ae){le(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=se.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,ve,de){(function(){var se,re,ie,le,ce=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;se=E("./NodeType"),le=E("./XMLWriterBase"),re=E("./WriterState"),ve.exports=ie=function(oe){ce(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,te,z,ue,ge,me,he;for(ge=ee.children,x=b=0,z=ge.length;b<z;x=++b)y=ge[x],y.isLastRootNode=x===ee.children.length-1;for(a=this.filterOptions(a),me=ee.children,he=[],te=0,ue=me.length;te<ue;te++)y=me[te],he.push(this.writeChildNode(y,a,0));return he},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,te,z;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,z=ee.children,b=0,te=z.length;b<te;b++)x=z[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,te,z,ue,ge,me,he,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(te=ee.children.length,z=te===0?null:ee.children[0],te===0||ee.children.every(function(ye){return(ye.type===se.Text||ye.type===se.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&&te===1&&(z.type===se.Text||z.type===se.Raw)&&z.value!=null)this.stream.write(">"),a.state=re.InsideTag,a.suppressPrettyCount++,he=!0,this.writeChildNode(z,a,y+1),a.suppressPrettyCount--,he=!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,ue=0,ge=be.length;ue<ge;ue++)b=be[ue],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}(le)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,ve,de){(function(){var se,re,ie=function(ce,ae){for(var oe in ae)le.call(ae,oe)&&(ce[oe]=ae[oe]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;re=E("./XMLWriterBase"),ve.exports=se=function(ce){ie(ae,ce);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,ve,de){(function(){var se,re=function(le,ce){return function(){return le.apply(ce,arguments)}},ie={}.hasOwnProperty;ve.exports=se=function(){function le(ce){this.assertLegalName=re(this.assertLegalName,this),this.assertLegalChar=re(this.assertLegalChar,this);var ae,oe,ne;ce||(ce={}),this.options=ce,this.options.version||(this.options.version="1.0"),oe=ce.stringify||{};for(ae in oe)ie.call(oe,ae)&&(ne=oe[ae],this[ae]=ne)}return le.prototype.name=function(ce){return this.options.noValidation?ce:this.assertLegalName(""+ce||"")},le.prototype.text=function(ce){return this.options.noValidation?ce:this.assertLegalChar(this.textEscape(""+ce||""))},le.prototype.cdata=function(ce){return this.options.noValidation?ce:(ce=""+ce||"",ce=ce.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(ce))},le.prototype.comment=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",ce.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+ce);return this.assertLegalChar(ce)},le.prototype.raw=function(ce){return this.options.noValidation?ce:""+ce||""},le.prototype.attValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(this.attEscape(ce=""+ce||""))},le.prototype.insTarget=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.insValue=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",ce.match(/\?>/))throw new Error("Invalid processing instruction value: "+ce);return this.assertLegalChar(ce)},le.prototype.xmlVersion=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",!ce.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+ce);return ce},le.prototype.xmlEncoding=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",!ce.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+ce);return this.assertLegalChar(ce)},le.prototype.xmlStandalone=function(ce){return this.options.noValidation?ce:ce?"yes":"no"},le.prototype.dtdPubID=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdSysID=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdElementValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdAttType=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdAttDefault=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdEntityValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdNData=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.convertAttKey="@",le.prototype.convertPIKey="?",le.prototype.convertTextKey="#text",le.prototype.convertCDataKey="#cdata",le.prototype.convertCommentKey="#comment",le.prototype.convertRawKey="#raw",le.prototype.assertLegalChar=function(ce){var ae,oe;if(this.options.noValidation)return ce;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=ce.match(ae))throw new Error("Invalid character in string: "+ce+" at index "+oe.index)}else if(this.options.version==="1.1"&&(ae=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ce.match(ae)))throw new Error("Invalid character in string: "+ce+" at index "+oe.index);return ce},le.prototype.assertLegalName=function(ce){var ae;if(this.options.noValidation)return ce;if(this.assertLegalChar(ce),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])*$/,!ce.match(ae))throw new Error("Invalid character in name");return ce},le.prototype.textEscape=function(ce){var ae;return this.options.noValidation?ce:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ce.replace(ae,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},le.prototype.attEscape=function(ce){var ae;return this.options.noValidation?ce:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ce.replace(ae,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},le}()}).call(this)},{}],457:[function(E,ve,de){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.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},ce={}.hasOwnProperty;se=E("./NodeType"),re=E("./XMLCharacterData"),ve.exports=ie=function(ae){le(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=se.Text,this.value=this.stringify.text(ee)}return Object.defineProperty(oe.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(oe.prototype,"wholeText",{get:function(){var 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,ve,de){(function(){var se,re,ie,le,ce,ae,oe,ne,ee,a,y,x,b,te,z,ue,ge,me={}.hasOwnProperty;ge=E("./Utility").assign,se=E("./NodeType"),ee=E("./XMLDeclaration"),a=E("./XMLDocType"),ie=E("./XMLCData"),le=E("./XMLComment"),x=E("./XMLElement"),te=E("./XMLRaw"),z=E("./XMLText"),b=E("./XMLProcessingInstruction"),y=E("./XMLDummy"),ce=E("./XMLDTDAttList"),ae=E("./XMLDTDElement"),oe=E("./XMLDTDEntity"),ne=E("./XMLDTDNotation"),re=E("./WriterState"),ve.exports=ue=function(){function he(pe){var be,ye,Pe;pe||(pe={}),this.options=pe,ye=pe.writer||{};for(be in ye)me.call(ye,be)&&(Pe=ye[be],this["_"+be]=this[be],this[be]=Pe)}return he.prototype.filterOptions=function(pe){var be,ye,Pe,we,Oe,Ce,_e,Ee;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=(Pe=pe.newline)!=null?Pe:`
|
|
|
`,be.offset=(we=pe.offset)!=null?we:0,be.dontPrettyTextNodes=(Oe=(Ce=pe.dontPrettyTextNodes)!=null?Ce:pe.dontprettytextnodes)!=null?Oe:0,be.spaceBeforeSlash=(_e=(Ee=pe.spaceBeforeSlash)!=null?Ee:pe.spacebeforeslash)!=null?_e:"",be.spaceBeforeSlash===!0&&(be.spaceBeforeSlash=" "),be.suppressPrettyCount=0,be.user={},be.state=re.None,be},he.prototype.indent=function(pe,be,ye){var Pe;return!be.pretty||be.suppressPrettyCount?"":be.pretty&&(Pe=(ye||0)+be.offset+1,Pe>0)?new Array(Pe).join(be.indent):""},he.prototype.endline=function(pe,be,ye){return!be.pretty||be.suppressPrettyCount?"":be.newline},he.prototype.attribute=function(pe,be,ye){var Pe;return this.openAttribute(pe,be,ye),Pe=" "+pe.name+'="'+pe.value+'"',this.closeAttribute(pe,be,ye),Pe},he.prototype.cdata=function(pe,be,ye){var Pe;return this.openNode(pe,be,ye),be.state=re.OpenTag,Pe=this.indent(pe,be,ye)+"<![CDATA[",be.state=re.InsideTag,Pe+=pe.value,be.state=re.CloseTag,Pe+="]]>"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Pe},he.prototype.comment=function(pe,be,ye){var Pe;return this.openNode(pe,be,ye),be.state=re.OpenTag,Pe=this.indent(pe,be,ye)+"<!-- ",be.state=re.InsideTag,Pe+=pe.value,be.state=re.CloseTag,Pe+=" -->"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Pe},he.prototype.declaration=function(pe,be,ye){var Pe;return this.openNode(pe,be,ye),be.state=re.OpenTag,Pe=this.indent(pe,be,ye)+"<?xml",be.state=re.InsideTag,Pe+=' version="'+pe.version+'"',pe.encoding!=null&&(Pe+=' encoding="'+pe.encoding+'"'),pe.standalone!=null&&(Pe+=' standalone="'+pe.standalone+'"'),be.state=re.CloseTag,Pe+=be.spaceBeforeSlash+"?>",Pe+=this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Pe},he.prototype.docType=function(pe,be,ye){var Pe,we,Oe,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,we=0,Oe=_e.length;we<Oe;we++)Pe=_e[we],Ce+=this.writeChildNode(Pe,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},he.prototype.element=function(pe,be,ye){var Pe,we,Oe,Ce,_e,Ee,Me,Ie,Be,Re,tt,Ye,et,Xe;ye||(ye=0),Re=!1,tt="",this.openNode(pe,be,ye),be.state=re.OpenTag,tt+=this.indent(pe,be,ye)+"<"+pe.name,Ye=pe.attribs;for(Be in Ye)me.call(Ye,Be)&&(Pe=Ye[Be],tt+=this.attribute(Pe,be,ye));if(Oe=pe.children.length,Ce=Oe===0?null:pe.children[0],Oe===0||pe.children.every(function(Ge){return(Ge.type===se.Text||Ge.type===se.Raw)&&Ge.value===""}))be.allowEmpty?(tt+=">",be.state=re.CloseTag,tt+="</"+pe.name+">"+this.endline(pe,be,ye)):(be.state=re.CloseTag,tt+=be.spaceBeforeSlash+"/>"+this.endline(pe,be,ye));else if(be.pretty&&Oe===1&&(Ce.type===se.Text||Ce.type===se.Raw)&&Ce.value!=null)tt+=">",be.state=re.InsideTag,be.suppressPrettyCount++,Re=!0,tt+=this.writeChildNode(Ce,be,ye+1),be.suppressPrettyCount--,Re=!1,be.state=re.CloseTag,tt+="</"+pe.name+">"+this.endline(pe,be,ye);else{if(be.dontPrettyTextNodes){for(et=pe.children,_e=0,Me=et.length;_e<Me;_e++)if(we=et[_e],(we.type===se.Text||we.type===se.Raw)&&we.value!=null){be.suppressPrettyCount++,Re=!0;break}}for(tt+=">"+this.endline(pe,be,ye),be.state=re.InsideTag,Xe=pe.children,Ee=0,Ie=Xe.length;Ee<Ie;Ee++)we=Xe[Ee],tt+=this.writeChildNode(we,be,ye+1);be.state=re.CloseTag,tt+=this.indent(pe,be,ye)+"</"+pe.name+">",Re&&be.suppressPrettyCount--,tt+=this.endline(pe,be,ye),be.state=re.None}return this.closeNode(pe,be,ye),tt},he.prototype.writeChildNode=function(pe,be,ye){switch(pe.type){case se.CData:return this.cdata(pe,be,ye);case se.Comment:return this.comment(pe,be,ye);case se.Element:return this.element(pe,be,ye);case se.Raw:return this.raw(pe,be,ye);case se.Text:return this.text(pe,be,ye);case se.ProcessingInstruction:return this.processingInstruction(pe,be,ye);case se.Dummy:return"";case se.Declaration:return this.declaration(pe,be,ye);case se.DocType:return this.docType(pe,be,ye);case se.AttributeDeclaration:return this.dtdAttList(pe,be,ye);case se.ElementDeclaration:return this.dtdElement(pe,be,ye);case se.EntityDeclaration:return this.dtdEntity(pe,be,ye);case se.NotationDeclaration:return this.dtdNotation(pe,be,ye);default:throw new Error("Unknown XML node type: "+pe.constructor.name)}},he.prototype.processingInstruction=function(pe,be,ye){var Pe;return this.openNode(pe,be,ye),be.state=re.OpenTag,Pe=this.indent(pe,be,ye)+"<?",be.state=re.InsideTag,Pe+=pe.target,pe.value&&(Pe+=" "+pe.value),be.state=re.CloseTag,Pe+=be.spaceBeforeSlash+"?>",Pe+=this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Pe},he.prototype.raw=function(pe,be,ye){var Pe;return this.openNode(pe,be,ye),be.state=re.OpenTag,Pe=this.indent(pe,be,ye),be.state=re.InsideTag,Pe+=pe.value,be.state=re.CloseTag,Pe+=this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Pe},he.prototype.text=function(pe,be,ye){var Pe;return this.openNode(pe,be,ye),be.state=re.OpenTag,Pe=this.indent(pe,be,ye),be.state=re.InsideTag,Pe+=pe.value,be.state=re.CloseTag,Pe+=this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Pe},he.prototype.dtdAttList=function(pe,be,ye){var Pe;return this.openNode(pe,be,ye),be.state=re.OpenTag,Pe=this.indent(pe,be,ye)+"<!ATTLIST",be.state=re.InsideTag,Pe+=" "+pe.elementName+" "+pe.attributeName+" "+pe.attributeType,pe.defaultValueType!=="#DEFAULT"&&(Pe+=" "+pe.defaultValueType),pe.defaultValue&&(Pe+=' "'+pe.defaultValue+'"'),be.state=re.CloseTag,Pe+=be.spaceBeforeSlash+">"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Pe},he.prototype.dtdElement=function(pe,be,ye){var Pe;return this.openNode(pe,be,ye),be.state=re.OpenTag,Pe=this.indent(pe,be,ye)+"<!ELEMENT",be.state=re.InsideTag,Pe+=" "+pe.name+" "+pe.value,be.state=re.CloseTag,Pe+=be.spaceBeforeSlash+">"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Pe},he.prototype.dtdEntity=function(pe,be,ye){var Pe;return this.openNode(pe,be,ye),be.state=re.OpenTag,Pe=this.indent(pe,be,ye)+"<!ENTITY",be.state=re.InsideTag,pe.pe&&(Pe+=" %"),Pe+=" "+pe.name,pe.value?Pe+=' "'+pe.value+'"':(pe.pubID&&pe.sysID?Pe+=' PUBLIC "'+pe.pubID+'" "'+pe.sysID+'"':pe.sysID&&(Pe+=' SYSTEM "'+pe.sysID+'"'),pe.nData&&(Pe+=" NDATA "+pe.nData)),be.state=re.CloseTag,Pe+=be.spaceBeforeSlash+">"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Pe},he.prototype.dtdNotation=function(pe,be,ye){var Pe;return this.openNode(pe,be,ye),be.state=re.OpenTag,Pe=this.indent(pe,be,ye)+"<!NOTATION",be.state=re.InsideTag,Pe+=" "+pe.name,pe.pubID&&pe.sysID?Pe+=' PUBLIC "'+pe.pubID+'" "'+pe.sysID+'"':pe.pubID?Pe+=' PUBLIC "'+pe.pubID+'"':pe.sysID&&(Pe+=' SYSTEM "'+pe.sysID+'"'),be.state=re.CloseTag,Pe+=be.spaceBeforeSlash+">"+this.endline(pe,be,ye),be.state=re.None,this.closeNode(pe,be,ye),Pe},he.prototype.openNode=function(pe,be,ye){},he.prototype.closeNode=function(pe,be,ye){},he.prototype.openAttribute=function(pe,be,ye){},he.prototype.closeAttribute=function(pe,be,ye){},he}()}).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,ve,de){(function(){var se,re,ie,le,ce,ae,oe,ne,ee,a;a=E("./Utility"),ne=a.assign,ee=a.isFunction,ie=E("./XMLDOMImplementation"),le=E("./XMLDocument"),ce=E("./XMLDocumentCB"),oe=E("./XMLStringWriter"),ae=E("./XMLStreamWriter"),se=E("./NodeType"),re=E("./WriterState"),ve.exports.create=function(y,x,b,te){var z,ue;if(y==null)throw new Error("Root element needs a name.");return te=ne({},x,b,te),z=new le(te),ue=z.element(y),te.headless||(z.declaration(te),(te.pubID!=null||te.sysID!=null)&&z.dtd(te)),ue},ve.exports.begin=function(y,x,b){var te;return ee(y)&&(te=[y,x],x=te[0],b=te[1],y={}),x?new ce(y,x,b):new le(y)},ve.exports.stringWriter=function(y){return new oe(y)},ve.exports.streamWriter=function(y,x){return new ae(y,x)},ve.exports.implementation=new ie,ve.exports.nodeType=se,ve.exports.writerState=re}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,ve,de){ve.exports=re;var se=Object.prototype.hasOwnProperty;function re(){for(var ie={},le=0;le<arguments.length;le++){var ce=arguments[le];for(var ae in ce)se.call(ce,ae)&&(ie[ae]=ce[ae])}return ie}},{}],461:[function(E,ve,de){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.array.slice.js");var se=E("buffer").Buffer,re=E("./sha"),ie=E("./md5"),le={sha1:re,md5:ie},ce=64,ae=se.alloc(ce);ae.fill(0);function oe(a,y,x){se.isBuffer(y)||(y=se.from(y)),se.isBuffer(x)||(x=se.from(x)),y.length>ce?y=a(y):y.length<ce&&(y=se.concat([y,ae],ce));for(var b=se.alloc(ce),te=se.alloc(ce),z=0;z<ce;z++)b[z]=y[z]^54,te[z]=y[z]^92;var ue=a(se.concat([b,x]));return a(se.concat([te,ue]))}function ne(a,y){a=a||"sha1";var x=le[a],b=[],te=0;return x||ee("algorithm:",a,"is not yet supported"),{update:function(ue){return se.isBuffer(ue)||(ue=se.from(ue)),b.push(ue),te+=ue.length,this},digest:function(ue){var ge=se.concat(b),me=y?oe(x,y,ge):x(ge);return b=null,ue?me.toString(ue):me}}}function ee(){var a=[].slice.call(arguments).join(" ");throw new Error([a,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}de.createHash=function(a){return ne(a)},de.createHmac=function(a,y){return ne(a,y)},de.createCredentials=function(){ee("sorry,createCredentials is not implemented yet")},de.createCipher=function(){ee("sorry,createCipher is not implemented yet")},de.createCipheriv=function(){ee("sorry,createCipheriv is not implemented yet")},de.createDecipher=function(){ee("sorry,createDecipher is not implemented yet")},de.createDecipheriv=function(){ee("sorry,createDecipheriv is not implemented yet")},de.createSign=function(){ee("sorry,createSign is not implemented yet")},de.createVerify=function(){ee("sorry,createVerify is not implemented yet")},de.createDiffieHellman=function(){ee("sorry,createDiffieHellman is not implemented yet")},de.pbkdf2=function(){ee("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(E,ve,de){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js");var se=E("buffer").Buffer,re=4,ie=se.alloc(re);ie.fill(0);var le=8;function ce(ne,ee){if(ne.length%re!==0){var a=ne.length+(re-ne.length%re);ne=se.concat([ne,ie],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=se.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){se.isBuffer(ne)||(ne=se.from(ne));var x=ee(ce(ne,y),ne.length*le);return ae(x,a,y)}ve.exports={hash:oe}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(E,ve,de){"use strict";var se=E("./helpers");function re(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ie(y,x){y[x>>5]|=128<<x%32,y[(x+64>>>9<<4)+14]=x;for(var b=1732584193,te=-271733879,z=-1732584194,ue=271733878,ge=0;ge<y.length;ge+=16){var me=b,he=te,pe=z,be=ue;b=ce(b,te,z,ue,y[ge+0],7,-680876936),ue=ce(ue,b,te,z,y[ge+1],12,-389564586),z=ce(z,ue,b,te,y[ge+2],17,606105819),te=ce(te,z,ue,b,y[ge+3],22,-1044525330),b=ce(b,te,z,ue,y[ge+4],7,-176418897),ue=ce(ue,b,te,z,y[ge+5],12,1200080426),z=ce(z,ue,b,te,y[ge+6],17,-1473231341),te=ce(te,z,ue,b,y[ge+7],22,-45705983),b=ce(b,te,z,ue,y[ge+8],7,1770035416),ue=ce(ue,b,te,z,y[ge+9],12,-1958414417),z=ce(z,ue,b,te,y[ge+10],17,-42063),te=ce(te,z,ue,b,y[ge+11],22,-1990404162),b=ce(b,te,z,ue,y[ge+12],7,1804603682),ue=ce(ue,b,te,z,y[ge+13],12,-40341101),z=ce(z,ue,b,te,y[ge+14],17,-1502002290),te=ce(te,z,ue,b,y[ge+15],22,1236535329),b=ae(b,te,z,ue,y[ge+1],5,-165796510),ue=ae(ue,b,te,z,y[ge+6],9,-1069501632),z=ae(z,ue,b,te,y[ge+11],14,643717713),te=ae(te,z,ue,b,y[ge+0],20,-373897302),b=ae(b,te,z,ue,y[ge+5],5,-701558691),ue=ae(ue,b,te,z,y[ge+10],9,38016083),z=ae(z,ue,b,te,y[ge+15],14,-660478335),te=ae(te,z,ue,b,y[ge+4],20,-405537848),b=ae(b,te,z,ue,y[ge+9],5,568446438),ue=ae(ue,b,te,z,y[ge+14],9,-1019803690),z=ae(z,ue,b,te,y[ge+3],14,-187363961),te=ae(te,z,ue,b,y[ge+8],20,1163531501),b=ae(b,te,z,ue,y[ge+13],5,-1444681467),ue=ae(ue,b,te,z,y[ge+2],9,-51403784),z=ae(z,ue,b,te,y[ge+7],14,1735328473),te=ae(te,z,ue,b,y[ge+12],20,-1926607734),b=oe(b,te,z,ue,y[ge+5],4,-378558),ue=oe(ue,b,te,z,y[ge+8],11,-2022574463),z=oe(z,ue,b,te,y[ge+11],16,1839030562),te=oe(te,z,ue,b,y[ge+14],23,-35309556),b=oe(b,te,z,ue,y[ge+1],4,-1530992060),ue=oe(ue,b,te,z,y[ge+4],11,1272893353),z=oe(z,ue,b,te,y[ge+7],16,-155497632),te=oe(te,z,ue,b,y[ge+10],23,-1094730640),b=oe(b,te,z,ue,y[ge+13],4,681279174),ue=oe(ue,b,te,z,y[ge+0],11,-358537222),z=oe(z,ue,b,te,y[ge+3],16,-722521979),te=oe(te,z,ue,b,y[ge+6],23,76029189),b=oe(b,te,z,ue,y[ge+9],4,-640364487),ue=oe(ue,b,te,z,y[ge+12],11,-421815835),z=oe(z,ue,b,te,y[ge+15],16,530742520),te=oe(te,z,ue,b,y[ge+2],23,-995338651),b=ne(b,te,z,ue,y[ge+0],6,-198630844),ue=ne(ue,b,te,z,y[ge+7],10,1126891415),z=ne(z,ue,b,te,y[ge+14],15,-1416354905),te=ne(te,z,ue,b,y[ge+5],21,-57434055),b=ne(b,te,z,ue,y[ge+12],6,1700485571),ue=ne(ue,b,te,z,y[ge+3],10,-1894986606),z=ne(z,ue,b,te,y[ge+10],15,-1051523),te=ne(te,z,ue,b,y[ge+1],21,-2054922799),b=ne(b,te,z,ue,y[ge+8],6,1873313359),ue=ne(ue,b,te,z,y[ge+15],10,-30611744),z=ne(z,ue,b,te,y[ge+6],15,-1560198380),te=ne(te,z,ue,b,y[ge+13],21,1309151649),b=ne(b,te,z,ue,y[ge+4],6,-145523070),ue=ne(ue,b,te,z,y[ge+11],10,-1120210379),z=ne(z,ue,b,te,y[ge+2],15,718787259),te=ne(te,z,ue,b,y[ge+9],21,-343485551),b=ee(b,me),te=ee(te,he),z=ee(z,pe),ue=ee(ue,be)}return Array(b,te,z,ue)}function le(y,x,b,te,z,ue){return ee(a(ee(ee(x,y),ee(te,ue)),z),b)}function ce(y,x,b,te,z,ue,ge){return le(x&b|~x&te,y,x,z,ue,ge)}function ae(y,x,b,te,z,ue,ge){return le(x&te|b&~te,y,x,z,ue,ge)}function oe(y,x,b,te,z,ue,ge){return le(x^b^te,y,x,z,ue,ge)}function ne(y,x,b,te,z,ue,ge){return le(b^(x|~te),y,x,z,ue,ge)}function ee(y,x){var b=(y&65535)+(x&65535),te=(y>>16)+(x>>16)+(b>>16);return te<<16|b&65535}function a(y,x){return y<<x|y>>>32-x}ve.exports=function(x){return se.hash(x,ie,16)}},{"./helpers":462}],464:[function(E,ve,de){"use strict";var se=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,te=-1009589776,z=0;z<oe.length;z+=16){for(var ue=a,ge=y,me=x,he=b,pe=te,be=0;be<80;be++){be<16?ee[be]=oe[z+be]:ee[be]=ae(ee[be-3]^ee[be-8]^ee[be-14]^ee[be-16],1);var ye=ce(ce(ae(a,5),ie(be,y,x,b)),ce(ce(te,ee[be]),le(be)));te=b,b=x,x=ae(y,30),y=a,a=ye}a=ce(a,ue),y=ce(y,ge),x=ce(x,me),b=ce(b,he),te=ce(te,pe)}return Array(a,y,x,b,te)}function ie(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 le(oe){return oe<20?1518500249:oe<40?1859775393:oe<60?-1894007588:-899497514}function ce(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}ve.exports=function(ne){return se.hash(ne,re,20,!0)}},{"./helpers":462}],465:[function(E,ve,de){"use strict";ve.exports=function(){return function(){}}},{}],466:[function(E,ve,de){(function(se){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),ie=re(E("@babel/runtime/helpers/typeof")),le=E("stream"),ce=le.Stream,ae=E("../lib/common/utils/isArray"),oe=ae.isArray;ve.exports.string=function(a){return typeof a=="string"},ve.exports.array=oe,ve.exports.buffer=se.isBuffer;function ne(ee){return ee instanceof ce}ve.exports.writableStream=function(a){return ne(a)&&typeof a._write=="function"&&(0,ie.default)(a._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(E,ve,de){"use strict";var se=E("immediate"),re=ve.exports={};re.nextTick=se,re.title="browser",re.browser=!0,re.env={},re.argv=[],re.version="",re.versions={};function ie(){}re.on=ie,re.addListener=ie,re.once=ie,re.off=ie,re.removeListener=ie,re.removeAllListeners=ie,re.emit=ie,re.prependListener=ie,re.prependOnceListener=ie,re.listeners=function(le){return[]},re.binding=function(le){throw new Error("process.binding is not supported")},re.cwd=function(){return"/"},re.chdir=function(le){throw new Error("process.chdir is not supported")},re.umask=function(){return 0}},{immediate:358}],468:[function(E,ve,de){(function(se){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var re=E("./lib/request"),ie=E("./lib/response"),le=E("xtend"),ce=E("builtin-status-codes"),ae=E("url"),oe=de;oe.request=function(ne,ee){typeof ne=="string"?ne=ae.parse(ne):ne=le(ne);var a=se.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ne.protocol||a,x=ne.hostname||ne.host,b=ne.port,te=ne.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ne.url=(x?y+"//"+x:"")+(b?":"+b:"")+te,ne.method=(ne.method||"GET").toUpperCase(),ne.headers=ne.headers||{};var z=new re(ne);return ee&&z.on("response",ee),z},oe.get=function(ee,a){var y=oe.request(ee,a);return y.end(),y},oe.ClientRequest=re,oe.IncomingMessage=ie.IncomingMessage,oe.Agent=function(){},oe.Agent.defaultMaxSockets=4,oe.globalAgent=new oe.Agent,oe.STATUS_CODES=ce,oe.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,ve,de){(function(se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),de.fetch=oe(se.fetch)&&oe(se.ReadableStream),de.writableStream=oe(se.WritableStream),de.abortController=oe(se.AbortController),de.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),de.blobConstructor=!0}catch(ne){}var re;function ie(){if(re!==void 0)return re;if(se.XMLHttpRequest){re=new se.XMLHttpRequest;try{re.open("GET",se.XDomainRequest?"/":"https://example.com")}catch(ne){re=null}}else re=null;return re}function le(ne){var ee=ie();if(!ee)return!1;try{return ee.responseType=ne,ee.responseType===ne}catch(a){}return!1}var ce=typeof se.ArrayBuffer!="undefined",ae=ce&&oe(se.ArrayBuffer.prototype.slice);de.arraybuffer=de.fetch||ce&&le("arraybuffer"),de.msstream=!de.fetch&&ae&&le("ms-stream"),de.mozchunkedarraybuffer=!de.fetch&&ce&&le("moz-chunked-arraybuffer"),de.overrideMimeType=de.fetch||(ie()?oe(ie().overrideMimeType):!1),de.vbArray=oe(se.VBArray);function oe(ne){return typeof ne=="function"}re=null}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(E,ve,de){(function(se,re,ie){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var le=E("./capability"),ce=E("inherits"),ae=E("./response"),oe=E("readable-stream"),ne=E("to-arraybuffer"),ee=ae.IncomingMessage,a=ae.readyStates;function y(z,ue){return le.fetch&&ue?"fetch":le.mozchunkedarraybuffer?"moz-chunked-arraybuffer":le.msstream?"ms-stream":le.arraybuffer&&z?"arraybuffer":le.vbArray&&z?"text:vbarray":"text"}var x=ve.exports=function(z){var ue=this;oe.Writable.call(ue),ue._opts=z,ue._body=[],ue._headers={},z.auth&&ue.setHeader("Authorization","Basic "+new ie(z.auth).toString("base64")),Object.keys(z.headers).forEach(function(he){ue.setHeader(he,z.headers[he])});var ge,me=!0;if(z.mode==="disable-fetch"||"requestTimeout"in z&&!le.abortController)me=!1,ge=!0;else if(z.mode==="prefer-streaming")ge=!1;else if(z.mode==="allow-wrong-content-type")ge=!le.overrideMimeType;else if(!z.mode||z.mode==="default"||z.mode==="prefer-fast")ge=!0;else throw new Error("Invalid value for opts.mode");ue._mode=y(ge,me),ue._fetchTimer=null,ue.on("finish",function(){ue._onFinish()})};ce(x,oe.Writable),x.prototype.setHeader=function(z,ue){var ge=this,me=z.toLowerCase();te.indexOf(me)===-1&&(ge._headers[me]={name:z,value:ue})},x.prototype.getHeader=function(z){var ue=this._headers[z.toLowerCase()];return ue?ue.value:null},x.prototype.removeHeader=function(z){var ue=this;delete ue._headers[z.toLowerCase()]},x.prototype._onFinish=function(){var z=this;if(!z._destroyed){var ue=z._opts,ge=z._headers,me=null;ue.method!=="GET"&&ue.method!=="HEAD"&&(le.arraybuffer?me=ne(ie.concat(z._body)):le.blobConstructor?me=new re.Blob(z._body.map(function(we){return ne(we)}),{type:(ge["content-type"]||{}).value||""}):me=ie.concat(z._body).toString());var he=[];if(Object.keys(ge).forEach(function(we){var Oe=ge[we].name,Ce=ge[we].value;Array.isArray(Ce)?Ce.forEach(function(_e){he.push([Oe,_e])}):he.push([Oe,Ce])}),z._mode==="fetch"){var pe=null,be=null;if(le.abortController){var ye=new AbortController;pe=ye.signal,z._fetchAbortController=ye,"requestTimeout"in ue&&ue.requestTimeout!==0&&(z._fetchTimer=re.setTimeout(function(){z.emit("requestTimeout"),z._fetchAbortController&&z._fetchAbortController.abort()},ue.requestTimeout))}re.fetch(z._opts.url,{method:z._opts.method,headers:he,body:me||void 0,mode:"cors",credentials:ue.withCredentials?"include":"same-origin",signal:pe}).then(function(we){z._fetchResponse=we,z._connect()},function(we){re.clearTimeout(z._fetchTimer),z._destroyed||z.emit("error",we)})}else{var Pe=z._xhr=new re.XMLHttpRequest;try{Pe.open(z._opts.method,z._opts.url,!0)}catch(we){se.nextTick(function(){z.emit("error",we)});return}"responseType"in Pe&&(Pe.responseType=z._mode.split(":")[0]),"withCredentials"in Pe&&(Pe.withCredentials=!!ue.withCredentials),z._mode==="text"&&"overrideMimeType"in Pe&&Pe.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ue&&(Pe.timeout=ue.requestTimeout,Pe.ontimeout=function(){z.emit("requestTimeout")}),he.forEach(function(we){Pe.setRequestHeader(we[0],we[1])}),z._response=null,Pe.onreadystatechange=function(){switch(Pe.readyState){case a.LOADING:case a.DONE:z._onXHRProgress();break}},z._mode==="moz-chunked-arraybuffer"&&(Pe.onprogress=function(){z._onXHRProgress()}),Pe.onerror=function(){z._destroyed||z.emit("error",new Error("XHR error"))};try{Pe.send(me)}catch(we){se.nextTick(function(){z.emit("error",we)});return}}}};function b(z){try{var ue=z.status;return ue!==null&&ue!==0}catch(ge){return!1}}x.prototype._onXHRProgress=function(){var z=this;!b(z._xhr)||z._destroyed||(z._response||z._connect(),z._response._onXHRProgress())},x.prototype._connect=function(){var z=this;z._destroyed||(z._response=new ee(z._xhr,z._fetchResponse,z._mode,z._fetchTimer),z._response.on("error",function(ue){z.emit("error",ue)}),z.emit("response",z._response))},x.prototype._write=function(z,ue,ge){var me=this;me._body.push(z),ge()},x.prototype.abort=x.prototype.destroy=function(){var z=this;z._destroyed=!0,re.clearTimeout(z._fetchTimer),z._response&&(z._response._destroyed=!0),z._xhr?z._xhr.abort():z._fetchAbortController&&z._fetchAbortController.abort()},x.prototype.end=function(z,ue,ge){var me=this;typeof z=="function"&&(ge=z,z=void 0),oe.Writable.prototype.end.call(me,z,ue,ge)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var te=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,ve,de){(function(se,re,ie){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var le=E("./capability"),ce=E("inherits"),ae=E("readable-stream"),oe=de.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ne=de.IncomingMessage=function(ee,a,y,x){var b=this;if(ae.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){se.nextTick(function(){b.emit("close")})}),y==="fetch"){var te=function pe(){ue.read().then(function(be){if(!b._destroyed){if(be.done){re.clearTimeout(x),b.push(null);return}b.push(new ie(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)}),le.writableStream){var z=new WritableStream({write:function(be){return new Promise(function(ye,Pe){b._destroyed?Pe():b.push(new ie(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(z).catch(function(pe){re.clearTimeout(x),b._destroyed||b.emit("error",pe)});return}catch(pe){}}var ue=a.body.getReader();te()}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",!le.overrideMimeType){var me=b.rawHeaders["mime-type"];if(me){var he=me.match(/;\s*charset=([^;])(;|$)/);he&&(b._charset=he[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};ce(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(ue){}if(y!==null){ee.push(new ie(y));break}case"text":try{y=a.responseText}catch(ue){ee._mode="text:vbarray";break}if(y.length>ee._pos){var x=y.substr(ee._pos);if(ee._charset==="x-user-defined"){for(var b=new ie(x.length),te=0;te<x.length;te++)b[te]=x.charCodeAt(te)&255;ee.push(b)}else ee.push(x,ee._charset);ee._pos=y.length}break;case"arraybuffer":if(a.readyState!==oe.DONE||!a.response)break;y=a.response,ee.push(new ie(new Uint8Array(y)));break;case"moz-chunked-arraybuffer":if(y=a.response,a.readyState!==oe.LOADING||!y)break;ee.push(new ie(new Uint8Array(y)));break;case"ms-stream":if(y=a.response,a.readyState!==oe.LOADING)break;var z=new re.MSStreamReader;z.onprogress=function(){z.result.byteLength>ee._pos&&(ee.push(new ie(new Uint8Array(z.result.slice(ee._pos)))),ee._pos=z.result.byteLength)},z.onload=function(){ee.push(null)},z.readAsArrayBuffer(y);break}ee._xhr.readyState===oe.DONE&&ee._mode!=="ms-stream"&&ee.push(null)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var ie=E("punycode"),le=E("./util");de.parse=be,de.resolve=Pe,de.resolveObject=we,de.format=ye,de.Url=ce;function ce(){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=["/","?","#"],te=255,z=/^[+a-z0-9A-Z_-]{0,63}$/,ue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ge={javascript:!0,"javascript:":!0},me={javascript:!0,"javascript:":!0},he={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(Oe,Ce,_e){if(Oe&&le.isObject(Oe)&&Oe instanceof ce)return Oe;var Ee=new ce;return Ee.parse(Oe,Ce,_e),Ee}ce.prototype.parse=function(Oe,Ce,_e){if(!le.isString(Oe))throw new TypeError("Parameter 'url' must be a string, not "+(0,re.default)(Oe));var Ee=Oe.indexOf("?"),Me=Ee!==-1&&Ee<Oe.indexOf("#")?"?":"#",Ie=Oe.split(Me),Be=/\\/g;Ie[0]=Ie[0].replace(Be,"/"),Oe=Ie.join(Me);var Re=Oe;if(Re=Re.trim(),!_e&&Oe.split("#").length===1){var tt=ne.exec(Re);if(tt)return this.path=Re,this.href=Re,this.pathname=tt[1],tt[2]?(this.search=tt[2],Ce?this.query=pe.parse(this.search.substr(1)):this.query=this.search.substr(1)):Ce&&(this.search="",this.query={}),this}var Ye=ae.exec(Re);if(Ye){Ye=Ye[0];var et=Ye.toLowerCase();this.protocol=et,Re=Re.substr(Ye.length)}if(_e||Ye||Re.match(/^\/\/[^@\/]+@[^@\/]+/)){var Xe=Re.substr(0,2)==="//";Xe&&!(Ye&&me[Ye])&&(Re=Re.substr(2),this.slashes=!0)}if(!me[Ye]&&(Xe||Ye&&!he[Ye])){for(var Ge=-1,Fe=0;Fe<b.length;Fe++){var je=Re.indexOf(b[Fe]);je!==-1&&(Ge===-1||je<Ge)&&(Ge=je)}var qe,Je;Ge===-1?Je=Re.lastIndexOf("@"):Je=Re.lastIndexOf("@",Ge),Je!==-1&&(qe=Re.slice(0,Je),Re=Re.slice(Je+1),this.auth=decodeURIComponent(qe)),Ge=-1;for(var Fe=0;Fe<x.length;Fe++){var je=Re.indexOf(x[Fe]);je!==-1&&(Ge===-1||je<Ge)&&(Ge=je)}Ge===-1&&(Ge=Re.length),this.host=Re.slice(0,Ge),Re=Re.slice(Ge),this.parseHost(),this.hostname=this.hostname||"";var it=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!it)for(var Qe=this.hostname.split("."),Fe=0,Ze=Qe.length;Fe<Ze;Fe++){var De=Qe[Fe];if(De&&!De.match(z)){for(var Ve="",Ae=0,ke=De.length;Ae<ke;Ae++)De.charCodeAt(Ae)>127?Ve+="x":Ve+=De[Ae];if(!Ve.match(z)){var $e=Qe.slice(0,Fe),Ke=Qe.slice(Fe+1),ze=De.match(ue);ze&&($e.push(ze[1]),Ke.unshift(ze[2])),Ke.length&&(Re="/"+Ke.join(".")+Re),this.hostname=$e.join(".");break}}}this.hostname.length>te?this.hostname="":this.hostname=this.hostname.toLowerCase(),it||(this.hostname=ie.toASCII(this.hostname));var Le=this.port?":"+this.port:"",Te=this.hostname||"";this.host=Te+Le,this.href+=this.host,it&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Re[0]!=="/"&&(Re="/"+Re))}if(!ge[et])for(var Fe=0,Ze=y.length;Fe<Ze;Fe++){var Ne=y[Fe];if(Re.indexOf(Ne)!==-1){var He=encodeURIComponent(Ne);He===Ne&&(He=escape(Ne)),Re=Re.split(Ne).join(He)}}var rt=Re.indexOf("#");rt!==-1&&(this.hash=Re.substr(rt),Re=Re.slice(0,rt));var mt=Re.indexOf("?");if(mt!==-1?(this.search=Re.substr(mt),this.query=Re.substr(mt+1),Ce&&(this.query=pe.parse(this.query)),Re=Re.slice(0,mt)):Ce&&(this.search="",this.query={}),Re&&(this.pathname=Re),he[et]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Le=this.pathname||"",vt=this.search||"";this.path=Le+vt}return this.href=this.format(),this};function ye(Oe){return le.isString(Oe)&&(Oe=be(Oe)),Oe instanceof ce?Oe.format():ce.prototype.format.call(Oe)}ce.prototype.format=function(){var Oe=this.auth||"";Oe&&(Oe=encodeURIComponent(Oe),Oe=Oe.replace(/%3A/i,":"),Oe+="@");var Ce=this.protocol||"",_e=this.pathname||"",Ee=this.hash||"",Me=!1,Ie="";this.host?Me=Oe+this.host:this.hostname&&(Me=Oe+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Me+=":"+this.port)),this.query&&le.isObject(this.query)&&Object.keys(this.query).length&&(Ie=pe.stringify(this.query));var Be=this.search||Ie&&"?"+Ie||"";return Ce&&Ce.substr(-1)!==":"&&(Ce+=":"),this.slashes||(!Ce||he[Ce])&&Me!==!1?(Me="//"+(Me||""),_e&&_e.charAt(0)!=="/"&&(_e="/"+_e)):Me||(Me=""),Ee&&Ee.charAt(0)!=="#"&&(Ee="#"+Ee),Be&&Be.charAt(0)!=="?"&&(Be="?"+Be),_e=_e.replace(/[?#]/g,function(Re){return encodeURIComponent(Re)}),Be=Be.replace("#","%23"),Ce+Me+_e+Be+Ee};function Pe(Oe,Ce){return be(Oe,!1,!0).resolve(Ce)}ce.prototype.resolve=function(Oe){return this.resolveObject(be(Oe,!1,!0)).format()};function we(Oe,Ce){return Oe?be(Oe,!1,!0).resolveObject(Ce):Ce}ce.prototype.resolveObject=function(Oe){if(le.isString(Oe)){var Ce=new ce;Ce.parse(Oe,!1,!0),Oe=Ce}for(var _e=new ce,Ee=Object.keys(this),Me=0;Me<Ee.length;Me++){var Ie=Ee[Me];_e[Ie]=this[Ie]}if(_e.hash=Oe.hash,Oe.href==="")return _e.href=_e.format(),_e;if(Oe.slashes&&!Oe.protocol){for(var Be=Object.keys(Oe),Re=0;Re<Be.length;Re++){var tt=Be[Re];tt!=="protocol"&&(_e[tt]=Oe[tt])}return he[_e.protocol]&&_e.hostname&&!_e.pathname&&(_e.path=_e.pathname="/"),_e.href=_e.format(),_e}if(Oe.protocol&&Oe.protocol!==_e.protocol){if(!he[Oe.protocol]){for(var Ye=Object.keys(Oe),et=0;et<Ye.length;et++){var Xe=Ye[et];_e[Xe]=Oe[Xe]}return _e.href=_e.format(),_e}if(_e.protocol=Oe.protocol,!Oe.host&&!me[Oe.protocol]){for(var Ze=(Oe.pathname||"").split("/");Ze.length&&!(Oe.host=Ze.shift()););Oe.host||(Oe.host=""),Oe.hostname||(Oe.hostname=""),Ze[0]!==""&&Ze.unshift(""),Ze.length<2&&Ze.unshift(""),_e.pathname=Ze.join("/")}else _e.pathname=Oe.pathname;if(_e.search=Oe.search,_e.query=Oe.query,_e.host=Oe.host||"",_e.auth=Oe.auth,_e.hostname=Oe.hostname||Oe.host,_e.port=Oe.port,_e.pathname||_e.search){var Ge=_e.pathname||"",Fe=_e.search||"";_e.path=Ge+Fe}return _e.slashes=_e.slashes||Oe.slashes,_e.href=_e.format(),_e}var je=_e.pathname&&_e.pathname.charAt(0)==="/",qe=Oe.host||Oe.pathname&&Oe.pathname.charAt(0)==="/",Je=qe||je||_e.host&&Oe.pathname,it=Je,Qe=_e.pathname&&_e.pathname.split("/")||[],Ze=Oe.pathname&&Oe.pathname.split("/")||[],De=_e.protocol&&!he[_e.protocol];if(De&&(_e.hostname="",_e.port=null,_e.host&&(Qe[0]===""?Qe[0]=_e.host:Qe.unshift(_e.host)),_e.host="",Oe.protocol&&(Oe.hostname=null,Oe.port=null,Oe.host&&(Ze[0]===""?Ze[0]=Oe.host:Ze.unshift(Oe.host)),Oe.host=null),Je=Je&&(Ze[0]===""||Qe[0]==="")),qe)_e.host=Oe.host||Oe.host===""?Oe.host:_e.host,_e.hostname=Oe.hostname||Oe.hostname===""?Oe.hostname:_e.hostname,_e.search=Oe.search,_e.query=Oe.query,Qe=Ze;else if(Ze.length)Qe||(Qe=[]),Qe.pop(),Qe=Qe.concat(Ze),_e.search=Oe.search,_e.query=Oe.query;else if(!le.isNullOrUndefined(Oe.search)){if(De){_e.hostname=_e.host=Qe.shift();var Ve=_e.host&&_e.host.indexOf("@")>0?_e.host.split("@"):!1;Ve&&(_e.auth=Ve.shift(),_e.host=_e.hostname=Ve.shift())}return _e.search=Oe.search,_e.query=Oe.query,(!le.isNull(_e.pathname)||!le.isNull(_e.search))&&(_e.path=(_e.pathname?_e.pathname:"")+(_e.search?_e.search:"")),_e.href=_e.format(),_e}if(!Qe.length)return _e.pathname=null,_e.search?_e.path="/"+_e.search:_e.path=null,_e.href=_e.format(),_e;for(var Ae=Qe.slice(-1)[0],ke=(_e.host||Oe.host||Qe.length>1)&&(Ae==="."||Ae==="..")||Ae==="",$e=0,Ke=Qe.length;Ke>=0;Ke--)Ae=Qe[Ke],Ae==="."?Qe.splice(Ke,1):Ae===".."?(Qe.splice(Ke,1),$e++):$e&&(Qe.splice(Ke,1),$e--);if(!Je&&!it)for(;$e--;$e)Qe.unshift("..");Je&&Qe[0]!==""&&(!Qe[0]||Qe[0].charAt(0)!=="/")&&Qe.unshift(""),ke&&Qe.join("/").substr(-1)!=="/"&&Qe.push("");var ze=Qe[0]===""||Qe[0]&&Qe[0].charAt(0)==="/";if(De){_e.hostname=_e.host=ze?"":Qe.length?Qe.shift():"";var Ve=_e.host&&_e.host.indexOf("@")>0?_e.host.split("@"):!1;Ve&&(_e.auth=Ve.shift(),_e.host=_e.hostname=Ve.shift())}return Je=Je||_e.host&&Qe.length,Je&&!ze&&Qe.unshift(""),Qe.length?_e.pathname=Qe.join("/"):(_e.pathname=null,_e.path=null),(!le.isNull(_e.pathname)||!le.isNull(_e.search))&&(_e.path=(_e.pathname?_e.pathname:"")+(_e.search?_e.search:"")),_e.auth=Oe.auth||_e.auth,_e.slashes=_e.slashes||Oe.slashes,_e.href=_e.format(),_e},ce.prototype.parseHost=function(){var Oe=this.host,Ce=oe.exec(Oe);Ce&&(Ce=Ce[0],Ce!==":"&&(this.port=Ce.substr(1)),Oe=Oe.substr(0,Oe.length-Ce.length)),Oe&&(this.hostname=Oe)}},{"./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,ve,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/helpers/typeof"));ve.exports={isString:function(le){return typeof le=="string"},isObject:function(le){return(0,re.default)(le)==="object"&&le!==null},isNull:function(le){return le===null},isNullOrUndefined:function(le){return le==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,ve,de){"use strict";E("core-js/modules/es.number.constructor.js"),de.encodeURIComponent=function(se){try{return encodeURIComponent(se)}catch(re){return se}},de.escape=E("escape-html"),de.timestamp=function(re){if(re){var ie=re;return typeof ie=="string"&&(ie=Number(ie)),String(re).length===10&&(ie*=1e3),new Date(ie)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,ve,de){(function(se,re){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),le=ie(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var ce=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 te(me,he){return me===void 0?he:me}function z(me){return me?me.split(";")[0].trim().toLowerCase():""}function ue(me,he){return function(pe,be,ye){if(pe)return he(pe);me({data:be,status:ye.statusCode,headers:ye.headers,res:ye})}}de.TIMEOUTS=[a("300s"),a("300s")];var ge=["json","text"];de.request=function(he,pe,be){return arguments.length===2&&typeof pe=="function"&&(be=pe,pe=null),typeof be=="function"?de.requestWithCallback(he,pe,be):new Promise(function(ye,Pe){de.requestWithCallback(he,pe,ue(ye,Pe))})},de.requestWithCallback=function(he,pe,be){if(!he||typeof he!="string"&&(0,le.default)(he)!=="object"){var ye=ce.format("expect request url to be a string or a http request options, but got %j",he);throw new Error(ye)}arguments.length===2&&typeof pe=="function"&&(be=pe,pe=null),pe=pe||{},y>=x&&(y=0);var Pe=++y;pe.requestUrls=pe.requestUrls||[];var we={requestId:Pe,url:he,args:pe,ctx:pe.ctx};pe.emitter&&pe.emitter.emit("request",we),pe.timeout=pe.timeout||de.TIMEOUTS,pe.maxRedirects=pe.maxRedirects||10,pe.streaming=pe.streaming||pe.customResponse;var Oe=Date.now(),Ce;typeof he=="string"?(b.test(he)||(he="https://"+he),Ce=ae.parse(he)):Ce=he;var _e=(pe.type||pe.method||Ce.method||"GET").toUpperCase(),Ee=Ce.port||80,Me=oe,Ie=te(pe.agent,de.agent),Be=pe.fixJSONCtlChars;Ce.protocol==="https:"&&(Me=ne,Ie=te(pe.httpsAgent,de.httpsAgent),Ce.port||(Ee=443));var Re={host:Ce.hostname||Ce.host||"localhost",path:Ce.path||"/",method:_e,port:Ee,agent:Ie,headers:pe.headers||{},lookup:pe.lookup};Array.isArray(pe.timeout)?Re.requestTimeout=pe.timeout[pe.timeout.length-1]:typeof pe.timeout!="undefined"&&(Re.requestTimeout=pe.timeout);var tt=pe.auth||Ce.auth;tt&&(Re.auth=tt);var Ye=pe.content||pe.data,et=_e==="GET"||_e==="HEAD"||pe.dataAsQueryString;if(!pe.content&&Ye&&!(typeof Ye=="string"||re.isBuffer(Ye)))if(et)Ye=pe.nestedQuerystring?qs.stringify(Ye):querystring.stringify(Ye);else{var Xe=Re.headers["Content-Type"]||Re.headers["content-type"];Xe||(pe.contentType==="json"?Xe="application/json":Xe="application/x-www-form-urlencoded",Re.headers["Content-Type"]=Xe),z(Xe)==="application/json"?Ye=JSON.stringify(Ye):Ye=pe.nestedQuerystring?qs.stringify(Ye):querystring.stringify(Ye)}et&&Ye&&(Re.path+=(Ce.query?"&":"?")+Ye,Ye=null);var Ge=0;if(Ye){var Fe=Ye.length;re.isBuffer(Ye)||(Fe=re.byteLength(Ye)),Ge=Re.headers["Content-Length"]=Fe}pe.dataType==="json"&&(Re.headers.Accept="application/json"),typeof pe.beforeRequest=="function"&&pe.beforeRequest(Re);var je=null,qe=null,Je=null,it=!1,Qe=!1,Ze=0,De=-1,Ve=!1,Ae="",ke="",$e=null;pe.timing&&($e={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ke(){je&&(clearTimeout(je),je=null)}function ze(){qe&&(clearTimeout(qe),qe=null)}function Le(at,Tt,st){if(ze(),!be){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Pe,se.pid,Re.method,he),at&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),Pe,se.pid,at.name,at.message,at.stack);return}var pt=be;be=null;var Pt={};st&&(De=st.statusCode,Pt=st.headers);var wt=Date.now()-Oe;$e&&($e.contentDownload=wt),ee("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",wt,Ze,De,Re.method,Re.host,Re.path,Qe,$e);var Lt={status:De,statusCode:De,headers:Pt,size:Ze,aborted:Ve,rt:wt,keepAliveSocket:Qe,data:Tt,requestUrls:pe.requestUrls,timing:$e,remoteAddress:Ae,remotePort:ke};if(at){var $t="";Ie&&typeof Ie.getCurrentStatus=="function"&&($t=", agent status: "+JSON.stringify(Ie.getCurrentStatus())),at.message+=", "+Re.method+" "+he+" "+De+" (connected: "+it+", keepalive socket: "+Qe+$t+`)
|
|
|
headers: `+JSON.stringify(Pt),at.data=Tt,at.path=Re.path,at.status=De,at.headers=Pt,at.res=Lt}pt(at,Tt,pe.streaming?st:Lt),pe.emitter&&(we.url=he,we.socket=Et&&Et.connection,we.options=Re,we.size=Ge,pe.emitter.emit("response",{requestId:Pe,error:at,ctx:pe.ctx,req:we,res:Lt}))}function Te(at){var Tt=null;if(pe.followRedirect&&statuses.redirect[at.statusCode]){pe._followRedirectCount=(pe._followRedirectCount||0)+1;var st=at.headers.location;if(!st)Tt=new Error("Got statusCode "+at.statusCode+" but cannot resolve next location from headers"),Tt.name="FollowRedirectError";else if(pe._followRedirectCount>pe.maxRedirects)Tt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+he),Tt.name="MaxRedirectError";else{var pt=pe.formatRedirectUrl?pe.formatRedirectUrl(he,st):ae.resolve(he,st);ee("Request#%d %s: `redirected` from %s to %s",Pe,Re.path,he,pt),ze(),pe.headers&&pe.headers.Host&&b.test(st)&&(pe.headers.Host=null);var Pt=be;return be=null,de.requestWithCallback(pt,pe,Pt),{redirect:!0,error:null}}}return{redirect:!1,error:Tt}}pe.gzip&&!Re.headers["Accept-Encoding"]&&!Re.headers["accept-encoding"]&&(Re.headers["Accept-Encoding"]="gzip");function Ne(at,Tt,st){var pt=at.headers["content-encoding"];return st(null,Tt,pt)}var He=pe.writeStream;ee("Request#%d %s %s with headers %j, options.path: %s",Pe,_e,he,Re.headers,Re.path),pe.requestUrls.push(he);function rt(at){if($e&&($e.waiting=Date.now()-Oe),ee("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,he,at.statusCode,at.headers),pe.streaming){var Tt=Te(at);if(Tt.redirect){at.resume();return}return Tt.error?(at.resume(),Le(Tt.error,null,at)):Le(null,null,at)}if(at.on("close",function(){ee("Request#%d %s: `res close` event emit, total size %d",Pe,he,Ze)}),at.on("error",function(){ee("Request#%d %s: `res error` event emit, total size %d",Pe,he,Ze)}),at.on("aborted",function(){Ve=!0,ee("Request#%d %s: `res aborted` event emit, total size %d",Pe,he,Ze)}),He){var st=Te(at);if(st.redirect){at.resume();return}return st.error?(at.resume(),He.end(),Le(st.error,null,at)):(pe.consumeWriteStream===!1?at.on("end",Le.bind(null,null,null,at)):He.on("close",function(){ee("Request#%d %s: writeStream close event emitted",Pe,he),Le(Je||null,null,at)}),at.pipe(He))}var pt=[];at.on("data",function(Pt){ee("Request#%d %s: `res data` event emit, size %d",Pe,he,Pt.length),Ze+=Pt.length,pt.push(Pt)}),at.on("end",function(){var Pt=re.concat(pt,Ze);if(ee("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,he,Ze,at._dumped),Je)return Le(Je,Pt,at);var wt=Te(at);if(wt.error)return Le(wt.error,Pt,at);wt.redirect||Ne(at,Pt,function(Lt,$t,nn){if(Lt)return Le(Lt,Pt,at);if(!nn&&ge.indexOf(pe.dataType)>=0){try{$t=decodeBodyByCharset($t,at)}catch(Cn){return ee("decodeBodyByCharset error: %s",Cn),Le(null,$t,at)}if(pe.dataType==="json")if(Ze===0)$t=null;else{var un=parseJSON($t,Be);un.error?Lt=un.error:$t=un.data}}Ve&&ee("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,he),Le(Lt,$t,at)})})}var mt,vt;Array.isArray(pe.timeout)?(mt=a(pe.timeout[0]),vt=a(pe.timeout[1])):mt=vt=a(pe.timeout),ee("ConnectTimeout: %d, ResponseTimeout: %d",mt,vt);function nt(){ee("Connect timer ticking, timeout: %d",mt),je=setTimeout(function(){je=null,De===-1&&(De=-2);var at="Connect timeout for "+mt+"ms",Tt="ConnectionTimeoutError";Et.socket||(Tt="SocketAssignTimeoutError",at+=", working sockets is full"),Je=new Error(at),Je.name=Tt,Je.requestId=Pe,ee("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,he,Je.name,at,it),Ot()},mt)}function ut(){ee("Response timer ticking, timeout: %d",vt),qe=setTimeout(function(){qe=null;var at="Response timeout for "+vt+"ms",Tt="ResponseTimeoutError";Je=new Error(at),Je.name=Tt,Je.requestId=Pe,ee("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,he,Je.name,at,it),Ot()},vt)}var Et;Re.mode=pe.mode?pe.mode:"";try{Et=Me.request(Re,rt)}catch(at){return Le(at)}typeof window=="undefined"?nt():Et.on("requestTimeout",function(){De===-1&&(De=-2);var at="Connect timeout for "+mt+"ms",Tt="ConnectionTimeoutError";Je=new Error(at),Je.name=Tt,Je.requestId=Pe,Ot()});function Ot(){ee("Request#%d %s abort, connected: %s",Pe,he,it),Et.socket||(Je.noSocket=!0,Le(Je)),Et.abort()}return $e&&Et.on("finish",function(){$e.requestSent=Date.now()-Oe}),Et.once("socket",function(at){$e&&($e.queuing=Date.now()-Oe);var Tt=at.readyState;if(Tt==="opening"){at.once("lookup",function(st,pt,Pt){ee("Request#%d %s lookup: %s, %s, %s",Pe,he,st,pt,Pt),$e&&($e.dnslookup=Date.now()-Oe),pt&&(Ae=pt)}),at.once("connect",function(){$e&&($e.connected=Date.now()-Oe),Ke(),ut(),ee("Request#%d %s new socket connected",Pe,he),it=!0,Ae||(Ae=at.remoteAddress),ke=at.remotePort});return}ee("Request#%d %s reuse socket connected, readyState: %s",Pe,he,Tt),it=!0,Qe=!0,Ae||(Ae=at.remoteAddress),ke=at.remotePort,Ke(),ut()}),Et.on("error",function(at){(at.name==="Error"||at.name==="TypeError")&&(at.name=it?"ResponseError":"RequestError"),at.message+=' (req "error")',ee("Request#%d %s `req error` event emit, %s: %s",Pe,he,at.name,at.message),Le(Je||at)}),He&&He.once("error",function(at){at.message+=' (writeStream "error")',Je=at,ee("Request#%d %s `writeStream error` event emit, %s: %s",Pe,he,at.name,at.message),Ot()}),pe.stream?(pe.stream.pipe(Et),pe.stream.once("error",function(at){at.message+=' (stream "error")',Je=at,ee("Request#%d %s `readStream error` event emit, %s: %s",Pe,he,at.name,at.message),Ot()})):Et.end(Ye),Et.requestId=Pe,Et}}).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(_t,dt){"use strict";function fe(){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(ve=>{const de=E[ve];de!==void 0&&(Se[ve]=de)})}return Se}dt.Z=fe},81643:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return Se}});const Se=xe=>xe?typeof xe=="function"?xe():xe:null},66367:function(_t,dt,fe){"use strict";fe.d(dt,{F:function(){return Se},Z:function(){return xe}});function Se(E){return E!=null&&E===E.window}function xe(E,ve){var de,se;if(typeof window=="undefined")return 0;const re=ve?"scrollTop":"scrollLeft";let ie=0;return Se(E)?ie=E[ve?"pageYOffset":"pageXOffset"]:E instanceof Document?ie=E.documentElement[re]:(E instanceof HTMLElement||E)&&(ie=E[re]),E&&!Se(E)&&typeof ie!="number"&&(ie=(se=((de=E.ownerDocument)!==null&&de!==void 0?de:E).documentElement)===null||se===void 0?void 0:se[re]),ie}},57838:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return xe}});var Se=fe(67294);function xe(){const[,E]=Se.useReducer(ve=>ve+1,0);return E}},58375:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return ve}});var Se=fe(96523);function xe(de,se,re,ie){const le=re-se;return de/=ie/2,de<1?le/2*de*de*de+se:le/2*((de-=2)*de*de+2)+se}var E=fe(66367);function ve(de){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:ie,duration:le=450}=se,ce=re(),ae=(0,E.Z)(ce,!0),oe=Date.now(),ne=()=>{const a=Date.now()-oe,y=xe(a>le?le:a,ae,de,le);(0,E.F)(ce)?ce.scrollTo(window.pageXOffset,y):ce instanceof Document||ce.constructor.name==="HTMLDocument"?ce.documentElement.scrollTop=y:ce.scrollTop=y,a<le?(0,Se.Z)(ne):typeof ie=="function"&&ie()};(0,Se.Z)(ne)}},84567:function(_t,dt,fe){"use strict";fe.d(dt,{default:function(){return he}});var Se=fe(94184),xe=fe.n(Se),E=fe(95860),ve=fe(67294),de=fe(53124),se=fe(98866),re=fe(65223),le=ve.createContext(null),ce=fe(63185),ae=fe(45353),oe=fe(92429),ne=function(pe,be){var ye={};for(var Pe in pe)Object.prototype.hasOwnProperty.call(pe,Pe)&&be.indexOf(Pe)<0&&(ye[Pe]=pe[Pe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Pe=Object.getOwnPropertySymbols(pe);we<Pe.length;we++)be.indexOf(Pe[we])<0&&Object.prototype.propertyIsEnumerable.call(pe,Pe[we])&&(ye[Pe[we]]=pe[Pe[we]]);return ye};const ee=(pe,be)=>{var ye;const{prefixCls:Pe,className:we,rootClassName:Oe,children:Ce,indeterminate:_e=!1,style:Ee,onMouseEnter:Me,onMouseLeave:Ie,skipGroup:Be=!1,disabled:Re}=pe,tt=ne(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ye,direction:et,checkbox:Xe}=ve.useContext(de.E_),Ge=ve.useContext(le),{isFormItemInput:Fe}=ve.useContext(re.aM),je=ve.useContext(se.Z),qe=(ye=(Ge==null?void 0:Ge.disabled)||Re)!==null&&ye!==void 0?ye:je,Je=ve.useRef(tt.value);ve.useEffect(()=>{Ge==null||Ge.registerValue(tt.value)},[]),ve.useEffect(()=>{if(!Be)return tt.value!==Je.current&&(Ge==null||Ge.cancelValue(Je.current),Ge==null||Ge.registerValue(tt.value),Je.current=tt.value),()=>Ge==null?void 0:Ge.cancelValue(tt.value)},[tt.value]);const it=Ye("checkbox",Pe),[Qe,Ze]=(0,ce.ZP)(it),De=Object.assign({},tt);Ge&&!Be&&(De.onChange=function(){tt.onChange&&tt.onChange.apply(tt,arguments),Ge.toggleOption&&Ge.toggleOption({label:Ce,value:tt.value})},De.name=Ge.name,De.checked=Ge.value.includes(tt.value));const Ve=xe()(`${it}-wrapper`,{[`${it}-rtl`]:et==="rtl",[`${it}-wrapper-checked`]:De.checked,[`${it}-wrapper-disabled`]:qe,[`${it}-wrapper-in-form-item`]:Fe},Xe==null?void 0:Xe.className,we,Oe,Ze),Ae=xe()({[`${it}-indeterminate`]:_e},oe.A,Ze),ke=_e?"mixed":void 0;return Qe(ve.createElement(ae.Z,{component:"Checkbox",disabled:qe},ve.createElement("label",{className:Ve,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Ee),onMouseEnter:Me,onMouseLeave:Ie},ve.createElement(E.Z,Object.assign({"aria-checked":ke},De,{prefixCls:it,className:Ae,disabled:qe,ref:be})),Ce!==void 0&&ve.createElement("span",null,Ce))))};var y=ve.forwardRef(ee),x=fe(74902),b=fe(10366),te=function(pe,be){var ye={};for(var Pe in pe)Object.prototype.hasOwnProperty.call(pe,Pe)&&be.indexOf(Pe)<0&&(ye[Pe]=pe[Pe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Pe=Object.getOwnPropertySymbols(pe);we<Pe.length;we++)be.indexOf(Pe[we])<0&&Object.prototype.propertyIsEnumerable.call(pe,Pe[we])&&(ye[Pe[we]]=pe[Pe[we]]);return ye};const z=(pe,be)=>{const{defaultValue:ye,children:Pe,options:we=[],prefixCls:Oe,className:Ce,rootClassName:_e,style:Ee,onChange:Me}=pe,Ie=te(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Be,direction:Re}=ve.useContext(de.E_),[tt,Ye]=ve.useState(Ie.value||ye||[]),[et,Xe]=ve.useState([]);ve.useEffect(()=>{"value"in Ie&&Ye(Ie.value||[])},[Ie.value]);const Ge=ve.useMemo(()=>we.map($e=>typeof $e=="string"||typeof $e=="number"?{label:$e,value:$e}:$e),[we]),Fe=$e=>{Xe(Ke=>Ke.filter(ze=>ze!==$e))},je=$e=>{Xe(Ke=>[].concat((0,x.Z)(Ke),[$e]))},qe=$e=>{const Ke=tt.indexOf($e.value),ze=(0,x.Z)(tt);Ke===-1?ze.push($e.value):ze.splice(Ke,1),"value"in Ie||Ye(ze),Me==null||Me(ze.filter(Le=>et.includes(Le)).sort((Le,Te)=>{const Ne=Ge.findIndex(rt=>rt.value===Le),He=Ge.findIndex(rt=>rt.value===Te);return Ne-He}))},Je=Be("checkbox",Oe),it=`${Je}-group`,[Qe,Ze]=(0,ce.ZP)(Je),De=(0,b.Z)(Ie,["value","disabled"]),Ve=we.length?Ge.map($e=>ve.createElement(y,{prefixCls:Je,key:$e.value.toString(),disabled:"disabled"in $e?$e.disabled:Ie.disabled,value:$e.value,checked:tt.includes($e.value),onChange:$e.onChange,className:`${it}-item`,style:$e.style,title:$e.title},$e.label)):Pe,Ae={toggleOption:qe,value:tt,disabled:Ie.disabled,name:Ie.name,registerValue:je,cancelValue:Fe},ke=xe()(it,{[`${it}-rtl`]:Re==="rtl"},Ce,_e,Ze);return Qe(ve.createElement("div",Object.assign({className:ke,style:Ee},De,{ref:be}),ve.createElement(le.Provider,{value:Ae},Ve)))},ue=ve.forwardRef(z);var ge=ve.memo(ue);const me=y;me.Group=ge,me.__ANT_CHECKBOX=!0;var he=me},63185:function(_t,dt,fe){"use strict";fe.d(dt,{C2:function(){return de}});var Se=fe(14747),xe=fe(45503),E=fe(67968);const ve=se=>{const{checkboxCls:re}=se,ie=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,Se.Wf)(se)),{display:"inline-flex",flexWrap:"wrap",columnGap:se.marginXS,[`> ${se.antCls}-row`]:{flex:1}}),[ie]:Object.assign(Object.assign({},(0,Se.Wf)(se)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ie}`]:{marginInlineStart:0},[`&${ie}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,Se.Wf)(se)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:se.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)(se))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:se.checkboxSize,height:se.checkboxSize,direction:"ltr",backgroundColor:se.colorBgContainer,border:`${se.lineWidth}px ${se.lineType} ${se.colorBorder}`,borderRadius:se.borderRadiusSM,borderCollapse:"separate",transition:`all ${se.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:se.checkboxSize/14*5,height:se.checkboxSize/14*8,border:`${se.lineWidthBold}px solid ${se.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${se.motionDurationFast} ${se.motionEaseInBack}, opacity ${se.motionDurationFast}`}},"& + span":{paddingInlineStart:se.paddingXS,paddingInlineEnd:se.paddingXS}})},{[`
|
|
|
${ie}:not(${ie}-disabled),
|
|
|
${re}:not(${re}-disabled)
|
|
|
`]:{[`&:hover ${re}-inner`]:{borderColor:se.colorPrimary}},[`${ie}:not(${ie}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:se.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:se.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:se.colorPrimary,borderColor:se.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${se.motionDurationMid} ${se.motionEaseOutBack} ${se.motionDurationFast}`}}},[`
|
|
|
${ie}-checked:not(${ie}-disabled),
|
|
|
${re}-checked:not(${re}-disabled)
|
|
|
`]:{[`&:hover ${re}-inner`]:{backgroundColor:se.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:se.colorBgContainer,borderColor:se.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:se.fontSizeLG/2,height:se.fontSizeLG/2,backgroundColor:se.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ie}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:se.colorBgContainerDisabled,borderColor:se.colorBorder,"&:after":{borderColor:se.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:se.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:se.colorTextDisabled}}}]};function de(se,re){const ie=(0,xe.TS)(re,{checkboxCls:`.${se}`,checkboxSize:re.controlInteractiveSize});return[ve(ie)]}dt.ZP=(0,E.Z)("Checkbox",(se,re)=>{let{prefixCls:ie}=re;return[de(ie,se)]})},47221:function(_t,dt,fe){"use strict";fe.d(dt,{default:function(){return De}});var Se=fe(91034),xe=fe(94184),E=fe.n(xe),ve=fe(97685),de=fe(74902),se=fe(71002),re=fe(21770),ie=fe(80334),le=fe(67294),ce=fe(87462),ae=fe(45987),oe=fe(50344),ne=fe(4942),ee=fe(62874),a=fe(15105),y=le.forwardRef(function(Ve,Ae){var ke,$e=Ve.prefixCls,Ke=Ve.forceRender,ze=Ve.className,Le=Ve.style,Te=Ve.children,Ne=Ve.isActive,He=Ve.role,rt=le.useState(Ne||Ke),mt=(0,ve.Z)(rt,2),vt=mt[0],nt=mt[1];return le.useEffect(function(){(Ke||Ne)&&nt(!0)},[Ke,Ne]),vt?le.createElement("div",{ref:Ae,className:E()("".concat($e,"-content"),(ke={},(0,ne.Z)(ke,"".concat($e,"-content-active"),Ne),(0,ne.Z)(ke,"".concat($e,"-content-inactive"),!Ne),ke),ze),style:Le,role:He},le.createElement("div",{className:"".concat($e,"-content-box")},Te)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],te=le.forwardRef(function(Ve,Ae){var ke,$e,Ke=Ve.showArrow,ze=Ke===void 0?!0:Ke,Le=Ve.headerClass,Te=Ve.isActive,Ne=Ve.onItemClick,He=Ve.forceRender,rt=Ve.className,mt=Ve.prefixCls,vt=Ve.collapsible,nt=Ve.accordion,ut=Ve.panelKey,Et=Ve.extra,Ot=Ve.header,at=Ve.expandIcon,Tt=Ve.openMotion,st=Ve.destroyInactivePanel,pt=Ve.children,Pt=(0,ae.Z)(Ve,b),wt=vt==="disabled",Lt=vt==="header",$t=vt==="icon",nn=Et!=null&&typeof Et!="boolean",un=function(){Ne==null||Ne(ut)},Cn=function(Gr){(Gr.key==="Enter"||Gr.keyCode===a.Z.ENTER||Gr.which===a.Z.ENTER)&&un()},Sn=typeof at=="function"?at(Ve):le.createElement("i",{className:"arrow"});Sn&&(Sn=le.createElement("div",{className:"".concat(mt,"-expand-icon"),onClick:["header","icon"].includes(vt)?un:void 0},Sn));var Kn=E()((ke={},(0,ne.Z)(ke,"".concat(mt,"-item"),!0),(0,ne.Z)(ke,"".concat(mt,"-item-active"),Te),(0,ne.Z)(ke,"".concat(mt,"-item-disabled"),wt),ke),rt),nr=E()(Le,($e={},(0,ne.Z)($e,"".concat(mt,"-header"),!0),(0,ne.Z)($e,"".concat(mt,"-header-collapsible-only"),Lt),(0,ne.Z)($e,"".concat(mt,"-icon-collapsible-only"),$t),$e)),fr={className:nr,"aria-expanded":Te,"aria-disabled":wt,onKeyDown:Cn};return!Lt&&!$t&&(fr.onClick=un,fr.role=nt?"tab":"button",fr.tabIndex=wt?-1:0),le.createElement("div",(0,ce.Z)({},Pt,{ref:Ae,className:Kn}),le.createElement("div",fr,ze&&Sn,le.createElement("span",{className:"".concat(mt,"-header-text"),onClick:vt==="header"?un:void 0},Ot),nn&&le.createElement("div",{className:"".concat(mt,"-extra")},Et)),le.createElement(ee.Z,(0,ce.Z)({visible:Te,leavedClassName:"".concat(mt,"-content-hidden")},Tt,{forceRender:He,removeOnLeave:st}),function(Ur,Gr){var zr=Ur.className,Ir=Ur.style;return le.createElement(x,{ref:Gr,prefixCls:mt,className:zr,style:Ir,isActive:Te,forceRender:He,role:nt?"tabpanel":void 0},pt)}))}),z=te,ue=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ge=function(Ae,ke){var $e=ke.prefixCls,Ke=ke.accordion,ze=ke.collapsible,Le=ke.destroyInactivePanel,Te=ke.onItemClick,Ne=ke.activeKey,He=ke.openMotion,rt=ke.expandIcon;return Ae.map(function(mt,vt){var nt=mt.children,ut=mt.label,Et=mt.key,Ot=mt.collapsible,at=mt.onItemClick,Tt=mt.destroyInactivePanel,st=(0,ae.Z)(mt,ue),pt=String(Et!=null?Et:vt),Pt=Ot!=null?Ot:ze,wt=Tt!=null?Tt:Le,Lt=function(un){Pt!=="disabled"&&(Te(un),at==null||at(un))},$t=!1;return Ke?$t=Ne[0]===pt:$t=Ne.indexOf(pt)>-1,le.createElement(z,(0,ce.Z)({},st,{prefixCls:$e,key:pt,panelKey:pt,isActive:$t,accordion:Ke,openMotion:He,expandIcon:rt,header:ut,collapsible:Pt,onItemClick:Lt,destroyInactivePanel:wt}),nt)})},me=function(Ae,ke,$e){if(!Ae)return null;var Ke=$e.prefixCls,ze=$e.accordion,Le=$e.collapsible,Te=$e.destroyInactivePanel,Ne=$e.onItemClick,He=$e.activeKey,rt=$e.openMotion,mt=$e.expandIcon,vt=Ae.key||String(ke),nt=Ae.props,ut=nt.header,Et=nt.headerClass,Ot=nt.destroyInactivePanel,at=nt.collapsible,Tt=nt.onItemClick,st=!1;ze?st=He[0]===vt:st=He.indexOf(vt)>-1;var pt=at!=null?at:Le,Pt=function($t){pt!=="disabled"&&(Ne($t),Tt==null||Tt($t))},wt={key:vt,panelKey:vt,header:ut,headerClass:Et,isActive:st,prefixCls:Ke,destroyInactivePanel:Ot!=null?Ot:Te,openMotion:rt,accordion:ze,children:Ae.props.children,onItemClick:Pt,expandIcon:mt,collapsible:pt};return typeof Ae.type=="string"?Ae:(Object.keys(wt).forEach(function(Lt){typeof wt[Lt]=="undefined"&&delete wt[Lt]}),le.cloneElement(Ae,wt))};function he(Ve,Ae,ke){return Array.isArray(Ve)?ge(Ve,ke):(0,oe.Z)(Ae).map(function($e,Ke){return me($e,Ke,ke)})}var pe=he;function be(Ve){var Ae=Ve;if(!Array.isArray(Ae)){var ke=(0,se.Z)(Ae);Ae=ke==="number"||ke==="string"?[Ae]:[]}return Ae.map(function($e){return String($e)})}var ye=le.forwardRef(function(Ve,Ae){var ke=Ve.prefixCls,$e=ke===void 0?"rc-collapse":ke,Ke=Ve.destroyInactivePanel,ze=Ke===void 0?!1:Ke,Le=Ve.style,Te=Ve.accordion,Ne=Ve.className,He=Ve.children,rt=Ve.collapsible,mt=Ve.openMotion,vt=Ve.expandIcon,nt=Ve.activeKey,ut=Ve.defaultActiveKey,Et=Ve.onChange,Ot=Ve.items,at=E()($e,Ne),Tt=(0,re.Z)([],{value:nt,onChange:function(nn){return Et==null?void 0:Et(nn)},defaultValue:ut,postState:be}),st=(0,ve.Z)(Tt,2),pt=st[0],Pt=st[1],wt=function(nn){return Pt(function(){if(Te)return pt[0]===nn?[]:[nn];var un=pt.indexOf(nn),Cn=un>-1;return Cn?pt.filter(function(Sn){return Sn!==nn}):[].concat((0,de.Z)(pt),[nn])})};(0,ie.ZP)(!He,"`children` will be removed in next major version. Please use `items` instead.");var Lt=pe(Ot,He,{prefixCls:$e,accordion:Te,openMotion:mt,expandIcon:vt,collapsible:rt,destroyInactivePanel:ze,onItemClick:wt,activeKey:pt});return le.createElement("div",{ref:Ae,className:at,style:Le,role:Te?"tablist":void 0},Lt)}),Pe=Object.assign(ye,{Panel:z}),we=Pe,Oe=Pe.Panel,Ce=fe(37419),_e=fe(10366),Ee=fe(33603),Me=fe(96159),Ie=fe(53124),Be=fe(98675),tt=le.forwardRef((Ve,Ae)=>{const{getPrefixCls:ke}=le.useContext(Ie.E_),{prefixCls:$e,className:Ke,showArrow:ze=!0}=Ve,Le=ke("collapse",$e),Te=E()({[`${Le}-no-arrow`]:!ze},Ke);return le.createElement(we.Panel,Object.assign({ref:Ae},Ve,{prefixCls:Le,className:Te}))}),Ye=fe(14747),et=fe(33507),Xe=fe(67968),Ge=fe(45503);const Fe=Ve=>{const{componentCls:Ae,contentBg:ke,padding:$e,headerBg:Ke,headerPadding:ze,collapseHeaderPaddingSM:Le,collapseHeaderPaddingLG:Te,collapsePanelBorderRadius:Ne,lineWidth:He,lineType:rt,colorBorder:mt,colorText:vt,colorTextHeading:nt,colorTextDisabled:ut,fontSize:Et,fontSizeLG:Ot,lineHeight:at,marginSM:Tt,paddingSM:st,paddingLG:pt,paddingXS:Pt,motionDurationSlow:wt,fontSizeIcon:Lt,contentPadding:$t}=Ve,nn=`${He}px ${rt} ${mt}`;return{[Ae]:Object.assign(Object.assign({},(0,Ye.Wf)(Ve)),{backgroundColor:Ke,border:nn,borderBottom:0,borderRadius:`${Ne}px`,"&-rtl":{direction:"rtl"},[`& > ${Ae}-item`]:{borderBottom:nn,"&:last-child":{[`
|
|
|
&,
|
|
|
& > ${Ae}-header`]:{borderRadius:`0 0 ${Ne}px ${Ne}px`}},[`> ${Ae}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:ze,color:nt,lineHeight:at,cursor:"pointer",transition:`all ${wt}, visibility 0s`,[`> ${Ae}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ae}-expand-icon`]:{height:Et*at,display:"flex",alignItems:"center",paddingInlineEnd:Tt},[`${Ae}-arrow`]:Object.assign(Object.assign({},(0,Ye.Ro)()),{fontSize:Lt,svg:{transition:`transform ${wt}`}}),[`${Ae}-header-text`]:{marginInlineEnd:"auto"}},[`${Ae}-header-collapsible-only`]:{cursor:"default",[`${Ae}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Ae}-icon-collapsible-only`]:{cursor:"default",[`${Ae}-expand-icon`]:{cursor:"pointer"}}},[`${Ae}-content`]:{color:vt,backgroundColor:ke,borderTop:nn,[`& > ${Ae}-content-box`]:{padding:$t},"&-hidden":{display:"none"}},"&-small":{[`> ${Ae}-item`]:{[`> ${Ae}-header`]:{padding:Le,paddingInlineStart:Pt,[`> ${Ae}-expand-icon`]:{marginInlineStart:st-Pt}},[`> ${Ae}-content > ${Ae}-content-box`]:{padding:st}}},"&-large":{[`> ${Ae}-item`]:{fontSize:Ot,[`> ${Ae}-header`]:{padding:Te,paddingInlineStart:$e,[`> ${Ae}-expand-icon`]:{height:Ot*at,marginInlineStart:pt-$e}},[`> ${Ae}-content > ${Ae}-content-box`]:{padding:pt}}},[`${Ae}-item:last-child`]:{[`> ${Ae}-content`]:{borderRadius:`0 0 ${Ne}px ${Ne}px`}},[`& ${Ae}-item-disabled > ${Ae}-header`]:{"\n &,\n & > .arrow\n ":{color:ut,cursor:"not-allowed"}},[`&${Ae}-icon-position-end`]:{[`& > ${Ae}-item`]:{[`> ${Ae}-header`]:{[`${Ae}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Tt}}}}})}},je=Ve=>{const{componentCls:Ae}=Ve,ke=`> ${Ae}-item > ${Ae}-header ${Ae}-arrow svg`;return{[`${Ae}-rtl`]:{[ke]:{transform:"rotate(180deg)"}}}},qe=Ve=>{const{componentCls:Ae,headerBg:ke,paddingXXS:$e,colorBorder:Ke}=Ve;return{[`${Ae}-borderless`]:{backgroundColor:ke,border:0,[`> ${Ae}-item`]:{borderBottom:`1px solid ${Ke}`},[`
|
|
|
> ${Ae}-item:last-child,
|
|
|
> ${Ae}-item:last-child ${Ae}-header
|
|
|
`]:{borderRadius:0},[`> ${Ae}-item:last-child`]:{borderBottom:0},[`> ${Ae}-item > ${Ae}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Ae}-item > ${Ae}-content > ${Ae}-content-box`]:{paddingTop:$e}}}},Je=Ve=>{const{componentCls:Ae,paddingSM:ke}=Ve;return{[`${Ae}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ae}-item`]:{borderBottom:0,[`> ${Ae}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ae}-content-box`]:{paddingBlock:ke}}}}}};var it=(0,Xe.Z)("Collapse",Ve=>{const Ae=(0,Ge.TS)(Ve,{collapseHeaderPaddingSM:`${Ve.paddingXS}px ${Ve.paddingSM}px`,collapseHeaderPaddingLG:`${Ve.padding}px ${Ve.paddingLG}px`,collapsePanelBorderRadius:Ve.borderRadiusLG});return[Fe(Ae),qe(Ae),Je(Ae),je(Ae),(0,et.Z)(Ae)]},Ve=>({headerPadding:`${Ve.paddingSM}px ${Ve.padding}px`,headerBg:Ve.colorFillAlter,contentPadding:`${Ve.padding}px 16px`,contentBg:Ve.colorBgContainer})),Ze=Object.assign(le.forwardRef((Ve,Ae)=>{const{getPrefixCls:ke,direction:$e,collapse:Ke}=le.useContext(Ie.E_),{prefixCls:ze,className:Le,rootClassName:Te,style:Ne,bordered:He=!0,ghost:rt,size:mt,expandIconPosition:vt="start",children:nt,expandIcon:ut}=Ve,Et=(0,Be.Z)(nn=>{var un;return(un=mt!=null?mt:nn)!==null&&un!==void 0?un:"middle"}),Ot=ke("collapse",ze),at=ke(),[Tt,st]=it(Ot),pt=le.useMemo(()=>vt==="left"?"start":vt==="right"?"end":vt,[vt]),Pt=function(){let nn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const un=ut?ut(nn):le.createElement(Se.Z,{rotate:nn.isActive?90:void 0});return(0,Me.Tm)(un,()=>({className:E()(un.props.className,`${Ot}-arrow`)}))},wt=E()(`${Ot}-icon-position-${pt}`,{[`${Ot}-borderless`]:!He,[`${Ot}-rtl`]:$e==="rtl",[`${Ot}-ghost`]:!!rt,[`${Ot}-${Et}`]:Et!=="middle"},Ke==null?void 0:Ke.className,Le,Te,st),Lt=Object.assign(Object.assign({},(0,Ee.Z)(at)),{motionAppear:!1,leavedClassName:`${Ot}-content-hidden`}),$t=le.useMemo(()=>nt?(0,Ce.Z)(nt).map((nn,un)=>{var Cn,Sn;if(!((Cn=nn.props)===null||Cn===void 0)&&Cn.disabled){const Kn=(Sn=nn.key)!==null&&Sn!==void 0?Sn:String(un),{disabled:nr,collapsible:fr}=nn.props,Ur=Object.assign(Object.assign({},(0,_e.Z)(nn.props,["disabled"])),{key:Kn,collapsible:fr!=null?fr:nr?"disabled":void 0});return(0,Me.Tm)(nn,Ur)}return nn}):null,[nt]);return Tt(le.createElement(we,Object.assign({ref:Ae,openMotion:Lt},(0,_e.Z)(Ve,["rootClassName"]),{expandIcon:Pt,prefixCls:Ot,className:wt,style:Object.assign(Object.assign({},Ke==null?void 0:Ke.style),Ne)}),$t))}),{Panel:tt}),De=Ze},72565:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return zo}});var Se=fe(94184),xe=fe.n(Se),E=fe(1413),ve=fe(97685),de=fe(67294),se=fe(73935);function re(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ie={};function le(Mt,At){}function ce(Mt,At){}function ae(){ie={}}function oe(Mt,At,rn){!At&&!ie[rn]&&(Mt(!1,rn),ie[rn]=!0)}function ne(Mt,At){oe(le,Mt,At)}function ee(Mt,At){oe(ce,Mt,At)}var a=null,y=fe(71002),x=fe(18459);function b(Mt,At,rn){var Ut=de.useRef({});return(!("value"in Ut.current)||rn(Ut.current.condition,At))&&(Ut.current.value=Mt(),Ut.current.condition=At),Ut.current.value}function te(Mt,At){typeof Mt=="function"?Mt(At):(0,y.Z)(Mt)==="object"&&Mt&&"current"in Mt&&(Mt.current=At)}function z(){for(var Mt=arguments.length,At=new Array(Mt),rn=0;rn<Mt;rn++)At[rn]=arguments[rn];var Ut=At.filter(function(On){return On});return Ut.length<=1?Ut[0]:function(On){At.forEach(function(er){te(er,On)})}}function ue(){for(var Mt=arguments.length,At=new Array(Mt),rn=0;rn<Mt;rn++)At[rn]=arguments[rn];return b(function(){return z.apply(void 0,At)},At,function(Ut,On){return Ut.length===On.length&&Ut.every(function(er,vr){return er===On[vr]})})}function ge(Mt){var At,rn,Ut=(0,x.isMemo)(Mt)?Mt.type.type:Mt.type;return!(typeof Ut=="function"&&!((At=Ut.prototype)!==null&&At!==void 0&&At.render)||typeof Mt=="function"&&!((rn=Mt.prototype)!==null&&rn!==void 0&&rn.render))}var me=de.createContext(null),he=me,pe=fe(74902),be=re()?de.useLayoutEffect:de.useEffect,ye=be,Pe=function(At,rn){var Ut=React.useRef(!0);be(function(){if(!Ut.current)return At()},rn),be(function(){return Ut.current=!1,function(){Ut.current=!0}},[])},we=[];function Oe(Mt,At){var rn=de.useState(function(){if(!re())return null;var Ht=document.createElement("div");return Ht}),Ut=(0,ve.Z)(rn,1),On=Ut[0],er=de.useRef(!1),vr=de.useContext(he),xr=de.useState(we),Nr=(0,ve.Z)(xr,2),no=Nr[0],Kr=Nr[1],Pr=vr||(er.current?void 0:function(Ht){Kr(function(sn){var gt=[Ht].concat((0,pe.Z)(sn));return gt})});function Qn(){On.parentElement||document.body.appendChild(On),er.current=!0}function jt(){var Ht;(Ht=On.parentElement)===null||Ht===void 0||Ht.removeChild(On),er.current=!1}return ye(function(){return Mt?vr?vr(Qn):Qn():jt(),jt},[Mt]),ye(function(){no.length&&(no.forEach(function(Ht){return Ht()}),Kr(we))},[no]),[On,Pr]}function Ce(Mt,At){if(!Mt)return!1;if(Mt.contains)return Mt.contains(At);for(var rn=At;rn;){if(rn===Mt)return!0;rn=rn.parentNode}return!1}var _e="data-rc-order",Ee="rc-util-key",Me=new Map;function Ie(){var Mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},At=Mt.mark;return At?At.startsWith("data-")?At:"data-".concat(At):Ee}function Be(Mt){if(Mt.attachTo)return Mt.attachTo;var At=document.querySelector("head");return At||document.body}function Re(Mt){return Mt==="queue"?"prependQueue":Mt?"prepend":"append"}function tt(Mt){return Array.from((Me.get(Mt)||Mt).children).filter(function(At){return At.tagName==="STYLE"})}function Ye(Mt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!re())return null;var rn=At.csp,Ut=At.prepend,On=document.createElement("style");On.setAttribute(_e,Re(Ut)),rn!=null&&rn.nonce&&(On.nonce=rn==null?void 0:rn.nonce),On.innerHTML=Mt;var er=Be(At),vr=er.firstChild;if(Ut){if(Ut==="queue"){var xr=tt(er).filter(function(Nr){return["prepend","prependQueue"].includes(Nr.getAttribute(_e))});if(xr.length)return er.insertBefore(On,xr[xr.length-1].nextSibling),On}er.insertBefore(On,vr)}else er.appendChild(On);return On}function et(Mt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},rn=Be(At);return tt(rn).find(function(Ut){return Ut.getAttribute(Ie(At))===Mt})}function Xe(Mt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},rn=et(Mt,At);if(rn){var Ut=Be(At);Ut.removeChild(rn)}}function Ge(Mt,At){var rn=Me.get(Mt);if(!rn||!Ce(document,rn)){var Ut=Ye("",At),On=Ut.parentNode;Me.set(Mt,On),Mt.removeChild(Ut)}}function Fe(){Me.clear()}function je(Mt,At){var rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ut=Be(rn);Ge(Ut,rn);var On=et(At,rn);if(On){var er,vr;if((er=rn.csp)!==null&&er!==void 0&&er.nonce&&On.nonce!==((vr=rn.csp)===null||vr===void 0?void 0:vr.nonce)){var xr;On.nonce=(xr=rn.csp)===null||xr===void 0?void 0:xr.nonce}return On.innerHTML!==Mt&&(On.innerHTML=Mt),On}var Nr=Ye(Mt,rn);return Nr.setAttribute(Ie(rn),At),Nr}var qe;function Je(Mt){if(typeof document=="undefined")return 0;if(Mt||qe===void 0){var At=document.createElement("div");At.style.width="100%",At.style.height="200px";var rn=document.createElement("div"),Ut=rn.style;Ut.position="absolute",Ut.top="0",Ut.left="0",Ut.pointerEvents="none",Ut.visibility="hidden",Ut.width="200px",Ut.height="150px",Ut.overflow="hidden",rn.appendChild(At),document.body.appendChild(rn);var On=At.offsetWidth;rn.style.overflow="scroll";var er=At.offsetWidth;On===er&&(er=rn.clientWidth),document.body.removeChild(rn),qe=On-er}return qe}function it(Mt){var At=Mt.match(/^(.*)px$/),rn=Number(At==null?void 0:At[1]);return Number.isNaN(rn)?Je():rn}function Qe(Mt){if(typeof document=="undefined"||!Mt||!(Mt instanceof Element))return{width:0,height:0};var At=getComputedStyle(Mt,"::-webkit-scrollbar"),rn=At.width,Ut=At.height;return{width:it(rn),height:it(Ut)}}function Ze(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var De="rc-util-locker-".concat(Date.now()),Ve=0;function Ae(Mt){var At=!!Mt,rn=de.useState(function(){return Ve+=1,"".concat(De,"_").concat(Ve)}),Ut=(0,ve.Z)(rn,1),On=Ut[0];ye(function(){if(At){var er=Qe(document.body).width,vr=Ze();je(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(vr?"width: calc(100% - ".concat(er,"px);"):"",`
|
|
|
}`),On)}else Xe(On);return function(){Xe(On)}},[At,On])}var ke=!1;function $e(Mt){return typeof Mt=="boolean"&&(ke=Mt),ke}var Ke=function(At){return At===!1?!1:!re()||!At?null:typeof At=="string"?document.querySelector(At):typeof At=="function"?At():At},ze=de.forwardRef(function(Mt,At){var rn=Mt.open,Ut=Mt.autoLock,On=Mt.getContainer,er=Mt.debug,vr=Mt.autoDestroy,xr=vr===void 0?!0:vr,Nr=Mt.children,no=de.useState(rn),Kr=(0,ve.Z)(no,2),Pr=Kr[0],Qn=Kr[1],jt=Pr||rn;de.useEffect(function(){(xr||rn)&&Qn(rn)},[rn,xr]);var Ht=de.useState(function(){return Ke(On)}),sn=(0,ve.Z)(Ht,2),gt=sn[0],cn=sn[1];de.useEffect(function(){var Ln=Ke(On);cn(Ln!=null?Ln:null)});var wn=Oe(jt&&!gt,er),Hn=(0,ve.Z)(wn,2),Vt=Hn[0],en=Hn[1],Jt=gt!=null?gt:Vt;Ae(Ut&&rn&&re()&&(Jt===Vt||Jt===document.body));var Gn=null;if(Nr&&ge(Nr)&&At){var St=Nr;Gn=St.ref}var Ft=ue(Gn,At);if(!jt||!re()||gt===void 0)return null;var Xt=Jt===!1||$e(),_n=Nr;return At&&(_n=de.cloneElement(Nr,{ref:Ft})),de.createElement(he.Provider,{value:en},Xt?_n:(0,se.createPortal)(_n,Jt))}),Le=ze,Te=Le;function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var He=Ne()?de.useLayoutEffect:de.useEffect,rt=function(At,rn){var Ut=de.useRef(!0);He(function(){return At(Ut.current)},rn),He(function(){return Ut.current=!1,function(){Ut.current=!0}},[])},mt=function(At,rn){rt(function(Ut){if(!Ut)return At()},rn)},vt=rt,nt=de.createContext(null),ut=de.createContext({}),Et=nt,Ot=fe(4942),at=fe(87462),Tt=fe(62874),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(At){var rn=At.keyCode;if(At.altKey&&!At.ctrlKey||At.metaKey||rn>=st.F1&&rn<=st.F12)return!1;switch(rn){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(At){if(At>=st.ZERO&&At<=st.NINE||At>=st.NUM_ZERO&&At<=st.NUM_MULTIPLY||At>=st.A&&At<=st.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&At===0)return!0;switch(At){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}}},pt=st,Pt=`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`,Lt="".concat(Pt," ").concat(wt).split(/[\s\n]+/),$t="aria-",nn="data-";function un(Mt,At){return Mt.indexOf(At)===0}function Cn(Mt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,rn;At===!1?rn={aria:!0,data:!0,attr:!0}:At===!0?rn={aria:!0}:rn=(0,E.Z)({},At);var Ut={};return Object.keys(Mt).forEach(function(On){(rn.aria&&(On==="role"||un(On,$t))||rn.data&&un(On,nn)||rn.attr&&Lt.includes(On))&&(Ut[On]=Mt[On])}),Ut}function Sn(Mt){var At=React.useRef();At.current=Mt;var rn=React.useCallback(function(){for(var Ut,On=arguments.length,er=new Array(On),vr=0;vr<On;vr++)er[vr]=arguments[vr];return(Ut=At.current)===null||Ut===void 0?void 0:Ut.call.apply(Ut,[At].concat(er))},[]);return rn}function Kn(Mt){var At=React.useRef(!1),rn=React.useState(Mt),Ut=_slicedToArray(rn,2),On=Ut[0],er=Ut[1];React.useEffect(function(){return At.current=!1,function(){At.current=!0}},[]);function vr(xr,Nr){Nr&&At.current||er(xr)}return[On,vr]}function nr(Mt){return Mt!==void 0}function fr(Mt,At){var rn=At||{},Ut=rn.defaultValue,On=rn.value,er=rn.onChange,vr=rn.postState,xr=useState(function(){return nr(On)?On:nr(Ut)?typeof Ut=="function"?Ut():Ut:typeof Mt=="function"?Mt():Mt}),Nr=_slicedToArray(xr,2),no=Nr[0],Kr=Nr[1],Pr=On!==void 0?On:no,Qn=vr?vr(Pr):Pr,jt=useEvent(er),Ht=useState([Pr]),sn=_slicedToArray(Ht,2),gt=sn[0],cn=sn[1];useLayoutUpdateEffect(function(){var Hn=gt[0];no!==Hn&&jt(no,Hn)},[gt]),useLayoutUpdateEffect(function(){nr(On)||Kr(On)},[On]);var wn=useEvent(function(Hn,Vt){Kr(Hn,Vt),cn([Pr],Vt)});return[Qn,wn]}var Ur=fe(33993);function Gr(Mt,At,rn){var Ut=de.useRef({});return(!("value"in Ut.current)||rn(Ut.current.condition,At))&&(Ut.current.value=Mt(),Ut.current.condition=At),Ut.current.value}function zr(Mt,At){typeof Mt=="function"?Mt(At):(0,y.Z)(Mt)==="object"&&Mt&&"current"in Mt&&(Mt.current=At)}function Ir(){for(var Mt=arguments.length,At=new Array(Mt),rn=0;rn<Mt;rn++)At[rn]=arguments[rn];var Ut=At.filter(function(On){return On});return Ut.length<=1?Ut[0]:function(On){At.forEach(function(er){zr(er,On)})}}function bn(){for(var Mt=arguments.length,At=new Array(Mt),rn=0;rn<Mt;rn++)At[rn]=arguments[rn];return Gr(function(){return Ir.apply(void 0,At)},At,function(Ut,On){return Ut.length!==On.length||Ut.every(function(er,vr){return er!==On[vr]})})}function tn(Mt){var At,rn,Ut=isMemo(Mt)?Mt.type.type:Mt.type;return!(typeof Ut=="function"&&!((At=Ut.prototype)!==null&&At!==void 0&&At.render)||typeof Mt=="function"&&!((rn=Mt.prototype)!==null&&rn!==void 0&&rn.render))}function dn(Mt){return!isValidElement(Mt)||isFragment(Mt)?!1:tn(Mt)}function vn(Mt,At,rn,Ut){if(!At.length)return rn;var On=_toArray(At),er=On[0],vr=On.slice(1),xr;return!Mt&&typeof er=="number"?xr=[]:Array.isArray(Mt)?xr=_toConsumableArray(Mt):xr=_objectSpread({},Mt),Ut&&rn===void 0&&vr.length===1?delete xr[er][vr[0]]:xr[er]=vn(xr[er],vr,rn,Ut),xr}function xn(Mt,At,rn){var Ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return At.length&&Ut&&rn===void 0&&!get(Mt,At.slice(0,-1))?Mt:vn(Mt,At,rn,Ut)}function tr(Mt){return _typeof(Mt)==="object"&&Mt!==null&&Object.getPrototypeOf(Mt)===Object.prototype}function Vn(Mt){return Array.isArray(Mt)?[]:{}}var pr=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function ar(){for(var Mt=arguments.length,At=new Array(Mt),rn=0;rn<Mt;rn++)At[rn]=arguments[rn];var Ut=Vn(At[0]);return At.forEach(function(On){function er(vr,xr){var Nr=new Set(xr),no=get(On,vr),Kr=Array.isArray(no);if(Kr||tr(no)){if(!Nr.has(no)){Nr.add(no);var Pr=get(Ut,vr);Kr?Ut=xn(Ut,vr,[]):(!Pr||_typeof(Pr)!=="object")&&(Ut=xn(Ut,vr,Vn(no))),pr(no).forEach(function(Qn){er([].concat(_toConsumableArray(vr),[Qn]),Nr)})}}else Ut=xn(Ut,vr,no)}er([])}),Ut}var xt={},It=[],Rt=function(At){It.push(At)};function fn(Mt,At){if(0)var rn}function Nn(Mt,At){if(0)var rn}function jn(){xt={}}function gr(Mt,At,rn){!At&&!xt[rn]&&(Mt(!1,rn),xt[rn]=!0)}function hr(Mt,At){gr(fn,Mt,At)}function qn(Mt,At){gr(Nn,Mt,At)}hr.preMessage=Rt,hr.resetWarned=jn,hr.noteOnce=qn;var Br=hr,lo=function(At){var rn=At.prefixCls,Ut=At.className,On=At.style,er=At.children,vr=At.containerRef,xr=At.id,Nr=At.onMouseEnter,no=At.onMouseOver,Kr=At.onMouseLeave,Pr=At.onClick,Qn=At.onKeyDown,jt=At.onKeyUp,Ht={onMouseEnter:Nr,onMouseOver:no,onMouseLeave:Kr,onClick:Pr,onKeyDown:Qn,onKeyUp:jt},sn=de.useContext(ut),gt=sn.panel,cn=bn(gt,vr);return de.createElement(de.Fragment,null,de.createElement("div",(0,at.Z)({id:xr,className:xe()("".concat(rn,"-content"),Ut),style:(0,E.Z)({},On),"aria-modal":"true",role:"dialog",ref:cn},Ht),er))},Or=lo;function An(Mt){return typeof Mt=="string"&&String(Number(Mt))===Mt?(Br(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Mt)):Mt}function _r(Mt){warning(!("wrapperClassName"in Mt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Mt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var zt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ln(Mt,At){var rn,Ut,On,er,vr=Mt.prefixCls,xr=Mt.open,Nr=Mt.placement,no=Mt.inline,Kr=Mt.push,Pr=Mt.forceRender,Qn=Mt.autoFocus,jt=Mt.keyboard,Ht=Mt.rootClassName,sn=Mt.rootStyle,gt=Mt.zIndex,cn=Mt.className,wn=Mt.id,Hn=Mt.style,Vt=Mt.motion,en=Mt.width,Jt=Mt.height,Gn=Mt.children,St=Mt.contentWrapperStyle,Ft=Mt.mask,Xt=Mt.maskClosable,_n=Mt.maskMotion,Ln=Mt.maskClassName,Fn=Mt.maskStyle,kt=Mt.afterOpenChange,Kt=Mt.onClose,Gt=Mt.onMouseEnter,Qt=Mt.onMouseOver,Dn=Mt.onMouseLeave,hn=Mt.onClick,ht=Mt.onKeyDown,lt=Mt.onKeyUp,ft=de.useRef(),Ct=de.useRef(),Nt=de.useRef();de.useImperativeHandle(At,function(){return ft.current});var Yt=function(ro){var bo=ro.keyCode,Oo=ro.shiftKey;switch(bo){case pt.TAB:{if(bo===pt.TAB){if(!Oo&&document.activeElement===Nt.current){var eo;(eo=Ct.current)===null||eo===void 0||eo.focus({preventScroll:!0})}else if(Oo&&document.activeElement===Ct.current){var sr;(sr=Nt.current)===null||sr===void 0||sr.focus({preventScroll:!0})}}break}case pt.ESC:{Kt&&jt&&(ro.stopPropagation(),Kt(ro));break}}};de.useEffect(function(){if(xr&&Qn){var mr;(mr=ft.current)===null||mr===void 0||mr.focus({preventScroll:!0})}},[xr]);var pn=de.useState(!1),Tn=(0,ve.Z)(pn,2),Un=Tn[0],Zn=Tn[1],Wn=de.useContext(Et),En;Kr===!1?En={distance:0}:Kr===!0?En={}:En=Kr||{};var $n=(rn=(Ut=(On=En)===null||On===void 0?void 0:On.distance)!==null&&Ut!==void 0?Ut:Wn==null?void 0:Wn.pushDistance)!==null&&rn!==void 0?rn:180,yr=de.useMemo(function(){return{pushDistance:$n,push:function(){Zn(!0)},pull:function(){Zn(!1)}}},[$n]);de.useEffect(function(){if(xr){var mr;Wn==null||(mr=Wn.push)===null||mr===void 0||mr.call(Wn)}else{var ro;Wn==null||(ro=Wn.pull)===null||ro===void 0||ro.call(Wn)}},[xr]),de.useEffect(function(){return function(){var mr;Wn==null||(mr=Wn.pull)===null||mr===void 0||mr.call(Wn)}},[]);var wr=Ft&&de.createElement(Tt.Z,(0,at.Z)({key:"mask"},_n,{visible:xr}),function(mr,ro){var bo=mr.className,Oo=mr.style;return de.createElement("div",{className:xe()("".concat(vr,"-mask"),bo,Ln),style:(0,E.Z)((0,E.Z)({},Oo),Fn),onClick:Xt&&xr?Kt:void 0,ref:ro})}),qr=typeof Vt=="function"?Vt(Nr):Vt,Rr={};if(Un&&$n)switch(Nr){case"top":Rr.transform="translateY(".concat($n,"px)");break;case"bottom":Rr.transform="translateY(".concat(-$n,"px)");break;case"left":Rr.transform="translateX(".concat($n,"px)");break;default:Rr.transform="translateX(".concat(-$n,"px)");break}Nr==="left"||Nr==="right"?Rr.width=An(en):Rr.height=An(Jt);var Zr={onMouseEnter:Gt,onMouseOver:Qt,onMouseLeave:Dn,onClick:hn,onKeyDown:ht,onKeyUp:lt},$r=de.createElement(Tt.Z,(0,at.Z)({key:"panel"},qr,{visible:xr,forceRender:Pr,onVisibleChanged:function(ro){kt==null||kt(ro)},removeOnLeave:!1,leavedClassName:"".concat(vr,"-content-wrapper-hidden")}),function(mr,ro){var bo=mr.className,Oo=mr.style;return de.createElement("div",(0,at.Z)({className:xe()("".concat(vr,"-content-wrapper"),bo),style:(0,E.Z)((0,E.Z)((0,E.Z)({},Rr),Oo),St)},Cn(Mt,{data:!0})),de.createElement(Or,(0,at.Z)({id:wn,containerRef:ro,prefixCls:vr,className:cn,style:Hn},Zr),Gn))}),Ro=(0,E.Z)({},sn);return gt&&(Ro.zIndex=gt),de.createElement(Et.Provider,{value:yr},de.createElement("div",{className:xe()(vr,"".concat(vr,"-").concat(Nr),Ht,(er={},(0,Ot.Z)(er,"".concat(vr,"-open"),xr),(0,Ot.Z)(er,"".concat(vr,"-inline"),no),er)),style:Ro,tabIndex:-1,ref:ft,onKeyDown:Yt},wr,de.createElement("div",{tabIndex:0,ref:Ct,style:zt,"aria-hidden":"true","data-sentinel":"start"}),$r,de.createElement("div",{tabIndex:0,ref:Nt,style:zt,"aria-hidden":"true","data-sentinel":"end"})))}var an=de.forwardRef(ln),mn=an,zn=function(At){var rn=At.open,Ut=rn===void 0?!1:rn,On=At.prefixCls,er=On===void 0?"rc-drawer":On,vr=At.placement,xr=vr===void 0?"right":vr,Nr=At.autoFocus,no=Nr===void 0?!0:Nr,Kr=At.keyboard,Pr=Kr===void 0?!0:Kr,Qn=At.width,jt=Qn===void 0?378:Qn,Ht=At.mask,sn=Ht===void 0?!0:Ht,gt=At.maskClosable,cn=gt===void 0?!0:gt,wn=At.getContainer,Hn=At.forceRender,Vt=At.afterOpenChange,en=At.destroyOnClose,Jt=At.onMouseEnter,Gn=At.onMouseOver,St=At.onMouseLeave,Ft=At.onClick,Xt=At.onKeyDown,_n=At.onKeyUp,Ln=At.panelRef,Fn=de.useState(!1),kt=(0,ve.Z)(Fn,2),Kt=kt[0],Gt=kt[1],Qt=de.useState(!1),Dn=(0,ve.Z)(Qt,2),hn=Dn[0],ht=Dn[1];vt(function(){ht(!0)},[]);var lt=hn?Ut:!1,ft=de.useRef(),Ct=de.useRef();vt(function(){lt&&(Ct.current=document.activeElement)},[lt]);var Nt=function(Zn){var Wn;if(Gt(Zn),Vt==null||Vt(Zn),!Zn&&Ct.current&&!((Wn=ft.current)!==null&&Wn!==void 0&&Wn.contains(Ct.current))){var En;(En=Ct.current)===null||En===void 0||En.focus({preventScroll:!0})}},Yt=de.useMemo(function(){return{panel:Ln}},[Ln]);if(!Hn&&!Kt&&!lt&&en)return null;var pn={onMouseEnter:Jt,onMouseOver:Gn,onMouseLeave:St,onClick:Ft,onKeyDown:Xt,onKeyUp:_n},Tn=(0,E.Z)((0,E.Z)({},At),{},{open:lt,prefixCls:er,placement:xr,autoFocus:no,keyboard:Pr,width:jt,mask:sn,maskClosable:cn,inline:wn===!1,afterOpenChange:Nt,ref:ft},pn);return de.createElement(ut.Provider,{value:Yt},de.createElement(Te,{open:lt||Hn||Kt,autoDestroy:!1,getContainer:wn,autoLock:sn&&(lt||Kt)},de.createElement(mn,Tn)))},Dt=zn,Bn=Dt,yn=fe(33603),Er=fe(53124),ir=fe(65223),Mr=fe(69760),Pn=Mt=>{const{prefixCls:At,title:rn,footer:Ut,extra:On,closeIcon:er,closable:vr,onClose:xr,headerStyle:Nr,drawerStyle:no,bodyStyle:Kr,footerStyle:Pr,children:Qn}=Mt,jt=de.useCallback(wn=>de.createElement("button",{type:"button",onClick:xr,"aria-label":"Close",className:`${At}-close`},wn),[xr]),[Ht,sn]=(0,Mr.Z)(vr,er,jt,void 0,!0),gt=de.useMemo(()=>!rn&&!Ht?null:de.createElement("div",{style:Nr,className:xe()(`${At}-header`,{[`${At}-header-close-only`]:Ht&&!rn&&!On})},de.createElement("div",{className:`${At}-header-title`},sn,rn&&de.createElement("div",{className:`${At}-title`},rn)),On&&de.createElement("div",{className:`${At}-extra`},On)),[Ht,sn,On,Nr,At,rn]),cn=de.useMemo(()=>{if(!Ut)return null;const wn=`${At}-footer`;return de.createElement("div",{className:wn,style:Pr},Ut)},[Ut,Pr,At]);return de.createElement("div",{className:`${At}-wrapper-body`,style:no},gt,de.createElement("div",{className:`${At}-body`,style:Kr},Qn),cn)},Qr=fe(4173),io=fe(67968),Mo=fe(45503),Ho=Mt=>{const{componentCls:At,motionDurationSlow:rn}=Mt,Ut={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${rn}`}}};return{[At]:{[`${At}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${rn}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${At}-panel-motion`]:{"&-left":[Ut,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Ut,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Ut,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Ut,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const kn=Mt=>{const{componentCls:At,zIndexPopup:rn,colorBgMask:Ut,colorBgElevated:On,motionDurationSlow:er,motionDurationMid:vr,padding:xr,paddingLG:Nr,fontSizeLG:no,lineHeightLG:Kr,lineWidth:Pr,lineType:Qn,colorSplit:jt,marginSM:Ht,colorIcon:sn,colorIconHover:gt,colorText:cn,fontWeightStrong:wn,footerPaddingBlock:Hn,footerPaddingInline:Vt}=Mt,en=`${At}-content-wrapper`;return{[At]:{position:"fixed",inset:0,zIndex:rn,pointerEvents:"none","&-pure":{position:"relative",background:On,[`&${At}-left`]:{boxShadow:Mt.boxShadowDrawerLeft},[`&${At}-right`]:{boxShadow:Mt.boxShadowDrawerRight},[`&${At}-top`]:{boxShadow:Mt.boxShadowDrawerUp},[`&${At}-bottom`]:{boxShadow:Mt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${At}-mask`]:{position:"absolute",inset:0,zIndex:rn,background:Ut,pointerEvents:"auto"},[en]:{position:"absolute",zIndex:rn,maxWidth:"100vw",transition:`all ${er}`,"&-hidden":{display:"none"}},[`&-left > ${en}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Mt.boxShadowDrawerLeft},[`&-right > ${en}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Mt.boxShadowDrawerRight},[`&-top > ${en}`]:{top:0,insetInline:0,boxShadow:Mt.boxShadowDrawerUp},[`&-bottom > ${en}`]:{bottom:0,insetInline:0,boxShadow:Mt.boxShadowDrawerDown},[`${At}-content`]:{width:"100%",height:"100%",overflow:"auto",background:On,pointerEvents:"auto"},[`${At}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${At}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${xr}px ${Nr}px`,fontSize:no,lineHeight:Kr,borderBottom:`${Pr}px ${Qn} ${jt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${At}-extra`]:{flex:"none"},[`${At}-close`]:{display:"inline-block",marginInlineEnd:Ht,color:sn,fontWeight:wn,fontSize:no,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${vr}`,textRendering:"auto","&:focus, &:hover":{color:gt,textDecoration:"none"}},[`${At}-title`]:{flex:1,margin:0,color:cn,fontWeight:Mt.fontWeightStrong,fontSize:no,lineHeight:Kr},[`${At}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Nr,overflow:"auto"},[`${At}-footer`]:{flexShrink:0,padding:`${Hn}px ${Vt}px`,borderTop:`${Pr}px ${Qn} ${jt}`},"&-rtl":{direction:"rtl"}}}};var dr=(0,io.Z)("Drawer",Mt=>{const At=(0,Mo.TS)(Mt,{});return[kn(At),Ho(At)]},Mt=>({zIndexPopup:Mt.zIndexPopupBase,footerPaddingBlock:Mt.paddingXS,footerPaddingInline:Mt.padding})),ur=fe(16569),Xn=function(Mt,At){var rn={};for(var Ut in Mt)Object.prototype.hasOwnProperty.call(Mt,Ut)&&At.indexOf(Ut)<0&&(rn[Ut]=Mt[Ut]);if(Mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,Ut=Object.getOwnPropertySymbols(Mt);On<Ut.length;On++)At.indexOf(Ut[On])<0&&Object.prototype.propertyIsEnumerable.call(Mt,Ut[On])&&(rn[Ut[On]]=Mt[Ut[On]]);return rn};const uo=null,so={distance:180},yo=Mt=>{var At;const{rootClassName:rn,width:Ut,height:On,size:er="default",mask:vr=!0,push:xr=so,open:Nr,afterOpenChange:no,onClose:Kr,prefixCls:Pr,getContainer:Qn,style:jt,className:Ht,visible:sn,afterVisibleChange:gt}=Mt,cn=Xn(Mt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:wn,getPrefixCls:Hn,direction:Vt,drawer:en}=de.useContext(Er.E_),Jt=Hn("drawer",Pr),[Gn,St]=dr(Jt),Ft=Qn===void 0&&wn?()=>wn(document.body):Qn,Xt=xe()({"no-mask":!vr,[`${Jt}-rtl`]:Vt==="rtl"},rn,St),_n=de.useMemo(()=>Ut!=null?Ut:er==="large"?736:378,[Ut,er]),Ln=de.useMemo(()=>On!=null?On:er==="large"?736:378,[On,er]),Fn={motionName:(0,yn.m)(Jt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},kt=Gt=>({motionName:(0,yn.m)(Jt,`panel-motion-${Gt}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Kt=(0,ur.H)();return Gn(de.createElement(Qr.BR,null,de.createElement(ir.Ux,{status:!0,override:!0},de.createElement(Bn,Object.assign({prefixCls:Jt,onClose:Kr,maskMotion:Fn,motion:kt},cn,{open:Nr!=null?Nr:sn,mask:vr,push:xr,width:_n,height:Ln,style:Object.assign(Object.assign({},en==null?void 0:en.style),jt),className:xe()(en==null?void 0:en.className,Ht),rootClassName:Xt,getContainer:Ft,afterOpenChange:no!=null?no:gt,panelRef:Kt}),de.createElement(Pn,Object.assign({prefixCls:Jt},cn,{onClose:Kr}))))))},Fo=Mt=>{const{prefixCls:At,style:rn,className:Ut,placement:On="right"}=Mt,er=Xn(Mt,["prefixCls","style","className","placement"]),{getPrefixCls:vr}=de.useContext(Er.E_),xr=vr("drawer",At),[Nr,no]=dr(xr),Kr=xe()(xr,`${xr}-pure`,`${xr}-${On}`,no,Ut);return Nr(de.createElement("div",{className:Kr,style:rn},de.createElement(Pn,Object.assign({prefixCls:xr},er))))};yo._InternalPanelDoNotUseOrYouWillBeFired=Fo;var zo=yo},35874:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return Ke}});var Se=fe(67294),xe=fe(91034),E=fe(94184),ve=fe.n(E),de=fe(87462),se=fe(4942),re=fe(97685),ie=fe(45987),le=fe(62709),ce=fe(71002),ae=fe(12060);function oe(ze,Le,Te){var Ne=React.useRef({});return(!("value"in Ne.current)||Te(Ne.current.condition,Le))&&(Ne.current.value=ze(),Ne.current.condition=Le),Ne.current.value}function ne(ze,Le){typeof ze=="function"?ze(Le):(0,ce.Z)(ze)==="object"&&ze&&"current"in ze&&(ze.current=Le)}function ee(){for(var ze=arguments.length,Le=new Array(ze),Te=0;Te<ze;Te++)Le[Te]=arguments[Te];var Ne=Le.filter(function(He){return He});return Ne.length<=1?Ne[0]:function(He){Le.forEach(function(rt){ne(rt,He)})}}function a(){for(var ze=arguments.length,Le=new Array(ze),Te=0;Te<ze;Te++)Le[Te]=arguments[Te];return useMemo(function(){return ee.apply(void 0,Le)},Le,function(Ne,He){return Ne.length===He.length&&Ne.every(function(rt,mt){return rt===He[mt]})})}function y(ze){var Le,Te,Ne=(0,ae.isMemo)(ze)?ze.type.type:ze.type;return!(typeof Ne=="function"&&!((Le=Ne.prototype)!==null&&Le!==void 0&&Le.render)||typeof ze=="function"&&!((Te=ze.prototype)!==null&&Te!==void 0&&Te.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(Le){var Te=Le.keyCode;if(Le.altKey&&!Le.ctrlKey||Le.metaKey||Te>=x.F1&&Te<=x.F12)return!1;switch(Te){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(Le){if(Le>=x.ZERO&&Le<=x.NINE||Le>=x.NUM_ZERO&&Le<=x.NUM_MULTIPLY||Le>=x.A&&Le<=x.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Le===0)return!0;switch(Le){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,te=function(Le){return+setTimeout(Le,16)},z=function(Le){return clearTimeout(Le)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(te=function(Le){return window.requestAnimationFrame(Le)},z=function(Le){return window.cancelAnimationFrame(Le)});var ue=0,ge=new Map;function me(ze){ge.delete(ze)}var he=function(Le){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ue+=1;var Ne=ue;function He(rt){if(rt===0)me(Ne),Le();else{var mt=te(function(){He(rt-1)});ge.set(Ne,mt)}}return He(Te),Ne};he.cancel=function(ze){var Le=ge.get(ze);return me(Le),z(Le)};var pe=he,be=b.ESC,ye=b.TAB;function Pe(ze){var Le=ze.visible,Te=ze.triggerRef,Ne=ze.onVisibleChange,He=ze.autoFocus,rt=ze.overlayRef,mt=Se.useRef(!1),vt=function(){if(Le){var Ot,at;(Ot=Te.current)===null||Ot===void 0||(at=Ot.focus)===null||at===void 0||at.call(Ot),Ne==null||Ne(!1)}},nt=function(){var Ot;return(Ot=rt.current)!==null&&Ot!==void 0&&Ot.focus?(rt.current.focus(),mt.current=!0,!0):!1},ut=function(Ot){switch(Ot.keyCode){case be:vt();break;case ye:{var at=!1;mt.current||(at=nt()),at?Ot.preventDefault():vt();break}}};Se.useEffect(function(){return Le?(window.addEventListener("keydown",ut),He&&pe(nt,3),function(){window.removeEventListener("keydown",ut),mt.current=!1}):function(){mt.current=!1}},[Le])}var we=(0,Se.forwardRef)(function(ze,Le){var Te=ze.overlay,Ne=ze.arrow,He=ze.prefixCls,rt=(0,Se.useMemo)(function(){var vt;return typeof Te=="function"?vt=Te():vt=Te,vt},[Te]),mt=ee(Le,rt==null?void 0:rt.ref);return Se.createElement(Se.Fragment,null,Ne&&Se.createElement("div",{className:"".concat(He,"-arrow")}),Se.cloneElement(rt,{ref:y(rt)?mt:void 0}))}),Oe=we,Ce={adjustX:1,adjustY:1},_e=[0,0],Ee={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}},Me=Ee,Ie=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Be(ze,Le){var Te,Ne=ze.arrow,He=Ne===void 0?!1:Ne,rt=ze.prefixCls,mt=rt===void 0?"rc-dropdown":rt,vt=ze.transitionName,nt=ze.animation,ut=ze.align,Et=ze.placement,Ot=Et===void 0?"bottomLeft":Et,at=ze.placements,Tt=at===void 0?Me:at,st=ze.getPopupContainer,pt=ze.showAction,Pt=ze.hideAction,wt=ze.overlayClassName,Lt=ze.overlayStyle,$t=ze.visible,nn=ze.trigger,un=nn===void 0?["hover"]:nn,Cn=ze.autoFocus,Sn=ze.overlay,Kn=ze.children,nr=ze.onVisibleChange,fr=(0,ie.Z)(ze,Ie),Ur=Se.useState(),Gr=(0,re.Z)(Ur,2),zr=Gr[0],Ir=Gr[1],bn="visible"in ze?$t:zr,tn=Se.useRef(null),dn=Se.useRef(null),vn=Se.useRef(null);Se.useImperativeHandle(Le,function(){return tn.current});var xn=function(Nn){Ir(Nn),nr==null||nr(Nn)};Pe({visible:bn,triggerRef:vn,onVisibleChange:xn,autoFocus:Cn,overlayRef:dn});var tr=function(Nn){var jn=ze.onOverlayClick;Ir(!1),jn&&jn(Nn)},Vn=function(){return Se.createElement(Oe,{ref:dn,overlay:Sn,prefixCls:mt,arrow:He})},pr=function(){return typeof Sn=="function"?Vn:Vn()},ar=function(){var Nn=ze.minOverlayWidthMatchTrigger,jn=ze.alignPoint;return"minOverlayWidthMatchTrigger"in ze?Nn:!jn},xt=function(){var Nn=ze.openClassName;return Nn!==void 0?Nn:"".concat(mt,"-open")},It=Se.cloneElement(Kn,{className:ve()((Te=Kn.props)===null||Te===void 0?void 0:Te.className,bn&&xt()),ref:y(Kn)?ee(vn,Kn.ref):void 0}),Rt=Pt;return!Rt&&un.indexOf("contextMenu")!==-1&&(Rt=["click"]),Se.createElement(le.Z,(0,de.Z)({builtinPlacements:Tt},fr,{prefixCls:mt,ref:tn,popupClassName:ve()(wt,(0,se.Z)({},"".concat(mt,"-show-arrow"),He)),popupStyle:Lt,action:un,showAction:pt,hideAction:Rt,popupPlacement:Ot,popupAlign:ut,popupTransitionName:vt,popupAnimation:nt,popupVisible:bn,stretch:ar()?"minWidth":"",popup:pr(),onPopupVisibleChange:xn,onPopupClick:tr,getPopupContainer:st}),It)}var Re=Se.forwardRef(Be),tt=Re,Ye=fe(60276),et=fe(5663),Xe=fe(10366),Ge=fe(80636),Fe=fe(8745),je=fe(96159),qe=fe(53124),Je=fe(68508),it=fe(76529),Qe=fe(46605),Ze=fe(66748);const De=null,Ve=ze=>{const{menu:Le,arrow:Te,prefixCls:Ne,children:He,trigger:rt,disabled:mt,dropdownRender:vt,getPopupContainer:nt,overlayClassName:ut,rootClassName:Et,open:Ot,onOpenChange:at,visible:Tt,onVisibleChange:st,mouseEnterDelay:pt=.15,mouseLeaveDelay:Pt=.1,autoAdjustOverflow:wt=!0,placement:Lt="",overlay:$t,transitionName:nn}=ze,{getPopupContainer:un,getPrefixCls:Cn,direction:Sn}=Se.useContext(qe.E_),Kn=Se.useMemo(()=>{const It=Cn();return nn!==void 0?nn:Lt.includes("top")?`${It}-slide-down`:`${It}-slide-up`},[Cn,Lt,nn]),nr=Se.useMemo(()=>Lt?Lt.includes("Center")?Lt.slice(0,Lt.indexOf("Center")):Lt:Sn==="rtl"?"bottomRight":"bottomLeft",[Lt,Sn]),fr=Cn("dropdown",Ne),[Ur,Gr]=(0,Ze.Z)(fr),[,zr]=(0,Qe.Z)(),Ir=Se.Children.only(He),bn=(0,je.Tm)(Ir,{className:ve()(`${fr}-trigger`,{[`${fr}-rtl`]:Sn==="rtl"},Ir.props.className),disabled:mt}),tn=mt?[]:rt;let dn;tn&&tn.includes("contextMenu")&&(dn=!0);const[vn,xn]=(0,et.Z)(!1,{value:Ot!=null?Ot:Tt}),tr=(0,Ye.useEvent)(It=>{at==null||at(It),st==null||st(It),xn(It)}),Vn=ve()(ut,Et,Gr,{[`${fr}-rtl`]:Sn==="rtl"}),pr=(0,Ge.Z)({arrowPointAtCenter:typeof Te=="object"&&Te.pointAtCenter,autoAdjustOverflow:wt,offset:zr.marginXXS,arrowWidth:Te?zr.sizePopupArrow:0,borderRadius:zr.borderRadius}),ar=Se.useCallback(()=>{xn(!1)},[]),xt=()=>{let It;return Le!=null&&Le.items?It=Se.createElement(Je.default,Object.assign({},Le)):typeof $t=="function"?It=$t():It=$t,vt&&(It=vt(It)),It=Se.Children.only(typeof It=="string"?Se.createElement("span",null,It):It),Se.createElement(it.J,{prefixCls:`${fr}-menu`,expandIcon:Se.createElement("span",{className:`${fr}-menu-submenu-arrow`},Se.createElement(xe.Z,{className:`${fr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ar,validator:Rt=>{let{mode:fn}=Rt}},It)};return Ur(Se.createElement(tt,Object.assign({alignPoint:dn},(0,Xe.Z)(ze,["rootClassName"]),{mouseEnterDelay:pt,mouseLeaveDelay:Pt,visible:vn,builtinPlacements:pr,arrow:!!Te,overlayClassName:Vn,prefixCls:fr,getPopupContainer:nt||un,transitionName:Kn,trigger:tn,overlay:xt,placement:nr,onVisibleChange:tr}),bn))};function Ae(ze){return Object.assign(Object.assign({},ze),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ke=(0,Fe.Z)(Ve,"dropdown",ze=>ze,Ae),$e=ze=>Se.createElement(ke,Object.assign({},ze),Se.createElement("span",null));Ve._InternalPanelDoNotUseOrYouWillBeFired=$e;var Ke=Ve},85418:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return a}});var Se=fe(35874),xe=fe(94184),E=fe.n(xe),ve=fe(67294),de=fe(25877),se=fe(71577),re=fe(53124),ie=fe(93421),le=fe(4173),ce=fe(66748),ae=function(y,x){var b={};for(var te in y)Object.prototype.hasOwnProperty.call(y,te)&&x.indexOf(te)<0&&(b[te]=y[te]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,te=Object.getOwnPropertySymbols(y);z<te.length;z++)x.indexOf(te[z])<0&&Object.prototype.propertyIsEnumerable.call(y,te[z])&&(b[te[z]]=y[te[z]]);return b};const oe=y=>{const{getPopupContainer:x,getPrefixCls:b,direction:te}=ve.useContext(re.E_),{prefixCls:z,type:ue="default",danger:ge,disabled:me,loading:he,onClick:pe,htmlType:be,children:ye,className:Pe,menu:we,arrow:Oe,autoFocus:Ce,overlay:_e,trigger:Ee,align:Me,open:Ie,onOpenChange:Be,placement:Re,getPopupContainer:tt,href:Ye,icon:et=ve.createElement(de.Z,null),title:Xe,buttonsRender:Ge=mt=>mt,mouseEnterDelay:Fe,mouseLeaveDelay:je,overlayClassName:qe,overlayStyle:Je,destroyPopupOnHide:it,dropdownRender:Qe}=y,Ze=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"]),De=b("dropdown",z),Ve=`${De}-button`,[Ae,ke]=(0,ce.Z)(De),$e={menu:we,arrow:Oe,autoFocus:Ce,align:Me,disabled:me,trigger:me?[]:Ee,onOpenChange:Be,getPopupContainer:tt||x,mouseEnterDelay:Fe,mouseLeaveDelay:je,overlayClassName:qe,overlayStyle:Je,destroyPopupOnHide:it,dropdownRender:Qe},{compactSize:Ke,compactItemClassnames:ze}=(0,le.ri)(De,te),Le=E()(Ve,ze,Pe,ke);"overlay"in y&&($e.overlay=_e),"open"in y&&($e.open=Ie),"placement"in y?$e.placement=Re:$e.placement=te==="rtl"?"bottomLeft":"bottomRight";const Te=ve.createElement(se.ZP,{type:ue,danger:ge,disabled:me,loading:he,onClick:pe,htmlType:be,href:Ye,title:Xe},ye),Ne=ve.createElement(se.ZP,{type:ue,danger:ge,icon:et}),[He,rt]=Ge([Te,Ne]);return Ae(ve.createElement(ie.Z.Compact,Object.assign({className:Le,size:Ke,block:!0},Ze),He,ve.createElement(Se.Z,Object.assign({},$e),rt)))};oe.__ANT_BUTTON=!0;var ne=oe;const ee=Se.Z;ee.Button=ne;var a=ee},66748:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return ae}});var Se=fe(14747),xe=fe(67771),E=fe(33297),ve=fe(50438),de=fe(97414),se=fe(67968),re=fe(45503),le=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 ce=oe=>{const{componentCls:ne,menuCls:ee,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:te,motionDurationMid:z,dropdownPaddingVertical:ue,fontSize:ge,dropdownEdgeChildPadding:me,colorTextDisabled:he,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`]:{[`& > ${te}-down, & > ${b}-btn-icon > ${te}-down`]:{fontSize:pe}},[`${ne}-wrap`]:{position:"relative",[`${b}-btn > ${te}-down`]:{fontSize:pe},[`${te}-down::before`]:{transition:`transform ${z}`}},[`${ne}-wrap-open`]:{[`${te}-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,de.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:`${ue}px ${be}px`,color:oe.colorTextDescription,transition:`all ${z}`},[`${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 ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ee}-item, ${ee}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ue}px ${be}px`,color:oe.colorText,fontWeight:"normal",fontSize:ge,lineHeight:oe.lineHeight,cursor:"pointer",transition:`all ${z}`,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:he,cursor:"not-allowed","&:hover":{color:he,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:he,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,ve._y)(oe,"zoom-big")]]};var ae=(0,se.Z)("Dropdown",(oe,ne)=>{let{rootPrefixCls:ee}=ne;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:te,paddingXXS:z,componentCls:ue,borderRadiusLG:ge}=oe,me=(x-b*te)/2,{dropdownArrowOffset:he}=(0,de.fS)({contentRadius:ge}),pe=(0,re.TS)(oe,{menuCls:`${ue}-menu`,rootPrefixCls:ee,dropdownArrowDistance:y/2+a,dropdownArrowOffset:he,dropdownPaddingVertical:me,dropdownEdgeChildPadding:z});return[ce(pe),le(pe)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},25378:function(_t,dt,fe){"use strict";var Se=fe(67294),xe=fe(14075),E=fe(57838),ve=fe(74443);function de(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,Se.useRef)({}),ie=(0,E.Z)(),le=(0,ve.ZP)();return(0,xe.Z)(()=>{const ce=le.subscribe(ae=>{re.current=ae,se&&ie()});return()=>le.unsubscribe(ce)},[]),re.current}dt.Z=de},99398:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return hn}});var Se=fe(67294),xe=fe.t(Se,2),E=fe(99569),ve=fe(94184),de=fe.n(ve),se=fe(87462),re=fe(1413),ie=fe(4942),le=fe(97685),ce=fe(71002),ae=fe(45987),oe=/margin|padding|width|height|max|min|offset/,ne={left:!0,top:!0},ee={cssFloat:1,styleFloat:1,float:1};function a(ht){return ht.nodeType===1?ht.ownerDocument.defaultView.getComputedStyle(ht,null):{}}function y(ht,lt,ft){if(lt=lt.toLowerCase(),ft==="auto"){if(lt==="height")return ht.offsetHeight;if(lt==="width")return ht.offsetWidth}return lt in ne||(ne[lt]=oe.test(lt)),ne[lt]?parseFloat(ft)||0:ft}function x(ht,lt){var ft=arguments.length,Ct=a(ht);return lt=ee[lt]?"cssFloat"in ht.style?"cssFloat":"styleFloat":lt,ft===1?Ct:y(ht,lt,Ct[lt]||ht.style[lt])}function b(ht,lt,ft){var Ct=arguments.length;if(lt=ee[lt]?"cssFloat"in ht.style?"cssFloat":"styleFloat":lt,Ct===3)return typeof ft=="number"&&oe.test(lt)&&(ft="".concat(ft,"px")),ht.style[lt]=ft,ft;for(var Nt in lt)lt.hasOwnProperty(Nt)&&b(ht,Nt,lt[Nt]);return a(ht)}function te(ht){return ht===document.body?document.documentElement.clientWidth:ht.offsetWidth}function z(ht){return ht===document.body?window.innerHeight||document.documentElement.clientHeight:ht.offsetHeight}function ue(){var ht=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),lt=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ht,height:lt}}function ge(){var ht=document.documentElement.clientWidth,lt=window.innerHeight||document.documentElement.clientHeight;return{width:ht,height:lt}}function me(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function he(ht){var lt=ht.getBoundingClientRect(),ft=document.documentElement;return{left:lt.left+(window.pageXOffset||ft.scrollLeft)-(ft.clientLeft||document.body.clientLeft||0),top:lt.top+(window.pageYOffset||ft.scrollTop)-(ft.clientTop||document.body.clientTop||0)}}function pe(ht){var lt=Se.useRef();lt.current=ht;var ft=Se.useCallback(function(){for(var Ct,Nt=arguments.length,Yt=new Array(Nt),pn=0;pn<Nt;pn++)Yt[pn]=arguments[pn];return(Ct=lt.current)===null||Ct===void 0?void 0:Ct.call.apply(Ct,[lt].concat(Yt))},[]);return ft}function be(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ye=be()?Se.useLayoutEffect:Se.useEffect,Pe=function(lt,ft){var Ct=Se.useRef(!0);ye(function(){return lt(Ct.current)},ft),ye(function(){return Ct.current=!1,function(){Ct.current=!0}},[])},we=function(lt,ft){Pe(function(Ct){if(!Ct)return lt()},ft)},Oe=null;function Ce(ht){var lt=Se.useRef(!1),ft=Se.useState(ht),Ct=(0,le.Z)(ft,2),Nt=Ct[0],Yt=Ct[1];Se.useEffect(function(){return lt.current=!1,function(){lt.current=!0}},[]);function pn(Tn,Un){Un&<.current||Yt(Tn)}return[Nt,pn]}function _e(ht){return ht!==void 0}function Ee(ht,lt){var ft=lt||{},Ct=ft.defaultValue,Nt=ft.value,Yt=ft.onChange,pn=ft.postState,Tn=Ce(function(){return _e(Nt)?Nt:_e(Ct)?typeof Ct=="function"?Ct():Ct:typeof ht=="function"?ht():ht}),Un=(0,le.Z)(Tn,2),Zn=Un[0],Wn=Un[1],En=Nt!==void 0?Nt:Zn,$n=pn?pn(En):En,yr=pe(Yt),wr=Ce([En]),qr=(0,le.Z)(wr,2),Rr=qr[0],Zr=qr[1];we(function(){var Ro=Rr[0];Zn!==Ro&&yr(Zn,Ro)},[Rr]),we(function(){_e(Nt)||Wn(Nt)},[Nt]);var $r=pe(function(Ro,mr){Wn(Ro,mr),Zr([En],mr)});return[$n,$r]}var Me=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],Ie=Se.createContext(null),Be=0;function Re(ht,lt){var ft=Se.useState(function(){return Be+=1,String(Be)}),Ct=(0,le.Z)(ft,1),Nt=Ct[0],Yt=Se.useContext(Ie),pn={data:lt,canPreview:ht};return Se.useEffect(function(){if(Yt)return Yt.register(Nt,pn)},[]),Se.useEffect(function(){Yt&&Yt.register(Nt,pn)},[ht,lt]),Nt}function tt(ht){return new Promise(function(lt){var ft=document.createElement("img");ft.onerror=function(){return lt(!1)},ft.onload=function(){return lt(!0)},ft.src=ht})}function Ye(ht){var lt=ht.src,ft=ht.isCustomPlaceholder,Ct=ht.fallback,Nt=(0,Se.useState)(ft?"loading":"normal"),Yt=(0,le.Z)(Nt,2),pn=Yt[0],Tn=Yt[1],Un=(0,Se.useRef)(!1),Zn=pn==="error";(0,Se.useEffect)(function(){tt(lt).then(function(yr){yr||Tn("error")})},[lt]),(0,Se.useEffect)(function(){ft&&!Un.current?Tn("loading"):Zn&&Tn("normal")},[lt]);var Wn=function(){Tn("normal")},En=function(wr){Un.current=!1,pn==="loading"&&wr!=null&&wr.complete&&(wr.naturalWidth||wr.naturalHeight)&&(Un.current=!0,Wn())},$n=Zn&&Ct?{src:Ct}:{onLoad:Wn,src:lt};return[En,$n,pn]}var et=fe(2788),Xe=Se.createContext({});function Ge(ht,lt){if(!ht)return!1;if(ht.contains)return ht.contains(lt);for(var ft=lt;ft;){if(ft===ht)return!0;ft=ft.parentNode}return!1}function Fe(){var ht=(0,re.Z)({},xe);return ht.useId}var je=0;function qe(){}function Je(ht){var lt=Se.useState("ssr-id"),ft=(0,le.Z)(lt,2),Ct=ft[0],Nt=ft[1],Yt=Fe(),pn=Yt==null?void 0:Yt();return Se.useEffect(function(){if(!Yt){var Tn=je;je+=1,Nt("rc_unique_".concat(Tn))}},[]),ht||pn||Ct}var it={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(lt){var ft=lt.keyCode;if(lt.altKey&&!lt.ctrlKey||lt.metaKey||ft>=it.F1&&ft<=it.F12)return!1;switch(ft){case it.ALT:case it.CAPS_LOCK:case it.CONTEXT_MENU:case it.CTRL:case it.DOWN:case it.END:case it.ESC:case it.HOME:case it.INSERT:case it.LEFT:case it.MAC_FF_META:case it.META:case it.NUMLOCK:case it.NUM_CENTER:case it.PAGE_DOWN:case it.PAGE_UP:case it.PAUSE:case it.PRINT_SCREEN:case it.RIGHT:case it.SHIFT:case it.UP:case it.WIN_KEY:case it.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(lt){if(lt>=it.ZERO&<<=it.NINE||lt>=it.NUM_ZERO&<<=it.NUM_MULTIPLY||lt>=it.A&<<=it.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&<===0)return!0;switch(lt){case it.SPACE:case it.QUESTION_MARK:case it.NUM_PLUS:case it.NUM_MINUS:case it.NUM_PERIOD:case it.NUM_DIVISION:case it.SEMICOLON:case it.DASH:case it.EQUALS:case it.COMMA:case it.PERIOD:case it.SLASH:case it.APOSTROPHE:case it.SINGLE_QUOTE:case it.OPEN_SQUARE_BRACKET:case it.BACKSLASH:case it.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Qe=it,Ze=`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`,De=`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`,Ve="".concat(Ze," ").concat(De).split(/[\s\n]+/),Ae="aria-",ke="data-";function $e(ht,lt){return ht.indexOf(lt)===0}function Ke(ht){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ft;lt===!1?ft={aria:!0,data:!0,attr:!0}:lt===!0?ft={aria:!0}:ft=(0,re.Z)({},lt);var Ct={};return Object.keys(ht).forEach(function(Nt){(ft.aria&&(Nt==="role"||$e(Nt,Ae))||ft.data&&$e(Nt,ke)||ft.attr&&Ve.includes(Nt))&&(Ct[Nt]=ht[Nt])}),Ct}function ze(ht,lt,ft){var Ct=lt;return!Ct&&ft&&(Ct="".concat(ht,"-").concat(ft)),Ct}function Le(ht,lt){var ft=ht["page".concat(lt?"Y":"X","Offset")],Ct="scroll".concat(lt?"Top":"Left");if(typeof ft!="number"){var Nt=ht.document;ft=Nt.documentElement[Ct],typeof ft!="number"&&(ft=Nt.body[Ct])}return ft}function Te(ht){var lt=ht.getBoundingClientRect(),ft={left:lt.left,top:lt.top},Ct=ht.ownerDocument,Nt=Ct.defaultView||Ct.parentWindow;return ft.left+=Le(Nt),ft.top+=Le(Nt,!0),ft}var Ne=fe(62874),He=fe(59864);function rt(ht,lt,ft){var Ct=Se.useRef({});return(!("value"in Ct.current)||ft(Ct.current.condition,lt))&&(Ct.current.value=ht(),Ct.current.condition=lt),Ct.current.value}function mt(ht,lt){typeof ht=="function"?ht(lt):(0,ce.Z)(ht)==="object"&&ht&&"current"in ht&&(ht.current=lt)}function vt(){for(var ht=arguments.length,lt=new Array(ht),ft=0;ft<ht;ft++)lt[ft]=arguments[ft];var Ct=lt.filter(function(Nt){return Nt});return Ct.length<=1?Ct[0]:function(Nt){lt.forEach(function(Yt){mt(Yt,Nt)})}}function nt(){for(var ht=arguments.length,lt=new Array(ht),ft=0;ft<ht;ft++)lt[ft]=arguments[ft];return rt(function(){return vt.apply(void 0,lt)},lt,function(Ct,Nt){return Ct.length===Nt.length&&Ct.every(function(Yt,pn){return Yt===Nt[pn]})})}function ut(ht){var lt,ft,Ct=isMemo(ht)?ht.type.type:ht.type;return!(typeof Ct=="function"&&!((lt=Ct.prototype)!==null&<!==void 0&<.render)||typeof ht=="function"&&!((ft=ht.prototype)!==null&&ft!==void 0&&ft.render))}var Et=Se.memo(function(ht){var lt=ht.children;return lt},function(ht,lt){var ft=lt.shouldUpdate;return!ft}),Ot={width:0,height:0,overflow:"hidden",outline:"none"},at=Se.forwardRef(function(ht,lt){var ft=ht.prefixCls,Ct=ht.className,Nt=ht.style,Yt=ht.title,pn=ht.ariaId,Tn=ht.footer,Un=ht.closable,Zn=ht.closeIcon,Wn=ht.onClose,En=ht.children,$n=ht.bodyStyle,yr=ht.bodyProps,wr=ht.modalRender,qr=ht.onMouseDown,Rr=ht.onMouseUp,Zr=ht.holderRef,$r=ht.visible,Ro=ht.forceRender,mr=ht.width,ro=ht.height,bo=Se.useContext(Xe),Oo=bo.panel,eo=nt(Zr,Oo),sr=(0,Se.useRef)(),Ao=(0,Se.useRef)();Se.useImperativeHandle(lt,function(){return{focus:function(){var Xo;(Xo=sr.current)===null||Xo===void 0||Xo.focus()},changeActive:function(Xo){var ra=document,Po=ra.activeElement;Xo&&Po===Ao.current?sr.current.focus():!Xo&&Po===sr.current&&Ao.current.focus()}}});var kr={};mr!==void 0&&(kr.width=mr),ro!==void 0&&(kr.height=ro);var Eo;Tn&&(Eo=Se.createElement("div",{className:"".concat(ft,"-footer")},Tn));var xo;Yt&&(xo=Se.createElement("div",{className:"".concat(ft,"-header")},Se.createElement("div",{className:"".concat(ft,"-title"),id:pn},Yt)));var vo;Un&&(vo=Se.createElement("button",{type:"button",onClick:Wn,"aria-label":"Close",className:"".concat(ft,"-close")},Zn||Se.createElement("span",{className:"".concat(ft,"-close-x")})));var So=Se.createElement("div",{className:"".concat(ft,"-content")},vo,xo,Se.createElement("div",(0,se.Z)({className:"".concat(ft,"-body"),style:$n},yr),En),Eo);return Se.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":Yt?pn:null,"aria-modal":"true",ref:eo,style:(0,re.Z)((0,re.Z)({},Nt),kr),className:de()(ft,Ct),onMouseDown:qr,onMouseUp:Rr},Se.createElement("div",{tabIndex:0,ref:sr,style:Ot,"aria-hidden":"true"}),Se.createElement(Et,{shouldUpdate:$r||Ro},wr?wr(So):So),Se.createElement("div",{tabIndex:0,ref:Ao,style:Ot,"aria-hidden":"true"}))}),Tt=at,st=Se.forwardRef(function(ht,lt){var ft=ht.prefixCls,Ct=ht.title,Nt=ht.style,Yt=ht.className,pn=ht.visible,Tn=ht.forceRender,Un=ht.destroyOnClose,Zn=ht.motionName,Wn=ht.ariaId,En=ht.onVisibleChanged,$n=ht.mousePosition,yr=(0,Se.useRef)(),wr=Se.useState(),qr=(0,le.Z)(wr,2),Rr=qr[0],Zr=qr[1],$r={};Rr&&($r.transformOrigin=Rr);function Ro(){var mr=Te(yr.current);Zr($n?"".concat($n.x-mr.left,"px ").concat($n.y-mr.top,"px"):"")}return Se.createElement(Ne.Z,{visible:pn,onVisibleChanged:En,onAppearPrepare:Ro,onEnterPrepare:Ro,forceRender:Tn,motionName:Zn,removeOnLeave:Un,ref:yr},function(mr,ro){var bo=mr.className,Oo=mr.style;return Se.createElement(Tt,(0,se.Z)({},ht,{ref:lt,title:Ct,ariaId:Wn,prefixCls:ft,holderRef:ro,style:(0,re.Z)((0,re.Z)((0,re.Z)({},Oo),Nt),$r),className:de()(Yt,bo)}))})});st.displayName="Content";var pt=st;function Pt(ht){var lt=ht.prefixCls,ft=ht.style,Ct=ht.visible,Nt=ht.maskProps,Yt=ht.motionName;return Se.createElement(Ne.Z,{key:"mask",visible:Ct,motionName:Yt,leavedClassName:"".concat(lt,"-mask-hidden")},function(pn,Tn){var Un=pn.className,Zn=pn.style;return Se.createElement("div",(0,se.Z)({ref:Tn,style:(0,re.Z)((0,re.Z)({},Zn),ft),className:de()("".concat(lt,"-mask"),Un)},Nt))})}function wt(ht){var lt=ht.prefixCls,ft=lt===void 0?"rc-dialog":lt,Ct=ht.zIndex,Nt=ht.visible,Yt=Nt===void 0?!1:Nt,pn=ht.keyboard,Tn=pn===void 0?!0:pn,Un=ht.focusTriggerAfterClose,Zn=Un===void 0?!0:Un,Wn=ht.wrapStyle,En=ht.wrapClassName,$n=ht.wrapProps,yr=ht.onClose,wr=ht.afterOpenChange,qr=ht.afterClose,Rr=ht.transitionName,Zr=ht.animation,$r=ht.closable,Ro=$r===void 0?!0:$r,mr=ht.mask,ro=mr===void 0?!0:mr,bo=ht.maskTransitionName,Oo=ht.maskAnimation,eo=ht.maskClosable,sr=eo===void 0?!0:eo,Ao=ht.maskStyle,kr=ht.maskProps,Eo=ht.rootClassName,xo=(0,Se.useRef)(),vo=(0,Se.useRef)(),So=(0,Se.useRef)(),Bo=Se.useState(Yt),Xo=(0,le.Z)(Bo,2),ra=Xo[0],Po=Xo[1],oa=Je();function ca(){Ge(vo.current,document.activeElement)||(xo.current=document.activeElement)}function aa(){if(!Ge(vo.current,document.activeElement)){var Qo;(Qo=So.current)===null||Qo===void 0||Qo.focus()}}function ha(Qo){if(Qo)aa();else{if(Po(!1),ro&&xo.current&&Zn){try{xo.current.focus({preventScroll:!0})}catch(ba){}xo.current=null}ra&&(qr==null||qr())}wr==null||wr(Qo)}function Go(Qo){yr==null||yr(Qo)}var pa=(0,Se.useRef)(!1),Ko=(0,Se.useRef)(),ea=function(){clearTimeout(Ko.current),pa.current=!0},xa=function(){Ko.current=setTimeout(function(){pa.current=!1})},Oa=null;sr&&(Oa=function(ba){pa.current?pa.current=!1:vo.current===ba.target&&Go(ba)});function Yo(Qo){if(Tn&&Qo.keyCode===Qe.ESC){Qo.stopPropagation(),Go(Qo);return}Yt&&Qo.keyCode===Qe.TAB&&So.current.changeActive(!Qo.shiftKey)}return(0,Se.useEffect)(function(){Yt&&(Po(!0),ca())},[Yt]),(0,Se.useEffect)(function(){return function(){clearTimeout(Ko.current)}},[]),Se.createElement("div",(0,se.Z)({className:de()("".concat(ft,"-root"),Eo)},Ke(ht,{data:!0})),Se.createElement(Pt,{prefixCls:ft,visible:ro&&Yt,motionName:ze(ft,bo,Oo),style:(0,re.Z)({zIndex:Ct},Ao),maskProps:kr}),Se.createElement("div",(0,se.Z)({tabIndex:-1,onKeyDown:Yo,className:de()("".concat(ft,"-wrap"),En),ref:vo,onClick:Oa,style:(0,re.Z)((0,re.Z)({zIndex:Ct},Wn),{},{display:ra?null:"none"})},$n),Se.createElement(pt,(0,se.Z)({},ht,{onMouseDown:ea,onMouseUp:xa,ref:So,closable:Ro,ariaId:oa,prefixCls:ft,visible:Yt&&ra,onClose:Go,onVisibleChanged:ha,motionName:ze(ft,Rr,Zr)}))))}var Lt=function(lt){var ft=lt.visible,Ct=lt.getContainer,Nt=lt.forceRender,Yt=lt.destroyOnClose,pn=Yt===void 0?!1:Yt,Tn=lt.afterClose,Un=lt.panelRef,Zn=Se.useState(ft),Wn=(0,le.Z)(Zn,2),En=Wn[0],$n=Wn[1],yr=Se.useMemo(function(){return{panel:Un}},[Un]);return Se.useEffect(function(){ft&&$n(!0)},[ft]),!Nt&&pn&&!En?null:Se.createElement(Xe.Provider,{value:yr},Se.createElement(et.Z,{open:ft||Nt||En,autoDestroy:!1,getContainer:Ct,autoLock:ft||En},Se.createElement(wt,(0,se.Z)({},lt,{destroyOnClose:pn,afterClose:function(){Tn==null||Tn(),$n(!1)}}))))};Lt.displayName="Dialog";var $t=Lt,nn=$t,un=fe(73935);function Cn(ht,lt,ft,Ct){var Nt=un.unstable_batchedUpdates?function(pn){un.unstable_batchedUpdates(ft,pn)}:ft;return ht!=null&&ht.addEventListener&&ht.addEventListener(lt,Nt,Ct),{remove:function(){ht!=null&&ht.removeEventListener&&ht.removeEventListener(lt,Nt,Ct)}}}var Sn={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(lt){var ft=lt.keyCode;if(lt.altKey&&!lt.ctrlKey||lt.metaKey||ft>=Sn.F1&&ft<=Sn.F12)return!1;switch(ft){case Sn.ALT:case Sn.CAPS_LOCK:case Sn.CONTEXT_MENU:case Sn.CTRL:case Sn.DOWN:case Sn.END:case Sn.ESC:case Sn.HOME:case Sn.INSERT:case Sn.LEFT:case Sn.MAC_FF_META:case Sn.META:case Sn.NUMLOCK:case Sn.NUM_CENTER:case Sn.PAGE_DOWN:case Sn.PAGE_UP:case Sn.PAUSE:case Sn.PRINT_SCREEN:case Sn.RIGHT:case Sn.SHIFT:case Sn.UP:case Sn.WIN_KEY:case Sn.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(lt){if(lt>=Sn.ZERO&<<=Sn.NINE||lt>=Sn.NUM_ZERO&<<=Sn.NUM_MULTIPLY||lt>=Sn.A&<<=Sn.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&<===0)return!0;switch(lt){case Sn.SPACE:case Sn.QUESTION_MARK:case Sn.NUM_PLUS:case Sn.NUM_MINUS:case Sn.NUM_PERIOD:case Sn.NUM_DIVISION:case Sn.SEMICOLON:case Sn.DASH:case Sn.EQUALS:case Sn.COMMA:case Sn.PERIOD:case Sn.SLASH:case Sn.APOSTROPHE:case Sn.SINGLE_QUOTE:case Sn.OPEN_SQUARE_BRACKET:case Sn.BACKSLASH:case Sn.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Kn=Sn,nr={},fr=[],Ur=function(lt){fr.push(lt)};function Gr(ht,lt){if(0)var ft}function zr(ht,lt){if(0)var ft}function Ir(){nr={}}function bn(ht,lt,ft){!lt&&!nr[ft]&&(ht(!1,ft),nr[ft]=!0)}function tn(ht,lt){bn(Gr,ht,lt)}function dn(ht,lt){bn(zr,ht,lt)}tn.preMessage=Ur,tn.resetWarned=Ir,tn.noteOnce=dn;var vn=tn;function xn(ht,lt,ft,Ct){var Nt=lt+ft,Yt=(ft-Ct)/2;if(ft>Ct){if(lt>0)return(0,ie.Z)({},ht,Yt);if(lt<0&&Nt<Ct)return(0,ie.Z)({},ht,-Yt)}else if(lt<0||Nt>Ct)return(0,ie.Z)({},ht,lt<0?Yt:-Yt);return{}}function tr(ht,lt,ft,Ct){var Nt=ge(),Yt=Nt.width,pn=Nt.height,Tn=null;return ht<=Yt&<<=pn?Tn={x:0,y:0}:(ht>Yt||lt>pn)&&(Tn=(0,re.Z)((0,re.Z)({},xn("x",ft,ht,Yt)),xn("y",Ct,lt,pn))),Tn}function Vn(ht,lt){var ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ct=new Set;function Nt(Yt,pn){var Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Un=Ct.has(Yt);if(vn(!Un,"Warning: There may be circular references"),Un)return!1;if(Yt===pn)return!0;if(ft&&Tn>1)return!1;Ct.add(Yt);var Zn=Tn+1;if(Array.isArray(Yt)){if(!Array.isArray(pn)||Yt.length!==pn.length)return!1;for(var Wn=0;Wn<Yt.length;Wn++)if(!Nt(Yt[Wn],pn[Wn],Zn))return!1;return!0}if(Yt&&pn&&(0,ce.Z)(Yt)==="object"&&(0,ce.Z)(pn)==="object"){var En=Object.keys(Yt);return En.length!==Object.keys(pn).length?!1:En.every(function($n){return Nt(Yt[$n],pn[$n],Zn)})}return!1}return Nt(ht,lt)}var pr=Vn,ar=function(lt){return+setTimeout(lt,16)},xt=function(lt){return clearTimeout(lt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ar=function(lt){return window.requestAnimationFrame(lt)},xt=function(lt){return window.cancelAnimationFrame(lt)});var It=0,Rt=new Map;function fn(ht){Rt.delete(ht)}var Nn=function(lt){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;It+=1;var Ct=It;function Nt(Yt){if(Yt===0)fn(Ct),lt();else{var pn=ar(function(){Nt(Yt-1)});Rt.set(Ct,pn)}}return Nt(ft),Ct};Nn.cancel=function(ht){var lt=Rt.get(ht);return fn(lt),xt(lt)};var jn=Nn,gr={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function hr(ht,lt,ft,Ct){var Nt=(0,Se.useRef)(null),Yt=(0,Se.useRef)([]),pn=(0,Se.useState)(gr),Tn=(0,le.Z)(pn,2),Un=Tn[0],Zn=Tn[1],Wn=function(wr){Zn(gr),Ct&&!pr(gr,Un)&&Ct({transform:gr,action:wr})},En=function(wr,qr){Nt.current===null&&(Yt.current=[],Nt.current=jn(function(){Zn(function(Rr){var Zr=Rr;return Yt.current.forEach(function($r){Zr=(0,re.Z)((0,re.Z)({},Zr),$r)}),Nt.current=null,Ct==null||Ct({transform:Zr,action:qr}),Zr})})),Yt.current.push((0,re.Z)((0,re.Z)({},Un),wr))},$n=function(wr,qr,Rr,Zr){var $r=ht.current,Ro=$r.width,mr=$r.height,ro=$r.offsetWidth,bo=$r.offsetHeight,Oo=$r.offsetLeft,eo=$r.offsetTop,sr=wr,Ao=Un.scale*wr;Ao>ft?(sr=ft/Un.scale,Ao=ft):Ao<lt&&(sr=lt/Un.scale,Ao=lt);var kr=Rr!=null?Rr:innerWidth/2,Eo=Zr!=null?Zr:innerHeight/2,xo=sr-1,vo=xo*Ro*.5,So=xo*mr*.5,Bo=xo*(kr-Un.x-Oo),Xo=xo*(Eo-Un.y-eo),ra=Un.x-(Bo-vo),Po=Un.y-(Xo-So);if(wr<1&&Ao===1){var oa=ro*Ao,ca=bo*Ao,aa=ge(),ha=aa.width,Go=aa.height;oa<=ha&&ca<=Go&&(ra=0,Po=0)}En({x:ra,y:Po,scale:Ao},qr)};return{transform:Un,resetTransform:Wn,updateTransform:En,dispatchZoomChange:$n}}var qn=function(lt){var ft=lt.visible,Ct=lt.maskTransitionName,Nt=lt.getContainer,Yt=lt.prefixCls,pn=lt.rootClassName,Tn=lt.icons,Un=lt.countRender,Zn=lt.showSwitch,Wn=lt.showProgress,En=lt.current,$n=lt.transform,yr=lt.count,wr=lt.scale,qr=lt.minScale,Rr=lt.maxScale,Zr=lt.closeIcon,$r=lt.onSwitchLeft,Ro=lt.onSwitchRight,mr=lt.onClose,ro=lt.onZoomIn,bo=lt.onZoomOut,Oo=lt.onRotateRight,eo=lt.onRotateLeft,sr=lt.onFlipX,Ao=lt.onFlipY,kr=lt.toolbarRender,Eo=(0,Se.useContext)(Ie),xo=Tn.rotateLeft,vo=Tn.rotateRight,So=Tn.zoomIn,Bo=Tn.zoomOut,Xo=Tn.close,ra=Tn.left,Po=Tn.right,oa=Tn.flipX,ca=Tn.flipY,aa="".concat(Yt,"-operations-operation");Se.useEffect(function(){var Ko=function(xa){xa.keyCode===Kn.ESC&&mr()};return ft&&window.addEventListener("keydown",Ko),function(){window.removeEventListener("keydown",Ko)}},[ft]);var ha=[{icon:ca,onClick:Ao,type:"flipY"},{icon:oa,onClick:sr,type:"flipX"},{icon:xo,onClick:eo,type:"rotateLeft"},{icon:vo,onClick:Oo,type:"rotateRight"},{icon:Bo,onClick:bo,type:"zoomOut",disabled:wr===qr},{icon:So,onClick:ro,type:"zoomIn",disabled:wr===Rr}],Go=ha.map(function(Ko){var ea,xa=Ko.icon,Oa=Ko.onClick,Yo=Ko.type,Qo=Ko.disabled;return Se.createElement("div",{className:de()(aa,(ea={},(0,ie.Z)(ea,"".concat(Yt,"-operations-operation-").concat(Yo),!0),(0,ie.Z)(ea,"".concat(Yt,"-operations-operation-disabled"),!!Qo),ea)),onClick:Oa,key:Yo},xa)}),pa=Se.createElement("div",{className:"".concat(Yt,"-operations")},Go);return Se.createElement(Ne.Z,{visible:ft,motionName:Ct},function(Ko){var ea=Ko.className,xa=Ko.style;return Se.createElement(et.Z,{open:!0,getContainer:Nt!=null?Nt:document.body},Se.createElement("div",{className:de()("".concat(Yt,"-operations-wrapper"),ea,pn),style:xa},Zr===null?null:Se.createElement("button",{className:"".concat(Yt,"-close"),onClick:mr},Zr||Xo),Zn&&Se.createElement(Se.Fragment,null,Se.createElement("div",{className:de()("".concat(Yt,"-switch-left"),(0,ie.Z)({},"".concat(Yt,"-switch-left-disabled"),En===0)),onClick:$r},ra),Se.createElement("div",{className:de()("".concat(Yt,"-switch-right"),(0,ie.Z)({},"".concat(Yt,"-switch-right-disabled"),En===yr-1)),onClick:Ro},Po)),Se.createElement("div",{className:"".concat(Yt,"-footer")},Wn&&Se.createElement("div",{className:"".concat(Yt,"-progress")},Un?Un(En+1,yr):"".concat(En+1," / ").concat(yr)),kr?kr(pa,(0,re.Z)({icons:{flipYIcon:Go[0],flipXIcon:Go[1],rotateLeftIcon:Go[2],rotateRightIcon:Go[3],zoomOutIcon:Go[4],zoomInIcon:Go[5]},actions:{onFlipY:Ao,onFlipX:sr,onRotateLeft:eo,onRotateRight:Oo,onZoomOut:bo,onZoomIn:ro},transform:$n},Eo?{current:En,total:yr}:{})):pa)))})},Br=qn,lo=1,Or=1,An=["fallback","src","imgRef"],_r=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],zt=function(lt){var ft=lt.fallback,Ct=lt.src,Nt=lt.imgRef,Yt=(0,ae.Z)(lt,An),pn=Ye({src:Ct,fallback:ft}),Tn=(0,le.Z)(pn,2),Un=Tn[0],Zn=Tn[1];return Se.createElement("img",(0,se.Z)({ref:function(En){Nt.current=En,Un(En)}},Yt,Zn))},ln=function(lt){var ft=lt.prefixCls,Ct=lt.src,Nt=lt.alt,Yt=lt.fallback,pn=lt.movable,Tn=pn===void 0?!0:pn,Un=lt.onClose,Zn=lt.visible,Wn=lt.icons,En=Wn===void 0?{}:Wn,$n=lt.rootClassName,yr=lt.closeIcon,wr=lt.getContainer,qr=lt.current,Rr=qr===void 0?0:qr,Zr=lt.count,$r=Zr===void 0?1:Zr,Ro=lt.countRender,mr=lt.scaleStep,ro=mr===void 0?.5:mr,bo=lt.minScale,Oo=bo===void 0?1:bo,eo=lt.maxScale,sr=eo===void 0?50:eo,Ao=lt.transitionName,kr=Ao===void 0?"zoom":Ao,Eo=lt.maskTransitionName,xo=Eo===void 0?"fade":Eo,vo=lt.imageRender,So=lt.imgCommonProps,Bo=lt.toolbarRender,Xo=lt.onTransform,ra=lt.onChange,Po=(0,ae.Z)(lt,_r),oa=(0,Se.useRef)(),ca=(0,Se.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),aa=(0,Se.useState)(!1),ha=(0,le.Z)(aa,2),Go=ha[0],pa=ha[1],Ko=(0,Se.useContext)(Ie),ea=Ko&&$r>1,xa=Ko&&$r>=1,Oa=hr(oa,Oo,sr,Xo),Yo=Oa.transform,Qo=Oa.resetTransform,ba=Oa.updateTransform,Za=Oa.dispatchZoomChange,Ba=(0,Se.useState)(!0),ka=(0,le.Z)(Ba,2),Ar=ka[0],co=ka[1],Jo=Yo.rotate,qo=Yo.scale,Aa=Yo.x,_a=Yo.y,La=de()((0,ie.Z)({},"".concat(ft,"-moving"),Go));(0,Se.useEffect)(function(){Ar||co(!0)},[Ar]);var ia=function(){Qo("close")},Na=function(){Za(lo+ro,"zoomIn")},Si=function(){Za(lo/(lo+ro),"zoomOut")},Xa=function(){ba({rotate:Jo+90},"rotateRight")},ri=function(){ba({rotate:Jo-90},"rotateLeft")},qa=function(){ba({flipX:!Yo.flipX},"flipX")},ei=function(){ba({flipY:!Yo.flipY},"flipY")},bi=function(Io){Io==null||Io.preventDefault(),Io==null||Io.stopPropagation(),Rr>0&&(co(!1),Qo("prev"),ra==null||ra(Rr-1,Rr))},Pi=function(Io){Io==null||Io.preventDefault(),Io==null||Io.stopPropagation(),Rr<$r-1&&(co(!1),Qo("next"),ra==null||ra(Rr+1,Rr))},fi=function(){if(Zn&&Go){pa(!1);var Io=ca.current,gi=Io.transformX,$a=Io.transformY,Va=Aa!==gi&&_a!==$a;if(!Va)return;var si=oa.current.offsetWidth*qo,li=oa.current.offsetHeight*qo,mi=oa.current.getBoundingClientRect(),Gi=mi.left,_i=mi.top,Ti=Jo%180!==0,Oi=tr(Ti?li:si,Ti?si:li,Gi,_i);Oi&&ba((0,re.Z)({},Oi),"dragRebound")}},Ui=function(Io){!Tn||Io.button!==0||(Io.preventDefault(),Io.stopPropagation(),ca.current={deltaX:Io.pageX-Yo.x,deltaY:Io.pageY-Yo.y,transformX:Yo.x,transformY:Yo.y},pa(!0))},Mi=function(Io){Zn&&Go&&ba({x:Io.pageX-ca.current.deltaX,y:Io.pageY-ca.current.deltaY},"move")},zi=function(Io){if(!(!Zn||Io.deltaY==0)){var gi=Math.abs(Io.deltaY/100),$a=Math.min(gi,Or),Va=lo+$a*ro;Io.deltaY>0&&(Va=lo/Va),Za(Va,"wheel",Io.clientX,Io.clientY)}},Hi=function(Io){!Zn||!ea||(Io.keyCode===Kn.LEFT?bi():Io.keyCode===Kn.RIGHT&&Pi())},Ri=function(Io){Zn&&(qo!==1?ba({x:0,y:0,scale:1},"doubleClick"):Za(lo+ro,"doubleClick",Io.clientX,Io.clientY))};(0,Se.useEffect)(function(){var Ca,Io,gi,$a;if(Tn){gi=Cn(window,"mouseup",fi,!1),$a=Cn(window,"mousemove",Mi,!1);try{window.top!==window.self&&(Ca=Cn(window.top,"mouseup",fi,!1),Io=Cn(window.top,"mousemove",Mi,!1))}catch(Va){Gr(!1,"[rc-image] ".concat(Va))}}return function(){var Va,si,li,mi;(Va=gi)===null||Va===void 0||Va.remove(),(si=$a)===null||si===void 0||si.remove(),(li=Ca)===null||li===void 0||li.remove(),(mi=Io)===null||mi===void 0||mi.remove()}},[Zn,Go,Aa,_a,Jo,Tn]),(0,Se.useEffect)(function(){var Ca=Cn(window,"keydown",Hi,!1);return function(){Ca.remove()}},[Zn,ea,Rr]);var xi=Se.createElement(zt,(0,se.Z)({},So,{width:lt.width,height:lt.height,imgRef:oa,className:"".concat(ft,"-img"),alt:Nt,style:{transform:"translate3d(".concat(Yo.x,"px, ").concat(Yo.y,"px, 0) scale3d(").concat(Yo.flipX?"-":"").concat(qo,", ").concat(Yo.flipY?"-":"").concat(qo,", 1) rotate(").concat(Jo,"deg)"),transitionDuration:!Ar&&"0s"},fallback:Yt,src:Ct,onWheel:zi,onMouseDown:Ui,onDoubleClick:Ri}));return Se.createElement(Se.Fragment,null,Se.createElement(nn,(0,se.Z)({transitionName:kr,maskTransitionName:xo,closable:!1,keyboard:!0,prefixCls:ft,onClose:Un,visible:Zn,wrapClassName:La,rootClassName:$n,getContainer:wr},Po,{afterClose:ia}),Se.createElement("div",{className:"".concat(ft,"-img-wrapper")},vo?vo(xi,(0,re.Z)({transform:Yo},Ko?{current:Rr}:{})):xi)),Se.createElement(Br,{visible:Zn,transform:Yo,maskTransitionName:xo,closeIcon:yr,getContainer:wr,prefixCls:ft,rootClassName:$n,icons:En,countRender:Ro,showSwitch:ea,showProgress:xa,current:Rr,count:$r,scale:qo,minScale:Oo,maxScale:sr,toolbarRender:Bo,onSwitchLeft:bi,onSwitchRight:Pi,onZoomIn:Na,onZoomOut:Si,onRotateRight:Xa,onRotateLeft:ri,onFlipX:qa,onFlipY:ei,onClose:Un}))},an=ln,mn=fe(74902);function zn(ht){var lt=Se.useState({}),ft=(0,le.Z)(lt,2),Ct=ft[0],Nt=ft[1],Yt=Se.useCallback(function(Tn,Un){return Nt(function(Zn){return(0,re.Z)((0,re.Z)({},Zn),{},(0,ie.Z)({},Tn,Un))}),function(){Nt(function(Zn){var Wn=(0,re.Z)({},Zn);return delete Wn[Tn],Wn})}},[]),pn=Se.useMemo(function(){return ht?ht.map(function(Tn){if(typeof Tn=="string")return{data:{src:Tn}};var Un={};return Object.keys(Tn).forEach(function(Zn){["src"].concat((0,mn.Z)(Me)).includes(Zn)&&(Un[Zn]=Tn[Zn])}),{data:Un}}):Object.keys(Ct).reduce(function(Tn,Un){var Zn=Ct[Un],Wn=Zn.canPreview,En=Zn.data;return Wn&&Tn.push({data:En,id:Un}),Tn},[])},[ht,Ct]);return[pn,Yt]}var Dt=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Bn=["src"],yn=function(lt){var ft,Ct=lt.previewPrefixCls,Nt=Ct===void 0?"rc-image-preview":Ct,Yt=lt.children,pn=lt.icons,Tn=pn===void 0?{}:pn,Un=lt.items,Zn=lt.preview,Wn=lt.fallback,En=(0,ce.Z)(Zn)==="object"?Zn:{},$n=En.visible,yr=En.onVisibleChange,wr=En.getContainer,qr=En.current,Rr=En.movable,Zr=En.minScale,$r=En.maxScale,Ro=En.countRender,mr=En.closeIcon,ro=En.onChange,bo=En.onTransform,Oo=En.toolbarRender,eo=En.imageRender,sr=(0,ae.Z)(En,Dt),Ao=zn(Un),kr=(0,le.Z)(Ao,2),Eo=kr[0],xo=kr[1],vo=Ee(0,{value:qr}),So=(0,le.Z)(vo,2),Bo=So[0],Xo=So[1],ra=(0,Se.useState)(!1),Po=(0,le.Z)(ra,2),oa=Po[0],ca=Po[1],aa=((ft=Eo[Bo])===null||ft===void 0?void 0:ft.data)||{},ha=aa.src,Go=(0,ae.Z)(aa,Bn),pa=Ee(!!$n,{value:$n,onChange:function(Jo,qo){yr==null||yr(Jo,qo,Bo)}}),Ko=(0,le.Z)(pa,2),ea=Ko[0],xa=Ko[1],Oa=(0,Se.useState)(null),Yo=(0,le.Z)(Oa,2),Qo=Yo[0],ba=Yo[1],Za=Se.useCallback(function(co,Jo,qo){var Aa=Eo.findIndex(function(_a){return _a.id===co});xa(!0),ba({x:Jo,y:qo}),Xo(Aa<0?0:Aa),ca(!0)},[Eo]);Se.useEffect(function(){ea?oa||Xo(0):ca(!1)},[ea]);var Ba=function(Jo,qo){Xo(Jo),ro==null||ro(Jo,qo)},ka=function(){xa(!1),ba(null)},Ar=Se.useMemo(function(){return{register:xo,onPreview:Za}},[xo,Za]);return Se.createElement(Ie.Provider,{value:Ar},Yt,Se.createElement(an,(0,se.Z)({"aria-hidden":!ea,movable:Rr,visible:ea,prefixCls:Nt,closeIcon:mr,onClose:ka,mousePosition:Qo,imgCommonProps:Go,src:ha,fallback:Wn,icons:Tn,minScale:Zr,maxScale:$r,getContainer:wr,current:Bo,count:Eo.length,countRender:Ro,onTransform:bo,toolbarRender:Oo,imageRender:eo,onChange:Ba},sr)))},Er=yn,ir=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Mr=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Wr=function(lt){var ft=lt.src,Ct=lt.alt,Nt=lt.onPreviewClose,Yt=lt.prefixCls,pn=Yt===void 0?"rc-image":Yt,Tn=lt.previewPrefixCls,Un=Tn===void 0?"".concat(pn,"-preview"):Tn,Zn=lt.placeholder,Wn=lt.fallback,En=lt.width,$n=lt.height,yr=lt.style,wr=lt.preview,qr=wr===void 0?!0:wr,Rr=lt.className,Zr=lt.onClick,$r=lt.onError,Ro=lt.wrapperClassName,mr=lt.wrapperStyle,ro=lt.rootClassName,bo=(0,ae.Z)(lt,ir),Oo=Zn&&Zn!==!0,eo=(0,ce.Z)(qr)==="object"?qr:{},sr=eo.src,Ao=eo.visible,kr=Ao===void 0?void 0:Ao,Eo=eo.onVisibleChange,xo=Eo===void 0?Nt:Eo,vo=eo.getContainer,So=vo===void 0?void 0:vo,Bo=eo.mask,Xo=eo.maskClassName,ra=eo.movable,Po=eo.icons,oa=eo.scaleStep,ca=eo.minScale,aa=eo.maxScale,ha=eo.imageRender,Go=eo.toolbarRender,pa=(0,ae.Z)(eo,Mr),Ko=sr!=null?sr:ft,ea=Ee(!!kr,{value:kr,onChange:xo}),xa=(0,le.Z)(ea,2),Oa=xa[0],Yo=xa[1],Qo=Ye({src:ft,isCustomPlaceholder:Oo,fallback:Wn}),ba=(0,le.Z)(Qo,3),Za=ba[0],Ba=ba[1],ka=ba[2],Ar=(0,Se.useState)(null),co=(0,le.Z)(Ar,2),Jo=co[0],qo=co[1],Aa=(0,Se.useContext)(Ie),_a=!!qr,La=function(){Yo(!1),qo(null)},ia=de()(pn,Ro,ro,(0,ie.Z)({},"".concat(pn,"-error"),ka==="error")),Na=(0,Se.useMemo)(function(){var qa={};return Me.forEach(function(ei){lt[ei]!==void 0&&(qa[ei]=lt[ei])}),qa},Me.map(function(qa){return lt[qa]})),Si=(0,Se.useMemo)(function(){return(0,re.Z)((0,re.Z)({},Na),{},{src:Ko})},[Ko,Na]),Xa=Re(_a,Si),ri=function(ei){var bi=he(ei.target),Pi=bi.left,fi=bi.top;Aa?Aa.onPreview(Xa,Pi,fi):(qo({x:Pi,y:fi}),Yo(!0)),Zr==null||Zr(ei)};return Se.createElement(Se.Fragment,null,Se.createElement("div",(0,se.Z)({},bo,{className:ia,onClick:_a?ri:Zr,style:(0,re.Z)({width:En,height:$n},mr)}),Se.createElement("img",(0,se.Z)({},Na,{className:de()("".concat(pn,"-img"),(0,ie.Z)({},"".concat(pn,"-img-placeholder"),Zn===!0),Rr),style:(0,re.Z)({height:$n},yr),ref:Za},Ba,{width:En,height:$n,onError:$r})),ka==="loading"&&Se.createElement("div",{"aria-hidden":"true",className:"".concat(pn,"-placeholder")},Zn),Bo&&_a&&Se.createElement("div",{className:de()("".concat(pn,"-mask"),Xo),style:{display:(yr==null?void 0:yr.display)==="none"?"none":void 0}},Bo)),!Aa&&_a&&Se.createElement(an,(0,se.Z)({"aria-hidden":!Oa,visible:Oa,prefixCls:Un,onClose:La,mousePosition:Jo,src:Ko,alt:Ct,fallback:Wn,getContainer:So,icons:Po,movable:ra,scaleStep:oa,minScale:ca,maxScale:aa,rootClassName:ro,imageRender:ha,imgCommonProps:Na,toolbarRender:Go},pa)))};Wr.PreviewGroup=Er,Wr.displayName="Image";var Pn=Wr,Qr=Pn,io=fe(33603),Mo=fe(53124),oo=fe(24457),Ho=fe(73475),kn=fe(22751),dr=fe(91034),ur={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"},Xn=ur,uo=fe(74643),so=function(lt,ft){return Se.createElement(uo.Z,(0,se.Z)({},lt,{ref:ft,icon:Xn}))},yo=Se.forwardRef(so),Fo={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"},zo=Fo,Mt=function(lt,ft){return Se.createElement(uo.Z,(0,se.Z)({},lt,{ref:ft,icon:zo}))},At=Se.forwardRef(Mt),rn={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"},Ut=rn,On=function(lt,ft){return Se.createElement(uo.Z,(0,se.Z)({},lt,{ref:ft,icon:Ut}))},er=Se.forwardRef(On),vr={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"},xr=vr,Nr=function(lt,ft){return Se.createElement(uo.Z,(0,se.Z)({},lt,{ref:ft,icon:xr}))},no=Se.forwardRef(Nr),Kr={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"},Pr=Kr,Qn=function(lt,ft){return Se.createElement(uo.Z,(0,se.Z)({},lt,{ref:ft,icon:Pr}))},jt=Se.forwardRef(Qn),Ht=fe(84780),sn=fe(71194),gt=fe(14747),cn=fe(50438),wn=fe(16932),Hn=fe(67968),Vt=fe(45503);const en=ht=>({position:ht||"absolute",inset:0}),Jt=ht=>{const{iconCls:lt,motionDurationSlow:ft,paddingXXS:Ct,marginXXS:Nt,prefixCls:Yt,colorTextLightSolid:pn}=ht;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:pn,background:new Ht.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${ft}`,[`.${Yt}-mask-info`]:Object.assign(Object.assign({},gt.vS),{padding:`0 ${Ct}px`,[lt]:{marginInlineEnd:Nt,svg:{verticalAlign:"baseline"}}})}},Gn=ht=>{const{previewCls:lt,modalMaskBg:ft,paddingSM:Ct,marginXL:Nt,margin:Yt,paddingLG:pn,previewOperationColorDisabled:Tn,previewOperationHoverColor:Un,motionDurationSlow:Zn,iconCls:Wn,colorTextLightSolid:En}=ht,$n=new Ht.C(ft).setAlpha(.1),yr=$n.clone().setAlpha(.2);return{[`${lt}-footer`]:{position:"fixed",bottom:Nt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:ht.previewOperationColor},[`${lt}-progress`]:{marginBottom:Yt},[`${lt}-close`]:{position:"fixed",top:Nt,right:{_skip_check_:!0,value:Nt},display:"flex",color:En,backgroundColor:$n.toRgbString(),borderRadius:"50%",padding:Ct,outline:0,border:0,cursor:"pointer",transition:`all ${Zn}`,"&:hover":{backgroundColor:yr.toRgbString()},[`& > ${Wn}`]:{fontSize:ht.previewOperationSize}},[`${lt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${pn}px`,backgroundColor:$n.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Ct,padding:Ct,cursor:"pointer",transition:`all ${Zn}`,userSelect:"none",[`&:not(${lt}-operations-operation-disabled):hover > ${Wn}`]:{color:Un},"&-disabled":{color:Tn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Wn}`]:{fontSize:ht.previewOperationSize}}}}},St=ht=>{const{modalMaskBg:lt,iconCls:ft,previewOperationColorDisabled:Ct,previewCls:Nt,zIndexPopup:Yt,motionDurationSlow:pn}=ht,Tn=new Ht.C(lt).setAlpha(.1),Un=Tn.clone().setAlpha(.2);return{[`${Nt}-switch-left, ${Nt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Yt+1,display:"flex",alignItems:"center",justifyContent:"center",width:ht.imagePreviewSwitchSize,height:ht.imagePreviewSwitchSize,marginTop:-ht.imagePreviewSwitchSize/2,color:ht.previewOperationColor,background:Tn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${pn}`,userSelect:"none","&:hover":{background:Un.toRgbString()},"&-disabled":{"&, &:hover":{color:Ct,background:"transparent",cursor:"not-allowed",[`> ${ft}`]:{cursor:"not-allowed"}}},[`> ${ft}`]:{fontSize:ht.previewOperationSize}},[`${Nt}-switch-left`]:{insetInlineStart:ht.marginSM},[`${Nt}-switch-right`]:{insetInlineEnd:ht.marginSM}}},Ft=ht=>{const{motionEaseOut:lt,previewCls:ft,motionDurationSlow:Ct,componentCls:Nt}=ht;return[{[`${Nt}-preview-root`]:{[ft]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${ft}-body`]:Object.assign(Object.assign({},en()),{overflow:"hidden"}),[`${ft}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Ct} ${lt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},en()),{transition:`transform ${Ct} ${lt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${ft}-moving`]:{[`${ft}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Nt}-preview-root`]:{[`${ft}-wrap`]:{zIndex:ht.zIndexPopup}}},{[`${Nt}-preview-operations-wrapper`]:{position:"fixed",zIndex:ht.zIndexPopup+1},"&":[Gn(ht),St(ht)]}]},Xt=ht=>{const{componentCls:lt}=ht;return{[lt]:{position:"relative",display:"inline-block",[`${lt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${lt}-img-placeholder`]:{backgroundColor:ht.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${lt}-mask`]:Object.assign({},Jt(ht)),[`${lt}-mask:hover`]:{opacity:1},[`${lt}-placeholder`]:Object.assign({},en())}}},_n=ht=>{const{previewCls:lt}=ht;return{[`${lt}-root`]:(0,cn._y)(ht,"zoom"),"&":(0,wn.J$)(ht,!0)}};var Ln=(0,Hn.Z)("Image",ht=>{const lt=`${ht.componentCls}-preview`,ft=(0,Vt.TS)(ht,{previewCls:lt,modalMaskBg:new Ht.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:ht.controlHeightLG});return[Xt(ft),Ft(ft),(0,sn.QA)((0,Vt.TS)(ft,{componentCls:lt})),_n(ft)]},ht=>({zIndexPopup:ht.zIndexPopupBase+80,previewOperationColor:new Ht.C(ht.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Ht.C(ht.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Ht.C(ht.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:ht.fontSizeIcon*1.5})),Fn=function(ht,lt){var ft={};for(var Ct in ht)Object.prototype.hasOwnProperty.call(ht,Ct)&<.indexOf(Ct)<0&&(ft[Ct]=ht[Ct]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,Ct=Object.getOwnPropertySymbols(ht);Nt<Ct.length;Nt++)lt.indexOf(Ct[Nt])<0&&Object.prototype.propertyIsEnumerable.call(ht,Ct[Nt])&&(ft[Ct[Nt]]=ht[Ct[Nt]]);return ft};const kt={rotateLeft:Se.createElement(yo,null),rotateRight:Se.createElement(At,null),zoomIn:Se.createElement(no,null),zoomOut:Se.createElement(jt,null),close:Se.createElement(Ho.Z,null),left:Se.createElement(kn.Z,null),right:Se.createElement(dr.Z,null),flipX:Se.createElement(er,null),flipY:Se.createElement(er,{rotate:90})};var Gt=ht=>{var{previewPrefixCls:lt,preview:ft}=ht,Ct=Fn(ht,["previewPrefixCls","preview"]);const{getPrefixCls:Nt}=Se.useContext(Mo.E_),Yt=Nt("image",lt),pn=`${Yt}-preview`,Tn=Nt(),[Un,Zn]=Ln(Yt),Wn=Se.useMemo(()=>{var En;if(ft===!1)return ft;const $n=typeof ft=="object"?ft:{},yr=de()(Zn,(En=$n.rootClassName)!==null&&En!==void 0?En:"");return Object.assign(Object.assign({},$n),{transitionName:(0,io.m)(Tn,"zoom",$n.transitionName),maskTransitionName:(0,io.m)(Tn,"fade",$n.maskTransitionName),rootClassName:yr})},[ft]);return Un(Se.createElement(Qr.PreviewGroup,Object.assign({preview:Wn,previewPrefixCls:pn,icons:kt},Ct)))},Qt=function(ht,lt){var ft={};for(var Ct in ht)Object.prototype.hasOwnProperty.call(ht,Ct)&<.indexOf(Ct)<0&&(ft[Ct]=ht[Ct]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,Ct=Object.getOwnPropertySymbols(ht);Nt<Ct.length;Nt++)lt.indexOf(Ct[Nt])<0&&Object.prototype.propertyIsEnumerable.call(ht,Ct[Nt])&&(ft[Ct[Nt]]=ht[Ct[Nt]]);return ft};const Dn=ht=>{const{prefixCls:lt,preview:ft,className:Ct,rootClassName:Nt,style:Yt}=ht,pn=Qt(ht,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Tn,locale:Un=oo.Z,getPopupContainer:Zn,image:Wn}=Se.useContext(Mo.E_),En=Tn("image",lt),$n=Tn(),yr=Un.Image||oo.Z.Image,[wr,qr]=Ln(En),Rr=de()(Nt,qr),Zr=de()(Ct,qr,Wn==null?void 0:Wn.className),$r=Se.useMemo(()=>{if(ft===!1)return ft;const mr=typeof ft=="object"?ft:{},{getContainer:ro}=mr,bo=Qt(mr,["getContainer"]);return Object.assign(Object.assign({mask:Se.createElement("div",{className:`${En}-mask-info`},Se.createElement(E.Z,null),yr==null?void 0:yr.preview),icons:kt},bo),{getContainer:ro||Zn,transitionName:(0,io.m)($n,"zoom",mr.transitionName),maskTransitionName:(0,io.m)($n,"fade",mr.maskTransitionName)})},[ft,yr]),Ro=Object.assign(Object.assign({},Wn==null?void 0:Wn.style),Yt);return wr(Se.createElement(Qr,Object.assign({prefixCls:En,preview:$r,rootClassName:Rr,className:Zr,style:Ro},pn)))};Dn.PreviewGroup=Gt;var hn=Dn},71322:function(_t,dt,fe){"use strict";fe.d(dt,{D:function(){return te},Z:function(){return ge}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(he,pe){return xe.createElement(de.Z,(0,Se.Z)({},he,{ref:pe,icon:ve}))},re=xe.forwardRef(se),ie=fe(22751),le=fe(91034),ce=fe(94184),ae=fe.n(ce),oe=fe(10366),ee=me=>!isNaN(parseFloat(me))&&isFinite(me),a=fe(53124),y=fe(84321),x=function(me,he){var pe={};for(var be in me)Object.prototype.hasOwnProperty.call(me,be)&&he.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++)he.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"},te=xe.createContext({}),z=(()=>{let me=0;return function(){let he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return me+=1,`${he}${me}`}})();var ge=xe.forwardRef((me,he)=>{const{prefixCls:pe,className:be,trigger:ye,children:Pe,defaultCollapsed:we=!1,theme:Oe="dark",style:Ce={},collapsible:_e=!1,reverseArrow:Ee=!1,width:Me=200,collapsedWidth:Ie=80,zeroWidthTriggerStyle:Be,breakpoint:Re,onCollapse:tt,onBreakpoint:Ye}=me,et=x(me,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Xe}=(0,xe.useContext)(y.Gs),[Ge,Fe]=(0,xe.useState)("collapsed"in me?me.collapsed:we),[je,qe]=(0,xe.useState)(!1);(0,xe.useEffect)(()=>{"collapsed"in me&&Fe(me.collapsed)},[me.collapsed]);const Je=(Ae,ke)=>{"collapsed"in me||Fe(Ae),tt==null||tt(Ae,ke)},it=(0,xe.useRef)();it.current=Ae=>{qe(Ae.matches),Ye==null||Ye(Ae.matches),Ge!==Ae.matches&&Je(Ae.matches,"responsive")},(0,xe.useEffect)(()=>{function Ae($e){return it.current($e)}let ke;if(typeof window!="undefined"){const{matchMedia:$e}=window;if($e&&Re&&Re in b){ke=$e(`(max-width: ${b[Re]})`);try{ke.addEventListener("change",Ae)}catch(Ke){ke.addListener(Ae)}Ae(ke)}}return()=>{try{ke==null||ke.removeEventListener("change",Ae)}catch($e){ke==null||ke.removeListener(Ae)}}},[Re]),(0,xe.useEffect)(()=>{const Ae=z("ant-sider-");return Xe.addSider(Ae),()=>Xe.removeSider(Ae)},[]);const Qe=()=>{Je(!Ge,"clickTrigger")},{getPrefixCls:Ze}=(0,xe.useContext)(a.E_),De=()=>{const Ae=Ze("layout-sider",pe),ke=(0,oe.Z)(et,["collapsed"]),$e=Ge?Ie:Me,Ke=ee($e)?`${$e}px`:String($e),ze=parseFloat(String(Ie||0))===0?xe.createElement("span",{onClick:Qe,className:ae()(`${Ae}-zero-width-trigger`,`${Ae}-zero-width-trigger-${Ee?"right":"left"}`),style:Be},ye||xe.createElement(re,null)):null,Ne={expanded:Ee?xe.createElement(le.Z,null):xe.createElement(ie.Z,null),collapsed:Ee?xe.createElement(ie.Z,null):xe.createElement(le.Z,null)}[Ge?"collapsed":"expanded"],He=ye!==null?ze||xe.createElement("div",{className:`${Ae}-trigger`,onClick:Qe,style:{width:Ke}},ye||Ne):null,rt=Object.assign(Object.assign({},Ce),{flex:`0 0 ${Ke}`,maxWidth:Ke,minWidth:Ke,width:Ke}),mt=ae()(Ae,`${Ae}-${Oe}`,{[`${Ae}-collapsed`]:!!Ge,[`${Ae}-has-trigger`]:_e&&ye!==null&&!ze,[`${Ae}-below`]:!!je,[`${Ae}-zero-width`]:parseFloat(Ke)===0},be);return xe.createElement("aside",Object.assign({className:mt},ke,{style:rt,ref:he}),xe.createElement("div",{className:`${Ae}-children`},Pe),_e||je&&ze?He:null)},Ve=xe.useMemo(()=>({siderCollapsed:Ge}),[Ge]);return xe.createElement(te.Provider,{value:Ve},De())})},84321:function(_t,dt,fe){"use strict";fe.d(dt,{VY:function(){return z},$_:function(){return te},h4:function(){return b},Gs:function(){return ne},ZP:function(){return ue}});var Se=fe(74902),xe=fe(94184),E=fe.n(xe),ve=fe(10366),de=fe(67294),se=fe(53124),re=fe(67968),le=ge=>{const{componentCls:me,bodyBg:he,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 ${he}`,borderInlineStart:0}}}};const ce=ge=>{const{antCls:me,componentCls:he,colorText:pe,triggerColor:be,footerBg:ye,triggerBg:Pe,headerHeight:we,headerPadding:Oe,headerColor:Ce,footerPadding:_e,triggerHeight:Ee,zeroTriggerHeight:Me,zeroTriggerWidth:Ie,motionDurationMid:Be,motionDurationSlow:Re,fontSize:tt,borderRadius:Ye,bodyBg:et,headerBg:Xe,siderBg:Ge}=ge;return{[he]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:et,"&, *":{boxSizing:"border-box"},[`&${he}-has-sider`]:{flexDirection:"row",[`> ${he}, > ${he}-content`]:{width:0}},[`${he}-header, &${he}-footer`]:{flex:"0 0 auto"},[`${he}-sider`]:{position:"relative",minWidth:0,background:Ge,transition:`all ${Be}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${me}-menu${me}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ee},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ee,color:be,lineHeight:`${Ee}px`,textAlign:"center",background:Pe,cursor:"pointer",transition:`all ${Be}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:we,insetInlineEnd:-Ie,zIndex:1,width:Ie,height:Me,color:be,fontSize:ge.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ge,borderStartStartRadius:0,borderStartEndRadius:Ye,borderEndEndRadius:Ye,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Re} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Re}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ie,borderStartStartRadius:Ye,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ye}}}}},le(ge)),{"&-rtl":{direction:"rtl"}}),[`${he}-header`]:{height:we,padding:Oe,color:Ce,lineHeight:`${we}px`,background:Xe,[`${me}-menu`]:{lineHeight:"inherit"}},[`${he}-footer`]:{padding:_e,color:pe,fontSize:tt,background:ye},[`${he}-content`]:{flex:"auto",minHeight:0}}};var ae=(0,re.Z)("Layout",ge=>[ce(ge)],ge=>{const{colorBgLayout:me,controlHeight:he,controlHeightLG:pe,colorText:be,controlHeightSM:ye,marginXXS:Pe,colorTextLightSolid:we,colorBgContainer:Oe}=ge,Ce=pe*1.25;return{colorBgHeader:"#001529",colorBgBody:me,colorBgTrigger:"#002140",bodyBg:me,headerBg:"#001529",headerHeight:he*2,headerPadding:`0 ${Ce}px`,headerColor:be,footerPadding:`${ye}px ${Ce}px`,footerBg:me,siderBg:"#001529",triggerHeight:pe+Pe*2,triggerBg:"#002140",triggerColor:we,zeroTriggerWidth:pe,zeroTriggerHeight:pe,lightSiderBg:Oe,lightTriggerBg:Oe,lightTriggerColor:be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(ge,me){var he={};for(var pe in ge)Object.prototype.hasOwnProperty.call(ge,pe)&&me.indexOf(pe)<0&&(he[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])&&(he[pe[be]]=ge[pe[be]]);return he};const ne=de.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ee(ge){let{suffixCls:me,tagName:he,displayName:pe}=ge;return be=>de.forwardRef((Pe,we)=>de.createElement(be,Object.assign({ref:we,suffixCls:me,tagName:he},Pe)))}const a=de.forwardRef((ge,me)=>{const{prefixCls:he,suffixCls:pe,className:be,tagName:ye}=ge,Pe=oe(ge,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:we}=de.useContext(se.E_),Oe=we("layout",he),[Ce,_e]=ae(Oe),Ee=pe?`${Oe}-${pe}`:Oe;return Ce(de.createElement(ye,Object.assign({className:E()(he||Ee,be,_e),ref:me},Pe)))}),y=de.forwardRef((ge,me)=>{const{direction:he}=de.useContext(se.E_),[pe,be]=de.useState([]),{prefixCls:ye,className:Pe,rootClassName:we,children:Oe,hasSider:Ce,tagName:_e,style:Ee}=ge,Me=oe(ge,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ie=(0,ve.Z)(Me,["suffixCls"]),{getPrefixCls:Be,layout:Re}=de.useContext(se.E_),tt=Be("layout",ye),[Ye,et]=ae(tt),Xe=E()(tt,{[`${tt}-has-sider`]:typeof Ce=="boolean"?Ce:pe.length>0,[`${tt}-rtl`]:he==="rtl"},Re==null?void 0:Re.className,Pe,we,et),Ge=de.useMemo(()=>({siderHook:{addSider:Fe=>{be(je=>[].concat((0,Se.Z)(je),[Fe]))},removeSider:Fe=>{be(je=>je.filter(qe=>qe!==Fe))}}}),[]);return Ye(de.createElement(ne.Provider,{value:Ge},de.createElement(_e,Object.assign({ref:me,className:Xe,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),Ee)},Ie),Oe)))}),x=ee({tagName:"div",displayName:"Layout"})(y),b=ee({suffixCls:"header",tagName:"header",displayName:"Header"})(a),te=ee({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),z=ee({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ue=x},76529:function(_t,dt,fe){"use strict";fe.d(dt,{J:function(){return se}});var Se=fe(67294),xe=fe(4173),E=fe(60276),ve=function(re,ie){var le={};for(var ce in re)Object.prototype.hasOwnProperty.call(re,ce)&&ie.indexOf(ce)<0&&(le[ce]=re[ce]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ce=Object.getOwnPropertySymbols(re);ae<ce.length;ae++)ie.indexOf(ce[ae])<0&&Object.prototype.propertyIsEnumerable.call(re,ce[ae])&&(le[ce[ae]]=re[ce[ae]]);return le};const de=Se.createContext(null),se=Se.forwardRef((re,ie)=>{const{children:le}=re,ce=ve(re,["children"]),ae=Se.useContext(de),oe=Se.useMemo(()=>Object.assign(Object.assign({},ae),ce),[ae,ce.prefixCls,ce.mode,ce.selectable]);return Se.createElement(de.Provider,{value:oe},Se.createElement(xe.BR,null,(0,E.supportNodeRef)(le)?Se.cloneElement(le,{ref:ie}):le))});dt.Z=de},68508:function(_t,dt,fe){"use strict";fe.d(dt,{default:function(){return Ae}});var Se=fe(78595),xe=fe(67294),E=fe(71322),ve=fe(94184),de=fe.n(ve),se=fe(53124),re=function(ke,$e){var Ke={};for(var ze in ke)Object.prototype.hasOwnProperty.call(ke,ze)&&$e.indexOf(ze)<0&&(Ke[ze]=ke[ze]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ze=Object.getOwnPropertySymbols(ke);Le<ze.length;Le++)$e.indexOf(ze[Le])<0&&Object.prototype.propertyIsEnumerable.call(ke,ze[Le])&&(Ke[ze[Le]]=ke[ze[Le]]);return Ke},le=ke=>{const{prefixCls:$e,className:Ke,dashed:ze}=ke,Le=re(ke,["prefixCls","className","dashed"]),{getPrefixCls:Te}=xe.useContext(se.E_),Ne=Te("menu",$e),He=de()({[`${Ne}-item-divider-dashed`]:!!ze},Ke);return xe.createElement(Se.iz,Object.assign({className:He},Le))},ce=fe(37419),ae=fe(10366),oe=fe(83062),ne=fe(96159),a=(0,xe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=ke=>{var $e;const{className:Ke,children:ze,icon:Le,title:Te,danger:Ne}=ke,{prefixCls:He,firstLevel:rt,direction:mt,disableMenuItemTitleTooltip:vt,inlineCollapsed:nt}=xe.useContext(a),ut=pt=>{const Pt=xe.createElement("span",{className:`${He}-title-content`},ze);return(!Le||(0,ne.l$)(ze)&&ze.type==="span")&&ze&&pt&&rt&&typeof ze=="string"?xe.createElement("div",{className:`${He}-inline-collapsed-noicon`},ze.charAt(0)):Pt},{siderCollapsed:Et}=xe.useContext(E.D);let Ot=Te;typeof Te=="undefined"?Ot=rt?ze:"":Te===!1&&(Ot="");const at={title:Ot};!Et&&!nt&&(at.title=null,at.open=!1);const Tt=(0,ce.Z)(ze).length;let st=xe.createElement(Se.ck,Object.assign({},(0,ae.Z)(ke,["title","icon","danger"]),{className:de()({[`${He}-item-danger`]:Ne,[`${He}-item-only-child`]:(Le?Tt+1:Tt)===1},Ke),title:typeof Te=="string"?Te:void 0}),(0,ne.Tm)(Le,{className:de()((0,ne.l$)(Le)?($e=Le.props)===null||$e===void 0?void 0:$e.className:"",`${He}-item-icon`)}),ut(nt));return vt||(st=xe.createElement(oe.Z,Object.assign({},at,{placement:mt==="rtl"?"left":"right",overlayClassName:`${He}-inline-collapsed-tooltip`}),st)),st},te=ke=>{var $e;const{popupClassName:Ke,icon:ze,title:Le,theme:Te}=ke,Ne=xe.useContext(a),{prefixCls:He,inlineCollapsed:rt,theme:mt}=Ne,vt=(0,Se.Xl)();let nt;if(!ze)nt=rt&&!vt.length&&Le&&typeof Le=="string"?xe.createElement("div",{className:`${He}-inline-collapsed-noicon`},Le.charAt(0)):xe.createElement("span",{className:`${He}-title-content`},Le);else{const Et=(0,ne.l$)(Le)&&Le.type==="span";nt=xe.createElement(xe.Fragment,null,(0,ne.Tm)(ze,{className:de()((0,ne.l$)(ze)?($e=ze.props)===null||$e===void 0?void 0:$e.className:"",`${He}-item-icon`)}),Et?Le:xe.createElement("span",{className:`${He}-title-content`},Le))}const ut=xe.useMemo(()=>Object.assign(Object.assign({},Ne),{firstLevel:!1}),[Ne]);return xe.createElement(a.Provider,{value:ut},xe.createElement(Se.Wd,Object.assign({},(0,ae.Z)(ke,["icon"]),{title:nt,popupClassName:de()(He,Ke,`${He}-${Te||mt}`)})))},z=fe(25877),ue=fe(60276),ge=fe(33603),me=fe(76529),he=function(ke,$e){var Ke={};for(var ze in ke)Object.prototype.hasOwnProperty.call(ke,ze)&&$e.indexOf(ze)<0&&(Ke[ze]=ke[ze]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ze=Object.getOwnPropertySymbols(ke);Le<ze.length;Le++)$e.indexOf(ze[Le])<0&&Object.prototype.propertyIsEnumerable.call(ke,ze[Le])&&(Ke[ze[Le]]=ke[ze[Le]]);return Ke};function pe(ke){return(ke||[]).map(($e,Ke)=>{if($e&&typeof $e=="object"){const ze=$e,{label:Le,children:Te,key:Ne,type:He}=ze,rt=he(ze,["label","children","key","type"]),mt=Ne!=null?Ne:`tmp-${Ke}`;return Te||He==="group"?He==="group"?xe.createElement(Se.BW,Object.assign({key:mt},rt,{title:Le}),pe(Te)):xe.createElement(te,Object.assign({key:mt},rt,{title:Le}),pe(Te)):He==="divider"?xe.createElement(le,Object.assign({key:mt},rt)):xe.createElement(x,Object.assign({key:mt},rt),Le)}return null}).filter($e=>$e)}function be(ke){return xe.useMemo(()=>ke&&pe(ke),[ke])}var ye=fe(84780),Pe=fe(14747),we=fe(33507),Oe=fe(67771),Ce=fe(50438),_e=fe(67968),Ee=fe(45503),Ie=ke=>{const{componentCls:$e,motionDurationSlow:Ke,horizontalLineHeight:ze,colorSplit:Le,lineWidth:Te,lineType:Ne,itemPaddingInline:He}=ke;return{[`${$e}-horizontal`]:{lineHeight:ze,border:0,borderBottom:`${Te}px ${Ne} ${Le}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${$e}-item, ${$e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:He},[`> ${$e}-item:hover,
|
|
|
> ${$e}-item-active,
|
|
|
> ${$e}-submenu ${$e}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${$e}-item, ${$e}-submenu-title`]:{transition:[`border-color ${Ke}`,`background ${Ke}`].join(",")},[`${$e}-submenu-arrow`]:{display:"none"}}}},Re=ke=>{let{componentCls:$e,menuArrowOffset:Ke}=ke;return{[`${$e}-rtl`]:{direction:"rtl"},[`${$e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${$e}-rtl${$e}-vertical,
|
|
|
${$e}-submenu-rtl ${$e}-vertical`]:{[`${$e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ke})`},"&::after":{transform:`rotate(45deg) translateY(${Ke})`}}}}};const tt=ke=>Object.assign({},(0,Pe.oN)(ke));var et=(ke,$e)=>{const{componentCls:Ke,itemColor:ze,itemSelectedColor:Le,groupTitleColor:Te,itemBg:Ne,subMenuItemBg:He,itemSelectedBg:rt,activeBarHeight:mt,activeBarWidth:vt,activeBarBorderWidth:nt,motionDurationSlow:ut,motionEaseInOut:Et,motionEaseOut:Ot,itemPaddingInline:at,motionDurationMid:Tt,itemHoverColor:st,lineType:pt,colorSplit:Pt,itemDisabledColor:wt,dangerItemColor:Lt,dangerItemHoverColor:$t,dangerItemSelectedColor:nn,dangerItemActiveBg:un,dangerItemSelectedBg:Cn,itemHoverBg:Sn,itemActiveBg:Kn,menuSubMenuBg:nr,horizontalItemSelectedColor:fr,horizontalItemSelectedBg:Ur,horizontalItemBorderRadius:Gr,horizontalItemHoverBg:zr,popupBg:Ir}=ke;return{[`${Ke}-${$e}, ${Ke}-${$e} > ${Ke}`]:{color:ze,background:Ne,[`&${Ke}-root:focus-visible`]:Object.assign({},tt(ke)),[`${Ke}-item-group-title`]:{color:Te},[`${Ke}-submenu-selected`]:{[`> ${Ke}-submenu-title`]:{color:Le}},[`${Ke}-item-disabled, ${Ke}-submenu-disabled`]:{color:`${wt} !important`},[`${Ke}-item:not(${Ke}-item-selected):not(${Ke}-submenu-selected)`]:{[`&:hover, > ${Ke}-submenu-title:hover`]:{color:st}},[`&:not(${Ke}-horizontal)`]:{[`${Ke}-item:not(${Ke}-item-selected)`]:{"&:hover":{backgroundColor:Sn},"&:active":{backgroundColor:Kn}},[`${Ke}-submenu-title`]:{"&:hover":{backgroundColor:Sn},"&:active":{backgroundColor:Kn}}},[`${Ke}-item-danger`]:{color:Lt,[`&${Ke}-item:hover`]:{[`&:not(${Ke}-item-selected):not(${Ke}-submenu-selected)`]:{color:$t}},[`&${Ke}-item:active`]:{background:un}},[`${Ke}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ke}-item-selected`]:{color:Le,[`&${Ke}-item-danger`]:{color:nn},"a, a:hover":{color:"inherit"}},[`& ${Ke}-item-selected`]:{backgroundColor:rt,[`&${Ke}-item-danger`]:{backgroundColor:Cn}},[`${Ke}-item, ${Ke}-submenu-title`]:{[`&:not(${Ke}-item-disabled):focus-visible`]:Object.assign({},tt(ke))},[`&${Ke}-submenu > ${Ke}`]:{backgroundColor:nr},[`&${Ke}-popup > ${Ke}`]:{backgroundColor:Ir},[`&${Ke}-horizontal`]:Object.assign(Object.assign({},$e==="dark"?{borderBottom:0}:{}),{[`> ${Ke}-item, > ${Ke}-submenu`]:{top:nt,marginTop:-nt,marginBottom:0,borderRadius:Gr,"&::after":{position:"absolute",insetInline:at,bottom:0,borderBottom:`${mt}px solid transparent`,transition:`border-color ${ut} ${Et}`,content:'""'},"&:hover, &-active, &-open":{background:zr,"&::after":{borderBottomWidth:mt,borderBottomColor:fr}},"&-selected":{color:fr,backgroundColor:Ur,"&:hover":{backgroundColor:Ur},"&::after":{borderBottomWidth:mt,borderBottomColor:fr}}}}),[`&${Ke}-root`]:{[`&${Ke}-inline, &${Ke}-vertical`]:{borderInlineEnd:`${nt}px ${pt} ${Pt}`}},[`&${Ke}-inline`]:{[`${Ke}-sub${Ke}-inline`]:{background:He},[`${Ke}-item, ${Ke}-submenu-title`]:nt&&vt?{width:`calc(100% + ${nt}px)`}:{},[`${Ke}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${vt}px solid ${Le}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Tt} ${Ot}`,`opacity ${Tt} ${Ot}`].join(","),content:'""'},[`&${Ke}-item-danger`]:{"&::after":{borderInlineEndColor:nn}}},[`${Ke}-selected, ${Ke}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Tt} ${Et}`,`opacity ${Tt} ${Et}`].join(",")}}}}}};const Xe=ke=>{const{componentCls:$e,itemHeight:Ke,itemMarginInline:ze,padding:Le,menuArrowSize:Te,marginXS:Ne,itemMarginBlock:He}=ke,rt=Le+Te+Ne;return{[`${$e}-item`]:{position:"relative",overflow:"hidden"},[`${$e}-item, ${$e}-submenu-title`]:{height:Ke,lineHeight:`${Ke}px`,paddingInline:Le,overflow:"hidden",textOverflow:"ellipsis",marginInline:ze,marginBlock:He,width:`calc(100% - ${ze*2}px)`},[`> ${$e}-item,
|
|
|
> ${$e}-submenu > ${$e}-submenu-title`]:{height:Ke,lineHeight:`${Ke}px`},[`${$e}-item-group-list ${$e}-submenu-title,
|
|
|
${$e}-submenu-title`]:{paddingInlineEnd:rt}}};var Fe=ke=>{const{componentCls:$e,iconCls:Ke,itemHeight:ze,colorTextLightSolid:Le,dropdownWidth:Te,controlHeightLG:Ne,motionDurationMid:He,motionEaseOut:rt,paddingXL:mt,itemMarginInline:vt,fontSizeLG:nt,motionDurationSlow:ut,paddingXS:Et,boxShadowSecondary:Ot,collapsedWidth:at,collapsedIconSize:Tt}=ke,st={height:ze,lineHeight:`${ze}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[$e]:{"&-inline, &-vertical":Object.assign({[`&${$e}-root`]:{boxShadow:"none"}},Xe(ke))},[`${$e}-submenu-popup`]:{[`${$e}-vertical`]:Object.assign(Object.assign({},Xe(ke)),{boxShadow:Ot})}},{[`${$e}-submenu-popup ${$e}-vertical${$e}-sub`]:{minWidth:Te,maxHeight:`calc(100vh - ${Ne*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${$e}-inline`]:{width:"100%",[`&${$e}-root`]:{[`${$e}-item, ${$e}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ut}`,`background ${ut}`,`padding ${He} ${rt}`].join(","),[`> ${$e}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${$e}-sub${$e}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${$e}-submenu > ${$e}-submenu-title`]:st,[`& ${$e}-item-group-title`]:{paddingInlineStart:mt}},[`${$e}-item`]:st}},{[`${$e}-inline-collapsed`]:{width:at,[`&${$e}-root`]:{[`${$e}-item, ${$e}-submenu ${$e}-submenu-title`]:{[`> ${$e}-inline-collapsed-noicon`]:{fontSize:nt,textAlign:"center"}}},[`> ${$e}-item,
|
|
|
> ${$e}-item-group > ${$e}-item-group-list > ${$e}-item,
|
|
|
> ${$e}-item-group > ${$e}-item-group-list > ${$e}-submenu > ${$e}-submenu-title,
|
|
|
> ${$e}-submenu > ${$e}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${nt/2}px - ${vt}px)`,textOverflow:"clip",[`
|
|
|
${$e}-submenu-arrow,
|
|
|
${$e}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${$e}-item-icon, ${Ke}`]:{margin:0,fontSize:Tt,lineHeight:`${ze}px`,"+ span":{display:"inline-block",opacity:0}}},[`${$e}-item-icon, ${Ke}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${$e}-item-icon, ${Ke}`]:{display:"none"},"a, a:hover":{color:Le}},[`${$e}-item-group-title`]:Object.assign(Object.assign({},Pe.vS),{paddingInline:Et})}}]};const je=ke=>{const{componentCls:$e,motionDurationSlow:Ke,motionDurationMid:ze,motionEaseInOut:Le,motionEaseOut:Te,iconCls:Ne,iconSize:He,iconMarginInlineEnd:rt}=ke;return{[`${$e}-item, ${$e}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ke}`,`background ${Ke}`,`padding ${Ke} ${Le}`].join(","),[`${$e}-item-icon, ${Ne}`]:{minWidth:He,fontSize:He,transition:[`font-size ${ze} ${Te}`,`margin ${Ke} ${Le}`,`color ${Ke}`].join(","),"+ span":{marginInlineStart:rt,opacity:1,transition:[`opacity ${Ke} ${Le}`,`margin ${Ke}`,`color ${Ke}`].join(",")}},[`${$e}-item-icon`]:Object.assign({},(0,Pe.Ro)()),[`&${$e}-item-only-child`]:{[`> ${Ne}, > ${$e}-item-icon`]:{marginInlineEnd:0}}},[`${$e}-item-disabled, ${$e}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${$e}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},qe=ke=>{const{componentCls:$e,motionDurationSlow:Ke,motionEaseInOut:ze,borderRadius:Le,menuArrowSize:Te,menuArrowOffset:Ne}=ke;return{[`${$e}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ke.margin,width:Te,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ke} ${ze}, opacity ${Ke}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Te*.6,height:Te*.15,backgroundColor:"currentcolor",borderRadius:Le,transition:[`background ${Ke} ${ze}`,`transform ${Ke} ${ze}`,`top ${Ke} ${ze}`,`color ${Ke} ${ze}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ne})`},"&::after":{transform:`rotate(-45deg) translateY(${Ne})`}}}}},Je=ke=>{const{antCls:$e,componentCls:Ke,fontSize:ze,motionDurationSlow:Le,motionDurationMid:Te,motionEaseInOut:Ne,paddingXS:He,padding:rt,colorSplit:mt,lineWidth:vt,zIndexPopup:nt,borderRadiusLG:ut,subMenuItemBorderRadius:Et,menuArrowSize:Ot,menuArrowOffset:at,lineType:Tt,menuPanelMaskInset:st,groupTitleLineHeight:pt,groupTitleFontSize:Pt}=ke;return[{"":{[`${Ke}`]:Object.assign(Object.assign({},(0,Pe.dF)()),{"&-hidden":{display:"none"}})},[`${Ke}-submenu-hidden`]:{display:"none"}},{[Ke]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pe.Wf)(ke)),(0,Pe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ze,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Le} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ke}-item`]:{flex:"none"}},[`${Ke}-item, ${Ke}-submenu, ${Ke}-submenu-title`]:{borderRadius:ke.itemBorderRadius},[`${Ke}-item-group-title`]:{padding:`${He}px ${rt}px`,fontSize:Pt,lineHeight:pt,transition:`all ${Le}`},[`&-horizontal ${Ke}-submenu`]:{transition:[`border-color ${Le} ${Ne}`,`background ${Le} ${Ne}`].join(",")},[`${Ke}-submenu, ${Ke}-submenu-inline`]:{transition:[`border-color ${Le} ${Ne}`,`background ${Le} ${Ne}`,`padding ${Te} ${Ne}`].join(",")},[`${Ke}-submenu ${Ke}-sub`]:{cursor:"initial",transition:[`background ${Le} ${Ne}`,`padding ${Le} ${Ne}`].join(",")},[`${Ke}-title-content`]:{transition:`color ${Le}`},[`${Ke}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ke}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:mt,borderStyle:Tt,borderWidth:0,borderTopWidth:vt,marginBlock:vt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),je(ke)),{[`${Ke}-item-group`]:{[`${Ke}-item-group-list`]:{margin:0,padding:0,[`${Ke}-item, ${Ke}-submenu-title`]:{paddingInline:`${ze*2}px ${rt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:nt,borderRadius:ut,boxShadow:"none",transformOrigin:"0 0",[`&${Ke}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${st}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:st},"\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:ke.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ke.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ke.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ke.paddingXS},[`> ${Ke}`]:Object.assign(Object.assign(Object.assign({borderRadius:ut},je(ke)),qe(ke)),{[`${Ke}-item, ${Ke}-submenu > ${Ke}-submenu-title`]:{borderRadius:Et},[`${Ke}-submenu-title::after`]:{transition:`transform ${Le} ${Ne}`}})}}),qe(ke)),{[`&-inline-collapsed ${Ke}-submenu-arrow,
|
|
|
&-inline ${Ke}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${at})`},"&::after":{transform:`rotate(45deg) translateX(-${at})`}},[`${Ke}-submenu-open${Ke}-submenu-inline > ${Ke}-submenu-title > ${Ke}-submenu-arrow`]:{transform:`translateY(-${Ot*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${at})`},"&::before":{transform:`rotate(45deg) translateX(${at})`}}})},{[`${$e}-layout-header`]:{[Ke]:{lineHeight:"inherit"}}}]};var it=(ke,$e)=>(0,_e.Z)("Menu",ze=>{if($e===!1)return[];const{colorBgElevated:Le,colorPrimary:Te,colorTextLightSolid:Ne,controlHeightLG:He,fontSize:rt,darkItemColor:mt,darkDangerItemColor:vt,darkItemBg:nt,darkSubMenuItemBg:ut,darkItemSelectedColor:Et,darkItemSelectedBg:Ot,darkDangerItemSelectedBg:at,darkItemHoverBg:Tt,darkGroupTitleColor:st,darkItemHoverColor:pt,darkItemDisabledColor:Pt,darkDangerItemHoverColor:wt,darkDangerItemSelectedColor:Lt,darkDangerItemActiveBg:$t}=ze,nn=rt/7*5,un=(0,Ee.TS)(ze,{menuArrowSize:nn,menuHorizontalHeight:He*1.15,menuArrowOffset:`${nn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Le}),Cn=(0,Ee.TS)(un,{itemColor:mt,itemHoverColor:pt,groupTitleColor:st,itemSelectedColor:Et,itemBg:nt,popupBg:nt,subMenuItemBg:ut,itemActiveBg:"transparent",itemSelectedBg:Ot,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Tt,itemDisabledColor:Pt,dangerItemColor:vt,dangerItemHoverColor:wt,dangerItemSelectedColor:Lt,dangerItemActiveBg:$t,dangerItemSelectedBg:at,menuSubMenuBg:ut,horizontalItemSelectedColor:Ne,horizontalItemSelectedBg:Te});return[Je(un),Ie(un),Fe(un),et(un,"light"),et(Cn,"dark"),Re(un),(0,we.Z)(un),(0,Oe.oN)(un,"slide-up"),(0,Oe.oN)(un,"slide-down"),(0,Ce._y)(un,"zoom-big")]},ze=>{const{colorPrimary:Le,colorError:Te,colorTextDisabled:Ne,colorErrorBg:He,colorText:rt,colorTextDescription:mt,colorBgContainer:vt,colorFillAlter:nt,colorFillContent:ut,lineWidth:Et,lineWidthBold:Ot,controlItemBgActive:at,colorBgTextHover:Tt,controlHeightLG:st,lineHeight:pt,colorBgElevated:Pt,marginXXS:wt,padding:Lt,fontSize:$t,controlHeightSM:nn,fontSizeLG:un,colorTextLightSolid:Cn,colorErrorHover:Sn}=ze,Kn=new ye.C(Cn).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:Le,horizontalItemHoverColor:Le,colorGroupTitle:mt,groupTitleColor:mt,colorItemTextSelected:Le,itemSelectedColor:Le,colorItemTextSelectedHorizontal:Le,horizontalItemSelectedColor:Le,colorItemBg:vt,itemBg:vt,colorItemBgHover:Tt,itemHoverBg:Tt,colorItemBgActive:ut,itemActiveBg:at,colorSubItemBg:nt,subMenuItemBg:nt,colorItemBgSelected:at,itemSelectedBg:at,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Ot,activeBarHeight:Ot,colorActiveBarBorderSize:Et,activeBarBorderWidth:Et,colorItemTextDisabled:Ne,itemDisabledColor:Ne,colorDangerItemText:Te,dangerItemColor:Te,colorDangerItemTextHover:Te,dangerItemHoverColor:Te,colorDangerItemTextSelected:Te,dangerItemSelectedColor:Te,colorDangerItemBgActive:He,dangerItemActiveBg:He,colorDangerItemBgSelected:He,dangerItemSelectedBg:He,itemMarginInline:ze.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:st,groupTitleLineHeight:pt,collapsedWidth:st*2,popupBg:Pt,itemMarginBlock:wt,itemPaddingInline:Lt,horizontalLineHeight:`${st*1.15}px`,iconSize:$t,iconMarginInlineEnd:nn-$t,collapsedIconSize:un,groupTitleFontSize:$t,darkItemDisabledColor:new ye.C(Cn).setAlpha(.25).toRgbString(),darkItemColor:Kn,darkDangerItemColor:Te,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Cn,darkItemSelectedBg:Le,darkDangerItemSelectedBg:Te,darkItemHoverBg:"transparent",darkGroupTitleColor:Kn,darkItemHoverColor:Cn,darkDangerItemHoverColor:Sn,darkDangerItemSelectedColor:Cn,darkDangerItemActiveBg:Te}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(ke),Qe=function(ke,$e){var Ke={};for(var ze in ke)Object.prototype.hasOwnProperty.call(ke,ze)&&$e.indexOf(ze)<0&&(Ke[ze]=ke[ze]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ze=Object.getOwnPropertySymbols(ke);Le<ze.length;Le++)$e.indexOf(ze[Le])<0&&Object.prototype.propertyIsEnumerable.call(ke,ze[Le])&&(Ke[ze[Le]]=ke[ze[Le]]);return Ke},De=(0,xe.forwardRef)((ke,$e)=>{var Ke,ze;const Le=xe.useContext(me.Z),Te=Le||{},{getPrefixCls:Ne,getPopupContainer:He,direction:rt,menu:mt}=xe.useContext(se.E_),vt=Ne(),{prefixCls:nt,className:ut,style:Et,theme:Ot="light",expandIcon:at,_internalDisableMenuItemTitleTooltip:Tt,inlineCollapsed:st,siderCollapsed:pt,items:Pt,children:wt,rootClassName:Lt,mode:$t,selectable:nn,onClick:un,overflowedIndicatorPopupClassName:Cn}=ke,Sn=Qe(ke,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Kn=(0,ae.Z)(Sn,["collapsedWidth"]),nr=be(Pt)||wt;(Ke=Te.validator)===null||Ke===void 0||Ke.call(Te,{mode:$t});const fr=(0,ue.useEvent)(function(){var Vn;un==null||un.apply(void 0,arguments),(Vn=Te.onClick)===null||Vn===void 0||Vn.call(Te)}),Ur=Te.mode||$t,Gr=nn!=null?nn:Te.selectable,zr=xe.useMemo(()=>pt!==void 0?pt:st,[st,pt]),Ir={horizontal:{motionName:`${vt}-slide-up`},inline:(0,ge.Z)(vt),other:{motionName:`${vt}-zoom-big`}},bn=Ne("menu",nt||Te.prefixCls),[tn,dn]=it(bn,!Le),vn=de()(`${bn}-${Ot}`,mt==null?void 0:mt.className,ut);let xn;if(typeof at=="function")xn=at;else if(at===null||at===!1)xn=null;else if(Te.expandIcon===null||Te.expandIcon===!1)xn=null;else{const Vn=at!=null?at:Te.expandIcon;xn=(0,ne.Tm)(Vn,{className:de()(`${bn}-submenu-expand-icon`,(0,ne.l$)(Vn)?(ze=Vn.props)===null||ze===void 0?void 0:ze.className:"")})}const tr=xe.useMemo(()=>({prefixCls:bn,inlineCollapsed:zr||!1,direction:rt,firstLevel:!0,theme:Ot,mode:Ur,disableMenuItemTitleTooltip:Tt}),[bn,zr,rt,Tt,Ot]);return tn(xe.createElement(me.Z.Provider,{value:null},xe.createElement(a.Provider,{value:tr},xe.createElement(Se.ZP,Object.assign({getPopupContainer:He,overflowedIndicator:xe.createElement(z.Z,null),overflowedIndicatorPopupClassName:de()(bn,`${bn}-${Ot}`,Cn),mode:Ur,selectable:Gr,onClick:fr},Kn,{inlineCollapsed:zr,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),Et),className:vn,prefixCls:bn,direction:rt,defaultMotions:Ir,expandIcon:xn,ref:$e,rootClassName:de()(Lt,dn)}),nr))))});const Ve=(0,xe.forwardRef)((ke,$e)=>{const Ke=(0,xe.useRef)(null),ze=xe.useContext(E.D);return(0,xe.useImperativeHandle)($e,()=>({menu:Ke.current,focus:Le=>{var Te;(Te=Ke.current)===null||Te===void 0||Te.focus(Le)}})),xe.createElement(De,Object.assign({ref:Ke},ke,ze))});Ve.Item=x,Ve.SubMenu=te,Ve.Divider=le,Ve.ItemGroup=Se.BW;var Ae=Ve},28452:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return vt}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(ut,Et){return xe.createElement(de.Z,(0,Se.Z)({},ut,{ref:Et,icon:ve}))},re=xe.forwardRef(se),ie=fe(81893),le=fe(22751),ce=fe(91034),ae=fe(94184),oe=fe.n(ae),ne=fe(4942),ee=fe(1413),a=fe(15671),y=fe(43144),x=fe(60136),b=fe(51630),te=`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`,z=`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`,ue="".concat(te," ").concat(z).split(/[\s\n]+/),ge="aria-",me="data-";function he(nt,ut){return nt.indexOf(ut)===0}function pe(nt){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Et;ut===!1?Et={aria:!0,data:!0,attr:!0}:ut===!0?Et={aria:!0}:Et=(0,ee.Z)({},ut);var Ot={};return Object.keys(nt).forEach(function(at){(Et.aria&&(at==="role"||he(at,ge))||Et.data&&he(at,me)||Et.attr&&ue.includes(at))&&(Ot[at]=nt[at])}),Ot}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,Pe=fe(81626),we=function(nt){(0,x.Z)(Et,nt);var ut=(0,b.Z)(Et);function Et(){var Ot;(0,a.Z)(this,Et);for(var at=arguments.length,Tt=new Array(at),st=0;st<at;st++)Tt[st]=arguments[st];return Ot=ut.call.apply(ut,[this].concat(Tt)),Ot.state={goInputText:""},Ot.getValidValue=function(){var pt=Ot.state.goInputText;return!pt||Number.isNaN(pt)?void 0:Number(pt)},Ot.buildOptionText=function(pt){return"".concat(pt," ").concat(Ot.props.locale.items_per_page)},Ot.changeSize=function(pt){Ot.props.changeSize(Number(pt))},Ot.handleChange=function(pt){Ot.setState({goInputText:pt.target.value})},Ot.handleBlur=function(pt){var Pt=Ot.props,wt=Pt.goButton,Lt=Pt.quickGo,$t=Pt.rootPrefixCls,nn=Ot.state.goInputText;wt||nn===""||(Ot.setState({goInputText:""}),!(pt.relatedTarget&&(pt.relatedTarget.className.indexOf("".concat($t,"-item-link"))>=0||pt.relatedTarget.className.indexOf("".concat($t,"-item"))>=0))&&Lt(Ot.getValidValue()))},Ot.go=function(pt){var Pt=Ot.state.goInputText;Pt!==""&&(pt.keyCode===ye.ENTER||pt.type==="click")&&(Ot.setState({goInputText:""}),Ot.props.quickGo(Ot.getValidValue()))},Ot}return(0,y.Z)(Et,[{key:"getPageSizeOptions",value:function(){var at=this.props,Tt=at.pageSize,st=at.pageSizeOptions;return st.some(function(pt){return pt.toString()===Tt.toString()})?st:st.concat([Tt.toString()]).sort(function(pt,Pt){var wt=Number.isNaN(Number(pt))?0:Number(pt),Lt=Number.isNaN(Number(Pt))?0:Number(Pt);return wt-Lt})}},{key:"render",value:function(){var at=this,Tt=this.props,st=Tt.pageSize,pt=Tt.locale,Pt=Tt.rootPrefixCls,wt=Tt.changeSize,Lt=Tt.quickGo,$t=Tt.goButton,nn=Tt.selectComponentClass,un=Tt.buildOptionText,Cn=Tt.selectPrefixCls,Sn=Tt.disabled,Kn=this.state.goInputText,nr="".concat(Pt,"-options"),fr=nn,Ur=null,Gr=null,zr=null;if(!wt&&!Lt)return null;var Ir=this.getPageSizeOptions();if(wt&&fr){var bn=Ir.map(function(tn,dn){return xe.createElement(fr.Option,{key:dn,value:tn.toString()},(un||at.buildOptionText)(tn))});Ur=xe.createElement(fr,{disabled:Sn,prefixCls:Cn,showSearch:!1,className:"".concat(nr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(st||Ir[0]).toString(),onChange:this.changeSize,getPopupContainer:function(dn){return dn.parentNode},"aria-label":pt.page_size,defaultOpen:!1},bn)}return Lt&&($t&&(zr=typeof $t=="boolean"?xe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Sn,className:"".concat(nr,"-quick-jumper-button")},pt.jump_to_confirm):xe.createElement("span",{onClick:this.go,onKeyUp:this.go},$t)),Gr=xe.createElement("div",{className:"".concat(nr,"-quick-jumper")},pt.jump_to,xe.createElement("input",{disabled:Sn,type:"text",value:Kn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":pt.page}),pt.page,zr)),xe.createElement("li",{className:"".concat(nr)},Ur,Gr)}}]),Et}(xe.Component);we.defaultProps={pageSizeOptions:["10","20","50","100"]};var Oe=we,Ce=function(ut){var Et,Ot=ut.rootPrefixCls,at=ut.page,Tt=ut.active,st=ut.className,pt=ut.showTitle,Pt=ut.onClick,wt=ut.onKeyPress,Lt=ut.itemRender,$t="".concat(Ot,"-item"),nn=oe()($t,"".concat($t,"-").concat(at),(Et={},(0,ne.Z)(Et,"".concat($t,"-active"),Tt),(0,ne.Z)(Et,"".concat($t,"-disabled"),!at),(0,ne.Z)(Et,ut.className,st),Et)),un=function(){Pt(at)},Cn=function(nr){wt(nr,Pt,at)},Sn=Lt(at,"page",xe.createElement("a",{rel:"nofollow"},at));return Sn?xe.createElement("li",{title:pt?at.toString():null,className:nn,onClick:un,onKeyPress:Cn,tabIndex:0},Sn):null},_e=Ce;function Ee(){}function Me(nt){var ut=Number(nt);return typeof ut=="number"&&!Number.isNaN(ut)&&isFinite(ut)&&Math.floor(ut)===ut}var Ie=function(ut,Et,Ot){return Ot};function Be(nt,ut,Et){var Ot=typeof nt=="undefined"?ut.pageSize:nt;return Math.floor((Et.total-1)/Ot)+1}var Re=function(nt){(0,x.Z)(Et,nt);var ut=(0,b.Z)(Et);function Et(Ot){var at;(0,a.Z)(this,Et),at=ut.call(this,Ot),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(Be(void 0,at.state,at.props),at.state.current+(at.props.showLessItems?3:5))},at.getItemIcon=function(wt,Lt){var $t=at.props.prefixCls,nn=wt||xe.createElement("button",{type:"button","aria-label":Lt,className:"".concat($t,"-item-link")});return typeof wt=="function"&&(nn=xe.createElement(wt,(0,ee.Z)({},at.props))),nn},at.isValid=function(wt){var Lt=at.props.total;return Me(wt)&&wt!==at.state.current&&Me(Lt)&&Lt>0},at.shouldDisplayQuickJumper=function(){var wt=at.props,Lt=wt.showQuickJumper,$t=wt.total,nn=at.state.pageSize;return $t<=nn?!1:Lt},at.handleKeyDown=function(wt){(wt.keyCode===ye.ARROW_UP||wt.keyCode===ye.ARROW_DOWN)&&wt.preventDefault()},at.handleKeyUp=function(wt){var Lt=at.getValidValue(wt),$t=at.state.currentInputValue;Lt!==$t&&at.setState({currentInputValue:Lt}),wt.keyCode===ye.ENTER?at.handleChange(Lt):wt.keyCode===ye.ARROW_UP?at.handleChange(Lt-1):wt.keyCode===ye.ARROW_DOWN&&at.handleChange(Lt+1)},at.handleBlur=function(wt){var Lt=at.getValidValue(wt);at.handleChange(Lt)},at.changePageSize=function(wt){var Lt=at.state.current,$t=Be(wt,at.state,at.props);Lt=Lt>$t?$t:Lt,$t===0&&(Lt=at.state.current),typeof wt=="number"&&("pageSize"in at.props||at.setState({pageSize:wt}),"current"in at.props||at.setState({current:Lt,currentInputValue:Lt})),at.props.onShowSizeChange(Lt,wt),"onChange"in at.props&&at.props.onChange&&at.props.onChange(Lt,wt)},at.handleChange=function(wt){var Lt=at.props,$t=Lt.disabled,nn=Lt.onChange,un=at.state,Cn=un.pageSize,Sn=un.current,Kn=un.currentInputValue;if(at.isValid(wt)&&!$t){var nr=Be(void 0,at.state,at.props),fr=wt;return wt>nr?fr=nr:wt<1&&(fr=1),"current"in at.props||at.setState({current:fr}),fr!==Kn&&at.setState({currentInputValue:fr}),nn(fr,Cn),fr}return Sn},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<Be(void 0,at.state,at.props)},at.runIfEnter=function(wt,Lt){if(wt.key==="Enter"||wt.charCode===13){for(var $t=arguments.length,nn=new Array($t>2?$t-2:0),un=2;un<$t;un++)nn[un-2]=arguments[un];Lt.apply(void 0,nn)}},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 Lt=at.props,$t=Lt.prevIcon,nn=Lt.itemRender,un=nn(wt,"prev",at.getItemIcon($t,"prev page")),Cn=!at.hasPrev();return(0,xe.isValidElement)(un)?(0,xe.cloneElement)(un,{disabled:Cn}):un},at.renderNext=function(wt){var Lt=at.props,$t=Lt.nextIcon,nn=Lt.itemRender,un=nn(wt,"next",at.getItemIcon($t,"next page")),Cn=!at.hasNext();return(0,xe.isValidElement)(un)?(0,xe.cloneElement)(un,{disabled:Cn}):un};var Tt=Ot.onChange!==Ee,st="current"in Ot;st&&!Tt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var pt=Ot.defaultCurrent;"current"in Ot&&(pt=Ot.current);var Pt=Ot.defaultPageSize;return"pageSize"in Ot&&(Pt=Ot.pageSize),pt=Math.min(pt,Be(Pt,void 0,Ot)),at.state={current:pt,currentInputValue:pt,pageSize:Pt},at}return(0,y.Z)(Et,[{key:"componentDidUpdate",value:function(at,Tt){var st=this.props.prefixCls;if(Tt.current!==this.state.current&&this.paginationNode.current){var pt=this.paginationNode.current.querySelector(".".concat(st,"-item-").concat(Tt.current));if(pt&&document.activeElement===pt){var Pt;pt==null||(Pt=pt.blur)===null||Pt===void 0||Pt.call(pt)}}}},{key:"getValidValue",value:function(at){var Tt=at.target.value,st=Be(void 0,this.state,this.props),pt=this.state.currentInputValue,Pt;return Tt===""?Pt=Tt:Number.isNaN(Number(Tt))?Pt=pt:Tt>=st?Pt=st:Pt=Number(Tt),Pt}},{key:"getShowSizeChanger",value:function(){var at=this.props,Tt=at.showSizeChanger,st=at.total,pt=at.totalBoundaryShowSizeChanger;return typeof Tt!="undefined"?Tt:st>pt}},{key:"render",value:function(){var at=this.props,Tt=at.prefixCls,st=at.className,pt=at.style,Pt=at.disabled,wt=at.hideOnSinglePage,Lt=at.total,$t=at.locale,nn=at.showQuickJumper,un=at.showLessItems,Cn=at.showTitle,Sn=at.showTotal,Kn=at.simple,nr=at.itemRender,fr=at.showPrevNextJumpers,Ur=at.jumpPrevIcon,Gr=at.jumpNextIcon,zr=at.selectComponentClass,Ir=at.selectPrefixCls,bn=at.pageSizeOptions,tn=this.state,dn=tn.current,vn=tn.pageSize,xn=tn.currentInputValue;if(wt===!0&&Lt<=vn)return null;var tr=Be(void 0,this.state,this.props),Vn=[],pr=null,ar=null,xt=null,It=null,Rt=null,fn=nn&&nn.goButton,Nn=un?1:2,jn=dn-1>0?dn-1:0,gr=dn+1<tr?dn+1:tr,hr=pe(this.props,{aria:!0,data:!0}),qn=Sn&&xe.createElement("li",{className:"".concat(Tt,"-total-text")},Sn(Lt,[Lt===0?0:(dn-1)*vn+1,dn*vn>Lt?Lt:dn*vn]));if(Kn){fn&&(typeof fn=="boolean"?Rt=xe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},$t.jump_to_confirm):Rt=xe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},fn),Rt=xe.createElement("li",{title:Cn?"".concat($t.jump_to).concat(dn,"/").concat(tr):null,className:"".concat(Tt,"-simple-pager")},Rt));var Br=this.renderPrev(jn);return xe.createElement("ul",(0,Se.Z)({className:oe()(Tt,"".concat(Tt,"-simple"),(0,ne.Z)({},"".concat(Tt,"-disabled"),Pt),st),style:pt,ref:this.paginationNode},hr),qn,Br?xe.createElement("li",{title:Cn?$t.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(Tt,"-prev"),(0,ne.Z)({},"".concat(Tt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Br):null,xe.createElement("li",{title:Cn?"".concat(dn,"/").concat(tr):null,className:"".concat(Tt,"-simple-pager")},xe.createElement("input",{type:"text",value:xn,disabled:Pt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),xe.createElement("span",{className:"".concat(Tt,"-slash")},"/"),tr),xe.createElement("li",{title:Cn?$t.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:oe()("".concat(Tt,"-next"),(0,ne.Z)({},"".concat(Tt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(gr)),Rt)}if(tr<=3+Nn*2){var lo={locale:$t,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Cn,itemRender:nr};tr||Vn.push(xe.createElement(_e,(0,Se.Z)({},lo,{key:"noPager",page:1,className:"".concat(Tt,"-item-disabled")})));for(var Or=1;Or<=tr;Or+=1){var An=dn===Or;Vn.push(xe.createElement(_e,(0,Se.Z)({},lo,{key:Or,page:Or,active:An})))}}else{var _r=un?$t.prev_3:$t.prev_5,zt=un?$t.next_3:$t.next_5,ln=nr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ur,"prev page")),an=nr(this.getJumpNextPage(),"jump-next",this.getItemIcon(Gr,"next page"));fr&&(pr=ln?xe.createElement("li",{title:Cn?_r:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:oe()("".concat(Tt,"-jump-prev"),(0,ne.Z)({},"".concat(Tt,"-jump-prev-custom-icon"),!!Ur))},ln):null,ar=an?xe.createElement("li",{title:Cn?zt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:oe()("".concat(Tt,"-jump-next"),(0,ne.Z)({},"".concat(Tt,"-jump-next-custom-icon"),!!Gr))},an):null),It=xe.createElement(_e,{locale:$t,last:!0,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:tr,page:tr,active:!1,showTitle:Cn,itemRender:nr}),xt=xe.createElement(_e,{locale:$t,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Cn,itemRender:nr});var mn=Math.max(1,dn-Nn),zn=Math.min(dn+Nn,tr);dn-1<=Nn&&(zn=1+Nn*2),tr-dn<=Nn&&(mn=tr-Nn*2);for(var Dt=mn;Dt<=zn;Dt+=1){var Bn=dn===Dt;Vn.push(xe.createElement(_e,{locale:$t,rootPrefixCls:Tt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Dt,page:Dt,active:Bn,showTitle:Cn,itemRender:nr}))}dn-1>=Nn*2&&dn!==3&&(Vn[0]=(0,xe.cloneElement)(Vn[0],{className:"".concat(Tt,"-item-after-jump-prev")}),Vn.unshift(pr)),tr-dn>=Nn*2&&dn!==tr-2&&(Vn[Vn.length-1]=(0,xe.cloneElement)(Vn[Vn.length-1],{className:"".concat(Tt,"-item-before-jump-next")}),Vn.push(ar)),mn!==1&&Vn.unshift(xt),zn!==tr&&Vn.push(It)}var yn=!this.hasPrev()||!tr,Er=!this.hasNext()||!tr,ir=this.renderPrev(jn),Mr=this.renderNext(gr);return xe.createElement("ul",(0,Se.Z)({className:oe()(Tt,st,(0,ne.Z)({},"".concat(Tt,"-disabled"),Pt)),style:pt,ref:this.paginationNode},hr),qn,ir?xe.createElement("li",{title:Cn?$t.prev_page:null,onClick:this.prev,tabIndex:yn?null:0,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(Tt,"-prev"),(0,ne.Z)({},"".concat(Tt,"-disabled"),yn)),"aria-disabled":yn},ir):null,Vn,Mr?xe.createElement("li",{title:Cn?$t.next_page:null,onClick:this.next,tabIndex:Er?null:0,onKeyPress:this.runIfEnterNext,className:oe()("".concat(Tt,"-next"),(0,ne.Z)({},"".concat(Tt,"-disabled"),Er)),"aria-disabled":Er},Mr):null,xe.createElement(Oe,{disabled:Pt,locale:$t,rootPrefixCls:Tt,selectComponentClass:zr,selectPrefixCls:Ir,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:dn,pageSize:vn,pageSizeOptions:bn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:fn}))}}],[{key:"getDerivedStateFromProps",value:function(at,Tt){var st={};if("current"in at&&(st.current=at.current,at.current!==Tt.current&&(st.currentInputValue=st.current)),"pageSize"in at&&at.pageSize!==Tt.pageSize){var pt=Tt.current,Pt=Be(at.pageSize,Tt,at);pt=pt>Pt?Pt:pt,"current"in at||(st.current=pt,st.currentInputValue=pt),st.pageSize=at.pageSize}return st}}]),Et}(xe.Component);Re.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ee,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ee,locale:Pe.Z,style:{},itemRender:Ie,totalBoundaryShowSizeChanger:50};var tt=Re,Ye=fe(62906),et=fe(53124),Xe=fe(98675),Ge=fe(25378),Fe=fe(10110),je=fe(11713);const qe=nt=>xe.createElement(je.default,Object.assign({},nt,{showSearch:!0,size:"small"})),Je=nt=>xe.createElement(je.default,Object.assign({},nt,{showSearch:!0,size:"middle"}));qe.Option=je.default.Option,Je.Option=je.default.Option;var it=fe(47673),Qe=fe(14747),Ze=fe(67968),De=fe(45503);const Ve=nt=>{const{componentCls:ut}=nt;return{[`${ut}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ut}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ut}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed"}}},[`&${ut}-disabled`]:{cursor:"not-allowed",[`${ut}-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}}},[`${ut}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ut}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ut}-simple-pager`]:{color:nt.colorTextDisabled},[`${ut}-jump-prev, ${ut}-jump-next`]:{[`${ut}-item-link-icon`]:{opacity:0},[`${ut}-item-ellipsis`]:{opacity:1}}},[`&${ut}-simple`]:{[`${ut}-prev, ${ut}-next`]:{[`&${ut}-disabled ${ut}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ae=nt=>{const{componentCls:ut}=nt;return{[`&${ut}-mini ${ut}-total-text, &${ut}-mini ${ut}-simple-pager`]:{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`},[`&${ut}-mini ${ut}-item`]:{minWidth:nt.itemSizeSM,height:nt.itemSizeSM,margin:0,lineHeight:`${nt.itemSizeSM-2}px`},[`&${ut}-mini:not(${ut}-disabled) ${ut}-item:not(${ut}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:nt.colorBgTextHover},"&:active":{backgroundColor:nt.colorBgTextActive}},[`&${ut}-mini ${ut}-prev, &${ut}-mini ${ut}-next`]:{minWidth:nt.itemSizeSM,height:nt.itemSizeSM,margin:0,lineHeight:`${nt.itemSizeSM}px`},[`&${ut}-mini:not(${ut}-disabled)`]:{[`${ut}-prev, ${ut}-next`]:{[`&:hover ${ut}-item-link`]:{backgroundColor:nt.colorBgTextHover},[`&:active ${ut}-item-link`]:{backgroundColor:nt.colorBgTextActive},[`&${ut}-disabled:hover ${ut}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${ut}-mini ${ut}-prev ${ut}-item-link,
|
|
|
&${ut}-mini ${ut}-next ${ut}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`}},[`&${ut}-mini ${ut}-jump-prev, &${ut}-mini ${ut}-jump-next`]:{height:nt.itemSizeSM,marginInlineEnd:0,lineHeight:`${nt.itemSizeSM}px`},[`&${ut}-mini ${ut}-options`]:{marginInlineStart:nt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:nt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,it.x0)(nt)),{width:nt.paginationMiniQuickJumperInputWidth,height:nt.controlHeightSM})}}}},ke=nt=>{const{componentCls:ut}=nt;return{[`
|
|
|
&${ut}-simple ${ut}-prev,
|
|
|
&${ut}-simple ${ut}-next
|
|
|
`]:{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`,verticalAlign:"top",[`${ut}-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`}}},[`&${ut}-simple ${ut}-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"}}}}},$e=nt=>{const{componentCls:ut}=nt;return{[`${ut}-jump-prev, ${ut}-jump-next`]:{outline:0,[`${ut}-item-container`]:{position:"relative",[`${ut}-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"}},[`${ut}-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":{[`${ut}-item-link-icon`]:{opacity:1},[`${ut}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${ut}-prev,
|
|
|
${ut}-jump-prev,
|
|
|
${ut}-jump-next
|
|
|
`]:{marginInlineEnd:nt.marginXS},[`
|
|
|
${ut}-prev,
|
|
|
${ut}-next,
|
|
|
${ut}-jump-prev,
|
|
|
${ut}-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}`},[`${ut}-prev, ${ut}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:nt.colorText,cursor:"pointer",userSelect:"none"},[`${ut}-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 ${ut}-item-link`]:{backgroundColor:nt.colorBgTextHover},[`&:active ${ut}-item-link`]:{backgroundColor:nt.colorBgTextActive},[`&${ut}-disabled:hover`]:{[`${ut}-item-link`]:{backgroundColor:"transparent"}}},[`${ut}-slash`]:{marginInlineEnd:nt.paginationSlashMarginInlineEnd,marginInlineStart:nt.paginationSlashMarginInlineStart},[`${ut}-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,it.ik)(nt)),{width:nt.controlHeightLG*1.25,height:nt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:nt.marginXS,marginInlineEnd:nt.marginXS})}}}},Ke=nt=>{const{componentCls:ut}=nt;return{[`${ut}-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(${ut}-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:ut}=nt;return{[ut]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(nt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ut}-total-text`]:{display:"inline-block",height:nt.itemSize,marginInlineEnd:nt.marginXS,lineHeight:`${nt.itemSize-2}px`,verticalAlign:"middle"}}),Ke(nt)),$e(nt)),ke(nt)),Ae(nt)),Ve(nt)),{[`@media only screen and (max-width: ${nt.screenLG}px)`]:{[`${ut}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${nt.screenSM}px)`]:{[`${ut}-options`]:{display:"none"}}}),[`&${nt.componentCls}-rtl`]:{direction:"rtl"}}},Le=nt=>{const{componentCls:ut}=nt;return{[`${ut}${ut}-disabled:not(${ut}-mini)`]:{"&, &:hover":{[`${ut}-item-link`]:{borderColor:nt.colorBorder}},"&:focus-visible":{[`${ut}-item-link`]:{borderColor:nt.colorBorder}},[`${ut}-item, ${ut}-item-link`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,[`&:hover:not(${ut}-item-active)`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,a:{color:nt.colorTextDisabled}},[`&${ut}-item-active`]:{backgroundColor:nt.itemActiveBgDisabled}},[`${ut}-prev, ${ut}-next`]:{"&:hover button":{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,color:nt.colorTextDisabled},[`${ut}-item-link`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder}}},[`${ut}:not(${ut}-mini)`]:{[`${ut}-prev, ${ut}-next`]:{"&:hover button":{borderColor:nt.colorPrimaryHover,backgroundColor:nt.itemBg},[`${ut}-item-link`]:{backgroundColor:nt.itemLinkBg,borderColor:nt.colorBorder},[`&:hover ${ut}-item-link`]:{borderColor:nt.colorPrimary,backgroundColor:nt.itemBg,color:nt.colorPrimary},[`&${ut}-disabled`]:{[`${ut}-item-link`]:{borderColor:nt.colorBorder,color:nt.colorTextDisabled}}},[`${ut}-item`]:{backgroundColor:nt.itemBg,border:`${nt.lineWidth}px ${nt.lineType} ${nt.colorBorder}`,[`&:hover:not(${ut}-item-active)`]:{borderColor:nt.colorPrimary,backgroundColor:nt.itemBg,a:{color:nt.colorPrimary}},"&-active":{borderColor:nt.colorPrimary}}}}},Te=nt=>{const{componentCls:ut}=nt;return{[`${ut}:not(${ut}-disabled)`]:{[`${ut}-item`]:Object.assign({},(0,Qe.Qy)(nt)),[`${ut}-jump-prev, ${ut}-jump-next`]:{"&:focus-visible":Object.assign({[`${ut}-item-link-icon`]:{opacity:1},[`${ut}-item-ellipsis`]:{opacity:0}},(0,Qe.oN)(nt))},[`${ut}-prev, ${ut}-next`]:{[`&:focus-visible ${ut}-item-link`]:Object.assign({},(0,Qe.oN)(nt))}}}};var Ne=(0,Ze.Z)("Pagination",nt=>{const ut=(0,De.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,it.e5)(nt),(0,it.TM)(nt));return[ze(ut),Te(ut),nt.wireframe&&Le(ut)]},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})),He=function(nt,ut){var Et={};for(var Ot in nt)Object.prototype.hasOwnProperty.call(nt,Ot)&&ut.indexOf(Ot)<0&&(Et[Ot]=nt[Ot]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Ot=Object.getOwnPropertySymbols(nt);at<Ot.length;at++)ut.indexOf(Ot[at])<0&&Object.prototype.propertyIsEnumerable.call(nt,Ot[at])&&(Et[Ot[at]]=nt[Ot[at]]);return Et},mt=nt=>{const{prefixCls:ut,selectPrefixCls:Et,className:Ot,rootClassName:at,style:Tt,size:st,locale:pt,selectComponentClass:Pt,responsive:wt,showSizeChanger:Lt}=nt,$t=He(nt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:nn}=(0,Ge.Z)(wt),{getPrefixCls:un,direction:Cn,pagination:Sn={}}=xe.useContext(et.E_),Kn=un("pagination",ut),[nr,fr]=Ne(Kn),Ur=Lt!=null?Lt:Sn.showSizeChanger,Gr=xe.useMemo(()=>{const tr=xe.createElement("span",{className:`${Kn}-item-ellipsis`},"\u2022\u2022\u2022"),Vn=xe.createElement("button",{className:`${Kn}-item-link`,type:"button",tabIndex:-1},Cn==="rtl"?xe.createElement(ce.Z,null):xe.createElement(le.Z,null)),pr=xe.createElement("button",{className:`${Kn}-item-link`,type:"button",tabIndex:-1},Cn==="rtl"?xe.createElement(le.Z,null):xe.createElement(ce.Z,null)),ar=xe.createElement("a",{className:`${Kn}-item-link`},xe.createElement("div",{className:`${Kn}-item-container`},Cn==="rtl"?xe.createElement(ie.Z,{className:`${Kn}-item-link-icon`}):xe.createElement(re,{className:`${Kn}-item-link-icon`}),tr)),xt=xe.createElement("a",{className:`${Kn}-item-link`},xe.createElement("div",{className:`${Kn}-item-container`},Cn==="rtl"?xe.createElement(re,{className:`${Kn}-item-link-icon`}):xe.createElement(ie.Z,{className:`${Kn}-item-link-icon`}),tr));return{prevIcon:Vn,nextIcon:pr,jumpPrevIcon:ar,jumpNextIcon:xt}},[Cn,Kn]),[zr]=(0,Fe.Z)("Pagination",Ye.Z),Ir=Object.assign(Object.assign({},zr),pt),bn=(0,Xe.Z)(st),tn=bn==="small"||!!(nn&&!bn&&wt),dn=un("select",Et),vn=oe()({[`${Kn}-mini`]:tn,[`${Kn}-rtl`]:Cn==="rtl"},Sn==null?void 0:Sn.className,Ot,at,fr),xn=Object.assign(Object.assign({},Sn==null?void 0:Sn.style),Tt);return nr(xe.createElement(tt,Object.assign({},Gr,$t,{style:xn,prefixCls:Kn,selectPrefixCls:dn,className:vn,selectComponentClass:Pt||(tn?qe:Je),locale:Ir,showSizeChanger:Ur})))},vt=mt},66330:function(_t,dt,fe){"use strict";fe.d(dt,{t5:function(){return ce}});var Se=fe(94184),xe=fe.n(Se),E=fe(92419),ve=fe(67294),de=fe(53124),se=fe(81643),re=fe(20136),ie=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 le=(oe,ne,ee)=>{if(!(!ne&&!ee))return ve.createElement(ve.Fragment,null,ne&&ve.createElement("div",{className:`${oe}-title`},(0,se.Z)(ne)),ve.createElement("div",{className:`${oe}-inner-content`},(0,se.Z)(ee)))},ce=oe=>{const{hashId:ne,prefixCls:ee,className:a,style:y,placement:x="top",title:b,content:te,children:z}=oe;return ve.createElement("div",{className:xe()(ne,ee,`${ee}-pure`,`${ee}-placement-${x}`,a),style:y},ve.createElement("div",{className:`${ee}-arrow`}),ve.createElement(E.G,Object.assign({},oe,{className:ne,prefixCls:ee}),z||le(ee,b,te)))},ae=oe=>{const{prefixCls:ne}=oe,ee=ie(oe,["prefixCls"]),{getPrefixCls:a}=ve.useContext(de.E_),y=a("popover",ne),[x,b]=(0,re.Z)(y);return x(ve.createElement(ce,Object.assign({},ee,{prefixCls:y,hashId:b})))};dt.ZP=ae},20136:function(_t,dt,fe){"use strict";var Se=fe(14747),xe=fe(50438),E=fe(97414),ve=fe(8796),de=fe(67968),se=fe(45503);const re=ce=>{const{componentCls:ae,popoverColor:oe,minWidth:ne,fontWeightStrong:ee,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:te,marginXS:z,colorBgElevated:ue,popoverBg:ge}=ce;return[{[ae]:Object.assign(Object.assign({},(0,Se.Wf)(ce)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:te,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ue,"&-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:z,color:x,fontWeight:ee},[`${ae}-inner-content`]:{color:oe}})},(0,E.ZP)(ce,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ae}-pure`]:{position:"relative",maxWidth:"none",margin:ce.sizePopupArrow,display:"inline-block",[`${ae}-content`]:{display:"inline-block"}}}]},ie=ce=>{const{componentCls:ae}=ce;return{[ae]:ve.i.map(oe=>{const ne=ce[`${oe}6`];return{[`&${ae}-${oe}`]:{"--antd-arrow-background-color":ne,[`${ae}-inner`]:{backgroundColor:ne},[`${ae}-arrow`]:{background:"transparent"}}}})}},le=ce=>{const{componentCls:ae,lineWidth:oe,lineType:ne,colorSplit:ee,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:te}=ce,z=y-Math.round(x*b),ue=z/2,ge=z/2-oe,me=te;return{[ae]:{[`${ae}-inner`]:{padding:0},[`${ae}-title`]:{margin:0,padding:`${ue}px ${me}px ${ge}px`,borderBottom:`${oe}px ${ne} ${ee}`},[`${ae}-inner-content`]:{padding:`${a}px ${me}px`}}}};dt.Z=(0,de.Z)("Popover",ce=>{const{colorBgElevated:ae,colorText:oe,wireframe:ne}=ce,ee=(0,se.TS)(ce,{popoverPadding:12,popoverBg:ae,popoverColor:oe});return[re(ee),ie(ee),ne&&le(ee),(0,xe._y)(ee,"zoom-big")]},ce=>({width:177,minWidth:177,zIndexPopup:ce.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return Tt}});var Se=fe(67294),xe=fe(87725),E=fe(18299),ve=fe(16646),de=fe(73475),se=fe(94184),re=fe.n(se),ie=fe(10366),le=fe(53124),ce=fe(87462),ae=fe(1413),oe=fe(45987),ne={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ee=function(){var pt=(0,Se.useRef)([]),Pt=(0,Se.useRef)(null);return(0,Se.useEffect)(function(){var wt=Date.now(),Lt=!1;pt.current.forEach(function($t){if($t){Lt=!0;var nn=$t.style;nn.transitionDuration=".3s, .3s, .3s, .06s",Pt.current&&wt-Pt.current<100&&(nn.transitionDuration="0s, 0s")}}),Lt&&(Pt.current=Date.now())}),pt.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(pt){var Pt=(0,ae.Z)((0,ae.Z)({},ne),pt),wt=Pt.className,Lt=Pt.percent,$t=Pt.prefixCls,nn=Pt.strokeColor,un=Pt.strokeLinecap,Cn=Pt.strokeWidth,Sn=Pt.style,Kn=Pt.trailColor,nr=Pt.trailWidth,fr=Pt.transition,Ur=(0,oe.Z)(Pt,a);delete Ur.gapPosition;var Gr=Array.isArray(Lt)?Lt:[Lt],zr=Array.isArray(nn)?nn:[nn],Ir=ee(),bn=Cn/2,tn=100-Cn/2,dn="M ".concat(un==="round"?bn:0,",").concat(bn,`
|
|
|
L `).concat(un==="round"?tn:100,",").concat(bn),vn="0 0 100 ".concat(Cn),xn=0;return Se.createElement("svg",(0,ce.Z)({className:re()("".concat($t,"-line"),wt),viewBox:vn,preserveAspectRatio:"none",style:Sn},Ur),Se.createElement("path",{className:"".concat($t,"-line-trail"),d:dn,strokeLinecap:un,stroke:Kn,strokeWidth:nr||Cn,fillOpacity:"0"}),Gr.map(function(tr,Vn){var pr=1;switch(un){case"round":pr=1-Cn/100;break;case"square":pr=1-Cn/2/100;break;default:pr=1;break}var ar={strokeDasharray:"".concat(tr*pr,"px, 100px"),strokeDashoffset:"-".concat(xn,"px"),transition:fr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},xt=zr[Vn]||zr[zr.length-1];return xn+=tr,Se.createElement("path",{key:Vn,className:"".concat($t,"-line-path"),d:dn,strokeLinecap:un,stroke:xt,strokeWidth:Cn,fillOpacity:"0",ref:function(Rt){Ir[Vn]=Rt},style:ar})}))},x=y,b=fe(71002),te=fe(97685),z=fe(98924),ue=0,ge=(0,z.Z)();function me(){var st;return ge?(st=ue,ue+=1):st="TEST_OR_SSR",st}var he=function(st){var pt=Se.useState(),Pt=(0,te.Z)(pt,2),wt=Pt[0],Lt=Pt[1];return Se.useEffect(function(){Lt("rc_progress_".concat(me()))},[]),st||wt},pe=function(pt){var Pt=pt.bg,wt=pt.children;return Se.createElement("div",{style:{width:"100%",height:"100%",background:Pt}},wt)};function be(st,pt){return Object.keys(st).map(function(Pt){var wt=parseFloat(Pt),Lt="".concat(Math.floor(wt*pt),"%");return"".concat(st[Pt]," ").concat(Lt)})}var ye=Se.forwardRef(function(st,pt){var Pt=st.prefixCls,wt=st.color,Lt=st.gradientId,$t=st.radius,nn=st.style,un=st.ptg,Cn=st.strokeLinecap,Sn=st.strokeWidth,Kn=st.size,nr=st.gapDegree,fr=wt&&(0,b.Z)(wt)==="object",Ur=fr?"#FFF":void 0,Gr=Kn/2,zr=Se.createElement("circle",{className:"".concat(Pt,"-circle-path"),r:$t,cx:Gr,cy:Gr,stroke:Ur,strokeLinecap:Cn,strokeWidth:Sn,opacity:un===0?0:1,style:nn,ref:pt});if(!fr)return zr;var Ir="".concat(Lt,"-conic"),bn=nr?"".concat(180+nr/2,"deg"):"0deg",tn=be(wt,(360-nr)/360),dn=be(wt,1),vn="conic-gradient(from ".concat(bn,", ").concat(tn.join(", "),")"),xn="linear-gradient(to ".concat(nr?"bottom":"top",", ").concat(dn.join(", "),")");return Se.createElement(Se.Fragment,null,Se.createElement("mask",{id:Ir},zr),Se.createElement("foreignObject",{x:0,y:0,width:Kn,height:Kn,mask:"url(#".concat(Ir,")")},Se.createElement(pe,{bg:xn},Se.createElement(pe,{bg:vn}))))}),Pe=ye,we=100,Oe=function(pt,Pt,wt,Lt,$t,nn,un,Cn,Sn,Kn){var nr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,fr=wt/100*360*((360-nn)/360),Ur=nn===0?0:{bottom:0,top:180,left:90,right:-90}[un],Gr=(100-Lt)/100*Pt;Sn==="round"&&Lt!==100&&(Gr+=Kn/2,Gr>=Pt&&(Gr=Pt-.01));var zr=we/2;return{stroke:typeof Cn=="string"?Cn:void 0,strokeDasharray:"".concat(Pt,"px ").concat(pt),strokeDashoffset:Gr+nr,transform:"rotate(".concat($t+fr+Ur,"deg)"),transformOrigin:"".concat(zr,"px ").concat(zr,"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(st){var pt=st!=null?st:[];return Array.isArray(pt)?pt:[pt]}var Ee=function(pt){var Pt=(0,ae.Z)((0,ae.Z)({},ne),pt),wt=Pt.id,Lt=Pt.prefixCls,$t=Pt.steps,nn=Pt.strokeWidth,un=Pt.trailWidth,Cn=Pt.gapDegree,Sn=Cn===void 0?0:Cn,Kn=Pt.gapPosition,nr=Pt.trailColor,fr=Pt.strokeLinecap,Ur=Pt.style,Gr=Pt.className,zr=Pt.strokeColor,Ir=Pt.percent,bn=(0,oe.Z)(Pt,Ce),tn=we/2,dn=he(wt),vn="".concat(dn,"-gradient"),xn=tn-nn/2,tr=Math.PI*2*xn,Vn=Sn>0?90+Sn/2:-90,pr=tr*((360-Sn)/360),ar=(0,b.Z)($t)==="object"?$t:{count:$t,space:2},xt=ar.count,It=ar.space,Rt=_e(Ir),fn=_e(zr),Nn=fn.find(function(Or){return Or&&(0,b.Z)(Or)==="object"}),jn=Nn&&(0,b.Z)(Nn)==="object",gr=jn?"butt":fr,hr=Oe(tr,pr,0,100,Vn,Sn,Kn,nr,gr,nn),qn=ee(),Br=function(){var An=0;return Rt.map(function(_r,zt){var ln=fn[zt]||fn[fn.length-1],an=Oe(tr,pr,An,_r,Vn,Sn,Kn,ln,gr,nn);return An+=_r,Se.createElement(Pe,{key:zt,color:ln,ptg:_r,radius:xn,prefixCls:Lt,gradientId:vn,style:an,strokeLinecap:gr,strokeWidth:nn,gapDegree:Sn,ref:function(zn){qn[zt]=zn},size:we})}).reverse()},lo=function(){var An=Math.round(xt*(Rt[0]/100)),_r=100/xt,zt=0;return new Array(xt).fill(null).map(function(ln,an){var mn=an<=An-1?fn[0]:nr,zn=mn&&(0,b.Z)(mn)==="object"?"url(#".concat(vn,")"):void 0,Dt=Oe(tr,pr,zt,_r,Vn,Sn,Kn,mn,"butt",nn,It);return zt+=(pr-Dt.strokeDashoffset+It)*100/pr,Se.createElement("circle",{key:an,className:"".concat(Lt,"-circle-path"),r:xn,cx:tn,cy:tn,stroke:zn,strokeWidth:nn,opacity:1,style:Dt,ref:function(yn){qn[an]=yn}})})};return Se.createElement("svg",(0,ce.Z)({className:re()("".concat(Lt,"-circle"),Gr),viewBox:"0 0 ".concat(we," ").concat(we),style:Ur,id:wt,role:"presentation"},bn),!xt&&Se.createElement("circle",{className:"".concat(Lt,"-circle-trail"),r:xn,cx:tn,cy:tn,stroke:nr,strokeLinecap:gr,strokeWidth:un||nn,style:hr}),xt?lo():Br())},Me=Ee,Ie={Line:x,Circle:Me},Be=fe(83062),Re=fe(47448);function tt(st){return!st||st<0?0:st>100?100:st}function Ye(st){let{success:pt,successPercent:Pt}=st,wt=Pt;return pt&&"progress"in pt&&(wt=pt.progress),pt&&"percent"in pt&&(wt=pt.percent),wt}const et=st=>{let{percent:pt,success:Pt,successPercent:wt}=st;const Lt=tt(Ye({success:Pt,successPercent:wt}));return[Lt,tt(tt(pt)-Lt)]},Xe=st=>{let{success:pt={},strokeColor:Pt}=st;const{strokeColor:wt}=pt;return[wt||Re.presetPrimaryColors.green,Pt||null]},Ge=(st,pt,Pt)=>{var wt,Lt,$t,nn;let un=-1,Cn=-1;if(pt==="step"){const Sn=Pt.steps,Kn=Pt.strokeWidth;typeof st=="string"||typeof st=="undefined"?(un=st==="small"?2:14,Cn=Kn!=null?Kn:8):typeof st=="number"?[un,Cn]=[st,st]:[un=14,Cn=8]=st,un*=Sn}else if(pt==="line"){const Sn=Pt==null?void 0:Pt.strokeWidth;typeof st=="string"||typeof st=="undefined"?Cn=Sn||(st==="small"?6:8):typeof st=="number"?[un,Cn]=[st,st]:[un=-1,Cn=8]=st}else(pt==="circle"||pt==="dashboard")&&(typeof st=="string"||typeof st=="undefined"?[un,Cn]=st==="small"?[60,60]:[120,120]:typeof st=="number"?[un,Cn]=[st,st]:(un=(Lt=(wt=st[0])!==null&&wt!==void 0?wt:st[1])!==null&&Lt!==void 0?Lt:120,Cn=(nn=($t=st[0])!==null&&$t!==void 0?$t:st[1])!==null&&nn!==void 0?nn:120));return[un,Cn]},Fe=3,je=st=>Fe/st*100;var Je=st=>{const{prefixCls:pt,trailColor:Pt=null,strokeLinecap:wt="round",gapPosition:Lt,gapDegree:$t,width:nn=120,type:un,children:Cn,success:Sn,size:Kn=nn}=st,[nr,fr]=Ge(Kn,"circle");let{strokeWidth:Ur}=st;Ur===void 0&&(Ur=Math.max(je(nr),6));const Gr={width:nr,height:fr,fontSize:nr*.15+6},zr=Se.useMemo(()=>{if($t||$t===0)return $t;if(un==="dashboard")return 75},[$t,un]),Ir=Lt||un==="dashboard"&&"bottom"||void 0,bn=Object.prototype.toString.call(st.strokeColor)==="[object Object]",tn=Xe({success:Sn,strokeColor:st.strokeColor}),dn=re()(`${pt}-inner`,{[`${pt}-circle-gradient`]:bn}),vn=Se.createElement(Me,{percent:et(st),strokeWidth:Ur,trailWidth:Ur,strokeColor:tn,strokeLinecap:wt,trailColor:Pt,prefixCls:pt,gapDegree:zr,gapPosition:Ir});return Se.createElement("div",{className:dn,style:Gr},nr<=20?Se.createElement(Be.Z,{title:Cn},Se.createElement("span",null,vn)):Se.createElement(Se.Fragment,null,vn,Cn))},it=function(st,pt){var Pt={};for(var wt in st)Object.prototype.hasOwnProperty.call(st,wt)&&pt.indexOf(wt)<0&&(Pt[wt]=st[wt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,wt=Object.getOwnPropertySymbols(st);Lt<wt.length;Lt++)pt.indexOf(wt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(st,wt[Lt])&&(Pt[wt[Lt]]=st[wt[Lt]]);return Pt};const Qe=st=>{let pt=[];return Object.keys(st).forEach(Pt=>{const wt=parseFloat(Pt.replace(/%/g,""));isNaN(wt)||pt.push({key:wt,value:st[Pt]})}),pt=pt.sort((Pt,wt)=>Pt.key-wt.key),pt.map(Pt=>{let{key:wt,value:Lt}=Pt;return`${Lt} ${wt}%`}).join(", ")},Ze=(st,pt)=>{const{from:Pt=Re.presetPrimaryColors.blue,to:wt=Re.presetPrimaryColors.blue,direction:Lt=pt==="rtl"?"to left":"to right"}=st,$t=it(st,["from","to","direction"]);if(Object.keys($t).length!==0){const nn=Qe($t);return{backgroundImage:`linear-gradient(${Lt}, ${nn})`}}return{backgroundImage:`linear-gradient(${Lt}, ${Pt}, ${wt})`}};var Ve=st=>{const{prefixCls:pt,direction:Pt,percent:wt,size:Lt,strokeWidth:$t,strokeColor:nn,strokeLinecap:un="round",children:Cn,trailColor:Sn=null,success:Kn}=st,nr=nn&&typeof nn!="string"?Ze(nn,Pt):{backgroundColor:nn},fr=un==="square"||un==="butt"?0:void 0,Ur={backgroundColor:Sn||void 0,borderRadius:fr},Gr=Lt!=null?Lt:[-1,$t||(Lt==="small"?6:8)],[zr,Ir]=Ge(Gr,"line",{strokeWidth:$t}),bn=Object.assign({width:`${tt(wt)}%`,height:Ir,borderRadius:fr},nr),tn=Ye(st),dn={width:`${tt(tn)}%`,height:Ir,borderRadius:fr,backgroundColor:Kn==null?void 0:Kn.strokeColor},vn={width:zr<0?"100%":zr,height:Ir};return Se.createElement(Se.Fragment,null,Se.createElement("div",{className:`${pt}-outer`,style:vn},Se.createElement("div",{className:`${pt}-inner`,style:Ur},Se.createElement("div",{className:`${pt}-bg`,style:bn}),tn!==void 0?Se.createElement("div",{className:`${pt}-success-bg`,style:dn}):null)),Cn)},ke=st=>{const{size:pt,steps:Pt,percent:wt=0,strokeWidth:Lt=8,strokeColor:$t,trailColor:nn=null,prefixCls:un,children:Cn}=st,Sn=Math.round(Pt*(wt/100)),Kn=pt==="small"?2:14,nr=pt!=null?pt:[Kn,Lt],[fr,Ur]=Ge(nr,"step",{steps:Pt,strokeWidth:Lt}),Gr=fr/Pt,zr=new Array(Pt);for(let Ir=0;Ir<Pt;Ir++){const bn=Array.isArray($t)?$t[Ir]:$t;zr[Ir]=Se.createElement("div",{key:Ir,className:re()(`${un}-steps-item`,{[`${un}-steps-item-active`]:Ir<=Sn-1}),style:{backgroundColor:Ir<=Sn-1?bn:nn,width:Gr,height:Ur}})}return Se.createElement("div",{className:`${un}-steps-outer`},zr,Cn)},$e=fe(45930),Ke=fe(14747),ze=fe(67968),Le=fe(45503);const Te=st=>{const pt=st?"100%":"-100%";return new $e.Keyframes(`antProgress${st?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${pt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${pt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ne=st=>{const{componentCls:pt,iconCls:Pt}=st;return{[pt]:Object.assign(Object.assign({},(0,Ke.Wf)(st)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:st.fontSize,marginInlineEnd:st.marginXS,marginBottom:st.marginXS},[`${pt}-outer`]:{display:"inline-block",width:"100%"},[`&${pt}-show-info`]:{[`${pt}-outer`]:{marginInlineEnd:`calc(-2em - ${st.marginXS}px)`,paddingInlineEnd:`calc(2em + ${st.paddingXS}px)`}},[`${pt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:st.remainingColor,borderRadius:st.lineBorderRadius},[`${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:st.defaultColor}},[`${pt}-success-bg, ${pt}-bg`]:{position:"relative",backgroundColor:st.defaultColor,borderRadius:st.lineBorderRadius,transition:`all ${st.motionDurationSlow} ${st.motionEaseInOutCirc}`},[`${pt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:st.colorSuccess},[`${pt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:st.marginXS,color:st.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Pt]:{fontSize:st.fontSize}},[`&${pt}-status-active`]:{[`${pt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:st.colorBgContainer,borderRadius:st.lineBorderRadius,opacity:0,animationName:Te(),animationDuration:st.progressActiveMotionDuration,animationTimingFunction:st.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${pt}-rtl${pt}-status-active`]:{[`${pt}-bg::before`]:{animationName:Te(!0)}},[`&${pt}-status-exception`]:{[`${pt}-bg`]:{backgroundColor:st.colorError},[`${pt}-text`]:{color:st.colorError}},[`&${pt}-status-exception ${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:st.colorError}},[`&${pt}-status-success`]:{[`${pt}-bg`]:{backgroundColor:st.colorSuccess},[`${pt}-text`]:{color:st.colorSuccess}},[`&${pt}-status-success ${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:st.colorSuccess}}})}},He=st=>{const{componentCls:pt,iconCls:Pt}=st;return{[pt]:{[`${pt}-circle-trail`]:{stroke:st.remainingColor},[`&${pt}-circle ${pt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${pt}-circle ${pt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:st.circleTextColor,fontSize:st.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Pt]:{fontSize:`${st.fontSize/st.fontSizeSM}em`}},[`${pt}-circle&-status-exception`]:{[`${pt}-text`]:{color:st.colorError}},[`${pt}-circle&-status-success`]:{[`${pt}-text`]:{color:st.colorSuccess}}},[`${pt}-inline-circle`]:{lineHeight:1,[`${pt}-inner`]:{verticalAlign:"bottom"}}}},rt=st=>{const{componentCls:pt}=st;return{[pt]:{[`${pt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:st.progressStepMinWidth,marginInlineEnd:st.progressStepMarginInlineEnd,backgroundColor:st.remainingColor,transition:`all ${st.motionDurationSlow}`,"&-active":{backgroundColor:st.defaultColor}}}}}},mt=st=>{const{componentCls:pt,iconCls:Pt}=st;return{[pt]:{[`${pt}-small&-line, ${pt}-small&-line ${pt}-text ${Pt}`]:{fontSize:st.fontSizeSM}}}};var vt=(0,ze.Z)("Progress",st=>{const pt=st.marginXXS/2,Pt=(0,Le.TS)(st,{progressStepMarginInlineEnd:pt,progressStepMinWidth:pt,progressActiveMotionDuration:"2.4s"});return[Ne(Pt),He(Pt),rt(Pt),mt(Pt)]},st=>({circleTextColor:st.colorText,defaultColor:st.colorInfo,remainingColor:st.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),nt=function(st,pt){var Pt={};for(var wt in st)Object.prototype.hasOwnProperty.call(st,wt)&&pt.indexOf(wt)<0&&(Pt[wt]=st[wt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,wt=Object.getOwnPropertySymbols(st);Lt<wt.length;Lt++)pt.indexOf(wt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(st,wt[Lt])&&(Pt[wt[Lt]]=st[wt[Lt]]);return Pt};const ut=null,Et=["normal","exception","active","success"];var at=Se.forwardRef((st,pt)=>{const{prefixCls:Pt,className:wt,rootClassName:Lt,steps:$t,strokeColor:nn,percent:un=0,size:Cn="default",showInfo:Sn=!0,type:Kn="line",status:nr,format:fr,style:Ur}=st,Gr=nt(st,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),zr=Se.useMemo(()=>{var Rt,fn;const Nn=Ye(st);return parseInt(Nn!==void 0?(Rt=Nn!=null?Nn:0)===null||Rt===void 0?void 0:Rt.toString():(fn=un!=null?un:0)===null||fn===void 0?void 0:fn.toString(),10)},[un,st.success,st.successPercent]),Ir=Se.useMemo(()=>!Et.includes(nr)&&zr>=100?"success":nr||"normal",[nr,zr]),{getPrefixCls:bn,direction:tn,progress:dn}=Se.useContext(le.E_),vn=bn("progress",Pt),[xn,tr]=vt(vn),Vn=Se.useMemo(()=>{if(!Sn)return null;const Rt=Ye(st);let fn;const Nn=fr||(gr=>`${gr}%`),jn=Kn==="line";return fr||Ir!=="exception"&&Ir!=="success"?fn=Nn(tt(un),tt(Rt)):Ir==="exception"?fn=jn?Se.createElement(ve.Z,null):Se.createElement(de.Z,null):Ir==="success"&&(fn=jn?Se.createElement(xe.Z,null):Se.createElement(E.Z,null)),Se.createElement("span",{className:`${vn}-text`,title:typeof fn=="string"?fn:void 0},fn)},[Sn,un,zr,Ir,Kn,vn,fr]),pr=Array.isArray(nn)?nn[0]:nn,ar=typeof nn=="string"||Array.isArray(nn)?nn:void 0;let xt;Kn==="line"?xt=$t?Se.createElement(ke,Object.assign({},st,{strokeColor:ar,prefixCls:vn,steps:$t}),Vn):Se.createElement(Ve,Object.assign({},st,{strokeColor:pr,prefixCls:vn,direction:tn}),Vn):(Kn==="circle"||Kn==="dashboard")&&(xt=Se.createElement(Je,Object.assign({},st,{strokeColor:pr,prefixCls:vn,progressStatus:Ir}),Vn));const It=re()(vn,`${vn}-status-${Ir}`,`${vn}-${Kn==="dashboard"&&"circle"||$t&&"steps"||Kn}`,{[`${vn}-inline-circle`]:Kn==="circle"&&Ge(Cn,"circle")[0]<=20,[`${vn}-show-info`]:Sn,[`${vn}-${Cn}`]:typeof Cn=="string",[`${vn}-rtl`]:tn==="rtl"},dn==null?void 0:dn.className,wt,Lt,tr);return xn(Se.createElement("div",Object.assign({ref:pt,style:Object.assign(Object.assign({},dn==null?void 0:dn.style),Ur),className:It,role:"progressbar","aria-valuenow":zr},(0,ie.Z)(Gr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),xt))}),Tt=at},46303:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return ke}});var Se=fe(94184),xe=fe.n(Se),E=fe(67294),ve=fe(53124),de=fe(10366),re=$e=>{const{prefixCls:Ke,className:ze,style:Le,size:Te,shape:Ne}=$e,He=xe()({[`${Ke}-lg`]:Te==="large",[`${Ke}-sm`]:Te==="small"}),rt=xe()({[`${Ke}-circle`]:Ne==="circle",[`${Ke}-square`]:Ne==="square",[`${Ke}-round`]:Ne==="round"}),mt=E.useMemo(()=>typeof Te=="number"?{width:Te,height:Te,lineHeight:`${Te}px`}:{},[Te]);return E.createElement("span",{className:xe()(Ke,He,rt,ze),style:Object.assign(Object.assign({},mt),Le)})},ie=fe(45930),le=fe(67968),ce=fe(45503);const ae=new ie.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),oe=$e=>({height:$e,lineHeight:`${$e}px`}),ne=$e=>Object.assign({width:$e},oe($e)),ee=$e=>({background:$e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ae,animationDuration:$e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=$e=>Object.assign({width:$e*5,minWidth:$e*5},oe($e)),y=$e=>{const{skeletonAvatarCls:Ke,gradientFromColor:ze,controlHeight:Le,controlHeightLG:Te,controlHeightSM:Ne}=$e;return{[`${Ke}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ze},ne(Le)),[`${Ke}${Ke}-circle`]:{borderRadius:"50%"},[`${Ke}${Ke}-lg`]:Object.assign({},ne(Te)),[`${Ke}${Ke}-sm`]:Object.assign({},ne(Ne))}},x=$e=>{const{controlHeight:Ke,borderRadiusSM:ze,skeletonInputCls:Le,controlHeightLG:Te,controlHeightSM:Ne,gradientFromColor:He}=$e;return{[`${Le}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:He,borderRadius:ze},a(Ke)),[`${Le}-lg`]:Object.assign({},a(Te)),[`${Le}-sm`]:Object.assign({},a(Ne))}},b=$e=>Object.assign({width:$e},oe($e)),te=$e=>{const{skeletonImageCls:Ke,imageSizeBase:ze,gradientFromColor:Le,borderRadiusSM:Te}=$e;return{[`${Ke}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Le,borderRadius:Te},b(ze*2)),{[`${Ke}-path`]:{fill:"#bfbfbf"},[`${Ke}-svg`]:Object.assign(Object.assign({},b(ze)),{maxWidth:ze*4,maxHeight:ze*4}),[`${Ke}-svg${Ke}-svg-circle`]:{borderRadius:"50%"}}),[`${Ke}${Ke}-circle`]:{borderRadius:"50%"}}},z=($e,Ke,ze)=>{const{skeletonButtonCls:Le}=$e;return{[`${ze}${Le}-circle`]:{width:Ke,minWidth:Ke,borderRadius:"50%"},[`${ze}${Le}-round`]:{borderRadius:Ke}}},ue=$e=>Object.assign({width:$e*2,minWidth:$e*2},oe($e)),ge=$e=>{const{borderRadiusSM:Ke,skeletonButtonCls:ze,controlHeight:Le,controlHeightLG:Te,controlHeightSM:Ne,gradientFromColor:He}=$e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:He,borderRadius:Ke,width:Le*2,minWidth:Le*2},ue(Le))},z($e,Le,ze)),{[`${ze}-lg`]:Object.assign({},ue(Te))}),z($e,Te,`${ze}-lg`)),{[`${ze}-sm`]:Object.assign({},ue(Ne))}),z($e,Ne,`${ze}-sm`))},me=$e=>{const{componentCls:Ke,skeletonAvatarCls:ze,skeletonTitleCls:Le,skeletonParagraphCls:Te,skeletonButtonCls:Ne,skeletonInputCls:He,skeletonImageCls:rt,controlHeight:mt,controlHeightLG:vt,controlHeightSM:nt,gradientFromColor:ut,padding:Et,marginSM:Ot,borderRadius:at,titleHeight:Tt,blockRadius:st,paragraphLiHeight:pt,controlHeightXS:Pt,paragraphMarginTop:wt}=$e;return{[`${Ke}`]:{display:"table",width:"100%",[`${Ke}-header`]:{display:"table-cell",paddingInlineEnd:Et,verticalAlign:"top",[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ut},ne(mt)),[`${ze}-circle`]:{borderRadius:"50%"},[`${ze}-lg`]:Object.assign({},ne(vt)),[`${ze}-sm`]:Object.assign({},ne(nt))},[`${Ke}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Le}`]:{width:"100%",height:Tt,background:ut,borderRadius:st,[`+ ${Te}`]:{marginBlockStart:nt}},[`${Te}`]:{padding:0,"> li":{width:"100%",height:pt,listStyle:"none",background:ut,borderRadius:st,"+ li":{marginBlockStart:Pt}}},[`${Te}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Ke}-content`]:{[`${Le}, ${Te} > li`]:{borderRadius:at}}},[`${Ke}-with-avatar ${Ke}-content`]:{[`${Le}`]:{marginBlockStart:Ot,[`+ ${Te}`]:{marginBlockStart:wt}}},[`${Ke}${Ke}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ge($e)),y($e)),x($e)),te($e)),[`${Ke}${Ke}-block`]:{width:"100%",[`${Ne}`]:{width:"100%"},[`${He}`]:{width:"100%"}},[`${Ke}${Ke}-active`]:{[`
|
|
|
${Le},
|
|
|
${Te} > li,
|
|
|
${ze},
|
|
|
${Ne},
|
|
|
${He},
|
|
|
${rt}
|
|
|
`]:Object.assign({},ee($e))}}};var he=(0,le.Z)("Skeleton",$e=>{const{componentCls:Ke}=$e,ze=(0,ce.TS)($e,{skeletonAvatarCls:`${Ke}-avatar`,skeletonTitleCls:`${Ke}-title`,skeletonParagraphCls:`${Ke}-paragraph`,skeletonButtonCls:`${Ke}-button`,skeletonInputCls:`${Ke}-input`,skeletonImageCls:`${Ke}-image`,imageSizeBase:$e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${$e.gradientFromColor} 25%, ${$e.gradientToColor} 37%, ${$e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[me(ze)]},$e=>{const{colorFillContent:Ke,colorFill:ze}=$e,Le=Ke,Te=ze;return{color:Le,colorGradientEnd:Te,gradientFromColor:Le,gradientToColor:Te,titleHeight:$e.controlHeight/2,blockRadius:$e.borderRadiusSM,paragraphMarginTop:$e.marginLG+$e.marginXXS,paragraphLiHeight:$e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),be=$e=>{const{prefixCls:Ke,className:ze,rootClassName:Le,active:Te,shape:Ne="circle",size:He="default"}=$e,{getPrefixCls:rt}=E.useContext(ve.E_),mt=rt("skeleton",Ke),[vt,nt]=he(mt),ut=(0,de.Z)($e,["prefixCls","className"]),Et=xe()(mt,`${mt}-element`,{[`${mt}-active`]:Te},ze,Le,nt);return vt(E.createElement("div",{className:Et},E.createElement(re,Object.assign({prefixCls:`${mt}-avatar`,shape:Ne,size:He},ut))))},Pe=$e=>{const{prefixCls:Ke,className:ze,rootClassName:Le,active:Te,block:Ne=!1,size:He="default"}=$e,{getPrefixCls:rt}=E.useContext(ve.E_),mt=rt("skeleton",Ke),[vt,nt]=he(mt),ut=(0,de.Z)($e,["prefixCls"]),Et=xe()(mt,`${mt}-element`,{[`${mt}-active`]:Te,[`${mt}-block`]:Ne},ze,Le,nt);return vt(E.createElement("div",{className:Et},E.createElement(re,Object.assign({prefixCls:`${mt}-button`,size:He},ut))))};const we="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ce=$e=>{const{prefixCls:Ke,className:ze,rootClassName:Le,style:Te,active:Ne}=$e,{getPrefixCls:He}=E.useContext(ve.E_),rt=He("skeleton",Ke),[mt,vt]=he(rt),nt=xe()(rt,`${rt}-element`,{[`${rt}-active`]:Ne},ze,Le,vt);return mt(E.createElement("div",{className:nt},E.createElement("div",{className:xe()(`${rt}-image`,ze),style:Te},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${rt}-image-svg`},E.createElement("path",{d:we,className:`${rt}-image-path`})))))},Ee=$e=>{const{prefixCls:Ke,className:ze,rootClassName:Le,active:Te,block:Ne,size:He="default"}=$e,{getPrefixCls:rt}=E.useContext(ve.E_),mt=rt("skeleton",Ke),[vt,nt]=he(mt),ut=(0,de.Z)($e,["prefixCls"]),Et=xe()(mt,`${mt}-element`,{[`${mt}-active`]:Te,[`${mt}-block`]:Ne},ze,Le,nt);return vt(E.createElement("div",{className:Et},E.createElement(re,Object.assign({prefixCls:`${mt}-input`,size:He},ut))))},Me=fe(87462),Ie={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"},Be=Ie,Re=fe(74643),tt=function(Ke,ze){return E.createElement(Re.Z,(0,Me.Z)({},Ke,{ref:ze,icon:Be}))},Ye=E.forwardRef(tt),Xe=$e=>{const{prefixCls:Ke,className:ze,rootClassName:Le,style:Te,active:Ne,children:He}=$e,{getPrefixCls:rt}=E.useContext(ve.E_),mt=rt("skeleton",Ke),[vt,nt]=he(mt),ut=xe()(mt,`${mt}-element`,{[`${mt}-active`]:Ne},nt,ze,Le),Et=He!=null?He:E.createElement(Ye,null);return vt(E.createElement("div",{className:ut},E.createElement("div",{className:xe()(`${mt}-image`,ze),style:Te},Et)))},Ge=fe(74902),je=$e=>{const Ke=rt=>{const{width:mt,rows:vt=2}=$e;if(Array.isArray(mt))return mt[rt];if(vt-1===rt)return mt},{prefixCls:ze,className:Le,style:Te,rows:Ne}=$e,He=(0,Ge.Z)(Array(Ne)).map((rt,mt)=>E.createElement("li",{key:mt,style:{width:Ke(mt)}}));return E.createElement("ul",{className:xe()(ze,Le),style:Te},He)},Je=$e=>{let{prefixCls:Ke,className:ze,width:Le,style:Te}=$e;return E.createElement("h3",{className:xe()(Ke,ze),style:Object.assign({width:Le},Te)})};function it($e){return $e&&typeof $e=="object"?$e:{}}function Qe($e,Ke){return $e&&!Ke?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ze($e,Ke){return!$e&&Ke?{width:"38%"}:$e&&Ke?{width:"50%"}:{}}function De($e,Ke){const ze={};return(!$e||!Ke)&&(ze.width="61%"),!$e&&Ke?ze.rows=3:ze.rows=2,ze}const Ve=$e=>{const{prefixCls:Ke,loading:ze,className:Le,rootClassName:Te,style:Ne,children:He,avatar:rt=!1,title:mt=!0,paragraph:vt=!0,active:nt,round:ut}=$e,{getPrefixCls:Et,direction:Ot,skeleton:at}=E.useContext(ve.E_),Tt=Et("skeleton",Ke),[st,pt]=he(Tt);if(ze||!("loading"in $e)){const Pt=!!rt,wt=!!mt,Lt=!!vt;let $t;if(Pt){const Cn=Object.assign(Object.assign({prefixCls:`${Tt}-avatar`},Qe(wt,Lt)),it(rt));$t=E.createElement("div",{className:`${Tt}-header`},E.createElement(re,Object.assign({},Cn)))}let nn;if(wt||Lt){let Cn;if(wt){const Kn=Object.assign(Object.assign({prefixCls:`${Tt}-title`},Ze(Pt,Lt)),it(mt));Cn=E.createElement(Je,Object.assign({},Kn))}let Sn;if(Lt){const Kn=Object.assign(Object.assign({prefixCls:`${Tt}-paragraph`},De(Pt,wt)),it(vt));Sn=E.createElement(je,Object.assign({},Kn))}nn=E.createElement("div",{className:`${Tt}-content`},Cn,Sn)}const un=xe()(Tt,{[`${Tt}-with-avatar`]:Pt,[`${Tt}-active`]:nt,[`${Tt}-rtl`]:Ot==="rtl",[`${Tt}-round`]:ut},at==null?void 0:at.className,Le,Te,pt);return st(E.createElement("div",{className:un,style:Object.assign(Object.assign({},at==null?void 0:at.style),Ne)},$t,nn))}return typeof He!="undefined"?He:null};Ve.Button=Pe,Ve.Avatar=be,Ve.Input=Ee,Ve.Image=Ce,Ve.Node=Xe;var Ae=Ve,ke=Ae},55054:function(_t,dt,fe){"use strict";fe.d(dt,{default:function(){return he}});var Se=fe(67294),xe=fe(57838),E=fe(96159),ve=fe(94184),de=fe.n(ve),se=fe(53124),re=fe(46303),le=pe=>{const{value:be,formatter:ye,precision:Pe,decimalSeparator:we,groupSeparator:Oe="",prefixCls:Ce}=pe;let _e;if(typeof ye=="function")_e=ye(be);else{const Ee=String(be),Me=Ee.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Me||Ee==="-")_e=Ee;else{const Ie=Me[1];let Be=Me[2]||"0",Re=Me[4]||"";Be=Be.replace(/\B(?=(\d{3})+(?!\d))/g,Oe),typeof Pe=="number"&&(Re=Re.padEnd(Pe,"0").slice(0,Pe>0?Pe:0)),Re&&(Re=`${we}${Re}`),_e=[Se.createElement("span",{key:"int",className:`${Ce}-content-value-int`},Ie,Be),Re&&Se.createElement("span",{key:"decimal",className:`${Ce}-content-value-decimal`},Re)]}}return Se.createElement("span",{className:`${Ce}-content-value`},_e)},ce=fe(14747),ae=fe(67968),oe=fe(45503);const ne=pe=>{const{componentCls:be,marginXXS:ye,padding:Pe,colorTextDescription:we,titleFontSize:Oe,colorTextHeading:Ce,contentFontSize:_e,fontFamily:Ee}=pe;return{[`${be}`]:Object.assign(Object.assign({},(0,ce.Wf)(pe)),{[`${be}-title`]:{marginBottom:ye,color:we,fontSize:Oe},[`${be}-skeleton`]:{paddingTop:Pe},[`${be}-content`]:{color:Ce,fontSize:_e,fontFamily:Ee,[`${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:Pe,style:we,valueStyle:Oe,value:Ce=0,title:_e,valueRender:Ee,prefix:Me,suffix:Ie,loading:Be=!1,onMouseEnter:Re,onMouseLeave:tt,decimalSeparator:Ye=".",groupSeparator:et=","}=pe,{getPrefixCls:Xe,direction:Ge,statistic:Fe}=Se.useContext(se.E_),je=Xe("statistic",be),[qe,Je]=ee(je),it=Se.createElement(le,Object.assign({decimalSeparator:Ye,groupSeparator:et,prefixCls:je},pe,{value:Ce})),Qe=de()(je,{[`${je}-rtl`]:Ge==="rtl"},Fe==null?void 0:Fe.className,ye,Pe,Je);return qe(Se.createElement("div",{className:Qe,style:Object.assign(Object.assign({},Fe==null?void 0:Fe.style),we),onMouseEnter:Re,onMouseLeave:tt},_e&&Se.createElement("div",{className:`${je}-title`},_e),Se.createElement(re.Z,{paragraph:!1,loading:Be,className:`${je}-skeleton`},Se.createElement("div",{style:Oe,className:`${je}-content`},Me&&Se.createElement("span",{className:`${je}-content-prefix`},Me),Ee?Ee(it):it,Ie&&Se.createElement("span",{className:`${je}-content-suffix`},Ie)))))};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 Pe=/\[[^\]]*]/g,we=(be.match(Pe)||[]).map(Ee=>Ee.slice(1,-1)),Oe=be.replace(Pe,"[]"),Ce=x.reduce((Ee,Me)=>{let[Ie,Be]=Me;if(Ee.includes(Ie)){const Re=Math.floor(ye/Be);return ye-=Re*Be,Ee.replace(new RegExp(`${Ie}+`,"g"),tt=>{const Ye=tt.length;return Re.toString().padStart(Ye,"0")})}return Ee},Oe);let _e=0;return Ce.replace(Pe,()=>{const Ee=we[_e];return _e+=1,Ee})}function te(pe,be){const{format:ye=""}=be,Pe=new Date(pe).getTime(),we=Date.now(),Oe=Math.max(Pe-we,0);return b(Oe,ye)}const z=1e3/30;function ue(pe){return new Date(pe).getTime()}const ge=pe=>{const{value:be,format:ye="HH:mm:ss",onChange:Pe,onFinish:we}=pe,Oe=(0,xe.Z)(),Ce=Se.useRef(null),_e=()=>{we==null||we(),Ce.current&&(clearInterval(Ce.current),Ce.current=null)},Ee=()=>{const Be=ue(be);Be>=Date.now()&&(Ce.current=setInterval(()=>{Oe(),Pe==null||Pe(Be-Date.now()),Be<Date.now()&&_e()},z))};Se.useEffect(()=>(Ee(),()=>{Ce.current&&(clearInterval(Ce.current),Ce.current=null)}),[be]);const Me=(Be,Re)=>te(Be,Object.assign(Object.assign({},Re),{format:ye})),Ie=Be=>(0,E.Tm)(Be,{title:void 0});return Se.createElement(y,Object.assign({},pe,{valueRender:Ie,formatter:Me}))};var me=Se.memo(ge);y.Countdown=me;var he=y},49867:function(_t,dt,fe){"use strict";fe.d(dt,{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(_t,dt,fe){"use strict";fe.d(dt,{default:function(){return Tl}});var Se={},xe="rc-table-internal-hook",E=fe(97685),ve=fe(66680),de=fe(8410),se=fe(91881),re=fe(67294),ie=fe(73935);function le(Ue){var We=re.createContext(void 0),ot=function(yt){var bt=yt.value,Bt=yt.children,Zt=re.useRef(bt);Zt.current=bt;var Wt=re.useState(function(){return{getValue:function(){return Zt.current},listeners:new Set}}),qt=(0,E.Z)(Wt,1),gn=qt[0];return(0,de.Z)(function(){(0,ie.unstable_batchedUpdates)(function(){gn.listeners.forEach(function(on){on(bt)})})},[bt]),re.createElement(We.Provider,{value:gn},Bt)};return{Context:We,Provider:ot,defaultValue:Ue}}function ce(Ue,We){var ot=(0,ve.Z)(typeof We=="function"?We:function(on){if(We===void 0)return on;if(!Array.isArray(We))return on[We];var Rn={};return We.forEach(function(Mn){Rn[Mn]=on[Mn]}),Rn}),ct=re.useContext(Ue==null?void 0:Ue.Context),yt=ct||{},bt=yt.listeners,Bt=yt.getValue,Zt=re.useRef();Zt.current=ot(ct?Bt():Ue==null?void 0:Ue.defaultValue);var Wt=re.useState({}),qt=(0,E.Z)(Wt,2),gn=qt[1];return(0,de.Z)(function(){if(!ct)return;function on(Rn){var Mn=ot(Rn);(0,se.Z)(Zt.current,Mn,!0)||gn({})}return bt.add(on),function(){bt.delete(on)}},[ct]),Zt.current}var ae=fe(87462),oe=fe(42550);function ne(){var Ue=re.createContext(null);function We(){return re.useContext(Ue)}function ot(yt,bt){var Bt=(0,oe.Yr)(yt),Zt=function(qt,gn){var on=Bt?{ref:gn}:{},Rn=re.useRef(0),Mn=re.useRef(qt),In=We();return In!==null?re.createElement(yt,(0,ae.Z)({},qt,on)):((!bt||bt(Mn.current,qt))&&(Rn.current+=1),Mn.current=qt,re.createElement(Ue.Provider,{value:Rn.current},re.createElement(yt,(0,ae.Z)({},qt,on))))};return Bt?re.forwardRef(Zt):Zt}function ct(yt,bt){var Bt=(0,oe.Yr)(yt),Zt=function(qt,gn){var on=Bt?{ref:gn}:{};return We(),re.createElement(yt,(0,ae.Z)({},qt,on))};return Bt?re.memo(re.forwardRef(Zt),bt):re.memo(Zt,bt)}return{makeImmutable:ot,responseImmutable:ct,useImmutableMark:We}}var ee=ne(),a=ee.makeImmutable,y=ee.responseImmutable,x=ee.useImmutableMark,b=ne(),te=b.makeImmutable,z=b.responseImmutable,ue=b.useImmutableMark,ge=le(),me=ge;function he(Ue,We){var ot=re.useRef(0);ot.current+=1;var ct=re.useRef(Ue),yt=[];Object.keys(Ue||{}).map(function(Bt){var Zt;(Ue==null?void 0:Ue[Bt])!==((Zt=ct.current)===null||Zt===void 0?void 0:Zt[Bt])&&yt.push(Bt)}),ct.current=Ue;var bt=re.useRef([]);return yt.length&&(bt.current=yt),re.useDebugValue(ot.current),re.useDebugValue(bt.current.join(", ")),We&&console.log("".concat(We,":"),ot.current,bt.current),ot.current}var pe=null,be=re.memo(function(){var Ue=he();return re.createElement("h1",null,"Render Times: ",Ue)});be.displayName="RenderBlock";var ye=fe(71002),Pe=fe(1413),we=fe(4942),Oe=fe(94184),Ce=fe.n(Oe);function _e(Ue,We,ot){var ct=re.useRef({});return(!("value"in ct.current)||ot(ct.current.condition,We))&&(ct.current.value=Ue(),ct.current.condition=We),ct.current.value}var Ee={},Me=[],Ie=function(We){Me.push(We)};function Be(Ue,We){if(0)var ot}function Re(Ue,We){if(0)var ot}function tt(){Ee={}}function Ye(Ue,We,ot){!We&&!Ee[ot]&&(Ue(!1,ot),Ee[ot]=!0)}function et(Ue,We){Ye(Be,Ue,We)}function Xe(Ue,We){Ye(Re,Ue,We)}et.preMessage=Ie,et.resetWarned=tt,et.noteOnce=Xe;var Ge=et;function Fe(Ue,We){var ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ct=new Set;function yt(bt,Bt){var Zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Wt=ct.has(bt);if(Ge(!Wt,"Warning: There may be circular references"),Wt)return!1;if(bt===Bt)return!0;if(ot&&Zt>1)return!1;ct.add(bt);var qt=Zt+1;if(Array.isArray(bt)){if(!Array.isArray(Bt)||bt.length!==Bt.length)return!1;for(var gn=0;gn<bt.length;gn++)if(!yt(bt[gn],Bt[gn],qt))return!1;return!0}if(bt&&Bt&&(0,ye.Z)(bt)==="object"&&(0,ye.Z)(Bt)==="object"){var on=Object.keys(bt);return on.length!==Object.keys(Bt).length?!1:on.every(function(Rn){return yt(bt[Rn],Bt[Rn],qt)})}return!1}return yt(Ue,We)}var je=Fe;function qe(Ue,We){for(var ot=Ue,ct=0;ct<We.length;ct+=1){if(ot==null)return;ot=ot[We[ct]]}return ot}var Je=re.createContext({renderWithProps:!1}),it=Je,Qe="RC_TABLE_KEY";function Ze(Ue){return Ue==null?[]:Array.isArray(Ue)?Ue:[Ue]}function De(Ue){var We=[],ot={};return Ue.forEach(function(ct){for(var yt=ct||{},bt=yt.key,Bt=yt.dataIndex,Zt=bt||Ze(Bt).join("-")||Qe;ot[Zt];)Zt="".concat(Zt,"_next");ot[Zt]=!0,We.push(Zt)}),We}function Ve(Ue){return Ue!=null}function Ae(Ue){return Ue&&(0,ye.Z)(Ue)==="object"&&!Array.isArray(Ue)&&!re.isValidElement(Ue)}function ke(Ue,We,ot,ct,yt,bt){var Bt=re.useContext(it),Zt=ue(),Wt=_e(function(){if(Ve(ct))return[ct];var qt=We==null||We===""?[]:Array.isArray(We)?We:[We],gn=qe(Ue,qt),on=gn,Rn=void 0;if(yt){var Mn=yt(gn,Ue,ot);Ae(Mn)?(on=Mn.children,Rn=Mn.props,Bt.renderWithProps=!0):on=Mn}return[on,Rn]},[Zt,Ue,ct,We,yt,ot],function(qt,gn){if(bt){var on=(0,E.Z)(qt,2),Rn=on[1],Mn=(0,E.Z)(gn,2),In=Mn[1];return bt(In,Rn)}return Bt.renderWithProps?!0:!je(qt,gn,!0)});return Wt}function $e(Ue,We,ot,ct){var yt=Ue+We-1;return Ue<=ct&&yt>=ot}function Ke(Ue,We){return ce(me,function(ot){var ct=$e(Ue,We||1,ot.hoverStartRow,ot.hoverEndRow);return[ct,ot.onHover]})}var ze=function(We){var ot=We.ellipsis,ct=We.rowType,yt=We.children,bt,Bt=ot===!0?{showTitle:!0}:ot;return Bt&&(Bt.showTitle||ct==="header")&&(typeof yt=="string"||typeof yt=="number"?bt=yt.toString():re.isValidElement(yt)&&typeof yt.props.children=="string"&&(bt=yt.props.children)),bt};function Le(Ue){var We,ot,ct,yt,bt,Bt,Zt,Wt,qt=Ue.component,gn=Ue.children,on=Ue.ellipsis,Rn=Ue.scope,Mn=Ue.prefixCls,In=Ue.className,rr=Ue.align,Yn=Ue.record,or=Ue.render,Jn=Ue.dataIndex,lr=Ue.renderIndex,Dr=Ue.shouldCellUpdate,Hr=Ue.index,Tr=Ue.rowType,ao=Ue.colSpan,ho=Ue.rowSpan,Sr=Ue.fixLeft,Lr=Ue.fixRight,br=Ue.firstFixLeft,cr=Ue.lastFixLeft,Cr=Ue.firstFixRight,to=Ue.lastFixRight,wo=Ue.appendNode,mo=Ue.additionalProps,Vr=mo===void 0?{}:mo,Co=Ue.isSticky,_o="".concat(Mn,"-cell"),Vo=ce(me,["supportSticky","allColumnsFixedLeft"]),jo=Vo.supportSticky,ga=Vo.allColumnsFixedLeft,ma=ke(Yn,Jn,lr,gn,or,Dr),po=(0,E.Z)(ma,2),va=po[0],ko=po[1],sa={},na=typeof Sr=="number"&&jo,Ua=typeof Lr=="number"&&jo;na&&(sa.position="sticky",sa.left=Sr),Ua&&(sa.position="sticky",sa.right=Lr);var Jr=(We=(ot=(ct=ko==null?void 0:ko.colSpan)!==null&&ct!==void 0?ct:Vr.colSpan)!==null&&ot!==void 0?ot:ao)!==null&&We!==void 0?We:1,Yr=(yt=(bt=(Bt=ko==null?void 0:ko.rowSpan)!==null&&Bt!==void 0?Bt:Vr.rowSpan)!==null&&bt!==void 0?bt:ho)!==null&&yt!==void 0?yt:1,Xr=Ke(Hr,Yr),jr=(0,E.Z)(Xr,2),Uo=jr[0],Fr=jr[1],fo=function(Sa){var za;Yn&&Fr(Hr,Hr+Yr-1),Vr==null||(za=Vr.onMouseEnter)===null||za===void 0||za.call(Vr,Sa)},Do=function(Sa){var za;Yn&&Fr(-1,-1),Vr==null||(za=Vr.onMouseLeave)===null||za===void 0||za.call(Vr,Sa)};if(Jr===0||Yr===0)return null;var Lo=(Zt=Vr.title)!==null&&Zt!==void 0?Zt:ze({rowType:Tr,ellipsis:on,children:va}),Ra=Ce()(_o,In,(Wt={},(0,we.Z)(Wt,"".concat(_o,"-fix-left"),na&&jo),(0,we.Z)(Wt,"".concat(_o,"-fix-left-first"),br&&jo),(0,we.Z)(Wt,"".concat(_o,"-fix-left-last"),cr&&jo),(0,we.Z)(Wt,"".concat(_o,"-fix-left-all"),cr&&ga&&jo),(0,we.Z)(Wt,"".concat(_o,"-fix-right"),Ua&&jo),(0,we.Z)(Wt,"".concat(_o,"-fix-right-first"),Cr&&jo),(0,we.Z)(Wt,"".concat(_o,"-fix-right-last"),to&&jo),(0,we.Z)(Wt,"".concat(_o,"-ellipsis"),on),(0,we.Z)(Wt,"".concat(_o,"-with-append"),wo),(0,we.Z)(Wt,"".concat(_o,"-fix-sticky"),(na||Ua)&&Co&&jo),(0,we.Z)(Wt,"".concat(_o,"-row-hover"),!ko&&Uo),Wt),Vr.className,ko==null?void 0:ko.className),Ta={};rr&&(Ta.textAlign=rr);var ti=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},sa),Vr.style),Ta),ko==null?void 0:ko.style),ya=va;return(0,ye.Z)(ya)==="object"&&!Array.isArray(ya)&&!re.isValidElement(ya)&&(ya=null),on&&(cr||Cr)&&(ya=re.createElement("span",{className:"".concat(_o,"-content")},ya)),re.createElement(qt,(0,ae.Z)({},ko,Vr,{className:Ra,style:ti,title:Lo,scope:Rn,onMouseEnter:fo,onMouseLeave:Do,colSpan:Jr!==1?Jr:null,rowSpan:Yr!==1?Yr:null}),wo,ya)}var Te=re.memo(Le);function Ne(Ue,We,ot,ct,yt,bt){var Bt=ot[Ue]||{},Zt=ot[We]||{},Wt,qt;Bt.fixed==="left"?Wt=ct.left[yt==="rtl"?We:Ue]:Zt.fixed==="right"&&(qt=ct.right[yt==="rtl"?Ue:We]);var gn=!1,on=!1,Rn=!1,Mn=!1,In=ot[We+1],rr=ot[Ue-1],Yn=!(bt!=null&&bt.children);if(yt==="rtl"){if(Wt!==void 0){var or=rr&&rr.fixed==="left";Mn=!or&&Yn}else if(qt!==void 0){var Jn=In&&In.fixed==="right";Rn=!Jn&&Yn}}else if(Wt!==void 0){var lr=In&&In.fixed==="left";gn=!lr&&Yn}else if(qt!==void 0){var Dr=rr&&rr.fixed==="right";on=!Dr&&Yn}return{fixLeft:Wt,fixRight:qt,lastFixLeft:gn,firstFixRight:on,lastFixRight:Rn,firstFixLeft:Mn,isSticky:ct.isSticky}}var He=re.createContext({}),rt=He;function mt(Ue){var We=Ue.className,ot=Ue.index,ct=Ue.children,yt=Ue.colSpan,bt=yt===void 0?1:yt,Bt=Ue.rowSpan,Zt=Ue.align,Wt=ce(me,["prefixCls","direction"]),qt=Wt.prefixCls,gn=Wt.direction,on=re.useContext(rt),Rn=on.scrollColumnIndex,Mn=on.stickyOffsets,In=on.flattenColumns,rr=on.columns,Yn=ot+bt-1,or=Yn+1===Rn?bt+1:bt,Jn=Ne(ot,ot+or-1,In,Mn,gn,rr==null?void 0:rr[ot]);return re.createElement(Te,(0,ae.Z)({className:We,index:ot,component:"td",prefixCls:qt,record:null,dataIndex:null,align:Zt,colSpan:or,rowSpan:Bt,render:function(){return ct}},Jn))}var vt=fe(45987),nt=["children"];function ut(Ue){var We=Ue.children,ot=(0,vt.Z)(Ue,nt);return re.createElement("tr",ot,We)}function Et(Ue){var We=Ue.children;return We}Et.Row=ut,Et.Cell=mt;var Ot=Et;function at(Ue){var We=Ue.children,ot=Ue.stickyOffsets,ct=Ue.flattenColumns,yt=Ue.columns,bt=ce(me,"prefixCls"),Bt=ct.length-1,Zt=ct[Bt],Wt=re.useMemo(function(){return{stickyOffsets:ot,flattenColumns:ct,scrollColumnIndex:Zt!=null&&Zt.scrollbar?Bt:null,columns:yt}},[Zt,ct,Bt,ot,yt]);return re.createElement(rt.Provider,{value:Wt},re.createElement("tfoot",{className:"".concat(bt,"-summary")},We))}var Tt=z(at),st=Ot;function pt(Ue){var We=re.useRef();We.current=Ue;var ot=re.useCallback(function(){for(var ct,yt=arguments.length,bt=new Array(yt),Bt=0;Bt<yt;Bt++)bt[Bt]=arguments[Bt];return(ct=We.current)===null||ct===void 0?void 0:ct.call.apply(ct,[We].concat(bt))},[]);return ot}function Pt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var wt=Pt()?re.useLayoutEffect:re.useEffect,Lt=function(We,ot){var ct=React.useRef(!0);wt(function(){return We(ct.current)},ot),wt(function(){return ct.current=!1,function(){ct.current=!0}},[])},$t=function(We,ot){Lt(function(ct){if(!ct)return We()},ot)},nn=null;function un(Ue){var We=React.useRef(!1),ot=React.useState(Ue),ct=_slicedToArray(ot,2),yt=ct[0],bt=ct[1];React.useEffect(function(){return We.current=!1,function(){We.current=!0}},[]);function Bt(Zt,Wt){Wt&&We.current||bt(Zt)}return[yt,Bt]}function Cn(Ue){return Ue!==void 0}function Sn(Ue,We){var ot=We||{},ct=ot.defaultValue,yt=ot.value,bt=ot.onChange,Bt=ot.postState,Zt=useState(function(){return Cn(yt)?yt:Cn(ct)?typeof ct=="function"?ct():ct:typeof Ue=="function"?Ue():Ue}),Wt=_slicedToArray(Zt,2),qt=Wt[0],gn=Wt[1],on=yt!==void 0?yt:qt,Rn=Bt?Bt(on):on,Mn=useEvent(bt),In=useState([on]),rr=_slicedToArray(In,2),Yn=rr[0],or=rr[1];useLayoutUpdateEffect(function(){var lr=Yn[0];qt!==lr&&Mn(qt,lr)},[Yn]),useLayoutUpdateEffect(function(){Cn(yt)||gn(yt)},[yt]);var Jn=useEvent(function(lr,Dr){gn(lr,Dr),or([on],Dr)});return[Rn,Jn]}var Kn=fe(35110);function nr(Ue,We){typeof Ue=="function"?Ue(We):(0,ye.Z)(Ue)==="object"&&Ue&&"current"in Ue&&(Ue.current=We)}function fr(){for(var Ue=arguments.length,We=new Array(Ue),ot=0;ot<Ue;ot++)We[ot]=arguments[ot];var ct=We.filter(function(yt){return yt});return ct.length<=1?ct[0]:function(yt){We.forEach(function(bt){nr(bt,yt)})}}function Ur(){for(var Ue=arguments.length,We=new Array(Ue),ot=0;ot<Ue;ot++)We[ot]=arguments[ot];return useMemo(function(){return fr.apply(void 0,We)},We,function(ct,yt){return ct.length!==yt.length||ct.every(function(bt,Bt){return bt!==yt[Bt]})})}function Gr(Ue){var We,ot,ct=isMemo(Ue)?Ue.type.type:Ue.type;return!(typeof ct=="function"&&!((We=ct.prototype)!==null&&We!==void 0&&We.render)||typeof Ue=="function"&&!((ot=Ue.prototype)!==null&&ot!==void 0&&ot.render))}function zr(Ue){return!isValidElement(Ue)||isFragment(Ue)?!1:Gr(Ue)}function Ir(Ue,We,ot,ct){if(!We.length)return ot;var yt=_toArray(We),bt=yt[0],Bt=yt.slice(1),Zt;return!Ue&&typeof bt=="number"?Zt=[]:Array.isArray(Ue)?Zt=_toConsumableArray(Ue):Zt=_objectSpread({},Ue),ct&&ot===void 0&&Bt.length===1?delete Zt[bt][Bt[0]]:Zt[bt]=Ir(Zt[bt],Bt,ot,ct),Zt}function bn(Ue,We,ot){var ct=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return We.length&&ct&&ot===void 0&&!get(Ue,We.slice(0,-1))?Ue:Ir(Ue,We,ot,ct)}function tn(Ue){return _typeof(Ue)==="object"&&Ue!==null&&Object.getPrototypeOf(Ue)===Object.prototype}function dn(Ue){return Array.isArray(Ue)?[]:{}}var vn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function xn(){for(var Ue=arguments.length,We=new Array(Ue),ot=0;ot<Ue;ot++)We[ot]=arguments[ot];var ct=dn(We[0]);return We.forEach(function(yt){function bt(Bt,Zt){var Wt=new Set(Zt),qt=get(yt,Bt),gn=Array.isArray(qt);if(gn||tn(qt)){if(!Wt.has(qt)){Wt.add(qt);var on=get(ct,Bt);gn?ct=bn(ct,Bt,[]):(!on||_typeof(on)!=="object")&&(ct=bn(ct,Bt,dn(qt))),vn(qt).forEach(function(Rn){bt([].concat(_toConsumableArray(Bt),[Rn]),Wt)})}}else ct=bn(ct,Bt,qt)}bt([])}),ct}var tr=fe(48555),Vn=function(Ue){if(!Ue)return!1;if(Ue instanceof Element){if(Ue.offsetParent)return!0;if(Ue.getBBox){var We=Ue.getBBox(),ot=We.width,ct=We.height;if(ot||ct)return!0}if(Ue.getBoundingClientRect){var yt=Ue.getBoundingClientRect(),bt=yt.width,Bt=yt.height;if(bt||Bt)return!0}}return!1},pr=function(We){if(Pt()&&window.document.documentElement){var ot=Array.isArray(We)?We:[We],ct=window.document.documentElement;return ot.some(function(yt){return yt in ct.style})}return!1},ar=function(We,ot){if(!pr(We))return!1;var ct=document.createElement("div"),yt=ct.style[We];return ct.style[We]=ot,ct.style[We]!==yt};function xt(Ue,We){return!Array.isArray(Ue)&&We!==void 0?ar(Ue,We):pr(Ue)}var It;function Rt(Ue){if(typeof document=="undefined")return 0;if(Ue||It===void 0){var We=document.createElement("div");We.style.width="100%",We.style.height="200px";var ot=document.createElement("div"),ct=ot.style;ct.position="absolute",ct.top="0",ct.left="0",ct.pointerEvents="none",ct.visibility="hidden",ct.width="200px",ct.height="150px",ct.overflow="hidden",ot.appendChild(We),document.body.appendChild(ot);var yt=We.offsetWidth;ot.style.overflow="scroll";var bt=We.offsetWidth;yt===bt&&(bt=ot.clientWidth),document.body.removeChild(ot),It=yt-bt}return It}function fn(Ue){var We=Ue.match(/^(.*)px$/),ot=Number(We==null?void 0:We[1]);return Number.isNaN(ot)?Rt():ot}function Nn(Ue){if(typeof document=="undefined"||!Ue||!(Ue instanceof Element))return{width:0,height:0};var We=getComputedStyle(Ue,"::-webkit-scrollbar"),ot=We.width,ct=We.height;return{width:fn(ot),height:fn(ct)}}var jn=`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`,gr=`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`,hr="".concat(jn," ").concat(gr).split(/[\s\n]+/),qn="aria-",Br="data-";function lo(Ue,We){return Ue.indexOf(We)===0}function Or(Ue){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ot;We===!1?ot={aria:!0,data:!0,attr:!0}:We===!0?ot={aria:!0}:ot=(0,Pe.Z)({},We);var ct={};return Object.keys(Ue).forEach(function(yt){(ot.aria&&(yt==="role"||lo(yt,qn))||ot.data&&lo(yt,Br)||ot.attr&&hr.includes(yt))&&(ct[yt]=Ue[yt])}),ct}function An(Ue,We,ot,ct,yt,bt,Bt){Ue.push({record:We,indent:ot,index:Bt});var Zt=bt(We),Wt=yt==null?void 0:yt.has(Zt);if(We&&Array.isArray(We[ct])&&Wt)for(var qt=0;qt<We[ct].length;qt+=1)An(Ue,We[ct][qt],ot+1,ct,yt,bt,qt)}function _r(Ue,We,ot,ct){var yt=re.useMemo(function(){if(ot!=null&&ot.size){for(var bt=[],Bt=0;Bt<(Ue==null?void 0:Ue.length);Bt+=1){var Zt=Ue[Bt];An(bt,Zt,0,We,ot,ct,Bt)}return bt}return Ue==null?void 0:Ue.map(function(Wt,qt){return{record:Wt,indent:0,index:qt}})},[Ue,We,ot,ct]);return yt}function zt(Ue){var We=Ue.prefixCls,ot=Ue.children,ct=Ue.component,yt=Ue.cellComponent,bt=Ue.className,Bt=Ue.expanded,Zt=Ue.colSpan,Wt=Ue.isEmpty,qt=ce(me,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),gn=qt.scrollbarSize,on=qt.fixHeader,Rn=qt.fixColumn,Mn=qt.componentWidth,In=qt.horizonScroll,rr=ot;return(Wt?In&&Mn:Rn)&&(rr=re.createElement("div",{style:{width:Mn-(on?gn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(We,"-expanded-row-fixed")},rr)),re.createElement(ct,{className:bt,style:{display:Bt?null:"none"}},re.createElement(Te,{component:yt,prefixCls:We,colSpan:Zt},rr))}var ln=zt;function an(Ue,We,ot,ct){var yt=ce(me,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),bt=yt.flattenColumns,Bt=yt.expandableType,Zt=yt.expandedKeys,Wt=yt.childrenColumnName,qt=yt.onTriggerExpand,gn=yt.rowExpandable,on=yt.onRow,Rn=yt.expandRowByClick,Mn=yt.rowClassName,In=Bt==="nest",rr=Bt==="row"&&(!gn||gn(Ue)),Yn=rr||In,or=Zt&&Zt.has(We),Jn=Wt&&Ue&&Ue[Wt],lr=pt(qt),Dr=on==null?void 0:on(Ue,ot),Hr=Dr==null?void 0:Dr.onClick,Tr=function(Lr){Rn&&Yn&&qt(Ue,Lr);for(var br=arguments.length,cr=new Array(br>1?br-1:0),Cr=1;Cr<br;Cr++)cr[Cr-1]=arguments[Cr];Hr==null||Hr.apply(void 0,[Lr].concat(cr))},ao;typeof Mn=="string"?ao=Mn:typeof Mn=="function"&&(ao=Mn(Ue,ot,ct));var ho=De(bt);return(0,Pe.Z)((0,Pe.Z)({},yt),{},{columnsKey:ho,nestExpandable:In,expanded:or,hasNestChildren:Jn,record:Ue,onTriggerExpand:lr,rowSupportExpand:rr,expandable:Yn,rowProps:(0,Pe.Z)((0,Pe.Z)({},Dr),{},{className:Ce()(ao,Dr==null?void 0:Dr.className),onClick:Tr})})}function mn(Ue,We,ot,ct,yt){var bt=Ue.record,Bt=Ue.prefixCls,Zt=Ue.columnsKey,Wt=Ue.fixedInfoList,qt=Ue.expandIconColumnIndex,gn=Ue.nestExpandable,on=Ue.indentSize,Rn=Ue.expandIcon,Mn=Ue.expanded,In=Ue.hasNestChildren,rr=Ue.onTriggerExpand,Yn=Zt[ot],or=Wt[ot],Jn;ot===(qt||0)&&gn&&(Jn=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(on*ct,"px")},className:"".concat(Bt,"-row-indent indent-level-").concat(ct)}),Rn({prefixCls:Bt,expanded:Mn,expandable:In,record:bt,onExpand:rr})));var lr;return We.onCell&&(lr=We.onCell(bt,yt)),{key:Yn,fixedInfo:or,appendCellNode:Jn,additionalCellProps:lr||{}}}function zn(Ue){var We=Ue.className,ot=Ue.style,ct=Ue.record,yt=Ue.index,bt=Ue.renderIndex,Bt=Ue.rowKey,Zt=Ue.indent,Wt=Zt===void 0?0:Zt,qt=Ue.rowComponent,gn=Ue.cellComponent,on=Ue.scopeCellComponent,Rn=an(ct,Bt,yt,Wt),Mn=Rn.prefixCls,In=Rn.flattenColumns,rr=Rn.expandedRowClassName,Yn=Rn.expandedRowRender,or=Rn.rowProps,Jn=Rn.expanded,lr=Rn.rowSupportExpand,Dr=re.useState(!1),Hr=(0,E.Z)(Dr,2),Tr=Hr[0],ao=Hr[1];re.useEffect(function(){Jn&&ao(!0)},[Jn]);var ho=re.createElement(qt,(0,ae.Z)({},or,{"data-row-key":Bt,className:Ce()(We,"".concat(Mn,"-row"),"".concat(Mn,"-row-level-").concat(Wt),or==null?void 0:or.className),style:(0,Pe.Z)((0,Pe.Z)({},ot),or==null?void 0:or.style)}),In.map(function(cr,Cr){var to=cr.render,wo=cr.dataIndex,mo=cr.className,Vr=mn(Rn,cr,Cr,Wt,yt),Co=Vr.key,_o=Vr.fixedInfo,Vo=Vr.appendCellNode,jo=Vr.additionalCellProps;return re.createElement(Te,(0,ae.Z)({className:mo,ellipsis:cr.ellipsis,align:cr.align,scope:cr.rowScope,component:cr.rowScope?on:gn,prefixCls:Mn,key:Co,record:ct,index:yt,renderIndex:bt,dataIndex:wo,render:to,shouldCellUpdate:cr.shouldCellUpdate},_o,{appendNode:Vo,additionalProps:jo}))})),Sr;if(lr&&(Tr||Jn)){var Lr=Yn(ct,yt,Wt+1,Jn),br=rr&&rr(ct,yt,Wt);Sr=re.createElement(ln,{expanded:Jn,className:Ce()("".concat(Mn,"-expanded-row"),"".concat(Mn,"-expanded-row-level-").concat(Wt+1),br),prefixCls:Mn,component:qt,cellComponent:gn,colSpan:In.length,isEmpty:!1},Lr)}return re.createElement(re.Fragment,null,ho,Sr)}zn.displayName="BodyRow";var Dt=z(zn);function Bn(Ue){var We=Ue.columnKey,ot=Ue.onColumnResize,ct=re.useRef();return re.useEffect(function(){ct.current&&ot(We,ct.current.offsetWidth)},[]),re.createElement(tr.Z,{data:We},re.createElement("td",{ref:ct,style:{padding:0,border:0,height:0}},re.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function yn(Ue){var We=Ue.prefixCls,ot=Ue.columnsKey,ct=Ue.onColumnResize;return re.createElement("tr",{"aria-hidden":"true",className:"".concat(We,"-measure-row"),style:{height:0,fontSize:0}},re.createElement(tr.Z.Collection,{onBatchResize:function(bt){bt.forEach(function(Bt){var Zt=Bt.data,Wt=Bt.size;ct(Zt,Wt.offsetWidth)})}},ot.map(function(yt){return re.createElement(Bn,{key:yt,columnKey:yt,onColumnResize:ct})})))}function Er(Ue){var We=Ue.data,ot=Ue.measureColumnWidth,ct=ce(me,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),yt=ct.prefixCls,bt=ct.getComponent,Bt=ct.onColumnResize,Zt=ct.flattenColumns,Wt=ct.getRowKey,qt=ct.expandedKeys,gn=ct.childrenColumnName,on=ct.emptyNode,Rn=_r(We,gn,qt,Wt),Mn=re.useRef({renderWithProps:!1}),In=bt(["body","wrapper"],"tbody"),rr=bt(["body","row"],"tr"),Yn=bt(["body","cell"],"td"),or=bt(["body","cell"],"th"),Jn;We.length?Jn=Rn.map(function(Dr,Hr){var Tr=Dr.record,ao=Dr.indent,ho=Dr.index,Sr=Wt(Tr,Hr);return re.createElement(Dt,{key:Sr,rowKey:Sr,record:Tr,index:Hr,renderIndex:ho,rowComponent:rr,cellComponent:Yn,scopeCellComponent:or,getRowKey:Wt,indent:ao})}):Jn=re.createElement(ln,{expanded:!0,className:"".concat(yt,"-placeholder"),prefixCls:yt,component:rr,cellComponent:Yn,colSpan:Zt.length,isEmpty:!0},on);var lr=De(Zt);return re.createElement(it.Provider,{value:Mn.current},re.createElement(In,{className:"".concat(yt,"-tbody")},ot&&re.createElement(yn,{prefixCls:yt,columnsKey:lr,onColumnResize:Bt}),Jn))}Er.displayName="Body";var ir=z(Er),Mr=["expandable"],Wr="RC_TABLE_INTERNAL_COL_DEFINE";function Pn(Ue){var We=Ue.expandable,ot=(0,vt.Z)(Ue,Mr),ct;return"expandable"in Ue?ct=(0,Pe.Z)((0,Pe.Z)({},ot),We):ct=ot,ct.showExpandColumn===!1&&(ct.expandIconColumnIndex=-1),ct}var Qr=["columnType"];function io(Ue){for(var We=Ue.colWidths,ot=Ue.columns,ct=Ue.columCount,yt=[],bt=ct||ot.length,Bt=!1,Zt=bt-1;Zt>=0;Zt-=1){var Wt=We[Zt],qt=ot&&ot[Zt],gn=qt&&qt[Wr];if(Wt||gn||Bt){var on=gn||{},Rn=on.columnType,Mn=(0,vt.Z)(on,Qr);yt.unshift(re.createElement("col",(0,ae.Z)({key:Zt,style:{width:Wt}},Mn))),Bt=!0}}return re.createElement("colgroup",null,yt)}var Mo=io,oo=fe(74902),Ho=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function kn(Ue,We){return(0,re.useMemo)(function(){for(var ot=[],ct=0;ct<We;ct+=1){var yt=Ue[ct];if(yt!==void 0)ot[ct]=yt;else return null}return ot},[Ue.join("_"),We])}var dr=re.forwardRef(function(Ue,We){var ot=Ue.className,ct=Ue.noData,yt=Ue.columns,bt=Ue.flattenColumns,Bt=Ue.colWidths,Zt=Ue.columCount,Wt=Ue.stickyOffsets,qt=Ue.direction,gn=Ue.fixHeader,on=Ue.stickyTopOffset,Rn=Ue.stickyBottomOffset,Mn=Ue.stickyClassName,In=Ue.onScroll,rr=Ue.maxContentScroll,Yn=Ue.children,or=(0,vt.Z)(Ue,Ho),Jn=ce(me,["prefixCls","scrollbarSize","isSticky"]),lr=Jn.prefixCls,Dr=Jn.scrollbarSize,Hr=Jn.isSticky,Tr=Hr&&!gn?0:Dr,ao=re.useRef(null),ho=re.useCallback(function(mo){nr(We,mo),nr(ao,mo)},[]);re.useEffect(function(){var mo;function Vr(Co){var _o=Co,Vo=_o.currentTarget,jo=_o.deltaX;jo&&(In({currentTarget:Vo,scrollLeft:Vo.scrollLeft+jo}),Co.preventDefault())}return(mo=ao.current)===null||mo===void 0||mo.addEventListener("wheel",Vr),function(){var Co;(Co=ao.current)===null||Co===void 0||Co.removeEventListener("wheel",Vr)}},[]);var Sr=re.useMemo(function(){return bt.every(function(mo){return mo.width})},[bt]),Lr=bt[bt.length-1],br={fixed:Lr?Lr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(lr,"-cell-scrollbar")}}},cr=(0,re.useMemo)(function(){return Tr?[].concat((0,oo.Z)(yt),[br]):yt},[Tr,yt]),Cr=(0,re.useMemo)(function(){return Tr?[].concat((0,oo.Z)(bt),[br]):bt},[Tr,bt]),to=(0,re.useMemo)(function(){var mo=Wt.right,Vr=Wt.left;return(0,Pe.Z)((0,Pe.Z)({},Wt),{},{left:qt==="rtl"?[].concat((0,oo.Z)(Vr.map(function(Co){return Co+Tr})),[0]):Vr,right:qt==="rtl"?mo:[].concat((0,oo.Z)(mo.map(function(Co){return Co+Tr})),[0]),isSticky:Hr})},[Tr,Wt,Hr]),wo=kn(Bt,Zt);return re.createElement("div",{style:(0,Pe.Z)({overflow:"hidden"},Hr?{top:on,bottom:Rn}:{}),ref:ho,className:Ce()(ot,(0,we.Z)({},Mn,!!Mn))},re.createElement("table",{style:{tableLayout:"fixed",visibility:ct||wo?null:"hidden"}},(!ct||!rr||Sr)&&re.createElement(Mo,{colWidths:wo?[].concat((0,oo.Z)(wo),[Tr]):[],columCount:Zt+1,columns:Cr}),Yn((0,Pe.Z)((0,Pe.Z)({},or),{},{stickyOffsets:to,columns:cr,flattenColumns:Cr}))))});dr.displayName="FixedHolder";var ur=re.memo(dr);function Xn(Ue){var We=Ue.cells,ot=Ue.stickyOffsets,ct=Ue.flattenColumns,yt=Ue.rowComponent,bt=Ue.cellComponent,Bt=Ue.tdCellComponent,Zt=Ue.onHeaderRow,Wt=Ue.index,qt=ce(me,["prefixCls","direction"]),gn=qt.prefixCls,on=qt.direction,Rn;Zt&&(Rn=Zt(We.map(function(In){return In.column}),Wt));var Mn=De(We.map(function(In){return In.column}));return re.createElement(yt,Rn,We.map(function(In,rr){var Yn=In.column,or=Ne(In.colStart,In.colEnd,ct,ot,on,Yn),Jn;return Yn&&Yn.onHeaderCell&&(Jn=In.column.onHeaderCell(Yn)),re.createElement(Te,(0,ae.Z)({},In,{scope:Yn.title?In.colSpan>1?"colgroup":"col":null,ellipsis:Yn.ellipsis,align:Yn.align,component:Yn.title?bt:Bt,prefixCls:gn,key:Mn[rr]},or,{additionalProps:Jn,rowType:"header"}))}))}Xn.displayName="HeaderRow";var uo=Xn;function so(Ue){var We=[];function ot(Bt,Zt){var Wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;We[Wt]=We[Wt]||[];var qt=Zt,gn=Bt.filter(Boolean).map(function(on){var Rn={key:on.key,className:on.className||"",children:on.title,column:on,colStart:qt},Mn=1,In=on.children;return In&&In.length>0&&(Mn=ot(In,qt,Wt+1).reduce(function(rr,Yn){return rr+Yn},0),Rn.hasSubColumns=!0),"colSpan"in on&&(Mn=on.colSpan),"rowSpan"in on&&(Rn.rowSpan=on.rowSpan),Rn.colSpan=Mn,Rn.colEnd=Rn.colStart+Mn-1,We[Wt].push(Rn),qt+=Mn,Mn});return gn}ot(Ue,0);for(var ct=We.length,yt=function(Zt){We[Zt].forEach(function(Wt){!("rowSpan"in Wt)&&!Wt.hasSubColumns&&(Wt.rowSpan=ct-Zt)})},bt=0;bt<ct;bt+=1)yt(bt);return We}function yo(Ue){var We=Ue.stickyOffsets,ot=Ue.columns,ct=Ue.flattenColumns,yt=Ue.onHeaderRow,bt=ce(me,["prefixCls","getComponent"]),Bt=bt.prefixCls,Zt=bt.getComponent,Wt=re.useMemo(function(){return so(ot)},[ot]),qt=Zt(["header","wrapper"],"thead"),gn=Zt(["header","row"],"tr"),on=Zt(["header","cell"],"th"),Rn=Zt(["header","cell"],"td");return re.createElement(qt,{className:"".concat(Bt,"-thead")},Wt.map(function(Mn,In){var rr=re.createElement(uo,{key:In,flattenColumns:ct,cells:Mn,stickyOffsets:We,rowComponent:gn,cellComponent:on,tdCellComponent:Rn,onHeaderRow:yt,index:In});return rr}))}var Fo=z(yo);function zo(Ue){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ot=[];return re.Children.forEach(Ue,function(ct){ct==null&&!We.keepEmpty||(Array.isArray(ct)?ot=ot.concat(zo(ct)):(0,Kn.isFragment)(ct)&&ct.props?ot=ot.concat(zo(ct.props.children,We)):ot.push(ct))}),ot}function Mt(Ue){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof We=="number"?We:We.endsWith("%")?Ue*parseFloat(We)/100:null}function At(Ue,We){return re.useMemo(function(){if(We&&We>0){var ot=0,ct=0;Ue.forEach(function(qt){var gn=Mt(We,qt.width);gn?ot+=gn:ct+=1});var yt=We-ot,bt=ct,Bt=yt/ct,Zt=0,Wt=Ue.map(function(qt){var gn=(0,Pe.Z)({},qt),on=Mt(We,gn.width);if(on)gn.width=on;else{var Rn=Math.floor(Bt);gn.width=bt===1?yt:Rn,yt-=Rn,bt-=1}return Zt+=gn.width,gn});return[Wt,Zt]}return[Ue,We]},[Ue,We])}var rn=["children"],Ut=["fixed"];function On(Ue){return zo(Ue).filter(function(We){return re.isValidElement(We)}).map(function(We){var ot=We.key,ct=We.props,yt=ct.children,bt=(0,vt.Z)(ct,rn),Bt=(0,Pe.Z)({key:ot},bt);return yt&&(Bt.children=On(yt)),Bt})}function er(Ue){var We=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,ct,yt){var bt=ct.fixed,Bt=bt===!0?"left":bt,Zt="".concat(We,"-").concat(yt),Wt=ct.children;return Wt&&Wt.length>0?[].concat((0,oo.Z)(ot),(0,oo.Z)(er(Wt,Zt).map(function(qt){return(0,Pe.Z)({fixed:Bt},qt)}))):[].concat((0,oo.Z)(ot),[(0,Pe.Z)((0,Pe.Z)({key:Zt},ct),{},{fixed:Bt})])},[])}function vr(Ue){for(var We=!0,ot=0;ot<Ue.length;ot+=1){var ct=Ue[ot];if(We&&ct.fixed!=="left")We=!1;else if(!We&&ct.fixed==="left"){warning(!1,"Index ".concat(ot-1," of `columns` missing `fixed='left'` prop."));break}}for(var yt=!0,bt=Ue.length-1;bt>=0;bt-=1){var Bt=Ue[bt];if(yt&&Bt.fixed!=="right")yt=!1;else if(!yt&&Bt.fixed==="right"){warning(!1,"Index ".concat(bt+1," of `columns` missing `fixed='right'` prop."));break}}}function xr(Ue){return Ue.map(function(We){var ot=We.fixed,ct=(0,vt.Z)(We,Ut),yt=ot;return ot==="left"?yt="right":ot==="right"&&(yt="left"),(0,Pe.Z)({fixed:yt},ct)})}function Nr(Ue,We){var ot=Ue.prefixCls,ct=Ue.columns,yt=Ue.children,bt=Ue.expandable,Bt=Ue.expandedKeys,Zt=Ue.columnTitle,Wt=Ue.getRowKey,qt=Ue.onTriggerExpand,gn=Ue.expandIcon,on=Ue.rowExpandable,Rn=Ue.expandIconColumnIndex,Mn=Ue.direction,In=Ue.expandRowByClick,rr=Ue.columnWidth,Yn=Ue.fixed,or=Ue.scrollWidth,Jn=re.useMemo(function(){return ct||On(yt)},[ct,yt]),lr=re.useMemo(function(){if(bt){var Lr,br=Jn.slice();if(!br.includes(Se)){var cr=Rn||0;cr>=0&&br.splice(cr,0,Se)}var Cr=br.indexOf(Se);br=br.filter(function(Vr,Co){return Vr!==Se||Co===Cr});var to=Jn[Cr],wo;(Yn==="left"||Yn)&&!Rn?wo="left":(Yn==="right"||Yn)&&Rn===Jn.length?wo="right":wo=to?to.fixed:null;var mo=(Lr={},(0,we.Z)(Lr,Wr,{className:"".concat(ot,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,we.Z)(Lr,"title",Zt),(0,we.Z)(Lr,"fixed",wo),(0,we.Z)(Lr,"className","".concat(ot,"-row-expand-icon-cell")),(0,we.Z)(Lr,"width",rr),(0,we.Z)(Lr,"render",function(Co,_o,Vo){var jo=Wt(_o,Vo),ga=Bt.has(jo),ma=on?on(_o):!0,po=gn({prefixCls:ot,expanded:ga,expandable:ma,record:_o,onExpand:qt});return In?re.createElement("span",{onClick:function(ko){return ko.stopPropagation()}},po):po}),Lr);return br.map(function(Vr){return Vr===Se?mo:Vr})}return Jn.filter(function(Vr){return Vr!==Se})},[bt,Jn,Wt,Bt,gn,Mn]),Dr=re.useMemo(function(){var Lr=lr;return We&&(Lr=We(Lr)),Lr.length||(Lr=[{render:function(){return null}}]),Lr},[We,lr,Mn]),Hr=re.useMemo(function(){return Mn==="rtl"?xr(er(Dr)):er(Dr)},[Dr,Mn,or]),Tr=At(Hr,or),ao=(0,E.Z)(Tr,2),ho=ao[0],Sr=ao[1];return[Dr,ho,Sr]}var no=Nr;function Kr(Ue){var We,ot=Ue.prefixCls,ct=Ue.record,yt=Ue.onExpand,bt=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(gn){yt(ct,gn),gn.stopPropagation()};return re.createElement("span",{className:Ce()(Zt,(We={},(0,we.Z)(We,"".concat(ot,"-row-expanded"),bt),(0,we.Z)(We,"".concat(ot,"-row-collapsed"),!bt),We)),onClick:Wt})}function Pr(Ue,We,ot){var ct=[];function yt(bt){(bt||[]).forEach(function(Bt,Zt){ct.push(We(Bt,Zt)),yt(Bt[ot])})}return yt(Ue),ct}function Qn(Ue,We,ot){var ct=Pn(Ue),yt=ct.expandIcon,bt=ct.expandedRowKeys,Bt=ct.defaultExpandedRowKeys,Zt=ct.defaultExpandAllRows,Wt=ct.expandedRowRender,qt=ct.onExpand,gn=ct.onExpandedRowsChange,on=ct.childrenColumnName,Rn=yt||Kr,Mn=on||"children",In=re.useMemo(function(){return Wt?"row":Ue.expandable&&Ue.internalHooks===xe&&Ue.expandable.__PARENT_RENDER_ICON__||We.some(function(Hr){return Hr&&(0,ye.Z)(Hr)==="object"&&Hr[Mn]})?"nest":!1},[!!Wt,We]),rr=re.useState(function(){return Bt||(Zt?Pr(We,ot,Mn):[])}),Yn=(0,E.Z)(rr,2),or=Yn[0],Jn=Yn[1],lr=re.useMemo(function(){return new Set(bt||or||[])},[bt,or]),Dr=re.useCallback(function(Hr){var Tr=ot(Hr,We.indexOf(Hr)),ao,ho=lr.has(Tr);ho?(lr.delete(Tr),ao=(0,oo.Z)(lr)):ao=[].concat((0,oo.Z)(lr),[Tr]),Jn(ao),qt&&qt(!ho,Hr),gn&&gn(ao)},[ot,lr,We,qt,gn]);return[ct,In,lr,Rn,Mn,Dr]}function jt(Ue,We,ot,ct){var yt=Ue.map(function(bt,Bt){return Ne(Bt,Bt,Ue,We,ot,ct==null?void 0:ct[Bt])});return _e(function(){return yt},[yt],function(bt,Bt){return!je(bt,Bt)})}function Ht(Ue){var We=(0,re.useRef)(Ue),ot=(0,re.useState)({}),ct=(0,E.Z)(ot,2),yt=ct[1],bt=(0,re.useRef)(null),Bt=(0,re.useRef)([]);function Zt(Wt){Bt.current.push(Wt);var qt=Promise.resolve();bt.current=qt,qt.then(function(){if(bt.current===qt){var gn=Bt.current,on=We.current;Bt.current=[],gn.forEach(function(Rn){We.current=Rn(We.current)}),bt.current=null,on!==We.current&&yt({})}})}return(0,re.useEffect)(function(){return function(){bt.current=null}},[]),[We.current,Zt]}function sn(Ue){var We=(0,re.useRef)(Ue||null),ot=(0,re.useRef)();function ct(){window.clearTimeout(ot.current)}function yt(Bt){We.current=Bt,ct(),ot.current=window.setTimeout(function(){We.current=null,ot.current=void 0},100)}function bt(){return We.current}return(0,re.useEffect)(function(){return ct},[]),[yt,bt]}function gt(){var Ue=re.useState(-1),We=(0,E.Z)(Ue,2),ot=We[0],ct=We[1],yt=re.useState(-1),bt=(0,E.Z)(yt,2),Bt=bt[0],Zt=bt[1],Wt=re.useCallback(function(qt,gn){ct(qt),Zt(gn)},[]);return[ot,Bt,Wt]}var cn=Pt()?window:null;function wn(Ue,We){var ot=(0,ye.Z)(Ue)==="object"?Ue:{},ct=ot.offsetHeader,yt=ct===void 0?0:ct,bt=ot.offsetSummary,Bt=bt===void 0?0:bt,Zt=ot.offsetScroll,Wt=Zt===void 0?0:Zt,qt=ot.getContainer,gn=qt===void 0?function(){return cn}:qt,on=gn()||cn;return re.useMemo(function(){var Rn=!!Ue;return{isSticky:Rn,stickyClassName:Rn?"".concat(We,"-sticky-holder"):"",offsetHeader:yt,offsetSummary:Bt,offsetScroll:Wt,container:on}},[Wt,yt,Bt,We,on])}function Hn(Ue,We,ot){var ct=(0,re.useMemo)(function(){for(var yt=[],bt=[],Bt=0,Zt=0,Wt=0;Wt<We;Wt+=1)if(ot==="rtl"){bt[Wt]=Zt,Zt+=Ue[Wt]||0;var qt=We-Wt-1;yt[qt]=Bt,Bt+=Ue[qt]||0}else{yt[Wt]=Bt,Bt+=Ue[Wt]||0;var gn=We-Wt-1;bt[gn]=Zt,Zt+=Ue[gn]||0}return{left:yt,right:bt}},[Ue,We,ot]);return ct}var Vt=Hn;function en(Ue){var We=Ue.className,ot=Ue.children;return re.createElement("div",{className:We},ot)}var Jt=en;function Gn(Ue,We,ot,ct){var yt=ie.unstable_batchedUpdates?function(Bt){ie.unstable_batchedUpdates(ot,Bt)}:ot;return Ue!=null&&Ue.addEventListener&&Ue.addEventListener(We,yt,ct),{remove:function(){Ue!=null&&Ue.removeEventListener&&Ue.removeEventListener(We,yt,ct)}}}var St=/margin|padding|width|height|max|min|offset/,Ft={left:!0,top:!0},Xt={cssFloat:1,styleFloat:1,float:1};function _n(Ue){return Ue.nodeType===1?Ue.ownerDocument.defaultView.getComputedStyle(Ue,null):{}}function Ln(Ue,We,ot){if(We=We.toLowerCase(),ot==="auto"){if(We==="height")return Ue.offsetHeight;if(We==="width")return Ue.offsetWidth}return We in Ft||(Ft[We]=St.test(We)),Ft[We]?parseFloat(ot)||0:ot}function Fn(Ue,We){var ot=arguments.length,ct=_n(Ue);return We=Xt[We]?"cssFloat"in Ue.style?"cssFloat":"styleFloat":We,ot===1?ct:Ln(Ue,We,ct[We]||Ue.style[We])}function kt(Ue,We,ot){var ct=arguments.length;if(We=Xt[We]?"cssFloat"in Ue.style?"cssFloat":"styleFloat":We,ct===3)return typeof ot=="number"&&St.test(We)&&(ot="".concat(ot,"px")),Ue.style[We]=ot,ot;for(var yt in We)We.hasOwnProperty(yt)&&kt(Ue,yt,We[yt]);return _n(Ue)}function Kt(Ue){return Ue===document.body?document.documentElement.clientWidth:Ue.offsetWidth}function Gt(Ue){return Ue===document.body?window.innerHeight||document.documentElement.clientHeight:Ue.offsetHeight}function Qt(){var Ue=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),We=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Ue,height:We}}function Dn(){var Ue=document.documentElement.clientWidth,We=window.innerHeight||document.documentElement.clientHeight;return{width:Ue,height:We}}function hn(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ht(Ue){var We=Ue.getBoundingClientRect(),ot=document.documentElement;return{left:We.left+(window.pageXOffset||ot.scrollLeft)-(ot.clientLeft||document.body.clientLeft||0),top:We.top+(window.pageYOffset||ot.scrollTop)-(ot.clientTop||document.body.clientTop||0)}}var lt=function(We,ot){var ct,yt,bt=We.scrollBodyRef,Bt=We.onScroll,Zt=We.offsetScroll,Wt=We.container,qt=ce(me,"prefixCls"),gn=((ct=bt.current)===null||ct===void 0?void 0:ct.scrollWidth)||0,on=((yt=bt.current)===null||yt===void 0?void 0:yt.clientWidth)||0,Rn=gn&&on*(on/gn),Mn=re.useRef(),In=Ht({scrollLeft:0,isHiddenScrollBar:!1}),rr=(0,E.Z)(In,2),Yn=rr[0],or=rr[1],Jn=re.useRef({delta:0,x:0}),lr=re.useState(!1),Dr=(0,E.Z)(lr,2),Hr=Dr[0],Tr=Dr[1],ao=function(){Tr(!1)},ho=function(Cr){Cr.persist(),Jn.current.delta=Cr.pageX-Yn.scrollLeft,Jn.current.x=0,Tr(!0),Cr.preventDefault()},Sr=function(Cr){var to,wo=Cr||((to=window)===null||to===void 0?void 0:to.event),mo=wo.buttons;if(!Hr||mo===0){Hr&&Tr(!1);return}var Vr=Jn.current.x+Cr.pageX-Jn.current.x-Jn.current.delta;Vr<=0&&(Vr=0),Vr+Rn>=on&&(Vr=on-Rn),Bt({scrollLeft:Vr/on*(gn+2)}),Jn.current.x=Cr.pageX},Lr=function(){if(bt.current){var Cr=ht(bt.current).top,to=Cr+bt.current.offsetHeight,wo=Wt===window?document.documentElement.scrollTop+window.innerHeight:ht(Wt).top+Wt.clientHeight;to-Rt()<=wo||Cr>=wo-Zt?or(function(mo){return(0,Pe.Z)((0,Pe.Z)({},mo),{},{isHiddenScrollBar:!0})}):or(function(mo){return(0,Pe.Z)((0,Pe.Z)({},mo),{},{isHiddenScrollBar:!1})})}},br=function(Cr){or(function(to){return(0,Pe.Z)((0,Pe.Z)({},to),{},{scrollLeft:Cr/gn*on||0})})};return re.useImperativeHandle(ot,function(){return{setScrollLeft:br}}),re.useEffect(function(){var cr=Gn(document.body,"mouseup",ao,!1),Cr=Gn(document.body,"mousemove",Sr,!1);return Lr(),function(){cr.remove(),Cr.remove()}},[Rn,Hr]),re.useEffect(function(){var cr=Gn(Wt,"scroll",Lr,!1),Cr=Gn(window,"resize",Lr,!1);return function(){cr.remove(),Cr.remove()}},[Wt]),re.useEffect(function(){Yn.isHiddenScrollBar||or(function(cr){var Cr=bt.current;return Cr?(0,Pe.Z)((0,Pe.Z)({},cr),{},{scrollLeft:Cr.scrollLeft/Cr.scrollWidth*Cr.clientWidth}):cr})},[Yn.isHiddenScrollBar]),gn<=on||!Rn||Yn.isHiddenScrollBar?null:re.createElement("div",{style:{height:Rt(),width:on,bottom:Zt},className:"".concat(qt,"-sticky-scroll")},re.createElement("div",{onMouseDown:ho,ref:Mn,className:Ce()("".concat(qt,"-sticky-scroll-bar"),(0,we.Z)({},"".concat(qt,"-sticky-scroll-bar-active"),Hr)),style:{width:"".concat(Rn,"px"),transform:"translate3d(".concat(Yn.scrollLeft,"px, 0, 0)")}}))},ft=re.forwardRef(lt);function Ct(Ue){return null}var Nt=Ct;function Yt(Ue){return null}var pn=Yt,Tn="rc-table",Un=[],Zn={};function Wn(){return"No Data"}function En(Ue){var We,ot=(0,Pe.Z)({rowKey:"key",prefixCls:Tn,emptyText:Wn},Ue),ct=ot.prefixCls,yt=ot.className,bt=ot.rowClassName,Bt=ot.style,Zt=ot.data,Wt=ot.rowKey,qt=ot.scroll,gn=ot.tableLayout,on=ot.direction,Rn=ot.title,Mn=ot.footer,In=ot.summary,rr=ot.caption,Yn=ot.id,or=ot.showHeader,Jn=ot.components,lr=ot.emptyText,Dr=ot.onRow,Hr=ot.onHeaderRow,Tr=ot.internalHooks,ao=ot.transformColumns,ho=ot.internalRefs,Sr=ot.tailor,Lr=ot.sticky,br=Zt||Un,cr=!!br.length,Cr=Tr===xe,to=re.useCallback(function($o,la){return qe(Jn,$o)||la},[Jn]),wo=re.useMemo(function(){return typeof Wt=="function"?Wt:function($o){var la=$o&&$o[Wt];return la}},[Wt]),mo=to(["body"]),Vr=gt(),Co=(0,E.Z)(Vr,3),_o=Co[0],Vo=Co[1],jo=Co[2],ga=Qn(ot,br,wo),ma=(0,E.Z)(ga,6),po=ma[0],va=ma[1],ko=ma[2],sa=ma[3],na=ma[4],Ua=ma[5],Jr=qt==null?void 0:qt.x,Yr=re.useState(0),Xr=(0,E.Z)(Yr,2),jr=Xr[0],Uo=Xr[1],Fr=no((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},ot),po),{},{expandable:!!po.expandedRowRender,columnTitle:po.columnTitle,expandedKeys:ko,getRowKey:wo,onTriggerExpand:Ua,expandIcon:sa,expandIconColumnIndex:po.expandIconColumnIndex,direction:on,scrollWidth:Cr&&Sr&&typeof Jr=="number"?Jr:null}),Cr?ao:null),fo=(0,E.Z)(Fr,3),Do=fo[0],Lo=fo[1],Ra=fo[2],Ta=Ra!=null?Ra:Jr,ti=re.useMemo(function(){return{columns:Do,flattenColumns:Lo}},[Do,Lo]),ya=re.useRef(),Ya=re.useRef(),Sa=re.useRef(),za=re.useRef(),wi=re.useRef(),Wo=re.useState(!1),Zo=(0,E.Z)(Wo,2),ua=Zo[0],Pa=Zo[1],wa=re.useState(!1),To=(0,E.Z)(wa,2),ja=To[0],Ia=To[1],Ka=Ht(new Map),oi=(0,E.Z)(Ka,2),ni=oi[0],Li=oi[1],ui=De(Lo),Qa=ui.map(function($o){return ni.get($o)}),Ha=re.useMemo(function(){return Qa},[Qa.join("_")]),Fa=Vt(Ha,Lo.length,on),Ea=qt&&Ve(qt.y),da=qt&&Ve(Ta)||!!po.fixed,ai=da&&Lo.some(function($o){var la=$o.fixed;return la}),Ei=re.useRef(),pi=wn(Lr,ct),ii=pi.isSticky,ji=pi.offsetHeader,Qi=pi.offsetSummary,No=pi.offsetScroll,ta=pi.stickyClassName,Ma=pi.container,fa=re.useMemo(function(){return In==null?void 0:In(br)},[In,br]),Da=(Ea||ii)&&re.isValidElement(fa)&&fa.type===Ot&&fa.props.fixed,Ga,Wa,di;Ea&&(Wa={overflowY:"scroll",maxHeight:qt.y}),da&&(Ga={overflowX:"auto"},Ea||(Wa={overflowY:"hidden"}),di={width:Ta===!0?"auto":Ta,minWidth:"100%"});var ys=re.useCallback(function($o,la){Vn(ya.current)&&Li(function(Ja){if(Ja.get($o)!==la){var vi=new Map(Ja);return vi.set($o,la),vi}return Ja})},[]),Ol=sn(null),Ss=(0,E.Z)(Ol,2),Al=Ss[0],bs=Ss[1];function Fi($o,la){la&&(typeof la=="function"?la($o):la.scrollLeft!==$o&&(la.scrollLeft=$o,la.scrollLeft!==$o&&setTimeout(function(){la.scrollLeft=$o},0)))}var Ci=pt(function($o){var la=$o.currentTarget,Ja=$o.scrollLeft,vi=on==="rtl",yi=typeof Ja=="number"?Ja:la.scrollLeft,Ns=la||Zn;if(!bs()||bs()===Ns){var ns;Al(Ns),Fi(yi,Ya.current),Fi(yi,Sa.current),Fi(yi,wi.current),Fi(yi,(ns=Ei.current)===null||ns===void 0?void 0:ns.setScrollLeft)}var rs=la||Ya.current;if(rs){var os=rs.scrollWidth,as=rs.clientWidth;if(os===as){Pa(!1),Ia(!1);return}vi?(Pa(-yi<os-as),Ia(-yi>0)):(Pa(yi>0),Ia(yi<os-as))}}),Ps=function(){da&&Sa.current?Ci({currentTarget:Sa.current}):(Pa(!1),Ia(!1))},Ll=function(la){var Ja=la.width;Ja!==jr&&(Ps(),Uo(ya.current?ya.current.offsetWidth:Ja))},ws=re.useRef(!1);re.useEffect(function(){ws.current&&Ps()},[da,Zt,Do.length]),re.useEffect(function(){ws.current=!0},[]);var Ml=re.useState(0),Es=(0,E.Z)(Ml,2),Bi=Es[0],Cs=Es[1],Rl=re.useState(!0),xs=(0,E.Z)(Rl,2),_s=xs[0],Il=xs[1];re.useEffect(function(){(!Sr||!Cr)&&(Sa.current instanceof Element?Cs(Nn(Sa.current).width):Cs(Nn(za.current).width)),Il(xt("position","sticky"))},[]),re.useEffect(function(){Cr&&ho&&(ho.body.current=Sa.current)});var Dl=re.useCallback(function($o){return re.createElement(re.Fragment,null,re.createElement(Fo,$o),Da==="top"&&re.createElement(Tt,$o,fa))},[Da,fa]),Nl=re.useCallback(function($o){return re.createElement(Tt,$o,fa)},[fa]),Ts=to(["table"],"table"),ki=re.useMemo(function(){return gn||(ai?Ta==="max-content"?"auto":"fixed":Ea||ii||Lo.some(function($o){var la=$o.ellipsis;return la})?"fixed":"auto")},[Ea,ai,Lo,gn,ii]),Ji,qi={colWidths:Ha,columCount:Lo.length,stickyOffsets:Fa,onHeaderRow:Hr,fixHeader:Ea,scroll:qt},Os=re.useMemo(function(){return cr?null:typeof lr=="function"?lr():lr},[cr,lr]),As=re.createElement(ir,{data:br,measureColumnWidth:Ea||da||ii}),Ls=re.createElement(Mo,{colWidths:Lo.map(function($o){var la=$o.width;return la}),columns:Lo}),Ms=rr!=null?re.createElement("caption",{className:"".concat(ct,"-caption")},rr):void 0,jl=Or(ot,{data:!0}),Rs=Or(ot,{aria:!0});if(Ea||ii){var es;typeof mo=="function"?(es=mo(br,{scrollbarSize:Bi,ref:Sa,onScroll:Ci}),qi.colWidths=Lo.map(function($o,la){var Ja=$o.width,vi=la===Lo.length-1?Ja-Bi:Ja;return typeof vi=="number"&&!Number.isNaN(vi)?vi:0})):es=re.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},Ga),Wa),onScroll:Ci,ref:Sa,className:Ce()("".concat(ct,"-body"))},re.createElement(Ts,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},di),{},{tableLayout:ki})},Rs),Ms,Ls,As,!Da&&fa&&re.createElement(Tt,{stickyOffsets:Fa,flattenColumns:Lo,columns:Do},fa)));var Is=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({noData:!br.length,maxContentScroll:da&&Ta==="max-content"},qi),ti),{},{direction:on,stickyClassName:ta,onScroll:Ci});Ji=re.createElement(re.Fragment,null,or!==!1&&re.createElement(ur,(0,ae.Z)({},Is,{stickyTopOffset:ji,className:"".concat(ct,"-header"),ref:Ya}),Dl),es,Da&&Da!=="top"&&re.createElement(ur,(0,ae.Z)({},Is,{stickyBottomOffset:Qi,className:"".concat(ct,"-summary"),ref:wi}),Nl),ii&&re.createElement(ft,{ref:Ei,offsetScroll:No,scrollBodyRef:Sa,onScroll:Ci,container:Ma}))}else Ji=re.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},Ga),Wa),className:Ce()("".concat(ct,"-content")),onScroll:Ci,ref:Sa},re.createElement(Ts,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},di),{},{tableLayout:ki})},Rs),Ms,Ls,or!==!1&&re.createElement(Fo,(0,ae.Z)({},qi,ti)),As,fa&&re.createElement(Tt,{stickyOffsets:Fa,flattenColumns:Lo,columns:Do},fa)));var ts=re.createElement("div",(0,ae.Z)({className:Ce()(ct,yt,(We={},(0,we.Z)(We,"".concat(ct,"-rtl"),on==="rtl"),(0,we.Z)(We,"".concat(ct,"-ping-left"),ua),(0,we.Z)(We,"".concat(ct,"-ping-right"),ja),(0,we.Z)(We,"".concat(ct,"-layout-fixed"),gn==="fixed"),(0,we.Z)(We,"".concat(ct,"-fixed-header"),Ea),(0,we.Z)(We,"".concat(ct,"-fixed-column"),ai),(0,we.Z)(We,"".concat(ct,"-scroll-horizontal"),da),(0,we.Z)(We,"".concat(ct,"-has-fix-left"),Lo[0]&&Lo[0].fixed),(0,we.Z)(We,"".concat(ct,"-has-fix-right"),Lo[Lo.length-1]&&Lo[Lo.length-1].fixed==="right"),We)),style:Bt,id:Yn,ref:ya},jl),Rn&&re.createElement(Jt,{className:"".concat(ct,"-title")},Rn(br)),re.createElement("div",{ref:za,className:"".concat(ct,"-container")},Ji),Mn&&re.createElement(Jt,{className:"".concat(ct,"-footer")},Mn(br)));da&&(ts=re.createElement(tr.Z,{onResize:Ll},ts));var Ds=jt(Lo,Fa,on,Do),Fl=re.useMemo(function(){return{scrollX:Ta,prefixCls:ct,getComponent:to,scrollbarSize:Bi,direction:on,fixedInfoList:Ds,isSticky:ii,supportSticky:_s,componentWidth:jr,fixHeader:Ea,fixColumn:ai,horizonScroll:da,tableLayout:ki,rowClassName:bt,expandedRowClassName:po.expandedRowClassName,expandIcon:sa,expandableType:va,expandRowByClick:po.expandRowByClick,expandedRowRender:po.expandedRowRender,onTriggerExpand:Ua,expandIconColumnIndex:po.expandIconColumnIndex,indentSize:po.indentSize,allColumnsFixedLeft:Lo.every(function($o){return $o.fixed==="left"}),emptyNode:Os,columns:Do,flattenColumns:Lo,onColumnResize:ys,hoverStartRow:_o,hoverEndRow:Vo,onHover:jo,rowExpandable:po.rowExpandable,onRow:Dr,getRowKey:wo,expandedKeys:ko,childrenColumnName:na}},[Ta,ct,to,Bi,on,Ds,ii,_s,jr,Ea,ai,da,ki,bt,po.expandedRowClassName,sa,va,po.expandRowByClick,po.expandedRowRender,Ua,po.expandIconColumnIndex,po.indentSize,Os,Do,Lo,ys,_o,Vo,jo,po.rowExpandable,Dr,wo,ko,na]);return re.createElement(me.Provider,{value:Fl},ts)}function $n(Ue){return te(En,Ue)}var yr=$n();yr.EXPAND_COLUMN=Se,yr.INTERNAL_HOOKS=xe,yr.Column=Nt,yr.ColumnGroup=pn,yr.Summary=st;var wr=yr,qr=fe(73299),Rr=le(null),Zr=le(null);function $r(Ue,We,ot){var ct=We||1;return ot[Ue+ct]-(ot[Ue]||0)}function Ro(Ue){var We=Ue.rowInfo,ot=Ue.column,ct=Ue.colIndex,yt=Ue.indent,bt=Ue.index,Bt=Ue.renderIndex,Zt=Ue.record,Wt=Ue.style,qt=Ue.className,gn=Ue.inverse,on=Ue.getHeight,Rn=ot.render,Mn=ot.dataIndex,In=ot.className,rr=ot.width,Yn=ce(Zr,["columnsOffset"]),or=Yn.columnsOffset,Jn=mn(We,ot,ct,yt,bt),lr=Jn.key,Dr=Jn.fixedInfo,Hr=Jn.appendCellNode,Tr=Jn.additionalCellProps,ao=Tr.style,ho=Tr.colSpan,Sr=ho===void 0?1:ho,Lr=Tr.rowSpan,br=Lr===void 0?1:Lr,cr=ct-1,Cr=$r(cr,Sr,or),to=Sr>1?rr-Cr:0,wo=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},ao),Wt),{},{flex:"0 0 ".concat(Cr,"px"),width:"".concat(Cr,"px"),marginRight:to,pointerEvents:"auto"}),mo=re.useMemo(function(){return gn?br<=1:Sr===0||br===0||br>1},[br,Sr,gn]);mo?wo.visibility="hidden":gn&&(wo.height=on==null?void 0:on(br));var Vr=mo?function(){return null}:Rn,Co={};return(br===0||Sr===0)&&(Co.rowSpan=1,Co.colSpan=1),re.createElement(Te,(0,ae.Z)({className:Ce()(In,qt),ellipsis:ot.ellipsis,align:ot.align,scope:ot.rowScope,component:"div",prefixCls:We.prefixCls,key:lr,record:Zt,index:bt,renderIndex:Bt,dataIndex:Mn,render:Vr,shouldCellUpdate:ot.shouldCellUpdate},Dr,{appendNode:Hr,additionalProps:(0,Pe.Z)((0,Pe.Z)({},Tr),{},{style:wo},Co)}))}var mr=Ro,ro=["data","index","className","rowKey","style","extra","getHeight"],bo=re.forwardRef(function(Ue,We){var ot=Ue.data,ct=Ue.index,yt=Ue.className,bt=Ue.rowKey,Bt=Ue.style,Zt=Ue.extra,Wt=Ue.getHeight,qt=(0,vt.Z)(Ue,ro),gn=ot.record,on=ot.indent,Rn=ot.index,Mn=ce(me,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),In=Mn.scrollX,rr=Mn.flattenColumns,Yn=Mn.prefixCls,or=Mn.fixColumn,Jn=Mn.componentWidth,lr=an(gn,bt,ct,on),Dr=lr.rowSupportExpand,Hr=lr.expanded,Tr=lr.rowProps,ao=lr.expandedRowRender,ho=lr.expandedRowClassName,Sr;if(Dr&&Hr){var Lr=ao(gn,ct,on+1,Hr),br=ho==null?void 0:ho(gn,ct,on),cr={};or&&(cr={style:(0,we.Z)({},"--virtual-width","".concat(Jn,"px"))});var Cr="".concat(Yn,"-expanded-row-cell");Sr=re.createElement("div",{className:Ce()("".concat(Yn,"-expanded-row"),"".concat(Yn,"-expanded-row-level-").concat(on+1),br)},re.createElement(Te,{component:"div",prefixCls:Yn,className:Ce()(Cr,(0,we.Z)({},"".concat(Cr,"-fixed"),or)),additionalProps:cr},Lr))}var to=(0,Pe.Z)((0,Pe.Z)({},Bt),{},{width:In});Zt&&(to.position="absolute",to.pointerEvents="none");var wo=re.createElement("div",(0,ae.Z)({},Tr,qt,{ref:Dr?null:We,className:Ce()(yt,"".concat(Yn,"-row"),Tr==null?void 0:Tr.className,(0,we.Z)({},"".concat(Yn,"-row-extra"),Zt)),style:(0,Pe.Z)((0,Pe.Z)({},to),Tr==null?void 0:Tr.style)}),rr.map(function(mo,Vr){return re.createElement(mr,{key:Vr,rowInfo:lr,column:mo,colIndex:Vr,indent:on,index:ct,renderIndex:Rn,record:gn,inverse:Zt,getHeight:Wt})}));return Dr?re.createElement("div",{ref:We},wo,Sr):wo}),Oo=z(bo),eo=Oo,sr=re.forwardRef(function(Ue,We){var ot=Ue.data,ct=Ue.onScroll,yt=ce(me,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),bt=yt.flattenColumns,Bt=yt.onColumnResize,Zt=yt.getRowKey,Wt=yt.expandedKeys,qt=yt.prefixCls,gn=yt.childrenColumnName,on=yt.emptyNode,Rn=yt.scrollX,Mn=ce(Rr),In=Mn.scrollY,rr=Mn.listItemHeight,Yn=re.useRef(),or=_r(ot,gn,Wt,Zt),Jn=re.useMemo(function(){var Sr=0;return bt.map(function(Lr){var br=Lr.width,cr=Lr.key;return Sr+=br,[cr,br,Sr]})},[bt]),lr=re.useMemo(function(){return Jn.map(function(Sr){return Sr[2]})},[Jn]);re.useEffect(function(){Jn.forEach(function(Sr){var Lr=(0,E.Z)(Sr,2),br=Lr[0],cr=Lr[1];Bt(br,cr)})},[Jn]),re.useImperativeHandle(We,function(){var Sr={};return Object.defineProperty(Sr,"scrollLeft",{get:function(){var br;return((br=Yn.current)===null||br===void 0?void 0:br.getScrollInfo().x)||0},set:function(br){var cr;(cr=Yn.current)===null||cr===void 0||cr.scrollTo({left:br})}}),Sr});var Dr=function(Lr,br){var cr,Cr=(cr=or[br])===null||cr===void 0?void 0:cr.record,to=Lr.onCell;if(to){var wo,mo=to(Cr,br);return(wo=mo==null?void 0:mo.rowSpan)!==null&&wo!==void 0?wo:1}return 1},Hr=function(Lr){var br=Lr.start,cr=Lr.end,Cr=Lr.getSize,to=Lr.offsetY;if(cr<0)return null;for(var wo=bt.filter(function(Jr){return Dr(Jr,br)===0}),mo=br,Vr=function(Yr){if(wo=wo.filter(function(Xr){return Dr(Xr,Yr)===0}),!wo.length)return mo=Yr,"break"},Co=br;Co>=0;Co-=1){var _o=Vr(Co);if(_o==="break")break}for(var Vo=bt.filter(function(Jr){return Dr(Jr,cr)!==1}),jo=cr,ga=function(Yr){if(Vo=Vo.filter(function(Xr){return Dr(Xr,Yr)!==1}),!Vo.length)return jo=Math.max(Yr-1,cr),"break"},ma=cr;ma<or.length;ma+=1){var po=ga(ma);if(po==="break")break}for(var va=[],ko=function(Yr){var Xr=or[Yr];if(!Xr)return"continue";bt.some(function(jr){return Dr(jr,Yr)>1})&&va.push(Yr)},sa=mo;sa<=jo;sa+=1)var na=ko(sa);var Ua=va.map(function(Jr){var Yr=or[Jr],Xr=Zt(Yr.record,Jr),jr=function(fo){var Do=Jr+fo-1,Lo=Zt(or[Do].record,Do),Ra=Cr(Xr,Lo);return Ra.bottom-Ra.top},Uo=Cr(Xr);return re.createElement(eo,{key:Jr,data:Yr,rowKey:Xr,index:Jr,style:{top:-to+Uo.top},extra:!0,getHeight:jr})});return Ua},Tr=re.useMemo(function(){return{columnsOffset:lr}},[lr]),ao="".concat(qt,"-tbody"),ho;return or.length?ho=re.createElement(qr.Z,{fullHeight:!1,ref:Yn,className:Ce()(ao,"".concat(ao,"-virtual")),height:In,itemHeight:rr||24,data:or,itemKey:function(Lr){return Zt(Lr.record)},scrollWidth:Rn,onVirtualScroll:function(Lr){var br=Lr.x;ct({scrollLeft:br})},extraRender:Hr},function(Sr,Lr,br){var cr=Zt(Sr.record,Lr);return re.createElement(eo,(0,ae.Z)({data:Sr,rowKey:cr,index:Lr},br))}):ho=re.createElement("div",{className:Ce()("".concat(qt,"-placeholder"))},re.createElement(Te,{component:"div",prefixCls:qt},on)),re.createElement(Zr.Provider,{value:Tr},ho)}),Ao=z(sr),kr=Ao,Eo=function(We,ot){var ct=ot.ref,yt=ot.onScroll;return re.createElement(kr,{ref:ct,data:We,onScroll:yt})},xo=100;function vo(Ue){var We=Ue.columns,ot=Ue.scroll,ct=Ue.prefixCls,yt=ct===void 0?Tn:ct,bt=Ue.className,Bt=Ue.listItemHeight,Zt=ot||{},Wt=Zt.x,qt=Zt.y;typeof Wt!="number"&&(Wt=((We||[]).length+1)*xo),typeof qt!="number"&&(qt=500);var gn=re.useMemo(function(){return{scrollY:qt,listItemHeight:Bt}},[qt,Bt]);return re.createElement(Rr.Provider,{value:gn},re.createElement(wr,(0,ae.Z)({},Ue,{className:Ce()(bt,"".concat(yt,"-virtual")),scroll:(0,Pe.Z)((0,Pe.Z)({},ot),{},{x:Wt}),components:{body:Eo},columns:We,internalHooks:xe,tailor:!0})))}function So(Ue){return te(vo,Ue)}var Bo=So(),Xo=null;function ra(Ue){return null}var Po=ra;function oa(Ue){return null}var ca=oa,aa=fe(10366),ha=fe(58375),Go=fe(53124),pa=fe(88258),Ko=fe(98675),ea=fe(25378),xa=fe(24457),Oa=fe(28452),Yo=fe(57953),Qo=fe(46605);function ba(Ue){return function(ot){let{prefixCls:ct,onExpand:yt,record:bt,expanded:Bt,expandable:Zt}=ot;const Wt=`${ct}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:qt=>{yt(bt,qt),qt.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 Za=ba;function Ba(Ue,We){return"key"in Ue&&Ue.key!==void 0&&Ue.key!==null?Ue.key:Ue.dataIndex?Array.isArray(Ue.dataIndex)?Ue.dataIndex.join("."):Ue.dataIndex:We}function ka(Ue,We){return We?`${We}-${Ue}`:`${Ue}`}function Ar(Ue,We){return typeof Ue=="function"?Ue(We):Ue}function co(Ue,We){const ot=Ar(Ue,We);return Object.prototype.toString.call(ot)==="[object Object]"?"":ot}var Jo={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"},qo=Jo,Aa=fe(74643),_a=function(We,ot){return re.createElement(Aa.Z,(0,ae.Z)({},We,{ref:ot,icon:qo}))},La=re.forwardRef(_a),ia=fe(7699),Na=fe(57838);function Si(Ue){const We=re.useRef(Ue),ot=(0,Na.Z)();return[()=>We.current,ct=>{We.current=ct,ot()}]}var Xa=fe(71577),ri=fe(84567),qa=fe(85418),ei=fe(32983),bi=fe(68508),Pi=fe(76529),fi=fe(78045),Ui=fe(79870),Mi=fe(72395),zi=fe(69677);function Hi(Ue){let{value:We,onChange:ot,filterSearch:ct,tablePrefixCls:yt,locale:bt}=Ue;return ct?re.createElement("div",{className:`${yt}-filter-dropdown-search`},re.createElement(zi.default,{prefix:re.createElement(Mi.Z,null),placeholder:bt.filterSearchPlaceholder,onChange:ot,value:We,htmlSize:1,className:`${yt}-filter-dropdown-search-input`})):null}var Ri=Hi,xi=fe(92389);const Ca=Ue=>{const{keyCode:We}=Ue;We===xi.Z.ENTER&&Ue.stopPropagation()};var gi=re.forwardRef((Ue,We)=>re.createElement("div",{className:Ue.className,onClick:ot=>ot.stopPropagation(),onKeyDown:Ca,ref:We},Ue.children));function $a(Ue){let We=[];return(Ue||[]).forEach(ot=>{let{value:ct,children:yt}=ot;We.push(ct),yt&&(We=[].concat((0,oo.Z)(We),(0,oo.Z)($a(yt))))}),We}function Va(Ue){return Ue.some(We=>{let{children:ot}=We;return ot})}function si(Ue,We){return typeof We=="string"||typeof We=="number"?We==null?void 0:We.toString().toLowerCase().includes(Ue.trim().toLowerCase()):!1}function li(Ue){let{filters:We,prefixCls:ot,filteredKeys:ct,filterMultiple:yt,searchValue:bt,filterSearch:Bt}=Ue;return We.map((Zt,Wt)=>{const qt=String(Zt.value);if(Zt.children)return{key:qt||Wt,label:Zt.text,popupClassName:`${ot}-dropdown-submenu`,children:li({filters:Zt.children,prefixCls:ot,filteredKeys:ct,filterMultiple:yt,searchValue:bt,filterSearch:Bt})};const gn=yt?ri.default:fi.ZP,on={key:Zt.value!==void 0?qt:Wt,label:re.createElement(re.Fragment,null,re.createElement(gn,{checked:ct.includes(qt)}),re.createElement("span",null,Zt.text))};return bt.trim()?typeof Bt=="function"?Bt(bt,Zt)?on:null:si(bt,Zt.text)?on:null:on})}function mi(Ue){var We,ot;const{tablePrefixCls:ct,prefixCls:yt,column:bt,dropdownPrefixCls:Bt,columnKey:Zt,filterMultiple:Wt,filterMode:qt="menu",filterSearch:gn=!1,filterState:on,triggerFilter:Rn,locale:Mn,children:In,getPopupContainer:rr}=Ue,{filterDropdownOpen:Yn,onFilterDropdownOpenChange:or,filterResetToDefaultFilteredValue:Jn,defaultFilteredValue:lr,filterDropdownVisible:Dr,onFilterDropdownVisibleChange:Hr}=bt,[Tr,ao]=re.useState(!1),ho=!!(on&&(!((We=on.filteredKeys)===null||We===void 0)&&We.length||on.forceFiltered)),Sr=Fr=>{ao(Fr),or==null||or(Fr),Hr==null||Hr(Fr)},Lr=(ot=Yn!=null?Yn:Dr)!==null&&ot!==void 0?ot:Tr,br=on==null?void 0:on.filteredKeys,[cr,Cr]=Si(br||[]),to=Fr=>{let{selectedKeys:fo}=Fr;Cr(fo)},wo=(Fr,fo)=>{let{node:Do,checked:Lo}=fo;to(Wt?{selectedKeys:Fr}:{selectedKeys:Lo&&Do.key?[Do.key]:[]})};re.useEffect(()=>{Tr&&to({selectedKeys:br||[]})},[br]);const[mo,Vr]=re.useState([]),Co=Fr=>{Vr(Fr)},[_o,Vo]=re.useState(""),jo=Fr=>{const{value:fo}=Fr.target;Vo(fo)};re.useEffect(()=>{Tr||Vo("")},[Tr]);const ga=Fr=>{const fo=Fr&&Fr.length?Fr:null;if(fo===null&&(!on||!on.filteredKeys)||(0,ia.Z)(fo,on==null?void 0:on.filteredKeys,!0))return null;Rn({column:bt,key:Zt,filteredKeys:fo})},ma=()=>{Sr(!1),ga(cr())},po=function(){let{confirm:Fr,closeDropdown:fo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Fr&&ga([]),fo&&Sr(!1),Vo(""),Cr(Jn?(lr||[]).map(Do=>String(Do)):[])},va=function(){let{closeDropdown:Fr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Fr&&Sr(!1),ga(cr())},ko=Fr=>{Fr&&br!==void 0&&Cr(br||[]),Sr(Fr),!Fr&&!bt.filterDropdown&&ma()},sa=Ce()({[`${Bt}-menu-without-submenu`]:!Va(bt.filters||[])}),na=Fr=>{if(Fr.target.checked){const fo=$a(bt==null?void 0:bt.filters).map(Do=>String(Do));Cr(fo)}else Cr([])},Ua=Fr=>{let{filters:fo}=Fr;return(fo||[]).map((Do,Lo)=>{const Ra=String(Do.value),Ta={title:Do.text,key:Do.value!==void 0?Ra:Lo};return Do.children&&(Ta.children=Ua({filters:Do.children})),Ta})},Jr=Fr=>{var fo;return Object.assign(Object.assign({},Fr),{text:Fr.title,value:Fr.key,children:((fo=Fr.children)===null||fo===void 0?void 0:fo.map(Do=>Jr(Do)))||[]})};let Yr;if(typeof bt.filterDropdown=="function")Yr=bt.filterDropdown({prefixCls:`${Bt}-custom`,setSelectedKeys:Fr=>to({selectedKeys:Fr}),selectedKeys:cr(),confirm:va,clearFilters:po,filters:bt.filters,visible:Lr,close:()=>{Sr(!1)}});else if(bt.filterDropdown)Yr=bt.filterDropdown;else{const Fr=cr()||[],fo=()=>(bt.filters||[]).length===0?re.createElement(ei.Z,{image:ei.Z.PRESENTED_IMAGE_SIMPLE,description:Mn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):qt==="tree"?re.createElement(re.Fragment,null,re.createElement(Ri,{filterSearch:gn,value:_o,onChange:jo,tablePrefixCls:ct,locale:Mn}),re.createElement("div",{className:`${ct}-filter-dropdown-tree`},Wt?re.createElement(ri.default,{checked:Fr.length===$a(bt.filters).length,indeterminate:Fr.length>0&&Fr.length<$a(bt.filters).length,className:`${ct}-filter-dropdown-checkall`,onChange:na},Mn.filterCheckall):null,re.createElement(Ui.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Wt,checkStrictly:!Wt,className:`${Bt}-menu`,onCheck:wo,checkedKeys:Fr,selectedKeys:Fr,showIcon:!1,treeData:Ua({filters:bt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:_o.trim()?Lo=>typeof gn=="function"?gn(_o,Jr(Lo)):si(_o,Lo.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(Ri,{filterSearch:gn,value:_o,onChange:jo,tablePrefixCls:ct,locale:Mn}),re.createElement(bi.default,{selectable:!0,multiple:Wt,prefixCls:`${Bt}-menu`,className:sa,onSelect:to,onDeselect:to,selectedKeys:Fr,getPopupContainer:rr,openKeys:mo,onOpenChange:Co,items:li({filters:bt.filters||[],filterSearch:gn,prefixCls:yt,filteredKeys:cr(),filterMultiple:Wt,searchValue:_o})})),Do=()=>Jn?(0,ia.Z)((lr||[]).map(Lo=>String(Lo)),Fr,!0):Fr.length===0;Yr=re.createElement(re.Fragment,null,fo(),re.createElement("div",{className:`${yt}-dropdown-btns`},re.createElement(Xa.ZP,{type:"link",size:"small",disabled:Do(),onClick:()=>po()},Mn.filterReset),re.createElement(Xa.ZP,{type:"primary",size:"small",onClick:ma},Mn.filterConfirm)))}bt.filterDropdown&&(Yr=re.createElement(Pi.J,{selectable:void 0},Yr));const Xr=()=>re.createElement(gi,{className:`${yt}-dropdown`},Yr);let jr;typeof bt.filterIcon=="function"?jr=bt.filterIcon(ho):bt.filterIcon?jr=bt.filterIcon:jr=re.createElement(La,null);const{direction:Uo}=re.useContext(Go.E_);return re.createElement("div",{className:`${yt}-column`},re.createElement("span",{className:`${ct}-column-title`},In),re.createElement(qa.Z,{dropdownRender:Xr,trigger:["click"],open:Lr,onOpenChange:ko,getPopupContainer:rr,placement:Uo==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:Ce()(`${yt}-trigger`,{active:ho}),onClick:Fr=>{Fr.stopPropagation()}},jr)))}var Gi=mi;function _i(Ue,We,ot){let ct=[];return(Ue||[]).forEach((yt,bt)=>{var Bt;const Zt=ka(bt,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),ct.push({column:yt,key:Ba(yt,Zt),filteredKeys:Wt,forceFiltered:yt.filtered})}else ct.push({column:yt,key:Ba(yt,Zt),filteredKeys:We&&yt.defaultFilteredValue?yt.defaultFilteredValue:void 0,forceFiltered:yt.filtered});"children"in yt&&(ct=[].concat((0,oo.Z)(ct),(0,oo.Z)(_i(yt.children,We,Zt))))}),ct}function Ti(Ue,We,ot,ct,yt,bt,Bt,Zt){return ot.map((Wt,qt)=>{const gn=ka(qt,Zt),{filterMultiple:on=!0,filterMode:Rn,filterSearch:Mn}=Wt;let In=Wt;if(In.filters||In.filterDropdown){const rr=Ba(In,gn),Yn=ct.find(or=>{let{key:Jn}=or;return rr===Jn});In=Object.assign(Object.assign({},In),{title:or=>re.createElement(Gi,{tablePrefixCls:Ue,prefixCls:`${Ue}-filter`,dropdownPrefixCls:We,column:In,columnKey:rr,filterState:Yn,filterMultiple:on,filterMode:Rn,filterSearch:Mn,triggerFilter:bt,locale:yt,getPopupContainer:Bt},Ar(Wt.title,or))})}return"children"in In&&(In=Object.assign(Object.assign({},In),{children:Ti(Ue,We,In.children,ct,yt,bt,Bt,gn)})),In})}function Oi(Ue){const We={};return Ue.forEach(ot=>{let{key:ct,filteredKeys:yt,column:bt}=ot;const{filters:Bt,filterDropdown:Zt}=bt;if(Zt)We[ct]=yt||null;else if(Array.isArray(yt)){const Wt=$a(Bt);We[ct]=Wt.filter(qt=>yt.includes(String(qt)))}else We[ct]=null}),We}function is(Ue,We){return We.reduce((ot,ct)=>{const{column:{onFilter:yt,filters:bt},filteredKeys:Bt}=ct;return yt&&Bt&&Bt.length?ot.filter(Zt=>Bt.some(Wt=>{const qt=$a(bt),gn=qt.findIndex(Rn=>String(Rn)===String(Wt)),on=gn!==-1?qt[gn]:Wt;return yt(on,Zt)})):ot},Ue)}const ss=Ue=>Ue.flatMap(We=>"children"in We?[We].concat((0,oo.Z)(ss(We.children||[]))):[We]);function js(Ue){let{prefixCls:We,dropdownPrefixCls:ot,mergedColumns:ct,onFilterChange:yt,getPopupContainer:bt,locale:Bt}=Ue;const Zt=re.useMemo(()=>ss(ct||[]),[ct]),[Wt,qt]=re.useState(()=>_i(Zt,!0)),gn=re.useMemo(()=>{const In=_i(Zt,!1);if(In.length===0)return In;let rr=!0,Yn=!0;if(In.forEach(or=>{let{filteredKeys:Jn}=or;Jn!==void 0?rr=!1:Yn=!1}),rr){const or=(Zt||[]).map((Jn,lr)=>Ba(Jn,ka(lr)));return Wt.filter(Jn=>{let{key:lr}=Jn;return or.includes(lr)}).map(Jn=>{const lr=Zt[or.findIndex(Dr=>Dr===Jn.key)];return Object.assign(Object.assign({},Jn),{column:Object.assign(Object.assign({},Jn.column),lr),forceFiltered:lr.filtered})})}return In},[Zt,Wt]),on=re.useMemo(()=>Oi(gn),[gn]),Rn=In=>{const rr=gn.filter(Yn=>{let{key:or}=Yn;return or!==In.key});rr.push(In),qt(rr),yt(Oi(rr),rr)};return[In=>Ti(We,ot,In,gn,Bt,Rn,bt),gn,on]}var Fs=js;function Bs(Ue,We,ot){const ct=re.useRef({});function yt(bt){if(!ct.current||ct.current.data!==Ue||ct.current.childrenColumnName!==We||ct.current.getRowKey!==ot){let Zt=function(Wt){Wt.forEach((qt,gn)=>{const on=ot(qt,gn);Bt.set(on,qt),qt&&typeof qt=="object"&&We in qt&&Zt(qt[We]||[])})};const Bt=new Map;Zt(Ue),ct.current={data:Ue,childrenColumnName:We,kvMap:Bt,getRowKey:ot}}return ct.current.kvMap.get(bt)}return[yt]}var ks=fe(38780),Us=function(Ue,We){var ot={};for(var ct in Ue)Object.prototype.hasOwnProperty.call(Ue,ct)&&We.indexOf(ct)<0&&(ot[ct]=Ue[ct]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,ct=Object.getOwnPropertySymbols(Ue);yt<ct.length;yt++)We.indexOf(ct[yt])<0&&Object.prototype.propertyIsEnumerable.call(Ue,ct[yt])&&(ot[ct[yt]]=Ue[ct[yt]]);return ot};const ls=10;function zs(Ue,We){const ot={current:Ue.current,pageSize:Ue.pageSize};return Object.keys(We&&typeof We=="object"?We:{}).forEach(yt=>{const bt=Ue[yt];typeof bt!="function"&&(ot[yt]=bt)}),ot}function Hs(Ue,We,ot){const ct=ot&&typeof ot=="object"?ot:{},{total:yt=0}=ct,bt=Us(ct,["total"]),[Bt,Zt]=(0,re.useState)(()=>({current:"defaultCurrent"in bt?bt.defaultCurrent:1,pageSize:"defaultPageSize"in bt?bt.defaultPageSize:ls})),Wt=(0,ks.Z)(Bt,bt,{total:yt>0?yt:Ue}),qt=Math.ceil((yt||Ue)/Wt.pageSize);Wt.current>qt&&(Wt.current=qt||1);const gn=(Rn,Mn)=>{Zt({current:Rn!=null?Rn:1,pageSize:Mn||Wt.pageSize})},on=(Rn,Mn)=>{var In;ot&&((In=ot.onChange)===null||In===void 0||In.call(ot,Rn,Mn)),gn(Rn,Mn),We(Rn,Mn||(Wt==null?void 0:Wt.pageSize))};return ot===!1?[{},()=>{}]:[Object.assign(Object.assign({},Wt),{onChange:on}),gn]}var Gs=Hs,Ws=fe(42922),cs=fe(29873),Wi=fe(97153),Ks=fe(83898),Zs=fe(5663);const hi={},Ki="SELECT_ALL",Zi="SELECT_INVERT",$i="SELECT_NONE",us=[],ds=(Ue,We)=>{let ot=[];return(We||[]).forEach(ct=>{ot.push(ct),ct&&typeof ct=="object"&&Ue in ct&&(ot=[].concat((0,oo.Z)(ot),(0,oo.Z)(ds(Ue,ct[Ue]))))}),ot};var $s=(Ue,We)=>{const{preserveSelectedRowKeys:ot,selectedRowKeys:ct,defaultSelectedRowKeys:yt,getCheckboxProps:bt,onChange:Bt,onSelect:Zt,onSelectAll:Wt,onSelectInvert:qt,onSelectNone:gn,onSelectMultiple:on,columnWidth:Rn,type:Mn,selections:In,fixed:rr,renderCell:Yn,hideSelectAll:or,checkStrictly:Jn=!0}=We||{},{prefixCls:lr,data:Dr,pageData:Hr,getRecordByKey:Tr,getRowKey:ao,expandType:ho,childrenColumnName:Sr,locale:Lr,getPopupContainer:br}=Ue,[cr,Cr]=(0,Zs.Z)(ct||yt||us,{value:ct}),to=re.useRef(new Map),wo=(0,re.useCallback)(Jr=>{if(ot){const Yr=new Map;Jr.forEach(Xr=>{let jr=Tr(Xr);!jr&&to.current.has(Xr)&&(jr=to.current.get(Xr)),Yr.set(Xr,jr)}),to.current=Yr}},[Tr,ot]);re.useEffect(()=>{wo(cr)},[cr]);const{keyEntities:mo}=(0,re.useMemo)(()=>{if(Jn)return{keyEntities:null};let Jr=Dr;if(ot){const Yr=new Set(Dr.map((jr,Uo)=>ao(jr,Uo))),Xr=Array.from(to.current).reduce((jr,Uo)=>{let[Fr,fo]=Uo;return Yr.has(Fr)?jr:jr.concat(fo)},[]);Jr=[].concat((0,oo.Z)(Jr),(0,oo.Z)(Xr))}return(0,Ks.I8)(Jr,{externalGetKey:ao,childrenPropName:Sr})},[Dr,ao,Jn,Sr,ot]),Vr=(0,re.useMemo)(()=>ds(Sr,Hr),[Sr,Hr]),Co=(0,re.useMemo)(()=>{const Jr=new Map;return Vr.forEach((Yr,Xr)=>{const jr=ao(Yr,Xr),Uo=(bt?bt(Yr):null)||{};Jr.set(jr,Uo)}),Jr},[Vr,ao,bt]),_o=(0,re.useCallback)(Jr=>{var Yr;return!!(!((Yr=Co.get(ao(Jr)))===null||Yr===void 0)&&Yr.disabled)},[Co,ao]),[Vo,jo]=(0,re.useMemo)(()=>{if(Jn)return[cr||[],[]];const{checkedKeys:Jr,halfCheckedKeys:Yr}=(0,Wi.S)(cr,!0,mo,_o);return[Jr||[],Yr]},[cr,Jn,mo,_o]),ga=(0,re.useMemo)(()=>{const Jr=Mn==="radio"?Vo.slice(0,1):Vo;return new Set(Jr)},[Vo,Mn]),ma=(0,re.useMemo)(()=>Mn==="radio"?new Set:new Set(jo),[jo,Mn]),[po,va]=(0,re.useState)(null);re.useEffect(()=>{We||Cr(us)},[!!We]);const ko=(0,re.useCallback)((Jr,Yr)=>{let Xr,jr;wo(Jr),ot?(Xr=Jr,jr=Jr.map(Uo=>to.current.get(Uo))):(Xr=[],jr=[],Jr.forEach(Uo=>{const Fr=Tr(Uo);Fr!==void 0&&(Xr.push(Uo),jr.push(Fr))})),Cr(Xr),Bt==null||Bt(Xr,jr,{type:Yr})},[Cr,Tr,Bt,ot]),sa=(0,re.useCallback)((Jr,Yr,Xr,jr)=>{if(Zt){const Uo=Xr.map(Fr=>Tr(Fr));Zt(Tr(Jr),Yr,Uo,jr)}ko(Xr,"single")},[Zt,Tr,ko]),na=(0,re.useMemo)(()=>!In||or?null:(In===!0?[Ki,Zi,$i]:In).map(Yr=>Yr===Ki?{key:"all",text:Lr.selectionAll,onSelect(){ko(Dr.map((Xr,jr)=>ao(Xr,jr)).filter(Xr=>{const jr=Co.get(Xr);return!(jr!=null&&jr.disabled)||ga.has(Xr)}),"all")}}:Yr===Zi?{key:"invert",text:Lr.selectInvert,onSelect(){const Xr=new Set(ga);Hr.forEach((Uo,Fr)=>{const fo=ao(Uo,Fr),Do=Co.get(fo);Do!=null&&Do.disabled||(Xr.has(fo)?Xr.delete(fo):Xr.add(fo))});const jr=Array.from(Xr);qt&&qt(jr),ko(jr,"invert")}}:Yr===$i?{key:"none",text:Lr.selectNone,onSelect(){gn==null||gn(),ko(Array.from(ga).filter(Xr=>{const jr=Co.get(Xr);return jr==null?void 0:jr.disabled}),"none")}}:Yr).map(Yr=>Object.assign(Object.assign({},Yr),{onSelect:function(){for(var Xr,jr,Uo=arguments.length,Fr=new Array(Uo),fo=0;fo<Uo;fo++)Fr[fo]=arguments[fo];(jr=Yr.onSelect)===null||jr===void 0||(Xr=jr).call.apply(Xr,[Yr].concat(Fr)),va(null)}})),[In,ga,Hr,ao,qt,ko]);return[(0,re.useCallback)(Jr=>{var Yr;if(!We)return Jr.filter(Wo=>Wo!==hi);let Xr=(0,oo.Z)(Jr);const jr=new Set(ga),Uo=Vr.map(ao).filter(Wo=>!Co.get(Wo).disabled),Fr=Uo.every(Wo=>jr.has(Wo)),fo=Uo.some(Wo=>jr.has(Wo)),Do=()=>{const Wo=[];Fr?Uo.forEach(ua=>{jr.delete(ua),Wo.push(ua)}):Uo.forEach(ua=>{jr.has(ua)||(jr.add(ua),Wo.push(ua))});const Zo=Array.from(jr);Wt==null||Wt(!Fr,Zo.map(ua=>Tr(ua)),Wo.map(ua=>Tr(ua))),ko(Zo,"all"),va(null)};let Lo;if(Mn!=="radio"){let Wo;if(na){const To={getPopupContainer:br,items:na.map((ja,Ia)=>{const{key:Ka,text:oi,onSelect:ni}=ja;return{key:Ka!=null?Ka:Ia,onClick:()=>{ni==null||ni(Uo)},label:oi}})};Wo=re.createElement("div",{className:`${lr}-selection-extra`},re.createElement(qa.Z,{menu:To,getPopupContainer:br},re.createElement("span",null,re.createElement(Ws.Z,null))))}const Zo=Vr.map((To,ja)=>{const Ia=ao(To,ja),Ka=Co.get(Ia)||{};return Object.assign({checked:jr.has(Ia)},Ka)}).filter(To=>{let{disabled:ja}=To;return ja}),ua=!!Zo.length&&Zo.length===Vr.length,Pa=ua&&Zo.every(To=>{let{checked:ja}=To;return ja}),wa=ua&&Zo.some(To=>{let{checked:ja}=To;return ja});Lo=!or&&re.createElement("div",{className:`${lr}-selection`},re.createElement(ri.default,{checked:ua?Pa:!!Vr.length&&Fr,indeterminate:ua?!Pa&&wa:!Fr&&fo,onChange:Do,disabled:Vr.length===0||ua,"aria-label":Wo?"Custom selection":"Select all",skipGroup:!0}),Wo)}let Ra;Mn==="radio"?Ra=(Wo,Zo,ua)=>{const Pa=ao(Zo,ua),wa=jr.has(Pa);return{node:re.createElement(fi.ZP,Object.assign({},Co.get(Pa),{checked:wa,onClick:To=>To.stopPropagation(),onChange:To=>{jr.has(Pa)||sa(Pa,!0,[Pa],To.nativeEvent)}})),checked:wa}}:Ra=(Wo,Zo,ua)=>{var Pa;const wa=ao(Zo,ua),To=jr.has(wa),ja=ma.has(wa),Ia=Co.get(wa);let Ka;return ho==="nest"?Ka=ja:Ka=(Pa=Ia==null?void 0:Ia.indeterminate)!==null&&Pa!==void 0?Pa:ja,{node:re.createElement(ri.default,Object.assign({},Ia,{indeterminate:Ka,checked:To,skipGroup:!0,onClick:oi=>oi.stopPropagation(),onChange:oi=>{let{nativeEvent:ni}=oi;const{shiftKey:Li}=ni;let ui=-1,Qa=-1;if(Li&&Jn){const Ha=new Set([po,wa]);Uo.some((Fa,Ea)=>{if(Ha.has(Fa))if(ui===-1)ui=Ea;else return Qa=Ea,!0;return!1})}if(Qa!==-1&&ui!==Qa&&Jn){const Ha=Uo.slice(ui,Qa+1),Fa=[];To?Ha.forEach(da=>{jr.has(da)&&(Fa.push(da),jr.delete(da))}):Ha.forEach(da=>{jr.has(da)||(Fa.push(da),jr.add(da))});const Ea=Array.from(jr);on==null||on(!To,Ea.map(da=>Tr(da)),Fa.map(da=>Tr(da))),ko(Ea,"multiple")}else{const Ha=Vo;if(Jn){const Fa=To?(0,cs._5)(Ha,wa):(0,cs.L0)(Ha,wa);sa(wa,!To,Fa,ni)}else{const Fa=(0,Wi.S)([].concat((0,oo.Z)(Ha),[wa]),!0,mo,_o),{checkedKeys:Ea,halfCheckedKeys:da}=Fa;let ai=Ea;if(To){const Ei=new Set(Ea);Ei.delete(wa),ai=(0,Wi.S)(Array.from(Ei),{checked:!1,halfCheckedKeys:da},mo,_o).checkedKeys}sa(wa,!To,ai,ni)}}va(To?null:wa)}})),checked:To}};const Ta=(Wo,Zo,ua)=>{const{node:Pa,checked:wa}=Ra(Wo,Zo,ua);return Yn?Yn(wa,Zo,ua,Pa):Pa};if(!Xr.includes(hi))if(Xr.findIndex(Wo=>{var Zo;return((Zo=Wo[Wr])===null||Zo===void 0?void 0:Zo.columnType)==="EXPAND_COLUMN"})===0){const[Wo,...Zo]=Xr;Xr=[Wo,hi].concat((0,oo.Z)(Zo))}else Xr=[hi].concat((0,oo.Z)(Xr));const ti=Xr.indexOf(hi);Xr=Xr.filter((Wo,Zo)=>Wo!==hi||Zo===ti);const ya=Xr[ti-1],Ya=Xr[ti+1];let Sa=rr;Sa===void 0&&((Ya==null?void 0:Ya.fixed)!==void 0?Sa=Ya.fixed:(ya==null?void 0:ya.fixed)!==void 0&&(Sa=ya.fixed)),Sa&&ya&&((Yr=ya[Wr])===null||Yr===void 0?void 0:Yr.columnType)==="EXPAND_COLUMN"&&ya.fixed===void 0&&(ya.fixed=Sa);const za=Ce()(`${lr}-selection-col`,{[`${lr}-selection-col-with-dropdown`]:In&&Mn==="checkbox"}),wi={fixed:Sa,width:Rn,className:`${lr}-selection-column`,title:We.columnTitle||Lo,render:Ta,onCell:We.onCell,[Wr]:{className:za}};return Xr.map(Wo=>Wo===hi?wi:Wo)},[ao,Vr,We,Vo,ga,ma,Rn,na,ho,po,Co,on,sa,_o]),ga]},Vs=fe(33463),Xs=fe(28575),Ys=fe(83062);const Ii="ascend",Vi="descend";function Di(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,We){return We?Ue[Ue.indexOf(We)+1]:Ue[0]}function Xi(Ue,We,ot){let ct=[];function yt(bt,Bt){ct.push({column:bt,key:Ba(bt,Bt),multiplePriority:Di(bt),sortOrder:bt.sortOrder})}return(Ue||[]).forEach((bt,Bt)=>{const Zt=ka(Bt,ot);bt.children?("sortOrder"in bt&&yt(bt,Zt),ct=[].concat((0,oo.Z)(ct),(0,oo.Z)(Xi(bt.children,We,Zt)))):bt.sorter&&("sortOrder"in bt?yt(bt,Zt):We&&bt.defaultSortOrder&&ct.push({column:bt,key:Ba(bt,Zt),multiplePriority:Di(bt),sortOrder:bt.defaultSortOrder}))}),ct}function gs(Ue,We,ot,ct,yt,bt,Bt,Zt){return(We||[]).map((Wt,qt)=>{const gn=ka(qt,Zt);let on=Wt;if(on.sorter){const Rn=on.sortDirections||yt,Mn=on.showSorterTooltip===void 0?Bt:on.showSorterTooltip,In=Ba(on,gn),rr=ot.find(ho=>{let{key:Sr}=ho;return Sr===In}),Yn=rr?rr.sortOrder:null,or=Qs(Rn,Yn);let Jn;if(Wt.sortIcon)Jn=Wt.sortIcon({sortOrder:Yn});else{const ho=Rn.includes(Ii)&&re.createElement(Xs.Z,{className:Ce()(`${Ue}-column-sorter-up`,{active:Yn===Ii})}),Sr=Rn.includes(Vi)&&re.createElement(Vs.Z,{className:Ce()(`${Ue}-column-sorter-down`,{active:Yn===Vi})});Jn=re.createElement("span",{className:Ce()(`${Ue}-column-sorter`,{[`${Ue}-column-sorter-full`]:!!(ho&&Sr)})},re.createElement("span",{className:`${Ue}-column-sorter-inner`,"aria-hidden":"true"},ho,Sr))}const{cancelSort:lr,triggerAsc:Dr,triggerDesc:Hr}=bt||{};let Tr=lr;or===Vi?Tr=Hr:or===Ii&&(Tr=Dr);const ao=typeof Mn=="object"?Mn:{title:Tr};on=Object.assign(Object.assign({},on),{className:Ce()(on.className,{[`${Ue}-column-sort`]:Yn}),title:ho=>{const Sr=re.createElement("div",{className:`${Ue}-column-sorters`},re.createElement("span",{className:`${Ue}-column-title`},Ar(Wt.title,ho)),Jn);return Mn?re.createElement(Ys.Z,Object.assign({},ao),Sr):Sr},onHeaderCell:ho=>{const Sr=Wt.onHeaderCell&&Wt.onHeaderCell(ho)||{},Lr=Sr.onClick,br=Sr.onKeyDown;Sr.onClick=to=>{ct({column:Wt,key:In,sortOrder:or,multiplePriority:Di(Wt)}),Lr==null||Lr(to)},Sr.onKeyDown=to=>{to.keyCode===xi.Z.ENTER&&(ct({column:Wt,key:In,sortOrder:or,multiplePriority:Di(Wt)}),br==null||br(to))};const cr=co(Wt.title,{}),Cr=cr==null?void 0:cr.toString();return Yn?Sr["aria-sort"]=Yn==="ascend"?"ascending":"descending":Sr["aria-label"]=Cr||"",Sr.className=Ce()(Sr.className,`${Ue}-column-has-sorters`),Sr.tabIndex=0,Wt.ellipsis&&(Sr.title=(cr!=null?cr:"").toString()),Sr}})}return"children"in on&&(on=Object.assign(Object.assign({},on),{children:gs(Ue,on.children,ot,ct,yt,bt,Bt,gn)})),on})}function ms(Ue){const{column:We,sortOrder:ot}=Ue;return{column:We,order:ot,field:We.dataIndex,columnKey:We.key}}function hs(Ue){const We=Ue.filter(ot=>{let{sortOrder:ct}=ot;return ct}).map(ms);return We.length===0&&Ue.length?Object.assign(Object.assign({},ms(Ue[Ue.length-1])),{column:void 0}):We.length<=1?We[0]||{}:We}function Yi(Ue,We,ot){const ct=We.slice().sort((Bt,Zt)=>Zt.multiplePriority-Bt.multiplePriority),yt=Ue.slice(),bt=ct.filter(Bt=>{let{column:{sorter:Zt},sortOrder:Wt}=Bt;return fs(Zt)&&Wt});return bt.length?yt.sort((Bt,Zt)=>{for(let Wt=0;Wt<bt.length;Wt+=1){const qt=bt[Wt],{column:{sorter:gn},sortOrder:on}=qt,Rn=fs(gn);if(Rn&&on){const Mn=Rn(Bt,Zt,on);if(Mn!==0)return on===Ii?Mn:-Mn}}return 0}).map(Bt=>{const Zt=Bt[ot];return Zt?Object.assign(Object.assign({},Bt),{[ot]:Yi(Zt,We,ot)}):Bt}):yt}function Js(Ue){let{prefixCls:We,mergedColumns:ot,onSorterChange:ct,sortDirections:yt,tableLocale:bt,showSorterTooltip:Bt}=Ue;const[Zt,Wt]=re.useState(Xi(ot,!0)),qt=re.useMemo(()=>{let In=!0;const rr=Xi(ot,!1);if(!rr.length)return Zt;const Yn=[];function or(lr){In?Yn.push(lr):Yn.push(Object.assign(Object.assign({},lr),{sortOrder:null}))}let Jn=null;return rr.forEach(lr=>{Jn===null?(or(lr),lr.sortOrder&&(lr.multiplePriority===!1?In=!1:Jn=!0)):(Jn&&lr.multiplePriority!==!1||(In=!1),or(lr))}),Yn},[ot,Zt]),gn=re.useMemo(()=>{const In=qt.map(rr=>{let{column:Yn,sortOrder:or}=rr;return{column:Yn,order:or}});return{sortColumns:In,sortColumn:In[0]&&In[0].column,sortOrder:In[0]&&In[0].order}},[qt]);function on(In){let rr;In.multiplePriority===!1||!qt.length||qt[0].multiplePriority===!1?rr=[In]:rr=[].concat((0,oo.Z)(qt.filter(Yn=>{let{key:or}=Yn;return or!==In.key})),[In]),Wt(rr),ct(hs(rr),rr)}return[In=>gs(We,In,qt,on,yt,bt,Bt),qt,gn,()=>hs(qt)]}function ps(Ue,We){return Ue.map(ot=>{const ct=Object.assign({},ot);return ct.title=Ar(ot.title,We),"children"in ct&&(ct.children=ps(ct.children,We)),ct})}function el(Ue){return[re.useCallback(ot=>ps(ot,Ue),[Ue])]}var tl=$n((Ue,We)=>{const{_renderTimes:ot}=Ue,{_renderTimes:ct}=We;return ot!==ct}),nl=So((Ue,We)=>{const{_renderTimes:ot}=Ue,{_renderTimes:ct}=We;return ot!==ct}),Ai=fe(84780),Ni=fe(14747),rl=fe(67968),ol=fe(45503),al=Ue=>{const{componentCls:We}=Ue,ot=`${Ue.lineWidth}px ${Ue.lineType} ${Ue.tableBorderColor}`,ct=(yt,bt,Bt)=>({[`&${We}-${yt}`]:{[`> ${We}-container`]:{[`> ${We}-content, > ${We}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${We}-expanded-row-fixed`]:{margin:`-${bt}px -${Bt+Ue.lineWidth}px`}}}}}});return{[`${We}-wrapper`]:{[`${We}${We}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${We}-title`]:{border:ot,borderBottom:0},[`> ${We}-container`]:{borderInlineStart:ot,borderTop:ot,[`
|
|
|
> ${We}-content,
|
|
|
> ${We}-header,
|
|
|
> ${We}-body,
|
|
|
> ${We}-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 ":{[`> ${We}-cell-fix-right-first::after`]:{borderInlineEnd:ot}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${We}-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:'""'}}}}}},[`&${We}-scroll-horizontal`]:{[`> ${We}-container > ${We}-body`]:{"> table > tbody":{[`
|
|
|
> tr${We}-expanded-row,
|
|
|
> tr${We}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ct("middle",Ue.tablePaddingVerticalMiddle,Ue.tablePaddingHorizontalMiddle)),ct("small",Ue.tablePaddingVerticalSmall,Ue.tablePaddingHorizontalSmall)),{[`> ${We}-footer`]:{border:ot,borderTop:0}}),[`${We}-cell`]:{[`${We}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ue.lineWidth}px 0 ${Ue.lineWidth}px ${Ue.tableHeaderBg}`}},[`${We}-bordered ${We}-cell-scrollbar`]:{borderInlineEnd:ot}}}},il=Ue=>{const{componentCls:We}=Ue;return{[`${We}-wrapper`]:{[`${We}-cell-ellipsis`]:Object.assign(Object.assign({},Ni.vS),{wordBreak:"keep-all",[`
|
|
|
&${We}-cell-fix-left-last,
|
|
|
&${We}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${We}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${We}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},sl=Ue=>{const{componentCls:We}=Ue;return{[`${We}-wrapper`]:{[`${We}-tbody > tr${We}-placeholder`]:{textAlign:"center",color:Ue.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ue.colorBgContainer}}}}},ll=fe(49867),cl=Ue=>{const{componentCls:We,antCls:ot,controlInteractiveSize:ct,motionDurationSlow:yt,lineWidth:bt,paddingXS:Bt,lineType:Zt,tableBorderColor:Wt,tableExpandIconBg:qt,tableExpandColumnWidth:gn,borderRadius:on,fontSize:Rn,fontSizeSM:Mn,lineHeight:In,tablePaddingVertical:rr,tablePaddingHorizontal:Yn,tableExpandedRowBg:or,paddingXXS:Jn}=Ue,lr=ct/2-bt,Dr=lr*2+bt*3,Hr=`${bt}px ${Zt} ${Wt}`,Tr=Jn-bt;return{[`${We}-wrapper`]:{[`${We}-expand-icon-col`]:{width:gn},[`${We}-row-expand-icon-cell`]:{textAlign:"center",[`${We}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${We}-row-indent`]:{height:1,float:"left"},[`${We}-row-expand-icon`]:Object.assign(Object.assign({},(0,ll.N)(Ue)),{position:"relative",float:"left",boxSizing:"border-box",width:Dr,height:Dr,padding:0,color:"inherit",lineHeight:`${Dr}px`,background:qt,border:Hr,borderRadius:on,transform:`scale(${ct/Dr})`,transition:`all ${yt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${yt} ease-out`,content:'""'},"&::before":{top:lr,insetInlineEnd:Tr,insetInlineStart:Tr,height:bt},"&::after":{top:Tr,bottom:Tr,insetInlineStart:lr,width:bt,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"}}),[`${We}-row-indent + ${We}-row-expand-icon`]:{marginTop:(Rn*In-bt*3)/2-Math.ceil((Mn*1.4-bt*3)/2),marginInlineEnd:Bt},[`tr${We}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:or}},[`${ot}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${We}-expanded-row-fixed`]:{position:"relative",margin:`-${rr}px -${Yn}px`,padding:`${rr}px ${Yn}px`}}}},ul=Ue=>{const{componentCls:We,antCls:ot,iconCls:ct,tableFilterDropdownWidth:yt,tableFilterDropdownSearchWidth:bt,paddingXXS:Bt,paddingXS:Zt,colorText:Wt,lineWidth:qt,lineType:gn,tableBorderColor:on,tableHeaderIconColor:Rn,fontSizeSM:Mn,tablePaddingHorizontal:In,borderRadius:rr,motionDurationSlow:Yn,colorTextDescription:or,colorPrimary:Jn,tableHeaderFilterActiveBg:lr,colorTextDisabled:Dr,tableFilterDropdownBg:Hr,tableFilterDropdownHeight:Tr,controlItemBgHover:ao,controlItemBgActive:ho,boxShadowSecondary:Sr,filterDropdownMenuBg:Lr}=Ue,br=`${ot}-dropdown`,cr=`${We}-filter-dropdown`,Cr=`${ot}-tree`,to=`${qt}px ${gn} ${on}`;return[{[`${We}-wrapper`]:{[`${We}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${We}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Bt,marginInline:`${Bt}px ${-In/2}px`,padding:`0 ${Bt}px`,color:Rn,fontSize:Mn,borderRadius:rr,cursor:"pointer",transition:`all ${Yn}`,"&:hover":{color:or,background:lr},"&.active":{color:Jn}}}},{[`${ot}-dropdown`]:{[cr]:Object.assign(Object.assign({},(0,Ni.Wf)(Ue)),{minWidth:yt,backgroundColor:Hr,borderRadius:rr,boxShadow:Sr,overflow:"hidden",[`${br}-menu`]:{maxHeight:Tr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Lr,"&:empty::after":{display:"block",padding:`${Zt}px 0`,color:Dr,fontSize:Mn,textAlign:"center",content:'"Not Found"'}},[`${cr}-tree`]:{paddingBlock:`${Zt}px 0`,paddingInline:Zt,[Cr]:{padding:0},[`${Cr}-treenode ${Cr}-node-content-wrapper:hover`]:{backgroundColor:ao},[`${Cr}-treenode-checkbox-checked ${Cr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ho}}},[`${cr}-search`]:{padding:Zt,borderBottom:to,"&-input":{input:{minWidth:bt},[ct]:{color:Dr}}},[`${cr}-checkall`]:{width:"100%",marginBottom:Bt,marginInlineStart:Bt},[`${cr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Zt-qt}px ${Zt}px`,overflow:"hidden",borderTop:to}})}},{[`${ot}-dropdown ${cr}, ${cr}-submenu`]:{[`${ot}-checkbox-wrapper + span`]:{paddingInlineStart:Zt,color:Wt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},dl=Ue=>{const{componentCls:We,lineWidth:ot,colorSplit:ct,motionDurationSlow:yt,zIndexTableFixed:bt,tableBg:Bt,zIndexTableSticky:Zt}=Ue,Wt=ct;return{[`${We}-wrapper`]:{[`
|
|
|
${We}-cell-fix-left,
|
|
|
${We}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:bt,background:Bt},[`
|
|
|
${We}-cell-fix-left-first::after,
|
|
|
${We}-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"},[`${We}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${We}-cell-fix-right-first::after,
|
|
|
${We}-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"},[`${We}-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}},[`${We}-ping-left`]:{[`&:not(${We}-has-fix-left) ${We}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Wt}`}},[`
|
|
|
${We}-cell-fix-left-first::after,
|
|
|
${We}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Wt}`},[`${We}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${We}-ping-right`]:{[`&:not(${We}-has-fix-right) ${We}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Wt}`}},[`
|
|
|
${We}-cell-fix-right-first::after,
|
|
|
${We}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Wt}`}}}}},fl=Ue=>{const{componentCls:We,antCls:ot}=Ue;return{[`${We}-wrapper`]:{[`${We}-pagination${ot}-pagination`]:{margin:`${Ue.margin}px 0`},[`${We}-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:We,tableRadius:ot}=Ue;return{[`${We}-wrapper`]:{[We]:{[`${We}-title, ${We}-header`]:{borderRadius:`${ot}px ${ot}px 0 0`},[`${We}-title + ${We}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${We}-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:We}=Ue;return{[`${We}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${We}-pagination-left`]:{justifyContent:"flex-end"},[`${We}-pagination-right`]:{justifyContent:"flex-start"},[`${We}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${We}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${We}-row-indent`]:{float:"right"}}}}},hl=Ue=>{const{componentCls:We,antCls:ot,iconCls:ct,fontSizeIcon:yt,padding:bt,paddingXS:Bt,tableHeaderIconColor:Zt,tableHeaderIconColorHover:Wt,tableSelectionColumnWidth:qt}=Ue;return{[`${We}-wrapper`]:{[`${We}-selection-col`]:{width:qt,[`&${We}-selection-col-with-dropdown`]:{width:qt+yt+bt/4}},[`${We}-bordered ${We}-selection-col`]:{width:qt+Bt*2,[`&${We}-selection-col-with-dropdown`]:{width:qt+yt+bt/4+Bt*2}},[`
|
|
|
table tr th${We}-selection-column,
|
|
|
table tr td${We}-selection-column
|
|
|
`]:{paddingInlineEnd:Ue.paddingXS,paddingInlineStart:Ue.paddingXS,textAlign:"center",[`${ot}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${We}-selection-column${We}-cell-fix-left`]:{zIndex:Ue.zIndexTableFixed+1},[`table tr th${We}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${We}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${We}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ue.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ue.tablePaddingHorizontal/4}px`,[ct]:{color:Zt,fontSize:yt,verticalAlign:"baseline","&:hover":{color:Wt}}}}}},pl=Ue=>{const{componentCls:We}=Ue,ot=(ct,yt,bt,Bt)=>({[`${We}${We}-${ct}`]:{fontSize:Bt,[`
|
|
|
${We}-title,
|
|
|
${We}-footer,
|
|
|
${We}-cell,
|
|
|
${We}-thead > tr > th,
|
|
|
${We}-tbody > tr > th,
|
|
|
${We}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${yt}px ${bt}px`},[`${We}-filter-trigger`]:{marginInlineEnd:`-${bt/2}px`},[`${We}-expanded-row-fixed`]:{margin:`-${yt}px -${bt}px`},[`${We}-tbody`]:{[`${We}-wrapper:only-child ${We}`]:{marginBlock:`-${yt}px`,marginInline:`${Ue.tableExpandColumnWidth-bt}px -${bt}px`}},[`${We}-selection-column`]:{paddingInlineStart:`${bt/4}px`}}});return{[`${We}-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:We,marginXXS:ot,fontSizeIcon:ct,tableHeaderIconColor:yt,tableHeaderIconColorHover:bt}=Ue;return{[`${We}-wrapper`]:{[`${We}-thead th${We}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ue.motionDurationSlow}`,"&:hover":{background:Ue.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ue.colorPrimary},[`
|
|
|
&${We}-cell-fix-left:hover,
|
|
|
&${We}-cell-fix-right:hover
|
|
|
`]:{background:Ue.tableFixedHeaderSortActiveBg}},[`${We}-thead th${We}-column-sort`]:{background:Ue.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${We}-column-sort`]:{background:Ue.tableBodySortBg},[`${We}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${We}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${We}-column-sorter`]:{marginInlineStart:ot,color:yt,fontSize:0,transition:`color ${Ue.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ct,"&.active":{color:Ue.colorPrimary}},[`${We}-column-sorter-up + ${We}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${We}-column-sorters:hover ${We}-column-sorter`]:{color:bt}}}},yl=Ue=>{const{componentCls:We,opacityLoading:ot,tableScrollThumbBg:ct,tableScrollThumbBgHover:yt,tableScrollThumbSize:bt,tableScrollBg:Bt,zIndexTableSticky:Zt,stickyScrollBarBorderRadius:Wt}=Ue,qt=`${Ue.lineWidth}px ${Ue.lineType} ${Ue.tableBorderColor}`;return{[`${We}-wrapper`]:{[`${We}-sticky`]:{"&-holder":{position:"sticky",zIndex:Zt,background:Ue.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${bt}px !important`,zIndex:Zt,display:"flex",alignItems:"center",background:Bt,borderTop:qt,opacity:ot,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:bt,backgroundColor:ct,borderRadius:Wt,transition:`all ${Ue.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:yt}}}}}}},vs=Ue=>{const{componentCls:We,lineWidth:ot,tableBorderColor:ct}=Ue,yt=`${ot}px ${Ue.lineType} ${ct}`;return{[`${We}-wrapper`]:{[`${We}-summary`]:{position:"relative",zIndex:Ue.zIndexTableFixed,background:Ue.tableBg,"> tr":{"> th, > td":{borderBottom:yt}}},[`div${We}-summary`]:{boxShadow:`0 -${ot}px 0 ${ct}`}}}},Sl=Ue=>{const{componentCls:We}=Ue,ot=`${Ue.lineWidth}px ${Ue.lineType} ${Ue.tableBorderColor}`,ct=`${We}-expanded-row-cell`;return{[`${We}-wrapper`]:{[`${We}-tbody-virtual`]:{[`${We}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${We}-cell`]:{borderBottom:ot},[`${We}-expanded-row`]:{[`${ct}${ct}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ue.lineWidth}px)`,borderInlineEnd:"none"}}},[`${We}-bordered`]:{[`${We}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ot,position:"absolute"},[`${We}-cell`]:{borderInlineEnd:ot,[`&${We}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ue.lineWidth,borderInlineStart:ot}}}}}}};const bl=Ue=>{const{componentCls:We,fontWeightStrong:ot,tablePaddingVertical:ct,tablePaddingHorizontal:yt,lineWidth:bt,lineType:Bt,tableBorderColor:Zt,tableFontSize:Wt,tableBg:qt,tableRadius:gn,tableHeaderTextColor:on,motionDurationMid:Rn,tableHeaderBg:Mn,tableHeaderCellSplitColor:In,tableRowHoverBg:rr,tableSelectedRowBg:Yn,tableSelectedRowHoverBg:or,tableFooterTextColor:Jn,tableFooterBg:lr,paddingContentVerticalLG:Dr}=Ue,Hr=`${bt}px ${Bt} ${Zt}`;return{[`${We}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ni.dF)()),{[We]:Object.assign(Object.assign({},(0,Ni.Wf)(Ue)),{fontSize:Wt,background:qt,borderRadius:`${gn}px ${gn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${gn}px ${gn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${We}-cell,
|
|
|
${We}-thead > tr > th,
|
|
|
${We}-tbody > tr > th,
|
|
|
${We}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${Dr}px ${yt}px`,overflowWrap:"break-word"},[`${We}-title`]:{padding:`${ct}px ${yt}px`},[`${We}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:on,fontWeight:ot,textAlign:"start",background:Mn,borderBottom:Hr,transition:`background ${Rn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${We}-selection-column):not(${We}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:In,transform:"translateY(-50%)",transition:`background-color ${Rn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${We}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Rn}, border-color ${Rn}`,borderBottom:Hr,[`
|
|
|
> ${We}-wrapper:only-child,
|
|
|
> ${We}-expanded-row-fixed > ${We}-wrapper:only-child
|
|
|
`]:{[We]:{marginBlock:`-${ct}px`,marginInline:`${Ue.tableExpandColumnWidth-yt}px -${yt}px`,[`${We}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:on,fontWeight:ot,textAlign:"start",background:Mn,borderBottom:Hr,transition:`background ${Rn} ease`},[`
|
|
|
&${We}-row:hover > th,
|
|
|
&${We}-row:hover > td,
|
|
|
> th${We}-cell-row-hover,
|
|
|
> td${We}-cell-row-hover
|
|
|
`]:{background:rr},[`&${We}-row-selected`]:{"> th, > td":{background:Yn},"&:hover > th, &:hover > td":{background:or}}}},[`${We}-footer`]:{padding:`${ct}px ${yt}px`,color:Jn,background:lr}})}};var Pl=(0,rl.Z)("Table",Ue=>{const{colorTextHeading:We,colorSplit:ot,colorIcon:ct,colorIconHover:yt,opacityLoading:bt,colorBgContainer:Bt,controlInteractiveSize:Zt,headerBg:Wt,headerColor:qt,headerSortActiveBg:gn,headerSortHoverBg:on,bodySortBg:Rn,rowHoverBg:Mn,rowSelectedBg:In,rowSelectedHoverBg:rr,rowExpandedBg:Yn,cellPaddingBlock:or,cellPaddingInline:Jn,cellPaddingBlockMD:lr,cellPaddingInlineMD:Dr,cellPaddingBlockSM:Hr,cellPaddingInlineSM:Tr,borderColor:ao,footerBg:ho,footerColor:Sr,headerBorderRadius:Lr,cellFontSize:br,cellFontSizeMD:cr,cellFontSizeSM:Cr,headerSplitColor:to,fixedHeaderSortActiveBg:wo,headerFilterHoverBg:mo,filterDropdownBg:Vr,expandIconBg:Co,selectionColumnWidth:_o,stickyScrollBarBg:Vo}=Ue,jo=new Ai.C(ct),ga=new Ai.C(yt),ma=2,po=(0,ol.TS)(Ue,{tableFontSize:br,tableBg:Bt,tableRadius:Lr,tablePaddingVertical:or,tablePaddingHorizontal:Jn,tablePaddingVerticalMiddle:lr,tablePaddingHorizontalMiddle:Dr,tablePaddingVerticalSmall:Hr,tablePaddingHorizontalSmall:Tr,tableBorderColor:ao,tableHeaderTextColor:qt,tableHeaderBg:Wt,tableFooterTextColor:Sr,tableFooterBg:ho,tableHeaderCellSplitColor:to,tableHeaderSortBg:gn,tableHeaderSortHoverBg:on,tableHeaderIconColor:jo.clone().setAlpha(jo.getAlpha()*bt).toRgbString(),tableHeaderIconColorHover:ga.clone().setAlpha(ga.getAlpha()*bt).toRgbString(),tableBodySortBg:Rn,tableFixedHeaderSortActiveBg:wo,tableHeaderFilterActiveBg:mo,tableFilterDropdownBg:Vr,tableRowHoverBg:Mn,tableSelectedRowBg:In,tableSelectedRowHoverBg:rr,zIndexTableFixed:ma,zIndexTableSticky:ma+1,tableFontSizeMiddle:cr,tableFontSizeSmall:Cr,tableSelectionColumnWidth:_o,tableExpandIconBg:Co,tableExpandColumnWidth:Zt+2*Ue.padding,tableExpandedRowBg:Yn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Vo,tableScrollThumbBgHover:We,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:We,colorBgContainer:ot,colorTextHeading:ct,colorFillSecondary:yt,colorFillContent:bt,controlItemBgActive:Bt,controlItemBgActiveHover:Zt,padding:Wt,paddingSM:qt,paddingXS:gn,colorBorderSecondary:on,borderRadiusLG:Rn,fontSize:Mn,controlHeight:In,colorTextPlaceholder:rr}=Ue,Yn=new Ai.C(yt).onBackground(ot).toHexShortString(),or=new Ai.C(bt).onBackground(ot).toHexShortString(),Jn=new Ai.C(We).onBackground(ot).toHexShortString();return{headerBg:Jn,headerColor:ct,headerSortActiveBg:Yn,headerSortHoverBg:or,bodySortBg:Jn,rowHoverBg:Jn,rowSelectedBg:Bt,rowSelectedHoverBg:Zt,rowExpandedBg:We,cellPaddingBlock:Wt,cellPaddingInline:Wt,cellPaddingBlockMD:qt,cellPaddingInlineMD:gn,cellPaddingBlockSM:gn,cellPaddingInlineSM:gn,borderColor:on,headerBorderRadius:Rn,footerBg:Jn,footerColor:ct,cellFontSize:Mn,cellFontSizeMD:Mn,cellFontSizeSM:Mn,headerSplitColor:on,fixedHeaderSortActiveBg:Yn,headerFilterHoverBg:bt,filterDropdownMenuBg:ot,filterDropdownBg:ot,expandIconBg:ot,selectionColumnWidth:In,stickyScrollBarBg:rr,stickyScrollBarBorderRadius:100}});const wl=[],El=(Ue,We)=>{const{prefixCls:ot,className:ct,rootClassName:yt,style:bt,size:Bt,bordered:Zt,dropdownPrefixCls:Wt,dataSource:qt,pagination:gn,rowSelection:on,rowKey:Rn="key",rowClassName:Mn,columns:In,children:rr,childrenColumnName:Yn,onChange:or,getPopupContainer:Jn,loading:lr,expandIcon:Dr,expandable:Hr,expandedRowRender:Tr,expandIconColumnIndex:ao,indentSize:ho,scroll:Sr,sortDirections:Lr,locale:br,showSorterTooltip:cr=!0,virtual:Cr}=Ue,to=re.useMemo(()=>In||On(rr),[In,rr]),wo=re.useMemo(()=>to.some(No=>No.responsive),[to]),mo=(0,ea.Z)(wo),Vr=re.useMemo(()=>{const No=new Set(Object.keys(mo).filter(ta=>mo[ta]));return to.filter(ta=>!ta.responsive||ta.responsive.some(Ma=>No.has(Ma)))},[to,mo]),Co=(0,aa.Z)(Ue,["className","style","columns"]),{locale:_o=xa.Z,direction:Vo,table:jo,renderEmpty:ga,getPrefixCls:ma,getPopupContainer:po}=re.useContext(Go.E_),va=(0,Ko.Z)(Bt),ko=Object.assign(Object.assign({},_o.Table),br),sa=qt||wl,na=ma("table",ot),Ua=ma("dropdown",Wt),Jr=Object.assign({childrenColumnName:Yn,expandIconColumnIndex:ao},Hr),{childrenColumnName:Yr="children"}=Jr,Xr=re.useMemo(()=>sa.some(No=>No==null?void 0:No[Yr])?"nest":Tr||Hr&&Hr.expandedRowRender?"row":null,[sa]),jr={body:re.useRef()},Uo=re.useMemo(()=>typeof Rn=="function"?Rn:No=>No==null?void 0:No[Rn],[Rn]),[Fr]=Bs(sa,Yr,Uo),fo={},Do=function(No,ta){let Ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var fa,Da,Ga;const Wa=Object.assign(Object.assign({},fo),No);Ma&&((fa=fo.resetPagination)===null||fa===void 0||fa.call(fo),!((Da=Wa.pagination)===null||Da===void 0)&&Da.current&&(Wa.pagination.current=1),gn&&gn.onChange&&gn.onChange(1,(Ga=Wa.pagination)===null||Ga===void 0?void 0:Ga.pageSize)),Sr&&Sr.scrollToFirstRowOnChange!==!1&&jr.body.current&&(0,ha.Z)(0,{getContainer:()=>jr.body.current}),or==null||or(Wa.pagination,Wa.filters,Wa.sorter,{currentDataSource:is(Yi(sa,Wa.sorterStates,Yr),Wa.filterStates),action:ta})},Lo=(No,ta)=>{Do({sorter:No,sorterStates:ta},"sort",!1)},[Ra,Ta,ti,ya]=Js({prefixCls:na,mergedColumns:Vr,onSorterChange:Lo,sortDirections:Lr||["ascend","descend"],tableLocale:ko,showSorterTooltip:cr}),Ya=re.useMemo(()=>Yi(sa,Ta,Yr),[sa,Ta]);fo.sorter=ya(),fo.sorterStates=Ta;const Sa=(No,ta)=>{Do({filters:No,filterStates:ta},"filter",!0)},[za,wi,Wo]=Fs({prefixCls:na,locale:ko,dropdownPrefixCls:Ua,mergedColumns:Vr,onFilterChange:Sa,getPopupContainer:Jn||po}),Zo=is(Ya,wi);fo.filters=Wo,fo.filterStates=wi;const ua=re.useMemo(()=>{const No={};return Object.keys(Wo).forEach(ta=>{Wo[ta]!==null&&(No[ta]=Wo[ta])}),Object.assign(Object.assign({},ti),{filters:No})},[ti,Wo]),[Pa]=el(ua),wa=(No,ta)=>{Do({pagination:Object.assign(Object.assign({},fo.pagination),{current:No,pageSize:ta})},"paginate")},[To,ja]=Gs(Zo.length,wa,gn);fo.pagination=gn===!1?{}:zs(To,gn),fo.resetPagination=ja;const Ia=re.useMemo(()=>{if(gn===!1||!To.pageSize)return Zo;const{current:No=1,total:ta,pageSize:Ma=ls}=To;return Zo.length<ta?Zo.length>Ma?Zo.slice((No-1)*Ma,No*Ma):Zo:Zo.slice((No-1)*Ma,No*Ma)},[!!gn,Zo,To&&To.current,To&&To.pageSize,To&&To.total]),[Ka,oi]=$s({prefixCls:na,data:Zo,pageData:Ia,getRowKey:Uo,getRecordByKey:Fr,expandType:Xr,childrenColumnName:Yr,locale:ko,getPopupContainer:Jn||po},on),ni=(No,ta,Ma)=>{let fa;return typeof Mn=="function"?fa=Ce()(Mn(No,ta,Ma)):fa=Ce()(Mn),Ce()({[`${na}-row-selected`]:oi.has(Uo(No,ta))},fa)};Jr.__PARENT_RENDER_ICON__=Jr.expandIcon,Jr.expandIcon=Jr.expandIcon||Dr||Za(ko),Xr==="nest"&&Jr.expandIconColumnIndex===void 0?Jr.expandIconColumnIndex=on?1:0:Jr.expandIconColumnIndex>0&&on&&(Jr.expandIconColumnIndex-=1),typeof Jr.indentSize!="number"&&(Jr.indentSize=typeof ho=="number"?ho:15);const Li=re.useCallback(No=>Pa(Ka(za(Ra(No)))),[Ra,za,Ka]);let ui,Qa;if(gn!==!1&&(To!=null&&To.total)){let No;To.size?No=To.size:No=va==="small"||va==="middle"?"small":void 0;const ta=Da=>re.createElement(Oa.Z,Object.assign({},To,{className:Ce()(`${na}-pagination ${na}-pagination-${Da}`,To.className),size:No})),Ma=Vo==="rtl"?"left":"right",{position:fa}=To;if(fa!==null&&Array.isArray(fa)){const Da=fa.find(di=>di.includes("top")),Ga=fa.find(di=>di.includes("bottom")),Wa=fa.every(di=>`${di}`=="none");!Da&&!Ga&&!Wa&&(Qa=ta(Ma)),Da&&(ui=ta(Da.toLowerCase().replace("top",""))),Ga&&(Qa=ta(Ga.toLowerCase().replace("bottom","")))}else Qa=ta(Ma)}let Ha;typeof lr=="boolean"?Ha={spinning:lr}:typeof lr=="object"&&(Ha=Object.assign({spinning:!0},lr));const[Fa,Ea]=Pl(na),[,da]=(0,Qo.Z)(),ai=Ce()(`${na}-wrapper`,jo==null?void 0:jo.className,{[`${na}-wrapper-rtl`]:Vo==="rtl"},ct,yt,Ea),Ei=Object.assign(Object.assign({},jo==null?void 0:jo.style),bt),pi=br&&br.emptyText||(ga==null?void 0:ga("Table"))||re.createElement(pa.Z,{componentName:"Table"}),ii=Cr?nl:tl,ji={},Qi=re.useMemo(()=>{const{fontSize:No,lineHeight:ta,padding:Ma,paddingXS:fa,paddingSM:Da}=da,Ga=Math.floor(No*ta);switch(va){case"large":return Ma*2+Ga;case"small":return fa*2+Ga;default:return Da*2+Ga}},[da,va]);return Cr&&(ji.listItemHeight=Qi),Fa(re.createElement("div",{ref:We,className:ai,style:Ei},re.createElement(Yo.Z,Object.assign({spinning:!1},Ha),ui,re.createElement(ii,Object.assign({},ji,Co,{columns:Vr,direction:Vo,expandable:Jr,prefixCls:na,className:Ce()({[`${na}-middle`]:va==="middle",[`${na}-small`]:va==="small",[`${na}-bordered`]:Zt,[`${na}-empty`]:sa.length===0}),data:Ia,rowKey:Uo,rowClassName:ni,emptyText:pi,internalHooks:xe,internalRefs:jr,transformColumns:Li})),Qa)))};var Cl=re.forwardRef(El);const xl=(Ue,We)=>{const ot=re.useRef(0);return ot.current+=1,re.createElement(Cl,Object.assign({},Ue,{ref:We,_renderTimes:ot.current}))},ci=re.forwardRef(xl);ci.SELECTION_COLUMN=hi,ci.EXPAND_COLUMN=Se,ci.SELECTION_ALL=Ki,ci.SELECTION_INVERT=Zi,ci.SELECTION_NONE=$i,ci.Column=Po,ci.ColumnGroup=ca,ci.Summary=st;var _l=ci,Tl=_l},66309:function(_t,dt,fe){"use strict";fe.d(dt,{default:function(){return Pe}});var Se=fe(67294),xe=fe(73475),E=fe(94184),ve=fe.n(E),de=fe(98787),se=fe(69760),re=fe(45353),ie=fe(53124),le=fe(14747),ce=fe(45503),ae=fe(67968);const oe=we=>{const{paddingXXS:Oe,lineWidth:Ce,tagPaddingHorizontal:_e,componentCls:Ee}=we,Me=_e-Ce,Ie=Oe-Ce;return{[Ee]:Object.assign(Object.assign({},(0,le.Wf)(we)),{display:"inline-block",height:"auto",marginInlineEnd:we.marginXS,paddingInline:Me,fontSize:we.tagFontSize,lineHeight:we.tagLineHeight,whiteSpace:"nowrap",background:we.defaultBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadiusSM,opacity:1,transition:`all ${we.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ee}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:we.defaultColor},[`${Ee}-close-icon`]:{marginInlineStart:Ie,color:we.colorTextDescription,fontSize:we.tagIconSize,cursor:"pointer",transition:`all ${we.motionDurationMid}`,"&:hover":{color:we.colorTextHeading}},[`&${Ee}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${we.iconCls}-close, ${we.iconCls}-close:hover`]:{color:we.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ee}-checkable-checked):hover`]:{color:we.colorPrimary,backgroundColor:we.colorFillSecondary},"&:active, &-checked":{color:we.colorTextLightSolid},"&-checked":{backgroundColor:we.colorPrimary,"&:hover":{backgroundColor:we.colorPrimaryHover}},"&:active":{backgroundColor:we.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${we.iconCls} + span, > span + ${we.iconCls}`]:{marginInlineStart:Me}}),[`${Ee}-borderless`]:{borderColor:"transparent",background:we.tagBorderlessBg}}},ne=we=>{const{lineWidth:Oe,fontSizeIcon:Ce}=we,_e=we.fontSizeSM,Ee=`${we.lineHeightSM*_e}px`;return(0,ce.TS)(we,{tagFontSize:_e,tagLineHeight:Ee,tagIconSize:Ce-2*Oe,tagPaddingHorizontal:8,tagBorderlessBg:we.colorFillTertiary})},ee=we=>({defaultBg:we.colorFillQuaternary,defaultColor:we.colorText});var a=(0,ae.Z)("Tag",we=>{const Oe=ne(we);return oe(Oe)},ee),y=function(we,Oe){var Ce={};for(var _e in we)Object.prototype.hasOwnProperty.call(we,_e)&&Oe.indexOf(_e)<0&&(Ce[_e]=we[_e]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,_e=Object.getOwnPropertySymbols(we);Ee<_e.length;Ee++)Oe.indexOf(_e[Ee])<0&&Object.prototype.propertyIsEnumerable.call(we,_e[Ee])&&(Ce[_e[Ee]]=we[_e[Ee]]);return Ce},b=we=>{const{prefixCls:Oe,style:Ce,className:_e,checked:Ee,onChange:Me,onClick:Ie}=we,Be=y(we,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Re,tag:tt}=Se.useContext(ie.E_),Ye=je=>{Me==null||Me(!Ee),Ie==null||Ie(je)},et=Re("tag",Oe),[Xe,Ge]=a(et),Fe=ve()(et,`${et}-checkable`,{[`${et}-checkable-checked`]:Ee},tt==null?void 0:tt.className,_e,Ge);return Xe(Se.createElement("span",Object.assign({},Be,{style:Object.assign(Object.assign({},Ce),tt==null?void 0:tt.style),className:Fe,onClick:Ye})))},te=fe(98719);const z=we=>(0,te.Z)(we,(Oe,Ce)=>{let{textColor:_e,lightBorderColor:Ee,lightColor:Me,darkColor:Ie}=Ce;return{[`${we.componentCls}-${Oe}`]:{color:_e,background:Me,borderColor:Ee,"&-inverse":{color:we.colorTextLightSolid,background:Ie,borderColor:Ie},[`&${we.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ue=(0,ae.b)(["Tag","preset"],we=>{const Oe=ne(we);return z(Oe)},ee);function ge(we){return typeof we!="string"?we:we.charAt(0).toUpperCase()+we.slice(1)}const me=(we,Oe,Ce)=>{const _e=ge(Ce);return{[`${we.componentCls}-${Oe}`]:{color:we[`color${Ce}`],background:we[`color${_e}Bg`],borderColor:we[`color${_e}Border`],[`&${we.componentCls}-borderless`]:{borderColor:"transparent"}}}};var he=(0,ae.b)(["Tag","status"],we=>{const Oe=ne(we);return[me(Oe,"success","Success"),me(Oe,"processing","Info"),me(Oe,"error","Error"),me(Oe,"warning","Warning")]},ee),pe=function(we,Oe){var Ce={};for(var _e in we)Object.prototype.hasOwnProperty.call(we,_e)&&Oe.indexOf(_e)<0&&(Ce[_e]=we[_e]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,_e=Object.getOwnPropertySymbols(we);Ee<_e.length;Ee++)Oe.indexOf(_e[Ee])<0&&Object.prototype.propertyIsEnumerable.call(we,_e[Ee])&&(Ce[_e[Ee]]=we[_e[Ee]]);return Ce};const be=(we,Oe)=>{const{prefixCls:Ce,className:_e,rootClassName:Ee,style:Me,children:Ie,icon:Be,color:Re,onClose:tt,closeIcon:Ye,closable:et,bordered:Xe=!0}=we,Ge=pe(we,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:Fe,direction:je,tag:qe}=Se.useContext(ie.E_),[Je,it]=Se.useState(!0);Se.useEffect(()=>{"visible"in Ge&&it(Ge.visible)},[Ge.visible]);const Qe=(0,de.o2)(Re),Ze=(0,de.yT)(Re),De=Qe||Ze,Ve=Object.assign(Object.assign({backgroundColor:Re&&!De?Re:void 0},qe==null?void 0:qe.style),Me),Ae=Fe("tag",Ce),[ke,$e]=a(Ae),Ke=ve()(Ae,qe==null?void 0:qe.className,{[`${Ae}-${Re}`]:De,[`${Ae}-has-color`]:Re&&!De,[`${Ae}-hidden`]:!Je,[`${Ae}-rtl`]:je==="rtl",[`${Ae}-borderless`]:!Xe},_e,Ee,$e),ze=mt=>{mt.stopPropagation(),tt==null||tt(mt),!mt.defaultPrevented&&it(!1)},[,Le]=(0,se.Z)(et,Ye,mt=>mt===null?Se.createElement(xe.Z,{className:`${Ae}-close-icon`,onClick:ze}):Se.createElement("span",{className:`${Ae}-close-icon`,onClick:ze},mt),null,!1),Te=typeof Ge.onClick=="function"||Ie&&Ie.type==="a",Ne=Be||null,He=Ne?Se.createElement(Se.Fragment,null,Ne,Ie&&Se.createElement("span",null,Ie)):Ie,rt=Se.createElement("span",Object.assign({},Ge,{ref:Oe,className:Ke,style:Ve}),He,Le,Qe&&Se.createElement(ue,{key:"preset",prefixCls:Ae}),Ze&&Se.createElement(he,{key:"status",prefixCls:Ae}));return ke(Te?Se.createElement(re.Z,{component:"Tag"},rt):rt)},ye=Se.forwardRef(be);ye.CheckableTag=b;var Pe=ye},79753:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return Ir}});var Se=fe(67294),xe=fe.t(Se,2),E=fe(1413),ve=fe(87462),de=fe(71002),se=fe(97685),re=fe(45987),ie=fe(73935),le=fe(98924),ce=fe(80334),ae=fe(42550),oe=Se.createContext(null),ne=oe,ee=fe(74902),a=fe(8410),y=[];function x(bn,tn){var dn=Se.useState(function(){if(!(0,le.Z)())return null;var jn=document.createElement("div");return jn}),vn=(0,se.Z)(dn,1),xn=vn[0],tr=Se.useRef(!1),Vn=Se.useContext(ne),pr=Se.useState(y),ar=(0,se.Z)(pr,2),xt=ar[0],It=ar[1],Rt=Vn||(tr.current?void 0:function(jn){It(function(gr){var hr=[jn].concat((0,ee.Z)(gr));return hr})});function fn(){xn.parentElement||document.body.appendChild(xn),tr.current=!0}function Nn(){var jn;(jn=xn.parentElement)===null||jn===void 0||jn.removeChild(xn),tr.current=!1}return(0,a.Z)(function(){return bn?Vn?Vn(fn):fn():Nn(),Nn},[bn]),(0,a.Z)(function(){xt.length&&(xt.forEach(function(jn){return jn()}),It(y))},[xt]),[xn,Rt]}var b=fe(48981),te=fe(74204);function z(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ue="rc-util-locker-".concat(Date.now()),ge=0;function me(bn){var tn=!!bn,dn=Se.useState(function(){return ge+=1,"".concat(ue,"_").concat(ge)}),vn=(0,se.Z)(dn,1),xn=vn[0];(0,a.Z)(function(){if(tn){var tr=(0,te.o)(document.body).width,Vn=z();(0,b.hq)(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(Vn?"width: calc(100% - ".concat(tr,"px);"):"",`
|
|
|
}`),xn)}else(0,b.jL)(xn);return function(){(0,b.jL)(xn)}},[tn,xn])}var he=!1;function pe(bn){return typeof bn=="boolean"&&(he=bn),he}var be=function(tn){return tn===!1?!1:!(0,le.Z)()||!tn?null:typeof tn=="string"?document.querySelector(tn):typeof tn=="function"?tn():tn},ye=Se.forwardRef(function(bn,tn){var dn=bn.open,vn=bn.autoLock,xn=bn.getContainer,tr=bn.debug,Vn=bn.autoDestroy,pr=Vn===void 0?!0:Vn,ar=bn.children,xt=Se.useState(dn),It=(0,se.Z)(xt,2),Rt=It[0],fn=It[1],Nn=Rt||dn;Se.useEffect(function(){(pr||dn)&&fn(dn)},[dn,pr]);var jn=Se.useState(function(){return be(xn)}),gr=(0,se.Z)(jn,2),hr=gr[0],qn=gr[1];Se.useEffect(function(){var Dt=be(xn);qn(Dt!=null?Dt:null)});var Br=x(Nn&&!hr,tr),lo=(0,se.Z)(Br,2),Or=lo[0],An=lo[1],_r=hr!=null?hr:Or;me(vn&&dn&&(0,le.Z)()&&(_r===Or||_r===document.body));var zt=null;if(ar&&(0,ae.Yr)(ar)&&tn){var ln=ar;zt=ln.ref}var an=(0,ae.x1)(zt,tn);if(!Nn||!(0,le.Z)()||hr===void 0)return null;var mn=_r===!1||pe(),zn=ar;return tn&&(zn=Se.cloneElement(ar,{ref:an})),Se.createElement(ne.Provider,{value:An},mn?zn:(0,ie.createPortal)(zn,_r))}),Pe=ye,we=Pe,Oe=fe(62709),Ce=fe(94184),_e=fe.n(Ce),Ee=fe(21770),Me=fe(66680);function Ie(bn){var tn=window.innerWidth||document.documentElement.clientWidth,dn=window.innerHeight||document.documentElement.clientHeight,vn=bn.getBoundingClientRect(),xn=vn.top,tr=vn.right,Vn=vn.bottom,pr=vn.left;return xn>=0&&pr>=0&&tr<=tn&&Vn<=dn}function Be(bn,tn,dn){var vn;return(vn=dn!=null?dn:tn)!==null&&vn!==void 0?vn:bn===null?"center":"bottom"}function Re(bn,tn,dn,vn){var xn=(0,Se.useState)(void 0),tr=(0,se.Z)(xn,2),Vn=tr[0],pr=tr[1];(0,a.Z)(function(){var gr=typeof bn=="function"?bn():bn;pr(gr||null)});var ar=(0,Se.useState)(null),xt=(0,se.Z)(ar,2),It=xt[0],Rt=xt[1],fn=(0,Me.Z)(function(){if(Vn){!Ie(Vn)&&tn&&Vn.scrollIntoView(vn);var gr=Vn.getBoundingClientRect(),hr=gr.left,qn=gr.top,Br=gr.width,lo=gr.height,Or={left:hr,top:qn,width:Br,height:lo,radius:0};Rt(function(An){return JSON.stringify(An)!==JSON.stringify(Or)?Or:An})}else Rt(null)}),Nn=function(hr){var qn;return(qn=Array.isArray(dn==null?void 0:dn.offset)?dn==null?void 0:dn.offset[hr]:dn==null?void 0:dn.offset)!==null&&qn!==void 0?qn:6};(0,a.Z)(function(){return fn(),window.addEventListener("resize",fn),function(){window.removeEventListener("resize",fn)}},[Vn,tn,fn]);var jn=(0,Se.useMemo)(function(){if(!It)return It;var gr=Nn(0),hr=Nn(1),qn=(dn==null?void 0:dn.radius)||2;return{left:It.left-gr,top:It.top-hr,width:It.width+gr*2,height:It.height+hr*2,radius:qn}},[It,dn]);return[jn,Vn]}function tt(){var bn=(0,E.Z)({},xe);return bn.useId}var Ye=0;function et(){}function Xe(bn){var tn=Se.useState("ssr-id"),dn=(0,se.Z)(tn,2),vn=dn[0],xn=dn[1],tr=tt(),Vn=tr==null?void 0:tr();return Se.useEffect(function(){if(!tr){var pr=Ye;Ye+=1,xn("rc_unique_".concat(pr))}},[]),bn||Vn||vn}var Ge={fill:"transparent",pointerEvents:"auto"},Fe=function(tn){var dn=tn.prefixCls,vn=tn.rootClassName,xn=tn.pos,tr=tn.showMask,Vn=tn.style,pr=Vn===void 0?{}:Vn,ar=tn.fill,xt=ar===void 0?"rgba(0,0,0,0.5)":ar,It=tn.open,Rt=tn.animated,fn=tn.zIndex,Nn=Xe(),jn="".concat(dn,"-mask-").concat(Nn),gr=(0,de.Z)(Rt)==="object"?Rt==null?void 0:Rt.placeholder:Rt;return Se.createElement(we,{open:It,autoLock:!0},Se.createElement("div",{className:_e()("".concat(dn,"-mask"),vn),style:(0,E.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:fn,pointerEvents:"none"},pr)},tr?Se.createElement("svg",{style:{width:"100%",height:"100%"}},Se.createElement("defs",null,Se.createElement("mask",{id:jn},Se.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),xn&&Se.createElement("rect",{x:xn.left,y:xn.top,rx:xn.radius,width:xn.width,height:xn.height,fill:"black",className:gr?"".concat(dn,"-placeholder-animated"):""}))),Se.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:xt,mask:"url(#".concat(jn,")")}),xn&&Se.createElement(Se.Fragment,null,Se.createElement("rect",(0,ve.Z)({},Ge,{x:"0",y:"0",width:"100%",height:xn.top})),Se.createElement("rect",(0,ve.Z)({},Ge,{x:"0",y:"0",width:xn.left,height:"100%"})),Se.createElement("rect",(0,ve.Z)({},Ge,{x:"0",y:xn.top+xn.height,width:"100%",height:"calc(100vh - ".concat(xn.top+xn.height,"px)")})),Se.createElement("rect",(0,ve.Z)({},Ge,{x:xn.left+xn.width,y:"0",width:"calc(100vw - ".concat(xn.left+xn.width,"px)"),height:"100%"})))):null))},je=Fe,qe={adjustX:1,adjustY:1},Je=[0,0],it={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 Qe(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,tn={};return Object.keys(it).forEach(function(dn){tn[dn]=(0,E.Z)((0,E.Z)({},it[dn]),{},{autoArrow:bn,targetOffset:Je})}),tn}var Ze=Qe();function De(bn){var tn=bn.prefixCls,dn=bn.current,vn=bn.total,xn=bn.title,tr=bn.description,Vn=bn.onClose,pr=bn.onPrev,ar=bn.onNext,xt=bn.onFinish,It=bn.className,Rt=bn.closeIcon,fn=Rt!==!1&&Rt!==null,Nn=Rt!==void 0&&Rt!==!0?Rt:Se.createElement("span",{className:"".concat(tn,"-close-x")},"\xD7");return Se.createElement("div",{className:_e()("".concat(tn,"-content"),It)},Se.createElement("div",{className:"".concat(tn,"-inner")},fn&&Se.createElement("button",{type:"button",onClick:Vn,"aria-label":"Close",className:"".concat(tn,"-close")},Nn),Se.createElement("div",{className:"".concat(tn,"-header")},Se.createElement("div",{className:"".concat(tn,"-title")},xn)),Se.createElement("div",{className:"".concat(tn,"-description")},tr),Se.createElement("div",{className:"".concat(tn,"-footer")},Se.createElement("div",{className:"".concat(tn,"-sliders")},vn>1?(0,ee.Z)(Array.from({length:vn}).keys()).map(function(jn,gr){return Se.createElement("span",{key:jn,className:gr===dn?"active":""})}):null),Se.createElement("div",{className:"".concat(tn,"-buttons")},dn!==0?Se.createElement("button",{className:"".concat(tn,"-prev-btn"),onClick:pr},"Prev"):null,dn===vn-1?Se.createElement("button",{className:"".concat(tn,"-finish-btn"),onClick:xt},"Finish"):Se.createElement("button",{className:"".concat(tn,"-next-btn"),onClick:ar},"Next")))))}var Ve=function(tn){var dn=tn.current,vn=tn.renderPanel;return Se.createElement(Se.Fragment,null,typeof vn=="function"?vn(tn,dn):Se.createElement(De,tn))},Ae=Ve,ke=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],$e={left:"50%",top:"50%",width:1,height:1},Ke=function(tn){var dn=tn.prefixCls,vn=dn===void 0?"rc-tour":dn,xn=tn.steps,tr=xn===void 0?[]:xn,Vn=tn.defaultCurrent,pr=tn.current,ar=tn.onChange,xt=tn.onClose,It=tn.onFinish,Rt=tn.open,fn=tn.mask,Nn=fn===void 0?!0:fn,jn=tn.arrow,gr=jn===void 0?!0:jn,hr=tn.rootClassName,qn=tn.placement,Br=tn.renderPanel,lo=tn.gap,Or=tn.animated,An=tn.scrollIntoViewOptions,_r=An===void 0?!0:An,zt=tn.zIndex,ln=zt===void 0?1001:zt,an=tn.closeIcon,mn=(0,re.Z)(tn,ke),zn=Se.useRef(),Dt=(0,Ee.Z)(0,{value:pr,defaultValue:Vn}),Bn=(0,se.Z)(Dt,2),yn=Bn[0],Er=Bn[1],ir=(0,Ee.Z)(void 0,{value:Rt,postState:function(jt){return yn<0||yn>=tr.length?!1:jt!=null?jt:!0}}),Mr=(0,se.Z)(ir,2),Wr=Mr[0],Pn=Mr[1],Qr=Se.useRef(Wr);(0,a.Z)(function(){Wr&&!Qr.current&&Er(0),Qr.current=Wr},[Wr]);var io=tr[yn]||{},Mo=io.target,oo=io.placement,Ho=io.style,kn=io.arrow,dr=io.className,ur=io.mask,Xn=io.scrollIntoViewOptions,uo=io.closeIcon,so=Wr&&(ur!=null?ur:Nn),yo=uo!=null?uo:an,Fo=Xn!=null?Xn:_r,zo=Re(Mo,Rt,lo,Fo),Mt=(0,se.Z)(zo,2),At=Mt[0],rn=Mt[1],Ut=Be(rn,qn,oo),On=rn?typeof kn=="undefined"?gr:kn:!1,er=(0,de.Z)(On)==="object"?On.pointAtCenter:!1;(0,a.Z)(function(){var Qn;(Qn=zn.current)===null||Qn===void 0||Qn.forceAlign()},[er,yn]);var vr=function(jt){Er(jt),ar==null||ar(jt)};if(rn===void 0)return null;var xr=function(){Pn(!1),xt==null||xt(yn)},Nr=function(){return Se.createElement(Ae,(0,ve.Z)({arrow:On,key:"content",prefixCls:vn,total:tr.length,renderPanel:Br,onPrev:function(){vr(yn-1)},onNext:function(){vr(yn+1)},onClose:xr,current:yn,onFinish:function(){xr(),It==null||It()},closeIcon:yo},tr[yn]))},no=typeof so=="boolean"?so:!!so,Kr=typeof so=="boolean"?void 0:so,Pr=function(jt){return jt||rn||document.body};return Se.createElement(Se.Fragment,null,Se.createElement(je,{zIndex:ln,prefixCls:vn,pos:At,showMask:no,style:Kr==null?void 0:Kr.style,fill:Kr==null?void 0:Kr.color,open:Wr,animated:Or,rootClassName:hr}),Se.createElement(Oe.Z,(0,ve.Z)({builtinPlacements:Qe(er)},mn,{ref:zn,popupStyle:Ho,popupPlacement:Ut,popupVisible:Wr,popupClassName:_e()(hr,dr),prefixCls:vn,popup:Nr,forceRender:!1,destroyPopupOnHide:!0,zIndex:ln,getTriggerDOMNode:Pr,arrow:!!On}),Se.createElement(we,{open:Wr,autoLock:!0},Se.createElement("div",{className:_e()(hr,"".concat(vn,"-target-placeholder")),style:(0,E.Z)((0,E.Z)({},At||$e),{},{position:"fixed",pointerEvents:"none"})}))))},ze=Ke,Le=ze,Te=fe(80636),Ne=fe(53124),He=fe(46605),rt=fe(73475),mt=fe(71577),vt=fe(10110),nt=fe(24457),ut=fe(69760);function Et(bn){return bn!=null}var at=bn=>{let{stepProps:tn,current:dn,type:vn,indicatorsRender:xn,closeIcon:tr}=bn;var Vn,pr;const{prefixCls:ar,total:xt=1,title:It,onClose:Rt,onPrev:fn,onNext:Nn,onFinish:jn,cover:gr,description:hr,nextButtonProps:qn,prevButtonProps:Br,type:lo,className:Or,closeIcon:An}=tn,_r=lo!=null?lo:vn,zt=An!=null?An:tr,ln=zt!==!1&&zt!==null,[an,mn]=(0,ut.Z)(ln,zt,io=>Se.createElement("span",{onClick:Rt,"aria-label":"Close",className:`${ar}-close`},io),Se.createElement(rt.Z,{className:`${ar}-close-icon`}),!0),zn=dn===xt-1,Dt=()=>{var io;fn==null||fn(),(io=Br==null?void 0:Br.onClick)===null||io===void 0||io.call(Br)},Bn=()=>{var io;zn?jn==null||jn():Nn==null||Nn(),(io=qn==null?void 0:qn.onClick)===null||io===void 0||io.call(qn)},yn=Et(It)?Se.createElement("div",{className:`${ar}-header`},Se.createElement("div",{className:`${ar}-title`},It)):null,Er=Et(hr)?Se.createElement("div",{className:`${ar}-description`},hr):null,ir=Et(gr)?Se.createElement("div",{className:`${ar}-cover`},gr):null;let Mr;xn?Mr=xn(dn,xt):Mr=(0,ee.Z)(Array.from({length:xt}).keys()).map((io,Mo)=>Se.createElement("span",{key:io,className:_e()(Mo===dn&&`${ar}-indicator-active`,`${ar}-indicator`)}));const Wr=_r==="primary"?"default":"primary",Pn={type:"default",ghost:_r==="primary"},[Qr]=(0,vt.Z)("Tour",nt.Z.Tour);return Se.createElement("div",{className:_e()(Or,`${ar}-content`)},Se.createElement("div",{className:`${ar}-inner`},an&&mn,ir,yn,Er,Se.createElement("div",{className:`${ar}-footer`},xt>1&&Se.createElement("div",{className:`${ar}-indicators`},Mr),Se.createElement("div",{className:`${ar}-buttons`},dn!==0?Se.createElement(mt.ZP,Object.assign({},Pn,Br,{onClick:Dt,size:"small",className:_e()(`${ar}-prev-btn`,Br==null?void 0:Br.className)}),(Vn=Br==null?void 0:Br.children)!==null&&Vn!==void 0?Vn:Qr==null?void 0:Qr.Previous):null,Se.createElement(mt.ZP,Object.assign({type:Wr},qn,{onClick:Bn,size:"small",className:_e()(`${ar}-next-btn`,qn==null?void 0:qn.className)}),(pr=qn==null?void 0:qn.children)!==null&&pr!==void 0?pr:zn?Qr==null?void 0:Qr.Finish:Qr==null?void 0:Qr.Next)))))},Tt=fe(66330),st=fe(84780),pt=fe(14747),Pt=fe(97414),wt=fe(67968),Lt=fe(45503);const $t=bn=>{const{componentCls:tn,lineHeight:dn,padding:vn,paddingXS:xn,borderRadius:tr,borderRadiusXS:Vn,colorPrimary:pr,colorText:ar,colorFill:xt,indicatorHeight:It,indicatorWidth:Rt,boxShadowTertiary:fn,tourZIndexPopup:Nn,fontSize:jn,colorBgElevated:gr,fontWeightStrong:hr,marginXS:qn,colorTextLightSolid:Br,tourBorderRadius:lo,colorWhite:Or,colorBgTextHover:An,tourCloseSize:_r,motionDurationSlow:zt,antCls:ln}=bn;return[{[tn]:Object.assign(Object.assign({},(0,pt.Wf)(bn)),{color:ar,position:"absolute",zIndex:Nn,display:"block",visibility:"visible",fontSize:jn,lineHeight:dn,width:520,"--antd-arrow-background-color":gr,"&-pure":{maxWidth:"100%",position:"relative"},[`&${tn}-hidden`]:{display:"none"},[`${tn}-content`]:{position:"relative"},[`${tn}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:lo,boxShadow:fn,position:"relative",backgroundColor:gr,border:"none",backgroundClip:"padding-box",[`${tn}-close`]:{position:"absolute",top:vn,insetInlineEnd:vn,color:bn.colorIcon,outline:"none",width:_r,height:_r,borderRadius:bn.borderRadiusSM,transition:`background-color ${bn.motionDurationMid}, color ${bn.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:bn.colorIconHover,backgroundColor:bn.wireframe?"transparent":bn.colorFillContent}},[`${tn}-cover`]:{textAlign:"center",padding:`${vn+_r+xn}px ${vn}px 0`,img:{width:"100%"}},[`${tn}-header`]:{padding:`${vn}px ${vn}px ${xn}px`,[`${tn}-title`]:{lineHeight:dn,fontSize:jn,fontWeight:hr}},[`${tn}-description`]:{padding:`0 ${vn}px`,lineHeight:dn,wordWrap:"break-word"},[`${tn}-footer`]:{padding:`${xn}px ${vn}px ${vn}px`,textAlign:"end",borderRadius:`0 0 ${Vn}px ${Vn}px`,display:"flex",[`${tn}-indicators`]:{display:"inline-block",[`${tn}-indicator`]:{width:Rt,height:It,display:"inline-block",borderRadius:"50%",background:xt,"&:not(:last-child)":{marginInlineEnd:It},"&-active":{background:pr}}},[`${tn}-buttons`]:{marginInlineStart:"auto",[`${ln}-btn`]:{marginInlineStart:qn}}}},[`${tn}-primary, &${tn}-primary`]:{"--antd-arrow-background-color":pr,[`${tn}-inner`]:{color:Br,textAlign:"start",textDecoration:"none",backgroundColor:pr,borderRadius:tr,boxShadow:fn,[`${tn}-close`]:{color:Br},[`${tn}-indicators`]:{[`${tn}-indicator`]:{background:new st.C(Br).setAlpha(.15).toRgbString(),"&-active":{background:Br}}},[`${tn}-prev-btn`]:{color:Br,borderColor:new st.C(Br).setAlpha(.15).toRgbString(),backgroundColor:pr,"&:hover":{backgroundColor:new st.C(Br).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${tn}-next-btn`]:{color:pr,borderColor:"transparent",background:Or,"&:hover":{background:new st.C(An).onBackground(Or).toRgbString()}}}}}),[`${tn}-mask`]:{[`${tn}-placeholder-animated`]:{transition:`all ${zt}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${tn}-inner`]:{borderRadius:Math.min(lo,Pt.qN)}}},(0,Pt.ZP)(bn,{colorBg:"var(--antd-arrow-background-color)",contentRadius:lo,limitVerticalRadius:!0})]};var nn=(0,wt.Z)("Tour",bn=>{const{borderRadiusLG:tn,fontSize:dn,lineHeight:vn}=bn,xn=(0,Lt.TS)(bn,{tourZIndexPopup:bn.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:tn,tourCloseSize:dn*vn});return[$t(xn)]}),un=fe(8745),Cn=function(bn,tn){var dn={};for(var vn in bn)Object.prototype.hasOwnProperty.call(bn,vn)&&tn.indexOf(vn)<0&&(dn[vn]=bn[vn]);if(bn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,vn=Object.getOwnPropertySymbols(bn);xn<vn.length;xn++)tn.indexOf(vn[xn])<0&&Object.prototype.propertyIsEnumerable.call(bn,vn[xn])&&(dn[vn[xn]]=bn[vn[xn]]);return dn};const Sn=bn=>{const{prefixCls:tn,current:dn=0,total:vn=6,className:xn,style:tr,type:Vn}=bn,pr=Cn(bn,["prefixCls","current","total","className","style","type"]),{getPrefixCls:ar}=Se.useContext(Ne.E_),xt=ar("tour",tn),[It,Rt]=nn(xt);return It(Se.createElement(Tt.t5,{prefixCls:xt,hashId:Rt,className:_e()(xn,`${xt}-pure`,Vn&&`${xt}-${Vn}`),style:tr},Se.createElement(at,{stepProps:Object.assign(Object.assign({},pr),{prefixCls:xt,total:vn}),current:dn,type:Vn})))};var Kn=(0,un.i)(Sn),nr=fe(5663),Ur=bn=>{let{defaultType:tn,steps:dn=[],current:vn,defaultCurrent:xn}=bn;var tr;const[Vn,pr]=(0,nr.Z)(xn,{value:vn});(0,Se.useLayoutEffect)(()=>{vn!==void 0&&pr(vn)},[vn]);const ar=typeof Vn=="number"?(tr=dn[Vn])===null||tr===void 0?void 0:tr.type:tn;return{currentMergedType:ar!=null?ar:tn,updateInnerCurrent:pr}},Gr=function(bn,tn){var dn={};for(var vn in bn)Object.prototype.hasOwnProperty.call(bn,vn)&&tn.indexOf(vn)<0&&(dn[vn]=bn[vn]);if(bn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,vn=Object.getOwnPropertySymbols(bn);xn<vn.length;xn++)tn.indexOf(vn[xn])<0&&Object.prototype.propertyIsEnumerable.call(bn,vn[xn])&&(dn[vn[xn]]=bn[vn[xn]]);return dn};const zr=bn=>{const{prefixCls:tn,current:dn,defaultCurrent:vn,type:xn,rootClassName:tr,indicatorsRender:Vn,steps:pr}=bn,ar=Gr(bn,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:xt,direction:It}=(0,Se.useContext)(Ne.E_),Rt=xt("tour",tn),[fn,Nn]=nn(Rt),[,jn]=(0,He.Z)(),{currentMergedType:gr,updateInnerCurrent:hr}=Ur({defaultType:xn,steps:pr,current:dn,defaultCurrent:vn}),qn=(0,Te.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:jn.marginXXS,arrowWidth:jn.sizePopupArrow,borderRadius:jn.borderRadius}),Br=_e()({[`${Rt}-primary`]:gr==="primary",[`${Rt}-rtl`]:It==="rtl"},Nn,tr),lo=(An,_r)=>Se.createElement(at,{type:xn,stepProps:An,current:_r,indicatorsRender:Vn}),Or=An=>{var _r;hr(An),(_r=bn.onChange)===null||_r===void 0||_r.call(bn,An)};return fn(Se.createElement(Le,Object.assign({},ar,{rootClassName:Br,prefixCls:Rt,current:dn,defaultCurrent:vn,animated:!0,renderPanel:lo,builtinPlacements:qn,onChange:Or,steps:pr})))};zr._InternalPanelDoNotUseOrYouWillBeFired=Kn;var Ir=zr},79870:function(_t,dt,fe){"use strict";fe.d(dt,{default:function(){return Qn}});var Se=fe(87462),xe=fe(4942),E=fe(71002),ve=fe(1413),de=fe(74902),se=fe(15671),re=fe(43144),ie=fe(97326),le=fe(60136),ce=fe(51630),ae=fe(94184),oe=fe.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(Ht){var sn=Ht.keyCode;if(Ht.altKey&&!Ht.ctrlKey||Ht.metaKey||sn>=ne.F1&&sn<=ne.F12)return!1;switch(sn){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(Ht){if(Ht>=ne.ZERO&&Ht<=ne.NINE||Ht>=ne.NUM_ZERO&&Ht<=ne.NUM_MULTIPLY||Ht>=ne.A&&Ht<=ne.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ht===0)return!0;switch(Ht){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=fe(34952),y=fe(72978),x=fe(67294),b=fe(69610);function te(jt){var Ht=jt.dropPosition,sn=jt.dropLevelOffset,gt=jt.indent,cn={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ht){case-1:cn.top=0,cn.left=-sn*gt;break;case 1:cn.bottom=0,cn.left=-sn*gt;break;case 0:cn.bottom=0,cn.left=gt;break}return x.createElement("div",{style:cn})}var z=fe(36459),ue=fe(97685),ge=fe(45987);function me(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var he=me()?x.useLayoutEffect:x.useEffect,pe=he,be=function(Ht,sn){var gt=React.useRef(!0);he(function(){if(!gt.current)return Ht()},sn),he(function(){return gt.current=!1,function(){gt.current=!0}},[])},ye=fe(73299),Pe=fe(73935);function we(jt){return jt instanceof HTMLElement||jt instanceof SVGElement}function Oe(jt){return we(jt)?jt:jt instanceof x.Component?Pe.findDOMNode(jt):null}var Ce=fe(28580);function _e(jt,Ht,sn){var gt=React.useRef({});return(!("value"in gt.current)||sn(gt.current.condition,Ht))&&(gt.current.value=jt(),gt.current.condition=Ht),gt.current.value}function Ee(jt,Ht){typeof jt=="function"?jt(Ht):(0,E.Z)(jt)==="object"&&jt&&"current"in jt&&(jt.current=Ht)}function Me(){for(var jt=arguments.length,Ht=new Array(jt),sn=0;sn<jt;sn++)Ht[sn]=arguments[sn];var gt=Ht.filter(function(cn){return cn});return gt.length<=1?gt[0]:function(cn){Ht.forEach(function(wn){Ee(wn,cn)})}}function Ie(){for(var jt=arguments.length,Ht=new Array(jt),sn=0;sn<jt;sn++)Ht[sn]=arguments[sn];return useMemo(function(){return Me.apply(void 0,Ht)},Ht,function(gt,cn){return gt.length===cn.length&>.every(function(wn,Hn){return wn===cn[Hn]})})}function Be(jt){var Ht,sn,gt=(0,Ce.isMemo)(jt)?jt.type.type:jt.type;return!(typeof gt=="function"&&!((Ht=gt.prototype)!==null&&Ht!==void 0&&Ht.render)||typeof jt=="function"&&!((sn=jt.prototype)!==null&&sn!==void 0&&sn.render))}function Re(jt,Ht){var sn={};return sn[jt.toLowerCase()]=Ht.toLowerCase(),sn["Webkit".concat(jt)]="webkit".concat(Ht),sn["Moz".concat(jt)]="moz".concat(Ht),sn["ms".concat(jt)]="MS".concat(Ht),sn["O".concat(jt)]="o".concat(Ht.toLowerCase()),sn}function tt(jt,Ht){var sn={animationend:Re("Animation","AnimationEnd"),transitionend:Re("Transition","TransitionEnd")};return jt&&("AnimationEvent"in Ht||delete sn.animationend.animation,"TransitionEvent"in Ht||delete sn.transitionend.transition),sn}var Ye=tt(me(),typeof window!="undefined"?window:{}),et={};if(me()){var Xe=document.createElement("div");et=Xe.style}var Ge={};function Fe(jt){if(Ge[jt])return Ge[jt];var Ht=Ye[jt];if(Ht)for(var sn=Object.keys(Ht),gt=sn.length,cn=0;cn<gt;cn+=1){var wn=sn[cn];if(Object.prototype.hasOwnProperty.call(Ht,wn)&&wn in et)return Ge[jt]=Ht[wn],Ge[jt]}return""}var je=Fe("animationend"),qe=Fe("transitionend"),Je=!!(je&&qe),it=je||"animationend",Qe=qe||"transitionend";function Ze(jt,Ht){if(!jt)return null;if((0,E.Z)(jt)==="object"){var sn=Ht.replace(/-\w/g,function(gt){return gt[1].toUpperCase()});return jt[sn]}return"".concat(jt,"-").concat(Ht)}var De="none",Ve="appear",Ae="enter",ke="leave",$e="none",Ke="prepare",ze="start",Le="active",Te="end";function Ne(jt){var Ht=x.useRef(!1),sn=x.useState(jt),gt=(0,ue.Z)(sn,2),cn=gt[0],wn=gt[1];x.useEffect(function(){return Ht.current=!1,function(){Ht.current=!0}},[]);function Hn(Vt,en){en&&Ht.current||wn(Vt)}return[cn,Hn]}var He=function(Ht){return+setTimeout(Ht,16)},rt=function(Ht){return clearTimeout(Ht)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(He=function(Ht){return window.requestAnimationFrame(Ht)},rt=function(Ht){return window.cancelAnimationFrame(Ht)});var mt=0,vt=new Map;function nt(jt){vt.delete(jt)}var ut=function(Ht){var sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;mt+=1;var gt=mt;function cn(wn){if(wn===0)nt(gt),Ht();else{var Hn=He(function(){cn(wn-1)});vt.set(gt,Hn)}}return cn(sn),gt};ut.cancel=function(jt){var Ht=vt.get(jt);return nt(Ht),rt(Ht)};var Et=ut,Ot=function(){var jt=x.useRef(null);function Ht(){Et.cancel(jt.current)}function sn(gt){var cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ht();var wn=Et(function(){cn<=1?gt({isCanceled:function(){return wn!==jt.current}}):sn(gt,cn-1)});jt.current=wn}return x.useEffect(function(){return function(){Ht()}},[]),[sn,Ht]},at=me()?x.useLayoutEffect:x.useEffect,Tt=at,st=[Ke,ze,Le,Te],pt=!1,Pt=!0;function wt(jt){return jt===Le||jt===Te}var Lt=function(jt,Ht){var sn=Ne($e),gt=(0,ue.Z)(sn,2),cn=gt[0],wn=gt[1],Hn=Ot(),Vt=(0,ue.Z)(Hn,2),en=Vt[0],Jt=Vt[1];function Gn(){wn(Ke,!0)}return Tt(function(){if(cn!==$e&&cn!==Te){var St=st.indexOf(cn),Ft=st[St+1],Xt=Ht(cn);Xt===pt?wn(Ft,!0):en(function(_n){function Ln(){_n.isCanceled()||wn(Ft,!0)}Xt===!0?Ln():Promise.resolve(Xt).then(Ln)})}},[jt,cn]),x.useEffect(function(){return function(){Jt()}},[]),[Gn,cn]},$t=function(jt){var Ht=(0,x.useRef)(),sn=(0,x.useRef)(jt);sn.current=jt;var gt=x.useCallback(function(Hn){sn.current(Hn)},[]);function cn(Hn){Hn&&(Hn.removeEventListener(Qe,gt),Hn.removeEventListener(it,gt))}function wn(Hn){Ht.current&&Ht.current!==Hn&&cn(Ht.current),Hn&&Hn!==Ht.current&&(Hn.addEventListener(Qe,gt),Hn.addEventListener(it,gt),Ht.current=Hn)}return x.useEffect(function(){return function(){cn(Ht.current)}},[]),[wn,cn]};function nn(jt,Ht,sn,gt){var cn=gt.motionEnter,wn=cn===void 0?!0:cn,Hn=gt.motionAppear,Vt=Hn===void 0?!0:Hn,en=gt.motionLeave,Jt=en===void 0?!0:en,Gn=gt.motionDeadline,St=gt.motionLeaveImmediately,Ft=gt.onAppearPrepare,Xt=gt.onEnterPrepare,_n=gt.onLeavePrepare,Ln=gt.onAppearStart,Fn=gt.onEnterStart,kt=gt.onLeaveStart,Kt=gt.onAppearActive,Gt=gt.onEnterActive,Qt=gt.onLeaveActive,Dn=gt.onAppearEnd,hn=gt.onEnterEnd,ht=gt.onLeaveEnd,lt=gt.onVisibleChanged,ft=Ne(),Ct=(0,ue.Z)(ft,2),Nt=Ct[0],Yt=Ct[1],pn=Ne(De),Tn=(0,ue.Z)(pn,2),Un=Tn[0],Zn=Tn[1],Wn=Ne(null),En=(0,ue.Z)(Wn,2),$n=En[0],yr=En[1],wr=(0,x.useRef)(!1),qr=(0,x.useRef)(null);function Rr(){return sn()}var Zr=(0,x.useRef)(!1);function $r(vo){var So=Rr();if(!(vo&&!vo.deadline&&vo.target!==So)){var Bo=Zr.current,Xo;Un===Ve&&Bo?Xo=Dn==null?void 0:Dn(So,vo):Un===Ae&&Bo?Xo=hn==null?void 0:hn(So,vo):Un===ke&&Bo&&(Xo=ht==null?void 0:ht(So,vo)),Un!==De&&Bo&&Xo!==!1&&(Zn(De,!0),yr(null,!0))}}var Ro=$t($r),mr=(0,ue.Z)(Ro,1),ro=mr[0],bo=x.useMemo(function(){var vo,So,Bo;switch(Un){case Ve:return vo={},(0,xe.Z)(vo,Ke,Ft),(0,xe.Z)(vo,ze,Ln),(0,xe.Z)(vo,Le,Kt),vo;case Ae:return So={},(0,xe.Z)(So,Ke,Xt),(0,xe.Z)(So,ze,Fn),(0,xe.Z)(So,Le,Gt),So;case ke:return Bo={},(0,xe.Z)(Bo,Ke,_n),(0,xe.Z)(Bo,ze,kt),(0,xe.Z)(Bo,Le,Qt),Bo;default:return{}}},[Un]),Oo=Lt(Un,function(vo){if(vo===Ke){var So=bo[Ke];return So?So(Rr()):pt}if(Ao in bo){var Bo;yr(((Bo=bo[Ao])===null||Bo===void 0?void 0:Bo.call(bo,Rr(),null))||null)}return Ao===Le&&(ro(Rr()),Gn>0&&(clearTimeout(qr.current),qr.current=setTimeout(function(){$r({deadline:!0})},Gn))),Pt}),eo=(0,ue.Z)(Oo,2),sr=eo[0],Ao=eo[1],kr=wt(Ao);Zr.current=kr,Tt(function(){Yt(Ht);var vo=wr.current;if(wr.current=!0,!!jt){var So;!vo&&Ht&&Vt&&(So=Ve),vo&&Ht&&wn&&(So=Ae),(vo&&!Ht&&Jt||!vo&&St&&!Ht&&Jt)&&(So=ke),So&&(Zn(So),sr())}},[Ht]),(0,x.useEffect)(function(){(Un===Ve&&!Vt||Un===Ae&&!wn||Un===ke&&!Jt)&&Zn(De)},[Vt,wn,Jt]),(0,x.useEffect)(function(){return function(){wr.current=!1,clearTimeout(qr.current)}},[]);var Eo=x.useRef(!1);(0,x.useEffect)(function(){Nt&&(Eo.current=!0),Nt!==void 0&&Un===De&&((Eo.current||Nt)&&(lt==null||lt(Nt)),Eo.current=!0)},[Nt,Un]);var xo=$n;return bo[Ke]&&Ao===ze&&(xo=(0,ve.Z)({transition:"none"},xo)),[Un,Ao,xo,Nt!=null?Nt:Ht]}var un=function(jt){(0,le.Z)(sn,jt);var Ht=(0,ce.Z)(sn);function sn(){return(0,se.Z)(this,sn),Ht.apply(this,arguments)}return(0,re.Z)(sn,[{key:"render",value:function(){return this.props.children}}]),sn}(x.Component),Cn=un;function Sn(jt){var Ht=jt;(0,E.Z)(jt)==="object"&&(Ht=jt.transitionSupport);function sn(cn){return!!(cn.motionName&&Ht)}var gt=x.forwardRef(function(cn,wn){var Hn=cn.visible,Vt=Hn===void 0?!0:Hn,en=cn.removeOnLeave,Jt=en===void 0?!0:en,Gn=cn.forceRender,St=cn.children,Ft=cn.motionName,Xt=cn.leavedClassName,_n=cn.eventProps,Ln=sn(cn),Fn=(0,x.useRef)(),kt=(0,x.useRef)();function Kt(){try{return Fn.current instanceof HTMLElement?Fn.current:Oe(kt.current)}catch(Wn){return null}}var Gt=nn(Ln,Vt,Kt,cn),Qt=(0,ue.Z)(Gt,4),Dn=Qt[0],hn=Qt[1],ht=Qt[2],lt=Qt[3],ft=x.useRef(lt);lt&&(ft.current=!0);var Ct=x.useCallback(function(Wn){Fn.current=Wn,Ee(wn,Wn)},[wn]),Nt,Yt=(0,ve.Z)((0,ve.Z)({},_n),{},{visible:Vt});if(!St)Nt=null;else if(Dn===De||!sn(cn))lt?Nt=St((0,ve.Z)({},Yt),Ct):!Jt&&ft.current&&Xt?Nt=St((0,ve.Z)((0,ve.Z)({},Yt),{},{className:Xt}),Ct):Gn||!Jt&&!Xt?Nt=St((0,ve.Z)((0,ve.Z)({},Yt),{},{style:{display:"none"}}),Ct):Nt=null;else{var pn,Tn;hn===Ke?Tn="prepare":wt(hn)?Tn="active":hn===ze&&(Tn="start"),Nt=St((0,ve.Z)((0,ve.Z)({},Yt),{},{className:oe()(Ze(Ft,Dn),(pn={},(0,xe.Z)(pn,Ze(Ft,"".concat(Dn,"-").concat(Tn)),Tn),(0,xe.Z)(pn,Ft,typeof Ft=="string"),pn)),style:ht}),Ct)}if(x.isValidElement(Nt)&&Be(Nt)){var Un=Nt,Zn=Un.ref;Zn||(Nt=x.cloneElement(Nt,{ref:Ct}))}return x.createElement(Cn,{ref:kt},Nt)});return gt.displayName="CSSMotion",gt}var Kn=Sn(Je),nr="add",fr="keep",Ur="remove",Gr="removed";function zr(jt){var Ht;return jt&&(0,E.Z)(jt)==="object"&&"key"in jt?Ht=jt:Ht={key:jt},(0,ve.Z)((0,ve.Z)({},Ht),{},{key:String(Ht.key)})}function Ir(){var jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return jt.map(zr)}function bn(){var jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],sn=[],gt=0,cn=Ht.length,wn=Ir(jt),Hn=Ir(Ht);wn.forEach(function(Jt){for(var Gn=!1,St=gt;St<cn;St+=1){var Ft=Hn[St];if(Ft.key===Jt.key){gt<St&&(sn=sn.concat(Hn.slice(gt,St).map(function(Xt){return(0,ve.Z)((0,ve.Z)({},Xt),{},{status:nr})})),gt=St),sn.push((0,ve.Z)((0,ve.Z)({},Ft),{},{status:fr})),gt+=1,Gn=!0;break}}Gn||sn.push((0,ve.Z)((0,ve.Z)({},Jt),{},{status:Ur}))}),gt<cn&&(sn=sn.concat(Hn.slice(gt).map(function(Jt){return(0,ve.Z)((0,ve.Z)({},Jt),{},{status:nr})})));var Vt={};sn.forEach(function(Jt){var Gn=Jt.key;Vt[Gn]=(Vt[Gn]||0)+1});var en=Object.keys(Vt).filter(function(Jt){return Vt[Jt]>1});return en.forEach(function(Jt){sn=sn.filter(function(Gn){var St=Gn.key,Ft=Gn.status;return St!==Jt||Ft!==Ur}),sn.forEach(function(Gn){Gn.key===Jt&&(Gn.status=fr)})}),sn}var tn=["component","children","onVisibleChanged","onAllRemoved"],dn=["status"],vn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function xn(jt){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kn,sn=function(gt){(0,le.Z)(wn,gt);var cn=(0,ce.Z)(wn);function wn(){var Hn;(0,se.Z)(this,wn);for(var Vt=arguments.length,en=new Array(Vt),Jt=0;Jt<Vt;Jt++)en[Jt]=arguments[Jt];return Hn=cn.call.apply(cn,[this].concat(en)),(0,xe.Z)((0,ie.Z)(Hn),"state",{keyEntities:[]}),(0,xe.Z)((0,ie.Z)(Hn),"removeKey",function(Gn){var St=Hn.state.keyEntities,Ft=St.map(function(Xt){return Xt.key!==Gn?Xt:(0,ve.Z)((0,ve.Z)({},Xt),{},{status:Gr})});return Hn.setState({keyEntities:Ft}),Ft.filter(function(Xt){var _n=Xt.status;return _n!==Gr}).length}),Hn}return(0,re.Z)(wn,[{key:"render",value:function(){var Vt=this,en=this.state.keyEntities,Jt=this.props,Gn=Jt.component,St=Jt.children,Ft=Jt.onVisibleChanged,Xt=Jt.onAllRemoved,_n=(0,ge.Z)(Jt,tn),Ln=Gn||x.Fragment,Fn={};return vn.forEach(function(kt){Fn[kt]=_n[kt],delete _n[kt]}),delete _n.keys,x.createElement(Ln,_n,en.map(function(kt){var Kt=kt.status,Gt=(0,ge.Z)(kt,dn),Qt=Kt===nr||Kt===fr;return x.createElement(Ht,(0,Se.Z)({},Fn,{key:Gt.key,visible:Qt,eventProps:Gt,onVisibleChanged:function(hn){if(Ft==null||Ft(hn,{key:Gt.key}),!hn){var ht=Vt.removeKey(Gt.key);ht===0&&Xt&&Xt()}}}),St)}))}}],[{key:"getDerivedStateFromProps",value:function(Vt,en){var Jt=Vt.keys,Gn=en.keyEntities,St=Ir(Jt),Ft=bn(Gn,St);return{keyEntities:Ft.filter(function(Xt){var _n=Gn.find(function(Ln){var Fn=Ln.key;return Xt.key===Fn});return!(_n&&_n.status===Gr&&Xt.status===Ur)})}}}]),wn}(x.Component);return(0,xe.Z)(sn,"defaultProps",{component:"div"}),sn}var tr=xn(Je),Vn=Kn,pr=fe(56261);function ar(jt,Ht){var sn=x.useState(!1),gt=(0,ue.Z)(sn,2),cn=gt[0],wn=gt[1];x.useLayoutEffect(function(){if(cn)return jt(),function(){Ht()}},[cn]),x.useLayoutEffect(function(){return wn(!0),function(){wn(!1)}},[])}var xt=fe(83898),It=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Rt=function(Ht,sn){var gt=Ht.className,cn=Ht.style,wn=Ht.motion,Hn=Ht.motionNodes,Vt=Ht.motionType,en=Ht.onMotionStart,Jt=Ht.onMotionEnd,Gn=Ht.active,St=Ht.treeNodeRequiredProps,Ft=(0,ge.Z)(Ht,It),Xt=x.useState(!0),_n=(0,ue.Z)(Xt,2),Ln=_n[0],Fn=_n[1],kt=x.useContext(b.k),Kt=kt.prefixCls,Gt=Hn&&Vt!=="hide";pe(function(){Hn&&Gt!==Ln&&Fn(Gt)},[Hn]);var Qt=function(){Hn&&en()},Dn=x.useRef(!1),hn=function(){Hn&&!Dn.current&&(Dn.current=!0,Jt())};ar(Qt,hn);var ht=function(ft){Gt===ft&&hn()};return Hn?x.createElement(Vn,(0,Se.Z)({ref:sn,visible:Ln},wn,{motionAppear:Vt==="show",onVisibleChanged:ht}),function(lt,ft){var Ct=lt.className,Nt=lt.style;return x.createElement("div",{ref:ft,className:oe()("".concat(Kt,"-treenode-motion"),Ct),style:Nt},Hn.map(function(Yt){var pn=(0,Se.Z)({},((0,z.Z)(Yt.data),Yt.data)),Tn=Yt.title,Un=Yt.key,Zn=Yt.isStart,Wn=Yt.isEnd;delete pn.children;var En=(0,xt.H8)(Un,St);return x.createElement(pr.Z,(0,Se.Z)({},pn,En,{title:Tn,active:Gn,data:Yt.data,key:Un,isStart:Zn,isEnd:Wn}))}))}):x.createElement(pr.Z,(0,Se.Z)({domRef:sn,className:gt,style:cn},Ft,{active:Gn}))};Rt.displayName="MotionTreeNode";var fn=x.forwardRef(Rt),Nn=fn;function jn(){var jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],sn=jt.length,gt=Ht.length;if(Math.abs(sn-gt)!==1)return{add:!1,key:null};function cn(wn,Hn){var Vt=new Map;wn.forEach(function(Jt){Vt.set(Jt,!0)});var en=Hn.filter(function(Jt){return!Vt.has(Jt)});return en.length===1?en[0]:null}return sn<gt?{add:!0,key:cn(jt,Ht)}:{add:!1,key:cn(Ht,jt)}}function gr(jt,Ht,sn){var gt=jt.findIndex(function(Vt){return Vt.key===sn}),cn=jt[gt+1],wn=Ht.findIndex(function(Vt){return Vt.key===sn});if(cn){var Hn=Ht.findIndex(function(Vt){return Vt.key===cn.key});return Ht.slice(wn+1,Hn)}return Ht.slice(wn+1)}var hr=["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"],qn={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Br=function(){},lo="RC_TREE_MOTION_".concat(Math.random()),Or={key:lo},An={key:lo,level:0,index:0,pos:"0",node:Or,nodes:[Or]},_r={parent:null,children:[],pos:An.pos,data:Or,title:null,key:lo,isStart:[],isEnd:[]};function zt(jt,Ht,sn,gt){return Ht===!1||!sn?jt:jt.slice(0,Math.ceil(sn/gt)+1)}function ln(jt){var Ht=jt.key,sn=jt.pos;return(0,xt.km)(Ht,sn)}function an(jt){for(var Ht=String(jt.data.key),sn=jt;sn.parent;)sn=sn.parent,Ht="".concat(sn.data.key," > ").concat(Ht);return Ht}var mn=x.forwardRef(function(jt,Ht){var sn=jt.prefixCls,gt=jt.data,cn=jt.selectable,wn=jt.checkable,Hn=jt.expandedKeys,Vt=jt.selectedKeys,en=jt.checkedKeys,Jt=jt.loadedKeys,Gn=jt.loadingKeys,St=jt.halfCheckedKeys,Ft=jt.keyEntities,Xt=jt.disabled,_n=jt.dragging,Ln=jt.dragOverNodeKey,Fn=jt.dropPosition,kt=jt.motion,Kt=jt.height,Gt=jt.itemHeight,Qt=jt.virtual,Dn=jt.focusable,hn=jt.activeItem,ht=jt.focused,lt=jt.tabIndex,ft=jt.onKeyDown,Ct=jt.onFocus,Nt=jt.onBlur,Yt=jt.onActiveChange,pn=jt.onListChangeStart,Tn=jt.onListChangeEnd,Un=(0,ge.Z)(jt,hr),Zn=x.useRef(null),Wn=x.useRef(null);x.useImperativeHandle(Ht,function(){return{scrollTo:function(oa){Zn.current.scrollTo(oa)},getIndentWidth:function(){return Wn.current.offsetWidth}}});var En=x.useState(Hn),$n=(0,ue.Z)(En,2),yr=$n[0],wr=$n[1],qr=x.useState(gt),Rr=(0,ue.Z)(qr,2),Zr=Rr[0],$r=Rr[1],Ro=x.useState(gt),mr=(0,ue.Z)(Ro,2),ro=mr[0],bo=mr[1],Oo=x.useState([]),eo=(0,ue.Z)(Oo,2),sr=eo[0],Ao=eo[1],kr=x.useState(null),Eo=(0,ue.Z)(kr,2),xo=Eo[0],vo=Eo[1],So=x.useRef(gt);So.current=gt;function Bo(){var Po=So.current;$r(Po),bo(Po),Ao([]),vo(null),Tn()}pe(function(){wr(Hn);var Po=jn(yr,Hn);if(Po.key!==null)if(Po.add){var oa=Zr.findIndex(function(Ko){var ea=Ko.key;return ea===Po.key}),ca=zt(gr(Zr,gt,Po.key),Qt,Kt,Gt),aa=Zr.slice();aa.splice(oa+1,0,_r),bo(aa),Ao(ca),vo("show")}else{var ha=gt.findIndex(function(Ko){var ea=Ko.key;return ea===Po.key}),Go=zt(gr(gt,Zr,Po.key),Qt,Kt,Gt),pa=gt.slice();pa.splice(ha+1,0,_r),bo(pa),Ao(Go),vo("hide")}else Zr!==gt&&($r(gt),bo(gt))},[Hn,gt]),x.useEffect(function(){_n||Bo()},[_n]);var Xo=kt?ro:gt,ra={expandedKeys:Hn,selectedKeys:Vt,loadedKeys:Jt,loadingKeys:Gn,checkedKeys:en,halfCheckedKeys:St,dragOverNodeKey:Ln,dropPosition:Fn,keyEntities:Ft};return x.createElement(x.Fragment,null,ht&&hn&&x.createElement("span",{style:qn,"aria-live":"assertive"},an(hn)),x.createElement("div",null,x.createElement("input",{style:qn,disabled:Dn===!1||Xt,tabIndex:Dn!==!1?lt:null,onKeyDown:ft,onFocus:Ct,onBlur:Nt,value:"",onChange:Br,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(sn,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(sn,"-indent")},x.createElement("div",{ref:Wn,className:"".concat(sn,"-indent-unit")}))),x.createElement(ye.Z,(0,Se.Z)({},Un,{data:Xo,itemKey:ln,height:Kt,fullHeight:!1,virtual:Qt,itemHeight:Gt,prefixCls:"".concat(sn,"-list"),ref:Zn,onVisibleChange:function(oa,ca){var aa=new Set(oa),ha=ca.filter(function(Go){return!aa.has(Go)});ha.some(function(Go){return ln(Go)===lo})&&Bo()}}),function(Po){var oa=Po.pos,ca=(0,Se.Z)({},((0,z.Z)(Po.data),Po.data)),aa=Po.title,ha=Po.key,Go=Po.isStart,pa=Po.isEnd,Ko=(0,xt.km)(ha,oa);delete ca.key,delete ca.children;var ea=(0,xt.H8)(Ko,ra);return x.createElement(Nn,(0,Se.Z)({},ca,ea,{title:aa,active:!!hn&&ha===hn.key,pos:oa,data:Po.data,isStart:Go,isEnd:pa,motion:kt,motionNodes:ha===lo?sr:null,motionType:xo,onMotionStart:pn,onMotionEnd:Bo,treeNodeRequiredProps:ra,onMouseMove:function(){Yt(null)}}))}))});mn.displayName="NodeList";var zn=mn,Dt=fe(29873),Bn=fe(97153),yn=fe(3596),Er=10,ir=function(jt){(0,le.Z)(sn,jt);var Ht=(0,ce.Z)(sn);function sn(){var gt;(0,se.Z)(this,sn);for(var cn=arguments.length,wn=new Array(cn),Hn=0;Hn<cn;Hn++)wn[Hn]=arguments[Hn];return gt=Ht.call.apply(Ht,[this].concat(wn)),gt.destroyed=!1,gt.delayedDragEnterLogic=void 0,gt.loadingRetryTimes={},gt.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,xt.w$)()},gt.dragStartMousePosition=null,gt.dragNode=void 0,gt.currentMouseOverDroppableNodeKey=null,gt.listRef=x.createRef(),gt.onNodeDragStart=function(Vt,en){var Jt=gt.state,Gn=Jt.expandedKeys,St=Jt.keyEntities,Ft=gt.props.onDragStart,Xt=en.props.eventKey;gt.dragNode=en,gt.dragStartMousePosition={x:Vt.clientX,y:Vt.clientY};var _n=(0,Dt._5)(Gn,Xt);gt.setState({draggingNodeKey:Xt,dragChildrenKeys:(0,Dt.wA)(Xt,St),indent:gt.listRef.current.getIndentWidth()}),gt.setExpandedKeys(_n),window.addEventListener("dragend",gt.onWindowDragEnd),Ft==null||Ft({event:Vt,node:(0,xt.F)(en.props)})},gt.onNodeDragEnter=function(Vt,en){var Jt=gt.state,Gn=Jt.expandedKeys,St=Jt.keyEntities,Ft=Jt.dragChildrenKeys,Xt=Jt.flattenNodes,_n=Jt.indent,Ln=gt.props,Fn=Ln.onDragEnter,kt=Ln.onExpand,Kt=Ln.allowDrop,Gt=Ln.direction,Qt=en.props,Dn=Qt.pos,hn=Qt.eventKey,ht=(0,ie.Z)(gt),lt=ht.dragNode;if(gt.currentMouseOverDroppableNodeKey!==hn&&(gt.currentMouseOverDroppableNodeKey=hn),!lt){gt.resetDragState();return}var ft=(0,Dt.OM)(Vt,lt,en,_n,gt.dragStartMousePosition,Kt,Xt,St,Gn,Gt),Ct=ft.dropPosition,Nt=ft.dropLevelOffset,Yt=ft.dropTargetKey,pn=ft.dropContainerKey,Tn=ft.dropTargetPos,Un=ft.dropAllowed,Zn=ft.dragOverNodeKey;if(Ft.indexOf(Yt)!==-1||!Un){gt.resetDragState();return}if(gt.delayedDragEnterLogic||(gt.delayedDragEnterLogic={}),Object.keys(gt.delayedDragEnterLogic).forEach(function(Wn){clearTimeout(gt.delayedDragEnterLogic[Wn])}),lt.props.eventKey!==en.props.eventKey&&(Vt.persist(),gt.delayedDragEnterLogic[Dn]=window.setTimeout(function(){if(gt.state.draggingNodeKey!==null){var Wn=(0,de.Z)(Gn),En=(0,yn.Z)(St,en.props.eventKey);En&&(En.children||[]).length&&(Wn=(0,Dt.L0)(Gn,en.props.eventKey)),"expandedKeys"in gt.props||gt.setExpandedKeys(Wn),kt==null||kt(Wn,{node:(0,xt.F)(en.props),expanded:!0,nativeEvent:Vt.nativeEvent})}},800)),lt.props.eventKey===Yt&&Nt===0){gt.resetDragState();return}gt.setState({dragOverNodeKey:Zn,dropPosition:Ct,dropLevelOffset:Nt,dropTargetKey:Yt,dropContainerKey:pn,dropTargetPos:Tn,dropAllowed:Un}),Fn==null||Fn({event:Vt,node:(0,xt.F)(en.props),expandedKeys:Gn})},gt.onNodeDragOver=function(Vt,en){var Jt=gt.state,Gn=Jt.dragChildrenKeys,St=Jt.flattenNodes,Ft=Jt.keyEntities,Xt=Jt.expandedKeys,_n=Jt.indent,Ln=gt.props,Fn=Ln.onDragOver,kt=Ln.allowDrop,Kt=Ln.direction,Gt=(0,ie.Z)(gt),Qt=Gt.dragNode;if(Qt){var Dn=(0,Dt.OM)(Vt,Qt,en,_n,gt.dragStartMousePosition,kt,St,Ft,Xt,Kt),hn=Dn.dropPosition,ht=Dn.dropLevelOffset,lt=Dn.dropTargetKey,ft=Dn.dropContainerKey,Ct=Dn.dropAllowed,Nt=Dn.dropTargetPos,Yt=Dn.dragOverNodeKey;Gn.indexOf(lt)!==-1||!Ct||(Qt.props.eventKey===lt&&ht===0?gt.state.dropPosition===null&>.state.dropLevelOffset===null&>.state.dropTargetKey===null&>.state.dropContainerKey===null&>.state.dropTargetPos===null&>.state.dropAllowed===!1&>.state.dragOverNodeKey===null||gt.resetDragState():hn===gt.state.dropPosition&&ht===gt.state.dropLevelOffset&<===gt.state.dropTargetKey&&ft===gt.state.dropContainerKey&&Nt===gt.state.dropTargetPos&&Ct===gt.state.dropAllowed&&Yt===gt.state.dragOverNodeKey||gt.setState({dropPosition:hn,dropLevelOffset:ht,dropTargetKey:lt,dropContainerKey:ft,dropTargetPos:Nt,dropAllowed:Ct,dragOverNodeKey:Yt}),Fn==null||Fn({event:Vt,node:(0,xt.F)(en.props)}))}},gt.onNodeDragLeave=function(Vt,en){gt.currentMouseOverDroppableNodeKey===en.props.eventKey&&!Vt.currentTarget.contains(Vt.relatedTarget)&&(gt.resetDragState(),gt.currentMouseOverDroppableNodeKey=null);var Jt=gt.props.onDragLeave;Jt==null||Jt({event:Vt,node:(0,xt.F)(en.props)})},gt.onWindowDragEnd=function(Vt){gt.onNodeDragEnd(Vt,null,!0),window.removeEventListener("dragend",gt.onWindowDragEnd)},gt.onNodeDragEnd=function(Vt,en){var Jt=gt.props.onDragEnd;gt.setState({dragOverNodeKey:null}),gt.cleanDragState(),Jt==null||Jt({event:Vt,node:(0,xt.F)(en.props)}),gt.dragNode=null,window.removeEventListener("dragend",gt.onWindowDragEnd)},gt.onNodeDrop=function(Vt,en){var Jt,Gn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,St=gt.state,Ft=St.dragChildrenKeys,Xt=St.dropPosition,_n=St.dropTargetKey,Ln=St.dropTargetPos,Fn=St.dropAllowed;if(Fn){var kt=gt.props.onDrop;if(gt.setState({dragOverNodeKey:null}),gt.cleanDragState(),_n!==null){var Kt=(0,ve.Z)((0,ve.Z)({},(0,xt.H8)(_n,gt.getTreeNodeRequiredProps())),{},{active:((Jt=gt.getActiveItem())===null||Jt===void 0?void 0:Jt.key)===_n,data:(0,yn.Z)(gt.state.keyEntities,_n).node}),Gt=Ft.indexOf(_n)!==-1;(0,y.ZP)(!Gt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Qt=(0,Dt.yx)(Ln),Dn={event:Vt,node:(0,xt.F)(Kt),dragNode:gt.dragNode?(0,xt.F)(gt.dragNode.props):null,dragNodesKeys:[gt.dragNode.props.eventKey].concat(Ft),dropToGap:Xt!==0,dropPosition:Xt+Number(Qt[Qt.length-1])};Gn||kt==null||kt(Dn),gt.dragNode=null}}},gt.cleanDragState=function(){var Vt=gt.state.draggingNodeKey;Vt!==null&>.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),gt.dragStartMousePosition=null,gt.currentMouseOverDroppableNodeKey=null},gt.triggerExpandActionExpand=function(Vt,en){var Jt=gt.state,Gn=Jt.expandedKeys,St=Jt.flattenNodes,Ft=en.expanded,Xt=en.key,_n=en.isLeaf;if(!(_n||Vt.shiftKey||Vt.metaKey||Vt.ctrlKey)){var Ln=St.filter(function(kt){return kt.key===Xt})[0],Fn=(0,xt.F)((0,ve.Z)((0,ve.Z)({},(0,xt.H8)(Xt,gt.getTreeNodeRequiredProps())),{},{data:Ln.data}));gt.setExpandedKeys(Ft?(0,Dt._5)(Gn,Xt):(0,Dt.L0)(Gn,Xt)),gt.onNodeExpand(Vt,Fn)}},gt.onNodeClick=function(Vt,en){var Jt=gt.props,Gn=Jt.onClick,St=Jt.expandAction;St==="click"&>.triggerExpandActionExpand(Vt,en),Gn==null||Gn(Vt,en)},gt.onNodeDoubleClick=function(Vt,en){var Jt=gt.props,Gn=Jt.onDoubleClick,St=Jt.expandAction;St==="doubleClick"&>.triggerExpandActionExpand(Vt,en),Gn==null||Gn(Vt,en)},gt.onNodeSelect=function(Vt,en){var Jt=gt.state.selectedKeys,Gn=gt.state,St=Gn.keyEntities,Ft=Gn.fieldNames,Xt=gt.props,_n=Xt.onSelect,Ln=Xt.multiple,Fn=en.selected,kt=en[Ft.key],Kt=!Fn;Kt?Ln?Jt=(0,Dt.L0)(Jt,kt):Jt=[kt]:Jt=(0,Dt._5)(Jt,kt);var Gt=Jt.map(function(Qt){var Dn=(0,yn.Z)(St,Qt);return Dn?Dn.node:null}).filter(function(Qt){return Qt});gt.setUncontrolledState({selectedKeys:Jt}),_n==null||_n(Jt,{event:"select",selected:Kt,node:en,selectedNodes:Gt,nativeEvent:Vt.nativeEvent})},gt.onNodeCheck=function(Vt,en,Jt){var Gn=gt.state,St=Gn.keyEntities,Ft=Gn.checkedKeys,Xt=Gn.halfCheckedKeys,_n=gt.props,Ln=_n.checkStrictly,Fn=_n.onCheck,kt=en.key,Kt,Gt={event:"check",node:en,checked:Jt,nativeEvent:Vt.nativeEvent};if(Ln){var Qt=Jt?(0,Dt.L0)(Ft,kt):(0,Dt._5)(Ft,kt),Dn=(0,Dt._5)(Xt,kt);Kt={checked:Qt,halfChecked:Dn},Gt.checkedNodes=Qt.map(function(Nt){return(0,yn.Z)(St,Nt)}).filter(function(Nt){return Nt}).map(function(Nt){return Nt.node}),gt.setUncontrolledState({checkedKeys:Qt})}else{var hn=(0,Bn.S)([].concat((0,de.Z)(Ft),[kt]),!0,St),ht=hn.checkedKeys,lt=hn.halfCheckedKeys;if(!Jt){var ft=new Set(ht);ft.delete(kt);var Ct=(0,Bn.S)(Array.from(ft),{checked:!1,halfCheckedKeys:lt},St);ht=Ct.checkedKeys,lt=Ct.halfCheckedKeys}Kt=ht,Gt.checkedNodes=[],Gt.checkedNodesPositions=[],Gt.halfCheckedKeys=lt,ht.forEach(function(Nt){var Yt=(0,yn.Z)(St,Nt);if(Yt){var pn=Yt.node,Tn=Yt.pos;Gt.checkedNodes.push(pn),Gt.checkedNodesPositions.push({node:pn,pos:Tn})}}),gt.setUncontrolledState({checkedKeys:ht},!1,{halfCheckedKeys:lt})}Fn==null||Fn(Kt,Gt)},gt.onNodeLoad=function(Vt){var en=Vt.key,Jt=new Promise(function(Gn,St){gt.setState(function(Ft){var Xt=Ft.loadedKeys,_n=Xt===void 0?[]:Xt,Ln=Ft.loadingKeys,Fn=Ln===void 0?[]:Ln,kt=gt.props,Kt=kt.loadData,Gt=kt.onLoad;if(!Kt||_n.indexOf(en)!==-1||Fn.indexOf(en)!==-1)return null;var Qt=Kt(Vt);return Qt.then(function(){var Dn=gt.state.loadedKeys,hn=(0,Dt.L0)(Dn,en);Gt==null||Gt(hn,{event:"load",node:Vt}),gt.setUncontrolledState({loadedKeys:hn}),gt.setState(function(ht){return{loadingKeys:(0,Dt._5)(ht.loadingKeys,en)}}),Gn()}).catch(function(Dn){if(gt.setState(function(ht){return{loadingKeys:(0,Dt._5)(ht.loadingKeys,en)}}),gt.loadingRetryTimes[en]=(gt.loadingRetryTimes[en]||0)+1,gt.loadingRetryTimes[en]>=Er){var hn=gt.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),gt.setUncontrolledState({loadedKeys:(0,Dt.L0)(hn,en)}),Gn()}St(Dn)}),{loadingKeys:(0,Dt.L0)(Fn,en)}})});return Jt.catch(function(){}),Jt},gt.onNodeMouseEnter=function(Vt,en){var Jt=gt.props.onMouseEnter;Jt==null||Jt({event:Vt,node:en})},gt.onNodeMouseLeave=function(Vt,en){var Jt=gt.props.onMouseLeave;Jt==null||Jt({event:Vt,node:en})},gt.onNodeContextMenu=function(Vt,en){var Jt=gt.props.onRightClick;Jt&&(Vt.preventDefault(),Jt({event:Vt,node:en}))},gt.onFocus=function(){var Vt=gt.props.onFocus;gt.setState({focused:!0});for(var en=arguments.length,Jt=new Array(en),Gn=0;Gn<en;Gn++)Jt[Gn]=arguments[Gn];Vt==null||Vt.apply(void 0,Jt)},gt.onBlur=function(){var Vt=gt.props.onBlur;gt.setState({focused:!1}),gt.onActiveChange(null);for(var en=arguments.length,Jt=new Array(en),Gn=0;Gn<en;Gn++)Jt[Gn]=arguments[Gn];Vt==null||Vt.apply(void 0,Jt)},gt.getTreeNodeRequiredProps=function(){var Vt=gt.state,en=Vt.expandedKeys,Jt=Vt.selectedKeys,Gn=Vt.loadedKeys,St=Vt.loadingKeys,Ft=Vt.checkedKeys,Xt=Vt.halfCheckedKeys,_n=Vt.dragOverNodeKey,Ln=Vt.dropPosition,Fn=Vt.keyEntities;return{expandedKeys:en||[],selectedKeys:Jt||[],loadedKeys:Gn||[],loadingKeys:St||[],checkedKeys:Ft||[],halfCheckedKeys:Xt||[],dragOverNodeKey:_n,dropPosition:Ln,keyEntities:Fn}},gt.setExpandedKeys=function(Vt){var en=gt.state,Jt=en.treeData,Gn=en.fieldNames,St=(0,xt.oH)(Jt,Vt,Gn);gt.setUncontrolledState({expandedKeys:Vt,flattenNodes:St},!0)},gt.onNodeExpand=function(Vt,en){var Jt=gt.state.expandedKeys,Gn=gt.state,St=Gn.listChanging,Ft=Gn.fieldNames,Xt=gt.props,_n=Xt.onExpand,Ln=Xt.loadData,Fn=en.expanded,kt=en[Ft.key];if(!St){var Kt=Jt.indexOf(kt),Gt=!Fn;if((0,y.ZP)(Fn&&Kt!==-1||!Fn&&Kt===-1,"Expand state not sync with index check"),Gt?Jt=(0,Dt.L0)(Jt,kt):Jt=(0,Dt._5)(Jt,kt),gt.setExpandedKeys(Jt),_n==null||_n(Jt,{node:en,expanded:Gt,nativeEvent:Vt.nativeEvent}),Gt&&Ln){var Qt=gt.onNodeLoad(en);Qt&&Qt.then(function(){var Dn=(0,xt.oH)(gt.state.treeData,Jt,Ft);gt.setUncontrolledState({flattenNodes:Dn})}).catch(function(){var Dn=gt.state.expandedKeys,hn=(0,Dt._5)(Dn,kt);gt.setExpandedKeys(hn)})}}},gt.onListChangeStart=function(){gt.setUncontrolledState({listChanging:!0})},gt.onListChangeEnd=function(){setTimeout(function(){gt.setUncontrolledState({listChanging:!1})})},gt.onActiveChange=function(Vt){var en=gt.state.activeKey,Jt=gt.props.onActiveChange;en!==Vt&&(gt.setState({activeKey:Vt}),Vt!==null&>.scrollTo({key:Vt}),Jt==null||Jt(Vt))},gt.getActiveItem=function(){var Vt=gt.state,en=Vt.activeKey,Jt=Vt.flattenNodes;return en===null?null:Jt.find(function(Gn){var St=Gn.key;return St===en})||null},gt.offsetActiveKey=function(Vt){var en=gt.state,Jt=en.flattenNodes,Gn=en.activeKey,St=Jt.findIndex(function(_n){var Ln=_n.key;return Ln===Gn});St===-1&&Vt<0&&(St=Jt.length),St=(St+Vt+Jt.length)%Jt.length;var Ft=Jt[St];if(Ft){var Xt=Ft.key;gt.onActiveChange(Xt)}else gt.onActiveChange(null)},gt.onKeyDown=function(Vt){var en=gt.state,Jt=en.activeKey,Gn=en.expandedKeys,St=en.checkedKeys,Ft=en.fieldNames,Xt=gt.props,_n=Xt.onKeyDown,Ln=Xt.checkable,Fn=Xt.selectable;switch(Vt.which){case ee.UP:{gt.offsetActiveKey(-1),Vt.preventDefault();break}case ee.DOWN:{gt.offsetActiveKey(1),Vt.preventDefault();break}}var kt=gt.getActiveItem();if(kt&&kt.data){var Kt=gt.getTreeNodeRequiredProps(),Gt=kt.data.isLeaf===!1||!!(kt.data[Ft.children]||[]).length,Qt=(0,xt.F)((0,ve.Z)((0,ve.Z)({},(0,xt.H8)(Jt,Kt)),{},{data:kt.data,active:!0}));switch(Vt.which){case ee.LEFT:{Gt&&Gn.includes(Jt)?gt.onNodeExpand({},Qt):kt.parent&>.onActiveChange(kt.parent.key),Vt.preventDefault();break}case ee.RIGHT:{Gt&&!Gn.includes(Jt)?gt.onNodeExpand({},Qt):kt.children&&kt.children.length&>.onActiveChange(kt.children[0].key),Vt.preventDefault();break}case ee.ENTER:case ee.SPACE:{Ln&&!Qt.disabled&&Qt.checkable!==!1&&!Qt.disableCheckbox?gt.onNodeCheck({},Qt,!St.includes(Jt)):!Ln&&Fn&&!Qt.disabled&&Qt.selectable!==!1&>.onNodeSelect({},Qt);break}}}_n==null||_n(Vt)},gt.setUncontrolledState=function(Vt){var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!gt.destroyed){var Gn=!1,St=!0,Ft={};Object.keys(Vt).forEach(function(Xt){if(Xt in gt.props){St=!1;return}Gn=!0,Ft[Xt]=Vt[Xt]}),Gn&&(!en||St)&>.setState((0,ve.Z)((0,ve.Z)({},Ft),Jt))}},gt.scrollTo=function(Vt){gt.listRef.current.scrollTo(Vt)},gt}return(0,re.Z)(sn,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var cn=this.props.activeKey;cn!==void 0&&cn!==this.state.activeKey&&(this.setState({activeKey:cn}),cn!==null&&this.scrollTo({key:cn}))}},{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 cn,wn=this.state,Hn=wn.focused,Vt=wn.flattenNodes,en=wn.keyEntities,Jt=wn.draggingNodeKey,Gn=wn.activeKey,St=wn.dropLevelOffset,Ft=wn.dropContainerKey,Xt=wn.dropTargetKey,_n=wn.dropPosition,Ln=wn.dragOverNodeKey,Fn=wn.indent,kt=this.props,Kt=kt.prefixCls,Gt=kt.className,Qt=kt.style,Dn=kt.showLine,hn=kt.focusable,ht=kt.tabIndex,lt=ht===void 0?0:ht,ft=kt.selectable,Ct=kt.showIcon,Nt=kt.icon,Yt=kt.switcherIcon,pn=kt.draggable,Tn=kt.checkable,Un=kt.checkStrictly,Zn=kt.disabled,Wn=kt.motion,En=kt.loadData,$n=kt.filterTreeNode,yr=kt.height,wr=kt.itemHeight,qr=kt.virtual,Rr=kt.titleRender,Zr=kt.dropIndicatorRender,$r=kt.onContextMenu,Ro=kt.onScroll,mr=kt.direction,ro=kt.rootClassName,bo=kt.rootStyle,Oo=(0,a.Z)(this.props,{aria:!0,data:!0}),eo;return pn&&((0,E.Z)(pn)==="object"?eo=pn:typeof pn=="function"?eo={nodeDraggable:pn}:eo={}),x.createElement(b.k.Provider,{value:{prefixCls:Kt,selectable:ft,showIcon:Ct,icon:Nt,switcherIcon:Yt,draggable:eo,draggingNodeKey:Jt,checkable:Tn,checkStrictly:Un,disabled:Zn,keyEntities:en,dropLevelOffset:St,dropContainerKey:Ft,dropTargetKey:Xt,dropPosition:_n,dragOverNodeKey:Ln,indent:Fn,direction:mr,dropIndicatorRender:Zr,loadData:En,filterTreeNode:$n,titleRender:Rr,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()(Kt,Gt,ro,(cn={},(0,xe.Z)(cn,"".concat(Kt,"-show-line"),Dn),(0,xe.Z)(cn,"".concat(Kt,"-focused"),Hn),(0,xe.Z)(cn,"".concat(Kt,"-active-focused"),Gn!==null),cn)),style:bo},x.createElement(zn,(0,Se.Z)({ref:this.listRef,prefixCls:Kt,style:Qt,data:Vt,disabled:Zn,selectable:ft,checkable:!!Tn,motion:Wn,dragging:Jt!==null,height:yr,itemHeight:wr,virtual:qr,focusable:hn,focused:Hn,tabIndex:lt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:$r,onScroll:Ro},this.getTreeNodeRequiredProps(),Oo))))}}],[{key:"getDerivedStateFromProps",value:function(cn,wn){var Hn=wn.prevProps,Vt={prevProps:cn};function en(hn){return!Hn&&hn in cn||Hn&&Hn[hn]!==cn[hn]}var Jt,Gn=wn.fieldNames;if(en("fieldNames")&&(Gn=(0,xt.w$)(cn.fieldNames),Vt.fieldNames=Gn),en("treeData")?Jt=cn.treeData:en("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Jt=(0,xt.zn)(cn.children)),Jt){Vt.treeData=Jt;var St=(0,xt.I8)(Jt,{fieldNames:Gn});Vt.keyEntities=(0,ve.Z)((0,xe.Z)({},lo,An),St.keyEntities)}var Ft=Vt.keyEntities||wn.keyEntities;if(en("expandedKeys")||Hn&&en("autoExpandParent"))Vt.expandedKeys=cn.autoExpandParent||!Hn&&cn.defaultExpandParent?(0,Dt.r7)(cn.expandedKeys,Ft):cn.expandedKeys;else if(!Hn&&cn.defaultExpandAll){var Xt=(0,ve.Z)({},Ft);delete Xt[lo],Vt.expandedKeys=Object.keys(Xt).map(function(hn){return Xt[hn].key})}else!Hn&&cn.defaultExpandedKeys&&(Vt.expandedKeys=cn.autoExpandParent||cn.defaultExpandParent?(0,Dt.r7)(cn.defaultExpandedKeys,Ft):cn.defaultExpandedKeys);if(Vt.expandedKeys||delete Vt.expandedKeys,Jt||Vt.expandedKeys){var _n=(0,xt.oH)(Jt||wn.treeData,Vt.expandedKeys||wn.expandedKeys,Gn);Vt.flattenNodes=_n}if(cn.selectable&&(en("selectedKeys")?Vt.selectedKeys=(0,Dt.BT)(cn.selectedKeys,cn):!Hn&&cn.defaultSelectedKeys&&(Vt.selectedKeys=(0,Dt.BT)(cn.defaultSelectedKeys,cn))),cn.checkable){var Ln;if(en("checkedKeys")?Ln=(0,Dt.E6)(cn.checkedKeys)||{}:!Hn&&cn.defaultCheckedKeys?Ln=(0,Dt.E6)(cn.defaultCheckedKeys)||{}:Jt&&(Ln=(0,Dt.E6)(cn.checkedKeys)||{checkedKeys:wn.checkedKeys,halfCheckedKeys:wn.halfCheckedKeys}),Ln){var Fn=Ln,kt=Fn.checkedKeys,Kt=kt===void 0?[]:kt,Gt=Fn.halfCheckedKeys,Qt=Gt===void 0?[]:Gt;if(!cn.checkStrictly){var Dn=(0,Bn.S)(Kt,!0,Ft);Kt=Dn.checkedKeys,Qt=Dn.halfCheckedKeys}Vt.checkedKeys=Kt,Vt.halfCheckedKeys=Qt}}return en("loadedKeys")&&(Vt.loadedKeys=cn.loadedKeys),Vt}}]),sn}(x.Component);ir.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:te,allowDrop:function(){return!0},expandAction:!1},ir.TreeNode=pr.Z;var Mr=ir,Wr=Mr,Pn=fe(73148),Qr=fe(56747),io={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"},Mo=io,oo=fe(74643),Ho=function(Ht,sn){return x.createElement(oo.Z,(0,Se.Z)({},Ht,{ref:sn,icon:Mo}))},kn=x.forwardRef(Ho),dr=fe(53124),ur=fe(50881),Xn=fe(33603),uo=fe(32157);const so=4;function yo(jt){const{dropPosition:Ht,dropLevelOffset:sn,prefixCls:gt,indent:cn,direction:wn="ltr"}=jt,Hn=wn==="ltr"?"left":"right",Vt=wn==="ltr"?"right":"left",en={[Hn]:-sn*cn+so,[Vt]:0};switch(Ht){case-1:en.top=-3;break;case 1:en.bottom=-3;break;default:en.bottom=-3,en[Hn]=cn+so;break}return x.createElement("div",{style:en,className:`${gt}-drop-indicator`})}var Fo=fe(99184),Mt=x.forwardRef((jt,Ht)=>{const{getPrefixCls:sn,direction:gt,virtual:cn,tree:wn}=x.useContext(dr.E_),{prefixCls:Hn,className:Vt,showIcon:en=!1,showLine:Jt,switcherIcon:Gn,blockNode:St=!1,children:Ft,checkable:Xt=!1,selectable:_n=!0,draggable:Ln,motion:Fn,style:kt}=jt,Kt=sn("tree",Hn),Gt=sn(),Qt=Fn!=null?Fn:Object.assign(Object.assign({},(0,Xn.Z)(Gt)),{motionAppear:!1}),Dn=Object.assign(Object.assign({},jt),{checkable:Xt,selectable:_n,showIcon:en,motion:Qt,blockNode:St,showLine:!!Jt,dropIndicatorRender:yo}),[hn,ht]=(0,uo.ZP)(Kt),lt=x.useMemo(()=>{if(!Ln)return!1;let Ct={};switch(typeof Ln){case"function":Ct.nodeDraggable=Ln;break;case"object":Ct=Object.assign({},Ln);break;default:break}return Ct.icon!==!1&&(Ct.icon=Ct.icon||x.createElement(ur.Z,null)),Ct},[Ln]),ft=Ct=>x.createElement(Fo.Z,{prefixCls:Kt,switcherIcon:Gn,treeNodeProps:Ct,showLine:Jt});return hn(x.createElement(Wr,Object.assign({itemHeight:20,ref:Ht,virtual:cn},Dn,{style:Object.assign(Object.assign({},wn==null?void 0:wn.style),kt),prefixCls:Kt,className:oe()({[`${Kt}-icon-hide`]:!en,[`${Kt}-block-node`]:St,[`${Kt}-unselectable`]:!_n,[`${Kt}-rtl`]:gt==="rtl"},wn==null?void 0:wn.className,Vt,ht),direction:gt,checkable:Xt&&x.createElement("span",{className:`${Kt}-checkbox-inner`}),selectable:_n,switcherIcon:ft,draggable:lt}),Ft))}),At;(function(jt){jt[jt.None=0]="None",jt[jt.Start=1]="Start",jt[jt.End=2]="End"})(At||(At={}));function rn(jt,Ht){function sn(gt){const{key:cn,children:wn}=gt;Ht(cn,gt)!==!1&&rn(wn||[],Ht)}jt.forEach(sn)}function Ut(jt){let{treeData:Ht,expandedKeys:sn,startKey:gt,endKey:cn}=jt;const wn=[];let Hn=At.None;if(gt&>===cn)return[gt];if(!gt||!cn)return[];function Vt(en){return en===gt||en===cn}return rn(Ht,en=>{if(Hn===At.End)return!1;if(Vt(en)){if(wn.push(en),Hn===At.None)Hn=At.Start;else if(Hn===At.Start)return Hn=At.End,!1}else Hn===At.Start&&wn.push(en);return sn.includes(en)}),wn}function On(jt,Ht){const sn=(0,de.Z)(Ht),gt=[];return rn(jt,(cn,wn)=>{const Hn=sn.indexOf(cn);return Hn!==-1&&(gt.push(wn),sn.splice(Hn,1)),!!sn.length}),gt}var er=function(jt,Ht){var sn={};for(var gt in jt)Object.prototype.hasOwnProperty.call(jt,gt)&&Ht.indexOf(gt)<0&&(sn[gt]=jt[gt]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,gt=Object.getOwnPropertySymbols(jt);cn<gt.length;cn++)Ht.indexOf(gt[cn])<0&&Object.prototype.propertyIsEnumerable.call(jt,gt[cn])&&(sn[gt[cn]]=jt[gt[cn]]);return sn};function vr(jt){const{isLeaf:Ht,expanded:sn}=jt;return Ht?x.createElement(Pn.Z,null):sn?x.createElement(Qr.Z,null):x.createElement(kn,null)}function xr(jt){let{treeData:Ht,children:sn}=jt;return Ht||(0,xt.zn)(sn)}const Nr=(jt,Ht)=>{var{defaultExpandAll:sn,defaultExpandParent:gt,defaultExpandedKeys:cn}=jt,wn=er(jt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Hn=x.useRef(),Vt=x.useRef(),en=()=>{const{keyEntities:lt}=(0,xt.I8)(xr(wn));let ft;return sn?ft=Object.keys(lt):gt?ft=(0,Dt.r7)(wn.expandedKeys||cn||[],lt):ft=wn.expandedKeys||cn,ft},[Jt,Gn]=x.useState(wn.selectedKeys||wn.defaultSelectedKeys||[]),[St,Ft]=x.useState(()=>en());x.useEffect(()=>{"selectedKeys"in wn&&Gn(wn.selectedKeys)},[wn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in wn&&Ft(wn.expandedKeys)},[wn.expandedKeys]);const Xt=(lt,ft)=>{var Ct;return"expandedKeys"in wn||Ft(lt),(Ct=wn.onExpand)===null||Ct===void 0?void 0:Ct.call(wn,lt,ft)},_n=(lt,ft)=>{var Ct;const{multiple:Nt}=wn,{node:Yt,nativeEvent:pn}=ft,{key:Tn=""}=Yt,Un=xr(wn),Zn=Object.assign(Object.assign({},ft),{selected:!0}),Wn=(pn==null?void 0:pn.ctrlKey)||(pn==null?void 0:pn.metaKey),En=pn==null?void 0:pn.shiftKey;let $n;Nt&&Wn?($n=lt,Hn.current=Tn,Vt.current=$n,Zn.selectedNodes=On(Un,$n)):Nt&&En?($n=Array.from(new Set([].concat((0,de.Z)(Vt.current||[]),(0,de.Z)(Ut({treeData:Un,expandedKeys:St,startKey:Tn,endKey:Hn.current}))))),Zn.selectedNodes=On(Un,$n)):($n=[Tn],Hn.current=Tn,Vt.current=$n,Zn.selectedNodes=On(Un,$n)),(Ct=wn.onSelect)===null||Ct===void 0||Ct.call(wn,$n,Zn),"selectedKeys"in wn||Gn($n)},{getPrefixCls:Ln,direction:Fn}=x.useContext(dr.E_),{prefixCls:kt,className:Kt,showIcon:Gt=!0,expandAction:Qt="click"}=wn,Dn=er(wn,["prefixCls","className","showIcon","expandAction"]),hn=Ln("tree",kt),ht=oe()(`${hn}-directory`,{[`${hn}-directory-rtl`]:Fn==="rtl"},Kt);return x.createElement(Mt,Object.assign({icon:vr,ref:Ht,blockNode:!0},Dn,{showIcon:Gt,expandAction:Qt,prefixCls:hn,className:ht,expandedKeys:St,selectedKeys:Jt,onSelect:_n,onExpand:Xt}))};var Kr=x.forwardRef(Nr);const Pr=Mt;Pr.DirectoryTree=Kr,Pr.TreeNode=pr.Z;var Qn=Pr},32157:function(_t,dt,fe){"use strict";fe.d(dt,{TM:function(){return ne},Yk:function(){return oe}});var Se=fe(45930),xe=fe(63185),E=fe(14747),ve=fe(33507),de=fe(45503),se=fe(67968);const re=new Se.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ie=(ee,a)=>({[`.${ee}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),le=(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:'""'}}}),ce=(ee,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:te,nodeSelectedBg:z,nodeHoverBg:ue}=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:te,lineHeight:`${te}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:te}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},ie(ee,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:te,margin:0,lineHeight:`${te}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:te/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:te/2*.8,height:te/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:te,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${te}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ue},[`&${y}-node-selected`]:{backgroundColor:z},[`${y}-iconEle`]:{display:"inline-block",width:te,height:te,lineHeight:`${te}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${te}px`,userSelect:"none"},le(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:te/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:`${te/2}px !important`}}}}})}},ae=ee=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:te}=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:te,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:te},[`${a}-node-content-wrapper`]:{color:te,background:"transparent"}}}}}},oe=(ee,a)=>{const y=`.${ee}`,x=`${y}-treenode`,b=a.paddingXS/2,te=(0,de.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[ce(ee,te),ae(te)]},ne=ee=>{const{controlHeightSM:a}=ee;return{titleHeight:a,nodeHoverBg:ee.controlItemBgHover,nodeSelectedBg:ee.controlItemBgActive}};dt.ZP=(0,se.Z)("Tree",(ee,a)=>{let{prefixCls:y}=a;return[{[ee.componentCls]:(0,xe.C2)(`${y}-checkbox`,ee)},oe(y,ee),(0,ve.Z)(ee)]},ee=>{const{colorTextLightSolid:a,colorPrimary:y}=ee;return Object.assign(Object.assign({},ne(ee)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},99184:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return y}});var Se=fe(87462),xe=fe(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"},ve=E,de=fe(74643),se=function(b,te){return xe.createElement(de.Z,(0,Se.Z)({},b,{ref:te,icon:ve}))},re=xe.forwardRef(se),ie=fe(73148),le=fe(3407),ce=fe(34182),ae=fe(74664),oe=fe(94184),ne=fe.n(oe),ee=fe(96159),y=x=>{const{prefixCls:b,switcherIcon:te,treeNodeProps:z,showLine:ue}=x,{isLeaf:ge,expanded:me,loading:he}=z;if(he)return xe.createElement(le.Z,{className:`${b}-switcher-loading-icon`});let pe;if(ue&&typeof ue=="object"&&(pe=ue.showLeafIcon),ge){if(!ue)return null;if(typeof pe!="boolean"&&pe){const Pe=typeof pe=="function"?pe(z):pe,we=`${b}-switcher-line-custom-icon`;return(0,ee.l$)(Pe)?(0,ee.Tm)(Pe,{className:ne()(Pe.props.className||"",we)}):Pe}return pe?xe.createElement(ie.Z,{className:`${b}-switcher-line-icon`}):xe.createElement("span",{className:`${b}-switcher-leaf-line`})}const be=`${b}-switcher-icon`,ye=typeof te=="function"?te(z):te;return(0,ee.l$)(ye)?(0,ee.Tm)(ye,{className:ne()(ye.props.className||"",be)}):ye!==void 0?ye:ue?me?xe.createElement(ce.Z,{className:`${b}-switcher-line-icon`}):xe.createElement(ae.Z,{className:`${b}-switcher-line-icon`}):xe.createElement(re,{className:be})}},59810:function(_t,dt,fe){"use strict";fe.d(dt,{default:function(){return _r}});var Se=fe(67294),xe=fe(74902),E=fe(94184),ve=fe.n(E),de=fe(87462),se=fe(15671),re=fe(43144),ie=fe(60136),le=fe(51630),ce=fe(4942),ae=fe(45987),oe=fe(74165),ne=fe(71002),ee=fe(15861),a=fe(64217);function y(zt,ln){var an="cannot ".concat(zt.method," ").concat(zt.action," ").concat(ln.status,"'"),mn=new Error(an);return mn.status=ln.status,mn.method=zt.method,mn.url=zt.action,mn}function x(zt){var ln=zt.responseText||zt.response;if(!ln)return ln;try{return JSON.parse(ln)}catch(an){return ln}}function b(zt){var ln=new XMLHttpRequest;zt.onProgress&&ln.upload&&(ln.upload.onprogress=function(Dt){Dt.total>0&&(Dt.percent=Dt.loaded/Dt.total*100),zt.onProgress(Dt)});var an=new FormData;zt.data&&Object.keys(zt.data).forEach(function(zn){var Dt=zt.data[zn];if(Array.isArray(Dt)){Dt.forEach(function(Bn){an.append("".concat(zn,"[]"),Bn)});return}an.append(zn,Dt)}),zt.file instanceof Blob?an.append(zt.filename,zt.file,zt.file.name):an.append(zt.filename,zt.file),ln.onerror=function(Dt){zt.onError(Dt)},ln.onload=function(){return ln.status<200||ln.status>=300?zt.onError(y(zt,ln),x(ln)):zt.onSuccess(x(ln),ln)},ln.open(zt.method,zt.action,!0),zt.withCredentials&&"withCredentials"in ln&&(ln.withCredentials=!0);var mn=zt.headers||{};return mn["X-Requested-With"]!==null&&ln.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(mn).forEach(function(zn){mn[zn]!==null&&ln.setRequestHeader(zn,mn[zn])}),ln.send(an),{abort:function(){ln.abort()}}}var te=+new Date,z=0;function ue(){return"rc-upload-".concat(te,"-").concat(++z)}var ge=fe(80334),me=function(zt,ln){if(zt&&ln){var an=Array.isArray(ln)?ln:ln.split(","),mn=zt.name||"",zn=zt.type||"",Dt=zn.replace(/\/.*$/,"");return an.some(function(Bn){var yn=Bn.trim();if(/^\*(\/\*)?$/.test(Bn))return!0;if(yn.charAt(0)==="."){var Er=mn.toLowerCase(),ir=yn.toLowerCase(),Mr=[ir];return(ir===".jpg"||ir===".jpeg")&&(Mr=[".jpg",".jpeg"]),Mr.some(function(Wr){return Er.endsWith(Wr)})}return/\/\*$/.test(yn)?Dt===yn.replace(/\/.*$/,""):zn===yn?!0:/^\w+$/.test(yn)?((0,ge.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(yn,"'.Skip for check.")),!0):!1})}return!0};function he(zt,ln){var an=zt.createReader(),mn=[];function zn(){an.readEntries(function(Dt){var Bn=Array.prototype.slice.apply(Dt);mn=mn.concat(Bn);var yn=!Bn.length;yn?ln(mn):zn()})}zn()}var pe=function(ln,an,mn){var zn=function Dt(Bn,yn){Bn&&(Bn.path=yn||"",Bn.isFile?Bn.file(function(Er){mn(Er)&&(Bn.fullPath&&!Er.webkitRelativePath&&(Object.defineProperties(Er,{webkitRelativePath:{writable:!0}}),Er.webkitRelativePath=Bn.fullPath.replace(/^\//,""),Object.defineProperties(Er,{webkitRelativePath:{writable:!1}})),an([Er]))}):Bn.isDirectory&&he(Bn,function(Er){Er.forEach(function(ir){Dt(ir,"".concat(yn).concat(Bn.name,"/"))})}))};ln.forEach(function(Dt){zn(Dt.webkitGetAsEntry())})},be=pe,ye=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Pe=function(zt){(0,ie.Z)(an,zt);var ln=(0,le.Z)(an);function an(){var mn;(0,se.Z)(this,an);for(var zn=arguments.length,Dt=new Array(zn),Bn=0;Bn<zn;Bn++)Dt[Bn]=arguments[Bn];return mn=ln.call.apply(ln,[this].concat(Dt)),mn.state={uid:ue()},mn.reqs={},mn.fileInput=void 0,mn._isMounted=void 0,mn.onChange=function(yn){var Er=mn.props,ir=Er.accept,Mr=Er.directory,Wr=yn.target.files,Pn=(0,xe.Z)(Wr).filter(function(Qr){return!Mr||me(Qr,ir)});mn.uploadFiles(Pn),mn.reset()},mn.onClick=function(yn){var Er=mn.fileInput;if(Er){var ir=mn.props,Mr=ir.children,Wr=ir.onClick;if(Mr&&Mr.type==="button"){var Pn=Er.parentNode;Pn.focus(),Pn.querySelector("button").blur()}Er.click(),Wr&&Wr(yn)}},mn.onKeyDown=function(yn){yn.key==="Enter"&&mn.onClick(yn)},mn.onFileDrop=function(yn){var Er=mn.props.multiple;if(yn.preventDefault(),yn.type!=="dragover")if(mn.props.directory)be(Array.prototype.slice.call(yn.dataTransfer.items),mn.uploadFiles,function(Mr){return me(Mr,mn.props.accept)});else{var ir=(0,xe.Z)(yn.dataTransfer.files).filter(function(Mr){return me(Mr,mn.props.accept)});Er===!1&&(ir=ir.slice(0,1)),mn.uploadFiles(ir)}},mn.uploadFiles=function(yn){var Er=(0,xe.Z)(yn),ir=Er.map(function(Mr){return Mr.uid=ue(),mn.processFile(Mr,Er)});Promise.all(ir).then(function(Mr){var Wr=mn.props.onBatchStart;Wr==null||Wr(Mr.map(function(Pn){var Qr=Pn.origin,io=Pn.parsedFile;return{file:Qr,parsedFile:io}})),Mr.filter(function(Pn){return Pn.parsedFile!==null}).forEach(function(Pn){mn.post(Pn)})})},mn.processFile=function(){var yn=(0,ee.Z)((0,oe.Z)().mark(function Er(ir,Mr){var Wr,Pn,Qr,io,Mo,oo,Ho,kn,dr;return(0,oe.Z)().wrap(function(Xn){for(;;)switch(Xn.prev=Xn.next){case 0:if(Wr=mn.props.beforeUpload,Pn=ir,!Wr){Xn.next=14;break}return Xn.prev=3,Xn.next=6,Wr(ir,Mr);case 6:Pn=Xn.sent,Xn.next=12;break;case 9:Xn.prev=9,Xn.t0=Xn.catch(3),Pn=!1;case 12:if(Pn!==!1){Xn.next=14;break}return Xn.abrupt("return",{origin:ir,parsedFile:null,action:null,data:null});case 14:if(Qr=mn.props.action,typeof Qr!="function"){Xn.next=21;break}return Xn.next=18,Qr(ir);case 18:io=Xn.sent,Xn.next=22;break;case 21:io=Qr;case 22:if(Mo=mn.props.data,typeof Mo!="function"){Xn.next=29;break}return Xn.next=26,Mo(ir);case 26:oo=Xn.sent,Xn.next=30;break;case 29:oo=Mo;case 30:return Ho=((0,ne.Z)(Pn)==="object"||typeof Pn=="string")&&Pn?Pn:ir,Ho instanceof File?kn=Ho:kn=new File([Ho],ir.name,{type:ir.type}),dr=kn,dr.uid=ir.uid,Xn.abrupt("return",{origin:ir,data:oo,parsedFile:dr,action:io});case 35:case"end":return Xn.stop()}},Er,null,[[3,9]])}));return function(Er,ir){return yn.apply(this,arguments)}}(),mn.saveFileInput=function(yn){mn.fileInput=yn},mn}return(0,re.Z)(an,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(zn){var Dt=this,Bn=zn.data,yn=zn.origin,Er=zn.action,ir=zn.parsedFile;if(this._isMounted){var Mr=this.props,Wr=Mr.onStart,Pn=Mr.customRequest,Qr=Mr.name,io=Mr.headers,Mo=Mr.withCredentials,oo=Mr.method,Ho=yn.uid,kn=Pn||b,dr={action:Er,filename:Qr,data:Bn,file:ir,headers:io,withCredentials:Mo,method:oo||"post",onProgress:function(Xn){var uo=Dt.props.onProgress;uo==null||uo(Xn,ir)},onSuccess:function(Xn,uo){var so=Dt.props.onSuccess;so==null||so(Xn,ir,uo),delete Dt.reqs[Ho]},onError:function(Xn,uo){var so=Dt.props.onError;so==null||so(Xn,uo,ir),delete Dt.reqs[Ho]}};Wr(yn),this.reqs[Ho]=kn(dr)}}},{key:"reset",value:function(){this.setState({uid:ue()})}},{key:"abort",value:function(zn){var Dt=this.reqs;if(zn){var Bn=zn.uid?zn.uid:zn;Dt[Bn]&&Dt[Bn].abort&&Dt[Bn].abort(),delete Dt[Bn]}else Object.keys(Dt).forEach(function(yn){Dt[yn]&&Dt[yn].abort&&Dt[yn].abort(),delete Dt[yn]})}},{key:"render",value:function(){var zn,Dt=this.props,Bn=Dt.component,yn=Dt.prefixCls,Er=Dt.className,ir=Dt.disabled,Mr=Dt.id,Wr=Dt.style,Pn=Dt.multiple,Qr=Dt.accept,io=Dt.capture,Mo=Dt.children,oo=Dt.directory,Ho=Dt.openFileDialogOnClick,kn=Dt.onMouseEnter,dr=Dt.onMouseLeave,ur=(0,ae.Z)(Dt,ye),Xn=ve()((zn={},(0,ce.Z)(zn,yn,!0),(0,ce.Z)(zn,"".concat(yn,"-disabled"),ir),(0,ce.Z)(zn,Er,Er),zn)),uo=oo?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},so=ir?{}:{onClick:Ho?this.onClick:function(){},onKeyDown:Ho?this.onKeyDown:function(){},onMouseEnter:kn,onMouseLeave:dr,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return Se.createElement(Bn,(0,de.Z)({},so,{className:Xn,role:"button",style:Wr}),Se.createElement("input",(0,de.Z)({},(0,a.Z)(ur,{aria:!0,data:!0}),{id:Mr,disabled:ir,type:"file",ref:this.saveFileInput,onClick:function(Fo){return Fo.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Qr},uo,{multiple:Pn,onChange:this.onChange},io!=null?{capture:io}:{})),Mo)}}]),an}(Se.Component),we=Pe;function Oe(){}var Ce=function(zt){(0,ie.Z)(an,zt);var ln=(0,le.Z)(an);function an(){var mn;(0,se.Z)(this,an);for(var zn=arguments.length,Dt=new Array(zn),Bn=0;Bn<zn;Bn++)Dt[Bn]=arguments[Bn];return mn=ln.call.apply(ln,[this].concat(Dt)),mn.uploader=void 0,mn.saveUploader=function(yn){mn.uploader=yn},mn}return(0,re.Z)(an,[{key:"abort",value:function(zn){this.uploader.abort(zn)}},{key:"render",value:function(){return Se.createElement(we,(0,de.Z)({},this.props,{ref:this.saveUploader}))}}]),an}(Se.Component);Ce.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Oe,onError:Oe,onSuccess:Oe,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var _e=Ce,Ee=_e,Me=fe(5663),Ie=fe(73935),Be=fe(53124),Re=fe(98866),tt=fe(10110),Ye=fe(24457),et={icon:function(ln,an){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:an}},{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:ln}}]}},name:"file",theme:"twotone"},Xe=et,Ge=fe(74643),Fe=function(ln,an){return Se.createElement(Ge.Z,(0,de.Z)({},ln,{ref:an,icon:Xe}))},je=Se.forwardRef(Fe),qe=fe(3407),Je={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"},it=Je,Qe=function(ln,an){return Se.createElement(Ge.Z,(0,de.Z)({},ln,{ref:an,icon:it}))},Ze=Se.forwardRef(Qe),De={icon:function(ln,an){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:ln}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:an}},{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:an}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:an}},{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:ln}}]}},name:"picture",theme:"twotone"},Ve=De,Ae=function(ln,an){return Se.createElement(Ge.Z,(0,de.Z)({},ln,{ref:an,icon:Ve}))},ke=Se.forwardRef(Ae),$e=fe(38379),Ke=fe(57838),ze=fe(33603),Le=fe(96159),Te=fe(71577);function Ne(zt){return Object.assign(Object.assign({},zt),{lastModified:zt.lastModified,lastModifiedDate:zt.lastModifiedDate,name:zt.name,size:zt.size,type:zt.type,uid:zt.uid,percent:0,originFileObj:zt})}function He(zt,ln){const an=(0,xe.Z)(ln),mn=an.findIndex(zn=>{let{uid:Dt}=zn;return Dt===zt.uid});return mn===-1?an.push(zt):an[mn]=zt,an}function rt(zt,ln){const an=zt.uid!==void 0?"uid":"name";return ln.filter(mn=>mn[an]===zt[an])[0]}function mt(zt,ln){const an=zt.uid!==void 0?"uid":"name",mn=ln.filter(zn=>zn[an]!==zt[an]);return mn.length===ln.length?null:mn}const vt=function(){const ln=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),mn=ln[ln.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(mn)||[""])[0]},nt=zt=>zt.indexOf("image/")===0,ut=zt=>{if(zt.type&&!zt.thumbUrl)return nt(zt.type);const ln=zt.thumbUrl||zt.url||"",an=vt(ln);return/^data:image\//.test(ln)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(an)?!0:!(/^data:/.test(ln)||an)},Et=200;function Ot(zt){return new Promise(ln=>{if(!zt.type||!nt(zt.type)){ln("");return}const an=document.createElement("canvas");an.width=Et,an.height=Et,an.style.cssText=`position: fixed; left: 0; top: 0; width: ${Et}px; height: ${Et}px; z-index: 9999; display: none;`,document.body.appendChild(an);const mn=an.getContext("2d"),zn=new Image;if(zn.onload=()=>{const{width:Dt,height:Bn}=zn;let yn=Et,Er=Et,ir=0,Mr=0;Dt>Bn?(Er=Bn*(Et/Dt),Mr=-(Er-yn)/2):(yn=Dt*(Et/Bn),ir=-(yn-Er)/2),mn.drawImage(zn,ir,Mr,yn,Er);const Wr=an.toDataURL();document.body.removeChild(an),window.URL.revokeObjectURL(zn.src),ln(Wr)},zn.crossOrigin="anonymous",zt.type.startsWith("image/svg+xml")){const Dt=new FileReader;Dt.onload=()=>{Dt.result&&(zn.src=Dt.result)},Dt.readAsDataURL(zt)}else if(zt.type.startsWith("image/gif")){const Dt=new FileReader;Dt.onload=()=>{Dt.result&&ln(Dt.result)},Dt.readAsDataURL(zt)}else zn.src=window.URL.createObjectURL(zt)})}var at=fe(84249),Tt=fe(90674),st=fe(99569),pt=fe(38703),Pt=fe(83062),Lt=Se.forwardRef((zt,ln)=>{let{prefixCls:an,className:mn,style:zn,locale:Dt,listType:Bn,file:yn,items:Er,progress:ir,iconRender:Mr,actionIconRender:Wr,itemRender:Pn,isImgUrl:Qr,showPreviewIcon:io,showRemoveIcon:Mo,showDownloadIcon:oo,previewIcon:Ho,removeIcon:kn,downloadIcon:dr,onPreview:ur,onDownload:Xn,onClose:uo}=zt;var so,yo;const{status:Fo}=yn,[zo,Mt]=Se.useState(Fo);Se.useEffect(()=>{Fo!=="removed"&&Mt(Fo)},[Fo]);const[At,rn]=Se.useState(!1);Se.useEffect(()=>{const Vt=setTimeout(()=>{rn(!0)},300);return()=>{clearTimeout(Vt)}},[]);const Ut=Mr(yn);let On=Se.createElement("div",{className:`${an}-icon`},Ut);if(Bn==="picture"||Bn==="picture-card"||Bn==="picture-circle")if(zo==="uploading"||!yn.thumbUrl&&!yn.url){const Vt=ve()(`${an}-list-item-thumbnail`,{[`${an}-list-item-file`]:zo!=="uploading"});On=Se.createElement("div",{className:Vt},Ut)}else{const Vt=Qr!=null&&Qr(yn)?Se.createElement("img",{src:yn.thumbUrl||yn.url,alt:yn.name,className:`${an}-list-item-image`,crossOrigin:yn.crossOrigin}):Ut,en=ve()(`${an}-list-item-thumbnail`,{[`${an}-list-item-file`]:Qr&&!Qr(yn)});On=Se.createElement("a",{className:en,onClick:Jt=>ur(yn,Jt),href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Vt)}const er=ve()(`${an}-list-item`,`${an}-list-item-${zo}`),vr=typeof yn.linkProps=="string"?JSON.parse(yn.linkProps):yn.linkProps,xr=Mo?Wr((typeof kn=="function"?kn(yn):kn)||Se.createElement(at.Z,null),()=>uo(yn),an,Dt.removeFile):null,Nr=oo&&zo==="done"?Wr((typeof dr=="function"?dr(yn):dr)||Se.createElement(Tt.Z,null),()=>Xn(yn),an,Dt.downloadFile):null,no=Bn!=="picture-card"&&Bn!=="picture-circle"&&Se.createElement("span",{key:"download-delete",className:ve()(`${an}-list-item-actions`,{picture:Bn==="picture"})},Nr,xr),Kr=ve()(`${an}-list-item-name`),Pr=yn.url?[Se.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Kr,title:yn.name},vr,{href:yn.url,onClick:Vt=>ur(yn,Vt)}),yn.name),no]:[Se.createElement("span",{key:"view",className:Kr,onClick:Vt=>ur(yn,Vt),title:yn.name},yn.name),no],Qn={pointerEvents:"none",opacity:.5},jt=io?Se.createElement("a",{href:yn.url||yn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:yn.url||yn.thumbUrl?void 0:Qn,onClick:Vt=>ur(yn,Vt),title:Dt.previewFile},typeof Ho=="function"?Ho(yn):Ho||Se.createElement(st.Z,null)):null,Ht=(Bn==="picture-card"||Bn==="picture-circle")&&zo!=="uploading"&&Se.createElement("span",{className:`${an}-list-item-actions`},jt,zo==="done"&&Nr,xr),{getPrefixCls:sn}=Se.useContext(Be.E_),gt=sn(),cn=Se.createElement("div",{className:er},On,Pr,Ht,At&&Se.createElement($e.default,{motionName:`${gt}-fade`,visible:zo==="uploading",motionDeadline:2e3},Vt=>{let{className:en}=Vt;const Jt="percent"in yn?Se.createElement(pt.Z,Object.assign({},ir,{type:"line",percent:yn.percent,"aria-label":yn["aria-label"],"aria-labelledby":yn["aria-labelledby"]})):null;return Se.createElement("div",{className:ve()(`${an}-list-item-progress`,en)},Jt)})),wn=yn.response&&typeof yn.response=="string"?yn.response:((so=yn.error)===null||so===void 0?void 0:so.statusText)||((yo=yn.error)===null||yo===void 0?void 0:yo.message)||Dt.uploadError,Hn=zo==="error"?Se.createElement(Pt.Z,{title:wn,getPopupContainer:Vt=>Vt.parentNode},cn):cn;return Se.createElement("div",{className:ve()(`${an}-list-item-container`,mn),style:zn,ref:ln},Pn?Pn(Hn,yn,Er,{download:Xn.bind(null,yn),preview:ur.bind(null,yn),remove:uo.bind(null,yn)}):Hn)});const $t=(zt,ln)=>{const{listType:an="text",previewFile:mn=Ot,onPreview:zn,onDownload:Dt,onRemove:Bn,locale:yn,iconRender:Er,isImageUrl:ir=ut,prefixCls:Mr,items:Wr=[],showPreviewIcon:Pn=!0,showRemoveIcon:Qr=!0,showDownloadIcon:io=!1,removeIcon:Mo,previewIcon:oo,downloadIcon:Ho,progress:kn={size:[-1,2],showInfo:!1},appendAction:dr,appendActionVisible:ur=!0,itemRender:Xn,disabled:uo}=zt,so=(0,Ke.Z)(),[yo,Fo]=Se.useState(!1);Se.useEffect(()=>{an!=="picture"&&an!=="picture-card"&&an!=="picture-circle"||(Wr||[]).forEach(Qn=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Qn.originFileObj instanceof File||Qn.originFileObj instanceof Blob)||Qn.thumbUrl!==void 0||(Qn.thumbUrl="",mn&&mn(Qn.originFileObj).then(jt=>{Qn.thumbUrl=jt||"",so()}))})},[an,Wr,mn]),Se.useEffect(()=>{Fo(!0)},[]);const zo=(Qn,jt)=>{if(zn)return jt==null||jt.preventDefault(),zn(Qn)},Mt=Qn=>{typeof Dt=="function"?Dt(Qn):Qn.url&&window.open(Qn.url)},At=Qn=>{Bn==null||Bn(Qn)},rn=Qn=>{if(Er)return Er(Qn,an);const jt=Qn.status==="uploading",Ht=ir&&ir(Qn)?Se.createElement(ke,null):Se.createElement(je,null);let sn=jt?Se.createElement(qe.Z,null):Se.createElement(Ze,null);return an==="picture"?sn=jt?Se.createElement(qe.Z,null):Ht:(an==="picture-card"||an==="picture-circle")&&(sn=jt?yn.uploading:Ht),sn},Ut=(Qn,jt,Ht,sn)=>{const gt={type:"text",size:"small",title:sn,onClick:cn=>{jt(),(0,Le.l$)(Qn)&&Qn.props.onClick&&Qn.props.onClick(cn)},className:`${Ht}-list-item-action`,disabled:uo};if((0,Le.l$)(Qn)){const cn=(0,Le.Tm)(Qn,Object.assign(Object.assign({},Qn.props),{onClick:()=>{}}));return Se.createElement(Te.ZP,Object.assign({},gt,{icon:cn}))}return Se.createElement(Te.ZP,Object.assign({},gt),Se.createElement("span",null,Qn))};Se.useImperativeHandle(ln,()=>({handlePreview:zo,handleDownload:Mt}));const{getPrefixCls:On}=Se.useContext(Be.E_),er=On("upload",Mr),vr=On(),xr=ve()(`${er}-list`,`${er}-list-${an}`),Nr=(0,xe.Z)(Wr.map(Qn=>({key:Qn.uid,file:Qn})));let Kr={motionDeadline:2e3,motionName:`${er}-${an==="picture-card"||an==="picture-circle"?"animate-inline":"animate"}`,keys:Nr,motionAppear:yo};const Pr=Se.useMemo(()=>{const Qn=Object.assign({},(0,ze.Z)(vr));return delete Qn.onAppearEnd,delete Qn.onEnterEnd,delete Qn.onLeaveEnd,Qn},[vr]);return an!=="picture-card"&&an!=="picture-circle"&&(Kr=Object.assign(Object.assign({},Pr),Kr)),Se.createElement("div",{className:xr},Se.createElement($e.CSSMotionList,Object.assign({},Kr,{component:!1}),Qn=>{let{key:jt,file:Ht,className:sn,style:gt}=Qn;return Se.createElement(Lt,{key:jt,locale:yn,prefixCls:er,className:sn,style:gt,file:Ht,items:Wr,progress:kn,listType:an,isImgUrl:ir,showPreviewIcon:Pn,showRemoveIcon:Qr,showDownloadIcon:io,removeIcon:Mo,previewIcon:oo,downloadIcon:Ho,iconRender:rn,actionIconRender:Ut,itemRender:Xn,onPreview:zo,onDownload:Mt,onClose:At})}),dr&&Se.createElement($e.default,Object.assign({},Kr,{visible:ur,forceRender:!0}),Qn=>{let{className:jt,style:Ht}=Qn;return(0,Le.Tm)(dr,sn=>({className:ve()(sn.className,jt),style:Object.assign(Object.assign(Object.assign({},Ht),{pointerEvents:jt?"none":void 0}),sn.style)}))}))};var un=Se.forwardRef($t),Cn=fe(14747),Sn=fe(33507),Kn=fe(67968),nr=fe(45503),Ur=zt=>{const{componentCls:ln,iconCls:an}=zt;return{[`${ln}-wrapper`]:{[`${ln}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:zt.colorFillAlter,border:`${zt.lineWidth}px dashed ${zt.colorBorder}`,borderRadius:zt.borderRadiusLG,cursor:"pointer",transition:`border-color ${zt.motionDurationSlow}`,[ln]:{padding:`${zt.padding}px 0`},[`${ln}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${ln}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${ln}-disabled):hover`]:{borderColor:zt.colorPrimaryHover},[`p${ln}-drag-icon`]:{marginBottom:zt.margin,[an]:{color:zt.colorPrimary,fontSize:zt.uploadThumbnailSize}},[`p${ln}-text`]:{margin:`0 0 ${zt.marginXXS}px`,color:zt.colorTextHeading,fontSize:zt.fontSizeLG},[`p${ln}-hint`]:{color:zt.colorTextDescription,fontSize:zt.fontSize},[`&${ln}-disabled`]:{cursor:"not-allowed",[`p${ln}-drag-icon ${an},
|
|
|
p${ln}-text,
|
|
|
p${ln}-hint
|
|
|
`]:{color:zt.colorTextDisabled}}}}}},zr=zt=>{const{componentCls:ln,antCls:an,iconCls:mn,fontSize:zn,lineHeight:Dt}=zt,Bn=`${ln}-list-item`,yn=`${Bn}-actions`,Er=`${Bn}-action`,ir=Math.round(zn*Dt);return{[`${ln}-wrapper`]:{[`${ln}-list`]:Object.assign(Object.assign({},(0,Cn.dF)()),{lineHeight:zt.lineHeight,[Bn]:{position:"relative",height:zt.lineHeight*zn,marginTop:zt.marginXS,fontSize:zn,display:"flex",alignItems:"center",transition:`background-color ${zt.motionDurationSlow}`,"&:hover":{backgroundColor:zt.controlItemBgHover},[`${Bn}-name`]:Object.assign(Object.assign({},Cn.vS),{padding:`0 ${zt.paddingXS}px`,lineHeight:Dt,flex:"auto",transition:`all ${zt.motionDurationSlow}`}),[yn]:{[Er]:{opacity:0},[`${Er}${an}-btn-sm`]:{height:ir,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
|
${Er}:focus-visible,
|
|
|
&.picture ${Er}
|
|
|
`]:{opacity:1},[mn]:{color:zt.actionsColor,transition:`all ${zt.motionDurationSlow}`},[`&:hover ${mn}`]:{color:zt.colorText}},[`${ln}-icon ${mn}`]:{color:zt.colorTextDescription,fontSize:zn},[`${Bn}-progress`]:{position:"absolute",bottom:-zt.uploadProgressOffset,width:"100%",paddingInlineStart:zn+zt.paddingXS,fontSize:zn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Bn}:hover ${Er}`]:{opacity:1,color:zt.colorText},[`${Bn}-error`]:{color:zt.colorError,[`${Bn}-name, ${ln}-icon ${mn}`]:{color:zt.colorError},[yn]:{[`${mn}, ${mn}:hover`]:{color:zt.colorError},[Er]:{opacity:1}}},[`${ln}-list-item-container`]:{transition:`opacity ${zt.motionDurationSlow}, height ${zt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ir=fe(45930),bn=fe(16932);const tn=new Ir.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),dn=new Ir.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var xn=zt=>{const{componentCls:ln}=zt,an=`${ln}-animate-inline`;return[{[`${ln}-wrapper`]:{[`${an}-appear, ${an}-enter, ${an}-leave`]:{animationDuration:zt.motionDurationSlow,animationTimingFunction:zt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${an}-appear, ${an}-enter`]:{animationName:tn},[`${an}-leave`]:{animationName:dn}}},{[`${ln}-wrapper`]:(0,bn.J$)(zt)},tn,dn]},tr=fe(47448),Vn=fe(84780);const pr=zt=>{const{componentCls:ln,iconCls:an,uploadThumbnailSize:mn,uploadProgressOffset:zn}=zt,Dt=`${ln}-list`,Bn=`${Dt}-item`;return{[`${ln}-wrapper`]:{[`
|
|
|
${Dt}${Dt}-picture,
|
|
|
${Dt}${Dt}-picture-card,
|
|
|
${Dt}${Dt}-picture-circle
|
|
|
`]:{[Bn]:{position:"relative",height:mn+zt.lineWidth*2+zt.paddingXS*2,padding:zt.paddingXS,border:`${zt.lineWidth}px ${zt.lineType} ${zt.colorBorder}`,borderRadius:zt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Bn}-thumbnail`]:Object.assign(Object.assign({},Cn.vS),{width:mn,height:mn,lineHeight:`${mn+zt.paddingSM}px`,textAlign:"center",flex:"none",[an]:{fontSize:zt.fontSizeHeading2,color:zt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Bn}-progress`]:{bottom:zn,width:`calc(100% - ${zt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:mn+zt.paddingXS}},[`${Bn}-error`]:{borderColor:zt.colorError,[`${Bn}-thumbnail ${an}`]:{[`svg path[fill='${tr.blue[0]}']`]:{fill:zt.colorErrorBg},[`svg path[fill='${tr.blue.primary}']`]:{fill:zt.colorError}}},[`${Bn}-uploading`]:{borderStyle:"dashed",[`${Bn}-name`]:{marginBottom:zn}}},[`${Dt}${Dt}-picture-circle ${Bn}`]:{[`&, &::before, ${Bn}-thumbnail`]:{borderRadius:"50%"}}}}},ar=zt=>{const{componentCls:ln,iconCls:an,fontSizeLG:mn,colorTextLightSolid:zn}=zt,Dt=`${ln}-list`,Bn=`${Dt}-item`,yn=zt.uploadPicCardSize;return{[`
|
|
|
${ln}-wrapper${ln}-picture-card-wrapper,
|
|
|
${ln}-wrapper${ln}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,Cn.dF)()),{display:"inline-block",width:"100%",[`${ln}${ln}-select`]:{width:yn,height:yn,marginInlineEnd:zt.marginXS,marginBottom:zt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:zt.colorFillAlter,border:`${zt.lineWidth}px dashed ${zt.colorBorder}`,borderRadius:zt.borderRadiusLG,cursor:"pointer",transition:`border-color ${zt.motionDurationSlow}`,[`> ${ln}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${ln}-disabled):hover`]:{borderColor:zt.colorPrimary}},[`${Dt}${Dt}-picture-card, ${Dt}${Dt}-picture-circle`]:{[`${Dt}-item-container`]:{display:"inline-block",width:yn,height:yn,marginBlock:`0 ${zt.marginXS}px`,marginInline:`0 ${zt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Bn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${zt.paddingXS*2}px)`,height:`calc(100% - ${zt.paddingXS*2}px)`,backgroundColor:zt.colorBgMask,opacity:0,transition:`all ${zt.motionDurationSlow}`,content:'" "'}},[`${Bn}:hover`]:{[`&::before, ${Bn}-actions`]:{opacity:1}},[`${Bn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${zt.motionDurationSlow}`,[`${an}-eye, ${an}-download, ${an}-delete`]:{zIndex:10,width:mn,margin:`0 ${zt.marginXXS}px`,fontSize:mn,cursor:"pointer",transition:`all ${zt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Bn}-actions, ${Bn}-actions:hover`]:{[`${an}-eye, ${an}-download, ${an}-delete`]:{color:new Vn.C(zn).setAlpha(.65).toRgbString(),"&:hover":{color:zn}}},[`${Bn}-thumbnail, ${Bn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Bn}-name`]:{display:"none",textAlign:"center"},[`${Bn}-file + ${Bn}-name`]:{position:"absolute",bottom:zt.margin,display:"block",width:`calc(100% - ${zt.paddingXS*2}px)`},[`${Bn}-uploading`]:{[`&${Bn}`]:{backgroundColor:zt.colorFillAlter},[`&::before, ${an}-eye, ${an}-download, ${an}-delete`]:{display:"none"}},[`${Bn}-progress`]:{bottom:zt.marginXL,width:`calc(100% - ${zt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${ln}-wrapper${ln}-picture-circle-wrapper`]:{[`${ln}${ln}-select`]:{borderRadius:"50%"}}}};var It=zt=>{const{componentCls:ln}=zt;return{[`${ln}-rtl`]:{direction:"rtl"}}};const Rt=zt=>{const{componentCls:ln,colorTextDisabled:an}=zt;return{[`${ln}-wrapper`]:Object.assign(Object.assign({},(0,Cn.Wf)(zt)),{[ln]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${ln}-select`]:{display:"inline-block"},[`${ln}-disabled`]:{color:an,cursor:"not-allowed"}})}};var fn=(0,Kn.Z)("Upload",zt=>{const{fontSizeHeading3:ln,fontSize:an,lineHeight:mn,lineWidth:zn,controlHeightLG:Dt}=zt,Bn=Math.round(an*mn),yn=(0,nr.TS)(zt,{uploadThumbnailSize:ln*2,uploadProgressOffset:Bn/2+zn,uploadPicCardSize:Dt*2.55});return[Rt(yn),Ur(yn),pr(yn),ar(yn),zr(yn),xn(yn),It(yn),(0,Sn.Z)(yn)]},zt=>({actionsColor:zt.colorTextDescription})),Nn=function(zt,ln,an,mn){function zn(Dt){return Dt instanceof an?Dt:new an(function(Bn){Bn(Dt)})}return new(an||(an=Promise))(function(Dt,Bn){function yn(Mr){try{ir(mn.next(Mr))}catch(Wr){Bn(Wr)}}function Er(Mr){try{ir(mn.throw(Mr))}catch(Wr){Bn(Wr)}}function ir(Mr){Mr.done?Dt(Mr.value):zn(Mr.value).then(yn,Er)}ir((mn=mn.apply(zt,ln||[])).next())})};const jn=`__LIST_IGNORE_${Date.now()}__`,gr=(zt,ln)=>{const{fileList:an,defaultFileList:mn,onRemove:zn,showUploadList:Dt=!0,listType:Bn="text",onPreview:yn,onDownload:Er,onChange:ir,onDrop:Mr,previewFile:Wr,disabled:Pn,locale:Qr,iconRender:io,isImageUrl:Mo,progress:oo,prefixCls:Ho,className:kn,type:dr="select",children:ur,style:Xn,itemRender:uo,maxCount:so,data:yo={},multiple:Fo=!1,action:zo="",accept:Mt="",supportServerRender:At=!0,rootClassName:rn}=zt,Ut=Se.useContext(Re.Z),On=Pn!=null?Pn:Ut,[er,vr]=(0,Me.Z)(mn||[],{value:an,postState:ft=>ft!=null?ft:[]}),[xr,Nr]=Se.useState("drop"),no=Se.useRef(null);Se.useMemo(()=>{const ft=Date.now();(an||[]).forEach((Ct,Nt)=>{!Ct.uid&&!Object.isFrozen(Ct)&&(Ct.uid=`__AUTO__${ft}_${Nt}__`)})},[an]);const Kr=(ft,Ct,Nt)=>{let Yt=(0,xe.Z)(Ct),pn=!1;so===1?Yt=Yt.slice(-1):so&&(pn=Yt.length>so,Yt=Yt.slice(0,so)),(0,Ie.flushSync)(()=>{vr(Yt)});const Tn={file:ft,fileList:Yt};Nt&&(Tn.event=Nt),(!pn||Yt.some(Un=>Un.uid===ft.uid))&&(0,Ie.flushSync)(()=>{ir==null||ir(Tn)})},Pr=(ft,Ct)=>Nn(void 0,void 0,void 0,function*(){const{beforeUpload:Nt,transformFile:Yt}=zt;let pn=ft;if(Nt){const Tn=yield Nt(ft,Ct);if(Tn===!1)return!1;if(delete ft[jn],Tn===jn)return Object.defineProperty(ft,jn,{value:!0,configurable:!0}),!1;typeof Tn=="object"&&Tn&&(pn=Tn)}return Yt&&(pn=yield Yt(pn)),pn}),Qn=ft=>{const Ct=ft.filter(pn=>!pn.file[jn]);if(!Ct.length)return;const Nt=Ct.map(pn=>Ne(pn.file));let Yt=(0,xe.Z)(er);Nt.forEach(pn=>{Yt=He(pn,Yt)}),Nt.forEach((pn,Tn)=>{let Un=pn;if(Ct[Tn].parsedFile)pn.status="uploading";else{const{originFileObj:Zn}=pn;let Wn;try{Wn=new File([Zn],Zn.name,{type:Zn.type})}catch(En){Wn=new Blob([Zn],{type:Zn.type}),Wn.name=Zn.name,Wn.lastModifiedDate=new Date,Wn.lastModified=new Date().getTime()}Wn.uid=pn.uid,Un=Wn}Kr(Un,Yt)})},jt=(ft,Ct,Nt)=>{try{typeof ft=="string"&&(ft=JSON.parse(ft))}catch(Tn){}if(!rt(Ct,er))return;const Yt=Ne(Ct);Yt.status="done",Yt.percent=100,Yt.response=ft,Yt.xhr=Nt;const pn=He(Yt,er);Kr(Yt,pn)},Ht=(ft,Ct)=>{if(!rt(Ct,er))return;const Nt=Ne(Ct);Nt.status="uploading",Nt.percent=ft.percent;const Yt=He(Nt,er);Kr(Nt,Yt,ft)},sn=(ft,Ct,Nt)=>{if(!rt(Nt,er))return;const Yt=Ne(Nt);Yt.error=ft,Yt.response=Ct,Yt.status="error";const pn=He(Yt,er);Kr(Yt,pn)},gt=ft=>{let Ct;Promise.resolve(typeof zn=="function"?zn(ft):zn).then(Nt=>{var Yt;if(Nt===!1)return;const pn=mt(ft,er);pn&&(Ct=Object.assign(Object.assign({},ft),{status:"removed"}),er==null||er.forEach(Tn=>{const Un=Ct.uid!==void 0?"uid":"name";Tn[Un]===Ct[Un]&&!Object.isFrozen(Tn)&&(Tn.status="removed")}),(Yt=no.current)===null||Yt===void 0||Yt.abort(Ct),Kr(Ct,pn))})},cn=ft=>{Nr(ft.type),ft.type==="drop"&&(Mr==null||Mr(ft))};Se.useImperativeHandle(ln,()=>({onBatchStart:Qn,onSuccess:jt,onProgress:Ht,onError:sn,fileList:er,upload:no.current}));const{getPrefixCls:wn,direction:Hn,upload:Vt}=Se.useContext(Be.E_),en=wn("upload",Ho),Jt=Object.assign(Object.assign({onBatchStart:Qn,onError:sn,onProgress:Ht,onSuccess:jt},zt),{data:yo,multiple:Fo,action:zo,accept:Mt,supportServerRender:At,prefixCls:en,disabled:On,beforeUpload:Pr,onChange:void 0});delete Jt.className,delete Jt.style,(!ur||On)&&delete Jt.id;const[Gn,St]=fn(en),[Ft]=(0,tt.Z)("Upload",Ye.Z.Upload),{showRemoveIcon:Xt,showPreviewIcon:_n,showDownloadIcon:Ln,removeIcon:Fn,previewIcon:kt,downloadIcon:Kt}=typeof Dt=="boolean"?{}:Dt,Gt=(ft,Ct)=>Dt?Se.createElement(un,{prefixCls:en,listType:Bn,items:er,previewFile:Wr,onPreview:yn,onDownload:Er,onRemove:gt,showRemoveIcon:!On&&Xt,showPreviewIcon:_n,showDownloadIcon:Ln,removeIcon:Fn,previewIcon:kt,downloadIcon:Kt,iconRender:io,locale:Object.assign(Object.assign({},Ft),Qr),isImageUrl:Mo,progress:oo,appendAction:ft,appendActionVisible:Ct,itemRender:uo,disabled:On}):ft,Qt=ve()(`${en}-wrapper`,kn,rn,St,Vt==null?void 0:Vt.className,{[`${en}-rtl`]:Hn==="rtl",[`${en}-picture-card-wrapper`]:Bn==="picture-card",[`${en}-picture-circle-wrapper`]:Bn==="picture-circle"}),Dn=Object.assign(Object.assign({},Vt==null?void 0:Vt.style),Xn);if(dr==="drag"){const ft=ve()(St,en,`${en}-drag`,{[`${en}-drag-uploading`]:er.some(Ct=>Ct.status==="uploading"),[`${en}-drag-hover`]:xr==="dragover",[`${en}-disabled`]:On,[`${en}-rtl`]:Hn==="rtl"});return Gn(Se.createElement("span",{className:Qt},Se.createElement("div",{className:ft,style:Dn,onDrop:cn,onDragOver:cn,onDragLeave:cn},Se.createElement(Ee,Object.assign({},Jt,{ref:no,className:`${en}-btn`}),Se.createElement("div",{className:`${en}-drag-container`},ur))),Gt()))}const hn=ve()(en,`${en}-select`,{[`${en}-disabled`]:On}),lt=(ft=>Se.createElement("div",{className:hn,style:ft},Se.createElement(Ee,Object.assign({},Jt,{ref:no}))))(ur?void 0:{display:"none"});return Gn(Bn==="picture-card"||Bn==="picture-circle"?Se.createElement("span",{className:Qt},Gt(lt,!!ur)):Se.createElement("span",{className:Qt},lt,Gt()))};var qn=Se.forwardRef(gr),Br=function(zt,ln){var an={};for(var mn in zt)Object.prototype.hasOwnProperty.call(zt,mn)&&ln.indexOf(mn)<0&&(an[mn]=zt[mn]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zn=0,mn=Object.getOwnPropertySymbols(zt);zn<mn.length;zn++)ln.indexOf(mn[zn])<0&&Object.prototype.propertyIsEnumerable.call(zt,mn[zn])&&(an[mn[zn]]=zt[mn[zn]]);return an},Or=Se.forwardRef((zt,ln)=>{var{style:an,height:mn}=zt,zn=Br(zt,["style","height"]);return Se.createElement(qn,Object.assign({ref:ln},zn,{type:"drag",style:Object.assign(Object.assign({},an),{height:mn})}))});const An=qn;An.Dragger=Or,An.LIST_IGNORE=jn;var _r=An},72665:function(_t,dt){"use strict";var fe;var Se=typeof Symbol=="function"&&Symbol.for,xe=Se?Symbol.for("react.element"):60103,E=Se?Symbol.for("react.portal"):60106,ve=Se?Symbol.for("react.fragment"):60107,de=Se?Symbol.for("react.strict_mode"):60108,se=Se?Symbol.for("react.profiler"):60114,re=Se?Symbol.for("react.provider"):60109,ie=Se?Symbol.for("react.context"):60110,le=Se?Symbol.for("react.async_mode"):60111,ce=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,te=Se?Symbol.for("react.scope"):60119;function z(ge){if(typeof ge=="object"&&ge!==null){var me=ge.$$typeof;switch(me){case xe:switch(ge=ge.type,ge){case le:case ce:case ve:case se:case de:case oe:return ge;default:switch(ge=ge&&ge.$$typeof,ge){case ie:case ae:case a:case ee:case re:return ge;default:return me}}case E:return me}}}function ue(ge){return z(ge)===ce}fe=le,fe=ce,fe=ie,fe=re,fe=xe,fe=ae,fe=ve,fe=a,fe=ee,fe=E,fe=se,fe=de,fe=oe,fe=function(ge){return ue(ge)||z(ge)===le},fe=ue,fe=function(ge){return z(ge)===ie},fe=function(ge){return z(ge)===re},fe=function(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===xe},fe=function(ge){return z(ge)===ae},fe=function(ge){return z(ge)===ve},fe=function(ge){return z(ge)===a},dt.isMemo=function(ge){return z(ge)===ee},fe=function(ge){return z(ge)===E},fe=function(ge){return z(ge)===se},fe=function(ge){return z(ge)===de},fe=function(ge){return z(ge)===oe},fe=function(ge){return typeof ge=="string"||typeof ge=="function"||ge===ve||ge===ce||ge===se||ge===de||ge===oe||ge===ne||typeof ge=="object"&&ge!==null&&(ge.$$typeof===a||ge.$$typeof===ee||ge.$$typeof===re||ge.$$typeof===ie||ge.$$typeof===ae||ge.$$typeof===x||ge.$$typeof===b||ge.$$typeof===te||ge.$$typeof===y)},fe=z},12060:function(_t,dt,fe){"use strict";_t.exports=fe(72665)},56261:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return pe}});var Se=fe(87462),xe=fe(4942),E=fe(45987),ve=fe(1413),de=fe(15671),se=fe(43144),re=fe(97326),ie=fe(60136),le=fe(51630),ce=fe(94184),ae=fe.n(ce),oe=fe(34952),ne=fe(67294),ee=fe(69610),a=function(ye){for(var Pe=ye.prefixCls,we=ye.level,Oe=ye.isStart,Ce=ye.isEnd,_e="".concat(Pe,"-indent-unit"),Ee=[],Me=0;Me<we;Me+=1){var Ie;Ee.push(ne.createElement("span",{key:Me,className:ae()(_e,(Ie={},(0,xe.Z)(Ie,"".concat(_e,"-start"),Oe[Me]),(0,xe.Z)(Ie,"".concat(_e,"-end"),Ce[Me]),Ie))}))}return ne.createElement("span",{"aria-hidden":"true",className:"".concat(Pe,"-indent")},Ee)},y=ne.memo(a),x=fe(3596),b=fe(83898),te=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],z="open",ue="close",ge="---",me=function(be){(0,ie.Z)(Pe,be);var ye=(0,le.Z)(Pe);function Pe(){var we;(0,de.Z)(this,Pe);for(var Oe=arguments.length,Ce=new Array(Oe),_e=0;_e<Oe;_e++)Ce[_e]=arguments[_e];return we=ye.call.apply(ye,[this].concat(Ce)),we.state={dragNodeHighlight:!1},we.selectHandle=void 0,we.cacheIndent=void 0,we.onSelectorClick=function(Ee){var Me=we.props.context.onNodeClick;Me(Ee,(0,b.F)(we.props)),we.isSelectable()?we.onSelect(Ee):we.onCheck(Ee)},we.onSelectorDoubleClick=function(Ee){var Me=we.props.context.onNodeDoubleClick;Me(Ee,(0,b.F)(we.props))},we.onSelect=function(Ee){if(!we.isDisabled()){var Me=we.props.context.onNodeSelect;Me(Ee,(0,b.F)(we.props))}},we.onCheck=function(Ee){if(!we.isDisabled()){var Me=we.props,Ie=Me.disableCheckbox,Be=Me.checked,Re=we.props.context.onNodeCheck;if(!(!we.isCheckable()||Ie)){var tt=!Be;Re(Ee,(0,b.F)(we.props),tt)}}},we.onMouseEnter=function(Ee){var Me=we.props.context.onNodeMouseEnter;Me(Ee,(0,b.F)(we.props))},we.onMouseLeave=function(Ee){var Me=we.props.context.onNodeMouseLeave;Me(Ee,(0,b.F)(we.props))},we.onContextMenu=function(Ee){var Me=we.props.context.onNodeContextMenu;Me(Ee,(0,b.F)(we.props))},we.onDragStart=function(Ee){var Me=we.props.context.onNodeDragStart;Ee.stopPropagation(),we.setState({dragNodeHighlight:!0}),Me(Ee,(0,re.Z)(we));try{Ee.dataTransfer.setData("text/plain","")}catch(Ie){}},we.onDragEnter=function(Ee){var Me=we.props.context.onNodeDragEnter;Ee.preventDefault(),Ee.stopPropagation(),Me(Ee,(0,re.Z)(we))},we.onDragOver=function(Ee){var Me=we.props.context.onNodeDragOver;Ee.preventDefault(),Ee.stopPropagation(),Me(Ee,(0,re.Z)(we))},we.onDragLeave=function(Ee){var Me=we.props.context.onNodeDragLeave;Ee.stopPropagation(),Me(Ee,(0,re.Z)(we))},we.onDragEnd=function(Ee){var Me=we.props.context.onNodeDragEnd;Ee.stopPropagation(),we.setState({dragNodeHighlight:!1}),Me(Ee,(0,re.Z)(we))},we.onDrop=function(Ee){var Me=we.props.context.onNodeDrop;Ee.preventDefault(),Ee.stopPropagation(),we.setState({dragNodeHighlight:!1}),Me(Ee,(0,re.Z)(we))},we.onExpand=function(Ee){var Me=we.props,Ie=Me.loading,Be=Me.context.onNodeExpand;Ie||Be(Ee,(0,b.F)(we.props))},we.setSelectHandle=function(Ee){we.selectHandle=Ee},we.getNodeState=function(){var Ee=we.props.expanded;return we.isLeaf()?null:Ee?z:ue},we.hasChildren=function(){var Ee=we.props.eventKey,Me=we.props.context.keyEntities,Ie=(0,x.Z)(Me,Ee)||{},Be=Ie.children;return!!(Be||[]).length},we.isLeaf=function(){var Ee=we.props,Me=Ee.isLeaf,Ie=Ee.loaded,Be=we.props.context.loadData,Re=we.hasChildren();return Me===!1?!1:Me||!Be&&!Re||Be&&Ie&&!Re},we.isDisabled=function(){var Ee=we.props.disabled,Me=we.props.context.disabled;return!!(Me||Ee)},we.isCheckable=function(){var Ee=we.props.checkable,Me=we.props.context.checkable;return!Me||Ee===!1?!1:Me},we.syncLoadData=function(Ee){var Me=Ee.expanded,Ie=Ee.loading,Be=Ee.loaded,Re=we.props.context,tt=Re.loadData,Ye=Re.onNodeLoad;Ie||tt&&Me&&!we.isLeaf()&&!we.hasChildren()&&!Be&&Ye((0,b.F)(we.props))},we.isDraggable=function(){var Ee=we.props,Me=Ee.data,Ie=Ee.context.draggable;return!!(Ie&&(!Ie.nodeDraggable||Ie.nodeDraggable(Me)))},we.renderDragHandler=function(){var Ee=we.props.context,Me=Ee.draggable,Ie=Ee.prefixCls;return Me!=null&&Me.icon?ne.createElement("span",{className:"".concat(Ie,"-draggable-icon")},Me.icon):null},we.renderSwitcherIconDom=function(Ee){var Me=we.props.switcherIcon,Ie=we.props.context.switcherIcon,Be=Me||Ie;return typeof Be=="function"?Be((0,ve.Z)((0,ve.Z)({},we.props),{},{isLeaf:Ee})):Be},we.renderSwitcher=function(){var Ee=we.props.expanded,Me=we.props.context.prefixCls;if(we.isLeaf()){var Ie=we.renderSwitcherIconDom(!0);return Ie!==!1?ne.createElement("span",{className:ae()("".concat(Me,"-switcher"),"".concat(Me,"-switcher-noop"))},Ie):null}var Be=ae()("".concat(Me,"-switcher"),"".concat(Me,"-switcher_").concat(Ee?z:ue)),Re=we.renderSwitcherIconDom(!1);return Re!==!1?ne.createElement("span",{onClick:we.onExpand,className:Be},Re):null},we.renderCheckbox=function(){var Ee=we.props,Me=Ee.checked,Ie=Ee.halfChecked,Be=Ee.disableCheckbox,Re=we.props.context.prefixCls,tt=we.isDisabled(),Ye=we.isCheckable();if(!Ye)return null;var et=typeof Ye!="boolean"?Ye:null;return ne.createElement("span",{className:ae()("".concat(Re,"-checkbox"),Me&&"".concat(Re,"-checkbox-checked"),!Me&&Ie&&"".concat(Re,"-checkbox-indeterminate"),(tt||Be)&&"".concat(Re,"-checkbox-disabled")),onClick:we.onCheck},et)},we.renderIcon=function(){var Ee=we.props.loading,Me=we.props.context.prefixCls;return ne.createElement("span",{className:ae()("".concat(Me,"-iconEle"),"".concat(Me,"-icon__").concat(we.getNodeState()||"docu"),Ee&&"".concat(Me,"-icon_loading"))})},we.renderSelector=function(){var Ee=we.state.dragNodeHighlight,Me=we.props,Ie=Me.title,Be=Ie===void 0?ge:Ie,Re=Me.selected,tt=Me.icon,Ye=Me.loading,et=Me.data,Xe=we.props.context,Ge=Xe.prefixCls,Fe=Xe.showIcon,je=Xe.icon,qe=Xe.loadData,Je=Xe.titleRender,it=we.isDisabled(),Qe="".concat(Ge,"-node-content-wrapper"),Ze;if(Fe){var De=tt||je;Ze=De?ne.createElement("span",{className:ae()("".concat(Ge,"-iconEle"),"".concat(Ge,"-icon__customize"))},typeof De=="function"?De(we.props):De):we.renderIcon()}else qe&&Ye&&(Ze=we.renderIcon());var Ve;typeof Be=="function"?Ve=Be(et):Je?Ve=Je(et):Ve=Be;var Ae=ne.createElement("span",{className:"".concat(Ge,"-title")},Ve);return ne.createElement("span",{ref:we.setSelectHandle,title:typeof Be=="string"?Be:"",className:ae()("".concat(Qe),"".concat(Qe,"-").concat(we.getNodeState()||"normal"),!it&&(Re||Ee)&&"".concat(Ge,"-node-selected")),onMouseEnter:we.onMouseEnter,onMouseLeave:we.onMouseLeave,onContextMenu:we.onContextMenu,onClick:we.onSelectorClick,onDoubleClick:we.onSelectorDoubleClick},Ze,Ae,we.renderDropIndicator())},we.renderDropIndicator=function(){var Ee=we.props,Me=Ee.disabled,Ie=Ee.eventKey,Be=we.props.context,Re=Be.draggable,tt=Be.dropLevelOffset,Ye=Be.dropPosition,et=Be.prefixCls,Xe=Be.indent,Ge=Be.dropIndicatorRender,Fe=Be.dragOverNodeKey,je=Be.direction,qe=!!Re,Je=!Me&&qe&&Fe===Ie,it=Xe!=null?Xe:we.cacheIndent;return we.cacheIndent=Xe,Je?Ge({dropPosition:Ye,dropLevelOffset:tt,indent:it,prefixCls:et,direction:je}):null},we}return(0,se.Z)(Pe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Oe=this.props.selectable,Ce=this.props.context.selectable;return typeof Oe=="boolean"?Oe:Ce}},{key:"render",value:function(){var Oe,Ce=this.props,_e=Ce.eventKey,Ee=Ce.className,Me=Ce.style,Ie=Ce.dragOver,Be=Ce.dragOverGapTop,Re=Ce.dragOverGapBottom,tt=Ce.isLeaf,Ye=Ce.isStart,et=Ce.isEnd,Xe=Ce.expanded,Ge=Ce.selected,Fe=Ce.checked,je=Ce.halfChecked,qe=Ce.loading,Je=Ce.domRef,it=Ce.active,Qe=Ce.data,Ze=Ce.onMouseMove,De=Ce.selectable,Ve=(0,E.Z)(Ce,te),Ae=this.props.context,ke=Ae.prefixCls,$e=Ae.filterTreeNode,Ke=Ae.keyEntities,ze=Ae.dropContainerKey,Le=Ae.dropTargetKey,Te=Ae.draggingNodeKey,Ne=this.isDisabled(),He=(0,oe.Z)(Ve,{aria:!0,data:!0}),rt=(0,x.Z)(Ke,_e)||{},mt=rt.level,vt=et[et.length-1],nt=this.isDraggable(),ut=!Ne&&nt,Et=Te===_e,Ot=De!==void 0?{"aria-selected":!!De}:void 0;return ne.createElement("div",(0,Se.Z)({ref:Je,className:ae()(Ee,"".concat(ke,"-treenode"),(Oe={},(0,xe.Z)(Oe,"".concat(ke,"-treenode-disabled"),Ne),(0,xe.Z)(Oe,"".concat(ke,"-treenode-switcher-").concat(Xe?"open":"close"),!tt),(0,xe.Z)(Oe,"".concat(ke,"-treenode-checkbox-checked"),Fe),(0,xe.Z)(Oe,"".concat(ke,"-treenode-checkbox-indeterminate"),je),(0,xe.Z)(Oe,"".concat(ke,"-treenode-selected"),Ge),(0,xe.Z)(Oe,"".concat(ke,"-treenode-loading"),qe),(0,xe.Z)(Oe,"".concat(ke,"-treenode-active"),it),(0,xe.Z)(Oe,"".concat(ke,"-treenode-leaf-last"),vt),(0,xe.Z)(Oe,"".concat(ke,"-treenode-draggable"),nt),(0,xe.Z)(Oe,"dragging",Et),(0,xe.Z)(Oe,"drop-target",Le===_e),(0,xe.Z)(Oe,"drop-container",ze===_e),(0,xe.Z)(Oe,"drag-over",!Ne&&Ie),(0,xe.Z)(Oe,"drag-over-gap-top",!Ne&&Be),(0,xe.Z)(Oe,"drag-over-gap-bottom",!Ne&&Re),(0,xe.Z)(Oe,"filter-node",$e&&$e((0,b.F)(this.props))),Oe)),style:Me,draggable:ut,"aria-grabbed":Et,onDragStart:ut?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:Ze},Ot,He),ne.createElement(y,{prefixCls:ke,level:mt,isStart:Ye,isEnd:et}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Pe}(ne.Component),he=function(ye){return ne.createElement(ee.k.Consumer,null,function(Pe){return ne.createElement(me,(0,Se.Z)({},ye,{context:Pe}))})};he.displayName="TreeNode",he.isTreeNode=1;var pe=he},69610:function(_t,dt,fe){"use strict";fe.d(dt,{k:function(){return xe}});var Se=fe(67294),xe=Se.createContext(null)},29873:function(_t,dt,fe){"use strict";fe.d(dt,{BT:function(){return y},E6:function(){return te},L0:function(){return ce},OM:function(){return a},_5:function(){return le},r7:function(){return z},wA:function(){return oe},yx:function(){return ae}});var Se=fe(74902),xe=fe(71002),E=fe(72978),ve=fe(67294),de=fe(56261),se=fe(3596),re=fe(83898),ie=null;function le(ue,ge){if(!ue)return[];var me=ue.slice(),he=me.indexOf(ge);return he>=0&&me.splice(he,1),me}function ce(ue,ge){var me=(ue||[]).slice();return me.indexOf(ge)===-1&&me.push(ge),me}function ae(ue){return ue.split("-")}function oe(ue,ge){var me=[],he=(0,se.Z)(ge,ue);function pe(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];be.forEach(function(ye){var Pe=ye.key,we=ye.children;me.push(Pe),pe(we)})}return pe(he.children),me}function ne(ue){if(ue.parent){var ge=ae(ue.pos);return Number(ge[ge.length-1])===ue.parent.children.length-1}return!1}function ee(ue){var ge=ae(ue.pos);return Number(ge[ge.length-1])===0}function a(ue,ge,me,he,pe,be,ye,Pe,we,Oe){var Ce,_e=ue.clientX,Ee=ue.clientY,Me=ue.target.getBoundingClientRect(),Ie=Me.top,Be=Me.height,Re=(Oe==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-_e),tt=(Re-12)/he,Ye=(0,se.Z)(Pe,me.props.eventKey);if(Ee<Ie+Be/2){var et=ye.findIndex(function(Ae){return Ae.key===Ye.key}),Xe=et<=0?0:et-1,Ge=ye[Xe].key;Ye=(0,se.Z)(Pe,Ge)}var Fe=Ye.key,je=Ye,qe=Ye.key,Je=0,it=0;if(!we.includes(Fe))for(var Qe=0;Qe<tt&&ne(Ye);Qe+=1)Ye=Ye.parent,it+=1;var Ze=ge.props.data,De=Ye.node,Ve=!0;return ee(Ye)&&Ye.level===0&&Ee<Ie+Be/2&&be({dragNode:Ze,dropNode:De,dropPosition:-1})&&Ye.key===me.props.eventKey?Je=-1:(je.children||[]).length&&we.includes(qe)?be({dragNode:Ze,dropNode:De,dropPosition:0})?Je=0:Ve=!1:it===0?tt>-1.5?be({dragNode:Ze,dropNode:De,dropPosition:1})?Je=1:Ve=!1:be({dragNode:Ze,dropNode:De,dropPosition:0})?Je=0:be({dragNode:Ze,dropNode:De,dropPosition:1})?Je=1:Ve=!1:be({dragNode:Ze,dropNode:De,dropPosition:1})?Je=1:Ve=!1,{dropPosition:Je,dropLevelOffset:it,dropTargetKey:Ye.key,dropTargetPos:Ye.pos,dragOverNodeKey:qe,dropContainerKey:Je===0?null:((Ce=Ye.parent)===null||Ce===void 0?void 0:Ce.key)||null,dropAllowed:Ve}}function y(ue,ge){if(ue){var me=ge.multiple;return me?ue.slice():ue.length?[ue[0]]:ue}}var x=function(ge){return ge};function b(ue,ge){if(!ue)return[];var me=ge||{},he=me.processProps,pe=he===void 0?x:he,be=Array.isArray(ue)?ue:[ue];return be.map(function(ye){var Pe=ye.children,we=_objectWithoutProperties(ye,ie),Oe=b(Pe,ge);return React.createElement(TreeNode,_extends({key:we.key},pe(we)),Oe)})}function te(ue){if(!ue)return null;var ge;if(Array.isArray(ue))ge={checkedKeys:ue,halfCheckedKeys:void 0};else if((0,xe.Z)(ue)==="object")ge={checkedKeys:ue.checked||void 0,halfCheckedKeys:ue.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ge}function z(ue,ge){var me=new Set;function he(pe){if(!me.has(pe)){var be=(0,se.Z)(ge,pe);if(be){me.add(pe);var ye=be.parent,Pe=be.node;Pe.disabled||ye&&he(ye.key)}}}return(ue||[]).forEach(function(pe){he(pe)}),(0,Se.Z)(me)}},97153:function(_t,dt,fe){"use strict";fe.d(dt,{S:function(){return re}});var Se=fe(72978),xe=fe(3596);function E(ie,le){var ce=new Set;return ie.forEach(function(ae){le.has(ae)||ce.add(ae)}),ce}function ve(ie){var le=ie||{},ce=le.disabled,ae=le.disableCheckbox,oe=le.checkable;return!!(ce||ae)||oe===!1}function de(ie,le,ce,ae){for(var oe=new Set(ie),ne=new Set,ee=0;ee<=ce;ee+=1){var a=le.get(ee)||new Set;a.forEach(function(te){var z=te.key,ue=te.node,ge=te.children,me=ge===void 0?[]:ge;oe.has(z)&&!ae(ue)&&me.filter(function(he){return!ae(he.node)}).forEach(function(he){oe.add(he.key)})})}for(var y=new Set,x=ce;x>=0;x-=1){var b=le.get(x)||new Set;b.forEach(function(te){var z=te.parent,ue=te.node;if(!(ae(ue)||!te.parent||y.has(te.parent.key))){if(ae(te.parent.node)){y.add(z.key);return}var ge=!0,me=!1;(z.children||[]).filter(function(he){return!ae(he.node)}).forEach(function(he){var pe=he.key,be=oe.has(pe);ge&&!be&&(ge=!1),!me&&(be||ne.has(pe))&&(me=!0)}),ge&&oe.add(z.key),me&&ne.add(z.key),y.add(z.key)}})}return{checkedKeys:Array.from(oe),halfCheckedKeys:Array.from(E(ne,oe))}}function se(ie,le,ce,ae,oe){for(var ne=new Set(ie),ee=new Set(le),a=0;a<=ae;a+=1){var y=ce.get(a)||new Set;y.forEach(function(z){var ue=z.key,ge=z.node,me=z.children,he=me===void 0?[]:me;!ne.has(ue)&&!ee.has(ue)&&!oe(ge)&&he.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 te=ce.get(b)||new Set;te.forEach(function(z){var ue=z.parent,ge=z.node;if(!(oe(ge)||!z.parent||x.has(z.parent.key))){if(oe(z.parent.node)){x.add(ue.key);return}var me=!0,he=!1;(ue.children||[]).filter(function(pe){return!oe(pe.node)}).forEach(function(pe){var be=pe.key,ye=ne.has(be);me&&!ye&&(me=!1),!he&&(ye||ee.has(be))&&(he=!0)}),me||ne.delete(ue.key),he&&ee.add(ue.key),x.add(ue.key)}})}return{checkedKeys:Array.from(ne),halfCheckedKeys:Array.from(E(ee,ne))}}function re(ie,le,ce,ae){var oe=[],ne;ae?ne=ae:ne=ve;var ee=new Set(ie.filter(function(b){var te=!!(0,xe.Z)(ce,b);return te||oe.push(b),te})),a=new Map,y=0;Object.keys(ce).forEach(function(b){var te=ce[b],z=te.level,ue=a.get(z);ue||(ue=new Set,a.set(z,ue)),ue.add(te),y=Math.max(y,z)}),(0,Se.ZP)(!oe.length,"Tree missing follow keys: ".concat(oe.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return le===!0?x=de(ee,a,y,ne):x=se(ee,le.halfCheckedKeys,a,y,ne),x}},3596:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return Se}});function Se(xe,E){return xe[E]}},83898:function(_t,dt,fe){"use strict";fe.d(dt,{I8:function(){return z},F:function(){return ge},zn:function(){return x},w$:function(){return a},oH:function(){return b},km:function(){return ee},H8:function(){return ue}});var Se=fe(71002),xe=fe(74902),E=fe(1413),ve=fe(45987),de=fe(67294),se=fe(28580);function re(me){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=[];return de.Children.forEach(me,function(be){be==null&&!he.keepEmpty||(Array.isArray(be)?pe=pe.concat(re(be)):(0,se.isFragment)(be)&&be.props?pe=pe.concat(re(be.props.children,he)):pe.push(be))}),pe}function ie(me,he){var pe=(0,E.Z)({},me);return Array.isArray(he)&&he.forEach(function(be){delete pe[be]}),pe}var le=fe(72978),ce=fe(3596),ae=["children"];function oe(me,he){return"".concat(me,"-").concat(he)}function ne(me){return me&&me.type&&me.type.isTreeNode}function ee(me,he){return me!=null?me:he}function a(me){var he=me||{},pe=he.title,be=he._title,ye=he.key,Pe=he.children,we=pe||"title";return{title:we,_title:be||[we],key:ye||"key",children:Pe||"children"}}function y(me,he){var pe=new Map;function be(ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ye||[]).forEach(function(we){var Oe=we[he.key],Ce=we[he.children];warning(Oe!=null,"Tree node must have a certain key: [".concat(Pe).concat(Oe,"]"));var _e=String(Oe);warning(!pe.has(_e)||Oe===null||Oe===void 0,"Same 'key' exist in the Tree: ".concat(_e)),pe.set(_e,!0),be(Ce,"".concat(Pe).concat(_e," > "))})}be(me)}function x(me){function he(pe){var be=re(pe);return be.map(function(ye){if(!ne(ye))return(0,le.ZP)(!ye,"Tree/TreeNode can only accept TreeNode as children."),null;var Pe=ye.key,we=ye.props,Oe=we.children,Ce=(0,ve.Z)(we,ae),_e=(0,E.Z)({key:Pe},Ce),Ee=he(Oe);return Ee.length&&(_e.children=Ee),_e}).filter(function(ye){return ye})}return he(me)}function b(me,he,pe){var be=a(pe),ye=be._title,Pe=be.key,we=be.children,Oe=new Set(he===!0?[]:he),Ce=[];function _e(Ee){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ee.map(function(Ie,Be){for(var Re=oe(Me?Me.pos:"0",Be),tt=ee(Ie[Pe],Re),Ye,et=0;et<ye.length;et+=1){var Xe=ye[et];if(Ie[Xe]!==void 0){Ye=Ie[Xe];break}}var Ge=(0,E.Z)((0,E.Z)({},ie(Ie,[].concat((0,xe.Z)(ye),[Pe,we]))),{},{title:Ye,key:tt,parent:Me,pos:Re,children:null,data:Ie,isStart:[].concat((0,xe.Z)(Me?Me.isStart:[]),[Be===0]),isEnd:[].concat((0,xe.Z)(Me?Me.isEnd:[]),[Be===Ee.length-1])});return Ce.push(Ge),he===!0||Oe.has(tt)?Ge.children=_e(Ie[we]||[],Ge):Ge.children=[],Ge})}return _e(me),Ce}function te(me,he,pe){var be={};(0,Se.Z)(pe)==="object"?be=pe:be={externalGetKey:pe},be=be||{};var ye=be,Pe=ye.childrenPropName,we=ye.externalGetKey,Oe=ye.fieldNames,Ce=a(Oe),_e=Ce.key,Ee=Ce.children,Me=Pe||Ee,Ie;we?typeof we=="string"?Ie=function(tt){return tt[we]}:typeof we=="function"&&(Ie=function(tt){return we(tt)}):Ie=function(tt,Ye){return ee(tt[_e],Ye)};function Be(Re,tt,Ye,et){var Xe=Re?Re[Me]:me,Ge=Re?oe(Ye.pos,tt):"0",Fe=Re?[].concat((0,xe.Z)(et),[Re]):[];if(Re){var je=Ie(Re,Ge),qe={node:Re,index:tt,pos:Ge,key:je,parentPos:Ye.node?Ye.pos:null,level:Ye.level+1,nodes:Fe};he(qe)}Xe&&Xe.forEach(function(Je,it){Be(Je,it,{node:Re,pos:Ge,level:Ye?Ye.level+1:-1},Fe)})}Be(null)}function z(me){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=he.initWrapper,be=he.processEntity,ye=he.onProcessFinished,Pe=he.externalGetKey,we=he.childrenPropName,Oe=he.fieldNames,Ce=arguments.length>2?arguments[2]:void 0,_e=Pe||Ce,Ee={},Me={},Ie={posEntities:Ee,keyEntities:Me};return pe&&(Ie=pe(Ie)||Ie),te(me,function(Be){var Re=Be.node,tt=Be.index,Ye=Be.pos,et=Be.key,Xe=Be.parentPos,Ge=Be.level,Fe=Be.nodes,je={node:Re,nodes:Fe,index:tt,key:et,pos:Ye,level:Ge},qe=ee(et,Ye);Ee[Ye]=je,Me[qe]=je,je.parent=Ee[Xe],je.parent&&(je.parent.children=je.parent.children||[],je.parent.children.push(je)),be&&be(je,Ie)},{externalGetKey:_e,childrenPropName:we,fieldNames:Oe}),ye&&ye(Ie),Ie}function ue(me,he){var pe=he.expandedKeys,be=he.selectedKeys,ye=he.loadedKeys,Pe=he.loadingKeys,we=he.checkedKeys,Oe=he.halfCheckedKeys,Ce=he.dragOverNodeKey,_e=he.dropPosition,Ee=he.keyEntities,Me=(0,ce.Z)(Ee,me),Ie={eventKey:me,expanded:pe.indexOf(me)!==-1,selected:be.indexOf(me)!==-1,loaded:ye.indexOf(me)!==-1,loading:Pe.indexOf(me)!==-1,checked:we.indexOf(me)!==-1,halfChecked:Oe.indexOf(me)!==-1,pos:String(Me?Me.pos:""),dragOver:Ce===me&&_e===0,dragOverGapTop:Ce===me&&_e===-1,dragOverGapBottom:Ce===me&&_e===1};return Ie}function ge(me){var he=me.data,pe=me.expanded,be=me.selected,ye=me.checked,Pe=me.loaded,we=me.loading,Oe=me.halfChecked,Ce=me.dragOver,_e=me.dragOverGapTop,Ee=me.dragOverGapBottom,Me=me.pos,Ie=me.active,Be=me.eventKey,Re=(0,E.Z)((0,E.Z)({},he),{},{expanded:pe,selected:be,checked:ye,loaded:Pe,loading:we,halfChecked:Oe,dragOver:Ce,dragOverGapTop:_e,dragOverGapBottom:Ee,pos:Me,active:Ie,key:Be});return"props"in Re||Object.defineProperty(Re,"props",{get:function(){return(0,le.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),me}}),Re}},34952:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return ie}});var Se=fe(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`,ve="".concat(xe," ").concat(E).split(/[\s\n]+/),de="aria-",se="data-";function re(le,ce){return le.indexOf(ce)===0}function ie(le){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae;ce===!1?ae={aria:!0,data:!0,attr:!0}:ce===!0?ae={aria:!0}:ae=(0,Se.Z)({},ce);var oe={};return Object.keys(le).forEach(function(ne){(ae.aria&&(ne==="role"||re(ne,de))||ae.data&&re(ne,se)||ae.attr&&ve.includes(ne))&&(oe[ne]=le[ne])}),oe}},72978:function(_t,dt,fe){"use strict";var Se={};function xe(ie,le){}function E(ie,le){}function ve(){Se={}}function de(ie,le,ce){!le&&!Se[ce]&&(ie(!1,ce),Se[ce]=!0)}function se(ie,le){de(xe,ie,le)}function re(ie,le){de(E,ie,le)}dt.ZP=se},81533:function(_t,dt){"use strict";var fe;var Se=typeof Symbol=="function"&&Symbol.for,xe=Se?Symbol.for("react.element"):60103,E=Se?Symbol.for("react.portal"):60106,ve=Se?Symbol.for("react.fragment"):60107,de=Se?Symbol.for("react.strict_mode"):60108,se=Se?Symbol.for("react.profiler"):60114,re=Se?Symbol.for("react.provider"):60109,ie=Se?Symbol.for("react.context"):60110,le=Se?Symbol.for("react.async_mode"):60111,ce=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,te=Se?Symbol.for("react.scope"):60119;function z(ge){if(typeof ge=="object"&&ge!==null){var me=ge.$$typeof;switch(me){case xe:switch(ge=ge.type,ge){case le:case ce:case ve:case se:case de:case oe:return ge;default:switch(ge=ge&&ge.$$typeof,ge){case ie:case ae:case a:case ee:case re:return ge;default:return me}}case E:return me}}}function ue(ge){return z(ge)===ce}fe=le,fe=ce,fe=ie,fe=re,fe=xe,fe=ae,fe=ve,fe=a,fe=ee,fe=E,fe=se,fe=de,fe=oe,fe=function(ge){return ue(ge)||z(ge)===le},fe=ue,fe=function(ge){return z(ge)===ie},fe=function(ge){return z(ge)===re},fe=function(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===xe},fe=function(ge){return z(ge)===ae},dt.isFragment=function(ge){return z(ge)===ve},fe=function(ge){return z(ge)===a},dt.isMemo=function(ge){return z(ge)===ee},fe=function(ge){return z(ge)===E},fe=function(ge){return z(ge)===se},fe=function(ge){return z(ge)===de},fe=function(ge){return z(ge)===oe},fe=function(ge){return typeof ge=="string"||typeof ge=="function"||ge===ve||ge===ce||ge===se||ge===de||ge===oe||ge===ne||typeof ge=="object"&&ge!==null&&(ge.$$typeof===a||ge.$$typeof===ee||ge.$$typeof===re||ge.$$typeof===ie||ge.$$typeof===ae||ge.$$typeof===x||ge.$$typeof===b||ge.$$typeof===te||ge.$$typeof===y)},fe=z},28580:function(_t,dt,fe){"use strict";_t.exports=fe(81533)},92389:function(_t,dt){"use strict";var fe={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>=fe.F1&&E<=fe.F12)return!1;switch(E){case fe.ALT:case fe.CAPS_LOCK:case fe.CONTEXT_MENU:case fe.CTRL:case fe.DOWN:case fe.END:case fe.ESC:case fe.HOME:case fe.INSERT:case fe.LEFT:case fe.MAC_FF_META:case fe.META:case fe.NUMLOCK:case fe.NUM_CENTER:case fe.PAGE_DOWN:case fe.PAGE_UP:case fe.PAUSE:case fe.PRINT_SCREEN:case fe.RIGHT:case fe.SHIFT:case fe.UP:case fe.WIN_KEY:case fe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(xe){if(xe>=fe.ZERO&&xe<=fe.NINE||xe>=fe.NUM_ZERO&&xe<=fe.NUM_MULTIPLY||xe>=fe.A&&xe<=fe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&xe===0)return!0;switch(xe){case fe.SPACE:case fe.QUESTION_MARK:case fe.NUM_PLUS:case fe.NUM_MINUS:case fe.NUM_PERIOD:case fe.NUM_DIVISION:case fe.SEMICOLON:case fe.DASH:case fe.EQUALS:case fe.COMMA:case fe.PERIOD:case fe.SLASH:case fe.APOSTROPHE:case fe.SINGLE_QUOTE:case fe.OPEN_SQUARE_BRACKET:case fe.BACKSLASH:case fe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};dt.Z=fe},19575:function(_t,dt,fe){var Se,xe;(function(E,ve){_t.exports=ve(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof fe.g!="undefined"?fe.g:this,function(E){"use strict";E=E||{};var ve=E.Base64,de="2.6.4",se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=function(Ce){for(var _e={},Ee=0,Me=Ce.length;Ee<Me;Ee++)_e[Ce.charAt(Ee)]=Ee;return _e}(se),ie=String.fromCharCode,le=function(Ce){if(Ce.length<2){var _e=Ce.charCodeAt(0);return _e<128?Ce:_e<2048?ie(192|_e>>>6)+ie(128|_e&63):ie(224|_e>>>12&15)+ie(128|_e>>>6&63)+ie(128|_e&63)}else{var _e=65536+(Ce.charCodeAt(0)-55296)*1024+(Ce.charCodeAt(1)-56320);return ie(240|_e>>>18&7)+ie(128|_e>>>12&63)+ie(128|_e>>>6&63)+ie(128|_e&63)}},ce=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ae=function(Ce){return Ce.replace(ce,le)},oe=function(Ce){var _e=[0,2,1][Ce.length%3],Ee=Ce.charCodeAt(0)<<16|(Ce.length>1?Ce.charCodeAt(1):0)<<8|(Ce.length>2?Ce.charCodeAt(2):0),Me=[se.charAt(Ee>>>18),se.charAt(Ee>>>12&63),_e>=2?"=":se.charAt(Ee>>>6&63),_e>=1?"=":se.charAt(Ee&63)];return Me.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 Ee="",Me=0,Ie=Ce.length;Me<Ie;Me+=3){var Be=Ce[Me],Re=Ce[Me+1],tt=Ce[Me+2],Ye=Be<<16|Re<<8|tt;Ee+=se.charAt(Ye>>>18)+se.charAt(Ye>>>12&63)+(typeof Re!="undefined"?se.charAt(Ye>>>6&63):"=")+(typeof tt!="undefined"?se.charAt(Ye&63):"=")}return _e?a(Ee):Ee});var te=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,z=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),Ee=_e-65536;return ie((Ee>>>10)+55296)+ie((Ee&1023)+56320);case 3:return ie((15&Ce.charCodeAt(0))<<12|(63&Ce.charCodeAt(1))<<6|63&Ce.charCodeAt(2));default:return ie((31&Ce.charCodeAt(0))<<6|63&Ce.charCodeAt(1))}},ue=function(Ce){return Ce.replace(te,z)},ge=function(Ce){var _e=Ce.length,Ee=_e%4,Me=(_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),Ie=[ie(Me>>>16),ie(Me>>>8&255),ie(Me&255)];return Ie.length-=[0,0,2,1][Ee],Ie.join("")},me=E.atob&&typeof E.atob=="function"?function(Ce){return E.atob(Ce)}:function(Ce){return Ce.replace(/\S{1,4}/g,ge)},he=function(Ce){return me(String(Ce).replace(/[^A-Za-z0-9\+\/]/g,""))},pe=function(Ce){return ue(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))},Pe;E.Uint8Array&&(Pe=function(Ce){return Uint8Array.from(he(be(Ce)),function(_e){return _e.charCodeAt(0)})});var we=function(){var Ce=E.Base64;return E.Base64=ve,Ce};if(E.Base64={VERSION:de,atob:he,btoa:ne,fromBase64:ye,toBase64:y,utob:ae,encode:y,encodeURI:x,btou:ue,decode:ye,noConflict:we,fromUint8Array:b,toUint8Array:Pe},typeof Object.defineProperty=="function"){var Oe=function(Ce){return{value:Ce,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Oe(function(){return ye(this)})),Object.defineProperty(String.prototype,"toBase64",Oe(function(Ce){return y(this,Ce)})),Object.defineProperty(String.prototype,"toBase64URI",Oe(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),_t.exports?_t.exports.Base64=E.Base64:(Se=[],xe=function(){return E.Base64}.apply(dt,Se),xe!==void 0&&(_t.exports=xe)),{Base64:E.Base64}})},26819:function(_t,dt){"use strict";var fe;var Se=typeof Symbol=="function"&&Symbol.for,xe=Se?Symbol.for("react.element"):60103,E=Se?Symbol.for("react.portal"):60106,ve=Se?Symbol.for("react.fragment"):60107,de=Se?Symbol.for("react.strict_mode"):60108,se=Se?Symbol.for("react.profiler"):60114,re=Se?Symbol.for("react.provider"):60109,ie=Se?Symbol.for("react.context"):60110,le=Se?Symbol.for("react.async_mode"):60111,ce=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,te=Se?Symbol.for("react.scope"):60119;function z(ge){if(typeof ge=="object"&&ge!==null){var me=ge.$$typeof;switch(me){case xe:switch(ge=ge.type,ge){case le:case ce:case ve:case se:case de:case oe:return ge;default:switch(ge=ge&&ge.$$typeof,ge){case ie:case ae:case a:case ee:case re:return ge;default:return me}}case E:return me}}}function ue(ge){return z(ge)===ce}fe=le,fe=ce,fe=ie,fe=re,fe=xe,fe=ae,fe=ve,fe=a,fe=ee,fe=E,fe=se,fe=de,fe=oe,fe=function(ge){return ue(ge)||z(ge)===le},fe=ue,fe=function(ge){return z(ge)===ie},fe=function(ge){return z(ge)===re},fe=function(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===xe},fe=function(ge){return z(ge)===ae},fe=function(ge){return z(ge)===ve},fe=function(ge){return z(ge)===a},dt.isMemo=function(ge){return z(ge)===ee},fe=function(ge){return z(ge)===E},fe=function(ge){return z(ge)===se},fe=function(ge){return z(ge)===de},fe=function(ge){return z(ge)===oe},fe=function(ge){return typeof ge=="string"||typeof ge=="function"||ge===ve||ge===ce||ge===se||ge===de||ge===oe||ge===ne||typeof ge=="object"&&ge!==null&&(ge.$$typeof===a||ge.$$typeof===ee||ge.$$typeof===re||ge.$$typeof===ie||ge.$$typeof===ae||ge.$$typeof===x||ge.$$typeof===b||ge.$$typeof===te||ge.$$typeof===y)},fe=z},18459:function(_t,dt,fe){"use strict";_t.exports=fe(26819)},16651:function(_t,dt){"use strict";var fe;var Se=Symbol.for("react.element"),xe=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),ve=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),se=Symbol.for("react.provider"),re=Symbol.for("react.context"),ie=Symbol.for("react.server_context"),le=Symbol.for("react.forward_ref"),ce=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 de:case ve:case ce:case ae:return x;default:switch(x=x&&x.$$typeof,x){case ie:case re:case le:case ne:case oe:case se:return x;default:return b}}case xe:return b}}}fe=re,fe=se,fe=Se,fe=le,fe=E,fe=ne,fe=oe,fe=xe,fe=de,fe=ve,fe=ce,fe=ae,fe=function(){return!1},fe=function(){return!1},fe=function(x){return y(x)===re},fe=function(x){return y(x)===se},fe=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===Se},fe=function(x){return y(x)===le},fe=function(x){return y(x)===E},fe=function(x){return y(x)===ne},fe=function(x){return y(x)===oe},fe=function(x){return y(x)===xe},fe=function(x){return y(x)===de},fe=function(x){return y(x)===ve},fe=function(x){return y(x)===ce},fe=function(x){return y(x)===ae},fe=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===de||x===ve||x===ce||x===ae||x===ee||typeof x=="object"&&x!==null&&(x.$$typeof===ne||x.$$typeof===oe||x.$$typeof===se||x.$$typeof===re||x.$$typeof===le||x.$$typeof===a||x.getModuleId!==void 0)},fe=y},33993:function(_t,dt,fe){"use strict";fe(16651)},46762:function(_t,dt){"use strict";var fe;var Se=Symbol.for("react.element"),xe=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),ve=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),se=Symbol.for("react.provider"),re=Symbol.for("react.context"),ie=Symbol.for("react.server_context"),le=Symbol.for("react.forward_ref"),ce=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 de:case ve:case ce:case ae:return x;default:switch(x=x&&x.$$typeof,x){case ie:case re:case le:case ne:case oe:case se:return x;default:return b}}case xe:return b}}}fe=re,fe=se,fe=Se,fe=le,fe=E,fe=ne,fe=oe,fe=xe,fe=de,fe=ve,fe=ce,fe=ae,fe=function(){return!1},fe=function(){return!1},fe=function(x){return y(x)===re},fe=function(x){return y(x)===se},fe=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===Se},fe=function(x){return y(x)===le},dt.isFragment=function(x){return y(x)===E},fe=function(x){return y(x)===ne},fe=function(x){return y(x)===oe},fe=function(x){return y(x)===xe},fe=function(x){return y(x)===de},fe=function(x){return y(x)===ve},fe=function(x){return y(x)===ce},fe=function(x){return y(x)===ae},fe=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===de||x===ve||x===ce||x===ae||x===ee||typeof x=="object"&&x!==null&&(x.$$typeof===ne||x.$$typeof===oe||x.$$typeof===se||x.$$typeof===re||x.$$typeof===le||x.$$typeof===a||x.getModuleId!==void 0)},fe=y},35110:function(_t,dt,fe){"use strict";_t.exports=fe(46762)},64217:function(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return ie}});var Se=fe(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`,ve="".concat(xe," ").concat(E).split(/[\s\n]+/),de="aria-",se="data-";function re(le,ce){return le.indexOf(ce)===0}function ie(le){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae;ce===!1?ae={aria:!0,data:!0,attr:!0}:ce===!0?ae={aria:!0}:ae=(0,Se.Z)({},ce);var oe={};return Object.keys(le).forEach(function(ne){(ae.aria&&(ne==="role"||re(ne,de))||ae.data&&re(ne,se)||ae.attr&&ve.includes(ne))&&(oe[ne]=le[ne])}),oe}},58971:function(_t,dt,fe){var Se=fe(62195),xe=fe(39015),E=[fe(19257)];_t.exports=Se.createStore(xe,E)},19257:function(_t,dt,fe){_t.exports=Se;function Se(){return fe(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(_t){return _t<10?"0"+_t:_t}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(_t){return rx_escapable.lastIndex=0,rx_escapable.test(_t)?'"'+_t.replace(rx_escapable,function(dt){var fe=meta[dt];return typeof fe=="string"?fe:"\\u"+("0000"+dt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+_t+'"'}function str(_t,dt){var fe,Se,xe,E,ve=gap,de,se=dt[_t];switch(se&&typeof se=="object"&&typeof se.toJSON=="function"&&(se=se.toJSON(_t)),typeof rep=="function"&&(se=rep.call(dt,_t,se)),typeof se){case"string":return quote(se);case"number":return isFinite(se)?String(se):"null";case"boolean":case"null":return String(se);case"object":if(!se)return"null";if(gap+=indent,de=[],Object.prototype.toString.apply(se)==="[object Array]"){for(E=se.length,fe=0;fe<E;fe+=1)de[fe]=str(fe,se)||"null";return xe=de.length===0?"[]":gap?`[
|
|
|
`+gap+de.join(`,
|
|
|
`+gap)+`
|
|
|
`+ve+"]":"["+de.join(",")+"]",gap=ve,xe}if(rep&&typeof rep=="object")for(E=rep.length,fe=0;fe<E;fe+=1)typeof rep[fe]=="string"&&(Se=rep[fe],xe=str(Se,se),xe&&de.push(quote(Se)+(gap?": ":":")+xe));else for(Se in se)Object.prototype.hasOwnProperty.call(se,Se)&&(xe=str(Se,se),xe&&de.push(quote(Se)+(gap?": ":":")+xe));return xe=de.length===0?"{}":gap?`{
|
|
|
`+gap+de.join(`,
|
|
|
`+gap)+`
|
|
|
`+ve+"}":"{"+de.join(",")+"}",gap=ve,xe}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(_t,dt,fe){var Se;if(gap="",indent="",typeof fe=="number")for(Se=0;Se<fe;Se+=1)indent+=" ";else typeof fe=="string"&&(indent=fe);if(rep=dt,dt&&typeof dt!="function"&&(typeof dt!="object"||typeof dt.length!="number"))throw new Error("JSON.stringify");return str("",{"":_t})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(_t,dt){var fe,Se,xe=_t[dt];if(xe&&typeof xe=="object")for(fe in xe)Object.prototype.hasOwnProperty.call(xe,fe)&&(Se=walk(xe,fe),Se!==void 0?xe[fe]=Se:delete xe[fe]);return reviver.call(_t,dt,xe)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(_t){return"\\u"+("0000"+_t.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(_t,dt,fe){var Se=fe(69078),xe=Se.slice,E=Se.pluck,ve=Se.each,de=Se.bind,se=Se.create,re=Se.isList,ie=Se.isFunction,le=Se.isObject;_t.exports={createStore:oe};var ce={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 te={_namespacePrefix:y,_namespaceRegexp:x,_testStorage:function(ue){try{var ge="__storejs__test__";ue.write(ge,ge);var me=ue.read(ge)===ge;return ue.remove(ge),me}catch(he){return!1}},_assignPluginFnProp:function(ue,ge){var me=this[ge];this[ge]=function(){var pe=xe(arguments,0),be=this;function ye(){if(me)return ve(arguments,function(we,Oe){pe[Oe]=we}),me.apply(be,pe)}var Pe=[ye].concat(pe);return ue.apply(be,Pe)}},_serialize:function(ue){return JSON.stringify(ue)},_deserialize:function(ue,ge){if(!ue)return ge;var me="";try{me=JSON.parse(ue)}catch(he){me=ue}return me!==void 0?me:ge},_addStorage:function(ue){this.enabled||this._testStorage(ue)&&(this.storage=ue,this.enabled=!0)},_addPlugin:function(ue){var ge=this;if(re(ue)){ve(ue,function(pe){ge._addPlugin(pe)});return}var me=E(this.plugins,function(pe){return ue===pe});if(!me){if(this.plugins.push(ue),!ie(ue))throw new Error("Plugins must be function values that return objects");var he=ue.call(this);if(!le(he))throw new Error("Plugins must return an object of function properties");ve(he,function(pe,be){if(!ie(pe))throw new Error("Bad plugin property: "+be+" from plugin "+ue.name+". Plugins should only return functions.");ge._assignPluginFnProp(pe,be)})}},addStorage:function(ue){ae("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(ue)}},z=se(te,ce,{plugins:[]});return z.raw={},ve(z,function(ue,ge){ie(ue)&&(z.raw[ge]=de(z,ue))}),ve(ne,function(ue){z._addStorage(ue)}),ve(ee,function(ue){z._addPlugin(ue)}),z}},69078:function(_t,dt,fe){var Se=de(),xe=se(),E=re(),ve=typeof window!="undefined"?window:fe.g;_t.exports={assign:Se,create:xe,trim:E,bind:ie,slice:le,each:ce,map:ae,pluck:oe,isList:ne,isFunction:ee,isObject:a,Global:ve};function de(){return Object.assign?Object.assign:function(x,b,te,z){for(var ue=1;ue<arguments.length;ue++)ce(Object(arguments[ue]),function(ge,me){x[me]=ge});return x}}function se(){if(Object.create)return function(b,te,z,ue){var ge=le(arguments,1);return Se.apply(this,[Object.create(b)].concat(ge))};{let x=function(){};var y=x;return function(te,z,ue,ge){var me=le(arguments,1);return x.prototype=te,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 ie(y,x){return function(){return x.apply(y,Array.prototype.slice.call(arguments,0))}}function le(y,x){return Array.prototype.slice.call(y,x||0)}function ce(y,x){oe(y,function(b,te){return x(b,te),!1})}function ae(y,x){var b=ne(y)?[]:{};return oe(y,function(te,z){return b[z]=x(te,z),!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 te in y)if(y.hasOwnProperty(te)&&x(y[te],te))return y[te]}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(_t,dt,fe){_t.exports=[fe(39627),fe(95347),fe(34524),fe(45580),fe(58855),fe(8728)]},45580:function(_t,dt,fe){var Se=fe(69078),xe=Se.Global,E=Se.trim;_t.exports={name:"cookieStorage",read:de,write:re,each:se,remove:ie,clearAll:le};var ve=xe.document;function de(ae){if(!ae||!ce(ae))return null;var oe="(?:^|.*;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(ve.cookie.replace(new RegExp(oe),"$1"))}function se(ae){for(var oe=ve.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&&(ve.cookie=escape(ae)+"="+escape(oe)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ie(ae){!ae||!ce(ae)||(ve.cookie=escape(ae)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function le(){se(function(ae,oe){ie(oe)})}function ce(ae){return new RegExp("(?:^|;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(ve.cookie)}},39627:function(_t,dt,fe){var Se=fe(69078),xe=Se.Global;_t.exports={name:"localStorage",read:ve,write:de,each:se,remove:re,clearAll:ie};function E(){return xe.localStorage}function ve(le){return E().getItem(le)}function de(le,ce){return E().setItem(le,ce)}function se(le){for(var ce=E().length-1;ce>=0;ce--){var ae=E().key(ce);le(ve(ae),ae)}}function re(le){return E().removeItem(le)}function ie(){return E().clear()}},8728:function(_t){_t.exports={name:"memoryStorage",read:fe,write:Se,each:xe,remove:E,clearAll:ve};var dt={};function fe(de){return dt[de]}function Se(de,se){dt[de]=se}function xe(de){for(var se in dt)dt.hasOwnProperty(se)&&de(dt[se],se)}function E(de){delete dt[de]}function ve(de){dt={}}},95347:function(_t,dt,fe){var Se=fe(69078),xe=Se.Global;_t.exports={name:"oldFF-globalStorage",read:ve,write:de,each:se,remove:re,clearAll:ie};var E=xe.globalStorage;function ve(le){return E[le]}function de(le,ce){E[le]=ce}function se(le){for(var ce=E.length-1;ce>=0;ce--){var ae=E.key(ce);le(E[ae],ae)}}function re(le){return E.removeItem(le)}function ie(){se(function(le,ce){delete E[le]})}},34524:function(_t,dt,fe){var Se=fe(69078),xe=Se.Global;_t.exports={name:"oldIE-userDataStorage",write:re,read:ie,each:le,remove:ce,clearAll:ae};var E="storejs",ve=xe.document,de=ee(),se=(xe.navigator?xe.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function re(a,y){if(!se){var x=ne(a);de(function(b){b.setAttribute(x,y),b.save(E)})}}function ie(a){if(!se){var y=ne(a),x=null;return de(function(b){x=b.getAttribute(y)}),x}}function le(a){de(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var te=x[b];a(y.getAttribute(te.name),te.name)}})}function ce(a){var y=ne(a);de(function(x){x.removeAttribute(y),x.save(E)})}function ae(){de(function(a){var y=a.XMLDocument.documentElement.attributes;a.load(E);for(var x=y.length-1;x>=0;x--)a.removeAttribute(y[x].name);a.save(E)})}var oe=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function ne(a){return a.replace(/^\d/,"___$&").replace(oe,"___")}function ee(){if(!ve||!ve.documentElement||!ve.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(te){b=ve.createElement("div"),y=ve.body}return function(te){var z=[].slice.call(arguments,0);z.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(E),te.apply(this,z),y.removeChild(b)}}},58855:function(_t,dt,fe){var Se=fe(69078),xe=Se.Global;_t.exports={name:"sessionStorage",read:ve,write:de,each:se,remove:re,clearAll:ie};function E(){return xe.sessionStorage}function ve(le){return E().getItem(le)}function de(le,ce){return E().setItem(le,ce)}function se(le){for(var ce=E().length-1;ce>=0;ce--){var ae=E().key(ce);le(ve(ae),ae)}}function re(le){return E().removeItem(le)}function ie(){return E().clear()}},12320:function(_t){(function(dt,fe){if(1)_t.exports=fe();else var Se,xe})(window,function(){return function(dt){var fe={};function Se(xe){if(fe[xe])return fe[xe].exports;var E=fe[xe]={i:xe,l:!1,exports:{}};return dt[xe].call(E.exports,E,E.exports,Se),E.l=!0,E.exports}return Se.m=dt,Se.c=fe,Se.d=function(xe,E,ve){Se.o(xe,E)||Object.defineProperty(xe,E,{enumerable:!0,get:ve})},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 ve=Object.create(null);if(Se.r(ve),Object.defineProperty(ve,"default",{enumerable:!0,value:xe}),2&E&&typeof xe!="string")for(var de in xe)Se.d(ve,de,function(se){return xe[se]}.bind(null,de));return ve},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(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.forwardEvent=fe.EventEmitter=void 0;var xe=function(){function E(){this._listeners=[],this._disposed=!1}return Object.defineProperty(E.prototype,"event",{get:function(){var ve=this;return this._event||(this._event=function(de){return ve._listeners.push(de),{dispose:function(){if(!ve._disposed){for(var se=0;se<ve._listeners.length;se++)if(ve._listeners[se]===de)return void ve._listeners.splice(se,1)}}}}),this._event},enumerable:!1,configurable:!0}),E.prototype.fire=function(ve,de){for(var se=[],re=0;re<this._listeners.length;re++)se.push(this._listeners[re]);for(re=0;re<se.length;re++)se[re].call(void 0,ve,de)},E.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},E}();fe.EventEmitter=xe,fe.forwardEvent=function(E,ve){return E(function(de){return ve.fire(de)})}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.IUnicodeService=fe.IOptionsService=fe.ILogService=fe.IInstantiationService=fe.IDirtyRowService=fe.ICharsetService=fe.ICoreService=fe.ICoreMouseService=fe.IBufferService=void 0;var xe=Se(14);fe.IBufferService=xe.createDecorator("BufferService"),fe.ICoreMouseService=xe.createDecorator("CoreMouseService"),fe.ICoreService=xe.createDecorator("CoreService"),fe.ICharsetService=xe.createDecorator("CharsetService"),fe.IDirtyRowService=xe.createDecorator("DirtyRowService"),fe.IInstantiationService=xe.createDecorator("InstantiationService"),fe.ILogService=xe.createDecorator("LogService"),fe.IOptionsService=xe.createDecorator("OptionsService"),fe.IUnicodeService=xe.createDecorator("UnicodeService")},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.getDisposeArrayDisposable=fe.disposeArray=fe.Disposable=void 0;var xe=function(){function ve(){this._disposables=[],this._isDisposed=!1}return ve.prototype.dispose=function(){this._isDisposed=!0;for(var de=0,se=this._disposables;de<se.length;de++)se[de].dispose();this._disposables.length=0},ve.prototype.register=function(de){return this._disposables.push(de),de},ve.prototype.unregister=function(de){var se=this._disposables.indexOf(de);se!==-1&&this._disposables.splice(se,1)},ve}();function E(ve){for(var de=0,se=ve;de<se.length;de++)se[de].dispose();ve.length=0}fe.Disposable=xe,fe.disposeArray=E,fe.getDisposeArrayDisposable=function(ve){return{dispose:function(){return E(ve)}}}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.WHITESPACE_CELL_CODE=fe.WHITESPACE_CELL_WIDTH=fe.WHITESPACE_CELL_CHAR=fe.NULL_CELL_CODE=fe.NULL_CELL_WIDTH=fe.NULL_CELL_CHAR=fe.CHAR_DATA_CODE_INDEX=fe.CHAR_DATA_WIDTH_INDEX=fe.CHAR_DATA_CHAR_INDEX=fe.CHAR_DATA_ATTR_INDEX=fe.DEFAULT_ATTR=fe.DEFAULT_COLOR=void 0,fe.DEFAULT_COLOR=256,fe.DEFAULT_ATTR=256|fe.DEFAULT_COLOR<<9,fe.CHAR_DATA_ATTR_INDEX=0,fe.CHAR_DATA_CHAR_INDEX=1,fe.CHAR_DATA_WIDTH_INDEX=2,fe.CHAR_DATA_CODE_INDEX=3,fe.NULL_CELL_CHAR="",fe.NULL_CELL_WIDTH=1,fe.NULL_CELL_CODE=0,fe.WHITESPACE_CELL_CHAR=" ",fe.WHITESPACE_CELL_WIDTH=1,fe.WHITESPACE_CELL_CODE=32},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ie,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ae){ce.__proto__=ae}||function(ce,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ce[oe]=ae[oe])})(ie,le)},function(ie,le){function ce(){this.constructor=ie}xe(ie,le),ie.prototype=le===null?Object.create(le):(ce.prototype=le.prototype,new ce)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.CellData=void 0;var ve=Se(8),de=Se(3),se=Se(6),re=function(ie){function le(){var ce=ie!==null&&ie.apply(this,arguments)||this;return ce.content=0,ce.fg=0,ce.bg=0,ce.extended=new se.ExtendedAttrs,ce.combinedData="",ce}return E(le,ie),le.fromCharData=function(ce){var ae=new le;return ae.setFromCharData(ce),ae},le.prototype.isCombined=function(){return 2097152&this.content},le.prototype.getWidth=function(){return this.content>>22},le.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?ve.stringFromCodePoint(2097151&this.content):""},le.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},le.prototype.setFromCharData=function(ce){this.fg=ce[de.CHAR_DATA_ATTR_INDEX],this.bg=0;var ae=!1;if(ce[de.CHAR_DATA_CHAR_INDEX].length>2)ae=!0;else if(ce[de.CHAR_DATA_CHAR_INDEX].length===2){var oe=ce[de.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=oe&&oe<=56319){var ne=ce[de.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=ne&&ne<=57343?this.content=1024*(oe-55296)+ne-56320+65536|ce[de.CHAR_DATA_WIDTH_INDEX]<<22:ae=!0}else ae=!0}else this.content=ce[de.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ce[de.CHAR_DATA_WIDTH_INDEX]<<22;ae&&(this.combinedData=ce[de.CHAR_DATA_CHAR_INDEX],this.content=2097152|ce[de.CHAR_DATA_WIDTH_INDEX]<<22)},le.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},le}(se.AttributeData);fe.CellData=re},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.ISoundService=fe.ISelectionService=fe.IRenderService=fe.IMouseService=fe.ICoreBrowserService=fe.ICharSizeService=void 0;var xe=Se(14);fe.ICharSizeService=xe.createDecorator("CharSizeService"),fe.ICoreBrowserService=xe.createDecorator("CoreBrowserService"),fe.IMouseService=xe.createDecorator("MouseService"),fe.IRenderService=xe.createDecorator("RenderService"),fe.ISelectionService=xe.createDecorator("SelectionService"),fe.ISoundService=xe.createDecorator("SoundService")},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.ExtendedAttrs=fe.AttributeData=void 0;var xe=function(){function ve(){this.fg=0,this.bg=0,this.extended=new E}return ve.toColorRGB=function(de){return[de>>>16&255,de>>>8&255,255&de]},ve.fromColorRGB=function(de){return(255&de[0])<<16|(255&de[1])<<8|255&de[2]},ve.prototype.clone=function(){var de=new ve;return de.fg=this.fg,de.bg=this.bg,de.extended=this.extended.clone(),de},ve.prototype.isInverse=function(){return 67108864&this.fg},ve.prototype.isBold=function(){return 134217728&this.fg},ve.prototype.isUnderline=function(){return 268435456&this.fg},ve.prototype.isBlink=function(){return 536870912&this.fg},ve.prototype.isInvisible=function(){return 1073741824&this.fg},ve.prototype.isItalic=function(){return 67108864&this.bg},ve.prototype.isDim=function(){return 134217728&this.bg},ve.prototype.getFgColorMode=function(){return 50331648&this.fg},ve.prototype.getBgColorMode=function(){return 50331648&this.bg},ve.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},ve.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},ve.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},ve.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},ve.prototype.isFgDefault=function(){return(50331648&this.fg)==0},ve.prototype.isBgDefault=function(){return(50331648&this.bg)==0},ve.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},ve.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},ve.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},ve.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},ve.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},ve.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()},ve.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},ve.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},ve.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},ve.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},ve.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},ve}();fe.AttributeData=xe;var E=function(){function ve(de,se){de===void 0&&(de=0),se===void 0&&(se=-1),this.underlineStyle=de,this.underlineColor=se}return ve.prototype.clone=function(){return new ve(this.underlineStyle,this.underlineColor)},ve.prototype.isEmpty=function(){return this.underlineStyle===0},ve}();fe.ExtendedAttrs=E},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.addDisposableDomListener=void 0,fe.addDisposableDomListener=function(xe,E,ve,de){xe.addEventListener(E,ve,de);var se=!1;return{dispose:function(){se||(se=!0,xe.removeEventListener(E,ve,de))}}}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.Utf8ToUtf32=fe.StringToUtf32=fe.utf32ToString=fe.stringFromCodePoint=void 0,fe.stringFromCodePoint=function(ve){return ve>65535?(ve-=65536,String.fromCharCode(55296+(ve>>10))+String.fromCharCode(ve%1024+56320)):String.fromCharCode(ve)},fe.utf32ToString=function(ve,de,se){de===void 0&&(de=0),se===void 0&&(se=ve.length);for(var re="",ie=de;ie<se;++ie){var le=ve[ie];le>65535?(le-=65536,re+=String.fromCharCode(55296+(le>>10))+String.fromCharCode(le%1024+56320)):re+=String.fromCharCode(le)}return re};var xe=function(){function ve(){this._interim=0}return ve.prototype.clear=function(){this._interim=0},ve.prototype.decode=function(de,se){var re=de.length;if(!re)return 0;var ie=0,le=0;this._interim&&(56320<=(oe=de.charCodeAt(le++))&&oe<=57343?se[ie++]=1024*(this._interim-55296)+oe-56320+65536:(se[ie++]=this._interim,se[ie++]=oe),this._interim=0);for(var ce=le;ce<re;++ce){var ae=de.charCodeAt(ce);if(55296<=ae&&ae<=56319){if(++ce>=re)return this._interim=ae,ie;var oe;56320<=(oe=de.charCodeAt(ce))&&oe<=57343?se[ie++]=1024*(ae-55296)+oe-56320+65536:(se[ie++]=ae,se[ie++]=oe)}else se[ie++]=ae}return ie},ve}();fe.StringToUtf32=xe;var E=function(){function ve(){this.interim=new Uint8Array(3)}return ve.prototype.clear=function(){this.interim.fill(0)},ve.prototype.decode=function(de,se){var re=de.length;if(!re)return 0;var ie,le,ce,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 te=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,z=te-x;ee<z;){if(ee>=re)return 0;if((192&(b=de[ee++]))!=128){ee--,a=!0;break}this.interim[x++]=b,y<<=6,y|=63&b}a||(te===2?y<128?ee--:se[oe++]=y:te===3?y<2048||y>=55296&&y<=57343||(se[oe++]=y):y<65536||y>1114111||(se[oe++]=y)),this.interim.fill(0)}for(var ue=re-4,ge=ee;ge<re;){for(;!(!(ge<ue)||128&(ie=de[ge])||128&(le=de[ge+1])||128&(ce=de[ge+2])||128&(ae=de[ge+3]));)se[oe++]=ie,se[oe++]=le,se[oe++]=ce,se[oe++]=ae,ge+=4;if((ie=de[ge++])<128)se[oe++]=ie;else if((224&ie)==192){if(ge>=re)return this.interim[0]=ie,oe;if((192&(le=de[ge++]))!=128){ge--;continue}if((ne=(31&ie)<<6|63&le)<128){ge--;continue}se[oe++]=ne}else if((240&ie)==224){if(ge>=re)return this.interim[0]=ie,oe;if((192&(le=de[ge++]))!=128){ge--;continue}if(ge>=re)return this.interim[0]=ie,this.interim[1]=le,oe;if((192&(ce=de[ge++]))!=128){ge--;continue}if((ne=(15&ie)<<12|(63&le)<<6|63&ce)<2048||ne>=55296&&ne<=57343)continue;se[oe++]=ne}else if((248&ie)==240){if(ge>=re)return this.interim[0]=ie,oe;if((192&(le=de[ge++]))!=128){ge--;continue}if(ge>=re)return this.interim[0]=ie,this.interim[1]=le,oe;if((192&(ce=de[ge++]))!=128){ge--;continue}if(ge>=re)return this.interim[0]=ie,this.interim[1]=le,this.interim[2]=ce,oe;if((192&(ae=de[ge++]))!=128){ge--;continue}if((ne=(7&ie)<<18|(63&le)<<12|(63&ce)<<6|63&ae)<65536||ne>1114111)continue;se[oe++]=ne}}return oe},ve}();fe.Utf8ToUtf32=E},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CHAR_ATLAS_CELL_SPACING=fe.DIM_OPACITY=fe.INVERTED_DEFAULT_COLOR=void 0,fe.INVERTED_DEFAULT_COLOR=257,fe.DIM_OPACITY=.5,fe.CHAR_ATLAS_CELL_SPACING=1},function(dt,fe,Se){"use strict";var xe,E,ve,de;function se(ie){var le=ie.toString(16);return le.length<2?"0"+le:le}function re(ie,le){return ie<le?(le+.05)/(ie+.05):(ie+.05)/(le+.05)}Object.defineProperty(fe,"__esModule",{value:!0}),fe.contrastRatio=fe.toPaddedHex=fe.rgba=fe.rgb=fe.css=fe.color=fe.channels=void 0,function(ie){ie.toCss=function(le,ce,ae,oe){return oe!==void 0?"#"+se(le)+se(ce)+se(ae)+se(oe):"#"+se(le)+se(ce)+se(ae)},ie.toRgba=function(le,ce,ae,oe){return oe===void 0&&(oe=255),(le<<24|ce<<16|ae<<8|oe)>>>0}}(xe=fe.channels||(fe.channels={})),(E=fe.color||(fe.color={})).blend=function(ie,le){var ce=(255&le.rgba)/255;if(ce===1)return{css:le.css,rgba:le.rgba};var ae=le.rgba>>24&255,oe=le.rgba>>16&255,ne=le.rgba>>8&255,ee=ie.rgba>>24&255,a=ie.rgba>>16&255,y=ie.rgba>>8&255,x=ee+Math.round((ae-ee)*ce),b=a+Math.round((oe-a)*ce),te=y+Math.round((ne-y)*ce);return{css:xe.toCss(x,b,te),rgba:xe.toRgba(x,b,te)}},E.isOpaque=function(ie){return(255&ie.rgba)==255},E.ensureContrastRatio=function(ie,le,ce){var ae=de.ensureContrastRatio(ie.rgba,le.rgba,ce);if(ae)return de.toColor(ae>>24&255,ae>>16&255,ae>>8&255)},E.opaque=function(ie){var le=(255|ie.rgba)>>>0,ce=de.toChannels(le),ae=ce[0],oe=ce[1],ne=ce[2];return{css:xe.toCss(ae,oe,ne),rgba:le}},E.opacity=function(ie,le){var ce=Math.round(255*le),ae=de.toChannels(ie.rgba),oe=ae[0],ne=ae[1],ee=ae[2];return{css:xe.toCss(oe,ne,ee,ce),rgba:xe.toRgba(oe,ne,ee,ce)}},(fe.css||(fe.css={})).toColor=function(ie){switch(ie.length){case 7:return{css:ie,rgba:(parseInt(ie.slice(1),16)<<8|255)>>>0};case 9:return{css:ie,rgba:parseInt(ie.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(ie){function le(ce,ae,oe){var ne=ce/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))}ie.relativeLuminance=function(ce){return le(ce>>16&255,ce>>8&255,255&ce)},ie.relativeLuminance2=le}(ve=fe.rgb||(fe.rgb={})),function(ie){function le(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,te=oe>>8&255,z=re(ve.relativeLuminance2(x,te,b),ve.relativeLuminance2(ee,a,y));z<ne&&(x>0||b>0||te>0);)x-=Math.max(0,Math.ceil(.1*x)),b-=Math.max(0,Math.ceil(.1*b)),te-=Math.max(0,Math.ceil(.1*te)),z=re(ve.relativeLuminance2(x,te,b),ve.relativeLuminance2(ee,a,y));return(x<<24|b<<16|te<<8|255)>>>0}function ce(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,te=oe>>8&255,z=re(ve.relativeLuminance2(x,te,b),ve.relativeLuminance2(ee,a,y));z<ne&&(x<255||b<255||te<255);)x=Math.min(255,x+Math.ceil(.1*(255-x))),b=Math.min(255,b+Math.ceil(.1*(255-b))),te=Math.min(255,te+Math.ceil(.1*(255-te))),z=re(ve.relativeLuminance2(x,te,b),ve.relativeLuminance2(ee,a,y));return(x<<24|b<<16|te<<8|255)>>>0}ie.ensureContrastRatio=function(ae,oe,ne){var ee=ve.relativeLuminance(ae>>8),a=ve.relativeLuminance(oe>>8);if(re(ee,a)<ne)return a<ee?le(ae,oe,ne):ce(ae,oe,ne)},ie.reduceLuminance=le,ie.increaseLuminance=ce,ie.toChannels=function(ae){return[ae>>24&255,ae>>16&255,ae>>8&255,255&ae]},ie.toColor=function(ae,oe,ne){return{css:xe.toCss(ae,oe,ne),rgba:xe.toRgba(ae,oe,ne)}}}(de=fe.rgba||(fe.rgba={})),fe.toPaddedHex=se,fe.contrastRatio=re},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isLinux=fe.isWindows=fe.isIphone=fe.isIpad=fe.isMac=fe.isSafari=fe.isFirefox=void 0;var xe=typeof navigator=="undefined",E=xe?"node":navigator.userAgent,ve=xe?"node":navigator.platform;function de(se,re){return se.indexOf(re)>=0}fe.isFirefox=!!~E.indexOf("Firefox"),fe.isSafari=/^((?!chrome|android).)*safari/i.test(E),fe.isMac=de(["Macintosh","MacIntel","MacPPC","Mac68K"],ve),fe.isIpad=ve==="iPad",fe.isIphone=ve==="iPhone",fe.isWindows=de(["Windows","Win16","Win32","WinCE"],ve),fe.isLinux=ve.indexOf("Linux")>=0},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.C1=fe.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"}(fe.C0||(fe.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"}(fe.C1||(fe.C1={}))},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.BaseRenderLayer=void 0;var xe=Se(3),E=Se(9),ve=Se(25),de=Se(6),se=Se(28),re=Se(10),ie=Se(17),le=function(){function ce(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 ce.prototype.dispose=function(){var ae;ie.removeElementFromParent(this._canvas),(ae=this._charAtlas)===null||ae===void 0||ae.dispose()},ce.prototype._initCanvas=function(){this._ctx=se.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},ce.prototype.onOptionsChanged=function(){},ce.prototype.onBlur=function(){},ce.prototype.onFocus=function(){},ce.prototype.onCursorMove=function(){},ce.prototype.onGridChanged=function(ae,oe){},ce.prototype.onSelectionChanged=function(ae,oe,ne){ne===void 0&&(ne=!1)},ce.prototype.setColors=function(ae){this._refreshCharAtlas(ae)},ce.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)}},ce.prototype._refreshCharAtlas=function(ae){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=ve.acquireCharAtlas(this._optionsService.options,this._rendererId,ae,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},ce.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)},ce.prototype._fillCells=function(ae,oe,ne,ee){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,ne*this._scaledCellWidth,ee*this._scaledCellHeight)},ce.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)},ce.prototype._fillLeftLineAtCell=function(ae,oe,ne){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,window.devicePixelRatio*ne,this._scaledCellHeight)},ce.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)},ce.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))},ce.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))},ce.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)},ce.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))},ce.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("+de.AttributeData.toColorRGB(ae.getBgColor()).join(",")+")";else{var a=ae.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}else if(ee)this._ctx.fillStyle=ee.css;else if(ae.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(ae.isFgRGB())this._ctx.fillStyle="rgb("+de.AttributeData.toColorRGB(ae.getFgColor()).join(",")+")";else{var y=ae.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&y<8&&(y+=8),this._ctx.fillStyle=this._colors.ansi[y].css}this._clipRow(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()},ce.prototype._clipRow=function(ae){this._ctx.beginPath(),this._ctx.rect(0,ae*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},ce.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},ce.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 te=ne;ne=a,a=te;var z=ee;ee=y,y=z}var ue=this._resolveBackgroundRgba(y,a,x),ge=this._resolveForegroundRgba(ee,ne,x,b),me=re.rgba.ensureContrastRatio(ue,ge,this._optionsService.options.minimumContrastRatio);if(me){var he={css:re.channels.toCss(me>>24&255,me>>16&255,me>>8&255),rgba:me};return this._colors.contrastCache.setColor(ae.bg,ae.fg,he),he}this._colors.contrastCache.setColor(ae.bg,ae.fg,null)}},ce.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}},ce.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}},ce}();fe.BaseRenderLayer=le},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.createDecorator=fe.getServiceDependencies=fe.serviceRegistry=void 0;function xe(E,ve,de){ve.di$target===ve?ve.di$dependencies.push({id:E,index:de}):(ve.di$dependencies=[{id:E,index:de}],ve.di$target=ve)}fe.serviceRegistry=new Map,fe.getServiceDependencies=function(E){return E.di$dependencies||[]},fe.createDecorator=function(E){if(fe.serviceRegistry.has(E))return fe.serviceRegistry.get(E);var ve=function(de,se,re){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");xe(ve,de,re)};return ve.toString=function(){return E},fe.serviceRegistry.set(E,ve),ve}},function(dt,fe,Se){"use strict";function xe(E,ve,de,se){if(de===void 0&&(de=0),se===void 0&&(se=E.length),de>=E.length)return E;de=(E.length+de)%E.length,se=se>=E.length?E.length:(E.length+se)%E.length;for(var re=de;re<se;++re)E[re]=ve;return E}Object.defineProperty(fe,"__esModule",{value:!0}),fe.concat=fe.fillFallback=fe.fill=void 0,fe.fill=function(E,ve,de,se){return E.fill?E.fill(ve,de,se):xe(E,ve,de,se)},fe.fillFallback=xe,fe.concat=function(E,ve){var de=new E.constructor(E.length+ve.length);return de.set(E),de.set(ve,E.length),de}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.BufferLine=fe.DEFAULT_ATTR_DATA=void 0;var xe=Se(8),E=Se(3),ve=Se(4),de=Se(6);fe.DEFAULT_ATTR_DATA=Object.freeze(new de.AttributeData);var se=function(){function re(ie,le,ce){ce===void 0&&(ce=!1),this.isWrapped=ce,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*ie);for(var ae=le||ve.CellData.fromCharData([0,E.NULL_CELL_CHAR,E.NULL_CELL_WIDTH,E.NULL_CELL_CODE]),oe=0;oe<ie;++oe)this.setCell(oe,ae);this.length=ie}return re.prototype.get=function(ie){var le=this._data[3*ie+0],ce=2097151≤return[this._data[3*ie+1],2097152&le?this._combined[ie]:ce?xe.stringFromCodePoint(ce):"",le>>22,2097152&le?this._combined[ie].charCodeAt(this._combined[ie].length-1):ce]},re.prototype.set=function(ie,le){this._data[3*ie+1]=le[E.CHAR_DATA_ATTR_INDEX],le[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[ie]=le[1],this._data[3*ie+0]=2097152|ie|le[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*ie+0]=le[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|le[E.CHAR_DATA_WIDTH_INDEX]<<22},re.prototype.getWidth=function(ie){return this._data[3*ie+0]>>22},re.prototype.hasWidth=function(ie){return 12582912&this._data[3*ie+0]},re.prototype.getFg=function(ie){return this._data[3*ie+1]},re.prototype.getBg=function(ie){return this._data[3*ie+2]},re.prototype.hasContent=function(ie){return 4194303&this._data[3*ie+0]},re.prototype.getCodePoint=function(ie){var le=this._data[3*ie+0];return 2097152&le?this._combined[ie].charCodeAt(this._combined[ie].length-1):2097151&le},re.prototype.isCombined=function(ie){return 2097152&this._data[3*ie+0]},re.prototype.getString=function(ie){var le=this._data[3*ie+0];return 2097152&le?this._combined[ie]:2097151&le?xe.stringFromCodePoint(2097151&le):""},re.prototype.loadCell=function(ie,le){var ce=3*ie;return le.content=this._data[ce+0],le.fg=this._data[ce+1],le.bg=this._data[ce+2],2097152&le.content&&(le.combinedData=this._combined[ie]),268435456&le.bg&&(le.extended=this._extendedAttrs[ie]),le},re.prototype.setCell=function(ie,le){2097152&le.content&&(this._combined[ie]=le.combinedData),268435456&le.bg&&(this._extendedAttrs[ie]=le.extended),this._data[3*ie+0]=le.content,this._data[3*ie+1]=le.fg,this._data[3*ie+2]=le.bg},re.prototype.setCellFromCodePoint=function(ie,le,ce,ae,oe,ne){268435456&oe&&(this._extendedAttrs[ie]=ne),this._data[3*ie+0]=le|ce<<22,this._data[3*ie+1]=ae,this._data[3*ie+2]=oe},re.prototype.addCodepointToCell=function(ie,le){var ce=this._data[3*ie+0];2097152&ce?this._combined[ie]+=xe.stringFromCodePoint(le):(2097151&ce?(this._combined[ie]=xe.stringFromCodePoint(2097151&ce)+xe.stringFromCodePoint(le),ce&=-2097152,ce|=2097152):ce=le|1<<22,this._data[3*ie+0]=ce)},re.prototype.insertCells=function(ie,le,ce,ae){if((ie%=this.length)&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs),le<this.length-ie){for(var oe=new ve.CellData,ne=this.length-ie-le-1;ne>=0;--ne)this.setCell(ie+le+ne,this.loadCell(ie+ne,oe));for(ne=0;ne<le;++ne)this.setCell(ie+ne,ce)}else for(ne=ie;ne<this.length;++ne)this.setCell(ne,ce);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs)},re.prototype.deleteCells=function(ie,le,ce,ae){if(ie%=this.length,le<this.length-ie){for(var oe=new ve.CellData,ne=0;ne<this.length-ie-le;++ne)this.setCell(ie+ne,this.loadCell(ie+le+ne,oe));for(ne=this.length-le;ne<this.length;++ne)this.setCell(ne,ce)}else for(ne=ie;ne<this.length;++ne)this.setCell(ne,ce);ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs),this.getWidth(ie)!==0||this.hasContent(ie)||this.setCellFromCodePoint(ie,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs)},re.prototype.replaceCells=function(ie,le,ce,ae){for(ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs),le<this.length&&this.getWidth(le-1)===2&&this.setCellFromCodePoint(le,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs);ie<le&&ie<this.length;)this.setCell(ie++,ce)},re.prototype.resize=function(ie,le){if(ie!==this.length){if(ie>this.length){var ce=new Uint32Array(3*ie);this.length&&(3*ie<this._data.length?ce.set(this._data.subarray(0,3*ie)):ce.set(this._data)),this._data=ce;for(var ae=this.length;ae<ie;++ae)this.setCell(ae,le)}else if(ie){(ce=new Uint32Array(3*ie)).set(this._data.subarray(0,3*ie)),this._data=ce;var oe=Object.keys(this._combined);for(ae=0;ae<oe.length;ae++){var ne=parseInt(oe[ae],10);ne>=ie&&delete this._combined[ne]}}else this._data=new Uint32Array(0),this._combined={};this.length=ie}},re.prototype.fill=function(ie){this._combined={},this._extendedAttrs={};for(var le=0;le<this.length;++le)this.setCell(le,ie)},re.prototype.copyFrom=function(ie){for(var le in this.length!==ie.length?this._data=new Uint32Array(ie._data):this._data.set(ie._data),this.length=ie.length,this._combined={},ie._combined)this._combined[le]=ie._combined[le];for(var le in this._extendedAttrs={},ie._extendedAttrs)this._extendedAttrs[le]=ie._extendedAttrs[le];this.isWrapped=ie.isWrapped},re.prototype.clone=function(){var ie=new re(0);for(var le in ie._data=new Uint32Array(this._data),ie.length=this.length,this._combined)ie._combined[le]=this._combined[le];for(var le in this._extendedAttrs)ie._extendedAttrs[le]=this._extendedAttrs[le];return ie.isWrapped=this.isWrapped,ie},re.prototype.getTrimmedLength=function(){for(var ie=this.length-1;ie>=0;--ie)if(4194303&this._data[3*ie+0])return ie+(this._data[3*ie+0]>>22);return 0},re.prototype.copyCellsFrom=function(ie,le,ce,ae,oe){var ne=ie._data;if(oe)for(var ee=ae-1;ee>=0;ee--)for(var a=0;a<3;a++)this._data[3*(ce+ee)+a]=ne[3*(le+ee)+a];else for(ee=0;ee<ae;ee++)for(a=0;a<3;a++)this._data[3*(ce+ee)+a]=ne[3*(le+ee)+a];var y=Object.keys(ie._combined);for(a=0;a<y.length;a++){var x=parseInt(y[a],10);x>=le&&(this._combined[x-le+ce]=ie._combined[x])}},re.prototype.translateToString=function(ie,le,ce){ie===void 0&&(ie=!1),le===void 0&&(le=0),ce===void 0&&(ce=this.length),ie&&(ce=Math.min(ce,this.getTrimmedLength()));for(var ae="";le<ce;){var oe=this._data[3*le+0],ne=2097151&oe;ae+=2097152&oe?this._combined[le]:ne?xe.stringFromCodePoint(ne):E.WHITESPACE_CELL_CHAR,le+=oe>>22||1}return ae},re}();fe.BufferLine=se},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.removeElementFromParent=void 0,fe.removeElementFromParent=function(){for(var xe,E=[],ve=0;ve<arguments.length;ve++)E[ve]=arguments[ve];for(var de=0,se=E;de<se.length;de++){var re=se[de];(xe=re==null?void 0:re.parentElement)===null||xe===void 0||xe.removeChild(re)}}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.tooMuchOutput=fe.promptLabel=void 0,fe.promptLabel="Terminal input",fe.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ge,me){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(he,pe){he.__proto__=pe}||function(he,pe){for(var be in pe)pe.hasOwnProperty(be)&&(he[be]=pe[be])})(ge,me)},function(ge,me){function he(){this.constructor=ge}xe(ge,me),ge.prototype=me===null?Object.create(me):(he.prototype=me.prototype,new he)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.InputHandler=fe.WindowsOptionsReportType=void 0;var ve,de=Se(12),se=Se(20),re=Se(39),ie=Se(2),le=Se(15),ce=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 te(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"})(ve=fe.WindowsOptionsReportType||(fe.WindowsOptionsReportType={}));var z=function(){function ge(me,he,pe,be){this._bufferService=me,this._coreService=he,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,he,pe){this._data=le.concat(this._data,me.subarray(he,pe))},ge.prototype.unhook=function(me){if(me){var he=ce.utf32ToString(this._data);switch(this._data=new Uint32Array(0),he){case'"q':return this._coreService.triggerDataEvent(de.C0.ESC+'P1$r0"q'+de.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(de.C0.ESC+'P1$r61;1"p'+de.C0.ESC+"\\");case"r":var pe=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(de.C0.ESC+"P1$r"+pe+de.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(de.C0.ESC+"P1$r0m"+de.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(de.C0.ESC+"P1$r"+be+" q"+de.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",he),this._coreService.triggerDataEvent(de.C0.ESC+"P0$r"+de.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},ge}(),ue=function(ge){function me(he,pe,be,ye,Pe,we,Oe,Ce,_e){_e===void 0&&(_e=new re.EscapeSequenceParser);var Ee=ge.call(this)||this;Ee._bufferService=he,Ee._charsetService=pe,Ee._coreService=be,Ee._dirtyRowService=ye,Ee._logService=Pe,Ee._optionsService=we,Ee._coreMouseService=Oe,Ee._unicodeService=Ce,Ee._parser=_e,Ee._parseBuffer=new Uint32Array(4096),Ee._stringDecoder=new ce.StringToUtf32,Ee._utf8Decoder=new ce.Utf8ToUtf32,Ee._workCell=new ee.CellData,Ee._windowTitle="",Ee._iconName="",Ee._windowTitleStack=[],Ee._iconNameStack=[],Ee._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),Ee._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone(),Ee._onRequestBell=new oe.EventEmitter,Ee._onRequestRefreshRows=new oe.EventEmitter,Ee._onRequestReset=new oe.EventEmitter,Ee._onRequestScroll=new oe.EventEmitter,Ee._onRequestSyncScrollBar=new oe.EventEmitter,Ee._onRequestWindowsOptionsReport=new oe.EventEmitter,Ee._onA11yChar=new oe.EventEmitter,Ee._onA11yTab=new oe.EventEmitter,Ee._onCursorMove=new oe.EventEmitter,Ee._onLineFeed=new oe.EventEmitter,Ee._onScroll=new oe.EventEmitter,Ee._onTitleChange=new oe.EventEmitter,Ee.register(Ee._parser),Ee._parser.setCsiHandlerFallback(function(Re,tt){Ee._logService.debug("Unknown CSI code: ",{identifier:Ee._parser.identToString(Re),params:tt.toArray()})}),Ee._parser.setEscHandlerFallback(function(Re){Ee._logService.debug("Unknown ESC code: ",{identifier:Ee._parser.identToString(Re)})}),Ee._parser.setExecuteHandlerFallback(function(Re){Ee._logService.debug("Unknown EXECUTE code: ",{code:Re})}),Ee._parser.setOscHandlerFallback(function(Re,tt,Ye){Ee._logService.debug("Unknown OSC code: ",{identifier:Re,action:tt,data:Ye})}),Ee._parser.setDcsHandlerFallback(function(Re,tt,Ye){tt==="HOOK"&&(Ye=Ye.toArray()),Ee._logService.debug("Unknown DCS code: ",{identifier:Ee._parser.identToString(Re),action:tt,payload:Ye})}),Ee._parser.setPrintHandler(function(Re,tt,Ye){return Ee.print(Re,tt,Ye)}),Ee._parser.setCsiHandler({final:"@"},function(Re){return Ee.insertChars(Re)}),Ee._parser.setCsiHandler({intermediates:" ",final:"@"},function(Re){return Ee.scrollLeft(Re)}),Ee._parser.setCsiHandler({final:"A"},function(Re){return Ee.cursorUp(Re)}),Ee._parser.setCsiHandler({intermediates:" ",final:"A"},function(Re){return Ee.scrollRight(Re)}),Ee._parser.setCsiHandler({final:"B"},function(Re){return Ee.cursorDown(Re)}),Ee._parser.setCsiHandler({final:"C"},function(Re){return Ee.cursorForward(Re)}),Ee._parser.setCsiHandler({final:"D"},function(Re){return Ee.cursorBackward(Re)}),Ee._parser.setCsiHandler({final:"E"},function(Re){return Ee.cursorNextLine(Re)}),Ee._parser.setCsiHandler({final:"F"},function(Re){return Ee.cursorPrecedingLine(Re)}),Ee._parser.setCsiHandler({final:"G"},function(Re){return Ee.cursorCharAbsolute(Re)}),Ee._parser.setCsiHandler({final:"H"},function(Re){return Ee.cursorPosition(Re)}),Ee._parser.setCsiHandler({final:"I"},function(Re){return Ee.cursorForwardTab(Re)}),Ee._parser.setCsiHandler({final:"J"},function(Re){return Ee.eraseInDisplay(Re)}),Ee._parser.setCsiHandler({prefix:"?",final:"J"},function(Re){return Ee.eraseInDisplay(Re)}),Ee._parser.setCsiHandler({final:"K"},function(Re){return Ee.eraseInLine(Re)}),Ee._parser.setCsiHandler({prefix:"?",final:"K"},function(Re){return Ee.eraseInLine(Re)}),Ee._parser.setCsiHandler({final:"L"},function(Re){return Ee.insertLines(Re)}),Ee._parser.setCsiHandler({final:"M"},function(Re){return Ee.deleteLines(Re)}),Ee._parser.setCsiHandler({final:"P"},function(Re){return Ee.deleteChars(Re)}),Ee._parser.setCsiHandler({final:"S"},function(Re){return Ee.scrollUp(Re)}),Ee._parser.setCsiHandler({final:"T"},function(Re){return Ee.scrollDown(Re)}),Ee._parser.setCsiHandler({final:"X"},function(Re){return Ee.eraseChars(Re)}),Ee._parser.setCsiHandler({final:"Z"},function(Re){return Ee.cursorBackwardTab(Re)}),Ee._parser.setCsiHandler({final:"`"},function(Re){return Ee.charPosAbsolute(Re)}),Ee._parser.setCsiHandler({final:"a"},function(Re){return Ee.hPositionRelative(Re)}),Ee._parser.setCsiHandler({final:"b"},function(Re){return Ee.repeatPrecedingCharacter(Re)}),Ee._parser.setCsiHandler({final:"c"},function(Re){return Ee.sendDeviceAttributesPrimary(Re)}),Ee._parser.setCsiHandler({prefix:">",final:"c"},function(Re){return Ee.sendDeviceAttributesSecondary(Re)}),Ee._parser.setCsiHandler({final:"d"},function(Re){return Ee.linePosAbsolute(Re)}),Ee._parser.setCsiHandler({final:"e"},function(Re){return Ee.vPositionRelative(Re)}),Ee._parser.setCsiHandler({final:"f"},function(Re){return Ee.hVPosition(Re)}),Ee._parser.setCsiHandler({final:"g"},function(Re){return Ee.tabClear(Re)}),Ee._parser.setCsiHandler({final:"h"},function(Re){return Ee.setMode(Re)}),Ee._parser.setCsiHandler({prefix:"?",final:"h"},function(Re){return Ee.setModePrivate(Re)}),Ee._parser.setCsiHandler({final:"l"},function(Re){return Ee.resetMode(Re)}),Ee._parser.setCsiHandler({prefix:"?",final:"l"},function(Re){return Ee.resetModePrivate(Re)}),Ee._parser.setCsiHandler({final:"m"},function(Re){return Ee.charAttributes(Re)}),Ee._parser.setCsiHandler({final:"n"},function(Re){return Ee.deviceStatus(Re)}),Ee._parser.setCsiHandler({prefix:"?",final:"n"},function(Re){return Ee.deviceStatusPrivate(Re)}),Ee._parser.setCsiHandler({intermediates:"!",final:"p"},function(Re){return Ee.softReset(Re)}),Ee._parser.setCsiHandler({intermediates:" ",final:"q"},function(Re){return Ee.setCursorStyle(Re)}),Ee._parser.setCsiHandler({final:"r"},function(Re){return Ee.setScrollRegion(Re)}),Ee._parser.setCsiHandler({final:"s"},function(Re){return Ee.saveCursor(Re)}),Ee._parser.setCsiHandler({final:"t"},function(Re){return Ee.windowOptions(Re)}),Ee._parser.setCsiHandler({final:"u"},function(Re){return Ee.restoreCursor(Re)}),Ee._parser.setCsiHandler({intermediates:"'",final:"}"},function(Re){return Ee.insertColumns(Re)}),Ee._parser.setCsiHandler({intermediates:"'",final:"~"},function(Re){return Ee.deleteColumns(Re)}),Ee._parser.setExecuteHandler(de.C0.BEL,function(){return Ee.bell()}),Ee._parser.setExecuteHandler(de.C0.LF,function(){return Ee.lineFeed()}),Ee._parser.setExecuteHandler(de.C0.VT,function(){return Ee.lineFeed()}),Ee._parser.setExecuteHandler(de.C0.FF,function(){return Ee.lineFeed()}),Ee._parser.setExecuteHandler(de.C0.CR,function(){return Ee.carriageReturn()}),Ee._parser.setExecuteHandler(de.C0.BS,function(){return Ee.backspace()}),Ee._parser.setExecuteHandler(de.C0.HT,function(){return Ee.tab()}),Ee._parser.setExecuteHandler(de.C0.SO,function(){return Ee.shiftOut()}),Ee._parser.setExecuteHandler(de.C0.SI,function(){return Ee.shiftIn()}),Ee._parser.setExecuteHandler(de.C1.IND,function(){return Ee.index()}),Ee._parser.setExecuteHandler(de.C1.NEL,function(){return Ee.nextLine()}),Ee._parser.setExecuteHandler(de.C1.HTS,function(){return Ee.tabSet()}),Ee._parser.setOscHandler(0,new y.OscHandler(function(Re){Ee.setTitle(Re),Ee.setIconName(Re)})),Ee._parser.setOscHandler(1,new y.OscHandler(function(Re){return Ee.setIconName(Re)})),Ee._parser.setOscHandler(2,new y.OscHandler(function(Re){return Ee.setTitle(Re)})),Ee._parser.setEscHandler({final:"7"},function(){return Ee.saveCursor()}),Ee._parser.setEscHandler({final:"8"},function(){return Ee.restoreCursor()}),Ee._parser.setEscHandler({final:"D"},function(){return Ee.index()}),Ee._parser.setEscHandler({final:"E"},function(){return Ee.nextLine()}),Ee._parser.setEscHandler({final:"H"},function(){return Ee.tabSet()}),Ee._parser.setEscHandler({final:"M"},function(){return Ee.reverseIndex()}),Ee._parser.setEscHandler({final:"="},function(){return Ee.keypadApplicationMode()}),Ee._parser.setEscHandler({final:">"},function(){return Ee.keypadNumericMode()}),Ee._parser.setEscHandler({final:"c"},function(){return Ee.fullReset()}),Ee._parser.setEscHandler({final:"n"},function(){return Ee.setgLevel(2)}),Ee._parser.setEscHandler({final:"o"},function(){return Ee.setgLevel(3)}),Ee._parser.setEscHandler({final:"|"},function(){return Ee.setgLevel(3)}),Ee._parser.setEscHandler({final:"}"},function(){return Ee.setgLevel(2)}),Ee._parser.setEscHandler({final:"~"},function(){return Ee.setgLevel(1)}),Ee._parser.setEscHandler({intermediates:"%",final:"@"},function(){return Ee.selectDefaultCharset()}),Ee._parser.setEscHandler({intermediates:"%",final:"G"},function(){return Ee.selectDefaultCharset()});var Me=function(Re){Ie._parser.setEscHandler({intermediates:"(",final:Re},function(){return Ee.selectCharset("("+Re)}),Ie._parser.setEscHandler({intermediates:")",final:Re},function(){return Ee.selectCharset(")"+Re)}),Ie._parser.setEscHandler({intermediates:"*",final:Re},function(){return Ee.selectCharset("*"+Re)}),Ie._parser.setEscHandler({intermediates:"+",final:Re},function(){return Ee.selectCharset("+"+Re)}),Ie._parser.setEscHandler({intermediates:"-",final:Re},function(){return Ee.selectCharset("-"+Re)}),Ie._parser.setEscHandler({intermediates:".",final:Re},function(){return Ee.selectCharset("."+Re)}),Ie._parser.setEscHandler({intermediates:"/",final:Re},function(){return Ee.selectCharset("/"+Re)})},Ie=this;for(var Be in se.CHARSETS)Me(Be);return Ee._parser.setEscHandler({intermediates:"#",final:"8"},function(){return Ee.screenAlignmentPattern()}),Ee._parser.setErrorHandler(function(Re){return Ee._logService.error("Parsing error: ",Re),Re}),Ee._parser.setDcsHandler({intermediates:"$",final:"q"},new z(Ee._bufferService,Ee._coreService,Ee._logService,Ee._optionsService)),Ee}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(he){var pe=this._bufferService.buffer,be=pe.x,ye=pe.y;if(this._logService.debug("parsing data",he),this._parseBuffer.length<he.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(he.length,131072))),this._dirtyRowService.clearRange(),he.length>131072)for(var Pe=0;Pe<he.length;Pe+=131072){var we=Pe+131072<he.length?Pe+131072:he.length,Oe=typeof he=="string"?this._stringDecoder.decode(he.substring(Pe,we),this._parseBuffer):this._utf8Decoder.decode(he.subarray(Pe,we),this._parseBuffer);this._parser.parse(this._parseBuffer,Oe)}else Oe=typeof he=="string"?this._stringDecoder.decode(he,this._parseBuffer):this._utf8Decoder.decode(he,this._parseBuffer),this._parser.parse(this._parseBuffer,Oe);(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(he,pe,be){var ye,Pe,we=this._bufferService.buffer,Oe=this._charsetService.charset,Ce=this._optionsService.options.screenReaderMode,_e=this._bufferService.cols,Ee=this._coreService.decPrivateModes.wraparound,Me=this._coreService.modes.insertMode,Ie=this._curAttrData,Be=we.lines.get(we.ybase+we.y);this._dirtyRowService.markDirty(we.y),we.x&&be-pe>0&&Be.getWidth(we.x-1)===2&&Be.setCellFromCodePoint(we.x-1,0,1,Ie.fg,Ie.bg,Ie.extended);for(var Re=pe;Re<be;++Re){if(ye=he[Re],Pe=this._unicodeService.wcwidth(ye),ye<127&&Oe){var tt=Oe[String.fromCharCode(ye)];tt&&(ye=tt.charCodeAt(0))}if(Ce&&this._onA11yChar.fire(ce.stringFromCodePoint(ye)),Pe||!we.x){if(we.x+Pe-1>=_e){if(Ee){for(;we.x<_e;)Be.setCellFromCodePoint(we.x++,0,1,Ie.fg,Ie.bg,Ie.extended);we.x=0,we.y++,we.y===we.scrollBottom+1?(we.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(we.y>=this._bufferService.rows&&(we.y=this._bufferService.rows-1),we.lines.get(we.ybase+we.y).isWrapped=!0),Be=we.lines.get(we.ybase+we.y)}else if(we.x=_e-1,Pe===2)continue}if(Me&&(Be.insertCells(we.x,Pe,we.getNullCell(Ie),Ie),Be.getWidth(_e-1)===2&&Be.setCellFromCodePoint(_e-1,ne.NULL_CELL_CODE,ne.NULL_CELL_WIDTH,Ie.fg,Ie.bg,Ie.extended)),Be.setCellFromCodePoint(we.x++,ye,Pe,Ie.fg,Ie.bg,Ie.extended),Pe>0)for(;--Pe;)Be.setCellFromCodePoint(we.x++,0,0,Ie.fg,Ie.bg,Ie.extended)}else Be.getWidth(we.x-1)?Be.addCodepointToCell(we.x-1,ye):Be.addCodepointToCell(we.x-2,ye)}be-pe>0&&(Be.loadCell(we.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),we.x<_e&&be-pe>0&&Be.getWidth(we.x)===0&&!Be.hasContent(we.x)&&Be.setCellFromCodePoint(we.x,0,1,Ie.fg,Ie.bg,Ie.extended),this._dirtyRowService.markDirty(we.y)},me.prototype.addCsiHandler=function(he,pe){var be=this;return he.final!=="t"||he.prefix||he.intermediates?this._parser.addCsiHandler(he,pe):this._parser.addCsiHandler(he,function(ye){return!te(ye.params[0],be._optionsService.options.windowOptions)||pe(ye)})},me.prototype.addDcsHandler=function(he,pe){return this._parser.addDcsHandler(he,new x.DcsHandler(pe))},me.prototype.addEscHandler=function(he,pe){return this._parser.addEscHandler(he,pe)},me.prototype.addOscHandler=function(he,pe){return this._parser.addOscHandler(he,new y.OscHandler(pe))},me.prototype.bell=function(){this._onRequestBell.fire()},me.prototype.lineFeed=function(){var he=this._bufferService.buffer;this._dirtyRowService.markDirty(he.y),this._optionsService.options.convertEol&&(he.x=0),he.y++,he.y===he.scrollBottom+1?(he.y--,this._onRequestScroll.fire(this._eraseAttrData())):he.y>=this._bufferService.rows&&(he.y=this._bufferService.rows-1),he.x>=this._bufferService.cols&&he.x--,this._dirtyRowService.markDirty(he.y),this._onLineFeed.fire()},me.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},me.prototype.backspace=function(){var he,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&&(!((he=pe.lines.get(pe.ybase+pe.y))===null||he===void 0)&&he.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 he=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-he)}},me.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},me.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},me.prototype._restrictCursor=function(he){he===void 0&&(he=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(he,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(he,pe){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=he,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+pe):(this._bufferService.buffer.x=he,this._bufferService.buffer.y=pe),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},me.prototype._moveCursor=function(he,pe){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+he,this._bufferService.buffer.y+pe)},me.prototype.cursorUp=function(he){var pe=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;pe>=0?this._moveCursor(0,-Math.min(pe,he.params[0]||1)):this._moveCursor(0,-(he.params[0]||1))},me.prototype.cursorDown=function(he){var pe=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;pe>=0?this._moveCursor(0,Math.min(pe,he.params[0]||1)):this._moveCursor(0,he.params[0]||1)},me.prototype.cursorForward=function(he){this._moveCursor(he.params[0]||1,0)},me.prototype.cursorBackward=function(he){this._moveCursor(-(he.params[0]||1),0)},me.prototype.cursorNextLine=function(he){this.cursorDown(he),this._bufferService.buffer.x=0},me.prototype.cursorPrecedingLine=function(he){this.cursorUp(he),this._bufferService.buffer.x=0},me.prototype.cursorCharAbsolute=function(he){this._setCursor((he.params[0]||1)-1,this._bufferService.buffer.y)},me.prototype.cursorPosition=function(he){this._setCursor(he.length>=2?(he.params[1]||1)-1:0,(he.params[0]||1)-1)},me.prototype.charPosAbsolute=function(he){this._setCursor((he.params[0]||1)-1,this._bufferService.buffer.y)},me.prototype.hPositionRelative=function(he){this._moveCursor(he.params[0]||1,0)},me.prototype.linePosAbsolute=function(he){this._setCursor(this._bufferService.buffer.x,(he.params[0]||1)-1)},me.prototype.vPositionRelative=function(he){this._moveCursor(0,he.params[0]||1)},me.prototype.hVPosition=function(he){this.cursorPosition(he)},me.prototype.tabClear=function(he){var pe=he.params[0];pe===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:pe===3&&(this._bufferService.buffer.tabs={})},me.prototype.cursorForwardTab=function(he){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=he.params[0]||1;pe--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},me.prototype.cursorBackwardTab=function(he){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=he.params[0]||1,be=this._bufferService.buffer;pe--;)be.x=be.prevStop()},me.prototype._eraseInBufferLine=function(he,pe,be,ye){ye===void 0&&(ye=!1);var Pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+he);Pe.replaceCells(pe,be,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ye&&(Pe.isWrapped=!1)},me.prototype._resetBufferLine=function(he){var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+he);pe.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),pe.isWrapped=!1},me.prototype.eraseInDisplay=function(he){var pe;switch(this._restrictCursor(),he.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(he){switch(this._restrictCursor(),he.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(he){this._restrictCursor();var pe=he.params[0]||1,be=this._bufferService.buffer;if(!(be.y>be.scrollBottom||be.y<be.scrollTop)){for(var ye=be.ybase+be.y,Pe=this._bufferService.rows-1-be.scrollBottom,we=this._bufferService.rows-1+be.ybase-Pe+1;pe--;)be.lines.splice(we-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(he){this._restrictCursor();var pe=he.params[0]||1,be=this._bufferService.buffer;if(!(be.y>be.scrollBottom||be.y<be.scrollTop)){var ye,Pe=be.ybase+be.y;for(ye=this._bufferService.rows-1-be.scrollBottom,ye=this._bufferService.rows-1+be.ybase-ye;pe--;)be.lines.splice(Pe,1),be.lines.splice(ye,0,be.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(be.y,be.scrollBottom),be.x=0}},me.prototype.insertChars=function(he){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.insertCells(this._bufferService.buffer.x,he.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},me.prototype.deleteChars=function(he){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.deleteCells(this._bufferService.buffer.x,he.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},me.prototype.scrollUp=function(he){for(var pe=he.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(he){for(var pe=he.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(he){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var be=he.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Pe=pe.lines.get(pe.ybase+ye);Pe.deleteCells(0,be,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},me.prototype.scrollRight=function(he){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var be=he.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Pe=pe.lines.get(pe.ybase+ye);Pe.insertCells(0,be,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},me.prototype.insertColumns=function(he){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var be=he.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Pe=this._bufferService.buffer.lines.get(pe.ybase+ye);Pe.insertCells(pe.x,be,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},me.prototype.deleteColumns=function(he){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var be=he.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Pe=pe.lines.get(pe.ybase+ye);Pe.deleteCells(pe.x,be,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},me.prototype.eraseChars=function(he){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+(he.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},me.prototype.repeatPrecedingCharacter=function(he){if(this._parser.precedingCodepoint){for(var pe=he.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(he){he.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(de.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(de.C0.ESC+"[?6c"))},me.prototype.sendDeviceAttributesSecondary=function(he){he.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(de.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(de.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(he.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(de.C0.ESC+"[>83;40003;0c"))},me.prototype._is=function(he){return(this._optionsService.options.termName+"").indexOf(he)===0},me.prototype.setMode=function(he){for(var pe=0;pe<he.length;pe++)switch(he.params[pe]){case 4:this._coreService.modes.insertMode=!0}},me.prototype.setModePrivate=function(he){for(var pe=0;pe<he.length;pe++)switch(he.params[pe]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,se.DEFAULT_CHARSET),this._charsetService.setgCharset(1,se.DEFAULT_CHARSET),this._charsetService.setgCharset(2,se.DEFAULT_CHARSET),this._charsetService.setgCharset(3,se.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},me.prototype.resetMode=function(he){for(var pe=0;pe<he.length;pe++)switch(he.params[pe]){case 4:this._coreService.modes.insertMode=!1}},me.prototype.resetModePrivate=function(he){for(var pe=0;pe<he.length;pe++)switch(he.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(),he.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(he,pe,be,ye,Pe){return pe===2?(he|=50331648,he&=-16777216,he|=a.AttributeData.fromColorRGB([be,ye,Pe])):pe===5&&(he&=-50331904,he|=33554432|255&be),he},me.prototype._extractColor=function(he,pe,be){var ye=[0,0,-1,0,0,0],Pe=0,we=0;do{if(ye[we+Pe]=he.params[pe+we],he.hasSubParams(pe+we)){var Oe=he.getSubParams(pe+we),Ce=0;do ye[1]===5&&(Pe=1),ye[we+Ce+1+Pe]=Oe[Ce];while(++Ce<Oe.length&&Ce+we+1+Pe<ye.length);break}if(ye[1]===5&&we+Pe>=2||ye[1]===2&&we+Pe>=5)break;ye[1]&&(Pe=1)}while(++we+pe<he.length&&we+Pe<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 we},me.prototype._processUnderline=function(he,pe){pe.extended=pe.extended.clone(),(!~he||he>5)&&(he=1),pe.extended.underlineStyle=he,pe.fg|=268435456,he===0&&(pe.fg&=-268435457),pe.updateExtended()},me.prototype.charAttributes=function(he){if(he.length===1&&he.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=he.length,ye=this._curAttrData,Pe=0;Pe<be;Pe++)(pe=he.params[Pe])>=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(he.hasSubParams(Pe)?he.getSubParams(Pe)[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?Pe+=this._extractColor(he,Pe,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(he){switch(he.params[0]){case 5:this._coreService.triggerDataEvent(de.C0.ESC+"[0n");break;case 6:var pe=this._bufferService.buffer.y+1,be=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(de.C0.ESC+"["+pe+";"+be+"R")}},me.prototype.deviceStatusPrivate=function(he){switch(he.params[0]){case 6:var pe=this._bufferService.buffer.y+1,be=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(de.C0.ESC+"[?"+pe+";"+be+"R")}},me.prototype.softReset=function(he){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(he){var pe=he.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(he){var pe,be=he.params[0]||1;(he.length<2||(pe=he.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(he){if(te(he.params[0],this._optionsService.options.windowOptions)){var pe=he.length>1?he.params[1]:0;switch(he.params[0]){case 14:pe!==2&&this._onRequestWindowsOptionsReport.fire(ve.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(ve.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(de.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22: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(he){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(he){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(he){this._windowTitle=he,this._onTitleChange.fire(he)},me.prototype.setIconName=function(he){this._iconName=he},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,se.DEFAULT_CHARSET)},me.prototype.selectCharset=function(he){he.length===2?he[0]!=="/"&&this._charsetService.setgCharset(b[he[0]],se.CHARSETS[he[1]]||se.DEFAULT_CHARSET):this.selectDefaultCharset()},me.prototype.index=function(){this._restrictCursor();var he=this._bufferService.buffer;this._bufferService.buffer.y++,he.y===he.scrollBottom+1?(he.y--,this._onRequestScroll.fire(this._eraseAttrData())):he.y>=this._bufferService.rows&&(he.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 he=this._bufferService.buffer;if(he.y===he.scrollTop){var pe=he.scrollBottom-he.scrollTop;he.lines.shiftElements(he.ybase+he.y,pe,1),he.lines.set(he.ybase+he.y,he.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(he.scrollTop,he.scrollBottom)}else he.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(he){this._charsetService.setgLevel(he)},me.prototype.screenAlignmentPattern=function(){var he=new ee.CellData;he.content=1<<22|69,he.fg=this._curAttrData.fg,he.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,Pe=pe.lines.get(ye);Pe&&(Pe.fill(he),Pe.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},me}(ie.Disposable);fe.InputHandler=ue},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.DEFAULT_CHARSET=fe.CHARSETS=void 0,fe.CHARSETS={},fe.DEFAULT_CHARSET=fe.CHARSETS.B,fe.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"},fe.CHARSETS.A={"#":"\xA3"},fe.CHARSETS.B=void 0,fe.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},fe.CHARSETS.C=fe.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},fe.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},fe.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},fe.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},fe.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},fe.CHARSETS.E=fe.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},fe.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},fe.CHARSETS.H=fe.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},fe.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.Params=void 0;var xe=function(){function E(ve,de){if(ve===void 0&&(ve=32),de===void 0&&(de=32),this.maxLength=ve,this.maxSubParamsLength=de,de>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(ve),this.length=0,this._subParams=new Int32Array(de),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(ve),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(ve){var de=new E;if(!ve.length)return de;for(var se=ve[0]instanceof Array?1:0;se<ve.length;++se){var re=ve[se];if(re instanceof Array)for(var ie=0;ie<re.length;++ie)de.addSubParam(re[ie]);else de.addParam(re)}return de},E.prototype.clone=function(){var ve=new E(this.maxLength,this.maxSubParamsLength);return ve.params.set(this.params),ve.length=this.length,ve._subParams.set(this._subParams),ve._subParamsLength=this._subParamsLength,ve._subParamsIdx.set(this._subParamsIdx),ve._rejectDigits=this._rejectDigits,ve._rejectSubDigits=this._rejectSubDigits,ve._digitIsSub=this._digitIsSub,ve},E.prototype.toArray=function(){for(var ve=[],de=0;de<this.length;++de){ve.push(this.params[de]);var se=this._subParamsIdx[de]>>8,re=255&this._subParamsIdx[de];re-se>0&&ve.push(Array.prototype.slice.call(this._subParams,se,re))}return ve},E.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},E.prototype.addParam=function(ve){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(ve<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=ve>2147483647?2147483647:ve}},E.prototype.addSubParam=function(ve){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(ve<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=ve>2147483647?2147483647:ve,this._subParamsIdx[this.length-1]++}},E.prototype.hasSubParams=function(ve){return(255&this._subParamsIdx[ve])-(this._subParamsIdx[ve]>>8)>0},E.prototype.getSubParams=function(ve){var de=this._subParamsIdx[ve]>>8,se=255&this._subParamsIdx[ve];return se-de>0?this._subParams.subarray(de,se):null},E.prototype.getSubParamsAll=function(){for(var ve={},de=0;de<this.length;++de){var se=this._subParamsIdx[de]>>8,re=255&this._subParamsIdx[de];re-se>0&&(ve[de]=this._subParams.slice(se,re))}return ve},E.prototype.addDigit=function(ve){var de;if(!(this._rejectDigits||!(de=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var se=this._digitIsSub?this._subParams:this.params,re=se[de-1];se[de-1]=~re?Math.min(10*re+ve,2147483647):ve}},E}();fe.Params=xe},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.OscHandler=fe.OscParser=void 0;var xe=Se(23),E=Se(8),ve=function(){function se(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return se.prototype.addHandler=function(re,ie){this._handlers[re]===void 0&&(this._handlers[re]=[]);var le=this._handlers[re];return le.push(ie),{dispose:function(){var ce=le.indexOf(ie);ce!==-1&&le.splice(ce,1)}}},se.prototype.setHandler=function(re,ie){this._handlers[re]=[ie]},se.prototype.clearHandler=function(re){this._handlers[re]&&delete this._handlers[re]},se.prototype.setHandlerFallback=function(re){this._handlerFb=re},se.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},se.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},se.prototype._start=function(){var re=this._handlers[this._id];if(re)for(var ie=re.length-1;ie>=0;ie--)re[ie].start();else this._handlerFb(this._id,"START")},se.prototype._put=function(re,ie,le){var ce=this._handlers[this._id];if(ce)for(var ae=ce.length-1;ae>=0;ae--)ce[ae].put(re,ie,le);else this._handlerFb(this._id,"PUT",E.utf32ToString(re,ie,le))},se.prototype._end=function(re){var ie=this._handlers[this._id];if(ie){for(var le=ie.length-1;le>=0&&ie[le].end(re)===!1;le--);for(le--;le>=0;le--)ie[le].end(!1)}else this._handlerFb(this._id,"END",re)},se.prototype.start=function(){this.reset(),this._id=-1,this._state=1},se.prototype.put=function(re,ie,le){if(this._state!==3){if(this._state===1)for(;ie<le;){var ce=re[ie++];if(ce===59){this._state=2,this._start();break}if(ce<48||57<ce)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+ce-48}this._state===2&&le-ie>0&&this._put(re,ie,le)}},se.prototype.end=function(re){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(re)),this._id=-1,this._state=0)},se}();fe.OscParser=ve;var de=function(){function se(re){this._handler=re,this._data="",this._hitLimit=!1}return se.prototype.start=function(){this._data="",this._hitLimit=!1},se.prototype.put=function(re,ie,le){this._hitLimit||(this._data+=E.utf32ToString(re,ie,le),this._data.length>xe.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},se.prototype.end=function(re){var ie;return this._hitLimit?ie=!1:re&&(ie=this._handler(this._data)),this._data="",this._hitLimit=!1,ie},se}();fe.OscHandler=de},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.PAYLOAD_LIMIT=void 0,fe.PAYLOAD_LIMIT=1e7},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.DcsHandler=fe.DcsParser=void 0;var xe=Se(8),E=Se(21),ve=Se(23),de=[],se=function(){function ie(){this._handlers=Object.create(null),this._active=de,this._ident=0,this._handlerFb=function(){}}return ie.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ie.prototype.addHandler=function(le,ce){this._handlers[le]===void 0&&(this._handlers[le]=[]);var ae=this._handlers[le];return ae.push(ce),{dispose:function(){var oe=ae.indexOf(ce);oe!==-1&&ae.splice(oe,1)}}},ie.prototype.setHandler=function(le,ce){this._handlers[le]=[ce]},ie.prototype.clearHandler=function(le){this._handlers[le]&&delete this._handlers[le]},ie.prototype.setHandlerFallback=function(le){this._handlerFb=le},ie.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=de,this._ident=0},ie.prototype.hook=function(le,ce){if(this.reset(),this._ident=le,this._active=this._handlers[le]||de,this._active.length)for(var ae=this._active.length-1;ae>=0;ae--)this._active[ae].hook(ce);else this._handlerFb(this._ident,"HOOK",ce)},ie.prototype.put=function(le,ce,ae){if(this._active.length)for(var oe=this._active.length-1;oe>=0;oe--)this._active[oe].put(le,ce,ae);else this._handlerFb(this._ident,"PUT",xe.utf32ToString(le,ce,ae))},ie.prototype.unhook=function(le){if(this._active.length){for(var ce=this._active.length-1;ce>=0&&this._active[ce].unhook(le)===!1;ce--);for(ce--;ce>=0;ce--)this._active[ce].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",le);this._active=de,this._ident=0},ie}();fe.DcsParser=se;var re=function(){function ie(le){this._handler=le,this._data="",this._hitLimit=!1}return ie.prototype.hook=function(le){this._params=le.clone(),this._data="",this._hitLimit=!1},ie.prototype.put=function(le,ce,ae){this._hitLimit||(this._data+=xe.utf32ToString(le,ce,ae),this._data.length>ve.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ie.prototype.unhook=function(le){var ce;return this._hitLimit?ce=!1:le&&(ce=this._handler(this._data,this._params||new E.Params)),this._params=void 0,this._data="",this._hitLimit=!1,ce},ie}();fe.DcsHandler=re},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.removeTerminalFromCache=fe.acquireCharAtlas=void 0;var xe=Se(26),E=Se(43),ve=[];fe.acquireCharAtlas=function(de,se,re,ie,le){for(var ce=xe.generateConfig(ie,le,de,re),ae=0;ae<ve.length;ae++){var oe=(ne=ve[ae]).ownedBy.indexOf(se);if(oe>=0){if(xe.configEquals(ne.config,ce))return ne.atlas;ne.ownedBy.length===1?(ne.atlas.dispose(),ve.splice(ae,1)):ne.ownedBy.splice(oe,1);break}}for(ae=0;ae<ve.length;ae++){var ne=ve[ae];if(xe.configEquals(ne.config,ce))return ne.ownedBy.push(se),ne.atlas}var ee={atlas:new E.DynamicCharAtlas(document,ce),config:ce,ownedBy:[se]};return ve.push(ee),ee.atlas},fe.removeTerminalFromCache=function(de){for(var se=0;se<ve.length;se++){var re=ve[se].ownedBy.indexOf(de);if(re!==-1){ve[se].ownedBy.length===1?(ve[se].atlas.dispose(),ve.splice(se,1)):ve[se].ownedBy.splice(re,1);break}}}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.is256Color=fe.configEquals=fe.generateConfig=void 0;var xe=Se(3);fe.generateConfig=function(E,ve,de,se){var re={foreground:se.foreground,background:se.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:se.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:E,scaledCharHeight:ve,fontFamily:de.fontFamily,fontSize:de.fontSize,fontWeight:de.fontWeight,fontWeightBold:de.fontWeightBold,allowTransparency:de.allowTransparency,colors:re}},fe.configEquals=function(E,ve){for(var de=0;de<E.colors.ansi.length;de++)if(E.colors.ansi[de].rgba!==ve.colors.ansi[de].rgba)return!1;return E.devicePixelRatio===ve.devicePixelRatio&&E.fontFamily===ve.fontFamily&&E.fontSize===ve.fontSize&&E.fontWeight===ve.fontWeight&&E.fontWeightBold===ve.fontWeightBold&&E.allowTransparency===ve.allowTransparency&&E.scaledCharWidth===ve.scaledCharWidth&&E.scaledCharHeight===ve.scaledCharHeight&&E.colors.foreground===ve.colors.foreground&&E.colors.background===ve.colors.background},fe.is256Color=function(E){return E<xe.DEFAULT_COLOR}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.ColorManager=fe.DEFAULT_ANSI_COLORS=void 0;var xe=Se(10),E=Se(45),ve=xe.css.toColor("#ffffff"),de=xe.css.toColor("#000000"),se=xe.css.toColor("#ffffff"),re=xe.css.toColor("#000000"),ie={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};fe.DEFAULT_ANSI_COLORS=function(){for(var ce=[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];ce.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;ce.push({css:xe.channels.toCss(y,y,y),rgba:xe.channels.toRgba(y,y,y)})}return ce}();var le=function(){function ce(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:ve,background:de,cursor:se,cursorAccent:re,selectionTransparent:ie,selectionOpaque:xe.color.blend(de,ie),ansi:fe.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return ce.prototype.onOptionsChange=function(ae){ae==="minimumContrastRatio"&&this._contrastCache.clear()},ce.prototype.setTheme=function(ae){ae===void 0&&(ae={}),this.colors.foreground=this._parseColor(ae.foreground,ve),this.colors.background=this._parseColor(ae.background,de),this.colors.cursor=this._parseColor(ae.cursor,se,!0),this.colors.cursorAccent=this._parseColor(ae.cursorAccent,re,!0),this.colors.selectionTransparent=this._parseColor(ae.selection,ie,!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,fe.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(ae.red,fe.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(ae.green,fe.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(ae.yellow,fe.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(ae.blue,fe.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(ae.magenta,fe.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(ae.cyan,fe.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(ae.white,fe.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(ae.brightBlack,fe.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(ae.brightRed,fe.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(ae.brightGreen,fe.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(ae.brightYellow,fe.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(ae.brightBlue,fe.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(ae.brightMagenta,fe.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(ae.brightCyan,fe.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(ae.brightWhite,fe.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},ce.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(ue){return Number(ue)}),y=a[0],x=a[1],b=a[2],te=a[3],z=Math.round(255*te);return{rgba:xe.channels.toRgba(y,x,b,z),css:ae}}return{css:this._ctx.fillStyle,rgba:xe.channels.toRgba(ee[0],ee[1],ee[2],ee[3])}},ce}();fe.ColorManager=le},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.throwIfFalsy=void 0,fe.throwIfFalsy=function(xe){if(!xe)throw new Error("value must not be falsy");return xe}},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(le,ce){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])})(le,ce)},function(le,ce){function ae(){this.constructor=le}xe(le,ce),le.prototype=ce===null?Object.create(ce):(ae.prototype=ce.prototype,new ae)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.CharacterJoinerRegistry=fe.JoinedCellData=void 0;var ve=Se(6),de=Se(3),se=Se(4),re=function(le){function ce(ae,oe,ne){var ee=le.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(ce,le),ce.prototype.isCombined=function(){return 2097152},ce.prototype.getWidth=function(){return this._width},ce.prototype.getChars=function(){return this.combinedData},ce.prototype.getCode=function(){return 2097151},ce.prototype.setFromCharData=function(ae){throw new Error("not implemented")},ce.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},ce}(ve.AttributeData);fe.JoinedCellData=re;var ie=function(){function le(ce){this._bufferService=ce,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new se.CellData}return le.prototype.registerCharacterJoiner=function(ce){var ae={id:this._nextCharacterJoinerId++,handler:ce};return this._characterJoiners.push(ae),ae.id},le.prototype.deregisterCharacterJoiner=function(ce){for(var ae=0;ae<this._characterJoiners.length;ae++)if(this._characterJoiners[ae].id===ce)return this._characterJoiners.splice(ae,1),!0;return!1},le.prototype.getJoinedCharacters=function(ce){if(this._characterJoiners.length===0)return[];var ae=this._bufferService.buffer.lines.get(ce);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),te=0;te<ae.getTrimmedLength();te++)if(ae.loadCell(te,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==x||this._workCell.bg!==b){if(te-ee>1)for(var z=this._getJoinedRanges(ne,y,a,ae,ee),ue=0;ue<z.length;ue++)oe.push(z[ue]);ee=te,y=a,x=this._workCell.fg,b=this._workCell.bg}a+=this._workCell.getChars().length||de.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-ee>1)for(z=this._getJoinedRanges(ne,y,a,ae,ee),ue=0;ue<z.length;ue++)oe.push(z[ue]);return oe},le.prototype._getJoinedRanges=function(ce,ae,oe,ne,ee){for(var a=ce.substring(ae,oe),y=this._characterJoiners[0].handler(a),x=1;x<this._characterJoiners.length;x++)for(var b=this._characterJoiners[x].handler(a),te=0;te<b.length;te++)le._mergeRanges(y,b[te]);return this._stringRangesToCellRanges(y,ne,ee),y},le.prototype._stringRangesToCellRanges=function(ce,ae,oe){var ne=0,ee=!1,a=0,y=ce[ne];if(y){for(var x=oe;x<this._bufferService.cols;x++){var b=ae.getWidth(x),te=ae.getString(x).length||de.WHITESPACE_CELL_CHAR.length;if(b!==0){if(!ee&&y[0]<=a&&(y[0]=x,ee=!0),y[1]<=a){if(y[1]=x,!(y=ce[++ne]))break;y[0]<=a?(y[0]=x,ee=!0):ee=!1}a+=te}}y&&(y[1]=this._bufferService.cols)}},le._mergeRanges=function(ce,ae){for(var oe=!1,ne=0;ne<ce.length;ne++){var ee=ce[ne];if(oe){if(ae[1]<=ee[0])return ce[ne-1][1]=ae[1],ce;if(ae[1]<=ee[1])return ce[ne-1][1]=Math.max(ae[1],ee[1]),ce.splice(ne,1),ce;ce.splice(ne,1),ne--}else{if(ae[1]<=ee[0])return ce.splice(ne,0,ae),ce;if(ae[1]<=ee[1])return ee[0]=Math.min(ae[0],ee[0]),ce;ae[0]<ee[1]&&(ee[0]=Math.min(ae[0],ee[0]),oe=!0)}}return oe?ce[ce.length-1][1]=ae[1]:ce.push(ae),ce},le}();fe.CharacterJoinerRegistry=ie},function(dt,fe,Se){"use strict";function xe(E,ve){var de=ve.getBoundingClientRect();return[E.clientX-de.left,E.clientY-de.top]}Object.defineProperty(fe,"__esModule",{value:!0}),fe.getRawByteCoords=fe.getCoords=fe.getCoordsRelativeToElement=void 0,fe.getCoordsRelativeToElement=xe,fe.getCoords=function(E,ve,de,se,re,ie,le,ce){if(re){var ae=xe(E,ve);if(ae)return ae[0]=Math.ceil((ae[0]+(ce?ie/2:0))/ie),ae[1]=Math.ceil(ae[1]/le),ae[0]=Math.min(Math.max(ae[0],1),de+(ce?1:0)),ae[1]=Math.min(Math.max(ae[1],1),se),ae}},fe.getRawByteCoords=function(E){if(E)return{x:E[0]+32,y:E[1]+32}}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.RenderDebouncer=void 0;var xe=function(){function E(ve){this._renderCallback=ve}return E.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},E.prototype.refresh=function(ve,de,se){var re=this;this._rowCount=se,ve=ve!==void 0?ve:0,de=de!==void 0?de:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,ve):ve,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,de):de,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 ve=Math.max(this._rowStart,0),de=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(ve,de)}},E}();fe.RenderDebouncer=xe},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(de,se){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var le in ie)ie.hasOwnProperty(le)&&(re[le]=ie[le])})(de,se)},function(de,se){function re(){this.constructor=de}xe(de,se),de.prototype=se===null?Object.create(se):(re.prototype=se.prototype,new re)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.ScreenDprMonitor=void 0;var ve=function(de){function se(){var re=de!==null&&de.apply(this,arguments)||this;return re._currentDevicePixelRatio=window.devicePixelRatio,re}return E(se,de),se.prototype.setListener=function(re){var ie=this;this._listener&&this.clearListener(),this._listener=re,this._outerListener=function(){ie._listener&&(ie._listener(window.devicePixelRatio,ie._currentDevicePixelRatio),ie._updateDpr())},this._updateDpr()},se.prototype.dispose=function(){de.prototype.dispose.call(this),this.clearListener()},se.prototype._updateDpr=function(){var 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))},se.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},se}(Se(2).Disposable);fe.ScreenDprMonitor=ve},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.clone=void 0,fe.clone=function xe(E,ve){if(ve===void 0&&(ve=5),typeof E!="object")return E;var de=Array.isArray(E)?[]:{};for(var se in E)de[se]=ve<=1?E[se]:E[se]?xe(E[se],ve-1):E[se];return de}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.Terminal=void 0;var xe=Se(4),E=Se(35),ve=Se(18),de=Se(0),se=Se(83),re=function(){function ne(ee){this._core=new E.Terminal(ee),this._addonManager=new se.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 le(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 ve},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}();fe.Terminal=re;var ie=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 ce(a)},ne.prototype.getNullCell=function(){return new xe.CellData},ne}(),le=function(){function ne(ee){var a=this;this._buffers=ee,this._onBufferChange=new de.EventEmitter,this._normal=new ie(this._buffers.normal,"normal"),this._alternate=new ie(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return a._onBufferChange.fire(a.active)})}return Object.defineProperty(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}(),ce=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(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(_e,Ee){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Me,Ie){Me.__proto__=Ie}||function(Me,Ie){for(var Be in Ie)Ie.hasOwnProperty(Be)&&(Me[Be]=Ie[Be])})(_e,Ee)},function(_e,Ee){function Me(){this.constructor=_e}xe(_e,Ee),_e.prototype=Ee===null?Object.create(Ee):(Me.prototype=Ee.prototype,new Me)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.Terminal=void 0;var ve=Se(36),de=Se(37),se=Se(38),re=Se(12),ie=Se(19),le=Se(40),ce=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),te=Se(59),z=Se(0),ue=Se(16),ge=Se(27),me=Se(60),he=Se(5),pe=Se(61),be=Se(62),ye=Se(63),Pe=Se(64),we=Se(65),Oe=typeof window!="undefined"?window.document:null,Ce=function(_e){function Ee(Me){Me===void 0&&(Me={});var Ie=_e.call(this,Me)||this;return Ie.browser=oe,Ie._keyDownHandled=!1,Ie._onCursorMove=new z.EventEmitter,Ie._onKey=new z.EventEmitter,Ie._onRender=new z.EventEmitter,Ie._onSelectionChange=new z.EventEmitter,Ie._onTitleChange=new z.EventEmitter,Ie._onFocus=new z.EventEmitter,Ie._onBlur=new z.EventEmitter,Ie._onA11yCharEmitter=new z.EventEmitter,Ie._onA11yTabEmitter=new z.EventEmitter,Ie._setup(),Ie.linkifier=Ie._instantiationService.createInstance(ce.Linkifier),Ie.linkifier2=Ie.register(Ie._instantiationService.createInstance(ye.Linkifier2)),Ie.register(Ie._inputHandler.onRequestBell(function(){return Ie.bell()})),Ie.register(Ie._inputHandler.onRequestRefreshRows(function(Be,Re){return Ie.refresh(Be,Re)})),Ie.register(Ie._inputHandler.onRequestReset(function(){return Ie.reset()})),Ie.register(Ie._inputHandler.onRequestScroll(function(Be,Re){return Ie.scroll(Be,Re||void 0)})),Ie.register(Ie._inputHandler.onRequestWindowsOptionsReport(function(Be){return Ie._reportWindowsOptions(Be)})),Ie.register(z.forwardEvent(Ie._inputHandler.onCursorMove,Ie._onCursorMove)),Ie.register(z.forwardEvent(Ie._inputHandler.onTitleChange,Ie._onTitleChange)),Ie.register(z.forwardEvent(Ie._inputHandler.onA11yChar,Ie._onA11yCharEmitter)),Ie.register(z.forwardEvent(Ie._inputHandler.onA11yTab,Ie._onA11yTabEmitter)),Ie.register(Ie._bufferService.onResize(function(Be){return Ie._afterResize(Be.cols,Be.rows)})),Ie}return E(Ee,_e),Object.defineProperty(Ee.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ee.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),Ee.prototype.dispose=function(){var Me,Ie,Be;this._isDisposed||(_e.prototype.dispose.call(this),(Me=this._renderService)===null||Me===void 0||Me.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(Be=(Ie=this.element)===null||Ie===void 0?void 0:Ie.parentNode)===null||Be===void 0||Be.removeChild(this.element))},Ee.prototype._setup=function(){_e.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(Ee.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),Ee.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},Ee.prototype._updateOptions=function(Me){var Ie,Be,Re,tt;switch(_e.prototype._updateOptions.call(this,Me),Me){case"fontFamily":case"fontSize":(Ie=this._renderService)===null||Ie===void 0||Ie.clear(),(Be=this._charSizeService)===null||Be===void 0||Be.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":(Re=this.viewport)===null||Re===void 0||Re.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)):((tt=this._accessibilityManager)===null||tt===void 0||tt.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},Ee.prototype._onTextAreaFocus=function(Me){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(re.C0.ESC+"[I"),this.updateCursorStyle(Me),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},Ee.prototype.blur=function(){var Me;return(Me=this.textarea)===null||Me===void 0?void 0:Me.blur()},Ee.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()},Ee.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var Me=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),Ie=this._bufferService.buffer.y*Me,Be=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=Be+"px",this.textarea.style.top=Ie+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=Me+"px",this.textarea.style.lineHeight=Me+"px",this.textarea.style.zIndex="-5"}},Ee.prototype._initGlobal=function(){var Me=this;this._bindKeys(),this.register(ne.addDisposableDomListener(this.element,"copy",function(Be){Me.hasSelection()&&se.copyHandler(Be,Me._selectionService)}));var Ie=function(Be){return se.handlePasteEvent(Be,Me.textarea,Me._coreService)};this.register(ne.addDisposableDomListener(this.textarea,"paste",Ie)),this.register(ne.addDisposableDomListener(this.element,"paste",Ie)),oe.isFirefox?this.register(ne.addDisposableDomListener(this.element,"mousedown",function(Be){Be.button===2&&se.rightClickHandler(Be,Me.textarea,Me.screenElement,Me._selectionService,Me.options.rightClickSelectsWord)})):this.register(ne.addDisposableDomListener(this.element,"contextmenu",function(Be){se.rightClickHandler(Be,Me.textarea,Me.screenElement,Me._selectionService,Me.options.rightClickSelectsWord)})),oe.isLinux&&this.register(ne.addDisposableDomListener(this.element,"auxclick",function(Be){Be.button===1&&se.moveTextAreaUnderMouseCursor(Be,Me.textarea,Me.screenElement)}))},Ee.prototype._bindKeys=function(){var Me=this;this.register(ne.addDisposableDomListener(this.textarea,"keyup",function(Ie){return Me._keyUp(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keydown",function(Ie){return Me._keyDown(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keypress",function(Ie){return Me._keyPress(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"compositionstart",function(){return Me._compositionHelper.compositionstart()})),this.register(ne.addDisposableDomListener(this.textarea,"compositionupdate",function(Ie){return Me._compositionHelper.compositionupdate(Ie)})),this.register(ne.addDisposableDomListener(this.textarea,"compositionend",function(){return Me._compositionHelper.compositionend()})),this.register(this.onRender(function(){return Me._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(Ie){return Me._queueLinkification(Ie.start,Ie.end)}))},Ee.prototype.open=function(Me){var Ie=this;if(!Me)throw new Error("Terminal requires a parent element.");Oe.body.contains(Me)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=Me.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"),Me.appendChild(this.element);var Be=Oe.createDocumentFragment();this._viewportElement=Oe.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),Be.appendChild(this._viewportElement),this._viewportScrollArea=Oe.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=Oe.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=Oe.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),Be.appendChild(this.screenElement),this.textarea=Oe.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(Ye){return Ie._onTextAreaFocus(Ye)})),this.register(ne.addDisposableDomListener(this.textarea,"blur",function(){return Ie._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var Re=this._instantiationService.createInstance(Pe.CoreBrowserService,this.textarea);this._instantiationService.setService(he.ICoreBrowserService,Re),this._charSizeService=this._instantiationService.createInstance(pe.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(he.ICharSizeService,this._charSizeService),this._compositionView=Oe.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(ve.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(Be),this._theme=this.options.theme||this._theme,this._colorManager=new ge.ColorManager(Oe,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(Ye){return Ie._colorManager.onOptionsChange(Ye)})),this._colorManager.setTheme(this._theme);var tt=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(me.RenderService,tt,this.rows,this.screenElement)),this._instantiationService.setService(he.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(Ye){return Ie._onRender.fire(Ye)})),this.onResize(function(Ye){return Ie._renderService.resize(Ye.cols,Ye.rows)}),this._soundService=this._instantiationService.createInstance(a.SoundService),this._instantiationService.setService(he.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(be.MouseService),this._instantiationService.setService(he.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(de.Viewport,function(Ye,et){return Ie.scrollLines(Ye,et)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return Ie.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){Ie._renderService.onCursorMove(),Ie._syncTextArea()})),this.register(this.onResize(function(){return Ie._renderService.onResize(Ie.cols,Ie.rows)})),this.register(this.onBlur(function(){return Ie._renderService.onBlur()})),this.register(this.onFocus(function(){return Ie._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return Ie.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(ae.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(he.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(Ye){return Ie.scrollLines(Ye.amount,Ye.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Ie._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(Ye){return Ie._renderService.onSelectionChanged(Ye.start,Ye.end,Ye.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(Ye){Ie.textarea.value=Ye,Ie.textarea.focus(),Ie.textarea.select()})),this.register(this.onScroll(function(){Ie.viewport.syncScrollArea(),Ie._selectionService.refresh()})),this.register(ne.addDisposableDomListener(this._viewportElement,"scroll",function(){return Ie._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return Ie._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(Ye){return Ie._selectionService.onMouseDown(Ye)})),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()},Ee.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(le.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+'"')}},Ee.prototype._setTheme=function(Me){var Ie,Be,Re;this._theme=Me,(Ie=this._colorManager)===null||Ie===void 0||Ie.setTheme(Me),(Be=this._renderService)===null||Be===void 0||Be.setColors(this._colorManager.colors),(Re=this.viewport)===null||Re===void 0||Re.onThemeChange(this._colorManager.colors)},Ee.prototype.bindMouse=function(){var Me=this,Ie=this,Be=this.element;function Re(Fe){var je,qe,Je=Ie._mouseService.getRawByteCoords(Fe,Ie.screenElement,Ie.cols,Ie.rows);if(!Je)return!1;switch(Fe.overrideType||Fe.type){case"mousemove":qe=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":qe=0,je=Fe.button<3?Fe.button:3;break;case"mousedown":qe=1,je=Fe.button<3?Fe.button:3;break;case"wheel":Fe.deltaY!==0&&(qe=Fe.deltaY<0?0:1),je=4;break;default:return!1}return!(qe===void 0||je===void 0||je>4)&&Ie._coreMouseService.triggerMouseEvent({col:Je.x-33,row:Je.y-33,button:je,action:qe,ctrl:Fe.ctrlKey,alt:Fe.altKey,shift:Fe.shiftKey})}var tt={mouseup:null,wheel:null,mousedrag:null,mousemove:null},Ye=function(Fe){return Re(Fe),Fe.buttons||(Me._document.removeEventListener("mouseup",tt.mouseup),tt.mousedrag&&Me._document.removeEventListener("mousemove",tt.mousedrag)),Me.cancel(Fe)},et=function(Fe){return Re(Fe),Fe.preventDefault(),Me.cancel(Fe)},Xe=function(Fe){Fe.buttons&&Re(Fe)},Ge=function(Fe){Fe.buttons||Re(Fe)};this.register(this._coreMouseService.onProtocolChange(function(Fe){Fe?(Me.optionsService.options.logLevel==="debug"&&Me._logService.debug("Binding to mouse events:",Me._coreMouseService.explainEvents(Fe)),Me.element.classList.add("enable-mouse-events"),Me._selectionService.disable()):(Me._logService.debug("Unbinding from mouse events."),Me.element.classList.remove("enable-mouse-events"),Me._selectionService.enable()),8&Fe?tt.mousemove||(Be.addEventListener("mousemove",Ge),tt.mousemove=Ge):(Be.removeEventListener("mousemove",tt.mousemove),tt.mousemove=null),16&Fe?tt.wheel||(Be.addEventListener("wheel",et,{passive:!1}),tt.wheel=et):(Be.removeEventListener("wheel",tt.wheel),tt.wheel=null),2&Fe?tt.mouseup||(tt.mouseup=Ye):(Me._document.removeEventListener("mouseup",tt.mouseup),tt.mouseup=null),4&Fe?tt.mousedrag||(tt.mousedrag=Xe):(Me._document.removeEventListener("mousemove",tt.mousedrag),tt.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(ne.addDisposableDomListener(Be,"mousedown",function(Fe){if(Fe.preventDefault(),Me.focus(),Me._coreMouseService.areMouseEventsActive&&!Me._selectionService.shouldForceSelection(Fe))return Re(Fe),tt.mouseup&&Me._document.addEventListener("mouseup",tt.mouseup),tt.mousedrag&&Me._document.addEventListener("mousemove",tt.mousedrag),Me.cancel(Fe)})),this.register(ne.addDisposableDomListener(Be,"wheel",function(Fe){if(!tt.wheel){if(!Me.buffer.hasScrollback){var je=Me.viewport.getLinesScrolled(Fe);if(je===0)return;for(var qe=re.C0.ESC+(Me._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(Fe.deltaY<0?"A":"B"),Je="",it=0;it<Math.abs(je);it++)Je+=qe;Me._coreService.triggerDataEvent(Je,!0)}}},{passive:!0})),this.register(ne.addDisposableDomListener(Be,"wheel",function(Fe){if(!tt.wheel)return Me.viewport.onWheel(Fe)?void 0:Me.cancel(Fe)},{passive:!1})),this.register(ne.addDisposableDomListener(Be,"touchstart",function(Fe){if(!Me._coreMouseService.areMouseEventsActive)return Me.viewport.onTouchStart(Fe),Me.cancel(Fe)},{passive:!0})),this.register(ne.addDisposableDomListener(Be,"touchmove",function(Fe){if(!Me._coreMouseService.areMouseEventsActive)return Me.viewport.onTouchMove(Fe)?void 0:Me.cancel(Fe)},{passive:!1}))},Ee.prototype.refresh=function(Me,Ie){var Be;(Be=this._renderService)===null||Be===void 0||Be.refreshRows(Me,Ie)},Ee.prototype._queueLinkification=function(Me,Ie){var Be;(Be=this.linkifier)===null||Be===void 0||Be.linkifyRows(Me,Ie)},Ee.prototype.updateCursorStyle=function(Me){this._selectionService&&this._selectionService.shouldColumnSelect(Me)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},Ee.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},Ee.prototype.scrollLines=function(Me,Ie){_e.prototype.scrollLines.call(this,Me,Ie),this.refresh(0,this.rows-1)},Ee.prototype.paste=function(Me){se.paste(Me,this.textarea,this._coreService)},Ee.prototype.attachCustomKeyEventHandler=function(Me){this._customKeyEventHandler=Me},Ee.prototype.registerLinkMatcher=function(Me,Ie,Be){var Re=this.linkifier.registerLinkMatcher(Me,Ie,Be);return this.refresh(0,this.rows-1),Re},Ee.prototype.deregisterLinkMatcher=function(Me){this.linkifier.deregisterLinkMatcher(Me)&&this.refresh(0,this.rows-1)},Ee.prototype.registerLinkProvider=function(Me){return this.linkifier2.registerLinkProvider(Me)},Ee.prototype.registerCharacterJoiner=function(Me){var Ie=this._renderService.registerCharacterJoiner(Me);return this.refresh(0,this.rows-1),Ie},Ee.prototype.deregisterCharacterJoiner=function(Me){this._renderService.deregisterCharacterJoiner(Me)&&this.refresh(0,this.rows-1)},Object.defineProperty(Ee.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),Ee.prototype.addMarker=function(Me){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+Me)},Ee.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},Ee.prototype.select=function(Me,Ie,Be){this._selectionService.setSelection(Me,Ie,Be)},Ee.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},Ee.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]}},Ee.prototype.clearSelection=function(){var Me;(Me=this._selectionService)===null||Me===void 0||Me.clearSelection()},Ee.prototype.selectAll=function(){var Me;(Me=this._selectionService)===null||Me===void 0||Me.selectAll()},Ee.prototype.selectLines=function(Me,Ie){var Be;(Be=this._selectionService)===null||Be===void 0||Be.selectLines(Me,Ie)},Ee.prototype._keyDown=function(Me){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(Me)===!1)return!1;if(!this._compositionHelper.keydown(Me))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var Ie=te.evaluateKeyboardEvent(Me,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(Me),Ie.type===3||Ie.type===2){var Be=this.rows-1;return this.scrollLines(Ie.type===2?-Be:Be),this.cancel(Me,!0)}return Ie.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,Me)||(Ie.cancel&&this.cancel(Me,!0),!Ie.key||(Ie.key!==re.C0.ETX&&Ie.key!==re.C0.CR||(this.textarea.value=""),this._onKey.fire({key:Ie.key,domEvent:Me}),this._showCursor(),this._coreService.triggerDataEvent(Ie.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(Me,!0)))},Ee.prototype._isThirdLevelShift=function(Me,Ie){var Be=Me.isMac&&!this.options.macOptionIsMeta&&Ie.altKey&&!Ie.ctrlKey&&!Ie.metaKey||Me.isWindows&&Ie.altKey&&Ie.ctrlKey&&!Ie.metaKey;return Ie.type==="keypress"?Be:Be&&(!Ie.keyCode||Ie.keyCode>47)},Ee.prototype._keyUp=function(Me){this._customKeyEventHandler&&this._customKeyEventHandler(Me)===!1||(function(Ie){return Ie.keyCode===16||Ie.keyCode===17||Ie.keyCode===18}(Me)||this.focus(),this.updateCursorStyle(Me))},Ee.prototype._keyPress=function(Me){var Ie;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(Me)===!1)return!1;if(this.cancel(Me),Me.charCode)Ie=Me.charCode;else if(Me.which===null||Me.which===void 0)Ie=Me.keyCode;else{if(Me.which===0||Me.charCode===0)return!1;Ie=Me.which}return!(!Ie||(Me.altKey||Me.ctrlKey||Me.metaKey)&&!this._isThirdLevelShift(this.browser,Me))&&(Ie=String.fromCharCode(Ie),this._onKey.fire({key:Ie,domEvent:Me}),this._showCursor(),this._coreService.triggerDataEvent(Ie,!0),!0)},Ee.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},Ee.prototype.resize=function(Me,Ie){Me!==this.cols||Ie!==this.rows?_e.prototype.resize.call(this,Me,Ie):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},Ee.prototype._afterResize=function(Me,Ie){var Be,Re;(Be=this._charSizeService)===null||Be===void 0||Be.measure(),(Re=this.viewport)===null||Re===void 0||Re.syncScrollArea(!0)},Ee.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 Me=1;Me<this.rows;Me++)this.buffer.lines.push(this.buffer.getBlankLine(ue.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},Ee.prototype.reset=function(){var Me,Ie;this.options.rows=this.rows,this.options.cols=this.cols;var Be=this._customKeyEventHandler;this._setup(),_e.prototype.reset.call(this),(Me=this._selectionService)===null||Me===void 0||Me.reset(),this._customKeyEventHandler=Be,this.refresh(0,this.rows-1),(Ie=this.viewport)===null||Ie===void 0||Ie.syncScrollArea()},Ee.prototype._reportWindowsOptions=function(Me){if(this._renderService)switch(Me){case ie.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var Ie=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),Be=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(re.C0.ESC+"[4;"+Be+";"+Ie+"t");break;case ie.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var Re=this._renderService.dimensions.scaledCellWidth.toFixed(0),tt=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(re.C0.ESC+"[6;"+tt+";"+Re+"t")}},Ee.prototype.cancel=function(Me,Ie){if(this.options.cancelEvents||Ie)return Me.preventDefault(),Me.stopPropagation(),!1},Ee.prototype._visualBell=function(){return!1},Ee.prototype._soundBell=function(){return this.options.bellStyle==="sound"},Ee}(we.CoreTerminal);fe.Terminal=Ce},function(dt,fe,Se){"use strict";var xe=this&&this.__decorate||function(re,ie,le,ce){var ae,oe=arguments.length,ne=oe<3?ie:ce===null?ce=Object.getOwnPropertyDescriptor(ie,le):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(re,ie,le,ce);else for(var ee=re.length-1;ee>=0;ee--)(ae=re[ee])&&(ne=(oe<3?ae(ne):oe>3?ae(ie,le,ne):ae(ie,le))||ne);return oe>3&&ne&&Object.defineProperty(ie,le,ne),ne},E=this&&this.__param||function(re,ie){return function(le,ce){ie(le,ce,re)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CompositionHelper=void 0;var ve=Se(5),de=Se(1),se=function(){function re(ie,le,ce,ae,oe,ne){this._textarea=ie,this._compositionView=le,this._bufferService=ce,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(ie){var le=this;this._compositionView.textContent=ie.data,this.updateCompositionElements(),setTimeout(function(){le._compositionPosition.end=le._textarea.value.length},0)},re.prototype.compositionend=function(){this._finalizeComposition(!0)},re.prototype.keydown=function(ie){if(this._isComposing||this._isSendingComposition){if(ie.keyCode===229||ie.keyCode===16||ie.keyCode===17||ie.keyCode===18)return!1;this._finalizeComposition(!1)}return ie.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},re.prototype._finalizeComposition=function(ie){var le=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,ie){var ce={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(le._isSendingComposition){le._isSendingComposition=!1;var oe=void 0;oe=le._isComposing?le._textarea.value.substring(ce.start,ce.end):le._textarea.value.substring(ce.start),le._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 ie=this,le=this._textarea.value;setTimeout(function(){if(!ie._isComposing){var ce=ie._textarea.value.replace(le,"");ce.length>0&&ie._coreService.triggerDataEvent(ce,!0)}},0)},re.prototype.updateCompositionElements=function(ie){var le=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var ce=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),ae=this._bufferService.buffer.y*ce,oe=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=oe+"px",this._compositionView.style.top=ae+"px",this._compositionView.style.height=ce+"px",this._compositionView.style.lineHeight=ce+"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"}ie||setTimeout(function(){return le.updateCompositionElements(!0)},0)}},re=xe([E(2,de.IBufferService),E(3,de.IOptionsService),E(4,ve.ICharSizeService),E(5,de.ICoreService)],re)}();fe.CompositionHelper=se},function(dt,fe,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)}),ve=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},de=this&&this.__param||function(ae,oe){return function(ne,ee){oe(ne,ee,ae)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.Viewport=void 0;var se=Se(2),re=Se(7),ie=Se(5),le=Se(1),ce=function(ae){function oe(ne,ee,a,y,x,b,te){var z=ae.call(this)||this;return z._scrollLines=ne,z._viewportElement=ee,z._scrollArea=a,z._bufferService=y,z._optionsService=x,z._charSizeService=b,z._renderService=te,z.scrollBarWidth=0,z._currentRowHeight=0,z._lastRecordedBufferLength=0,z._lastRecordedViewportHeight=0,z._lastRecordedBufferHeight=0,z._lastTouchY=0,z._lastScrollTop=0,z._wheelPartialScroll=0,z._refreshAnimationFrame=null,z._ignoreNextScrollEvent=!1,z.scrollBarWidth=z._viewportElement.offsetWidth-z._scrollArea.offsetWidth||15,z.register(re.addDisposableDomListener(z._viewportElement,"scroll",z._onScroll.bind(z))),setTimeout(function(){return z.syncScrollArea()},0),z}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=ve([de(3,le.IBufferService),de(4,le.IOptionsService),de(5,ie.ICharSizeService),de(6,ie.IRenderService)],oe)}(se.Disposable);fe.Viewport=ce},function(dt,fe,Se){"use strict";function xe(se){return se.replace(/\r?\n/g,"\r")}function E(se,re){return re?"\x1B[200~"+se+"\x1B[201~":se}function ve(se,re,ie){se=E(se=xe(se),ie.decPrivateModes.bracketedPasteMode),ie.triggerDataEvent(se,!0),re.value=""}function de(se,re,ie){var le=ie.getBoundingClientRect(),ce=se.clientX-le.left-10,ae=se.clientY-le.top-10;re.style.width="20px",re.style.height="20px",re.style.left=ce+"px",re.style.top=ae+"px",re.style.zIndex="1000",re.focus()}Object.defineProperty(fe,"__esModule",{value:!0}),fe.rightClickHandler=fe.moveTextAreaUnderMouseCursor=fe.paste=fe.handlePasteEvent=fe.copyHandler=fe.bracketTextForPaste=fe.prepareTextForTerminal=void 0,fe.prepareTextForTerminal=xe,fe.bracketTextForPaste=E,fe.copyHandler=function(se,re){se.clipboardData&&se.clipboardData.setData("text/plain",re.selectionText),se.preventDefault()},fe.handlePasteEvent=function(se,re,ie){se.stopPropagation(),se.clipboardData&&ve(se.clipboardData.getData("text/plain"),re,ie)},fe.paste=ve,fe.moveTextAreaUnderMouseCursor=de,fe.rightClickHandler=function(se,re,ie,le,ce){de(se,re,ie),ce&&!le.isClickInSelection(se)&&le.selectWordAtCursor(se),re.value=le.selectionText,re.select()}},function(dt,fe,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(fe,"__esModule",{value:!0}),fe.EscapeSequenceParser=fe.VT500_TRANSITION_TABLE=fe.TransitionTable=void 0;var ve=Se(2),de=Se(15),se=Se(21),re=Se(22),ie=Se(24),le=function(){function ae(oe){this.table=new Uint8Array(oe)}return ae.prototype.setDefault=function(oe,ne){de.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}();fe.TransitionTable=le,fe.VT500_TRANSITION_TABLE=function(){var ae=new le(4095),oe=Array.apply(null,Array(256)).map(function(b,te){return te}),ne=function(b,te){return oe.slice(b,te)},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 ce=function(ae){function oe(ne){ne===void 0&&(ne=fe.VT500_TRANSITION_TABLE);var ee=ae.call(this)||this;return ee._transitions=ne,ee.initialState=0,ee.currentState=ee.initialState,ee._params=new se.Params,ee._params.addParam(0),ee._collect=0,ee.precedingCodepoint=0,ee._printHandlerFb=function(a,y,x){},ee._executeHandlerFb=function(a){},ee._csiHandlerFb=function(a,y){},ee._escHandlerFb=function(a){},ee._errorHandlerFb=function(a){return a},ee._printHandler=ee._printHandlerFb,ee._executeHandlers=Object.create(null),ee._csiHandlers=Object.create(null),ee._escHandlers=Object.create(null),ee._oscParser=new re.OscParser,ee._dcsParser=new ie.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,te=this._dcsParser,z=this._collect,ue=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 he=me+1;;++he){if(he>=ee||(a=ne[he])<32||a>126&&a<160){this._printHandler(ne,me,he),me=he-1;break}if(++he>=ee||(a=ne[he])<32||a>126&&a<160){this._printHandler(ne,me,he),me=he-1;break}if(++he>=ee||(a=ne[he])<32||a>126&&a<160){this._printHandler(ne,me,he),me=he-1;break}if(++he>=ee||(a=ne[he])<32||a>126&&a<160){this._printHandler(ne,me,he),me=he-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:z,params:ue,abort:!1}).abort)return;break;case 7:for(var pe=this._csiHandlers[z<<8|a],be=pe?pe.length-1:-1;be>=0&&pe[be](ue)===!1;be--);be<0&&this._csiHandlerFb(z<<8|a,ue),this.precedingCodepoint=0;break;case 8:do switch(a){case 59:ue.addParam(0);break;case 58:ue.addSubParam(-1);break;default:ue.addDigit(a-48)}while(++me<ee&&(a=ne[me])>47&&a<60);me--;break;case 9:z<<=8,z|=a;break;case 10:for(var ye=this._escHandlers[z<<8|a],Pe=ye?ye.length-1:-1;Pe>=0&&ye[Pe]()===!1;Pe--);Pe<0&&this._escHandlerFb(z<<8|a),this.precedingCodepoint=0;break;case 11:ue.reset(),ue.addParam(0),z=0;break;case 12:te.hook(z<<8|a,ue);break;case 13:for(var we=me+1;;++we)if(we>=ee||(a=ne[we])===24||a===26||a===27||a>127&&a<160){te.put(ne,me,we),me=we-1;break}break;case 14:te.unhook(a!==24&&a!==26),a===27&&(y|=1),ue.reset(),ue.addParam(0),z=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var Oe=me+1;;Oe++)if(Oe>=ee||(a=ne[Oe])<32||a>127&&a<=159){b.put(ne,me,Oe),me=Oe-1;break}break;case 6:b.end(a!==24&&a!==26),a===27&&(y|=1),ue.reset(),ue.addParam(0),z=0,this.precedingCodepoint=0}x=15&y}this._collect=z,this.currentState=x},oe}(ve.Disposable);fe.EscapeSequenceParser=ce},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(b,te){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,ue){z.__proto__=ue}||function(z,ue){for(var ge in ue)ue.hasOwnProperty(ge)&&(z[ge]=ue[ge])})(b,te)},function(b,te){function z(){this.constructor=b}xe(b,te),b.prototype=te===null?Object.create(te):(z.prototype=te.prototype,new z)}),ve=this&&this.__decorate||function(b,te,z,ue){var ge,me=arguments.length,he=me<3?te:ue===null?ue=Object.getOwnPropertyDescriptor(te,z):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")he=Reflect.decorate(b,te,z,ue);else for(var pe=b.length-1;pe>=0;pe--)(ge=b[pe])&&(he=(me<3?ge(he):me>3?ge(te,z,he):ge(te,z))||he);return me>3&&he&&Object.defineProperty(te,z,he),he},de=this&&this.__param||function(b,te){return function(z,ue){te(z,ue,b)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.Renderer=void 0;var se=Se(41),re=Se(47),ie=Se(48),le=Se(49),ce=Se(29),ae=Se(2),oe=Se(5),ne=Se(1),ee=Se(25),a=Se(0),y=1,x=function(b){function te(z,ue,ge,me,he,pe,be,ye,Pe){var we=b.call(this)||this;we._colors=z,we._screenElement=ue,we._bufferService=he,we._charSizeService=pe,we._optionsService=be,we._id=y++,we._onRequestRedraw=new a.EventEmitter;var Oe=we._optionsService.options.allowTransparency;return we._characterJoinerRegistry=new ce.CharacterJoinerRegistry(we._bufferService),we._renderLayers=[new se.TextRenderLayer(we._screenElement,0,we._colors,we._characterJoinerRegistry,Oe,we._id,we._bufferService,be),new re.SelectionRenderLayer(we._screenElement,1,we._colors,we._id,we._bufferService,be),new le.LinkRenderLayer(we._screenElement,2,we._colors,we._id,ge,me,we._bufferService,be),new ie.CursorRenderLayer(we._screenElement,3,we._colors,we._id,we._onRequestRedraw,we._bufferService,be,ye,Pe)],we.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},we._devicePixelRatio=window.devicePixelRatio,we._updateDimensions(),we.onOptionsChanged(),we}return E(te,b),Object.defineProperty(te.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),te.prototype.dispose=function(){for(var z=0,ue=this._renderLayers;z<ue.length;z++)ue[z].dispose();b.prototype.dispose.call(this),ee.removeTerminalFromCache(this._id)},te.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},te.prototype.setColors=function(z){this._colors=z;for(var ue=0,ge=this._renderLayers;ue<ge.length;ue++){var me=ge[ue];me.setColors(this._colors),me.reset()}},te.prototype.onResize=function(z,ue){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"},te.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},te.prototype.onBlur=function(){this._runOperation(function(z){return z.onBlur()})},te.prototype.onFocus=function(){this._runOperation(function(z){return z.onFocus()})},te.prototype.onSelectionChanged=function(z,ue,ge){ge===void 0&&(ge=!1),this._runOperation(function(me){return me.onSelectionChanged(z,ue,ge)})},te.prototype.onCursorMove=function(){this._runOperation(function(z){return z.onCursorMove()})},te.prototype.onOptionsChanged=function(){this._runOperation(function(z){return z.onOptionsChanged()})},te.prototype.clear=function(){this._runOperation(function(z){return z.reset()})},te.prototype._runOperation=function(z){for(var ue=0,ge=this._renderLayers;ue<ge.length;ue++)z(ge[ue])},te.prototype.renderRows=function(z,ue){for(var ge=0,me=this._renderLayers;ge<me.length;ge++)me[ge].onGridChanged(z,ue)},te.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)},te.prototype.registerCharacterJoiner=function(z){return this._characterJoinerRegistry.registerCharacterJoiner(z)},te.prototype.deregisterCharacterJoiner=function(z){return this._characterJoinerRegistry.deregisterCharacterJoiner(z)},te=ve([de(4,ne.IBufferService),de(5,oe.ICharSizeService),de(6,ne.IOptionsService),de(7,ne.ICoreService),de(8,oe.ICoreBrowserService)],te)}(ae.Disposable);fe.Renderer=x},function(dt,fe,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(fe,"__esModule",{value:!0}),fe.TextRenderLayer=void 0;var ve=Se(42),de=Se(13),se=Se(6),re=Se(3),ie=Se(29),le=Se(4),ce=function(ae){function oe(ne,ee,a,y,x,b,te,z){var ue=ae.call(this,ne,"text",ee,x,a,b,te,z)||this;return ue._characterWidth=0,ue._characterFont="",ue._characterOverlapCache={},ue._workCell=new le.CellData,ue._state=new ve.GridCache,ue._characterJoinerRegistry=y,ue}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,te=this._bufferService.buffer.lines.get(b),z=a?a.getJoinedCharacters(b):[],ue=0;ue<this._bufferService.cols;ue++){te.loadCell(ue,this._workCell);var ge=this._workCell,me=!1,he=ue;if(ge.getWidth()!==0){if(z.length>0&&ue===z[0][0]){me=!0;var pe=z.shift();ge=new ie.JoinedCellData(this._workCell,te.translateToString(!0,pe[0],pe[1]),pe[1]-pe[0]),he=pe[1]-1}!me&&this._isOverlapping(ge)&&he<te.length-1&&te.getCodePoint(he+1)===re.NULL_CELL_CODE&&(ge.content&=-12582913,ge.content|=2<<22),y(ge,ue,x),ue=he}}},oe.prototype._drawBackground=function(ne,ee){var a=this,y=this._ctx,x=this._bufferService.cols,b=0,te=0,z=null;y.save(),this._forEachCell(ne,ee,null,function(ue,ge,me){var he=null;ue.isInverse()?he=ue.isFgDefault()?a._colors.foreground.css:ue.isFgRGB()?"rgb("+se.AttributeData.toColorRGB(ue.getFgColor()).join(",")+")":a._colors.ansi[ue.getFgColor()].css:ue.isBgRGB()?he="rgb("+se.AttributeData.toColorRGB(ue.getBgColor()).join(",")+")":ue.isBgPalette()&&(he=a._colors.ansi[ue.getBgColor()].css),z===null&&(b=ge,te=me),me!==te?(y.fillStyle=z||"",a._fillCells(b,te,x-b,1),b=ge,te=me):z!==he&&(y.fillStyle=z||"",a._fillCells(b,te,ge-b,1),b=ge,te=me),z=he}),z!==null&&(y.fillStyle=z,this._fillCells(b,te,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("+se.AttributeData.toColorRGB(y.getBgColor()).join(",")+")";else{var te=y.getBgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&te<8&&(te+=8),a._ctx.fillStyle=a._colors.ansi[te].css}else if(y.isFgDefault())a._ctx.fillStyle=a._colors.foreground.css;else if(y.isFgRGB())a._ctx.fillStyle="rgb("+se.AttributeData.toColorRGB(y.getFgColor()).join(",")+")";else{var z=y.getFgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&z<8&&(z+=8),a._ctx.fillStyle=a._colors.ansi[z].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}(de.BaseRenderLayer);fe.TextRenderLayer=ce},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.GridCache=void 0;var xe=function(){function E(){this.cache=[]}return E.prototype.resize=function(ve,de){for(var se=0;se<ve;se++){this.cache.length<=se&&this.cache.push([]);for(var re=this.cache[se].length;re<de;re++)this.cache[se].push(void 0);this.cache[se].length=de}this.cache.length=ve},E.prototype.clear=function(){for(var ve=0;ve<this.cache.length;ve++)for(var de=0;de<this.cache[ve].length;de++)this.cache[ve][de]=void 0},E}();fe.GridCache=xe},function(dt,fe,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 te in b)b.hasOwnProperty(te)&&(x[te]=b[te])})(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(fe,"__esModule",{value:!0}),fe.NoneCharAtlas=fe.DynamicCharAtlas=fe.getGlyphCacheKey=void 0;var ve=Se(9),de=Se(44),se=Se(27),re=Se(46),ie=Se(11),le=Se(28),ce=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)}fe.getGlyphCacheKey=oe;var ne=function(a){function y(x,b){var te=a.call(this)||this;te._config=b,te._drawToCacheCount=0,te._glyphsWaitingOnBitmap=[],te._bitmapCommitTimeout=null,te._bitmap=null,te._cacheCanvas=x.createElement("canvas"),te._cacheCanvas.width=1024,te._cacheCanvas.height=1024,te._cacheCtx=le.throwIfFalsy(te._cacheCanvas.getContext("2d",{alpha:!0}));var z=x.createElement("canvas");z.width=te._config.scaledCharWidth,z.height=te._config.scaledCharHeight,te._tmpCtx=le.throwIfFalsy(z.getContext("2d",{alpha:te._config.allowTransparency})),te._width=Math.floor(1024/te._config.scaledCharWidth),te._height=Math.floor(1024/te._config.scaledCharHeight);var ue=te._width*te._height;return te._cacheMap=new re.LRUMap(ue),te._cacheMap.prealloc(ue),te}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,te,z){if(b.code===32)return!0;if(!this._canCache(b))return!1;var ue=oe(b),ge=this._cacheMap.get(ue);if(ge!=null)return this._drawFromCache(x,ge,te,z),!0;if(this._drawToCacheCount<100){var me=void 0;me=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var he=this._drawToCache(b,me);return this._cacheMap.set(ue,he),this._drawFromCache(x,he,te,z),!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,te,z){if(!b.isEmpty){var ue=this._toCoordinateX(b.index),ge=this._toCoordinateY(b.index);x.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,ue,ge,this._config.scaledCharWidth,this._config.scaledCharHeight,te,z,this._config.scaledCharWidth,this._config.scaledCharHeight)}},y.prototype._getColorFromAnsiIndex=function(x){return x<this._config.colors.ansi.length?this._config.colors.ansi[x]:se.DEFAULT_ANSI_COLORS[x]},y.prototype._getBackgroundColor=function(x){return this._config.allowTransparency?ae:x.bg===ve.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===ve.INVERTED_DEFAULT_COLOR?ce.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 te=this._getBackgroundColor(x);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=te.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var z=x.bold?this._config.fontWeightBold:this._config.fontWeight,ue=x.italic?"italic":"";this._tmpCtx.font=ue+" "+z+" "+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=ve.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,Pe){for(var we=!0,Oe=Pe.rgba>>>24,Ce=Pe.rgba>>>16&255,_e=Pe.rgba>>>8&255,Ee=0;Ee<ye.data.length;Ee+=4)ye.data[Ee]===Oe&&ye.data[Ee+1]===Ce&&ye.data[Ee+2]===_e?ye.data[Ee+3]=0:we=!1;return we}(ge,te));var he=this._toCoordinateX(b),pe=this._toCoordinateY(b);this._cacheCtx.putImageData(ge,he,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)||ie.isFirefox||ie.isSafari||(this._glyphsWaitingOnBitmap.push(x),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return b._generateBitmap()},100)))},y.prototype._generateBitmap=function(){var x=this,b=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(te){x._bitmap=te;for(var z=0;z<b.length;z++)b[z].inBitmap=!0}),this._bitmapCommitTimeout=null},y}(de.BaseCharAtlas);fe.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,te,z){return!1},y}(de.BaseCharAtlas);fe.NoneCharAtlas=ee},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.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}();fe.BaseCharAtlas=xe},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.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(ve,de,se){this._rgba[ve]||(this._rgba[ve]={}),this._rgba[ve][de]=se},E.prototype.getCss=function(ve,de){return this._rgba[ve]?this._rgba[ve][de]:void 0},E.prototype.setColor=function(ve,de,se){this._color[ve]||(this._color[ve]={}),this._color[ve][de]=se},E.prototype.getColor=function(ve,de){return this._color[ve]?this._color[ve][de]:void 0},E}();fe.ColorContrastCache=xe},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.LRUMap=void 0;var xe=function(){function E(ve){this.capacity=ve,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return E.prototype._unlinkNode=function(ve){var de=ve.prev,se=ve.next;ve===this._head&&(this._head=se),ve===this._tail&&(this._tail=de),de!==null&&(de.next=se),se!==null&&(se.prev=de)},E.prototype._appendNode=function(ve){var de=this._tail;de!==null&&(de.next=ve),ve.prev=de,ve.next=null,this._tail=ve,this._head===null&&(this._head=ve)},E.prototype.prealloc=function(ve){for(var de=this._nodePool,se=0;se<ve;se++)de.push({prev:null,next:null,key:null,value:null})},E.prototype.get=function(ve){var de=this._map[ve];return de!==void 0?(this._unlinkNode(de),this._appendNode(de),de.value):null},E.prototype.peekValue=function(ve){var de=this._map[ve];return de!==void 0?de.value:null},E.prototype.peek=function(){var ve=this._head;return ve===null?null:ve.value},E.prototype.set=function(ve,de){var se=this._map[ve];if(se!==void 0)se=this._map[ve],this._unlinkNode(se),se.value=de;else if(this.size>=this.capacity)se=this._head,this._unlinkNode(se),delete this._map[se.key],se.key=ve,se.value=de,this._map[ve]=se;else{var re=this._nodePool;re.length>0?((se=re.pop()).key=ve,se.value=de):se={prev:null,next:null,key:ve,value:de},this._map[ve]=se,this.size++}this._appendNode(se)},E}();fe.LRUMap=xe},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(de,se){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var le in ie)ie.hasOwnProperty(le)&&(re[le]=ie[le])})(de,se)},function(de,se){function re(){this.constructor=de}xe(de,se),de.prototype=se===null?Object.create(se):(re.prototype=se.prototype,new re)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.SelectionRenderLayer=void 0;var ve=function(de){function se(re,ie,le,ce,ae,oe){var ne=de.call(this,re,"selection",ie,!0,le,ce,ae,oe)||this;return ne._clearState(),ne}return E(se,de),se.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},se.prototype.resize=function(re){de.prototype.resize.call(this,re),this._clearState()},se.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},se.prototype.onSelectionChanged=function(re,ie,le){if(this._didStateChange(re,ie,le,this._bufferService.buffer.ydisp))if(this._clearAll(),re&&ie){var ce=re[1]-this._bufferService.buffer.ydisp,ae=ie[1]-this._bufferService.buffer.ydisp,oe=Math.max(ce,0),ne=Math.min(ae,this._bufferService.rows-1);if(!(oe>=this._bufferService.rows||ne<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,le){var ee=re[0],a=ie[0]-ee,y=ne-oe+1;this._fillCells(ee,oe,a,y)}else{ee=ce===oe?re[0]:0;var x=oe===ne?ie[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 te=ae===ne?ie[0]:this._bufferService.cols;this._fillCells(0,ne,te,1)}}this._state.start=[re[0],re[1]],this._state.end=[ie[0],ie[1]],this._state.columnSelectMode=le,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},se.prototype._didStateChange=function(re,ie,le,ce){return!this._areCoordinatesEqual(re,this._state.start)||!this._areCoordinatesEqual(ie,this._state.end)||le!==this._state.columnSelectMode||ce!==this._state.ydisp},se.prototype._areCoordinatesEqual=function(re,ie){return!(!re||!ie)&&re[0]===ie[0]&&re[1]===ie[1]},se}(Se(13).BaseRenderLayer);fe.SelectionRenderLayer=ve},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ie,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ae){ce.__proto__=ae}||function(ce,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ce[oe]=ae[oe])})(ie,le)},function(ie,le){function ce(){this.constructor=ie}xe(ie,le),ie.prototype=le===null?Object.create(le):(ce.prototype=le.prototype,new ce)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.CursorRenderLayer=void 0;var ve=Se(13),de=Se(4),se=function(ie){function le(ce,ae,oe,ne,ee,a,y,x,b){var te=ie.call(this,ce,"cursor",ae,!0,oe,ne,a,y)||this;return te._onRequestRedraw=ee,te._coreService=x,te._coreBrowserService=b,te._cell=new de.CellData,te._state={x:0,y:0,isFocused:!1,style:"",width:0},te._cursorRenderers={bar:te._renderBarCursor.bind(te),block:te._renderBlockCursor.bind(te),underline:te._renderUnderlineCursor.bind(te)},te}return E(le,ie),le.prototype.resize=function(ce){ie.prototype.resize.call(this,ce),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},le.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},le.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},le.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},le.prototype.onOptionsChanged=function(){var ce,ae=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new re(this._coreBrowserService.isFocused,function(){ae._render(!0)})):((ce=this._cursorBlinkStateManager)===null||ce===void 0||ce.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},le.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},le.prototype.onGridChanged=function(ce,ae){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},le.prototype._render=function(ce){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()},le.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})},le.prototype._renderBarCursor=function(ce,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(ce,ae,this._optionsService.options.cursorWidth),this._ctx.restore()},le.prototype._renderBlockCursor=function(ce,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(ce,ae,oe.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(oe,ce,ae),this._ctx.restore()},le.prototype._renderUnderlineCursor=function(ce,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(ce,ae),this._ctx.restore()},le.prototype._renderBlurCursor=function(ce,ae,oe){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(ce,ae,oe.getWidth(),1),this._ctx.restore()},le}(ve.BaseRenderLayer);fe.CursorRenderLayer=se;var re=function(){function ie(le,ce){this._renderCallback=ce,this.isCursorVisible=!0,le&&this._restartInterval()}return Object.defineProperty(ie.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),ie.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},ie.prototype.restartBlinkAnimation=function(){var le=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){le._renderCallback(),le._animationFrame=void 0})))},ie.prototype._restartInterval=function(le){var ce=this;le===void 0&&(le=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(ce._animationTimeRestarted){var ae=600-(Date.now()-ce._animationTimeRestarted);if(ce._animationTimeRestarted=void 0,ae>0)return void ce._restartInterval(ae)}ce.isCursorVisible=!1,ce._animationFrame=window.requestAnimationFrame(function(){ce._renderCallback(),ce._animationFrame=void 0}),ce._blinkInterval=window.setInterval(function(){if(ce._animationTimeRestarted){var oe=600-(Date.now()-ce._animationTimeRestarted);return ce._animationTimeRestarted=void 0,void ce._restartInterval(oe)}ce.isCursorVisible=!ce.isCursorVisible,ce._animationFrame=window.requestAnimationFrame(function(){ce._renderCallback(),ce._animationFrame=void 0})},600)},le)},ie.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},ie.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},ie}()},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(ie,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ae){ce.__proto__=ae}||function(ce,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ce[oe]=ae[oe])})(ie,le)},function(ie,le){function ce(){this.constructor=ie}xe(ie,le),ie.prototype=le===null?Object.create(le):(ce.prototype=le.prototype,new ce)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.LinkRenderLayer=void 0;var ve=Se(13),de=Se(9),se=Se(26),re=function(ie){function le(ce,ae,oe,ne,ee,a,y,x){var b=ie.call(this,ce,"link",ae,!0,oe,ne,y,x)||this;return ee.onShowLinkUnderline(function(te){return b._onShowLinkUnderline(te)}),ee.onHideLinkUnderline(function(te){return b._onHideLinkUnderline(te)}),a.onShowLinkUnderline(function(te){return b._onShowLinkUnderline(te)}),a.onHideLinkUnderline(function(te){return b._onHideLinkUnderline(te)}),b}return E(le,ie),le.prototype.resize=function(ce){ie.prototype.resize.call(this,ce),this._state=void 0},le.prototype.reset=function(){this._clearCurrentLink()},le.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var ce=this._state.y2-this._state.y1-1;ce>0&&this._clearCells(0,this._state.y1+1,this._state.cols,ce),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},le.prototype._onShowLinkUnderline=function(ce){if(ce.fg===de.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:ce.fg&&se.is256Color(ce.fg)?this._ctx.fillStyle=this._colors.ansi[ce.fg].css:this._ctx.fillStyle=this._colors.foreground.css,ce.y1===ce.y2)this._fillBottomLineAtCells(ce.x1,ce.y1,ce.x2-ce.x1);else{this._fillBottomLineAtCells(ce.x1,ce.y1,ce.cols-ce.x1);for(var ae=ce.y1+1;ae<ce.y2;ae++)this._fillBottomLineAtCells(0,ae,ce.cols);this._fillBottomLineAtCells(0,ce.y2,ce.x2)}this._state=ce},le.prototype._onHideLinkUnderline=function(ce){this._clearCurrentLink()},le}(ve.BaseRenderLayer);fe.LinkRenderLayer=re},function(dt,fe,Se){"use strict";var xe=this&&this.__decorate||function(ie,le,ce,ae){var oe,ne=arguments.length,ee=ne<3?le:ae===null?ae=Object.getOwnPropertyDescriptor(le,ce):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(ie,le,ce,ae);else for(var a=ie.length-1;a>=0;a--)(oe=ie[a])&&(ee=(ne<3?oe(ee):ne>3?oe(le,ce,ee):oe(le,ce))||ee);return ne>3&&ee&&Object.defineProperty(le,ce,ee),ee},E=this&&this.__param||function(ie,le){return function(ce,ae){le(ce,ae,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.MouseZone=fe.Linkifier=void 0;var ve=Se(0),de=Se(1),se=function(){function ie(le,ce,ae){this._bufferService=le,this._logService=ce,this._unicodeService=ae,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new ve.EventEmitter,this._onHideLinkUnderline=new ve.EventEmitter,this._onLinkTooltip=new ve.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(ie.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),ie.prototype.attachToDom=function(le,ce){this._element=le,this._mouseZoneManager=ce},ie.prototype.linkifyRows=function(le,ce){var ae=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=le,this._rowsToLinkify.end=ce):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,le),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,ce)),this._mouseZoneManager.clearAll(le,ce),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return ae._linkifyRows()},ie._timeBeforeLatency))},ie.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var le=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var ce=le.ydisp+this._rowsToLinkify.start;if(!(ce>=le.lines.length)){for(var ae=le.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,oe=Math.ceil(2e3/this._bufferService.cols),ne=this._bufferService.buffer.iterator(!1,ce,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")},ie.prototype.registerLinkMatcher=function(le,ce,ae){if(ae===void 0&&(ae={}),!ce)throw new Error("handler must be defined");var oe={id:this._nextLinkMatcherId++,regex:le,handler:ce,matchIndex:ae.matchIndex,validationCallback:ae.validationCallback,hoverTooltipCallback:ae.tooltipCallback,hoverLeaveCallback:ae.leaveCallback,willLinkActivate:ae.willLinkActivate,priority:ae.priority||0};return this._addLinkMatcherToList(oe),oe.id},ie.prototype._addLinkMatcherToList=function(le){if(this._linkMatchers.length!==0){for(var ce=this._linkMatchers.length-1;ce>=0;ce--)if(le.priority<=this._linkMatchers[ce].priority)return void this._linkMatchers.splice(ce+1,0,le);this._linkMatchers.splice(0,0,le)}else this._linkMatchers.push(le)},ie.prototype.deregisterLinkMatcher=function(le){for(var ce=0;ce<this._linkMatchers.length;ce++)if(this._linkMatchers[ce].id===le)return this._linkMatchers.splice(ce,1),!0;return!1},ie.prototype._doLinkifyRow=function(le,ce,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=ce.indexOf(b,a+1),ee.lastIndex=a+b.length,a<0)return"break";var te=x._bufferService.buffer.stringIndexToBufferIndex(le,a);if(te[0]<0)return"break";var z=x._bufferService.buffer.lines.get(te[0]);if(!z)return"break";var ue=z.getFg(te[1]),ge=ue?ue>>9&511:void 0;ae.validationCallback?ae.validationCallback(b,function(me){ne._rowsTimeoutId||me&&ne._addLink(te[1],te[0]-ne._bufferService.buffer.ydisp,b,ae,ge)}):x._addLink(te[1],te[0]-x._bufferService.buffer.ydisp,b,ae,ge)},x=this;(oe=ee.exec(ce))!==null&&y()!=="break";);},ie.prototype._addLink=function(le,ce,ae,oe,ne){var ee=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(ae),y=le%this._bufferService.cols,x=ce+Math.floor(le/this._bufferService.cols),b=(y+a)%this._bufferService.cols,te=x+Math.floor((y+a)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,te--),this._mouseZoneManager.add(new re(y+1,x+1,b+1,te+1,function(z){if(oe.handler)return oe.handler(z,ae);var ue=window.open();ue?(ue.opener=null,ue.location.href=ae):console.warn("Opening link blocked as opener could not be cleared")},function(){ee._onShowLinkUnderline.fire(ee._createLinkHoverEvent(y,x,b,te,ne)),ee._element.classList.add("xterm-cursor-pointer")},function(z){ee._onLinkTooltip.fire(ee._createLinkHoverEvent(y,x,b,te,ne)),oe.hoverTooltipCallback&&oe.hoverTooltipCallback(z,ae,{start:{x:y,y:x},end:{x:b,y:te}})},function(){ee._onHideLinkUnderline.fire(ee._createLinkHoverEvent(y,x,b,te,ne)),ee._element.classList.remove("xterm-cursor-pointer"),oe.hoverLeaveCallback&&oe.hoverLeaveCallback()},function(z){return!oe.willLinkActivate||oe.willLinkActivate(z,ae)}))}},ie.prototype._createLinkHoverEvent=function(le,ce,ae,oe,ne){return{x1:le,y1:ce,x2:ae,y2:oe,cols:this._bufferService.cols,fg:ne}},ie._timeBeforeLatency=200,ie=xe([E(0,de.IBufferService),E(1,de.ILogService),E(2,de.IUnicodeService)],ie)}();fe.Linkifier=se;var re=function(ie,le,ce,ae,oe,ne,ee,a,y){this.x1=ie,this.y1=le,this.x2=ce,this.y2=ae,this.clickCallback=oe,this.hoverCallback=ne,this.tooltipCallback=ee,this.leaveCallback=a,this.willLinkActivate=y};fe.MouseZone=re},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(b,te){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,ue){z.__proto__=ue}||function(z,ue){for(var ge in ue)ue.hasOwnProperty(ge)&&(z[ge]=ue[ge])})(b,te)},function(b,te){function z(){this.constructor=b}xe(b,te),b.prototype=te===null?Object.create(te):(z.prototype=te.prototype,new z)}),ve=this&&this.__decorate||function(b,te,z,ue){var ge,me=arguments.length,he=me<3?te:ue===null?ue=Object.getOwnPropertyDescriptor(te,z):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")he=Reflect.decorate(b,te,z,ue);else for(var pe=b.length-1;pe>=0;pe--)(ge=b[pe])&&(he=(me<3?ge(he):me>3?ge(te,z,he):ge(te,z))||he);return me>3&&he&&Object.defineProperty(te,z,he),he},de=this&&this.__param||function(b,te){return function(z,ue){te(z,ue,b)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.SelectionService=void 0;var se=Se(11),re=Se(52),ie=Se(4),le=Se(0),ce=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 te(z,ue,ge,me,he,pe,be){var ye=b.call(this)||this;return ye._element=z,ye._screenElement=ue,ye._bufferService=ge,ye._coreService=me,ye._mouseService=he,ye._optionsService=pe,ye._renderService=be,ye._dragScrollAmount=0,ye._enabled=!0,ye._workCell=new ie.CellData,ye._mouseDownTimeStamp=0,ye._onLinuxMouseSelection=ye.register(new le.EventEmitter),ye._onRedrawRequest=ye.register(new le.EventEmitter),ye._onSelectionChange=ye.register(new le.EventEmitter),ye._onRequestScrollLines=ye.register(new le.EventEmitter),ye._mouseMoveListener=function(Pe){return ye._onMouseMove(Pe)},ye._mouseUpListener=function(Pe){return ye._onMouseUp(Pe)},ye._coreService.onUserInput(function(){ye.hasSelection&&ye.clearSelection()}),ye._trimListener=ye._bufferService.buffer.lines.onTrim(function(Pe){return ye._onTrim(Pe)}),ye.register(ye._bufferService.buffers.onBufferActivate(function(Pe){return ye._onBufferActivate(Pe)})),ye.enable(),ye._model=new re.SelectionModel(ye._bufferService),ye._activeSelectionMode=0,ye}return E(te,b),Object.defineProperty(te.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),te.prototype.dispose=function(){this._removeMouseDownListeners()},te.prototype.reset=function(){this.clearSelection()},te.prototype.disable=function(){this.clearSelection(),this._enabled=!1},te.prototype.enable=function(){this._enabled=!0},Object.defineProperty(te.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"hasSelection",{get:function(){var z=this._model.finalSelectionStart,ue=this._model.finalSelectionEnd;return!(!z||!ue)&&(z[0]!==ue[0]||z[1]!==ue[1])},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"selectionText",{get:function(){var z=this._model.finalSelectionStart,ue=this._model.finalSelectionEnd;if(!z||!ue)return"";var ge=this._bufferService.buffer,me=[];if(this._activeSelectionMode===3){if(z[0]===ue[0])return"";for(var he=z[1];he<=ue[1];he++){var pe=ge.translateBufferLineToString(he,!0,z[0],ue[0]);me.push(pe)}}else{var be=z[1]===ue[1]?ue[0]:void 0;for(me.push(ge.translateBufferLineToString(z[1],!0,z[0],be)),he=z[1]+1;he<=ue[1]-1;he++){var ye=ge.lines.get(he);pe=ge.translateBufferLineToString(he,!0),ye&&ye.isWrapped?me[me.length-1]+=pe:me.push(pe)}z[1]!==ue[1]&&(ye=ge.lines.get(ue[1]),pe=ge.translateBufferLineToString(ue[1],!0,0,ue[0]),ye&&ye.isWrapped?me[me.length-1]+=pe:me.push(pe))}return me.map(function(Pe){return Pe.replace(y," ")}).join(se.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),te.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},te.prototype.refresh=function(z){var ue=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return ue._refresh()})),se.isLinux&&z&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},te.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},te.prototype.isClickInSelection=function(z){var ue=this._getMouseBufferCoords(z),ge=this._model.finalSelectionStart,me=this._model.finalSelectionEnd;return!!(ge&&me&&ue)&&this._areCoordsInSelection(ue,ge,me)},te.prototype._areCoordsInSelection=function(z,ue,ge){return z[1]>ue[1]&&z[1]<ge[1]||ue[1]===ge[1]&&z[1]===ue[1]&&z[0]>=ue[0]&&z[0]<ge[0]||ue[1]<ge[1]&&z[1]===ge[1]&&z[0]<ge[0]||ue[1]<ge[1]&&z[1]===ue[1]&&z[0]>=ue[0]},te.prototype.selectWordAtCursor=function(z){var ue=this._getMouseBufferCoords(z);ue&&(this._selectWordAt(ue,!1),this._model.selectionEnd=void 0,this.refresh(!0))},te.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},te.prototype.selectLines=function(z,ue){this._model.clearSelection(),z=Math.max(z,0),ue=Math.min(ue,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,z],this._model.selectionEnd=[this._bufferService.cols,ue],this.refresh(),this._onSelectionChange.fire()},te.prototype._onTrim=function(z){this._model.onTrim(z)&&this.refresh()},te.prototype._getMouseBufferCoords=function(z){var ue=this._mouseService.getCoords(z,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(ue)return ue[0]--,ue[1]--,ue[1]+=this._bufferService.buffer.ydisp,ue},te.prototype._getMouseEventScrollAmount=function(z){var ue=oe.getCoordsRelativeToElement(z,this._screenElement)[1],ge=this._renderService.dimensions.canvasHeight;return ue>=0&&ue<=ge?0:(ue>ge&&(ue-=ge),ue=Math.min(Math.max(ue,-50),50),(ue/=50)/Math.abs(ue)+Math.round(14*ue))},te.prototype.shouldForceSelection=function(z){return se.isMac?z.altKey&&this._optionsService.options.macOptionClickForcesSelection:z.shiftKey},te.prototype.onMouseDown=function(z){if(this._mouseDownTimeStamp=z.timeStamp,(z.button!==2||!this.hasSelection)&&z.button===0){if(!this._enabled){if(!this.shouldForceSelection(z))return;z.stopPropagation()}z.preventDefault(),this._dragScrollAmount=0,this._enabled&&z.shiftKey?this._onIncrementalClick(z):z.detail===1?this._onSingleClick(z):z.detail===2?this._onDoubleClick(z):z.detail===3&&this._onTripleClick(z),this._addMouseDownListeners(),this.refresh(!0)}},te.prototype._addMouseDownListeners=function(){var z=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return z._dragScroll()},50)},te.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},te.prototype._onIncrementalClick=function(z){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(z))},te.prototype._onSingleClick=function(z){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(z)?3:0,this._model.selectionStart=this._getMouseBufferCoords(z),this._model.selectionStart){this._model.selectionEnd=void 0;var ue=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);ue&&ue.length!==this._model.selectionStart[0]&&ue.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},te.prototype._onDoubleClick=function(z){var ue=this._getMouseBufferCoords(z);ue&&(this._activeSelectionMode=1,this._selectWordAt(ue,!0))},te.prototype._onTripleClick=function(z){var ue=this._getMouseBufferCoords(z);ue&&(this._activeSelectionMode=2,this._selectLineAt(ue[1]))},te.prototype.shouldColumnSelect=function(z){return z.altKey&&!(se.isMac&&this._optionsService.options.macOptionClickForcesSelection)},te.prototype._onMouseMove=function(z){if(z.stopImmediatePropagation(),this._model.selectionStart){var ue=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(z),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(z),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]++}ue&&ue[0]===this._model.selectionEnd[0]&&ue[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},te.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var z=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(z.ydisp+this._bufferService.rows,z.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=z.ydisp),this.refresh()}},te.prototype._onMouseUp=function(z){var ue=z.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&ue<500&&z.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var ge=this._mouseService.getCoords(z,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()},te.prototype._onBufferActivate=function(z){var ue=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=z.activeBuffer.lines.onTrim(function(ge){return ue._onTrim(ge)})},te.prototype._convertViewportColToCharacterIndex=function(z,ue){for(var ge=ue[0],me=0;ue[0]>=me;me++){var he=z.loadCell(me,this._workCell).getChars().length;this._workCell.getWidth()===0?ge--:he>1&&ue[0]!==me&&(ge+=he-1)}return ge},te.prototype.setSelection=function(z,ue,ge){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[z,ue],this._model.selectionStartLength=ge,this.refresh()},te.prototype._getWordAt=function(z,ue,ge,me){if(ge===void 0&&(ge=!0),me===void 0&&(me=!0),!(z[0]>=this._bufferService.cols)){var he=this._bufferService.buffer,pe=he.lines.get(z[1]);if(pe){var be=he.translateBufferLineToString(z[1],!1),ye=this._convertViewportColToCharacterIndex(pe,z),Pe=ye,we=z[0]-ye,Oe=0,Ce=0,_e=0,Ee=0;if(be.charAt(ye)===" "){for(;ye>0&&be.charAt(ye-1)===" ";)ye--;for(;Pe<be.length&&be.charAt(Pe+1)===" ";)Pe++}else{var Me=z[0],Ie=z[0];pe.getWidth(Me)===0&&(Oe++,Me--),pe.getWidth(Ie)===2&&(Ce++,Ie++);var Be=pe.getString(Ie).length;for(Be>1&&(Ee+=Be-1,Pe+=Be-1);Me>0&&ye>0&&!this._isCharWordSeparator(pe.loadCell(Me-1,this._workCell));){pe.loadCell(Me-1,this._workCell);var Re=this._workCell.getChars().length;this._workCell.getWidth()===0?(Oe++,Me--):Re>1&&(_e+=Re-1,ye-=Re-1),ye--,Me--}for(;Ie<pe.length&&Pe+1<be.length&&!this._isCharWordSeparator(pe.loadCell(Ie+1,this._workCell));){pe.loadCell(Ie+1,this._workCell);var tt=this._workCell.getChars().length;this._workCell.getWidth()===2?(Ce++,Ie++):tt>1&&(Ee+=tt-1,Pe+=tt-1),Pe++,Ie++}}Pe++;var Ye=ye+we-Oe+_e,et=Math.min(this._bufferService.cols,Pe-ye+Oe+Ce-_e-Ee);if(ue||be.slice(ye,Pe).trim()!==""){if(ge&&Ye===0&&pe.getCodePoint(0)!==32){var Xe=he.lines.get(z[1]-1);if(Xe&&pe.isWrapped&&Xe.getCodePoint(this._bufferService.cols-1)!==32){var Ge=this._getWordAt([this._bufferService.cols-1,z[1]-1],!1,!0,!1);if(Ge){var Fe=this._bufferService.cols-Ge.start;Ye-=Fe,et+=Fe}}}if(me&&Ye+et===this._bufferService.cols&&pe.getCodePoint(this._bufferService.cols-1)!==32){var je=he.lines.get(z[1]+1);if(je&&je.isWrapped&&je.getCodePoint(0)!==32){var qe=this._getWordAt([0,z[1]+1],!1,!1,!0);qe&&(et+=qe.length)}}return{start:Ye,length:et}}}}},te.prototype._selectWordAt=function(z,ue){var ge=this._getWordAt(z,ue);if(ge){for(;ge.start<0;)ge.start+=this._bufferService.cols,z[1]--;this._model.selectionStart=[ge.start,z[1]],this._model.selectionStartLength=ge.length}},te.prototype._selectToWordAt=function(z){var ue=this._getWordAt(z,!0);if(ue){for(var ge=z[1];ue.start<0;)ue.start+=this._bufferService.cols,ge--;if(!this._model.areSelectionValuesReversed())for(;ue.start+ue.length>this._bufferService.cols;)ue.length-=this._bufferService.cols,ge++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?ue.start:ue.start+ue.length,ge]}},te.prototype._isCharWordSeparator=function(z){return z.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(z.getChars())>=0},te.prototype._selectLineAt=function(z){var ue=this._bufferService.buffer.getWrappedRangeForLine(z);this._model.selectionStart=[0,ue.first],this._model.selectionEnd=[this._bufferService.cols,ue.last],this._model.selectionStartLength=0},te=ve([de(2,ae.IBufferService),de(3,ae.ICoreService),de(4,ce.IMouseService),de(5,ae.IOptionsService),de(6,ce.IRenderService)],te)}(ee.Disposable);fe.SelectionService=x},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.SelectionModel=void 0;var xe=function(){function E(ve){this._bufferService=ve,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 ve=this.selectionStart[0]+this.selectionStartLength;return ve>this._bufferService.cols?[ve%this._bufferService.cols,this.selectionStart[1]+Math.floor(ve/this._bufferService.cols)]:[ve,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 ve=this.selectionStart,de=this.selectionEnd;return!(!ve||!de)&&(ve[1]>de[1]||ve[1]===de[1]&&ve[0]>de[0])},E.prototype.onTrim=function(ve){return this.selectionStart&&(this.selectionStart[1]-=ve),this.selectionEnd&&(this.selectionEnd[1]-=ve),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},E}();fe.SelectionModel=xe},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.moveToCellSequence=void 0;var xe=Se(12);function E(le,ce,ae,oe){var ne=le-ve(ae,le),ee=ce-ve(ae,ce);return ie(Math.abs(ne-ee)-function(a,y,x){for(var b=0,te=a-ve(x,a),z=y-ve(x,y),ue=0;ue<Math.abs(te-z);ue++){var ge=de(a,y)==="A"?-1:1,me=x.buffer.lines.get(te+ge*ue);me&&me.isWrapped&&b++}return b}(le,ce,ae),re(de(le,ce),oe))}function ve(le,ce){for(var ae=0,oe=le.buffer.lines.get(ce),ne=oe&&oe.isWrapped;ne&&ce>=0&&ce<le.rows;)ae++,ne=(oe=le.buffer.lines.get(--ce))&&oe.isWrapped;return ae}function de(le,ce){return le>ce?"A":"B"}function se(le,ce,ae,oe,ne,ee){for(var a=le,y=ce,x="";a!==ae||y!==oe;)a+=ne?1:-1,ne&&a>ee.cols-1?(x+=ee.buffer.translateBufferLineToString(y,!1,le,a),a=0,le=0,y++):!ne&&a<0&&(x+=ee.buffer.translateBufferLineToString(y,!1,0,le+1),le=a=ee.cols-1,y--);return x+ee.buffer.translateBufferLineToString(y,!1,le,a)}function re(le,ce){var ae=ce?"O":"[";return xe.C0.ESC+ae+le}function ie(le,ce){le=Math.floor(le);for(var ae="",oe=0;oe<le;oe++)ae+=ce;return ae}fe.moveToCellSequence=function(le,ce,ae,oe){var ne,ee=ae.buffer.x,a=ae.buffer.y;if(!ae.buffer.hasScrollback)return function(x,b,te,z,ue,ge){return E(b,z,ue,ge).length===0?"":ie(se(x,b,x,b-ve(ue,b),!1,ue).length,re("D",ge))}(ee,a,0,ce,ae,oe)+E(a,ce,ae,oe)+function(x,b,te,z,ue,ge){var me;me=E(b,z,ue,ge).length>0?z-ve(ue,z):b;var he=z,pe=function(be,ye,Pe,we,Oe,Ce){var _e;return _e=E(Pe,we,Oe,Ce).length>0?we-ve(Oe,we):ye,be<Pe&&_e<=we||be>=Pe&&_e<we?"C":"D"}(x,b,te,z,ue,ge);return ie(se(x,me,te,he,pe==="C",ue).length,re(pe,ge))}(ee,a,le,ce,ae,oe);if(a===ce)return ne=ee>le?"D":"C",ie(Math.abs(ee-le),re(ne,oe));ne=a>ce?"D":"C";var y=Math.abs(a-ce);return ie(function(x,b){return b.cols-x}(a>ce?le:ee,ae)+(y-1)*ae.cols+1+((a>ce?ee:le)-1),re(ne,oe))}},function(dt,fe,Se){"use strict";var xe=this&&this.__decorate||function(se,re,ie,le){var ce,ae=arguments.length,oe=ae<3?re:le===null?le=Object.getOwnPropertyDescriptor(re,ie):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(se,re,ie,le);else for(var ne=se.length-1;ne>=0;ne--)(ce=se[ne])&&(oe=(ae<3?ce(oe):ae>3?ce(re,ie,oe):ce(re,ie))||oe);return ae>3&&oe&&Object.defineProperty(re,ie,oe),oe},E=this&&this.__param||function(se,re){return function(ie,le){re(ie,le,se)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.SoundService=void 0;var ve=Se(1),de=function(){function se(re){this._optionsService=re}return Object.defineProperty(se,"audioContext",{get:function(){if(!se._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;se._audioContext=new re}return se._audioContext},enumerable:!1,configurable:!0}),se.prototype.playBellSound=function(){var re=se.audioContext;if(re){var ie=re.createBufferSource();re.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(le){ie.buffer=le,ie.connect(re.destination),ie.start(0)})}},se.prototype._base64ToArrayBuffer=function(re){for(var ie=window.atob(re),le=ie.length,ce=new Uint8Array(le),ae=0;ae<le;ae++)ce[ae]=ie.charCodeAt(ae);return ce.buffer},se.prototype._removeMimeType=function(re){return re.split(",")[1]},se=xe([E(0,ve.IOptionsService)],se)}();fe.SoundService=de},function(dt,fe,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)}),ve=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},de=this&&this.__param||function(ae,oe){return function(ne,ee){oe(ne,ee,ae)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.MouseZoneManager=void 0;var se=Se(2),re=Se(7),ie=Se(5),le=Se(1),ce=function(ae){function oe(ne,ee,a,y,x,b){var te=ae.call(this)||this;return te._element=ne,te._screenElement=ee,te._bufferService=a,te._mouseService=y,te._selectionService=x,te._optionsService=b,te._zones=[],te._areZonesActive=!1,te._lastHoverCoords=[void 0,void 0],te._initialSelectionLength=0,te.register(re.addDisposableDomListener(te._element,"mousedown",function(z){return te._onMouseDown(z)})),te._mouseMoveListener=function(z){return te._onMouseMove(z)},te._mouseLeaveListener=function(z){return te._onMouseLeave(z)},te._clickListener=function(z){return te._onClick(z)},te}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=ve([de(2,le.IBufferService),de(3,ie.IMouseService),de(4,ie.ISelectionService),de(5,le.IOptionsService)],oe)}(se.Disposable);fe.MouseZoneManager=ce},function(dt,fe,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(fe,"__esModule",{value:!0}),fe.AccessibilityManager=void 0;var ve=Se(18),de=Se(11),se=Se(31),re=Se(7),ie=Se(2),le=Se(32),ce=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 se.RenderDebouncer(y._renderRows.bind(y)),y._refreshRows(),y._liveRegion=document.createElement("div"),y._liveRegion.classList.add("live-region"),y._liveRegion.setAttribute("aria-live","assertive"),y._accessibilityTreeRoot.appendChild(y._liveRegion),!y._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return y._terminal.element.insertAdjacentElement("afterbegin",y._accessibilityTreeRoot),y.register(y._renderRowsDebouncer),y.register(y._terminal.onResize(function(b){return y._onResize(b.rows)})),y.register(y._terminal.onRender(function(b){return y._refreshRows(b.start,b.end)})),y.register(y._terminal.onScroll(function(){return y._refreshRows()})),y.register(y._terminal.onA11yChar(function(b){return y._onChar(b)})),y.register(y._terminal.onLineFeed(function(){return y._onChar(`
|
|
|
`)})),y.register(y._terminal.onA11yTab(function(b){return y._onTab(b)})),y.register(y._terminal.onKey(function(b){return y._onKey(b.key)})),y.register(y._terminal.onBlur(function(){return y._clearLiveRegion()})),y.register(y._renderService.onDimensionsChange(function(){return y._refreshRowsDimensions()})),y._screenDprMonitor=new le.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),ce.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,te;if(a===0?(b=y,te=this._rowElements.pop(),this._rowContainer.removeChild(te)):(b=this._rowElements.shift(),te=y,this._rowContainer.removeChild(b)),b.removeEventListener("focus",this._topBoundaryFocusListener),te.removeEventListener("focus",this._bottomBoundaryFocusListener),a===0){var z=this._createAccessibilityTreeNode();this._rowElements.unshift(z),this._rowContainer.insertAdjacentElement("afterbegin",z)}else z=this._createAccessibilityTreeNode(),this._rowElements.push(z),this._rowContainer.appendChild(z);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+=ve.tooMuchOutput)),de.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,de.isMac&&ce.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 te=y.translateBufferLineToString(y.ydisp+b,!0),z=(y.ydisp+b+1).toString(),ue=this._rowElements[b];ue&&(te.length===0?ue.innerHTML=" ":ue.textContent=te,ue.setAttribute("aria-posinset",z),ue.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}(ie.Disposable);fe.AccessibilityManager=ae},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(y,x){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,te){b.__proto__=te}||function(b,te){for(var z in te)te.hasOwnProperty(z)&&(b[z]=te[z])})(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)}),ve=this&&this.__decorate||function(y,x,b,te){var z,ue=arguments.length,ge=ue<3?x:te===null?te=Object.getOwnPropertyDescriptor(x,b):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ge=Reflect.decorate(y,x,b,te);else for(var me=y.length-1;me>=0;me--)(z=y[me])&&(ge=(ue<3?z(ge):ue>3?z(x,b,ge):z(x,b))||ge);return ue>3&&ge&&Object.defineProperty(x,b,ge),ge},de=this&&this.__param||function(y,x){return function(b,te){x(b,te,y)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.DomRenderer=void 0;var se=Se(58),re=Se(9),ie=Se(2),le=Se(5),ce=Se(1),ae=Se(0),oe=Se(10),ne=Se(17),ee=1,a=function(y){function x(b,te,z,ue,ge,me,he,pe,be){var ye=y.call(this)||this;return ye._colors=b,ye._element=te,ye._screenElement=z,ye._viewportElement=ue,ye._linkifier=ge,ye._linkifier2=me,ye._charSizeService=he,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 se.DomRendererRowFactory(document,ye._optionsService,ye._colors),ye._element.classList.add("xterm-dom-renderer-owner-"+ye._terminalClass),ye._screenElement.appendChild(ye._rowContainer),ye._screenElement.appendChild(ye._selectionContainer),ye._linkifier.onShowLinkUnderline(function(Pe){return ye._onLinkHover(Pe)}),ye._linkifier.onHideLinkUnderline(function(Pe){return ye._onLinkLeave(Pe)}),ye._linkifier2.onShowLinkUnderline(function(Pe){return ye._onLinkHover(Pe)}),ye._linkifier2.onHideLinkUnderline(function(Pe){return ye._onLinkLeave(Pe)}),ye}return E(x,y),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return new ae.EventEmitter().event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),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,te=this._rowElements;b<te.length;b++){var z=te[b];z.style.width=this.dimensions.canvasWidth+"px",z.style.height=this.dimensions.actualCellHeight+"px",z.style.lineHeight=this.dimensions.actualCellHeight+"px",z.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var ue=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=ue,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 te=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";te+=this._terminalSelector+" span:not(."+se.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+se.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+se.ITALIC_CLASS+" { font-style: italic;}",te+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",te+="@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+"; }}",te+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+se.CURSOR_CLASS+"."+se.CURSOR_BLINK_CLASS+":not(."+se.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+se.CURSOR_CLASS+"."+se.CURSOR_BLINK_CLASS+"."+se.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",te+=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(z,ue){te+=b._terminalSelector+" .xterm-fg-"+ue+" { color: "+z.css+"; }"+b._terminalSelector+" .xterm-bg-"+ue+" { background-color: "+z.css+"; }"}),te+=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=te},x.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},x.prototype._refreshRowElements=function(b,te){for(var z=this._rowElements.length;z<=te;z++){var ue=document.createElement("div");this._rowContainer.appendChild(ue),this._rowElements.push(ue)}for(;this._rowElements.length>te;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(b,te){this._refreshRowElements(b,te),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,te,z){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&te){var ue=b[1]-this._bufferService.buffer.ydisp,ge=te[1]-this._bufferService.buffer.ydisp,me=Math.max(ue,0),he=Math.min(ge,this._bufferService.rows-1);if(!(me>=this._bufferService.rows||he<0)){var pe=document.createDocumentFragment();if(z)pe.appendChild(this._createSelectionElement(me,b[0],te[0],he-me+1));else{var be=ue===me?b[0]:0,ye=me===he?te[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(me,be,ye));var Pe=he-me-1;if(pe.appendChild(this._createSelectionElement(me+1,0,this._bufferService.cols,Pe)),me!==he){var we=ge===he?te[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(he,0,we))}}this._selectionContainer.appendChild(pe)}}},x.prototype._createSelectionElement=function(b,te,z,ue){ue===void 0&&(ue=1);var ge=document.createElement("div");return ge.style.height=ue*this.dimensions.actualCellHeight+"px",ge.style.top=b*this.dimensions.actualCellHeight+"px",ge.style.left=te*this.dimensions.actualCellWidth+"px",ge.style.width=this.dimensions.actualCellWidth*(z-te)+"px",ge},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){for(var b=0,te=this._rowElements;b<te.length;b++)te[b].innerHTML=""},x.prototype.renderRows=function(b,te){for(var z=this._bufferService.buffer.ybase+this._bufferService.buffer.y,ue=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),ge=this._optionsService.options.cursorBlink,me=b;me<=te;me++){var he=this._rowElements[me];he.innerHTML="";var pe=me+this._bufferService.buffer.ydisp,be=this._bufferService.buffer.lines.get(pe),ye=this._optionsService.options.cursorStyle;he.appendChild(this._rowFactory.createRow(be,pe===z,ye,ue,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,te,z,ue,ge,me){for(;b!==te||z!==ue;){var he=this._rowElements[z];if(!he)return;var pe=he.children[b];pe&&(pe.style.textDecoration=me?"underline":"none"),++b>=ge&&(b=0,z++)}},x=ve([de(6,le.ICharSizeService),de(7,ce.IOptionsService),de(8,ce.IBufferService)],x)}(ie.Disposable);fe.DomRenderer=a},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.DomRendererRowFactory=fe.CURSOR_STYLE_UNDERLINE_CLASS=fe.CURSOR_STYLE_BAR_CLASS=fe.CURSOR_STYLE_BLOCK_CLASS=fe.CURSOR_BLINK_CLASS=fe.CURSOR_CLASS=fe.UNDERLINE_CLASS=fe.ITALIC_CLASS=fe.DIM_CLASS=fe.BOLD_CLASS=void 0;var xe=Se(9),E=Se(3),ve=Se(4),de=Se(10);fe.BOLD_CLASS="xterm-bold",fe.DIM_CLASS="xterm-dim",fe.ITALIC_CLASS="xterm-italic",fe.UNDERLINE_CLASS="xterm-underline",fe.CURSOR_CLASS="xterm-cursor",fe.CURSOR_BLINK_CLASS="xterm-cursor-blink",fe.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",fe.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",fe.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var se=function(){function ie(le,ce,ae){this._document=le,this._optionsService=ce,this._colors=ae,this._workCell=new ve.CellData}return ie.prototype.setColors=function(le){this._colors=le},ie.prototype.createRow=function(le,ce,ae,oe,ne,ee,a){for(var y=this._document.createDocumentFragment(),x=0,b=Math.min(le.length,a)-1;b>=0;b--)if(le.loadCell(b,this._workCell).getCode()!==E.NULL_CELL_CODE||ce&&b===oe){x=b+1;break}for(b=0;b<x;b++){le.loadCell(b,this._workCell);var te=this._workCell.getWidth();if(te!==0){var z=this._document.createElement("span");if(te>1&&(z.style.width=ee*te+"px"),ce&&b===oe)switch(z.classList.add(fe.CURSOR_CLASS),ne&&z.classList.add(fe.CURSOR_BLINK_CLASS),ae){case"bar":z.classList.add(fe.CURSOR_STYLE_BAR_CLASS);break;case"underline":z.classList.add(fe.CURSOR_STYLE_UNDERLINE_CLASS);break;default:z.classList.add(fe.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&z.classList.add(fe.BOLD_CLASS),this._workCell.isItalic()&&z.classList.add(fe.ITALIC_CLASS),this._workCell.isDim()&&z.classList.add(fe.DIM_CLASS),this._workCell.isUnderline()&&z.classList.add(fe.UNDERLINE_CLASS),this._workCell.isInvisible()?z.textContent=E.WHITESPACE_CELL_CHAR:z.textContent=this._workCell.getChars()||E.WHITESPACE_CELL_CHAR;var ue=this._workCell.getFgColor(),ge=this._workCell.getFgColorMode(),me=this._workCell.getBgColor(),he=this._workCell.getBgColorMode(),pe=!!this._workCell.isInverse();if(pe){var be=ue;ue=me,me=be;var ye=ge;ge=he,he=ye}switch(ge){case 16777216:case 33554432:this._workCell.isBold()&&ue<8&&this._optionsService.options.drawBoldTextInBrightColors&&(ue+=8),this._applyMinimumContrast(z,this._colors.background,this._colors.ansi[ue])||z.classList.add("xterm-fg-"+ue);break;case 50331648:var Pe=de.rgba.toColor(ue>>16&255,ue>>8&255,255&ue);this._applyMinimumContrast(z,this._colors.background,Pe)||this._addStyle(z,"color:#"+re(ue.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(z,this._colors.background,this._colors.foreground)||pe&&z.classList.add("xterm-fg-"+xe.INVERTED_DEFAULT_COLOR)}switch(he){case 16777216:case 33554432:z.classList.add("xterm-bg-"+me);break;case 50331648:this._addStyle(z,"background-color:#"+re(me.toString(16),"0",6));break;case 0:default:pe&&z.classList.add("xterm-bg-"+xe.INVERTED_DEFAULT_COLOR)}y.appendChild(z)}}return y},ie.prototype._applyMinimumContrast=function(le,ce,ae){if(this._optionsService.options.minimumContrastRatio===1)return!1;var oe=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return oe===void 0&&(oe=de.color.ensureContrastRatio(ce,ae,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,oe!=null?oe:null)),!!oe&&(this._addStyle(le,"color:"+oe.css),!0)},ie.prototype._addStyle=function(le,ce){le.setAttribute("style",""+(le.getAttribute("style")||"")+ce+";")},ie}();function re(ie,le,ce){for(;ie.length<ce;)ie=le+ie;return ie}fe.DomRendererRowFactory=se},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.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:["'",'"']};fe.evaluateKeyboardEvent=function(ve,de,se,re){var ie={type:0,cancel:!1,key:void 0},le=(ve.shiftKey?1:0)|(ve.altKey?2:0)|(ve.ctrlKey?4:0)|(ve.metaKey?8:0);switch(ve.keyCode){case 0:ve.key==="UIKeyInputUpArrow"?ie.key=de?xe.C0.ESC+"OA":xe.C0.ESC+"[A":ve.key==="UIKeyInputLeftArrow"?ie.key=de?xe.C0.ESC+"OD":xe.C0.ESC+"[D":ve.key==="UIKeyInputRightArrow"?ie.key=de?xe.C0.ESC+"OC":xe.C0.ESC+"[C":ve.key==="UIKeyInputDownArrow"&&(ie.key=de?xe.C0.ESC+"OB":xe.C0.ESC+"[B");break;case 8:if(ve.shiftKey){ie.key=xe.C0.BS;break}if(ve.altKey){ie.key=xe.C0.ESC+xe.C0.DEL;break}ie.key=xe.C0.DEL;break;case 9:if(ve.shiftKey){ie.key=xe.C0.ESC+"[Z";break}ie.key=xe.C0.HT,ie.cancel=!0;break;case 13:ie.key=ve.altKey?xe.C0.ESC+xe.C0.CR:xe.C0.CR,ie.cancel=!0;break;case 27:ie.key=xe.C0.ESC,ve.altKey&&(ie.key=xe.C0.ESC+xe.C0.ESC),ie.cancel=!0;break;case 37:if(ve.metaKey)break;le?(ie.key=xe.C0.ESC+"[1;"+(le+1)+"D",ie.key===xe.C0.ESC+"[1;3D"&&(ie.key=xe.C0.ESC+(se?"b":"[1;5D"))):ie.key=de?xe.C0.ESC+"OD":xe.C0.ESC+"[D";break;case 39:if(ve.metaKey)break;le?(ie.key=xe.C0.ESC+"[1;"+(le+1)+"C",ie.key===xe.C0.ESC+"[1;3C"&&(ie.key=xe.C0.ESC+(se?"f":"[1;5C"))):ie.key=de?xe.C0.ESC+"OC":xe.C0.ESC+"[C";break;case 38:if(ve.metaKey)break;le?(ie.key=xe.C0.ESC+"[1;"+(le+1)+"A",se||ie.key!==xe.C0.ESC+"[1;3A"||(ie.key=xe.C0.ESC+"[1;5A")):ie.key=de?xe.C0.ESC+"OA":xe.C0.ESC+"[A";break;case 40:if(ve.metaKey)break;le?(ie.key=xe.C0.ESC+"[1;"+(le+1)+"B",se||ie.key!==xe.C0.ESC+"[1;3B"||(ie.key=xe.C0.ESC+"[1;5B")):ie.key=de?xe.C0.ESC+"OB":xe.C0.ESC+"[B";break;case 45:ve.shiftKey||ve.ctrlKey||(ie.key=xe.C0.ESC+"[2~");break;case 46:ie.key=le?xe.C0.ESC+"[3;"+(le+1)+"~":xe.C0.ESC+"[3~";break;case 36:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"H":de?xe.C0.ESC+"OH":xe.C0.ESC+"[H";break;case 35:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"F":de?xe.C0.ESC+"OF":xe.C0.ESC+"[F";break;case 33:ve.shiftKey?ie.type=2:ie.key=xe.C0.ESC+"[5~";break;case 34:ve.shiftKey?ie.type=3:ie.key=xe.C0.ESC+"[6~";break;case 112:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"P":xe.C0.ESC+"OP";break;case 113:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"Q":xe.C0.ESC+"OQ";break;case 114:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"R":xe.C0.ESC+"OR";break;case 115:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"S":xe.C0.ESC+"OS";break;case 116:ie.key=le?xe.C0.ESC+"[15;"+(le+1)+"~":xe.C0.ESC+"[15~";break;case 117:ie.key=le?xe.C0.ESC+"[17;"+(le+1)+"~":xe.C0.ESC+"[17~";break;case 118:ie.key=le?xe.C0.ESC+"[18;"+(le+1)+"~":xe.C0.ESC+"[18~";break;case 119:ie.key=le?xe.C0.ESC+"[19;"+(le+1)+"~":xe.C0.ESC+"[19~";break;case 120:ie.key=le?xe.C0.ESC+"[20;"+(le+1)+"~":xe.C0.ESC+"[20~";break;case 121:ie.key=le?xe.C0.ESC+"[21;"+(le+1)+"~":xe.C0.ESC+"[21~";break;case 122:ie.key=le?xe.C0.ESC+"[23;"+(le+1)+"~":xe.C0.ESC+"[23~";break;case 123:ie.key=le?xe.C0.ESC+"[24;"+(le+1)+"~":xe.C0.ESC+"[24~";break;default:if(!ve.ctrlKey||ve.shiftKey||ve.altKey||ve.metaKey)if(se&&!re||!ve.altKey||ve.metaKey)se&&!ve.altKey&&!ve.ctrlKey&&ve.metaKey?ve.keyCode===65&&(ie.type=1):ve.key&&!ve.ctrlKey&&!ve.altKey&&!ve.metaKey&&ve.keyCode>=48&&ve.key.length===1?ie.key=ve.key:ve.key&&ve.ctrlKey&&ve.key==="_"&&(ie.key=xe.C0.US);else{var ce=E[ve.keyCode],ae=ce&&ce[ve.shiftKey?1:0];if(ae)ie.key=xe.C0.ESC+ae;else if(ve.keyCode>=65&&ve.keyCode<=90){var oe=ve.ctrlKey?ve.keyCode-64:ve.keyCode+32;ie.key=xe.C0.ESC+String.fromCharCode(oe)}}else ve.keyCode>=65&&ve.keyCode<=90?ie.key=String.fromCharCode(ve.keyCode-64):ve.keyCode===32?ie.key=xe.C0.NUL:ve.keyCode>=51&&ve.keyCode<=55?ie.key=String.fromCharCode(ve.keyCode-51+27):ve.keyCode===56?ie.key=xe.C0.DEL:ve.keyCode===219?ie.key=xe.C0.ESC:ve.keyCode===220?ie.key=xe.C0.FS:ve.keyCode===221&&(ie.key=xe.C0.GS)}return ie}},function(dt,fe,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)}),ve=this&&this.__decorate||function(ee,a,y,x){var b,te=arguments.length,z=te<3?a:x===null?x=Object.getOwnPropertyDescriptor(a,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(ee,a,y,x);else for(var ue=ee.length-1;ue>=0;ue--)(b=ee[ue])&&(z=(te<3?b(z):te>3?b(a,y,z):b(a,y))||z);return te>3&&z&&Object.defineProperty(a,y,z),z},de=this&&this.__param||function(ee,a){return function(y,x){a(y,x,ee)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.RenderService=void 0;var se=Se(31),re=Se(0),ie=Se(2),le=Se(32),ce=Se(7),ae=Se(1),oe=Se(5),ne=function(ee){function a(y,x,b,te,z,ue){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 se.RenderDebouncer(function(he,pe){return ge._renderRows(he,pe)}),ge.register(ge._renderDebouncer),ge._screenDprMonitor=new le.ScreenDprMonitor,ge._screenDprMonitor.setListener(function(){return ge.onDevicePixelRatioChange()}),ge.register(ge._screenDprMonitor),ge.register(ue.onResize(function(he){return ge._fullRefresh()})),ge.register(te.onOptionChange(function(){return ge._renderer.onOptionsChanged()})),ge.register(z.onCharSizeChange(function(){return ge.onCharSizeChanged()})),ge._renderer.onRequestRedraw(function(he){return ge.refreshRows(he.start,he.end,!0)}),ge.register(ce.addDisposableDomListener(window,"resize",function(){return ge.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var me=new IntersectionObserver(function(he){return ge._onIntersectionChange(he[he.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=ve([de(3,ae.IOptionsService),de(4,oe.ICharSizeService),de(5,ae.IBufferService)],a)}(ie.Disposable);fe.RenderService=ne},function(dt,fe,Se){"use strict";var xe=this&&this.__decorate||function(ie,le,ce,ae){var oe,ne=arguments.length,ee=ne<3?le:ae===null?ae=Object.getOwnPropertyDescriptor(le,ce):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(ie,le,ce,ae);else for(var a=ie.length-1;a>=0;a--)(oe=ie[a])&&(ee=(ne<3?oe(ee):ne>3?oe(le,ce,ee):oe(le,ce))||ee);return ne>3&&ee&&Object.defineProperty(le,ce,ee),ee},E=this&&this.__param||function(ie,le){return function(ce,ae){le(ce,ae,ie)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CharSizeService=void 0;var ve=Se(1),de=Se(0),se=function(){function ie(le,ce,ae){this._optionsService=ae,this.width=0,this.height=0,this._onCharSizeChange=new de.EventEmitter,this._measureStrategy=new re(le,ce,this._optionsService)}return Object.defineProperty(ie.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),ie.prototype.measure=function(){var le=this._measureStrategy.measure();le.width===this.width&&le.height===this.height||(this.width=le.width,this.height=le.height,this._onCharSizeChange.fire())},ie=xe([E(2,ve.IOptionsService)],ie)}();fe.CharSizeService=se;var re=function(){function ie(le,ce,ae){this._document=le,this._parentElement=ce,this._optionsService=ae,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return ie.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var le=this._measureElement.getBoundingClientRect();return le.width!==0&&le.height!==0&&(this._result.width=le.width,this._result.height=Math.ceil(le.height)),this._result},ie}()},function(dt,fe,Se){"use strict";var xe=this&&this.__decorate||function(re,ie,le,ce){var ae,oe=arguments.length,ne=oe<3?ie:ce===null?ce=Object.getOwnPropertyDescriptor(ie,le):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(re,ie,le,ce);else for(var ee=re.length-1;ee>=0;ee--)(ae=re[ee])&&(ne=(oe<3?ae(ne):oe>3?ae(ie,le,ne):ae(ie,le))||ne);return oe>3&&ne&&Object.defineProperty(ie,le,ne),ne},E=this&&this.__param||function(re,ie){return function(le,ce){ie(le,ce,re)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.MouseService=void 0;var ve=Se(5),de=Se(30),se=function(){function re(ie,le){this._renderService=ie,this._charSizeService=le}return re.prototype.getCoords=function(ie,le,ce,ae,oe){return de.getCoords(ie,le,ce,ae,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,oe)},re.prototype.getRawByteCoords=function(ie,le,ce,ae){var oe=this.getCoords(ie,le,ce,ae);return de.getRawByteCoords(oe)},re=xe([E(0,ve.IRenderService),E(1,ve.ICharSizeService)],re)}();fe.MouseService=se},function(dt,fe,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)}),ve=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},de=this&&this.__param||function(ae,oe){return function(ne,ee){oe(ne,ee,ae)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.Linkifier2=void 0;var se=Se(1),re=Se(0),ie=Se(2),le=Se(7),ce=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(ie.getDisposeArrayDisposable(ee._linkCacheDisposables)),ee}return E(oe,ae),Object.defineProperty(oe.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),oe.prototype.registerLinkProvider=function(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(le.addDisposableDomListener(this._element,"mouseleave",function(){y._isMouseOut=!0,y._clearCurrentLink()})),this.register(le.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(le.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 te;ee?!((te=a._activeProviderReplies)===null||te===void 0)&&te.get(b)&&(y=a._checkLinkProviderResult(b,ne,y)):x.provideLinks(ne.y,function(z){var ue,ge;if(!a._isMouseOut){var me=z==null?void 0:z.map(function(he){return{link:he}});(ue=a._activeProviderReplies)===null||ue===void 0||ue.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 te=x[b],z=te.link.range.start.y<ne?0:te.link.range.start.x,ue=te.link.range.end.y>ne?this._bufferService.cols:te.link.range.end.x,ge=z;ge<=ue;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),te=!1,z=0;z<ne;z++)this._activeProviderReplies.has(z)&&!this._activeProviderReplies.get(z)||(te=!0);if(!te&&b){var ue=b.find(function(me){return x._linkAtPosition(me.link,ee)});ue&&(a=!0,this._handleNewLink(ue))}if(this._activeProviderReplies.size===this._linkProviders.length&&!a)for(z=0;z<this._activeProviderReplies.size;z++){var ge=(y=this._activeProviderReplies.get(z))===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,ie.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,te;!((x=ee._currentLink)===null||x===void 0)&&x.state&&((te=(b=ee._currentLink)===null||b===void 0?void 0:b.state)===null||te===void 0?void 0:te.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=ve([de(0,se.IBufferService)],oe)}(ie.Disposable);fe.Linkifier2=ce},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreBrowserService=void 0;var xe=function(){function E(ve){this._textarea=ve}return Object.defineProperty(E.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),E}();fe.CoreBrowserService=xe},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(z,ue){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ge,me){ge.__proto__=me}||function(ge,me){for(var he in me)me.hasOwnProperty(he)&&(ge[he]=me[he])})(z,ue)},function(z,ue){function ge(){this.constructor=z}xe(z,ue),z.prototype=ue===null?Object.create(ue):(ge.prototype=ue.prototype,new ge)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreTerminal=void 0;var ve=Se(2),de=Se(1),se=Se(66),re=Se(67),ie=Se(68),le=Se(74),ce=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),te=function(z){function ue(ge){var me=z.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 se.InstantiationService,me.optionsService=new le.OptionsService(ge),me._instantiationService.setService(de.IOptionsService,me.optionsService),me._bufferService=me.register(me._instantiationService.createInstance(ie.BufferService)),me._instantiationService.setService(de.IBufferService,me._bufferService),me._logService=me._instantiationService.createInstance(re.LogService),me._instantiationService.setService(de.ILogService,me._logService),me._coreService=me.register(me._instantiationService.createInstance(ce.CoreService,function(){return me.scrollToBottom()})),me._instantiationService.setService(de.ICoreService,me._coreService),me._coreMouseService=me._instantiationService.createInstance(oe.CoreMouseService),me._instantiationService.setService(de.ICoreMouseService,me._coreMouseService),me._dirtyRowService=me._instantiationService.createInstance(ne.DirtyRowService),me._instantiationService.setService(de.IDirtyRowService,me._dirtyRowService),me.unicodeService=me._instantiationService.createInstance(ee.UnicodeService),me._instantiationService.setService(de.IUnicodeService,me.unicodeService),me._charsetService=me._instantiationService.createInstance(a.CharsetService),me._instantiationService.setService(de.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(he){return me._updateOptions(he)})),me._writeBuffer=new b.WriteBuffer(function(he){return me._inputHandler.parse(he)}),me}return E(ue,z),Object.defineProperty(ue.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),ue.prototype.dispose=function(){var ge;this._isDisposed||(z.prototype.dispose.call(this),(ge=this._windowsMode)===null||ge===void 0||ge.dispose(),this._windowsMode=void 0)},ue.prototype.write=function(ge,me){this._writeBuffer.write(ge,me)},ue.prototype.writeSync=function(ge){this._writeBuffer.writeSync(ge)},ue.prototype.resize=function(ge,me){isNaN(ge)||isNaN(me)||(ge=Math.max(ge,ie.MINIMUM_COLS),me=Math.max(me,ie.MINIMUM_ROWS),this._bufferService.resize(ge,me))},ue.prototype.scroll=function(ge,me){me===void 0&&(me=!1);var he,pe=this._bufferService.buffer;(he=this._cachedBlankLine)&&he.length===this.cols&&he.getFg(0)===ge.fg&&he.getBg(0)===ge.bg||(he=pe.getBlankLine(ge,me),this._cachedBlankLine=he),he.isWrapped=me;var be=pe.ybase+pe.scrollTop,ye=pe.ybase+pe.scrollBottom;if(pe.scrollTop===0){var Pe=pe.lines.isFull;ye===pe.lines.length-1?Pe?pe.lines.recycle().copyFrom(he):pe.lines.push(he.clone()):pe.lines.splice(ye+1,0,he.clone()),Pe?this._bufferService.isUserScrolling&&(pe.ydisp=Math.max(pe.ydisp-1,0)):(pe.ybase++,this._bufferService.isUserScrolling||pe.ydisp++)}else{var we=ye-be+1;pe.lines.shiftElements(be+1,we-1,-1),pe.lines.set(ye,he.clone())}this._bufferService.isUserScrolling||(pe.ydisp=pe.ybase),this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom),this._onScroll.fire(pe.ydisp)},ue.prototype.scrollLines=function(ge,me){var he=this._bufferService.buffer;if(ge<0){if(he.ydisp===0)return;this._bufferService.isUserScrolling=!0}else ge+he.ydisp>=he.ybase&&(this._bufferService.isUserScrolling=!1);var pe=he.ydisp;he.ydisp=Math.max(Math.min(he.ydisp+ge,he.ybase),0),pe!==he.ydisp&&(me||this._onScroll.fire(he.ydisp))},ue.prototype.scrollPages=function(ge){this.scrollLines(ge*(this.rows-1))},ue.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},ue.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},ue.prototype.scrollToLine=function(ge){var me=ge-this._bufferService.buffer.ydisp;me!==0&&this.scrollLines(me)},ue.prototype.addEscHandler=function(ge,me){return this._inputHandler.addEscHandler(ge,me)},ue.prototype.addDcsHandler=function(ge,me){return this._inputHandler.addDcsHandler(ge,me)},ue.prototype.addCsiHandler=function(ge,me){return this._inputHandler.addCsiHandler(ge,me)},ue.prototype.addOscHandler=function(ge,me){return this._inputHandler.addOscHandler(ge,me)},ue.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},ue.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},ue.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)}},ue.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 he=0,pe=me;he<pe.length;he++)pe[he].dispose()}}}},ue}(ve.Disposable);fe.CoreTerminal=te},function(dt,fe,Se){"use strict";var xe=this&&this.__spreadArrays||function(){for(var re=0,ie=0,le=arguments.length;ie<le;ie++)re+=arguments[ie].length;var ce=Array(re),ae=0;for(ie=0;ie<le;ie++)for(var oe=arguments[ie],ne=0,ee=oe.length;ne<ee;ne++,ae++)ce[ae]=oe[ne];return ce};Object.defineProperty(fe,"__esModule",{value:!0}),fe.InstantiationService=fe.ServiceCollection=void 0;var E=Se(1),ve=Se(14),de=function(){function re(){for(var ie=[],le=0;le<arguments.length;le++)ie[le]=arguments[le];this._entries=new Map;for(var ce=0,ae=ie;ce<ae.length;ce++){var oe=ae[ce],ne=oe[0],ee=oe[1];this.set(ne,ee)}}return re.prototype.set=function(ie,le){var ce=this._entries.get(ie);return this._entries.set(ie,le),ce},re.prototype.forEach=function(ie){this._entries.forEach(function(le,ce){return ie(ce,le)})},re.prototype.has=function(ie){return this._entries.has(ie)},re.prototype.get=function(ie){return this._entries.get(ie)},re}();fe.ServiceCollection=de;var se=function(){function re(){this._services=new de,this._services.set(E.IInstantiationService,this)}return re.prototype.setService=function(ie,le){this._services.set(ie,le)},re.prototype.getService=function(ie){return this._services.get(ie)},re.prototype.createInstance=function(ie){for(var le=[],ce=1;ce<arguments.length;ce++)le[ce-1]=arguments[ce];for(var ae=ve.getServiceDependencies(ie).sort(function(b,te){return b.index-te.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] "+ie.name+" depends on UNKNOWN service "+a.id+".");oe.push(y)}var x=ae.length>0?ae[0].index:le.length;if(le.length!==x)throw new Error("[createInstance] First service dependency of "+ie.name+" at position "+(x+1)+" conflicts with "+le.length+" static arguments");return new(ie.bind.apply(ie,xe([void 0],xe(le,oe))))},re}();fe.InstantiationService=se},function(dt,fe,Se){"use strict";var xe=this&&this.__decorate||function(le,ce,ae,oe){var ne,ee=arguments.length,a=ee<3?ce:oe===null?oe=Object.getOwnPropertyDescriptor(ce,ae):oe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(le,ce,ae,oe);else for(var y=le.length-1;y>=0;y--)(ne=le[y])&&(a=(ee<3?ne(a):ee>3?ne(ce,ae,a):ne(ce,ae))||a);return ee>3&&a&&Object.defineProperty(ce,ae,a),a},E=this&&this.__param||function(le,ce){return function(ae,oe){ce(ae,oe,le)}},ve=this&&this.__spreadArrays||function(){for(var le=0,ce=0,ae=arguments.length;ce<ae;ce++)le+=arguments[ce].length;var oe=Array(le),ne=0;for(ce=0;ce<ae;ce++)for(var ee=arguments[ce],a=0,y=ee.length;a<y;a++,ne++)oe[ne]=ee[a];return oe};Object.defineProperty(fe,"__esModule",{value:!0}),fe.LogService=fe.LogLevel=void 0;var de,se=Se(1);(function(le){le[le.DEBUG=0]="DEBUG",le[le.INFO=1]="INFO",le[le.WARN=2]="WARN",le[le.ERROR=3]="ERROR",le[le.OFF=4]="OFF"})(de=fe.LogLevel||(fe.LogLevel={}));var re={debug:de.DEBUG,info:de.INFO,warn:de.WARN,error:de.ERROR,off:de.OFF},ie=function(){function le(ce){var ae=this;this._optionsService=ce,this._updateLogLevel(),this._optionsService.onOptionChange(function(oe){oe==="logLevel"&&ae._updateLogLevel()})}return le.prototype._updateLogLevel=function(){this._logLevel=re[this._optionsService.options.logLevel]},le.prototype._evalLazyOptionalParams=function(ce){for(var ae=0;ae<ce.length;ae++)typeof ce[ae]=="function"&&(ce[ae]=ce[ae]())},le.prototype._log=function(ce,ae,oe){this._evalLazyOptionalParams(oe),ce.call.apply(ce,ve([console,"xterm.js: "+ae],oe))},le.prototype.debug=function(ce){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.DEBUG&&this._log(console.log,ce,ae)},le.prototype.info=function(ce){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.INFO&&this._log(console.info,ce,ae)},le.prototype.warn=function(ce){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.WARN&&this._log(console.warn,ce,ae)},le.prototype.error=function(ce){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.ERROR&&this._log(console.error,ce,ae)},le=xe([E(0,se.IOptionsService)],le)}();fe.LogService=ie},function(dt,fe,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)}),ve=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},de=this&&this.__param||function(ae,oe){return function(ne,ee){oe(ne,ee,ae)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.BufferService=fe.MINIMUM_ROWS=fe.MINIMUM_COLS=void 0;var se=Se(1),re=Se(69),ie=Se(0),le=Se(2);fe.MINIMUM_COLS=2,fe.MINIMUM_ROWS=1;var ce=function(ae){function oe(ne){var ee=ae.call(this)||this;return ee._optionsService=ne,ee.isUserScrolling=!1,ee._onResize=new ie.EventEmitter,ee.cols=Math.max(ne.options.cols,fe.MINIMUM_COLS),ee.rows=Math.max(ne.options.rows,fe.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=ve([de(0,se.IOptionsService)],oe)}(le.Disposable);fe.BufferService=ce},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(re,ie){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,ce){le.__proto__=ce}||function(le,ce){for(var ae in ce)ce.hasOwnProperty(ae)&&(le[ae]=ce[ae])})(re,ie)},function(re,ie){function le(){this.constructor=re}xe(re,ie),re.prototype=ie===null?Object.create(ie):(le.prototype=ie.prototype,new le)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.BufferSet=void 0;var ve=Se(70),de=Se(0),se=function(re){function ie(le,ce){var ae=re.call(this)||this;return ae._onBufferActivate=ae.register(new de.EventEmitter),ae._normal=new ve.Buffer(!0,le,ce),ae._normal.fillViewportRows(),ae._alt=new ve.Buffer(!1,le,ce),ae._activeBuffer=ae._normal,ae.setupTabStops(),ae}return E(ie,re),Object.defineProperty(ie.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),ie.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},ie.prototype.activateAltBuffer=function(le){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(le),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},ie.prototype.resize=function(le,ce){this._normal.resize(le,ce),this._alt.resize(le,ce)},ie.prototype.setupTabStops=function(le){this._normal.setupTabStops(le),this._alt.setupTabStops(le)},ie}(Se(2).Disposable);fe.BufferSet=se},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.BufferStringIterator=fe.Buffer=fe.MAX_BUFFER_SIZE=void 0;var xe=Se(71),E=Se(16),ve=Se(4),de=Se(3),se=Se(72),re=Se(73),ie=Se(20),le=Se(6);fe.MAX_BUFFER_SIZE=4294967295;var ce=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=ie.DEFAULT_CHARSET,this.markers=[],this._nullCell=ve.CellData.fromCharData([0,de.NULL_CELL_CHAR,de.NULL_CELL_WIDTH,de.NULL_CELL_CODE]),this._whitespaceCell=ve.CellData.fromCharData([0,de.WHITESPACE_CELL_CHAR,de.WHITESPACE_CELL_WIDTH,de.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new 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 le.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 le.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>fe.MAX_BUFFER_SIZE?fe.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 te=this._rows;te<ee;te++)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(te=this._rows;te>ee;te--)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 z=this.lines.length-y;z>0&&(this.lines.trimStart(z),this.ybase=Math.max(this.ybase-z,0),this.ydisp=Math.max(this.ydisp-z,0),this.savedY=Math.max(this.savedY-z,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=se.reflowLargerGetLinesToRemove(this.lines,this._cols,ne,this.ybase+this.y,this.getNullCell(E.DEFAULT_ATTR_DATA));if(a.length>0){var y=se.reflowLargerCreateNewLayout(this.lines,a);se.reflowLargerApplyNewLayout(this.lines,y.layout),this._reflowLargerAdjustViewport(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 te=this.lines.get(b);if(!(!te||!te.isWrapped&&te.getTrimmedLength()<=ne)){for(var z=[te];te.isWrapped&&b>0;)te=this.lines.get(--b),z.unshift(te);var ue=this.ybase+this.y;if(!(ue>=b&&ue<b+z.length)){var ge=z[z.length-1].getTrimmedLength(),me=se.reflowSmallerGetNewLineLengths(z,this._cols,ne),he=me.length-z.length,pe=void 0;pe=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+he):Math.max(0,this.lines.length-this.lines.maxLength+he);for(var be=[],ye=0;ye<he;ye++){var Pe=this.getBlankLine(E.DEFAULT_ATTR_DATA,!0);be.push(Pe)}be.length>0&&(y.push({start:b+z.length+x,newLines:be}),x+=be.length),z.push.apply(z,be);var we=me.length-1,Oe=me[we];Oe===0&&(Oe=me[--we]);for(var Ce=z.length-he-1,_e=ge;Ce>=0;){var Ee=Math.min(_e,Oe);if(z[we].copyCellsFrom(z[Ce],_e-Ee,Oe-Ee,Ee,!0),(Oe-=Ee)===0&&(Oe=me[--we]),(_e-=Ee)===0){Ce--;var Me=Math.max(Ce,0);_e=se.getWrappedLineTrimmedLength(z,Me,this._cols)}}for(ye=0;ye<z.length;ye++)me[ye]<ne&&z[ye].setCell(me[ye],a);for(var Ie=he-pe;Ie-- >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+he,this.ybase+ee-1)}}}if(y.length>0){var Be=[],Re=[];for(ye=0;ye<this.lines.length;ye++)Re.push(this.lines.get(ye));var tt=this.lines.length,Ye=tt-1,et=0,Xe=y[et];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+x);var Ge=0;for(ye=Math.min(this.lines.maxLength-1,tt+x-1);ye>=0;ye--)if(Xe&&Xe.start>Ye+Ge){for(var Fe=Xe.newLines.length-1;Fe>=0;Fe--)this.lines.set(ye--,Xe.newLines[Fe]);ye++,Be.push({index:Ye+1,amount:Xe.newLines.length}),Ge+=Xe.newLines.length,Xe=y[++et]}else this.lines.set(ye,Re[Ye--]);var je=0;for(ye=Be.length-1;ye>=0;ye--)Be[ye].index+=je,this.lines.onInsertEmitter.fire(Be[ye]),je+=Be[ye].amount;var qe=Math.max(0,tt+x-this.lines.maxLength);qe>0&&this.lines.onTrimEmitter.fire(qe)}},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)[de.CHAR_DATA_WIDTH_INDEX]&&(ee-=y.get(b)[de.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}();fe.Buffer=ce;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}();fe.BufferStringIterator=ae},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CircularList=void 0;var xe=Se(0),E=function(){function ve(de){this._maxLength=de,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(ve.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"maxLength",{get:function(){return this._maxLength},set:function(de){if(this._maxLength!==de){for(var se=new Array(de),re=0;re<Math.min(de,this.length);re++)se[re]=this._array[this._getCyclicIndex(re)];this._array=se,this._maxLength=de,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"length",{get:function(){return this._length},set:function(de){if(de>this._length)for(var se=this._length;se<de;se++)this._array[se]=void 0;this._length=de},enumerable:!1,configurable:!0}),ve.prototype.get=function(de){return this._array[this._getCyclicIndex(de)]},ve.prototype.set=function(de,se){this._array[this._getCyclicIndex(de)]=se},ve.prototype.push=function(de){this._array[this._getCyclicIndex(this._length)]=de,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},ve.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(ve.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),ve.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},ve.prototype.splice=function(de,se){for(var re=[],ie=2;ie<arguments.length;ie++)re[ie-2]=arguments[ie];if(se){for(var le=de;le<this._length-se;le++)this._array[this._getCyclicIndex(le)]=this._array[this._getCyclicIndex(le+se)];this._length-=se}for(le=this._length-1;le>=de;le--)this._array[this._getCyclicIndex(le+re.length)]=this._array[this._getCyclicIndex(le)];for(le=0;le<re.length;le++)this._array[this._getCyclicIndex(de+le)]=re[le];if(this._length+re.length>this._maxLength){var ce=this._length+re.length-this._maxLength;this._startIndex+=ce,this._length=this._maxLength,this.onTrimEmitter.fire(ce)}else this._length+=re.length},ve.prototype.trimStart=function(de){de>this._length&&(de=this._length),this._startIndex+=de,this._length-=de,this.onTrimEmitter.fire(de)},ve.prototype.shiftElements=function(de,se,re){if(!(se<=0)){if(de<0||de>=this._length)throw new Error("start argument out of range");if(de+re<0)throw new Error("Cannot shift elements in list beyond index 0");if(re>0){for(var ie=se-1;ie>=0;ie--)this.set(de+ie+re,this.get(de+ie));var le=de+se+re-this._length;if(le>0)for(this._length+=le;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(ie=0;ie<se;ie++)this.set(de+ie+re,this.get(de+ie))}},ve.prototype._getCyclicIndex=function(de){return(this._startIndex+de)%this._maxLength},ve}();fe.CircularList=E},function(dt,fe,Se){"use strict";function xe(E,ve,de){if(ve===E.length-1)return E[ve].getTrimmedLength();var se=!E[ve].hasContent(de-1)&&E[ve].getWidth(de-1)===1,re=E[ve+1].getWidth(0)===2;return se&&re?de-1:de}Object.defineProperty(fe,"__esModule",{value:!0}),fe.getWrappedLineTrimmedLength=fe.reflowSmallerGetNewLineLengths=fe.reflowLargerApplyNewLayout=fe.reflowLargerCreateNewLayout=fe.reflowLargerGetLinesToRemove=void 0,fe.reflowLargerGetLinesToRemove=function(E,ve,de,se,re){for(var ie=[],le=0;le<E.length-1;le++){var ce=le,ae=E.get(++ce);if(ae.isWrapped){for(var oe=[E.get(le)];ce<E.length&&ae.isWrapped;)oe.push(ae),ae=E.get(++ce);if(se>=le&&se<ce)le+=oe.length-1;else{for(var ne=0,ee=xe(oe,ne,ve),a=1,y=0;a<oe.length;){var x=xe(oe,a,ve),b=x-y,te=de-ee,z=Math.min(b,te);oe[ne].copyCellsFrom(oe[a],y,ee,z,!1),(ee+=z)===de&&(ne++,ee=0),(y+=z)===x&&(a++,y=0),ee===0&&ne!==0&&oe[ne-1].getWidth(de-1)===2&&(oe[ne].copyCellsFrom(oe[ne-1],de-1,ee++,1,!1),oe[ne-1].setCell(de-1,re))}oe[ne].replaceCells(ee,de,re);for(var ue=0,ge=oe.length-1;ge>0&&(ge>ne||oe[ge].getTrimmedLength()===0);ge--)ue++;ue>0&&(ie.push(le+oe.length-ue),ie.push(ue)),le+=oe.length-1}}}return ie},fe.reflowLargerCreateNewLayout=function(E,ve){for(var de=[],se=0,re=ve[se],ie=0,le=0;le<E.length;le++)if(re===le){var ce=ve[++se];E.onDeleteEmitter.fire({index:le-ie,amount:ce}),le+=ce-1,ie+=ce,re=ve[++se]}else de.push(le);return{layout:de,countRemoved:ie}},fe.reflowLargerApplyNewLayout=function(E,ve){for(var de=[],se=0;se<ve.length;se++)de.push(E.get(ve[se]));for(se=0;se<de.length;se++)E.set(se,de[se]);E.length=ve.length},fe.reflowSmallerGetNewLineLengths=function(E,ve,de){for(var se=[],re=E.map(function(ee,a){return xe(E,a,ve)}).reduce(function(ee,a){return ee+a}),ie=0,le=0,ce=0;ce<re;){if(re-ce<de){se.push(re-ce);break}ie+=de;var ae=xe(E,le,ve);ie>ae&&(ie-=ae,le++);var oe=E[le].getWidth(ie-1)===2;oe&&ie--;var ne=oe?de-1:de;se.push(ne),ce+=ne}return se},fe.getWrappedLineTrimmedLength=xe},function(dt,fe,Se){"use strict";var xe,E=this&&this.__extends||(xe=function(se,re){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,le){ie.__proto__=le}||function(ie,le){for(var ce in le)le.hasOwnProperty(ce)&&(ie[ce]=le[ce])})(se,re)},function(se,re){function ie(){this.constructor=se}xe(se,re),se.prototype=re===null?Object.create(re):(ie.prototype=re.prototype,new ie)});Object.defineProperty(fe,"__esModule",{value:!0}),fe.Marker=void 0;var ve=Se(0),de=function(se){function re(ie){var le=se.call(this)||this;return le.line=ie,le._id=re._nextId++,le.isDisposed=!1,le._onDispose=new ve.EventEmitter,le}return E(re,se),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);fe.Marker=de},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.OptionsService=fe.DEFAULT_OPTIONS=fe.DEFAULT_BELL_SOUND=void 0;var xe=Se(0),E=Se(11),ve=Se(33);fe.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",fe.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:fe.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:E.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var de=["cols","rows"],se=function(){function re(ie){this._onOptionChange=new xe.EventEmitter,this.options=ve.clone(fe.DEFAULT_OPTIONS);for(var le=0,ce=Object.keys(ie);le<ce.length;le++){var ae=ce[le];if(ae in this.options){var oe=ie[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(ie,le){if(!(ie in fe.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');if(de.indexOf(ie)!==-1)throw new Error('Option "'+ie+'" can only be set in the constructor');this.options[ie]!==le&&(le=this._sanitizeAndValidateOption(ie,le),this.options[ie]!==le&&(this.options[ie]=le,this._onOptionChange.fire(ie)))},re.prototype._sanitizeAndValidateOption=function(ie,le){switch(ie){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":le||(le=fe.DEFAULT_OPTIONS[ie]);break;case"cursorWidth":le=Math.floor(le);case"lineHeight":case"tabStopWidth":if(le<1)throw new Error(ie+" cannot be less than 1, value: "+le);break;case"minimumContrastRatio":le=Math.max(1,Math.min(21,Math.round(10*le)/10));break;case"scrollback":if((le=Math.min(le,4294967295))<0)throw new Error(ie+" cannot be less than 0, value: "+le);break;case"fastScrollSensitivity":case"scrollSensitivity":if(le<=0)throw new Error(ie+" cannot be less than or equal to 0, value: "+le)}return le},re.prototype.getOption=function(ie){if(!(ie in fe.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');return this.options[ie]},re}();fe.OptionsService=se},function(dt,fe,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)}),ve=this&&this.__decorate||function(ne,ee,a,y){var x,b=arguments.length,te=b<3?ee:y===null?y=Object.getOwnPropertyDescriptor(ee,a):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(ne,ee,a,y);else for(var z=ne.length-1;z>=0;z--)(x=ne[z])&&(te=(b<3?x(te):b>3?x(ee,a,te):x(ee,a))||te);return b>3&&te&&Object.defineProperty(ee,a,te),te},de=this&&this.__param||function(ne,ee){return function(a,y){ee(a,y,ne)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.CoreService=void 0;var se=Se(1),re=Se(0),ie=Se(33),le=Se(2),ce=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 te=ne.call(this)||this;return te._bufferService=y,te._logService=x,te._optionsService=b,te.isCursorInitialized=!1,te.isCursorHidden=!1,te._onData=te.register(new re.EventEmitter),te._onUserInput=te.register(new re.EventEmitter),te._onBinary=te.register(new re.EventEmitter),te._scrollToBottom=a,te.register({dispose:function(){return te._scrollToBottom=void 0}}),te.modes=ie.clone(ce),te.decPrivateModes=ie.clone(ae),te}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=ie.clone(ce),this.decPrivateModes=ie.clone(ae)},ee.prototype.triggerDataEvent=function(a,y){if(y===void 0&&(y=!1),!this._optionsService.options.disableStdin){var x=this._bufferService.buffer;x.ybase!==x.ydisp&&this._scrollToBottom(),y&&this._onUserInput.fire(),this._logService.debug('sending data "'+a+'"',function(){return a.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(a)}},ee.prototype.triggerBinaryEvent=function(a){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+a+'"',function(){return a.split("").map(function(y){return y.charCodeAt(0)})}),this._onBinary.fire(a))},ee=ve([de(1,se.IBufferService),de(2,se.ILogService),de(3,se.IOptionsService)],ee)}(le.Disposable);fe.CoreService=oe},function(dt,fe,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(fe,"__esModule",{value:!0}),fe.CoreMouseService=void 0;var ve=Se(1),de=Se(0),se={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(ae){return ae.button!==4&&ae.action===1&&(ae.ctrl=!1,ae.alt=!1,ae.shift=!1,!0)}},VT200:{events:19,restrict:function(ae){return ae.action!==32}},DRAG:{events:23,restrict:function(ae){return ae.action!==32||ae.button!==3}},ANY:{events:31,restrict:function(ae){return!0}}};function 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 ie=String.fromCharCode,le={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"+ie(oe[0])+ie(oe[1])+ie(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}},ce=function(){function ae(oe,ne){this._bufferService=oe,this._coreService=ne,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new de.EventEmitter,this._lastEvent=null;for(var ee=0,a=Object.keys(se);ee<a.length;ee++){var y=a[ee];this.addProtocol(y,se[y])}for(var x=0,b=Object.keys(le);x<b.length;x++){var te=b[x];this.addEncoding(te,le[te])}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,ve.IBufferService),E(1,ve.ICoreService)],ae)}();fe.CoreMouseService=ce},function(dt,fe,Se){"use strict";var xe=this&&this.__decorate||function(se,re,ie,le){var ce,ae=arguments.length,oe=ae<3?re:le===null?le=Object.getOwnPropertyDescriptor(re,ie):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(se,re,ie,le);else for(var ne=se.length-1;ne>=0;ne--)(ce=se[ne])&&(oe=(ae<3?ce(oe):ae>3?ce(re,ie,oe):ce(re,ie))||oe);return ae>3&&oe&&Object.defineProperty(re,ie,oe),oe},E=this&&this.__param||function(se,re){return function(ie,le){re(ie,le,se)}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.DirtyRowService=void 0;var ve=Se(1),de=function(){function se(re){this._bufferService=re,this.clearRange()}return Object.defineProperty(se.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),se.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},se.prototype.markDirty=function(re){re<this._start?this._start=re:re>this._end&&(this._end=re)},se.prototype.markRangeDirty=function(re,ie){if(re>ie){var le=re;re=ie,ie=le}re<this._start&&(this._start=re),ie>this._end&&(this._end=ie)},se.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},se=xe([E(0,ve.IBufferService)],se)}();fe.DirtyRowService=de},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.UnicodeService=void 0;var xe=Se(0),E=Se(79),ve=function(){function de(){this._providers=Object.create(null),this._active="",this._onChange=new xe.EventEmitter;var se=new E.UnicodeV6;this.register(se),this._active=se.version,this._activeProvider=se}return Object.defineProperty(de.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"activeVersion",{get:function(){return this._active},set:function(se){if(!this._providers[se])throw new Error('unknown Unicode version "'+se+'"');this._active=se,this._activeProvider=this._providers[se],this._onChange.fire(se)},enumerable:!1,configurable:!0}),de.prototype.register=function(se){this._providers[se.version]=se},de.prototype.wcwidth=function(se){return this._activeProvider.wcwidth(se)},de.prototype.getStringCellWidth=function(se){for(var re=0,ie=se.length,le=0;le<ie;++le){var ce=se.charCodeAt(le);if(55296<=ce&&ce<=56319){if(++le>=ie)return re+this.wcwidth(ce);var ae=se.charCodeAt(le);56320<=ae&&ae<=57343?ce=1024*(ce-55296)+ae-56320+65536:re+=this.wcwidth(ae)}re+=this.wcwidth(ce)}return re},de}();fe.UnicodeService=ve},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.UnicodeV6=void 0;var xe,E=Se(15),ve=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],de=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],se=function(){function 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 ie=0;ie<ve.length;++ie)E.fill(xe,0,ve[ie][0],ve[ie][1]+1)}}return re.prototype.wcwidth=function(ie){return ie<32?0:ie<127?1:ie<65536?xe[ie]:function(le,ce){var ae,oe=0,ne=ce.length-1;if(le<ce[0][0]||le>ce[ne][1])return!1;for(;ne>=oe;)if(le>ce[ae=oe+ne>>1][1])oe=ae+1;else{if(!(le<ce[ae][0]))return!0;ne=ae-1}return!1}(ie,de)?0:ie>=131072&&ie<=196605||ie>=196608&&ie<=262141?2:1},re}();fe.UnicodeV6=se},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.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(ve){this.glevel=ve,this.charset=this._charsets[ve]},E.prototype.setgCharset=function(ve,de){this._charsets[ve]=de,this.glevel===ve&&(this.charset=de)},E}();fe.CharsetService=xe},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.updateWindowsModeWrappedState=void 0;var xe=Se(3);fe.updateWindowsModeWrappedState=function(E){var ve=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),de=ve==null?void 0:ve.get(E.cols-1),se=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);se&&de&&(se.isWrapped=de[xe.CHAR_DATA_CODE_INDEX]!==xe.NULL_CELL_CODE&&de[xe.CHAR_DATA_CODE_INDEX]!==xe.WHITESPACE_CELL_CODE)}},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.WriteBuffer=void 0;var xe=function(){function E(ve){this._action=ve,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return E.prototype.writeSync=function(ve){if(this._writeBuffer.length){for(var de=this._bufferOffset;de<this._writeBuffer.length;++de){var se=this._writeBuffer[de],re=this._callbacks[de];this._action(se),re&&re()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(ve)},E.prototype.write=function(ve,de){var se=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return se._innerWrite()})),this._pendingData+=ve.length,this._writeBuffer.push(ve),this._callbacks.push(de)},E.prototype._innerWrite=function(){for(var ve=this,de=Date.now();this._writeBuffer.length>this._bufferOffset;){var se=this._writeBuffer[this._bufferOffset],re=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(se),this._pendingData-=se.length,re&&re(),Date.now()-de>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return ve._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},E}();fe.WriteBuffer=xe},function(dt,fe,Se){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.AddonManager=void 0;var xe=function(){function E(){this._addons=[]}return E.prototype.dispose=function(){for(var ve=this._addons.length-1;ve>=0;ve--)this._addons[ve].instance.dispose()},E.prototype.loadAddon=function(ve,de){var se=this,re={instance:de,dispose:de.dispose,isDisposed:!1};this._addons.push(re),de.dispose=function(){return se._wrappedAddonDispose(re)},de.activate(ve)},E.prototype._wrappedAddonDispose=function(ve){if(!ve.isDisposed){for(var de=-1,se=0;se<this._addons.length;se++)if(this._addons[se]===ve){de=se;break}if(de===-1)throw new Error("Could not dispose an addon that has not been loaded");ve.isDisposed=!0,ve.dispose.apply(ve.instance),this._addons.splice(de,1)}},E}();fe.AddonManager=xe}])})},62522:function(_t){"use strict";_t.exports="data:image/png;base64,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"},60141:function(_t){"use strict";_t.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(_t,dt,fe){"use strict";fe.d(dt,{Z:function(){return Se}});function Se(xe){if(xe==null)throw new TypeError("Cannot destructure "+xe)}}}]);
|