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

409 lines
1.7 MiB

This file contains invisible Unicode characters!

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

(self.webpackChunk=self.webpackChunk||[]).push([[374],{33463:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},28575:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},84249:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},81893:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},90674:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},55304:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},73148:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},56747:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},50881:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},22751:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},34182:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},74664:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},91034:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return re}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},he=E,fe=me(74643),se=function(le,ue){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ue,icon:he}))},re=xe.forwardRef(se)},71736:function(Ct,dt){"use strict";dt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},12867:function(){"use strict"},18023:function(){"use strict";function Ct(z,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=z,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(Ct.prototype,"name",{get:function(){return this._name},set:function(z){if(typeof z!="string"||z==="")throw new Error("Shape name must be a valid string.");this._name=z}}),Object.defineProperty(Ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("The default value must be a real number, not: "+z);this._defaultValue=z}}),Object.defineProperty(Ct.prototype,"minimum",{get:function(){return this._minimum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Minimum must be a real number, not: "+z);this._minimum=z}}),Object.defineProperty(Ct.prototype,"maximum",{get:function(){return this._maximum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Maximum must be a real number, not: "+z);this._maximum=z}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(z,a){var y=go.Shape._FigureParameters[z];return y?y[a]:null},go.Shape.setFigureParameter=function(z,a,y){if(!(y instanceof Ct))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[z];x||(x=[],go.Shape._FigureParameters[z]=x),x[a]=y};var dt=[];function me(z,a){var y=dt.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function be(){var z=dt.pop();return z===void 0?new go.Point:z}function xe(z){dt.push(z)}function E(z,a,y,x,b,ee,te,ce,de){de||(de=new go.Point);var ge=z-y,ve=b-te,pe=NaN,Se=NaN;if(ge===0)if(ve===0)z===y&&(pe=z,Se=a);else{var ye=(ee-ce)/ve,Pe=ee-ye*b;pe=z,Se=ye*pe+Pe}else if(ve===0){var we=(a-x)/ge,Le=a-we*z;pe=b,Se=we*pe+Le}else{var we=(a-x)/ge,ye=(ee-ce)/ve,Le=a-we*z,Pe=ee-ye*b;pe=(Pe-Le)/(we-ye),Se=we*pe+Le}return de.x=pe,de.y=Se,de}function he(z,a,y,x,b,ee,te,ce,de,ge,ve,pe,Se,ye){var Pe=1-de,we=de,Le=z*Pe+y*we,Ee=a*Pe+x*we,Te=y*Pe+b*we,Ce=x*Pe+ee*we,Ae=b*Pe+te*we,Ie=ee*Pe+ce*we,He=Le*Pe+Te*we,je=Ee*Pe+Ce*we,tt=Te*Pe+Ae*we,Je=Ce*Pe+Ie*we,Qe=He*Pe+tt*we,Xe=je*Pe+Je*we;ge.x=Le,ge.y=Ee,ve.x=He,ve.y=je,pe.x=Qe,pe.y=Xe,Se.x=tt,Se.y=Je,ye.x=Ae,ye.y=Ie}var fe=new go.Spot(.156,.156),se=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*re,ee=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&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=fe,b.spot2=se,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a:x>a&&(x=a);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.setFigureParameter("Trapezoid1",0,new Ct("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Ct("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(z,a,y){var x=z?z.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.setFigureParameter("ManualOperation",0,new Ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(z,a,y){var x=z?z.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.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())):ee.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&&ee.setSpots(b/a,0,(a-b)/a,1),ee}});var ie=[];function le(){var z=ie.pop();return z===void 0?[]:z}function ue(z){z.length=0,ie.push(z)}function ae(z){for(var a=le(),y=.5,x=.5,b=Math.PI*1.5,ee=0,te=0;te<z;te++)ee=2*Math.PI/z*te+b,a[te]=new go.Point(x+y*Math.cos(ee),x+y*Math.sin(ee));return a.push(a[0]),a}function oe(z){var a=ne(z),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 ue(a),y}function ne(z){for(var a=ae(z),y=le(),x=Math.floor(a.length/2),b=a.length-1,ee=z%2===0?2:1,te=0;te<b;te++){var ce=a[te],de=a[te+1],ge=a[(x+te-1)%b],ve=a[(x+te+ee)%b];y[te*2]=ce,y[te*2+1]=E(ce.x,ce.y,ge.x,ge.y,de.x,de.y,ve.x,ve.y,new go.Point)}return y[y.length]=y[0],ue(a),y}go.Shape.defineFigureGenerator("Pentagon",function(z,a,y){var x=ae(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<5;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(z,a,y){var x=ae(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<6;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(z,a,y){var x=ae(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<7;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(z,a,y){var x=ae(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<8;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(z,a,y){var x=ae(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<9;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(z,a,y){var x=ae(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<10;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(z,a,y){var x=ae(12),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<12;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(z,a,y){var x=ne(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<10;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(z,a,y){var x=ne(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<12;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(z,a,y){var x=ne(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<14;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(z,a,y){var x=ne(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<16;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(z,a,y){var x=ne(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<18;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(z,a,y){var x=ne(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<20;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(z,a,y){var x=oe(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(z,a,y){var x=oe(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(z,a,y){var x=oe(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(z,a,y){var x=oe(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(z,a,y){var x=oe(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(z,a,y){var x=oe(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new Ct("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Ct("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(z,a,y){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var ee=new go.Geometry,te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x<a/2&&b<y/2&&(te.add(new go.PathSegment(go.PathSegment.Move,x,b)),te.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),ee.setSpots(0,0,1,1,x,b,-x,-b),ee}),go.Shape.setFigureParameter("Ring",0,new Ct("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=a/2,ee=new go.Geometry,te=new go.PathFigure(a,a/2,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var ce=Math.max(b-x,0);return ce>0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),ee.spot1=fe,ee.spot2=se,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(z,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(z,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(z,a,y){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var te=b%360,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,ee,te,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(z,a,y){var x=re/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-x)*y,(b+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(z,a,y){var x=z?z.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 ee=a/2,te=y/2,ce=Math.atan2(y,a),de=x-Math.min(Math.cos(ce)*x/2,ee),ge=x-Math.min(Math.sin(ce)*x/2,te),b=new go.Geometry,ve=new go.PathFigure(de,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-de,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),ve.add(new go.PathSegment(go.PathSegment.Line,a-de,y)),ve.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,de,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(z,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(z,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(z,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(z,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(z,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 ee=.2,te=.3,ce=0,de=ee*re;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+ce)*y,(.5-ee+te)*a,(.5+de+ce)*y,(.5-de+te)*a,(.5+ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+ce)*y,(.5+de+te)*a,(.5+ee+ce)*y,(.5+ee+te)*a,(.5+de+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ce)*y,(1-.5+ee+te)*a,(.5-de+ce)*y,(.5+de+te)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-de+te)*a,(.5-ee+ce)*y,(.5-ee+te+.05)*a,(.5-de+ce-.02)*y)),ee=.2,te=0,ce=-.3,de=ee*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+ce)*y,(.5+de+te)*a,(.5+ee+ce)*y,(.5+ee+te)*a,(.5+de+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ce)*y,(1-.5+ee+te)*a,(.5-de+ce)*y,(.5+de+te)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+ce)*y,(.5-de+te)*a,(.5-ee+ce)*y,(.5-ee+te)*a,(.5-de+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+te)*a,(.5+ee+ce)*y,(.5-ee+te)*a,(.5+de+ce)*y,(.5-de+te)*a,(.5+ee+ce)*y)),ee=.2,te=-.3,ce=0,de=ee*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ce)*y,(1-.5+ee+te-.05)*a,(.5-de+ce-.02)*y,(.5+de+te)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+ce)*y,(.5-de+te)*a,(.5-ee+ce)*y,(.5-ee+te)*a,(.5-de+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+ce)*y,(.5-ee+te)*a,(.5+de+ce)*y,(.5-de+te)*a,(.5+ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+de+te)*a,(.5+ee+ce)*y,(.5+ee+te)*a,(.5+de+ce)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(z,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 ee=.1,te=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+ee)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ce,ee*a,ee*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ce=.75,b=new go.PathFigure((te+ee)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ce,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(z,a,y){var x=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=.5,te=.5,ce=.5,de=new go.PathFigure(te*a,(ce-ee)*y);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),ee=.4,b=re*.4;var ge=be(),ve=be(),pe=be(),Se=be();he(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.42,ge,ve,pe,Se,Se);var ye=be(),Pe=be(),we=be();he(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.58,Se,Se,we,ye,Pe);var Le=be(),Ee=be(),Te=be();he(te,ce+ee,te-b,ce+ee,te-ee,ce+b,te-ee,ce,.42,Le,Ee,Te,Se,Se);var Ce=be(),Ae=be(),Ie=be();return he(te,ce+ee,te-b,ce+ee,te-ee,ce+b,te-ee,ce,.58,Se,Se,Ie,Ce,Ae),de.add(new go.PathSegment(go.PathSegment.Move,Ie.x*a,Ie.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,Ce.x*a,Ce.y*y,Ae.x*a,Ae.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y,(te-b)*a,(ce-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,ge.x*a,ge.y*y,ve.x*a,ve.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Ie.x*a,Ie.y*y).close()),de.add(new go.PathSegment(go.PathSegment.Move,Te.x*a,Te.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,ye.x*a,ye.y*y,Pe.x*a,Pe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y,(te+b)*a,(ce+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*a,Te.y*y,Le.x*a,Le.y*y,Ee.x*a,Ee.y*y).close()),xe(ge),xe(ve),xe(pe),xe(Se),xe(ye),xe(Pe),xe(we),xe(Le),xe(Ee),xe(Te),xe(Ce),xe(Ae),xe(Ie),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.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(z,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(z,a,y){var x=new go.Geometry,b=re*.4,ee=.4,te=.5,ce=.5,de=be(),ge=be(),ve=be(),pe=be(),Se=new go.PathFigure((te-ee)*a,ce*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y,(te-b)*a,(ce-ee)*y)),he(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.44,ve,pe,ge,de,de),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y));var ye=me(ge.x,ge.y);he(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.56,de,de,ge,ve,pe);var Pe=me(ge.x,ge.y);Se.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*a,ye.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,ye.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y,(te+b)*a,(ce+ee)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y)),ee=.35,b=re*.35;var we=new go.PathFigure(te*a,(ce-ee)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y));var Le=new go.PathFigure((te-ee)*a,ce*y,!1);return x.add(Le),xe(de),xe(ge),xe(ve),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(z,a,y){var x=new go.Geometry,b=.375,ee=0,te=-.125,ce=b*re,de=new go.PathFigure((.525+ee)*a,(.5+b+te)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*y,(.5+ce+ee)*a,(.5+b+te)*y,(.5+b+ee)*a,(.5+ce+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*y,(1-.5+b+ee)*a,(.5-ce+te)*y,(.5+ce+ee)*a,(.5-b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ce+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ce+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+te)*y,(.5-b+ee)*a,(.5+ce+te)*y,(.5-ce+ee)*a,(.5+b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,te=-.125,ce=b*re;var de=new go.PathFigure((1-.5+b+ee)*a,(.5+te)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+te)*y,(.5+b+ee)*a,(.5+ce+te)*y,(.5+ce+ee)*a,(.5+b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ce+ee)*a,(.5+b+te)*y,(.5-b+ee)*a,(.5+ce+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ce+te)*y,(.5-ce+ee)*a,(.5-b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*y,(.5+ce+ee)*a,(.5-b+te)*y,(1-.5+b+ee)*a,(.5-ce+te)*y));var de=new go.PathFigure((.525+ee)*a,(.5+b+te)*y,!1);return x.add(de),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(z,a,y){var x=z?z.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(z,a,y){var x=z?z.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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=z?z.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*a,te=(.5-b/2)*y,ce=(.5+b/2)*y,de=new go.Geometry,ge=new go.PathFigure(0,te,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),de.spot1=new go.Spot(0,te/y);var ve=E(0,ce/y,1,ce/y,ee/a,1,1,.5,be());return de.spot2=new go.Spot(ve.x,ve.y),xe(ve),de}),go.Shape.setFigureParameter("Arrow2",0,new Ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=z?z.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-x,te=(y-b)/2,ce=te+b,de=new go.Geometry,ge=new go.PathFigure(0,te,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),de.spot1=new go.Spot(0,te/y);var ve=E(0,ce/y,1,ce/y,ee/a,1,1,.5,be());return de.spot2=new go.Spot(ve.x,ve.y),xe(ve),de}),go.Shape.defineFigureGenerator("Chevron",function(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var de=E(0,.5,.3,0,0,b/y,.1,b/y,be());return te.spot1=new go.Spot(de.x,de.y),de=E(.7,1,1,.5,0,ee/y,1,ee/y,de),te.spot2=new go.Spot(de.x,de.y),xe(de),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,te=ee+x,ce=(y-b)/2,de=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,te=ee+x,ce=0,de=y):(ee=0,te=y,ce=0,de=y));var ge=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);ge.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,de)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var pe=E(0,.5,.3,ce/y,0,ee/y,1,ee/y,be());return ge.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,de/y,1,.5,0,te/y,1,te/y,pe),ge.spot2=new go.Spot(pe.x,pe.y),xe(pe),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new Ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return te.spot2=new go.Spot(de.x,de.y),xe(de),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,te=ee+x,ce=(y-b)/2,de=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,te=ee+x,ce=0,de=y):(ee=0,te=y,ce=0,de=y));var ge=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);ge.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,de)),ve.add(new go.PathSegment(go.PathSegment.Line,0,de)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),ge.spot1=new go.Spot(0,ee/y);var pe=E(.7,de/y,1,.5,0,te/y,1,te/y,be());return ge.spot2=new go.Spot(pe.x,pe.y),xe(pe),ge}),go.Shape.setFigureParameter("Pointer",0,new Ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=E(.2,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(te.x,te.y),xe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var te=E(0,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(te.x,te.y),xe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return te.spot2=new go.Spot(de.x,de.y),xe(de),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,ee=b+x;x>y&&(b=0,ee=y);var te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return te.spot2=new go.Spot(de.x,de.y),xe(de),te}),go.Shape.setFigureParameter("SquareArrow",0,new Ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.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(z,a,y){var x=new go.Geometry,b=re*.5,ee=re*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(z,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 ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.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(z,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 ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.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(z,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 ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.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(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=re*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,re*x,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,re*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-re*x,(.5+ee)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-re*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-re*x,(.5+ee)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*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(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=re*.5,te=new go.PathFigure(0,y-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,re*x,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,re*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-re*x,(.5+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-re*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-re*x,(.5-ee)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*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(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=re*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-re*x,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-re*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,re*x,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,re*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+re*x,0,2*x,(.5-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*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(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=re*.5,te=new go.PathFigure(a-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-re*x,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-re*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,re*x,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,re*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-re*x,0,a-2*x,(.5-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*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(z,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 ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.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(z,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 ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.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(z,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 ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.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(z,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 ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.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(z,a,y){var x=new go.Geometry,b=.2,ee=.1,te=re*b,ce=re*ee,de=.5,ge=.1,ve=new go.PathFigure(de*a,(ge+ee)*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-b)*a,ge*y,(de-te)*a,(ge+ee)*y,(de-b)*a,(ge+ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ee)*y,(de-b)*a,(ge-ce)*y,(de-te)*a,(ge-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+b)*a,ge*y,(de+te)*a,(ge-ee)*y,(de+b)*a,(ge-ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ee)*y,(de+b)*a,(ge+ce)*y,(de+te)*a,(ge+ee)*y));var pe=.05,Se=re*pe;de=.05,ge=.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)),de=.95,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(de+pe)*a,ge*y,(de+Se)*a,(ge-pe)*y,(de+pe)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,Se=re*pe,de=.825,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-pe)*y,(de+pe)*a,(ge-Se)*y,(de+Se)*a,(ge-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-pe)*a,ge*y,(de-Se)*a,(ge-pe)*y,(de-pe)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,Se=re*pe,de=.5,ge=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-pe)*y,(de+pe)*a,(ge-Se)*y,(de+Se)*a,(ge-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-pe)*a,ge*y,(de-Se)*a,(ge-pe)*y,(de-pe)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,Se=re*pe,de=.175,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-pe)*y,(de+pe)*a,(ge-Se)*y,(de+Se)*a,(ge-pe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-pe)*a,ge*y,(de-Se)*a,(ge-pe)*y,(de-pe)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,Se=re*pe,de=.05,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-pe)*y,(de-pe)*a,(ge-Se)*y,(de-Se)*a,(ge-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 Ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.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(z,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 ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=re*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(z,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(z,a,y){var x=new go.Geometry,b=re*.5,ee=re*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=re*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(z,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 ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.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(z,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 ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.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(z,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 ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(z,a,y){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,te=re*.5,ce=.5,de=new go.PathFigure(a,ce*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+te)*y,(ce+te)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-te)*a,y,0,(ce+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-te)*y,(ce-te)*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+te)*a,0,a,(ce-te)*y));var ge=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ge.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(z,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 ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.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(z,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(z,a,y){var x=new go.Geometry,b=re*.5,ee=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(z,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(z,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 ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.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(z,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 ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(z,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(z,a,y){var x=new go.Geometry,b=re*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-b)*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(z,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 ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.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(z,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(z,a,y){var x=new go.Geometry,b=re*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ce=new go.PathFigure(a,ee*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var de=new go.PathFigure(.8*a,.75*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(z,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(z,a,y){var x=new go.Geometry,b=re*.1,ee=.1,te=.9,ce=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((te+ee)*a,ce*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y,(te+b)*a,(ce+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y,(te-b)*a,(ce-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,(te+b)*a,(ce-ee)*y,(te+ee)*a,(ce-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=re*.4,te=re*.1,ce=.1,de=.9,ge=.5,ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var pe=new go.PathFigure((de+ce)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ce)*y,(de+ce)*a,(ge+te)*y,(de+te)*a,(ge+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce)*a,ge*y,(de-te)*a,(ge+ce)*y,(de-ce)*a,(ge+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ce)*y,(de-ce)*a,(ge-te)*y,(de-te)*a,(ge-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce)*a,ge*y,(de+te)*a,(ge-ce)*y,(de+ce)*a,(ge-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=re*b,te=0,ce=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(ce-b)*y,.7*a,(ce-ee)*y)),b=.1,ee=re*.1,te=.9,ce=.5;var ge=new go.PathFigure((te-b)*a,ce*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=re*b,te=0,ce=.5,de=new go.PathFigure(0,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee+ee)*a,(ce-b)*y,.8*a,(ce-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+ee)*y,(te+ee+ee)*a,(ce+b)*y)),de.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(z,a,y){var x=new go.Geometry,b=.5,ee=re*b,te=.2,ce=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(ce-b)*y,.7*a,(ce-ee)*y)),b=.1,ee=re*.1,te=.9,ce=.5;var ve=new go.PathFigure((te-b)*a,ce*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=re*b,te=.2,ce=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.2*a,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee)*a,(ce-b)*y,.9*a,(ce-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ge.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(z,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(z,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(z,a,y){var x=new go.Geometry,b=re*.1,ee=.1,te=.1,ce=.5,de=new go.PathFigure((te-b*.5)*a,y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.9,de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*a,y,(te+ee)*a,0,(te+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(z,a,y){var x=new go.Geometry,b=re*.5,ee=.5,te=.5,ce=.5,de=new go.PathFigure((te-ee)*a,ce*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y,(te-b)*a,(ce-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,(te+b)*a,(ce-ee)*y,(te+ee)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y,(te+b)*a,(ce+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Move,(te-ee+.1)*a,ce*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-.1)*a,ce*y,te*a,(ce-ee)*y,te*a,(ce+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(z,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(z,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(z,a,y){var x=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var te=re*.8,ce=.8,de=0,ge=.5,ve=(b-a)/2,pe=(ee-y)/2,Se=new go.PathFigure(de*a+ve,(ge+ce)*y+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce)*a+ve,ge*y+pe,(de-te)*a+ve,(ge+ce)*y+pe,(de-ce)*a+ve,(ge+te)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ce)*y+pe,(de-ce)*a+ve,(ge-te)*y+pe,(de-te)*a+ve,(ge-ce)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce+te*.5)*a+ve,ge*y+pe,de*a+ve,(ge-ce)*y+pe,(de-ce+te*.5)*a+ve,(ge-te)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ce)*y+pe,(de-ce+te*.5)*a+ve,(ge+te)*y+pe,de*a+ve,(ge+ce)*y+pe).close()),te=re*.4,ce=.4,de=.2,ge=.5;var ye=new go.PathFigure(de*a+ve,(ge+ce)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce)*a+ve,ge*y+pe,(de-te)*a+ve,(ge+ce)*y+pe,(de-ce)*a+ve,(ge+te)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ce)*y+pe,(de-ce)*a+ve,(ge-te)*y+pe,(de-te)*a+ve,(ge-ce)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce+te*.5)*a+ve,ge*y+pe,de*a+ve,(ge-ce)*y+pe,(de-ce+te*.5)*a+ve,(ge-te)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ce)*y+pe,(de-ce+te*.5)*a+ve,(ge+te)*y+pe,de*a+ve,(ge+ce)*y+pe).close()),te=re*.2,ce=.2,de=.5,ge=.5;var Pe=new go.PathFigure((de-ce)*a+ve,ge*y+pe,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ce)*y+pe,(de-ce)*a+ve,(ge-te)*y+pe,(de-te)*a+ve,(ge-ce)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce)*a+ve,ge*y+pe,(de+te)*a+ve,(ge-ce)*y+pe,(de+ce)*a+ve,(ge-te)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ce)*y+pe,(de+ce)*a+ve,(ge+te)*y+pe,(de+te)*a+ve,(ge+ce)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce)*a+ve,ge*y+pe,(de-te)*a+ve,(ge+ce)*y+pe,(de-ce)*a+ve,(ge+te)*y+pe)),te=re*.4,ce=.4,de=.8,ge=.5;var we=new go.PathFigure(de*a+ve,(ge-ce)*y+pe,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce)*a+ve,ge*y+pe,(de+te)*a+ve,(ge-ce)*y+pe,(de+ce)*a+ve,(ge-te)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ce)*y+pe,(de+ce)*a+ve,(ge+te)*y+pe,(de+te)*a+ve,(ge+ce)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce-te*.5)*a+ve,ge*y+pe,de*a+ve,(ge+ce)*y+pe,(de+ce-te*.5)*a+ve,(ge+te)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ce)*y+pe,(de+ce-te*.5)*a+ve,(ge-te)*y+pe,de*a+ve,(ge-ce)*y+pe).close()),te=re*.8,ce=.8,de=1,ge=.5;var Le=new go.PathFigure(de*a+ve,(ge-ce)*y+pe,!0);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce)*a+ve,ge*y+pe,(de+te)*a+ve,(ge-ce)*y+pe,(de+ce)*a+ve,(ge-te)*y+pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ce)*y+pe,(de+ce)*a+ve,(ge+te)*y+pe,(de+te)*a+ve,(ge+ce)*y+pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce-te*.5)*a+ve,ge*y+pe,de*a+ve,(ge+ce)*y+pe,(de+ce-te*.5)*a+ve,(ge+te)*y+pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ce)*y+pe,(de+ce-te*.5)*a+ve,(ge-te)*y+pe,de*a+ve,(ge-ce)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(z,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 ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(z,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 ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(z,a,y){var x=new go.Geometry,b=re*.4,ee=.4,te=.5,ce=.5,de=be(),ge=be(),ve=be(),pe=be();he(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.5,de,de,ge,ve,pe);var Se=me(ge.x,ge.y),ye=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y,(te+b)*a,(ce+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,(te-b)*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y)),he(te-ee,ce,te-ee,ce-b,te-b,ce-ee,te,ce-ee,.5,ve,pe,ge,de,de),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y)),b=re*.3,ee=.3,he(te-ee,ce,te-ee,ce-b,te-b,ce-ee,te,ce-ee,.5,ve,pe,ge,de,de),ye.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ce*y,pe.x*a,pe.y*y,ve.x*a,ve.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+ee)*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ce*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),he(te,ce-ee,te+b,ce-ee,te+ee,ce-b,te+ee,ce,.5,de,de,ge,ve,pe),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,ve.x*a,ve.y*y).close());var ye=new go.PathFigure(.45*a,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),xe(de),xe(ge),xe(ve),xe(pe),xe(Se),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,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 ee(te,ce,de){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+de)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+de)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+de)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+de)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(z,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(z,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(z,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(z,a,y){var x=new go.Geometry,b=.5,ee=0,te=0,ce=b*re,de=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,ve=1,pe=.5,Se=.5,ye=0,Pe=new go.PathFigure(de*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,pe*y,ve*a,.7*y,ve*a,pe*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ee)*a,(ye+ee)*y,(.5+b+ee)*a,(.5-ce+ee)*y,(.5+ce+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ce+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ce+te)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ce+te)*y,(.5-ce+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(z,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(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(z,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(z,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(z,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 ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,ce=.5,de=te,ge=Math.PI/4,ve=4*(1-Math.cos(ge))/(3*Math.sin(ge)),pe=ve*.5,Se=te,ye=te,Pe=ve*Se,we=ve*ye;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce-Se)*a,de*y,(ce-(Pe+Se)/2)*a,(de+(ye+we)/2)*y,(ce-Se)*a,(de+we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-ye)*y,(ce-Se)*a,(de-we)*y,(ce-Pe)*a,(de-ye)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce+Se)*a,de*y,(ce+Pe)*a,(de-ye)*y,(ce+Se)*a,(de-we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+Se)*a,(de+we)*y,(ce+(Pe+Se)/2)*a,(de+(ye+we)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Le=new go.PathFigure(.2*a,y,!1);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ee=new go.PathFigure(.8*a,y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(z,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 ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var te=new go.PathFigure(.1*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(z,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 ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*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(z,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 ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(z,a,y){var x=new go.Geometry,b=.5,ee=re*.5,te=new go.PathFigure(a,b*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(z,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 ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.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(z,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 ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(z,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 ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(z,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 ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(z,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(z,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(z,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(z,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 ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,ce=re*.1,de=.2,ge=.9,ve=new go.PathFigure((de-te)*a,ge*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-te)*y,(de-te)*a,(ge-ce)*y,(de-ce)*a,(ge-te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+te)*a,ge*y,(de+ce)*a,(ge-te)*y,(de+te)*a,(ge-ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+te)*y,(de+te)*a,(ge+ce)*y,(de+ce)*a,(ge+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-te)*a,ge*y,(de-ce)*a,(ge+te)*y,(de-te)*a,(ge+ce)*y).close()),te=.1,ce=re*.1,de=.8,ge=.9;var pe=new go.PathFigure((de-te)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-te)*y,(de-te)*a,(ge-ce)*y,(de-ce)*a,(ge-te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+te)*a,ge*y,(de+ce)*a,(ge-te)*y,(de+te)*a,(ge-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+te)*y,(de+te)*a,(ge+ce)*y,(de+ce)*a,(ge+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-te)*a,ge*y,(de-ce)*a,(ge+te)*y,(de-te)*a,(ge+ce)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(z,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(z,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 ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var de=.1,ge=re*.1,ve=.1,pe=.9,Se=new go.PathFigure((ve-de)*a,pe*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(pe-de)*y,(ve-de)*a,(pe-ge)*y,(ve-ge)*a,(pe-de)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,pe*y,(ve+ge)*a,(pe-de)*y,(ve+de)*a,(pe-ge)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(pe+de)*y,(ve+de)*a,(pe+ge)*y,(ve+ge)*a,(pe+de)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,pe*y,(ve-ge)*a,(pe+de)*y,(ve-de)*a,(pe+ge)*y)),de=.1,ge=re*.1,ve=.4,pe=.9;var ye=new go.PathFigure((ve-de)*a,pe*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(pe-de)*y,(ve-de)*a,(pe-ge)*y,(ve-ge)*a,(pe-de)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,pe*y,(ve+ge)*a,(pe-de)*y,(ve+de)*a,(pe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(pe+de)*y,(ve+de)*a,(pe+ge)*y,(ve+ge)*a,(pe+de)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,pe*y,(ve-ge)*a,(pe+de)*y,(ve-de)*a,(pe+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(z,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 ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ve=.05,pe=re*.05,Se=.175,ye=.95,ce=new go.PathFigure((Se-ve)*a,ye*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-ve)*y,(Se-ve)*a,(ye-pe)*y,(Se-pe)*a,(ye-ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+pe)*a,(ye-ve)*y,(Se+ve)*a,(ye-pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+pe)*y,(Se+pe)*a,(ye+ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-pe)*a,(ye+ve)*y,(Se-ve)*a,(ye+pe)*y));var ve=.05,pe=re*.05,Se=.375,ye=.95,de=new go.PathFigure((Se-ve)*a,ye*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-ve)*y,(Se-ve)*a,(ye-pe)*y,(Se-pe)*a,(ye-ve)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+pe)*a,(ye-ve)*y,(Se+ve)*a,(ye-pe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+pe)*y,(Se+pe)*a,(ye+ve)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-pe)*a,(ye+ve)*y,(Se-ve)*a,(ye+pe)*y));var ve=.05,pe=re*.05,Se=.625,ye=.95,ge=new go.PathFigure((Se-ve)*a,ye*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-ve)*y,(Se-ve)*a,(ye-pe)*y,(Se-pe)*a,(ye-ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+pe)*a,(ye-ve)*y,(Se+ve)*a,(ye-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+pe)*y,(Se+pe)*a,(ye+ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-pe)*a,(ye+ve)*y,(Se-ve)*a,(ye+pe)*y));var ve=.05,pe=re*.05,Se=.825,ye=.95,Pe=new go.PathFigure((Se-ve)*a,ye*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-ve)*y,(Se-ve)*a,(ye-pe)*y,(Se-pe)*a,(ye-ve)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+pe)*a,(ye-ve)*y,(Se+ve)*a,(ye-pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+pe)*y,(Se+pe)*a,(ye+ve)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-pe)*a,(ye+ve)*y,(Se-ve)*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(z,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 ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ce=.05,de=re*.05,ge=.35,ve=.775,pe=new go.PathFigure((ge-ce)*a,ve*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ve-ce)*y,(ge-ce)*a,(ve-de)*y,(ge-de)*a,(ve-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a,ve*y,(ge+de)*a,(ve-ce)*y,(ge+ce)*a,(ve-de)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ve+ce)*y,(ge+ce)*a,(ve+de)*y,(ge+de)*a,(ve+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a,ve*y,(ge-de)*a,(ve+ce)*y,(ge-ce)*a,(ve+de)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(z,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(z,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(z,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(z,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(z,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(z,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(z,a,y){var x=new go.Geometry,b=.3,ee=re*.3,te=.5,ce=.7,de=new go.PathFigure((te-b)*a,ce*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y));var ge=new go.PathFigure(0,.7*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(z,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(z,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(z,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 ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(z,a,y){var x=new go.Geometry,b=.5,ee=re*.5,te=.5,ce=.5,de=new go.PathFigure((te-b)*a,ce*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y));var ge=new go.PathFigure(.15*a,.5*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(z,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(z,a,y){var x=new go.Geometry,b=.5,ee=re*.5,te=.5,ce=.5,de=new go.PathFigure((te-b)*a,ce*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y).close()),b=.05,ee=re*.05,te=.5,ce=.8;var ge=new go.PathFigure((te-b)*a,ce*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-ee)*y,(te-ee)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+ee)*a,(ce-b)*y,(te+b)*a,(ce-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+ee)*y,(te+ee)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-ee)*a,(ce+b)*y,(te-b)*a,(ce+ee)*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ge.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(z,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(z,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 ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(z,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 ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(z,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(z,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(z,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(z,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 ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(z,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(z,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 ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var de=new go.PathFigure(.5*a,.1*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),de.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(z,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(z,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 ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var de=new go.PathFigure(a*.816,y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(z,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 ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var de=new go.PathFigure(a*1,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(z,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(z,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(z,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 ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var de=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(z,a,y){var x=new go.Geometry,b=8,ee=b*re,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var de=new go.PathFigure(a*.83,y*1,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ge=new go.PathFigure(a*.78,y*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*re,ee=y*.8,te=new go.Geometry,ce=new go.PathFigure(x,0,!0);return te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(z,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 ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(z,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(z,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 ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(z,a,y){var x=new go.Geometry,b=15,ee=b*re,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.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-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).close());var te=new go.PathFigure(a*.4,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.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-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.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-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),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-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),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-ee)).close());var te=new go.PathFigure(a*.5,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(z,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(z,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 ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(z,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 Ct={},dt="5.0",me={},be=null,xe=!1,E=!1,he=null,fe=!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:he=le;break;case"object":typeof le.is3D!="undefined"?be=le:me=le;break;case"boolean":xe=le,E=!0;break}}be===null&&(be={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},me.material_id!==void 0&&!E&&(xe=!0)),he!==null&&me.id===void 0&&(me.id=he);var ue="",ae="",oe=!1,ne=null,z=null,a=null,y=!1,x=null,b=null,ee=null,te=null,ce=null;me.height!==void 0&&(me.height=Math.round(me.height)),me.width!==void 0&&(me.width=Math.round(me.width));var de=function($e){return parseFloat($e)>4?parseFloat($e):5};Ct.setHTML5Codebase=function($e,ke){re=$e,Je($e,ke)},Ct.setJavaCodebase=Ct.setJavaCodebaseVersion=Ct.isCompiledInstalled=Ct.setPreCompiledScriptPath=Ct.setPreCompiledResourcePath=function(){},Ct.setHTML5CodebaseVersion=function($e,ke){var Ue=parseFloat($e);if(Ue!==NaN&&Ue<5){console.log("The GeoGebra HTML5 codebase version "+Ue+" is deprecated. Using version latest instead.");return}se=$e,tt($e,ke)},Ct.getHTML5CodebaseVersion=function(){return z},Ct.getParameters=function(){return me},Ct.setFontsCSSURL=function($e){te=$e},Ct.setGiacJSURL=function($e){},Ct.setJNLPFile=function($e){ue=$e},Ct.setJNLPBaseDir=function($e){},Ct.inject=function(){function $e(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ue=me.id,qe,Ye=!1,ft=0;ft<arguments.length;ft++){var We=arguments[ft];typeof We=="string"?(We=We.toLowerCase(),We.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=We:Ue=arguments[ft]):typeof We=="boolean"?Ye=We:We instanceof HTMLElement&&(qe=We)}Ke();function Ke(){if(!fe){setTimeout(Ke,200);return}ke=He(ke);var Re=qe||document.getElementById(Ue);if(!Re){console.log("possibly bug on ajax loading? ");return}if(Ct.removeExistingApplet(Re,!1),me.width===void 0&&Re.clientWidth&&(me.width=Re.clientWidth),me.height===void 0&&Re.clientHeight&&(me.height=Re.clientHeight),!(me.width&&me.height)&&ke==="html5"&&(delete me.width,delete me.height),ne=ke,ke==="screenshot")Ee(Re,me);else{var et=!1;me.hasOwnProperty("playButton")&&me.playButton||me.hasOwnProperty("clickToLoad")&&me.clickToLoad?et=!0:me.hasOwnProperty("playButtonAutoDecide")&&me.playButtonAutoDecide&&(et=(!ge()||$e())&&ve()),et?(ne="screenshot",Ce(Re,me,Ye,ke)):Le(Re,me,Ye)}}};function ge(){try{return window.self!==window.top}catch($e){return!0}}function ve(){return me.hasOwnProperty("screenshotGenerator")&&me.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Ct.getViews=function(){return be},Ct.isJavaInstalled=function(){return!1};var pe=function($e){var ke=function(ft){var We=JSON.parse(ft),Ke=function(Me){return Me.type=="G"||Me.type=="E"},Re=We.elements?We.elements.filter(Ke)[0]:We;if(!Re||!Re.url){Ue();return}me.fileName=Re.url,Se(Re.settings||{}),be.is3D=!0;var et="https://www.geogebra.org/images/";Ct.setPreviewImage(x||Re.previewUrl,et+"GeoGebra_loading.png",et+"applet_play.png"),$e()},Ue=function(){me.onError&&me.onError(),Qe("Error: Fetching material (id "+me.material_id+") failed.",me)},qe=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Ye="/materials/"+me.material_id+"?scope=basic";ye("https://"+qe+"/api/proxy.php?path="+encodeURIComponent(Ye),ke,Ue)};function Se($e){var ke=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ue){$e[Ue]=!!$e[Ue]}),ke.forEach(function(Ue){me[Ue]===void 0&&$e[Ue]!==void 0&&(me[Ue]=$e[Ue])}),me.showToolBarHelp===void 0&&(me.showToolBarHelp=me.showToolBar)}function ye($e,ke,Ue){var qe=new XMLHttpRequest;qe.open("GET",$e),qe.onload=function(){ke(qe.responseText)},qe.onerror=Ue,qe.send()}Ct.isHTML5Installed=function(){return!0},Ct.getLoadedAppletType=function(){return ne},Ct.setPreviewImage=function($e,ke,Ue){x=$e,b=ke,ee=Ue},Ct.removeExistingApplet=function($e,ke){var Ue;typeof $e=="string"&&($e=document.getElementById($e)),ne=null;var qe=null;for(Ue=0;Ue<$e.childNodes.length;Ue++){var Ye=$e.childNodes[Ue],ft=Ye.className;ft==="applet_screenshot"?ke?(Ye.style.display="block",ne="screenshot"):Ye.style.display="none":ft!=="applet_scaler prerender"&&($e.removeChild(Ye),qe=ft&&ft.indexOf("appletParameters")!=-1?Ye.id:null,Ue--)}var We=me.id!==void 0?me.id:qe,Ke=window[We];Ke&&typeof Ke.getBase64=="function"&&(Ke.remove(),window[We]=null)},Ct.refreshHitPoints=function(){if(de(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var $e=Ct.getAppletObject();return $e&&typeof $e.recalculateEnvironments=="function"?($e.recalculateEnvironments(),!0):!1},Ct.startAnimation=function(){var $e=Ct.getAppletObject();return $e&&typeof $e.startAnimation=="function"?($e.startAnimation(),!0):!1},Ct.stopAnimation=function(){var $e=Ct.getAppletObject();return $e&&typeof $e.stopAnimation=="function"?($e.stopAnimation(),!0):!1},Ct.getAppletObject=function(){var $e=me.id!==void 0?me.id:"ggbApplet";return window[$e]},Ct.resize=function(){};var Pe=function($e,ke,Ue){var qe=document.createElement("param");qe.setAttribute("name",ke),qe.setAttribute("value",Ue),$e.appendChild(qe)},we=function($e){return $e&&$e!=="false"},Le=function($e,ke,Ue){de(z)<=4.2&&(Ue=!0);var qe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(qe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ye=document.createElement("div");Ye.classList.add("appletParameters","notranslate");var ft=ke.width,We=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(de(z)<=4.4)we(ke.showToolBar)&&(ke.height-=7),we(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&we(ke.showToolBar)&&(ke.width=605,ft=605);else{var Ke=100;(we(ke.showToolBar)||we(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ke=we(ke.showMenuBar)?245:155),ft<Ke&&(ke.width=Ke,ft=Ke)}Ye.style.border="none",Ye.style.display="inline-block";for(var Re in ke)ke.hasOwnProperty(Re)&&Re!=="appletOnLoad"&&Ye.setAttribute("data-param-"+Re,ke[Re]);te&&Ye.setAttribute("data-param-fontscssurl",te),Ct.resize=function(){GGBAppletUtils.responsiveResize($e,ke)},window.addEventListener("resize",function(yt){Ct.resize()});var et=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!Ue&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||Ye.setAttribute("data-param-showSplash","false");var Me=$e.querySelector(".applet_scaler.prerender"),Ge=Me!==null;if(Ge)var Ve=Me.querySelector(".ggb_preview");else{var Ve=Ie(ft,We,ke.borderColor,!1);Me=document.createElement("div"),Me.className="applet_scaler",Me.style.position="relative",Me.style.display="block",Me.style.width=ft+"px",Me.style.height=We+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Me,"66%"),de(z)>=5?(ke.appletOnLoad=function(yt){var nt=$e.querySelector(".ggb_preview");nt&&nt.parentNode.removeChild(nt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Me),window.GGBT_wsf_view&&$(window).trigger("resize"),et(yt)},Ge||Me.appendChild(Ve)):Ye.appendChild(Ve),Me.appendChild(Ye),Ge||$e.appendChild(Me),setTimeout(function(){Ct.resize()},1)}else{var Ze=document.createElement("div");Ze.className="applet_scaler",Ze.style.position="relative",Ze.style.display="block",Ze.appendChild(Ye),$e.appendChild(Ze),ke.appletOnLoad=function(yt){Ct.resize(),et(yt)}}function Fe(yt,nt){nt&&typeof nt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(yt,nt.appletOnLoad):renderGGBElement(yt),Qe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",nt)}function Oe(yt,nt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:yt,params:nt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(mt){Fe(mt.article,mt.params)}),html5AppletsToProcess=null)},de(z)<5&&(yt.className+=" geogebraweb")):Fe(yt,nt)}if(qe){scriptLoadStarted=!0;for(var _e=0;_e<Ye.childNodes.length;_e++){var Ne=Ye.childNodes[_e].tagName;Ne==="TABLE"&&(Ye.removeChild(Ye.childNodes[_e]),_e--)}if(ggbHTML5LoadedScript!==null){var ze=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ze!=null&&ze.parentNode.removeChild(ze)}var ot=document.createElement("script"),gt=function(){Oe(Ye,ke)};ot.src=ae+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=z,ggbHTML5LoadedScript=ot.src,Qe("GeoGebra HTML5 codebase loaded: '"+ae+"'.",ke),!re&&(!se||se=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),gt()):ae.requirejs?__webpack_require__.e(12).then(function(){var yt=[__webpack_require__(12)];gt.apply(null,yt)}.bind(this)).catch(__webpack_require__.oe):(ot.onload=gt,$e.appendChild(ot))}else Oe(Ye,ke);ke.height=We,ke.width=ft},Ee=function($e,ke,Ue){var qe=Ie(ke.width,ke.height,ke.borderColor,Ue),Ye=document.createElement("div");Ye.style.position="relative",Ye.style.display="block",Ye.style.width=ke.width+"px",Ye.style.height=ke.height+"px",Ye.className="applet_screenshot applet_scaler"+(Ue?" applet_screenshot_play":""),Ye.appendChild(qe);var ft=GGBAppletUtils.getScale(ke,$e,Ue);Ue?($e.appendChild(Ae()),window.GGBT_wsf_view||($e.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ye,"66%"),$e.appendChild(Ye),ft!==1&&!isNaN(ft)&&(GGBAppletUtils.scaleElement(Ye,ft),Ye.style.width=ke.width+"px",Ye.style.height=ke.height+"px",Ye.parentNode.style.width=ke.width*ft+"px",Ye.parentNode.style.height=ke.height*ft+"px"),Ct.resize=function(){Te($e,qe,Ye,Ue)},window.addEventListener("resize",function(We){Ct.resize()}),Ct.resize()};function Te($e,ke,Ue,qe){if($e.contains(ke)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if($e.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition($e)}var Ye=GGBAppletUtils.getScale(me,$e,qe);Ue.parentNode!==null&&(!isNaN(Ye)&&Ye!==1?(GGBAppletUtils.scaleElement(Ue,Ye),Ue.parentNode.style.width=me.width*Ye+"px",Ue.parentNode.style.height=me.height*Ye+"px"):(GGBAppletUtils.scaleElement(Ue,1),Ue.parentNode.style.width=me.width+"px",Ue.parentNode.style.height=me.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter($e),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Ct.onExitFullscreen=function($e,ke){ke.appendChild($e)};var Ce=function($e,ke,Ue,qe){Ee($e,ke,!0);for(var Ye=function(){var Ke=[];for(We=0;We<$e.childNodes.length;We++)Ke.push($e.childNodes[We]);if(window.GGBT_wsf_view){var Re=window.GGBT_wsf_view.renderFullScreen($e,ke.id),et=document.getElementById("fullscreencontainer"),Me=jQuery($e).find(".fullscreencontent");Me.length>0?(Re.remove(),Me.attr("id","fullscreencontent").show(),jQuery(et).append(Me),window.dispatchEvent(new Event("resize"))):Le(Re,ke,!1),window.GGBT_wsf_view.launchFullScreen(et)}else ne=qe,Le($e,ke,!1);if(!window.GGBT_wsf_view)for(We=0;We<Ke.length;We++)$e.removeChild(Ke[We])},ft=$e.getElementsByClassName("ggb_preview_play"),We=0;We<ft.length;We++)ft[We].addEventListener("click",Ye,!1),ft[We].addEventListener("ontouchstart",Ye,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload($e),ve()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ae=function(){var $e=document.createElement("div");if($e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ke='.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");}',Ue=document.createElement("style");Ue.styleSheet?Ue.styleSheet.cssText=ke:Ue.appendChild(document.createTextNode(ke)),document.getElementsByTagName("head")[0].appendChild(Ue)}return $e},Ie=function($e,ke,Ue,qe){var Ye=document.createElement("div");Ye.className="ggb_preview",Ye.style.position="absolute",Ye.style.zIndex="90",Ye.style.width=$e-2+"px",Ye.style.height=ke-2+"px",Ye.style.top="0px",Ye.style.left="0px",Ye.style.overflow="hidden",Ye.style.backgroundColor="white";var ft="lightgrey";Ue!==void 0&&(Ue==="none"?ft="transparent":ft=Ue),Ye.style.border="1px solid "+ft;var We=document.createElement("img");if(We.style.position="relative",We.style.zIndex="1000",We.style.top="-1px",We.style.left="-1px",x!==null&&We.setAttribute("src",x),We.style.opacity=.7,b!==null){var Ke,Re,et;if(!qe){Ke=document.createElement("img"),Ke.style.position="absolute",Ke.style.zIndex="1001",Ke.style.opacity=1,We.style.opacity=.3,Re=360,Re>$e/4*3&&(Re=$e/4*3),et=Re/5.8,Ke.setAttribute("src",b),Ke.setAttribute("width",Re),Ke.setAttribute("height",et);var Me=($e-Re)/2,Ge=(ke-et)/2;Ke.style.left=Me+"px",Ke.style.top=Ge+"px",Ye.appendChild(Ke)}}return Ye.appendChild(We),Ye},He=function($e){return $e=$e.toLowerCase(),$e==="html5"||$e==="screenshot"?$e:"html5"},je=["web","webSimple","web3d","tablet","tablet3d","phone"],tt=function($e,ke){if(z=$e,ke){Je(z,!0);return}var Ue=!xe;if(Ue){var qe=de(z);!isNaN(qe)&&qe<4.4&&(Ue=!1)}var Ye,ft;window.location.protocol.substr(0,4)==="http"?Ye=window.location.protocol:Ye="http:";var We=z.indexOf("//");We>0?ft=z:We===0?ft=Ye+z:ft="https://www.geogebra.org/apps/5.2.814.0/";for(var Ke in je)if(z.slice(je[Ke].length*-1)===je[Ke]||z.slice((je[Ke].length+1)*-1)===je[Ke]+"/"){Je(ft,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ue&&!be.is3D&&!be.AV&&!be.SV&&!be.CV&&!be.EV2&&!be.CP&&!be.PC&&!be.DA&&!be.FI&&!be.PV&&!we(me.showToolBar)&&!we(me.showMenuBar)&&!we(me.showAlgebraInput)&&!we(me.enableRightClick)&&(!me.appName||me.appName=="classic")?ft+="webSimple/":ft+="web3d/",Je(ft,!1)},Je=function($e,ke){if($e.requirejs){ae=$e;return}$e.slice(-1)!=="/"&&($e+="/"),ae=$e,ke===null&&(ke=$e.indexOf("http")===-1),oe=ke,a="web.nocache.js",y=!1;var Ue=ae.split("/");Ue.length>1&&(!ke&&Ue[Ue.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):je.indexOf(Ue[Ue.length-2])>=0&&(a=Ue[Ue.length-2]+".nocache.js")),Ue=$e.split("/"),z=Ue[Ue.length-3],z.substr(0,4)==="test"?z=z.substr(4,1)+"."+z.substr(5,1):(z.substr(0,3)==="war"||z.substr(0,4)==="beta")&&(z="5.0");var qe=parseFloat(z);qe!==NaN&&qe<5&&$e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+qe+" is deprecated. Using version latest instead."),tt("5.0",ke))},Qe=function($e,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log($e)};me.material_id!==void 0?pe(Xe):Xe();function Xe(){var $e=dt;se!==null?$e=se:parseFloat($e)<5&&($e="5.0"),tt($e,!1),re!==null&&Je(re,oe),fe=!0}return Ct},GGBAppletUtils=function(){"use strict";function Ct(){return window.GGBT_wsf_edit!==void 0}function dt(fe,se){se!=1?(fe.style.transformOrigin="0% 0% 0px",fe.style.webkitTransformOrigin="0% 0% 0px",fe.style.transform="scale("+se+","+se+")",fe.style.webkitTransform="scale("+se+","+se+")",fe.style.maxWidth="initial",fe.querySelector(".ggb_preview")!==null&&(fe.querySelector(".ggb_preview").style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(fe.style.transform="none",fe.style.webkitTransform="none")}function me(fe,se,re,ie,le,ue){var ae=null;if(ue!=null&&ue!="")for(var oe=fe.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+ue+" ")>-1){ae=oe;break}else oe=oe.parentNode;var ne=0,z=0,a=0,y=0,x=0,b=0,ee=0;if(ae)ne=ae.offsetWidth,z=Math.max(ie?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),z=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,z=window.innerHeight,a=window.innerWidth),fe){var te=fe.getBoundingClientRect();te.left>0&&te.left<=ne&&(le===void 0||!le)&&(document.dir==="rtl"?(x=ne-te.width-te.left,b=a<=480?10:30):(b=te.left,x=a<=480?10:30),y=b+x)}if(fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=fe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return fe&&((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)&&(z-=ee)),{width:ne,height:z}}function be(fe,se,re,ie,le){if(fe.isScreenshoGenerator)return 1;var ue=ie!==void 0&&ie,ae=fe.noScaleMargin!=null&&fe.noScaleMargin,oe=function(ce){return ce&&ce!=="false"},ne=oe(fe.autoHeight),z=me(se,fe.width,re,ne,ue&&window.GGBT_wsf_view||ae,le),a=parseInt(z.width),y=fe.width,x=fe.height;if(y===void 0){var b=se.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var ee=a/y,te=ue?1:z.height/x;return re!==void 0&&!re&&(ee=Math.min(1,ee),te=Math.min(1,te)),Math.min(ee,te)}function xe(fe,se,re){var ie=1,le,ue=!1;if(fe.hasOwnProperty("allowUpscale")&&(ue=fe.allowUpscale),fe.hasOwnProperty("scale")&&(ie=parseFloat(fe.scale),(isNaN(ie)||ie===null||ie===0)&&(ie=1),ie>1&&(ue=!0)),se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(fe.hasOwnProperty("disableAutoScale")&&fe.disableAutoScale))le=be(fe,se,ue,re,fe.scaleContainerClass);else return ie;return ue&&(!fe.hasOwnProperty("scale")||ie===1)?le:Math.min(ie,le)}function E(fe){var se=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=fe.getBoundingClientRect(),le=(se-ie.width)/2,ue=(re-ie.height)/2;ue<0&&(ue=0),fe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(le<40?fe.style.left="40px":fe.style.left=le+"px",fe.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?fe.style.top="40px":fe.style.top=ue+"px",fe.style.left=le+"px")}function he(fe,se){var re=fe.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(fe)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var ie=xe(se,fe);Ct()&&re.setAttribute("data-param-scale",ie);for(var le=null,ue=0;ue<fe.childNodes.length;ue++)if(fe.childNodes[ue].className!==void 0&&fe.childNodes[ue].className.match(/^applet_scaler/)){le=fe.childNodes[ue];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(fe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(re).parents(".content-added-content"))}}return{responsiveResize:he,isFlexibleWorksheetEditor:Ct,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 Ct=n.location.search;return Ct.indexOf(J)!=-1||Ct.indexOf(K)!=-1}function q(Ct,dt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Ct){var dt=s[L].bindings;s[L].bindings=function(){for(var me=dt?dt():{},be=Ct[webModule.__softPermutationId],xe=O;xe<be.length;xe++){var E=be[xe];me[E[O]]=E[P]}return me}};var t;function u(){return v(),t}function v(){if(!t){var Ct=o.createElement(Q);if(Ct.id=L,Ct.style.cssText=R+S,Ct.tabIndex=-1,o.body.appendChild(Ct),t=Ct.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var dt=document.compatMode==U?V:W;t.write(dt+X),t.close()}}}function w(Ct){function dt(be){function xe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=xe();if(E){be();return}function he(){if(!E){if(!xe())return;E=!0,be(),o.removeEventListener&&o.removeEventListener(Z,he,!1),fe&&clearInterval(fe)}}o.addEventListener&&o.addEventListener(Z,he,!1);var fe=setInterval(function(){he()},$)}function me(be){var xe=u(),E=xe.body,he=xe.createElement(_);he.language=ab,he.crossOrigin=W,he.src=be,webModule.__errFn&&(he.onerror=function(){webModule.__errFn(L,new Error(bb+be))}),E.appendChild(he)}dt(function(){me(Ct)})}webModule.__startLoadingFragment=function(Ct){return C(Ct)},webModule.__installRunAsyncCode=function(Ct){var dt=u(),me=dt.body,be=dt.createElement(_);be.language=ab,be.text=Ct,me.appendChild(be),me.removeChild(be)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ct){var dt=c[Ct];return dt==null?null:dt},r=d,webModule.__errFn=e}function B(){function Ct(fe){var se=fe.lastIndexOf(rb);se==-1&&(se=fe.length);var re=fe.indexOf(sb);re==-1&&(re=fe.length);var ie=fe.lastIndexOf(tb,Math.min(re,se));return ie>=O?fe.substring(O,ie+P):W}function dt(fe){if(!fe.match(/^\w+:\/\//)){var se=o.createElement(ub);se.src=fe+vb,fe=Ct(se.src)}return fe}function me(){var fe=__gwt_getMetaProperty(wb);return fe!=null?fe:W}function be(){for(var fe=o.getElementsByTagName(_),se=O;se<fe.length;++se)if(fe[se].src.indexOf(xb)!=-1)return Ct(fe[se].src);return W}function xe(){var fe=o.getElementsByTagName(yb);return fe.length>O?fe[fe.length-P].href:W}function E(){var fe=o.location;return fe.href==fe.protocol+zb+fe.host+fe.pathname+fe.search+fe.hash}var he=me();return he==W&&(he=be()),he==W&&(he=xe()),he==W&&E()&&(he=Ct(o.location.href)),he=dt(he),he}function C(Ct){return Ct.match(/^\//)||Ct.match(/^[a-zA-Z]+:\/\//)?Ct:webModule.__moduleBase+Ct}function D(){var Ct=[],dt=O,me=[],be=[];function xe(fe){var se=be[fe](),re=me[fe];if(se in re)return se;var ie=[];for(var le in re)ie[re[le]]=le;throw r&&r(fe,ie,se),null}if(__gwt_isKnownPropertyValue=function(fe,se){return se in me[fe]},webModule.__getPropMap=function(){var fe={};for(var se in me)me.hasOwnProperty(se)&&(fe[se]=xe(se));return fe},webModule.__computePropValue=xe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var he=E.indexOf(Db);he!=-1&&(dt=parseInt(E.substring(he+P),$),E=E.substring(O,he))}catch(fe){}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(Ct,dt,me){"use strict";me.d(dt,{Ax:function(){return he},Ds:function(){return fe},KI:function(){return re},SI:function(){return E},f1:function(){return xe}});var be=me(11320);function xe(ie){let le=!0;if(ie.length>0){for(let ue=0;ue<ie.length;ue++)if(ie[ue].compile_success==0||!ie[ue].compile_success){le=!1;break}}else le=!1;return le}function E(ie,le=""){let ue=[];for(let ae=0;ae<ie.length;ae++){let oe=ie[ae],ne=le?`${le}/${oe.name}`:`${oe.name}`;ue.push({title:oe.name,type:oe.type,isLeaf:oe.type!=="tree",key:ne})}return ue}function he(ie,le,ue){for(let ae=0;ae<ie.length;ae++){let oe=ie[ae];if(oe.key===le){oe.children=ue;break}oe.children&&he(oe.children,le,ue)}return ie}function fe(ie,le,ue){let ae;return function(){let oe=this,ne=arguments,z=function(){ae=null,ue||ie.apply(oe,ne)},a=ue&&!ae;clearTimeout(ae),ae=setTimeout(z,le),a&&ie.apply(oe,ne)}}const se=!0,re=be.Z.API_SERVER},93137:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return we},U:function(){return Se}});var be=me(67294),xe=me(55054),E=me(14446),he=me(9430),fe=me(51959),se=me(15835),re=me(27484),ie=me.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"},ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3T0Q64yjLQFkVuHREqttRXfkYVa2nO3fcrmGs7qhe5CXAHeTyR7eSpmHJvQxWH0dqLJSPgXQjpFuIgTe4ISLT42ia8XKXe+vNRzWahnHwLwHuYID7ERWkWUk540k7yNZDZi6kp0OqHIa2RFT1OSa+/H2u7kP/MYxzflQv8hLgDga4X5Ghi6epYAJpIAtk5kB6JpRlIWqPqBp0THrlP7v6D/37UY2mYRz8S4A7KOBmZNjzdAK4lACXhuwCKJ8KzgOuetAx5cJ/drkPvAS4g5zPlwB3MMA9NSPDQ08/TbkxXAYyx0L55MSHi7ZF5Jxj8nn/4qrf9/Fh3ORH9SIvAe5ggLv17Czttz9FJvIMl4XssZCelAAu3x5Rg2Py+f/qqt/7saMaTcM4+JcAdzDA/ejUSrhHgBsf+3CVVZBZ5AEnkyqGwzH1wg+7ynd/dBjn/Khe5CXAHQxwd51ayYZ7nqLCAy5bA9mFkJ4IKfPhIjHcFa768n87qtE0jIN/CXCHCrhKySLzPeDkw22PyOUdk87/iKt+z1XDOOdH9SIvAe5ggLv/VVWs+sWTBYarrIGKBVAhHy4L+R1Qk4cp53/EVb77JcAdqVFqFK09F8bMyJNJl9G/fv36il9PnOh6jqjbP8JFvz23it03rdjrw9UmgCuf6HW47ZADpp6/zFW+68ojav/9zvRHO48tp2JxnqraiN5tKbI3O+c2jsa+jjjDRdE9tfTs+hplba+joimFK4dI0V73vQOp/Hsr3IR7RuNEHGib0a1n59hy+wqy0bgkaKhLdDj5cIpS2QHVeZh63jJXefkRBbgoujVNvvzTDLW9lfKqeoYiSKVhqHv1UKr3g2k358cjfa5HFHBRdH85O1b9F2VDb6OjH8qrI1IVDpeNyGYc5anVwNmu8rQ1I30iDgi4x16f45Efr6AyGhcLv5XVkD0e0hMglYGhdshFMO38K13l5cuOlP1eFi0r+8iO2Z+nvOo9dA0BZVFSqlEG6byjqnYXUdVZLnfKwyO5zyMLuBXvX0S+4gEG8mVk6h0VjZCqAVcN+V7I5SHX/PMHKhr/arFbPDCSJ+KAgPvVBbXs+s1yqvJtCcM1QPYYD7hKyG9LADf1/Ktc5bs/ciTss/Yh2v29C+mNbmTHlhSpCMrKHeVNybkebIfMDqhr/OaVn7n0smXLXH6k9ntkAffQWe9kx2NfoawhonKqo7weUpMgMxnKG8H1QUNdRKb2Ulf5im+N1El4ru1E91xQy6rfLCebb6NCqa1myM6H8vFQJsCJ4YZg8rlXuer3HBGA64p+2Vq9fdcd7Noxk96tMNAOQ7sgVQeZCRANQH6lChFWMeOLs5xzgyN1rkcWcLdP/QBbVn1aNyBZHJUZqD4JcqdA5Qwor40oU6lPaztVE09xbsEzI3UiDshw97++jqd+8kQMOLlsla2QmQflbT5K3R6hXOqRwnAKdHb84Kv097+DHWsiBnc6+lbDwGYY7ICoHxiEdC8wbx0DN01zS0sVcN/MLWVL1y2UE9GMowGobYTcUsgdD1k54mVQCdQ03XhbZfaNS91SnZlR+4keOreaR256MvbhyoGqasjMgvQUSFfJpEZURY4JF17pGv5h1H24qPcnr6Sz/6fsWJ9moMPRtxb6N0L/JuhbBf17QJhTqVXTOTdf/IWbzrvuOicnb0R+Rpbh/os61vA7IhYzFmgB6gW6OZA7G6rmQsUYoAca6xURXuYqzvn6iJyJA2wkWkYFtTxNJRPjG0ESiCpG0k2QrpSzFJFpdEx666Vuyoe/OZr72hn9qCW3Pfo9HTtn07s1on+ro28NDOyAgQ3QuxZ687BHTD0xT/0rX+fO+c+fjuQ+jyjgYmf2U5lz2dGnKrMUrR50tRVQswSqT4aqGZDORbg9jsaW7eSmnObcohUjeVLCbUWK7f6p7Nv05N9CLVAn9vV1cQoiIiJyU/ppe+sxbsmyp0drP+Nzu/PHX6Kv992xKR3a7WKADWyF/m0wsBp6O6Fbe5x1VJ154201v3nd0hE0p9rHEQdcfGI+VPYl8vl300REC44msVwL5F4G1YsSx7YsgioHVU03Pp2b9YYZzOh3o9SSF72J41nBnfI6mUJEHY5aotjE1mYc40/5CpXveo+7+OIRM03FwI4GfnEeO7t+yY61KQZlNtclZrR/JwyI2TZBbxQbD2oWb6P1rae7k9/95EjfIKMDuGWMocP9gUw0g1YPOjFH7XzInelNazPQHdFQ76hqudRVnDWq5iqq5BJ6uJoqGuNoVf5nq4Mzxt/Aa5b9rVty6Y6Rvni2vSi6von2wbvo2jGL7s0wsB3610N/OwxsS3y33r6E3TITHQ0XvMO97GtfG439HRXAxSy3LPVq9gz9lGrKCqa1Jgs1p0HuRMhOg3Q1lPVAQ/PWrprWpTXulMdH4yQVLizMBd4MnAlsYUbqh7znf93o3vOlvlHdr87rv0B393uTqNQHCjHQdkD/6uS1h4h8haP6nF9x0Wf+0rn5Ch1G/GfUABeD7p9TX2Fo6J2xaR2Do1F03wI150C1EuRS84moLnNkG294oGb9xSdw2eBomdYRvzrD2GA0+LOL2L7nZ+zcAIO7HP2biX/Fcn0yqxuhJw+K9WtO3sGEt53hjv/7UbtxRxdwX6SFde5e0tGUOGpVgKqotWaej1pnQblMa29EU4Mj1/b3LrXkv4ZxHY6KRaLo5820995F5/aZ9GyBwR0JyBSV9m2B/pV7TWl2oqPmVZe7V3zl6tE8OaMKuJjlPp55NTv7rqfaR63CV10WqpckprVyemJaUz1Q17yls7btzFp38og7u6N5kQ607ajzhqvZs+dd7FgbMdTh6BXYtnh2Wwt926EnSkxpzYW/5cKf/oVzblR1zVEHXAy6/5O6hvzQm2gITev4JIDILUwEYYnhtWnINH3P5S5405EIgJHcp6j7J6exu/tWOrakY7+tX4wmgVfstiGJUnuGkqi09qQOJrz9THf83z80kvu4v20dGYD7euUEnuq5izQTY7Mam1YHuUVJEFE1R2kvGNwIufTu/raFp2TcectH++SN5vajp9//Hfq738JAOiJyrsBsAlzvU9DXlQQKFeMcuVf/b3fuf35KmqJzjOq0pyMCcDHLfbTyDezuuZZqHK04YtNaCbklUDk/6QHtXxfRUOaom/fXruVfrh3NCz6a246iKMPNY26iv+MMyhsg0wKpHAwNQv/WxI/ryUcMlDvqX3UL5//kVc45jeEZ9Z8jB3ARKf4l9X/JD72RRq/NSevKZiDdClEFDG6PaGxxNF70Fjfzs9eM+tkbpR2Iol9l+MZrbmGwf0mcbqtWqioN5Ro9MQh9A9LcoO60LlrfssQtfscjo7Srz9rsEQO4mOW+Wj+FNbv+gGMczZJDcHGFhgoftadSjrJ1nSx4z2lu4b8dMSdx5C9m5KLLU98nlX8D9SR9sUq7VUGc/RiUwDveUXvxP7lXfF7VOUfMzxEFuBh0y3KvZWf3j8jnU1SgTKaLT6J8jyEll8b+0C3bfAkc3ZMno79gCc9wG22UM5GIel99I9A11MP4i25ZP++ai460PpEjDnAQlUX/Wv82NnZ8hp1RPRuStoFYuGzlThbyBvctRqUB5IihCb8jEbyTFJ+lIc7xwjwHs1pg6im/JnvM37q/+vimI22fj0DAxTznon9w81jHRTzFfFbTxW4eAH7ooGskTuJl0WXl//V4OsPd21SeVEFVWzNRahwDla305ZvopYfe7i0MDW2mx22msqOD2W2DTOnudTNHLtUVwSmUcS7HMpdTGzcy75y7r2v50c8uvtiNSurqYNfmCAVcsNuRuj5ik/qi1d1H0bIyPnNXJdmauXS6E9jR20ZtVsV589nTP56BgTRl+RSD/WnyQ+nYtLuUxq0OUVk1QDozRG0uT31NB7mqFfS5R6FqHWNyT5IevI/8ozvchS8iCCPc66HsOhflj3RX48gH3MFumef5eSQgf/68xWwYOJls5VJ2DZ3KUEVtPDxkSEPgKohbGF0FDAxC1x7Y3aHXiMG8oyINLc3Q2AAtTZCthEw5ZCuSyLq6GiqzQ2Syu6mvXg/pnxMN/JHuzbe68y8etcqS53m6DtvXji7ARcvKos/ddQrd+aV0Rm+gu2wq/dkcg5Xg1G9aDzWNEbkaR1VOgIG0pIYItm2Hh1fCnatg+x7IVcKZk+G4GTC+lbg/Qz/5IRDR5KNI1Zmk046qKqhTBXOF/r+BVP4P9Oz5CWU7fueWnH9Uge+oAFx07TljWc357Bz4e/akFtJZXkVvFZTVQ21zREOLo6EhKWuvqYVcFVRlE8CJySIH7Tvh93+Ea++DTVuhoQZevQBecTJMnQAVAuYQ9Et87Yde/fYmyfO+Pn0WUZZSX6uLo8hsFoYGVkL+13Tv/p674Oy7DxuNHMErKmnARZ86YTrb+95OR/YNdFVPZ7eGQNdDrimiaYyjuRmaPdAEtvoaqM0lYJNpTKchlUo0wO4+ePhJuPkueHoDjKmF04+DU0+AMY1Q5sRqMJRPTHD/QAK2nl7YvScxyXv2JP8XMF06Mbu1teBcP9HgTZTxRV5x8u+cG7k+0ZHGZkkCLvrsiRPZkn8vHek3sbNqLF11kG6IqGlw1BvA6qBJ/ldj8iqw5dSRVQ7l6aR7TCCSWVS40tcPqzfA/Q/Dhi1QUwUL58KC2QlIU2V7C/a1vCyqgDU4lHx3Tw90dMGO3bBrN3R0J6BMpSKyWUdtXbLNVNnNVFZ+0p11zO9K8Sk3JQW46LsLq1mTvYy1qQ/QUTeOwWb1REBVTWIeNaahqhIaa2FMk3f666DO+2syi8554Aho9ptPmGn7Lli/BTo7IFMBY8dAawvUqnwqlYAuBo3WYQB0e8EnM9vTk4Bu245kfbu6YGAoMd1VVRHVNS5m1lzNjTSN/Te3sEVyUMn8lAzgomXHXsi26qvYVXcCbiLUtURUVrnYb9KPAJFRCXsuMYGKLBvqEn9NDr8uuEASO/7y92PHfy9YYjPpfTOxloAl0Mn0VlQkYIt/JZe4ZGhM2v/fgCi2NMbr7ILtO2FLO2zbCZ09yfaylRHVWaitd9TUdVNf9x/0V/+7O6WpoxRQ92cPuOjqOU08Vf9RuhovxU1JUzc+ojLrYpOmiyvzFk8NksOehboaaKpLAoTaGqjSkOiMN4liJm9GFShYJU8ccIrt8omPpvcFTgFLwLO/Y3bU+5oZI+BpcIx+5QuW7TXVQo7MbW93Yl637oBN22DrLugZSJLwtbmIXLWjeYzY7lGqqj/gjh33mz930P1ZAy76x/kn0j/+PxmYfDx106GyMmLLdsdAT8Jk+TIY9D6YLrrMqcynwNZUmyxTLf1MAYKCAw84vQpgBcB5n0wMVCgn86a38B0Br/g9vz4BU5/FAEwlwNOrgKmbYk8HbN4OG7bCxm3J331D0NYCY5sjGhsddQ2DVOWuoi31GTdx4pE1R+8Q7oL9Ay6K3JHusEbvO+FyusZ/jKYTamgZD9t3R9z2qGPFephVBcfOgCib5GB1oSXGytdqqE0A11gDNWK4LJR7NorZTT+JhBabuIKJ9WAzzBXApSyI+WwypQY678PZOuP15T2QXQI6mWMFKapD6N4DW7fDmnXw2NNwx1OwGzhtFhw7NaKx3tE2Xqb2N2zb9HfuvJPWHcJ1PmIWLQAuiu5qzNNwWRlNr2MgXUm6qh+X+lEv266tdOOOnHlty8iy8owvUTP/UiYsgNq6iKfXO35yD6xdDWVpOH4MzNTQ52oYKk/8tPpcAjb5bXXVCbNVVkK2PPmO2CYGRQAMA4hMsnw6M61aTmeuYELFXp7B4ug2NLe61hY45L2ZH0pMqsy8ApUC6LqhfRs88ST8+mG4c11i7s89Bs6eB031MG685pssJ1f1d+7YyXceKUiKoqhsiEfOT9FwGfncDJ3QfFn5I2Vs/aJzUwoaYwy4KHpoDF1rrqMsdSb9uWSyo9I6WYXquXWkMt+E/Deda1o/mgcYfaKugWeO+yYtS/6SCRrs7CKeWe/46X3wlKZBDEJ5HSxogvEtoAHQuVpoEaNJZ8slGYK4qDOVZBFCdpN/pl/z1QSKgv9mfpz8N38WzJyGJrMQrfqoNZZLPODEmIODyTb0aoGJsaXe29MJq9bAfSvgwc2wdQ/U1cFfLYCZkyThRIwZ4xjTupva2ne6uS3fH81rsiyKyv6Vx89LMfh+erpfTr/OmfdhxdwVrod0/r0ufVo8I8ZFMp8rr/4eFalL2NMekWlxpPQc0Kwc34iKnCM3HtJ1qxPg7f6mc1NGvOwlWtYwiW2nX0PrGWcyfkZEb7dj1Qb440q49RkYUoZIIMrB3AYY15TIFm3NMKYhCRAUjQpoMQh8VBmbPAOEB5yAFou4/tWi1UI3gFFcMlAy/kem1FguBp0xnplr7wcWol9fiyAfTttRla5kk+5u2NYOazfCrj2JH6oouK0pkXPq/e+YZmib0E9P33vc0vkj3jop3Azy1DnpqOsD9PScF09l6tyhwZLJyUlpdp4KVnZDfUtnd23Dy6rdufe7aN0HZ7LhsbsYGGimqhkyYyE9DiqaIV2ryYk6n3uBV16/krL01+na9S1XM2PrSNxd0bJJ09i15IdMOGsxY8dH7NrpWLEGntwEa3bD050wpOb3IaitgnlNMK0VJo5NwKbgQP6SgFb4CdzXOAL1WYKY3XxEGvtrntns7/CAzT8Lg42CaTV/znQ5i4CNHYMVCYSSXQS4Pd1JkcBgL9RWQqsel5mBHV2wsyMBptyBpvqIxgbHmHESlv/RnXvs50biWsSlY9Hysxjs/QB93Rcy2O3o2K65c1H8t2bQDXUTk5b6LAa2RlR3OFJNn3HjP/hBF9016Ry2bvodgwMRNTlHtgUyM5PfrKZTjknGosZ+Th4qpMhPUBfVGlKZr0L6a87V73yxDjZ6//SJpM68nklnL6apMWJru+PRZ+DxjbC9FzoV5WkE1RBUlsH0Gpg9Bqa0QrNManXioMdgM8kjCAgMbAJaLPTKVwujUv93HEgEUonWFZrW2F54ltMHBclEBFgUre6znPmDul/ySQqtrwfKIxjfCON082ehvQPWbYZ1W5LcbHVVYl6bGqG5zTE49D738gUv6uMzo+jR0+jv/SB93a9iqKeMrl0RQ30uHpc7IAFb0fWmpDdWrF8+DvIdkNoC6Vnfdwu/+iYX/YrjWMVtDFEbD2hRQ0bWQeW4ZLRo5exkmlEMPKVwJJBGEeVVjpyWaXwm77Jf69jV9LWGBndYn4gcva++nvTrbmDGy86KTeKGTfDgk/D4VuiK00KJziXpQ78NGZjaDFPGJGCTgCpNq1j1L7CWl0wMbAa+OJ3lI9UCs5kZDcypjwdi5BWCiIDJYqD5KLmYBcP3Y3B69KraRL6cZgQ2VsG4sUnJ+JBL9Lpn1sGm9iRdZqAT04n5M7WXuZPHf+Nw3/wD0cNnpgf7L6e78zXke9N07YjiqhiBbbAz6YXVLBONmNC0TQ3PGdijdCK4fEQ2cqQu+k+35Lv/y0XRZeV84pu30z10atyQoedGaf6ZauM1eK9yAmTnQXbGvsCL79IoMbV1E6G8ZXneVXx+BwPfb3EtnS/0oKMTKOf0t36Xea94I42NEavWOv7wBDy8OQFQSw6aqhM26h6AgQForIbJLTBGYKuEcplR76MZOEzWsAg0BlkYmRrQvCkND6SAOf9HwSqbfrefYCJkvnhXfARrLGevxoJaRp1X8us0pUnyzbjmpLxpIEo0uqc96LSMhOxGmdcmx4SpXVRkX+uOG3vTCz3/STC5fDH57svp3XMx/Z1ZOndGRNq3fhePBBvcCX2aP6cm7A3Q9wz0i+VEAD7ilzvWMC9i/CWvd3M/fH0Spf5H3Tls67qRoaFqKj3oNOlRv2pDk3Sg7vfKAHixj6fpRjJVA5CthdpJUFH/8BADH0m7qTc834OOllFG59u+ysyzL6NprMAGNz3s+NMWqMvAnFaYOja5w+XzbNyRVGPUVyXOtaLRuNrDO+xm+wpZBPPNAtNpeVPT4GIZxMzpvnpvwTT7YuSE3XzwUPi7iPVii27isGc0Y8XCZ/6MxVGsBj8PQrYMWuthQltSWSJBWPlcgU4pMe2DSqUafPTaMGYVRC93Z8xa+bzPf/ftE8lUfIS+wTfS31kd+2j5oYi8gNatoTnJkMN4fsma5LevHfrli6rQIe5BiehXf7Fcmwuuv679W5eo7N3fo5GLvjLzdeza9kl69kyNKb3Kt+nJxIrxYuBVQOUkUPV1drpnvObE1MYnbwiyqiWry5N2H3cVp1/xfATk6IOvfDuTL/oGrdNhzVr45f2O32+Btmo4dTIsmA5tYxLTs24jrFiXRHRVFUnZUIMA52vZLCK1ixtaxmLJw8ReXztZEIDju3I/zv6z/LggU2GMWmxqC/6b+XYFu5xsQMyr45KfNtCfuAz1lQlzC3QqDO3qhTWbiKP07R0JIUg6aaiPaBvnyFTfS1nVeW7p1EN2caKe30yld/eNOLeAjl4PtEHHkIYcynRqBJj8SE1mEtA0qckDTUGpciACG+WOypkRk5d8j76z3+UufFOcC94n0xBdc0Ibuze+m46uv6W3d2x8l4nx1B9qZlamVvJCdgpUeuBVjIeKJiiv8cnudnXND5LJXORybzik/F/0nqUnMO4VtzBzcS1btkT87F7H79YmA26WToOT58OsqUmGoH07/Gk5PLIaNu2GynJoqYZmsW1VorcpKW9a2D6pK48iM6nmv+3Dal5zO9BwhEJmwgIIT2/xWbVAwQcTMQEGnxciXH8VLGBRtBqXM/UmFSraL7H6hHqYNg7GtSXl7Ns74Zm1sGYL9PQl56Peg27iZEdZ5stu6ex3HwrLPRb9qGLe6o2/BvcyBohIVyUBgaZoitE04FAzS/pWJqZUN4ZAljBa8quezswkqJ5zE7WLPu2+/bFbCIZW7ze1FV0zfwadnZexu+tt7OlqZqjfTxb3QUXB1KrkZ3LCeJWKbPXsgjpFKxEsd5RVX8ecL7xxuAWF0ZupZu4HbmXWy0+kY3fE/7vfceNyiMrhrCmwdBEsmAVjmxK9Sif8/sfh3lWwWiPhI5hQBeNroEWgU19BZq+4axmAECjGZsZ2ifOyl9GM3YKs194SJruc/sNCaZM3n+a/PQts4b1uFSnejPb0Q1cP7OpOaujkp9WWQ1sdzGiDaeNhrIYjuyR4eHINbJIGGSV1eWI6+XRj2oaIyt7szlv0g+GCLnrwdefQs/03DGXKyM1yydBsMa2CFPPRNA19IAGazKdAFg+RkNsVA+026ud9evFPP3XTA19zz3q4y34BZzsYff34uXR1vIs9u99E7646hqQBBaZWwIuDC6WJpiXj5DV1WUNn9twPNW2PMf6TZ7jJFw1LNomWvf0TTL/gQ1RkI+74o+N7D8KuXpg/AS46Hk6cD1PHJX6jEt2PPgV3PQq3r02qanXSxWoTczClDlpqkvkkMq8mjRQKK4sOPQRZIXEfLBPmRENgxSfLABewmTHcPhGsLeuZs1D+ZDpcH3SoXk6Fml2wuy/JRuRS0JaDaWMT0M2YAA2NSWXJyvXwzAbY3ZmkwRRE1NVGNDc5mlrW0DW0xP3F8cPq442+ln0r1b3/TcZBjZ64Iw2wce+8Epl5BQNitMR0QqSc8GSomnU3DQv+ffHaT/76gXc8G2hFt+Zz3wPR109eSOfmd9O5+xL6OnNEQ4mPp4g2DC7SFcmD2vq7YI/u3Po/cvI/n+Xm/O+DRq3Re889mXmvvpnWOVU8+qTjO3fBk5vlDMOF8+GsE2DetCQPuqsTnloNf1wBv1sOT0j30W2mcFOVGFUwqRamKK1VlwioKkOKswzSEwOn3cCyj7DrMw8mVZiuFjKWAamgkphZ9UnZ0KwW/vaAM0DHArP6IHyWQWCTqdzSBZtVL6foOw91KZiUhen1MKsNZk+EyeMhUwXbdiUst14mTmwollOpfG3EOPlz2e+6Vxz3N8Nhuej9vIU6vhOrFRqcbdPaNSrbgCb/rBvHkMq9pkDtvPuom/2Zxyd++ob58w/eC/ucDFe8k9FX5x3Hnl3voavzjfTvycYOrhhPwFNQoTHyIlENL96Jo6PsW+6LQ5cerFcyej2VnPSvv2HWmWewY3fEDXc7fv4Y5B2cMBVeeTyctBAmtCTmbu2mhN1ufxRu08MuVFYhhtNP/AS2JHE/rgZmeqar0UPZfORaSG8FjBSDwMqSAqG2kIi3Wjcto9Om51cFkksM9gNkMkIGtG2IuQbzCdjkg6kAMwZbJ6zphM19kNfJjB/MBnXlMFtpuxaYNzEpTlB6S4us3QxPr4UdqkTOJEUKOckldRGtbYNU1lzszpx9UNUgejuL2cYdjKOSNkimywfXVWAbKHOxG1W38BEaZ3969bRPXjd16vCHHB4S4JILGrnoa3NPZceu99PV8WoGe8qJ4i7PxK7ruu/A0es20xSd4/6bg86Tjf75zX/Hgou+RlV9xP0rHN+8M+mMqmmEVy+Cs8VuU5M+gp2d8MRKeOAJuOkJWC12E+DE857h4gk4VUn0PLUWpsqvUTlSdm/tWyyZeMDodR89V2kpr5epjs7klX2Cj2I/zNjL4z6MagVmC1gEOMvTxuksga31y7p1AAAgAElEQVQ7MaFbOmBNB6yWxqXj0Qm1/u9yaK2CObUwrxXmTYZpExN3Roz/5NqE5bRu5VsllNfVJIn+mrqH6Bta4l61+KAju6IxfIWxvJOZRIyPx6ZFMehSzlHRKh/taVpP/DIv/8A3nBtzyFMQngfg9vJe9OXpS9jd8Y90dV5Ed38FHerfdNBb+T/UVXzQ/Xjn7w9G5dGHTm+g9VX3MuPEGWxuj7jhLscv/BMV50yB156YsJvyorpwqzfBQ8vhtsfg7jUwuI1k+oNNNhDNCnBqZlavQg5m1cG4XKLPKfugyNVYLhZcg/4Dky2UxZDfZ+VD8fIepLH26AMLT3bxcQob+9S/BSJyHDh4Hc6qRuR8xwFCJ2ztgPU7YZXYTbgwwInh4vILcBmYnIMFjTBvAsybkhQoqCdi9UZ4en2SGsv5ymbV+wl448fpu+9yFxz3lYNeD2mg3+OTjOPvmUSOiRni7rbW2StIjf8Wdcd9w53//ufdS/uCAFdgvM+Pm8NQ+2L6Wmrprvwjs5c85N5yjdm45zzG6Kp3vp/5F3yWQRfxwIOOe++FB6X11Cc1YOedlESmqpTQhXliFdz3KPxqOWxV0YriEW0qvtpJx3wMOM9yAp2i1qnKTOSgxtfAqQYtLgMvynvGmQDlAVNed/SsqOVjwAW1cDH5ePaKGdJXiMRm0+dr45InT3dx4JJKWEj9qwKHOrl0XNs6YMNOeHo3rOuESB65aQ5Gv3LQK2GeZ7kFU5MgqrIqSXs9tRa26nxIiNepyMC4KTBJPR4NzzDUe6K76IyDB3B6QNybmc6s1EmMmdREw6kPMeW8x9zJf7P9YIA92OeHAXAH28SBP4/ed3Y9s/7iISbMn8Td98Ndv9Wzq6CnCoba4ITj4eSFMGtKkhNdvynpDb3pEbj3meTRkSgesTnJ8t90pgU2KdZVUF4FE6phrO56TdRURC0B2wPIzOU+VR6e3RTxxt1eFb4fwfeomqtm7GbmUiZXJth8Ofl6lqeNiy19r6tALQdffttu3zq4fTds2QXrdsKTu5Lu/jgUNP1BG9OGy6GhGhY3w6LJMGcyjG1JdDtFrCvXwO526N4Gq3fApLlwwVkRM6apoegf3PknfuH5X7EX/s3RBdyV77ychRd+kQ3bI778bccz98FY9Yqq0HAGLDoBFi9IEtgSQxWZ3vMo/OJx2KFaUDG7LoxCKF1ogU06jX5rkkbjSTXQLJbyZlQAkzKv/8u0isn28dF834HekzkV2MQUWq4gHPsTH2YR4vZAb3YLDdRliRug7yk6lkNvEo2YT5qbtDaBTQ00ah/ctB1W7YCVHYm/WgCdPVVJ26iCuXVw4kRYOAOmSP8sS4Kpx1bAmqdh8yZ4ROeoAi55PbzydEkpyxmoWOIuWnhwlnvh2NrvGkYNcNGbx1Zz0j/+kYmLZvLdG+H6byfShmZ8jJ8H8xfASSfAonlJk/LO3fDQCrjlEfifp2FI5lTBQty04HNvYrXa5EG0rRJKG2Cs78xSRNip0Qv9ieWNQaeeAgHLgy4szIwrUTwow6JNA1kokZhpjgMMgdibzkKQYeCtTPK/cUm5TKse2OGFXulo28RyaqZph1Xb4cmdCQPuAzrtQHnSj3HmODhxFsjXla+mlsM/PQ5/ehQeXQvb1RmwAyYvhff9dcTsGY7q3FvdWcd850XC00FXO3qAu+qv38Sc13yHTV2Oj13t2Gr9vrWQXQBLT4TTj4V5qsurSHKH9zwMv3wMtq0FZE4FON35MqEKpRqSJ0vPa0kG87Wqo17vu8R8Kcm/RRUOSopr1IJMqxhMpea+pc8S7LF5lD/nmS3uNfW2VKayoOUF1R+FsnUDnPmIYreKpGssBpwYtzxhVv3In1O0KkYT06llcMM2WNUOT6hnVaATk8u8yp/TeithUTOcNhMWzYLW5mS5x56C3/8J7n4SBlYBW6FsJrznHXDascpC/P6BuuPPWbz4wOLsQVHzAhYYFcBFZ5PmtVfdwJSTX8nP7oRvfAmwPHMduEVw0anwshNg+sTE31mxEm7+E9y2HAZlKhSdGrtJoWyEVBvMGQPHT0hKzFsEwEzCIjJbKzfBE5thZ19ShdGiTq7AR7OG5X3ynIF0oiDBSsnDIktrgI5bAAOzakJzgS096OQXyj9U/lOMGEe9Opx+2KWWwZ2JLLRxO6xsh6d3Ju/HoLNskaLHOlg6GRbPhRkTE01vxSq4Uw04y6FX50nfGQuXvg5OmhcxeUIfqbIz3ctPuu8F4OZ5f3V0APehV05jzmsfJZ+r5Od3w613wi41wchnaYay4+AvToaXHw8TW5Mo7qEn4Yb74Rk9hEaV7foVAqQ460m/LUk0dvoUmNaWzAtRHlUlMx17EsZ4fD08qFENvYk+3JCFVnXji+VkCs0xt+77QAazU2zNzSZzxEzoTbIYMWYub4rjwgEfgMQCsv9/DDYFMFXJb2zalaWJEqZT5YsyCDsC8/rwNujWTalAQj6rWK4KFo+DJTNgjlKL5bBmA9y7HO5YDV2dkKuAGWPgFYugdWzE9MmaFPVZd9aiDzxv1LyAL44O4D713g8x85xPcP+TEb992LFNOtJjgB5xrz6KhfCaE+Gc45LpRlu2we8fgZ8/CL0q89rsGVG7rwc6jEkSx6dOg+OmJOZFLYC6gLp4m9vhmS3wp82Jn1MwTaomyUKu3I968BZLJrNQeh6UJonVrFRdgM2o31XgUiAiP01/y0x7wBWiW9P5fOOOIu641KsyEbPVnC19UIDRNsTo0uc6OqFdJrYdHt+cFJ+qZyAGnUxrRVINvGQCHDs9qYtTb+uDz8Aj25KMiNJhM8fARD2PthraxkJb22NU157K6bO73AgP5x5xwEWXnVDO4kt+RcPMl/PdmyJ+u9IxoLor9fUqa1AHqWPg1YvhjAVJ5e7q9XD9/bBCoFztlzMpX4CbALXT4WUzYP4kyOkhGep16E2ivuWbYMVO2KngTCwhhtCPUCPdThfaBDavrVn/Q6G6Mp7f4H/1Pf+3jXCQia5NQXUmYUz9mp9mgq/yoiapCXQSaLW8WE6pt5jtgtZFHYOAp2GIqzbB3euSvobYTEoY1uXLwcRGONm7ESpEXb4RHt6Z3AxzGmFCA0xsTpqJFIDNmpknV/dyd/qcW18AWT2vr4484P7xtZNZdOFyOsqyfPYXsEonUEBQRKWTqMcKzoYzj4PTZyXOuTS32x6B/icgHmseVr2oEWMCqPf21CkwfWxinjQOS7nJNTthuapTFWBYxBcCTuAxAIWFb5YnFbD0uWQXgVN/C6AB6OILn4L6NDQplynNryoJSuLAwCUNMurZjNsB1QStr/jARctJHxTbiel0k+lvuQT6nrq1NCLswdVw77qktDtmOQVMGg1bDdMakhSetvHMbtjYlXTcqWVySgNM0iy8OgE7YtoUR+uYj7nTFvzr80LNC/jSyAPuS+99E21nXMMfHoerf5c0XyCJw4IGAWg6jD8GFo9P/K17noFuPU5e/lvxcG5FqHr422RobUsKFWNm6IMNEpG7IK9UkS6QfgXWMHFqwIpTA8GpNDYLU2XS+eQz+l4JMYjMqmr4ZVLry6E+C43q8lfTtTeTMm3SEeNaN3WaaVDhQFIurs3LBMegUxCjKQHezIqNFEEr5ypX4LG1cPMz0CO3QMdkN04m8edUGaxD2K3CTd28GimmqL0BxjfAhKaE/ce3aUzsn3jFSceP9LNnRx5wX7ny24w77m/4+q8jfnm3SxhLoLMfscdMYFKSshlQDb3KueS77S9XrEPQ88snJpFqLP7qvb31NAkT6P9WfWGAs8PXVbLPBWi9b4wmVhPI/KNeylSFoYlLevic9DRvJuNxXy5p7BnXmKTirEXR/DJFoQpgdkhz64IOFTf67v4K+YPlUC2NLQvNmvJUmzCezLb0uMfXwS2roMfyxwY47asxrx27jlW+aQPMbYbpjUmZukCsKQQzp7fTOuY0d+z0EX0U6IgCLlrWkmPaFTcTNZ/Ex6+DFXqaony3YtZS1Kn6GIFPTrLM7nOV1OkwJI3oe8oyxDO6AtNnh+nb74zhVCIU/22lq5JZ9LcupLatdfkUWQw49edWQ00Gxmg2XCoxYWKoOKBwCbO1av5cfVKXpohUIm8cgfrOekXd6jPdoRGsKk/yLoK+LyFa0a62IeCplk9mWf7o01vgAT3xWYCTH2eJfS8251M+b2vpMIGwHiaNTXy5KV6b1CiweXMcldk3uqUn/PAFWMhD/uoIA+4ts5i79CFW78nw79c5dson21/zvk6ULrZ2z8zgcI7NWEmvAqCqQ6uTKouYiQQ4XVzPdFL6C+ynCygGNZNr+6D16FeA0/p8rtY6+dMOYnZKQY1nJzUwxyXutYn8EY9wdQmbqU9B6SwxlsToePj0QOKrWRYjHlqofZWpLt/bCqk6ue3qcpf7IZOqtFkaJii/mk52fesQbLcmA7kFqhhphQXNMLUpCR4UFU+fBmPGLnNnLbpyOGf2cC0zsoD79KVnM+WcW7n9iYirf+ESn+yQS6qGeewys2K8WuLa/HSUdLRHFuGJ2XRh9GsMZ/nK0Lx7ZosBJ7D5ZzgUAgkfVMQTyisSc9tanaTWVIMnP0652Hg4tapE9KQ/+XB9CdDUiKLqEX1mmQz5bDK5O1RuLl9PgYaqf3XzhflVB61qm8wkwYoKVjf2wR+7oN+CCt1wY+EYTZRqTNorZe7VATZzxm2ceszLRtKPG1nAff2fPkjzKZ/iOzdF3HCzS/wy80OGiaNhLyaWm+BZSeZRYNJFEMD1q+3K9BSDLNyAlx1iH9EKA7Qu/Wr95jtZgFGRTJ6S8z4pl2QxFH1atCrTGBdd+innCm6sO18ZCoFTbKjeAdXHKZeqUqU4o7K34bNQbCp2W5CB2SpQqNJjymBrD9y5HbYaW2u/W5LRF4pYZ7QmZfeqMJkwYQ1jK2e6xYuf1ewy7NN8iAuOLOC++fFrqZ91CVddF/HQXQ6UejlQD94hHsl+F5cprPfbCAF3KCC3PK0CBx+h7gM2778VJBMFGYo4Fa1KY5PeJpPuCzC1n/L7xGpxtZGyEz5KrVJ1SjZhPZUqPaFRrCaB6OYQ8Cy40ffTcHIO5ohNNUOlHLbtgTs2w1MCqr4j16AZ6sfCsc2JCNymoKYBpk1pp2Xsie7UuRI3R+RnZAH3jS/8mkzL+XzkGlipZH0Ynb5YxxsMsXlej+syfzDuBPesFjKc1m9sp1djQBV4ivEkBvvxXTJ5ZVEyskE/SqVJMM6lk95TpaEEOn3cvgce3wld1q9hxZhBpC2GW1wLc3x3mkzy9h64bwessCpoXWKNvhib+HGzlHXwIvD8uf1MmnyBWzTllhfr7Bevd8QAFy0bV8XcK26lPXUS//Zd2PyoF3xH6lCf73YEqLgXMqgkDmUI+zt8z4RiA2KhTNhyZ/7Vs6NMbWM6EY7jiFf3Yh9sUuWvmVQzqwKcRdcpmF0LM2W2FZikEnP9cAc8o6BC3/ERfHkrzG+BOS2JPFKTi1g4z9Ey5m3u1PmqDRuRn5ED3Nf/egJjz/09j+6awieugU711hy0p2NETsLBNyIzKdBZ+bplGuw19OeKfTszuaHmZzpgKC4r/xoMNuzuh8gEawHHghtjuNhGQ0MlTKlIRGcBd/cgPKYmapNGtC2N4hgLs9Xx1ZQEDupdnTvTka243L1q6dUHPweHZ4mRA9z//YcF1J9wN3esqeYz34e8MgdWGn54DubFW4sVeApwRWaz8H8rLQ/ZzdJidpotm+GbYhLHLkiTWbosdvSCKNoaakwjtEDHl5zXVkCrcrAOdkewQQ3UxoRal24Wib/NXgQem9QJzpiqdNeH3QVnffTFO3f7rnnkAPedq06lec5d/OqhiC//yCVJ+BELjg7D+dSpEqMpiDDg+QCh4MMZ41l+1udRCwUApvvFXdcBeM3kWrOELafzI+CFv/qeCb7apyC3qzTbkPolFFjYvCwtI3dAGpxnuJmtCeCmToIZk652Z514+WE4QcNaxcgB7tufP42WyXfykz9EfOsnHnDD2scjbCGBwkAngJlvp/cNiBZIhBUo+ttSbBaZe4aKAVvcmWPLhmATiAxsBlpjSKt40ekKmTSuo0oCh5YWWNgIs8apSTrp3p83+4ectuiSkdLiRg5w3//kOdTM+B3X3gbXXu+rPo4wLA17d4xZTAgOWc8i2OJqknjqoQdM0BBTYKgwsLDl9BoCzrIg2lFbn/42ljN/MZSatF7tZx3UN8OxTTC7NRnBryT+MXNv4szjLnTOHYpWNOwzNXpR6s+/+Crc+J/x7d/Aj3/uK0Se934fIV+09Jc1XhcLwmHAYAAxHS00hxZo2GHZsno1s2pBg8Cq7xazmKX1QqYMBGkBLtcMxzXBnLakVEnFmIvmPciZJyxxzmkDL/rPyDHczV+/hN6ma/mvn8PPfuWLKF/04xuBDehCyykPzWwYvRoABBDzrYoLQK3OzsxkyGDGcGFOWes0acTY0rZvzBonZgM/UZUnLbCoEea2JtPd1bV/7IInmHz88e4Q5oO8kJM6coC745pL6cx9nauvh19rRuGITNx/IefmEL4rwJh5FdjMlwsvfhgIhAUCoTkOo1nz4fRqox8MZMZw+kzEZMGM1mWsGhaO6nP16Tb7MRFKbzXAmBY4buEaasfNc4vHjYhGNXKAu+v772Jn9mq+8GO46f8BL3hqwCEAYiQWNa0ujGSLAWfm1OQNG0lhALXLISCFpVOWNdD3zRSbubX3VEYVrsfkGQsa9KTrpuQpPWI4FWYKcHPnbCZVPcOdt2hYozle6JkcOcDd8+P3sq3sC3zhOrhZDPe856G80GN+kb5v8oNVk1gazIIBK/I0E+n7Swv52VAasUjUQGU9qTKrZq7N7NqDBa0aOZRmzDcUEDXYpxmOUQWwAKcn9TQlhZiZximlB7j7fvxBNrlPxYC7RYAbtWkDLxLgLFq0nKvYKwSH+XDm/Ov/Zn61rJlA8+PMBFvS3kZOWnCg7Rl4BXaBSiwXAi6sbKmFykY4Rgw3FloFOCXzp7UzuWmKW1RqDHfvjz/ElrJP8Lkfwq0yqUpKl+JPWFUiIJn4K9ayiNNEWYHHzKppcWZKLQo1oFmFr8Cl71g9Xzg1SsFLWEhgWRFjuCaY35g8dkCN4noM+ywBrrkEAXff9f/CZj7K534At4rhShVwushimhBIAolpapam0s1mgAvNbwi4cKCuFapa5KnvG3CNLY3hDHQm03jAZZvgGPU4tCXPsxDgZk9rZ1IpAu7Bn36YDfmr+OwP4bZSBpxM4/4AJ1BYftQmW1qmQoAL86jmn1nRpQJIPzTbRnbFxsEiWf2tdakEPqxeCUql9Fm2GeY3wLwAcLOmt1PjprqlS1+s0ut9zNjIBQ0P3nAFG4au5DM/gNt/W8IMp1MaP8wi8NGKAbS/aZ0Ch/2YObWqZCtRsioTLavtWKrLAGcMZ6m1MOerhp7GxKQqaNB0Avlws6a2U1NWooBbP3Qln/0+3P67oA+1FP24+Al53qwaOIpNqv5vDCdwmq+n82GBgzFcOHTRwGRJfOulFbOJ4QQyW8ZMqh/QKJMqwEkW0XNkFaXKpOZKFnD5K+PSpDtkUuMn4ZTgj5jHIlWrJrHEfZgXDQFnPlxxGZP5cDYN0xjOF2nGJtUAF5rUkOHMrAYMJ8DpgXEWNJQuww1eGUept5WySdU9ZFM4LWUlABT3v2o5K+gMgwZjNwOTagZtRIXdn7Zem9xuAYiJv1aFEppU+XCBLBI/KbsZZk9pJ5cqdZMqwJUqw+nim0kNg4HQpAooFlmaYGusZSbVAKdlxXC+D7WQH7Wg4WAMZ5GwB9z8JpinCUreh5tZyj7chnziw5U8wwlwFjQU+3AWqe6P4SxHakGD5UqtvdEqhS1fGkaplloLdbgiWaRSYCsG3JR2akqZ4aTDlTzgLEoNfTOBo7iYUqAMq0xCHy7MTFjzs0BqWQXT4axaROCyvgszqSHgapJMwzwfpcYmtaSDhp9dwfoB78Mp01DqJjXsYTXmKtbhwuS9GCr8EZCM4cyHM4YLZRErddJ7oSwSprW0HeVSjyrA3XAFkkXioOFoApyVfocMZwl3A5zlXUOGs9o5gVT+m/lwFoGaDxcyXLEOZ7laS20paPCprQLDTW8nV8rC72ePBpMa+nCmixlbhdUiVspkFSYWMNirMaJlGvS+mUszuWHQYCa12I/zkknswxWb1FIG3Pr8lXyulIMGM50GONPhTOoIW/8sJ2rl6cXl6AYoe9SyPd7Jqkos02DJe6s8NskkLE2yXKpnOOlwyjTIh5s7vZ3qUma4oyq1FVbgWkRpTc0ClOlwFjgUR6lh8j7MpYbCr5lUKxqwQCHsny0yqWqiMeF3dikzXJxLVWpLPtyI5IpHIZNhuVQzkwKT3jMfzkaEWf6zmOHMnFo9nD3jO3werEBlQUWxSbV6OKubMz/OBw3S4VQPJ8C1KEotacANXslnf3SUBA3ypyxSNOYKRzaI4QQK64UITarpcDa3zoIG8+Fs2TB5bwWYVlcXMpz2wxdg7pNL9cn70s2lKkqVD3dTiVeLFAu/YRBgD/YoBpxJHWHFrxVsFkeptqyVORlb7q88yR4NoGmcXhYpJO9V8VvKmYZYFlGUWurJexN+xTpWdmS5VDOp+0veW87VJA8bDxtGqWJLrdN6JLRey6UKcCbDhCY1jFIt06B5v00wY0o7vamp7uJSrIc7agBnuVTzn4oBZEl3K08qrhbR8tZAIzMsVgxzqSa1WPeXAc5kkfC5EkU+XCiLxD0NJc1wqhYpZR/OhFtjOGMZKzG3+jYByJjKeiAEEvsJCzD3Bzjz08IJSRalhrJIUbVIcabBCjBL2oeT8Ht7KZtUmUUbYGjsYoALZ/XaGIYDVYuYydR3FKHqNaz4tVzq/qJUKzPfT6bBmmiOjgJMVfwKcJJFnuu5C6OgZhzWTVo9nKWszEQW51JNGBboLBAwCcVkkbA8yZL35heaNHIgk2pRsrZTlLyX/6ZG6DlTS7ni10rMS7kezqYVWSWISRjFTTQCSzjG1UBk4DSGE+BCWcQyFGGmoThosPl0xnB6tYpf6XAaLO3r4Upah1svHe6HJd5Eo4tvDxAx1d+iT4tQTc4Iu/RDWcSmJxXLIsZwoQ4X9jSEjdDmP5oe53W4uZZLFcM1w5xSFn4FOKW24p6GUjapApKVexuQrOLXOulNOzOWk9kzgTicK6Llh9PTEOZSraLEUmuBLKJMQ6ERWiXmJd1EM+AZrpRTW7rYutBWD2dAKgac/q/PwqlLYS7VdDsBLuxpsAJM899CHa64PCkEXG3S02CySCGXKh+uZCt+ZVItSi1lhtuf8Gu6mgUOAowl7wVOM5Pmw4UVv8ZwFtloWZNODHDy28ImGutlsKoRAc6XJ8W51JakTTDuSy1JwF1/BevU0/BDuONoiFLDRmhjLhvzYANtike2HqhaRAwXTnzfH+Cs49+0N/PhLLWlJpqwHu5oAJzq4Y4KH843HscMZqXjYrjiB8mZ6Q0zDZZLtUZn0+GsStgiUoEznAIfAi7MNBjT1UCmYW/nfVvL3p6GkuxLvf/6K4i7thQ0lLIPJ0AISKH4a6mt4gHRFjDYa5hpsPo5k0VCwNkcElWLmEkNARc20QSprUxz8nTo+TZbREFDKc8WWeeDhjtKWYcTaHzBY/xqUWpxT4MYz4BpArHJJyaLhJ33ZlLFbMXdXdrm/hiuSPjNWNDgAScfLpZFSnHUgxhOJlV9qb+XLFKqBZghwxWntozhBB6rFjEmtPyomVQbxWVRaujDGehsWQNcWC1iYAtNqgAX9KVKh5tbqrLI/ZqeZAxX6jqcMVcIuHAgocCj/4c+nJUVGbsV51Jt4pKJv2GAYe/ZNHXz4Wwgopi2Fio0yEZ9DUUl5qXrwym19aOjIEq16luLGMNMgzXFiJ2eK2gQiKziVxJSGCAYw1mWwRjOqozDBhqLVmugQmktAU6jHnzQIJNauoAzWUTPaRiRodmHNSU//JV5Zb/w5Gh7roIByOrhbDyDMaGWswAjjFKHAzjrpTBWMznE1i3AyaQqcLBcqpL300oUcA96HU6yyO9LPUq12jRT+m1cl/wya4qxri35XcWN0FYpYoGG/N3wQTHPxXBhPVxoUgOGm++FX7UJxoArZeH3qAKcRakGuAMx3P7GdVlmQkCz59cbx4ZRavieCcmhD2cmNedNqoYSBtOTStakauTqWs0WkQ4nWaSUU1uWSC9mOAOcRakmEMvsWTthOB/OZBEBLnz2mvmEpsFZ0FAMOAO8l2mkw822oCGoFilZHy4eufrDo8CkimHCKZhhX6qiTYm4JouEHV6hDmfCr5bXzVn8sD+LUkPPcn8MFwi/ChrmaM6vj1JVYl6yJlWyiKYnyaTeKR+ulIOGsFRIF1wAtNq24ijVdLiwYVogCh8Ep0lTIeD2BzbT/8w8G9CCKDWtxudGWGQzfn09XEky3L3XX8FGP8X8qABcOPvNIk97UJulqSxK3d8wm1C3E8PZSIfnipVNjglHrgYMl/IMtzBkuFKVRY4qwNlzVMOgwRjLnixjBZjWtWXaWTj9MvThhgM40/WsxNyiX9/TUAy4ONNQqoAzk/rp78MflGkoZZMqk2e+mbX/WdQZAs7kE2ui0bIGuLCnQQwXirwHYjnz4cIp5lZzVw1ODNcEx5os4k1qbSnmUsVwNszmD/LhRuTxnMPXag/rkuFAG5k0izzlx9mzT63MKGyatmjTRF/T7RSlhhHpgXbWBhzaI8mtPMo30TgBrBGOlQ/no9S5M9opWcBtzF/Jp66Fu0qd4QQIaxU0hrOuLTG7panERDW+zNyqSvTdUPi1sfnFEsj+AKh12ENGLGlvZr02YbjZDUnQMEGpLR+l1pai8Gs+3Ke+f5QAzpjLnjBjJjIUca2kyJ4CaCmwsPM+HPNwMBoWyKzS2B7Maxpfbq9JXarRaqYAAA4fSURBVDgWxnvAqVqkpAEX+3ClblIFjLCj3mQMMVsxwxkwbV7IgXy4g4FNn5v+Z+2JYed9LZSph6EpYbjx1pc6tZ26dAk+GOTeHycVv5/+Adx1NADOSpTEOvqxLiwBzjS14rEQxUGDItPiBprnAp7WF05PDwEn063hNY1wfJHwW9KAk0m9W4ALS6aHc/f+uS1jGpt1Y1mboM3q1fGEgLN5IMUMpyAjnAP3XOdBTGqAs8DBND4BTo8cb4LjAoZTpqFkAaeKXwUN9yhoKHXACUA2INACARuBH0ocFlwUV/zao49skM1wbjgTfEP9TSwn0HnAzWiC470PF6e2prdTV5JBw4+TEvOjBnC6+FbybSbVNLgwwhQ4QmAaOC1StVTYcACnZUIpxBqtrUigBaYXmdR5Alyp+nDrhq5EQcM9Mqlhjf5wT+af03JmLq3zXowlwIV1bQYQAc46sWy0l0W1ZlKHe+yh32YRqhhO22iBqQ2wuM1PMVcx5vR26ksZcP9+Ldwnk1rqgBNArGLEWEuAC3sT9L5VB+/PpCq4EOCKK0UOFjjYGH5jO+2HANcMU2VSzYdrKWXA/SjpvP/E9+B+DZU+GgAnMMlHCwFXDB7Lu1q1iC0b5l6Hk9YKQWjpLHsVw9UmQcOU5sSHi4VfFWPOaKe+vARlkXt+cAXroyv5+LXw4NECONPFLFW1v2jTTK91bYU+nI3ZH645teVsRp09A8IA1wyTGuCEtr2ZhnnT2mnMlCjgxHAf+x78SYArNi2HelL/HJa3Ob4WNISd8uH+hympsFrECjUP9VhtwpIBTiZVDNcME5rgBKW2JPy2JH2pzdkSBNxdYrihK/no9+BhAS5sezvUE/rntLwufljJu799txFfAp7JITo/+ns4Sfv9rVPsatUjAlxdEjS0NSZBw0Q/clVBQ0tlCQLutmuvQMn7K6+BFTcfoiP85wSw57uvlnO1ypJD9dsOBDr5kEqf1QNjoK4RlsikNicPeNNskYrqEnxOw2+/93/YwMe44puw7pbne1Ve+t4hnwGxpgDXmJjUsmY4pQ2mjklmxM2euY2vto13DyweEZNj/WaHfBgH+0JX9MtWh2uroLd6kD0ue+vOS1iTeifX3wA7noL8IAxFEPk72jnQb5ne8z6PG4LIxo9GkNdn4S5bUrzodZ+S/8jPfjHmCJbVtsNlnZmvop4BvW2bDTcVvhl/Hgya0bHE3/Nf1H7H3/XbiD/378Vf1f+96Y3PhdVcBvvoPOsVrKz/f7wNM91aRxmUlYErgyiVvDoPvNQYqBHYGqG1BWZN38VrZ1w8mMn0RaT78qR2bls/bd3Eie5FSQUddsBFG79+BhXuU/QMjaeyOofz/W/9veUMDKQpT0OZP9l5A5N/1QUXyExGiIKxovHfdsGCCxVeZLvmsc8UPNZgfxgt3DEBuLT9GIT+vRgwhrYQjPbl4D1bLgaOraOwQwEY9R0BQPtnAPPLxQAMfL54PXYs4WceVPH3BShfUi5QRenk//H37H0PPm00Psd2E8TnMyKT60t2KD3A0FAPRLvJ1N5IeuYy59xhLc0+rICLok9X8+iuW+jadRJd22FwF0QDyUGmdLDlUKYTUg7OT3GM7z796mIP+QucT4BnDBQXJNrJsoJGuwB6tXXoLrYfnXRbRl/X3W6M4xkhvihaxvwnrcf+HzCFgFBmfQLhd+3CegBZtsDWG6/bAGTfC1iwEEz4fTaWjI/bwC9Q2IAb/a1zZP/XObLAwr9q2RjHIbPbNu3GDgAXL6xz44sHdG3SGWhog/70a1zrq288mDU7lM8PL+DaPzee5cvvY92DbfQ/CUMdSfGqHa9eDS/2agFckUXa51qE16j47/B7sUnWyQ7AqI17kijc2fE6QpD6TvX4vaDxpXCDpLxp8umn2Dz5v2W6YsYyQNp6bVn/eQw+25HCDgUMGhxIwfQGoDHXw6g7BqTlW81cDxa5D36d5ioUzLmOx+9zbHJFABX+2DNQlo2oaXJE1X/nZr7jG4cCqIMte3gBt/Kjk1n3zANsfLCJnhUw1Ltv70d4s4fWxhNNvLMhoLz1KbhKxd+xowsBbUf0XCA94DLakeDEK+0kJo5NVACy+G8DkPlI+wOd1cLZsnYCDPCBT2ds+Cx/MfThZK7F/nnP1h508fGEJl/LFJ2cAsN7No9vEDte/ywHga5MgKuEmkZI1V/upl169cFAdCifH17AbfzoZJ4S4B5qovcJGOzZy3D7MFFoQvxx660QePsDk71nBFG8TjuagECeBeL9LWP+TmzmBTg/oiG+KN4FiHfOwKVXy30KTB6UMesFZjReJmDTfe6mkPEMZTG1+XXYwYnFtG0zmYGPWWjO0bICmZmL4v4H83mNjY11td9mSjMJw8WAy0KuEcrrL3dT3n4EA04Mt35VArgeAW7PvjfecwEkZKnwlhkuYxUvt19gFQG98B1fVRGbFvu1PlFdFC0YgCq+sMZo+lufBf6gmet4GbuL/F1gDrvAXDD9HiAx1opAYwFMwTfxPkrsyxlAjeECoMXrMX/GTKtFxmbu7Yby/Q8Cm262sgqoaYFM/eVu4t8c4YCTSd30cBM9j4MCnlC/LDZ9IUjsuoTvhSwXmtNicD7X/w8EWGOe+FWslvVm0/txdufHZtUCCH+BkojOX3CLBOUrGnMYGH0AUpBA7HPzzez/JotoeW8uxV77AMpAZSfUTK2BylJixmYBW8bH6E+E+W7xe8Zu3o2Iz0MGUmK4ZsjU/RkAzhiu93EY6N7LcDofQYC5TyBxICAWg8x8OjO/+wNh+N6BfMPC9jxwpNzEJ1sgsvlqJjd49oovjpb37z9Ldgii230YsMhv2ydyDe6oQkBhLBU6c6ZVWuQaaJUFU+rNaujLFTBXfNdZdB1EpoXAwQOuphlSdZe7KUcyw8mHe3rlA2z4UxN9j8Fg374MF/pWoVMf3Oj7CKyhad2fX1bs95k1snUfyNcrgFIg8TVjMicxawl4kgk8SxVYwExnUChZCCa8LGLyijnk8auZs5DNbMdMDvI7HOPCg6Og/5ksoveN3Uy/NNazr5m47dcbf2w+YXhXm6kvBpxkKzF9FgS4TMPlbuKbj3STuvIBNj7sg4Y9Bw8aDsR6xX6c3a3BtSos8lxMtj/QFXxJfWhRqfluBjgfGBQCCvN7zJczn80Y0ABpbBKaXPPNvM5XAFVw1xWyDv5AY9nDzKP5baE5NRManKg4gjWAhycwDPd9UBPLIXYsOmYvjVjQUNMEFUc84P5lMus2PsDGR5ro80FDsQ+3P1YKHfxiH244/38u5tyv72cX1e5w/2COMl+TZubVfLV4HUFkGgcFFqWawKydMDNs5tXfTWHqqfB3qBWGO2mpr+KI09jLTG7IcgHThdUldu5i7IVBi7G0gU7HLXazSNUzXIWChj8HhlPQIFlkwDOc3WxhYBAyfMhyBfYJUlOBq1MwuaH5DBmuGHzhtsN1xxfeV8TGYPJ3eSEdFALM5A6vxe3jo6V8sKCVh2klD9KC1mMAs4M1R952OJRD9nPs8b5b7jkoWzLmL0SkYYYhPOAwy2LmPQCcCb8WQNW2eB/uSAZc7MOt8lHqo3t1uGLAFLkThWsSylHhd4pZKrhh9wFg6BeG29gHaMGK48i00mcJvEmNWSoIFGJfzrQ2bybjAgJbztjMABYIqwWpJIhe46Ch6IRYBFmwguavFdCUfFIAnP7jzWfBjBYJv4VN+I0V0npFkXTM1OZOiOG8H1eryhLpcEc64Fauf4ANf0xkkcHOZ9cPWtAWOvahn1V0Uz4ry1AccIXLH8i02jYLvpMunh+RVRB5vQhqWQQTefdhLV0Yc/DN/wmYq6Dem6hrZsyiQtsRkzyCuyIMGJ5VdGnm1EynRa0WFBirBf7LPgUE/iTtownaTePZPT5Or8EpcJAPV1Z7hEepEn43rLufDQ800yOG691X+A1919D5D5npudhsf2AM/b/iSPY5I9tQ2LXAQUDRXW7aml/G/p9K+5xqoGEVUlwW+ZkvF6SzChKKVX+EzpWBUpGxAadAdXuLFuK3QlnEqmq8dlf4Sij2hpUhfpuFQoVQ7rHo3ECXhWoxXO7dbtpbvxzuzQv9ex+38oWuLFr9+TZWPfI/rLl9Ir3PJN1tYZV0aOae6+8QdCH7HQikIVuaud3f+vfn3xWWCwRTi9gK+U3PZrGwawzngwVjhgIjmkkNdbtACLbSpL0VBUEli/luJmsUa3KB7FFIa5kfYrVxRTV3liozv6VQZGBpLQObBQxyMTIRtWMcfZV/6+Zf9q0Xioui2+fwrS566vIMjzx5AzsfO5/dO6FvEAb695bph5ahWK4o9rP2J3+EwAqZrRhkxd/11mMfFykEXxiAxNuIggqTooIC24eQrePypbAUKnAyiwFtpnOfW92Dvfj2j/9fFEyYW7dPFkLg17Kqh7NSqoBxrT4u1hw1tqsqiUjVNyvzuc9vJaSqoKpxAFd7vpvz9sNann1YGS4+Pd8dN4mq7vexK5pLvioFmRRUuKQw0JsbXZy8/lYaR4xgUoAvXoz/aybAdjEPQ0Gpkap/tZ7CcjJJolN/Rax8J/66r4WLIzm/XRNW422pmthByqdDzBGPBWDlLAseeFCVETrpltYSpQd3UiGf6S++qpkLPx6x8e4KMB5Y8fa8kFwofbLzoXOlz30Ra8yWdjf5wEZMq5rDmHHts8DMW11fIV0X3CiU5anIDFJX2011038zf9svnVt2OJor9rnXDx/FPeeaYhUzOOPh/+3v8DU+ycU15SO0r0fqZgpqsD+PVm8fntcjdd+T/TrsDHdkH+5Le/fcnIDDPe++xGGd3P8PfHJ7OLWiD98AAAAASUVORK5CYII=",ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL4AAACqCAYAAAATM/UQAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4FdW2/vfMnH5OThKaCKgEEsDe+7Nc27Vg96pX5YqdpkhvFop0laJYsKDXrqhXrnrtvVcsSOgElCKQnF5n9vvWnjknByTkzJCEJGR/773PR/bs2Xvtdfasvda//sXQ0loksBtKgO2Ga97lS+Zr0QoxpNAVcQBpxqDt8kntZhNoUfx63nDOIWE59gW810NqdQI03gWIK+BMBlQZjGvg0i9A6G0g/iYrxUf1PKWW4QG0KH49qgFfggshd5kKLd4e2noFmmqvUeIcKiQ5AuZeBx6aiDI8zRjUepzebj10i+LXw/bzJegBueND4DgE6bVe069gUhDMWQ4l2pOVYIPp51seqFUCLYpfq4jMdeDLcCyXD/wfSyxygaeVrU54nuc3lnaFIwUoYUjpv7Ey/GhuFi29a5NAi+LXJiETf+eLcRx3HvI2Yj+42baS1ZVZNy63J/WarrdcARScwUrTb5uYSkvXWiTQovh1pCJ8Bfbm0uGrEPsWWyk9KbukK3taA8IJhkQKSArrXYLDpsGpAG47h6IAwqqnH0HuzjA5AkU9hHXB0jqa7m4/TIvi14EK8KVwQNn/V55c2pnxhJQ92XXdRjgJrKuUUbFGxrLVEv5Yp2BLAJCYhFZFGjrswdGlJIV9OqTRxs/hsXFd+au/EBpgXwVf8gC2J6J1MOXdfogWxa8DFeDL95wD+Hvx1G+ejEBJZ7kErN4k4fMfHHjjbSd++cWGQFACVzk4B7jozCBLQKs2KRx8QApnnZLEkYek0NGvgtEgWf2XopAds1hpbGQdTHm3H6JF8XdSBciDw91nfcfCb7hyh0ox4OflMh55xou3PnAgHZNgt2mQJF3khk6L/6Z/SXFATXJ4fMBZp8fR+/IoundKQ849+TVbFHKKLrtf7eS0d/vHWxR/J1WAr9rvM6Q2HwV1vSy0WQLSEvDtYjsm3OvFwh9scDo0yMIpz2pw43NwaHT2Q+McqRTD0UclMerWCA7cJwlGdr/+deBgrkUojR7A2Fa/nZ1cxe73eIvi78Se88U4D57TnkLknayvnsybpesUDB9bgG+/d8LtToPUWrdr8hA3deUa0qqMY45NYMroADoVafqlly7JUEJAegDrhid2Yuq7/aN57MRuL6PtCkBcaO0nrEb0u3ZgkWyfKhWYNNOPp19wwePk4CzjoslT1KT4xq02rWm49oo4hvQLwZnOmYbkCqAw1pG1Rbhld6xJIM/dsDZ4c36KL/GOgX3fEYh97ckY6mkZeOcrOwYO90NTJTCh9NTEUZ1X45yDZfyhnMPl47h/SiWOPzgNJIyPBkEbuPIw65YYlNegLZ3+IoEWxbegFHwV2nP5rOUs8j8XSLkNt+O6CMOAMQX45ksXHI5tnfHmX0RmfEJlOOnEJGaMrUKhbLg5GVlO9jiTkvuzUiw3P3LLEy2Kb0EH+IrOL0Fz9ER6sQ4640BSBv79HycmTPJBsUvijM/13Jh9jfgtiR+VJNydd4yqwqVnJcAypz6X0pCcH7Ky6Glmx27pn9dtq0VMuRLgS3E0d5zzHqL/dWdPDQkoXy/j+kEFWLvKDptNgwYpn6ts7cJlHGpaQrducTx8TwgdC1X9oit+cLYIpNQFrAzv1D5QS49cCbSc+Cb0gcxvrD5sEZKrukHbnJVd2gFMvN+Phx91wO2se5FyimSlJdx4YxS39A7ClsxEtRgguSpQGu3CGHKvvyZWtXt2rftdasZy5Evla7j9/2ay2Ie6+5LsETuwcLmMXn2KEQkxSHL9iJRuDK2LNcy9dwsO6KrqF12BAVJCYOx2Vpqa0YxFX+dLq59dqvNp7voB+VIUwHlqBY985GeEGDYkF2UMgyf48N8FbridGuijUNeNwl4a49BSHOefE8f40SG4VeH31JvkiYBH9mHdsKmu391cx6v7XWqmkuLL2syE0v46xH5yZ3XbBrz9pQN9hhVCVukeysF0AE7dN8bBNQaHC7h3fBVOOy6hn/qi2eOQpOdZWfzqun9x8xyxnnapeQmLL0cZd5z7Iwu95sri6RmwOclwzcDW+PFHwGkjUKbh4qmH5dPI9D1RVYajD1cxe/JmtHIa7k1x6rtjQPTYlqSV/ITfovh5yImv7PEB0pHjoVYQYl6YOZoNeOxFN8ZO88GtcIHENOCWeYy4M130oMGooUFcdX4Mcipz0ZU1MOePrCxy2M6Mvrs826L4tew0L8eZcJ/9IiKv6xFaajZg5XoJvW5qjbUbOGzkaG+wxpFWGfYpUfHIPZUoaa3noxPMmcEVBo9dy7rjhQabThN9UYvi72DjOIcNa05YxWM/7sl4MNszQe7LGV489oQXbpeOrGnIpkkqWFJBr6ujGHZTEA5yZIpJMED2boYz1Il1Qqwh59TU3tWi+DtS/GWeYVAOuw3Rj71ZuI0N+GKRDdf1L0YyQbgaQ+EaaOcztwg64QuKOB6YVoUj902CHE16yqIjAoXfy7omb2ugKTXJ17Qofg3bxlegHbefvZwF3/KApbNJ4iHOMOC2Qrz/nh1OR+Y6a0aMuuqS4tKgLJNmZUJ9MsqfVoHTT0ti2u1V8Anos3Hyy94Y5HB31gUVJobdrbqa2bHdSjB8+d7PAN4LkfzVIRZOkrIDL79nx+DRRVBk+qd8+UK2Fh0hMGWZ/k2CqlECioltyHkljSPZyb0ZxJn/FwejiK6Yq5IEs7/NyqI9d6tNM7FYExI3MWoT78qX43DuvOAjFnxF99mTssnAhjDDvwYUYfFiG+x2a4ukTCvOJRy4fxJpDvz8kx02xdoPSGMatDRwzJFp3DshgLZurTpJXXZHgeiZrAwfW5tp836qRfG32V+Bx6k47Cckf98P6nr9MKZ8WAdw/5MeTJvhg8tFHnVKBDQrPiZSCz1eDdPHBxBLMAwdXQROvCNGLq4ZdaMkF/oR2RwqhvaLodfFESgZ9CZdSiTPMnQNdWshpf2rVM3unJl9aZJ9ebl8FXefNYeFF3jJNy9McAX4ba2MXjcWY0slICkUoRW2iqlGpgk5/M8+K4Gpt1UhHmUYOK4AH7zvgGKzCJUl5dcklJRQUKsSZR1U/aIrvlKuEJAYxsq0B01NdDfo3KL4OZvMN8LL46euYZEvCrPphAyIywyjp3rxwkseuB102ltD23PO0KatioemVeKA0jRUDfj6VwV9hhQhFAJkIlC24BwVPnxJwxWXxjC8XwTOLI6H0Ju+EGzBvVhnVO0G+pz3ElsUP1fxl7WezpWufVj8S3f2n23Ah987cMOtfvA0uS+tBauEcjKO63pHMPTGCBh52elHJQET5/jx7yedkG0MUjZHN+89FB3pa9KqjYp7xoVx7IGJnFPfEQPYE6ws3sfciM27d4viG/vLl6CEu3r+ysKvOyEZl0QZqEox3DS8Fb74XIbdaZg+Zr05dEfgQPeuaTw8owodMskkBsphyQYFN9zqQ0WFw7joWlA6PXSLU06OY8qYEAooTTHr3vTEgMhhrAy/WRi5WT7SovgZxV/R/R1oqZO4ulzgcci21xzA06+5MXq8Dw6bgby0IDF6RLJxjBkewhVnxyDqoOQQyKZk4PGX3JhydyGYQrlbVmLB+kXX4+EYMyyAC09PQMqiNxUVzPkl6xY+vllqsYVFWdhGC29p5I/wJThNc5/7Cgu/lqUAJPflmioJV/QpxtrVkm6G5EDg810SqbCmASccG8fsiSF4iRptW2ZkCdgYkdF3RAG++84hUhf1LBMzPwB9chpjOHD/BGZNCqKj3+DjEURX7jCk6BWsFK/lO/fm3G+3V3zOoWDtcct57Ne9mFZ9/0s5gOkPeHD/XC88TnMqmFEYYWloGrx+YOakAE48NJmDod9ardIK8M6XDgwZVYBkggmqwQy/jhkFJBcrs2noe30EN10ZgT0T1NJxPBvQNbQXY8j+q5mxm1PfFsUvdw3SXMeNZdF3vVlh2IAfl9jQq38xomFAsnKfFQewBpVJ+Mf5cUwYGoCcNO4I25M6ByKMYfhkH15b4ITDTgEF8y82TH3s2TGF+yYHsf8+aYhsXHHqO6nQxCRWmp7YnJTYylp2a8Xn5WjNvT1XIfimh0nprN0dYcDQsX4seMMBp8tKoErfCq5qaN+RY+69lejWURVRVjKXamqaAvy41IYbBhVjyyYVCuEiLDTGKT+A4aLzYrhtUAhubZuLri1SwjpjvYWhm80ju7fiL+v0BFfa/oPFv3MKRaVLrR1443MH+g8tgMIlkWBiAUem4+MljoF9IujbKwIBEs7AH2pSHwYkGDDzMR8eeMQpFF/ggUzvEgW1gMIiYPKdAZxyVI6JxewJSLb/sNLIpc1Giy0sxLRILbyjUT7Cl+Bg7r7ocxaar9N7EzuZBGyOS+h9axF+WqjApXBxWTTfGDSVY/8Dk5g7PYA2GQxNHgMRCmJVpYybBhVg6VIHlCyOx8RF1zjgKW5w/LEJTL0jiNZbpSl6ouCRk1k3fJ3HlJplFyu72iwEwVcd8gPSmw9EqiLL/KTagUdf8GLCVA9cdsokNAseM5JSOIPdyXHX7SGc/zfDfVnbaZ+RKgPIvfniGy7cMdEnfpFWsxoJF+RycgwbFMY/e8YgZ9ybTOaQ3IvQNbTb0o3vlorPy3GZ5j53rhR+zZs1I2Rg2QYFV/UpxIb1EhTFgmiEcnOonOHUkxO4d1yg2r7O97gwXrspyXDLGD8+/9QBmz3j3sx3EKOfwbzcvXtSuDc7tzbcm/RnyRUCT/Zn3dQnTY7aLLpb2N2mvW7+B9xQT69Qo1+0Yjyk+00YkLQBY+/2Y94zDngssqHRF4IoQIpbqbhvSlDPjDLrOMygQRXg4+8duGVYAaIxyaikkvkC5Wf20P2A7rWSDFzTK4qB14VFmmI2CUbyVaEw2Gl3pBvf/RR/eauJsB10M4+87yHznWxqpgBf/mLDtTe3QjKhQhLlRsyLhgo6EI75qitiGNU/DDmRn4Ju9yhhQJQDY2cW4IUXXLAR/p9pYJpsmGB5HkDk4eEM7dqrmHVXEId2Swr3plg3c0bA+UOsW2JwnqM1m27md7cJL12U5HRc9BuCr7kYI+yurgBhSicc4ccHHzvgdKrgFiDHNJamQsCD595bhb1bp3Vy151omgz8VkHuTT/++IPBljW/zG2bOOEZcPYZCYwfEYCP7i5ZFjZvDCx8wO5GN25OgjuxiY3hUb6y7A1NU06VUotsGawMdwKv/M+BQWOKYLepxklvKhlQ/wFxQLZpGHZrDNdcFNbdlzvZ6EdJF92Hn3Fj+n0+2AVXptkLtz4JMnkKfBxjRwdwzgmJ6jRFKGkozg9Z1/BuRTe+2yg+X4qTNPc//suCLwgTRzSRTijhX/38KC93wG63QhUi8MbitD/ssDQenFqFIrv6VzyO1R+BBPwRknDTUD9++dEO2WmNplCA7gAcengcsyeEtk5TlNwRsOhuRTe+Wyg+5XbzimOWIrGyM9OqA5ZpO3Dfky7cM5PSCenUNi8OeiLNNXg9wNSxIZxxXLxGPI5V3Sccz4IP7BhxZyHUNIdkAUNBF29JBRQXMLBfDL0vCkHJXrwlwvFUoGtwt6EbN7/TVndvFz7Hyx39Nfepk6Tw67r7kv6X0glXy7iqTzEqtzDIRO9tQRp0iqaTGi7omcLUMQHYclmM63DNAQ0YPNaP994j9Kb5iQoYA2eC2Hafzhrun1SJso5GmqKYp4twPGNYWWpmHU670Q5lXoKNdinbnxhfg2Iu9VyNEIHQDMObATEJGDW5AC/Nd8PtJjekbrLk33RbW1VV+AqBJ+4P4qASg9gp/0Hy60lcnTLw9SIbbhpcjGBAg7wTeb8Epbj8kgRG9g/BmcHx0K+e+SJAcLegGzez0/ltUiPrxVd0fATSnlcg/rXA44hG6YTfOnD9YD9Y2tpJT8OQ+zKVknHdtWGM6Vc3F9oaxUc4HkpTfMCLJ5/wQCEyK9OmmREk4Bz+VipmjA3juEMT1bEGyREH5OdZWbTZ0403a8Xny3EAd176FQIvuOiUy/DjUDrhDUOL8OVXCpyCH8eCGJiGdIphn701PPlgpV6bqr6K8WT0lQHLNiq4YWAhVlcoBo7H/ElDUAbK8vrbSRqm3L4FfsIDkc0mmBk8MfDIMawbFpofuek8YWHHm87i+MqDvgYPHobkyiywXU8ndGH0eC+clGRoMXmc/JcpDowbFRJ03YhaSJoyK0rDvfn0Ky5MmF5gLU/AeCclp7udwJjhQVz093h1mqLIfXT/wEqDh5udXlPq32wVny/BRdxzyTwWeNFLbktxotmA1ZslXNW3EGsqdAYzitDqVIDmWjLJcdRRSTx6TwBeC8+be1tOb0pTjMnoN6IA33zjgN1mDsaQHYnryNMD9k+IlMhsNcVMmiKPNmu68Wap+HwlnLCdVsGj37ZhWmUWB5+yA1PneDHnUXc2ndBUqErnCBFYd9nB8eDdlTjpyFSdBKvy/iEwQJX1EkSDRxUimbCeIUbvlG0cN10TRt9/RfVqisLiYWCybxOcwb2aK91481T88sKx8BwxGKF3PNnkDzvw/VIZV/dthWhYgkT0GxYaBYLiKeCC8+OYPiagU/Y1dONAiAGjpvixYIETNgqYcUpaMdkIVMcZOu6pYtbkIA7IeKXER8QZgaI1W7px07IyKdoG786XoiPcFy1BaIFLxOUNS4DSCW8d68Mbb3jgcVqJ0OpLSascbVppmPdgJXps5Qdv2KVSKaKflim4/lY/tmxSIIsfsoXt5JpIU7zg3BjuvDUM91Z0474YpFA31hVrGnZ19f82C5Kq/0ntzBv4yq6vatx7lpT40SbGoRU6gDc+dmDAiEIonEElZj0LdjlZOsk0MKhPBLdcH9Hhk/k2ukgTs4hmwIJzJE/hA+KMFaq7LfVITeMb7s2Zj3nwwCNe4eERZptp/RecJPAXpTH5zjBOOSqnmiKzJSHZ32KlkXPzXWZT6desFJ+X43juveItFnq6mt5bAjZFKZ2wED/9bIPTroEom6zk0aZSHD26p/HEnADaOPPA44iLIkBkyBtCEiorJYSigEqxA5n88LqaEFd+gZuhqLUq0hQFCDOP3xSBSCs2K7hmYCFWLFOqWdjM7qrxruOOSWL6nVVo5drKvUlpin9n3fBJU1HqfOZpVkT5jLlL+pBrmq85phyJiq5M/T07B6L3fuRZD+6a5ofLqdLhZkHpjXA/AyaPDeHiM6LVF9qalNSQbCgF/PCbHQved2LhDzaEIhxqWgFnhFnWT2ibAhQWchx6SBrnnBrDAV2T8GQ8UTvaIcO9+dSrLkyaVgDOrFVYIWHR18zp0DD81gguPzcqqFCMnyWguJeiS6h7c6Ibbz6Kv8R2o+bqOZ2FX/YK1zydYgqwbJ2MXn2KsX4DoCjmeWpIQFRVnNyXJ5+UxpwpVXCTAz+PUzmiMbz2vguzHnJj7RoZiqKf7ts+SxdMlVORBwmdu6YxpE8Yp/9fAo4snGAHZwkHfo/IGHqnD59/aYdDYdaqjhKWB0C3MrroVqGkjarnE4ivlisMlhjCyrSHdsmpVg8vbRaKz5fDD2fPNTz8ro9xIgfWNyxhA+68pwBPP+2Gw2Wy5I4hbJFwngYcPuCxGVU4cr/80gnJ5fjpj3bcPLIYgSoOB8UMhLRrELlwlWpIpyXs0V7DzIkhHLGvYW/XsktJBrz7lQ3D7ihELCaB8HZmm7B2RIkihquviuBWI01RH4cuIQUh2ALNhm7cgojMirT++/Ple86B0vVqRD92ZSkn7ZROqODavkVIpnVyHFM+e2PaFNyKJYCrroxh/JAQJIrQ5tFCHBgwugDvfkAxA20bE2tbsWf4QCioBKhJhrP/Hsc944I5FIA1vNQYakuSYcIML15+zQ27XobadBOFK8DQdg9KU6zCYT3SWRwPl5wxBsxjZfG+pgduhA80ecXnS9CDe6/4jgWec0HYzfoBFdIY+o8swocfO+BwUpKpeTOHhqKLaLsOKp5+YAs60+c/DzwOvar8dwmXXFOMeFQWF9x8BU0GByFpiorTmP9YJfYqIh997Zddui//uNyBAcP92LCRwSZows3HpMnsYtBw5hlR3DUyAm8mTVHgeLxx8PAhrBsWN0JdNjWlfPfD1KAN2ZmvPugzaI6jEP86G8HhduClt1wYdlshFJtqKJ35pdIBSCU1Rw4K4YZ/5lxoa1kgmTkffifjmv7FcCkSNFPEx7rCMhvHk/dX4SgyrfT04Jqb4T0KqwwPPeXGnEd8kCT6wpmFWhuv0ACPT8X4kRGc/bcYWC7duOT6gpWF/q8h97g+3mVeG+pjFhbH5Itxnub/11Os6jkvo90xLrTrggxX9CvGimUSHDZLHntxxKaSMg46NIEnZgbhtxmXvTzmqirAB98quLZ/KzhtOiYmb/ep0FUVkqzgsTlVOGb/eO0UJYbvnu4QK/+0YcBoPxYtkoS3KP9vTc7C6KLNJBx2cBIzJgbQ3pNDbS55w2Dhf7JSLMhDFI22S5NVfL4UDrhOX83j5e2QrtALJdMJ7QBmPu7BjNkeuMgfbcHEoZMyzblgNbhnShXOOj5pCo9Ddvo35RL+eVMryCplPRFZWx6OeVITrgl6E8UNPPvQZhywT453pTY1otJCYHj5bSfGTvFCTUtWiinqUTQuwW5Lo3/fKK77R0xPUxROA5GmuAFdg02abrzpKv6ygjHcedYIROZ7GE/pp70d+GWVgl59i1BVxaGI3FQrS+RIphjOPCOBmeMDsJP7Mk+9FborAYtWSbjk+lZIx+n/z7IU1qa6QvHJyvYWa3hp7hZ0bqflda/IukgZsD4sYdSUArz3gQMOxXwwV3ds6gumfINZkwPo0SGHLoW5woA6iXVLNlm6cStaUfvm1XMPvgrtue3SZQi/7Wa8Un9bJp1woh8vvuKG20Wnllm916n6qNq438/w2P1bcHBJunYbe5v1kslRsVHGef9qjWiEatiauVjrX6niNim89ngV2vrzN7Ey00hJwKcLbbh1VBGCVE1R4pA0KW//vohdZJhMZI7LLo6LNEUX5ROLXzbFSAqiUIJdmirdeNNU/BUlL3Kp87ks9qFdeHJoIxzAu1/b0GdQKwGIYabyZ6s1l1x6qTTHTdfGMKKvhXRC46L5+xYJ5/Rqi1BQA5Pyd6TqtH8M7dtrWDBvM/z0A84Xv5NZBgOCKYYpD3vw1LMeOGWy2WkO5rdbhYa2xcDk8UGceJBRTVEcNE2bbty8JOr5NK9teL4ER/GC3u+zymfdYFRFTT/VK9MM1w0uwLdfO+FwGAcTlSk3+QNIp4GSvTU88dAWdPDl50r8y5wZsDEko2fvVvhzI524NMX8RE2Kr3KOzvsArz6+GZ68UWtbz4KAeIsqbBgwsgAVFYTetGj0GUHqE05M4O47Atk0RRFvk5su3Xh+u1GbNjbQ30mPUXHMIg2hblJsEXEPiM83uS+fetWNMXf54BSYTNM2jp6HRd4MzjB2VBBXUDrhTrChVSYYLrqxGCuXyznUf7ULShQ/h4ruPThefmgL7ARbsNIYQJCJJ+a7cPd9PoFGNXsIZF5LcnG5GW4fEsCFf8+ppkgl3mX/InTZ3OToxpuW4i+Re3PvlbNY6Fmv8PGJoAqweotenfCPNUzH4+SBo9lWl2goQl8efWQaj9xbBS+dtGZNjKymEB8ncOXNhVj4A9F856+5NA9iZTv6qDj+PTMAySzbcs6r6JJdsVnGwDsL8eN3Cmw6UNtU40IOeuT7gB4qZk2qQodiVY8VClu/bRja5r6sm/pvUwPv4s5NRvH5n/DxxPlrWOwbP9Q/sl4Hove+9xEfZj3ohtdSdULdY0P3NqdTw313B3EyVSekoJHFw5b2lHh7bhhSiA8/c8BNRSby3WiRxM5w5ilJzJlUaf2rY3z0qLTQG584MWqcD+mkZFAH5f9FFF5iYqjQGGRFw43XxtD3X+EslIJDBlNaV6FgQ5OiG286ir+s/UzYj74esQUucAM3oAA/LCc24SJs2QzIJu154yYgtDKuyrjkggimjgpCNq4O+erq9mx8ArYMHO3HG++49HhCno3MirTKcHHPJKaNrQIieT64vW7GRXtTjOG2u3144y0HnPRFNOedzY5Mbs4O7bkoXXpQaQ5YTyqOgsceZN1iTYZuvEkoPl+OUu7qtZCFXnWBB/WNIHpvxjDirkK8+aYdipypC2tOUUgAIp2wnYrH51ShR/v88Dg7fAsFkiRgxMQCvESuVXf+mkacN6rKccWlSUwYHtAVP/8DervTIhzPV4sduHVEITZtYVB2VHpxuyPotqMGKgrM0JPSFAeF4DF+QQLfo7SLg6/fj5Vhhbkd2DW9m4birzrgQ848x7HY10rW8KZ0ws+cGDq6EEnKB6RPrhUZcgj35cABEdxytVGd0Mo4uc9QWqAMjJ/pxbwnPXB7dPxNXk3jSHLgpuviGHFTUOfrsdoydx0C7akMMx734rEn3MLLpEcWzGF5xHdLA/yFGibdEcBpx+jVFMXvknnSkB0fsq5bmgTdeJ67YVXyO/8cL8eZWsF1L0qBf3uyUlaAzRGGm0b48d33dsgyRTut1YQlCHDZfgk8OZvSCY2g185Om0oLycB9T7hxz2wf3MLUyVPUnOASwPBbw7jx8vyBcbVNme7pS9fZ0H+0H8uWyVAkFYyZk5n4HYlSKsAxR8UwfWwIbXLjDHK7CPiG81kZ3q1tPrv673nuxq6ZJsFlsPbUVTxRsSdLL83eNimd8PGXnJhyj1+3ekzoVfVKiB+HqjkwTB0XwAWn7Zz7cisJUUqgAjz9qgtjxvvhcZlgdSCiJzBxol5yZpzAN3XTJCCqMTz3phuTp/oIjWTUUzSvAqT8DqeGwQPC6HV+FHIGPUpFgpXC1SjZ2JWxfADcdbM0K6OYX7WVt1h8hi/zDOPu829D8AWvKN1joC+Xr5Nx7aBCrFmtgIp/53911CcioqNgSCeBk05J4MFJATjIrWPVfbnt+hiQloEF7zoxYETzWk/rAAAgAElEQVQRPG7NKLiWhyCMFMA504I47fi659pfF5YwZLwfn39mh81mtZqijjgt66LioWmV6NQ6B0gntw6DhW5jpYkZeax2l3VptIrPV6AdnJct5+H3PUzbmBUQpRPedZ8PTz3l0qmyDWvVnATpAsngKeCYO7MSR/VI6cUc6lAaBE1+63M7brilKMvals8cyatD6MzHZlfhuMOS+olfF/My7H0KC7z3rRPDbitALMYsoTf1g0aDLDHc3DeC6y6NwE6nvpgnVYNvF2HudXuzjticz5p3RZ+6EGm9zJsvL3kGSumFiL/rADcyq2zAV7860HdoIQIBvTph5ppmZhJkeCSTDFdfGcMdg4KQdiJCW9N7VQn4/GcbevUtFrWr8vsq6flXNgfD0w9W4RByGdaWhJLvwnN2upLSFGd5Mf/VTJqiOVtRlBWiVE7O0WNfDRNGEAtbSkeR6gC2OBh/jnUN9c53eg3dr1EqPl+Ow7n7ho8QeMbNENZlIgFBlWHIHX4Bt6VCa6aw9jl7m04zdOiUwhMPVKGk2Dz6MZ9NomDnrysVXHpdEVIUOMoToEkgOV+hhufnVqJ0j/qZGx0jP6xUcPMIP9avl2En3hALFyWCV1CM4sKeMQzpE4I3k2lGsrbtEUN6/dGsO37KR14N3afRKb6Oxzl6Ieep/Vn8B4HHocYdwH/ecWLkeC9IcXUvTn7naEaotFi6z6oax5ihQVzzj7j1yGgtO0XOj9UbZVzQuxihEBVozm9rSfHbtOF4dd4mtPXV4b0j9/UUA1EZ5j7rxqy5XmJhMVcMJmcsokXZu4OGUYNDOOWoJEQVVQElIVoLzw+sdFOjpBtvfIpfLl/FfdfMYcEnvdkqajJV/pNx46AiLPpNFvjyakCOuSVQgsmhhyTw+IxK+GnHzf128tNe4wu1oUrGOVe31qPKeSu+hk6dGF6b9ye8VLChnuZHWWIrNikYOLoIv/4iQbFbIdoiYB8X9IUnn0xBrQjaZtIUhfITjmfjNaw7XsxfcA3T05zW1POc+Hp4eOrctUj8VMjSq7NamXIADz7pw8w5LkgSfQHM+Z/FF4N+KuS5sTPMnlKJM0ymE1pZ+paEjPN7F+P3tZJOJJVHo8htWamGVx/bArtaV26m7byYosscePk9F8ZN9kFNEQtbHhPcposA1XENbVtp6H9TFJedFat2b9K3RGm1CY4NjY5u3MJSzQsn3yf4srbT4DqhLw//xy3SCakpwM8VCm68tRU2bBCQKEteDrKgUkkNPc9K4u47jXTCfCdmsR9RnFzez49ffyIq79qP7gwy88gj4njqvgDkBqAg3xBlGDXZj3c/0FnYzDe9uAbdwQ4/MIkJo4LokrmbiFO/VQSI3MvK4reZH7v+nrCy0nqZDV+CEnh7/8Ijr7qYWiki/DS5qMxwxzQfXnrFCVuWfs/stDk0lYlQ+7z7K3FAl2qipHpZjDEoOYv6DC/EB584sskxO3of6QkVnTj91Djm3BWou+DVDl6aYsBnPzkxaLQPgQDdRSjCkaddZowrUFKCkoTjqsti6NsrDKdYDHVggLJHDFjXqOjGzWpQvekJX73f20D7kxH9QMmmE9qBD79x4eZRPsSi1j7FFDkiMtVkCuh3bRTD+oV2Dv+SrwTIlJCBoXf48err+SE0yUuipYFLL45j4ugAhEOrPnfIQG8G0wxTH/Lg6Wc9gpIkUyAp36Vm+pHjoKxrGmOHEf1hsjpJnnlTkJU3Wdeq88yOWV/961Osec+ZL8GpWkHfV6XKxz1ghlNdAsjfPGB0Ib743A5JsaoDKtJpBV26pDHvgUp08ORB7533zHfQ0VD8cXf78OQzXrhdaq2uE53AiuP6qxMYNSDQID9QYV4BWLTWhptH+rB6lQ0ykXARB7nJpoLD5eA458wERvUPoYDqc2WuKXL7KLR1jYZufJcrPjkFsPbk5Vpyw15S6jf9+0jycgDP/deJsZP94jOaMX3M7YVgyIGqyZg4pgqXnZuoN/flX+ZlANXufdyNWff74XURqHfHTSi+BgwZGEa/K6nwhLnVWu7NdBzPk/9xYdoMSlOs9Tda46soX7jDHgwjBgbx9/+LQcoEtZgDkAuWocuf3RoD3fiuV/ylrlu5+5/jWOjfejohNUlPJ7xhSDGWLpWhUK0mwRJgrpGipVLAMcckMPfuILx0/FD0xhSln7l3Znsb3PXPvebEqPHEzV87rl6YxZxj0tgqXHKGAVew+Hqzj1Ga4potEgbfUYBvvqNqimZH0O15mj95sP7v2ATGDw9hjww9iojoknuzcjDrlnrYyuh1+YxZXarLd4OXozX3XbaKRz72MPUP3Z1G5XbswD1zvXj4MY+o7aTT7+U7VWMQ+oRrgMPB8cC9VTiB0gkbwEuSK6A04XU+dKLPUF3xDTLiWmX40L1bcPJRBn6o1t5114HSFN/5zIHhd1KOgw57NXfc6BdjYqErKgL6XhPDVReGYMuc+uSGVtoEIa/fm3VGVd3N3PxI+WqT+ZHzeIIv2+sJ7jrkHyz0ujN7E7IB3y2xoc9gP7Zska2BqMi7xjXEkzL+cVEMk0c2jGtw2yUTeezHPzjRu48fduHONG6TNciGLpWKwkSl9CN65MfDn4eY8+8iAZtjDHfc48Prr7ug2Mwqvh5YFJhPpmF/wvGMqsK+nXLQm0pRDDw1j5WFdynd+C5TfL4EB2u+6z+XAs+7wILZ9LoIGIZO9OGtN936hVYck2aa4VdOA0VtVfz7wUp021OtO7CXiakQXmfhCsLrFIITak14vHfsKnR7VbzwaCXKaM55UJKbmM6OuxrBcEpT/HqxDQNHFmDTZpuIkptTEv2LS7a+x6PhHxfGMOjaKNwZ1ly6rMntY9D+OHRX0o2bW1OdSRngq4/8QYN8oBT9StJJSgHuBP73iRuDx3ihJsmuN+dPrp4eF7b9oP5RDOhtgQ2tjtZJulSxScL517RCKCAbeJ2af8j0G99jjzReeXwLWlO6Yj0GbmtcIqUpphlmzHPjsSe8sFmmH9VzdEv2UXH70DCOOySpV18V8Rm3Ctn5Beu6ZZfRje8SxefluEwr6D9XqprrzZKvS8CfUYa+w4vw/fc2SPSZzTdPdatdJJ+9iv32S+GJ2UG0dtRROqGVHwMDNkUknHd1K6xfL9WcNGP8FojMqktJCv+ZtwVOq1QIVua5zTOE41m6QcEtI/woXyqLCitmz30akvz6Dhtw+ilx3DYohGJK7cy6N/cIg6+/nJXhv3UwZdNDNLji8z+ohvC5FTz2SyuWXlmdTmgHHn3Rjen3eg0PTg6O2MSyKC2OPBR3TwjgvL/F9OintaFMvLVGox1BjeEfNxahfHGG0Klmkatp4KCDk3jxwSrIlHHe4LtjrIMIeMHwwptu3DXFK7A4ksWvr6YxtGmbxtB+EZx3eiynmqINUIrXo8uGvSm+uPPCNjdCg4uWL281UXOdd7MUpORxI53QBiz5Q8F1gwrx+xpCX5pbBPWmrwMVakskgVNPSeL+iZWgUrS1Os/Nvyr/J4jGjxGxlB+ffOqEky64NSDB6LdJmLTT/hbHQ5MCeryhwXdn66X9EWEYMc6Hjz9zwU7Zbixvlv/sQGS+SbKGIw9P466RQezVKvei2yoMLbRL6MYbVLR8Bfbmrt6/8dB/XZL2Z1Y4cQW4a7YPzzzjgaRQ6R7zmk8LIcVxezU8el8AR3TbBV6RbX8SInrLMGKCH/NfVeBy1RQN1S/kVG/rikvjGD98J4mk8v9p7rAnVVP84Fs7ht5eiEhEg2ySlYEGFzllVDm9UMM1vaK4ntIUswcSA2ztopDWNzjdeMMq/soeb3Bpn1NZ7G2biCTRMecAPv3ZjpsHFyIUogPRGvqSLsiJuIRrro7itoH5VyesIx3Z/jAGv86UB3x4+FGq0KInuv+16cnoqiqjf58IBl3XQHii2hbPgKoEw8T7CvDiyw6B2Rf1uWp7LufvuZkT3bslMH5EBAeXpqq9bMyfgIRXWWngMhPD7nRXM2vYqZfxpTiR+/q9gaon3IS+Ei+mdMI0w613+vHh+07IhO2w2Cgrq1Mncl9u0SsFGmm6Foerm8eM6O1jLzsxbqJfsC1sP12SXFrEpyNh7O1VuKpnouHgCjtaKZUepWqKKxQMHF6I39dV5xWYUn9G6FjA6QYu6BnHiD4heKgqI110acspTVFdfyLrhm/qRvC1j9Igik9RbKw5eSnUqs5ILDRgUXo64ctvOTFmfAHSmlEgzcKMBLW2yjBqeADXXFKH/Di1y6/WHsS28PYnDtw0uHCH0GRy/lHy/FyKMh/Z8FHmGhdCaYoaw6PPOzFrjk/49cnNbGGbhG+f0hRHDwrjb8fEdYceDSQ5OSTfr+jy54EWrhG17sH2OliZv+kX8XJHP+45ezKLLPBCS+mLtQM/LVMwYGQR/liTk4xtYkYZtkxiTDj3nDgmjwnCTT406x8O02ur7QFNBn5Yoiedy1SOZzvXF90cYHC6VTz/WKVeb6ohg1e1LIK8yn+EGMbe7cP/iASX3Jsm9ikzvH7R5Tj84BTuHBZGaQeDmYE6sKIwEGwwunEL069tq7f+O1+NIi6fU4HY116mVvPjRCVg3D0FePEVhzjprBUt4IJZuLiVirkzgjikq4EBb0SKT1NZvVnSk85Fosf2EHIE7gLa7ZHG/Hmb0S5DMtuI1kEJKx//YMOwOwtQWamIwJaV6YmEIL+KKy+Nos9V0Zx4hQzIRZXwb9qLtc1Qa5jTNTO961/xV3Scy+WyK1n8I2fuhfbtLwkM5RPKQEpvbSLEjyPj2quDGNkvklOS0owI6r9vVZzh/OuKULHKLvAvf2lk7nKge/cUXp5bqVdBqcba1f8E83wD5Ufc+4gbTz7rFUEtK02vm055xSncNjiEow9I6aBcIRZvFIr6ACuNDbEytplnrOlbnm/gy7C/5r7saxb6r4vxan6cTXEmqnR88akdkqjNZC3CRCzHlGBy/5QgurVP75oQfx6yiGrAvwYX4puvHQZYbWuxk8uPMq+OPzGJedMDYJQF3ggbXXR/WWnDoNsLsHylAoeN6ySyJhsFtYh789yzoxjeJ4pCiq6LiC7heFrHwf+sd7px87M2sUi+8uCvOXAYEj9JjLJJqDmBf//HjYl3e5BOZSp0mBg084HlkiBBGj04iCvPj+nQ18bYjEysURPJJejebpEIOgHJh3/lZTGMH7qT1OD1LAOqq/Xv15yYPrNAAAhFQNeS8nN07KBhcL8wzjkprvPxCN13pqE4PmBdAqfX51LqTfH5ElykeS6fx4Ive5m4vuusICs2Kug/zI8lSxVx2ltp9IVIJCUcd3QS08ZVob1PEzi3RtmMTKzZT3pw70wf3OTS3Mawo+QNVZMwfFAYN/4z3DhcmdsK0/goE45n1WYJIyf48eXXdnHqWwsxc3HRPeG4BG4bHEGnjAtaJKy0ioBvrle68XpRfL4STthOq9DiS9pI6YpqfhwbcPdDPjzypFtYeswy/oPD6QLuHh/AqcckdB6XellJ3fyUKCFlwUd2DBxSCIdz+xOluN1906pw2rGJBk+YMbVKCspx4M2PnbhtYgHiMZY3PeK276FIe5siDdf1juLqi6NQqIK8+IDYwGTfanTZUm904/WiLry8cCz3nDAY4Tc8WZp0B/DNLzJuHlWIjRup7mrG7WhuCiSadILh/AujGHvrNgnNpnaw4TqTS3PhUgWX3tBKjwht6w8hDkofx0uPbEFpI3NlbldKVMc3ImHibA9eW+CGYilNsRo8ePABSdw2NKwTz2YpCAvDQGQMK0vNrI+dMqd1ecyAL0VHuC5YgsjHLvDN2aQjIlcaPdmH1990QBIoNJPZPYa+qGmOdu01zJpchUNL05AaQ4S2NrkwYF1QwkXXFmPjOlkk2OQ2TePoXKJi/iNbUFCPtIG1TdPM39MS8NUiO24d6ceWzXpE19SVPGM6aYDPy3HJhVHccm0EHlFmkWZC9YpaReD+s17oxute8Vd2fRVS67MQ/dqWSTChC+2CD5wYPcGLWEQWazL7Yl1OHClVQv+bQoKFgODdTaIZxZZvGObHZ584YM9WQdT9WRTOP/WUuChQIdhVzApnVwiB4CZJhsn3e/HcfDcUiTBWplRfnzXX3Ztd9klh1KAwTqSaAJmLruQhUPmzrCxyTV0vsU5FzMtxPPde8RbCL7sZN/hxZGB9SMLNo6lelU0EcMyDW3VdSCY59jtQxcyJAZQUpy3Jua4FmNd4dMGVgBmPekU9Xg8lnhvwZAFO0xiG3BJE36uijfNiW8MiyWr7/Gc7xk3zYvkKm2C6s+DgETWGXXYuGORGDgijjUE8Kw47pXUM6U11TjdeZ4rPOSRUHF3OU4GuSC8GMz5ZhMeZ+6wLd8/xgdMKLUCOhQAopiNzjB0dwMWnJaA0BRMnozAE9pKBT7+3o/fNRaDqbozMPR2bBpeX44nZW3D4vkYwJ69fU+PoRMnpT8134f7HaX/JYUGBGTOwEb0+GMXs2rfVcEufMC46Iy4quot9Zw4NkusHVlpVp3Tjdaf4S2w3wnPhdARf9opvFY1sAxav1d2XK1ZRmDtTBM3ca6l3PAGcckoCU8YEt6601zj2f8ezMO4nG2MShowrQPlSqt1VrRwHHZjGlFFB+EzXn931i6dT/9eVNkyY4cXX39pFgE7c3kxaPXQA0D3hyCOTuHNICCXtDLyScG8Wh4EtvVkpXqqrFZvTwBreypfDz+3nViD+TQFT12e9FgkFmDS7AE8974KUOQVMclFTiJto9XwFGmZMCuD/DklCbqzBqpp2JXMxl4HvFtmwfLWc9WqROLp2VnFIWeMCpuWtYJScnmJ47V0Hps7yIRJlIoPOWkQXKCzUcPUVMdxweRh2A7YsOLLlok1wbqozuvE6Uvw953D7UVezyAIXuKGVTuDTH+wYNMqPysr8S+H8VeAUrGK48oooRvYNw2vqM5r39jVcx+1hXMS3fhenSe6EBAhxunKDjHse8OL1d5ywKUbegSXt4ujRQ8Udg4M4tJuB3qRxmD8CJOqMbtzS1HJlxMvRnfuu/J6F33VBo9NeN+Or0gzDxvnx3ntUr8pEZe+tNoC8OBx7ddJw39QA9turibgvd0KJmuSjBMvQGD76xo6x03zYsF6CbGMm/ZvCxQNNkwQfz3lUV+uGcLV7l27NttZR4M/urCvW7Kycdl7xVx30GZf8R7Ho53IWRE6Er/9zYfyUAqQSmaqy5l9FtmJaUzH8lih6XxwBYZmaRSNRZHD5Tfik32ovJGB9QMJDT3nw7+fdVPTTSKzPF9JARm31RXevvdIYMSCM049L6OhNoT6uFCTbm6w0uNN04+a1MWe1fCnO1TzXPs3C871MrdInJwNrKiUMGF6In3+1GejL/NU1E9ck25cutIcdnsDMcQF0LOKNF4+T7/LI3ceByoiESEwP4hGLcqGXGAwoJJ3vQI2sn6FFxPT8zRIHxk334rfFChyKFWcGFx4em43jbycmcNvAMPbwG2S/tGy5dRTapjNYN3y6M1KwrPicw441p1bw1Pp2LLUom06YtgOz5rnw4NwCS2DjzISoMiHVe514WyV6npyE0lSVgnaHajfKQPkaGd9+T5dbOwJV5PbTUFysoqxExZEHJ9C5vdZ0ld9YZ2Wc4dnXXZj5oAdakn7Q1qjYNJWjVVsN/a8N45/nxnPwWDZAKliKrpu77wzduHXFX+YfDdd5IxF+yQMtmnVfLlxmR98RXmz4g4JVVn6Tuh8smZBx9lkxjB8RQDHx0TRhM4eCVx9+Y8cLC9xYuFBBICgjRdwddHo4IJT/6CMTuOy8OI7aL4eBwIr4duEz4o7OgPLfFUye5cHHnzlgt1RXS6dLlyS9QuWdQ8PotpdRvklcdIvD4FWDWTfNMt24JcXnq9Ce2y5dhujXbqauyoaqiTxp7PRCvPyKXsHEWuxdgyrSCYH7plQJ1uAmgcfZVuFIsvSFtgEff2/H1NkeLF5sF9lmClVuzHCicwYCJVIS95FHpESpooO75mzyLlRkK6+mO2hUBd74yIlJ9+p1tawQhAkjSWPw+jmuuiSKPv+KiDRFnWaV3JvFQUh/7sW6IGBlntYUf0XXF7mt+7mIvmNnRDpPP3UH8ObnDowY50ekikNmkqXwtTjtkxzXXRPDoOvCOstuEz3tRZJ2UMLgsQX48gsnHCK489cmiFSFGavhrDOSmDAsBL9wCVrZ0kbwDBW33iJhxiM+/Oc1JxTTaYr6TY+YJ6iVdtUwZlAYxx6YyEFvemNg8uOsNNDPyopNKz5fgqN4wXXvI/iam2kb9UOdyFHjDLfc7seXX9iFiSMIX02PzpBOqejaTcXsiQFBlc2aEjQhdwcYQAjGVz5wYdhoPxRZpw+pUZeFx5eLH8fsaRGcfES0cePyd6RthNnXgM8WOnDn9AKsXS2Jy6rZoJbgW+YMTqeGs89IYmS/MAozxLNEGenoFmdYfDArQblZ5TelmpRphoqjF4GhG6Lf0taK93E78OzrToyf6odqJSlEaINxGjJg9NAQruhppBOamqHZ5ddvf6JGvGOaH888X0vVQ0PpdRpB4PrecYzq3zDF3+pNAsR+HWaCCPjRJ7zi60UuTnOsywYmVwM6tE9jcL8IzjklLujGRZMKVUiuL1jXdabpxk2pFV8i90ZB71kIPOdFJnlcBlb+SbWT/Fi40J53Be+tBa6fBsmUhuOPS2P6HQGRTthUTRyxNmIclhj6jSjEe1Q82VG7itE2q6qGc/6ewKwJQSBi8ZpU+6sapAfVwvhxuQ0T7vbi+4VUQDpfn/7W0xPuTZnjuGMSuGNoGJ2KjcqVZAnZS8NQl5qmG89b8fmf8CFx3hoe/83P1GV6JWKyx23A/Y97MPdJD9Lkqch7xJzFEcVcmsHtVjHtrhBOPTIhLrRWhmqQHc3nJYbi3zLGj/+97YCTir/V0oTipznO7xnHPXc27qTz2taS+fEHEwzz33Fh+myP4DYl2L6VRswMRcUqbvgXpSlGYMsSzzoBe/t16LxyHzN043lPgy9rP5M7TrieRV5zgbD25I2zAd+XE8lQISrWGKRQFi5k9EgySWVjUhgzMAB/E8lC2tEG0hVHYPAf82L2Az543GqtNq5e7pNh8M1h9L9q11VysaKYNT1DOJ6l6xRMm+PGO+87YVckwc5gCrdP/cmykRj23y+JO4aFcWCXHD4e295hqBsmsm7xSfnOPS/F58tRyt29FrIQ4XHW6fY4ofI4AxUwXvC6S1QYpB9DXgNuM7t0Gmi/Zxqzp4RwcJcm6r7cjsQJsvvVEjv6DixEMAQocq50sjFqIw1Tr3HbprWGh2dU4cDOOfR6+e5mY+xHX7408O7XDkyY5sOmTQYy1YKmkI55fBr+cX5MpCl6CcYtDloZcHSNgpeXsBJsyEcMeekpX3nAh5D3OB7Rj2S9kJHuvnz9IxfunOpB1RadJ8Qk4ti40Oqw4wE3RUQ6YbPB4xh2PlVEmfWwF/NecIKnSPl1qILIwCJvgcjYY0hpgMuh4uqrExhwVRiORsYBmo8y1dhHAv6olHD/k148+5LLiGNY4yCkr2LnzmmMHBjCyVTCNeP1k9smwLRXWddNedGN16r4vBxncl+fFxF+3sPULQa7LbAhImHInX589ZXdyJQxLxr6gNG9YL8DE5g9MYR9iqmUvPlxGu0TpNsSsOpPCXPmefDWu06EAvTJprxjcm/qpzx9Pqlwwvl/j+GGq2PYk4oiN2WIxnY2hJx9X/5qx9ipPqxYIevMDKbsHX1QUVeL0hRPiWPsoBAKHBm6cXJvlkVZqvykfOjGd6j4nMOGtaeu5KnKDiz5I1299Jc7gHnznZh5vxfRmJ5qZpb90vBgginA+FEBXHRqHBSzaY4to/z/fd+Jr76xY+0fiiiCoXEJbo+KvTuqOPHoJM4+JY6OrZs4XmfbDcw4chiwOcrw1Ksu3PeIW+Riiq+d/uHLu1EkhA6L9ntomHZnEEfvn6yO9UgFHLL/V5SsqZVufMeKv8wzFJ7LbueB57xM+Nb0dMLytTIGjykUFfGEwotjutaPx1aLo94JSic8LYHJo0Jo4zIqpJgQQt7SagwdFSCaZCivULDqdxmBSjLxZBT6UyjpxNGjcwouyltoqgG7PGRMdX9/Wa2INMVvvtJ5RHWlN6c7AsejMPS6LILrLouiHaE3jUOTK2Vhllreh3VXn9rRlGp8I1+GtnBdupLHvnWz9Iqt0gmnP+TF08+5kcpyX5rQVlopY6Jelb+AY8akKhx3cBNMJ8xjo7fbxSBfIvccfbYVuqCR2d/gdf+sLmAnnjPSFIlqZuoML8JhZgAZzSk+zYCYKcq6JNH/esLsJ2HLWgsOwNapCp5lHdkemdP6r3OuWfFXljwN5eCLEH3DAY3oTfQL7Wc/2jFyvA9/rFcs8CVUs1+nUgy9/hnH0L5V8GYcHDsh0yb56G64bt3sk3H3gx68/j+XCEzpB75J5ResGxrOOSOOfr2jKGmfcy+ydYyCB+awrqGhNenFdt/Gl+Ew7rnhExZ61QUq5kC9jHTCMZN9ePtdp4hf6cUc8jdz9BwbFam0hL32SeOBKSF075ike15L210kQAlGKsNH3zswfqoP69ZJAslrUu2F2qU1jvbtNdx4dRiX/D0BV9YzIoHby2IsvXh/VgYyV/7Stq/4q4/8GXDtx2OfM5bhb7YDL7/rxMRpPlQFKQKXv8LnvpU8OfSZGj4whN4XRUFQe9FMWEu7i44023XKwMYqCQ8/48G8ZylN0dKBrx+jmoQTj0/g5mtDODiXqUJqlYaifMBKNmyXbvwvis8Xy1dy//UPIPSMl6lB3f6UgbVbZAwe68MP3zt0IiQLwSr6QCTjDIcdkcCMCUF0KGhm7stmq6l1vDAD3vh9uZ6c/ttvilFKtNoUzveNqgoU+lX0ujyGXhfHUOQyLrp0kNp7RJD67TzWDe9tO95Wis/Xw8NTPdciuQHX5OkAAAmRSURBVLIwN51QtQMPPeXF/Y+6kExQMQdzp30Gk0cXOrsTmHJbAGeeFG/a6YT57kxLv+1LgGroxiU8/7oLMx5w60VCyObdXnW8HchQB/YBBx2Qws03RHDioTrOSxgRzAumtFmNkpV/oRvfWvGXtZ3G3af3ZcH57gweh6oT/rxMweA7CrFqFUXbLBz14lOmIhFXBG3EuKFBFArKkRat2J0lQGmKS/5QMGm2Bx9+4oRT0ajoqWl7n9ybdjvDRedFceOVUXQg9GbGLayUhKH9PoaVJbaiG88qPl+CEu7t9Qsi77tY+neDrBKIMoaJs72Y/4oDaloUrLLUVJWjTSuO2VOrcFj3VNNMJ7S08paHapQApSmmGd78zClKQ1VVSYJ12fx5SPxLDF321tDvuhDOPikBgScQA9kAe0kY9vJ9WEdszsylWvFX7/cWpL3+hsh7CnhSt+1twAffOjBygg+bN9KErMFKRY2nlISbro3g5mtCIDNMjG9+hS1a1NwkwIiORsGsRz146T9OwbhspdGpTxiQv58Sx4BrIyjrmMu92T4OJJ5lpVuydONC8flSHMq9N37CQvPd0Dbp7yVOdw4MvcuPd99ziKx30lYrBz6xoe3XQ8U9UwIobWfQe7covZX9bX7PkMODA5//5MBdU3xYsVyGbLg3TakI15DmDO3baejXO4yLzozDkfG2k3nuLItBLe+WYWHTFX/lfm/C1ul0hN+XsiFEG/DdYgX9hhVg82ZblhTAiuanqKLf5VGcf3bMoPduse+bnwZbW5Fwk0gcm8MyXnnNhdffouR0i5STOjEDLjgrJk79vdoYtj69xLZHAog+xLoGbxHnOt8IL7TefyL0rhNqDiWhE3jgKY8oZKDfuK0vTOIM3fdLosAg/Ld8UbA2hZanGrUE9CxcAqNWbpaxbLUiElWsOlEIEXDwgUkM6hsWzNrZ6ipcBpz7RuH5uR1VTmd8CS5E4chHUTWnEFo1RQkVdBg4rgD/+59LYErMY+1zpc1Bp74wl7hZHGej3rWWye2kBDIYNQEOoLJXGf+JOY+5MQsGcqK0b5/GLTdGcPHpcbAMvJvGcx5ShcQPF7HueJ/xct8kXnDxUBZ8ToampxRSS8pA78EF+PYbl54yt1NA+cwqLK1mJ0Xb8njjlsDWumGUlbA0ZVJdAj8WFKiCerDXBQbUPXMxtZckoa69i5UmxzFecezbHK7TWPRjVH8XgDhjuGpgIRb+aDc+O6auGpYm3vJQiwR2VgJUbspboKFP7wh6XxQDsZVnvYdSa0Dxf8pKlv8f47+f/S1PBw5j8S+RLepANpcNuGFYET79nBTfPJZiZxfQ8nyLBKxIgPJyiY3h5uvDuKJnfOt4kVQM2Pb8kXX+5RDG157zPdLBQxD/XFd847PAXcDt0wvw4nynAALpMIWW1iKBxiwB/S5Zsk8ag/pEcNaJcWQwluLwlosA296/sc4/7sv46iNe06RWPaXIexDZ0Bl7yAm88KYL4yb7BB8KuZx2Q/h4Y97llrltIwHSz2QaOPboBAbfGMWhPXK8OtRXbkMnfjnbZ2F3xpe1maW5zx8ghZ5C9nJLIxBD2gY7bhxSoGN0RLMSvmrZnxYJNJAEOINsU/HPS2Loc0UUrXPZ+MihaCsDk+LzWUnFxeTO7M2L7prJtkzzQTOqmhhHe9rOcM/DHjz2jBsapcYJmEGL8jfQNra8xoQERJ5HiqF7jxRuuT6MU49JQd6WosV1YhKxT25n3bUpjJejNS+6dS0LvuJAerWe8p7RbRuw9HcFQ+/y4ZefbCKxPJt0ZWJSLV1bJFB/EiCd5HpJWA9w+SVR9L4kira55YOEsaKAe84MsPiCC1hXfKBDFtac9rMGz/5S5E2AJ7ayaDQ78PrHTtxzvwcVqxVRwIBSDlss/vrbypaRzUiAKiVCJLKccmIKN10Vxv4lKb1eWm52n60DuK3TZrbXl21IfXXFX4xLtNZ3PSZtmeWFtg0DmwTENIb5b7sx71kXVq6gc1+CzAw2MDNzbOnbIoE6lADx52uqBJcbOP6YJHpdEsPh+yZgzxYTN0qzEd7Gc3Yc8Y/vZ6WBIVvdVvmak37TpPbdpdArAI9vfY+VgIgm4Z1P7Zj/ugMLf7IjVCVBkhkEHaRsEGe2eDzrcFtbhtpKAob5TXSLdMJrGgeTOfbcg4uc2wvPjGO/Lqlqpc88LABqncEdXcIs/m4JK8WfWyv+EpzKi29/BaHXvSxRzZqWfbkEpBnDT0tt+PArBd9978DK1QqqAlSoTdJZw/XvR8uOtUigjiWgexVFRogEUTCvVbGKg/ZL4+gjEjju8CQ6tVZBFEXZYCt5cYTv3g/u6RmWoi8OY6WJBzIT2zr1cIlvqFY85A6p6jkP0ksAvh2SejsQjDAsXWPHihUMFX9IqArYoBKomv7HIoqzjiXVMlwzkoCupHr5Z1ElskhFpz05Dtw3hY5t03ASN08m1TA32MS8gPuMONKLf8Y+vx6fy5//F98kX9HlCXiv6MVDL4Ill+h8mdv2MpgXSNHDCYZYXIJWHfRtRiJvWUqjkgCDqLjjcnK4HJqultkCEVuf9pB8gPcUDak1y5D67ghWimDuWrbrlOfL2k7hviv7s/iPbsQIymAwqW2vt8CTNirxtEymOUsgY85kLOqMTmZJyRi4sifgOjnGUj+7sM9CO2NZVH5WMjVGo3i5fBm85z8EqZVNi37uklJk+iSriU9a4ljNWb2axtq2vU7KxeCOg6guVoRFXn8J8u83sc4wTu2tl7RD9eVrUIxE61FwndxXk7xplljlY2oFkN6o43oyZpAZnuemIdKWWTYFCTAbuOQDk9uD2zoDSocAS/0cRPTjAaw7/rOjJeR1bvOlaAPgdMjdr4St0/FgcIG5YoAtDUb37G1bzrDZX2UNrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",oe=me(28706),ne=me(35973),z=me(5764),a=me(67294),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,de=(Le,Ee,Te)=>Ee in Le?y(Le,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Le[Ee]=Te,ge=(Le,Ee)=>{for(var Te in Ee||(Ee={}))te.call(Ee,Te)&&de(Le,Te,Ee[Te]);if(ee)for(var Te of ee(Ee))ce.call(Ee,Te)&&de(Le,Te,Ee[Te]);return Le},ve=(Le,Ee)=>x(Le,b(Ee)),pe=(Le,Ee,Te)=>new Promise((Ce,Ae)=>{var Ie=tt=>{try{je(Te.next(tt))}catch(Je){Ae(Je)}},He=tt=>{try{je(Te.throw(tt))}catch(Je){Ae(Je)}},je=tt=>tt.done?Ce(tt.value):Promise.resolve(tt.value).then(Ie,He);je((Te=Te.apply(Le,Ee)).next())});const Se=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ye}=xe.default,Pe=({exercise:Le,socket:Ee,dispatch:Te,onStartScreenshot:Ce,onCloseScreenshot:Ae,handleToDetail:Ie})=>{const[He,je]=E.default.useModal(),tt=(0,be.useRef)(),[Je,Qe]=(0,be.useState)(!0),Xe=(0,be.useRef)(!1),$e=(0,ne.useParams)();(0,be.useEffect)(()=>{var Ne,ze,ot;if(document.addEventListener((0,fe.gH)(),Oe,!1),window.addEventListener("blur",Ze,!1),(Ne=Le.exerciseUserInfo)!=null&&Ne.screen_open&&(0,fe.vp)()&&Qe(!1),(ze=Le.exerciseUserInfo)!=null&&ze.screen_open&&!(0,fe.vp)()){(0,oe.RG)(" ",!0);const gt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Le.exerciseUserInfo.screen_sec+3:Le.exerciseUserInfo.screen_sec+10+1;tt.current=E.default.info({icon:null,centered:!0,width:444,title:(0,z._V)(z.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,z._V)(z.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},Le.exerciseUserInfo.screen_num-Le.exerciseUserInfo.used_screen_num),(0,z._V)(z.CP.recordScreen3)),okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ye,{onFinish:()=>pe(void 0,null,function*(){var yt;const nt=yield Fe();(yt=tt.current)==null||yt.destroy(),nt.used_screen_num&&Me(nt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+gt*1e3})),"S\uFF09"),onOk:()=>{var yt;(0,oe.RG)(" ",!0),(yt=tt.current)==null||yt.destroy(),Qe(!1),(0,fe.Dj)(document.body),document.getElementById("root").addEventListener("click",Ue,!1)}})}return(ot=Le.exerciseUserInfo)!=null&&ot.screen_open&&!(0,fe.vp)()||document.getElementById("root").addEventListener("click",Ue,!1),()=>{document.getElementById("root").removeEventListener("click",Ue,!1),document.removeEventListener((0,fe.gH)(),Oe,!1),window.removeEventListener("blur",Ze,!1)}},[]),(0,be.useEffect)(()=>{setTimeout(()=>{Le.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Ue,!1),document.removeEventListener((0,fe.gH)(),Oe,!1))},500),qe()},[Le.actionTabs]),(0,be.useEffect)(()=>{setTimeout(()=>{Le.exerciseUserInfo.used_screen_num>Le.exerciseUserInfo.screen_num&&Ge()},500)},[Le.exerciseUserInfo]);const ke=()=>pe(void 0,null,function*(){const Ne=yield Fe();setTimeout(()=>{var ze,ot;(ze=tt.current)==null||ze.destroy(),tt.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},Ne.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(ot=Le.exerciseUserInfo)==null?void 0:ot.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>pe(void 0,null,function*(){(0,fe.Dj)(document.body)})})},1e3)}),Ue=Ne=>{!(0,fe.vp)()&&Ne.target.nodeName!=="A"&&Ne.target.nodeName!=="BUTTON"&&Ne.target.innerHTML!=="\u786E \u5B9A"&&(0,fe.Dj)(document.body)},qe=()=>pe(void 0,null,function*(){const Ne=yield Te({type:"exercise/getExerciseUserInfo",payload:ge({},$e)});return Ne==null?void 0:Ne.data}),Ye=Ne=>pe(void 0,null,function*(){var ze;if((ze=Le.exerciseUserInfo)!=null&&ze.screen_at){const gt=yield(0,se.ck)(ve(ge({},$e),{reset:!0}));if((gt==null?void 0:gt.status)===-6)return}const ot=yield(0,se.oy)({id:$e.categoryId});if(ot!=null&&ot.is_commit){E.default.destroyAll(),yield ft(),Ve(!0);return}else Me(Ne+1)}),ft=()=>pe(void 0,null,function*(){var Ne;const ze=ie()(),ot=Le.exerciseUserInfo.screen_sec;if(Re.current.length>0){const gt=ze.format("YYYY-MM-DD HH:mm:ss");let yt=Math.floor(ze.diff(ie()(Re.current[0].start))/1e3);const nt=Re.current.length;yt/ot>>0>nt&&(yt=(nt+1)*ot-1),yield(0,se.P8)($e.categoryId,{exercise_user_id:(Ne=Le.exerciseUserInfo)==null?void 0:Ne.exercise_user_id,time:gt,time_long:yt,count:nt})}Re.current=[]}),We=(0,be.useRef)(0),Ke=(0,be.useRef)(0),Re=(0,be.useRef)([]),et=(0,be.useRef)(!1),Me=Ne=>pe(void 0,null,function*(){var ze;Xe.current||(Ce(),E.default.destroyAll(),We.current=ie()().valueOf(),et.current=!0,tt.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:le.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen8)),content:a.createElement("div",{className:le.exitFullScreenModal},a.createElement("img",{src:ue,alt:"",className:le.warningIcon}),a.createElement("div",{className:le.warningText,style:{marginBottom:50,fontWeight:500}},(0,z._V)(z.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen11),a.createElement("span",{className:le.warningText},((ze=Le.exerciseUserInfo)==null?void 0:ze.screen_num)+1),(0,z._V)(z.CP.recordScreen12),a.createElement("span",{className:le.warningText,style:{fontWeight:600}},(0,z._V)(z.CP.recordScreen13)),",",(0,z._V)(z.CP.recordScreen14),a.createElement("span",{className:le.warningText},Ne-1),(0,z._V)(z.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ye,{className:le.countdownWrapper,onFinish:()=>{Ke.current=ie()().valueOf(),Re.current.push({start:We.current,end:Ke.current}),Ye(Ne)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Le.exerciseUserInfo.screen_sec+1)*1e3}),(0,z._V)(z.CP.recordScreen25)),(0,z._V)(z.CP.recordScreen16))),onOk:()=>{(0,oe.RG)(" ",!0),ft(),(0,fe.Dj)(document.body),Ae(),tt.current.destroy(),et.current=!1}}))}),Ge=()=>pe(void 0,null,function*(){E.default.destroyAll(),(yield(0,se.VL)({categoryId:$e.categoryId,commit_method:1}))&&Ve()}),Ve=(Ne=!1)=>pe(void 0,null,function*(){var ze,ot;if(document.removeEventListener((0,fe.gH)(),Oe,!1),(0,fe.BU)(),E.default.destroyAll(),Xe.current=!0,Ne){const gt=yield(0,se.Yu)($e.categoryId,{exercise_user_id:(ze=Le.exerciseUserInfo)==null?void 0:ze.exercise_user_id});He.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\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,z._V)(z.CP.recordScreen17)),a.createElement("div",{className:le.screenNumText},(0,z._V)(z.CP.recordScreen18),(ot=Le.exerciseUserInfo)==null?void 0:ot.screen_num,(0,z._V)(z.CP.recordScreen19)),a.createElement(he.default,{dataSource:gt==null?void 0:gt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,z._V)(z.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,z._V)(z.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,z._V)(z.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Ae(),Ie()},onOk:()=>{ne.history.push(`/classrooms/${$e.coursesId}/exercisenotice/${$e.categoryId}/users/${$e.login}?isShowApply=true`)}})}else He.info({content:a.createElement("div",{className:"tc font16"},(0,z._V)(z.CP.recordScreen23),a.createElement("br",null),(0,z._V)(z.CP.recordScreen24)),onOk:()=>{Ie()}})}),Ze=Ne=>{(0,fe.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!et.current&&(0,fe.BU)()},Fe=()=>pe(void 0,null,function*(){var Ne;if((Ne=Le.exerciseUserInfo)!=null&&Ne.screen_at){const gt=yield(0,se.ck)(ve(ge({},$e),{reset:!0}));if((gt==null?void 0:gt.status)===-6)return}const ze=yield(0,se.oy)({id:$e.categoryId});if(ze!=null&&ze.is_commit){Ve();return}return yield qe()}),Oe=()=>pe(void 0,null,function*(){var Ne;if((0,oe.RG)(" ",!0),(0,fe.vp)()){if((Ne=Le.exerciseUserInfo)!=null&&Ne.screen_at){var ze=yield(0,se.ck)(ve(ge({},$e),{reset:!0}));if((ze==null?void 0:ze.status)===-6)return}}else if(!et.current){var ze=yield(0,se.ck)(ge({},$e));if((ze==null?void 0:ze.status)===-6)return;const gt=yield qe();Me(gt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),_e=()=>pe(void 0,null,function*(){(0,se.ck)(ge({},$e));const Ne=yield qe();Me(Ne.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,je)};var we=(0,ne.connect)(({exercise:Le,globalSetting:Ee})=>({globalSetting:Ee,exercise:Le}))(Pe)},96325:function(Ct,dt,me){"use strict";me.d(dt,{X:function(){return he},y:function(){return E}});var be=me(67294),xe=me(2453);const E=fe=>{(0,be.useEffect)(()=>{if(fe){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)}}},[fe])},he=()=>{const[fe,se]=(0,be.useState)(!1),re=ie=>{const{keyCode:le,ctrlKey:ue,metaKey:ae,type:oe}=ie;(oe==="paste"||(le===67||le===86)&&(ae||ue))&&(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,be.useEffect)(()=>(fe&&(window.addEventListener("keydown",re,!0),window.addEventListener("paste",re,!0)),()=>{window.removeEventListener("keydown",re,!0),window.removeEventListener("paste",re,!0)}),[fe]),{setOpenDisableCopyAndPaste:se,disableCopyAndPaste:fe}}},63205:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return ae}});var be=me(67294),xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=me(94184),he=me.n(E),fe=me(57953),se=me(15979),re=me(33170),ie=me(28706),le=(oe,ne,z)=>new Promise((a,y)=>{var x=te=>{try{ee(z.next(te))}catch(ce){y(ce)}},b=te=>{try{ee(z.throw(te))}catch(ce){y(ce)}},ee=te=>te.done?a(te.value):Promise.resolve(te.value).then(x,b);ee((z=z.apply(oe,ne)).next())}),ae=({data:oe,className:ne,fullWidth:z,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const te=(0,be.useRef)(null),ce=(0,be.useRef)(null),de=(0,be.useRef)(null),ge=(0,be.useRef)(null),[ve,pe]=(0,be.useState)(!1),[Se,ye]=(0,be.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,be.useEffect)(()=>{de.current||(de.current=document.createElement("style"),document.head.appendChild(de.current)),oe!=null&&oe.visible?(document.body.setAttribute("data-custom","y-hidden"),de.current.innerHTML=" html { overflow-y: hidden; }",oe!=null&&oe.src&&Pe()):(document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null))},[oe==null?void 0:oe.visible]);const Pe=()=>le(void 0,null,function*(){pe(!0),ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ce=yield(0,ie.ZJ)(oe==null?void 0:oe.src);te.current.src="",te.current.src=Ce,te.current.onload=function(){Te()},pe(!1),ye("")}),we=()=>{document.body.removeAttribute("data-custom"),de.current.innerHTML=" ",y()},Le=Ce=>le(void 0,null,function*(){pe(!0),ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ae=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:oe.title,file:Ce.dataUrl}});Ae!=null&&Ae.id&&!ee?(yield(0,re.ZP)(`/api/attachments/${oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ae==null?void 0:Ae.id,settings:JSON.stringify(Ce.state)}})).status===0&&x():Ae!=null&&Ae.id&&x(Ae),document.body.removeAttribute("data-custom"),de.current.innerHTML=" ",pe(!1),ye("")}),Ee=()=>{const Ce=document.querySelector('a[href="https://markerjs.com/"]');Ce&&Ce.parentNode&&(Ce.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Ie=>{const He=document.querySelector(Ie.name);He&&He.setAttribute("title",Ie.title)})},Te=()=>{ce.current=new se.hP(te.current),ce.current.targetRoot=ge.current,ce.current.addEventListener("render",Le),ce.current.addEventListener("beforeclose",we),b&&(ce.current.availableMarkerTypes=ce.current.ALL_MARKER_TYPES,ce.current.uiStyleSettings.redoButtonVisible=!0,ce.current.uiStyleSettings.notesButtonVisible=!0,ce.current.uiStyleSettings.zoomButtonVisible=!0,ce.current.uiStyleSettings.zoomOutButtonVisible=!0,ce.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ce.current.uiStyleSettings,ce.current.show(),oe!=null&&oe.snapshotData&&ce.current.restoreState(oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ee()},300)};return be.createElement(be.Fragment,null,(oe==null?void 0:oe.visible)&&be.createElement(fe.Z,{spinning:ve,tip:Se,style:{position:"absolute"}},be.createElement("div",{ref:ge,className:he()(xe.imageDimensions,ne,z?xe.fullWidth:""),style:a},be.createElement("img",{className:xe.img,ref:te}))))}},36527:function(Ct,dt,me){"use strict";var be=me(67294),xe=me(71230),E=me(15746),he=me(66368),fe=me(71577),se=me(85725),re=me(71736),ie=me(84279),le=me(67294);const ue=(0,be.forwardRef)(({callback:ae,showSaveButton:oe,value:ne=""},z)=>{const a=(0,be.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],b=ce=>{a.current.setValue(a.current.getValue()+" "+ce.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:le.createElement(xe.Z,{className:re.Z.lists,gutter:[10,10]},y.map((ce,de)=>le.createElement(E.Z,{flex:"110px",className:re.Z.item},le.createElement("div",null,le.createElement(se.Z,{value:`$$${ce.value}$$`}),ce.name),le.createElement("div",{className:re.Z.children},ce.children.map((ge,ve)=>le.createElement("div",{key:ve},le.createElement("h1",null,ge.name),le.createElement(xe.Z,{gutter:[10,10]},ge.data.map((pe,Se)=>le.createElement(E.Z,{key:Se,onClick:()=>b(pe),className:re.Z.diamond},le.createElement(se.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:le.createElement(xe.Z,{className:re.Z.lists,gutter:[10,10]},x.map((ce,de)=>le.createElement(E.Z,{flex:"110px",className:re.Z.item},le.createElement("div",null,le.createElement(se.Z,{value:"`$$"+ce.value+"$$`"}),ce.name),le.createElement("div",{className:re.Z.children},ce.children.map((ge,ve)=>le.createElement("div",{key:ve},ge.name&&le.createElement("h1",null,ge.name),le.createElement(xe.Z,{gutter:[10,10]},ge.data.map((pe,Se)=>le.createElement(E.Z,{key:Se,onClick:()=>b(pe),className:re.Z.diamond},le.createElement(se.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],te=()=>{var ce=document.createElement("div");ce.innerHTML=a.current.getValue();var de=ce.innerText;return ae&&ae(de),de};return(0,be.useImperativeHandle)(z,()=>({getData:te})),le.createElement("div",{className:re.Z.mathWrap},le.createElement(he.default,{defaultActiveKey:"1",items:ee}),le.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),oe&&le.createElement("div",{className:re.Z.button},le.createElement(fe.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});dt.Z=ue},7621:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return he}});var be=me(35973),xe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=me(67294),he=({message:fe,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)),fe?E.createElement("p",{style:ie},fe):null,re,E.createElement(be.Outlet,null))},38658:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return se}});var be=me(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=me(94184),he=me.n(E),se=({className:re,style:ie={},leftNode:le,leftTitle:ue="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:oe="\u8FD0\u884C\u7ED3\u679C"})=>be.createElement("div",{className:he()(xe.result,re),style:ie},be.createElement("div",{className:xe.left},be.createElement("div",{className:xe.title},be.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),be.createElement("span",null,ue)),be.createElement("div",{className:xe.leftNode},le)),be.createElement("div",{className:xe.right},be.createElement("div",{className:xe.title},be.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),be.createElement("span",null,oe)),be.createElement("div",{className:xe.rightNode},ae)))},62078:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return pr}});var be=me(67294),xe=me.t(be,2),E=me(33054),he=me(99569),fe=me(94184),se=me.n(fe),re=me(87462),ie=me(1413),le=me(4942),ue=me(97685),ae=me(71002),oe=me(45987),ne=/margin|padding|width|height|max|min|offset/,z={left:!0,top:!0},a={cssFloat:1,styleFloat:1,float:1};function y(ct){return ct.nodeType===1?ct.ownerDocument.defaultView.getComputedStyle(ct,null):{}}function x(ct,it,St){if(it=it.toLowerCase(),St==="auto"){if(it==="height")return ct.offsetHeight;if(it==="width")return ct.offsetWidth}return it in z||(z[it]=ne.test(it)),z[it]?parseFloat(St)||0:St}function b(ct,it){var St=arguments.length,Nt=y(ct);return it=a[it]?"cssFloat"in ct.style?"cssFloat":"styleFloat":it,St===1?Nt:x(ct,it,Nt[it]||ct.style[it])}function ee(ct,it,St){var Nt=arguments.length;if(it=a[it]?"cssFloat"in ct.style?"cssFloat":"styleFloat":it,Nt===3)return typeof St=="number"&&ne.test(it)&&(St="".concat(St,"px")),ct.style[it]=St,St;for(var Ut in it)it.hasOwnProperty(Ut)&&ee(ct,Ut,it[Ut]);return y(ct)}function te(ct){return ct===document.body?document.documentElement.clientWidth:ct.offsetWidth}function ce(ct){return ct===document.body?window.innerHeight||document.documentElement.clientHeight:ct.offsetHeight}function de(){var ct=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),it=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ct,height:it}}function ge(){var ct=document.documentElement.clientWidth,it=window.innerHeight||document.documentElement.clientHeight;return{width:ct,height:it}}function ve(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function pe(ct){var it=ct.getBoundingClientRect(),St=document.documentElement;return{left:it.left+(window.pageXOffset||St.scrollLeft)-(St.clientLeft||document.body.clientLeft||0),top:it.top+(window.pageYOffset||St.scrollTop)-(St.clientTop||document.body.clientTop||0)}}function Se(ct){var it=be.useRef();it.current=ct;var St=be.useCallback(function(){for(var Nt,Ut=arguments.length,nn=new Array(Ut),pn=0;pn<Ut;pn++)nn[pn]=arguments[pn];return(Nt=it.current)===null||Nt===void 0?void 0:Nt.call.apply(Nt,[it].concat(nn))},[]);return St}function ye(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Pe=ye()?be.useLayoutEffect:be.useEffect,we=function(it,St){var Nt=be.useRef(!0);Pe(function(){return it(Nt.current)},St),Pe(function(){return Nt.current=!1,function(){Nt.current=!0}},[])},Le=function(it,St){we(function(Nt){if(!Nt)return it()},St)},Ee=null;function Te(ct){var it=be.useRef(!1),St=be.useState(ct),Nt=(0,ue.Z)(St,2),Ut=Nt[0],nn=Nt[1];be.useEffect(function(){return it.current=!1,function(){it.current=!0}},[]);function pn(xn,Mn){Mn&&it.current||nn(xn)}return[Ut,pn]}function Ce(ct){return ct!==void 0}function Ae(ct,it){var St=it||{},Nt=St.defaultValue,Ut=St.value,nn=St.onChange,pn=St.postState,xn=Te(function(){return Ce(Ut)?Ut:Ce(Nt)?typeof Nt=="function"?Nt():Nt:typeof ct=="function"?ct():ct}),Mn=(0,ue.Z)(xn,2),Dn=Mn[0],or=Mn[1],ar=Ut!==void 0?Ut:Dn,Gr=pn?pn(ar):ar,Vr=Se(nn),Nr=Te([ar]),Yr=(0,ue.Z)(Nr,2),so=Yr[0],co=Yr[1];Le(function(){var fo=so[0];Dn!==fo&&Vr(Dn,fo)},[so]),Le(function(){Ce(Ut)||or(Ut)},[Ut]);var _r=Se(function(fo,$r){or(fo,$r),co([ar],$r)});return[Gr,_r]}var Ie=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],He=be.createContext(null),je=0;function tt(ct,it){var St=be.useState(function(){return je+=1,String(je)}),Nt=(0,ue.Z)(St,1),Ut=Nt[0],nn=be.useContext(He),pn={data:it,canPreview:ct};return be.useEffect(function(){if(nn)return nn.register(Ut,pn)},[]),be.useEffect(function(){nn&&nn.register(Ut,pn)},[ct,it]),Ut}function Je(ct){return new Promise(function(it){var St=document.createElement("img");St.onerror=function(){return it(!1)},St.onload=function(){return it(!0)},St.src=ct})}function Qe(ct){var it=ct.src,St=ct.isCustomPlaceholder,Nt=ct.fallback,Ut=(0,be.useState)(St?"loading":"normal"),nn=(0,ue.Z)(Ut,2),pn=nn[0],xn=nn[1],Mn=(0,be.useRef)(!1),Dn=pn==="error";(0,be.useEffect)(function(){Je(it).then(function(Vr){Vr||xn("error")})},[it]),(0,be.useEffect)(function(){St&&!Mn.current?xn("loading"):Dn&&xn("normal")},[it]);var or=function(){xn("normal")},ar=function(Nr){Mn.current=!1,pn==="loading"&&Nr!=null&&Nr.complete&&(Nr.naturalWidth||Nr.naturalHeight)&&(Mn.current=!0,or())},Gr=Dn&&Nt?{src:Nt}:{onLoad:or,src:it};return[ar,Gr,pn]}var Xe=me(2788),$e=be.createContext({});function ke(ct,it){if(!ct)return!1;if(ct.contains)return ct.contains(it);for(var St=it;St;){if(St===ct)return!0;St=St.parentNode}return!1}function Ue(){var ct=(0,ie.Z)({},xe);return ct.useId}var qe=0;function Ye(){}function ft(ct){var it=be.useState("ssr-id"),St=(0,ue.Z)(it,2),Nt=St[0],Ut=St[1],nn=Ue(),pn=nn==null?void 0:nn();return be.useEffect(function(){if(!nn){var xn=qe;qe+=1,Ut("rc_unique_".concat(xn))}},[]),ct||pn||Nt}var We={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(it){var St=it.keyCode;if(it.altKey&&!it.ctrlKey||it.metaKey||St>=We.F1&&St<=We.F12)return!1;switch(St){case We.ALT:case We.CAPS_LOCK:case We.CONTEXT_MENU:case We.CTRL:case We.DOWN:case We.END:case We.ESC:case We.HOME:case We.INSERT:case We.LEFT:case We.MAC_FF_META:case We.META:case We.NUMLOCK:case We.NUM_CENTER:case We.PAGE_DOWN:case We.PAGE_UP:case We.PAUSE:case We.PRINT_SCREEN:case We.RIGHT:case We.SHIFT:case We.UP:case We.WIN_KEY:case We.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(it){if(it>=We.ZERO&&it<=We.NINE||it>=We.NUM_ZERO&&it<=We.NUM_MULTIPLY||it>=We.A&&it<=We.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&it===0)return!0;switch(it){case We.SPACE:case We.QUESTION_MARK:case We.NUM_PLUS:case We.NUM_MINUS:case We.NUM_PERIOD:case We.NUM_DIVISION:case We.SEMICOLON:case We.DASH:case We.EQUALS:case We.COMMA:case We.PERIOD:case We.SLASH:case We.APOSTROPHE:case We.SINGLE_QUOTE:case We.OPEN_SQUARE_BRACKET:case We.BACKSLASH:case We.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Ke=We,Re=`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`,et=`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`,Me="".concat(Re," ").concat(et).split(/[\s\n]+/),Ge="aria-",Ve="data-";function Ze(ct,it){return ct.indexOf(it)===0}function Fe(ct){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,St;it===!1?St={aria:!0,data:!0,attr:!0}:it===!0?St={aria:!0}:St=(0,ie.Z)({},it);var Nt={};return Object.keys(ct).forEach(function(Ut){(St.aria&&(Ut==="role"||Ze(Ut,Ge))||St.data&&Ze(Ut,Ve)||St.attr&&Me.includes(Ut))&&(Nt[Ut]=ct[Ut])}),Nt}function Oe(ct,it,St){var Nt=it;return!Nt&&St&&(Nt="".concat(ct,"-").concat(St)),Nt}function _e(ct,it){var St=ct["page".concat(it?"Y":"X","Offset")],Nt="scroll".concat(it?"Top":"Left");if(typeof St!="number"){var Ut=ct.document;St=Ut.documentElement[Nt],typeof St!="number"&&(St=Ut.body[Nt])}return St}function Ne(ct){var it=ct.getBoundingClientRect(),St={left:it.left,top:it.top},Nt=ct.ownerDocument,Ut=Nt.defaultView||Nt.parentWindow;return St.left+=_e(Ut),St.top+=_e(Ut,!0),St}var ze=me(62874),ot=me(59864);function gt(ct,it,St){var Nt=be.useRef({});return(!("value"in Nt.current)||St(Nt.current.condition,it))&&(Nt.current.value=ct(),Nt.current.condition=it),Nt.current.value}function yt(ct,it){typeof ct=="function"?ct(it):(0,ae.Z)(ct)==="object"&&ct&&"current"in ct&&(ct.current=it)}function nt(){for(var ct=arguments.length,it=new Array(ct),St=0;St<ct;St++)it[St]=arguments[St];var Nt=it.filter(function(Ut){return Ut});return Nt.length<=1?Nt[0]:function(Ut){it.forEach(function(nn){yt(nn,Ut)})}}function mt(){for(var ct=arguments.length,it=new Array(ct),St=0;St<ct;St++)it[St]=arguments[St];return gt(function(){return nt.apply(void 0,it)},it,function(Nt,Ut){return Nt.length===Ut.length&&Nt.every(function(nn,pn){return nn===Ut[pn]})})}function At(ct){var it,St,Nt=isMemo(ct)?ct.type.type:ct.type;return!(typeof Nt=="function"&&!((it=Nt.prototype)!==null&&it!==void 0&&it.render)||typeof ct=="function"&&!((St=ct.prototype)!==null&&St!==void 0&&St.render))}var kt=be.memo(function(ct){var it=ct.children;return it},function(ct,it){var St=it.shouldUpdate;return!St}),at={width:0,height:0,overflow:"hidden",outline:"none"},Mt=be.forwardRef(function(ct,it){var St=ct.prefixCls,Nt=ct.className,Ut=ct.style,nn=ct.title,pn=ct.ariaId,xn=ct.footer,Mn=ct.closable,Dn=ct.closeIcon,or=ct.onClose,ar=ct.children,Gr=ct.bodyStyle,Vr=ct.bodyProps,Nr=ct.modalRender,Yr=ct.onMouseDown,so=ct.onMouseUp,co=ct.holderRef,_r=ct.visible,fo=ct.forceRender,$r=ct.width,wo=ct.height,Io=be.useContext($e),Qo=Io.panel,Co=mt(co,Qo),Vo=(0,be.useRef)(),Uo=(0,be.useRef)();be.useImperativeHandle(it,function(){return{focus:function(){var So;(So=Vo.current)===null||So===void 0||So.focus()},changeActive:function(So){var Ho=document,qo=Ho.activeElement;So&&qo===Uo.current?Vo.current.focus():!So&&qo===Vo.current&&Uo.current.focus()}}});var ra={};$r!==void 0&&(ra.width=$r),wo!==void 0&&(ra.height=wo);var yo;xn&&(yo=be.createElement("div",{className:"".concat(St,"-footer")},xn));var uo;nn&&(uo=be.createElement("div",{className:"".concat(St,"-header")},be.createElement("div",{className:"".concat(St,"-title"),id:pn},nn)));var Lo;Mn&&(Lo=be.createElement("button",{type:"button",onClick:or,"aria-label":"Close",className:"".concat(St,"-close")},Dn||be.createElement("span",{className:"".concat(St,"-close-x")})));var sa=be.createElement("div",{className:"".concat(St,"-content")},Lo,uo,be.createElement("div",(0,re.Z)({className:"".concat(St,"-body"),style:Gr},Vr),ar),yo);return be.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":nn?pn:null,"aria-modal":"true",ref:Co,style:(0,ie.Z)((0,ie.Z)({},Ut),ra),className:se()(St,Nt),onMouseDown:Yr,onMouseUp:so},be.createElement("div",{tabIndex:0,ref:Vo,style:at,"aria-hidden":"true"}),be.createElement(kt,{shouldUpdate:_r||fo},Nr?Nr(sa):sa),be.createElement("div",{tabIndex:0,ref:Uo,style:at,"aria-hidden":"true"}))}),st=Mt,pt=be.forwardRef(function(ct,it){var St=ct.prefixCls,Nt=ct.title,Ut=ct.style,nn=ct.className,pn=ct.visible,xn=ct.forceRender,Mn=ct.destroyOnClose,Dn=ct.motionName,or=ct.ariaId,ar=ct.onVisibleChanged,Gr=ct.mousePosition,Vr=(0,be.useRef)(),Nr=be.useState(),Yr=(0,ue.Z)(Nr,2),so=Yr[0],co=Yr[1],_r={};so&&(_r.transformOrigin=so);function fo(){var $r=Ne(Vr.current);co(Gr?"".concat(Gr.x-$r.left,"px ").concat(Gr.y-$r.top,"px"):"")}return be.createElement(ze.Z,{visible:pn,onVisibleChanged:ar,onAppearPrepare:fo,onEnterPrepare:fo,forceRender:xn,motionName:Dn,removeOnLeave:Mn,ref:Vr},function($r,wo){var Io=$r.className,Qo=$r.style;return be.createElement(st,(0,re.Z)({},ct,{ref:it,title:Nt,ariaId:or,prefixCls:St,holderRef:wo,style:(0,ie.Z)((0,ie.Z)((0,ie.Z)({},Qo),Ut),_r),className:se()(nn,Io)}))})});pt.displayName="Content";var bt=pt;function Lt(ct){var it=ct.prefixCls,St=ct.style,Nt=ct.visible,Ut=ct.maskProps,nn=ct.motionName;return be.createElement(ze.Z,{key:"mask",visible:Nt,motionName:nn,leavedClassName:"".concat(it,"-mask-hidden")},function(pn,xn){var Mn=pn.className,Dn=pn.style;return be.createElement("div",(0,re.Z)({ref:xn,style:(0,ie.Z)((0,ie.Z)({},Dn),St),className:se()("".concat(it,"-mask"),Mn)},Ut))})}function Dt(ct){var it=ct.prefixCls,St=it===void 0?"rc-dialog":it,Nt=ct.zIndex,Ut=ct.visible,nn=Ut===void 0?!1:Ut,pn=ct.keyboard,xn=pn===void 0?!0:pn,Mn=ct.focusTriggerAfterClose,Dn=Mn===void 0?!0:Mn,or=ct.wrapStyle,ar=ct.wrapClassName,Gr=ct.wrapProps,Vr=ct.onClose,Nr=ct.afterOpenChange,Yr=ct.afterClose,so=ct.transitionName,co=ct.animation,_r=ct.closable,fo=_r===void 0?!0:_r,$r=ct.mask,wo=$r===void 0?!0:$r,Io=ct.maskTransitionName,Qo=ct.maskAnimation,Co=ct.maskClosable,Vo=Co===void 0?!0:Co,Uo=ct.maskStyle,ra=ct.maskProps,yo=ct.rootClassName,uo=(0,be.useRef)(),Lo=(0,be.useRef)(),sa=(0,be.useRef)(),Sa=be.useState(nn),So=(0,ue.Z)(Sa,2),Ho=So[0],qo=So[1],ca=ft();function la(){ke(Lo.current,document.activeElement)||(uo.current=document.activeElement)}function ua(){if(!ke(Lo.current,document.activeElement)){var Ko;(Ko=sa.current)===null||Ko===void 0||Ko.focus()}}function Pa(Ko){if(Ko)ua();else{if(qo(!1),wo&&uo.current&&Dn){try{uo.current.focus({preventScroll:!0})}catch(oa){}uo.current=null}Ho&&(Yr==null||Yr())}Nr==null||Nr(Ko)}function Go(Ko){Vr==null||Vr(Ko)}var ha=(0,be.useRef)(!1),Xo=(0,be.useRef)(),pa=function(){clearTimeout(Xo.current),ha.current=!0},Ea=function(){Xo.current=setTimeout(function(){ha.current=!1})},Oa=null;Vo&&(Oa=function(oa){ha.current?ha.current=!1:Lo.current===oa.target&&Go(oa)});function Wo(Ko){if(xn&&Ko.keyCode===Ke.ESC){Ko.stopPropagation(),Go(Ko);return}nn&&Ko.keyCode===Ke.TAB&&sa.current.changeActive(!Ko.shiftKey)}return(0,be.useEffect)(function(){nn&&(qo(!0),la())},[nn]),(0,be.useEffect)(function(){return function(){clearTimeout(Xo.current)}},[]),be.createElement("div",(0,re.Z)({className:se()("".concat(St,"-root"),yo)},Fe(ct,{data:!0})),be.createElement(Lt,{prefixCls:St,visible:wo&&nn,motionName:Oe(St,Io,Qo),style:(0,ie.Z)({zIndex:Nt},Uo),maskProps:ra}),be.createElement("div",(0,re.Z)({tabIndex:-1,onKeyDown:Wo,className:se()("".concat(St,"-wrap"),ar),ref:Lo,onClick:Oa,style:(0,ie.Z)((0,ie.Z)({zIndex:Nt},or),{},{display:Ho?null:"none"})},Gr),be.createElement(bt,(0,re.Z)({},ct,{onMouseDown:pa,onMouseUp:Ea,ref:sa,closable:fo,ariaId:ca,prefixCls:St,visible:nn&&Ho,onClose:Go,onVisibleChanged:Pa,motionName:Oe(St,so,co)}))))}var Yt=function(it){var St=it.visible,Nt=it.getContainer,Ut=it.forceRender,nn=it.destroyOnClose,pn=nn===void 0?!1:nn,xn=it.afterClose,Mn=it.panelRef,Dn=be.useState(St),or=(0,ue.Z)(Dn,2),ar=or[0],Gr=or[1],Vr=be.useMemo(function(){return{panel:Mn}},[Mn]);return be.useEffect(function(){St&&Gr(!0)},[St]),!Ut&&pn&&!ar?null:be.createElement($e.Provider,{value:Vr},be.createElement(Xe.Z,{open:St||Ut||ar,autoDestroy:!1,getContainer:Nt,autoLock:St||ar},be.createElement(Dt,(0,re.Z)({},it,{destroyOnClose:pn,afterClose:function(){xn==null||xn(),Gr(!1)}}))))};Yt.displayName="Dialog";var _n=Yt,Cn=_n,On=me(73935);function Jn(ct,it,St,Nt){var Ut=On.unstable_batchedUpdates?function(pn){On.unstable_batchedUpdates(St,pn)}:St;return ct!=null&&ct.addEventListener&&ct.addEventListener(it,Ut,Nt),{remove:function(){ct!=null&&ct.removeEventListener&&ct.removeEventListener(it,Ut,Nt)}}}var dn={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(it){var St=it.keyCode;if(it.altKey&&!it.ctrlKey||it.metaKey||St>=dn.F1&&St<=dn.F12)return!1;switch(St){case dn.ALT:case dn.CAPS_LOCK:case dn.CONTEXT_MENU:case dn.CTRL:case dn.DOWN:case dn.END:case dn.ESC:case dn.HOME:case dn.INSERT:case dn.LEFT:case dn.MAC_FF_META:case dn.META:case dn.NUMLOCK:case dn.NUM_CENTER:case dn.PAGE_DOWN:case dn.PAGE_UP:case dn.PAUSE:case dn.PRINT_SCREEN:case dn.RIGHT:case dn.SHIFT:case dn.UP:case dn.WIN_KEY:case dn.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(it){if(it>=dn.ZERO&&it<=dn.NINE||it>=dn.NUM_ZERO&&it<=dn.NUM_MULTIPLY||it>=dn.A&&it<=dn.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&it===0)return!0;switch(it){case dn.SPACE:case dn.QUESTION_MARK:case dn.NUM_PLUS:case dn.NUM_MINUS:case dn.NUM_PERIOD:case dn.NUM_DIVISION:case dn.SEMICOLON:case dn.DASH:case dn.EQUALS:case dn.COMMA:case dn.PERIOD:case dn.SLASH:case dn.APOSTROPHE:case dn.SINGLE_QUOTE:case dn.OPEN_SQUARE_BRACKET:case dn.BACKSLASH:case dn.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},tr=dn,Sr={},Qr=[],io=function(it){Qr.push(it)};function Kr(ct,it){if(0)var St}function kr(ct,it){if(0)var St}function cn(){Sr={}}function Qt(ct,it,St){!it&&!Sr[St]&&(ct(!1,St),Sr[St]=!0)}function un(ct,it){Qt(Kr,ct,it)}function yn(ct,it){Qt(kr,ct,it)}un.preMessage=io,un.resetWarned=cn,un.noteOnce=yn;var In=un;function Qn(ct,it,St,Nt){var Ut=it+St,nn=(St-Nt)/2;if(St>Nt){if(it>0)return(0,le.Z)({},ct,nn);if(it<0&&Ut<Nt)return(0,le.Z)({},ct,-nn)}else if(it<0||Ut>Nt)return(0,le.Z)({},ct,it<0?nn:-nn);return{}}function Gn(ct,it,St,Nt){var Ut=ge(),nn=Ut.width,pn=Ut.height,xn=null;return ct<=nn&&it<=pn?xn={x:0,y:0}:(ct>nn||it>pn)&&(xn=(0,ie.Z)((0,ie.Z)({},Qn("x",St,ct,nn)),Qn("y",Nt,it,pn))),xn}function wr(ct,it){var St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Nt=new Set;function Ut(nn,pn){var xn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Mn=Nt.has(nn);if(In(!Mn,"Warning: There may be circular references"),Mn)return!1;if(nn===pn)return!0;if(St&&xn>1)return!1;Nt.add(nn);var Dn=xn+1;if(Array.isArray(nn)){if(!Array.isArray(pn)||nn.length!==pn.length)return!1;for(var or=0;or<nn.length;or++)if(!Ut(nn[or],pn[or],Dn))return!1;return!0}if(nn&&pn&&(0,ae.Z)(nn)==="object"&&(0,ae.Z)(pn)==="object"){var ar=Object.keys(nn);return ar.length!==Object.keys(pn).length?!1:ar.every(function(Gr){return Ut(nn[Gr],pn[Gr],Dn)})}return!1}return Ut(ct,it)}var br=wr,Kn=function(it){return+setTimeout(it,16)},wt=function(it){return clearTimeout(it)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Kn=function(it){return window.requestAnimationFrame(it)},wt=function(it){return window.cancelAnimationFrame(it)});var Rt=0,xt=new Map;function sn(ct){xt.delete(ct)}var An=function(it){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Rt+=1;var Nt=Rt;function Ut(nn){if(nn===0)sn(Nt),it();else{var pn=Kn(function(){Ut(nn-1)});xt.set(Nt,pn)}}return Ut(St),Nt};An.cancel=function(ct){var it=xt.get(ct);return sn(it),wt(it)};var Nn=An,hr={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function nr(ct,it,St,Nt){var Ut=(0,be.useRef)(null),nn=(0,be.useRef)([]),pn=(0,be.useState)(hr),xn=(0,ue.Z)(pn,2),Mn=xn[0],Dn=xn[1],or=function(Nr){Dn(hr),Nt&&!br(hr,Mn)&&Nt({transform:hr,action:Nr})},ar=function(Nr,Yr){Ut.current===null&&(nn.current=[],Ut.current=Nn(function(){Dn(function(so){var co=so;return nn.current.forEach(function(_r){co=(0,ie.Z)((0,ie.Z)({},co),_r)}),Ut.current=null,Nt==null||Nt({transform:co,action:Yr}),co})})),nn.current.push((0,ie.Z)((0,ie.Z)({},Mn),Nr))},Gr=function(Nr,Yr,so,co){var _r=ct.current,fo=_r.width,$r=_r.height,wo=_r.offsetWidth,Io=_r.offsetHeight,Qo=_r.offsetLeft,Co=_r.offsetTop,Vo=Nr,Uo=Mn.scale*Nr;Uo>St?(Vo=St/Mn.scale,Uo=St):Uo<it&&(Vo=it/Mn.scale,Uo=it);var ra=so!=null?so:innerWidth/2,yo=co!=null?co:innerHeight/2,uo=Vo-1,Lo=uo*fo*.5,sa=uo*$r*.5,Sa=uo*(ra-Mn.x-Qo),So=uo*(yo-Mn.y-Co),Ho=Mn.x-(Sa-Lo),qo=Mn.y-(So-sa);if(Nr<1&&Uo===1){var ca=wo*Uo,la=Io*Uo,ua=ge(),Pa=ua.width,Go=ua.height;ca<=Pa&&la<=Go&&(Ho=0,qo=0)}ar({x:Ho,y:qo,scale:Uo},Yr)};return{transform:Mn,resetTransform:or,updateTransform:ar,dispatchZoomChange:Gr}}var fr=function(it){var St=it.visible,Nt=it.maskTransitionName,Ut=it.getContainer,nn=it.prefixCls,pn=it.rootClassName,xn=it.icons,Mn=it.countRender,Dn=it.showSwitch,or=it.showProgress,ar=it.current,Gr=it.transform,Vr=it.count,Nr=it.scale,Yr=it.minScale,so=it.maxScale,co=it.closeIcon,_r=it.onSwitchLeft,fo=it.onSwitchRight,$r=it.onClose,wo=it.onZoomIn,Io=it.onZoomOut,Qo=it.onRotateRight,Co=it.onRotateLeft,Vo=it.onFlipX,Uo=it.onFlipY,ra=it.toolbarRender,yo=(0,be.useContext)(He),uo=xn.rotateLeft,Lo=xn.rotateRight,sa=xn.zoomIn,Sa=xn.zoomOut,So=xn.close,Ho=xn.left,qo=xn.right,ca=xn.flipX,la=xn.flipY,ua="".concat(nn,"-operations-operation");be.useEffect(function(){var Xo=function(Ea){Ea.keyCode===tr.ESC&&$r()};return St&&window.addEventListener("keydown",Xo),function(){window.removeEventListener("keydown",Xo)}},[St]);var Pa=[{icon:la,onClick:Uo,type:"flipY"},{icon:ca,onClick:Vo,type:"flipX"},{icon:uo,onClick:Co,type:"rotateLeft"},{icon:Lo,onClick:Qo,type:"rotateRight"},{icon:Sa,onClick:Io,type:"zoomOut",disabled:Nr===Yr},{icon:sa,onClick:wo,type:"zoomIn",disabled:Nr===so}],Go=Pa.map(function(Xo){var pa,Ea=Xo.icon,Oa=Xo.onClick,Wo=Xo.type,Ko=Xo.disabled;return be.createElement("div",{className:se()(ua,(pa={},(0,le.Z)(pa,"".concat(nn,"-operations-operation-").concat(Wo),!0),(0,le.Z)(pa,"".concat(nn,"-operations-operation-disabled"),!!Ko),pa)),onClick:Oa,key:Wo},Ea)}),ha=be.createElement("div",{className:"".concat(nn,"-operations")},Go);return be.createElement(ze.Z,{visible:St,motionName:Nt},function(Xo){var pa=Xo.className,Ea=Xo.style;return be.createElement(Xe.Z,{open:!0,getContainer:Ut!=null?Ut:document.body},be.createElement("div",{className:se()("".concat(nn,"-operations-wrapper"),pa,pn),style:Ea},co===null?null:be.createElement("button",{className:"".concat(nn,"-close"),onClick:$r},co||So),Dn&&be.createElement(be.Fragment,null,be.createElement("div",{className:se()("".concat(nn,"-switch-left"),(0,le.Z)({},"".concat(nn,"-switch-left-disabled"),ar===0)),onClick:_r},Ho),be.createElement("div",{className:se()("".concat(nn,"-switch-right"),(0,le.Z)({},"".concat(nn,"-switch-right-disabled"),ar===Vr-1)),onClick:fo},qo)),be.createElement("div",{className:"".concat(nn,"-footer")},or&&be.createElement("div",{className:"".concat(nn,"-progress")},Mn?Mn(ar+1,Vr):"".concat(ar+1," / ").concat(Vr)),ra?ra(ha,(0,ie.Z)({icons:{flipYIcon:Go[0],flipXIcon:Go[1],rotateLeftIcon:Go[2],rotateRightIcon:Go[3],zoomOutIcon:Go[4],zoomInIcon:Go[5]},actions:{onFlipY:Uo,onFlipX:Vo,onRotateLeft:Co,onRotateRight:Qo,onZoomOut:Io,onZoomIn:wo},transform:Gr},yo?{current:ar,total:Vr}:{})):ha)))})},Fr=fr,Jr=1,hn=1,Tr=["fallback","src","imgRef"],Ot=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],qt=function(it){var St=it.fallback,Nt=it.src,Ut=it.imgRef,nn=(0,oe.Z)(it,Tr),pn=Qe({src:Nt,fallback:St}),xn=(0,ue.Z)(pn,2),Mn=xn[0],Dn=xn[1];return be.createElement("img",(0,re.Z)({ref:function(ar){Ut.current=ar,Mn(ar)}},nn,Dn))},Xt=function(it){var St=it.prefixCls,Nt=it.src,Ut=it.alt,nn=it.fallback,pn=it.movable,xn=pn===void 0?!0:pn,Mn=it.onClose,Dn=it.visible,or=it.icons,ar=or===void 0?{}:or,Gr=it.rootClassName,Vr=it.closeIcon,Nr=it.getContainer,Yr=it.current,so=Yr===void 0?0:Yr,co=it.count,_r=co===void 0?1:co,fo=it.countRender,$r=it.scaleStep,wo=$r===void 0?.5:$r,Io=it.minScale,Qo=Io===void 0?1:Io,Co=it.maxScale,Vo=Co===void 0?50:Co,Uo=it.transitionName,ra=Uo===void 0?"zoom":Uo,yo=it.maskTransitionName,uo=yo===void 0?"fade":yo,Lo=it.imageRender,sa=it.imgCommonProps,Sa=it.toolbarRender,So=it.onTransform,Ho=it.onChange,qo=(0,oe.Z)(it,Ot),ca=(0,be.useRef)(),la=(0,be.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),ua=(0,be.useState)(!1),Pa=(0,ue.Z)(ua,2),Go=Pa[0],ha=Pa[1],Xo=(0,be.useContext)(He),pa=Xo&&_r>1,Ea=Xo&&_r>=1,Oa=nr(ca,Qo,Vo,So),Wo=Oa.transform,Ko=Oa.resetTransform,oa=Oa.updateTransform,Ia=Oa.dispatchZoomChange,Xa=(0,be.useState)(!0),ni=(0,ue.Z)(Xa,2),ri=ni[0],Ha=ni[1],Aa=Wo.rotate,xa=Wo.scale,Ka=Wo.x,za=Wo.y,xi=se()((0,le.Z)({},"".concat(St,"-moving"),Go));(0,be.useEffect)(function(){ri||Ha(!0)},[ri]);var _i=function(){Ko("close")},oi=function(){Ia(Jr+wo,"zoomIn")},ci=function(){Ia(Jr/(Jr+wo),"zoomOut")},wi=function(){oa({rotate:Aa+90},"rotateRight")},Ci=function(){oa({rotate:Aa-90},"rotateLeft")},Ya=function(){oa({flipX:!Wo.flipX},"flipX")},Ja=function(){oa({flipY:!Wo.flipY},"flipY")},ui=function(ho){ho==null||ho.preventDefault(),ho==null||ho.stopPropagation(),so>0&&(Ha(!1),Ko("prev"),Ho==null||Ho(so-1,so))},yi=function(ho){ho==null||ho.preventDefault(),ho==null||ho.stopPropagation(),so<_r-1&&(Ha(!1),Ko("next"),Ho==null||Ho(so+1,so))},Si=function(){if(Dn&&Go){ha(!1);var ho=la.current,di=ho.transformX,ai=ho.transformY,Ba=Ka!==di&&za!==ai;if(!Ba)return;var fi=ca.current.offsetWidth*xa,gi=ca.current.offsetHeight*xa,Qa=ca.current.getBoundingClientRect(),ji=Qa.left,Ni=Qa.top,Ti=Aa%180!==0,Li=Gn(Ti?gi:fi,Ti?fi:gi,ji,Ni);Li&&oa((0,ie.Z)({},Li),"dragRebound")}},Gi=function(ho){!xn||ho.button!==0||(ho.preventDefault(),ho.stopPropagation(),la.current={deltaX:ho.pageX-Wo.x,deltaY:ho.pageY-Wo.y,transformX:Wo.x,transformY:Wo.y},ha(!0))},Ri=function(ho){Dn&&Go&&oa({x:ho.pageX-la.current.deltaX,y:ho.pageY-la.current.deltaY},"move")},Mi=function(ho){if(!(!Dn||ho.deltaY==0)){var di=Math.abs(ho.deltaY/100),ai=Math.min(di,hn),Ba=Jr+ai*wo;ho.deltaY>0&&(Ba=Jr/Ba),Ia(Ba,"wheel",ho.clientX,ho.clientY)}},Ii=function(ho){!Dn||!pa||(ho.keyCode===tr.LEFT?ui():ho.keyCode===tr.RIGHT&&yi())},$i=function(ho){Dn&&(xa!==1?oa({x:0,y:0,scale:1},"doubleClick"):Ia(Jr+wo,"doubleClick",ho.clientX,ho.clientY))};(0,be.useEffect)(function(){var ba,ho,di,ai;if(xn){di=Jn(window,"mouseup",Si,!1),ai=Jn(window,"mousemove",Ri,!1);try{window.top!==window.self&&(ba=Jn(window.top,"mouseup",Si,!1),ho=Jn(window.top,"mousemove",Ri,!1))}catch(Ba){Kr(!1,"[rc-image] ".concat(Ba))}}return function(){var Ba,fi,gi,Qa;(Ba=di)===null||Ba===void 0||Ba.remove(),(fi=ai)===null||fi===void 0||fi.remove(),(gi=ba)===null||gi===void 0||gi.remove(),(Qa=ho)===null||Qa===void 0||Qa.remove()}},[Dn,Go,Ka,za,Aa,xn]),(0,be.useEffect)(function(){var ba=Jn(window,"keydown",Ii,!1);return function(){ba.remove()}},[Dn,pa,so]);var Wi=be.createElement(qt,(0,re.Z)({},sa,{width:it.width,height:it.height,imgRef:ca,className:"".concat(St,"-img"),alt:Ut,style:{transform:"translate3d(".concat(Wo.x,"px, ").concat(Wo.y,"px, 0) scale3d(").concat(Wo.flipX?"-":"").concat(xa,", ").concat(Wo.flipY?"-":"").concat(xa,", 1) rotate(").concat(Aa,"deg)"),transitionDuration:!ri&&"0s"},fallback:nn,src:Nt,onWheel:Mi,onMouseDown:Gi,onDoubleClick:$i}));return be.createElement(be.Fragment,null,be.createElement(Cn,(0,re.Z)({transitionName:ra,maskTransitionName:uo,closable:!1,keyboard:!0,prefixCls:St,onClose:Mn,visible:Dn,wrapClassName:xi,rootClassName:Gr,getContainer:Nr},qo,{afterClose:_i}),be.createElement("div",{className:"".concat(St,"-img-wrapper")},Lo?Lo(Wi,(0,ie.Z)({transform:Wo},Xo?{current:so}:{})):Wi)),be.createElement(Fr,{visible:Dn,transform:Wo,maskTransitionName:uo,closeIcon:Vr,getContainer:Nr,prefixCls:St,rootClassName:Gr,icons:ar,countRender:fo,showSwitch:pa,showProgress:Ea,current:so,count:_r,scale:xa,minScale:Qo,maxScale:Vo,toolbarRender:Sa,onSwitchLeft:ui,onSwitchRight:yi,onZoomIn:oi,onZoomOut:ci,onRotateRight:wi,onRotateLeft:Ci,onFlipX:Ya,onFlipY:Ja,onClose:Mn}))},tn=Xt,Tn=me(74902);function Jt(ct){var it=be.useState({}),St=(0,ue.Z)(it,2),Nt=St[0],Ut=St[1],nn=be.useCallback(function(xn,Mn){return Ut(function(Dn){return(0,ie.Z)((0,ie.Z)({},Dn),{},(0,le.Z)({},xn,Mn))}),function(){Ut(function(Dn){var or=(0,ie.Z)({},Dn);return delete or[xn],or})}},[]),pn=be.useMemo(function(){return ct?ct.map(function(xn){if(typeof xn=="string")return{data:{src:xn}};var Mn={};return Object.keys(xn).forEach(function(Dn){["src"].concat((0,Tn.Z)(Ie)).includes(Dn)&&(Mn[Dn]=xn[Dn])}),{data:Mn}}):Object.keys(Nt).reduce(function(xn,Mn){var Dn=Nt[Mn],or=Dn.canPreview,ar=Dn.data;return or&&xn.push({data:ar,id:Mn}),xn},[])},[ct,Nt]);return[pn,nn]}var En=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],rn=["src"],gr=function(it){var St,Nt=it.previewPrefixCls,Ut=Nt===void 0?"rc-image-preview":Nt,nn=it.children,pn=it.icons,xn=pn===void 0?{}:pn,Mn=it.items,Dn=it.preview,or=it.fallback,ar=(0,ae.Z)(Dn)==="object"?Dn:{},Gr=ar.visible,Vr=ar.onVisibleChange,Nr=ar.getContainer,Yr=ar.current,so=ar.movable,co=ar.minScale,_r=ar.maxScale,fo=ar.countRender,$r=ar.closeIcon,wo=ar.onChange,Io=ar.onTransform,Qo=ar.toolbarRender,Co=ar.imageRender,Vo=(0,oe.Z)(ar,En),Uo=Jt(Mn),ra=(0,ue.Z)(Uo,2),yo=ra[0],uo=ra[1],Lo=Ae(0,{value:Yr}),sa=(0,ue.Z)(Lo,2),Sa=sa[0],So=sa[1],Ho=(0,be.useState)(!1),qo=(0,ue.Z)(Ho,2),ca=qo[0],la=qo[1],ua=((St=yo[Sa])===null||St===void 0?void 0:St.data)||{},Pa=ua.src,Go=(0,oe.Z)(ua,rn),ha=Ae(!!Gr,{value:Gr,onChange:function(Aa,xa){Vr==null||Vr(Aa,xa,Sa)}}),Xo=(0,ue.Z)(ha,2),pa=Xo[0],Ea=Xo[1],Oa=(0,be.useState)(null),Wo=(0,ue.Z)(Oa,2),Ko=Wo[0],oa=Wo[1],Ia=be.useCallback(function(Ha,Aa,xa){var Ka=yo.findIndex(function(za){return za.id===Ha});Ea(!0),oa({x:Aa,y:xa}),So(Ka<0?0:Ka),la(!0)},[yo]);be.useEffect(function(){pa?ca||So(0):la(!1)},[pa]);var Xa=function(Aa,xa){So(Aa),wo==null||wo(Aa,xa)},ni=function(){Ea(!1),oa(null)},ri=be.useMemo(function(){return{register:uo,onPreview:Ia}},[uo,Ia]);return be.createElement(He.Provider,{value:ri},nn,be.createElement(tn,(0,re.Z)({"aria-hidden":!pa,movable:so,visible:pa,prefixCls:Ut,closeIcon:$r,onClose:ni,mousePosition:Ko,imgCommonProps:Go,src:Pa,fallback:or,icons:xn,minScale:co,maxScale:_r,getContainer:Nr,current:Sa,count:yo.length,countRender:fo,onTransform:Io,toolbarRender:Qo,imageRender:Co,onChange:Xa},Vo)))},qn=gr,xr=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Ir=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],to=function(it){var St=it.src,Nt=it.alt,Ut=it.onPreviewClose,nn=it.prefixCls,pn=nn===void 0?"rc-image":nn,xn=it.previewPrefixCls,Mn=xn===void 0?"".concat(pn,"-preview"):xn,Dn=it.placeholder,or=it.fallback,ar=it.width,Gr=it.height,Vr=it.style,Nr=it.preview,Yr=Nr===void 0?!0:Nr,so=it.className,co=it.onClick,_r=it.onError,fo=it.wrapperClassName,$r=it.wrapperStyle,wo=it.rootClassName,Io=(0,oe.Z)(it,xr),Qo=Dn&&Dn!==!0,Co=(0,ae.Z)(Yr)==="object"?Yr:{},Vo=Co.src,Uo=Co.visible,ra=Uo===void 0?void 0:Uo,yo=Co.onVisibleChange,uo=yo===void 0?Ut:yo,Lo=Co.getContainer,sa=Lo===void 0?void 0:Lo,Sa=Co.mask,So=Co.maskClassName,Ho=Co.movable,qo=Co.icons,ca=Co.scaleStep,la=Co.minScale,ua=Co.maxScale,Pa=Co.imageRender,Go=Co.toolbarRender,ha=(0,oe.Z)(Co,Ir),Xo=Vo!=null?Vo:St,pa=Ae(!!ra,{value:ra,onChange:uo}),Ea=(0,ue.Z)(pa,2),Oa=Ea[0],Wo=Ea[1],Ko=Qe({src:St,isCustomPlaceholder:Qo,fallback:or}),oa=(0,ue.Z)(Ko,3),Ia=oa[0],Xa=oa[1],ni=oa[2],ri=(0,be.useState)(null),Ha=(0,ue.Z)(ri,2),Aa=Ha[0],xa=Ha[1],Ka=(0,be.useContext)(He),za=!!Yr,xi=function(){Wo(!1),xa(null)},_i=se()(pn,fo,wo,(0,le.Z)({},"".concat(pn,"-error"),ni==="error")),oi=(0,be.useMemo)(function(){var Ya={};return Ie.forEach(function(Ja){it[Ja]!==void 0&&(Ya[Ja]=it[Ja])}),Ya},Ie.map(function(Ya){return it[Ya]})),ci=(0,be.useMemo)(function(){return(0,ie.Z)((0,ie.Z)({},oi),{},{src:Xo})},[Xo,oi]),wi=tt(za,ci),Ci=function(Ja){var ui=pe(Ja.target),yi=ui.left,Si=ui.top;Ka?Ka.onPreview(wi,yi,Si):(xa({x:yi,y:Si}),Wo(!0)),co==null||co(Ja)};return be.createElement(be.Fragment,null,be.createElement("div",(0,re.Z)({},Io,{className:_i,onClick:za?Ci:co,style:(0,ie.Z)({width:ar,height:Gr},$r)}),be.createElement("img",(0,re.Z)({},oi,{className:se()("".concat(pn,"-img"),(0,le.Z)({},"".concat(pn,"-img-placeholder"),Dn===!0),so),style:(0,ie.Z)({height:Gr},Vr),ref:Ia},Xa,{width:ar,height:Gr,onError:_r})),ni==="loading"&&be.createElement("div",{"aria-hidden":"true",className:"".concat(pn,"-placeholder")},Dn),Sa&&za&&be.createElement("div",{className:se()("".concat(pn,"-mask"),So),style:{display:(Vr==null?void 0:Vr.display)==="none"?"none":void 0}},Sa)),!Ka&&za&&be.createElement(tn,(0,re.Z)({"aria-hidden":!Oa,visible:Oa,prefixCls:Mn,onClose:xi,mousePosition:Aa,src:Xo,alt:Nt,fallback:or,getContainer:sa,icons:qo,movable:Ho,scaleStep:ca,minScale:la,maxScale:ua,rootClassName:wo,imageRender:Pa,imgCommonProps:oi,toolbarRender:Go},ha)))};to.PreviewGroup=qn,to.displayName="Image";var an=to,lo=an,Mo=me(33603),qr=me(53124),xo=me(24457),Rn=me(73475),Zn=me(22751),Pr=me(91034),jn={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"},no=jn,zr=me(74643),jo=function(it,St){return be.createElement(zr.Z,(0,re.Z)({},it,{ref:St,icon:no}))},No=be.forwardRef(jo),Do={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"},Et=Do,Pt=function(it,St){return be.createElement(zr.Z,(0,re.Z)({},it,{ref:St,icon:Et}))},Zt=be.forwardRef(Pt),on={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"},gn=on,Un=function(it,St){return be.createElement(zr.Z,(0,re.Z)({},it,{ref:St,icon:gn}))},cr=be.forwardRef(Un),Cr={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"},Br=Cr,Zr=function(it,St){return be.createElement(zr.Z,(0,re.Z)({},it,{ref:St,icon:Br}))},Ur=be.forwardRef(Zr),mo={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"},er=mo,Tt=function(it,St){return be.createElement(zr.Z,(0,re.Z)({},it,{ref:St,icon:er}))},Ft=be.forwardRef(Tt),Wt=me(84780),ut=me(71194),Vt=me(14747),fn=me(50438),Sn=me(16932),Bt=me(67968),Gt=me(45503);const Ht=ct=>({position:ct||"absolute",inset:0}),Ln=ct=>{const{iconCls:it,motionDurationSlow:St,paddingXXS:Nt,marginXXS:Ut,prefixCls:nn,colorTextLightSolid:pn}=ct;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:pn,background:new Wt.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${St}`,[`.${nn}-mask-info`]:Object.assign(Object.assign({},Vt.vS),{padding:`0 ${Nt}px`,[it]:{marginInlineEnd:Ut,svg:{verticalAlign:"baseline"}}})}},Bn=ct=>{const{previewCls:it,modalMaskBg:St,paddingSM:Nt,marginXL:Ut,margin:nn,paddingLG:pn,previewOperationColorDisabled:xn,previewOperationHoverColor:Mn,motionDurationSlow:Dn,iconCls:or,colorTextLightSolid:ar}=ct,Gr=new Wt.C(St).setAlpha(.1),Vr=Gr.clone().setAlpha(.2);return{[`${it}-footer`]:{position:"fixed",bottom:Ut,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:ct.previewOperationColor},[`${it}-progress`]:{marginBottom:nn},[`${it}-close`]:{position:"fixed",top:Ut,right:{_skip_check_:!0,value:Ut},display:"flex",color:ar,backgroundColor:Gr.toRgbString(),borderRadius:"50%",padding:Nt,outline:0,border:0,cursor:"pointer",transition:`all ${Dn}`,"&:hover":{backgroundColor:Vr.toRgbString()},[`& > ${or}`]:{fontSize:ct.previewOperationSize}},[`${it}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${pn}px`,backgroundColor:Gr.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Nt,padding:Nt,cursor:"pointer",transition:`all ${Dn}`,userSelect:"none",[`&:not(${it}-operations-operation-disabled):hover > ${or}`]:{color:Mn},"&-disabled":{color:xn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${or}`]:{fontSize:ct.previewOperationSize}}}}},Yn=ct=>{const{modalMaskBg:it,iconCls:St,previewOperationColorDisabled:Nt,previewCls:Ut,zIndexPopup:nn,motionDurationSlow:pn}=ct,xn=new Wt.C(it).setAlpha(.1),Mn=xn.clone().setAlpha(.2);return{[`${Ut}-switch-left, ${Ut}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:nn+1,display:"flex",alignItems:"center",justifyContent:"center",width:ct.imagePreviewSwitchSize,height:ct.imagePreviewSwitchSize,marginTop:-ct.imagePreviewSwitchSize/2,color:ct.previewOperationColor,background:xn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${pn}`,userSelect:"none","&:hover":{background:Mn.toRgbString()},"&-disabled":{"&, &:hover":{color:Nt,background:"transparent",cursor:"not-allowed",[`> ${St}`]:{cursor:"not-allowed"}}},[`> ${St}`]:{fontSize:ct.previewOperationSize}},[`${Ut}-switch-left`]:{insetInlineStart:ct.marginSM},[`${Ut}-switch-right`]:{insetInlineEnd:ct.marginSM}}},Wn=ct=>{const{motionEaseOut:it,previewCls:St,motionDurationSlow:Nt,componentCls:Ut}=ct;return[{[`${Ut}-preview-root`]:{[St]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${St}-body`]:Object.assign(Object.assign({},Ht()),{overflow:"hidden"}),[`${St}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Nt} ${it} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Ht()),{transition:`transform ${Nt} ${it} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${St}-moving`]:{[`${St}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Ut}-preview-root`]:{[`${St}-wrap`]:{zIndex:ct.zIndexPopup}}},{[`${Ut}-preview-operations-wrapper`]:{position:"fixed",zIndex:ct.zIndexPopup+1},"&":[Bn(ct),Yn(ct)]}]},rr=ct=>{const{componentCls:it}=ct;return{[it]:{position:"relative",display:"inline-block",[`${it}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${it}-img-placeholder`]:{backgroundColor:ct.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${it}-mask`]:Object.assign({},Ln(ct)),[`${it}-mask:hover`]:{opacity:1},[`${it}-placeholder`]:Object.assign({},Ht())}}},ur=ct=>{const{previewCls:it}=ct;return{[`${it}-root`]:(0,fn._y)(ct,"zoom"),"&":(0,Sn.J$)(ct,!0)}};var bn=(0,Bt.Z)("Image",ct=>{const it=`${ct.componentCls}-preview`,St=(0,Gt.TS)(ct,{previewCls:it,modalMaskBg:new Wt.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:ct.controlHeightLG});return[rr(St),Wn(St),(0,ut.QA)((0,Gt.TS)(St,{componentCls:it})),ur(St)]},ct=>({zIndexPopup:ct.zIndexPopupBase+80,previewOperationColor:new Wt.C(ct.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Wt.C(ct.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Wt.C(ct.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:ct.fontSizeIcon*1.5})),$t=function(ct,it){var St={};for(var Nt in ct)Object.prototype.hasOwnProperty.call(ct,Nt)&&it.indexOf(Nt)<0&&(St[Nt]=ct[Nt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Nt=Object.getOwnPropertySymbols(ct);Ut<Nt.length;Ut++)it.indexOf(Nt[Ut])<0&&Object.prototype.propertyIsEnumerable.call(ct,Nt[Ut])&&(St[Nt[Ut]]=ct[Nt[Ut]]);return St};const ln={rotateLeft:be.createElement(No,null),rotateRight:be.createElement(Zt,null),zoomIn:be.createElement(Ur,null),zoomOut:be.createElement(Ft,null),close:be.createElement(Rn.Z,null),left:be.createElement(Zn.Z,null),right:be.createElement(Pr.Z,null),flipX:be.createElement(cr,null),flipY:be.createElement(cr,{rotate:90})};var Hn=ct=>{var{previewPrefixCls:it,preview:St}=ct,Nt=$t(ct,["previewPrefixCls","preview"]);const{getPrefixCls:Ut}=be.useContext(qr.E_),nn=Ut("image",it),pn=`${nn}-preview`,xn=Ut(),[Mn,Dn]=bn(nn),or=be.useMemo(()=>{var ar;if(St===!1)return St;const Gr=typeof St=="object"?St:{},Vr=se()(Dn,(ar=Gr.rootClassName)!==null&&ar!==void 0?ar:"");return Object.assign(Object.assign({},Gr),{transitionName:(0,Mo.m)(xn,"zoom",Gr.transitionName),maskTransitionName:(0,Mo.m)(xn,"fade",Gr.maskTransitionName),rootClassName:Vr})},[St]);return Mn(be.createElement(lo.PreviewGroup,Object.assign({preview:or,previewPrefixCls:pn,icons:ln},Nt)))},ir=function(ct,it){var St={};for(var Nt in ct)Object.prototype.hasOwnProperty.call(ct,Nt)&&it.indexOf(Nt)<0&&(St[Nt]=ct[Nt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Nt=Object.getOwnPropertySymbols(ct);Ut<Nt.length;Ut++)it.indexOf(Nt[Ut])<0&&Object.prototype.propertyIsEnumerable.call(ct,Nt[Ut])&&(St[Nt[Ut]]=ct[Nt[Ut]]);return St};const vr=ct=>{const{prefixCls:it,preview:St,className:Nt,rootClassName:Ut,style:nn}=ct,pn=ir(ct,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:xn,locale:Mn=xo.Z,getPopupContainer:Dn,image:or}=be.useContext(qr.E_),ar=xn("image",it),Gr=xn(),Vr=Mn.Image||xo.Z.Image,[Nr,Yr]=bn(ar),so=se()(Ut,Yr),co=se()(Nt,Yr,or==null?void 0:or.className),_r=be.useMemo(()=>{if(St===!1)return St;const $r=typeof St=="object"?St:{},{getContainer:wo}=$r,Io=ir($r,["getContainer"]);return Object.assign(Object.assign({mask:be.createElement("div",{className:`${ar}-mask-info`},be.createElement(he.Z,null),Vr==null?void 0:Vr.preview),icons:ln},Io),{getContainer:wo||Dn,transitionName:(0,Mo.m)(Gr,"zoom",$r.transitionName),maskTransitionName:(0,Mo.m)(Gr,"fade",$r.maskTransitionName)})},[St,Vr]),fo=Object.assign(Object.assign({},or==null?void 0:or.style),nn);return Nr(be.createElement(lo,Object.assign({prefixCls:ar,preview:_r,rootClassName:so,className:co,style:fo},pn)))};vr.PreviewGroup=Hn;var jr=vr,pr=()=>{const[ct,it]=(0,be.useState)(""),[St,Nt]=(0,be.useState)(0);let[Ut,nn]=(0,be.useState)(),[pn,xn]=(0,be.useState)();const[Mn,Dn]=(0,be.useState)(!1),or=(0,be.useRef)("");(0,be.useEffect)(()=>E.Z.subscribe("preview-image",wo=>{it(wo),console.log(_r.current),document.body.style.overflow="hidden"}),[]),(0,be.useEffect)(()=>(document.addEventListener("keydown",ar),()=>{document.removeEventListener("keydown",ar)}),[]),(0,be.useEffect)(()=>{or.current=ct},[ct]);function ar($r){$r.keyCode==27&&or.current&&Gr()}function Gr(){document.body.style.overflow="auto",nn(void 0),xn(void 0),Nt(0),it("")}function Vr(){Nt(St+90)}function Nr(){Ut=_r.current.width*1.1,pn=_r.current.height*1.1,xn(pn),nn(Ut)}function Yr(){Ut=_r.current.width/1.1,pn=_r.current.height/1.1,xn(pn),nn(Ut)}const so=(0,be.useRef)(),co=(0,be.useRef)(),_r=(0,be.useRef)(),fo=$r=>{($r.nativeEvent.target===so.current||$r.nativeEvent.target===co.current)&&Gr()};return be.createElement(be.Fragment,null,ct?be.createElement("div",null,be.createElement("div",{className:"preview-wrp-group",ref:co},be.createElement(jr,{className:"image-preview",src:ct,style:{display:"none"},preview:{visible:!0,src:ct,movable:!1,onVisibleChange:$r=>{it("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57444:function(Ct,dt,me){"use strict";me.d(dt,{h:function(){return ce}});var be=me(67294),xe=me(11713),E=me(22150),he=me(71577),fe=me(4631),se=me.n(fe),re=me(71749),ie=me(30483),le=Object.defineProperty,ue=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,a=(de,ge,ve)=>ge in de?le(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:ve}):de[ge]=ve,y=(de,ge)=>{for(var ve in ge||(ge={}))ne.call(ge,ve)&&a(de,ve,ge[ve]);if(oe)for(var ve of oe(ge))z.call(ge,ve)&&a(de,ve,ge[ve]);return de},x=(de,ge)=>ue(de,ae(ge));const b=xe.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};dt.Z=({callback:de,onCancel:ge})=>{const[ve,pe]=(0,be.useState)("python");function Se(Pe){pe(te[Pe][1])}function ye(Pe){de(Pe)}return be.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},be.createElement(xe.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:Se},Object.keys(te).map(Pe=>be.createElement(b,{key:Pe,value:Pe},te[Pe][0])))),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},be.createElement(ce,{mode:ve})),be.createElement("div",{className:"flex-container flex-end"},be.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(he.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function ce({value:de,onChange:ge,mode:ve,options:pe={}}){const Se=(0,be.useRef)(),[ye,Pe]=(0,be.useState)();return(0,be.useEffect)(()=>{if(ye){let we=function(Le){const Ee=Le.getValue();ge&&ge(Ee)};return ye.on("change",we),()=>{ye.off("change",we)}}},[ye,ge]),(0,be.useEffect)(()=>{ye&&ye.setOption("mode",ve)},[ye,ve]),(0,be.useEffect)(()=>{ye&&(de!==ye.getValue()||de==="")&&setTimeout(()=>{ye.setValue(de||"")},300)},[ye,de]),(0,be.useEffect)(()=>{if(Se.current&&!ye){const we=se().fromTextArea(Se.current,y({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));Pe(we)}},[Se.current,ye]),be.createElement("div",{className:"my-codemirror-container"},be.createElement("textarea",{ref:Se}))}},35567:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return Kn}});var be=me(67294),xe=me(4631),E=me.n(xe),he=me(91033),fe=me(71749),se=me(57341),re=me(82801),ie=me(88386),le=me(49047),ue=me(80785),ae=me(85725),oe=({value:wt="",className:Rt,showTextOnly:xt,showLines:sn,style:An={}})=>{const Nn=(0,be.useMemo)(()=>"",[wt]);return be.createElement(be.Fragment,null,be.createElement("div",{dangerouslySetInnerHTML:{__html:Nn}}))},ne=me(67294),z=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(wt,Rt,xt)=>Rt in wt?z(wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):wt[Rt]=xt,ce=(wt,Rt)=>{for(var xt in Rt||(Rt={}))b.call(Rt,xt)&&te(wt,xt,Rt[xt]);if(x)for(var xt of x(Rt))ee.call(Rt,xt)&&te(wt,xt,Rt[xt]);return wt},de=(wt,Rt)=>a(wt,y(Rt));let ge=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ve({onActionCallback:wt,title:Rt,icon:xt,actionName:sn,className:An="",children:Nn}){function hr(){wt(sn)}return ne.createElement("a",{title:Rt,className:An,onClick:hr},ne.createElement("i",{className:`${xt}`}),Nn)}var pe=({watch:wt,showNullButton:Rt,showNullProgramButton:xt,onActionCallback:sn,fullScreen:An,insertTemp:Nn,hidetoolBar:hr,extraUse:nr})=>{const fr=[...ge,{title:`${wt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${wt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!hr&&fr.map((Fr,Jr)=>ne.createElement("li",{key:Jr},Fr.actionName?ne.createElement(ve,de(ce({},Fr),{onActionCallback:sn})):ne.createElement("span",{className:"v-line"}))),Rt?ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:sn},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,xt?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:sn},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:sn},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Nn&&ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Nn}`,onActionCallback:sn},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),nr&&ne.createElement("li",null,nr),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(ve,{icon:`${An?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:An?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:sn})))},Se=me(76621),ye=me(22150),Pe=me(69677),we=me(71577),Le=Object.defineProperty,Ee=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,He=(wt,Rt,xt)=>Rt in wt?Le(wt,Rt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):wt[Rt]=xt,je=(wt,Rt)=>{for(var xt in Rt||(Rt={}))Ae.call(Rt,xt)&&He(wt,xt,Rt[xt]);if(Ce)for(var xt of Ce(Rt))Ie.call(Rt,xt)&&He(wt,xt,Rt[xt]);return wt},tt=(wt,Rt)=>Ee(wt,Te(Rt));const Je={labelCol:{span:4},wrapperCol:{span:20}};var Qe=({callback:wt,onCancel:Rt})=>{function xt(sn){wt(sn)}return be.createElement(ye.default,tt(je({},Je),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xt,style:{width:500}}),be.createElement(ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},be.createElement(Pe.default,null)),be.createElement(ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},be.createElement(Pe.default,null)),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:Rt},"\u53D6\u6D88")))},Xe=me(57444),$e=me(70859),ke=me(14446),Ue=me(71230),qe=me(63205),Ye=me(67294),ft=({callback:wt,onCancel:Rt})=>{const xt=document.createElement("canvas"),sn=xt.getContext("2d");xt.width=1e3,xt.height=800,sn.fillStyle="#ffffff",sn.fillRect(0,0,xt.width,xt.height);const An=xt.toDataURL("image/png");return Ye.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ye.createElement(Ue.Z,{style:{height:"100vh"}},Ye.createElement(qe.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:An,visible:!0,title:String(Date.now())},onOk:Nn=>{wt({src:Nn.url})},onClose:Rt})))},We=me(23495);function Ke(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ke,go.CommandHandler),Ke.prototype.canAlignSelection=function(){var wt=this.diagram;return!(wt===null||wt.isReadOnly||wt.isModelReadOnly||wt.selection.count<2)},Ke.prototype.alignLeft=function(){var wt=this.diagram;wt.startTransaction("aligning left");var Rt=1/0;wt.selection.each(function(xt){xt instanceof go.Link||(Rt=Math.min(xt.position.x,Rt))}),wt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(Rt,xt.position.y))}),wt.commitTransaction("aligning left")},Ke.prototype.alignRight=function(){var wt=this.diagram;wt.startTransaction("aligning right");var Rt=-1/0;wt.selection.each(function(xt){if(!(xt instanceof go.Link)){var sn=xt.actualBounds.x+xt.actualBounds.width;Rt=Math.max(sn,Rt)}}),wt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(Rt-xt.actualBounds.width,xt.position.y))}),wt.commitTransaction("aligning right")},Ke.prototype.alignTop=function(){var wt=this.diagram;wt.startTransaction("alignTop");var Rt=1/0;wt.selection.each(function(xt){xt instanceof go.Link||(Rt=Math.min(xt.position.y,Rt))}),wt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.position.x,Rt))}),wt.commitTransaction("alignTop")},Ke.prototype.alignBottom=function(){var wt=this.diagram;wt.startTransaction("aligning bottom");var Rt=-1/0;wt.selection.each(function(xt){if(!(xt instanceof go.Link)){var sn=xt.actualBounds.y+xt.actualBounds.height;Rt=Math.max(sn,Rt)}}),wt.selection.each(function(xt){xt instanceof go.Link||xt.move(new go.Point(xt.actualBounds.x,Rt-xt.actualBounds.height))}),wt.commitTransaction("aligning bottom")},Ke.prototype.alignCenterX=function(){var wt=this.diagram,Rt=wt.selection.first();if(Rt){wt.startTransaction("aligning Center X");var xt=Rt.actualBounds.x+Rt.actualBounds.width/2;wt.selection.each(function(sn){sn instanceof go.Link||sn.move(new go.Point(xt-sn.actualBounds.width/2,sn.actualBounds.y))}),wt.commitTransaction("aligning Center X")}},Ke.prototype.alignCenterY=function(){var wt=this.diagram,Rt=wt.selection.first();if(Rt){wt.startTransaction("aligning Center Y");var xt=Rt.actualBounds.y+Rt.actualBounds.height/2;wt.selection.each(function(sn){sn instanceof go.Link||sn.move(new go.Point(sn.actualBounds.x,xt-sn.actualBounds.height/2))}),wt.commitTransaction("aligning Center Y")}},Ke.prototype.alignColumn=function(wt){var Rt=this.diagram;Rt.startTransaction("align Column"),wt===void 0&&(wt=0),wt=parseFloat(wt);var xt=new Array;Rt.selection.each(function(nr){nr instanceof go.Link||xt.push(nr)});for(var sn=0;sn<xt.length-1;sn++){var An=xt[sn],Nn=An.actualBounds.y+An.actualBounds.height+wt,hr=xt[sn+1];hr.move(new go.Point(An.actualBounds.x,Nn))}Rt.commitTransaction("align Column")},Ke.prototype.alignRow=function(wt){wt===void 0&&(wt=0),wt=parseFloat(wt);var Rt=this.diagram;Rt.startTransaction("align Row");var xt=new Array;Rt.selection.each(function(nr){nr instanceof go.Link||xt.push(nr)});for(var sn=0;sn<xt.length-1;sn++){var An=xt[sn],Nn=An.actualBounds.x+An.actualBounds.width+wt,hr=xt[sn+1];hr.move(new go.Point(Nn,An.actualBounds.y))}Rt.commitTransaction("align Row")},Ke.prototype.canRotate=function(wt){var Rt=this.diagram;return!(Rt===null||Rt.isReadOnly||Rt.isModelReadOnly||Rt.selection.count<1)},Ke.prototype.rotate=function(wt){wt===void 0&&(wt=90);var Rt=this.diagram;Rt.startTransaction("rotate "+wt.toString());var Rt=this.diagram;Rt.selection.each(function(xt){xt instanceof go.Link||xt instanceof go.Group||(xt.angle+=wt)}),Rt.commitTransaction("rotate "+wt.toString())},Ke.prototype.pullToFront=function(){var wt=this.diagram;wt.startTransaction("pullToFront");var Rt=new go.Map;wt.selection.each(function(xt){Rt.set(xt.layer,0)}),Rt.iteratorKeys.each(function(xt){var sn=0;xt.parts.each(function(An){if(!An.isSelected){var Nn=An.zOrder;isNaN(Nn)?An.zOrder=0:sn=Math.max(sn,Nn)}}),Rt.set(xt,sn)}),wt.selection.each(function(xt){Ke._assignZOrder(xt,Rt.get(xt.layer)+1)}),wt.commitTransaction("pullToFront")},Ke.prototype.pushToBack=function(){var wt=this.diagram;wt.startTransaction("pushToBack");var Rt=new go.Map;wt.selection.each(function(xt){Rt.set(xt.layer,0)}),Rt.iteratorKeys.each(function(xt){var sn=0;xt.parts.each(function(An){if(!An.isSelected){var Nn=An.zOrder;isNaN(Nn)?An.zOrder=0:sn=Math.min(sn,Nn)}}),Rt.set(xt,sn)}),wt.selection.each(function(xt){Ke._assignZOrder(xt,Rt.get(xt.layer)-1-Ke._findGroupDepth(xt))}),wt.commitTransaction("pushToBack")},Ke._assignZOrder=function(wt,Rt,xt){xt===void 0&&(xt=wt),wt.layer===xt.layer&&(wt.zOrder=Rt),wt instanceof go.Group&&wt.memberParts.each(function(sn){Ke._assignZOrder(sn,Rt+1,xt)})},Ke._findGroupDepth=function(wt){if(wt instanceof go.Group){var Rt=0;return wt.memberParts.each(function(xt){Rt=Math.max(Rt,Ke._findGroupDepth(xt))}),Rt+1}else return 0},Ke.prototype.doKeyDown=function(){var wt=this.diagram;if(wt!==null){var Rt=wt.lastInput;if(Rt.key==="Up"||Rt.key==="Down"||Rt.key==="Left"||Rt.key==="Right"){var xt=this.arrowKeyBehavior;if(xt==="none")return;if(xt==="select"){this._arrowKeySelect();return}else if(xt==="move"){this._arrowKeyMove();return}else if(xt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ke.prototype._getAllParts=function(){var wt=new Array;return this.diagram.nodes.each(function(Rt){wt.push(Rt)}),this.diagram.parts.each(function(Rt){wt.push(Rt)}),wt},Ke.prototype._arrowKeyMove=function(){var wt=this.diagram,Rt=wt.lastInput,xt=0,sn=0;if(Rt.control||Rt.meta)xt=1,sn=1;else if(wt.grid!==null){var An=wt.grid.gridCellSize;sn=An.width,xt=An.height}wt.startTransaction("arrowKeyMove"),wt.selection.each(function(Nn){Rt.key==="Up"?Nn.move(new go.Point(Nn.actualBounds.x,Nn.actualBounds.y-xt)):Rt.key==="Down"?Nn.move(new go.Point(Nn.actualBounds.x,Nn.actualBounds.y+xt)):Rt.key==="Left"?Nn.move(new go.Point(Nn.actualBounds.x-sn,Nn.actualBounds.y)):Rt.key==="Right"&&Nn.move(new go.Point(Nn.actualBounds.x+sn,Nn.actualBounds.y))}),wt.commitTransaction("arrowKeyMove")},Ke.prototype._arrowKeySelect=function(){var wt=this.diagram,Rt=wt.lastInput,xt=null;Rt.key==="Up"?xt=this._findNearestPartTowards(270):Rt.key==="Down"?xt=this._findNearestPartTowards(90):Rt.key==="Left"?xt=this._findNearestPartTowards(180):Rt.key==="Right"&&(xt=this._findNearestPartTowards(0)),xt!==null&&(Rt.shift?xt.isSelected=!0:Rt.control||Rt.meta?xt.isSelected=!xt.isSelected:wt.select(xt))},Ke.prototype._findNearestPartTowards=function(wt){var Rt=this.diagram.selection.first();if(Rt===null)return null;for(var xt=Rt.actualBounds.center,sn=this._getAllParts(),An=1/0,Nn=Rt,hr=0;hr<sn.length;hr++){var nr=sn[hr];if(nr!==Rt&&nr.canSelect()){var fr=nr.actualBounds.center,Fr=xt.directionPoint(fr),Jr=this._angleCloseness(Fr,wt);if(Jr<=45){var hn=xt.distanceSquaredPoint(fr);hn*=1+Math.sin(Jr*Math.PI/180),hn<An&&(An=hn,Nn=nr)}}}return Nn},Ke.prototype._angleCloseness=function(wt,Rt){return Math.min(Math.abs(Rt-wt),Math.min(Math.abs(Rt+360-wt),Math.abs(Rt-360-wt)))},Ke.prototype._arrowKeyTree=function(){var wt=this.diagram,Rt=wt.selection.first();if(Rt instanceof go.Node){var xt=wt.lastInput;if(xt.key==="Right"){if(!Rt.isTreeLeaf)if(!Rt.isTreeExpanded)wt.commandHandler.canExpandTree(Rt)&&wt.commandHandler.expandTree(Rt);else{var sn=this._sortTreeChildrenByY(Rt).first();sn!==null&&wt.select(sn)}}else if(xt.key==="Left")if(!Rt.isTreeLeaf&&Rt.isTreeExpanded)wt.commandHandler.canCollapseTree(Rt)&&wt.commandHandler.collapseTree(Rt);else{var An=Rt.findTreeParentNode();An!==null&&wt.select(An)}else if(xt.key==="Up"){var An=Rt.findTreeParentNode();if(An!==null){var Nn=this._sortTreeChildrenByY(An),hr=Nn.indexOf(Rt);if(hr>0){for(var nr=Nn.elt(hr-1);nr!==null&&nr.isTreeExpanded&&!nr.isTreeLeaf;){var fr=this._sortTreeChildrenByY(nr);nr=fr.last()}nr!==null&&wt.select(nr)}else wt.select(An)}}else if(xt.key==="Down")if(Rt.isTreeExpanded&&!Rt.isTreeLeaf){var sn=this._sortTreeChildrenByY(Rt).first();sn!==null&&wt.select(sn)}else for(;Rt!==null;){var An=Rt.findTreeParentNode();if(An===null)break;var Nn=this._sortTreeChildrenByY(An),hr=Nn.indexOf(Rt);if(hr<Nn.length-1){wt.select(Nn.elt(hr+1));break}else Rt=An}var Fr=wt.selection.first();Fr!==null&&wt.scrollToRect(Fr.actualBounds)}},Ke.prototype._sortTreeChildrenByY=function(wt){var Rt=new go.List().addAll(wt.findTreeChildrenNodes());return Rt.sort(function(xt,sn){var An=xt.location,Nn=sn.location;return An.y<Nn.y?-1:An.y>Nn.y?1:An.x<Nn.x?-1:An.x>Nn.x?1:0}),Rt},Ke.prototype.copyToClipboard=function(wt){go.CommandHandler.prototype.copyToClipboard.call(this,wt),this._lastPasteOffset.set(this.pasteOffset)},Ke.prototype.pasteFromClipboard=function(){var wt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(wt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),wt},Object.defineProperty(Ke.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(wt){if(wt!=="move"&&wt!=="select"&&wt!=="scroll"&&wt!=="tree"&&wt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+wt);this._arrowKeyBehavior=wt}}),Object.defineProperty(Ke.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(wt){if(!(wt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+wt);this._pasteOffset.set(wt)}});var Re=Ke,et=me(18023),Me=me(15746),Ge=me(33170),Ve={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ze=me(67294),Fe=(wt,Rt,xt)=>new Promise((sn,An)=>{var Nn=fr=>{try{nr(xt.next(fr))}catch(Fr){An(Fr)}},hr=fr=>{try{nr(xt.throw(fr))}catch(Fr){An(Fr)}},nr=fr=>fr.done?sn(fr.value):Promise.resolve(fr.value).then(Nn,hr);nr((xt=xt.apply(wt,Rt)).next())});function Oe({onCancel:wt,callback:Rt}){let xt=(0,be.useRef)(),sn=(0,be.useRef)(),An=(0,be.useRef)(),Nn=(0,be.useRef)(!1);const hr=(0,be.useRef)(!1),[nr,fr]=(0,be.useState)(0);function Fr(){const hn=We.bx.make,Tr={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};xt.current=new We.S0(sn.current,{padding:20,grid:hn(We.s_,"Grid",hn(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),hn(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Rn=>{var Zn=Rn.diagram.commandHandler.addTopLevelParts(Rn.diagram.selection,!0);Zn||Rn.diagram.currentTool.doCancel()},commandHandler:hn(Re),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Rn=>{var Zn=Rn.subject;Zn.location=Zn.location.copy().snapToGridPoint(Rn.diagram.grid.gridOrigin,Rn.diagram.grid.gridCellSize),setTimeout(()=>{Rn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Rn=>{var Zn=Rn.subject;setTimeout(()=>{Rn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Rn=>{var Zn=Rn.parameter.part;Zn.invalidateConnectedLinks();var Pr=Rn.subject;Rn.diagram.toolManager.linkingTool.isForwards?Pr.toNode.invalidateConnectedLinks():Pr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),xt.current.nodeTemplate=hn(We.NB,"Auto",{locationSpot:We.z6.Center,locationObjectName:"SHAPE",desiredSize:new We.$u(120,60),minSize:new We.$u(40,40),resizable:!0,resizeCellSize:new We.$u(10,10),rotatable:!0},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),new We.KX("desiredSize","size",We.$u.parse).makeTwoWay(We.$u.stringify),hn(We.bn,{name:"SHAPE",fill:Tr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("figure"),new We.KX("fill"),new We.KX("stroke","borderColor"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),hn(We.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),hn(We.al,{margin:1,textAlign:"center",overflow:We.al.OverflowEllipsis,editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),xt.current.nodeTemplate.toolTip=hn("ToolTip",hn(We.s_,"Vertical",{maxSize:new We.$u(200,NaN)},hn(We.al,{font:"bold 10pt sans-serif",textAlign:"center"},new We.KX("text")),hn(We.al,{font:"10pt sans-serif",textAlign:"center"},new We.KX("text","details"))));function Ot(Rn,Zn){var Pr=(jn,no)=>{jn.handled=!0,jn.diagram.model.commit(zr=>{var jo=no.part.adornedPart,No=new We.E9().setRectSpot(jo.actualBounds,Rn);No.subtract(jo.location),No.scale(2,2),No.x+=Math.sign(No.x)*130,No.y+=Math.sign(No.y)*130,No.add(jo.location),No.snapToGridPoint(jn.diagram.grid.gridOrigin,jn.diagram.grid.gridCellSize);var Do=zr.copyNodeData(jo.data);zr.setGroupKeyForNodeData(Do,zr.getGroupKeyForNodeData(jo.data)),zr.addNodeData(Do);var Et={from:jo.key,to:zr.getKeyForNodeData(Do)};zr.addLinkData(Et);var Pt=jn.diagram.findNodeForData(Do);Pt.location=No,jn.diagram.select(Pt),setTimeout(()=>{jn.diagram.commandHandler.editTextBlock()},20)})};return hn(We.bn,{figure:Zn,alignment:Rn,alignmentFocus:Rn.opposite(),width:Rn.equals(We.z6.Top)||Rn.equals(We.z6.Bottom)?25:18,height:Rn.equals(We.z6.Top)||Rn.equals(We.z6.Bottom)?18:25,fill:"orange",stroke:Tr.white,strokeWidth:4,mouseEnter:(jn,no)=>no.fill="dodgerblue",mouseLeave:(jn,no)=>no.fill="orange",isActionable:!0,click:Pr,contextClick:Pr})}function qt(Rn){return hn(We.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:(Zn,Pr)=>Pr.fill="dodgerblue",mouseLeave:(Zn,Pr)=>Pr.fill="orange",click:(Zn,Pr)=>{Zn.diagram.commandHandler.showContextMenu(Pr.part.adornedPart)}},Rn||{})}xt.current.nodeTemplate.selectionAdornmentTemplate=hn(We.uz,"Spot",hn(We.Vm,{padding:10}),Ot(We.z6.Top,"TriangleUp"),Ot(We.z6.Left,"TriangleLeft"),Ot(We.z6.Right,"TriangleRight"),Ot(We.z6.Bottom,"TriangleDown"),qt({alignment:new We.z6(.75,0)}));function Xt(Rn,Zn){return(Pr,jn)=>{Pr.handled=!0,Pr.diagram.model.commit(no=>{no.set(jn.part.adornedPart.data,Rn,Zn)})}}function tn(Rn,Zn){return Zn||(Zn="color"),hn(We.bn,{width:16,height:16,stroke:"lightgray",fill:Rn,margin:1,background:"transparent",mouseEnter:(Pr,jn)=>jn.stroke="dodgerblue",mouseLeave:(Pr,jn)=>jn.stroke="lightgray",click:Xt(Zn,Rn),contextClick:Xt(Zn,Rn)})}function Tn(){return[hn("ContextMenuButton",hn(We.s_,"Horizontal",tn(Tr.white,"fill"),tn(Tr.beige,"fill"),tn(Tr.extralightblue,"fill"),tn(Tr.extralightred,"fill"))),hn("ContextMenuButton",hn(We.s_,"Horizontal",tn(Tr.lightgray,"fill"),tn(Tr.lightgreen,"fill"),tn(Tr.lightblue,"fill"),tn(Tr.lightred,"fill")))]}function Jt(){return[hn("ContextMenuButton",hn(We.s_,"Horizontal",tn(Tr.black),tn(Tr.green),tn(Tr.blue),tn(Tr.red))),hn("ContextMenuButton",hn(We.s_,"Horizontal",tn(Tr.white),tn(Tr.magenta),tn(Tr.purple),tn(Tr.orange)))]}function En(Rn,Zn){return Zn||(Zn="thickness"),hn(We.bn,"LineH",{width:16,height:16,strokeWidth:Rn,margin:1,background:"transparent",mouseEnter:(Pr,jn)=>jn.background="dodgerblue",mouseLeave:(Pr,jn)=>jn.background="transparent",click:Xt(Zn,Rn),contextClick:Xt(Zn,Rn)})}function rn(Rn,Zn){return Zn||(Zn="dash"),hn(We.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Rn,margin:1,background:"transparent",mouseEnter:(Pr,jn)=>jn.background="dodgerblue",mouseLeave:(Pr,jn)=>jn.background="transparent",click:Xt(Zn,Rn),contextClick:Xt(Zn,Rn)})}function gr(){return[hn("ContextMenuButton",hn(We.s_,"Horizontal",En(1),En(2),En(3),En(4))),hn("ContextMenuButton",hn(We.s_,"Horizontal",rn(null),rn([2,4]),rn([4,4])))]}function qn(Rn,Zn){return Zn||(Zn="figure"),hn(We.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Rn,margin:1,background:"transparent",mouseEnter:(Pr,jn)=>jn.fill="dodgerblue",mouseLeave:(Pr,jn)=>jn.fill="lightgray",click:Xt(Zn,Rn),contextClick:Xt(Zn,Rn)})}xt.current.nodeTemplate.contextMenu=hn("ContextMenu",hn("ContextMenuButton",hn(We.s_,"Horizontal",qn("Rectangle"),qn("RoundedRectangle"),qn("Ellipse"),qn("Diamond"))),hn("ContextMenuButton",hn(We.s_,"Horizontal",qn("Parallelogram2"),qn("ManualOperation"),qn("Procedure"),qn("Cylinder1"))),hn("ContextMenuButton",hn(We.s_,"Horizontal",qn("Terminator"),qn("CreateRequest"),qn("Document"),qn("TriangleDown"))),Tn(),Jt(),gr()),xt.current.groupTemplate=hn(We.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:We.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Rn,Zn)=>{var Pr=Zn.addMembers(Zn.diagram.selection,!0);Pr||Zn.diagram.currentTool.doCancel()},avoidable:!1},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),hn(We.s_,"Auto",{name:"BODY"},hn(We.bn,{parameter1:10,fill:Tr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("fill"),new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),hn(We.Vm,{background:"transparent",margin:20})),hn(We.al,{alignment:We.z6.Top,alignmentFocus:We.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new We.KX("text"),new We.KX("stroke","color"))),xt.current.groupTemplate.selectionAdornmentTemplate=hn(We.uz,"Spot",hn(We.s_,"Auto",hn(We.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),hn(We.Vm,{margin:1.5})),qt({alignment:We.z6.TopRight,alignmentFocus:We.z6.BottomRight})),xt.current.groupTemplate.contextMenu=hn("ContextMenu",Tn(),Jt(),gr()),xt.current.linkTemplate=hn(We.rU,{layerName:"Foreground",routing:We.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new We.KX("fromSpot","fromSpot",We.z6.parse),new We.KX("toSpot","toSpot",We.z6.parse),new We.KX("fromShortLength","dir",Rn=>Rn>=1?10:0),new We.KX("toShortLength","dir",Rn=>Rn>=1?10:0),new We.KX("points").makeTwoWay(),hn(We.bn,{strokeWidth:2},new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),hn(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,0),segmentOrientation:We.rU.OrientAlong,alignmentFocus:We.z6.Right,figure:"circle",width:10,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Rn=>Rn===1)),hn(We.bn,{segmentIndex:-1,segmentOffset:new We.E9(-10,6),segmentOrientation:We.rU.OrientPlus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Rn=>Rn>=1),new We.KX("width","thickness",Rn=>7+3*Rn),new We.KX("height","thickness",Rn=>7+3*Rn),new We.KX("segmentOffset","thickness",Rn=>new We.E9(-15,4+1.5*Rn))),hn(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,-6),segmentOrientation:We.rU.OrientMinus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Rn=>Rn===2),new We.KX("width","thickness",Rn=>7+3*Rn),new We.KX("height","thickness",Rn=>7+3*Rn),new We.KX("segmentOffset","thickness",Rn=>new We.E9(-15,4+1.5*Rn))),hn(We.al,{alignmentFocus:new We.z6(0,1,-4,0),editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),xt.current.linkTemplate.selectionAdornmentTemplate=hn(We.uz,hn(We.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:xr(2)},new We.KX("pathPattern","thickness",xr)),qt({alignmentFocus:new We.z6(0,0,-6,-4)}));function xr(Rn){return hn(We.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Rn+4).toString()+" H3"})}function Ir(Rn){var Zn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Rn===0?Zn="M0 0 M16 16 M0 8 L16 8":Rn===2&&(Zn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),hn(We.bn,{geometryString:Zn,margin:2,background:"transparent",mouseEnter:(Pr,jn)=>jn.background="dodgerblue",mouseLeave:(Pr,jn)=>jn.background="transparent",click:Xt("dir",Rn),contextClick:Xt("dir",Rn)})}function to(Rn){var Zn=(Pr,jn)=>{Pr.handled=!0,Pr.diagram.model.commit(no=>{var zr=jn.part.adornedPart;no.set(zr.data,Rn?"toSpot":"fromSpot",We.z6.stringify(We.z6.AllSides)),(Rn?zr.toNode:zr.fromNode).invalidateConnectedLinks()})};return hn(We.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Pr,jn)=>jn.background="dodgerblue",mouseLeave:(Pr,jn)=>jn.background="transparent",click:Zn,contextClick:Zn})}function an(Rn,Zn){var Pr=0,jn=We.z6.RightSide;Rn.equals(We.z6.Top)?(Pr=270,jn=We.z6.TopSide):Rn.equals(We.z6.Left)?(Pr=180,jn=We.z6.LeftSide):Rn.equals(We.z6.Bottom)&&(Pr=90,jn=We.z6.BottomSide),Zn||(Pr-=180);var no=(zr,jo)=>{zr.handled=!0,zr.diagram.model.commit(No=>{var Do=jo.part.adornedPart;No.set(Do.data,Zn?"toSpot":"fromSpot",We.z6.stringify(jn)),(Zn?Do.toNode:Do.fromNode).invalidateConnectedLinks()})};return hn(We.bn,{alignment:Rn,alignmentFocus:Rn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Pr,background:"transparent",mouseEnter:(zr,jo)=>jo.background="dodgerblue",mouseLeave:(zr,jo)=>jo.background="transparent",click:no,contextClick:no})}xt.current.linkTemplate.contextMenu=hn("ContextMenu",Jt(),gr(),hn("ContextMenuButton",hn(We.s_,"Horizontal",Ir(0),Ir(1),Ir(2))),hn("ContextMenuButton",hn(We.s_,"Horizontal",hn(We.s_,"Spot",to(!1),an(We.z6.Top,!1),an(We.z6.Left,!1),an(We.z6.Right,!1),an(We.z6.Bottom,!1)),hn(We.s_,"Spot",{margin:new We.Zt(0,0,0,2)},to(!0),an(We.z6.Top,!0),an(We.z6.Left,!0),an(We.z6.Right,!0),an(We.z6.Bottom,!0)))));const lo=`{ "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 qr(Rn){return console.log("shapeName:",Rn),Mo.indexOf(Rn)>=0}var xo=new We.YI(An.current,{maxSelectionCount:1,linkTemplate:hn(We.rU,{locationSpot:We.z6.Center,selectionAdornmentTemplate:hn(We.uz,"Link",{locationSpot:We.z6.Center},hn(We.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),hn(We.bn,{toArrow:"Standard",stroke:null}))},{routing:We.rU.AvoidsNodes,curve:We.rU.JumpOver,corner:5,toShortLength:4},new We.KX("points"),hn(We.bn,{isPanelMain:!0,strokeWidth:2}),hn(We.bn,{toArrow:"Standard",stroke:null})),model:new We.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...We.bn.getFigureGenerators().toArray().map(Rn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Rn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return xt.current.addDiagramListener("TextEdited",function(Rn){var Zn;const Pr=Rn.subject.part;var jn=(Zn=document.activeElement)==null?void 0:Zn.value;typeof jn=="string"&&jn.trim()===""&&xt.current.model.commit(function(no){no.set(Pr.data,"text","\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}),xo.nodeTemplate=hn(We.NB,"Auto",{locationSpot:We.z6.Center},new We.KX("location","location",We.E9.parse).makeTwoWay(We.E9.stringify),hn(We.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 We.KX("stroke").makeTwoWay(),new We.KX("fill").makeTwoWay(),new We.KX("figure")),hn(We.al,{margin:new We.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new We.$u(16,16),maxSize:new We.$u(10,NaN),textAlign:"center",editable:!0},new We.KX("key").makeTwoWay())),setTimeout(()=>{xt.current.grid=hn(We.s_,"Grid",hn(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),hn(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),xt.current.grid.visible=!0,xt.current.grid.gridCellStroke="darkgray",xt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=xt.current,xt.current}const Jr=()=>Fe(this,null,function*(){var hn=xt.current.makeImage();const Tr=yield(0,Ge.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:hn.src}});Rt({src:Tr.url})});return(0,be.useEffect)(()=>(setTimeout(()=>{Fr()},500),fr(nr+1),()=>{xt.current=null}),[]),Ze.createElement("div",{ref:hr,className:Nn.current?`${Ve.maxH60} body-overflow-initial`:"body-overflow-initial"},Ze.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!nr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ze.createElement(Ue.Z,null,Ze.createElement(Me.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ze.createElement(Me.Z,{onClick:()=>{var hn,Tr,Ot=xt.current.selection.first();if(Nn.current=!Nn.current,document.activeElement&&Ot){let qt=(Tr=(hn=document.activeElement)==null?void 0:hn.value)==null?void 0:Tr.trim();typeof qt=="string"&&xt.current.model.commit(function(Xt){Xt.set(Ot.data,"text",qt||"\u672A\u547D\u540D"),xt.current.commandHandler.stopCommand()},"increment")}fr(nr+1)}},Ze.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:wt},Ze.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ve.flowChartWrp},Ze.createElement("div",{style:{display:"flex",height:"100%"}},Ze.createElement("div",{style:{width:"300px",height:"100%"}},Ze.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ze.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ve.myPaletteDiv,ref:An})),Ze.createElement("div",{style:{flex:1,position:"relative"}},Ze.createElement("div",{ref:sn,style:{height:"80vh"}}))),Ze.createElement("div",{className:"tr"},Ze.createElement(we.ZP,{size:"large",onClick:Jr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var _e=Oe,Ne=me(78045),ze=me(31795);const ot=Ne.ZP.Group,gt={margin:"0 8px"};var yt=({callback:wt,onCancel:Rt})=>{function xt(sn){wt(sn)}return be.createElement(ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:xt},be.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},be.createElement("span",{style:gt},"\u5355\u5143\u683C\u6570\uFF1A"),be.createElement("span",{style:gt},"\u884C\u6570"),be.createElement(ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},be.createElement(ze.Z,null)),be.createElement("span",{style:gt},"\u5217\u6570"),be.createElement(ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},be.createElement(ze.Z,null))),be.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},be.createElement("span",{style:gt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),be.createElement(ye.default.Item,{name:"align"},be.createElement(ot,null,be.createElement(Ne.ZP,{value:"default"},be.createElement("i",{className:"fa fa-align-justify"})),be.createElement(Ne.ZP,{value:"left"},be.createElement("i",{className:"fa fa-align-left"})),be.createElement(Ne.ZP,{value:"center"},be.createElement("i",{className:"fa fa-align-center"})),be.createElement(Ne.ZP,{value:"right"},be.createElement("i",{className:"fa fa-align-right"}))))),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:Rt},"\u53D6\u6D88")))},nt=me(47897),mt=me(61016),At=me.n(mt),at=(0,be.forwardRef)(({use3d:wt,width:Rt,height:xt,callback:sn,showSaveButton:An},Nn)=>{const hr=(0,be.useRef)(),nr=(0,be.useRef)(),[fr,Fr]=(0,be.useState)(!1),Jr=(0,be.useRef)({id:hr,appName:"graphing",width:Rt||1e3,height:xt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,be.useEffect)(()=>{nr.current=new(At())(Jr.current,!0),window.onload=function(){nr.current.inject("applet_container")}},[]);const hn=()=>{var Tr=window.ggbApplet.getPNGBase64(1,!0,72);return sn&&sn(Tr),Tr};return(0,be.useEffect)(()=>{Jr.current.appName=fr?"3D":"graphing",nr.current.inject("applet_container")},[fr]),(0,be.useEffect)(()=>{Fr(wt)},[wt]),(0,be.useImperativeHandle)(Nn,()=>({getImgData:hn})),be.createElement(be.Fragment,null,be.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:hr}),be.createElement(Ue.Z,{align:"middle"},be.createElement(Me.Z,{flex:1},be.createElement(nt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:fr,onChange:Tr=>Fr(Tr)})),be.createElement(Me.Z,null,be.createElement(we.ZP,{size:"large",onClick:hn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Mt=me(36527),st=me(25934),pt=me(2453);const bt="link",Lt="upload-image",Dt="add-flowchart",Yt="draw-image",_n="add-flowchart",Cn="code-block",On="add-table",Jn="------------",dn={default:Jn,left:`:${Jn}`,center:`:${Jn}:`,right:`${Jn}:`};var tr=me(99914),Sr=(wt,Rt,xt)=>new Promise((sn,An)=>{var Nn=fr=>{try{nr(xt.next(fr))}catch(Fr){An(Fr)}},hr=fr=>{try{nr(xt.throw(fr))}catch(Fr){An(Fr)}},nr=fr=>fr.done?sn(fr.value):Promise.resolve(fr.value).then(Nn,hr);nr((xt=xt.apply(wt,Rt)).next())});function Qr(){}let io=0;const Kr=1e4,kr="\u2581",cn="@\u2581\u2581@",Qt="@\u2581@",un=`
**\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`,yn=["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 In(wt){return/^\d+$/.test(wt)?`${wt}px`:wt}const Gn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",wr={[Gn+"-B"]:"bold",[Gn+"-I"]:"italic"},br={[bt]:"\u6DFB\u52A0\u94FE\u63A5",[Cn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Lt]:"\u6DFB\u52A0\u56FE\u7247",[Yt]:"\u6DFB\u52A0\u753B\u56FE",[Dt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[On]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Kn=({defaultValue:wt="",onChange:Rt,width:xt="100%",height:sn=400,miniToolbar:An=!1,isFocus:Nn=!1,watch:hr,insertTemp:nr,mode:fr="markdown",id:Fr="markdown-editor-id",showResizeBar:Jr=!1,noStorage:hn=!1,showNullButton:Tr=!1,showNullProgramButton:Ot=!1,hidetoolBar:qt=!1,fullScreen:Xt=!1,onBlur:tn,onCMBeforeChange:Tn,onFullScreen:Jt,className:En="",disablePaste:rn=!1,disabled:gr=!1,disabledFill:qn=!1,placeholder:xr="",values:Ir="",extraUse:to})=>{const[an,lo]=(0,be.useState)(null),[Mo,qr]=(0,be.useState)(wt),[xo,Rn]=(0,be.useState)(hr),[Zn,Pr]=(0,be.useState)(Xt),[jn,no]=(0,be.useState)(""),[zr,jo]=(0,be.useState)(0),[No,Do]=(0,be.useState)(sn),[Et,Pt]=(0,be.useState)(!1),Zt=(0,be.useRef)((0,st.Z)()),on=(0,be.useRef)(!1),gn=(0,be.useRef)(),[Un,cr]=(0,be.useState)(0),[Cr,Br]=(0,be.useState)(0),Zr=(0,be.useRef)(),Ur=(0,be.useRef)(),mo=(0,be.useRef)(),er=(0,be.useRef)(),Tt=()=>Sr(void 0,null,function*(){var bn;const $t=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Zt.current}});(bn=$t==null?void 0:$t.attachments)!=null&&bn.length&&(console.log("cm:",an,Zr),$t.attachments.map(ln=>{ln.content_type.indexOf("image")>-1?an.replaceSelection(`![,](/api/attachments/${ln.id}?type=${ln.content_type})`):ln.content_type.indexOf("video")>-1?an.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):ln.content_type.indexOf("pdf")>-1?an.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${ln.id}?type=${ln.content_type}&disposition=inline" target="_blank">${ln.name}</a>`):an.replaceSelection(`[${ln.name}](${ENV.API_SERVER}/api/attachments/${ln.id}?type=${ln.content_type})`)}))});(0,be.useEffect)(()=>{const bn=window.scrollY||window.pageYOffset;qr(Ir),an==null||an.setValue(Ir),window.scrollTo(0,bn)},[Ir]),(0,be.useEffect)(()=>{Jt==null||Jt(Zn)},[Zn]),(0,be.useEffect)(()=>{if(Zr.current){let bn=function(ln,Pn){var Hn;if(rn){Pn.preventDefault();return}const ir=Pn.clipboardData;if(ir){const vr=ir.types.toString(),jr=ir.items;if(vr==="Files"||ir.types.indexOf("Files")>-1){if(Pn.preventDefault(),fr=="stex")return;try{let pr=jr[1];((Hn=jr[0])==null?void 0:Hn.kind)==="file"&&(pr=jr[0]);const ct=pr.getAsFile(),it=ct.name.split(".").pop();(0,$e.I)(ct,St=>{var Nt,Ut,nn;St.id?((Nt=ct==null?void 0:ct.type)==null?void 0:Nt.indexOf("image"))>-1?$t.replaceSelection(`<img width="100%" src="/api/attachments/${St.id}?type=${St.content_type})" alt="" />`):((Ut=ct==null?void 0:ct.type)==null?void 0:Ut.indexOf("video"))>-1?$t.replaceSelection(`<video width="100%" controls src="/api/attachments/${St.id}"></video>`):((nn=ct==null?void 0:ct.type)==null?void 0:nn.indexOf("pdf"))>-1?$t.replaceSelection(`<a href="/api/attachments/${St.id}?type=${ct.type}&disposition=inline" target="_blank">${ct.name}</a>`):yn.includes(it)?$t.replaceSelection(`<a href="/api/attachments/${St.id}?type=office&disposition=inline" target="_blank">${ct.name}</a>`):$t.replaceSelection(`[${ct.name}](/api/attachments/${St.id}?type=${St.content_type})`):(St==null?void 0:St.status)===401&&(pt.ZP.warning((St==null?void 0:St.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(pr){pt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const $t=E().fromTextArea(Zr.current,{mode:fr,lineNumbers:!An,lineWrapping:!0,value:wt,autoCloseTags:!Ot,autoCloseBrackets:!0});return $t.on("keyup",function(ln,Pn){Pn.keyCode===8&&(ln.getValue()==""?$t.setOption("placeholder",xr):$t.setOption("placeholder",null))}),$t.on("keydown",function(ln,Pn){if(Pn.keyCode===8){var Hn=Wt(ln);Hn&&Pn.preventDefault()}}),Nn&&$t.focus(),$t.on("paste",bn),$t.on("dragleave",function(ln,Pn){Ur.current.classList.remove("mouse-hover-md")}),gr&&$t.on("beforeChange",function(ln,Pn){(Pn.origin==="paste"||Pn.origin==="+input")&&Pn.cancel()}),lo($t),()=>{$t.off("paste",bn)}}},[]);const Ft=(0,be.useCallback)(()=>{if(Ur.current)try{}catch(bn){console.log(bn,"---- to set md editor body height")}},[No,Ur,Zn]);(0,be.useEffect)(()=>{function bn(){let $t=new he.Z(ln=>{for(let Pn of ln)(Pn.target.offsetHeight>0||Pn.target.offsetWidth>0)&&(Ft(),an.setSize("100%","100%"),an.refresh())});return $t.observe(Zr.current.parentElement),$t}if(an){const $t=bn();return()=>{var ln,Pn;(ln=Zr.current)!=null&&ln.parentElement&&$t.unobserve((Pn=Zr.current)==null?void 0:Pn.parentElement)}}},[an,Ft]),(0,be.useEffect)(()=>{if(an){let bn=[];for(const[$t,ln]of Object.entries(wr)){let Pn={[$t]:()=>{ut(ln)}};bn.push(Pn),an.addKeyMap(Pn)}return gn.current=setInterval(()=>{on.current&&Tt()},4e3),()=>{clearInterval(gn.current);for(let $t of bn)an.removeKeyMap($t)}}},[an]),(0,be.useEffect)(()=>{Xt!==Zn&&Pr(Xt)},[Xt]),(0,tr.Z)(()=>{if(!hn&&zr>0){let bn=new Date().getTime(),$t=window.sessionStorage.getItem(Fr);bn>=zr+Kr&&(!$t||$t!==Mo)&&(window.sessionStorage.setItem(Fr,Mo),Pt(!0))}},Kr),(0,be.useEffect)(()=>{Rn(hr)},[an,hr]),(0,be.useEffect)(()=>{an&&Nn&&an.focus()},[an,Nn]),(0,be.useEffect)(()=>{if(xo&&an){let bn=function(ln){let Pn=ln.target;if(er.current){let Hn=Pn.scrollTop/Pn.scrollHeight;er.current.scrollTop=er.current.scrollHeight*Hn}};const $t=an.getScrollerElement();return $t.addEventListener("scroll",bn),()=>{$t.removeEventListener("scroll",bn)}}},[an,xo]),(0,be.useEffect)(()=>{if(an&&Tn){let bn=function($t,ln){Tn($t,ln)};return an.on("beforeChange",bn),()=>{an.off("beforeChange",bn)}}},[an,Tn]),(0,be.useEffect)(()=>{if(an&&tn){let bn=function(){tn(an.getValue())};return an.on("blur",bn),()=>{an.off("blur",bn)}}},[an,tn]);function Wt(bn,$t){var ln=bn.getDoc(),Pn=ln.getCursor(),Hn=ln.getLine(Pn.line),ir=Hn.charAt(Pn.ch-1),vr=Hn.lastIndexOf("@\u2581@",Pn.ch),jr=Hn.lastIndexOf("@\u2581\u2581@",Pn.ch),pr=vr>jr?vr:jr,ct=vr>jr?3:4;if(cn.indexOf(ir)===-1)return null;if(console.log("change1:",$t,bn,Hn,Pn,pr,vr,jr,ir),pr>=0&&Pn.ch-pr<5){var it=pr+ct;return ln.replaceRange("",{line:Pn.line,ch:pr},{line:Pn.line,ch:it}),{line:Pn.line,ch:it}}return null}(0,be.useEffect)(()=>{if(an){let bn=function($t,ln){const Pn=$t.getValue();qr(Pn),jo(new Date().getTime()),$t.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Rt&&(Ot?Rt(Pn,Bn(Pn)):Rt(Pn))};return an.on("change",bn),()=>{an.off("change",bn)}}},[an,Rt]),(0,be.useEffect)(()=>{if(an)if(wt==null)an.setValue(""),qr("");else{const bn=window.scrollY||window.pageYOffset;wt!==an.getValue()&&(an.setValue(wt),qr(wt),an.setCursor(gr?1:an.lineCount(),0),window.scrollTo(0,bn))}},[an,wt]);const ut=(0,be.useCallback)(bn=>{const $t=an.getCursor(),ln=an.getSelection();let Pn=ln.split(`
`);switch(bn){case"bold":return an.replaceSelection("**"+ln+"**"),ln===""&&an.setCursor($t.line,$t.ch+2),an.focus();case"italic":return an.replaceSelection("*"+ln+"*"),ln===""&&an.setCursor($t.line,$t.ch+1),an.focus();case"code":return an.replaceSelection("`"+ln+"`"),ln===""&&an.setCursor($t.line,$t.ch+1),an.focus();case"inline-latex":return no("inline-latex"),an.focus();case"latex":return an.replaceSelection("```latex\n"+ln+"\n```"),an.setCursor($t.line+1,ln.length+1),an.focus();case"line-break":return an.replaceSelection(`<br/>
`),an.focus();case"list-ul":return ln===""?an.replaceSelection("- "+ln):an.replaceSelection(Pn.map(Hn=>Hn===""?"":`- ${Hn}`).join(`
`)),an.focus();case"list-ol":return ln===""?an.replaceSelection("1. "+ln):an.replaceSelection(Pn.map((Hn,ir)=>Hn===""?"":`${ir+1}. ${Hn}`).join(`
`)),an.focus();case"add-null-ch":return ln===""&&an.setCursor($t.line,$t.ch),an.replaceSelection(kr),an.focus();case"add-signal":return ln===""&&an.setCursor($t.line,$t.ch),an.replaceSelection(Qt),an.focus();case"add-multiple":return ln===""&&an.setCursor($t.line,$t.ch),an.replaceSelection(cn),an.focus();case"inster-template-1":return ln===""&&an.setCursor($t.line,$t.ch),an.replaceSelection(un),an.focus();case"eraser":return an.setValue(""),an.focus();case"trigger-watch":return Rn(!xo),an.focus();case"trigger-full-screen":return Pr(!Zn),an.focus();case bt:no(bt);return;case Cn:no(Cn);return;case Lt:no(Lt);return;case Yt:no(Yt);return;case"maths-latex":no("maths-latex");return;case Dt:no(Dt);return;case On:no(On);return;default:throw new Error}},[an,xo,Zn]),Vt=(0,be.useCallback)((bn,$t)=>{var ln,Pn,Hn,ir,vr,jr;switch(no(""),jn){case bt:const{title:Nt,link:Ut}=bn;return an.replaceSelection(`[${Nt}](${Ut})`),an.focus();case Cn:const{language:nn,content:pn}=bn;return an.replaceSelection(["```"+nn,pn,"```"].join(`
`)),an.focus();case"maths-latex":for(var pr=atob(bn),ct=new Uint8Array(pr.length),it=0;it<pr.length;it++)ct[it]=pr.charCodeAt(it);var St=new Blob([ct],{type:"image/png"});(0,$e.I)(St,Yr=>{Yr.id?an.replaceSelection(`![,](/api/attachments/${Yr.id}?type=${Yr.content_type})`):(Yr==null?void 0:Yr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":an.replaceSelection("`$$"+bn+"$$`");break;case Lt:case Yt:case _n:const{src:xn,alt:Mn}=bn,Dn=$t,or=(Hn=(Pn=(ln=Dn==null?void 0:Dn.name)==null?void 0:ln.split("."))==null?void 0:Pn.pop)==null?void 0:Hn.call(Pn);return((ir=Dn==null?void 0:Dn.type)==null?void 0:ir.indexOf("image"))>-1||!(Dn!=null&&Dn.type)?Dn.align||Dn.width?an.replaceSelection(`<p style="text-align:${Dn.align||"initial"}"><img width="${Dn.width?Dn.width+"%":"initial"}" src="${xn}" alt="${Mn||""}" /></p>`):an.replaceSelection(`<img width="100%" src="${xn}" alt="${Mn||""}" />`):((vr=Dn==null?void 0:Dn.type)==null?void 0:vr.indexOf("video"))>-1?an.replaceSelection(`<video width="100%" controls src="${xn}"></video>`):((jr=Dn==null?void 0:Dn.type)==null?void 0:jr.indexOf("pdf"))>-1?an.replaceSelection(`<a href="${xn}?type=${Dn.type}&disposition=inline" target="_blank">${Dn.name}</a>`):yn.includes(or)?an.replaceSelection(`<a href="${xn}?type=office&disposition=inline" target="_blank">${Dn.name}</a>`):an.replaceSelection(`[${Dn.name}](${xn})`),an.focus();case On:const{row:ar,col:Gr,align:Vr}=bn;let Nr=`
`;for(let Yr=0;Yr<ar;Yr++){let so=[],co=[];for(let _r=0;_r<Gr;_r++)Yr===1&&co.push(dn[Vr]),so.push(" ");Yr===1&&(Nr+=`| ${co.join(" | ")} |
`),Nr+=`| ${so.join(Gr===1?"":" | ")} |
`}return an.replaceSelection(Nr+`
`),an.focus();default:throw new Error}},[an,jn]),fn=(0,be.useMemo)(()=>{switch(jn){case bt:return be.createElement(Qe,{callback:Vt,onCancel:Sn});case Cn:return be.createElement(Xe.Z,{callback:Vt,onCancel:Sn});case Lt:return be.createElement($e.Z,{callback:Vt,onCancel:Sn});case Dt:return be.createElement(_e,{callback:Vt,onCancel:Sn});case On:return be.createElement(yt,{callback:Vt,onCancel:Sn});case"maths-latex":return be.createElement(at,{showSaveButton:!0,callback:Vt});case"inline-latex":return be.createElement(Mt.Z,{showSaveButton:!0,callback:Vt});default:return null}},[jn]);function Sn(){no("")}(0,be.useEffect)(()=>{if(mo.current){let bn=function(vr){Hn=!0,ir=vr.pageY},$t=function(){Hn=!1},ln=function(vr){if(Hn){let jr=vr.pageY-ir;jr<0&&(jr=0),jr>300&&(jr=300);let pr=sn+jr+"px";Do(pr)}},Pn=mo.current,Hn=!1,ir=0;return Pn.addEventListener("mousedown",bn),document.addEventListener("mousemove",ln),document.addEventListener("mouseup",$t),()=>{Pn.removeEventListener("mousedown",bn),document.removeEventListener("mousemove",ln),document.removeEventListener("mouseup",$t)}}},[an,mo]),(0,be.useEffect)(()=>{Do(sn)},[sn]);const Bt=In(xt),Gt=In(No),Ht={width:Bt,height:Gt},Ln=(0,be.useMemo)(()=>{if(zr){let bn=new Date(zr),$t=bn.getHours(),ln=bn.getMinutes(),Pn=bn.getSeconds();return $t=$t<10?"0"+$t:$t,ln=ln<10?"0"+ln:ln,Pn=Pn<10?"0"+Pn:Pn,`${$t}:${ln}:${Pn}`}return 0},[zr]),Bn=bn=>{const $t=[];if(Ot){let ln=-1;bn=bn.replace(/(@▁▁@|@▁@)/g,function(Pn,Hn,ir){$t.push({multiLine:Pn!==Qt})})}return $t};function Yn(){window.sessionStorage.removeItem(Fr),Pt(!1),jo(0)}function Wn(){Pt(!1),jo(0),an.setValue(window.sessionStorage.getItem(Fr))}(0,be.useEffect)(()=>{br[jn]&&jn!==Yt&&jn!==Dt&&setTimeout(()=>{const bn=document.getElementsByClassName("markdown-popup-form")[0],$t=window.innerWidth/2-bn.offsetWidth/2,ln=window.innerHeight/2-bn.offsetHeight/2;cr($t),Br(ln)},0)},[jn]);const rr=bn=>{bn.preventDefault();const $t=bn.clientX-Un,ln=bn.clientY-Cr;document.body.onmousemove=Pn=>{let Hn=Pn.clientX-$t,ir=Pn.clientY-ln;const vr=document.getElementsByClassName("markdown-popup-form")[0],jr=window.innerWidth-vr.offsetWidth,pr=window.innerHeight-vr.offsetHeight;Hn=Math.max(0,Math.min(Hn,jr)),ir=Math.max(0,Math.min(ir,pr)),ur(Pn.clientX,Pn.clientY,$t,ln)&&(cr(Hn),Br(ir))},document.body.onmouseup=function(){document.body.onmousemove=null}},ur=(bn,$t,ln,Pn)=>{const Hn=document.body.clientHeight,ir=document.body.clientWidth;return bn<20&&ln>bn||bn>ir-20&&ln<bn||$t<20&&Pn>$t||$t>Hn-20&&Pn<$t?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return be.createElement(be.Fragment,null,be.createElement("div",{className:"markdown-editor-wrapper",ref:Ur},be.createElement("div",{className:`markdown-editor-container ${En} ${xo?"on-preview":""} ${An?"mini":""} ${Zn?"full-screen":""}`,style:Ht},be.createElement(pe,{insertTemp:nr,watch:xo,fullScreen:Zn,showNullButton:Tr,showNullProgramButton:Ot,onActionCallback:ut,hidetoolBar:qt,extraUse:to}),be.createElement("div",{className:"markdown-editor-body"},be.createElement("div",{className:"codemirror-container"},be.createElement("textarea",{ref:Zr,placeholder:xr})),xo?be.createElement("div",{ref:er,className:"preview-container"},fr==="stex"&&be.createElement(oe,{value:Mo}),fr!=="stex"&&be.createElement(ae.Z,{disabledFill:qn,showProgramFill:Ot,value:Mo})):null))),Jr?be.createElement("a",{ref:mo,className:"editor-resize"}):null,jn===Yt&&be.createElement(ft,{callback:Vt,onCancel:Sn}),jn===Dt&&be.createElement(_e,{callback:Vt,onCancel:Sn}),be.createElement(Se.Z,null,br[jn]&&jn!==Yt&&jn!==Dt?be.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Un,top:Cr},title:be.createElement("div",{style:{cursor:"move"},onMouseDown:rr},br[jn]),open:!0,onCancel:Sn,footer:null,destroyOnClose:!0,width:jn===Dt?"1200px":null,height:jn===Dt?"80vh":null,className:"markdown-popup-form"},fn):null))}},70859:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return ve},I:function(){return Se}});var be=me(22150),xe=me(2453),E=me(69677),he=me(93421),fe=me(31795),se=me(78045),re=me(71577),ie=me(15476),le=me(67294),ue=me(52262),ae=me(67294),oe=Object.defineProperty,ne=Object.defineProperties,z=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ye,Pe,we)=>Pe in ye?oe(ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:we}):ye[Pe]=we,ee=(ye,Pe)=>{for(var we in Pe||(Pe={}))y.call(Pe,we)&&b(ye,we,Pe[we]);if(a)for(var we of a(Pe))x.call(Pe,we)&&b(ye,we,Pe[we]);return ye},te=(ye,Pe)=>ne(ye,z(Pe));const{useForm:ce}=be.default,de={width:280,marginRight:10},ge={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:ye,onCancel:Pe})=>{const[we]=ce();let Le=(0,le.useRef)();function Ee(Ae){Le.current.width=we.getFieldValue("width"),Le.current.align=we.getFieldValue("align"),ye(Ae,Le.current)}function Te(Ae,Ie){if(Ae.status===-1){xe.ZP.error(Ae.message);return}we.setFieldsValue({src:`/api/attachments/${Ae.id}`,type:Ie.type})}function Ce(Ae){let Ie=Ae.target.files[0];Le.current=Ie,Se(Ie,Te)}return ae.createElement(be.default,te(ee({form:we},ge),{className:"upload-image-panel",onFinish:Ee,style:{width:470,overflow:"hidden"}}),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ae.createElement("div",{className:"flex-container"},ae.createElement(be.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ae.createElement(E.default,{style:de})),ae.createElement(pe,{onFileChange:Ce}))),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ae.createElement(E.default,{style:{width:264}})),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ae.createElement(he.Z,null,ae.createElement(be.default.Item,{name:"width",style:{margin:0}},ae.createElement(fe.Z,{style:{width:264}})),ae.createElement("span",{className:"ml8"},"%"))),ae.createElement(be.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ae.createElement(se.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ae.createElement("aside",null,ae.createElement(be.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ae.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(re.ZP,{type:"default",onClick:Pe},"\u53D6\u6D88"))))};function pe({onFileChange:ye}){return ae.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ae.createElement("input",{type:"file",onChange:ye}))}function Se(ye,Pe){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ue.bg)())throw xe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let we=new FormData;we.append("editormd-image-file",ye),we.append("file_param_name","editormd-image-file"),we.append("byxhr","true");var Le=new window.XMLHttpRequest;Le.withCredentials=!0,Le.addEventListener("load",function(Ee){Pe(JSON.parse(Ee.target.responseText),ye)},!1),Le.addEventListener("error",function(Ee){console.error(Ee)},!1),Le.open("POST",`${ie.KI}/api/attachments.json`),Le.send(we)}},76621:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return E}});var be=me(67294),xe=me(73935);class E extends be.Component{constructor(fe){super(fe);const se=window.document;this.node=se.createElement("div"),se.body.appendChild(this.node)}render(){const{children:fe}=this.props;return(0,xe.createPortal)(fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},21434:function(Ct,dt,me){"use strict";var be=me(12867),xe=me(11713),E=me(47897),he=me(67294);const fe=xe.default.Option;dt.Z=({isTheoretical:se,onFontSizeChange:re,cmFontSize:ie,cmCodeMode:le,autoFormat:ue,onCodeModeChange:ae,onTabToSpace:oe,onAutoFormat:ne,formatDocument:z,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:ee})=>{const te={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return he.createElement("div",{className:`tpi-code-setting ${a}`},he.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),he.createElement(xe.default,{bordered:!1,size:"small",value:le,onChange:ae},he.createElement(fe,{value:"vs"},"\u767D\u8272\u80CC\u666F"),he.createElement(fe,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!se&&he.createElement(he.Fragment,null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),he.createElement(xe.default,{bordered:!1,size:"small",value:ie,onChange:re},he.createElement(fe,{value:12},"12px"),he.createElement(fe,{value:14},"14px"),he.createElement(fe,{value:16},"16px"),he.createElement(fe,{value:18},"18px"),he.createElement(fe,{value:20},"20px"),he.createElement(fe,{value:22},"22px"))),he.createElement("div",{className:"file-item"},he.createElement("b",null,"Tab\u8F6C\u6362"),he.createElement(E.Z,{checked:y,onChange:oe})),he.createElement("div",{className:"file-item",onClick:z},he.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!se&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),he.createElement("span",null,"Ctrl + S")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),he.createElement("span",null,"F1 / Alt + F1")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),he.createElement("span",null,"Ctrl + ]/[")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),he.createElement("span",null,"Ctrl + Shift + \\")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),he.createElement("span",null,"Home")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),he.createElement("span",null,"End"))),x),!se&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),he.createElement("span",null,te[ee==null?void 0:ee.difficulty])),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),he.createElement("span",null,b==null?void 0:b.name)),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),he.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},99914:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return xe}});var be=me(67294);function xe(E,he){const fe=(0,be.useRef)();(0,be.useEffect)(()=>{fe.current=E}),(0,be.useEffect)(()=>{function se(){fe.current()}if(he!==null){let re=setInterval(se,he);return()=>clearInterval(re)}},[he])}},97917:function(Ct,dt,me){"use strict";var be=me(67294),xe=me(55054),E=me(31795),he=me(22150),fe=me(14446),se=me(57953),re=me(9430),ie=me(69677),le=me(71230),ue=me(15746),ae=me(71577),oe=me(15835),ne=me(27484),z=me.n(ne),a=me(35973),y=me(28706),x=me(53814),b=me(52262),ee=me(9343),te=me(67294),ce=(pe,Se,ye)=>new Promise((Pe,we)=>{var Le=Ce=>{try{Te(ye.next(Ce))}catch(Ae){we(Ae)}},Ee=Ce=>{try{Te(ye.throw(Ce))}catch(Ae){we(Ae)}},Te=Ce=>Ce.done?Pe(Ce.value):Promise.resolve(Ce.value).then(Le,Ee);Te((ye=ye.apply(pe,Se)).next())});const{Countdown:de}=xe.default,ge=({value:pe,onChange:Se,MaxMinutes:ye})=>te.createElement(te.Fragment,null,te.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",te.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",te.createElement("br",null)),te.createElement(E.Z,{value:pe,onChange:Se,min:0,precision:0,max:ye,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ye}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),ve=({exercise:pe,successCb:Se,dispatch:ye})=>{var Pe,we,Le,Ee;const Te=(0,a.useParams)(),[Ce]=he.default.useForm(),Ae=he.default.useWatch("time",Ce),[Ie,He]=(0,be.useState)(!1),je=(0,be.useRef)(),{actionTabs:tt}=pe,[Je,Qe]=(0,be.useState)(),[,Xe,$e,ke]=(0,ee.U)(oe.n7,{id:Te.categoryId}),[,Ue,qe]=(0,ee.U)(oe.Cd,{});(0,be.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&(He(!1),Ce.resetFields())},[pe.actionTabs.key]);const Ye=()=>new Promise(Ze=>ce(void 0,null,function*(){var Fe,Oe;return je.current=yield(0,x.y)({ip_limit:(Fe=tt==null?void 0:tt.exerciseParams)==null?void 0:Fe.ip_limit,ip_bind:(Oe=tt==null?void 0:tt.exerciseParams)==null?void 0:Oe.ip_bind_type}),Ze()})),ft=()=>ce(void 0,null,function*(){var Ze,Fe,Oe,_e,Ne;yield Ce.validateFields();const ze=Ce.getFieldsValue();if(He(!0),(((Ze=tt==null?void 0:tt.exerciseParams)==null?void 0:Ze.ip_limit)!=="no"||(Fe=tt==null?void 0:tt.exerciseParams)!=null&&Fe.ip_bind_type)&&(yield Ye()),(yield(0,oe.ZD)((Oe=tt==null?void 0:tt.exerciseParams)==null?void 0:Oe.id,{exercise_user_id:(_e=tt==null?void 0:tt.exerciseParams)==null?void 0:_e.exercise_user_id,unlock_key:ze.unlock_key,time:ze.time,ip:je.current})).status===0){if(Se){ye({type:"exercise/setActionTabs",payload:{}}),Se();return}const gt=tt==null?void 0:tt.exerciseParams;(0,y.nr)({inner_ip:gt.inner_ip,public_ip:gt.public_ip,open_camera:gt.open_camera,ip_limit:gt.ip_limit,ip_bind:gt.ip_bind,ip_bind_type:gt.ip_bind_type,exercise_tips:gt.exercise_tips,exerciseId:gt.id,screen_open:gt.screen_open,screen_num:gt.screen_num,screen_sec:gt.screen_sec,coursesId:Te.coursesId,login:(Ne=(0,b.eY)())==null?void 0:Ne.login,history,identity_verify:gt.identity_verify,open_phone_video_recording:gt.open_phone_video_recording,current_status:gt.current_status}),ye({type:"exercise/setActionTabs",payload:{}})}He(!1)}),We=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:Ze=>te.createElement("span",{className:Ze.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ze)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:Ze=>te.createElement("span",{className:Ze.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ze)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ke=((Pe=tt==null?void 0:tt.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((we=tt==null?void 0:tt.exerciseParams)==null?void 0:we.errorMessage)=="object";(0,be.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&ce(void 0,null,function*(){const Ze=yield qe(Te);yield $e({}),Ze.status||Qe(Ze)})},[pe.actionTabs.key]);const{time:Re,end_time:et}=(Je==null?void 0:Je.exercise)||{},Me=ke!=null&&ke.user_end_time?z()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):z()(),Ge=z()(ke==null?void 0:ke.user_total_end_time)>Me?Math.round(z().duration(z()(ke==null?void 0:ke.user_total_end_time).diff(Me.startOf("minute"))).asMinutes()):0,Ve=((ke==null?void 0:ke.student_left_minutes)||0)+(Ae||0);return te.createElement(te.Fragment,null,te.createElement(fe.default,{width:514,centered:!0,closable:!!((Le=tt==null?void 0:tt.exerciseParams)!=null&&Le.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:pe.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ye({type:"exercise/setActionTabs",payload:{}})}},te.createElement(se.Z,{spinning:Xe||Ue},Ke&&te.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Ke&&te.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Ke&&te.createElement(re.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ee=tt==null?void 0:tt.exerciseParams)==null?void 0:Ee.errorMessage)||{}],columns:We}),te.createElement("div",{className:""},te.createElement(he.default,{form:Ce,layout:"vertical",autoComplete:"off"},te.createElement(he.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},te.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Re!==-1?te.createElement(te.Fragment,null,te.createElement(he.default.Item,{name:"time",label:te.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",te.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",z()(ke==null?void 0:ke.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},te.createElement(ge,{MaxMinutes:Ge})),te.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},Xe||Ue?"--":Ve),"\u5206\u949F",Ve!==0&&(ke==null?void 0:ke.user_end_time)&&te.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},z()(ke==null?void 0:ke.user_end_time).add(Ae||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):te.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",z()(et).format("YYYY-MM-DD HH:mm")))),te.createElement(le.Z,{justify:"space-between",align:"middle"},te.createElement(ue.Z,null),te.createElement(ue.Z,null,te.createElement(ae.ZP,{loading:Ie,onClick:ft},"\u8FDB\u5165\u8003\u8BD5"))))))};dt.Z=(0,a.connect)(({exercise:pe})=>({exercise:pe}))(ve)},93989:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return ne}});var be=me(67294),xe=me(2453),E=me(83062),he=me(57953),fe=me(71230),se=me(15746),re=me(28452),ie=me(71577),le=me(35567),ue=me(33170),ae=me(85725),oe=(a,y,x)=>new Promise((b,ee)=>{var te=ge=>{try{de(x.next(ge))}catch(ve){ee(ve)}},ce=ge=>{try{de(x.throw(ge))}catch(ve){ee(ve)}},de=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(te,ce);de((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,te]=(0,be.useState)(""),[ce,de]=(0,be.useState)(!1);function ge(pe){te(pe)}function ve(){if(!ee){xe.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),te("")}return(0,be.useEffect)(()=>{y!=a&&de(!1)},[y]),be.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},be.createElement(le.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ge,extraUse:b&&be.createElement(E.Z,{color:"#fff",open:ce,destroyTooltipOnHide:!0,title:z({id:a,isOpen:ce,activeDiscussIndex:y,onChange:ge,setIsOpen:de}),overlayStyle:{maxWidth:600}},be.createElement("a",{title:ce?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>de(!ce)},be.createElement("i",{className:"iconfont icon-dianzan11"})))}),be.createElement("a",{onClick:ve,className:"btn-send"},"\u53D1\u9001"))};const z=a=>{const[y,x]=(0,be.useState)(!1),[b,ee]=(0,be.useState)([]),[te,ce]=(0,be.useState)(1);(0,be.useEffect)(()=>{a!=null&&a.isOpen?de():(ce(1),ee([]))},[a==null?void 0:a.isOpen]);const de=()=>oe(void 0,null,function*(){x(!0);const ge=yield(0,ue.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ge==null?void 0:ge.status)==0&&ee(ge==null?void 0:ge.answer),x(!1)});return be.createElement(he.Z,{spinning:y},be.createElement("div",{style:{color:"#000"}},be.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[te-1])||""}),be.createElement(fe.Z,{justify:"end",align:"middle"},be.createElement(se.Z,null,be.createElement(re.Z,{simple:!0,current:te,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ge=>{ce(ge)}})),be.createElement(se.Z,null,be.createElement(ie.ZP,{onClick:()=>oe(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[te-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},5764:function(Ct,dt,me){"use strict";me.d(dt,{CP:function(){return E},_V:function(){return se}});var be=me(81354),xe=me.n(be);const E={secret:be.enc.Utf8.parse("0a18e199b87f1a8d"),iv:be.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},he={exam:E};function fe(re="",ie="exam"){const{secret:le,iv:ue}=he[ie];return AES.encrypt(re,le,{iv:ue,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function se(re="",ie="exam"){const{secret:le,iv:ue}=he[ie];return be.AES.decrypt(re,le,{iv:ue,mode:xe().mode.CBC,padding:xe().pad.Pkcs7}).toString(be.enc.Utf8)}},51959:function(Ct,dt,me){"use strict";me.d(dt,{BU:function(){return xe},Dj:function(){return be},gH:function(){return E},vp:function(){return he}});function be(fe){try{fe.mozRequestFullScreen?fe.mozRequestFullScreen():fe.webkitRequestFullScreen&&fe.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 he(){var fe=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,se=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",fe),window.isFullScreen?window.isFullScreen:fe!=null}},9343:function(Ct,dt,me){"use strict";me.d(dt,{U:function(){return le}});var be=me(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,se=(ue,ae,oe)=>ae in ue?xe(ue,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ue[ae]=oe,re=(ue,ae)=>{for(var oe in ae||(ae={}))he.call(ae,oe)&&se(ue,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&se(ue,oe,ae[oe]);return ue},ie=(ue,ae,oe)=>new Promise((ne,z)=>{var a=b=>{try{x(oe.next(b))}catch(ee){z(ee)}},y=b=>{try{x(oe.throw(b))}catch(ee){z(ee)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((oe=oe.apply(ue,ae)).next())});function le(ue,ae){const[oe,ne]=(0,be.useState)(ae),[z,a]=(0,be.useState)(!1),[y,x]=(0,be.useState)();return[oe,z,(ee,te=!1)=>ie(this,null,function*(){const ce=te?ae:re(re({},oe),ee);a(!0),ne(ce);const de=yield ue(ce);return a(!1),x(de),de}),y]}},43462:function(Ct,dt,me){"use strict";me.d(dt,{_:function(){return E}});var be=me(67294),xe=me(14446);const E=he=>{var fe,se;const re=(0,be.useRef)([]),ie=()=>{for(const le of re.current)clearTimeout(le);re.current=[]};return(0,be.useEffect)(()=>{var le,ue,ae,oe,ne,z;if(ie(),(le=he==null?void 0:he.exercise)!=null&&le.left_time&&((ae=(ue=he==null?void 0:he.exercise)==null?void 0:ue.exercise_events)==null?void 0:ae.length)>0){for(const a of(oe=he==null?void 0:he.exercise)==null?void 0:oe.exercise_events)if(((ne=he==null?void 0:he.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((z=he==null?void 0:he.exercise)==null?void 0:z.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{xe.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);re.current.push(x)}}},[(fe=he==null?void 0:he.exercise)==null?void 0:fe.left_time,(se=he==null?void 0:he.exercise)==null?void 0:se.exercise_events]),ie}},40471:function(Ct,dt,me){"use strict";me.d(dt,{G:function(){return fe},t:function(){return he}});var be=me(58971),xe=me.n(be);const E=null;function he(se,re){let ie=xe().get("__ec");ie||(ie={}),ie[se]=re,xe().set("__ec",ie)}function fe(se,re){let ie=xe().get("__ec");return ie?ie[se]===void 0?re:ie[se]:re}},56448:function(Ct){(function(dt){(function(me){if(1)Ct.exports=me();else var be})(function(){var me,be,xe;return function(){function E(he,fe,se){function re(ue,ae){if(!fe[ue]){if(!he[ue]){var oe=void 0;if(!ae&&oe)return require(ue,!0);if(ie)return ie(ue,!0);var ne=new Error("Cannot find module '"+ue+"'");throw ne.code="MODULE_NOT_FOUND",ne}var z=fe[ue]={exports:{}};he[ue][0].call(z.exports,function(a){var y=he[ue][1][a];return re(y||a)},z,z.exports,E,he,fe,se)}return fe[ue].exports}for(var ie=void 0,le=0;le<se.length;le++)re(se[le]);return re}return E}()({1:[function(E,he,fe){"use strict";var se=E("./browser/client");se.Buffer=E("buffer").Buffer,se.urllib=E("../shims/xhr"),se.version=E("./browser/version").version,he.exports=se},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(E,he,fe){"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"),ue=E("../common/utils/checkBucketName"),ae=ue.checkBucketName,oe=fe;function ne(a){return Array.isArray?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"}function z(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,ee){var te,ce;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("DELETE",b,"",ee),ge.next=3,this.request(te);case 3:if(ce=ge.sent,!(ce.status===200||ce.status===204)){ge.next=6;break}return ge.abrupt("return",{res:ce.res});case 6:return ge.next=8,this.requestError(ce);case 8:throw ge.sent;case 9:case"end":return ge.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,ee,te){var ce,de;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ce=this._bucketRequestParams("PUT",b,"acl",te),ce.headers={"x-oss-acl":ee},ce.successStatuses=[200],ve.next=5,this.request(ce);case 5:return de=ve.sent,ve.abrupt("return",{bucket:de.headers.location&&de.headers.location.substring(1)||null,res:de.res});case 7:case"end":return ve.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),oe.getBucketACL=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ce;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("GET",b,"acl",ee),te.successStatuses=[200],te.xmlResponse=!0,ge.next=5,this.request(te);case 5:return ce=ge.sent,ge.abrupt("return",{acl:ce.data.AccessControlList.Grant,owner:{id:ce.data.Owner.ID,displayName:ce.data.Owner.DisplayName},res:ce.res});case 7:case"end":return ge.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,ee,te){var ce,de,ge;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ce=this._bucketRequestParams("PUT",b,"logging",te),de=`<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`.concat(b,`</TargetBucket>
`),ee&&(de+="<TargetPrefix>".concat(ee,`</TargetPrefix>
`)),de+=`</LoggingEnabled>
</BucketLoggingStatus>`,ce.content=de,ce.mime="xml",ce.successStatuses=[200],pe.next=9,this.request(ce);case 9:return ge=pe.sent,pe.abrupt("return",{res:ge.res});case 11:case"end":return pe.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),oe.getBucketLogging=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ce,de;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("GET",b,"logging",ee),te.successStatuses=[200],te.xmlResponse=!0,ve.next=5,this.request(te);case 5:return ce=ve.sent,de=ce.data.LoggingEnabled,ve.abrupt("return",{enable:!!de,prefix:de&&de.TargetPrefix||null,res:ce.res});case 8:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketLogging=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ce;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("DELETE",b,"logging",ee),te.successStatuses=[204,200],ge.next=4,this.request(te);case 4:return ce=ge.sent,ge.abrupt("return",{res:ce.res});case 6:case"end":return ge.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,ee,te){var ce,de,ge,ve,pe,Se,ye,Pe,we,Le;return re.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:for(ee=ee||[],le(ee.length,"rules is required"),ee.forEach(function(Ce){le(Ce.allowedOrigin,"allowedOrigin is required"),le(Ce.allowedMethod,"allowedMethod is required")}),ce=this._bucketRequestParams("PUT",b,"cors",te),de=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,ge=function(Ae){de+="<AllowedOrigin>".concat(Ae,"</AllowedOrigin>")},ve=function(Ae){de+="<AllowedMethod>".concat(Ae,"</AllowedMethod>")},pe=function(Ae){de+="<AllowedHeader>".concat(Ae,"</AllowedHeader>")},Se=function(Ae){de+="<ExposeHeader>".concat(Ae,"</ExposeHeader>")},ye=0,Pe=ee.length;ye<Pe;ye++)we=ee[ye],de+="<CORSRule>",z(we.allowedOrigin).forEach(ge),z(we.allowedMethod).forEach(ve),z(we.allowedHeader).forEach(pe),z(we.exposeHeader).forEach(Se),we.maxAgeSeconds&&(de+="<MaxAgeSeconds>".concat(we.maxAgeSeconds,"</MaxAgeSeconds>")),de+="</CORSRule>";return de+="</CORSConfiguration>",ce.content=de,ce.mime="xml",ce.successStatuses=[200],Te.next=16,this.request(ce);case 16:return Le=Te.sent,Te.abrupt("return",{res:Le.res});case 18:case"end":return Te.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),oe.getBucketCORS=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ce,de,ge;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return te=this._bucketRequestParams("GET",b,"cors",ee),te.successStatuses=[200],te.xmlResponse=!0,pe.next=5,this.request(te);case 5:return ce=pe.sent,de=[],ce.data&&ce.data.CORSRule&&(ge=ce.data.CORSRule,ne(ge)||(ge=[ge]),ge.forEach(function(Se){var ye={};Object.keys(Se).forEach(function(Pe){ye[Pe.slice(0,1).toLowerCase()+Pe.slice(1,Pe.length)]=Se[Pe]}),de.push(ye)})),pe.abrupt("return",{rules:de,res:ce.res});case 9:case"end":return pe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketCORS=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ce;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("DELETE",b,"cors",ee),te.successStatuses=[204],ge.next=4,this.request(te);case 4:return ce=ge.sent,ge.abrupt("return",{res:ce.res});case 6:case"end":return ge.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,ee,te,ce){var de,ge,ve,pe;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(de=this._bucketRequestParams("PUT",b,"referer",ce),ge=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,ge+=" <AllowEmptyReferer>".concat(ee?"true":"false",`</AllowEmptyReferer>
`),te&&te.length>0){for(ge+=` <RefererList>
`,ve=0;ve<te.length;ve++)ge+=" <Referer>".concat(te[ve],`</Referer>
`);ge+=` </RefererList>
`}else ge+=` <RefererList />
`;return ge+="</RefererConfiguration>",de.content=ge,de.mime="xml",de.successStatuses=[200],ye.next=10,this.request(de);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,ee,te){return a.apply(this,arguments)}return y}(),oe.getBucketReferer=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ce,de;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("GET",b,"referer",ee),te.successStatuses=[200],te.xmlResponse=!0,ve.next=5,this.request(te);case 5:return ce=ve.sent,de=ce.data.RefererList.Referer||null,de&&(ne(de)||(de=[de])),ve.abrupt("return",{allowEmpty:ce.data.AllowEmptyReferer==="true",referers:de,res:ce.res});case 9:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketReferer=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,this.putBucketReferer(b,!0,null,ee);case 2:return ce.abrupt("return",ce.sent);case 3:case"end":return ce.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe._bucketRequestParams=function(y,x,b,ee){return{method:y,bucket:x,subres:b,timeout:ee&&ee.timeout,ctx:ee&&ee.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,he,fe){(function(se,re){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),le=ie(E("@babel/runtime/regenerator")),ue=ie(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ae=E("debug")("ali-oss"),oe=E("xml2js"),ne=E("agentkeepalive"),z=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),ee=E("bowser"),te=E("../common/signUtils"),ce=E("../common/client/initOptions"),de=E("../common/utils/createRequest"),ge=de.createRequest,ve=E("../common/utils/encoder"),pe=ve.encoder,Se=E("../common/client/getReqUrl"),ye=Se.getReqUrl,Pe=E("../common/utils/setSTSToken"),we=Pe.setSTSToken,Le=E("../common/utils/retry"),Ee=Le.retry,Te=E("../common/utils/isFunction"),Ce=Te.isFunction,Ae=new ne;function Ie(){var Xe=a.name,$e=a.version;Xe&&Xe.toLowerCase&&Xe.toLowerCase()==="ie"&&$e.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function He(){return location&&location.protocol==="https:"}function je(Xe,$e){if(Ie(),!(this instanceof je))return new je(Xe,$e);Xe&&Xe.inited?this.options=Xe:this.options=je.initOptions(Xe),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Ae),this.ctx=$e,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}he.exports=je,je.initOptions=function($e){$e.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var ke=Object.assign({secure:He(),useFetch:!1},$e);return ce(ke)};var tt=je.prototype;tt.debug=ae,z(tt,E("./object")),z(tt,E("./bucket")),z(tt,E("../common/bucket/getBucketWebsite")),z(tt,E("../common/bucket/putBucketWebsite")),z(tt,E("../common/bucket/deleteBucketWebsite")),z(tt,E("../common/bucket/getBucketLifecycle")),z(tt,E("../common/bucket/putBucketLifecycle")),z(tt,E("../common/bucket/deleteBucketLifecycle")),z(tt,E("../common/bucket/putBucketVersioning")),z(tt,E("../common/bucket/getBucketVersioning")),z(tt,E("../common/bucket/getBucketInventory")),z(tt,E("../common/bucket/deleteBucketInventory")),z(tt,E("../common/bucket/listBucketInventory")),z(tt,E("../common/bucket/putBucketInventory")),z(tt,E("../common/bucket/abortBucketWorm")),z(tt,E("../common/bucket/completeBucketWorm")),z(tt,E("../common/bucket/extendBucketWorm")),z(tt,E("../common/bucket/getBucketWorm")),z(tt,E("../common/bucket/initiateBucketWorm")),z(tt,E("./managed-upload")),z(tt,E("../common/multipart-copy")),z(tt,E("../common/multipart")),z(tt,E("../common/parallel")),tt.signature=function($e){return this.debug("authorization stringToSign: %s",$e,"info"),te.computeSignature(this.options.accessKeySecret,$e,this.options.headerEncoding)},tt._getReqUrl=ye,tt.authorization=function($e,ke,Ue,qe){var Ye=te.buildCanonicalString($e.toUpperCase(),ke,{headers:qe,parameters:Ue});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,Ye,this.options.headerEncoding)},tt.request=function(){var Xe=(0,ue.default)(le.default.mark(function $e(ke){var Ue=this;return le.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(!this.options.retryMax){Ye.next=6;break}return Ye.next=3,Ee(Je.bind(this),this.options.retryMax,{errorHandler:function(We){var Ke=function(et){if(ke.stream)return!1;var Me=[-1,-2].includes(et.status),Ge=Ue.options.requestErrorRetryHandle||function(){return!0};return Me&&Ge(et)};return!!Ke(We)}})(ke);case 3:return Ye.abrupt("return",Ye.sent);case 6:return Ye.abrupt("return",Je.call(this,ke));case 7:case"end":return Ye.stop()}},$e,this)}));return function($e){return Xe.apply(this,arguments)}}();function Je(Xe){return Qe.apply(this,arguments)}function Qe(){return Qe=(0,ue.default)(le.default.mark(function Xe($e){var ke,Ue,qe,Ye,ft,We;return le.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(!(this.options.stsToken&&Ce(this.options.refreshSTSToken))){Re.next=3;break}return Re.next=3,we.call(this);case 3:return ke=ge.call(this,$e),this.options.useFetch||(ke.params.mode="disable-fetch"),Ye=!!$e.stream,Re.prev=6,Re.next=9,this.urllib.request(ke.url,ke.params);case 9:Ue=Re.sent,this.debug("response %s %s, got %s, headers: %j",$e.method,ke.url,Ue.status,Ue.headers,"info"),Re.next=16;break;case 13:Re.prev=13,Re.t0=Re.catch(6),qe=Re.t0;case 16:if(!(Ue&&$e.successStatuses&&$e.successStatuses.indexOf(Ue.status)===-1)){Re.next=28;break}return Re.next=19,this.requestError(Ue);case 19:if(ft=Re.sent,!(ft.code==="RequestTimeTooSkewed"&&!Ye)){Re.next=25;break}return this.options.amendTimeSkewed=+new Date(ft.serverTime)-new Date,Re.next=24,this.request($e);case 24:return Re.abrupt("return",Re.sent);case 25:ft.params=$e,Re.next=32;break;case 28:if(!qe){Re.next=32;break}return Re.next=31,this.requestError(qe);case 31:ft=Re.sent;case 32:if(!ft){Re.next=34;break}throw ft;case 34:if(!$e.xmlResponse){Re.next=39;break}return Re.next=37,this.parseXML(Ue.data);case 37:We=Re.sent,Ue.data=We;case 39:return Re.abrupt("return",Ue);case 40:case"end":return Re.stop()}},Xe,this,[[6,13]])})),Qe.apply(this,arguments)}tt._getResource=function($e){var ke="/";return $e.bucket&&(ke+="".concat($e.bucket,"/")),$e.object&&(ke+=pe($e.object,this.options.headerEncoding)),ke},tt._escape=function($e){return y.encodeURIComponent($e).replace(/%2F/g,"/")},tt._getUserAgent=function(){var $e=re&&re.browser?"js":"nodejs",ke="aliyun-sdk-".concat($e,"/").concat(b.version),Ue=a.description;return!Ue&&re&&(Ue="Node.js ".concat(re.version.slice(1)," on ").concat(re.platform," ").concat(re.arch)),this._checkUserAgent("".concat(ke," ").concat(Ue))},tt._checkUserAgent=function($e){var ke=$e.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return ke},tt.checkBrowserAndVersion=function($e,ke){return ee.name===$e&&ee.version.split(".")[0]===ke},tt.parseXML=function($e){return new Promise(function(ke,Ue){se.isBuffer($e)&&($e=$e.toString()),oe.parseString($e,{explicitRoot:!1,explicitArray:!1},function(qe,Ye){qe?Ue(qe):ke(Ye)})})},tt.requestError=function(){var Xe=(0,ue.default)(le.default.mark(function ke(Ue){var qe,Ye,ft,We;return le.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(qe=null,!(!Ue.data||!Ue.data.length)){Re.next=5;break}Ue.status===-1||Ue.status===-2?(qe=new Error(Ue.message),qe.name=Ue.name,qe.status=Ue.status,qe.code=Ue.name):(Ue.status===404?(qe=new Error("Object not exists"),qe.name="NoSuchKeyError",qe.status=404,qe.code="NoSuchKey"):Ue.status===412?(qe=new Error("Pre condition failed"),qe.name="PreconditionFailedError",qe.status=412,qe.code="PreconditionFailed"):(qe=new Error("Unknow error, status: ".concat(Ue.status)),qe.name="UnknownError",qe.status=Ue.status),qe.requestId=Ue.headers["x-oss-request-id"],qe.host=""),Re.next=32;break;case 5:return Ye=String(Ue.data),this.debug("request response error data: %s",Ye,"error"),Re.prev=7,Re.next=10,this.parseXML(Ye);case 10:if(Re.t0=Re.sent,Re.t0){Re.next=13;break}Re.t0={};case 13:ft=Re.t0,Re.next=23;break;case 16:return Re.prev=16,Re.t1=Re.catch(7),this.debug(Ye,"error"),Re.t1.message+=`
raw xml: `.concat(Ye),Re.t1.status=Ue.status,Re.t1.requestId=Ue.headers["x-oss-request-id"],Re.abrupt("return",Re.t1);case 23:We=ft.Message||"unknow request error, status: ".concat(Ue.status),ft.Condition&&(We+=" (condition: ".concat(ft.Condition,")")),qe=new Error(We),qe.name=ft.Code?"".concat(ft.Code,"Error"):"UnknownError",qe.status=Ue.status,qe.code=ft.Code,qe.requestId=ft.RequestId,qe.hostId=ft.HostId,qe.serverTime=ft.ServerTime;case 32:return this.debug("generate error %j",qe,"error"),Re.abrupt("return",qe);case 34:case"end":return Re.stop()}},ke,this,[[7,16]])}));function $e(ke){return Xe.apply(this,arguments)}return $e}()}).call(this)}).call(this,{isBuffer:E("../../node_modules/is-buffer/index.js")},E("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(E,he,fe){(function(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")),ue=E("util"),ae=E("path"),oe=E("mime"),ne=E("copy-to"),z=E("../common/utils/isBlob"),a=z.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),ee=b.isBuffer,te=fe;te.multipartUpload=function(){var pe=(0,le.default)(ie.default.mark(function ye(Pe,we){var Le,Ee,Te,Ce,Ae,Ie,He,je,tt,Je=arguments;return ie.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(Le=Je.length>2&&Je[2]!==void 0?Je[2]:{},this.resetCancelFlag(),Le.disabledMD5=Le.disabledMD5===void 0?!0:!!Le.disabledMD5,!(Le.checkpoint&&Le.checkpoint.uploadId)){Xe.next=8;break}return we&&x(we)&&(Le.checkpoint.file=we),Xe.next=7,this._resumeMultipart(Le.checkpoint,Le);case 7:return Xe.abrupt("return",Xe.sent);case 8:return Ee=102400,Le.mime||(x(we)?Le.mime=oe.getType(ae.extname(we.name)):a(we)?Le.mime=we.type:ee(we)?Le.mime="":Le.mime=oe.getType(ae.extname(we))),Le.headers=Le.headers||{},this._convertMetaToHeaders(Le.meta,Le.headers),Xe.next=14,this._getFileSize(we);case 14:if(Te=Xe.sent,!(Te<Ee)){Xe.next=26;break}return Le.contentLength=Te,Xe.next=19,this.put(Pe,we,Le);case 19:if(Ce=Xe.sent,!(Le&&Le.progress)){Xe.next=23;break}return Xe.next=23,Le.progress(1);case 23:return Ae={res:Ce.res,bucket:this.options.bucket,name:Pe,etag:Ce.res.headers.etag},(Le.headers&&Le.headers["x-oss-callback"]||Le.callback)&&(Ae.data=Ce.data),Xe.abrupt("return",Ae);case 26:if(!(Le.partSize&&parseInt(Le.partSize,10)!==Le.partSize)){Xe.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Le.partSize&&Le.partSize<Ee)){Xe.next=30;break}throw new Error("partSize must not be smaller than ".concat(Ee));case 30:return Xe.next=32,this.initMultipartUpload(Pe,Le);case 32:if(Ie=Xe.sent,He=Ie.uploadId,je=this._getPartSize(Te,Le.partSize),tt={file:we,name:Pe,fileSize:Te,partSize:je,uploadId:He,doneParts:[]},!(Le&&Le.progress)){Xe.next=39;break}return Xe.next=39,Le.progress(0,tt,Ie.res);case 39:return Xe.next=41,this._resumeMultipart(tt,Le);case 41:return Xe.abrupt("return",Xe.sent);case 42:case"end":return Xe.stop()}},ye,this)}));function Se(ye,Pe){return pe.apply(this,arguments)}return Se}(),te._resumeMultipart=function(){var pe=(0,le.default)(ie.default.mark(function ye(Pe,we){var Le,Ee,Te,Ce,Ae,Ie,He,je,tt,Je,Qe,Xe,$e,ke,Ue,qe,Ye,ft,We;return ie.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(Le=this,!this.isCancel()){Re.next=3;break}throw this._makeCancelEvent();case 3:return Ee=Pe.file,Te=Pe.fileSize,Ce=Pe.partSize,Ae=Pe.uploadId,Ie=Pe.doneParts,He=Pe.name,je=[],Ie.length>0&&ne(Ie).to(je),tt=this._divideParts(Te,Ce),Je=tt.length,Qe=!1,Xe=function(Me,Ge){return new Promise(function(){var Ve=(0,le.default)(ie.default.mark(function Ze(Fe,Oe){var _e,Ne,ze,ot,gt;return ie.default.wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:if(nt.prev=0,Me.isCancel()){nt.next=29;break}return _e=tt[Ge-1],nt.next=5,Me._createBuffer(Ee,_e.start,_e.end);case 5:return Ne=nt.sent,ze={content:Ne,size:_e.end-_e.start},nt.prev=7,nt.next=10,Me._uploadPart(He,Ae,Ge,ze,we);case 10:ot=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 Me._makeAbortEvent();case 17:throw nt.t0;case 18:if(!(!Me.isCancel()&&!Qe)){nt.next=26;break}if(Pe.doneParts.push({number:Ge,etag:ot.res.headers.etag}),!we.progress){nt.next=23;break}return nt.next=23,we.progress(Ie.length/(Je+1),Pe,ot.res);case 23:Fe({number:Ge,etag:ot.res.headers.etag}),nt.next=27;break;case 26:Fe();case 27:nt.next=30;break;case 29:Fe();case 30:nt.next=41;break;case 32:nt.prev=32,nt.t1=nt.catch(0),gt=new Error,gt.name=nt.t1.name,gt.message=nt.t1.message,gt.stack=nt.t1.stack,gt.partNum=Ge,ne(nt.t1).to(gt),Oe(gt);case 41:case"end":return nt.stop()}},Ze,null,[[0,32],[7,13]])}));return function(Ze,Fe){return Ve.apply(this,arguments)}}())},$e=Array.from(new Array(Je),function(et,Me){return Me+1}),ke=je.map(function(et){return et.number}),Ue=$e.filter(function(et){return ke.indexOf(et)<0}),qe=5,Ye=we.parallel||qe,Re.next=17,this._parallel(Ue,Ye,function(et){return new Promise(function(Me,Ge){Xe(Le,et).then(function(Ve){Ve&&je.push(Ve),Me()}).catch(function(Ve){Ge(Ve)})})});case 17:if(ft=Re.sent,Qe=!0,We=ft.find(function(et){return et.name==="abort"}),!We){Re.next=22;break}throw We;case 22:if(!this.isCancel()){Re.next=25;break}throw Xe=null,this._makeCancelEvent();case 25:if(!(ft&&ft.length>0)){Re.next=28;break}throw ft[0].message="Failed to upload some parts with error: ".concat(ft[0].toString()," part_num: ").concat(ft[0].partNum),ft[0];case 28:return Re.next=30,this.completeMultipartUpload(He,Ae,je,we);case 30:return Re.abrupt("return",Re.sent);case 31:case"end":return Re.stop()}},ye,this)}));function Se(ye,Pe){return pe.apply(this,arguments)}return Se}(),te._getFileSize=function(){var pe=(0,le.default)(ie.default.mark(function ye(Pe){return ie.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(!ee(Pe)){Le.next=4;break}return Le.abrupt("return",Pe.length);case 4:if(!(a(Pe)||x(Pe))){Le.next=6;break}return Le.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Le.stop()}},ye)}));function Se(ye){return pe.apply(this,arguments)}return Se}();var ce=E("stream"),de=ce.Readable;function ge(pe,Se){if(!(this instanceof ge))return new ge(pe,Se);de.call(this,Se),this.file=pe,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}ue.inherits(ge,de),ge.prototype.readFileAndPush=function(Se){if(this.fileBuffer)for(var ye=!0;ye&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Pe=this.start,we=Pe+Se;we=we>this.fileBuffer.length?this.fileBuffer.length:we,this.start=we,ye=this.push(this.fileBuffer.slice(Pe,we))}},ge.prototype._read=function(Se){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var ye=16*1024;Se=Se||ye;var Pe=this;this.reader.onload=function(Le){Pe.fileBuffer=se.from(new Uint8Array(Le.target.result)),Pe.file=null,Pe.readFileAndPush(Se)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Se)};function ve(pe){return pe.arrayBuffer?pe.arrayBuffer():new Promise(function(Se,ye){var Pe=new FileReader;Pe.onload=function(we){Se(we.target.result)},Pe.onerror=function(we){ye(we)},Pe.readAsArrayBuffer(pe)})}te._createBuffer=function(){var pe=(0,le.default)(ie.default.mark(function ye(Pe,we,Le){var Ee,Te;return ie.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(!(a(Pe)||x(Pe))){Ae.next=8;break}return Ee=Pe.slice(we,Le),Ae.next=4,ve(Ee);case 4:return Te=Ae.sent,Ae.abrupt("return",se.from(Te));case 8:if(!ee(Pe)){Ae.next=12;break}return Ae.abrupt("return",Pe.subarray(we,Le));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Ae.stop()}},ye)}));function Se(ye,Pe,we){return pe.apply(this,arguments)}return Se}(),te._getPartSize=function(Se,ye){var Pe=1e4,we=1*1024*1024;ye||(ye=we);var Le=Math.ceil(Se/Pe);return ye<Le&&(ye=Le,console.warn("partSize has been set to ".concat(ye,", because the partSize you provided causes partNumber to be greater than 10,000"))),ye},te._divideParts=function(Se,ye){for(var Pe=Math.ceil(Se/ye),we=[],Le=0;Le<Pe;Le++){var Ee=ye*Le,Te=Math.min(Ee+ye,Se);we.push({start:Ee,end:Te})}return we}}).call(this)}).call(this,E("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(E,he,fe){"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"),ue=E("copy-to"),ae=E("path"),oe=E("mime"),ne=E("../common/callback"),z=E("merge-descriptors"),a=E("../common/utils/isBlob"),y=a.isBlob,x=E("../common/utils/isFile"),b=x.isFile,ee=E("../common/utils/isBuffer"),te=ee.isBuffer,ce=E("../common/utils/obj2xml"),de=ce.obj2xml,ge=fe;ge.append=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye,Pe,we){var Le;return re.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return we=we||{},we.position===void 0&&(we.position="0"),we.subres={append:"",position:we.position},we.method="POST",Te.next=6,this.put(ye,Pe,we);case 6:return Le=Te.sent,Le.nextAppendPosition=Le.res.headers["x-oss-next-append-position"],Te.abrupt("return",Le);case 9:case"end":return Te.stop()}},Se,this)}));function pe(Se,ye,Pe){return ve.apply(this,arguments)}return pe}(),ge.put=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye,Pe,we){var Le,Ee,Te,Ce,Ae;return re.default.wrap(function(He){for(;;)switch(He.prev=He.next){case 0:if(we=we||{},we.disabledMD5=we.disabledMD5===void 0?!0:!!we.disabledMD5,we.headers=we.headers||{},ye=this._objectName(ye),!te(Pe)){He.next=8;break}Le=Pe,He.next=19;break;case 8:if(!(y(Pe)||b(Pe))){He.next=18;break}return we.mime||(b(Pe)?we.mime=oe.getType(ae.extname(Pe.name)):we.mime=Pe.type),He.next=12,this._createBuffer(Pe,0,Pe.size);case 12:return Le=He.sent,He.next=15,this._getFileSize(Pe);case 15:we.contentLength=He.sent,He.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(we.meta,we.headers),Ee=we.method||"PUT",Te=this._objectRequestParams(Ee,ye,we),ne.encodeCallback(Te,we),Te.mime=we.mime,Te.disabledMD5=we.disabledMD5,Te.content=Le,Te.successStatuses=[200],He.next=29,this.request(Te);case 29:return Ce=He.sent,Ae={name:ye,url:this._objectUrl(ye),res:Ce.res},Te.headers&&Te.headers["x-oss-callback"]&&(Ae.data=JSON.parse(Ce.data.toString())),He.abrupt("return",Ae);case 33:case"end":return He.stop()}},Se,this)}));function pe(Se,ye,Pe){return ve.apply(this,arguments)}return pe}(),ge.putStream=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye,Pe,we){var Le,Ee,Te,Ce;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),Le=we.method||"PUT",Ee=this._objectRequestParams(Le,ye,we),ne.encodeCallback(Ee,we),Ee.mime=we.mime,Ee.stream=Pe,Ee.successStatuses=[200],Ie.next=13,this.request(Ee);case 13:return Te=Ie.sent,Ce={name:ye,url:this._objectUrl(ye),res:Te.res},Ee.headers&&Ee.headers["x-oss-callback"]&&(Ce.data=JSON.parse(Te.data.toString())),Ie.abrupt("return",Ce);case 17:case"end":return Ie.stop()}},Se,this)}));function pe(Se,ye,Pe){return ve.apply(this,arguments)}return pe}(),z(ge,E("../common/object/copyObject")),z(ge,E("../common/object/getObjectTagging")),z(ge,E("../common/object/putObjectTagging")),z(ge,E("../common/object/deleteObjectTagging")),z(ge,E("../common/image")),z(ge,E("../common/object/getBucketVersions")),z(ge,E("../common/object/getACL")),z(ge,E("../common/object/putACL")),z(ge,E("../common/object/head")),z(ge,E("../common/object/delete")),z(ge,E("../common/object/get")),z(ge,E("../common/object/putSymlink")),z(ge,E("../common/object/getSymlink")),z(ge,E("../common/object/deleteMulti")),z(ge,E("../common/object/getObjectMeta")),z(ge,E("../common/object/getObjectUrl")),z(ge,E("../common/object/generateObjectUrl")),z(ge,E("../common/object/signatureUrl")),z(ge,E("../common/object/asyncSignatureUrl")),ge.putMeta=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye,Pe,we){var Le;return re.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Te.next=2,this.copy(ye,ye,{meta:Pe||{},timeout:we&&we.timeout,ctx:we&&we.ctx});case 2:return Le=Te.sent,Te.abrupt("return",Le);case 4:case"end":return Te.stop()}},Se,this)}));function pe(Se,ye,Pe){return ve.apply(this,arguments)}return pe}(),ge.list=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye,Pe){var we,Le,Ee,Te,Ce;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 Le=Ie.sent,Ee=Le.data.Contents||[],Te=this,Ee&&(Array.isArray(Ee)||(Ee=[Ee]),Ee=Ee.map(function(He){return{name:He.Key,url:Te._objectUrl(He.Key),lastModified:He.LastModified,etag:He.ETag,type:He.Type,size:Number(He.Size),storageClass:He.StorageClass,owner:{id:He.Owner.ID,displayName:He.Owner.DisplayName}}})),Ce=Le.data.CommonPrefixes||null,Ce&&(Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(He){return He.Prefix})),Ie.abrupt("return",{res:Le.res,objects:Ee,prefixes:Ce,nextMarker:Le.data.NextMarker||null,isTruncated:Le.data.IsTruncated==="true"});case 13:case"end":return Ie.stop()}},Se,this)}));function pe(Se,ye){return ve.apply(this,arguments)}return pe}(),ge.listV2=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye){var Pe,we,Le,Ee,Te,Ce,Ae,Ie=arguments;return re.default.wrap(function(je){for(;;)switch(je.prev=je.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)),Le=this._objectRequestParams("GET","",Pe),Le.query=Object.assign({"list-type":2},ye),delete Le.query["continuation-token"],delete Le.query.continuationToken,Le.xmlResponse=!0,Le.successStatuses=[200],je.next=11,this.request(Le);case 11:return Ee=je.sent,Te=Ee.data.Contents||[],Ce=this,Te&&(Array.isArray(Te)||(Te=[Te]),Te=Te.map(function(tt){var Je=null;return tt.Owner&&(Je={id:tt.Owner.ID,displayName:tt.Owner.DisplayName}),{name:tt.Key,url:Ce._objectUrl(tt.Key),lastModified:tt.LastModified,etag:tt.ETag,type:tt.Type,size:Number(tt.Size),storageClass:tt.StorageClass,owner:Je}})),Ae=Ee.data.CommonPrefixes||null,Ae&&(Array.isArray(Ae)||(Ae=[Ae]),Ae=Ae.map(function(tt){return tt.Prefix})),je.abrupt("return",{res:Ee.res,objects:Te,prefixes:Ae,isTruncated:Ee.data.IsTruncated==="true",keyCount:+Ee.data.KeyCount,continuationToken:Ee.data.ContinuationToken||null,nextContinuationToken:Ee.data.NextContinuationToken||null});case 18:case"end":return je.stop()}},Se,this)}));function pe(Se){return ve.apply(this,arguments)}return pe}(),ge.restore=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye){var Pe,we,Le,Ee,Te=arguments;return re.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Pe=Te.length>1&&Te[1]!==void 0?Te[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"&&(Le={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},we.content=de(Le,{headers:!0}),we.mime="xml"),we.successStatuses=[202],Ae.next=9,this.request(we);case 9:return Ee=Ae.sent,Ae.abrupt("return",{res:Ee.res});case 11:case"end":return Ae.stop()}},Se,this)}));function pe(Se){return ve.apply(this,arguments)}return pe}(),ge._objectUrl=function(pe){return this._getReqUrl({bucket:this.options.bucket,object:pe})},ge._objectRequestParams=function(pe,Se,ye){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");ye=ye||{},Se=this._objectName(Se);var Pe={object:Se,bucket:this.options.bucket,method:pe,subres:ye&&ye.subres,timeout:ye&&ye.timeout,ctx:ye&&ye.ctx};return ye.headers&&(Pe.headers={},ue(ye.headers).to(Pe.headers)),Pe},ge._objectName=function(pe){return pe.replace(/^\/+/,"")},ge._convertMetaToHeaders=function(pe,Se){pe&&Object.keys(pe).forEach(function(ye){Se["x-oss-meta-".concat(ye)]=pe[ye]})},ge._deleteFileSafe=function(pe){var Se=this;return new Promise(function(ye){le.exists(pe,function(Pe){Pe?le.unlink(pe,function(we){we&&Se.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,he,fe){"use strict";fe.version="6.18.1"},{}],7:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.abortBucketWorm=void 0;var le=E("../utils/checkBucketName");function ue(oe,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(re.default.mark(function oe(ne,z){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",z),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},oe,this)})),ae.apply(this,arguments)}fe.abortBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.completeBucketWorm=void 0;var le=E("../utils/checkBucketName");function ue(oe,ne,z){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(re.default.mark(function oe(ne,z,a){var y,x;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le.checkBucketName(ne),y=this._bucketRequestParams("POST",ne,{wormId:z},a),ee.next=4,this.request(y);case 4:return x=ee.sent,ee.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return ee.stop()}},oe,this)})),ae.apply(this,arguments)}fe.completeBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,he,fe){"use strict";var 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(fe,"__esModule",{value:!0}),fe.deleteBucketInventory=void 0;var le=E("../utils/checkBucketName");function ue(oe,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(re.default.mark(function oe(ne,z){var a,y,x,b,ee=arguments;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return a=ee.length>2&&ee[2]!==void 0?ee[2]:{},y=Object.assign({inventory:"",inventoryId:z},a.subres),le.checkBucketName(ne),x=this._bucketRequestParams("DELETE",ne,y,a),x.successStatuses=[204],ce.next=7,this.request(x);case 7:return b=ce.sent,ce.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return ce.stop()}},oe,this)})),ae.apply(this,arguments)}fe.deleteBucketInventory=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ue=le.checkBucketName,ae=fe;ae.deleteBucketLifecycle=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y){var x,b;return re.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ue(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},z,this)}));function ne(z,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ue=le.checkBucketName,ae=fe;ae.deleteBucketWebsite=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y){var x,b;return re.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ue(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},z,this)}));function ne(z,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.extendBucketWorm=void 0;var le=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ae(ne,z,a,y){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z,a,y,x){var b,ee,te;return re.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return le.checkBucketName(z),b=this._bucketRequestParams("POST",z,{wormExtend:"",wormId:a},x),ee={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=ue.obj2xml(ee,{headers:!0}),b.successStatuses=[200],de.next=8,this.request(b);case 8:return te=de.sent,de.abrupt("return",{res:te.res,status:te.status});case 10:case"end":return de.stop()}},ne,this)})),oe.apply(this,arguments)}fe.extendBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,he,fe){"use strict";var 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(fe,"__esModule",{value:!0}),fe.getBucketInventory=void 0;var le=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ae(ne,z){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z,a){var y,x,b,ee,te=arguments;return re.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return y=te.length>2&&te[2]!==void 0?te[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),le.checkBucketName(z),b=this._bucketRequestParams("GET",z,x,y),b.successStatuses=[200],b.xmlResponse=!0,de.next=8,this.request(b);case 8:return ee=de.sent,de.abrupt("return",{status:ee.status,res:ee.res,inventory:ue.formatInventoryConfig(ee.data)});case 10:case"end":return de.stop()}},ne,this)})),oe.apply(this,arguments)}fe.getBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,he,fe){"use strict";var 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"),ue=le.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,ne=E("../utils/formatObjKey"),z=ne.formatObjKey,a=fe;a.getBucketLifecycle=function(){var y=(0,ie.default)(re.default.mark(function b(ee,te){var ce,de,ge;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ue(ee),ce=this._bucketRequestParams("GET",ee,"lifecycle",te),ce.successStatuses=[200],ce.xmlResponse=!0,pe.next=6,this.request(ce);case 6:return de=pe.sent,ge=de.data.Rule||null,ge&&(oe(ge)||(ge=[ge]),ge=ge.map(function(Se){return Se.ID&&(Se.id=Se.ID,delete Se.ID),Se.Tag&&!oe(Se.Tag)&&(Se.Tag=[Se.Tag]),z(Se,"firstLowerCase")})),pe.abrupt("return",{rules:ge,res:de.res});case 10:case"end":return pe.stop()}},b,this)}));function x(b,ee){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ue=le.checkBucketName,ae=fe;ae.getBucketVersioning=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y){var x,b,ee;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ue(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],ce.next=6,this.request(x);case 6:return b=ce.sent,ee=b.data.Status,ce.abrupt("return",{status:b.status,versionStatus:ee,res:b.res});case 9:case"end":return ce.stop()}},z,this)}));function ne(z,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ue=le.checkBucketName,ae=E("../utils/isObject"),oe=ae.isObject,ne=fe;ne.getBucketWebsite=function(){var z=(0,ie.default)(re.default.mark(function y(x,b){var ee,te,ce;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ue(x),ee=this._bucketRequestParams("GET",x,"website",b),ee.successStatuses=[200],ee.xmlResponse=!0,ge.next=6,this.request(ee);case 6:return te=ge.sent,ce=[],te.data.RoutingRules&&te.data.RoutingRules.RoutingRule&&(oe(te.data.RoutingRules.RoutingRule)?ce=[te.data.RoutingRules.RoutingRule]:ce=te.data.RoutingRules.RoutingRule),ge.abrupt("return",{index:te.data.IndexDocument&&te.data.IndexDocument.Suffix||"",supportSubDir:te.data.IndexDocument&&te.data.IndexDocument.SupportSubDir||"false",type:te.data.IndexDocument&&te.data.IndexDocument.Type,routingRules:ce,error:te.data.ErrorDocument&&te.data.ErrorDocument.Key||null,res:te.res});case 10:case"end":return ge.stop()}},y,this)}));function a(y,x){return z.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,he,fe){"use strict";var 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(fe,"__esModule",{value:!0}),fe.getBucketWorm=void 0;var le=E("../utils/checkBucketName"),ue=E("../utils/dataFix");function ae(ne,z){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z,a){var y,x;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le.checkBucketName(z),y=this._bucketRequestParams("GET",z,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,ee.next=6,this.request(y);case 6:return x=ee.sent,ue.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),ee.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return ee.stop()}},ne,this)})),oe.apply(this,arguments)}fe.getBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.initiateBucketWorm=void 0;var le=E("../utils/obj2xml"),ue=E("../utils/checkBucketName");function ae(ne,z,a){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z,a,y){var x,b,ee;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ue.checkBucketName(z),x=this._bucketRequestParams("POST",z,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=le.obj2xml(b,{headers:!0}),x.successStatuses=[200],ce.next=8,this.request(x);case 8:return ee=ce.sent,ce.abrupt("return",{res:ee.res,wormId:ee.res.headers["x-oss-worm-id"],status:ee.status});case 10:case"end":return ce.stop()}},ne,this)})),oe.apply(this,arguments)}fe.initiateBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,he,fe){"use strict";var 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(fe,"__esModule",{value:!0}),fe.listBucketInventory=void 0;var le=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ae(ne){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z){var a,y,x,b,ee,te,ce,de,ge=arguments;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return a=ge.length>1&&ge[1]!==void 0?ge[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),le.checkBucketName(z),b=this._bucketRequestParams("GET",z,x,a),b.successStatuses=[200],b.xmlResponse=!0,pe.next=9,this.request(b);case 9:return ee=pe.sent,te=ee.data,ce=ee.res,de=ee.status,pe.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:ue.formatInventoryConfig(te.InventoryConfiguration,!0),status:de,res:ce});case 12:case"end":return pe.stop()}},ne,this)})),oe.apply(this,arguments)}fe.listBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,he,fe){"use strict";var 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(fe,"__esModule",{value:!0}),fe.putBucketInventory=void 0;var le=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ae(ne,z){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(re.default.mark(function ne(z,a){var y,x,b,ee,te,ce,de,ge,ve,pe,Se,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(z),b=a.OSSBucketDestination,ee=a.optionalFields,te=a.includedObjectVersions,ce="acs:oss:::",de="acs:ram::".concat(b.accountId,":role/"),ge={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(de).concat(b.rolename),Bucket:"".concat(ce).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:te,OptionalFields:{Field:(ee==null?void 0:ee.field)||[]}}},ve=ue.obj2xml(ge,{headers:!0,firstUpperCase:!0}),pe=this._bucketRequestParams("PUT",z,x,y),pe.successStatuses=[200],pe.mime="xml",pe.content=ve,we.next=14,this.request(pe);case 14:return Se=we.sent,we.abrupt("return",{status:Se.status,res:Se.res});case 16:case"end":return we.stop()}},ne,this)})),oe.apply(this,arguments)}fe.putBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,he,fe){"use strict";var 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"),ue=le.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,ne=E("../utils/deepCopy"),z=ne.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,ee=E("../utils/checkObjectTag"),te=ee.checkObjectTag,ce=E("../utils/getStrBytesCount"),de=ce.getStrBytesCount,ge=fe;ge.putBucketLifecycle=function(){var Pe=(0,ie.default)(re.default.mark(function Le(Ee,Te,Ce){var Ae,Ie,He,je,tt;return re.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(ue(Ee),oe(Te)){Qe.next=3;break}throw new Error("rules must be Array");case 3:return Ae=this._bucketRequestParams("PUT",Ee,"lifecycle",Ce),Ie=[],He={LifecycleConfiguration:{Rule:Ie}},Te.forEach(function(Xe){ve(Xe),ye(Xe),Xe.id&&(Xe.ID=Xe.id,delete Xe.id),Ie.push(Xe)}),je=b(He,{headers:!0,firstUpperCase:!0}),Ae.content=je,Ae.mime="xml",Ae.successStatuses=[200],Qe.next=13,this.request(Ae);case 13:return tt=Qe.sent,Qe.abrupt("return",{res:tt.res});case 15:case"end":return Qe.stop()}},Le,this)}));function we(Le,Ee,Te){return Pe.apply(this,arguments)}return we}();function ve(Pe){Pe.days&&(Pe.expiration={days:Pe.days}),Pe.date&&(Pe.expiration={createdBeforeDate:Pe.date})}function pe(Pe,we){var Le=Pe.days,Ee=Pe.createdBeforeDate;if(!Le&&!Ee)throw new Error("".concat(we," must includes days or createdBeforeDate"));if(Le&&!/^[1-9][0-9]*$/.test(Le))throw new Error("days must be a positive integer");if(Ee&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ee))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Se(Pe){if(!oe(Pe)&&!y(Pe))throw new Error("tag must be Object or Array");Pe=y(Pe)?[Pe]:Pe;var we={},Le=z(Pe);Le.forEach(function(Ee){we[Ee.key]=Ee.value}),te(we)}function ye(Pe){if(Pe.id&&de(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");Se(Pe.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,he,fe){"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"),ue=le.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,ne=fe;ne.putBucketVersioning=function(){var z=(0,ie.default)(re.default.mark(function y(x,b){var ee,te,ce,de,ge=arguments;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},ue(x),["Enabled","Suspended"].includes(b)){pe.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return te=this._bucketRequestParams("PUT",x,"versioning",ee),ce={VersioningConfiguration:{Status:b}},te.mime="xml",te.content=oe(ce,{headers:!0}),pe.next=10,this.request(te);case 10:return de=pe.sent,pe.abrupt("return",{res:de.res,status:de.status});case 12:case"end":return pe.stop()}},y,this)}));function a(y,x){return z.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ue=le.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,ne=E("../utils/isArray"),z=ne.isArray,a=fe;a.putBucketWebsite=function(){var y=(0,ie.default)(re.default.mark(function b(ee){var te,ce,de,ge,ve,pe,Se,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(te=ye.length>1&&ye[1]!==void 0?ye[1]:{},ce=ye.length>2?ye[2]:void 0,ue(ee),de=this._bucketRequestParams("PUT",ee,"website",ce),ge={Suffix:te.index||"index.html"},ve={IndexDocument:ge},pe={WebsiteConfiguration:ve},te.supportSubDir&&(ge.SupportSubDir=te.supportSubDir),te.type&&(ge.Type=te.type),te.error&&(ve.ErrorDocument={Key:te.error}),te.routingRules===void 0){we.next=14;break}if(z(te.routingRules)){we.next=13;break}throw new Error("RoutingRules must be Array");case 13:ve.RoutingRules={RoutingRule:te.routingRules};case 14:return pe=oe(pe),de.content=pe,de.mime="xml",de.successStatuses=[200],we.next=20,this.request(de);case 20:return Se=we.sent,we.abrupt("return",{res:Se.res});case 22:case"end":return we.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,he,fe){(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"),fe.encodeCallback=function(ie,le){if(ie.headers=ie.headers||{},!Object.prototype.hasOwnProperty.call(ie.headers,"x-oss-callback")&&le.callback){var ue={callbackUrl:encodeURI(le.callback.url),callbackBody:le.callback.body};le.callback.host&&(ue.callbackHost=le.callback.host),le.callback.contentType&&(ue.callbackBodyType=le.callback.contentType);var ae=se.from(JSON.stringify(ue)).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,he,fe){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var se=function(z){return z&&z.__esModule?z:{default:z}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.getReqUrl=void 0;var re=se(E("copy-to")),ie=se(E("url")),le=se(E("merge-descriptors")),ue=se(E("is-type-of")),ae=E("../utils/isIP"),oe=E("../utils/checkConfigValid");function ne(z){var a={},y=this.options.cname;oe.checkConfigValid(this.options.endpoint,"endpoint"),re.default(this.options.endpoint,!1).to(a),z.bucket&&!y&&!ae.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(z.bucket,".").concat(a.host));var x="/";z.bucket&&this.options.sldEnable&&(x+="".concat(z.bucket,"/")),z.object&&(x+=this._escape(z.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(z.query&&le.default(b,z.query),z.subres){var ee={};ue.default.string(z.subres)?ee[z.subres]="":ue.default.array(z.subres)?z.subres.forEach(function(te){ee[te]=""}):ee=z.subres,le.default(b,ee)}return a.query=b,ie.default.format(a)}fe.getReqUrl=ne},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,he,fe){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var se=E("humanize-ms"),re=E("url"),ie=E("../utils/checkBucketName"),le=ie.checkBucketName,ue=E("../utils/setRegion"),ae=ue.setRegion,oe=E("../utils/checkConfigValid"),ne=oe.checkConfigValid;function z(a,y){ne(a,"endpoint");var x=re.parse(a);if(x.protocol||(x=re.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}he.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&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=z(y.endpoint,y.secure);else if(y.region)y.endpoint=ae(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(E,he,fe){"use strict";var se=E("merge-descriptors"),re=fe;se(re,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,he,fe){"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"),ue=le.checkBucketName,ae=E("querystring"),oe=E("js-base64"),ne=oe.Base64.encode,z=fe;z.processObjectSave=function(){var y=(0,ie.default)(re.default.mark(function b(ee,te,ce,de){var ge,ve,pe,Se;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return a(ee,"sourceObject"),a(te,"targetObject"),a(ce,"process"),te=this._objectName(te),de&&ue(de),ge=this._objectRequestParams("POST",ee,{subres:"x-oss-process"}),ve=de?",b_".concat(ne(de)):"",te=ne(te),pe={"x-oss-process":"".concat(ce,"|sys/saveas,o_").concat(te).concat(ve)},ge.content=ae.stringify(pe),Pe.next=12,this.request(ge);case 12:return Se=Pe.sent,Pe.abrupt("return",{res:Se.res,status:Se.res.status});case 14:case"end":return Pe.stop()}},b,this)}));function x(b,ee,te,ce){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,he,fe){"use strict";var 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"),ue=E("copy-to"),ae=fe;ae.uploadPartCopy=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y,x,b,ee){var te,ce,de,ge,ve,pe=arguments;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return te=pe.length>5&&pe[5]!==void 0?pe[5]:{},te.headers=te.headers||{},ce=te.versionId||te.subres&&te.subres.versionId||null,ce?de="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey),"?versionId=").concat(ce):de="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey)),te.headers["x-oss-copy-source"]=de,b&&(te.headers["x-oss-copy-source-range"]="bytes=".concat(b)),te.subres={partNumber:x,uploadId:y},ge=this._objectRequestParams("PUT",a,te),ge.mime=te.mime,ge.successStatuses=[200],ye.next=12,this.request(ge);case 12:return ve=ye.sent,ye.abrupt("return",{name:a,etag:ve.res.headers.etag,res:ve.res});case 14:case"end":return ye.stop()}},z,this)}));function ne(z,a,y,x,b){return oe.apply(this,arguments)}return ne}(),ae.multipartUploadCopy=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y){var x,b,ee,te,ce,de,ge,ve,pe,Se,ye,Pe,we=arguments;return re.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return x=we.length>2&&we[2]!==void 0?we[2]:{},this.resetCancelFlag(),b=x.versionId,ee=b===void 0?null:b,te={versionId:ee},Ee.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,te);case 6:if(ce=Ee.sent,de=ce.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||de,!(x.checkpoint&&x.checkpoint.uploadId)){Ee.next=14;break}return Ee.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return Ee.abrupt("return",Ee.sent);case 14:if(ge=102400,ve=y.endOffset-y.startOffset,!(ve<ge)){Ee.next=18;break}throw new Error("copySize must not be smaller than ".concat(ge));case 18:if(!(x.partSize&&x.partSize<ge)){Ee.next=20;break}throw new Error("partSize must not be smaller than ".concat(ge));case 20:return Ee.next=22,this.initMultipartUpload(a,x);case 22:if(pe=Ee.sent,Se=pe.uploadId,ye=this._getPartSize(ve,x.partSize),Pe={name:a,copySize:ve,partSize:ye,uploadId:Se,doneParts:[]},!(x&&x.progress)){Ee.next=29;break}return Ee.next=29,x.progress(0,Pe,pe.res);case 29:return Ee.next=31,this._resumeMultipartCopy(Pe,y,x);case 31:return Ee.abrupt("return",Ee.sent);case 32:case"end":return Ee.stop()}},z,this)}));function ne(z,a){return oe.apply(this,arguments)}return ne}(),ae._resumeMultipartCopy=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y,x){var b,ee,te,ce,de,ge,ve,pe,Se,ye,Pe,we,Le,Ee,Te,Ce,Ae,Ie,He,je,tt;return re.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(!this.isCancel()){Qe.next=2;break}throw this._makeCancelEvent();case 2:if(b=x.versionId,ee=b===void 0?null:b,te={versionId:ee},ce=a.copySize,de=a.partSize,ge=a.uploadId,ve=a.doneParts,pe=a.name,Se=this._divideMultipartCopyParts(ce,de,y.startOffset),ye=Se.length,Pe={headers:{}},x.copyheaders&&ue(x.copyheaders).to(Pe.headers),ee&&ue(te).to(Pe),we=function($e,ke,Ue){return new Promise(function(){var qe=(0,ie.default)(re.default.mark(function Ye(ft,We){var Ke,Re,et;return re.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(Ge.prev=0,$e.isCancel()){Ge.next=22;break}return Ke=Se[ke-1],Re="".concat(Ke.start,"-").concat(Ke.end-1),Ge.prev=4,Ge.next=7,$e.uploadPartCopy(pe,ge,ke,Re,Ue,Pe);case 7:et=Ge.sent,Ge.next=15;break;case 10:if(Ge.prev=10,Ge.t0=Ge.catch(4),Ge.t0.status!==404){Ge.next=14;break}throw $e._makeAbortEvent();case 14:throw Ge.t0;case 15:if($e.isCancel()){Ge.next=22;break}if(le("content-range ".concat(et.res.headers["content-range"])),ve.push({number:ke,etag:et.res.headers.etag}),a.doneParts=ve,!(x&&x.progress)){Ge.next=22;break}return Ge.next=22,x.progress(ve.length/ye,a,et.res);case 22:ft(),Ge.next=29;break;case 25:Ge.prev=25,Ge.t1=Ge.catch(0),Ge.t1.partNum=ke,We(Ge.t1);case 29:case"end":return Ge.stop()}},Ye,null,[[0,25],[4,10]])}));return function(Ye,ft){return qe.apply(this,arguments)}}())},Le=Array.from(new Array(ye),function(Xe,$e){return $e+1}),Ee=ve.map(function(Xe){return Xe.number}),Te=Le.filter(function(Xe){return Ee.indexOf(Xe)<0}),Ce=5,Ae=x.parallel||Ce,!(this.checkBrowserAndVersion("Internet Explorer","10")||Ae===1)){Qe.next=28;break}Ie=0;case 18:if(!(Ie<Te.length)){Qe.next=26;break}if(!this.isCancel()){Qe.next=21;break}throw this._makeCancelEvent();case 21:return Qe.next=23,we(this,Te[Ie],y);case 23:Ie++,Qe.next=18;break;case 26:Qe.next=40;break;case 28:return Qe.next=30,this._parallelNode(Te,Ae,we,y);case 30:if(He=Qe.sent,je=He.find(function(Xe){return Xe.name==="abort"}),!je){Qe.next=34;break}throw je;case 34:if(!this.isCancel()){Qe.next=36;break}throw this._makeCancelEvent();case 36:if(!(He&&He.length>0)){Qe.next=40;break}throw tt=He[0],tt.message="Failed to copy some parts with error: ".concat(tt.toString()," part_num: ").concat(tt.partNum),tt;case 40:return Qe.next=42,this.completeMultipartUpload(pe,ge,ve,x);case 42:return Qe.abrupt("return",Qe.sent);case 43:case"end":return Qe.stop()}},z,this)}));function ne(z,a,y){return oe.apply(this,arguments)}return ne}(),ae._divideMultipartCopyParts=function(ne,z,a){for(var y=Math.ceil(ne/z),x=[],b=0;b<y;b++){var ee=z*b+a,te=Math.min(ee+z,ne+a);x.push({start:ee,end:te})}return x},ae._getObjectMeta=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y,x){var b,ee;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return b=this.getBucket(),this.setBucket(a),ce.next=4,this.head(y,x);case 4:return ee=ce.sent,this.setBucket(b),ce.abrupt("return",ee);case 7:case"end":return ce.stop()}},z,this)}));function ne(z,a,y){return oe.apply(this,arguments)}return ne}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,debug:465}],30:[function(E,he,fe){(function(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")),ue=E("copy-to"),ae=E("./callback"),oe=E("./utils/deepCopy"),ne=oe.deepCopyWith,z=E("./utils/isBuffer"),a=z.isBuffer,y=E("./utils/omit"),x=y.omit,b=fe;b.listUploads=function(){var ee=(0,le.default)(ie.default.mark(function ce(de,ge){var ve,pe,Se,ye;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return ge=ge||{},ve={},ue(ge).to(ve),ve.subres="uploads",pe=this._objectRequestParams("GET","",ve),pe.query=de,pe.xmlResponse=!0,pe.successStatuses=[200],we.next=10,this.request(pe);case 10:return Se=we.sent,ye=Se.data.Upload||[],Array.isArray(ye)||(ye=[ye]),ye=ye.map(function(Le){return{name:Le.Key,uploadId:Le.UploadId,initiated:Le.Initiated}}),we.abrupt("return",{res:Se.res,uploads:ye,bucket:Se.data.Bucket,nextKeyMarker:Se.data.NextKeyMarker,nextUploadIdMarker:Se.data.NextUploadIdMarker,isTruncated:Se.data.IsTruncated==="true"});case 15:case"end":return we.stop()}},ce,this)}));function te(ce,de){return ee.apply(this,arguments)}return te}(),b.listParts=function(){var ee=(0,le.default)(ie.default.mark(function ce(de,ge,ve,pe){var Se,ye,Pe;return ie.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return pe=pe||{},Se={},ue(pe).to(Se),Se.subres={uploadId:ge},ye=this._objectRequestParams("GET",de,Se),ye.query=ve,ye.xmlResponse=!0,ye.successStatuses=[200],Le.next=10,this.request(ye);case 10:return Pe=Le.sent,Le.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 Le.stop()}},ce,this)}));function te(ce,de,ge,ve){return ee.apply(this,arguments)}return te}(),b.abortMultipartUpload=function(){var ee=(0,le.default)(ie.default.mark(function ce(de,ge,ve){var pe,Se,ye;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return this._stop(),ve=ve||{},pe={},ue(ve).to(pe),pe.subres={uploadId:ge},Se=this._objectRequestParams("DELETE",de,pe),Se.successStatuses=[204],we.next=9,this.request(Se);case 9:return ye=we.sent,we.abrupt("return",{res:ye.res});case 11:case"end":return we.stop()}},ce,this)}));function te(ce,de,ge){return ee.apply(this,arguments)}return te}(),b.initMultipartUpload=function(){var ee=(0,le.default)(ie.default.mark(function ce(de,ge){var ve,pe,Se;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return ge=ge||{},ve={},ue(ge).to(ve),ve.headers=ve.headers||{},this._convertMetaToHeaders(ge.meta,ve.headers),ve.subres="uploads",pe=this._objectRequestParams("POST",de,ve),pe.mime=ge.mime,pe.xmlResponse=!0,pe.successStatuses=[200],Pe.next=12,this.request(pe);case 12:return Se=Pe.sent,Pe.abrupt("return",{res:Se.res,bucket:Se.data.Bucket,name:Se.data.Key,uploadId:Se.data.UploadId});case 14:case"end":return Pe.stop()}},ce,this)}));function te(ce,de){return ee.apply(this,arguments)}return te}(),b.uploadPart=function(){var ee=(0,le.default)(ie.default.mark(function ce(de,ge,ve,pe,Se,ye,Pe){var we,Le;return ie.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(we={size:ye-Se},Le=se&&se.browser,!Le){Te.next=8;break}return Te.next=5,this._createBuffer(pe,Se,ye);case 5:we.content=Te.sent,Te.next=11;break;case 8:return Te.next=10,this._createStream(pe,Se,ye);case 10:we.stream=Te.sent;case 11:return Te.next=13,this._uploadPart(de,ge,ve,we,Pe);case 13:return Te.abrupt("return",Te.sent);case 14:case"end":return Te.stop()}},ce,this)}));function te(ce,de,ge,ve,pe,Se,ye){return ee.apply(this,arguments)}return te}(),b.completeMultipartUpload=function(){var ee=(0,le.default)(ie.default.mark(function ce(de,ge,ve,pe){var Se,ye,Pe,we,Le,Ee,Te,Ce;return ie.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:for(Se=ve.concat().sort(function(He,je){return He.number-je.number}).filter(function(He,je,tt){return!je||He.number!==tt[je-1].number}),ye=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,Pe=0;Pe<Se.length;Pe++)we=Se[Pe],ye+=`<Part>
`,ye+="<PartNumber>".concat(we.number,`</PartNumber>
`),ye+="<ETag>".concat(we.etag,`</ETag>
`),ye+=`</Part>
`;return ye+="</CompleteMultipartUpload>",pe=pe||{},Le={},Le=ne(pe,function(He){if(a(He))return null}),Le.subres={uploadId:ge},Le.headers=x(Le.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ee=this._objectRequestParams("POST",de,Le),ae.encodeCallback(Ee,Le),Ee.mime="xml",Ee.content=ye,Ee.headers&&Ee.headers["x-oss-callback"]||(Ee.xmlResponse=!0),Ee.successStatuses=[200],Ie.next=17,this.request(Ee);case 17:if(Te=Ie.sent,!pe.progress){Ie.next=21;break}return Ie.next=21,pe.progress(1,null,Te.res);case 21:return Ce={res:Te.res,bucket:Ee.bucket,name:de,etag:Te.res.headers.etag},Ee.headers&&Ee.headers["x-oss-callback"]&&(Ce.data=JSON.parse(Te.data.toString())),Ie.abrupt("return",Ce);case 24:case"end":return Ie.stop()}},ce,this)}));function te(ce,de,ge,ve){return ee.apply(this,arguments)}return te}(),b._uploadPart=function(){var ee=(0,le.default)(ie.default.mark(function ce(de,ge,ve,pe,Se){var ye,Pe,we,Le;return ie.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Se=Se||{},ye={},ue(Se).to(ye),ye.headers=ye.headers||{},ye.headers["Content-Length"]=pe.size,ye.headers=x(ye.headers,["x-oss-server-side-encryption"]),ye.subres={partNumber:ve,uploadId:ge},Pe=this._objectRequestParams("PUT",de,ye),Pe.mime=ye.mime,we=se&&se.browser,we?Pe.content=pe.content:Pe.stream=pe.stream,Pe.successStatuses=[200],Pe.disabledMD5=Se.disabledMD5,Te.next=15,this.request(Pe);case 15:if(Le=Te.sent,Le.res.headers.etag){Te.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),Te.abrupt("return",{name:de,etag:Le.res.headers.etag,res:Le.res});case 20:case"end":return Te.stop()}},ce,this)}));function te(ce,de,ge,ve,pe){return ee.apply(this,arguments)}return te}()}).call(this)}).call(this,E("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),le=E("url"),ue=E("utility"),ae=E("copy-to"),oe=E("../../common/signUtils"),ne=E("../utils/isIP"),z=ne.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,ee=fe;ee.asyncSignatureUrl=function(){var te=(0,ie.default)(re.default.mark(function de(ge,ve){var pe,Se,ye,Pe,we;return re.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(!z(this.options.endpoint.hostname)){Ee.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ve=ve||{},ge=this._objectName(ge),ve.method=ve.method||"GET",pe=ue.timestamp()+(ve.expires||1800),Se={bucket:this.options.bucket,object:ge},ye=this._getResource(Se),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Ee.next=11;break}return Ee.next=11,y.call(this);case 11:return this.options.stsToken&&(ve["security-token"]=this.options.stsToken),Pe=oe._signatureForURL(this.options.accessKeySecret,ve,ye,pe),we=le.parse(this._getReqUrl(Se)),we.query={OSSAccessKeyId:this.options.accessKeyId,Expires:pe,Signature:Pe.Signature},ae(Pe.subResource).to(we.query),Ee.abrupt("return",we.format());case 17:case"end":return Ee.stop()}},de,this)}));function ce(de,ge){return te.apply(this,arguments)}return ce}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,he,fe){"use strict";var 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")),ue=E("../utils/checkBucketName"),ae=ue.checkBucketName,oe=fe,ne=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];oe.copy=function(){var z=(0,le.default)(re.default.mark(function y(x,b,ee,te){var ce,de,ge;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return(0,ie.default)(ee)==="object"&&(te=ee),te=te||{},te.headers=te.headers||{},Object.keys(te.headers).forEach(function(Se){te.headers["x-oss-copy-source-".concat(Se.toLowerCase())]=te.headers[Se]}),(te.meta||Object.keys(te.headers).find(function(Se){return ne.includes(Se.toLowerCase())}))&&(te.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(te.meta,te.headers),b=this._getSourceName(b,ee),te.versionId&&(b="".concat(b,"?versionId=").concat(te.versionId)),te.headers["x-oss-copy-source"]=b,ce=this._objectRequestParams("PUT",x,te),ce.xmlResponse=!0,ce.successStatuses=[200,304],pe.next=14,this.request(ce);case 14:return de=pe.sent,ge=de.data,ge&&(ge={etag:ge.ETag,lastModified:ge.LastModified}),pe.abrupt("return",{data:ge,res:de.res});case 18:case"end":return pe.stop()}},y,this)}));function a(y,x,b,ee){return z.apply(this,arguments)}return a}(),oe._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),ae(y),a=encodeURIComponent(a),a="/".concat(y,"/").concat(a),a}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(E,he,fe){"use strict";var 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=fe;le.delete=function(){var ue=(0,ie.default)(re.default.mark(function oe(ne){var z,a,y,x=arguments;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({},z.subres),z.versionId&&(z.subres.versionId=z.versionId),a=this._objectRequestParams("DELETE",ne,z),a.successStatuses=[204],ee.next=7,this.request(a);case 7:return y=ee.sent,ee.abrupt("return",{res:y.res});case 9:case"end":return ee.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,he,fe){"use strict";var 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"),ue=E("../utils/obj2xml"),ae=ue.obj2xml,oe=fe;oe.deleteMulti=function(){var ne=(0,ie.default)(re.default.mark(function a(y){var x,b,ee,te,ce,de,ge,ve,pe,Se,ye,Pe,we,Le=arguments;return re.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(x=Le.length>1&&Le[1]!==void 0?Le[1]:{},b=[],!(!y||!y.length)){Te.next=4;break}throw new Error("names is required");case 4:for(ee=0;ee<y.length;ee++)te={},typeof y[ee]=="string"?te.Key=le.escape(this._objectName(y[ee])):(ce=y[ee],de=ce.key,ge=ce.versionId,te.Key=le.escape(this._objectName(de)),te.VersionId=ge),b.push(te);return ve={Delete:{Quiet:!!x.quiet,Object:b}},pe=ae(ve,{headers:!0}),x.subres=Object.assign({delete:""},x.subres),x.versionId&&(x.subres.versionId=x.versionId),Se=this._objectRequestParams("POST","",x),Se.mime="xml",Se.content=pe,Se.xmlResponse=!0,Se.successStatuses=[200],Te.next=16,this.request(Se);case 16:return ye=Te.sent,Pe=ye.data,we=Pe&&Pe.Deleted||null,we&&(Array.isArray(we)||(we=[we])),Te.abrupt("return",{res:ye.res,deleted:we||[]});case 21:case"end":return Te.stop()}},a,this)}));function z(a){return ne.apply(this,arguments)}return z}()},{"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,utility:474}],35:[function(E,he,fe){"use strict";var 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=fe;le.deleteObjectTagging=function(){var ue=(0,ie.default)(re.default.mark(function oe(ne){var z,a,y,x=arguments;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ne=this._objectName(ne),a=this._objectRequestParams("DELETE",ne,z),a.successStatuses=[204],ee.next=8,this.request(a);case 8:return y=ee.sent,ee.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return ee.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,he,fe){"use strict";E("core-js/modules/es.array.concat.js");var se=E("url"),re=E("../utils/isIP"),ie=re.isIP,le=fe;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),z=this.options.bucket;ne.hostname="".concat(z,".").concat(ne.hostname),ne.host="".concat(z,".").concat(ne.host),oe=ne.format()}return oe+this._escape(this._objectName(ae))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,he,fe){(function(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")),ue=E("fs"),ae=E("is-type-of"),oe=fe;oe.get=function(){var ne=(0,le.default)(ie.default.mark(function a(y,x){var b,ee,te,ce,de,ge,ve,pe,Se=arguments;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return b=Se.length>2&&Se[2]!==void 0?Se[2]:{},ee=null,te=!1,ae.writableStream(x)?ee=x:ae.string(x)?(ee=ue.createWriteStream(x),te=!0):b=x,b=b||{},ce=se&&se.browser,de=b.responseCacheControl===null?"":"no-cache",ge=ce&&de?{"response-cache-control":de}:{},b.subres=Object.assign(ge,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=ee,pe.successStatuses=[200,206,304],Pe.next=17,this.request(pe);case 17:ve=Pe.sent,te&&ee.destroy(),Pe.next=28;break;case 21:if(Pe.prev=21,Pe.t0=Pe.catch(11),!te){Pe.next=27;break}return ee.destroy(),Pe.next=27,this._deleteFileSafe(x);case 27:throw Pe.t0;case 28:return Pe.abrupt("return",{res:ve.res,content:ve.data});case 29:case"end":return Pe.stop()}},a,this,[[11,21]])}));function z(a,y){return ne.apply(this,arguments)}return z}()}).call(this)}).call(this,E("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(E,he,fe){"use strict";var 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=fe;le.getACL=function(){var ue=(0,ie.default)(re.default.mark(function oe(ne){var z,a,y,x=arguments;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({acl:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,z),a.successStatuses=[200],a.xmlResponse=!0,ee.next=9,this.request(a);case 9:return y=ee.sent,ee.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 ee.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,he,fe){"use strict";var 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=fe,ue=E("../utils/isObject"),ae=ue.isObject,oe=E("../utils/isArray"),ne=oe.isArray;le.getBucketVersions=z,le.listObjectVersions=z;function z(){return a.apply(this,arguments)}function a(){return a=(0,ie.default)(re.default.mark(function b(){var ee,te,ce,de,ge,ve,pe,Se,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(ee=ye.length>0&&ye[0]!==void 0?ye[0]:{},te=ye.length>1&&ye[1]!==void 0?ye[1]:{},!(ee.versionIdMarker&&ee.keyMarker===void 0)){we.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return te.subres=Object.assign({versions:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),ce=this._objectRequestParams("GET","",te),ce.xmlResponse=!0,ce.successStatuses=[200],ce.query=x(ee),we.next=12,this.request(ce);case 12:return de=we.sent,ge=de.data.Version||[],ve=de.data.DeleteMarker||[],pe=this,ge&&(Array.isArray(ge)||(ge=[ge]),ge=ge.map(function(Le){return{name:Le.Key,url:pe._objectUrl(Le.Key),lastModified:Le.LastModified,isLatest:Le.IsLatest==="true",versionId:Le.VersionId,etag:Le.ETag,type:Le.Type,size:Number(Le.Size),storageClass:Le.StorageClass,owner:{id:Le.Owner.ID,displayName:Le.Owner.DisplayName}}})),ve&&(ne(ve)||(ve=[ve]),ve=ve.map(function(Le){return{name:Le.Key,lastModified:Le.LastModified,versionId:Le.VersionId,owner:{id:Le.Owner.ID,displayName:Le.Owner.DisplayName}}})),Se=de.data.CommonPrefixes||null,Se&&(ne(Se)||(Se=[Se]),Se=Se.map(function(Le){return Le.Prefix})),we.abrupt("return",{res:de.res,objects:ge,deleteMarker:ve,prefixes:Se,nextMarker:de.data.NextKeyMarker||null,NextVersionIdMarker:de.data.NextVersionIdMarker||null,nextKeyMarker:de.data.NextKeyMarker||null,nextVersionIdMarker:de.data.NextVersionIdMarker||null,isTruncated:de.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]:{},ee={};return ae(b)&&Object.keys(b).forEach(function(te){ee[y(te)]=b[te]}),ee}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,he,fe){"use strict";var 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=fe;le.getObjectMeta=function(){var ue=(0,ie.default)(re.default.mark(function oe(ne,z){var a,y;return re.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return z=z||{},ne=this._objectName(ne),z.subres=Object.assign({objectMeta:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),a=this._objectRequestParams("HEAD",ne,z),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},oe,this)}));function ae(oe,ne){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,he,fe){"use strict";var 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=fe,ue=E("../utils/isObject"),ae=ue.isObject;le.getObjectTagging=function(){var oe=(0,ie.default)(re.default.mark(function z(a){var y,x,b,ee,te,ce,de=arguments;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return y=de.length>1&&de[1]!==void 0?de[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],ve.next=8,this.request(x);case 8:return b=ve.sent,ve.next=11,this.parseXML(b.data);case 11:return ee=ve.sent,te=ee.TagSet.Tag,te=te&&ae(te)?[te]:te||[],ce={},te.forEach(function(pe){ce[pe.Key]=pe.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:ce});case 17:case"end":return ve.stop()}},z,this)}));function ne(z){return oe.apply(this,arguments)}return ne}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,he,fe){"use strict";var se=E("../utils/isIP"),re=se.isIP,ie=fe;ie.getObjectUrl=function(ue,ae){if(re(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ae?ae[ae.length-1]!=="/"&&(ae+="/"):ae=this.options.endpoint.format(),ae+this._escape(this._objectName(ue))}},{"../utils/isIP":69}],43:[function(E,he,fe){"use strict";var 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=fe;le.getSymlink=function(){var ue=(0,ie.default)(re.default.mark(function oe(ne){var z,a,y,x,b=arguments;return re.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return z=b.length>1&&b[1]!==void 0?b[1]:{},z.subres=Object.assign({symlink:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,z),a.successStatuses=[200],te.next=8,this.request(a);case 8:return y=te.sent,x=y.res.headers["x-oss-symlink-target"],te.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return te.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,he,fe){"use strict";var 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"),ue=le.checkEnv,ae=fe;ae.head=function(){var oe=(0,ie.default)(re.default.mark(function z(a){var y,x,b,ee,te=arguments;return re.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return y=te.length>1&&te[1]!==void 0?te[1]:{},ue("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],de.next=8,this.request(x);case 8:return b=de.sent,ee={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(ge){ge.indexOf("x-oss-meta-")===0&&(ee.meta||(ee.meta={}),ee.meta[ge.substring(11)]=b.headers[ge])}),de.abrupt("return",ee);case 12:case"end":return de.stop()}},z,this)}));function ne(z){return oe.apply(this,arguments)}return ne}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,he,fe){"use strict";var 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=fe;le.putACL=function(){var ue=(0,ie.default)(re.default.mark(function oe(ne,z,a){var y,x;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.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"]=z,ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,a),y.successStatuses=[200],ee.next=10,this.request(y);case 10:return x=ee.sent,ee.abrupt("return",{res:x.res});case 12:case"end":return ee.stop()}},oe,this)}));function ae(oe,ne,z){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,he,fe){"use strict";var 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"),ue=le.obj2xml,ae=E("../utils/checkObjectTag"),oe=ae.checkObjectTag,ne=fe;ne.putObjectTagging=function(){var z=(0,ie.default)(re.default.mark(function y(x,b){var ee,te,ce,de,ge=arguments;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},oe(b),ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),x=this._objectName(x),te=this._objectRequestParams("PUT",x,ee),te.successStatuses=[200],b=Object.keys(b).map(function(Se){return{Key:Se,Value:b[Se]}}),ce={Tagging:{TagSet:{Tag:b}}},te.mime="xml",te.content=ue(ce),pe.next=13,this.request(te);case 13:return de=pe.sent,pe.abrupt("return",{res:de.res,status:de.status});case 15:case"end":return pe.stop()}},y,this)}));function a(y,x){return z.apply(this,arguments)}return a}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(E,he,fe){"use strict";var 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=fe;le.putSymlink=function(){var ue=(0,ie.default)(re.default.mark(function oe(ne,z,a){var y,x;return re.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.headers=a.headers||{},z=this._escape(this._objectName(z)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=z,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],ee.next=13,this.request(y);case 13:return x=ee.sent,ee.abrupt("return",{res:x.res});case 15:case"end":return ee.stop()}},oe,this)}));function ae(oe,ne,z){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,he,fe){"use strict";var se=E("url"),re=E("utility"),ie=E("copy-to"),le=E("../../common/signUtils"),ue=E("../utils/isIP"),ae=ue.isIP,oe=fe;oe.signatureUrl=function(z,a){if(ae(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},z=this._objectName(z),a.method=a.method||"GET";var y=re.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:z},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var ee=le._signatureForURL(this.options.accessKeySecret,a,b,y),te=se.parse(this._getReqUrl(x));return te.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:ee.Signature},ie(ee.subResource).to(te.query),te.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,he,fe){"use strict";var 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"),ue=le.isArray,ae=fe;ae._parallelNode=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y,x,b){var ee,te,ce,de,ge,ve,pe,Se;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:ee=this,te=[],ce=[],de=a.length/y,ge=a.length%y,ve=ge===0?de:(a.length-ge)/y+1,pe=1,Se=0;case 8:if(!(Se<a.length)){Pe.next=26;break}if(!ee.isCancel()){Pe.next=11;break}return Pe.abrupt("break",26);case 11:if(b?ce.push(x(ee,a[Se],b)):ce.push(x(ee,a[Se])),!(ce.length===y||pe===ve&&Se===a.length-1)){Pe.next=23;break}return Pe.prev=13,pe+=1,Pe.next=17,Promise.all(ce);case 17:Pe.next=22;break;case 19:Pe.prev=19,Pe.t0=Pe.catch(13),te.push(Pe.t0);case 22:ce=[];case 23:Se++,Pe.next=8;break;case 26:return Pe.abrupt("return",te);case 27:case"end":return Pe.stop()}},z,this,[[13,19]])}));function ne(z,a,y,x){return oe.apply(this,arguments)}return ne}(),ae._parallel=function(ne,z,a){var y=this;return new Promise(function(x){var b=[];if(z<=0||!ne){x(b);return}function ee(Pe){return function(){if(Pe===null)throw new Error("Callback was already called.");var we=Pe;Pe=null;for(var Le=arguments.length,Ee=new Array(Le),Te=0;Te<Le;Te++)Ee[Te]=arguments[Te];we.apply(this,Ee)}}function te(Pe){var we=-1,Le=Pe.length;return function(){return++we<Le&&!y.isCancel()?{value:Pe[we],key:we}:null}}var ce=te(ne),de=!1,ge=0,ve=!1;function pe(Pe){ge-=1,Pe?(de=!0,b.push(Pe),x(b)):de&&ge<=0?(de=!0,x(b)):ve||(y.isCancel()?x(b):ye())}function Se(Pe,we){a(Pe).then(function(Le){we(null,Le)}).catch(function(Le){we(Le)})}function ye(){for(ve=!0;ge<z&&!de&&!y.isCancel();){var Pe=ce();if(Pe===null||b.length>0){de=!0,ge<=0&&x(b);return}ge+=1,Se(Pe.value,ee(pe))}ve=!1}ye()})},ae.cancel=function(ne){this.options.cancelFlag=!0,ue(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(z){if(z.destroyed===!1){var a={name:"cancel",message:"cancel"};z.destroy(a)}}),this.multipartUploadStreams=[],ne&&this.abortMultipartUpload(ne.name,ne.uploadId,ne.options)},ae.isCancel=function(){return this.options.cancelFlag},ae.resetCancelFlag=function(){this.options.cancelFlag=!1},ae._stop=function(){this.options.cancelFlag=!0},ae._makeCancelEvent=function(){var ne={status:0,name:"cancel"};return ne},ae._makeAbortEvent=function(){var ne={status:0,name:"abort",message:"upload task has been abort"};return ne}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,he,fe){(function(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"),ue=le.lowercaseKeyHeader;fe.buildCanonicalizedResource=function(oe,ne){var z="".concat(oe),a="?";if(ie.string(ne)&&ne.trim()!=="")z+=a+ne;else if(ie.array(ne))ne.sort(),z+=a+ne.join("&");else if(ne){var y=function(ee,te){return ee[0]>te[0]?1:ee[0]<te[0]?-1:0},x=function(ee){z+=a+ee,(ne[ee]||ne[ee]===0)&&(z+="=".concat(ne[ee])),a="&"};Object.keys(ne).sort(y).forEach(x)}return z},fe.buildCanonicalString=function(oe,ne,z,a){z=z||{};var y=ue(z.headers),x="x-oss-",b=[],ee={},te=[oe.toUpperCase(),y["content-md5"]||"",y["content-type"],a||y["x-oss-date"]];return Object.keys(y).forEach(function(ce){var de=ce.toLowerCase();de.indexOf(x)===0&&(ee[de]=String(y[ce]).trim())}),Object.keys(ee).sort().forEach(function(ce){b.push("".concat(ce,":").concat(ee[ce]))}),te=te.concat(b),te.push(this.buildCanonicalizedResource(ne,z.parameters)),te.join(`
`)},fe.computeSignature=function(oe,ne){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=re.createHmac("sha1",oe);return a.update(se.from(ne,z)).digest("base64")},fe.authorization=function(oe,ne,z,a){return"OSS ".concat(oe,":").concat(this.computeSignature(ne,z,a))},fe._signatureForURL=function(oe){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},z=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,ee=b===void 0?{}:b;if(ne.process){var te="x-oss-process";ee[te]=ne.process}if(ne.trafficLimit){var ce="x-oss-traffic-limit";ee[ce]=ne.trafficLimit}if(ne.response&&Object.keys(ne.response).forEach(function(pe){var Se="response-".concat(pe.toLowerCase());ee[Se]=ne.response[pe]}),Object.keys(ne).forEach(function(pe){var Se=pe.toLowerCase(),ye=ne[pe];Se.indexOf("x-oss-")===0?x[Se]=ye:(Se.indexOf("content-md5")===0||Se.indexOf("content-type")===0)&&(x[pe]=ye)}),Object.prototype.hasOwnProperty.call(ne,"security-token")&&(ee["security-token"]=ne["security-token"]),Object.prototype.hasOwnProperty.call(ne,"callback")){var de={callbackUrl:encodeURI(ne.callback.url),callbackBody:ne.callback.body};if(ne.callback.host&&(de.callbackHost=ne.callback.host),ne.callback.contentType&&(de.callbackBodyType=ne.callback.contentType),ee.callback=se.from(JSON.stringify(de)).toString("base64"),ne.callback.customValue){var ge={};Object.keys(ne.callback.customValue).forEach(function(pe){ge["x:".concat(pe)]=ne.callback.customValue[pe]}),ee["callback-var"]=se.from(JSON.stringify(ge)).toString("base64")}}var ve=this.buildCanonicalString(ne.method,z,{headers:x,parameters:ee},a.toString());return{Signature:this.computeSignature(oe,ve,y),subResource:ee}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,he,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkBucketName=void 0,fe.checkBucketName=function(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,he,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.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}fe.checkConfigValid=function(ie,le){if(se[le]){var ue=!0;if(se[le]instanceof Function?ue=se[le](ie):ue=se[le].test(ie),!ue)throw new Error("The ".concat(le," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,he,fe){(function(se){(function(){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkEnv=void 0;function re(ie){se.browser&&console.warn(ie)}fe.checkEnv=re}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,he,fe){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkObjectTag=void 0;var se=E("./checkValid"),re=se.checkValid,ie=E("./isObject"),le=ie.isObject,ue=[{validator:function(z){if(typeof z!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],ae={key:[].concat(ue,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(ue,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function oe(ne){if(!le(ne))throw new Error("tag must be Object");var z=Object.entries(ne);if(z.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];z.forEach(function(y){y.forEach(function(x,b){re(x,ae[a[b]])})})}fe.checkObjectTag=oe},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,he,fe){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkValid=void 0;function 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)})}fe.checkValid=se},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(E,he,fe){(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(fe,"__esModule",{value:!0}),fe.createRequest=void 0;var re=E("./../../../shims/crypto/crypto.js"),ie=E("debug")("ali-oss"),le=E("mime"),ue=E("dateformat"),ae=E("copy-to"),oe=E("path"),ne=E("./encoder"),z=ne.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,ee=E("../client/getReqUrl"),te=ee.getReqUrl,ce=E("./isDingTalk"),de=ce.isDingTalk;function ge(Se,ye){return Se[ye]||Se[ye.toLowerCase()]}function ve(Se,ye){delete Se[ye],delete Se[ye.toLowerCase()]}function pe(Se){var ye=new Date;this.options.amendTimeSkewed&&(ye=+new Date+this.options.amendTimeSkewed);var Pe={"x-oss-date":ue(ye,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Pe["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Pe["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Pe,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Pe["x-oss-security-token"]=this.options.stsToken),ae(Se.headers).to(Pe),ge(Pe,"Content-Type")||(Se.mime&&Se.mime.indexOf("/")>0?Pe["Content-Type"]=Se.mime:de()?Pe["Content-Type"]="application/octet-stream":Pe["Content-Type"]=le.getType(Se.mime||oe.extname(Se.object||""))),ge(Pe,"Content-Type")||ve(Pe,"Content-Type"),Se.content&&(Se.disabledMD5||(!Se.headers||!Se.headers["Content-MD5"]?Pe["Content-MD5"]=re.createHash("md5").update(se.from(Se.content,"utf8")).digest("base64"):Pe["Content-MD5"]=Se.headers["Content-MD5"]),Pe["Content-Length"]||(Pe["Content-Length"]=Se.content.length));var we=Object.prototype.hasOwnProperty;for(var Le in Pe)Pe[Le]&&we.call(Pe,Le)&&(Pe[Le]=z(String(Pe[Le]),this.options.headerEncoding));var Ee=this._getResource(Se);if(Pe.authorization=this.authorization(Se.method,Ee,Se.subres,Pe,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Te=this.options,Ce=Te.region,Ae=Te.internal,Ie=Te.secure,He=b(Ce,Ae,Ie);Pe.host="".concat(Se.bucket,".").concat(He.host)}var je=te.bind(this)(Se);ie("request %s %s, with headers %j, !!stream: %s",Se.method,je,Pe,!!Se.stream);var tt=Se.timeout||this.options.timeout,Je={method:Se.method,content:Se.content,stream:Se.stream,headers:Pe,timeout:tt,writeStream:Se.writeStream,customResponse:Se.customResponse,ctx:Se.ctx||this.ctx};return this.agent&&(Je.agent=this.agent),this.httpsAgent&&(Je.httpsAgent=this.httpsAgent),Je.enableProxy=!!this.options.enableProxy,Je.proxy=this.options.proxy?this.options.proxy:null,{url:je,params:Je}}fe.createRequest=pe}).call(this)}).call(this,E("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(E,he,fe){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.dataFix=void 0;var se=E("./isObject"),re=["true","TRUE","1",1],ie=["false","FALSE","0",0];function le(oe,ne,z){if(se.isObject(oe)){var a=ne.remove,y=a===void 0?[]:a,x=ne.rename,b=x===void 0?{}:x,ee=ne.camel,te=ee===void 0?[]:ee,ce=ne.bool,de=ce===void 0?[]:ce,ge=ne.lowerFirst,ve=ge===void 0?!1:ge;return y.forEach(function(pe){return delete oe[pe]}),Object.entries(b).forEach(function(pe){oe[pe[0]]&&(oe[pe[1]]||(oe[pe[1]]=oe[pe[0]],delete oe[pe[0]]))}),te.forEach(function(pe){if(oe[pe]){var Se=pe.replace(/^(.)/,function(ye){return ye.toLowerCase()}).replace(/-(\w)/g,function(ye,Pe){return Pe.toUpperCase()});oe[Se]||(oe[Se]=oe[pe])}}),de.forEach(function(pe){oe[pe]=ue(oe[pe])}),typeof z=="function"&&z(oe),ae(oe,ve),le}}fe.dataFix=le;function ue(oe){return oe?re.includes(oe)?!0:ie.includes(oe)?!1:oe:!1}function ae(oe,ne){ne&&Object.keys(oe).forEach(function(z){var a=z.replace(/^\w/,function(y){return y.toLowerCase()});typeof oe[a]=="undefined"&&(oe[a]=oe[z],delete oe[z])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(E,he,fe){"use strict";var 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(fe,"__esModule",{value:!0}),fe.deepCopyWith=fe.deepCopy=void 0;var ie=E("./isBuffer");fe.deepCopy=function(le){if(le===null||(0,re.default)(le)!=="object")return le;if(ie.isBuffer(le))return le.slice();var ue=Array.isArray(le)?[]:{};return Object.keys(le).forEach(function(ae){ue[ae]=fe.deepCopy(le[ae])}),ue},fe.deepCopyWith=function(le,ue){function ae(oe,ne,z){var a=ue(oe,ne,z);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 ue?ae(le,"",null):fe.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,he,fe){(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(fe,"__esModule",{value:!0}),fe.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")}fe.encoder=re}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,he,fe){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.formatInventoryConfig=void 0;var se=E("../utils/dataFix"),re=E("../utils/isObject"),ie=E("../utils/isArray"),le=E("../utils/formatObjKey");function ue(oe){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ne&&re.isObject(oe)&&(oe=[oe]),ie.isArray(oe)?oe=oe.map(ae):oe=ae(oe),oe}fe.formatInventoryConfig=ue;function ae(oe){return se.dataFix(oe,{bool:["IsEnabled"]},function(ne){var z,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,!((z=ne==null?void 0:ne.OptionalFields)===null||z===void 0)&&z.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,he,fe){"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(fe,"__esModule",{value:!0}),fe.formatObjKey=void 0;function ie(ue,ae,oe){if(ue===null||(0,re.default)(ue)!=="object")return ue;var ne;if(Array.isArray(ue)){ne=[];for(var z=0;z<ue.length;z++)ne.push(ie(ue[z],ae,oe))}else ne={},Object.keys(ue).forEach(function(a){ne[le(a,ae,oe)]=ie(ue[a],ae,oe)});return ne}fe.formatObjKey=ie;function le(ue,ae,oe){return oe&&oe.exclude&&oe.exclude.includes(ue)||(ae==="firstUpperCase"?ue=ue.replace(/^./,function(ne){return ne.toUpperCase()}):ae==="firstLowerCase"&&(ue=ue.replace(/^./,function(ne){return ne.toLowerCase()}))),ue}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.includes.js":302,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],62:[function(E,he,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.getStrBytesCount=void 0;function se(re){for(var ie=0,le=0;le<re.length;le++){var ue=re.charAt(le);/^[\u00-\uff]$/.test(ue)?ie+=1:ie+=2}return ie}fe.getStrBytesCount=se},{"core-js/modules/es.regexp.exec.js":300}],63:[function(E,he,fe){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.isArray=void 0,fe.isArray=function(se){return Object.prototype.toString.call(se)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(E,he,fe){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isBlob=void 0;function se(re){return typeof Blob!="undefined"&&re instanceof Blob}fe.isBlob=se},{}],65:[function(E,he,fe){(function(se){(function(){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isBuffer=void 0;function re(ie){return se.isBuffer(ie)}fe.isBuffer=re}).call(this)}).call(this,{isBuffer:E("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(E,he,fe){(function(se){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.isDingTalk=void 0;function re(){return!!(se.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}fe.isDingTalk=re}).call(this)}).call(this,E("_process"))},{_process:467,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.string.includes.js":302}],67:[function(E,he,fe){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isFile=void 0,fe.isFile=function(se){return typeof File!="undefined"&&se instanceof File}},{}],68:[function(E,he,fe){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.isFunction=void 0,fe.isFunction=function(se){return typeof se=="function"}},{}],69:[function(E,he,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.isIP=void 0,fe.isIP=function(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,he,fe){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.isObject=void 0,fe.isObject=function(se){return Object.prototype.toString.call(se)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(E,he,fe){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.lowercaseKeyHeader=void 0;var se=E("./isObject");function re(ie){var le={};return se.isObject(ie)&&Object.keys(ie).forEach(function(ue){le[ue.toLowerCase()]=ie[ue]}),le}fe.lowercaseKeyHeader=re},{"./isObject":70,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],72:[function(E,he,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.obj2xml=void 0;var se=E("./formatObjKey");function re(le){return Object.prototype.toString.call(le).replace(/(.*? |])/g,"").toLowerCase()}function ie(le,ue){var ae="";return ue&&ue.headers&&(ae=`<?xml version="1.0" encoding="UTF-8"?>
`),ue&&ue.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}fe.obj2xml=ie},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,he,fe){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function se(ue,ae){var oe=typeof Symbol!="undefined"&&ue[Symbol.iterator]||ue["@@iterator"];if(!oe){if(Array.isArray(ue)||(oe=re(ue))||ae&&ue&&typeof ue.length=="number"){oe&&(ue=oe);var ne=0,z=function(){};return{s:z,n:function(){return ne>=ue.length?{done:!0}:{done:!1,value:ue[ne++]}},e:function(ee){throw ee},f:z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,y=!1,x;return{s:function(){oe=oe.call(ue)},n:function(){var ee=oe.next();return a=ee.done,ee},e:function(ee){y=!0,x=ee},f:function(){try{!a&&oe.return!=null&&oe.return()}finally{if(y)throw x}}}}function re(ue,ae){if(ue){if(typeof ue=="string")return ie(ue,ae);var oe=Object.prototype.toString.call(ue).slice(8,-1);if(oe==="Object"&&ue.constructor&&(oe=ue.constructor.name),oe==="Map"||oe==="Set")return Array.from(ue);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return ie(ue,ae)}}function ie(ue,ae){(ae==null||ae>ue.length)&&(ae=ue.length);for(var oe=0,ne=new Array(ae);oe<ae;oe++)ne[oe]=ue[oe];return ne}Object.defineProperty(fe,"__esModule",{value:!0}),fe.omit=void 0;function le(ue,ae){var oe=Object.assign({},ue),ne=se(ae),z;try{for(ne.s();!(z=ne.n()).done;){var a=z.value;delete oe[a]}}catch(y){ne.e(y)}finally{ne.f()}return oe}fe.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,he,fe){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.retry=void 0;function se(re,ie){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ue=0,ae=le.retryDelay,oe=ae===void 0?500:ae,ne=le.errorHandler,z=ne===void 0?function(){return!0}:ne,a=function y(){for(var x=arguments.length,b=new Array(x),ee=0;ee<x;ee++)b[ee]=arguments[ee];return new Promise(function(te,ce){re.apply(void 0,b).then(function(de){ue=0,te(de)}).catch(function(de){ue<ie&&z(de)?(ue++,setTimeout(function(){te(y.apply(void 0,b))},oe)):(ue=0,ce(de))})})};return a}fe.retry=se},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(E,he,fe){"use strict";var se=function(ue){return ue&&ue.__esModule?ue:{default:ue}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.setRegion=void 0;var re=se(E("url")),ie=E("./checkConfigValid");function le(ue){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ie.checkConfigValid(ue,"region");var ne=oe?"https://":"http://",z=ae?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ue.substr(0,a.length)===a&&(z=".aliyuncs.com"),re.default.parse(ne+ue+z)}fe.setRegion=le},{"./checkConfigValid":52,url:472}],76:[function(E,he,fe){"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(fe,"__esModule",{value:!0}),fe.checkCredentials=fe.setSTSToken=void 0;var le=E("./formatObjKey");function ue(){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(re.default.mark(function ne(){var z,a;return re.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),z=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+z-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=z,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=z;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ne,this)})),ae.apply(this,arguments)}fe.setSTSToken=ue;function oe(ne){var z=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ne);z.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}fe.checkCredentials=oe},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,he,fe){function se(ie,le,ue,ae,oe,ne,z){try{var a=ie[ne](z),y=a.value}catch(x){ue(x);return}a.done?le(y):Promise.resolve(y).then(ae,oe)}function re(ie){return function(){var le=this,ue=arguments;return new Promise(function(ae,oe){var ne=ie.apply(le,ue);function z(y){se(ne,ae,oe,z,a,"next",y)}function a(y){se(ne,ae,oe,z,a,"throw",y)}z(void 0)})}}he.exports=re,he.exports.__esModule=!0,he.exports.default=he.exports},{}],78:[function(E,he,fe){function se(re){return re&&re.__esModule?re:{default:re}}he.exports=se,he.exports.__esModule=!0,he.exports.default=he.exports},{}],79:[function(E,he,fe){function se(re){"@babel/helpers - typeof";return he.exports=se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},he.exports.__esModule=!0,he.exports.default=he.exports,se(re)}he.exports=se,he.exports.__esModule=!0,he.exports.default=he.exports},{}],80:[function(E,he,fe){he.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,he,fe){he.exports=se,he.exports.HttpsAgent=se;function se(){}},{}],82:[function(E,he,fe){(function(se){(function(){"use strict";var re=E("object-assign");function ie(Ce,Ae){if(Ce===Ae)return 0;for(var Ie=Ce.length,He=Ae.length,je=0,tt=Math.min(Ie,He);je<tt;++je)if(Ce[je]!==Ae[je]){Ie=Ce[je],He=Ae[je];break}return Ie<He?-1:He<Ie?1:0}function le(Ce){return se.Buffer&&typeof se.Buffer.isBuffer=="function"?se.Buffer.isBuffer(Ce):!!(Ce!=null&&Ce._isBuffer)}var ue=E("util/"),ae=Object.prototype.hasOwnProperty,oe=Array.prototype.slice,ne=function(){return function(){}.name==="foo"}();function z(Ce){return Object.prototype.toString.call(Ce)}function a(Ce){return le(Ce)||typeof se.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Ce):Ce?!!(Ce instanceof DataView||Ce.buffer&&Ce.buffer instanceof ArrayBuffer):!1}var y=he.exports=ge,x=/\s*function\s+([^\(\s]*)\s*/;function b(Ce){if(ue.isFunction(Ce)){if(ne)return Ce.name;var Ae=Ce.toString(),Ie=Ae.match(x);return Ie&&Ie[1]}}y.AssertionError=function(Ae){this.name="AssertionError",this.actual=Ae.actual,this.expected=Ae.expected,this.operator=Ae.operator,Ae.message?(this.message=Ae.message,this.generatedMessage=!1):(this.message=ce(this),this.generatedMessage=!0);var Ie=Ae.stackStartFunction||de;if(Error.captureStackTrace)Error.captureStackTrace(this,Ie);else{var He=new Error;if(He.stack){var je=He.stack,tt=b(Ie),Je=je.indexOf(`
`+tt);if(Je>=0){var Qe=je.indexOf(`
`,Je+1);je=je.substring(Qe+1)}this.stack=je}}},ue.inherits(y.AssertionError,Error);function ee(Ce,Ae){return typeof Ce=="string"?Ce.length<Ae?Ce:Ce.slice(0,Ae):Ce}function te(Ce){if(ne||!ue.isFunction(Ce))return ue.inspect(Ce);var Ae=b(Ce),Ie=Ae?": "+Ae:"";return"[Function"+Ie+"]"}function ce(Ce){return ee(te(Ce.actual),128)+" "+Ce.operator+" "+ee(te(Ce.expected),128)}function de(Ce,Ae,Ie,He,je){throw new y.AssertionError({message:Ie,actual:Ce,expected:Ae,operator:He,stackStartFunction:je})}y.fail=de;function ge(Ce,Ae){Ce||de(Ce,!0,Ae,"==",y.ok)}y.ok=ge,y.equal=function(Ae,Ie,He){Ae!=Ie&&de(Ae,Ie,He,"==",y.equal)},y.notEqual=function(Ae,Ie,He){Ae==Ie&&de(Ae,Ie,He,"!=",y.notEqual)},y.deepEqual=function(Ae,Ie,He){ve(Ae,Ie,!1)||de(Ae,Ie,He,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(Ae,Ie,He){ve(Ae,Ie,!0)||de(Ae,Ie,He,"deepStrictEqual",y.deepStrictEqual)};function ve(Ce,Ae,Ie,He){if(Ce===Ae)return!0;if(le(Ce)&&le(Ae))return ie(Ce,Ae)===0;if(ue.isDate(Ce)&&ue.isDate(Ae))return Ce.getTime()===Ae.getTime();if(ue.isRegExp(Ce)&&ue.isRegExp(Ae))return Ce.source===Ae.source&&Ce.global===Ae.global&&Ce.multiline===Ae.multiline&&Ce.lastIndex===Ae.lastIndex&&Ce.ignoreCase===Ae.ignoreCase;if((Ce===null||typeof Ce!="object")&&(Ae===null||typeof Ae!="object"))return Ie?Ce===Ae:Ce==Ae;if(a(Ce)&&a(Ae)&&z(Ce)===z(Ae)&&!(Ce instanceof Float32Array||Ce instanceof Float64Array))return ie(new Uint8Array(Ce.buffer),new Uint8Array(Ae.buffer))===0;if(le(Ce)!==le(Ae))return!1;He=He||{actual:[],expected:[]};var je=He.actual.indexOf(Ce);return je!==-1&&je===He.expected.indexOf(Ae)?!0:(He.actual.push(Ce),He.expected.push(Ae),Se(Ce,Ae,Ie,He))}function pe(Ce){return Object.prototype.toString.call(Ce)=="[object Arguments]"}function Se(Ce,Ae,Ie,He){if(Ce==null||Ae===null||Ae===void 0)return!1;if(ue.isPrimitive(Ce)||ue.isPrimitive(Ae))return Ce===Ae;if(Ie&&Object.getPrototypeOf(Ce)!==Object.getPrototypeOf(Ae))return!1;var je=pe(Ce),tt=pe(Ae);if(je&&!tt||!je&&tt)return!1;if(je)return Ce=oe.call(Ce),Ae=oe.call(Ae),ve(Ce,Ae,Ie);var Je=Te(Ce),Qe=Te(Ae),Xe,$e;if(Je.length!==Qe.length)return!1;for(Je.sort(),Qe.sort(),$e=Je.length-1;$e>=0;$e--)if(Je[$e]!==Qe[$e])return!1;for($e=Je.length-1;$e>=0;$e--)if(Xe=Je[$e],!ve(Ce[Xe],Ae[Xe],Ie,He))return!1;return!0}y.notDeepEqual=function(Ae,Ie,He){ve(Ae,Ie,!1)&&de(Ae,Ie,He,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ye;function ye(Ce,Ae,Ie){ve(Ce,Ae,!0)&&de(Ce,Ae,Ie,"notDeepStrictEqual",ye)}y.strictEqual=function(Ae,Ie,He){Ae!==Ie&&de(Ae,Ie,He,"===",y.strictEqual)},y.notStrictEqual=function(Ae,Ie,He){Ae===Ie&&de(Ae,Ie,He,"!==",y.notStrictEqual)};function Pe(Ce,Ae){if(!Ce||!Ae)return!1;if(Object.prototype.toString.call(Ae)=="[object RegExp]")return Ae.test(Ce);try{if(Ce instanceof Ae)return!0}catch(Ie){}return Error.isPrototypeOf(Ae)?!1:Ae.call({},Ce)===!0}function we(Ce){var Ae;try{Ce()}catch(Ie){Ae=Ie}return Ae}function Le(Ce,Ae,Ie,He){var je;if(typeof Ae!="function")throw new TypeError('"block" argument must be a function');typeof Ie=="string"&&(He=Ie,Ie=null),je=we(Ae),He=(Ie&&Ie.name?" ("+Ie.name+").":".")+(He?" "+He:"."),Ce&&!je&&de(je,Ie,"Missing expected exception"+He);var tt=typeof He=="string",Je=!Ce&&ue.isError(je),Qe=!Ce&&je&&!Ie;if((Je&&tt&&Pe(je,Ie)||Qe)&&de(je,Ie,"Got unwanted exception"+He),Ce&&je&&Ie&&!Pe(je,Ie)||!Ce&&je)throw je}y.throws=function(Ce,Ae,Ie){Le(!0,Ce,Ae,Ie)},y.doesNotThrow=function(Ce,Ae,Ie){Le(!1,Ce,Ae,Ie)},y.ifError=function(Ce){if(Ce)throw Ce};function Ee(Ce,Ae){Ce||de(Ce,!0,Ae,"==",Ee)}y.strict=re(Ee,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Te=Object.keys||function(Ce){var Ae=[];for(var Ie in Ce)ae.call(Ce,Ie)&&Ae.push(Ie);return Ae}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,he,fe){typeof Object.create=="function"?he.exports=function(re,ie){re.super_=ie,re.prototype=Object.create(ie.prototype,{constructor:{value:re,enumerable:!1,writable:!0,configurable:!0}})}:he.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,he,fe){he.exports=function(re){return re&&typeof re=="object"&&typeof re.copy=="function"&&typeof re.fill=="function"&&typeof re.readUInt8=="function"}},{}],85:[function(E,he,fe){(function(se,re){(function(){var ie=/%[sdj%]/g;fe.format=function(Qe){if(!Se(Qe)){for(var Xe=[],$e=0;$e<arguments.length;$e++)Xe.push(ae(arguments[$e]));return Xe.join(" ")}for(var $e=1,ke=arguments,Ue=ke.length,qe=String(Qe).replace(ie,function(ft){if(ft==="%%")return"%";if($e>=Ue)return ft;switch(ft){case"%s":return String(ke[$e++]);case"%d":return Number(ke[$e++]);case"%j":try{return JSON.stringify(ke[$e++])}catch(We){return"[Circular]"}default:return ft}}),Ye=ke[$e];$e<Ue;Ye=ke[++$e])ge(Ye)||!Le(Ye)?qe+=" "+Ye:qe+=" "+ae(Ye);return qe},fe.deprecate=function(Qe,Xe){if(Pe(re.process))return function(){return fe.deprecate(Qe,Xe).apply(this,arguments)};if(se.noDeprecation===!0)return Qe;var $e=!1;function ke(){if(!$e){if(se.throwDeprecation)throw new Error(Xe);se.traceDeprecation?console.trace(Xe):console.error(Xe),$e=!0}return Qe.apply(this,arguments)}return ke};var le={},ue;fe.debuglog=function(Qe){if(Pe(ue)&&(ue=se.env.NODE_DEBUG||""),Qe=Qe.toUpperCase(),!le[Qe])if(new RegExp("\\b"+Qe+"\\b","i").test(ue)){var Xe=se.pid;le[Qe]=function(){var $e=fe.format.apply(fe,arguments);console.error("%s %d: %s",Qe,Xe,$e)}}else le[Qe]=function(){};return le[Qe]};function ae(Qe,Xe){var $e={seen:[],stylize:ne};return arguments.length>=3&&($e.depth=arguments[2]),arguments.length>=4&&($e.colors=arguments[3]),de(Xe)?$e.showHidden=Xe:Xe&&fe._extend($e,Xe),Pe($e.showHidden)&&($e.showHidden=!1),Pe($e.depth)&&($e.depth=2),Pe($e.colors)&&($e.colors=!1),Pe($e.customInspect)&&($e.customInspect=!0),$e.colors&&($e.stylize=oe),a($e,Qe,$e.depth)}fe.inspect=ae,ae.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function oe(Qe,Xe){var $e=ae.styles[Xe];return $e?"\x1B["+ae.colors[$e][0]+"m"+Qe+"\x1B["+ae.colors[$e][1]+"m":Qe}function ne(Qe,Xe){return Qe}function z(Qe){var Xe={};return Qe.forEach(function($e,ke){Xe[$e]=!0}),Xe}function a(Qe,Xe,$e){if(Qe.customInspect&&Xe&&Ce(Xe.inspect)&&Xe.inspect!==fe.inspect&&!(Xe.constructor&&Xe.constructor.prototype===Xe)){var ke=Xe.inspect($e,Qe);return Se(ke)||(ke=a(Qe,ke,$e)),ke}var Ue=y(Qe,Xe);if(Ue)return Ue;var qe=Object.keys(Xe),Ye=z(qe);if(Qe.showHidden&&(qe=Object.getOwnPropertyNames(Xe)),Te(Xe)&&(qe.indexOf("message")>=0||qe.indexOf("description")>=0))return x(Xe);if(qe.length===0){if(Ce(Xe)){var ft=Xe.name?": "+Xe.name:"";return Qe.stylize("[Function"+ft+"]","special")}if(we(Xe))return Qe.stylize(RegExp.prototype.toString.call(Xe),"regexp");if(Ee(Xe))return Qe.stylize(Date.prototype.toString.call(Xe),"date");if(Te(Xe))return x(Xe)}var We="",Ke=!1,Re=["{","}"];if(ce(Xe)&&(Ke=!0,Re=["[","]"]),Ce(Xe)){var et=Xe.name?": "+Xe.name:"";We=" [Function"+et+"]"}if(we(Xe)&&(We=" "+RegExp.prototype.toString.call(Xe)),Ee(Xe)&&(We=" "+Date.prototype.toUTCString.call(Xe)),Te(Xe)&&(We=" "+x(Xe)),qe.length===0&&(!Ke||Xe.length==0))return Re[0]+We+Re[1];if($e<0)return we(Xe)?Qe.stylize(RegExp.prototype.toString.call(Xe),"regexp"):Qe.stylize("[Object]","special");Qe.seen.push(Xe);var Me;return Ke?Me=b(Qe,Xe,$e,Ye,qe):Me=qe.map(function(Ge){return ee(Qe,Xe,$e,Ye,Ge,Ke)}),Qe.seen.pop(),te(Me,We,Re)}function y(Qe,Xe){if(Pe(Xe))return Qe.stylize("undefined","undefined");if(Se(Xe)){var $e="'"+JSON.stringify(Xe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Qe.stylize($e,"string")}if(pe(Xe))return Qe.stylize(""+Xe,"number");if(de(Xe))return Qe.stylize(""+Xe,"boolean");if(ge(Xe))return Qe.stylize("null","null")}function x(Qe){return"["+Error.prototype.toString.call(Qe)+"]"}function b(Qe,Xe,$e,ke,Ue){for(var qe=[],Ye=0,ft=Xe.length;Ye<ft;++Ye)Je(Xe,String(Ye))?qe.push(ee(Qe,Xe,$e,ke,String(Ye),!0)):qe.push("");return Ue.forEach(function(We){We.match(/^\d+$/)||qe.push(ee(Qe,Xe,$e,ke,We,!0))}),qe}function ee(Qe,Xe,$e,ke,Ue,qe){var Ye,ft,We;if(We=Object.getOwnPropertyDescriptor(Xe,Ue)||{value:Xe[Ue]},We.get?We.set?ft=Qe.stylize("[Getter/Setter]","special"):ft=Qe.stylize("[Getter]","special"):We.set&&(ft=Qe.stylize("[Setter]","special")),Je(ke,Ue)||(Ye="["+Ue+"]"),ft||(Qe.seen.indexOf(We.value)<0?(ge($e)?ft=a(Qe,We.value,null):ft=a(Qe,We.value,$e-1),ft.indexOf(`
`)>-1&&(qe?ft=ft.split(`
`).map(function(Ke){return" "+Ke}).join(`
`).substr(2):ft=`
`+ft.split(`
`).map(function(Ke){return" "+Ke}).join(`
`))):ft=Qe.stylize("[Circular]","special")),Pe(Ye)){if(qe&&Ue.match(/^\d+$/))return ft;Ye=JSON.stringify(""+Ue),Ye.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ye=Ye.substr(1,Ye.length-2),Ye=Qe.stylize(Ye,"name")):(Ye=Ye.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ye=Qe.stylize(Ye,"string"))}return Ye+": "+ft}function te(Qe,Xe,$e){var ke=0,Ue=Qe.reduce(function(qe,Ye){return ke++,Ye.indexOf(`
`)>=0&&ke++,qe+Ye.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ue>60?$e[0]+(Xe===""?"":Xe+`
`)+" "+Qe.join(`,
`)+" "+$e[1]:$e[0]+Xe+" "+Qe.join(", ")+" "+$e[1]}function ce(Qe){return Array.isArray(Qe)}fe.isArray=ce;function de(Qe){return typeof Qe=="boolean"}fe.isBoolean=de;function ge(Qe){return Qe===null}fe.isNull=ge;function ve(Qe){return Qe==null}fe.isNullOrUndefined=ve;function pe(Qe){return typeof Qe=="number"}fe.isNumber=pe;function Se(Qe){return typeof Qe=="string"}fe.isString=Se;function ye(Qe){return typeof Qe=="symbol"}fe.isSymbol=ye;function Pe(Qe){return Qe===void 0}fe.isUndefined=Pe;function we(Qe){return Le(Qe)&&Ie(Qe)==="[object RegExp]"}fe.isRegExp=we;function Le(Qe){return typeof Qe=="object"&&Qe!==null}fe.isObject=Le;function Ee(Qe){return Le(Qe)&&Ie(Qe)==="[object Date]"}fe.isDate=Ee;function Te(Qe){return Le(Qe)&&(Ie(Qe)==="[object Error]"||Qe instanceof Error)}fe.isError=Te;function Ce(Qe){return typeof Qe=="function"}fe.isFunction=Ce;function Ae(Qe){return Qe===null||typeof Qe=="boolean"||typeof Qe=="number"||typeof Qe=="string"||typeof Qe=="symbol"||typeof Qe=="undefined"}fe.isPrimitive=Ae,fe.isBuffer=E("./support/isBuffer");function Ie(Qe){return Object.prototype.toString.call(Qe)}function He(Qe){return Qe<10?"0"+Qe.toString(10):Qe.toString(10)}var je=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function tt(){var Qe=new Date,Xe=[He(Qe.getHours()),He(Qe.getMinutes()),He(Qe.getSeconds())].join(":");return[Qe.getDate(),je[Qe.getMonth()],Xe].join(" ")}fe.log=function(){console.log("%s - %s",tt(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(Qe,Xe){if(!Xe||!Le(Xe))return Qe;for(var $e=Object.keys(Xe),ke=$e.length;ke--;)Qe[$e[ke]]=Xe[$e[ke]];return Qe};function Je(Qe,Xe){return Object.prototype.hasOwnProperty.call(Qe,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,he,fe){(function(se){(function(){"use strict";var re=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ie=typeof globalThis=="undefined"?se:globalThis;he.exports=function(){for(var ue=[],ae=0;ae<re.length;ae++)typeof ie[re[ae]]=="function"&&(ue[ue.length]=re[ae]);return ue}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(E,he,fe){"use strict";fe.byteLength=ne,fe.toByteArray=a,fe.fromByteArray=b;for(var se=[],re=[],ie=typeof Uint8Array!="undefined"?Uint8Array:Array,le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=0,ae=le.length;ue<ae;++ue)se[ue]=le[ue],re[le.charCodeAt(ue)]=ue;re[45]=62,re[95]=63;function oe(ee){var te=ee.length;if(te%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ce=ee.indexOf("=");ce===-1&&(ce=te);var de=ce===te?0:4-ce%4;return[ce,de]}function ne(ee){var te=oe(ee),ce=te[0],de=te[1];return(ce+de)*3/4-de}function z(ee,te,ce){return(te+ce)*3/4-ce}function a(ee){var te,ce=oe(ee),de=ce[0],ge=ce[1],ve=new ie(z(ee,de,ge)),pe=0,Se=ge>0?de-4:de,ye;for(ye=0;ye<Se;ye+=4)te=re[ee.charCodeAt(ye)]<<18|re[ee.charCodeAt(ye+1)]<<12|re[ee.charCodeAt(ye+2)]<<6|re[ee.charCodeAt(ye+3)],ve[pe++]=te>>16&255,ve[pe++]=te>>8&255,ve[pe++]=te&255;return ge===2&&(te=re[ee.charCodeAt(ye)]<<2|re[ee.charCodeAt(ye+1)]>>4,ve[pe++]=te&255),ge===1&&(te=re[ee.charCodeAt(ye)]<<10|re[ee.charCodeAt(ye+1)]<<4|re[ee.charCodeAt(ye+2)]>>2,ve[pe++]=te>>8&255,ve[pe++]=te&255),ve}function y(ee){return se[ee>>18&63]+se[ee>>12&63]+se[ee>>6&63]+se[ee&63]}function x(ee,te,ce){for(var de,ge=[],ve=te;ve<ce;ve+=3)de=(ee[ve]<<16&16711680)+(ee[ve+1]<<8&65280)+(ee[ve+2]&255),ge.push(y(de));return ge.join("")}function b(ee){for(var te,ce=ee.length,de=ce%3,ge=[],ve=16383,pe=0,Se=ce-de;pe<Se;pe+=ve)ge.push(x(ee,pe,pe+ve>Se?Se:pe+ve));return de===1?(te=ee[ce-1],ge.push(se[te>>2]+se[te<<4&63]+"==")):de===2&&(te=(ee[ce-2]<<8)+ee[ce-1],ge.push(se[te>>10]+se[te>>4&63]+se[te<<2&63]+"=")),ge.join("")}},{}],88:[function(E,he,fe){(function(se,re,ie){typeof he!="undefined"&&he.exports?he.exports=ie():typeof me=="function"&&me.amd?me(re,ie):se[re]=ie()})(this,"bowser",function(){var se=!0;function re(z){function a(Xe){var $e=z.match(Xe);return $e&&$e.length>1&&$e[1]||""}function y(Xe){var $e=z.match(Xe);return $e&&$e.length>1&&$e[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(z),ee=!b&&/android/i.test(z),te=/nexus\s*[0-6]\s*/i.test(z),ce=!te&&/nexus\s*[0-9]+/i.test(z),de=/CrOS/.test(z),ge=/silk/i.test(z),ve=/sailfish/i.test(z),pe=/tizen/i.test(z),Se=/(web|hpw)(o|0)s/i.test(z),ye=/windows phone/i.test(z),Pe=/SamsungBrowser/i.test(z),we=!ye&&/windows/i.test(z),Le=!x&&!ge&&/macintosh/i.test(z),Ee=!ee&&!ve&&!pe&&!Se&&/linux/i.test(z),Te=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ce=a(/version\/(\d+(\.\d+)?)/i),Ae=/tablet/i.test(z)&&!/tablet pc/i.test(z),Ie=!Ae&&/[^-]mobi/i.test(z),He=/xbox/i.test(z),je;/opera/i.test(z)?je={name:"Opera",opera:se,version:Ce||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(z)?je={name:"Opera",opera:se,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ce}:/SamsungBrowser/i.test(z)?je={name:"Samsung Internet for Android",samsungBrowser:se,version:Ce||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(z)?je={name:"NAVER Whale browser",whale:se,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(z)?je={name:"MZ Browser",mzbrowser:se,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(z)?je={name:"Opera Coast",coast:se,version:Ce||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(z)?je={name:"Focus",focus:se,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(z)?je={name:"Yandex Browser",yandexbrowser:se,version:Ce||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(z)?je={name:"UC Browser",ucbrowser:se,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(z)?je={name:"Maxthon",maxthon:se,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(z)?je={name:"Epiphany",epiphany:se,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(z)?je={name:"Puffin",puffin:se,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(z)?je={name:"Sleipnir",sleipnir:se,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(z)?je={name:"K-Meleon",kMeleon:se,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ye?(je={name:"Windows Phone",osname:"Windows Phone",windowsphone:se},Te?(je.msedge=se,je.version=Te):(je.msie=se,je.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(z)?je={name:"Internet Explorer",msie:se,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:de?je={name:"Chrome",osname:"Chrome OS",chromeos:se,chromeBook:se,chrome:se,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(z)?je={name:"Microsoft Edge",msedge:se,version:Te}:/vivaldi/i.test(z)?je={name:"Vivaldi",vivaldi:se,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ce}:ve?je={name:"Sailfish",osname:"Sailfish OS",sailfish:se,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(z)?je={name:"SeaMonkey",seamonkey:se,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(z)?(je={name:"Firefox",firefox:se,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(z)&&(je.firefoxos=se,je.osname="Firefox OS")):ge?je={name:"Amazon Silk",silk:se,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(z)?je={name:"PhantomJS",phantom:se,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(z)?je={name:"SlimerJS",slimer:se,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(z)||/rim\stablet/i.test(z)?je={name:"BlackBerry",osname:"BlackBerry OS",blackberry:se,version:Ce||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Se?(je={name:"WebOS",osname:"WebOS",webos:se,version:Ce||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(z)&&(je.touchpad=se)):/bada/i.test(z)?je={name:"Bada",osname:"Bada",bada:se,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:pe?je={name:"Tizen",osname:"Tizen",tizen:se,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ce}:/qupzilla/i.test(z)?je={name:"QupZilla",qupzilla:se,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ce}:/chromium/i.test(z)?je={name:"Chromium",chromium:se,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ce}:/chrome|crios|crmo/i.test(z)?je={name:"Chrome",chrome:se,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:ee?je={name:"Android",version:Ce}:/safari|applewebkit/i.test(z)?(je={name:"Safari",safari:se},Ce&&(je.version=Ce)):x?(je={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Ce&&(je.version=Ce)):/googlebot/i.test(z)?je={name:"Googlebot",googlebot:se,version:a(/googlebot\/(\d+(\.\d+))/i)||Ce}:je={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!je.msedge&&/(apple)?webkit/i.test(z)?(/(apple)?webkit\/537\.36/i.test(z)?(je.name=je.name||"Blink",je.blink=se):(je.name=je.name||"Webkit",je.webkit=se),!je.version&&Ce&&(je.version=Ce)):!je.opera&&/gecko\//i.test(z)&&(je.name=je.name||"Gecko",je.gecko=se,je.version=je.version||a(/gecko\/(\d+(\.\d+)?)/i)),!je.windowsphone&&(ee||je.silk)?(je.android=se,je.osname="Android"):!je.windowsphone&&x?(je[x]=se,je.ios=se,je.osname="iOS"):Le?(je.mac=se,je.osname="macOS"):He?(je.xbox=se,je.osname="Xbox"):we?(je.windows=se,je.osname="Windows"):Ee&&(je.linux=se,je.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 Je="";je.windows?Je=tt(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):je.windowsphone?Je=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):je.mac?(Je=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Je=Je.replace(/[_\s]/g,".")):x?(Je=a(/os (\d+([_\s]\d+)*) like mac os x/i),Je=Je.replace(/[_\s]/g,".")):ee?Je=a(/android[ \/-](\d+(\.\d+)*)/i):je.webos?Je=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):je.blackberry?Je=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):je.bada?Je=a(/bada\/(\d+(\.\d+)*)/i):je.tizen&&(Je=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Je&&(je.osversion=Je);var Qe=!je.windows&&Je.split(".")[0];return Ae||ce||x=="ipad"||ee&&(Qe==3||Qe>=4&&!Ie)||je.silk?je.tablet=se:(Ie||x=="iphone"||x=="ipod"||ee||te||je.blackberry||je.webos||je.bada)&&(je.mobile=se),je.msedge||je.msie&&je.version>=10||je.yandexbrowser&&je.version>=15||je.vivaldi&&je.version>=1||je.chrome&&je.version>=20||je.samsungBrowser&&je.version>=4||je.whale&&ae([je.version,"1.0"])===1||je.mzbrowser&&ae([je.version,"6.0"])===1||je.focus&&ae([je.version,"1.0"])===1||je.firefox&&je.version>=20||je.safari&&je.version>=6||je.opera&&je.version>=10||je.ios&&je.osversion&&je.osversion.split(".")[0]>=6||je.blackberry&&je.version>=10.1||je.chromium&&je.version>=20?je.a=se:je.msie&&je.version<10||je.chrome&&je.version<20||je.firefox&&je.version<20||je.safari&&je.version<6||je.opera&&je.version<10||je.ios&&je.osversion&&je.osversion.split(".")[0]<6||je.chromium&&je.version<20?je.c=se:je.x=se,je}var ie=re(typeof navigator!="undefined"&&navigator.userAgent||"");ie.test=function(z){for(var a=0;a<z.length;++a){var y=z[a];if(typeof y=="string"&&y in ie)return!0}return!1};function le(z){return z.split(".").length}function ue(z,a){var y=[],x;if(Array.prototype.map)return Array.prototype.map.call(z,a);for(x=0;x<z.length;x++)y.push(a(z[x]));return y}function ae(z){for(var a=Math.max(le(z[0]),le(z[1])),y=ue(z,function(x){var b=a-le(x);return x=x+new Array(b+1).join(".0"),ue(x.split("."),function(ee){return new Array(20-ee.length).join("0")+ee}).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(z,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 ee in z)if(z.hasOwnProperty(ee)&&x[ee]){if(typeof z[ee]!="string")throw new Error("Browser version in the minVersion map should be a string: "+ee+": "+String(z));return ae([b,z[ee]])<0}return a}function ne(z,a,y){return!oe(z,a,y)}return ie.isUnsupportedBrowser=oe,ie.compareVersions=ae,ie.check=ne,ie._detect=re,ie.detect=re,ie})},{}],89:[function(E,he,fe){},{}],90:[function(E,he,fe){(function(se){(function(){"use strict";var re=E("base64-js"),ie=E("ieee754");fe.Buffer=oe,fe.SlowBuffer=de,fe.INSPECT_MAX_BYTES=50;var le=2147483647;fe.kMaxLength=le,oe.TYPED_ARRAY_SUPPORT=ue(),!oe.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ue(){try{var Oe=new Uint8Array(1);return Oe.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Oe.foo()===42}catch(_e){return!1}}Object.defineProperty(oe.prototype,"parent",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.buffer}}),Object.defineProperty(oe.prototype,"offset",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.byteOffset}});function ae(Oe){if(Oe>le)throw new RangeError('The value "'+Oe+'" is invalid for option "size"');var _e=new Uint8Array(Oe);return _e.__proto__=oe.prototype,_e}function oe(Oe,_e,Ne){if(typeof Oe=="number"){if(typeof _e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Oe)}return ne(Oe,_e,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(Oe,_e,Ne){if(typeof Oe=="string")return x(Oe,_e);if(ArrayBuffer.isView(Oe))return b(Oe);if(Oe==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Oe);if(Ze(Oe,ArrayBuffer)||Oe&&Ze(Oe.buffer,ArrayBuffer))return ee(Oe,_e,Ne);if(typeof Oe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ze=Oe.valueOf&&Oe.valueOf();if(ze!=null&&ze!==Oe)return oe.from(ze,_e,Ne);var ot=te(Oe);if(ot)return ot;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Oe[Symbol.toPrimitive]=="function")return oe.from(Oe[Symbol.toPrimitive]("string"),_e,Ne);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Oe)}oe.from=function(Oe,_e,Ne){return ne(Oe,_e,Ne)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function z(Oe){if(typeof Oe!="number")throw new TypeError('"size" argument must be of type number');if(Oe<0)throw new RangeError('The value "'+Oe+'" is invalid for option "size"')}function a(Oe,_e,Ne){return z(Oe),Oe<=0?ae(Oe):_e!==void 0?typeof Ne=="string"?ae(Oe).fill(_e,Ne):ae(Oe).fill(_e):ae(Oe)}oe.alloc=function(Oe,_e,Ne){return a(Oe,_e,Ne)};function y(Oe){return z(Oe),ae(Oe<0?0:ce(Oe)|0)}oe.allocUnsafe=function(Oe){return y(Oe)},oe.allocUnsafeSlow=function(Oe){return y(Oe)};function x(Oe,_e){if((typeof _e!="string"||_e==="")&&(_e="utf8"),!oe.isEncoding(_e))throw new TypeError("Unknown encoding: "+_e);var Ne=ge(Oe,_e)|0,ze=ae(Ne),ot=ze.write(Oe,_e);return ot!==Ne&&(ze=ze.slice(0,ot)),ze}function b(Oe){for(var _e=Oe.length<0?0:ce(Oe.length)|0,Ne=ae(_e),ze=0;ze<_e;ze+=1)Ne[ze]=Oe[ze]&255;return Ne}function ee(Oe,_e,Ne){if(_e<0||Oe.byteLength<_e)throw new RangeError('"offset" is outside of buffer bounds');if(Oe.byteLength<_e+(Ne||0))throw new RangeError('"length" is outside of buffer bounds');var ze;return _e===void 0&&Ne===void 0?ze=new Uint8Array(Oe):Ne===void 0?ze=new Uint8Array(Oe,_e):ze=new Uint8Array(Oe,_e,Ne),ze.__proto__=oe.prototype,ze}function te(Oe){if(oe.isBuffer(Oe)){var _e=ce(Oe.length)|0,Ne=ae(_e);return Ne.length===0||Oe.copy(Ne,0,0,_e),Ne}if(Oe.length!==void 0)return typeof Oe.length!="number"||Fe(Oe.length)?ae(0):b(Oe);if(Oe.type==="Buffer"&&Array.isArray(Oe.data))return b(Oe.data)}function ce(Oe){if(Oe>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return Oe|0}function de(Oe){return+Oe!=Oe&&(Oe=0),oe.alloc(+Oe)}oe.isBuffer=function(_e){return _e!=null&&_e._isBuffer===!0&&_e!==oe.prototype},oe.compare=function(_e,Ne){if(Ze(_e,Uint8Array)&&(_e=oe.from(_e,_e.offset,_e.byteLength)),Ze(Ne,Uint8Array)&&(Ne=oe.from(Ne,Ne.offset,Ne.byteLength)),!oe.isBuffer(_e)||!oe.isBuffer(Ne))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(_e===Ne)return 0;for(var ze=_e.length,ot=Ne.length,gt=0,yt=Math.min(ze,ot);gt<yt;++gt)if(_e[gt]!==Ne[gt]){ze=_e[gt],ot=Ne[gt];break}return ze<ot?-1:ot<ze?1:0},oe.isEncoding=function(_e){switch(String(_e).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(_e,Ne){if(!Array.isArray(_e))throw new TypeError('"list" argument must be an Array of Buffers');if(_e.length===0)return oe.alloc(0);var ze;if(Ne===void 0)for(Ne=0,ze=0;ze<_e.length;++ze)Ne+=_e[ze].length;var ot=oe.allocUnsafe(Ne),gt=0;for(ze=0;ze<_e.length;++ze){var yt=_e[ze];if(Ze(yt,Uint8Array)&&(yt=oe.from(yt)),!oe.isBuffer(yt))throw new TypeError('"list" argument must be an Array of Buffers');yt.copy(ot,gt),gt+=yt.length}return ot};function ge(Oe,_e){if(oe.isBuffer(Oe))return Oe.length;if(ArrayBuffer.isView(Oe)||Ze(Oe,ArrayBuffer))return Oe.byteLength;if(typeof Oe!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Oe);var Ne=Oe.length,ze=arguments.length>2&&arguments[2]===!0;if(!ze&&Ne===0)return 0;for(var ot=!1;;)switch(_e){case"ascii":case"latin1":case"binary":return Ne;case"utf8":case"utf-8":return Re(Oe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne*2;case"hex":return Ne>>>1;case"base64":return Ge(Oe).length;default:if(ot)return ze?-1:Re(Oe).length;_e=(""+_e).toLowerCase(),ot=!0}}oe.byteLength=ge;function ve(Oe,_e,Ne){var ze=!1;if((_e===void 0||_e<0)&&(_e=0),_e>this.length||((Ne===void 0||Ne>this.length)&&(Ne=this.length),Ne<=0)||(Ne>>>=0,_e>>>=0,Ne<=_e))return"";for(Oe||(Oe="utf8");;)switch(Oe){case"hex":return Qe(this,_e,Ne);case"utf8":case"utf-8":return Ie(this,_e,Ne);case"ascii":return tt(this,_e,Ne);case"latin1":case"binary":return Je(this,_e,Ne);case"base64":return Ae(this,_e,Ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe(this,_e,Ne);default:if(ze)throw new TypeError("Unknown encoding: "+Oe);Oe=(Oe+"").toLowerCase(),ze=!0}}oe.prototype._isBuffer=!0;function pe(Oe,_e,Ne){var ze=Oe[_e];Oe[_e]=Oe[Ne],Oe[Ne]=ze}oe.prototype.swap16=function(){var _e=this.length;if(_e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ne=0;Ne<_e;Ne+=2)pe(this,Ne,Ne+1);return this},oe.prototype.swap32=function(){var _e=this.length;if(_e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Ne=0;Ne<_e;Ne+=4)pe(this,Ne,Ne+3),pe(this,Ne+1,Ne+2);return this},oe.prototype.swap64=function(){var _e=this.length;if(_e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Ne=0;Ne<_e;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 _e=this.length;return _e===0?"":arguments.length===0?Ie(this,0,_e):ve.apply(this,arguments)},oe.prototype.toLocaleString=oe.prototype.toString,oe.prototype.equals=function(_e){if(!oe.isBuffer(_e))throw new TypeError("Argument must be a Buffer");return this===_e?!0:oe.compare(this,_e)===0},oe.prototype.inspect=function(){var _e="",Ne=fe.INSPECT_MAX_BYTES;return _e=this.toString("hex",0,Ne).replace(/(.{2})/g,"$1 ").trim(),this.length>Ne&&(_e+=" ... "),"<Buffer "+_e+">"},oe.prototype.compare=function(_e,Ne,ze,ot,gt){if(Ze(_e,Uint8Array)&&(_e=oe.from(_e,_e.offset,_e.byteLength)),!oe.isBuffer(_e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof _e);if(Ne===void 0&&(Ne=0),ze===void 0&&(ze=_e?_e.length:0),ot===void 0&&(ot=0),gt===void 0&&(gt=this.length),Ne<0||ze>_e.length||ot<0||gt>this.length)throw new RangeError("out of range index");if(ot>=gt&&Ne>=ze)return 0;if(ot>=gt)return-1;if(Ne>=ze)return 1;if(Ne>>>=0,ze>>>=0,ot>>>=0,gt>>>=0,this===_e)return 0;for(var yt=gt-ot,nt=ze-Ne,mt=Math.min(yt,nt),At=this.slice(ot,gt),kt=_e.slice(Ne,ze),at=0;at<mt;++at)if(At[at]!==kt[at]){yt=At[at],nt=kt[at];break}return yt<nt?-1:nt<yt?1:0};function Se(Oe,_e,Ne,ze,ot){if(Oe.length===0)return-1;if(typeof Ne=="string"?(ze=Ne,Ne=0):Ne>2147483647?Ne=2147483647:Ne<-2147483648&&(Ne=-2147483648),Ne=+Ne,Fe(Ne)&&(Ne=ot?0:Oe.length-1),Ne<0&&(Ne=Oe.length+Ne),Ne>=Oe.length){if(ot)return-1;Ne=Oe.length-1}else if(Ne<0)if(ot)Ne=0;else return-1;if(typeof _e=="string"&&(_e=oe.from(_e,ze)),oe.isBuffer(_e))return _e.length===0?-1:ye(Oe,_e,Ne,ze,ot);if(typeof _e=="number")return _e=_e&255,typeof Uint8Array.prototype.indexOf=="function"?ot?Uint8Array.prototype.indexOf.call(Oe,_e,Ne):Uint8Array.prototype.lastIndexOf.call(Oe,_e,Ne):ye(Oe,[_e],Ne,ze,ot);throw new TypeError("val must be string, number or Buffer")}function ye(Oe,_e,Ne,ze,ot){var gt=1,yt=Oe.length,nt=_e.length;if(ze!==void 0&&(ze=String(ze).toLowerCase(),ze==="ucs2"||ze==="ucs-2"||ze==="utf16le"||ze==="utf-16le")){if(Oe.length<2||_e.length<2)return-1;gt=2,yt/=2,nt/=2,Ne/=2}function mt(st,pt){return gt===1?st[pt]:st.readUInt16BE(pt*gt)}var At;if(ot){var kt=-1;for(At=Ne;At<yt;At++)if(mt(Oe,At)===mt(_e,kt===-1?0:At-kt)){if(kt===-1&&(kt=At),At-kt+1===nt)return kt*gt}else kt!==-1&&(At-=At-kt),kt=-1}else for(Ne+nt>yt&&(Ne=yt-nt),At=Ne;At>=0;At--){for(var at=!0,Mt=0;Mt<nt;Mt++)if(mt(Oe,At+Mt)!==mt(_e,Mt)){at=!1;break}if(at)return At}return-1}oe.prototype.includes=function(_e,Ne,ze){return this.indexOf(_e,Ne,ze)!==-1},oe.prototype.indexOf=function(_e,Ne,ze){return Se(this,_e,Ne,ze,!0)},oe.prototype.lastIndexOf=function(_e,Ne,ze){return Se(this,_e,Ne,ze,!1)};function Pe(Oe,_e,Ne,ze){Ne=Number(Ne)||0;var ot=Oe.length-Ne;ze?(ze=Number(ze),ze>ot&&(ze=ot)):ze=ot;var gt=_e.length;ze>gt/2&&(ze=gt/2);for(var yt=0;yt<ze;++yt){var nt=parseInt(_e.substr(yt*2,2),16);if(Fe(nt))return yt;Oe[Ne+yt]=nt}return yt}function we(Oe,_e,Ne,ze){return Ve(Re(_e,Oe.length-Ne),Oe,Ne,ze)}function Le(Oe,_e,Ne,ze){return Ve(et(_e),Oe,Ne,ze)}function Ee(Oe,_e,Ne,ze){return Le(Oe,_e,Ne,ze)}function Te(Oe,_e,Ne,ze){return Ve(Ge(_e),Oe,Ne,ze)}function Ce(Oe,_e,Ne,ze){return Ve(Me(_e,Oe.length-Ne),Oe,Ne,ze)}oe.prototype.write=function(_e,Ne,ze,ot){if(Ne===void 0)ot="utf8",ze=this.length,Ne=0;else if(ze===void 0&&typeof Ne=="string")ot=Ne,ze=this.length,Ne=0;else if(isFinite(Ne))Ne=Ne>>>0,isFinite(ze)?(ze=ze>>>0,ot===void 0&&(ot="utf8")):(ot=ze,ze=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var gt=this.length-Ne;if((ze===void 0||ze>gt)&&(ze=gt),_e.length>0&&(ze<0||Ne<0)||Ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");ot||(ot="utf8");for(var yt=!1;;)switch(ot){case"hex":return Pe(this,_e,Ne,ze);case"utf8":case"utf-8":return we(this,_e,Ne,ze);case"ascii":return Le(this,_e,Ne,ze);case"latin1":case"binary":return Ee(this,_e,Ne,ze);case"base64":return Te(this,_e,Ne,ze);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(this,_e,Ne,ze);default:if(yt)throw new TypeError("Unknown encoding: "+ot);ot=(""+ot).toLowerCase(),yt=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ae(Oe,_e,Ne){return _e===0&&Ne===Oe.length?re.fromByteArray(Oe):re.fromByteArray(Oe.slice(_e,Ne))}function Ie(Oe,_e,Ne){Ne=Math.min(Oe.length,Ne);for(var ze=[],ot=_e;ot<Ne;){var gt=Oe[ot],yt=null,nt=gt>239?4:gt>223?3:gt>191?2:1;if(ot+nt<=Ne){var mt,At,kt,at;switch(nt){case 1:gt<128&&(yt=gt);break;case 2:mt=Oe[ot+1],(mt&192)===128&&(at=(gt&31)<<6|mt&63,at>127&&(yt=at));break;case 3:mt=Oe[ot+1],At=Oe[ot+2],(mt&192)===128&&(At&192)===128&&(at=(gt&15)<<12|(mt&63)<<6|At&63,at>2047&&(at<55296||at>57343)&&(yt=at));break;case 4:mt=Oe[ot+1],At=Oe[ot+2],kt=Oe[ot+3],(mt&192)===128&&(At&192)===128&&(kt&192)===128&&(at=(gt&15)<<18|(mt&63)<<12|(At&63)<<6|kt&63,at>65535&&at<1114112&&(yt=at))}}yt===null?(yt=65533,nt=1):yt>65535&&(yt-=65536,ze.push(yt>>>10&1023|55296),yt=56320|yt&1023),ze.push(yt),ot+=nt}return je(ze)}var He=4096;function je(Oe){var _e=Oe.length;if(_e<=He)return String.fromCharCode.apply(String,Oe);for(var Ne="",ze=0;ze<_e;)Ne+=String.fromCharCode.apply(String,Oe.slice(ze,ze+=He));return Ne}function tt(Oe,_e,Ne){var ze="";Ne=Math.min(Oe.length,Ne);for(var ot=_e;ot<Ne;++ot)ze+=String.fromCharCode(Oe[ot]&127);return ze}function Je(Oe,_e,Ne){var ze="";Ne=Math.min(Oe.length,Ne);for(var ot=_e;ot<Ne;++ot)ze+=String.fromCharCode(Oe[ot]);return ze}function Qe(Oe,_e,Ne){var ze=Oe.length;(!_e||_e<0)&&(_e=0),(!Ne||Ne<0||Ne>ze)&&(Ne=ze);for(var ot="",gt=_e;gt<Ne;++gt)ot+=Ke(Oe[gt]);return ot}function Xe(Oe,_e,Ne){for(var ze=Oe.slice(_e,Ne),ot="",gt=0;gt<ze.length;gt+=2)ot+=String.fromCharCode(ze[gt]+ze[gt+1]*256);return ot}oe.prototype.slice=function(_e,Ne){var ze=this.length;_e=~~_e,Ne=Ne===void 0?ze:~~Ne,_e<0?(_e+=ze,_e<0&&(_e=0)):_e>ze&&(_e=ze),Ne<0?(Ne+=ze,Ne<0&&(Ne=0)):Ne>ze&&(Ne=ze),Ne<_e&&(Ne=_e);var ot=this.subarray(_e,Ne);return ot.__proto__=oe.prototype,ot};function $e(Oe,_e,Ne){if(Oe%1!==0||Oe<0)throw new RangeError("offset is not uint");if(Oe+_e>Ne)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(_e,Ne,ze){_e=_e>>>0,Ne=Ne>>>0,ze||$e(_e,Ne,this.length);for(var ot=this[_e],gt=1,yt=0;++yt<Ne&&(gt*=256);)ot+=this[_e+yt]*gt;return ot},oe.prototype.readUIntBE=function(_e,Ne,ze){_e=_e>>>0,Ne=Ne>>>0,ze||$e(_e,Ne,this.length);for(var ot=this[_e+--Ne],gt=1;Ne>0&&(gt*=256);)ot+=this[_e+--Ne]*gt;return ot},oe.prototype.readUInt8=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,1,this.length),this[_e]},oe.prototype.readUInt16LE=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,2,this.length),this[_e]|this[_e+1]<<8},oe.prototype.readUInt16BE=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,2,this.length),this[_e]<<8|this[_e+1]},oe.prototype.readUInt32LE=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,4,this.length),(this[_e]|this[_e+1]<<8|this[_e+2]<<16)+this[_e+3]*16777216},oe.prototype.readUInt32BE=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,4,this.length),this[_e]*16777216+(this[_e+1]<<16|this[_e+2]<<8|this[_e+3])},oe.prototype.readIntLE=function(_e,Ne,ze){_e=_e>>>0,Ne=Ne>>>0,ze||$e(_e,Ne,this.length);for(var ot=this[_e],gt=1,yt=0;++yt<Ne&&(gt*=256);)ot+=this[_e+yt]*gt;return gt*=128,ot>=gt&&(ot-=Math.pow(2,8*Ne)),ot},oe.prototype.readIntBE=function(_e,Ne,ze){_e=_e>>>0,Ne=Ne>>>0,ze||$e(_e,Ne,this.length);for(var ot=Ne,gt=1,yt=this[_e+--ot];ot>0&&(gt*=256);)yt+=this[_e+--ot]*gt;return gt*=128,yt>=gt&&(yt-=Math.pow(2,8*Ne)),yt},oe.prototype.readInt8=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,1,this.length),this[_e]&128?(255-this[_e]+1)*-1:this[_e]},oe.prototype.readInt16LE=function(_e,Ne){_e=_e>>>0,Ne||$e(_e,2,this.length);var ze=this[_e]|this[_e+1]<<8;return ze&32768?ze|4294901760:ze},oe.prototype.readInt16BE=function(_e,Ne){_e=_e>>>0,Ne||$e(_e,2,this.length);var ze=this[_e+1]|this[_e]<<8;return ze&32768?ze|4294901760:ze},oe.prototype.readInt32LE=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,4,this.length),this[_e]|this[_e+1]<<8|this[_e+2]<<16|this[_e+3]<<24},oe.prototype.readInt32BE=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,4,this.length),this[_e]<<24|this[_e+1]<<16|this[_e+2]<<8|this[_e+3]},oe.prototype.readFloatLE=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,4,this.length),ie.read(this,_e,!0,23,4)},oe.prototype.readFloatBE=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,4,this.length),ie.read(this,_e,!1,23,4)},oe.prototype.readDoubleLE=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,8,this.length),ie.read(this,_e,!0,52,8)},oe.prototype.readDoubleBE=function(_e,Ne){return _e=_e>>>0,Ne||$e(_e,8,this.length),ie.read(this,_e,!1,52,8)};function ke(Oe,_e,Ne,ze,ot,gt){if(!oe.isBuffer(Oe))throw new TypeError('"buffer" argument must be a Buffer instance');if(_e>ot||_e<gt)throw new RangeError('"value" argument is out of bounds');if(Ne+ze>Oe.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(_e,Ne,ze,ot){if(_e=+_e,Ne=Ne>>>0,ze=ze>>>0,!ot){var gt=Math.pow(2,8*ze)-1;ke(this,_e,Ne,ze,gt,0)}var yt=1,nt=0;for(this[Ne]=_e&255;++nt<ze&&(yt*=256);)this[Ne+nt]=_e/yt&255;return Ne+ze},oe.prototype.writeUIntBE=function(_e,Ne,ze,ot){if(_e=+_e,Ne=Ne>>>0,ze=ze>>>0,!ot){var gt=Math.pow(2,8*ze)-1;ke(this,_e,Ne,ze,gt,0)}var yt=ze-1,nt=1;for(this[Ne+yt]=_e&255;--yt>=0&&(nt*=256);)this[Ne+yt]=_e/nt&255;return Ne+ze},oe.prototype.writeUInt8=function(_e,Ne,ze){return _e=+_e,Ne=Ne>>>0,ze||ke(this,_e,Ne,1,255,0),this[Ne]=_e&255,Ne+1},oe.prototype.writeUInt16LE=function(_e,Ne,ze){return _e=+_e,Ne=Ne>>>0,ze||ke(this,_e,Ne,2,65535,0),this[Ne]=_e&255,this[Ne+1]=_e>>>8,Ne+2},oe.prototype.writeUInt16BE=function(_e,Ne,ze){return _e=+_e,Ne=Ne>>>0,ze||ke(this,_e,Ne,2,65535,0),this[Ne]=_e>>>8,this[Ne+1]=_e&255,Ne+2},oe.prototype.writeUInt32LE=function(_e,Ne,ze){return _e=+_e,Ne=Ne>>>0,ze||ke(this,_e,Ne,4,4294967295,0),this[Ne+3]=_e>>>24,this[Ne+2]=_e>>>16,this[Ne+1]=_e>>>8,this[Ne]=_e&255,Ne+4},oe.prototype.writeUInt32BE=function(_e,Ne,ze){return _e=+_e,Ne=Ne>>>0,ze||ke(this,_e,Ne,4,4294967295,0),this[Ne]=_e>>>24,this[Ne+1]=_e>>>16,this[Ne+2]=_e>>>8,this[Ne+3]=_e&255,Ne+4},oe.prototype.writeIntLE=function(_e,Ne,ze,ot){if(_e=+_e,Ne=Ne>>>0,!ot){var gt=Math.pow(2,8*ze-1);ke(this,_e,Ne,ze,gt-1,-gt)}var yt=0,nt=1,mt=0;for(this[Ne]=_e&255;++yt<ze&&(nt*=256);)_e<0&&mt===0&&this[Ne+yt-1]!==0&&(mt=1),this[Ne+yt]=(_e/nt>>0)-mt&255;return Ne+ze},oe.prototype.writeIntBE=function(_e,Ne,ze,ot){if(_e=+_e,Ne=Ne>>>0,!ot){var gt=Math.pow(2,8*ze-1);ke(this,_e,Ne,ze,gt-1,-gt)}var yt=ze-1,nt=1,mt=0;for(this[Ne+yt]=_e&255;--yt>=0&&(nt*=256);)_e<0&&mt===0&&this[Ne+yt+1]!==0&&(mt=1),this[Ne+yt]=(_e/nt>>0)-mt&255;return Ne+ze},oe.prototype.writeInt8=function(_e,Ne,ze){return _e=+_e,Ne=Ne>>>0,ze||ke(this,_e,Ne,1,127,-128),_e<0&&(_e=255+_e+1),this[Ne]=_e&255,Ne+1},oe.prototype.writeInt16LE=function(_e,Ne,ze){return _e=+_e,Ne=Ne>>>0,ze||ke(this,_e,Ne,2,32767,-32768),this[Ne]=_e&255,this[Ne+1]=_e>>>8,Ne+2},oe.prototype.writeInt16BE=function(_e,Ne,ze){return _e=+_e,Ne=Ne>>>0,ze||ke(this,_e,Ne,2,32767,-32768),this[Ne]=_e>>>8,this[Ne+1]=_e&255,Ne+2},oe.prototype.writeInt32LE=function(_e,Ne,ze){return _e=+_e,Ne=Ne>>>0,ze||ke(this,_e,Ne,4,2147483647,-2147483648),this[Ne]=_e&255,this[Ne+1]=_e>>>8,this[Ne+2]=_e>>>16,this[Ne+3]=_e>>>24,Ne+4},oe.prototype.writeInt32BE=function(_e,Ne,ze){return _e=+_e,Ne=Ne>>>0,ze||ke(this,_e,Ne,4,2147483647,-2147483648),_e<0&&(_e=4294967295+_e+1),this[Ne]=_e>>>24,this[Ne+1]=_e>>>16,this[Ne+2]=_e>>>8,this[Ne+3]=_e&255,Ne+4};function Ue(Oe,_e,Ne,ze,ot,gt){if(Ne+ze>Oe.length)throw new RangeError("Index out of range");if(Ne<0)throw new RangeError("Index out of range")}function qe(Oe,_e,Ne,ze,ot){return _e=+_e,Ne=Ne>>>0,ot||Ue(Oe,_e,Ne,4,34028234663852886e22,-34028234663852886e22),ie.write(Oe,_e,Ne,ze,23,4),Ne+4}oe.prototype.writeFloatLE=function(_e,Ne,ze){return qe(this,_e,Ne,!0,ze)},oe.prototype.writeFloatBE=function(_e,Ne,ze){return qe(this,_e,Ne,!1,ze)};function Ye(Oe,_e,Ne,ze,ot){return _e=+_e,Ne=Ne>>>0,ot||Ue(Oe,_e,Ne,8,17976931348623157e292,-17976931348623157e292),ie.write(Oe,_e,Ne,ze,52,8),Ne+8}oe.prototype.writeDoubleLE=function(_e,Ne,ze){return Ye(this,_e,Ne,!0,ze)},oe.prototype.writeDoubleBE=function(_e,Ne,ze){return Ye(this,_e,Ne,!1,ze)},oe.prototype.copy=function(_e,Ne,ze,ot){if(!oe.isBuffer(_e))throw new TypeError("argument should be a Buffer");if(ze||(ze=0),!ot&&ot!==0&&(ot=this.length),Ne>=_e.length&&(Ne=_e.length),Ne||(Ne=0),ot>0&&ot<ze&&(ot=ze),ot===ze||_e.length===0||this.length===0)return 0;if(Ne<0)throw new RangeError("targetStart out of bounds");if(ze<0||ze>=this.length)throw new RangeError("Index out of range");if(ot<0)throw new RangeError("sourceEnd out of bounds");ot>this.length&&(ot=this.length),_e.length-Ne<ot-ze&&(ot=_e.length-Ne+ze);var gt=ot-ze;if(this===_e&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Ne,ze,ot);else if(this===_e&&ze<Ne&&Ne<ot)for(var yt=gt-1;yt>=0;--yt)_e[yt+Ne]=this[yt+ze];else Uint8Array.prototype.set.call(_e,this.subarray(ze,ot),Ne);return gt},oe.prototype.fill=function(_e,Ne,ze,ot){if(typeof _e=="string"){if(typeof Ne=="string"?(ot=Ne,Ne=0,ze=this.length):typeof ze=="string"&&(ot=ze,ze=this.length),ot!==void 0&&typeof ot!="string")throw new TypeError("encoding must be a string");if(typeof ot=="string"&&!oe.isEncoding(ot))throw new TypeError("Unknown encoding: "+ot);if(_e.length===1){var gt=_e.charCodeAt(0);(ot==="utf8"&&gt<128||ot==="latin1")&&(_e=gt)}}else typeof _e=="number"&&(_e=_e&255);if(Ne<0||this.length<Ne||this.length<ze)throw new RangeError("Out of range index");if(ze<=Ne)return this;Ne=Ne>>>0,ze=ze===void 0?this.length:ze>>>0,_e||(_e=0);var yt;if(typeof _e=="number")for(yt=Ne;yt<ze;++yt)this[yt]=_e;else{var nt=oe.isBuffer(_e)?_e:oe.from(_e,ot),mt=nt.length;if(mt===0)throw new TypeError('The value "'+_e+'" is invalid for argument "value"');for(yt=0;yt<ze-Ne;++yt)this[yt+Ne]=nt[yt%mt]}return this};var ft=/[^+/0-9A-Za-z-_]/g;function We(Oe){if(Oe=Oe.split("=")[0],Oe=Oe.trim().replace(ft,""),Oe.length<2)return"";for(;Oe.length%4!==0;)Oe=Oe+"=";return Oe}function Ke(Oe){return Oe<16?"0"+Oe.toString(16):Oe.toString(16)}function Re(Oe,_e){_e=_e||1/0;for(var Ne,ze=Oe.length,ot=null,gt=[],yt=0;yt<ze;++yt){if(Ne=Oe.charCodeAt(yt),Ne>55295&&Ne<57344){if(!ot){if(Ne>56319){(_e-=3)>-1&&gt.push(239,191,189);continue}else if(yt+1===ze){(_e-=3)>-1&&gt.push(239,191,189);continue}ot=Ne;continue}if(Ne<56320){(_e-=3)>-1&&gt.push(239,191,189),ot=Ne;continue}Ne=(ot-55296<<10|Ne-56320)+65536}else ot&&(_e-=3)>-1&&gt.push(239,191,189);if(ot=null,Ne<128){if((_e-=1)<0)break;gt.push(Ne)}else if(Ne<2048){if((_e-=2)<0)break;gt.push(Ne>>6|192,Ne&63|128)}else if(Ne<65536){if((_e-=3)<0)break;gt.push(Ne>>12|224,Ne>>6&63|128,Ne&63|128)}else if(Ne<1114112){if((_e-=4)<0)break;gt.push(Ne>>18|240,Ne>>12&63|128,Ne>>6&63|128,Ne&63|128)}else throw new Error("Invalid code point")}return gt}function et(Oe){for(var _e=[],Ne=0;Ne<Oe.length;++Ne)_e.push(Oe.charCodeAt(Ne)&255);return _e}function Me(Oe,_e){for(var Ne,ze,ot,gt=[],yt=0;yt<Oe.length&&!((_e-=2)<0);++yt)Ne=Oe.charCodeAt(yt),ze=Ne>>8,ot=Ne%256,gt.push(ot),gt.push(ze);return gt}function Ge(Oe){return re.toByteArray(We(Oe))}function Ve(Oe,_e,Ne,ze){for(var ot=0;ot<ze&&!(ot+Ne>=_e.length||ot>=Oe.length);++ot)_e[ot+Ne]=Oe[ot];return ot}function Ze(Oe,_e){return Oe instanceof _e||Oe!=null&&Oe.constructor!=null&&Oe.constructor.name!=null&&Oe.constructor.name===_e.name}function Fe(Oe){return Oe!==Oe}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,he,fe){he.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(E,he,fe){"use strict";var se=E("get-intrinsic"),re=E("./"),ie=re(se("String.prototype.indexOf"));he.exports=function(ue,ae){var oe=se(ue,!!ae);return typeof oe=="function"&&ie(ue,".prototype.")>-1?re(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(E,he,fe){"use strict";var se=E("function-bind"),re=E("get-intrinsic"),ie=re("%Function.prototype.apply%"),le=re("%Function.prototype.call%"),ue=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}he.exports=function(y){var x=ue(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 z=function(){return ue(se,ie,arguments)};oe?oe(he.exports,"apply",{value:z}):he.exports.apply=z},{"function-bind":347,"get-intrinsic":348}],94:[function(E,he,fe){"use strict";var se=Array.prototype.slice;he.exports=re;function re(le,ue){if(!(this instanceof re))return new re(le,ue);this.src=le,this._withAccess=ue}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 ue=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ae=0;ae<ue.length;ae++)oe=ue[ae],le[oe]===void 0&&(le[oe]=this.src[oe]);return le}for(var ae=0;ae<ue.length;ae++){var oe=ue[ae];if(ie(le,oe)){var ne=this.src.__lookupGetter__(oe),z=this.src.__lookupSetter__(oe);ne&&le.__defineGetter__(oe,ne),z&&le.__defineSetter__(oe,z),!ne&&!z&&(le[oe]=this.src[oe])}}return le},re.prototype.toCover=function(le){for(var ue=this.keys||Object.keys(this.src),ae=0;ae<ue.length;ae++){var oe=ue[ae];delete le[oe];var ne=this.src.__lookupGetter__(oe),z=this.src.__lookupSetter__(oe);ne&&le.__defineGetter__(oe,ne),z&&le.__defineSetter__(oe,z),!ne&&!z&&(le[oe]=this.src[oe])}},re.prototype.override=re.prototype.toCover,re.prototype.and=function(le){var ue={};return this.to(ue),this.src=le,this.to(ue),this.src=ue,this};function ie(le,ue){return le[ue]===void 0&&le.__lookupGetter__(ue)===void 0&&le.__lookupSetter__(ue)===void 0}},{}],95:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=E("../internals/try-to-string"),le=se.TypeError;he.exports=function(ue){if(re(ue))return ue;throw le(ie(ue)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-constructor"),ie=E("../internals/try-to-string"),le=se.TypeError;he.exports=function(ue){if(re(ue))return ue;throw le(ie(ue)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=se.String,le=se.TypeError;he.exports=function(ue){if(typeof ue=="object"||re(ue))return ue;throw le("Can't set "+ie(ue)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,he,fe){var se=E("../internals/well-known-symbol"),re=E("../internals/object-create"),ie=E("../internals/object-define-property"),le=se("unscopables"),ue=Array.prototype;ue[le]==null&&ie.f(ue,le,{configurable:!0,value:re(null)}),he.exports=function(ae){ue[le][ae]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(E,he,fe){"use strict";var se=E("../internals/string-multibyte").charAt;he.exports=function(re,ie,le){return ie+(le?se(re,ie).length:1)}},{"../internals/string-multibyte":239}],100:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/object-is-prototype-of"),ie=se.TypeError;he.exports=function(le,ue){if(re(ue,le))return le;throw ie("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-object"),ie=se.String,le=se.TypeError;he.exports=function(ue){if(re(ue))return ue;throw le(ie(ue)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(E,he,fe){he.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-native"),re=E("../internals/descriptors"),ie=E("../internals/global"),le=E("../internals/is-callable"),ue=E("../internals/is-object"),ae=E("../internals/has-own-property"),oe=E("../internals/classof"),ne=E("../internals/try-to-string"),z=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"),ee=E("../internals/object-set-prototype-of"),te=E("../internals/well-known-symbol"),ce=E("../internals/uid"),de=ie.Int8Array,ge=de&&de.prototype,ve=ie.Uint8ClampedArray,pe=ve&&ve.prototype,Se=de&&b(de),ye=ge&&b(ge),Pe=Object.prototype,we=ie.TypeError,Le=te("toStringTag"),Ee=ce("TYPED_ARRAY_TAG"),Te=ce("TYPED_ARRAY_CONSTRUCTOR"),Ce=se&&!!ee&&oe(ie.opera)!=="Opera",Ae=!1,Ie,He,je,tt={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Je={BigInt64Array:8,BigUint64Array:8},Qe=function(ft){if(!ue(ft))return!1;var We=oe(ft);return We==="DataView"||ae(tt,We)||ae(Je,We)},Xe=function(Ye){if(!ue(Ye))return!1;var ft=oe(Ye);return ae(tt,ft)||ae(Je,ft)},$e=function(Ye){if(Xe(Ye))return Ye;throw we("Target is not a typed array")},ke=function(Ye){if(le(Ye)&&(!ee||x(Se,Ye)))return Ye;throw we(ne(Ye)+" is not a typed array constructor")},Ue=function(Ye,ft,We,Ke){if(re){if(We)for(var Re in tt){var et=ie[Re];if(et&&ae(et.prototype,Ye))try{delete et.prototype[Ye]}catch(Me){try{et.prototype[Ye]=ft}catch(Ge){}}}(!ye[Ye]||We)&&a(ye,Ye,We?ft:Ce&&ge[Ye]||ft,Ke)}},qe=function(Ye,ft,We){var Ke,Re;if(re){if(ee){if(We){for(Ke in tt)if(Re=ie[Ke],Re&&ae(Re,Ye))try{delete Re[Ye]}catch(et){}}if(!Se[Ye]||We)try{return a(Se,Ye,We?ft:Ce&&Se[Ye]||ft)}catch(et){}else return}for(Ke in tt)Re=ie[Ke],Re&&(!Re[Ye]||We)&&a(Re,Ye,ft)}};for(Ie in tt)He=ie[Ie],je=He&&He.prototype,je?z(je,Te,He):Ce=!1;for(Ie in Je)He=ie[Ie],je=He&&He.prototype,je&&z(je,Te,He);if((!Ce||!le(Se)||Se===Function.prototype)&&(Se=function(){throw we("Incorrect invocation")},Ce))for(Ie in tt)ie[Ie]&&ee(ie[Ie],Se);if((!Ce||!ye||ye===Pe)&&(ye=Se.prototype,Ce))for(Ie in tt)ie[Ie]&&ee(ie[Ie].prototype,ye);if(Ce&&b(pe)!==ye&&ee(pe,ye),re&&!ae(ye,Le)){Ae=!0,y(ye,Le,{get:function(){return ue(this)?this[Ee]:void 0}});for(Ie in tt)ie[Ie]&&z(ie[Ie],Ee,Ie)}he.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ce,TYPED_ARRAY_CONSTRUCTOR:Te,TYPED_ARRAY_TAG:Ae&&Ee,aTypedArray:$e,aTypedArrayConstructor:ke,exportTypedArrayMethod:Ue,exportTypedArrayStaticMethod:qe,isView:Qe,isTypedArray:Xe,TypedArray:Se,TypedArrayPrototype:ye}},{"../internals/array-buffer-native":102,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-define-property":198,"../internals/object-get-prototype-of":203,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/try-to-string":257,"../internals/uid":263,"../internals/well-known-symbol":268}],104:[function(E,he,fe){"use strict";var se=E("../internals/global"),re=E("../internals/function-uncurry-this"),ie=E("../internals/descriptors"),le=E("../internals/array-buffer-native"),ue=E("../internals/function-name"),ae=E("../internals/create-non-enumerable-property"),oe=E("../internals/redefine-all"),ne=E("../internals/fails"),z=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"),ee=E("../internals/object-get-prototype-of"),te=E("../internals/object-set-prototype-of"),ce=E("../internals/object-get-own-property-names").f,de=E("../internals/object-define-property").f,ge=E("../internals/array-fill"),ve=E("../internals/array-slice-simple"),pe=E("../internals/set-to-string-tag"),Se=E("../internals/internal-state"),ye=ue.PROPER,Pe=ue.CONFIGURABLE,we=Se.get,Le=Se.set,Ee="ArrayBuffer",Te="DataView",Ce="prototype",Ae="Wrong length",Ie="Wrong index",He=se[Ee],je=He,tt=je&&je[Ce],Je=se[Te],Qe=Je&&Je[Ce],Xe=Object.prototype,$e=se.Array,ke=se.RangeError,Ue=re(ge),qe=re([].reverse),Ye=b.pack,ft=b.unpack,We=function(yt){return[yt&255]},Ke=function(yt){return[yt&255,yt>>8&255]},Re=function(yt){return[yt&255,yt>>8&255,yt>>16&255,yt>>24&255]},et=function(yt){return yt[3]<<24|yt[2]<<16|yt[1]<<8|yt[0]},Me=function(yt){return Ye(yt,23,4)},Ge=function(yt){return Ye(yt,52,8)},Ve=function(yt,nt){de(yt[Ce],nt,{get:function(){return we(this)[nt]}})},Ze=function(yt,nt,mt,At){var kt=x(mt),at=we(yt);if(kt+nt>at.byteLength)throw ke(Ie);var Mt=we(at.buffer).bytes,st=kt+at.byteOffset,pt=ve(Mt,st,st+nt);return At?pt:qe(pt)},Fe=function(yt,nt,mt,At,kt,at){var Mt=x(mt),st=we(yt);if(Mt+nt>st.byteLength)throw ke(Ie);for(var pt=we(st.buffer).bytes,bt=Mt+st.byteOffset,Lt=At(+kt),Dt=0;Dt<nt;Dt++)pt[bt+Dt]=Lt[at?Dt:nt-Dt-1]};if(!le)je=function(nt){z(this,tt);var mt=x(nt);Le(this,{bytes:Ue($e(mt),0),byteLength:mt}),ie||(this.byteLength=mt)},tt=je[Ce],Je=function(nt,mt,At){z(this,Qe),z(nt,tt);var kt=we(nt).byteLength,at=a(mt);if(at<0||at>kt)throw ke("Wrong offset");if(At=At===void 0?kt-at:y(At),at+At>kt)throw ke(Ae);Le(this,{buffer:nt,byteLength:At,byteOffset:at}),ie||(this.buffer=nt,this.byteLength=At,this.byteOffset=at)},Qe=Je[Ce],ie&&(Ve(je,"byteLength"),Ve(Je,"buffer"),Ve(Je,"byteLength"),Ve(Je,"byteOffset")),oe(Qe,{getInt8:function(nt){return Ze(this,1,nt)[0]<<24>>24},getUint8:function(nt){return Ze(this,1,nt)[0]},getInt16:function(nt){var mt=Ze(this,2,nt,arguments.length>1?arguments[1]:void 0);return(mt[1]<<8|mt[0])<<16>>16},getUint16:function(nt){var mt=Ze(this,2,nt,arguments.length>1?arguments[1]:void 0);return mt[1]<<8|mt[0]},getInt32:function(nt){return et(Ze(this,4,nt,arguments.length>1?arguments[1]:void 0))},getUint32:function(nt){return et(Ze(this,4,nt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(nt){return ft(Ze(this,4,nt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(nt){return ft(Ze(this,8,nt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(nt,mt){Fe(this,1,nt,We,mt)},setUint8:function(nt,mt){Fe(this,1,nt,We,mt)},setInt16:function(nt,mt){Fe(this,2,nt,Ke,mt,arguments.length>2?arguments[2]:void 0)},setUint16:function(nt,mt){Fe(this,2,nt,Ke,mt,arguments.length>2?arguments[2]:void 0)},setInt32:function(nt,mt){Fe(this,4,nt,Re,mt,arguments.length>2?arguments[2]:void 0)},setUint32:function(nt,mt){Fe(this,4,nt,Re,mt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(nt,mt){Fe(this,4,nt,Me,mt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(nt,mt){Fe(this,8,nt,Ge,mt,arguments.length>2?arguments[2]:void 0)}});else{var Oe=ye&&He.name!==Ee;if(!ne(function(){He(1)})||!ne(function(){new He(-1)})||ne(function(){return new He,new He(1.5),new He(NaN),Oe&&!Pe})){je=function(nt){return z(this,tt),new He(x(nt))},je[Ce]=tt;for(var _e=ce(He),Ne=0,ze;_e.length>Ne;)(ze=_e[Ne++])in je||ae(je,ze,He[ze]);tt.constructor=je}else Oe&&Pe&&ae(He,"name",Ee);te&&ee(Qe)!==Xe&&te(Qe,Xe);var ot=new Je(new je(2)),gt=re(Qe.setInt8);ot.setInt8(0,2147483648),ot.setInt8(1,2147483649),(ot.getInt8(0)||!ot.getInt8(1))&&oe(Qe,{setInt8:function(nt,mt){gt(this,nt,mt<<24>>24)},setUint8:function(nt,mt){gt(this,nt,mt<<24>>24)}},{unsafe:!0})}pe(je,Ee),pe(Je,Te),he.exports={ArrayBuffer:je,DataView:Je}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,he,fe){"use strict";var se=E("../internals/to-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=Math.min;he.exports=[].copyWithin||function(ae,oe){var ne=se(this),z=ie(ne),a=re(ae,z),y=re(oe,z),x=arguments.length>2?arguments[2]:void 0,b=le((x===void 0?z:re(x,z))-y,z-a),ee=1;for(y<a&&a<y+b&&(ee=-1,y+=b-1,a+=b-1);b-- >0;)y in ne?ne[a]=ne[y]:delete ne[a],a+=ee,y+=ee;return ne}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,he,fe){"use strict";var se=E("../internals/to-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like");he.exports=function(ue){for(var ae=se(this),oe=ie(ae),ne=arguments.length,z=re(ne>1?arguments[1]:void 0,oe),a=ne>2?arguments[2]:void 0,y=a===void 0?oe:re(a,oe);y>z;)ae[z++]=ue;return ae}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,he,fe){"use strict";var se=E("../internals/array-iteration").forEach,re=E("../internals/array-method-is-strict"),ie=re("forEach");he.exports=ie?[].forEach:function(ue){return se(this,ue,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,he,fe){var se=E("../internals/length-of-array-like");he.exports=function(re,ie){for(var le=0,ue=se(ie),ae=new re(ue);ue>le;)ae[le]=ie[le++];return ae}},{"../internals/length-of-array-like":188}],109:[function(E,he,fe){"use strict";var se=E("../internals/global"),re=E("../internals/function-bind-context"),ie=E("../internals/function-call"),le=E("../internals/to-object"),ue=E("../internals/call-with-safe-iteration-closing"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/is-constructor"),ne=E("../internals/length-of-array-like"),z=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=se.Array;he.exports=function(ee){var te=le(ee),ce=oe(this),de=arguments.length,ge=de>1?arguments[1]:void 0,ve=ge!==void 0;ve&&(ge=re(ge,de>2?arguments[2]:void 0));var pe=y(te),Se=0,ye,Pe,we,Le,Ee,Te;if(pe&&!(this==x&&ae(pe)))for(Le=a(te,pe),Ee=Le.next,Pe=ce?new this:[];!(we=ie(Ee,Le)).done;Se++)Te=ve?ue(Le,ge,[we.value,Se],!0):we.value,z(Pe,Se,Te);else for(ye=ne(te),Pe=ce?new this(ye):x(ye);ye>Se;Se++)Te=ve?ge(te[Se],Se):te[Se],z(Pe,Se,Te);return Pe.length=Se,Pe}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,he,fe){var se=E("../internals/to-indexed-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=function(ue){return function(ae,oe,ne){var z=se(ae),a=ie(z),y=re(ne,a),x;if(ue&&oe!=oe){for(;a>y;)if(x=z[y++],x!=x)return!0}else for(;a>y;y++)if((ue||y in z)&&z[y]===oe)return ue||y||0;return!ue&&-1}};he.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,he,fe){var se=E("../internals/function-bind-context"),re=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),le=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/array-species-create"),oe=re([].push),ne=function(z){var a=z==1,y=z==2,x=z==3,b=z==4,ee=z==6,te=z==7,ce=z==5||ee;return function(de,ge,ve,pe){for(var Se=le(de),ye=ie(Se),Pe=se(ge,ve),we=ue(ye),Le=0,Ee=pe||ae,Te=a?Ee(de,we):y||te?Ee(de,0):void 0,Ce,Ae;we>Le;Le++)if((ce||Le in ye)&&(Ce=ye[Le],Ae=Pe(Ce,Le,Se),z))if(a)Te[Le]=Ae;else if(Ae)switch(z){case 3:return!0;case 5:return Ce;case 6:return Le;case 2:oe(Te,Ce)}else switch(z){case 4:return!1;case 7:oe(Te,Ce)}return ee?-1:x||b?b:Te}};he.exports={forEach:ne(0),map:ne(1),filter:ne(2),some:ne(3),every:ne(4),find:ne(5),findIndex:ne(6),filterReject:ne(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,he,fe){"use strict";var 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"),ue=E("../internals/array-method-is-strict"),ae=Math.min,oe=[].lastIndexOf,ne=!!oe&&1/[1].lastIndexOf(1,-0)<0,z=ue("lastIndexOf"),a=ne||!z;he.exports=a?function(x){if(ne)return se(oe,this,arguments)||0;var b=re(this),ee=le(b),te=ee-1;for(arguments.length>1&&(te=ae(te,ie(arguments[1]))),te<0&&(te=ee+te);te>=0;te--)if(te in b&&b[te]===x)return te||0;return-1}:oe},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(E,he,fe){var se=E("../internals/fails"),re=E("../internals/well-known-symbol"),ie=E("../internals/engine-v8-version"),le=re("species");he.exports=function(ue){return ie>=51||!se(function(){var ae=[],oe=ae.constructor={};return oe[le]=function(){return{foo:1}},ae[ue](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,he,fe){"use strict";var se=E("../internals/fails");he.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,he,fe){var se=E("../internals/global"),re=E("../internals/a-callable"),ie=E("../internals/to-object"),le=E("../internals/indexed-object"),ue=E("../internals/length-of-array-like"),ae=se.TypeError,oe=function(ne){return function(z,a,y,x){re(a);var b=ie(z),ee=le(b),te=ue(b),ce=ne?te-1:0,de=ne?-1:1;if(y<2)for(;;){if(ce in ee){x=ee[ce],ce+=de;break}if(ce+=de,ne?ce<0:te<=ce)throw ae("Reduce of empty array with no initial value")}for(;ne?ce>=0:te>ce;ce+=de)ce in ee&&(x=a(x,ee[ce],ce,b));return x}};he.exports={left:oe(!1),right:oe(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=E("../internals/create-property"),ue=se.Array,ae=Math.max;he.exports=function(oe,ne,z){for(var a=ie(oe),y=re(ne,a),x=re(z===void 0?a:z,a),b=ue(ae(x-y,0)),ee=0;y<x;y++,ee++)le(b,ee,oe[y]);return b.length=ee,b}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(E,he,fe){var se=E("../internals/function-uncurry-this");he.exports=se([].slice)},{"../internals/function-uncurry-this":157}],118:[function(E,he,fe){var se=E("../internals/array-slice-simple"),re=Math.floor,ie=function(ae,oe){var ne=ae.length,z=re(ne/2);return ne<8?le(ae,oe):ue(ae,ie(se(ae,0,z),oe),ie(se(ae,z),oe),oe)},le=function(ae,oe){for(var ne=ae.length,z=1,a,y;z<ne;){for(y=z,a=ae[z];y&&oe(ae[y-1],a)>0;)ae[y]=ae[--y];y!==z++&&(ae[y]=a)}return ae},ue=function(ae,oe,ne,z){for(var a=oe.length,y=ne.length,x=0,b=0;x<a||b<y;)ae[x+b]=x<a&&b<y?z(oe[x],ne[b])<=0?oe[x++]:ne[b++]:x<a?oe[x++]:ne[b++];return ae};he.exports=ie},{"../internals/array-slice-simple":116}],119:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-array"),ie=E("../internals/is-constructor"),le=E("../internals/is-object"),ue=E("../internals/well-known-symbol"),ae=ue("species"),oe=se.Array;he.exports=function(ne){var z;return re(ne)&&(z=ne.constructor,ie(z)&&(z===oe||re(z.prototype))?z=void 0:le(z)&&(z=z[ae],z===null&&(z=void 0))),z===void 0?oe:z}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(E,he,fe){var se=E("../internals/array-species-constructor");he.exports=function(re,ie){return new(se(re))(ie===0?0:ie)}},{"../internals/array-species-constructor":119}],121:[function(E,he,fe){var se=E("../internals/an-object"),re=E("../internals/iterator-close");he.exports=function(ie,le,ue,ae){try{return ae?le(se(ue)[0],ue[1]):le(ue)}catch(oe){re(ie,"throw",oe)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,he,fe){var se=E("../internals/well-known-symbol"),re=se("iterator"),ie=!1;try{var le=0,ue={next:function(){return{done:!!le++}},return:function(){ie=!0}};ue[re]=function(){return this},Array.from(ue,function(){throw 2})}catch(ae){}he.exports=function(ae,oe){if(!oe&&!ie)return!1;var ne=!1;try{var z={};z[re]=function(){return{next:function(){return{done:ne=!0}}}},ae(z)}catch(a){}return ne}},{"../internals/well-known-symbol":268}],123:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=se({}.toString),ie=se("".slice);he.exports=function(le){return ie(re(le),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/to-string-tag-support"),ie=E("../internals/is-callable"),le=E("../internals/classof-raw"),ue=E("../internals/well-known-symbol"),ae=ue("toStringTag"),oe=se.Object,ne=le(function(){return arguments}())=="Arguments",z=function(a,y){try{return a[y]}catch(x){}};he.exports=re?le:function(a){var y,x,b;return a===void 0?"Undefined":a===null?"Null":typeof(x=z(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,he,fe){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");he.exports=function(ue,ae,oe){for(var ne=re(ae),z=le.f,a=ie.f,y=0;y<ne.length;y++){var x=ne[y];!se(ue,x)&&!(oe&&se(oe,x))&&z(ue,x,a(ae,x))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(E,he,fe){var se=E("../internals/well-known-symbol"),re=se("match");he.exports=function(ie){var le=/./;try{"/./"[ie](le)}catch(ue){try{return le[re]=!1,"/./"[ie](le)}catch(ae){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,he,fe){var se=E("../internals/fails");he.exports=!se(function(){function re(){}return re.prototype.constructor=null,Object.getPrototypeOf(new re)!==re.prototype})},{"../internals/fails":150}],128:[function(E,he,fe){"use strict";var se=E("../internals/iterators-core").IteratorPrototype,re=E("../internals/object-create"),ie=E("../internals/create-property-descriptor"),le=E("../internals/set-to-string-tag"),ue=E("../internals/iterators"),ae=function(){return this};he.exports=function(oe,ne,z,a){var y=ne+" Iterator";return oe.prototype=re(se,{next:ie(+!a,z)}),le(oe,y,!1,!0),ue[y]=ae,oe}},{"../internals/create-property-descriptor":130,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-create":196,"../internals/set-to-string-tag":234}],129:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");he.exports=se?function(le,ue,ae){return re.f(le,ue,ie(1,ae))}:function(le,ue,ae){return le[ue]=ae,le}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,he,fe){he.exports=function(se,re){return{enumerable:!(se&1),configurable:!(se&2),writable:!(se&4),value:re}}},{}],131:[function(E,he,fe){"use strict";var se=E("../internals/to-property-key"),re=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");he.exports=function(le,ue,ae){var oe=se(ue);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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/is-pure"),le=E("../internals/function-name"),ue=E("../internals/is-callable"),ae=E("../internals/create-iterator-constructor"),oe=E("../internals/object-get-prototype-of"),ne=E("../internals/object-set-prototype-of"),z=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"),ee=E("../internals/iterators-core"),te=le.PROPER,ce=le.CONFIGURABLE,de=ee.IteratorPrototype,ge=ee.BUGGY_SAFARI_ITERATORS,ve=x("iterator"),pe="keys",Se="values",ye="entries",Pe=function(){return this};he.exports=function(we,Le,Ee,Te,Ce,Ae,Ie){ae(Ee,Le,Te);var He=function(Ye){if(Ye===Ce&&Xe)return Xe;if(!ge&&Ye in Je)return Je[Ye];switch(Ye){case pe:return function(){return new Ee(this,Ye)};case Se:return function(){return new Ee(this,Ye)};case ye:return function(){return new Ee(this,Ye)}}return function(){return new Ee(this)}},je=Le+" Iterator",tt=!1,Je=we.prototype,Qe=Je[ve]||Je["@@iterator"]||Ce&&Je[Ce],Xe=!ge&&Qe||He(Ce),$e=Le=="Array"&&Je.entries||Qe,ke,Ue,qe;if($e&&(ke=oe($e.call(new we)),ke!==Object.prototype&&ke.next&&(!ie&&oe(ke)!==de&&(ne?ne(ke,de):ue(ke[ve])||y(ke,ve,Pe)),z(ke,je,!0,!0),ie&&(b[je]=Pe))),te&&Ce==Se&&Qe&&Qe.name!==Se&&(!ie&&ce?a(Je,"name",Se):(tt=!0,Xe=function(){return re(Qe,this)})),Ce)if(Ue={values:He(Se),keys:Ae?Xe:He(pe),entries:He(ye)},Ie)for(qe in Ue)(ge||tt||!(qe in Je))&&y(Je,qe,Ue[qe]);else se({target:Le,proto:!0,forced:ge||tt},Ue);return(!ie||Ie)&&Je[ve]!==Xe&&y(Je,ve,Xe,{name:Ce}),b[Le]=Xe,Ue}},{"../internals/create-iterator-constructor":128,"../internals/create-non-enumerable-property":129,"../internals/export":149,"../internals/function-call":155,"../internals/function-name":156,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/well-known-symbol":268}],133:[function(E,he,fe){var se=E("../internals/path"),re=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol-wrapped"),le=E("../internals/object-define-property").f;he.exports=function(ue){var ae=se.Symbol||(se.Symbol={});re(ae,ue)||le(ae,ue,{value:ie.f(ue)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(E,he,fe){var se=E("../internals/fails");he.exports=!se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-object"),ie=se.document,le=re(ie)&&re(ie.createElement);he.exports=function(ue){return le?ie.createElement(ue):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(E,he,fe){he.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],137:[function(E,he,fe){var se=E("../internals/document-create-element"),re=se("span").classList,ie=re&&re.constructor&&re.constructor.prototype;he.exports=ie===Object.prototype?void 0:ie},{"../internals/document-create-element":135}],138:[function(E,he,fe){var se=E("../internals/engine-user-agent"),re=se.match(/firefox\/(\d+)/i);he.exports=!!re&&+re[1]},{"../internals/engine-user-agent":145}],139:[function(E,he,fe){he.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(E,he,fe){var se=E("../internals/engine-user-agent");he.exports=/MSIE|Trident/.test(se)},{"../internals/engine-user-agent":145}],141:[function(E,he,fe){var se=E("../internals/engine-user-agent"),re=E("../internals/global");he.exports=/ipad|iphone|ipod/i.test(se)&&re.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(E,he,fe){var se=E("../internals/engine-user-agent");he.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(se)},{"../internals/engine-user-agent":145}],143:[function(E,he,fe){var se=E("../internals/classof-raw"),re=E("../internals/global");he.exports=se(re.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(E,he,fe){var se=E("../internals/engine-user-agent");he.exports=/web0s(?!.*chrome)/i.test(se)},{"../internals/engine-user-agent":145}],145:[function(E,he,fe){var se=E("../internals/get-built-in");he.exports=se("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/engine-user-agent"),ie=se.process,le=se.Deno,ue=ie&&ie.versions||le&&le.version,ae=ue&&ue.v8,oe,ne;ae&&(oe=ae.split("."),ne=oe[0]>0&&oe[0]<4?1:+(oe[0]+oe[1])),!ne&&re&&(oe=re.match(/Edge\/(\d+)/),(!oe||oe[1]>=74)&&(oe=re.match(/Chrome\/(\d+)/),oe&&(ne=+oe[1]))),he.exports=ne},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,he,fe){var se=E("../internals/engine-user-agent"),re=se.match(/AppleWebKit\/(\d+)\./);he.exports=!!re&&+re[1]},{"../internals/engine-user-agent":145}],148:[function(E,he,fe){he.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/object-get-own-property-descriptor").f,ie=E("../internals/create-non-enumerable-property"),le=E("../internals/redefine"),ue=E("../internals/set-global"),ae=E("../internals/copy-constructor-properties"),oe=E("../internals/is-forced");he.exports=function(ne,z){var a=ne.target,y=ne.global,x=ne.stat,b,ee,te,ce,de,ge;if(y?ee=se:x?ee=se[a]||ue(a,{}):ee=(se[a]||{}).prototype,ee)for(te in z){if(de=z[te],ne.noTargetGet?(ge=re(ee,te),ce=ge&&ge.value):ce=ee[te],b=oe(y?te:a+(x?".":"#")+te,ne.forced),!b&&ce!==void 0){if(typeof de==typeof ce)continue;ae(de,ce)}(ne.sham||ce&&ce.sham)&&ie(de,"sham",!0),le(ee,te,de,ne)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,he,fe){he.exports=function(se){try{return!!se()}catch(re){return!0}}},{}],151:[function(E,he,fe){"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"),ue=E("../internals/well-known-symbol"),ae=E("../internals/create-non-enumerable-property"),oe=ue("species"),ne=RegExp.prototype;he.exports=function(z,a,y,x){var b=ue(z),ee=!le(function(){var ge={};return ge[b]=function(){return 7},""[z](ge)!=7}),te=ee&&!le(function(){var ge=!1,ve=/a/;return z==="split"&&(ve={},ve.constructor={},ve.constructor[oe]=function(){return ve},ve.flags="",ve[b]=/./[b]),ve.exec=function(){return ge=!0,null},ve[b](""),!ge});if(!ee||!te||y){var ce=se(/./[b]),de=a(b,""[z],function(ge,ve,pe,Se,ye){var Pe=se(ge),we=ve.exec;return we===ie||we===ne.exec?ee&&!ye?{done:!0,value:ce(ve,pe,Se)}:{done:!0,value:Pe(pe,ve,Se)}:{done:!1}});re(String.prototype,z,de[0]),re(ne,b,de[1])}x&&ae(ne[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,he,fe){var se=E("../internals/function-bind-native"),re=Function.prototype,ie=re.apply,le=re.call;he.exports=typeof Reflect=="object"&&Reflect.apply||(se?le.bind(ie):function(){return le.apply(ie,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/a-callable"),ie=E("../internals/function-bind-native"),le=se(se.bind);he.exports=function(ue,ae){return re(ue),ae===void 0?ue:ie?le(ue,ae):function(){return ue.apply(ae,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,he,fe){var se=E("../internals/fails");he.exports=!se(function(){var re=function(){}.bind();return typeof re!="function"||re.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,he,fe){var se=E("../internals/function-bind-native"),re=Function.prototype.call;he.exports=se?re.bind(re):function(){return re.apply(re,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/has-own-property"),ie=Function.prototype,le=se&&Object.getOwnPropertyDescriptor,ue=re(ie,"name"),ae=ue&&function(){}.name==="something",oe=ue&&(!se||se&&le(ie,"name").configurable);he.exports={EXISTS:ue,PROPER:ae,CONFIGURABLE:oe}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,he,fe){var se=E("../internals/function-bind-native"),re=Function.prototype,ie=re.bind,le=re.call,ue=se&&ie.bind(le,le);he.exports=se?function(ae){return ae&&ue(ae)}:function(ae){return ae&&function(){return le.apply(ae,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=function(le){return re(le)?le:void 0};he.exports=function(le,ue){return arguments.length<2?ie(se[le]):se[le]&&se[le][ue]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,he,fe){var se=E("../internals/classof"),re=E("../internals/get-method"),ie=E("../internals/iterators"),le=E("../internals/well-known-symbol"),ue=le("iterator");he.exports=function(ae){if(ae!=null)return re(ae,ue)||re(ae,"@@iterator")||ie[se(ae)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/an-object"),ue=E("../internals/try-to-string"),ae=E("../internals/get-iterator-method"),oe=se.TypeError;he.exports=function(ne,z){var a=arguments.length<2?ae(ne):z;if(ie(a))return le(re(a,ne));throw oe(ue(ne)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,he,fe){var se=E("../internals/a-callable");he.exports=function(re,ie){var le=re[ie];return le==null?void 0:se(le)}},{"../internals/a-callable":95}],162:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/to-object"),ie=Math.floor,le=se("".charAt),ue=se("".replace),ae=se("".slice),oe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ne=/\$([$&'`]|\d{1,2})/g;he.exports=function(z,a,y,x,b,ee){var te=y+z.length,ce=x.length,de=ne;return b!==void 0&&(b=re(b),de=oe),ue(ee,de,function(ge,ve){var pe;switch(le(ve,0)){case"$":return"$";case"&":return z;case"`":return ae(a,0,y);case"'":return ae(a,te);case"<":pe=b[ae(ve,1,-1)];break;default:var Se=+ve;if(Se===0)return ge;if(Se>ce){var ye=ie(Se/10);return ye===0?ge:ye<=ce?x[ye-1]===void 0?le(ve,1):x[ye-1]+le(ve,1):ge}pe=x[Se-1]}return pe===void 0?"":pe})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,he,fe){(function(se){(function(){var re=function(ie){return ie&&ie.Math==Math&&ie};he.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,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/to-object"),ie=se({}.hasOwnProperty);he.exports=Object.hasOwn||function(ue,ae){return ie(re(ue),ae)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,he,fe){he.exports={}},{}],166:[function(E,he,fe){var se=E("../internals/global");he.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,he,fe){var se=E("../internals/get-built-in");he.exports=se("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/fails"),ie=E("../internals/document-create-element");he.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,he,fe){var se=E("../internals/global"),re=se.Array,ie=Math.abs,le=Math.pow,ue=Math.floor,ae=Math.log,oe=Math.LN2,ne=function(a,y,x){var b=re(x),ee=x*8-y-1,te=(1<<ee)-1,ce=te>>1,de=y===23?le(2,-24)-le(2,-77):0,ge=a<0||a===0&&1/a<0?1:0,ve=0,pe,Se,ye;for(a=ie(a),a!=a||a===1/0?(Se=a!=a?1:0,pe=te):(pe=ue(ae(a)/oe),ye=le(2,-pe),a*ye<1&&(pe--,ye*=2),pe+ce>=1?a+=de/ye:a+=de*le(2,1-ce),a*ye>=2&&(pe++,ye/=2),pe+ce>=te?(Se=0,pe=te):pe+ce>=1?(Se=(a*ye-1)*le(2,y),pe=pe+ce):(Se=a*le(2,ce-1)*le(2,y),pe=0));y>=8;)b[ve++]=Se&255,Se/=256,y-=8;for(pe=pe<<y|Se,ee+=y;ee>0;)b[ve++]=pe&255,pe/=256,ee-=8;return b[--ve]|=ge*128,b},z=function(a,y){var x=a.length,b=x*8-y-1,ee=(1<<b)-1,te=ee>>1,ce=b-7,de=x-1,ge=a[de--],ve=ge&127,pe;for(ge>>=7;ce>0;)ve=ve*256+a[de--],ce-=8;for(pe=ve&(1<<-ce)-1,ve>>=-ce,ce+=y;ce>0;)pe=pe*256+a[de--],ce-=8;if(ve===0)ve=1-te;else{if(ve===ee)return pe?NaN:ge?-1/0:1/0;pe=pe+le(2,y),ve=ve-te}return(ge?-1:1)*pe*le(2,ve-y)};he.exports={pack:ne,unpack:z}},{"../internals/global":163}],170:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/classof-raw"),ue=se.Object,ae=re("".split);he.exports=ie(function(){return!ue("z").propertyIsEnumerable(0)})?function(oe){return le(oe)=="String"?ae(oe,""):ue(oe)}:ue},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,he,fe){var se=E("../internals/is-callable"),re=E("../internals/is-object"),ie=E("../internals/object-set-prototype-of");he.exports=function(le,ue,ae){var oe,ne;return ie&&se(oe=ue.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,he,fe){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(ue){return le(ue)}),he.exports=ie.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,he,fe){var se=E("../internals/native-weak-map"),re=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-object"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/has-own-property"),oe=E("../internals/shared-store"),ne=E("../internals/shared-key"),z=E("../internals/hidden-keys"),a="Object already initialized",y=re.TypeError,x=re.WeakMap,b,ee,te,ce=function(Pe){return te(Pe)?ee(Pe):b(Pe,{})},de=function(Pe){return function(we){var Le;if(!le(we)||(Le=ee(we)).type!==Pe)throw y("Incompatible receiver, "+Pe+" required");return Le}};if(se||oe.state){var ge=oe.state||(oe.state=new x),ve=ie(ge.get),pe=ie(ge.has),Se=ie(ge.set);b=function(Pe,we){if(pe(ge,Pe))throw new y(a);return we.facade=Pe,Se(ge,Pe,we),we},ee=function(Pe){return ve(ge,Pe)||{}},te=function(Pe){return pe(ge,Pe)}}else{var ye=ne("state");z[ye]=!0,b=function(Pe,we){if(ae(Pe,ye))throw new y(a);return we.facade=Pe,ue(Pe,ye,we),we},ee=function(Pe){return ae(Pe,ye)?Pe[ye]:{}},te=function(Pe){return ae(Pe,ye)}}he.exports={set:b,get:ee,has:te,enforce:ce,getterFor:de}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(E,he,fe){var se=E("../internals/well-known-symbol"),re=E("../internals/iterators"),ie=se("iterator"),le=Array.prototype;he.exports=function(ue){return ue!==void 0&&(re.Array===ue||le[ie]===ue)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,he,fe){var se=E("../internals/classof-raw");he.exports=Array.isArray||function(ie){return se(ie)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,he,fe){he.exports=function(se){return typeof se=="function"}},{}],177:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/fails"),ie=E("../internals/is-callable"),le=E("../internals/classof"),ue=E("../internals/get-built-in"),ae=E("../internals/inspect-source"),oe=function(){},ne=[],z=ue("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=se(a.exec),x=!a.exec(oe),b=function(ce){if(!ie(ce))return!1;try{return z(oe,ne,ce),!0}catch(de){return!1}},ee=function(ce){if(!ie(ce))return!1;switch(le(ce)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ae(ce))}catch(de){return!0}};ee.sham=!0,he.exports=!z||re(function(){var te;return b(b.call)||!b(Object)||!b(function(){te=!0})||te})?ee:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,he,fe){var se=E("../internals/fails"),re=E("../internals/is-callable"),ie=/#|\.prototype\./,le=function(z,a){var y=ae[ue(z)];return y==ne?!0:y==oe?!1:re(a)?se(a):!!a},ue=le.normalize=function(z){return String(z).replace(ie,".").toLowerCase()},ae=le.data={},oe=le.NATIVE="N",ne=le.POLYFILL="P";he.exports=le},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,he,fe){var se=E("../internals/is-object"),re=Math.floor;he.exports=Number.isInteger||function(le){return!se(le)&&isFinite(le)&&re(le)===le}},{"../internals/is-object":180}],180:[function(E,he,fe){var se=E("../internals/is-callable");he.exports=function(re){return typeof re=="object"?re!==null:se(re)}},{"../internals/is-callable":176}],181:[function(E,he,fe){he.exports=!1},{}],182:[function(E,he,fe){var se=E("../internals/is-object"),re=E("../internals/classof-raw"),ie=E("../internals/well-known-symbol"),le=ie("match");he.exports=function(ue){var ae;return se(ue)&&((ae=ue[le])!==void 0?!!ae:re(ue)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/get-built-in"),ie=E("../internals/is-callable"),le=E("../internals/object-is-prototype-of"),ue=E("../internals/use-symbol-as-uid"),ae=se.Object;he.exports=ue?function(oe){return typeof oe=="symbol"}:function(oe){var 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,he,fe){var se=E("../internals/global"),re=E("../internals/function-bind-context"),ie=E("../internals/function-call"),le=E("../internals/an-object"),ue=E("../internals/try-to-string"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/length-of-array-like"),ne=E("../internals/object-is-prototype-of"),z=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=se.TypeError,b=function(te,ce){this.stopped=te,this.result=ce},ee=b.prototype;he.exports=function(te,ce,de){var ge=de&&de.that,ve=!!(de&&de.AS_ENTRIES),pe=!!(de&&de.IS_ITERATOR),Se=!!(de&&de.INTERRUPTED),ye=re(ce,ge),Pe,we,Le,Ee,Te,Ce,Ae,Ie=function(je){return Pe&&y(Pe,"normal",je),new b(!0,je)},He=function(je){return ve?(le(je),Se?ye(je[0],je[1],Ie):ye(je[0],je[1])):Se?ye(je,Ie):ye(je)};if(pe)Pe=te;else{if(we=a(te),!we)throw x(ue(te)+" is not iterable");if(ae(we)){for(Le=0,Ee=oe(te);Ee>Le;Le++)if(Te=He(te[Le]),Te&&ne(ee,Te))return Te;return new b(!1)}Pe=z(te,we)}for(Ce=Pe.next;!(Ae=ie(Ce,Pe)).done;){try{Te=He(Ae.value)}catch(je){y(Pe,"throw",je)}if(typeof Te=="object"&&Te&&ne(ee,Te))return Te}return new b(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(E,he,fe){var se=E("../internals/function-call"),re=E("../internals/an-object"),ie=E("../internals/get-method");he.exports=function(le,ue,ae){var oe,ne;re(le);try{if(oe=ie(le,"return"),!oe){if(ue==="throw")throw ae;return ae}oe=se(oe,le)}catch(z){ne=!0,oe=z}if(ue==="throw")throw ae;if(ne)throw oe;return re(oe),ae}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,he,fe){"use strict";var se=E("../internals/fails"),re=E("../internals/is-callable"),ie=E("../internals/object-create"),le=E("../internals/object-get-prototype-of"),ue=E("../internals/redefine"),ae=E("../internals/well-known-symbol"),oe=E("../internals/is-pure"),ne=ae("iterator"),z=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=le(le(x)),y!==Object.prototype&&(a=y)):z=!0);var b=a==null||se(function(){var ee={};return a[ne].call(ee)!==ee});b?a={}:oe&&(a=ie(a)),re(a[ne])||ue(a,ne,function(){return this}),he.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:z}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(E,he,fe){arguments[4][165][0].apply(fe,arguments)},{dup:165}],188:[function(E,he,fe){var se=E("../internals/to-length");he.exports=function(re){return se(re.length)}},{"../internals/to-length":249}],189:[function(E,he,fe){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,ue=E("../internals/engine-is-ios"),ae=E("../internals/engine-is-ios-pebble"),oe=E("../internals/engine-is-webos-webkit"),ne=E("../internals/engine-is-node"),z=se.MutationObserver||se.WebKitMutationObserver,a=se.document,y=se.process,x=se.Promise,b=ie(se,"queueMicrotask"),ee=b&&b.value,te,ce,de,ge,ve,pe,Se,ye;ee||(te=function(){var Pe,we;for(ne&&(Pe=y.domain)&&Pe.exit();ce;){we=ce.fn,ce=ce.next;try{we()}catch(Le){throw ce?ge():de=void 0,Le}}de=void 0,Pe&&Pe.enter()},!ue&&!ne&&!oe&&z&&a?(ve=!0,pe=a.createTextNode(""),new z(te).observe(pe,{characterData:!0}),ge=function(){pe.data=ve=!ve}):!ae&&x&&x.resolve?(Se=x.resolve(void 0),Se.constructor=x,ye=re(Se.then,Se),ge=function(){ye(te)}):ne?ge=function(){y.nextTick(te)}:(le=re(le,se),ge=function(){le(te)})),he.exports=ee||function(Pe){var we={fn:Pe,next:void 0};de&&(de.next=we),ce||(ce=we,ge()),de=we}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,he,fe){var se=E("../internals/native-symbol");he.exports=se&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,he,fe){var se=E("../internals/engine-v8-version"),re=E("../internals/fails");he.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,he,fe){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=E("../internals/inspect-source"),le=se.WeakMap;he.exports=re(le)&&/native code/.test(ie(le))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,he,fe){"use strict";var se=E("../internals/a-callable"),re=function(ie){var le,ue;this.promise=new ie(function(ae,oe){if(le!==void 0||ue!==void 0)throw TypeError("Bad Promise constructor");le=ae,ue=oe}),this.resolve=se(le),this.reject=se(ue)};he.exports.f=function(ie){return new re(ie)}},{"../internals/a-callable":95}],194:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-regexp"),ie=se.TypeError;he.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,he,fe){"use strict";var se=E("../internals/descriptors"),re=E("../internals/function-uncurry-this"),ie=E("../internals/function-call"),le=E("../internals/fails"),ue=E("../internals/object-keys"),ae=E("../internals/object-get-own-property-symbols"),oe=E("../internals/object-property-is-enumerable"),ne=E("../internals/to-object"),z=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=re([].concat);he.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={},ee={},te=Symbol(),ce="abcdefghijklmnopqrst";return b[te]=7,ce.split("").forEach(function(de){ee[de]=de}),a({},b)[te]!=7||ue(a({},ee)).join("")!=ce})?function(ee,te){for(var ce=ne(ee),de=arguments.length,ge=1,ve=ae.f,pe=oe.f;de>ge;)for(var Se=z(arguments[ge++]),ye=ve?x(ue(Se),ve(Se)):ue(Se),Pe=ye.length,we=0,Le;Pe>we;)Le=ye[we++],(!se||ie(pe,Se,Le))&&(ce[Le]=Se[Le]);return ce}:a},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,he,fe){var se=E("../internals/an-object"),re=E("../internals/object-define-properties"),ie=E("../internals/enum-bug-keys"),le=E("../internals/hidden-keys"),ue=E("../internals/html"),ae=E("../internals/document-create-element"),oe=E("../internals/shared-key"),ne=">",z="<",a="prototype",y="script",x=oe("IE_PROTO"),b=function(){},ee=function(ve){return z+y+ne+ve+z+"/"+y+ne},te=function(ve){ve.write(ee("")),ve.close();var pe=ve.parentWindow.Object;return ve=null,pe},ce=function(){var ve=ae("iframe"),pe="java"+y+":",Se;return ve.style.display="none",ue.appendChild(ve),ve.src=String(pe),Se=ve.contentWindow.document,Se.open(),Se.write(ee("document.F=Object")),Se.close(),Se.F},de,ge=function(){try{de=new ActiveXObject("htmlfile")}catch(pe){}ge=typeof document!="undefined"?document.domain&&de?te(de):ce():te(de);for(var ve=ie.length;ve--;)delete ge[a][ie[ve]];return ge()};le[x]=!0,he.exports=Object.create||function(pe,Se){var ye;return pe!==null?(b[a]=se(pe),ye=new b,b[a]=null,ye[x]=pe):ye=ge(),Se===void 0?ye:re.f(ye,Se)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/v8-prototype-define-bug"),ie=E("../internals/object-define-property"),le=E("../internals/an-object"),ue=E("../internals/to-indexed-object"),ae=E("../internals/object-keys");fe.f=se&&!re?Object.defineProperties:function(ne,z){le(ne);for(var a=ue(z),y=ae(z),x=y.length,b=0,ee;x>b;)ie.f(ne,ee=y[b++],a[ee]);return ne}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/descriptors"),ie=E("../internals/ie8-dom-define"),le=E("../internals/v8-prototype-define-bug"),ue=E("../internals/an-object"),ae=E("../internals/to-property-key"),oe=se.TypeError,ne=Object.defineProperty,z=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";fe.f=re?le?function(ee,te,ce){if(ue(ee),te=ae(te),ue(ce),typeof ee=="function"&&te==="prototype"&&"value"in ce&&x in ce&&!ce[x]){var de=z(ee,te);de&&de[x]&&(ee[te]=ce.value,ce={configurable:y in ce?ce[y]:de[y],enumerable:a in ce?ce[a]:de[a],writable:!1})}return ne(ee,te,ce)}:ne:function(ee,te,ce){if(ue(ee),te=ae(te),ue(ce),ie)try{return ne(ee,te,ce)}catch(de){}if("get"in ce||"set"in ce)throw oe("Accessors not supported");return"value"in ce&&(ee[te]=ce.value),ee}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/function-call"),ie=E("../internals/object-property-is-enumerable"),le=E("../internals/create-property-descriptor"),ue=E("../internals/to-indexed-object"),ae=E("../internals/to-property-key"),oe=E("../internals/has-own-property"),ne=E("../internals/ie8-dom-define"),z=Object.getOwnPropertyDescriptor;fe.f=se?z:function(y,x){if(y=ue(y),x=ae(x),ne)try{return z(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,he,fe){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"),ue=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(oe){try{return ie(oe)}catch(ne){return le(ue)}};he.exports.f=function(ne){return ue&&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,he,fe){var se=E("../internals/object-keys-internal"),re=E("../internals/enum-bug-keys"),ie=re.concat("length","prototype");fe.f=Object.getOwnPropertyNames||function(ue){return se(ue,ie)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,he,fe){fe.f=Object.getOwnPropertySymbols},{}],203:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/has-own-property"),ie=E("../internals/is-callable"),le=E("../internals/to-object"),ue=E("../internals/shared-key"),ae=E("../internals/correct-prototype-getter"),oe=ue("IE_PROTO"),ne=se.Object,z=ne.prototype;he.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?z:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(E,he,fe){var se=E("../internals/function-uncurry-this");he.exports=se({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,he,fe){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,ue=E("../internals/hidden-keys"),ae=se([].push);he.exports=function(oe,ne){var z=ie(oe),a=0,y=[],x;for(x in z)!re(ue,x)&&re(z,x)&&ae(y,x);for(;ne.length>a;)re(z,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,he,fe){var se=E("../internals/object-keys-internal"),re=E("../internals/enum-bug-keys");he.exports=Object.keys||function(le){return se(le,re)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,he,fe){"use strict";var se={}.propertyIsEnumerable,re=Object.getOwnPropertyDescriptor,ie=re&&!se.call({1:2},1);fe.f=ie?function(ue){var ae=re(this,ue);return!!ae&&ae.enumerable}:se},{}],208:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/an-object"),ie=E("../internals/a-possible-prototype");he.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var le=!1,ue={},ae;try{ae=se(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(ue,[]),le=ue instanceof Array}catch(oe){}return function(ne,z){return re(ne),ie(z),le?ae(ne,z):ne.__proto__=z,ne}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/function-uncurry-this"),ie=E("../internals/object-keys"),le=E("../internals/to-indexed-object"),ue=E("../internals/object-property-is-enumerable").f,ae=re(ue),oe=re([].push),ne=function(z){return function(a){for(var y=le(a),x=ie(y),b=x.length,ee=0,te=[],ce;b>ee;)ce=x[ee++],(!se||ae(y,ce))&&oe(te,z?[ce,y[ce]]:y[ce]);return te}};he.exports={entries:ne(!0),values:ne(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,he,fe){"use strict";var se=E("../internals/to-string-tag-support"),re=E("../internals/classof");he.exports=se?{}.toString:function(){return"[object "+re(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/is-callable"),le=E("../internals/is-object"),ue=se.TypeError;he.exports=function(ae,oe){var ne,z;if(oe==="string"&&ie(ne=ae.toString)&&!le(z=re(ne,ae))||ie(ne=ae.valueOf)&&!le(z=re(ne,ae))||oe!=="string"&&ie(ne=ae.toString)&&!le(z=re(ne,ae)))return z;throw ue("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,he,fe){var 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"),ue=E("../internals/an-object"),ae=re([].concat);he.exports=se("Reflect","ownKeys")||function(ne){var z=ie.f(ue(ne)),a=le.f;return a?ae(z,a(ne)):z}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(E,he,fe){var se=E("../internals/global");he.exports=se},{"../internals/global":163}],214:[function(E,he,fe){he.exports=function(se){try{return{error:!1,value:se()}}catch(re){return{error:!0,value:re}}}},{}],215:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/promise-native-constructor"),ie=E("../internals/is-callable"),le=E("../internals/is-forced"),ue=E("../internals/inspect-source"),ae=E("../internals/well-known-symbol"),oe=E("../internals/engine-is-browser"),ne=E("../internals/is-pure"),z=E("../internals/engine-v8-version"),a=re&&re.prototype,y=ae("species"),x=!1,b=ie(se.PromiseRejectionEvent),ee=le("Promise",function(){var te=ue(re),ce=te!==String(re);if(!ce&&z===66||ne&&!(a.catch&&a.finally))return!0;if(z>=51&&/native code/.test(te))return!1;var de=new re(function(pe){pe(1)}),ge=function(pe){pe(function(){},function(){})},ve=de.constructor={};return ve[y]=ge,x=de.then(function(){})instanceof ge,x?!ce&&oe&&!b:!0});he.exports={CONSTRUCTOR:ee,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,he,fe){var se=E("../internals/global");he.exports=se.Promise},{"../internals/global":163}],217:[function(E,he,fe){var se=E("../internals/an-object"),re=E("../internals/is-object"),ie=E("../internals/new-promise-capability");he.exports=function(le,ue){if(se(le),re(ue)&&ue.constructor===le)return ue;var ae=ie.f(le),oe=ae.resolve;return oe(ue),ae.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,he,fe){var se=E("../internals/promise-native-constructor"),re=E("../internals/check-correctness-of-iteration"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR;he.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,he,fe){var se=E("../internals/object-define-property").f;he.exports=function(re,ie,le){le in re||se(re,le,{configurable:!0,get:function(){return ie[le]},set:function(ue){ie[le]=ue}})}},{"../internals/object-define-property":198}],220:[function(E,he,fe){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}},he.exports=se},{}],221:[function(E,he,fe){var se=E("../internals/redefine");he.exports=function(re,ie,le){for(var ue in ie)se(re,ue,ie[ue],le);return re}},{"../internals/redefine":222}],222:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=E("../internals/has-own-property"),le=E("../internals/create-non-enumerable-property"),ue=E("../internals/set-global"),ae=E("../internals/inspect-source"),oe=E("../internals/internal-state"),ne=E("../internals/function-name").CONFIGURABLE,z=oe.get,a=oe.enforce,y=String(String).split("String");(he.exports=function(x,b,ee,te){var ce=te?!!te.unsafe:!1,de=te?!!te.enumerable:!1,ge=te?!!te.noTargetGet:!1,ve=te&&te.name!==void 0?te.name:b,pe;if(re(ee)&&(String(ve).slice(0,7)==="Symbol("&&(ve="["+String(ve).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ie(ee,"name")||ne&&ee.name!==ve)&&le(ee,"name",ve),pe=a(ee),pe.source||(pe.source=y.join(typeof ve=="string"?ve:""))),x===se){de?x[b]=ee:ue(b,ee);return}else ce?!ge&&x[b]&&(de=!0):delete x[b];de?x[b]=ee:le(x,b,ee)})(Function.prototype,"toString",function(){return re(this)&&z(this).source||ae(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/an-object"),le=E("../internals/is-callable"),ue=E("../internals/classof-raw"),ae=E("../internals/regexp-exec"),oe=se.TypeError;he.exports=function(ne,z){var a=ne.exec;if(le(a)){var y=re(a,ne,z);return y!==null&&ie(y),y}if(ue(ne)==="RegExp")return re(ae,ne,z);throw oe("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(E,he,fe){"use strict";var se=E("../internals/function-call"),re=E("../internals/function-uncurry-this"),ie=E("../internals/to-string"),le=E("../internals/regexp-flags"),ue=E("../internals/regexp-sticky-helpers"),ae=E("../internals/shared"),oe=E("../internals/object-create"),ne=E("../internals/internal-state").get,z=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,ee=re("".charAt),te=re("".indexOf),ce=re("".replace),de=re("".slice),ge=function(){var ye=/a/,Pe=/b*/g;return se(x,ye,"a"),se(x,Pe,"a"),ye.lastIndex!==0||Pe.lastIndex!==0}(),ve=ue.BROKEN_CARET,pe=/()??/.exec("")[1]!==void 0,Se=ge||pe||ve||z||a;Se&&(b=function(Pe){var we=this,Le=ne(we),Ee=ie(Pe),Te=Le.raw,Ce,Ae,Ie,He,je,tt,Je;if(Te)return Te.lastIndex=we.lastIndex,Ce=se(b,Te,Ee),we.lastIndex=Te.lastIndex,Ce;var Qe=Le.groups,Xe=ve&&we.sticky,$e=se(le,we),ke=we.source,Ue=0,qe=Ee;if(Xe&&($e=ce($e,"y",""),te($e,"g")===-1&&($e+="g"),qe=de(Ee,we.lastIndex),we.lastIndex>0&&(!we.multiline||we.multiline&&ee(Ee,we.lastIndex-1)!==`
`)&&(ke="(?: "+ke+")",qe=" "+qe,Ue++),Ae=new RegExp("^(?:"+ke+")",$e)),pe&&(Ae=new RegExp("^"+ke+"$(?!\\s)",$e)),ge&&(Ie=we.lastIndex),He=se(x,Xe?Ae:we,qe),Xe?He?(He.input=de(He.input,Ue),He[0]=de(He[0],Ue),He.index=we.lastIndex,we.lastIndex+=He[0].length):we.lastIndex=0:ge&&He&&(we.lastIndex=we.global?He.index+He[0].length:Ie),pe&&He&&He.length>1&&se(y,He[0],Ae,function(){for(je=1;je<arguments.length-2;je++)arguments[je]===void 0&&(He[je]=void 0)}),He&&Qe)for(He.groups=tt=oe(null),je=0;je<Qe.length;je++)Je=Qe[je],tt[Je[0]]=He[Je[1]];return He}),he.exports=b},{"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/internal-state":173,"../internals/object-create":196,"../internals/regexp-flags":225,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/shared":237,"../internals/to-string":256}],225:[function(E,he,fe){"use strict";var se=E("../internals/an-object");he.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,he,fe){var se=E("../internals/function-call"),re=E("../internals/has-own-property"),ie=E("../internals/object-is-prototype-of"),le=E("../internals/regexp-flags"),ue=RegExp.prototype;he.exports=function(ae){var oe=ae.flags;return oe===void 0&&!("flags"in ue)&&!re(ae,"flags")&&ie(ue,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,he,fe){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}),ue=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});he.exports={BROKEN_CARET:ae,MISSED_STICKY:ue,UNSUPPORTED_Y:le}},{"../internals/fails":150,"../internals/global":163}],228:[function(E,he,fe){var se=E("../internals/fails"),re=E("../internals/global"),ie=re.RegExp;he.exports=se(function(){var le=ie(".","s");return!(le.dotAll&&le.exec(`
`)&&le.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(E,he,fe){var se=E("../internals/fails"),re=E("../internals/global"),ie=re.RegExp;he.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,he,fe){var se=E("../internals/global"),re=se.TypeError;he.exports=function(ie){if(ie==null)throw re("Can't call method on "+ie);return ie}},{"../internals/global":163}],231:[function(E,he,fe){he.exports=Object.is||function(re,ie){return re===ie?re!==0||1/re===1/ie:re!=re&&ie!=ie}},{}],232:[function(E,he,fe){var se=E("../internals/global"),re=Object.defineProperty;he.exports=function(ie,le){try{re(se,ie,{value:le,configurable:!0,writable:!0})}catch(ue){se[ie]=le}return le}},{"../internals/global":163}],233:[function(E,he,fe){"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"),ue=ie("species");he.exports=function(ae){var oe=se(ae),ne=re.f;le&&oe&&!oe[ue]&&ne(oe,ue,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,he,fe){var se=E("../internals/object-define-property").f,re=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol"),le=ie("toStringTag");he.exports=function(ue,ae,oe){ue&&!oe&&(ue=ue.prototype),ue&&!re(ue,le)&&se(ue,le,{configurable:!0,value:ae})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,he,fe){var se=E("../internals/shared"),re=E("../internals/uid"),ie=se("keys");he.exports=function(le){return ie[le]||(ie[le]=re(le))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/set-global"),ie="__core-js_shared__",le=se[ie]||re(ie,{});he.exports=le},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,he,fe){var se=E("../internals/is-pure"),re=E("../internals/shared-store");(he.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,he,fe){var se=E("../internals/an-object"),re=E("../internals/a-constructor"),ie=E("../internals/well-known-symbol"),le=ie("species");he.exports=function(ue,ae){var oe=se(ue).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,he,fe){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"),ue=se("".charAt),ae=se("".charCodeAt),oe=se("".slice),ne=function(z){return function(a,y){var x=ie(le(a)),b=re(y),ee=x.length,te,ce;return b<0||b>=ee?z?"":void 0:(te=ae(x,b),te<55296||te>56319||b+1===ee||(ce=ae(x,b+1))<56320||ce>57343?z?ue(x,b):te:z?oe(x,b,b+2):(te-55296<<10)+(ce-56320)+65536)}};he.exports={codeAt:ne(!1),charAt:ne(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,he,fe){var se=E("../internals/function-name").PROPER,re=E("../internals/fails"),ie=E("../internals/whitespaces"),le="\u200B\x85\u180E";he.exports=function(ue){return re(function(){return!!ie[ue]()||le[ue]()!==le||se&&ie[ue].name!==ue})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/require-object-coercible"),ie=E("../internals/to-string"),le=E("../internals/whitespaces"),ue=se("".replace),ae="["+le+"]",oe=RegExp("^"+ae+ae+"*"),ne=RegExp(ae+ae+"*$"),z=function(a){return function(y){var x=ie(re(y));return a&1&&(x=ue(x,oe,"")),a&2&&(x=ue(x,ne,"")),x}};he.exports={start:z(1),end:z(2),trim:z(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,he,fe){var se=E("../internals/function-call"),re=E("../internals/get-built-in"),ie=E("../internals/well-known-symbol"),le=E("../internals/redefine");he.exports=function(){var ue=re("Symbol"),ae=ue&&ue.prototype,oe=ae&&ae.valueOf,ne=ie("toPrimitive");ae&&!ae[ne]&&le(ae,ne,function(z){return se(oe,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-apply"),ie=E("../internals/function-bind-context"),le=E("../internals/is-callable"),ue=E("../internals/has-own-property"),ae=E("../internals/fails"),oe=E("../internals/html"),ne=E("../internals/array-slice"),z=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,ee=se.clearImmediate,te=se.process,ce=se.Dispatch,de=se.Function,ge=se.MessageChannel,ve=se.String,pe=0,Se={},ye="onreadystatechange",Pe,we,Le,Ee;try{Pe=se.location}catch(He){}var Te=function(He){if(ue(Se,He)){var je=Se[He];delete Se[He],je()}},Ce=function(He){return function(){Te(He)}},Ae=function(He){Te(He.data)},Ie=function(He){se.postMessage(ve(He),Pe.protocol+"//"+Pe.host)};(!b||!ee)&&(b=function(je){a(arguments.length,1);var tt=le(je)?je:de(je),Je=ne(arguments,1);return Se[++pe]=function(){re(tt,void 0,Je)},we(pe),pe},ee=function(je){delete Se[je]},x?we=function(He){te.nextTick(Ce(He))}:ce&&ce.now?we=function(He){ce.now(Ce(He))}:ge&&!y?(Le=new ge,Ee=Le.port2,Le.port1.onmessage=Ae,we=ie(Ee.postMessage,Ee)):se.addEventListener&&le(se.postMessage)&&!se.importScripts&&Pe&&Pe.protocol!=="file:"&&!ae(Ie)?(we=Ie,se.addEventListener("message",Ae,!1)):ye in z("script")?we=function(He){oe.appendChild(z("script"))[ye]=function(){oe.removeChild(this),Te(He)}}:we=function(He){setTimeout(Ce(He),0)}),he.exports={set:b,clear:ee}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,he,fe){var se=E("../internals/function-uncurry-this");he.exports=se(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,he,fe){var se=E("../internals/to-integer-or-infinity"),re=Math.max,ie=Math.min;he.exports=function(le,ue){var ae=se(le);return ae<0?re(ae+ue,0):ie(ae,ue)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-length"),le=se.RangeError;he.exports=function(ue){if(ue===void 0)return 0;var ae=re(ue),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,he,fe){var se=E("../internals/indexed-object"),re=E("../internals/require-object-coercible");he.exports=function(ie){return se(re(ie))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,he,fe){var se=Math.ceil,re=Math.floor;he.exports=function(ie){var le=+ie;return le!==le||le===0?0:(le>0?re:se)(le)}},{}],249:[function(E,he,fe){var se=E("../internals/to-integer-or-infinity"),re=Math.min;he.exports=function(ie){return ie>0?re(se(ie),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/require-object-coercible"),ie=se.Object;he.exports=function(le){return ie(re(le))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/to-positive-integer"),ie=se.RangeError;he.exports=function(le,ue){var ae=re(le);if(ae%ue)throw ie("Wrong offset");return ae}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),ie=se.RangeError;he.exports=function(le){var ue=re(le);if(ue<0)throw ie("The argument can't be less than 0");return ue}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/is-object"),le=E("../internals/is-symbol"),ue=E("../internals/get-method"),ae=E("../internals/ordinary-to-primitive"),oe=E("../internals/well-known-symbol"),ne=se.TypeError,z=oe("toPrimitive");he.exports=function(a,y){if(!ie(a)||le(a))return a;var x=ue(a,z),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,he,fe){var se=E("../internals/to-primitive"),re=E("../internals/is-symbol");he.exports=function(ie){var le=se(ie,"string");return re(le)?le:le+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,he,fe){var se=E("../internals/well-known-symbol"),re=se("toStringTag"),ie={};ie[re]="z",he.exports=String(ie)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/classof"),ie=se.String;he.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,he,fe){var se=E("../internals/global"),re=se.String;he.exports=function(ie){try{return re(ie)}catch(le){return"Object"}}},{"../internals/global":163}],258:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/function-call"),le=E("../internals/descriptors"),ue=E("../internals/typed-array-constructors-require-wrappers"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/array-buffer"),ne=E("../internals/an-instance"),z=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"),ee=E("../internals/to-offset"),te=E("../internals/to-property-key"),ce=E("../internals/has-own-property"),de=E("../internals/classof"),ge=E("../internals/is-object"),ve=E("../internals/is-symbol"),pe=E("../internals/object-create"),Se=E("../internals/object-is-prototype-of"),ye=E("../internals/object-set-prototype-of"),Pe=E("../internals/object-get-own-property-names").f,we=E("../internals/typed-array-from"),Le=E("../internals/array-iteration").forEach,Ee=E("../internals/set-species"),Te=E("../internals/object-define-property"),Ce=E("../internals/object-get-own-property-descriptor"),Ae=E("../internals/internal-state"),Ie=E("../internals/inherit-if-required"),He=Ae.get,je=Ae.set,tt=Te.f,Je=Ce.f,Qe=Math.round,Xe=re.RangeError,$e=oe.ArrayBuffer,ke=$e.prototype,Ue=oe.DataView,qe=ae.NATIVE_ARRAY_BUFFER_VIEWS,Ye=ae.TYPED_ARRAY_CONSTRUCTOR,ft=ae.TYPED_ARRAY_TAG,We=ae.TypedArray,Ke=ae.TypedArrayPrototype,Re=ae.aTypedArrayConstructor,et=ae.isTypedArray,Me="BYTES_PER_ELEMENT",Ge="Wrong length",Ve=function(ze,ot){Re(ze);for(var gt=0,yt=ot.length,nt=new ze(yt);yt>gt;)nt[gt]=ot[gt++];return nt},Ze=function(ze,ot){tt(ze,ot,{get:function(){return He(this)[ot]}})},Fe=function(ze){var ot;return Se(ke,ze)||(ot=de(ze))=="ArrayBuffer"||ot=="SharedArrayBuffer"},Oe=function(ze,ot){return et(ze)&&!ve(ot)&&ot in ze&&y(+ot)&&ot>=0},_e=function(ot,gt){return gt=te(gt),Oe(ot,gt)?z(2,ot[gt]):Je(ot,gt)},Ne=function(ot,gt,yt){return gt=te(gt),Oe(ot,gt)&&ge(yt)&&ce(yt,"value")&&!ce(yt,"get")&&!ce(yt,"set")&&!yt.configurable&&(!ce(yt,"writable")||yt.writable)&&(!ce(yt,"enumerable")||yt.enumerable)?(ot[gt]=yt.value,ot):tt(ot,gt,yt)};le?(qe||(Ce.f=_e,Te.f=Ne,Ze(Ke,"buffer"),Ze(Ke,"byteOffset"),Ze(Ke,"byteLength"),Ze(Ke,"length")),se({target:"Object",stat:!0,forced:!qe},{getOwnPropertyDescriptor:_e,defineProperty:Ne}),he.exports=function(ze,ot,gt){var yt=ze.match(/\d+$/)[0]/8,nt=ze+(gt?"Clamped":"")+"Array",mt="get"+ze,At="set"+ze,kt=re[nt],at=kt,Mt=at&&at.prototype,st={},pt=function(Dt,Yt){var _n=He(Dt);return _n.view[mt](Yt*yt+_n.byteOffset,!0)},bt=function(Dt,Yt,_n){var Cn=He(Dt);gt&&(_n=(_n=Qe(_n))<0?0:_n>255?255:_n&255),Cn.view[At](Yt*yt+Cn.byteOffset,_n,!0)},Lt=function(Dt,Yt){tt(Dt,Yt,{get:function(){return pt(this,Yt)},set:function(_n){return bt(this,Yt,_n)},enumerable:!0})};qe?ue&&(at=ot(function(Dt,Yt,_n,Cn){return ne(Dt,Mt),Ie(function(){return ge(Yt)?Fe(Yt)?Cn!==void 0?new kt(Yt,ee(_n,yt),Cn):_n!==void 0?new kt(Yt,ee(_n,yt)):new kt(Yt):et(Yt)?Ve(at,Yt):ie(we,at,Yt):new kt(b(Yt))}(),Dt,at)}),ye&&ye(at,We),Le(Pe(kt),function(Dt){Dt in at||a(at,Dt,kt[Dt])}),at.prototype=Mt):(at=ot(function(Dt,Yt,_n,Cn){ne(Dt,Mt);var On=0,Jn=0,dn,tr,Sr;if(!ge(Yt))Sr=b(Yt),tr=Sr*yt,dn=new $e(tr);else if(Fe(Yt)){dn=Yt,Jn=ee(_n,yt);var Qr=Yt.byteLength;if(Cn===void 0){if(Qr%yt||(tr=Qr-Jn,tr<0))throw Xe(Ge)}else if(tr=x(Cn)*yt,tr+Jn>Qr)throw Xe(Ge);Sr=tr/yt}else return et(Yt)?Ve(at,Yt):ie(we,at,Yt);for(je(Dt,{buffer:dn,byteOffset:Jn,byteLength:tr,length:Sr,view:new Ue(dn)});On<Sr;)Lt(Dt,On++)}),ye&&ye(at,We),Mt=at.prototype=pe(Ke)),Mt.constructor!==at&&a(Mt,"constructor",at),a(Mt,Ye,at),ft&&a(Mt,ft,nt),st[nt]=at,se({global:!0,forced:at!=kt,sham:!qe},st),Me in at||a(at,Me,yt),Me in Mt||a(Mt,Me,yt),Ee(nt)}):he.exports=function(){}},{"../internals/an-instance":100,"../internals/array-buffer":104,"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-integral-number":179,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/object-create":196,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/set-species":233,"../internals/to-index":246,"../internals/to-length":249,"../internals/to-offset":251,"../internals/to-property-key":254,"../internals/typed-array-constructors-require-wrappers":259,"../internals/typed-array-from":261}],259:[function(E,he,fe){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,ue=se.ArrayBuffer,ae=se.Int8Array;he.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 ue(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(E,he,fe){var se=E("../internals/array-from-constructor-and-list"),re=E("../internals/typed-array-species-constructor");he.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,he,fe){var se=E("../internals/function-bind-context"),re=E("../internals/function-call"),ie=E("../internals/a-constructor"),le=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/get-iterator"),oe=E("../internals/get-iterator-method"),ne=E("../internals/is-array-iterator-method"),z=E("../internals/array-buffer-view-core").aTypedArrayConstructor;he.exports=function(y){var x=ie(this),b=le(y),ee=arguments.length,te=ee>1?arguments[1]:void 0,ce=te!==void 0,de=oe(b),ge,ve,pe,Se,ye,Pe;if(de&&!ne(de))for(ye=ae(b,de),Pe=ye.next,b=[];!(Se=re(Pe,ye)).done;)b.push(Se.value);for(ce&&ee>2&&(te=se(te,arguments[2])),ve=ue(b),pe=new(z(x))(ve),ge=0;ve>ge;ge++)pe[ge]=ce?te(b[ge],ge):b[ge];return pe}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(E,he,fe){var se=E("../internals/array-buffer-view-core"),re=E("../internals/species-constructor"),ie=se.TYPED_ARRAY_CONSTRUCTOR,le=se.aTypedArrayConstructor;he.exports=function(ue){return le(re(ue,ue[ie]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=0,ie=Math.random(),le=se(1 .toString);he.exports=function(ue){return"Symbol("+(ue===void 0?"":ue)+")_"+le(++re+ie,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,he,fe){var se=E("../internals/native-symbol");he.exports=se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/fails");he.exports=se&&re(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,he,fe){var se=E("../internals/global"),re=se.TypeError;he.exports=function(ie,le){if(ie<le)throw re("Not enough arguments");return ie}},{"../internals/global":163}],267:[function(E,he,fe){var se=E("../internals/well-known-symbol");fe.f=se},{"../internals/well-known-symbol":268}],268:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/shared"),ie=E("../internals/has-own-property"),le=E("../internals/uid"),ue=E("../internals/native-symbol"),ae=E("../internals/use-symbol-as-uid"),oe=re("wks"),ne=se.Symbol,z=ne&&ne.for,a=ae?ne:ne&&ne.withoutSetter||le;he.exports=function(y){if(!ie(oe,y)||!(ue||typeof oe[y]=="string")){var x="Symbol."+y;ue&&ie(ne,y)?oe[y]=ne[y]:ae&&z?oe[y]=z(x):oe[y]=a(x)}return oe[y]}},{"../internals/global":163,"../internals/has-own-property":164,"../internals/native-symbol":191,"../internals/shared":237,"../internals/uid":263,"../internals/use-symbol-as-uid":264}],269:[function(E,he,fe){he.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],270:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/array-buffer"),le=E("../internals/set-species"),ue="ArrayBuffer",ae=ie[ue],oe=re[ue];se({global:!0,forced:oe!==ae},{ArrayBuffer:ae}),le(ue)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/array-buffer"),ue=E("../internals/an-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/to-length"),ne=E("../internals/species-constructor"),z=le.ArrayBuffer,a=le.DataView,y=a.prototype,x=re(z.prototype.slice),b=re(y.getUint8),ee=re(y.setUint8),te=ie(function(){return!new z(2).slice(1,void 0).byteLength});se({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:te},{slice:function(de,ge){if(x&&ge===void 0)return x(ue(this),de);for(var ve=ue(this).byteLength,pe=ae(de,ve),Se=ae(ge===void 0?ve:ge,ve),ye=new(ne(this,z))(oe(Se-pe)),Pe=new a(this),we=new a(ye),Le=0;pe<Se;)ee(we,Le++,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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/fails"),le=E("../internals/is-array"),ue=E("../internals/is-object"),ae=E("../internals/to-object"),oe=E("../internals/length-of-array-like"),ne=E("../internals/create-property"),z=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"),ee=9007199254740991,te="Maximum allowed index exceeded",ce=re.TypeError,de=x>=51||!ie(function(){var Se=[];return Se[b]=!1,Se.concat()[0]!==Se}),ge=a("concat"),ve=function(Se){if(!ue(Se))return!1;var ye=Se[b];return ye!==void 0?!!ye:le(Se)},pe=!de||!ge;se({target:"Array",proto:!0,forced:pe},{concat:function(ye){var Pe=ae(this),we=z(Pe,0),Le=0,Ee,Te,Ce,Ae,Ie;for(Ee=-1,Ce=arguments.length;Ee<Ce;Ee++)if(Ie=Ee===-1?Pe:arguments[Ee],ve(Ie)){if(Ae=oe(Ie),Le+Ae>ee)throw ce(te);for(Te=0;Te<Ae;Te++,Le++)Te in Ie&&ne(we,Le,Ie[Te])}else{if(Le>=ee)throw ce(te);ne(we,Le++,Ie)}return we.length=Le,we}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,he,fe){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,he,fe){"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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/array-iteration").find,ie=E("../internals/add-to-unscopables"),le="find",ue=!0;le in[]&&Array(1)[le](function(){ue=!1}),se({target:"Array",proto:!0,forced:ue},{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,he,fe){var se=E("../internals/export"),re=E("../internals/array-from"),ie=E("../internals/check-correctness-of-iteration"),le=!ie(function(ue){Array.from(ue)});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,he,fe){"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(ue){return re(this,ue,arguments.length>1?arguments[1]:void 0)}}),ie("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,he,fe){"use strict";var se=E("../internals/to-indexed-object"),re=E("../internals/add-to-unscopables"),ie=E("../internals/iterators"),le=E("../internals/internal-state"),ue=E("../internals/object-define-property").f,ae=E("../internals/define-iterator"),oe=E("../internals/is-pure"),ne=E("../internals/descriptors"),z="Array Iterator",a=le.set,y=le.getterFor(z);he.exports=ae(Array,"Array",function(b,ee){a(this,{type:z,target:se(b),index:0,kind:ee})},function(){var b=y(this),ee=b.target,te=b.kind,ce=b.index++;return!ee||ce>=ee.length?(b.target=void 0,{value:void 0,done:!0}):te=="keys"?{value:ce,done:!1}:te=="values"?{value:ee[ce],done:!1}:{value:[ce,ee[ce]],done:!1}},"values");var x=ie.Arguments=ie.Array;if(re("keys"),re("values"),re("entries"),!oe&&ne&&x.name!=="values")try{ue(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),le=E("../internals/to-indexed-object"),ue=E("../internals/array-method-is-strict"),ae=re([].join),oe=ie!=Object,ne=ue("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,he,fe){"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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/is-array"),le=E("../internals/is-constructor"),ue=E("../internals/is-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/length-of-array-like"),ne=E("../internals/to-indexed-object"),z=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"),ee=a("species"),te=re.Array,ce=Math.max;se({target:"Array",proto:!0,forced:!b},{slice:function(ge,ve){var pe=ne(this),Se=oe(pe),ye=ae(ge,Se),Pe=ae(ve===void 0?Se:ve,Se),we,Le,Ee;if(ie(pe)&&(we=pe.constructor,le(we)&&(we===te||ie(we.prototype))?we=void 0:ue(we)&&(we=we[ee],we===null&&(we=void 0)),we===te||we===void 0))return x(pe,ye,Pe);for(Le=new(we===void 0?te:we)(ce(Pe-ye,0)),Ee=0;ye<Pe;ye++,Ee++)ye in pe&&z(Le,Ee,pe[ye]);return Le.length=Ee,Le}})},{"../internals/array-method-has-species-support":113,"../internals/array-slice":117,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247,"../internals/well-known-symbol":268}],282:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/a-callable"),le=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/to-string"),oe=E("../internals/fails"),ne=E("../internals/array-sort"),z=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"),ee=[],te=re(ee.sort),ce=re(ee.push),de=oe(function(){ee.sort(void 0)}),ge=oe(function(){ee.sort(null)}),ve=z("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,Le,Ee,Te;for(we=65;we<76;we++){switch(Le=String.fromCharCode(we),we){case 66:case 69:case 70:case 72:Ee=3;break;case 68:case 71:Ee=4;break;default:Ee=2}for(Te=0;Te<47;Te++)ee.push({k:Le+Te,v:Ee})}for(ee.sort(function(Ce,Ae){return Ae.v-Ce.v}),Te=0;Te<ee.length;Te++)Le=ee[Te].k.charAt(0),Pe.charAt(Pe.length-1)!==Le&&(Pe+=Le);return Pe!=="DGBEFHACIJK"}}),Se=de||!ge||!ve||!pe,ye=function(Pe){return function(we,Le){return Le===void 0?-1:we===void 0?1:Pe!==void 0?+Pe(we,Le)||0:ae(we)>ae(Le)?1:-1}};se({target:"Array",proto:!0,forced:Se},{sort:function(we){we!==void 0&&ie(we);var Le=le(this);if(pe)return we===void 0?te(Le):te(Le,we);var Ee=[],Te=ue(Le),Ce,Ae;for(Ae=0;Ae<Te;Ae++)Ae in Le&&ce(Ee,Le[Ae]);for(ne(Ee,ye(we)),Ce=Ee.length,Ae=0;Ae<Ce;)Le[Ae]=Ee[Ae++];for(;Ae<Te;)delete Le[Ae++];return Le}})},{"../internals/a-callable":95,"../internals/array-method-is-strict":114,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-string":256}],283:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/to-absolute-index"),le=E("../internals/to-integer-or-infinity"),ue=E("../internals/length-of-array-like"),ae=E("../internals/to-object"),oe=E("../internals/array-species-create"),ne=E("../internals/create-property"),z=E("../internals/array-method-has-species-support"),a=z("splice"),y=re.TypeError,x=Math.max,b=Math.min,ee=9007199254740991,te="Maximum allowed length exceeded";se({target:"Array",proto:!0,forced:!a},{splice:function(de,ge){var ve=ae(this),pe=ue(ve),Se=ie(de,pe),ye=arguments.length,Pe,we,Le,Ee,Te,Ce;if(ye===0?Pe=we=0:ye===1?(Pe=0,we=pe-Se):(Pe=ye-2,we=b(x(le(ge),0),pe-Se)),pe+Pe-we>ee)throw y(te);for(Le=oe(ve,we),Ee=0;Ee<we;Ee++)Te=Se+Ee,Te in ve&&ne(Le,Ee,ve[Te]);if(Le.length=we,Pe<we){for(Ee=Se;Ee<pe-we;Ee++)Te=Ee+we,Ce=Ee+Pe,Te in ve?ve[Ce]=ve[Te]:delete ve[Ce];for(Ee=pe;Ee>pe-we+Pe;Ee--)delete ve[Ee-1]}else if(Pe>we)for(Ee=pe-we;Ee>Se;Ee--)Te=Ee+we-1,Ce=Ee+Pe-1,Te in ve?ve[Ce]=ve[Te]:delete ve[Ce];for(Ee=0;Ee<Pe;Ee++)ve[Ee+Se]=arguments[Ee+2];return ve.length=pe-we+Pe,Le}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-integer-or-infinity":248,"../internals/to-object":250}],284:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/function-name").EXISTS,ie=E("../internals/function-uncurry-this"),le=E("../internals/object-define-property").f,ue=Function.prototype,ae=ie(ue.toString),oe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ne=ie(oe.exec),z="name";se&&!re&&le(ue,z,{configurable:!0,get:function(){try{return ne(oe,ae(this))[1]}catch(a){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/get-built-in"),ie=E("../internals/function-apply"),le=E("../internals/function-call"),ue=E("../internals/function-uncurry-this"),ae=E("../internals/fails"),oe=E("../internals/is-array"),ne=E("../internals/is-callable"),z=E("../internals/is-object"),a=E("../internals/is-symbol"),y=E("../internals/array-slice"),x=E("../internals/native-symbol"),b=re("JSON","stringify"),ee=ue(/./.exec),te=ue("".charAt),ce=ue("".charCodeAt),de=ue("".replace),ge=ue(1 .toString),ve=/[\uD800-\uDFFF]/g,pe=/^[\uD800-\uDBFF]$/,Se=/^[\uDC00-\uDFFF]$/,ye=!x||ae(function(){var Ee=re("Symbol")();return b([Ee])!="[null]"||b({a:Ee})!="{}"||b(Object(Ee))!="{}"}),Pe=ae(function(){return b("\uDF06\uD834")!=='"\\udf06\\ud834"'||b("\uDEAD")!=='"\\udead"'}),we=function(Ee,Te){var Ce=y(arguments),Ae=Te;if(!(!z(Te)&&Ee===void 0||a(Ee)))return oe(Te)||(Te=function(Ie,He){if(ne(Ae)&&(He=le(Ae,this,Ie,He)),!a(He))return He}),Ce[1]=Te,ie(b,null,Ce)},Le=function(Ee,Te,Ce){var Ae=te(Ce,Te-1),Ie=te(Ce,Te+1);return ee(pe,Ee)&&!ee(Se,Ie)||ee(Se,Ee)&&!ee(pe,Ae)?"\\u"+ge(ce(Ee,0),16):Ee};b&&se({target:"JSON",stat:!0,forced:ye||Pe},{stringify:function(Te,Ce,Ae){var Ie=y(arguments),He=ie(ye?we:b,null,Ie);return Pe&&typeof He=="string"?de(He,ve,Le):He}})},{"../internals/array-slice":117,"../internals/export":149,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/is-array":175,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/native-symbol":191}],286:[function(E,he,fe){"use strict";var se=E("../internals/descriptors"),re=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-forced"),ue=E("../internals/redefine"),ae=E("../internals/has-own-property"),oe=E("../internals/inherit-if-required"),ne=E("../internals/object-is-prototype-of"),z=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,ee=E("../internals/object-define-property").f,te=E("../internals/this-number-value"),ce=E("../internals/string-trim").trim,de="Number",ge=re[de],ve=ge.prototype,pe=re.TypeError,Se=ie("".slice),ye=ie("".charCodeAt),Pe=function(Ae){var Ie=a(Ae,"number");return typeof Ie=="bigint"?Ie:we(Ie)},we=function(Ae){var Ie=a(Ae,"number"),He,je,tt,Je,Qe,Xe,$e,ke;if(z(Ie))throw pe("Cannot convert a Symbol value to a number");if(typeof Ie=="string"&&Ie.length>2){if(Ie=ce(Ie),He=ye(Ie,0),He===43||He===45){if(je=ye(Ie,2),je===88||je===120)return NaN}else if(He===48){switch(ye(Ie,1)){case 66:case 98:tt=2,Je=49;break;case 79:case 111:tt=8,Je=55;break;default:return+Ie}for(Qe=Se(Ie,2),Xe=Qe.length,$e=0;$e<Xe;$e++)if(ke=ye(Qe,$e),ke<48||ke>Je)return NaN;return parseInt(Qe,tt)}}return+Ie};if(le(de,!ge(" 0o1")||!ge("0b1")||ge("+0x1"))){for(var Le=function(Ie){var He=arguments.length<1?0:ge(Pe(Ie)),je=this;return ne(ve,je)&&y(function(){te(je)})?oe(Object(He),je,Le):He},Ee=se?x(ge):"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(","),Te=0,Ce;Ee.length>Te;Te++)ae(ge,Ce=Ee[Te])&&!ae(Le,Ce)&&ee(Le,Ce,b(ge,Ce));Le.prototype=ve,ve.constructor=Le,ue(re,de,Le)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,he,fe){var 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,he,fe){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,he,fe){var se=E("../internals/export"),re=E("../internals/native-symbol"),ie=E("../internals/fails"),le=E("../internals/object-get-own-property-symbols"),ue=E("../internals/to-object"),ae=!re||ie(function(){le.f(1)});se({target:"Object",stat:!0,forced:ae},{getOwnPropertySymbols:function(ne){var z=le.f;return z?z(ue(ne)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/to-object"),ie=E("../internals/object-keys"),le=E("../internals/fails"),ue=le(function(){ie(1)});se({target:"Object",stat:!0,forced:ue},{keys:function(oe){return ie(re(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,he,fe){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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");se({target:"Promise",stat:!0,forced:oe},{all:function(z){var a=this,y=le.f(a),x=y.resolve,b=y.reject,ee=ue(function(){var te=ie(a.resolve),ce=[],de=0,ge=1;ae(z,function(ve){var pe=de++,Se=!1;ge++,re(te,a,ve).then(function(ye){Se||(Se=!0,ce[pe]=ye,--ge||x(ce))},b)}),--ge||x(ce)});return ee.error&&b(ee.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/is-pure"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR,le=E("../internals/promise-native-constructor"),ue=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 z=ue("Promise").prototype.catch;ne.catch!==z&&oe(ne,"catch",z,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/is-pure"),ie=E("../internals/engine-is-node"),le=E("../internals/global"),ue=E("../internals/function-call"),ae=E("../internals/redefine"),oe=E("../internals/redefine-all"),ne=E("../internals/object-set-prototype-of"),z=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"),ee=E("../internals/an-instance"),te=E("../internals/species-constructor"),ce=E("../internals/task").set,de=E("../internals/microtask"),ge=E("../internals/host-report-errors"),ve=E("../internals/perform"),pe=E("../internals/queue"),Se=E("../internals/internal-state"),ye=E("../internals/promise-native-constructor"),Pe=E("../internals/promise-constructor-detection"),we=E("../internals/new-promise-capability"),Le="Promise",Ee=Pe.CONSTRUCTOR,Te=Pe.REJECTION_EVENT,Ce=Pe.SUBCLASSING,Ae=Se.getterFor(Le),Ie=Se.set,He=ye&&ye.prototype,je=ye,tt=He,Je=le.TypeError,Qe=le.document,Xe=le.process,$e=we.f,ke=$e,Ue=!!(Qe&&Qe.createEvent&&le.dispatchEvent),qe="unhandledrejection",Ye="rejectionhandled",ft=0,We=1,Ke=2,Re=1,et=2,Me,Ge,Ve,Ze,Fe=function(At){var kt;return b(At)&&x(kt=At.then)?kt:!1},Oe=function(At,kt){var at=kt.value,Mt=kt.state==We,st=Mt?At.ok:At.fail,pt=At.resolve,bt=At.reject,Lt=At.domain,Dt,Yt,_n;try{st?(Mt||(kt.rejection===et&&gt(kt),kt.rejection=Re),st===!0?Dt=at:(Lt&&Lt.enter(),Dt=st(at),Lt&&(Lt.exit(),_n=!0)),Dt===At.promise?bt(Je("Promise-chain cycle")):(Yt=Fe(Dt))?ue(Yt,Dt,pt,bt):pt(Dt)):bt(at)}catch(Cn){Lt&&!_n&&Lt.exit(),bt(Cn)}},_e=function(At,kt){At.notified||(At.notified=!0,de(function(){for(var at=At.reactions,Mt;Mt=at.get();)Oe(Mt,At);At.notified=!1,kt&&!At.rejection&&ze(At)}))},Ne=function(At,kt,at){var Mt,st;Ue?(Mt=Qe.createEvent("Event"),Mt.promise=kt,Mt.reason=at,Mt.initEvent(At,!1,!0),le.dispatchEvent(Mt)):Mt={promise:kt,reason:at},!Te&&(st=le["on"+At])?st(Mt):At===qe&&ge("Unhandled promise rejection",at)},ze=function(At){ue(ce,le,function(){var kt=At.facade,at=At.value,Mt=ot(At),st;if(Mt&&(st=ve(function(){ie?Xe.emit("unhandledRejection",at,kt):Ne(qe,kt,at)}),At.rejection=ie||ot(At)?et:Re,st.error))throw st.value})},ot=function(At){return At.rejection!==Re&&!At.parent},gt=function(At){ue(ce,le,function(){var kt=At.facade;ie?Xe.emit("rejectionHandled",kt):Ne(Ye,kt,At.value)})},yt=function(At,kt,at){return function(Mt){At(kt,Mt,at)}},nt=function(At,kt,at){At.done||(At.done=!0,at&&(At=at),At.value=kt,At.state=Ke,_e(At,!0))},mt=function(At,kt,at){if(!At.done){At.done=!0,at&&(At=at);try{if(At.facade===kt)throw Je("Promise can't be resolved itself");var Mt=Fe(kt);Mt?de(function(){var st={done:!1};try{ue(Mt,kt,yt(mt,st,At),yt(nt,st,At))}catch(pt){nt(st,pt,At)}}):(At.value=kt,At.state=We,_e(At,!1))}catch(st){nt({done:!1},st,At)}}};if(Ee&&(je=function(kt){ee(this,tt),y(kt),ue(Me,this);var at=Ae(this);try{kt(yt(mt,at),yt(nt,at))}catch(Mt){nt(at,Mt)}},tt=je.prototype,Me=function(kt){Ie(this,{type:Le,done:!1,notified:!1,parent:!1,reactions:new pe,rejection:!1,state:ft,value:void 0})},Me.prototype=oe(tt,{then:function(kt,at){var Mt=Ae(this),st=$e(te(this,je));return Mt.parent=!0,st.ok=x(kt)?kt:!0,st.fail=x(at)&&at,st.domain=ie?Xe.domain:void 0,Mt.state==ft?Mt.reactions.add(st):de(function(){Oe(st,Mt)}),st.promise}}),Ge=function(){var At=new Me,kt=Ae(At);this.promise=At,this.resolve=yt(mt,kt),this.reject=yt(nt,kt)},we.f=$e=function(At){return At===je||At===Ve?new Ge(At):ke(At)},!re&&x(ye)&&He!==Object.prototype)){Ze=He.then,Ce||ae(He,"then",function(kt,at){var Mt=this;return new je(function(st,pt){ue(Ze,Mt,st,pt)}).then(kt,at)},{unsafe:!0});try{delete He.constructor}catch(At){}ne&&ne(He,tt)}se({global:!0,wrap:!0,forced:Ee},{Promise:je}),z(je,Le,!1,!0),a(Le)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,he,fe){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");se({target:"Promise",stat:!0,forced:oe},{race:function(z){var a=this,y=le.f(a),x=y.reject,b=ue(function(){var ee=ie(a.resolve);ae(z,function(te){re(ee,a,te).then(y.resolve,x)})});return b.error&&x(b.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(E,he,fe){"use strict";var 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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/get-built-in"),ie=E("../internals/is-pure"),le=E("../internals/promise-native-constructor"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR,ae=E("../internals/promise-resolve"),oe=re("Promise"),ne=ie&&!ue;se({target:"Promise",stat:!0,forced:ie||ue},{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,he,fe){var se=E("../internals/descriptors"),re=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-forced"),ue=E("../internals/inherit-if-required"),ae=E("../internals/create-non-enumerable-property"),oe=E("../internals/object-get-own-property-names").f,ne=E("../internals/object-is-prototype-of"),z=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"),ee=E("../internals/redefine"),te=E("../internals/fails"),ce=E("../internals/has-own-property"),de=E("../internals/internal-state").enforce,ge=E("../internals/set-species"),ve=E("../internals/well-known-symbol"),pe=E("../internals/regexp-unsupported-dot-all"),Se=E("../internals/regexp-unsupported-ncg"),ye=ve("match"),Pe=re.RegExp,we=Pe.prototype,Le=re.SyntaxError,Ee=ie(we.exec),Te=ie("".charAt),Ce=ie("".replace),Ae=ie("".indexOf),Ie=ie("".slice),He=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,je=/a/g,tt=/a/g,Je=new Pe(je)!==je,Qe=x.MISSED_STICKY,Xe=x.UNSUPPORTED_Y,$e=se&&(!Je||Qe||pe||Se||te(function(){return tt[ye]=!1,Pe(je)!=je||Pe(tt)==tt||Pe(je,"i")!="/a/i"})),ke=function(We){for(var Ke=We.length,Re=0,et="",Me=!1,Ge;Re<=Ke;Re++){if(Ge=Te(We,Re),Ge==="\\"){et+=Ge+Te(We,++Re);continue}!Me&&Ge==="."?et+="[\\s\\S]":(Ge==="["?Me=!0:Ge==="]"&&(Me=!1),et+=Ge)}return et},Ue=function(We){for(var Ke=We.length,Re=0,et="",Me=[],Ge={},Ve=!1,Ze=!1,Fe=0,Oe="",_e;Re<=Ke;Re++){if(_e=Te(We,Re),_e==="\\")_e=_e+Te(We,++Re);else if(_e==="]")Ve=!1;else if(!Ve)switch(!0){case _e==="[":Ve=!0;break;case _e==="(":Ee(He,Ie(We,Re+1))&&(Re+=2,Ze=!0),et+=_e,Fe++;continue;case(_e===">"&&Ze):if(Oe===""||ce(Ge,Oe))throw new Le("Invalid capture group name");Ge[Oe]=!0,Me[Me.length]=[Oe,Fe],Ze=!1,Oe="";continue}Ze?Oe+=_e:et+=_e}return[et,Me]};if(le("RegExp",$e)){for(var qe=function(Ke,Re){var et=ne(we,this),Me=z(Ke),Ge=Re===void 0,Ve=[],Ze=Ke,Fe,Oe,_e,Ne,ze,ot;if(!et&&Me&&Ge&&Ke.constructor===qe)return Ke;if((Me||ne(we,Ke))&&(Ke=Ke.source,Ge&&(Re=y(Ze))),Ke=Ke===void 0?"":a(Ke),Re=Re===void 0?"":a(Re),Ze=Ke,pe&&"dotAll"in je&&(Oe=!!Re&&Ae(Re,"s")>-1,Oe&&(Re=Ce(Re,/s/g,""))),Fe=Re,Qe&&"sticky"in je&&(_e=!!Re&&Ae(Re,"y")>-1,_e&&Xe&&(Re=Ce(Re,/y/g,""))),Se&&(Ne=Ue(Ke),Ke=Ne[0],Ve=Ne[1]),ze=ue(Pe(Ke,Re),et?this:we,qe),(Oe||_e||Ve.length)&&(ot=de(ze),Oe&&(ot.dotAll=!0,ot.raw=qe(ke(Ke),Fe)),_e&&(ot.sticky=!0),Ve.length&&(ot.groups=Ve)),Ke!==Ze)try{ae(ze,"source",Ze===""?"(?:)":Ze)}catch(gt){}return ze},Ye=oe(Pe),ft=0;Ye.length>ft;)b(qe,Pe,Ye[ft++]);we.constructor=qe,qe.prototype=we,ee(re,"RegExp",qe)}ge("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(E,he,fe){"use strict";var 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,he,fe){"use strict";var se=E("../internals/function-name").PROPER,re=E("../internals/redefine"),ie=E("../internals/an-object"),le=E("../internals/to-string"),ue=E("../internals/fails"),ae=E("../internals/regexp-get-flags"),oe="toString",ne=RegExp.prototype,z=ne[oe],a=ue(function(){return z.call({source:"a",flags:"b"})!="/a/b"}),y=se&&z.name!=oe;(a||y)&&re(RegExp.prototype,oe,function(){var b=ie(this),ee=le(b.source),te=le(ae(b));return"/"+ee+"/"+te},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/not-a-regexp"),le=E("../internals/require-object-coercible"),ue=E("../internals/to-string"),ae=E("../internals/correct-is-regexp-logic"),oe=re("".indexOf);se({target:"String",proto:!0,forced:!ae("includes")},{includes:function(z){return!!~oe(ue(le(this)),ue(ie(z)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,he,fe){"use strict";var se=E("../internals/string-multibyte").charAt,re=E("../internals/to-string"),ie=E("../internals/internal-state"),le=E("../internals/define-iterator"),ue="String Iterator",ae=ie.set,oe=ie.getterFor(ue);le(String,"String",function(ne){ae(this,{type:ue,string:re(ne),index:0})},function(){var z=oe(this),a=z.string,y=z.index,x;return y>=a.length?{value:void 0,done:!0}:(x=se(a,y),z.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,he,fe){"use strict";var se=E("../internals/function-call"),re=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),le=E("../internals/to-length"),ue=E("../internals/to-string"),ae=E("../internals/require-object-coercible"),oe=E("../internals/get-method"),ne=E("../internals/advance-string-index"),z=E("../internals/regexp-exec-abstract");re("match",function(a,y,x){return[function(ee){var te=ae(this),ce=ee==null?void 0:oe(ee,a);return ce?se(ce,ee,te):new RegExp(ee)[a](ue(te))},function(b){var ee=ie(this),te=ue(b),ce=x(y,ee,te);if(ce.done)return ce.value;if(!ee.global)return z(ee,te);var de=ee.unicode;ee.lastIndex=0;for(var ge=[],ve=0,pe;(pe=z(ee,te))!==null;){var Se=ue(pe[0]);ge[ve]=Se,Se===""&&(ee.lastIndex=ne(te,le(ee.lastIndex),de)),ve++}return ve===0?null:ge}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(E,he,fe){"use strict";var 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"),ue=E("../internals/fails"),ae=E("../internals/an-object"),oe=E("../internals/is-callable"),ne=E("../internals/to-integer-or-infinity"),z=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"),ee=E("../internals/get-substitution"),te=E("../internals/regexp-exec-abstract"),ce=E("../internals/well-known-symbol"),de=ce("replace"),ge=Math.max,ve=Math.min,pe=ie([].concat),Se=ie([].push),ye=ie("".indexOf),Pe=ie("".slice),we=function(Ce){return Ce===void 0?Ce:String(Ce)},Le=function(){return"a".replace(/./,"$0")==="$0"}(),Ee=function(){return/./[de]?/./[de]("a","$0")==="":!1}(),Te=!ue(function(){var Ce=/./;return Ce.exec=function(){var Ae=[];return Ae.groups={a:"7"},Ae},"".replace(Ce,"$<a>")!=="7"});le("replace",function(Ce,Ae,Ie){var He=Ee?"$":"$0";return[function(tt,Je){var Qe=y(this),Xe=tt==null?void 0:b(tt,de);return Xe?re(Xe,tt,Qe,Je):re(Ae,a(Qe),tt,Je)},function(je,tt){var Je=ae(this),Qe=a(je);if(typeof tt=="string"&&ye(tt,He)===-1&&ye(tt,"$<")===-1){var Xe=Ie(Ae,Je,Qe,tt);if(Xe.done)return Xe.value}var $e=oe(tt);$e||(tt=a(tt));var ke=Je.global;if(ke){var Ue=Je.unicode;Je.lastIndex=0}for(var qe=[];;){var Ye=te(Je,Qe);if(Ye===null||(Se(qe,Ye),!ke))break;var ft=a(Ye[0]);ft===""&&(Je.lastIndex=x(Qe,z(Je.lastIndex),Ue))}for(var We="",Ke=0,Re=0;Re<qe.length;Re++){Ye=qe[Re];for(var et=a(Ye[0]),Me=ge(ve(ne(Ye.index),Qe.length),0),Ge=[],Ve=1;Ve<Ye.length;Ve++)Se(Ge,we(Ye[Ve]));var Ze=Ye.groups;if($e){var Fe=pe([et],Ge,Me,Qe);Ze!==void 0&&Se(Fe,Ze);var Oe=a(se(tt,void 0,Fe))}else Oe=ee(et,Qe,Me,Ge,Ze,tt);Me>=Ke&&(We+=Pe(Qe,Ke,Me)+Oe,Ke=Me+et.length)}return We+Pe(Qe,Ke)}]},!Te||!Le||Ee)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(E,he,fe){"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"),ue=E("../internals/same-value"),ae=E("../internals/to-string"),oe=E("../internals/get-method"),ne=E("../internals/regexp-exec-abstract");re("search",function(z,a,y){return[function(b){var ee=le(this),te=b==null?void 0:oe(b,z);return te?se(te,b,ee):new RegExp(b)[z](ae(ee))},function(x){var b=ie(this),ee=ae(x),te=y(a,b,ee);if(te.done)return te.value;var ce=b.lastIndex;ue(ce,0)||(b.lastIndex=0);var de=ne(b,ee);return ue(b.lastIndex,ce)||(b.lastIndex=ce),de===null?-1:de.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(E,he,fe){"use strict";var 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"),ue=E("../internals/is-regexp"),ae=E("../internals/an-object"),oe=E("../internals/require-object-coercible"),ne=E("../internals/species-constructor"),z=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"),ee=E("../internals/regexp-exec-abstract"),te=E("../internals/regexp-exec"),ce=E("../internals/regexp-sticky-helpers"),de=E("../internals/fails"),ge=ce.UNSUPPORTED_Y,ve=4294967295,pe=Math.min,Se=[].push,ye=ie(/./.exec),Pe=ie(Se),we=ie("".slice),Le=!de(function(){var Ee=/(?:)/,Te=Ee.exec;Ee.exec=function(){return Te.apply(this,arguments)};var Ce="ab".split(Ee);return Ce.length!==2||Ce[0]!=="a"||Ce[1]!=="b"});le("split",function(Ee,Te,Ce){var Ae;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Ae=function(Ie,He){var je=y(oe(this)),tt=He===void 0?ve:He>>>0;if(tt===0)return[];if(Ie===void 0)return[je];if(!ue(Ie))return re(Te,je,Ie,tt);for(var Je=[],Qe=(Ie.ignoreCase?"i":"")+(Ie.multiline?"m":"")+(Ie.unicode?"u":"")+(Ie.sticky?"y":""),Xe=0,$e=new RegExp(Ie.source,Qe+"g"),ke,Ue,qe;(ke=re(te,$e,je))&&(Ue=$e.lastIndex,!(Ue>Xe&&(Pe(Je,we(je,Xe,ke.index)),ke.length>1&&ke.index<je.length&&se(Se,Je,b(ke,1)),qe=ke[0].length,Xe=Ue,Je.length>=tt)));)$e.lastIndex===ke.index&&$e.lastIndex++;return Xe===je.length?(qe||!ye($e,""))&&Pe(Je,""):Pe(Je,we(je,Xe)),Je.length>tt?b(Je,0,tt):Je}:"0".split(void 0,0).length?Ae=function(Ie,He){return Ie===void 0&&He===0?[]:re(Te,this,Ie,He)}:Ae=Te,[function(He,je){var tt=oe(this),Je=He==null?void 0:x(He,Ee);return Je?re(Je,He,tt,je):re(Ae,y(tt),He,je)},function(Ie,He){var je=ae(this),tt=y(Ie),Je=Ce(Ae,je,tt,He,Ae!==Te);if(Je.done)return Je.value;var Qe=ne(je,RegExp),Xe=je.unicode,$e=(je.ignoreCase?"i":"")+(je.multiline?"m":"")+(je.unicode?"u":"")+(ge?"g":"y"),ke=new Qe(ge?"^(?:"+je.source+")":je,$e),Ue=He===void 0?ve:He>>>0;if(Ue===0)return[];if(tt.length===0)return ee(ke,tt)===null?[tt]:[];for(var qe=0,Ye=0,ft=[];Ye<tt.length;){ke.lastIndex=ge?0:Ye;var We=ee(ke,ge?we(tt,Ye):tt),Ke;if(We===null||(Ke=pe(a(ke.lastIndex+(ge?Ye:0)),tt.length))===qe)Ye=z(tt,Ye,Xe);else{if(Pe(ft,we(tt,qe,Ye)),ft.length===Ue)return ft;for(var Re=1;Re<=We.length-1;Re++)if(Pe(ft,We[Re]),ft.length===Ue)return ft;Ye=qe=Ke}}return Pe(ft,we(tt,qe)),ft}]},!Le,ge)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/array-slice-simple":116,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/is-regexp":182,"../internals/regexp-exec":224,"../internals/regexp-exec-abstract":223,"../internals/regexp-sticky-helpers":227,"../internals/require-object-coercible":230,"../internals/species-constructor":238,"../internals/to-length":249,"../internals/to-string":256}],308:[function(E,he,fe){"use strict";var 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,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/global"),ie=E("../internals/function-call"),le=E("../internals/function-uncurry-this"),ue=E("../internals/is-pure"),ae=E("../internals/descriptors"),oe=E("../internals/native-symbol"),ne=E("../internals/fails"),z=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"),ee=E("../internals/to-string"),te=E("../internals/create-property-descriptor"),ce=E("../internals/object-create"),de=E("../internals/object-keys"),ge=E("../internals/object-get-own-property-names"),ve=E("../internals/object-get-own-property-names-external"),pe=E("../internals/object-get-own-property-symbols"),Se=E("../internals/object-get-own-property-descriptor"),ye=E("../internals/object-define-property"),Pe=E("../internals/object-define-properties"),we=E("../internals/object-property-is-enumerable"),Le=E("../internals/redefine"),Ee=E("../internals/shared"),Te=E("../internals/shared-key"),Ce=E("../internals/hidden-keys"),Ae=E("../internals/uid"),Ie=E("../internals/well-known-symbol"),He=E("../internals/well-known-symbol-wrapped"),je=E("../internals/define-well-known-symbol"),tt=E("../internals/symbol-define-to-primitive"),Je=E("../internals/set-to-string-tag"),Qe=E("../internals/internal-state"),Xe=E("../internals/array-iteration").forEach,$e=Te("hidden"),ke="Symbol",Ue="prototype",qe=Qe.set,Ye=Qe.getterFor(ke),ft=Object[Ue],We=re.Symbol,Ke=We&&We[Ue],Re=re.TypeError,et=re.QObject,Me=Se.f,Ge=ye.f,Ve=ve.f,Ze=we.f,Fe=le([].push),Oe=Ee("symbols"),_e=Ee("op-symbols"),Ne=Ee("wks"),ze=!et||!et[Ue]||!et[Ue].findChild,ot=ae&&ne(function(){return ce(Ge({},"a",{get:function(){return Ge(this,"a",{value:7}).a}})).a!=7})?function(st,pt,bt){var Lt=Me(ft,pt);Lt&&delete ft[pt],Ge(st,pt,bt),Lt&&st!==ft&&Ge(ft,pt,Lt)}:Ge,gt=function(st,pt){var bt=Oe[st]=ce(Ke);return qe(bt,{type:ke,tag:st,description:pt}),ae||(bt.description=pt),bt},yt=function(pt,bt,Lt){pt===ft&&yt(_e,bt,Lt),y(pt);var Dt=b(bt);return y(Lt),z(Oe,Dt)?(Lt.enumerable?(z(pt,$e)&&pt[$e][Dt]&&(pt[$e][Dt]=!1),Lt=ce(Lt,{enumerable:te(0,!1)})):(z(pt,$e)||Ge(pt,$e,te(1,{})),pt[$e][Dt]=!0),ot(pt,Dt,Lt)):Ge(pt,Dt,Lt)},nt=function(pt,bt){y(pt);var Lt=x(bt),Dt=de(Lt).concat(Mt(Lt));return Xe(Dt,function(Yt){(!ae||ie(At,Lt,Yt))&&yt(pt,Yt,Lt[Yt])}),pt},mt=function(pt,bt){return bt===void 0?ce(pt):nt(ce(pt),bt)},At=function(pt){var bt=b(pt),Lt=ie(Ze,this,bt);return this===ft&&z(Oe,bt)&&!z(_e,bt)?!1:Lt||!z(this,bt)||!z(Oe,bt)||z(this,$e)&&this[$e][bt]?Lt:!0},kt=function(pt,bt){var Lt=x(pt),Dt=b(bt);if(!(Lt===ft&&z(Oe,Dt)&&!z(_e,Dt))){var Yt=Me(Lt,Dt);return Yt&&z(Oe,Dt)&&!(z(Lt,$e)&&Lt[$e][Dt])&&(Yt.enumerable=!0),Yt}},at=function(pt){var bt=Ve(x(pt)),Lt=[];return Xe(bt,function(Dt){!z(Oe,Dt)&&!z(Ce,Dt)&&Fe(Lt,Dt)}),Lt},Mt=function(st){var pt=st===ft,bt=Ve(pt?_e:x(st)),Lt=[];return Xe(bt,function(Dt){z(Oe,Dt)&&(!pt||z(ft,Dt))&&Fe(Lt,Oe[Dt])}),Lt};oe||(We=function(){if(a(Ke,this))throw Re("Symbol is not a constructor");var pt=!arguments.length||arguments[0]===void 0?void 0:ee(arguments[0]),bt=Ae(pt),Lt=function(Dt){this===ft&&ie(Lt,_e,Dt),z(this,$e)&&z(this[$e],bt)&&(this[$e][bt]=!1),ot(this,bt,te(1,Dt))};return ae&&ze&&ot(ft,bt,{configurable:!0,set:Lt}),gt(bt,pt)},Ke=We[Ue],Le(Ke,"toString",function(){return Ye(this).tag}),Le(We,"withoutSetter",function(st){return gt(Ae(st),st)}),we.f=At,ye.f=yt,Pe.f=nt,Se.f=kt,ge.f=ve.f=at,pe.f=Mt,He.f=function(st){return gt(Ie(st),st)},ae&&(Ge(Ke,"description",{configurable:!0,get:function(){return Ye(this).description}}),ue||Le(ft,"propertyIsEnumerable",At,{unsafe:!0}))),se({global:!0,wrap:!0,forced:!oe,sham:!oe},{Symbol:We}),Xe(de(Ne),function(st){je(st)}),se({target:ke,stat:!0,forced:!oe},{useSetter:function(){ze=!0},useSimple:function(){ze=!1}}),se({target:"Object",stat:!0,forced:!oe,sham:!ae},{create:mt,defineProperty:yt,defineProperties:nt,getOwnPropertyDescriptor:kt}),se({target:"Object",stat:!0,forced:!oe},{getOwnPropertyNames:at}),tt(),Je(We,ke),Ce[$e]=!0},{"../internals/an-object":101,"../internals/array-iteration":111,"../internals/create-property-descriptor":130,"../internals/define-well-known-symbol":133,"../internals/descriptors":134,"../internals/export":149,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/native-symbol":191,"../internals/object-create":196,"../internals/object-define-properties":197,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-names-external":200,"../internals/object-get-own-property-symbols":202,"../internals/object-is-prototype-of":204,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/shared":237,"../internals/shared-key":235,"../internals/symbol-define-to-primitive":242,"../internals/to-indexed-object":247,"../internals/to-property-key":254,"../internals/to-string":256,"../internals/uid":263,"../internals/well-known-symbol":268,"../internals/well-known-symbol-wrapped":267}],310:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/descriptors"),ie=E("../internals/global"),le=E("../internals/function-uncurry-this"),ue=E("../internals/has-own-property"),ae=E("../internals/is-callable"),oe=E("../internals/object-is-prototype-of"),ne=E("../internals/to-string"),z=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={},ee=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(ee,y),ee.prototype=x,x.constructor=ee;var te=String(y("test"))=="Symbol(test)",ce=le(x.toString),de=le(x.valueOf),ge=/^Symbol\((.*)\)[^)]+$/,ve=le("".replace),pe=le("".slice);z(x,"description",{configurable:!0,get:function(){var ye=de(this),Pe=ce(ye);if(ue(b,ye))return"";var we=te?pe(Pe,7,-1):ve(Pe,ge,"$1");return we===""?void 0:we}}),se({global:!0,forced:!0},{Symbol:ee})}},{"../internals/copy-constructor-properties":125,"../internals/descriptors":134,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/object-define-property":198,"../internals/object-is-prototype-of":204,"../internals/to-string":256}],311:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/get-built-in"),ie=E("../internals/has-own-property"),le=E("../internals/to-string"),ue=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ue("string-to-symbol-registry"),ne=ue("symbol-to-string-registry");se({target:"Symbol",stat:!0,forced:!ae},{for:function(z){var a=le(z);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,he,fe){var se=E("../internals/define-well-known-symbol");se("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(E,he,fe){E("../modules/es.symbol.constructor"),E("../modules/es.symbol.for"),E("../modules/es.symbol.key-for"),E("../modules/es.json.stringify"),E("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":285,"../modules/es.object.get-own-property-symbols":289,"../modules/es.symbol.constructor":309,"../modules/es.symbol.for":311,"../modules/es.symbol.key-for":314}],314:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/has-own-property"),ie=E("../internals/is-symbol"),le=E("../internals/try-to-string"),ue=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ue("symbol-to-string-registry");se({target:"Symbol",stat:!0,forced:!ae},{keyFor:function(z){if(!ie(z))throw TypeError(le(z)+" is not a symbol");if(re(oe,z))return oe[z]}})},{"../internals/export":149,"../internals/has-own-property":164,"../internals/is-symbol":183,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/try-to-string":257}],315:[function(E,he,fe){"use strict";var se=E("../internals/function-uncurry-this"),re=E("../internals/array-buffer-view-core"),ie=E("../internals/array-copy-within"),le=se(ie),ue=re.aTypedArray,ae=re.exportTypedArrayMethod;ae("copyWithin",function(ne,z){return le(ue(this),ne,z,arguments.length>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,he,fe){"use strict";var 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,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/function-call"),ie=E("../internals/array-fill"),le=se.aTypedArray,ue=se.exportTypedArrayMethod;ue("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,he,fe){"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,ue=se.exportTypedArrayMethod;ue("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,he,fe){"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,he,fe){"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,he,fe){"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,he,fe){"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,he,fe){"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,he,fe){"use strict";var se=E("../internals/global"),re=E("../internals/fails"),ie=E("../internals/function-uncurry-this"),le=E("../internals/array-buffer-view-core"),ue=E("../modules/es.array.iterator"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=se.Uint8Array,z=ie(ue.values),a=ie(ue.keys),y=ie(ue.entries),x=le.aTypedArray,b=le.exportTypedArrayMethod,ee=ne&&ne.prototype,te=!re(function(){ee[oe].call([1])}),ce=!!ee&&ee.values&&ee[oe]===ee.values&&ee.values.name==="values",de=function(){return z(x(this))};b("entries",function(){return y(x(this))},te),b("keys",function(){return a(x(this))},te),b("values",de,te||!ce,{name:"values"}),b(oe,de,te||!ce,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/function-uncurry-this"),ie=se.aTypedArray,le=se.exportTypedArrayMethod,ue=re([].join);le("join",function(oe){return ue(ie(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,he,fe){"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,ue=se.exportTypedArrayMethod;ue("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,he,fe){"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,ue=se.exportTypedArrayMethod;ue("map",function(oe){return re(le(this),oe,arguments.length>1?arguments[1]:void 0,function(ne,z){return new(ie(ne))(z)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,he,fe){"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,he,fe){"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,he,fe){"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),z=0,a;z<ne;)a=ae[z],ae[z++]=ae[--oe],ae[oe]=a;return ae})},{"../internals/array-buffer-view-core":103}],331:[function(E,he,fe){"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"),ue=E("../internals/to-offset"),ae=E("../internals/to-object"),oe=E("../internals/fails"),ne=se.RangeError,z=se.Int8Array,a=z&&z.prototype,y=a&&a.set,x=ie.aTypedArray,b=ie.exportTypedArrayMethod,ee=!oe(function(){var ce=new Uint8ClampedArray(2);return re(y,ce,{length:1,0:3},1),ce[1]!==3}),te=ee&&ie.NATIVE_ARRAY_BUFFER_VIEWS&&oe(function(){var ce=new z(2);return ce.set(1),ce.set("2",1),ce[0]!==0||ce[1]!==2});b("set",function(de){x(this);var ge=ue(arguments.length>1?arguments[1]:void 0,1),ve=ae(de);if(ee)return re(y,this,ve,ge);var pe=this.length,Se=le(ve),ye=0;if(Se+ge>pe)throw ne("Wrong length");for(;ye<Se;)this[ge+ye]=ve[ye++]},!ee||te)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-call":155,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-offset":251}],332:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/typed-array-species-constructor"),ie=E("../internals/fails"),le=E("../internals/array-slice"),ue=se.aTypedArray,ae=se.exportTypedArrayMethod,oe=ie(function(){new Int8Array(1).slice()});ae("slice",function(z,a){for(var y=le(ue(this),z,a),x=re(this),b=0,ee=y.length,te=new x(ee);ee>b;)te[b]=y[b++];return te},oe)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,he,fe){"use strict";var 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,he,fe){"use strict";var se=E("../internals/global"),re=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/a-callable"),ue=E("../internals/array-sort"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/engine-ff-version"),ne=E("../internals/engine-is-ie-or-edge"),z=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ae.aTypedArray,x=ae.exportTypedArrayMethod,b=se.Uint16Array,ee=b&&re(b.prototype.sort),te=!!ee&&!(ie(function(){ee(new b(2),null)})&&ie(function(){ee(new b(2),{})})),ce=!!ee&&!ie(function(){if(z)return z<74;if(oe)return oe<67;if(ne)return!0;if(a)return a<602;var ge=new b(516),ve=Array(516),pe,Se;for(pe=0;pe<516;pe++)Se=pe%4,ge[pe]=515-pe,ve[pe]=pe-2*Se+3;for(ee(ge,function(ye,Pe){return(ye/4|0)-(Pe/4|0)}),pe=0;pe<516;pe++)if(ge[pe]!==ve[pe])return!0}),de=function(ge){return function(ve,pe){return ge!==void 0?+ge(ve,pe)||0:pe!==pe?-1:ve!==ve?1:ve===0&&pe===0?1/ve>0&&1/pe<0?1:-1:ve>pe}};x("sort",function(ve){return ve!==void 0&&le(ve),ce?ee(this,ve):ue(y(this),de(ve))},!ce||te)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(E,he,fe){"use strict";var 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"),ue=se.aTypedArray,ae=se.exportTypedArrayMethod;ae("subarray",function(ne,z){var a=ue(this),y=a.length,x=ie(ne,y),b=le(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,re((z===void 0?y:ie(z,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,he,fe){"use strict";var se=E("../internals/global"),re=E("../internals/function-apply"),ie=E("../internals/array-buffer-view-core"),le=E("../internals/fails"),ue=E("../internals/array-slice"),ae=se.Int8Array,oe=ie.aTypedArray,ne=ie.exportTypedArrayMethod,z=[].toLocaleString,a=!!ae&&le(function(){z.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(z,a?ue(oe(this)):oe(this),ue(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core").exportTypedArrayMethod,re=E("../internals/fails"),ie=E("../internals/global"),le=E("../internals/function-uncurry-this"),ue=ie.Uint8Array,ae=ue&&ue.prototype||{},oe=[].toString,ne=le([].join);re(function(){oe.call({})})&&(oe=function(){return ne(this)});var z=ae.toString!=oe;se("toString",oe,z)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,he,fe){var se=E("../internals/typed-array-constructor");se("Uint8",function(re){return function(le,ue,ae){return re(this,le,ue,ae)}})},{"../internals/typed-array-constructor":258}],339:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),le=E("../internals/array-for-each"),ue=E("../internals/create-non-enumerable-property"),ae=function(ne){if(ne&&ne.forEach!==le)try{ue(ne,"forEach",le)}catch(z){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,he,fe){var se=E("../internals/global"),re=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),le=E("../modules/es.array.iterator"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=ae("toStringTag"),z=le.values,a=function(x,b){if(x){if(x[oe]!==z)try{ue(x,oe,z)}catch(te){x[oe]=z}if(x[ne]||ue(x,ne,b),re[b]){for(var ee in le)if(x[ee]!==le[ee])try{ue(x,ee,le[ee])}catch(te){x[ee]=le[ee]}}}};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,he,fe){function se(ce){return Array.isArray?Array.isArray(ce):te(ce)==="[object Array]"}fe.isArray=se;function re(ce){return typeof ce=="boolean"}fe.isBoolean=re;function ie(ce){return ce===null}fe.isNull=ie;function le(ce){return ce==null}fe.isNullOrUndefined=le;function ue(ce){return typeof ce=="number"}fe.isNumber=ue;function ae(ce){return typeof ce=="string"}fe.isString=ae;function oe(ce){return typeof ce=="symbol"}fe.isSymbol=oe;function ne(ce){return ce===void 0}fe.isUndefined=ne;function z(ce){return te(ce)==="[object RegExp]"}fe.isRegExp=z;function a(ce){return typeof ce=="object"&&ce!==null}fe.isObject=a;function y(ce){return te(ce)==="[object Date]"}fe.isDate=y;function x(ce){return te(ce)==="[object Error]"||ce instanceof Error}fe.isError=x;function b(ce){return typeof ce=="function"}fe.isFunction=b;function ee(ce){return ce===null||typeof ce=="boolean"||typeof ce=="number"||typeof ce=="string"||typeof ce=="symbol"||typeof ce=="undefined"}fe.isPrimitive=ee,fe.isBuffer=E("buffer").Buffer.isBuffer;function te(ce){return Object.prototype.toString.call(ce)}},{buffer:90}],342:[function(E,he,fe){(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,z=/[^-+\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 ee=y.slice(0,4);(ee==="UTC:"||ee==="GMT:")&&(y=y.slice(4),x=!0,ee==="GMT:"&&(b=!0));var te=x?"getUTC":"get",ce=a[te+"Date"](),de=a[te+"Day"](),ge=a[te+"Month"](),ve=a[te+"FullYear"](),pe=a[te+"Hours"](),Se=a[te+"Minutes"](),ye=a[te+"Seconds"](),Pe=a[te+"Milliseconds"](),we=x?0:a.getTimezoneOffset(),Le=le(a),Ee=ue(a),Te={d:ce,dd:ie(ce),ddd:re.i18n.dayNames[de],dddd:re.i18n.dayNames[de+7],m:ge+1,mm:ie(ge+1),mmm:re.i18n.monthNames[ge],mmmm:re.i18n.monthNames[ge+12],yy:String(ve).slice(2),yyyy:ve,h:pe%12||12,hh:ie(pe%12||12),H:pe,HH:ie(pe),M:Se,MM:ie(Se),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(z,""),o:(we>0?"-":"+")+ie(Math.floor(Math.abs(we)/60)*100+Math.abs(we)%60,4),S:["th","st","nd","rd"][ce%10>3?0:(ce%100-ce%10!=10)*ce%10],W:Le,N:Ee};return y.replace(oe,function(Ce){return Ce in Te?Te[Ce]:Ce.slice(1,Ce.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 z=new Date(ne.getFullYear(),0,4);z.setDate(z.getDate()-(z.getDay()+6)%7+3);var a=ne.getTimezoneOffset()-z.getTimezoneOffset();ne.setHours(ne.getHours()-a);var y=(ne-z)/(864e5*7);return 1+Math.floor(y)}function ue(oe){var ne=oe.getDay();return ne===0&&(ne=7),ne}function ae(oe){return oe===null?"null":oe===void 0?"undefined":typeof oe!="object"?typeof oe:Array.isArray(oe)?"array":{}.toString.call(oe).slice(8,-1).toLowerCase()}typeof me=="function"&&me.amd?me(function(){return re}):typeof fe=="object"?he.exports=re:se.dateFormat=re})(this)},{}],343:[function(E,he,fe){"use strict";var se=/["'&<>]/;he.exports=re;function re(ie){var le=""+ie,ue=se.exec(le);if(!ue)return le;var ae,oe="",ne=0,z=0;for(ne=ue.index;ne<le.length;ne++){switch(le.charCodeAt(ne)){case 34:ae="&quot;";break;case 38:ae="&amp;";break;case 39:ae="&#39;";break;case 60:ae="&lt;";break;case 62:ae="&gt;";break;default:continue}z!==ne&&(oe+=le.substring(z,ne)),z=ne+1,oe+=ae}return z!==ne?oe+le.substring(z,ne):oe}},{}],344:[function(E,he,fe){"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(Se){console&&console.warn&&console.warn(Se)}var ue=Number.isNaN||function(ye){return ye!==ye};function ae(){ae.init.call(this)}he.exports=ae,he.exports.once=ge,ae.EventEmitter=ae,ae.prototype._events=void 0,ae.prototype._eventsCount=0,ae.prototype._maxListeners=void 0;var oe=10;function ne(Se){if(typeof Se!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Se)}Object.defineProperty(ae,"defaultMaxListeners",{enumerable:!0,get:function(){return oe},set:function(Se){if(typeof Se!="number"||Se<0||ue(Se))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Se+".");oe=Se}}),ae.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ae.prototype.setMaxListeners=function(ye){if(typeof ye!="number"||ye<0||ue(ye))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ye+".");return this._maxListeners=ye,this};function z(Se){return Se._maxListeners===void 0?ae.defaultMaxListeners:Se._maxListeners}ae.prototype.getMaxListeners=function(){return z(this)},ae.prototype.emit=function(ye){for(var Pe=[],we=1;we<arguments.length;we++)Pe.push(arguments[we]);var Le=ye==="error",Ee=this._events;if(Ee!==void 0)Le=Le&&Ee.error===void 0;else if(!Le)return!1;if(Le){var Te;if(Pe.length>0&&(Te=Pe[0]),Te instanceof Error)throw Te;var Ce=new Error("Unhandled error."+(Te?" ("+Te.message+")":""));throw Ce.context=Te,Ce}var Ae=Ee[ye];if(Ae===void 0)return!1;if(typeof Ae=="function")re(Ae,this,Pe);else for(var Ie=Ae.length,He=te(Ae,Ie),we=0;we<Ie;++we)re(He[we],this,Pe);return!0};function a(Se,ye,Pe,we){var Le,Ee,Te;if(ne(Pe),Ee=Se._events,Ee===void 0?(Ee=Se._events=Object.create(null),Se._eventsCount=0):(Ee.newListener!==void 0&&(Se.emit("newListener",ye,Pe.listener?Pe.listener:Pe),Ee=Se._events),Te=Ee[ye]),Te===void 0)Te=Ee[ye]=Pe,++Se._eventsCount;else if(typeof Te=="function"?Te=Ee[ye]=we?[Pe,Te]:[Te,Pe]:we?Te.unshift(Pe):Te.push(Pe),Le=z(Se),Le>0&&Te.length>Le&&!Te.warned){Te.warned=!0;var Ce=new Error("Possible EventEmitter memory leak detected. "+Te.length+" "+String(ye)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ce.name="MaxListenersExceededWarning",Ce.emitter=Se,Ce.type=ye,Ce.count=Te.length,le(Ce)}return Se}ae.prototype.addListener=function(ye,Pe){return a(this,ye,Pe,!1)},ae.prototype.on=ae.prototype.addListener,ae.prototype.prependListener=function(ye,Pe){return a(this,ye,Pe,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(Se,ye,Pe){var we={fired:!1,wrapFn:void 0,target:Se,type:ye,listener:Pe},Le=y.bind(we);return Le.listener=Pe,we.wrapFn=Le,Le}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,Le,Ee,Te,Ce;if(ne(Pe),Le=this._events,Le===void 0)return this;if(we=Le[ye],we===void 0)return this;if(we===Pe||we.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete Le[ye],Le.removeListener&&this.emit("removeListener",ye,we.listener||Pe));else if(typeof we!="function"){for(Ee=-1,Te=we.length-1;Te>=0;Te--)if(we[Te]===Pe||we[Te].listener===Pe){Ce=we[Te].listener,Ee=Te;break}if(Ee<0)return this;Ee===0?we.shift():ce(we,Ee),we.length===1&&(Le[ye]=we[0]),Le.removeListener!==void 0&&this.emit("removeListener",ye,Ce||Pe)}return this},ae.prototype.off=ae.prototype.removeListener,ae.prototype.removeAllListeners=function(ye){var Pe,we,Le;if(we=this._events,we===void 0)return this;if(we.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):we[ye]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete we[ye]),this;if(arguments.length===0){var Ee=Object.keys(we),Te;for(Le=0;Le<Ee.length;++Le)Te=Ee[Le],Te!=="removeListener"&&this.removeAllListeners(Te);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(Le=Pe.length-1;Le>=0;Le--)this.removeListener(ye,Pe[Le]);return this};function b(Se,ye,Pe){var we=Se._events;if(we===void 0)return[];var Le=we[ye];return Le===void 0?[]:typeof Le=="function"?Pe?[Le.listener||Le]:[Le]:Pe?de(Le):te(Le,Le.length)}ae.prototype.listeners=function(ye){return b(this,ye,!0)},ae.prototype.rawListeners=function(ye){return b(this,ye,!1)},ae.listenerCount=function(Se,ye){return typeof Se.listenerCount=="function"?Se.listenerCount(ye):ee.call(Se,ye)},ae.prototype.listenerCount=ee;function ee(Se){var ye=this._events;if(ye!==void 0){var Pe=ye[Se];if(typeof Pe=="function")return 1;if(Pe!==void 0)return Pe.length}return 0}ae.prototype.eventNames=function(){return this._eventsCount>0?ie(this._events):[]};function te(Se,ye){for(var Pe=new Array(ye),we=0;we<ye;++we)Pe[we]=Se[we];return Pe}function ce(Se,ye){for(;ye+1<Se.length;ye++)Se[ye]=Se[ye+1];Se.pop()}function de(Se){for(var ye=new Array(Se.length),Pe=0;Pe<ye.length;++Pe)ye[Pe]=Se[Pe].listener||Se[Pe];return ye}function ge(Se,ye){return new Promise(function(Pe,we){function Le(Te){Se.removeListener(ye,Ee),we(Te)}function Ee(){typeof Se.removeListener=="function"&&Se.removeListener("error",Le),Pe([].slice.call(arguments))}pe(Se,ye,Ee,{once:!0}),ye!=="error"&&ve(Se,Le,{once:!0})})}function ve(Se,ye,Pe){typeof Se.on=="function"&&pe(Se,"error",ye,Pe)}function pe(Se,ye,Pe,we){if(typeof Se.on=="function")we.once?Se.once(ye,Pe):Se.on(ye,Pe);else if(typeof Se.addEventListener=="function")Se.addEventListener(ye,function Le(Ee){we.once&&Se.removeEventListener(ye,Le),Pe(Ee)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Se)}},{}],345:[function(E,he,fe){"use strict";var se=E("is-callable"),re=Object.prototype.toString,ie=Object.prototype.hasOwnProperty,le=function(z,a,y){for(var x=0,b=z.length;x<b;x++)ie.call(z,x)&&(y==null?a(z[x],x,z):a.call(y,z[x],x,z))},ue=function(z,a,y){for(var x=0,b=z.length;x<b;x++)y==null?a(z.charAt(x),x,z):a.call(y,z.charAt(x),x,z)},ae=function(z,a,y){for(var x in z)ie.call(z,x)&&(y==null?a(z[x],x,z):a.call(y,z[x],x,z))},oe=function(z,a,y){if(!se(a))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=y),re.call(z)==="[object Array]"?le(z,a,x):typeof z=="string"?ue(z,a,x):ae(z,a,x)};he.exports=oe},{"is-callable":367}],346:[function(E,he,fe){"use strict";var se="Function.prototype.bind called on incompatible ",re=Array.prototype.slice,ie=Object.prototype.toString,le="[object Function]";he.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),z,a=function(){if(this instanceof z){var te=oe.apply(this,ne.concat(re.call(arguments)));return Object(te)===te?te:this}else return oe.apply(ae,ne.concat(re.call(arguments)))},y=Math.max(0,oe.length-ne.length),x=[],b=0;b<y;b++)x.push("$"+b);if(z=Function("binder","return function ("+x.join(",")+"){ return binder.apply(this,arguments); }")(a),oe.prototype){var ee=function(){};ee.prototype=oe.prototype,z.prototype=new ee,ee.prototype=null}return z}},{}],347:[function(E,he,fe){"use strict";var se=E("./implementation");he.exports=Function.prototype.bind||se},{"./implementation":346}],348:[function(E,he,fe){"use strict";var se,re=SyntaxError,ie=Function,le=TypeError,ue=function(Ae){try{return ie('"use strict"; return ('+Ae+").constructor;")()}catch(Ie){}},ae=Object.getOwnPropertyDescriptor;if(ae)try{ae({},"")}catch(Ae){ae=null}var oe=function(){throw new le},ne=ae?function(){try{return arguments.callee,oe}catch(Ae){try{return ae(arguments,"callee").get}catch(Ie){return oe}}}():oe,z=E("has-symbols")(),a=E("has-proto")(),y=Object.getPrototypeOf||(a?function(Ae){return Ae.__proto__}:null),x={},b=typeof Uint8Array=="undefined"||!y?se:y(Uint8Array),ee={"%AggregateError%":typeof AggregateError=="undefined"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?se:ArrayBuffer,"%ArrayIteratorPrototype%":z&&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%":z&&y?y(y([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map=="undefined"?se:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!z||!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"||!z||!y?se:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":z&&y?y(""[Symbol.iterator]()):se,"%Symbol%":z?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(Ae){var te=y(y(Ae));ee["%Error.prototype%"]=te}var ce=function Ae(Ie){var He;if(Ie==="%AsyncFunction%")He=ue("async function () {}");else if(Ie==="%GeneratorFunction%")He=ue("function* () {}");else if(Ie==="%AsyncGeneratorFunction%")He=ue("async function* () {}");else if(Ie==="%AsyncGenerator%"){var je=Ae("%AsyncGeneratorFunction%");je&&(He=je.prototype)}else if(Ie==="%AsyncIteratorPrototype%"){var tt=Ae("%AsyncGenerator%");tt&&y&&(He=y(tt.prototype))}return ee[Ie]=He,He},de={"%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"]},ge=E("function-bind"),ve=E("has"),pe=ge.call(Function.call,Array.prototype.concat),Se=ge.call(Function.apply,Array.prototype.splice),ye=ge.call(Function.call,String.prototype.replace),Pe=ge.call(Function.call,String.prototype.slice),we=ge.call(Function.call,RegExp.prototype.exec),Le=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ee=/\\(\\)?/g,Te=function(Ie){var He=Pe(Ie,0,1),je=Pe(Ie,-1);if(He==="%"&&je!=="%")throw new re("invalid intrinsic syntax, expected closing `%`");if(je==="%"&&He!=="%")throw new re("invalid intrinsic syntax, expected opening `%`");var tt=[];return ye(Ie,Le,function(Je,Qe,Xe,$e){tt[tt.length]=Xe?ye($e,Ee,"$1"):Qe||Je}),tt},Ce=function(Ie,He){var je=Ie,tt;if(ve(de,je)&&(tt=de[je],je="%"+tt[0]+"%"),ve(ee,je)){var Je=ee[je];if(Je===x&&(Je=ce(je)),typeof Je=="undefined"&&!He)throw new le("intrinsic "+Ie+" exists, but is not available. Please file an issue!");return{alias:tt,name:je,value:Je}}throw new re("intrinsic "+Ie+" does not exist!")};he.exports=function(Ie,He){if(typeof Ie!="string"||Ie.length===0)throw new le("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof He!="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 je=Te(Ie),tt=je.length>0?je[0]:"",Je=Ce("%"+tt+"%",He),Qe=Je.name,Xe=Je.value,$e=!1,ke=Je.alias;ke&&(tt=ke[0],Se(je,pe([0,1],ke)));for(var Ue=1,qe=!0;Ue<je.length;Ue+=1){var Ye=je[Ue],ft=Pe(Ye,0,1),We=Pe(Ye,-1);if((ft==='"'||ft==="'"||ft==="`"||We==='"'||We==="'"||We==="`")&&ft!==We)throw new re("property names with quotes must have matching quotes");if((Ye==="constructor"||!qe)&&($e=!0),tt+="."+Ye,Qe="%"+tt+"%",ve(ee,Qe))Xe=ee[Qe];else if(Xe!=null){if(!(Ye in Xe)){if(!He)throw new le("base intrinsic for "+Ie+" exists, but the property is not available.");return}if(ae&&Ue+1>=je.length){var Ke=ae(Xe,Ye);qe=!!Ke,qe&&"get"in Ke&&!("originalValue"in Ke.get)?Xe=Ke.get:Xe=Xe[Ye]}else qe=ve(Xe,Ye),Xe=Xe[Ye];qe&&!$e&&(ee[Qe]=Xe)}}return Xe}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,he,fe){"use strict";var se=E("get-intrinsic"),re=se("%Object.getOwnPropertyDescriptor%",!0);if(re)try{re([],"length")}catch(ie){re=null}he.exports=re},{"get-intrinsic":348}],350:[function(E,he,fe){"use strict";var se={foo:{}},re=Object;he.exports=function(){return{__proto__:se}.foo===se.foo&&!({__proto__:null}instanceof re)}},{}],351:[function(E,he,fe){"use strict";var se=typeof Symbol!="undefined"&&Symbol,re=E("./shams");he.exports=function(){return typeof se!="function"||typeof Symbol!="function"||typeof se("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:re()}},{"./shams":352}],352:[function(E,he,fe){"use strict";he.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var re={},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 ue=42;re[ie]=ue;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!==ue||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(E,he,fe){"use strict";var se=E("has-symbols/shams");he.exports=function(){return se()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,he,fe){"use strict";var se=E("function-bind");he.exports=se.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,he,fe){var se=E("http"),re=E("url"),ie=he.exports;for(var le in se)se.hasOwnProperty(le)&&(ie[le]=se[le]);ie.request=function(ae,oe){return ae=ue(ae),se.request.call(this,ae,oe)},ie.get=function(ae,oe){return ae=ue(ae),se.get.call(this,ae,oe)};function ue(ae){if(typeof ae=="string"&&(ae=re.parse(ae)),ae.protocol||(ae.protocol="https:"),ae.protocol!=="https:")throw new Error('Protocol "'+ae.protocol+'" not supported. Expected "https:"');return ae}},{http:468,url:472}],356:[function(E,he,fe){"use strict";var se=E("util"),re=E("ms");he.exports=function(ie){if(typeof ie=="number")return ie;var le=re(ie);if(le===void 0){var ue=new Error(se.format("humanize-ms(%j) result undefined",ie));console.warn(ue.stack)}return le}},{ms:376,util:419}],357:[function(E,he,fe){fe.read=function(se,re,ie,le,ue){var ae,oe,ne=ue*8-le-1,z=(1<<ne)-1,a=z>>1,y=-7,x=ie?ue-1:0,b=ie?-1:1,ee=se[re+x];for(x+=b,ae=ee&(1<<-y)-1,ee>>=-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===z)return oe?NaN:(ee?-1:1)*(1/0);oe=oe+Math.pow(2,le),ae=ae-a}return(ee?-1:1)*oe*Math.pow(2,ae-le)},fe.write=function(se,re,ie,le,ue,ae){var oe,ne,z,a=ae*8-ue-1,y=(1<<a)-1,x=y>>1,b=ue===23?Math.pow(2,-24)-Math.pow(2,-77):0,ee=le?0:ae-1,te=le?1:-1,ce=re<0||re===0&&1/re<0?1:0;for(re=Math.abs(re),isNaN(re)||re===1/0?(ne=isNaN(re)?1:0,oe=y):(oe=Math.floor(Math.log(re)/Math.LN2),re*(z=Math.pow(2,-oe))<1&&(oe--,z*=2),oe+x>=1?re+=b/z:re+=b*Math.pow(2,1-x),re*z>=2&&(oe++,z/=2),oe+x>=y?(ne=0,oe=y):oe+x>=1?(ne=(re*z-1)*Math.pow(2,ue),oe=oe+x):(ne=re*Math.pow(2,x-1)*Math.pow(2,ue),oe=0));ue>=8;se[ie+ee]=ne&255,ee+=te,ne/=256,ue-=8);for(oe=oe<<ue|ne,a+=ue;a>0;se[ie+ee]=oe&255,ee+=te,oe/=256,a-=8);se[ie+ee-te]|=ce*128}},{}],358:[function(E,he,fe){"use strict";var se=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],re,ie,le=-1,ue=[],ae=!1;function oe(){!re||!ie||(re=!1,ie.length?ue=ie.concat(ue):le=-1,ue.length&&ne())}function ne(){if(!re){ae=!1,re=!0;for(var ee=ue.length,te=setTimeout(oe);ee;){for(ie=ue,ue=[];ie&&++le<ee;)ie[le].run();le=-1,ee=ue.length}ie=null,le=-1,re=!1,clearTimeout(te)}}for(var z,a=-1,y=se.length;++a<y;)if(se[a]&&se[a].test&&se[a].test()){z=se[a].install(ne);break}function x(ee,te){this.fun=ee,this.array=te}x.prototype.run=function(){var ee=this.fun,te=this.array;switch(te.length){case 0:return ee();case 1:return ee(te[0]);case 2:return ee(te[0],te[1]);case 3:return ee(te[0],te[1],te[2]);default:return ee.apply(null,te)}},he.exports=b;function b(ee){var te=new Array(arguments.length-1);if(arguments.length>1)for(var ce=1;ce<arguments.length;ce++)te[ce-1]=arguments[ce];ue.push(new x(ee,te)),!ae&&!re&&(ae=!0,z())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(E,he,fe){(function(se){(function(){"use strict";fe.test=function(){return se.setImmediate?!1:typeof se.MessageChannel!="undefined"},fe.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,he,fe){(function(se){(function(){"use strict";var re=se.MutationObserver||se.WebKitMutationObserver;fe.test=function(){return re},fe.install=function(ie){var le=0,ue=new re(ie),ae=se.document.createTextNode("");return ue.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,he,fe){(function(se){(function(){"use strict";fe.test=function(){return typeof se.queueMicrotask=="function"},fe.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,he,fe){(function(se){(function(){"use strict";fe.test=function(){return"document"in se&&"onreadystatechange"in se.document.createElement("script")},fe.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,he,fe){"use strict";fe.test=function(){return!0},fe.install=function(se){return function(){setTimeout(se,0)}}},{}],364:[function(E,he,fe){typeof Object.create=="function"?he.exports=function(re,ie){ie&&(re.super_=ie,re.prototype=Object.create(ie.prototype,{constructor:{value:re,enumerable:!1,writable:!0,configurable:!0}}))}:he.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,he,fe){"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]"},ue=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=ue,he.exports=ae?le:ue},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,he,fe){he.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,he,fe){"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(ve){ve!==le&&(re=null)}else re=null;var ue=/^\s*class\b/,ae=function(pe){try{var Se=se.call(pe);return ue.test(Se)}catch(ye){return!1}},oe=function(pe){try{return ae(pe)?!1:(se.call(pe),!0)}catch(Se){return!1}},ne=Object.prototype.toString,z="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",ee="[object HTMLCollection]",te=typeof Symbol=="function"&&!!Symbol.toStringTag,ce=!(0 in[,]),de=function(){return!1};if(typeof document=="object"){var ge=document.all;ne.call(ge)===ne.call(document.all)&&(de=function(pe){if((ce||!pe)&&(typeof pe=="undefined"||typeof pe=="object"))try{var Se=ne.call(pe);return(Se===x||Se===b||Se===ee||Se===z)&&pe("")==null}catch(ye){}return!1})}he.exports=re?function(pe){if(de(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;try{re(pe,null,ie)}catch(Se){if(Se!==le)return!1}return!ae(pe)&&oe(pe)}:function(pe){if(de(pe))return!0;if(!pe||typeof pe!="function"&&typeof pe!="object")return!1;if(te)return oe(pe);if(ae(pe))return!1;var Se=ne.call(pe);return Se!==a&&Se!==y&&!/^\[object HTML/.test(Se)?!1:oe(pe)}},{}],368:[function(E,he,fe){"use strict";var se=Object.prototype.toString,re=Function.prototype.toString,ie=/^\s*(?:function)?\*/,le=E("has-tostringtag/shams")(),ue=Object.getPrototypeOf,ae=function(){if(!le)return!1;try{return Function("return function*() {}")()}catch(ne){}},oe;he.exports=function(z){if(typeof z!="function")return!1;if(ie.test(re.call(z)))return!0;if(!le){var a=se.call(z);return a==="[object GeneratorFunction]"}if(!ue)return!1;if(typeof oe=="undefined"){var y=ae();oe=y?ue(y):!1}return ue(z)===oe}},{"has-tostringtag/shams":353}],369:[function(E,he,fe){"use strict";var se=E("which-typed-array");he.exports=function(ie){return!!se(ie)}},{"which-typed-array":420}],370:[function(E,he,fe){var se={}.toString;he.exports=Array.isArray||function(re){return se.call(re)=="[object Array]"}},{}],371:[function(E,he,fe){(function(se){(function(){(function(re,ie){typeof fe=="object"&&typeof he!="undefined"?he.exports=ie(re):typeof me=="function"&&me.amd?me(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",ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(Ie){for(var He={},je=0,tt=Ie.length;je<tt;je++)He[Ie.charAt(je)]=je;return He}(ue),oe=String.fromCharCode,ne=function(Ie){if(Ie.length<2){var He=Ie.charCodeAt(0);return He<128?Ie:He<2048?oe(192|He>>>6)+oe(128|He&63):oe(224|He>>>12&15)+oe(128|He>>>6&63)+oe(128|He&63)}else{var He=65536+(Ie.charCodeAt(0)-55296)*1024+(Ie.charCodeAt(1)-56320);return oe(240|He>>>18&7)+oe(128|He>>>12&63)+oe(128|He>>>6&63)+oe(128|He&63)}},z=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Ie){return Ie.replace(z,ne)},y=function(Ie){var He=[0,2,1][Ie.length%3],je=Ie.charCodeAt(0)<<16|(Ie.length>1?Ie.charCodeAt(1):0)<<8|(Ie.length>2?Ie.charCodeAt(2):0),tt=[ue.charAt(je>>>18),ue.charAt(je>>>12&63),He>=2?"=":ue.charAt(je>>>6&63),He>=1?"=":ue.charAt(je&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)))},ee=function(Ie){return Ie.replace(/[+\/]/g,function(He){return He=="+"?"-":"_"}).replace(/=/g,"")},te=function(Ie,He){return He?ee(b(Ie)):b(Ie)},ce=function(Ie){return te(Ie,!0)},de;re.Uint8Array&&(de=function(Ie,He){for(var je="",tt=0,Je=Ie.length;tt<Je;tt+=3){var Qe=Ie[tt],Xe=Ie[tt+1],$e=Ie[tt+2],ke=Qe<<16|Xe<<8|$e;je+=ue.charAt(ke>>>18)+ue.charAt(ke>>>12&63)+(typeof Xe!="undefined"?ue.charAt(ke>>>6&63):"=")+(typeof $e!="undefined"?ue.charAt(ke&63):"=")}return He?ee(je):je});var ge=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(Ie){switch(Ie.length){case 4:var He=(7&Ie.charCodeAt(0))<<18|(63&Ie.charCodeAt(1))<<12|(63&Ie.charCodeAt(2))<<6|63&Ie.charCodeAt(3),je=He-65536;return oe((je>>>10)+55296)+oe((je&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(ge,ve)},Se=function(Ie){var He=Ie.length,je=He%4,tt=(He>0?ae[Ie.charAt(0)]<<18:0)|(He>1?ae[Ie.charAt(1)]<<12:0)|(He>2?ae[Ie.charAt(2)]<<6:0)|(He>3?ae[Ie.charAt(3)]:0),Je=[oe(tt>>>16),oe(tt>>>8&255),oe(tt&255)];return Je.length-=[0,0,2,1][je],Je.join("")},ye=re.atob&&typeof re.atob=="function"?function(Ie){return re.atob(Ie)}:function(Ie){return Ie.replace(/\S{1,4}/g,Se)},Pe=function(Ie){return ye(String(Ie).replace(/[^A-Za-z0-9\+\/]/g,""))},we=function(Ie){return pe(ye(Ie))},Le=function(Ie){return String(Ie).replace(/[-_]/g,function(He){return He=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ee=function(Ie){return we(Le(Ie))},Te;re.Uint8Array&&(Te=function(Ie){return Uint8Array.from(Pe(Le(Ie)),function(He){return He.charCodeAt(0)})});var Ce=function(){var Ie=re.Base64;return re.Base64=ie,Ie};if(re.Base64={VERSION:le,atob:Pe,btoa:x,fromBase64:Ee,toBase64:te,utob:a,encode:te,encodeURI:ce,btou:pe,decode:Ee,noConflict:Ce,fromUint8Array:de,toUint8Array:Te},typeof Object.defineProperty=="function"){var Ae=function(Ie){return{value:Ie,enumerable:!1,writable:!0,configurable:!0}};re.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ae(function(){return Ee(this)})),Object.defineProperty(String.prototype,"toBase64",Ae(function(Ie){return te(this,Ie)})),Object.defineProperty(String.prototype,"toBase64URI",Ae(function(){return te(this,!0)}))}}return re.Meteor&&(Base64=re.Base64),typeof he!="undefined"&&he.exports?he.exports.Base64=re.Base64:typeof me=="function"&&me.amd&&me([],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,he,fe){"use strict";he.exports=re;var se=Object.prototype.hasOwnProperty;function re(ie,le,ue){if(!ie)throw new TypeError("argument dest is required");if(!le)throw new TypeError("argument src is required");return ue===void 0&&(ue=!0),Object.getOwnPropertyNames(le).forEach(function(oe){if(!(!ue&&se.call(ie,oe))){var ne=Object.getOwnPropertyDescriptor(le,oe);Object.defineProperty(ie,oe,ne)}}),ie}},{}],373:[function(E,he,fe){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function 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 ue=re[le].map(function(z){return z.toLowerCase()});le=le.toLowerCase();for(var ae=0;ae<ue.length;ae++){var oe=ue[ae];if(oe[0]!=="*"){if(!ie&&oe in this._types)throw new Error('Attempt to change mapping for "'+oe+'" extension from "'+this._types[oe]+'" to "'+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=ue[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(),ue=ie.length<re.length,ae=le.length<ie.length-1;return(ae||!ue)&&this._types[le]||null},se.prototype.getExtension=function(re){return re=/^\s*([^;\s]*)/.test(re)&&RegExp.$1,re&&this._extensions[re.toLowerCase()]||null},he.exports=se},{"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.constructor.js":299,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305}],374:[function(E,he,fe){"use strict";var se=E("./Mime");he.exports=new se(E("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(E,he,fe){"use strict";he.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],376:[function(E,he,fe){var se=1e3,re=se*60,ie=re*60,le=ie*24,ue=le*7,ae=le*365.25;he.exports=function(y,x){x=x||{};var b=typeof y;if(b==="string"&&y.length>0)return oe(y);if(b==="number"&&isFinite(y))return x.long?z(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]),ee=(x[2]||"ms").toLowerCase();switch(ee){case"years":case"year":case"yrs":case"yr":case"y":return b*ae;case"weeks":case"week":case"w":return b*ue;case"days":case"day":case"d":return b*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 z(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,ee){var te=x>=b*1.5;return Math.round(y/b)+" "+ee+(te?"s":"")}},{}],377:[function(E,he,fe){"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 ue(){try{if(!Object.assign)return!1;var ae=new String("abc");if(ae[5]="de",Object.getOwnPropertyNames(ae)[0]==="5")return!1;for(var oe={},ne=0;ne<10;ne++)oe["_"+String.fromCharCode(ne)]=ne;var z=Object.getOwnPropertyNames(oe).map(function(y){return oe[y]});if(z.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(y){a[y]=y}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(y){return!1}}he.exports=ue()?Object.assign:function(ae,oe){for(var ne,z=le(ae),a,y=1;y<arguments.length;y++){ne=Object(arguments[y]);for(var x in ne)re.call(ne,x)&&(z[x]=ne[x]);if(se){a=se(ne);for(var b=0;b<a.length;b++)ie.call(ne,a[b])&&(z[a[b]]=ne[a[b]])}}return z}},{}],378:[function(E,he,fe){(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="",z=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||z!==2||ne.charCodeAt(ne.length-1)!==46||ne.charCodeAt(ne.length-2)!==46){if(ne.length>2){var ee=ne.lastIndexOf("/");if(ee!==ne.length-1){ee===-1?(ne="",z=0):(ne=ne.slice(0,ee),z=ne.length-1-ne.lastIndexOf("/")),a=b,y=0;continue}}else if(ne.length===2||ne.length===1){ne="",z=0,a=b,y=0;continue}}oe&&(ne.length>0?ne+="/..":ne="..",z=2)}else ne.length>0?ne+="/"+ae.slice(a+1,b):ne=ae.slice(a+1,b),z=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,z=oe.base||(oe.name||"")+(oe.ext||"");return ne?ne===oe.root?ne+z:ne+ae+z:z}var ue={resolve:function(){for(var oe="",ne=!1,z,a=arguments.length-1;a>=-1&&!ne;a--){var y;a>=0?y=arguments[a]:(z===void 0&&(z=se.cwd()),y=z),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,z=oe.charCodeAt(oe.length-1)===47;return oe=ie(oe,!ne),oe.length===0&&!ne&&(oe="."),oe.length>0&&z&&(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 z=arguments[ne];re(z),z.length>0&&(oe===void 0?oe=z:oe+="/"+z)}return oe===void 0?".":ue.normalize(oe)},relative:function(oe,ne){if(re(oe),re(ne),oe===ne||(oe=ue.resolve(oe),ne=ue.resolve(ne),oe===ne))return"";for(var z=1;z<oe.length&&oe.charCodeAt(z)===47;++z);for(var a=oe.length,y=a-z,x=1;x<ne.length&&ne.charCodeAt(x)===47;++x);for(var b=ne.length,ee=b-x,te=y<ee?y:ee,ce=-1,de=0;de<=te;++de){if(de===te){if(ee>te){if(ne.charCodeAt(x+de)===47)return ne.slice(x+de+1);if(de===0)return ne.slice(x+de)}else y>te&&(oe.charCodeAt(z+de)===47?ce=de:de===0&&(ce=0));break}var ge=oe.charCodeAt(z+de),ve=ne.charCodeAt(x+de);if(ge!==ve)break;ge===47&&(ce=de)}var pe="";for(de=z+ce+1;de<=a;++de)(de===a||oe.charCodeAt(de)===47)&&(pe.length===0?pe+="..":pe+="/..");return pe.length>0?pe+ne.slice(x+ce):(x+=ce,ne.charCodeAt(x)===47&&++x,ne.slice(x))},_makeLong:function(oe){return oe},dirname:function(oe){if(re(oe),oe.length===0)return".";for(var ne=oe.charCodeAt(0),z=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?z?"/":".":z&&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 z=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,ee=-1;for(x=oe.length-1;x>=0;--x){var te=oe.charCodeAt(x);if(te===47){if(!y){z=x+1;break}}else ee===-1&&(y=!1,ee=x+1),b>=0&&(te===ne.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=ee))}return z===a?a=ee:a===-1&&(a=oe.length),oe.slice(z,a)}else{for(x=oe.length-1;x>=0;--x)if(oe.charCodeAt(x)===47){if(!y){z=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":oe.slice(z,a)}},extname:function(oe){re(oe);for(var ne=-1,z=0,a=-1,y=!0,x=0,b=oe.length-1;b>=0;--b){var ee=oe.charCodeAt(b);if(ee===47){if(!y){z=b+1;break}continue}a===-1&&(y=!1,a=b+1),ee===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===z+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 z=oe.charCodeAt(0),a=z===47,y;a?(ne.root="/",y=1):y=0;for(var x=-1,b=0,ee=-1,te=!0,ce=oe.length-1,de=0;ce>=y;--ce){if(z=oe.charCodeAt(ce),z===47){if(!te){b=ce+1;break}continue}ee===-1&&(te=!1,ee=ce+1),z===46?x===-1?x=ce:de!==1&&(de=1):x!==-1&&(de=-1)}return x===-1||ee===-1||de===0||de===1&&x===ee-1&&x===b+1?ee!==-1&&(b===0&&a?ne.base=ne.name=oe.slice(1,ee):ne.base=ne.name=oe.slice(b,ee)):(b===0&&a?(ne.name=oe.slice(1,x),ne.base=oe.slice(1,ee)):(ne.name=oe.slice(b,x),ne.base=oe.slice(b,ee)),ne.ext=oe.slice(x,ee)),b>0?ne.dir=oe.slice(0,b-1):a&&(ne.dir="/"),ne},sep:"/",delimiter:":",win32:null,posix:null};ue.posix=ue,he.exports=ue}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,he,fe){(function(se){(function(){(function(){"use strict";var re={function:!0,object:!0},ie=re[typeof window]&&window||this,le=ie,ue=re[typeof fe]&&fe,ae=re[typeof he]&&he&&!he.nodeType&&he,oe=ue&&ae&&typeof se=="object"&&se;oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(ie=oe);var ne=Math.pow(2,53)-1,z=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function ee(Ee){return Ee=String(Ee),Ee.charAt(0).toUpperCase()+Ee.slice(1)}function te(Ee,Te,Ce){var Ae={"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 Te&&Ce&&/^Win/i.test(Ee)&&!/^Windows Phone /i.test(Ee)&&(Ae=Ae[/[\d.]+$/.exec(Ee)])&&(Ee="Windows "+Ae),Ee=String(Ee),Te&&Ce&&(Ee=Ee.replace(RegExp(Te,"i"),Ce)),Ee=de(Ee.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),Ee}function ce(Ee,Te){var Ce=-1,Ae=Ee?Ee.length:0;if(typeof Ae=="number"&&Ae>-1&&Ae<=ne)for(;++Ce<Ae;)Te(Ee[Ce],Ce,Ee);else ge(Ee,Te)}function de(Ee){return Ee=Pe(Ee),/^(?:webOS|i(?:OS|P))/.test(Ee)?Ee:ee(Ee)}function ge(Ee,Te){for(var Ce in Ee)x.call(Ee,Ce)&&Te(Ee[Ce],Ce,Ee)}function ve(Ee){return Ee==null?ee(Ee):b.call(Ee).slice(8,-1)}function pe(Ee,Te){var Ce=Ee!=null?typeof Ee[Te]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Ce)&&(Ce=="object"?!!Ee[Te]:!0)}function Se(Ee){return String(Ee).replace(/([ -])(?!$)/g,"$1?")}function ye(Ee,Te){var Ce=null;return ce(Ee,function(Ae,Ie){Ce=Te(Ce,Ae,Ie,Ee)}),Ce}function Pe(Ee){return String(Ee).replace(/^ +| +$/g,"")}function we(Ee){var Te=ie,Ce=Ee&&typeof Ee=="object"&&ve(Ee)!="String";Ce&&(Te=Ee,Ee=null);var Ae=Te.navigator||{},Ie=Ae.userAgent||"";Ee||(Ee=Ie);var He=Ce||a==le,je=Ce?!!Ae.likeChrome:/\bChrome\b/.test(Ee)&&!/internal|\n/i.test(b.toString()),tt="Object",Je=Ce?tt:"ScriptBridgingProxyObject",Qe=Ce?tt:"Environment",Xe=Ce&&Te.java?"JavaPackage":ve(Te.java),$e=Ce?tt:"RuntimeObject",ke=/\bJava/.test(Xe)&&Te.java,Ue=ke&&ve(Te.environment)==Qe,qe=ke?"a":"\u03B1",Ye=ke?"b":"\u03B2",ft=Te.document||{},We=Te.operamini||Te.opera,Ke=z.test(Ke=Ce&&We?We["[[Class]]"]:ve(We))?Ke:We=null,Re,et=Ee,Me=[],Ge=null,Ve=Ee==Ie,Ze=Ve&&We&&typeof We.version=="function"&&We.version(),Fe,Oe=gt([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),_e=nt(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),Ne=At([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),ze=yt({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}}),ot=mt(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function gt(st){return ye(st,function(pt,bt){return pt||RegExp("\\b"+(bt.pattern||Se(bt))+"\\b","i").exec(Ee)&&(bt.label||bt)})}function yt(st){return ye(st,function(pt,bt,Lt){return pt||(bt[Ne]||bt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ne)]||RegExp("\\b"+Se(Lt)+"(?:\\b|\\w*\\d)","i").exec(Ee))&&Lt})}function nt(st){return ye(st,function(pt,bt){return pt||RegExp("\\b"+(bt.pattern||Se(bt))+"\\b","i").exec(Ee)&&(bt.label||bt)})}function mt(st){return ye(st,function(pt,bt){var Lt=bt.pattern||Se(bt);return!pt&&(pt=RegExp("\\b"+Lt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(Ee))&&(pt=te(pt,Lt,bt.label||bt)),pt})}function At(st){return ye(st,function(pt,bt){var Lt=bt.pattern||Se(bt);return!pt&&(pt=RegExp("\\b"+Lt+" *\\d+[.\\w_]*","i").exec(Ee)||RegExp("\\b"+Lt+" *\\w+-[\\w]*","i").exec(Ee)||RegExp("\\b"+Lt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(Ee))&&((pt=String(bt.label&&!RegExp(Lt,"i").test(bt.label)?bt.label:pt).split("/"))[1]&&!/[\d.]+/.test(pt[0])&&(pt[0]+=" "+pt[1]),bt=bt.label||bt,pt=de(pt[0].replace(RegExp(Lt,"i"),bt).replace(RegExp("; *(?:"+bt+"[_-])?","i")," ").replace(RegExp("("+bt+")[-_.]?(\\w)","i"),"$1 $2"))),pt})}function kt(st){return ye(st,function(pt,bt){return pt||(RegExp(bt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(Ee)||0)[1]||null})}function at(){return this.description||""}if(Oe&&(Oe=[Oe]),/\bAndroid\b/.test(ot)&&!Ne&&(Re=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(Ee))&&(Ne=Pe(Re[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),ze&&!Ne?Ne=At([ze]):ze&&Ne&&(Ne=Ne.replace(RegExp("^("+Se(ze)+")[-_.\\s]","i"),ze+" ").replace(RegExp("^("+Se(ze)+")[-_.]?(\\w)","i"),ze+" $2")),(Re=/\bGoogle TV\b/.exec(Ne))&&(Ne=Re[0]),/\bSimulator\b/i.test(Ee)&&(Ne=(Ne?Ne+" ":"")+"Simulator"),_e=="Opera Mini"&&/\bOPiOS\b/.test(Ee)&&Me.push("running in Turbo/Uncompressed mode"),_e=="IE"&&/\blike iPhone OS\b/.test(Ee)?(Re=we(Ee.replace(/like iPhone OS/,"")),ze=Re.manufacturer,Ne=Re.product):/^iP/.test(Ne)?(_e||(_e="Safari"),ot="iOS"+((Re=/ OS ([\d_]+)/i.exec(Ee))?" "+Re[1].replace(/_/g,"."):"")):_e=="Konqueror"&&/^Linux\b/i.test(ot)?ot="Kubuntu":ze&&ze!="Google"&&(/Chrome/.test(_e)&&!/\bMobile Safari\b/i.test(Ee)||/\bVita\b/.test(Ne))||/\bAndroid\b/.test(ot)&&/^Chrome/.test(_e)&&/\bVersion\//i.test(Ee)?(_e="Android Browser",ot=/\bAndroid\b/.test(ot)?ot:"Android"):_e=="Silk"?(/\bMobi/i.test(Ee)||(ot="Android",Me.unshift("desktop mode")),/Accelerated *= *true/i.test(Ee)&&Me.unshift("accelerated")):_e=="UC Browser"&&/\bUCWEB\b/.test(Ee)?Me.push("speed mode"):_e=="PaleMoon"&&(Re=/\bFirefox\/([\d.]+)\b/.exec(Ee))?Me.push("identifying as Firefox "+Re[1]):_e=="Firefox"&&(Re=/\b(Mobile|Tablet|TV)\b/i.exec(Ee))?(ot||(ot="Firefox OS"),Ne||(Ne=Re[1])):!_e||(Re=!/\bMinefield\b/i.test(Ee)&&/\b(?:Firefox|Safari)\b/.exec(_e))?(_e&&!Ne&&/[\/,]|^[^(]+?\)/.test(Ee.slice(Ee.indexOf(Re+"/")+8))&&(_e=null),(Re=Ne||ze||ot)&&(Ne||ze||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ot))&&(_e=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ot)?ot:Re)+" Browser")):_e=="Electron"&&(Re=(/\bChrome\/([\d.]+)\b/.exec(Ee)||0)[1])&&Me.push("Chromium "+Re),Ze||(Ze=kt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",Se(_e),"(?:Firefox|Minefield|NetFront)"])),(Re=Oe=="iCab"&&parseFloat(Ze)>3&&"WebKit"||/\bOpera\b/.test(_e)&&(/\bOPR\b/.test(Ee)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ee)&&!/^(?:Trident|EdgeHTML)$/.test(Oe)&&"WebKit"||!Oe&&/\bMSIE\b/i.test(Ee)&&(ot=="Mac OS"?"Tasman":"Trident")||Oe=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(_e)&&"NetFront")&&(Oe=[Re]),_e=="IE"&&(Re=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ee)||0)[1])?(_e+=" Mobile",ot="Windows Phone "+(/\+$/.test(Re)?Re:Re+".x"),Me.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ee)?(_e="IE Mobile",ot="Windows Phone 8.x",Me.unshift("desktop mode"),Ze||(Ze=(/\brv:([\d.]+)/.exec(Ee)||0)[1])):_e!="IE"&&Oe=="Trident"&&(Re=/\brv:([\d.]+)/.exec(Ee))&&(_e&&Me.push("identifying as "+_e+(Ze?" "+Ze:"")),_e="IE",Ze=Re[1]),Ve){if(pe(Te,"global"))if(ke&&(Re=ke.lang.System,et=Re.getProperty("os.arch"),ot=ot||Re.getProperty("os.name")+" "+Re.getProperty("os.version")),Ue){try{Ze=Te.require("ringo/engine").version.join("."),_e="RingoJS"}catch(st){(Re=Te.system)&&Re.global.system==Te.system&&(_e="Narwhal",ot||(ot=Re[0].os||null))}_e||(_e="Rhino")}else typeof Te.process=="object"&&!Te.process.browser&&(Re=Te.process)&&(typeof Re.versions=="object"&&(typeof Re.versions.electron=="string"?(Me.push("Node "+Re.versions.node),_e="Electron",Ze=Re.versions.electron):typeof Re.versions.nw=="string"&&(Me.push("Chromium "+Ze,"Node "+Re.versions.node),_e="NW.js",Ze=Re.versions.nw)),_e||(_e="Node.js",et=Re.arch,ot=Re.platform,Ze=/[\d.]+/.exec(Re.version),Ze=Ze?Ze[0]:null));else ve(Re=Te.runtime)==Je?(_e="Adobe AIR",ot=Re.flash.system.Capabilities.os):ve(Re=Te.phantom)==$e?(_e="PhantomJS",Ze=(Re=Re.version||null)&&Re.major+"."+Re.minor+"."+Re.patch):typeof ft.documentMode=="number"&&(Re=/\bTrident\/(\d+)/i.exec(Ee))?(Ze=[Ze,ft.documentMode],(Re=+Re[1]+4)!=Ze[1]&&(Me.push("IE "+Ze[1]+" mode"),Oe&&(Oe[1]=""),Ze[1]=Re),Ze=_e=="IE"?String(Ze[1].toFixed(1)):Ze[0]):typeof ft.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(_e)&&(Me.push("masking as "+_e+" "+Ze),_e="IE",Ze="11.0",Oe=["Trident"],ot="Windows");ot=ot&&de(ot)}if(Ze&&(Re=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ze)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ee+";"+(Ve&&Ae.appMinorVersion))||/\bMinefield\b/i.test(Ee)&&"a")&&(Ge=/b/i.test(Re)?"beta":"alpha",Ze=Ze.replace(RegExp(Re+"\\+?$"),"")+(Ge=="beta"?Ye:qe)+(/\d+\+?/.exec(Re)||"")),_e=="Fennec"||_e=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(ot))_e="Firefox Mobile";else if(_e=="Maxthon"&&Ze)Ze=Ze.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ne))Ne=="Xbox 360"&&(ot=null),Ne=="Xbox 360"&&/\bIEMobile\b/.test(Ee)&&Me.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(_e)||_e&&!Ne&&!/Browser|Mobi/.test(_e))&&(ot=="Windows CE"||/Mobi/i.test(Ee)))_e+=" Mobile";else if(_e=="IE"&&Ve)try{Te.external===null&&Me.unshift("platform preview")}catch(st){Me.unshift("embedded")}else(/\bBlackBerry\b/.test(Ne)||/\bBB10\b/.test(Ee))&&(Re=(RegExp(Ne.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ee)||0)[1]||Ze)?(Re=[Re,/BB10/.test(Ee)],ot=(Re[1]?(Ne=null,ze="BlackBerry"):"Device Software")+" "+Re[0],Ze=null):this!=ge&&Ne!="Wii"&&(Ve&&We||/Opera/.test(_e)&&/\b(?:MSIE|Firefox)\b/i.test(Ee)||_e=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ot)||_e=="IE"&&(ot&&!/^Win/.test(ot)&&Ze>5.5||/\bWindows XP\b/.test(ot)&&Ze>8||Ze==8&&!/\bTrident\b/.test(Ee)))&&!z.test(Re=we.call(ge,Ee.replace(z,"")+";"))&&Re.name&&(Re="ing as "+Re.name+((Re=Re.version)?" "+Re:""),z.test(_e)?(/\bIE\b/.test(Re)&&ot=="Mac OS"&&(ot=null),Re="identify"+Re):(Re="mask"+Re,Ke?_e=de(Ke.replace(/([a-z])([A-Z])/g,"$1 $2")):_e="Opera",/\bIE\b/.test(Re)&&(ot=null),Ve||(Ze=null)),Oe=["Presto"],Me.push(Re));(Re=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ee)||0)[1])&&(Re=[parseFloat(Re.replace(/\.(\d)$/,".0$1")),Re],_e=="Safari"&&Re[1].slice(-1)=="+"?(_e="WebKit Nightly",Ge="alpha",Ze=Re[1].slice(0,-1)):(Ze==Re[1]||Ze==(Re[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ee)||0)[1]))&&(Ze=null),Re[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ee)||0)[1],Re[0]==537.36&&Re[2]==537.36&&parseFloat(Re[1])>=28&&Oe=="WebKit"&&(Oe=["Blink"]),!Ve||!je&&!Re[1]?(Oe&&(Oe[1]="like Safari"),Re=(Re=Re[0],Re<400?1:Re<500?2:Re<526?3:Re<533?4:Re<534?"4+":Re<535?5:Re<537?6:Re<538?7:Re<601?8:Re<602?9:Re<604?10:Re<606?11:Re<608?12:"12")):(Oe&&(Oe[1]="like Chrome"),Re=Re[1]||(Re=Re[0],Re<530?1:Re<532?2:Re<532.05?3:Re<533?4:Re<534.03?5:Re<534.07?6:Re<534.1?7:Re<534.13?8:Re<534.16?9:Re<534.24?10:Re<534.3?11:Re<535.01?12:Re<535.02?"13+":Re<535.07?15:Re<535.11?16:Re<535.19?17:Re<536.05?18:Re<536.1?19:Re<537.01?20:Re<537.11?"21+":Re<537.13?23:Re<537.18?24:Re<537.24?25:Re<537.36?26:Oe!="Blink"?"27":"28")),Oe&&(Oe[1]+=" "+(Re+=typeof Re=="number"?".x":/[.+]/.test(Re)?"":"+")),_e=="Safari"&&(!Ze||parseInt(Ze)>45)?Ze=Re:_e=="Chrome"&&/\bHeadlessChrome/i.test(Ee)&&Me.unshift("headless")),_e=="Opera"&&(Re=/\bzbov|zvav$/.exec(ot))?(_e+=" ",Me.unshift("desktop mode"),Re=="zvav"?(_e+="Mini",Ze=null):_e+="Mobile",ot=ot.replace(RegExp(" *"+Re+"$"),"")):_e=="Safari"&&/\bChrome\b/.exec(Oe&&Oe[1])?(Me.unshift("desktop mode"),_e="Chrome Mobile",Ze=null,/\bOS X\b/.test(ot)?(ze="Apple",ot="iOS 4.3+"):ot=null):/\bSRWare Iron\b/.test(_e)&&!Ze&&(Ze=kt("Chrome")),Ze&&Ze.indexOf(Re=/[\d.]+$/.exec(ot))==0&&Ee.indexOf("/"+Re+"-")>-1&&(ot=Pe(ot.replace(Re,""))),ot&&ot.indexOf(_e)!=-1&&!RegExp(_e+" OS").test(ot)&&(ot=ot.replace(RegExp(" *"+Se(_e)+" *"),"")),Oe&&!/\b(?:Avant|Nook)\b/.test(_e)&&(/Browser|Lunascape|Maxthon/.test(_e)||_e!="Safari"&&/^iOS/.test(ot)&&/\bSafari\b/.test(Oe[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(_e)&&Oe[1])&&(Re=Oe[Oe.length-1])&&Me.push(Re),Me.length&&(Me=["("+Me.join("; ")+")"]),ze&&Ne&&Ne.indexOf(ze)<0&&Me.push("on "+ze),Ne&&Me.push((/^on /.test(Me[Me.length-1])?"":"on ")+Ne),ot&&(Re=/ ([\d.+]+)$/.exec(ot),Fe=Re&&ot.charAt(ot.length-Re[0].length-1)=="/",ot={architecture:32,family:Re&&!Fe?ot.replace(Re[0],""):ot,version:Re?Re[1]:null,toString:function(){var st=this.version;return this.family+(st&&!Fe?" "+st:"")+(this.architecture==64?" 64-bit":"")}}),(Re=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(et))&&!/\bi686\b/i.test(et)?(ot&&(ot.architecture=64,ot.family=ot.family.replace(RegExp(" *"+Re),"")),_e&&(/\bWOW64\b/i.test(Ee)||Ve&&/\w(?:86|32)$/.test(Ae.cpuClass||Ae.platform)&&!/\bWin64; x64\b/i.test(Ee))&&Me.unshift("32-bit")):ot&&/^OS X/.test(ot.family)&&_e=="Chrome"&&parseFloat(Ze)>=39&&(ot.architecture=64),Ee||(Ee=null);var Mt={};return Mt.description=Ee,Mt.layout=Oe&&Oe[0],Mt.manufacturer=ze,Mt.name=_e,Mt.prerelease=Ge,Mt.product=Ne,Mt.ua=Ee,Mt.version=_e&&Ze,Mt.os=ot||{architecture:null,family:null,version:null,toString:function(){return"null"}},Mt.parse=we,Mt.toString=at,Mt.version&&Me.unshift(Ze),Mt.name&&Me.unshift(_e),ot&&_e&&!(ot==String(ot).split(" ")[0]&&(ot==_e.split(" ")[0]||Ne))&&Me.push(Ne?"("+ot+")":"on "+ot),Me.length&&(Mt.description=Me.join(" ")),Mt}var Le=we();typeof me=="function"&&typeof me.amd=="object"&&me.amd?(ie.platform=Le,me(function(){return Le})):ue&&ae?ge(Le,function(Ee,Te){ue[Te]=Ee}):ie.platform=Le}).call(this)}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,he,fe){(function(se){(function(){"use strict";typeof se=="undefined"||!se.version||se.version.indexOf("v0.")===0||se.version.indexOf("v1.")===0&&se.version.indexOf("v1.8.")!==0?he.exports={nextTick:re}:he.exports=se;function re(ie,le,ue,ae){if(typeof ie!="function")throw new TypeError('"callback" argument must be a function');var oe=arguments.length,ne,z;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,ue)});case 4:return se.nextTick(function(){ie.call(null,le,ue,ae)});default:for(ne=new Array(oe-1),z=0;z<ne.length;)ne[z++]=arguments[z];return se.nextTick(function(){ie.apply(null,ne)})}}}).call(this)}).call(this,E("_process"))},{_process:467}],381:[function(E,he,fe){var se=he.exports={},re,ie;function le(){throw new Error("setTimeout has not been defined")}function ue(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?re=setTimeout:re=le}catch(ce){re=le}try{typeof clearTimeout=="function"?ie=clearTimeout:ie=ue}catch(ce){ie=ue}})();function ae(ce){if(re===setTimeout)return setTimeout(ce,0);if((re===le||!re)&&setTimeout)return re=setTimeout,setTimeout(ce,0);try{return re(ce,0)}catch(de){try{return re.call(null,ce,0)}catch(ge){return re.call(this,ce,0)}}}function oe(ce){if(ie===clearTimeout)return clearTimeout(ce);if((ie===ue||!ie)&&clearTimeout)return ie=clearTimeout,clearTimeout(ce);try{return ie(ce)}catch(de){try{return ie.call(null,ce)}catch(ge){return ie.call(this,ce)}}}var ne=[],z=!1,a,y=-1;function x(){!z||!a||(z=!1,a.length?ne=a.concat(ne):y=-1,ne.length&&b())}function b(){if(!z){var ce=ae(x);z=!0;for(var de=ne.length;de;){for(a=ne,ne=[];++y<de;)a&&a[y].run();y=-1,de=ne.length}a=null,z=!1,oe(ce)}}se.nextTick=function(ce){var de=new Array(arguments.length-1);if(arguments.length>1)for(var ge=1;ge<arguments.length;ge++)de[ge-1]=arguments[ge];ne.push(new ee(ce,de)),ne.length===1&&!z&&ae(b)};function ee(ce,de){this.fun=ce,this.array=de}ee.prototype.run=function(){this.fun.apply(null,this.array)},se.title="browser",se.browser=!0,se.env={},se.argv=[],se.version="",se.versions={};function te(){}se.on=te,se.addListener=te,se.once=te,se.off=te,se.removeListener=te,se.removeAllListeners=te,se.emit=te,se.prependListener=te,se.prependOnceListener=te,se.listeners=function(ce){return[]},se.binding=function(ce){throw new Error("process.binding is not supported")},se.cwd=function(){return"/"},se.chdir=function(ce){throw new Error("process.chdir is not supported")},se.umask=function(){return 0}},{}],382:[function(E,he,fe){(function(se){(function(){(function(re){var ie=typeof fe=="object"&&fe&&!fe.nodeType&&fe,le=typeof he=="object"&&he&&!he.nodeType&&he,ue=typeof se=="object"&&se;(ue.global===ue||ue.window===ue||ue.self===ue)&&(re=ue);var ae,oe=2147483647,ne=36,z=1,a=26,y=38,x=700,b=72,ee=128,te="-",ce=/^xn--/,de=/[^\x20-\x7E]/,ge=/[\x2E\u3002\uFF0E\uFF61]/g,ve={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pe=ne-z,Se=Math.floor,ye=String.fromCharCode,Pe;function we(Xe){throw new RangeError(ve[Xe])}function Le(Xe,$e){for(var ke=Xe.length,Ue=[];ke--;)Ue[ke]=$e(Xe[ke]);return Ue}function Ee(Xe,$e){var ke=Xe.split("@"),Ue="";ke.length>1&&(Ue=ke[0]+"@",Xe=ke[1]),Xe=Xe.replace(ge,".");var qe=Xe.split("."),Ye=Le(qe,$e).join(".");return Ue+Ye}function Te(Xe){for(var $e=[],ke=0,Ue=Xe.length,qe,Ye;ke<Ue;)qe=Xe.charCodeAt(ke++),qe>=55296&&qe<=56319&&ke<Ue?(Ye=Xe.charCodeAt(ke++),(Ye&64512)==56320?$e.push(((qe&1023)<<10)+(Ye&1023)+65536):($e.push(qe),ke--)):$e.push(qe);return $e}function Ce(Xe){return Le(Xe,function($e){var ke="";return $e>65535&&($e-=65536,ke+=ye($e>>>10&1023|55296),$e=56320|$e&1023),ke+=ye($e),ke}).join("")}function Ae(Xe){return Xe-48<10?Xe-22:Xe-65<26?Xe-65:Xe-97<26?Xe-97:ne}function Ie(Xe,$e){return Xe+22+75*(Xe<26)-(($e!=0)<<5)}function He(Xe,$e,ke){var Ue=0;for(Xe=ke?Se(Xe/x):Xe>>1,Xe+=Se(Xe/$e);Xe>pe*a>>1;Ue+=ne)Xe=Se(Xe/pe);return Se(Ue+(pe+1)*Xe/(Xe+y))}function je(Xe){var $e=[],ke=Xe.length,Ue,qe=0,Ye=ee,ft=b,We,Ke,Re,et,Me,Ge,Ve,Ze,Fe;for(We=Xe.lastIndexOf(te),We<0&&(We=0),Ke=0;Ke<We;++Ke)Xe.charCodeAt(Ke)>=128&&we("not-basic"),$e.push(Xe.charCodeAt(Ke));for(Re=We>0?We+1:0;Re<ke;){for(et=qe,Me=1,Ge=ne;Re>=ke&&we("invalid-input"),Ve=Ae(Xe.charCodeAt(Re++)),(Ve>=ne||Ve>Se((oe-qe)/Me))&&we("overflow"),qe+=Ve*Me,Ze=Ge<=ft?z:Ge>=ft+a?a:Ge-ft,!(Ve<Ze);Ge+=ne)Fe=ne-Ze,Me>Se(oe/Fe)&&we("overflow"),Me*=Fe;Ue=$e.length+1,ft=He(qe-et,Ue,et==0),Se(qe/Ue)>oe-Ye&&we("overflow"),Ye+=Se(qe/Ue),qe%=Ue,$e.splice(qe++,0,Ye)}return Ce($e)}function tt(Xe){var $e,ke,Ue,qe,Ye,ft,We,Ke,Re,et,Me,Ge=[],Ve,Ze,Fe,Oe;for(Xe=Te(Xe),Ve=Xe.length,$e=ee,ke=0,Ye=b,ft=0;ft<Ve;++ft)Me=Xe[ft],Me<128&&Ge.push(ye(Me));for(Ue=qe=Ge.length,qe&&Ge.push(te);Ue<Ve;){for(We=oe,ft=0;ft<Ve;++ft)Me=Xe[ft],Me>=$e&&Me<We&&(We=Me);for(Ze=Ue+1,We-$e>Se((oe-ke)/Ze)&&we("overflow"),ke+=(We-$e)*Ze,$e=We,ft=0;ft<Ve;++ft)if(Me=Xe[ft],Me<$e&&++ke>oe&&we("overflow"),Me==$e){for(Ke=ke,Re=ne;et=Re<=Ye?z:Re>=Ye+a?a:Re-Ye,!(Ke<et);Re+=ne)Oe=Ke-et,Fe=ne-et,Ge.push(ye(Ie(et+Oe%Fe,0))),Ke=Se(Oe/Fe);Ge.push(ye(Ie(Ke,0))),Ye=He(ke,Ze,Ue==qe),ke=0,++Ue}++ke,++$e}return Ge.join("")}function Je(Xe){return Ee(Xe,function($e){return ce.test($e)?je($e.slice(4).toLowerCase()):$e})}function Qe(Xe){return Ee(Xe,function($e){return de.test($e)?"xn--"+tt($e):$e})}if(ae={version:"1.4.1",ucs2:{decode:Te,encode:Ce},decode:je,encode:tt,toASCII:Qe,toUnicode:Je},typeof me=="function"&&typeof me.amd=="object"&&me.amd)me("punycode",function(){return ae});else if(ie&&le)if(he.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,he,fe){"use strict";function se(ie,le){return Object.prototype.hasOwnProperty.call(ie,le)}he.exports=function(ie,le,ue,ae){le=le||"&",ue=ue||"=";var oe={};if(typeof ie!="string"||ie.length===0)return oe;var ne=/\+/g;ie=ie.split(le);var z=1e3;ae&&typeof ae.maxKeys=="number"&&(z=ae.maxKeys);var a=ie.length;z>0&&a>z&&(a=z);for(var y=0;y<a;++y){var x=ie[y].replace(ne,"%20"),b=x.indexOf(ue),ee,te,ce,de;b>=0?(ee=x.substr(0,b),te=x.substr(b+1)):(ee=x,te=""),ce=decodeURIComponent(ee),de=decodeURIComponent(te),se(oe,ce)?re(oe[ce])?oe[ce].push(de):oe[ce]=[oe[ce],de]:oe[ce]=de}return oe};var re=Array.isArray||function(ie){return Object.prototype.toString.call(ie)==="[object Array]"}},{}],384:[function(E,he,fe){"use strict";var se=function(ue){switch(typeof ue){case"string":return ue;case"boolean":return ue?"true":"false";case"number":return isFinite(ue)?ue:"";default:return""}};he.exports=function(ue,ae,oe,ne){return ae=ae||"&",oe=oe||"=",ue===null&&(ue=void 0),typeof ue=="object"?ie(le(ue),function(z){var a=encodeURIComponent(se(z))+oe;return re(ue[z])?ie(ue[z],function(y){return a+encodeURIComponent(se(y))}).join(ae):a+encodeURIComponent(se(ue[z]))}).join(ae):ne?encodeURIComponent(se(ne))+oe+encodeURIComponent(se(ue)):""};var re=Array.isArray||function(ue){return Object.prototype.toString.call(ue)==="[object Array]"};function ie(ue,ae){if(ue.map)return ue.map(ae);for(var oe=[],ne=0;ne<ue.length;ne++)oe.push(ae(ue[ne],ne));return oe}var le=Object.keys||function(ue){var ae=[];for(var oe in ue)Object.prototype.hasOwnProperty.call(ue,oe)&&ae.push(oe);return ae}},{}],385:[function(E,he,fe){"use strict";fe.decode=fe.parse=E("./decode"),fe.encode=fe.stringify=E("./encode")},{"./decode":383,"./encode":384}],386:[function(E,he,fe){"use strict";var se=E("process-nextick-args"),re=Object.keys||function(x){var b=[];for(var ee in x)b.push(ee);return b};he.exports=z;var ie=Object.create(E("core-util-is"));ie.inherits=E("inherits");var le=E("./_stream_readable"),ue=E("./_stream_writable");ie.inherits(z,le);for(var ae=re(ue.prototype),oe=0;oe<ae.length;oe++){var ne=ae[oe];z.prototype[ne]||(z.prototype[ne]=ue.prototype[ne])}function z(x){if(!(this instanceof z))return new z(x);le.call(this,x),ue.call(this,x),x&&x.readable===!1&&(this.readable=!1),x&&x.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,x&&x.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",a)}Object.defineProperty(z.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(z.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)}}),z.prototype._destroy=function(x,b){this.push(null),this.end(),se.nextTick(b,x)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(E,he,fe){"use strict";he.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,ue,ae){ae(null,le)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(E,he,fe){(function(se,re){(function(){"use strict";var ie=E("process-nextick-args");he.exports=ye;var le=E("isarray"),ue;ye.ReadableState=Se;var ae=E("events").EventEmitter,oe=function(Me,Ge){return Me.listeners(Ge).length},ne=E("./internal/streams/stream"),z=E("safe-buffer").Buffer,a=re.Uint8Array||function(){};function y(Me){return z.from(Me)}function x(Me){return z.isBuffer(Me)||Me instanceof a}var b=Object.create(E("core-util-is"));b.inherits=E("inherits");var ee=E("util"),te=void 0;ee&&ee.debuglog?te=ee.debuglog("stream"):te=function(){};var ce=E("./internal/streams/BufferList"),de=E("./internal/streams/destroy"),ge;b.inherits(ye,ne);var ve=["error","close","destroy","pause","resume"];function pe(Me,Ge,Ve){if(typeof Me.prependListener=="function")return Me.prependListener(Ge,Ve);!Me._events||!Me._events[Ge]?Me.on(Ge,Ve):le(Me._events[Ge])?Me._events[Ge].unshift(Ve):Me._events[Ge]=[Ve,Me._events[Ge]]}function Se(Me,Ge){ue=ue||E("./_stream_duplex"),Me=Me||{};var Ve=Ge instanceof ue;this.objectMode=!!Me.objectMode,Ve&&(this.objectMode=this.objectMode||!!Me.readableObjectMode);var Ze=Me.highWaterMark,Fe=Me.readableHighWaterMark,Oe=this.objectMode?16:16*1024;Ze||Ze===0?this.highWaterMark=Ze:Ve&&(Fe||Fe===0)?this.highWaterMark=Fe:this.highWaterMark=Oe,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new ce,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=Me.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Me.encoding&&(ge||(ge=E("string_decoder/").StringDecoder),this.decoder=new ge(Me.encoding),this.encoding=Me.encoding)}function ye(Me){if(ue=ue||E("./_stream_duplex"),!(this instanceof ye))return new ye(Me);this._readableState=new Se(Me,this),this.readable=!0,Me&&(typeof Me.read=="function"&&(this._read=Me.read),typeof Me.destroy=="function"&&(this._destroy=Me.destroy)),ne.call(this)}Object.defineProperty(ye.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Me){this._readableState&&(this._readableState.destroyed=Me)}}),ye.prototype.destroy=de.destroy,ye.prototype._undestroy=de.undestroy,ye.prototype._destroy=function(Me,Ge){this.push(null),Ge(Me)},ye.prototype.push=function(Me,Ge){var Ve=this._readableState,Ze;return Ve.objectMode?Ze=!0:typeof Me=="string"&&(Ge=Ge||Ve.defaultEncoding,Ge!==Ve.encoding&&(Me=z.from(Me,Ge),Ge=""),Ze=!0),Pe(this,Me,Ge,!1,Ze)},ye.prototype.unshift=function(Me){return Pe(this,Me,null,!0,!1)};function Pe(Me,Ge,Ve,Ze,Fe){var Oe=Me._readableState;if(Ge===null)Oe.reading=!1,Ie(Me,Oe);else{var _e;Fe||(_e=Le(Oe,Ge)),_e?Me.emit("error",_e):Oe.objectMode||Ge&&Ge.length>0?(typeof Ge!="string"&&!Oe.objectMode&&Object.getPrototypeOf(Ge)!==z.prototype&&(Ge=y(Ge)),Ze?Oe.endEmitted?Me.emit("error",new Error("stream.unshift() after end event")):we(Me,Oe,Ge,!0):Oe.ended?Me.emit("error",new Error("stream.push() after EOF")):(Oe.reading=!1,Oe.decoder&&!Ve?(Ge=Oe.decoder.write(Ge),Oe.objectMode||Ge.length!==0?we(Me,Oe,Ge,!1):tt(Me,Oe)):we(Me,Oe,Ge,!1))):Ze||(Oe.reading=!1)}return Ee(Oe)}function we(Me,Ge,Ve,Ze){Ge.flowing&&Ge.length===0&&!Ge.sync?(Me.emit("data",Ve),Me.read(0)):(Ge.length+=Ge.objectMode?1:Ve.length,Ze?Ge.buffer.unshift(Ve):Ge.buffer.push(Ve),Ge.needReadable&&He(Me)),tt(Me,Ge)}function Le(Me,Ge){var Ve;return!x(Ge)&&typeof Ge!="string"&&Ge!==void 0&&!Me.objectMode&&(Ve=new TypeError("Invalid non-string/buffer chunk")),Ve}function Ee(Me){return!Me.ended&&(Me.needReadable||Me.length<Me.highWaterMark||Me.length===0)}ye.prototype.isPaused=function(){return this._readableState.flowing===!1},ye.prototype.setEncoding=function(Me){return ge||(ge=E("string_decoder/").StringDecoder),this._readableState.decoder=new ge(Me),this._readableState.encoding=Me,this};var Te=8388608;function Ce(Me){return Me>=Te?Me=Te:(Me--,Me|=Me>>>1,Me|=Me>>>2,Me|=Me>>>4,Me|=Me>>>8,Me|=Me>>>16,Me++),Me}function Ae(Me,Ge){return Me<=0||Ge.length===0&&Ge.ended?0:Ge.objectMode?1:Me!==Me?Ge.flowing&&Ge.length?Ge.buffer.head.data.length:Ge.length:(Me>Ge.highWaterMark&&(Ge.highWaterMark=Ce(Me)),Me<=Ge.length?Me:Ge.ended?Ge.length:(Ge.needReadable=!0,0))}ye.prototype.read=function(Me){te("read",Me),Me=parseInt(Me,10);var Ge=this._readableState,Ve=Me;if(Me!==0&&(Ge.emittedReadable=!1),Me===0&&Ge.needReadable&&(Ge.length>=Ge.highWaterMark||Ge.ended))return te("read: emitReadable",Ge.length,Ge.ended),Ge.length===0&&Ge.ended?Ke(this):He(this),null;if(Me=Ae(Me,Ge),Me===0&&Ge.ended)return Ge.length===0&&Ke(this),null;var Ze=Ge.needReadable;te("need readable",Ze),(Ge.length===0||Ge.length-Me<Ge.highWaterMark)&&(Ze=!0,te("length less than watermark",Ze)),Ge.ended||Ge.reading?(Ze=!1,te("reading or ended",Ze)):Ze&&(te("do read"),Ge.reading=!0,Ge.sync=!0,Ge.length===0&&(Ge.needReadable=!0),this._read(Ge.highWaterMark),Ge.sync=!1,Ge.reading||(Me=Ae(Ve,Ge)));var Fe;return Me>0?Fe=qe(Me,Ge):Fe=null,Fe===null?(Ge.needReadable=!0,Me=0):Ge.length-=Me,Ge.length===0&&(Ge.ended||(Ge.needReadable=!0),Ve!==Me&&Ge.ended&&Ke(this)),Fe!==null&&this.emit("data",Fe),Fe};function Ie(Me,Ge){if(!Ge.ended){if(Ge.decoder){var Ve=Ge.decoder.end();Ve&&Ve.length&&(Ge.buffer.push(Ve),Ge.length+=Ge.objectMode?1:Ve.length)}Ge.ended=!0,He(Me)}}function He(Me){var Ge=Me._readableState;Ge.needReadable=!1,Ge.emittedReadable||(te("emitReadable",Ge.flowing),Ge.emittedReadable=!0,Ge.sync?ie.nextTick(je,Me):je(Me))}function je(Me){te("emit readable"),Me.emit("readable"),Ue(Me)}function tt(Me,Ge){Ge.readingMore||(Ge.readingMore=!0,ie.nextTick(Je,Me,Ge))}function Je(Me,Ge){for(var Ve=Ge.length;!Ge.reading&&!Ge.flowing&&!Ge.ended&&Ge.length<Ge.highWaterMark&&(te("maybeReadMore read 0"),Me.read(0),Ve!==Ge.length);)Ve=Ge.length;Ge.readingMore=!1}ye.prototype._read=function(Me){this.emit("error",new Error("_read() is not implemented"))},ye.prototype.pipe=function(Me,Ge){var Ve=this,Ze=this._readableState;switch(Ze.pipesCount){case 0:Ze.pipes=Me;break;case 1:Ze.pipes=[Ze.pipes,Me];break;default:Ze.pipes.push(Me);break}Ze.pipesCount+=1,te("pipe count=%d opts=%j",Ze.pipesCount,Ge);var Fe=(!Ge||Ge.end!==!1)&&Me!==se.stdout&&Me!==se.stderr,Oe=Fe?Ne:at;Ze.endEmitted?ie.nextTick(Oe):Ve.once("end",Oe),Me.on("unpipe",_e);function _e(Mt,st){te("onunpipe"),Mt===Ve&&st&&st.hasUnpiped===!1&&(st.hasUnpiped=!0,gt())}function Ne(){te("onend"),Me.end()}var ze=Qe(Ve);Me.on("drain",ze);var ot=!1;function gt(){te("cleanup"),Me.removeListener("close",At),Me.removeListener("finish",kt),Me.removeListener("drain",ze),Me.removeListener("error",mt),Me.removeListener("unpipe",_e),Ve.removeListener("end",Ne),Ve.removeListener("end",at),Ve.removeListener("data",nt),ot=!0,Ze.awaitDrain&&(!Me._writableState||Me._writableState.needDrain)&&ze()}var yt=!1;Ve.on("data",nt);function nt(Mt){te("ondata"),yt=!1;var st=Me.write(Mt);st===!1&&!yt&&((Ze.pipesCount===1&&Ze.pipes===Me||Ze.pipesCount>1&&et(Ze.pipes,Me)!==-1)&&!ot&&(te("false write response, pause",Ve._readableState.awaitDrain),Ve._readableState.awaitDrain++,yt=!0),Ve.pause())}function mt(Mt){te("onerror",Mt),at(),Me.removeListener("error",mt),oe(Me,"error")===0&&Me.emit("error",Mt)}pe(Me,"error",mt);function At(){Me.removeListener("finish",kt),at()}Me.once("close",At);function kt(){te("onfinish"),Me.removeListener("close",At),at()}Me.once("finish",kt);function at(){te("unpipe"),Ve.unpipe(Me)}return Me.emit("pipe",Ve),Ze.flowing||(te("pipe resume"),Ve.resume()),Me};function Qe(Me){return function(){var Ge=Me._readableState;te("pipeOnDrain",Ge.awaitDrain),Ge.awaitDrain&&Ge.awaitDrain--,Ge.awaitDrain===0&&oe(Me,"data")&&(Ge.flowing=!0,Ue(Me))}}ye.prototype.unpipe=function(Me){var Ge=this._readableState,Ve={hasUnpiped:!1};if(Ge.pipesCount===0)return this;if(Ge.pipesCount===1)return Me&&Me!==Ge.pipes?this:(Me||(Me=Ge.pipes),Ge.pipes=null,Ge.pipesCount=0,Ge.flowing=!1,Me&&Me.emit("unpipe",this,Ve),this);if(!Me){var Ze=Ge.pipes,Fe=Ge.pipesCount;Ge.pipes=null,Ge.pipesCount=0,Ge.flowing=!1;for(var Oe=0;Oe<Fe;Oe++)Ze[Oe].emit("unpipe",this,Ve);return this}var _e=et(Ge.pipes,Me);return _e===-1?this:(Ge.pipes.splice(_e,1),Ge.pipesCount-=1,Ge.pipesCount===1&&(Ge.pipes=Ge.pipes[0]),Me.emit("unpipe",this,Ve),this)},ye.prototype.on=function(Me,Ge){var Ve=ne.prototype.on.call(this,Me,Ge);if(Me==="data")this._readableState.flowing!==!1&&this.resume();else if(Me==="readable"){var Ze=this._readableState;!Ze.endEmitted&&!Ze.readableListening&&(Ze.readableListening=Ze.needReadable=!0,Ze.emittedReadable=!1,Ze.reading?Ze.length&&He(this):ie.nextTick(Xe,this))}return Ve},ye.prototype.addListener=ye.prototype.on;function Xe(Me){te("readable nexttick read 0"),Me.read(0)}ye.prototype.resume=function(){var Me=this._readableState;return Me.flowing||(te("resume"),Me.flowing=!0,$e(this,Me)),this};function $e(Me,Ge){Ge.resumeScheduled||(Ge.resumeScheduled=!0,ie.nextTick(ke,Me,Ge))}function ke(Me,Ge){Ge.reading||(te("resume read 0"),Me.read(0)),Ge.resumeScheduled=!1,Ge.awaitDrain=0,Me.emit("resume"),Ue(Me),Ge.flowing&&!Ge.reading&&Me.read(0)}ye.prototype.pause=function(){return te("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(te("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Ue(Me){var Ge=Me._readableState;for(te("flow",Ge.flowing);Ge.flowing&&Me.read()!==null;);}ye.prototype.wrap=function(Me){var Ge=this,Ve=this._readableState,Ze=!1;Me.on("end",function(){if(te("wrapped end"),Ve.decoder&&!Ve.ended){var _e=Ve.decoder.end();_e&&_e.length&&Ge.push(_e)}Ge.push(null)}),Me.on("data",function(_e){if(te("wrapped data"),Ve.decoder&&(_e=Ve.decoder.write(_e)),!(Ve.objectMode&&_e==null)&&!(!Ve.objectMode&&(!_e||!_e.length))){var Ne=Ge.push(_e);Ne||(Ze=!0,Me.pause())}});for(var Fe in Me)this[Fe]===void 0&&typeof Me[Fe]=="function"&&(this[Fe]=function(_e){return function(){return Me[_e].apply(Me,arguments)}}(Fe));for(var Oe=0;Oe<ve.length;Oe++)Me.on(ve[Oe],this.emit.bind(this,ve[Oe]));return this._read=function(_e){te("wrapped _read",_e),Ze&&(Ze=!1,Me.resume())},this},Object.defineProperty(ye.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),ye._fromList=qe;function qe(Me,Ge){if(Ge.length===0)return null;var Ve;return Ge.objectMode?Ve=Ge.buffer.shift():!Me||Me>=Ge.length?(Ge.decoder?Ve=Ge.buffer.join(""):Ge.buffer.length===1?Ve=Ge.buffer.head.data:Ve=Ge.buffer.concat(Ge.length),Ge.buffer.clear()):Ve=Ye(Me,Ge.buffer,Ge.decoder),Ve}function Ye(Me,Ge,Ve){var Ze;return Me<Ge.head.data.length?(Ze=Ge.head.data.slice(0,Me),Ge.head.data=Ge.head.data.slice(Me)):Me===Ge.head.data.length?Ze=Ge.shift():Ze=Ve?ft(Me,Ge):We(Me,Ge),Ze}function ft(Me,Ge){var Ve=Ge.head,Ze=1,Fe=Ve.data;for(Me-=Fe.length;Ve=Ve.next;){var Oe=Ve.data,_e=Me>Oe.length?Oe.length:Me;if(_e===Oe.length?Fe+=Oe:Fe+=Oe.slice(0,Me),Me-=_e,Me===0){_e===Oe.length?(++Ze,Ve.next?Ge.head=Ve.next:Ge.head=Ge.tail=null):(Ge.head=Ve,Ve.data=Oe.slice(_e));break}++Ze}return Ge.length-=Ze,Fe}function We(Me,Ge){var Ve=z.allocUnsafe(Me),Ze=Ge.head,Fe=1;for(Ze.data.copy(Ve),Me-=Ze.data.length;Ze=Ze.next;){var Oe=Ze.data,_e=Me>Oe.length?Oe.length:Me;if(Oe.copy(Ve,Ve.length-Me,0,_e),Me-=_e,Me===0){_e===Oe.length?(++Fe,Ze.next?Ge.head=Ze.next:Ge.head=Ge.tail=null):(Ge.head=Ze,Ze.data=Oe.slice(_e));break}++Fe}return Ge.length-=Fe,Ve}function Ke(Me){var Ge=Me._readableState;if(Ge.length>0)throw new Error('"endReadable()" called on non-empty stream');Ge.endEmitted||(Ge.ended=!0,ie.nextTick(Re,Ge,Me))}function Re(Me,Ge){!Me.endEmitted&&Me.length===0&&(Me.endEmitted=!0,Ge.readable=!1,Ge.emit("end"))}function et(Me,Ge){for(var Ve=0,Ze=Me.length;Ve<Ze;Ve++)if(Me[Ve]===Ge)return Ve;return-1}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":386,"./internal/streams/BufferList":391,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,events:344,inherits:364,isarray:370,"process-nextick-args":380,"safe-buffer":396,"string_decoder/":413,util:89}],389:[function(E,he,fe){"use strict";he.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 z=this._transformState;z.transforming=!1;var a=z.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));z.writechunk=null,z.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",ue)}function ue(){var oe=this;typeof this._flush=="function"?this._flush(function(ne,z){ae(oe,ne,z)}):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,z){throw new Error("_transform() is not implemented")},le.prototype._write=function(oe,ne,z){var a=this._transformState;if(a.writecb=z,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 z=this;se.prototype._destroy.call(this,oe,function(a){ne(a),z.emit("close")})};function ae(oe,ne,z){if(ne)return oe.emit("error",ne);if(z!=null&&oe.push(z),oe._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(oe._transformState.transforming)throw new Error("Calling transform done when still transforming");return oe.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(E,he,fe){(function(se,re,ie){(function(){"use strict";var le=E("process-nextick-args");he.exports=pe;function ue(ke,Ue,qe){this.chunk=ke,this.encoding=Ue,this.callback=qe,this.next=null}function ae(ke){var Ue=this;this.next=null,this.entry=null,this.finish=function(){$e(Ue,ke)}}var oe=!se.browser&&["v0.10","v0.9."].indexOf(se.version.slice(0,5))>-1?ie:le.nextTick,ne;pe.WritableState=ge;var z=Object.create(E("core-util-is"));z.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=re.Uint8Array||function(){};function ee(ke){return x.from(ke)}function te(ke){return x.isBuffer(ke)||ke instanceof b}var ce=E("./internal/streams/destroy");z.inherits(pe,y);function de(){}function ge(ke,Ue){ne=ne||E("./_stream_duplex"),ke=ke||{};var qe=Ue instanceof ne;this.objectMode=!!ke.objectMode,qe&&(this.objectMode=this.objectMode||!!ke.writableObjectMode);var Ye=ke.highWaterMark,ft=ke.writableHighWaterMark,We=this.objectMode?16:16*1024;Ye||Ye===0?this.highWaterMark=Ye:qe&&(ft||ft===0)?this.highWaterMark=ft:this.highWaterMark=We,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ke=ke.decodeStrings===!1;this.decodeStrings=!Ke,this.defaultEncoding=ke.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Re){Ce(Ue,Re)},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)}ge.prototype.getBuffer=function(){for(var Ue=this.bufferedRequest,qe=[];Ue;)qe.push(Ue),Ue=Ue.next;return qe},function(){try{Object.defineProperty(ge.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ke){}}();var ve;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ve=Function.prototype[Symbol.hasInstance],Object.defineProperty(pe,Symbol.hasInstance,{value:function(ke){return ve.call(this,ke)?!0:this!==pe?!1:ke&&ke._writableState instanceof ge}})):ve=function(ke){return ke instanceof this};function pe(ke){if(ne=ne||E("./_stream_duplex"),!ve.call(pe,this)&&!(this instanceof ne))return new pe(ke);this._writableState=new ge(ke,this),this.writable=!0,ke&&(typeof ke.write=="function"&&(this._write=ke.write),typeof ke.writev=="function"&&(this._writev=ke.writev),typeof ke.destroy=="function"&&(this._destroy=ke.destroy),typeof ke.final=="function"&&(this._final=ke.final)),y.call(this)}pe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Se(ke,Ue){var qe=new Error("write after end");ke.emit("error",qe),le.nextTick(Ue,qe)}function ye(ke,Ue,qe,Ye){var ft=!0,We=!1;return qe===null?We=new TypeError("May not write null values to stream"):typeof qe!="string"&&qe!==void 0&&!Ue.objectMode&&(We=new TypeError("Invalid non-string/buffer chunk")),We&&(ke.emit("error",We),le.nextTick(Ye,We),ft=!1),ft}pe.prototype.write=function(ke,Ue,qe){var Ye=this._writableState,ft=!1,We=!Ye.objectMode&&te(ke);return We&&!x.isBuffer(ke)&&(ke=ee(ke)),typeof Ue=="function"&&(qe=Ue,Ue=null),We?Ue="buffer":Ue||(Ue=Ye.defaultEncoding),typeof qe!="function"&&(qe=de),Ye.ended?Se(this,qe):(We||ye(this,Ye,ke,qe))&&(Ye.pendingcb++,ft=we(this,Ye,We,ke,Ue,qe)),ft},pe.prototype.cork=function(){var ke=this._writableState;ke.corked++},pe.prototype.uncork=function(){var ke=this._writableState;ke.corked&&(ke.corked--,!ke.writing&&!ke.corked&&!ke.finished&&!ke.bufferProcessing&&ke.bufferedRequest&&He(this,ke))},pe.prototype.setDefaultEncoding=function(Ue){if(typeof Ue=="string"&&(Ue=Ue.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ue+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Ue);return this._writableState.defaultEncoding=Ue,this};function Pe(ke,Ue,qe){return!ke.objectMode&&ke.decodeStrings!==!1&&typeof Ue=="string"&&(Ue=x.from(Ue,qe)),Ue}Object.defineProperty(pe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function we(ke,Ue,qe,Ye,ft,We){if(!qe){var Ke=Pe(Ue,Ye,ft);Ye!==Ke&&(qe=!0,ft="buffer",Ye=Ke)}var Re=Ue.objectMode?1:Ye.length;Ue.length+=Re;var et=Ue.length<Ue.highWaterMark;if(et||(Ue.needDrain=!0),Ue.writing||Ue.corked){var Me=Ue.lastBufferedRequest;Ue.lastBufferedRequest={chunk:Ye,encoding:ft,isBuf:qe,callback:We,next:null},Me?Me.next=Ue.lastBufferedRequest:Ue.bufferedRequest=Ue.lastBufferedRequest,Ue.bufferedRequestCount+=1}else Le(ke,Ue,!1,Re,Ye,ft,We);return et}function Le(ke,Ue,qe,Ye,ft,We,Ke){Ue.writelen=Ye,Ue.writecb=Ke,Ue.writing=!0,Ue.sync=!0,qe?ke._writev(ft,Ue.onwrite):ke._write(ft,We,Ue.onwrite),Ue.sync=!1}function Ee(ke,Ue,qe,Ye,ft){--Ue.pendingcb,qe?(le.nextTick(ft,Ye),le.nextTick(Qe,ke,Ue),ke._writableState.errorEmitted=!0,ke.emit("error",Ye)):(ft(Ye),ke._writableState.errorEmitted=!0,ke.emit("error",Ye),Qe(ke,Ue))}function Te(ke){ke.writing=!1,ke.writecb=null,ke.length-=ke.writelen,ke.writelen=0}function Ce(ke,Ue){var qe=ke._writableState,Ye=qe.sync,ft=qe.writecb;if(Te(qe),Ue)Ee(ke,qe,Ye,Ue,ft);else{var We=je(qe);!We&&!qe.corked&&!qe.bufferProcessing&&qe.bufferedRequest&&He(ke,qe),Ye?oe(Ae,ke,qe,We,ft):Ae(ke,qe,We,ft)}}function Ae(ke,Ue,qe,Ye){qe||Ie(ke,Ue),Ue.pendingcb--,Ye(),Qe(ke,Ue)}function Ie(ke,Ue){Ue.length===0&&Ue.needDrain&&(Ue.needDrain=!1,ke.emit("drain"))}function He(ke,Ue){Ue.bufferProcessing=!0;var qe=Ue.bufferedRequest;if(ke._writev&&qe&&qe.next){var Ye=Ue.bufferedRequestCount,ft=new Array(Ye),We=Ue.corkedRequestsFree;We.entry=qe;for(var Ke=0,Re=!0;qe;)ft[Ke]=qe,qe.isBuf||(Re=!1),qe=qe.next,Ke+=1;ft.allBuffers=Re,Le(ke,Ue,!0,Ue.length,ft,"",We.finish),Ue.pendingcb++,Ue.lastBufferedRequest=null,We.next?(Ue.corkedRequestsFree=We.next,We.next=null):Ue.corkedRequestsFree=new ae(Ue),Ue.bufferedRequestCount=0}else{for(;qe;){var et=qe.chunk,Me=qe.encoding,Ge=qe.callback,Ve=Ue.objectMode?1:et.length;if(Le(ke,Ue,!1,Ve,et,Me,Ge),qe=qe.next,Ue.bufferedRequestCount--,Ue.writing)break}qe===null&&(Ue.lastBufferedRequest=null)}Ue.bufferedRequest=qe,Ue.bufferProcessing=!1}pe.prototype._write=function(ke,Ue,qe){qe(new Error("_write() is not implemented"))},pe.prototype._writev=null,pe.prototype.end=function(ke,Ue,qe){var Ye=this._writableState;typeof ke=="function"?(qe=ke,ke=null,Ue=null):typeof Ue=="function"&&(qe=Ue,Ue=null),ke!=null&&this.write(ke,Ue),Ye.corked&&(Ye.corked=1,this.uncork()),!Ye.ending&&!Ye.finished&&Xe(this,Ye,qe)};function je(ke){return ke.ending&&ke.length===0&&ke.bufferedRequest===null&&!ke.finished&&!ke.writing}function tt(ke,Ue){ke._final(function(qe){Ue.pendingcb--,qe&&ke.emit("error",qe),Ue.prefinished=!0,ke.emit("prefinish"),Qe(ke,Ue)})}function Je(ke,Ue){!Ue.prefinished&&!Ue.finalCalled&&(typeof ke._final=="function"?(Ue.pendingcb++,Ue.finalCalled=!0,le.nextTick(tt,ke,Ue)):(Ue.prefinished=!0,ke.emit("prefinish")))}function Qe(ke,Ue){var qe=je(Ue);return qe&&(Je(ke,Ue),Ue.pendingcb===0&&(Ue.finished=!0,ke.emit("finish"))),qe}function Xe(ke,Ue,qe){Ue.ending=!0,Qe(ke,Ue),qe&&(Ue.finished?le.nextTick(qe):ke.once("finish",qe)),Ue.ended=!0,ke.writable=!1}function $e(ke,Ue,qe){var Ye=ke.entry;for(ke.entry=null;Ye;){var ft=Ye.callback;Ue.pendingcb--,ft(qe),Ye=Ye.next}Ue.corkedRequestsFree?Ue.corkedRequestsFree.next=ke:Ue.corkedRequestsFree=ke}Object.defineProperty(pe.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ke){this._writableState&&(this._writableState.destroyed=ke)}}),pe.prototype.destroy=ce.destroy,pe.prototype._undestroy=ce.undestroy,pe.prototype._destroy=function(ke,Ue){this.end(),Ue(ke)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("timers").setImmediate)},{"./_stream_duplex":386,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,inherits:364,"process-nextick-args":380,"safe-buffer":396,timers:414,"util-deprecate":416}],391:[function(E,he,fe){"use strict";function se(ue,ae){if(!(ue instanceof ae))throw new TypeError("Cannot call a class as a function")}var re=E("safe-buffer").Buffer,ie=E("util");function le(ue,ae,oe){ue.copy(ae,oe)}he.exports=function(){function ue(){se(this,ue),this.head=null,this.tail=null,this.length=0}return ue.prototype.push=function(oe){var ne={data:oe,next:null};this.length>0?this.tail.next=ne:this.head=ne,this.tail=ne,++this.length},ue.prototype.unshift=function(oe){var ne={data:oe,next:this.head};this.length===0&&(this.tail=ne),this.head=ne,++this.length},ue.prototype.shift=function(){if(this.length!==0){var oe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,oe}},ue.prototype.clear=function(){this.head=this.tail=null,this.length=0},ue.prototype.join=function(oe){if(this.length===0)return"";for(var ne=this.head,z=""+ne.data;ne=ne.next;)z+=oe+ne.data;return z},ue.prototype.concat=function(oe){if(this.length===0)return re.alloc(0);if(this.length===1)return this.head.data;for(var ne=re.allocUnsafe(oe>>>0),z=this.head,a=0;z;)le(z.data,ne,a),a+=z.data.length,z=z.next;return ne},ue}(),ie&&ie.inspect&&ie.inspect.custom&&(he.exports.prototype[ie.inspect.custom]=function(){var ue=ie.inspect({length:this.length});return this.constructor.name+" "+ue})},{"safe-buffer":396,util:89}],392:[function(E,he,fe){"use strict";var se=E("process-nextick-args");function re(ue,ae){var oe=this,ne=this._readableState&&this._readableState.destroyed,z=this._writableState&&this._writableState.destroyed;return ne||z?(ae?ae(ue):ue&&(!this._writableState||!this._writableState.errorEmitted)&&se.nextTick(le,this,ue),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ue||null,function(a){!ae&&a?(se.nextTick(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(ue,ae){ue.emit("error",ae)}he.exports={destroy:re,undestroy:ie}},{"process-nextick-args":380}],393:[function(E,he,fe){he.exports=E("events").EventEmitter},{events:344}],394:[function(E,he,fe){fe=he.exports=E("./lib/_stream_readable.js"),fe.Stream=fe,fe.Readable=fe,fe.Writable=E("./lib/_stream_writable.js"),fe.Duplex=E("./lib/_stream_duplex.js"),fe.Transform=E("./lib/_stream_transform.js"),fe.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,he,fe){var se=function(re){"use strict";var ie=Object.prototype,le=ie.hasOwnProperty,ue,ae=typeof Symbol=="function"?Symbol:{},oe=ae.iterator||"@@iterator",ne=ae.asyncIterator||"@@asyncIterator",z=ae.toStringTag||"@@toStringTag";function a(Je,Qe,Xe){return Object.defineProperty(Je,Qe,{value:Xe,enumerable:!0,configurable:!0,writable:!0}),Je[Qe]}try{a({},"")}catch(Je){a=function(Qe,Xe,$e){return Qe[Xe]=$e}}function y(Je,Qe,Xe,$e){var ke=Qe&&Qe.prototype instanceof ge?Qe:ge,Ue=Object.create(ke.prototype),qe=new He($e||[]);return Ue._invoke=Te(Je,Xe,qe),Ue}re.wrap=y;function x(Je,Qe,Xe){try{return{type:"normal",arg:Je.call(Qe,Xe)}}catch($e){return{type:"throw",arg:$e}}}var b="suspendedStart",ee="suspendedYield",te="executing",ce="completed",de={};function ge(){}function ve(){}function pe(){}var Se={};a(Se,oe,function(){return this});var ye=Object.getPrototypeOf,Pe=ye&&ye(ye(je([])));Pe&&Pe!==ie&&le.call(Pe,oe)&&(Se=Pe);var we=pe.prototype=ge.prototype=Object.create(Se);ve.prototype=pe,a(we,"constructor",pe),a(pe,"constructor",ve),ve.displayName=a(pe,z,"GeneratorFunction");function Le(Je){["next","throw","return"].forEach(function(Qe){a(Je,Qe,function(Xe){return this._invoke(Qe,Xe)})})}re.isGeneratorFunction=function(Je){var Qe=typeof Je=="function"&&Je.constructor;return Qe?Qe===ve||(Qe.displayName||Qe.name)==="GeneratorFunction":!1},re.mark=function(Je){return Object.setPrototypeOf?Object.setPrototypeOf(Je,pe):(Je.__proto__=pe,a(Je,z,"GeneratorFunction")),Je.prototype=Object.create(we),Je},re.awrap=function(Je){return{__await:Je}};function Ee(Je,Qe){function Xe(Ue,qe,Ye,ft){var We=x(Je[Ue],Je,qe);if(We.type==="throw")ft(We.arg);else{var Ke=We.arg,Re=Ke.value;return Re&&typeof Re=="object"&&le.call(Re,"__await")?Qe.resolve(Re.__await).then(function(et){Xe("next",et,Ye,ft)},function(et){Xe("throw",et,Ye,ft)}):Qe.resolve(Re).then(function(et){Ke.value=et,Ye(Ke)},function(et){return Xe("throw",et,Ye,ft)})}}var $e;function ke(Ue,qe){function Ye(){return new Qe(function(ft,We){Xe(Ue,qe,ft,We)})}return $e=$e?$e.then(Ye,Ye):Ye()}this._invoke=ke}Le(Ee.prototype),a(Ee.prototype,ne,function(){return this}),re.AsyncIterator=Ee,re.async=function(Je,Qe,Xe,$e,ke){ke===void 0&&(ke=Promise);var Ue=new Ee(y(Je,Qe,Xe,$e),ke);return re.isGeneratorFunction(Qe)?Ue:Ue.next().then(function(qe){return qe.done?qe.value:Ue.next()})};function Te(Je,Qe,Xe){var $e=b;return function(Ue,qe){if($e===te)throw new Error("Generator is already running");if($e===ce){if(Ue==="throw")throw qe;return tt()}for(Xe.method=Ue,Xe.arg=qe;;){var Ye=Xe.delegate;if(Ye){var ft=Ce(Ye,Xe);if(ft){if(ft===de)continue;return ft}}if(Xe.method==="next")Xe.sent=Xe._sent=Xe.arg;else if(Xe.method==="throw"){if($e===b)throw $e=ce,Xe.arg;Xe.dispatchException(Xe.arg)}else Xe.method==="return"&&Xe.abrupt("return",Xe.arg);$e=te;var We=x(Je,Qe,Xe);if(We.type==="normal"){if($e=Xe.done?ce:ee,We.arg===de)continue;return{value:We.arg,done:Xe.done}}else We.type==="throw"&&($e=ce,Xe.method="throw",Xe.arg=We.arg)}}}function Ce(Je,Qe){var Xe=Je.iterator[Qe.method];if(Xe===ue){if(Qe.delegate=null,Qe.method==="throw"){if(Je.iterator.return&&(Qe.method="return",Qe.arg=ue,Ce(Je,Qe),Qe.method==="throw"))return de;Qe.method="throw",Qe.arg=new TypeError("The iterator does not provide a 'throw' method")}return de}var $e=x(Xe,Je.iterator,Qe.arg);if($e.type==="throw")return Qe.method="throw",Qe.arg=$e.arg,Qe.delegate=null,de;var ke=$e.arg;if(!ke)return Qe.method="throw",Qe.arg=new TypeError("iterator result is not an object"),Qe.delegate=null,de;if(ke.done)Qe[Je.resultName]=ke.value,Qe.next=Je.nextLoc,Qe.method!=="return"&&(Qe.method="next",Qe.arg=ue);else return ke;return Qe.delegate=null,de}Le(we),a(we,z,"Generator"),a(we,oe,function(){return this}),a(we,"toString",function(){return"[object Generator]"});function Ae(Je){var Qe={tryLoc:Je[0]};1 in Je&&(Qe.catchLoc=Je[1]),2 in Je&&(Qe.finallyLoc=Je[2],Qe.afterLoc=Je[3]),this.tryEntries.push(Qe)}function Ie(Je){var Qe=Je.completion||{};Qe.type="normal",delete Qe.arg,Je.completion=Qe}function He(Je){this.tryEntries=[{tryLoc:"root"}],Je.forEach(Ae,this),this.reset(!0)}re.keys=function(Je){var Qe=[];for(var Xe in Je)Qe.push(Xe);return Qe.reverse(),function $e(){for(;Qe.length;){var ke=Qe.pop();if(ke in Je)return $e.value=ke,$e.done=!1,$e}return $e.done=!0,$e}};function je(Je){if(Je){var Qe=Je[oe];if(Qe)return Qe.call(Je);if(typeof Je.next=="function")return Je;if(!isNaN(Je.length)){var Xe=-1,$e=function ke(){for(;++Xe<Je.length;)if(le.call(Je,Xe))return ke.value=Je[Xe],ke.done=!1,ke;return ke.value=ue,ke.done=!0,ke};return $e.next=$e}}return{next:tt}}re.values=je;function tt(){return{value:ue,done:!0}}return He.prototype={constructor:He,reset:function(Je){if(this.prev=0,this.next=0,this.sent=this._sent=ue,this.done=!1,this.delegate=null,this.method="next",this.arg=ue,this.tryEntries.forEach(Ie),!Je)for(var Qe in this)Qe.charAt(0)==="t"&&le.call(this,Qe)&&!isNaN(+Qe.slice(1))&&(this[Qe]=ue)},stop:function(){this.done=!0;var Je=this.tryEntries[0],Qe=Je.completion;if(Qe.type==="throw")throw Qe.arg;return this.rval},dispatchException:function(Je){if(this.done)throw Je;var Qe=this;function Xe(ft,We){return Ue.type="throw",Ue.arg=Je,Qe.next=ft,We&&(Qe.method="next",Qe.arg=ue),!!We}for(var $e=this.tryEntries.length-1;$e>=0;--$e){var ke=this.tryEntries[$e],Ue=ke.completion;if(ke.tryLoc==="root")return Xe("end");if(ke.tryLoc<=this.prev){var qe=le.call(ke,"catchLoc"),Ye=le.call(ke,"finallyLoc");if(qe&&Ye){if(this.prev<ke.catchLoc)return Xe(ke.catchLoc,!0);if(this.prev<ke.finallyLoc)return Xe(ke.finallyLoc)}else if(qe){if(this.prev<ke.catchLoc)return Xe(ke.catchLoc,!0)}else if(Ye){if(this.prev<ke.finallyLoc)return Xe(ke.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(Je,Qe){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var $e=this.tryEntries[Xe];if($e.tryLoc<=this.prev&&le.call($e,"finallyLoc")&&this.prev<$e.finallyLoc){var ke=$e;break}}ke&&(Je==="break"||Je==="continue")&&ke.tryLoc<=Qe&&Qe<=ke.finallyLoc&&(ke=null);var Ue=ke?ke.completion:{};return Ue.type=Je,Ue.arg=Qe,ke?(this.method="next",this.next=ke.finallyLoc,de):this.complete(Ue)},complete:function(Je,Qe){if(Je.type==="throw")throw Je.arg;return Je.type==="break"||Je.type==="continue"?this.next=Je.arg:Je.type==="return"?(this.rval=this.arg=Je.arg,this.method="return",this.next="end"):Je.type==="normal"&&Qe&&(this.next=Qe),de},finish:function(Je){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var Xe=this.tryEntries[Qe];if(Xe.finallyLoc===Je)return this.complete(Xe.completion,Xe.afterLoc),Ie(Xe),de}},catch:function(Je){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var Xe=this.tryEntries[Qe];if(Xe.tryLoc===Je){var $e=Xe.completion;if($e.type==="throw"){var ke=$e.arg;Ie(Xe)}return ke}}throw new Error("illegal catch attempt")},delegateYield:function(Je,Qe,Xe){return this.delegate={iterator:je(Je),resultName:Qe,nextLoc:Xe},this.method==="next"&&(this.arg=ue),de}},re}(typeof he=="object"?he.exports:{});try{regeneratorRuntime=se}catch(re){typeof globalThis=="object"?globalThis.regeneratorRuntime=se:Function("r","regeneratorRuntime = r")(se)}},{}],396:[function(E,he,fe){var se=E("buffer"),re=se.Buffer;function ie(ue,ae){for(var oe in ue)ae[oe]=ue[oe]}re.from&&re.alloc&&re.allocUnsafe&&re.allocUnsafeSlow?he.exports=se:(ie(se,fe),fe.Buffer=le);function le(ue,ae,oe){return re(ue,ae,oe)}ie(re,le),le.from=function(ue,ae,oe){if(typeof ue=="number")throw new TypeError("Argument must not be a number");return re(ue,ae,oe)},le.alloc=function(ue,ae,oe){if(typeof ue!="number")throw new TypeError("Argument must be a number");var ne=re(ue);return ae!==void 0?typeof oe=="string"?ne.fill(ae,oe):ne.fill(ae):ne.fill(0),ne},le.allocUnsafe=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return re(ue)},le.allocUnsafeSlow=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return se.SlowBuffer(ue)}},{buffer:90}],397:[function(E,he,fe){(function(se){(function(){(function(re){re.parser=function(Ke,Re){return new le(Ke,Re)},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(Ke,Re){if(!(this instanceof le))return new le(Ke,Re);var et=this;ae(et),et.q=et.c="",et.bufferCheckPosition=re.MAX_BUFFER_LENGTH,et.opt=Re||{},et.opt.lowercase=et.opt.lowercase||et.opt.lowercasetags,et.looseCase=et.opt.lowercase?"toLowerCase":"toUpperCase",et.tags=[],et.closed=et.closedRoot=et.sawRoot=!1,et.tag=et.error=null,et.strict=!!Ke,et.noscript=!!(Ke||et.opt.noscript),et.state=Ee.BEGIN,et.strictEntities=et.opt.strictEntities,et.ENTITIES=et.strictEntities?Object.create(re.XML_ENTITIES):Object.create(re.ENTITIES),et.attribList=[],et.opt.xmlns&&(et.ns=Object.create(ce)),et.trackPosition=et.opt.position!==!1,et.trackPosition&&(et.position=et.line=et.column=0),Ce(et,"onready")}Object.create||(Object.create=function(Ke){function Re(){}Re.prototype=Ke;var et=new Re;return et}),Object.keys||(Object.keys=function(Ke){var Re=[];for(var et in Ke)Ke.hasOwnProperty(et)&&Re.push(et);return Re});function ue(Ke){for(var Re=Math.max(re.MAX_BUFFER_LENGTH,10),et=0,Me=0,Ge=ie.length;Me<Ge;Me++){var Ve=Ke[ie[Me]].length;if(Ve>Re)switch(ie[Me]){case"textNode":Ie(Ke);break;case"cdata":Ae(Ke,"oncdata",Ke.cdata),Ke.cdata="";break;case"script":Ae(Ke,"onscript",Ke.script),Ke.script="";break;default:je(Ke,"Max buffer length exceeded: "+ie[Me])}et=Math.max(et,Ve)}var Ze=re.MAX_BUFFER_LENGTH-et;Ke.bufferCheckPosition=Ze+Ke.position}function ae(Ke){for(var Re=0,et=ie.length;Re<et;Re++)Ke[ie[Re]]=""}function oe(Ke){Ie(Ke),Ke.cdata!==""&&(Ae(Ke,"oncdata",Ke.cdata),Ke.cdata=""),Ke.script!==""&&(Ae(Ke,"onscript",Ke.script),Ke.script="")}le.prototype={end:function(){tt(this)},write:We,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){oe(this)}};var ne;try{ne=E("stream").Stream}catch(Ke){ne=function(){}}var z=re.EVENTS.filter(function(Ke){return Ke!=="error"&&Ke!=="end"});function a(Ke,Re){return new y(Ke,Re)}function y(Ke,Re){if(!(this instanceof y))return new y(Ke,Re);ne.apply(this),this._parser=new le(Ke,Re),this.writable=!0,this.readable=!0;var et=this;this._parser.onend=function(){et.emit("end")},this._parser.onerror=function(Me){et.emit("error",Me),et._parser.error=null},this._decoder=null,z.forEach(function(Me){Object.defineProperty(et,"on"+Me,{get:function(){return et._parser["on"+Me]},set:function(Ge){if(!Ge)return et.removeAllListeners(Me),et._parser["on"+Me]=Ge,Ge;et.on(Me,Ge)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(ne.prototype,{constructor:{value:y}}),y.prototype.write=function(Ke){if(typeof se=="function"&&typeof se.isBuffer=="function"&&se.isBuffer(Ke)){if(!this._decoder){var Re=E("string_decoder").StringDecoder;this._decoder=new Re("utf8")}Ke=this._decoder.write(Ke)}return this._parser.write(Ke.toString()),this.emit("data",Ke),!0},y.prototype.end=function(Ke){return Ke&&Ke.length&&this.write(Ke),this._parser.end(),!0},y.prototype.on=function(Ke,Re){var et=this;return!et._parser["on"+Ke]&&z.indexOf(Ke)!==-1&&(et._parser["on"+Ke]=function(){var Me=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Me.splice(0,0,Ke),et.emit.apply(et,Me)}),ne.prototype.on.call(et,Ke,Re)};var x="[CDATA[",b="DOCTYPE",ee="http://www.w3.org/XML/1998/namespace",te="http://www.w3.org/2000/xmlns/",ce={xml:ee,xmlns:te},de=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,ge=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,ve=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,pe=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function Se(Ke){return Ke===" "||Ke===`
`||Ke==="\r"||Ke===" "}function ye(Ke){return Ke==='"'||Ke==="'"}function Pe(Ke){return Ke===">"||Se(Ke)}function we(Ke,Re){return Ke.test(Re)}function Le(Ke,Re){return!we(Ke,Re)}var Ee=0;re.STATE={BEGIN:Ee++,BEGIN_WHITESPACE:Ee++,TEXT:Ee++,TEXT_ENTITY:Ee++,OPEN_WAKA:Ee++,SGML_DECL:Ee++,SGML_DECL_QUOTED:Ee++,DOCTYPE:Ee++,DOCTYPE_QUOTED:Ee++,DOCTYPE_DTD:Ee++,DOCTYPE_DTD_QUOTED:Ee++,COMMENT_STARTING:Ee++,COMMENT:Ee++,COMMENT_ENDING:Ee++,COMMENT_ENDED:Ee++,CDATA:Ee++,CDATA_ENDING:Ee++,CDATA_ENDING_2:Ee++,PROC_INST:Ee++,PROC_INST_BODY:Ee++,PROC_INST_ENDING:Ee++,OPEN_TAG:Ee++,OPEN_TAG_SLASH:Ee++,ATTRIB:Ee++,ATTRIB_NAME:Ee++,ATTRIB_NAME_SAW_WHITE:Ee++,ATTRIB_VALUE:Ee++,ATTRIB_VALUE_QUOTED:Ee++,ATTRIB_VALUE_CLOSED:Ee++,ATTRIB_VALUE_UNQUOTED:Ee++,ATTRIB_VALUE_ENTITY_Q:Ee++,ATTRIB_VALUE_ENTITY_U:Ee++,CLOSE_TAG:Ee++,CLOSE_TAG_SAW_WHITE:Ee++,SCRIPT:Ee++,SCRIPT_ENDING:Ee++},re.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},re.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(re.ENTITIES).forEach(function(Ke){var Re=re.ENTITIES[Ke],et=typeof Re=="number"?String.fromCharCode(Re):Re;re.ENTITIES[Ke]=et});for(var Te in re.STATE)re.STATE[re.STATE[Te]]=Te;Ee=re.STATE;function Ce(Ke,Re,et){Ke[Re]&&Ke[Re](et)}function Ae(Ke,Re,et){Ke.textNode&&Ie(Ke),Ce(Ke,Re,et)}function Ie(Ke){Ke.textNode=He(Ke.opt,Ke.textNode),Ke.textNode&&Ce(Ke,"ontext",Ke.textNode),Ke.textNode=""}function He(Ke,Re){return Ke.trim&&(Re=Re.trim()),Ke.normalize&&(Re=Re.replace(/\s+/g," ")),Re}function je(Ke,Re){return Ie(Ke),Ke.trackPosition&&(Re+=`
Line: `+Ke.line+`
Column: `+Ke.column+`
Char: `+Ke.c),Re=new Error(Re),Ke.error=Re,Ce(Ke,"onerror",Re),Ke}function tt(Ke){return Ke.sawRoot&&!Ke.closedRoot&&Je(Ke,"Unclosed root tag"),Ke.state!==Ee.BEGIN&&Ke.state!==Ee.BEGIN_WHITESPACE&&Ke.state!==Ee.TEXT&&je(Ke,"Unexpected end"),Ie(Ke),Ke.c="",Ke.closed=!0,Ce(Ke,"onend"),le.call(Ke,Ke.strict,Ke.opt),Ke}function Je(Ke,Re){if(typeof Ke!="object"||!(Ke instanceof le))throw new Error("bad call to strictFail");Ke.strict&&je(Ke,Re)}function Qe(Ke){Ke.strict||(Ke.tagName=Ke.tagName[Ke.looseCase]());var Re=Ke.tags[Ke.tags.length-1]||Ke,et=Ke.tag={name:Ke.tagName,attributes:{}};Ke.opt.xmlns&&(et.ns=Re.ns),Ke.attribList.length=0,Ae(Ke,"onopentagstart",et)}function Xe(Ke,Re){var et=Ke.indexOf(":"),Me=et<0?["",Ke]:Ke.split(":"),Ge=Me[0],Ve=Me[1];return Re&&Ke==="xmlns"&&(Ge="xmlns",Ve=""),{prefix:Ge,local:Ve}}function $e(Ke){if(Ke.strict||(Ke.attribName=Ke.attribName[Ke.looseCase]()),Ke.attribList.indexOf(Ke.attribName)!==-1||Ke.tag.attributes.hasOwnProperty(Ke.attribName)){Ke.attribName=Ke.attribValue="";return}if(Ke.opt.xmlns){var Re=Xe(Ke.attribName,!0),et=Re.prefix,Me=Re.local;if(et==="xmlns")if(Me==="xml"&&Ke.attribValue!==ee)Je(Ke,"xml: prefix must be bound to "+ee+`
Actual: `+Ke.attribValue);else if(Me==="xmlns"&&Ke.attribValue!==te)Je(Ke,"xmlns: prefix must be bound to "+te+`
Actual: `+Ke.attribValue);else{var Ge=Ke.tag,Ve=Ke.tags[Ke.tags.length-1]||Ke;Ge.ns===Ve.ns&&(Ge.ns=Object.create(Ve.ns)),Ge.ns[Me]=Ke.attribValue}Ke.attribList.push([Ke.attribName,Ke.attribValue])}else Ke.tag.attributes[Ke.attribName]=Ke.attribValue,Ae(Ke,"onattribute",{name:Ke.attribName,value:Ke.attribValue});Ke.attribName=Ke.attribValue=""}function ke(Ke,Re){if(Ke.opt.xmlns){var et=Ke.tag,Me=Xe(Ke.tagName);et.prefix=Me.prefix,et.local=Me.local,et.uri=et.ns[Me.prefix]||"",et.prefix&&!et.uri&&(Je(Ke,"Unbound namespace prefix: "+JSON.stringify(Ke.tagName)),et.uri=Me.prefix);var Ge=Ke.tags[Ke.tags.length-1]||Ke;et.ns&&Ge.ns!==et.ns&&Object.keys(et.ns).forEach(function(nt){Ae(Ke,"onopennamespace",{prefix:nt,uri:et.ns[nt]})});for(var Ve=0,Ze=Ke.attribList.length;Ve<Ze;Ve++){var Fe=Ke.attribList[Ve],Oe=Fe[0],_e=Fe[1],Ne=Xe(Oe,!0),ze=Ne.prefix,ot=Ne.local,gt=ze===""?"":et.ns[ze]||"",yt={name:Oe,value:_e,prefix:ze,local:ot,uri:gt};ze&&ze!=="xmlns"&&!gt&&(Je(Ke,"Unbound namespace prefix: "+JSON.stringify(ze)),yt.uri=ze),Ke.tag.attributes[Oe]=yt,Ae(Ke,"onattribute",yt)}Ke.attribList.length=0}Ke.tag.isSelfClosing=!!Re,Ke.sawRoot=!0,Ke.tags.push(Ke.tag),Ae(Ke,"onopentag",Ke.tag),Re||(!Ke.noscript&&Ke.tagName.toLowerCase()==="script"?Ke.state=Ee.SCRIPT:Ke.state=Ee.TEXT,Ke.tag=null,Ke.tagName=""),Ke.attribName=Ke.attribValue="",Ke.attribList.length=0}function Ue(Ke){if(!Ke.tagName){Je(Ke,"Weird empty close tag."),Ke.textNode+="</>",Ke.state=Ee.TEXT;return}if(Ke.script){if(Ke.tagName!=="script"){Ke.script+="</"+Ke.tagName+">",Ke.tagName="",Ke.state=Ee.SCRIPT;return}Ae(Ke,"onscript",Ke.script),Ke.script=""}var Re=Ke.tags.length,et=Ke.tagName;Ke.strict||(et=et[Ke.looseCase]());for(var Me=et;Re--;){var Ge=Ke.tags[Re];if(Ge.name!==Me)Je(Ke,"Unexpected close tag");else break}if(Re<0){Je(Ke,"Unmatched closing tag: "+Ke.tagName),Ke.textNode+="</"+Ke.tagName+">",Ke.state=Ee.TEXT;return}Ke.tagName=et;for(var Ve=Ke.tags.length;Ve-- >Re;){var Ze=Ke.tag=Ke.tags.pop();Ke.tagName=Ke.tag.name,Ae(Ke,"onclosetag",Ke.tagName);var Fe={};for(var Oe in Ze.ns)Fe[Oe]=Ze.ns[Oe];var _e=Ke.tags[Ke.tags.length-1]||Ke;Ke.opt.xmlns&&Ze.ns!==_e.ns&&Object.keys(Ze.ns).forEach(function(Ne){var ze=Ze.ns[Ne];Ae(Ke,"onclosenamespace",{prefix:Ne,uri:ze})})}Re===0&&(Ke.closedRoot=!0),Ke.tagName=Ke.attribValue=Ke.attribName="",Ke.attribList.length=0,Ke.state=Ee.TEXT}function qe(Ke){var Re=Ke.entity,et=Re.toLowerCase(),Me,Ge="";return Ke.ENTITIES[Re]?Ke.ENTITIES[Re]:Ke.ENTITIES[et]?Ke.ENTITIES[et]:(Re=et,Re.charAt(0)==="#"&&(Re.charAt(1)==="x"?(Re=Re.slice(2),Me=parseInt(Re,16),Ge=Me.toString(16)):(Re=Re.slice(1),Me=parseInt(Re,10),Ge=Me.toString(10))),Re=Re.replace(/^0+/,""),isNaN(Me)||Ge.toLowerCase()!==Re?(Je(Ke,"Invalid character entity"),"&"+Ke.entity+";"):String.fromCodePoint(Me))}function Ye(Ke,Re){Re==="<"?(Ke.state=Ee.OPEN_WAKA,Ke.startTagPosition=Ke.position):Se(Re)||(Je(Ke,"Non-whitespace before first tag."),Ke.textNode=Re,Ke.state=Ee.TEXT)}function ft(Ke,Re){var et="";return Re<Ke.length&&(et=Ke.charAt(Re)),et}function We(Ke){var Re=this;if(this.error)throw this.error;if(Re.closed)return je(Re,"Cannot write after close. Assign an onready handler.");if(Ke===null)return tt(Re);typeof Ke=="object"&&(Ke=Ke.toString());for(var et=0,Me="";Me=ft(Ke,et++),Re.c=Me,!!Me;)switch(Re.trackPosition&&(Re.position++,Me===`
`?(Re.line++,Re.column=0):Re.column++),Re.state){case Ee.BEGIN:if(Re.state=Ee.BEGIN_WHITESPACE,Me==="\uFEFF")continue;Ye(Re,Me);continue;case Ee.BEGIN_WHITESPACE:Ye(Re,Me);continue;case Ee.TEXT:if(Re.sawRoot&&!Re.closedRoot){for(var Ge=et-1;Me&&Me!=="<"&&Me!=="&";)Me=ft(Ke,et++),Me&&Re.trackPosition&&(Re.position++,Me===`
`?(Re.line++,Re.column=0):Re.column++);Re.textNode+=Ke.substring(Ge,et-1)}Me==="<"&&!(Re.sawRoot&&Re.closedRoot&&!Re.strict)?(Re.state=Ee.OPEN_WAKA,Re.startTagPosition=Re.position):(!Se(Me)&&(!Re.sawRoot||Re.closedRoot)&&Je(Re,"Text data outside of root node."),Me==="&"?Re.state=Ee.TEXT_ENTITY:Re.textNode+=Me);continue;case Ee.SCRIPT:Me==="<"?Re.state=Ee.SCRIPT_ENDING:Re.script+=Me;continue;case Ee.SCRIPT_ENDING:Me==="/"?Re.state=Ee.CLOSE_TAG:(Re.script+="<"+Me,Re.state=Ee.SCRIPT);continue;case Ee.OPEN_WAKA:if(Me==="!")Re.state=Ee.SGML_DECL,Re.sgmlDecl="";else if(!Se(Me))if(we(de,Me))Re.state=Ee.OPEN_TAG,Re.tagName=Me;else if(Me==="/")Re.state=Ee.CLOSE_TAG,Re.tagName="";else if(Me==="?")Re.state=Ee.PROC_INST,Re.procInstName=Re.procInstBody="";else{if(Je(Re,"Unencoded <"),Re.startTagPosition+1<Re.position){var Ve=Re.position-Re.startTagPosition;Me=new Array(Ve).join(" ")+Me}Re.textNode+="<"+Me,Re.state=Ee.TEXT}continue;case Ee.SGML_DECL:(Re.sgmlDecl+Me).toUpperCase()===x?(Ae(Re,"onopencdata"),Re.state=Ee.CDATA,Re.sgmlDecl="",Re.cdata=""):Re.sgmlDecl+Me==="--"?(Re.state=Ee.COMMENT,Re.comment="",Re.sgmlDecl=""):(Re.sgmlDecl+Me).toUpperCase()===b?(Re.state=Ee.DOCTYPE,(Re.doctype||Re.sawRoot)&&Je(Re,"Inappropriately located doctype declaration"),Re.doctype="",Re.sgmlDecl=""):Me===">"?(Ae(Re,"onsgmldeclaration",Re.sgmlDecl),Re.sgmlDecl="",Re.state=Ee.TEXT):(ye(Me)&&(Re.state=Ee.SGML_DECL_QUOTED),Re.sgmlDecl+=Me);continue;case Ee.SGML_DECL_QUOTED:Me===Re.q&&(Re.state=Ee.SGML_DECL,Re.q=""),Re.sgmlDecl+=Me;continue;case Ee.DOCTYPE:Me===">"?(Re.state=Ee.TEXT,Ae(Re,"ondoctype",Re.doctype),Re.doctype=!0):(Re.doctype+=Me,Me==="["?Re.state=Ee.DOCTYPE_DTD:ye(Me)&&(Re.state=Ee.DOCTYPE_QUOTED,Re.q=Me));continue;case Ee.DOCTYPE_QUOTED:Re.doctype+=Me,Me===Re.q&&(Re.q="",Re.state=Ee.DOCTYPE);continue;case Ee.DOCTYPE_DTD:Re.doctype+=Me,Me==="]"?Re.state=Ee.DOCTYPE:ye(Me)&&(Re.state=Ee.DOCTYPE_DTD_QUOTED,Re.q=Me);continue;case Ee.DOCTYPE_DTD_QUOTED:Re.doctype+=Me,Me===Re.q&&(Re.state=Ee.DOCTYPE_DTD,Re.q="");continue;case Ee.COMMENT:Me==="-"?Re.state=Ee.COMMENT_ENDING:Re.comment+=Me;continue;case Ee.COMMENT_ENDING:Me==="-"?(Re.state=Ee.COMMENT_ENDED,Re.comment=He(Re.opt,Re.comment),Re.comment&&Ae(Re,"oncomment",Re.comment),Re.comment=""):(Re.comment+="-"+Me,Re.state=Ee.COMMENT);continue;case Ee.COMMENT_ENDED:Me!==">"?(Je(Re,"Malformed comment"),Re.comment+="--"+Me,Re.state=Ee.COMMENT):Re.state=Ee.TEXT;continue;case Ee.CDATA:Me==="]"?Re.state=Ee.CDATA_ENDING:Re.cdata+=Me;continue;case Ee.CDATA_ENDING:Me==="]"?Re.state=Ee.CDATA_ENDING_2:(Re.cdata+="]"+Me,Re.state=Ee.CDATA);continue;case Ee.CDATA_ENDING_2:Me===">"?(Re.cdata&&Ae(Re,"oncdata",Re.cdata),Ae(Re,"onclosecdata"),Re.cdata="",Re.state=Ee.TEXT):Me==="]"?Re.cdata+="]":(Re.cdata+="]]"+Me,Re.state=Ee.CDATA);continue;case Ee.PROC_INST:Me==="?"?Re.state=Ee.PROC_INST_ENDING:Se(Me)?Re.state=Ee.PROC_INST_BODY:Re.procInstName+=Me;continue;case Ee.PROC_INST_BODY:if(!Re.procInstBody&&Se(Me))continue;Me==="?"?Re.state=Ee.PROC_INST_ENDING:Re.procInstBody+=Me;continue;case Ee.PROC_INST_ENDING:Me===">"?(Ae(Re,"onprocessinginstruction",{name:Re.procInstName,body:Re.procInstBody}),Re.procInstName=Re.procInstBody="",Re.state=Ee.TEXT):(Re.procInstBody+="?"+Me,Re.state=Ee.PROC_INST_BODY);continue;case Ee.OPEN_TAG:we(ge,Me)?Re.tagName+=Me:(Qe(Re),Me===">"?ke(Re):Me==="/"?Re.state=Ee.OPEN_TAG_SLASH:(Se(Me)||Je(Re,"Invalid character in tag name"),Re.state=Ee.ATTRIB));continue;case Ee.OPEN_TAG_SLASH:Me===">"?(ke(Re,!0),Ue(Re)):(Je(Re,"Forward-slash in opening tag not followed by >"),Re.state=Ee.ATTRIB);continue;case Ee.ATTRIB:if(Se(Me))continue;Me===">"?ke(Re):Me==="/"?Re.state=Ee.OPEN_TAG_SLASH:we(de,Me)?(Re.attribName=Me,Re.attribValue="",Re.state=Ee.ATTRIB_NAME):Je(Re,"Invalid attribute name");continue;case Ee.ATTRIB_NAME:Me==="="?Re.state=Ee.ATTRIB_VALUE:Me===">"?(Je(Re,"Attribute without value"),Re.attribValue=Re.attribName,$e(Re),ke(Re)):Se(Me)?Re.state=Ee.ATTRIB_NAME_SAW_WHITE:we(ge,Me)?Re.attribName+=Me:Je(Re,"Invalid attribute name");continue;case Ee.ATTRIB_NAME_SAW_WHITE:if(Me==="=")Re.state=Ee.ATTRIB_VALUE;else{if(Se(Me))continue;Je(Re,"Attribute without value"),Re.tag.attributes[Re.attribName]="",Re.attribValue="",Ae(Re,"onattribute",{name:Re.attribName,value:""}),Re.attribName="",Me===">"?ke(Re):we(de,Me)?(Re.attribName=Me,Re.state=Ee.ATTRIB_NAME):(Je(Re,"Invalid attribute name"),Re.state=Ee.ATTRIB)}continue;case Ee.ATTRIB_VALUE:if(Se(Me))continue;ye(Me)?(Re.q=Me,Re.state=Ee.ATTRIB_VALUE_QUOTED):(Je(Re,"Unquoted attribute value"),Re.state=Ee.ATTRIB_VALUE_UNQUOTED,Re.attribValue=Me);continue;case Ee.ATTRIB_VALUE_QUOTED:if(Me!==Re.q){Me==="&"?Re.state=Ee.ATTRIB_VALUE_ENTITY_Q:Re.attribValue+=Me;continue}$e(Re),Re.q="",Re.state=Ee.ATTRIB_VALUE_CLOSED;continue;case Ee.ATTRIB_VALUE_CLOSED:Se(Me)?Re.state=Ee.ATTRIB:Me===">"?ke(Re):Me==="/"?Re.state=Ee.OPEN_TAG_SLASH:we(de,Me)?(Je(Re,"No whitespace between attributes"),Re.attribName=Me,Re.attribValue="",Re.state=Ee.ATTRIB_NAME):Je(Re,"Invalid attribute name");continue;case Ee.ATTRIB_VALUE_UNQUOTED:if(!Pe(Me)){Me==="&"?Re.state=Ee.ATTRIB_VALUE_ENTITY_U:Re.attribValue+=Me;continue}$e(Re),Me===">"?ke(Re):Re.state=Ee.ATTRIB;continue;case Ee.CLOSE_TAG:if(Re.tagName)Me===">"?Ue(Re):we(ge,Me)?Re.tagName+=Me:Re.script?(Re.script+="</"+Re.tagName,Re.tagName="",Re.state=Ee.SCRIPT):(Se(Me)||Je(Re,"Invalid tagname in closing tag"),Re.state=Ee.CLOSE_TAG_SAW_WHITE);else{if(Se(Me))continue;Le(de,Me)?Re.script?(Re.script+="</"+Me,Re.state=Ee.SCRIPT):Je(Re,"Invalid tagname in closing tag."):Re.tagName=Me}continue;case Ee.CLOSE_TAG_SAW_WHITE:if(Se(Me))continue;Me===">"?Ue(Re):Je(Re,"Invalid characters in closing tag");continue;case Ee.TEXT_ENTITY:case Ee.ATTRIB_VALUE_ENTITY_Q:case Ee.ATTRIB_VALUE_ENTITY_U:var Ze,Fe;switch(Re.state){case Ee.TEXT_ENTITY:Ze=Ee.TEXT,Fe="textNode";break;case Ee.ATTRIB_VALUE_ENTITY_Q:Ze=Ee.ATTRIB_VALUE_QUOTED,Fe="attribValue";break;case Ee.ATTRIB_VALUE_ENTITY_U:Ze=Ee.ATTRIB_VALUE_UNQUOTED,Fe="attribValue";break}Me===";"?(Re[Fe]+=qe(Re),Re.entity="",Re.state=Ze):we(Re.entity.length?pe:ve,Me)?Re.entity+=Me:(Je(Re,"Invalid character in entity name"),Re[Fe]+="&"+Re.entity+Me,Re.entity="",Re.state=Ze);continue;default:throw new Error(Re,"Unknown state: "+Re.state)}return Re.position>=Re.bufferCheckPosition&&ue(Re),Re}String.fromCodePoint||function(){var Ke=String.fromCharCode,Re=Math.floor,et=function(){var Me=16384,Ge=[],Ve,Ze,Fe=-1,Oe=arguments.length;if(!Oe)return"";for(var _e="";++Fe<Oe;){var Ne=Number(arguments[Fe]);if(!isFinite(Ne)||Ne<0||Ne>1114111||Re(Ne)!==Ne)throw RangeError("Invalid code point: "+Ne);Ne<=65535?Ge.push(Ne):(Ne-=65536,Ve=(Ne>>10)+55296,Ze=Ne%1024+56320,Ge.push(Ve,Ze)),(Fe+1===Oe||Ge.length>Me)&&(_e+=Ke.apply(null,Ge),Ge.length=0)}return _e};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:et,configurable:!0,writable:!0}):String.fromCodePoint=et}()})(typeof fe=="undefined"?this.sax={}:fe)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,he,fe){he.exports=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,ue){var ae=this;function oe(ee){le.writable&&le.write(ee)===!1&&ae.pause&&ae.pause()}ae.on("data",oe);function ne(){ae.readable&&ae.resume&&ae.resume()}le.on("drain",ne),!le._isStdio&&(!ue||ue.end!==!1)&&(ae.on("end",a),ae.on("close",y));var z=!1;function a(){z||(z=!0,le.end())}function y(){z||(z=!0,typeof le.destroy=="function"&&le.destroy())}function x(ee){if(b(),se.listenerCount(this,"error")===0)throw ee}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,he,fe){"use strict";function se(ne,z){ne.prototype=Object.create(z.prototype),ne.prototype.constructor=ne,ne.__proto__=z}var re={};function ie(ne,z,a){a||(a=Error);function y(b,ee,te){return typeof z=="string"?z:z(b,ee,te)}var x=function(b){se(ee,b);function ee(te,ce,de){return b.call(this,y(te,ce,de))||this}return ee}(a);x.prototype.name=a.name,x.prototype.code=ne,re[ne]=x}function le(ne,z){if(Array.isArray(ne)){var a=ne.length;return ne=ne.map(function(y){return String(y)}),a>2?"one of ".concat(z," ").concat(ne.slice(0,a-1).join(", "),", or ")+ne[a-1]:a===2?"one of ".concat(z," ").concat(ne[0]," or ").concat(ne[1]):"of ".concat(z," ").concat(ne[0])}else return"of ".concat(z," ").concat(String(ne))}function ue(ne,z,a){return ne.substr(!a||a<0?0:+a,z.length)===z}function ae(ne,z,a){return(a===void 0||a>ne.length)&&(a=ne.length),ne.substring(a-z.length,a)===z}function oe(ne,z,a){return typeof a!="number"&&(a=0),a+z.length>ne.length?!1:ne.indexOf(z,a)!==-1}ie("ERR_INVALID_OPT_VALUE",function(ne,z){return'The value "'+z+'" is invalid for option "'+ne+'"'},TypeError),ie("ERR_INVALID_ARG_TYPE",function(ne,z,a){var y;typeof z=="string"&&ue(z,"not ")?(y="must not be",z=z.replace(/^not /,"")):y="must be";var x;if(ae(ne," argument"))x="The ".concat(ne," ").concat(y," ").concat(le(z,"type"));else{var b=oe(ne,".")?"property":"argument";x='The "'.concat(ne,'" ').concat(b," ").concat(y," ").concat(le(z,"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"),he.exports.codes=re},{}],400:[function(E,he,fe){(function(se){(function(){"use strict";var re=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};he.exports=ne;var ie=E("./_stream_readable"),le=E("./_stream_writable");E("inherits")(ne,ie);for(var ue=re(le.prototype),ae=0;ae<ue.length;ae++){var oe=ue[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",z)))}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 z(){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,he,fe){"use strict";he.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,ue){ue(null,ie)}},{"./_stream_transform":403,inherits:364}],402:[function(E,he,fe){(function(se,re){(function(){"use strict";he.exports=Ae;var ie;Ae.ReadableState=Ce;var le=E("events").EventEmitter,ue=function(Oe,_e){return Oe.listeners(_e).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 z(Fe){return oe.from(Fe)}function a(Fe){return oe.isBuffer(Fe)||Fe instanceof ne}var y=E("util"),x;y&&y.debuglog?x=y.debuglog("stream"):x=function(){};var b=E("./internal/streams/buffer_list"),ee=E("./internal/streams/destroy"),te=E("./internal/streams/state"),ce=te.getHighWaterMark,de=E("../errors").codes,ge=de.ERR_INVALID_ARG_TYPE,ve=de.ERR_STREAM_PUSH_AFTER_EOF,pe=de.ERR_METHOD_NOT_IMPLEMENTED,Se=de.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ye,Pe,we;E("inherits")(Ae,ae);var Le=ee.errorOrDestroy,Ee=["error","close","destroy","pause","resume"];function Te(Fe,Oe,_e){if(typeof Fe.prependListener=="function")return Fe.prependListener(Oe,_e);!Fe._events||!Fe._events[Oe]?Fe.on(Oe,_e):Array.isArray(Fe._events[Oe])?Fe._events[Oe].unshift(_e):Fe._events[Oe]=[_e,Fe._events[Oe]]}function Ce(Fe,Oe,_e){ie=ie||E("./_stream_duplex"),Fe=Fe||{},typeof _e!="boolean"&&(_e=Oe instanceof ie),this.objectMode=!!Fe.objectMode,_e&&(this.objectMode=this.objectMode||!!Fe.readableObjectMode),this.highWaterMark=ce(this,Fe,"readableHighWaterMark",_e),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=Fe.emitClose!==!1,this.autoDestroy=!!Fe.autoDestroy,this.destroyed=!1,this.defaultEncoding=Fe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Fe.encoding&&(ye||(ye=E("string_decoder/").StringDecoder),this.decoder=new ye(Fe.encoding),this.encoding=Fe.encoding)}function Ae(Fe){if(ie=ie||E("./_stream_duplex"),!(this instanceof Ae))return new Ae(Fe);var Oe=this instanceof ie;this._readableState=new Ce(Fe,this,Oe),this.readable=!0,Fe&&(typeof Fe.read=="function"&&(this._read=Fe.read),typeof Fe.destroy=="function"&&(this._destroy=Fe.destroy)),ae.call(this)}Object.defineProperty(Ae.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Oe){this._readableState&&(this._readableState.destroyed=Oe)}}),Ae.prototype.destroy=ee.destroy,Ae.prototype._undestroy=ee.undestroy,Ae.prototype._destroy=function(Fe,Oe){Oe(Fe)},Ae.prototype.push=function(Fe,Oe){var _e=this._readableState,Ne;return _e.objectMode?Ne=!0:typeof Fe=="string"&&(Oe=Oe||_e.defaultEncoding,Oe!==_e.encoding&&(Fe=oe.from(Fe,Oe),Oe=""),Ne=!0),Ie(this,Fe,Oe,!1,Ne)},Ae.prototype.unshift=function(Fe){return Ie(this,Fe,null,!0,!1)};function Ie(Fe,Oe,_e,Ne,ze){x("readableAddChunk",Oe);var ot=Fe._readableState;if(Oe===null)ot.reading=!1,Xe(Fe,ot);else{var gt;if(ze||(gt=je(ot,Oe)),gt)Le(Fe,gt);else if(ot.objectMode||Oe&&Oe.length>0)if(typeof Oe!="string"&&!ot.objectMode&&Object.getPrototypeOf(Oe)!==oe.prototype&&(Oe=z(Oe)),Ne)ot.endEmitted?Le(Fe,new Se):He(Fe,ot,Oe,!0);else if(ot.ended)Le(Fe,new ve);else{if(ot.destroyed)return!1;ot.reading=!1,ot.decoder&&!_e?(Oe=ot.decoder.write(Oe),ot.objectMode||Oe.length!==0?He(Fe,ot,Oe,!1):Ue(Fe,ot)):He(Fe,ot,Oe,!1)}else Ne||(ot.reading=!1,Ue(Fe,ot))}return!ot.ended&&(ot.length<ot.highWaterMark||ot.length===0)}function He(Fe,Oe,_e,Ne){Oe.flowing&&Oe.length===0&&!Oe.sync?(Oe.awaitDrain=0,Fe.emit("data",_e)):(Oe.length+=Oe.objectMode?1:_e.length,Ne?Oe.buffer.unshift(_e):Oe.buffer.push(_e),Oe.needReadable&&$e(Fe)),Ue(Fe,Oe)}function je(Fe,Oe){var _e;return!a(Oe)&&typeof Oe!="string"&&Oe!==void 0&&!Fe.objectMode&&(_e=new ge("chunk",["string","Buffer","Uint8Array"],Oe)),_e}Ae.prototype.isPaused=function(){return this._readableState.flowing===!1},Ae.prototype.setEncoding=function(Fe){ye||(ye=E("string_decoder/").StringDecoder);var Oe=new ye(Fe);this._readableState.decoder=Oe,this._readableState.encoding=this._readableState.decoder.encoding;for(var _e=this._readableState.buffer.head,Ne="";_e!==null;)Ne+=Oe.write(_e.data),_e=_e.next;return this._readableState.buffer.clear(),Ne!==""&&this._readableState.buffer.push(Ne),this._readableState.length=Ne.length,this};var tt=1073741824;function Je(Fe){return Fe>=tt?Fe=tt:(Fe--,Fe|=Fe>>>1,Fe|=Fe>>>2,Fe|=Fe>>>4,Fe|=Fe>>>8,Fe|=Fe>>>16,Fe++),Fe}function Qe(Fe,Oe){return Fe<=0||Oe.length===0&&Oe.ended?0:Oe.objectMode?1:Fe!==Fe?Oe.flowing&&Oe.length?Oe.buffer.head.data.length:Oe.length:(Fe>Oe.highWaterMark&&(Oe.highWaterMark=Je(Fe)),Fe<=Oe.length?Fe:Oe.ended?Oe.length:(Oe.needReadable=!0,0))}Ae.prototype.read=function(Fe){x("read",Fe),Fe=parseInt(Fe,10);var Oe=this._readableState,_e=Fe;if(Fe!==0&&(Oe.emittedReadable=!1),Fe===0&&Oe.needReadable&&((Oe.highWaterMark!==0?Oe.length>=Oe.highWaterMark:Oe.length>0)||Oe.ended))return x("read: emitReadable",Oe.length,Oe.ended),Oe.length===0&&Oe.ended?Ge(this):$e(this),null;if(Fe=Qe(Fe,Oe),Fe===0&&Oe.ended)return Oe.length===0&&Ge(this),null;var Ne=Oe.needReadable;x("need readable",Ne),(Oe.length===0||Oe.length-Fe<Oe.highWaterMark)&&(Ne=!0,x("length less than watermark",Ne)),Oe.ended||Oe.reading?(Ne=!1,x("reading or ended",Ne)):Ne&&(x("do read"),Oe.reading=!0,Oe.sync=!0,Oe.length===0&&(Oe.needReadable=!0),this._read(Oe.highWaterMark),Oe.sync=!1,Oe.reading||(Fe=Qe(_e,Oe)));var ze;return Fe>0?ze=Me(Fe,Oe):ze=null,ze===null?(Oe.needReadable=Oe.length<=Oe.highWaterMark,Fe=0):(Oe.length-=Fe,Oe.awaitDrain=0),Oe.length===0&&(Oe.ended||(Oe.needReadable=!0),_e!==Fe&&Oe.ended&&Ge(this)),ze!==null&&this.emit("data",ze),ze};function Xe(Fe,Oe){if(x("onEofChunk"),!Oe.ended){if(Oe.decoder){var _e=Oe.decoder.end();_e&&_e.length&&(Oe.buffer.push(_e),Oe.length+=Oe.objectMode?1:_e.length)}Oe.ended=!0,Oe.sync?$e(Fe):(Oe.needReadable=!1,Oe.emittedReadable||(Oe.emittedReadable=!0,ke(Fe)))}}function $e(Fe){var Oe=Fe._readableState;x("emitReadable",Oe.needReadable,Oe.emittedReadable),Oe.needReadable=!1,Oe.emittedReadable||(x("emitReadable",Oe.flowing),Oe.emittedReadable=!0,se.nextTick(ke,Fe))}function ke(Fe){var Oe=Fe._readableState;x("emitReadable_",Oe.destroyed,Oe.length,Oe.ended),!Oe.destroyed&&(Oe.length||Oe.ended)&&(Fe.emit("readable"),Oe.emittedReadable=!1),Oe.needReadable=!Oe.flowing&&!Oe.ended&&Oe.length<=Oe.highWaterMark,et(Fe)}function Ue(Fe,Oe){Oe.readingMore||(Oe.readingMore=!0,se.nextTick(qe,Fe,Oe))}function qe(Fe,Oe){for(;!Oe.reading&&!Oe.ended&&(Oe.length<Oe.highWaterMark||Oe.flowing&&Oe.length===0);){var _e=Oe.length;if(x("maybeReadMore read 0"),Fe.read(0),_e===Oe.length)break}Oe.readingMore=!1}Ae.prototype._read=function(Fe){Le(this,new pe("_read()"))},Ae.prototype.pipe=function(Fe,Oe){var _e=this,Ne=this._readableState;switch(Ne.pipesCount){case 0:Ne.pipes=Fe;break;case 1:Ne.pipes=[Ne.pipes,Fe];break;default:Ne.pipes.push(Fe);break}Ne.pipesCount+=1,x("pipe count=%d opts=%j",Ne.pipesCount,Oe);var ze=(!Oe||Oe.end!==!1)&&Fe!==se.stdout&&Fe!==se.stderr,ot=ze?yt:pt;Ne.endEmitted?se.nextTick(ot):_e.once("end",ot),Fe.on("unpipe",gt);function gt(bt,Lt){x("onunpipe"),bt===_e&&Lt&&Lt.hasUnpiped===!1&&(Lt.hasUnpiped=!0,At())}function yt(){x("onend"),Fe.end()}var nt=Ye(_e);Fe.on("drain",nt);var mt=!1;function At(){x("cleanup"),Fe.removeListener("close",Mt),Fe.removeListener("finish",st),Fe.removeListener("drain",nt),Fe.removeListener("error",at),Fe.removeListener("unpipe",gt),_e.removeListener("end",yt),_e.removeListener("end",pt),_e.removeListener("data",kt),mt=!0,Ne.awaitDrain&&(!Fe._writableState||Fe._writableState.needDrain)&&nt()}_e.on("data",kt);function kt(bt){x("ondata");var Lt=Fe.write(bt);x("dest.write",Lt),Lt===!1&&((Ne.pipesCount===1&&Ne.pipes===Fe||Ne.pipesCount>1&&Ze(Ne.pipes,Fe)!==-1)&&!mt&&(x("false write response, pause",Ne.awaitDrain),Ne.awaitDrain++),_e.pause())}function at(bt){x("onerror",bt),pt(),Fe.removeListener("error",at),ue(Fe,"error")===0&&Le(Fe,bt)}Te(Fe,"error",at);function Mt(){Fe.removeListener("finish",st),pt()}Fe.once("close",Mt);function st(){x("onfinish"),Fe.removeListener("close",Mt),pt()}Fe.once("finish",st);function pt(){x("unpipe"),_e.unpipe(Fe)}return Fe.emit("pipe",_e),Ne.flowing||(x("pipe resume"),_e.resume()),Fe};function Ye(Fe){return function(){var _e=Fe._readableState;x("pipeOnDrain",_e.awaitDrain),_e.awaitDrain&&_e.awaitDrain--,_e.awaitDrain===0&&ue(Fe,"data")&&(_e.flowing=!0,et(Fe))}}Ae.prototype.unpipe=function(Fe){var Oe=this._readableState,_e={hasUnpiped:!1};if(Oe.pipesCount===0)return this;if(Oe.pipesCount===1)return Fe&&Fe!==Oe.pipes?this:(Fe||(Fe=Oe.pipes),Oe.pipes=null,Oe.pipesCount=0,Oe.flowing=!1,Fe&&Fe.emit("unpipe",this,_e),this);if(!Fe){var Ne=Oe.pipes,ze=Oe.pipesCount;Oe.pipes=null,Oe.pipesCount=0,Oe.flowing=!1;for(var ot=0;ot<ze;ot++)Ne[ot].emit("unpipe",this,{hasUnpiped:!1});return this}var gt=Ze(Oe.pipes,Fe);return gt===-1?this:(Oe.pipes.splice(gt,1),Oe.pipesCount-=1,Oe.pipesCount===1&&(Oe.pipes=Oe.pipes[0]),Fe.emit("unpipe",this,_e),this)},Ae.prototype.on=function(Fe,Oe){var _e=ae.prototype.on.call(this,Fe,Oe),Ne=this._readableState;return Fe==="data"?(Ne.readableListening=this.listenerCount("readable")>0,Ne.flowing!==!1&&this.resume()):Fe==="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?$e(this):Ne.reading||se.nextTick(We,this)),_e},Ae.prototype.addListener=Ae.prototype.on,Ae.prototype.removeListener=function(Fe,Oe){var _e=ae.prototype.removeListener.call(this,Fe,Oe);return Fe==="readable"&&se.nextTick(ft,this),_e},Ae.prototype.removeAllListeners=function(Fe){var Oe=ae.prototype.removeAllListeners.apply(this,arguments);return(Fe==="readable"||Fe===void 0)&&se.nextTick(ft,this),Oe};function ft(Fe){var Oe=Fe._readableState;Oe.readableListening=Fe.listenerCount("readable")>0,Oe.resumeScheduled&&!Oe.paused?Oe.flowing=!0:Fe.listenerCount("data")>0&&Fe.resume()}function We(Fe){x("readable nexttick read 0"),Fe.read(0)}Ae.prototype.resume=function(){var Fe=this._readableState;return Fe.flowing||(x("resume"),Fe.flowing=!Fe.readableListening,Ke(this,Fe)),Fe.paused=!1,this};function Ke(Fe,Oe){Oe.resumeScheduled||(Oe.resumeScheduled=!0,se.nextTick(Re,Fe,Oe))}function Re(Fe,Oe){x("resume",Oe.reading),Oe.reading||Fe.read(0),Oe.resumeScheduled=!1,Fe.emit("resume"),et(Fe),Oe.flowing&&!Oe.reading&&Fe.read(0)}Ae.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 et(Fe){var Oe=Fe._readableState;for(x("flow",Oe.flowing);Oe.flowing&&Fe.read()!==null;);}Ae.prototype.wrap=function(Fe){var Oe=this,_e=this._readableState,Ne=!1;Fe.on("end",function(){if(x("wrapped end"),_e.decoder&&!_e.ended){var gt=_e.decoder.end();gt&&gt.length&&Oe.push(gt)}Oe.push(null)}),Fe.on("data",function(gt){if(x("wrapped data"),_e.decoder&&(gt=_e.decoder.write(gt)),!(_e.objectMode&&gt==null)&&!(!_e.objectMode&&(!gt||!gt.length))){var yt=Oe.push(gt);yt||(Ne=!0,Fe.pause())}});for(var ze in Fe)this[ze]===void 0&&typeof Fe[ze]=="function"&&(this[ze]=function(yt){return function(){return Fe[yt].apply(Fe,arguments)}}(ze));for(var ot=0;ot<Ee.length;ot++)Fe.on(Ee[ot],this.emit.bind(this,Ee[ot]));return this._read=function(gt){x("wrapped _read",gt),Ne&&(Ne=!1,Fe.resume())},this},typeof Symbol=="function"&&(Ae.prototype[Symbol.asyncIterator]=function(){return Pe===void 0&&(Pe=E("./internal/streams/async_iterator")),Pe(this)}),Object.defineProperty(Ae.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Ae.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Ae.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Oe){this._readableState&&(this._readableState.flowing=Oe)}}),Ae._fromList=Me,Object.defineProperty(Ae.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Me(Fe,Oe){if(Oe.length===0)return null;var _e;return Oe.objectMode?_e=Oe.buffer.shift():!Fe||Fe>=Oe.length?(Oe.decoder?_e=Oe.buffer.join(""):Oe.buffer.length===1?_e=Oe.buffer.first():_e=Oe.buffer.concat(Oe.length),Oe.buffer.clear()):_e=Oe.buffer.consume(Fe,Oe.decoder),_e}function Ge(Fe){var Oe=Fe._readableState;x("endReadable",Oe.endEmitted),Oe.endEmitted||(Oe.ended=!0,se.nextTick(Ve,Oe,Fe))}function Ve(Fe,Oe){if(x("endReadableNT",Fe.endEmitted,Fe.length),!Fe.endEmitted&&Fe.length===0&&(Fe.endEmitted=!0,Oe.readable=!1,Oe.emit("end"),Fe.autoDestroy)){var _e=Oe._writableState;(!_e||_e.autoDestroy&&_e.finished)&&Oe.destroy()}}typeof Symbol=="function"&&(Ae.from=function(Fe,Oe){return we===void 0&&(we=E("./internal/streams/from")),we(Ae,Fe,Oe)});function Ze(Fe,Oe){for(var _e=0,Ne=Fe.length;_e<Ne;_e++)if(Fe[_e]===Oe)return _e;return-1}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/async_iterator":405,"./internal/streams/buffer_list":406,"./internal/streams/destroy":407,"./internal/streams/from":409,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,events:344,inherits:364,"string_decoder/":413,util:89}],403:[function(E,he,fe){"use strict";he.exports=ne;var se=E("../errors").codes,re=se.ERR_METHOD_NOT_IMPLEMENTED,ie=se.ERR_MULTIPLE_CALLBACK,le=se.ERR_TRANSFORM_ALREADY_TRANSFORMING,ue=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 ee=b.writecb;if(ee===null)return this.emit("error",new ie);b.writechunk=null,b.writecb=null,x!=null&&this.push(x),ee(y);var te=this._readableState;te.reading=!1,(te.needReadable||te.length<te.highWaterMark)&&this._read(te.highWaterMark)}function ne(y){if(!(this instanceof ne))return new ne(y);ae.call(this,y),this._transformState={afterTransform:oe.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&&(typeof y.transform=="function"&&(this._transform=y.transform),typeof y.flush=="function"&&(this._flush=y.flush)),this.on("prefinish",z)}function z(){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 ee=this._transformState;if(ee.writecb=b,ee.writechunk=y,ee.writeencoding=x,!ee.transforming){var te=this._readableState;(ee.needTransform||te.needReadable||te.length<te.highWaterMark)&&this._read(te.highWaterMark)}},ne.prototype._read=function(y){var x=this._transformState;x.writechunk!==null&&!x.transforming?(x.transforming=!0,this._transform(x.writechunk,x.writeencoding,x.afterTransform)):x.needTransform=!0},ne.prototype._destroy=function(y,x){ae.prototype._destroy.call(this,y,function(b){x(b)})};function a(y,x,b){if(x)return y.emit("error",x);if(b!=null&&y.push(b),y._writableState.length)throw new ue;if(y._transformState.transforming)throw new le;return y.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(E,he,fe){(function(se,re){(function(){"use strict";he.exports=Ce;function ie(et,Me,Ge){this.chunk=et,this.encoding=Me,this.callback=Ge,this.next=null}function le(et){var Me=this;this.next=null,this.entry=null,this.finish=function(){Re(Me,et)}}var ue;Ce.WritableState=Ee;var ae={deprecate:E("util-deprecate")},oe=E("./internal/streams/stream"),ne=E("buffer").Buffer,z=(typeof re!="undefined"?re:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function a(et){return ne.from(et)}function y(et){return ne.isBuffer(et)||et instanceof z}var x=E("./internal/streams/destroy"),b=E("./internal/streams/state"),ee=b.getHighWaterMark,te=E("../errors").codes,ce=te.ERR_INVALID_ARG_TYPE,de=te.ERR_METHOD_NOT_IMPLEMENTED,ge=te.ERR_MULTIPLE_CALLBACK,ve=te.ERR_STREAM_CANNOT_PIPE,pe=te.ERR_STREAM_DESTROYED,Se=te.ERR_STREAM_NULL_VALUES,ye=te.ERR_STREAM_WRITE_AFTER_END,Pe=te.ERR_UNKNOWN_ENCODING,we=x.errorOrDestroy;E("inherits")(Ce,oe);function Le(){}function Ee(et,Me,Ge){ue=ue||E("./_stream_duplex"),et=et||{},typeof Ge!="boolean"&&(Ge=Me instanceof ue),this.objectMode=!!et.objectMode,Ge&&(this.objectMode=this.objectMode||!!et.writableObjectMode),this.highWaterMark=ee(this,et,"writableHighWaterMark",Ge),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ve=et.decodeStrings===!1;this.decodeStrings=!Ve,this.defaultEncoding=et.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ze){Xe(Me,Ze)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=et.emitClose!==!1,this.autoDestroy=!!et.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new le(this)}Ee.prototype.getBuffer=function(){for(var Me=this.bufferedRequest,Ge=[];Me;)Ge.push(Me),Me=Me.next;return Ge},function(){try{Object.defineProperty(Ee.prototype,"buffer",{get:ae.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(et){}}();var Te;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Te=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ce,Symbol.hasInstance,{value:function(Me){return Te.call(this,Me)?!0:this!==Ce?!1:Me&&Me._writableState instanceof Ee}})):Te=function(Me){return Me instanceof this};function Ce(et){ue=ue||E("./_stream_duplex");var Me=this instanceof ue;if(!Me&&!Te.call(Ce,this))return new Ce(et);this._writableState=new Ee(et,this,Me),this.writable=!0,et&&(typeof et.write=="function"&&(this._write=et.write),typeof et.writev=="function"&&(this._writev=et.writev),typeof et.destroy=="function"&&(this._destroy=et.destroy),typeof et.final=="function"&&(this._final=et.final)),oe.call(this)}Ce.prototype.pipe=function(){we(this,new ve)};function Ae(et,Me){var Ge=new ye;we(et,Ge),se.nextTick(Me,Ge)}function Ie(et,Me,Ge,Ve){var Ze;return Ge===null?Ze=new Se:typeof Ge!="string"&&!Me.objectMode&&(Ze=new ce("chunk",["string","Buffer"],Ge)),Ze?(we(et,Ze),se.nextTick(Ve,Ze),!1):!0}Ce.prototype.write=function(et,Me,Ge){var Ve=this._writableState,Ze=!1,Fe=!Ve.objectMode&&y(et);return Fe&&!ne.isBuffer(et)&&(et=a(et)),typeof Me=="function"&&(Ge=Me,Me=null),Fe?Me="buffer":Me||(Me=Ve.defaultEncoding),typeof Ge!="function"&&(Ge=Le),Ve.ending?Ae(this,Ge):(Fe||Ie(this,Ve,et,Ge))&&(Ve.pendingcb++,Ze=je(this,Ve,Fe,et,Me,Ge)),Ze},Ce.prototype.cork=function(){this._writableState.corked++},Ce.prototype.uncork=function(){var et=this._writableState;et.corked&&(et.corked--,!et.writing&&!et.corked&&!et.bufferProcessing&&et.bufferedRequest&&Ue(this,et))},Ce.prototype.setDefaultEncoding=function(Me){if(typeof Me=="string"&&(Me=Me.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Me+"").toLowerCase())>-1))throw new Pe(Me);return this._writableState.defaultEncoding=Me,this},Object.defineProperty(Ce.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function He(et,Me,Ge){return!et.objectMode&&et.decodeStrings!==!1&&typeof Me=="string"&&(Me=ne.from(Me,Ge)),Me}Object.defineProperty(Ce.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function je(et,Me,Ge,Ve,Ze,Fe){if(!Ge){var Oe=He(Me,Ve,Ze);Ve!==Oe&&(Ge=!0,Ze="buffer",Ve=Oe)}var _e=Me.objectMode?1:Ve.length;Me.length+=_e;var Ne=Me.length<Me.highWaterMark;if(Ne||(Me.needDrain=!0),Me.writing||Me.corked){var ze=Me.lastBufferedRequest;Me.lastBufferedRequest={chunk:Ve,encoding:Ze,isBuf:Ge,callback:Fe,next:null},ze?ze.next=Me.lastBufferedRequest:Me.bufferedRequest=Me.lastBufferedRequest,Me.bufferedRequestCount+=1}else tt(et,Me,!1,_e,Ve,Ze,Fe);return Ne}function tt(et,Me,Ge,Ve,Ze,Fe,Oe){Me.writelen=Ve,Me.writecb=Oe,Me.writing=!0,Me.sync=!0,Me.destroyed?Me.onwrite(new pe("write")):Ge?et._writev(Ze,Me.onwrite):et._write(Ze,Fe,Me.onwrite),Me.sync=!1}function Je(et,Me,Ge,Ve,Ze){--Me.pendingcb,Ge?(se.nextTick(Ze,Ve),se.nextTick(We,et,Me),et._writableState.errorEmitted=!0,we(et,Ve)):(Ze(Ve),et._writableState.errorEmitted=!0,we(et,Ve),We(et,Me))}function Qe(et){et.writing=!1,et.writecb=null,et.length-=et.writelen,et.writelen=0}function Xe(et,Me){var Ge=et._writableState,Ve=Ge.sync,Ze=Ge.writecb;if(typeof Ze!="function")throw new ge;if(Qe(Ge),Me)Je(et,Ge,Ve,Me,Ze);else{var Fe=qe(Ge)||et.destroyed;!Fe&&!Ge.corked&&!Ge.bufferProcessing&&Ge.bufferedRequest&&Ue(et,Ge),Ve?se.nextTick($e,et,Ge,Fe,Ze):$e(et,Ge,Fe,Ze)}}function $e(et,Me,Ge,Ve){Ge||ke(et,Me),Me.pendingcb--,Ve(),We(et,Me)}function ke(et,Me){Me.length===0&&Me.needDrain&&(Me.needDrain=!1,et.emit("drain"))}function Ue(et,Me){Me.bufferProcessing=!0;var Ge=Me.bufferedRequest;if(et._writev&&Ge&&Ge.next){var Ve=Me.bufferedRequestCount,Ze=new Array(Ve),Fe=Me.corkedRequestsFree;Fe.entry=Ge;for(var Oe=0,_e=!0;Ge;)Ze[Oe]=Ge,Ge.isBuf||(_e=!1),Ge=Ge.next,Oe+=1;Ze.allBuffers=_e,tt(et,Me,!0,Me.length,Ze,"",Fe.finish),Me.pendingcb++,Me.lastBufferedRequest=null,Fe.next?(Me.corkedRequestsFree=Fe.next,Fe.next=null):Me.corkedRequestsFree=new le(Me),Me.bufferedRequestCount=0}else{for(;Ge;){var Ne=Ge.chunk,ze=Ge.encoding,ot=Ge.callback,gt=Me.objectMode?1:Ne.length;if(tt(et,Me,!1,gt,Ne,ze,ot),Ge=Ge.next,Me.bufferedRequestCount--,Me.writing)break}Ge===null&&(Me.lastBufferedRequest=null)}Me.bufferedRequest=Ge,Me.bufferProcessing=!1}Ce.prototype._write=function(et,Me,Ge){Ge(new de("_write()"))},Ce.prototype._writev=null,Ce.prototype.end=function(et,Me,Ge){var Ve=this._writableState;return typeof et=="function"?(Ge=et,et=null,Me=null):typeof Me=="function"&&(Ge=Me,Me=null),et!=null&&this.write(et,Me),Ve.corked&&(Ve.corked=1,this.uncork()),Ve.ending||Ke(this,Ve,Ge),this},Object.defineProperty(Ce.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function qe(et){return et.ending&&et.length===0&&et.bufferedRequest===null&&!et.finished&&!et.writing}function Ye(et,Me){et._final(function(Ge){Me.pendingcb--,Ge&&we(et,Ge),Me.prefinished=!0,et.emit("prefinish"),We(et,Me)})}function ft(et,Me){!Me.prefinished&&!Me.finalCalled&&(typeof et._final=="function"&&!Me.destroyed?(Me.pendingcb++,Me.finalCalled=!0,se.nextTick(Ye,et,Me)):(Me.prefinished=!0,et.emit("prefinish")))}function We(et,Me){var Ge=qe(Me);if(Ge&&(ft(et,Me),Me.pendingcb===0&&(Me.finished=!0,et.emit("finish"),Me.autoDestroy))){var Ve=et._readableState;(!Ve||Ve.autoDestroy&&Ve.endEmitted)&&et.destroy()}return Ge}function Ke(et,Me,Ge){Me.ending=!0,We(et,Me),Ge&&(Me.finished?se.nextTick(Ge):et.once("finish",Ge)),Me.ended=!0,et.writable=!1}function Re(et,Me,Ge){var Ve=et.entry;for(et.entry=null;Ve;){var Ze=Ve.callback;Me.pendingcb--,Ze(Ge),Ve=Ve.next}Me.corkedRequestsFree.next=et}Object.defineProperty(Ce.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Me){this._writableState&&(this._writableState.destroyed=Me)}}),Ce.prototype.destroy=x.destroy,Ce.prototype._undestroy=x.undestroy,Ce.prototype._destroy=function(et,Me){Me(et)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/destroy":407,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,inherits:364,"util-deprecate":416}],405:[function(E,he,fe){(function(se){(function(){"use strict";var re;function ie(Se,ye,Pe){return ye=le(ye),ye in Se?Object.defineProperty(Se,ye,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):Se[ye]=Pe,Se}function le(Se){var ye=ue(Se,"string");return typeof ye=="symbol"?ye:String(ye)}function ue(Se,ye){if(typeof Se!="object"||Se===null)return Se;var Pe=Se[Symbol.toPrimitive];if(Pe!==void 0){var we=Pe.call(Se,ye||"default");if(typeof we!="object")return we;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ye==="string"?String:Number)(Se)}var ae=E("./end-of-stream"),oe=Symbol("lastResolve"),ne=Symbol("lastReject"),z=Symbol("error"),a=Symbol("ended"),y=Symbol("lastPromise"),x=Symbol("handlePromise"),b=Symbol("stream");function ee(Se,ye){return{value:Se,done:ye}}function te(Se){var ye=Se[oe];if(ye!==null){var Pe=Se[b].read();Pe!==null&&(Se[y]=null,Se[oe]=null,Se[ne]=null,ye(ee(Pe,!1)))}}function ce(Se){se.nextTick(te,Se)}function de(Se,ye){return function(Pe,we){Se.then(function(){if(ye[a]){Pe(ee(void 0,!0));return}ye[x](Pe,we)},we)}}var ge=Object.getPrototypeOf(function(){}),ve=Object.setPrototypeOf((re={get stream(){return this[b]},next:function(){var ye=this,Pe=this[z];if(Pe!==null)return Promise.reject(Pe);if(this[a])return Promise.resolve(ee(void 0,!0));if(this[b].destroyed)return new Promise(function(Te,Ce){se.nextTick(function(){ye[z]?Ce(ye[z]):Te(ee(void 0,!0))})});var we=this[y],Le;if(we)Le=new Promise(de(we,this));else{var Ee=this[b].read();if(Ee!==null)return Promise.resolve(ee(Ee,!1));Le=new Promise(this[x])}return this[y]=Le,Le}},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(Le){if(Le){we(Le);return}Pe(ee(void 0,!0))})})}),re),ge),pe=function(ye){var Pe,we=Object.create(ve,(Pe={},ie(Pe,b,{value:ye,writable:!0}),ie(Pe,oe,{value:null,writable:!0}),ie(Pe,ne,{value:null,writable:!0}),ie(Pe,z,{value:null,writable:!0}),ie(Pe,a,{value:ye._readableState.endEmitted,writable:!0}),ie(Pe,x,{value:function(Ee,Te){var Ce=we[b].read();Ce?(we[y]=null,we[oe]=null,we[ne]=null,Ee(ee(Ce,!1))):(we[oe]=Ee,we[ne]=Te)},writable:!0}),Pe));return we[y]=null,ae(ye,function(Le){if(Le&&Le.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Ee=we[ne];Ee!==null&&(we[y]=null,we[oe]=null,we[ne]=null,Ee(Le)),we[z]=Le;return}var Te=we[oe];Te!==null&&(we[y]=null,we[oe]=null,we[ne]=null,Te(ee(void 0,!0))),we[a]=!0}),ye.on("readable",ce.bind(null,we)),we};he.exports=pe}).call(this)}).call(this,E("_process"))},{"./end-of-stream":408,_process:467}],406:[function(E,he,fe){"use strict";function se(te,ce){var de=Object.keys(te);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(te);ce&&(ge=ge.filter(function(ve){return Object.getOwnPropertyDescriptor(te,ve).enumerable})),de.push.apply(de,ge)}return de}function re(te){for(var ce=1;ce<arguments.length;ce++){var de=arguments[ce]!=null?arguments[ce]:{};ce%2?se(Object(de),!0).forEach(function(ge){ie(te,ge,de[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(de)):se(Object(de)).forEach(function(ge){Object.defineProperty(te,ge,Object.getOwnPropertyDescriptor(de,ge))})}return te}function ie(te,ce,de){return ce=oe(ce),ce in te?Object.defineProperty(te,ce,{value:de,enumerable:!0,configurable:!0,writable:!0}):te[ce]=de,te}function le(te,ce){if(!(te instanceof ce))throw new TypeError("Cannot call a class as a function")}function ue(te,ce){for(var de=0;de<ce.length;de++){var ge=ce[de];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(te,oe(ge.key),ge)}}function ae(te,ce,de){return ce&&ue(te.prototype,ce),de&&ue(te,de),Object.defineProperty(te,"prototype",{writable:!1}),te}function oe(te){var ce=ne(te,"string");return typeof ce=="symbol"?ce:String(ce)}function ne(te,ce){if(typeof te!="object"||te===null)return te;var de=te[Symbol.toPrimitive];if(de!==void 0){var ge=de.call(te,ce||"default");if(typeof ge!="object")return ge;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ce==="string"?String:Number)(te)}var z=E("buffer"),a=z.Buffer,y=E("util"),x=y.inspect,b=x&&x.custom||"inspect";function ee(te,ce,de){a.prototype.copy.call(te,ce,de)}he.exports=function(){function te(){le(this,te),this.head=null,this.tail=null,this.length=0}return ae(te,[{key:"push",value:function(de){var ge={data:de,next:null};this.length>0?this.tail.next=ge:this.head=ge,this.tail=ge,++this.length}},{key:"unshift",value:function(de){var ge={data:de,next:this.head};this.length===0&&(this.tail=ge),this.head=ge,++this.length}},{key:"shift",value:function(){if(this.length!==0){var de=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,de}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(de){if(this.length===0)return"";for(var ge=this.head,ve=""+ge.data;ge=ge.next;)ve+=de+ge.data;return ve}},{key:"concat",value:function(de){if(this.length===0)return a.alloc(0);for(var ge=a.allocUnsafe(de>>>0),ve=this.head,pe=0;ve;)ee(ve.data,ge,pe),pe+=ve.data.length,ve=ve.next;return ge}},{key:"consume",value:function(de,ge){var ve;return de<this.head.data.length?(ve=this.head.data.slice(0,de),this.head.data=this.head.data.slice(de)):de===this.head.data.length?ve=this.shift():ve=ge?this._getString(de):this._getBuffer(de),ve}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(de){var ge=this.head,ve=1,pe=ge.data;for(de-=pe.length;ge=ge.next;){var Se=ge.data,ye=de>Se.length?Se.length:de;if(ye===Se.length?pe+=Se:pe+=Se.slice(0,de),de-=ye,de===0){ye===Se.length?(++ve,ge.next?this.head=ge.next:this.head=this.tail=null):(this.head=ge,ge.data=Se.slice(ye));break}++ve}return this.length-=ve,pe}},{key:"_getBuffer",value:function(de){var ge=a.allocUnsafe(de),ve=this.head,pe=1;for(ve.data.copy(ge),de-=ve.data.length;ve=ve.next;){var Se=ve.data,ye=de>Se.length?Se.length:de;if(Se.copy(ge,ge.length-de,0,ye),de-=ye,de===0){ye===Se.length?(++pe,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=Se.slice(ye));break}++pe}return this.length-=pe,ge}},{key:b,value:function(de,ge){return x(this,re(re({},ge),{},{depth:0,customInspect:!1}))}}]),te}()},{buffer:90,util:89}],407:[function(E,he,fe){(function(se){(function(){"use strict";function re(ne,z){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(z?z(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){!z&&b?a._writableState?a._writableState.errorEmitted?se.nextTick(le,a):(a._writableState.errorEmitted=!0,se.nextTick(ie,a,b)):se.nextTick(ie,a,b):z?(se.nextTick(le,a),z(b)):se.nextTick(le,a)}),this)}function ie(ne,z){ae(ne,z),le(ne)}function le(ne){ne._writableState&&!ne._writableState.emitClose||ne._readableState&&!ne._readableState.emitClose||ne.emit("close")}function ue(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ae(ne,z){ne.emit("error",z)}function oe(ne,z){var a=ne._readableState,y=ne._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ne.destroy(z):ne.emit("error",z)}he.exports={destroy:re,undestroy:ue,errorOrDestroy:oe}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,he,fe){"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,z=new Array(ne),a=0;a<ne;a++)z[a]=arguments[a];ae.apply(this,z)}}}function ie(){}function le(ae){return ae.setHeader&&typeof ae.abort=="function"}function ue(ae,oe,ne){if(typeof oe=="function")return ue(ae,null,oe);oe||(oe={}),ne=re(ne||ie);var z=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,z||ne.call(ae)},ee=ae._readableState&&ae._readableState.endEmitted,te=function(){z=!1,ee=!0,a||ne.call(ae)},ce=function(pe){ne.call(ae,pe)},de=function(){var pe;if(z&&!ee)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)},ge=function(){ae.req.on("finish",b)};return le(ae)?(ae.on("complete",b),ae.on("abort",de),ae.req?ge():ae.on("request",ge)):a&&!ae._writableState&&(ae.on("end",y),ae.on("close",y)),ae.on("end",te),ae.on("finish",b),oe.error!==!1&&ae.on("error",ce),ae.on("close",de),function(){ae.removeListener("complete",b),ae.removeListener("abort",de),ae.removeListener("request",ge),ae.req&&ae.req.removeListener("finish",b),ae.removeListener("end",y),ae.removeListener("close",y),ae.removeListener("finish",b),ae.removeListener("end",te),ae.removeListener("error",ce),ae.removeListener("close",de)}}he.exports=ue},{"../../../errors":399}],409:[function(E,he,fe){he.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(E,he,fe){"use strict";var se;function re(b){var ee=!1;return function(){ee||(ee=!0,b.apply(void 0,arguments))}}var ie=E("../../../errors").codes,le=ie.ERR_MISSING_ARGS,ue=ie.ERR_STREAM_DESTROYED;function ae(b){if(b)throw b}function oe(b){return b.setHeader&&typeof b.abort=="function"}function ne(b,ee,te,ce){ce=re(ce);var de=!1;b.on("close",function(){de=!0}),se===void 0&&(se=E("./end-of-stream")),se(b,{readable:ee,writable:te},function(ve){if(ve)return ce(ve);de=!0,ce()});var ge=!1;return function(ve){if(!de&&!ge){if(ge=!0,oe(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();ce(ve||new ue("pipe"))}}}function z(b){b()}function a(b,ee){return b.pipe(ee)}function y(b){return!b.length||typeof b[b.length-1]!="function"?ae:b.pop()}function x(){for(var b=arguments.length,ee=new Array(b),te=0;te<b;te++)ee[te]=arguments[te];var ce=y(ee);if(Array.isArray(ee[0])&&(ee=ee[0]),ee.length<2)throw new le("streams");var de,ge=ee.map(function(ve,pe){var Se=pe<ee.length-1,ye=pe>0;return ne(ve,Se,ye,function(Pe){de||(de=Pe),Pe&&ge.forEach(z),!Se&&(ge.forEach(z),ce(de))})});return ee.reduce(a)}he.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,he,fe){"use strict";var se=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function re(le,ue,ae){return le.highWaterMark!=null?le.highWaterMark:ue?le[ae]:null}function ie(le,ue,ae,oe){var ne=re(ue,oe,ae);if(ne!=null){if(!(isFinite(ne)&&Math.floor(ne)===ne)||ne<0){var z=oe?ae:"highWaterMark";throw new se(z,ne)}return Math.floor(ne)}return le.objectMode?16:16*1024}he.exports={getHighWaterMark:ie}},{"../../../errors":399}],412:[function(E,he,fe){arguments[4][393][0].apply(fe,arguments)},{dup:393,events:344}],413:[function(E,he,fe){"use strict";var se=E("safe-buffer").Buffer,re=se.isEncoding||function(ge){switch(ge=""+ge,ge&&ge.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(ge){if(!ge)return"utf8";for(var ve;;)switch(ge){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 ge;default:if(ve)return;ge=(""+ge).toLowerCase(),ve=!0}}function le(ge){var ve=ie(ge);if(typeof ve!="string"&&(se.isEncoding===re||!re(ge)))throw new Error("Unknown encoding: "+ge);return ve||ge}fe.StringDecoder=ue;function ue(ge){this.encoding=le(ge);var ve;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ve=4;break;case"utf8":this.fillLast=z,ve=4;break;case"base64":this.text=ee,this.end=te,ve=3;break;default:this.write=ce,this.end=de;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=se.allocUnsafe(ve)}ue.prototype.write=function(ge){if(ge.length===0)return"";var ve,pe;if(this.lastNeed){if(ve=this.fillLast(ge),ve===void 0)return"";pe=this.lastNeed,this.lastNeed=0}else pe=0;return pe<ge.length?ve?ve+this.text(ge,pe):this.text(ge,pe):ve||""},ue.prototype.end=y,ue.prototype.text=a,ue.prototype.fillLast=function(ge){if(this.lastNeed<=ge.length)return ge.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ge.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ge.length),this.lastNeed-=ge.length};function ae(ge){return ge<=127?0:ge>>5===6?2:ge>>4===14?3:ge>>3===30?4:ge>>6===2?-1:-2}function oe(ge,ve,pe){var Se=ve.length-1;if(Se<pe)return 0;var ye=ae(ve[Se]);return ye>=0?(ye>0&&(ge.lastNeed=ye-1),ye):--Se<pe||ye===-2?0:(ye=ae(ve[Se]),ye>=0?(ye>0&&(ge.lastNeed=ye-2),ye):--Se<pe||ye===-2?0:(ye=ae(ve[Se]),ye>=0?(ye>0&&(ye===2?ye=0:ge.lastNeed=ye-3),ye):0))}function ne(ge,ve,pe){if((ve[0]&192)!==128)return ge.lastNeed=0,"\uFFFD";if(ge.lastNeed>1&&ve.length>1){if((ve[1]&192)!==128)return ge.lastNeed=1,"\uFFFD";if(ge.lastNeed>2&&ve.length>2&&(ve[2]&192)!==128)return ge.lastNeed=2,"\uFFFD"}}function z(ge){var ve=this.lastTotal-this.lastNeed,pe=ne(this,ge,ve);if(pe!==void 0)return pe;if(this.lastNeed<=ge.length)return ge.copy(this.lastChar,ve,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ge.copy(this.lastChar,ve,0,ge.length),this.lastNeed-=ge.length}function a(ge,ve){var pe=oe(this,ge,ve);if(!this.lastNeed)return ge.toString("utf8",ve);this.lastTotal=pe;var Se=ge.length-(pe-this.lastNeed);return ge.copy(this.lastChar,0,Se),ge.toString("utf8",ve,Se)}function y(ge){var ve=ge&&ge.length?this.write(ge):"";return this.lastNeed?ve+"\uFFFD":ve}function x(ge,ve){if((ge.length-ve)%2===0){var pe=ge.toString("utf16le",ve);if(pe){var Se=pe.charCodeAt(pe.length-1);if(Se>=55296&&Se<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1],pe.slice(0,-1)}return pe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ge[ge.length-1],ge.toString("utf16le",ve,ge.length-1)}function b(ge){var ve=ge&&ge.length?this.write(ge):"";if(this.lastNeed){var pe=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,pe)}return ve}function ee(ge,ve){var pe=(ge.length-ve)%3;return pe===0?ge.toString("base64",ve):(this.lastNeed=3-pe,this.lastTotal=3,pe===1?this.lastChar[0]=ge[ge.length-1]:(this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1]),ge.toString("base64",ve,ge.length-pe))}function te(ge){var ve=ge&&ge.length?this.write(ge):"";return this.lastNeed?ve+this.lastChar.toString("base64",0,3-this.lastNeed):ve}function ce(ge){return ge.toString(this.encoding)}function de(ge){return ge&&ge.length?this.write(ge):""}},{"safe-buffer":396}],414:[function(E,he,fe){(function(se,re){(function(){var ie=E("process/browser.js").nextTick,le=Function.prototype.apply,ue=Array.prototype.slice,ae={},oe=0;fe.setTimeout=function(){return new ne(le.call(setTimeout,window,arguments),clearTimeout)},fe.setInterval=function(){return new ne(le.call(setInterval,window,arguments),clearInterval)},fe.clearTimeout=fe.clearInterval=function(z){z.close()};function ne(z,a){this._id=z,this._clearFn=a}ne.prototype.unref=ne.prototype.ref=function(){},ne.prototype.close=function(){this._clearFn.call(window,this._id)},fe.enroll=function(z,a){clearTimeout(z._idleTimeoutId),z._idleTimeout=a},fe.unenroll=function(z){clearTimeout(z._idleTimeoutId),z._idleTimeout=-1},fe._unrefActive=fe.active=function(z){clearTimeout(z._idleTimeoutId);var a=z._idleTimeout;a>=0&&(z._idleTimeoutId=setTimeout(function(){z._onTimeout&&z._onTimeout()},a))},fe.setImmediate=typeof se=="function"?se:function(z){var a=oe++,y=arguments.length<2?!1:ue.call(arguments,1);return ae[a]=!0,ie(function(){ae[a]&&(y?z.apply(null,y):z.call(null),fe.clearImmediate(a))}),a},fe.clearImmediate=typeof re=="function"?re:function(z){delete ae[z]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,he,fe){var se=E("buffer").Buffer;he.exports=function(re){if(re instanceof Uint8Array){if(re.byteOffset===0&&re.byteLength===re.buffer.byteLength)return re.buffer;if(typeof re.buffer.slice=="function")return re.buffer.slice(re.byteOffset,re.byteOffset+re.byteLength)}if(se.isBuffer(re)){for(var ie=new Uint8Array(re.length),le=re.length,ue=0;ue<le;ue++)ie[ue]=re[ue];return ie.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,he,fe){(function(se){(function(){he.exports=re;function re(le,ue){if(ie("noDeprecation"))return le;var ae=!1;function oe(){if(!ae){if(ie("throwDeprecation"))throw new Error(ue);ie("traceDeprecation")?console.trace(ue):console.warn(ue),ae=!0}return le.apply(this,arguments)}return oe}function ie(le){try{if(!se.localStorage)return!1}catch(ae){return!1}var ue=se.localStorage[le];return ue==null?!1:String(ue).toLowerCase()==="true"}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(E,he,fe){arguments[4][84][0].apply(fe,arguments)},{dup:84}],418:[function(E,he,fe){"use strict";var se=E("is-arguments"),re=E("is-generator-function"),ie=E("which-typed-array"),le=E("is-typed-array");function ue(ze){return ze.call.bind(ze)}var ae=typeof BigInt!="undefined",oe=typeof Symbol!="undefined",ne=ue(Object.prototype.toString),z=ue(Number.prototype.valueOf),a=ue(String.prototype.valueOf),y=ue(Boolean.prototype.valueOf);if(ae)var x=ue(BigInt.prototype.valueOf);if(oe)var b=ue(Symbol.prototype.valueOf);function ee(ze,ot){if(typeof ze!="object")return!1;try{return ot(ze),!0}catch(gt){return!1}}fe.isArgumentsObject=se,fe.isGeneratorFunction=re,fe.isTypedArray=le;function te(ze){return typeof Promise!="undefined"&&ze instanceof Promise||ze!==null&&typeof ze=="object"&&typeof ze.then=="function"&&typeof ze.catch=="function"}fe.isPromise=te;function ce(ze){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(ze):le(ze)||Ue(ze)}fe.isArrayBufferView=ce;function de(ze){return ie(ze)==="Uint8Array"}fe.isUint8Array=de;function ge(ze){return ie(ze)==="Uint8ClampedArray"}fe.isUint8ClampedArray=ge;function ve(ze){return ie(ze)==="Uint16Array"}fe.isUint16Array=ve;function pe(ze){return ie(ze)==="Uint32Array"}fe.isUint32Array=pe;function Se(ze){return ie(ze)==="Int8Array"}fe.isInt8Array=Se;function ye(ze){return ie(ze)==="Int16Array"}fe.isInt16Array=ye;function Pe(ze){return ie(ze)==="Int32Array"}fe.isInt32Array=Pe;function we(ze){return ie(ze)==="Float32Array"}fe.isFloat32Array=we;function Le(ze){return ie(ze)==="Float64Array"}fe.isFloat64Array=Le;function Ee(ze){return ie(ze)==="BigInt64Array"}fe.isBigInt64Array=Ee;function Te(ze){return ie(ze)==="BigUint64Array"}fe.isBigUint64Array=Te;function Ce(ze){return ne(ze)==="[object Map]"}Ce.working=typeof Map!="undefined"&&Ce(new Map);function Ae(ze){return typeof Map=="undefined"?!1:Ce.working?Ce(ze):ze instanceof Map}fe.isMap=Ae;function Ie(ze){return ne(ze)==="[object Set]"}Ie.working=typeof Set!="undefined"&&Ie(new Set);function He(ze){return typeof Set=="undefined"?!1:Ie.working?Ie(ze):ze instanceof Set}fe.isSet=He;function je(ze){return ne(ze)==="[object WeakMap]"}je.working=typeof WeakMap!="undefined"&&je(new WeakMap);function tt(ze){return typeof WeakMap=="undefined"?!1:je.working?je(ze):ze instanceof WeakMap}fe.isWeakMap=tt;function Je(ze){return ne(ze)==="[object WeakSet]"}Je.working=typeof WeakSet!="undefined"&&Je(new WeakSet);function Qe(ze){return Je(ze)}fe.isWeakSet=Qe;function Xe(ze){return ne(ze)==="[object ArrayBuffer]"}Xe.working=typeof ArrayBuffer!="undefined"&&Xe(new ArrayBuffer);function $e(ze){return typeof ArrayBuffer=="undefined"?!1:Xe.working?Xe(ze):ze instanceof ArrayBuffer}fe.isArrayBuffer=$e;function ke(ze){return ne(ze)==="[object DataView]"}ke.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&ke(new DataView(new ArrayBuffer(1),0,1));function Ue(ze){return typeof DataView=="undefined"?!1:ke.working?ke(ze):ze instanceof DataView}fe.isDataView=Ue;var qe=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function Ye(ze){return ne(ze)==="[object SharedArrayBuffer]"}function ft(ze){return typeof qe=="undefined"?!1:(typeof Ye.working=="undefined"&&(Ye.working=Ye(new qe)),Ye.working?Ye(ze):ze instanceof qe)}fe.isSharedArrayBuffer=ft;function We(ze){return ne(ze)==="[object AsyncFunction]"}fe.isAsyncFunction=We;function Ke(ze){return ne(ze)==="[object Map Iterator]"}fe.isMapIterator=Ke;function Re(ze){return ne(ze)==="[object Set Iterator]"}fe.isSetIterator=Re;function et(ze){return ne(ze)==="[object Generator]"}fe.isGeneratorObject=et;function Me(ze){return ne(ze)==="[object WebAssembly.Module]"}fe.isWebAssemblyCompiledModule=Me;function Ge(ze){return ee(ze,z)}fe.isNumberObject=Ge;function Ve(ze){return ee(ze,a)}fe.isStringObject=Ve;function Ze(ze){return ee(ze,y)}fe.isBooleanObject=Ze;function Fe(ze){return ae&&ee(ze,x)}fe.isBigIntObject=Fe;function Oe(ze){return oe&&ee(ze,b)}fe.isSymbolObject=Oe;function _e(ze){return Ge(ze)||Ve(ze)||Ze(ze)||Fe(ze)||Oe(ze)}fe.isBoxedPrimitive=_e;function Ne(ze){return typeof Uint8Array!="undefined"&&($e(ze)||ft(ze))}fe.isAnyArrayBuffer=Ne,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ze){Object.defineProperty(fe,ze,{enumerable:!1,value:function(){throw new Error(ze+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,he,fe){(function(se){(function(){var re=Object.getOwnPropertyDescriptors||function(qe){for(var Ye=Object.keys(qe),ft={},We=0;We<Ye.length;We++)ft[Ye[We]]=Object.getOwnPropertyDescriptor(qe,Ye[We]);return ft},ie=/%[sdj%]/g;fe.format=function(Ue){if(!ye(Ue)){for(var qe=[],Ye=0;Ye<arguments.length;Ye++)qe.push(oe(arguments[Ye]));return qe.join(" ")}for(var Ye=1,ft=arguments,We=ft.length,Ke=String(Ue).replace(ie,function(et){if(et==="%%")return"%";if(Ye>=We)return et;switch(et){case"%s":return String(ft[Ye++]);case"%d":return Number(ft[Ye++]);case"%j":try{return JSON.stringify(ft[Ye++])}catch(Me){return"[Circular]"}default:return et}}),Re=ft[Ye];Ye<We;Re=ft[++Ye])ve(Re)||!Ee(Re)?Ke+=" "+Re:Ke+=" "+oe(Re);return Ke},fe.deprecate=function(Ue,qe){if(typeof se!="undefined"&&se.noDeprecation===!0)return Ue;if(typeof se=="undefined")return function(){return fe.deprecate(Ue,qe).apply(this,arguments)};var Ye=!1;function ft(){if(!Ye){if(se.throwDeprecation)throw new Error(qe);se.traceDeprecation?console.trace(qe):console.error(qe),Ye=!0}return Ue.apply(this,arguments)}return ft};var le={},ue=/^$/;if(se.env.NODE_DEBUG){var ae=se.env.NODE_DEBUG;ae=ae.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ue=new RegExp("^"+ae+"$","i")}fe.debuglog=function(Ue){if(Ue=Ue.toUpperCase(),!le[Ue])if(ue.test(Ue)){var qe=se.pid;le[Ue]=function(){var Ye=fe.format.apply(fe,arguments);console.error("%s %d: %s",Ue,qe,Ye)}}else le[Ue]=function(){};return le[Ue]};function oe(Ue,qe){var Ye={seen:[],stylize:z};return arguments.length>=3&&(Ye.depth=arguments[2]),arguments.length>=4&&(Ye.colors=arguments[3]),ge(qe)?Ye.showHidden=qe:qe&&fe._extend(Ye,qe),we(Ye.showHidden)&&(Ye.showHidden=!1),we(Ye.depth)&&(Ye.depth=2),we(Ye.colors)&&(Ye.colors=!1),we(Ye.customInspect)&&(Ye.customInspect=!0),Ye.colors&&(Ye.stylize=ne),y(Ye,Ue,Ye.depth)}fe.inspect=oe,oe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ne(Ue,qe){var Ye=oe.styles[qe];return Ye?"\x1B["+oe.colors[Ye][0]+"m"+Ue+"\x1B["+oe.colors[Ye][1]+"m":Ue}function z(Ue,qe){return Ue}function a(Ue){var qe={};return Ue.forEach(function(Ye,ft){qe[Ye]=!0}),qe}function y(Ue,qe,Ye){if(Ue.customInspect&&qe&&Ae(qe.inspect)&&qe.inspect!==fe.inspect&&!(qe.constructor&&qe.constructor.prototype===qe)){var ft=qe.inspect(Ye,Ue);return ye(ft)||(ft=y(Ue,ft,Ye)),ft}var We=x(Ue,qe);if(We)return We;var Ke=Object.keys(qe),Re=a(Ke);if(Ue.showHidden&&(Ke=Object.getOwnPropertyNames(qe)),Ce(qe)&&(Ke.indexOf("message")>=0||Ke.indexOf("description")>=0))return b(qe);if(Ke.length===0){if(Ae(qe)){var et=qe.name?": "+qe.name:"";return Ue.stylize("[Function"+et+"]","special")}if(Le(qe))return Ue.stylize(RegExp.prototype.toString.call(qe),"regexp");if(Te(qe))return Ue.stylize(Date.prototype.toString.call(qe),"date");if(Ce(qe))return b(qe)}var Me="",Ge=!1,Ve=["{","}"];if(de(qe)&&(Ge=!0,Ve=["[","]"]),Ae(qe)){var Ze=qe.name?": "+qe.name:"";Me=" [Function"+Ze+"]"}if(Le(qe)&&(Me=" "+RegExp.prototype.toString.call(qe)),Te(qe)&&(Me=" "+Date.prototype.toUTCString.call(qe)),Ce(qe)&&(Me=" "+b(qe)),Ke.length===0&&(!Ge||qe.length==0))return Ve[0]+Me+Ve[1];if(Ye<0)return Le(qe)?Ue.stylize(RegExp.prototype.toString.call(qe),"regexp"):Ue.stylize("[Object]","special");Ue.seen.push(qe);var Fe;return Ge?Fe=ee(Ue,qe,Ye,Re,Ke):Fe=Ke.map(function(Oe){return te(Ue,qe,Ye,Re,Oe,Ge)}),Ue.seen.pop(),ce(Fe,Me,Ve)}function x(Ue,qe){if(we(qe))return Ue.stylize("undefined","undefined");if(ye(qe)){var Ye="'"+JSON.stringify(qe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ue.stylize(Ye,"string")}if(Se(qe))return Ue.stylize(""+qe,"number");if(ge(qe))return Ue.stylize(""+qe,"boolean");if(ve(qe))return Ue.stylize("null","null")}function b(Ue){return"["+Error.prototype.toString.call(Ue)+"]"}function ee(Ue,qe,Ye,ft,We){for(var Ke=[],Re=0,et=qe.length;Re<et;++Re)Qe(qe,String(Re))?Ke.push(te(Ue,qe,Ye,ft,String(Re),!0)):Ke.push("");return We.forEach(function(Me){Me.match(/^\d+$/)||Ke.push(te(Ue,qe,Ye,ft,Me,!0))}),Ke}function te(Ue,qe,Ye,ft,We,Ke){var Re,et,Me;if(Me=Object.getOwnPropertyDescriptor(qe,We)||{value:qe[We]},Me.get?Me.set?et=Ue.stylize("[Getter/Setter]","special"):et=Ue.stylize("[Getter]","special"):Me.set&&(et=Ue.stylize("[Setter]","special")),Qe(ft,We)||(Re="["+We+"]"),et||(Ue.seen.indexOf(Me.value)<0?(ve(Ye)?et=y(Ue,Me.value,null):et=y(Ue,Me.value,Ye-1),et.indexOf(`
`)>-1&&(Ke?et=et.split(`
`).map(function(Ge){return" "+Ge}).join(`
`).slice(2):et=`
`+et.split(`
`).map(function(Ge){return" "+Ge}).join(`
`))):et=Ue.stylize("[Circular]","special")),we(Re)){if(Ke&&We.match(/^\d+$/))return et;Re=JSON.stringify(""+We),Re.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Re=Re.slice(1,-1),Re=Ue.stylize(Re,"name")):(Re=Re.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Re=Ue.stylize(Re,"string"))}return Re+": "+et}function ce(Ue,qe,Ye){var ft=0,We=Ue.reduce(function(Ke,Re){return ft++,Re.indexOf(`
`)>=0&&ft++,Ke+Re.replace(/\u001b\[\d\d?m/g,"").length+1},0);return We>60?Ye[0]+(qe===""?"":qe+`
`)+" "+Ue.join(`,
`)+" "+Ye[1]:Ye[0]+qe+" "+Ue.join(", ")+" "+Ye[1]}fe.types=E("./support/types");function de(Ue){return Array.isArray(Ue)}fe.isArray=de;function ge(Ue){return typeof Ue=="boolean"}fe.isBoolean=ge;function ve(Ue){return Ue===null}fe.isNull=ve;function pe(Ue){return Ue==null}fe.isNullOrUndefined=pe;function Se(Ue){return typeof Ue=="number"}fe.isNumber=Se;function ye(Ue){return typeof Ue=="string"}fe.isString=ye;function Pe(Ue){return typeof Ue=="symbol"}fe.isSymbol=Pe;function we(Ue){return Ue===void 0}fe.isUndefined=we;function Le(Ue){return Ee(Ue)&&He(Ue)==="[object RegExp]"}fe.isRegExp=Le,fe.types.isRegExp=Le;function Ee(Ue){return typeof Ue=="object"&&Ue!==null}fe.isObject=Ee;function Te(Ue){return Ee(Ue)&&He(Ue)==="[object Date]"}fe.isDate=Te,fe.types.isDate=Te;function Ce(Ue){return Ee(Ue)&&(He(Ue)==="[object Error]"||Ue instanceof Error)}fe.isError=Ce,fe.types.isNativeError=Ce;function Ae(Ue){return typeof Ue=="function"}fe.isFunction=Ae;function Ie(Ue){return Ue===null||typeof Ue=="boolean"||typeof Ue=="number"||typeof Ue=="string"||typeof Ue=="symbol"||typeof Ue=="undefined"}fe.isPrimitive=Ie,fe.isBuffer=E("./support/isBuffer");function He(Ue){return Object.prototype.toString.call(Ue)}function je(Ue){return Ue<10?"0"+Ue.toString(10):Ue.toString(10)}var tt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Je(){var Ue=new Date,qe=[je(Ue.getHours()),je(Ue.getMinutes()),je(Ue.getSeconds())].join(":");return[Ue.getDate(),tt[Ue.getMonth()],qe].join(" ")}fe.log=function(){console.log("%s - %s",Je(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(Ue,qe){if(!qe||!Ee(qe))return Ue;for(var Ye=Object.keys(qe),ft=Ye.length;ft--;)Ue[Ye[ft]]=qe[Ye[ft]];return Ue};function Qe(Ue,qe){return Object.prototype.hasOwnProperty.call(Ue,qe)}var Xe=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;fe.promisify=function(qe){if(typeof qe!="function")throw new TypeError('The "original" argument must be of type Function');if(Xe&&qe[Xe]){var Ye=qe[Xe];if(typeof Ye!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Ye,Xe,{value:Ye,enumerable:!1,writable:!1,configurable:!0}),Ye}function Ye(){for(var ft,We,Ke=new Promise(function(Me,Ge){ft=Me,We=Ge}),Re=[],et=0;et<arguments.length;et++)Re.push(arguments[et]);Re.push(function(Me,Ge){Me?We(Me):ft(Ge)});try{qe.apply(this,Re)}catch(Me){We(Me)}return Ke}return Object.setPrototypeOf(Ye,Object.getPrototypeOf(qe)),Xe&&Object.defineProperty(Ye,Xe,{value:Ye,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Ye,re(qe))},fe.promisify.custom=Xe;function $e(Ue,qe){if(!Ue){var Ye=new Error("Promise was rejected with a falsy value");Ye.reason=Ue,Ue=Ye}return qe(Ue)}function ke(Ue){if(typeof Ue!="function")throw new TypeError('The "original" argument must be of type Function');function qe(){for(var Ye=[],ft=0;ft<arguments.length;ft++)Ye.push(arguments[ft]);var We=Ye.pop();if(typeof We!="function")throw new TypeError("The last argument must be of type Function");var Ke=this,Re=function(){return We.apply(Ke,arguments)};Ue.apply(this,Ye).then(function(et){se.nextTick(Re.bind(null,null,et))},function(et){se.nextTick($e.bind(null,et,Re))})}return Object.setPrototypeOf(qe,Object.getPrototypeOf(Ue)),Object.defineProperties(qe,re(Ue)),qe}fe.callbackify=ke}).call(this)}).call(this,E("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(E,he,fe){(function(se){(function(){"use strict";var re=E("for-each"),ie=E("available-typed-arrays"),le=E("call-bind"),ue=E("call-bind/callBound"),ae=E("gopd"),oe=ue("Object.prototype.toString"),ne=E("has-tostringtag/shams")(),z=typeof globalThis=="undefined"?se:globalThis,a=ie(),y=ue("String.prototype.slice"),x=Object.getPrototypeOf,b=ue("Array.prototype.indexOf",!0)||function(ge,ve){for(var pe=0;pe<ge.length;pe+=1)if(ge[pe]===ve)return pe;return-1},ee={__proto__:null};ne&&ae&&x?re(a,function(de){var ge=new z[de];if(Symbol.toStringTag in ge){var ve=x(ge),pe=ae(ve,Symbol.toStringTag);if(!pe){var Se=x(ve);pe=ae(Se,Symbol.toStringTag)}ee["$"+de]=le(pe.get)}}):re(a,function(de){var ge=new z[de];ee["$"+de]=le(ge.slice)});var te=function(ge){var ve=!1;return re(ee,function(pe,Se){if(!ve)try{"$"+pe(ge)===Se&&(ve=y(Se,1))}catch(ye){}}),ve},ce=function(ge){var ve=!1;return re(ee,function(pe,Se){if(!ve)try{pe(ge),ve=y(Se,1)}catch(ye){}}),ve};he.exports=function(ge){if(!ge||typeof ge!="object")return!1;if(!ne){var ve=y(oe(ge),8,-1);return b(a,ve)>-1?ve:ve!=="Object"?!1:ce(ge)}return ae?te(ge):null}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,he,fe){(function(){"use strict";fe.stripBOM=function(se){return se[0]==="\uFEFF"?se.substring(1):se}}).call(this)},{}],422:[function(E,he,fe){(function(){"use strict";var se,re,ie,le,ue,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)},ue=function(oe){return"<![CDATA["+ie(oe)+"]]>"},ie=function(oe){return oe.replace("]]>","]]]]><![CDATA[>")},fe.Builder=function(){function oe(ne){var z,a,y;this.options={},a=re["0.2"];for(z in a)ae.call(a,z)&&(y=a[z],this.options[z]=y);for(z in ne)ae.call(ne,z)&&(y=ne[z],this.options[z]=y)}return oe.prototype.buildObject=function(ne){var z,a,y,x,b;return z=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(ee){return function(te,ce){var de,ge,ve,pe,Se,ye;if(typeof ce!="object")ee.options.cdata&&le(ce)?te.raw(ue(ce)):te.txt(ce);else if(Array.isArray(ce)){for(pe in ce)if(ae.call(ce,pe)){ge=ce[pe];for(Se in ge)ve=ge[Se],te=y(te.ele(Se),ve).up()}}else for(Se in ce)if(ae.call(ce,Se))if(ge=ce[Se],Se===z){if(typeof ge=="object")for(de in ge)ye=ge[de],te=te.att(de,ye)}else if(Se===a)ee.options.cdata&&le(ge)?te=te.raw(ue(ge)):te=te.txt(ge);else if(Array.isArray(ge))for(pe in ge)ae.call(ge,pe)&&(ve=ge[pe],typeof ve=="string"?ee.options.cdata&&le(ve)?te=te.ele(Se).raw(ue(ve)).up():te=te.ele(Se,ve).up():te=y(te.ele(Se),ve).up());else typeof ge=="object"?te=y(te.ele(Se),ge).up():typeof ge=="string"&&ee.options.cdata&&le(ge)?te=te.ele(Se).raw(ue(ge)).up():(ge==null&&(ge=""),te=te.ele(Se,ge.toString()).up());return te}}(this),x=se.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ne).end(this.options.renderOpts)},oe}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,he,fe){(function(){fe.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,he,fe){(function(){"use strict";var se,re,ie,le,ue,ae,oe,ne,z,a=function(b,ee){return function(){return b.apply(ee,arguments)}},y=function(b,ee){for(var te in ee)x.call(ee,te)&&(b[te]=ee[te]);function ce(){this.constructor=b}return ce.prototype=ee.prototype,b.prototype=new ce,b.__super__=ee.prototype,b},x={}.hasOwnProperty;ne=E("sax"),le=E("events"),se=E("./bom"),oe=E("./processors"),z=E("timers").setImmediate,re=E("./defaults").defaults,ue=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ae=function(b,ee,te){var ce,de,ge;for(ce=0,de=b.length;ce<de;ce++)ge=b[ce],ee=ge(ee,te);return ee},ie=function(b,ee,te){var ce;return ce=Object.create(null),ce.value=te,ce.writable=!0,ce.enumerable=!0,ce.configurable=!0,Object.defineProperty(b,ee,ce)},fe.Parser=function(b){y(ee,b);function ee(te){this.parseStringPromise=a(this.parseStringPromise,this),this.parseString=a(this.parseString,this),this.reset=a(this.reset,this),this.assignOrPush=a(this.assignOrPush,this),this.processAsync=a(this.processAsync,this);var ce,de,ge;if(!(this instanceof fe.Parser))return new fe.Parser(te);this.options={},de=re["0.2"];for(ce in de)x.call(de,ce)&&(ge=de[ce],this.options[ce]=ge);for(ce in te)x.call(te,ce)&&(ge=te[ce],this.options[ce]=ge);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 ee.prototype.processAsync=function(){var te,ce;try{return this.remaining.length<=this.options.chunkSize?(te=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(te),this.saxParser.close()):(te=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(te),z(this.processAsync))}catch(de){if(ce=de,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(ce)}},ee.prototype.assignOrPush=function(te,ce,de){return ce in te?(te[ce]instanceof Array||ie(te,ce,[te[ce]]),te[ce].push(de)):this.options.explicitArray?ie(te,ce,[de]):ie(te,ce,de)},ee.prototype.reset=function(){var te,ce,de,ge;return this.removeAllListeners(),this.saxParser=ne.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(ve){return function(pe){if(ve.saxParser.resume(),!ve.saxParser.errThrown)return ve.saxParser.errThrown=!0,ve.emit("error",pe)}}(this),this.saxParser.onend=function(ve){return function(){if(!ve.saxParser.ended)return ve.saxParser.ended=!0,ve.emit("end",ve.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,ge=[],te=this.options.attrkey,ce=this.options.charkey,this.saxParser.onopentag=function(ve){return function(pe){var Se,ye,Pe,we,Le;if(Pe={},Pe[ce]="",!ve.options.ignoreAttrs){Le=pe.attributes;for(Se in Le)x.call(Le,Se)&&(!(te in Pe)&&!ve.options.mergeAttrs&&(Pe[te]={}),ye=ve.options.attrValueProcessors?ae(ve.options.attrValueProcessors,pe.attributes[Se],Se):pe.attributes[Se],we=ve.options.attrNameProcessors?ae(ve.options.attrNameProcessors,Se):Se,ve.options.mergeAttrs?ve.assignOrPush(Pe,we,ye):ie(Pe[te],we,ye))}return Pe["#name"]=ve.options.tagNameProcessors?ae(ve.options.tagNameProcessors,pe.name):pe.name,ve.options.xmlns&&(Pe[ve.options.xmlnskey]={uri:pe.uri,local:pe.local}),ge.push(Pe)}}(this),this.saxParser.onclosetag=function(ve){return function(){var pe,Se,ye,Pe,we,Le,Ee,Te,Ce,Ae;if(Le=ge.pop(),we=Le["#name"],(!ve.options.explicitChildren||!ve.options.preserveChildrenOrder)&&delete Le["#name"],Le.cdata===!0&&(pe=Le.cdata,delete Le.cdata),Ce=ge[ge.length-1],Le[ce].match(/^\s*$/)&&!pe?(Se=Le[ce],delete Le[ce]):(ve.options.trim&&(Le[ce]=Le[ce].trim()),ve.options.normalize&&(Le[ce]=Le[ce].replace(/\s{2,}/g," ").trim()),Le[ce]=ve.options.valueProcessors?ae(ve.options.valueProcessors,Le[ce],we):Le[ce],Object.keys(Le).length===1&&ce in Le&&!ve.EXPLICIT_CHARKEY&&(Le=Le[ce])),ue(Le)&&(typeof ve.options.emptyTag=="function"?Le=ve.options.emptyTag():Le=ve.options.emptyTag!==""?ve.options.emptyTag:Se),ve.options.validator!=null&&(Ae="/"+function(){var Ie,He,je;for(je=[],Ie=0,He=ge.length;Ie<He;Ie++)Pe=ge[Ie],je.push(Pe["#name"]);return je}().concat(we).join("/"),function(){var Ie;try{return Le=ve.options.validator(Ae,Ce&&Ce[we],Le)}catch(He){return Ie=He,ve.emit("error",Ie)}}()),ve.options.explicitChildren&&!ve.options.mergeAttrs&&typeof Le=="object"){if(!ve.options.preserveChildrenOrder)Pe={},ve.options.attrkey in Le&&(Pe[ve.options.attrkey]=Le[ve.options.attrkey],delete Le[ve.options.attrkey]),!ve.options.charsAsChildren&&ve.options.charkey in Le&&(Pe[ve.options.charkey]=Le[ve.options.charkey],delete Le[ve.options.charkey]),Object.getOwnPropertyNames(Le).length>0&&(Pe[ve.options.childkey]=Le),Le=Pe;else if(Ce){Ce[ve.options.childkey]=Ce[ve.options.childkey]||[],Ee={};for(ye in Le)x.call(Le,ye)&&ie(Ee,ye,Le[ye]);Ce[ve.options.childkey].push(Ee),delete Le["#name"],Object.keys(Le).length===1&&ce in Le&&!ve.EXPLICIT_CHARKEY&&(Le=Le[ce])}}return ge.length>0?ve.assignOrPush(Ce,we,Le):(ve.options.explicitRoot&&(Te=Le,Le={},ie(Le,we,Te)),ve.resultObject=Le,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),de=function(ve){return function(pe){var Se,ye;if(ye=ge[ge.length-1],ye)return ye[ce]+=pe,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||pe.replace(/\\n/g,"").trim()!=="")&&(ye[ve.options.childkey]=ye[ve.options.childkey]||[],Se={"#name":"__text__"},Se[ce]=pe,ve.options.normalize&&(Se[ce]=Se[ce].replace(/\s{2,}/g," ").trim()),ye[ve.options.childkey].push(Se)),ye}}(this),this.saxParser.ontext=de,this.saxParser.oncdata=function(ve){return function(pe){var Se;if(Se=de(pe),Se)return Se.cdata=!0}}(this)},ee.prototype.parseString=function(te,ce){var de;ce!=null&&typeof ce=="function"&&(this.on("end",function(ge){return this.reset(),ce(null,ge)}),this.on("error",function(ge){return this.reset(),ce(ge)}));try{return te=te.toString(),te.trim()===""?(this.emit("end",null),!0):(te=se.stripBOM(te),this.options.async?(this.remaining=te,z(this.processAsync),this.saxParser):this.saxParser.write(te).close())}catch(ge){if(de=ge,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw de}else return this.emit("error",de),this.saxParser.errThrown=!0}},ee.prototype.parseStringPromise=function(te){return new Promise(function(ce){return function(de,ge){return ce.parseString(te,function(ve,pe){return ve?ge(ve):de(pe)})}}(this))},ee}(le),fe.parseString=function(b,ee,te){var ce,de,ge;return te!=null?(typeof te=="function"&&(ce=te),typeof ee=="object"&&(de=ee)):(typeof ee=="function"&&(ce=ee),de={}),ge=new fe.Parser(de),ge.parseString(b,ce)},fe.parseStringPromise=function(b,ee){var te,ce;return typeof ee=="object"&&(te=ee),ce=new fe.Parser(te),ce.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,he,fe){(function(){"use strict";var se;se=new RegExp(/(?!xmlns)^.*:/),fe.normalize=function(re){return re.toLowerCase()},fe.firstCharLowerCase=function(re){return re.charAt(0).toLowerCase()+re.slice(1)},fe.stripPrefix=function(re){return re.replace(se,"")},fe.parseNumbers=function(re){return isNaN(re)||(re=re%1===0?parseInt(re,10):parseFloat(re)),re},fe.parseBooleans=function(re){return/^(?:true|false)$/i.test(re)&&(re=re.toLowerCase()==="true"),re}}).call(this)},{}],426:[function(E,he,fe){(function(){"use strict";var se,re,ie,le,ue=function(oe,ne){for(var z in ne)ae.call(ne,z)&&(oe[z]=ne[z]);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"),fe.defaults=re.defaults,fe.processors=le,fe.ValidationError=function(oe){ue(ne,oe);function ne(z){this.message=z}return ne}(Error),fe.Builder=se.Builder,fe.Parser=ie.Parser,fe.parseString=ie.parseString,fe.parseStringPromise=ie.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,he,fe){(function(){he.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,he,fe){(function(){he.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(E,he,fe){(function(){var se,re,ie,le,ue,ae,oe,ne=[].slice,z={}.hasOwnProperty;se=function(){var a,y,x,b,ee,te;if(te=arguments[0],ee=2<=arguments.length?ne.call(arguments,1):[],ue(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=ee.length;a<x;a++)if(b=ee[a],b!=null)for(y in b)z.call(b,y)&&(te[y]=b[y]);return te},ue=function(a){return!!a&&Object.prototype.toString.call(a)==="[object Function]"},ae=function(a){var y;return!!a&&((y=typeof a)=="function"||y==="object")},ie=function(a){return ue(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},le=function(a){var y;if(ie(a))return!a.length;for(y in a)if(z.call(a,y))return!1;return!0},oe=function(a){var y,x;return ae(a)&&(x=Object.getPrototypeOf(a))&&(y=x.constructor)&&typeof y=="function"&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},re=function(a){return ue(a.valueOf)?a.valueOf():a},he.exports.assign=se,he.exports.isFunction=ue,he.exports.isObject=ae,he.exports.isArray=ie,he.exports.isEmpty=le,he.exports.isPlainObject=oe,he.exports.getValue=re}).call(this)},{}],430:[function(E,he,fe){(function(){he.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(E,he,fe){(function(){var se,re,ie;se=E("./NodeType"),ie=E("./XMLNode"),he.exports=re=function(){function le(ue,ae,oe){if(this.parent=ue,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),ae==null)throw new Error("Missing attribute name. "+this.debugInfo(ae));this.name=this.stringify.name(ae),this.value=this.stringify.attValue(oe),this.type=se.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(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(ue){return this.value=ue||""}}),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(ue){return this.options.writer.attribute(this,this.options.writer.filterOptions(ue))},le.prototype.debugInfo=function(ue){return ue=ue||this.name,ue==null?"parent: <"+this.parent.name+">":"attribute: {"+ue+"}, parent: <"+this.parent.name+">"},le.prototype.isEqualNode=function(ue){return!(ue.namespaceURI!==this.namespaceURI||ue.prefix!==this.prefix||ue.localName!==this.localName||ue.value!==this.value)},le}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ie=E("./XMLCharacterData"),he.exports=re=function(ae){le(oe,ae);function oe(ne,z){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=se.CData,this.value=this.stringify.cdata(z)}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,he,fe){(function(){var se,re,ie=function(ue,ae){for(var oe in ae)le.call(ae,oe)&&(ue[oe]=ae[oe]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},le={}.hasOwnProperty;re=E("./XMLNode"),he.exports=se=function(ue){ie(ae,ue);function ae(oe){ae.__super__.constructor.call(this,oe),this.value=""}return Object.defineProperty(ae.prototype,"data",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),Object.defineProperty(ae.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ae.prototype,"textContent",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),ae.prototype.clone=function(){return Object.create(this)},ae.prototype.substringData=function(oe,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,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.isEqualNode=function(oe){return!(!ae.__super__.isEqualNode.apply(this,arguments).isEqualNode(oe)||oe.data!==this.data)},ae}(re)}).call(this)},{"./XMLNode":450}],434:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),re=E("./XMLCharacterData"),he.exports=ie=function(ae){le(oe,ae);function oe(ne,z){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=se.Comment,this.value=this.stringify.comment(z)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.comment(this,this.options.writer.filterOptions(ne))},oe}(re)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,he,fe){(function(){var se,re,ie;re=E("./XMLDOMErrorHandler"),ie=E("./XMLDOMStringList"),he.exports=se=function(){function le(){var ue;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new re,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=ue=Object.create(this.defaultParams)}return Object.defineProperty(le.prototype,"parameterNames",{get:function(){return new ie(Object.keys(this.defaultParams))}}),le.prototype.getParameter=function(ue){return this.params.hasOwnProperty(ue)?this.params[ue]:null},le.prototype.canSetParameter=function(ue,ae){return!0},le.prototype.setParameter=function(ue,ae){return ae!=null?this.params[ue]=ae:delete this.params[ue]},le}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,he,fe){(function(){var se;he.exports=se=function(){function re(){}return re.prototype.handleError=function(ie){throw new Error(ie)},re}()}).call(this)},{}],437:[function(E,he,fe){(function(){var se;he.exports=se=function(){function re(){}return re.prototype.hasFeature=function(ie,le){return!0},re.prototype.createDocumentType=function(ie,le,ue){throw new Error("This DOM method is not implemented.")},re.prototype.createDocument=function(ie,le,ue){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,he,fe){(function(){var se;he.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,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=re=function(ae){le(oe,ae);function oe(ne,z,a,y,x,b){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(z));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(z));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(z));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(z));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(z));this.elementName=this.stringify.name(z),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,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=re=function(ae){le(oe,ae);function oe(ne,z,a){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(z),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,he,fe){(function(){var se,re,ie,le,ue=function(oe,ne){for(var z in ne)ae.call(ne,z)&&(oe[z]=ne[z]);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"),he.exports=re=function(oe){ue(ne,oe);function ne(z,a,y,x){if(ne.__super__.constructor.call(this,z),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(z){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(z))},ne}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.exports=re=function(ae){le(oe,ae);function oe(ne,z,a){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing DTD notation name. "+this.debugInfo(z));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(z));this.name=this.stringify.name(z),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,he,fe){(function(){var se,re,ie,le,ue=function(oe,ne){for(var z in ne)ae.call(ne,z)&&(oe[z]=ne[z]);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"),he.exports=re=function(oe){ue(ne,oe);function ne(z,a,y,x){var b;ne.__super__.constructor.call(this,z),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(z){return this.options.writer.declaration(this,this.options.writer.filterOptions(z))},ne}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,he,fe){(function(){var se,re,ie,le,ue,ae,oe,ne,z,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;z=E("./Utility").isObject,ne=E("./XMLNode"),se=E("./NodeType"),re=E("./XMLDTDAttList"),le=E("./XMLDTDEntity"),ie=E("./XMLDTDElement"),ue=E("./XMLDTDNotation"),oe=E("./XMLNamedNodeMap"),he.exports=ae=function(x){a(b,x);function b(ee,te,ce){var de,ge,ve,pe,Se,ye;if(b.__super__.constructor.call(this,ee),this.type=se.DocType,ee.children){for(pe=ee.children,ge=0,ve=pe.length;ge<ve;ge++)if(de=pe[ge],de.type===se.Element){this.name=de.name;break}}this.documentObject=ee,z(te)&&(Se=te,te=Se.pubID,ce=Se.sysID),ce==null&&(ye=[te,ce],ce=ye[0],te=ye[1]),te!=null&&(this.pubID=this.stringify.dtdPubID(te)),ce!=null&&(this.sysID=this.stringify.dtdSysID(ce))}return Object.defineProperty(b.prototype,"entities",{get:function(){var ee,te,ce,de,ge;for(de={},ge=this.children,te=0,ce=ge.length;te<ce;te++)ee=ge[te],ee.type===se.EntityDeclaration&&!ee.pe&&(de[ee.name]=ee);return new oe(de)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var ee,te,ce,de,ge;for(de={},ge=this.children,te=0,ce=ge.length;te<ce;te++)ee=ge[te],ee.type===se.NotationDeclaration&&(de[ee.name]=ee);return new oe(de)}}),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(ee,te){var ce;return ce=new ie(this,ee,te),this.children.push(ce),this},b.prototype.attList=function(ee,te,ce,de,ge){var ve;return ve=new re(this,ee,te,ce,de,ge),this.children.push(ve),this},b.prototype.entity=function(ee,te){var ce;return ce=new le(this,!1,ee,te),this.children.push(ce),this},b.prototype.pEntity=function(ee,te){var ce;return ce=new le(this,!0,ee,te),this.children.push(ce),this},b.prototype.notation=function(ee,te){var ce;return ce=new ue(this,ee,te),this.children.push(ce),this},b.prototype.toString=function(ee){return this.options.writer.docType(this,this.options.writer.filterOptions(ee))},b.prototype.ele=function(ee,te){return this.element(ee,te)},b.prototype.att=function(ee,te,ce,de,ge){return this.attList(ee,te,ce,de,ge)},b.prototype.ent=function(ee,te){return this.entity(ee,te)},b.prototype.pent=function(ee,te){return this.pEntity(ee,te)},b.prototype.not=function(ee,te){return this.notation(ee,te)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(ee){return!(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(ee)||ee.name!==this.name||ee.publicId!==this.publicId||ee.systemId!==this.systemId)},b}(ne)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(E,he,fe){(function(){var se,re,ie,le,ue,ae,oe,ne,z=function(y,x){for(var b in x)a.call(x,b)&&(y[b]=x[b]);function ee(){this.constructor=y}return ee.prototype=x.prototype,y.prototype=new ee,y.__super__=x.prototype,y},a={}.hasOwnProperty;ne=E("./Utility").isPlainObject,ie=E("./XMLDOMImplementation"),re=E("./XMLDOMConfiguration"),ue=E("./XMLNode"),se=E("./NodeType"),oe=E("./XMLStringifier"),ae=E("./XMLStringWriter"),he.exports=le=function(y){z(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,ee,te,ce;for(ce=this.children,ee=0,te=ce.length;ee<te;ee++)if(b=ce[ee],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 ee;return ee={},b?ne(b)&&(ee=b,b=this.options.writer):b=this.options.writer,b.document(this,b.filterOptions(ee))},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,ee){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,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createElementNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttributeNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagNameNS=function(b,ee){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,ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByClassName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEvent=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createNodeIterator=function(b,ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTreeWalker=function(b,ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(E,he,fe){(function(){var se,re,ie,le,ue,ae,oe,ne,z,a,y,x,b,ee,te,ce,de,ge,ve,pe,Se,ye,Pe,we,Le={}.hasOwnProperty;we=E("./Utility"),ye=we.isObject,Se=we.isFunction,Pe=we.isPlainObject,pe=we.getValue,se=E("./NodeType"),x=E("./XMLDocument"),ee=E("./XMLElement"),le=E("./XMLCData"),ue=E("./XMLComment"),ce=E("./XMLRaw"),ve=E("./XMLText"),te=E("./XMLProcessingInstruction"),a=E("./XMLDeclaration"),y=E("./XMLDocType"),ae=E("./XMLDTDAttList"),ne=E("./XMLDTDEntity"),oe=E("./XMLDTDElement"),z=E("./XMLDTDNotation"),ie=E("./XMLAttribute"),ge=E("./XMLStringifier"),de=E("./XMLStringWriter"),re=E("./WriterState"),he.exports=b=function(){function Ee(Te,Ce,Ae){var Ie;this.name="?xml",this.type=se.Document,Te||(Te={}),Ie={},Te.writer?Pe(Te.writer)&&(Ie=Te.writer,Te.writer=new de):Te.writer=new de,this.options=Te,this.writer=Te.writer,this.writerOptions=this.writer.filterOptions(Ie),this.stringify=new ge(Te),this.onDataCallback=Ce||function(){},this.onEndCallback=Ae||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return Ee.prototype.createChildNode=function(Te){var Ce,Ae,Ie,He,je,tt,Je,Qe;switch(Te.type){case se.CData:this.cdata(Te.value);break;case se.Comment:this.comment(Te.value);break;case se.Element:Ie={},Je=Te.attribs;for(Ae in Je)Le.call(Je,Ae)&&(Ce=Je[Ae],Ie[Ae]=Ce.value);this.node(Te.name,Ie);break;case se.Dummy:this.dummy();break;case se.Raw:this.raw(Te.value);break;case se.Text:this.text(Te.value);break;case se.ProcessingInstruction:this.instruction(Te.target,Te.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+Te.constructor.name)}for(Qe=Te.children,je=0,tt=Qe.length;je<tt;je++)He=Qe[je],this.createChildNode(He),He.type===se.Element&&this.up();return this},Ee.prototype.dummy=function(){return this},Ee.prototype.node=function(Te,Ce,Ae){var Ie;if(Te==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(Te));return this.openCurrent(),Te=pe(Te),Ce==null&&(Ce={}),Ce=pe(Ce),ye(Ce)||(Ie=[Ce,Ae],Ae=Ie[0],Ce=Ie[1]),this.currentNode=new ee(this,Te,Ce),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Ae!=null&&this.text(Ae),this},Ee.prototype.element=function(Te,Ce,Ae){var Ie,He,je,tt,Je,Qe;if(this.currentNode&&this.currentNode.type===se.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Te)||ye(Te)||Se(Te))for(tt=this.options.noValidation,this.options.noValidation=!0,Qe=new x(this.options).element("TEMP_ROOT"),Qe.element(Te),this.options.noValidation=tt,Je=Qe.children,He=0,je=Je.length;He<je;He++)Ie=Je[He],this.createChildNode(Ie),Ie.type===se.Element&&this.up();else this.node(Te,Ce,Ae);return this},Ee.prototype.attribute=function(Te,Ce){var Ae,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(Te));if(Te!=null&&(Te=pe(Te)),ye(Te))for(Ae in Te)Le.call(Te,Ae)&&(Ie=Te[Ae],this.attribute(Ae,Ie));else Se(Ce)&&(Ce=Ce.apply()),this.options.keepNullAttributes&&Ce==null?this.currentNode.attribs[Te]=new ie(this,Te,""):Ce!=null&&(this.currentNode.attribs[Te]=new ie(this,Te,Ce));return this},Ee.prototype.text=function(Te){var Ce;return this.openCurrent(),Ce=new ve(this,Te),this.onData(this.writer.text(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.cdata=function(Te){var Ce;return this.openCurrent(),Ce=new le(this,Te),this.onData(this.writer.cdata(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.comment=function(Te){var Ce;return this.openCurrent(),Ce=new ue(this,Te),this.onData(this.writer.comment(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.raw=function(Te){var Ce;return this.openCurrent(),Ce=new ce(this,Te),this.onData(this.writer.raw(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.instruction=function(Te,Ce){var Ae,Ie,He,je,tt;if(this.openCurrent(),Te!=null&&(Te=pe(Te)),Ce!=null&&(Ce=pe(Ce)),Array.isArray(Te))for(Ae=0,je=Te.length;Ae<je;Ae++)Ie=Te[Ae],this.instruction(Ie);else if(ye(Te))for(Ie in Te)Le.call(Te,Ie)&&(He=Te[Ie],this.instruction(Ie,He));else Se(Ce)&&(Ce=Ce.apply()),tt=new te(this,Te,Ce),this.onData(this.writer.processingInstruction(tt,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},Ee.prototype.declaration=function(Te,Ce,Ae){var Ie;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Ie=new a(this,Te,Ce,Ae),this.onData(this.writer.declaration(Ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.doctype=function(Te,Ce,Ae){if(this.openCurrent(),Te==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new y(this,Ce,Ae),this.currentNode.rootNodeName=Te,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},Ee.prototype.dtdElement=function(Te,Ce){var Ae;return this.openCurrent(),Ae=new oe(this,Te,Ce),this.onData(this.writer.dtdElement(Ae,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.attList=function(Te,Ce,Ae,Ie,He){var je;return this.openCurrent(),je=new ae(this,Te,Ce,Ae,Ie,He),this.onData(this.writer.dtdAttList(je,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.entity=function(Te,Ce){var Ae;return this.openCurrent(),Ae=new ne(this,!1,Te,Ce),this.onData(this.writer.dtdEntity(Ae,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.pEntity=function(Te,Ce){var Ae;return this.openCurrent(),Ae=new ne(this,!0,Te,Ce),this.onData(this.writer.dtdEntity(Ae,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.notation=function(Te,Ce){var Ae;return this.openCurrent(),Ae=new z(this,Te,Ce),this.onData(this.writer.dtdNotation(Ae,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},Ee.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},Ee.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ee.prototype.openNode=function(Te){var Ce,Ae,Ie,He;if(!Te.isOpen){if(!this.root&&this.currentLevel===0&&Te.type===se.Element&&(this.root=Te),Ae="",Te.type===se.Element){this.writerOptions.state=re.OpenTag,Ae=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"<"+Te.name,He=Te.attribs;for(Ie in He)Le.call(He,Ie)&&(Ce=He[Ie],Ae+=this.writer.attribute(Ce,this.writerOptions,this.currentLevel));Ae+=(Te.children?">":"/>")+this.writer.endline(Te,this.writerOptions,this.currentLevel),this.writerOptions.state=re.InsideTag}else this.writerOptions.state=re.OpenTag,Ae=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Te.rootNodeName,Te.pubID&&Te.sysID?Ae+=' PUBLIC "'+Te.pubID+'" "'+Te.sysID+'"':Te.sysID&&(Ae+=' SYSTEM "'+Te.sysID+'"'),Te.children?(Ae+=" [",this.writerOptions.state=re.InsideTag):(this.writerOptions.state=re.CloseTag,Ae+=">"),Ae+=this.writer.endline(Te,this.writerOptions,this.currentLevel);return this.onData(Ae,this.currentLevel),Te.isOpen=!0}},Ee.prototype.closeNode=function(Te){var Ce;if(!Te.isClosed)return Ce="",this.writerOptions.state=re.CloseTag,Te.type===se.Element?Ce=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"</"+Te.name+">"+this.writer.endline(Te,this.writerOptions,this.currentLevel):Ce=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Te,this.writerOptions,this.currentLevel),this.writerOptions.state=re.None,this.onData(Ce,this.currentLevel),Te.isClosed=!0},Ee.prototype.onData=function(Te,Ce){return this.documentStarted=!0,this.onDataCallback(Te,Ce+1)},Ee.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ee.prototype.debugInfo=function(Te){return Te==null?"":"node: <"+Te+">"},Ee.prototype.ele=function(){return this.element.apply(this,arguments)},Ee.prototype.nod=function(Te,Ce,Ae){return this.node(Te,Ce,Ae)},Ee.prototype.txt=function(Te){return this.text(Te)},Ee.prototype.dat=function(Te){return this.cdata(Te)},Ee.prototype.com=function(Te){return this.comment(Te)},Ee.prototype.ins=function(Te,Ce){return this.instruction(Te,Ce)},Ee.prototype.dec=function(Te,Ce,Ae){return this.declaration(Te,Ce,Ae)},Ee.prototype.dtd=function(Te,Ce,Ae){return this.doctype(Te,Ce,Ae)},Ee.prototype.e=function(Te,Ce,Ae){return this.element(Te,Ce,Ae)},Ee.prototype.n=function(Te,Ce,Ae){return this.node(Te,Ce,Ae)},Ee.prototype.t=function(Te){return this.text(Te)},Ee.prototype.d=function(Te){return this.cdata(Te)},Ee.prototype.c=function(Te){return this.comment(Te)},Ee.prototype.r=function(Te){return this.raw(Te)},Ee.prototype.i=function(Te,Ce){return this.instruction(Te,Ce)},Ee.prototype.att=function(){return this.currentNode&&this.currentNode.type===se.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ee.prototype.a=function(){return this.currentNode&&this.currentNode.type===se.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ee.prototype.ent=function(Te,Ce){return this.entity(Te,Ce)},Ee.prototype.pent=function(Te,Ce){return this.pEntity(Te,Ce)},Ee.prototype.not=function(Te,Ce){return this.notation(Te,Ce)},Ee}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),he.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,he,fe){(function(){var se,re,ie,le,ue,ae,oe,ne,z,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;z=E("./Utility"),ne=z.isObject,oe=z.isFunction,ae=z.getValue,ue=E("./XMLNode"),se=E("./NodeType"),re=E("./XMLAttribute"),le=E("./XMLNamedNodeMap"),he.exports=ie=function(x){a(b,x);function b(ee,te,ce){var de,ge,ve,pe;if(b.__super__.constructor.call(this,ee),te==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(te),this.type=se.Element,this.attribs={},this.schemaTypeInfo=null,ce!=null&&this.attribute(ce),ee.type===se.Document&&(this.isRoot=!0,this.documentObject=ee,ee.rootObject=this,ee.children)){for(pe=ee.children,ge=0,ve=pe.length;ge<ve;ge++)if(de=pe[ge],de.type===se.DocType){de.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 ee,te,ce,de;ce=Object.create(this),ce.isRoot&&(ce.documentObject=null),ce.attribs={},de=this.attribs;for(te in de)y.call(de,te)&&(ee=de[te],ce.attribs[te]=ee.clone());return ce.children=[],this.children.forEach(function(ge){var ve;return ve=ge.clone(),ve.parent=ce,ce.children.push(ve)}),ce},b.prototype.attribute=function(ee,te){var ce,de;if(ee!=null&&(ee=ae(ee)),ne(ee))for(ce in ee)y.call(ee,ce)&&(de=ee[ce],this.attribute(ce,de));else oe(te)&&(te=te.apply()),this.options.keepNullAttributes&&te==null?this.attribs[ee]=new re(this,ee,""):te!=null&&(this.attribs[ee]=new re(this,ee,te));return this},b.prototype.removeAttribute=function(ee){var te,ce,de;if(ee==null)throw new Error("Missing attribute name. "+this.debugInfo());if(ee=ae(ee),Array.isArray(ee))for(ce=0,de=ee.length;ce<de;ce++)te=ee[ce],delete this.attribs[te];else delete this.attribs[ee];return this},b.prototype.toString=function(ee){return this.options.writer.element(this,this.options.writer.filterOptions(ee))},b.prototype.att=function(ee,te){return this.attribute(ee,te)},b.prototype.a=function(ee,te){return this.attribute(ee,te)},b.prototype.getAttribute=function(ee){return this.attribs.hasOwnProperty(ee)?this.attribs[ee].value:null},b.prototype.setAttribute=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(ee){return this.attribs.hasOwnProperty(ee)?this.attribs[ee]:null},b.prototype.setAttributeNode=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(ee,te,ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(ee){return this.attribs.hasOwnProperty(ee)},b.prototype.hasAttributeNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(ee,te){return this.attribs.hasOwnProperty(ee)?this.attribs[ee].isId:te},b.prototype.setIdAttributeNS=function(ee,te,ce){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(ee){var te,ce,de;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(ee)||ee.namespaceURI!==this.namespaceURI||ee.prefix!==this.prefix||ee.localName!==this.localName||ee.attribs.length!==this.attribs.length)return!1;for(te=ce=0,de=this.attribs.length-1;0<=de?ce<=de:ce>=de;te=0<=de?++ce:--ce)if(!this.attribs[te].isEqualNode(ee.attribs[te]))return!1;return!0},b}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,he,fe){(function(){var se;he.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,he,fe){(function(){var se,re,ie,le,ue,ae,oe,ne,z,a,y,x,b,ee,te,ce,de,ge,ve,pe={}.hasOwnProperty;ve=E("./Utility"),ge=ve.isObject,de=ve.isFunction,ce=ve.isEmpty,te=ve.getValue,ne=null,ie=null,le=null,ue=null,ae=null,b=null,ee=null,x=null,oe=null,re=null,y=null,z=null,se=null,he.exports=a=function(){function Se(ye){this.parent=ye,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ne||(ne=E("./XMLElement"),ie=E("./XMLCData"),le=E("./XMLComment"),ue=E("./XMLDeclaration"),ae=E("./XMLDocType"),b=E("./XMLRaw"),ee=E("./XMLText"),x=E("./XMLProcessingInstruction"),oe=E("./XMLDummy"),re=E("./NodeType"),y=E("./XMLNodeList"),z=E("./XMLNamedNodeMap"),se=E("./DocumentPosition"))}return Object.defineProperty(Se.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Se.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Se.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Se.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Se.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(Se.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Se.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Se.prototype,"previousSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye-1]||null}}),Object.defineProperty(Se.prototype,"nextSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye+1]||null}}),Object.defineProperty(Se.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Se.prototype,"textContent",{get:function(){var ye,Pe,we,Le,Ee;if(this.nodeType===re.Element||this.nodeType===re.DocumentFragment){for(Ee="",Le=this.children,Pe=0,we=Le.length;Pe<we;Pe++)ye=Le[Pe],ye.textContent&&(Ee+=ye.textContent);return Ee}else return null},set:function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Se.prototype.setParent=function(ye){var Pe,we,Le,Ee,Te;for(this.parent=ye,ye&&(this.options=ye.options,this.stringify=ye.stringify),Ee=this.children,Te=[],we=0,Le=Ee.length;we<Le;we++)Pe=Ee[we],Te.push(Pe.setParent(this));return Te},Se.prototype.element=function(ye,Pe,we){var Le,Ee,Te,Ce,Ae,Ie,He,je,tt,Je,Qe;if(Ie=null,Pe===null&&we==null&&(tt=[{},null],Pe=tt[0],we=tt[1]),Pe==null&&(Pe={}),Pe=te(Pe),ge(Pe)||(Je=[Pe,we],we=Je[0],Pe=Je[1]),ye!=null&&(ye=te(ye)),Array.isArray(ye))for(Te=0,He=ye.length;Te<He;Te++)Ee=ye[Te],Ie=this.element(Ee);else if(de(ye))Ie=this.element(ye.apply());else if(ge(ye)){for(Ae in ye)if(pe.call(ye,Ae))if(Qe=ye[Ae],de(Qe)&&(Qe=Qe.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Ae.indexOf(this.stringify.convertAttKey)===0)Ie=this.attribute(Ae.substr(this.stringify.convertAttKey.length),Qe);else if(!this.options.separateArrayItems&&Array.isArray(Qe)&&ce(Qe))Ie=this.dummy();else if(ge(Qe)&&ce(Qe))Ie=this.element(Ae);else if(!this.options.keepNullNodes&&Qe==null)Ie=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(Qe))for(Ce=0,je=Qe.length;Ce<je;Ce++)Ee=Qe[Ce],Le={},Le[Ae]=Ee,Ie=this.element(Le);else ge(Qe)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Ae.indexOf(this.stringify.convertTextKey)===0?Ie=this.element(Qe):(Ie=this.element(Ae),Ie.element(Qe)):Ie=this.element(Ae,Qe)}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},Se.prototype.insertBefore=function(ye,Pe,we){var Le,Ee,Te,Ce,Ae;if(ye!=null&&ye.type)return Te=ye,Ce=Pe,Te.setParent(this),Ce?(Ee=children.indexOf(Ce),Ae=children.splice(Ee),children.push(Te),Array.prototype.push.apply(children,Ae)):children.push(Te),Te;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ye));return Ee=this.parent.children.indexOf(this),Ae=this.parent.children.splice(Ee),Le=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,Ae),Le},Se.prototype.insertAfter=function(ye,Pe,we){var Le,Ee,Te;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ye));return Ee=this.parent.children.indexOf(this),Te=this.parent.children.splice(Ee+1),Le=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,Te),Le},Se.prototype.remove=function(){var ye,Pe;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return ye=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[ye,ye-ye+1].concat(Pe=[])),this.parent},Se.prototype.node=function(ye,Pe,we){var Le,Ee;return ye!=null&&(ye=te(ye)),Pe||(Pe={}),Pe=te(Pe),ge(Pe)||(Ee=[Pe,we],we=Ee[0],Pe=Ee[1]),Le=new ne(this,ye,Pe),we!=null&&Le.text(we),this.children.push(Le),Le},Se.prototype.text=function(ye){var Pe;return ge(ye)&&this.element(ye),Pe=new ee(this,ye),this.children.push(Pe),this},Se.prototype.cdata=function(ye){var Pe;return Pe=new ie(this,ye),this.children.push(Pe),this},Se.prototype.comment=function(ye){var Pe;return Pe=new le(this,ye),this.children.push(Pe),this},Se.prototype.commentBefore=function(ye){var Pe,we,Le;return we=this.parent.children.indexOf(this),Le=this.parent.children.splice(we),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,Le),this},Se.prototype.commentAfter=function(ye){var Pe,we,Le;return we=this.parent.children.indexOf(this),Le=this.parent.children.splice(we+1),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,Le),this},Se.prototype.raw=function(ye){var Pe;return Pe=new b(this,ye),this.children.push(Pe),this},Se.prototype.dummy=function(){var ye;return ye=new oe(this),ye},Se.prototype.instruction=function(ye,Pe){var we,Le,Ee,Te,Ce;if(ye!=null&&(ye=te(ye)),Pe!=null&&(Pe=te(Pe)),Array.isArray(ye))for(Te=0,Ce=ye.length;Te<Ce;Te++)we=ye[Te],this.instruction(we);else if(ge(ye))for(we in ye)pe.call(ye,we)&&(Le=ye[we],this.instruction(we,Le));else de(Pe)&&(Pe=Pe.apply()),Ee=new x(this,ye,Pe),this.children.push(Ee);return this},Se.prototype.instructionBefore=function(ye,Pe){var we,Le,Ee;return Le=this.parent.children.indexOf(this),Ee=this.parent.children.splice(Le),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,Ee),this},Se.prototype.instructionAfter=function(ye,Pe){var we,Le,Ee;return Le=this.parent.children.indexOf(this),Ee=this.parent.children.splice(Le+1),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,Ee),this},Se.prototype.declaration=function(ye,Pe,we){var Le,Ee;return Le=this.document(),Ee=new ue(Le,ye,Pe,we),Le.children.length===0?Le.children.unshift(Ee):Le.children[0].type===re.Declaration?Le.children[0]=Ee:Le.children.unshift(Ee),Le.root()||Le},Se.prototype.dtd=function(ye,Pe){var we,Le,Ee,Te,Ce,Ae,Ie,He,je,tt;for(Le=this.document(),Ee=new ae(Le,ye,Pe),je=Le.children,Te=Ce=0,Ie=je.length;Ce<Ie;Te=++Ce)if(we=je[Te],we.type===re.DocType)return Le.children[Te]=Ee,Ee;for(tt=Le.children,Te=Ae=0,He=tt.length;Ae<He;Te=++Ae)if(we=tt[Te],we.isRoot)return Le.children.splice(Te,0,Ee),Ee;return Le.children.push(Ee),Ee},Se.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},Se.prototype.root=function(){var ye;for(ye=this;ye;){if(ye.type===re.Document)return ye.rootObject;if(ye.isRoot)return ye;ye=ye.parent}},Se.prototype.document=function(){var ye;for(ye=this;ye;){if(ye.type===re.Document)return ye;ye=ye.parent}},Se.prototype.end=function(ye){return this.document().end(ye)},Se.prototype.prev=function(){var ye;if(ye=this.parent.children.indexOf(this),ye<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[ye-1]},Se.prototype.next=function(){var ye;if(ye=this.parent.children.indexOf(this),ye===-1||ye===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[ye+1]},Se.prototype.importDocument=function(ye){var Pe;return Pe=ye.root().clone(),Pe.parent=this,Pe.isRoot=!1,this.children.push(Pe),this},Se.prototype.debugInfo=function(ye){var Pe,we;return ye=ye||this.name,ye==null&&!((Pe=this.parent)!=null&&Pe.name)?"":ye==null?"parent: <"+this.parent.name+">":(we=this.parent)!=null&&we.name?"node: <"+ye+">, parent: <"+this.parent.name+">":"node: <"+ye+">"},Se.prototype.ele=function(ye,Pe,we){return this.element(ye,Pe,we)},Se.prototype.nod=function(ye,Pe,we){return this.node(ye,Pe,we)},Se.prototype.txt=function(ye){return this.text(ye)},Se.prototype.dat=function(ye){return this.cdata(ye)},Se.prototype.com=function(ye){return this.comment(ye)},Se.prototype.ins=function(ye,Pe){return this.instruction(ye,Pe)},Se.prototype.doc=function(){return this.document()},Se.prototype.dec=function(ye,Pe,we){return this.declaration(ye,Pe,we)},Se.prototype.e=function(ye,Pe,we){return this.element(ye,Pe,we)},Se.prototype.n=function(ye,Pe,we){return this.node(ye,Pe,we)},Se.prototype.t=function(ye){return this.text(ye)},Se.prototype.d=function(ye){return this.cdata(ye)},Se.prototype.c=function(ye){return this.comment(ye)},Se.prototype.r=function(ye){return this.raw(ye)},Se.prototype.i=function(ye,Pe){return this.instruction(ye,Pe)},Se.prototype.u=function(){return this.up()},Se.prototype.importXMLBuilder=function(ye){return this.importDocument(ye)},Se.prototype.replaceChild=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.removeChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.appendChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.hasChildNodes=function(){return this.children.length!==0},Se.prototype.cloneNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isSupported=function(ye,Pe){return!0},Se.prototype.hasAttributes=function(){return this.attribs.length!==0},Se.prototype.compareDocumentPosition=function(ye){var Pe,we;return Pe=this,Pe===ye?0:this.document()!==ye.document()?(we=se.Disconnected|se.ImplementationSpecific,Math.random()<.5?we|=se.Preceding:we|=se.Following,we):Pe.isAncestor(ye)?se.Contains|se.Preceding:Pe.isDescendant(ye)?se.Contains|se.Following:Pe.isPreceding(ye)?se.Preceding:se.Following},Se.prototype.isSameNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupPrefix=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isDefaultNamespace=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupNamespaceURI=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isEqualNode=function(ye){var Pe,we,Le;if(ye.nodeType!==this.nodeType||ye.children.length!==this.children.length)return!1;for(Pe=we=0,Le=this.children.length-1;0<=Le?we<=Le:we>=Le;Pe=0<=Le?++we:--we)if(!this.children[Pe].isEqualNode(ye.children[Pe]))return!1;return!0},Se.prototype.getFeature=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setUserData=function(ye,Pe,we){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getUserData=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.contains=function(ye){return ye?ye===this||this.isDescendant(ye):!1},Se.prototype.isDescendant=function(ye){var Pe,we,Le,Ee,Te;for(Te=this.children,Le=0,Ee=Te.length;Le<Ee;Le++)if(Pe=Te[Le],ye===Pe||(we=Pe.isDescendant(ye),we))return!0;return!1},Se.prototype.isAncestor=function(ye){return ye.isDescendant(this)},Se.prototype.isPreceding=function(ye){var Pe,we;return Pe=this.treePosition(ye),we=this.treePosition(this),Pe===-1||we===-1?!1:Pe<we},Se.prototype.isFollowing=function(ye){var Pe,we;return Pe=this.treePosition(ye),we=this.treePosition(this),Pe===-1||we===-1?!1:Pe>we},Se.prototype.treePosition=function(ye){var Pe,we;return we=0,Pe=!1,this.foreachTreeNode(this.document(),function(Le){if(we++,!Pe&&Le===ye)return Pe=!0}),Pe?we:-1},Se.prototype.foreachTreeNode=function(ye,Pe){var we,Le,Ee,Te,Ce;for(ye||(ye=this.document()),Te=ye.children,Le=0,Ee=Te.length;Le<Ee;Le++){if(we=Te[Le],Ce=Pe(we))return Ce;if(Ce=this.foreachTreeNode(we,Pe),Ce)return Ce}},Se}()}).call(this)},{"./DocumentPosition":427,"./NodeType":428,"./Utility":429,"./XMLCData":432,"./XMLComment":434,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLNamedNodeMap":449,"./XMLNodeList":451,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],451:[function(E,he,fe){(function(){var se;he.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,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),re=E("./XMLCharacterData"),he.exports=ie=function(ae){le(oe,ae);function oe(ne,z,a){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=se.ProcessingInstruction,this.target=this.stringify.insTarget(z),this.name=this.target,a&&(this.value=this.stringify.insValue(a))}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(ne))},oe.prototype.isEqualNode=function(ne){return!(!oe.__super__.isEqualNode.apply(this,arguments).isEqualNode(ne)||ne.target!==this.target)},oe}(re)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),re=E("./XMLNode"),he.exports=ie=function(ae){le(oe,ae);function oe(ne,z){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=se.Raw,this.value=this.stringify.raw(z)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.raw(this,this.options.writer.filterOptions(ne))},oe}(re)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(E,he,fe){(function(){var se,re,ie,le,ue=function(oe,ne){for(var z in ne)ae.call(ne,z)&&(oe[z]=ne[z]);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"),he.exports=ie=function(oe){ue(ne,oe);function ne(z,a){this.stream=z,ne.__super__.constructor.call(this,a)}return ne.prototype.endline=function(z,a,y){return z.isLastRootNode&&a.state===re.CloseTag?"":ne.__super__.endline.call(this,z,a,y)},ne.prototype.document=function(z,a){var y,x,b,ee,te,ce,de,ge,ve;for(de=z.children,x=b=0,te=de.length;b<te;x=++b)y=de[x],y.isLastRootNode=x===z.children.length-1;for(a=this.filterOptions(a),ge=z.children,ve=[],ee=0,ce=ge.length;ee<ce;ee++)y=ge[ee],ve.push(this.writeChildNode(y,a,0));return ve},ne.prototype.attribute=function(z,a,y){return this.stream.write(ne.__super__.attribute.call(this,z,a,y))},ne.prototype.cdata=function(z,a,y){return this.stream.write(ne.__super__.cdata.call(this,z,a,y))},ne.prototype.comment=function(z,a,y){return this.stream.write(ne.__super__.comment.call(this,z,a,y))},ne.prototype.declaration=function(z,a,y){return this.stream.write(ne.__super__.declaration.call(this,z,a,y))},ne.prototype.docType=function(z,a,y){var x,b,ee,te;if(y||(y=0),this.openNode(z,a,y),a.state=re.OpenTag,this.stream.write(this.indent(z,a,y)),this.stream.write("<!DOCTYPE "+z.root().name),z.pubID&&z.sysID?this.stream.write(' PUBLIC "'+z.pubID+'" "'+z.sysID+'"'):z.sysID&&this.stream.write(' SYSTEM "'+z.sysID+'"'),z.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(z,a,y)),a.state=re.InsideTag,te=z.children,b=0,ee=te.length;b<ee;b++)x=te[b],this.writeChildNode(x,a,y+1);a.state=re.CloseTag,this.stream.write("]")}return a.state=re.CloseTag,this.stream.write(a.spaceBeforeSlash+">"),this.stream.write(this.endline(z,a,y)),a.state=re.None,this.closeNode(z,a,y)},ne.prototype.element=function(z,a,y){var x,b,ee,te,ce,de,ge,ve,pe,Se;y||(y=0),this.openNode(z,a,y),a.state=re.OpenTag,this.stream.write(this.indent(z,a,y)+"<"+z.name),pe=z.attribs;for(ge in pe)ae.call(pe,ge)&&(x=pe[ge],this.attribute(x,a,y));if(ee=z.children.length,te=ee===0?null:z.children[0],ee===0||z.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("</"+z.name+">")):(a.state=re.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&ee===1&&(te.type===se.Text||te.type===se.Raw)&&te.value!=null)this.stream.write(">"),a.state=re.InsideTag,a.suppressPrettyCount++,ve=!0,this.writeChildNode(te,a,y+1),a.suppressPrettyCount--,ve=!1,a.state=re.CloseTag,this.stream.write("</"+z.name+">");else{for(this.stream.write(">"+this.endline(z,a,y)),a.state=re.InsideTag,Se=z.children,ce=0,de=Se.length;ce<de;ce++)b=Se[ce],this.writeChildNode(b,a,y+1);a.state=re.CloseTag,this.stream.write(this.indent(z,a,y)+"</"+z.name+">")}return this.stream.write(this.endline(z,a,y)),a.state=re.None,this.closeNode(z,a,y)},ne.prototype.processingInstruction=function(z,a,y){return this.stream.write(ne.__super__.processingInstruction.call(this,z,a,y))},ne.prototype.raw=function(z,a,y){return this.stream.write(ne.__super__.raw.call(this,z,a,y))},ne.prototype.text=function(z,a,y){return this.stream.write(ne.__super__.text.call(this,z,a,y))},ne.prototype.dtdAttList=function(z,a,y){return this.stream.write(ne.__super__.dtdAttList.call(this,z,a,y))},ne.prototype.dtdElement=function(z,a,y){return this.stream.write(ne.__super__.dtdElement.call(this,z,a,y))},ne.prototype.dtdEntity=function(z,a,y){return this.stream.write(ne.__super__.dtdEntity.call(this,z,a,y))},ne.prototype.dtdNotation=function(z,a,y){return this.stream.write(ne.__super__.dtdNotation.call(this,z,a,y))},ne}(le)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,he,fe){(function(){var se,re,ie=function(ue,ae){for(var oe in ae)le.call(ae,oe)&&(ue[oe]=ae[oe]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},le={}.hasOwnProperty;re=E("./XMLWriterBase"),he.exports=se=function(ue){ie(ae,ue);function ae(oe){ae.__super__.constructor.call(this,oe)}return ae.prototype.document=function(oe,ne){var z,a,y,x,b;for(ne=this.filterOptions(ne),x="",b=oe.children,a=0,y=b.length;a<y;a++)z=b[a],x+=this.writeChildNode(z,ne,0);return ne.pretty&&x.slice(-ne.newline.length)===ne.newline&&(x=x.slice(0,-ne.newline.length)),x},ae}(re)}).call(this)},{"./XMLWriterBase":458}],456:[function(E,he,fe){(function(){var se,re=function(le,ue){return function(){return le.apply(ue,arguments)}},ie={}.hasOwnProperty;he.exports=se=function(){function le(ue){this.assertLegalName=re(this.assertLegalName,this),this.assertLegalChar=re(this.assertLegalChar,this);var ae,oe,ne;ue||(ue={}),this.options=ue,this.options.version||(this.options.version="1.0"),oe=ue.stringify||{};for(ae in oe)ie.call(oe,ae)&&(ne=oe[ae],this[ae]=ne)}return le.prototype.name=function(ue){return this.options.noValidation?ue:this.assertLegalName(""+ue||"")},le.prototype.text=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.textEscape(""+ue||""))},le.prototype.cdata=function(ue){return this.options.noValidation?ue:(ue=""+ue||"",ue=ue.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(ue))},le.prototype.comment=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",ue.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+ue);return this.assertLegalChar(ue)},le.prototype.raw=function(ue){return this.options.noValidation?ue:""+ue||""},le.prototype.attValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.attEscape(ue=""+ue||""))},le.prototype.insTarget=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},le.prototype.insValue=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",ue.match(/\?>/))throw new Error("Invalid processing instruction value: "+ue);return this.assertLegalChar(ue)},le.prototype.xmlVersion=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",!ue.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+ue);return ue},le.prototype.xmlEncoding=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",!ue.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+ue);return this.assertLegalChar(ue)},le.prototype.xmlStandalone=function(ue){return this.options.noValidation?ue:ue?"yes":"no"},le.prototype.dtdPubID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},le.prototype.dtdSysID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},le.prototype.dtdElementValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},le.prototype.dtdAttType=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},le.prototype.dtdAttDefault=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},le.prototype.dtdEntityValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},le.prototype.dtdNData=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},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(ue){var ae,oe;if(this.options.noValidation)return ue;if(ae="",this.options.version==="1.0"){if(ae=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ue.match(ae))throw new Error("Invalid character in string: "+ue+" at index "+oe.index)}else if(this.options.version==="1.1"&&(ae=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ue.match(ae)))throw new Error("Invalid character in string: "+ue+" at index "+oe.index);return ue},le.prototype.assertLegalName=function(ue){var ae;if(this.options.noValidation)return ue;if(this.assertLegalChar(ue),ae=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!ue.match(ae))throw new Error("Invalid character in name");return ue},le.prototype.textEscape=function(ue){var ae;return this.options.noValidation?ue:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ae,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},le.prototype.attEscape=function(ue){var ae;return this.options.noValidation?ue:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ae,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},le}()}).call(this)},{}],457:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),re=E("./XMLCharacterData"),he.exports=ie=function(ae){le(oe,ae);function oe(ne,z){if(oe.__super__.constructor.call(this,ne),z==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=se.Text,this.value=this.stringify.text(z)}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,z,a;for(a="",z=this.previousSibling;z;)a=z.data+a,z=z.previousSibling;for(a+=this.data,ne=this.nextSibling;ne;)a=a+ne.data,ne=ne.nextSibling;return a}}),oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.text(this,this.options.writer.filterOptions(ne))},oe.prototype.splitText=function(ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe.prototype.replaceWholeText=function(ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe}(re)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(E,he,fe){(function(){var se,re,ie,le,ue,ae,oe,ne,z,a,y,x,b,ee,te,ce,de,ge={}.hasOwnProperty;de=E("./Utility").assign,se=E("./NodeType"),z=E("./XMLDeclaration"),a=E("./XMLDocType"),ie=E("./XMLCData"),le=E("./XMLComment"),x=E("./XMLElement"),ee=E("./XMLRaw"),te=E("./XMLText"),b=E("./XMLProcessingInstruction"),y=E("./XMLDummy"),ue=E("./XMLDTDAttList"),ae=E("./XMLDTDElement"),oe=E("./XMLDTDEntity"),ne=E("./XMLDTDNotation"),re=E("./WriterState"),he.exports=ce=function(){function ve(pe){var Se,ye,Pe;pe||(pe={}),this.options=pe,ye=pe.writer||{};for(Se in ye)ge.call(ye,Se)&&(Pe=ye[Se],this["_"+Se]=this[Se],this[Se]=Pe)}return ve.prototype.filterOptions=function(pe){var Se,ye,Pe,we,Le,Ee,Te,Ce;return pe||(pe={}),pe=de({},this.options,pe),Se={writer:this},Se.pretty=pe.pretty||!1,Se.allowEmpty=pe.allowEmpty||!1,Se.indent=(ye=pe.indent)!=null?ye:" ",Se.newline=(Pe=pe.newline)!=null?Pe:`
`,Se.offset=(we=pe.offset)!=null?we:0,Se.dontPrettyTextNodes=(Le=(Ee=pe.dontPrettyTextNodes)!=null?Ee:pe.dontprettytextnodes)!=null?Le:0,Se.spaceBeforeSlash=(Te=(Ce=pe.spaceBeforeSlash)!=null?Ce:pe.spacebeforeslash)!=null?Te:"",Se.spaceBeforeSlash===!0&&(Se.spaceBeforeSlash=" "),Se.suppressPrettyCount=0,Se.user={},Se.state=re.None,Se},ve.prototype.indent=function(pe,Se,ye){var Pe;return!Se.pretty||Se.suppressPrettyCount?"":Se.pretty&&(Pe=(ye||0)+Se.offset+1,Pe>0)?new Array(Pe).join(Se.indent):""},ve.prototype.endline=function(pe,Se,ye){return!Se.pretty||Se.suppressPrettyCount?"":Se.newline},ve.prototype.attribute=function(pe,Se,ye){var Pe;return this.openAttribute(pe,Se,ye),Pe=" "+pe.name+'="'+pe.value+'"',this.closeAttribute(pe,Se,ye),Pe},ve.prototype.cdata=function(pe,Se,ye){var Pe;return this.openNode(pe,Se,ye),Se.state=re.OpenTag,Pe=this.indent(pe,Se,ye)+"<![CDATA[",Se.state=re.InsideTag,Pe+=pe.value,Se.state=re.CloseTag,Pe+="]]>"+this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Pe},ve.prototype.comment=function(pe,Se,ye){var Pe;return this.openNode(pe,Se,ye),Se.state=re.OpenTag,Pe=this.indent(pe,Se,ye)+"<!-- ",Se.state=re.InsideTag,Pe+=pe.value,Se.state=re.CloseTag,Pe+=" -->"+this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Pe},ve.prototype.declaration=function(pe,Se,ye){var Pe;return this.openNode(pe,Se,ye),Se.state=re.OpenTag,Pe=this.indent(pe,Se,ye)+"<?xml",Se.state=re.InsideTag,Pe+=' version="'+pe.version+'"',pe.encoding!=null&&(Pe+=' encoding="'+pe.encoding+'"'),pe.standalone!=null&&(Pe+=' standalone="'+pe.standalone+'"'),Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+"?>",Pe+=this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Pe},ve.prototype.docType=function(pe,Se,ye){var Pe,we,Le,Ee,Te;if(ye||(ye=0),this.openNode(pe,Se,ye),Se.state=re.OpenTag,Ee=this.indent(pe,Se,ye),Ee+="<!DOCTYPE "+pe.root().name,pe.pubID&&pe.sysID?Ee+=' PUBLIC "'+pe.pubID+'" "'+pe.sysID+'"':pe.sysID&&(Ee+=' SYSTEM "'+pe.sysID+'"'),pe.children.length>0){for(Ee+=" [",Ee+=this.endline(pe,Se,ye),Se.state=re.InsideTag,Te=pe.children,we=0,Le=Te.length;we<Le;we++)Pe=Te[we],Ee+=this.writeChildNode(Pe,Se,ye+1);Se.state=re.CloseTag,Ee+="]"}return Se.state=re.CloseTag,Ee+=Se.spaceBeforeSlash+">",Ee+=this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Ee},ve.prototype.element=function(pe,Se,ye){var Pe,we,Le,Ee,Te,Ce,Ae,Ie,He,je,tt,Je,Qe,Xe;ye||(ye=0),je=!1,tt="",this.openNode(pe,Se,ye),Se.state=re.OpenTag,tt+=this.indent(pe,Se,ye)+"<"+pe.name,Je=pe.attribs;for(He in Je)ge.call(Je,He)&&(Pe=Je[He],tt+=this.attribute(Pe,Se,ye));if(Le=pe.children.length,Ee=Le===0?null:pe.children[0],Le===0||pe.children.every(function($e){return($e.type===se.Text||$e.type===se.Raw)&&$e.value===""}))Se.allowEmpty?(tt+=">",Se.state=re.CloseTag,tt+="</"+pe.name+">"+this.endline(pe,Se,ye)):(Se.state=re.CloseTag,tt+=Se.spaceBeforeSlash+"/>"+this.endline(pe,Se,ye));else if(Se.pretty&&Le===1&&(Ee.type===se.Text||Ee.type===se.Raw)&&Ee.value!=null)tt+=">",Se.state=re.InsideTag,Se.suppressPrettyCount++,je=!0,tt+=this.writeChildNode(Ee,Se,ye+1),Se.suppressPrettyCount--,je=!1,Se.state=re.CloseTag,tt+="</"+pe.name+">"+this.endline(pe,Se,ye);else{if(Se.dontPrettyTextNodes){for(Qe=pe.children,Te=0,Ae=Qe.length;Te<Ae;Te++)if(we=Qe[Te],(we.type===se.Text||we.type===se.Raw)&&we.value!=null){Se.suppressPrettyCount++,je=!0;break}}for(tt+=">"+this.endline(pe,Se,ye),Se.state=re.InsideTag,Xe=pe.children,Ce=0,Ie=Xe.length;Ce<Ie;Ce++)we=Xe[Ce],tt+=this.writeChildNode(we,Se,ye+1);Se.state=re.CloseTag,tt+=this.indent(pe,Se,ye)+"</"+pe.name+">",je&&Se.suppressPrettyCount--,tt+=this.endline(pe,Se,ye),Se.state=re.None}return this.closeNode(pe,Se,ye),tt},ve.prototype.writeChildNode=function(pe,Se,ye){switch(pe.type){case se.CData:return this.cdata(pe,Se,ye);case se.Comment:return this.comment(pe,Se,ye);case se.Element:return this.element(pe,Se,ye);case se.Raw:return this.raw(pe,Se,ye);case se.Text:return this.text(pe,Se,ye);case se.ProcessingInstruction:return this.processingInstruction(pe,Se,ye);case se.Dummy:return"";case se.Declaration:return this.declaration(pe,Se,ye);case se.DocType:return this.docType(pe,Se,ye);case se.AttributeDeclaration:return this.dtdAttList(pe,Se,ye);case se.ElementDeclaration:return this.dtdElement(pe,Se,ye);case se.EntityDeclaration:return this.dtdEntity(pe,Se,ye);case se.NotationDeclaration:return this.dtdNotation(pe,Se,ye);default:throw new Error("Unknown XML node type: "+pe.constructor.name)}},ve.prototype.processingInstruction=function(pe,Se,ye){var Pe;return this.openNode(pe,Se,ye),Se.state=re.OpenTag,Pe=this.indent(pe,Se,ye)+"<?",Se.state=re.InsideTag,Pe+=pe.target,pe.value&&(Pe+=" "+pe.value),Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+"?>",Pe+=this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Pe},ve.prototype.raw=function(pe,Se,ye){var Pe;return this.openNode(pe,Se,ye),Se.state=re.OpenTag,Pe=this.indent(pe,Se,ye),Se.state=re.InsideTag,Pe+=pe.value,Se.state=re.CloseTag,Pe+=this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Pe},ve.prototype.text=function(pe,Se,ye){var Pe;return this.openNode(pe,Se,ye),Se.state=re.OpenTag,Pe=this.indent(pe,Se,ye),Se.state=re.InsideTag,Pe+=pe.value,Se.state=re.CloseTag,Pe+=this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Pe},ve.prototype.dtdAttList=function(pe,Se,ye){var Pe;return this.openNode(pe,Se,ye),Se.state=re.OpenTag,Pe=this.indent(pe,Se,ye)+"<!ATTLIST",Se.state=re.InsideTag,Pe+=" "+pe.elementName+" "+pe.attributeName+" "+pe.attributeType,pe.defaultValueType!=="#DEFAULT"&&(Pe+=" "+pe.defaultValueType),pe.defaultValue&&(Pe+=' "'+pe.defaultValue+'"'),Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Pe},ve.prototype.dtdElement=function(pe,Se,ye){var Pe;return this.openNode(pe,Se,ye),Se.state=re.OpenTag,Pe=this.indent(pe,Se,ye)+"<!ELEMENT",Se.state=re.InsideTag,Pe+=" "+pe.name+" "+pe.value,Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Pe},ve.prototype.dtdEntity=function(pe,Se,ye){var Pe;return this.openNode(pe,Se,ye),Se.state=re.OpenTag,Pe=this.indent(pe,Se,ye)+"<!ENTITY",Se.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)),Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Pe},ve.prototype.dtdNotation=function(pe,Se,ye){var Pe;return this.openNode(pe,Se,ye),Se.state=re.OpenTag,Pe=this.indent(pe,Se,ye)+"<!NOTATION",Se.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+'"'),Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(pe,Se,ye),Se.state=re.None,this.closeNode(pe,Se,ye),Pe},ve.prototype.openNode=function(pe,Se,ye){},ve.prototype.closeNode=function(pe,Se,ye){},ve.prototype.openAttribute=function(pe,Se,ye){},ve.prototype.closeAttribute=function(pe,Se,ye){},ve}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(E,he,fe){(function(){var se,re,ie,le,ue,ae,oe,ne,z,a;a=E("./Utility"),ne=a.assign,z=a.isFunction,ie=E("./XMLDOMImplementation"),le=E("./XMLDocument"),ue=E("./XMLDocumentCB"),oe=E("./XMLStringWriter"),ae=E("./XMLStreamWriter"),se=E("./NodeType"),re=E("./WriterState"),he.exports.create=function(y,x,b,ee){var te,ce;if(y==null)throw new Error("Root element needs a name.");return ee=ne({},x,b,ee),te=new le(ee),ce=te.element(y),ee.headless||(te.declaration(ee),(ee.pubID!=null||ee.sysID!=null)&&te.dtd(ee)),ce},he.exports.begin=function(y,x,b){var ee;return z(y)&&(ee=[y,x],x=ee[0],b=ee[1],y={}),x?new ue(y,x,b):new le(y)},he.exports.stringWriter=function(y){return new oe(y)},he.exports.streamWriter=function(y,x){return new ae(y,x)},he.exports.implementation=new ie,he.exports.nodeType=se,he.exports.writerState=re}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,he,fe){he.exports=re;var se=Object.prototype.hasOwnProperty;function re(){for(var ie={},le=0;le<arguments.length;le++){var ue=arguments[le];for(var ae in ue)se.call(ue,ae)&&(ie[ae]=ue[ae])}return ie}},{}],461:[function(E,he,fe){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.array.slice.js");var se=E("buffer").Buffer,re=E("./sha"),ie=E("./md5"),le={sha1:re,md5:ie},ue=64,ae=se.alloc(ue);ae.fill(0);function oe(a,y,x){se.isBuffer(y)||(y=se.from(y)),se.isBuffer(x)||(x=se.from(x)),y.length>ue?y=a(y):y.length<ue&&(y=se.concat([y,ae],ue));for(var b=se.alloc(ue),ee=se.alloc(ue),te=0;te<ue;te++)b[te]=y[te]^54,ee[te]=y[te]^92;var ce=a(se.concat([b,x]));return a(se.concat([ee,ce]))}function ne(a,y){a=a||"sha1";var x=le[a],b=[],ee=0;return x||z("algorithm:",a,"is not yet supported"),{update:function(ce){return se.isBuffer(ce)||(ce=se.from(ce)),b.push(ce),ee+=ce.length,this},digest:function(ce){var de=se.concat(b),ge=y?oe(x,y,de):x(de);return b=null,ce?ge.toString(ce):ge}}}function z(){var a=[].slice.call(arguments).join(" ");throw new Error([a,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}fe.createHash=function(a){return ne(a)},fe.createHmac=function(a,y){return ne(a,y)},fe.createCredentials=function(){z("sorry,createCredentials is not implemented yet")},fe.createCipher=function(){z("sorry,createCipher is not implemented yet")},fe.createCipheriv=function(){z("sorry,createCipheriv is not implemented yet")},fe.createDecipher=function(){z("sorry,createDecipher is not implemented yet")},fe.createDecipheriv=function(){z("sorry,createDecipheriv is not implemented yet")},fe.createSign=function(){z("sorry,createSign is not implemented yet")},fe.createVerify=function(){z("sorry,createVerify is not implemented yet")},fe.createDiffieHellman=function(){z("sorry,createDiffieHellman is not implemented yet")},fe.pbkdf2=function(){z("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(E,he,fe){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js");var se=E("buffer").Buffer,re=4,ie=se.alloc(re);ie.fill(0);var le=8;function ue(ne,z){if(ne.length%re!==0){var a=ne.length+(re-ne.length%re);ne=se.concat([ne,ie],a)}for(var y=[],x=z?ne.readInt32BE:ne.readInt32LE,b=0;b<ne.length;b+=re)y.push(x.call(ne,b));return y}function ae(ne,z,a){for(var y=se.alloc(z),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,z,a,y){se.isBuffer(ne)||(ne=se.from(ne));var x=z(ue(ne,y),ne.length*le);return ae(x,a,y)}he.exports={hash:oe}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(E,he,fe){"use strict";var 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,ee=-271733879,te=-1732584194,ce=271733878,de=0;de<y.length;de+=16){var ge=b,ve=ee,pe=te,Se=ce;b=ue(b,ee,te,ce,y[de+0],7,-680876936),ce=ue(ce,b,ee,te,y[de+1],12,-389564586),te=ue(te,ce,b,ee,y[de+2],17,606105819),ee=ue(ee,te,ce,b,y[de+3],22,-1044525330),b=ue(b,ee,te,ce,y[de+4],7,-176418897),ce=ue(ce,b,ee,te,y[de+5],12,1200080426),te=ue(te,ce,b,ee,y[de+6],17,-1473231341),ee=ue(ee,te,ce,b,y[de+7],22,-45705983),b=ue(b,ee,te,ce,y[de+8],7,1770035416),ce=ue(ce,b,ee,te,y[de+9],12,-1958414417),te=ue(te,ce,b,ee,y[de+10],17,-42063),ee=ue(ee,te,ce,b,y[de+11],22,-1990404162),b=ue(b,ee,te,ce,y[de+12],7,1804603682),ce=ue(ce,b,ee,te,y[de+13],12,-40341101),te=ue(te,ce,b,ee,y[de+14],17,-1502002290),ee=ue(ee,te,ce,b,y[de+15],22,1236535329),b=ae(b,ee,te,ce,y[de+1],5,-165796510),ce=ae(ce,b,ee,te,y[de+6],9,-1069501632),te=ae(te,ce,b,ee,y[de+11],14,643717713),ee=ae(ee,te,ce,b,y[de+0],20,-373897302),b=ae(b,ee,te,ce,y[de+5],5,-701558691),ce=ae(ce,b,ee,te,y[de+10],9,38016083),te=ae(te,ce,b,ee,y[de+15],14,-660478335),ee=ae(ee,te,ce,b,y[de+4],20,-405537848),b=ae(b,ee,te,ce,y[de+9],5,568446438),ce=ae(ce,b,ee,te,y[de+14],9,-1019803690),te=ae(te,ce,b,ee,y[de+3],14,-187363961),ee=ae(ee,te,ce,b,y[de+8],20,1163531501),b=ae(b,ee,te,ce,y[de+13],5,-1444681467),ce=ae(ce,b,ee,te,y[de+2],9,-51403784),te=ae(te,ce,b,ee,y[de+7],14,1735328473),ee=ae(ee,te,ce,b,y[de+12],20,-1926607734),b=oe(b,ee,te,ce,y[de+5],4,-378558),ce=oe(ce,b,ee,te,y[de+8],11,-2022574463),te=oe(te,ce,b,ee,y[de+11],16,1839030562),ee=oe(ee,te,ce,b,y[de+14],23,-35309556),b=oe(b,ee,te,ce,y[de+1],4,-1530992060),ce=oe(ce,b,ee,te,y[de+4],11,1272893353),te=oe(te,ce,b,ee,y[de+7],16,-155497632),ee=oe(ee,te,ce,b,y[de+10],23,-1094730640),b=oe(b,ee,te,ce,y[de+13],4,681279174),ce=oe(ce,b,ee,te,y[de+0],11,-358537222),te=oe(te,ce,b,ee,y[de+3],16,-722521979),ee=oe(ee,te,ce,b,y[de+6],23,76029189),b=oe(b,ee,te,ce,y[de+9],4,-640364487),ce=oe(ce,b,ee,te,y[de+12],11,-421815835),te=oe(te,ce,b,ee,y[de+15],16,530742520),ee=oe(ee,te,ce,b,y[de+2],23,-995338651),b=ne(b,ee,te,ce,y[de+0],6,-198630844),ce=ne(ce,b,ee,te,y[de+7],10,1126891415),te=ne(te,ce,b,ee,y[de+14],15,-1416354905),ee=ne(ee,te,ce,b,y[de+5],21,-57434055),b=ne(b,ee,te,ce,y[de+12],6,1700485571),ce=ne(ce,b,ee,te,y[de+3],10,-1894986606),te=ne(te,ce,b,ee,y[de+10],15,-1051523),ee=ne(ee,te,ce,b,y[de+1],21,-2054922799),b=ne(b,ee,te,ce,y[de+8],6,1873313359),ce=ne(ce,b,ee,te,y[de+15],10,-30611744),te=ne(te,ce,b,ee,y[de+6],15,-1560198380),ee=ne(ee,te,ce,b,y[de+13],21,1309151649),b=ne(b,ee,te,ce,y[de+4],6,-145523070),ce=ne(ce,b,ee,te,y[de+11],10,-1120210379),te=ne(te,ce,b,ee,y[de+2],15,718787259),ee=ne(ee,te,ce,b,y[de+9],21,-343485551),b=z(b,ge),ee=z(ee,ve),te=z(te,pe),ce=z(ce,Se)}return Array(b,ee,te,ce)}function le(y,x,b,ee,te,ce){return z(a(z(z(x,y),z(ee,ce)),te),b)}function ue(y,x,b,ee,te,ce,de){return le(x&b|~x&ee,y,x,te,ce,de)}function ae(y,x,b,ee,te,ce,de){return le(x&ee|b&~ee,y,x,te,ce,de)}function oe(y,x,b,ee,te,ce,de){return le(x^b^ee,y,x,te,ce,de)}function ne(y,x,b,ee,te,ce,de){return le(b^(x|~ee),y,x,te,ce,de)}function z(y,x){var b=(y&65535)+(x&65535),ee=(y>>16)+(x>>16)+(b>>16);return ee<<16|b&65535}function a(y,x){return y<<x|y>>>32-x}he.exports=function(x){return se.hash(x,ie,16)}},{"./helpers":462}],464:[function(E,he,fe){"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 z=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,ee=-1009589776,te=0;te<oe.length;te+=16){for(var ce=a,de=y,ge=x,ve=b,pe=ee,Se=0;Se<80;Se++){Se<16?z[Se]=oe[te+Se]:z[Se]=ae(z[Se-3]^z[Se-8]^z[Se-14]^z[Se-16],1);var ye=ue(ue(ae(a,5),ie(Se,y,x,b)),ue(ue(ee,z[Se]),le(Se)));ee=b,b=x,x=ae(y,30),y=a,a=ye}a=ue(a,ce),y=ue(y,de),x=ue(x,ge),b=ue(b,ve),ee=ue(ee,pe)}return Array(a,y,x,b,ee)}function ie(oe,ne,z,a){return oe<20?ne&z|~ne&a:oe<40?ne^z^a:oe<60?ne&z|ne&a|z&a:ne^z^a}function le(oe){return oe<20?1518500249:oe<40?1859775393:oe<60?-1894007588:-899497514}function ue(oe,ne){var z=(oe&65535)+(ne&65535),a=(oe>>16)+(ne>>16)+(z>>16);return a<<16|z&65535}function ae(oe,ne){return oe<<ne|oe>>>32-ne}he.exports=function(ne){return se.hash(ne,re,20,!0)}},{"./helpers":462}],465:[function(E,he,fe){"use strict";he.exports=function(){return function(){}}},{}],466:[function(E,he,fe){(function(se){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),ie=re(E("@babel/runtime/helpers/typeof")),le=E("stream"),ue=le.Stream,ae=E("../lib/common/utils/isArray"),oe=ae.isArray;he.exports.string=function(a){return typeof a=="string"},he.exports.array=oe,he.exports.buffer=se.isBuffer;function ne(z){return z instanceof ue}he.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,he,fe){"use strict";var se=E("immediate"),re=he.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,he,fe){(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"),ue=E("builtin-status-codes"),ae=E("url"),oe=fe;oe.request=function(ne,z){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,ee=ne.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ne.url=(x?y+"//"+x:"")+(b?":"+b:"")+ee,ne.method=(ne.method||"GET").toUpperCase(),ne.headers=ne.headers||{};var te=new re(ne);return z&&te.on("response",z),te},oe.get=function(z,a){var y=oe.request(z,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=ue,oe.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,he,fe){(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"),fe.fetch=oe(se.fetch)&&oe(se.ReadableStream),fe.writableStream=oe(se.WritableStream),fe.abortController=oe(se.AbortController),fe.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),fe.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 z=ie();if(!z)return!1;try{return z.responseType=ne,z.responseType===ne}catch(a){}return!1}var ue=typeof se.ArrayBuffer!="undefined",ae=ue&&oe(se.ArrayBuffer.prototype.slice);fe.arraybuffer=fe.fetch||ue&&le("arraybuffer"),fe.msstream=!fe.fetch&&ae&&le("ms-stream"),fe.mozchunkedarraybuffer=!fe.fetch&&ue&&le("moz-chunked-arraybuffer"),fe.overrideMimeType=fe.fetch||(ie()?oe(ie().overrideMimeType):!1),fe.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,he,fe){(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"),ue=E("inherits"),ae=E("./response"),oe=E("readable-stream"),ne=E("to-arraybuffer"),z=ae.IncomingMessage,a=ae.readyStates;function y(te,ce){return le.fetch&&ce?"fetch":le.mozchunkedarraybuffer?"moz-chunked-arraybuffer":le.msstream?"ms-stream":le.arraybuffer&&te?"arraybuffer":le.vbArray&&te?"text:vbarray":"text"}var x=he.exports=function(te){var ce=this;oe.Writable.call(ce),ce._opts=te,ce._body=[],ce._headers={},te.auth&&ce.setHeader("Authorization","Basic "+new ie(te.auth).toString("base64")),Object.keys(te.headers).forEach(function(ve){ce.setHeader(ve,te.headers[ve])});var de,ge=!0;if(te.mode==="disable-fetch"||"requestTimeout"in te&&!le.abortController)ge=!1,de=!0;else if(te.mode==="prefer-streaming")de=!1;else if(te.mode==="allow-wrong-content-type")de=!le.overrideMimeType;else if(!te.mode||te.mode==="default"||te.mode==="prefer-fast")de=!0;else throw new Error("Invalid value for opts.mode");ce._mode=y(de,ge),ce._fetchTimer=null,ce.on("finish",function(){ce._onFinish()})};ue(x,oe.Writable),x.prototype.setHeader=function(te,ce){var de=this,ge=te.toLowerCase();ee.indexOf(ge)===-1&&(de._headers[ge]={name:te,value:ce})},x.prototype.getHeader=function(te){var ce=this._headers[te.toLowerCase()];return ce?ce.value:null},x.prototype.removeHeader=function(te){var ce=this;delete ce._headers[te.toLowerCase()]},x.prototype._onFinish=function(){var te=this;if(!te._destroyed){var ce=te._opts,de=te._headers,ge=null;ce.method!=="GET"&&ce.method!=="HEAD"&&(le.arraybuffer?ge=ne(ie.concat(te._body)):le.blobConstructor?ge=new re.Blob(te._body.map(function(we){return ne(we)}),{type:(de["content-type"]||{}).value||""}):ge=ie.concat(te._body).toString());var ve=[];if(Object.keys(de).forEach(function(we){var Le=de[we].name,Ee=de[we].value;Array.isArray(Ee)?Ee.forEach(function(Te){ve.push([Le,Te])}):ve.push([Le,Ee])}),te._mode==="fetch"){var pe=null,Se=null;if(le.abortController){var ye=new AbortController;pe=ye.signal,te._fetchAbortController=ye,"requestTimeout"in ce&&ce.requestTimeout!==0&&(te._fetchTimer=re.setTimeout(function(){te.emit("requestTimeout"),te._fetchAbortController&&te._fetchAbortController.abort()},ce.requestTimeout))}re.fetch(te._opts.url,{method:te._opts.method,headers:ve,body:ge||void 0,mode:"cors",credentials:ce.withCredentials?"include":"same-origin",signal:pe}).then(function(we){te._fetchResponse=we,te._connect()},function(we){re.clearTimeout(te._fetchTimer),te._destroyed||te.emit("error",we)})}else{var Pe=te._xhr=new re.XMLHttpRequest;try{Pe.open(te._opts.method,te._opts.url,!0)}catch(we){se.nextTick(function(){te.emit("error",we)});return}"responseType"in Pe&&(Pe.responseType=te._mode.split(":")[0]),"withCredentials"in Pe&&(Pe.withCredentials=!!ce.withCredentials),te._mode==="text"&&"overrideMimeType"in Pe&&Pe.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ce&&(Pe.timeout=ce.requestTimeout,Pe.ontimeout=function(){te.emit("requestTimeout")}),ve.forEach(function(we){Pe.setRequestHeader(we[0],we[1])}),te._response=null,Pe.onreadystatechange=function(){switch(Pe.readyState){case a.LOADING:case a.DONE:te._onXHRProgress();break}},te._mode==="moz-chunked-arraybuffer"&&(Pe.onprogress=function(){te._onXHRProgress()}),Pe.onerror=function(){te._destroyed||te.emit("error",new Error("XHR error"))};try{Pe.send(ge)}catch(we){se.nextTick(function(){te.emit("error",we)});return}}}};function b(te){try{var ce=te.status;return ce!==null&&ce!==0}catch(de){return!1}}x.prototype._onXHRProgress=function(){var te=this;!b(te._xhr)||te._destroyed||(te._response||te._connect(),te._response._onXHRProgress())},x.prototype._connect=function(){var te=this;te._destroyed||(te._response=new z(te._xhr,te._fetchResponse,te._mode,te._fetchTimer),te._response.on("error",function(ce){te.emit("error",ce)}),te.emit("response",te._response))},x.prototype._write=function(te,ce,de){var ge=this;ge._body.push(te),de()},x.prototype.abort=x.prototype.destroy=function(){var te=this;te._destroyed=!0,re.clearTimeout(te._fetchTimer),te._response&&(te._response._destroyed=!0),te._xhr?te._xhr.abort():te._fetchAbortController&&te._fetchAbortController.abort()},x.prototype.end=function(te,ce,de){var ge=this;typeof te=="function"&&(de=te,te=void 0),oe.Writable.prototype.end.call(ge,te,ce,de)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var ee=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,he,fe){(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"),ue=E("inherits"),ae=E("readable-stream"),oe=fe.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ne=fe.IncomingMessage=function(z,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 ee=function pe(){ce.read().then(function(Se){if(!b._destroyed){if(Se.done){re.clearTimeout(x),b.push(null);return}b.push(new ie(Se.value)),pe()}}).catch(function(Se){re.clearTimeout(x),b._destroyed||b.emit("error",Se)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(pe,Se){b.headers[Se.toLowerCase()]=pe,b.rawHeaders.push(Se,pe)}),le.writableStream){var te=new WritableStream({write:function(Se){return new Promise(function(ye,Pe){b._destroyed?Pe():b.push(new ie(Se))?ye():b._resumeFetch=ye})},close:function(){re.clearTimeout(x),b._destroyed||b.push(null)},abort:function(Se){b._destroyed||b.emit("error",Se)}});try{a.body.pipeTo(te).catch(function(pe){re.clearTimeout(x),b._destroyed||b.emit("error",pe)});return}catch(pe){}}var ce=a.body.getReader();ee()}else{b._xhr=z,b._pos=0,b.url=z.responseURL,b.statusCode=z.status,b.statusMessage=z.statusText;var de=z.getAllResponseHeaders().split(/\r?\n/);if(de.forEach(function(pe){var Se=pe.match(/^([^:]+):\s*(.*)/);if(Se){var ye=Se[1].toLowerCase();ye==="set-cookie"?(b.headers[ye]===void 0&&(b.headers[ye]=[]),b.headers[ye].push(Se[2])):b.headers[ye]!==void 0?b.headers[ye]+=", "+Se[2]:b.headers[ye]=Se[2],b.rawHeaders.push(Se[1],Se[2])}}),b._charset="x-user-defined",!le.overrideMimeType){var ge=b.rawHeaders["mime-type"];if(ge){var ve=ge.match(/;\s*charset=([^;])(;|$)/);ve&&(b._charset=ve[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};ue(ne,ae.Readable),ne.prototype._read=function(){var z=this,a=z._resumeFetch;a&&(z._resumeFetch=null,a())},ne.prototype._onXHRProgress=function(){var z=this,a=z._xhr,y=null;switch(z._mode){case"text:vbarray":if(a.readyState!==oe.DONE)break;try{y=new re.VBArray(a.responseBody).toArray()}catch(ce){}if(y!==null){z.push(new ie(y));break}case"text":try{y=a.responseText}catch(ce){z._mode="text:vbarray";break}if(y.length>z._pos){var x=y.substr(z._pos);if(z._charset==="x-user-defined"){for(var b=new ie(x.length),ee=0;ee<x.length;ee++)b[ee]=x.charCodeAt(ee)&255;z.push(b)}else z.push(x,z._charset);z._pos=y.length}break;case"arraybuffer":if(a.readyState!==oe.DONE||!a.response)break;y=a.response,z.push(new ie(new Uint8Array(y)));break;case"moz-chunked-arraybuffer":if(y=a.response,a.readyState!==oe.LOADING||!y)break;z.push(new ie(new Uint8Array(y)));break;case"ms-stream":if(y=a.response,a.readyState!==oe.LOADING)break;var te=new re.MSStreamReader;te.onprogress=function(){te.result.byteLength>z._pos&&(z.push(new ie(new Uint8Array(te.result.slice(z._pos)))),z._pos=te.result.byteLength)},te.onload=function(){z.push(null)},te.readAsArrayBuffer(y);break}z._xhr.readyState===oe.DONE&&z._mode!=="ms-stream"&&z.push(null)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,he,fe){"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");fe.parse=Se,fe.resolve=Pe,fe.resolveObject=we,fe.format=ye,fe.Url=ue;function ue(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ae=/^([a-z0-9.+-]+:)/i,oe=/:[0-9]*$/,ne=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,z=["<",">",'"',"`"," ","\r",`
`," "],a=["{","}","|","\\","^","`"].concat(z),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],ee=255,te=/^[+a-z0-9A-Z_-]{0,63}$/,ce=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,de={javascript:!0,"javascript:":!0},ge={javascript:!0,"javascript:":!0},ve={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},pe=E("querystring");function Se(Le,Ee,Te){if(Le&&le.isObject(Le)&&Le instanceof ue)return Le;var Ce=new ue;return Ce.parse(Le,Ee,Te),Ce}ue.prototype.parse=function(Le,Ee,Te){if(!le.isString(Le))throw new TypeError("Parameter 'url' must be a string, not "+(0,re.default)(Le));var Ce=Le.indexOf("?"),Ae=Ce!==-1&&Ce<Le.indexOf("#")?"?":"#",Ie=Le.split(Ae),He=/\\/g;Ie[0]=Ie[0].replace(He,"/"),Le=Ie.join(Ae);var je=Le;if(je=je.trim(),!Te&&Le.split("#").length===1){var tt=ne.exec(je);if(tt)return this.path=je,this.href=je,this.pathname=tt[1],tt[2]?(this.search=tt[2],Ee?this.query=pe.parse(this.search.substr(1)):this.query=this.search.substr(1)):Ee&&(this.search="",this.query={}),this}var Je=ae.exec(je);if(Je){Je=Je[0];var Qe=Je.toLowerCase();this.protocol=Qe,je=je.substr(Je.length)}if(Te||Je||je.match(/^\/\/[^@\/]+@[^@\/]+/)){var Xe=je.substr(0,2)==="//";Xe&&!(Je&&ge[Je])&&(je=je.substr(2),this.slashes=!0)}if(!ge[Je]&&(Xe||Je&&!ve[Je])){for(var $e=-1,ke=0;ke<b.length;ke++){var Ue=je.indexOf(b[ke]);Ue!==-1&&($e===-1||Ue<$e)&&($e=Ue)}var qe,Ye;$e===-1?Ye=je.lastIndexOf("@"):Ye=je.lastIndexOf("@",$e),Ye!==-1&&(qe=je.slice(0,Ye),je=je.slice(Ye+1),this.auth=decodeURIComponent(qe)),$e=-1;for(var ke=0;ke<x.length;ke++){var Ue=je.indexOf(x[ke]);Ue!==-1&&($e===-1||Ue<$e)&&($e=Ue)}$e===-1&&($e=je.length),this.host=je.slice(0,$e),je=je.slice($e),this.parseHost(),this.hostname=this.hostname||"";var ft=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ft)for(var We=this.hostname.split("."),ke=0,Ke=We.length;ke<Ke;ke++){var Re=We[ke];if(Re&&!Re.match(te)){for(var et="",Me=0,Ge=Re.length;Me<Ge;Me++)Re.charCodeAt(Me)>127?et+="x":et+=Re[Me];if(!et.match(te)){var Ve=We.slice(0,ke),Ze=We.slice(ke+1),Fe=Re.match(ce);Fe&&(Ve.push(Fe[1]),Ze.unshift(Fe[2])),Ze.length&&(je="/"+Ze.join(".")+je),this.hostname=Ve.join(".");break}}}this.hostname.length>ee?this.hostname="":this.hostname=this.hostname.toLowerCase(),ft||(this.hostname=ie.toASCII(this.hostname));var Oe=this.port?":"+this.port:"",_e=this.hostname||"";this.host=_e+Oe,this.href+=this.host,ft&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),je[0]!=="/"&&(je="/"+je))}if(!de[Qe])for(var ke=0,Ke=y.length;ke<Ke;ke++){var Ne=y[ke];if(je.indexOf(Ne)!==-1){var ze=encodeURIComponent(Ne);ze===Ne&&(ze=escape(Ne)),je=je.split(Ne).join(ze)}}var ot=je.indexOf("#");ot!==-1&&(this.hash=je.substr(ot),je=je.slice(0,ot));var gt=je.indexOf("?");if(gt!==-1?(this.search=je.substr(gt),this.query=je.substr(gt+1),Ee&&(this.query=pe.parse(this.query)),je=je.slice(0,gt)):Ee&&(this.search="",this.query={}),je&&(this.pathname=je),ve[Qe]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Oe=this.pathname||"",yt=this.search||"";this.path=Oe+yt}return this.href=this.format(),this};function ye(Le){return le.isString(Le)&&(Le=Se(Le)),Le instanceof ue?Le.format():ue.prototype.format.call(Le)}ue.prototype.format=function(){var Le=this.auth||"";Le&&(Le=encodeURIComponent(Le),Le=Le.replace(/%3A/i,":"),Le+="@");var Ee=this.protocol||"",Te=this.pathname||"",Ce=this.hash||"",Ae=!1,Ie="";this.host?Ae=Le+this.host:this.hostname&&(Ae=Le+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Ae+=":"+this.port)),this.query&&le.isObject(this.query)&&Object.keys(this.query).length&&(Ie=pe.stringify(this.query));var He=this.search||Ie&&"?"+Ie||"";return Ee&&Ee.substr(-1)!==":"&&(Ee+=":"),this.slashes||(!Ee||ve[Ee])&&Ae!==!1?(Ae="//"+(Ae||""),Te&&Te.charAt(0)!=="/"&&(Te="/"+Te)):Ae||(Ae=""),Ce&&Ce.charAt(0)!=="#"&&(Ce="#"+Ce),He&&He.charAt(0)!=="?"&&(He="?"+He),Te=Te.replace(/[?#]/g,function(je){return encodeURIComponent(je)}),He=He.replace("#","%23"),Ee+Ae+Te+He+Ce};function Pe(Le,Ee){return Se(Le,!1,!0).resolve(Ee)}ue.prototype.resolve=function(Le){return this.resolveObject(Se(Le,!1,!0)).format()};function we(Le,Ee){return Le?Se(Le,!1,!0).resolveObject(Ee):Ee}ue.prototype.resolveObject=function(Le){if(le.isString(Le)){var Ee=new ue;Ee.parse(Le,!1,!0),Le=Ee}for(var Te=new ue,Ce=Object.keys(this),Ae=0;Ae<Ce.length;Ae++){var Ie=Ce[Ae];Te[Ie]=this[Ie]}if(Te.hash=Le.hash,Le.href==="")return Te.href=Te.format(),Te;if(Le.slashes&&!Le.protocol){for(var He=Object.keys(Le),je=0;je<He.length;je++){var tt=He[je];tt!=="protocol"&&(Te[tt]=Le[tt])}return ve[Te.protocol]&&Te.hostname&&!Te.pathname&&(Te.path=Te.pathname="/"),Te.href=Te.format(),Te}if(Le.protocol&&Le.protocol!==Te.protocol){if(!ve[Le.protocol]){for(var Je=Object.keys(Le),Qe=0;Qe<Je.length;Qe++){var Xe=Je[Qe];Te[Xe]=Le[Xe]}return Te.href=Te.format(),Te}if(Te.protocol=Le.protocol,!Le.host&&!ge[Le.protocol]){for(var Ke=(Le.pathname||"").split("/");Ke.length&&!(Le.host=Ke.shift()););Le.host||(Le.host=""),Le.hostname||(Le.hostname=""),Ke[0]!==""&&Ke.unshift(""),Ke.length<2&&Ke.unshift(""),Te.pathname=Ke.join("/")}else Te.pathname=Le.pathname;if(Te.search=Le.search,Te.query=Le.query,Te.host=Le.host||"",Te.auth=Le.auth,Te.hostname=Le.hostname||Le.host,Te.port=Le.port,Te.pathname||Te.search){var $e=Te.pathname||"",ke=Te.search||"";Te.path=$e+ke}return Te.slashes=Te.slashes||Le.slashes,Te.href=Te.format(),Te}var Ue=Te.pathname&&Te.pathname.charAt(0)==="/",qe=Le.host||Le.pathname&&Le.pathname.charAt(0)==="/",Ye=qe||Ue||Te.host&&Le.pathname,ft=Ye,We=Te.pathname&&Te.pathname.split("/")||[],Ke=Le.pathname&&Le.pathname.split("/")||[],Re=Te.protocol&&!ve[Te.protocol];if(Re&&(Te.hostname="",Te.port=null,Te.host&&(We[0]===""?We[0]=Te.host:We.unshift(Te.host)),Te.host="",Le.protocol&&(Le.hostname=null,Le.port=null,Le.host&&(Ke[0]===""?Ke[0]=Le.host:Ke.unshift(Le.host)),Le.host=null),Ye=Ye&&(Ke[0]===""||We[0]==="")),qe)Te.host=Le.host||Le.host===""?Le.host:Te.host,Te.hostname=Le.hostname||Le.hostname===""?Le.hostname:Te.hostname,Te.search=Le.search,Te.query=Le.query,We=Ke;else if(Ke.length)We||(We=[]),We.pop(),We=We.concat(Ke),Te.search=Le.search,Te.query=Le.query;else if(!le.isNullOrUndefined(Le.search)){if(Re){Te.hostname=Te.host=We.shift();var et=Te.host&&Te.host.indexOf("@")>0?Te.host.split("@"):!1;et&&(Te.auth=et.shift(),Te.host=Te.hostname=et.shift())}return Te.search=Le.search,Te.query=Le.query,(!le.isNull(Te.pathname)||!le.isNull(Te.search))&&(Te.path=(Te.pathname?Te.pathname:"")+(Te.search?Te.search:"")),Te.href=Te.format(),Te}if(!We.length)return Te.pathname=null,Te.search?Te.path="/"+Te.search:Te.path=null,Te.href=Te.format(),Te;for(var Me=We.slice(-1)[0],Ge=(Te.host||Le.host||We.length>1)&&(Me==="."||Me==="..")||Me==="",Ve=0,Ze=We.length;Ze>=0;Ze--)Me=We[Ze],Me==="."?We.splice(Ze,1):Me===".."?(We.splice(Ze,1),Ve++):Ve&&(We.splice(Ze,1),Ve--);if(!Ye&&!ft)for(;Ve--;Ve)We.unshift("..");Ye&&We[0]!==""&&(!We[0]||We[0].charAt(0)!=="/")&&We.unshift(""),Ge&&We.join("/").substr(-1)!=="/"&&We.push("");var Fe=We[0]===""||We[0]&&We[0].charAt(0)==="/";if(Re){Te.hostname=Te.host=Fe?"":We.length?We.shift():"";var et=Te.host&&Te.host.indexOf("@")>0?Te.host.split("@"):!1;et&&(Te.auth=et.shift(),Te.host=Te.hostname=et.shift())}return Ye=Ye||Te.host&&We.length,Ye&&!Fe&&We.unshift(""),We.length?Te.pathname=We.join("/"):(Te.pathname=null,Te.path=null),(!le.isNull(Te.pathname)||!le.isNull(Te.search))&&(Te.path=(Te.pathname?Te.pathname:"")+(Te.search?Te.search:"")),Te.auth=Le.auth||Te.auth,Te.slashes=Te.slashes||Le.slashes,Te.href=Te.format(),Te},ue.prototype.parseHost=function(){var Le=this.host,Ee=oe.exec(Le);Ee&&(Ee=Ee[0],Ee!==":"&&(this.port=Ee.substr(1)),Le=Le.substr(0,Le.length-Ee.length)),Le&&(this.hostname=Le)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,he,fe){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),re=se(E("@babel/runtime/helpers/typeof"));he.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,he,fe){"use strict";E("core-js/modules/es.number.constructor.js"),fe.encodeURIComponent=function(se){try{return encodeURIComponent(se)}catch(re){return se}},fe.escape=E("escape-html"),fe.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,he,fe){(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 ue=E("util"),ae=E("url"),oe=E("http"),ne=E("https"),z=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function ee(ge,ve){return ge===void 0?ve:ge}function te(ge){return ge?ge.split(";")[0].trim().toLowerCase():""}function ce(ge,ve){return function(pe,Se,ye){if(pe)return ve(pe);ge({data:Se,status:ye.statusCode,headers:ye.headers,res:ye})}}fe.TIMEOUTS=[a("300s"),a("300s")];var de=["json","text"];fe.request=function(ve,pe,Se){return arguments.length===2&&typeof pe=="function"&&(Se=pe,pe=null),typeof Se=="function"?fe.requestWithCallback(ve,pe,Se):new Promise(function(ye,Pe){fe.requestWithCallback(ve,pe,ce(ye,Pe))})},fe.requestWithCallback=function(ve,pe,Se){if(!ve||typeof ve!="string"&&(0,le.default)(ve)!=="object"){var ye=ue.format("expect request url to be a string or a http request options, but got %j",ve);throw new Error(ye)}arguments.length===2&&typeof pe=="function"&&(Se=pe,pe=null),pe=pe||{},y>=x&&(y=0);var Pe=++y;pe.requestUrls=pe.requestUrls||[];var we={requestId:Pe,url:ve,args:pe,ctx:pe.ctx};pe.emitter&&pe.emitter.emit("request",we),pe.timeout=pe.timeout||fe.TIMEOUTS,pe.maxRedirects=pe.maxRedirects||10,pe.streaming=pe.streaming||pe.customResponse;var Le=Date.now(),Ee;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),Ee=ae.parse(ve)):Ee=ve;var Te=(pe.type||pe.method||Ee.method||"GET").toUpperCase(),Ce=Ee.port||80,Ae=oe,Ie=ee(pe.agent,fe.agent),He=pe.fixJSONCtlChars;Ee.protocol==="https:"&&(Ae=ne,Ie=ee(pe.httpsAgent,fe.httpsAgent),Ee.port||(Ce=443));var je={host:Ee.hostname||Ee.host||"localhost",path:Ee.path||"/",method:Te,port:Ce,agent:Ie,headers:pe.headers||{},lookup:pe.lookup};Array.isArray(pe.timeout)?je.requestTimeout=pe.timeout[pe.timeout.length-1]:typeof pe.timeout!="undefined"&&(je.requestTimeout=pe.timeout);var tt=pe.auth||Ee.auth;tt&&(je.auth=tt);var Je=pe.content||pe.data,Qe=Te==="GET"||Te==="HEAD"||pe.dataAsQueryString;if(!pe.content&&Je&&!(typeof Je=="string"||re.isBuffer(Je)))if(Qe)Je=pe.nestedQuerystring?qs.stringify(Je):querystring.stringify(Je);else{var Xe=je.headers["Content-Type"]||je.headers["content-type"];Xe||(pe.contentType==="json"?Xe="application/json":Xe="application/x-www-form-urlencoded",je.headers["Content-Type"]=Xe),te(Xe)==="application/json"?Je=JSON.stringify(Je):Je=pe.nestedQuerystring?qs.stringify(Je):querystring.stringify(Je)}Qe&&Je&&(je.path+=(Ee.query?"&":"?")+Je,Je=null);var $e=0;if(Je){var ke=Je.length;re.isBuffer(Je)||(ke=re.byteLength(Je)),$e=je.headers["Content-Length"]=ke}pe.dataType==="json"&&(je.headers.Accept="application/json"),typeof pe.beforeRequest=="function"&&pe.beforeRequest(je);var Ue=null,qe=null,Ye=null,ft=!1,We=!1,Ke=0,Re=-1,et=!1,Me="",Ge="",Ve=null;pe.timing&&(Ve={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ze(){Ue&&(clearTimeout(Ue),Ue=null)}function Fe(){qe&&(clearTimeout(qe),qe=null)}function Oe(at,Mt,st){if(Fe(),!Se){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Pe,se.pid,je.method,ve),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=Se;Se=null;var bt={};st&&(Re=st.statusCode,bt=st.headers);var Lt=Date.now()-Le;Ve&&(Ve.contentDownload=Lt),z("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Lt,Ke,Re,je.method,je.host,je.path,We,Ve);var Dt={status:Re,statusCode:Re,headers:bt,size:Ke,aborted:et,rt:Lt,keepAliveSocket:We,data:Mt,requestUrls:pe.requestUrls,timing:Ve,remoteAddress:Me,remotePort:Ge};if(at){var Yt="";Ie&&typeof Ie.getCurrentStatus=="function"&&(Yt=", agent status: "+JSON.stringify(Ie.getCurrentStatus())),at.message+=", "+je.method+" "+ve+" "+Re+" (connected: "+ft+", keepalive socket: "+We+Yt+`)
headers: `+JSON.stringify(bt),at.data=Mt,at.path=je.path,at.status=Re,at.headers=bt,at.res=Dt}pt(at,Mt,pe.streaming?st:Dt),pe.emitter&&(we.url=ve,we.socket=At&&At.connection,we.options=je,we.size=$e,pe.emitter.emit("response",{requestId:Pe,error:at,ctx:pe.ctx,req:we,res:Dt}))}function _e(at){var Mt=null;if(pe.followRedirect&&statuses.redirect[at.statusCode]){pe._followRedirectCount=(pe._followRedirectCount||0)+1;var st=at.headers.location;if(!st)Mt=new Error("Got statusCode "+at.statusCode+" but cannot resolve next location from headers"),Mt.name="FollowRedirectError";else if(pe._followRedirectCount>pe.maxRedirects)Mt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),Mt.name="MaxRedirectError";else{var pt=pe.formatRedirectUrl?pe.formatRedirectUrl(ve,st):ae.resolve(ve,st);z("Request#%d %s: `redirected` from %s to %s",Pe,je.path,ve,pt),Fe(),pe.headers&&pe.headers.Host&&b.test(st)&&(pe.headers.Host=null);var bt=Se;return Se=null,fe.requestWithCallback(pt,pe,bt),{redirect:!0,error:null}}}return{redirect:!1,error:Mt}}pe.gzip&&!je.headers["Accept-Encoding"]&&!je.headers["accept-encoding"]&&(je.headers["Accept-Encoding"]="gzip");function Ne(at,Mt,st){var pt=at.headers["content-encoding"];return st(null,Mt,pt)}var ze=pe.writeStream;z("Request#%d %s %s with headers %j, options.path: %s",Pe,Te,ve,je.headers,je.path),pe.requestUrls.push(ve);function ot(at){if(Ve&&(Ve.waiting=Date.now()-Le),z("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,ve,at.statusCode,at.headers),pe.streaming){var Mt=_e(at);if(Mt.redirect){at.resume();return}return Mt.error?(at.resume(),Oe(Mt.error,null,at)):Oe(null,null,at)}if(at.on("close",function(){z("Request#%d %s: `res close` event emit, total size %d",Pe,ve,Ke)}),at.on("error",function(){z("Request#%d %s: `res error` event emit, total size %d",Pe,ve,Ke)}),at.on("aborted",function(){et=!0,z("Request#%d %s: `res aborted` event emit, total size %d",Pe,ve,Ke)}),ze){var st=_e(at);if(st.redirect){at.resume();return}return st.error?(at.resume(),ze.end(),Oe(st.error,null,at)):(pe.consumeWriteStream===!1?at.on("end",Oe.bind(null,null,null,at)):ze.on("close",function(){z("Request#%d %s: writeStream close event emitted",Pe,ve),Oe(Ye||null,null,at)}),at.pipe(ze))}var pt=[];at.on("data",function(bt){z("Request#%d %s: `res data` event emit, size %d",Pe,ve,bt.length),Ke+=bt.length,pt.push(bt)}),at.on("end",function(){var bt=re.concat(pt,Ke);if(z("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,ve,Ke,at._dumped),Ye)return Oe(Ye,bt,at);var Lt=_e(at);if(Lt.error)return Oe(Lt.error,bt,at);Lt.redirect||Ne(at,bt,function(Dt,Yt,_n){if(Dt)return Oe(Dt,bt,at);if(!_n&&de.indexOf(pe.dataType)>=0){try{Yt=decodeBodyByCharset(Yt,at)}catch(On){return z("decodeBodyByCharset error: %s",On),Oe(null,Yt,at)}if(pe.dataType==="json")if(Ke===0)Yt=null;else{var Cn=parseJSON(Yt,He);Cn.error?Dt=Cn.error:Yt=Cn.data}}et&&z("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,ve),Oe(Dt,Yt,at)})})}var gt,yt;Array.isArray(pe.timeout)?(gt=a(pe.timeout[0]),yt=a(pe.timeout[1])):gt=yt=a(pe.timeout),z("ConnectTimeout: %d, ResponseTimeout: %d",gt,yt);function nt(){z("Connect timer ticking, timeout: %d",gt),Ue=setTimeout(function(){Ue=null,Re===-1&&(Re=-2);var at="Connect timeout for "+gt+"ms",Mt="ConnectionTimeoutError";At.socket||(Mt="SocketAssignTimeoutError",at+=", working sockets is full"),Ye=new Error(at),Ye.name=Mt,Ye.requestId=Pe,z("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,ve,Ye.name,at,ft),kt()},gt)}function mt(){z("Response timer ticking, timeout: %d",yt),qe=setTimeout(function(){qe=null;var at="Response timeout for "+yt+"ms",Mt="ResponseTimeoutError";Ye=new Error(at),Ye.name=Mt,Ye.requestId=Pe,z("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,ve,Ye.name,at,ft),kt()},yt)}var At;je.mode=pe.mode?pe.mode:"";try{At=Ae.request(je,ot)}catch(at){return Oe(at)}typeof window=="undefined"?nt():At.on("requestTimeout",function(){Re===-1&&(Re=-2);var at="Connect timeout for "+gt+"ms",Mt="ConnectionTimeoutError";Ye=new Error(at),Ye.name=Mt,Ye.requestId=Pe,kt()});function kt(){z("Request#%d %s abort, connected: %s",Pe,ve,ft),At.socket||(Ye.noSocket=!0,Oe(Ye)),At.abort()}return Ve&&At.on("finish",function(){Ve.requestSent=Date.now()-Le}),At.once("socket",function(at){Ve&&(Ve.queuing=Date.now()-Le);var Mt=at.readyState;if(Mt==="opening"){at.once("lookup",function(st,pt,bt){z("Request#%d %s lookup: %s, %s, %s",Pe,ve,st,pt,bt),Ve&&(Ve.dnslookup=Date.now()-Le),pt&&(Me=pt)}),at.once("connect",function(){Ve&&(Ve.connected=Date.now()-Le),Ze(),mt(),z("Request#%d %s new socket connected",Pe,ve),ft=!0,Me||(Me=at.remoteAddress),Ge=at.remotePort});return}z("Request#%d %s reuse socket connected, readyState: %s",Pe,ve,Mt),ft=!0,We=!0,Me||(Me=at.remoteAddress),Ge=at.remotePort,Ze(),mt()}),At.on("error",function(at){(at.name==="Error"||at.name==="TypeError")&&(at.name=ft?"ResponseError":"RequestError"),at.message+=' (req "error")',z("Request#%d %s `req error` event emit, %s: %s",Pe,ve,at.name,at.message),Oe(Ye||at)}),ze&&ze.once("error",function(at){at.message+=' (writeStream "error")',Ye=at,z("Request#%d %s `writeStream error` event emit, %s: %s",Pe,ve,at.name,at.message),kt()}),pe.stream?(pe.stream.pipe(At),pe.stream.once("error",function(at){at.message+=' (stream "error")',Ye=at,z("Request#%d %s `readStream error` event emit, %s: %s",Pe,ve,at.name,at.message),kt()})):At.end(Je),At.requestId=Pe,At}}).call(this)}).call(this,E("_process"),E("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},38780:function(Ct,dt){"use strict";function me(){const be=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let xe=1;xe<arguments.length;xe++){const E=xe<0||arguments.length<=xe?void 0:arguments[xe];E&&Object.keys(E).forEach(he=>{const fe=E[he];fe!==void 0&&(be[he]=fe)})}return be}dt.Z=me},81643:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return be}});const be=xe=>xe?typeof xe=="function"?xe():xe:null},66367:function(Ct,dt,me){"use strict";me.d(dt,{F:function(){return be},Z:function(){return xe}});function be(E){return E!=null&&E===E.window}function xe(E,he){var fe,se;if(typeof window=="undefined")return 0;const re=he?"scrollTop":"scrollLeft";let ie=0;return be(E)?ie=E[he?"pageYOffset":"pageXOffset"]:E instanceof Document?ie=E.documentElement[re]:(E instanceof HTMLElement||E)&&(ie=E[re]),E&&!be(E)&&typeof ie!="number"&&(ie=(se=((fe=E.ownerDocument)!==null&&fe!==void 0?fe:E).documentElement)===null||se===void 0?void 0:se[re]),ie}},57838:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return xe}});var be=me(67294);function xe(){const[,E]=be.useReducer(he=>he+1,0);return E}},58375:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return he}});var be=me(96523);function xe(fe,se,re,ie){const le=re-se;return fe/=ie/2,fe<1?le/2*fe*fe*fe+se:le/2*((fe-=2)*fe*fe+2)+se}var E=me(66367);function he(fe){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:ie,duration:le=450}=se,ue=re(),ae=(0,E.Z)(ue,!0),oe=Date.now(),ne=()=>{const a=Date.now()-oe,y=xe(a>le?le:a,ae,fe,le);(0,E.F)(ue)?ue.scrollTo(window.pageXOffset,y):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=y:ue.scrollTop=y,a<le?(0,be.Z)(ne):typeof ie=="function"&&ie()};(0,be.Z)(ne)}},84567:function(Ct,dt,me){"use strict";me.d(dt,{default:function(){return ve}});var be=me(94184),xe=me.n(be),E=me(95860),he=me(67294),fe=me(53124),se=me(98866),re=me(65223),le=he.createContext(null),ue=me(63185),ae=me(45353),oe=me(92429),ne=function(pe,Se){var ye={};for(var Pe in pe)Object.prototype.hasOwnProperty.call(pe,Pe)&&Se.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++)Se.indexOf(Pe[we])<0&&Object.prototype.propertyIsEnumerable.call(pe,Pe[we])&&(ye[Pe[we]]=pe[Pe[we]]);return ye};const z=(pe,Se)=>{var ye;const{prefixCls:Pe,className:we,rootClassName:Le,children:Ee,indeterminate:Te=!1,style:Ce,onMouseEnter:Ae,onMouseLeave:Ie,skipGroup:He=!1,disabled:je}=pe,tt=ne(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Je,direction:Qe,checkbox:Xe}=he.useContext(fe.E_),$e=he.useContext(le),{isFormItemInput:ke}=he.useContext(re.aM),Ue=he.useContext(se.Z),qe=(ye=($e==null?void 0:$e.disabled)||je)!==null&&ye!==void 0?ye:Ue,Ye=he.useRef(tt.value);he.useEffect(()=>{$e==null||$e.registerValue(tt.value)},[]),he.useEffect(()=>{if(!He)return tt.value!==Ye.current&&($e==null||$e.cancelValue(Ye.current),$e==null||$e.registerValue(tt.value),Ye.current=tt.value),()=>$e==null?void 0:$e.cancelValue(tt.value)},[tt.value]);const ft=Je("checkbox",Pe),[We,Ke]=(0,ue.ZP)(ft),Re=Object.assign({},tt);$e&&!He&&(Re.onChange=function(){tt.onChange&&tt.onChange.apply(tt,arguments),$e.toggleOption&&$e.toggleOption({label:Ee,value:tt.value})},Re.name=$e.name,Re.checked=$e.value.includes(tt.value));const et=xe()(`${ft}-wrapper`,{[`${ft}-rtl`]:Qe==="rtl",[`${ft}-wrapper-checked`]:Re.checked,[`${ft}-wrapper-disabled`]:qe,[`${ft}-wrapper-in-form-item`]:ke},Xe==null?void 0:Xe.className,we,Le,Ke),Me=xe()({[`${ft}-indeterminate`]:Te},oe.A,Ke),Ge=Te?"mixed":void 0;return We(he.createElement(ae.Z,{component:"Checkbox",disabled:qe},he.createElement("label",{className:et,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Ce),onMouseEnter:Ae,onMouseLeave:Ie},he.createElement(E.Z,Object.assign({"aria-checked":Ge},Re,{prefixCls:ft,className:Me,disabled:qe,ref:Se})),Ee!==void 0&&he.createElement("span",null,Ee))))};var y=he.forwardRef(z),x=me(74902),b=me(10366),ee=function(pe,Se){var ye={};for(var Pe in pe)Object.prototype.hasOwnProperty.call(pe,Pe)&&Se.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++)Se.indexOf(Pe[we])<0&&Object.prototype.propertyIsEnumerable.call(pe,Pe[we])&&(ye[Pe[we]]=pe[Pe[we]]);return ye};const te=(pe,Se)=>{const{defaultValue:ye,children:Pe,options:we=[],prefixCls:Le,className:Ee,rootClassName:Te,style:Ce,onChange:Ae}=pe,Ie=ee(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:He,direction:je}=he.useContext(fe.E_),[tt,Je]=he.useState(Ie.value||ye||[]),[Qe,Xe]=he.useState([]);he.useEffect(()=>{"value"in Ie&&Je(Ie.value||[])},[Ie.value]);const $e=he.useMemo(()=>we.map(Ve=>typeof Ve=="string"||typeof Ve=="number"?{label:Ve,value:Ve}:Ve),[we]),ke=Ve=>{Xe(Ze=>Ze.filter(Fe=>Fe!==Ve))},Ue=Ve=>{Xe(Ze=>[].concat((0,x.Z)(Ze),[Ve]))},qe=Ve=>{const Ze=tt.indexOf(Ve.value),Fe=(0,x.Z)(tt);Ze===-1?Fe.push(Ve.value):Fe.splice(Ze,1),"value"in Ie||Je(Fe),Ae==null||Ae(Fe.filter(Oe=>Qe.includes(Oe)).sort((Oe,_e)=>{const Ne=$e.findIndex(ot=>ot.value===Oe),ze=$e.findIndex(ot=>ot.value===_e);return Ne-ze}))},Ye=He("checkbox",Le),ft=`${Ye}-group`,[We,Ke]=(0,ue.ZP)(Ye),Re=(0,b.Z)(Ie,["value","disabled"]),et=we.length?$e.map(Ve=>he.createElement(y,{prefixCls:Ye,key:Ve.value.toString(),disabled:"disabled"in Ve?Ve.disabled:Ie.disabled,value:Ve.value,checked:tt.includes(Ve.value),onChange:Ve.onChange,className:`${ft}-item`,style:Ve.style,title:Ve.title},Ve.label)):Pe,Me={toggleOption:qe,value:tt,disabled:Ie.disabled,name:Ie.name,registerValue:Ue,cancelValue:ke},Ge=xe()(ft,{[`${ft}-rtl`]:je==="rtl"},Ee,Te,Ke);return We(he.createElement("div",Object.assign({className:Ge,style:Ce},Re,{ref:Se}),he.createElement(le.Provider,{value:Me},et)))},ce=he.forwardRef(te);var de=he.memo(ce);const ge=y;ge.Group=de,ge.__ANT_CHECKBOX=!0;var ve=ge},63185:function(Ct,dt,me){"use strict";me.d(dt,{C2:function(){return fe}});var be=me(14747),xe=me(45503),E=me(67968);const he=se=>{const{checkboxCls:re}=se,ie=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,be.Wf)(se)),{display:"inline-flex",flexWrap:"wrap",columnGap:se.marginXS,[`> ${se.antCls}-row`]:{flex:1}}),[ie]:Object.assign(Object.assign({},(0,be.Wf)(se)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ie}`]:{marginInlineStart:0},[`&${ie}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,be.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,be.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 fe(se,re){const ie=(0,xe.TS)(re,{checkboxCls:`.${se}`,checkboxSize:re.controlInteractiveSize});return[he(ie)]}dt.ZP=(0,E.Z)("Checkbox",(se,re)=>{let{prefixCls:ie}=re;return[fe(ie,se)]})},72565:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return Do}});var be=me(94184),xe=me.n(be),E=me(1413),he=me(97685),fe=me(67294),se=me(73935);function re(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ie={};function le(Et,Pt){}function ue(Et,Pt){}function ae(){ie={}}function oe(Et,Pt,Zt){!Pt&&!ie[Zt]&&(Et(!1,Zt),ie[Zt]=!0)}function ne(Et,Pt){oe(le,Et,Pt)}function z(Et,Pt){oe(ue,Et,Pt)}var a=null,y=me(71002),x=me(18459);function b(Et,Pt,Zt){var on=fe.useRef({});return(!("value"in on.current)||Zt(on.current.condition,Pt))&&(on.current.value=Et(),on.current.condition=Pt),on.current.value}function ee(Et,Pt){typeof Et=="function"?Et(Pt):(0,y.Z)(Et)==="object"&&Et&&"current"in Et&&(Et.current=Pt)}function te(){for(var Et=arguments.length,Pt=new Array(Et),Zt=0;Zt<Et;Zt++)Pt[Zt]=arguments[Zt];var on=Pt.filter(function(gn){return gn});return on.length<=1?on[0]:function(gn){Pt.forEach(function(Un){ee(Un,gn)})}}function ce(){for(var Et=arguments.length,Pt=new Array(Et),Zt=0;Zt<Et;Zt++)Pt[Zt]=arguments[Zt];return b(function(){return te.apply(void 0,Pt)},Pt,function(on,gn){return on.length===gn.length&&on.every(function(Un,cr){return Un===gn[cr]})})}function de(Et){var Pt,Zt,on=(0,x.isMemo)(Et)?Et.type.type:Et.type;return!(typeof on=="function"&&!((Pt=on.prototype)!==null&&Pt!==void 0&&Pt.render)||typeof Et=="function"&&!((Zt=Et.prototype)!==null&&Zt!==void 0&&Zt.render))}var ge=fe.createContext(null),ve=ge,pe=me(74902),Se=re()?fe.useLayoutEffect:fe.useEffect,ye=Se,Pe=function(Pt,Zt){var on=React.useRef(!0);Se(function(){if(!on.current)return Pt()},Zt),Se(function(){return on.current=!1,function(){on.current=!0}},[])},we=[];function Le(Et,Pt){var Zt=fe.useState(function(){if(!re())return null;var Ft=document.createElement("div");return Ft}),on=(0,he.Z)(Zt,1),gn=on[0],Un=fe.useRef(!1),cr=fe.useContext(ve),Cr=fe.useState(we),Br=(0,he.Z)(Cr,2),Zr=Br[0],Ur=Br[1],mo=cr||(Un.current?void 0:function(Ft){Ur(function(Wt){var ut=[Ft].concat((0,pe.Z)(Wt));return ut})});function er(){gn.parentElement||document.body.appendChild(gn),Un.current=!0}function Tt(){var Ft;(Ft=gn.parentElement)===null||Ft===void 0||Ft.removeChild(gn),Un.current=!1}return ye(function(){return Et?cr?cr(er):er():Tt(),Tt},[Et]),ye(function(){Zr.length&&(Zr.forEach(function(Ft){return Ft()}),Ur(we))},[Zr]),[gn,mo]}function Ee(Et,Pt){if(!Et)return!1;if(Et.contains)return Et.contains(Pt);for(var Zt=Pt;Zt;){if(Zt===Et)return!0;Zt=Zt.parentNode}return!1}var Te="data-rc-order",Ce="rc-util-key",Ae=new Map;function Ie(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pt=Et.mark;return Pt?Pt.startsWith("data-")?Pt:"data-".concat(Pt):Ce}function He(Et){if(Et.attachTo)return Et.attachTo;var Pt=document.querySelector("head");return Pt||document.body}function je(Et){return Et==="queue"?"prependQueue":Et?"prepend":"append"}function tt(Et){return Array.from((Ae.get(Et)||Et).children).filter(function(Pt){return Pt.tagName==="STYLE"})}function Je(Et){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!re())return null;var Zt=Pt.csp,on=Pt.prepend,gn=document.createElement("style");gn.setAttribute(Te,je(on)),Zt!=null&&Zt.nonce&&(gn.nonce=Zt==null?void 0:Zt.nonce),gn.innerHTML=Et;var Un=He(Pt),cr=Un.firstChild;if(on){if(on==="queue"){var Cr=tt(Un).filter(function(Br){return["prepend","prependQueue"].includes(Br.getAttribute(Te))});if(Cr.length)return Un.insertBefore(gn,Cr[Cr.length-1].nextSibling),gn}Un.insertBefore(gn,cr)}else Un.appendChild(gn);return gn}function Qe(Et){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Zt=He(Pt);return tt(Zt).find(function(on){return on.getAttribute(Ie(Pt))===Et})}function Xe(Et){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Zt=Qe(Et,Pt);if(Zt){var on=He(Pt);on.removeChild(Zt)}}function $e(Et,Pt){var Zt=Ae.get(Et);if(!Zt||!Ee(document,Zt)){var on=Je("",Pt),gn=on.parentNode;Ae.set(Et,gn),Et.removeChild(on)}}function ke(){Ae.clear()}function Ue(Et,Pt){var Zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},on=He(Zt);$e(on,Zt);var gn=Qe(Pt,Zt);if(gn){var Un,cr;if((Un=Zt.csp)!==null&&Un!==void 0&&Un.nonce&&gn.nonce!==((cr=Zt.csp)===null||cr===void 0?void 0:cr.nonce)){var Cr;gn.nonce=(Cr=Zt.csp)===null||Cr===void 0?void 0:Cr.nonce}return gn.innerHTML!==Et&&(gn.innerHTML=Et),gn}var Br=Je(Et,Zt);return Br.setAttribute(Ie(Zt),Pt),Br}var qe;function Ye(Et){if(typeof document=="undefined")return 0;if(Et||qe===void 0){var Pt=document.createElement("div");Pt.style.width="100%",Pt.style.height="200px";var Zt=document.createElement("div"),on=Zt.style;on.position="absolute",on.top="0",on.left="0",on.pointerEvents="none",on.visibility="hidden",on.width="200px",on.height="150px",on.overflow="hidden",Zt.appendChild(Pt),document.body.appendChild(Zt);var gn=Pt.offsetWidth;Zt.style.overflow="scroll";var Un=Pt.offsetWidth;gn===Un&&(Un=Zt.clientWidth),document.body.removeChild(Zt),qe=gn-Un}return qe}function ft(Et){var Pt=Et.match(/^(.*)px$/),Zt=Number(Pt==null?void 0:Pt[1]);return Number.isNaN(Zt)?Ye():Zt}function We(Et){if(typeof document=="undefined"||!Et||!(Et instanceof Element))return{width:0,height:0};var Pt=getComputedStyle(Et,"::-webkit-scrollbar"),Zt=Pt.width,on=Pt.height;return{width:ft(Zt),height:ft(on)}}function Ke(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Re="rc-util-locker-".concat(Date.now()),et=0;function Me(Et){var Pt=!!Et,Zt=fe.useState(function(){return et+=1,"".concat(Re,"_").concat(et)}),on=(0,he.Z)(Zt,1),gn=on[0];ye(function(){if(Pt){var Un=We(document.body).width,cr=Ke();Ue(`
html body {
overflow-y: hidden;
`.concat(cr?"width: calc(100% - ".concat(Un,"px);"):"",`
}`),gn)}else Xe(gn);return function(){Xe(gn)}},[Pt,gn])}var Ge=!1;function Ve(Et){return typeof Et=="boolean"&&(Ge=Et),Ge}var Ze=function(Pt){return Pt===!1?!1:!re()||!Pt?null:typeof Pt=="string"?document.querySelector(Pt):typeof Pt=="function"?Pt():Pt},Fe=fe.forwardRef(function(Et,Pt){var Zt=Et.open,on=Et.autoLock,gn=Et.getContainer,Un=Et.debug,cr=Et.autoDestroy,Cr=cr===void 0?!0:cr,Br=Et.children,Zr=fe.useState(Zt),Ur=(0,he.Z)(Zr,2),mo=Ur[0],er=Ur[1],Tt=mo||Zt;fe.useEffect(function(){(Cr||Zt)&&er(Zt)},[Zt,Cr]);var Ft=fe.useState(function(){return Ze(gn)}),Wt=(0,he.Z)(Ft,2),ut=Wt[0],Vt=Wt[1];fe.useEffect(function(){var ur=Ze(gn);Vt(ur!=null?ur:null)});var fn=Le(Tt&&!ut,Un),Sn=(0,he.Z)(fn,2),Bt=Sn[0],Gt=Sn[1],Ht=ut!=null?ut:Bt;Me(on&&Zt&&re()&&(Ht===Bt||Ht===document.body));var Ln=null;if(Br&&de(Br)&&Pt){var Bn=Br;Ln=Bn.ref}var Yn=ce(Ln,Pt);if(!Tt||!re()||ut===void 0)return null;var Wn=Ht===!1||Ve(),rr=Br;return Pt&&(rr=fe.cloneElement(Br,{ref:Yn})),fe.createElement(ve.Provider,{value:Gt},Wn?rr:(0,se.createPortal)(rr,Ht))}),Oe=Fe,_e=Oe;function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ze=Ne()?fe.useLayoutEffect:fe.useEffect,ot=function(Pt,Zt){var on=fe.useRef(!0);ze(function(){return Pt(on.current)},Zt),ze(function(){return on.current=!1,function(){on.current=!0}},[])},gt=function(Pt,Zt){ot(function(on){if(!on)return Pt()},Zt)},yt=ot,nt=fe.createContext(null),mt=fe.createContext({}),At=nt,kt=me(4942),at=me(87462),Mt=me(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(Pt){var Zt=Pt.keyCode;if(Pt.altKey&&!Pt.ctrlKey||Pt.metaKey||Zt>=st.F1&&Zt<=st.F12)return!1;switch(Zt){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(Pt){if(Pt>=st.ZERO&&Pt<=st.NINE||Pt>=st.NUM_ZERO&&Pt<=st.NUM_MULTIPLY||Pt>=st.A&&Pt<=st.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Pt===0)return!0;switch(Pt){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,bt=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Lt=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Dt="".concat(bt," ").concat(Lt).split(/[\s\n]+/),Yt="aria-",_n="data-";function Cn(Et,Pt){return Et.indexOf(Pt)===0}function On(Et){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Zt;Pt===!1?Zt={aria:!0,data:!0,attr:!0}:Pt===!0?Zt={aria:!0}:Zt=(0,E.Z)({},Pt);var on={};return Object.keys(Et).forEach(function(gn){(Zt.aria&&(gn==="role"||Cn(gn,Yt))||Zt.data&&Cn(gn,_n)||Zt.attr&&Dt.includes(gn))&&(on[gn]=Et[gn])}),on}function Jn(Et){var Pt=React.useRef();Pt.current=Et;var Zt=React.useCallback(function(){for(var on,gn=arguments.length,Un=new Array(gn),cr=0;cr<gn;cr++)Un[cr]=arguments[cr];return(on=Pt.current)===null||on===void 0?void 0:on.call.apply(on,[Pt].concat(Un))},[]);return Zt}function dn(Et){var Pt=React.useRef(!1),Zt=React.useState(Et),on=_slicedToArray(Zt,2),gn=on[0],Un=on[1];React.useEffect(function(){return Pt.current=!1,function(){Pt.current=!0}},[]);function cr(Cr,Br){Br&&Pt.current||Un(Cr)}return[gn,cr]}function tr(Et){return Et!==void 0}function Sr(Et,Pt){var Zt=Pt||{},on=Zt.defaultValue,gn=Zt.value,Un=Zt.onChange,cr=Zt.postState,Cr=useState(function(){return tr(gn)?gn:tr(on)?typeof on=="function"?on():on:typeof Et=="function"?Et():Et}),Br=_slicedToArray(Cr,2),Zr=Br[0],Ur=Br[1],mo=gn!==void 0?gn:Zr,er=cr?cr(mo):mo,Tt=useEvent(Un),Ft=useState([mo]),Wt=_slicedToArray(Ft,2),ut=Wt[0],Vt=Wt[1];useLayoutUpdateEffect(function(){var Sn=ut[0];Zr!==Sn&&Tt(Zr,Sn)},[ut]),useLayoutUpdateEffect(function(){tr(gn)||Ur(gn)},[gn]);var fn=useEvent(function(Sn,Bt){Ur(Sn,Bt),Vt([mo],Bt)});return[er,fn]}var Qr=me(33993);function io(Et,Pt,Zt){var on=fe.useRef({});return(!("value"in on.current)||Zt(on.current.condition,Pt))&&(on.current.value=Et(),on.current.condition=Pt),on.current.value}function Kr(Et,Pt){typeof Et=="function"?Et(Pt):(0,y.Z)(Et)==="object"&&Et&&"current"in Et&&(Et.current=Pt)}function kr(){for(var Et=arguments.length,Pt=new Array(Et),Zt=0;Zt<Et;Zt++)Pt[Zt]=arguments[Zt];var on=Pt.filter(function(gn){return gn});return on.length<=1?on[0]:function(gn){Pt.forEach(function(Un){Kr(Un,gn)})}}function cn(){for(var Et=arguments.length,Pt=new Array(Et),Zt=0;Zt<Et;Zt++)Pt[Zt]=arguments[Zt];return io(function(){return kr.apply(void 0,Pt)},Pt,function(on,gn){return on.length!==gn.length||on.every(function(Un,cr){return Un!==gn[cr]})})}function Qt(Et){var Pt,Zt,on=isMemo(Et)?Et.type.type:Et.type;return!(typeof on=="function"&&!((Pt=on.prototype)!==null&&Pt!==void 0&&Pt.render)||typeof Et=="function"&&!((Zt=Et.prototype)!==null&&Zt!==void 0&&Zt.render))}function un(Et){return!isValidElement(Et)||isFragment(Et)?!1:Qt(Et)}function yn(Et,Pt,Zt,on){if(!Pt.length)return Zt;var gn=_toArray(Pt),Un=gn[0],cr=gn.slice(1),Cr;return!Et&&typeof Un=="number"?Cr=[]:Array.isArray(Et)?Cr=_toConsumableArray(Et):Cr=_objectSpread({},Et),on&&Zt===void 0&&cr.length===1?delete Cr[Un][cr[0]]:Cr[Un]=yn(Cr[Un],cr,Zt,on),Cr}function In(Et,Pt,Zt){var on=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Pt.length&&on&&Zt===void 0&&!get(Et,Pt.slice(0,-1))?Et:yn(Et,Pt,Zt,on)}function Qn(Et){return _typeof(Et)==="object"&&Et!==null&&Object.getPrototypeOf(Et)===Object.prototype}function Gn(Et){return Array.isArray(Et)?[]:{}}var wr=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function br(){for(var Et=arguments.length,Pt=new Array(Et),Zt=0;Zt<Et;Zt++)Pt[Zt]=arguments[Zt];var on=Gn(Pt[0]);return Pt.forEach(function(gn){function Un(cr,Cr){var Br=new Set(Cr),Zr=get(gn,cr),Ur=Array.isArray(Zr);if(Ur||Qn(Zr)){if(!Br.has(Zr)){Br.add(Zr);var mo=get(on,cr);Ur?on=In(on,cr,[]):(!mo||_typeof(mo)!=="object")&&(on=In(on,cr,Gn(Zr))),wr(Zr).forEach(function(er){Un([].concat(_toConsumableArray(cr),[er]),Br)})}}else on=In(on,cr,Zr)}Un([])}),on}var Kn={},wt=[],Rt=function(Pt){wt.push(Pt)};function xt(Et,Pt){if(0)var Zt}function sn(Et,Pt){if(0)var Zt}function An(){Kn={}}function Nn(Et,Pt,Zt){!Pt&&!Kn[Zt]&&(Et(!1,Zt),Kn[Zt]=!0)}function hr(Et,Pt){Nn(xt,Et,Pt)}function nr(Et,Pt){Nn(sn,Et,Pt)}hr.preMessage=Rt,hr.resetWarned=An,hr.noteOnce=nr;var fr=hr,Fr=function(Pt){var Zt=Pt.prefixCls,on=Pt.className,gn=Pt.style,Un=Pt.children,cr=Pt.containerRef,Cr=Pt.id,Br=Pt.onMouseEnter,Zr=Pt.onMouseOver,Ur=Pt.onMouseLeave,mo=Pt.onClick,er=Pt.onKeyDown,Tt=Pt.onKeyUp,Ft={onMouseEnter:Br,onMouseOver:Zr,onMouseLeave:Ur,onClick:mo,onKeyDown:er,onKeyUp:Tt},Wt=fe.useContext(mt),ut=Wt.panel,Vt=cn(ut,cr);return fe.createElement(fe.Fragment,null,fe.createElement("div",(0,at.Z)({id:Cr,className:xe()("".concat(Zt,"-content"),on),style:(0,E.Z)({},gn),"aria-modal":"true",role:"dialog",ref:Vt},Ft),Un))},Jr=Fr;function hn(Et){return typeof Et=="string"&&String(Number(Et))===Et?(fr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Et)):Et}function Tr(Et){warning(!("wrapperClassName"in Et),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Et.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ot={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function qt(Et,Pt){var Zt,on,gn,Un,cr=Et.prefixCls,Cr=Et.open,Br=Et.placement,Zr=Et.inline,Ur=Et.push,mo=Et.forceRender,er=Et.autoFocus,Tt=Et.keyboard,Ft=Et.rootClassName,Wt=Et.rootStyle,ut=Et.zIndex,Vt=Et.className,fn=Et.id,Sn=Et.style,Bt=Et.motion,Gt=Et.width,Ht=Et.height,Ln=Et.children,Bn=Et.contentWrapperStyle,Yn=Et.mask,Wn=Et.maskClosable,rr=Et.maskMotion,ur=Et.maskClassName,bn=Et.maskStyle,$t=Et.afterOpenChange,ln=Et.onClose,Pn=Et.onMouseEnter,Hn=Et.onMouseOver,ir=Et.onMouseLeave,vr=Et.onClick,jr=Et.onKeyDown,pr=Et.onKeyUp,ct=fe.useRef(),it=fe.useRef(),St=fe.useRef();fe.useImperativeHandle(Pt,function(){return ct.current});var Nt=function(fo){var $r=fo.keyCode,wo=fo.shiftKey;switch($r){case pt.TAB:{if($r===pt.TAB){if(!wo&&document.activeElement===St.current){var Io;(Io=it.current)===null||Io===void 0||Io.focus({preventScroll:!0})}else if(wo&&document.activeElement===it.current){var Qo;(Qo=St.current)===null||Qo===void 0||Qo.focus({preventScroll:!0})}}break}case pt.ESC:{ln&&Tt&&(fo.stopPropagation(),ln(fo));break}}};fe.useEffect(function(){if(Cr&&er){var _r;(_r=ct.current)===null||_r===void 0||_r.focus({preventScroll:!0})}},[Cr]);var Ut=fe.useState(!1),nn=(0,he.Z)(Ut,2),pn=nn[0],xn=nn[1],Mn=fe.useContext(At),Dn;Ur===!1?Dn={distance:0}:Ur===!0?Dn={}:Dn=Ur||{};var or=(Zt=(on=(gn=Dn)===null||gn===void 0?void 0:gn.distance)!==null&&on!==void 0?on:Mn==null?void 0:Mn.pushDistance)!==null&&Zt!==void 0?Zt:180,ar=fe.useMemo(function(){return{pushDistance:or,push:function(){xn(!0)},pull:function(){xn(!1)}}},[or]);fe.useEffect(function(){if(Cr){var _r;Mn==null||(_r=Mn.push)===null||_r===void 0||_r.call(Mn)}else{var fo;Mn==null||(fo=Mn.pull)===null||fo===void 0||fo.call(Mn)}},[Cr]),fe.useEffect(function(){return function(){var _r;Mn==null||(_r=Mn.pull)===null||_r===void 0||_r.call(Mn)}},[]);var Gr=Yn&&fe.createElement(Mt.Z,(0,at.Z)({key:"mask"},rr,{visible:Cr}),function(_r,fo){var $r=_r.className,wo=_r.style;return fe.createElement("div",{className:xe()("".concat(cr,"-mask"),$r,ur),style:(0,E.Z)((0,E.Z)({},wo),bn),onClick:Wn&&Cr?ln:void 0,ref:fo})}),Vr=typeof Bt=="function"?Bt(Br):Bt,Nr={};if(pn&&or)switch(Br){case"top":Nr.transform="translateY(".concat(or,"px)");break;case"bottom":Nr.transform="translateY(".concat(-or,"px)");break;case"left":Nr.transform="translateX(".concat(or,"px)");break;default:Nr.transform="translateX(".concat(-or,"px)");break}Br==="left"||Br==="right"?Nr.width=hn(Gt):Nr.height=hn(Ht);var Yr={onMouseEnter:Pn,onMouseOver:Hn,onMouseLeave:ir,onClick:vr,onKeyDown:jr,onKeyUp:pr},so=fe.createElement(Mt.Z,(0,at.Z)({key:"panel"},Vr,{visible:Cr,forceRender:mo,onVisibleChanged:function(fo){$t==null||$t(fo)},removeOnLeave:!1,leavedClassName:"".concat(cr,"-content-wrapper-hidden")}),function(_r,fo){var $r=_r.className,wo=_r.style;return fe.createElement("div",(0,at.Z)({className:xe()("".concat(cr,"-content-wrapper"),$r),style:(0,E.Z)((0,E.Z)((0,E.Z)({},Nr),wo),Bn)},On(Et,{data:!0})),fe.createElement(Jr,(0,at.Z)({id:fn,containerRef:fo,prefixCls:cr,className:Vt,style:Sn},Yr),Ln))}),co=(0,E.Z)({},Wt);return ut&&(co.zIndex=ut),fe.createElement(At.Provider,{value:ar},fe.createElement("div",{className:xe()(cr,"".concat(cr,"-").concat(Br),Ft,(Un={},(0,kt.Z)(Un,"".concat(cr,"-open"),Cr),(0,kt.Z)(Un,"".concat(cr,"-inline"),Zr),Un)),style:co,tabIndex:-1,ref:ct,onKeyDown:Nt},Gr,fe.createElement("div",{tabIndex:0,ref:it,style:Ot,"aria-hidden":"true","data-sentinel":"start"}),so,fe.createElement("div",{tabIndex:0,ref:St,style:Ot,"aria-hidden":"true","data-sentinel":"end"})))}var Xt=fe.forwardRef(qt),tn=Xt,Tn=function(Pt){var Zt=Pt.open,on=Zt===void 0?!1:Zt,gn=Pt.prefixCls,Un=gn===void 0?"rc-drawer":gn,cr=Pt.placement,Cr=cr===void 0?"right":cr,Br=Pt.autoFocus,Zr=Br===void 0?!0:Br,Ur=Pt.keyboard,mo=Ur===void 0?!0:Ur,er=Pt.width,Tt=er===void 0?378:er,Ft=Pt.mask,Wt=Ft===void 0?!0:Ft,ut=Pt.maskClosable,Vt=ut===void 0?!0:ut,fn=Pt.getContainer,Sn=Pt.forceRender,Bt=Pt.afterOpenChange,Gt=Pt.destroyOnClose,Ht=Pt.onMouseEnter,Ln=Pt.onMouseOver,Bn=Pt.onMouseLeave,Yn=Pt.onClick,Wn=Pt.onKeyDown,rr=Pt.onKeyUp,ur=Pt.panelRef,bn=fe.useState(!1),$t=(0,he.Z)(bn,2),ln=$t[0],Pn=$t[1],Hn=fe.useState(!1),ir=(0,he.Z)(Hn,2),vr=ir[0],jr=ir[1];yt(function(){jr(!0)},[]);var pr=vr?on:!1,ct=fe.useRef(),it=fe.useRef();yt(function(){pr&&(it.current=document.activeElement)},[pr]);var St=function(xn){var Mn;if(Pn(xn),Bt==null||Bt(xn),!xn&&it.current&&!((Mn=ct.current)!==null&&Mn!==void 0&&Mn.contains(it.current))){var Dn;(Dn=it.current)===null||Dn===void 0||Dn.focus({preventScroll:!0})}},Nt=fe.useMemo(function(){return{panel:ur}},[ur]);if(!Sn&&!ln&&!pr&&Gt)return null;var Ut={onMouseEnter:Ht,onMouseOver:Ln,onMouseLeave:Bn,onClick:Yn,onKeyDown:Wn,onKeyUp:rr},nn=(0,E.Z)((0,E.Z)({},Pt),{},{open:pr,prefixCls:Un,placement:Cr,autoFocus:Zr,keyboard:mo,width:Tt,mask:Wt,maskClosable:Vt,inline:fn===!1,afterOpenChange:St,ref:ct},Ut);return fe.createElement(mt.Provider,{value:Nt},fe.createElement(_e,{open:pr||Sn||ln,autoDestroy:!1,getContainer:fn,autoLock:Wt&&(pr||ln)},fe.createElement(tn,nn)))},Jt=Tn,En=Jt,rn=me(33603),gr=me(53124),qn=me(65223),xr=me(69760),to=Et=>{const{prefixCls:Pt,title:Zt,footer:on,extra:gn,closeIcon:Un,closable:cr,onClose:Cr,headerStyle:Br,drawerStyle:Zr,bodyStyle:Ur,footerStyle:mo,children:er}=Et,Tt=fe.useCallback(fn=>fe.createElement("button",{type:"button",onClick:Cr,"aria-label":"Close",className:`${Pt}-close`},fn),[Cr]),[Ft,Wt]=(0,xr.Z)(cr,Un,Tt,void 0,!0),ut=fe.useMemo(()=>!Zt&&!Ft?null:fe.createElement("div",{style:Br,className:xe()(`${Pt}-header`,{[`${Pt}-header-close-only`]:Ft&&!Zt&&!gn})},fe.createElement("div",{className:`${Pt}-header-title`},Wt,Zt&&fe.createElement("div",{className:`${Pt}-title`},Zt)),gn&&fe.createElement("div",{className:`${Pt}-extra`},gn)),[Ft,Wt,gn,Br,Pt,Zt]),Vt=fe.useMemo(()=>{if(!on)return null;const fn=`${Pt}-footer`;return fe.createElement("div",{className:fn,style:mo},on)},[on,mo,Pt]);return fe.createElement("div",{className:`${Pt}-wrapper-body`,style:Zr},ut,fe.createElement("div",{className:`${Pt}-body`,style:Ur},er),Vt)},an=me(4173),lo=me(67968),Mo=me(45503),xo=Et=>{const{componentCls:Pt,motionDurationSlow:Zt}=Et,on={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Zt}`}}};return{[Pt]:{[`${Pt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Zt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Pt}-panel-motion`]:{"&-left":[on,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[on,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[on,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[on,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Rn=Et=>{const{componentCls:Pt,zIndexPopup:Zt,colorBgMask:on,colorBgElevated:gn,motionDurationSlow:Un,motionDurationMid:cr,padding:Cr,paddingLG:Br,fontSizeLG:Zr,lineHeightLG:Ur,lineWidth:mo,lineType:er,colorSplit:Tt,marginSM:Ft,colorIcon:Wt,colorIconHover:ut,colorText:Vt,fontWeightStrong:fn,footerPaddingBlock:Sn,footerPaddingInline:Bt}=Et,Gt=`${Pt}-content-wrapper`;return{[Pt]:{position:"fixed",inset:0,zIndex:Zt,pointerEvents:"none","&-pure":{position:"relative",background:gn,[`&${Pt}-left`]:{boxShadow:Et.boxShadowDrawerLeft},[`&${Pt}-right`]:{boxShadow:Et.boxShadowDrawerRight},[`&${Pt}-top`]:{boxShadow:Et.boxShadowDrawerUp},[`&${Pt}-bottom`]:{boxShadow:Et.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Pt}-mask`]:{position:"absolute",inset:0,zIndex:Zt,background:on,pointerEvents:"auto"},[Gt]:{position:"absolute",zIndex:Zt,maxWidth:"100vw",transition:`all ${Un}`,"&-hidden":{display:"none"}},[`&-left > ${Gt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Et.boxShadowDrawerLeft},[`&-right > ${Gt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Et.boxShadowDrawerRight},[`&-top > ${Gt}`]:{top:0,insetInline:0,boxShadow:Et.boxShadowDrawerUp},[`&-bottom > ${Gt}`]:{bottom:0,insetInline:0,boxShadow:Et.boxShadowDrawerDown},[`${Pt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:gn,pointerEvents:"auto"},[`${Pt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Pt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Cr}px ${Br}px`,fontSize:Zr,lineHeight:Ur,borderBottom:`${mo}px ${er} ${Tt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Pt}-extra`]:{flex:"none"},[`${Pt}-close`]:{display:"inline-block",marginInlineEnd:Ft,color:Wt,fontWeight:fn,fontSize:Zr,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${cr}`,textRendering:"auto","&:focus, &:hover":{color:ut,textDecoration:"none"}},[`${Pt}-title`]:{flex:1,margin:0,color:Vt,fontWeight:Et.fontWeightStrong,fontSize:Zr,lineHeight:Ur},[`${Pt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Br,overflow:"auto"},[`${Pt}-footer`]:{flexShrink:0,padding:`${Sn}px ${Bt}px`,borderTop:`${mo}px ${er} ${Tt}`},"&-rtl":{direction:"rtl"}}}};var Zn=(0,lo.Z)("Drawer",Et=>{const Pt=(0,Mo.TS)(Et,{});return[Rn(Pt),xo(Pt)]},Et=>({zIndexPopup:Et.zIndexPopupBase,footerPaddingBlock:Et.paddingXS,footerPaddingInline:Et.padding})),Pr=me(16569),jn=function(Et,Pt){var Zt={};for(var on in Et)Object.prototype.hasOwnProperty.call(Et,on)&&Pt.indexOf(on)<0&&(Zt[on]=Et[on]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gn=0,on=Object.getOwnPropertySymbols(Et);gn<on.length;gn++)Pt.indexOf(on[gn])<0&&Object.prototype.propertyIsEnumerable.call(Et,on[gn])&&(Zt[on[gn]]=Et[on[gn]]);return Zt};const no=null,zr={distance:180},jo=Et=>{var Pt;const{rootClassName:Zt,width:on,height:gn,size:Un="default",mask:cr=!0,push:Cr=zr,open:Br,afterOpenChange:Zr,onClose:Ur,prefixCls:mo,getContainer:er,style:Tt,className:Ft,visible:Wt,afterVisibleChange:ut}=Et,Vt=jn(Et,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:fn,getPrefixCls:Sn,direction:Bt,drawer:Gt}=fe.useContext(gr.E_),Ht=Sn("drawer",mo),[Ln,Bn]=Zn(Ht),Yn=er===void 0&&fn?()=>fn(document.body):er,Wn=xe()({"no-mask":!cr,[`${Ht}-rtl`]:Bt==="rtl"},Zt,Bn),rr=fe.useMemo(()=>on!=null?on:Un==="large"?736:378,[on,Un]),ur=fe.useMemo(()=>gn!=null?gn:Un==="large"?736:378,[gn,Un]),bn={motionName:(0,rn.m)(Ht,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$t=Pn=>({motionName:(0,rn.m)(Ht,`panel-motion-${Pn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),ln=(0,Pr.H)();return Ln(fe.createElement(an.BR,null,fe.createElement(qn.Ux,{status:!0,override:!0},fe.createElement(En,Object.assign({prefixCls:Ht,onClose:Ur,maskMotion:bn,motion:$t},Vt,{open:Br!=null?Br:Wt,mask:cr,push:Cr,width:rr,height:ur,style:Object.assign(Object.assign({},Gt==null?void 0:Gt.style),Tt),className:xe()(Gt==null?void 0:Gt.className,Ft),rootClassName:Wn,getContainer:Yn,afterOpenChange:Zr!=null?Zr:ut,panelRef:ln}),fe.createElement(to,Object.assign({prefixCls:Ht},Vt,{onClose:Ur}))))))},No=Et=>{const{prefixCls:Pt,style:Zt,className:on,placement:gn="right"}=Et,Un=jn(Et,["prefixCls","style","className","placement"]),{getPrefixCls:cr}=fe.useContext(gr.E_),Cr=cr("drawer",Pt),[Br,Zr]=Zn(Cr),Ur=xe()(Cr,`${Cr}-pure`,`${Cr}-${gn}`,Zr,on);return Br(fe.createElement("div",{className:Ur,style:Zt},fe.createElement(to,Object.assign({prefixCls:Cr},Un))))};jo._InternalPanelDoNotUseOrYouWillBeFired=No;var Do=jo},35874:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return Ze}});var be=me(67294),xe=me(91034),E=me(94184),he=me.n(E),fe=me(87462),se=me(4942),re=me(97685),ie=me(45987),le=me(62709),ue=me(71002),ae=me(12060);function oe(Fe,Oe,_e){var Ne=React.useRef({});return(!("value"in Ne.current)||_e(Ne.current.condition,Oe))&&(Ne.current.value=Fe(),Ne.current.condition=Oe),Ne.current.value}function ne(Fe,Oe){typeof Fe=="function"?Fe(Oe):(0,ue.Z)(Fe)==="object"&&Fe&&"current"in Fe&&(Fe.current=Oe)}function z(){for(var Fe=arguments.length,Oe=new Array(Fe),_e=0;_e<Fe;_e++)Oe[_e]=arguments[_e];var Ne=Oe.filter(function(ze){return ze});return Ne.length<=1?Ne[0]:function(ze){Oe.forEach(function(ot){ne(ot,ze)})}}function a(){for(var Fe=arguments.length,Oe=new Array(Fe),_e=0;_e<Fe;_e++)Oe[_e]=arguments[_e];return useMemo(function(){return z.apply(void 0,Oe)},Oe,function(Ne,ze){return Ne.length===ze.length&&Ne.every(function(ot,gt){return ot===ze[gt]})})}function y(Fe){var Oe,_e,Ne=(0,ae.isMemo)(Fe)?Fe.type.type:Fe.type;return!(typeof Ne=="function"&&!((Oe=Ne.prototype)!==null&&Oe!==void 0&&Oe.render)||typeof Fe=="function"&&!((_e=Fe.prototype)!==null&&_e!==void 0&&_e.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(Oe){var _e=Oe.keyCode;if(Oe.altKey&&!Oe.ctrlKey||Oe.metaKey||_e>=x.F1&&_e<=x.F12)return!1;switch(_e){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(Oe){if(Oe>=x.ZERO&&Oe<=x.NINE||Oe>=x.NUM_ZERO&&Oe<=x.NUM_MULTIPLY||Oe>=x.A&&Oe<=x.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Oe===0)return!0;switch(Oe){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,ee=function(Oe){return+setTimeout(Oe,16)},te=function(Oe){return clearTimeout(Oe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ee=function(Oe){return window.requestAnimationFrame(Oe)},te=function(Oe){return window.cancelAnimationFrame(Oe)});var ce=0,de=new Map;function ge(Fe){de.delete(Fe)}var ve=function(Oe){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ce+=1;var Ne=ce;function ze(ot){if(ot===0)ge(Ne),Oe();else{var gt=ee(function(){ze(ot-1)});de.set(Ne,gt)}}return ze(_e),Ne};ve.cancel=function(Fe){var Oe=de.get(Fe);return ge(Oe),te(Oe)};var pe=ve,Se=b.ESC,ye=b.TAB;function Pe(Fe){var Oe=Fe.visible,_e=Fe.triggerRef,Ne=Fe.onVisibleChange,ze=Fe.autoFocus,ot=Fe.overlayRef,gt=be.useRef(!1),yt=function(){if(Oe){var kt,at;(kt=_e.current)===null||kt===void 0||(at=kt.focus)===null||at===void 0||at.call(kt),Ne==null||Ne(!1)}},nt=function(){var kt;return(kt=ot.current)!==null&&kt!==void 0&&kt.focus?(ot.current.focus(),gt.current=!0,!0):!1},mt=function(kt){switch(kt.keyCode){case Se:yt();break;case ye:{var at=!1;gt.current||(at=nt()),at?kt.preventDefault():yt();break}}};be.useEffect(function(){return Oe?(window.addEventListener("keydown",mt),ze&&pe(nt,3),function(){window.removeEventListener("keydown",mt),gt.current=!1}):function(){gt.current=!1}},[Oe])}var we=(0,be.forwardRef)(function(Fe,Oe){var _e=Fe.overlay,Ne=Fe.arrow,ze=Fe.prefixCls,ot=(0,be.useMemo)(function(){var yt;return typeof _e=="function"?yt=_e():yt=_e,yt},[_e]),gt=z(Oe,ot==null?void 0:ot.ref);return be.createElement(be.Fragment,null,Ne&&be.createElement("div",{className:"".concat(ze,"-arrow")}),be.cloneElement(ot,{ref:y(ot)?gt:void 0}))}),Le=we,Ee={adjustX:1,adjustY:1},Te=[0,0],Ce={topLeft:{points:["bl","tl"],overflow:Ee,offset:[0,-4],targetOffset:Te},top:{points:["bc","tc"],overflow:Ee,offset:[0,-4],targetOffset:Te},topRight:{points:["br","tr"],overflow:Ee,offset:[0,-4],targetOffset:Te},bottomLeft:{points:["tl","bl"],overflow:Ee,offset:[0,4],targetOffset:Te},bottom:{points:["tc","bc"],overflow:Ee,offset:[0,4],targetOffset:Te},bottomRight:{points:["tr","br"],overflow:Ee,offset:[0,4],targetOffset:Te}},Ae=Ce,Ie=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function He(Fe,Oe){var _e,Ne=Fe.arrow,ze=Ne===void 0?!1:Ne,ot=Fe.prefixCls,gt=ot===void 0?"rc-dropdown":ot,yt=Fe.transitionName,nt=Fe.animation,mt=Fe.align,At=Fe.placement,kt=At===void 0?"bottomLeft":At,at=Fe.placements,Mt=at===void 0?Ae:at,st=Fe.getPopupContainer,pt=Fe.showAction,bt=Fe.hideAction,Lt=Fe.overlayClassName,Dt=Fe.overlayStyle,Yt=Fe.visible,_n=Fe.trigger,Cn=_n===void 0?["hover"]:_n,On=Fe.autoFocus,Jn=Fe.overlay,dn=Fe.children,tr=Fe.onVisibleChange,Sr=(0,ie.Z)(Fe,Ie),Qr=be.useState(),io=(0,re.Z)(Qr,2),Kr=io[0],kr=io[1],cn="visible"in Fe?Yt:Kr,Qt=be.useRef(null),un=be.useRef(null),yn=be.useRef(null);be.useImperativeHandle(Oe,function(){return Qt.current});var In=function(sn){kr(sn),tr==null||tr(sn)};Pe({visible:cn,triggerRef:yn,onVisibleChange:In,autoFocus:On,overlayRef:un});var Qn=function(sn){var An=Fe.onOverlayClick;kr(!1),An&&An(sn)},Gn=function(){return be.createElement(Le,{ref:un,overlay:Jn,prefixCls:gt,arrow:ze})},wr=function(){return typeof Jn=="function"?Gn:Gn()},br=function(){var sn=Fe.minOverlayWidthMatchTrigger,An=Fe.alignPoint;return"minOverlayWidthMatchTrigger"in Fe?sn:!An},Kn=function(){var sn=Fe.openClassName;return sn!==void 0?sn:"".concat(gt,"-open")},wt=be.cloneElement(dn,{className:he()((_e=dn.props)===null||_e===void 0?void 0:_e.className,cn&&Kn()),ref:y(dn)?z(yn,dn.ref):void 0}),Rt=bt;return!Rt&&Cn.indexOf("contextMenu")!==-1&&(Rt=["click"]),be.createElement(le.Z,(0,fe.Z)({builtinPlacements:Mt},Sr,{prefixCls:gt,ref:Qt,popupClassName:he()(Lt,(0,se.Z)({},"".concat(gt,"-show-arrow"),ze)),popupStyle:Dt,action:Cn,showAction:pt,hideAction:Rt,popupPlacement:kt,popupAlign:mt,popupTransitionName:yt,popupAnimation:nt,popupVisible:cn,stretch:br()?"minWidth":"",popup:wr(),onPopupVisibleChange:In,onPopupClick:Qn,getPopupContainer:st}),wt)}var je=be.forwardRef(He),tt=je,Je=me(60276),Qe=me(5663),Xe=me(10366),$e=me(80636),ke=me(8745),Ue=me(96159),qe=me(53124),Ye=me(68508),ft=me(76529),We=me(46605),Ke=me(66748);const Re=null,et=Fe=>{const{menu:Oe,arrow:_e,prefixCls:Ne,children:ze,trigger:ot,disabled:gt,dropdownRender:yt,getPopupContainer:nt,overlayClassName:mt,rootClassName:At,open:kt,onOpenChange:at,visible:Mt,onVisibleChange:st,mouseEnterDelay:pt=.15,mouseLeaveDelay:bt=.1,autoAdjustOverflow:Lt=!0,placement:Dt="",overlay:Yt,transitionName:_n}=Fe,{getPopupContainer:Cn,getPrefixCls:On,direction:Jn}=be.useContext(qe.E_),dn=be.useMemo(()=>{const wt=On();return _n!==void 0?_n:Dt.includes("top")?`${wt}-slide-down`:`${wt}-slide-up`},[On,Dt,_n]),tr=be.useMemo(()=>Dt?Dt.includes("Center")?Dt.slice(0,Dt.indexOf("Center")):Dt:Jn==="rtl"?"bottomRight":"bottomLeft",[Dt,Jn]),Sr=On("dropdown",Ne),[Qr,io]=(0,Ke.Z)(Sr),[,Kr]=(0,We.Z)(),kr=be.Children.only(ze),cn=(0,Ue.Tm)(kr,{className:he()(`${Sr}-trigger`,{[`${Sr}-rtl`]:Jn==="rtl"},kr.props.className),disabled:gt}),Qt=gt?[]:ot;let un;Qt&&Qt.includes("contextMenu")&&(un=!0);const[yn,In]=(0,Qe.Z)(!1,{value:kt!=null?kt:Mt}),Qn=(0,Je.useEvent)(wt=>{at==null||at(wt),st==null||st(wt),In(wt)}),Gn=he()(mt,At,io,{[`${Sr}-rtl`]:Jn==="rtl"}),wr=(0,$e.Z)({arrowPointAtCenter:typeof _e=="object"&&_e.pointAtCenter,autoAdjustOverflow:Lt,offset:Kr.marginXXS,arrowWidth:_e?Kr.sizePopupArrow:0,borderRadius:Kr.borderRadius}),br=be.useCallback(()=>{In(!1)},[]),Kn=()=>{let wt;return Oe!=null&&Oe.items?wt=be.createElement(Ye.default,Object.assign({},Oe)):typeof Yt=="function"?wt=Yt():wt=Yt,yt&&(wt=yt(wt)),wt=be.Children.only(typeof wt=="string"?be.createElement("span",null,wt):wt),be.createElement(ft.J,{prefixCls:`${Sr}-menu`,expandIcon:be.createElement("span",{className:`${Sr}-menu-submenu-arrow`},be.createElement(xe.Z,{className:`${Sr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:br,validator:Rt=>{let{mode:xt}=Rt}},wt)};return Qr(be.createElement(tt,Object.assign({alignPoint:un},(0,Xe.Z)(Fe,["rootClassName"]),{mouseEnterDelay:pt,mouseLeaveDelay:bt,visible:yn,builtinPlacements:wr,arrow:!!_e,overlayClassName:Gn,prefixCls:Sr,getPopupContainer:nt||Cn,transitionName:dn,trigger:Qt,overlay:Kn,placement:tr,onVisibleChange:Qn}),cn))};function Me(Fe){return Object.assign(Object.assign({},Fe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Ge=(0,ke.Z)(et,"dropdown",Fe=>Fe,Me),Ve=Fe=>be.createElement(Ge,Object.assign({},Fe),be.createElement("span",null));et._InternalPanelDoNotUseOrYouWillBeFired=Ve;var Ze=et},85418:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return a}});var be=me(35874),xe=me(94184),E=me.n(xe),he=me(67294),fe=me(25877),se=me(71577),re=me(53124),ie=me(93421),le=me(4173),ue=me(66748),ae=function(y,x){var b={};for(var ee in y)Object.prototype.hasOwnProperty.call(y,ee)&&x.indexOf(ee)<0&&(b[ee]=y[ee]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ee=Object.getOwnPropertySymbols(y);te<ee.length;te++)x.indexOf(ee[te])<0&&Object.prototype.propertyIsEnumerable.call(y,ee[te])&&(b[ee[te]]=y[ee[te]]);return b};const oe=y=>{const{getPopupContainer:x,getPrefixCls:b,direction:ee}=he.useContext(re.E_),{prefixCls:te,type:ce="default",danger:de,disabled:ge,loading:ve,onClick:pe,htmlType:Se,children:ye,className:Pe,menu:we,arrow:Le,autoFocus:Ee,overlay:Te,trigger:Ce,align:Ae,open:Ie,onOpenChange:He,placement:je,getPopupContainer:tt,href:Je,icon:Qe=he.createElement(fe.Z,null),title:Xe,buttonsRender:$e=gt=>gt,mouseEnterDelay:ke,mouseLeaveDelay:Ue,overlayClassName:qe,overlayStyle:Ye,destroyPopupOnHide:ft,dropdownRender:We}=y,Ke=ae(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Re=b("dropdown",te),et=`${Re}-button`,[Me,Ge]=(0,ue.Z)(Re),Ve={menu:we,arrow:Le,autoFocus:Ee,align:Ae,disabled:ge,trigger:ge?[]:Ce,onOpenChange:He,getPopupContainer:tt||x,mouseEnterDelay:ke,mouseLeaveDelay:Ue,overlayClassName:qe,overlayStyle:Ye,destroyPopupOnHide:ft,dropdownRender:We},{compactSize:Ze,compactItemClassnames:Fe}=(0,le.ri)(Re,ee),Oe=E()(et,Fe,Pe,Ge);"overlay"in y&&(Ve.overlay=Te),"open"in y&&(Ve.open=Ie),"placement"in y?Ve.placement=je:Ve.placement=ee==="rtl"?"bottomLeft":"bottomRight";const _e=he.createElement(se.ZP,{type:ce,danger:de,disabled:ge,loading:ve,onClick:pe,htmlType:Se,href:Je,title:Xe},ye),Ne=he.createElement(se.ZP,{type:ce,danger:de,icon:Qe}),[ze,ot]=$e([_e,Ne]);return Me(he.createElement(ie.Z.Compact,Object.assign({className:Oe,size:Ze,block:!0},Ke),ze,he.createElement(be.Z,Object.assign({},Ve),ot)))};oe.__ANT_BUTTON=!0;var ne=oe;const z=be.Z;z.Button=ne;var a=z},66748:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return ae}});var be=me(14747),xe=me(67771),E=me(33297),he=me(50438),fe=me(97414),se=me(67968),re=me(45503),le=oe=>{const{componentCls:ne,menuCls:z,colorError:a,colorTextLightSolid:y}=oe,x=`${z}-item`;return{[`${ne}, ${ne}-menu-submenu`]:{[`${z} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ue=oe=>{const{componentCls:ne,menuCls:z,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:ee,motionDurationMid:te,dropdownPaddingVertical:ce,fontSize:de,dropdownEdgeChildPadding:ge,colorTextDisabled:ve,fontSizeIcon:pe,controlPaddingHorizontal:Se,colorBgElevated:ye}=oe;return[{[ne]:Object.assign(Object.assign({},(0,be.Wf)(oe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${ee}-down, & > ${b}-btn-icon > ${ee}-down`]:{fontSize:pe}},[`${ne}-wrap`]:{position:"relative",[`${b}-btn > ${ee}-down`]:{fontSize:pe},[`${ee}-down::before`]:{transition:`transform ${te}`}},[`${ne}-wrap-open`]:{[`${ee}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottomLeft,
&${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomLeft,
&${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottom,
&${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottom,
&${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottomRight,
&${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomRight`]:{animationName:xe.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topLeft,
&${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topLeft,
&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-top,
&${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-top,
&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topRight,
&${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topRight`]:{animationName:xe.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomLeft,
&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottom,
&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomRight`]:{animationName:xe.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topLeft,
&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-top,
&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topRight`]:{animationName:xe.ly}})},(0,fe.ZP)(oe,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ne} ${z}`]:{position:"relative",margin:0},[`${z}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ne}, ${ne}-menu-submenu`]:{[z]:Object.assign(Object.assign({padding:ge,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:oe.borderRadiusLG,outline:"none",boxShadow:oe.boxShadowSecondary},(0,be.Qy)(oe)),{[`${z}-item-group-title`]:{padding:`${ce}px ${Se}px`,color:oe.colorTextDescription,transition:`all ${te}`},[`${z}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${z}-item-icon`]:{minWidth:de,marginInlineEnd:oe.marginXS,fontSize:oe.fontSizeSM},[`${z}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${z}-item, ${z}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ce}px ${Se}px`,color:oe.colorText,fontWeight:"normal",fontSize:de,lineHeight:oe.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:oe.borderRadiusSM,"&:hover, &-active":{backgroundColor:oe.controlItemBgHover}},(0,be.Qy)(oe)),{"&-selected":{color:oe.colorPrimary,backgroundColor:oe.controlItemBgActive,"&:hover, &-active":{backgroundColor:oe.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${oe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:oe.colorSplit},[`${ne}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:oe.paddingXS,[`${ne}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:oe.colorTextDescription,fontSize:pe,fontStyle:"normal"}}}),[`${z}-item-group-list`]:{margin:`0 ${oe.marginXS}px`,padding:0,listStyle:"none"},[`${z}-submenu-title`]:{paddingInlineEnd:Se+oe.fontSizeSM},[`${z}-submenu-vertical`]:{position:"relative"},[`${z}-submenu${z}-submenu-disabled ${ne}-menu-submenu-title`]:{[`&, ${ne}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:ye,cursor:"not-allowed"}},[`${z}-submenu-selected ${ne}-menu-submenu-title`]:{color:oe.colorPrimary}})}},[(0,xe.oN)(oe,"slide-up"),(0,xe.oN)(oe,"slide-down"),(0,E.Fm)(oe,"move-up"),(0,E.Fm)(oe,"move-down"),(0,he._y)(oe,"zoom-big")]]};var ae=(0,se.Z)("Dropdown",(oe,ne)=>{let{rootPrefixCls:z}=ne;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:ee,paddingXXS:te,componentCls:ce,borderRadiusLG:de}=oe,ge=(x-b*ee)/2,{dropdownArrowOffset:ve}=(0,fe.fS)({contentRadius:de}),pe=(0,re.TS)(oe,{menuCls:`${ce}-menu`,rootPrefixCls:z,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:ge,dropdownEdgeChildPadding:te});return[ue(pe),le(pe)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},25378:function(Ct,dt,me){"use strict";var be=me(67294),xe=me(14075),E=me(57838),he=me(74443);function fe(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,be.useRef)({}),ie=(0,E.Z)(),le=(0,he.ZP)();return(0,xe.Z)(()=>{const ue=le.subscribe(ae=>{re.current=ae,se&&ie()});return()=>le.unsubscribe(ue)},[]),re.current}dt.Z=fe},71322:function(Ct,dt,me){"use strict";me.d(dt,{D:function(){return ee},Z:function(){return de}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},he=E,fe=me(74643),se=function(ve,pe){return xe.createElement(fe.Z,(0,be.Z)({},ve,{ref:pe,icon:he}))},re=xe.forwardRef(se),ie=me(22751),le=me(91034),ue=me(94184),ae=me.n(ue),oe=me(10366),z=ge=>!isNaN(parseFloat(ge))&&isFinite(ge),a=me(53124),y=me(84321),x=function(ge,ve){var pe={};for(var Se in ge)Object.prototype.hasOwnProperty.call(ge,Se)&&ve.indexOf(Se)<0&&(pe[Se]=ge[Se]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Se=Object.getOwnPropertySymbols(ge);ye<Se.length;ye++)ve.indexOf(Se[ye])<0&&Object.prototype.propertyIsEnumerable.call(ge,Se[ye])&&(pe[Se[ye]]=ge[Se[ye]]);return pe};const b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=xe.createContext({}),te=(()=>{let ge=0;return function(){let ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ge+=1,`${ve}${ge}`}})();var de=xe.forwardRef((ge,ve)=>{const{prefixCls:pe,className:Se,trigger:ye,children:Pe,defaultCollapsed:we=!1,theme:Le="dark",style:Ee={},collapsible:Te=!1,reverseArrow:Ce=!1,width:Ae=200,collapsedWidth:Ie=80,zeroWidthTriggerStyle:He,breakpoint:je,onCollapse:tt,onBreakpoint:Je}=ge,Qe=x(ge,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Xe}=(0,xe.useContext)(y.Gs),[$e,ke]=(0,xe.useState)("collapsed"in ge?ge.collapsed:we),[Ue,qe]=(0,xe.useState)(!1);(0,xe.useEffect)(()=>{"collapsed"in ge&&ke(ge.collapsed)},[ge.collapsed]);const Ye=(Me,Ge)=>{"collapsed"in ge||ke(Me),tt==null||tt(Me,Ge)},ft=(0,xe.useRef)();ft.current=Me=>{qe(Me.matches),Je==null||Je(Me.matches),$e!==Me.matches&&Ye(Me.matches,"responsive")},(0,xe.useEffect)(()=>{function Me(Ve){return ft.current(Ve)}let Ge;if(typeof window!="undefined"){const{matchMedia:Ve}=window;if(Ve&&je&&je in b){Ge=Ve(`(max-width: ${b[je]})`);try{Ge.addEventListener("change",Me)}catch(Ze){Ge.addListener(Me)}Me(Ge)}}return()=>{try{Ge==null||Ge.removeEventListener("change",Me)}catch(Ve){Ge==null||Ge.removeListener(Me)}}},[je]),(0,xe.useEffect)(()=>{const Me=te("ant-sider-");return Xe.addSider(Me),()=>Xe.removeSider(Me)},[]);const We=()=>{Ye(!$e,"clickTrigger")},{getPrefixCls:Ke}=(0,xe.useContext)(a.E_),Re=()=>{const Me=Ke("layout-sider",pe),Ge=(0,oe.Z)(Qe,["collapsed"]),Ve=$e?Ie:Ae,Ze=z(Ve)?`${Ve}px`:String(Ve),Fe=parseFloat(String(Ie||0))===0?xe.createElement("span",{onClick:We,className:ae()(`${Me}-zero-width-trigger`,`${Me}-zero-width-trigger-${Ce?"right":"left"}`),style:He},ye||xe.createElement(re,null)):null,Ne={expanded:Ce?xe.createElement(le.Z,null):xe.createElement(ie.Z,null),collapsed:Ce?xe.createElement(ie.Z,null):xe.createElement(le.Z,null)}[$e?"collapsed":"expanded"],ze=ye!==null?Fe||xe.createElement("div",{className:`${Me}-trigger`,onClick:We,style:{width:Ze}},ye||Ne):null,ot=Object.assign(Object.assign({},Ee),{flex:`0 0 ${Ze}`,maxWidth:Ze,minWidth:Ze,width:Ze}),gt=ae()(Me,`${Me}-${Le}`,{[`${Me}-collapsed`]:!!$e,[`${Me}-has-trigger`]:Te&&ye!==null&&!Fe,[`${Me}-below`]:!!Ue,[`${Me}-zero-width`]:parseFloat(Ze)===0},Se);return xe.createElement("aside",Object.assign({className:gt},Ge,{style:ot,ref:ve}),xe.createElement("div",{className:`${Me}-children`},Pe),Te||Ue&&Fe?ze:null)},et=xe.useMemo(()=>({siderCollapsed:$e}),[$e]);return xe.createElement(ee.Provider,{value:et},Re())})},84321:function(Ct,dt,me){"use strict";me.d(dt,{VY:function(){return te},$_:function(){return ee},h4:function(){return b},Gs:function(){return ne},ZP:function(){return ce}});var be=me(74902),xe=me(94184),E=me.n(xe),he=me(10366),fe=me(67294),se=me(53124),re=me(67968),le=de=>{const{componentCls:ge,bodyBg:ve,lightSiderBg:pe,lightTriggerBg:Se,lightTriggerColor:ye}=de;return{[`${ge}-sider-light`]:{background:pe,[`${ge}-sider-trigger`]:{color:ye,background:Se},[`${ge}-sider-zero-width-trigger`]:{color:ye,background:Se,border:`1px solid ${ve}`,borderInlineStart:0}}}};const ue=de=>{const{antCls:ge,componentCls:ve,colorText:pe,triggerColor:Se,footerBg:ye,triggerBg:Pe,headerHeight:we,headerPadding:Le,headerColor:Ee,footerPadding:Te,triggerHeight:Ce,zeroTriggerHeight:Ae,zeroTriggerWidth:Ie,motionDurationMid:He,motionDurationSlow:je,fontSize:tt,borderRadius:Je,bodyBg:Qe,headerBg:Xe,siderBg:$e}=de;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Qe,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:$e,transition:`all ${He}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ge}-menu${ge}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ce},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ce,color:Se,lineHeight:`${Ce}px`,textAlign:"center",background:Pe,cursor:"pointer",transition:`all ${He}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:we,insetInlineEnd:-Ie,zIndex:1,width:Ie,height:Ae,color:Se,fontSize:de.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:$e,borderStartStartRadius:0,borderStartEndRadius:Je,borderEndEndRadius:Je,borderEndStartRadius:0,cursor:"pointer",transition:`background ${je} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${je}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ie,borderStartStartRadius:Je,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Je}}}}},le(de)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:we,padding:Le,color:Ee,lineHeight:`${we}px`,background:Xe,[`${ge}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:Te,color:pe,fontSize:tt,background:ye},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var ae=(0,re.Z)("Layout",de=>[ue(de)],de=>{const{colorBgLayout:ge,controlHeight:ve,controlHeightLG:pe,colorText:Se,controlHeightSM:ye,marginXXS:Pe,colorTextLightSolid:we,colorBgContainer:Le}=de,Ee=pe*1.25;return{colorBgHeader:"#001529",colorBgBody:ge,colorBgTrigger:"#002140",bodyBg:ge,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${Ee}px`,headerColor:Se,footerPadding:`${ye}px ${Ee}px`,footerBg:ge,siderBg:"#001529",triggerHeight:pe+Pe*2,triggerBg:"#002140",triggerColor:we,zeroTriggerWidth:pe,zeroTriggerHeight:pe,lightSiderBg:Le,lightTriggerBg:Le,lightTriggerColor:Se}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(de,ge){var ve={};for(var pe in de)Object.prototype.hasOwnProperty.call(de,pe)&&ge.indexOf(pe)<0&&(ve[pe]=de[pe]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,pe=Object.getOwnPropertySymbols(de);Se<pe.length;Se++)ge.indexOf(pe[Se])<0&&Object.prototype.propertyIsEnumerable.call(de,pe[Se])&&(ve[pe[Se]]=de[pe[Se]]);return ve};const ne=fe.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function z(de){let{suffixCls:ge,tagName:ve,displayName:pe}=de;return Se=>fe.forwardRef((Pe,we)=>fe.createElement(Se,Object.assign({ref:we,suffixCls:ge,tagName:ve},Pe)))}const a=fe.forwardRef((de,ge)=>{const{prefixCls:ve,suffixCls:pe,className:Se,tagName:ye}=de,Pe=oe(de,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:we}=fe.useContext(se.E_),Le=we("layout",ve),[Ee,Te]=ae(Le),Ce=pe?`${Le}-${pe}`:Le;return Ee(fe.createElement(ye,Object.assign({className:E()(ve||Ce,Se,Te),ref:ge},Pe)))}),y=fe.forwardRef((de,ge)=>{const{direction:ve}=fe.useContext(se.E_),[pe,Se]=fe.useState([]),{prefixCls:ye,className:Pe,rootClassName:we,children:Le,hasSider:Ee,tagName:Te,style:Ce}=de,Ae=oe(de,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ie=(0,he.Z)(Ae,["suffixCls"]),{getPrefixCls:He,layout:je}=fe.useContext(se.E_),tt=He("layout",ye),[Je,Qe]=ae(tt),Xe=E()(tt,{[`${tt}-has-sider`]:typeof Ee=="boolean"?Ee:pe.length>0,[`${tt}-rtl`]:ve==="rtl"},je==null?void 0:je.className,Pe,we,Qe),$e=fe.useMemo(()=>({siderHook:{addSider:ke=>{Se(Ue=>[].concat((0,be.Z)(Ue),[ke]))},removeSider:ke=>{Se(Ue=>Ue.filter(qe=>qe!==ke))}}}),[]);return Je(fe.createElement(ne.Provider,{value:$e},fe.createElement(Te,Object.assign({ref:ge,className:Xe,style:Object.assign(Object.assign({},je==null?void 0:je.style),Ce)},Ie),Le)))}),x=z({tagName:"div",displayName:"Layout"})(y),b=z({suffixCls:"header",tagName:"header",displayName:"Header"})(a),ee=z({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),te=z({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ce=x},76529:function(Ct,dt,me){"use strict";me.d(dt,{J:function(){return se}});var be=me(67294),xe=me(4173),E=me(60276),he=function(re,ie){var le={};for(var ue in re)Object.prototype.hasOwnProperty.call(re,ue)&&ie.indexOf(ue)<0&&(le[ue]=re[ue]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ue=Object.getOwnPropertySymbols(re);ae<ue.length;ae++)ie.indexOf(ue[ae])<0&&Object.prototype.propertyIsEnumerable.call(re,ue[ae])&&(le[ue[ae]]=re[ue[ae]]);return le};const fe=be.createContext(null),se=be.forwardRef((re,ie)=>{const{children:le}=re,ue=he(re,["children"]),ae=be.useContext(fe),oe=be.useMemo(()=>Object.assign(Object.assign({},ae),ue),[ae,ue.prefixCls,ue.mode,ue.selectable]);return be.createElement(fe.Provider,{value:oe},be.createElement(xe.BR,null,(0,E.supportNodeRef)(le)?be.cloneElement(le,{ref:ie}):le))});dt.Z=fe},68508:function(Ct,dt,me){"use strict";me.d(dt,{default:function(){return Me}});var be=me(78595),xe=me(67294),E=me(71322),he=me(94184),fe=me.n(he),se=me(53124),re=function(Ge,Ve){var Ze={};for(var Fe in Ge)Object.prototype.hasOwnProperty.call(Ge,Fe)&&Ve.indexOf(Fe)<0&&(Ze[Fe]=Ge[Fe]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Fe=Object.getOwnPropertySymbols(Ge);Oe<Fe.length;Oe++)Ve.indexOf(Fe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Fe[Oe])&&(Ze[Fe[Oe]]=Ge[Fe[Oe]]);return Ze},le=Ge=>{const{prefixCls:Ve,className:Ze,dashed:Fe}=Ge,Oe=re(Ge,["prefixCls","className","dashed"]),{getPrefixCls:_e}=xe.useContext(se.E_),Ne=_e("menu",Ve),ze=fe()({[`${Ne}-item-divider-dashed`]:!!Fe},Ze);return xe.createElement(be.iz,Object.assign({className:ze},Oe))},ue=me(37419),ae=me(10366),oe=me(83062),ne=me(96159),a=(0,xe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Ge=>{var Ve;const{className:Ze,children:Fe,icon:Oe,title:_e,danger:Ne}=Ge,{prefixCls:ze,firstLevel:ot,direction:gt,disableMenuItemTitleTooltip:yt,inlineCollapsed:nt}=xe.useContext(a),mt=pt=>{const bt=xe.createElement("span",{className:`${ze}-title-content`},Fe);return(!Oe||(0,ne.l$)(Fe)&&Fe.type==="span")&&Fe&&pt&&ot&&typeof Fe=="string"?xe.createElement("div",{className:`${ze}-inline-collapsed-noicon`},Fe.charAt(0)):bt},{siderCollapsed:At}=xe.useContext(E.D);let kt=_e;typeof _e=="undefined"?kt=ot?Fe:"":_e===!1&&(kt="");const at={title:kt};!At&&!nt&&(at.title=null,at.open=!1);const Mt=(0,ue.Z)(Fe).length;let st=xe.createElement(be.ck,Object.assign({},(0,ae.Z)(Ge,["title","icon","danger"]),{className:fe()({[`${ze}-item-danger`]:Ne,[`${ze}-item-only-child`]:(Oe?Mt+1:Mt)===1},Ze),title:typeof _e=="string"?_e:void 0}),(0,ne.Tm)(Oe,{className:fe()((0,ne.l$)(Oe)?(Ve=Oe.props)===null||Ve===void 0?void 0:Ve.className:"",`${ze}-item-icon`)}),mt(nt));return yt||(st=xe.createElement(oe.Z,Object.assign({},at,{placement:gt==="rtl"?"left":"right",overlayClassName:`${ze}-inline-collapsed-tooltip`}),st)),st},ee=Ge=>{var Ve;const{popupClassName:Ze,icon:Fe,title:Oe,theme:_e}=Ge,Ne=xe.useContext(a),{prefixCls:ze,inlineCollapsed:ot,theme:gt}=Ne,yt=(0,be.Xl)();let nt;if(!Fe)nt=ot&&!yt.length&&Oe&&typeof Oe=="string"?xe.createElement("div",{className:`${ze}-inline-collapsed-noicon`},Oe.charAt(0)):xe.createElement("span",{className:`${ze}-title-content`},Oe);else{const At=(0,ne.l$)(Oe)&&Oe.type==="span";nt=xe.createElement(xe.Fragment,null,(0,ne.Tm)(Fe,{className:fe()((0,ne.l$)(Fe)?(Ve=Fe.props)===null||Ve===void 0?void 0:Ve.className:"",`${ze}-item-icon`)}),At?Oe:xe.createElement("span",{className:`${ze}-title-content`},Oe))}const mt=xe.useMemo(()=>Object.assign(Object.assign({},Ne),{firstLevel:!1}),[Ne]);return xe.createElement(a.Provider,{value:mt},xe.createElement(be.Wd,Object.assign({},(0,ae.Z)(Ge,["icon"]),{title:nt,popupClassName:fe()(ze,Ze,`${ze}-${_e||gt}`)})))},te=me(25877),ce=me(60276),de=me(33603),ge=me(76529),ve=function(Ge,Ve){var Ze={};for(var Fe in Ge)Object.prototype.hasOwnProperty.call(Ge,Fe)&&Ve.indexOf(Fe)<0&&(Ze[Fe]=Ge[Fe]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Fe=Object.getOwnPropertySymbols(Ge);Oe<Fe.length;Oe++)Ve.indexOf(Fe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Fe[Oe])&&(Ze[Fe[Oe]]=Ge[Fe[Oe]]);return Ze};function pe(Ge){return(Ge||[]).map((Ve,Ze)=>{if(Ve&&typeof Ve=="object"){const Fe=Ve,{label:Oe,children:_e,key:Ne,type:ze}=Fe,ot=ve(Fe,["label","children","key","type"]),gt=Ne!=null?Ne:`tmp-${Ze}`;return _e||ze==="group"?ze==="group"?xe.createElement(be.BW,Object.assign({key:gt},ot,{title:Oe}),pe(_e)):xe.createElement(ee,Object.assign({key:gt},ot,{title:Oe}),pe(_e)):ze==="divider"?xe.createElement(le,Object.assign({key:gt},ot)):xe.createElement(x,Object.assign({key:gt},ot),Oe)}return null}).filter(Ve=>Ve)}function Se(Ge){return xe.useMemo(()=>Ge&&pe(Ge),[Ge])}var ye=me(84780),Pe=me(14747),we=me(33507),Le=me(67771),Ee=me(50438),Te=me(67968),Ce=me(45503),Ie=Ge=>{const{componentCls:Ve,motionDurationSlow:Ze,horizontalLineHeight:Fe,colorSplit:Oe,lineWidth:_e,lineType:Ne,itemPaddingInline:ze}=Ge;return{[`${Ve}-horizontal`]:{lineHeight:Fe,border:0,borderBottom:`${_e}px ${Ne} ${Oe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ve}-item, ${Ve}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ze},[`> ${Ve}-item:hover,
> ${Ve}-item-active,
> ${Ve}-submenu ${Ve}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ve}-item, ${Ve}-submenu-title`]:{transition:[`border-color ${Ze}`,`background ${Ze}`].join(",")},[`${Ve}-submenu-arrow`]:{display:"none"}}}},je=Ge=>{let{componentCls:Ve,menuArrowOffset:Ze}=Ge;return{[`${Ve}-rtl`]:{direction:"rtl"},[`${Ve}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ve}-rtl${Ve}-vertical,
${Ve}-submenu-rtl ${Ve}-vertical`]:{[`${Ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ze})`},"&::after":{transform:`rotate(45deg) translateY(${Ze})`}}}}};const tt=Ge=>Object.assign({},(0,Pe.oN)(Ge));var Qe=(Ge,Ve)=>{const{componentCls:Ze,itemColor:Fe,itemSelectedColor:Oe,groupTitleColor:_e,itemBg:Ne,subMenuItemBg:ze,itemSelectedBg:ot,activeBarHeight:gt,activeBarWidth:yt,activeBarBorderWidth:nt,motionDurationSlow:mt,motionEaseInOut:At,motionEaseOut:kt,itemPaddingInline:at,motionDurationMid:Mt,itemHoverColor:st,lineType:pt,colorSplit:bt,itemDisabledColor:Lt,dangerItemColor:Dt,dangerItemHoverColor:Yt,dangerItemSelectedColor:_n,dangerItemActiveBg:Cn,dangerItemSelectedBg:On,itemHoverBg:Jn,itemActiveBg:dn,menuSubMenuBg:tr,horizontalItemSelectedColor:Sr,horizontalItemSelectedBg:Qr,horizontalItemBorderRadius:io,horizontalItemHoverBg:Kr,popupBg:kr}=Ge;return{[`${Ze}-${Ve}, ${Ze}-${Ve} > ${Ze}`]:{color:Fe,background:Ne,[`&${Ze}-root:focus-visible`]:Object.assign({},tt(Ge)),[`${Ze}-item-group-title`]:{color:_e},[`${Ze}-submenu-selected`]:{[`> ${Ze}-submenu-title`]:{color:Oe}},[`${Ze}-item-disabled, ${Ze}-submenu-disabled`]:{color:`${Lt} !important`},[`${Ze}-item:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{[`&:hover, > ${Ze}-submenu-title:hover`]:{color:st}},[`&:not(${Ze}-horizontal)`]:{[`${Ze}-item:not(${Ze}-item-selected)`]:{"&:hover":{backgroundColor:Jn},"&:active":{backgroundColor:dn}},[`${Ze}-submenu-title`]:{"&:hover":{backgroundColor:Jn},"&:active":{backgroundColor:dn}}},[`${Ze}-item-danger`]:{color:Dt,[`&${Ze}-item:hover`]:{[`&:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{color:Yt}},[`&${Ze}-item:active`]:{background:Cn}},[`${Ze}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ze}-item-selected`]:{color:Oe,[`&${Ze}-item-danger`]:{color:_n},"a, a:hover":{color:"inherit"}},[`& ${Ze}-item-selected`]:{backgroundColor:ot,[`&${Ze}-item-danger`]:{backgroundColor:On}},[`${Ze}-item, ${Ze}-submenu-title`]:{[`&:not(${Ze}-item-disabled):focus-visible`]:Object.assign({},tt(Ge))},[`&${Ze}-submenu > ${Ze}`]:{backgroundColor:tr},[`&${Ze}-popup > ${Ze}`]:{backgroundColor:kr},[`&${Ze}-horizontal`]:Object.assign(Object.assign({},Ve==="dark"?{borderBottom:0}:{}),{[`> ${Ze}-item, > ${Ze}-submenu`]:{top:nt,marginTop:-nt,marginBottom:0,borderRadius:io,"&::after":{position:"absolute",insetInline:at,bottom:0,borderBottom:`${gt}px solid transparent`,transition:`border-color ${mt} ${At}`,content:'""'},"&:hover, &-active, &-open":{background:Kr,"&::after":{borderBottomWidth:gt,borderBottomColor:Sr}},"&-selected":{color:Sr,backgroundColor:Qr,"&:hover":{backgroundColor:Qr},"&::after":{borderBottomWidth:gt,borderBottomColor:Sr}}}}),[`&${Ze}-root`]:{[`&${Ze}-inline, &${Ze}-vertical`]:{borderInlineEnd:`${nt}px ${pt} ${bt}`}},[`&${Ze}-inline`]:{[`${Ze}-sub${Ze}-inline`]:{background:ze},[`${Ze}-item, ${Ze}-submenu-title`]:nt&&yt?{width:`calc(100% + ${nt}px)`}:{},[`${Ze}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${yt}px solid ${Oe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Mt} ${kt}`,`opacity ${Mt} ${kt}`].join(","),content:'""'},[`&${Ze}-item-danger`]:{"&::after":{borderInlineEndColor:_n}}},[`${Ze}-selected, ${Ze}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Mt} ${At}`,`opacity ${Mt} ${At}`].join(",")}}}}}};const Xe=Ge=>{const{componentCls:Ve,itemHeight:Ze,itemMarginInline:Fe,padding:Oe,menuArrowSize:_e,marginXS:Ne,itemMarginBlock:ze}=Ge,ot=Oe+_e+Ne;return{[`${Ve}-item`]:{position:"relative",overflow:"hidden"},[`${Ve}-item, ${Ve}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`,paddingInline:Oe,overflow:"hidden",textOverflow:"ellipsis",marginInline:Fe,marginBlock:ze,width:`calc(100% - ${Fe*2}px)`},[`> ${Ve}-item,
> ${Ve}-submenu > ${Ve}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`},[`${Ve}-item-group-list ${Ve}-submenu-title,
${Ve}-submenu-title`]:{paddingInlineEnd:ot}}};var ke=Ge=>{const{componentCls:Ve,iconCls:Ze,itemHeight:Fe,colorTextLightSolid:Oe,dropdownWidth:_e,controlHeightLG:Ne,motionDurationMid:ze,motionEaseOut:ot,paddingXL:gt,itemMarginInline:yt,fontSizeLG:nt,motionDurationSlow:mt,paddingXS:At,boxShadowSecondary:kt,collapsedWidth:at,collapsedIconSize:Mt}=Ge,st={height:Fe,lineHeight:`${Fe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ve]:{"&-inline, &-vertical":Object.assign({[`&${Ve}-root`]:{boxShadow:"none"}},Xe(Ge))},[`${Ve}-submenu-popup`]:{[`${Ve}-vertical`]:Object.assign(Object.assign({},Xe(Ge)),{boxShadow:kt})}},{[`${Ve}-submenu-popup ${Ve}-vertical${Ve}-sub`]:{minWidth:_e,maxHeight:`calc(100vh - ${Ne*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ve}-inline`]:{width:"100%",[`&${Ve}-root`]:{[`${Ve}-item, ${Ve}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${mt}`,`background ${mt}`,`padding ${ze} ${ot}`].join(","),[`> ${Ve}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ve}-sub${Ve}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ve}-submenu > ${Ve}-submenu-title`]:st,[`& ${Ve}-item-group-title`]:{paddingInlineStart:gt}},[`${Ve}-item`]:st}},{[`${Ve}-inline-collapsed`]:{width:at,[`&${Ve}-root`]:{[`${Ve}-item, ${Ve}-submenu ${Ve}-submenu-title`]:{[`> ${Ve}-inline-collapsed-noicon`]:{fontSize:nt,textAlign:"center"}}},[`> ${Ve}-item,
> ${Ve}-item-group > ${Ve}-item-group-list > ${Ve}-item,
> ${Ve}-item-group > ${Ve}-item-group-list > ${Ve}-submenu > ${Ve}-submenu-title,
> ${Ve}-submenu > ${Ve}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${nt/2}px - ${yt}px)`,textOverflow:"clip",[`
${Ve}-submenu-arrow,
${Ve}-submenu-expand-icon
`]:{opacity:0},[`${Ve}-item-icon, ${Ze}`]:{margin:0,fontSize:Mt,lineHeight:`${Fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ve}-item-icon, ${Ze}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ve}-item-icon, ${Ze}`]:{display:"none"},"a, a:hover":{color:Oe}},[`${Ve}-item-group-title`]:Object.assign(Object.assign({},Pe.vS),{paddingInline:At})}}]};const Ue=Ge=>{const{componentCls:Ve,motionDurationSlow:Ze,motionDurationMid:Fe,motionEaseInOut:Oe,motionEaseOut:_e,iconCls:Ne,iconSize:ze,iconMarginInlineEnd:ot}=Ge;return{[`${Ve}-item, ${Ve}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ze}`,`background ${Ze}`,`padding ${Ze} ${Oe}`].join(","),[`${Ve}-item-icon, ${Ne}`]:{minWidth:ze,fontSize:ze,transition:[`font-size ${Fe} ${_e}`,`margin ${Ze} ${Oe}`,`color ${Ze}`].join(","),"+ span":{marginInlineStart:ot,opacity:1,transition:[`opacity ${Ze} ${Oe}`,`margin ${Ze}`,`color ${Ze}`].join(",")}},[`${Ve}-item-icon`]:Object.assign({},(0,Pe.Ro)()),[`&${Ve}-item-only-child`]:{[`> ${Ne}, > ${Ve}-item-icon`]:{marginInlineEnd:0}}},[`${Ve}-item-disabled, ${Ve}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ve}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},qe=Ge=>{const{componentCls:Ve,motionDurationSlow:Ze,motionEaseInOut:Fe,borderRadius:Oe,menuArrowSize:_e,menuArrowOffset:Ne}=Ge;return{[`${Ve}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ge.margin,width:_e,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ze} ${Fe}, opacity ${Ze}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:_e*.6,height:_e*.15,backgroundColor:"currentcolor",borderRadius:Oe,transition:[`background ${Ze} ${Fe}`,`transform ${Ze} ${Fe}`,`top ${Ze} ${Fe}`,`color ${Ze} ${Fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ne})`},"&::after":{transform:`rotate(-45deg) translateY(${Ne})`}}}}},Ye=Ge=>{const{antCls:Ve,componentCls:Ze,fontSize:Fe,motionDurationSlow:Oe,motionDurationMid:_e,motionEaseInOut:Ne,paddingXS:ze,padding:ot,colorSplit:gt,lineWidth:yt,zIndexPopup:nt,borderRadiusLG:mt,subMenuItemBorderRadius:At,menuArrowSize:kt,menuArrowOffset:at,lineType:Mt,menuPanelMaskInset:st,groupTitleLineHeight:pt,groupTitleFontSize:bt}=Ge;return[{"":{[`${Ze}`]:Object.assign(Object.assign({},(0,Pe.dF)()),{"&-hidden":{display:"none"}})},[`${Ze}-submenu-hidden`]:{display:"none"}},{[Ze]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pe.Wf)(Ge)),(0,Pe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Fe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Oe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ze}-item`]:{flex:"none"}},[`${Ze}-item, ${Ze}-submenu, ${Ze}-submenu-title`]:{borderRadius:Ge.itemBorderRadius},[`${Ze}-item-group-title`]:{padding:`${ze}px ${ot}px`,fontSize:bt,lineHeight:pt,transition:`all ${Oe}`},[`&-horizontal ${Ze}-submenu`]:{transition:[`border-color ${Oe} ${Ne}`,`background ${Oe} ${Ne}`].join(",")},[`${Ze}-submenu, ${Ze}-submenu-inline`]:{transition:[`border-color ${Oe} ${Ne}`,`background ${Oe} ${Ne}`,`padding ${_e} ${Ne}`].join(",")},[`${Ze}-submenu ${Ze}-sub`]:{cursor:"initial",transition:[`background ${Oe} ${Ne}`,`padding ${Oe} ${Ne}`].join(",")},[`${Ze}-title-content`]:{transition:`color ${Oe}`},[`${Ze}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ze}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:gt,borderStyle:Mt,borderWidth:0,borderTopWidth:yt,marginBlock:yt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ue(Ge)),{[`${Ze}-item-group`]:{[`${Ze}-item-group-list`]:{margin:0,padding:0,[`${Ze}-item, ${Ze}-submenu-title`]:{paddingInline:`${Fe*2}px ${ot}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:nt,borderRadius:mt,boxShadow:"none",transformOrigin:"0 0",[`&${Ze}-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:Ge.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ge.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ge.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ge.paddingXS},[`> ${Ze}`]:Object.assign(Object.assign(Object.assign({borderRadius:mt},Ue(Ge)),qe(Ge)),{[`${Ze}-item, ${Ze}-submenu > ${Ze}-submenu-title`]:{borderRadius:At},[`${Ze}-submenu-title::after`]:{transition:`transform ${Oe} ${Ne}`}})}}),qe(Ge)),{[`&-inline-collapsed ${Ze}-submenu-arrow,
&-inline ${Ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${at})`},"&::after":{transform:`rotate(45deg) translateX(-${at})`}},[`${Ze}-submenu-open${Ze}-submenu-inline > ${Ze}-submenu-title > ${Ze}-submenu-arrow`]:{transform:`translateY(-${kt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${at})`},"&::before":{transform:`rotate(45deg) translateX(${at})`}}})},{[`${Ve}-layout-header`]:{[Ze]:{lineHeight:"inherit"}}}]};var ft=(Ge,Ve)=>(0,Te.Z)("Menu",Fe=>{if(Ve===!1)return[];const{colorBgElevated:Oe,colorPrimary:_e,colorTextLightSolid:Ne,controlHeightLG:ze,fontSize:ot,darkItemColor:gt,darkDangerItemColor:yt,darkItemBg:nt,darkSubMenuItemBg:mt,darkItemSelectedColor:At,darkItemSelectedBg:kt,darkDangerItemSelectedBg:at,darkItemHoverBg:Mt,darkGroupTitleColor:st,darkItemHoverColor:pt,darkItemDisabledColor:bt,darkDangerItemHoverColor:Lt,darkDangerItemSelectedColor:Dt,darkDangerItemActiveBg:Yt}=Fe,_n=ot/7*5,Cn=(0,Ce.TS)(Fe,{menuArrowSize:_n,menuHorizontalHeight:ze*1.15,menuArrowOffset:`${_n*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Oe}),On=(0,Ce.TS)(Cn,{itemColor:gt,itemHoverColor:pt,groupTitleColor:st,itemSelectedColor:At,itemBg:nt,popupBg:nt,subMenuItemBg:mt,itemActiveBg:"transparent",itemSelectedBg:kt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Mt,itemDisabledColor:bt,dangerItemColor:yt,dangerItemHoverColor:Lt,dangerItemSelectedColor:Dt,dangerItemActiveBg:Yt,dangerItemSelectedBg:at,menuSubMenuBg:mt,horizontalItemSelectedColor:Ne,horizontalItemSelectedBg:_e});return[Ye(Cn),Ie(Cn),ke(Cn),Qe(Cn,"light"),Qe(On,"dark"),je(Cn),(0,we.Z)(Cn),(0,Le.oN)(Cn,"slide-up"),(0,Le.oN)(Cn,"slide-down"),(0,Ee._y)(Cn,"zoom-big")]},Fe=>{const{colorPrimary:Oe,colorError:_e,colorTextDisabled:Ne,colorErrorBg:ze,colorText:ot,colorTextDescription:gt,colorBgContainer:yt,colorFillAlter:nt,colorFillContent:mt,lineWidth:At,lineWidthBold:kt,controlItemBgActive:at,colorBgTextHover:Mt,controlHeightLG:st,lineHeight:pt,colorBgElevated:bt,marginXXS:Lt,padding:Dt,fontSize:Yt,controlHeightSM:_n,fontSizeLG:Cn,colorTextLightSolid:On,colorErrorHover:Jn}=Fe,dn=new ye.C(On).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Fe.zIndexPopupBase+50,radiusItem:Fe.borderRadiusLG,itemBorderRadius:Fe.borderRadiusLG,radiusSubMenuItem:Fe.borderRadiusSM,subMenuItemBorderRadius:Fe.borderRadiusSM,colorItemText:ot,itemColor:ot,colorItemTextHover:ot,itemHoverColor:ot,colorItemTextHoverHorizontal:Oe,horizontalItemHoverColor:Oe,colorGroupTitle:gt,groupTitleColor:gt,colorItemTextSelected:Oe,itemSelectedColor:Oe,colorItemTextSelectedHorizontal:Oe,horizontalItemSelectedColor:Oe,colorItemBg:yt,itemBg:yt,colorItemBgHover:Mt,itemHoverBg:Mt,colorItemBgActive:mt,itemActiveBg:at,colorSubItemBg:nt,subMenuItemBg:nt,colorItemBgSelected:at,itemSelectedBg:at,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:kt,activeBarHeight:kt,colorActiveBarBorderSize:At,activeBarBorderWidth:At,colorItemTextDisabled:Ne,itemDisabledColor:Ne,colorDangerItemText:_e,dangerItemColor:_e,colorDangerItemTextHover:_e,dangerItemHoverColor:_e,colorDangerItemTextSelected:_e,dangerItemSelectedColor:_e,colorDangerItemBgActive:ze,dangerItemActiveBg:ze,colorDangerItemBgSelected:ze,dangerItemSelectedBg:ze,itemMarginInline:Fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:st,groupTitleLineHeight:pt,collapsedWidth:st*2,popupBg:bt,itemMarginBlock:Lt,itemPaddingInline:Dt,horizontalLineHeight:`${st*1.15}px`,iconSize:Yt,iconMarginInlineEnd:_n-Yt,collapsedIconSize:Cn,groupTitleFontSize:Yt,darkItemDisabledColor:new ye.C(On).setAlpha(.25).toRgbString(),darkItemColor:dn,darkDangerItemColor:_e,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:On,darkItemSelectedBg:Oe,darkDangerItemSelectedBg:_e,darkItemHoverBg:"transparent",darkGroupTitleColor:dn,darkItemHoverColor:On,darkDangerItemHoverColor:Jn,darkDangerItemSelectedColor:On,darkDangerItemActiveBg:_e}},{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"]]})(Ge),We=function(Ge,Ve){var Ze={};for(var Fe in Ge)Object.prototype.hasOwnProperty.call(Ge,Fe)&&Ve.indexOf(Fe)<0&&(Ze[Fe]=Ge[Fe]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Fe=Object.getOwnPropertySymbols(Ge);Oe<Fe.length;Oe++)Ve.indexOf(Fe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Fe[Oe])&&(Ze[Fe[Oe]]=Ge[Fe[Oe]]);return Ze},Re=(0,xe.forwardRef)((Ge,Ve)=>{var Ze,Fe;const Oe=xe.useContext(ge.Z),_e=Oe||{},{getPrefixCls:Ne,getPopupContainer:ze,direction:ot,menu:gt}=xe.useContext(se.E_),yt=Ne(),{prefixCls:nt,className:mt,style:At,theme:kt="light",expandIcon:at,_internalDisableMenuItemTitleTooltip:Mt,inlineCollapsed:st,siderCollapsed:pt,items:bt,children:Lt,rootClassName:Dt,mode:Yt,selectable:_n,onClick:Cn,overflowedIndicatorPopupClassName:On}=Ge,Jn=We(Ge,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dn=(0,ae.Z)(Jn,["collapsedWidth"]),tr=Se(bt)||Lt;(Ze=_e.validator)===null||Ze===void 0||Ze.call(_e,{mode:Yt});const Sr=(0,ce.useEvent)(function(){var Gn;Cn==null||Cn.apply(void 0,arguments),(Gn=_e.onClick)===null||Gn===void 0||Gn.call(_e)}),Qr=_e.mode||Yt,io=_n!=null?_n:_e.selectable,Kr=xe.useMemo(()=>pt!==void 0?pt:st,[st,pt]),kr={horizontal:{motionName:`${yt}-slide-up`},inline:(0,de.Z)(yt),other:{motionName:`${yt}-zoom-big`}},cn=Ne("menu",nt||_e.prefixCls),[Qt,un]=ft(cn,!Oe),yn=fe()(`${cn}-${kt}`,gt==null?void 0:gt.className,mt);let In;if(typeof at=="function")In=at;else if(at===null||at===!1)In=null;else if(_e.expandIcon===null||_e.expandIcon===!1)In=null;else{const Gn=at!=null?at:_e.expandIcon;In=(0,ne.Tm)(Gn,{className:fe()(`${cn}-submenu-expand-icon`,(0,ne.l$)(Gn)?(Fe=Gn.props)===null||Fe===void 0?void 0:Fe.className:"")})}const Qn=xe.useMemo(()=>({prefixCls:cn,inlineCollapsed:Kr||!1,direction:ot,firstLevel:!0,theme:kt,mode:Qr,disableMenuItemTitleTooltip:Mt}),[cn,Kr,ot,Mt,kt]);return Qt(xe.createElement(ge.Z.Provider,{value:null},xe.createElement(a.Provider,{value:Qn},xe.createElement(be.ZP,Object.assign({getPopupContainer:ze,overflowedIndicator:xe.createElement(te.Z,null),overflowedIndicatorPopupClassName:fe()(cn,`${cn}-${kt}`,On),mode:Qr,selectable:io,onClick:Sr},dn,{inlineCollapsed:Kr,style:Object.assign(Object.assign({},gt==null?void 0:gt.style),At),className:yn,prefixCls:cn,direction:ot,defaultMotions:kr,expandIcon:In,ref:Ve,rootClassName:fe()(Dt,un)}),tr))))});const et=(0,xe.forwardRef)((Ge,Ve)=>{const Ze=(0,xe.useRef)(null),Fe=xe.useContext(E.D);return(0,xe.useImperativeHandle)(Ve,()=>({menu:Ze.current,focus:Oe=>{var _e;(_e=Ze.current)===null||_e===void 0||_e.focus(Oe)}})),xe.createElement(Re,Object.assign({ref:Ze},Ge,Fe))});et.Item=x,et.SubMenu=ee,et.Divider=le,et.ItemGroup=be.BW;var Me=et},28452:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return yt}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},he=E,fe=me(74643),se=function(mt,At){return xe.createElement(fe.Z,(0,be.Z)({},mt,{ref:At,icon:he}))},re=xe.forwardRef(se),ie=me(81893),le=me(22751),ue=me(91034),ae=me(94184),oe=me.n(ae),ne=me(4942),z=me(1413),a=me(15671),y=me(43144),x=me(60136),b=me(51630),ee=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,te=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ce="".concat(ee," ").concat(te).split(/[\s\n]+/),de="aria-",ge="data-";function ve(nt,mt){return nt.indexOf(mt)===0}function pe(nt){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,At;mt===!1?At={aria:!0,data:!0,attr:!0}:mt===!0?At={aria:!0}:At=(0,z.Z)({},mt);var kt={};return Object.keys(nt).forEach(function(at){(At.aria&&(at==="role"||ve(at,de))||At.data&&ve(at,ge)||At.attr&&ce.includes(at))&&(kt[at]=nt[at])}),kt}var Se={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ye=Se,Pe=me(81626),we=function(nt){(0,x.Z)(At,nt);var mt=(0,b.Z)(At);function At(){var kt;(0,a.Z)(this,At);for(var at=arguments.length,Mt=new Array(at),st=0;st<at;st++)Mt[st]=arguments[st];return kt=mt.call.apply(mt,[this].concat(Mt)),kt.state={goInputText:""},kt.getValidValue=function(){var pt=kt.state.goInputText;return!pt||Number.isNaN(pt)?void 0:Number(pt)},kt.buildOptionText=function(pt){return"".concat(pt," ").concat(kt.props.locale.items_per_page)},kt.changeSize=function(pt){kt.props.changeSize(Number(pt))},kt.handleChange=function(pt){kt.setState({goInputText:pt.target.value})},kt.handleBlur=function(pt){var bt=kt.props,Lt=bt.goButton,Dt=bt.quickGo,Yt=bt.rootPrefixCls,_n=kt.state.goInputText;Lt||_n===""||(kt.setState({goInputText:""}),!(pt.relatedTarget&&(pt.relatedTarget.className.indexOf("".concat(Yt,"-item-link"))>=0||pt.relatedTarget.className.indexOf("".concat(Yt,"-item"))>=0))&&Dt(kt.getValidValue()))},kt.go=function(pt){var bt=kt.state.goInputText;bt!==""&&(pt.keyCode===ye.ENTER||pt.type==="click")&&(kt.setState({goInputText:""}),kt.props.quickGo(kt.getValidValue()))},kt}return(0,y.Z)(At,[{key:"getPageSizeOptions",value:function(){var at=this.props,Mt=at.pageSize,st=at.pageSizeOptions;return st.some(function(pt){return pt.toString()===Mt.toString()})?st:st.concat([Mt.toString()]).sort(function(pt,bt){var Lt=Number.isNaN(Number(pt))?0:Number(pt),Dt=Number.isNaN(Number(bt))?0:Number(bt);return Lt-Dt})}},{key:"render",value:function(){var at=this,Mt=this.props,st=Mt.pageSize,pt=Mt.locale,bt=Mt.rootPrefixCls,Lt=Mt.changeSize,Dt=Mt.quickGo,Yt=Mt.goButton,_n=Mt.selectComponentClass,Cn=Mt.buildOptionText,On=Mt.selectPrefixCls,Jn=Mt.disabled,dn=this.state.goInputText,tr="".concat(bt,"-options"),Sr=_n,Qr=null,io=null,Kr=null;if(!Lt&&!Dt)return null;var kr=this.getPageSizeOptions();if(Lt&&Sr){var cn=kr.map(function(Qt,un){return xe.createElement(Sr.Option,{key:un,value:Qt.toString()},(Cn||at.buildOptionText)(Qt))});Qr=xe.createElement(Sr,{disabled:Jn,prefixCls:On,showSearch:!1,className:"".concat(tr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(st||kr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(un){return un.parentNode},"aria-label":pt.page_size,defaultOpen:!1},cn)}return Dt&&(Yt&&(Kr=typeof Yt=="boolean"?xe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Jn,className:"".concat(tr,"-quick-jumper-button")},pt.jump_to_confirm):xe.createElement("span",{onClick:this.go,onKeyUp:this.go},Yt)),io=xe.createElement("div",{className:"".concat(tr,"-quick-jumper")},pt.jump_to,xe.createElement("input",{disabled:Jn,type:"text",value:dn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":pt.page}),pt.page,Kr)),xe.createElement("li",{className:"".concat(tr)},Qr,io)}}]),At}(xe.Component);we.defaultProps={pageSizeOptions:["10","20","50","100"]};var Le=we,Ee=function(mt){var At,kt=mt.rootPrefixCls,at=mt.page,Mt=mt.active,st=mt.className,pt=mt.showTitle,bt=mt.onClick,Lt=mt.onKeyPress,Dt=mt.itemRender,Yt="".concat(kt,"-item"),_n=oe()(Yt,"".concat(Yt,"-").concat(at),(At={},(0,ne.Z)(At,"".concat(Yt,"-active"),Mt),(0,ne.Z)(At,"".concat(Yt,"-disabled"),!at),(0,ne.Z)(At,mt.className,st),At)),Cn=function(){bt(at)},On=function(tr){Lt(tr,bt,at)},Jn=Dt(at,"page",xe.createElement("a",{rel:"nofollow"},at));return Jn?xe.createElement("li",{title:pt?at.toString():null,className:_n,onClick:Cn,onKeyPress:On,tabIndex:0},Jn):null},Te=Ee;function Ce(){}function Ae(nt){var mt=Number(nt);return typeof mt=="number"&&!Number.isNaN(mt)&&isFinite(mt)&&Math.floor(mt)===mt}var Ie=function(mt,At,kt){return kt};function He(nt,mt,At){var kt=typeof nt=="undefined"?mt.pageSize:nt;return Math.floor((At.total-1)/kt)+1}var je=function(nt){(0,x.Z)(At,nt);var mt=(0,b.Z)(At);function At(kt){var at;(0,a.Z)(this,At),at=mt.call(this,kt),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(He(void 0,at.state,at.props),at.state.current+(at.props.showLessItems?3:5))},at.getItemIcon=function(Lt,Dt){var Yt=at.props.prefixCls,_n=Lt||xe.createElement("button",{type:"button","aria-label":Dt,className:"".concat(Yt,"-item-link")});return typeof Lt=="function"&&(_n=xe.createElement(Lt,(0,z.Z)({},at.props))),_n},at.isValid=function(Lt){var Dt=at.props.total;return Ae(Lt)&&Lt!==at.state.current&&Ae(Dt)&&Dt>0},at.shouldDisplayQuickJumper=function(){var Lt=at.props,Dt=Lt.showQuickJumper,Yt=Lt.total,_n=at.state.pageSize;return Yt<=_n?!1:Dt},at.handleKeyDown=function(Lt){(Lt.keyCode===ye.ARROW_UP||Lt.keyCode===ye.ARROW_DOWN)&&Lt.preventDefault()},at.handleKeyUp=function(Lt){var Dt=at.getValidValue(Lt),Yt=at.state.currentInputValue;Dt!==Yt&&at.setState({currentInputValue:Dt}),Lt.keyCode===ye.ENTER?at.handleChange(Dt):Lt.keyCode===ye.ARROW_UP?at.handleChange(Dt-1):Lt.keyCode===ye.ARROW_DOWN&&at.handleChange(Dt+1)},at.handleBlur=function(Lt){var Dt=at.getValidValue(Lt);at.handleChange(Dt)},at.changePageSize=function(Lt){var Dt=at.state.current,Yt=He(Lt,at.state,at.props);Dt=Dt>Yt?Yt:Dt,Yt===0&&(Dt=at.state.current),typeof Lt=="number"&&("pageSize"in at.props||at.setState({pageSize:Lt}),"current"in at.props||at.setState({current:Dt,currentInputValue:Dt})),at.props.onShowSizeChange(Dt,Lt),"onChange"in at.props&&at.props.onChange&&at.props.onChange(Dt,Lt)},at.handleChange=function(Lt){var Dt=at.props,Yt=Dt.disabled,_n=Dt.onChange,Cn=at.state,On=Cn.pageSize,Jn=Cn.current,dn=Cn.currentInputValue;if(at.isValid(Lt)&&!Yt){var tr=He(void 0,at.state,at.props),Sr=Lt;return Lt>tr?Sr=tr:Lt<1&&(Sr=1),"current"in at.props||at.setState({current:Sr}),Sr!==dn&&at.setState({currentInputValue:Sr}),_n(Sr,On),Sr}return Jn},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<He(void 0,at.state,at.props)},at.runIfEnter=function(Lt,Dt){if(Lt.key==="Enter"||Lt.charCode===13){for(var Yt=arguments.length,_n=new Array(Yt>2?Yt-2:0),Cn=2;Cn<Yt;Cn++)_n[Cn-2]=arguments[Cn];Dt.apply(void 0,_n)}},at.runIfEnterPrev=function(Lt){at.runIfEnter(Lt,at.prev)},at.runIfEnterNext=function(Lt){at.runIfEnter(Lt,at.next)},at.runIfEnterJumpPrev=function(Lt){at.runIfEnter(Lt,at.jumpPrev)},at.runIfEnterJumpNext=function(Lt){at.runIfEnter(Lt,at.jumpNext)},at.handleGoTO=function(Lt){(Lt.keyCode===ye.ENTER||Lt.type==="click")&&at.handleChange(at.state.currentInputValue)},at.renderPrev=function(Lt){var Dt=at.props,Yt=Dt.prevIcon,_n=Dt.itemRender,Cn=_n(Lt,"prev",at.getItemIcon(Yt,"prev page")),On=!at.hasPrev();return(0,xe.isValidElement)(Cn)?(0,xe.cloneElement)(Cn,{disabled:On}):Cn},at.renderNext=function(Lt){var Dt=at.props,Yt=Dt.nextIcon,_n=Dt.itemRender,Cn=_n(Lt,"next",at.getItemIcon(Yt,"next page")),On=!at.hasNext();return(0,xe.isValidElement)(Cn)?(0,xe.cloneElement)(Cn,{disabled:On}):Cn};var Mt=kt.onChange!==Ce,st="current"in kt;st&&!Mt&&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=kt.defaultCurrent;"current"in kt&&(pt=kt.current);var bt=kt.defaultPageSize;return"pageSize"in kt&&(bt=kt.pageSize),pt=Math.min(pt,He(bt,void 0,kt)),at.state={current:pt,currentInputValue:pt,pageSize:bt},at}return(0,y.Z)(At,[{key:"componentDidUpdate",value:function(at,Mt){var st=this.props.prefixCls;if(Mt.current!==this.state.current&&this.paginationNode.current){var pt=this.paginationNode.current.querySelector(".".concat(st,"-item-").concat(Mt.current));if(pt&&document.activeElement===pt){var bt;pt==null||(bt=pt.blur)===null||bt===void 0||bt.call(pt)}}}},{key:"getValidValue",value:function(at){var Mt=at.target.value,st=He(void 0,this.state,this.props),pt=this.state.currentInputValue,bt;return Mt===""?bt=Mt:Number.isNaN(Number(Mt))?bt=pt:Mt>=st?bt=st:bt=Number(Mt),bt}},{key:"getShowSizeChanger",value:function(){var at=this.props,Mt=at.showSizeChanger,st=at.total,pt=at.totalBoundaryShowSizeChanger;return typeof Mt!="undefined"?Mt:st>pt}},{key:"render",value:function(){var at=this.props,Mt=at.prefixCls,st=at.className,pt=at.style,bt=at.disabled,Lt=at.hideOnSinglePage,Dt=at.total,Yt=at.locale,_n=at.showQuickJumper,Cn=at.showLessItems,On=at.showTitle,Jn=at.showTotal,dn=at.simple,tr=at.itemRender,Sr=at.showPrevNextJumpers,Qr=at.jumpPrevIcon,io=at.jumpNextIcon,Kr=at.selectComponentClass,kr=at.selectPrefixCls,cn=at.pageSizeOptions,Qt=this.state,un=Qt.current,yn=Qt.pageSize,In=Qt.currentInputValue;if(Lt===!0&&Dt<=yn)return null;var Qn=He(void 0,this.state,this.props),Gn=[],wr=null,br=null,Kn=null,wt=null,Rt=null,xt=_n&&_n.goButton,sn=Cn?1:2,An=un-1>0?un-1:0,Nn=un+1<Qn?un+1:Qn,hr=pe(this.props,{aria:!0,data:!0}),nr=Jn&&xe.createElement("li",{className:"".concat(Mt,"-total-text")},Jn(Dt,[Dt===0?0:(un-1)*yn+1,un*yn>Dt?Dt:un*yn]));if(dn){xt&&(typeof xt=="boolean"?Rt=xe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Yt.jump_to_confirm):Rt=xe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},xt),Rt=xe.createElement("li",{title:On?"".concat(Yt.jump_to).concat(un,"/").concat(Qn):null,className:"".concat(Mt,"-simple-pager")},Rt));var fr=this.renderPrev(An);return xe.createElement("ul",(0,be.Z)({className:oe()(Mt,"".concat(Mt,"-simple"),(0,ne.Z)({},"".concat(Mt,"-disabled"),bt),st),style:pt,ref:this.paginationNode},hr),nr,fr?xe.createElement("li",{title:On?Yt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(Mt,"-prev"),(0,ne.Z)({},"".concat(Mt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},fr):null,xe.createElement("li",{title:On?"".concat(un,"/").concat(Qn):null,className:"".concat(Mt,"-simple-pager")},xe.createElement("input",{type:"text",value:In,disabled:bt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),xe.createElement("span",{className:"".concat(Mt,"-slash")},"/"),Qn),xe.createElement("li",{title:On?Yt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:oe()("".concat(Mt,"-next"),(0,ne.Z)({},"".concat(Mt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Nn)),Rt)}if(Qn<=3+sn*2){var Fr={locale:Yt,rootPrefixCls:Mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:On,itemRender:tr};Qn||Gn.push(xe.createElement(Te,(0,be.Z)({},Fr,{key:"noPager",page:1,className:"".concat(Mt,"-item-disabled")})));for(var Jr=1;Jr<=Qn;Jr+=1){var hn=un===Jr;Gn.push(xe.createElement(Te,(0,be.Z)({},Fr,{key:Jr,page:Jr,active:hn})))}}else{var Tr=Cn?Yt.prev_3:Yt.prev_5,Ot=Cn?Yt.next_3:Yt.next_5,qt=tr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Qr,"prev page")),Xt=tr(this.getJumpNextPage(),"jump-next",this.getItemIcon(io,"next page"));Sr&&(wr=qt?xe.createElement("li",{title:On?Tr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:oe()("".concat(Mt,"-jump-prev"),(0,ne.Z)({},"".concat(Mt,"-jump-prev-custom-icon"),!!Qr))},qt):null,br=Xt?xe.createElement("li",{title:On?Ot:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:oe()("".concat(Mt,"-jump-next"),(0,ne.Z)({},"".concat(Mt,"-jump-next-custom-icon"),!!io))},Xt):null),wt=xe.createElement(Te,{locale:Yt,last:!0,rootPrefixCls:Mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Qn,page:Qn,active:!1,showTitle:On,itemRender:tr}),Kn=xe.createElement(Te,{locale:Yt,rootPrefixCls:Mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:On,itemRender:tr});var tn=Math.max(1,un-sn),Tn=Math.min(un+sn,Qn);un-1<=sn&&(Tn=1+sn*2),Qn-un<=sn&&(tn=Qn-sn*2);for(var Jt=tn;Jt<=Tn;Jt+=1){var En=un===Jt;Gn.push(xe.createElement(Te,{locale:Yt,rootPrefixCls:Mt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Jt,page:Jt,active:En,showTitle:On,itemRender:tr}))}un-1>=sn*2&&un!==3&&(Gn[0]=(0,xe.cloneElement)(Gn[0],{className:"".concat(Mt,"-item-after-jump-prev")}),Gn.unshift(wr)),Qn-un>=sn*2&&un!==Qn-2&&(Gn[Gn.length-1]=(0,xe.cloneElement)(Gn[Gn.length-1],{className:"".concat(Mt,"-item-before-jump-next")}),Gn.push(br)),tn!==1&&Gn.unshift(Kn),Tn!==Qn&&Gn.push(wt)}var rn=!this.hasPrev()||!Qn,gr=!this.hasNext()||!Qn,qn=this.renderPrev(An),xr=this.renderNext(Nn);return xe.createElement("ul",(0,be.Z)({className:oe()(Mt,st,(0,ne.Z)({},"".concat(Mt,"-disabled"),bt)),style:pt,ref:this.paginationNode},hr),nr,qn?xe.createElement("li",{title:On?Yt.prev_page:null,onClick:this.prev,tabIndex:rn?null:0,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(Mt,"-prev"),(0,ne.Z)({},"".concat(Mt,"-disabled"),rn)),"aria-disabled":rn},qn):null,Gn,xr?xe.createElement("li",{title:On?Yt.next_page:null,onClick:this.next,tabIndex:gr?null:0,onKeyPress:this.runIfEnterNext,className:oe()("".concat(Mt,"-next"),(0,ne.Z)({},"".concat(Mt,"-disabled"),gr)),"aria-disabled":gr},xr):null,xe.createElement(Le,{disabled:bt,locale:Yt,rootPrefixCls:Mt,selectComponentClass:Kr,selectPrefixCls:kr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:un,pageSize:yn,pageSizeOptions:cn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:xt}))}}],[{key:"getDerivedStateFromProps",value:function(at,Mt){var st={};if("current"in at&&(st.current=at.current,at.current!==Mt.current&&(st.currentInputValue=st.current)),"pageSize"in at&&at.pageSize!==Mt.pageSize){var pt=Mt.current,bt=He(at.pageSize,Mt,at);pt=pt>bt?bt:pt,"current"in at||(st.current=pt,st.currentInputValue=pt),st.pageSize=at.pageSize}return st}}]),At}(xe.Component);je.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ce,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ce,locale:Pe.Z,style:{},itemRender:Ie,totalBoundaryShowSizeChanger:50};var tt=je,Je=me(62906),Qe=me(53124),Xe=me(98675),$e=me(25378),ke=me(10110),Ue=me(11713);const qe=nt=>xe.createElement(Ue.default,Object.assign({},nt,{showSearch:!0,size:"small"})),Ye=nt=>xe.createElement(Ue.default,Object.assign({},nt,{showSearch:!0,size:"middle"}));qe.Option=Ue.default.Option,Ye.Option=Ue.default.Option;var ft=me(47673),We=me(14747),Ke=me(67968),Re=me(45503);const et=nt=>{const{componentCls:mt}=nt;return{[`${mt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${mt}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${mt}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed"}}},[`&${mt}-disabled`]:{cursor:"not-allowed",[`${mt}-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}}},[`${mt}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${mt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${mt}-simple-pager`]:{color:nt.colorTextDisabled},[`${mt}-jump-prev, ${mt}-jump-next`]:{[`${mt}-item-link-icon`]:{opacity:0},[`${mt}-item-ellipsis`]:{opacity:1}}},[`&${mt}-simple`]:{[`${mt}-prev, ${mt}-next`]:{[`&${mt}-disabled ${mt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Me=nt=>{const{componentCls:mt}=nt;return{[`&${mt}-mini ${mt}-total-text, &${mt}-mini ${mt}-simple-pager`]:{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`},[`&${mt}-mini ${mt}-item`]:{minWidth:nt.itemSizeSM,height:nt.itemSizeSM,margin:0,lineHeight:`${nt.itemSizeSM-2}px`},[`&${mt}-mini:not(${mt}-disabled) ${mt}-item:not(${mt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:nt.colorBgTextHover},"&:active":{backgroundColor:nt.colorBgTextActive}},[`&${mt}-mini ${mt}-prev, &${mt}-mini ${mt}-next`]:{minWidth:nt.itemSizeSM,height:nt.itemSizeSM,margin:0,lineHeight:`${nt.itemSizeSM}px`},[`&${mt}-mini:not(${mt}-disabled)`]:{[`${mt}-prev, ${mt}-next`]:{[`&:hover ${mt}-item-link`]:{backgroundColor:nt.colorBgTextHover},[`&:active ${mt}-item-link`]:{backgroundColor:nt.colorBgTextActive},[`&${mt}-disabled:hover ${mt}-item-link`]:{backgroundColor:"transparent"}}},[`
&${mt}-mini ${mt}-prev ${mt}-item-link,
&${mt}-mini ${mt}-next ${mt}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`}},[`&${mt}-mini ${mt}-jump-prev, &${mt}-mini ${mt}-jump-next`]:{height:nt.itemSizeSM,marginInlineEnd:0,lineHeight:`${nt.itemSizeSM}px`},[`&${mt}-mini ${mt}-options`]:{marginInlineStart:nt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:nt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ft.x0)(nt)),{width:nt.paginationMiniQuickJumperInputWidth,height:nt.controlHeightSM})}}}},Ge=nt=>{const{componentCls:mt}=nt;return{[`
&${mt}-simple ${mt}-prev,
&${mt}-simple ${mt}-next
`]:{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`,verticalAlign:"top",[`${mt}-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`}}},[`&${mt}-simple ${mt}-simple-pager`]:{display:"inline-block",height:nt.itemSizeSM,marginInlineEnd:nt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:nt.marginXS,padding:`0 ${nt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:nt.itemInputBg,border:`${nt.lineWidth}px ${nt.lineType} ${nt.colorBorder}`,borderRadius:nt.borderRadius,outline:"none",transition:`border-color ${nt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:nt.colorPrimary},"&:focus":{borderColor:nt.colorPrimaryHover,boxShadow:`${nt.inputOutlineOffset}px 0 ${nt.controlOutlineWidth}px ${nt.controlOutline}`},"&[disabled]":{color:nt.colorTextDisabled,backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,cursor:"not-allowed"}}}}},Ve=nt=>{const{componentCls:mt}=nt;return{[`${mt}-jump-prev, ${mt}-jump-next`]:{outline:0,[`${mt}-item-container`]:{position:"relative",[`${mt}-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"}},[`${mt}-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":{[`${mt}-item-link-icon`]:{opacity:1},[`${mt}-item-ellipsis`]:{opacity:0}}},[`
${mt}-prev,
${mt}-jump-prev,
${mt}-jump-next
`]:{marginInlineEnd:nt.marginXS},[`
${mt}-prev,
${mt}-next,
${mt}-jump-prev,
${mt}-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}`},[`${mt}-prev, ${mt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:nt.colorText,cursor:"pointer",userSelect:"none"},[`${mt}-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 ${mt}-item-link`]:{backgroundColor:nt.colorBgTextHover},[`&:active ${mt}-item-link`]:{backgroundColor:nt.colorBgTextActive},[`&${mt}-disabled:hover`]:{[`${mt}-item-link`]:{backgroundColor:"transparent"}}},[`${mt}-slash`]:{marginInlineEnd:nt.paginationSlashMarginInlineEnd,marginInlineStart:nt.paginationSlashMarginInlineStart},[`${mt}-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,ft.ik)(nt)),{width:nt.controlHeightLG*1.25,height:nt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:nt.marginXS,marginInlineEnd:nt.marginXS})}}}},Ze=nt=>{const{componentCls:mt}=nt;return{[`${mt}-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(${mt}-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}}}}},Fe=nt=>{const{componentCls:mt}=nt;return{[mt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,We.Wf)(nt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${mt}-total-text`]:{display:"inline-block",height:nt.itemSize,marginInlineEnd:nt.marginXS,lineHeight:`${nt.itemSize-2}px`,verticalAlign:"middle"}}),Ze(nt)),Ve(nt)),Ge(nt)),Me(nt)),et(nt)),{[`@media only screen and (max-width: ${nt.screenLG}px)`]:{[`${mt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${nt.screenSM}px)`]:{[`${mt}-options`]:{display:"none"}}}),[`&${nt.componentCls}-rtl`]:{direction:"rtl"}}},Oe=nt=>{const{componentCls:mt}=nt;return{[`${mt}${mt}-disabled:not(${mt}-mini)`]:{"&, &:hover":{[`${mt}-item-link`]:{borderColor:nt.colorBorder}},"&:focus-visible":{[`${mt}-item-link`]:{borderColor:nt.colorBorder}},[`${mt}-item, ${mt}-item-link`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,[`&:hover:not(${mt}-item-active)`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,a:{color:nt.colorTextDisabled}},[`&${mt}-item-active`]:{backgroundColor:nt.itemActiveBgDisabled}},[`${mt}-prev, ${mt}-next`]:{"&:hover button":{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,color:nt.colorTextDisabled},[`${mt}-item-link`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder}}},[`${mt}:not(${mt}-mini)`]:{[`${mt}-prev, ${mt}-next`]:{"&:hover button":{borderColor:nt.colorPrimaryHover,backgroundColor:nt.itemBg},[`${mt}-item-link`]:{backgroundColor:nt.itemLinkBg,borderColor:nt.colorBorder},[`&:hover ${mt}-item-link`]:{borderColor:nt.colorPrimary,backgroundColor:nt.itemBg,color:nt.colorPrimary},[`&${mt}-disabled`]:{[`${mt}-item-link`]:{borderColor:nt.colorBorder,color:nt.colorTextDisabled}}},[`${mt}-item`]:{backgroundColor:nt.itemBg,border:`${nt.lineWidth}px ${nt.lineType} ${nt.colorBorder}`,[`&:hover:not(${mt}-item-active)`]:{borderColor:nt.colorPrimary,backgroundColor:nt.itemBg,a:{color:nt.colorPrimary}},"&-active":{borderColor:nt.colorPrimary}}}}},_e=nt=>{const{componentCls:mt}=nt;return{[`${mt}:not(${mt}-disabled)`]:{[`${mt}-item`]:Object.assign({},(0,We.Qy)(nt)),[`${mt}-jump-prev, ${mt}-jump-next`]:{"&:focus-visible":Object.assign({[`${mt}-item-link-icon`]:{opacity:1},[`${mt}-item-ellipsis`]:{opacity:0}},(0,We.oN)(nt))},[`${mt}-prev, ${mt}-next`]:{[`&:focus-visible ${mt}-item-link`]:Object.assign({},(0,We.oN)(nt))}}}};var Ne=(0,Ke.Z)("Pagination",nt=>{const mt=(0,Re.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,ft.e5)(nt),(0,ft.TM)(nt));return[Fe(mt),_e(mt),nt.wireframe&&Oe(mt)]},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})),ze=function(nt,mt){var At={};for(var kt in nt)Object.prototype.hasOwnProperty.call(nt,kt)&&mt.indexOf(kt)<0&&(At[kt]=nt[kt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,kt=Object.getOwnPropertySymbols(nt);at<kt.length;at++)mt.indexOf(kt[at])<0&&Object.prototype.propertyIsEnumerable.call(nt,kt[at])&&(At[kt[at]]=nt[kt[at]]);return At},gt=nt=>{const{prefixCls:mt,selectPrefixCls:At,className:kt,rootClassName:at,style:Mt,size:st,locale:pt,selectComponentClass:bt,responsive:Lt,showSizeChanger:Dt}=nt,Yt=ze(nt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:_n}=(0,$e.Z)(Lt),{getPrefixCls:Cn,direction:On,pagination:Jn={}}=xe.useContext(Qe.E_),dn=Cn("pagination",mt),[tr,Sr]=Ne(dn),Qr=Dt!=null?Dt:Jn.showSizeChanger,io=xe.useMemo(()=>{const Qn=xe.createElement("span",{className:`${dn}-item-ellipsis`},"\u2022\u2022\u2022"),Gn=xe.createElement("button",{className:`${dn}-item-link`,type:"button",tabIndex:-1},On==="rtl"?xe.createElement(ue.Z,null):xe.createElement(le.Z,null)),wr=xe.createElement("button",{className:`${dn}-item-link`,type:"button",tabIndex:-1},On==="rtl"?xe.createElement(le.Z,null):xe.createElement(ue.Z,null)),br=xe.createElement("a",{className:`${dn}-item-link`},xe.createElement("div",{className:`${dn}-item-container`},On==="rtl"?xe.createElement(ie.Z,{className:`${dn}-item-link-icon`}):xe.createElement(re,{className:`${dn}-item-link-icon`}),Qn)),Kn=xe.createElement("a",{className:`${dn}-item-link`},xe.createElement("div",{className:`${dn}-item-container`},On==="rtl"?xe.createElement(re,{className:`${dn}-item-link-icon`}):xe.createElement(ie.Z,{className:`${dn}-item-link-icon`}),Qn));return{prevIcon:Gn,nextIcon:wr,jumpPrevIcon:br,jumpNextIcon:Kn}},[On,dn]),[Kr]=(0,ke.Z)("Pagination",Je.Z),kr=Object.assign(Object.assign({},Kr),pt),cn=(0,Xe.Z)(st),Qt=cn==="small"||!!(_n&&!cn&&Lt),un=Cn("select",At),yn=oe()({[`${dn}-mini`]:Qt,[`${dn}-rtl`]:On==="rtl"},Jn==null?void 0:Jn.className,kt,at,Sr),In=Object.assign(Object.assign({},Jn==null?void 0:Jn.style),Mt);return tr(xe.createElement(tt,Object.assign({},io,Yt,{style:In,prefixCls:dn,selectPrefixCls:un,className:yn,selectComponentClass:bt||(Qt?qe:Ye),locale:kr,showSizeChanger:Qr})))},yt=gt},66330:function(Ct,dt,me){"use strict";me.d(dt,{t5:function(){return ue}});var be=me(94184),xe=me.n(be),E=me(92419),he=me(67294),fe=me(53124),se=me(81643),re=me(20136),ie=function(oe,ne){var z={};for(var a in oe)Object.prototype.hasOwnProperty.call(oe,a)&&ne.indexOf(a)<0&&(z[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])&&(z[a[y]]=oe[a[y]]);return z};const le=(oe,ne,z)=>{if(!(!ne&&!z))return he.createElement(he.Fragment,null,ne&&he.createElement("div",{className:`${oe}-title`},(0,se.Z)(ne)),he.createElement("div",{className:`${oe}-inner-content`},(0,se.Z)(z)))},ue=oe=>{const{hashId:ne,prefixCls:z,className:a,style:y,placement:x="top",title:b,content:ee,children:te}=oe;return he.createElement("div",{className:xe()(ne,z,`${z}-pure`,`${z}-placement-${x}`,a),style:y},he.createElement("div",{className:`${z}-arrow`}),he.createElement(E.G,Object.assign({},oe,{className:ne,prefixCls:z}),te||le(z,b,ee)))},ae=oe=>{const{prefixCls:ne}=oe,z=ie(oe,["prefixCls"]),{getPrefixCls:a}=he.useContext(fe.E_),y=a("popover",ne),[x,b]=(0,re.Z)(y);return x(he.createElement(ue,Object.assign({},z,{prefixCls:y,hashId:b})))};dt.ZP=ae},20136:function(Ct,dt,me){"use strict";var be=me(14747),xe=me(50438),E=me(97414),he=me(8796),fe=me(67968),se=me(45503);const re=ue=>{const{componentCls:ae,popoverColor:oe,minWidth:ne,fontWeightStrong:z,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:ee,marginXS:te,colorBgElevated:ce,popoverBg:de}=ue;return[{[ae]:Object.assign(Object.assign({},(0,be.Wf)(ue)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ee,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ce,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ae}-content`]:{position:"relative"},[`${ae}-inner`]:{backgroundColor:de,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ae}-title`]:{minWidth:ne,marginBottom:te,color:x,fontWeight:z},[`${ae}-inner-content`]:{color:oe}})},(0,E.ZP)(ue,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ae}-pure`]:{position:"relative",maxWidth:"none",margin:ue.sizePopupArrow,display:"inline-block",[`${ae}-content`]:{display:"inline-block"}}}]},ie=ue=>{const{componentCls:ae}=ue;return{[ae]:he.i.map(oe=>{const ne=ue[`${oe}6`];return{[`&${ae}-${oe}`]:{"--antd-arrow-background-color":ne,[`${ae}-inner`]:{backgroundColor:ne},[`${ae}-arrow`]:{background:"transparent"}}}})}},le=ue=>{const{componentCls:ae,lineWidth:oe,lineType:ne,colorSplit:z,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:ee}=ue,te=y-Math.round(x*b),ce=te/2,de=te/2-oe,ge=ee;return{[ae]:{[`${ae}-inner`]:{padding:0},[`${ae}-title`]:{margin:0,padding:`${ce}px ${ge}px ${de}px`,borderBottom:`${oe}px ${ne} ${z}`},[`${ae}-inner-content`]:{padding:`${a}px ${ge}px`}}}};dt.Z=(0,fe.Z)("Popover",ue=>{const{colorBgElevated:ae,colorText:oe,wireframe:ne}=ue,z=(0,se.TS)(ue,{popoverPadding:12,popoverBg:ae,popoverColor:oe});return[re(z),ie(z),ne&&le(z),(0,xe._y)(z,"zoom-big")]},ue=>({width:177,minWidth:177,zIndexPopup:ue.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return Mt}});var be=me(67294),xe=me(87725),E=me(18299),he=me(16646),fe=me(73475),se=me(94184),re=me.n(se),ie=me(10366),le=me(53124),ue=me(87462),ae=me(1413),oe=me(45987),ne={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},z=function(){var pt=(0,be.useRef)([]),bt=(0,be.useRef)(null);return(0,be.useEffect)(function(){var Lt=Date.now(),Dt=!1;pt.current.forEach(function(Yt){if(Yt){Dt=!0;var _n=Yt.style;_n.transitionDuration=".3s, .3s, .3s, .06s",bt.current&&Lt-bt.current<100&&(_n.transitionDuration="0s, 0s")}}),Dt&&(bt.current=Date.now())}),pt.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(pt){var bt=(0,ae.Z)((0,ae.Z)({},ne),pt),Lt=bt.className,Dt=bt.percent,Yt=bt.prefixCls,_n=bt.strokeColor,Cn=bt.strokeLinecap,On=bt.strokeWidth,Jn=bt.style,dn=bt.trailColor,tr=bt.trailWidth,Sr=bt.transition,Qr=(0,oe.Z)(bt,a);delete Qr.gapPosition;var io=Array.isArray(Dt)?Dt:[Dt],Kr=Array.isArray(_n)?_n:[_n],kr=z(),cn=On/2,Qt=100-On/2,un="M ".concat(Cn==="round"?cn:0,",").concat(cn,`
L `).concat(Cn==="round"?Qt:100,",").concat(cn),yn="0 0 100 ".concat(On),In=0;return be.createElement("svg",(0,ue.Z)({className:re()("".concat(Yt,"-line"),Lt),viewBox:yn,preserveAspectRatio:"none",style:Jn},Qr),be.createElement("path",{className:"".concat(Yt,"-line-trail"),d:un,strokeLinecap:Cn,stroke:dn,strokeWidth:tr||On,fillOpacity:"0"}),io.map(function(Qn,Gn){var wr=1;switch(Cn){case"round":wr=1-On/100;break;case"square":wr=1-On/2/100;break;default:wr=1;break}var br={strokeDasharray:"".concat(Qn*wr,"px, 100px"),strokeDashoffset:"-".concat(In,"px"),transition:Sr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Kn=Kr[Gn]||Kr[Kr.length-1];return In+=Qn,be.createElement("path",{key:Gn,className:"".concat(Yt,"-line-path"),d:un,strokeLinecap:Cn,stroke:Kn,strokeWidth:On,fillOpacity:"0",ref:function(Rt){kr[Gn]=Rt},style:br})}))},x=y,b=me(71002),ee=me(97685),te=me(98924),ce=0,de=(0,te.Z)();function ge(){var st;return de?(st=ce,ce+=1):st="TEST_OR_SSR",st}var ve=function(st){var pt=be.useState(),bt=(0,ee.Z)(pt,2),Lt=bt[0],Dt=bt[1];return be.useEffect(function(){Dt("rc_progress_".concat(ge()))},[]),st||Lt},pe=function(pt){var bt=pt.bg,Lt=pt.children;return be.createElement("div",{style:{width:"100%",height:"100%",background:bt}},Lt)};function Se(st,pt){return Object.keys(st).map(function(bt){var Lt=parseFloat(bt),Dt="".concat(Math.floor(Lt*pt),"%");return"".concat(st[bt]," ").concat(Dt)})}var ye=be.forwardRef(function(st,pt){var bt=st.prefixCls,Lt=st.color,Dt=st.gradientId,Yt=st.radius,_n=st.style,Cn=st.ptg,On=st.strokeLinecap,Jn=st.strokeWidth,dn=st.size,tr=st.gapDegree,Sr=Lt&&(0,b.Z)(Lt)==="object",Qr=Sr?"#FFF":void 0,io=dn/2,Kr=be.createElement("circle",{className:"".concat(bt,"-circle-path"),r:Yt,cx:io,cy:io,stroke:Qr,strokeLinecap:On,strokeWidth:Jn,opacity:Cn===0?0:1,style:_n,ref:pt});if(!Sr)return Kr;var kr="".concat(Dt,"-conic"),cn=tr?"".concat(180+tr/2,"deg"):"0deg",Qt=Se(Lt,(360-tr)/360),un=Se(Lt,1),yn="conic-gradient(from ".concat(cn,", ").concat(Qt.join(", "),")"),In="linear-gradient(to ".concat(tr?"bottom":"top",", ").concat(un.join(", "),")");return be.createElement(be.Fragment,null,be.createElement("mask",{id:kr},Kr),be.createElement("foreignObject",{x:0,y:0,width:dn,height:dn,mask:"url(#".concat(kr,")")},be.createElement(pe,{bg:In},be.createElement(pe,{bg:yn}))))}),Pe=ye,we=100,Le=function(pt,bt,Lt,Dt,Yt,_n,Cn,On,Jn,dn){var tr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Sr=Lt/100*360*((360-_n)/360),Qr=_n===0?0:{bottom:0,top:180,left:90,right:-90}[Cn],io=(100-Dt)/100*bt;Jn==="round"&&Dt!==100&&(io+=dn/2,io>=bt&&(io=bt-.01));var Kr=we/2;return{stroke:typeof On=="string"?On:void 0,strokeDasharray:"".concat(bt,"px ").concat(pt),strokeDashoffset:io+tr,transform:"rotate(".concat(Yt+Sr+Qr,"deg)"),transformOrigin:"".concat(Kr,"px ").concat(Kr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Ee=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Te(st){var pt=st!=null?st:[];return Array.isArray(pt)?pt:[pt]}var Ce=function(pt){var bt=(0,ae.Z)((0,ae.Z)({},ne),pt),Lt=bt.id,Dt=bt.prefixCls,Yt=bt.steps,_n=bt.strokeWidth,Cn=bt.trailWidth,On=bt.gapDegree,Jn=On===void 0?0:On,dn=bt.gapPosition,tr=bt.trailColor,Sr=bt.strokeLinecap,Qr=bt.style,io=bt.className,Kr=bt.strokeColor,kr=bt.percent,cn=(0,oe.Z)(bt,Ee),Qt=we/2,un=ve(Lt),yn="".concat(un,"-gradient"),In=Qt-_n/2,Qn=Math.PI*2*In,Gn=Jn>0?90+Jn/2:-90,wr=Qn*((360-Jn)/360),br=(0,b.Z)(Yt)==="object"?Yt:{count:Yt,space:2},Kn=br.count,wt=br.space,Rt=Te(kr),xt=Te(Kr),sn=xt.find(function(Jr){return Jr&&(0,b.Z)(Jr)==="object"}),An=sn&&(0,b.Z)(sn)==="object",Nn=An?"butt":Sr,hr=Le(Qn,wr,0,100,Gn,Jn,dn,tr,Nn,_n),nr=z(),fr=function(){var hn=0;return Rt.map(function(Tr,Ot){var qt=xt[Ot]||xt[xt.length-1],Xt=Le(Qn,wr,hn,Tr,Gn,Jn,dn,qt,Nn,_n);return hn+=Tr,be.createElement(Pe,{key:Ot,color:qt,ptg:Tr,radius:In,prefixCls:Dt,gradientId:yn,style:Xt,strokeLinecap:Nn,strokeWidth:_n,gapDegree:Jn,ref:function(Tn){nr[Ot]=Tn},size:we})}).reverse()},Fr=function(){var hn=Math.round(Kn*(Rt[0]/100)),Tr=100/Kn,Ot=0;return new Array(Kn).fill(null).map(function(qt,Xt){var tn=Xt<=hn-1?xt[0]:tr,Tn=tn&&(0,b.Z)(tn)==="object"?"url(#".concat(yn,")"):void 0,Jt=Le(Qn,wr,Ot,Tr,Gn,Jn,dn,tn,"butt",_n,wt);return Ot+=(wr-Jt.strokeDashoffset+wt)*100/wr,be.createElement("circle",{key:Xt,className:"".concat(Dt,"-circle-path"),r:In,cx:Qt,cy:Qt,stroke:Tn,strokeWidth:_n,opacity:1,style:Jt,ref:function(rn){nr[Xt]=rn}})})};return be.createElement("svg",(0,ue.Z)({className:re()("".concat(Dt,"-circle"),io),viewBox:"0 0 ".concat(we," ").concat(we),style:Qr,id:Lt,role:"presentation"},cn),!Kn&&be.createElement("circle",{className:"".concat(Dt,"-circle-trail"),r:In,cx:Qt,cy:Qt,stroke:tr,strokeLinecap:Nn,strokeWidth:Cn||_n,style:hr}),Kn?Fr():fr())},Ae=Ce,Ie={Line:x,Circle:Ae},He=me(83062),je=me(47448);function tt(st){return!st||st<0?0:st>100?100:st}function Je(st){let{success:pt,successPercent:bt}=st,Lt=bt;return pt&&"progress"in pt&&(Lt=pt.progress),pt&&"percent"in pt&&(Lt=pt.percent),Lt}const Qe=st=>{let{percent:pt,success:bt,successPercent:Lt}=st;const Dt=tt(Je({success:bt,successPercent:Lt}));return[Dt,tt(tt(pt)-Dt)]},Xe=st=>{let{success:pt={},strokeColor:bt}=st;const{strokeColor:Lt}=pt;return[Lt||je.presetPrimaryColors.green,bt||null]},$e=(st,pt,bt)=>{var Lt,Dt,Yt,_n;let Cn=-1,On=-1;if(pt==="step"){const Jn=bt.steps,dn=bt.strokeWidth;typeof st=="string"||typeof st=="undefined"?(Cn=st==="small"?2:14,On=dn!=null?dn:8):typeof st=="number"?[Cn,On]=[st,st]:[Cn=14,On=8]=st,Cn*=Jn}else if(pt==="line"){const Jn=bt==null?void 0:bt.strokeWidth;typeof st=="string"||typeof st=="undefined"?On=Jn||(st==="small"?6:8):typeof st=="number"?[Cn,On]=[st,st]:[Cn=-1,On=8]=st}else(pt==="circle"||pt==="dashboard")&&(typeof st=="string"||typeof st=="undefined"?[Cn,On]=st==="small"?[60,60]:[120,120]:typeof st=="number"?[Cn,On]=[st,st]:(Cn=(Dt=(Lt=st[0])!==null&&Lt!==void 0?Lt:st[1])!==null&&Dt!==void 0?Dt:120,On=(_n=(Yt=st[0])!==null&&Yt!==void 0?Yt:st[1])!==null&&_n!==void 0?_n:120));return[Cn,On]},ke=3,Ue=st=>ke/st*100;var Ye=st=>{const{prefixCls:pt,trailColor:bt=null,strokeLinecap:Lt="round",gapPosition:Dt,gapDegree:Yt,width:_n=120,type:Cn,children:On,success:Jn,size:dn=_n}=st,[tr,Sr]=$e(dn,"circle");let{strokeWidth:Qr}=st;Qr===void 0&&(Qr=Math.max(Ue(tr),6));const io={width:tr,height:Sr,fontSize:tr*.15+6},Kr=be.useMemo(()=>{if(Yt||Yt===0)return Yt;if(Cn==="dashboard")return 75},[Yt,Cn]),kr=Dt||Cn==="dashboard"&&"bottom"||void 0,cn=Object.prototype.toString.call(st.strokeColor)==="[object Object]",Qt=Xe({success:Jn,strokeColor:st.strokeColor}),un=re()(`${pt}-inner`,{[`${pt}-circle-gradient`]:cn}),yn=be.createElement(Ae,{percent:Qe(st),strokeWidth:Qr,trailWidth:Qr,strokeColor:Qt,strokeLinecap:Lt,trailColor:bt,prefixCls:pt,gapDegree:Kr,gapPosition:kr});return be.createElement("div",{className:un,style:io},tr<=20?be.createElement(He.Z,{title:On},be.createElement("span",null,yn)):be.createElement(be.Fragment,null,yn,On))},ft=function(st,pt){var bt={};for(var Lt in st)Object.prototype.hasOwnProperty.call(st,Lt)&&pt.indexOf(Lt)<0&&(bt[Lt]=st[Lt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,Lt=Object.getOwnPropertySymbols(st);Dt<Lt.length;Dt++)pt.indexOf(Lt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(st,Lt[Dt])&&(bt[Lt[Dt]]=st[Lt[Dt]]);return bt};const We=st=>{let pt=[];return Object.keys(st).forEach(bt=>{const Lt=parseFloat(bt.replace(/%/g,""));isNaN(Lt)||pt.push({key:Lt,value:st[bt]})}),pt=pt.sort((bt,Lt)=>bt.key-Lt.key),pt.map(bt=>{let{key:Lt,value:Dt}=bt;return`${Dt} ${Lt}%`}).join(", ")},Ke=(st,pt)=>{const{from:bt=je.presetPrimaryColors.blue,to:Lt=je.presetPrimaryColors.blue,direction:Dt=pt==="rtl"?"to left":"to right"}=st,Yt=ft(st,["from","to","direction"]);if(Object.keys(Yt).length!==0){const _n=We(Yt);return{backgroundImage:`linear-gradient(${Dt}, ${_n})`}}return{backgroundImage:`linear-gradient(${Dt}, ${bt}, ${Lt})`}};var et=st=>{const{prefixCls:pt,direction:bt,percent:Lt,size:Dt,strokeWidth:Yt,strokeColor:_n,strokeLinecap:Cn="round",children:On,trailColor:Jn=null,success:dn}=st,tr=_n&&typeof _n!="string"?Ke(_n,bt):{backgroundColor:_n},Sr=Cn==="square"||Cn==="butt"?0:void 0,Qr={backgroundColor:Jn||void 0,borderRadius:Sr},io=Dt!=null?Dt:[-1,Yt||(Dt==="small"?6:8)],[Kr,kr]=$e(io,"line",{strokeWidth:Yt}),cn=Object.assign({width:`${tt(Lt)}%`,height:kr,borderRadius:Sr},tr),Qt=Je(st),un={width:`${tt(Qt)}%`,height:kr,borderRadius:Sr,backgroundColor:dn==null?void 0:dn.strokeColor},yn={width:Kr<0?"100%":Kr,height:kr};return be.createElement(be.Fragment,null,be.createElement("div",{className:`${pt}-outer`,style:yn},be.createElement("div",{className:`${pt}-inner`,style:Qr},be.createElement("div",{className:`${pt}-bg`,style:cn}),Qt!==void 0?be.createElement("div",{className:`${pt}-success-bg`,style:un}):null)),On)},Ge=st=>{const{size:pt,steps:bt,percent:Lt=0,strokeWidth:Dt=8,strokeColor:Yt,trailColor:_n=null,prefixCls:Cn,children:On}=st,Jn=Math.round(bt*(Lt/100)),dn=pt==="small"?2:14,tr=pt!=null?pt:[dn,Dt],[Sr,Qr]=$e(tr,"step",{steps:bt,strokeWidth:Dt}),io=Sr/bt,Kr=new Array(bt);for(let kr=0;kr<bt;kr++){const cn=Array.isArray(Yt)?Yt[kr]:Yt;Kr[kr]=be.createElement("div",{key:kr,className:re()(`${Cn}-steps-item`,{[`${Cn}-steps-item-active`]:kr<=Jn-1}),style:{backgroundColor:kr<=Jn-1?cn:_n,width:io,height:Qr}})}return be.createElement("div",{className:`${Cn}-steps-outer`},Kr,On)},Ve=me(45930),Ze=me(14747),Fe=me(67968),Oe=me(45503);const _e=st=>{const pt=st?"100%":"-100%";return new Ve.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:bt}=st;return{[pt]:Object.assign(Object.assign({},(0,Ze.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",[bt]:{fontSize:st.fontSize}},[`&${pt}-status-active`]:{[`${pt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:st.colorBgContainer,borderRadius:st.lineBorderRadius,opacity:0,animationName:_e(),animationDuration:st.progressActiveMotionDuration,animationTimingFunction:st.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${pt}-rtl${pt}-status-active`]:{[`${pt}-bg::before`]:{animationName:_e(!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}}})}},ze=st=>{const{componentCls:pt,iconCls:bt}=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%)",[bt]:{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"}}}},ot=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}}}}}},gt=st=>{const{componentCls:pt,iconCls:bt}=st;return{[pt]:{[`${pt}-small&-line, ${pt}-small&-line ${pt}-text ${bt}`]:{fontSize:st.fontSizeSM}}}};var yt=(0,Fe.Z)("Progress",st=>{const pt=st.marginXXS/2,bt=(0,Oe.TS)(st,{progressStepMarginInlineEnd:pt,progressStepMinWidth:pt,progressActiveMotionDuration:"2.4s"});return[Ne(bt),ze(bt),ot(bt),gt(bt)]},st=>({circleTextColor:st.colorText,defaultColor:st.colorInfo,remainingColor:st.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),nt=function(st,pt){var bt={};for(var Lt in st)Object.prototype.hasOwnProperty.call(st,Lt)&&pt.indexOf(Lt)<0&&(bt[Lt]=st[Lt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,Lt=Object.getOwnPropertySymbols(st);Dt<Lt.length;Dt++)pt.indexOf(Lt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(st,Lt[Dt])&&(bt[Lt[Dt]]=st[Lt[Dt]]);return bt};const mt=null,At=["normal","exception","active","success"];var at=be.forwardRef((st,pt)=>{const{prefixCls:bt,className:Lt,rootClassName:Dt,steps:Yt,strokeColor:_n,percent:Cn=0,size:On="default",showInfo:Jn=!0,type:dn="line",status:tr,format:Sr,style:Qr}=st,io=nt(st,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Kr=be.useMemo(()=>{var Rt,xt;const sn=Je(st);return parseInt(sn!==void 0?(Rt=sn!=null?sn:0)===null||Rt===void 0?void 0:Rt.toString():(xt=Cn!=null?Cn:0)===null||xt===void 0?void 0:xt.toString(),10)},[Cn,st.success,st.successPercent]),kr=be.useMemo(()=>!At.includes(tr)&&Kr>=100?"success":tr||"normal",[tr,Kr]),{getPrefixCls:cn,direction:Qt,progress:un}=be.useContext(le.E_),yn=cn("progress",bt),[In,Qn]=yt(yn),Gn=be.useMemo(()=>{if(!Jn)return null;const Rt=Je(st);let xt;const sn=Sr||(Nn=>`${Nn}%`),An=dn==="line";return Sr||kr!=="exception"&&kr!=="success"?xt=sn(tt(Cn),tt(Rt)):kr==="exception"?xt=An?be.createElement(he.Z,null):be.createElement(fe.Z,null):kr==="success"&&(xt=An?be.createElement(xe.Z,null):be.createElement(E.Z,null)),be.createElement("span",{className:`${yn}-text`,title:typeof xt=="string"?xt:void 0},xt)},[Jn,Cn,Kr,kr,dn,yn,Sr]),wr=Array.isArray(_n)?_n[0]:_n,br=typeof _n=="string"||Array.isArray(_n)?_n:void 0;let Kn;dn==="line"?Kn=Yt?be.createElement(Ge,Object.assign({},st,{strokeColor:br,prefixCls:yn,steps:Yt}),Gn):be.createElement(et,Object.assign({},st,{strokeColor:wr,prefixCls:yn,direction:Qt}),Gn):(dn==="circle"||dn==="dashboard")&&(Kn=be.createElement(Ye,Object.assign({},st,{strokeColor:wr,prefixCls:yn,progressStatus:kr}),Gn));const wt=re()(yn,`${yn}-status-${kr}`,`${yn}-${dn==="dashboard"&&"circle"||Yt&&"steps"||dn}`,{[`${yn}-inline-circle`]:dn==="circle"&&$e(On,"circle")[0]<=20,[`${yn}-show-info`]:Jn,[`${yn}-${On}`]:typeof On=="string",[`${yn}-rtl`]:Qt==="rtl"},un==null?void 0:un.className,Lt,Dt,Qn);return In(be.createElement("div",Object.assign({ref:pt,style:Object.assign(Object.assign({},un==null?void 0:un.style),Qr),className:wt,role:"progressbar","aria-valuenow":Kr},(0,ie.Z)(io,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Kn))}),Mt=at},46303:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return Ge}});var be=me(94184),xe=me.n(be),E=me(67294),he=me(53124),fe=me(10366),re=Ve=>{const{prefixCls:Ze,className:Fe,style:Oe,size:_e,shape:Ne}=Ve,ze=xe()({[`${Ze}-lg`]:_e==="large",[`${Ze}-sm`]:_e==="small"}),ot=xe()({[`${Ze}-circle`]:Ne==="circle",[`${Ze}-square`]:Ne==="square",[`${Ze}-round`]:Ne==="round"}),gt=E.useMemo(()=>typeof _e=="number"?{width:_e,height:_e,lineHeight:`${_e}px`}:{},[_e]);return E.createElement("span",{className:xe()(Ze,ze,ot,Fe),style:Object.assign(Object.assign({},gt),Oe)})},ie=me(45930),le=me(67968),ue=me(45503);const ae=new ie.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),oe=Ve=>({height:Ve,lineHeight:`${Ve}px`}),ne=Ve=>Object.assign({width:Ve},oe(Ve)),z=Ve=>({background:Ve.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ae,animationDuration:Ve.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=Ve=>Object.assign({width:Ve*5,minWidth:Ve*5},oe(Ve)),y=Ve=>{const{skeletonAvatarCls:Ze,gradientFromColor:Fe,controlHeight:Oe,controlHeightLG:_e,controlHeightSM:Ne}=Ve;return{[`${Ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Fe},ne(Oe)),[`${Ze}${Ze}-circle`]:{borderRadius:"50%"},[`${Ze}${Ze}-lg`]:Object.assign({},ne(_e)),[`${Ze}${Ze}-sm`]:Object.assign({},ne(Ne))}},x=Ve=>{const{controlHeight:Ze,borderRadiusSM:Fe,skeletonInputCls:Oe,controlHeightLG:_e,controlHeightSM:Ne,gradientFromColor:ze}=Ve;return{[`${Oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ze,borderRadius:Fe},a(Ze)),[`${Oe}-lg`]:Object.assign({},a(_e)),[`${Oe}-sm`]:Object.assign({},a(Ne))}},b=Ve=>Object.assign({width:Ve},oe(Ve)),ee=Ve=>{const{skeletonImageCls:Ze,imageSizeBase:Fe,gradientFromColor:Oe,borderRadiusSM:_e}=Ve;return{[`${Ze}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Oe,borderRadius:_e},b(Fe*2)),{[`${Ze}-path`]:{fill:"#bfbfbf"},[`${Ze}-svg`]:Object.assign(Object.assign({},b(Fe)),{maxWidth:Fe*4,maxHeight:Fe*4}),[`${Ze}-svg${Ze}-svg-circle`]:{borderRadius:"50%"}}),[`${Ze}${Ze}-circle`]:{borderRadius:"50%"}}},te=(Ve,Ze,Fe)=>{const{skeletonButtonCls:Oe}=Ve;return{[`${Fe}${Oe}-circle`]:{width:Ze,minWidth:Ze,borderRadius:"50%"},[`${Fe}${Oe}-round`]:{borderRadius:Ze}}},ce=Ve=>Object.assign({width:Ve*2,minWidth:Ve*2},oe(Ve)),de=Ve=>{const{borderRadiusSM:Ze,skeletonButtonCls:Fe,controlHeight:Oe,controlHeightLG:_e,controlHeightSM:Ne,gradientFromColor:ze}=Ve;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ze,borderRadius:Ze,width:Oe*2,minWidth:Oe*2},ce(Oe))},te(Ve,Oe,Fe)),{[`${Fe}-lg`]:Object.assign({},ce(_e))}),te(Ve,_e,`${Fe}-lg`)),{[`${Fe}-sm`]:Object.assign({},ce(Ne))}),te(Ve,Ne,`${Fe}-sm`))},ge=Ve=>{const{componentCls:Ze,skeletonAvatarCls:Fe,skeletonTitleCls:Oe,skeletonParagraphCls:_e,skeletonButtonCls:Ne,skeletonInputCls:ze,skeletonImageCls:ot,controlHeight:gt,controlHeightLG:yt,controlHeightSM:nt,gradientFromColor:mt,padding:At,marginSM:kt,borderRadius:at,titleHeight:Mt,blockRadius:st,paragraphLiHeight:pt,controlHeightXS:bt,paragraphMarginTop:Lt}=Ve;return{[`${Ze}`]:{display:"table",width:"100%",[`${Ze}-header`]:{display:"table-cell",paddingInlineEnd:At,verticalAlign:"top",[`${Fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:mt},ne(gt)),[`${Fe}-circle`]:{borderRadius:"50%"},[`${Fe}-lg`]:Object.assign({},ne(yt)),[`${Fe}-sm`]:Object.assign({},ne(nt))},[`${Ze}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Oe}`]:{width:"100%",height:Mt,background:mt,borderRadius:st,[`+ ${_e}`]:{marginBlockStart:nt}},[`${_e}`]:{padding:0,"> li":{width:"100%",height:pt,listStyle:"none",background:mt,borderRadius:st,"+ li":{marginBlockStart:bt}}},[`${_e}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Ze}-content`]:{[`${Oe}, ${_e} > li`]:{borderRadius:at}}},[`${Ze}-with-avatar ${Ze}-content`]:{[`${Oe}`]:{marginBlockStart:kt,[`+ ${_e}`]:{marginBlockStart:Lt}}},[`${Ze}${Ze}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},de(Ve)),y(Ve)),x(Ve)),ee(Ve)),[`${Ze}${Ze}-block`]:{width:"100%",[`${Ne}`]:{width:"100%"},[`${ze}`]:{width:"100%"}},[`${Ze}${Ze}-active`]:{[`
${Oe},
${_e} > li,
${Fe},
${Ne},
${ze},
${ot}
`]:Object.assign({},z(Ve))}}};var ve=(0,le.Z)("Skeleton",Ve=>{const{componentCls:Ze}=Ve,Fe=(0,ue.TS)(Ve,{skeletonAvatarCls:`${Ze}-avatar`,skeletonTitleCls:`${Ze}-title`,skeletonParagraphCls:`${Ze}-paragraph`,skeletonButtonCls:`${Ze}-button`,skeletonInputCls:`${Ze}-input`,skeletonImageCls:`${Ze}-image`,imageSizeBase:Ve.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ve.gradientFromColor} 25%, ${Ve.gradientToColor} 37%, ${Ve.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ge(Fe)]},Ve=>{const{colorFillContent:Ze,colorFill:Fe}=Ve,Oe=Ze,_e=Fe;return{color:Oe,colorGradientEnd:_e,gradientFromColor:Oe,gradientToColor:_e,titleHeight:Ve.controlHeight/2,blockRadius:Ve.borderRadiusSM,paragraphMarginTop:Ve.marginLG+Ve.marginXXS,paragraphLiHeight:Ve.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Se=Ve=>{const{prefixCls:Ze,className:Fe,rootClassName:Oe,active:_e,shape:Ne="circle",size:ze="default"}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),gt=ot("skeleton",Ze),[yt,nt]=ve(gt),mt=(0,fe.Z)(Ve,["prefixCls","className"]),At=xe()(gt,`${gt}-element`,{[`${gt}-active`]:_e},Fe,Oe,nt);return yt(E.createElement("div",{className:At},E.createElement(re,Object.assign({prefixCls:`${gt}-avatar`,shape:Ne,size:ze},mt))))},Pe=Ve=>{const{prefixCls:Ze,className:Fe,rootClassName:Oe,active:_e,block:Ne=!1,size:ze="default"}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),gt=ot("skeleton",Ze),[yt,nt]=ve(gt),mt=(0,fe.Z)(Ve,["prefixCls"]),At=xe()(gt,`${gt}-element`,{[`${gt}-active`]:_e,[`${gt}-block`]:Ne},Fe,Oe,nt);return yt(E.createElement("div",{className:At},E.createElement(re,Object.assign({prefixCls:`${gt}-button`,size:ze},mt))))};const we="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ee=Ve=>{const{prefixCls:Ze,className:Fe,rootClassName:Oe,style:_e,active:Ne}=Ve,{getPrefixCls:ze}=E.useContext(he.E_),ot=ze("skeleton",Ze),[gt,yt]=ve(ot),nt=xe()(ot,`${ot}-element`,{[`${ot}-active`]:Ne},Fe,Oe,yt);return gt(E.createElement("div",{className:nt},E.createElement("div",{className:xe()(`${ot}-image`,Fe),style:_e},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ot}-image-svg`},E.createElement("path",{d:we,className:`${ot}-image-path`})))))},Ce=Ve=>{const{prefixCls:Ze,className:Fe,rootClassName:Oe,active:_e,block:Ne,size:ze="default"}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),gt=ot("skeleton",Ze),[yt,nt]=ve(gt),mt=(0,fe.Z)(Ve,["prefixCls"]),At=xe()(gt,`${gt}-element`,{[`${gt}-active`]:_e,[`${gt}-block`]:Ne},Fe,Oe,nt);return yt(E.createElement("div",{className:At},E.createElement(re,Object.assign({prefixCls:`${gt}-input`,size:ze},mt))))},Ae=me(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"},He=Ie,je=me(74643),tt=function(Ze,Fe){return E.createElement(je.Z,(0,Ae.Z)({},Ze,{ref:Fe,icon:He}))},Je=E.forwardRef(tt),Xe=Ve=>{const{prefixCls:Ze,className:Fe,rootClassName:Oe,style:_e,active:Ne,children:ze}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),gt=ot("skeleton",Ze),[yt,nt]=ve(gt),mt=xe()(gt,`${gt}-element`,{[`${gt}-active`]:Ne},nt,Fe,Oe),At=ze!=null?ze:E.createElement(Je,null);return yt(E.createElement("div",{className:mt},E.createElement("div",{className:xe()(`${gt}-image`,Fe),style:_e},At)))},$e=me(74902),Ue=Ve=>{const Ze=ot=>{const{width:gt,rows:yt=2}=Ve;if(Array.isArray(gt))return gt[ot];if(yt-1===ot)return gt},{prefixCls:Fe,className:Oe,style:_e,rows:Ne}=Ve,ze=(0,$e.Z)(Array(Ne)).map((ot,gt)=>E.createElement("li",{key:gt,style:{width:Ze(gt)}}));return E.createElement("ul",{className:xe()(Fe,Oe),style:_e},ze)},Ye=Ve=>{let{prefixCls:Ze,className:Fe,width:Oe,style:_e}=Ve;return E.createElement("h3",{className:xe()(Ze,Fe),style:Object.assign({width:Oe},_e)})};function ft(Ve){return Ve&&typeof Ve=="object"?Ve:{}}function We(Ve,Ze){return Ve&&!Ze?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ke(Ve,Ze){return!Ve&&Ze?{width:"38%"}:Ve&&Ze?{width:"50%"}:{}}function Re(Ve,Ze){const Fe={};return(!Ve||!Ze)&&(Fe.width="61%"),!Ve&&Ze?Fe.rows=3:Fe.rows=2,Fe}const et=Ve=>{const{prefixCls:Ze,loading:Fe,className:Oe,rootClassName:_e,style:Ne,children:ze,avatar:ot=!1,title:gt=!0,paragraph:yt=!0,active:nt,round:mt}=Ve,{getPrefixCls:At,direction:kt,skeleton:at}=E.useContext(he.E_),Mt=At("skeleton",Ze),[st,pt]=ve(Mt);if(Fe||!("loading"in Ve)){const bt=!!ot,Lt=!!gt,Dt=!!yt;let Yt;if(bt){const On=Object.assign(Object.assign({prefixCls:`${Mt}-avatar`},We(Lt,Dt)),ft(ot));Yt=E.createElement("div",{className:`${Mt}-header`},E.createElement(re,Object.assign({},On)))}let _n;if(Lt||Dt){let On;if(Lt){const dn=Object.assign(Object.assign({prefixCls:`${Mt}-title`},Ke(bt,Dt)),ft(gt));On=E.createElement(Ye,Object.assign({},dn))}let Jn;if(Dt){const dn=Object.assign(Object.assign({prefixCls:`${Mt}-paragraph`},Re(bt,Lt)),ft(yt));Jn=E.createElement(Ue,Object.assign({},dn))}_n=E.createElement("div",{className:`${Mt}-content`},On,Jn)}const Cn=xe()(Mt,{[`${Mt}-with-avatar`]:bt,[`${Mt}-active`]:nt,[`${Mt}-rtl`]:kt==="rtl",[`${Mt}-round`]:mt},at==null?void 0:at.className,Oe,_e,pt);return st(E.createElement("div",{className:Cn,style:Object.assign(Object.assign({},at==null?void 0:at.style),Ne)},Yt,_n))}return typeof ze!="undefined"?ze:null};et.Button=Pe,et.Avatar=Se,et.Input=Ce,et.Image=Ee,et.Node=Xe;var Me=et,Ge=Me},55054:function(Ct,dt,me){"use strict";me.d(dt,{default:function(){return ve}});var be=me(67294),xe=me(57838),E=me(96159),he=me(94184),fe=me.n(he),se=me(53124),re=me(46303),le=pe=>{const{value:Se,formatter:ye,precision:Pe,decimalSeparator:we,groupSeparator:Le="",prefixCls:Ee}=pe;let Te;if(typeof ye=="function")Te=ye(Se);else{const Ce=String(Se),Ae=Ce.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ae||Ce==="-")Te=Ce;else{const Ie=Ae[1];let He=Ae[2]||"0",je=Ae[4]||"";He=He.replace(/\B(?=(\d{3})+(?!\d))/g,Le),typeof Pe=="number"&&(je=je.padEnd(Pe,"0").slice(0,Pe>0?Pe:0)),je&&(je=`${we}${je}`),Te=[be.createElement("span",{key:"int",className:`${Ee}-content-value-int`},Ie,He),je&&be.createElement("span",{key:"decimal",className:`${Ee}-content-value-decimal`},je)]}}return be.createElement("span",{className:`${Ee}-content-value`},Te)},ue=me(14747),ae=me(67968),oe=me(45503);const ne=pe=>{const{componentCls:Se,marginXXS:ye,padding:Pe,colorTextDescription:we,titleFontSize:Le,colorTextHeading:Ee,contentFontSize:Te,fontFamily:Ce}=pe;return{[`${Se}`]:Object.assign(Object.assign({},(0,ue.Wf)(pe)),{[`${Se}-title`]:{marginBottom:ye,color:we,fontSize:Le},[`${Se}-skeleton`]:{paddingTop:Pe},[`${Se}-content`]:{color:Ee,fontSize:Te,fontFamily:Ce,[`${Se}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Se}-content-prefix, ${Se}-content-suffix`]:{display:"inline-block"},[`${Se}-content-prefix`]:{marginInlineEnd:ye},[`${Se}-content-suffix`]:{marginInlineStart:ye}}})}};var z=(0,ae.Z)("Statistic",pe=>{const Se=(0,oe.TS)(pe,{});return[ne(Se)]},pe=>{const{fontSizeHeading3:Se,fontSize:ye}=pe;return{titleFontSize:ye,contentFontSize:Se}}),y=pe=>{const{prefixCls:Se,className:ye,rootClassName:Pe,style:we,valueStyle:Le,value:Ee=0,title:Te,valueRender:Ce,prefix:Ae,suffix:Ie,loading:He=!1,onMouseEnter:je,onMouseLeave:tt,decimalSeparator:Je=".",groupSeparator:Qe=","}=pe,{getPrefixCls:Xe,direction:$e,statistic:ke}=be.useContext(se.E_),Ue=Xe("statistic",Se),[qe,Ye]=z(Ue),ft=be.createElement(le,Object.assign({decimalSeparator:Je,groupSeparator:Qe,prefixCls:Ue},pe,{value:Ee})),We=fe()(Ue,{[`${Ue}-rtl`]:$e==="rtl"},ke==null?void 0:ke.className,ye,Pe,Ye);return qe(be.createElement("div",{className:We,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),we),onMouseEnter:je,onMouseLeave:tt},Te&&be.createElement("div",{className:`${Ue}-title`},Te),be.createElement(re.Z,{paragraph:!1,loading:He,className:`${Ue}-skeleton`},be.createElement("div",{style:Le,className:`${Ue}-content`},Ae&&be.createElement("span",{className:`${Ue}-content-prefix`},Ae),Ce?Ce(ft):ft,Ie&&be.createElement("span",{className:`${Ue}-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,Se){let ye=pe;const Pe=/\[[^\]]*]/g,we=(Se.match(Pe)||[]).map(Ce=>Ce.slice(1,-1)),Le=Se.replace(Pe,"[]"),Ee=x.reduce((Ce,Ae)=>{let[Ie,He]=Ae;if(Ce.includes(Ie)){const je=Math.floor(ye/He);return ye-=je*He,Ce.replace(new RegExp(`${Ie}+`,"g"),tt=>{const Je=tt.length;return je.toString().padStart(Je,"0")})}return Ce},Le);let Te=0;return Ee.replace(Pe,()=>{const Ce=we[Te];return Te+=1,Ce})}function ee(pe,Se){const{format:ye=""}=Se,Pe=new Date(pe).getTime(),we=Date.now(),Le=Math.max(Pe-we,0);return b(Le,ye)}const te=1e3/30;function ce(pe){return new Date(pe).getTime()}const de=pe=>{const{value:Se,format:ye="HH:mm:ss",onChange:Pe,onFinish:we}=pe,Le=(0,xe.Z)(),Ee=be.useRef(null),Te=()=>{we==null||we(),Ee.current&&(clearInterval(Ee.current),Ee.current=null)},Ce=()=>{const He=ce(Se);He>=Date.now()&&(Ee.current=setInterval(()=>{Le(),Pe==null||Pe(He-Date.now()),He<Date.now()&&Te()},te))};be.useEffect(()=>(Ce(),()=>{Ee.current&&(clearInterval(Ee.current),Ee.current=null)}),[Se]);const Ae=(He,je)=>ee(He,Object.assign(Object.assign({},je),{format:ye})),Ie=He=>(0,E.Tm)(He,{title:void 0});return be.createElement(y,Object.assign({},pe,{valueRender:Ie,formatter:Ae}))};var ge=be.memo(de);y.Countdown=ge;var ve=y},49867:function(Ct,dt,me){"use strict";me.d(dt,{N:function(){return be}});const be=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(Ct,dt,me){"use strict";me.d(dt,{default:function(){return Tl}});var be={},xe="rc-table-internal-hook",E=me(97685),he=me(66680),fe=me(8410),se=me(91881),re=me(67294),ie=me(73935);function le(De){var Be=re.createContext(void 0),rt=function(ht){var vt=ht.value,_t=ht.children,jt=re.useRef(vt);jt.current=vt;var It=re.useState(function(){return{getValue:function(){return jt.current},listeners:new Set}}),zt=(0,E.Z)(It,1),en=zt[0];return(0,fe.Z)(function(){(0,ie.unstable_batchedUpdates)(function(){en.listeners.forEach(function(Kt){Kt(vt)})})},[vt]),re.createElement(Be.Provider,{value:en},_t)};return{Context:Be,Provider:rt,defaultValue:De}}function ue(De,Be){var rt=(0,he.Z)(typeof Be=="function"?Be:function(Kt){if(Be===void 0)return Kt;if(!Array.isArray(Be))return Kt[Be];var vn={};return Be.forEach(function(mn){vn[mn]=Kt[mn]}),vn}),lt=re.useContext(De==null?void 0:De.Context),ht=lt||{},vt=ht.listeners,_t=ht.getValue,jt=re.useRef();jt.current=rt(lt?_t():De==null?void 0:De.defaultValue);var It=re.useState({}),zt=(0,E.Z)(It,2),en=zt[1];return(0,fe.Z)(function(){if(!lt)return;function Kt(vn){var mn=rt(vn);(0,se.Z)(jt.current,mn,!0)||en({})}return vt.add(Kt),function(){vt.delete(Kt)}},[lt]),jt.current}var ae=me(87462),oe=me(42550);function ne(){var De=re.createContext(null);function Be(){return re.useContext(De)}function rt(ht,vt){var _t=(0,oe.Yr)(ht),jt=function(zt,en){var Kt=_t?{ref:en}:{},vn=re.useRef(0),mn=re.useRef(zt),wn=Be();return wn!==null?re.createElement(ht,(0,ae.Z)({},zt,Kt)):((!vt||vt(mn.current,zt))&&(vn.current+=1),mn.current=zt,re.createElement(De.Provider,{value:vn.current},re.createElement(ht,(0,ae.Z)({},zt,Kt))))};return _t?re.forwardRef(jt):jt}function lt(ht,vt){var _t=(0,oe.Yr)(ht),jt=function(zt,en){var Kt=_t?{ref:en}:{};return Be(),re.createElement(ht,(0,ae.Z)({},zt,Kt))};return _t?re.memo(re.forwardRef(jt),vt):re.memo(jt,vt)}return{makeImmutable:rt,responseImmutable:lt,useImmutableMark:Be}}var z=ne(),a=z.makeImmutable,y=z.responseImmutable,x=z.useImmutableMark,b=ne(),ee=b.makeImmutable,te=b.responseImmutable,ce=b.useImmutableMark,de=le(),ge=de;function ve(De,Be){var rt=re.useRef(0);rt.current+=1;var lt=re.useRef(De),ht=[];Object.keys(De||{}).map(function(_t){var jt;(De==null?void 0:De[_t])!==((jt=lt.current)===null||jt===void 0?void 0:jt[_t])&&ht.push(_t)}),lt.current=De;var vt=re.useRef([]);return ht.length&&(vt.current=ht),re.useDebugValue(rt.current),re.useDebugValue(vt.current.join(", ")),Be&&console.log("".concat(Be,":"),rt.current,vt.current),rt.current}var pe=null,Se=re.memo(function(){var De=ve();return re.createElement("h1",null,"Render Times: ",De)});Se.displayName="RenderBlock";var ye=me(71002),Pe=me(1413),we=me(4942),Le=me(94184),Ee=me.n(Le);function Te(De,Be,rt){var lt=re.useRef({});return(!("value"in lt.current)||rt(lt.current.condition,Be))&&(lt.current.value=De(),lt.current.condition=Be),lt.current.value}var Ce={},Ae=[],Ie=function(Be){Ae.push(Be)};function He(De,Be){if(0)var rt}function je(De,Be){if(0)var rt}function tt(){Ce={}}function Je(De,Be,rt){!Be&&!Ce[rt]&&(De(!1,rt),Ce[rt]=!0)}function Qe(De,Be){Je(He,De,Be)}function Xe(De,Be){Je(je,De,Be)}Qe.preMessage=Ie,Qe.resetWarned=tt,Qe.noteOnce=Xe;var $e=Qe;function ke(De,Be){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,lt=new Set;function ht(vt,_t){var jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,It=lt.has(vt);if($e(!It,"Warning: There may be circular references"),It)return!1;if(vt===_t)return!0;if(rt&&jt>1)return!1;lt.add(vt);var zt=jt+1;if(Array.isArray(vt)){if(!Array.isArray(_t)||vt.length!==_t.length)return!1;for(var en=0;en<vt.length;en++)if(!ht(vt[en],_t[en],zt))return!1;return!0}if(vt&&_t&&(0,ye.Z)(vt)==="object"&&(0,ye.Z)(_t)==="object"){var Kt=Object.keys(vt);return Kt.length!==Object.keys(_t).length?!1:Kt.every(function(vn){return ht(vt[vn],_t[vn],zt)})}return!1}return ht(De,Be)}var Ue=ke;function qe(De,Be){for(var rt=De,lt=0;lt<Be.length;lt+=1){if(rt==null)return;rt=rt[Be[lt]]}return rt}var Ye=re.createContext({renderWithProps:!1}),ft=Ye,We="RC_TABLE_KEY";function Ke(De){return De==null?[]:Array.isArray(De)?De:[De]}function Re(De){var Be=[],rt={};return De.forEach(function(lt){for(var ht=lt||{},vt=ht.key,_t=ht.dataIndex,jt=vt||Ke(_t).join("-")||We;rt[jt];)jt="".concat(jt,"_next");rt[jt]=!0,Be.push(jt)}),Be}function et(De){return De!=null}function Me(De){return De&&(0,ye.Z)(De)==="object"&&!Array.isArray(De)&&!re.isValidElement(De)}function Ge(De,Be,rt,lt,ht,vt){var _t=re.useContext(ft),jt=ce(),It=Te(function(){if(et(lt))return[lt];var zt=Be==null||Be===""?[]:Array.isArray(Be)?Be:[Be],en=qe(De,zt),Kt=en,vn=void 0;if(ht){var mn=ht(en,De,rt);Me(mn)?(Kt=mn.children,vn=mn.props,_t.renderWithProps=!0):Kt=mn}return[Kt,vn]},[jt,De,lt,Be,ht,rt],function(zt,en){if(vt){var Kt=(0,E.Z)(zt,2),vn=Kt[1],mn=(0,E.Z)(en,2),wn=mn[1];return vt(wn,vn)}return _t.renderWithProps?!0:!Ue(zt,en,!0)});return It}function Ve(De,Be,rt,lt){var ht=De+Be-1;return De<=lt&&ht>=rt}function Ze(De,Be){return ue(ge,function(rt){var lt=Ve(De,Be||1,rt.hoverStartRow,rt.hoverEndRow);return[lt,rt.onHover]})}var Fe=function(Be){var rt=Be.ellipsis,lt=Be.rowType,ht=Be.children,vt,_t=rt===!0?{showTitle:!0}:rt;return _t&&(_t.showTitle||lt==="header")&&(typeof ht=="string"||typeof ht=="number"?vt=ht.toString():re.isValidElement(ht)&&typeof ht.props.children=="string"&&(vt=ht.props.children)),vt};function Oe(De){var Be,rt,lt,ht,vt,_t,jt,It,zt=De.component,en=De.children,Kt=De.ellipsis,vn=De.scope,mn=De.prefixCls,wn=De.className,zn=De.align,kn=De.record,$n=De.render,Fn=De.dataIndex,Vn=De.renderIndex,Er=De.shouldCellUpdate,Ar=De.index,mr=De.rowType,Xr=De.colSpan,oo=De.rowSpan,sr=De.fixLeft,yr=De.fixRight,lr=De.firstFixLeft,Xn=De.lastFixLeft,dr=De.firstFixRight,Wr=De.lastFixRight,po=De.appendNode,ro=De.additionalProps,Rr=ro===void 0?{}:ro,vo=De.isSticky,bo="".concat(mn,"-cell"),zo=ue(ge,["supportSticky","allColumnsFixedLeft"]),Oo=zo.supportSticky,aa=zo.allColumnsFixedLeft,ia=Ge(kn,Fn,Vn,en,$n,Er),ao=(0,E.Z)(ia,2),da=ao[0],Ao=ao[1],Yo={},Zo=typeof sr=="number"&&Oo,ja=typeof yr=="number"&&Oo;Zo&&(Yo.position="sticky",Yo.left=sr),ja&&(Yo.position="sticky",Yo.right=yr);var Hr=(Be=(rt=(lt=Ao==null?void 0:Ao.colSpan)!==null&&lt!==void 0?lt:Rr.colSpan)!==null&&rt!==void 0?rt:Xr)!==null&&Be!==void 0?Be:1,Dr=(ht=(vt=(_t=Ao==null?void 0:Ao.rowSpan)!==null&&_t!==void 0?_t:Rr.rowSpan)!==null&&vt!==void 0?vt:oo)!==null&&ht!==void 0?ht:1,Mr=Ze(Ar,Dr),Lr=(0,E.Z)(Mr,2),Ro=Lr[0],Or=Lr[1],eo=function(ga){var Na;kn&&Or(Ar,Ar+Dr-1),Rr==null||(Na=Rr.onMouseEnter)===null||Na===void 0||Na.call(Rr,ga)},_o=function(ga){var Na;kn&&Or(-1,-1),Rr==null||(Na=Rr.onMouseLeave)===null||Na===void 0||Na.call(Rr,ga)};if(Hr===0||Dr===0)return null;var Eo=(jt=Rr.title)!==null&&jt!==void 0?jt:Fe({rowType:mr,ellipsis:Kt,children:da}),_a=Ee()(bo,wn,(It={},(0,we.Z)(It,"".concat(bo,"-fix-left"),Zo&&Oo),(0,we.Z)(It,"".concat(bo,"-fix-left-first"),lr&&Oo),(0,we.Z)(It,"".concat(bo,"-fix-left-last"),Xn&&Oo),(0,we.Z)(It,"".concat(bo,"-fix-left-all"),Xn&&aa&&Oo),(0,we.Z)(It,"".concat(bo,"-fix-right"),ja&&Oo),(0,we.Z)(It,"".concat(bo,"-fix-right-first"),dr&&Oo),(0,we.Z)(It,"".concat(bo,"-fix-right-last"),Wr&&Oo),(0,we.Z)(It,"".concat(bo,"-ellipsis"),Kt),(0,we.Z)(It,"".concat(bo,"-with-append"),po),(0,we.Z)(It,"".concat(bo,"-fix-sticky"),(Zo||ja)&&vo&&Oo),(0,we.Z)(It,"".concat(bo,"-row-hover"),!Ao&&Ro),It),Rr.className,Ao==null?void 0:Ao.className),wa={};zn&&(wa.textAlign=zn);var Za=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},Yo),Rr.style),wa),Ao==null?void 0:Ao.style),fa=da;return(0,ye.Z)(fa)==="object"&&!Array.isArray(fa)&&!re.isValidElement(fa)&&(fa=null),Kt&&(Xn||dr)&&(fa=re.createElement("span",{className:"".concat(bo,"-content")},fa)),re.createElement(zt,(0,ae.Z)({},Ao,Rr,{className:_a,style:Za,title:Eo,scope:vn,onMouseEnter:eo,onMouseLeave:_o,colSpan:Hr!==1?Hr:null,rowSpan:Dr!==1?Dr:null}),po,fa)}var _e=re.memo(Oe);function Ne(De,Be,rt,lt,ht,vt){var _t=rt[De]||{},jt=rt[Be]||{},It,zt;_t.fixed==="left"?It=lt.left[ht==="rtl"?Be:De]:jt.fixed==="right"&&(zt=lt.right[ht==="rtl"?De:Be]);var en=!1,Kt=!1,vn=!1,mn=!1,wn=rt[Be+1],zn=rt[De-1],kn=!(vt!=null&&vt.children);if(ht==="rtl"){if(It!==void 0){var $n=zn&&zn.fixed==="left";mn=!$n&&kn}else if(zt!==void 0){var Fn=wn&&wn.fixed==="right";vn=!Fn&&kn}}else if(It!==void 0){var Vn=wn&&wn.fixed==="left";en=!Vn&&kn}else if(zt!==void 0){var Er=zn&&zn.fixed==="right";Kt=!Er&&kn}return{fixLeft:It,fixRight:zt,lastFixLeft:en,firstFixRight:Kt,lastFixRight:vn,firstFixLeft:mn,isSticky:lt.isSticky}}var ze=re.createContext({}),ot=ze;function gt(De){var Be=De.className,rt=De.index,lt=De.children,ht=De.colSpan,vt=ht===void 0?1:ht,_t=De.rowSpan,jt=De.align,It=ue(ge,["prefixCls","direction"]),zt=It.prefixCls,en=It.direction,Kt=re.useContext(ot),vn=Kt.scrollColumnIndex,mn=Kt.stickyOffsets,wn=Kt.flattenColumns,zn=Kt.columns,kn=rt+vt-1,$n=kn+1===vn?vt+1:vt,Fn=Ne(rt,rt+$n-1,wn,mn,en,zn==null?void 0:zn[rt]);return re.createElement(_e,(0,ae.Z)({className:Be,index:rt,component:"td",prefixCls:zt,record:null,dataIndex:null,align:jt,colSpan:$n,rowSpan:_t,render:function(){return lt}},Fn))}var yt=me(45987),nt=["children"];function mt(De){var Be=De.children,rt=(0,yt.Z)(De,nt);return re.createElement("tr",rt,Be)}function At(De){var Be=De.children;return Be}At.Row=mt,At.Cell=gt;var kt=At;function at(De){var Be=De.children,rt=De.stickyOffsets,lt=De.flattenColumns,ht=De.columns,vt=ue(ge,"prefixCls"),_t=lt.length-1,jt=lt[_t],It=re.useMemo(function(){return{stickyOffsets:rt,flattenColumns:lt,scrollColumnIndex:jt!=null&&jt.scrollbar?_t:null,columns:ht}},[jt,lt,_t,rt,ht]);return re.createElement(ot.Provider,{value:It},re.createElement("tfoot",{className:"".concat(vt,"-summary")},Be))}var Mt=te(at),st=kt;function pt(De){var Be=re.useRef();Be.current=De;var rt=re.useCallback(function(){for(var lt,ht=arguments.length,vt=new Array(ht),_t=0;_t<ht;_t++)vt[_t]=arguments[_t];return(lt=Be.current)===null||lt===void 0?void 0:lt.call.apply(lt,[Be].concat(vt))},[]);return rt}function bt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Lt=bt()?re.useLayoutEffect:re.useEffect,Dt=function(Be,rt){var lt=React.useRef(!0);Lt(function(){return Be(lt.current)},rt),Lt(function(){return lt.current=!1,function(){lt.current=!0}},[])},Yt=function(Be,rt){Dt(function(lt){if(!lt)return Be()},rt)},_n=null;function Cn(De){var Be=React.useRef(!1),rt=React.useState(De),lt=_slicedToArray(rt,2),ht=lt[0],vt=lt[1];React.useEffect(function(){return Be.current=!1,function(){Be.current=!0}},[]);function _t(jt,It){It&&Be.current||vt(jt)}return[ht,_t]}function On(De){return De!==void 0}function Jn(De,Be){var rt=Be||{},lt=rt.defaultValue,ht=rt.value,vt=rt.onChange,_t=rt.postState,jt=useState(function(){return On(ht)?ht:On(lt)?typeof lt=="function"?lt():lt:typeof De=="function"?De():De}),It=_slicedToArray(jt,2),zt=It[0],en=It[1],Kt=ht!==void 0?ht:zt,vn=_t?_t(Kt):Kt,mn=useEvent(vt),wn=useState([Kt]),zn=_slicedToArray(wn,2),kn=zn[0],$n=zn[1];useLayoutUpdateEffect(function(){var Vn=kn[0];zt!==Vn&&mn(zt,Vn)},[kn]),useLayoutUpdateEffect(function(){On(ht)||en(ht)},[ht]);var Fn=useEvent(function(Vn,Er){en(Vn,Er),$n([Kt],Er)});return[vn,Fn]}var dn=me(35110);function tr(De,Be){typeof De=="function"?De(Be):(0,ye.Z)(De)==="object"&&De&&"current"in De&&(De.current=Be)}function Sr(){for(var De=arguments.length,Be=new Array(De),rt=0;rt<De;rt++)Be[rt]=arguments[rt];var lt=Be.filter(function(ht){return ht});return lt.length<=1?lt[0]:function(ht){Be.forEach(function(vt){tr(vt,ht)})}}function Qr(){for(var De=arguments.length,Be=new Array(De),rt=0;rt<De;rt++)Be[rt]=arguments[rt];return useMemo(function(){return Sr.apply(void 0,Be)},Be,function(lt,ht){return lt.length!==ht.length||lt.every(function(vt,_t){return vt!==ht[_t]})})}function io(De){var Be,rt,lt=isMemo(De)?De.type.type:De.type;return!(typeof lt=="function"&&!((Be=lt.prototype)!==null&&Be!==void 0&&Be.render)||typeof De=="function"&&!((rt=De.prototype)!==null&&rt!==void 0&&rt.render))}function Kr(De){return!isValidElement(De)||isFragment(De)?!1:io(De)}function kr(De,Be,rt,lt){if(!Be.length)return rt;var ht=_toArray(Be),vt=ht[0],_t=ht.slice(1),jt;return!De&&typeof vt=="number"?jt=[]:Array.isArray(De)?jt=_toConsumableArray(De):jt=_objectSpread({},De),lt&&rt===void 0&&_t.length===1?delete jt[vt][_t[0]]:jt[vt]=kr(jt[vt],_t,rt,lt),jt}function cn(De,Be,rt){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Be.length&&lt&&rt===void 0&&!get(De,Be.slice(0,-1))?De:kr(De,Be,rt,lt)}function Qt(De){return _typeof(De)==="object"&&De!==null&&Object.getPrototypeOf(De)===Object.prototype}function un(De){return Array.isArray(De)?[]:{}}var yn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function In(){for(var De=arguments.length,Be=new Array(De),rt=0;rt<De;rt++)Be[rt]=arguments[rt];var lt=un(Be[0]);return Be.forEach(function(ht){function vt(_t,jt){var It=new Set(jt),zt=get(ht,_t),en=Array.isArray(zt);if(en||Qt(zt)){if(!It.has(zt)){It.add(zt);var Kt=get(lt,_t);en?lt=cn(lt,_t,[]):(!Kt||_typeof(Kt)!=="object")&&(lt=cn(lt,_t,un(zt))),yn(zt).forEach(function(vn){vt([].concat(_toConsumableArray(_t),[vn]),It)})}}else lt=cn(lt,_t,zt)}vt([])}),lt}var Qn=me(48555),Gn=function(De){if(!De)return!1;if(De instanceof Element){if(De.offsetParent)return!0;if(De.getBBox){var Be=De.getBBox(),rt=Be.width,lt=Be.height;if(rt||lt)return!0}if(De.getBoundingClientRect){var ht=De.getBoundingClientRect(),vt=ht.width,_t=ht.height;if(vt||_t)return!0}}return!1},wr=function(Be){if(bt()&&window.document.documentElement){var rt=Array.isArray(Be)?Be:[Be],lt=window.document.documentElement;return rt.some(function(ht){return ht in lt.style})}return!1},br=function(Be,rt){if(!wr(Be))return!1;var lt=document.createElement("div"),ht=lt.style[Be];return lt.style[Be]=rt,lt.style[Be]!==ht};function Kn(De,Be){return!Array.isArray(De)&&Be!==void 0?br(De,Be):wr(De)}var wt;function Rt(De){if(typeof document=="undefined")return 0;if(De||wt===void 0){var Be=document.createElement("div");Be.style.width="100%",Be.style.height="200px";var rt=document.createElement("div"),lt=rt.style;lt.position="absolute",lt.top="0",lt.left="0",lt.pointerEvents="none",lt.visibility="hidden",lt.width="200px",lt.height="150px",lt.overflow="hidden",rt.appendChild(Be),document.body.appendChild(rt);var ht=Be.offsetWidth;rt.style.overflow="scroll";var vt=Be.offsetWidth;ht===vt&&(vt=rt.clientWidth),document.body.removeChild(rt),wt=ht-vt}return wt}function xt(De){var Be=De.match(/^(.*)px$/),rt=Number(Be==null?void 0:Be[1]);return Number.isNaN(rt)?Rt():rt}function sn(De){if(typeof document=="undefined"||!De||!(De instanceof Element))return{width:0,height:0};var Be=getComputedStyle(De,"::-webkit-scrollbar"),rt=Be.width,lt=Be.height;return{width:xt(rt),height:xt(lt)}}var An=`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`,Nn=`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(An," ").concat(Nn).split(/[\s\n]+/),nr="aria-",fr="data-";function Fr(De,Be){return De.indexOf(Be)===0}function Jr(De){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,rt;Be===!1?rt={aria:!0,data:!0,attr:!0}:Be===!0?rt={aria:!0}:rt=(0,Pe.Z)({},Be);var lt={};return Object.keys(De).forEach(function(ht){(rt.aria&&(ht==="role"||Fr(ht,nr))||rt.data&&Fr(ht,fr)||rt.attr&&hr.includes(ht))&&(lt[ht]=De[ht])}),lt}function hn(De,Be,rt,lt,ht,vt,_t){De.push({record:Be,indent:rt,index:_t});var jt=vt(Be),It=ht==null?void 0:ht.has(jt);if(Be&&Array.isArray(Be[lt])&&It)for(var zt=0;zt<Be[lt].length;zt+=1)hn(De,Be[lt][zt],rt+1,lt,ht,vt,zt)}function Tr(De,Be,rt,lt){var ht=re.useMemo(function(){if(rt!=null&&rt.size){for(var vt=[],_t=0;_t<(De==null?void 0:De.length);_t+=1){var jt=De[_t];hn(vt,jt,0,Be,rt,lt,_t)}return vt}return De==null?void 0:De.map(function(It,zt){return{record:It,indent:0,index:zt}})},[De,Be,rt,lt]);return ht}function Ot(De){var Be=De.prefixCls,rt=De.children,lt=De.component,ht=De.cellComponent,vt=De.className,_t=De.expanded,jt=De.colSpan,It=De.isEmpty,zt=ue(ge,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),en=zt.scrollbarSize,Kt=zt.fixHeader,vn=zt.fixColumn,mn=zt.componentWidth,wn=zt.horizonScroll,zn=rt;return(It?wn&&mn:vn)&&(zn=re.createElement("div",{style:{width:mn-(Kt?en:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Be,"-expanded-row-fixed")},zn)),re.createElement(lt,{className:vt,style:{display:_t?null:"none"}},re.createElement(_e,{component:ht,prefixCls:Be,colSpan:jt},zn))}var qt=Ot;function Xt(De,Be,rt,lt){var ht=ue(ge,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),vt=ht.flattenColumns,_t=ht.expandableType,jt=ht.expandedKeys,It=ht.childrenColumnName,zt=ht.onTriggerExpand,en=ht.rowExpandable,Kt=ht.onRow,vn=ht.expandRowByClick,mn=ht.rowClassName,wn=_t==="nest",zn=_t==="row"&&(!en||en(De)),kn=zn||wn,$n=jt&&jt.has(Be),Fn=It&&De&&De[It],Vn=pt(zt),Er=Kt==null?void 0:Kt(De,rt),Ar=Er==null?void 0:Er.onClick,mr=function(yr){vn&&kn&&zt(De,yr);for(var lr=arguments.length,Xn=new Array(lr>1?lr-1:0),dr=1;dr<lr;dr++)Xn[dr-1]=arguments[dr];Ar==null||Ar.apply(void 0,[yr].concat(Xn))},Xr;typeof mn=="string"?Xr=mn:typeof mn=="function"&&(Xr=mn(De,rt,lt));var oo=Re(vt);return(0,Pe.Z)((0,Pe.Z)({},ht),{},{columnsKey:oo,nestExpandable:wn,expanded:$n,hasNestChildren:Fn,record:De,onTriggerExpand:Vn,rowSupportExpand:zn,expandable:kn,rowProps:(0,Pe.Z)((0,Pe.Z)({},Er),{},{className:Ee()(Xr,Er==null?void 0:Er.className),onClick:mr})})}function tn(De,Be,rt,lt,ht){var vt=De.record,_t=De.prefixCls,jt=De.columnsKey,It=De.fixedInfoList,zt=De.expandIconColumnIndex,en=De.nestExpandable,Kt=De.indentSize,vn=De.expandIcon,mn=De.expanded,wn=De.hasNestChildren,zn=De.onTriggerExpand,kn=jt[rt],$n=It[rt],Fn;rt===(zt||0)&&en&&(Fn=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(Kt*lt,"px")},className:"".concat(_t,"-row-indent indent-level-").concat(lt)}),vn({prefixCls:_t,expanded:mn,expandable:wn,record:vt,onExpand:zn})));var Vn;return Be.onCell&&(Vn=Be.onCell(vt,ht)),{key:kn,fixedInfo:$n,appendCellNode:Fn,additionalCellProps:Vn||{}}}function Tn(De){var Be=De.className,rt=De.style,lt=De.record,ht=De.index,vt=De.renderIndex,_t=De.rowKey,jt=De.indent,It=jt===void 0?0:jt,zt=De.rowComponent,en=De.cellComponent,Kt=De.scopeCellComponent,vn=Xt(lt,_t,ht,It),mn=vn.prefixCls,wn=vn.flattenColumns,zn=vn.expandedRowClassName,kn=vn.expandedRowRender,$n=vn.rowProps,Fn=vn.expanded,Vn=vn.rowSupportExpand,Er=re.useState(!1),Ar=(0,E.Z)(Er,2),mr=Ar[0],Xr=Ar[1];re.useEffect(function(){Fn&&Xr(!0)},[Fn]);var oo=re.createElement(zt,(0,ae.Z)({},$n,{"data-row-key":_t,className:Ee()(Be,"".concat(mn,"-row"),"".concat(mn,"-row-level-").concat(It),$n==null?void 0:$n.className),style:(0,Pe.Z)((0,Pe.Z)({},rt),$n==null?void 0:$n.style)}),wn.map(function(Xn,dr){var Wr=Xn.render,po=Xn.dataIndex,ro=Xn.className,Rr=tn(vn,Xn,dr,It,ht),vo=Rr.key,bo=Rr.fixedInfo,zo=Rr.appendCellNode,Oo=Rr.additionalCellProps;return re.createElement(_e,(0,ae.Z)({className:ro,ellipsis:Xn.ellipsis,align:Xn.align,scope:Xn.rowScope,component:Xn.rowScope?Kt:en,prefixCls:mn,key:vo,record:lt,index:ht,renderIndex:vt,dataIndex:po,render:Wr,shouldCellUpdate:Xn.shouldCellUpdate},bo,{appendNode:zo,additionalProps:Oo}))})),sr;if(Vn&&(mr||Fn)){var yr=kn(lt,ht,It+1,Fn),lr=zn&&zn(lt,ht,It);sr=re.createElement(qt,{expanded:Fn,className:Ee()("".concat(mn,"-expanded-row"),"".concat(mn,"-expanded-row-level-").concat(It+1),lr),prefixCls:mn,component:zt,cellComponent:en,colSpan:wn.length,isEmpty:!1},yr)}return re.createElement(re.Fragment,null,oo,sr)}Tn.displayName="BodyRow";var Jt=te(Tn);function En(De){var Be=De.columnKey,rt=De.onColumnResize,lt=re.useRef();return re.useEffect(function(){lt.current&&rt(Be,lt.current.offsetWidth)},[]),re.createElement(Qn.Z,{data:Be},re.createElement("td",{ref:lt,style:{padding:0,border:0,height:0}},re.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function rn(De){var Be=De.prefixCls,rt=De.columnsKey,lt=De.onColumnResize;return re.createElement("tr",{"aria-hidden":"true",className:"".concat(Be,"-measure-row"),style:{height:0,fontSize:0}},re.createElement(Qn.Z.Collection,{onBatchResize:function(vt){vt.forEach(function(_t){var jt=_t.data,It=_t.size;lt(jt,It.offsetWidth)})}},rt.map(function(ht){return re.createElement(En,{key:ht,columnKey:ht,onColumnResize:lt})})))}function gr(De){var Be=De.data,rt=De.measureColumnWidth,lt=ue(ge,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ht=lt.prefixCls,vt=lt.getComponent,_t=lt.onColumnResize,jt=lt.flattenColumns,It=lt.getRowKey,zt=lt.expandedKeys,en=lt.childrenColumnName,Kt=lt.emptyNode,vn=Tr(Be,en,zt,It),mn=re.useRef({renderWithProps:!1}),wn=vt(["body","wrapper"],"tbody"),zn=vt(["body","row"],"tr"),kn=vt(["body","cell"],"td"),$n=vt(["body","cell"],"th"),Fn;Be.length?Fn=vn.map(function(Er,Ar){var mr=Er.record,Xr=Er.indent,oo=Er.index,sr=It(mr,Ar);return re.createElement(Jt,{key:sr,rowKey:sr,record:mr,index:Ar,renderIndex:oo,rowComponent:zn,cellComponent:kn,scopeCellComponent:$n,getRowKey:It,indent:Xr})}):Fn=re.createElement(qt,{expanded:!0,className:"".concat(ht,"-placeholder"),prefixCls:ht,component:zn,cellComponent:kn,colSpan:jt.length,isEmpty:!0},Kt);var Vn=Re(jt);return re.createElement(ft.Provider,{value:mn.current},re.createElement(wn,{className:"".concat(ht,"-tbody")},rt&&re.createElement(rn,{prefixCls:ht,columnsKey:Vn,onColumnResize:_t}),Fn))}gr.displayName="Body";var qn=te(gr),xr=["expandable"],Ir="RC_TABLE_INTERNAL_COL_DEFINE";function to(De){var Be=De.expandable,rt=(0,yt.Z)(De,xr),lt;return"expandable"in De?lt=(0,Pe.Z)((0,Pe.Z)({},rt),Be):lt=rt,lt.showExpandColumn===!1&&(lt.expandIconColumnIndex=-1),lt}var an=["columnType"];function lo(De){for(var Be=De.colWidths,rt=De.columns,lt=De.columCount,ht=[],vt=lt||rt.length,_t=!1,jt=vt-1;jt>=0;jt-=1){var It=Be[jt],zt=rt&&rt[jt],en=zt&&zt[Ir];if(It||en||_t){var Kt=en||{},vn=Kt.columnType,mn=(0,yt.Z)(Kt,an);ht.unshift(re.createElement("col",(0,ae.Z)({key:jt,style:{width:It}},mn))),_t=!0}}return re.createElement("colgroup",null,ht)}var Mo=lo,qr=me(74902),xo=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Rn(De,Be){return(0,re.useMemo)(function(){for(var rt=[],lt=0;lt<Be;lt+=1){var ht=De[lt];if(ht!==void 0)rt[lt]=ht;else return null}return rt},[De.join("_"),Be])}var Zn=re.forwardRef(function(De,Be){var rt=De.className,lt=De.noData,ht=De.columns,vt=De.flattenColumns,_t=De.colWidths,jt=De.columCount,It=De.stickyOffsets,zt=De.direction,en=De.fixHeader,Kt=De.stickyTopOffset,vn=De.stickyBottomOffset,mn=De.stickyClassName,wn=De.onScroll,zn=De.maxContentScroll,kn=De.children,$n=(0,yt.Z)(De,xo),Fn=ue(ge,["prefixCls","scrollbarSize","isSticky"]),Vn=Fn.prefixCls,Er=Fn.scrollbarSize,Ar=Fn.isSticky,mr=Ar&&!en?0:Er,Xr=re.useRef(null),oo=re.useCallback(function(ro){tr(Be,ro),tr(Xr,ro)},[]);re.useEffect(function(){var ro;function Rr(vo){var bo=vo,zo=bo.currentTarget,Oo=bo.deltaX;Oo&&(wn({currentTarget:zo,scrollLeft:zo.scrollLeft+Oo}),vo.preventDefault())}return(ro=Xr.current)===null||ro===void 0||ro.addEventListener("wheel",Rr),function(){var vo;(vo=Xr.current)===null||vo===void 0||vo.removeEventListener("wheel",Rr)}},[]);var sr=re.useMemo(function(){return vt.every(function(ro){return ro.width})},[vt]),yr=vt[vt.length-1],lr={fixed:yr?yr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Vn,"-cell-scrollbar")}}},Xn=(0,re.useMemo)(function(){return mr?[].concat((0,qr.Z)(ht),[lr]):ht},[mr,ht]),dr=(0,re.useMemo)(function(){return mr?[].concat((0,qr.Z)(vt),[lr]):vt},[mr,vt]),Wr=(0,re.useMemo)(function(){var ro=It.right,Rr=It.left;return(0,Pe.Z)((0,Pe.Z)({},It),{},{left:zt==="rtl"?[].concat((0,qr.Z)(Rr.map(function(vo){return vo+mr})),[0]):Rr,right:zt==="rtl"?ro:[].concat((0,qr.Z)(ro.map(function(vo){return vo+mr})),[0]),isSticky:Ar})},[mr,It,Ar]),po=Rn(_t,jt);return re.createElement("div",{style:(0,Pe.Z)({overflow:"hidden"},Ar?{top:Kt,bottom:vn}:{}),ref:oo,className:Ee()(rt,(0,we.Z)({},mn,!!mn))},re.createElement("table",{style:{tableLayout:"fixed",visibility:lt||po?null:"hidden"}},(!lt||!zn||sr)&&re.createElement(Mo,{colWidths:po?[].concat((0,qr.Z)(po),[mr]):[],columCount:jt+1,columns:dr}),kn((0,Pe.Z)((0,Pe.Z)({},$n),{},{stickyOffsets:Wr,columns:Xn,flattenColumns:dr}))))});Zn.displayName="FixedHolder";var Pr=re.memo(Zn);function jn(De){var Be=De.cells,rt=De.stickyOffsets,lt=De.flattenColumns,ht=De.rowComponent,vt=De.cellComponent,_t=De.tdCellComponent,jt=De.onHeaderRow,It=De.index,zt=ue(ge,["prefixCls","direction"]),en=zt.prefixCls,Kt=zt.direction,vn;jt&&(vn=jt(Be.map(function(wn){return wn.column}),It));var mn=Re(Be.map(function(wn){return wn.column}));return re.createElement(ht,vn,Be.map(function(wn,zn){var kn=wn.column,$n=Ne(wn.colStart,wn.colEnd,lt,rt,Kt,kn),Fn;return kn&&kn.onHeaderCell&&(Fn=wn.column.onHeaderCell(kn)),re.createElement(_e,(0,ae.Z)({},wn,{scope:kn.title?wn.colSpan>1?"colgroup":"col":null,ellipsis:kn.ellipsis,align:kn.align,component:kn.title?vt:_t,prefixCls:en,key:mn[zn]},$n,{additionalProps:Fn,rowType:"header"}))}))}jn.displayName="HeaderRow";var no=jn;function zr(De){var Be=[];function rt(_t,jt){var It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Be[It]=Be[It]||[];var zt=jt,en=_t.filter(Boolean).map(function(Kt){var vn={key:Kt.key,className:Kt.className||"",children:Kt.title,column:Kt,colStart:zt},mn=1,wn=Kt.children;return wn&&wn.length>0&&(mn=rt(wn,zt,It+1).reduce(function(zn,kn){return zn+kn},0),vn.hasSubColumns=!0),"colSpan"in Kt&&(mn=Kt.colSpan),"rowSpan"in Kt&&(vn.rowSpan=Kt.rowSpan),vn.colSpan=mn,vn.colEnd=vn.colStart+mn-1,Be[It].push(vn),zt+=mn,mn});return en}rt(De,0);for(var lt=Be.length,ht=function(jt){Be[jt].forEach(function(It){!("rowSpan"in It)&&!It.hasSubColumns&&(It.rowSpan=lt-jt)})},vt=0;vt<lt;vt+=1)ht(vt);return Be}function jo(De){var Be=De.stickyOffsets,rt=De.columns,lt=De.flattenColumns,ht=De.onHeaderRow,vt=ue(ge,["prefixCls","getComponent"]),_t=vt.prefixCls,jt=vt.getComponent,It=re.useMemo(function(){return zr(rt)},[rt]),zt=jt(["header","wrapper"],"thead"),en=jt(["header","row"],"tr"),Kt=jt(["header","cell"],"th"),vn=jt(["header","cell"],"td");return re.createElement(zt,{className:"".concat(_t,"-thead")},It.map(function(mn,wn){var zn=re.createElement(no,{key:wn,flattenColumns:lt,cells:mn,stickyOffsets:Be,rowComponent:en,cellComponent:Kt,tdCellComponent:vn,onHeaderRow:ht,index:wn});return zn}))}var No=te(jo);function Do(De){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},rt=[];return re.Children.forEach(De,function(lt){lt==null&&!Be.keepEmpty||(Array.isArray(lt)?rt=rt.concat(Do(lt)):(0,dn.isFragment)(lt)&&lt.props?rt=rt.concat(Do(lt.props.children,Be)):rt.push(lt))}),rt}function Et(De){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Be=="number"?Be:Be.endsWith("%")?De*parseFloat(Be)/100:null}function Pt(De,Be){return re.useMemo(function(){if(Be&&Be>0){var rt=0,lt=0;De.forEach(function(zt){var en=Et(Be,zt.width);en?rt+=en:lt+=1});var ht=Be-rt,vt=lt,_t=ht/lt,jt=0,It=De.map(function(zt){var en=(0,Pe.Z)({},zt),Kt=Et(Be,en.width);if(Kt)en.width=Kt;else{var vn=Math.floor(_t);en.width=vt===1?ht:vn,ht-=vn,vt-=1}return jt+=en.width,en});return[It,jt]}return[De,Be]},[De,Be])}var Zt=["children"],on=["fixed"];function gn(De){return Do(De).filter(function(Be){return re.isValidElement(Be)}).map(function(Be){var rt=Be.key,lt=Be.props,ht=lt.children,vt=(0,yt.Z)(lt,Zt),_t=(0,Pe.Z)({key:rt},vt);return ht&&(_t.children=gn(ht)),_t})}function Un(De){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return De.filter(function(rt){return rt&&(0,ye.Z)(rt)==="object"}).reduce(function(rt,lt,ht){var vt=lt.fixed,_t=vt===!0?"left":vt,jt="".concat(Be,"-").concat(ht),It=lt.children;return It&&It.length>0?[].concat((0,qr.Z)(rt),(0,qr.Z)(Un(It,jt).map(function(zt){return(0,Pe.Z)({fixed:_t},zt)}))):[].concat((0,qr.Z)(rt),[(0,Pe.Z)((0,Pe.Z)({key:jt},lt),{},{fixed:_t})])},[])}function cr(De){for(var Be=!0,rt=0;rt<De.length;rt+=1){var lt=De[rt];if(Be&&lt.fixed!=="left")Be=!1;else if(!Be&&lt.fixed==="left"){warning(!1,"Index ".concat(rt-1," of `columns` missing `fixed='left'` prop."));break}}for(var ht=!0,vt=De.length-1;vt>=0;vt-=1){var _t=De[vt];if(ht&&_t.fixed!=="right")ht=!1;else if(!ht&&_t.fixed==="right"){warning(!1,"Index ".concat(vt+1," of `columns` missing `fixed='right'` prop."));break}}}function Cr(De){return De.map(function(Be){var rt=Be.fixed,lt=(0,yt.Z)(Be,on),ht=rt;return rt==="left"?ht="right":rt==="right"&&(ht="left"),(0,Pe.Z)({fixed:ht},lt)})}function Br(De,Be){var rt=De.prefixCls,lt=De.columns,ht=De.children,vt=De.expandable,_t=De.expandedKeys,jt=De.columnTitle,It=De.getRowKey,zt=De.onTriggerExpand,en=De.expandIcon,Kt=De.rowExpandable,vn=De.expandIconColumnIndex,mn=De.direction,wn=De.expandRowByClick,zn=De.columnWidth,kn=De.fixed,$n=De.scrollWidth,Fn=re.useMemo(function(){return lt||gn(ht)},[lt,ht]),Vn=re.useMemo(function(){if(vt){var yr,lr=Fn.slice();if(!lr.includes(be)){var Xn=vn||0;Xn>=0&&lr.splice(Xn,0,be)}var dr=lr.indexOf(be);lr=lr.filter(function(Rr,vo){return Rr!==be||vo===dr});var Wr=Fn[dr],po;(kn==="left"||kn)&&!vn?po="left":(kn==="right"||kn)&&vn===Fn.length?po="right":po=Wr?Wr.fixed:null;var ro=(yr={},(0,we.Z)(yr,Ir,{className:"".concat(rt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,we.Z)(yr,"title",jt),(0,we.Z)(yr,"fixed",po),(0,we.Z)(yr,"className","".concat(rt,"-row-expand-icon-cell")),(0,we.Z)(yr,"width",zn),(0,we.Z)(yr,"render",function(vo,bo,zo){var Oo=It(bo,zo),aa=_t.has(Oo),ia=Kt?Kt(bo):!0,ao=en({prefixCls:rt,expanded:aa,expandable:ia,record:bo,onExpand:zt});return wn?re.createElement("span",{onClick:function(Ao){return Ao.stopPropagation()}},ao):ao}),yr);return lr.map(function(Rr){return Rr===be?ro:Rr})}return Fn.filter(function(Rr){return Rr!==be})},[vt,Fn,It,_t,en,mn]),Er=re.useMemo(function(){var yr=Vn;return Be&&(yr=Be(yr)),yr.length||(yr=[{render:function(){return null}}]),yr},[Be,Vn,mn]),Ar=re.useMemo(function(){return mn==="rtl"?Cr(Un(Er)):Un(Er)},[Er,mn,$n]),mr=Pt(Ar,$n),Xr=(0,E.Z)(mr,2),oo=Xr[0],sr=Xr[1];return[Er,oo,sr]}var Zr=Br;function Ur(De){var Be,rt=De.prefixCls,lt=De.record,ht=De.onExpand,vt=De.expanded,_t=De.expandable,jt="".concat(rt,"-row-expand-icon");if(!_t)return re.createElement("span",{className:Ee()(jt,"".concat(rt,"-row-spaced"))});var It=function(en){ht(lt,en),en.stopPropagation()};return re.createElement("span",{className:Ee()(jt,(Be={},(0,we.Z)(Be,"".concat(rt,"-row-expanded"),vt),(0,we.Z)(Be,"".concat(rt,"-row-collapsed"),!vt),Be)),onClick:It})}function mo(De,Be,rt){var lt=[];function ht(vt){(vt||[]).forEach(function(_t,jt){lt.push(Be(_t,jt)),ht(_t[rt])})}return ht(De),lt}function er(De,Be,rt){var lt=to(De),ht=lt.expandIcon,vt=lt.expandedRowKeys,_t=lt.defaultExpandedRowKeys,jt=lt.defaultExpandAllRows,It=lt.expandedRowRender,zt=lt.onExpand,en=lt.onExpandedRowsChange,Kt=lt.childrenColumnName,vn=ht||Ur,mn=Kt||"children",wn=re.useMemo(function(){return It?"row":De.expandable&&De.internalHooks===xe&&De.expandable.__PARENT_RENDER_ICON__||Be.some(function(Ar){return Ar&&(0,ye.Z)(Ar)==="object"&&Ar[mn]})?"nest":!1},[!!It,Be]),zn=re.useState(function(){return _t||(jt?mo(Be,rt,mn):[])}),kn=(0,E.Z)(zn,2),$n=kn[0],Fn=kn[1],Vn=re.useMemo(function(){return new Set(vt||$n||[])},[vt,$n]),Er=re.useCallback(function(Ar){var mr=rt(Ar,Be.indexOf(Ar)),Xr,oo=Vn.has(mr);oo?(Vn.delete(mr),Xr=(0,qr.Z)(Vn)):Xr=[].concat((0,qr.Z)(Vn),[mr]),Fn(Xr),zt&&zt(!oo,Ar),en&&en(Xr)},[rt,Vn,Be,zt,en]);return[lt,wn,Vn,vn,mn,Er]}function Tt(De,Be,rt,lt){var ht=De.map(function(vt,_t){return Ne(_t,_t,De,Be,rt,lt==null?void 0:lt[_t])});return Te(function(){return ht},[ht],function(vt,_t){return!Ue(vt,_t)})}function Ft(De){var Be=(0,re.useRef)(De),rt=(0,re.useState)({}),lt=(0,E.Z)(rt,2),ht=lt[1],vt=(0,re.useRef)(null),_t=(0,re.useRef)([]);function jt(It){_t.current.push(It);var zt=Promise.resolve();vt.current=zt,zt.then(function(){if(vt.current===zt){var en=_t.current,Kt=Be.current;_t.current=[],en.forEach(function(vn){Be.current=vn(Be.current)}),vt.current=null,Kt!==Be.current&&ht({})}})}return(0,re.useEffect)(function(){return function(){vt.current=null}},[]),[Be.current,jt]}function Wt(De){var Be=(0,re.useRef)(De||null),rt=(0,re.useRef)();function lt(){window.clearTimeout(rt.current)}function ht(_t){Be.current=_t,lt(),rt.current=window.setTimeout(function(){Be.current=null,rt.current=void 0},100)}function vt(){return Be.current}return(0,re.useEffect)(function(){return lt},[]),[ht,vt]}function ut(){var De=re.useState(-1),Be=(0,E.Z)(De,2),rt=Be[0],lt=Be[1],ht=re.useState(-1),vt=(0,E.Z)(ht,2),_t=vt[0],jt=vt[1],It=re.useCallback(function(zt,en){lt(zt),jt(en)},[]);return[rt,_t,It]}var Vt=bt()?window:null;function fn(De,Be){var rt=(0,ye.Z)(De)==="object"?De:{},lt=rt.offsetHeader,ht=lt===void 0?0:lt,vt=rt.offsetSummary,_t=vt===void 0?0:vt,jt=rt.offsetScroll,It=jt===void 0?0:jt,zt=rt.getContainer,en=zt===void 0?function(){return Vt}:zt,Kt=en()||Vt;return re.useMemo(function(){var vn=!!De;return{isSticky:vn,stickyClassName:vn?"".concat(Be,"-sticky-holder"):"",offsetHeader:ht,offsetSummary:_t,offsetScroll:It,container:Kt}},[It,ht,_t,Be,Kt])}function Sn(De,Be,rt){var lt=(0,re.useMemo)(function(){for(var ht=[],vt=[],_t=0,jt=0,It=0;It<Be;It+=1)if(rt==="rtl"){vt[It]=jt,jt+=De[It]||0;var zt=Be-It-1;ht[zt]=_t,_t+=De[zt]||0}else{ht[It]=_t,_t+=De[It]||0;var en=Be-It-1;vt[en]=jt,jt+=De[en]||0}return{left:ht,right:vt}},[De,Be,rt]);return lt}var Bt=Sn;function Gt(De){var Be=De.className,rt=De.children;return re.createElement("div",{className:Be},rt)}var Ht=Gt;function Ln(De,Be,rt,lt){var ht=ie.unstable_batchedUpdates?function(_t){ie.unstable_batchedUpdates(rt,_t)}:rt;return De!=null&&De.addEventListener&&De.addEventListener(Be,ht,lt),{remove:function(){De!=null&&De.removeEventListener&&De.removeEventListener(Be,ht,lt)}}}var Bn=/margin|padding|width|height|max|min|offset/,Yn={left:!0,top:!0},Wn={cssFloat:1,styleFloat:1,float:1};function rr(De){return De.nodeType===1?De.ownerDocument.defaultView.getComputedStyle(De,null):{}}function ur(De,Be,rt){if(Be=Be.toLowerCase(),rt==="auto"){if(Be==="height")return De.offsetHeight;if(Be==="width")return De.offsetWidth}return Be in Yn||(Yn[Be]=Bn.test(Be)),Yn[Be]?parseFloat(rt)||0:rt}function bn(De,Be){var rt=arguments.length,lt=rr(De);return Be=Wn[Be]?"cssFloat"in De.style?"cssFloat":"styleFloat":Be,rt===1?lt:ur(De,Be,lt[Be]||De.style[Be])}function $t(De,Be,rt){var lt=arguments.length;if(Be=Wn[Be]?"cssFloat"in De.style?"cssFloat":"styleFloat":Be,lt===3)return typeof rt=="number"&&Bn.test(Be)&&(rt="".concat(rt,"px")),De.style[Be]=rt,rt;for(var ht in Be)Be.hasOwnProperty(ht)&&$t(De,ht,Be[ht]);return rr(De)}function ln(De){return De===document.body?document.documentElement.clientWidth:De.offsetWidth}function Pn(De){return De===document.body?window.innerHeight||document.documentElement.clientHeight:De.offsetHeight}function Hn(){var De=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Be=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:De,height:Be}}function ir(){var De=document.documentElement.clientWidth,Be=window.innerHeight||document.documentElement.clientHeight;return{width:De,height:Be}}function vr(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function jr(De){var Be=De.getBoundingClientRect(),rt=document.documentElement;return{left:Be.left+(window.pageXOffset||rt.scrollLeft)-(rt.clientLeft||document.body.clientLeft||0),top:Be.top+(window.pageYOffset||rt.scrollTop)-(rt.clientTop||document.body.clientTop||0)}}var pr=function(Be,rt){var lt,ht,vt=Be.scrollBodyRef,_t=Be.onScroll,jt=Be.offsetScroll,It=Be.container,zt=ue(ge,"prefixCls"),en=((lt=vt.current)===null||lt===void 0?void 0:lt.scrollWidth)||0,Kt=((ht=vt.current)===null||ht===void 0?void 0:ht.clientWidth)||0,vn=en&&Kt*(Kt/en),mn=re.useRef(),wn=Ft({scrollLeft:0,isHiddenScrollBar:!1}),zn=(0,E.Z)(wn,2),kn=zn[0],$n=zn[1],Fn=re.useRef({delta:0,x:0}),Vn=re.useState(!1),Er=(0,E.Z)(Vn,2),Ar=Er[0],mr=Er[1],Xr=function(){mr(!1)},oo=function(dr){dr.persist(),Fn.current.delta=dr.pageX-kn.scrollLeft,Fn.current.x=0,mr(!0),dr.preventDefault()},sr=function(dr){var Wr,po=dr||((Wr=window)===null||Wr===void 0?void 0:Wr.event),ro=po.buttons;if(!Ar||ro===0){Ar&&mr(!1);return}var Rr=Fn.current.x+dr.pageX-Fn.current.x-Fn.current.delta;Rr<=0&&(Rr=0),Rr+vn>=Kt&&(Rr=Kt-vn),_t({scrollLeft:Rr/Kt*(en+2)}),Fn.current.x=dr.pageX},yr=function(){if(vt.current){var dr=jr(vt.current).top,Wr=dr+vt.current.offsetHeight,po=It===window?document.documentElement.scrollTop+window.innerHeight:jr(It).top+It.clientHeight;Wr-Rt()<=po||dr>=po-jt?$n(function(ro){return(0,Pe.Z)((0,Pe.Z)({},ro),{},{isHiddenScrollBar:!0})}):$n(function(ro){return(0,Pe.Z)((0,Pe.Z)({},ro),{},{isHiddenScrollBar:!1})})}},lr=function(dr){$n(function(Wr){return(0,Pe.Z)((0,Pe.Z)({},Wr),{},{scrollLeft:dr/en*Kt||0})})};return re.useImperativeHandle(rt,function(){return{setScrollLeft:lr}}),re.useEffect(function(){var Xn=Ln(document.body,"mouseup",Xr,!1),dr=Ln(document.body,"mousemove",sr,!1);return yr(),function(){Xn.remove(),dr.remove()}},[vn,Ar]),re.useEffect(function(){var Xn=Ln(It,"scroll",yr,!1),dr=Ln(window,"resize",yr,!1);return function(){Xn.remove(),dr.remove()}},[It]),re.useEffect(function(){kn.isHiddenScrollBar||$n(function(Xn){var dr=vt.current;return dr?(0,Pe.Z)((0,Pe.Z)({},Xn),{},{scrollLeft:dr.scrollLeft/dr.scrollWidth*dr.clientWidth}):Xn})},[kn.isHiddenScrollBar]),en<=Kt||!vn||kn.isHiddenScrollBar?null:re.createElement("div",{style:{height:Rt(),width:Kt,bottom:jt},className:"".concat(zt,"-sticky-scroll")},re.createElement("div",{onMouseDown:oo,ref:mn,className:Ee()("".concat(zt,"-sticky-scroll-bar"),(0,we.Z)({},"".concat(zt,"-sticky-scroll-bar-active"),Ar)),style:{width:"".concat(vn,"px"),transform:"translate3d(".concat(kn.scrollLeft,"px, 0, 0)")}}))},ct=re.forwardRef(pr);function it(De){return null}var St=it;function Nt(De){return null}var Ut=Nt,nn="rc-table",pn=[],xn={};function Mn(){return"No Data"}function Dn(De){var Be,rt=(0,Pe.Z)({rowKey:"key",prefixCls:nn,emptyText:Mn},De),lt=rt.prefixCls,ht=rt.className,vt=rt.rowClassName,_t=rt.style,jt=rt.data,It=rt.rowKey,zt=rt.scroll,en=rt.tableLayout,Kt=rt.direction,vn=rt.title,mn=rt.footer,wn=rt.summary,zn=rt.caption,kn=rt.id,$n=rt.showHeader,Fn=rt.components,Vn=rt.emptyText,Er=rt.onRow,Ar=rt.onHeaderRow,mr=rt.internalHooks,Xr=rt.transformColumns,oo=rt.internalRefs,sr=rt.tailor,yr=rt.sticky,lr=jt||pn,Xn=!!lr.length,dr=mr===xe,Wr=re.useCallback(function(Bo,Jo){return qe(Fn,Bo)||Jo},[Fn]),po=re.useMemo(function(){return typeof It=="function"?It:function(Bo){var Jo=Bo&&Bo[It];return Jo}},[It]),ro=Wr(["body"]),Rr=ut(),vo=(0,E.Z)(Rr,3),bo=vo[0],zo=vo[1],Oo=vo[2],aa=er(rt,lr,po),ia=(0,E.Z)(aa,6),ao=ia[0],da=ia[1],Ao=ia[2],Yo=ia[3],Zo=ia[4],ja=ia[5],Hr=zt==null?void 0:zt.x,Dr=re.useState(0),Mr=(0,E.Z)(Dr,2),Lr=Mr[0],Ro=Mr[1],Or=Zr((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},rt),ao),{},{expandable:!!ao.expandedRowRender,columnTitle:ao.columnTitle,expandedKeys:Ao,getRowKey:po,onTriggerExpand:ja,expandIcon:Yo,expandIconColumnIndex:ao.expandIconColumnIndex,direction:Kt,scrollWidth:dr&&sr&&typeof Hr=="number"?Hr:null}),dr?Xr:null),eo=(0,E.Z)(Or,3),_o=eo[0],Eo=eo[1],_a=eo[2],wa=_a!=null?_a:Hr,Za=re.useMemo(function(){return{columns:_o,flattenColumns:Eo}},[_o,Eo]),fa=re.useRef(),Ga=re.useRef(),ga=re.useRef(),Na=re.useRef(),bi=re.useRef(),ko=re.useState(!1),Fo=(0,E.Z)(ko,2),ea=Fo[0],ma=Fo[1],va=re.useState(!1),Po=(0,E.Z)(va,2),Ra=Po[0],Ta=Po[1],Ua=Ft(new Map),qa=(0,E.Z)(Ua,2),Va=qa[0],Ai=qa[1],si=Re(Eo),$a=si.map(function(Bo){return Va.get(Bo)}),Da=re.useMemo(function(){return $a},[$a.join("_")]),Ma=Bt(Da,Eo.length,Kt),ya=zt&&et(zt.y),ta=zt&&et(wa)||!!ao.fixed,ei=ta&&Eo.some(function(Bo){var Jo=Bo.fixed;return Jo}),Pi=re.useRef(),pi=fn(yr,lt),ti=pi.isSticky,Bi=pi.offsetHeader,qi=pi.offsetSummary,To=pi.offsetScroll,$o=pi.stickyClassName,Ca=pi.container,na=re.useMemo(function(){return wn==null?void 0:wn(lr)},[wn,lr]),La=(ya||ti)&&re.isValidElement(na)&&na.type===kt&&na.props.fixed,ka,Fa,li;ya&&(Fa={overflowY:"scroll",maxHeight:zt.y}),ta&&(ka={overflowX:"auto"},ya||(Fa={overflowY:"hidden"}),li={width:wa===!0?"auto":wa,minWidth:"100%"});var ys=re.useCallback(function(Bo,Jo){Gn(fa.current)&&Ai(function(Wa){if(Wa.get(Bo)!==Jo){var mi=new Map(Wa);return mi.set(Bo,Jo),mi}return Wa})},[]),Ll=Wt(null),Ss=(0,E.Z)(Ll,2),Ol=Ss[0],bs=Ss[1];function Ui(Bo,Jo){Jo&&(typeof Jo=="function"?Jo(Bo):Jo.scrollLeft!==Bo&&(Jo.scrollLeft=Bo,Jo.scrollLeft!==Bo&&setTimeout(function(){Jo.scrollLeft=Bo},0)))}var Ei=pt(function(Bo){var Jo=Bo.currentTarget,Wa=Bo.scrollLeft,mi=Kt==="rtl",vi=typeof Wa=="number"?Wa:Jo.scrollLeft,Ns=Jo||xn;if(!bs()||bs()===Ns){var os;Ol(Ns),Ui(vi,Ga.current),Ui(vi,ga.current),Ui(vi,bi.current),Ui(vi,(os=Pi.current)===null||os===void 0?void 0:os.setScrollLeft)}var as=Jo||Ga.current;if(as){var is=as.scrollWidth,ss=as.clientWidth;if(is===ss){ma(!1),Ta(!1);return}mi?(ma(-vi<is-ss),Ta(-vi>0)):(ma(vi>0),Ta(vi<is-ss))}}),Ps=function(){ta&&ga.current?Ei({currentTarget:ga.current}):(ma(!1),Ta(!1))},Al=function(Jo){var Wa=Jo.width;Wa!==Lr&&(Ps(),Ro(fa.current?fa.current.offsetWidth:Wa))},ws=re.useRef(!1);re.useEffect(function(){ws.current&&Ps()},[ta,jt,_o.length]),re.useEffect(function(){ws.current=!0},[]);var Rl=re.useState(0),Cs=(0,E.Z)(Rl,2),Hi=Cs[0],Es=Cs[1],Ml=re.useState(!0),xs=(0,E.Z)(Ml,2),_s=xs[0],Il=xs[1];re.useEffect(function(){(!sr||!dr)&&(ga.current instanceof Element?Es(sn(ga.current).width):Es(sn(Na.current).width)),Il(Kn("position","sticky"))},[]),re.useEffect(function(){dr&&oo&&(oo.body.current=ga.current)});var jl=re.useCallback(function(Bo){return re.createElement(re.Fragment,null,re.createElement(No,Bo),La==="top"&&re.createElement(Mt,Bo,na))},[La,na]),Nl=re.useCallback(function(Bo){return re.createElement(Mt,Bo,na)},[na]),Ts=Wr(["table"],"table"),zi=re.useMemo(function(){return en||(ei?wa==="max-content"?"auto":"fixed":ya||ti||Eo.some(function(Bo){var Jo=Bo.ellipsis;return Jo})?"fixed":"auto")},[ya,ei,Eo,en,ti]),es,ts={colWidths:Da,columCount:Eo.length,stickyOffsets:Ma,onHeaderRow:Ar,fixHeader:ya,scroll:zt},Ls=re.useMemo(function(){return Xn?null:typeof Vn=="function"?Vn():Vn},[Xn,Vn]),Os=re.createElement(qn,{data:lr,measureColumnWidth:ya||ta||ti}),As=re.createElement(Mo,{colWidths:Eo.map(function(Bo){var Jo=Bo.width;return Jo}),columns:Eo}),Rs=zn!=null?re.createElement("caption",{className:"".concat(lt,"-caption")},zn):void 0,Dl=Jr(rt,{data:!0}),Ms=Jr(rt,{aria:!0});if(ya||ti){var ns;typeof ro=="function"?(ns=ro(lr,{scrollbarSize:Hi,ref:ga,onScroll:Ei}),ts.colWidths=Eo.map(function(Bo,Jo){var Wa=Bo.width,mi=Jo===Eo.length-1?Wa-Hi:Wa;return typeof mi=="number"&&!Number.isNaN(mi)?mi:0})):ns=re.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},ka),Fa),onScroll:Ei,ref:ga,className:Ee()("".concat(lt,"-body"))},re.createElement(Ts,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},li),{},{tableLayout:zi})},Ms),Rs,As,Os,!La&&na&&re.createElement(Mt,{stickyOffsets:Ma,flattenColumns:Eo,columns:_o},na)));var Is=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({noData:!lr.length,maxContentScroll:ta&&wa==="max-content"},ts),Za),{},{direction:Kt,stickyClassName:$o,onScroll:Ei});es=re.createElement(re.Fragment,null,$n!==!1&&re.createElement(Pr,(0,ae.Z)({},Is,{stickyTopOffset:Bi,className:"".concat(lt,"-header"),ref:Ga}),jl),ns,La&&La!=="top"&&re.createElement(Pr,(0,ae.Z)({},Is,{stickyBottomOffset:qi,className:"".concat(lt,"-summary"),ref:bi}),Nl),ti&&re.createElement(ct,{ref:Pi,offsetScroll:To,scrollBodyRef:ga,onScroll:Ei,container:Ca}))}else es=re.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},ka),Fa),className:Ee()("".concat(lt,"-content")),onScroll:Ei,ref:ga},re.createElement(Ts,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},li),{},{tableLayout:zi})},Ms),Rs,As,$n!==!1&&re.createElement(No,(0,ae.Z)({},ts,Za)),Os,na&&re.createElement(Mt,{stickyOffsets:Ma,flattenColumns:Eo,columns:_o},na)));var rs=re.createElement("div",(0,ae.Z)({className:Ee()(lt,ht,(Be={},(0,we.Z)(Be,"".concat(lt,"-rtl"),Kt==="rtl"),(0,we.Z)(Be,"".concat(lt,"-ping-left"),ea),(0,we.Z)(Be,"".concat(lt,"-ping-right"),Ra),(0,we.Z)(Be,"".concat(lt,"-layout-fixed"),en==="fixed"),(0,we.Z)(Be,"".concat(lt,"-fixed-header"),ya),(0,we.Z)(Be,"".concat(lt,"-fixed-column"),ei),(0,we.Z)(Be,"".concat(lt,"-scroll-horizontal"),ta),(0,we.Z)(Be,"".concat(lt,"-has-fix-left"),Eo[0]&&Eo[0].fixed),(0,we.Z)(Be,"".concat(lt,"-has-fix-right"),Eo[Eo.length-1]&&Eo[Eo.length-1].fixed==="right"),Be)),style:_t,id:kn,ref:fa},Dl),vn&&re.createElement(Ht,{className:"".concat(lt,"-title")},vn(lr)),re.createElement("div",{ref:Na,className:"".concat(lt,"-container")},es),mn&&re.createElement(Ht,{className:"".concat(lt,"-footer")},mn(lr)));ta&&(rs=re.createElement(Qn.Z,{onResize:Al},rs));var js=Tt(Eo,Ma,Kt,_o),kl=re.useMemo(function(){return{scrollX:wa,prefixCls:lt,getComponent:Wr,scrollbarSize:Hi,direction:Kt,fixedInfoList:js,isSticky:ti,supportSticky:_s,componentWidth:Lr,fixHeader:ya,fixColumn:ei,horizonScroll:ta,tableLayout:zi,rowClassName:vt,expandedRowClassName:ao.expandedRowClassName,expandIcon:Yo,expandableType:da,expandRowByClick:ao.expandRowByClick,expandedRowRender:ao.expandedRowRender,onTriggerExpand:ja,expandIconColumnIndex:ao.expandIconColumnIndex,indentSize:ao.indentSize,allColumnsFixedLeft:Eo.every(function(Bo){return Bo.fixed==="left"}),emptyNode:Ls,columns:_o,flattenColumns:Eo,onColumnResize:ys,hoverStartRow:bo,hoverEndRow:zo,onHover:Oo,rowExpandable:ao.rowExpandable,onRow:Er,getRowKey:po,expandedKeys:Ao,childrenColumnName:Zo}},[wa,lt,Wr,Hi,Kt,js,ti,_s,Lr,ya,ei,ta,zi,vt,ao.expandedRowClassName,Yo,da,ao.expandRowByClick,ao.expandedRowRender,ja,ao.expandIconColumnIndex,ao.indentSize,Ls,_o,Eo,ys,bo,zo,Oo,ao.rowExpandable,Er,po,Ao,Zo]);return re.createElement(ge.Provider,{value:kl},rs)}function or(De){return ee(Dn,De)}var ar=or();ar.EXPAND_COLUMN=be,ar.INTERNAL_HOOKS=xe,ar.Column=St,ar.ColumnGroup=Ut,ar.Summary=st;var Gr=ar,Vr=me(73299),Nr=le(null),Yr=le(null);function so(De,Be,rt){var lt=Be||1;return rt[De+lt]-(rt[De]||0)}function co(De){var Be=De.rowInfo,rt=De.column,lt=De.colIndex,ht=De.indent,vt=De.index,_t=De.renderIndex,jt=De.record,It=De.style,zt=De.className,en=De.inverse,Kt=De.getHeight,vn=rt.render,mn=rt.dataIndex,wn=rt.className,zn=rt.width,kn=ue(Yr,["columnsOffset"]),$n=kn.columnsOffset,Fn=tn(Be,rt,lt,ht,vt),Vn=Fn.key,Er=Fn.fixedInfo,Ar=Fn.appendCellNode,mr=Fn.additionalCellProps,Xr=mr.style,oo=mr.colSpan,sr=oo===void 0?1:oo,yr=mr.rowSpan,lr=yr===void 0?1:yr,Xn=lt-1,dr=so(Xn,sr,$n),Wr=sr>1?zn-dr:0,po=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},Xr),It),{},{flex:"0 0 ".concat(dr,"px"),width:"".concat(dr,"px"),marginRight:Wr,pointerEvents:"auto"}),ro=re.useMemo(function(){return en?lr<=1:sr===0||lr===0||lr>1},[lr,sr,en]);ro?po.visibility="hidden":en&&(po.height=Kt==null?void 0:Kt(lr));var Rr=ro?function(){return null}:vn,vo={};return(lr===0||sr===0)&&(vo.rowSpan=1,vo.colSpan=1),re.createElement(_e,(0,ae.Z)({className:Ee()(wn,zt),ellipsis:rt.ellipsis,align:rt.align,scope:rt.rowScope,component:"div",prefixCls:Be.prefixCls,key:Vn,record:jt,index:vt,renderIndex:_t,dataIndex:mn,render:Rr,shouldCellUpdate:rt.shouldCellUpdate},Er,{appendNode:Ar,additionalProps:(0,Pe.Z)((0,Pe.Z)({},mr),{},{style:po},vo)}))}var _r=co,fo=["data","index","className","rowKey","style","extra","getHeight"],$r=re.forwardRef(function(De,Be){var rt=De.data,lt=De.index,ht=De.className,vt=De.rowKey,_t=De.style,jt=De.extra,It=De.getHeight,zt=(0,yt.Z)(De,fo),en=rt.record,Kt=rt.indent,vn=rt.index,mn=ue(ge,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),wn=mn.scrollX,zn=mn.flattenColumns,kn=mn.prefixCls,$n=mn.fixColumn,Fn=mn.componentWidth,Vn=Xt(en,vt,lt,Kt),Er=Vn.rowSupportExpand,Ar=Vn.expanded,mr=Vn.rowProps,Xr=Vn.expandedRowRender,oo=Vn.expandedRowClassName,sr;if(Er&&Ar){var yr=Xr(en,lt,Kt+1,Ar),lr=oo==null?void 0:oo(en,lt,Kt),Xn={};$n&&(Xn={style:(0,we.Z)({},"--virtual-width","".concat(Fn,"px"))});var dr="".concat(kn,"-expanded-row-cell");sr=re.createElement("div",{className:Ee()("".concat(kn,"-expanded-row"),"".concat(kn,"-expanded-row-level-").concat(Kt+1),lr)},re.createElement(_e,{component:"div",prefixCls:kn,className:Ee()(dr,(0,we.Z)({},"".concat(dr,"-fixed"),$n)),additionalProps:Xn},yr))}var Wr=(0,Pe.Z)((0,Pe.Z)({},_t),{},{width:wn});jt&&(Wr.position="absolute",Wr.pointerEvents="none");var po=re.createElement("div",(0,ae.Z)({},mr,zt,{ref:Er?null:Be,className:Ee()(ht,"".concat(kn,"-row"),mr==null?void 0:mr.className,(0,we.Z)({},"".concat(kn,"-row-extra"),jt)),style:(0,Pe.Z)((0,Pe.Z)({},Wr),mr==null?void 0:mr.style)}),zn.map(function(ro,Rr){return re.createElement(_r,{key:Rr,rowInfo:Vn,column:ro,colIndex:Rr,indent:Kt,index:lt,renderIndex:vn,record:en,inverse:jt,getHeight:It})}));return Er?re.createElement("div",{ref:Be},po,sr):po}),wo=te($r),Io=wo,Qo=re.forwardRef(function(De,Be){var rt=De.data,lt=De.onScroll,ht=ue(ge,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),vt=ht.flattenColumns,_t=ht.onColumnResize,jt=ht.getRowKey,It=ht.expandedKeys,zt=ht.prefixCls,en=ht.childrenColumnName,Kt=ht.emptyNode,vn=ht.scrollX,mn=ue(Nr),wn=mn.scrollY,zn=mn.listItemHeight,kn=re.useRef(),$n=Tr(rt,en,It,jt),Fn=re.useMemo(function(){var sr=0;return vt.map(function(yr){var lr=yr.width,Xn=yr.key;return sr+=lr,[Xn,lr,sr]})},[vt]),Vn=re.useMemo(function(){return Fn.map(function(sr){return sr[2]})},[Fn]);re.useEffect(function(){Fn.forEach(function(sr){var yr=(0,E.Z)(sr,2),lr=yr[0],Xn=yr[1];_t(lr,Xn)})},[Fn]),re.useImperativeHandle(Be,function(){var sr={};return Object.defineProperty(sr,"scrollLeft",{get:function(){var lr;return((lr=kn.current)===null||lr===void 0?void 0:lr.getScrollInfo().x)||0},set:function(lr){var Xn;(Xn=kn.current)===null||Xn===void 0||Xn.scrollTo({left:lr})}}),sr});var Er=function(yr,lr){var Xn,dr=(Xn=$n[lr])===null||Xn===void 0?void 0:Xn.record,Wr=yr.onCell;if(Wr){var po,ro=Wr(dr,lr);return(po=ro==null?void 0:ro.rowSpan)!==null&&po!==void 0?po:1}return 1},Ar=function(yr){var lr=yr.start,Xn=yr.end,dr=yr.getSize,Wr=yr.offsetY;if(Xn<0)return null;for(var po=vt.filter(function(Hr){return Er(Hr,lr)===0}),ro=lr,Rr=function(Dr){if(po=po.filter(function(Mr){return Er(Mr,Dr)===0}),!po.length)return ro=Dr,"break"},vo=lr;vo>=0;vo-=1){var bo=Rr(vo);if(bo==="break")break}for(var zo=vt.filter(function(Hr){return Er(Hr,Xn)!==1}),Oo=Xn,aa=function(Dr){if(zo=zo.filter(function(Mr){return Er(Mr,Dr)!==1}),!zo.length)return Oo=Math.max(Dr-1,Xn),"break"},ia=Xn;ia<$n.length;ia+=1){var ao=aa(ia);if(ao==="break")break}for(var da=[],Ao=function(Dr){var Mr=$n[Dr];if(!Mr)return"continue";vt.some(function(Lr){return Er(Lr,Dr)>1})&&da.push(Dr)},Yo=ro;Yo<=Oo;Yo+=1)var Zo=Ao(Yo);var ja=da.map(function(Hr){var Dr=$n[Hr],Mr=jt(Dr.record,Hr),Lr=function(eo){var _o=Hr+eo-1,Eo=jt($n[_o].record,_o),_a=dr(Mr,Eo);return _a.bottom-_a.top},Ro=dr(Mr);return re.createElement(Io,{key:Hr,data:Dr,rowKey:Mr,index:Hr,style:{top:-Wr+Ro.top},extra:!0,getHeight:Lr})});return ja},mr=re.useMemo(function(){return{columnsOffset:Vn}},[Vn]),Xr="".concat(zt,"-tbody"),oo;return $n.length?oo=re.createElement(Vr.Z,{fullHeight:!1,ref:kn,className:Ee()(Xr,"".concat(Xr,"-virtual")),height:wn,itemHeight:zn||24,data:$n,itemKey:function(yr){return jt(yr.record)},scrollWidth:vn,onVirtualScroll:function(yr){var lr=yr.x;lt({scrollLeft:lr})},extraRender:Ar},function(sr,yr,lr){var Xn=jt(sr.record,yr);return re.createElement(Io,(0,ae.Z)({data:sr,rowKey:Xn,index:yr},lr))}):oo=re.createElement("div",{className:Ee()("".concat(zt,"-placeholder"))},re.createElement(_e,{component:"div",prefixCls:zt},Kt)),re.createElement(Yr.Provider,{value:mr},oo)}),Co=te(Qo),Vo=Co,Uo=function(Be,rt){var lt=rt.ref,ht=rt.onScroll;return re.createElement(Vo,{ref:lt,data:Be,onScroll:ht})},ra=100;function yo(De){var Be=De.columns,rt=De.scroll,lt=De.prefixCls,ht=lt===void 0?nn:lt,vt=De.className,_t=De.listItemHeight,jt=rt||{},It=jt.x,zt=jt.y;typeof It!="number"&&(It=((Be||[]).length+1)*ra),typeof zt!="number"&&(zt=500);var en=re.useMemo(function(){return{scrollY:zt,listItemHeight:_t}},[zt,_t]);return re.createElement(Nr.Provider,{value:en},re.createElement(Gr,(0,ae.Z)({},De,{className:Ee()(vt,"".concat(ht,"-virtual")),scroll:(0,Pe.Z)((0,Pe.Z)({},rt),{},{x:It}),components:{body:Uo},columns:Be,internalHooks:xe,tailor:!0})))}function uo(De){return ee(yo,De)}var Lo=uo(),sa=null;function Sa(De){return null}var So=Sa;function Ho(De){return null}var qo=Ho,ca=me(10366),la=me(58375),ua=me(53124),Pa=me(88258),Go=me(98675),ha=me(25378),Xo=me(24457),pa=me(28452),Ea=me(57953),Oa=me(46605);function Wo(De){return function(rt){let{prefixCls:lt,onExpand:ht,record:vt,expanded:_t,expandable:jt}=rt;const It=`${lt}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:zt=>{ht(vt,zt),zt.stopPropagation()},className:Ee()(It,{[`${It}-spaced`]:!jt,[`${It}-expanded`]:jt&&_t,[`${It}-collapsed`]:jt&&!_t}),"aria-label":_t?De.collapse:De.expand,"aria-expanded":_t})}}var Ko=Wo;function oa(De,Be){return"key"in De&&De.key!==void 0&&De.key!==null?De.key:De.dataIndex?Array.isArray(De.dataIndex)?De.dataIndex.join("."):De.dataIndex:Be}function Ia(De,Be){return Be?`${Be}-${De}`:`${De}`}function Xa(De,Be){return typeof De=="function"?De(Be):De}function ni(De,Be){const rt=Xa(De,Be);return Object.prototype.toString.call(rt)==="[object Object]"?"":rt}var ri={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"},Ha=ri,Aa=me(74643),xa=function(Be,rt){return re.createElement(Aa.Z,(0,ae.Z)({},Be,{ref:rt,icon:Ha}))},Ka=re.forwardRef(xa),za=me(7699),xi=me(57838);function _i(De){const Be=re.useRef(De),rt=(0,xi.Z)();return[()=>Be.current,lt=>{Be.current=lt,rt()}]}var oi=me(71577),ci=me(84567),wi=me(85418),Ci=me(32983),Ya=me(68508),Ja=me(76529),ui=me(78045),yi=me(79870),Si=me(72395),Gi=me(69677);function Ri(De){let{value:Be,onChange:rt,filterSearch:lt,tablePrefixCls:ht,locale:vt}=De;return lt?re.createElement("div",{className:`${ht}-filter-dropdown-search`},re.createElement(Gi.default,{prefix:re.createElement(Si.Z,null),placeholder:vt.filterSearchPlaceholder,onChange:rt,value:Be,htmlSize:1,className:`${ht}-filter-dropdown-search-input`})):null}var Mi=Ri,Ii=me(92389);const $i=De=>{const{keyCode:Be}=De;Be===Ii.Z.ENTER&&De.stopPropagation()};var ba=re.forwardRef((De,Be)=>re.createElement("div",{className:De.className,onClick:rt=>rt.stopPropagation(),onKeyDown:$i,ref:Be},De.children));function ho(De){let Be=[];return(De||[]).forEach(rt=>{let{value:lt,children:ht}=rt;Be.push(lt),ht&&(Be=[].concat((0,qr.Z)(Be),(0,qr.Z)(ho(ht))))}),Be}function di(De){return De.some(Be=>{let{children:rt}=Be;return rt})}function ai(De,Be){return typeof Be=="string"||typeof Be=="number"?Be==null?void 0:Be.toString().toLowerCase().includes(De.trim().toLowerCase()):!1}function Ba(De){let{filters:Be,prefixCls:rt,filteredKeys:lt,filterMultiple:ht,searchValue:vt,filterSearch:_t}=De;return Be.map((jt,It)=>{const zt=String(jt.value);if(jt.children)return{key:zt||It,label:jt.text,popupClassName:`${rt}-dropdown-submenu`,children:Ba({filters:jt.children,prefixCls:rt,filteredKeys:lt,filterMultiple:ht,searchValue:vt,filterSearch:_t})};const en=ht?ci.default:ui.ZP,Kt={key:jt.value!==void 0?zt:It,label:re.createElement(re.Fragment,null,re.createElement(en,{checked:lt.includes(zt)}),re.createElement("span",null,jt.text))};return vt.trim()?typeof _t=="function"?_t(vt,jt)?Kt:null:ai(vt,jt.text)?Kt:null:Kt})}function fi(De){var Be,rt;const{tablePrefixCls:lt,prefixCls:ht,column:vt,dropdownPrefixCls:_t,columnKey:jt,filterMultiple:It,filterMode:zt="menu",filterSearch:en=!1,filterState:Kt,triggerFilter:vn,locale:mn,children:wn,getPopupContainer:zn}=De,{filterDropdownOpen:kn,onFilterDropdownOpenChange:$n,filterResetToDefaultFilteredValue:Fn,defaultFilteredValue:Vn,filterDropdownVisible:Er,onFilterDropdownVisibleChange:Ar}=vt,[mr,Xr]=re.useState(!1),oo=!!(Kt&&(!((Be=Kt.filteredKeys)===null||Be===void 0)&&Be.length||Kt.forceFiltered)),sr=Or=>{Xr(Or),$n==null||$n(Or),Ar==null||Ar(Or)},yr=(rt=kn!=null?kn:Er)!==null&&rt!==void 0?rt:mr,lr=Kt==null?void 0:Kt.filteredKeys,[Xn,dr]=_i(lr||[]),Wr=Or=>{let{selectedKeys:eo}=Or;dr(eo)},po=(Or,eo)=>{let{node:_o,checked:Eo}=eo;Wr(It?{selectedKeys:Or}:{selectedKeys:Eo&&_o.key?[_o.key]:[]})};re.useEffect(()=>{mr&&Wr({selectedKeys:lr||[]})},[lr]);const[ro,Rr]=re.useState([]),vo=Or=>{Rr(Or)},[bo,zo]=re.useState(""),Oo=Or=>{const{value:eo}=Or.target;zo(eo)};re.useEffect(()=>{mr||zo("")},[mr]);const aa=Or=>{const eo=Or&&Or.length?Or:null;if(eo===null&&(!Kt||!Kt.filteredKeys)||(0,za.Z)(eo,Kt==null?void 0:Kt.filteredKeys,!0))return null;vn({column:vt,key:jt,filteredKeys:eo})},ia=()=>{sr(!1),aa(Xn())},ao=function(){let{confirm:Or,closeDropdown:eo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Or&&aa([]),eo&&sr(!1),zo(""),dr(Fn?(Vn||[]).map(_o=>String(_o)):[])},da=function(){let{closeDropdown:Or}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Or&&sr(!1),aa(Xn())},Ao=Or=>{Or&&lr!==void 0&&dr(lr||[]),sr(Or),!Or&&!vt.filterDropdown&&ia()},Yo=Ee()({[`${_t}-menu-without-submenu`]:!di(vt.filters||[])}),Zo=Or=>{if(Or.target.checked){const eo=ho(vt==null?void 0:vt.filters).map(_o=>String(_o));dr(eo)}else dr([])},ja=Or=>{let{filters:eo}=Or;return(eo||[]).map((_o,Eo)=>{const _a=String(_o.value),wa={title:_o.text,key:_o.value!==void 0?_a:Eo};return _o.children&&(wa.children=ja({filters:_o.children})),wa})},Hr=Or=>{var eo;return Object.assign(Object.assign({},Or),{text:Or.title,value:Or.key,children:((eo=Or.children)===null||eo===void 0?void 0:eo.map(_o=>Hr(_o)))||[]})};let Dr;if(typeof vt.filterDropdown=="function")Dr=vt.filterDropdown({prefixCls:`${_t}-custom`,setSelectedKeys:Or=>Wr({selectedKeys:Or}),selectedKeys:Xn(),confirm:da,clearFilters:ao,filters:vt.filters,visible:yr,close:()=>{sr(!1)}});else if(vt.filterDropdown)Dr=vt.filterDropdown;else{const Or=Xn()||[],eo=()=>(vt.filters||[]).length===0?re.createElement(Ci.Z,{image:Ci.Z.PRESENTED_IMAGE_SIMPLE,description:mn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):zt==="tree"?re.createElement(re.Fragment,null,re.createElement(Mi,{filterSearch:en,value:bo,onChange:Oo,tablePrefixCls:lt,locale:mn}),re.createElement("div",{className:`${lt}-filter-dropdown-tree`},It?re.createElement(ci.default,{checked:Or.length===ho(vt.filters).length,indeterminate:Or.length>0&&Or.length<ho(vt.filters).length,className:`${lt}-filter-dropdown-checkall`,onChange:Zo},mn.filterCheckall):null,re.createElement(yi.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:It,checkStrictly:!It,className:`${_t}-menu`,onCheck:po,checkedKeys:Or,selectedKeys:Or,showIcon:!1,treeData:ja({filters:vt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:bo.trim()?Eo=>typeof en=="function"?en(bo,Hr(Eo)):ai(bo,Eo.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(Mi,{filterSearch:en,value:bo,onChange:Oo,tablePrefixCls:lt,locale:mn}),re.createElement(Ya.default,{selectable:!0,multiple:It,prefixCls:`${_t}-menu`,className:Yo,onSelect:Wr,onDeselect:Wr,selectedKeys:Or,getPopupContainer:zn,openKeys:ro,onOpenChange:vo,items:Ba({filters:vt.filters||[],filterSearch:en,prefixCls:ht,filteredKeys:Xn(),filterMultiple:It,searchValue:bo})})),_o=()=>Fn?(0,za.Z)((Vn||[]).map(Eo=>String(Eo)),Or,!0):Or.length===0;Dr=re.createElement(re.Fragment,null,eo(),re.createElement("div",{className:`${ht}-dropdown-btns`},re.createElement(oi.ZP,{type:"link",size:"small",disabled:_o(),onClick:()=>ao()},mn.filterReset),re.createElement(oi.ZP,{type:"primary",size:"small",onClick:ia},mn.filterConfirm)))}vt.filterDropdown&&(Dr=re.createElement(Ja.J,{selectable:void 0},Dr));const Mr=()=>re.createElement(ba,{className:`${ht}-dropdown`},Dr);let Lr;typeof vt.filterIcon=="function"?Lr=vt.filterIcon(oo):vt.filterIcon?Lr=vt.filterIcon:Lr=re.createElement(Ka,null);const{direction:Ro}=re.useContext(ua.E_);return re.createElement("div",{className:`${ht}-column`},re.createElement("span",{className:`${lt}-column-title`},wn),re.createElement(wi.Z,{dropdownRender:Mr,trigger:["click"],open:yr,onOpenChange:Ao,getPopupContainer:zn,placement:Ro==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:Ee()(`${ht}-trigger`,{active:oo}),onClick:Or=>{Or.stopPropagation()}},Lr)))}var gi=fi;function Qa(De,Be,rt){let lt=[];return(De||[]).forEach((ht,vt)=>{var _t;const jt=Ia(vt,rt);if(ht.filters||"filterDropdown"in ht||"onFilter"in ht)if("filteredValue"in ht){let It=ht.filteredValue;"filterDropdown"in ht||(It=(_t=It==null?void 0:It.map(String))!==null&&_t!==void 0?_t:It),lt.push({column:ht,key:oa(ht,jt),filteredKeys:It,forceFiltered:ht.filtered})}else lt.push({column:ht,key:oa(ht,jt),filteredKeys:Be&&ht.defaultFilteredValue?ht.defaultFilteredValue:void 0,forceFiltered:ht.filtered});"children"in ht&&(lt=[].concat((0,qr.Z)(lt),(0,qr.Z)(Qa(ht.children,Be,jt))))}),lt}function ji(De,Be,rt,lt,ht,vt,_t,jt){return rt.map((It,zt)=>{const en=Ia(zt,jt),{filterMultiple:Kt=!0,filterMode:vn,filterSearch:mn}=It;let wn=It;if(wn.filters||wn.filterDropdown){const zn=oa(wn,en),kn=lt.find($n=>{let{key:Fn}=$n;return zn===Fn});wn=Object.assign(Object.assign({},wn),{title:$n=>re.createElement(gi,{tablePrefixCls:De,prefixCls:`${De}-filter`,dropdownPrefixCls:Be,column:wn,columnKey:zn,filterState:kn,filterMultiple:Kt,filterMode:vn,filterSearch:mn,triggerFilter:vt,locale:ht,getPopupContainer:_t},Xa(It.title,$n))})}return"children"in wn&&(wn=Object.assign(Object.assign({},wn),{children:ji(De,Be,wn.children,lt,ht,vt,_t,en)})),wn})}function Ni(De){const Be={};return De.forEach(rt=>{let{key:lt,filteredKeys:ht,column:vt}=rt;const{filters:_t,filterDropdown:jt}=vt;if(jt)Be[lt]=ht||null;else if(Array.isArray(ht)){const It=ho(_t);Be[lt]=It.filter(zt=>ht.includes(String(zt)))}else Be[lt]=null}),Be}function Ti(De,Be){return Be.reduce((rt,lt)=>{const{column:{onFilter:ht,filters:vt},filteredKeys:_t}=lt;return ht&&_t&&_t.length?rt.filter(jt=>_t.some(It=>{const zt=ho(vt),en=zt.findIndex(vn=>String(vn)===String(It)),Kt=en!==-1?zt[en]:It;return ht(Kt,jt)})):rt},De)}const Li=De=>De.flatMap(Be=>"children"in Be?[Be].concat((0,qr.Z)(Li(Be.children||[]))):[Be]);function Ds(De){let{prefixCls:Be,dropdownPrefixCls:rt,mergedColumns:lt,onFilterChange:ht,getPopupContainer:vt,locale:_t}=De;const jt=re.useMemo(()=>Li(lt||[]),[lt]),[It,zt]=re.useState(()=>Qa(jt,!0)),en=re.useMemo(()=>{const wn=Qa(jt,!1);if(wn.length===0)return wn;let zn=!0,kn=!0;if(wn.forEach($n=>{let{filteredKeys:Fn}=$n;Fn!==void 0?zn=!1:kn=!1}),zn){const $n=(jt||[]).map((Fn,Vn)=>oa(Fn,Ia(Vn)));return It.filter(Fn=>{let{key:Vn}=Fn;return $n.includes(Vn)}).map(Fn=>{const Vn=jt[$n.findIndex(Er=>Er===Fn.key)];return Object.assign(Object.assign({},Fn),{column:Object.assign(Object.assign({},Fn.column),Vn),forceFiltered:Vn.filtered})})}return wn},[jt,It]),Kt=re.useMemo(()=>Ni(en),[en]),vn=wn=>{const zn=en.filter(kn=>{let{key:$n}=kn;return $n!==wn.key});zn.push(wn),zt(zn),ht(Ni(zn),zn)};return[wn=>ji(Be,rt,wn,en,_t,vn,vt),en,Kt]}var ks=Ds;function Fs(De,Be,rt){const lt=re.useRef({});function ht(vt){if(!lt.current||lt.current.data!==De||lt.current.childrenColumnName!==Be||lt.current.getRowKey!==rt){let jt=function(It){It.forEach((zt,en)=>{const Kt=rt(zt,en);_t.set(Kt,zt),zt&&typeof zt=="object"&&Be in zt&&jt(zt[Be]||[])})};const _t=new Map;jt(De),lt.current={data:De,childrenColumnName:Be,kvMap:_t,getRowKey:rt}}return lt.current.kvMap.get(vt)}return[ht]}var Bs=me(38780),Us=function(De,Be){var rt={};for(var lt in De)Object.prototype.hasOwnProperty.call(De,lt)&&Be.indexOf(lt)<0&&(rt[lt]=De[lt]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,lt=Object.getOwnPropertySymbols(De);ht<lt.length;ht++)Be.indexOf(lt[ht])<0&&Object.prototype.propertyIsEnumerable.call(De,lt[ht])&&(rt[lt[ht]]=De[lt[ht]]);return rt};const ls=10;function Hs(De,Be){const rt={current:De.current,pageSize:De.pageSize};return Object.keys(Be&&typeof Be=="object"?Be:{}).forEach(ht=>{const vt=De[ht];typeof vt!="function"&&(rt[ht]=vt)}),rt}function zs(De,Be,rt){const lt=rt&&typeof rt=="object"?rt:{},{total:ht=0}=lt,vt=Us(lt,["total"]),[_t,jt]=(0,re.useState)(()=>({current:"defaultCurrent"in vt?vt.defaultCurrent:1,pageSize:"defaultPageSize"in vt?vt.defaultPageSize:ls})),It=(0,Bs.Z)(_t,vt,{total:ht>0?ht:De}),zt=Math.ceil((ht||De)/It.pageSize);It.current>zt&&(It.current=zt||1);const en=(vn,mn)=>{jt({current:vn!=null?vn:1,pageSize:mn||It.pageSize})},Kt=(vn,mn)=>{var wn;rt&&((wn=rt.onChange)===null||wn===void 0||wn.call(rt,vn,mn)),en(vn,mn),Be(vn,mn||(It==null?void 0:It.pageSize))};return rt===!1?[{},()=>{}]:[Object.assign(Object.assign({},It),{onChange:Kt}),en]}var Gs=zs,$s=me(42922),cs=me(29873),Ki=me(97153),Ws=me(83898),Ks=me(5663);const hi={},Zi="SELECT_ALL",Vi="SELECT_INVERT",Xi="SELECT_NONE",us=[],ds=(De,Be)=>{let rt=[];return(Be||[]).forEach(lt=>{rt.push(lt),lt&&typeof lt=="object"&&De in lt&&(rt=[].concat((0,qr.Z)(rt),(0,qr.Z)(ds(De,lt[De]))))}),rt};var Zs=(De,Be)=>{const{preserveSelectedRowKeys:rt,selectedRowKeys:lt,defaultSelectedRowKeys:ht,getCheckboxProps:vt,onChange:_t,onSelect:jt,onSelectAll:It,onSelectInvert:zt,onSelectNone:en,onSelectMultiple:Kt,columnWidth:vn,type:mn,selections:wn,fixed:zn,renderCell:kn,hideSelectAll:$n,checkStrictly:Fn=!0}=Be||{},{prefixCls:Vn,data:Er,pageData:Ar,getRecordByKey:mr,getRowKey:Xr,expandType:oo,childrenColumnName:sr,locale:yr,getPopupContainer:lr}=De,[Xn,dr]=(0,Ks.Z)(lt||ht||us,{value:lt}),Wr=re.useRef(new Map),po=(0,re.useCallback)(Hr=>{if(rt){const Dr=new Map;Hr.forEach(Mr=>{let Lr=mr(Mr);!Lr&&Wr.current.has(Mr)&&(Lr=Wr.current.get(Mr)),Dr.set(Mr,Lr)}),Wr.current=Dr}},[mr,rt]);re.useEffect(()=>{po(Xn)},[Xn]);const{keyEntities:ro}=(0,re.useMemo)(()=>{if(Fn)return{keyEntities:null};let Hr=Er;if(rt){const Dr=new Set(Er.map((Lr,Ro)=>Xr(Lr,Ro))),Mr=Array.from(Wr.current).reduce((Lr,Ro)=>{let[Or,eo]=Ro;return Dr.has(Or)?Lr:Lr.concat(eo)},[]);Hr=[].concat((0,qr.Z)(Hr),(0,qr.Z)(Mr))}return(0,Ws.I8)(Hr,{externalGetKey:Xr,childrenPropName:sr})},[Er,Xr,Fn,sr,rt]),Rr=(0,re.useMemo)(()=>ds(sr,Ar),[sr,Ar]),vo=(0,re.useMemo)(()=>{const Hr=new Map;return Rr.forEach((Dr,Mr)=>{const Lr=Xr(Dr,Mr),Ro=(vt?vt(Dr):null)||{};Hr.set(Lr,Ro)}),Hr},[Rr,Xr,vt]),bo=(0,re.useCallback)(Hr=>{var Dr;return!!(!((Dr=vo.get(Xr(Hr)))===null||Dr===void 0)&&Dr.disabled)},[vo,Xr]),[zo,Oo]=(0,re.useMemo)(()=>{if(Fn)return[Xn||[],[]];const{checkedKeys:Hr,halfCheckedKeys:Dr}=(0,Ki.S)(Xn,!0,ro,bo);return[Hr||[],Dr]},[Xn,Fn,ro,bo]),aa=(0,re.useMemo)(()=>{const Hr=mn==="radio"?zo.slice(0,1):zo;return new Set(Hr)},[zo,mn]),ia=(0,re.useMemo)(()=>mn==="radio"?new Set:new Set(Oo),[Oo,mn]),[ao,da]=(0,re.useState)(null);re.useEffect(()=>{Be||dr(us)},[!!Be]);const Ao=(0,re.useCallback)((Hr,Dr)=>{let Mr,Lr;po(Hr),rt?(Mr=Hr,Lr=Hr.map(Ro=>Wr.current.get(Ro))):(Mr=[],Lr=[],Hr.forEach(Ro=>{const Or=mr(Ro);Or!==void 0&&(Mr.push(Ro),Lr.push(Or))})),dr(Mr),_t==null||_t(Mr,Lr,{type:Dr})},[dr,mr,_t,rt]),Yo=(0,re.useCallback)((Hr,Dr,Mr,Lr)=>{if(jt){const Ro=Mr.map(Or=>mr(Or));jt(mr(Hr),Dr,Ro,Lr)}Ao(Mr,"single")},[jt,mr,Ao]),Zo=(0,re.useMemo)(()=>!wn||$n?null:(wn===!0?[Zi,Vi,Xi]:wn).map(Dr=>Dr===Zi?{key:"all",text:yr.selectionAll,onSelect(){Ao(Er.map((Mr,Lr)=>Xr(Mr,Lr)).filter(Mr=>{const Lr=vo.get(Mr);return!(Lr!=null&&Lr.disabled)||aa.has(Mr)}),"all")}}:Dr===Vi?{key:"invert",text:yr.selectInvert,onSelect(){const Mr=new Set(aa);Ar.forEach((Ro,Or)=>{const eo=Xr(Ro,Or),_o=vo.get(eo);_o!=null&&_o.disabled||(Mr.has(eo)?Mr.delete(eo):Mr.add(eo))});const Lr=Array.from(Mr);zt&&zt(Lr),Ao(Lr,"invert")}}:Dr===Xi?{key:"none",text:yr.selectNone,onSelect(){en==null||en(),Ao(Array.from(aa).filter(Mr=>{const Lr=vo.get(Mr);return Lr==null?void 0:Lr.disabled}),"none")}}:Dr).map(Dr=>Object.assign(Object.assign({},Dr),{onSelect:function(){for(var Mr,Lr,Ro=arguments.length,Or=new Array(Ro),eo=0;eo<Ro;eo++)Or[eo]=arguments[eo];(Lr=Dr.onSelect)===null||Lr===void 0||(Mr=Lr).call.apply(Mr,[Dr].concat(Or)),da(null)}})),[wn,aa,Ar,Xr,zt,Ao]);return[(0,re.useCallback)(Hr=>{var Dr;if(!Be)return Hr.filter(ko=>ko!==hi);let Mr=(0,qr.Z)(Hr);const Lr=new Set(aa),Ro=Rr.map(Xr).filter(ko=>!vo.get(ko).disabled),Or=Ro.every(ko=>Lr.has(ko)),eo=Ro.some(ko=>Lr.has(ko)),_o=()=>{const ko=[];Or?Ro.forEach(ea=>{Lr.delete(ea),ko.push(ea)}):Ro.forEach(ea=>{Lr.has(ea)||(Lr.add(ea),ko.push(ea))});const Fo=Array.from(Lr);It==null||It(!Or,Fo.map(ea=>mr(ea)),ko.map(ea=>mr(ea))),Ao(Fo,"all"),da(null)};let Eo;if(mn!=="radio"){let ko;if(Zo){const Po={getPopupContainer:lr,items:Zo.map((Ra,Ta)=>{const{key:Ua,text:qa,onSelect:Va}=Ra;return{key:Ua!=null?Ua:Ta,onClick:()=>{Va==null||Va(Ro)},label:qa}})};ko=re.createElement("div",{className:`${Vn}-selection-extra`},re.createElement(wi.Z,{menu:Po,getPopupContainer:lr},re.createElement("span",null,re.createElement($s.Z,null))))}const Fo=Rr.map((Po,Ra)=>{const Ta=Xr(Po,Ra),Ua=vo.get(Ta)||{};return Object.assign({checked:Lr.has(Ta)},Ua)}).filter(Po=>{let{disabled:Ra}=Po;return Ra}),ea=!!Fo.length&&Fo.length===Rr.length,ma=ea&&Fo.every(Po=>{let{checked:Ra}=Po;return Ra}),va=ea&&Fo.some(Po=>{let{checked:Ra}=Po;return Ra});Eo=!$n&&re.createElement("div",{className:`${Vn}-selection`},re.createElement(ci.default,{checked:ea?ma:!!Rr.length&&Or,indeterminate:ea?!ma&&va:!Or&&eo,onChange:_o,disabled:Rr.length===0||ea,"aria-label":ko?"Custom selection":"Select all",skipGroup:!0}),ko)}let _a;mn==="radio"?_a=(ko,Fo,ea)=>{const ma=Xr(Fo,ea),va=Lr.has(ma);return{node:re.createElement(ui.ZP,Object.assign({},vo.get(ma),{checked:va,onClick:Po=>Po.stopPropagation(),onChange:Po=>{Lr.has(ma)||Yo(ma,!0,[ma],Po.nativeEvent)}})),checked:va}}:_a=(ko,Fo,ea)=>{var ma;const va=Xr(Fo,ea),Po=Lr.has(va),Ra=ia.has(va),Ta=vo.get(va);let Ua;return oo==="nest"?Ua=Ra:Ua=(ma=Ta==null?void 0:Ta.indeterminate)!==null&&ma!==void 0?ma:Ra,{node:re.createElement(ci.default,Object.assign({},Ta,{indeterminate:Ua,checked:Po,skipGroup:!0,onClick:qa=>qa.stopPropagation(),onChange:qa=>{let{nativeEvent:Va}=qa;const{shiftKey:Ai}=Va;let si=-1,$a=-1;if(Ai&&Fn){const Da=new Set([ao,va]);Ro.some((Ma,ya)=>{if(Da.has(Ma))if(si===-1)si=ya;else return $a=ya,!0;return!1})}if($a!==-1&&si!==$a&&Fn){const Da=Ro.slice(si,$a+1),Ma=[];Po?Da.forEach(ta=>{Lr.has(ta)&&(Ma.push(ta),Lr.delete(ta))}):Da.forEach(ta=>{Lr.has(ta)||(Ma.push(ta),Lr.add(ta))});const ya=Array.from(Lr);Kt==null||Kt(!Po,ya.map(ta=>mr(ta)),Ma.map(ta=>mr(ta))),Ao(ya,"multiple")}else{const Da=zo;if(Fn){const Ma=Po?(0,cs._5)(Da,va):(0,cs.L0)(Da,va);Yo(va,!Po,Ma,Va)}else{const Ma=(0,Ki.S)([].concat((0,qr.Z)(Da),[va]),!0,ro,bo),{checkedKeys:ya,halfCheckedKeys:ta}=Ma;let ei=ya;if(Po){const Pi=new Set(ya);Pi.delete(va),ei=(0,Ki.S)(Array.from(Pi),{checked:!1,halfCheckedKeys:ta},ro,bo).checkedKeys}Yo(va,!Po,ei,Va)}}da(Po?null:va)}})),checked:Po}};const wa=(ko,Fo,ea)=>{const{node:ma,checked:va}=_a(ko,Fo,ea);return kn?kn(va,Fo,ea,ma):ma};if(!Mr.includes(hi))if(Mr.findIndex(ko=>{var Fo;return((Fo=ko[Ir])===null||Fo===void 0?void 0:Fo.columnType)==="EXPAND_COLUMN"})===0){const[ko,...Fo]=Mr;Mr=[ko,hi].concat((0,qr.Z)(Fo))}else Mr=[hi].concat((0,qr.Z)(Mr));const Za=Mr.indexOf(hi);Mr=Mr.filter((ko,Fo)=>ko!==hi||Fo===Za);const fa=Mr[Za-1],Ga=Mr[Za+1];let ga=zn;ga===void 0&&((Ga==null?void 0:Ga.fixed)!==void 0?ga=Ga.fixed:(fa==null?void 0:fa.fixed)!==void 0&&(ga=fa.fixed)),ga&&fa&&((Dr=fa[Ir])===null||Dr===void 0?void 0:Dr.columnType)==="EXPAND_COLUMN"&&fa.fixed===void 0&&(fa.fixed=ga);const Na=Ee()(`${Vn}-selection-col`,{[`${Vn}-selection-col-with-dropdown`]:wn&&mn==="checkbox"}),bi={fixed:ga,width:vn,className:`${Vn}-selection-column`,title:Be.columnTitle||Eo,render:wa,onCell:Be.onCell,[Ir]:{className:Na}};return Mr.map(ko=>ko===hi?bi:ko)},[Xr,Rr,Be,zo,aa,ia,vn,Zo,oo,ao,vo,Kt,Yo,bo]),aa]},Vs=me(33463),Xs=me(28575),Ys=me(83062);const Di="ascend",Yi="descend";function ki(De){return typeof De.sorter=="object"&&typeof De.sorter.multiple=="number"?De.sorter.multiple:!1}function fs(De){return typeof De=="function"?De:De&&typeof De=="object"&&De.compare?De.compare:!1}function Js(De,Be){return Be?De[De.indexOf(Be)+1]:De[0]}function Ji(De,Be,rt){let lt=[];function ht(vt,_t){lt.push({column:vt,key:oa(vt,_t),multiplePriority:ki(vt),sortOrder:vt.sortOrder})}return(De||[]).forEach((vt,_t)=>{const jt=Ia(_t,rt);vt.children?("sortOrder"in vt&&ht(vt,jt),lt=[].concat((0,qr.Z)(lt),(0,qr.Z)(Ji(vt.children,Be,jt)))):vt.sorter&&("sortOrder"in vt?ht(vt,jt):Be&&vt.defaultSortOrder&&lt.push({column:vt,key:oa(vt,jt),multiplePriority:ki(vt),sortOrder:vt.defaultSortOrder}))}),lt}function gs(De,Be,rt,lt,ht,vt,_t,jt){return(Be||[]).map((It,zt)=>{const en=Ia(zt,jt);let Kt=It;if(Kt.sorter){const vn=Kt.sortDirections||ht,mn=Kt.showSorterTooltip===void 0?_t:Kt.showSorterTooltip,wn=oa(Kt,en),zn=rt.find(oo=>{let{key:sr}=oo;return sr===wn}),kn=zn?zn.sortOrder:null,$n=Js(vn,kn);let Fn;if(It.sortIcon)Fn=It.sortIcon({sortOrder:kn});else{const oo=vn.includes(Di)&&re.createElement(Xs.Z,{className:Ee()(`${De}-column-sorter-up`,{active:kn===Di})}),sr=vn.includes(Yi)&&re.createElement(Vs.Z,{className:Ee()(`${De}-column-sorter-down`,{active:kn===Yi})});Fn=re.createElement("span",{className:Ee()(`${De}-column-sorter`,{[`${De}-column-sorter-full`]:!!(oo&&sr)})},re.createElement("span",{className:`${De}-column-sorter-inner`,"aria-hidden":"true"},oo,sr))}const{cancelSort:Vn,triggerAsc:Er,triggerDesc:Ar}=vt||{};let mr=Vn;$n===Yi?mr=Ar:$n===Di&&(mr=Er);const Xr=typeof mn=="object"?mn:{title:mr};Kt=Object.assign(Object.assign({},Kt),{className:Ee()(Kt.className,{[`${De}-column-sort`]:kn}),title:oo=>{const sr=re.createElement("div",{className:`${De}-column-sorters`},re.createElement("span",{className:`${De}-column-title`},Xa(It.title,oo)),Fn);return mn?re.createElement(Ys.Z,Object.assign({},Xr),sr):sr},onHeaderCell:oo=>{const sr=It.onHeaderCell&&It.onHeaderCell(oo)||{},yr=sr.onClick,lr=sr.onKeyDown;sr.onClick=Wr=>{lt({column:It,key:wn,sortOrder:$n,multiplePriority:ki(It)}),yr==null||yr(Wr)},sr.onKeyDown=Wr=>{Wr.keyCode===Ii.Z.ENTER&&(lt({column:It,key:wn,sortOrder:$n,multiplePriority:ki(It)}),lr==null||lr(Wr))};const Xn=ni(It.title,{}),dr=Xn==null?void 0:Xn.toString();return kn?sr["aria-sort"]=kn==="ascend"?"ascending":"descending":sr["aria-label"]=dr||"",sr.className=Ee()(sr.className,`${De}-column-has-sorters`),sr.tabIndex=0,It.ellipsis&&(sr.title=(Xn!=null?Xn:"").toString()),sr}})}return"children"in Kt&&(Kt=Object.assign(Object.assign({},Kt),{children:gs(De,Kt.children,rt,lt,ht,vt,_t,en)})),Kt})}function hs(De){const{column:Be,sortOrder:rt}=De;return{column:Be,order:rt,field:Be.dataIndex,columnKey:Be.key}}function ps(De){const Be=De.filter(rt=>{let{sortOrder:lt}=rt;return lt}).map(hs);return Be.length===0&&De.length?Object.assign(Object.assign({},hs(De[De.length-1])),{column:void 0}):Be.length<=1?Be[0]||{}:Be}function Qi(De,Be,rt){const lt=Be.slice().sort((_t,jt)=>jt.multiplePriority-_t.multiplePriority),ht=De.slice(),vt=lt.filter(_t=>{let{column:{sorter:jt},sortOrder:It}=_t;return fs(jt)&&It});return vt.length?ht.sort((_t,jt)=>{for(let It=0;It<vt.length;It+=1){const zt=vt[It],{column:{sorter:en},sortOrder:Kt}=zt,vn=fs(en);if(vn&&Kt){const mn=vn(_t,jt,Kt);if(mn!==0)return Kt===Di?mn:-mn}}return 0}).map(_t=>{const jt=_t[rt];return jt?Object.assign(Object.assign({},_t),{[rt]:Qi(jt,Be,rt)}):_t}):ht}function Qs(De){let{prefixCls:Be,mergedColumns:rt,onSorterChange:lt,sortDirections:ht,tableLocale:vt,showSorterTooltip:_t}=De;const[jt,It]=re.useState(Ji(rt,!0)),zt=re.useMemo(()=>{let wn=!0;const zn=Ji(rt,!1);if(!zn.length)return jt;const kn=[];function $n(Vn){wn?kn.push(Vn):kn.push(Object.assign(Object.assign({},Vn),{sortOrder:null}))}let Fn=null;return zn.forEach(Vn=>{Fn===null?($n(Vn),Vn.sortOrder&&(Vn.multiplePriority===!1?wn=!1:Fn=!0)):(Fn&&Vn.multiplePriority!==!1||(wn=!1),$n(Vn))}),kn},[rt,jt]),en=re.useMemo(()=>{const wn=zt.map(zn=>{let{column:kn,sortOrder:$n}=zn;return{column:kn,order:$n}});return{sortColumns:wn,sortColumn:wn[0]&&wn[0].column,sortOrder:wn[0]&&wn[0].order}},[zt]);function Kt(wn){let zn;wn.multiplePriority===!1||!zt.length||zt[0].multiplePriority===!1?zn=[wn]:zn=[].concat((0,qr.Z)(zt.filter(kn=>{let{key:$n}=kn;return $n!==wn.key})),[wn]),It(zn),lt(ps(zn),zn)}return[wn=>gs(Be,wn,zt,Kt,ht,vt,_t),zt,en,()=>ps(zt)]}function ms(De,Be){return De.map(rt=>{const lt=Object.assign({},rt);return lt.title=Xa(rt.title,Be),"children"in lt&&(lt.children=ms(lt.children,Be)),lt})}function el(De){return[re.useCallback(rt=>ms(rt,De),[De])]}var tl=or((De,Be)=>{const{_renderTimes:rt}=De,{_renderTimes:lt}=Be;return rt!==lt}),nl=uo((De,Be)=>{const{_renderTimes:rt}=De,{_renderTimes:lt}=Be;return rt!==lt}),Oi=me(84780),Fi=me(14747),rl=me(67968),ol=me(45503),al=De=>{const{componentCls:Be}=De,rt=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`,lt=(ht,vt,_t)=>({[`&${Be}-${ht}`]:{[`> ${Be}-container`]:{[`> ${Be}-content, > ${Be}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Be}-expanded-row-fixed`]:{margin:`-${vt}px -${_t+De.lineWidth}px`}}}}}});return{[`${Be}-wrapper`]:{[`${Be}${Be}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Be}-title`]:{border:rt,borderBottom:0},[`> ${Be}-container`]:{borderInlineStart:rt,borderTop:rt,[`
> ${Be}-content,
> ${Be}-header,
> ${Be}-body,
> ${Be}-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:rt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:rt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Be}-cell-fix-right-first::after`]:{borderInlineEnd:rt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Be}-expanded-row-fixed`]:{margin:`-${De.tablePaddingVertical}px -${De.tablePaddingHorizontal+De.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:De.lineWidth,bottom:0,borderInlineEnd:rt,content:'""'}}}}}},[`&${Be}-scroll-horizontal`]:{[`> ${Be}-container > ${Be}-body`]:{"> table > tbody":{[`
> tr${Be}-expanded-row,
> tr${Be}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},lt("middle",De.tablePaddingVerticalMiddle,De.tablePaddingHorizontalMiddle)),lt("small",De.tablePaddingVerticalSmall,De.tablePaddingHorizontalSmall)),{[`> ${Be}-footer`]:{border:rt,borderTop:0}}),[`${Be}-cell`]:{[`${Be}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${De.lineWidth}px 0 ${De.lineWidth}px ${De.tableHeaderBg}`}},[`${Be}-bordered ${Be}-cell-scrollbar`]:{borderInlineEnd:rt}}}},il=De=>{const{componentCls:Be}=De;return{[`${Be}-wrapper`]:{[`${Be}-cell-ellipsis`]:Object.assign(Object.assign({},Fi.vS),{wordBreak:"keep-all",[`
&${Be}-cell-fix-left-last,
&${Be}-cell-fix-right-first
`]:{overflow:"visible",[`${Be}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Be}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},sl=De=>{const{componentCls:Be}=De;return{[`${Be}-wrapper`]:{[`${Be}-tbody > tr${Be}-placeholder`]:{textAlign:"center",color:De.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:De.colorBgContainer}}}}},ll=me(49867),cl=De=>{const{componentCls:Be,antCls:rt,controlInteractiveSize:lt,motionDurationSlow:ht,lineWidth:vt,paddingXS:_t,lineType:jt,tableBorderColor:It,tableExpandIconBg:zt,tableExpandColumnWidth:en,borderRadius:Kt,fontSize:vn,fontSizeSM:mn,lineHeight:wn,tablePaddingVertical:zn,tablePaddingHorizontal:kn,tableExpandedRowBg:$n,paddingXXS:Fn}=De,Vn=lt/2-vt,Er=Vn*2+vt*3,Ar=`${vt}px ${jt} ${It}`,mr=Fn-vt;return{[`${Be}-wrapper`]:{[`${Be}-expand-icon-col`]:{width:en},[`${Be}-row-expand-icon-cell`]:{textAlign:"center",[`${Be}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Be}-row-indent`]:{height:1,float:"left"},[`${Be}-row-expand-icon`]:Object.assign(Object.assign({},(0,ll.N)(De)),{position:"relative",float:"left",boxSizing:"border-box",width:Er,height:Er,padding:0,color:"inherit",lineHeight:`${Er}px`,background:zt,border:Ar,borderRadius:Kt,transform:`scale(${lt/Er})`,transition:`all ${ht}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ht} ease-out`,content:'""'},"&::before":{top:Vn,insetInlineEnd:mr,insetInlineStart:mr,height:vt},"&::after":{top:mr,bottom:mr,insetInlineStart:Vn,width:vt,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"}}),[`${Be}-row-indent + ${Be}-row-expand-icon`]:{marginTop:(vn*wn-vt*3)/2-Math.ceil((mn*1.4-vt*3)/2),marginInlineEnd:_t},[`tr${Be}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:$n}},[`${rt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Be}-expanded-row-fixed`]:{position:"relative",margin:`-${zn}px -${kn}px`,padding:`${zn}px ${kn}px`}}}},ul=De=>{const{componentCls:Be,antCls:rt,iconCls:lt,tableFilterDropdownWidth:ht,tableFilterDropdownSearchWidth:vt,paddingXXS:_t,paddingXS:jt,colorText:It,lineWidth:zt,lineType:en,tableBorderColor:Kt,tableHeaderIconColor:vn,fontSizeSM:mn,tablePaddingHorizontal:wn,borderRadius:zn,motionDurationSlow:kn,colorTextDescription:$n,colorPrimary:Fn,tableHeaderFilterActiveBg:Vn,colorTextDisabled:Er,tableFilterDropdownBg:Ar,tableFilterDropdownHeight:mr,controlItemBgHover:Xr,controlItemBgActive:oo,boxShadowSecondary:sr,filterDropdownMenuBg:yr}=De,lr=`${rt}-dropdown`,Xn=`${Be}-filter-dropdown`,dr=`${rt}-tree`,Wr=`${zt}px ${en} ${Kt}`;return[{[`${Be}-wrapper`]:{[`${Be}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Be}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-_t,marginInline:`${_t}px ${-wn/2}px`,padding:`0 ${_t}px`,color:vn,fontSize:mn,borderRadius:zn,cursor:"pointer",transition:`all ${kn}`,"&:hover":{color:$n,background:Vn},"&.active":{color:Fn}}}},{[`${rt}-dropdown`]:{[Xn]:Object.assign(Object.assign({},(0,Fi.Wf)(De)),{minWidth:ht,backgroundColor:Ar,borderRadius:zn,boxShadow:sr,overflow:"hidden",[`${lr}-menu`]:{maxHeight:mr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:yr,"&:empty::after":{display:"block",padding:`${jt}px 0`,color:Er,fontSize:mn,textAlign:"center",content:'"Not Found"'}},[`${Xn}-tree`]:{paddingBlock:`${jt}px 0`,paddingInline:jt,[dr]:{padding:0},[`${dr}-treenode ${dr}-node-content-wrapper:hover`]:{backgroundColor:Xr},[`${dr}-treenode-checkbox-checked ${dr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:oo}}},[`${Xn}-search`]:{padding:jt,borderBottom:Wr,"&-input":{input:{minWidth:vt},[lt]:{color:Er}}},[`${Xn}-checkall`]:{width:"100%",marginBottom:_t,marginInlineStart:_t},[`${Xn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${jt-zt}px ${jt}px`,overflow:"hidden",borderTop:Wr}})}},{[`${rt}-dropdown ${Xn}, ${Xn}-submenu`]:{[`${rt}-checkbox-wrapper + span`]:{paddingInlineStart:jt,color:It},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},dl=De=>{const{componentCls:Be,lineWidth:rt,colorSplit:lt,motionDurationSlow:ht,zIndexTableFixed:vt,tableBg:_t,zIndexTableSticky:jt}=De,It=lt;return{[`${Be}-wrapper`]:{[`
${Be}-cell-fix-left,
${Be}-cell-fix-right
`]:{position:"sticky !important",zIndex:vt,background:_t},[`
${Be}-cell-fix-left-first::after,
${Be}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-rt,width:30,transform:"translateX(100%)",transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},[`${Be}-cell-fix-left-all::after`]:{display:"none"},[`
${Be}-cell-fix-right-first::after,
${Be}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-rt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},[`${Be}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:jt+1,width:30,transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Be}-ping-left`]:{[`&:not(${Be}-has-fix-left) ${Be}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${It}`}},[`
${Be}-cell-fix-left-first::after,
${Be}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${It}`},[`${Be}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Be}-ping-right`]:{[`&:not(${Be}-has-fix-right) ${Be}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${It}`}},[`
${Be}-cell-fix-right-first::after,
${Be}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${It}`}}}}},fl=De=>{const{componentCls:Be,antCls:rt}=De;return{[`${Be}-wrapper`]:{[`${Be}-pagination${rt}-pagination`]:{margin:`${De.margin}px 0`},[`${Be}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:De.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},gl=De=>{const{componentCls:Be,tableRadius:rt}=De;return{[`${Be}-wrapper`]:{[Be]:{[`${Be}-title, ${Be}-header`]:{borderRadius:`${rt}px ${rt}px 0 0`},[`${Be}-title + ${Be}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Be}-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:rt,borderStartEndRadius:rt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:rt},"> *:last-child":{borderStartEndRadius:rt}}},"&-footer":{borderRadius:`0 0 ${rt}px ${rt}px`}}}}},hl=De=>{const{componentCls:Be}=De;return{[`${Be}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Be}-pagination-left`]:{justifyContent:"flex-end"},[`${Be}-pagination-right`]:{justifyContent:"flex-start"},[`${Be}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Be}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Be}-row-indent`]:{float:"right"}}}}},pl=De=>{const{componentCls:Be,antCls:rt,iconCls:lt,fontSizeIcon:ht,padding:vt,paddingXS:_t,tableHeaderIconColor:jt,tableHeaderIconColorHover:It,tableSelectionColumnWidth:zt}=De;return{[`${Be}-wrapper`]:{[`${Be}-selection-col`]:{width:zt,[`&${Be}-selection-col-with-dropdown`]:{width:zt+ht+vt/4}},[`${Be}-bordered ${Be}-selection-col`]:{width:zt+_t*2,[`&${Be}-selection-col-with-dropdown`]:{width:zt+ht+vt/4+_t*2}},[`
table tr th${Be}-selection-column,
table tr td${Be}-selection-column
`]:{paddingInlineEnd:De.paddingXS,paddingInlineStart:De.paddingXS,textAlign:"center",[`${rt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Be}-selection-column${Be}-cell-fix-left`]:{zIndex:De.zIndexTableFixed+1},[`table tr th${Be}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Be}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Be}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${De.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${De.tablePaddingHorizontal/4}px`,[lt]:{color:jt,fontSize:ht,verticalAlign:"baseline","&:hover":{color:It}}}}}},ml=De=>{const{componentCls:Be}=De,rt=(lt,ht,vt,_t)=>({[`${Be}${Be}-${lt}`]:{fontSize:_t,[`
${Be}-title,
${Be}-footer,
${Be}-cell,
${Be}-thead > tr > th,
${Be}-tbody > tr > th,
${Be}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${ht}px ${vt}px`},[`${Be}-filter-trigger`]:{marginInlineEnd:`-${vt/2}px`},[`${Be}-expanded-row-fixed`]:{margin:`-${ht}px -${vt}px`},[`${Be}-tbody`]:{[`${Be}-wrapper:only-child ${Be}`]:{marginBlock:`-${ht}px`,marginInline:`${De.tableExpandColumnWidth-vt}px -${vt}px`}},[`${Be}-selection-column`]:{paddingInlineStart:`${vt/4}px`}}});return{[`${Be}-wrapper`]:Object.assign(Object.assign({},rt("middle",De.tablePaddingVerticalMiddle,De.tablePaddingHorizontalMiddle,De.tableFontSizeMiddle)),rt("small",De.tablePaddingVerticalSmall,De.tablePaddingHorizontalSmall,De.tableFontSizeSmall))}},vl=De=>{const{componentCls:Be,marginXXS:rt,fontSizeIcon:lt,tableHeaderIconColor:ht,tableHeaderIconColorHover:vt}=De;return{[`${Be}-wrapper`]:{[`${Be}-thead th${Be}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${De.motionDurationSlow}`,"&:hover":{background:De.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:De.colorPrimary},[`
&${Be}-cell-fix-left:hover,
&${Be}-cell-fix-right:hover
`]:{background:De.tableFixedHeaderSortActiveBg}},[`${Be}-thead th${Be}-column-sort`]:{background:De.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Be}-column-sort`]:{background:De.tableBodySortBg},[`${Be}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Be}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Be}-column-sorter`]:{marginInlineStart:rt,color:ht,fontSize:0,transition:`color ${De.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:lt,"&.active":{color:De.colorPrimary}},[`${Be}-column-sorter-up + ${Be}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Be}-column-sorters:hover ${Be}-column-sorter`]:{color:vt}}}},yl=De=>{const{componentCls:Be,opacityLoading:rt,tableScrollThumbBg:lt,tableScrollThumbBgHover:ht,tableScrollThumbSize:vt,tableScrollBg:_t,zIndexTableSticky:jt,stickyScrollBarBorderRadius:It}=De,zt=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`;return{[`${Be}-wrapper`]:{[`${Be}-sticky`]:{"&-holder":{position:"sticky",zIndex:jt,background:De.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${vt}px !important`,zIndex:jt,display:"flex",alignItems:"center",background:_t,borderTop:zt,opacity:rt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:vt,backgroundColor:lt,borderRadius:It,transition:`all ${De.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ht}}}}}}},vs=De=>{const{componentCls:Be,lineWidth:rt,tableBorderColor:lt}=De,ht=`${rt}px ${De.lineType} ${lt}`;return{[`${Be}-wrapper`]:{[`${Be}-summary`]:{position:"relative",zIndex:De.zIndexTableFixed,background:De.tableBg,"> tr":{"> th, > td":{borderBottom:ht}}},[`div${Be}-summary`]:{boxShadow:`0 -${rt}px 0 ${lt}`}}}},Sl=De=>{const{componentCls:Be}=De,rt=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`,lt=`${Be}-expanded-row-cell`;return{[`${Be}-wrapper`]:{[`${Be}-tbody-virtual`]:{[`${Be}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Be}-cell`]:{borderBottom:rt},[`${Be}-expanded-row`]:{[`${lt}${lt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${De.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Be}-bordered`]:{[`${Be}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:rt,position:"absolute"},[`${Be}-cell`]:{borderInlineEnd:rt,[`&${Be}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-De.lineWidth,borderInlineStart:rt}}}}}}};const bl=De=>{const{componentCls:Be,fontWeightStrong:rt,tablePaddingVertical:lt,tablePaddingHorizontal:ht,lineWidth:vt,lineType:_t,tableBorderColor:jt,tableFontSize:It,tableBg:zt,tableRadius:en,tableHeaderTextColor:Kt,motionDurationMid:vn,tableHeaderBg:mn,tableHeaderCellSplitColor:wn,tableRowHoverBg:zn,tableSelectedRowBg:kn,tableSelectedRowHoverBg:$n,tableFooterTextColor:Fn,tableFooterBg:Vn,paddingContentVerticalLG:Er}=De,Ar=`${vt}px ${_t} ${jt}`;return{[`${Be}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Fi.dF)()),{[Be]:Object.assign(Object.assign({},(0,Fi.Wf)(De)),{fontSize:It,background:zt,borderRadius:`${en}px ${en}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${en}px ${en}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Be}-cell,
${Be}-thead > tr > th,
${Be}-tbody > tr > th,
${Be}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Er}px ${ht}px`,overflowWrap:"break-word"},[`${Be}-title`]:{padding:`${lt}px ${ht}px`},[`${Be}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Kt,fontWeight:rt,textAlign:"start",background:mn,borderBottom:Ar,transition:`background ${vn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Be}-selection-column):not(${Be}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:wn,transform:"translateY(-50%)",transition:`background-color ${vn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Be}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${vn}, border-color ${vn}`,borderBottom:Ar,[`
> ${Be}-wrapper:only-child,
> ${Be}-expanded-row-fixed > ${Be}-wrapper:only-child
`]:{[Be]:{marginBlock:`-${lt}px`,marginInline:`${De.tableExpandColumnWidth-ht}px -${ht}px`,[`${Be}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Kt,fontWeight:rt,textAlign:"start",background:mn,borderBottom:Ar,transition:`background ${vn} ease`},[`
&${Be}-row:hover > th,
&${Be}-row:hover > td,
> th${Be}-cell-row-hover,
> td${Be}-cell-row-hover
`]:{background:zn},[`&${Be}-row-selected`]:{"> th, > td":{background:kn},"&:hover > th, &:hover > td":{background:$n}}}},[`${Be}-footer`]:{padding:`${lt}px ${ht}px`,color:Fn,background:Vn}})}};var Pl=(0,rl.Z)("Table",De=>{const{colorTextHeading:Be,colorSplit:rt,colorIcon:lt,colorIconHover:ht,opacityLoading:vt,colorBgContainer:_t,controlInteractiveSize:jt,headerBg:It,headerColor:zt,headerSortActiveBg:en,headerSortHoverBg:Kt,bodySortBg:vn,rowHoverBg:mn,rowSelectedBg:wn,rowSelectedHoverBg:zn,rowExpandedBg:kn,cellPaddingBlock:$n,cellPaddingInline:Fn,cellPaddingBlockMD:Vn,cellPaddingInlineMD:Er,cellPaddingBlockSM:Ar,cellPaddingInlineSM:mr,borderColor:Xr,footerBg:oo,footerColor:sr,headerBorderRadius:yr,cellFontSize:lr,cellFontSizeMD:Xn,cellFontSizeSM:dr,headerSplitColor:Wr,fixedHeaderSortActiveBg:po,headerFilterHoverBg:ro,filterDropdownBg:Rr,expandIconBg:vo,selectionColumnWidth:bo,stickyScrollBarBg:zo}=De,Oo=new Oi.C(lt),aa=new Oi.C(ht),ia=2,ao=(0,ol.TS)(De,{tableFontSize:lr,tableBg:_t,tableRadius:yr,tablePaddingVertical:$n,tablePaddingHorizontal:Fn,tablePaddingVerticalMiddle:Vn,tablePaddingHorizontalMiddle:Er,tablePaddingVerticalSmall:Ar,tablePaddingHorizontalSmall:mr,tableBorderColor:Xr,tableHeaderTextColor:zt,tableHeaderBg:It,tableFooterTextColor:sr,tableFooterBg:oo,tableHeaderCellSplitColor:Wr,tableHeaderSortBg:en,tableHeaderSortHoverBg:Kt,tableHeaderIconColor:Oo.clone().setAlpha(Oo.getAlpha()*vt).toRgbString(),tableHeaderIconColorHover:aa.clone().setAlpha(aa.getAlpha()*vt).toRgbString(),tableBodySortBg:vn,tableFixedHeaderSortActiveBg:po,tableHeaderFilterActiveBg:ro,tableFilterDropdownBg:Rr,tableRowHoverBg:mn,tableSelectedRowBg:wn,tableSelectedRowHoverBg:zn,zIndexTableFixed:ia,zIndexTableSticky:ia+1,tableFontSizeMiddle:Xn,tableFontSizeSmall:dr,tableSelectionColumnWidth:bo,tableExpandIconBg:vo,tableExpandColumnWidth:jt+2*De.padding,tableExpandedRowBg:kn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:zo,tableScrollThumbBgHover:Be,tableScrollBg:rt});return[bl(ao),fl(ao),vs(ao),vl(ao),ul(ao),al(ao),gl(ao),cl(ao),vs(ao),sl(ao),pl(ao),dl(ao),yl(ao),il(ao),ml(ao),hl(ao),Sl(ao)]},De=>{const{colorFillAlter:Be,colorBgContainer:rt,colorTextHeading:lt,colorFillSecondary:ht,colorFillContent:vt,controlItemBgActive:_t,controlItemBgActiveHover:jt,padding:It,paddingSM:zt,paddingXS:en,colorBorderSecondary:Kt,borderRadiusLG:vn,fontSize:mn,controlHeight:wn,colorTextPlaceholder:zn}=De,kn=new Oi.C(ht).onBackground(rt).toHexShortString(),$n=new Oi.C(vt).onBackground(rt).toHexShortString(),Fn=new Oi.C(Be).onBackground(rt).toHexShortString();return{headerBg:Fn,headerColor:lt,headerSortActiveBg:kn,headerSortHoverBg:$n,bodySortBg:Fn,rowHoverBg:Fn,rowSelectedBg:_t,rowSelectedHoverBg:jt,rowExpandedBg:Be,cellPaddingBlock:It,cellPaddingInline:It,cellPaddingBlockMD:zt,cellPaddingInlineMD:en,cellPaddingBlockSM:en,cellPaddingInlineSM:en,borderColor:Kt,headerBorderRadius:vn,footerBg:Fn,footerColor:lt,cellFontSize:mn,cellFontSizeMD:mn,cellFontSizeSM:mn,headerSplitColor:Kt,fixedHeaderSortActiveBg:kn,headerFilterHoverBg:vt,filterDropdownMenuBg:rt,filterDropdownBg:rt,expandIconBg:rt,selectionColumnWidth:wn,stickyScrollBarBg:zn,stickyScrollBarBorderRadius:100}});const wl=[],Cl=(De,Be)=>{const{prefixCls:rt,className:lt,rootClassName:ht,style:vt,size:_t,bordered:jt,dropdownPrefixCls:It,dataSource:zt,pagination:en,rowSelection:Kt,rowKey:vn="key",rowClassName:mn,columns:wn,children:zn,childrenColumnName:kn,onChange:$n,getPopupContainer:Fn,loading:Vn,expandIcon:Er,expandable:Ar,expandedRowRender:mr,expandIconColumnIndex:Xr,indentSize:oo,scroll:sr,sortDirections:yr,locale:lr,showSorterTooltip:Xn=!0,virtual:dr}=De,Wr=re.useMemo(()=>wn||gn(zn),[wn,zn]),po=re.useMemo(()=>Wr.some(To=>To.responsive),[Wr]),ro=(0,ha.Z)(po),Rr=re.useMemo(()=>{const To=new Set(Object.keys(ro).filter($o=>ro[$o]));return Wr.filter($o=>!$o.responsive||$o.responsive.some(Ca=>To.has(Ca)))},[Wr,ro]),vo=(0,ca.Z)(De,["className","style","columns"]),{locale:bo=Xo.Z,direction:zo,table:Oo,renderEmpty:aa,getPrefixCls:ia,getPopupContainer:ao}=re.useContext(ua.E_),da=(0,Go.Z)(_t),Ao=Object.assign(Object.assign({},bo.Table),lr),Yo=zt||wl,Zo=ia("table",rt),ja=ia("dropdown",It),Hr=Object.assign({childrenColumnName:kn,expandIconColumnIndex:Xr},Ar),{childrenColumnName:Dr="children"}=Hr,Mr=re.useMemo(()=>Yo.some(To=>To==null?void 0:To[Dr])?"nest":mr||Ar&&Ar.expandedRowRender?"row":null,[Yo]),Lr={body:re.useRef()},Ro=re.useMemo(()=>typeof vn=="function"?vn:To=>To==null?void 0:To[vn],[vn]),[Or]=Fs(Yo,Dr,Ro),eo={},_o=function(To,$o){let Ca=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var na,La,ka;const Fa=Object.assign(Object.assign({},eo),To);Ca&&((na=eo.resetPagination)===null||na===void 0||na.call(eo),!((La=Fa.pagination)===null||La===void 0)&&La.current&&(Fa.pagination.current=1),en&&en.onChange&&en.onChange(1,(ka=Fa.pagination)===null||ka===void 0?void 0:ka.pageSize)),sr&&sr.scrollToFirstRowOnChange!==!1&&Lr.body.current&&(0,la.Z)(0,{getContainer:()=>Lr.body.current}),$n==null||$n(Fa.pagination,Fa.filters,Fa.sorter,{currentDataSource:Ti(Qi(Yo,Fa.sorterStates,Dr),Fa.filterStates),action:$o})},Eo=(To,$o)=>{_o({sorter:To,sorterStates:$o},"sort",!1)},[_a,wa,Za,fa]=Qs({prefixCls:Zo,mergedColumns:Rr,onSorterChange:Eo,sortDirections:yr||["ascend","descend"],tableLocale:Ao,showSorterTooltip:Xn}),Ga=re.useMemo(()=>Qi(Yo,wa,Dr),[Yo,wa]);eo.sorter=fa(),eo.sorterStates=wa;const ga=(To,$o)=>{_o({filters:To,filterStates:$o},"filter",!0)},[Na,bi,ko]=ks({prefixCls:Zo,locale:Ao,dropdownPrefixCls:ja,mergedColumns:Rr,onFilterChange:ga,getPopupContainer:Fn||ao}),Fo=Ti(Ga,bi);eo.filters=ko,eo.filterStates=bi;const ea=re.useMemo(()=>{const To={};return Object.keys(ko).forEach($o=>{ko[$o]!==null&&(To[$o]=ko[$o])}),Object.assign(Object.assign({},Za),{filters:To})},[Za,ko]),[ma]=el(ea),va=(To,$o)=>{_o({pagination:Object.assign(Object.assign({},eo.pagination),{current:To,pageSize:$o})},"paginate")},[Po,Ra]=Gs(Fo.length,va,en);eo.pagination=en===!1?{}:Hs(Po,en),eo.resetPagination=Ra;const Ta=re.useMemo(()=>{if(en===!1||!Po.pageSize)return Fo;const{current:To=1,total:$o,pageSize:Ca=ls}=Po;return Fo.length<$o?Fo.length>Ca?Fo.slice((To-1)*Ca,To*Ca):Fo:Fo.slice((To-1)*Ca,To*Ca)},[!!en,Fo,Po&&Po.current,Po&&Po.pageSize,Po&&Po.total]),[Ua,qa]=Zs({prefixCls:Zo,data:Fo,pageData:Ta,getRowKey:Ro,getRecordByKey:Or,expandType:Mr,childrenColumnName:Dr,locale:Ao,getPopupContainer:Fn||ao},Kt),Va=(To,$o,Ca)=>{let na;return typeof mn=="function"?na=Ee()(mn(To,$o,Ca)):na=Ee()(mn),Ee()({[`${Zo}-row-selected`]:qa.has(Ro(To,$o))},na)};Hr.__PARENT_RENDER_ICON__=Hr.expandIcon,Hr.expandIcon=Hr.expandIcon||Er||Ko(Ao),Mr==="nest"&&Hr.expandIconColumnIndex===void 0?Hr.expandIconColumnIndex=Kt?1:0:Hr.expandIconColumnIndex>0&&Kt&&(Hr.expandIconColumnIndex-=1),typeof Hr.indentSize!="number"&&(Hr.indentSize=typeof oo=="number"?oo:15);const Ai=re.useCallback(To=>ma(Ua(Na(_a(To)))),[_a,Na,Ua]);let si,$a;if(en!==!1&&(Po!=null&&Po.total)){let To;Po.size?To=Po.size:To=da==="small"||da==="middle"?"small":void 0;const $o=La=>re.createElement(pa.Z,Object.assign({},Po,{className:Ee()(`${Zo}-pagination ${Zo}-pagination-${La}`,Po.className),size:To})),Ca=zo==="rtl"?"left":"right",{position:na}=Po;if(na!==null&&Array.isArray(na)){const La=na.find(li=>li.includes("top")),ka=na.find(li=>li.includes("bottom")),Fa=na.every(li=>`${li}`=="none");!La&&!ka&&!Fa&&($a=$o(Ca)),La&&(si=$o(La.toLowerCase().replace("top",""))),ka&&($a=$o(ka.toLowerCase().replace("bottom","")))}else $a=$o(Ca)}let Da;typeof Vn=="boolean"?Da={spinning:Vn}:typeof Vn=="object"&&(Da=Object.assign({spinning:!0},Vn));const[Ma,ya]=Pl(Zo),[,ta]=(0,Oa.Z)(),ei=Ee()(`${Zo}-wrapper`,Oo==null?void 0:Oo.className,{[`${Zo}-wrapper-rtl`]:zo==="rtl"},lt,ht,ya),Pi=Object.assign(Object.assign({},Oo==null?void 0:Oo.style),vt),pi=lr&&lr.emptyText||(aa==null?void 0:aa("Table"))||re.createElement(Pa.Z,{componentName:"Table"}),ti=dr?nl:tl,Bi={},qi=re.useMemo(()=>{const{fontSize:To,lineHeight:$o,padding:Ca,paddingXS:na,paddingSM:La}=ta,ka=Math.floor(To*$o);switch(da){case"large":return Ca*2+ka;case"small":return na*2+ka;default:return La*2+ka}},[ta,da]);return dr&&(Bi.listItemHeight=qi),Ma(re.createElement("div",{ref:Be,className:ei,style:Pi},re.createElement(Ea.Z,Object.assign({spinning:!1},Da),si,re.createElement(ti,Object.assign({},Bi,vo,{columns:Rr,direction:zo,expandable:Hr,prefixCls:Zo,className:Ee()({[`${Zo}-middle`]:da==="middle",[`${Zo}-small`]:da==="small",[`${Zo}-bordered`]:jt,[`${Zo}-empty`]:Yo.length===0}),data:Ta,rowKey:Ro,rowClassName:Va,emptyText:pi,internalHooks:xe,internalRefs:Lr,transformColumns:Ai})),$a)))};var El=re.forwardRef(Cl);const xl=(De,Be)=>{const rt=re.useRef(0);return rt.current+=1,re.createElement(El,Object.assign({},De,{ref:Be,_renderTimes:rt.current}))},ii=re.forwardRef(xl);ii.SELECTION_COLUMN=hi,ii.EXPAND_COLUMN=be,ii.SELECTION_ALL=Zi,ii.SELECTION_INVERT=Vi,ii.SELECTION_NONE=Xi,ii.Column=So,ii.ColumnGroup=qo,ii.Summary=st;var _l=ii,Tl=_l},79753:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return kr}});var be=me(67294),xe=me.t(be,2),E=me(1413),he=me(87462),fe=me(71002),se=me(97685),re=me(45987),ie=me(73935),le=me(98924),ue=me(80334),ae=me(42550),oe=be.createContext(null),ne=oe,z=me(74902),a=me(8410),y=[];function x(cn,Qt){var un=be.useState(function(){if(!(0,le.Z)())return null;var An=document.createElement("div");return An}),yn=(0,se.Z)(un,1),In=yn[0],Qn=be.useRef(!1),Gn=be.useContext(ne),wr=be.useState(y),br=(0,se.Z)(wr,2),Kn=br[0],wt=br[1],Rt=Gn||(Qn.current?void 0:function(An){wt(function(Nn){var hr=[An].concat((0,z.Z)(Nn));return hr})});function xt(){In.parentElement||document.body.appendChild(In),Qn.current=!0}function sn(){var An;(An=In.parentElement)===null||An===void 0||An.removeChild(In),Qn.current=!1}return(0,a.Z)(function(){return cn?Gn?Gn(xt):xt():sn(),sn},[cn]),(0,a.Z)(function(){Kn.length&&(Kn.forEach(function(An){return An()}),wt(y))},[Kn]),[In,Rt]}var b=me(48981),ee=me(74204);function te(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ce="rc-util-locker-".concat(Date.now()),de=0;function ge(cn){var Qt=!!cn,un=be.useState(function(){return de+=1,"".concat(ce,"_").concat(de)}),yn=(0,se.Z)(un,1),In=yn[0];(0,a.Z)(function(){if(Qt){var Qn=(0,ee.o)(document.body).width,Gn=te();(0,b.hq)(`
html body {
overflow-y: hidden;
`.concat(Gn?"width: calc(100% - ".concat(Qn,"px);"):"",`
}`),In)}else(0,b.jL)(In);return function(){(0,b.jL)(In)}},[Qt,In])}var ve=!1;function pe(cn){return typeof cn=="boolean"&&(ve=cn),ve}var Se=function(Qt){return Qt===!1?!1:!(0,le.Z)()||!Qt?null:typeof Qt=="string"?document.querySelector(Qt):typeof Qt=="function"?Qt():Qt},ye=be.forwardRef(function(cn,Qt){var un=cn.open,yn=cn.autoLock,In=cn.getContainer,Qn=cn.debug,Gn=cn.autoDestroy,wr=Gn===void 0?!0:Gn,br=cn.children,Kn=be.useState(un),wt=(0,se.Z)(Kn,2),Rt=wt[0],xt=wt[1],sn=Rt||un;be.useEffect(function(){(wr||un)&&xt(un)},[un,wr]);var An=be.useState(function(){return Se(In)}),Nn=(0,se.Z)(An,2),hr=Nn[0],nr=Nn[1];be.useEffect(function(){var Jt=Se(In);nr(Jt!=null?Jt:null)});var fr=x(sn&&!hr,Qn),Fr=(0,se.Z)(fr,2),Jr=Fr[0],hn=Fr[1],Tr=hr!=null?hr:Jr;ge(yn&&un&&(0,le.Z)()&&(Tr===Jr||Tr===document.body));var Ot=null;if(br&&(0,ae.Yr)(br)&&Qt){var qt=br;Ot=qt.ref}var Xt=(0,ae.x1)(Ot,Qt);if(!sn||!(0,le.Z)()||hr===void 0)return null;var tn=Tr===!1||pe(),Tn=br;return Qt&&(Tn=be.cloneElement(br,{ref:Xt})),be.createElement(ne.Provider,{value:hn},tn?Tn:(0,ie.createPortal)(Tn,Tr))}),Pe=ye,we=Pe,Le=me(62709),Ee=me(94184),Te=me.n(Ee),Ce=me(21770),Ae=me(66680);function Ie(cn){var Qt=window.innerWidth||document.documentElement.clientWidth,un=window.innerHeight||document.documentElement.clientHeight,yn=cn.getBoundingClientRect(),In=yn.top,Qn=yn.right,Gn=yn.bottom,wr=yn.left;return In>=0&&wr>=0&&Qn<=Qt&&Gn<=un}function He(cn,Qt,un){var yn;return(yn=un!=null?un:Qt)!==null&&yn!==void 0?yn:cn===null?"center":"bottom"}function je(cn,Qt,un,yn){var In=(0,be.useState)(void 0),Qn=(0,se.Z)(In,2),Gn=Qn[0],wr=Qn[1];(0,a.Z)(function(){var Nn=typeof cn=="function"?cn():cn;wr(Nn||null)});var br=(0,be.useState)(null),Kn=(0,se.Z)(br,2),wt=Kn[0],Rt=Kn[1],xt=(0,Ae.Z)(function(){if(Gn){!Ie(Gn)&&Qt&&Gn.scrollIntoView(yn);var Nn=Gn.getBoundingClientRect(),hr=Nn.left,nr=Nn.top,fr=Nn.width,Fr=Nn.height,Jr={left:hr,top:nr,width:fr,height:Fr,radius:0};Rt(function(hn){return JSON.stringify(hn)!==JSON.stringify(Jr)?Jr:hn})}else Rt(null)}),sn=function(hr){var nr;return(nr=Array.isArray(un==null?void 0:un.offset)?un==null?void 0:un.offset[hr]:un==null?void 0:un.offset)!==null&&nr!==void 0?nr:6};(0,a.Z)(function(){return xt(),window.addEventListener("resize",xt),function(){window.removeEventListener("resize",xt)}},[Gn,Qt,xt]);var An=(0,be.useMemo)(function(){if(!wt)return wt;var Nn=sn(0),hr=sn(1),nr=(un==null?void 0:un.radius)||2;return{left:wt.left-Nn,top:wt.top-hr,width:wt.width+Nn*2,height:wt.height+hr*2,radius:nr}},[wt,un]);return[An,Gn]}function tt(){var cn=(0,E.Z)({},xe);return cn.useId}var Je=0;function Qe(){}function Xe(cn){var Qt=be.useState("ssr-id"),un=(0,se.Z)(Qt,2),yn=un[0],In=un[1],Qn=tt(),Gn=Qn==null?void 0:Qn();return be.useEffect(function(){if(!Qn){var wr=Je;Je+=1,In("rc_unique_".concat(wr))}},[]),cn||Gn||yn}var $e={fill:"transparent",pointerEvents:"auto"},ke=function(Qt){var un=Qt.prefixCls,yn=Qt.rootClassName,In=Qt.pos,Qn=Qt.showMask,Gn=Qt.style,wr=Gn===void 0?{}:Gn,br=Qt.fill,Kn=br===void 0?"rgba(0,0,0,0.5)":br,wt=Qt.open,Rt=Qt.animated,xt=Qt.zIndex,sn=Xe(),An="".concat(un,"-mask-").concat(sn),Nn=(0,fe.Z)(Rt)==="object"?Rt==null?void 0:Rt.placeholder:Rt;return be.createElement(we,{open:wt,autoLock:!0},be.createElement("div",{className:Te()("".concat(un,"-mask"),yn),style:(0,E.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:xt,pointerEvents:"none"},wr)},Qn?be.createElement("svg",{style:{width:"100%",height:"100%"}},be.createElement("defs",null,be.createElement("mask",{id:An},be.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),In&&be.createElement("rect",{x:In.left,y:In.top,rx:In.radius,width:In.width,height:In.height,fill:"black",className:Nn?"".concat(un,"-placeholder-animated"):""}))),be.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:Kn,mask:"url(#".concat(An,")")}),In&&be.createElement(be.Fragment,null,be.createElement("rect",(0,he.Z)({},$e,{x:"0",y:"0",width:"100%",height:In.top})),be.createElement("rect",(0,he.Z)({},$e,{x:"0",y:"0",width:In.left,height:"100%"})),be.createElement("rect",(0,he.Z)({},$e,{x:"0",y:In.top+In.height,width:"100%",height:"calc(100vh - ".concat(In.top+In.height,"px)")})),be.createElement("rect",(0,he.Z)({},$e,{x:In.left+In.width,y:"0",width:"calc(100vw - ".concat(In.left+In.width,"px)"),height:"100%"})))):null))},Ue=ke,qe={adjustX:1,adjustY:1},Ye=[0,0],ft={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 We(){var cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Qt={};return Object.keys(ft).forEach(function(un){Qt[un]=(0,E.Z)((0,E.Z)({},ft[un]),{},{autoArrow:cn,targetOffset:Ye})}),Qt}var Ke=We();function Re(cn){var Qt=cn.prefixCls,un=cn.current,yn=cn.total,In=cn.title,Qn=cn.description,Gn=cn.onClose,wr=cn.onPrev,br=cn.onNext,Kn=cn.onFinish,wt=cn.className,Rt=cn.closeIcon,xt=Rt!==!1&&Rt!==null,sn=Rt!==void 0&&Rt!==!0?Rt:be.createElement("span",{className:"".concat(Qt,"-close-x")},"\xD7");return be.createElement("div",{className:Te()("".concat(Qt,"-content"),wt)},be.createElement("div",{className:"".concat(Qt,"-inner")},xt&&be.createElement("button",{type:"button",onClick:Gn,"aria-label":"Close",className:"".concat(Qt,"-close")},sn),be.createElement("div",{className:"".concat(Qt,"-header")},be.createElement("div",{className:"".concat(Qt,"-title")},In)),be.createElement("div",{className:"".concat(Qt,"-description")},Qn),be.createElement("div",{className:"".concat(Qt,"-footer")},be.createElement("div",{className:"".concat(Qt,"-sliders")},yn>1?(0,z.Z)(Array.from({length:yn}).keys()).map(function(An,Nn){return be.createElement("span",{key:An,className:Nn===un?"active":""})}):null),be.createElement("div",{className:"".concat(Qt,"-buttons")},un!==0?be.createElement("button",{className:"".concat(Qt,"-prev-btn"),onClick:wr},"Prev"):null,un===yn-1?be.createElement("button",{className:"".concat(Qt,"-finish-btn"),onClick:Kn},"Finish"):be.createElement("button",{className:"".concat(Qt,"-next-btn"),onClick:br},"Next")))))}var et=function(Qt){var un=Qt.current,yn=Qt.renderPanel;return be.createElement(be.Fragment,null,typeof yn=="function"?yn(Qt,un):be.createElement(Re,Qt))},Me=et,Ge=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],Ve={left:"50%",top:"50%",width:1,height:1},Ze=function(Qt){var un=Qt.prefixCls,yn=un===void 0?"rc-tour":un,In=Qt.steps,Qn=In===void 0?[]:In,Gn=Qt.defaultCurrent,wr=Qt.current,br=Qt.onChange,Kn=Qt.onClose,wt=Qt.onFinish,Rt=Qt.open,xt=Qt.mask,sn=xt===void 0?!0:xt,An=Qt.arrow,Nn=An===void 0?!0:An,hr=Qt.rootClassName,nr=Qt.placement,fr=Qt.renderPanel,Fr=Qt.gap,Jr=Qt.animated,hn=Qt.scrollIntoViewOptions,Tr=hn===void 0?!0:hn,Ot=Qt.zIndex,qt=Ot===void 0?1001:Ot,Xt=Qt.closeIcon,tn=(0,re.Z)(Qt,Ge),Tn=be.useRef(),Jt=(0,Ce.Z)(0,{value:wr,defaultValue:Gn}),En=(0,se.Z)(Jt,2),rn=En[0],gr=En[1],qn=(0,Ce.Z)(void 0,{value:Rt,postState:function(Tt){return rn<0||rn>=Qn.length?!1:Tt!=null?Tt:!0}}),xr=(0,se.Z)(qn,2),Ir=xr[0],to=xr[1],an=be.useRef(Ir);(0,a.Z)(function(){Ir&&!an.current&&gr(0),an.current=Ir},[Ir]);var lo=Qn[rn]||{},Mo=lo.target,qr=lo.placement,xo=lo.style,Rn=lo.arrow,Zn=lo.className,Pr=lo.mask,jn=lo.scrollIntoViewOptions,no=lo.closeIcon,zr=Ir&&(Pr!=null?Pr:sn),jo=no!=null?no:Xt,No=jn!=null?jn:Tr,Do=je(Mo,Rt,Fr,No),Et=(0,se.Z)(Do,2),Pt=Et[0],Zt=Et[1],on=He(Zt,nr,qr),gn=Zt?typeof Rn=="undefined"?Nn:Rn:!1,Un=(0,fe.Z)(gn)==="object"?gn.pointAtCenter:!1;(0,a.Z)(function(){var er;(er=Tn.current)===null||er===void 0||er.forceAlign()},[Un,rn]);var cr=function(Tt){gr(Tt),br==null||br(Tt)};if(Zt===void 0)return null;var Cr=function(){to(!1),Kn==null||Kn(rn)},Br=function(){return be.createElement(Me,(0,he.Z)({arrow:gn,key:"content",prefixCls:yn,total:Qn.length,renderPanel:fr,onPrev:function(){cr(rn-1)},onNext:function(){cr(rn+1)},onClose:Cr,current:rn,onFinish:function(){Cr(),wt==null||wt()},closeIcon:jo},Qn[rn]))},Zr=typeof zr=="boolean"?zr:!!zr,Ur=typeof zr=="boolean"?void 0:zr,mo=function(Tt){return Tt||Zt||document.body};return be.createElement(be.Fragment,null,be.createElement(Ue,{zIndex:qt,prefixCls:yn,pos:Pt,showMask:Zr,style:Ur==null?void 0:Ur.style,fill:Ur==null?void 0:Ur.color,open:Ir,animated:Jr,rootClassName:hr}),be.createElement(Le.Z,(0,he.Z)({builtinPlacements:We(Un)},tn,{ref:Tn,popupStyle:xo,popupPlacement:on,popupVisible:Ir,popupClassName:Te()(hr,Zn),prefixCls:yn,popup:Br,forceRender:!1,destroyPopupOnHide:!0,zIndex:qt,getTriggerDOMNode:mo,arrow:!!gn}),be.createElement(we,{open:Ir,autoLock:!0},be.createElement("div",{className:Te()(hr,"".concat(yn,"-target-placeholder")),style:(0,E.Z)((0,E.Z)({},Pt||Ve),{},{position:"fixed",pointerEvents:"none"})}))))},Fe=Ze,Oe=Fe,_e=me(80636),Ne=me(53124),ze=me(46605),ot=me(73475),gt=me(71577),yt=me(10110),nt=me(24457),mt=me(69760);function At(cn){return cn!=null}var at=cn=>{let{stepProps:Qt,current:un,type:yn,indicatorsRender:In,closeIcon:Qn}=cn;var Gn,wr;const{prefixCls:br,total:Kn=1,title:wt,onClose:Rt,onPrev:xt,onNext:sn,onFinish:An,cover:Nn,description:hr,nextButtonProps:nr,prevButtonProps:fr,type:Fr,className:Jr,closeIcon:hn}=Qt,Tr=Fr!=null?Fr:yn,Ot=hn!=null?hn:Qn,qt=Ot!==!1&&Ot!==null,[Xt,tn]=(0,mt.Z)(qt,Ot,lo=>be.createElement("span",{onClick:Rt,"aria-label":"Close",className:`${br}-close`},lo),be.createElement(ot.Z,{className:`${br}-close-icon`}),!0),Tn=un===Kn-1,Jt=()=>{var lo;xt==null||xt(),(lo=fr==null?void 0:fr.onClick)===null||lo===void 0||lo.call(fr)},En=()=>{var lo;Tn?An==null||An():sn==null||sn(),(lo=nr==null?void 0:nr.onClick)===null||lo===void 0||lo.call(nr)},rn=At(wt)?be.createElement("div",{className:`${br}-header`},be.createElement("div",{className:`${br}-title`},wt)):null,gr=At(hr)?be.createElement("div",{className:`${br}-description`},hr):null,qn=At(Nn)?be.createElement("div",{className:`${br}-cover`},Nn):null;let xr;In?xr=In(un,Kn):xr=(0,z.Z)(Array.from({length:Kn}).keys()).map((lo,Mo)=>be.createElement("span",{key:lo,className:Te()(Mo===un&&`${br}-indicator-active`,`${br}-indicator`)}));const Ir=Tr==="primary"?"default":"primary",to={type:"default",ghost:Tr==="primary"},[an]=(0,yt.Z)("Tour",nt.Z.Tour);return be.createElement("div",{className:Te()(Jr,`${br}-content`)},be.createElement("div",{className:`${br}-inner`},Xt&&tn,qn,rn,gr,be.createElement("div",{className:`${br}-footer`},Kn>1&&be.createElement("div",{className:`${br}-indicators`},xr),be.createElement("div",{className:`${br}-buttons`},un!==0?be.createElement(gt.ZP,Object.assign({},to,fr,{onClick:Jt,size:"small",className:Te()(`${br}-prev-btn`,fr==null?void 0:fr.className)}),(Gn=fr==null?void 0:fr.children)!==null&&Gn!==void 0?Gn:an==null?void 0:an.Previous):null,be.createElement(gt.ZP,Object.assign({type:Ir},nr,{onClick:En,size:"small",className:Te()(`${br}-next-btn`,nr==null?void 0:nr.className)}),(wr=nr==null?void 0:nr.children)!==null&&wr!==void 0?wr:Tn?an==null?void 0:an.Finish:an==null?void 0:an.Next)))))},Mt=me(66330),st=me(84780),pt=me(14747),bt=me(97414),Lt=me(67968),Dt=me(45503);const Yt=cn=>{const{componentCls:Qt,lineHeight:un,padding:yn,paddingXS:In,borderRadius:Qn,borderRadiusXS:Gn,colorPrimary:wr,colorText:br,colorFill:Kn,indicatorHeight:wt,indicatorWidth:Rt,boxShadowTertiary:xt,tourZIndexPopup:sn,fontSize:An,colorBgElevated:Nn,fontWeightStrong:hr,marginXS:nr,colorTextLightSolid:fr,tourBorderRadius:Fr,colorWhite:Jr,colorBgTextHover:hn,tourCloseSize:Tr,motionDurationSlow:Ot,antCls:qt}=cn;return[{[Qt]:Object.assign(Object.assign({},(0,pt.Wf)(cn)),{color:br,position:"absolute",zIndex:sn,display:"block",visibility:"visible",fontSize:An,lineHeight:un,width:520,"--antd-arrow-background-color":Nn,"&-pure":{maxWidth:"100%",position:"relative"},[`&${Qt}-hidden`]:{display:"none"},[`${Qt}-content`]:{position:"relative"},[`${Qt}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:Fr,boxShadow:xt,position:"relative",backgroundColor:Nn,border:"none",backgroundClip:"padding-box",[`${Qt}-close`]:{position:"absolute",top:yn,insetInlineEnd:yn,color:cn.colorIcon,outline:"none",width:Tr,height:Tr,borderRadius:cn.borderRadiusSM,transition:`background-color ${cn.motionDurationMid}, color ${cn.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:cn.colorIconHover,backgroundColor:cn.wireframe?"transparent":cn.colorFillContent}},[`${Qt}-cover`]:{textAlign:"center",padding:`${yn+Tr+In}px ${yn}px 0`,img:{width:"100%"}},[`${Qt}-header`]:{padding:`${yn}px ${yn}px ${In}px`,[`${Qt}-title`]:{lineHeight:un,fontSize:An,fontWeight:hr}},[`${Qt}-description`]:{padding:`0 ${yn}px`,lineHeight:un,wordWrap:"break-word"},[`${Qt}-footer`]:{padding:`${In}px ${yn}px ${yn}px`,textAlign:"end",borderRadius:`0 0 ${Gn}px ${Gn}px`,display:"flex",[`${Qt}-indicators`]:{display:"inline-block",[`${Qt}-indicator`]:{width:Rt,height:wt,display:"inline-block",borderRadius:"50%",background:Kn,"&:not(:last-child)":{marginInlineEnd:wt},"&-active":{background:wr}}},[`${Qt}-buttons`]:{marginInlineStart:"auto",[`${qt}-btn`]:{marginInlineStart:nr}}}},[`${Qt}-primary, &${Qt}-primary`]:{"--antd-arrow-background-color":wr,[`${Qt}-inner`]:{color:fr,textAlign:"start",textDecoration:"none",backgroundColor:wr,borderRadius:Qn,boxShadow:xt,[`${Qt}-close`]:{color:fr},[`${Qt}-indicators`]:{[`${Qt}-indicator`]:{background:new st.C(fr).setAlpha(.15).toRgbString(),"&-active":{background:fr}}},[`${Qt}-prev-btn`]:{color:fr,borderColor:new st.C(fr).setAlpha(.15).toRgbString(),backgroundColor:wr,"&:hover":{backgroundColor:new st.C(fr).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${Qt}-next-btn`]:{color:wr,borderColor:"transparent",background:Jr,"&:hover":{background:new st.C(hn).onBackground(Jr).toRgbString()}}}}}),[`${Qt}-mask`]:{[`${Qt}-placeholder-animated`]:{transition:`all ${Ot}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${Qt}-inner`]:{borderRadius:Math.min(Fr,bt.qN)}}},(0,bt.ZP)(cn,{colorBg:"var(--antd-arrow-background-color)",contentRadius:Fr,limitVerticalRadius:!0})]};var _n=(0,Lt.Z)("Tour",cn=>{const{borderRadiusLG:Qt,fontSize:un,lineHeight:yn}=cn,In=(0,Dt.TS)(cn,{tourZIndexPopup:cn.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:Qt,tourCloseSize:un*yn});return[Yt(In)]}),Cn=me(8745),On=function(cn,Qt){var un={};for(var yn in cn)Object.prototype.hasOwnProperty.call(cn,yn)&&Qt.indexOf(yn)<0&&(un[yn]=cn[yn]);if(cn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,yn=Object.getOwnPropertySymbols(cn);In<yn.length;In++)Qt.indexOf(yn[In])<0&&Object.prototype.propertyIsEnumerable.call(cn,yn[In])&&(un[yn[In]]=cn[yn[In]]);return un};const Jn=cn=>{const{prefixCls:Qt,current:un=0,total:yn=6,className:In,style:Qn,type:Gn}=cn,wr=On(cn,["prefixCls","current","total","className","style","type"]),{getPrefixCls:br}=be.useContext(Ne.E_),Kn=br("tour",Qt),[wt,Rt]=_n(Kn);return wt(be.createElement(Mt.t5,{prefixCls:Kn,hashId:Rt,className:Te()(In,`${Kn}-pure`,Gn&&`${Kn}-${Gn}`),style:Qn},be.createElement(at,{stepProps:Object.assign(Object.assign({},wr),{prefixCls:Kn,total:yn}),current:un,type:Gn})))};var dn=(0,Cn.i)(Jn),tr=me(5663),Qr=cn=>{let{defaultType:Qt,steps:un=[],current:yn,defaultCurrent:In}=cn;var Qn;const[Gn,wr]=(0,tr.Z)(In,{value:yn});(0,be.useLayoutEffect)(()=>{yn!==void 0&&wr(yn)},[yn]);const br=typeof Gn=="number"?(Qn=un[Gn])===null||Qn===void 0?void 0:Qn.type:Qt;return{currentMergedType:br!=null?br:Qt,updateInnerCurrent:wr}},io=function(cn,Qt){var un={};for(var yn in cn)Object.prototype.hasOwnProperty.call(cn,yn)&&Qt.indexOf(yn)<0&&(un[yn]=cn[yn]);if(cn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,yn=Object.getOwnPropertySymbols(cn);In<yn.length;In++)Qt.indexOf(yn[In])<0&&Object.prototype.propertyIsEnumerable.call(cn,yn[In])&&(un[yn[In]]=cn[yn[In]]);return un};const Kr=cn=>{const{prefixCls:Qt,current:un,defaultCurrent:yn,type:In,rootClassName:Qn,indicatorsRender:Gn,steps:wr}=cn,br=io(cn,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:Kn,direction:wt}=(0,be.useContext)(Ne.E_),Rt=Kn("tour",Qt),[xt,sn]=_n(Rt),[,An]=(0,ze.Z)(),{currentMergedType:Nn,updateInnerCurrent:hr}=Qr({defaultType:In,steps:wr,current:un,defaultCurrent:yn}),nr=(0,_e.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:An.marginXXS,arrowWidth:An.sizePopupArrow,borderRadius:An.borderRadius}),fr=Te()({[`${Rt}-primary`]:Nn==="primary",[`${Rt}-rtl`]:wt==="rtl"},sn,Qn),Fr=(hn,Tr)=>be.createElement(at,{type:In,stepProps:hn,current:Tr,indicatorsRender:Gn}),Jr=hn=>{var Tr;hr(hn),(Tr=cn.onChange)===null||Tr===void 0||Tr.call(cn,hn)};return xt(be.createElement(Oe,Object.assign({},br,{rootClassName:fr,prefixCls:Rt,current:un,defaultCurrent:yn,animated:!0,renderPanel:Fr,builtinPlacements:nr,onChange:Jr,steps:wr})))};Kr._InternalPanelDoNotUseOrYouWillBeFired=dn;var kr=Kr},79870:function(Ct,dt,me){"use strict";me.d(dt,{default:function(){return er}});var be=me(87462),xe=me(4942),E=me(71002),he=me(1413),fe=me(74902),se=me(15671),re=me(43144),ie=me(97326),le=me(60136),ue=me(51630),ae=me(94184),oe=me.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(Ft){var Wt=Ft.keyCode;if(Ft.altKey&&!Ft.ctrlKey||Ft.metaKey||Wt>=ne.F1&&Wt<=ne.F12)return!1;switch(Wt){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(Ft){if(Ft>=ne.ZERO&&Ft<=ne.NINE||Ft>=ne.NUM_ZERO&&Ft<=ne.NUM_MULTIPLY||Ft>=ne.A&&Ft<=ne.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ft===0)return!0;switch(Ft){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}}},z=ne,a=me(34952),y=me(72978),x=me(67294),b=me(69610);function ee(Tt){var Ft=Tt.dropPosition,Wt=Tt.dropLevelOffset,ut=Tt.indent,Vt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ft){case-1:Vt.top=0,Vt.left=-Wt*ut;break;case 1:Vt.bottom=0,Vt.left=-Wt*ut;break;case 0:Vt.bottom=0,Vt.left=ut;break}return x.createElement("div",{style:Vt})}var te=me(36459),ce=me(97685),de=me(45987);function ge(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ve=ge()?x.useLayoutEffect:x.useEffect,pe=ve,Se=function(Ft,Wt){var ut=React.useRef(!0);ve(function(){if(!ut.current)return Ft()},Wt),ve(function(){return ut.current=!1,function(){ut.current=!0}},[])},ye=me(73299),Pe=me(73935);function we(Tt){return Tt instanceof HTMLElement||Tt instanceof SVGElement}function Le(Tt){return we(Tt)?Tt:Tt instanceof x.Component?Pe.findDOMNode(Tt):null}var Ee=me(28580);function Te(Tt,Ft,Wt){var ut=React.useRef({});return(!("value"in ut.current)||Wt(ut.current.condition,Ft))&&(ut.current.value=Tt(),ut.current.condition=Ft),ut.current.value}function Ce(Tt,Ft){typeof Tt=="function"?Tt(Ft):(0,E.Z)(Tt)==="object"&&Tt&&"current"in Tt&&(Tt.current=Ft)}function Ae(){for(var Tt=arguments.length,Ft=new Array(Tt),Wt=0;Wt<Tt;Wt++)Ft[Wt]=arguments[Wt];var ut=Ft.filter(function(Vt){return Vt});return ut.length<=1?ut[0]:function(Vt){Ft.forEach(function(fn){Ce(fn,Vt)})}}function Ie(){for(var Tt=arguments.length,Ft=new Array(Tt),Wt=0;Wt<Tt;Wt++)Ft[Wt]=arguments[Wt];return useMemo(function(){return Ae.apply(void 0,Ft)},Ft,function(ut,Vt){return ut.length===Vt.length&&ut.every(function(fn,Sn){return fn===Vt[Sn]})})}function He(Tt){var Ft,Wt,ut=(0,Ee.isMemo)(Tt)?Tt.type.type:Tt.type;return!(typeof ut=="function"&&!((Ft=ut.prototype)!==null&&Ft!==void 0&&Ft.render)||typeof Tt=="function"&&!((Wt=Tt.prototype)!==null&&Wt!==void 0&&Wt.render))}function je(Tt,Ft){var Wt={};return Wt[Tt.toLowerCase()]=Ft.toLowerCase(),Wt["Webkit".concat(Tt)]="webkit".concat(Ft),Wt["Moz".concat(Tt)]="moz".concat(Ft),Wt["ms".concat(Tt)]="MS".concat(Ft),Wt["O".concat(Tt)]="o".concat(Ft.toLowerCase()),Wt}function tt(Tt,Ft){var Wt={animationend:je("Animation","AnimationEnd"),transitionend:je("Transition","TransitionEnd")};return Tt&&("AnimationEvent"in Ft||delete Wt.animationend.animation,"TransitionEvent"in Ft||delete Wt.transitionend.transition),Wt}var Je=tt(ge(),typeof window!="undefined"?window:{}),Qe={};if(ge()){var Xe=document.createElement("div");Qe=Xe.style}var $e={};function ke(Tt){if($e[Tt])return $e[Tt];var Ft=Je[Tt];if(Ft)for(var Wt=Object.keys(Ft),ut=Wt.length,Vt=0;Vt<ut;Vt+=1){var fn=Wt[Vt];if(Object.prototype.hasOwnProperty.call(Ft,fn)&&fn in Qe)return $e[Tt]=Ft[fn],$e[Tt]}return""}var Ue=ke("animationend"),qe=ke("transitionend"),Ye=!!(Ue&&qe),ft=Ue||"animationend",We=qe||"transitionend";function Ke(Tt,Ft){if(!Tt)return null;if((0,E.Z)(Tt)==="object"){var Wt=Ft.replace(/-\w/g,function(ut){return ut[1].toUpperCase()});return Tt[Wt]}return"".concat(Tt,"-").concat(Ft)}var Re="none",et="appear",Me="enter",Ge="leave",Ve="none",Ze="prepare",Fe="start",Oe="active",_e="end";function Ne(Tt){var Ft=x.useRef(!1),Wt=x.useState(Tt),ut=(0,ce.Z)(Wt,2),Vt=ut[0],fn=ut[1];x.useEffect(function(){return Ft.current=!1,function(){Ft.current=!0}},[]);function Sn(Bt,Gt){Gt&&Ft.current||fn(Bt)}return[Vt,Sn]}var ze=function(Ft){return+setTimeout(Ft,16)},ot=function(Ft){return clearTimeout(Ft)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ze=function(Ft){return window.requestAnimationFrame(Ft)},ot=function(Ft){return window.cancelAnimationFrame(Ft)});var gt=0,yt=new Map;function nt(Tt){yt.delete(Tt)}var mt=function(Ft){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;gt+=1;var ut=gt;function Vt(fn){if(fn===0)nt(ut),Ft();else{var Sn=ze(function(){Vt(fn-1)});yt.set(ut,Sn)}}return Vt(Wt),ut};mt.cancel=function(Tt){var Ft=yt.get(Tt);return nt(Ft),ot(Ft)};var At=mt,kt=function(){var Tt=x.useRef(null);function Ft(){At.cancel(Tt.current)}function Wt(ut){var Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ft();var fn=At(function(){Vt<=1?ut({isCanceled:function(){return fn!==Tt.current}}):Wt(ut,Vt-1)});Tt.current=fn}return x.useEffect(function(){return function(){Ft()}},[]),[Wt,Ft]},at=ge()?x.useLayoutEffect:x.useEffect,Mt=at,st=[Ze,Fe,Oe,_e],pt=!1,bt=!0;function Lt(Tt){return Tt===Oe||Tt===_e}var Dt=function(Tt,Ft){var Wt=Ne(Ve),ut=(0,ce.Z)(Wt,2),Vt=ut[0],fn=ut[1],Sn=kt(),Bt=(0,ce.Z)(Sn,2),Gt=Bt[0],Ht=Bt[1];function Ln(){fn(Ze,!0)}return Mt(function(){if(Vt!==Ve&&Vt!==_e){var Bn=st.indexOf(Vt),Yn=st[Bn+1],Wn=Ft(Vt);Wn===pt?fn(Yn,!0):Gt(function(rr){function ur(){rr.isCanceled()||fn(Yn,!0)}Wn===!0?ur():Promise.resolve(Wn).then(ur)})}},[Tt,Vt]),x.useEffect(function(){return function(){Ht()}},[]),[Ln,Vt]},Yt=function(Tt){var Ft=(0,x.useRef)(),Wt=(0,x.useRef)(Tt);Wt.current=Tt;var ut=x.useCallback(function(Sn){Wt.current(Sn)},[]);function Vt(Sn){Sn&&(Sn.removeEventListener(We,ut),Sn.removeEventListener(ft,ut))}function fn(Sn){Ft.current&&Ft.current!==Sn&&Vt(Ft.current),Sn&&Sn!==Ft.current&&(Sn.addEventListener(We,ut),Sn.addEventListener(ft,ut),Ft.current=Sn)}return x.useEffect(function(){return function(){Vt(Ft.current)}},[]),[fn,Vt]};function _n(Tt,Ft,Wt,ut){var Vt=ut.motionEnter,fn=Vt===void 0?!0:Vt,Sn=ut.motionAppear,Bt=Sn===void 0?!0:Sn,Gt=ut.motionLeave,Ht=Gt===void 0?!0:Gt,Ln=ut.motionDeadline,Bn=ut.motionLeaveImmediately,Yn=ut.onAppearPrepare,Wn=ut.onEnterPrepare,rr=ut.onLeavePrepare,ur=ut.onAppearStart,bn=ut.onEnterStart,$t=ut.onLeaveStart,ln=ut.onAppearActive,Pn=ut.onEnterActive,Hn=ut.onLeaveActive,ir=ut.onAppearEnd,vr=ut.onEnterEnd,jr=ut.onLeaveEnd,pr=ut.onVisibleChanged,ct=Ne(),it=(0,ce.Z)(ct,2),St=it[0],Nt=it[1],Ut=Ne(Re),nn=(0,ce.Z)(Ut,2),pn=nn[0],xn=nn[1],Mn=Ne(null),Dn=(0,ce.Z)(Mn,2),or=Dn[0],ar=Dn[1],Gr=(0,x.useRef)(!1),Vr=(0,x.useRef)(null);function Nr(){return Wt()}var Yr=(0,x.useRef)(!1);function so(yo){var uo=Nr();if(!(yo&&!yo.deadline&&yo.target!==uo)){var Lo=Yr.current,sa;pn===et&&Lo?sa=ir==null?void 0:ir(uo,yo):pn===Me&&Lo?sa=vr==null?void 0:vr(uo,yo):pn===Ge&&Lo&&(sa=jr==null?void 0:jr(uo,yo)),pn!==Re&&Lo&&sa!==!1&&(xn(Re,!0),ar(null,!0))}}var co=Yt(so),_r=(0,ce.Z)(co,1),fo=_r[0],$r=x.useMemo(function(){var yo,uo,Lo;switch(pn){case et:return yo={},(0,xe.Z)(yo,Ze,Yn),(0,xe.Z)(yo,Fe,ur),(0,xe.Z)(yo,Oe,ln),yo;case Me:return uo={},(0,xe.Z)(uo,Ze,Wn),(0,xe.Z)(uo,Fe,bn),(0,xe.Z)(uo,Oe,Pn),uo;case Ge:return Lo={},(0,xe.Z)(Lo,Ze,rr),(0,xe.Z)(Lo,Fe,$t),(0,xe.Z)(Lo,Oe,Hn),Lo;default:return{}}},[pn]),wo=Dt(pn,function(yo){if(yo===Ze){var uo=$r[Ze];return uo?uo(Nr()):pt}if(Co in $r){var Lo;ar(((Lo=$r[Co])===null||Lo===void 0?void 0:Lo.call($r,Nr(),null))||null)}return Co===Oe&&(fo(Nr()),Ln>0&&(clearTimeout(Vr.current),Vr.current=setTimeout(function(){so({deadline:!0})},Ln))),bt}),Io=(0,ce.Z)(wo,2),Qo=Io[0],Co=Io[1],Vo=Lt(Co);Yr.current=Vo,Mt(function(){Nt(Ft);var yo=Gr.current;if(Gr.current=!0,!!Tt){var uo;!yo&&Ft&&Bt&&(uo=et),yo&&Ft&&fn&&(uo=Me),(yo&&!Ft&&Ht||!yo&&Bn&&!Ft&&Ht)&&(uo=Ge),uo&&(xn(uo),Qo())}},[Ft]),(0,x.useEffect)(function(){(pn===et&&!Bt||pn===Me&&!fn||pn===Ge&&!Ht)&&xn(Re)},[Bt,fn,Ht]),(0,x.useEffect)(function(){return function(){Gr.current=!1,clearTimeout(Vr.current)}},[]);var Uo=x.useRef(!1);(0,x.useEffect)(function(){St&&(Uo.current=!0),St!==void 0&&pn===Re&&((Uo.current||St)&&(pr==null||pr(St)),Uo.current=!0)},[St,pn]);var ra=or;return $r[Ze]&&Co===Fe&&(ra=(0,he.Z)({transition:"none"},ra)),[pn,Co,ra,St!=null?St:Ft]}var Cn=function(Tt){(0,le.Z)(Wt,Tt);var Ft=(0,ue.Z)(Wt);function Wt(){return(0,se.Z)(this,Wt),Ft.apply(this,arguments)}return(0,re.Z)(Wt,[{key:"render",value:function(){return this.props.children}}]),Wt}(x.Component),On=Cn;function Jn(Tt){var Ft=Tt;(0,E.Z)(Tt)==="object"&&(Ft=Tt.transitionSupport);function Wt(Vt){return!!(Vt.motionName&&Ft)}var ut=x.forwardRef(function(Vt,fn){var Sn=Vt.visible,Bt=Sn===void 0?!0:Sn,Gt=Vt.removeOnLeave,Ht=Gt===void 0?!0:Gt,Ln=Vt.forceRender,Bn=Vt.children,Yn=Vt.motionName,Wn=Vt.leavedClassName,rr=Vt.eventProps,ur=Wt(Vt),bn=(0,x.useRef)(),$t=(0,x.useRef)();function ln(){try{return bn.current instanceof HTMLElement?bn.current:Le($t.current)}catch(Mn){return null}}var Pn=_n(ur,Bt,ln,Vt),Hn=(0,ce.Z)(Pn,4),ir=Hn[0],vr=Hn[1],jr=Hn[2],pr=Hn[3],ct=x.useRef(pr);pr&&(ct.current=!0);var it=x.useCallback(function(Mn){bn.current=Mn,Ce(fn,Mn)},[fn]),St,Nt=(0,he.Z)((0,he.Z)({},rr),{},{visible:Bt});if(!Bn)St=null;else if(ir===Re||!Wt(Vt))pr?St=Bn((0,he.Z)({},Nt),it):!Ht&&ct.current&&Wn?St=Bn((0,he.Z)((0,he.Z)({},Nt),{},{className:Wn}),it):Ln||!Ht&&!Wn?St=Bn((0,he.Z)((0,he.Z)({},Nt),{},{style:{display:"none"}}),it):St=null;else{var Ut,nn;vr===Ze?nn="prepare":Lt(vr)?nn="active":vr===Fe&&(nn="start"),St=Bn((0,he.Z)((0,he.Z)({},Nt),{},{className:oe()(Ke(Yn,ir),(Ut={},(0,xe.Z)(Ut,Ke(Yn,"".concat(ir,"-").concat(nn)),nn),(0,xe.Z)(Ut,Yn,typeof Yn=="string"),Ut)),style:jr}),it)}if(x.isValidElement(St)&&He(St)){var pn=St,xn=pn.ref;xn||(St=x.cloneElement(St,{ref:it}))}return x.createElement(On,{ref:$t},St)});return ut.displayName="CSSMotion",ut}var dn=Jn(Ye),tr="add",Sr="keep",Qr="remove",io="removed";function Kr(Tt){var Ft;return Tt&&(0,E.Z)(Tt)==="object"&&"key"in Tt?Ft=Tt:Ft={key:Tt},(0,he.Z)((0,he.Z)({},Ft),{},{key:String(Ft.key)})}function kr(){var Tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Tt.map(Kr)}function cn(){var Tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Wt=[],ut=0,Vt=Ft.length,fn=kr(Tt),Sn=kr(Ft);fn.forEach(function(Ht){for(var Ln=!1,Bn=ut;Bn<Vt;Bn+=1){var Yn=Sn[Bn];if(Yn.key===Ht.key){ut<Bn&&(Wt=Wt.concat(Sn.slice(ut,Bn).map(function(Wn){return(0,he.Z)((0,he.Z)({},Wn),{},{status:tr})})),ut=Bn),Wt.push((0,he.Z)((0,he.Z)({},Yn),{},{status:Sr})),ut+=1,Ln=!0;break}}Ln||Wt.push((0,he.Z)((0,he.Z)({},Ht),{},{status:Qr}))}),ut<Vt&&(Wt=Wt.concat(Sn.slice(ut).map(function(Ht){return(0,he.Z)((0,he.Z)({},Ht),{},{status:tr})})));var Bt={};Wt.forEach(function(Ht){var Ln=Ht.key;Bt[Ln]=(Bt[Ln]||0)+1});var Gt=Object.keys(Bt).filter(function(Ht){return Bt[Ht]>1});return Gt.forEach(function(Ht){Wt=Wt.filter(function(Ln){var Bn=Ln.key,Yn=Ln.status;return Bn!==Ht||Yn!==Qr}),Wt.forEach(function(Ln){Ln.key===Ht&&(Ln.status=Sr)})}),Wt}var Qt=["component","children","onVisibleChanged","onAllRemoved"],un=["status"],yn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function In(Tt){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dn,Wt=function(ut){(0,le.Z)(fn,ut);var Vt=(0,ue.Z)(fn);function fn(){var Sn;(0,se.Z)(this,fn);for(var Bt=arguments.length,Gt=new Array(Bt),Ht=0;Ht<Bt;Ht++)Gt[Ht]=arguments[Ht];return Sn=Vt.call.apply(Vt,[this].concat(Gt)),(0,xe.Z)((0,ie.Z)(Sn),"state",{keyEntities:[]}),(0,xe.Z)((0,ie.Z)(Sn),"removeKey",function(Ln){var Bn=Sn.state.keyEntities,Yn=Bn.map(function(Wn){return Wn.key!==Ln?Wn:(0,he.Z)((0,he.Z)({},Wn),{},{status:io})});return Sn.setState({keyEntities:Yn}),Yn.filter(function(Wn){var rr=Wn.status;return rr!==io}).length}),Sn}return(0,re.Z)(fn,[{key:"render",value:function(){var Bt=this,Gt=this.state.keyEntities,Ht=this.props,Ln=Ht.component,Bn=Ht.children,Yn=Ht.onVisibleChanged,Wn=Ht.onAllRemoved,rr=(0,de.Z)(Ht,Qt),ur=Ln||x.Fragment,bn={};return yn.forEach(function($t){bn[$t]=rr[$t],delete rr[$t]}),delete rr.keys,x.createElement(ur,rr,Gt.map(function($t){var ln=$t.status,Pn=(0,de.Z)($t,un),Hn=ln===tr||ln===Sr;return x.createElement(Ft,(0,be.Z)({},bn,{key:Pn.key,visible:Hn,eventProps:Pn,onVisibleChanged:function(vr){if(Yn==null||Yn(vr,{key:Pn.key}),!vr){var jr=Bt.removeKey(Pn.key);jr===0&&Wn&&Wn()}}}),Bn)}))}}],[{key:"getDerivedStateFromProps",value:function(Bt,Gt){var Ht=Bt.keys,Ln=Gt.keyEntities,Bn=kr(Ht),Yn=cn(Ln,Bn);return{keyEntities:Yn.filter(function(Wn){var rr=Ln.find(function(ur){var bn=ur.key;return Wn.key===bn});return!(rr&&rr.status===io&&Wn.status===Qr)})}}}]),fn}(x.Component);return(0,xe.Z)(Wt,"defaultProps",{component:"div"}),Wt}var Qn=In(Ye),Gn=dn,wr=me(56261);function br(Tt,Ft){var Wt=x.useState(!1),ut=(0,ce.Z)(Wt,2),Vt=ut[0],fn=ut[1];x.useLayoutEffect(function(){if(Vt)return Tt(),function(){Ft()}},[Vt]),x.useLayoutEffect(function(){return fn(!0),function(){fn(!1)}},[])}var Kn=me(83898),wt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Rt=function(Ft,Wt){var ut=Ft.className,Vt=Ft.style,fn=Ft.motion,Sn=Ft.motionNodes,Bt=Ft.motionType,Gt=Ft.onMotionStart,Ht=Ft.onMotionEnd,Ln=Ft.active,Bn=Ft.treeNodeRequiredProps,Yn=(0,de.Z)(Ft,wt),Wn=x.useState(!0),rr=(0,ce.Z)(Wn,2),ur=rr[0],bn=rr[1],$t=x.useContext(b.k),ln=$t.prefixCls,Pn=Sn&&Bt!=="hide";pe(function(){Sn&&Pn!==ur&&bn(Pn)},[Sn]);var Hn=function(){Sn&&Gt()},ir=x.useRef(!1),vr=function(){Sn&&!ir.current&&(ir.current=!0,Ht())};br(Hn,vr);var jr=function(ct){Pn===ct&&vr()};return Sn?x.createElement(Gn,(0,be.Z)({ref:Wt,visible:ur},fn,{motionAppear:Bt==="show",onVisibleChanged:jr}),function(pr,ct){var it=pr.className,St=pr.style;return x.createElement("div",{ref:ct,className:oe()("".concat(ln,"-treenode-motion"),it),style:St},Sn.map(function(Nt){var Ut=(0,be.Z)({},((0,te.Z)(Nt.data),Nt.data)),nn=Nt.title,pn=Nt.key,xn=Nt.isStart,Mn=Nt.isEnd;delete Ut.children;var Dn=(0,Kn.H8)(pn,Bn);return x.createElement(wr.Z,(0,be.Z)({},Ut,Dn,{title:nn,active:Ln,data:Nt.data,key:pn,isStart:xn,isEnd:Mn}))}))}):x.createElement(wr.Z,(0,be.Z)({domRef:Wt,className:ut,style:Vt},Yn,{active:Ln}))};Rt.displayName="MotionTreeNode";var xt=x.forwardRef(Rt),sn=xt;function An(){var Tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Wt=Tt.length,ut=Ft.length;if(Math.abs(Wt-ut)!==1)return{add:!1,key:null};function Vt(fn,Sn){var Bt=new Map;fn.forEach(function(Ht){Bt.set(Ht,!0)});var Gt=Sn.filter(function(Ht){return!Bt.has(Ht)});return Gt.length===1?Gt[0]:null}return Wt<ut?{add:!0,key:Vt(Tt,Ft)}:{add:!1,key:Vt(Ft,Tt)}}function Nn(Tt,Ft,Wt){var ut=Tt.findIndex(function(Bt){return Bt.key===Wt}),Vt=Tt[ut+1],fn=Ft.findIndex(function(Bt){return Bt.key===Wt});if(Vt){var Sn=Ft.findIndex(function(Bt){return Bt.key===Vt.key});return Ft.slice(fn+1,Sn)}return Ft.slice(fn+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"],nr={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},fr=function(){},Fr="RC_TREE_MOTION_".concat(Math.random()),Jr={key:Fr},hn={key:Fr,level:0,index:0,pos:"0",node:Jr,nodes:[Jr]},Tr={parent:null,children:[],pos:hn.pos,data:Jr,title:null,key:Fr,isStart:[],isEnd:[]};function Ot(Tt,Ft,Wt,ut){return Ft===!1||!Wt?Tt:Tt.slice(0,Math.ceil(Wt/ut)+1)}function qt(Tt){var Ft=Tt.key,Wt=Tt.pos;return(0,Kn.km)(Ft,Wt)}function Xt(Tt){for(var Ft=String(Tt.data.key),Wt=Tt;Wt.parent;)Wt=Wt.parent,Ft="".concat(Wt.data.key," > ").concat(Ft);return Ft}var tn=x.forwardRef(function(Tt,Ft){var Wt=Tt.prefixCls,ut=Tt.data,Vt=Tt.selectable,fn=Tt.checkable,Sn=Tt.expandedKeys,Bt=Tt.selectedKeys,Gt=Tt.checkedKeys,Ht=Tt.loadedKeys,Ln=Tt.loadingKeys,Bn=Tt.halfCheckedKeys,Yn=Tt.keyEntities,Wn=Tt.disabled,rr=Tt.dragging,ur=Tt.dragOverNodeKey,bn=Tt.dropPosition,$t=Tt.motion,ln=Tt.height,Pn=Tt.itemHeight,Hn=Tt.virtual,ir=Tt.focusable,vr=Tt.activeItem,jr=Tt.focused,pr=Tt.tabIndex,ct=Tt.onKeyDown,it=Tt.onFocus,St=Tt.onBlur,Nt=Tt.onActiveChange,Ut=Tt.onListChangeStart,nn=Tt.onListChangeEnd,pn=(0,de.Z)(Tt,hr),xn=x.useRef(null),Mn=x.useRef(null);x.useImperativeHandle(Ft,function(){return{scrollTo:function(Ho){xn.current.scrollTo(Ho)},getIndentWidth:function(){return Mn.current.offsetWidth}}});var Dn=x.useState(Sn),or=(0,ce.Z)(Dn,2),ar=or[0],Gr=or[1],Vr=x.useState(ut),Nr=(0,ce.Z)(Vr,2),Yr=Nr[0],so=Nr[1],co=x.useState(ut),_r=(0,ce.Z)(co,2),fo=_r[0],$r=_r[1],wo=x.useState([]),Io=(0,ce.Z)(wo,2),Qo=Io[0],Co=Io[1],Vo=x.useState(null),Uo=(0,ce.Z)(Vo,2),ra=Uo[0],yo=Uo[1],uo=x.useRef(ut);uo.current=ut;function Lo(){var So=uo.current;so(So),$r(So),Co([]),yo(null),nn()}pe(function(){Gr(Sn);var So=An(ar,Sn);if(So.key!==null)if(So.add){var Ho=Yr.findIndex(function(Go){var ha=Go.key;return ha===So.key}),qo=Ot(Nn(Yr,ut,So.key),Hn,ln,Pn),ca=Yr.slice();ca.splice(Ho+1,0,Tr),$r(ca),Co(qo),yo("show")}else{var la=ut.findIndex(function(Go){var ha=Go.key;return ha===So.key}),ua=Ot(Nn(ut,Yr,So.key),Hn,ln,Pn),Pa=ut.slice();Pa.splice(la+1,0,Tr),$r(Pa),Co(ua),yo("hide")}else Yr!==ut&&(so(ut),$r(ut))},[Sn,ut]),x.useEffect(function(){rr||Lo()},[rr]);var sa=$t?fo:ut,Sa={expandedKeys:Sn,selectedKeys:Bt,loadedKeys:Ht,loadingKeys:Ln,checkedKeys:Gt,halfCheckedKeys:Bn,dragOverNodeKey:ur,dropPosition:bn,keyEntities:Yn};return x.createElement(x.Fragment,null,jr&&vr&&x.createElement("span",{style:nr,"aria-live":"assertive"},Xt(vr)),x.createElement("div",null,x.createElement("input",{style:nr,disabled:ir===!1||Wn,tabIndex:ir!==!1?pr:null,onKeyDown:ct,onFocus:it,onBlur:St,value:"",onChange:fr,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(Wt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(Wt,"-indent")},x.createElement("div",{ref:Mn,className:"".concat(Wt,"-indent-unit")}))),x.createElement(ye.Z,(0,be.Z)({},pn,{data:sa,itemKey:qt,height:ln,fullHeight:!1,virtual:Hn,itemHeight:Pn,prefixCls:"".concat(Wt,"-list"),ref:xn,onVisibleChange:function(Ho,qo){var ca=new Set(Ho),la=qo.filter(function(ua){return!ca.has(ua)});la.some(function(ua){return qt(ua)===Fr})&&Lo()}}),function(So){var Ho=So.pos,qo=(0,be.Z)({},((0,te.Z)(So.data),So.data)),ca=So.title,la=So.key,ua=So.isStart,Pa=So.isEnd,Go=(0,Kn.km)(la,Ho);delete qo.key,delete qo.children;var ha=(0,Kn.H8)(Go,Sa);return x.createElement(sn,(0,be.Z)({},qo,ha,{title:ca,active:!!vr&&la===vr.key,pos:Ho,data:So.data,isStart:ua,isEnd:Pa,motion:$t,motionNodes:la===Fr?Qo:null,motionType:ra,onMotionStart:Ut,onMotionEnd:Lo,treeNodeRequiredProps:Sa,onMouseMove:function(){Nt(null)}}))}))});tn.displayName="NodeList";var Tn=tn,Jt=me(29873),En=me(97153),rn=me(3596),gr=10,qn=function(Tt){(0,le.Z)(Wt,Tt);var Ft=(0,ue.Z)(Wt);function Wt(){var ut;(0,se.Z)(this,Wt);for(var Vt=arguments.length,fn=new Array(Vt),Sn=0;Sn<Vt;Sn++)fn[Sn]=arguments[Sn];return ut=Ft.call.apply(Ft,[this].concat(fn)),ut.destroyed=!1,ut.delayedDragEnterLogic=void 0,ut.loadingRetryTimes={},ut.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,Kn.w$)()},ut.dragStartMousePosition=null,ut.dragNode=void 0,ut.currentMouseOverDroppableNodeKey=null,ut.listRef=x.createRef(),ut.onNodeDragStart=function(Bt,Gt){var Ht=ut.state,Ln=Ht.expandedKeys,Bn=Ht.keyEntities,Yn=ut.props.onDragStart,Wn=Gt.props.eventKey;ut.dragNode=Gt,ut.dragStartMousePosition={x:Bt.clientX,y:Bt.clientY};var rr=(0,Jt._5)(Ln,Wn);ut.setState({draggingNodeKey:Wn,dragChildrenKeys:(0,Jt.wA)(Wn,Bn),indent:ut.listRef.current.getIndentWidth()}),ut.setExpandedKeys(rr),window.addEventListener("dragend",ut.onWindowDragEnd),Yn==null||Yn({event:Bt,node:(0,Kn.F)(Gt.props)})},ut.onNodeDragEnter=function(Bt,Gt){var Ht=ut.state,Ln=Ht.expandedKeys,Bn=Ht.keyEntities,Yn=Ht.dragChildrenKeys,Wn=Ht.flattenNodes,rr=Ht.indent,ur=ut.props,bn=ur.onDragEnter,$t=ur.onExpand,ln=ur.allowDrop,Pn=ur.direction,Hn=Gt.props,ir=Hn.pos,vr=Hn.eventKey,jr=(0,ie.Z)(ut),pr=jr.dragNode;if(ut.currentMouseOverDroppableNodeKey!==vr&&(ut.currentMouseOverDroppableNodeKey=vr),!pr){ut.resetDragState();return}var ct=(0,Jt.OM)(Bt,pr,Gt,rr,ut.dragStartMousePosition,ln,Wn,Bn,Ln,Pn),it=ct.dropPosition,St=ct.dropLevelOffset,Nt=ct.dropTargetKey,Ut=ct.dropContainerKey,nn=ct.dropTargetPos,pn=ct.dropAllowed,xn=ct.dragOverNodeKey;if(Yn.indexOf(Nt)!==-1||!pn){ut.resetDragState();return}if(ut.delayedDragEnterLogic||(ut.delayedDragEnterLogic={}),Object.keys(ut.delayedDragEnterLogic).forEach(function(Mn){clearTimeout(ut.delayedDragEnterLogic[Mn])}),pr.props.eventKey!==Gt.props.eventKey&&(Bt.persist(),ut.delayedDragEnterLogic[ir]=window.setTimeout(function(){if(ut.state.draggingNodeKey!==null){var Mn=(0,fe.Z)(Ln),Dn=(0,rn.Z)(Bn,Gt.props.eventKey);Dn&&(Dn.children||[]).length&&(Mn=(0,Jt.L0)(Ln,Gt.props.eventKey)),"expandedKeys"in ut.props||ut.setExpandedKeys(Mn),$t==null||$t(Mn,{node:(0,Kn.F)(Gt.props),expanded:!0,nativeEvent:Bt.nativeEvent})}},800)),pr.props.eventKey===Nt&&St===0){ut.resetDragState();return}ut.setState({dragOverNodeKey:xn,dropPosition:it,dropLevelOffset:St,dropTargetKey:Nt,dropContainerKey:Ut,dropTargetPos:nn,dropAllowed:pn}),bn==null||bn({event:Bt,node:(0,Kn.F)(Gt.props),expandedKeys:Ln})},ut.onNodeDragOver=function(Bt,Gt){var Ht=ut.state,Ln=Ht.dragChildrenKeys,Bn=Ht.flattenNodes,Yn=Ht.keyEntities,Wn=Ht.expandedKeys,rr=Ht.indent,ur=ut.props,bn=ur.onDragOver,$t=ur.allowDrop,ln=ur.direction,Pn=(0,ie.Z)(ut),Hn=Pn.dragNode;if(Hn){var ir=(0,Jt.OM)(Bt,Hn,Gt,rr,ut.dragStartMousePosition,$t,Bn,Yn,Wn,ln),vr=ir.dropPosition,jr=ir.dropLevelOffset,pr=ir.dropTargetKey,ct=ir.dropContainerKey,it=ir.dropAllowed,St=ir.dropTargetPos,Nt=ir.dragOverNodeKey;Ln.indexOf(pr)!==-1||!it||(Hn.props.eventKey===pr&&jr===0?ut.state.dropPosition===null&&ut.state.dropLevelOffset===null&&ut.state.dropTargetKey===null&&ut.state.dropContainerKey===null&&ut.state.dropTargetPos===null&&ut.state.dropAllowed===!1&&ut.state.dragOverNodeKey===null||ut.resetDragState():vr===ut.state.dropPosition&&jr===ut.state.dropLevelOffset&&pr===ut.state.dropTargetKey&&ct===ut.state.dropContainerKey&&St===ut.state.dropTargetPos&&it===ut.state.dropAllowed&&Nt===ut.state.dragOverNodeKey||ut.setState({dropPosition:vr,dropLevelOffset:jr,dropTargetKey:pr,dropContainerKey:ct,dropTargetPos:St,dropAllowed:it,dragOverNodeKey:Nt}),bn==null||bn({event:Bt,node:(0,Kn.F)(Gt.props)}))}},ut.onNodeDragLeave=function(Bt,Gt){ut.currentMouseOverDroppableNodeKey===Gt.props.eventKey&&!Bt.currentTarget.contains(Bt.relatedTarget)&&(ut.resetDragState(),ut.currentMouseOverDroppableNodeKey=null);var Ht=ut.props.onDragLeave;Ht==null||Ht({event:Bt,node:(0,Kn.F)(Gt.props)})},ut.onWindowDragEnd=function(Bt){ut.onNodeDragEnd(Bt,null,!0),window.removeEventListener("dragend",ut.onWindowDragEnd)},ut.onNodeDragEnd=function(Bt,Gt){var Ht=ut.props.onDragEnd;ut.setState({dragOverNodeKey:null}),ut.cleanDragState(),Ht==null||Ht({event:Bt,node:(0,Kn.F)(Gt.props)}),ut.dragNode=null,window.removeEventListener("dragend",ut.onWindowDragEnd)},ut.onNodeDrop=function(Bt,Gt){var Ht,Ln=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Bn=ut.state,Yn=Bn.dragChildrenKeys,Wn=Bn.dropPosition,rr=Bn.dropTargetKey,ur=Bn.dropTargetPos,bn=Bn.dropAllowed;if(bn){var $t=ut.props.onDrop;if(ut.setState({dragOverNodeKey:null}),ut.cleanDragState(),rr!==null){var ln=(0,he.Z)((0,he.Z)({},(0,Kn.H8)(rr,ut.getTreeNodeRequiredProps())),{},{active:((Ht=ut.getActiveItem())===null||Ht===void 0?void 0:Ht.key)===rr,data:(0,rn.Z)(ut.state.keyEntities,rr).node}),Pn=Yn.indexOf(rr)!==-1;(0,y.ZP)(!Pn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Hn=(0,Jt.yx)(ur),ir={event:Bt,node:(0,Kn.F)(ln),dragNode:ut.dragNode?(0,Kn.F)(ut.dragNode.props):null,dragNodesKeys:[ut.dragNode.props.eventKey].concat(Yn),dropToGap:Wn!==0,dropPosition:Wn+Number(Hn[Hn.length-1])};Ln||$t==null||$t(ir),ut.dragNode=null}}},ut.cleanDragState=function(){var Bt=ut.state.draggingNodeKey;Bt!==null&&ut.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ut.dragStartMousePosition=null,ut.currentMouseOverDroppableNodeKey=null},ut.triggerExpandActionExpand=function(Bt,Gt){var Ht=ut.state,Ln=Ht.expandedKeys,Bn=Ht.flattenNodes,Yn=Gt.expanded,Wn=Gt.key,rr=Gt.isLeaf;if(!(rr||Bt.shiftKey||Bt.metaKey||Bt.ctrlKey)){var ur=Bn.filter(function($t){return $t.key===Wn})[0],bn=(0,Kn.F)((0,he.Z)((0,he.Z)({},(0,Kn.H8)(Wn,ut.getTreeNodeRequiredProps())),{},{data:ur.data}));ut.setExpandedKeys(Yn?(0,Jt._5)(Ln,Wn):(0,Jt.L0)(Ln,Wn)),ut.onNodeExpand(Bt,bn)}},ut.onNodeClick=function(Bt,Gt){var Ht=ut.props,Ln=Ht.onClick,Bn=Ht.expandAction;Bn==="click"&&ut.triggerExpandActionExpand(Bt,Gt),Ln==null||Ln(Bt,Gt)},ut.onNodeDoubleClick=function(Bt,Gt){var Ht=ut.props,Ln=Ht.onDoubleClick,Bn=Ht.expandAction;Bn==="doubleClick"&&ut.triggerExpandActionExpand(Bt,Gt),Ln==null||Ln(Bt,Gt)},ut.onNodeSelect=function(Bt,Gt){var Ht=ut.state.selectedKeys,Ln=ut.state,Bn=Ln.keyEntities,Yn=Ln.fieldNames,Wn=ut.props,rr=Wn.onSelect,ur=Wn.multiple,bn=Gt.selected,$t=Gt[Yn.key],ln=!bn;ln?ur?Ht=(0,Jt.L0)(Ht,$t):Ht=[$t]:Ht=(0,Jt._5)(Ht,$t);var Pn=Ht.map(function(Hn){var ir=(0,rn.Z)(Bn,Hn);return ir?ir.node:null}).filter(function(Hn){return Hn});ut.setUncontrolledState({selectedKeys:Ht}),rr==null||rr(Ht,{event:"select",selected:ln,node:Gt,selectedNodes:Pn,nativeEvent:Bt.nativeEvent})},ut.onNodeCheck=function(Bt,Gt,Ht){var Ln=ut.state,Bn=Ln.keyEntities,Yn=Ln.checkedKeys,Wn=Ln.halfCheckedKeys,rr=ut.props,ur=rr.checkStrictly,bn=rr.onCheck,$t=Gt.key,ln,Pn={event:"check",node:Gt,checked:Ht,nativeEvent:Bt.nativeEvent};if(ur){var Hn=Ht?(0,Jt.L0)(Yn,$t):(0,Jt._5)(Yn,$t),ir=(0,Jt._5)(Wn,$t);ln={checked:Hn,halfChecked:ir},Pn.checkedNodes=Hn.map(function(St){return(0,rn.Z)(Bn,St)}).filter(function(St){return St}).map(function(St){return St.node}),ut.setUncontrolledState({checkedKeys:Hn})}else{var vr=(0,En.S)([].concat((0,fe.Z)(Yn),[$t]),!0,Bn),jr=vr.checkedKeys,pr=vr.halfCheckedKeys;if(!Ht){var ct=new Set(jr);ct.delete($t);var it=(0,En.S)(Array.from(ct),{checked:!1,halfCheckedKeys:pr},Bn);jr=it.checkedKeys,pr=it.halfCheckedKeys}ln=jr,Pn.checkedNodes=[],Pn.checkedNodesPositions=[],Pn.halfCheckedKeys=pr,jr.forEach(function(St){var Nt=(0,rn.Z)(Bn,St);if(Nt){var Ut=Nt.node,nn=Nt.pos;Pn.checkedNodes.push(Ut),Pn.checkedNodesPositions.push({node:Ut,pos:nn})}}),ut.setUncontrolledState({checkedKeys:jr},!1,{halfCheckedKeys:pr})}bn==null||bn(ln,Pn)},ut.onNodeLoad=function(Bt){var Gt=Bt.key,Ht=new Promise(function(Ln,Bn){ut.setState(function(Yn){var Wn=Yn.loadedKeys,rr=Wn===void 0?[]:Wn,ur=Yn.loadingKeys,bn=ur===void 0?[]:ur,$t=ut.props,ln=$t.loadData,Pn=$t.onLoad;if(!ln||rr.indexOf(Gt)!==-1||bn.indexOf(Gt)!==-1)return null;var Hn=ln(Bt);return Hn.then(function(){var ir=ut.state.loadedKeys,vr=(0,Jt.L0)(ir,Gt);Pn==null||Pn(vr,{event:"load",node:Bt}),ut.setUncontrolledState({loadedKeys:vr}),ut.setState(function(jr){return{loadingKeys:(0,Jt._5)(jr.loadingKeys,Gt)}}),Ln()}).catch(function(ir){if(ut.setState(function(jr){return{loadingKeys:(0,Jt._5)(jr.loadingKeys,Gt)}}),ut.loadingRetryTimes[Gt]=(ut.loadingRetryTimes[Gt]||0)+1,ut.loadingRetryTimes[Gt]>=gr){var vr=ut.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),ut.setUncontrolledState({loadedKeys:(0,Jt.L0)(vr,Gt)}),Ln()}Bn(ir)}),{loadingKeys:(0,Jt.L0)(bn,Gt)}})});return Ht.catch(function(){}),Ht},ut.onNodeMouseEnter=function(Bt,Gt){var Ht=ut.props.onMouseEnter;Ht==null||Ht({event:Bt,node:Gt})},ut.onNodeMouseLeave=function(Bt,Gt){var Ht=ut.props.onMouseLeave;Ht==null||Ht({event:Bt,node:Gt})},ut.onNodeContextMenu=function(Bt,Gt){var Ht=ut.props.onRightClick;Ht&&(Bt.preventDefault(),Ht({event:Bt,node:Gt}))},ut.onFocus=function(){var Bt=ut.props.onFocus;ut.setState({focused:!0});for(var Gt=arguments.length,Ht=new Array(Gt),Ln=0;Ln<Gt;Ln++)Ht[Ln]=arguments[Ln];Bt==null||Bt.apply(void 0,Ht)},ut.onBlur=function(){var Bt=ut.props.onBlur;ut.setState({focused:!1}),ut.onActiveChange(null);for(var Gt=arguments.length,Ht=new Array(Gt),Ln=0;Ln<Gt;Ln++)Ht[Ln]=arguments[Ln];Bt==null||Bt.apply(void 0,Ht)},ut.getTreeNodeRequiredProps=function(){var Bt=ut.state,Gt=Bt.expandedKeys,Ht=Bt.selectedKeys,Ln=Bt.loadedKeys,Bn=Bt.loadingKeys,Yn=Bt.checkedKeys,Wn=Bt.halfCheckedKeys,rr=Bt.dragOverNodeKey,ur=Bt.dropPosition,bn=Bt.keyEntities;return{expandedKeys:Gt||[],selectedKeys:Ht||[],loadedKeys:Ln||[],loadingKeys:Bn||[],checkedKeys:Yn||[],halfCheckedKeys:Wn||[],dragOverNodeKey:rr,dropPosition:ur,keyEntities:bn}},ut.setExpandedKeys=function(Bt){var Gt=ut.state,Ht=Gt.treeData,Ln=Gt.fieldNames,Bn=(0,Kn.oH)(Ht,Bt,Ln);ut.setUncontrolledState({expandedKeys:Bt,flattenNodes:Bn},!0)},ut.onNodeExpand=function(Bt,Gt){var Ht=ut.state.expandedKeys,Ln=ut.state,Bn=Ln.listChanging,Yn=Ln.fieldNames,Wn=ut.props,rr=Wn.onExpand,ur=Wn.loadData,bn=Gt.expanded,$t=Gt[Yn.key];if(!Bn){var ln=Ht.indexOf($t),Pn=!bn;if((0,y.ZP)(bn&&ln!==-1||!bn&&ln===-1,"Expand state not sync with index check"),Pn?Ht=(0,Jt.L0)(Ht,$t):Ht=(0,Jt._5)(Ht,$t),ut.setExpandedKeys(Ht),rr==null||rr(Ht,{node:Gt,expanded:Pn,nativeEvent:Bt.nativeEvent}),Pn&&ur){var Hn=ut.onNodeLoad(Gt);Hn&&Hn.then(function(){var ir=(0,Kn.oH)(ut.state.treeData,Ht,Yn);ut.setUncontrolledState({flattenNodes:ir})}).catch(function(){var ir=ut.state.expandedKeys,vr=(0,Jt._5)(ir,$t);ut.setExpandedKeys(vr)})}}},ut.onListChangeStart=function(){ut.setUncontrolledState({listChanging:!0})},ut.onListChangeEnd=function(){setTimeout(function(){ut.setUncontrolledState({listChanging:!1})})},ut.onActiveChange=function(Bt){var Gt=ut.state.activeKey,Ht=ut.props.onActiveChange;Gt!==Bt&&(ut.setState({activeKey:Bt}),Bt!==null&&ut.scrollTo({key:Bt}),Ht==null||Ht(Bt))},ut.getActiveItem=function(){var Bt=ut.state,Gt=Bt.activeKey,Ht=Bt.flattenNodes;return Gt===null?null:Ht.find(function(Ln){var Bn=Ln.key;return Bn===Gt})||null},ut.offsetActiveKey=function(Bt){var Gt=ut.state,Ht=Gt.flattenNodes,Ln=Gt.activeKey,Bn=Ht.findIndex(function(rr){var ur=rr.key;return ur===Ln});Bn===-1&&Bt<0&&(Bn=Ht.length),Bn=(Bn+Bt+Ht.length)%Ht.length;var Yn=Ht[Bn];if(Yn){var Wn=Yn.key;ut.onActiveChange(Wn)}else ut.onActiveChange(null)},ut.onKeyDown=function(Bt){var Gt=ut.state,Ht=Gt.activeKey,Ln=Gt.expandedKeys,Bn=Gt.checkedKeys,Yn=Gt.fieldNames,Wn=ut.props,rr=Wn.onKeyDown,ur=Wn.checkable,bn=Wn.selectable;switch(Bt.which){case z.UP:{ut.offsetActiveKey(-1),Bt.preventDefault();break}case z.DOWN:{ut.offsetActiveKey(1),Bt.preventDefault();break}}var $t=ut.getActiveItem();if($t&&$t.data){var ln=ut.getTreeNodeRequiredProps(),Pn=$t.data.isLeaf===!1||!!($t.data[Yn.children]||[]).length,Hn=(0,Kn.F)((0,he.Z)((0,he.Z)({},(0,Kn.H8)(Ht,ln)),{},{data:$t.data,active:!0}));switch(Bt.which){case z.LEFT:{Pn&&Ln.includes(Ht)?ut.onNodeExpand({},Hn):$t.parent&&ut.onActiveChange($t.parent.key),Bt.preventDefault();break}case z.RIGHT:{Pn&&!Ln.includes(Ht)?ut.onNodeExpand({},Hn):$t.children&&$t.children.length&&ut.onActiveChange($t.children[0].key),Bt.preventDefault();break}case z.ENTER:case z.SPACE:{ur&&!Hn.disabled&&Hn.checkable!==!1&&!Hn.disableCheckbox?ut.onNodeCheck({},Hn,!Bn.includes(Ht)):!ur&&bn&&!Hn.disabled&&Hn.selectable!==!1&&ut.onNodeSelect({},Hn);break}}}rr==null||rr(Bt)},ut.setUncontrolledState=function(Bt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ut.destroyed){var Ln=!1,Bn=!0,Yn={};Object.keys(Bt).forEach(function(Wn){if(Wn in ut.props){Bn=!1;return}Ln=!0,Yn[Wn]=Bt[Wn]}),Ln&&(!Gt||Bn)&&ut.setState((0,he.Z)((0,he.Z)({},Yn),Ht))}},ut.scrollTo=function(Bt){ut.listRef.current.scrollTo(Bt)},ut}return(0,re.Z)(Wt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Vt=this.props.activeKey;Vt!==void 0&&Vt!==this.state.activeKey&&(this.setState({activeKey:Vt}),Vt!==null&&this.scrollTo({key:Vt}))}},{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 Vt,fn=this.state,Sn=fn.focused,Bt=fn.flattenNodes,Gt=fn.keyEntities,Ht=fn.draggingNodeKey,Ln=fn.activeKey,Bn=fn.dropLevelOffset,Yn=fn.dropContainerKey,Wn=fn.dropTargetKey,rr=fn.dropPosition,ur=fn.dragOverNodeKey,bn=fn.indent,$t=this.props,ln=$t.prefixCls,Pn=$t.className,Hn=$t.style,ir=$t.showLine,vr=$t.focusable,jr=$t.tabIndex,pr=jr===void 0?0:jr,ct=$t.selectable,it=$t.showIcon,St=$t.icon,Nt=$t.switcherIcon,Ut=$t.draggable,nn=$t.checkable,pn=$t.checkStrictly,xn=$t.disabled,Mn=$t.motion,Dn=$t.loadData,or=$t.filterTreeNode,ar=$t.height,Gr=$t.itemHeight,Vr=$t.virtual,Nr=$t.titleRender,Yr=$t.dropIndicatorRender,so=$t.onContextMenu,co=$t.onScroll,_r=$t.direction,fo=$t.rootClassName,$r=$t.rootStyle,wo=(0,a.Z)(this.props,{aria:!0,data:!0}),Io;return Ut&&((0,E.Z)(Ut)==="object"?Io=Ut:typeof Ut=="function"?Io={nodeDraggable:Ut}:Io={}),x.createElement(b.k.Provider,{value:{prefixCls:ln,selectable:ct,showIcon:it,icon:St,switcherIcon:Nt,draggable:Io,draggingNodeKey:Ht,checkable:nn,checkStrictly:pn,disabled:xn,keyEntities:Gt,dropLevelOffset:Bn,dropContainerKey:Yn,dropTargetKey:Wn,dropPosition:rr,dragOverNodeKey:ur,indent:bn,direction:_r,dropIndicatorRender:Yr,loadData:Dn,filterTreeNode:or,titleRender:Nr,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},x.createElement("div",{role:"tree",className:oe()(ln,Pn,fo,(Vt={},(0,xe.Z)(Vt,"".concat(ln,"-show-line"),ir),(0,xe.Z)(Vt,"".concat(ln,"-focused"),Sn),(0,xe.Z)(Vt,"".concat(ln,"-active-focused"),Ln!==null),Vt)),style:$r},x.createElement(Tn,(0,be.Z)({ref:this.listRef,prefixCls:ln,style:Hn,data:Bt,disabled:xn,selectable:ct,checkable:!!nn,motion:Mn,dragging:Ht!==null,height:ar,itemHeight:Gr,virtual:Vr,focusable:vr,focused:Sn,tabIndex:pr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:so,onScroll:co},this.getTreeNodeRequiredProps(),wo))))}}],[{key:"getDerivedStateFromProps",value:function(Vt,fn){var Sn=fn.prevProps,Bt={prevProps:Vt};function Gt(vr){return!Sn&&vr in Vt||Sn&&Sn[vr]!==Vt[vr]}var Ht,Ln=fn.fieldNames;if(Gt("fieldNames")&&(Ln=(0,Kn.w$)(Vt.fieldNames),Bt.fieldNames=Ln),Gt("treeData")?Ht=Vt.treeData:Gt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ht=(0,Kn.zn)(Vt.children)),Ht){Bt.treeData=Ht;var Bn=(0,Kn.I8)(Ht,{fieldNames:Ln});Bt.keyEntities=(0,he.Z)((0,xe.Z)({},Fr,hn),Bn.keyEntities)}var Yn=Bt.keyEntities||fn.keyEntities;if(Gt("expandedKeys")||Sn&&Gt("autoExpandParent"))Bt.expandedKeys=Vt.autoExpandParent||!Sn&&Vt.defaultExpandParent?(0,Jt.r7)(Vt.expandedKeys,Yn):Vt.expandedKeys;else if(!Sn&&Vt.defaultExpandAll){var Wn=(0,he.Z)({},Yn);delete Wn[Fr],Bt.expandedKeys=Object.keys(Wn).map(function(vr){return Wn[vr].key})}else!Sn&&Vt.defaultExpandedKeys&&(Bt.expandedKeys=Vt.autoExpandParent||Vt.defaultExpandParent?(0,Jt.r7)(Vt.defaultExpandedKeys,Yn):Vt.defaultExpandedKeys);if(Bt.expandedKeys||delete Bt.expandedKeys,Ht||Bt.expandedKeys){var rr=(0,Kn.oH)(Ht||fn.treeData,Bt.expandedKeys||fn.expandedKeys,Ln);Bt.flattenNodes=rr}if(Vt.selectable&&(Gt("selectedKeys")?Bt.selectedKeys=(0,Jt.BT)(Vt.selectedKeys,Vt):!Sn&&Vt.defaultSelectedKeys&&(Bt.selectedKeys=(0,Jt.BT)(Vt.defaultSelectedKeys,Vt))),Vt.checkable){var ur;if(Gt("checkedKeys")?ur=(0,Jt.E6)(Vt.checkedKeys)||{}:!Sn&&Vt.defaultCheckedKeys?ur=(0,Jt.E6)(Vt.defaultCheckedKeys)||{}:Ht&&(ur=(0,Jt.E6)(Vt.checkedKeys)||{checkedKeys:fn.checkedKeys,halfCheckedKeys:fn.halfCheckedKeys}),ur){var bn=ur,$t=bn.checkedKeys,ln=$t===void 0?[]:$t,Pn=bn.halfCheckedKeys,Hn=Pn===void 0?[]:Pn;if(!Vt.checkStrictly){var ir=(0,En.S)(ln,!0,Yn);ln=ir.checkedKeys,Hn=ir.halfCheckedKeys}Bt.checkedKeys=ln,Bt.halfCheckedKeys=Hn}}return Gt("loadedKeys")&&(Bt.loadedKeys=Vt.loadedKeys),Bt}}]),Wt}(x.Component);qn.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:ee,allowDrop:function(){return!0},expandAction:!1},qn.TreeNode=wr.Z;var xr=qn,Ir=xr,to=me(73148),an=me(56747),lo={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=lo,qr=me(74643),xo=function(Ft,Wt){return x.createElement(qr.Z,(0,be.Z)({},Ft,{ref:Wt,icon:Mo}))},Rn=x.forwardRef(xo),Zn=me(53124),Pr=me(50881),jn=me(33603),no=me(32157);const zr=4;function jo(Tt){const{dropPosition:Ft,dropLevelOffset:Wt,prefixCls:ut,indent:Vt,direction:fn="ltr"}=Tt,Sn=fn==="ltr"?"left":"right",Bt=fn==="ltr"?"right":"left",Gt={[Sn]:-Wt*Vt+zr,[Bt]:0};switch(Ft){case-1:Gt.top=-3;break;case 1:Gt.bottom=-3;break;default:Gt.bottom=-3,Gt[Sn]=Vt+zr;break}return x.createElement("div",{style:Gt,className:`${ut}-drop-indicator`})}var No=me(99184),Et=x.forwardRef((Tt,Ft)=>{const{getPrefixCls:Wt,direction:ut,virtual:Vt,tree:fn}=x.useContext(Zn.E_),{prefixCls:Sn,className:Bt,showIcon:Gt=!1,showLine:Ht,switcherIcon:Ln,blockNode:Bn=!1,children:Yn,checkable:Wn=!1,selectable:rr=!0,draggable:ur,motion:bn,style:$t}=Tt,ln=Wt("tree",Sn),Pn=Wt(),Hn=bn!=null?bn:Object.assign(Object.assign({},(0,jn.Z)(Pn)),{motionAppear:!1}),ir=Object.assign(Object.assign({},Tt),{checkable:Wn,selectable:rr,showIcon:Gt,motion:Hn,blockNode:Bn,showLine:!!Ht,dropIndicatorRender:jo}),[vr,jr]=(0,no.ZP)(ln),pr=x.useMemo(()=>{if(!ur)return!1;let it={};switch(typeof ur){case"function":it.nodeDraggable=ur;break;case"object":it=Object.assign({},ur);break;default:break}return it.icon!==!1&&(it.icon=it.icon||x.createElement(Pr.Z,null)),it},[ur]),ct=it=>x.createElement(No.Z,{prefixCls:ln,switcherIcon:Ln,treeNodeProps:it,showLine:Ht});return vr(x.createElement(Ir,Object.assign({itemHeight:20,ref:Ft,virtual:Vt},ir,{style:Object.assign(Object.assign({},fn==null?void 0:fn.style),$t),prefixCls:ln,className:oe()({[`${ln}-icon-hide`]:!Gt,[`${ln}-block-node`]:Bn,[`${ln}-unselectable`]:!rr,[`${ln}-rtl`]:ut==="rtl"},fn==null?void 0:fn.className,Bt,jr),direction:ut,checkable:Wn&&x.createElement("span",{className:`${ln}-checkbox-inner`}),selectable:rr,switcherIcon:ct,draggable:pr}),Yn))}),Pt;(function(Tt){Tt[Tt.None=0]="None",Tt[Tt.Start=1]="Start",Tt[Tt.End=2]="End"})(Pt||(Pt={}));function Zt(Tt,Ft){function Wt(ut){const{key:Vt,children:fn}=ut;Ft(Vt,ut)!==!1&&Zt(fn||[],Ft)}Tt.forEach(Wt)}function on(Tt){let{treeData:Ft,expandedKeys:Wt,startKey:ut,endKey:Vt}=Tt;const fn=[];let Sn=Pt.None;if(ut&&ut===Vt)return[ut];if(!ut||!Vt)return[];function Bt(Gt){return Gt===ut||Gt===Vt}return Zt(Ft,Gt=>{if(Sn===Pt.End)return!1;if(Bt(Gt)){if(fn.push(Gt),Sn===Pt.None)Sn=Pt.Start;else if(Sn===Pt.Start)return Sn=Pt.End,!1}else Sn===Pt.Start&&fn.push(Gt);return Wt.includes(Gt)}),fn}function gn(Tt,Ft){const Wt=(0,fe.Z)(Ft),ut=[];return Zt(Tt,(Vt,fn)=>{const Sn=Wt.indexOf(Vt);return Sn!==-1&&(ut.push(fn),Wt.splice(Sn,1)),!!Wt.length}),ut}var Un=function(Tt,Ft){var Wt={};for(var ut in Tt)Object.prototype.hasOwnProperty.call(Tt,ut)&&Ft.indexOf(ut)<0&&(Wt[ut]=Tt[ut]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vt=0,ut=Object.getOwnPropertySymbols(Tt);Vt<ut.length;Vt++)Ft.indexOf(ut[Vt])<0&&Object.prototype.propertyIsEnumerable.call(Tt,ut[Vt])&&(Wt[ut[Vt]]=Tt[ut[Vt]]);return Wt};function cr(Tt){const{isLeaf:Ft,expanded:Wt}=Tt;return Ft?x.createElement(to.Z,null):Wt?x.createElement(an.Z,null):x.createElement(Rn,null)}function Cr(Tt){let{treeData:Ft,children:Wt}=Tt;return Ft||(0,Kn.zn)(Wt)}const Br=(Tt,Ft)=>{var{defaultExpandAll:Wt,defaultExpandParent:ut,defaultExpandedKeys:Vt}=Tt,fn=Un(Tt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Sn=x.useRef(),Bt=x.useRef(),Gt=()=>{const{keyEntities:pr}=(0,Kn.I8)(Cr(fn));let ct;return Wt?ct=Object.keys(pr):ut?ct=(0,Jt.r7)(fn.expandedKeys||Vt||[],pr):ct=fn.expandedKeys||Vt,ct},[Ht,Ln]=x.useState(fn.selectedKeys||fn.defaultSelectedKeys||[]),[Bn,Yn]=x.useState(()=>Gt());x.useEffect(()=>{"selectedKeys"in fn&&Ln(fn.selectedKeys)},[fn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in fn&&Yn(fn.expandedKeys)},[fn.expandedKeys]);const Wn=(pr,ct)=>{var it;return"expandedKeys"in fn||Yn(pr),(it=fn.onExpand)===null||it===void 0?void 0:it.call(fn,pr,ct)},rr=(pr,ct)=>{var it;const{multiple:St}=fn,{node:Nt,nativeEvent:Ut}=ct,{key:nn=""}=Nt,pn=Cr(fn),xn=Object.assign(Object.assign({},ct),{selected:!0}),Mn=(Ut==null?void 0:Ut.ctrlKey)||(Ut==null?void 0:Ut.metaKey),Dn=Ut==null?void 0:Ut.shiftKey;let or;St&&Mn?(or=pr,Sn.current=nn,Bt.current=or,xn.selectedNodes=gn(pn,or)):St&&Dn?(or=Array.from(new Set([].concat((0,fe.Z)(Bt.current||[]),(0,fe.Z)(on({treeData:pn,expandedKeys:Bn,startKey:nn,endKey:Sn.current}))))),xn.selectedNodes=gn(pn,or)):(or=[nn],Sn.current=nn,Bt.current=or,xn.selectedNodes=gn(pn,or)),(it=fn.onSelect)===null||it===void 0||it.call(fn,or,xn),"selectedKeys"in fn||Ln(or)},{getPrefixCls:ur,direction:bn}=x.useContext(Zn.E_),{prefixCls:$t,className:ln,showIcon:Pn=!0,expandAction:Hn="click"}=fn,ir=Un(fn,["prefixCls","className","showIcon","expandAction"]),vr=ur("tree",$t),jr=oe()(`${vr}-directory`,{[`${vr}-directory-rtl`]:bn==="rtl"},ln);return x.createElement(Et,Object.assign({icon:cr,ref:Ft,blockNode:!0},ir,{showIcon:Pn,expandAction:Hn,prefixCls:vr,className:jr,expandedKeys:Bn,selectedKeys:Ht,onSelect:rr,onExpand:Wn}))};var Ur=x.forwardRef(Br);const mo=Et;mo.DirectoryTree=Ur,mo.TreeNode=wr.Z;var er=mo},32157:function(Ct,dt,me){"use strict";me.d(dt,{TM:function(){return ne},Yk:function(){return oe}});var be=me(45930),xe=me(63185),E=me(14747),he=me(33507),fe=me(45503),se=me(67968);const re=new be.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ie=(z,a)=>({[`.${z}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),le=(z,a)=>({[`.${z}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ue=(z,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:ee,nodeSelectedBg:te,nodeHoverBg:ce}=a,de=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:ee,lineHeight:`${ee}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:ee}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},ie(z,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:ee,margin:0,lineHeight:`${ee}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:ee/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ee/2*.8,height:ee/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:de},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:ee,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${ee}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ce},[`&${y}-node-selected`]:{backgroundColor:te},[`${y}-iconEle`]:{display:"inline-block",width:ee,height:ee,lineHeight:`${ee}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${ee}px`,userSelect:"none"},le(z,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:ee/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:`${ee/2}px !important`}}}}})}},ae=z=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:ee}=z;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${z.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:z.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${z.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:ee,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:ee},[`${a}-node-content-wrapper`]:{color:ee,background:"transparent"}}}}}},oe=(z,a)=>{const y=`.${z}`,x=`${y}-treenode`,b=a.paddingXS/2,ee=(0,fe.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[ue(z,ee),ae(ee)]},ne=z=>{const{controlHeightSM:a}=z;return{titleHeight:a,nodeHoverBg:z.controlItemBgHover,nodeSelectedBg:z.controlItemBgActive}};dt.ZP=(0,se.Z)("Tree",(z,a)=>{let{prefixCls:y}=a;return[{[z.componentCls]:(0,xe.C2)(`${y}-checkbox`,z)},oe(y,z),(0,he.Z)(z)]},z=>{const{colorTextLightSolid:a,colorPrimary:y}=z;return Object.assign(Object.assign({},ne(z)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},99184:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return y}});var be=me(87462),xe=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},he=E,fe=me(74643),se=function(b,ee){return xe.createElement(fe.Z,(0,be.Z)({},b,{ref:ee,icon:he}))},re=xe.forwardRef(se),ie=me(73148),le=me(3407),ue=me(34182),ae=me(74664),oe=me(94184),ne=me.n(oe),z=me(96159),y=x=>{const{prefixCls:b,switcherIcon:ee,treeNodeProps:te,showLine:ce}=x,{isLeaf:de,expanded:ge,loading:ve}=te;if(ve)return xe.createElement(le.Z,{className:`${b}-switcher-loading-icon`});let pe;if(ce&&typeof ce=="object"&&(pe=ce.showLeafIcon),de){if(!ce)return null;if(typeof pe!="boolean"&&pe){const Pe=typeof pe=="function"?pe(te):pe,we=`${b}-switcher-line-custom-icon`;return(0,z.l$)(Pe)?(0,z.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 Se=`${b}-switcher-icon`,ye=typeof ee=="function"?ee(te):ee;return(0,z.l$)(ye)?(0,z.Tm)(ye,{className:ne()(ye.props.className||"",Se)}):ye!==void 0?ye:ce?ge?xe.createElement(ue.Z,{className:`${b}-switcher-line-icon`}):xe.createElement(ae.Z,{className:`${b}-switcher-line-icon`}):xe.createElement(re,{className:Se})}},59810:function(Ct,dt,me){"use strict";me.d(dt,{default:function(){return Tr}});var be=me(67294),xe=me(74902),E=me(94184),he=me.n(E),fe=me(87462),se=me(15671),re=me(43144),ie=me(60136),le=me(51630),ue=me(4942),ae=me(45987),oe=me(74165),ne=me(71002),z=me(15861),a=me(64217);function y(Ot,qt){var Xt="cannot ".concat(Ot.method," ").concat(Ot.action," ").concat(qt.status,"'"),tn=new Error(Xt);return tn.status=qt.status,tn.method=Ot.method,tn.url=Ot.action,tn}function x(Ot){var qt=Ot.responseText||Ot.response;if(!qt)return qt;try{return JSON.parse(qt)}catch(Xt){return qt}}function b(Ot){var qt=new XMLHttpRequest;Ot.onProgress&&qt.upload&&(qt.upload.onprogress=function(Jt){Jt.total>0&&(Jt.percent=Jt.loaded/Jt.total*100),Ot.onProgress(Jt)});var Xt=new FormData;Ot.data&&Object.keys(Ot.data).forEach(function(Tn){var Jt=Ot.data[Tn];if(Array.isArray(Jt)){Jt.forEach(function(En){Xt.append("".concat(Tn,"[]"),En)});return}Xt.append(Tn,Jt)}),Ot.file instanceof Blob?Xt.append(Ot.filename,Ot.file,Ot.file.name):Xt.append(Ot.filename,Ot.file),qt.onerror=function(Jt){Ot.onError(Jt)},qt.onload=function(){return qt.status<200||qt.status>=300?Ot.onError(y(Ot,qt),x(qt)):Ot.onSuccess(x(qt),qt)},qt.open(Ot.method,Ot.action,!0),Ot.withCredentials&&"withCredentials"in qt&&(qt.withCredentials=!0);var tn=Ot.headers||{};return tn["X-Requested-With"]!==null&&qt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(tn).forEach(function(Tn){tn[Tn]!==null&&qt.setRequestHeader(Tn,tn[Tn])}),qt.send(Xt),{abort:function(){qt.abort()}}}var ee=+new Date,te=0;function ce(){return"rc-upload-".concat(ee,"-").concat(++te)}var de=me(80334),ge=function(Ot,qt){if(Ot&&qt){var Xt=Array.isArray(qt)?qt:qt.split(","),tn=Ot.name||"",Tn=Ot.type||"",Jt=Tn.replace(/\/.*$/,"");return Xt.some(function(En){var rn=En.trim();if(/^\*(\/\*)?$/.test(En))return!0;if(rn.charAt(0)==="."){var gr=tn.toLowerCase(),qn=rn.toLowerCase(),xr=[qn];return(qn===".jpg"||qn===".jpeg")&&(xr=[".jpg",".jpeg"]),xr.some(function(Ir){return gr.endsWith(Ir)})}return/\/\*$/.test(rn)?Jt===rn.replace(/\/.*$/,""):Tn===rn?!0:/^\w+$/.test(rn)?((0,de.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(rn,"'.Skip for check.")),!0):!1})}return!0};function ve(Ot,qt){var Xt=Ot.createReader(),tn=[];function Tn(){Xt.readEntries(function(Jt){var En=Array.prototype.slice.apply(Jt);tn=tn.concat(En);var rn=!En.length;rn?qt(tn):Tn()})}Tn()}var pe=function(qt,Xt,tn){var Tn=function Jt(En,rn){En&&(En.path=rn||"",En.isFile?En.file(function(gr){tn(gr)&&(En.fullPath&&!gr.webkitRelativePath&&(Object.defineProperties(gr,{webkitRelativePath:{writable:!0}}),gr.webkitRelativePath=En.fullPath.replace(/^\//,""),Object.defineProperties(gr,{webkitRelativePath:{writable:!1}})),Xt([gr]))}):En.isDirectory&&ve(En,function(gr){gr.forEach(function(qn){Jt(qn,"".concat(rn).concat(En.name,"/"))})}))};qt.forEach(function(Jt){Tn(Jt.webkitGetAsEntry())})},Se=pe,ye=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Pe=function(Ot){(0,ie.Z)(Xt,Ot);var qt=(0,le.Z)(Xt);function Xt(){var tn;(0,se.Z)(this,Xt);for(var Tn=arguments.length,Jt=new Array(Tn),En=0;En<Tn;En++)Jt[En]=arguments[En];return tn=qt.call.apply(qt,[this].concat(Jt)),tn.state={uid:ce()},tn.reqs={},tn.fileInput=void 0,tn._isMounted=void 0,tn.onChange=function(rn){var gr=tn.props,qn=gr.accept,xr=gr.directory,Ir=rn.target.files,to=(0,xe.Z)(Ir).filter(function(an){return!xr||ge(an,qn)});tn.uploadFiles(to),tn.reset()},tn.onClick=function(rn){var gr=tn.fileInput;if(gr){var qn=tn.props,xr=qn.children,Ir=qn.onClick;if(xr&&xr.type==="button"){var to=gr.parentNode;to.focus(),to.querySelector("button").blur()}gr.click(),Ir&&Ir(rn)}},tn.onKeyDown=function(rn){rn.key==="Enter"&&tn.onClick(rn)},tn.onFileDrop=function(rn){var gr=tn.props.multiple;if(rn.preventDefault(),rn.type!=="dragover")if(tn.props.directory)Se(Array.prototype.slice.call(rn.dataTransfer.items),tn.uploadFiles,function(xr){return ge(xr,tn.props.accept)});else{var qn=(0,xe.Z)(rn.dataTransfer.files).filter(function(xr){return ge(xr,tn.props.accept)});gr===!1&&(qn=qn.slice(0,1)),tn.uploadFiles(qn)}},tn.uploadFiles=function(rn){var gr=(0,xe.Z)(rn),qn=gr.map(function(xr){return xr.uid=ce(),tn.processFile(xr,gr)});Promise.all(qn).then(function(xr){var Ir=tn.props.onBatchStart;Ir==null||Ir(xr.map(function(to){var an=to.origin,lo=to.parsedFile;return{file:an,parsedFile:lo}})),xr.filter(function(to){return to.parsedFile!==null}).forEach(function(to){tn.post(to)})})},tn.processFile=function(){var rn=(0,z.Z)((0,oe.Z)().mark(function gr(qn,xr){var Ir,to,an,lo,Mo,qr,xo,Rn,Zn;return(0,oe.Z)().wrap(function(jn){for(;;)switch(jn.prev=jn.next){case 0:if(Ir=tn.props.beforeUpload,to=qn,!Ir){jn.next=14;break}return jn.prev=3,jn.next=6,Ir(qn,xr);case 6:to=jn.sent,jn.next=12;break;case 9:jn.prev=9,jn.t0=jn.catch(3),to=!1;case 12:if(to!==!1){jn.next=14;break}return jn.abrupt("return",{origin:qn,parsedFile:null,action:null,data:null});case 14:if(an=tn.props.action,typeof an!="function"){jn.next=21;break}return jn.next=18,an(qn);case 18:lo=jn.sent,jn.next=22;break;case 21:lo=an;case 22:if(Mo=tn.props.data,typeof Mo!="function"){jn.next=29;break}return jn.next=26,Mo(qn);case 26:qr=jn.sent,jn.next=30;break;case 29:qr=Mo;case 30:return xo=((0,ne.Z)(to)==="object"||typeof to=="string")&&to?to:qn,xo instanceof File?Rn=xo:Rn=new File([xo],qn.name,{type:qn.type}),Zn=Rn,Zn.uid=qn.uid,jn.abrupt("return",{origin:qn,data:qr,parsedFile:Zn,action:lo});case 35:case"end":return jn.stop()}},gr,null,[[3,9]])}));return function(gr,qn){return rn.apply(this,arguments)}}(),tn.saveFileInput=function(rn){tn.fileInput=rn},tn}return(0,re.Z)(Xt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Tn){var Jt=this,En=Tn.data,rn=Tn.origin,gr=Tn.action,qn=Tn.parsedFile;if(this._isMounted){var xr=this.props,Ir=xr.onStart,to=xr.customRequest,an=xr.name,lo=xr.headers,Mo=xr.withCredentials,qr=xr.method,xo=rn.uid,Rn=to||b,Zn={action:gr,filename:an,data:En,file:qn,headers:lo,withCredentials:Mo,method:qr||"post",onProgress:function(jn){var no=Jt.props.onProgress;no==null||no(jn,qn)},onSuccess:function(jn,no){var zr=Jt.props.onSuccess;zr==null||zr(jn,qn,no),delete Jt.reqs[xo]},onError:function(jn,no){var zr=Jt.props.onError;zr==null||zr(jn,no,qn),delete Jt.reqs[xo]}};Ir(rn),this.reqs[xo]=Rn(Zn)}}},{key:"reset",value:function(){this.setState({uid:ce()})}},{key:"abort",value:function(Tn){var Jt=this.reqs;if(Tn){var En=Tn.uid?Tn.uid:Tn;Jt[En]&&Jt[En].abort&&Jt[En].abort(),delete Jt[En]}else Object.keys(Jt).forEach(function(rn){Jt[rn]&&Jt[rn].abort&&Jt[rn].abort(),delete Jt[rn]})}},{key:"render",value:function(){var Tn,Jt=this.props,En=Jt.component,rn=Jt.prefixCls,gr=Jt.className,qn=Jt.disabled,xr=Jt.id,Ir=Jt.style,to=Jt.multiple,an=Jt.accept,lo=Jt.capture,Mo=Jt.children,qr=Jt.directory,xo=Jt.openFileDialogOnClick,Rn=Jt.onMouseEnter,Zn=Jt.onMouseLeave,Pr=(0,ae.Z)(Jt,ye),jn=he()((Tn={},(0,ue.Z)(Tn,rn,!0),(0,ue.Z)(Tn,"".concat(rn,"-disabled"),qn),(0,ue.Z)(Tn,gr,gr),Tn)),no=qr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},zr=qn?{}:{onClick:xo?this.onClick:function(){},onKeyDown:xo?this.onKeyDown:function(){},onMouseEnter:Rn,onMouseLeave:Zn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return be.createElement(En,(0,fe.Z)({},zr,{className:jn,role:"button",style:Ir}),be.createElement("input",(0,fe.Z)({},(0,a.Z)(Pr,{aria:!0,data:!0}),{id:xr,disabled:qn,type:"file",ref:this.saveFileInput,onClick:function(No){return No.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:an},no,{multiple:to,onChange:this.onChange},lo!=null?{capture:lo}:{})),Mo)}}]),Xt}(be.Component),we=Pe;function Le(){}var Ee=function(Ot){(0,ie.Z)(Xt,Ot);var qt=(0,le.Z)(Xt);function Xt(){var tn;(0,se.Z)(this,Xt);for(var Tn=arguments.length,Jt=new Array(Tn),En=0;En<Tn;En++)Jt[En]=arguments[En];return tn=qt.call.apply(qt,[this].concat(Jt)),tn.uploader=void 0,tn.saveUploader=function(rn){tn.uploader=rn},tn}return(0,re.Z)(Xt,[{key:"abort",value:function(Tn){this.uploader.abort(Tn)}},{key:"render",value:function(){return be.createElement(we,(0,fe.Z)({},this.props,{ref:this.saveUploader}))}}]),Xt}(be.Component);Ee.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Le,onError:Le,onSuccess:Le,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Te=Ee,Ce=Te,Ae=me(5663),Ie=me(73935),He=me(53124),je=me(98866),tt=me(10110),Je=me(24457),Qe={icon:function(qt,Xt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Xt}},{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:qt}}]}},name:"file",theme:"twotone"},Xe=Qe,$e=me(74643),ke=function(qt,Xt){return be.createElement($e.Z,(0,fe.Z)({},qt,{ref:Xt,icon:Xe}))},Ue=be.forwardRef(ke),qe=me(3407),Ye={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"},ft=Ye,We=function(qt,Xt){return be.createElement($e.Z,(0,fe.Z)({},qt,{ref:Xt,icon:ft}))},Ke=be.forwardRef(We),Re={icon:function(qt,Xt){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:qt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Xt}},{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:Xt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Xt}},{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:qt}}]}},name:"picture",theme:"twotone"},et=Re,Me=function(qt,Xt){return be.createElement($e.Z,(0,fe.Z)({},qt,{ref:Xt,icon:et}))},Ge=be.forwardRef(Me),Ve=me(38379),Ze=me(57838),Fe=me(33603),Oe=me(96159),_e=me(71577);function Ne(Ot){return Object.assign(Object.assign({},Ot),{lastModified:Ot.lastModified,lastModifiedDate:Ot.lastModifiedDate,name:Ot.name,size:Ot.size,type:Ot.type,uid:Ot.uid,percent:0,originFileObj:Ot})}function ze(Ot,qt){const Xt=(0,xe.Z)(qt),tn=Xt.findIndex(Tn=>{let{uid:Jt}=Tn;return Jt===Ot.uid});return tn===-1?Xt.push(Ot):Xt[tn]=Ot,Xt}function ot(Ot,qt){const Xt=Ot.uid!==void 0?"uid":"name";return qt.filter(tn=>tn[Xt]===Ot[Xt])[0]}function gt(Ot,qt){const Xt=Ot.uid!==void 0?"uid":"name",tn=qt.filter(Tn=>Tn[Xt]!==Ot[Xt]);return tn.length===qt.length?null:tn}const yt=function(){const qt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),tn=qt[qt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(tn)||[""])[0]},nt=Ot=>Ot.indexOf("image/")===0,mt=Ot=>{if(Ot.type&&!Ot.thumbUrl)return nt(Ot.type);const qt=Ot.thumbUrl||Ot.url||"",Xt=yt(qt);return/^data:image\//.test(qt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Xt)?!0:!(/^data:/.test(qt)||Xt)},At=200;function kt(Ot){return new Promise(qt=>{if(!Ot.type||!nt(Ot.type)){qt("");return}const Xt=document.createElement("canvas");Xt.width=At,Xt.height=At,Xt.style.cssText=`position: fixed; left: 0; top: 0; width: ${At}px; height: ${At}px; z-index: 9999; display: none;`,document.body.appendChild(Xt);const tn=Xt.getContext("2d"),Tn=new Image;if(Tn.onload=()=>{const{width:Jt,height:En}=Tn;let rn=At,gr=At,qn=0,xr=0;Jt>En?(gr=En*(At/Jt),xr=-(gr-rn)/2):(rn=Jt*(At/En),qn=-(rn-gr)/2),tn.drawImage(Tn,qn,xr,rn,gr);const Ir=Xt.toDataURL();document.body.removeChild(Xt),window.URL.revokeObjectURL(Tn.src),qt(Ir)},Tn.crossOrigin="anonymous",Ot.type.startsWith("image/svg+xml")){const Jt=new FileReader;Jt.onload=()=>{Jt.result&&(Tn.src=Jt.result)},Jt.readAsDataURL(Ot)}else if(Ot.type.startsWith("image/gif")){const Jt=new FileReader;Jt.onload=()=>{Jt.result&&qt(Jt.result)},Jt.readAsDataURL(Ot)}else Tn.src=window.URL.createObjectURL(Ot)})}var at=me(84249),Mt=me(90674),st=me(99569),pt=me(38703),bt=me(83062),Dt=be.forwardRef((Ot,qt)=>{let{prefixCls:Xt,className:tn,style:Tn,locale:Jt,listType:En,file:rn,items:gr,progress:qn,iconRender:xr,actionIconRender:Ir,itemRender:to,isImgUrl:an,showPreviewIcon:lo,showRemoveIcon:Mo,showDownloadIcon:qr,previewIcon:xo,removeIcon:Rn,downloadIcon:Zn,onPreview:Pr,onDownload:jn,onClose:no}=Ot;var zr,jo;const{status:No}=rn,[Do,Et]=be.useState(No);be.useEffect(()=>{No!=="removed"&&Et(No)},[No]);const[Pt,Zt]=be.useState(!1);be.useEffect(()=>{const Bt=setTimeout(()=>{Zt(!0)},300);return()=>{clearTimeout(Bt)}},[]);const on=xr(rn);let gn=be.createElement("div",{className:`${Xt}-icon`},on);if(En==="picture"||En==="picture-card"||En==="picture-circle")if(Do==="uploading"||!rn.thumbUrl&&!rn.url){const Bt=he()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:Do!=="uploading"});gn=be.createElement("div",{className:Bt},on)}else{const Bt=an!=null&&an(rn)?be.createElement("img",{src:rn.thumbUrl||rn.url,alt:rn.name,className:`${Xt}-list-item-image`,crossOrigin:rn.crossOrigin}):on,Gt=he()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:an&&!an(rn)});gn=be.createElement("a",{className:Gt,onClick:Ht=>Pr(rn,Ht),href:rn.url||rn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Bt)}const Un=he()(`${Xt}-list-item`,`${Xt}-list-item-${Do}`),cr=typeof rn.linkProps=="string"?JSON.parse(rn.linkProps):rn.linkProps,Cr=Mo?Ir((typeof Rn=="function"?Rn(rn):Rn)||be.createElement(at.Z,null),()=>no(rn),Xt,Jt.removeFile):null,Br=qr&&Do==="done"?Ir((typeof Zn=="function"?Zn(rn):Zn)||be.createElement(Mt.Z,null),()=>jn(rn),Xt,Jt.downloadFile):null,Zr=En!=="picture-card"&&En!=="picture-circle"&&be.createElement("span",{key:"download-delete",className:he()(`${Xt}-list-item-actions`,{picture:En==="picture"})},Br,Cr),Ur=he()(`${Xt}-list-item-name`),mo=rn.url?[be.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ur,title:rn.name},cr,{href:rn.url,onClick:Bt=>Pr(rn,Bt)}),rn.name),Zr]:[be.createElement("span",{key:"view",className:Ur,onClick:Bt=>Pr(rn,Bt),title:rn.name},rn.name),Zr],er={pointerEvents:"none",opacity:.5},Tt=lo?be.createElement("a",{href:rn.url||rn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:rn.url||rn.thumbUrl?void 0:er,onClick:Bt=>Pr(rn,Bt),title:Jt.previewFile},typeof xo=="function"?xo(rn):xo||be.createElement(st.Z,null)):null,Ft=(En==="picture-card"||En==="picture-circle")&&Do!=="uploading"&&be.createElement("span",{className:`${Xt}-list-item-actions`},Tt,Do==="done"&&Br,Cr),{getPrefixCls:Wt}=be.useContext(He.E_),ut=Wt(),Vt=be.createElement("div",{className:Un},gn,mo,Ft,Pt&&be.createElement(Ve.default,{motionName:`${ut}-fade`,visible:Do==="uploading",motionDeadline:2e3},Bt=>{let{className:Gt}=Bt;const Ht="percent"in rn?be.createElement(pt.Z,Object.assign({},qn,{type:"line",percent:rn.percent,"aria-label":rn["aria-label"],"aria-labelledby":rn["aria-labelledby"]})):null;return be.createElement("div",{className:he()(`${Xt}-list-item-progress`,Gt)},Ht)})),fn=rn.response&&typeof rn.response=="string"?rn.response:((zr=rn.error)===null||zr===void 0?void 0:zr.statusText)||((jo=rn.error)===null||jo===void 0?void 0:jo.message)||Jt.uploadError,Sn=Do==="error"?be.createElement(bt.Z,{title:fn,getPopupContainer:Bt=>Bt.parentNode},Vt):Vt;return be.createElement("div",{className:he()(`${Xt}-list-item-container`,tn),style:Tn,ref:qt},to?to(Sn,rn,gr,{download:jn.bind(null,rn),preview:Pr.bind(null,rn),remove:no.bind(null,rn)}):Sn)});const Yt=(Ot,qt)=>{const{listType:Xt="text",previewFile:tn=kt,onPreview:Tn,onDownload:Jt,onRemove:En,locale:rn,iconRender:gr,isImageUrl:qn=mt,prefixCls:xr,items:Ir=[],showPreviewIcon:to=!0,showRemoveIcon:an=!0,showDownloadIcon:lo=!1,removeIcon:Mo,previewIcon:qr,downloadIcon:xo,progress:Rn={size:[-1,2],showInfo:!1},appendAction:Zn,appendActionVisible:Pr=!0,itemRender:jn,disabled:no}=Ot,zr=(0,Ze.Z)(),[jo,No]=be.useState(!1);be.useEffect(()=>{Xt!=="picture"&&Xt!=="picture-card"&&Xt!=="picture-circle"||(Ir||[]).forEach(er=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(er.originFileObj instanceof File||er.originFileObj instanceof Blob)||er.thumbUrl!==void 0||(er.thumbUrl="",tn&&tn(er.originFileObj).then(Tt=>{er.thumbUrl=Tt||"",zr()}))})},[Xt,Ir,tn]),be.useEffect(()=>{No(!0)},[]);const Do=(er,Tt)=>{if(Tn)return Tt==null||Tt.preventDefault(),Tn(er)},Et=er=>{typeof Jt=="function"?Jt(er):er.url&&window.open(er.url)},Pt=er=>{En==null||En(er)},Zt=er=>{if(gr)return gr(er,Xt);const Tt=er.status==="uploading",Ft=qn&&qn(er)?be.createElement(Ge,null):be.createElement(Ue,null);let Wt=Tt?be.createElement(qe.Z,null):be.createElement(Ke,null);return Xt==="picture"?Wt=Tt?be.createElement(qe.Z,null):Ft:(Xt==="picture-card"||Xt==="picture-circle")&&(Wt=Tt?rn.uploading:Ft),Wt},on=(er,Tt,Ft,Wt)=>{const ut={type:"text",size:"small",title:Wt,onClick:Vt=>{Tt(),(0,Oe.l$)(er)&&er.props.onClick&&er.props.onClick(Vt)},className:`${Ft}-list-item-action`,disabled:no};if((0,Oe.l$)(er)){const Vt=(0,Oe.Tm)(er,Object.assign(Object.assign({},er.props),{onClick:()=>{}}));return be.createElement(_e.ZP,Object.assign({},ut,{icon:Vt}))}return be.createElement(_e.ZP,Object.assign({},ut),be.createElement("span",null,er))};be.useImperativeHandle(qt,()=>({handlePreview:Do,handleDownload:Et}));const{getPrefixCls:gn}=be.useContext(He.E_),Un=gn("upload",xr),cr=gn(),Cr=he()(`${Un}-list`,`${Un}-list-${Xt}`),Br=(0,xe.Z)(Ir.map(er=>({key:er.uid,file:er})));let Ur={motionDeadline:2e3,motionName:`${Un}-${Xt==="picture-card"||Xt==="picture-circle"?"animate-inline":"animate"}`,keys:Br,motionAppear:jo};const mo=be.useMemo(()=>{const er=Object.assign({},(0,Fe.Z)(cr));return delete er.onAppearEnd,delete er.onEnterEnd,delete er.onLeaveEnd,er},[cr]);return Xt!=="picture-card"&&Xt!=="picture-circle"&&(Ur=Object.assign(Object.assign({},mo),Ur)),be.createElement("div",{className:Cr},be.createElement(Ve.CSSMotionList,Object.assign({},Ur,{component:!1}),er=>{let{key:Tt,file:Ft,className:Wt,style:ut}=er;return be.createElement(Dt,{key:Tt,locale:rn,prefixCls:Un,className:Wt,style:ut,file:Ft,items:Ir,progress:Rn,listType:Xt,isImgUrl:qn,showPreviewIcon:to,showRemoveIcon:an,showDownloadIcon:lo,removeIcon:Mo,previewIcon:qr,downloadIcon:xo,iconRender:Zt,actionIconRender:on,itemRender:jn,onPreview:Do,onDownload:Et,onClose:Pt})}),Zn&&be.createElement(Ve.default,Object.assign({},Ur,{visible:Pr,forceRender:!0}),er=>{let{className:Tt,style:Ft}=er;return(0,Oe.Tm)(Zn,Wt=>({className:he()(Wt.className,Tt),style:Object.assign(Object.assign(Object.assign({},Ft),{pointerEvents:Tt?"none":void 0}),Wt.style)}))}))};var Cn=be.forwardRef(Yt),On=me(14747),Jn=me(33507),dn=me(67968),tr=me(45503),Qr=Ot=>{const{componentCls:qt,iconCls:Xt}=Ot;return{[`${qt}-wrapper`]:{[`${qt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ot.colorFillAlter,border:`${Ot.lineWidth}px dashed ${Ot.colorBorder}`,borderRadius:Ot.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ot.motionDurationSlow}`,[qt]:{padding:`${Ot.padding}px 0`},[`${qt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${qt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${qt}-disabled):hover`]:{borderColor:Ot.colorPrimaryHover},[`p${qt}-drag-icon`]:{marginBottom:Ot.margin,[Xt]:{color:Ot.colorPrimary,fontSize:Ot.uploadThumbnailSize}},[`p${qt}-text`]:{margin:`0 0 ${Ot.marginXXS}px`,color:Ot.colorTextHeading,fontSize:Ot.fontSizeLG},[`p${qt}-hint`]:{color:Ot.colorTextDescription,fontSize:Ot.fontSize},[`&${qt}-disabled`]:{cursor:"not-allowed",[`p${qt}-drag-icon ${Xt},
p${qt}-text,
p${qt}-hint
`]:{color:Ot.colorTextDisabled}}}}}},Kr=Ot=>{const{componentCls:qt,antCls:Xt,iconCls:tn,fontSize:Tn,lineHeight:Jt}=Ot,En=`${qt}-list-item`,rn=`${En}-actions`,gr=`${En}-action`,qn=Math.round(Tn*Jt);return{[`${qt}-wrapper`]:{[`${qt}-list`]:Object.assign(Object.assign({},(0,On.dF)()),{lineHeight:Ot.lineHeight,[En]:{position:"relative",height:Ot.lineHeight*Tn,marginTop:Ot.marginXS,fontSize:Tn,display:"flex",alignItems:"center",transition:`background-color ${Ot.motionDurationSlow}`,"&:hover":{backgroundColor:Ot.controlItemBgHover},[`${En}-name`]:Object.assign(Object.assign({},On.vS),{padding:`0 ${Ot.paddingXS}px`,lineHeight:Jt,flex:"auto",transition:`all ${Ot.motionDurationSlow}`}),[rn]:{[gr]:{opacity:0},[`${gr}${Xt}-btn-sm`]:{height:qn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${gr}:focus-visible,
&.picture ${gr}
`]:{opacity:1},[tn]:{color:Ot.actionsColor,transition:`all ${Ot.motionDurationSlow}`},[`&:hover ${tn}`]:{color:Ot.colorText}},[`${qt}-icon ${tn}`]:{color:Ot.colorTextDescription,fontSize:Tn},[`${En}-progress`]:{position:"absolute",bottom:-Ot.uploadProgressOffset,width:"100%",paddingInlineStart:Tn+Ot.paddingXS,fontSize:Tn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${En}:hover ${gr}`]:{opacity:1,color:Ot.colorText},[`${En}-error`]:{color:Ot.colorError,[`${En}-name, ${qt}-icon ${tn}`]:{color:Ot.colorError},[rn]:{[`${tn}, ${tn}:hover`]:{color:Ot.colorError},[gr]:{opacity:1}}},[`${qt}-list-item-container`]:{transition:`opacity ${Ot.motionDurationSlow}, height ${Ot.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},kr=me(45930),cn=me(16932);const Qt=new kr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),un=new kr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var In=Ot=>{const{componentCls:qt}=Ot,Xt=`${qt}-animate-inline`;return[{[`${qt}-wrapper`]:{[`${Xt}-appear, ${Xt}-enter, ${Xt}-leave`]:{animationDuration:Ot.motionDurationSlow,animationTimingFunction:Ot.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Xt}-appear, ${Xt}-enter`]:{animationName:Qt},[`${Xt}-leave`]:{animationName:un}}},{[`${qt}-wrapper`]:(0,cn.J$)(Ot)},Qt,un]},Qn=me(47448),Gn=me(84780);const wr=Ot=>{const{componentCls:qt,iconCls:Xt,uploadThumbnailSize:tn,uploadProgressOffset:Tn}=Ot,Jt=`${qt}-list`,En=`${Jt}-item`;return{[`${qt}-wrapper`]:{[`
${Jt}${Jt}-picture,
${Jt}${Jt}-picture-card,
${Jt}${Jt}-picture-circle
`]:{[En]:{position:"relative",height:tn+Ot.lineWidth*2+Ot.paddingXS*2,padding:Ot.paddingXS,border:`${Ot.lineWidth}px ${Ot.lineType} ${Ot.colorBorder}`,borderRadius:Ot.borderRadiusLG,"&:hover":{background:"transparent"},[`${En}-thumbnail`]:Object.assign(Object.assign({},On.vS),{width:tn,height:tn,lineHeight:`${tn+Ot.paddingSM}px`,textAlign:"center",flex:"none",[Xt]:{fontSize:Ot.fontSizeHeading2,color:Ot.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${En}-progress`]:{bottom:Tn,width:`calc(100% - ${Ot.paddingSM*2}px)`,marginTop:0,paddingInlineStart:tn+Ot.paddingXS}},[`${En}-error`]:{borderColor:Ot.colorError,[`${En}-thumbnail ${Xt}`]:{[`svg path[fill='${Qn.blue[0]}']`]:{fill:Ot.colorErrorBg},[`svg path[fill='${Qn.blue.primary}']`]:{fill:Ot.colorError}}},[`${En}-uploading`]:{borderStyle:"dashed",[`${En}-name`]:{marginBottom:Tn}}},[`${Jt}${Jt}-picture-circle ${En}`]:{[`&, &::before, ${En}-thumbnail`]:{borderRadius:"50%"}}}}},br=Ot=>{const{componentCls:qt,iconCls:Xt,fontSizeLG:tn,colorTextLightSolid:Tn}=Ot,Jt=`${qt}-list`,En=`${Jt}-item`,rn=Ot.uploadPicCardSize;return{[`
${qt}-wrapper${qt}-picture-card-wrapper,
${qt}-wrapper${qt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,On.dF)()),{display:"inline-block",width:"100%",[`${qt}${qt}-select`]:{width:rn,height:rn,marginInlineEnd:Ot.marginXS,marginBottom:Ot.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ot.colorFillAlter,border:`${Ot.lineWidth}px dashed ${Ot.colorBorder}`,borderRadius:Ot.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ot.motionDurationSlow}`,[`> ${qt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${qt}-disabled):hover`]:{borderColor:Ot.colorPrimary}},[`${Jt}${Jt}-picture-card, ${Jt}${Jt}-picture-circle`]:{[`${Jt}-item-container`]:{display:"inline-block",width:rn,height:rn,marginBlock:`0 ${Ot.marginXS}px`,marginInline:`0 ${Ot.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[En]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ot.paddingXS*2}px)`,height:`calc(100% - ${Ot.paddingXS*2}px)`,backgroundColor:Ot.colorBgMask,opacity:0,transition:`all ${Ot.motionDurationSlow}`,content:'" "'}},[`${En}:hover`]:{[`&::before, ${En}-actions`]:{opacity:1}},[`${En}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ot.motionDurationSlow}`,[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{zIndex:10,width:tn,margin:`0 ${Ot.marginXXS}px`,fontSize:tn,cursor:"pointer",transition:`all ${Ot.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${En}-actions, ${En}-actions:hover`]:{[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{color:new Gn.C(Tn).setAlpha(.65).toRgbString(),"&:hover":{color:Tn}}},[`${En}-thumbnail, ${En}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${En}-name`]:{display:"none",textAlign:"center"},[`${En}-file + ${En}-name`]:{position:"absolute",bottom:Ot.margin,display:"block",width:`calc(100% - ${Ot.paddingXS*2}px)`},[`${En}-uploading`]:{[`&${En}`]:{backgroundColor:Ot.colorFillAlter},[`&::before, ${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{display:"none"}},[`${En}-progress`]:{bottom:Ot.marginXL,width:`calc(100% - ${Ot.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${qt}-wrapper${qt}-picture-circle-wrapper`]:{[`${qt}${qt}-select`]:{borderRadius:"50%"}}}};var wt=Ot=>{const{componentCls:qt}=Ot;return{[`${qt}-rtl`]:{direction:"rtl"}}};const Rt=Ot=>{const{componentCls:qt,colorTextDisabled:Xt}=Ot;return{[`${qt}-wrapper`]:Object.assign(Object.assign({},(0,On.Wf)(Ot)),{[qt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${qt}-select`]:{display:"inline-block"},[`${qt}-disabled`]:{color:Xt,cursor:"not-allowed"}})}};var xt=(0,dn.Z)("Upload",Ot=>{const{fontSizeHeading3:qt,fontSize:Xt,lineHeight:tn,lineWidth:Tn,controlHeightLG:Jt}=Ot,En=Math.round(Xt*tn),rn=(0,tr.TS)(Ot,{uploadThumbnailSize:qt*2,uploadProgressOffset:En/2+Tn,uploadPicCardSize:Jt*2.55});return[Rt(rn),Qr(rn),wr(rn),br(rn),Kr(rn),In(rn),wt(rn),(0,Jn.Z)(rn)]},Ot=>({actionsColor:Ot.colorTextDescription})),sn=function(Ot,qt,Xt,tn){function Tn(Jt){return Jt instanceof Xt?Jt:new Xt(function(En){En(Jt)})}return new(Xt||(Xt=Promise))(function(Jt,En){function rn(xr){try{qn(tn.next(xr))}catch(Ir){En(Ir)}}function gr(xr){try{qn(tn.throw(xr))}catch(Ir){En(Ir)}}function qn(xr){xr.done?Jt(xr.value):Tn(xr.value).then(rn,gr)}qn((tn=tn.apply(Ot,qt||[])).next())})};const An=`__LIST_IGNORE_${Date.now()}__`,Nn=(Ot,qt)=>{const{fileList:Xt,defaultFileList:tn,onRemove:Tn,showUploadList:Jt=!0,listType:En="text",onPreview:rn,onDownload:gr,onChange:qn,onDrop:xr,previewFile:Ir,disabled:to,locale:an,iconRender:lo,isImageUrl:Mo,progress:qr,prefixCls:xo,className:Rn,type:Zn="select",children:Pr,style:jn,itemRender:no,maxCount:zr,data:jo={},multiple:No=!1,action:Do="",accept:Et="",supportServerRender:Pt=!0,rootClassName:Zt}=Ot,on=be.useContext(je.Z),gn=to!=null?to:on,[Un,cr]=(0,Ae.Z)(tn||[],{value:Xt,postState:ct=>ct!=null?ct:[]}),[Cr,Br]=be.useState("drop"),Zr=be.useRef(null);be.useMemo(()=>{const ct=Date.now();(Xt||[]).forEach((it,St)=>{!it.uid&&!Object.isFrozen(it)&&(it.uid=`__AUTO__${ct}_${St}__`)})},[Xt]);const Ur=(ct,it,St)=>{let Nt=(0,xe.Z)(it),Ut=!1;zr===1?Nt=Nt.slice(-1):zr&&(Ut=Nt.length>zr,Nt=Nt.slice(0,zr)),(0,Ie.flushSync)(()=>{cr(Nt)});const nn={file:ct,fileList:Nt};St&&(nn.event=St),(!Ut||Nt.some(pn=>pn.uid===ct.uid))&&(0,Ie.flushSync)(()=>{qn==null||qn(nn)})},mo=(ct,it)=>sn(void 0,void 0,void 0,function*(){const{beforeUpload:St,transformFile:Nt}=Ot;let Ut=ct;if(St){const nn=yield St(ct,it);if(nn===!1)return!1;if(delete ct[An],nn===An)return Object.defineProperty(ct,An,{value:!0,configurable:!0}),!1;typeof nn=="object"&&nn&&(Ut=nn)}return Nt&&(Ut=yield Nt(Ut)),Ut}),er=ct=>{const it=ct.filter(Ut=>!Ut.file[An]);if(!it.length)return;const St=it.map(Ut=>Ne(Ut.file));let Nt=(0,xe.Z)(Un);St.forEach(Ut=>{Nt=ze(Ut,Nt)}),St.forEach((Ut,nn)=>{let pn=Ut;if(it[nn].parsedFile)Ut.status="uploading";else{const{originFileObj:xn}=Ut;let Mn;try{Mn=new File([xn],xn.name,{type:xn.type})}catch(Dn){Mn=new Blob([xn],{type:xn.type}),Mn.name=xn.name,Mn.lastModifiedDate=new Date,Mn.lastModified=new Date().getTime()}Mn.uid=Ut.uid,pn=Mn}Ur(pn,Nt)})},Tt=(ct,it,St)=>{try{typeof ct=="string"&&(ct=JSON.parse(ct))}catch(nn){}if(!ot(it,Un))return;const Nt=Ne(it);Nt.status="done",Nt.percent=100,Nt.response=ct,Nt.xhr=St;const Ut=ze(Nt,Un);Ur(Nt,Ut)},Ft=(ct,it)=>{if(!ot(it,Un))return;const St=Ne(it);St.status="uploading",St.percent=ct.percent;const Nt=ze(St,Un);Ur(St,Nt,ct)},Wt=(ct,it,St)=>{if(!ot(St,Un))return;const Nt=Ne(St);Nt.error=ct,Nt.response=it,Nt.status="error";const Ut=ze(Nt,Un);Ur(Nt,Ut)},ut=ct=>{let it;Promise.resolve(typeof Tn=="function"?Tn(ct):Tn).then(St=>{var Nt;if(St===!1)return;const Ut=gt(ct,Un);Ut&&(it=Object.assign(Object.assign({},ct),{status:"removed"}),Un==null||Un.forEach(nn=>{const pn=it.uid!==void 0?"uid":"name";nn[pn]===it[pn]&&!Object.isFrozen(nn)&&(nn.status="removed")}),(Nt=Zr.current)===null||Nt===void 0||Nt.abort(it),Ur(it,Ut))})},Vt=ct=>{Br(ct.type),ct.type==="drop"&&(xr==null||xr(ct))};be.useImperativeHandle(qt,()=>({onBatchStart:er,onSuccess:Tt,onProgress:Ft,onError:Wt,fileList:Un,upload:Zr.current}));const{getPrefixCls:fn,direction:Sn,upload:Bt}=be.useContext(He.E_),Gt=fn("upload",xo),Ht=Object.assign(Object.assign({onBatchStart:er,onError:Wt,onProgress:Ft,onSuccess:Tt},Ot),{data:jo,multiple:No,action:Do,accept:Et,supportServerRender:Pt,prefixCls:Gt,disabled:gn,beforeUpload:mo,onChange:void 0});delete Ht.className,delete Ht.style,(!Pr||gn)&&delete Ht.id;const[Ln,Bn]=xt(Gt),[Yn]=(0,tt.Z)("Upload",Je.Z.Upload),{showRemoveIcon:Wn,showPreviewIcon:rr,showDownloadIcon:ur,removeIcon:bn,previewIcon:$t,downloadIcon:ln}=typeof Jt=="boolean"?{}:Jt,Pn=(ct,it)=>Jt?be.createElement(Cn,{prefixCls:Gt,listType:En,items:Un,previewFile:Ir,onPreview:rn,onDownload:gr,onRemove:ut,showRemoveIcon:!gn&&Wn,showPreviewIcon:rr,showDownloadIcon:ur,removeIcon:bn,previewIcon:$t,downloadIcon:ln,iconRender:lo,locale:Object.assign(Object.assign({},Yn),an),isImageUrl:Mo,progress:qr,appendAction:ct,appendActionVisible:it,itemRender:no,disabled:gn}):ct,Hn=he()(`${Gt}-wrapper`,Rn,Zt,Bn,Bt==null?void 0:Bt.className,{[`${Gt}-rtl`]:Sn==="rtl",[`${Gt}-picture-card-wrapper`]:En==="picture-card",[`${Gt}-picture-circle-wrapper`]:En==="picture-circle"}),ir=Object.assign(Object.assign({},Bt==null?void 0:Bt.style),jn);if(Zn==="drag"){const ct=he()(Bn,Gt,`${Gt}-drag`,{[`${Gt}-drag-uploading`]:Un.some(it=>it.status==="uploading"),[`${Gt}-drag-hover`]:Cr==="dragover",[`${Gt}-disabled`]:gn,[`${Gt}-rtl`]:Sn==="rtl"});return Ln(be.createElement("span",{className:Hn},be.createElement("div",{className:ct,style:ir,onDrop:Vt,onDragOver:Vt,onDragLeave:Vt},be.createElement(Ce,Object.assign({},Ht,{ref:Zr,className:`${Gt}-btn`}),be.createElement("div",{className:`${Gt}-drag-container`},Pr))),Pn()))}const vr=he()(Gt,`${Gt}-select`,{[`${Gt}-disabled`]:gn}),pr=(ct=>be.createElement("div",{className:vr,style:ct},be.createElement(Ce,Object.assign({},Ht,{ref:Zr}))))(Pr?void 0:{display:"none"});return Ln(En==="picture-card"||En==="picture-circle"?be.createElement("span",{className:Hn},Pn(pr,!!Pr)):be.createElement("span",{className:Hn},pr,Pn()))};var nr=be.forwardRef(Nn),fr=function(Ot,qt){var Xt={};for(var tn in Ot)Object.prototype.hasOwnProperty.call(Ot,tn)&&qt.indexOf(tn)<0&&(Xt[tn]=Ot[tn]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tn=0,tn=Object.getOwnPropertySymbols(Ot);Tn<tn.length;Tn++)qt.indexOf(tn[Tn])<0&&Object.prototype.propertyIsEnumerable.call(Ot,tn[Tn])&&(Xt[tn[Tn]]=Ot[tn[Tn]]);return Xt},Jr=be.forwardRef((Ot,qt)=>{var{style:Xt,height:tn}=Ot,Tn=fr(Ot,["style","height"]);return be.createElement(nr,Object.assign({ref:qt},Tn,{type:"drag",style:Object.assign(Object.assign({},Xt),{height:tn})}))});const hn=nr;hn.Dragger=Jr,hn.LIST_IGNORE=An;var Tr=hn},72665:function(Ct,dt){"use strict";var me;var be=typeof Symbol=="function"&&Symbol.for,xe=be?Symbol.for("react.element"):60103,E=be?Symbol.for("react.portal"):60106,he=be?Symbol.for("react.fragment"):60107,fe=be?Symbol.for("react.strict_mode"):60108,se=be?Symbol.for("react.profiler"):60114,re=be?Symbol.for("react.provider"):60109,ie=be?Symbol.for("react.context"):60110,le=be?Symbol.for("react.async_mode"):60111,ue=be?Symbol.for("react.concurrent_mode"):60111,ae=be?Symbol.for("react.forward_ref"):60112,oe=be?Symbol.for("react.suspense"):60113,ne=be?Symbol.for("react.suspense_list"):60120,z=be?Symbol.for("react.memo"):60115,a=be?Symbol.for("react.lazy"):60116,y=be?Symbol.for("react.block"):60121,x=be?Symbol.for("react.fundamental"):60117,b=be?Symbol.for("react.responder"):60118,ee=be?Symbol.for("react.scope"):60119;function te(de){if(typeof de=="object"&&de!==null){var ge=de.$$typeof;switch(ge){case xe:switch(de=de.type,de){case le:case ue:case he:case se:case fe:case oe:return de;default:switch(de=de&&de.$$typeof,de){case ie:case ae:case a:case z:case re:return de;default:return ge}}case E:return ge}}}function ce(de){return te(de)===ue}me=le,me=ue,me=ie,me=re,me=xe,me=ae,me=he,me=a,me=z,me=E,me=se,me=fe,me=oe,me=function(de){return ce(de)||te(de)===le},me=ce,me=function(de){return te(de)===ie},me=function(de){return te(de)===re},me=function(de){return typeof de=="object"&&de!==null&&de.$$typeof===xe},me=function(de){return te(de)===ae},me=function(de){return te(de)===he},me=function(de){return te(de)===a},dt.isMemo=function(de){return te(de)===z},me=function(de){return te(de)===E},me=function(de){return te(de)===se},me=function(de){return te(de)===fe},me=function(de){return te(de)===oe},me=function(de){return typeof de=="string"||typeof de=="function"||de===he||de===ue||de===se||de===fe||de===oe||de===ne||typeof de=="object"&&de!==null&&(de.$$typeof===a||de.$$typeof===z||de.$$typeof===re||de.$$typeof===ie||de.$$typeof===ae||de.$$typeof===x||de.$$typeof===b||de.$$typeof===ee||de.$$typeof===y)},me=te},12060:function(Ct,dt,me){"use strict";Ct.exports=me(72665)},56261:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return pe}});var be=me(87462),xe=me(4942),E=me(45987),he=me(1413),fe=me(15671),se=me(43144),re=me(97326),ie=me(60136),le=me(51630),ue=me(94184),ae=me.n(ue),oe=me(34952),ne=me(67294),z=me(69610),a=function(ye){for(var Pe=ye.prefixCls,we=ye.level,Le=ye.isStart,Ee=ye.isEnd,Te="".concat(Pe,"-indent-unit"),Ce=[],Ae=0;Ae<we;Ae+=1){var Ie;Ce.push(ne.createElement("span",{key:Ae,className:ae()(Te,(Ie={},(0,xe.Z)(Ie,"".concat(Te,"-start"),Le[Ae]),(0,xe.Z)(Ie,"".concat(Te,"-end"),Ee[Ae]),Ie))}))}return ne.createElement("span",{"aria-hidden":"true",className:"".concat(Pe,"-indent")},Ce)},y=ne.memo(a),x=me(3596),b=me(83898),ee=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",ce="close",de="---",ge=function(Se){(0,ie.Z)(Pe,Se);var ye=(0,le.Z)(Pe);function Pe(){var we;(0,fe.Z)(this,Pe);for(var Le=arguments.length,Ee=new Array(Le),Te=0;Te<Le;Te++)Ee[Te]=arguments[Te];return we=ye.call.apply(ye,[this].concat(Ee)),we.state={dragNodeHighlight:!1},we.selectHandle=void 0,we.cacheIndent=void 0,we.onSelectorClick=function(Ce){var Ae=we.props.context.onNodeClick;Ae(Ce,(0,b.F)(we.props)),we.isSelectable()?we.onSelect(Ce):we.onCheck(Ce)},we.onSelectorDoubleClick=function(Ce){var Ae=we.props.context.onNodeDoubleClick;Ae(Ce,(0,b.F)(we.props))},we.onSelect=function(Ce){if(!we.isDisabled()){var Ae=we.props.context.onNodeSelect;Ae(Ce,(0,b.F)(we.props))}},we.onCheck=function(Ce){if(!we.isDisabled()){var Ae=we.props,Ie=Ae.disableCheckbox,He=Ae.checked,je=we.props.context.onNodeCheck;if(!(!we.isCheckable()||Ie)){var tt=!He;je(Ce,(0,b.F)(we.props),tt)}}},we.onMouseEnter=function(Ce){var Ae=we.props.context.onNodeMouseEnter;Ae(Ce,(0,b.F)(we.props))},we.onMouseLeave=function(Ce){var Ae=we.props.context.onNodeMouseLeave;Ae(Ce,(0,b.F)(we.props))},we.onContextMenu=function(Ce){var Ae=we.props.context.onNodeContextMenu;Ae(Ce,(0,b.F)(we.props))},we.onDragStart=function(Ce){var Ae=we.props.context.onNodeDragStart;Ce.stopPropagation(),we.setState({dragNodeHighlight:!0}),Ae(Ce,(0,re.Z)(we));try{Ce.dataTransfer.setData("text/plain","")}catch(Ie){}},we.onDragEnter=function(Ce){var Ae=we.props.context.onNodeDragEnter;Ce.preventDefault(),Ce.stopPropagation(),Ae(Ce,(0,re.Z)(we))},we.onDragOver=function(Ce){var Ae=we.props.context.onNodeDragOver;Ce.preventDefault(),Ce.stopPropagation(),Ae(Ce,(0,re.Z)(we))},we.onDragLeave=function(Ce){var Ae=we.props.context.onNodeDragLeave;Ce.stopPropagation(),Ae(Ce,(0,re.Z)(we))},we.onDragEnd=function(Ce){var Ae=we.props.context.onNodeDragEnd;Ce.stopPropagation(),we.setState({dragNodeHighlight:!1}),Ae(Ce,(0,re.Z)(we))},we.onDrop=function(Ce){var Ae=we.props.context.onNodeDrop;Ce.preventDefault(),Ce.stopPropagation(),we.setState({dragNodeHighlight:!1}),Ae(Ce,(0,re.Z)(we))},we.onExpand=function(Ce){var Ae=we.props,Ie=Ae.loading,He=Ae.context.onNodeExpand;Ie||He(Ce,(0,b.F)(we.props))},we.setSelectHandle=function(Ce){we.selectHandle=Ce},we.getNodeState=function(){var Ce=we.props.expanded;return we.isLeaf()?null:Ce?te:ce},we.hasChildren=function(){var Ce=we.props.eventKey,Ae=we.props.context.keyEntities,Ie=(0,x.Z)(Ae,Ce)||{},He=Ie.children;return!!(He||[]).length},we.isLeaf=function(){var Ce=we.props,Ae=Ce.isLeaf,Ie=Ce.loaded,He=we.props.context.loadData,je=we.hasChildren();return Ae===!1?!1:Ae||!He&&!je||He&&Ie&&!je},we.isDisabled=function(){var Ce=we.props.disabled,Ae=we.props.context.disabled;return!!(Ae||Ce)},we.isCheckable=function(){var Ce=we.props.checkable,Ae=we.props.context.checkable;return!Ae||Ce===!1?!1:Ae},we.syncLoadData=function(Ce){var Ae=Ce.expanded,Ie=Ce.loading,He=Ce.loaded,je=we.props.context,tt=je.loadData,Je=je.onNodeLoad;Ie||tt&&Ae&&!we.isLeaf()&&!we.hasChildren()&&!He&&Je((0,b.F)(we.props))},we.isDraggable=function(){var Ce=we.props,Ae=Ce.data,Ie=Ce.context.draggable;return!!(Ie&&(!Ie.nodeDraggable||Ie.nodeDraggable(Ae)))},we.renderDragHandler=function(){var Ce=we.props.context,Ae=Ce.draggable,Ie=Ce.prefixCls;return Ae!=null&&Ae.icon?ne.createElement("span",{className:"".concat(Ie,"-draggable-icon")},Ae.icon):null},we.renderSwitcherIconDom=function(Ce){var Ae=we.props.switcherIcon,Ie=we.props.context.switcherIcon,He=Ae||Ie;return typeof He=="function"?He((0,he.Z)((0,he.Z)({},we.props),{},{isLeaf:Ce})):He},we.renderSwitcher=function(){var Ce=we.props.expanded,Ae=we.props.context.prefixCls;if(we.isLeaf()){var Ie=we.renderSwitcherIconDom(!0);return Ie!==!1?ne.createElement("span",{className:ae()("".concat(Ae,"-switcher"),"".concat(Ae,"-switcher-noop"))},Ie):null}var He=ae()("".concat(Ae,"-switcher"),"".concat(Ae,"-switcher_").concat(Ce?te:ce)),je=we.renderSwitcherIconDom(!1);return je!==!1?ne.createElement("span",{onClick:we.onExpand,className:He},je):null},we.renderCheckbox=function(){var Ce=we.props,Ae=Ce.checked,Ie=Ce.halfChecked,He=Ce.disableCheckbox,je=we.props.context.prefixCls,tt=we.isDisabled(),Je=we.isCheckable();if(!Je)return null;var Qe=typeof Je!="boolean"?Je:null;return ne.createElement("span",{className:ae()("".concat(je,"-checkbox"),Ae&&"".concat(je,"-checkbox-checked"),!Ae&&Ie&&"".concat(je,"-checkbox-indeterminate"),(tt||He)&&"".concat(je,"-checkbox-disabled")),onClick:we.onCheck},Qe)},we.renderIcon=function(){var Ce=we.props.loading,Ae=we.props.context.prefixCls;return ne.createElement("span",{className:ae()("".concat(Ae,"-iconEle"),"".concat(Ae,"-icon__").concat(we.getNodeState()||"docu"),Ce&&"".concat(Ae,"-icon_loading"))})},we.renderSelector=function(){var Ce=we.state.dragNodeHighlight,Ae=we.props,Ie=Ae.title,He=Ie===void 0?de:Ie,je=Ae.selected,tt=Ae.icon,Je=Ae.loading,Qe=Ae.data,Xe=we.props.context,$e=Xe.prefixCls,ke=Xe.showIcon,Ue=Xe.icon,qe=Xe.loadData,Ye=Xe.titleRender,ft=we.isDisabled(),We="".concat($e,"-node-content-wrapper"),Ke;if(ke){var Re=tt||Ue;Ke=Re?ne.createElement("span",{className:ae()("".concat($e,"-iconEle"),"".concat($e,"-icon__customize"))},typeof Re=="function"?Re(we.props):Re):we.renderIcon()}else qe&&Je&&(Ke=we.renderIcon());var et;typeof He=="function"?et=He(Qe):Ye?et=Ye(Qe):et=He;var Me=ne.createElement("span",{className:"".concat($e,"-title")},et);return ne.createElement("span",{ref:we.setSelectHandle,title:typeof He=="string"?He:"",className:ae()("".concat(We),"".concat(We,"-").concat(we.getNodeState()||"normal"),!ft&&(je||Ce)&&"".concat($e,"-node-selected")),onMouseEnter:we.onMouseEnter,onMouseLeave:we.onMouseLeave,onContextMenu:we.onContextMenu,onClick:we.onSelectorClick,onDoubleClick:we.onSelectorDoubleClick},Ke,Me,we.renderDropIndicator())},we.renderDropIndicator=function(){var Ce=we.props,Ae=Ce.disabled,Ie=Ce.eventKey,He=we.props.context,je=He.draggable,tt=He.dropLevelOffset,Je=He.dropPosition,Qe=He.prefixCls,Xe=He.indent,$e=He.dropIndicatorRender,ke=He.dragOverNodeKey,Ue=He.direction,qe=!!je,Ye=!Ae&&qe&&ke===Ie,ft=Xe!=null?Xe:we.cacheIndent;return we.cacheIndent=Xe,Ye?$e({dropPosition:Je,dropLevelOffset:tt,indent:ft,prefixCls:Qe,direction:Ue}):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 Le=this.props.selectable,Ee=this.props.context.selectable;return typeof Le=="boolean"?Le:Ee}},{key:"render",value:function(){var Le,Ee=this.props,Te=Ee.eventKey,Ce=Ee.className,Ae=Ee.style,Ie=Ee.dragOver,He=Ee.dragOverGapTop,je=Ee.dragOverGapBottom,tt=Ee.isLeaf,Je=Ee.isStart,Qe=Ee.isEnd,Xe=Ee.expanded,$e=Ee.selected,ke=Ee.checked,Ue=Ee.halfChecked,qe=Ee.loading,Ye=Ee.domRef,ft=Ee.active,We=Ee.data,Ke=Ee.onMouseMove,Re=Ee.selectable,et=(0,E.Z)(Ee,ee),Me=this.props.context,Ge=Me.prefixCls,Ve=Me.filterTreeNode,Ze=Me.keyEntities,Fe=Me.dropContainerKey,Oe=Me.dropTargetKey,_e=Me.draggingNodeKey,Ne=this.isDisabled(),ze=(0,oe.Z)(et,{aria:!0,data:!0}),ot=(0,x.Z)(Ze,Te)||{},gt=ot.level,yt=Qe[Qe.length-1],nt=this.isDraggable(),mt=!Ne&&nt,At=_e===Te,kt=Re!==void 0?{"aria-selected":!!Re}:void 0;return ne.createElement("div",(0,be.Z)({ref:Ye,className:ae()(Ce,"".concat(Ge,"-treenode"),(Le={},(0,xe.Z)(Le,"".concat(Ge,"-treenode-disabled"),Ne),(0,xe.Z)(Le,"".concat(Ge,"-treenode-switcher-").concat(Xe?"open":"close"),!tt),(0,xe.Z)(Le,"".concat(Ge,"-treenode-checkbox-checked"),ke),(0,xe.Z)(Le,"".concat(Ge,"-treenode-checkbox-indeterminate"),Ue),(0,xe.Z)(Le,"".concat(Ge,"-treenode-selected"),$e),(0,xe.Z)(Le,"".concat(Ge,"-treenode-loading"),qe),(0,xe.Z)(Le,"".concat(Ge,"-treenode-active"),ft),(0,xe.Z)(Le,"".concat(Ge,"-treenode-leaf-last"),yt),(0,xe.Z)(Le,"".concat(Ge,"-treenode-draggable"),nt),(0,xe.Z)(Le,"dragging",At),(0,xe.Z)(Le,"drop-target",Oe===Te),(0,xe.Z)(Le,"drop-container",Fe===Te),(0,xe.Z)(Le,"drag-over",!Ne&&Ie),(0,xe.Z)(Le,"drag-over-gap-top",!Ne&&He),(0,xe.Z)(Le,"drag-over-gap-bottom",!Ne&&je),(0,xe.Z)(Le,"filter-node",Ve&&Ve((0,b.F)(this.props))),Le)),style:Ae,draggable:mt,"aria-grabbed":At,onDragStart:mt?this.onDragStart:void 0,onDragEnter:nt?this.onDragEnter:void 0,onDragOver:nt?this.onDragOver:void 0,onDragLeave:nt?this.onDragLeave:void 0,onDrop:nt?this.onDrop:void 0,onDragEnd:nt?this.onDragEnd:void 0,onMouseMove:Ke},kt,ze),ne.createElement(y,{prefixCls:Ge,level:gt,isStart:Je,isEnd:Qe}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Pe}(ne.Component),ve=function(ye){return ne.createElement(z.k.Consumer,null,function(Pe){return ne.createElement(ge,(0,be.Z)({},ye,{context:Pe}))})};ve.displayName="TreeNode",ve.isTreeNode=1;var pe=ve},69610:function(Ct,dt,me){"use strict";me.d(dt,{k:function(){return xe}});var be=me(67294),xe=be.createContext(null)},29873:function(Ct,dt,me){"use strict";me.d(dt,{BT:function(){return y},E6:function(){return ee},L0:function(){return ue},OM:function(){return a},_5:function(){return le},r7:function(){return te},wA:function(){return oe},yx:function(){return ae}});var be=me(74902),xe=me(71002),E=me(72978),he=me(67294),fe=me(56261),se=me(3596),re=me(83898),ie=null;function le(ce,de){if(!ce)return[];var ge=ce.slice(),ve=ge.indexOf(de);return ve>=0&&ge.splice(ve,1),ge}function ue(ce,de){var ge=(ce||[]).slice();return ge.indexOf(de)===-1&&ge.push(de),ge}function ae(ce){return ce.split("-")}function oe(ce,de){var ge=[],ve=(0,se.Z)(de,ce);function pe(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Se.forEach(function(ye){var Pe=ye.key,we=ye.children;ge.push(Pe),pe(we)})}return pe(ve.children),ge}function ne(ce){if(ce.parent){var de=ae(ce.pos);return Number(de[de.length-1])===ce.parent.children.length-1}return!1}function z(ce){var de=ae(ce.pos);return Number(de[de.length-1])===0}function a(ce,de,ge,ve,pe,Se,ye,Pe,we,Le){var Ee,Te=ce.clientX,Ce=ce.clientY,Ae=ce.target.getBoundingClientRect(),Ie=Ae.top,He=Ae.height,je=(Le==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-Te),tt=(je-12)/ve,Je=(0,se.Z)(Pe,ge.props.eventKey);if(Ce<Ie+He/2){var Qe=ye.findIndex(function(Me){return Me.key===Je.key}),Xe=Qe<=0?0:Qe-1,$e=ye[Xe].key;Je=(0,se.Z)(Pe,$e)}var ke=Je.key,Ue=Je,qe=Je.key,Ye=0,ft=0;if(!we.includes(ke))for(var We=0;We<tt&&ne(Je);We+=1)Je=Je.parent,ft+=1;var Ke=de.props.data,Re=Je.node,et=!0;return z(Je)&&Je.level===0&&Ce<Ie+He/2&&Se({dragNode:Ke,dropNode:Re,dropPosition:-1})&&Je.key===ge.props.eventKey?Ye=-1:(Ue.children||[]).length&&we.includes(qe)?Se({dragNode:Ke,dropNode:Re,dropPosition:0})?Ye=0:et=!1:ft===0?tt>-1.5?Se({dragNode:Ke,dropNode:Re,dropPosition:1})?Ye=1:et=!1:Se({dragNode:Ke,dropNode:Re,dropPosition:0})?Ye=0:Se({dragNode:Ke,dropNode:Re,dropPosition:1})?Ye=1:et=!1:Se({dragNode:Ke,dropNode:Re,dropPosition:1})?Ye=1:et=!1,{dropPosition:Ye,dropLevelOffset:ft,dropTargetKey:Je.key,dropTargetPos:Je.pos,dragOverNodeKey:qe,dropContainerKey:Ye===0?null:((Ee=Je.parent)===null||Ee===void 0?void 0:Ee.key)||null,dropAllowed:et}}function y(ce,de){if(ce){var ge=de.multiple;return ge?ce.slice():ce.length?[ce[0]]:ce}}var x=function(de){return de};function b(ce,de){if(!ce)return[];var ge=de||{},ve=ge.processProps,pe=ve===void 0?x:ve,Se=Array.isArray(ce)?ce:[ce];return Se.map(function(ye){var Pe=ye.children,we=_objectWithoutProperties(ye,ie),Le=b(Pe,de);return React.createElement(TreeNode,_extends({key:we.key},pe(we)),Le)})}function ee(ce){if(!ce)return null;var de;if(Array.isArray(ce))de={checkedKeys:ce,halfCheckedKeys:void 0};else if((0,xe.Z)(ce)==="object")de={checkedKeys:ce.checked||void 0,halfCheckedKeys:ce.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return de}function te(ce,de){var ge=new Set;function ve(pe){if(!ge.has(pe)){var Se=(0,se.Z)(de,pe);if(Se){ge.add(pe);var ye=Se.parent,Pe=Se.node;Pe.disabled||ye&&ve(ye.key)}}}return(ce||[]).forEach(function(pe){ve(pe)}),(0,be.Z)(ge)}},97153:function(Ct,dt,me){"use strict";me.d(dt,{S:function(){return re}});var be=me(72978),xe=me(3596);function E(ie,le){var ue=new Set;return ie.forEach(function(ae){le.has(ae)||ue.add(ae)}),ue}function he(ie){var le=ie||{},ue=le.disabled,ae=le.disableCheckbox,oe=le.checkable;return!!(ue||ae)||oe===!1}function fe(ie,le,ue,ae){for(var oe=new Set(ie),ne=new Set,z=0;z<=ue;z+=1){var a=le.get(z)||new Set;a.forEach(function(ee){var te=ee.key,ce=ee.node,de=ee.children,ge=de===void 0?[]:de;oe.has(te)&&!ae(ce)&&ge.filter(function(ve){return!ae(ve.node)}).forEach(function(ve){oe.add(ve.key)})})}for(var y=new Set,x=ue;x>=0;x-=1){var b=le.get(x)||new Set;b.forEach(function(ee){var te=ee.parent,ce=ee.node;if(!(ae(ce)||!ee.parent||y.has(ee.parent.key))){if(ae(ee.parent.node)){y.add(te.key);return}var de=!0,ge=!1;(te.children||[]).filter(function(ve){return!ae(ve.node)}).forEach(function(ve){var pe=ve.key,Se=oe.has(pe);de&&!Se&&(de=!1),!ge&&(Se||ne.has(pe))&&(ge=!0)}),de&&oe.add(te.key),ge&&ne.add(te.key),y.add(te.key)}})}return{checkedKeys:Array.from(oe),halfCheckedKeys:Array.from(E(ne,oe))}}function se(ie,le,ue,ae,oe){for(var ne=new Set(ie),z=new Set(le),a=0;a<=ae;a+=1){var y=ue.get(a)||new Set;y.forEach(function(te){var ce=te.key,de=te.node,ge=te.children,ve=ge===void 0?[]:ge;!ne.has(ce)&&!z.has(ce)&&!oe(de)&&ve.filter(function(pe){return!oe(pe.node)}).forEach(function(pe){ne.delete(pe.key)})})}z=new Set;for(var x=new Set,b=ae;b>=0;b-=1){var ee=ue.get(b)||new Set;ee.forEach(function(te){var ce=te.parent,de=te.node;if(!(oe(de)||!te.parent||x.has(te.parent.key))){if(oe(te.parent.node)){x.add(ce.key);return}var ge=!0,ve=!1;(ce.children||[]).filter(function(pe){return!oe(pe.node)}).forEach(function(pe){var Se=pe.key,ye=ne.has(Se);ge&&!ye&&(ge=!1),!ve&&(ye||z.has(Se))&&(ve=!0)}),ge||ne.delete(ce.key),ve&&z.add(ce.key),x.add(ce.key)}})}return{checkedKeys:Array.from(ne),halfCheckedKeys:Array.from(E(z,ne))}}function re(ie,le,ue,ae){var oe=[],ne;ae?ne=ae:ne=he;var z=new Set(ie.filter(function(b){var ee=!!(0,xe.Z)(ue,b);return ee||oe.push(b),ee})),a=new Map,y=0;Object.keys(ue).forEach(function(b){var ee=ue[b],te=ee.level,ce=a.get(te);ce||(ce=new Set,a.set(te,ce)),ce.add(ee),y=Math.max(y,te)}),(0,be.ZP)(!oe.length,"Tree missing follow keys: ".concat(oe.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return le===!0?x=fe(z,a,y,ne):x=se(z,le.halfCheckedKeys,a,y,ne),x}},3596:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return be}});function be(xe,E){return xe[E]}},83898:function(Ct,dt,me){"use strict";me.d(dt,{I8:function(){return te},F:function(){return de},zn:function(){return x},w$:function(){return a},oH:function(){return b},km:function(){return z},H8:function(){return ce}});var be=me(71002),xe=me(74902),E=me(1413),he=me(45987),fe=me(67294),se=me(28580);function re(ge){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=[];return fe.Children.forEach(ge,function(Se){Se==null&&!ve.keepEmpty||(Array.isArray(Se)?pe=pe.concat(re(Se)):(0,se.isFragment)(Se)&&Se.props?pe=pe.concat(re(Se.props.children,ve)):pe.push(Se))}),pe}function ie(ge,ve){var pe=(0,E.Z)({},ge);return Array.isArray(ve)&&ve.forEach(function(Se){delete pe[Se]}),pe}var le=me(72978),ue=me(3596),ae=["children"];function oe(ge,ve){return"".concat(ge,"-").concat(ve)}function ne(ge){return ge&&ge.type&&ge.type.isTreeNode}function z(ge,ve){return ge!=null?ge:ve}function a(ge){var ve=ge||{},pe=ve.title,Se=ve._title,ye=ve.key,Pe=ve.children,we=pe||"title";return{title:we,_title:Se||[we],key:ye||"key",children:Pe||"children"}}function y(ge,ve){var pe=new Map;function Se(ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ye||[]).forEach(function(we){var Le=we[ve.key],Ee=we[ve.children];warning(Le!=null,"Tree node must have a certain key: [".concat(Pe).concat(Le,"]"));var Te=String(Le);warning(!pe.has(Te)||Le===null||Le===void 0,"Same 'key' exist in the Tree: ".concat(Te)),pe.set(Te,!0),Se(Ee,"".concat(Pe).concat(Te," > "))})}Se(ge)}function x(ge){function ve(pe){var Se=re(pe);return Se.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,Le=we.children,Ee=(0,he.Z)(we,ae),Te=(0,E.Z)({key:Pe},Ee),Ce=ve(Le);return Ce.length&&(Te.children=Ce),Te}).filter(function(ye){return ye})}return ve(ge)}function b(ge,ve,pe){var Se=a(pe),ye=Se._title,Pe=Se.key,we=Se.children,Le=new Set(ve===!0?[]:ve),Ee=[];function Te(Ce){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ce.map(function(Ie,He){for(var je=oe(Ae?Ae.pos:"0",He),tt=z(Ie[Pe],je),Je,Qe=0;Qe<ye.length;Qe+=1){var Xe=ye[Qe];if(Ie[Xe]!==void 0){Je=Ie[Xe];break}}var $e=(0,E.Z)((0,E.Z)({},ie(Ie,[].concat((0,xe.Z)(ye),[Pe,we]))),{},{title:Je,key:tt,parent:Ae,pos:je,children:null,data:Ie,isStart:[].concat((0,xe.Z)(Ae?Ae.isStart:[]),[He===0]),isEnd:[].concat((0,xe.Z)(Ae?Ae.isEnd:[]),[He===Ce.length-1])});return Ee.push($e),ve===!0||Le.has(tt)?$e.children=Te(Ie[we]||[],$e):$e.children=[],$e})}return Te(ge),Ee}function ee(ge,ve,pe){var Se={};(0,be.Z)(pe)==="object"?Se=pe:Se={externalGetKey:pe},Se=Se||{};var ye=Se,Pe=ye.childrenPropName,we=ye.externalGetKey,Le=ye.fieldNames,Ee=a(Le),Te=Ee.key,Ce=Ee.children,Ae=Pe||Ce,Ie;we?typeof we=="string"?Ie=function(tt){return tt[we]}:typeof we=="function"&&(Ie=function(tt){return we(tt)}):Ie=function(tt,Je){return z(tt[Te],Je)};function He(je,tt,Je,Qe){var Xe=je?je[Ae]:ge,$e=je?oe(Je.pos,tt):"0",ke=je?[].concat((0,xe.Z)(Qe),[je]):[];if(je){var Ue=Ie(je,$e),qe={node:je,index:tt,pos:$e,key:Ue,parentPos:Je.node?Je.pos:null,level:Je.level+1,nodes:ke};ve(qe)}Xe&&Xe.forEach(function(Ye,ft){He(Ye,ft,{node:je,pos:$e,level:Je?Je.level+1:-1},ke)})}He(null)}function te(ge){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=ve.initWrapper,Se=ve.processEntity,ye=ve.onProcessFinished,Pe=ve.externalGetKey,we=ve.childrenPropName,Le=ve.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,Te=Pe||Ee,Ce={},Ae={},Ie={posEntities:Ce,keyEntities:Ae};return pe&&(Ie=pe(Ie)||Ie),ee(ge,function(He){var je=He.node,tt=He.index,Je=He.pos,Qe=He.key,Xe=He.parentPos,$e=He.level,ke=He.nodes,Ue={node:je,nodes:ke,index:tt,key:Qe,pos:Je,level:$e},qe=z(Qe,Je);Ce[Je]=Ue,Ae[qe]=Ue,Ue.parent=Ce[Xe],Ue.parent&&(Ue.parent.children=Ue.parent.children||[],Ue.parent.children.push(Ue)),Se&&Se(Ue,Ie)},{externalGetKey:Te,childrenPropName:we,fieldNames:Le}),ye&&ye(Ie),Ie}function ce(ge,ve){var pe=ve.expandedKeys,Se=ve.selectedKeys,ye=ve.loadedKeys,Pe=ve.loadingKeys,we=ve.checkedKeys,Le=ve.halfCheckedKeys,Ee=ve.dragOverNodeKey,Te=ve.dropPosition,Ce=ve.keyEntities,Ae=(0,ue.Z)(Ce,ge),Ie={eventKey:ge,expanded:pe.indexOf(ge)!==-1,selected:Se.indexOf(ge)!==-1,loaded:ye.indexOf(ge)!==-1,loading:Pe.indexOf(ge)!==-1,checked:we.indexOf(ge)!==-1,halfChecked:Le.indexOf(ge)!==-1,pos:String(Ae?Ae.pos:""),dragOver:Ee===ge&&Te===0,dragOverGapTop:Ee===ge&&Te===-1,dragOverGapBottom:Ee===ge&&Te===1};return Ie}function de(ge){var ve=ge.data,pe=ge.expanded,Se=ge.selected,ye=ge.checked,Pe=ge.loaded,we=ge.loading,Le=ge.halfChecked,Ee=ge.dragOver,Te=ge.dragOverGapTop,Ce=ge.dragOverGapBottom,Ae=ge.pos,Ie=ge.active,He=ge.eventKey,je=(0,E.Z)((0,E.Z)({},ve),{},{expanded:pe,selected:Se,checked:ye,loaded:Pe,loading:we,halfChecked:Le,dragOver:Ee,dragOverGapTop:Te,dragOverGapBottom:Ce,pos:Ae,active:Ie,key:He});return"props"in je||Object.defineProperty(je,"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`."),ge}}),je}},34952:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return ie}});var be=me(1413),xe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,E=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,he="".concat(xe," ").concat(E).split(/[\s\n]+/),fe="aria-",se="data-";function re(le,ue){return le.indexOf(ue)===0}function ie(le){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae;ue===!1?ae={aria:!0,data:!0,attr:!0}:ue===!0?ae={aria:!0}:ae=(0,be.Z)({},ue);var oe={};return Object.keys(le).forEach(function(ne){(ae.aria&&(ne==="role"||re(ne,fe))||ae.data&&re(ne,se)||ae.attr&&he.includes(ne))&&(oe[ne]=le[ne])}),oe}},72978:function(Ct,dt,me){"use strict";var be={};function xe(ie,le){}function E(ie,le){}function he(){be={}}function fe(ie,le,ue){!le&&!be[ue]&&(ie(!1,ue),be[ue]=!0)}function se(ie,le){fe(xe,ie,le)}function re(ie,le){fe(E,ie,le)}dt.ZP=se},81533:function(Ct,dt){"use strict";var me;var be=typeof Symbol=="function"&&Symbol.for,xe=be?Symbol.for("react.element"):60103,E=be?Symbol.for("react.portal"):60106,he=be?Symbol.for("react.fragment"):60107,fe=be?Symbol.for("react.strict_mode"):60108,se=be?Symbol.for("react.profiler"):60114,re=be?Symbol.for("react.provider"):60109,ie=be?Symbol.for("react.context"):60110,le=be?Symbol.for("react.async_mode"):60111,ue=be?Symbol.for("react.concurrent_mode"):60111,ae=be?Symbol.for("react.forward_ref"):60112,oe=be?Symbol.for("react.suspense"):60113,ne=be?Symbol.for("react.suspense_list"):60120,z=be?Symbol.for("react.memo"):60115,a=be?Symbol.for("react.lazy"):60116,y=be?Symbol.for("react.block"):60121,x=be?Symbol.for("react.fundamental"):60117,b=be?Symbol.for("react.responder"):60118,ee=be?Symbol.for("react.scope"):60119;function te(de){if(typeof de=="object"&&de!==null){var ge=de.$$typeof;switch(ge){case xe:switch(de=de.type,de){case le:case ue:case he:case se:case fe:case oe:return de;default:switch(de=de&&de.$$typeof,de){case ie:case ae:case a:case z:case re:return de;default:return ge}}case E:return ge}}}function ce(de){return te(de)===ue}me=le,me=ue,me=ie,me=re,me=xe,me=ae,me=he,me=a,me=z,me=E,me=se,me=fe,me=oe,me=function(de){return ce(de)||te(de)===le},me=ce,me=function(de){return te(de)===ie},me=function(de){return te(de)===re},me=function(de){return typeof de=="object"&&de!==null&&de.$$typeof===xe},me=function(de){return te(de)===ae},dt.isFragment=function(de){return te(de)===he},me=function(de){return te(de)===a},dt.isMemo=function(de){return te(de)===z},me=function(de){return te(de)===E},me=function(de){return te(de)===se},me=function(de){return te(de)===fe},me=function(de){return te(de)===oe},me=function(de){return typeof de=="string"||typeof de=="function"||de===he||de===ue||de===se||de===fe||de===oe||de===ne||typeof de=="object"&&de!==null&&(de.$$typeof===a||de.$$typeof===z||de.$$typeof===re||de.$$typeof===ie||de.$$typeof===ae||de.$$typeof===x||de.$$typeof===b||de.$$typeof===ee||de.$$typeof===y)},me=te},28580:function(Ct,dt,me){"use strict";Ct.exports=me(81533)},92389:function(Ct,dt){"use strict";var me={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>=me.F1&&E<=me.F12)return!1;switch(E){case me.ALT:case me.CAPS_LOCK:case me.CONTEXT_MENU:case me.CTRL:case me.DOWN:case me.END:case me.ESC:case me.HOME:case me.INSERT:case me.LEFT:case me.MAC_FF_META:case me.META:case me.NUMLOCK:case me.NUM_CENTER:case me.PAGE_DOWN:case me.PAGE_UP:case me.PAUSE:case me.PRINT_SCREEN:case me.RIGHT:case me.SHIFT:case me.UP:case me.WIN_KEY:case me.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(xe){if(xe>=me.ZERO&&xe<=me.NINE||xe>=me.NUM_ZERO&&xe<=me.NUM_MULTIPLY||xe>=me.A&&xe<=me.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&xe===0)return!0;switch(xe){case me.SPACE:case me.QUESTION_MARK:case me.NUM_PLUS:case me.NUM_MINUS:case me.NUM_PERIOD:case me.NUM_DIVISION:case me.SEMICOLON:case me.DASH:case me.EQUALS:case me.COMMA:case me.PERIOD:case me.SLASH:case me.APOSTROPHE:case me.SINGLE_QUOTE:case me.OPEN_SQUARE_BRACKET:case me.BACKSLASH:case me.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};dt.Z=me},19575:function(Ct,dt,me){var be,xe;(function(E,he){Ct.exports=he(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof me.g!="undefined"?me.g:this,function(E){"use strict";E=E||{};var he=E.Base64,fe="2.6.4",se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=function(Ee){for(var Te={},Ce=0,Ae=Ee.length;Ce<Ae;Ce++)Te[Ee.charAt(Ce)]=Ce;return Te}(se),ie=String.fromCharCode,le=function(Ee){if(Ee.length<2){var Te=Ee.charCodeAt(0);return Te<128?Ee:Te<2048?ie(192|Te>>>6)+ie(128|Te&63):ie(224|Te>>>12&15)+ie(128|Te>>>6&63)+ie(128|Te&63)}else{var Te=65536+(Ee.charCodeAt(0)-55296)*1024+(Ee.charCodeAt(1)-56320);return ie(240|Te>>>18&7)+ie(128|Te>>>12&63)+ie(128|Te>>>6&63)+ie(128|Te&63)}},ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ae=function(Ee){return Ee.replace(ue,le)},oe=function(Ee){var Te=[0,2,1][Ee.length%3],Ce=Ee.charCodeAt(0)<<16|(Ee.length>1?Ee.charCodeAt(1):0)<<8|(Ee.length>2?Ee.charCodeAt(2):0),Ae=[se.charAt(Ce>>>18),se.charAt(Ce>>>12&63),Te>=2?"=":se.charAt(Ce>>>6&63),Te>=1?"=":se.charAt(Ce&63)];return Ae.join("")},ne=E.btoa&&typeof E.btoa=="function"?function(Ee){return E.btoa(Ee)}:function(Ee){if(Ee.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ee.replace(/[\s\S]{1,3}/g,oe)},z=function(Ee){return ne(ae(String(Ee)))},a=function(Ee){return Ee.replace(/[+\/]/g,function(Te){return Te=="+"?"-":"_"}).replace(/=/g,"")},y=function(Ee,Te){return Te?a(z(Ee)):z(Ee)},x=function(Ee){return y(Ee,!0)},b;E.Uint8Array&&(b=function(Ee,Te){for(var Ce="",Ae=0,Ie=Ee.length;Ae<Ie;Ae+=3){var He=Ee[Ae],je=Ee[Ae+1],tt=Ee[Ae+2],Je=He<<16|je<<8|tt;Ce+=se.charAt(Je>>>18)+se.charAt(Je>>>12&63)+(typeof je!="undefined"?se.charAt(Je>>>6&63):"=")+(typeof tt!="undefined"?se.charAt(Je&63):"=")}return Te?a(Ce):Ce});var ee=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Ee){switch(Ee.length){case 4:var Te=(7&Ee.charCodeAt(0))<<18|(63&Ee.charCodeAt(1))<<12|(63&Ee.charCodeAt(2))<<6|63&Ee.charCodeAt(3),Ce=Te-65536;return ie((Ce>>>10)+55296)+ie((Ce&1023)+56320);case 3:return ie((15&Ee.charCodeAt(0))<<12|(63&Ee.charCodeAt(1))<<6|63&Ee.charCodeAt(2));default:return ie((31&Ee.charCodeAt(0))<<6|63&Ee.charCodeAt(1))}},ce=function(Ee){return Ee.replace(ee,te)},de=function(Ee){var Te=Ee.length,Ce=Te%4,Ae=(Te>0?re[Ee.charAt(0)]<<18:0)|(Te>1?re[Ee.charAt(1)]<<12:0)|(Te>2?re[Ee.charAt(2)]<<6:0)|(Te>3?re[Ee.charAt(3)]:0),Ie=[ie(Ae>>>16),ie(Ae>>>8&255),ie(Ae&255)];return Ie.length-=[0,0,2,1][Ce],Ie.join("")},ge=E.atob&&typeof E.atob=="function"?function(Ee){return E.atob(Ee)}:function(Ee){return Ee.replace(/\S{1,4}/g,de)},ve=function(Ee){return ge(String(Ee).replace(/[^A-Za-z0-9\+\/]/g,""))},pe=function(Ee){return ce(ge(Ee))},Se=function(Ee){return String(Ee).replace(/[-_]/g,function(Te){return Te=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ye=function(Ee){return pe(Se(Ee))},Pe;E.Uint8Array&&(Pe=function(Ee){return Uint8Array.from(ve(Se(Ee)),function(Te){return Te.charCodeAt(0)})});var we=function(){var Ee=E.Base64;return E.Base64=he,Ee};if(E.Base64={VERSION:fe,atob:ve,btoa:ne,fromBase64:ye,toBase64:y,utob:ae,encode:y,encodeURI:x,btou:ce,decode:ye,noConflict:we,fromUint8Array:b,toUint8Array:Pe},typeof Object.defineProperty=="function"){var Le=function(Ee){return{value:Ee,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Le(function(){return ye(this)})),Object.defineProperty(String.prototype,"toBase64",Le(function(Ee){return y(this,Ee)})),Object.defineProperty(String.prototype,"toBase64URI",Le(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),Ct.exports?Ct.exports.Base64=E.Base64:(be=[],xe=function(){return E.Base64}.apply(dt,be),xe!==void 0&&(Ct.exports=xe)),{Base64:E.Base64}})},26819:function(Ct,dt){"use strict";var me;var be=typeof Symbol=="function"&&Symbol.for,xe=be?Symbol.for("react.element"):60103,E=be?Symbol.for("react.portal"):60106,he=be?Symbol.for("react.fragment"):60107,fe=be?Symbol.for("react.strict_mode"):60108,se=be?Symbol.for("react.profiler"):60114,re=be?Symbol.for("react.provider"):60109,ie=be?Symbol.for("react.context"):60110,le=be?Symbol.for("react.async_mode"):60111,ue=be?Symbol.for("react.concurrent_mode"):60111,ae=be?Symbol.for("react.forward_ref"):60112,oe=be?Symbol.for("react.suspense"):60113,ne=be?Symbol.for("react.suspense_list"):60120,z=be?Symbol.for("react.memo"):60115,a=be?Symbol.for("react.lazy"):60116,y=be?Symbol.for("react.block"):60121,x=be?Symbol.for("react.fundamental"):60117,b=be?Symbol.for("react.responder"):60118,ee=be?Symbol.for("react.scope"):60119;function te(de){if(typeof de=="object"&&de!==null){var ge=de.$$typeof;switch(ge){case xe:switch(de=de.type,de){case le:case ue:case he:case se:case fe:case oe:return de;default:switch(de=de&&de.$$typeof,de){case ie:case ae:case a:case z:case re:return de;default:return ge}}case E:return ge}}}function ce(de){return te(de)===ue}me=le,me=ue,me=ie,me=re,me=xe,me=ae,me=he,me=a,me=z,me=E,me=se,me=fe,me=oe,me=function(de){return ce(de)||te(de)===le},me=ce,me=function(de){return te(de)===ie},me=function(de){return te(de)===re},me=function(de){return typeof de=="object"&&de!==null&&de.$$typeof===xe},me=function(de){return te(de)===ae},me=function(de){return te(de)===he},me=function(de){return te(de)===a},dt.isMemo=function(de){return te(de)===z},me=function(de){return te(de)===E},me=function(de){return te(de)===se},me=function(de){return te(de)===fe},me=function(de){return te(de)===oe},me=function(de){return typeof de=="string"||typeof de=="function"||de===he||de===ue||de===se||de===fe||de===oe||de===ne||typeof de=="object"&&de!==null&&(de.$$typeof===a||de.$$typeof===z||de.$$typeof===re||de.$$typeof===ie||de.$$typeof===ae||de.$$typeof===x||de.$$typeof===b||de.$$typeof===ee||de.$$typeof===y)},me=te},18459:function(Ct,dt,me){"use strict";Ct.exports=me(26819)},16651:function(Ct,dt){"use strict";var me;var be=Symbol.for("react.element"),xe=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),se=Symbol.for("react.provider"),re=Symbol.for("react.context"),ie=Symbol.for("react.server_context"),le=Symbol.for("react.forward_ref"),ue=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),z=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 be:switch(x=x.type,x){case E:case fe:case he:case ue:case ae:return x;default:switch(x=x&&x.$$typeof,x){case ie:case re:case le:case ne:case oe:case se:return x;default:return b}}case xe:return b}}}me=re,me=se,me=be,me=le,me=E,me=ne,me=oe,me=xe,me=fe,me=he,me=ue,me=ae,me=function(){return!1},me=function(){return!1},me=function(x){return y(x)===re},me=function(x){return y(x)===se},me=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===be},me=function(x){return y(x)===le},me=function(x){return y(x)===E},me=function(x){return y(x)===ne},me=function(x){return y(x)===oe},me=function(x){return y(x)===xe},me=function(x){return y(x)===fe},me=function(x){return y(x)===he},me=function(x){return y(x)===ue},me=function(x){return y(x)===ae},me=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===fe||x===he||x===ue||x===ae||x===z||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)},me=y},33993:function(Ct,dt,me){"use strict";me(16651)},46762:function(Ct,dt){"use strict";var me;var be=Symbol.for("react.element"),xe=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),se=Symbol.for("react.provider"),re=Symbol.for("react.context"),ie=Symbol.for("react.server_context"),le=Symbol.for("react.forward_ref"),ue=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),z=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 be:switch(x=x.type,x){case E:case fe:case he:case ue:case ae:return x;default:switch(x=x&&x.$$typeof,x){case ie:case re:case le:case ne:case oe:case se:return x;default:return b}}case xe:return b}}}me=re,me=se,me=be,me=le,me=E,me=ne,me=oe,me=xe,me=fe,me=he,me=ue,me=ae,me=function(){return!1},me=function(){return!1},me=function(x){return y(x)===re},me=function(x){return y(x)===se},me=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===be},me=function(x){return y(x)===le},dt.isFragment=function(x){return y(x)===E},me=function(x){return y(x)===ne},me=function(x){return y(x)===oe},me=function(x){return y(x)===xe},me=function(x){return y(x)===fe},me=function(x){return y(x)===he},me=function(x){return y(x)===ue},me=function(x){return y(x)===ae},me=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===fe||x===he||x===ue||x===ae||x===z||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)},me=y},35110:function(Ct,dt,me){"use strict";Ct.exports=me(46762)},64217:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return ie}});var be=me(1413),xe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,E=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,he="".concat(xe," ").concat(E).split(/[\s\n]+/),fe="aria-",se="data-";function re(le,ue){return le.indexOf(ue)===0}function ie(le){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae;ue===!1?ae={aria:!0,data:!0,attr:!0}:ue===!0?ae={aria:!0}:ae=(0,be.Z)({},ue);var oe={};return Object.keys(le).forEach(function(ne){(ae.aria&&(ne==="role"||re(ne,fe))||ae.data&&re(ne,se)||ae.attr&&he.includes(ne))&&(oe[ne]=le[ne])}),oe}},58971:function(Ct,dt,me){var be=me(62195),xe=me(39015),E=[me(19257)];Ct.exports=be.createStore(xe,E)},19257:function(Ct,dt,me){Ct.exports=be;function be(){return me(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(Ct){return Ct<10?"0"+Ct:Ct}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(Ct){return rx_escapable.lastIndex=0,rx_escapable.test(Ct)?'"'+Ct.replace(rx_escapable,function(dt){var me=meta[dt];return typeof me=="string"?me:"\\u"+("0000"+dt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+Ct+'"'}function str(Ct,dt){var me,be,xe,E,he=gap,fe,se=dt[Ct];switch(se&&typeof se=="object"&&typeof se.toJSON=="function"&&(se=se.toJSON(Ct)),typeof rep=="function"&&(se=rep.call(dt,Ct,se)),typeof se){case"string":return quote(se);case"number":return isFinite(se)?String(se):"null";case"boolean":case"null":return String(se);case"object":if(!se)return"null";if(gap+=indent,fe=[],Object.prototype.toString.apply(se)==="[object Array]"){for(E=se.length,me=0;me<E;me+=1)fe[me]=str(me,se)||"null";return xe=fe.length===0?"[]":gap?`[
`+gap+fe.join(`,
`+gap)+`
`+he+"]":"["+fe.join(",")+"]",gap=he,xe}if(rep&&typeof rep=="object")for(E=rep.length,me=0;me<E;me+=1)typeof rep[me]=="string"&&(be=rep[me],xe=str(be,se),xe&&fe.push(quote(be)+(gap?": ":":")+xe));else for(be in se)Object.prototype.hasOwnProperty.call(se,be)&&(xe=str(be,se),xe&&fe.push(quote(be)+(gap?": ":":")+xe));return xe=fe.length===0?"{}":gap?`{
`+gap+fe.join(`,
`+gap)+`
`+he+"}":"{"+fe.join(",")+"}",gap=he,xe}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(Ct,dt,me){var be;if(gap="",indent="",typeof me=="number")for(be=0;be<me;be+=1)indent+=" ";else typeof me=="string"&&(indent=me);if(rep=dt,dt&&typeof dt!="function"&&(typeof dt!="object"||typeof dt.length!="number"))throw new Error("JSON.stringify");return str("",{"":Ct})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(Ct,dt){var me,be,xe=Ct[dt];if(xe&&typeof xe=="object")for(me in xe)Object.prototype.hasOwnProperty.call(xe,me)&&(be=walk(xe,me),be!==void 0?xe[me]=be:delete xe[me]);return reviver.call(Ct,dt,xe)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(Ct){return"\\u"+("0000"+Ct.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},62195:function(Ct,dt,me){var be=me(69078),xe=be.slice,E=be.pluck,he=be.each,fe=be.bind,se=be.create,re=be.isList,ie=be.isFunction,le=be.isObject;Ct.exports={createStore:oe};var ue={version:"2.0.12",enabled:!1,get:function(ne,z){var a=this.storage.read(this._namespacePrefix+ne);return this._deserialize(a,z)},set:function(ne,z){return z===void 0?this.remove(ne):(this.storage.write(this._namespacePrefix+ne,this._serialize(z)),z)},remove:function(ne){this.storage.remove(this._namespacePrefix+ne)},each:function(ne){var z=this;this.storage.each(function(a,y){ne.call(z,z._deserialize(a),(y||"").replace(z._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 z=ne.warn?ne.warn:ne.log;z.apply(ne,arguments)}}function oe(ne,z,a){a||(a=""),ne&&!re(ne)&&(ne=[ne]),z&&!re(z)&&(z=[z]);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 ee={_namespacePrefix:y,_namespaceRegexp:x,_testStorage:function(ce){try{var de="__storejs__test__";ce.write(de,de);var ge=ce.read(de)===de;return ce.remove(de),ge}catch(ve){return!1}},_assignPluginFnProp:function(ce,de){var ge=this[de];this[de]=function(){var pe=xe(arguments,0),Se=this;function ye(){if(ge)return he(arguments,function(we,Le){pe[Le]=we}),ge.apply(Se,pe)}var Pe=[ye].concat(pe);return ce.apply(Se,Pe)}},_serialize:function(ce){return JSON.stringify(ce)},_deserialize:function(ce,de){if(!ce)return de;var ge="";try{ge=JSON.parse(ce)}catch(ve){ge=ce}return ge!==void 0?ge:de},_addStorage:function(ce){this.enabled||this._testStorage(ce)&&(this.storage=ce,this.enabled=!0)},_addPlugin:function(ce){var de=this;if(re(ce)){he(ce,function(pe){de._addPlugin(pe)});return}var ge=E(this.plugins,function(pe){return ce===pe});if(!ge){if(this.plugins.push(ce),!ie(ce))throw new Error("Plugins must be function values that return objects");var ve=ce.call(this);if(!le(ve))throw new Error("Plugins must return an object of function properties");he(ve,function(pe,Se){if(!ie(pe))throw new Error("Bad plugin property: "+Se+" from plugin "+ce.name+". Plugins should only return functions.");de._assignPluginFnProp(pe,Se)})}},addStorage:function(ce){ae("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(ce)}},te=se(ee,ue,{plugins:[]});return te.raw={},he(te,function(ce,de){ie(ce)&&(te.raw[de]=fe(te,ce))}),he(ne,function(ce){te._addStorage(ce)}),he(z,function(ce){te._addPlugin(ce)}),te}},69078:function(Ct,dt,me){var be=fe(),xe=se(),E=re(),he=typeof window!="undefined"?window:me.g;Ct.exports={assign:be,create:xe,trim:E,bind:ie,slice:le,each:ue,map:ae,pluck:oe,isList:ne,isFunction:z,isObject:a,Global:he};function fe(){return Object.assign?Object.assign:function(x,b,ee,te){for(var ce=1;ce<arguments.length;ce++)ue(Object(arguments[ce]),function(de,ge){x[ge]=de});return x}}function se(){if(Object.create)return function(b,ee,te,ce){var de=le(arguments,1);return be.apply(this,[Object.create(b)].concat(de))};{let x=function(){};var y=x;return function(ee,te,ce,de){var ge=le(arguments,1);return x.prototype=ee,be.apply(this,[new x].concat(ge))}}}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 ue(y,x){oe(y,function(b,ee){return x(b,ee),!1})}function ae(y,x){var b=ne(y)?[]:{};return oe(y,function(ee,te){return b[te]=x(ee,te),!1}),b}function oe(y,x){if(ne(y)){for(var b=0;b<y.length;b++)if(x(y[b],b))return y[b]}else for(var ee in y)if(y.hasOwnProperty(ee)&&x(y[ee],ee))return y[ee]}function ne(y){return y!=null&&typeof y!="function"&&typeof y.length=="number"}function z(y){return y&&{}.toString.call(y)==="[object Function]"}function a(y){return y&&{}.toString.call(y)==="[object Object]"}},39015:function(Ct,dt,me){Ct.exports=[me(39627),me(95347),me(34524),me(45580),me(58855),me(8728)]},45580:function(Ct,dt,me){var be=me(69078),xe=be.Global,E=be.trim;Ct.exports={name:"cookieStorage",read:fe,write:re,each:se,remove:ie,clearAll:le};var he=xe.document;function fe(ae){if(!ae||!ue(ae))return null;var oe="(?:^|.*;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(he.cookie.replace(new RegExp(oe),"$1"))}function se(ae){for(var oe=he.cookie.split(/; ?/g),ne=oe.length-1;ne>=0;ne--)if(E(oe[ne])){var z=oe[ne].split("="),a=unescape(z[0]),y=unescape(z[1]);ae(y,a)}}function re(ae,oe){ae&&(he.cookie=escape(ae)+"="+escape(oe)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ie(ae){!ae||!ue(ae)||(he.cookie=escape(ae)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function le(){se(function(ae,oe){ie(oe)})}function ue(ae){return new RegExp("(?:^|;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(he.cookie)}},39627:function(Ct,dt,me){var be=me(69078),xe=be.Global;Ct.exports={name:"localStorage",read:he,write:fe,each:se,remove:re,clearAll:ie};function E(){return xe.localStorage}function he(le){return E().getItem(le)}function fe(le,ue){return E().setItem(le,ue)}function se(le){for(var ue=E().length-1;ue>=0;ue--){var ae=E().key(ue);le(he(ae),ae)}}function re(le){return E().removeItem(le)}function ie(){return E().clear()}},8728:function(Ct){Ct.exports={name:"memoryStorage",read:me,write:be,each:xe,remove:E,clearAll:he};var dt={};function me(fe){return dt[fe]}function be(fe,se){dt[fe]=se}function xe(fe){for(var se in dt)dt.hasOwnProperty(se)&&fe(dt[se],se)}function E(fe){delete dt[fe]}function he(fe){dt={}}},95347:function(Ct,dt,me){var be=me(69078),xe=be.Global;Ct.exports={name:"oldFF-globalStorage",read:he,write:fe,each:se,remove:re,clearAll:ie};var E=xe.globalStorage;function he(le){return E[le]}function fe(le,ue){E[le]=ue}function se(le){for(var ue=E.length-1;ue>=0;ue--){var ae=E.key(ue);le(E[ae],ae)}}function re(le){return E.removeItem(le)}function ie(){se(function(le,ue){delete E[le]})}},34524:function(Ct,dt,me){var be=me(69078),xe=be.Global;Ct.exports={name:"oldIE-userDataStorage",write:re,read:ie,each:le,remove:ue,clearAll:ae};var E="storejs",he=xe.document,fe=z(),se=(xe.navigator?xe.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function re(a,y){if(!se){var x=ne(a);fe(function(b){b.setAttribute(x,y),b.save(E)})}}function ie(a){if(!se){var y=ne(a),x=null;return fe(function(b){x=b.getAttribute(y)}),x}}function le(a){fe(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var ee=x[b];a(y.getAttribute(ee.name),ee.name)}})}function ue(a){var y=ne(a);fe(function(x){x.removeAttribute(y),x.save(E)})}function ae(){fe(function(a){var y=a.XMLDocument.documentElement.attributes;a.load(E);for(var x=y.length-1;x>=0;x--)a.removeAttribute(y[x].name);a.save(E)})}var oe=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function ne(a){return a.replace(/^\d/,"___$&").replace(oe,"___")}function z(){if(!he||!he.documentElement||!he.documentElement.addBehavior)return null;var a="script",y,x,b;try{x=new ActiveXObject("htmlfile"),x.open(),x.write("<"+a+">document.w=window</"+a+'><iframe src="/favicon.ico"></iframe>'),x.close(),y=x.w.frames[0].document,b=y.createElement("div")}catch(ee){b=he.createElement("div"),y=he.body}return function(ee){var te=[].slice.call(arguments,0);te.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(E),ee.apply(this,te),y.removeChild(b)}}},58855:function(Ct,dt,me){var be=me(69078),xe=be.Global;Ct.exports={name:"sessionStorage",read:he,write:fe,each:se,remove:re,clearAll:ie};function E(){return xe.sessionStorage}function he(le){return E().getItem(le)}function fe(le,ue){return E().setItem(le,ue)}function se(le){for(var ue=E().length-1;ue>=0;ue--){var ae=E().key(ue);le(he(ae),ae)}}function re(le){return E().removeItem(le)}function ie(){return E().clear()}},12320:function(Ct){(function(dt,me){if(1)Ct.exports=me();else var be,xe})(window,function(){return function(dt){var me={};function be(xe){if(me[xe])return me[xe].exports;var E=me[xe]={i:xe,l:!1,exports:{}};return dt[xe].call(E.exports,E,E.exports,be),E.l=!0,E.exports}return be.m=dt,be.c=me,be.d=function(xe,E,he){be.o(xe,E)||Object.defineProperty(xe,E,{enumerable:!0,get:he})},be.r=function(xe){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(xe,"__esModule",{value:!0})},be.t=function(xe,E){if(1&E&&(xe=be(xe)),8&E||4&E&&typeof xe=="object"&&xe&&xe.__esModule)return xe;var he=Object.create(null);if(be.r(he),Object.defineProperty(he,"default",{enumerable:!0,value:xe}),2&E&&typeof xe!="string")for(var fe in xe)be.d(he,fe,function(se){return xe[se]}.bind(null,fe));return he},be.n=function(xe){var E=xe&&xe.__esModule?function(){return xe.default}:function(){return xe};return be.d(E,"a",E),E},be.o=function(xe,E){return Object.prototype.hasOwnProperty.call(xe,E)},be.p="",be(be.s=34)}([function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.forwardEvent=me.EventEmitter=void 0;var xe=function(){function E(){this._listeners=[],this._disposed=!1}return Object.defineProperty(E.prototype,"event",{get:function(){var he=this;return this._event||(this._event=function(fe){return he._listeners.push(fe),{dispose:function(){if(!he._disposed){for(var se=0;se<he._listeners.length;se++)if(he._listeners[se]===fe)return void he._listeners.splice(se,1)}}}}),this._event},enumerable:!1,configurable:!0}),E.prototype.fire=function(he,fe){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,he,fe)},E.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},E}();me.EventEmitter=xe,me.forwardEvent=function(E,he){return E(function(fe){return he.fire(fe)})}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.IUnicodeService=me.IOptionsService=me.ILogService=me.IInstantiationService=me.IDirtyRowService=me.ICharsetService=me.ICoreService=me.ICoreMouseService=me.IBufferService=void 0;var xe=be(14);me.IBufferService=xe.createDecorator("BufferService"),me.ICoreMouseService=xe.createDecorator("CoreMouseService"),me.ICoreService=xe.createDecorator("CoreService"),me.ICharsetService=xe.createDecorator("CharsetService"),me.IDirtyRowService=xe.createDecorator("DirtyRowService"),me.IInstantiationService=xe.createDecorator("InstantiationService"),me.ILogService=xe.createDecorator("LogService"),me.IOptionsService=xe.createDecorator("OptionsService"),me.IUnicodeService=xe.createDecorator("UnicodeService")},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.getDisposeArrayDisposable=me.disposeArray=me.Disposable=void 0;var xe=function(){function he(){this._disposables=[],this._isDisposed=!1}return he.prototype.dispose=function(){this._isDisposed=!0;for(var fe=0,se=this._disposables;fe<se.length;fe++)se[fe].dispose();this._disposables.length=0},he.prototype.register=function(fe){return this._disposables.push(fe),fe},he.prototype.unregister=function(fe){var se=this._disposables.indexOf(fe);se!==-1&&this._disposables.splice(se,1)},he}();function E(he){for(var fe=0,se=he;fe<se.length;fe++)se[fe].dispose();he.length=0}me.Disposable=xe,me.disposeArray=E,me.getDisposeArrayDisposable=function(he){return{dispose:function(){return E(he)}}}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.WHITESPACE_CELL_CODE=me.WHITESPACE_CELL_WIDTH=me.WHITESPACE_CELL_CHAR=me.NULL_CELL_CODE=me.NULL_CELL_WIDTH=me.NULL_CELL_CHAR=me.CHAR_DATA_CODE_INDEX=me.CHAR_DATA_WIDTH_INDEX=me.CHAR_DATA_CHAR_INDEX=me.CHAR_DATA_ATTR_INDEX=me.DEFAULT_ATTR=me.DEFAULT_COLOR=void 0,me.DEFAULT_COLOR=256,me.DEFAULT_ATTR=256|me.DEFAULT_COLOR<<9,me.CHAR_DATA_ATTR_INDEX=0,me.CHAR_DATA_CHAR_INDEX=1,me.CHAR_DATA_WIDTH_INDEX=2,me.CHAR_DATA_CODE_INDEX=3,me.NULL_CELL_CHAR="",me.NULL_CELL_WIDTH=1,me.NULL_CELL_CODE=0,me.WHITESPACE_CELL_CHAR=" ",me.WHITESPACE_CELL_WIDTH=1,me.WHITESPACE_CELL_CODE=32},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ie,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ae){ue.__proto__=ae}||function(ue,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ue[oe]=ae[oe])})(ie,le)},function(ie,le){function ue(){this.constructor=ie}xe(ie,le),ie.prototype=le===null?Object.create(le):(ue.prototype=le.prototype,new ue)});Object.defineProperty(me,"__esModule",{value:!0}),me.CellData=void 0;var he=be(8),fe=be(3),se=be(6),re=function(ie){function le(){var ue=ie!==null&&ie.apply(this,arguments)||this;return ue.content=0,ue.fg=0,ue.bg=0,ue.extended=new se.ExtendedAttrs,ue.combinedData="",ue}return E(le,ie),le.fromCharData=function(ue){var ae=new le;return ae.setFromCharData(ue),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?he.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(ue){this.fg=ue[fe.CHAR_DATA_ATTR_INDEX],this.bg=0;var ae=!1;if(ue[fe.CHAR_DATA_CHAR_INDEX].length>2)ae=!0;else if(ue[fe.CHAR_DATA_CHAR_INDEX].length===2){var oe=ue[fe.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=oe&&oe<=56319){var ne=ue[fe.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=ne&&ne<=57343?this.content=1024*(oe-55296)+ne-56320+65536|ue[fe.CHAR_DATA_WIDTH_INDEX]<<22:ae=!0}else ae=!0}else this.content=ue[fe.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ue[fe.CHAR_DATA_WIDTH_INDEX]<<22;ae&&(this.combinedData=ue[fe.CHAR_DATA_CHAR_INDEX],this.content=2097152|ue[fe.CHAR_DATA_WIDTH_INDEX]<<22)},le.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},le}(se.AttributeData);me.CellData=re},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.ISoundService=me.ISelectionService=me.IRenderService=me.IMouseService=me.ICoreBrowserService=me.ICharSizeService=void 0;var xe=be(14);me.ICharSizeService=xe.createDecorator("CharSizeService"),me.ICoreBrowserService=xe.createDecorator("CoreBrowserService"),me.IMouseService=xe.createDecorator("MouseService"),me.IRenderService=xe.createDecorator("RenderService"),me.ISelectionService=xe.createDecorator("SelectionService"),me.ISoundService=xe.createDecorator("SoundService")},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.ExtendedAttrs=me.AttributeData=void 0;var xe=function(){function he(){this.fg=0,this.bg=0,this.extended=new E}return he.toColorRGB=function(fe){return[fe>>>16&255,fe>>>8&255,255&fe]},he.fromColorRGB=function(fe){return(255&fe[0])<<16|(255&fe[1])<<8|255&fe[2]},he.prototype.clone=function(){var fe=new he;return fe.fg=this.fg,fe.bg=this.bg,fe.extended=this.extended.clone(),fe},he.prototype.isInverse=function(){return 67108864&this.fg},he.prototype.isBold=function(){return 134217728&this.fg},he.prototype.isUnderline=function(){return 268435456&this.fg},he.prototype.isBlink=function(){return 536870912&this.fg},he.prototype.isInvisible=function(){return 1073741824&this.fg},he.prototype.isItalic=function(){return 67108864&this.bg},he.prototype.isDim=function(){return 134217728&this.bg},he.prototype.getFgColorMode=function(){return 50331648&this.fg},he.prototype.getBgColorMode=function(){return 50331648&this.bg},he.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},he.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},he.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},he.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},he.prototype.isFgDefault=function(){return(50331648&this.fg)==0},he.prototype.isBgDefault=function(){return(50331648&this.bg)==0},he.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},he.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},he.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},he.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},he.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},he.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},he.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},he.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},he.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},he.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},he.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},he}();me.AttributeData=xe;var E=function(){function he(fe,se){fe===void 0&&(fe=0),se===void 0&&(se=-1),this.underlineStyle=fe,this.underlineColor=se}return he.prototype.clone=function(){return new he(this.underlineStyle,this.underlineColor)},he.prototype.isEmpty=function(){return this.underlineStyle===0},he}();me.ExtendedAttrs=E},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.addDisposableDomListener=void 0,me.addDisposableDomListener=function(xe,E,he,fe){xe.addEventListener(E,he,fe);var se=!1;return{dispose:function(){se||(se=!0,xe.removeEventListener(E,he,fe))}}}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.Utf8ToUtf32=me.StringToUtf32=me.utf32ToString=me.stringFromCodePoint=void 0,me.stringFromCodePoint=function(he){return he>65535?(he-=65536,String.fromCharCode(55296+(he>>10))+String.fromCharCode(he%1024+56320)):String.fromCharCode(he)},me.utf32ToString=function(he,fe,se){fe===void 0&&(fe=0),se===void 0&&(se=he.length);for(var re="",ie=fe;ie<se;++ie){var le=he[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 he(){this._interim=0}return he.prototype.clear=function(){this._interim=0},he.prototype.decode=function(fe,se){var re=fe.length;if(!re)return 0;var ie=0,le=0;this._interim&&(56320<=(oe=fe.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 ue=le;ue<re;++ue){var ae=fe.charCodeAt(ue);if(55296<=ae&&ae<=56319){if(++ue>=re)return this._interim=ae,ie;var oe;56320<=(oe=fe.charCodeAt(ue))&&oe<=57343?se[ie++]=1024*(ae-55296)+oe-56320+65536:(se[ie++]=ae,se[ie++]=oe)}else se[ie++]=ae}return ie},he}();me.StringToUtf32=xe;var E=function(){function he(){this.interim=new Uint8Array(3)}return he.prototype.clear=function(){this.interim.fill(0)},he.prototype.decode=function(fe,se){var re=fe.length;if(!re)return 0;var ie,le,ue,ae,oe=0,ne=0,z=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 ee=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,te=ee-x;z<te;){if(z>=re)return 0;if((192&(b=fe[z++]))!=128){z--,a=!0;break}this.interim[x++]=b,y<<=6,y|=63&b}a||(ee===2?y<128?z--:se[oe++]=y:ee===3?y<2048||y>=55296&&y<=57343||(se[oe++]=y):y<65536||y>1114111||(se[oe++]=y)),this.interim.fill(0)}for(var ce=re-4,de=z;de<re;){for(;!(!(de<ce)||128&(ie=fe[de])||128&(le=fe[de+1])||128&(ue=fe[de+2])||128&(ae=fe[de+3]));)se[oe++]=ie,se[oe++]=le,se[oe++]=ue,se[oe++]=ae,de+=4;if((ie=fe[de++])<128)se[oe++]=ie;else if((224&ie)==192){if(de>=re)return this.interim[0]=ie,oe;if((192&(le=fe[de++]))!=128){de--;continue}if((ne=(31&ie)<<6|63&le)<128){de--;continue}se[oe++]=ne}else if((240&ie)==224){if(de>=re)return this.interim[0]=ie,oe;if((192&(le=fe[de++]))!=128){de--;continue}if(de>=re)return this.interim[0]=ie,this.interim[1]=le,oe;if((192&(ue=fe[de++]))!=128){de--;continue}if((ne=(15&ie)<<12|(63&le)<<6|63&ue)<2048||ne>=55296&&ne<=57343)continue;se[oe++]=ne}else if((248&ie)==240){if(de>=re)return this.interim[0]=ie,oe;if((192&(le=fe[de++]))!=128){de--;continue}if(de>=re)return this.interim[0]=ie,this.interim[1]=le,oe;if((192&(ue=fe[de++]))!=128){de--;continue}if(de>=re)return this.interim[0]=ie,this.interim[1]=le,this.interim[2]=ue,oe;if((192&(ae=fe[de++]))!=128){de--;continue}if((ne=(7&ie)<<18|(63&le)<<12|(63&ue)<<6|63&ae)<65536||ne>1114111)continue;se[oe++]=ne}}return oe},he}();me.Utf8ToUtf32=E},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.CHAR_ATLAS_CELL_SPACING=me.DIM_OPACITY=me.INVERTED_DEFAULT_COLOR=void 0,me.INVERTED_DEFAULT_COLOR=257,me.DIM_OPACITY=.5,me.CHAR_ATLAS_CELL_SPACING=1},function(dt,me,be){"use strict";var xe,E,he,fe;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(me,"__esModule",{value:!0}),me.contrastRatio=me.toPaddedHex=me.rgba=me.rgb=me.css=me.color=me.channels=void 0,function(ie){ie.toCss=function(le,ue,ae,oe){return oe!==void 0?"#"+se(le)+se(ue)+se(ae)+se(oe):"#"+se(le)+se(ue)+se(ae)},ie.toRgba=function(le,ue,ae,oe){return oe===void 0&&(oe=255),(le<<24|ue<<16|ae<<8|oe)>>>0}}(xe=me.channels||(me.channels={})),(E=me.color||(me.color={})).blend=function(ie,le){var ue=(255&le.rgba)/255;if(ue===1)return{css:le.css,rgba:le.rgba};var ae=le.rgba>>24&255,oe=le.rgba>>16&255,ne=le.rgba>>8&255,z=ie.rgba>>24&255,a=ie.rgba>>16&255,y=ie.rgba>>8&255,x=z+Math.round((ae-z)*ue),b=a+Math.round((oe-a)*ue),ee=y+Math.round((ne-y)*ue);return{css:xe.toCss(x,b,ee),rgba:xe.toRgba(x,b,ee)}},E.isOpaque=function(ie){return(255&ie.rgba)==255},E.ensureContrastRatio=function(ie,le,ue){var ae=fe.ensureContrastRatio(ie.rgba,le.rgba,ue);if(ae)return fe.toColor(ae>>24&255,ae>>16&255,ae>>8&255)},E.opaque=function(ie){var le=(255|ie.rgba)>>>0,ue=fe.toChannels(le),ae=ue[0],oe=ue[1],ne=ue[2];return{css:xe.toCss(ae,oe,ne),rgba:le}},E.opacity=function(ie,le){var ue=Math.round(255*le),ae=fe.toChannels(ie.rgba),oe=ae[0],ne=ae[1],z=ae[2];return{css:xe.toCss(oe,ne,z,ue),rgba:xe.toRgba(oe,ne,z,ue)}},(me.css||(me.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(ue,ae,oe){var ne=ue/255,z=ae/255,a=oe/255;return .2126*(ne<=.03928?ne/12.92:Math.pow((ne+.055)/1.055,2.4))+.7152*(z<=.03928?z/12.92:Math.pow((z+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))}ie.relativeLuminance=function(ue){return le(ue>>16&255,ue>>8&255,255&ue)},ie.relativeLuminance2=le}(he=me.rgb||(me.rgb={})),function(ie){function le(ae,oe,ne){for(var z=ae>>24&255,a=ae>>16&255,y=ae>>8&255,x=oe>>24&255,b=oe>>16&255,ee=oe>>8&255,te=re(he.relativeLuminance2(x,ee,b),he.relativeLuminance2(z,a,y));te<ne&&(x>0||b>0||ee>0);)x-=Math.max(0,Math.ceil(.1*x)),b-=Math.max(0,Math.ceil(.1*b)),ee-=Math.max(0,Math.ceil(.1*ee)),te=re(he.relativeLuminance2(x,ee,b),he.relativeLuminance2(z,a,y));return(x<<24|b<<16|ee<<8|255)>>>0}function ue(ae,oe,ne){for(var z=ae>>24&255,a=ae>>16&255,y=ae>>8&255,x=oe>>24&255,b=oe>>16&255,ee=oe>>8&255,te=re(he.relativeLuminance2(x,ee,b),he.relativeLuminance2(z,a,y));te<ne&&(x<255||b<255||ee<255);)x=Math.min(255,x+Math.ceil(.1*(255-x))),b=Math.min(255,b+Math.ceil(.1*(255-b))),ee=Math.min(255,ee+Math.ceil(.1*(255-ee))),te=re(he.relativeLuminance2(x,ee,b),he.relativeLuminance2(z,a,y));return(x<<24|b<<16|ee<<8|255)>>>0}ie.ensureContrastRatio=function(ae,oe,ne){var z=he.relativeLuminance(ae>>8),a=he.relativeLuminance(oe>>8);if(re(z,a)<ne)return a<z?le(ae,oe,ne):ue(ae,oe,ne)},ie.reduceLuminance=le,ie.increaseLuminance=ue,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)}}}(fe=me.rgba||(me.rgba={})),me.toPaddedHex=se,me.contrastRatio=re},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.isLinux=me.isWindows=me.isIphone=me.isIpad=me.isMac=me.isSafari=me.isFirefox=void 0;var xe=typeof navigator=="undefined",E=xe?"node":navigator.userAgent,he=xe?"node":navigator.platform;function fe(se,re){return se.indexOf(re)>=0}me.isFirefox=!!~E.indexOf("Firefox"),me.isSafari=/^((?!chrome|android).)*safari/i.test(E),me.isMac=fe(["Macintosh","MacIntel","MacPPC","Mac68K"],he),me.isIpad=he==="iPad",me.isIphone=he==="iPhone",me.isWindows=fe(["Windows","Win16","Win32","WinCE"],he),me.isLinux=he.indexOf("Linux")>=0},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.C1=me.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"}(me.C0||(me.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"}(me.C1||(me.C1={}))},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.BaseRenderLayer=void 0;var xe=be(3),E=be(9),he=be(25),fe=be(6),se=be(28),re=be(10),ie=be(17),le=function(){function ue(ae,oe,ne,z,a,y,x,b){this._container=ae,this._alpha=z,this._colors=a,this._rendererId=y,this._bufferService=x,this._optionsService=b,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+oe+"-layer"),this._canvas.style.zIndex=ne.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return ue.prototype.dispose=function(){var ae;ie.removeElementFromParent(this._canvas),(ae=this._charAtlas)===null||ae===void 0||ae.dispose()},ue.prototype._initCanvas=function(){this._ctx=se.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},ue.prototype.onOptionsChanged=function(){},ue.prototype.onBlur=function(){},ue.prototype.onFocus=function(){},ue.prototype.onCursorMove=function(){},ue.prototype.onGridChanged=function(ae,oe){},ue.prototype.onSelectionChanged=function(ae,oe,ne){ne===void 0&&(ne=!1)},ue.prototype.setColors=function(ae){this._refreshCharAtlas(ae)},ue.prototype._setTransparency=function(ae){if(ae!==this._alpha){var oe=this._canvas;this._alpha=ae,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,oe),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},ue.prototype._refreshCharAtlas=function(ae){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=he.acquireCharAtlas(this._optionsService.options,this._rendererId,ae,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},ue.prototype.resize=function(ae){this._scaledCellWidth=ae.scaledCellWidth,this._scaledCellHeight=ae.scaledCellHeight,this._scaledCharWidth=ae.scaledCharWidth,this._scaledCharHeight=ae.scaledCharHeight,this._scaledCharLeft=ae.scaledCharLeft,this._scaledCharTop=ae.scaledCharTop,this._canvas.width=ae.scaledCanvasWidth,this._canvas.height=ae.scaledCanvasHeight,this._canvas.style.width=ae.canvasWidth+"px",this._canvas.style.height=ae.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},ue.prototype._fillCells=function(ae,oe,ne,z){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,ne*this._scaledCellWidth,z*this._scaledCellHeight)},ue.prototype._fillBottomLineAtCells=function(ae,oe,ne){ne===void 0&&(ne=1),this._ctx.fillRect(ae*this._scaledCellWidth,(oe+1)*this._scaledCellHeight-window.devicePixelRatio-1,ne*this._scaledCellWidth,window.devicePixelRatio)},ue.prototype._fillLeftLineAtCell=function(ae,oe,ne){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,window.devicePixelRatio*ne,this._scaledCellHeight)},ue.prototype._strokeRectAtCell=function(ae,oe,ne,z){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,z*this._scaledCellHeight-window.devicePixelRatio)},ue.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},ue.prototype._clearCells=function(ae,oe,ne,z){this._alpha?this._ctx.clearRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,ne*this._scaledCellWidth,z*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,ne*this._scaledCellWidth,z*this._scaledCellHeight))},ue.prototype._fillCharTrueColor=function(ae,oe,ne){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(ne),this._ctx.fillText(ae.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},ue.prototype._drawChars=function(ae,oe,ne){var z,a,y=this._getContrastColor(ae);y||ae.isFgRGB()||ae.isBgRGB()?this._drawUncachedChars(ae,oe,ne,y):(ae.isInverse()?(z=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(),z=ae.isFgDefault()?xe.DEFAULT_COLOR:ae.getFgColor()),z+=this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&z<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=z,this._currentGlyphIdentifier.bold=!!ae.isBold(),this._currentGlyphIdentifier.dim=!!ae.isDim(),this._currentGlyphIdentifier.italic=!!ae.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,oe*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(ae,oe,ne))},ue.prototype._drawUncachedChars=function(ae,oe,ne,z){if(this._ctx.save(),this._ctx.font=this._getFont(!!ae.isBold(),!!ae.isItalic()),this._ctx.textBaseline="middle",ae.isInverse())if(z)this._ctx.fillStyle=z.css;else if(ae.isBgDefault())this._ctx.fillStyle=re.color.opaque(this._colors.background).css;else if(ae.isBgRGB())this._ctx.fillStyle="rgb("+fe.AttributeData.toColorRGB(ae.getBgColor()).join(",")+")";else{var a=ae.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}else if(z)this._ctx.fillStyle=z.css;else if(ae.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(ae.isFgRGB())this._ctx.fillStyle="rgb("+fe.AttributeData.toColorRGB(ae.getFgColor()).join(",")+")";else{var y=ae.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&y<8&&(y+=8),this._ctx.fillStyle=this._colors.ansi[y].css}this._clipRow(ne),ae.isDim()&&(this._ctx.globalAlpha=E.DIM_OPACITY),this._ctx.fillText(ae.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},ue.prototype._clipRow=function(ae){this._ctx.beginPath(),this._ctx.rect(0,ae*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},ue.prototype._getFont=function(ae,oe){return(oe?"italic":"")+" "+(ae?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},ue.prototype._getContrastColor=function(ae){if(this._optionsService.options.minimumContrastRatio!==1){var oe=this._colors.contrastCache.getColor(ae.bg,ae.fg);if(oe!==void 0)return oe||void 0;var ne=ae.getFgColor(),z=ae.getFgColorMode(),a=ae.getBgColor(),y=ae.getBgColorMode(),x=!!ae.isInverse(),b=!!ae.isInverse();if(x){var ee=ne;ne=a,a=ee;var te=z;z=y,y=te}var ce=this._resolveBackgroundRgba(y,a,x),de=this._resolveForegroundRgba(z,ne,x,b),ge=re.rgba.ensureContrastRatio(ce,de,this._optionsService.options.minimumContrastRatio);if(ge){var ve={css:re.channels.toCss(ge>>24&255,ge>>16&255,ge>>8&255),rgba:ge};return this._colors.contrastCache.setColor(ae.bg,ae.fg,ve),ve}this._colors.contrastCache.setColor(ae.bg,ae.fg,null)}},ue.prototype._resolveBackgroundRgba=function(ae,oe,ne){switch(ae){case 16777216:case 33554432:return this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return ne?this._colors.foreground.rgba:this._colors.background.rgba}},ue.prototype._resolveForegroundRgba=function(ae,oe,ne,z){switch(ae){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&z&&oe<8&&(oe+=8),this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return ne?this._colors.background.rgba:this._colors.foreground.rgba}},ue}();me.BaseRenderLayer=le},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.createDecorator=me.getServiceDependencies=me.serviceRegistry=void 0;function xe(E,he,fe){he.di$target===he?he.di$dependencies.push({id:E,index:fe}):(he.di$dependencies=[{id:E,index:fe}],he.di$target=he)}me.serviceRegistry=new Map,me.getServiceDependencies=function(E){return E.di$dependencies||[]},me.createDecorator=function(E){if(me.serviceRegistry.has(E))return me.serviceRegistry.get(E);var he=function(fe,se,re){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");xe(he,fe,re)};return he.toString=function(){return E},me.serviceRegistry.set(E,he),he}},function(dt,me,be){"use strict";function xe(E,he,fe,se){if(fe===void 0&&(fe=0),se===void 0&&(se=E.length),fe>=E.length)return E;fe=(E.length+fe)%E.length,se=se>=E.length?E.length:(E.length+se)%E.length;for(var re=fe;re<se;++re)E[re]=he;return E}Object.defineProperty(me,"__esModule",{value:!0}),me.concat=me.fillFallback=me.fill=void 0,me.fill=function(E,he,fe,se){return E.fill?E.fill(he,fe,se):xe(E,he,fe,se)},me.fillFallback=xe,me.concat=function(E,he){var fe=new E.constructor(E.length+he.length);return fe.set(E),fe.set(he,E.length),fe}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.BufferLine=me.DEFAULT_ATTR_DATA=void 0;var xe=be(8),E=be(3),he=be(4),fe=be(6);me.DEFAULT_ATTR_DATA=Object.freeze(new fe.AttributeData);var se=function(){function re(ie,le,ue){ue===void 0&&(ue=!1),this.isWrapped=ue,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*ie);for(var ae=le||he.CellData.fromCharData([0,E.NULL_CELL_CHAR,E.NULL_CELL_WIDTH,E.NULL_CELL_CODE]),oe=0;oe<ie;++oe)this.setCell(oe,ae);this.length=ie}return re.prototype.get=function(ie){var le=this._data[3*ie+0],ue=2097151&le;return[this._data[3*ie+1],2097152&le?this._combined[ie]:ue?xe.stringFromCodePoint(ue):"",le>>22,2097152&le?this._combined[ie].charCodeAt(this._combined[ie].length-1):ue]},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 ue=3*ie;return le.content=this._data[ue+0],le.fg=this._data[ue+1],le.bg=this._data[ue+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,ue,ae,oe,ne){268435456&oe&&(this._extendedAttrs[ie]=ne),this._data[3*ie+0]=le|ue<<22,this._data[3*ie+1]=ae,this._data[3*ie+2]=oe},re.prototype.addCodepointToCell=function(ie,le){var ue=this._data[3*ie+0];2097152&ue?this._combined[ie]+=xe.stringFromCodePoint(le):(2097151&ue?(this._combined[ie]=xe.stringFromCodePoint(2097151&ue)+xe.stringFromCodePoint(le),ue&=-2097152,ue|=2097152):ue=le|1<<22,this._data[3*ie+0]=ue)},re.prototype.insertCells=function(ie,le,ue,ae){if((ie%=this.length)&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new fe.ExtendedAttrs),le<this.length-ie){for(var oe=new he.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,ue)}else for(ne=ie;ne<this.length;++ne)this.setCell(ne,ue);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new fe.ExtendedAttrs)},re.prototype.deleteCells=function(ie,le,ue,ae){if(ie%=this.length,le<this.length-ie){for(var oe=new he.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,ue)}else for(ne=ie;ne<this.length;++ne)this.setCell(ne,ue);ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new fe.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 fe.ExtendedAttrs)},re.prototype.replaceCells=function(ie,le,ue,ae){for(ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new fe.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 fe.ExtendedAttrs);ie<le&&ie<this.length;)this.setCell(ie++,ue)},re.prototype.resize=function(ie,le){if(ie!==this.length){if(ie>this.length){var ue=new Uint32Array(3*ie);this.length&&(3*ie<this._data.length?ue.set(this._data.subarray(0,3*ie)):ue.set(this._data)),this._data=ue;for(var ae=this.length;ae<ie;++ae)this.setCell(ae,le)}else if(ie){(ue=new Uint32Array(3*ie)).set(this._data.subarray(0,3*ie)),this._data=ue;var oe=Object.keys(this._combined);for(ae=0;ae<oe.length;ae++){var 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,ue,ae,oe){var ne=ie._data;if(oe)for(var z=ae-1;z>=0;z--)for(var a=0;a<3;a++)this._data[3*(ue+z)+a]=ne[3*(le+z)+a];else for(z=0;z<ae;z++)for(a=0;a<3;a++)this._data[3*(ue+z)+a]=ne[3*(le+z)+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+ue]=ie._combined[x])}},re.prototype.translateToString=function(ie,le,ue){ie===void 0&&(ie=!1),le===void 0&&(le=0),ue===void 0&&(ue=this.length),ie&&(ue=Math.min(ue,this.getTrimmedLength()));for(var ae="";le<ue;){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}();me.BufferLine=se},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.removeElementFromParent=void 0,me.removeElementFromParent=function(){for(var xe,E=[],he=0;he<arguments.length;he++)E[he]=arguments[he];for(var fe=0,se=E;fe<se.length;fe++){var re=se[fe];(xe=re==null?void 0:re.parentElement)===null||xe===void 0||xe.removeChild(re)}}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.tooMuchOutput=me.promptLabel=void 0,me.promptLabel="Terminal input",me.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(de,ge){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ve,pe){ve.__proto__=pe}||function(ve,pe){for(var Se in pe)pe.hasOwnProperty(Se)&&(ve[Se]=pe[Se])})(de,ge)},function(de,ge){function ve(){this.constructor=de}xe(de,ge),de.prototype=ge===null?Object.create(ge):(ve.prototype=ge.prototype,new ve)});Object.defineProperty(me,"__esModule",{value:!0}),me.InputHandler=me.WindowsOptionsReportType=void 0;var he,fe=be(12),se=be(20),re=be(39),ie=be(2),le=be(15),ue=be(8),ae=be(16),oe=be(0),ne=be(3),z=be(4),a=be(6),y=be(22),x=be(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function ee(de,ge){if(de>24)return ge.setWinLines||!1;switch(de){case 1:return!!ge.restoreWin;case 2:return!!ge.minimizeWin;case 3:return!!ge.setWinPosition;case 4:return!!ge.setWinSizePixels;case 5:return!!ge.raiseWin;case 6:return!!ge.lowerWin;case 7:return!!ge.refreshWin;case 8:return!!ge.setWinSizeChars;case 9:return!!ge.maximizeWin;case 10:return!!ge.fullscreenWin;case 11:return!!ge.getWinState;case 13:return!!ge.getWinPosition;case 14:return!!ge.getWinSizePixels;case 15:return!!ge.getScreenSizePixels;case 16:return!!ge.getCellSizePixels;case 18:return!!ge.getWinSizeChars;case 19:return!!ge.getScreenSizeChars;case 20:return!!ge.getIconTitle;case 21:return!!ge.getWinTitle;case 22:return!!ge.pushTitle;case 23:return!!ge.popTitle;case 24:return!!ge.setWinLines}return!1}(function(de){de[de.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",de[de.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(he=me.WindowsOptionsReportType||(me.WindowsOptionsReportType={}));var te=function(){function de(ge,ve,pe,Se){this._bufferService=ge,this._coreService=ve,this._logService=pe,this._optionsService=Se,this._data=new Uint32Array(0)}return de.prototype.hook=function(ge){this._data=new Uint32Array(0)},de.prototype.put=function(ge,ve,pe){this._data=le.concat(this._data,ge.subarray(ve,pe))},de.prototype.unhook=function(ge){if(ge){var ve=ue.utf32ToString(this._data);switch(this._data=new Uint32Array(0),ve){case'"q':return this._coreService.triggerDataEvent(fe.C0.ESC+'P1$r0"q'+fe.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(fe.C0.ESC+'P1$r61;1"p'+fe.C0.ESC+"\\");case"r":var pe=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(fe.C0.ESC+"P1$r"+pe+fe.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(fe.C0.ESC+"P1$r0m"+fe.C0.ESC+"\\");case" q":var Se={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return Se-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(fe.C0.ESC+"P1$r"+Se+" q"+fe.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",ve),this._coreService.triggerDataEvent(fe.C0.ESC+"P0$r"+fe.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},de}(),ce=function(de){function ge(ve,pe,Se,ye,Pe,we,Le,Ee,Te){Te===void 0&&(Te=new re.EscapeSequenceParser);var Ce=de.call(this)||this;Ce._bufferService=ve,Ce._charsetService=pe,Ce._coreService=Se,Ce._dirtyRowService=ye,Ce._logService=Pe,Ce._optionsService=we,Ce._coreMouseService=Le,Ce._unicodeService=Ee,Ce._parser=Te,Ce._parseBuffer=new Uint32Array(4096),Ce._stringDecoder=new ue.StringToUtf32,Ce._utf8Decoder=new ue.Utf8ToUtf32,Ce._workCell=new z.CellData,Ce._windowTitle="",Ce._iconName="",Ce._windowTitleStack=[],Ce._iconNameStack=[],Ce._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),Ce._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone(),Ce._onRequestBell=new oe.EventEmitter,Ce._onRequestRefreshRows=new oe.EventEmitter,Ce._onRequestReset=new oe.EventEmitter,Ce._onRequestScroll=new oe.EventEmitter,Ce._onRequestSyncScrollBar=new oe.EventEmitter,Ce._onRequestWindowsOptionsReport=new oe.EventEmitter,Ce._onA11yChar=new oe.EventEmitter,Ce._onA11yTab=new oe.EventEmitter,Ce._onCursorMove=new oe.EventEmitter,Ce._onLineFeed=new oe.EventEmitter,Ce._onScroll=new oe.EventEmitter,Ce._onTitleChange=new oe.EventEmitter,Ce.register(Ce._parser),Ce._parser.setCsiHandlerFallback(function(je,tt){Ce._logService.debug("Unknown CSI code: ",{identifier:Ce._parser.identToString(je),params:tt.toArray()})}),Ce._parser.setEscHandlerFallback(function(je){Ce._logService.debug("Unknown ESC code: ",{identifier:Ce._parser.identToString(je)})}),Ce._parser.setExecuteHandlerFallback(function(je){Ce._logService.debug("Unknown EXECUTE code: ",{code:je})}),Ce._parser.setOscHandlerFallback(function(je,tt,Je){Ce._logService.debug("Unknown OSC code: ",{identifier:je,action:tt,data:Je})}),Ce._parser.setDcsHandlerFallback(function(je,tt,Je){tt==="HOOK"&&(Je=Je.toArray()),Ce._logService.debug("Unknown DCS code: ",{identifier:Ce._parser.identToString(je),action:tt,payload:Je})}),Ce._parser.setPrintHandler(function(je,tt,Je){return Ce.print(je,tt,Je)}),Ce._parser.setCsiHandler({final:"@"},function(je){return Ce.insertChars(je)}),Ce._parser.setCsiHandler({intermediates:" ",final:"@"},function(je){return Ce.scrollLeft(je)}),Ce._parser.setCsiHandler({final:"A"},function(je){return Ce.cursorUp(je)}),Ce._parser.setCsiHandler({intermediates:" ",final:"A"},function(je){return Ce.scrollRight(je)}),Ce._parser.setCsiHandler({final:"B"},function(je){return Ce.cursorDown(je)}),Ce._parser.setCsiHandler({final:"C"},function(je){return Ce.cursorForward(je)}),Ce._parser.setCsiHandler({final:"D"},function(je){return Ce.cursorBackward(je)}),Ce._parser.setCsiHandler({final:"E"},function(je){return Ce.cursorNextLine(je)}),Ce._parser.setCsiHandler({final:"F"},function(je){return Ce.cursorPrecedingLine(je)}),Ce._parser.setCsiHandler({final:"G"},function(je){return Ce.cursorCharAbsolute(je)}),Ce._parser.setCsiHandler({final:"H"},function(je){return Ce.cursorPosition(je)}),Ce._parser.setCsiHandler({final:"I"},function(je){return Ce.cursorForwardTab(je)}),Ce._parser.setCsiHandler({final:"J"},function(je){return Ce.eraseInDisplay(je)}),Ce._parser.setCsiHandler({prefix:"?",final:"J"},function(je){return Ce.eraseInDisplay(je)}),Ce._parser.setCsiHandler({final:"K"},function(je){return Ce.eraseInLine(je)}),Ce._parser.setCsiHandler({prefix:"?",final:"K"},function(je){return Ce.eraseInLine(je)}),Ce._parser.setCsiHandler({final:"L"},function(je){return Ce.insertLines(je)}),Ce._parser.setCsiHandler({final:"M"},function(je){return Ce.deleteLines(je)}),Ce._parser.setCsiHandler({final:"P"},function(je){return Ce.deleteChars(je)}),Ce._parser.setCsiHandler({final:"S"},function(je){return Ce.scrollUp(je)}),Ce._parser.setCsiHandler({final:"T"},function(je){return Ce.scrollDown(je)}),Ce._parser.setCsiHandler({final:"X"},function(je){return Ce.eraseChars(je)}),Ce._parser.setCsiHandler({final:"Z"},function(je){return Ce.cursorBackwardTab(je)}),Ce._parser.setCsiHandler({final:"`"},function(je){return Ce.charPosAbsolute(je)}),Ce._parser.setCsiHandler({final:"a"},function(je){return Ce.hPositionRelative(je)}),Ce._parser.setCsiHandler({final:"b"},function(je){return Ce.repeatPrecedingCharacter(je)}),Ce._parser.setCsiHandler({final:"c"},function(je){return Ce.sendDeviceAttributesPrimary(je)}),Ce._parser.setCsiHandler({prefix:">",final:"c"},function(je){return Ce.sendDeviceAttributesSecondary(je)}),Ce._parser.setCsiHandler({final:"d"},function(je){return Ce.linePosAbsolute(je)}),Ce._parser.setCsiHandler({final:"e"},function(je){return Ce.vPositionRelative(je)}),Ce._parser.setCsiHandler({final:"f"},function(je){return Ce.hVPosition(je)}),Ce._parser.setCsiHandler({final:"g"},function(je){return Ce.tabClear(je)}),Ce._parser.setCsiHandler({final:"h"},function(je){return Ce.setMode(je)}),Ce._parser.setCsiHandler({prefix:"?",final:"h"},function(je){return Ce.setModePrivate(je)}),Ce._parser.setCsiHandler({final:"l"},function(je){return Ce.resetMode(je)}),Ce._parser.setCsiHandler({prefix:"?",final:"l"},function(je){return Ce.resetModePrivate(je)}),Ce._parser.setCsiHandler({final:"m"},function(je){return Ce.charAttributes(je)}),Ce._parser.setCsiHandler({final:"n"},function(je){return Ce.deviceStatus(je)}),Ce._parser.setCsiHandler({prefix:"?",final:"n"},function(je){return Ce.deviceStatusPrivate(je)}),Ce._parser.setCsiHandler({intermediates:"!",final:"p"},function(je){return Ce.softReset(je)}),Ce._parser.setCsiHandler({intermediates:" ",final:"q"},function(je){return Ce.setCursorStyle(je)}),Ce._parser.setCsiHandler({final:"r"},function(je){return Ce.setScrollRegion(je)}),Ce._parser.setCsiHandler({final:"s"},function(je){return Ce.saveCursor(je)}),Ce._parser.setCsiHandler({final:"t"},function(je){return Ce.windowOptions(je)}),Ce._parser.setCsiHandler({final:"u"},function(je){return Ce.restoreCursor(je)}),Ce._parser.setCsiHandler({intermediates:"'",final:"}"},function(je){return Ce.insertColumns(je)}),Ce._parser.setCsiHandler({intermediates:"'",final:"~"},function(je){return Ce.deleteColumns(je)}),Ce._parser.setExecuteHandler(fe.C0.BEL,function(){return Ce.bell()}),Ce._parser.setExecuteHandler(fe.C0.LF,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(fe.C0.VT,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(fe.C0.FF,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(fe.C0.CR,function(){return Ce.carriageReturn()}),Ce._parser.setExecuteHandler(fe.C0.BS,function(){return Ce.backspace()}),Ce._parser.setExecuteHandler(fe.C0.HT,function(){return Ce.tab()}),Ce._parser.setExecuteHandler(fe.C0.SO,function(){return Ce.shiftOut()}),Ce._parser.setExecuteHandler(fe.C0.SI,function(){return Ce.shiftIn()}),Ce._parser.setExecuteHandler(fe.C1.IND,function(){return Ce.index()}),Ce._parser.setExecuteHandler(fe.C1.NEL,function(){return Ce.nextLine()}),Ce._parser.setExecuteHandler(fe.C1.HTS,function(){return Ce.tabSet()}),Ce._parser.setOscHandler(0,new y.OscHandler(function(je){Ce.setTitle(je),Ce.setIconName(je)})),Ce._parser.setOscHandler(1,new y.OscHandler(function(je){return Ce.setIconName(je)})),Ce._parser.setOscHandler(2,new y.OscHandler(function(je){return Ce.setTitle(je)})),Ce._parser.setEscHandler({final:"7"},function(){return Ce.saveCursor()}),Ce._parser.setEscHandler({final:"8"},function(){return Ce.restoreCursor()}),Ce._parser.setEscHandler({final:"D"},function(){return Ce.index()}),Ce._parser.setEscHandler({final:"E"},function(){return Ce.nextLine()}),Ce._parser.setEscHandler({final:"H"},function(){return Ce.tabSet()}),Ce._parser.setEscHandler({final:"M"},function(){return Ce.reverseIndex()}),Ce._parser.setEscHandler({final:"="},function(){return Ce.keypadApplicationMode()}),Ce._parser.setEscHandler({final:">"},function(){return Ce.keypadNumericMode()}),Ce._parser.setEscHandler({final:"c"},function(){return Ce.fullReset()}),Ce._parser.setEscHandler({final:"n"},function(){return Ce.setgLevel(2)}),Ce._parser.setEscHandler({final:"o"},function(){return Ce.setgLevel(3)}),Ce._parser.setEscHandler({final:"|"},function(){return Ce.setgLevel(3)}),Ce._parser.setEscHandler({final:"}"},function(){return Ce.setgLevel(2)}),Ce._parser.setEscHandler({final:"~"},function(){return Ce.setgLevel(1)}),Ce._parser.setEscHandler({intermediates:"%",final:"@"},function(){return Ce.selectDefaultCharset()}),Ce._parser.setEscHandler({intermediates:"%",final:"G"},function(){return Ce.selectDefaultCharset()});var Ae=function(je){Ie._parser.setEscHandler({intermediates:"(",final:je},function(){return Ce.selectCharset("("+je)}),Ie._parser.setEscHandler({intermediates:")",final:je},function(){return Ce.selectCharset(")"+je)}),Ie._parser.setEscHandler({intermediates:"*",final:je},function(){return Ce.selectCharset("*"+je)}),Ie._parser.setEscHandler({intermediates:"+",final:je},function(){return Ce.selectCharset("+"+je)}),Ie._parser.setEscHandler({intermediates:"-",final:je},function(){return Ce.selectCharset("-"+je)}),Ie._parser.setEscHandler({intermediates:".",final:je},function(){return Ce.selectCharset("."+je)}),Ie._parser.setEscHandler({intermediates:"/",final:je},function(){return Ce.selectCharset("/"+je)})},Ie=this;for(var He in se.CHARSETS)Ae(He);return Ce._parser.setEscHandler({intermediates:"#",final:"8"},function(){return Ce.screenAlignmentPattern()}),Ce._parser.setErrorHandler(function(je){return Ce._logService.error("Parsing error: ",je),je}),Ce._parser.setDcsHandler({intermediates:"$",final:"q"},new te(Ce._bufferService,Ce._coreService,Ce._logService,Ce._optionsService)),Ce}return E(ge,de),Object.defineProperty(ge.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),ge.prototype.dispose=function(){de.prototype.dispose.call(this)},ge.prototype.parse=function(ve){var pe=this._bufferService.buffer,Se=pe.x,ye=pe.y;if(this._logService.debug("parsing data",ve),this._parseBuffer.length<ve.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(ve.length,131072))),this._dirtyRowService.clearRange(),ve.length>131072)for(var Pe=0;Pe<ve.length;Pe+=131072){var we=Pe+131072<ve.length?Pe+131072:ve.length,Le=typeof ve=="string"?this._stringDecoder.decode(ve.substring(Pe,we),this._parseBuffer):this._utf8Decoder.decode(ve.subarray(Pe,we),this._parseBuffer);this._parser.parse(this._parseBuffer,Le)}else Le=typeof ve=="string"?this._stringDecoder.decode(ve,this._parseBuffer):this._utf8Decoder.decode(ve,this._parseBuffer),this._parser.parse(this._parseBuffer,Le);(pe=this._bufferService.buffer).x===Se&&pe.y===ye||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},ge.prototype.print=function(ve,pe,Se){var ye,Pe,we=this._bufferService.buffer,Le=this._charsetService.charset,Ee=this._optionsService.options.screenReaderMode,Te=this._bufferService.cols,Ce=this._coreService.decPrivateModes.wraparound,Ae=this._coreService.modes.insertMode,Ie=this._curAttrData,He=we.lines.get(we.ybase+we.y);this._dirtyRowService.markDirty(we.y),we.x&&Se-pe>0&&He.getWidth(we.x-1)===2&&He.setCellFromCodePoint(we.x-1,0,1,Ie.fg,Ie.bg,Ie.extended);for(var je=pe;je<Se;++je){if(ye=ve[je],Pe=this._unicodeService.wcwidth(ye),ye<127&&Le){var tt=Le[String.fromCharCode(ye)];tt&&(ye=tt.charCodeAt(0))}if(Ee&&this._onA11yChar.fire(ue.stringFromCodePoint(ye)),Pe||!we.x){if(we.x+Pe-1>=Te){if(Ce){for(;we.x<Te;)He.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),He=we.lines.get(we.ybase+we.y)}else if(we.x=Te-1,Pe===2)continue}if(Ae&&(He.insertCells(we.x,Pe,we.getNullCell(Ie),Ie),He.getWidth(Te-1)===2&&He.setCellFromCodePoint(Te-1,ne.NULL_CELL_CODE,ne.NULL_CELL_WIDTH,Ie.fg,Ie.bg,Ie.extended)),He.setCellFromCodePoint(we.x++,ye,Pe,Ie.fg,Ie.bg,Ie.extended),Pe>0)for(;--Pe;)He.setCellFromCodePoint(we.x++,0,0,Ie.fg,Ie.bg,Ie.extended)}else He.getWidth(we.x-1)?He.addCodepointToCell(we.x-1,ye):He.addCodepointToCell(we.x-2,ye)}Se-pe>0&&(He.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<Te&&Se-pe>0&&He.getWidth(we.x)===0&&!He.hasContent(we.x)&&He.setCellFromCodePoint(we.x,0,1,Ie.fg,Ie.bg,Ie.extended),this._dirtyRowService.markDirty(we.y)},ge.prototype.addCsiHandler=function(ve,pe){var Se=this;return ve.final!=="t"||ve.prefix||ve.intermediates?this._parser.addCsiHandler(ve,pe):this._parser.addCsiHandler(ve,function(ye){return!ee(ye.params[0],Se._optionsService.options.windowOptions)||pe(ye)})},ge.prototype.addDcsHandler=function(ve,pe){return this._parser.addDcsHandler(ve,new x.DcsHandler(pe))},ge.prototype.addEscHandler=function(ve,pe){return this._parser.addEscHandler(ve,pe)},ge.prototype.addOscHandler=function(ve,pe){return this._parser.addOscHandler(ve,new y.OscHandler(pe))},ge.prototype.bell=function(){this._onRequestBell.fire()},ge.prototype.lineFeed=function(){var ve=this._bufferService.buffer;this._dirtyRowService.markDirty(ve.y),this._optionsService.options.convertEol&&(ve.x=0),ve.y++,ve.y===ve.scrollBottom+1?(ve.y--,this._onRequestScroll.fire(this._eraseAttrData())):ve.y>=this._bufferService.rows&&(ve.y=this._bufferService.rows-1),ve.x>=this._bufferService.cols&&ve.x--,this._dirtyRowService.markDirty(ve.y),this._onLineFeed.fire()},ge.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},ge.prototype.backspace=function(){var ve,pe=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(pe.x>0&&pe.x--);if(this._restrictCursor(this._bufferService.cols),pe.x>0)pe.x--;else if(pe.x===0&&pe.y>pe.scrollTop&&pe.y<=pe.scrollBottom&&(!((ve=pe.lines.get(pe.ybase+pe.y))===null||ve===void 0)&&ve.isWrapped)){pe.lines.get(pe.ybase+pe.y).isWrapped=!1,pe.y--,pe.x=this._bufferService.cols-1;var Se=pe.lines.get(pe.ybase+pe.y);Se.hasWidth(pe.x)&&!Se.hasContent(pe.x)&&pe.x--}this._restrictCursor()},ge.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var ve=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-ve)}},ge.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},ge.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},ge.prototype._restrictCursor=function(ve){ve===void 0&&(ve=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(ve,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ge.prototype._setCursor=function(ve,pe){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=ve,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+pe):(this._bufferService.buffer.x=ve,this._bufferService.buffer.y=pe),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ge.prototype._moveCursor=function(ve,pe){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+ve,this._bufferService.buffer.y+pe)},ge.prototype.cursorUp=function(ve){var pe=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;pe>=0?this._moveCursor(0,-Math.min(pe,ve.params[0]||1)):this._moveCursor(0,-(ve.params[0]||1))},ge.prototype.cursorDown=function(ve){var pe=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;pe>=0?this._moveCursor(0,Math.min(pe,ve.params[0]||1)):this._moveCursor(0,ve.params[0]||1)},ge.prototype.cursorForward=function(ve){this._moveCursor(ve.params[0]||1,0)},ge.prototype.cursorBackward=function(ve){this._moveCursor(-(ve.params[0]||1),0)},ge.prototype.cursorNextLine=function(ve){this.cursorDown(ve),this._bufferService.buffer.x=0},ge.prototype.cursorPrecedingLine=function(ve){this.cursorUp(ve),this._bufferService.buffer.x=0},ge.prototype.cursorCharAbsolute=function(ve){this._setCursor((ve.params[0]||1)-1,this._bufferService.buffer.y)},ge.prototype.cursorPosition=function(ve){this._setCursor(ve.length>=2?(ve.params[1]||1)-1:0,(ve.params[0]||1)-1)},ge.prototype.charPosAbsolute=function(ve){this._setCursor((ve.params[0]||1)-1,this._bufferService.buffer.y)},ge.prototype.hPositionRelative=function(ve){this._moveCursor(ve.params[0]||1,0)},ge.prototype.linePosAbsolute=function(ve){this._setCursor(this._bufferService.buffer.x,(ve.params[0]||1)-1)},ge.prototype.vPositionRelative=function(ve){this._moveCursor(0,ve.params[0]||1)},ge.prototype.hVPosition=function(ve){this.cursorPosition(ve)},ge.prototype.tabClear=function(ve){var pe=ve.params[0];pe===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:pe===3&&(this._bufferService.buffer.tabs={})},ge.prototype.cursorForwardTab=function(ve){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=ve.params[0]||1;pe--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},ge.prototype.cursorBackwardTab=function(ve){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var pe=ve.params[0]||1,Se=this._bufferService.buffer;pe--;)Se.x=Se.prevStop()},ge.prototype._eraseInBufferLine=function(ve,pe,Se,ye){ye===void 0&&(ye=!1);var Pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+ve);Pe.replaceCells(pe,Se,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ye&&(Pe.isWrapped=!1)},ge.prototype._resetBufferLine=function(ve){var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+ve);pe.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),pe.isWrapped=!1},ge.prototype.eraseInDisplay=function(ve){var pe;switch(this._restrictCursor(),ve.params[0]){case 0:for(pe=this._bufferService.buffer.y,this._dirtyRowService.markDirty(pe),this._eraseInBufferLine(pe++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);pe<this._bufferService.rows;pe++)this._resetBufferLine(pe);this._dirtyRowService.markDirty(pe);break;case 1:for(pe=this._bufferService.buffer.y,this._dirtyRowService.markDirty(pe),this._eraseInBufferLine(pe,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(pe+1).isWrapped=!1);pe--;)this._resetBufferLine(pe);this._dirtyRowService.markDirty(0);break;case 2:for(pe=this._bufferService.rows,this._dirtyRowService.markDirty(pe-1);pe--;)this._resetBufferLine(pe);this._dirtyRowService.markDirty(0);break;case 3:var Se=this._bufferService.buffer.lines.length-this._bufferService.rows;Se>0&&(this._bufferService.buffer.lines.trimStart(Se),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-Se,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-Se,0),this._onScroll.fire(0))}},ge.prototype.eraseInLine=function(ve){switch(this._restrictCursor(),ve.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ge.prototype.insertLines=function(ve){this._restrictCursor();var pe=ve.params[0]||1,Se=this._bufferService.buffer;if(!(Se.y>Se.scrollBottom||Se.y<Se.scrollTop)){for(var ye=Se.ybase+Se.y,Pe=this._bufferService.rows-1-Se.scrollBottom,we=this._bufferService.rows-1+Se.ybase-Pe+1;pe--;)Se.lines.splice(we-1,1),Se.lines.splice(ye,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.y,Se.scrollBottom),Se.x=0}},ge.prototype.deleteLines=function(ve){this._restrictCursor();var pe=ve.params[0]||1,Se=this._bufferService.buffer;if(!(Se.y>Se.scrollBottom||Se.y<Se.scrollTop)){var ye,Pe=Se.ybase+Se.y;for(ye=this._bufferService.rows-1-Se.scrollBottom,ye=this._bufferService.rows-1+Se.ybase-ye;pe--;)Se.lines.splice(Pe,1),Se.lines.splice(ye,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.y,Se.scrollBottom),Se.x=0}},ge.prototype.insertChars=function(ve){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.insertCells(this._bufferService.buffer.x,ve.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.deleteChars=function(ve){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.deleteCells(this._bufferService.buffer.x,ve.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.scrollUp=function(ve){for(var pe=ve.params[0]||1,Se=this._bufferService.buffer;pe--;)Se.lines.splice(Se.ybase+Se.scrollTop,1),Se.lines.splice(Se.ybase+Se.scrollBottom,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.scrollTop,Se.scrollBottom)},ge.prototype.scrollDown=function(ve){for(var pe=ve.params[0]||1,Se=this._bufferService.buffer;pe--;)Se.lines.splice(Se.ybase+Se.scrollBottom,1),Se.lines.splice(Se.ybase+Se.scrollTop,0,Se.getBlankLine(ae.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(Se.scrollTop,Se.scrollBottom)},ge.prototype.scrollLeft=function(ve){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var Se=ve.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Pe=pe.lines.get(pe.ybase+ye);Pe.deleteCells(0,Se,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},ge.prototype.scrollRight=function(ve){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var Se=ve.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Pe=pe.lines.get(pe.ybase+ye);Pe.insertCells(0,Se,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},ge.prototype.insertColumns=function(ve){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var Se=ve.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Pe=this._bufferService.buffer.lines.get(pe.ybase+ye);Pe.insertCells(pe.x,Se,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},ge.prototype.deleteColumns=function(ve){var pe=this._bufferService.buffer;if(!(pe.y>pe.scrollBottom||pe.y<pe.scrollTop)){for(var Se=ve.params[0]||1,ye=pe.scrollTop;ye<=pe.scrollBottom;++ye){var Pe=pe.lines.get(pe.ybase+ye);Pe.deleteCells(pe.x,Se,pe.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom)}},ge.prototype.eraseChars=function(ve){this._restrictCursor();var pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);pe&&(pe.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(ve.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.repeatPrecedingCharacter=function(ve){if(this._parser.precedingCodepoint){for(var pe=ve.params[0]||1,Se=new Uint32Array(pe),ye=0;ye<pe;++ye)Se[ye]=this._parser.precedingCodepoint;this.print(Se,0,Se.length)}},ge.prototype.sendDeviceAttributesPrimary=function(ve){ve.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(fe.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(fe.C0.ESC+"[?6c"))},ge.prototype.sendDeviceAttributesSecondary=function(ve){ve.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(fe.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(fe.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(ve.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(fe.C0.ESC+"[>83;40003;0c"))},ge.prototype._is=function(ve){return(this._optionsService.options.termName+"").indexOf(ve)===0},ge.prototype.setMode=function(ve){for(var pe=0;pe<ve.length;pe++)switch(ve.params[pe]){case 4:this._coreService.modes.insertMode=!0}},ge.prototype.setModePrivate=function(ve){for(var pe=0;pe<ve.length;pe++)switch(ve.params[pe]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,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}},ge.prototype.resetMode=function(ve){for(var pe=0;pe<ve.length;pe++)switch(ve.params[pe]){case 4:this._coreService.modes.insertMode=!1}},ge.prototype.resetModePrivate=function(ve){for(var pe=0;pe<ve.length;pe++)switch(ve.params[pe]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),ve.params[pe]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},ge.prototype._updateAttrColor=function(ve,pe,Se,ye,Pe){return pe===2?(ve|=50331648,ve&=-16777216,ve|=a.AttributeData.fromColorRGB([Se,ye,Pe])):pe===5&&(ve&=-50331904,ve|=33554432|255&Se),ve},ge.prototype._extractColor=function(ve,pe,Se){var ye=[0,0,-1,0,0,0],Pe=0,we=0;do{if(ye[we+Pe]=ve.params[pe+we],ve.hasSubParams(pe+we)){var Le=ve.getSubParams(pe+we),Ee=0;do ye[1]===5&&(Pe=1),ye[we+Ee+1+Pe]=Le[Ee];while(++Ee<Le.length&&Ee+we+1+Pe<ye.length);break}if(ye[1]===5&&we+Pe>=2||ye[1]===2&&we+Pe>=5)break;ye[1]&&(Pe=1)}while(++we+pe<ve.length&&we+Pe<ye.length);for(Ee=2;Ee<ye.length;++Ee)ye[Ee]===-1&&(ye[Ee]=0);switch(ye[0]){case 38:Se.fg=this._updateAttrColor(Se.fg,ye[1],ye[3],ye[4],ye[5]);break;case 48:Se.bg=this._updateAttrColor(Se.bg,ye[1],ye[3],ye[4],ye[5]);break;case 58:Se.extended=Se.extended.clone(),Se.extended.underlineColor=this._updateAttrColor(Se.extended.underlineColor,ye[1],ye[3],ye[4],ye[5])}return we},ge.prototype._processUnderline=function(ve,pe){pe.extended=pe.extended.clone(),(!~ve||ve>5)&&(ve=1),pe.extended.underlineStyle=ve,pe.fg|=268435456,ve===0&&(pe.fg&=-268435457),pe.updateExtended()},ge.prototype.charAttributes=function(ve){if(ve.length===1&&ve.params[0]===0)return this._curAttrData.fg=ae.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=ae.DEFAULT_ATTR_DATA.bg);for(var pe,Se=ve.length,ye=this._curAttrData,Pe=0;Pe<Se;Pe++)(pe=ve.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(ve.hasSubParams(Pe)?ve.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(ve,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)},ge.prototype.deviceStatus=function(ve){switch(ve.params[0]){case 5:this._coreService.triggerDataEvent(fe.C0.ESC+"[0n");break;case 6:var pe=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(fe.C0.ESC+"["+pe+";"+Se+"R")}},ge.prototype.deviceStatusPrivate=function(ve){switch(ve.params[0]){case 6:var pe=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(fe.C0.ESC+"[?"+pe+";"+Se+"R")}},ge.prototype.softReset=function(ve){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},ge.prototype.setCursorStyle=function(ve){var pe=ve.params[0]||1;switch(pe){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var Se=pe%2==1;this._optionsService.options.cursorBlink=Se},ge.prototype.setScrollRegion=function(ve){var pe,Se=ve.params[0]||1;(ve.length<2||(pe=ve.params[1])>this._bufferService.rows||pe===0)&&(pe=this._bufferService.rows),pe>Se&&(this._bufferService.buffer.scrollTop=Se-1,this._bufferService.buffer.scrollBottom=pe-1,this._setCursor(0,0))},ge.prototype.windowOptions=function(ve){if(ee(ve.params[0],this._optionsService.options.windowOptions)){var pe=ve.length>1?ve.params[1]:0;switch(ve.params[0]){case 14:pe!==2&&this._onRequestWindowsOptionsReport.fire(he.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(he.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(fe.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:pe!==0&&pe!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),pe!==0&&pe!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:pe!==0&&pe!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),pe!==0&&pe!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},ge.prototype.saveCursor=function(ve){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},ge.prototype.restoreCursor=function(ve){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},ge.prototype.setTitle=function(ve){this._windowTitle=ve,this._onTitleChange.fire(ve)},ge.prototype.setIconName=function(ve){this._iconName=ve},ge.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},ge.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},ge.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},ge.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,se.DEFAULT_CHARSET)},ge.prototype.selectCharset=function(ve){ve.length===2?ve[0]!=="/"&&this._charsetService.setgCharset(b[ve[0]],se.CHARSETS[ve[1]]||se.DEFAULT_CHARSET):this.selectDefaultCharset()},ge.prototype.index=function(){this._restrictCursor();var ve=this._bufferService.buffer;this._bufferService.buffer.y++,ve.y===ve.scrollBottom+1?(ve.y--,this._onRequestScroll.fire(this._eraseAttrData())):ve.y>=this._bufferService.rows&&(ve.y=this._bufferService.rows-1),this._restrictCursor()},ge.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},ge.prototype.reverseIndex=function(){this._restrictCursor();var ve=this._bufferService.buffer;if(ve.y===ve.scrollTop){var pe=ve.scrollBottom-ve.scrollTop;ve.lines.shiftElements(ve.ybase+ve.y,pe,1),ve.lines.set(ve.ybase+ve.y,ve.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(ve.scrollTop,ve.scrollBottom)}else ve.y--,this._restrictCursor()},ge.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},ge.prototype.reset=function(){this._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone()},ge.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},ge.prototype.setgLevel=function(ve){this._charsetService.setgLevel(ve)},ge.prototype.screenAlignmentPattern=function(){var ve=new z.CellData;ve.content=1<<22|69,ve.fg=this._curAttrData.fg,ve.bg=this._curAttrData.bg;var pe=this._bufferService.buffer;this._setCursor(0,0);for(var Se=0;Se<this._bufferService.rows;++Se){var ye=pe.ybase+pe.y+Se,Pe=pe.lines.get(ye);Pe&&(Pe.fill(ve),Pe.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},ge}(ie.Disposable);me.InputHandler=ce},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.DEFAULT_CHARSET=me.CHARSETS=void 0,me.CHARSETS={},me.DEFAULT_CHARSET=me.CHARSETS.B,me.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"},me.CHARSETS.A={"#":"\xA3"},me.CHARSETS.B=void 0,me.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},me.CHARSETS.C=me.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},me.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},me.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},me.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},me.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},me.CHARSETS.E=me.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},me.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},me.CHARSETS.H=me.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},me.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.Params=void 0;var xe=function(){function E(he,fe){if(he===void 0&&(he=32),fe===void 0&&(fe=32),this.maxLength=he,this.maxSubParamsLength=fe,fe>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(he),this.length=0,this._subParams=new Int32Array(fe),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(he),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(he){var fe=new E;if(!he.length)return fe;for(var se=he[0]instanceof Array?1:0;se<he.length;++se){var re=he[se];if(re instanceof Array)for(var ie=0;ie<re.length;++ie)fe.addSubParam(re[ie]);else fe.addParam(re)}return fe},E.prototype.clone=function(){var he=new E(this.maxLength,this.maxSubParamsLength);return he.params.set(this.params),he.length=this.length,he._subParams.set(this._subParams),he._subParamsLength=this._subParamsLength,he._subParamsIdx.set(this._subParamsIdx),he._rejectDigits=this._rejectDigits,he._rejectSubDigits=this._rejectSubDigits,he._digitIsSub=this._digitIsSub,he},E.prototype.toArray=function(){for(var he=[],fe=0;fe<this.length;++fe){he.push(this.params[fe]);var se=this._subParamsIdx[fe]>>8,re=255&this._subParamsIdx[fe];re-se>0&&he.push(Array.prototype.slice.call(this._subParams,se,re))}return he},E.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},E.prototype.addParam=function(he){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(he<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=he>2147483647?2147483647:he}},E.prototype.addSubParam=function(he){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(he<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=he>2147483647?2147483647:he,this._subParamsIdx[this.length-1]++}},E.prototype.hasSubParams=function(he){return(255&this._subParamsIdx[he])-(this._subParamsIdx[he]>>8)>0},E.prototype.getSubParams=function(he){var fe=this._subParamsIdx[he]>>8,se=255&this._subParamsIdx[he];return se-fe>0?this._subParams.subarray(fe,se):null},E.prototype.getSubParamsAll=function(){for(var he={},fe=0;fe<this.length;++fe){var se=this._subParamsIdx[fe]>>8,re=255&this._subParamsIdx[fe];re-se>0&&(he[fe]=this._subParams.slice(se,re))}return he},E.prototype.addDigit=function(he){var fe;if(!(this._rejectDigits||!(fe=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var se=this._digitIsSub?this._subParams:this.params,re=se[fe-1];se[fe-1]=~re?Math.min(10*re+he,2147483647):he}},E}();me.Params=xe},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.OscHandler=me.OscParser=void 0;var xe=be(23),E=be(8),he=function(){function se(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return se.prototype.addHandler=function(re,ie){this._handlers[re]===void 0&&(this._handlers[re]=[]);var le=this._handlers[re];return le.push(ie),{dispose:function(){var ue=le.indexOf(ie);ue!==-1&&le.splice(ue,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 ue=this._handlers[this._id];if(ue)for(var ae=ue.length-1;ae>=0;ae--)ue[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 ue=re[ie++];if(ue===59){this._state=2,this._start();break}if(ue<48||57<ue)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+ue-48}this._state===2&&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}();me.OscParser=he;var fe=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}();me.OscHandler=fe},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.PAYLOAD_LIMIT=void 0,me.PAYLOAD_LIMIT=1e7},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.DcsHandler=me.DcsParser=void 0;var xe=be(8),E=be(21),he=be(23),fe=[],se=function(){function ie(){this._handlers=Object.create(null),this._active=fe,this._ident=0,this._handlerFb=function(){}}return ie.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ie.prototype.addHandler=function(le,ue){this._handlers[le]===void 0&&(this._handlers[le]=[]);var ae=this._handlers[le];return ae.push(ue),{dispose:function(){var oe=ae.indexOf(ue);oe!==-1&&ae.splice(oe,1)}}},ie.prototype.setHandler=function(le,ue){this._handlers[le]=[ue]},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=fe,this._ident=0},ie.prototype.hook=function(le,ue){if(this.reset(),this._ident=le,this._active=this._handlers[le]||fe,this._active.length)for(var ae=this._active.length-1;ae>=0;ae--)this._active[ae].hook(ue);else this._handlerFb(this._ident,"HOOK",ue)},ie.prototype.put=function(le,ue,ae){if(this._active.length)for(var oe=this._active.length-1;oe>=0;oe--)this._active[oe].put(le,ue,ae);else this._handlerFb(this._ident,"PUT",xe.utf32ToString(le,ue,ae))},ie.prototype.unhook=function(le){if(this._active.length){for(var ue=this._active.length-1;ue>=0&&this._active[ue].unhook(le)===!1;ue--);for(ue--;ue>=0;ue--)this._active[ue].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",le);this._active=fe,this._ident=0},ie}();me.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,ue,ae){this._hitLimit||(this._data+=xe.utf32ToString(le,ue,ae),this._data.length>he.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ie.prototype.unhook=function(le){var ue;return this._hitLimit?ue=!1:le&&(ue=this._handler(this._data,this._params||new E.Params)),this._params=void 0,this._data="",this._hitLimit=!1,ue},ie}();me.DcsHandler=re},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.removeTerminalFromCache=me.acquireCharAtlas=void 0;var xe=be(26),E=be(43),he=[];me.acquireCharAtlas=function(fe,se,re,ie,le){for(var ue=xe.generateConfig(ie,le,fe,re),ae=0;ae<he.length;ae++){var oe=(ne=he[ae]).ownedBy.indexOf(se);if(oe>=0){if(xe.configEquals(ne.config,ue))return ne.atlas;ne.ownedBy.length===1?(ne.atlas.dispose(),he.splice(ae,1)):ne.ownedBy.splice(oe,1);break}}for(ae=0;ae<he.length;ae++){var ne=he[ae];if(xe.configEquals(ne.config,ue))return ne.ownedBy.push(se),ne.atlas}var z={atlas:new E.DynamicCharAtlas(document,ue),config:ue,ownedBy:[se]};return he.push(z),z.atlas},me.removeTerminalFromCache=function(fe){for(var se=0;se<he.length;se++){var re=he[se].ownedBy.indexOf(fe);if(re!==-1){he[se].ownedBy.length===1?(he[se].atlas.dispose(),he.splice(se,1)):he[se].ownedBy.splice(re,1);break}}}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.is256Color=me.configEquals=me.generateConfig=void 0;var xe=be(3);me.generateConfig=function(E,he,fe,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:he,fontFamily:fe.fontFamily,fontSize:fe.fontSize,fontWeight:fe.fontWeight,fontWeightBold:fe.fontWeightBold,allowTransparency:fe.allowTransparency,colors:re}},me.configEquals=function(E,he){for(var fe=0;fe<E.colors.ansi.length;fe++)if(E.colors.ansi[fe].rgba!==he.colors.ansi[fe].rgba)return!1;return E.devicePixelRatio===he.devicePixelRatio&&E.fontFamily===he.fontFamily&&E.fontSize===he.fontSize&&E.fontWeight===he.fontWeight&&E.fontWeightBold===he.fontWeightBold&&E.allowTransparency===he.allowTransparency&&E.scaledCharWidth===he.scaledCharWidth&&E.scaledCharHeight===he.scaledCharHeight&&E.colors.foreground===he.colors.foreground&&E.colors.background===he.colors.background},me.is256Color=function(E){return E<xe.DEFAULT_COLOR}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.ColorManager=me.DEFAULT_ANSI_COLORS=void 0;var xe=be(10),E=be(45),he=xe.css.toColor("#ffffff"),fe=xe.css.toColor("#000000"),se=xe.css.toColor("#ffffff"),re=xe.css.toColor("#000000"),ie={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};me.DEFAULT_ANSI_COLORS=function(){for(var ue=[xe.css.toColor("#2e3436"),xe.css.toColor("#cc0000"),xe.css.toColor("#4e9a06"),xe.css.toColor("#c4a000"),xe.css.toColor("#3465a4"),xe.css.toColor("#75507b"),xe.css.toColor("#06989a"),xe.css.toColor("#d3d7cf"),xe.css.toColor("#555753"),xe.css.toColor("#ef2929"),xe.css.toColor("#8ae234"),xe.css.toColor("#fce94f"),xe.css.toColor("#729fcf"),xe.css.toColor("#ad7fa8"),xe.css.toColor("#34e2e2"),xe.css.toColor("#eeeeec")],ae=[0,95,135,175,215,255],oe=0;oe<216;oe++){var ne=ae[oe/36%6|0],z=ae[oe/6%6|0],a=ae[oe%6];ue.push({css:xe.channels.toCss(ne,z,a),rgba:xe.channels.toRgba(ne,z,a)})}for(oe=0;oe<24;oe++){var y=8+10*oe;ue.push({css:xe.channels.toCss(y,y,y),rgba:xe.channels.toRgba(y,y,y)})}return ue}();var le=function(){function ue(ae,oe){this.allowTransparency=oe;var ne=ae.createElement("canvas");ne.width=1,ne.height=1;var z=ne.getContext("2d");if(!z)throw new Error("Could not get rendering context");this._ctx=z,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new E.ColorContrastCache,this.colors={foreground:he,background:fe,cursor:se,cursorAccent:re,selectionTransparent:ie,selectionOpaque:xe.color.blend(fe,ie),ansi:me.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return ue.prototype.onOptionsChange=function(ae){ae==="minimumContrastRatio"&&this._contrastCache.clear()},ue.prototype.setTheme=function(ae){ae===void 0&&(ae={}),this.colors.foreground=this._parseColor(ae.foreground,he),this.colors.background=this._parseColor(ae.background,fe),this.colors.cursor=this._parseColor(ae.cursor,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,me.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(ae.red,me.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(ae.green,me.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(ae.yellow,me.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(ae.blue,me.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(ae.magenta,me.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(ae.cyan,me.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(ae.white,me.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(ae.brightBlack,me.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(ae.brightRed,me.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(ae.brightGreen,me.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(ae.brightYellow,me.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(ae.brightBlue,me.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(ae.brightMagenta,me.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(ae.brightCyan,me.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(ae.brightWhite,me.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},ue.prototype._parseColor=function(ae,oe,ne){if(ne===void 0&&(ne=this.allowTransparency),ae===void 0)return oe;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=ae,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+ae+" is invalid using fallback "+oe.css),oe;this._ctx.fillRect(0,0,1,1);var z=this._ctx.getImageData(0,0,1,1).data;if(z[3]!==255){if(!ne)return console.warn("Color: "+ae+" is using transparency, but allowTransparency is false. Using fallback "+oe.css+"."),oe;var a=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(ce){return Number(ce)}),y=a[0],x=a[1],b=a[2],ee=a[3],te=Math.round(255*ee);return{rgba:xe.channels.toRgba(y,x,b,te),css:ae}}return{css:this._ctx.fillStyle,rgba:xe.channels.toRgba(z[0],z[1],z[2],z[3])}},ue}();me.ColorManager=le},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.throwIfFalsy=void 0,me.throwIfFalsy=function(xe){if(!xe)throw new Error("value must not be falsy");return xe}},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(le,ue){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,oe){ae.__proto__=oe}||function(ae,oe){for(var ne in oe)oe.hasOwnProperty(ne)&&(ae[ne]=oe[ne])})(le,ue)},function(le,ue){function ae(){this.constructor=le}xe(le,ue),le.prototype=ue===null?Object.create(ue):(ae.prototype=ue.prototype,new ae)});Object.defineProperty(me,"__esModule",{value:!0}),me.CharacterJoinerRegistry=me.JoinedCellData=void 0;var he=be(6),fe=be(3),se=be(4),re=function(le){function ue(ae,oe,ne){var z=le.call(this)||this;return z.content=0,z.combinedData="",z.fg=ae.fg,z.bg=ae.bg,z.combinedData=oe,z._width=ne,z}return E(ue,le),ue.prototype.isCombined=function(){return 2097152},ue.prototype.getWidth=function(){return this._width},ue.prototype.getChars=function(){return this.combinedData},ue.prototype.getCode=function(){return 2097151},ue.prototype.setFromCharData=function(ae){throw new Error("not implemented")},ue.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},ue}(he.AttributeData);me.JoinedCellData=re;var ie=function(){function le(ue){this._bufferService=ue,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new se.CellData}return le.prototype.registerCharacterJoiner=function(ue){var ae={id:this._nextCharacterJoinerId++,handler:ue};return this._characterJoiners.push(ae),ae.id},le.prototype.deregisterCharacterJoiner=function(ue){for(var ae=0;ae<this._characterJoiners.length;ae++)if(this._characterJoiners[ae].id===ue)return this._characterJoiners.splice(ae,1),!0;return!1},le.prototype.getJoinedCharacters=function(ue){if(this._characterJoiners.length===0)return[];var ae=this._bufferService.buffer.lines.get(ue);if(!ae||ae.length===0)return[];for(var oe=[],ne=ae.translateToString(!0),z=0,a=0,y=0,x=ae.getFg(0),b=ae.getBg(0),ee=0;ee<ae.getTrimmedLength();ee++)if(ae.loadCell(ee,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==x||this._workCell.bg!==b){if(ee-z>1)for(var te=this._getJoinedRanges(ne,y,a,ae,z),ce=0;ce<te.length;ce++)oe.push(te[ce]);z=ee,y=a,x=this._workCell.fg,b=this._workCell.bg}a+=this._workCell.getChars().length||fe.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-z>1)for(te=this._getJoinedRanges(ne,y,a,ae,z),ce=0;ce<te.length;ce++)oe.push(te[ce]);return oe},le.prototype._getJoinedRanges=function(ue,ae,oe,ne,z){for(var a=ue.substring(ae,oe),y=this._characterJoiners[0].handler(a),x=1;x<this._characterJoiners.length;x++)for(var b=this._characterJoiners[x].handler(a),ee=0;ee<b.length;ee++)le._mergeRanges(y,b[ee]);return this._stringRangesToCellRanges(y,ne,z),y},le.prototype._stringRangesToCellRanges=function(ue,ae,oe){var ne=0,z=!1,a=0,y=ue[ne];if(y){for(var x=oe;x<this._bufferService.cols;x++){var b=ae.getWidth(x),ee=ae.getString(x).length||fe.WHITESPACE_CELL_CHAR.length;if(b!==0){if(!z&&y[0]<=a&&(y[0]=x,z=!0),y[1]<=a){if(y[1]=x,!(y=ue[++ne]))break;y[0]<=a?(y[0]=x,z=!0):z=!1}a+=ee}}y&&(y[1]=this._bufferService.cols)}},le._mergeRanges=function(ue,ae){for(var oe=!1,ne=0;ne<ue.length;ne++){var z=ue[ne];if(oe){if(ae[1]<=z[0])return ue[ne-1][1]=ae[1],ue;if(ae[1]<=z[1])return ue[ne-1][1]=Math.max(ae[1],z[1]),ue.splice(ne,1),ue;ue.splice(ne,1),ne--}else{if(ae[1]<=z[0])return ue.splice(ne,0,ae),ue;if(ae[1]<=z[1])return z[0]=Math.min(ae[0],z[0]),ue;ae[0]<z[1]&&(z[0]=Math.min(ae[0],z[0]),oe=!0)}}return oe?ue[ue.length-1][1]=ae[1]:ue.push(ae),ue},le}();me.CharacterJoinerRegistry=ie},function(dt,me,be){"use strict";function xe(E,he){var fe=he.getBoundingClientRect();return[E.clientX-fe.left,E.clientY-fe.top]}Object.defineProperty(me,"__esModule",{value:!0}),me.getRawByteCoords=me.getCoords=me.getCoordsRelativeToElement=void 0,me.getCoordsRelativeToElement=xe,me.getCoords=function(E,he,fe,se,re,ie,le,ue){if(re){var ae=xe(E,he);if(ae)return ae[0]=Math.ceil((ae[0]+(ue?ie/2:0))/ie),ae[1]=Math.ceil(ae[1]/le),ae[0]=Math.min(Math.max(ae[0],1),fe+(ue?1:0)),ae[1]=Math.min(Math.max(ae[1],1),se),ae}},me.getRawByteCoords=function(E){if(E)return{x:E[0]+32,y:E[1]+32}}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.RenderDebouncer=void 0;var xe=function(){function E(he){this._renderCallback=he}return E.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},E.prototype.refresh=function(he,fe,se){var re=this;this._rowCount=se,he=he!==void 0?he:0,fe=fe!==void 0?fe:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,he):he,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,fe):fe,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return re._innerRefresh()}))},E.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var he=Math.max(this._rowStart,0),fe=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(he,fe)}},E}();me.RenderDebouncer=xe},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(fe,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])})(fe,se)},function(fe,se){function re(){this.constructor=fe}xe(fe,se),fe.prototype=se===null?Object.create(se):(re.prototype=se.prototype,new re)});Object.defineProperty(me,"__esModule",{value:!0}),me.ScreenDprMonitor=void 0;var he=function(fe){function se(){var re=fe!==null&&fe.apply(this,arguments)||this;return re._currentDevicePixelRatio=window.devicePixelRatio,re}return E(se,fe),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(){fe.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}(be(2).Disposable);me.ScreenDprMonitor=he},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.clone=void 0,me.clone=function xe(E,he){if(he===void 0&&(he=5),typeof E!="object")return E;var fe=Array.isArray(E)?[]:{};for(var se in E)fe[se]=he<=1?E[se]:E[se]?xe(E[se],he-1):E[se];return fe}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.Terminal=void 0;var xe=be(4),E=be(35),he=be(18),fe=be(0),se=be(83),re=function(){function ne(z){this._core=new E.Terminal(z),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(z,a){this._verifyIntegers(z,a),this._core.resize(z,a)},ne.prototype.open=function(z){this._core.open(z)},ne.prototype.attachCustomKeyEventHandler=function(z){this._core.attachCustomKeyEventHandler(z)},ne.prototype.registerLinkMatcher=function(z,a,y){return this._checkProposedApi(),this._core.registerLinkMatcher(z,a,y)},ne.prototype.deregisterLinkMatcher=function(z){this._checkProposedApi(),this._core.deregisterLinkMatcher(z)},ne.prototype.registerLinkProvider=function(z){return this._checkProposedApi(),this._core.registerLinkProvider(z)},ne.prototype.registerCharacterJoiner=function(z){return this._checkProposedApi(),this._core.registerCharacterJoiner(z)},ne.prototype.deregisterCharacterJoiner=function(z){this._checkProposedApi(),this._core.deregisterCharacterJoiner(z)},ne.prototype.registerMarker=function(z){return this._checkProposedApi(),this._verifyIntegers(z),this._core.addMarker(z)},ne.prototype.addMarker=function(z){return this.registerMarker(z)},ne.prototype.hasSelection=function(){return this._core.hasSelection()},ne.prototype.select=function(z,a,y){this._verifyIntegers(z,a,y),this._core.select(z,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(z,a){this._verifyIntegers(z,a),this._core.selectLines(z,a)},ne.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},ne.prototype.scrollLines=function(z){this._verifyIntegers(z),this._core.scrollLines(z)},ne.prototype.scrollPages=function(z){this._verifyIntegers(z),this._core.scrollPages(z)},ne.prototype.scrollToTop=function(){this._core.scrollToTop()},ne.prototype.scrollToBottom=function(){this._core.scrollToBottom()},ne.prototype.scrollToLine=function(z){this._verifyIntegers(z),this._core.scrollToLine(z)},ne.prototype.clear=function(){this._core.clear()},ne.prototype.write=function(z,a){this._core.write(z,a)},ne.prototype.writeUtf8=function(z,a){this._core.write(z,a)},ne.prototype.writeln=function(z,a){this._core.write(z),this._core.write(`\r
`,a)},ne.prototype.paste=function(z){this._core.paste(z)},ne.prototype.getOption=function(z){return this._core.optionsService.getOption(z)},ne.prototype.setOption=function(z,a){this._core.optionsService.setOption(z,a)},ne.prototype.refresh=function(z,a){this._verifyIntegers(z,a),this._core.refresh(z,a)},ne.prototype.reset=function(){this._core.reset()},ne.prototype.loadAddon=function(z){return this._addonManager.loadAddon(this,z)},Object.defineProperty(ne,"strings",{get:function(){return he},enumerable:!1,configurable:!0}),ne.prototype._verifyIntegers=function(){for(var z=[],a=0;a<arguments.length;a++)z[a]=arguments[a];for(var y=0,x=z;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}();me.Terminal=re;var ie=function(){function ne(z,a){this._buffer=z,this.type=a}return ne.prototype.init=function(z){return this._buffer=z,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(z){var a=this._buffer.lines.get(z);if(a)return new ue(a)},ne.prototype.getNullCell=function(){return new xe.CellData},ne}(),le=function(){function ne(z){var a=this;this._buffers=z,this._onBufferChange=new fe.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}(),ue=function(){function ne(z){this._line=z}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(z,a){if(!(z<0||z>=this._line.length))return a?(this._line.loadCell(z,a),a):this._line.loadCell(z,new xe.CellData)},ne.prototype.translateToString=function(z,a,y){return this._line.translateToString(z,a,y)},ne}(),ae=function(){function ne(z){this._core=z}return ne.prototype.registerCsiHandler=function(z,a){return this._core.addCsiHandler(z,function(y){return a(y.toArray())})},ne.prototype.addCsiHandler=function(z,a){return this.registerCsiHandler(z,a)},ne.prototype.registerDcsHandler=function(z,a){return this._core.addDcsHandler(z,function(y,x){return a(y,x.toArray())})},ne.prototype.addDcsHandler=function(z,a){return this.registerDcsHandler(z,a)},ne.prototype.registerEscHandler=function(z,a){return this._core.addEscHandler(z,a)},ne.prototype.addEscHandler=function(z,a){return this.registerEscHandler(z,a)},ne.prototype.registerOscHandler=function(z,a){return this._core.addOscHandler(z,a)},ne.prototype.addOscHandler=function(z,a){return this.registerOscHandler(z,a)},ne}(),oe=function(){function ne(z){this._core=z}return ne.prototype.register=function(z){this._core.unicodeService.register(z)},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(z){this._core.unicodeService.activeVersion=z},enumerable:!1,configurable:!0}),ne}()},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(Te,Ce){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ae,Ie){Ae.__proto__=Ie}||function(Ae,Ie){for(var He in Ie)Ie.hasOwnProperty(He)&&(Ae[He]=Ie[He])})(Te,Ce)},function(Te,Ce){function Ae(){this.constructor=Te}xe(Te,Ce),Te.prototype=Ce===null?Object.create(Ce):(Ae.prototype=Ce.prototype,new Ae)});Object.defineProperty(me,"__esModule",{value:!0}),me.Terminal=void 0;var he=be(36),fe=be(37),se=be(38),re=be(12),ie=be(19),le=be(40),ue=be(50),ae=be(51),oe=be(11),ne=be(7),z=be(18),a=be(54),y=be(55),x=be(56),b=be(57),ee=be(59),te=be(0),ce=be(16),de=be(27),ge=be(60),ve=be(5),pe=be(61),Se=be(62),ye=be(63),Pe=be(64),we=be(65),Le=typeof window!="undefined"?window.document:null,Ee=function(Te){function Ce(Ae){Ae===void 0&&(Ae={});var Ie=Te.call(this,Ae)||this;return Ie.browser=oe,Ie._keyDownHandled=!1,Ie._onCursorMove=new te.EventEmitter,Ie._onKey=new te.EventEmitter,Ie._onRender=new te.EventEmitter,Ie._onSelectionChange=new te.EventEmitter,Ie._onTitleChange=new te.EventEmitter,Ie._onFocus=new te.EventEmitter,Ie._onBlur=new te.EventEmitter,Ie._onA11yCharEmitter=new te.EventEmitter,Ie._onA11yTabEmitter=new te.EventEmitter,Ie._setup(),Ie.linkifier=Ie._instantiationService.createInstance(ue.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(He,je){return Ie.refresh(He,je)})),Ie.register(Ie._inputHandler.onRequestReset(function(){return Ie.reset()})),Ie.register(Ie._inputHandler.onRequestScroll(function(He,je){return Ie.scroll(He,je||void 0)})),Ie.register(Ie._inputHandler.onRequestWindowsOptionsReport(function(He){return Ie._reportWindowsOptions(He)})),Ie.register(te.forwardEvent(Ie._inputHandler.onCursorMove,Ie._onCursorMove)),Ie.register(te.forwardEvent(Ie._inputHandler.onTitleChange,Ie._onTitleChange)),Ie.register(te.forwardEvent(Ie._inputHandler.onA11yChar,Ie._onA11yCharEmitter)),Ie.register(te.forwardEvent(Ie._inputHandler.onA11yTab,Ie._onA11yTabEmitter)),Ie.register(Ie._bufferService.onResize(function(He){return Ie._afterResize(He.cols,He.rows)})),Ie}return E(Ce,Te),Object.defineProperty(Ce.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),Ce.prototype.dispose=function(){var Ae,Ie,He;this._isDisposed||(Te.prototype.dispose.call(this),(Ae=this._renderService)===null||Ae===void 0||Ae.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(He=(Ie=this.element)===null||Ie===void 0?void 0:Ie.parentNode)===null||He===void 0||He.removeChild(this.element))},Ce.prototype._setup=function(){Te.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(Ce.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),Ce.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},Ce.prototype._updateOptions=function(Ae){var Ie,He,je,tt;switch(Te.prototype._updateOptions.call(this,Ae),Ae){case"fontFamily":case"fontSize":(Ie=this._renderService)===null||Ie===void 0||Ie.clear(),(He=this._charSizeService)===null||He===void 0||He.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":(je=this.viewport)===null||je===void 0||je.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)}},Ce.prototype._onTextAreaFocus=function(Ae){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(re.C0.ESC+"[I"),this.updateCursorStyle(Ae),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},Ce.prototype.blur=function(){var Ae;return(Ae=this.textarea)===null||Ae===void 0?void 0:Ae.blur()},Ce.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()},Ce.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var Ae=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),Ie=this._bufferService.buffer.y*Ae,He=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=He+"px",this.textarea.style.top=Ie+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=Ae+"px",this.textarea.style.lineHeight=Ae+"px",this.textarea.style.zIndex="-5"}},Ce.prototype._initGlobal=function(){var Ae=this;this._bindKeys(),this.register(ne.addDisposableDomListener(this.element,"copy",function(He){Ae.hasSelection()&&se.copyHandler(He,Ae._selectionService)}));var Ie=function(He){return se.handlePasteEvent(He,Ae.textarea,Ae._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(He){He.button===2&&se.rightClickHandler(He,Ae.textarea,Ae.screenElement,Ae._selectionService,Ae.options.rightClickSelectsWord)})):this.register(ne.addDisposableDomListener(this.element,"contextmenu",function(He){se.rightClickHandler(He,Ae.textarea,Ae.screenElement,Ae._selectionService,Ae.options.rightClickSelectsWord)})),oe.isLinux&&this.register(ne.addDisposableDomListener(this.element,"auxclick",function(He){He.button===1&&se.moveTextAreaUnderMouseCursor(He,Ae.textarea,Ae.screenElement)}))},Ce.prototype._bindKeys=function(){var Ae=this;this.register(ne.addDisposableDomListener(this.textarea,"keyup",function(Ie){return Ae._keyUp(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keydown",function(Ie){return Ae._keyDown(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keypress",function(Ie){return Ae._keyPress(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"compositionstart",function(){return Ae._compositionHelper.compositionstart()})),this.register(ne.addDisposableDomListener(this.textarea,"compositionupdate",function(Ie){return Ae._compositionHelper.compositionupdate(Ie)})),this.register(ne.addDisposableDomListener(this.textarea,"compositionend",function(){return Ae._compositionHelper.compositionend()})),this.register(this.onRender(function(){return Ae._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(Ie){return Ae._queueLinkification(Ie.start,Ie.end)}))},Ce.prototype.open=function(Ae){var Ie=this;if(!Ae)throw new Error("Terminal requires a parent element.");Le.body.contains(Ae)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=Ae.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"),Ae.appendChild(this.element);var He=Le.createDocumentFragment();this._viewportElement=Le.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),He.appendChild(this._viewportElement),this._viewportScrollArea=Le.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=Le.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=Le.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),He.appendChild(this.screenElement),this.textarea=Le.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",z.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(ne.addDisposableDomListener(this.textarea,"focus",function(Je){return Ie._onTextAreaFocus(Je)})),this.register(ne.addDisposableDomListener(this.textarea,"blur",function(){return Ie._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var je=this._instantiationService.createInstance(Pe.CoreBrowserService,this.textarea);this._instantiationService.setService(ve.ICoreBrowserService,je),this._charSizeService=this._instantiationService.createInstance(pe.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(ve.ICharSizeService,this._charSizeService),this._compositionView=Le.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(he.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(He),this._theme=this.options.theme||this._theme,this._colorManager=new de.ColorManager(Le,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(Je){return Ie._colorManager.onOptionsChange(Je)})),this._colorManager.setTheme(this._theme);var tt=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(ge.RenderService,tt,this.rows,this.screenElement)),this._instantiationService.setService(ve.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(Je){return Ie._onRender.fire(Je)})),this.onResize(function(Je){return Ie._renderService.resize(Je.cols,Je.rows)}),this._soundService=this._instantiationService.createInstance(a.SoundService),this._instantiationService.setService(ve.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(Se.MouseService),this._instantiationService.setService(ve.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(fe.Viewport,function(Je,Qe){return Ie.scrollLines(Je,Qe)},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(ve.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(Je){return Ie.scrollLines(Je.amount,Je.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Ie._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(Je){return Ie._renderService.onSelectionChanged(Je.start,Je.end,Je.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(Je){Ie.textarea.value=Je,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(Je){return Ie._selectionService.onMouseDown(Je)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},Ce.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+'"')}},Ce.prototype._setTheme=function(Ae){var Ie,He,je;this._theme=Ae,(Ie=this._colorManager)===null||Ie===void 0||Ie.setTheme(Ae),(He=this._renderService)===null||He===void 0||He.setColors(this._colorManager.colors),(je=this.viewport)===null||je===void 0||je.onThemeChange(this._colorManager.colors)},Ce.prototype.bindMouse=function(){var Ae=this,Ie=this,He=this.element;function je(ke){var Ue,qe,Ye=Ie._mouseService.getRawByteCoords(ke,Ie.screenElement,Ie.cols,Ie.rows);if(!Ye)return!1;switch(ke.overrideType||ke.type){case"mousemove":qe=32,ke.buttons===void 0?(Ue=3,ke.button!==void 0&&(Ue=ke.button<3?ke.button:3)):Ue=1&ke.buttons?0:4&ke.buttons?1:2&ke.buttons?2:3;break;case"mouseup":qe=0,Ue=ke.button<3?ke.button:3;break;case"mousedown":qe=1,Ue=ke.button<3?ke.button:3;break;case"wheel":ke.deltaY!==0&&(qe=ke.deltaY<0?0:1),Ue=4;break;default:return!1}return!(qe===void 0||Ue===void 0||Ue>4)&&Ie._coreMouseService.triggerMouseEvent({col:Ye.x-33,row:Ye.y-33,button:Ue,action:qe,ctrl:ke.ctrlKey,alt:ke.altKey,shift:ke.shiftKey})}var tt={mouseup:null,wheel:null,mousedrag:null,mousemove:null},Je=function(ke){return je(ke),ke.buttons||(Ae._document.removeEventListener("mouseup",tt.mouseup),tt.mousedrag&&Ae._document.removeEventListener("mousemove",tt.mousedrag)),Ae.cancel(ke)},Qe=function(ke){return je(ke),ke.preventDefault(),Ae.cancel(ke)},Xe=function(ke){ke.buttons&&je(ke)},$e=function(ke){ke.buttons||je(ke)};this.register(this._coreMouseService.onProtocolChange(function(ke){ke?(Ae.optionsService.options.logLevel==="debug"&&Ae._logService.debug("Binding to mouse events:",Ae._coreMouseService.explainEvents(ke)),Ae.element.classList.add("enable-mouse-events"),Ae._selectionService.disable()):(Ae._logService.debug("Unbinding from mouse events."),Ae.element.classList.remove("enable-mouse-events"),Ae._selectionService.enable()),8&ke?tt.mousemove||(He.addEventListener("mousemove",$e),tt.mousemove=$e):(He.removeEventListener("mousemove",tt.mousemove),tt.mousemove=null),16&ke?tt.wheel||(He.addEventListener("wheel",Qe,{passive:!1}),tt.wheel=Qe):(He.removeEventListener("wheel",tt.wheel),tt.wheel=null),2&ke?tt.mouseup||(tt.mouseup=Je):(Ae._document.removeEventListener("mouseup",tt.mouseup),tt.mouseup=null),4&ke?tt.mousedrag||(tt.mousedrag=Xe):(Ae._document.removeEventListener("mousemove",tt.mousedrag),tt.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(ne.addDisposableDomListener(He,"mousedown",function(ke){if(ke.preventDefault(),Ae.focus(),Ae._coreMouseService.areMouseEventsActive&&!Ae._selectionService.shouldForceSelection(ke))return je(ke),tt.mouseup&&Ae._document.addEventListener("mouseup",tt.mouseup),tt.mousedrag&&Ae._document.addEventListener("mousemove",tt.mousedrag),Ae.cancel(ke)})),this.register(ne.addDisposableDomListener(He,"wheel",function(ke){if(!tt.wheel){if(!Ae.buffer.hasScrollback){var Ue=Ae.viewport.getLinesScrolled(ke);if(Ue===0)return;for(var qe=re.C0.ESC+(Ae._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ke.deltaY<0?"A":"B"),Ye="",ft=0;ft<Math.abs(Ue);ft++)Ye+=qe;Ae._coreService.triggerDataEvent(Ye,!0)}}},{passive:!0})),this.register(ne.addDisposableDomListener(He,"wheel",function(ke){if(!tt.wheel)return Ae.viewport.onWheel(ke)?void 0:Ae.cancel(ke)},{passive:!1})),this.register(ne.addDisposableDomListener(He,"touchstart",function(ke){if(!Ae._coreMouseService.areMouseEventsActive)return Ae.viewport.onTouchStart(ke),Ae.cancel(ke)},{passive:!0})),this.register(ne.addDisposableDomListener(He,"touchmove",function(ke){if(!Ae._coreMouseService.areMouseEventsActive)return Ae.viewport.onTouchMove(ke)?void 0:Ae.cancel(ke)},{passive:!1}))},Ce.prototype.refresh=function(Ae,Ie){var He;(He=this._renderService)===null||He===void 0||He.refreshRows(Ae,Ie)},Ce.prototype._queueLinkification=function(Ae,Ie){var He;(He=this.linkifier)===null||He===void 0||He.linkifyRows(Ae,Ie)},Ce.prototype.updateCursorStyle=function(Ae){this._selectionService&&this._selectionService.shouldColumnSelect(Ae)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},Ce.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},Ce.prototype.scrollLines=function(Ae,Ie){Te.prototype.scrollLines.call(this,Ae,Ie),this.refresh(0,this.rows-1)},Ce.prototype.paste=function(Ae){se.paste(Ae,this.textarea,this._coreService)},Ce.prototype.attachCustomKeyEventHandler=function(Ae){this._customKeyEventHandler=Ae},Ce.prototype.registerLinkMatcher=function(Ae,Ie,He){var je=this.linkifier.registerLinkMatcher(Ae,Ie,He);return this.refresh(0,this.rows-1),je},Ce.prototype.deregisterLinkMatcher=function(Ae){this.linkifier.deregisterLinkMatcher(Ae)&&this.refresh(0,this.rows-1)},Ce.prototype.registerLinkProvider=function(Ae){return this.linkifier2.registerLinkProvider(Ae)},Ce.prototype.registerCharacterJoiner=function(Ae){var Ie=this._renderService.registerCharacterJoiner(Ae);return this.refresh(0,this.rows-1),Ie},Ce.prototype.deregisterCharacterJoiner=function(Ae){this._renderService.deregisterCharacterJoiner(Ae)&&this.refresh(0,this.rows-1)},Object.defineProperty(Ce.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),Ce.prototype.addMarker=function(Ae){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+Ae)},Ce.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},Ce.prototype.select=function(Ae,Ie,He){this._selectionService.setSelection(Ae,Ie,He)},Ce.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},Ce.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},Ce.prototype.clearSelection=function(){var Ae;(Ae=this._selectionService)===null||Ae===void 0||Ae.clearSelection()},Ce.prototype.selectAll=function(){var Ae;(Ae=this._selectionService)===null||Ae===void 0||Ae.selectAll()},Ce.prototype.selectLines=function(Ae,Ie){var He;(He=this._selectionService)===null||He===void 0||He.selectLines(Ae,Ie)},Ce.prototype._keyDown=function(Ae){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(Ae)===!1)return!1;if(!this._compositionHelper.keydown(Ae))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var Ie=ee.evaluateKeyboardEvent(Ae,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(Ae),Ie.type===3||Ie.type===2){var He=this.rows-1;return this.scrollLines(Ie.type===2?-He:He),this.cancel(Ae,!0)}return Ie.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,Ae)||(Ie.cancel&&this.cancel(Ae,!0),!Ie.key||(Ie.key!==re.C0.ETX&&Ie.key!==re.C0.CR||(this.textarea.value=""),this._onKey.fire({key:Ie.key,domEvent:Ae}),this._showCursor(),this._coreService.triggerDataEvent(Ie.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(Ae,!0)))},Ce.prototype._isThirdLevelShift=function(Ae,Ie){var He=Ae.isMac&&!this.options.macOptionIsMeta&&Ie.altKey&&!Ie.ctrlKey&&!Ie.metaKey||Ae.isWindows&&Ie.altKey&&Ie.ctrlKey&&!Ie.metaKey;return Ie.type==="keypress"?He:He&&(!Ie.keyCode||Ie.keyCode>47)},Ce.prototype._keyUp=function(Ae){this._customKeyEventHandler&&this._customKeyEventHandler(Ae)===!1||(function(Ie){return Ie.keyCode===16||Ie.keyCode===17||Ie.keyCode===18}(Ae)||this.focus(),this.updateCursorStyle(Ae))},Ce.prototype._keyPress=function(Ae){var Ie;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(Ae)===!1)return!1;if(this.cancel(Ae),Ae.charCode)Ie=Ae.charCode;else if(Ae.which===null||Ae.which===void 0)Ie=Ae.keyCode;else{if(Ae.which===0||Ae.charCode===0)return!1;Ie=Ae.which}return!(!Ie||(Ae.altKey||Ae.ctrlKey||Ae.metaKey)&&!this._isThirdLevelShift(this.browser,Ae))&&(Ie=String.fromCharCode(Ie),this._onKey.fire({key:Ie,domEvent:Ae}),this._showCursor(),this._coreService.triggerDataEvent(Ie,!0),!0)},Ce.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},Ce.prototype.resize=function(Ae,Ie){Ae!==this.cols||Ie!==this.rows?Te.prototype.resize.call(this,Ae,Ie):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},Ce.prototype._afterResize=function(Ae,Ie){var He,je;(He=this._charSizeService)===null||He===void 0||He.measure(),(je=this.viewport)===null||je===void 0||je.syncScrollArea(!0)},Ce.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var Ae=1;Ae<this.rows;Ae++)this.buffer.lines.push(this.buffer.getBlankLine(ce.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},Ce.prototype.reset=function(){var Ae,Ie;this.options.rows=this.rows,this.options.cols=this.cols;var He=this._customKeyEventHandler;this._setup(),Te.prototype.reset.call(this),(Ae=this._selectionService)===null||Ae===void 0||Ae.reset(),this._customKeyEventHandler=He,this.refresh(0,this.rows-1),(Ie=this.viewport)===null||Ie===void 0||Ie.syncScrollArea()},Ce.prototype._reportWindowsOptions=function(Ae){if(this._renderService)switch(Ae){case ie.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var Ie=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),He=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(re.C0.ESC+"[4;"+He+";"+Ie+"t");break;case ie.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var je=this._renderService.dimensions.scaledCellWidth.toFixed(0),tt=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(re.C0.ESC+"[6;"+tt+";"+je+"t")}},Ce.prototype.cancel=function(Ae,Ie){if(this.options.cancelEvents||Ie)return Ae.preventDefault(),Ae.stopPropagation(),!1},Ce.prototype._visualBell=function(){return!1},Ce.prototype._soundBell=function(){return this.options.bellStyle==="sound"},Ce}(we.CoreTerminal);me.Terminal=Ee},function(dt,me,be){"use strict";var xe=this&&this.__decorate||function(re,ie,le,ue){var ae,oe=arguments.length,ne=oe<3?ie:ue===null?ue=Object.getOwnPropertyDescriptor(ie,le):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(re,ie,le,ue);else for(var z=re.length-1;z>=0;z--)(ae=re[z])&&(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,ue){ie(le,ue,re)}};Object.defineProperty(me,"__esModule",{value:!0}),me.CompositionHelper=void 0;var he=be(5),fe=be(1),se=function(){function re(ie,le,ue,ae,oe,ne){this._textarea=ie,this._compositionView=le,this._bufferService=ue,this._optionsService=ae,this._charSizeService=oe,this._coreService=ne,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(re.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),re.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},re.prototype.compositionupdate=function(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 ue={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(ue.start,ue.end):le._textarea.value.substring(ue.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 ue=ie._textarea.value.replace(le,"");ue.length>0&&ie._coreService.triggerDataEvent(ue,!0)}},0)},re.prototype.updateCompositionElements=function(ie){var le=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var ue=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),ae=this._bufferService.buffer.y*ue,oe=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=oe+"px",this._compositionView.style.top=ae+"px",this._compositionView.style.height=ue+"px",this._compositionView.style.lineHeight=ue+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var ne=this._compositionView.getBoundingClientRect();this._textarea.style.left=oe+"px",this._textarea.style.top=ae+"px",this._textarea.style.width=ne.width+"px",this._textarea.style.height=ne.height+"px",this._textarea.style.lineHeight=ne.height+"px"}ie||setTimeout(function(){return le.updateCompositionElements(!0)},0)}},re=xe([E(2,fe.IBufferService),E(3,fe.IOptionsService),E(4,he.ICharSizeService),E(5,fe.ICoreService)],re)}();me.CompositionHelper=se},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,ne):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,z){oe(ne,z,ae)}};Object.defineProperty(me,"__esModule",{value:!0}),me.Viewport=void 0;var se=be(2),re=be(7),ie=be(5),le=be(1),ue=function(ae){function oe(ne,z,a,y,x,b,ee){var te=ae.call(this)||this;return te._scrollLines=ne,te._viewportElement=z,te._scrollArea=a,te._bufferService=y,te._optionsService=x,te._charSizeService=b,te._renderService=ee,te.scrollBarWidth=0,te._currentRowHeight=0,te._lastRecordedBufferLength=0,te._lastRecordedViewportHeight=0,te._lastRecordedBufferHeight=0,te._lastTouchY=0,te._lastScrollTop=0,te._wheelPartialScroll=0,te._refreshAnimationFrame=null,te._ignoreNextScrollEvent=!1,te.scrollBarWidth=te._viewportElement.offsetWidth-te._scrollArea.offsetWidth||15,te.register(re.addDisposableDomListener(te._viewportElement,"scroll",te._onScroll.bind(te))),setTimeout(function(){return te.syncScrollArea()},0),te}return E(oe,ae),oe.prototype.onThemeChange=function(ne){this._viewportElement.style.backgroundColor=ne.background.css},oe.prototype._refresh=function(ne){var z=this;if(ne)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return z._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 z=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==z&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=z),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 z=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===z&&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 z=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(z,!0)}},oe.prototype._bubbleScroll=function(ne,z){var a=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(z<0&&this._viewportElement.scrollTop!==0||z>0&&a<this._lastRecordedBufferHeight)||(ne.cancelable&&ne.preventDefault(),!1)},oe.prototype.onWheel=function(ne){var z=this._getPixelsScrolled(ne);return z!==0&&(this._viewportElement.scrollTop+=z,this._bubbleScroll(ne,z))},oe.prototype._getPixelsScrolled=function(ne){if(ne.deltaY===0)return 0;var z=this._applyScrollModifier(ne.deltaY,ne);return ne.deltaMode===WheelEvent.DOM_DELTA_LINE?z*=this._currentRowHeight:ne.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(z*=this._currentRowHeight*this._bufferService.rows),z},oe.prototype.getLinesScrolled=function(ne){if(ne.deltaY===0)return 0;var z=this._applyScrollModifier(ne.deltaY,ne);return ne.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(z/=this._currentRowHeight+0,this._wheelPartialScroll+=z,z=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):ne.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(z*=this._bufferService.rows),z},oe.prototype._applyScrollModifier=function(ne,z){var a=this._optionsService.options.fastScrollModifier;return a==="alt"&&z.altKey||a==="ctrl"&&z.ctrlKey||a==="shift"&&z.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 z=this._lastTouchY-ne.touches[0].pageY;return this._lastTouchY=ne.touches[0].pageY,z!==0&&(this._viewportElement.scrollTop+=z,this._bubbleScroll(ne,z))},oe=he([fe(3,le.IBufferService),fe(4,le.IOptionsService),fe(5,ie.ICharSizeService),fe(6,ie.IRenderService)],oe)}(se.Disposable);me.Viewport=ue},function(dt,me,be){"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 he(se,re,ie){se=E(se=xe(se),ie.decPrivateModes.bracketedPasteMode),ie.triggerDataEvent(se,!0),re.value=""}function fe(se,re,ie){var le=ie.getBoundingClientRect(),ue=se.clientX-le.left-10,ae=se.clientY-le.top-10;re.style.width="20px",re.style.height="20px",re.style.left=ue+"px",re.style.top=ae+"px",re.style.zIndex="1000",re.focus()}Object.defineProperty(me,"__esModule",{value:!0}),me.rightClickHandler=me.moveTextAreaUnderMouseCursor=me.paste=me.handlePasteEvent=me.copyHandler=me.bracketTextForPaste=me.prepareTextForTerminal=void 0,me.prepareTextForTerminal=xe,me.bracketTextForPaste=E,me.copyHandler=function(se,re){se.clipboardData&&se.clipboardData.setData("text/plain",re.selectionText),se.preventDefault()},me.handlePasteEvent=function(se,re,ie){se.stopPropagation(),se.clipboardData&&he(se.clipboardData.getData("text/plain"),re,ie)},me.paste=he,me.moveTextAreaUnderMouseCursor=fe,me.rightClickHandler=function(se,re,ie,le,ue){fe(se,re,ie),ue&&!le.isClickInSelection(se)&&le.selectWordAtCursor(se),re.value=le.selectionText,re.select()}},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[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(me,"__esModule",{value:!0}),me.EscapeSequenceParser=me.VT500_TRANSITION_TABLE=me.TransitionTable=void 0;var he=be(2),fe=be(15),se=be(21),re=be(22),ie=be(24),le=function(){function ae(oe){this.table=new Uint8Array(oe)}return ae.prototype.setDefault=function(oe,ne){fe.fill(this.table,oe<<4|ne)},ae.prototype.add=function(oe,ne,z,a){this.table[ne<<8|oe]=z<<4|a},ae.prototype.addMany=function(oe,ne,z,a){for(var y=0;y<oe.length;y++)this.table[ne<<8|oe[y]]=z<<4|a},ae}();me.TransitionTable=le,me.VT500_TRANSITION_TABLE=function(){var ae=new le(4095),oe=Array.apply(null,Array(256)).map(function(b,ee){return ee}),ne=function(b,ee){return oe.slice(b,ee)},z=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(z,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(z,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(z,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(z,13,13,13),ae.add(127,13,0,13),ae.addMany([27,156,24,26],13,14,0),ae.add(160,0,2,0),ae.add(160,8,5,8),ae.add(160,6,0,6),ae.add(160,11,0,11),ae.add(160,13,13,13),ae}();var ue=function(ae){function oe(ne){ne===void 0&&(ne=me.VT500_TRANSITION_TABLE);var z=ae.call(this)||this;return z._transitions=ne,z.initialState=0,z.currentState=z.initialState,z._params=new se.Params,z._params.addParam(0),z._collect=0,z.precedingCodepoint=0,z._printHandlerFb=function(a,y,x){},z._executeHandlerFb=function(a){},z._csiHandlerFb=function(a,y){},z._escHandlerFb=function(a){},z._errorHandlerFb=function(a){return a},z._printHandler=z._printHandlerFb,z._executeHandlers=Object.create(null),z._csiHandlers=Object.create(null),z._escHandlers=Object.create(null),z._oscParser=new re.OscParser,z._dcsParser=new ie.DcsParser,z._errorHandler=z._errorHandlerFb,z.setEscHandler({final:"\\"},function(){}),z}return E(oe,ae),oe.prototype._identifier=function(ne,z){z===void 0&&(z=[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(z[0]>b||b>z[1])throw new Error("final must be in range "+z[0]+" .. "+z[1]);return a<<=8,a|=b},oe.prototype.identToString=function(ne){for(var z=[];ne;)z.push(String.fromCharCode(255&ne)),ne>>=8;return z.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,z){var a=this._identifier(ne,[48,126]);this._escHandlers[a]===void 0&&(this._escHandlers[a]=[]);var y=this._escHandlers[a];return y.push(z),{dispose:function(){var x=y.indexOf(z);x!==-1&&y.splice(x,1)}}},oe.prototype.setEscHandler=function(ne,z){this._escHandlers[this._identifier(ne,[48,126])]=[z]},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,z){this._executeHandlers[ne.charCodeAt(0)]=z},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,z){var a=this._identifier(ne);this._csiHandlers[a]===void 0&&(this._csiHandlers[a]=[]);var y=this._csiHandlers[a];return y.push(z),{dispose:function(){var x=y.indexOf(z);x!==-1&&y.splice(x,1)}}},oe.prototype.setCsiHandler=function(ne,z){this._csiHandlers[this._identifier(ne)]=[z]},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,z){return this._dcsParser.addHandler(this._identifier(ne),z)},oe.prototype.setDcsHandler=function(ne,z){this._dcsParser.setHandler(this._identifier(ne),z)},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,z){return this._oscParser.addHandler(ne,z)},oe.prototype.setOscHandler=function(ne,z){this._oscParser.setHandler(ne,z)},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,z){for(var a=0,y=0,x=this.currentState,b=this._oscParser,ee=this._dcsParser,te=this._collect,ce=this._params,de=this._transitions.table,ge=0;ge<z;++ge){switch((y=de[x<<8|((a=ne[ge])<160?a:160)])>>4){case 2:for(var ve=ge+1;;++ve){if(ve>=z||(a=ne[ve])<32||a>126&&a<160){this._printHandler(ne,ge,ve),ge=ve-1;break}if(++ve>=z||(a=ne[ve])<32||a>126&&a<160){this._printHandler(ne,ge,ve),ge=ve-1;break}if(++ve>=z||(a=ne[ve])<32||a>126&&a<160){this._printHandler(ne,ge,ve),ge=ve-1;break}if(++ve>=z||(a=ne[ve])<32||a>126&&a<160){this._printHandler(ne,ge,ve),ge=ve-1;break}}break;case 3:this._executeHandlers[a]?this._executeHandlers[a]():this._executeHandlerFb(a),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:ge,code:a,currentState:x,collect:te,params:ce,abort:!1}).abort)return;break;case 7:for(var pe=this._csiHandlers[te<<8|a],Se=pe?pe.length-1:-1;Se>=0&&pe[Se](ce)===!1;Se--);Se<0&&this._csiHandlerFb(te<<8|a,ce),this.precedingCodepoint=0;break;case 8:do switch(a){case 59:ce.addParam(0);break;case 58:ce.addSubParam(-1);break;default:ce.addDigit(a-48)}while(++ge<z&&(a=ne[ge])>47&&a<60);ge--;break;case 9:te<<=8,te|=a;break;case 10:for(var ye=this._escHandlers[te<<8|a],Pe=ye?ye.length-1:-1;Pe>=0&&ye[Pe]()===!1;Pe--);Pe<0&&this._escHandlerFb(te<<8|a),this.precedingCodepoint=0;break;case 11:ce.reset(),ce.addParam(0),te=0;break;case 12:ee.hook(te<<8|a,ce);break;case 13:for(var we=ge+1;;++we)if(we>=z||(a=ne[we])===24||a===26||a===27||a>127&&a<160){ee.put(ne,ge,we),ge=we-1;break}break;case 14:ee.unhook(a!==24&&a!==26),a===27&&(y|=1),ce.reset(),ce.addParam(0),te=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var Le=ge+1;;Le++)if(Le>=z||(a=ne[Le])<32||a>127&&a<=159){b.put(ne,ge,Le),ge=Le-1;break}break;case 6:b.end(a!==24&&a!==26),a===27&&(y|=1),ce.reset(),ce.addParam(0),te=0,this.precedingCodepoint=0}x=15&y}this._collect=te,this.currentState=x},oe}(he.Disposable);me.EscapeSequenceParser=ue},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(b,ee){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ce){te.__proto__=ce}||function(te,ce){for(var de in ce)ce.hasOwnProperty(de)&&(te[de]=ce[de])})(b,ee)},function(b,ee){function te(){this.constructor=b}xe(b,ee),b.prototype=ee===null?Object.create(ee):(te.prototype=ee.prototype,new te)}),he=this&&this.__decorate||function(b,ee,te,ce){var de,ge=arguments.length,ve=ge<3?ee:ce===null?ce=Object.getOwnPropertyDescriptor(ee,te):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ve=Reflect.decorate(b,ee,te,ce);else for(var pe=b.length-1;pe>=0;pe--)(de=b[pe])&&(ve=(ge<3?de(ve):ge>3?de(ee,te,ve):de(ee,te))||ve);return ge>3&&ve&&Object.defineProperty(ee,te,ve),ve},fe=this&&this.__param||function(b,ee){return function(te,ce){ee(te,ce,b)}};Object.defineProperty(me,"__esModule",{value:!0}),me.Renderer=void 0;var se=be(41),re=be(47),ie=be(48),le=be(49),ue=be(29),ae=be(2),oe=be(5),ne=be(1),z=be(25),a=be(0),y=1,x=function(b){function ee(te,ce,de,ge,ve,pe,Se,ye,Pe){var we=b.call(this)||this;we._colors=te,we._screenElement=ce,we._bufferService=ve,we._charSizeService=pe,we._optionsService=Se,we._id=y++,we._onRequestRedraw=new a.EventEmitter;var Le=we._optionsService.options.allowTransparency;return we._characterJoinerRegistry=new ue.CharacterJoinerRegistry(we._bufferService),we._renderLayers=[new se.TextRenderLayer(we._screenElement,0,we._colors,we._characterJoinerRegistry,Le,we._id,we._bufferService,Se),new re.SelectionRenderLayer(we._screenElement,1,we._colors,we._id,we._bufferService,Se),new le.LinkRenderLayer(we._screenElement,2,we._colors,we._id,de,ge,we._bufferService,Se),new ie.CursorRenderLayer(we._screenElement,3,we._colors,we._id,we._onRequestRedraw,we._bufferService,Se,ye,Pe)],we.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},we._devicePixelRatio=window.devicePixelRatio,we._updateDimensions(),we.onOptionsChanged(),we}return E(ee,b),Object.defineProperty(ee.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),ee.prototype.dispose=function(){for(var te=0,ce=this._renderLayers;te<ce.length;te++)ce[te].dispose();b.prototype.dispose.call(this),z.removeTerminalFromCache(this._id)},ee.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},ee.prototype.setColors=function(te){this._colors=te;for(var ce=0,de=this._renderLayers;ce<de.length;ce++){var ge=de[ce];ge.setColors(this._colors),ge.reset()}},ee.prototype.onResize=function(te,ce){this._updateDimensions();for(var de=0,ge=this._renderLayers;de<ge.length;de++)ge[de].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},ee.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},ee.prototype.onBlur=function(){this._runOperation(function(te){return te.onBlur()})},ee.prototype.onFocus=function(){this._runOperation(function(te){return te.onFocus()})},ee.prototype.onSelectionChanged=function(te,ce,de){de===void 0&&(de=!1),this._runOperation(function(ge){return ge.onSelectionChanged(te,ce,de)})},ee.prototype.onCursorMove=function(){this._runOperation(function(te){return te.onCursorMove()})},ee.prototype.onOptionsChanged=function(){this._runOperation(function(te){return te.onOptionsChanged()})},ee.prototype.clear=function(){this._runOperation(function(te){return te.reset()})},ee.prototype._runOperation=function(te){for(var ce=0,de=this._renderLayers;ce<de.length;ce++)te(de[ce])},ee.prototype.renderRows=function(te,ce){for(var de=0,ge=this._renderLayers;de<ge.length;de++)ge[de].onGridChanged(te,ce)},ee.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)},ee.prototype.registerCharacterJoiner=function(te){return this._characterJoinerRegistry.registerCharacterJoiner(te)},ee.prototype.deregisterCharacterJoiner=function(te){return this._characterJoinerRegistry.deregisterCharacterJoiner(te)},ee=he([fe(4,ne.IBufferService),fe(5,oe.ICharSizeService),fe(6,ne.IOptionsService),fe(7,ne.ICoreService),fe(8,oe.ICoreBrowserService)],ee)}(ae.Disposable);me.Renderer=x},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[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(me,"__esModule",{value:!0}),me.TextRenderLayer=void 0;var he=be(42),fe=be(13),se=be(6),re=be(3),ie=be(29),le=be(4),ue=function(ae){function oe(ne,z,a,y,x,b,ee,te){var ce=ae.call(this,ne,"text",z,x,a,b,ee,te)||this;return ce._characterWidth=0,ce._characterFont="",ce._characterOverlapCache={},ce._workCell=new le.CellData,ce._state=new he.GridCache,ce._characterJoinerRegistry=y,ce}return E(oe,ae),oe.prototype.resize=function(ne){ae.prototype.resize.call(this,ne);var z=this._getFont(!1,!1);this._characterWidth===ne.scaledCharWidth&&this._characterFont===z||(this._characterWidth=ne.scaledCharWidth,this._characterFont=z,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,z,a,y){for(var x=ne;x<=z;x++)for(var b=x+this._bufferService.buffer.ydisp,ee=this._bufferService.buffer.lines.get(b),te=a?a.getJoinedCharacters(b):[],ce=0;ce<this._bufferService.cols;ce++){ee.loadCell(ce,this._workCell);var de=this._workCell,ge=!1,ve=ce;if(de.getWidth()!==0){if(te.length>0&&ce===te[0][0]){ge=!0;var pe=te.shift();de=new ie.JoinedCellData(this._workCell,ee.translateToString(!0,pe[0],pe[1]),pe[1]-pe[0]),ve=pe[1]-1}!ge&&this._isOverlapping(de)&&ve<ee.length-1&&ee.getCodePoint(ve+1)===re.NULL_CELL_CODE&&(de.content&=-12582913,de.content|=2<<22),y(de,ce,x),ce=ve}}},oe.prototype._drawBackground=function(ne,z){var a=this,y=this._ctx,x=this._bufferService.cols,b=0,ee=0,te=null;y.save(),this._forEachCell(ne,z,null,function(ce,de,ge){var ve=null;ce.isInverse()?ve=ce.isFgDefault()?a._colors.foreground.css:ce.isFgRGB()?"rgb("+se.AttributeData.toColorRGB(ce.getFgColor()).join(",")+")":a._colors.ansi[ce.getFgColor()].css:ce.isBgRGB()?ve="rgb("+se.AttributeData.toColorRGB(ce.getBgColor()).join(",")+")":ce.isBgPalette()&&(ve=a._colors.ansi[ce.getBgColor()].css),te===null&&(b=de,ee=ge),ge!==ee?(y.fillStyle=te||"",a._fillCells(b,ee,x-b,1),b=de,ee=ge):te!==ve&&(y.fillStyle=te||"",a._fillCells(b,ee,de-b,1),b=de,ee=ge),te=ve}),te!==null&&(y.fillStyle=te,this._fillCells(b,ee,x-b,1)),y.restore()},oe.prototype._drawForeground=function(ne,z){var a=this;this._forEachCell(ne,z,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 ee=y.getBgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&ee<8&&(ee+=8),a._ctx.fillStyle=a._colors.ansi[ee].css}else if(y.isFgDefault())a._ctx.fillStyle=a._colors.foreground.css;else if(y.isFgRGB())a._ctx.fillStyle="rgb("+se.AttributeData.toColorRGB(y.getFgColor()).join(",")+")";else{var te=y.getFgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&te<8&&(te+=8),a._ctx.fillStyle=a._colors.ansi[te].css}a._fillBottomLineAtCells(x,b,y.getWidth()),a._ctx.restore()}})},oe.prototype.onGridChanged=function(ne,z){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,ne,this._bufferService.cols,z-ne+1),this._drawBackground(ne,z),this._drawForeground(ne,z))},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 z=ne.getChars();if(this._characterOverlapCache.hasOwnProperty(z))return this._characterOverlapCache[z];this._ctx.save(),this._ctx.font=this._characterFont;var a=Math.floor(this._ctx.measureText(z).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[z]=a,a},oe}(fe.BaseRenderLayer);me.TextRenderLayer=ue},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.GridCache=void 0;var xe=function(){function E(){this.cache=[]}return E.prototype.resize=function(he,fe){for(var se=0;se<he;se++){this.cache.length<=se&&this.cache.push([]);for(var re=this.cache[se].length;re<fe;re++)this.cache[se].push(void 0);this.cache[se].length=fe}this.cache.length=he},E.prototype.clear=function(){for(var he=0;he<this.cache.length;he++)for(var fe=0;fe<this.cache[he].length;fe++)this.cache[he][fe]=void 0},E}();me.GridCache=xe},function(dt,me,be){"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 ee in b)b.hasOwnProperty(ee)&&(x[ee]=b[ee])})(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(me,"__esModule",{value:!0}),me.NoneCharAtlas=me.DynamicCharAtlas=me.getGlyphCacheKey=void 0;var he=be(9),fe=be(44),se=be(27),re=be(46),ie=be(11),le=be(28),ue=be(10),ae={css:"rgba(0, 0, 0, 0)",rgba:0};function oe(a){return a.code<<21|a.bg<<12|a.fg<<3|(a.bold?0:4)+(a.dim?0:2)+(a.italic?0:1)}me.getGlyphCacheKey=oe;var ne=function(a){function y(x,b){var ee=a.call(this)||this;ee._config=b,ee._drawToCacheCount=0,ee._glyphsWaitingOnBitmap=[],ee._bitmapCommitTimeout=null,ee._bitmap=null,ee._cacheCanvas=x.createElement("canvas"),ee._cacheCanvas.width=1024,ee._cacheCanvas.height=1024,ee._cacheCtx=le.throwIfFalsy(ee._cacheCanvas.getContext("2d",{alpha:!0}));var te=x.createElement("canvas");te.width=ee._config.scaledCharWidth,te.height=ee._config.scaledCharHeight,ee._tmpCtx=le.throwIfFalsy(te.getContext("2d",{alpha:ee._config.allowTransparency})),ee._width=Math.floor(1024/ee._config.scaledCharWidth),ee._height=Math.floor(1024/ee._config.scaledCharHeight);var ce=ee._width*ee._height;return ee._cacheMap=new re.LRUMap(ce),ee._cacheMap.prealloc(ce),ee}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,ee,te){if(b.code===32)return!0;if(!this._canCache(b))return!1;var ce=oe(b),de=this._cacheMap.get(ce);if(de!=null)return this._drawFromCache(x,de,ee,te),!0;if(this._drawToCacheCount<100){var ge=void 0;ge=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var ve=this._drawToCache(b,ge);return this._cacheMap.set(ce,ve),this._drawFromCache(x,ve,ee,te),!0}return!1},y.prototype._canCache=function(x){return x.code<256},y.prototype._toCoordinateX=function(x){return x%this._width*this._config.scaledCharWidth},y.prototype._toCoordinateY=function(x){return Math.floor(x/this._width)*this._config.scaledCharHeight},y.prototype._drawFromCache=function(x,b,ee,te){if(!b.isEmpty){var ce=this._toCoordinateX(b.index),de=this._toCoordinateY(b.index);x.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,ce,de,this._config.scaledCharWidth,this._config.scaledCharHeight,ee,te,this._config.scaledCharWidth,this._config.scaledCharHeight)}},y.prototype._getColorFromAnsiIndex=function(x){return x<this._config.colors.ansi.length?this._config.colors.ansi[x]:se.DEFAULT_ANSI_COLORS[x]},y.prototype._getBackgroundColor=function(x){return this._config.allowTransparency?ae:x.bg===he.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:x.bg<256?this._getColorFromAnsiIndex(x.bg):this._config.colors.background},y.prototype._getForegroundColor=function(x){return x.fg===he.INVERTED_DEFAULT_COLOR?ue.color.opaque(this._config.colors.background):x.fg<256?this._getColorFromAnsiIndex(x.fg):this._config.colors.foreground},y.prototype._drawToCache=function(x,b){this._drawToCacheCount++,this._tmpCtx.save();var ee=this._getBackgroundColor(x);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=ee.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var te=x.bold?this._config.fontWeightBold:this._config.fontWeight,ce=x.italic?"italic":"";this._tmpCtx.font=ce+" "+te+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(x).css,x.dim&&(this._tmpCtx.globalAlpha=he.DIM_OPACITY),this._tmpCtx.fillText(x.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var de=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),ge=!1;this._config.allowTransparency||(ge=function(ye,Pe){for(var we=!0,Le=Pe.rgba>>>24,Ee=Pe.rgba>>>16&255,Te=Pe.rgba>>>8&255,Ce=0;Ce<ye.data.length;Ce+=4)ye.data[Ce]===Le&&ye.data[Ce+1]===Ee&&ye.data[Ce+2]===Te?ye.data[Ce+3]=0:we=!1;return we}(de,ee));var ve=this._toCoordinateX(b),pe=this._toCoordinateY(b);this._cacheCtx.putImageData(de,ve,pe);var Se={index:b,isEmpty:ge,inBitmap:!1};return this._addGlyphToBitmap(Se),Se},y.prototype._addGlyphToBitmap=function(x){var b=this;!("createImageBitmap"in window)||ie.isFirefox||ie.isSafari||(this._glyphsWaitingOnBitmap.push(x),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return b._generateBitmap()},100)))},y.prototype._generateBitmap=function(){var x=this,b=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(ee){x._bitmap=ee;for(var te=0;te<b.length;te++)b[te].inBitmap=!0}),this._bitmapCommitTimeout=null},y}(fe.BaseCharAtlas);me.DynamicCharAtlas=ne;var z=function(a){function y(x,b){return a.call(this)||this}return E(y,a),y.prototype.draw=function(x,b,ee,te){return!1},y}(fe.BaseCharAtlas);me.NoneCharAtlas=z},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.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}();me.BaseCharAtlas=xe},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.ColorContrastCache=void 0;var xe=function(){function E(){this._color={},this._rgba={}}return E.prototype.clear=function(){this._color={},this._rgba={}},E.prototype.setCss=function(he,fe,se){this._rgba[he]||(this._rgba[he]={}),this._rgba[he][fe]=se},E.prototype.getCss=function(he,fe){return this._rgba[he]?this._rgba[he][fe]:void 0},E.prototype.setColor=function(he,fe,se){this._color[he]||(this._color[he]={}),this._color[he][fe]=se},E.prototype.getColor=function(he,fe){return this._color[he]?this._color[he][fe]:void 0},E}();me.ColorContrastCache=xe},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.LRUMap=void 0;var xe=function(){function E(he){this.capacity=he,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return E.prototype._unlinkNode=function(he){var fe=he.prev,se=he.next;he===this._head&&(this._head=se),he===this._tail&&(this._tail=fe),fe!==null&&(fe.next=se),se!==null&&(se.prev=fe)},E.prototype._appendNode=function(he){var fe=this._tail;fe!==null&&(fe.next=he),he.prev=fe,he.next=null,this._tail=he,this._head===null&&(this._head=he)},E.prototype.prealloc=function(he){for(var fe=this._nodePool,se=0;se<he;se++)fe.push({prev:null,next:null,key:null,value:null})},E.prototype.get=function(he){var fe=this._map[he];return fe!==void 0?(this._unlinkNode(fe),this._appendNode(fe),fe.value):null},E.prototype.peekValue=function(he){var fe=this._map[he];return fe!==void 0?fe.value:null},E.prototype.peek=function(){var he=this._head;return he===null?null:he.value},E.prototype.set=function(he,fe){var se=this._map[he];if(se!==void 0)se=this._map[he],this._unlinkNode(se),se.value=fe;else if(this.size>=this.capacity)se=this._head,this._unlinkNode(se),delete this._map[se.key],se.key=he,se.value=fe,this._map[he]=se;else{var re=this._nodePool;re.length>0?((se=re.pop()).key=he,se.value=fe):se={prev:null,next:null,key:he,value:fe},this._map[he]=se,this.size++}this._appendNode(se)},E}();me.LRUMap=xe},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(fe,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])})(fe,se)},function(fe,se){function re(){this.constructor=fe}xe(fe,se),fe.prototype=se===null?Object.create(se):(re.prototype=se.prototype,new re)});Object.defineProperty(me,"__esModule",{value:!0}),me.SelectionRenderLayer=void 0;var he=function(fe){function se(re,ie,le,ue,ae,oe){var ne=fe.call(this,re,"selection",ie,!0,le,ue,ae,oe)||this;return ne._clearState(),ne}return E(se,fe),se.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},se.prototype.resize=function(re){fe.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 ue=re[1]-this._bufferService.buffer.ydisp,ae=ie[1]-this._bufferService.buffer.ydisp,oe=Math.max(ue,0),ne=Math.min(ae,this._bufferService.rows-1);if(!(oe>=this._bufferService.rows||ne<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,le){var z=re[0],a=ie[0]-z,y=ne-oe+1;this._fillCells(z,oe,a,y)}else{z=ue===oe?re[0]:0;var x=oe===ne?ie[0]:this._bufferService.cols;this._fillCells(z,oe,x-z,1);var b=Math.max(ne-oe-1,0);if(this._fillCells(0,oe+1,this._bufferService.cols,b),oe!==ne){var ee=ae===ne?ie[0]:this._bufferService.cols;this._fillCells(0,ne,ee,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,ue){return!this._areCoordinatesEqual(re,this._state.start)||!this._areCoordinatesEqual(ie,this._state.end)||le!==this._state.columnSelectMode||ue!==this._state.ydisp},se.prototype._areCoordinatesEqual=function(re,ie){return!(!re||!ie)&&re[0]===ie[0]&&re[1]===ie[1]},se}(be(13).BaseRenderLayer);me.SelectionRenderLayer=he},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ie,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ae){ue.__proto__=ae}||function(ue,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ue[oe]=ae[oe])})(ie,le)},function(ie,le){function ue(){this.constructor=ie}xe(ie,le),ie.prototype=le===null?Object.create(le):(ue.prototype=le.prototype,new ue)});Object.defineProperty(me,"__esModule",{value:!0}),me.CursorRenderLayer=void 0;var he=be(13),fe=be(4),se=function(ie){function le(ue,ae,oe,ne,z,a,y,x,b){var ee=ie.call(this,ue,"cursor",ae,!0,oe,ne,a,y)||this;return ee._onRequestRedraw=z,ee._coreService=x,ee._coreBrowserService=b,ee._cell=new fe.CellData,ee._state={x:0,y:0,isFocused:!1,style:"",width:0},ee._cursorRenderers={bar:ee._renderBarCursor.bind(ee),block:ee._renderBlockCursor.bind(ee),underline:ee._renderUnderlineCursor.bind(ee)},ee}return E(le,ie),le.prototype.resize=function(ue){ie.prototype.resize.call(this,ue),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 ue,ae=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new re(this._coreBrowserService.isFocused,function(){ae._render(!0)})):((ue=this._cursorBlinkStateManager)===null||ue===void 0||ue.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},le.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},le.prototype.onGridChanged=function(ue,ae){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},le.prototype._render=function(ue){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var ae=this._bufferService.buffer.ybase+this._bufferService.buffer.y,oe=ae-this._bufferService.buffer.ydisp;if(oe<0||oe>=this._bufferService.rows)this._clearCursor();else{var ne=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(ae).loadCell(ne,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var z=this._optionsService.options.cursorStyle;return z&&z!=="block"?this._cursorRenderers[z](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=z,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(ue,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(ue,ae,this._optionsService.options.cursorWidth),this._ctx.restore()},le.prototype._renderBlockCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(ue,ae,oe.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(oe,ue,ae),this._ctx.restore()},le.prototype._renderUnderlineCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(ue,ae),this._ctx.restore()},le.prototype._renderBlurCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(ue,ae,oe.getWidth(),1),this._ctx.restore()},le}(he.BaseRenderLayer);me.CursorRenderLayer=se;var re=function(){function ie(le,ue){this._renderCallback=ue,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 ue=this;le===void 0&&(le=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(ue._animationTimeRestarted){var ae=600-(Date.now()-ue._animationTimeRestarted);if(ue._animationTimeRestarted=void 0,ae>0)return void ue._restartInterval(ae)}ue.isCursorVisible=!1,ue._animationFrame=window.requestAnimationFrame(function(){ue._renderCallback(),ue._animationFrame=void 0}),ue._blinkInterval=window.setInterval(function(){if(ue._animationTimeRestarted){var oe=600-(Date.now()-ue._animationTimeRestarted);return ue._animationTimeRestarted=void 0,void ue._restartInterval(oe)}ue.isCursorVisible=!ue.isCursorVisible,ue._animationFrame=window.requestAnimationFrame(function(){ue._renderCallback(),ue._animationFrame=void 0})},600)},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,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ie,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ae){ue.__proto__=ae}||function(ue,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ue[oe]=ae[oe])})(ie,le)},function(ie,le){function ue(){this.constructor=ie}xe(ie,le),ie.prototype=le===null?Object.create(le):(ue.prototype=le.prototype,new ue)});Object.defineProperty(me,"__esModule",{value:!0}),me.LinkRenderLayer=void 0;var he=be(13),fe=be(9),se=be(26),re=function(ie){function le(ue,ae,oe,ne,z,a,y,x){var b=ie.call(this,ue,"link",ae,!0,oe,ne,y,x)||this;return z.onShowLinkUnderline(function(ee){return b._onShowLinkUnderline(ee)}),z.onHideLinkUnderline(function(ee){return b._onHideLinkUnderline(ee)}),a.onShowLinkUnderline(function(ee){return b._onShowLinkUnderline(ee)}),a.onHideLinkUnderline(function(ee){return b._onHideLinkUnderline(ee)}),b}return E(le,ie),le.prototype.resize=function(ue){ie.prototype.resize.call(this,ue),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 ue=this._state.y2-this._state.y1-1;ue>0&&this._clearCells(0,this._state.y1+1,this._state.cols,ue),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},le.prototype._onShowLinkUnderline=function(ue){if(ue.fg===fe.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:ue.fg&&se.is256Color(ue.fg)?this._ctx.fillStyle=this._colors.ansi[ue.fg].css:this._ctx.fillStyle=this._colors.foreground.css,ue.y1===ue.y2)this._fillBottomLineAtCells(ue.x1,ue.y1,ue.x2-ue.x1);else{this._fillBottomLineAtCells(ue.x1,ue.y1,ue.cols-ue.x1);for(var ae=ue.y1+1;ae<ue.y2;ae++)this._fillBottomLineAtCells(0,ae,ue.cols);this._fillBottomLineAtCells(0,ue.y2,ue.x2)}this._state=ue},le.prototype._onHideLinkUnderline=function(ue){this._clearCurrentLink()},le}(he.BaseRenderLayer);me.LinkRenderLayer=re},function(dt,me,be){"use strict";var xe=this&&this.__decorate||function(ie,le,ue,ae){var oe,ne=arguments.length,z=ne<3?le:ae===null?ae=Object.getOwnPropertyDescriptor(le,ue):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(ie,le,ue,ae);else for(var a=ie.length-1;a>=0;a--)(oe=ie[a])&&(z=(ne<3?oe(z):ne>3?oe(le,ue,z):oe(le,ue))||z);return ne>3&&z&&Object.defineProperty(le,ue,z),z},E=this&&this.__param||function(ie,le){return function(ue,ae){le(ue,ae,ie)}};Object.defineProperty(me,"__esModule",{value:!0}),me.MouseZone=me.Linkifier=void 0;var he=be(0),fe=be(1),se=function(){function ie(le,ue,ae){this._bufferService=le,this._logService=ue,this._unicodeService=ae,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new he.EventEmitter,this._onHideLinkUnderline=new he.EventEmitter,this._onLinkTooltip=new he.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(ie.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),ie.prototype.attachToDom=function(le,ue){this._element=le,this._mouseZoneManager=ue},ie.prototype.linkifyRows=function(le,ue){var ae=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=le,this._rowsToLinkify.end=ue):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,le),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,ue)),this._mouseZoneManager.clearAll(le,ue),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 ue=le.ydisp+this._rowsToLinkify.start;if(!(ue>=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,ue,ae,oe,oe);ne.hasNext();)for(var z=ne.next(),a=0;a<this._linkMatchers.length;a++)this._doLinkifyRow(z.range.first,z.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,ue,ae){if(ae===void 0&&(ae={}),!ue)throw new Error("handler must be defined");var oe={id:this._nextLinkMatcherId++,regex:le,handler:ue,matchIndex:ae.matchIndex,validationCallback:ae.validationCallback,hoverTooltipCallback:ae.tooltipCallback,hoverLeaveCallback:ae.leaveCallback,willLinkActivate:ae.willLinkActivate,priority:ae.priority||0};return this._addLinkMatcherToList(oe),oe.id},ie.prototype._addLinkMatcherToList=function(le){if(this._linkMatchers.length!==0){for(var ue=this._linkMatchers.length-1;ue>=0;ue--)if(le.priority<=this._linkMatchers[ue].priority)return void this._linkMatchers.splice(ue+1,0,le);this._linkMatchers.splice(0,0,le)}else this._linkMatchers.push(le)},ie.prototype.deregisterLinkMatcher=function(le){for(var ue=0;ue<this._linkMatchers.length;ue++)if(this._linkMatchers[ue].id===le)return this._linkMatchers.splice(ue,1),!0;return!1},ie.prototype._doLinkifyRow=function(le,ue,ae){for(var oe,ne=this,z=new RegExp(ae.regex.source,(ae.regex.flags||"")+"g"),a=-1,y=function(){var b=oe[typeof ae.matchIndex!="number"?0:ae.matchIndex];if(!b)return x._logService.debug("match found without corresponding matchIndex",oe,ae),"break";if(a=ue.indexOf(b,a+1),z.lastIndex=a+b.length,a<0)return"break";var ee=x._bufferService.buffer.stringIndexToBufferIndex(le,a);if(ee[0]<0)return"break";var te=x._bufferService.buffer.lines.get(ee[0]);if(!te)return"break";var ce=te.getFg(ee[1]),de=ce?ce>>9&511:void 0;ae.validationCallback?ae.validationCallback(b,function(ge){ne._rowsTimeoutId||ge&&ne._addLink(ee[1],ee[0]-ne._bufferService.buffer.ydisp,b,ae,de)}):x._addLink(ee[1],ee[0]-x._bufferService.buffer.ydisp,b,ae,de)},x=this;(oe=z.exec(ue))!==null&&y()!=="break";);},ie.prototype._addLink=function(le,ue,ae,oe,ne){var z=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(ae),y=le%this._bufferService.cols,x=ue+Math.floor(le/this._bufferService.cols),b=(y+a)%this._bufferService.cols,ee=x+Math.floor((y+a)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,ee--),this._mouseZoneManager.add(new re(y+1,x+1,b+1,ee+1,function(te){if(oe.handler)return oe.handler(te,ae);var ce=window.open();ce?(ce.opener=null,ce.location.href=ae):console.warn("Opening link blocked as opener could not be cleared")},function(){z._onShowLinkUnderline.fire(z._createLinkHoverEvent(y,x,b,ee,ne)),z._element.classList.add("xterm-cursor-pointer")},function(te){z._onLinkTooltip.fire(z._createLinkHoverEvent(y,x,b,ee,ne)),oe.hoverTooltipCallback&&oe.hoverTooltipCallback(te,ae,{start:{x:y,y:x},end:{x:b,y:ee}})},function(){z._onHideLinkUnderline.fire(z._createLinkHoverEvent(y,x,b,ee,ne)),z._element.classList.remove("xterm-cursor-pointer"),oe.hoverLeaveCallback&&oe.hoverLeaveCallback()},function(te){return!oe.willLinkActivate||oe.willLinkActivate(te,ae)}))}},ie.prototype._createLinkHoverEvent=function(le,ue,ae,oe,ne){return{x1:le,y1:ue,x2:ae,y2:oe,cols:this._bufferService.cols,fg:ne}},ie._timeBeforeLatency=200,ie=xe([E(0,fe.IBufferService),E(1,fe.ILogService),E(2,fe.IUnicodeService)],ie)}();me.Linkifier=se;var re=function(ie,le,ue,ae,oe,ne,z,a,y){this.x1=ie,this.y1=le,this.x2=ue,this.y2=ae,this.clickCallback=oe,this.hoverCallback=ne,this.tooltipCallback=z,this.leaveCallback=a,this.willLinkActivate=y};me.MouseZone=re},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(b,ee){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ce){te.__proto__=ce}||function(te,ce){for(var de in ce)ce.hasOwnProperty(de)&&(te[de]=ce[de])})(b,ee)},function(b,ee){function te(){this.constructor=b}xe(b,ee),b.prototype=ee===null?Object.create(ee):(te.prototype=ee.prototype,new te)}),he=this&&this.__decorate||function(b,ee,te,ce){var de,ge=arguments.length,ve=ge<3?ee:ce===null?ce=Object.getOwnPropertyDescriptor(ee,te):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ve=Reflect.decorate(b,ee,te,ce);else for(var pe=b.length-1;pe>=0;pe--)(de=b[pe])&&(ve=(ge<3?de(ve):ge>3?de(ee,te,ve):de(ee,te))||ve);return ge>3&&ve&&Object.defineProperty(ee,te,ve),ve},fe=this&&this.__param||function(b,ee){return function(te,ce){ee(te,ce,b)}};Object.defineProperty(me,"__esModule",{value:!0}),me.SelectionService=void 0;var se=be(11),re=be(52),ie=be(4),le=be(0),ue=be(5),ae=be(1),oe=be(30),ne=be(53),z=be(2),a="\xA0",y=new RegExp(a,"g"),x=function(b){function ee(te,ce,de,ge,ve,pe,Se){var ye=b.call(this)||this;return ye._element=te,ye._screenElement=ce,ye._bufferService=de,ye._coreService=ge,ye._mouseService=ve,ye._optionsService=pe,ye._renderService=Se,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(ee,b),Object.defineProperty(ee.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),ee.prototype.dispose=function(){this._removeMouseDownListeners()},ee.prototype.reset=function(){this.clearSelection()},ee.prototype.disable=function(){this.clearSelection(),this._enabled=!1},ee.prototype.enable=function(){this._enabled=!0},Object.defineProperty(ee.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"hasSelection",{get:function(){var te=this._model.finalSelectionStart,ce=this._model.finalSelectionEnd;return!(!te||!ce)&&(te[0]!==ce[0]||te[1]!==ce[1])},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionText",{get:function(){var te=this._model.finalSelectionStart,ce=this._model.finalSelectionEnd;if(!te||!ce)return"";var de=this._bufferService.buffer,ge=[];if(this._activeSelectionMode===3){if(te[0]===ce[0])return"";for(var ve=te[1];ve<=ce[1];ve++){var pe=de.translateBufferLineToString(ve,!0,te[0],ce[0]);ge.push(pe)}}else{var Se=te[1]===ce[1]?ce[0]:void 0;for(ge.push(de.translateBufferLineToString(te[1],!0,te[0],Se)),ve=te[1]+1;ve<=ce[1]-1;ve++){var ye=de.lines.get(ve);pe=de.translateBufferLineToString(ve,!0),ye&&ye.isWrapped?ge[ge.length-1]+=pe:ge.push(pe)}te[1]!==ce[1]&&(ye=de.lines.get(ce[1]),pe=de.translateBufferLineToString(ce[1],!0,0,ce[0]),ye&&ye.isWrapped?ge[ge.length-1]+=pe:ge.push(pe))}return ge.map(function(Pe){return Pe.replace(y," ")}).join(se.isWindows?`\r
`:`
`)},enumerable:!1,configurable:!0}),ee.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},ee.prototype.refresh=function(te){var ce=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return ce._refresh()})),se.isLinux&&te&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},ee.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},ee.prototype.isClickInSelection=function(te){var ce=this._getMouseBufferCoords(te),de=this._model.finalSelectionStart,ge=this._model.finalSelectionEnd;return!!(de&&ge&&ce)&&this._areCoordsInSelection(ce,de,ge)},ee.prototype._areCoordsInSelection=function(te,ce,de){return te[1]>ce[1]&&te[1]<de[1]||ce[1]===de[1]&&te[1]===ce[1]&&te[0]>=ce[0]&&te[0]<de[0]||ce[1]<de[1]&&te[1]===de[1]&&te[0]<de[0]||ce[1]<de[1]&&te[1]===ce[1]&&te[0]>=ce[0]},ee.prototype.selectWordAtCursor=function(te){var ce=this._getMouseBufferCoords(te);ce&&(this._selectWordAt(ce,!1),this._model.selectionEnd=void 0,this.refresh(!0))},ee.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},ee.prototype.selectLines=function(te,ce){this._model.clearSelection(),te=Math.max(te,0),ce=Math.min(ce,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,te],this._model.selectionEnd=[this._bufferService.cols,ce],this.refresh(),this._onSelectionChange.fire()},ee.prototype._onTrim=function(te){this._model.onTrim(te)&&this.refresh()},ee.prototype._getMouseBufferCoords=function(te){var ce=this._mouseService.getCoords(te,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(ce)return ce[0]--,ce[1]--,ce[1]+=this._bufferService.buffer.ydisp,ce},ee.prototype._getMouseEventScrollAmount=function(te){var ce=oe.getCoordsRelativeToElement(te,this._screenElement)[1],de=this._renderService.dimensions.canvasHeight;return ce>=0&&ce<=de?0:(ce>de&&(ce-=de),ce=Math.min(Math.max(ce,-50),50),(ce/=50)/Math.abs(ce)+Math.round(14*ce))},ee.prototype.shouldForceSelection=function(te){return se.isMac?te.altKey&&this._optionsService.options.macOptionClickForcesSelection:te.shiftKey},ee.prototype.onMouseDown=function(te){if(this._mouseDownTimeStamp=te.timeStamp,(te.button!==2||!this.hasSelection)&&te.button===0){if(!this._enabled){if(!this.shouldForceSelection(te))return;te.stopPropagation()}te.preventDefault(),this._dragScrollAmount=0,this._enabled&&te.shiftKey?this._onIncrementalClick(te):te.detail===1?this._onSingleClick(te):te.detail===2?this._onDoubleClick(te):te.detail===3&&this._onTripleClick(te),this._addMouseDownListeners(),this.refresh(!0)}},ee.prototype._addMouseDownListeners=function(){var te=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return te._dragScroll()},50)},ee.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},ee.prototype._onIncrementalClick=function(te){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(te))},ee.prototype._onSingleClick=function(te){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(te)?3:0,this._model.selectionStart=this._getMouseBufferCoords(te),this._model.selectionStart){this._model.selectionEnd=void 0;var ce=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);ce&&ce.length!==this._model.selectionStart[0]&&ce.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},ee.prototype._onDoubleClick=function(te){var ce=this._getMouseBufferCoords(te);ce&&(this._activeSelectionMode=1,this._selectWordAt(ce,!0))},ee.prototype._onTripleClick=function(te){var ce=this._getMouseBufferCoords(te);ce&&(this._activeSelectionMode=2,this._selectLineAt(ce[1]))},ee.prototype.shouldColumnSelect=function(te){return te.altKey&&!(se.isMac&&this._optionsService.options.macOptionClickForcesSelection)},ee.prototype._onMouseMove=function(te){if(te.stopImmediatePropagation(),this._model.selectionStart){var ce=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(te),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(te),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var de=this._bufferService.buffer;if(this._model.selectionEnd[1]<de.lines.length){var ge=de.lines.get(this._model.selectionEnd[1]);ge&&ge.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}ce&&ce[0]===this._model.selectionEnd[0]&&ce[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},ee.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var te=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(te.ydisp+this._bufferService.rows,te.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=te.ydisp),this.refresh()}},ee.prototype._onMouseUp=function(te){var ce=te.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&ce<500&&te.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var de=this._mouseService.getCoords(te,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(de&&de[0]!==void 0&&de[1]!==void 0){var ge=ne.moveToCellSequence(de[0]-1,de[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(ge,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},ee.prototype._onBufferActivate=function(te){var ce=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=te.activeBuffer.lines.onTrim(function(de){return ce._onTrim(de)})},ee.prototype._convertViewportColToCharacterIndex=function(te,ce){for(var de=ce[0],ge=0;ce[0]>=ge;ge++){var ve=te.loadCell(ge,this._workCell).getChars().length;this._workCell.getWidth()===0?de--:ve>1&&ce[0]!==ge&&(de+=ve-1)}return de},ee.prototype.setSelection=function(te,ce,de){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[te,ce],this._model.selectionStartLength=de,this.refresh()},ee.prototype._getWordAt=function(te,ce,de,ge){if(de===void 0&&(de=!0),ge===void 0&&(ge=!0),!(te[0]>=this._bufferService.cols)){var ve=this._bufferService.buffer,pe=ve.lines.get(te[1]);if(pe){var Se=ve.translateBufferLineToString(te[1],!1),ye=this._convertViewportColToCharacterIndex(pe,te),Pe=ye,we=te[0]-ye,Le=0,Ee=0,Te=0,Ce=0;if(Se.charAt(ye)===" "){for(;ye>0&&Se.charAt(ye-1)===" ";)ye--;for(;Pe<Se.length&&Se.charAt(Pe+1)===" ";)Pe++}else{var Ae=te[0],Ie=te[0];pe.getWidth(Ae)===0&&(Le++,Ae--),pe.getWidth(Ie)===2&&(Ee++,Ie++);var He=pe.getString(Ie).length;for(He>1&&(Ce+=He-1,Pe+=He-1);Ae>0&&ye>0&&!this._isCharWordSeparator(pe.loadCell(Ae-1,this._workCell));){pe.loadCell(Ae-1,this._workCell);var je=this._workCell.getChars().length;this._workCell.getWidth()===0?(Le++,Ae--):je>1&&(Te+=je-1,ye-=je-1),ye--,Ae--}for(;Ie<pe.length&&Pe+1<Se.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?(Ee++,Ie++):tt>1&&(Ce+=tt-1,Pe+=tt-1),Pe++,Ie++}}Pe++;var Je=ye+we-Le+Te,Qe=Math.min(this._bufferService.cols,Pe-ye+Le+Ee-Te-Ce);if(ce||Se.slice(ye,Pe).trim()!==""){if(de&&Je===0&&pe.getCodePoint(0)!==32){var Xe=ve.lines.get(te[1]-1);if(Xe&&pe.isWrapped&&Xe.getCodePoint(this._bufferService.cols-1)!==32){var $e=this._getWordAt([this._bufferService.cols-1,te[1]-1],!1,!0,!1);if($e){var ke=this._bufferService.cols-$e.start;Je-=ke,Qe+=ke}}}if(ge&&Je+Qe===this._bufferService.cols&&pe.getCodePoint(this._bufferService.cols-1)!==32){var Ue=ve.lines.get(te[1]+1);if(Ue&&Ue.isWrapped&&Ue.getCodePoint(0)!==32){var qe=this._getWordAt([0,te[1]+1],!1,!1,!0);qe&&(Qe+=qe.length)}}return{start:Je,length:Qe}}}}},ee.prototype._selectWordAt=function(te,ce){var de=this._getWordAt(te,ce);if(de){for(;de.start<0;)de.start+=this._bufferService.cols,te[1]--;this._model.selectionStart=[de.start,te[1]],this._model.selectionStartLength=de.length}},ee.prototype._selectToWordAt=function(te){var ce=this._getWordAt(te,!0);if(ce){for(var de=te[1];ce.start<0;)ce.start+=this._bufferService.cols,de--;if(!this._model.areSelectionValuesReversed())for(;ce.start+ce.length>this._bufferService.cols;)ce.length-=this._bufferService.cols,de++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?ce.start:ce.start+ce.length,de]}},ee.prototype._isCharWordSeparator=function(te){return te.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(te.getChars())>=0},ee.prototype._selectLineAt=function(te){var ce=this._bufferService.buffer.getWrappedRangeForLine(te);this._model.selectionStart=[0,ce.first],this._model.selectionEnd=[this._bufferService.cols,ce.last],this._model.selectionStartLength=0},ee=he([fe(2,ae.IBufferService),fe(3,ae.ICoreService),fe(4,ue.IMouseService),fe(5,ae.IOptionsService),fe(6,ue.IRenderService)],ee)}(z.Disposable);me.SelectionService=x},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.SelectionModel=void 0;var xe=function(){function E(he){this._bufferService=he,this.isSelectAllActive=!1,this.selectionStartLength=0}return E.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(E.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var he=this.selectionStart[0]+this.selectionStartLength;return he>this._bufferService.cols?[he%this._bufferService.cols,this.selectionStart[1]+Math.floor(he/this._bufferService.cols)]:[he,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),E.prototype.areSelectionValuesReversed=function(){var he=this.selectionStart,fe=this.selectionEnd;return!(!he||!fe)&&(he[1]>fe[1]||he[1]===fe[1]&&he[0]>fe[0])},E.prototype.onTrim=function(he){return this.selectionStart&&(this.selectionStart[1]-=he),this.selectionEnd&&(this.selectionEnd[1]-=he),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},E}();me.SelectionModel=xe},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.moveToCellSequence=void 0;var xe=be(12);function E(le,ue,ae,oe){var ne=le-he(ae,le),z=ue-he(ae,ue);return ie(Math.abs(ne-z)-function(a,y,x){for(var b=0,ee=a-he(x,a),te=y-he(x,y),ce=0;ce<Math.abs(ee-te);ce++){var de=fe(a,y)==="A"?-1:1,ge=x.buffer.lines.get(ee+de*ce);ge&&ge.isWrapped&&b++}return b}(le,ue,ae),re(fe(le,ue),oe))}function he(le,ue){for(var ae=0,oe=le.buffer.lines.get(ue),ne=oe&&oe.isWrapped;ne&&ue>=0&&ue<le.rows;)ae++,ne=(oe=le.buffer.lines.get(--ue))&&oe.isWrapped;return ae}function fe(le,ue){return le>ue?"A":"B"}function se(le,ue,ae,oe,ne,z){for(var a=le,y=ue,x="";a!==ae||y!==oe;)a+=ne?1:-1,ne&&a>z.cols-1?(x+=z.buffer.translateBufferLineToString(y,!1,le,a),a=0,le=0,y++):!ne&&a<0&&(x+=z.buffer.translateBufferLineToString(y,!1,0,le+1),le=a=z.cols-1,y--);return x+z.buffer.translateBufferLineToString(y,!1,le,a)}function re(le,ue){var ae=ue?"O":"[";return xe.C0.ESC+ae+le}function ie(le,ue){le=Math.floor(le);for(var ae="",oe=0;oe<le;oe++)ae+=ue;return ae}me.moveToCellSequence=function(le,ue,ae,oe){var ne,z=ae.buffer.x,a=ae.buffer.y;if(!ae.buffer.hasScrollback)return function(x,b,ee,te,ce,de){return E(b,te,ce,de).length===0?"":ie(se(x,b,x,b-he(ce,b),!1,ce).length,re("D",de))}(z,a,0,ue,ae,oe)+E(a,ue,ae,oe)+function(x,b,ee,te,ce,de){var ge;ge=E(b,te,ce,de).length>0?te-he(ce,te):b;var ve=te,pe=function(Se,ye,Pe,we,Le,Ee){var Te;return Te=E(Pe,we,Le,Ee).length>0?we-he(Le,we):ye,Se<Pe&&Te<=we||Se>=Pe&&Te<we?"C":"D"}(x,b,ee,te,ce,de);return ie(se(x,ge,ee,ve,pe==="C",ce).length,re(pe,de))}(z,a,le,ue,ae,oe);if(a===ue)return ne=z>le?"D":"C",ie(Math.abs(z-le),re(ne,oe));ne=a>ue?"D":"C";var y=Math.abs(a-ue);return ie(function(x,b){return b.cols-x}(a>ue?le:z,ae)+(y-1)*ae.cols+1+((a>ue?z:le)-1),re(ne,oe))}},function(dt,me,be){"use strict";var xe=this&&this.__decorate||function(se,re,ie,le){var ue,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--)(ue=se[ne])&&(oe=(ae<3?ue(oe):ae>3?ue(re,ie,oe):ue(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(me,"__esModule",{value:!0}),me.SoundService=void 0;var he=be(1),fe=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,ue=new Uint8Array(le),ae=0;ae<le;ae++)ue[ae]=ie.charCodeAt(ae);return ue.buffer},se.prototype._removeMimeType=function(re){return re.split(",")[1]},se=xe([E(0,he.IOptionsService)],se)}();me.SoundService=fe},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,ne):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,z){oe(ne,z,ae)}};Object.defineProperty(me,"__esModule",{value:!0}),me.MouseZoneManager=void 0;var se=be(2),re=be(7),ie=be(5),le=be(1),ue=function(ae){function oe(ne,z,a,y,x,b){var ee=ae.call(this)||this;return ee._element=ne,ee._screenElement=z,ee._bufferService=a,ee._mouseService=y,ee._selectionService=x,ee._optionsService=b,ee._zones=[],ee._areZonesActive=!1,ee._lastHoverCoords=[void 0,void 0],ee._initialSelectionLength=0,ee.register(re.addDisposableDomListener(ee._element,"mousedown",function(te){return ee._onMouseDown(te)})),ee._mouseMoveListener=function(te){return ee._onMouseMove(te)},ee._mouseLeaveListener=function(te){return ee._onMouseLeave(te)},ee._clickListener=function(te){return ee._onClick(te)},ee}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,z){if(this._zones.length!==0){ne&&z||(ne=0,z=this._bufferService.rows-1);for(var a=0;a<this._zones.length;a++){var y=this._zones[a];(y.y1>ne&&y.y1<=z+1||y.y2>ne&&y.y2<=z+1||y.y1<ne&&y.y2>z+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 z=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 z._onTooltip(ne)},this._optionsService.options.linkTooltipHoverDuration)))},oe.prototype._onTooltip=function(ne){this._tooltipTimeout=void 0;var z=this._findZoneEventAt(ne);z&&z.tooltipCallback&&z.tooltipCallback(ne)},oe.prototype._onMouseDown=function(ne){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var z=this._findZoneEventAt(ne);z!=null&&z.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 z=this._findZoneEventAt(ne),a=this._getSelectionLength();z&&a===this._initialSelectionLength&&(z.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 z=this._mouseService.getCoords(ne,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(z)for(var a=z[0],y=z[1],x=0;x<this._zones.length;x++){var b=this._zones[x];if(b.y1===b.y2){if(y===b.y1&&a>=b.x1&&a<b.x2)return b}else if(y===b.y1&&a>=b.x1||y===b.y2&&a<b.x2||y>b.y1&&y<b.y2)return b}},oe=he([fe(2,le.IBufferService),fe(3,ie.IMouseService),fe(4,ie.ISelectionService),fe(5,le.IOptionsService)],oe)}(se.Disposable);me.MouseZoneManager=ue},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(oe,ne){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,a){z.__proto__=a}||function(z,a){for(var y in a)a.hasOwnProperty(y)&&(z[y]=a[y])})(oe,ne)},function(oe,ne){function z(){this.constructor=oe}xe(oe,ne),oe.prototype=ne===null?Object.create(ne):(z.prototype=ne.prototype,new z)});Object.defineProperty(me,"__esModule",{value:!0}),me.AccessibilityManager=void 0;var he=be(18),fe=be(11),se=be(31),re=be(7),ie=be(2),le=be(32),ue=be(17),ae=function(oe){function ne(z,a){var y=oe.call(this)||this;y._terminal=z,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),ue.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},ne.prototype._onBoundaryFocus=function(z,a){var y=z.target,x=this._rowElements[a===0?1:this._rowElements.length-2];if(y.getAttribute("aria-posinset")!==(a===0?"1":""+this._terminal.buffer.lines.length)&&z.relatedTarget===x){var b,ee;if(a===0?(b=y,ee=this._rowElements.pop(),this._rowContainer.removeChild(ee)):(b=this._rowElements.shift(),ee=y,this._rowContainer.removeChild(b)),b.removeEventListener("focus",this._topBoundaryFocusListener),ee.removeEventListener("focus",this._bottomBoundaryFocusListener),a===0){var te=this._createAccessibilityTreeNode();this._rowElements.unshift(te),this._rowContainer.insertAdjacentElement("afterbegin",te)}else te=this._createAccessibilityTreeNode(),this._rowElements.push(te),this._rowContainer.appendChild(te);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(a===0?-1:1),this._rowElements[a===0?1:this._rowElements.length-2].focus(),z.preventDefault(),z.stopImmediatePropagation()}},ne.prototype._onResize=function(z){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>z;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},ne.prototype._createAccessibilityTreeNode=function(){var z=document.createElement("div");return z.setAttribute("role","listitem"),z.tabIndex=-1,this._refreshRowDimensions(z),z},ne.prototype._onTab=function(z){for(var a=0;a<z;a++)this._onChar(" ")},ne.prototype._onChar=function(z){var a=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==z&&(this._charsToAnnounce+=z):this._charsToAnnounce+=z,z===`
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=he.tooMuchOutput)),fe.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){a._accessibilityTreeRoot.appendChild(a._liveRegion)},0))},ne.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,fe.isMac&&ue.removeElementFromParent(this._liveRegion)},ne.prototype._onKey=function(z){this._clearLiveRegion(),this._charsToConsume.push(z)},ne.prototype._refreshRows=function(z,a){this._renderRowsDebouncer.refresh(z,a,this._terminal.rows)},ne.prototype._renderRows=function(z,a){for(var y=this._terminal.buffer,x=y.lines.length.toString(),b=z;b<=a;b++){var ee=y.translateBufferLineToString(y.ydisp+b,!0),te=(y.ydisp+b+1).toString(),ce=this._rowElements[b];ce&&(ee.length===0?ce.innerHTML="&nbsp;":ce.textContent=ee,ce.setAttribute("aria-posinset",te),ce.setAttribute("aria-setsize",x))}this._announceCharacters()},ne.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var z=0;z<this._terminal.rows;z++)this._refreshRowDimensions(this._rowElements[z])}},ne.prototype._refreshRowDimensions=function(z){z.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);me.AccessibilityManager=ae},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(y,x){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,ee){b.__proto__=ee}||function(b,ee){for(var te in ee)ee.hasOwnProperty(te)&&(b[te]=ee[te])})(y,x)},function(y,x){function b(){this.constructor=y}xe(y,x),y.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),he=this&&this.__decorate||function(y,x,b,ee){var te,ce=arguments.length,de=ce<3?x:ee===null?ee=Object.getOwnPropertyDescriptor(x,b):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")de=Reflect.decorate(y,x,b,ee);else for(var ge=y.length-1;ge>=0;ge--)(te=y[ge])&&(de=(ce<3?te(de):ce>3?te(x,b,de):te(x,b))||de);return ce>3&&de&&Object.defineProperty(x,b,de),de},fe=this&&this.__param||function(y,x){return function(b,ee){x(b,ee,y)}};Object.defineProperty(me,"__esModule",{value:!0}),me.DomRenderer=void 0;var se=be(58),re=be(9),ie=be(2),le=be(5),ue=be(1),ae=be(0),oe=be(10),ne=be(17),z=1,a=function(y){function x(b,ee,te,ce,de,ge,ve,pe,Se){var ye=y.call(this)||this;return ye._colors=b,ye._element=ee,ye._screenElement=te,ye._viewportElement=ce,ye._linkifier=de,ye._linkifier2=ge,ye._charSizeService=ve,ye._optionsService=pe,ye._bufferService=Se,ye._terminalClass=z++,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,ee=this._rowElements;b<ee.length;b++){var te=ee[b];te.style.width=this.dimensions.canvasWidth+"px",te.style.height=this.dimensions.actualCellHeight+"px",te.style.lineHeight=this.dimensions.actualCellHeight+"px",te.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var ce=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=ce,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},x.prototype.setColors=function(b){this._colors=b,this._injectCss()},x.prototype._injectCss=function(){var b=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var ee=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";ee+=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;}",ee+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",ee+="@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+"; }}",ee+=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;}",ee+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(te,ce){ee+=b._terminalSelector+" .xterm-fg-"+ce+" { color: "+te.css+"; }"+b._terminalSelector+" .xterm-bg-"+ce+" { background-color: "+te.css+"; }"}),ee+=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=ee},x.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},x.prototype._refreshRowElements=function(b,ee){for(var te=this._rowElements.length;te<=ee;te++){var ce=document.createElement("div");this._rowContainer.appendChild(ce),this._rowElements.push(ce)}for(;this._rowElements.length>ee;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(b,ee){this._refreshRowElements(b,ee),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,ee,te){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&ee){var ce=b[1]-this._bufferService.buffer.ydisp,de=ee[1]-this._bufferService.buffer.ydisp,ge=Math.max(ce,0),ve=Math.min(de,this._bufferService.rows-1);if(!(ge>=this._bufferService.rows||ve<0)){var pe=document.createDocumentFragment();if(te)pe.appendChild(this._createSelectionElement(ge,b[0],ee[0],ve-ge+1));else{var Se=ce===ge?b[0]:0,ye=ge===ve?ee[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(ge,Se,ye));var Pe=ve-ge-1;if(pe.appendChild(this._createSelectionElement(ge+1,0,this._bufferService.cols,Pe)),ge!==ve){var we=de===ve?ee[0]:this._bufferService.cols;pe.appendChild(this._createSelectionElement(ve,0,we))}}this._selectionContainer.appendChild(pe)}}},x.prototype._createSelectionElement=function(b,ee,te,ce){ce===void 0&&(ce=1);var de=document.createElement("div");return de.style.height=ce*this.dimensions.actualCellHeight+"px",de.style.top=b*this.dimensions.actualCellHeight+"px",de.style.left=ee*this.dimensions.actualCellWidth+"px",de.style.width=this.dimensions.actualCellWidth*(te-ee)+"px",de},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){for(var b=0,ee=this._rowElements;b<ee.length;b++)ee[b].innerHTML=""},x.prototype.renderRows=function(b,ee){for(var te=this._bufferService.buffer.ybase+this._bufferService.buffer.y,ce=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),de=this._optionsService.options.cursorBlink,ge=b;ge<=ee;ge++){var ve=this._rowElements[ge];ve.innerHTML="";var pe=ge+this._bufferService.buffer.ydisp,Se=this._bufferService.buffer.lines.get(pe),ye=this._optionsService.options.cursorStyle;ve.appendChild(this._rowFactory.createRow(Se,pe===te,ye,ce,de,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,ee,te,ce,de,ge){for(;b!==ee||te!==ce;){var ve=this._rowElements[te];if(!ve)return;var pe=ve.children[b];pe&&(pe.style.textDecoration=ge?"underline":"none"),++b>=de&&(b=0,te++)}},x=he([fe(6,le.ICharSizeService),fe(7,ue.IOptionsService),fe(8,ue.IBufferService)],x)}(ie.Disposable);me.DomRenderer=a},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.DomRendererRowFactory=me.CURSOR_STYLE_UNDERLINE_CLASS=me.CURSOR_STYLE_BAR_CLASS=me.CURSOR_STYLE_BLOCK_CLASS=me.CURSOR_BLINK_CLASS=me.CURSOR_CLASS=me.UNDERLINE_CLASS=me.ITALIC_CLASS=me.DIM_CLASS=me.BOLD_CLASS=void 0;var xe=be(9),E=be(3),he=be(4),fe=be(10);me.BOLD_CLASS="xterm-bold",me.DIM_CLASS="xterm-dim",me.ITALIC_CLASS="xterm-italic",me.UNDERLINE_CLASS="xterm-underline",me.CURSOR_CLASS="xterm-cursor",me.CURSOR_BLINK_CLASS="xterm-cursor-blink",me.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",me.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",me.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var se=function(){function ie(le,ue,ae){this._document=le,this._optionsService=ue,this._colors=ae,this._workCell=new he.CellData}return ie.prototype.setColors=function(le){this._colors=le},ie.prototype.createRow=function(le,ue,ae,oe,ne,z,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||ue&&b===oe){x=b+1;break}for(b=0;b<x;b++){le.loadCell(b,this._workCell);var ee=this._workCell.getWidth();if(ee!==0){var te=this._document.createElement("span");if(ee>1&&(te.style.width=z*ee+"px"),ue&&b===oe)switch(te.classList.add(me.CURSOR_CLASS),ne&&te.classList.add(me.CURSOR_BLINK_CLASS),ae){case"bar":te.classList.add(me.CURSOR_STYLE_BAR_CLASS);break;case"underline":te.classList.add(me.CURSOR_STYLE_UNDERLINE_CLASS);break;default:te.classList.add(me.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&te.classList.add(me.BOLD_CLASS),this._workCell.isItalic()&&te.classList.add(me.ITALIC_CLASS),this._workCell.isDim()&&te.classList.add(me.DIM_CLASS),this._workCell.isUnderline()&&te.classList.add(me.UNDERLINE_CLASS),this._workCell.isInvisible()?te.textContent=E.WHITESPACE_CELL_CHAR:te.textContent=this._workCell.getChars()||E.WHITESPACE_CELL_CHAR;var ce=this._workCell.getFgColor(),de=this._workCell.getFgColorMode(),ge=this._workCell.getBgColor(),ve=this._workCell.getBgColorMode(),pe=!!this._workCell.isInverse();if(pe){var Se=ce;ce=ge,ge=Se;var ye=de;de=ve,ve=ye}switch(de){case 16777216:case 33554432:this._workCell.isBold()&&ce<8&&this._optionsService.options.drawBoldTextInBrightColors&&(ce+=8),this._applyMinimumContrast(te,this._colors.background,this._colors.ansi[ce])||te.classList.add("xterm-fg-"+ce);break;case 50331648:var Pe=fe.rgba.toColor(ce>>16&255,ce>>8&255,255&ce);this._applyMinimumContrast(te,this._colors.background,Pe)||this._addStyle(te,"color:#"+re(ce.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(te,this._colors.background,this._colors.foreground)||pe&&te.classList.add("xterm-fg-"+xe.INVERTED_DEFAULT_COLOR)}switch(ve){case 16777216:case 33554432:te.classList.add("xterm-bg-"+ge);break;case 50331648:this._addStyle(te,"background-color:#"+re(ge.toString(16),"0",6));break;case 0:default:pe&&te.classList.add("xterm-bg-"+xe.INVERTED_DEFAULT_COLOR)}y.appendChild(te)}}return y},ie.prototype._applyMinimumContrast=function(le,ue,ae){if(this._optionsService.options.minimumContrastRatio===1)return!1;var oe=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return oe===void 0&&(oe=fe.color.ensureContrastRatio(ue,ae,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,oe!=null?oe:null)),!!oe&&(this._addStyle(le,"color:"+oe.css),!0)},ie.prototype._addStyle=function(le,ue){le.setAttribute("style",""+(le.getAttribute("style")||"")+ue+";")},ie}();function re(ie,le,ue){for(;ie.length<ue;)ie=le+ie;return ie}me.DomRendererRowFactory=se},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.evaluateKeyboardEvent=void 0;var xe=be(12),E={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};me.evaluateKeyboardEvent=function(he,fe,se,re){var ie={type:0,cancel:!1,key:void 0},le=(he.shiftKey?1:0)|(he.altKey?2:0)|(he.ctrlKey?4:0)|(he.metaKey?8:0);switch(he.keyCode){case 0:he.key==="UIKeyInputUpArrow"?ie.key=fe?xe.C0.ESC+"OA":xe.C0.ESC+"[A":he.key==="UIKeyInputLeftArrow"?ie.key=fe?xe.C0.ESC+"OD":xe.C0.ESC+"[D":he.key==="UIKeyInputRightArrow"?ie.key=fe?xe.C0.ESC+"OC":xe.C0.ESC+"[C":he.key==="UIKeyInputDownArrow"&&(ie.key=fe?xe.C0.ESC+"OB":xe.C0.ESC+"[B");break;case 8:if(he.shiftKey){ie.key=xe.C0.BS;break}if(he.altKey){ie.key=xe.C0.ESC+xe.C0.DEL;break}ie.key=xe.C0.DEL;break;case 9:if(he.shiftKey){ie.key=xe.C0.ESC+"[Z";break}ie.key=xe.C0.HT,ie.cancel=!0;break;case 13:ie.key=he.altKey?xe.C0.ESC+xe.C0.CR:xe.C0.CR,ie.cancel=!0;break;case 27:ie.key=xe.C0.ESC,he.altKey&&(ie.key=xe.C0.ESC+xe.C0.ESC),ie.cancel=!0;break;case 37:if(he.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=fe?xe.C0.ESC+"OD":xe.C0.ESC+"[D";break;case 39:if(he.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=fe?xe.C0.ESC+"OC":xe.C0.ESC+"[C";break;case 38:if(he.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=fe?xe.C0.ESC+"OA":xe.C0.ESC+"[A";break;case 40:if(he.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=fe?xe.C0.ESC+"OB":xe.C0.ESC+"[B";break;case 45:he.shiftKey||he.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":fe?xe.C0.ESC+"OH":xe.C0.ESC+"[H";break;case 35:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"F":fe?xe.C0.ESC+"OF":xe.C0.ESC+"[F";break;case 33:he.shiftKey?ie.type=2:ie.key=xe.C0.ESC+"[5~";break;case 34:he.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(!he.ctrlKey||he.shiftKey||he.altKey||he.metaKey)if(se&&!re||!he.altKey||he.metaKey)se&&!he.altKey&&!he.ctrlKey&&he.metaKey?he.keyCode===65&&(ie.type=1):he.key&&!he.ctrlKey&&!he.altKey&&!he.metaKey&&he.keyCode>=48&&he.key.length===1?ie.key=he.key:he.key&&he.ctrlKey&&he.key==="_"&&(ie.key=xe.C0.US);else{var ue=E[he.keyCode],ae=ue&&ue[he.shiftKey?1:0];if(ae)ie.key=xe.C0.ESC+ae;else if(he.keyCode>=65&&he.keyCode<=90){var oe=he.ctrlKey?he.keyCode-64:he.keyCode+32;ie.key=xe.C0.ESC+String.fromCharCode(oe)}}else he.keyCode>=65&&he.keyCode<=90?ie.key=String.fromCharCode(he.keyCode-64):he.keyCode===32?ie.key=xe.C0.NUL:he.keyCode>=51&&he.keyCode<=55?ie.key=String.fromCharCode(he.keyCode-51+27):he.keyCode===56?ie.key=xe.C0.DEL:he.keyCode===219?ie.key=xe.C0.ESC:he.keyCode===220?ie.key=xe.C0.FS:he.keyCode===221&&(ie.key=xe.C0.GS)}return ie}},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(z,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])})(z,a)},function(z,a){function y(){this.constructor=z}xe(z,a),z.prototype=a===null?Object.create(a):(y.prototype=a.prototype,new y)}),he=this&&this.__decorate||function(z,a,y,x){var b,ee=arguments.length,te=ee<3?a:x===null?x=Object.getOwnPropertyDescriptor(a,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(z,a,y,x);else for(var ce=z.length-1;ce>=0;ce--)(b=z[ce])&&(te=(ee<3?b(te):ee>3?b(a,y,te):b(a,y))||te);return ee>3&&te&&Object.defineProperty(a,y,te),te},fe=this&&this.__param||function(z,a){return function(y,x){a(y,x,z)}};Object.defineProperty(me,"__esModule",{value:!0}),me.RenderService=void 0;var se=be(31),re=be(0),ie=be(2),le=be(32),ue=be(7),ae=be(1),oe=be(5),ne=function(z){function a(y,x,b,ee,te,ce){var de=z.call(this)||this;if(de._renderer=y,de._rowCount=x,de._isPaused=!1,de._needsFullRefresh=!1,de._isNextRenderRedrawOnly=!0,de._needsSelectionRefresh=!1,de._canvasWidth=0,de._canvasHeight=0,de._selectionState={start:void 0,end:void 0,columnSelectMode:!1},de._onDimensionsChange=new re.EventEmitter,de._onRender=new re.EventEmitter,de._onRefreshRequest=new re.EventEmitter,de.register({dispose:function(){return de._renderer.dispose()}}),de._renderDebouncer=new se.RenderDebouncer(function(ve,pe){return de._renderRows(ve,pe)}),de.register(de._renderDebouncer),de._screenDprMonitor=new le.ScreenDprMonitor,de._screenDprMonitor.setListener(function(){return de.onDevicePixelRatioChange()}),de.register(de._screenDprMonitor),de.register(ce.onResize(function(ve){return de._fullRefresh()})),de.register(ee.onOptionChange(function(){return de._renderer.onOptionsChanged()})),de.register(te.onCharSizeChange(function(){return de.onCharSizeChanged()})),de._renderer.onRequestRedraw(function(ve){return de.refreshRows(ve.start,ve.end,!0)}),de.register(ue.addDisposableDomListener(window,"resize",function(){return de.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var ge=new IntersectionObserver(function(ve){return de._onIntersectionChange(ve[ve.length-1])},{threshold:0});ge.observe(b),de.register({dispose:function(){return ge.disconnect()}})}return de}return E(a,z),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(){z.prototype.dispose.call(this)},a.prototype.setRenderer=function(y){var x=this;this._renderer.dispose(),this._renderer=y,this._renderer.onRequestRedraw(function(b){return x.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},a.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},a.prototype.setColors=function(y){this._renderer.setColors(y),this._fullRefresh()},a.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},a.prototype.onResize=function(y,x){this._renderer.onResize(y,x),this._fullRefresh()},a.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},a.prototype.onBlur=function(){this._renderer.onBlur()},a.prototype.onFocus=function(){this._renderer.onFocus()},a.prototype.onSelectionChanged=function(y,x,b){this._selectionState.start=y,this._selectionState.end=x,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(y,x,b)},a.prototype.onCursorMove=function(){this._renderer.onCursorMove()},a.prototype.clear=function(){this._renderer.clear()},a.prototype.registerCharacterJoiner=function(y){return this._renderer.registerCharacterJoiner(y)},a.prototype.deregisterCharacterJoiner=function(y){return this._renderer.deregisterCharacterJoiner(y)},a=he([fe(3,ae.IOptionsService),fe(4,oe.ICharSizeService),fe(5,ae.IBufferService)],a)}(ie.Disposable);me.RenderService=ne},function(dt,me,be){"use strict";var xe=this&&this.__decorate||function(ie,le,ue,ae){var oe,ne=arguments.length,z=ne<3?le:ae===null?ae=Object.getOwnPropertyDescriptor(le,ue):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(ie,le,ue,ae);else for(var a=ie.length-1;a>=0;a--)(oe=ie[a])&&(z=(ne<3?oe(z):ne>3?oe(le,ue,z):oe(le,ue))||z);return ne>3&&z&&Object.defineProperty(le,ue,z),z},E=this&&this.__param||function(ie,le){return function(ue,ae){le(ue,ae,ie)}};Object.defineProperty(me,"__esModule",{value:!0}),me.CharSizeService=void 0;var he=be(1),fe=be(0),se=function(){function ie(le,ue,ae){this._optionsService=ae,this.width=0,this.height=0,this._onCharSizeChange=new fe.EventEmitter,this._measureStrategy=new re(le,ue,this._optionsService)}return Object.defineProperty(ie.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),ie.prototype.measure=function(){var 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,he.IOptionsService)],ie)}();me.CharSizeService=se;var re=function(){function ie(le,ue,ae){this._document=le,this._parentElement=ue,this._optionsService=ae,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return ie.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var 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,me,be){"use strict";var xe=this&&this.__decorate||function(re,ie,le,ue){var ae,oe=arguments.length,ne=oe<3?ie:ue===null?ue=Object.getOwnPropertyDescriptor(ie,le):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(re,ie,le,ue);else for(var z=re.length-1;z>=0;z--)(ae=re[z])&&(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,ue){ie(le,ue,re)}};Object.defineProperty(me,"__esModule",{value:!0}),me.MouseService=void 0;var he=be(5),fe=be(30),se=function(){function re(ie,le){this._renderService=ie,this._charSizeService=le}return re.prototype.getCoords=function(ie,le,ue,ae,oe){return fe.getCoords(ie,le,ue,ae,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,oe)},re.prototype.getRawByteCoords=function(ie,le,ue,ae){var oe=this.getCoords(ie,le,ue,ae);return fe.getRawByteCoords(oe)},re=xe([E(0,he.IRenderService),E(1,he.ICharSizeService)],re)}();me.MouseService=se},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,ne):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,z){oe(ne,z,ae)}};Object.defineProperty(me,"__esModule",{value:!0}),me.Linkifier2=void 0;var se=be(1),re=be(0),ie=be(2),le=be(7),ue=function(ae){function oe(ne){var z=ae.call(this)||this;return z._bufferService=ne,z._linkProviders=[],z._linkCacheDisposables=[],z._isMouseOut=!0,z._activeLine=-1,z._onShowLinkUnderline=z.register(new re.EventEmitter),z._onHideLinkUnderline=z.register(new re.EventEmitter),z.register(ie.getDisposeArrayDisposable(z._linkCacheDisposables)),z}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 z=this;return this._linkProviders.push(ne),{dispose:function(){var a=z._linkProviders.indexOf(ne);a!==-1&&z._linkProviders.splice(a,1)}}},oe.prototype.attachToDom=function(ne,z,a){var y=this;this._element=ne,this._mouseService=z,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 z=this._positionFromMouseEvent(ne,this._element,this._mouseService);if(z){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&&z.x===this._lastBufferCell.x&&z.y===this._lastBufferCell.y||(this._onHover(z),this._lastBufferCell=z)}}},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,z){var a=this;this._activeProviderReplies&&z||(this._activeProviderReplies=new Map,this._activeLine=ne.y);var y=!1;this._linkProviders.forEach(function(x,b){var ee;z?!((ee=a._activeProviderReplies)===null||ee===void 0)&&ee.get(b)&&(y=a._checkLinkProviderResult(b,ne,y)):x.provideLinks(ne.y,function(te){var ce,de;if(!a._isMouseOut){var ge=te==null?void 0:te.map(function(ve){return{link:ve}});(ce=a._activeProviderReplies)===null||ce===void 0||ce.set(b,ge),y=a._checkLinkProviderResult(b,ne,y),((de=a._activeProviderReplies)===null||de===void 0?void 0:de.size)===a._linkProviders.length&&a._removeIntersectingLinks(ne.y,a._activeProviderReplies)}})})},oe.prototype._removeIntersectingLinks=function(ne,z){for(var a=new Set,y=0;y<z.size;y++){var x=z.get(y);if(x)for(var b=0;b<x.length;b++)for(var ee=x[b],te=ee.link.range.start.y<ne?0:ee.link.range.start.x,ce=ee.link.range.end.y>ne?this._bufferService.cols:ee.link.range.end.x,de=te;de<=ce;de++){if(a.has(de)){x.splice(b--,1);break}a.add(de)}}},oe.prototype._checkLinkProviderResult=function(ne,z,a){var y,x=this;if(!this._activeProviderReplies)return a;for(var b=this._activeProviderReplies.get(ne),ee=!1,te=0;te<ne;te++)this._activeProviderReplies.has(te)&&!this._activeProviderReplies.get(te)||(ee=!0);if(!ee&&b){var ce=b.find(function(ge){return x._linkAtPosition(ge.link,z)});ce&&(a=!0,this._handleNewLink(ce))}if(this._activeProviderReplies.size===this._linkProviders.length&&!a)for(te=0;te<this._activeProviderReplies.size;te++){var de=(y=this._activeProviderReplies.get(te))===null||y===void 0?void 0:y.find(function(ge){return x._linkAtPosition(ge.link,z)});if(de){a=!0,this._handleNewLink(de);break}}return a},oe.prototype._onClick=function(ne){if(this._element&&this._mouseService&&this._currentLink){var z=this._positionFromMouseEvent(ne,this._element,this._mouseService);z&&this._linkAtPosition(this._currentLink.link,z)&&this._currentLink.link.activate(ne,this._currentLink.link.text)}},oe.prototype._clearCurrentLink=function(ne,z){this._element&&this._currentLink&&this._lastMouseEvent&&(!ne||!z||this._currentLink.link.range.start.y>=ne&&this._currentLink.link.range.end.y<=z)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,ie.disposeArray(this._linkCacheDisposables))},oe.prototype._handleNewLink=function(ne){var z=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=z._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=z._currentLink)===null||x===void 0)&&x.state&&z._currentLink.state.decorations.pointerCursor!==y&&(z._currentLink.state.decorations.pointerCursor=y,z._currentLink.state.isHovered&&((b=z._element)===null||b===void 0||b.classList.toggle("xterm-cursor-pointer",y)))}},underline:{get:function(){var y,x;return(x=(y=z._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.underline},set:function(y){var x,b,ee;!((x=z._currentLink)===null||x===void 0)&&x.state&&((ee=(b=z._currentLink)===null||b===void 0?void 0:b.state)===null||ee===void 0?void 0:ee.decorations.underline)!==y&&(z._currentLink.state.decorations.underline=y,z._currentLink.state.isHovered&&z._fireUnderlineEvent(ne.link,y))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(y){var x=y.start===0?0:y.start+1+z._bufferService.buffer.ydisp;z._clearCurrentLink(x,y.end+1+z._bufferService.buffer.ydisp)})))}},oe.prototype._linkHover=function(ne,z,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(z,!0),this._currentLink.state.decorations.pointerCursor&&ne.classList.add("xterm-cursor-pointer")),z.hover&&z.hover(a,z.text)},oe.prototype._fireUnderlineEvent=function(ne,z){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);(z?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(x)},oe.prototype._linkLeave=function(ne,z,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(z,!1),this._currentLink.state.decorations.pointerCursor&&ne.classList.remove("xterm-cursor-pointer")),z.leave&&z.leave(a,z.text)},oe.prototype._linkAtPosition=function(ne,z){var a=ne.range.start.y===ne.range.end.y,y=ne.range.start.y<z.y,x=ne.range.end.y>z.y;return(a&&ne.range.start.x<=z.x&&ne.range.end.x>=z.x||y&&ne.range.end.x>=z.x||x&&ne.range.start.x<=z.x||y&&x)&&ne.range.start.y<=z.y&&ne.range.end.y>=z.y},oe.prototype._positionFromMouseEvent=function(ne,z,a){var y=a.getCoords(ne,z,this._bufferService.cols,this._bufferService.rows);if(y)return{x:y[0],y:y[1]+this._bufferService.buffer.ydisp}},oe.prototype._createLinkUnderlineEvent=function(ne,z,a,y,x){return{x1:ne,y1:z,x2:a,y2:y,cols:this._bufferService.cols,fg:x}},oe=he([fe(0,se.IBufferService)],oe)}(ie.Disposable);me.Linkifier2=ue},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.CoreBrowserService=void 0;var xe=function(){function E(he){this._textarea=he}return Object.defineProperty(E.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),E}();me.CoreBrowserService=xe},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(te,ce){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ge){de.__proto__=ge}||function(de,ge){for(var ve in ge)ge.hasOwnProperty(ve)&&(de[ve]=ge[ve])})(te,ce)},function(te,ce){function de(){this.constructor=te}xe(te,ce),te.prototype=ce===null?Object.create(ce):(de.prototype=ce.prototype,new de)});Object.defineProperty(me,"__esModule",{value:!0}),me.CoreTerminal=void 0;var he=be(2),fe=be(1),se=be(66),re=be(67),ie=be(68),le=be(74),ue=be(75),ae=be(0),oe=be(76),ne=be(77),z=be(78),a=be(80),y=be(81),x=be(19),b=be(82),ee=function(te){function ce(de){var ge=te.call(this)||this;return ge._onBinary=new ae.EventEmitter,ge._onData=new ae.EventEmitter,ge._onLineFeed=new ae.EventEmitter,ge._onResize=new ae.EventEmitter,ge._onScroll=new ae.EventEmitter,ge._instantiationService=new se.InstantiationService,ge.optionsService=new le.OptionsService(de),ge._instantiationService.setService(fe.IOptionsService,ge.optionsService),ge._bufferService=ge.register(ge._instantiationService.createInstance(ie.BufferService)),ge._instantiationService.setService(fe.IBufferService,ge._bufferService),ge._logService=ge._instantiationService.createInstance(re.LogService),ge._instantiationService.setService(fe.ILogService,ge._logService),ge._coreService=ge.register(ge._instantiationService.createInstance(ue.CoreService,function(){return ge.scrollToBottom()})),ge._instantiationService.setService(fe.ICoreService,ge._coreService),ge._coreMouseService=ge._instantiationService.createInstance(oe.CoreMouseService),ge._instantiationService.setService(fe.ICoreMouseService,ge._coreMouseService),ge._dirtyRowService=ge._instantiationService.createInstance(ne.DirtyRowService),ge._instantiationService.setService(fe.IDirtyRowService,ge._dirtyRowService),ge.unicodeService=ge._instantiationService.createInstance(z.UnicodeService),ge._instantiationService.setService(fe.IUnicodeService,ge.unicodeService),ge._charsetService=ge._instantiationService.createInstance(a.CharsetService),ge._instantiationService.setService(fe.ICharsetService,ge._charsetService),ge._inputHandler=new x.InputHandler(ge._bufferService,ge._charsetService,ge._coreService,ge._dirtyRowService,ge._logService,ge.optionsService,ge._coreMouseService,ge.unicodeService),ge.register(ae.forwardEvent(ge._inputHandler.onLineFeed,ge._onLineFeed)),ge.register(ge._inputHandler),ge.register(ae.forwardEvent(ge._bufferService.onResize,ge._onResize)),ge.register(ae.forwardEvent(ge._coreService.onData,ge._onData)),ge.register(ae.forwardEvent(ge._coreService.onBinary,ge._onBinary)),ge.register(ge.optionsService.onOptionChange(function(ve){return ge._updateOptions(ve)})),ge._writeBuffer=new b.WriteBuffer(function(ve){return ge._inputHandler.parse(ve)}),ge}return E(ce,te),Object.defineProperty(ce.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),ce.prototype.dispose=function(){var de;this._isDisposed||(te.prototype.dispose.call(this),(de=this._windowsMode)===null||de===void 0||de.dispose(),this._windowsMode=void 0)},ce.prototype.write=function(de,ge){this._writeBuffer.write(de,ge)},ce.prototype.writeSync=function(de){this._writeBuffer.writeSync(de)},ce.prototype.resize=function(de,ge){isNaN(de)||isNaN(ge)||(de=Math.max(de,ie.MINIMUM_COLS),ge=Math.max(ge,ie.MINIMUM_ROWS),this._bufferService.resize(de,ge))},ce.prototype.scroll=function(de,ge){ge===void 0&&(ge=!1);var ve,pe=this._bufferService.buffer;(ve=this._cachedBlankLine)&&ve.length===this.cols&&ve.getFg(0)===de.fg&&ve.getBg(0)===de.bg||(ve=pe.getBlankLine(de,ge),this._cachedBlankLine=ve),ve.isWrapped=ge;var Se=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(ve):pe.lines.push(ve.clone()):pe.lines.splice(ye+1,0,ve.clone()),Pe?this._bufferService.isUserScrolling&&(pe.ydisp=Math.max(pe.ydisp-1,0)):(pe.ybase++,this._bufferService.isUserScrolling||pe.ydisp++)}else{var we=ye-Se+1;pe.lines.shiftElements(Se+1,we-1,-1),pe.lines.set(ye,ve.clone())}this._bufferService.isUserScrolling||(pe.ydisp=pe.ybase),this._dirtyRowService.markRangeDirty(pe.scrollTop,pe.scrollBottom),this._onScroll.fire(pe.ydisp)},ce.prototype.scrollLines=function(de,ge){var ve=this._bufferService.buffer;if(de<0){if(ve.ydisp===0)return;this._bufferService.isUserScrolling=!0}else de+ve.ydisp>=ve.ybase&&(this._bufferService.isUserScrolling=!1);var pe=ve.ydisp;ve.ydisp=Math.max(Math.min(ve.ydisp+de,ve.ybase),0),pe!==ve.ydisp&&(ge||this._onScroll.fire(ve.ydisp))},ce.prototype.scrollPages=function(de){this.scrollLines(de*(this.rows-1))},ce.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},ce.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},ce.prototype.scrollToLine=function(de){var ge=de-this._bufferService.buffer.ydisp;ge!==0&&this.scrollLines(ge)},ce.prototype.addEscHandler=function(de,ge){return this._inputHandler.addEscHandler(de,ge)},ce.prototype.addDcsHandler=function(de,ge){return this._inputHandler.addDcsHandler(de,ge)},ce.prototype.addCsiHandler=function(de,ge){return this._inputHandler.addCsiHandler(de,ge)},ce.prototype.addOscHandler=function(de,ge){return this._inputHandler.addOscHandler(de,ge)},ce.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},ce.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},ce.prototype._updateOptions=function(de){var ge;switch(de){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((ge=this._windowsMode)===null||ge===void 0||ge.dispose(),this._windowsMode=void 0)}},ce.prototype._enableWindowsMode=function(){var de=this;if(!this._windowsMode){var ge=[];ge.push(this.onLineFeed(y.updateWindowsModeWrappedState.bind(null,this._bufferService))),ge.push(this.addCsiHandler({final:"H"},function(){return y.updateWindowsModeWrappedState(de._bufferService),!1})),this._windowsMode={dispose:function(){for(var ve=0,pe=ge;ve<pe.length;ve++)pe[ve].dispose()}}}},ce}(he.Disposable);me.CoreTerminal=ee},function(dt,me,be){"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 ue=Array(re),ae=0;for(ie=0;ie<le;ie++)for(var oe=arguments[ie],ne=0,z=oe.length;ne<z;ne++,ae++)ue[ae]=oe[ne];return ue};Object.defineProperty(me,"__esModule",{value:!0}),me.InstantiationService=me.ServiceCollection=void 0;var E=be(1),he=be(14),fe=function(){function re(){for(var ie=[],le=0;le<arguments.length;le++)ie[le]=arguments[le];this._entries=new Map;for(var ue=0,ae=ie;ue<ae.length;ue++){var oe=ae[ue],ne=oe[0],z=oe[1];this.set(ne,z)}}return re.prototype.set=function(ie,le){var ue=this._entries.get(ie);return this._entries.set(ie,le),ue},re.prototype.forEach=function(ie){this._entries.forEach(function(le,ue){return ie(ue,le)})},re.prototype.has=function(ie){return this._entries.has(ie)},re.prototype.get=function(ie){return this._entries.get(ie)},re}();me.ServiceCollection=fe;var se=function(){function re(){this._services=new fe,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=[],ue=1;ue<arguments.length;ue++)le[ue-1]=arguments[ue];for(var ae=he.getServiceDependencies(ie).sort(function(b,ee){return b.index-ee.index}),oe=[],ne=0,z=ae;ne<z.length;ne++){var a=z[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}();me.InstantiationService=se},function(dt,me,be){"use strict";var xe=this&&this.__decorate||function(le,ue,ae,oe){var ne,z=arguments.length,a=z<3?ue:oe===null?oe=Object.getOwnPropertyDescriptor(ue,ae):oe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(le,ue,ae,oe);else for(var y=le.length-1;y>=0;y--)(ne=le[y])&&(a=(z<3?ne(a):z>3?ne(ue,ae,a):ne(ue,ae))||a);return z>3&&a&&Object.defineProperty(ue,ae,a),a},E=this&&this.__param||function(le,ue){return function(ae,oe){ue(ae,oe,le)}},he=this&&this.__spreadArrays||function(){for(var le=0,ue=0,ae=arguments.length;ue<ae;ue++)le+=arguments[ue].length;var oe=Array(le),ne=0;for(ue=0;ue<ae;ue++)for(var z=arguments[ue],a=0,y=z.length;a<y;a++,ne++)oe[ne]=z[a];return oe};Object.defineProperty(me,"__esModule",{value:!0}),me.LogService=me.LogLevel=void 0;var fe,se=be(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"})(fe=me.LogLevel||(me.LogLevel={}));var re={debug:fe.DEBUG,info:fe.INFO,warn:fe.WARN,error:fe.ERROR,off:fe.OFF},ie=function(){function le(ue){var ae=this;this._optionsService=ue,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(ue){for(var ae=0;ae<ue.length;ae++)typeof ue[ae]=="function"&&(ue[ae]=ue[ae]())},le.prototype._log=function(ue,ae,oe){this._evalLazyOptionalParams(oe),ue.call.apply(ue,he([console,"xterm.js: "+ae],oe))},le.prototype.debug=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.DEBUG&&this._log(console.log,ue,ae)},le.prototype.info=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.INFO&&this._log(console.info,ue,ae)},le.prototype.warn=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.WARN&&this._log(console.warn,ue,ae)},le.prototype.error=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.ERROR&&this._log(console.error,ue,ae)},le=xe([E(0,se.IOptionsService)],le)}();me.LogService=ie},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,ne):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,z){oe(ne,z,ae)}};Object.defineProperty(me,"__esModule",{value:!0}),me.BufferService=me.MINIMUM_ROWS=me.MINIMUM_COLS=void 0;var se=be(1),re=be(69),ie=be(0),le=be(2);me.MINIMUM_COLS=2,me.MINIMUM_ROWS=1;var ue=function(ae){function oe(ne){var z=ae.call(this)||this;return z._optionsService=ne,z.isUserScrolling=!1,z._onResize=new ie.EventEmitter,z.cols=Math.max(ne.options.cols,me.MINIMUM_COLS),z.rows=Math.max(ne.options.rows,me.MINIMUM_ROWS),z.buffers=new re.BufferSet(ne,z),z}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,z){this.cols=ne,this.rows=z,this.buffers.resize(ne,z),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:ne,rows:z})},oe.prototype.reset=function(){this.buffers.dispose(),this.buffers=new re.BufferSet(this._optionsService,this),this.isUserScrolling=!1},oe=he([fe(0,se.IOptionsService)],oe)}(le.Disposable);me.BufferService=ue},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(re,ie){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,ue){le.__proto__=ue}||function(le,ue){for(var ae in ue)ue.hasOwnProperty(ae)&&(le[ae]=ue[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(me,"__esModule",{value:!0}),me.BufferSet=void 0;var he=be(70),fe=be(0),se=function(re){function ie(le,ue){var ae=re.call(this)||this;return ae._onBufferActivate=ae.register(new fe.EventEmitter),ae._normal=new he.Buffer(!0,le,ue),ae._normal.fillViewportRows(),ae._alt=new he.Buffer(!1,le,ue),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,ue){this._normal.resize(le,ue),this._alt.resize(le,ue)},ie.prototype.setupTabStops=function(le){this._normal.setupTabStops(le),this._alt.setupTabStops(le)},ie}(be(2).Disposable);me.BufferSet=se},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.BufferStringIterator=me.Buffer=me.MAX_BUFFER_SIZE=void 0;var xe=be(71),E=be(16),he=be(4),fe=be(3),se=be(72),re=be(73),ie=be(20),le=be(6);me.MAX_BUFFER_SIZE=4294967295;var ue=function(){function oe(ne,z,a){this._hasScrollback=ne,this._optionsService=z,this._bufferService=a,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=E.DEFAULT_ATTR_DATA.clone(),this.savedCharset=ie.DEFAULT_CHARSET,this.markers=[],this._nullCell=he.CellData.fromCharData([0,fe.NULL_CELL_CHAR,fe.NULL_CELL_WIDTH,fe.NULL_CELL_CODE]),this._whitespaceCell=he.CellData.fromCharData([0,fe.WHITESPACE_CELL_CHAR,fe.WHITESPACE_CELL_WIDTH,fe.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new xe.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return oe.prototype.getNullCell=function(ne){return ne?(this._nullCell.fg=ne.fg,this._nullCell.bg=ne.bg,this._nullCell.extended=ne.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new 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,z){return new E.BufferLine(this._bufferService.cols,this.getNullCell(ne),z)},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 z=ne+this._optionsService.options.scrollback;return z>me.MAX_BUFFER_SIZE?me.MAX_BUFFER_SIZE:z},oe.prototype.fillViewportRows=function(ne){if(this.lines.length===0){ne===void 0&&(ne=E.DEFAULT_ATTR_DATA);for(var z=this._rows;z--;)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,z){var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=this._getCorrectBufferLength(z);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<z)for(var ee=this._rows;ee<z;ee++)this.lines.length<z+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(ee=this._rows;ee>z;ee--)this.lines.length>z+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(y<this.lines.maxLength){var te=this.lines.length-y;te>0&&(this.lines.trimStart(te),this.ybase=Math.max(this.ybase-te,0),this.ydisp=Math.max(this.ydisp-te,0),this.savedY=Math.max(this.savedY-te,0)),this.lines.maxLength=y}this.x=Math.min(this.x,ne-1),this.y=Math.min(this.y,z-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,ne-1),this.scrollTop=0}if(this.scrollBottom=z-1,this._isReflowEnabled&&(this._reflow(ne,z),this._cols>ne))for(x=0;x<this.lines.length;x++)this.lines.get(x).resize(ne,a);this._cols=ne,this._rows=z},Object.defineProperty(oe.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),oe.prototype._reflow=function(ne,z){this._cols!==ne&&(ne>this._cols?this._reflowLarger(ne,z):this._reflowSmaller(ne,z))},oe.prototype._reflowLarger=function(ne,z){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,z,y.countRemoved)}},oe.prototype._reflowLargerAdjustViewport=function(ne,z,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<z&&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,z){for(var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=[],x=0,b=this.lines.length-1;b>=0;b--){var ee=this.lines.get(b);if(!(!ee||!ee.isWrapped&&ee.getTrimmedLength()<=ne)){for(var te=[ee];ee.isWrapped&&b>0;)ee=this.lines.get(--b),te.unshift(ee);var ce=this.ybase+this.y;if(!(ce>=b&&ce<b+te.length)){var de=te[te.length-1].getTrimmedLength(),ge=se.reflowSmallerGetNewLineLengths(te,this._cols,ne),ve=ge.length-te.length,pe=void 0;pe=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+ve):Math.max(0,this.lines.length-this.lines.maxLength+ve);for(var Se=[],ye=0;ye<ve;ye++){var Pe=this.getBlankLine(E.DEFAULT_ATTR_DATA,!0);Se.push(Pe)}Se.length>0&&(y.push({start:b+te.length+x,newLines:Se}),x+=Se.length),te.push.apply(te,Se);var we=ge.length-1,Le=ge[we];Le===0&&(Le=ge[--we]);for(var Ee=te.length-ve-1,Te=de;Ee>=0;){var Ce=Math.min(Te,Le);if(te[we].copyCellsFrom(te[Ee],Te-Ce,Le-Ce,Ce,!0),(Le-=Ce)===0&&(Le=ge[--we]),(Te-=Ce)===0){Ee--;var Ae=Math.max(Ee,0);Te=se.getWrappedLineTrimmedLength(te,Ae,this._cols)}}for(ye=0;ye<te.length;ye++)ge[ye]<ne&&te[ye].setCell(ge[ye],a);for(var Ie=ve-pe;Ie-- >0;)this.ybase===0?this.y<z-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+x)-z&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+ve,this.ybase+z-1)}}}if(y.length>0){var He=[],je=[];for(ye=0;ye<this.lines.length;ye++)je.push(this.lines.get(ye));var tt=this.lines.length,Je=tt-1,Qe=0,Xe=y[Qe];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+x);var $e=0;for(ye=Math.min(this.lines.maxLength-1,tt+x-1);ye>=0;ye--)if(Xe&&Xe.start>Je+$e){for(var ke=Xe.newLines.length-1;ke>=0;ke--)this.lines.set(ye--,Xe.newLines[ke]);ye++,He.push({index:Je+1,amount:Xe.newLines.length}),$e+=Xe.newLines.length,Xe=y[++Qe]}else this.lines.set(ye,je[Je--]);var Ue=0;for(ye=He.length-1;ye>=0;ye--)He[ye].index+=Ue,this.lines.onInsertEmitter.fire(He[ye]),Ue+=He[ye].amount;var qe=Math.max(0,tt+x-this.lines.maxLength);qe>0&&this.lines.onTrimEmitter.fire(qe)}},oe.prototype.stringIndexToBufferIndex=function(ne,z,a){for(a===void 0&&(a=!1);z;){var y=this.lines.get(ne);if(!y)return[-1,-1];for(var x=a?y.getTrimmedLength():y.length,b=0;b<x;++b)if(y.get(b)[fe.CHAR_DATA_WIDTH_INDEX]&&(z-=y.get(b)[fe.CHAR_DATA_CHAR_INDEX].length||1),z<0)return[ne,b];ne++}return[ne,0]},oe.prototype.translateBufferLineToString=function(ne,z,a,y){a===void 0&&(a=0);var x=this.lines.get(ne);return x?x.translateToString(z,a,y):""},oe.prototype.getWrappedRangeForLine=function(ne){for(var z=ne,a=ne;z>0&&this.lines.get(z).isWrapped;)z--;for(;a+1<this.lines.length&&this.lines.get(a+1).isWrapped;)a++;return{first:z,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 z=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 z._removeMarker(a)})),a},oe.prototype._removeMarker=function(ne){this.markers.splice(this.markers.indexOf(ne),1)},oe.prototype.iterator=function(ne,z,a,y,x){return new ae(this,ne,z,a,y,x)},oe}();me.Buffer=ue;var ae=function(){function oe(ne,z,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=z,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 z="",a=ne.first;a<=ne.last;++a)z+=this._buffer.translateBufferLineToString(a,this._trimRight);return this._current=ne.last+1,{range:ne,content:z}},oe}();me.BufferStringIterator=ae},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.CircularList=void 0;var xe=be(0),E=function(){function he(fe){this._maxLength=fe,this.onDeleteEmitter=new xe.EventEmitter,this.onInsertEmitter=new xe.EventEmitter,this.onTrimEmitter=new xe.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(he.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"maxLength",{get:function(){return this._maxLength},set:function(fe){if(this._maxLength!==fe){for(var se=new Array(fe),re=0;re<Math.min(fe,this.length);re++)se[re]=this._array[this._getCyclicIndex(re)];this._array=se,this._maxLength=fe,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"length",{get:function(){return this._length},set:function(fe){if(fe>this._length)for(var se=this._length;se<fe;se++)this._array[se]=void 0;this._length=fe},enumerable:!1,configurable:!0}),he.prototype.get=function(fe){return this._array[this._getCyclicIndex(fe)]},he.prototype.set=function(fe,se){this._array[this._getCyclicIndex(fe)]=se},he.prototype.push=function(fe){this._array[this._getCyclicIndex(this._length)]=fe,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},he.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(he.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),he.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},he.prototype.splice=function(fe,se){for(var re=[],ie=2;ie<arguments.length;ie++)re[ie-2]=arguments[ie];if(se){for(var le=fe;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>=fe;le--)this._array[this._getCyclicIndex(le+re.length)]=this._array[this._getCyclicIndex(le)];for(le=0;le<re.length;le++)this._array[this._getCyclicIndex(fe+le)]=re[le];if(this._length+re.length>this._maxLength){var ue=this._length+re.length-this._maxLength;this._startIndex+=ue,this._length=this._maxLength,this.onTrimEmitter.fire(ue)}else this._length+=re.length},he.prototype.trimStart=function(fe){fe>this._length&&(fe=this._length),this._startIndex+=fe,this._length-=fe,this.onTrimEmitter.fire(fe)},he.prototype.shiftElements=function(fe,se,re){if(!(se<=0)){if(fe<0||fe>=this._length)throw new Error("start argument out of range");if(fe+re<0)throw new Error("Cannot shift elements in list beyond index 0");if(re>0){for(var ie=se-1;ie>=0;ie--)this.set(fe+ie+re,this.get(fe+ie));var le=fe+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(fe+ie+re,this.get(fe+ie))}},he.prototype._getCyclicIndex=function(fe){return(this._startIndex+fe)%this._maxLength},he}();me.CircularList=E},function(dt,me,be){"use strict";function xe(E,he,fe){if(he===E.length-1)return E[he].getTrimmedLength();var se=!E[he].hasContent(fe-1)&&E[he].getWidth(fe-1)===1,re=E[he+1].getWidth(0)===2;return se&&re?fe-1:fe}Object.defineProperty(me,"__esModule",{value:!0}),me.getWrappedLineTrimmedLength=me.reflowSmallerGetNewLineLengths=me.reflowLargerApplyNewLayout=me.reflowLargerCreateNewLayout=me.reflowLargerGetLinesToRemove=void 0,me.reflowLargerGetLinesToRemove=function(E,he,fe,se,re){for(var ie=[],le=0;le<E.length-1;le++){var ue=le,ae=E.get(++ue);if(ae.isWrapped){for(var oe=[E.get(le)];ue<E.length&&ae.isWrapped;)oe.push(ae),ae=E.get(++ue);if(se>=le&&se<ue)le+=oe.length-1;else{for(var ne=0,z=xe(oe,ne,he),a=1,y=0;a<oe.length;){var x=xe(oe,a,he),b=x-y,ee=fe-z,te=Math.min(b,ee);oe[ne].copyCellsFrom(oe[a],y,z,te,!1),(z+=te)===fe&&(ne++,z=0),(y+=te)===x&&(a++,y=0),z===0&&ne!==0&&oe[ne-1].getWidth(fe-1)===2&&(oe[ne].copyCellsFrom(oe[ne-1],fe-1,z++,1,!1),oe[ne-1].setCell(fe-1,re))}oe[ne].replaceCells(z,fe,re);for(var ce=0,de=oe.length-1;de>0&&(de>ne||oe[de].getTrimmedLength()===0);de--)ce++;ce>0&&(ie.push(le+oe.length-ce),ie.push(ce)),le+=oe.length-1}}}return ie},me.reflowLargerCreateNewLayout=function(E,he){for(var fe=[],se=0,re=he[se],ie=0,le=0;le<E.length;le++)if(re===le){var ue=he[++se];E.onDeleteEmitter.fire({index:le-ie,amount:ue}),le+=ue-1,ie+=ue,re=he[++se]}else fe.push(le);return{layout:fe,countRemoved:ie}},me.reflowLargerApplyNewLayout=function(E,he){for(var fe=[],se=0;se<he.length;se++)fe.push(E.get(he[se]));for(se=0;se<fe.length;se++)E.set(se,fe[se]);E.length=he.length},me.reflowSmallerGetNewLineLengths=function(E,he,fe){for(var se=[],re=E.map(function(z,a){return xe(E,a,he)}).reduce(function(z,a){return z+a}),ie=0,le=0,ue=0;ue<re;){if(re-ue<fe){se.push(re-ue);break}ie+=fe;var ae=xe(E,le,he);ie>ae&&(ie-=ae,le++);var oe=E[le].getWidth(ie-1)===2;oe&&ie--;var ne=oe?fe-1:fe;se.push(ne),ue+=ne}return se},me.getWrappedLineTrimmedLength=xe},function(dt,me,be){"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 ue in le)le.hasOwnProperty(ue)&&(ie[ue]=le[ue])})(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(me,"__esModule",{value:!0}),me.Marker=void 0;var he=be(0),fe=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 he.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}(be(2).Disposable);me.Marker=fe},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.OptionsService=me.DEFAULT_OPTIONS=me.DEFAULT_BELL_SOUND=void 0;var xe=be(0),E=be(11),he=be(33);me.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",me.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:me.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:E.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var fe=["cols","rows"],se=function(){function re(ie){this._onOptionChange=new xe.EventEmitter,this.options=he.clone(me.DEFAULT_OPTIONS);for(var le=0,ue=Object.keys(ie);le<ue.length;le++){var ae=ue[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 me.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');if(fe.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=me.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 me.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');return this.options[ie]},re}();me.OptionsService=se},function(dt,me,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ne,z){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,z)},function(ne,z){function a(){this.constructor=ne}xe(ne,z),ne.prototype=z===null?Object.create(z):(a.prototype=z.prototype,new a)}),he=this&&this.__decorate||function(ne,z,a,y){var x,b=arguments.length,ee=b<3?z:y===null?y=Object.getOwnPropertyDescriptor(z,a):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(ne,z,a,y);else for(var te=ne.length-1;te>=0;te--)(x=ne[te])&&(ee=(b<3?x(ee):b>3?x(z,a,ee):x(z,a))||ee);return b>3&&ee&&Object.defineProperty(z,a,ee),ee},fe=this&&this.__param||function(ne,z){return function(a,y){z(a,y,ne)}};Object.defineProperty(me,"__esModule",{value:!0}),me.CoreService=void 0;var se=be(1),re=be(0),ie=be(33),le=be(2),ue=Object.freeze({insertMode:!1}),ae=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),oe=function(ne){function z(a,y,x,b){var ee=ne.call(this)||this;return ee._bufferService=y,ee._logService=x,ee._optionsService=b,ee.isCursorInitialized=!1,ee.isCursorHidden=!1,ee._onData=ee.register(new re.EventEmitter),ee._onUserInput=ee.register(new re.EventEmitter),ee._onBinary=ee.register(new re.EventEmitter),ee._scrollToBottom=a,ee.register({dispose:function(){return ee._scrollToBottom=void 0}}),ee.modes=ie.clone(ue),ee.decPrivateModes=ie.clone(ae),ee}return E(z,ne),Object.defineProperty(z.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),z.prototype.reset=function(){this.modes=ie.clone(ue),this.decPrivateModes=ie.clone(ae)},z.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)}},z.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))},z=he([fe(1,se.IBufferService),fe(2,se.ILogService),fe(3,se.IOptionsService)],z)}(le.Disposable);me.CoreService=oe},function(dt,me,be){"use strict";var xe=this&&this.__decorate||function(ae,oe,ne,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,ne):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,z);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,z){oe(ne,z,ae)}};Object.defineProperty(me,"__esModule",{value:!0}),me.CoreMouseService=void 0;var he=be(1),fe=be(0),se={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(ae){return ae.button!==4&&ae.action===1&&(ae.ctrl=!1,ae.alt=!1,ae.shift=!1,!0)}},VT200:{events:19,restrict:function(ae){return ae.action!==32}},DRAG:{events:23,restrict:function(ae){return ae.action!==32||ae.button!==3}},ANY:{events:31,restrict:function(ae){return!0}}};function 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}},ue=function(){function ae(oe,ne){this._bufferService=oe,this._coreService=ne,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new fe.EventEmitter,this._lastEvent=null;for(var z=0,a=Object.keys(se);z<a.length;z++){var y=a[z];this.addProtocol(y,se[y])}for(var x=0,b=Object.keys(le);x<b.length;x++){var ee=b[x];this.addEncoding(ee,le[ee])}this.reset()}return ae.prototype.addProtocol=function(oe,ne){this._protocols[oe]=ne},ae.prototype.addEncoding=function(oe,ne){this._encodings[oe]=ne},Object.defineProperty(ae.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(oe){if(!this._protocols[oe])throw new Error('unknown protocol "'+oe+'"');this._activeProtocol=oe,this._onProtocolChange.fire(this._protocols[oe].events)},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(oe){if(!this._encodings[oe])throw new Error('unknown encoding "'+oe+'"');this._activeEncoding=oe},enumerable:!1,configurable:!0}),ae.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(ae.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),ae.prototype.triggerMouseEvent=function(oe){if(oe.col<0||oe.col>=this._bufferService.cols||oe.row<0||oe.row>=this._bufferService.rows||oe.button===4&&oe.action===32||oe.button===3&&oe.action!==32||oe.button!==4&&(oe.action===2||oe.action===3)||(oe.col++,oe.row++,oe.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,oe))||!this._protocols[this._activeProtocol].restrict(oe))return!1;var ne=this._encodings[this._activeEncoding](oe);return ne&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(ne):this._coreService.triggerDataEvent(ne,!0)),this._lastEvent=oe,!0},ae.prototype.explainEvents=function(oe){return{down:!!(1&oe),up:!!(2&oe),drag:!!(4&oe),move:!!(8&oe),wheel:!!(16&oe)}},ae.prototype._compareEvents=function(oe,ne){return oe.col===ne.col&&oe.row===ne.row&&oe.button===ne.button&&oe.action===ne.action&&oe.ctrl===ne.ctrl&&oe.alt===ne.alt&&oe.shift===ne.shift},ae=xe([E(0,he.IBufferService),E(1,he.ICoreService)],ae)}();me.CoreMouseService=ue},function(dt,me,be){"use strict";var xe=this&&this.__decorate||function(se,re,ie,le){var ue,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--)(ue=se[ne])&&(oe=(ae<3?ue(oe):ae>3?ue(re,ie,oe):ue(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(me,"__esModule",{value:!0}),me.DirtyRowService=void 0;var he=be(1),fe=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,he.IBufferService)],se)}();me.DirtyRowService=fe},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.UnicodeService=void 0;var xe=be(0),E=be(79),he=function(){function fe(){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(fe.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(fe.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(fe.prototype,"activeVersion",{get:function(){return this._active},set:function(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}),fe.prototype.register=function(se){this._providers[se.version]=se},fe.prototype.wcwidth=function(se){return this._activeProvider.wcwidth(se)},fe.prototype.getStringCellWidth=function(se){for(var re=0,ie=se.length,le=0;le<ie;++le){var ue=se.charCodeAt(le);if(55296<=ue&&ue<=56319){if(++le>=ie)return re+this.wcwidth(ue);var ae=se.charCodeAt(le);56320<=ae&&ae<=57343?ue=1024*(ue-55296)+ae-56320+65536:re+=this.wcwidth(ae)}re+=this.wcwidth(ue)}return re},fe}();me.UnicodeService=he},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.UnicodeV6=void 0;var xe,E=be(15),he=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],fe=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],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<he.length;++ie)E.fill(xe,0,he[ie][0],he[ie][1]+1)}}return re.prototype.wcwidth=function(ie){return ie<32?0:ie<127?1:ie<65536?xe[ie]:function(le,ue){var ae,oe=0,ne=ue.length-1;if(le<ue[0][0]||le>ue[ne][1])return!1;for(;ne>=oe;)if(le>ue[ae=oe+ne>>1][1])oe=ae+1;else{if(!(le<ue[ae][0]))return!0;ne=ae-1}return!1}(ie,fe)?0:ie>=131072&&ie<=196605||ie>=196608&&ie<=262141?2:1},re}();me.UnicodeV6=se},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.CharsetService=void 0;var xe=function(){function E(){this.glevel=0,this._charsets=[]}return E.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},E.prototype.setgLevel=function(he){this.glevel=he,this.charset=this._charsets[he]},E.prototype.setgCharset=function(he,fe){this._charsets[he]=fe,this.glevel===he&&(this.charset=fe)},E}();me.CharsetService=xe},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.updateWindowsModeWrappedState=void 0;var xe=be(3);me.updateWindowsModeWrappedState=function(E){var he=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),fe=he==null?void 0:he.get(E.cols-1),se=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);se&&fe&&(se.isWrapped=fe[xe.CHAR_DATA_CODE_INDEX]!==xe.NULL_CELL_CODE&&fe[xe.CHAR_DATA_CODE_INDEX]!==xe.WHITESPACE_CELL_CODE)}},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.WriteBuffer=void 0;var xe=function(){function E(he){this._action=he,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return E.prototype.writeSync=function(he){if(this._writeBuffer.length){for(var fe=this._bufferOffset;fe<this._writeBuffer.length;++fe){var se=this._writeBuffer[fe],re=this._callbacks[fe];this._action(se),re&&re()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(he)},E.prototype.write=function(he,fe){var se=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return se._innerWrite()})),this._pendingData+=he.length,this._writeBuffer.push(he),this._callbacks.push(fe)},E.prototype._innerWrite=function(){for(var he=this,fe=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()-fe>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return he._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},E}();me.WriteBuffer=xe},function(dt,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.AddonManager=void 0;var xe=function(){function E(){this._addons=[]}return E.prototype.dispose=function(){for(var he=this._addons.length-1;he>=0;he--)this._addons[he].instance.dispose()},E.prototype.loadAddon=function(he,fe){var se=this,re={instance:fe,dispose:fe.dispose,isDisposed:!1};this._addons.push(re),fe.dispose=function(){return se._wrappedAddonDispose(re)},fe.activate(he)},E.prototype._wrappedAddonDispose=function(he){if(!he.isDisposed){for(var fe=-1,se=0;se<this._addons.length;se++)if(this._addons[se]===he){fe=se;break}if(fe===-1)throw new Error("Could not dispose an addon that has not been loaded");he.isDisposed=!0,he.dispose.apply(he.instance),this._addons.splice(fe,1)}},E}();me.AddonManager=xe}])})},60141:function(Ct){"use strict";Ct.exports="data:image/gif;base64,R0lGODlh6QDIAPf/APrMTf789vrMUPvdi/zfkfi4CvvYef713fnKSfzosP7wyvrSZfjAKPzmqf3wzP767fnHPv7xzf3wzvjFOfe2BP767vi8F/i8GPvagfnGO/jDMv3uxv3svfrNUvzkov724fvWcfzinPvbhPi5DfrTZv734vi6EPzglfnKSP3tw/nJR/3qtv3nrPrRYPjAJf/++/702PvVbvrUbfrUafrQX/rOVvnLTfrWcvi+H/i7Fv7y0P3y0/3wyv3uxPzjoPzglvi/I/vejvvZfPe5D/rTaPrPWvrOVPrKSf3vyPzlpPnNU/nKRvnENfe6E/Ly8v3sv+Xl5frZf9ra2vnIQOjo6Pv7+9jY2PX19d7e3tTU1Ovr6/n5+dzc3O7u7uLi4tDQ0M7Oztvb2/j4+N3d3ezs7NHR0f7+/tXV1fHx8fDw8NLS0uHh4d/f3/jAJvb29vT09M/Pz+/v7/f39+rq6uPj49bW1vr6+uDg4NfX1+Tk5PPz89PT0+np6efn59nZ2e3t7frPWfzmqvnFN/39/fz8/P756/723/vdif3ru/745/zhmObm5vrUav3ps/zim/zdiv757Pzlpvzruvzhmfe3Bve3B/zimvvhmvnCK/jAJ//56v/9+f7z1f702vvciPvXdfnBJ/jFN/jDL/735PvZe/e7Ffzjn/e3CPznq/3twf3ruvi+IPnFNvvdjPzps/3psvrOWP702/rQXfvYevnOWfvUav3quPrWdP302//56/i9G/zejP712/778/nIQv3orfnOV/i3BvnGOv/+/frKR/////3nqv3uw/vYd/3y1frUa/713v3ruPvZevrXd/e2BvnEM//+/P7z1v///f3rufnDMPnHQPe2A/i/JPrIQvnMUP3z2PnLSv/88/e8Gv746P7uxfvUa/vgk/vglPzgk/rNVPvaffnBKf3xz/756vi6D/rSYvrVcPe4C/jENvi7E/789PrPWPnIQfzchv3tv/3svvzquf3qufi9Hfi9Hve4DPnCLvjCL/e1AM3Nzf///yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ4IDc5LjE2NDAzNiwgMjAxOS8wOC8xMy0wMTowNjo1NyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIxLjAgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDJDNDJCNzNGQjY2MTFFREE3MTFEMUFDMEEzQzRDM0MiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDJDNDJCNzRGQjY2MTFFREE3MTFEMUFDMEEzQzRDM0MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMkM0MkI3MUZCNjYxMUVEQTcxMUQxQUMwQTNDNEMzQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowMkM0MkI3MkZCNjYxMUVEQTcxMUQxQUMwQTNDNEMzQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAUXAP8ALAAAAADpAMgAAAj/AP8JHEiwoMGDCBMqXMiwocOHBbf0sZLlSxY6XSBq3Mixo8ePIEOK3LjFCxh/KFP6G3NlpMuXMGPKnKmRjxqVOP19SUOzp8+fQIMSjGMlp9EveoTG3PJGThWlUKNuvMLGqFV/WdxI/ZjGyheVeLRsHUtWICEocK5evVNWI5SreHi2nfuTzBm1eJ3QXWiHC15/c/YKfukkzF+8XAYfdIPnsD8yiiNzFOPF8V87kgWi2WPZn5zMoBdSudlZLWTJZEr7k2ImtOuhRVWrHSO5j2zAr127wXIbb5bIdHrTzi25CpSTvdWCGTyId+8vxCNruZv875a9YqRU96c3Ol0nfrf//+3e9g3p6lS8ty0p3jF5snHa+8OifqwZKmXkH36/dY7+3/VF1UVs+o1X1iIFLhegUFQVaBl/UK3hYBkLAnUWcg7ut5UdfmQIYIU0aZFFhp1BCJQb+WVoBYgzFUZiaSb6hMaL/rDF4kuU0QgjVKnRmNGNIhUzmo47CkWFjmA8BSRIAxKpWowyVaVjYkt6dIVzThbp0yAE0ihXlRoZh2GWJf4kxldEUgkmRNOReRuUI71B5pdrMoSGYW6+2VMXZP5Y50JiSJhnb3CChGCWp/2Z0H0pDqqnTFgSGZiiCRHlaHWFdtRYlpmueeWl23UKkR1j6ngdpQZVkUepoMomqkNXkP+pBqoHtdlqqC716KQftBbk4q3ivbrQW1mu0etAgQIrn7AJjUFmesea0UejyuIKEnVOxnHsP01WuyxIZMIhxrGfeqsfswV1SeOHqKpqroPoDpRHllIcK+K78HaURpZsKHVFF1RAIfDABBds8MEIH4wnvgXG+0+kL/bBoKAMV+wqR3o46edPVKRl8cdaQiTli2poFdTIIKesYZg64jGIUMSqLHNeG8n5oppAZTzzzleh+8eLXkDlLM9E44RuzAVKrFR8RTeNErrh6QfGH1F16HTT6EK8XRZvRLXv1VhvFJx8fhAi1ZFgF40u2uLRt5XWaavsc3t5kLVp3Duj64R4fJT/xRneeXM04nMbb+Ux4DLHy7ZqeHTdFuKBbyTHbVwo+TjkiXc0dGfG7oV55hxtQe1fiwz2udwezXgYGIl6fjrIDgu0uFV7oBHZ67CDpLNVWJisGO4fxz7QFlGntIdYmQFvsfAEXaHFGmPwocfLoClfMfMLWs8w9gFqjy/39Xn/LvjqiW8u+d6Z7y360alfLfvEua8s/LnJDyz9r9l/K/6u6d8q/6HxH6gAWD0BOoqAyTPgoBAoGQUucFsFcWCeGHg7CZKJgr+zIKcgSBANbpCDAvGgkzBoOhHqiIBXcIIKV8jCFrrwhTCMYUsSYsITyqQKWuACmkD1BS5owXIDqSGN/+DXhcF563gRFCKJ2Ie0d/UriErMEPqaiC86QDGKDXMJ00B2GizmayRWA9keruPFLIpEVykLWhnPNZKFpawMVVjjt0ISq535R47BEsnsUgY3PD5JJNrZmRH9SKiQmIGQ6sPeFhBpPuzVkZHaw57NIGk97ImBkpEMCSEwWUmRjC5lO+Ske0RSmZ0FUpSjDAmfdjYvVKYSJIP4W+Jc+UqQtFJl9aLlyuh4OC7+Q5cGGsnYQGYjYNJsJFuoA8jOcCpjqgV9clBmxeCQlBA60yrsk0PxvGUFbV3xmkaTCRSkqaw6QKE1HQRnTviHBihwQQrwjKc850nPetrznmOggu0Oov/OdYLQmv1MCQkFE1CVDNR1BeXOP3+ZUIX+s6EOBSFED0qXiS7Uog9tKEXnglGJavSiH81oQjd6uZGC1KQiLShJy9JRDrYUgi/dVkw/Yoc3YKZ/IQXJG+hATjVAwXcVRKlHqkAxnJSBag3MKUeiiRcoJFWokiOnWthAPYIqVSOn/IsUxmVVqEKEing5QzUrelWHXFI1X0DqXELZT8X1BlptUZc64xVG2VixLShr60bssJ3hkOVQKt2I6qqDh8+MRQtlZcgeb6MGOkFlsAFFVynbgzypbE6vGuljb5wqlb0FFqsOslFU8nrNrGUoDFKZ5Fw3MtkCMTMqYAUmuu6YoS//HPQOmIXIWV/UN6jgFpzxkmuB7qoUJ1xWl27VkdugYgc0zCFh0I2udKHgxtfFawu9JBGvIHgv3DmsqC/aw02P5S7rdkQOnyTRWMmlWbDFLrYZat2xuoU44YGXRnXjoLTS6zTmLZZEONtWsvCGva85qQ4L/ZV7RTK5LMFxobbq70jMcB4iOQ6EqmLVzNBXVx2pFYTlIhr7Wqsjzi7UUjyDHx/ItNx/MipyMIFsyxaKrPsubyZuCBeNB3In1M2kCrLUEWp3LJAIX88n1X3RpIgsphv7ZJg62ieR/xHi8QEFsUTKAhCJTN/1BcXANJIvkYVU4fsxKE1TNkiO3qeULWCL/0RbTvM/FPw/qJjhuAVaspwJ0t0BSgW+26nXng1yIT9LZcUZEvSgDdKgA45llQVS9KIN0uUPbsUJ2Q30pBeFHzet9B9ukKqmN50Q9lh6LFXAc28kTeqDgGeEdCFxb1rcaoQYOUOnmgtgk1O4Wh+kyRlS0F6w/BxfO2Q3HlJMGtjaGdEamyEolo9fBXMFUVvGsc8WTZmTI2a6bCHJf1lRtnUr69uMVzFm+K1lPjxuh9BZNgGODKBxMuR2b8QuhXQNovFiBa7aeyNnyfRfnB2aIqqlcv/+SKMdk5XoVMELmT5DH9CZ8I9EWy1IqU8V5uAFLozBC1qgeMVDYhOMY3vkaRAuiYZZgvJWS4QiFsHIoAMCACH5BAUbAP8ALAAAAADpAMgAAAj/AP8JHEiwoMGDCBMqXMiwocOHBUuIEAZkRJsbgSBq3Mixo8ePIEOK3LhMGaV+KFP2E4BupMuXMGPKnKlx1wWVOPuZaESzp8+fQIMS/DUhp9EhKYTGPLABBiSlUKNudFDEqNV+LnZI/ehKmAmV0CZtHUtWYAVSp65ebVFWI6mr0Fy1nQs0xDm1eBHRXZjIBt5+J/YKfskBwV+8NgYf1OHucL8QiiNzPMDI8d9RkgUyw2G5n7TMoBcOuNlZraPMPkr387UptGuCLISpxttBsqfZgF+7jkALN942kUH4rq1b8oNZlXzjpTC4FyDlI4pHdgRK+eEPe3HJs97vifS9HI5w/z/sfW4PfONbfW97oNZ4x+XLonrfD9D6scMGWKBPvu04/sDdFxUqgvAHX1nmGMicgEI58JyBB461AISlMAjUA808A6Fl8UGVCAQbBmghTZdksmFnHQqlQw4nhjLiTIigcGJpKQLFzIz9rPMiTAfMgCONUKWGYyQ7jjTNI/v9iKJSh/xIgSZFhhRIKEqqViNNNCgJQJQfOQBLlbNdGVMvBSrJE5cbQWLASWBa+RMu6lS5JZoaWVJdm2H61EObZ9LZkCQq4OmbmCM10GZGfjIUCxGCKkdoSBi0CVmiCkVzSJKN4vboR1+CSQ6lChlTZqaDylRNm9SAipACwJDK3aYbJf+SHJiGqGpQIQZQ4OqrLynQpje2GjRJG7uOB+tDQlYJQbAEqUJMse8d25ABbS7ArEC8kAAtfdIu1EGbA1z7gicsbhttSAy0mcC1DbBiLn/dItRmOzAwq0AN7xoYr0GyVSmiqrk4o2u+8Hr0CZjZMKuICwRDuO9AroBJg1IORNJKFBhnrPHGHHfscceBNuxwR98qKYJQEmgr8sqacpRKlYgCNY8+LNfs5kYt/GhBS0HJYvPPS2oEyY8aBCAUtUAn/dfDSOCYmFApKC21Wg97MGMtUCkx9dY5PYw0hCcrxQLXZKf0MDcQVuJBVCCWTfbD5RgIBBJRveJ22Q/HwB8EFUj/1eTdXD/8CH32bfUg4FM/nMR7n5DFBOJbP/zEeASUtQrkiXNErG9NoNJWAZhL/fA/f89WzQZzhS46R9Lgxs03dKmu9Oj/aKOatXvJnjTthpTrGAaD6Q407f+s4BgFkwom/M/E/zPAXzisENnyNjf/zzFqGaHV9NSzbP0/H6CNEw6WgNa99yM5MAkJAgSRSjehnb/y9wLKLzL999nfMP7r6U8w/9/xX74AKB0BvouAxTGguRCoGwVui4GvcSC0IOgaCRaLgvGzoKswaD4NkoqDmfHgB69VEBFmCoSSMWGjUMg9FbaJhYpxIZ5gGDwZgomGyrNhlXCYOx0qiYex8+GP/zjogCcY8YhITKISl8jEJvJMXkLEEQMLcQluDKFYJuDGJQphkChKMSYNAALB8qGIEnrxRASMAsviQZAzovElaqzZLQbixg3xb2w/M4VA6jiykbTNZquoFR/1NRJTKI0R/xhkwURimKSVQhOK5JZIeDC1E0TyXCEZnNQOd0lHiWQKU9tcJz0JkheM0oDfG8UpBfg9dKzSf98Dxyv1971OzNJ+36vALeVHv1JMbQS7BFJIKiM1UAaTQyIxlNQOdswIgQQel5tdM50JEmYCbQqJnObS0heMpOlRm9scyS2AxpZsgvMq/CsBJmyWiVqZ85xGASAn1rmyUyRlj/C0CgE5If8+ggliXXTMZzxlEgVRvEsUUWhNGwXaNZrYIgoAmIJEJ0rRilr0ohjNqAAGYA8oMlQlQEzdR0FKwoWOFCUhbctJzVbSgK40pWVZKUpbis+X0vSdI4UpWWTanZvyVKdj+alPZQrUrQiVpkdtaVJLulQSNvVaT2VWVIM1VVtVlSOJQEIiIkhUkRzjBvTshy6ioIMO2vQjhVBZTiywthR21SOcMKhaDODWs3JknoeRhdFqaNeNGPMwvugEX09KuzhaJhP0yGFfHwKD2YygrXNpwls1UjrVeIIuo8opRzKgnBjMpSqLbUgJuEMcsghhsg+RxHjcsQ2yhAC1DmnFe3TRp6j/IAK2DdEbfcq4Fa0RdiP44o8QtsKB0DLkr/QpZ1R8plmNBNdAS5BK05oLEd1C6BzYgcosqPsQS55oCKqIyoQY+rBY/Egc4iUvRzK7IXZE5QklO+fonvejGkilBJIQx8f2y9/+RiFk3RudIUD3I2GUdGEB7gijlISDrV4rYAPTHe1g8BUlXSMVJb2X8IhnWCWdpqTtkl3z1KqkxpV0XL5DnPU0WaWnlTRbmPue3cDEj5s6S8UisSWY3tE3mg7rbvjbBGmqRDea4irCkXuJNdoE2Zay6m0wcQ+YhnvTf4gqyTAhQJvsW2VLYWp4MrlHm6pRZYEsanYzSUabClBmgQAK/8wzeQBnqoSCNgvETtXziXiq9AM7/0NNbLrfT4RTJVv4+R9emh9QFFElF3Dx0FPaX1Bm/KPk+flIX56gUHz1ozkdWiA9OqBSPnCnGUHp0wOJ0QOhsgkB4CgwqCZIiS4oFWTMCJuxJgiGNDRCqQThRLjONUEc1GupRGJDwRY2QQi0QrLUo5v8SbayB5KfTA+xLMnYR7SnjZD2vLAtD4gvd6TNbYKEZ4d0Ccd7uFxuhFDnR9mdS6S4E7N2H+Q4s4LQgvZiCeuYwN4M4U2IFPMKYOJGuQBXSGwMVFrBKIAfuAFowhkyGvp8WDEfALBlBDHxh1DmPZiRzCZy1pkkdBwihWexjoszY2vHIODkG7GLb/Timl//hRWChblGzpKW0iA8NJHAhlq4kQ6dd4QqncmKdBIhAwKrpA0ieIHRP0KUwyDlPpo4ASMAIAAZKGKvUweJTdSyk7DHuiSBVglLzC5siVDEIhhBdUAAADs="},36459:function(Ct,dt,me){"use strict";me.d(dt,{Z:function(){return be}});function be(xe){if(xe==null)throw new TypeError("Cannot destructure "+xe)}}}]);