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/5852.428d8689.async.js

413 lines
1.8 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([[5852],{42922:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return re}});var be=me(87462),_e=me(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},he=E,fe=me(43387),se=function(le,ce){return _e.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=_e.forwardRef(se)},55304:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return re}});var be=me(87462),_e=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(43387),se=function(le,ce){return _e.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=_e.forwardRef(se)},71736:function(Tt,ht){"use strict";ht.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 Tt(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(Tt.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(Tt.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(Tt.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(Tt.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 Tt))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 ht=[];function me(z,a){var y=ht.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function be(){var z=ht.pop();return z===void 0?new go.Point:z}function _e(z){ht.push(z)}function E(z,a,y,x,b,ee,te,ue,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-ue)/ve,Pe=ee-ye*b;pe=z,Se=ye*pe+Pe}else if(ve===0){var we=(a-x)/ge,xe=a-we*z;pe=b,Se=we*pe+xe}else{var we=(a-x)/ge,ye=(ee-ue)/ve,xe=a-we*z,Pe=ee-ye*b;pe=(Pe-xe)/(we-ye),Se=we*pe+xe}return de.x=pe,de.y=Se,de}function he(z,a,y,x,b,ee,te,ue,de,ge,ve,pe,Se,ye){var Pe=1-de,we=de,xe=z*Pe+y*we,Ee=a*Pe+x*we,Te=y*Pe+b*we,Ce=x*Pe+ee*we,Oe=b*Pe+te*we,Me=ee*Pe+ue*we,Ue=xe*Pe+Te*we,je=Ee*Pe+Ce*we,nt=Te*Pe+Oe*we,Ye=Ce*Pe+Me*we,Qe=Ue*Pe+nt*we,Xe=je*Pe+Ye*we;ge.x=xe,ge.y=Ee,ve.x=Ue,ve.y=je,pe.x=Qe,pe.y=Xe,Se.x=nt,Se.y=Ye,ye.x=Oe,ye.y=Me}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 Tt("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 Tt("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 Tt("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 Tt("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 Tt("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 Tt("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 ce(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 ce(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 ue=a[te],de=a[te+1],ge=a[(x+te-1)%b],ve=a[(x+te+ee)%b];y[te*2]=ue,y[te*2+1]=E(ue.x,ue.y,ge.x,ge.y,de.x,de.y,ve.x,ve.y,new go.Point)}return y[y.length]=y[0],ce(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()),ce(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()),ce(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()),ce(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()),ce(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()),ce(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()),ce(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()),ce(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()),ce(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()),ce(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()),ce(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()),ce(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()),ce(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()),ce(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(),ce(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(),ce(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(),ce(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(),ce(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(),ce(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(),ce(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new Tt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Tt("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 Tt("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 ue=Math.max(b-x,0);return ue>0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ue,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ue,ue).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 Tt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Tt("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,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,ee,te,ue,ue,ue,ue).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 Tt("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 Tt("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 Tt("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,ue=Math.atan2(y,a),de=x-Math.min(Math.cos(ue)*x/2,ee),ge=x-Math.min(Math.sin(ue)*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 Tt("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 Tt("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 Tt("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,ue=0,de=ee*re;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+ue)*y,(.5-ee+te)*a,(.5+de+ue)*y,(.5-de+te)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+ue)*y,(.5+de+te)*a,(.5+ee+ue)*y,(.5+ee+te)*a,(.5+de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ue)*y,(1-.5+ee+te)*a,(.5-de+ue)*y,(.5+de+te)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-de+te)*a,(.5-ee+ue)*y,(.5-ee+te+.05)*a,(.5-de+ue-.02)*y)),ee=.2,te=0,ue=-.3,de=ee*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+ue)*y,(.5+de+te)*a,(.5+ee+ue)*y,(.5+ee+te)*a,(.5+de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ue)*y,(1-.5+ee+te)*a,(.5-de+ue)*y,(.5+de+te)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+ue)*y,(.5-de+te)*a,(.5-ee+ue)*y,(.5-ee+te)*a,(.5-de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+te)*a,(.5+ee+ue)*y,(.5-ee+te)*a,(.5+de+ue)*y,(.5-de+te)*a,(.5+ee+ue)*y)),ee=.2,te=-.3,ue=0,de=ee*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+ue)*y,(1-.5+ee+te-.05)*a,(.5-de+ue-.02)*y,(.5+de+te)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+ue)*y,(.5-de+te)*a,(.5-ee+ue)*y,(.5-ee+te)*a,(.5-de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+ue)*y,(.5-ee+te)*a,(.5+de+ue)*y,(.5-de+te)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+de+te)*a,(.5+ee+ue)*y,(.5+ee+te)*a,(.5+de+ue)*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,ue=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+ee)*a,ue*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ue,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)),ue=.75,b=new go.PathFigure((te+ee)*a,ue*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ue,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,ue=.5,de=new go.PathFigure(te*a,(ue-ee)*y);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),ee=.4,b=re*.4;var ge=be(),ve=be(),pe=be(),Se=be();he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.42,ge,ve,pe,Se,Se);var ye=be(),Pe=be(),we=be();he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.58,Se,Se,we,ye,Pe);var xe=be(),Ee=be(),Te=be();he(te,ue+ee,te-b,ue+ee,te-ee,ue+b,te-ee,ue,.42,xe,Ee,Te,Se,Se);var Ce=be(),Oe=be(),Me=be();return he(te,ue+ee,te-b,ue+ee,te-ee,ue+b,te-ee,ue,.58,Se,Se,Me,Ce,Oe),de.add(new go.PathSegment(go.PathSegment.Move,Me.x*a,Me.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,Ce.x*a,Ce.y*y,Oe.x*a,Oe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y,(te-b)*a,(ue-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,Me.x*a,Me.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,ue*y,ye.x*a,ye.y*y,Pe.x*a,Pe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y,(te+b)*a,(ue+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*a,Te.y*y,xe.x*a,xe.y*y,Ee.x*a,Ee.y*y).close()),_e(ge),_e(ve),_e(pe),_e(Se),_e(ye),_e(Pe),_e(we),_e(xe),_e(Ee),_e(Te),_e(Ce),_e(Oe),_e(Me),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 Tt("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,ue=.5,de=be(),ge=be(),ve=be(),pe=be(),Se=new go.PathFigure((te-ee)*a,ue*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y,(te-b)*a,(ue-ee)*y)),he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.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,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.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,ue*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y,(te+b)*a,(ue+ee)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y)),ee=.35,b=re*.35;var we=new go.PathFigure(te*a,(ue-ee)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y));var xe=new go.PathFigure((te-ee)*a,ue*y,!1);return x.add(xe),_e(de),_e(ge),_e(ve),_e(pe),_e(ye),_e(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(z,a,y){var x=new go.Geometry,b=.375,ee=0,te=-.125,ue=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+ue+ee)*a,(.5+b+te)*y,(.5+b+ee)*a,(.5+ue+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*y,(1-.5+b+ee)*a,(.5-ue+te)*y,(.5+ue+ee)*a,(.5-b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ue+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ue+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+te)*y,(.5-b+ee)*a,(.5+ue+te)*y,(.5-ue+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,ue=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+ue+te)*y,(.5+ue+ee)*a,(.5+b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ue+ee)*a,(.5+b+te)*y,(.5-b+ee)*a,(.5+ue+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ue+te)*y,(.5-ue+ee)*a,(.5-b+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*y,(.5+ue+ee)*a,(.5-b+te)*y,(1-.5+b+ee)*a,(.5-ue+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 Tt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Tt("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,ue=(.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,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),de.spot1=new go.Spot(0,te/y);var ve=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return de.spot2=new go.Spot(ve.x,ve.y),_e(ve),de}),go.Shape.setFigureParameter("Arrow2",0,new Tt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Tt("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,ue=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,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),de.spot1=new go.Spot(0,te/y);var ve=E(0,ue/y,1,ue/y,ee/a,1,1,.5,be());return de.spot2=new go.Spot(ve.x,ve.y),_e(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 Tt("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,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var 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),_e(de),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Tt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Tt("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,ue=(y-b)/2,de=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,te=ee+x,ue=0,de=y):(ee=0,te=y,ue=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,ue)),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,ue).close());var pe=E(0,.5,.3,ue/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),_e(pe),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new Tt("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,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),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),_e(de),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Tt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Tt("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,ue=(y-b)/2,de=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,te=ee+x,ue=0,de=y):(ee=0,te=y,ue=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,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),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,ue).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),_e(pe),ge}),go.Shape.setFigureParameter("Pointer",0,new Tt("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),_e(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Tt("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),_e(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Tt("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,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),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),_e(de),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Tt("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,ue=new go.PathFigure(a,.5*y,!0);te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),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),_e(de),te}),go.Shape.setFigureParameter("SquareArrow",0,new Tt("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 ue=new go.PathFigure(a,x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-re*x,(.5+ee)*a,2*x)),ue.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 ue=new go.PathFigure(0,y-x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-re*x,(.5-ee)*a,y-2*x)),ue.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 ue=new go.PathFigure(x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+re*x,0,2*x,(.5-ee)*y)),ue.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 ue=new go.PathFigure(a-x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-re*x,0,a-2*x,(.5-ee)*y)),ue.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,ue=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+ue)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ee)*y,(de-b)*a,(ge-ue)*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-ue)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ee)*y,(de+b)*a,(ge+ue)*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 Tt("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 ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ue.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 ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.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 ue=new go.PathFigure(0,b*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ue.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,ue=.5,de=new go.PathFigure(a,ue*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+te)*y,(ue+te)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-te)*a,y,0,(ue+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-te)*y,(ue-te)*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+te)*a,0,a,(ue-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 ue=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(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 ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(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 ue=new go.PathFigure(a,ee*y,!1);x.add(ue),ue.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,ue=.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,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y,(te+b)*a,(ue+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y,(te-b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,(te+b)*a,(ue-ee)*y,(te+ee)*a,(ue-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,ue=.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+ue)*a,ge*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ue)*y,(de+ue)*a,(ge+te)*y,(de+te)*a,(ge+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a,ge*y,(de-te)*a,(ge+ue)*y,(de-ue)*a,(ge+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ue)*y,(de-ue)*a,(ge-te)*y,(de-te)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a,ge*y,(de+te)*a,(ge-ue)*y,(de+ue)*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,ue=.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,(ue+ee)*y,(te+ee)*a,(ue+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,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=re*.1,te=.9,ue=.5;var ge=new go.PathFigure((te-b)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+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,ue=.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,(ue-b)*y,.8*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+ee)*y,(te+ee+ee)*a,(ue+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,ue=.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,(ue+ee)*y,(te+ee)*a,(ue+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,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=re*.1,te=.9,ue=.5;var ve=new go.PathFigure((te-b)*a,ue*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+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,ue=.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,(ue-b)*y,.9*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+ee)*y,(te+ee)*a,(ue+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,ue=.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,ue=.5,de=new go.PathFigure((te-ee)*a,ue*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y,(te-b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,(te+b)*a,(ue-ee)*y,(te+ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y,(te+b)*a,(ue+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Move,(te-ee+.1)*a,ue*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-.1)*a,ue*y,te*a,(ue-ee)*y,te*a,(ue+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,ue=.8,de=0,ge=.5,ve=(b-a)/2,pe=(ee-y)/2,Se=new go.PathFigure(de*a+ve,(ge+ue)*y+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+ve,ge*y+pe,(de-te)*a+ve,(ge+ue)*y+pe,(de-ue)*a+ve,(ge+te)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+pe,(de-ue)*a+ve,(ge-te)*y+pe,(de-te)*a+ve,(ge-ue)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue+te*.5)*a+ve,ge*y+pe,de*a+ve,(ge-ue)*y+pe,(de-ue+te*.5)*a+ve,(ge-te)*y+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+pe,(de-ue+te*.5)*a+ve,(ge+te)*y+pe,de*a+ve,(ge+ue)*y+pe).close()),te=re*.4,ue=.4,de=.2,ge=.5;var ye=new go.PathFigure(de*a+ve,(ge+ue)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+ve,ge*y+pe,(de-te)*a+ve,(ge+ue)*y+pe,(de-ue)*a+ve,(ge+te)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+pe,(de-ue)*a+ve,(ge-te)*y+pe,(de-te)*a+ve,(ge-ue)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue+te*.5)*a+ve,ge*y+pe,de*a+ve,(ge-ue)*y+pe,(de-ue+te*.5)*a+ve,(ge-te)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+pe,(de-ue+te*.5)*a+ve,(ge+te)*y+pe,de*a+ve,(ge+ue)*y+pe).close()),te=re*.2,ue=.2,de=.5,ge=.5;var Pe=new go.PathFigure((de-ue)*a+ve,ge*y+pe,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+pe,(de-ue)*a+ve,(ge-te)*y+pe,(de-te)*a+ve,(ge-ue)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+ve,ge*y+pe,(de+te)*a+ve,(ge-ue)*y+pe,(de+ue)*a+ve,(ge-te)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+pe,(de+ue)*a+ve,(ge+te)*y+pe,(de+te)*a+ve,(ge+ue)*y+pe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+ve,ge*y+pe,(de-te)*a+ve,(ge+ue)*y+pe,(de-ue)*a+ve,(ge+te)*y+pe)),te=re*.4,ue=.4,de=.8,ge=.5;var we=new go.PathFigure(de*a+ve,(ge-ue)*y+pe,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+ve,ge*y+pe,(de+te)*a+ve,(ge-ue)*y+pe,(de+ue)*a+ve,(ge-te)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+pe,(de+ue)*a+ve,(ge+te)*y+pe,(de+te)*a+ve,(ge+ue)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue-te*.5)*a+ve,ge*y+pe,de*a+ve,(ge+ue)*y+pe,(de+ue-te*.5)*a+ve,(ge+te)*y+pe)),we.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+pe,(de+ue-te*.5)*a+ve,(ge-te)*y+pe,de*a+ve,(ge-ue)*y+pe).close()),te=re*.8,ue=.8,de=1,ge=.5;var xe=new go.PathFigure(de*a+ve,(ge-ue)*y+pe,!0);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+ve,ge*y+pe,(de+te)*a+ve,(ge-ue)*y+pe,(de+ue)*a+ve,(ge-te)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+pe,(de+ue)*a+ve,(ge+te)*y+pe,(de+te)*a+ve,(ge+ue)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue-te*.5)*a+ve,ge*y+pe,de*a+ve,(ge+ue)*y+pe,(de+ue-te*.5)*a+ve,(ge+te)*y+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+pe,(de+ue-te*.5)*a+ve,(ge-te)*y+pe,de*a+ve,(ge-ue)*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 ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(z,a,y){var x=new go.Geometry,b=re*.4,ee=.4,te=.5,ue=.5,de=be(),ge=be(),ve=be(),pe=be();he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.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,ue*y,ve.x*a,ve.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y,(te+b)*a,(ue+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ue*y,(te-b)*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y)),he(te-ee,ue,te-ee,ue-b,te-b,ue-ee,te,ue-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,ue,te-ee,ue-b,te-b,ue-ee,te,ue-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,ue*y,pe.x*a,pe.y*y,ve.x*a,ve.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+ee)*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ue*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.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()),_e(de),_e(ge),_e(ve),_e(pe),_e(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,ue,de){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+de)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+de)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+de)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*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,ue=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-ue+ee)*y,(.5+ue+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-ue+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-ue+te)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ue+te)*y,(.5-ue+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,ue=.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,(ue-Se)*a,de*y,(ue-(Pe+Se)/2)*a,(de+(ye+we)/2)*y,(ue-Se)*a,(de+we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(de-ye)*y,(ue-Se)*a,(de-we)*y,(ue-Pe)*a,(de-ye)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+Se)*a,de*y,(ue+Pe)*a,(de-ye)*y,(ue+Se)*a,(de-we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+Se)*a,(de+we)*y,(ue+(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 xe=new go.PathFigure(.2*a,y,!1);x.add(xe),xe.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 ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(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,ue=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-ue)*y,(de-ue)*a,(ge-te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+te)*a,ge*y,(de+ue)*a,(ge-te)*y,(de+te)*a,(ge-ue)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+te)*y,(de+te)*a,(ge+ue)*y,(de+ue)*a,(ge+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-te)*a,ge*y,(de-ue)*a,(ge+te)*y,(de-te)*a,(ge+ue)*y).close()),te=.1,ue=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-ue)*y,(de-ue)*a,(ge-te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+te)*a,ge*y,(de+ue)*a,(ge-te)*y,(de+te)*a,(ge-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+te)*y,(de+te)*a,(ge+ue)*y,(de+ue)*a,(ge+te)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-te)*a,ge*y,(de-ue)*a,(ge+te)*y,(de-te)*a,(ge+ue)*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 ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.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,ue=new go.PathFigure((Se-ve)*a,ye*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-ve)*y,(Se-ve)*a,(ye-pe)*y,(Se-pe)*a,(ye-ve)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+pe)*a,(ye-ve)*y,(Se+ve)*a,(ye-pe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+pe)*y,(Se+pe)*a,(ye+ve)*y)),ue.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 ue=.05,de=re*.05,ge=.35,ve=.775,pe=new go.PathFigure((ge-ue)*a,ve*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ve-ue)*y,(ge-ue)*a,(ve-de)*y,(ge-de)*a,(ve-ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a,ve*y,(ge+de)*a,(ve-ue)*y,(ge+ue)*a,(ve-de)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ve+ue)*y,(ge+ue)*a,(ve+de)*y,(ge+de)*a,(ve+ue)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a,ve*y,(ge-de)*a,(ve+ue)*y,(ge-ue)*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,ue=.7,de=new go.PathFigure((te-b)*a,ue*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+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,ue=.5,de=new go.PathFigure((te-b)*a,ue*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+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,ue=.5,de=new go.PathFigure((te-b)*a,ue*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+ee)*y).close()),b=.05,ee=re*.05,te=.5,ue=.8;var ge=new go.PathFigure((te-b)*a,ue*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue-b)*y,(te-b)*a,(ue-ee)*y,(te-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ue*y,(te+ee)*a,(ue-b)*y,(te+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ue+b)*y,(te+b)*a,(ue+ee)*y,(te+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ue*y,(te-ee)*a,(ue+b)*y,(te-b)*a,(ue+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 ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var 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 ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var 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 ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var 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 ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var 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 ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var 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,ue=new go.PathFigure(x,0,!0);return te.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(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 Tt={},ht="5.0",me={},be=null,_e=!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":ht=le.toFixed(1);break;case"string":le.match(new RegExp("^[0-9]\\.[0-9]+$"))?ht=le:he=le;break;case"object":typeof le.is3D!="undefined"?be=le:me=le;break;case"boolean":_e=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&&(_e=!0)),he!==null&&me.id===void 0&&(me.id=he);var ce="",ae="",oe=!1,ne=null,z=null,a=null,y=!1,x=null,b=null,ee=null,te=null,ue=null;me.height!==void 0&&(me.height=Math.round(me.height)),me.width!==void 0&&(me.width=Math.round(me.width));var de=function(ze){return parseFloat(ze)>4?parseFloat(ze):5};Tt.setHTML5Codebase=function(ze,ke){re=ze,Ye(ze,ke)},Tt.setJavaCodebase=Tt.setJavaCodebaseVersion=Tt.isCompiledInstalled=Tt.setPreCompiledScriptPath=Tt.setPreCompiledResourcePath=function(){},Tt.setHTML5CodebaseVersion=function(ze,ke){var Be=parseFloat(ze);if(Be!==NaN&&Be<5){console.log("The GeoGebra HTML5 codebase version "+Be+" is deprecated. Using version latest instead.");return}se=ze,nt(ze,ke)},Tt.getHTML5CodebaseVersion=function(){return z},Tt.getParameters=function(){return me},Tt.setFontsCSSURL=function(ze){te=ze},Tt.setGiacJSURL=function(ze){},Tt.setJNLPFile=function(ze){ce=ze},Tt.setJNLPBaseDir=function(ze){},Tt.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Be=me.id,qe,Je=!1,gt=0;gt<arguments.length;gt++){var We=arguments[gt];typeof We=="string"?(We=We.toLowerCase(),We.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=We:Be=arguments[gt]):typeof We=="boolean"?Je=We:We instanceof HTMLElement&&(qe=We)}$e();function $e(){if(!fe){setTimeout($e,200);return}ke=Ue(ke);var Re=qe||document.getElementById(Be);if(!Re){console.log("possibly bug on ajax loading? ");return}if(Tt.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 tt=!1;me.hasOwnProperty("playButton")&&me.playButton||me.hasOwnProperty("clickToLoad")&&me.clickToLoad?tt=!0:me.hasOwnProperty("playButtonAutoDecide")&&me.playButtonAutoDecide&&(tt=(!ge()||ze())&&ve()),tt?(ne="screenshot",Ce(Re,me,Je,ke)):xe(Re,me,Je)}}};function ge(){try{return window.self!==window.top}catch(ze){return!0}}function ve(){return me.hasOwnProperty("screenshotGenerator")&&me.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Tt.getViews=function(){return be},Tt.isJavaInstalled=function(){return!1};var pe=function(ze){var ke=function(gt){var We=JSON.parse(gt),$e=function(Ie){return Ie.type=="G"||Ie.type=="E"},Re=We.elements?We.elements.filter($e)[0]:We;if(!Re||!Re.url){Be();return}me.fileName=Re.url,Se(Re.settings||{}),be.is3D=!0;var tt="https://www.geogebra.org/images/";Tt.setPreviewImage(x||Re.previewUrl,tt+"GeoGebra_loading.png",tt+"applet_play.png"),ze()},Be=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",Je="/materials/"+me.material_id+"?scope=basic";ye("https://"+qe+"/api/proxy.php?path="+encodeURIComponent(Je),ke,Be)};function Se(ze){var ke=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Be){ze[Be]=!!ze[Be]}),ke.forEach(function(Be){me[Be]===void 0&&ze[Be]!==void 0&&(me[Be]=ze[Be])}),me.showToolBarHelp===void 0&&(me.showToolBarHelp=me.showToolBar)}function ye(ze,ke,Be){var qe=new XMLHttpRequest;qe.open("GET",ze),qe.onload=function(){ke(qe.responseText)},qe.onerror=Be,qe.send()}Tt.isHTML5Installed=function(){return!0},Tt.getLoadedAppletType=function(){return ne},Tt.setPreviewImage=function(ze,ke,Be){x=ze,b=ke,ee=Be},Tt.removeExistingApplet=function(ze,ke){var Be;typeof ze=="string"&&(ze=document.getElementById(ze)),ne=null;var qe=null;for(Be=0;Be<ze.childNodes.length;Be++){var Je=ze.childNodes[Be],gt=Je.className;gt==="applet_screenshot"?ke?(Je.style.display="block",ne="screenshot"):Je.style.display="none":gt!=="applet_scaler prerender"&&(ze.removeChild(Je),qe=gt&&gt.indexOf("appletParameters")!=-1?Je.id:null,Be--)}var We=me.id!==void 0?me.id:qe,$e=window[We];$e&&typeof $e.getBase64=="function"&&($e.remove(),window[We]=null)},Tt.refreshHitPoints=function(){if(de(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var ze=Tt.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},Tt.startAnimation=function(){var ze=Tt.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},Tt.stopAnimation=function(){var ze=Tt.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},Tt.getAppletObject=function(){var ze=me.id!==void 0?me.id:"ggbApplet";return window[ze]},Tt.resize=function(){};var Pe=function(ze,ke,Be){var qe=document.createElement("param");qe.setAttribute("name",ke),qe.setAttribute("value",Be),ze.appendChild(qe)},we=function(ze){return ze&&ze!=="false"},xe=function(ze,ke,Be){de(z)<=4.2&&(Be=!0);var qe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(qe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Je=document.createElement("div");Je.classList.add("appletParameters","notranslate");var gt=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,gt=605);else{var $e=100;(we(ke.showToolBar)||we(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),$e=we(ke.showMenuBar)?245:155),gt<$e&&(ke.width=$e,gt=$e)}Je.style.border="none",Je.style.display="inline-block";for(var Re in ke)ke.hasOwnProperty(Re)&&Re!=="appletOnLoad"&&Je.setAttribute("data-param-"+Re,ke[Re]);te&&Je.setAttribute("data-param-fontscssurl",te),Tt.resize=function(){GGBAppletUtils.responsiveResize(ze,ke)},window.addEventListener("resize",function(Pt){Tt.resize()});var tt=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!Be&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||Je.setAttribute("data-param-showSplash","false");var Ie=ze.querySelector(".applet_scaler.prerender"),He=Ie!==null;if(He)var Ve=Ie.querySelector(".ggb_preview");else{var Ve=Me(gt,We,ke.borderColor,!1);Ie=document.createElement("div"),Ie.className="applet_scaler",Ie.style.position="relative",Ie.style.display="block",Ie.style.width=gt+"px",Ie.style.height=We+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Ie,"66%"),de(z)>=5?(ke.appletOnLoad=function(Pt){var At=ze.querySelector(".ggb_preview");At&&At.parentNode.removeChild(At),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ie),window.GGBT_wsf_view&&$(window).trigger("resize"),tt(Pt)},He||Ie.appendChild(Ve)):Je.appendChild(Ve),Ie.appendChild(Je),He||ze.appendChild(Ie),setTimeout(function(){Tt.resize()},1)}else{var Ze=document.createElement("div");Ze.className="applet_scaler",Ze.style.position="relative",Ze.style.display="block",Ze.appendChild(Je),ze.appendChild(Ze),ke.appletOnLoad=function(Pt){Tt.resize(),tt(Pt)}}function Ke(Pt,At){At&&typeof At.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Pt,At.appletOnLoad):renderGGBElement(Pt),Qe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",At)}function Ae(Pt,At){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Pt,params:At}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(bn){Ke(bn.article,bn.params)}),html5AppletsToProcess=null)},de(z)<5&&(Pt.className+=" geogebraweb")):Ke(Pt,At)}if(qe){scriptLoadStarted=!0;for(var Le=0;Le<Je.childNodes.length;Le++){var Ne=Je.childNodes[Le].tagName;Ne==="TABLE"&&(Je.removeChild(Je.childNodes[Le]),Le--)}if(ggbHTML5LoadedScript!==null){var Ge=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ge!=null&&Ge.parentNode.removeChild(Ge)}var rt=document.createElement("script"),St=function(){Ae(Je,ke)};rt.src=ae+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=z,ggbHTML5LoadedScript=rt.src,Qe("GeoGebra HTML5 codebase loaded: '"+ae+"'.",ke),!re&&(!se||se=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),St()):ae.requirejs?__webpack_require__.e(12).then(function(){var Pt=[__webpack_require__(12)];St.apply(null,Pt)}.bind(this)).catch(__webpack_require__.oe):(rt.onload=St,ze.appendChild(rt))}else Ae(Je,ke);ke.height=We,ke.width=gt},Ee=function(ze,ke,Be){var qe=Me(ke.width,ke.height,ke.borderColor,Be),Je=document.createElement("div");Je.style.position="relative",Je.style.display="block",Je.style.width=ke.width+"px",Je.style.height=ke.height+"px",Je.className="applet_screenshot applet_scaler"+(Be?" applet_screenshot_play":""),Je.appendChild(qe);var gt=GGBAppletUtils.getScale(ke,ze,Be);Be?(ze.appendChild(Oe()),window.GGBT_wsf_view||(ze.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Je,"66%"),ze.appendChild(Je),gt!==1&&!isNaN(gt)&&(GGBAppletUtils.scaleElement(Je,gt),Je.style.width=ke.width+"px",Je.style.height=ke.height+"px",Je.parentNode.style.width=ke.width*gt+"px",Je.parentNode.style.height=ke.height*gt+"px"),Tt.resize=function(){Te(ze,qe,Je,Be)},window.addEventListener("resize",function(We){Tt.resize()}),Tt.resize()};function Te(ze,ke,Be,qe){if(ze.contains(ke)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ze.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(ze)}var Je=GGBAppletUtils.getScale(me,ze,qe);Be.parentNode!==null&&(!isNaN(Je)&&Je!==1?(GGBAppletUtils.scaleElement(Be,Je),Be.parentNode.style.width=me.width*Je+"px",Be.parentNode.style.height=me.height*Je+"px"):(GGBAppletUtils.scaleElement(Be,1),Be.parentNode.style.width=me.width+"px",Be.parentNode.style.height=me.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(ze),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Tt.onExitFullscreen=function(ze,ke){ke.appendChild(ze)};var Ce=function(ze,ke,Be,qe){Ee(ze,ke,!0);for(var Je=function(){var $e=[];for(We=0;We<ze.childNodes.length;We++)$e.push(ze.childNodes[We]);if(window.GGBT_wsf_view){var Re=window.GGBT_wsf_view.renderFullScreen(ze,ke.id),tt=document.getElementById("fullscreencontainer"),Ie=jQuery(ze).find(".fullscreencontent");Ie.length>0?(Re.remove(),Ie.attr("id","fullscreencontent").show(),jQuery(tt).append(Ie),window.dispatchEvent(new Event("resize"))):xe(Re,ke,!1),window.GGBT_wsf_view.launchFullScreen(tt)}else ne=qe,xe(ze,ke,!1);if(!window.GGBT_wsf_view)for(We=0;We<$e.length;We++)ze.removeChild($e[We])},gt=ze.getElementsByClassName("ggb_preview_play"),We=0;We<gt.length;We++)gt[We].addEventListener("click",Je,!1),gt[We].addEventListener("ontouchstart",Je,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(ze),ve()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Oe=function(){var ze=document.createElement("div");if(ze.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");}',Be=document.createElement("style");Be.styleSheet?Be.styleSheet.cssText=ke:Be.appendChild(document.createTextNode(ke)),document.getElementsByTagName("head")[0].appendChild(Be)}return ze},Me=function(ze,ke,Be,qe){var Je=document.createElement("div");Je.className="ggb_preview",Je.style.position="absolute",Je.style.zIndex="90",Je.style.width=ze-2+"px",Je.style.height=ke-2+"px",Je.style.top="0px",Je.style.left="0px",Je.style.overflow="hidden",Je.style.backgroundColor="white";var gt="lightgrey";Be!==void 0&&(Be==="none"?gt="transparent":gt=Be),Je.style.border="1px solid "+gt;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 $e,Re,tt;if(!qe){$e=document.createElement("img"),$e.style.position="absolute",$e.style.zIndex="1001",$e.style.opacity=1,We.style.opacity=.3,Re=360,Re>ze/4*3&&(Re=ze/4*3),tt=Re/5.8,$e.setAttribute("src",b),$e.setAttribute("width",Re),$e.setAttribute("height",tt);var Ie=(ze-Re)/2,He=(ke-tt)/2;$e.style.left=Ie+"px",$e.style.top=He+"px",Je.appendChild($e)}}return Je.appendChild(We),Je},Ue=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},je=["web","webSimple","web3d","tablet","tablet3d","phone"],nt=function(ze,ke){if(z=ze,ke){Ye(z,!0);return}var Be=!_e;if(Be){var qe=de(z);!isNaN(qe)&&qe<4.4&&(Be=!1)}var Je,gt;window.location.protocol.substr(0,4)==="http"?Je=window.location.protocol:Je="http:";var We=z.indexOf("//");We>0?gt=z:We===0?gt=Je+z:gt="https://www.geogebra.org/apps/5.2.814.0/";for(var $e in je)if(z.slice(je[$e].length*-1)===je[$e]||z.slice((je[$e].length+1)*-1)===je[$e]+"/"){Ye(gt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Be&&!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")?gt+="webSimple/":gt+="web3d/",Ye(gt,!1)},Ye=function(ze,ke){if(ze.requirejs){ae=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),ae=ze,ke===null&&(ke=ze.indexOf("http")===-1),oe=ke,a="web.nocache.js",y=!1;var Be=ae.split("/");Be.length>1&&(!ke&&Be[Be.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):je.indexOf(Be[Be.length-2])>=0&&(a=Be[Be.length-2]+".nocache.js")),Be=ze.split("/"),z=Be[Be.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&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+qe+" is deprecated. Using version latest instead."),nt("5.0",ke))},Qe=function(ze,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(ze)};me.material_id!==void 0?pe(Xe):Xe();function Xe(){var ze=ht;se!==null?ze=se:parseFloat(ze)<5&&(ze="5.0"),nt(ze,!1),re!==null&&Ye(re,oe),fe=!0}return Tt},GGBAppletUtils=function(){"use strict";function Tt(){return window.GGBT_wsf_edit!==void 0}function ht(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,ce){var ae=null;if(ce!=null&&ce!="")for(var oe=fe.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+ce+" ")>-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 ue=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 ce=ie!==void 0&&ie,ae=fe.noScaleMargin!=null&&fe.noScaleMargin,oe=function(ue){return ue&&ue!=="false"},ne=oe(fe.autoHeight),z=me(se,fe.width,re,ne,ce&&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=ce?1:z.height/x;return re!==void 0&&!re&&(ee=Math.min(1,ee),te=Math.min(1,te)),Math.min(ee,te)}function _e(fe,se,re){var ie=1,le,ce=!1;if(fe.hasOwnProperty("allowUpscale")&&(ce=fe.allowUpscale),fe.hasOwnProperty("scale")&&(ie=parseFloat(fe.scale),(isNaN(ie)||ie===null||ie===0)&&(ie=1),ie>1&&(ce=!0)),se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(fe.hasOwnProperty("disableAutoScale")&&fe.disableAutoScale))le=be(fe,se,ce,re,fe.scaleContainerClass);else return ie;return ce&&(!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,ce=(re-ie.height)/2;ce<0&&(ce=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=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?fe.style.top="40px":fe.style.top=ce+"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=_e(se,fe);Tt()&&re.setAttribute("data-param-scale",ie);for(var le=null,ce=0;ce<fe.childNodes.length;ce++)if(fe.childNodes[ce].className!==void 0&&fe.childNodes[ce].className.match(/^applet_scaler/)){le=fe.childNodes[ce];break}if(le!==null&&le.querySelector(".noscale")!==null)return;var ae=se.id!==void 0?se.id:"ggbApplet",oe=window[ae];(oe==null||!oe.recalculateEnvironments)&&le!==null&&!le.className.match(/fullscreen/)&&(le.parentNode.style.transform="",!isNaN(ie)&&ie!==1?(le.parentNode.style.width=se.width*ie+"px",le.parentNode.style.height=se.height*ie+"px",ht(le,ie)):(ht(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:Tt,positionCenter:E,getScale:_e,scaleElement:ht}}();__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 Tt=n.location.search;return Tt.indexOf(J)!=-1||Tt.indexOf(K)!=-1}function q(Tt,ht){}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(Tt){var ht=s[L].bindings;s[L].bindings=function(){for(var me=ht?ht():{},be=Tt[webModule.__softPermutationId],_e=O;_e<be.length;_e++){var E=be[_e];me[E[O]]=E[P]}return me}};var t;function u(){return v(),t}function v(){if(!t){var Tt=o.createElement(Q);if(Tt.id=L,Tt.style.cssText=R+S,Tt.tabIndex=-1,o.body.appendChild(Tt),t=Tt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var ht=document.compatMode==U?V:W;t.write(ht+X),t.close()}}}function w(Tt){function ht(be){function _e(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=_e();if(E){be();return}function he(){if(!E){if(!_e())return;E=!0,be(),o.removeEventListener&&o.removeEventListener(Z,he,!1),fe&&clearInterval(fe)}}o.addEventListener&&o.addEventListener(Z,he,!1);var fe=setInterval(function(){he()},$)}function me(be){var _e=u(),E=_e.body,he=_e.createElement(_);he.language=ab,he.crossOrigin=W,he.src=be,webModule.__errFn&&(he.onerror=function(){webModule.__errFn(L,new Error(bb+be))}),E.appendChild(he)}ht(function(){me(Tt)})}webModule.__startLoadingFragment=function(Tt){return C(Tt)},webModule.__installRunAsyncCode=function(Tt){var ht=u(),me=ht.body,be=ht.createElement(_);be.language=ab,be.text=Tt,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(Tt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Tt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Tt){var ht=c[Tt];return ht==null?null:ht},r=d,webModule.__errFn=e}function B(){function Tt(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 ht(fe){if(!fe.match(/^\w+:\/\//)){var se=o.createElement(ub);se.src=fe+vb,fe=Tt(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 Tt(fe[se].src);return W}function _e(){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=_e()),he==W&&E()&&(he=Tt(o.location.href)),he=ht(he),he}function C(Tt){return Tt.match(/^\//)||Tt.match(/^[a-zA-Z]+:\/\//)?Tt:webModule.__moduleBase+Tt}function D(){var Tt=[],ht=O,me=[],be=[];function _e(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]=_e(se));return fe},webModule.__computePropValue=_e,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var he=E.indexOf(Db);he!=-1&&(ht=parseInt(E.substring(he+P),$),E=E.substring(O,he))}catch(fe){}return webModule.__softPermutationId=ht,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(Tt,ht,me){"use strict";me.d(ht,{Ax:function(){return he},Ds:function(){return fe},KI:function(){return re},SI:function(){return E},f1:function(){return _e}});var be=me(11320);function _e(ie){let le=!0;if(ie.length>0){for(let ce=0;ce<ie.length;ce++)if(ie[ce].compile_success==0||!ie[ce].compile_success){le=!1;break}}else le=!1;return le}function E(ie,le=""){let ce=[];for(let ae=0;ae<ie.length;ae++){let oe=ie[ae],ne=le?`${le}/${oe.name}`:`${oe.name}`;ce.push({title:oe.name,type:oe.type,isLeaf:oe.type!=="tree",key:ne})}return ce}function he(ie,le,ce){for(let ae=0;ae<ie.length;ae++){let oe=ie[ae];if(oe.key===le){oe.children=ce;break}oe.children&&he(oe.children,le,ce)}return ie}function fe(ie,le,ce){let ae;return function(){let oe=this,ne=arguments,z=function(){ae=null,ce||ie.apply(oe,ne)},a=ce&&!ae;clearTimeout(ae),ae=setTimeout(z,le),a&&ie.apply(oe,ne)}}const se=!0,re=be.Z.API_SERVER},93137:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return we},U:function(){return Se}});var be=me(67294),_e=me(55054),E=me(14446),he=me(86129),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"},ce="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,ue=Object.prototype.propertyIsEnumerable,de=(xe,Ee,Te)=>Ee in xe?y(xe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Te}):xe[Ee]=Te,ge=(xe,Ee)=>{for(var Te in Ee||(Ee={}))te.call(Ee,Te)&&de(xe,Te,Ee[Te]);if(ee)for(var Te of ee(Ee))ue.call(Ee,Te)&&de(xe,Te,Ee[Te]);return xe},ve=(xe,Ee)=>x(xe,b(Ee)),pe=(xe,Ee,Te)=>new Promise((Ce,Oe)=>{var Me=nt=>{try{je(Te.next(nt))}catch(Ye){Oe(Ye)}},Ue=nt=>{try{je(Te.throw(nt))}catch(Ye){Oe(Ye)}},je=nt=>nt.done?Ce(nt.value):Promise.resolve(nt.value).then(Me,Ue);je((Te=Te.apply(xe,Ee)).next())});const Se=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ye}=_e.default,Pe=({exercise:xe,socket:Ee,dispatch:Te,onStartScreenshot:Ce,onCloseScreenshot:Oe,handleToDetail:Me})=>{const[Ue,je]=E.default.useModal(),nt=(0,be.useRef)(),[Ye,Qe]=(0,be.useState)(!0),Xe=(0,be.useRef)(!1),ze=(0,ne.useParams)();(0,be.useEffect)(()=>{var Ne,Ge,rt;if(document.addEventListener((0,fe.gH)(),Ae,!1),window.addEventListener("blur",Ze,!1),(Ne=xe.exerciseUserInfo)!=null&&Ne.screen_open&&(0,fe.vp)()&&Qe(!1),(Ge=xe.exerciseUserInfo)!=null&&Ge.screen_open&&!(0,fe.vp)()){(0,oe.RG)(" ",!0);const St=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?xe.exerciseUserInfo.screen_sec+3:xe.exerciseUserInfo.screen_sec+10+1;nt.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"}},xe.exerciseUserInfo.screen_num-xe.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 Pt;const At=yield Ke();(Pt=nt.current)==null||Pt.destroy(),At.used_screen_num&&Ie(At.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+St*1e3})),"S\uFF09"),onOk:()=>{var Pt;(0,oe.RG)(" ",!0),(Pt=nt.current)==null||Pt.destroy(),Qe(!1),(0,fe.Dj)(document.body),document.getElementById("root").addEventListener("click",Be,!1)}})}return(rt=xe.exerciseUserInfo)!=null&&rt.screen_open&&!(0,fe.vp)()||document.getElementById("root").addEventListener("click",Be,!1),()=>{document.getElementById("root").removeEventListener("click",Be,!1),document.removeEventListener((0,fe.gH)(),Ae,!1),window.removeEventListener("blur",Ze,!1)}},[]),(0,be.useEffect)(()=>{setTimeout(()=>{xe.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Be,!1),document.removeEventListener((0,fe.gH)(),Ae,!1))},500),qe()},[xe.actionTabs]),(0,be.useEffect)(()=>{setTimeout(()=>{xe.exerciseUserInfo.used_screen_num>xe.exerciseUserInfo.screen_num&&He()},500)},[xe.exerciseUserInfo]);const ke=()=>pe(void 0,null,function*(){const Ne=yield Ke();setTimeout(()=>{var Ge,rt;(Ge=nt.current)==null||Ge.destroy(),nt.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},Ne.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(rt=xe.exerciseUserInfo)==null?void 0:rt.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>pe(void 0,null,function*(){(0,fe.Dj)(document.body)})})},1e3)}),Be=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({},ze)});return Ne==null?void 0:Ne.data}),Je=Ne=>pe(void 0,null,function*(){var Ge;if((Ge=xe.exerciseUserInfo)!=null&&Ge.screen_at){const St=yield(0,se.ck)(ve(ge({},ze),{reset:!0}));if((St==null?void 0:St.status)===-6)return}const rt=yield(0,se.oy)({id:ze.categoryId});if(rt!=null&&rt.is_commit){E.default.destroyAll(),yield gt(),Ve(!0);return}else Ie(Ne+1)}),gt=()=>pe(void 0,null,function*(){var Ne;const Ge=ie()(),rt=xe.exerciseUserInfo.screen_sec;if(Re.current.length>0){const St=Ge.format("YYYY-MM-DD HH:mm:ss");let Pt=Math.floor(Ge.diff(ie()(Re.current[0].start))/1e3);const At=Re.current.length;Pt/rt>>0>At&&(Pt=(At+1)*rt-1),yield(0,se.P8)(ze.categoryId,{exercise_user_id:(Ne=xe.exerciseUserInfo)==null?void 0:Ne.exercise_user_id,time:St,time_long:Pt,count:At})}Re.current=[]}),We=(0,be.useRef)(0),$e=(0,be.useRef)(0),Re=(0,be.useRef)([]),tt=(0,be.useRef)(!1),Ie=Ne=>pe(void 0,null,function*(){var Ge;Xe.current||(Ce(),E.default.destroyAll(),We.current=ie()().valueOf(),tt.current=!0,nt.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:ce,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},((Ge=xe.exerciseUserInfo)==null?void 0:Ge.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:()=>{$e.current=ie()().valueOf(),Re.current.push({start:We.current,end:$e.current}),Je(Ne)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(xe.exerciseUserInfo.screen_sec+1)*1e3}),(0,z._V)(z.CP.recordScreen25)),(0,z._V)(z.CP.recordScreen16))),onOk:()=>{(0,oe.RG)(" ",!0),gt(),(0,fe.Dj)(document.body),Oe(),nt.current.destroy(),tt.current=!1}}))}),He=()=>pe(void 0,null,function*(){E.default.destroyAll(),(yield(0,se.VL)({categoryId:ze.categoryId,commit_method:1}))&&Ve()}),Ve=(Ne=!1)=>pe(void 0,null,function*(){var Ge,rt;if(document.removeEventListener((0,fe.gH)(),Ae,!1),(0,fe.BU)(),E.default.destroyAll(),Xe.current=!0,Ne){const St=yield(0,se.Yu)(ze.categoryId,{exercise_user_id:(Ge=xe.exerciseUserInfo)==null?void 0:Ge.exercise_user_id});Ue.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),(rt=xe.exerciseUserInfo)==null?void 0:rt.screen_num,(0,z._V)(z.CP.recordScreen19)),a.createElement(he.default,{dataSource:St==null?void 0:St.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:()=>{Oe(),Me()},onOk:()=>{ne.history.push(`/classrooms/${ze.coursesId}/exercisenotice/${ze.categoryId}/users/${ze.login}?isShowApply=true`)}})}else Ue.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:()=>{Me()}})}),Ze=Ne=>{(0,fe.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!tt.current&&(0,fe.BU)()},Ke=()=>pe(void 0,null,function*(){var Ne;if((Ne=xe.exerciseUserInfo)!=null&&Ne.screen_at){const St=yield(0,se.ck)(ve(ge({},ze),{reset:!0}));if((St==null?void 0:St.status)===-6)return}const Ge=yield(0,se.oy)({id:ze.categoryId});if(Ge!=null&&Ge.is_commit){Ve();return}return yield qe()}),Ae=()=>pe(void 0,null,function*(){var Ne;if((0,oe.RG)(" ",!0),(0,fe.vp)()){if((Ne=xe.exerciseUserInfo)!=null&&Ne.screen_at){var Ge=yield(0,se.ck)(ve(ge({},ze),{reset:!0}));if((Ge==null?void 0:Ge.status)===-6)return}}else if(!tt.current){var Ge=yield(0,se.ck)(ge({},ze));if((Ge==null?void 0:Ge.status)===-6)return;const St=yield qe();Ie(St.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Le=()=>pe(void 0,null,function*(){(0,se.ck)(ge({},ze));const Ne=yield qe();Ie(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:xe,globalSetting:Ee})=>({globalSetting:Ee,exercise:xe}))(Pe)},96325:function(Tt,ht,me){"use strict";me.d(ht,{X:function(){return he},y:function(){return E}});var be=me(67294),_e=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:ce,metaKey:ae,type:oe}=ie;(oe==="paste"||(le===67||le===86)&&(ae||ce))&&(_e.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,be.useEffect)(()=>(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(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return ae}});var be=me(67294),_e={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(ue){y(ue)}},b=te=>{try{ee(z.throw(te))}catch(ue){y(ue)}},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),ue=(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()},xe=Ce=>le(void 0,null,function*(){pe(!0),ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Oe=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:oe.title,file:Ce.dataUrl}});Oe!=null&&Oe.id&&!ee?(yield(0,re.ZP)(`/api/attachments/${oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Oe==null?void 0:Oe.id,settings:JSON.stringify(Ce.state)}})).status===0&&x():Oe!=null&&Oe.id&&x(Oe),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(Me=>{const Ue=document.querySelector(Me.name);Ue&&Ue.setAttribute("title",Me.title)})},Te=()=>{ue.current=new se.hP(te.current),ue.current.targetRoot=ge.current,ue.current.addEventListener("render",xe),ue.current.addEventListener("beforeclose",we),b&&(ue.current.availableMarkerTypes=ue.current.ALL_MARKER_TYPES,ue.current.uiStyleSettings.redoButtonVisible=!0,ue.current.uiStyleSettings.notesButtonVisible=!0,ue.current.uiStyleSettings.zoomButtonVisible=!0,ue.current.uiStyleSettings.zoomOutButtonVisible=!0,ue.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ue.current.uiStyleSettings,ue.current.show(),oe!=null&&oe.snapshotData&&ue.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()(_e.imageDimensions,ne,z?_e.fullWidth:""),style:a},be.createElement("img",{className:_e.img,ref:te}))))}},36527:function(Tt,ht,me){"use strict";var be=me(67294),_e=me(71230),E=me(15746),he=me(36182),fe=me(71577),se=me(85725),re=me(71736),ie=me(84279),le=me(67294);const ce=(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=ue=>{a.current.setValue(a.current.getValue()+" "+ue.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:le.createElement(_e.Z,{className:re.Z.lists,gutter:[10,10]},y.map((ue,de)=>le.createElement(E.Z,{flex:"110px",className:re.Z.item},le.createElement("div",null,le.createElement(se.Z,{value:`$$${ue.value}$$`}),ue.name),le.createElement("div",{className:re.Z.children},ue.children.map((ge,ve)=>le.createElement("div",{key:ve},le.createElement("h1",null,ge.name),le.createElement(_e.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(_e.Z,{className:re.Z.lists,gutter:[10,10]},x.map((ue,de)=>le.createElement(E.Z,{flex:"110px",className:re.Z.item},le.createElement("div",null,le.createElement(se.Z,{value:"`$$"+ue.value+"$$`"}),ue.name),le.createElement("div",{className:re.Z.children},ue.children.map((ge,ve)=>le.createElement("div",{key:ve},ge.name&&le.createElement("h1",null,ge.name),le.createElement(_e.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 ue=document.createElement("div");ue.innerHTML=a.current.getValue();var de=ue.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")))});ht.Z=ce},7621:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return he}});var be=me(35973),_e={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 ${_e.idsRingWrapper} ${se}`},E.createElement("div",{className:_e.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),fe?E.createElement("p",{style:ie},fe):null,re,E.createElement(be.Outlet,null))},38658:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return se}});var be=me(67294),_e={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=me(94184),he=me.n(E),se=({className:re,style:ie={},leftNode:le,leftTitle:ce="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:oe="\u8FD0\u884C\u7ED3\u679C"})=>be.createElement("div",{className:he()(_e.result,re),style:ie},be.createElement("div",{className:_e.left},be.createElement("div",{className:_e.title},be.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),be.createElement("span",null,ce)),be.createElement("div",{className:_e.leftNode},le)),be.createElement("div",{className:_e.right},be.createElement("div",{className:_e.title},be.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),be.createElement("span",null,oe)),be.createElement("div",{className:_e.rightNode},ae)))},30676:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return fr}});var be=me(67294),_e=me.t(be,2),E=me(33054),he=me(43481),fe=me(94184),se=me.n(fe),re=me(87462),ie=me(1413),le=me(4942),ce=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(ut){return ut.nodeType===1?ut.ownerDocument.defaultView.getComputedStyle(ut,null):{}}function x(ut,ct,wt){if(ct=ct.toLowerCase(),wt==="auto"){if(ct==="height")return ut.offsetHeight;if(ct==="width")return ut.offsetWidth}return ct in z||(z[ct]=ne.test(ct)),z[ct]?parseFloat(wt)||0:wt}function b(ut,ct){var wt=arguments.length,Bt=y(ut);return ct=a[ct]?"cssFloat"in ut.style?"cssFloat":"styleFloat":ct,wt===1?Bt:x(ut,ct,Bt[ct]||ut.style[ct])}function ee(ut,ct,wt){var Bt=arguments.length;if(ct=a[ct]?"cssFloat"in ut.style?"cssFloat":"styleFloat":ct,Bt===3)return typeof wt=="number"&&ne.test(ct)&&(wt="".concat(wt,"px")),ut.style[ct]=wt,wt;for(var Qt in ct)ct.hasOwnProperty(Qt)&&ee(ut,Qt,ct[Qt]);return y(ut)}function te(ut){return ut===document.body?document.documentElement.clientWidth:ut.offsetWidth}function ue(ut){return ut===document.body?window.innerHeight||document.documentElement.clientHeight:ut.offsetHeight}function de(){var ut=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ct=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ut,height:ct}}function ge(){var ut=document.documentElement.clientWidth,ct=window.innerHeight||document.documentElement.clientHeight;return{width:ut,height:ct}}function ve(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function pe(ut){var ct=ut.getBoundingClientRect(),wt=document.documentElement;return{left:ct.left+(window.pageXOffset||wt.scrollLeft)-(wt.clientLeft||document.body.clientLeft||0),top:ct.top+(window.pageYOffset||wt.scrollTop)-(wt.clientTop||document.body.clientTop||0)}}function Se(ut){var ct=be.useRef();ct.current=ut;var wt=be.useCallback(function(){for(var Bt,Qt=arguments.length,an=new Array(Qt),en=0;en<Qt;en++)an[en]=arguments[en];return(Bt=ct.current)===null||Bt===void 0?void 0:Bt.call.apply(Bt,[ct].concat(an))},[]);return wt}function ye(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Pe=ye()?be.useLayoutEffect:be.useEffect,we=function(ct,wt){var Bt=be.useRef(!0);Pe(function(){return ct(Bt.current)},wt),Pe(function(){return Bt.current=!1,function(){Bt.current=!0}},[])},xe=function(ct,wt){we(function(Bt){if(!Bt)return ct()},wt)},Ee=null;function Te(ut){var ct=be.useRef(!1),wt=be.useState(ut),Bt=(0,ce.Z)(wt,2),Qt=Bt[0],an=Bt[1];be.useEffect(function(){return ct.current=!1,function(){ct.current=!0}},[]);function en(sn,hn){hn&&ct.current||an(sn)}return[Qt,en]}function Ce(ut){return ut!==void 0}function Oe(ut,ct){var wt=ct||{},Bt=wt.defaultValue,Qt=wt.value,an=wt.onChange,en=wt.postState,sn=Te(function(){return Ce(Qt)?Qt:Ce(Bt)?typeof Bt=="function"?Bt():Bt:typeof ut=="function"?ut():ut}),hn=(0,ce.Z)(sn,2),cn=hn[0],jn=hn[1],Fn=Qt!==void 0?Qt:cn,rr=en?en(Fn):Fn,xr=Se(an),br=Te([Fn]),eo=(0,ce.Z)(br,2),co=eo[0],Eo=eo[1];xe(function(){var Mo=co[0];cn!==Mo&&xr(cn,Mo)},[co]),xe(function(){Ce(Qt)||jn(Qt)},[Qt]);var kr=Se(function(Mo,vo){jn(Mo,vo),Eo([Fn],vo)});return[rr,kr]}var Me=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],Ue=be.createContext(null),je=0;function nt(ut,ct){var wt=be.useState(function(){return je+=1,String(je)}),Bt=(0,ce.Z)(wt,1),Qt=Bt[0],an=be.useContext(Ue),en={data:ct,canPreview:ut};return be.useEffect(function(){if(an)return an.register(Qt,en)},[]),be.useEffect(function(){an&&an.register(Qt,en)},[ut,ct]),Qt}function Ye(ut){return new Promise(function(ct){var wt=document.createElement("img");wt.onerror=function(){return ct(!1)},wt.onload=function(){return ct(!0)},wt.src=ut})}function Qe(ut){var ct=ut.src,wt=ut.isCustomPlaceholder,Bt=ut.fallback,Qt=(0,be.useState)(wt?"loading":"normal"),an=(0,ce.Z)(Qt,2),en=an[0],sn=an[1],hn=(0,be.useRef)(!1),cn=en==="error";(0,be.useEffect)(function(){Ye(ct).then(function(xr){xr||sn("error")})},[ct]),(0,be.useEffect)(function(){wt&&!hn.current?sn("loading"):cn&&sn("normal")},[ct]);var jn=function(){sn("normal")},Fn=function(br){hn.current=!1,en==="loading"&&br!=null&&br.complete&&(br.naturalWidth||br.naturalHeight)&&(hn.current=!0,jn())},rr=cn&&Bt?{src:Bt}:{onLoad:jn,src:ct};return[Fn,rr,en]}var Xe=me(2788),ze=be.createContext({});function ke(ut,ct){if(!ut)return!1;if(ut.contains)return ut.contains(ct);for(var wt=ct;wt;){if(wt===ut)return!0;wt=wt.parentNode}return!1}function Be(){var ut=(0,ie.Z)({},_e);return ut.useId}var qe=0;function Je(){}function gt(ut){var ct=be.useState("ssr-id"),wt=(0,ce.Z)(ct,2),Bt=wt[0],Qt=wt[1],an=Be(),en=an==null?void 0:an();return be.useEffect(function(){if(!an){var sn=qe;qe+=1,Qt("rc_unique_".concat(sn))}},[]),ut||en||Bt}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(ct){var wt=ct.keyCode;if(ct.altKey&&!ct.ctrlKey||ct.metaKey||wt>=We.F1&&wt<=We.F12)return!1;switch(wt){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(ct){if(ct>=We.ZERO&&ct<=We.NINE||ct>=We.NUM_ZERO&&ct<=We.NUM_MULTIPLY||ct>=We.A&&ct<=We.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ct===0)return!0;switch(ct){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}}},$e=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`,tt=`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`,Ie="".concat(Re," ").concat(tt).split(/[\s\n]+/),He="aria-",Ve="data-";function Ze(ut,ct){return ut.indexOf(ct)===0}function Ke(ut){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,wt;ct===!1?wt={aria:!0,data:!0,attr:!0}:ct===!0?wt={aria:!0}:wt=(0,ie.Z)({},ct);var Bt={};return Object.keys(ut).forEach(function(Qt){(wt.aria&&(Qt==="role"||Ze(Qt,He))||wt.data&&Ze(Qt,Ve)||wt.attr&&Ie.includes(Qt))&&(Bt[Qt]=ut[Qt])}),Bt}function Ae(ut,ct,wt){var Bt=ct;return!Bt&&wt&&(Bt="".concat(ut,"-").concat(wt)),Bt}function Le(ut,ct){var wt=ut["page".concat(ct?"Y":"X","Offset")],Bt="scroll".concat(ct?"Top":"Left");if(typeof wt!="number"){var Qt=ut.document;wt=Qt.documentElement[Bt],typeof wt!="number"&&(wt=Qt.body[Bt])}return wt}function Ne(ut){var ct=ut.getBoundingClientRect(),wt={left:ct.left,top:ct.top},Bt=ut.ownerDocument,Qt=Bt.defaultView||Bt.parentWindow;return wt.left+=Le(Qt),wt.top+=Le(Qt,!0),wt}var Ge=me(62874),rt=me(59864);function St(ut,ct,wt){var Bt=be.useRef({});return(!("value"in Bt.current)||wt(Bt.current.condition,ct))&&(Bt.current.value=ut(),Bt.current.condition=ct),Bt.current.value}function Pt(ut,ct){typeof ut=="function"?ut(ct):(0,ae.Z)(ut)==="object"&&ut&&"current"in ut&&(ut.current=ct)}function At(){for(var ut=arguments.length,ct=new Array(ut),wt=0;wt<ut;wt++)ct[wt]=arguments[wt];var Bt=ct.filter(function(Qt){return Qt});return Bt.length<=1?Bt[0]:function(Qt){ct.forEach(function(an){Pt(an,Qt)})}}function bn(){for(var ut=arguments.length,ct=new Array(ut),wt=0;wt<ut;wt++)ct[wt]=arguments[wt];return St(function(){return At.apply(void 0,ct)},ct,function(Bt,Qt){return Bt.length===Qt.length&&Bt.every(function(an,en){return an===Qt[en]})})}function $t(ut){var ct,wt,Bt=isMemo(ut)?ut.type.type:ut.type;return!(typeof Bt=="function"&&!((ct=Bt.prototype)!==null&&ct!==void 0&&ct.render)||typeof ut=="function"&&!((wt=ut.prototype)!==null&&wt!==void 0&&wt.render))}var ft=be.memo(function(ut){var ct=ut.children;return ct},function(ut,ct){var wt=ct.shouldUpdate;return!wt}),st={width:0,height:0,overflow:"hidden",outline:"none"},zt=be.forwardRef(function(ut,ct){var wt=ut.prefixCls,Bt=ut.className,Qt=ut.style,an=ut.title,en=ut.ariaId,sn=ut.footer,hn=ut.closable,cn=ut.closeIcon,jn=ut.onClose,Fn=ut.children,rr=ut.bodyStyle,xr=ut.bodyProps,br=ut.modalRender,eo=ut.onMouseDown,co=ut.onMouseUp,Eo=ut.holderRef,kr=ut.visible,Mo=ut.forceRender,vo=ut.width,No=ut.height,ga=be.useContext(ze),Fa=ga.panel,na=bn(Eo,Fa),La=(0,be.useRef)(),Qo=(0,be.useRef)();be.useImperativeHandle(ct,function(){return{focus:function(){var ja;(ja=La.current)===null||ja===void 0||ja.focus()},changeActive:function(ja){var ko=document,Xo=ko.activeElement;ja&&Xo===Qo.current?La.current.focus():!ja&&Xo===La.current&&Qo.current.focus()}}});var Ga={};vo!==void 0&&(Ga.width=vo),No!==void 0&&(Ga.height=No);var Ca;sn&&(Ca=be.createElement("div",{className:"".concat(wt,"-footer")},sn));var Ia;an&&(Ia=be.createElement("div",{className:"".concat(wt,"-header")},be.createElement("div",{className:"".concat(wt,"-title"),id:en},an)));var _a;hn&&(_a=be.createElement("button",{type:"button",onClick:jn,"aria-label":"Close",className:"".concat(wt,"-close")},cn||be.createElement("span",{className:"".concat(wt,"-close-x")})));var ni=be.createElement("div",{className:"".concat(wt,"-content")},_a,Ia,be.createElement("div",(0,re.Z)({className:"".concat(wt,"-body"),style:rr},xr),Fn),Ca);return be.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":an?en:null,"aria-modal":"true",ref:na,style:(0,ie.Z)((0,ie.Z)({},Qt),Ga),className:se()(wt,Bt),onMouseDown:eo,onMouseUp:co},be.createElement("div",{tabIndex:0,ref:La,style:st,"aria-hidden":"true"}),be.createElement(ft,{shouldUpdate:kr||Mo},br?br(ni):ni),be.createElement("div",{tabIndex:0,ref:Qo,style:st,"aria-hidden":"true"}))}),ot=zt,at=be.forwardRef(function(ut,ct){var wt=ut.prefixCls,Bt=ut.title,Qt=ut.style,an=ut.className,en=ut.visible,sn=ut.forceRender,hn=ut.destroyOnClose,cn=ut.motionName,jn=ut.ariaId,Fn=ut.onVisibleChanged,rr=ut.mousePosition,xr=(0,be.useRef)(),br=be.useState(),eo=(0,ce.Z)(br,2),co=eo[0],Eo=eo[1],kr={};co&&(kr.transformOrigin=co);function Mo(){var vo=Ne(xr.current);Eo(rr?"".concat(rr.x-vo.left,"px ").concat(rr.y-vo.top,"px"):"")}return be.createElement(Ge.Z,{visible:en,onVisibleChanged:Fn,onAppearPrepare:Mo,onEnterPrepare:Mo,forceRender:sn,motionName:cn,removeOnLeave:hn,ref:xr},function(vo,No){var ga=vo.className,Fa=vo.style;return be.createElement(ot,(0,re.Z)({},ut,{ref:ct,title:Bt,ariaId:jn,prefixCls:wt,holderRef:No,style:(0,ie.Z)((0,ie.Z)((0,ie.Z)({},Fa),Qt),kr),className:se()(an,ga)}))})});at.displayName="Content";var bt=at;function Ft(ut){var ct=ut.prefixCls,wt=ut.style,Bt=ut.visible,Qt=ut.maskProps,an=ut.motionName;return be.createElement(Ge.Z,{key:"mask",visible:Bt,motionName:an,leavedClassName:"".concat(ct,"-mask-hidden")},function(en,sn){var hn=en.className,cn=en.style;return be.createElement("div",(0,re.Z)({ref:sn,style:(0,ie.Z)((0,ie.Z)({},cn),wt),className:se()("".concat(ct,"-mask"),hn)},Qt))})}function kt(ut){var ct=ut.prefixCls,wt=ct===void 0?"rc-dialog":ct,Bt=ut.zIndex,Qt=ut.visible,an=Qt===void 0?!1:Qt,en=ut.keyboard,sn=en===void 0?!0:en,hn=ut.focusTriggerAfterClose,cn=hn===void 0?!0:hn,jn=ut.wrapStyle,Fn=ut.wrapClassName,rr=ut.wrapProps,xr=ut.onClose,br=ut.afterOpenChange,eo=ut.afterClose,co=ut.transitionName,Eo=ut.animation,kr=ut.closable,Mo=kr===void 0?!0:kr,vo=ut.mask,No=vo===void 0?!0:vo,ga=ut.maskTransitionName,Fa=ut.maskAnimation,na=ut.maskClosable,La=na===void 0?!0:na,Qo=ut.maskStyle,Ga=ut.maskProps,Ca=ut.rootClassName,Ia=(0,be.useRef)(),_a=(0,be.useRef)(),ni=(0,be.useRef)(),Ka=be.useState(an),ja=(0,ce.Z)(Ka,2),ko=ja[0],Xo=ja[1],Pr=gt();function Za(){ke(_a.current,document.activeElement)||(Ia.current=document.activeElement)}function hi(){if(!ke(_a.current,document.activeElement)){var fa;(fa=ni.current)===null||fa===void 0||fa.focus()}}function sa(fa){if(fa)hi();else{if(Xo(!1),No&&Ia.current&&cn){try{Ia.current.focus({preventScroll:!0})}catch(Ua){}Ia.current=null}ko&&(eo==null||eo())}br==null||br(fa)}function ya(fa){xr==null||xr(fa)}var Qa=(0,be.useRef)(!1),ha=(0,be.useRef)(),ua=function(){clearTimeout(ha.current),Qa.current=!0},Oa=function(){ha.current=setTimeout(function(){Qa.current=!1})},ai=null;La&&(ai=function(Ua){Qa.current?Qa.current=!1:_a.current===Ua.target&&ya(Ua)});function da(fa){if(sn&&fa.keyCode===$e.ESC){fa.stopPropagation(),ya(fa);return}an&&fa.keyCode===$e.TAB&&ni.current.changeActive(!fa.shiftKey)}return(0,be.useEffect)(function(){an&&(Xo(!0),Za())},[an]),(0,be.useEffect)(function(){return function(){clearTimeout(ha.current)}},[]),be.createElement("div",(0,re.Z)({className:se()("".concat(wt,"-root"),Ca)},Ke(ut,{data:!0})),be.createElement(Ft,{prefixCls:wt,visible:No&&an,motionName:Ae(wt,ga,Fa),style:(0,ie.Z)({zIndex:Bt},Qo),maskProps:Ga}),be.createElement("div",(0,re.Z)({tabIndex:-1,onKeyDown:da,className:se()("".concat(wt,"-wrap"),Fn),ref:_a,onClick:ai,style:(0,ie.Z)((0,ie.Z)({zIndex:Bt},jn),{},{display:ko?null:"none"})},rr),be.createElement(bt,(0,re.Z)({},ut,{onMouseDown:ua,onMouseUp:Oa,ref:ni,closable:Mo,ariaId:Pr,prefixCls:wt,visible:an&&ko,onClose:ya,onVisibleChanged:sa,motionName:Ae(wt,co,Eo)}))))}var un=function(ct){var wt=ct.visible,Bt=ct.getContainer,Qt=ct.forceRender,an=ct.destroyOnClose,en=an===void 0?!1:an,sn=ct.afterClose,hn=ct.panelRef,cn=be.useState(wt),jn=(0,ce.Z)(cn,2),Fn=jn[0],rr=jn[1],xr=be.useMemo(function(){return{panel:hn}},[hn]);return be.useEffect(function(){wt&&rr(!0)},[wt]),!Qt&&en&&!Fn?null:be.createElement(ze.Provider,{value:xr},be.createElement(Xe.Z,{open:wt||Qt||Fn,autoDestroy:!1,getContainer:Bt,autoLock:wt||Fn},be.createElement(kt,(0,re.Z)({},ct,{destroyOnClose:en,afterClose:function(){sn==null||sn(),rr(!1)}}))))};un.displayName="Dialog";var fn=un,vn=fn,An=me(73935);function vr(ut,ct,wt,Bt){var Qt=An.unstable_batchedUpdates?function(en){An.unstable_batchedUpdates(wt,en)}:wt;return ut!=null&&ut.addEventListener&&ut.addEventListener(ct,Qt,Bt),{remove:function(){ut!=null&&ut.removeEventListener&&ut.removeEventListener(ct,Qt,Bt)}}}var yn={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ct){var wt=ct.keyCode;if(ct.altKey&&!ct.ctrlKey||ct.metaKey||wt>=yn.F1&&wt<=yn.F12)return!1;switch(wt){case yn.ALT:case yn.CAPS_LOCK:case yn.CONTEXT_MENU:case yn.CTRL:case yn.DOWN:case yn.END:case yn.ESC:case yn.HOME:case yn.INSERT:case yn.LEFT:case yn.MAC_FF_META:case yn.META:case yn.NUMLOCK:case yn.NUM_CENTER:case yn.PAGE_DOWN:case yn.PAGE_UP:case yn.PAUSE:case yn.PRINT_SCREEN:case yn.RIGHT:case yn.SHIFT:case yn.UP:case yn.WIN_KEY:case yn.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ct){if(ct>=yn.ZERO&&ct<=yn.NINE||ct>=yn.NUM_ZERO&&ct<=yn.NUM_MULTIPLY||ct>=yn.A&&ct<=yn.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ct===0)return!0;switch(ct){case yn.SPACE:case yn.QUESTION_MARK:case yn.NUM_PLUS:case yn.NUM_MINUS:case yn.NUM_PERIOD:case yn.NUM_DIVISION:case yn.SEMICOLON:case yn.DASH:case yn.EQUALS:case yn.COMMA:case yn.PERIOD:case yn.SLASH:case yn.APOSTROPHE:case yn.SINGLE_QUOTE:case yn.OPEN_SQUARE_BRACKET:case yn.BACKSLASH:case yn.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},cr=yn,Zr={},Gr=[],ro=function(ct){Gr.push(ct)};function oo(ut,ct){if(0)var wt}function po(ut,ct){if(0)var wt}function Pn(){Zr={}}function dn(ut,ct,wt){!ct&&!Zr[wt]&&(ut(!1,wt),Zr[wt]=!0)}function Bn(ut,ct){dn(oo,ut,ct)}function Rn(ut,ct){dn(po,ut,ct)}Bn.preMessage=ro,Bn.resetWarned=Pn,Bn.noteOnce=Rn;var Un=Bn;function tr(ut,ct,wt,Bt){var Qt=ct+wt,an=(wt-Bt)/2;if(wt>Bt){if(ct>0)return(0,le.Z)({},ut,an);if(ct<0&&Qt<Bt)return(0,le.Z)({},ut,-an)}else if(ct<0||Qt>Bt)return(0,le.Z)({},ut,ct<0?an:-an);return{}}function gr(ut,ct,wt,Bt){var Qt=ge(),an=Qt.width,en=Qt.height,sn=null;return ut<=an&&ct<=en?sn={x:0,y:0}:(ut>an||ct>en)&&(sn=(0,ie.Z)((0,ie.Z)({},tr("x",wt,ut,an)),tr("y",Bt,ct,en))),sn}function Br(ut,ct){var wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Bt=new Set;function Qt(an,en){var sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,hn=Bt.has(an);if(Un(!hn,"Warning: There may be circular references"),hn)return!1;if(an===en)return!0;if(wt&&sn>1)return!1;Bt.add(an);var cn=sn+1;if(Array.isArray(an)){if(!Array.isArray(en)||an.length!==en.length)return!1;for(var jn=0;jn<an.length;jn++)if(!Qt(an[jn],en[jn],cn))return!1;return!0}if(an&&en&&(0,ae.Z)(an)==="object"&&(0,ae.Z)(en)==="object"){var Fn=Object.keys(an);return Fn.length!==Object.keys(en).length?!1:Fn.every(function(rr){return Qt(an[rr],en[rr],cn)})}return!1}return Qt(ut,ct)}var dr=Br,Xn=function(ct){return+setTimeout(ct,16)},Rt=function(ct){return clearTimeout(ct)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Xn=function(ct){return window.requestAnimationFrame(ct)},Rt=function(ct){return window.cancelAnimationFrame(ct)});var Mt=0,Lt=new Map;function In(ut){Lt.delete(ut)}var Gn=function(ct){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Mt+=1;var Bt=Mt;function Qt(an){if(an===0)In(Bt),ct();else{var en=Xn(function(){Qt(an-1)});Lt.set(Bt,en)}}return Qt(wt),Bt};Gn.cancel=function(ut){var ct=Lt.get(ut);return In(ct),Rt(ct)};var Wn=Gn,mr={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function wr(ut,ct,wt,Bt){var Qt=(0,be.useRef)(null),an=(0,be.useRef)([]),en=(0,be.useState)(mr),sn=(0,ce.Z)(en,2),hn=sn[0],cn=sn[1],jn=function(br){cn(mr),Bt&&!dr(mr,hn)&&Bt({transform:mr,action:br})},Fn=function(br,eo){Qt.current===null&&(an.current=[],Qt.current=Wn(function(){cn(function(co){var Eo=co;return an.current.forEach(function(kr){Eo=(0,ie.Z)((0,ie.Z)({},Eo),kr)}),Qt.current=null,Bt==null||Bt({transform:Eo,action:eo}),Eo})})),an.current.push((0,ie.Z)((0,ie.Z)({},hn),br))},rr=function(br,eo,co,Eo){var kr=ut.current,Mo=kr.width,vo=kr.height,No=kr.offsetWidth,ga=kr.offsetHeight,Fa=kr.offsetLeft,na=kr.offsetTop,La=br,Qo=hn.scale*br;Qo>wt?(La=wt/hn.scale,Qo=wt):Qo<ct&&(La=ct/hn.scale,Qo=ct);var Ga=co!=null?co:innerWidth/2,Ca=Eo!=null?Eo:innerHeight/2,Ia=La-1,_a=Ia*Mo*.5,ni=Ia*vo*.5,Ka=Ia*(Ga-hn.x-Fa),ja=Ia*(Ca-hn.y-na),ko=hn.x-(Ka-_a),Xo=hn.y-(ja-ni);if(br<1&&Qo===1){var Pr=No*Qo,Za=ga*Qo,hi=ge(),sa=hi.width,ya=hi.height;Pr<=sa&&Za<=ya&&(ko=0,Xo=0)}Fn({x:ko,y:Xo,scale:Qo},eo)};return{transform:hn,resetTransform:jn,updateTransform:Fn,dispatchZoomChange:rr}}var Rr=function(ct){var wt=ct.visible,Bt=ct.maskTransitionName,Qt=ct.getContainer,an=ct.prefixCls,en=ct.rootClassName,sn=ct.icons,hn=ct.countRender,cn=ct.showSwitch,jn=ct.showProgress,Fn=ct.current,rr=ct.transform,xr=ct.count,br=ct.scale,eo=ct.minScale,co=ct.maxScale,Eo=ct.closeIcon,kr=ct.onSwitchLeft,Mo=ct.onSwitchRight,vo=ct.onClose,No=ct.onZoomIn,ga=ct.onZoomOut,Fa=ct.onRotateRight,na=ct.onRotateLeft,La=ct.onFlipX,Qo=ct.onFlipY,Ga=ct.toolbarRender,Ca=(0,be.useContext)(Ue),Ia=sn.rotateLeft,_a=sn.rotateRight,ni=sn.zoomIn,Ka=sn.zoomOut,ja=sn.close,ko=sn.left,Xo=sn.right,Pr=sn.flipX,Za=sn.flipY,hi="".concat(an,"-operations-operation");be.useEffect(function(){var ha=function(Oa){Oa.keyCode===cr.ESC&&vo()};return wt&&window.addEventListener("keydown",ha),function(){window.removeEventListener("keydown",ha)}},[wt]);var sa=[{icon:Za,onClick:Qo,type:"flipY"},{icon:Pr,onClick:La,type:"flipX"},{icon:Ia,onClick:na,type:"rotateLeft"},{icon:_a,onClick:Fa,type:"rotateRight"},{icon:Ka,onClick:ga,type:"zoomOut",disabled:br===eo},{icon:ni,onClick:No,type:"zoomIn",disabled:br===co}],ya=sa.map(function(ha){var ua,Oa=ha.icon,ai=ha.onClick,da=ha.type,fa=ha.disabled;return be.createElement("div",{className:se()(hi,(ua={},(0,le.Z)(ua,"".concat(an,"-operations-operation-").concat(da),!0),(0,le.Z)(ua,"".concat(an,"-operations-operation-disabled"),!!fa),ua)),onClick:ai,key:da},Oa)}),Qa=be.createElement("div",{className:"".concat(an,"-operations")},ya);return be.createElement(Ge.Z,{visible:wt,motionName:Bt},function(ha){var ua=ha.className,Oa=ha.style;return be.createElement(Xe.Z,{open:!0,getContainer:Qt!=null?Qt:document.body},be.createElement("div",{className:se()("".concat(an,"-operations-wrapper"),ua,en),style:Oa},Eo===null?null:be.createElement("button",{className:"".concat(an,"-close"),onClick:vo},Eo||ja),cn&&be.createElement(be.Fragment,null,be.createElement("div",{className:se()("".concat(an,"-switch-left"),(0,le.Z)({},"".concat(an,"-switch-left-disabled"),Fn===0)),onClick:kr},ko),be.createElement("div",{className:se()("".concat(an,"-switch-right"),(0,le.Z)({},"".concat(an,"-switch-right-disabled"),Fn===xr-1)),onClick:Mo},Xo)),be.createElement("div",{className:"".concat(an,"-footer")},jn&&be.createElement("div",{className:"".concat(an,"-progress")},hn?hn(Fn+1,xr):"".concat(Fn+1," / ").concat(xr)),Ga?Ga(Qa,(0,ie.Z)({icons:{flipYIcon:ya[0],flipXIcon:ya[1],rotateLeftIcon:ya[2],rotateRightIcon:ya[3],zoomOutIcon:ya[4],zoomInIcon:ya[5]},actions:{onFlipY:Qo,onFlipX:La,onRotateLeft:na,onRotateRight:Fa,onZoomOut:ga,onZoomIn:No},transform:rr},Ca?{current:Fn,total:xr}:{})):Qa)))})},qr=Rr,mo=1,Tn=1,Ur=["fallback","src","imgRef"],bo=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],ca=function(ct){var wt=ct.fallback,Bt=ct.src,Qt=ct.imgRef,an=(0,oe.Z)(ct,Ur),en=Qe({src:Bt,fallback:wt}),sn=(0,ce.Z)(en,2),hn=sn[0],cn=sn[1];return be.createElement("img",(0,re.Z)({ref:function(Fn){Qt.current=Fn,hn(Fn)}},an,cn))},Ko=function(ct){var wt=ct.prefixCls,Bt=ct.src,Qt=ct.alt,an=ct.fallback,en=ct.movable,sn=en===void 0?!0:en,hn=ct.onClose,cn=ct.visible,jn=ct.icons,Fn=jn===void 0?{}:jn,rr=ct.rootClassName,xr=ct.closeIcon,br=ct.getContainer,eo=ct.current,co=eo===void 0?0:eo,Eo=ct.count,kr=Eo===void 0?1:Eo,Mo=ct.countRender,vo=ct.scaleStep,No=vo===void 0?.5:vo,ga=ct.minScale,Fa=ga===void 0?1:ga,na=ct.maxScale,La=na===void 0?50:na,Qo=ct.transitionName,Ga=Qo===void 0?"zoom":Qo,Ca=ct.maskTransitionName,Ia=Ca===void 0?"fade":Ca,_a=ct.imageRender,ni=ct.imgCommonProps,Ka=ct.toolbarRender,ja=ct.onTransform,ko=ct.onChange,Xo=(0,oe.Z)(ct,bo),Pr=(0,be.useRef)(),Za=(0,be.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),hi=(0,be.useState)(!1),sa=(0,ce.Z)(hi,2),ya=sa[0],Qa=sa[1],ha=(0,be.useContext)(Ue),ua=ha&&kr>1,Oa=ha&&kr>=1,ai=wr(Pr,Fa,La,ja),da=ai.transform,fa=ai.resetTransform,Ua=ai.updateTransform,wi=ai.dispatchZoomChange,es=(0,be.useState)(!0),ls=(0,ce.Z)(es,2),cs=ls[0],Mi=ls[1],pi=da.rotate,yi=da.scale,Vi=da.x,zi=da.y,Gs=se()((0,le.Z)({},"".concat(wt,"-moving"),ya));(0,be.useEffect)(function(){cs||Mi(!0)},[cs]);var $s=function(){fa("close")},us=function(){wi(mo+No,"zoomIn")},ys=function(){wi(mo/(mo+No),"zoomOut")},Ws=function(){Ua({rotate:pi+90},"rotateRight")},Ss=function(){Ua({rotate:pi-90},"rotateLeft")},ts=function(){Ua({flipX:!da.flipX},"flipX")},ns=function(){Ua({flipY:!da.flipY},"flipY")},bs=function(kn){kn==null||kn.preventDefault(),kn==null||kn.stopPropagation(),co>0&&(Mi(!1),fa("prev"),ko==null||ko(co-1,co))},Ts=function(kn){kn==null||kn.preventDefault(),kn==null||kn.stopPropagation(),co<kr-1&&(Mi(!1),fa("next"),ko==null||ko(co+1,co))},it=function(){if(cn&&ya){Qa(!1);var kn=Za.current,ir=kn.transformX,Nr=kn.transformY,er=Vi!==ir&&zi!==Nr;if(!er)return;var Fr=Pr.current.offsetWidth*yi,Mr=Pr.current.offsetHeight*yi,Jr=Pr.current.getBoundingClientRect(),Wo=Jr.left,Io=Jr.top,Yo=pi%180!==0,Fo=gr(Yo?Mr:Fr,Yo?Fr:Mr,Wo,Io);Fo&&Ua((0,ie.Z)({},Fo),"dragRebound")}},yt=function(kn){!sn||kn.button!==0||(kn.preventDefault(),kn.stopPropagation(),Za.current={deltaX:kn.pageX-da.x,deltaY:kn.pageY-da.y,transformX:da.x,transformY:da.y},Qa(!0))},mt=function(kn){cn&&ya&&Ua({x:kn.pageX-Za.current.deltaX,y:kn.pageY-Za.current.deltaY},"move")},Nt=function(kn){if(!(!cn||kn.deltaY==0)){var ir=Math.abs(kn.deltaY/100),Nr=Math.min(ir,Tn),er=mo+Nr*No;kn.deltaY>0&&(er=mo/er),wi(er,"wheel",kn.clientX,kn.clientY)}},qt=function(kn){!cn||!ua||(kn.keyCode===cr.LEFT?bs():kn.keyCode===cr.RIGHT&&Ts())},Cn=function(kn){cn&&(yi!==1?Ua({x:0,y:0,scale:1},"doubleClick"):wi(mo+No,"doubleClick",kn.clientX,kn.clientY))};(0,be.useEffect)(function(){var $n,kn,ir,Nr;if(sn){ir=vr(window,"mouseup",it,!1),Nr=vr(window,"mousemove",mt,!1);try{window.top!==window.self&&($n=vr(window.top,"mouseup",it,!1),kn=vr(window.top,"mousemove",mt,!1))}catch(er){oo(!1,"[rc-image] ".concat(er))}}return function(){var er,Fr,Mr,Jr;(er=ir)===null||er===void 0||er.remove(),(Fr=Nr)===null||Fr===void 0||Fr.remove(),(Mr=$n)===null||Mr===void 0||Mr.remove(),(Jr=kn)===null||Jr===void 0||Jr.remove()}},[cn,ya,Vi,zi,pi,sn]),(0,be.useEffect)(function(){var $n=vr(window,"keydown",qt,!1);return function(){$n.remove()}},[cn,ua,co]);var En=be.createElement(ca,(0,re.Z)({},ni,{width:ct.width,height:ct.height,imgRef:Pr,className:"".concat(wt,"-img"),alt:Qt,style:{transform:"translate3d(".concat(da.x,"px, ").concat(da.y,"px, 0) scale3d(").concat(da.flipX?"-":"").concat(yi,", ").concat(da.flipY?"-":"").concat(yi,", 1) rotate(").concat(pi,"deg)"),transitionDuration:!cs&&"0s"},fallback:an,src:Bt,onWheel:Nt,onMouseDown:yt,onDoubleClick:Cn}));return be.createElement(be.Fragment,null,be.createElement(vn,(0,re.Z)({transitionName:Ga,maskTransitionName:Ia,closable:!1,keyboard:!0,prefixCls:wt,onClose:hn,visible:cn,wrapClassName:Gs,rootClassName:rr,getContainer:br},Xo,{afterClose:$s}),be.createElement("div",{className:"".concat(wt,"-img-wrapper")},_a?_a(En,(0,ie.Z)({transform:da},ha?{current:co}:{})):En)),be.createElement(qr,{visible:cn,transform:da,maskTransitionName:Ia,closeIcon:xr,getContainer:br,prefixCls:wt,rootClassName:rr,icons:Fn,countRender:Mo,showSwitch:ua,showProgress:Oa,current:co,count:kr,scale:yi,minScale:Fa,maxScale:La,toolbarRender:Ka,onSwitchLeft:bs,onSwitchRight:Ts,onZoomIn:us,onZoomOut:ys,onRotateRight:Ws,onRotateLeft:Ss,onFlipX:ts,onFlipY:ns,onClose:hn}))},jo=Ko,ia=me(74902);function ho(ut){var ct=be.useState({}),wt=(0,ce.Z)(ct,2),Bt=wt[0],Qt=wt[1],an=be.useCallback(function(sn,hn){return Qt(function(cn){return(0,ie.Z)((0,ie.Z)({},cn),{},(0,le.Z)({},sn,hn))}),function(){Qt(function(cn){var jn=(0,ie.Z)({},cn);return delete jn[sn],jn})}},[]),en=be.useMemo(function(){return ut?ut.map(function(sn){if(typeof sn=="string")return{data:{src:sn}};var hn={};return Object.keys(sn).forEach(function(cn){["src"].concat((0,ia.Z)(Me)).includes(cn)&&(hn[cn]=sn[cn])}),{data:hn}}):Object.keys(Bt).reduce(function(sn,hn){var cn=Bt[hn],jn=cn.canPreview,Fn=cn.data;return jn&&sn.push({data:Fn,id:hn}),sn},[])},[ut,Bt]);return[en,an]}var Dt=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],nn=["src"],rn=function(ct){var wt,Bt=ct.previewPrefixCls,Qt=Bt===void 0?"rc-image-preview":Bt,an=ct.children,en=ct.icons,sn=en===void 0?{}:en,hn=ct.items,cn=ct.preview,jn=ct.fallback,Fn=(0,ae.Z)(cn)==="object"?cn:{},rr=Fn.visible,xr=Fn.onVisibleChange,br=Fn.getContainer,eo=Fn.current,co=Fn.movable,Eo=Fn.minScale,kr=Fn.maxScale,Mo=Fn.countRender,vo=Fn.closeIcon,No=Fn.onChange,ga=Fn.onTransform,Fa=Fn.toolbarRender,na=Fn.imageRender,La=(0,oe.Z)(Fn,Dt),Qo=ho(hn),Ga=(0,ce.Z)(Qo,2),Ca=Ga[0],Ia=Ga[1],_a=Oe(0,{value:eo}),ni=(0,ce.Z)(_a,2),Ka=ni[0],ja=ni[1],ko=(0,be.useState)(!1),Xo=(0,ce.Z)(ko,2),Pr=Xo[0],Za=Xo[1],hi=((wt=Ca[Ka])===null||wt===void 0?void 0:wt.data)||{},sa=hi.src,ya=(0,oe.Z)(hi,nn),Qa=Oe(!!rr,{value:rr,onChange:function(pi,yi){xr==null||xr(pi,yi,Ka)}}),ha=(0,ce.Z)(Qa,2),ua=ha[0],Oa=ha[1],ai=(0,be.useState)(null),da=(0,ce.Z)(ai,2),fa=da[0],Ua=da[1],wi=be.useCallback(function(Mi,pi,yi){var Vi=Ca.findIndex(function(zi){return zi.id===Mi});Oa(!0),Ua({x:pi,y:yi}),ja(Vi<0?0:Vi),Za(!0)},[Ca]);be.useEffect(function(){ua?Pr||ja(0):Za(!1)},[ua]);var es=function(pi,yi){ja(pi),No==null||No(pi,yi)},ls=function(){Oa(!1),Ua(null)},cs=be.useMemo(function(){return{register:Ia,onPreview:wi}},[Ia,wi]);return be.createElement(Ue.Provider,{value:cs},an,be.createElement(jo,(0,re.Z)({"aria-hidden":!ua,movable:co,visible:ua,prefixCls:Qt,closeIcon:vo,onClose:ls,mousePosition:fa,imgCommonProps:ya,src:sa,fallback:jn,icons:sn,minScale:Eo,maxScale:kr,getContainer:br,current:Ka,count:Ca.length,countRender:Mo,onTransform:ga,toolbarRender:Fa,imageRender:na,onChange:es},La)))},mn=rn,zn=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Sn=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Nn=function(ct){var wt=ct.src,Bt=ct.alt,Qt=ct.onPreviewClose,an=ct.prefixCls,en=an===void 0?"rc-image":an,sn=ct.previewPrefixCls,hn=sn===void 0?"".concat(en,"-preview"):sn,cn=ct.placeholder,jn=ct.fallback,Fn=ct.width,rr=ct.height,xr=ct.style,br=ct.preview,eo=br===void 0?!0:br,co=ct.className,Eo=ct.onClick,kr=ct.onError,Mo=ct.wrapperClassName,vo=ct.wrapperStyle,No=ct.rootClassName,ga=(0,oe.Z)(ct,zn),Fa=cn&&cn!==!0,na=(0,ae.Z)(eo)==="object"?eo:{},La=na.src,Qo=na.visible,Ga=Qo===void 0?void 0:Qo,Ca=na.onVisibleChange,Ia=Ca===void 0?Qt:Ca,_a=na.getContainer,ni=_a===void 0?void 0:_a,Ka=na.mask,ja=na.maskClassName,ko=na.movable,Xo=na.icons,Pr=na.scaleStep,Za=na.minScale,hi=na.maxScale,sa=na.imageRender,ya=na.toolbarRender,Qa=(0,oe.Z)(na,Sn),ha=La!=null?La:wt,ua=Oe(!!Ga,{value:Ga,onChange:Ia}),Oa=(0,ce.Z)(ua,2),ai=Oa[0],da=Oa[1],fa=Qe({src:wt,isCustomPlaceholder:Fa,fallback:jn}),Ua=(0,ce.Z)(fa,3),wi=Ua[0],es=Ua[1],ls=Ua[2],cs=(0,be.useState)(null),Mi=(0,ce.Z)(cs,2),pi=Mi[0],yi=Mi[1],Vi=(0,be.useContext)(Ue),zi=!!eo,Gs=function(){da(!1),yi(null)},$s=se()(en,Mo,No,(0,le.Z)({},"".concat(en,"-error"),ls==="error")),us=(0,be.useMemo)(function(){var ts={};return Me.forEach(function(ns){ct[ns]!==void 0&&(ts[ns]=ct[ns])}),ts},Me.map(function(ts){return ct[ts]})),ys=(0,be.useMemo)(function(){return(0,ie.Z)((0,ie.Z)({},us),{},{src:ha})},[ha,us]),Ws=nt(zi,ys),Ss=function(ns){var bs=pe(ns.target),Ts=bs.left,it=bs.top;Vi?Vi.onPreview(Ws,Ts,it):(yi({x:Ts,y:it}),da(!0)),Eo==null||Eo(ns)};return be.createElement(be.Fragment,null,be.createElement("div",(0,re.Z)({},ga,{className:$s,onClick:zi?Ss:Eo,style:(0,ie.Z)({width:Fn,height:rr},vo)}),be.createElement("img",(0,re.Z)({},us,{className:se()("".concat(en,"-img"),(0,le.Z)({},"".concat(en,"-img-placeholder"),cn===!0),co),style:(0,ie.Z)({height:rr},xr),ref:wi},es,{width:Fn,height:rr,onError:kr})),ls==="loading"&&be.createElement("div",{"aria-hidden":"true",className:"".concat(en,"-placeholder")},cn),Ka&&zi&&be.createElement("div",{className:se()("".concat(en,"-mask"),ja),style:{display:(xr==null?void 0:xr.display)==="none"?"none":void 0}},Ka)),!Vi&&zi&&be.createElement(jo,(0,re.Z)({"aria-hidden":!ai,visible:ai,prefixCls:hn,onClose:Gs,mousePosition:pi,src:ha,alt:Bt,fallback:jn,getContainer:ni,icons:Xo,movable:ko,scaleStep:Pr,minScale:Za,maxScale:hi,rootClassName:No,imageRender:sa,imgCommonProps:us,toolbarRender:ya},Qa)))};Nn.PreviewGroup=mn,Nn.displayName="Image";var _t=Nn,yr=_t,Cr=me(33603),hr=me(53124),So=me(24457),wn=me(85846),qn=me(55007),jr=me(79269),ar={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"},Po=ar,so=me(44327),zo=function(ct,wt){return be.createElement(so.Z,(0,re.Z)({},ct,{ref:wt,icon:Po}))},Zo=be.forwardRef(zo),Vo={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"},Ct=Vo,Et=function(ct,wt){return be.createElement(so.Z,(0,re.Z)({},ct,{ref:wt,icon:Ct}))},Wt=be.forwardRef(Et),gn={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"},On=gn,lr=function(ct,wt){return be.createElement(so.Z,(0,re.Z)({},ct,{ref:wt,icon:On}))},Sr=be.forwardRef(lr),Tr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Xr=Tr,lo=function(ct,wt){return be.createElement(so.Z,(0,re.Z)({},ct,{ref:wt,icon:Xr}))},Yr=be.forwardRef(lo),ao={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"},Co=ao,Ro=function(ct,wt){return be.createElement(so.Z,(0,re.Z)({},ct,{ref:wt,icon:Co}))},To=be.forwardRef(Ro),Uo=me(84780),Lo=me(71194),Go=me(14747),Hr=me(50438),Ot=me(16932),Ut=me(67968),Zt=me(45503);const dt=ut=>({position:ut||"absolute",inset:0}),on=ut=>{const{iconCls:ct,motionDurationSlow:wt,paddingXXS:Bt,marginXXS:Qt,prefixCls:an,colorTextLightSolid:en}=ut;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:en,background:new Uo.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${wt}`,[`.${an}-mask-info`]:Object.assign(Object.assign({},Go.vS),{padding:`0 ${Bt}px`,[ct]:{marginInlineEnd:Qt,svg:{verticalAlign:"baseline"}}})}},Mn=ut=>{const{previewCls:ct,modalMaskBg:wt,paddingSM:Bt,marginXL:Qt,margin:an,paddingLG:en,previewOperationColorDisabled:sn,previewOperationHoverColor:hn,motionDurationSlow:cn,iconCls:jn,colorTextLightSolid:Fn}=ut,rr=new Uo.C(wt).setAlpha(.1),xr=rr.clone().setAlpha(.2);return{[`${ct}-footer`]:{position:"fixed",bottom:Qt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:ut.previewOperationColor},[`${ct}-progress`]:{marginBottom:an},[`${ct}-close`]:{position:"fixed",top:Qt,right:{_skip_check_:!0,value:Qt},display:"flex",color:Fn,backgroundColor:rr.toRgbString(),borderRadius:"50%",padding:Bt,outline:0,border:0,cursor:"pointer",transition:`all ${cn}`,"&:hover":{backgroundColor:xr.toRgbString()},[`& > ${jn}`]:{fontSize:ut.previewOperationSize}},[`${ct}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${en}px`,backgroundColor:rr.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Bt,padding:Bt,cursor:"pointer",transition:`all ${cn}`,userSelect:"none",[`&:not(${ct}-operations-operation-disabled):hover > ${jn}`]:{color:hn},"&-disabled":{color:sn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${jn}`]:{fontSize:ut.previewOperationSize}}}}},Hn=ut=>{const{modalMaskBg:ct,iconCls:wt,previewOperationColorDisabled:Bt,previewCls:Qt,zIndexPopup:an,motionDurationSlow:en}=ut,sn=new Uo.C(ct).setAlpha(.1),hn=sn.clone().setAlpha(.2);return{[`${Qt}-switch-left, ${Qt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:an+1,display:"flex",alignItems:"center",justifyContent:"center",width:ut.imagePreviewSwitchSize,height:ut.imagePreviewSwitchSize,marginTop:-ut.imagePreviewSwitchSize/2,color:ut.previewOperationColor,background:sn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${en}`,userSelect:"none","&:hover":{background:hn.toRgbString()},"&-disabled":{"&, &:hover":{color:Bt,background:"transparent",cursor:"not-allowed",[`> ${wt}`]:{cursor:"not-allowed"}}},[`> ${wt}`]:{fontSize:ut.previewOperationSize}},[`${Qt}-switch-left`]:{insetInlineStart:ut.marginSM},[`${Qt}-switch-right`]:{insetInlineEnd:ut.marginSM}}},Ht=ut=>{const{motionEaseOut:ct,previewCls:wt,motionDurationSlow:Bt,componentCls:Qt}=ut;return[{[`${Qt}-preview-root`]:{[wt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${wt}-body`]:Object.assign(Object.assign({},dt()),{overflow:"hidden"}),[`${wt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Bt} ${ct} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},dt()),{transition:`transform ${Bt} ${ct} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${wt}-moving`]:{[`${wt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Qt}-preview-root`]:{[`${wt}-wrap`]:{zIndex:ut.zIndexPopup}}},{[`${Qt}-preview-operations-wrapper`]:{position:"fixed",zIndex:ut.zIndexPopup+1},"&":[Mn(ut),Hn(ut)]}]},Yt=ut=>{const{componentCls:ct}=ut;return{[ct]:{position:"relative",display:"inline-block",[`${ct}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ct}-img-placeholder`]:{backgroundColor:ut.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ct}-mask`]:Object.assign({},on(ut)),[`${ct}-mask:hover`]:{opacity:1},[`${ct}-placeholder`]:Object.assign({},dt())}}},Kt=ut=>{const{previewCls:ct}=ut;return{[`${ct}-root`]:(0,Hr._y)(ut,"zoom"),"&":(0,Ot.J$)(ut,!0)}};var Jt=(0,Ut.Z)("Image",ut=>{const ct=`${ut.componentCls}-preview`,wt=(0,Zt.TS)(ut,{previewCls:ct,modalMaskBg:new Uo.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:ut.controlHeightLG});return[Yt(wt),Ht(wt),(0,Lo.QA)((0,Zt.TS)(wt,{componentCls:ct})),Kt(wt)]},ut=>({zIndexPopup:ut.zIndexPopupBase+80,previewOperationColor:new Uo.C(ut.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Uo.C(ut.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Uo.C(ut.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:ut.fontSizeIcon*1.5})),Xt=function(ut,ct){var wt={};for(var Bt in ut)Object.prototype.hasOwnProperty.call(ut,Bt)&&ct.indexOf(Bt)<0&&(wt[Bt]=ut[Bt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,Bt=Object.getOwnPropertySymbols(ut);Qt<Bt.length;Qt++)ct.indexOf(Bt[Qt])<0&&Object.prototype.propertyIsEnumerable.call(ut,Bt[Qt])&&(wt[Bt[Qt]]=ut[Bt[Qt]]);return wt};const ln={rotateLeft:be.createElement(Zo,null),rotateRight:be.createElement(Wt,null),zoomIn:be.createElement(Yr,null),zoomOut:be.createElement(To,null),close:be.createElement(wn.Z,null),left:be.createElement(qn.Z,null),right:be.createElement(jr.Z,null),flipX:be.createElement(Sr,null),flipY:be.createElement(Sr,{rotate:90})};var Vn=ut=>{var{previewPrefixCls:ct,preview:wt}=ut,Bt=Xt(ut,["previewPrefixCls","preview"]);const{getPrefixCls:Qt}=be.useContext(hr.E_),an=Qt("image",ct),en=`${an}-preview`,sn=Qt(),[hn,cn]=Jt(an),jn=be.useMemo(()=>{var Fn;if(wt===!1)return wt;const rr=typeof wt=="object"?wt:{},xr=se()(cn,(Fn=rr.rootClassName)!==null&&Fn!==void 0?Fn:"");return Object.assign(Object.assign({},rr),{transitionName:(0,Cr.m)(sn,"zoom",rr.transitionName),maskTransitionName:(0,Cr.m)(sn,"fade",rr.maskTransitionName),rootClassName:xr})},[wt]);return hn(be.createElement(yr.PreviewGroup,Object.assign({preview:jn,previewPrefixCls:en,icons:ln},Bt)))},nr=function(ut,ct){var wt={};for(var Bt in ut)Object.prototype.hasOwnProperty.call(ut,Bt)&&ct.indexOf(Bt)<0&&(wt[Bt]=ut[Bt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,Bt=Object.getOwnPropertySymbols(ut);Qt<Bt.length;Qt++)ct.indexOf(Bt[Qt])<0&&Object.prototype.propertyIsEnumerable.call(ut,Bt[Qt])&&(wt[Bt[Qt]]=ut[Bt[Qt]]);return wt};const Er=ut=>{const{prefixCls:ct,preview:wt,className:Bt,rootClassName:Qt,style:an}=ut,en=nr(ut,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:sn,locale:hn=So.Z,getPopupContainer:cn,image:jn}=be.useContext(hr.E_),Fn=sn("image",ct),rr=sn(),xr=hn.Image||So.Z.Image,[br,eo]=Jt(Fn),co=se()(Qt,eo),Eo=se()(Bt,eo,jn==null?void 0:jn.className),kr=be.useMemo(()=>{if(wt===!1)return wt;const vo=typeof wt=="object"?wt:{},{getContainer:No}=vo,ga=nr(vo,["getContainer"]);return Object.assign(Object.assign({mask:be.createElement("div",{className:`${Fn}-mask-info`},be.createElement(he.Z,null),xr==null?void 0:xr.preview),icons:ln},ga),{getContainer:No||cn,transitionName:(0,Cr.m)(rr,"zoom",vo.transitionName),maskTransitionName:(0,Cr.m)(rr,"fade",vo.maskTransitionName)})},[wt,xr]),Mo=Object.assign(Object.assign({},jn==null?void 0:jn.style),an);return br(be.createElement(yr,Object.assign({prefixCls:Fn,preview:kr,rootClassName:co,className:Eo,style:Mo},en)))};Er.PreviewGroup=Vn;var Dn=Er,fr=()=>{const[ut,ct]=(0,be.useState)(""),[wt,Bt]=(0,be.useState)(0);let[Qt,an]=(0,be.useState)(),[en,sn]=(0,be.useState)();const[hn,cn]=(0,be.useState)(!1),jn=(0,be.useRef)("");(0,be.useEffect)(()=>E.Z.subscribe("preview-image",No=>{ct(No),console.log(kr.current),document.body.style.overflow="hidden"}),[]),(0,be.useEffect)(()=>(document.addEventListener("keydown",Fn),()=>{document.removeEventListener("keydown",Fn)}),[]),(0,be.useEffect)(()=>{jn.current=ut},[ut]);function Fn(vo){vo.keyCode==27&&jn.current&&rr()}function rr(){document.body.style.overflow="auto",an(void 0),sn(void 0),Bt(0),ct("")}function xr(){Bt(wt+90)}function br(){Qt=kr.current.width*1.1,en=kr.current.height*1.1,sn(en),an(Qt)}function eo(){Qt=kr.current.width/1.1,en=kr.current.height/1.1,sn(en),an(Qt)}const co=(0,be.useRef)(),Eo=(0,be.useRef)(),kr=(0,be.useRef)(),Mo=vo=>{(vo.nativeEvent.target===co.current||vo.nativeEvent.target===Eo.current)&&rr()};return be.createElement(be.Fragment,null,ut?be.createElement("div",null,be.createElement("div",{className:"preview-wrp-group",ref:Eo},be.createElement(Dn,{className:"image-preview",src:ut,style:{display:"none"},preview:{visible:!0,src:ut,movable:!1,onVisibleChange:vo=>{ct("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57444:function(Tt,ht,me){"use strict";me.d(ht,{h:function(){return ue}});var be=me(67294),_e=me(42563),E=me(91773),he=me(71577),fe=me(4631),se=me.n(fe),re=me(71749),ie=me(30483),le=Object.defineProperty,ce=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)=>ce(de,ae(ge));const b=_e.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"]};ht.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(_e.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:Se},Object.keys(te).map(Pe=>be.createElement(b,{key:Pe,value:Pe},te[Pe][0])))),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},be.createElement(ue,{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 ue({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(xe){const Ee=xe.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(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return Xn}});var be=me(67294),_e=me(4631),E=me.n(_e),he=me(91033),fe=me(71749),se=me(57341),re=me(82801),ie=me(88386),le=me(49047),ce=me(80785),ae=me(85725),oe=({value:Rt="",className:Mt,showTextOnly:Lt,showLines:In,style:Gn={}})=>{const Wn=(0,be.useMemo)(()=>"",[Rt]);return be.createElement(be.Fragment,null,be.createElement("div",{dangerouslySetInnerHTML:{__html:Wn}}))},ne=me(67294),z=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(Rt,Mt,Lt)=>Mt in Rt?z(Rt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Rt[Mt]=Lt,ue=(Rt,Mt)=>{for(var Lt in Mt||(Mt={}))b.call(Mt,Lt)&&te(Rt,Lt,Mt[Lt]);if(x)for(var Lt of x(Mt))ee.call(Mt,Lt)&&te(Rt,Lt,Mt[Lt]);return Rt},de=(Rt,Mt)=>a(Rt,y(Mt));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:Rt,title:Mt,icon:Lt,actionName:In,className:Gn="",children:Wn}){function mr(){Rt(In)}return ne.createElement("a",{title:Mt,className:Gn,onClick:mr},ne.createElement("i",{className:`${Lt}`}),Wn)}var pe=({watch:Rt,showNullButton:Mt,showNullProgramButton:Lt,onActionCallback:In,fullScreen:Gn,insertTemp:Wn,hidetoolBar:mr,extraUse:wr})=>{const Rr=[...ge,{title:`${Rt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Rt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!mr&&Rr.map((qr,mo)=>ne.createElement("li",{key:mo},qr.actionName?ne.createElement(ve,de(ue({},qr),{onActionCallback:In})):ne.createElement("span",{className:"v-line"}))),Mt?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:In},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Lt?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:In},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:In},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Wn&&ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Wn}`,onActionCallback:In},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),wr&&ne.createElement("li",null,wr),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(ve,{icon:`${Gn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Gn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:In})))},Se=me(76621),ye=me(91773),Pe=me(11486),we=me(71577),xe=Object.defineProperty,Ee=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Ue=(Rt,Mt,Lt)=>Mt in Rt?xe(Rt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Rt[Mt]=Lt,je=(Rt,Mt)=>{for(var Lt in Mt||(Mt={}))Oe.call(Mt,Lt)&&Ue(Rt,Lt,Mt[Lt]);if(Ce)for(var Lt of Ce(Mt))Me.call(Mt,Lt)&&Ue(Rt,Lt,Mt[Lt]);return Rt},nt=(Rt,Mt)=>Ee(Rt,Te(Mt));const Ye={labelCol:{span:4},wrapperCol:{span:20}};var Qe=({callback:Rt,onCancel:Mt})=>{function Lt(In){Rt(In)}return be.createElement(ye.default,nt(je({},Ye),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Lt,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:Mt},"\u53D6\u6D88")))},Xe=me(57444),ze=me(70859),ke=me(14446),Be=me(71230),qe=me(63205),Je=me(67294),gt=({callback:Rt,onCancel:Mt})=>{const Lt=document.createElement("canvas"),In=Lt.getContext("2d");Lt.width=1e3,Lt.height=800,In.fillStyle="#ffffff",In.fillRect(0,0,Lt.width,Lt.height);const Gn=Lt.toDataURL("image/png");return Je.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Je.createElement(Be.Z,{style:{height:"100vh"}},Je.createElement(qe.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Gn,visible:!0,title:String(Date.now())},onOk:Wn=>{Rt({src:Wn.url})},onClose:Mt})))},We=me(23495);function $e(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit($e,go.CommandHandler),$e.prototype.canAlignSelection=function(){var Rt=this.diagram;return!(Rt===null||Rt.isReadOnly||Rt.isModelReadOnly||Rt.selection.count<2)},$e.prototype.alignLeft=function(){var Rt=this.diagram;Rt.startTransaction("aligning left");var Mt=1/0;Rt.selection.each(function(Lt){Lt instanceof go.Link||(Mt=Math.min(Lt.position.x,Mt))}),Rt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(Mt,Lt.position.y))}),Rt.commitTransaction("aligning left")},$e.prototype.alignRight=function(){var Rt=this.diagram;Rt.startTransaction("aligning right");var Mt=-1/0;Rt.selection.each(function(Lt){if(!(Lt instanceof go.Link)){var In=Lt.actualBounds.x+Lt.actualBounds.width;Mt=Math.max(In,Mt)}}),Rt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(Mt-Lt.actualBounds.width,Lt.position.y))}),Rt.commitTransaction("aligning right")},$e.prototype.alignTop=function(){var Rt=this.diagram;Rt.startTransaction("alignTop");var Mt=1/0;Rt.selection.each(function(Lt){Lt instanceof go.Link||(Mt=Math.min(Lt.position.y,Mt))}),Rt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(Lt.position.x,Mt))}),Rt.commitTransaction("alignTop")},$e.prototype.alignBottom=function(){var Rt=this.diagram;Rt.startTransaction("aligning bottom");var Mt=-1/0;Rt.selection.each(function(Lt){if(!(Lt instanceof go.Link)){var In=Lt.actualBounds.y+Lt.actualBounds.height;Mt=Math.max(In,Mt)}}),Rt.selection.each(function(Lt){Lt instanceof go.Link||Lt.move(new go.Point(Lt.actualBounds.x,Mt-Lt.actualBounds.height))}),Rt.commitTransaction("aligning bottom")},$e.prototype.alignCenterX=function(){var Rt=this.diagram,Mt=Rt.selection.first();if(Mt){Rt.startTransaction("aligning Center X");var Lt=Mt.actualBounds.x+Mt.actualBounds.width/2;Rt.selection.each(function(In){In instanceof go.Link||In.move(new go.Point(Lt-In.actualBounds.width/2,In.actualBounds.y))}),Rt.commitTransaction("aligning Center X")}},$e.prototype.alignCenterY=function(){var Rt=this.diagram,Mt=Rt.selection.first();if(Mt){Rt.startTransaction("aligning Center Y");var Lt=Mt.actualBounds.y+Mt.actualBounds.height/2;Rt.selection.each(function(In){In instanceof go.Link||In.move(new go.Point(In.actualBounds.x,Lt-In.actualBounds.height/2))}),Rt.commitTransaction("aligning Center Y")}},$e.prototype.alignColumn=function(Rt){var Mt=this.diagram;Mt.startTransaction("align Column"),Rt===void 0&&(Rt=0),Rt=parseFloat(Rt);var Lt=new Array;Mt.selection.each(function(wr){wr instanceof go.Link||Lt.push(wr)});for(var In=0;In<Lt.length-1;In++){var Gn=Lt[In],Wn=Gn.actualBounds.y+Gn.actualBounds.height+Rt,mr=Lt[In+1];mr.move(new go.Point(Gn.actualBounds.x,Wn))}Mt.commitTransaction("align Column")},$e.prototype.alignRow=function(Rt){Rt===void 0&&(Rt=0),Rt=parseFloat(Rt);var Mt=this.diagram;Mt.startTransaction("align Row");var Lt=new Array;Mt.selection.each(function(wr){wr instanceof go.Link||Lt.push(wr)});for(var In=0;In<Lt.length-1;In++){var Gn=Lt[In],Wn=Gn.actualBounds.x+Gn.actualBounds.width+Rt,mr=Lt[In+1];mr.move(new go.Point(Wn,Gn.actualBounds.y))}Mt.commitTransaction("align Row")},$e.prototype.canRotate=function(Rt){var Mt=this.diagram;return!(Mt===null||Mt.isReadOnly||Mt.isModelReadOnly||Mt.selection.count<1)},$e.prototype.rotate=function(Rt){Rt===void 0&&(Rt=90);var Mt=this.diagram;Mt.startTransaction("rotate "+Rt.toString());var Mt=this.diagram;Mt.selection.each(function(Lt){Lt instanceof go.Link||Lt instanceof go.Group||(Lt.angle+=Rt)}),Mt.commitTransaction("rotate "+Rt.toString())},$e.prototype.pullToFront=function(){var Rt=this.diagram;Rt.startTransaction("pullToFront");var Mt=new go.Map;Rt.selection.each(function(Lt){Mt.set(Lt.layer,0)}),Mt.iteratorKeys.each(function(Lt){var In=0;Lt.parts.each(function(Gn){if(!Gn.isSelected){var Wn=Gn.zOrder;isNaN(Wn)?Gn.zOrder=0:In=Math.max(In,Wn)}}),Mt.set(Lt,In)}),Rt.selection.each(function(Lt){$e._assignZOrder(Lt,Mt.get(Lt.layer)+1)}),Rt.commitTransaction("pullToFront")},$e.prototype.pushToBack=function(){var Rt=this.diagram;Rt.startTransaction("pushToBack");var Mt=new go.Map;Rt.selection.each(function(Lt){Mt.set(Lt.layer,0)}),Mt.iteratorKeys.each(function(Lt){var In=0;Lt.parts.each(function(Gn){if(!Gn.isSelected){var Wn=Gn.zOrder;isNaN(Wn)?Gn.zOrder=0:In=Math.min(In,Wn)}}),Mt.set(Lt,In)}),Rt.selection.each(function(Lt){$e._assignZOrder(Lt,Mt.get(Lt.layer)-1-$e._findGroupDepth(Lt))}),Rt.commitTransaction("pushToBack")},$e._assignZOrder=function(Rt,Mt,Lt){Lt===void 0&&(Lt=Rt),Rt.layer===Lt.layer&&(Rt.zOrder=Mt),Rt instanceof go.Group&&Rt.memberParts.each(function(In){$e._assignZOrder(In,Mt+1,Lt)})},$e._findGroupDepth=function(Rt){if(Rt instanceof go.Group){var Mt=0;return Rt.memberParts.each(function(Lt){Mt=Math.max(Mt,$e._findGroupDepth(Lt))}),Mt+1}else return 0},$e.prototype.doKeyDown=function(){var Rt=this.diagram;if(Rt!==null){var Mt=Rt.lastInput;if(Mt.key==="Up"||Mt.key==="Down"||Mt.key==="Left"||Mt.key==="Right"){var Lt=this.arrowKeyBehavior;if(Lt==="none")return;if(Lt==="select"){this._arrowKeySelect();return}else if(Lt==="move"){this._arrowKeyMove();return}else if(Lt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},$e.prototype._getAllParts=function(){var Rt=new Array;return this.diagram.nodes.each(function(Mt){Rt.push(Mt)}),this.diagram.parts.each(function(Mt){Rt.push(Mt)}),Rt},$e.prototype._arrowKeyMove=function(){var Rt=this.diagram,Mt=Rt.lastInput,Lt=0,In=0;if(Mt.control||Mt.meta)Lt=1,In=1;else if(Rt.grid!==null){var Gn=Rt.grid.gridCellSize;In=Gn.width,Lt=Gn.height}Rt.startTransaction("arrowKeyMove"),Rt.selection.each(function(Wn){Mt.key==="Up"?Wn.move(new go.Point(Wn.actualBounds.x,Wn.actualBounds.y-Lt)):Mt.key==="Down"?Wn.move(new go.Point(Wn.actualBounds.x,Wn.actualBounds.y+Lt)):Mt.key==="Left"?Wn.move(new go.Point(Wn.actualBounds.x-In,Wn.actualBounds.y)):Mt.key==="Right"&&Wn.move(new go.Point(Wn.actualBounds.x+In,Wn.actualBounds.y))}),Rt.commitTransaction("arrowKeyMove")},$e.prototype._arrowKeySelect=function(){var Rt=this.diagram,Mt=Rt.lastInput,Lt=null;Mt.key==="Up"?Lt=this._findNearestPartTowards(270):Mt.key==="Down"?Lt=this._findNearestPartTowards(90):Mt.key==="Left"?Lt=this._findNearestPartTowards(180):Mt.key==="Right"&&(Lt=this._findNearestPartTowards(0)),Lt!==null&&(Mt.shift?Lt.isSelected=!0:Mt.control||Mt.meta?Lt.isSelected=!Lt.isSelected:Rt.select(Lt))},$e.prototype._findNearestPartTowards=function(Rt){var Mt=this.diagram.selection.first();if(Mt===null)return null;for(var Lt=Mt.actualBounds.center,In=this._getAllParts(),Gn=1/0,Wn=Mt,mr=0;mr<In.length;mr++){var wr=In[mr];if(wr!==Mt&&wr.canSelect()){var Rr=wr.actualBounds.center,qr=Lt.directionPoint(Rr),mo=this._angleCloseness(qr,Rt);if(mo<=45){var Tn=Lt.distanceSquaredPoint(Rr);Tn*=1+Math.sin(mo*Math.PI/180),Tn<Gn&&(Gn=Tn,Wn=wr)}}}return Wn},$e.prototype._angleCloseness=function(Rt,Mt){return Math.min(Math.abs(Mt-Rt),Math.min(Math.abs(Mt+360-Rt),Math.abs(Mt-360-Rt)))},$e.prototype._arrowKeyTree=function(){var Rt=this.diagram,Mt=Rt.selection.first();if(Mt instanceof go.Node){var Lt=Rt.lastInput;if(Lt.key==="Right"){if(!Mt.isTreeLeaf)if(!Mt.isTreeExpanded)Rt.commandHandler.canExpandTree(Mt)&&Rt.commandHandler.expandTree(Mt);else{var In=this._sortTreeChildrenByY(Mt).first();In!==null&&Rt.select(In)}}else if(Lt.key==="Left")if(!Mt.isTreeLeaf&&Mt.isTreeExpanded)Rt.commandHandler.canCollapseTree(Mt)&&Rt.commandHandler.collapseTree(Mt);else{var Gn=Mt.findTreeParentNode();Gn!==null&&Rt.select(Gn)}else if(Lt.key==="Up"){var Gn=Mt.findTreeParentNode();if(Gn!==null){var Wn=this._sortTreeChildrenByY(Gn),mr=Wn.indexOf(Mt);if(mr>0){for(var wr=Wn.elt(mr-1);wr!==null&&wr.isTreeExpanded&&!wr.isTreeLeaf;){var Rr=this._sortTreeChildrenByY(wr);wr=Rr.last()}wr!==null&&Rt.select(wr)}else Rt.select(Gn)}}else if(Lt.key==="Down")if(Mt.isTreeExpanded&&!Mt.isTreeLeaf){var In=this._sortTreeChildrenByY(Mt).first();In!==null&&Rt.select(In)}else for(;Mt!==null;){var Gn=Mt.findTreeParentNode();if(Gn===null)break;var Wn=this._sortTreeChildrenByY(Gn),mr=Wn.indexOf(Mt);if(mr<Wn.length-1){Rt.select(Wn.elt(mr+1));break}else Mt=Gn}var qr=Rt.selection.first();qr!==null&&Rt.scrollToRect(qr.actualBounds)}},$e.prototype._sortTreeChildrenByY=function(Rt){var Mt=new go.List().addAll(Rt.findTreeChildrenNodes());return Mt.sort(function(Lt,In){var Gn=Lt.location,Wn=In.location;return Gn.y<Wn.y?-1:Gn.y>Wn.y?1:Gn.x<Wn.x?-1:Gn.x>Wn.x?1:0}),Mt},$e.prototype.copyToClipboard=function(Rt){go.CommandHandler.prototype.copyToClipboard.call(this,Rt),this._lastPasteOffset.set(this.pasteOffset)},$e.prototype.pasteFromClipboard=function(){var Rt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Rt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Rt},Object.defineProperty($e.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Rt){if(Rt!=="move"&&Rt!=="select"&&Rt!=="scroll"&&Rt!=="tree"&&Rt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Rt);this._arrowKeyBehavior=Rt}}),Object.defineProperty($e.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Rt){if(!(Rt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Rt);this._pasteOffset.set(Rt)}});var Re=$e,tt=me(18023),Ie=me(15746),He=me(33170),Ve={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ze=me(67294),Ke=(Rt,Mt,Lt)=>new Promise((In,Gn)=>{var Wn=Rr=>{try{wr(Lt.next(Rr))}catch(qr){Gn(qr)}},mr=Rr=>{try{wr(Lt.throw(Rr))}catch(qr){Gn(qr)}},wr=Rr=>Rr.done?In(Rr.value):Promise.resolve(Rr.value).then(Wn,mr);wr((Lt=Lt.apply(Rt,Mt)).next())});function Ae({onCancel:Rt,callback:Mt}){let Lt=(0,be.useRef)(),In=(0,be.useRef)(),Gn=(0,be.useRef)(),Wn=(0,be.useRef)(!1);const mr=(0,be.useRef)(!1),[wr,Rr]=(0,be.useState)(0);function qr(){const Tn=We.bx.make,Ur={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"};Lt.current=new We.S0(In.current,{padding:20,grid:Tn(We.s_,"Grid",Tn(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Tn(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:wn=>{var qn=wn.diagram.commandHandler.addTopLevelParts(wn.diagram.selection,!0);qn||wn.diagram.currentTool.doCancel()},commandHandler:Tn(Re),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:wn=>{var qn=wn.subject;qn.location=qn.location.copy().snapToGridPoint(wn.diagram.grid.gridOrigin,wn.diagram.grid.gridCellSize),setTimeout(()=>{wn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:wn=>{var qn=wn.subject;setTimeout(()=>{wn.diagram.commandHandler.editTextBlock()})},LinkRelinked:wn=>{var qn=wn.parameter.part;qn.invalidateConnectedLinks();var jr=wn.subject;wn.diagram.toolManager.linkingTool.isForwards?jr.toNode.invalidateConnectedLinks():jr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Lt.current.nodeTemplate=Tn(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),Tn(We.bn,{name:"SHAPE",fill:Ur.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")),Tn(We.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Tn(We.al,{margin:1,textAlign:"center",overflow:We.al.OverflowEllipsis,editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),Lt.current.nodeTemplate.toolTip=Tn("ToolTip",Tn(We.s_,"Vertical",{maxSize:new We.$u(200,NaN)},Tn(We.al,{font:"bold 10pt sans-serif",textAlign:"center"},new We.KX("text")),Tn(We.al,{font:"10pt sans-serif",textAlign:"center"},new We.KX("text","details"))));function bo(wn,qn){var jr=(ar,Po)=>{ar.handled=!0,ar.diagram.model.commit(so=>{var zo=Po.part.adornedPart,Zo=new We.E9().setRectSpot(zo.actualBounds,wn);Zo.subtract(zo.location),Zo.scale(2,2),Zo.x+=Math.sign(Zo.x)*130,Zo.y+=Math.sign(Zo.y)*130,Zo.add(zo.location),Zo.snapToGridPoint(ar.diagram.grid.gridOrigin,ar.diagram.grid.gridCellSize);var Vo=so.copyNodeData(zo.data);so.setGroupKeyForNodeData(Vo,so.getGroupKeyForNodeData(zo.data)),so.addNodeData(Vo);var Ct={from:zo.key,to:so.getKeyForNodeData(Vo)};so.addLinkData(Ct);var Et=ar.diagram.findNodeForData(Vo);Et.location=Zo,ar.diagram.select(Et),setTimeout(()=>{ar.diagram.commandHandler.editTextBlock()},20)})};return Tn(We.bn,{figure:qn,alignment:wn,alignmentFocus:wn.opposite(),width:wn.equals(We.z6.Top)||wn.equals(We.z6.Bottom)?25:18,height:wn.equals(We.z6.Top)||wn.equals(We.z6.Bottom)?18:25,fill:"orange",stroke:Ur.white,strokeWidth:4,mouseEnter:(ar,Po)=>Po.fill="dodgerblue",mouseLeave:(ar,Po)=>Po.fill="orange",isActionable:!0,click:jr,contextClick:jr})}function ca(wn){return Tn(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:(qn,jr)=>jr.fill="dodgerblue",mouseLeave:(qn,jr)=>jr.fill="orange",click:(qn,jr)=>{qn.diagram.commandHandler.showContextMenu(jr.part.adornedPart)}},wn||{})}Lt.current.nodeTemplate.selectionAdornmentTemplate=Tn(We.uz,"Spot",Tn(We.Vm,{padding:10}),bo(We.z6.Top,"TriangleUp"),bo(We.z6.Left,"TriangleLeft"),bo(We.z6.Right,"TriangleRight"),bo(We.z6.Bottom,"TriangleDown"),ca({alignment:new We.z6(.75,0)}));function Ko(wn,qn){return(jr,ar)=>{jr.handled=!0,jr.diagram.model.commit(Po=>{Po.set(ar.part.adornedPart.data,wn,qn)})}}function jo(wn,qn){return qn||(qn="color"),Tn(We.bn,{width:16,height:16,stroke:"lightgray",fill:wn,margin:1,background:"transparent",mouseEnter:(jr,ar)=>ar.stroke="dodgerblue",mouseLeave:(jr,ar)=>ar.stroke="lightgray",click:Ko(qn,wn),contextClick:Ko(qn,wn)})}function ia(){return[Tn("ContextMenuButton",Tn(We.s_,"Horizontal",jo(Ur.white,"fill"),jo(Ur.beige,"fill"),jo(Ur.extralightblue,"fill"),jo(Ur.extralightred,"fill"))),Tn("ContextMenuButton",Tn(We.s_,"Horizontal",jo(Ur.lightgray,"fill"),jo(Ur.lightgreen,"fill"),jo(Ur.lightblue,"fill"),jo(Ur.lightred,"fill")))]}function ho(){return[Tn("ContextMenuButton",Tn(We.s_,"Horizontal",jo(Ur.black),jo(Ur.green),jo(Ur.blue),jo(Ur.red))),Tn("ContextMenuButton",Tn(We.s_,"Horizontal",jo(Ur.white),jo(Ur.magenta),jo(Ur.purple),jo(Ur.orange)))]}function Dt(wn,qn){return qn||(qn="thickness"),Tn(We.bn,"LineH",{width:16,height:16,strokeWidth:wn,margin:1,background:"transparent",mouseEnter:(jr,ar)=>ar.background="dodgerblue",mouseLeave:(jr,ar)=>ar.background="transparent",click:Ko(qn,wn),contextClick:Ko(qn,wn)})}function nn(wn,qn){return qn||(qn="dash"),Tn(We.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:wn,margin:1,background:"transparent",mouseEnter:(jr,ar)=>ar.background="dodgerblue",mouseLeave:(jr,ar)=>ar.background="transparent",click:Ko(qn,wn),contextClick:Ko(qn,wn)})}function rn(){return[Tn("ContextMenuButton",Tn(We.s_,"Horizontal",Dt(1),Dt(2),Dt(3),Dt(4))),Tn("ContextMenuButton",Tn(We.s_,"Horizontal",nn(null),nn([2,4]),nn([4,4])))]}function mn(wn,qn){return qn||(qn="figure"),Tn(We.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:wn,margin:1,background:"transparent",mouseEnter:(jr,ar)=>ar.fill="dodgerblue",mouseLeave:(jr,ar)=>ar.fill="lightgray",click:Ko(qn,wn),contextClick:Ko(qn,wn)})}Lt.current.nodeTemplate.contextMenu=Tn("ContextMenu",Tn("ContextMenuButton",Tn(We.s_,"Horizontal",mn("Rectangle"),mn("RoundedRectangle"),mn("Ellipse"),mn("Diamond"))),Tn("ContextMenuButton",Tn(We.s_,"Horizontal",mn("Parallelogram2"),mn("ManualOperation"),mn("Procedure"),mn("Cylinder1"))),Tn("ContextMenuButton",Tn(We.s_,"Horizontal",mn("Terminator"),mn("CreateRequest"),mn("Document"),mn("TriangleDown"))),ia(),ho(),rn()),Lt.current.groupTemplate=Tn(We.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:We.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(wn,qn)=>{var jr=qn.addMembers(qn.diagram.selection,!0);jr||qn.diagram.currentTool.doCancel()},avoidable:!1},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),Tn(We.s_,"Auto",{name:"BODY"},Tn(We.bn,{parameter1:10,fill:Ur.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")),Tn(We.Vm,{background:"transparent",margin:20})),Tn(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"))),Lt.current.groupTemplate.selectionAdornmentTemplate=Tn(We.uz,"Spot",Tn(We.s_,"Auto",Tn(We.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Tn(We.Vm,{margin:1.5})),ca({alignment:We.z6.TopRight,alignmentFocus:We.z6.BottomRight})),Lt.current.groupTemplate.contextMenu=Tn("ContextMenu",ia(),ho(),rn()),Lt.current.linkTemplate=Tn(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",wn=>wn>=1?10:0),new We.KX("toShortLength","dir",wn=>wn>=1?10:0),new We.KX("points").makeTwoWay(),Tn(We.bn,{strokeWidth:2},new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),Tn(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",wn=>wn===1)),Tn(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",wn=>wn>=1),new We.KX("width","thickness",wn=>7+3*wn),new We.KX("height","thickness",wn=>7+3*wn),new We.KX("segmentOffset","thickness",wn=>new We.E9(-15,4+1.5*wn))),Tn(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",wn=>wn===2),new We.KX("width","thickness",wn=>7+3*wn),new We.KX("height","thickness",wn=>7+3*wn),new We.KX("segmentOffset","thickness",wn=>new We.E9(-15,4+1.5*wn))),Tn(We.al,{alignmentFocus:new We.z6(0,1,-4,0),editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),Lt.current.linkTemplate.selectionAdornmentTemplate=Tn(We.uz,Tn(We.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:zn(2)},new We.KX("pathPattern","thickness",zn)),ca({alignmentFocus:new We.z6(0,0,-6,-4)}));function zn(wn){return Tn(We.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(wn+4).toString()+" H3"})}function Sn(wn){var qn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return wn===0?qn="M0 0 M16 16 M0 8 L16 8":wn===2&&(qn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Tn(We.bn,{geometryString:qn,margin:2,background:"transparent",mouseEnter:(jr,ar)=>ar.background="dodgerblue",mouseLeave:(jr,ar)=>ar.background="transparent",click:Ko("dir",wn),contextClick:Ko("dir",wn)})}function Nn(wn){var qn=(jr,ar)=>{jr.handled=!0,jr.diagram.model.commit(Po=>{var so=ar.part.adornedPart;Po.set(so.data,wn?"toSpot":"fromSpot",We.z6.stringify(We.z6.AllSides)),(wn?so.toNode:so.fromNode).invalidateConnectedLinks()})};return Tn(We.bn,{width:12,height:12,fill:"transparent",mouseEnter:(jr,ar)=>ar.background="dodgerblue",mouseLeave:(jr,ar)=>ar.background="transparent",click:qn,contextClick:qn})}function _t(wn,qn){var jr=0,ar=We.z6.RightSide;wn.equals(We.z6.Top)?(jr=270,ar=We.z6.TopSide):wn.equals(We.z6.Left)?(jr=180,ar=We.z6.LeftSide):wn.equals(We.z6.Bottom)&&(jr=90,ar=We.z6.BottomSide),qn||(jr-=180);var Po=(so,zo)=>{so.handled=!0,so.diagram.model.commit(Zo=>{var Vo=zo.part.adornedPart;Zo.set(Vo.data,qn?"toSpot":"fromSpot",We.z6.stringify(ar)),(qn?Vo.toNode:Vo.fromNode).invalidateConnectedLinks()})};return Tn(We.bn,{alignment:wn,alignmentFocus:wn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:jr,background:"transparent",mouseEnter:(so,zo)=>zo.background="dodgerblue",mouseLeave:(so,zo)=>zo.background="transparent",click:Po,contextClick:Po})}Lt.current.linkTemplate.contextMenu=Tn("ContextMenu",ho(),rn(),Tn("ContextMenuButton",Tn(We.s_,"Horizontal",Sn(0),Sn(1),Sn(2))),Tn("ContextMenuButton",Tn(We.s_,"Horizontal",Tn(We.s_,"Spot",Nn(!1),_t(We.z6.Top,!1),_t(We.z6.Left,!1),_t(We.z6.Right,!1),_t(We.z6.Bottom,!1)),Tn(We.s_,"Spot",{margin:new We.Zt(0,0,0,2)},Nn(!0),_t(We.z6.Top,!0),_t(We.z6.Left,!0),_t(We.z6.Right,!0),_t(We.z6.Bottom,!0)))));const yr=`{ "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 Cr=["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 hr(wn){return console.log("shapeName:",wn),Cr.indexOf(wn)>=0}var So=new We.YI(Gn.current,{maxSelectionCount:1,linkTemplate:Tn(We.rU,{locationSpot:We.z6.Center,selectionAdornmentTemplate:Tn(We.uz,"Link",{locationSpot:We.z6.Center},Tn(We.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Tn(We.bn,{toArrow:"Standard",stroke:null}))},{routing:We.rU.AvoidsNodes,curve:We.rU.JumpOver,corner:5,toShortLength:4},new We.KX("points"),Tn(We.bn,{isPanelMain:!0,strokeWidth:2}),Tn(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(wn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:wn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Lt.current.addDiagramListener("TextEdited",function(wn){var qn;const jr=wn.subject.part;var ar=(qn=document.activeElement)==null?void 0:qn.value;typeof ar=="string"&&ar.trim()===""&&Lt.current.model.commit(function(Po){Po.set(jr.data,"text","\u672A\u547D\u540D"),Lt.current.commandHandler.stopCommand()},"increment")}),So.nodeTemplate=Tn(We.NB,"Auto",{locationSpot:We.z6.Center},new We.KX("location","location",We.E9.parse).makeTwoWay(We.E9.stringify),Tn(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")),Tn(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(()=>{Lt.current.grid=Tn(We.s_,"Grid",Tn(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Tn(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Lt.current.grid.visible=!0,Lt.current.grid.gridCellStroke="darkgray",Lt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Lt.current,Lt.current}const mo=()=>Ke(this,null,function*(){var Tn=Lt.current.makeImage();const Ur=yield(0,He.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Tn.src}});Mt({src:Ur.url})});return(0,be.useEffect)(()=>(setTimeout(()=>{qr()},500),Rr(wr+1),()=>{Lt.current=null}),[]),Ze.createElement("div",{ref:mr,className:Wn.current?`${Ve.maxH60} body-overflow-initial`:"body-overflow-initial"},Ze.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!wr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ze.createElement(Be.Z,null,Ze.createElement(Ie.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ze.createElement(Ie.Z,{onClick:()=>{var Tn,Ur,bo=Lt.current.selection.first();if(Wn.current=!Wn.current,document.activeElement&&bo){let ca=(Ur=(Tn=document.activeElement)==null?void 0:Tn.value)==null?void 0:Ur.trim();typeof ca=="string"&&Lt.current.model.commit(function(Ko){Ko.set(bo.data,"text",ca||"\u672A\u547D\u540D"),Lt.current.commandHandler.stopCommand()},"increment")}Rr(wr+1)}},Ze.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Rt},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:Gn})),Ze.createElement("div",{style:{flex:1,position:"relative"}},Ze.createElement("div",{ref:In,style:{height:"80vh"}}))),Ze.createElement("div",{className:"tr"},Ze.createElement(we.ZP,{size:"large",onClick:mo,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Le=Ae,Ne=me(78045),Ge=me(42405);const rt=Ne.ZP.Group,St={margin:"0 8px"};var Pt=({callback:Rt,onCancel:Mt})=>{function Lt(In){Rt(In)}return be.createElement(ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Lt},be.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},be.createElement("span",{style:St},"\u5355\u5143\u683C\u6570\uFF1A"),be.createElement("span",{style:St},"\u884C\u6570"),be.createElement(ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},be.createElement(Ge.Z,null)),be.createElement("span",{style:St},"\u5217\u6570"),be.createElement(ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},be.createElement(Ge.Z,null))),be.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},be.createElement("span",{style:St},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),be.createElement(ye.default.Item,{name:"align"},be.createElement(rt,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:Mt},"\u53D6\u6D88")))},At=me(47897),bn=me(61016),$t=me.n(bn),st=(0,be.forwardRef)(({use3d:Rt,width:Mt,height:Lt,callback:In,showSaveButton:Gn},Wn)=>{const mr=(0,be.useRef)(),wr=(0,be.useRef)(),[Rr,qr]=(0,be.useState)(!1),mo=(0,be.useRef)({id:mr,appName:"graphing",width:Mt||1e3,height:Lt||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)(()=>{wr.current=new($t())(mo.current,!0),window.onload=function(){wr.current.inject("applet_container")}},[]);const Tn=()=>{var Ur=window.ggbApplet.getPNGBase64(1,!0,72);return In&&In(Ur),Ur};return(0,be.useEffect)(()=>{mo.current.appName=Rr?"3D":"graphing",wr.current.inject("applet_container")},[Rr]),(0,be.useEffect)(()=>{qr(Rt)},[Rt]),(0,be.useImperativeHandle)(Wn,()=>({getImgData:Tn})),be.createElement(be.Fragment,null,be.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:mr}),be.createElement(Be.Z,{align:"middle"},be.createElement(Ie.Z,{flex:1},be.createElement(At.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Rr,onChange:Ur=>qr(Ur)})),be.createElement(Ie.Z,null,be.createElement(we.ZP,{size:"large",onClick:Tn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),zt=me(36527),ot=me(25934),at=me(2453);const bt="link",Ft="upload-image",kt="add-flowchart",un="draw-image",fn="add-flowchart",vn="code-block",An="add-table",vr="------------",yn={default:vr,left:`:${vr}`,center:`:${vr}:`,right:`${vr}:`};var cr=me(99914),Zr=(Rt,Mt,Lt)=>new Promise((In,Gn)=>{var Wn=Rr=>{try{wr(Lt.next(Rr))}catch(qr){Gn(qr)}},mr=Rr=>{try{wr(Lt.throw(Rr))}catch(qr){Gn(qr)}},wr=Rr=>Rr.done?In(Rr.value):Promise.resolve(Rr.value).then(Wn,mr);wr((Lt=Lt.apply(Rt,Mt)).next())});function Gr(){}let ro=0;const oo=1e4,po="\u2581",Pn="@\u2581\u2581@",dn="@\u2581@",Bn=`
**\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`,Rn=["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 Un(Rt){return/^\d+$/.test(Rt)?`${Rt}px`:Rt}const gr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Br={[gr+"-B"]:"bold",[gr+"-I"]:"italic"},dr={[bt]:"\u6DFB\u52A0\u94FE\u63A5",[vn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ft]:"\u6DFB\u52A0\u56FE\u7247",[un]:"\u6DFB\u52A0\u753B\u56FE",[kt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[An]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Xn=({defaultValue:Rt="",onChange:Mt,width:Lt="100%",height:In=400,miniToolbar:Gn=!1,isFocus:Wn=!1,watch:mr,insertTemp:wr,mode:Rr="markdown",id:qr="markdown-editor-id",showResizeBar:mo=!1,noStorage:Tn=!1,showNullButton:Ur=!1,showNullProgramButton:bo=!1,hidetoolBar:ca=!1,fullScreen:Ko=!1,onBlur:jo,onCMBeforeChange:ia,onFullScreen:ho,className:Dt="",disablePaste:nn=!1,disabled:rn=!1,disabledFill:mn=!1,placeholder:zn="",values:Sn="",extraUse:Nn})=>{const[_t,yr]=(0,be.useState)(null),[Cr,hr]=(0,be.useState)(Rt),[So,wn]=(0,be.useState)(mr),[qn,jr]=(0,be.useState)(Ko),[ar,Po]=(0,be.useState)(""),[so,zo]=(0,be.useState)(0),[Zo,Vo]=(0,be.useState)(In),[Ct,Et]=(0,be.useState)(!1),Wt=(0,be.useRef)((0,ot.Z)()),gn=(0,be.useRef)(!1),On=(0,be.useRef)(),[lr,Sr]=(0,be.useState)(0),[Tr,Xr]=(0,be.useState)(0),lo=(0,be.useRef)(),Yr=(0,be.useRef)(),ao=(0,be.useRef)(),Co=(0,be.useRef)(),Ro=()=>Zr(void 0,null,function*(){var Jt;const Xt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Wt.current}});(Jt=Xt==null?void 0:Xt.attachments)!=null&&Jt.length&&(console.log("cm:",_t,lo),Xt.attachments.map(ln=>{ln.content_type.indexOf("image")>-1?_t.replaceSelection(`![,](/api/attachments/${ln.id}?type=${ln.content_type})`):ln.content_type.indexOf("video")>-1?_t.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):ln.content_type.indexOf("pdf")>-1?_t.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${ln.id}?type=${ln.content_type}&disposition=inline" target="_blank">${ln.name}</a>`):_t.replaceSelection(`[${ln.name}](${ENV.API_SERVER}/api/attachments/${ln.id}?type=${ln.content_type})`)}))});(0,be.useEffect)(()=>{const Jt=window.scrollY||window.pageYOffset;hr(Sn),_t==null||_t.setValue(Sn),window.scrollTo(0,Jt)},[Sn]),(0,be.useEffect)(()=>{ho==null||ho(qn)},[qn]),(0,be.useEffect)(()=>{if(lo.current){let Jt=function(ln,pn){var Vn;if(nn){pn.preventDefault();return}const nr=pn.clipboardData;if(nr){const Er=nr.types.toString(),Dn=nr.items;if(Er==="Files"||nr.types.indexOf("Files")>-1){if(pn.preventDefault(),Rr=="stex")return;try{let fr=Dn[1];((Vn=Dn[0])==null?void 0:Vn.kind)==="file"&&(fr=Dn[0]);const ut=fr.getAsFile(),ct=ut.name.split(".").pop();(0,ze.I)(ut,wt=>{var Bt,Qt,an;wt.id?((Bt=ut==null?void 0:ut.type)==null?void 0:Bt.indexOf("image"))>-1?Xt.replaceSelection(`<img width="100%" src="/api/attachments/${wt.id}?type=${wt.content_type})" alt="" />`):((Qt=ut==null?void 0:ut.type)==null?void 0:Qt.indexOf("video"))>-1?Xt.replaceSelection(`<video width="100%" controls src="/api/attachments/${wt.id}"></video>`):((an=ut==null?void 0:ut.type)==null?void 0:an.indexOf("pdf"))>-1?Xt.replaceSelection(`<a href="/api/attachments/${wt.id}?type=${ut.type}&disposition=inline" target="_blank">${ut.name}</a>`):Rn.includes(ct)?Xt.replaceSelection(`<a href="/api/attachments/${wt.id}?type=office&disposition=inline" target="_blank">${ut.name}</a>`):Xt.replaceSelection(`[${ut.name}](/api/attachments/${wt.id}?type=${wt.content_type})`):(wt==null?void 0:wt.status)===401&&(at.ZP.warning((wt==null?void 0:wt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(fr){at.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Xt=E().fromTextArea(lo.current,{mode:Rr,lineNumbers:!Gn,lineWrapping:!0,value:Rt,autoCloseTags:!bo,autoCloseBrackets:!0});return Xt.on("keyup",function(ln,pn){pn.keyCode===8&&(ln.getValue()==""?Xt.setOption("placeholder",zn):Xt.setOption("placeholder",null))}),Xt.on("keydown",function(ln,pn){if(pn.keyCode===8){var Vn=Uo(ln);Vn&&pn.preventDefault()}}),Wn&&Xt.focus(),Xt.on("paste",Jt),Xt.on("dragleave",function(ln,pn){Yr.current.classList.remove("mouse-hover-md")}),rn&&Xt.on("beforeChange",function(ln,pn){(pn.origin==="paste"||pn.origin==="+input")&&pn.cancel()}),yr(Xt),()=>{Xt.off("paste",Jt)}}},[]);const To=(0,be.useCallback)(()=>{if(Yr.current)try{}catch(Jt){console.log(Jt,"---- to set md editor body height")}},[Zo,Yr,qn]);(0,be.useEffect)(()=>{function Jt(){let Xt=new he.Z(ln=>{for(let pn of ln)(pn.target.offsetHeight>0||pn.target.offsetWidth>0)&&(To(),_t.setSize("100%","100%"),_t.refresh())});return Xt.observe(lo.current.parentElement),Xt}if(_t){const Xt=Jt();return()=>{var ln,pn;(ln=lo.current)!=null&&ln.parentElement&&Xt.unobserve((pn=lo.current)==null?void 0:pn.parentElement)}}},[_t,To]),(0,be.useEffect)(()=>{if(_t){let Jt=[];for(const[Xt,ln]of Object.entries(Br)){let pn={[Xt]:()=>{Lo(ln)}};Jt.push(pn),_t.addKeyMap(pn)}return On.current=setInterval(()=>{gn.current&&Ro()},4e3),()=>{clearInterval(On.current);for(let Xt of Jt)_t.removeKeyMap(Xt)}}},[_t]),(0,be.useEffect)(()=>{Ko!==qn&&jr(Ko)},[Ko]),(0,cr.Z)(()=>{if(!Tn&&so>0){let Jt=new Date().getTime(),Xt=window.sessionStorage.getItem(qr);Jt>=so+oo&&(!Xt||Xt!==Cr)&&(window.sessionStorage.setItem(qr,Cr),Et(!0))}},oo),(0,be.useEffect)(()=>{wn(mr)},[_t,mr]),(0,be.useEffect)(()=>{_t&&Wn&&_t.focus()},[_t,Wn]),(0,be.useEffect)(()=>{if(So&&_t){let Jt=function(ln){let pn=ln.target;if(Co.current){let Vn=pn.scrollTop/pn.scrollHeight;Co.current.scrollTop=Co.current.scrollHeight*Vn}};const Xt=_t.getScrollerElement();return Xt.addEventListener("scroll",Jt),()=>{Xt.removeEventListener("scroll",Jt)}}},[_t,So]),(0,be.useEffect)(()=>{if(_t&&ia){let Jt=function(Xt,ln){ia(Xt,ln)};return _t.on("beforeChange",Jt),()=>{_t.off("beforeChange",Jt)}}},[_t,ia]),(0,be.useEffect)(()=>{if(_t&&jo){let Jt=function(){jo(_t.getValue())};return _t.on("blur",Jt),()=>{_t.off("blur",Jt)}}},[_t,jo]);function Uo(Jt,Xt){var ln=Jt.getDoc(),pn=ln.getCursor(),Vn=ln.getLine(pn.line),nr=Vn.charAt(pn.ch-1),Er=Vn.lastIndexOf("@\u2581@",pn.ch),Dn=Vn.lastIndexOf("@\u2581\u2581@",pn.ch),fr=Er>Dn?Er:Dn,ut=Er>Dn?3:4;if(Pn.indexOf(nr)===-1)return null;if(console.log("change1:",Xt,Jt,Vn,pn,fr,Er,Dn,nr),fr>=0&&pn.ch-fr<5){var ct=fr+ut;return ln.replaceRange("",{line:pn.line,ch:fr},{line:pn.line,ch:ct}),{line:pn.line,ch:ct}}return null}(0,be.useEffect)(()=>{if(_t){let Jt=function(Xt,ln){const pn=Xt.getValue();hr(pn),zo(new Date().getTime()),Xt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Mt&&(bo?Mt(pn,Mn(pn)):Mt(pn))};return _t.on("change",Jt),()=>{_t.off("change",Jt)}}},[_t,Mt]),(0,be.useEffect)(()=>{if(_t)if(Rt==null)_t.setValue(""),hr("");else{const Jt=window.scrollY||window.pageYOffset;Rt!==_t.getValue()&&(_t.setValue(Rt),hr(Rt),_t.setCursor(rn?1:_t.lineCount(),0),window.scrollTo(0,Jt))}},[_t,Rt]);const Lo=(0,be.useCallback)(Jt=>{const Xt=_t.getCursor(),ln=_t.getSelection();let pn=ln.split(`
`);switch(Jt){case"bold":return _t.replaceSelection("**"+ln+"**"),ln===""&&_t.setCursor(Xt.line,Xt.ch+2),_t.focus();case"italic":return _t.replaceSelection("*"+ln+"*"),ln===""&&_t.setCursor(Xt.line,Xt.ch+1),_t.focus();case"code":return _t.replaceSelection("`"+ln+"`"),ln===""&&_t.setCursor(Xt.line,Xt.ch+1),_t.focus();case"inline-latex":return Po("inline-latex"),_t.focus();case"latex":return _t.replaceSelection("```latex\n"+ln+"\n```"),_t.setCursor(Xt.line+1,ln.length+1),_t.focus();case"line-break":return _t.replaceSelection(`<br/>
`),_t.focus();case"list-ul":return ln===""?_t.replaceSelection("- "+ln):_t.replaceSelection(pn.map(Vn=>Vn===""?"":`- ${Vn}`).join(`
`)),_t.focus();case"list-ol":return ln===""?_t.replaceSelection("1. "+ln):_t.replaceSelection(pn.map((Vn,nr)=>Vn===""?"":`${nr+1}. ${Vn}`).join(`
`)),_t.focus();case"add-null-ch":return ln===""&&_t.setCursor(Xt.line,Xt.ch),_t.replaceSelection(po),_t.focus();case"add-signal":return ln===""&&_t.setCursor(Xt.line,Xt.ch),_t.replaceSelection(dn),_t.focus();case"add-multiple":return ln===""&&_t.setCursor(Xt.line,Xt.ch),_t.replaceSelection(Pn),_t.focus();case"inster-template-1":return ln===""&&_t.setCursor(Xt.line,Xt.ch),_t.replaceSelection(Bn),_t.focus();case"eraser":return _t.setValue(""),_t.focus();case"trigger-watch":return wn(!So),_t.focus();case"trigger-full-screen":return jr(!qn),_t.focus();case bt:Po(bt);return;case vn:Po(vn);return;case Ft:Po(Ft);return;case un:Po(un);return;case"maths-latex":Po("maths-latex");return;case kt:Po(kt);return;case An:Po(An);return;default:throw new Error}},[_t,So,qn]),Go=(0,be.useCallback)((Jt,Xt)=>{var ln,pn,Vn,nr,Er,Dn;switch(Po(""),ar){case bt:const{title:Bt,link:Qt}=Jt;return _t.replaceSelection(`[${Bt}](${Qt})`),_t.focus();case vn:const{language:an,content:en}=Jt;return _t.replaceSelection(["```"+an,en,"```"].join(`
`)),_t.focus();case"maths-latex":for(var fr=atob(Jt),ut=new Uint8Array(fr.length),ct=0;ct<fr.length;ct++)ut[ct]=fr.charCodeAt(ct);var wt=new Blob([ut],{type:"image/png"});(0,ze.I)(wt,eo=>{eo.id?_t.replaceSelection(`![,](/api/attachments/${eo.id}?type=${eo.content_type})`):(eo==null?void 0:eo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":_t.replaceSelection("`$$"+Jt+"$$`");break;case Ft:case un:case fn:const{src:sn,alt:hn}=Jt,cn=Xt,jn=(Vn=(pn=(ln=cn==null?void 0:cn.name)==null?void 0:ln.split("."))==null?void 0:pn.pop)==null?void 0:Vn.call(pn);return((nr=cn==null?void 0:cn.type)==null?void 0:nr.indexOf("image"))>-1||!(cn!=null&&cn.type)?cn.align||cn.width?_t.replaceSelection(`<p style="text-align:${cn.align||"initial"}"><img width="${cn.width?cn.width+"%":"initial"}" src="${sn}" alt="${hn||""}" /></p>`):_t.replaceSelection(`<img width="100%" src="${sn}" alt="${hn||""}" />`):((Er=cn==null?void 0:cn.type)==null?void 0:Er.indexOf("video"))>-1?_t.replaceSelection(`<video width="100%" controls src="${sn}"></video>`):((Dn=cn==null?void 0:cn.type)==null?void 0:Dn.indexOf("pdf"))>-1?_t.replaceSelection(`<a href="${sn}?type=${cn.type}&disposition=inline" target="_blank">${cn.name}</a>`):Rn.includes(jn)?_t.replaceSelection(`<a href="${sn}?type=office&disposition=inline" target="_blank">${cn.name}</a>`):_t.replaceSelection(`[${cn.name}](${sn})`),_t.focus();case An:const{row:Fn,col:rr,align:xr}=Jt;let br=`
`;for(let eo=0;eo<Fn;eo++){let co=[],Eo=[];for(let kr=0;kr<rr;kr++)eo===1&&Eo.push(yn[xr]),co.push(" ");eo===1&&(br+=`| ${Eo.join(" | ")} |
`),br+=`| ${co.join(rr===1?"":" | ")} |
`}return _t.replaceSelection(br+`
`),_t.focus();default:throw new Error}},[_t,ar]),Hr=(0,be.useMemo)(()=>{switch(ar){case bt:return be.createElement(Qe,{callback:Go,onCancel:Ot});case vn:return be.createElement(Xe.Z,{callback:Go,onCancel:Ot});case Ft:return be.createElement(ze.Z,{callback:Go,onCancel:Ot});case kt:return be.createElement(Le,{callback:Go,onCancel:Ot});case An:return be.createElement(Pt,{callback:Go,onCancel:Ot});case"maths-latex":return be.createElement(st,{showSaveButton:!0,callback:Go});case"inline-latex":return be.createElement(zt.Z,{showSaveButton:!0,callback:Go});default:return null}},[ar]);function Ot(){Po("")}(0,be.useEffect)(()=>{if(ao.current){let Jt=function(Er){Vn=!0,nr=Er.pageY},Xt=function(){Vn=!1},ln=function(Er){if(Vn){let Dn=Er.pageY-nr;Dn<0&&(Dn=0),Dn>300&&(Dn=300);let fr=In+Dn+"px";Vo(fr)}},pn=ao.current,Vn=!1,nr=0;return pn.addEventListener("mousedown",Jt),document.addEventListener("mousemove",ln),document.addEventListener("mouseup",Xt),()=>{pn.removeEventListener("mousedown",Jt),document.removeEventListener("mousemove",ln),document.removeEventListener("mouseup",Xt)}}},[_t,ao]),(0,be.useEffect)(()=>{Vo(In)},[In]);const Ut=Un(Lt),Zt=Un(Zo),dt={width:Ut,height:Zt},on=(0,be.useMemo)(()=>{if(so){let Jt=new Date(so),Xt=Jt.getHours(),ln=Jt.getMinutes(),pn=Jt.getSeconds();return Xt=Xt<10?"0"+Xt:Xt,ln=ln<10?"0"+ln:ln,pn=pn<10?"0"+pn:pn,`${Xt}:${ln}:${pn}`}return 0},[so]),Mn=Jt=>{const Xt=[];if(bo){let ln=-1;Jt=Jt.replace(/(@▁▁@|@▁@)/g,function(pn,Vn,nr){Xt.push({multiLine:pn!==dn})})}return Xt};function Hn(){window.sessionStorage.removeItem(qr),Et(!1),zo(0)}function Ht(){Et(!1),zo(0),_t.setValue(window.sessionStorage.getItem(qr))}(0,be.useEffect)(()=>{dr[ar]&&ar!==un&&ar!==kt&&setTimeout(()=>{const Jt=document.getElementsByClassName("markdown-popup-form")[0],Xt=window.innerWidth/2-Jt.offsetWidth/2,ln=window.innerHeight/2-Jt.offsetHeight/2;Sr(Xt),Xr(ln)},0)},[ar]);const Yt=Jt=>{Jt.preventDefault();const Xt=Jt.clientX-lr,ln=Jt.clientY-Tr;document.body.onmousemove=pn=>{let Vn=pn.clientX-Xt,nr=pn.clientY-ln;const Er=document.getElementsByClassName("markdown-popup-form")[0],Dn=window.innerWidth-Er.offsetWidth,fr=window.innerHeight-Er.offsetHeight;Vn=Math.max(0,Math.min(Vn,Dn)),nr=Math.max(0,Math.min(nr,fr)),Kt(pn.clientX,pn.clientY,Xt,ln)&&(Sr(Vn),Xr(nr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Kt=(Jt,Xt,ln,pn)=>{const Vn=document.body.clientHeight,nr=document.body.clientWidth;return Jt<20&&ln>Jt||Jt>nr-20&&ln<Jt||Xt<20&&pn>Xt||Xt>Vn-20&&pn<Xt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return be.createElement(be.Fragment,null,be.createElement("div",{className:"markdown-editor-wrapper",ref:Yr},be.createElement("div",{className:`markdown-editor-container ${Dt} ${So?"on-preview":""} ${Gn?"mini":""} ${qn?"full-screen":""}`,style:dt},be.createElement(pe,{insertTemp:wr,watch:So,fullScreen:qn,showNullButton:Ur,showNullProgramButton:bo,onActionCallback:Lo,hidetoolBar:ca,extraUse:Nn}),be.createElement("div",{className:"markdown-editor-body"},be.createElement("div",{className:"codemirror-container"},be.createElement("textarea",{ref:lo,placeholder:zn})),So?be.createElement("div",{ref:Co,className:"preview-container"},Rr==="stex"&&be.createElement(oe,{value:Cr}),Rr!=="stex"&&be.createElement(ae.Z,{disabledFill:mn,showProgramFill:bo,value:Cr})):null))),mo?be.createElement("a",{ref:ao,className:"editor-resize"}):null,ar===un&&be.createElement(gt,{callback:Go,onCancel:Ot}),ar===kt&&be.createElement(Le,{callback:Go,onCancel:Ot}),be.createElement(Se.Z,null,dr[ar]&&ar!==un&&ar!==kt?be.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:lr,top:Tr},title:be.createElement("div",{style:{cursor:"move"},onMouseDown:Yt},dr[ar]),open:!0,onCancel:Ot,footer:null,destroyOnClose:!0,width:ar===kt?"1200px":null,height:ar===kt?"80vh":null,className:"markdown-popup-form"},Hr):null))}},70859:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return ve},I:function(){return Se}});var be=me(91773),_e=me(2453),E=me(11486),he=me(93421),fe=me(42405),se=me(78045),re=me(71577),ie=me(15476),le=me(67294),ce=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:ue}=be.default,de={width:280,marginRight:10},ge={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:ye,onCancel:Pe})=>{const[we]=ue();let xe=(0,le.useRef)();function Ee(Oe){xe.current.width=we.getFieldValue("width"),xe.current.align=we.getFieldValue("align"),ye(Oe,xe.current)}function Te(Oe,Me){if(Oe.status===-1){_e.ZP.error(Oe.message);return}we.setFieldsValue({src:`/api/attachments/${Oe.id}`,type:Me.type})}function Ce(Oe){let Me=Oe.target.files[0];xe.current=Me,Se(Me,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,ce.bg)())throw _e.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let we=new FormData;we.append("editormd-image-file",ye),we.append("file_param_name","editormd-image-file"),we.append("byxhr","true");var xe=new window.XMLHttpRequest;xe.withCredentials=!0,xe.addEventListener("load",function(Ee){Pe(JSON.parse(Ee.target.responseText),ye)},!1),xe.addEventListener("error",function(Ee){console.error(Ee)},!1),xe.open("POST",`${ie.KI}/api/attachments.json`),xe.send(we)}},76621:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return E}});var be=me(67294),_e=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,_e.createPortal)(fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},21434:function(Tt,ht,me){"use strict";var be=me(12867),_e=me(42563),E=me(47897),he=me(67294);const fe=_e.default.Option;ht.Z=({isTheoretical:se,onFontSizeChange:re,cmFontSize:ie,cmCodeMode:le,autoFormat:ce,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(_e.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(_e.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(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return _e}});var be=me(67294);function _e(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(Tt,ht,me){"use strict";var be=me(67294),_e=me(55054),E=me(42405),he=me(91773),fe=me(14446),se=me(57953),re=me(86129),ie=me(11486),le=me(71230),ce=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),ue=(pe,Se,ye)=>new Promise((Pe,we)=>{var xe=Ce=>{try{Te(ye.next(Ce))}catch(Oe){we(Oe)}},Ee=Ce=>{try{Te(ye.throw(Ce))}catch(Oe){we(Oe)}},Te=Ce=>Ce.done?Pe(Ce.value):Promise.resolve(Ce.value).then(xe,Ee);Te((ye=ye.apply(pe,Se)).next())});const{Countdown:de}=_e.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,xe,Ee;const Te=(0,a.useParams)(),[Ce]=he.default.useForm(),Oe=he.default.useWatch("time",Ce),[Me,Ue]=(0,be.useState)(!1),je=(0,be.useRef)(),{actionTabs:nt}=pe,[Ye,Qe]=(0,be.useState)(),[,Xe,ze,ke]=(0,ee.U)(oe.n7,{id:Te.categoryId}),[,Be,qe]=(0,ee.U)(oe.Cd,{});(0,be.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&(Ue(!1),Ce.resetFields())},[pe.actionTabs.key]);const Je=()=>new Promise(Ze=>ue(void 0,null,function*(){var Ke,Ae;return je.current=yield(0,x.y)({ip_limit:(Ke=nt==null?void 0:nt.exerciseParams)==null?void 0:Ke.ip_limit,ip_bind:(Ae=nt==null?void 0:nt.exerciseParams)==null?void 0:Ae.ip_bind_type}),Ze()})),gt=()=>ue(void 0,null,function*(){var Ze,Ke,Ae,Le,Ne;yield Ce.validateFields();const Ge=Ce.getFieldsValue();if(Ue(!0),(((Ze=nt==null?void 0:nt.exerciseParams)==null?void 0:Ze.ip_limit)!=="no"||(Ke=nt==null?void 0:nt.exerciseParams)!=null&&Ke.ip_bind_type)&&(yield Je()),(yield(0,oe.ZD)((Ae=nt==null?void 0:nt.exerciseParams)==null?void 0:Ae.id,{exercise_user_id:(Le=nt==null?void 0:nt.exerciseParams)==null?void 0:Le.exercise_user_id,unlock_key:Ge.unlock_key,time:Ge.time,ip:je.current})).status===0){if(Se){ye({type:"exercise/setActionTabs",payload:{}}),Se();return}const St=nt==null?void 0:nt.exerciseParams;(0,y.nr)({inner_ip:St.inner_ip,public_ip:St.public_ip,open_camera:St.open_camera,ip_limit:St.ip_limit,ip_bind:St.ip_bind,ip_bind_type:St.ip_bind_type,exercise_tips:St.exercise_tips,exerciseId:St.id,screen_open:St.screen_open,screen_num:St.screen_num,screen_sec:St.screen_sec,coursesId:Te.coursesId,login:(Ne=(0,b.eY)())==null?void 0:Ne.login,history,identity_verify:St.identity_verify,open_phone_video_recording:St.open_phone_video_recording,current_status:St.current_status}),ye({type:"exercise/setActionTabs",payload:{}})}Ue(!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"}],$e=((Pe=nt==null?void 0:nt.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((we=nt==null?void 0:nt.exerciseParams)==null?void 0:we.errorMessage)=="object";(0,be.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&ue(void 0,null,function*(){const Ze=yield qe(Te);yield ze({}),Ze.status||Qe(Ze)})},[pe.actionTabs.key]);const{time:Re,end_time:tt}=(Ye==null?void 0:Ye.exercise)||{},Ie=ke!=null&&ke.user_end_time?z()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):z()(),He=z()(ke==null?void 0:ke.user_total_end_time)>Ie?Math.round(z().duration(z()(ke==null?void 0:ke.user_total_end_time).diff(Ie.startOf("minute"))).asMinutes()):0,Ve=((ke==null?void 0:ke.student_left_minutes)||0)+(Oe||0);return te.createElement(te.Fragment,null,te.createElement(fe.default,{width:514,centered:!0,closable:!!((xe=nt==null?void 0:nt.exerciseParams)!=null&&xe.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||Be},$e&&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 "),!$e&&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"),$e&&te.createElement(re.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ee=nt==null?void 0:nt.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:He})),te.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},Xe||Be?"--":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(Oe||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()(tt).format("YYYY-MM-DD HH:mm")))),te.createElement(le.Z,{justify:"space-between",align:"middle"},te.createElement(ce.Z,null),te.createElement(ce.Z,null,te.createElement(ae.ZP,{loading:Me,onClick:gt},"\u8FDB\u5165\u8003\u8BD5"))))))};ht.Z=(0,a.connect)(({exercise:pe})=>({exercise:pe}))(ve)},93989:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return ne}});var be=me(67294),_e=me(2453),E=me(83062),he=me(57953),fe=me(71230),se=me(15746),re=me(34435),ie=me(71577),le=me(35567),ce=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)}},ue=ge=>{try{de(x.throw(ge))}catch(ve){ee(ve)}},de=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(te,ue);de((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,te]=(0,be.useState)(""),[ue,de]=(0,be.useState)(!1);function ge(pe){te(pe)}function ve(){if(!ee){_e.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:ue,destroyTooltipOnHide:!0,title:z({id:a,isOpen:ue,activeDiscussIndex:y,onChange:ge,setIsOpen:de}),overlayStyle:{maxWidth:600}},be.createElement("a",{title:ue?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>de(!ue)},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,ue]=(0,be.useState)(1);(0,be.useEffect)(()=>{a!=null&&a.isOpen?de():(ue(1),ee([]))},[a==null?void 0:a.isOpen]);const de=()=>oe(void 0,null,function*(){x(!0);const ge=yield(0,ce.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=>{ue(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(Tt,ht,me){"use strict";me.d(ht,{CP:function(){return E},_V:function(){return se}});var be=me(81354),_e=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:ce}=he[ie];return AES.encrypt(re,le,{iv:ce,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function se(re="",ie="exam"){const{secret:le,iv:ce}=he[ie];return be.AES.decrypt(re,le,{iv:ce,mode:_e().mode.CBC,padding:_e().pad.Pkcs7}).toString(be.enc.Utf8)}},51959:function(Tt,ht,me){"use strict";me.d(ht,{BU:function(){return _e},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 _e(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function he(){var 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(Tt,ht,me){"use strict";me.d(ht,{U:function(){return le}});var be=me(67294),_e=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,se=(ce,ae,oe)=>ae in ce?_e(ce,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ce[ae]=oe,re=(ce,ae)=>{for(var oe in ae||(ae={}))he.call(ae,oe)&&se(ce,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&se(ce,oe,ae[oe]);return ce},ie=(ce,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(ce,ae)).next())});function le(ce,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 ue=te?ae:re(re({},oe),ee);a(!0),ne(ue);const de=yield ce(ue);return a(!1),x(de),de}),y]}},43462:function(Tt,ht,me){"use strict";me.d(ht,{_:function(){return E}});var be=me(67294),_e=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,ce,ae,oe,ne,z;if(ie(),(le=he==null?void 0:he.exercise)!=null&&le.left_time&&((ae=(ce=he==null?void 0:he.exercise)==null?void 0:ce.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(()=>{_e.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(Tt,ht,me){"use strict";me.d(ht,{G:function(){return fe},t:function(){return he}});var be=me(58971),_e=me.n(be);const E=null;function he(se,re){let ie=_e().get("__ec");ie||(ie={}),ie[se]=re,_e().set("__ec",ie)}function fe(se,re){let ie=_e().get("__ec");return ie?ie[se]===void 0?re:ie[se]:re}},56448:function(Tt){(function(ht){(function(me){if(1)Tt.exports=me();else var be})(function(){var me,be,_e;return function(){function E(he,fe,se){function re(ce,ae){if(!fe[ce]){if(!he[ce]){var oe=void 0;if(!ae&&oe)return require(ce,!0);if(ie)return ie(ce,!0);var ne=new Error("Cannot find module '"+ce+"'");throw ne.code="MODULE_NOT_FOUND",ne}var z=fe[ce]={exports:{}};he[ce][0].call(z.exports,function(a){var y=he[ce][1][a];return re(y||a)},z,z.exports,E,he,fe,se)}return fe[ce].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"),ce=E("../common/utils/checkBucketName"),ae=ce.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,ue;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(ue=ge.sent,!(ue.status===200||ue.status===204)){ge.next=6;break}return ge.abrupt("return",{res:ue.res});case 6:return ge.next=8,this.requestError(ue);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 ue,de;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ue=this._bucketRequestParams("PUT",b,"acl",te),ue.headers={"x-oss-acl":ee},ue.successStatuses=[200],ve.next=5,this.request(ue);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,ue;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 ue=ge.sent,ge.abrupt("return",{acl:ue.data.AccessControlList.Grant,owner:{id:ue.data.Owner.ID,displayName:ue.data.Owner.DisplayName},res:ue.res});case 7:case"end":return 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 ue,de,ge;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ue=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>`,ue.content=de,ue.mime="xml",ue.successStatuses=[200],pe.next=9,this.request(ue);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,ue,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 ue=ve.sent,de=ue.data.LoggingEnabled,ve.abrupt("return",{enable:!!de,prefix:de&&de.TargetPrefix||null,res:ue.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,ue;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 ue=ge.sent,ge.abrupt("return",{res:ue.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 ue,de,ge,ve,pe,Se,ye,Pe,we,xe;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")}),ue=this._bucketRequestParams("PUT",b,"cors",te),de=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,ge=function(Oe){de+="<AllowedOrigin>".concat(Oe,"</AllowedOrigin>")},ve=function(Oe){de+="<AllowedMethod>".concat(Oe,"</AllowedMethod>")},pe=function(Oe){de+="<AllowedHeader>".concat(Oe,"</AllowedHeader>")},Se=function(Oe){de+="<ExposeHeader>".concat(Oe,"</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>",ue.content=de,ue.mime="xml",ue.successStatuses=[200],Te.next=16,this.request(ue);case 16:return xe=Te.sent,Te.abrupt("return",{res:xe.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,ue,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 ue=pe.sent,de=[],ue.data&&ue.data.CORSRule&&(ge=ue.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:ue.res});case 9:case"end":return pe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketCORS=function(){var a=(0,ie.default)(re.default.mark(function x(b,ee){var te,ue;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 ue=ge.sent,ge.abrupt("return",{res:ue.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,ue){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",ue),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,ue,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 ue=ve.sent,de=ue.data.RefererList.Referer||null,de&&(ne(de)||(de=[de])),ve.abrupt("return",{allowEmpty:ue.data.AllowEmptyReferer==="true",referers:de,res:ue.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(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,this.putBucketReferer(b,!0,null,ee);case 2:return ue.abrupt("return",ue.sent);case 3:case"end":return ue.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe._bucketRequestParams=function(y,x,b,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")),ce=ie(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ae=E("debug")("ali-oss"),oe=E("xml2js"),ne=E("agentkeepalive"),z=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),ee=E("bowser"),te=E("../common/signUtils"),ue=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,xe=E("../common/utils/retry"),Ee=xe.retry,Te=E("../common/utils/isFunction"),Ce=Te.isFunction,Oe=new ne;function Me(){var Xe=a.name,ze=a.version;Xe&&Xe.toLowerCase&&Xe.toLowerCase()==="ie"&&ze.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Ue(){return location&&location.protocol==="https:"}function je(Xe,ze){if(Me(),!(this instanceof je))return new je(Xe,ze);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||Oe),this.ctx=ze,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}he.exports=je,je.initOptions=function(ze){ze.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:Ue(),useFetch:!1},ze);return ue(ke)};var nt=je.prototype;nt.debug=ae,z(nt,E("./object")),z(nt,E("./bucket")),z(nt,E("../common/bucket/getBucketWebsite")),z(nt,E("../common/bucket/putBucketWebsite")),z(nt,E("../common/bucket/deleteBucketWebsite")),z(nt,E("../common/bucket/getBucketLifecycle")),z(nt,E("../common/bucket/putBucketLifecycle")),z(nt,E("../common/bucket/deleteBucketLifecycle")),z(nt,E("../common/bucket/putBucketVersioning")),z(nt,E("../common/bucket/getBucketVersioning")),z(nt,E("../common/bucket/getBucketInventory")),z(nt,E("../common/bucket/deleteBucketInventory")),z(nt,E("../common/bucket/listBucketInventory")),z(nt,E("../common/bucket/putBucketInventory")),z(nt,E("../common/bucket/abortBucketWorm")),z(nt,E("../common/bucket/completeBucketWorm")),z(nt,E("../common/bucket/extendBucketWorm")),z(nt,E("../common/bucket/getBucketWorm")),z(nt,E("../common/bucket/initiateBucketWorm")),z(nt,E("./managed-upload")),z(nt,E("../common/multipart-copy")),z(nt,E("../common/multipart")),z(nt,E("../common/parallel")),nt.signature=function(ze){return this.debug("authorization stringToSign: %s",ze,"info"),te.computeSignature(this.options.accessKeySecret,ze,this.options.headerEncoding)},nt._getReqUrl=ye,nt.authorization=function(ze,ke,Be,qe){var Je=te.buildCanonicalString(ze.toUpperCase(),ke,{headers:qe,parameters:Be});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,Je,this.options.headerEncoding)},nt.request=function(){var Xe=(0,ce.default)(le.default.mark(function ze(ke){var Be=this;return le.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(!this.options.retryMax){Je.next=6;break}return Je.next=3,Ee(Ye.bind(this),this.options.retryMax,{errorHandler:function(We){var $e=function(tt){if(ke.stream)return!1;var Ie=[-1,-2].includes(tt.status),He=Be.options.requestErrorRetryHandle||function(){return!0};return Ie&&He(tt)};return!!$e(We)}})(ke);case 3:return Je.abrupt("return",Je.sent);case 6:return Je.abrupt("return",Ye.call(this,ke));case 7:case"end":return Je.stop()}},ze,this)}));return function(ze){return Xe.apply(this,arguments)}}();function Ye(Xe){return Qe.apply(this,arguments)}function Qe(){return Qe=(0,ce.default)(le.default.mark(function Xe(ze){var ke,Be,qe,Je,gt,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,ze),this.options.useFetch||(ke.params.mode="disable-fetch"),Je=!!ze.stream,Re.prev=6,Re.next=9,this.urllib.request(ke.url,ke.params);case 9:Be=Re.sent,this.debug("response %s %s, got %s, headers: %j",ze.method,ke.url,Be.status,Be.headers,"info"),Re.next=16;break;case 13:Re.prev=13,Re.t0=Re.catch(6),qe=Re.t0;case 16:if(!(Be&&ze.successStatuses&&ze.successStatuses.indexOf(Be.status)===-1)){Re.next=28;break}return Re.next=19,this.requestError(Be);case 19:if(gt=Re.sent,!(gt.code==="RequestTimeTooSkewed"&&!Je)){Re.next=25;break}return this.options.amendTimeSkewed=+new Date(gt.serverTime)-new Date,Re.next=24,this.request(ze);case 24:return Re.abrupt("return",Re.sent);case 25:gt.params=ze,Re.next=32;break;case 28:if(!qe){Re.next=32;break}return Re.next=31,this.requestError(qe);case 31:gt=Re.sent;case 32:if(!gt){Re.next=34;break}throw gt;case 34:if(!ze.xmlResponse){Re.next=39;break}return Re.next=37,this.parseXML(Be.data);case 37:We=Re.sent,Be.data=We;case 39:return Re.abrupt("return",Be);case 40:case"end":return Re.stop()}},Xe,this,[[6,13]])})),Qe.apply(this,arguments)}nt._getResource=function(ze){var ke="/";return ze.bucket&&(ke+="".concat(ze.bucket,"/")),ze.object&&(ke+=pe(ze.object,this.options.headerEncoding)),ke},nt._escape=function(ze){return y.encodeURIComponent(ze).replace(/%2F/g,"/")},nt._getUserAgent=function(){var ze=re&&re.browser?"js":"nodejs",ke="aliyun-sdk-".concat(ze,"/").concat(b.version),Be=a.description;return!Be&&re&&(Be="Node.js ".concat(re.version.slice(1)," on ").concat(re.platform," ").concat(re.arch)),this._checkUserAgent("".concat(ke," ").concat(Be))},nt._checkUserAgent=function(ze){var ke=ze.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return ke},nt.checkBrowserAndVersion=function(ze,ke){return ee.name===ze&&ee.version.split(".")[0]===ke},nt.parseXML=function(ze){return new Promise(function(ke,Be){se.isBuffer(ze)&&(ze=ze.toString()),oe.parseString(ze,{explicitRoot:!1,explicitArray:!1},function(qe,Je){qe?Be(qe):ke(Je)})})},nt.requestError=function(){var Xe=(0,ce.default)(le.default.mark(function ke(Be){var qe,Je,gt,We;return le.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(qe=null,!(!Be.data||!Be.data.length)){Re.next=5;break}Be.status===-1||Be.status===-2?(qe=new Error(Be.message),qe.name=Be.name,qe.status=Be.status,qe.code=Be.name):(Be.status===404?(qe=new Error("Object not exists"),qe.name="NoSuchKeyError",qe.status=404,qe.code="NoSuchKey"):Be.status===412?(qe=new Error("Pre condition failed"),qe.name="PreconditionFailedError",qe.status=412,qe.code="PreconditionFailed"):(qe=new Error("Unknow error, status: ".concat(Be.status)),qe.name="UnknownError",qe.status=Be.status),qe.requestId=Be.headers["x-oss-request-id"],qe.host=""),Re.next=32;break;case 5:return Je=String(Be.data),this.debug("request response error data: %s",Je,"error"),Re.prev=7,Re.next=10,this.parseXML(Je);case 10:if(Re.t0=Re.sent,Re.t0){Re.next=13;break}Re.t0={};case 13:gt=Re.t0,Re.next=23;break;case 16:return Re.prev=16,Re.t1=Re.catch(7),this.debug(Je,"error"),Re.t1.message+=`
raw xml: `.concat(Je),Re.t1.status=Be.status,Re.t1.requestId=Be.headers["x-oss-request-id"],Re.abrupt("return",Re.t1);case 23:We=gt.Message||"unknow request error, status: ".concat(Be.status),gt.Condition&&(We+=" (condition: ".concat(gt.Condition,")")),qe=new Error(We),qe.name=gt.Code?"".concat(gt.Code,"Error"):"UnknownError",qe.status=Be.status,qe.code=gt.Code,qe.requestId=gt.RequestId,qe.hostId=gt.HostId,qe.serverTime=gt.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 ze(ke){return Xe.apply(this,arguments)}return ze}()}).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")),ce=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 xe,Ee,Te,Ce,Oe,Me,Ue,je,nt,Ye=arguments;return ie.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(xe=Ye.length>2&&Ye[2]!==void 0?Ye[2]:{},this.resetCancelFlag(),xe.disabledMD5=xe.disabledMD5===void 0?!0:!!xe.disabledMD5,!(xe.checkpoint&&xe.checkpoint.uploadId)){Xe.next=8;break}return we&&x(we)&&(xe.checkpoint.file=we),Xe.next=7,this._resumeMultipart(xe.checkpoint,xe);case 7:return Xe.abrupt("return",Xe.sent);case 8:return Ee=102400,xe.mime||(x(we)?xe.mime=oe.getType(ae.extname(we.name)):a(we)?xe.mime=we.type:ee(we)?xe.mime="":xe.mime=oe.getType(ae.extname(we))),xe.headers=xe.headers||{},this._convertMetaToHeaders(xe.meta,xe.headers),Xe.next=14,this._getFileSize(we);case 14:if(Te=Xe.sent,!(Te<Ee)){Xe.next=26;break}return xe.contentLength=Te,Xe.next=19,this.put(Pe,we,xe);case 19:if(Ce=Xe.sent,!(xe&&xe.progress)){Xe.next=23;break}return Xe.next=23,xe.progress(1);case 23:return Oe={res:Ce.res,bucket:this.options.bucket,name:Pe,etag:Ce.res.headers.etag},(xe.headers&&xe.headers["x-oss-callback"]||xe.callback)&&(Oe.data=Ce.data),Xe.abrupt("return",Oe);case 26:if(!(xe.partSize&&parseInt(xe.partSize,10)!==xe.partSize)){Xe.next=28;break}throw new Error("partSize must be int number");case 28:if(!(xe.partSize&&xe.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,xe);case 32:if(Me=Xe.sent,Ue=Me.uploadId,je=this._getPartSize(Te,xe.partSize),nt={file:we,name:Pe,fileSize:Te,partSize:je,uploadId:Ue,doneParts:[]},!(xe&&xe.progress)){Xe.next=39;break}return Xe.next=39,xe.progress(0,nt,Me.res);case 39:return Xe.next=41,this._resumeMultipart(nt,xe);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 xe,Ee,Te,Ce,Oe,Me,Ue,je,nt,Ye,Qe,Xe,ze,ke,Be,qe,Je,gt,We;return ie.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(xe=this,!this.isCancel()){Re.next=3;break}throw this._makeCancelEvent();case 3:return Ee=Pe.file,Te=Pe.fileSize,Ce=Pe.partSize,Oe=Pe.uploadId,Me=Pe.doneParts,Ue=Pe.name,je=[],Me.length>0&&ne(Me).to(je),nt=this._divideParts(Te,Ce),Ye=nt.length,Qe=!1,Xe=function(Ie,He){return new Promise(function(){var Ve=(0,le.default)(ie.default.mark(function Ze(Ke,Ae){var Le,Ne,Ge,rt,St;return ie.default.wrap(function(At){for(;;)switch(At.prev=At.next){case 0:if(At.prev=0,Ie.isCancel()){At.next=29;break}return Le=nt[He-1],At.next=5,Ie._createBuffer(Ee,Le.start,Le.end);case 5:return Ne=At.sent,Ge={content:Ne,size:Le.end-Le.start},At.prev=7,At.next=10,Ie._uploadPart(Ue,Oe,He,Ge,we);case 10:rt=At.sent,At.next=18;break;case 13:if(At.prev=13,At.t0=At.catch(7),At.t0.status!==404){At.next=17;break}throw Ie._makeAbortEvent();case 17:throw At.t0;case 18:if(!(!Ie.isCancel()&&!Qe)){At.next=26;break}if(Pe.doneParts.push({number:He,etag:rt.res.headers.etag}),!we.progress){At.next=23;break}return At.next=23,we.progress(Me.length/(Ye+1),Pe,rt.res);case 23:Ke({number:He,etag:rt.res.headers.etag}),At.next=27;break;case 26:Ke();case 27:At.next=30;break;case 29:Ke();case 30:At.next=41;break;case 32:At.prev=32,At.t1=At.catch(0),St=new Error,St.name=At.t1.name,St.message=At.t1.message,St.stack=At.t1.stack,St.partNum=He,ne(At.t1).to(St),Ae(St);case 41:case"end":return At.stop()}},Ze,null,[[0,32],[7,13]])}));return function(Ze,Ke){return Ve.apply(this,arguments)}}())},ze=Array.from(new Array(Ye),function(tt,Ie){return Ie+1}),ke=je.map(function(tt){return tt.number}),Be=ze.filter(function(tt){return ke.indexOf(tt)<0}),qe=5,Je=we.parallel||qe,Re.next=17,this._parallel(Be,Je,function(tt){return new Promise(function(Ie,He){Xe(xe,tt).then(function(Ve){Ve&&je.push(Ve),Ie()}).catch(function(Ve){He(Ve)})})});case 17:if(gt=Re.sent,Qe=!0,We=gt.find(function(tt){return tt.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(!(gt&&gt.length>0)){Re.next=28;break}throw gt[0].message="Failed to upload some parts with error: ".concat(gt[0].toString()," part_num: ").concat(gt[0].partNum),gt[0];case 28:return Re.next=30,this.completeMultipartUpload(Ue,Oe,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(xe){for(;;)switch(xe.prev=xe.next){case 0:if(!ee(Pe)){xe.next=4;break}return xe.abrupt("return",Pe.length);case 4:if(!(a(Pe)||x(Pe))){xe.next=6;break}return xe.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return xe.stop()}},ye)}));function Se(ye){return pe.apply(this,arguments)}return Se}();var ue=E("stream"),de=ue.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}ce.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(xe){Pe.fileBuffer=se.from(new Uint8Array(xe.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,xe){var Ee,Te;return ie.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(!(a(Pe)||x(Pe))){Oe.next=8;break}return Ee=Pe.slice(we,xe),Oe.next=4,ve(Ee);case 4:return Te=Oe.sent,Oe.abrupt("return",se.from(Te));case 8:if(!ee(Pe)){Oe.next=12;break}return Oe.abrupt("return",Pe.subarray(we,xe));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Oe.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 xe=Math.ceil(Se/Pe);return ye<xe&&(ye=xe,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=[],xe=0;xe<Pe;xe++){var Ee=ye*xe,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"),ce=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,ue=E("../common/utils/obj2xml"),de=ue.obj2xml,ge=fe;ge.append=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye,Pe,we){var xe;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 xe=Te.sent,xe.nextAppendPosition=xe.res.headers["x-oss-next-append-position"],Te.abrupt("return",xe);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 xe,Ee,Te,Ce,Oe;return re.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.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)){Ue.next=8;break}xe=Pe,Ue.next=19;break;case 8:if(!(y(Pe)||b(Pe))){Ue.next=18;break}return we.mime||(b(Pe)?we.mime=oe.getType(ae.extname(Pe.name)):we.mime=Pe.type),Ue.next=12,this._createBuffer(Pe,0,Pe.size);case 12:return xe=Ue.sent,Ue.next=15,this._getFileSize(Pe);case 15:we.contentLength=Ue.sent,Ue.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=xe,Te.successStatuses=[200],Ue.next=29,this.request(Te);case 29:return Ce=Ue.sent,Oe={name:ye,url:this._objectUrl(ye),res:Ce.res},Te.headers&&Te.headers["x-oss-callback"]&&(Oe.data=JSON.parse(Ce.data.toString())),Ue.abrupt("return",Oe);case 33:case"end":return Ue.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 xe,Ee,Te,Ce;return re.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return we=we||{},we.headers=we.headers||{},ye=this._objectName(ye),we.contentLength?we.headers["Content-Length"]=we.contentLength:we.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(we.meta,we.headers),xe=we.method||"PUT",Ee=this._objectRequestParams(xe,ye,we),ne.encodeCallback(Ee,we),Ee.mime=we.mime,Ee.stream=Pe,Ee.successStatuses=[200],Me.next=13,this.request(Ee);case 13:return Te=Me.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())),Me.abrupt("return",Ce);case 17:case"end":return Me.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 xe;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 xe=Te.sent,Te.abrupt("return",xe);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,xe,Ee,Te,Ce;return re.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return we=this._objectRequestParams("GET","",Pe),we.query=ye,we.xmlResponse=!0,we.successStatuses=[200],Me.next=6,this.request(we);case 6:return xe=Me.sent,Ee=xe.data.Contents||[],Te=this,Ee&&(Array.isArray(Ee)||(Ee=[Ee]),Ee=Ee.map(function(Ue){return{name:Ue.Key,url:Te._objectUrl(Ue.Key),lastModified:Ue.LastModified,etag:Ue.ETag,type:Ue.Type,size:Number(Ue.Size),storageClass:Ue.StorageClass,owner:{id:Ue.Owner.ID,displayName:Ue.Owner.DisplayName}}})),Ce=xe.data.CommonPrefixes||null,Ce&&(Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(Ue){return Ue.Prefix})),Me.abrupt("return",{res:xe.res,objects:Ee,prefixes:Ce,nextMarker:xe.data.NextMarker||null,isTruncated:xe.data.IsTruncated==="true"});case 13:case"end":return Me.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,xe,Ee,Te,Ce,Oe,Me=arguments;return re.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return Pe=Me.length>1&&Me[1]!==void 0?Me[1]:{},we=ye["continuation-token"]||ye.continuationToken,we&&(Pe.subres=Object.assign({"continuation-token":we},Pe.subres)),xe=this._objectRequestParams("GET","",Pe),xe.query=Object.assign({"list-type":2},ye),delete xe.query["continuation-token"],delete xe.query.continuationToken,xe.xmlResponse=!0,xe.successStatuses=[200],je.next=11,this.request(xe);case 11:return Ee=je.sent,Te=Ee.data.Contents||[],Ce=this,Te&&(Array.isArray(Te)||(Te=[Te]),Te=Te.map(function(nt){var Ye=null;return nt.Owner&&(Ye={id:nt.Owner.ID,displayName:nt.Owner.DisplayName}),{name:nt.Key,url:Ce._objectUrl(nt.Key),lastModified:nt.LastModified,etag:nt.ETag,type:nt.Type,size:Number(nt.Size),storageClass:nt.StorageClass,owner:Ye}})),Oe=Ee.data.CommonPrefixes||null,Oe&&(Array.isArray(Oe)||(Oe=[Oe]),Oe=Oe.map(function(nt){return nt.Prefix})),je.abrupt("return",{res:Ee.res,objects:Te,prefixes:Oe,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,xe,Ee,Te=arguments;return re.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.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"&&(xe={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},we.content=de(xe,{headers:!0}),we.mime="xml"),we.successStatuses=[202],Oe.next=9,this.request(we);case 9:return Ee=Oe.sent,Oe.abrupt("return",{res:Ee.res});case 11:case"end":return Oe.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={},ce(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 ce(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=ce},{"../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 ce(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=ce},{"../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 ce(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(ue){for(;;)switch(ue.prev=ue.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],ue.next=7,this.request(x);case 7:return b=ue.sent,ue.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return ue.stop()}},oe,this)})),ae.apply(this,arguments)}fe.deleteBucketInventory=ce},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,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"),ce=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 ce(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"),ce=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 ce(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"),ce=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=ce.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"),ce=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:ce.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"),ce=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 ue,de,ge;return re.default.wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:return ce(ee),ue=this._bucketRequestParams("GET",ee,"lifecycle",te),ue.successStatuses=[200],ue.xmlResponse=!0,pe.next=6,this.request(ue);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"),ce=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(ue){for(;;)switch(ue.prev=ue.next){case 0:return ce(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],ue.next=6,this.request(x);case 6:return b=ue.sent,ee=b.data.Status,ue.abrupt("return",{status:b.status,versionStatus:ee,res:b.res});case 9:case"end":return ue.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"),ce=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,ue;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ce(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,ue=[],te.data.RoutingRules&&te.data.RoutingRules.RoutingRule&&(oe(te.data.RoutingRules.RoutingRule)?ue=[te.data.RoutingRules.RoutingRule]:ue=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:ue,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"),ce=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,ce.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"),ce=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(ue){for(;;)switch(ue.prev=ue.next){case 0:return ce.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],ue.next=8,this.request(x);case 8:return ee=ue.sent,ue.abrupt("return",{res:ee.res,wormId:ee.res.headers["x-oss-worm-id"],status:ee.status});case 10:case"end":return ue.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"),ce=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,ue,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,ue=ee.res,de=ee.status,pe.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:ce.formatInventoryConfig(te.InventoryConfiguration,!0),status:de,res:ue});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"),ce=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,ue,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,ue="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(ue).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:te,OptionalFields:{Field:(ee==null?void 0:ee.field)||[]}}},ve=ce.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"),ce=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,ue=E("../utils/getStrBytesCount"),de=ue.getStrBytesCount,ge=fe;ge.putBucketLifecycle=function(){var Pe=(0,ie.default)(re.default.mark(function xe(Ee,Te,Ce){var Oe,Me,Ue,je,nt;return re.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(ce(Ee),oe(Te)){Qe.next=3;break}throw new Error("rules must be Array");case 3:return Oe=this._bucketRequestParams("PUT",Ee,"lifecycle",Ce),Me=[],Ue={LifecycleConfiguration:{Rule:Me}},Te.forEach(function(Xe){ve(Xe),ye(Xe),Xe.id&&(Xe.ID=Xe.id,delete Xe.id),Me.push(Xe)}),je=b(Ue,{headers:!0,firstUpperCase:!0}),Oe.content=je,Oe.mime="xml",Oe.successStatuses=[200],Qe.next=13,this.request(Oe);case 13:return nt=Qe.sent,Qe.abrupt("return",{res:nt.res});case 15:case"end":return Qe.stop()}},xe,this)}));function we(xe,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 xe=Pe.days,Ee=Pe.createdBeforeDate;if(!xe&&!Ee)throw new Error("".concat(we," must includes days or createdBeforeDate"));if(xe&&!/^[1-9][0-9]*$/.test(xe))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={},xe=z(Pe);xe.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"),ce=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,ue,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]:{},ce(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),ue={VersioningConfiguration:{Status:b}},te.mime="xml",te.content=oe(ue,{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"),ce=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,ue,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]:{},ue=ye.length>2?ye[2]:void 0,ce(ee),de=this._bucketRequestParams("PUT",ee,"website",ue),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 ce={callbackUrl:encodeURI(le.callback.url),callbackBody:le.callback.body};le.callback.host&&(ce.callbackHost=le.callback.host),le.callback.contentType&&(ce.callbackBodyType=le.callback.contentType);var ae=se.from(JSON.stringify(ce)).toString("base64");if(ie.headers["x-oss-callback"]=ae,le.callback.customValue){var oe={};Object.keys(le.callback.customValue).forEach(function(ne){oe["x:".concat(ne)]=le.callback.customValue[ne].toString()}),ie.headers["x-oss-callback-var"]=se.from(JSON.stringify(oe)).toString("base64")}}}}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(E,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")),ce=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={};ce.default.string(z.subres)?ee[z.subres]="":ce.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,ce=E("../utils/setRegion"),ae=ce.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"),ce=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,ue,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(ue,"process"),te=this._objectName(te),de&&ce(de),ge=this._objectRequestParams("POST",ee,{subres:"x-oss-process"}),ve=de?",b_".concat(ne(de)):"",te=ne(te),pe={"x-oss-process":"".concat(ue,"|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,ue){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,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"),ce=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,ue,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||{},ue=te.versionId||te.subres&&te.subres.versionId||null,ue?de="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey),"?versionId=").concat(ue):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,ue,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(ue=Ee.sent,de=ue.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,ue,de,ge,ve,pe,Se,ye,Pe,we,xe,Ee,Te,Ce,Oe,Me,Ue,je,nt;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},ue=a.copySize,de=a.partSize,ge=a.uploadId,ve=a.doneParts,pe=a.name,Se=this._divideMultipartCopyParts(ue,de,y.startOffset),ye=Se.length,Pe={headers:{}},x.copyheaders&&ce(x.copyheaders).to(Pe.headers),ee&&ce(te).to(Pe),we=function(ze,ke,Be){return new Promise(function(){var qe=(0,ie.default)(re.default.mark(function Je(gt,We){var $e,Re,tt;return re.default.wrap(function(He){for(;;)switch(He.prev=He.next){case 0:if(He.prev=0,ze.isCancel()){He.next=22;break}return $e=Se[ke-1],Re="".concat($e.start,"-").concat($e.end-1),He.prev=4,He.next=7,ze.uploadPartCopy(pe,ge,ke,Re,Be,Pe);case 7:tt=He.sent,He.next=15;break;case 10:if(He.prev=10,He.t0=He.catch(4),He.t0.status!==404){He.next=14;break}throw ze._makeAbortEvent();case 14:throw He.t0;case 15:if(ze.isCancel()){He.next=22;break}if(le("content-range ".concat(tt.res.headers["content-range"])),ve.push({number:ke,etag:tt.res.headers.etag}),a.doneParts=ve,!(x&&x.progress)){He.next=22;break}return He.next=22,x.progress(ve.length/ye,a,tt.res);case 22:gt(),He.next=29;break;case 25:He.prev=25,He.t1=He.catch(0),He.t1.partNum=ke,We(He.t1);case 29:case"end":return He.stop()}},Je,null,[[0,25],[4,10]])}));return function(Je,gt){return qe.apply(this,arguments)}}())},xe=Array.from(new Array(ye),function(Xe,ze){return ze+1}),Ee=ve.map(function(Xe){return Xe.number}),Te=xe.filter(function(Xe){return Ee.indexOf(Xe)<0}),Ce=5,Oe=x.parallel||Ce,!(this.checkBrowserAndVersion("Internet Explorer","10")||Oe===1)){Qe.next=28;break}Me=0;case 18:if(!(Me<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[Me],y);case 23:Me++,Qe.next=18;break;case 26:Qe.next=40;break;case 28:return Qe.next=30,this._parallelNode(Te,Oe,we,y);case 30:if(Ue=Qe.sent,je=Ue.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(!(Ue&&Ue.length>0)){Qe.next=40;break}throw nt=Ue[0],nt.message="Failed to copy some parts with error: ".concat(nt.toString()," part_num: ").concat(nt.partNum),nt;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(ue){for(;;)switch(ue.prev=ue.next){case 0:return b=this.getBucket(),this.setBucket(a),ue.next=4,this.head(y,x);case 4:return ee=ue.sent,this.setBucket(b),ue.abrupt("return",ee);case 7:case"end":return ue.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")),ce=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 ue(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={},ce(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(xe){return{name:xe.Key,uploadId:xe.UploadId,initiated:xe.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()}},ue,this)}));function te(ue,de){return ee.apply(this,arguments)}return te}(),b.listParts=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge,ve,pe){var Se,ye,Pe;return ie.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return pe=pe||{},Se={},ce(pe).to(Se),Se.subres={uploadId:ge},ye=this._objectRequestParams("GET",de,Se),ye.query=ve,ye.xmlResponse=!0,ye.successStatuses=[200],xe.next=10,this.request(ye);case 10:return Pe=xe.sent,xe.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 xe.stop()}},ue,this)}));function te(ue,de,ge,ve){return ee.apply(this,arguments)}return te}(),b.abortMultipartUpload=function(){var ee=(0,le.default)(ie.default.mark(function ue(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={},ce(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()}},ue,this)}));function te(ue,de,ge){return ee.apply(this,arguments)}return te}(),b.initMultipartUpload=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge){var ve,pe,Se;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return ge=ge||{},ve={},ce(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()}},ue,this)}));function te(ue,de){return ee.apply(this,arguments)}return te}(),b.uploadPart=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge,ve,pe,Se,ye,Pe){var we,xe;return ie.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(we={size:ye-Se},xe=se&&se.browser,!xe){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()}},ue,this)}));function te(ue,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 ue(de,ge,ve,pe){var Se,ye,Pe,we,xe,Ee,Te,Ce;return ie.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:for(Se=ve.concat().sort(function(Ue,je){return Ue.number-je.number}).filter(function(Ue,je,nt){return!je||Ue.number!==nt[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||{},xe={},xe=ne(pe,function(Ue){if(a(Ue))return null}),xe.subres={uploadId:ge},xe.headers=x(xe.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ee=this._objectRequestParams("POST",de,xe),ae.encodeCallback(Ee,xe),Ee.mime="xml",Ee.content=ye,Ee.headers&&Ee.headers["x-oss-callback"]||(Ee.xmlResponse=!0),Ee.successStatuses=[200],Me.next=17,this.request(Ee);case 17:if(Te=Me.sent,!pe.progress){Me.next=21;break}return Me.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())),Me.abrupt("return",Ce);case 24:case"end":return Me.stop()}},ue,this)}));function te(ue,de,ge,ve){return ee.apply(this,arguments)}return te}(),b._uploadPart=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge,ve,pe,Se){var ye,Pe,we,xe;return ie.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return Se=Se||{},ye={},ce(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(xe=Te.sent,xe.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:xe.res.headers.etag,res:xe.res});case 20:case"end":return Te.stop()}},ue,this)}));function te(ue,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"),ce=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=ce.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 ue(de,ge){return te.apply(this,arguments)}return ue}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,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")),ce=E("../utils/checkBucketName"),ae=ce.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 ue,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,ue=this._objectRequestParams("PUT",x,te),ue.xmlResponse=!0,ue.successStatuses=[200,304],pe.next=14,this.request(ue);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 ce=(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 ce.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,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"),ce=E("../utils/obj2xml"),ae=ce.obj2xml,oe=fe;oe.deleteMulti=function(){var ne=(0,ie.default)(re.default.mark(function a(y){var x,b,ee,te,ue,de,ge,ve,pe,Se,ye,Pe,we,xe=arguments;return re.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(x=xe.length>1&&xe[1]!==void 0?xe[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])):(ue=y[ee],de=ue.key,ge=ue.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 ce=(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 ce.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,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")),ce=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,ue,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=ce.createWriteStream(x),te=!0):b=x,b=b||{},ue=se&&se.browser,de=b.responseCacheControl===null?"":"no-cache",ge=ue&&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 ce=(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 ce.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,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,ce=E("../utils/isObject"),ae=ce.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,ue,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),ue=this._objectRequestParams("GET","",te),ue.xmlResponse=!0,ue.successStatuses=[200],ue.query=x(ee),we.next=12,this.request(ue);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(xe){return{name:xe.Key,url:pe._objectUrl(xe.Key),lastModified:xe.LastModified,isLatest:xe.IsLatest==="true",versionId:xe.VersionId,etag:xe.ETag,type:xe.Type,size:Number(xe.Size),storageClass:xe.StorageClass,owner:{id:xe.Owner.ID,displayName:xe.Owner.DisplayName}}})),ve&&(ne(ve)||(ve=[ve]),ve=ve.map(function(xe){return{name:xe.Key,lastModified:xe.LastModified,versionId:xe.VersionId,owner:{id:xe.Owner.ID,displayName:xe.Owner.DisplayName}}})),Se=de.data.CommonPrefixes||null,Se&&(ne(Se)||(Se=[Se]),Se=Se.map(function(xe){return xe.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 ce=(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 ce.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,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,ce=E("../utils/isObject"),ae=ce.isObject;le.getObjectTagging=function(){var oe=(0,ie.default)(re.default.mark(function z(a){var y,x,b,ee,te,ue,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||[],ue={},te.forEach(function(pe){ue[pe.Key]=pe.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:ue});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(ce,ae){if(re(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ae?ae[ae.length-1]!=="/"&&(ae+="/"):ae=this.options.endpoint.format(),ae+this._escape(this._objectName(ce))}},{"../utils/isIP":69}],43:[function(E,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 ce=(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 ce.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,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"),ce=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]:{},ce("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],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 ce=(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 ce.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,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"),ce=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,ue,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]}}),ue={Tagging:{TagSet:{Tag:b}}},te.mime="xml",te.content=ce(ue),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 ce=(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 ce.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,he,fe){"use strict";var se=E("url"),re=E("utility"),ie=E("copy-to"),le=E("../../common/signUtils"),ce=E("../utils/isIP"),ae=ce.isIP,oe=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"),ce=le.isArray,ae=fe;ae._parallelNode=function(){var oe=(0,ie.default)(re.default.mark(function z(a,y,x,b){var ee,te,ue,de,ge,ve,pe,Se;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:ee=this,te=[],ue=[],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?ue.push(x(ee,a[Se],b)):ue.push(x(ee,a[Se])),!(ue.length===y||pe===ve&&Se===a.length-1)){Pe.next=23;break}return Pe.prev=13,pe+=1,Pe.next=17,Promise.all(ue);case 17:Pe.next=22;break;case 19:Pe.prev=19,Pe.t0=Pe.catch(13),te.push(Pe.t0);case 22:ue=[];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 xe=arguments.length,Ee=new Array(xe),Te=0;Te<xe;Te++)Ee[Te]=arguments[Te];we.apply(this,Ee)}}function te(Pe){var we=-1,xe=Pe.length;return function(){return++we<xe&&!y.isCancel()?{value:Pe[we],key:we}:null}}var ue=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(xe){we(null,xe)}).catch(function(xe){we(xe)})}function ye(){for(ve=!0;ge<z&&!de&&!y.isCancel();){var Pe=ue();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,ce(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"),ce=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=ce(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(ue){var de=ue.toLowerCase();de.indexOf(x)===0&&(ee[de]=String(y[ue]).trim())}),Object.keys(ee).sort().forEach(function(ue){b.push("".concat(ue,":").concat(ee[ue]))}),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 ue="x-oss-traffic-limit";ee[ue]=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 ce=!0;if(se[le]instanceof Function?ce=se[le](ie):ce=se[le].test(ie),!ce)throw new Error("The ".concat(le," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,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,ce=[{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(ce,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(ce,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function oe(ne){if(!le(ne))throw new Error("tag must be Object");var 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"),ce=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,ue=E("./isDingTalk"),de=ue.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":ce(ye,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Pe["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Pe["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Pe,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Pe["x-oss-security-token"]=this.options.stsToken),ae(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 xe in Pe)Pe[xe]&&we.call(Pe,xe)&&(Pe[xe]=z(String(Pe[xe]),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,Oe=Te.internal,Me=Te.secure,Ue=b(Ce,Oe,Me);Pe.host="".concat(Se.bucket,".").concat(Ue.host)}var je=te.bind(this)(Se);ie("request %s %s, with headers %j, !!stream: %s",Se.method,je,Pe,!!Se.stream);var nt=Se.timeout||this.options.timeout,Ye={method:Se.method,content:Se.content,stream:Se.stream,headers:Pe,timeout:nt,writeStream:Se.writeStream,customResponse:Se.customResponse,ctx:Se.ctx||this.ctx};return this.agent&&(Ye.agent=this.agent),this.httpsAgent&&(Ye.httpsAgent=this.httpsAgent),Ye.enableProxy=!!this.options.enableProxy,Ye.proxy=this.options.proxy?this.options.proxy:null,{url:je,params:Ye}}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,ue=ne.bool,de=ue===void 0?[]:ue,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]=ce(oe[pe])}),typeof z=="function"&&z(oe),ae(oe,ve),le}}fe.dataFix=le;function ce(oe){return oe?re.includes(oe)?!0:ie.includes(oe)?!1:oe:!1}function ae(oe,ne){ne&&Object.keys(oe).forEach(function(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 ce=Array.isArray(le)?[]:{};return Object.keys(le).forEach(function(ae){ce[ae]=fe.deepCopy(le[ae])}),ce},fe.deepCopyWith=function(le,ce){function ae(oe,ne,z){var a=ce(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 ce?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 ce(oe){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ne&&re.isObject(oe)&&(oe=[oe]),ie.isArray(oe)?oe=oe.map(ae):oe=ae(oe),oe}fe.formatInventoryConfig=ce;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(ce,ae,oe){if(ce===null||(0,re.default)(ce)!=="object")return ce;var ne;if(Array.isArray(ce)){ne=[];for(var z=0;z<ce.length;z++)ne.push(ie(ce[z],ae,oe))}else ne={},Object.keys(ce).forEach(function(a){ne[le(a,ae,oe)]=ie(ce[a],ae,oe)});return ne}fe.formatObjKey=ie;function le(ce,ae,oe){return oe&&oe.exclude&&oe.exclude.includes(ce)||(ae==="firstUpperCase"?ce=ce.replace(/^./,function(ne){return ne.toUpperCase()}):ae==="firstLowerCase"&&(ce=ce.replace(/^./,function(ne){return ne.toLowerCase()}))),ce}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.includes.js":302,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],62:[function(E,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 ce=re.charAt(le);/^[\u00-\uff]$/.test(ce)?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(ce){le[ce.toLowerCase()]=ie[ce]}),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,ce){var ae="";return ce&&ce.headers&&(ae=`<?xml version="1.0" encoding="UTF-8"?>
`),ce&&ce.firstUpperCase&&(le=se.formatObjKey(le,"firstUpperCase")),re(le)==="object"?Object.keys(le).forEach(function(oe){re(le[oe])!=="undefined"&&re(le[oe])!=="null"&&(re(le[oe])==="string"||re(le[oe])==="number"?ae+="<".concat(oe,">").concat(le[oe],"</").concat(oe,">"):re(le[oe])==="object"?ae+="<".concat(oe,">").concat(ie(le[oe]),"</").concat(oe,">"):re(le[oe])==="array"?ae+=le[oe].map(function(ne){return"<".concat(oe,">").concat(ie(ne),"</").concat(oe,">")}).join(""):ae+="<".concat(oe,">").concat(le[oe].toString(),"</").concat(oe,">"))}):ae+=le.toString(),ae}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(ce,ae){var oe=typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(!oe){if(Array.isArray(ce)||(oe=re(ce))||ae&&ce&&typeof ce.length=="number"){oe&&(ce=oe);var ne=0,z=function(){};return{s:z,n:function(){return ne>=ce.length?{done:!0}:{done:!1,value:ce[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(ce)},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(ce,ae){if(ce){if(typeof ce=="string")return ie(ce,ae);var oe=Object.prototype.toString.call(ce).slice(8,-1);if(oe==="Object"&&ce.constructor&&(oe=ce.constructor.name),oe==="Map"||oe==="Set")return Array.from(ce);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return ie(ce,ae)}}function ie(ce,ae){(ae==null||ae>ce.length)&&(ae=ce.length);for(var oe=0,ne=new Array(ae);oe<ae;oe++)ne[oe]=ce[oe];return ne}Object.defineProperty(fe,"__esModule",{value:!0}),fe.omit=void 0;function le(ce,ae){var oe=Object.assign({},ce),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]:{},ce=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,ue){re.apply(void 0,b).then(function(de){ce=0,te(de)}).catch(function(de){ce<ie&&z(de)?(ce++,setTimeout(function(){te(y.apply(void 0,b))},oe)):(ce=0,ue(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(ce){return ce&&ce.__esModule?ce:{default:ce}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.setRegion=void 0;var re=se(E("url")),ie=E("./checkConfigValid");function le(ce){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ie.checkConfigValid(ce,"region");var ne=oe?"https://":"http://",z=ae?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ce.substr(0,a.length)===a&&(z=".aliyuncs.com"),re.default.parse(ne+ce+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 ce(){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=ce;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,ce,ae,oe,ne,z){try{var a=ie[ne](z),y=a.value}catch(x){ce(x);return}a.done?le(y):Promise.resolve(y).then(ae,oe)}function re(ie){return function(){var le=this,ce=arguments;return new Promise(function(ae,oe){var ne=ie.apply(le,ce);function 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,Oe){if(Ce===Oe)return 0;for(var Me=Ce.length,Ue=Oe.length,je=0,nt=Math.min(Me,Ue);je<nt;++je)if(Ce[je]!==Oe[je]){Me=Ce[je],Ue=Oe[je];break}return Me<Ue?-1:Ue<Me?1:0}function le(Ce){return se.Buffer&&typeof se.Buffer.isBuffer=="function"?se.Buffer.isBuffer(Ce):!!(Ce!=null&&Ce._isBuffer)}var ce=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(ce.isFunction(Ce)){if(ne)return Ce.name;var Oe=Ce.toString(),Me=Oe.match(x);return Me&&Me[1]}}y.AssertionError=function(Oe){this.name="AssertionError",this.actual=Oe.actual,this.expected=Oe.expected,this.operator=Oe.operator,Oe.message?(this.message=Oe.message,this.generatedMessage=!1):(this.message=ue(this),this.generatedMessage=!0);var Me=Oe.stackStartFunction||de;if(Error.captureStackTrace)Error.captureStackTrace(this,Me);else{var Ue=new Error;if(Ue.stack){var je=Ue.stack,nt=b(Me),Ye=je.indexOf(`
`+nt);if(Ye>=0){var Qe=je.indexOf(`
`,Ye+1);je=je.substring(Qe+1)}this.stack=je}}},ce.inherits(y.AssertionError,Error);function ee(Ce,Oe){return typeof Ce=="string"?Ce.length<Oe?Ce:Ce.slice(0,Oe):Ce}function te(Ce){if(ne||!ce.isFunction(Ce))return ce.inspect(Ce);var Oe=b(Ce),Me=Oe?": "+Oe:"";return"[Function"+Me+"]"}function ue(Ce){return ee(te(Ce.actual),128)+" "+Ce.operator+" "+ee(te(Ce.expected),128)}function de(Ce,Oe,Me,Ue,je){throw new y.AssertionError({message:Me,actual:Ce,expected:Oe,operator:Ue,stackStartFunction:je})}y.fail=de;function ge(Ce,Oe){Ce||de(Ce,!0,Oe,"==",y.ok)}y.ok=ge,y.equal=function(Oe,Me,Ue){Oe!=Me&&de(Oe,Me,Ue,"==",y.equal)},y.notEqual=function(Oe,Me,Ue){Oe==Me&&de(Oe,Me,Ue,"!=",y.notEqual)},y.deepEqual=function(Oe,Me,Ue){ve(Oe,Me,!1)||de(Oe,Me,Ue,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(Oe,Me,Ue){ve(Oe,Me,!0)||de(Oe,Me,Ue,"deepStrictEqual",y.deepStrictEqual)};function ve(Ce,Oe,Me,Ue){if(Ce===Oe)return!0;if(le(Ce)&&le(Oe))return ie(Ce,Oe)===0;if(ce.isDate(Ce)&&ce.isDate(Oe))return Ce.getTime()===Oe.getTime();if(ce.isRegExp(Ce)&&ce.isRegExp(Oe))return Ce.source===Oe.source&&Ce.global===Oe.global&&Ce.multiline===Oe.multiline&&Ce.lastIndex===Oe.lastIndex&&Ce.ignoreCase===Oe.ignoreCase;if((Ce===null||typeof Ce!="object")&&(Oe===null||typeof Oe!="object"))return Me?Ce===Oe:Ce==Oe;if(a(Ce)&&a(Oe)&&z(Ce)===z(Oe)&&!(Ce instanceof Float32Array||Ce instanceof Float64Array))return ie(new Uint8Array(Ce.buffer),new Uint8Array(Oe.buffer))===0;if(le(Ce)!==le(Oe))return!1;Ue=Ue||{actual:[],expected:[]};var je=Ue.actual.indexOf(Ce);return je!==-1&&je===Ue.expected.indexOf(Oe)?!0:(Ue.actual.push(Ce),Ue.expected.push(Oe),Se(Ce,Oe,Me,Ue))}function pe(Ce){return Object.prototype.toString.call(Ce)=="[object Arguments]"}function Se(Ce,Oe,Me,Ue){if(Ce==null||Oe===null||Oe===void 0)return!1;if(ce.isPrimitive(Ce)||ce.isPrimitive(Oe))return Ce===Oe;if(Me&&Object.getPrototypeOf(Ce)!==Object.getPrototypeOf(Oe))return!1;var je=pe(Ce),nt=pe(Oe);if(je&&!nt||!je&&nt)return!1;if(je)return Ce=oe.call(Ce),Oe=oe.call(Oe),ve(Ce,Oe,Me);var Ye=Te(Ce),Qe=Te(Oe),Xe,ze;if(Ye.length!==Qe.length)return!1;for(Ye.sort(),Qe.sort(),ze=Ye.length-1;ze>=0;ze--)if(Ye[ze]!==Qe[ze])return!1;for(ze=Ye.length-1;ze>=0;ze--)if(Xe=Ye[ze],!ve(Ce[Xe],Oe[Xe],Me,Ue))return!1;return!0}y.notDeepEqual=function(Oe,Me,Ue){ve(Oe,Me,!1)&&de(Oe,Me,Ue,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ye;function ye(Ce,Oe,Me){ve(Ce,Oe,!0)&&de(Ce,Oe,Me,"notDeepStrictEqual",ye)}y.strictEqual=function(Oe,Me,Ue){Oe!==Me&&de(Oe,Me,Ue,"===",y.strictEqual)},y.notStrictEqual=function(Oe,Me,Ue){Oe===Me&&de(Oe,Me,Ue,"!==",y.notStrictEqual)};function Pe(Ce,Oe){if(!Ce||!Oe)return!1;if(Object.prototype.toString.call(Oe)=="[object RegExp]")return Oe.test(Ce);try{if(Ce instanceof Oe)return!0}catch(Me){}return Error.isPrototypeOf(Oe)?!1:Oe.call({},Ce)===!0}function we(Ce){var Oe;try{Ce()}catch(Me){Oe=Me}return Oe}function xe(Ce,Oe,Me,Ue){var je;if(typeof Oe!="function")throw new TypeError('"block" argument must be a function');typeof Me=="string"&&(Ue=Me,Me=null),je=we(Oe),Ue=(Me&&Me.name?" ("+Me.name+").":".")+(Ue?" "+Ue:"."),Ce&&!je&&de(je,Me,"Missing expected exception"+Ue);var nt=typeof Ue=="string",Ye=!Ce&&ce.isError(je),Qe=!Ce&&je&&!Me;if((Ye&&nt&&Pe(je,Me)||Qe)&&de(je,Me,"Got unwanted exception"+Ue),Ce&&je&&Me&&!Pe(je,Me)||!Ce&&je)throw je}y.throws=function(Ce,Oe,Me){xe(!0,Ce,Oe,Me)},y.doesNotThrow=function(Ce,Oe,Me){xe(!1,Ce,Oe,Me)},y.ifError=function(Ce){if(Ce)throw Ce};function Ee(Ce,Oe){Ce||de(Ce,!0,Oe,"==",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 Oe=[];for(var Me in Ce)ae.call(Ce,Me)&&Oe.push(Me);return Oe}}).call(this)}).call(this,typeof ht!="undefined"?ht: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=[],ze=0;ze<arguments.length;ze++)Xe.push(ae(arguments[ze]));return Xe.join(" ")}for(var ze=1,ke=arguments,Be=ke.length,qe=String(Qe).replace(ie,function(gt){if(gt==="%%")return"%";if(ze>=Be)return gt;switch(gt){case"%s":return String(ke[ze++]);case"%d":return Number(ke[ze++]);case"%j":try{return JSON.stringify(ke[ze++])}catch(We){return"[Circular]"}default:return gt}}),Je=ke[ze];ze<Be;Je=ke[++ze])ge(Je)||!xe(Je)?qe+=" "+Je:qe+=" "+ae(Je);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 ze=!1;function ke(){if(!ze){if(se.throwDeprecation)throw new Error(Xe);se.traceDeprecation?console.trace(Xe):console.error(Xe),ze=!0}return Qe.apply(this,arguments)}return ke};var le={},ce;fe.debuglog=function(Qe){if(Pe(ce)&&(ce=se.env.NODE_DEBUG||""),Qe=Qe.toUpperCase(),!le[Qe])if(new RegExp("\\b"+Qe+"\\b","i").test(ce)){var Xe=se.pid;le[Qe]=function(){var ze=fe.format.apply(fe,arguments);console.error("%s %d: %s",Qe,Xe,ze)}}else le[Qe]=function(){};return le[Qe]};function ae(Qe,Xe){var ze={seen:[],stylize:ne};return arguments.length>=3&&(ze.depth=arguments[2]),arguments.length>=4&&(ze.colors=arguments[3]),de(Xe)?ze.showHidden=Xe:Xe&&fe._extend(ze,Xe),Pe(ze.showHidden)&&(ze.showHidden=!1),Pe(ze.depth)&&(ze.depth=2),Pe(ze.colors)&&(ze.colors=!1),Pe(ze.customInspect)&&(ze.customInspect=!0),ze.colors&&(ze.stylize=oe),a(ze,Qe,ze.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 ze=ae.styles[Xe];return ze?"\x1B["+ae.colors[ze][0]+"m"+Qe+"\x1B["+ae.colors[ze][1]+"m":Qe}function ne(Qe,Xe){return Qe}function z(Qe){var Xe={};return Qe.forEach(function(ze,ke){Xe[ze]=!0}),Xe}function a(Qe,Xe,ze){if(Qe.customInspect&&Xe&&Ce(Xe.inspect)&&Xe.inspect!==fe.inspect&&!(Xe.constructor&&Xe.constructor.prototype===Xe)){var ke=Xe.inspect(ze,Qe);return Se(ke)||(ke=a(Qe,ke,ze)),ke}var Be=y(Qe,Xe);if(Be)return Be;var qe=Object.keys(Xe),Je=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 gt=Xe.name?": "+Xe.name:"";return Qe.stylize("[Function"+gt+"]","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="",$e=!1,Re=["{","}"];if(ue(Xe)&&($e=!0,Re=["[","]"]),Ce(Xe)){var tt=Xe.name?": "+Xe.name:"";We=" [Function"+tt+"]"}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&&(!$e||Xe.length==0))return Re[0]+We+Re[1];if(ze<0)return we(Xe)?Qe.stylize(RegExp.prototype.toString.call(Xe),"regexp"):Qe.stylize("[Object]","special");Qe.seen.push(Xe);var Ie;return $e?Ie=b(Qe,Xe,ze,Je,qe):Ie=qe.map(function(He){return ee(Qe,Xe,ze,Je,He,$e)}),Qe.seen.pop(),te(Ie,We,Re)}function y(Qe,Xe){if(Pe(Xe))return Qe.stylize("undefined","undefined");if(Se(Xe)){var ze="'"+JSON.stringify(Xe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Qe.stylize(ze,"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,ze,ke,Be){for(var qe=[],Je=0,gt=Xe.length;Je<gt;++Je)Ye(Xe,String(Je))?qe.push(ee(Qe,Xe,ze,ke,String(Je),!0)):qe.push("");return Be.forEach(function(We){We.match(/^\d+$/)||qe.push(ee(Qe,Xe,ze,ke,We,!0))}),qe}function ee(Qe,Xe,ze,ke,Be,qe){var Je,gt,We;if(We=Object.getOwnPropertyDescriptor(Xe,Be)||{value:Xe[Be]},We.get?We.set?gt=Qe.stylize("[Getter/Setter]","special"):gt=Qe.stylize("[Getter]","special"):We.set&&(gt=Qe.stylize("[Setter]","special")),Ye(ke,Be)||(Je="["+Be+"]"),gt||(Qe.seen.indexOf(We.value)<0?(ge(ze)?gt=a(Qe,We.value,null):gt=a(Qe,We.value,ze-1),gt.indexOf(`
`)>-1&&(qe?gt=gt.split(`
`).map(function($e){return" "+$e}).join(`
`).substr(2):gt=`
`+gt.split(`
`).map(function($e){return" "+$e}).join(`
`))):gt=Qe.stylize("[Circular]","special")),Pe(Je)){if(qe&&Be.match(/^\d+$/))return gt;Je=JSON.stringify(""+Be),Je.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Je=Je.substr(1,Je.length-2),Je=Qe.stylize(Je,"name")):(Je=Je.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Je=Qe.stylize(Je,"string"))}return Je+": "+gt}function te(Qe,Xe,ze){var ke=0,Be=Qe.reduce(function(qe,Je){return ke++,Je.indexOf(`
`)>=0&&ke++,qe+Je.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Be>60?ze[0]+(Xe===""?"":Xe+`
`)+" "+Qe.join(`,
`)+" "+ze[1]:ze[0]+Xe+" "+Qe.join(", ")+" "+ze[1]}function ue(Qe){return Array.isArray(Qe)}fe.isArray=ue;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 xe(Qe)&&Me(Qe)==="[object RegExp]"}fe.isRegExp=we;function xe(Qe){return typeof Qe=="object"&&Qe!==null}fe.isObject=xe;function Ee(Qe){return xe(Qe)&&Me(Qe)==="[object Date]"}fe.isDate=Ee;function Te(Qe){return xe(Qe)&&(Me(Qe)==="[object Error]"||Qe instanceof Error)}fe.isError=Te;function Ce(Qe){return typeof Qe=="function"}fe.isFunction=Ce;function Oe(Qe){return Qe===null||typeof Qe=="boolean"||typeof Qe=="number"||typeof Qe=="string"||typeof Qe=="symbol"||typeof Qe=="undefined"}fe.isPrimitive=Oe,fe.isBuffer=E("./support/isBuffer");function Me(Qe){return Object.prototype.toString.call(Qe)}function Ue(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 nt(){var Qe=new Date,Xe=[Ue(Qe.getHours()),Ue(Qe.getMinutes()),Ue(Qe.getSeconds())].join(":");return[Qe.getDate(),je[Qe.getMonth()],Xe].join(" ")}fe.log=function(){console.log("%s - %s",nt(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(Qe,Xe){if(!Xe||!xe(Xe))return Qe;for(var ze=Object.keys(Xe),ke=ze.length;ke--;)Qe[ze[ke]]=Xe[ze[ke]];return Qe};function Ye(Qe,Xe){return Object.prototype.hasOwnProperty.call(Qe,Xe)}}).call(this)}).call(this,E("_process"),typeof ht!="undefined"?ht: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 ce=[],ae=0;ae<re.length;ae++)typeof ie[re[ae]]=="function"&&(ce[ce.length]=re[ae]);return ce}}).call(this)}).call(this,typeof ht!="undefined"?ht: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+/",ce=0,ae=le.length;ce<ae;++ce)se[ce]=le[ce],re[le.charCodeAt(ce)]=ce;re[45]=62,re[95]=63;function oe(ee){var te=ee.length;if(te%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ue=ee.indexOf("=");ue===-1&&(ue=te);var de=ue===te?0:4-ue%4;return[ue,de]}function ne(ee){var te=oe(ee),ue=te[0],de=te[1];return(ue+de)*3/4-de}function z(ee,te,ue){return(te+ue)*3/4-ue}function a(ee){var te,ue=oe(ee),de=ue[0],ge=ue[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,ue){for(var de,ge=[],ve=te;ve<ue;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,ue=ee.length,de=ue%3,ge=[],ve=16383,pe=0,Se=ue-de;pe<Se;pe+=ve)ge.push(x(ee,pe,pe+ve>Se?Se:pe+ve));return de===1?(te=ee[ue-1],ge.push(se[te>>2]+se[te<<4&63]+"==")):de===2&&(te=(ee[ue-2]<<8)+ee[ue-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 ze=z.match(Xe);return ze&&ze.length>1&&ze[1]||""}function y(Xe){var ze=z.match(Xe);return ze&&ze.length>1&&ze[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),ue=!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),xe=!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),Oe=/tablet/i.test(z)&&!/tablet pc/i.test(z),Me=!Oe&&/[^-]mobi/i.test(z),Ue=/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"):xe?(je.mac=se,je.osname="macOS"):Ue?(je.xbox=se,je.osname="Xbox"):we?(je.windows=se,je.osname="Windows"):Ee&&(je.linux=se,je.osname="Linux");function nt(Xe){switch(Xe){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var Ye="";je.windows?Ye=nt(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):je.windowsphone?Ye=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):je.mac?(Ye=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Ye=Ye.replace(/[_\s]/g,".")):x?(Ye=a(/os (\d+([_\s]\d+)*) like mac os x/i),Ye=Ye.replace(/[_\s]/g,".")):ee?Ye=a(/android[ \/-](\d+(\.\d+)*)/i):je.webos?Ye=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):je.blackberry?Ye=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):je.bada?Ye=a(/bada\/(\d+(\.\d+)*)/i):je.tizen&&(Ye=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Ye&&(je.osversion=Ye);var Qe=!je.windows&&Ye.split(".")[0];return Oe||ue||x=="ipad"||ee&&(Qe==3||Qe>=4&&!Me)||je.silk?je.tablet=se:(Me||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 ce(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=ce(z,function(x){var b=a-le(x);return x=x+new Array(b+1).join(".0"),ce(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=ce(),!oe.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ce(){try{var Ae=new Uint8Array(1);return Ae.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ae.foo()===42}catch(Le){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(Ae){if(Ae>le)throw new RangeError('The value "'+Ae+'" is invalid for option "size"');var Le=new Uint8Array(Ae);return Le.__proto__=oe.prototype,Le}function oe(Ae,Le,Ne){if(typeof Ae=="number"){if(typeof Le=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Ae)}return ne(Ae,Le,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(Ae,Le,Ne){if(typeof Ae=="string")return x(Ae,Le);if(ArrayBuffer.isView(Ae))return b(Ae);if(Ae==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ae);if(Ze(Ae,ArrayBuffer)||Ae&&Ze(Ae.buffer,ArrayBuffer))return ee(Ae,Le,Ne);if(typeof Ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ge=Ae.valueOf&&Ae.valueOf();if(Ge!=null&&Ge!==Ae)return oe.from(Ge,Le,Ne);var rt=te(Ae);if(rt)return rt;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Ae[Symbol.toPrimitive]=="function")return oe.from(Ae[Symbol.toPrimitive]("string"),Le,Ne);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ae)}oe.from=function(Ae,Le,Ne){return ne(Ae,Le,Ne)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function z(Ae){if(typeof Ae!="number")throw new TypeError('"size" argument must be of type number');if(Ae<0)throw new RangeError('The value "'+Ae+'" is invalid for option "size"')}function a(Ae,Le,Ne){return z(Ae),Ae<=0?ae(Ae):Le!==void 0?typeof Ne=="string"?ae(Ae).fill(Le,Ne):ae(Ae).fill(Le):ae(Ae)}oe.alloc=function(Ae,Le,Ne){return a(Ae,Le,Ne)};function y(Ae){return z(Ae),ae(Ae<0?0:ue(Ae)|0)}oe.allocUnsafe=function(Ae){return y(Ae)},oe.allocUnsafeSlow=function(Ae){return y(Ae)};function x(Ae,Le){if((typeof Le!="string"||Le==="")&&(Le="utf8"),!oe.isEncoding(Le))throw new TypeError("Unknown encoding: "+Le);var Ne=ge(Ae,Le)|0,Ge=ae(Ne),rt=Ge.write(Ae,Le);return rt!==Ne&&(Ge=Ge.slice(0,rt)),Ge}function b(Ae){for(var Le=Ae.length<0?0:ue(Ae.length)|0,Ne=ae(Le),Ge=0;Ge<Le;Ge+=1)Ne[Ge]=Ae[Ge]&255;return Ne}function ee(Ae,Le,Ne){if(Le<0||Ae.byteLength<Le)throw new RangeError('"offset" is outside of buffer bounds');if(Ae.byteLength<Le+(Ne||0))throw new RangeError('"length" is outside of buffer bounds');var Ge;return Le===void 0&&Ne===void 0?Ge=new Uint8Array(Ae):Ne===void 0?Ge=new Uint8Array(Ae,Le):Ge=new Uint8Array(Ae,Le,Ne),Ge.__proto__=oe.prototype,Ge}function te(Ae){if(oe.isBuffer(Ae)){var Le=ue(Ae.length)|0,Ne=ae(Le);return Ne.length===0||Ae.copy(Ne,0,0,Le),Ne}if(Ae.length!==void 0)return typeof Ae.length!="number"||Ke(Ae.length)?ae(0):b(Ae);if(Ae.type==="Buffer"&&Array.isArray(Ae.data))return b(Ae.data)}function ue(Ae){if(Ae>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return Ae|0}function de(Ae){return+Ae!=Ae&&(Ae=0),oe.alloc(+Ae)}oe.isBuffer=function(Le){return Le!=null&&Le._isBuffer===!0&&Le!==oe.prototype},oe.compare=function(Le,Ne){if(Ze(Le,Uint8Array)&&(Le=oe.from(Le,Le.offset,Le.byteLength)),Ze(Ne,Uint8Array)&&(Ne=oe.from(Ne,Ne.offset,Ne.byteLength)),!oe.isBuffer(Le)||!oe.isBuffer(Ne))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Le===Ne)return 0;for(var Ge=Le.length,rt=Ne.length,St=0,Pt=Math.min(Ge,rt);St<Pt;++St)if(Le[St]!==Ne[St]){Ge=Le[St],rt=Ne[St];break}return Ge<rt?-1:rt<Ge?1:0},oe.isEncoding=function(Le){switch(String(Le).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(Le,Ne){if(!Array.isArray(Le))throw new TypeError('"list" argument must be an Array of Buffers');if(Le.length===0)return oe.alloc(0);var Ge;if(Ne===void 0)for(Ne=0,Ge=0;Ge<Le.length;++Ge)Ne+=Le[Ge].length;var rt=oe.allocUnsafe(Ne),St=0;for(Ge=0;Ge<Le.length;++Ge){var Pt=Le[Ge];if(Ze(Pt,Uint8Array)&&(Pt=oe.from(Pt)),!oe.isBuffer(Pt))throw new TypeError('"list" argument must be an Array of Buffers');Pt.copy(rt,St),St+=Pt.length}return rt};function ge(Ae,Le){if(oe.isBuffer(Ae))return Ae.length;if(ArrayBuffer.isView(Ae)||Ze(Ae,ArrayBuffer))return Ae.byteLength;if(typeof Ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ae);var Ne=Ae.length,Ge=arguments.length>2&&arguments[2]===!0;if(!Ge&&Ne===0)return 0;for(var rt=!1;;)switch(Le){case"ascii":case"latin1":case"binary":return Ne;case"utf8":case"utf-8":return Re(Ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne*2;case"hex":return Ne>>>1;case"base64":return He(Ae).length;default:if(rt)return Ge?-1:Re(Ae).length;Le=(""+Le).toLowerCase(),rt=!0}}oe.byteLength=ge;function ve(Ae,Le,Ne){var Ge=!1;if((Le===void 0||Le<0)&&(Le=0),Le>this.length||((Ne===void 0||Ne>this.length)&&(Ne=this.length),Ne<=0)||(Ne>>>=0,Le>>>=0,Ne<=Le))return"";for(Ae||(Ae="utf8");;)switch(Ae){case"hex":return Qe(this,Le,Ne);case"utf8":case"utf-8":return Me(this,Le,Ne);case"ascii":return nt(this,Le,Ne);case"latin1":case"binary":return Ye(this,Le,Ne);case"base64":return Oe(this,Le,Ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe(this,Le,Ne);default:if(Ge)throw new TypeError("Unknown encoding: "+Ae);Ae=(Ae+"").toLowerCase(),Ge=!0}}oe.prototype._isBuffer=!0;function pe(Ae,Le,Ne){var Ge=Ae[Le];Ae[Le]=Ae[Ne],Ae[Ne]=Ge}oe.prototype.swap16=function(){var Le=this.length;if(Le%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ne=0;Ne<Le;Ne+=2)pe(this,Ne,Ne+1);return this},oe.prototype.swap32=function(){var Le=this.length;if(Le%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Ne=0;Ne<Le;Ne+=4)pe(this,Ne,Ne+3),pe(this,Ne+1,Ne+2);return this},oe.prototype.swap64=function(){var Le=this.length;if(Le%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Ne=0;Ne<Le;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 Le=this.length;return Le===0?"":arguments.length===0?Me(this,0,Le):ve.apply(this,arguments)},oe.prototype.toLocaleString=oe.prototype.toString,oe.prototype.equals=function(Le){if(!oe.isBuffer(Le))throw new TypeError("Argument must be a Buffer");return this===Le?!0:oe.compare(this,Le)===0},oe.prototype.inspect=function(){var Le="",Ne=fe.INSPECT_MAX_BYTES;return Le=this.toString("hex",0,Ne).replace(/(.{2})/g,"$1 ").trim(),this.length>Ne&&(Le+=" ... "),"<Buffer "+Le+">"},oe.prototype.compare=function(Le,Ne,Ge,rt,St){if(Ze(Le,Uint8Array)&&(Le=oe.from(Le,Le.offset,Le.byteLength)),!oe.isBuffer(Le))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Le);if(Ne===void 0&&(Ne=0),Ge===void 0&&(Ge=Le?Le.length:0),rt===void 0&&(rt=0),St===void 0&&(St=this.length),Ne<0||Ge>Le.length||rt<0||St>this.length)throw new RangeError("out of range index");if(rt>=St&&Ne>=Ge)return 0;if(rt>=St)return-1;if(Ne>=Ge)return 1;if(Ne>>>=0,Ge>>>=0,rt>>>=0,St>>>=0,this===Le)return 0;for(var Pt=St-rt,At=Ge-Ne,bn=Math.min(Pt,At),$t=this.slice(rt,St),ft=Le.slice(Ne,Ge),st=0;st<bn;++st)if($t[st]!==ft[st]){Pt=$t[st],At=ft[st];break}return Pt<At?-1:At<Pt?1:0};function Se(Ae,Le,Ne,Ge,rt){if(Ae.length===0)return-1;if(typeof Ne=="string"?(Ge=Ne,Ne=0):Ne>2147483647?Ne=2147483647:Ne<-2147483648&&(Ne=-2147483648),Ne=+Ne,Ke(Ne)&&(Ne=rt?0:Ae.length-1),Ne<0&&(Ne=Ae.length+Ne),Ne>=Ae.length){if(rt)return-1;Ne=Ae.length-1}else if(Ne<0)if(rt)Ne=0;else return-1;if(typeof Le=="string"&&(Le=oe.from(Le,Ge)),oe.isBuffer(Le))return Le.length===0?-1:ye(Ae,Le,Ne,Ge,rt);if(typeof Le=="number")return Le=Le&255,typeof Uint8Array.prototype.indexOf=="function"?rt?Uint8Array.prototype.indexOf.call(Ae,Le,Ne):Uint8Array.prototype.lastIndexOf.call(Ae,Le,Ne):ye(Ae,[Le],Ne,Ge,rt);throw new TypeError("val must be string, number or Buffer")}function ye(Ae,Le,Ne,Ge,rt){var St=1,Pt=Ae.length,At=Le.length;if(Ge!==void 0&&(Ge=String(Ge).toLowerCase(),Ge==="ucs2"||Ge==="ucs-2"||Ge==="utf16le"||Ge==="utf-16le")){if(Ae.length<2||Le.length<2)return-1;St=2,Pt/=2,At/=2,Ne/=2}function bn(ot,at){return St===1?ot[at]:ot.readUInt16BE(at*St)}var $t;if(rt){var ft=-1;for($t=Ne;$t<Pt;$t++)if(bn(Ae,$t)===bn(Le,ft===-1?0:$t-ft)){if(ft===-1&&(ft=$t),$t-ft+1===At)return ft*St}else ft!==-1&&($t-=$t-ft),ft=-1}else for(Ne+At>Pt&&(Ne=Pt-At),$t=Ne;$t>=0;$t--){for(var st=!0,zt=0;zt<At;zt++)if(bn(Ae,$t+zt)!==bn(Le,zt)){st=!1;break}if(st)return $t}return-1}oe.prototype.includes=function(Le,Ne,Ge){return this.indexOf(Le,Ne,Ge)!==-1},oe.prototype.indexOf=function(Le,Ne,Ge){return Se(this,Le,Ne,Ge,!0)},oe.prototype.lastIndexOf=function(Le,Ne,Ge){return Se(this,Le,Ne,Ge,!1)};function Pe(Ae,Le,Ne,Ge){Ne=Number(Ne)||0;var rt=Ae.length-Ne;Ge?(Ge=Number(Ge),Ge>rt&&(Ge=rt)):Ge=rt;var St=Le.length;Ge>St/2&&(Ge=St/2);for(var Pt=0;Pt<Ge;++Pt){var At=parseInt(Le.substr(Pt*2,2),16);if(Ke(At))return Pt;Ae[Ne+Pt]=At}return Pt}function we(Ae,Le,Ne,Ge){return Ve(Re(Le,Ae.length-Ne),Ae,Ne,Ge)}function xe(Ae,Le,Ne,Ge){return Ve(tt(Le),Ae,Ne,Ge)}function Ee(Ae,Le,Ne,Ge){return xe(Ae,Le,Ne,Ge)}function Te(Ae,Le,Ne,Ge){return Ve(He(Le),Ae,Ne,Ge)}function Ce(Ae,Le,Ne,Ge){return Ve(Ie(Le,Ae.length-Ne),Ae,Ne,Ge)}oe.prototype.write=function(Le,Ne,Ge,rt){if(Ne===void 0)rt="utf8",Ge=this.length,Ne=0;else if(Ge===void 0&&typeof Ne=="string")rt=Ne,Ge=this.length,Ne=0;else if(isFinite(Ne))Ne=Ne>>>0,isFinite(Ge)?(Ge=Ge>>>0,rt===void 0&&(rt="utf8")):(rt=Ge,Ge=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var St=this.length-Ne;if((Ge===void 0||Ge>St)&&(Ge=St),Le.length>0&&(Ge<0||Ne<0)||Ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");rt||(rt="utf8");for(var Pt=!1;;)switch(rt){case"hex":return Pe(this,Le,Ne,Ge);case"utf8":case"utf-8":return we(this,Le,Ne,Ge);case"ascii":return xe(this,Le,Ne,Ge);case"latin1":case"binary":return Ee(this,Le,Ne,Ge);case"base64":return Te(this,Le,Ne,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(this,Le,Ne,Ge);default:if(Pt)throw new TypeError("Unknown encoding: "+rt);rt=(""+rt).toLowerCase(),Pt=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Oe(Ae,Le,Ne){return Le===0&&Ne===Ae.length?re.fromByteArray(Ae):re.fromByteArray(Ae.slice(Le,Ne))}function Me(Ae,Le,Ne){Ne=Math.min(Ae.length,Ne);for(var Ge=[],rt=Le;rt<Ne;){var St=Ae[rt],Pt=null,At=St>239?4:St>223?3:St>191?2:1;if(rt+At<=Ne){var bn,$t,ft,st;switch(At){case 1:St<128&&(Pt=St);break;case 2:bn=Ae[rt+1],(bn&192)===128&&(st=(St&31)<<6|bn&63,st>127&&(Pt=st));break;case 3:bn=Ae[rt+1],$t=Ae[rt+2],(bn&192)===128&&($t&192)===128&&(st=(St&15)<<12|(bn&63)<<6|$t&63,st>2047&&(st<55296||st>57343)&&(Pt=st));break;case 4:bn=Ae[rt+1],$t=Ae[rt+2],ft=Ae[rt+3],(bn&192)===128&&($t&192)===128&&(ft&192)===128&&(st=(St&15)<<18|(bn&63)<<12|($t&63)<<6|ft&63,st>65535&&st<1114112&&(Pt=st))}}Pt===null?(Pt=65533,At=1):Pt>65535&&(Pt-=65536,Ge.push(Pt>>>10&1023|55296),Pt=56320|Pt&1023),Ge.push(Pt),rt+=At}return je(Ge)}var Ue=4096;function je(Ae){var Le=Ae.length;if(Le<=Ue)return String.fromCharCode.apply(String,Ae);for(var Ne="",Ge=0;Ge<Le;)Ne+=String.fromCharCode.apply(String,Ae.slice(Ge,Ge+=Ue));return Ne}function nt(Ae,Le,Ne){var Ge="";Ne=Math.min(Ae.length,Ne);for(var rt=Le;rt<Ne;++rt)Ge+=String.fromCharCode(Ae[rt]&127);return Ge}function Ye(Ae,Le,Ne){var Ge="";Ne=Math.min(Ae.length,Ne);for(var rt=Le;rt<Ne;++rt)Ge+=String.fromCharCode(Ae[rt]);return Ge}function Qe(Ae,Le,Ne){var Ge=Ae.length;(!Le||Le<0)&&(Le=0),(!Ne||Ne<0||Ne>Ge)&&(Ne=Ge);for(var rt="",St=Le;St<Ne;++St)rt+=$e(Ae[St]);return rt}function Xe(Ae,Le,Ne){for(var Ge=Ae.slice(Le,Ne),rt="",St=0;St<Ge.length;St+=2)rt+=String.fromCharCode(Ge[St]+Ge[St+1]*256);return rt}oe.prototype.slice=function(Le,Ne){var Ge=this.length;Le=~~Le,Ne=Ne===void 0?Ge:~~Ne,Le<0?(Le+=Ge,Le<0&&(Le=0)):Le>Ge&&(Le=Ge),Ne<0?(Ne+=Ge,Ne<0&&(Ne=0)):Ne>Ge&&(Ne=Ge),Ne<Le&&(Ne=Le);var rt=this.subarray(Le,Ne);return rt.__proto__=oe.prototype,rt};function ze(Ae,Le,Ne){if(Ae%1!==0||Ae<0)throw new RangeError("offset is not uint");if(Ae+Le>Ne)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Le,Ne,Ge){Le=Le>>>0,Ne=Ne>>>0,Ge||ze(Le,Ne,this.length);for(var rt=this[Le],St=1,Pt=0;++Pt<Ne&&(St*=256);)rt+=this[Le+Pt]*St;return rt},oe.prototype.readUIntBE=function(Le,Ne,Ge){Le=Le>>>0,Ne=Ne>>>0,Ge||ze(Le,Ne,this.length);for(var rt=this[Le+--Ne],St=1;Ne>0&&(St*=256);)rt+=this[Le+--Ne]*St;return rt},oe.prototype.readUInt8=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,1,this.length),this[Le]},oe.prototype.readUInt16LE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,2,this.length),this[Le]|this[Le+1]<<8},oe.prototype.readUInt16BE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,2,this.length),this[Le]<<8|this[Le+1]},oe.prototype.readUInt32LE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),(this[Le]|this[Le+1]<<8|this[Le+2]<<16)+this[Le+3]*16777216},oe.prototype.readUInt32BE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),this[Le]*16777216+(this[Le+1]<<16|this[Le+2]<<8|this[Le+3])},oe.prototype.readIntLE=function(Le,Ne,Ge){Le=Le>>>0,Ne=Ne>>>0,Ge||ze(Le,Ne,this.length);for(var rt=this[Le],St=1,Pt=0;++Pt<Ne&&(St*=256);)rt+=this[Le+Pt]*St;return St*=128,rt>=St&&(rt-=Math.pow(2,8*Ne)),rt},oe.prototype.readIntBE=function(Le,Ne,Ge){Le=Le>>>0,Ne=Ne>>>0,Ge||ze(Le,Ne,this.length);for(var rt=Ne,St=1,Pt=this[Le+--rt];rt>0&&(St*=256);)Pt+=this[Le+--rt]*St;return St*=128,Pt>=St&&(Pt-=Math.pow(2,8*Ne)),Pt},oe.prototype.readInt8=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,1,this.length),this[Le]&128?(255-this[Le]+1)*-1:this[Le]},oe.prototype.readInt16LE=function(Le,Ne){Le=Le>>>0,Ne||ze(Le,2,this.length);var Ge=this[Le]|this[Le+1]<<8;return Ge&32768?Ge|4294901760:Ge},oe.prototype.readInt16BE=function(Le,Ne){Le=Le>>>0,Ne||ze(Le,2,this.length);var Ge=this[Le+1]|this[Le]<<8;return Ge&32768?Ge|4294901760:Ge},oe.prototype.readInt32LE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),this[Le]|this[Le+1]<<8|this[Le+2]<<16|this[Le+3]<<24},oe.prototype.readInt32BE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),this[Le]<<24|this[Le+1]<<16|this[Le+2]<<8|this[Le+3]},oe.prototype.readFloatLE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),ie.read(this,Le,!0,23,4)},oe.prototype.readFloatBE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,4,this.length),ie.read(this,Le,!1,23,4)},oe.prototype.readDoubleLE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,8,this.length),ie.read(this,Le,!0,52,8)},oe.prototype.readDoubleBE=function(Le,Ne){return Le=Le>>>0,Ne||ze(Le,8,this.length),ie.read(this,Le,!1,52,8)};function ke(Ae,Le,Ne,Ge,rt,St){if(!oe.isBuffer(Ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(Le>rt||Le<St)throw new RangeError('"value" argument is out of bounds');if(Ne+Ge>Ae.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Le,Ne,Ge,rt){if(Le=+Le,Ne=Ne>>>0,Ge=Ge>>>0,!rt){var St=Math.pow(2,8*Ge)-1;ke(this,Le,Ne,Ge,St,0)}var Pt=1,At=0;for(this[Ne]=Le&255;++At<Ge&&(Pt*=256);)this[Ne+At]=Le/Pt&255;return Ne+Ge},oe.prototype.writeUIntBE=function(Le,Ne,Ge,rt){if(Le=+Le,Ne=Ne>>>0,Ge=Ge>>>0,!rt){var St=Math.pow(2,8*Ge)-1;ke(this,Le,Ne,Ge,St,0)}var Pt=Ge-1,At=1;for(this[Ne+Pt]=Le&255;--Pt>=0&&(At*=256);)this[Ne+Pt]=Le/At&255;return Ne+Ge},oe.prototype.writeUInt8=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,1,255,0),this[Ne]=Le&255,Ne+1},oe.prototype.writeUInt16LE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,2,65535,0),this[Ne]=Le&255,this[Ne+1]=Le>>>8,Ne+2},oe.prototype.writeUInt16BE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,2,65535,0),this[Ne]=Le>>>8,this[Ne+1]=Le&255,Ne+2},oe.prototype.writeUInt32LE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,4,4294967295,0),this[Ne+3]=Le>>>24,this[Ne+2]=Le>>>16,this[Ne+1]=Le>>>8,this[Ne]=Le&255,Ne+4},oe.prototype.writeUInt32BE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,4,4294967295,0),this[Ne]=Le>>>24,this[Ne+1]=Le>>>16,this[Ne+2]=Le>>>8,this[Ne+3]=Le&255,Ne+4},oe.prototype.writeIntLE=function(Le,Ne,Ge,rt){if(Le=+Le,Ne=Ne>>>0,!rt){var St=Math.pow(2,8*Ge-1);ke(this,Le,Ne,Ge,St-1,-St)}var Pt=0,At=1,bn=0;for(this[Ne]=Le&255;++Pt<Ge&&(At*=256);)Le<0&&bn===0&&this[Ne+Pt-1]!==0&&(bn=1),this[Ne+Pt]=(Le/At>>0)-bn&255;return Ne+Ge},oe.prototype.writeIntBE=function(Le,Ne,Ge,rt){if(Le=+Le,Ne=Ne>>>0,!rt){var St=Math.pow(2,8*Ge-1);ke(this,Le,Ne,Ge,St-1,-St)}var Pt=Ge-1,At=1,bn=0;for(this[Ne+Pt]=Le&255;--Pt>=0&&(At*=256);)Le<0&&bn===0&&this[Ne+Pt+1]!==0&&(bn=1),this[Ne+Pt]=(Le/At>>0)-bn&255;return Ne+Ge},oe.prototype.writeInt8=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,1,127,-128),Le<0&&(Le=255+Le+1),this[Ne]=Le&255,Ne+1},oe.prototype.writeInt16LE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,2,32767,-32768),this[Ne]=Le&255,this[Ne+1]=Le>>>8,Ne+2},oe.prototype.writeInt16BE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,2,32767,-32768),this[Ne]=Le>>>8,this[Ne+1]=Le&255,Ne+2},oe.prototype.writeInt32LE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,4,2147483647,-2147483648),this[Ne]=Le&255,this[Ne+1]=Le>>>8,this[Ne+2]=Le>>>16,this[Ne+3]=Le>>>24,Ne+4},oe.prototype.writeInt32BE=function(Le,Ne,Ge){return Le=+Le,Ne=Ne>>>0,Ge||ke(this,Le,Ne,4,2147483647,-2147483648),Le<0&&(Le=4294967295+Le+1),this[Ne]=Le>>>24,this[Ne+1]=Le>>>16,this[Ne+2]=Le>>>8,this[Ne+3]=Le&255,Ne+4};function Be(Ae,Le,Ne,Ge,rt,St){if(Ne+Ge>Ae.length)throw new RangeError("Index out of range");if(Ne<0)throw new RangeError("Index out of range")}function qe(Ae,Le,Ne,Ge,rt){return Le=+Le,Ne=Ne>>>0,rt||Be(Ae,Le,Ne,4,34028234663852886e22,-34028234663852886e22),ie.write(Ae,Le,Ne,Ge,23,4),Ne+4}oe.prototype.writeFloatLE=function(Le,Ne,Ge){return qe(this,Le,Ne,!0,Ge)},oe.prototype.writeFloatBE=function(Le,Ne,Ge){return qe(this,Le,Ne,!1,Ge)};function Je(Ae,Le,Ne,Ge,rt){return Le=+Le,Ne=Ne>>>0,rt||Be(Ae,Le,Ne,8,17976931348623157e292,-17976931348623157e292),ie.write(Ae,Le,Ne,Ge,52,8),Ne+8}oe.prototype.writeDoubleLE=function(Le,Ne,Ge){return Je(this,Le,Ne,!0,Ge)},oe.prototype.writeDoubleBE=function(Le,Ne,Ge){return Je(this,Le,Ne,!1,Ge)},oe.prototype.copy=function(Le,Ne,Ge,rt){if(!oe.isBuffer(Le))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!rt&&rt!==0&&(rt=this.length),Ne>=Le.length&&(Ne=Le.length),Ne||(Ne=0),rt>0&&rt<Ge&&(rt=Ge),rt===Ge||Le.length===0||this.length===0)return 0;if(Ne<0)throw new RangeError("targetStart out of bounds");if(Ge<0||Ge>=this.length)throw new RangeError("Index out of range");if(rt<0)throw new RangeError("sourceEnd out of bounds");rt>this.length&&(rt=this.length),Le.length-Ne<rt-Ge&&(rt=Le.length-Ne+Ge);var St=rt-Ge;if(this===Le&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Ne,Ge,rt);else if(this===Le&&Ge<Ne&&Ne<rt)for(var Pt=St-1;Pt>=0;--Pt)Le[Pt+Ne]=this[Pt+Ge];else Uint8Array.prototype.set.call(Le,this.subarray(Ge,rt),Ne);return St},oe.prototype.fill=function(Le,Ne,Ge,rt){if(typeof Le=="string"){if(typeof Ne=="string"?(rt=Ne,Ne=0,Ge=this.length):typeof Ge=="string"&&(rt=Ge,Ge=this.length),rt!==void 0&&typeof rt!="string")throw new TypeError("encoding must be a string");if(typeof rt=="string"&&!oe.isEncoding(rt))throw new TypeError("Unknown encoding: "+rt);if(Le.length===1){var St=Le.charCodeAt(0);(rt==="utf8"&&St<128||rt==="latin1")&&(Le=St)}}else typeof Le=="number"&&(Le=Le&255);if(Ne<0||this.length<Ne||this.length<Ge)throw new RangeError("Out of range index");if(Ge<=Ne)return this;Ne=Ne>>>0,Ge=Ge===void 0?this.length:Ge>>>0,Le||(Le=0);var Pt;if(typeof Le=="number")for(Pt=Ne;Pt<Ge;++Pt)this[Pt]=Le;else{var At=oe.isBuffer(Le)?Le:oe.from(Le,rt),bn=At.length;if(bn===0)throw new TypeError('The value "'+Le+'" is invalid for argument "value"');for(Pt=0;Pt<Ge-Ne;++Pt)this[Pt+Ne]=At[Pt%bn]}return this};var gt=/[^+/0-9A-Za-z-_]/g;function We(Ae){if(Ae=Ae.split("=")[0],Ae=Ae.trim().replace(gt,""),Ae.length<2)return"";for(;Ae.length%4!==0;)Ae=Ae+"=";return Ae}function $e(Ae){return Ae<16?"0"+Ae.toString(16):Ae.toString(16)}function Re(Ae,Le){Le=Le||1/0;for(var Ne,Ge=Ae.length,rt=null,St=[],Pt=0;Pt<Ge;++Pt){if(Ne=Ae.charCodeAt(Pt),Ne>55295&&Ne<57344){if(!rt){if(Ne>56319){(Le-=3)>-1&&St.push(239,191,189);continue}else if(Pt+1===Ge){(Le-=3)>-1&&St.push(239,191,189);continue}rt=Ne;continue}if(Ne<56320){(Le-=3)>-1&&St.push(239,191,189),rt=Ne;continue}Ne=(rt-55296<<10|Ne-56320)+65536}else rt&&(Le-=3)>-1&&St.push(239,191,189);if(rt=null,Ne<128){if((Le-=1)<0)break;St.push(Ne)}else if(Ne<2048){if((Le-=2)<0)break;St.push(Ne>>6|192,Ne&63|128)}else if(Ne<65536){if((Le-=3)<0)break;St.push(Ne>>12|224,Ne>>6&63|128,Ne&63|128)}else if(Ne<1114112){if((Le-=4)<0)break;St.push(Ne>>18|240,Ne>>12&63|128,Ne>>6&63|128,Ne&63|128)}else throw new Error("Invalid code point")}return St}function tt(Ae){for(var Le=[],Ne=0;Ne<Ae.length;++Ne)Le.push(Ae.charCodeAt(Ne)&255);return Le}function Ie(Ae,Le){for(var Ne,Ge,rt,St=[],Pt=0;Pt<Ae.length&&!((Le-=2)<0);++Pt)Ne=Ae.charCodeAt(Pt),Ge=Ne>>8,rt=Ne%256,St.push(rt),St.push(Ge);return St}function He(Ae){return re.toByteArray(We(Ae))}function Ve(Ae,Le,Ne,Ge){for(var rt=0;rt<Ge&&!(rt+Ne>=Le.length||rt>=Ae.length);++rt)Le[rt+Ne]=Ae[rt];return rt}function Ze(Ae,Le){return Ae instanceof Le||Ae!=null&&Ae.constructor!=null&&Ae.constructor.name!=null&&Ae.constructor.name===Le.name}function Ke(Ae){return Ae!==Ae}}).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(ce,ae){var oe=se(ce,!!ae);return typeof oe=="function"&&ie(ce,".prototype.")>-1?re(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(E,he,fe){"use strict";var se=E("function-bind"),re=E("get-intrinsic"),ie=re("%Function.prototype.apply%"),le=re("%Function.prototype.call%"),ce=re("%Reflect.apply%",!0)||se.call(le,ie),ae=re("%Object.getOwnPropertyDescriptor%",!0),oe=re("%Object.defineProperty%",!0),ne=re("%Math.max%");if(oe)try{oe({},"a",{value:1})}catch(a){oe=null}he.exports=function(y){var x=ce(se,le,arguments);if(ae&&oe){var b=ae(x,"length");b.configurable&&oe(x,"length",{value:1+ne(0,y.length-(arguments.length-1))})}return x};var z=function(){return ce(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,ce){if(!(this instanceof re))return new re(le,ce);this.src=le,this._withAccess=ce}re.prototype.withAccess=function(le){return this._withAccess=le!==!1,this},re.prototype.pick=function(le){return Array.isArray(le)||(le=se.call(arguments)),le.length&&(this.keys=le),this},re.prototype.to=function(le){if(le=le||{},!this.src)return le;var ce=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ae=0;ae<ce.length;ae++)oe=ce[ae],le[oe]===void 0&&(le[oe]=this.src[oe]);return le}for(var ae=0;ae<ce.length;ae++){var oe=ce[ae];if(ie(le,oe)){var ne=this.src.__lookupGetter__(oe),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 ce=this.keys||Object.keys(this.src),ae=0;ae<ce.length;ae++){var oe=ce[ae];delete le[oe];var ne=this.src.__lookupGetter__(oe),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 ce={};return this.to(ce),this.src=le,this.to(ce),this.src=ce,this};function ie(le,ce){return le[ce]===void 0&&le.__lookupGetter__(ce)===void 0&&le.__lookupSetter__(ce)===void 0}},{}],95:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=E("../internals/try-to-string"),le=se.TypeError;he.exports=function(ce){if(re(ce))return ce;throw le(ie(ce)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-constructor"),ie=E("../internals/try-to-string"),le=se.TypeError;he.exports=function(ce){if(re(ce))return ce;throw le(ie(ce)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/is-callable"),ie=se.String,le=se.TypeError;he.exports=function(ce){if(typeof ce=="object"||re(ce))return ce;throw le("Can't set "+ie(ce)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,he,fe){var se=E("../internals/well-known-symbol"),re=E("../internals/object-create"),ie=E("../internals/object-define-property"),le=se("unscopables"),ce=Array.prototype;ce[le]==null&&ie.f(ce,le,{configurable:!0,value:re(null)}),he.exports=function(ae){ce[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,ce){if(re(ce,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(ce){if(re(ce))return ce;throw le(ie(ce)+" 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"),ce=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"),ue=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,xe=te("toStringTag"),Ee=ue("TYPED_ARRAY_TAG"),Te=ue("TYPED_ARRAY_CONSTRUCTOR"),Ce=se&&!!ee&&oe(ie.opera)!=="Opera",Oe=!1,Me,Ue,je,nt={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ye={BigInt64Array:8,BigUint64Array:8},Qe=function(gt){if(!ce(gt))return!1;var We=oe(gt);return We==="DataView"||ae(nt,We)||ae(Ye,We)},Xe=function(Je){if(!ce(Je))return!1;var gt=oe(Je);return ae(nt,gt)||ae(Ye,gt)},ze=function(Je){if(Xe(Je))return Je;throw we("Target is not a typed array")},ke=function(Je){if(le(Je)&&(!ee||x(Se,Je)))return Je;throw we(ne(Je)+" is not a typed array constructor")},Be=function(Je,gt,We,$e){if(re){if(We)for(var Re in nt){var tt=ie[Re];if(tt&&ae(tt.prototype,Je))try{delete tt.prototype[Je]}catch(Ie){try{tt.prototype[Je]=gt}catch(He){}}}(!ye[Je]||We)&&a(ye,Je,We?gt:Ce&&ge[Je]||gt,$e)}},qe=function(Je,gt,We){var $e,Re;if(re){if(ee){if(We){for($e in nt)if(Re=ie[$e],Re&&ae(Re,Je))try{delete Re[Je]}catch(tt){}}if(!Se[Je]||We)try{return a(Se,Je,We?gt:Ce&&Se[Je]||gt)}catch(tt){}else return}for($e in nt)Re=ie[$e],Re&&(!Re[Je]||We)&&a(Re,Je,gt)}};for(Me in nt)Ue=ie[Me],je=Ue&&Ue.prototype,je?z(je,Te,Ue):Ce=!1;for(Me in Ye)Ue=ie[Me],je=Ue&&Ue.prototype,je&&z(je,Te,Ue);if((!Ce||!le(Se)||Se===Function.prototype)&&(Se=function(){throw we("Incorrect invocation")},Ce))for(Me in nt)ie[Me]&&ee(ie[Me],Se);if((!Ce||!ye||ye===Pe)&&(ye=Se.prototype,Ce))for(Me in nt)ie[Me]&&ee(ie[Me].prototype,ye);if(Ce&&b(pe)!==ye&&ee(pe,ye),re&&!ae(ye,xe)){Oe=!0,y(ye,xe,{get:function(){return ce(this)?this[Ee]:void 0}});for(Me in nt)ie[Me]&&z(ie[Me],Ee,Me)}he.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ce,TYPED_ARRAY_CONSTRUCTOR:Te,TYPED_ARRAY_TAG:Oe&&Ee,aTypedArray:ze,aTypedArrayConstructor:ke,exportTypedArrayMethod:Be,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"),ce=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"),ue=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=ce.PROPER,Pe=ce.CONFIGURABLE,we=Se.get,xe=Se.set,Ee="ArrayBuffer",Te="DataView",Ce="prototype",Oe="Wrong length",Me="Wrong index",Ue=se[Ee],je=Ue,nt=je&&je[Ce],Ye=se[Te],Qe=Ye&&Ye[Ce],Xe=Object.prototype,ze=se.Array,ke=se.RangeError,Be=re(ge),qe=re([].reverse),Je=b.pack,gt=b.unpack,We=function(Pt){return[Pt&255]},$e=function(Pt){return[Pt&255,Pt>>8&255]},Re=function(Pt){return[Pt&255,Pt>>8&255,Pt>>16&255,Pt>>24&255]},tt=function(Pt){return Pt[3]<<24|Pt[2]<<16|Pt[1]<<8|Pt[0]},Ie=function(Pt){return Je(Pt,23,4)},He=function(Pt){return Je(Pt,52,8)},Ve=function(Pt,At){de(Pt[Ce],At,{get:function(){return we(this)[At]}})},Ze=function(Pt,At,bn,$t){var ft=x(bn),st=we(Pt);if(ft+At>st.byteLength)throw ke(Me);var zt=we(st.buffer).bytes,ot=ft+st.byteOffset,at=ve(zt,ot,ot+At);return $t?at:qe(at)},Ke=function(Pt,At,bn,$t,ft,st){var zt=x(bn),ot=we(Pt);if(zt+At>ot.byteLength)throw ke(Me);for(var at=we(ot.buffer).bytes,bt=zt+ot.byteOffset,Ft=$t(+ft),kt=0;kt<At;kt++)at[bt+kt]=Ft[st?kt:At-kt-1]};if(!le)je=function(At){z(this,nt);var bn=x(At);xe(this,{bytes:Be(ze(bn),0),byteLength:bn}),ie||(this.byteLength=bn)},nt=je[Ce],Ye=function(At,bn,$t){z(this,Qe),z(At,nt);var ft=we(At).byteLength,st=a(bn);if(st<0||st>ft)throw ke("Wrong offset");if($t=$t===void 0?ft-st:y($t),st+$t>ft)throw ke(Oe);xe(this,{buffer:At,byteLength:$t,byteOffset:st}),ie||(this.buffer=At,this.byteLength=$t,this.byteOffset=st)},Qe=Ye[Ce],ie&&(Ve(je,"byteLength"),Ve(Ye,"buffer"),Ve(Ye,"byteLength"),Ve(Ye,"byteOffset")),oe(Qe,{getInt8:function(At){return Ze(this,1,At)[0]<<24>>24},getUint8:function(At){return Ze(this,1,At)[0]},getInt16:function(At){var bn=Ze(this,2,At,arguments.length>1?arguments[1]:void 0);return(bn[1]<<8|bn[0])<<16>>16},getUint16:function(At){var bn=Ze(this,2,At,arguments.length>1?arguments[1]:void 0);return bn[1]<<8|bn[0]},getInt32:function(At){return tt(Ze(this,4,At,arguments.length>1?arguments[1]:void 0))},getUint32:function(At){return tt(Ze(this,4,At,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(At){return gt(Ze(this,4,At,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(At){return gt(Ze(this,8,At,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(At,bn){Ke(this,1,At,We,bn)},setUint8:function(At,bn){Ke(this,1,At,We,bn)},setInt16:function(At,bn){Ke(this,2,At,$e,bn,arguments.length>2?arguments[2]:void 0)},setUint16:function(At,bn){Ke(this,2,At,$e,bn,arguments.length>2?arguments[2]:void 0)},setInt32:function(At,bn){Ke(this,4,At,Re,bn,arguments.length>2?arguments[2]:void 0)},setUint32:function(At,bn){Ke(this,4,At,Re,bn,arguments.length>2?arguments[2]:void 0)},setFloat32:function(At,bn){Ke(this,4,At,Ie,bn,arguments.length>2?arguments[2]:void 0)},setFloat64:function(At,bn){Ke(this,8,At,He,bn,arguments.length>2?arguments[2]:void 0)}});else{var Ae=ye&&Ue.name!==Ee;if(!ne(function(){Ue(1)})||!ne(function(){new Ue(-1)})||ne(function(){return new Ue,new Ue(1.5),new Ue(NaN),Ae&&!Pe})){je=function(At){return z(this,nt),new Ue(x(At))},je[Ce]=nt;for(var Le=ue(Ue),Ne=0,Ge;Le.length>Ne;)(Ge=Le[Ne++])in je||ae(je,Ge,Ue[Ge]);nt.constructor=je}else Ae&&Pe&&ae(Ue,"name",Ee);te&&ee(Qe)!==Xe&&te(Qe,Xe);var rt=new Ye(new je(2)),St=re(Qe.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),(rt.getInt8(0)||!rt.getInt8(1))&&oe(Qe,{setInt8:function(At,bn){St(this,At,bn<<24>>24)},setUint8:function(At,bn){St(this,At,bn<<24>>24)}},{unsafe:!0})}pe(je,Ee),pe(Ye,Te),he.exports={ArrayBuffer:je,DataView:Ye}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,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(ce){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++]=ce;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(ce){return se(this,ce,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,he,fe){var se=E("../internals/length-of-array-like");he.exports=function(re,ie){for(var le=0,ce=se(ie),ae=new re(ce);ce>le;)ae[le]=ie[le++];return ae}},{"../internals/length-of-array-like":188}],109:[function(E,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"),ce=E("../internals/call-with-safe-iteration-closing"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/is-constructor"),ne=E("../internals/length-of-array-like"),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),ue=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,xe,Ee,Te;if(pe&&!(this==x&&ae(pe)))for(xe=a(te,pe),Ee=xe.next,Pe=ue?new this:[];!(we=ie(Ee,xe)).done;Se++)Te=ve?ce(xe,ge,[we.value,Se],!0):we.value,z(Pe,Se,Te);else for(ye=ne(te),Pe=ue?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(ce){return function(ae,oe,ne){var z=se(ae),a=ie(z),y=re(ne,a),x;if(ce&&oe!=oe){for(;a>y;)if(x=z[y++],x!=x)return!0}else for(;a>y;y++)if((ce||y in z)&&z[y]===oe)return ce||y||0;return!ce&&-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"),ce=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,ue=z==5||ee;return function(de,ge,ve,pe){for(var Se=le(de),ye=ie(Se),Pe=se(ge,ve),we=ce(ye),xe=0,Ee=pe||ae,Te=a?Ee(de,we):y||te?Ee(de,0):void 0,Ce,Oe;we>xe;xe++)if((ue||xe in ye)&&(Ce=ye[xe],Oe=Pe(Ce,xe,Se),z))if(a)Te[xe]=Oe;else if(Oe)switch(z){case 3:return!0;case 5:return Ce;case 6:return xe;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"),ce=E("../internals/array-method-is-strict"),ae=Math.min,oe=[].lastIndexOf,ne=!!oe&&1/[1].lastIndexOf(1,-0)<0,z=ce("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(ce){return ie>=51||!se(function(){var ae=[],oe=ae.constructor={};return oe[le]=function(){return{foo:1}},ae[ce](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,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"),ce=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=ce(b),ue=ne?te-1:0,de=ne?-1:1;if(y<2)for(;;){if(ue in ee){x=ee[ue],ue+=de;break}if(ue+=de,ne?ue<0:te<=ue)throw ae("Reduce of empty array with no initial value")}for(;ne?ue>=0:te>ue;ue+=de)ue in ee&&(x=a(x,ee[ue],ue,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"),ce=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=ce(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):ce(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},ce=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"),ce=E("../internals/well-known-symbol"),ae=ce("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,ce,ae){try{return ae?le(se(ce)[0],ce[1]):le(ce)}catch(oe){re(ie,"throw",oe)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,he,fe){var se=E("../internals/well-known-symbol"),re=se("iterator"),ie=!1;try{var le=0,ce={next:function(){return{done:!!le++}},return:function(){ie=!0}};ce[re]=function(){return this},Array.from(ce,function(){throw 2})}catch(ae){}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"),ce=E("../internals/well-known-symbol"),ae=ce("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(ce,ae,oe){for(var ne=re(ae),z=le.f,a=ie.f,y=0;y<ne.length;y++){var x=ne[y];!se(ce,x)&&!(oe&&se(oe,x))&&z(ce,x,a(ae,x))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(E,he,fe){var se=E("../internals/well-known-symbol"),re=se("match");he.exports=function(ie){var le=/./;try{"/./"[ie](le)}catch(ce){try{return le[re]=!1,"/./"[ie](le)}catch(ae){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,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"),ce=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),ce[y]=ae,oe}},{"../internals/create-property-descriptor":130,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-create":196,"../internals/set-to-string-tag":234}],129:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");he.exports=se?function(le,ce,ae){return re.f(le,ce,ie(1,ae))}:function(le,ce,ae){return le[ce]=ae,le}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,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,ce,ae){var oe=se(ce);oe in le?re.f(le,oe,ie(0,ae)):le[oe]=ae}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-call"),ie=E("../internals/is-pure"),le=E("../internals/function-name"),ce=E("../internals/is-callable"),ae=E("../internals/create-iterator-constructor"),oe=E("../internals/object-get-prototype-of"),ne=E("../internals/object-set-prototype-of"),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,ue=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,xe,Ee,Te,Ce,Oe,Me){ae(Ee,xe,Te);var Ue=function(Je){if(Je===Ce&&Xe)return Xe;if(!ge&&Je in Ye)return Ye[Je];switch(Je){case pe:return function(){return new Ee(this,Je)};case Se:return function(){return new Ee(this,Je)};case ye:return function(){return new Ee(this,Je)}}return function(){return new Ee(this)}},je=xe+" Iterator",nt=!1,Ye=we.prototype,Qe=Ye[ve]||Ye["@@iterator"]||Ce&&Ye[Ce],Xe=!ge&&Qe||Ue(Ce),ze=xe=="Array"&&Ye.entries||Qe,ke,Be,qe;if(ze&&(ke=oe(ze.call(new we)),ke!==Object.prototype&&ke.next&&(!ie&&oe(ke)!==de&&(ne?ne(ke,de):ce(ke[ve])||y(ke,ve,Pe)),z(ke,je,!0,!0),ie&&(b[je]=Pe))),te&&Ce==Se&&Qe&&Qe.name!==Se&&(!ie&&ue?a(Ye,"name",Se):(nt=!0,Xe=function(){return re(Qe,this)})),Ce)if(Be={values:Ue(Se),keys:Oe?Xe:Ue(pe),entries:Ue(ye)},Me)for(qe in Be)(ge||nt||!(qe in Ye))&&y(Ye,qe,Be[qe]);else se({target:xe,proto:!0,forced:ge||nt},Be);return(!ie||Me)&&Ye[ve]!==Xe&&y(Ye,ve,Xe,{name:Ce}),b[xe]=Xe,Be}},{"../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(ce){var ae=se.Symbol||(se.Symbol={});re(ae,ce)||le(ae,ce,{value:ie.f(ce)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(E,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(ce){return le?ie.createElement(ce):{}}},{"../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,ce=ie&&ie.versions||le&&le.version,ae=ce&&ce.v8,oe,ne;ae&&(oe=ae.split("."),ne=oe[0]>0&&oe[0]<4?1:+(oe[0]+oe[1])),!ne&&re&&(oe=re.match(/Edge\/(\d+)/),(!oe||oe[1]>=74)&&(oe=re.match(/Chrome\/(\d+)/),oe&&(ne=+oe[1]))),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"),ce=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,ue,de,ge;if(y?ee=se:x?ee=se[a]||ce(a,{}):ee=(se[a]||{}).prototype,ee)for(te in z){if(de=z[te],ne.noTargetGet?(ge=re(ee,te),ue=ge&&ge.value):ue=ee[te],b=oe(y?te:a+(x?".":"#")+te,ne.forced),!b&&ue!==void 0){if(typeof de==typeof ue)continue;ae(de,ue)}(ne.sham||ue&&ue.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"),ce=E("../internals/well-known-symbol"),ae=E("../internals/create-non-enumerable-property"),oe=ce("species"),ne=RegExp.prototype;he.exports=function(z,a,y,x){var b=ce(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 ue=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:ue(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(ce,ae){return re(ce),ae===void 0?ce:ie?le(ce,ae):function(){return ce.apply(ae,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,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,ce=re(ie,"name"),ae=ce&&function(){}.name==="something",oe=ce&&(!se||se&&le(ie,"name").configurable);he.exports={EXISTS:ce,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,ce=se&&ie.bind(le,le);he.exports=se?function(ae){return ae&&ce(ae)}:function(ae){return ae&&function(){return le.apply(ae,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,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,ce){return arguments.length<2?ie(se[le]):se[le]&&se[le][ce]}},{"../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"),ce=le("iterator");he.exports=function(ae){if(ae!=null)return re(ae,ce)||re(ae,"@@iterator")||ie[se(ae)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/an-object"),ce=E("../internals/try-to-string"),ae=E("../internals/get-iterator-method"),oe=se.TypeError;he.exports=function(ne,z){var a=arguments.length<2?ae(ne):z;if(ie(a))return le(re(a,ne));throw oe(ce(ne)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,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),ce=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,ue=x.length,de=ne;return b!==void 0&&(b=re(b),de=oe),ce(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>ue){var ye=ie(Se/10);return ye===0?ge:ye<=ue?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 ht!="undefined"?ht: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(ce,ae){return ie(re(ce),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,ce=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,ue=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=ce(ae(a)/oe),ye=le(2,-pe),a*ye<1&&(pe--,ye*=2),pe+ue>=1?a+=de/ye:a+=de*le(2,1-ue),a*ye>=2&&(pe++,ye/=2),pe+ue>=te?(Se=0,pe=te):pe+ue>=1?(Se=(a*ye-1)*le(2,y),pe=pe+ue):(Se=a*le(2,ue-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,ue=b-7,de=x-1,ge=a[de--],ve=ge&127,pe;for(ge>>=7;ue>0;)ve=ve*256+a[de--],ue-=8;for(pe=ve&(1<<-ue)-1,ve>>=-ue,ue+=y;ue>0;)pe=pe*256+a[de--],ue-=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"),ce=se.Object,ae=re("".split);he.exports=ie(function(){return!ce("z").propertyIsEnumerable(0)})?function(oe){return le(oe)=="String"?ae(oe,""):ce(oe)}:ce},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,he,fe){var se=E("../internals/is-callable"),re=E("../internals/is-object"),ie=E("../internals/object-set-prototype-of");he.exports=function(le,ce,ae){var oe,ne;return ie&&se(oe=ce.constructor)&&oe!==ae&&re(ne=oe.prototype)&&ne!==ae.prototype&&ie(le,ne),le}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,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(ce){return le(ce)}),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"),ce=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,ue=function(Pe){return te(Pe)?ee(Pe):b(Pe,{})},de=function(Pe){return function(we){var xe;if(!le(we)||(xe=ee(we)).type!==Pe)throw y("Incompatible receiver, "+Pe+" required");return xe}};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,ce(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:ue,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(ce){return ce!==void 0&&(re.Array===ce||le[ie]===ce)}},{"../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"),ce=E("../internals/get-built-in"),ae=E("../internals/inspect-source"),oe=function(){},ne=[],z=ce("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=se(a.exec),x=!a.exec(oe),b=function(ue){if(!ie(ue))return!1;try{return z(oe,ne,ue),!0}catch(de){return!1}},ee=function(ue){if(!ie(ue))return!1;switch(le(ue)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ae(ue))}catch(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[ce(z)];return y==ne?!0:y==oe?!1:re(a)?se(a):!!a},ce=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(ce){var ae;return se(ce)&&((ae=ce[le])!==void 0?!!ae:re(ce)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,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"),ce=E("../internals/use-symbol-as-uid"),ae=se.Object;he.exports=ce?function(oe){return typeof oe=="symbol"}:function(oe){var ne=re("Symbol");return ie(ne)&&le(ne.prototype,ae(oe))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-bind-context"),ie=E("../internals/function-call"),le=E("../internals/an-object"),ce=E("../internals/try-to-string"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/length-of-array-like"),ne=E("../internals/object-is-prototype-of"),z=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=se.TypeError,b=function(te,ue){this.stopped=te,this.result=ue},ee=b.prototype;he.exports=function(te,ue,de){var ge=de&&de.that,ve=!!(de&&de.AS_ENTRIES),pe=!!(de&&de.IS_ITERATOR),Se=!!(de&&de.INTERRUPTED),ye=re(ue,ge),Pe,we,xe,Ee,Te,Ce,Oe,Me=function(je){return Pe&&y(Pe,"normal",je),new b(!0,je)},Ue=function(je){return ve?(le(je),Se?ye(je[0],je[1],Me):ye(je[0],je[1])):Se?ye(je,Me):ye(je)};if(pe)Pe=te;else{if(we=a(te),!we)throw x(ce(te)+" is not iterable");if(ae(we)){for(xe=0,Ee=oe(te);Ee>xe;xe++)if(Te=Ue(te[xe]),Te&&ne(ee,Te))return Te;return new b(!1)}Pe=z(te,we)}for(Ce=Pe.next;!(Oe=ie(Ce,Pe)).done;){try{Te=Ue(Oe.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,ce,ae){var oe,ne;re(le);try{if(oe=ie(le,"return"),!oe){if(ce==="throw")throw ae;return ae}oe=se(oe,le)}catch(z){ne=!0,oe=z}if(ce==="throw")throw ae;if(ne)throw oe;return re(oe),ae}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,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"),ce=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])||ce(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,ce=E("../internals/engine-is-ios"),ae=E("../internals/engine-is-ios-pebble"),oe=E("../internals/engine-is-webos-webkit"),ne=E("../internals/engine-is-node"),z=se.MutationObserver||se.WebKitMutationObserver,a=se.document,y=se.process,x=se.Promise,b=ie(se,"queueMicrotask"),ee=b&&b.value,te,ue,de,ge,ve,pe,Se,ye;ee||(te=function(){var Pe,we;for(ne&&(Pe=y.domain)&&Pe.exit();ue;){we=ue.fn,ue=ue.next;try{we()}catch(xe){throw ue?ge():de=void 0,xe}}de=void 0,Pe&&Pe.enter()},!ce&&!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),ue||(ue=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,ce;this.promise=new ie(function(ae,oe){if(le!==void 0||ce!==void 0)throw TypeError("Bad Promise constructor");le=ae,ce=oe}),this.resolve=se(le),this.reject=se(ce)};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"),ce=E("../internals/object-keys"),ae=E("../internals/object-get-own-property-symbols"),oe=E("../internals/object-property-is-enumerable"),ne=E("../internals/to-object"),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(),ue="abcdefghijklmnopqrst";return b[te]=7,ue.split("").forEach(function(de){ee[de]=de}),a({},b)[te]!=7||ce(a({},ee)).join("")!=ue})?function(ee,te){for(var ue=ne(ee),de=arguments.length,ge=1,ve=ae.f,pe=oe.f;de>ge;)for(var Se=z(arguments[ge++]),ye=ve?x(ce(Se),ve(Se)):ce(Se),Pe=ye.length,we=0,xe;Pe>we;)xe=ye[we++],(!se||ie(pe,Se,xe))&&(ue[xe]=Se[xe]);return ue}:a},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,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"),ce=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},ue=function(){var ve=ae("iframe"),pe="java"+y+":",Se;return ve.style.display="none",ce.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):ue():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"),ce=E("../internals/to-indexed-object"),ae=E("../internals/object-keys");fe.f=se&&!re?Object.defineProperties:function(ne,z){le(ne);for(var a=ce(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"),ce=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,ue){if(ce(ee),te=ae(te),ce(ue),typeof ee=="function"&&te==="prototype"&&"value"in ue&&x in ue&&!ue[x]){var de=z(ee,te);de&&de[x]&&(ee[te]=ue.value,ue={configurable:y in ue?ue[y]:de[y],enumerable:a in ue?ue[a]:de[a],writable:!1})}return ne(ee,te,ue)}:ne:function(ee,te,ue){if(ce(ee),te=ae(te),ce(ue),ie)try{return ne(ee,te,ue)}catch(de){}if("get"in ue||"set"in ue)throw oe("Accessors not supported");return"value"in ue&&(ee[te]=ue.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"),ce=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=ce(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"),ce=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(oe){try{return ie(oe)}catch(ne){return le(ce)}};he.exports.f=function(ne){return ce&&se(ne)=="Window"?ae(ne):ie(re(ne))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,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(ce){return se(ce,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"),ce=E("../internals/shared-key"),ae=E("../internals/correct-prototype-getter"),oe=ce("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,ce=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(ce,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(ce){var ae=re(this,ce);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,ce={},ae;try{ae=se(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(ce,[]),le=ce 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"),ce=E("../internals/object-property-is-enumerable").f,ae=re(ce),oe=re([].push),ne=function(z){return function(a){for(var y=le(a),x=ie(y),b=x.length,ee=0,te=[],ue;b>ee;)ue=x[ee++],(!se||ae(y,ue))&&oe(te,z?[ue,y[ue]]:y[ue]);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"),ce=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 ce("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,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"),ce=E("../internals/an-object"),ae=re([].concat);he.exports=se("Reflect","ownKeys")||function(ne){var z=ie.f(ce(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"),ce=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=ce(re),ue=te!==String(re);if(!ue&&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?!ue&&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,ce){if(se(le),re(ce)&&ce.constructor===le)return ce;var ae=ie.f(le),oe=ae.resolve;return oe(ce),ae.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,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(ce){ie[le]=ce}})}},{"../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 ce in ie)se(re,ce,ie[ce],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"),ce=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 ue=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:ce(b,ee);return}else ue?!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"),ce=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(ce(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"),ce=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),ue=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=ce.BROKEN_CARET,pe=/()??/.exec("")[1]!==void 0,Se=ge||pe||ve||z||a;Se&&(b=function(Pe){var we=this,xe=ne(we),Ee=ie(Pe),Te=xe.raw,Ce,Oe,Me,Ue,je,nt,Ye;if(Te)return Te.lastIndex=we.lastIndex,Ce=se(b,Te,Ee),we.lastIndex=Te.lastIndex,Ce;var Qe=xe.groups,Xe=ve&&we.sticky,ze=se(le,we),ke=we.source,Be=0,qe=Ee;if(Xe&&(ze=ue(ze,"y",""),te(ze,"g")===-1&&(ze+="g"),qe=de(Ee,we.lastIndex),we.lastIndex>0&&(!we.multiline||we.multiline&&ee(Ee,we.lastIndex-1)!==`
`)&&(ke="(?: "+ke+")",qe=" "+qe,Be++),Oe=new RegExp("^(?:"+ke+")",ze)),pe&&(Oe=new RegExp("^"+ke+"$(?!\\s)",ze)),ge&&(Me=we.lastIndex),Ue=se(x,Xe?Oe:we,qe),Xe?Ue?(Ue.input=de(Ue.input,Be),Ue[0]=de(Ue[0],Be),Ue.index=we.lastIndex,we.lastIndex+=Ue[0].length):we.lastIndex=0:ge&&Ue&&(we.lastIndex=we.global?Ue.index+Ue[0].length:Me),pe&&Ue&&Ue.length>1&&se(y,Ue[0],Oe,function(){for(je=1;je<arguments.length-2;je++)arguments[je]===void 0&&(Ue[je]=void 0)}),Ue&&Qe)for(Ue.groups=nt=oe(null),je=0;je<Qe.length;je++)Ye=Qe[je],nt[Ye[0]]=Ue[Ye[1]];return Ue}),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"),ce=RegExp.prototype;he.exports=function(ae){var oe=ae.flags;return oe===void 0&&!("flags"in ce)&&!re(ae,"flags")&&ie(ce,ae)?se(le,ae):oe}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(E,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}),ce=le||se(function(){return!ie("a","y").sticky}),ae=le||se(function(){var oe=ie("^r","gy");return oe.lastIndex=2,oe.exec("str")!=null});he.exports={BROKEN_CARET:ae,MISSED_STICKY:ce,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(ce){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"),ce=ie("species");he.exports=function(ae){var oe=se(ae),ne=re.f;le&&oe&&!oe[ce]&&ne(oe,ce,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,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(ce,ae,oe){ce&&!oe&&(ce=ce.prototype),ce&&!re(ce,le)&&se(ce,le,{configurable:!0,value:ae})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,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(ce,ae){var oe=se(ce).constructor,ne;return oe===void 0||(ne=se(oe)[le])==null?ae:re(ne)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,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"),ce=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,ue;return b<0||b>=ee?z?"":void 0:(te=ae(x,b),te<55296||te>56319||b+1===ee||(ue=ae(x,b+1))<56320||ue>57343?z?ce(x,b):te:z?oe(x,b,b+2):(te-55296<<10)+(ue-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(ce){return re(function(){return!!ie[ce]()||le[ce]()!==le||se&&ie[ce].name!==ce})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,he,fe){var se=E("../internals/function-uncurry-this"),re=E("../internals/require-object-coercible"),ie=E("../internals/to-string"),le=E("../internals/whitespaces"),ce=se("".replace),ae="["+le+"]",oe=RegExp("^"+ae+ae+"*"),ne=RegExp(ae+ae+"*$"),z=function(a){return function(y){var x=ie(re(y));return a&1&&(x=ce(x,oe,"")),a&2&&(x=ce(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 ce=re("Symbol"),ae=ce&&ce.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"),ce=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,ue=se.Dispatch,de=se.Function,ge=se.MessageChannel,ve=se.String,pe=0,Se={},ye="onreadystatechange",Pe,we,xe,Ee;try{Pe=se.location}catch(Ue){}var Te=function(Ue){if(ce(Se,Ue)){var je=Se[Ue];delete Se[Ue],je()}},Ce=function(Ue){return function(){Te(Ue)}},Oe=function(Ue){Te(Ue.data)},Me=function(Ue){se.postMessage(ve(Ue),Pe.protocol+"//"+Pe.host)};(!b||!ee)&&(b=function(je){a(arguments.length,1);var nt=le(je)?je:de(je),Ye=ne(arguments,1);return Se[++pe]=function(){re(nt,void 0,Ye)},we(pe),pe},ee=function(je){delete Se[je]},x?we=function(Ue){te.nextTick(Ce(Ue))}:ue&&ue.now?we=function(Ue){ue.now(Ce(Ue))}:ge&&!y?(xe=new ge,Ee=xe.port2,xe.port1.onmessage=Oe,we=ie(Ee.postMessage,Ee)):se.addEventListener&&le(se.postMessage)&&!se.importScripts&&Pe&&Pe.protocol!=="file:"&&!ae(Me)?(we=Me,se.addEventListener("message",Oe,!1)):ye in z("script")?we=function(Ue){oe.appendChild(z("script"))[ye]=function(){oe.removeChild(this),Te(Ue)}}:we=function(Ue){setTimeout(Ce(Ue),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,ce){var ae=se(le);return ae<0?re(ae+ce,0):ie(ae,ce)}},{"../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(ce){if(ce===void 0)return 0;var ae=re(ce),oe=ie(ae);if(ae!==oe)throw le("Wrong length or index");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,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,ce){var ae=re(le);if(ae%ce)throw ie("Wrong offset");return ae}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),ie=se.RangeError;he.exports=function(le){var ce=re(le);if(ce<0)throw ie("The argument can't be less than 0");return ce}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,he,fe){var se=E("../internals/global"),re=E("../internals/function-call"),ie=E("../internals/is-object"),le=E("../internals/is-symbol"),ce=E("../internals/get-method"),ae=E("../internals/ordinary-to-primitive"),oe=E("../internals/well-known-symbol"),ne=se.TypeError,z=oe("toPrimitive");he.exports=function(a,y){if(!ie(a)||le(a))return a;var x=ce(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"),ce=E("../internals/typed-array-constructors-require-wrappers"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/array-buffer"),ne=E("../internals/an-instance"),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"),ue=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"),xe=E("../internals/array-iteration").forEach,Ee=E("../internals/set-species"),Te=E("../internals/object-define-property"),Ce=E("../internals/object-get-own-property-descriptor"),Oe=E("../internals/internal-state"),Me=E("../internals/inherit-if-required"),Ue=Oe.get,je=Oe.set,nt=Te.f,Ye=Ce.f,Qe=Math.round,Xe=re.RangeError,ze=oe.ArrayBuffer,ke=ze.prototype,Be=oe.DataView,qe=ae.NATIVE_ARRAY_BUFFER_VIEWS,Je=ae.TYPED_ARRAY_CONSTRUCTOR,gt=ae.TYPED_ARRAY_TAG,We=ae.TypedArray,$e=ae.TypedArrayPrototype,Re=ae.aTypedArrayConstructor,tt=ae.isTypedArray,Ie="BYTES_PER_ELEMENT",He="Wrong length",Ve=function(Ge,rt){Re(Ge);for(var St=0,Pt=rt.length,At=new Ge(Pt);Pt>St;)At[St]=rt[St++];return At},Ze=function(Ge,rt){nt(Ge,rt,{get:function(){return Ue(this)[rt]}})},Ke=function(Ge){var rt;return Se(ke,Ge)||(rt=de(Ge))=="ArrayBuffer"||rt=="SharedArrayBuffer"},Ae=function(Ge,rt){return tt(Ge)&&!ve(rt)&&rt in Ge&&y(+rt)&&rt>=0},Le=function(rt,St){return St=te(St),Ae(rt,St)?z(2,rt[St]):Ye(rt,St)},Ne=function(rt,St,Pt){return St=te(St),Ae(rt,St)&&ge(Pt)&&ue(Pt,"value")&&!ue(Pt,"get")&&!ue(Pt,"set")&&!Pt.configurable&&(!ue(Pt,"writable")||Pt.writable)&&(!ue(Pt,"enumerable")||Pt.enumerable)?(rt[St]=Pt.value,rt):nt(rt,St,Pt)};le?(qe||(Ce.f=Le,Te.f=Ne,Ze($e,"buffer"),Ze($e,"byteOffset"),Ze($e,"byteLength"),Ze($e,"length")),se({target:"Object",stat:!0,forced:!qe},{getOwnPropertyDescriptor:Le,defineProperty:Ne}),he.exports=function(Ge,rt,St){var Pt=Ge.match(/\d+$/)[0]/8,At=Ge+(St?"Clamped":"")+"Array",bn="get"+Ge,$t="set"+Ge,ft=re[At],st=ft,zt=st&&st.prototype,ot={},at=function(kt,un){var fn=Ue(kt);return fn.view[bn](un*Pt+fn.byteOffset,!0)},bt=function(kt,un,fn){var vn=Ue(kt);St&&(fn=(fn=Qe(fn))<0?0:fn>255?255:fn&255),vn.view[$t](un*Pt+vn.byteOffset,fn,!0)},Ft=function(kt,un){nt(kt,un,{get:function(){return at(this,un)},set:function(fn){return bt(this,un,fn)},enumerable:!0})};qe?ce&&(st=rt(function(kt,un,fn,vn){return ne(kt,zt),Me(function(){return ge(un)?Ke(un)?vn!==void 0?new ft(un,ee(fn,Pt),vn):fn!==void 0?new ft(un,ee(fn,Pt)):new ft(un):tt(un)?Ve(st,un):ie(we,st,un):new ft(b(un))}(),kt,st)}),ye&&ye(st,We),xe(Pe(ft),function(kt){kt in st||a(st,kt,ft[kt])}),st.prototype=zt):(st=rt(function(kt,un,fn,vn){ne(kt,zt);var An=0,vr=0,yn,cr,Zr;if(!ge(un))Zr=b(un),cr=Zr*Pt,yn=new ze(cr);else if(Ke(un)){yn=un,vr=ee(fn,Pt);var Gr=un.byteLength;if(vn===void 0){if(Gr%Pt||(cr=Gr-vr,cr<0))throw Xe(He)}else if(cr=x(vn)*Pt,cr+vr>Gr)throw Xe(He);Zr=cr/Pt}else return tt(un)?Ve(st,un):ie(we,st,un);for(je(kt,{buffer:yn,byteOffset:vr,byteLength:cr,length:Zr,view:new Be(yn)});An<Zr;)Ft(kt,An++)}),ye&&ye(st,We),zt=st.prototype=pe($e)),zt.constructor!==st&&a(zt,"constructor",st),a(zt,Je,st),gt&&a(zt,gt,At),ot[At]=st,se({global:!0,forced:st!=ft,sham:!qe},ot),Ie in st||a(st,Ie,Pt),Ie in zt||a(zt,Ie,Pt),Ee(At)}):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,ce=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 ce(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(E,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"),ce=E("../internals/length-of-array-like"),ae=E("../internals/get-iterator"),oe=E("../internals/get-iterator-method"),ne=E("../internals/is-array-iterator-method"),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,ue=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(ue&&ee>2&&(te=se(te,arguments[2])),ve=ce(b),pe=new(z(x))(ve),ge=0;ve>ge;ge++)pe[ge]=ue?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(ce){return le(re(ce,ce[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(ce){return"Symbol("+(ce===void 0?"":ce)+")_"+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"),ce=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)||!(ce||typeof oe[y]=="string")){var x="Symbol."+y;ce&&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"),ce="ArrayBuffer",ae=ie[ce],oe=re[ce];se({global:!0,forced:oe!==ae},{ArrayBuffer:ae}),le(ce)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,he,fe){"use strict";var se=E("../internals/export"),re=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/array-buffer"),ce=E("../internals/an-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/to-length"),ne=E("../internals/species-constructor"),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(ce(this),de);for(var ve=ce(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),xe=0;pe<Se;)ee(we,xe++,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"),ce=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",ue=re.TypeError,de=x>=51||!ie(function(){var Se=[];return Se[b]=!1,Se.concat()[0]!==Se}),ge=a("concat"),ve=function(Se){if(!ce(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),xe=0,Ee,Te,Ce,Oe,Me;for(Ee=-1,Ce=arguments.length;Ee<Ce;Ee++)if(Me=Ee===-1?Pe:arguments[Ee],ve(Me)){if(Oe=oe(Me),xe+Oe>ee)throw ue(te);for(Te=0;Te<Oe;Te++,xe++)Te in Me&&ne(we,xe,Me[Te])}else{if(xe>=ee)throw ue(te);ne(we,xe++,Me)}return we.length=xe,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",ce=!0;le in[]&&Array(1)[le](function(){ce=!1}),se({target:"Array",proto:!0,forced:ce},{find:function(oe){return re(this,oe,arguments.length>1?arguments[1]:void 0)}}),ie(le)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/array-from"),ie=E("../internals/check-correctness-of-iteration"),le=!ie(function(ce){Array.from(ce)});se({target:"Array",stat:!0,forced:le},{from:re})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,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(ce){return re(this,ce,arguments.length>1?arguments[1]:void 0)}}),ie("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,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"),ce=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,ue=b.index++;return!ee||ue>=ee.length?(b.target=void 0,{value:void 0,done:!0}):te=="keys"?{value:ue,done:!1}:te=="values"?{value:ee[ue],done:!1}:{value:[ue,ee[ue]],done:!1}},"values");var x=ie.Arguments=ie.Array;if(re("keys"),re("values"),re("entries"),!oe&&ne&&x.name!=="values")try{ce(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,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"),ce=E("../internals/array-method-is-strict"),ae=re([].join),oe=ie!=Object,ne=ce("join",",");se({target:"Array",proto:!0,forced:oe||!ne},{join:function(a){return ae(le(this),a===void 0?",":a)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(E,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"),ce=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,ue=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,xe,Ee;if(ie(pe)&&(we=pe.constructor,le(we)&&(we===te||ie(we.prototype))?we=void 0:ce(we)&&(we=we[ee],we===null&&(we=void 0)),we===te||we===void 0))return x(pe,ye,Pe);for(xe=new(we===void 0?te:we)(ue(Pe-ye,0)),Ee=0;ye<Pe;ye++,Ee++)ye in pe&&z(xe,Ee,pe[ye]);return xe.length=Ee,xe}})},{"../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"),ce=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),ue=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,xe,Ee,Te;for(we=65;we<76;we++){switch(xe=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:xe+Te,v:Ee})}for(ee.sort(function(Ce,Oe){return Oe.v-Ce.v}),Te=0;Te<ee.length;Te++)xe=ee[Te].k.charAt(0),Pe.charAt(Pe.length-1)!==xe&&(Pe+=xe);return Pe!=="DGBEFHACIJK"}}),Se=de||!ge||!ve||!pe,ye=function(Pe){return function(we,xe){return xe===void 0?-1:we===void 0?1:Pe!==void 0?+Pe(we,xe)||0:ae(we)>ae(xe)?1:-1}};se({target:"Array",proto:!0,forced:Se},{sort:function(we){we!==void 0&&ie(we);var xe=le(this);if(pe)return we===void 0?te(xe):te(xe,we);var Ee=[],Te=ce(xe),Ce,Oe;for(Oe=0;Oe<Te;Oe++)Oe in xe&&ue(Ee,xe[Oe]);for(ne(Ee,ye(we)),Ce=Ee.length,Oe=0;Oe<Ce;)xe[Oe]=Ee[Oe++];for(;Oe<Te;)delete xe[Oe++];return xe}})},{"../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"),ce=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=ce(ve),Se=ie(de,pe),ye=arguments.length,Pe,we,xe,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(xe=oe(ve,we),Ee=0;Ee<we;Ee++)Te=Se+Ee,Te in ve&&ne(xe,Ee,ve[Te]);if(xe.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,xe}})},{"../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,ce=Function.prototype,ae=ie(ce.toString),oe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ne=ie(oe.exec),z="name";se&&!re&&le(ce,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"),ce=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=ce(/./.exec),te=ce("".charAt),ue=ce("".charCodeAt),de=ce("".replace),ge=ce(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),Oe=Te;if(!(!z(Te)&&Ee===void 0||a(Ee)))return oe(Te)||(Te=function(Me,Ue){if(ne(Oe)&&(Ue=le(Oe,this,Me,Ue)),!a(Ue))return Ue}),Ce[1]=Te,ie(b,null,Ce)},xe=function(Ee,Te,Ce){var Oe=te(Ce,Te-1),Me=te(Ce,Te+1);return ee(pe,Ee)&&!ee(Se,Me)||ee(Se,Ee)&&!ee(pe,Oe)?"\\u"+ge(ue(Ee,0),16):Ee};b&&se({target:"JSON",stat:!0,forced:ye||Pe},{stringify:function(Te,Ce,Oe){var Me=y(arguments),Ue=ie(ye?we:b,null,Me);return Pe&&typeof Ue=="string"?de(Ue,ve,xe):Ue}})},{"../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"),ce=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"),ue=E("../internals/string-trim").trim,de="Number",ge=re[de],ve=ge.prototype,pe=re.TypeError,Se=ie("".slice),ye=ie("".charCodeAt),Pe=function(Oe){var Me=a(Oe,"number");return typeof Me=="bigint"?Me:we(Me)},we=function(Oe){var Me=a(Oe,"number"),Ue,je,nt,Ye,Qe,Xe,ze,ke;if(z(Me))throw pe("Cannot convert a Symbol value to a number");if(typeof Me=="string"&&Me.length>2){if(Me=ue(Me),Ue=ye(Me,0),Ue===43||Ue===45){if(je=ye(Me,2),je===88||je===120)return NaN}else if(Ue===48){switch(ye(Me,1)){case 66:case 98:nt=2,Ye=49;break;case 79:case 111:nt=8,Ye=55;break;default:return+Me}for(Qe=Se(Me,2),Xe=Qe.length,ze=0;ze<Xe;ze++)if(ke=ye(Qe,ze),ke<48||ke>Ye)return NaN;return parseInt(Qe,nt)}}return+Me};if(le(de,!ge(" 0o1")||!ge("0b1")||ge("+0x1"))){for(var xe=function(Me){var Ue=arguments.length<1?0:ge(Pe(Me)),je=this;return ne(ve,je)&&y(function(){te(je)})?oe(Object(Ue),je,xe):Ue},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(xe,Ce)&&ee(xe,Ce,b(ge,Ce));xe.prototype=ve,ve.constructor=xe,ce(re,de,xe)}},{"../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"),ce=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(ce(ne)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,he,fe){var se=E("../internals/export"),re=E("../internals/to-object"),ie=E("../internals/object-keys"),le=E("../internals/fails"),ce=le(function(){ie(1)});se({target:"Object",stat:!0,forced:ce},{keys:function(oe){return ie(re(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,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"),ce=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=ce(function(){var te=ie(a.resolve),ue=[],de=0,ge=1;ae(z,function(ve){var pe=de++,Se=!1;ge++,re(te,a,ve).then(function(ye){Se||(Se=!0,ue[pe]=ye,--ge||x(ue))},b)}),--ge||x(ue)});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"),ce=E("../internals/get-built-in"),ae=E("../internals/is-callable"),oe=E("../internals/redefine"),ne=le&&le.prototype;if(se({target:"Promise",proto:!0,forced:ie,real:!0},{catch:function(a){return this.then(void 0,a)}}),!re&&ae(le)){var z=ce("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"),ce=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"),ue=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"),xe="Promise",Ee=Pe.CONSTRUCTOR,Te=Pe.REJECTION_EVENT,Ce=Pe.SUBCLASSING,Oe=Se.getterFor(xe),Me=Se.set,Ue=ye&&ye.prototype,je=ye,nt=Ue,Ye=le.TypeError,Qe=le.document,Xe=le.process,ze=we.f,ke=ze,Be=!!(Qe&&Qe.createEvent&&le.dispatchEvent),qe="unhandledrejection",Je="rejectionhandled",gt=0,We=1,$e=2,Re=1,tt=2,Ie,He,Ve,Ze,Ke=function($t){var ft;return b($t)&&x(ft=$t.then)?ft:!1},Ae=function($t,ft){var st=ft.value,zt=ft.state==We,ot=zt?$t.ok:$t.fail,at=$t.resolve,bt=$t.reject,Ft=$t.domain,kt,un,fn;try{ot?(zt||(ft.rejection===tt&&St(ft),ft.rejection=Re),ot===!0?kt=st:(Ft&&Ft.enter(),kt=ot(st),Ft&&(Ft.exit(),fn=!0)),kt===$t.promise?bt(Ye("Promise-chain cycle")):(un=Ke(kt))?ce(un,kt,at,bt):at(kt)):bt(st)}catch(vn){Ft&&!fn&&Ft.exit(),bt(vn)}},Le=function($t,ft){$t.notified||($t.notified=!0,de(function(){for(var st=$t.reactions,zt;zt=st.get();)Ae(zt,$t);$t.notified=!1,ft&&!$t.rejection&&Ge($t)}))},Ne=function($t,ft,st){var zt,ot;Be?(zt=Qe.createEvent("Event"),zt.promise=ft,zt.reason=st,zt.initEvent($t,!1,!0),le.dispatchEvent(zt)):zt={promise:ft,reason:st},!Te&&(ot=le["on"+$t])?ot(zt):$t===qe&&ge("Unhandled promise rejection",st)},Ge=function($t){ce(ue,le,function(){var ft=$t.facade,st=$t.value,zt=rt($t),ot;if(zt&&(ot=ve(function(){ie?Xe.emit("unhandledRejection",st,ft):Ne(qe,ft,st)}),$t.rejection=ie||rt($t)?tt:Re,ot.error))throw ot.value})},rt=function($t){return $t.rejection!==Re&&!$t.parent},St=function($t){ce(ue,le,function(){var ft=$t.facade;ie?Xe.emit("rejectionHandled",ft):Ne(Je,ft,$t.value)})},Pt=function($t,ft,st){return function(zt){$t(ft,zt,st)}},At=function($t,ft,st){$t.done||($t.done=!0,st&&($t=st),$t.value=ft,$t.state=$e,Le($t,!0))},bn=function($t,ft,st){if(!$t.done){$t.done=!0,st&&($t=st);try{if($t.facade===ft)throw Ye("Promise can't be resolved itself");var zt=Ke(ft);zt?de(function(){var ot={done:!1};try{ce(zt,ft,Pt(bn,ot,$t),Pt(At,ot,$t))}catch(at){At(ot,at,$t)}}):($t.value=ft,$t.state=We,Le($t,!1))}catch(ot){At({done:!1},ot,$t)}}};if(Ee&&(je=function(ft){ee(this,nt),y(ft),ce(Ie,this);var st=Oe(this);try{ft(Pt(bn,st),Pt(At,st))}catch(zt){At(st,zt)}},nt=je.prototype,Ie=function(ft){Me(this,{type:xe,done:!1,notified:!1,parent:!1,reactions:new pe,rejection:!1,state:gt,value:void 0})},Ie.prototype=oe(nt,{then:function(ft,st){var zt=Oe(this),ot=ze(te(this,je));return zt.parent=!0,ot.ok=x(ft)?ft:!0,ot.fail=x(st)&&st,ot.domain=ie?Xe.domain:void 0,zt.state==gt?zt.reactions.add(ot):de(function(){Ae(ot,zt)}),ot.promise}}),He=function(){var $t=new Ie,ft=Oe($t);this.promise=$t,this.resolve=Pt(bn,ft),this.reject=Pt(At,ft)},we.f=ze=function($t){return $t===je||$t===Ve?new He($t):ke($t)},!re&&x(ye)&&Ue!==Object.prototype)){Ze=Ue.then,Ce||ae(Ue,"then",function(ft,st){var zt=this;return new je(function(ot,at){ce(Ze,zt,ot,at)}).then(ft,st)},{unsafe:!0});try{delete Ue.constructor}catch($t){}ne&&ne(Ue,nt)}se({global:!0,wrap:!0,forced:Ee},{Promise:je}),z(je,xe,!1,!0),a(xe)},{"../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"),ce=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=ce(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"),ce=E("../internals/promise-constructor-detection").CONSTRUCTOR,ae=E("../internals/promise-resolve"),oe=re("Promise"),ne=ie&&!ce;se({target:"Promise",stat:!0,forced:ie||ce},{resolve:function(a){return ae(ne&&this===oe?le:this,a)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(E,he,fe){var se=E("../internals/descriptors"),re=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-forced"),ce=E("../internals/inherit-if-required"),ae=E("../internals/create-non-enumerable-property"),oe=E("../internals/object-get-own-property-names").f,ne=E("../internals/object-is-prototype-of"),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"),ue=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,xe=re.SyntaxError,Ee=ie(we.exec),Te=ie("".charAt),Ce=ie("".replace),Oe=ie("".indexOf),Me=ie("".slice),Ue=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,je=/a/g,nt=/a/g,Ye=new Pe(je)!==je,Qe=x.MISSED_STICKY,Xe=x.UNSUPPORTED_Y,ze=se&&(!Ye||Qe||pe||Se||te(function(){return nt[ye]=!1,Pe(je)!=je||Pe(nt)==nt||Pe(je,"i")!="/a/i"})),ke=function(We){for(var $e=We.length,Re=0,tt="",Ie=!1,He;Re<=$e;Re++){if(He=Te(We,Re),He==="\\"){tt+=He+Te(We,++Re);continue}!Ie&&He==="."?tt+="[\\s\\S]":(He==="["?Ie=!0:He==="]"&&(Ie=!1),tt+=He)}return tt},Be=function(We){for(var $e=We.length,Re=0,tt="",Ie=[],He={},Ve=!1,Ze=!1,Ke=0,Ae="",Le;Re<=$e;Re++){if(Le=Te(We,Re),Le==="\\")Le=Le+Te(We,++Re);else if(Le==="]")Ve=!1;else if(!Ve)switch(!0){case Le==="[":Ve=!0;break;case Le==="(":Ee(Ue,Me(We,Re+1))&&(Re+=2,Ze=!0),tt+=Le,Ke++;continue;case(Le===">"&&Ze):if(Ae===""||ue(He,Ae))throw new xe("Invalid capture group name");He[Ae]=!0,Ie[Ie.length]=[Ae,Ke],Ze=!1,Ae="";continue}Ze?Ae+=Le:tt+=Le}return[tt,Ie]};if(le("RegExp",ze)){for(var qe=function($e,Re){var tt=ne(we,this),Ie=z($e),He=Re===void 0,Ve=[],Ze=$e,Ke,Ae,Le,Ne,Ge,rt;if(!tt&&Ie&&He&&$e.constructor===qe)return $e;if((Ie||ne(we,$e))&&($e=$e.source,He&&(Re=y(Ze))),$e=$e===void 0?"":a($e),Re=Re===void 0?"":a(Re),Ze=$e,pe&&"dotAll"in je&&(Ae=!!Re&&Oe(Re,"s")>-1,Ae&&(Re=Ce(Re,/s/g,""))),Ke=Re,Qe&&"sticky"in je&&(Le=!!Re&&Oe(Re,"y")>-1,Le&&Xe&&(Re=Ce(Re,/y/g,""))),Se&&(Ne=Be($e),$e=Ne[0],Ve=Ne[1]),Ge=ce(Pe($e,Re),tt?this:we,qe),(Ae||Le||Ve.length)&&(rt=de(Ge),Ae&&(rt.dotAll=!0,rt.raw=qe(ke($e),Ke)),Le&&(rt.sticky=!0),Ve.length&&(rt.groups=Ve)),$e!==Ze)try{ae(Ge,"source",Ze===""?"(?:)":Ze)}catch(St){}return Ge},Je=oe(Pe),gt=0;Je.length>gt;)b(qe,Pe,Je[gt++]);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"),ce=E("../internals/fails"),ae=E("../internals/regexp-get-flags"),oe="toString",ne=RegExp.prototype,z=ne[oe],a=ce(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"),ce=E("../internals/to-string"),ae=E("../internals/correct-is-regexp-logic"),oe=re("".indexOf);se({target:"String",proto:!0,forced:!ae("includes")},{includes:function(z){return!!~oe(ce(le(this)),ce(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"),ce="String Iterator",ae=ie.set,oe=ie.getterFor(ce);le(String,"String",function(ne){ae(this,{type:ce,string:re(ne),index:0})},function(){var 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"),ce=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),ue=ee==null?void 0:oe(ee,a);return ue?se(ue,ee,te):new RegExp(ee)[a](ce(te))},function(b){var ee=ie(this),te=ce(b),ue=x(y,ee,te);if(ue.done)return ue.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=ce(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"),ce=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"),ue=E("../internals/well-known-symbol"),de=ue("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)},xe=function(){return"a".replace(/./,"$0")==="$0"}(),Ee=function(){return/./[de]?/./[de]("a","$0")==="":!1}(),Te=!ce(function(){var Ce=/./;return Ce.exec=function(){var Oe=[];return Oe.groups={a:"7"},Oe},"".replace(Ce,"$<a>")!=="7"});le("replace",function(Ce,Oe,Me){var Ue=Ee?"$":"$0";return[function(nt,Ye){var Qe=y(this),Xe=nt==null?void 0:b(nt,de);return Xe?re(Xe,nt,Qe,Ye):re(Oe,a(Qe),nt,Ye)},function(je,nt){var Ye=ae(this),Qe=a(je);if(typeof nt=="string"&&ye(nt,Ue)===-1&&ye(nt,"$<")===-1){var Xe=Me(Oe,Ye,Qe,nt);if(Xe.done)return Xe.value}var ze=oe(nt);ze||(nt=a(nt));var ke=Ye.global;if(ke){var Be=Ye.unicode;Ye.lastIndex=0}for(var qe=[];;){var Je=te(Ye,Qe);if(Je===null||(Se(qe,Je),!ke))break;var gt=a(Je[0]);gt===""&&(Ye.lastIndex=x(Qe,z(Ye.lastIndex),Be))}for(var We="",$e=0,Re=0;Re<qe.length;Re++){Je=qe[Re];for(var tt=a(Je[0]),Ie=ge(ve(ne(Je.index),Qe.length),0),He=[],Ve=1;Ve<Je.length;Ve++)Se(He,we(Je[Ve]));var Ze=Je.groups;if(ze){var Ke=pe([tt],He,Ie,Qe);Ze!==void 0&&Se(Ke,Ze);var Ae=a(se(nt,void 0,Ke))}else Ae=ee(tt,Qe,Ie,He,Ze,nt);Ie>=$e&&(We+=Pe(Qe,$e,Ie)+Ae,$e=Ie+tt.length)}return We+Pe(Qe,$e)}]},!Te||!xe||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"),ce=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 ue=b.lastIndex;ce(ue,0)||(b.lastIndex=0);var de=ne(b,ee);return ce(b.lastIndex,ue)||(b.lastIndex=ue),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"),ce=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"),ue=E("../internals/regexp-sticky-helpers"),de=E("../internals/fails"),ge=ue.UNSUPPORTED_Y,ve=4294967295,pe=Math.min,Se=[].push,ye=ie(/./.exec),Pe=ie(Se),we=ie("".slice),xe=!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 Oe;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Oe=function(Me,Ue){var je=y(oe(this)),nt=Ue===void 0?ve:Ue>>>0;if(nt===0)return[];if(Me===void 0)return[je];if(!ce(Me))return re(Te,je,Me,nt);for(var Ye=[],Qe=(Me.ignoreCase?"i":"")+(Me.multiline?"m":"")+(Me.unicode?"u":"")+(Me.sticky?"y":""),Xe=0,ze=new RegExp(Me.source,Qe+"g"),ke,Be,qe;(ke=re(te,ze,je))&&(Be=ze.lastIndex,!(Be>Xe&&(Pe(Ye,we(je,Xe,ke.index)),ke.length>1&&ke.index<je.length&&se(Se,Ye,b(ke,1)),qe=ke[0].length,Xe=Be,Ye.length>=nt)));)ze.lastIndex===ke.index&&ze.lastIndex++;return Xe===je.length?(qe||!ye(ze,""))&&Pe(Ye,""):Pe(Ye,we(je,Xe)),Ye.length>nt?b(Ye,0,nt):Ye}:"0".split(void 0,0).length?Oe=function(Me,Ue){return Me===void 0&&Ue===0?[]:re(Te,this,Me,Ue)}:Oe=Te,[function(Ue,je){var nt=oe(this),Ye=Ue==null?void 0:x(Ue,Ee);return Ye?re(Ye,Ue,nt,je):re(Oe,y(nt),Ue,je)},function(Me,Ue){var je=ae(this),nt=y(Me),Ye=Ce(Oe,je,nt,Ue,Oe!==Te);if(Ye.done)return Ye.value;var Qe=ne(je,RegExp),Xe=je.unicode,ze=(je.ignoreCase?"i":"")+(je.multiline?"m":"")+(je.unicode?"u":"")+(ge?"g":"y"),ke=new Qe(ge?"^(?:"+je.source+")":je,ze),Be=Ue===void 0?ve:Ue>>>0;if(Be===0)return[];if(nt.length===0)return ee(ke,nt)===null?[nt]:[];for(var qe=0,Je=0,gt=[];Je<nt.length;){ke.lastIndex=ge?0:Je;var We=ee(ke,ge?we(nt,Je):nt),$e;if(We===null||($e=pe(a(ke.lastIndex+(ge?Je:0)),nt.length))===qe)Je=z(nt,Je,Xe);else{if(Pe(gt,we(nt,qe,Je)),gt.length===Be)return gt;for(var Re=1;Re<=We.length-1;Re++)if(Pe(gt,We[Re]),gt.length===Be)return gt;Je=qe=$e}}return Pe(gt,we(nt,qe)),gt}]},!xe,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"),ce=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"),ue=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"),xe=E("../internals/redefine"),Ee=E("../internals/shared"),Te=E("../internals/shared-key"),Ce=E("../internals/hidden-keys"),Oe=E("../internals/uid"),Me=E("../internals/well-known-symbol"),Ue=E("../internals/well-known-symbol-wrapped"),je=E("../internals/define-well-known-symbol"),nt=E("../internals/symbol-define-to-primitive"),Ye=E("../internals/set-to-string-tag"),Qe=E("../internals/internal-state"),Xe=E("../internals/array-iteration").forEach,ze=Te("hidden"),ke="Symbol",Be="prototype",qe=Qe.set,Je=Qe.getterFor(ke),gt=Object[Be],We=re.Symbol,$e=We&&We[Be],Re=re.TypeError,tt=re.QObject,Ie=Se.f,He=ye.f,Ve=ve.f,Ze=we.f,Ke=le([].push),Ae=Ee("symbols"),Le=Ee("op-symbols"),Ne=Ee("wks"),Ge=!tt||!tt[Be]||!tt[Be].findChild,rt=ae&&ne(function(){return ue(He({},"a",{get:function(){return He(this,"a",{value:7}).a}})).a!=7})?function(ot,at,bt){var Ft=Ie(gt,at);Ft&&delete gt[at],He(ot,at,bt),Ft&&ot!==gt&&He(gt,at,Ft)}:He,St=function(ot,at){var bt=Ae[ot]=ue($e);return qe(bt,{type:ke,tag:ot,description:at}),ae||(bt.description=at),bt},Pt=function(at,bt,Ft){at===gt&&Pt(Le,bt,Ft),y(at);var kt=b(bt);return y(Ft),z(Ae,kt)?(Ft.enumerable?(z(at,ze)&&at[ze][kt]&&(at[ze][kt]=!1),Ft=ue(Ft,{enumerable:te(0,!1)})):(z(at,ze)||He(at,ze,te(1,{})),at[ze][kt]=!0),rt(at,kt,Ft)):He(at,kt,Ft)},At=function(at,bt){y(at);var Ft=x(bt),kt=de(Ft).concat(zt(Ft));return Xe(kt,function(un){(!ae||ie($t,Ft,un))&&Pt(at,un,Ft[un])}),at},bn=function(at,bt){return bt===void 0?ue(at):At(ue(at),bt)},$t=function(at){var bt=b(at),Ft=ie(Ze,this,bt);return this===gt&&z(Ae,bt)&&!z(Le,bt)?!1:Ft||!z(this,bt)||!z(Ae,bt)||z(this,ze)&&this[ze][bt]?Ft:!0},ft=function(at,bt){var Ft=x(at),kt=b(bt);if(!(Ft===gt&&z(Ae,kt)&&!z(Le,kt))){var un=Ie(Ft,kt);return un&&z(Ae,kt)&&!(z(Ft,ze)&&Ft[ze][kt])&&(un.enumerable=!0),un}},st=function(at){var bt=Ve(x(at)),Ft=[];return Xe(bt,function(kt){!z(Ae,kt)&&!z(Ce,kt)&&Ke(Ft,kt)}),Ft},zt=function(ot){var at=ot===gt,bt=Ve(at?Le:x(ot)),Ft=[];return Xe(bt,function(kt){z(Ae,kt)&&(!at||z(gt,kt))&&Ke(Ft,Ae[kt])}),Ft};oe||(We=function(){if(a($e,this))throw Re("Symbol is not a constructor");var at=!arguments.length||arguments[0]===void 0?void 0:ee(arguments[0]),bt=Oe(at),Ft=function(kt){this===gt&&ie(Ft,Le,kt),z(this,ze)&&z(this[ze],bt)&&(this[ze][bt]=!1),rt(this,bt,te(1,kt))};return ae&&Ge&&rt(gt,bt,{configurable:!0,set:Ft}),St(bt,at)},$e=We[Be],xe($e,"toString",function(){return Je(this).tag}),xe(We,"withoutSetter",function(ot){return St(Oe(ot),ot)}),we.f=$t,ye.f=Pt,Pe.f=At,Se.f=ft,ge.f=ve.f=st,pe.f=zt,Ue.f=function(ot){return St(Me(ot),ot)},ae&&(He($e,"description",{configurable:!0,get:function(){return Je(this).description}}),ce||xe(gt,"propertyIsEnumerable",$t,{unsafe:!0}))),se({global:!0,wrap:!0,forced:!oe,sham:!oe},{Symbol:We}),Xe(de(Ne),function(ot){je(ot)}),se({target:ke,stat:!0,forced:!oe},{useSetter:function(){Ge=!0},useSimple:function(){Ge=!1}}),se({target:"Object",stat:!0,forced:!oe,sham:!ae},{create:bn,defineProperty:Pt,defineProperties:At,getOwnPropertyDescriptor:ft}),se({target:"Object",stat:!0,forced:!oe},{getOwnPropertyNames:st}),nt(),Ye(We,ke),Ce[ze]=!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"),ce=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)",ue=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=ue(ye);if(ce(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"),ce=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ce("string-to-symbol-registry"),ne=ce("symbol-to-string-registry");se({target:"Symbol",stat:!0,forced:!ae},{for:function(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"),ce=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ce("symbol-to-string-registry");se({target:"Symbol",stat:!0,forced:!ae},{keyFor:function(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),ce=re.aTypedArray,ae=re.exportTypedArrayMethod;ae("copyWithin",function(ne,z){return le(ce(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,ce=se.exportTypedArrayMethod;ce("fill",function(oe){var ne=arguments.length;return re(ie,le(this),oe,ne>1?arguments[1]:void 0,ne>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,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,ce=se.exportTypedArrayMethod;ce("filter",function(oe){var ne=re(le(this),oe,arguments.length>1?arguments[1]:void 0);return ie(this,ne)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,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"),ce=E("../modules/es.array.iterator"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=se.Uint8Array,z=ie(ce.values),a=ie(ce.keys),y=ie(ce.entries),x=le.aTypedArray,b=le.exportTypedArrayMethod,ee=ne&&ne.prototype,te=!re(function(){ee[oe].call([1])}),ue=!!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||!ue,{name:"values"}),b(oe,de,te||!ue,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,he,fe){"use strict";var se=E("../internals/array-buffer-view-core"),re=E("../internals/function-uncurry-this"),ie=se.aTypedArray,le=se.exportTypedArrayMethod,ce=re([].join);le("join",function(oe){return ce(ie(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,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,ce=se.exportTypedArrayMethod;ce("lastIndexOf",function(oe){var ne=arguments.length;return re(ie,le(this),ne>1?[oe,arguments[1]]:[oe])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,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,ce=se.exportTypedArrayMethod;ce("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"),ce=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 ue=new Uint8ClampedArray(2);return re(y,ue,{length:1,0:3},1),ue[1]!==3}),te=ee&&ie.NATIVE_ARRAY_BUFFER_VIEWS&&oe(function(){var ue=new z(2);return ue.set(1),ue.set("2",1),ue[0]!==0||ue[1]!==2});b("set",function(de){x(this);var ge=ce(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"),ce=se.aTypedArray,ae=se.exportTypedArrayMethod,oe=ie(function(){new Int8Array(1).slice()});ae("slice",function(z,a){for(var y=le(ce(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"),ce=E("../internals/array-sort"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/engine-ff-version"),ne=E("../internals/engine-is-ie-or-edge"),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),{})})),ue=!!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),ue?ee(this,ve):ce(y(this),de(ve))},!ue||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"),ce=se.aTypedArray,ae=se.exportTypedArrayMethod;ae("subarray",function(ne,z){var a=ce(this),y=a.length,x=ie(ne,y),b=le(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,re((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"),ce=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?ce(oe(this)):oe(this),ce(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,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"),ce=ie.Uint8Array,ae=ce&&ce.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,ce,ae){return re(this,le,ce,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"),ce=E("../internals/create-non-enumerable-property"),ae=function(ne){if(ne&&ne.forEach!==le)try{ce(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"),ce=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{ce(x,oe,z)}catch(te){x[oe]=z}if(x[ne]||ce(x,ne,b),re[b]){for(var ee in le)if(x[ee]!==le[ee])try{ce(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(ue){return Array.isArray?Array.isArray(ue):te(ue)==="[object Array]"}fe.isArray=se;function re(ue){return typeof ue=="boolean"}fe.isBoolean=re;function ie(ue){return ue===null}fe.isNull=ie;function le(ue){return ue==null}fe.isNullOrUndefined=le;function ce(ue){return typeof ue=="number"}fe.isNumber=ce;function ae(ue){return typeof ue=="string"}fe.isString=ae;function oe(ue){return typeof ue=="symbol"}fe.isSymbol=oe;function ne(ue){return ue===void 0}fe.isUndefined=ne;function z(ue){return te(ue)==="[object RegExp]"}fe.isRegExp=z;function a(ue){return typeof ue=="object"&&ue!==null}fe.isObject=a;function y(ue){return te(ue)==="[object Date]"}fe.isDate=y;function x(ue){return te(ue)==="[object Error]"||ue instanceof Error}fe.isError=x;function b(ue){return typeof ue=="function"}fe.isFunction=b;function ee(ue){return ue===null||typeof ue=="boolean"||typeof ue=="number"||typeof ue=="string"||typeof ue=="symbol"||typeof ue=="undefined"}fe.isPrimitive=ee,fe.isBuffer=E("buffer").Buffer.isBuffer;function te(ue){return Object.prototype.toString.call(ue)}},{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",ue=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(),xe=le(a),Ee=ce(a),Te={d:ue,dd:ie(ue),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"][ue%10>3?0:(ue%100-ue%10!=10)*ue%10],W:xe,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 ce(oe){var ne=oe.getDay();return ne===0&&(ne=7),ne}function ae(oe){return oe===null?"null":oe===void 0?"undefined":typeof oe!="object"?typeof oe:Array.isArray(oe)?"array":{}.toString.call(oe).slice(8,-1).toLowerCase()}typeof 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,ce=se.exec(le);if(!ce)return le;var ae,oe="",ne=0,z=0;for(ne=ce.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 ce=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||ce(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||ce(ye))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ye+".");return this._maxListeners=ye,this};function 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 xe=ye==="error",Ee=this._events;if(Ee!==void 0)xe=xe&&Ee.error===void 0;else if(!xe)return!1;if(xe){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 Oe=Ee[ye];if(Oe===void 0)return!1;if(typeof Oe=="function")re(Oe,this,Pe);else for(var Me=Oe.length,Ue=te(Oe,Me),we=0;we<Me;++we)re(Ue[we],this,Pe);return!0};function a(Se,ye,Pe,we){var xe,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),xe=z(Se),xe>0&&Te.length>xe&&!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},xe=y.bind(we);return xe.listener=Pe,we.wrapFn=xe,xe}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,xe,Ee,Te,Ce;if(ne(Pe),xe=this._events,xe===void 0)return this;if(we=xe[ye],we===void 0)return this;if(we===Pe||we.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete xe[ye],xe.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():ue(we,Ee),we.length===1&&(xe[ye]=we[0]),xe.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,xe;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(xe=0;xe<Ee.length;++xe)Te=Ee[xe],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(xe=Pe.length-1;xe>=0;xe--)this.removeListener(ye,Pe[xe]);return this};function b(Se,ye,Pe){var we=Se._events;if(we===void 0)return[];var xe=we[ye];return xe===void 0?[]:typeof xe=="function"?Pe?[xe.listener||xe]:[xe]:Pe?de(xe):te(xe,xe.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 ue(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 xe(Te){Se.removeListener(ye,Ee),we(Te)}function Ee(){typeof Se.removeListener=="function"&&Se.removeListener("error",xe),Pe([].slice.call(arguments))}pe(Se,ye,Ee,{once:!0}),ye!=="error"&&ve(Se,xe,{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 xe(Ee){we.once&&Se.removeEventListener(ye,xe),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))},ce=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"?ce(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,ce=function(Oe){try{return ie('"use strict"; return ('+Oe+").constructor;")()}catch(Me){}},ae=Object.getOwnPropertyDescriptor;if(ae)try{ae({},"")}catch(Oe){ae=null}var oe=function(){throw new le},ne=ae?function(){try{return arguments.callee,oe}catch(Oe){try{return ae(arguments,"callee").get}catch(Me){return oe}}}():oe,z=E("has-symbols")(),a=E("has-proto")(),y=Object.getPrototypeOf||(a?function(Oe){return Oe.__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(Oe){var te=y(y(Oe));ee["%Error.prototype%"]=te}var ue=function Oe(Me){var Ue;if(Me==="%AsyncFunction%")Ue=ce("async function () {}");else if(Me==="%GeneratorFunction%")Ue=ce("function* () {}");else if(Me==="%AsyncGeneratorFunction%")Ue=ce("async function* () {}");else if(Me==="%AsyncGenerator%"){var je=Oe("%AsyncGeneratorFunction%");je&&(Ue=je.prototype)}else if(Me==="%AsyncIteratorPrototype%"){var nt=Oe("%AsyncGenerator%");nt&&y&&(Ue=y(nt.prototype))}return ee[Me]=Ue,Ue},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),xe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ee=/\\(\\)?/g,Te=function(Me){var Ue=Pe(Me,0,1),je=Pe(Me,-1);if(Ue==="%"&&je!=="%")throw new re("invalid intrinsic syntax, expected closing `%`");if(je==="%"&&Ue!=="%")throw new re("invalid intrinsic syntax, expected opening `%`");var nt=[];return ye(Me,xe,function(Ye,Qe,Xe,ze){nt[nt.length]=Xe?ye(ze,Ee,"$1"):Qe||Ye}),nt},Ce=function(Me,Ue){var je=Me,nt;if(ve(de,je)&&(nt=de[je],je="%"+nt[0]+"%"),ve(ee,je)){var Ye=ee[je];if(Ye===x&&(Ye=ue(je)),typeof Ye=="undefined"&&!Ue)throw new le("intrinsic "+Me+" exists, but is not available. Please file an issue!");return{alias:nt,name:je,value:Ye}}throw new re("intrinsic "+Me+" does not exist!")};he.exports=function(Me,Ue){if(typeof Me!="string"||Me.length===0)throw new le("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ue!="boolean")throw new le('"allowMissing" argument must be a boolean');if(we(/^%?[^%]*%?$/,Me)===null)throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var je=Te(Me),nt=je.length>0?je[0]:"",Ye=Ce("%"+nt+"%",Ue),Qe=Ye.name,Xe=Ye.value,ze=!1,ke=Ye.alias;ke&&(nt=ke[0],Se(je,pe([0,1],ke)));for(var Be=1,qe=!0;Be<je.length;Be+=1){var Je=je[Be],gt=Pe(Je,0,1),We=Pe(Je,-1);if((gt==='"'||gt==="'"||gt==="`"||We==='"'||We==="'"||We==="`")&&gt!==We)throw new re("property names with quotes must have matching quotes");if((Je==="constructor"||!qe)&&(ze=!0),nt+="."+Je,Qe="%"+nt+"%",ve(ee,Qe))Xe=ee[Qe];else if(Xe!=null){if(!(Je in Xe)){if(!Ue)throw new le("base intrinsic for "+Me+" exists, but the property is not available.");return}if(ae&&Be+1>=je.length){var $e=ae(Xe,Je);qe=!!$e,qe&&"get"in $e&&!("originalValue"in $e.get)?Xe=$e.get:Xe=Xe[Je]}else qe=ve(Xe,Je),Xe=Xe[Je];qe&&!ze&&(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 ce=42;re[ie]=ce;for(ie in re)return!1;if(typeof Object.keys=="function"&&Object.keys(re).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(re).length!==0)return!1;var ae=Object.getOwnPropertySymbols(re);if(ae.length!==1||ae[0]!==ie||!Object.prototype.propertyIsEnumerable.call(re,ie))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var oe=Object.getOwnPropertyDescriptor(re,ie);if(oe.value!==ce||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(E,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=ce(ae),se.request.call(this,ae,oe)},ie.get=function(ae,oe){return ae=ce(ae),se.get.call(this,ae,oe)};function ce(ae){if(typeof ae=="string"&&(ae=re.parse(ae)),ae.protocol||(ae.protocol="https:"),ae.protocol!=="https:")throw new Error('Protocol "'+ae.protocol+'" not supported. Expected "https:"');return ae}},{http:468,url:472}],356:[function(E,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 ce=new Error(se.format("humanize-ms(%j) result undefined",ie));console.warn(ce.stack)}return le}},{ms:376,util:419}],357:[function(E,he,fe){fe.read=function(se,re,ie,le,ce){var ae,oe,ne=ce*8-le-1,z=(1<<ne)-1,a=z>>1,y=-7,x=ie?ce-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,ce,ae){var oe,ne,z,a=ae*8-ce-1,y=(1<<a)-1,x=y>>1,b=ce===23?Math.pow(2,-24)-Math.pow(2,-77):0,ee=le?0:ae-1,te=le?1:-1,ue=re<0||re===0&&1/re<0?1:0;for(re=Math.abs(re),isNaN(re)||re===1/0?(ne=isNaN(re)?1:0,oe=y):(oe=Math.floor(Math.log(re)/Math.LN2),re*(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,ce),oe=oe+x):(ne=re*Math.pow(2,x-1)*Math.pow(2,ce),oe=0));ce>=8;se[ie+ee]=ne&255,ee+=te,ne/=256,ce-=8);for(oe=oe<<ce|ne,a+=ce;a>0;se[ie+ee]=oe&255,ee+=te,oe/=256,a-=8);se[ie+ee-te]|=ue*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,ce=[],ae=!1;function oe(){!re||!ie||(re=!1,ie.length?ce=ie.concat(ce):le=-1,ce.length&&ne())}function ne(){if(!re){ae=!1,re=!0;for(var ee=ce.length,te=setTimeout(oe);ee;){for(ie=ce,ce=[];ie&&++le<ee;)ie[le].run();le=-1,ee=ce.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 ue=1;ue<arguments.length;ue++)te[ue-1]=arguments[ue];ce.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 ht!="undefined"?ht: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,ce=new re(ie),ae=se.document.createTextNode("");return ce.observe(ae,{characterData:!0}),function(){ae.data=le=++le%2}}}).call(this)}).call(this,typeof ht!="undefined"?ht: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 ht!="undefined"?ht: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 ht!="undefined"?ht: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]"},ce=function(ne){return le(ne)?!0:ne!==null&&typeof ne=="object"&&typeof ne.length=="number"&&ne.length>=0&&ie(ne)!=="[object Array]"&&ie(ne.callee)==="[object Function]"},ae=function(){return le(arguments)}();le.isLegacyArguments=ce,he.exports=ae?le:ce},{"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 ce=/^\s*class\b/,ae=function(pe){try{var Se=se.call(pe);return ce.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,ue=!(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((ue||!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")(),ce=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(!ce)return!1;if(typeof oe=="undefined"){var y=ae();oe=y?ce(y):!1}return ce(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",ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(Me){for(var Ue={},je=0,nt=Me.length;je<nt;je++)Ue[Me.charAt(je)]=je;return Ue}(ce),oe=String.fromCharCode,ne=function(Me){if(Me.length<2){var Ue=Me.charCodeAt(0);return Ue<128?Me:Ue<2048?oe(192|Ue>>>6)+oe(128|Ue&63):oe(224|Ue>>>12&15)+oe(128|Ue>>>6&63)+oe(128|Ue&63)}else{var Ue=65536+(Me.charCodeAt(0)-55296)*1024+(Me.charCodeAt(1)-56320);return oe(240|Ue>>>18&7)+oe(128|Ue>>>12&63)+oe(128|Ue>>>6&63)+oe(128|Ue&63)}},z=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Me){return Me.replace(z,ne)},y=function(Me){var Ue=[0,2,1][Me.length%3],je=Me.charCodeAt(0)<<16|(Me.length>1?Me.charCodeAt(1):0)<<8|(Me.length>2?Me.charCodeAt(2):0),nt=[ce.charAt(je>>>18),ce.charAt(je>>>12&63),Ue>=2?"=":ce.charAt(je>>>6&63),Ue>=1?"=":ce.charAt(je&63)];return nt.join("")},x=re.btoa&&typeof re.btoa=="function"?function(Me){return re.btoa(Me)}:function(Me){if(Me.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Me.replace(/[\s\S]{1,3}/g,y)},b=function(Me){return x(a(String(Me)))},ee=function(Me){return Me.replace(/[+\/]/g,function(Ue){return Ue=="+"?"-":"_"}).replace(/=/g,"")},te=function(Me,Ue){return Ue?ee(b(Me)):b(Me)},ue=function(Me){return te(Me,!0)},de;re.Uint8Array&&(de=function(Me,Ue){for(var je="",nt=0,Ye=Me.length;nt<Ye;nt+=3){var Qe=Me[nt],Xe=Me[nt+1],ze=Me[nt+2],ke=Qe<<16|Xe<<8|ze;je+=ce.charAt(ke>>>18)+ce.charAt(ke>>>12&63)+(typeof Xe!="undefined"?ce.charAt(ke>>>6&63):"=")+(typeof ze!="undefined"?ce.charAt(ke&63):"=")}return Ue?ee(je):je});var ge=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(Me){switch(Me.length){case 4:var Ue=(7&Me.charCodeAt(0))<<18|(63&Me.charCodeAt(1))<<12|(63&Me.charCodeAt(2))<<6|63&Me.charCodeAt(3),je=Ue-65536;return oe((je>>>10)+55296)+oe((je&1023)+56320);case 3:return oe((15&Me.charCodeAt(0))<<12|(63&Me.charCodeAt(1))<<6|63&Me.charCodeAt(2));default:return oe((31&Me.charCodeAt(0))<<6|63&Me.charCodeAt(1))}},pe=function(Me){return Me.replace(ge,ve)},Se=function(Me){var Ue=Me.length,je=Ue%4,nt=(Ue>0?ae[Me.charAt(0)]<<18:0)|(Ue>1?ae[Me.charAt(1)]<<12:0)|(Ue>2?ae[Me.charAt(2)]<<6:0)|(Ue>3?ae[Me.charAt(3)]:0),Ye=[oe(nt>>>16),oe(nt>>>8&255),oe(nt&255)];return Ye.length-=[0,0,2,1][je],Ye.join("")},ye=re.atob&&typeof re.atob=="function"?function(Me){return re.atob(Me)}:function(Me){return Me.replace(/\S{1,4}/g,Se)},Pe=function(Me){return ye(String(Me).replace(/[^A-Za-z0-9\+\/]/g,""))},we=function(Me){return pe(ye(Me))},xe=function(Me){return String(Me).replace(/[-_]/g,function(Ue){return Ue=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ee=function(Me){return we(xe(Me))},Te;re.Uint8Array&&(Te=function(Me){return Uint8Array.from(Pe(xe(Me)),function(Ue){return Ue.charCodeAt(0)})});var Ce=function(){var Me=re.Base64;return re.Base64=ie,Me};if(re.Base64={VERSION:le,atob:Pe,btoa:x,fromBase64:Ee,toBase64:te,utob:a,encode:te,encodeURI:ue,btou:pe,decode:Ee,noConflict:Ce,fromUint8Array:de,toUint8Array:Te},typeof Object.defineProperty=="function"){var Oe=function(Me){return{value:Me,enumerable:!1,writable:!0,configurable:!0}};re.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Oe(function(){return Ee(this)})),Object.defineProperty(String.prototype,"toBase64",Oe(function(Me){return te(this,Me)})),Object.defineProperty(String.prototype,"toBase64URI",Oe(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 ht!="undefined"?ht: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,ce){if(!ie)throw new TypeError("argument dest is required");if(!le)throw new TypeError("argument src is required");return ce===void 0&&(ce=!0),Object.getOwnPropertyNames(le).forEach(function(oe){if(!(!ce&&se.call(ie,oe))){var ne=Object.getOwnPropertyDescriptor(le,oe);Object.defineProperty(ie,oe,ne)}}),ie}},{}],373:[function(E,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 ce=re[le].map(function(z){return z.toLowerCase()});le=le.toLowerCase();for(var ae=0;ae<ce.length;ae++){var oe=ce[ae];if(oe[0]!=="*"){if(!ie&&oe in this._types)throw new Error('Attempt to change mapping for "'+oe+'" extension from "'+this._types[oe]+'" to "'+le+'". Pass `force=true` to allow this, otherwise remove "'+oe+'" from the list of extensions for "'+le+'".');this._types[oe]=le}}if(ie||!this._extensions[le]){var ne=ce[0];this._extensions[le]=ne[0]!=="*"?ne:ne.substr(1)}}},se.prototype.getType=function(re){re=String(re);var ie=re.replace(/^.*[/\\]/,"").toLowerCase(),le=ie.replace(/^.*\./,"").toLowerCase(),ce=ie.length<re.length,ae=le.length<ie.length-1;return(ae||!ce)&&this._types[le]||null},se.prototype.getExtension=function(re){return re=/^\s*([^;\s]*)/.test(re)&&RegExp.$1,re&&this._extensions[re.toLowerCase()]||null},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,ce=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*ce;case"days":case"day":case"d":return b*le;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ie;case"minutes":case"minute":case"mins":case"min":case"m":return b*re;case"seconds":case"second":case"secs":case"sec":case"s":return b*se;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ne(y){var x=Math.abs(y);return x>=le?Math.round(y/le)+"d":x>=ie?Math.round(y/ie)+"h":x>=re?Math.round(y/re)+"m":x>=se?Math.round(y/se)+"s":y+"ms"}function 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 ce(){try{if(!Object.assign)return!1;var ae=new String("abc");if(ae[5]="de",Object.getOwnPropertyNames(ae)[0]==="5")return!1;for(var oe={},ne=0;ne<10;ne++)oe["_"+String.fromCharCode(ne)]=ne;var 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=ce()?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 ce={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?".":ce.normalize(oe)},relative:function(oe,ne){if(re(oe),re(ne),oe===ne||(oe=ce.resolve(oe),ne=ce.resolve(ne),oe===ne))return"";for(var 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,ue=-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?ue=de:de===0&&(ue=0));break}var ge=oe.charCodeAt(z+de),ve=ne.charCodeAt(x+de);if(ge!==ve)break;ge===47&&(ue=de)}var pe="";for(de=z+ue+1;de<=a;++de)(de===a||oe.charCodeAt(de)===47)&&(pe.length===0?pe+="..":pe+="/..");return pe.length>0?pe+ne.slice(x+ue):(x+=ue,ne.charCodeAt(x)===47&&++x,ne.slice(x))},_makeLong:function(oe){return oe},dirname:function(oe){if(re(oe),oe.length===0)return".";for(var ne=oe.charCodeAt(0),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,ue=oe.length-1,de=0;ue>=y;--ue){if(z=oe.charCodeAt(ue),z===47){if(!te){b=ue+1;break}continue}ee===-1&&(te=!1,ee=ue+1),z===46?x===-1?x=ue: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};ce.posix=ce,he.exports=ce}).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,ce=re[typeof fe]&&fe,ae=re[typeof he]&&he&&!he.nodeType&&he,oe=ce&&ae&&typeof se=="object"&&se;oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(ie=oe);var ne=Math.pow(2,53)-1,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 Oe={"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)&&(Oe=Oe[/[\d.]+$/.exec(Ee)])&&(Ee="Windows "+Oe),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 ue(Ee,Te){var Ce=-1,Oe=Ee?Ee.length:0;if(typeof Oe=="number"&&Oe>-1&&Oe<=ne)for(;++Ce<Oe;)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 ue(Ee,function(Oe,Me){Ce=Te(Ce,Oe,Me,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 Oe=Te.navigator||{},Me=Oe.userAgent||"";Ee||(Ee=Me);var Ue=Ce||a==le,je=Ce?!!Oe.likeChrome:/\bChrome\b/.test(Ee)&&!/internal|\n/i.test(b.toString()),nt="Object",Ye=Ce?nt:"ScriptBridgingProxyObject",Qe=Ce?nt:"Environment",Xe=Ce&&Te.java?"JavaPackage":ve(Te.java),ze=Ce?nt:"RuntimeObject",ke=/\bJava/.test(Xe)&&Te.java,Be=ke&&ve(Te.environment)==Qe,qe=ke?"a":"\u03B1",Je=ke?"b":"\u03B2",gt=Te.document||{},We=Te.operamini||Te.opera,$e=z.test($e=Ce&&We?We["[[Class]]"]:ve(We))?$e:We=null,Re,tt=Ee,Ie=[],He=null,Ve=Ee==Me,Ze=Ve&&We&&typeof We.version=="function"&&We.version(),Ke,Ae=St([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Le=At(["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=$t([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),Ge=Pt({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),rt=bn(["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 St(ot){return ye(ot,function(at,bt){return at||RegExp("\\b"+(bt.pattern||Se(bt))+"\\b","i").exec(Ee)&&(bt.label||bt)})}function Pt(ot){return ye(ot,function(at,bt,Ft){return at||(bt[Ne]||bt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ne)]||RegExp("\\b"+Se(Ft)+"(?:\\b|\\w*\\d)","i").exec(Ee))&&Ft})}function At(ot){return ye(ot,function(at,bt){return at||RegExp("\\b"+(bt.pattern||Se(bt))+"\\b","i").exec(Ee)&&(bt.label||bt)})}function bn(ot){return ye(ot,function(at,bt){var Ft=bt.pattern||Se(bt);return!at&&(at=RegExp("\\b"+Ft+"(?:/[\\d.]+|[ \\w.]*)","i").exec(Ee))&&(at=te(at,Ft,bt.label||bt)),at})}function $t(ot){return ye(ot,function(at,bt){var Ft=bt.pattern||Se(bt);return!at&&(at=RegExp("\\b"+Ft+" *\\d+[.\\w_]*","i").exec(Ee)||RegExp("\\b"+Ft+" *\\w+-[\\w]*","i").exec(Ee)||RegExp("\\b"+Ft+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(Ee))&&((at=String(bt.label&&!RegExp(Ft,"i").test(bt.label)?bt.label:at).split("/"))[1]&&!/[\d.]+/.test(at[0])&&(at[0]+=" "+at[1]),bt=bt.label||bt,at=de(at[0].replace(RegExp(Ft,"i"),bt).replace(RegExp("; *(?:"+bt+"[_-])?","i")," ").replace(RegExp("("+bt+")[-_.]?(\\w)","i"),"$1 $2"))),at})}function ft(ot){return ye(ot,function(at,bt){return at||(RegExp(bt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(Ee)||0)[1]||null})}function st(){return this.description||""}if(Ae&&(Ae=[Ae]),/\bAndroid\b/.test(rt)&&!Ne&&(Re=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(Ee))&&(Ne=Pe(Re[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Ge&&!Ne?Ne=$t([Ge]):Ge&&Ne&&(Ne=Ne.replace(RegExp("^("+Se(Ge)+")[-_.\\s]","i"),Ge+" ").replace(RegExp("^("+Se(Ge)+")[-_.]?(\\w)","i"),Ge+" $2")),(Re=/\bGoogle TV\b/.exec(Ne))&&(Ne=Re[0]),/\bSimulator\b/i.test(Ee)&&(Ne=(Ne?Ne+" ":"")+"Simulator"),Le=="Opera Mini"&&/\bOPiOS\b/.test(Ee)&&Ie.push("running in Turbo/Uncompressed mode"),Le=="IE"&&/\blike iPhone OS\b/.test(Ee)?(Re=we(Ee.replace(/like iPhone OS/,"")),Ge=Re.manufacturer,Ne=Re.product):/^iP/.test(Ne)?(Le||(Le="Safari"),rt="iOS"+((Re=/ OS ([\d_]+)/i.exec(Ee))?" "+Re[1].replace(/_/g,"."):"")):Le=="Konqueror"&&/^Linux\b/i.test(rt)?rt="Kubuntu":Ge&&Ge!="Google"&&(/Chrome/.test(Le)&&!/\bMobile Safari\b/i.test(Ee)||/\bVita\b/.test(Ne))||/\bAndroid\b/.test(rt)&&/^Chrome/.test(Le)&&/\bVersion\//i.test(Ee)?(Le="Android Browser",rt=/\bAndroid\b/.test(rt)?rt:"Android"):Le=="Silk"?(/\bMobi/i.test(Ee)||(rt="Android",Ie.unshift("desktop mode")),/Accelerated *= *true/i.test(Ee)&&Ie.unshift("accelerated")):Le=="UC Browser"&&/\bUCWEB\b/.test(Ee)?Ie.push("speed mode"):Le=="PaleMoon"&&(Re=/\bFirefox\/([\d.]+)\b/.exec(Ee))?Ie.push("identifying as Firefox "+Re[1]):Le=="Firefox"&&(Re=/\b(Mobile|Tablet|TV)\b/i.exec(Ee))?(rt||(rt="Firefox OS"),Ne||(Ne=Re[1])):!Le||(Re=!/\bMinefield\b/i.test(Ee)&&/\b(?:Firefox|Safari)\b/.exec(Le))?(Le&&!Ne&&/[\/,]|^[^(]+?\)/.test(Ee.slice(Ee.indexOf(Re+"/")+8))&&(Le=null),(Re=Ne||Ge||rt)&&(Ne||Ge||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(rt))&&(Le=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(rt)?rt:Re)+" Browser")):Le=="Electron"&&(Re=(/\bChrome\/([\d.]+)\b/.exec(Ee)||0)[1])&&Ie.push("Chromium "+Re),Ze||(Ze=ft(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",Se(Le),"(?:Firefox|Minefield|NetFront)"])),(Re=Ae=="iCab"&&parseFloat(Ze)>3&&"WebKit"||/\bOpera\b/.test(Le)&&(/\bOPR\b/.test(Ee)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ee)&&!/^(?:Trident|EdgeHTML)$/.test(Ae)&&"WebKit"||!Ae&&/\bMSIE\b/i.test(Ee)&&(rt=="Mac OS"?"Tasman":"Trident")||Ae=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Le)&&"NetFront")&&(Ae=[Re]),Le=="IE"&&(Re=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ee)||0)[1])?(Le+=" Mobile",rt="Windows Phone "+(/\+$/.test(Re)?Re:Re+".x"),Ie.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ee)?(Le="IE Mobile",rt="Windows Phone 8.x",Ie.unshift("desktop mode"),Ze||(Ze=(/\brv:([\d.]+)/.exec(Ee)||0)[1])):Le!="IE"&&Ae=="Trident"&&(Re=/\brv:([\d.]+)/.exec(Ee))&&(Le&&Ie.push("identifying as "+Le+(Ze?" "+Ze:"")),Le="IE",Ze=Re[1]),Ve){if(pe(Te,"global"))if(ke&&(Re=ke.lang.System,tt=Re.getProperty("os.arch"),rt=rt||Re.getProperty("os.name")+" "+Re.getProperty("os.version")),Be){try{Ze=Te.require("ringo/engine").version.join("."),Le="RingoJS"}catch(ot){(Re=Te.system)&&Re.global.system==Te.system&&(Le="Narwhal",rt||(rt=Re[0].os||null))}Le||(Le="Rhino")}else typeof Te.process=="object"&&!Te.process.browser&&(Re=Te.process)&&(typeof Re.versions=="object"&&(typeof Re.versions.electron=="string"?(Ie.push("Node "+Re.versions.node),Le="Electron",Ze=Re.versions.electron):typeof Re.versions.nw=="string"&&(Ie.push("Chromium "+Ze,"Node "+Re.versions.node),Le="NW.js",Ze=Re.versions.nw)),Le||(Le="Node.js",tt=Re.arch,rt=Re.platform,Ze=/[\d.]+/.exec(Re.version),Ze=Ze?Ze[0]:null));else ve(Re=Te.runtime)==Ye?(Le="Adobe AIR",rt=Re.flash.system.Capabilities.os):ve(Re=Te.phantom)==ze?(Le="PhantomJS",Ze=(Re=Re.version||null)&&Re.major+"."+Re.minor+"."+Re.patch):typeof gt.documentMode=="number"&&(Re=/\bTrident\/(\d+)/i.exec(Ee))?(Ze=[Ze,gt.documentMode],(Re=+Re[1]+4)!=Ze[1]&&(Ie.push("IE "+Ze[1]+" mode"),Ae&&(Ae[1]=""),Ze[1]=Re),Ze=Le=="IE"?String(Ze[1].toFixed(1)):Ze[0]):typeof gt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Le)&&(Ie.push("masking as "+Le+" "+Ze),Le="IE",Ze="11.0",Ae=["Trident"],rt="Windows");rt=rt&&de(rt)}if(Ze&&(Re=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ze)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ee+";"+(Ve&&Oe.appMinorVersion))||/\bMinefield\b/i.test(Ee)&&"a")&&(He=/b/i.test(Re)?"beta":"alpha",Ze=Ze.replace(RegExp(Re+"\\+?$"),"")+(He=="beta"?Je:qe)+(/\d+\+?/.exec(Re)||"")),Le=="Fennec"||Le=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(rt))Le="Firefox Mobile";else if(Le=="Maxthon"&&Ze)Ze=Ze.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ne))Ne=="Xbox 360"&&(rt=null),Ne=="Xbox 360"&&/\bIEMobile\b/.test(Ee)&&Ie.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Le)||Le&&!Ne&&!/Browser|Mobi/.test(Le))&&(rt=="Windows CE"||/Mobi/i.test(Ee)))Le+=" Mobile";else if(Le=="IE"&&Ve)try{Te.external===null&&Ie.unshift("platform preview")}catch(ot){Ie.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)],rt=(Re[1]?(Ne=null,Ge="BlackBerry"):"Device Software")+" "+Re[0],Ze=null):this!=ge&&Ne!="Wii"&&(Ve&&We||/Opera/.test(Le)&&/\b(?:MSIE|Firefox)\b/i.test(Ee)||Le=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(rt)||Le=="IE"&&(rt&&!/^Win/.test(rt)&&Ze>5.5||/\bWindows XP\b/.test(rt)&&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(Le)?(/\bIE\b/.test(Re)&&rt=="Mac OS"&&(rt=null),Re="identify"+Re):(Re="mask"+Re,$e?Le=de($e.replace(/([a-z])([A-Z])/g,"$1 $2")):Le="Opera",/\bIE\b/.test(Re)&&(rt=null),Ve||(Ze=null)),Ae=["Presto"],Ie.push(Re));(Re=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ee)||0)[1])&&(Re=[parseFloat(Re.replace(/\.(\d)$/,".0$1")),Re],Le=="Safari"&&Re[1].slice(-1)=="+"?(Le="WebKit Nightly",He="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&&Ae=="WebKit"&&(Ae=["Blink"]),!Ve||!je&&!Re[1]?(Ae&&(Ae[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")):(Ae&&(Ae[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:Ae!="Blink"?"27":"28")),Ae&&(Ae[1]+=" "+(Re+=typeof Re=="number"?".x":/[.+]/.test(Re)?"":"+")),Le=="Safari"&&(!Ze||parseInt(Ze)>45)?Ze=Re:Le=="Chrome"&&/\bHeadlessChrome/i.test(Ee)&&Ie.unshift("headless")),Le=="Opera"&&(Re=/\bzbov|zvav$/.exec(rt))?(Le+=" ",Ie.unshift("desktop mode"),Re=="zvav"?(Le+="Mini",Ze=null):Le+="Mobile",rt=rt.replace(RegExp(" *"+Re+"$"),"")):Le=="Safari"&&/\bChrome\b/.exec(Ae&&Ae[1])?(Ie.unshift("desktop mode"),Le="Chrome Mobile",Ze=null,/\bOS X\b/.test(rt)?(Ge="Apple",rt="iOS 4.3+"):rt=null):/\bSRWare Iron\b/.test(Le)&&!Ze&&(Ze=ft("Chrome")),Ze&&Ze.indexOf(Re=/[\d.]+$/.exec(rt))==0&&Ee.indexOf("/"+Re+"-")>-1&&(rt=Pe(rt.replace(Re,""))),rt&&rt.indexOf(Le)!=-1&&!RegExp(Le+" OS").test(rt)&&(rt=rt.replace(RegExp(" *"+Se(Le)+" *"),"")),Ae&&!/\b(?:Avant|Nook)\b/.test(Le)&&(/Browser|Lunascape|Maxthon/.test(Le)||Le!="Safari"&&/^iOS/.test(rt)&&/\bSafari\b/.test(Ae[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Le)&&Ae[1])&&(Re=Ae[Ae.length-1])&&Ie.push(Re),Ie.length&&(Ie=["("+Ie.join("; ")+")"]),Ge&&Ne&&Ne.indexOf(Ge)<0&&Ie.push("on "+Ge),Ne&&Ie.push((/^on /.test(Ie[Ie.length-1])?"":"on ")+Ne),rt&&(Re=/ ([\d.+]+)$/.exec(rt),Ke=Re&&rt.charAt(rt.length-Re[0].length-1)=="/",rt={architecture:32,family:Re&&!Ke?rt.replace(Re[0],""):rt,version:Re?Re[1]:null,toString:function(){var ot=this.version;return this.family+(ot&&!Ke?" "+ot:"")+(this.architecture==64?" 64-bit":"")}}),(Re=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(tt))&&!/\bi686\b/i.test(tt)?(rt&&(rt.architecture=64,rt.family=rt.family.replace(RegExp(" *"+Re),"")),Le&&(/\bWOW64\b/i.test(Ee)||Ve&&/\w(?:86|32)$/.test(Oe.cpuClass||Oe.platform)&&!/\bWin64; x64\b/i.test(Ee))&&Ie.unshift("32-bit")):rt&&/^OS X/.test(rt.family)&&Le=="Chrome"&&parseFloat(Ze)>=39&&(rt.architecture=64),Ee||(Ee=null);var zt={};return zt.description=Ee,zt.layout=Ae&&Ae[0],zt.manufacturer=Ge,zt.name=Le,zt.prerelease=He,zt.product=Ne,zt.ua=Ee,zt.version=Le&&Ze,zt.os=rt||{architecture:null,family:null,version:null,toString:function(){return"null"}},zt.parse=we,zt.toString=st,zt.version&&Ie.unshift(Ze),zt.name&&Ie.unshift(Le),rt&&Le&&!(rt==String(rt).split(" ")[0]&&(rt==Le.split(" ")[0]||Ne))&&Ie.push(Ne?"("+rt+")":"on "+rt),Ie.length&&(zt.description=Ie.join(" ")),zt}var xe=we();typeof me=="function"&&typeof me.amd=="object"&&me.amd?(ie.platform=xe,me(function(){return xe})):ce&&ae?ge(xe,function(Ee,Te){ce[Te]=Ee}):ie.platform=xe}).call(this)}).call(this)}).call(this,typeof ht!="undefined"?ht: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,ce,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,ce)});case 4:return se.nextTick(function(){ie.call(null,le,ce,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 ce(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?re=setTimeout:re=le}catch(ue){re=le}try{typeof clearTimeout=="function"?ie=clearTimeout:ie=ce}catch(ue){ie=ce}})();function ae(ue){if(re===setTimeout)return setTimeout(ue,0);if((re===le||!re)&&setTimeout)return re=setTimeout,setTimeout(ue,0);try{return re(ue,0)}catch(de){try{return re.call(null,ue,0)}catch(ge){return re.call(this,ue,0)}}}function oe(ue){if(ie===clearTimeout)return clearTimeout(ue);if((ie===ce||!ie)&&clearTimeout)return ie=clearTimeout,clearTimeout(ue);try{return ie(ue)}catch(de){try{return ie.call(null,ue)}catch(ge){return ie.call(this,ue)}}}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 ue=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(ue)}}se.nextTick=function(ue){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(ue,de)),ne.length===1&&!z&&ae(b)};function ee(ue,de){this.fun=ue,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(ue){return[]},se.binding=function(ue){throw new Error("process.binding is not supported")},se.cwd=function(){return"/"},se.chdir=function(ue){throw new Error("process.chdir is not supported")},se.umask=function(){return 0}},{}],382:[function(E,he,fe){(function(se){(function(){(function(re){var ie=typeof fe=="object"&&fe&&!fe.nodeType&&fe,le=typeof he=="object"&&he&&!he.nodeType&&he,ce=typeof se=="object"&&se;(ce.global===ce||ce.window===ce||ce.self===ce)&&(re=ce);var ae,oe=2147483647,ne=36,z=1,a=26,y=38,x=700,b=72,ee=128,te="-",ue=/^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 xe(Xe,ze){for(var ke=Xe.length,Be=[];ke--;)Be[ke]=ze(Xe[ke]);return Be}function Ee(Xe,ze){var ke=Xe.split("@"),Be="";ke.length>1&&(Be=ke[0]+"@",Xe=ke[1]),Xe=Xe.replace(ge,".");var qe=Xe.split("."),Je=xe(qe,ze).join(".");return Be+Je}function Te(Xe){for(var ze=[],ke=0,Be=Xe.length,qe,Je;ke<Be;)qe=Xe.charCodeAt(ke++),qe>=55296&&qe<=56319&&ke<Be?(Je=Xe.charCodeAt(ke++),(Je&64512)==56320?ze.push(((qe&1023)<<10)+(Je&1023)+65536):(ze.push(qe),ke--)):ze.push(qe);return ze}function Ce(Xe){return xe(Xe,function(ze){var ke="";return ze>65535&&(ze-=65536,ke+=ye(ze>>>10&1023|55296),ze=56320|ze&1023),ke+=ye(ze),ke}).join("")}function Oe(Xe){return Xe-48<10?Xe-22:Xe-65<26?Xe-65:Xe-97<26?Xe-97:ne}function Me(Xe,ze){return Xe+22+75*(Xe<26)-((ze!=0)<<5)}function Ue(Xe,ze,ke){var Be=0;for(Xe=ke?Se(Xe/x):Xe>>1,Xe+=Se(Xe/ze);Xe>pe*a>>1;Be+=ne)Xe=Se(Xe/pe);return Se(Be+(pe+1)*Xe/(Xe+y))}function je(Xe){var ze=[],ke=Xe.length,Be,qe=0,Je=ee,gt=b,We,$e,Re,tt,Ie,He,Ve,Ze,Ke;for(We=Xe.lastIndexOf(te),We<0&&(We=0),$e=0;$e<We;++$e)Xe.charCodeAt($e)>=128&&we("not-basic"),ze.push(Xe.charCodeAt($e));for(Re=We>0?We+1:0;Re<ke;){for(tt=qe,Ie=1,He=ne;Re>=ke&&we("invalid-input"),Ve=Oe(Xe.charCodeAt(Re++)),(Ve>=ne||Ve>Se((oe-qe)/Ie))&&we("overflow"),qe+=Ve*Ie,Ze=He<=gt?z:He>=gt+a?a:He-gt,!(Ve<Ze);He+=ne)Ke=ne-Ze,Ie>Se(oe/Ke)&&we("overflow"),Ie*=Ke;Be=ze.length+1,gt=Ue(qe-tt,Be,tt==0),Se(qe/Be)>oe-Je&&we("overflow"),Je+=Se(qe/Be),qe%=Be,ze.splice(qe++,0,Je)}return Ce(ze)}function nt(Xe){var ze,ke,Be,qe,Je,gt,We,$e,Re,tt,Ie,He=[],Ve,Ze,Ke,Ae;for(Xe=Te(Xe),Ve=Xe.length,ze=ee,ke=0,Je=b,gt=0;gt<Ve;++gt)Ie=Xe[gt],Ie<128&&He.push(ye(Ie));for(Be=qe=He.length,qe&&He.push(te);Be<Ve;){for(We=oe,gt=0;gt<Ve;++gt)Ie=Xe[gt],Ie>=ze&&Ie<We&&(We=Ie);for(Ze=Be+1,We-ze>Se((oe-ke)/Ze)&&we("overflow"),ke+=(We-ze)*Ze,ze=We,gt=0;gt<Ve;++gt)if(Ie=Xe[gt],Ie<ze&&++ke>oe&&we("overflow"),Ie==ze){for($e=ke,Re=ne;tt=Re<=Je?z:Re>=Je+a?a:Re-Je,!($e<tt);Re+=ne)Ae=$e-tt,Ke=ne-tt,He.push(ye(Me(tt+Ae%Ke,0))),$e=Se(Ae/Ke);He.push(ye(Me($e,0))),Je=Ue(ke,Ze,Be==qe),ke=0,++Be}++ke,++ze}return He.join("")}function Ye(Xe){return Ee(Xe,function(ze){return ue.test(ze)?je(ze.slice(4).toLowerCase()):ze})}function Qe(Xe){return Ee(Xe,function(ze){return de.test(ze)?"xn--"+nt(ze):ze})}if(ae={version:"1.4.1",ucs2:{decode:Te,encode:Ce},decode:je,encode:nt,toASCII:Qe,toUnicode:Ye},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 ht!="undefined"?ht: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,ce,ae){le=le||"&",ce=ce||"=";var oe={};if(typeof ie!="string"||ie.length===0)return oe;var ne=/\+/g;ie=ie.split(le);var 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(ce),ee,te,ue,de;b>=0?(ee=x.substr(0,b),te=x.substr(b+1)):(ee=x,te=""),ue=decodeURIComponent(ee),de=decodeURIComponent(te),se(oe,ue)?re(oe[ue])?oe[ue].push(de):oe[ue]=[oe[ue],de]:oe[ue]=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(ce){switch(typeof ce){case"string":return ce;case"boolean":return ce?"true":"false";case"number":return isFinite(ce)?ce:"";default:return""}};he.exports=function(ce,ae,oe,ne){return ae=ae||"&",oe=oe||"=",ce===null&&(ce=void 0),typeof ce=="object"?ie(le(ce),function(z){var a=encodeURIComponent(se(z))+oe;return re(ce[z])?ie(ce[z],function(y){return a+encodeURIComponent(se(y))}).join(ae):a+encodeURIComponent(se(ce[z]))}).join(ae):ne?encodeURIComponent(se(ne))+oe+encodeURIComponent(se(ce)):""};var re=Array.isArray||function(ce){return Object.prototype.toString.call(ce)==="[object Array]"};function ie(ce,ae){if(ce.map)return ce.map(ae);for(var oe=[],ne=0;ne<ce.length;ne++)oe.push(ae(ce[ne],ne));return oe}var le=Object.keys||function(ce){var ae=[];for(var oe in ce)Object.prototype.hasOwnProperty.call(ce,oe)&&ae.push(oe);return ae}},{}],385:[function(E,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"),ce=E("./_stream_writable");ie.inherits(z,le);for(var ae=re(ce.prototype),oe=0;oe<ae.length;oe++){var ne=ae[oe];z.prototype[ne]||(z.prototype[ne]=ce.prototype[ne])}function z(x){if(!(this instanceof z))return new z(x);le.call(this,x),ce.call(this,x),x&&x.readable===!1&&(this.readable=!1),x&&x.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,x&&x.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",a)}Object.defineProperty(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,ce,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"),ce;ye.ReadableState=Se;var ae=E("events").EventEmitter,oe=function(Ie,He){return Ie.listeners(He).length},ne=E("./internal/streams/stream"),z=E("safe-buffer").Buffer,a=re.Uint8Array||function(){};function y(Ie){return z.from(Ie)}function x(Ie){return z.isBuffer(Ie)||Ie 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 ue=E("./internal/streams/BufferList"),de=E("./internal/streams/destroy"),ge;b.inherits(ye,ne);var ve=["error","close","destroy","pause","resume"];function pe(Ie,He,Ve){if(typeof Ie.prependListener=="function")return Ie.prependListener(He,Ve);!Ie._events||!Ie._events[He]?Ie.on(He,Ve):le(Ie._events[He])?Ie._events[He].unshift(Ve):Ie._events[He]=[Ve,Ie._events[He]]}function Se(Ie,He){ce=ce||E("./_stream_duplex"),Ie=Ie||{};var Ve=He instanceof ce;this.objectMode=!!Ie.objectMode,Ve&&(this.objectMode=this.objectMode||!!Ie.readableObjectMode);var Ze=Ie.highWaterMark,Ke=Ie.readableHighWaterMark,Ae=this.objectMode?16:16*1024;Ze||Ze===0?this.highWaterMark=Ze:Ve&&(Ke||Ke===0)?this.highWaterMark=Ke:this.highWaterMark=Ae,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new ue,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=Ie.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Ie.encoding&&(ge||(ge=E("string_decoder/").StringDecoder),this.decoder=new ge(Ie.encoding),this.encoding=Ie.encoding)}function ye(Ie){if(ce=ce||E("./_stream_duplex"),!(this instanceof ye))return new ye(Ie);this._readableState=new Se(Ie,this),this.readable=!0,Ie&&(typeof Ie.read=="function"&&(this._read=Ie.read),typeof Ie.destroy=="function"&&(this._destroy=Ie.destroy)),ne.call(this)}Object.defineProperty(ye.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ie){this._readableState&&(this._readableState.destroyed=Ie)}}),ye.prototype.destroy=de.destroy,ye.prototype._undestroy=de.undestroy,ye.prototype._destroy=function(Ie,He){this.push(null),He(Ie)},ye.prototype.push=function(Ie,He){var Ve=this._readableState,Ze;return Ve.objectMode?Ze=!0:typeof Ie=="string"&&(He=He||Ve.defaultEncoding,He!==Ve.encoding&&(Ie=z.from(Ie,He),He=""),Ze=!0),Pe(this,Ie,He,!1,Ze)},ye.prototype.unshift=function(Ie){return Pe(this,Ie,null,!0,!1)};function Pe(Ie,He,Ve,Ze,Ke){var Ae=Ie._readableState;if(He===null)Ae.reading=!1,Me(Ie,Ae);else{var Le;Ke||(Le=xe(Ae,He)),Le?Ie.emit("error",Le):Ae.objectMode||He&&He.length>0?(typeof He!="string"&&!Ae.objectMode&&Object.getPrototypeOf(He)!==z.prototype&&(He=y(He)),Ze?Ae.endEmitted?Ie.emit("error",new Error("stream.unshift() after end event")):we(Ie,Ae,He,!0):Ae.ended?Ie.emit("error",new Error("stream.push() after EOF")):(Ae.reading=!1,Ae.decoder&&!Ve?(He=Ae.decoder.write(He),Ae.objectMode||He.length!==0?we(Ie,Ae,He,!1):nt(Ie,Ae)):we(Ie,Ae,He,!1))):Ze||(Ae.reading=!1)}return Ee(Ae)}function we(Ie,He,Ve,Ze){He.flowing&&He.length===0&&!He.sync?(Ie.emit("data",Ve),Ie.read(0)):(He.length+=He.objectMode?1:Ve.length,Ze?He.buffer.unshift(Ve):He.buffer.push(Ve),He.needReadable&&Ue(Ie)),nt(Ie,He)}function xe(Ie,He){var Ve;return!x(He)&&typeof He!="string"&&He!==void 0&&!Ie.objectMode&&(Ve=new TypeError("Invalid non-string/buffer chunk")),Ve}function Ee(Ie){return!Ie.ended&&(Ie.needReadable||Ie.length<Ie.highWaterMark||Ie.length===0)}ye.prototype.isPaused=function(){return this._readableState.flowing===!1},ye.prototype.setEncoding=function(Ie){return ge||(ge=E("string_decoder/").StringDecoder),this._readableState.decoder=new ge(Ie),this._readableState.encoding=Ie,this};var Te=8388608;function Ce(Ie){return Ie>=Te?Ie=Te:(Ie--,Ie|=Ie>>>1,Ie|=Ie>>>2,Ie|=Ie>>>4,Ie|=Ie>>>8,Ie|=Ie>>>16,Ie++),Ie}function Oe(Ie,He){return Ie<=0||He.length===0&&He.ended?0:He.objectMode?1:Ie!==Ie?He.flowing&&He.length?He.buffer.head.data.length:He.length:(Ie>He.highWaterMark&&(He.highWaterMark=Ce(Ie)),Ie<=He.length?Ie:He.ended?He.length:(He.needReadable=!0,0))}ye.prototype.read=function(Ie){te("read",Ie),Ie=parseInt(Ie,10);var He=this._readableState,Ve=Ie;if(Ie!==0&&(He.emittedReadable=!1),Ie===0&&He.needReadable&&(He.length>=He.highWaterMark||He.ended))return te("read: emitReadable",He.length,He.ended),He.length===0&&He.ended?$e(this):Ue(this),null;if(Ie=Oe(Ie,He),Ie===0&&He.ended)return He.length===0&&$e(this),null;var Ze=He.needReadable;te("need readable",Ze),(He.length===0||He.length-Ie<He.highWaterMark)&&(Ze=!0,te("length less than watermark",Ze)),He.ended||He.reading?(Ze=!1,te("reading or ended",Ze)):Ze&&(te("do read"),He.reading=!0,He.sync=!0,He.length===0&&(He.needReadable=!0),this._read(He.highWaterMark),He.sync=!1,He.reading||(Ie=Oe(Ve,He)));var Ke;return Ie>0?Ke=qe(Ie,He):Ke=null,Ke===null?(He.needReadable=!0,Ie=0):He.length-=Ie,He.length===0&&(He.ended||(He.needReadable=!0),Ve!==Ie&&He.ended&&$e(this)),Ke!==null&&this.emit("data",Ke),Ke};function Me(Ie,He){if(!He.ended){if(He.decoder){var Ve=He.decoder.end();Ve&&Ve.length&&(He.buffer.push(Ve),He.length+=He.objectMode?1:Ve.length)}He.ended=!0,Ue(Ie)}}function Ue(Ie){var He=Ie._readableState;He.needReadable=!1,He.emittedReadable||(te("emitReadable",He.flowing),He.emittedReadable=!0,He.sync?ie.nextTick(je,Ie):je(Ie))}function je(Ie){te("emit readable"),Ie.emit("readable"),Be(Ie)}function nt(Ie,He){He.readingMore||(He.readingMore=!0,ie.nextTick(Ye,Ie,He))}function Ye(Ie,He){for(var Ve=He.length;!He.reading&&!He.flowing&&!He.ended&&He.length<He.highWaterMark&&(te("maybeReadMore read 0"),Ie.read(0),Ve!==He.length);)Ve=He.length;He.readingMore=!1}ye.prototype._read=function(Ie){this.emit("error",new Error("_read() is not implemented"))},ye.prototype.pipe=function(Ie,He){var Ve=this,Ze=this._readableState;switch(Ze.pipesCount){case 0:Ze.pipes=Ie;break;case 1:Ze.pipes=[Ze.pipes,Ie];break;default:Ze.pipes.push(Ie);break}Ze.pipesCount+=1,te("pipe count=%d opts=%j",Ze.pipesCount,He);var Ke=(!He||He.end!==!1)&&Ie!==se.stdout&&Ie!==se.stderr,Ae=Ke?Ne:st;Ze.endEmitted?ie.nextTick(Ae):Ve.once("end",Ae),Ie.on("unpipe",Le);function Le(zt,ot){te("onunpipe"),zt===Ve&&ot&&ot.hasUnpiped===!1&&(ot.hasUnpiped=!0,St())}function Ne(){te("onend"),Ie.end()}var Ge=Qe(Ve);Ie.on("drain",Ge);var rt=!1;function St(){te("cleanup"),Ie.removeListener("close",$t),Ie.removeListener("finish",ft),Ie.removeListener("drain",Ge),Ie.removeListener("error",bn),Ie.removeListener("unpipe",Le),Ve.removeListener("end",Ne),Ve.removeListener("end",st),Ve.removeListener("data",At),rt=!0,Ze.awaitDrain&&(!Ie._writableState||Ie._writableState.needDrain)&&Ge()}var Pt=!1;Ve.on("data",At);function At(zt){te("ondata"),Pt=!1;var ot=Ie.write(zt);ot===!1&&!Pt&&((Ze.pipesCount===1&&Ze.pipes===Ie||Ze.pipesCount>1&&tt(Ze.pipes,Ie)!==-1)&&!rt&&(te("false write response, pause",Ve._readableState.awaitDrain),Ve._readableState.awaitDrain++,Pt=!0),Ve.pause())}function bn(zt){te("onerror",zt),st(),Ie.removeListener("error",bn),oe(Ie,"error")===0&&Ie.emit("error",zt)}pe(Ie,"error",bn);function $t(){Ie.removeListener("finish",ft),st()}Ie.once("close",$t);function ft(){te("onfinish"),Ie.removeListener("close",$t),st()}Ie.once("finish",ft);function st(){te("unpipe"),Ve.unpipe(Ie)}return Ie.emit("pipe",Ve),Ze.flowing||(te("pipe resume"),Ve.resume()),Ie};function Qe(Ie){return function(){var He=Ie._readableState;te("pipeOnDrain",He.awaitDrain),He.awaitDrain&&He.awaitDrain--,He.awaitDrain===0&&oe(Ie,"data")&&(He.flowing=!0,Be(Ie))}}ye.prototype.unpipe=function(Ie){var He=this._readableState,Ve={hasUnpiped:!1};if(He.pipesCount===0)return this;if(He.pipesCount===1)return Ie&&Ie!==He.pipes?this:(Ie||(Ie=He.pipes),He.pipes=null,He.pipesCount=0,He.flowing=!1,Ie&&Ie.emit("unpipe",this,Ve),this);if(!Ie){var Ze=He.pipes,Ke=He.pipesCount;He.pipes=null,He.pipesCount=0,He.flowing=!1;for(var Ae=0;Ae<Ke;Ae++)Ze[Ae].emit("unpipe",this,Ve);return this}var Le=tt(He.pipes,Ie);return Le===-1?this:(He.pipes.splice(Le,1),He.pipesCount-=1,He.pipesCount===1&&(He.pipes=He.pipes[0]),Ie.emit("unpipe",this,Ve),this)},ye.prototype.on=function(Ie,He){var Ve=ne.prototype.on.call(this,Ie,He);if(Ie==="data")this._readableState.flowing!==!1&&this.resume();else if(Ie==="readable"){var Ze=this._readableState;!Ze.endEmitted&&!Ze.readableListening&&(Ze.readableListening=Ze.needReadable=!0,Ze.emittedReadable=!1,Ze.reading?Ze.length&&Ue(this):ie.nextTick(Xe,this))}return Ve},ye.prototype.addListener=ye.prototype.on;function Xe(Ie){te("readable nexttick read 0"),Ie.read(0)}ye.prototype.resume=function(){var Ie=this._readableState;return Ie.flowing||(te("resume"),Ie.flowing=!0,ze(this,Ie)),this};function ze(Ie,He){He.resumeScheduled||(He.resumeScheduled=!0,ie.nextTick(ke,Ie,He))}function ke(Ie,He){He.reading||(te("resume read 0"),Ie.read(0)),He.resumeScheduled=!1,He.awaitDrain=0,Ie.emit("resume"),Be(Ie),He.flowing&&!He.reading&&Ie.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 Be(Ie){var He=Ie._readableState;for(te("flow",He.flowing);He.flowing&&Ie.read()!==null;);}ye.prototype.wrap=function(Ie){var He=this,Ve=this._readableState,Ze=!1;Ie.on("end",function(){if(te("wrapped end"),Ve.decoder&&!Ve.ended){var Le=Ve.decoder.end();Le&&Le.length&&He.push(Le)}He.push(null)}),Ie.on("data",function(Le){if(te("wrapped data"),Ve.decoder&&(Le=Ve.decoder.write(Le)),!(Ve.objectMode&&Le==null)&&!(!Ve.objectMode&&(!Le||!Le.length))){var Ne=He.push(Le);Ne||(Ze=!0,Ie.pause())}});for(var Ke in Ie)this[Ke]===void 0&&typeof Ie[Ke]=="function"&&(this[Ke]=function(Le){return function(){return Ie[Le].apply(Ie,arguments)}}(Ke));for(var Ae=0;Ae<ve.length;Ae++)Ie.on(ve[Ae],this.emit.bind(this,ve[Ae]));return this._read=function(Le){te("wrapped _read",Le),Ze&&(Ze=!1,Ie.resume())},this},Object.defineProperty(ye.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),ye._fromList=qe;function qe(Ie,He){if(He.length===0)return null;var Ve;return He.objectMode?Ve=He.buffer.shift():!Ie||Ie>=He.length?(He.decoder?Ve=He.buffer.join(""):He.buffer.length===1?Ve=He.buffer.head.data:Ve=He.buffer.concat(He.length),He.buffer.clear()):Ve=Je(Ie,He.buffer,He.decoder),Ve}function Je(Ie,He,Ve){var Ze;return Ie<He.head.data.length?(Ze=He.head.data.slice(0,Ie),He.head.data=He.head.data.slice(Ie)):Ie===He.head.data.length?Ze=He.shift():Ze=Ve?gt(Ie,He):We(Ie,He),Ze}function gt(Ie,He){var Ve=He.head,Ze=1,Ke=Ve.data;for(Ie-=Ke.length;Ve=Ve.next;){var Ae=Ve.data,Le=Ie>Ae.length?Ae.length:Ie;if(Le===Ae.length?Ke+=Ae:Ke+=Ae.slice(0,Ie),Ie-=Le,Ie===0){Le===Ae.length?(++Ze,Ve.next?He.head=Ve.next:He.head=He.tail=null):(He.head=Ve,Ve.data=Ae.slice(Le));break}++Ze}return He.length-=Ze,Ke}function We(Ie,He){var Ve=z.allocUnsafe(Ie),Ze=He.head,Ke=1;for(Ze.data.copy(Ve),Ie-=Ze.data.length;Ze=Ze.next;){var Ae=Ze.data,Le=Ie>Ae.length?Ae.length:Ie;if(Ae.copy(Ve,Ve.length-Ie,0,Le),Ie-=Le,Ie===0){Le===Ae.length?(++Ke,Ze.next?He.head=Ze.next:He.head=He.tail=null):(He.head=Ze,Ze.data=Ae.slice(Le));break}++Ke}return He.length-=Ke,Ve}function $e(Ie){var He=Ie._readableState;if(He.length>0)throw new Error('"endReadable()" called on non-empty stream');He.endEmitted||(He.ended=!0,ie.nextTick(Re,He,Ie))}function Re(Ie,He){!Ie.endEmitted&&Ie.length===0&&(Ie.endEmitted=!0,He.readable=!1,He.emit("end"))}function tt(Ie,He){for(var Ve=0,Ze=Ie.length;Ve<Ze;Ve++)if(Ie[Ve]===He)return Ve;return-1}}).call(this)}).call(this,E("_process"),typeof ht!="undefined"?ht: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",ce)}function ce(){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 ce(ke,Be,qe){this.chunk=ke,this.encoding=Be,this.callback=qe,this.next=null}function ae(ke){var Be=this;this.next=null,this.entry=null,this.finish=function(){ze(Be,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 ue=E("./internal/streams/destroy");z.inherits(pe,y);function de(){}function ge(ke,Be){ne=ne||E("./_stream_duplex"),ke=ke||{};var qe=Be instanceof ne;this.objectMode=!!ke.objectMode,qe&&(this.objectMode=this.objectMode||!!ke.writableObjectMode);var Je=ke.highWaterMark,gt=ke.writableHighWaterMark,We=this.objectMode?16:16*1024;Je||Je===0?this.highWaterMark=Je:qe&&(gt||gt===0)?this.highWaterMark=gt: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 $e=ke.decodeStrings===!1;this.decodeStrings=!$e,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(Be,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 Be=this.bufferedRequest,qe=[];Be;)qe.push(Be),Be=Be.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,Be){var qe=new Error("write after end");ke.emit("error",qe),le.nextTick(Be,qe)}function ye(ke,Be,qe,Je){var gt=!0,We=!1;return qe===null?We=new TypeError("May not write null values to stream"):typeof qe!="string"&&qe!==void 0&&!Be.objectMode&&(We=new TypeError("Invalid non-string/buffer chunk")),We&&(ke.emit("error",We),le.nextTick(Je,We),gt=!1),gt}pe.prototype.write=function(ke,Be,qe){var Je=this._writableState,gt=!1,We=!Je.objectMode&&te(ke);return We&&!x.isBuffer(ke)&&(ke=ee(ke)),typeof Be=="function"&&(qe=Be,Be=null),We?Be="buffer":Be||(Be=Je.defaultEncoding),typeof qe!="function"&&(qe=de),Je.ended?Se(this,qe):(We||ye(this,Je,ke,qe))&&(Je.pendingcb++,gt=we(this,Je,We,ke,Be,qe)),gt},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&&Ue(this,ke))},pe.prototype.setDefaultEncoding=function(Be){if(typeof Be=="string"&&(Be=Be.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Be+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Be);return this._writableState.defaultEncoding=Be,this};function Pe(ke,Be,qe){return!ke.objectMode&&ke.decodeStrings!==!1&&typeof Be=="string"&&(Be=x.from(Be,qe)),Be}Object.defineProperty(pe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function we(ke,Be,qe,Je,gt,We){if(!qe){var $e=Pe(Be,Je,gt);Je!==$e&&(qe=!0,gt="buffer",Je=$e)}var Re=Be.objectMode?1:Je.length;Be.length+=Re;var tt=Be.length<Be.highWaterMark;if(tt||(Be.needDrain=!0),Be.writing||Be.corked){var Ie=Be.lastBufferedRequest;Be.lastBufferedRequest={chunk:Je,encoding:gt,isBuf:qe,callback:We,next:null},Ie?Ie.next=Be.lastBufferedRequest:Be.bufferedRequest=Be.lastBufferedRequest,Be.bufferedRequestCount+=1}else xe(ke,Be,!1,Re,Je,gt,We);return tt}function xe(ke,Be,qe,Je,gt,We,$e){Be.writelen=Je,Be.writecb=$e,Be.writing=!0,Be.sync=!0,qe?ke._writev(gt,Be.onwrite):ke._write(gt,We,Be.onwrite),Be.sync=!1}function Ee(ke,Be,qe,Je,gt){--Be.pendingcb,qe?(le.nextTick(gt,Je),le.nextTick(Qe,ke,Be),ke._writableState.errorEmitted=!0,ke.emit("error",Je)):(gt(Je),ke._writableState.errorEmitted=!0,ke.emit("error",Je),Qe(ke,Be))}function Te(ke){ke.writing=!1,ke.writecb=null,ke.length-=ke.writelen,ke.writelen=0}function Ce(ke,Be){var qe=ke._writableState,Je=qe.sync,gt=qe.writecb;if(Te(qe),Be)Ee(ke,qe,Je,Be,gt);else{var We=je(qe);!We&&!qe.corked&&!qe.bufferProcessing&&qe.bufferedRequest&&Ue(ke,qe),Je?oe(Oe,ke,qe,We,gt):Oe(ke,qe,We,gt)}}function Oe(ke,Be,qe,Je){qe||Me(ke,Be),Be.pendingcb--,Je(),Qe(ke,Be)}function Me(ke,Be){Be.length===0&&Be.needDrain&&(Be.needDrain=!1,ke.emit("drain"))}function Ue(ke,Be){Be.bufferProcessing=!0;var qe=Be.bufferedRequest;if(ke._writev&&qe&&qe.next){var Je=Be.bufferedRequestCount,gt=new Array(Je),We=Be.corkedRequestsFree;We.entry=qe;for(var $e=0,Re=!0;qe;)gt[$e]=qe,qe.isBuf||(Re=!1),qe=qe.next,$e+=1;gt.allBuffers=Re,xe(ke,Be,!0,Be.length,gt,"",We.finish),Be.pendingcb++,Be.lastBufferedRequest=null,We.next?(Be.corkedRequestsFree=We.next,We.next=null):Be.corkedRequestsFree=new ae(Be),Be.bufferedRequestCount=0}else{for(;qe;){var tt=qe.chunk,Ie=qe.encoding,He=qe.callback,Ve=Be.objectMode?1:tt.length;if(xe(ke,Be,!1,Ve,tt,Ie,He),qe=qe.next,Be.bufferedRequestCount--,Be.writing)break}qe===null&&(Be.lastBufferedRequest=null)}Be.bufferedRequest=qe,Be.bufferProcessing=!1}pe.prototype._write=function(ke,Be,qe){qe(new Error("_write() is not implemented"))},pe.prototype._writev=null,pe.prototype.end=function(ke,Be,qe){var Je=this._writableState;typeof ke=="function"?(qe=ke,ke=null,Be=null):typeof Be=="function"&&(qe=Be,Be=null),ke!=null&&this.write(ke,Be),Je.corked&&(Je.corked=1,this.uncork()),!Je.ending&&!Je.finished&&Xe(this,Je,qe)};function je(ke){return ke.ending&&ke.length===0&&ke.bufferedRequest===null&&!ke.finished&&!ke.writing}function nt(ke,Be){ke._final(function(qe){Be.pendingcb--,qe&&ke.emit("error",qe),Be.prefinished=!0,ke.emit("prefinish"),Qe(ke,Be)})}function Ye(ke,Be){!Be.prefinished&&!Be.finalCalled&&(typeof ke._final=="function"?(Be.pendingcb++,Be.finalCalled=!0,le.nextTick(nt,ke,Be)):(Be.prefinished=!0,ke.emit("prefinish")))}function Qe(ke,Be){var qe=je(Be);return qe&&(Ye(ke,Be),Be.pendingcb===0&&(Be.finished=!0,ke.emit("finish"))),qe}function Xe(ke,Be,qe){Be.ending=!0,Qe(ke,Be),qe&&(Be.finished?le.nextTick(qe):ke.once("finish",qe)),Be.ended=!0,ke.writable=!1}function ze(ke,Be,qe){var Je=ke.entry;for(ke.entry=null;Je;){var gt=Je.callback;Be.pendingcb--,gt(qe),Je=Je.next}Be.corkedRequestsFree?Be.corkedRequestsFree.next=ke:Be.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=ue.destroy,pe.prototype._undestroy=ue.undestroy,pe.prototype._destroy=function(ke,Be){this.end(),Be(ke)}}).call(this)}).call(this,E("_process"),typeof ht!="undefined"?ht: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(ce,ae){if(!(ce instanceof ae))throw new TypeError("Cannot call a class as a function")}var re=E("safe-buffer").Buffer,ie=E("util");function le(ce,ae,oe){ce.copy(ae,oe)}he.exports=function(){function ce(){se(this,ce),this.head=null,this.tail=null,this.length=0}return ce.prototype.push=function(oe){var ne={data:oe,next:null};this.length>0?this.tail.next=ne:this.head=ne,this.tail=ne,++this.length},ce.prototype.unshift=function(oe){var ne={data:oe,next:this.head};this.length===0&&(this.tail=ne),this.head=ne,++this.length},ce.prototype.shift=function(){if(this.length!==0){var oe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,oe}},ce.prototype.clear=function(){this.head=this.tail=null,this.length=0},ce.prototype.join=function(oe){if(this.length===0)return"";for(var ne=this.head,z=""+ne.data;ne=ne.next;)z+=oe+ne.data;return z},ce.prototype.concat=function(oe){if(this.length===0)return re.alloc(0);if(this.length===1)return this.head.data;for(var ne=re.allocUnsafe(oe>>>0),z=this.head,a=0;z;)le(z.data,ne,a),a+=z.data.length,z=z.next;return ne},ce}(),ie&&ie.inspect&&ie.inspect.custom&&(he.exports.prototype[ie.inspect.custom]=function(){var ce=ie.inspect({length:this.length});return this.constructor.name+" "+ce})},{"safe-buffer":396,util:89}],392:[function(E,he,fe){"use strict";var se=E("process-nextick-args");function re(ce,ae){var oe=this,ne=this._readableState&&this._readableState.destroyed,z=this._writableState&&this._writableState.destroyed;return ne||z?(ae?ae(ce):ce&&(!this._writableState||!this._writableState.errorEmitted)&&se.nextTick(le,this,ce),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ce||null,function(a){!ae&&a?(se.nextTick(le,oe,a),oe._writableState&&(oe._writableState.errorEmitted=!0)):ae&&ae(a)}),this)}function ie(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function le(ce,ae){ce.emit("error",ae)}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,ce,ae=typeof Symbol=="function"?Symbol:{},oe=ae.iterator||"@@iterator",ne=ae.asyncIterator||"@@asyncIterator",z=ae.toStringTag||"@@toStringTag";function a(Ye,Qe,Xe){return Object.defineProperty(Ye,Qe,{value:Xe,enumerable:!0,configurable:!0,writable:!0}),Ye[Qe]}try{a({},"")}catch(Ye){a=function(Qe,Xe,ze){return Qe[Xe]=ze}}function y(Ye,Qe,Xe,ze){var ke=Qe&&Qe.prototype instanceof ge?Qe:ge,Be=Object.create(ke.prototype),qe=new Ue(ze||[]);return Be._invoke=Te(Ye,Xe,qe),Be}re.wrap=y;function x(Ye,Qe,Xe){try{return{type:"normal",arg:Ye.call(Qe,Xe)}}catch(ze){return{type:"throw",arg:ze}}}var b="suspendedStart",ee="suspendedYield",te="executing",ue="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 xe(Ye){["next","throw","return"].forEach(function(Qe){a(Ye,Qe,function(Xe){return this._invoke(Qe,Xe)})})}re.isGeneratorFunction=function(Ye){var Qe=typeof Ye=="function"&&Ye.constructor;return Qe?Qe===ve||(Qe.displayName||Qe.name)==="GeneratorFunction":!1},re.mark=function(Ye){return Object.setPrototypeOf?Object.setPrototypeOf(Ye,pe):(Ye.__proto__=pe,a(Ye,z,"GeneratorFunction")),Ye.prototype=Object.create(we),Ye},re.awrap=function(Ye){return{__await:Ye}};function Ee(Ye,Qe){function Xe(Be,qe,Je,gt){var We=x(Ye[Be],Ye,qe);if(We.type==="throw")gt(We.arg);else{var $e=We.arg,Re=$e.value;return Re&&typeof Re=="object"&&le.call(Re,"__await")?Qe.resolve(Re.__await).then(function(tt){Xe("next",tt,Je,gt)},function(tt){Xe("throw",tt,Je,gt)}):Qe.resolve(Re).then(function(tt){$e.value=tt,Je($e)},function(tt){return Xe("throw",tt,Je,gt)})}}var ze;function ke(Be,qe){function Je(){return new Qe(function(gt,We){Xe(Be,qe,gt,We)})}return ze=ze?ze.then(Je,Je):Je()}this._invoke=ke}xe(Ee.prototype),a(Ee.prototype,ne,function(){return this}),re.AsyncIterator=Ee,re.async=function(Ye,Qe,Xe,ze,ke){ke===void 0&&(ke=Promise);var Be=new Ee(y(Ye,Qe,Xe,ze),ke);return re.isGeneratorFunction(Qe)?Be:Be.next().then(function(qe){return qe.done?qe.value:Be.next()})};function Te(Ye,Qe,Xe){var ze=b;return function(Be,qe){if(ze===te)throw new Error("Generator is already running");if(ze===ue){if(Be==="throw")throw qe;return nt()}for(Xe.method=Be,Xe.arg=qe;;){var Je=Xe.delegate;if(Je){var gt=Ce(Je,Xe);if(gt){if(gt===de)continue;return gt}}if(Xe.method==="next")Xe.sent=Xe._sent=Xe.arg;else if(Xe.method==="throw"){if(ze===b)throw ze=ue,Xe.arg;Xe.dispatchException(Xe.arg)}else Xe.method==="return"&&Xe.abrupt("return",Xe.arg);ze=te;var We=x(Ye,Qe,Xe);if(We.type==="normal"){if(ze=Xe.done?ue:ee,We.arg===de)continue;return{value:We.arg,done:Xe.done}}else We.type==="throw"&&(ze=ue,Xe.method="throw",Xe.arg=We.arg)}}}function Ce(Ye,Qe){var Xe=Ye.iterator[Qe.method];if(Xe===ce){if(Qe.delegate=null,Qe.method==="throw"){if(Ye.iterator.return&&(Qe.method="return",Qe.arg=ce,Ce(Ye,Qe),Qe.method==="throw"))return de;Qe.method="throw",Qe.arg=new TypeError("The iterator does not provide a 'throw' method")}return de}var ze=x(Xe,Ye.iterator,Qe.arg);if(ze.type==="throw")return Qe.method="throw",Qe.arg=ze.arg,Qe.delegate=null,de;var ke=ze.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[Ye.resultName]=ke.value,Qe.next=Ye.nextLoc,Qe.method!=="return"&&(Qe.method="next",Qe.arg=ce);else return ke;return Qe.delegate=null,de}xe(we),a(we,z,"Generator"),a(we,oe,function(){return this}),a(we,"toString",function(){return"[object Generator]"});function Oe(Ye){var Qe={tryLoc:Ye[0]};1 in Ye&&(Qe.catchLoc=Ye[1]),2 in Ye&&(Qe.finallyLoc=Ye[2],Qe.afterLoc=Ye[3]),this.tryEntries.push(Qe)}function Me(Ye){var Qe=Ye.completion||{};Qe.type="normal",delete Qe.arg,Ye.completion=Qe}function Ue(Ye){this.tryEntries=[{tryLoc:"root"}],Ye.forEach(Oe,this),this.reset(!0)}re.keys=function(Ye){var Qe=[];for(var Xe in Ye)Qe.push(Xe);return Qe.reverse(),function ze(){for(;Qe.length;){var ke=Qe.pop();if(ke in Ye)return ze.value=ke,ze.done=!1,ze}return ze.done=!0,ze}};function je(Ye){if(Ye){var Qe=Ye[oe];if(Qe)return Qe.call(Ye);if(typeof Ye.next=="function")return Ye;if(!isNaN(Ye.length)){var Xe=-1,ze=function ke(){for(;++Xe<Ye.length;)if(le.call(Ye,Xe))return ke.value=Ye[Xe],ke.done=!1,ke;return ke.value=ce,ke.done=!0,ke};return ze.next=ze}}return{next:nt}}re.values=je;function nt(){return{value:ce,done:!0}}return Ue.prototype={constructor:Ue,reset:function(Ye){if(this.prev=0,this.next=0,this.sent=this._sent=ce,this.done=!1,this.delegate=null,this.method="next",this.arg=ce,this.tryEntries.forEach(Me),!Ye)for(var Qe in this)Qe.charAt(0)==="t"&&le.call(this,Qe)&&!isNaN(+Qe.slice(1))&&(this[Qe]=ce)},stop:function(){this.done=!0;var Ye=this.tryEntries[0],Qe=Ye.completion;if(Qe.type==="throw")throw Qe.arg;return this.rval},dispatchException:function(Ye){if(this.done)throw Ye;var Qe=this;function Xe(gt,We){return Be.type="throw",Be.arg=Ye,Qe.next=gt,We&&(Qe.method="next",Qe.arg=ce),!!We}for(var ze=this.tryEntries.length-1;ze>=0;--ze){var ke=this.tryEntries[ze],Be=ke.completion;if(ke.tryLoc==="root")return Xe("end");if(ke.tryLoc<=this.prev){var qe=le.call(ke,"catchLoc"),Je=le.call(ke,"finallyLoc");if(qe&&Je){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(Je){if(this.prev<ke.finallyLoc)return Xe(ke.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(Ye,Qe){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var ze=this.tryEntries[Xe];if(ze.tryLoc<=this.prev&&le.call(ze,"finallyLoc")&&this.prev<ze.finallyLoc){var ke=ze;break}}ke&&(Ye==="break"||Ye==="continue")&&ke.tryLoc<=Qe&&Qe<=ke.finallyLoc&&(ke=null);var Be=ke?ke.completion:{};return Be.type=Ye,Be.arg=Qe,ke?(this.method="next",this.next=ke.finallyLoc,de):this.complete(Be)},complete:function(Ye,Qe){if(Ye.type==="throw")throw Ye.arg;return Ye.type==="break"||Ye.type==="continue"?this.next=Ye.arg:Ye.type==="return"?(this.rval=this.arg=Ye.arg,this.method="return",this.next="end"):Ye.type==="normal"&&Qe&&(this.next=Qe),de},finish:function(Ye){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var Xe=this.tryEntries[Qe];if(Xe.finallyLoc===Ye)return this.complete(Xe.completion,Xe.afterLoc),Me(Xe),de}},catch:function(Ye){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var Xe=this.tryEntries[Qe];if(Xe.tryLoc===Ye){var ze=Xe.completion;if(ze.type==="throw"){var ke=ze.arg;Me(Xe)}return ke}}throw new Error("illegal catch attempt")},delegateYield:function(Ye,Qe,Xe){return this.delegate={iterator:je(Ye),resultName:Qe,nextLoc:Xe},this.method==="next"&&(this.arg=ce),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(ce,ae){for(var oe in ce)ae[oe]=ce[oe]}re.from&&re.alloc&&re.allocUnsafe&&re.allocUnsafeSlow?he.exports=se:(ie(se,fe),fe.Buffer=le);function le(ce,ae,oe){return re(ce,ae,oe)}ie(re,le),le.from=function(ce,ae,oe){if(typeof ce=="number")throw new TypeError("Argument must not be a number");return re(ce,ae,oe)},le.alloc=function(ce,ae,oe){if(typeof ce!="number")throw new TypeError("Argument must be a number");var ne=re(ce);return ae!==void 0?typeof oe=="string"?ne.fill(ae,oe):ne.fill(ae):ne.fill(0),ne},le.allocUnsafe=function(ce){if(typeof ce!="number")throw new TypeError("Argument must be a number");return re(ce)},le.allocUnsafeSlow=function(ce){if(typeof ce!="number")throw new TypeError("Argument must be a number");return se.SlowBuffer(ce)}},{buffer:90}],397:[function(E,he,fe){(function(se){(function(){(function(re){re.parser=function($e,Re){return new le($e,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($e,Re){if(!(this instanceof le))return new le($e,Re);var tt=this;ae(tt),tt.q=tt.c="",tt.bufferCheckPosition=re.MAX_BUFFER_LENGTH,tt.opt=Re||{},tt.opt.lowercase=tt.opt.lowercase||tt.opt.lowercasetags,tt.looseCase=tt.opt.lowercase?"toLowerCase":"toUpperCase",tt.tags=[],tt.closed=tt.closedRoot=tt.sawRoot=!1,tt.tag=tt.error=null,tt.strict=!!$e,tt.noscript=!!($e||tt.opt.noscript),tt.state=Ee.BEGIN,tt.strictEntities=tt.opt.strictEntities,tt.ENTITIES=tt.strictEntities?Object.create(re.XML_ENTITIES):Object.create(re.ENTITIES),tt.attribList=[],tt.opt.xmlns&&(tt.ns=Object.create(ue)),tt.trackPosition=tt.opt.position!==!1,tt.trackPosition&&(tt.position=tt.line=tt.column=0),Ce(tt,"onready")}Object.create||(Object.create=function($e){function Re(){}Re.prototype=$e;var tt=new Re;return tt}),Object.keys||(Object.keys=function($e){var Re=[];for(var tt in $e)$e.hasOwnProperty(tt)&&Re.push(tt);return Re});function ce($e){for(var Re=Math.max(re.MAX_BUFFER_LENGTH,10),tt=0,Ie=0,He=ie.length;Ie<He;Ie++){var Ve=$e[ie[Ie]].length;if(Ve>Re)switch(ie[Ie]){case"textNode":Me($e);break;case"cdata":Oe($e,"oncdata",$e.cdata),$e.cdata="";break;case"script":Oe($e,"onscript",$e.script),$e.script="";break;default:je($e,"Max buffer length exceeded: "+ie[Ie])}tt=Math.max(tt,Ve)}var Ze=re.MAX_BUFFER_LENGTH-tt;$e.bufferCheckPosition=Ze+$e.position}function ae($e){for(var Re=0,tt=ie.length;Re<tt;Re++)$e[ie[Re]]=""}function oe($e){Me($e),$e.cdata!==""&&(Oe($e,"oncdata",$e.cdata),$e.cdata=""),$e.script!==""&&(Oe($e,"onscript",$e.script),$e.script="")}le.prototype={end:function(){nt(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($e){ne=function(){}}var z=re.EVENTS.filter(function($e){return $e!=="error"&&$e!=="end"});function a($e,Re){return new y($e,Re)}function y($e,Re){if(!(this instanceof y))return new y($e,Re);ne.apply(this),this._parser=new le($e,Re),this.writable=!0,this.readable=!0;var tt=this;this._parser.onend=function(){tt.emit("end")},this._parser.onerror=function(Ie){tt.emit("error",Ie),tt._parser.error=null},this._decoder=null,z.forEach(function(Ie){Object.defineProperty(tt,"on"+Ie,{get:function(){return tt._parser["on"+Ie]},set:function(He){if(!He)return tt.removeAllListeners(Ie),tt._parser["on"+Ie]=He,He;tt.on(Ie,He)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(ne.prototype,{constructor:{value:y}}),y.prototype.write=function($e){if(typeof se=="function"&&typeof se.isBuffer=="function"&&se.isBuffer($e)){if(!this._decoder){var Re=E("string_decoder").StringDecoder;this._decoder=new Re("utf8")}$e=this._decoder.write($e)}return this._parser.write($e.toString()),this.emit("data",$e),!0},y.prototype.end=function($e){return $e&&$e.length&&this.write($e),this._parser.end(),!0},y.prototype.on=function($e,Re){var tt=this;return!tt._parser["on"+$e]&&z.indexOf($e)!==-1&&(tt._parser["on"+$e]=function(){var Ie=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Ie.splice(0,0,$e),tt.emit.apply(tt,Ie)}),ne.prototype.on.call(tt,$e,Re)};var x="[CDATA[",b="DOCTYPE",ee="http://www.w3.org/XML/1998/namespace",te="http://www.w3.org/2000/xmlns/",ue={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($e){return $e===" "||$e===`
`||$e==="\r"||$e===" "}function ye($e){return $e==='"'||$e==="'"}function Pe($e){return $e===">"||Se($e)}function we($e,Re){return $e.test(Re)}function xe($e,Re){return!we($e,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($e){var Re=re.ENTITIES[$e],tt=typeof Re=="number"?String.fromCharCode(Re):Re;re.ENTITIES[$e]=tt});for(var Te in re.STATE)re.STATE[re.STATE[Te]]=Te;Ee=re.STATE;function Ce($e,Re,tt){$e[Re]&&$e[Re](tt)}function Oe($e,Re,tt){$e.textNode&&Me($e),Ce($e,Re,tt)}function Me($e){$e.textNode=Ue($e.opt,$e.textNode),$e.textNode&&Ce($e,"ontext",$e.textNode),$e.textNode=""}function Ue($e,Re){return $e.trim&&(Re=Re.trim()),$e.normalize&&(Re=Re.replace(/\s+/g," ")),Re}function je($e,Re){return Me($e),$e.trackPosition&&(Re+=`
Line: `+$e.line+`
Column: `+$e.column+`
Char: `+$e.c),Re=new Error(Re),$e.error=Re,Ce($e,"onerror",Re),$e}function nt($e){return $e.sawRoot&&!$e.closedRoot&&Ye($e,"Unclosed root tag"),$e.state!==Ee.BEGIN&&$e.state!==Ee.BEGIN_WHITESPACE&&$e.state!==Ee.TEXT&&je($e,"Unexpected end"),Me($e),$e.c="",$e.closed=!0,Ce($e,"onend"),le.call($e,$e.strict,$e.opt),$e}function Ye($e,Re){if(typeof $e!="object"||!($e instanceof le))throw new Error("bad call to strictFail");$e.strict&&je($e,Re)}function Qe($e){$e.strict||($e.tagName=$e.tagName[$e.looseCase]());var Re=$e.tags[$e.tags.length-1]||$e,tt=$e.tag={name:$e.tagName,attributes:{}};$e.opt.xmlns&&(tt.ns=Re.ns),$e.attribList.length=0,Oe($e,"onopentagstart",tt)}function Xe($e,Re){var tt=$e.indexOf(":"),Ie=tt<0?["",$e]:$e.split(":"),He=Ie[0],Ve=Ie[1];return Re&&$e==="xmlns"&&(He="xmlns",Ve=""),{prefix:He,local:Ve}}function ze($e){if($e.strict||($e.attribName=$e.attribName[$e.looseCase]()),$e.attribList.indexOf($e.attribName)!==-1||$e.tag.attributes.hasOwnProperty($e.attribName)){$e.attribName=$e.attribValue="";return}if($e.opt.xmlns){var Re=Xe($e.attribName,!0),tt=Re.prefix,Ie=Re.local;if(tt==="xmlns")if(Ie==="xml"&&$e.attribValue!==ee)Ye($e,"xml: prefix must be bound to "+ee+`
Actual: `+$e.attribValue);else if(Ie==="xmlns"&&$e.attribValue!==te)Ye($e,"xmlns: prefix must be bound to "+te+`
Actual: `+$e.attribValue);else{var He=$e.tag,Ve=$e.tags[$e.tags.length-1]||$e;He.ns===Ve.ns&&(He.ns=Object.create(Ve.ns)),He.ns[Ie]=$e.attribValue}$e.attribList.push([$e.attribName,$e.attribValue])}else $e.tag.attributes[$e.attribName]=$e.attribValue,Oe($e,"onattribute",{name:$e.attribName,value:$e.attribValue});$e.attribName=$e.attribValue=""}function ke($e,Re){if($e.opt.xmlns){var tt=$e.tag,Ie=Xe($e.tagName);tt.prefix=Ie.prefix,tt.local=Ie.local,tt.uri=tt.ns[Ie.prefix]||"",tt.prefix&&!tt.uri&&(Ye($e,"Unbound namespace prefix: "+JSON.stringify($e.tagName)),tt.uri=Ie.prefix);var He=$e.tags[$e.tags.length-1]||$e;tt.ns&&He.ns!==tt.ns&&Object.keys(tt.ns).forEach(function(At){Oe($e,"onopennamespace",{prefix:At,uri:tt.ns[At]})});for(var Ve=0,Ze=$e.attribList.length;Ve<Ze;Ve++){var Ke=$e.attribList[Ve],Ae=Ke[0],Le=Ke[1],Ne=Xe(Ae,!0),Ge=Ne.prefix,rt=Ne.local,St=Ge===""?"":tt.ns[Ge]||"",Pt={name:Ae,value:Le,prefix:Ge,local:rt,uri:St};Ge&&Ge!=="xmlns"&&!St&&(Ye($e,"Unbound namespace prefix: "+JSON.stringify(Ge)),Pt.uri=Ge),$e.tag.attributes[Ae]=Pt,Oe($e,"onattribute",Pt)}$e.attribList.length=0}$e.tag.isSelfClosing=!!Re,$e.sawRoot=!0,$e.tags.push($e.tag),Oe($e,"onopentag",$e.tag),Re||(!$e.noscript&&$e.tagName.toLowerCase()==="script"?$e.state=Ee.SCRIPT:$e.state=Ee.TEXT,$e.tag=null,$e.tagName=""),$e.attribName=$e.attribValue="",$e.attribList.length=0}function Be($e){if(!$e.tagName){Ye($e,"Weird empty close tag."),$e.textNode+="</>",$e.state=Ee.TEXT;return}if($e.script){if($e.tagName!=="script"){$e.script+="</"+$e.tagName+">",$e.tagName="",$e.state=Ee.SCRIPT;return}Oe($e,"onscript",$e.script),$e.script=""}var Re=$e.tags.length,tt=$e.tagName;$e.strict||(tt=tt[$e.looseCase]());for(var Ie=tt;Re--;){var He=$e.tags[Re];if(He.name!==Ie)Ye($e,"Unexpected close tag");else break}if(Re<0){Ye($e,"Unmatched closing tag: "+$e.tagName),$e.textNode+="</"+$e.tagName+">",$e.state=Ee.TEXT;return}$e.tagName=tt;for(var Ve=$e.tags.length;Ve-- >Re;){var Ze=$e.tag=$e.tags.pop();$e.tagName=$e.tag.name,Oe($e,"onclosetag",$e.tagName);var Ke={};for(var Ae in Ze.ns)Ke[Ae]=Ze.ns[Ae];var Le=$e.tags[$e.tags.length-1]||$e;$e.opt.xmlns&&Ze.ns!==Le.ns&&Object.keys(Ze.ns).forEach(function(Ne){var Ge=Ze.ns[Ne];Oe($e,"onclosenamespace",{prefix:Ne,uri:Ge})})}Re===0&&($e.closedRoot=!0),$e.tagName=$e.attribValue=$e.attribName="",$e.attribList.length=0,$e.state=Ee.TEXT}function qe($e){var Re=$e.entity,tt=Re.toLowerCase(),Ie,He="";return $e.ENTITIES[Re]?$e.ENTITIES[Re]:$e.ENTITIES[tt]?$e.ENTITIES[tt]:(Re=tt,Re.charAt(0)==="#"&&(Re.charAt(1)==="x"?(Re=Re.slice(2),Ie=parseInt(Re,16),He=Ie.toString(16)):(Re=Re.slice(1),Ie=parseInt(Re,10),He=Ie.toString(10))),Re=Re.replace(/^0+/,""),isNaN(Ie)||He.toLowerCase()!==Re?(Ye($e,"Invalid character entity"),"&"+$e.entity+";"):String.fromCodePoint(Ie))}function Je($e,Re){Re==="<"?($e.state=Ee.OPEN_WAKA,$e.startTagPosition=$e.position):Se(Re)||(Ye($e,"Non-whitespace before first tag."),$e.textNode=Re,$e.state=Ee.TEXT)}function gt($e,Re){var tt="";return Re<$e.length&&(tt=$e.charAt(Re)),tt}function We($e){var Re=this;if(this.error)throw this.error;if(Re.closed)return je(Re,"Cannot write after close. Assign an onready handler.");if($e===null)return nt(Re);typeof $e=="object"&&($e=$e.toString());for(var tt=0,Ie="";Ie=gt($e,tt++),Re.c=Ie,!!Ie;)switch(Re.trackPosition&&(Re.position++,Ie===`
`?(Re.line++,Re.column=0):Re.column++),Re.state){case Ee.BEGIN:if(Re.state=Ee.BEGIN_WHITESPACE,Ie==="\uFEFF")continue;Je(Re,Ie);continue;case Ee.BEGIN_WHITESPACE:Je(Re,Ie);continue;case Ee.TEXT:if(Re.sawRoot&&!Re.closedRoot){for(var He=tt-1;Ie&&Ie!=="<"&&Ie!=="&";)Ie=gt($e,tt++),Ie&&Re.trackPosition&&(Re.position++,Ie===`
`?(Re.line++,Re.column=0):Re.column++);Re.textNode+=$e.substring(He,tt-1)}Ie==="<"&&!(Re.sawRoot&&Re.closedRoot&&!Re.strict)?(Re.state=Ee.OPEN_WAKA,Re.startTagPosition=Re.position):(!Se(Ie)&&(!Re.sawRoot||Re.closedRoot)&&Ye(Re,"Text data outside of root node."),Ie==="&"?Re.state=Ee.TEXT_ENTITY:Re.textNode+=Ie);continue;case Ee.SCRIPT:Ie==="<"?Re.state=Ee.SCRIPT_ENDING:Re.script+=Ie;continue;case Ee.SCRIPT_ENDING:Ie==="/"?Re.state=Ee.CLOSE_TAG:(Re.script+="<"+Ie,Re.state=Ee.SCRIPT);continue;case Ee.OPEN_WAKA:if(Ie==="!")Re.state=Ee.SGML_DECL,Re.sgmlDecl="";else if(!Se(Ie))if(we(de,Ie))Re.state=Ee.OPEN_TAG,Re.tagName=Ie;else if(Ie==="/")Re.state=Ee.CLOSE_TAG,Re.tagName="";else if(Ie==="?")Re.state=Ee.PROC_INST,Re.procInstName=Re.procInstBody="";else{if(Ye(Re,"Unencoded <"),Re.startTagPosition+1<Re.position){var Ve=Re.position-Re.startTagPosition;Ie=new Array(Ve).join(" ")+Ie}Re.textNode+="<"+Ie,Re.state=Ee.TEXT}continue;case Ee.SGML_DECL:(Re.sgmlDecl+Ie).toUpperCase()===x?(Oe(Re,"onopencdata"),Re.state=Ee.CDATA,Re.sgmlDecl="",Re.cdata=""):Re.sgmlDecl+Ie==="--"?(Re.state=Ee.COMMENT,Re.comment="",Re.sgmlDecl=""):(Re.sgmlDecl+Ie).toUpperCase()===b?(Re.state=Ee.DOCTYPE,(Re.doctype||Re.sawRoot)&&Ye(Re,"Inappropriately located doctype declaration"),Re.doctype="",Re.sgmlDecl=""):Ie===">"?(Oe(Re,"onsgmldeclaration",Re.sgmlDecl),Re.sgmlDecl="",Re.state=Ee.TEXT):(ye(Ie)&&(Re.state=Ee.SGML_DECL_QUOTED),Re.sgmlDecl+=Ie);continue;case Ee.SGML_DECL_QUOTED:Ie===Re.q&&(Re.state=Ee.SGML_DECL,Re.q=""),Re.sgmlDecl+=Ie;continue;case Ee.DOCTYPE:Ie===">"?(Re.state=Ee.TEXT,Oe(Re,"ondoctype",Re.doctype),Re.doctype=!0):(Re.doctype+=Ie,Ie==="["?Re.state=Ee.DOCTYPE_DTD:ye(Ie)&&(Re.state=Ee.DOCTYPE_QUOTED,Re.q=Ie));continue;case Ee.DOCTYPE_QUOTED:Re.doctype+=Ie,Ie===Re.q&&(Re.q="",Re.state=Ee.DOCTYPE);continue;case Ee.DOCTYPE_DTD:Re.doctype+=Ie,Ie==="]"?Re.state=Ee.DOCTYPE:ye(Ie)&&(Re.state=Ee.DOCTYPE_DTD_QUOTED,Re.q=Ie);continue;case Ee.DOCTYPE_DTD_QUOTED:Re.doctype+=Ie,Ie===Re.q&&(Re.state=Ee.DOCTYPE_DTD,Re.q="");continue;case Ee.COMMENT:Ie==="-"?Re.state=Ee.COMMENT_ENDING:Re.comment+=Ie;continue;case Ee.COMMENT_ENDING:Ie==="-"?(Re.state=Ee.COMMENT_ENDED,Re.comment=Ue(Re.opt,Re.comment),Re.comment&&Oe(Re,"oncomment",Re.comment),Re.comment=""):(Re.comment+="-"+Ie,Re.state=Ee.COMMENT);continue;case Ee.COMMENT_ENDED:Ie!==">"?(Ye(Re,"Malformed comment"),Re.comment+="--"+Ie,Re.state=Ee.COMMENT):Re.state=Ee.TEXT;continue;case Ee.CDATA:Ie==="]"?Re.state=Ee.CDATA_ENDING:Re.cdata+=Ie;continue;case Ee.CDATA_ENDING:Ie==="]"?Re.state=Ee.CDATA_ENDING_2:(Re.cdata+="]"+Ie,Re.state=Ee.CDATA);continue;case Ee.CDATA_ENDING_2:Ie===">"?(Re.cdata&&Oe(Re,"oncdata",Re.cdata),Oe(Re,"onclosecdata"),Re.cdata="",Re.state=Ee.TEXT):Ie==="]"?Re.cdata+="]":(Re.cdata+="]]"+Ie,Re.state=Ee.CDATA);continue;case Ee.PROC_INST:Ie==="?"?Re.state=Ee.PROC_INST_ENDING:Se(Ie)?Re.state=Ee.PROC_INST_BODY:Re.procInstName+=Ie;continue;case Ee.PROC_INST_BODY:if(!Re.procInstBody&&Se(Ie))continue;Ie==="?"?Re.state=Ee.PROC_INST_ENDING:Re.procInstBody+=Ie;continue;case Ee.PROC_INST_ENDING:Ie===">"?(Oe(Re,"onprocessinginstruction",{name:Re.procInstName,body:Re.procInstBody}),Re.procInstName=Re.procInstBody="",Re.state=Ee.TEXT):(Re.procInstBody+="?"+Ie,Re.state=Ee.PROC_INST_BODY);continue;case Ee.OPEN_TAG:we(ge,Ie)?Re.tagName+=Ie:(Qe(Re),Ie===">"?ke(Re):Ie==="/"?Re.state=Ee.OPEN_TAG_SLASH:(Se(Ie)||Ye(Re,"Invalid character in tag name"),Re.state=Ee.ATTRIB));continue;case Ee.OPEN_TAG_SLASH:Ie===">"?(ke(Re,!0),Be(Re)):(Ye(Re,"Forward-slash in opening tag not followed by >"),Re.state=Ee.ATTRIB);continue;case Ee.ATTRIB:if(Se(Ie))continue;Ie===">"?ke(Re):Ie==="/"?Re.state=Ee.OPEN_TAG_SLASH:we(de,Ie)?(Re.attribName=Ie,Re.attribValue="",Re.state=Ee.ATTRIB_NAME):Ye(Re,"Invalid attribute name");continue;case Ee.ATTRIB_NAME:Ie==="="?Re.state=Ee.ATTRIB_VALUE:Ie===">"?(Ye(Re,"Attribute without value"),Re.attribValue=Re.attribName,ze(Re),ke(Re)):Se(Ie)?Re.state=Ee.ATTRIB_NAME_SAW_WHITE:we(ge,Ie)?Re.attribName+=Ie:Ye(Re,"Invalid attribute name");continue;case Ee.ATTRIB_NAME_SAW_WHITE:if(Ie==="=")Re.state=Ee.ATTRIB_VALUE;else{if(Se(Ie))continue;Ye(Re,"Attribute without value"),Re.tag.attributes[Re.attribName]="",Re.attribValue="",Oe(Re,"onattribute",{name:Re.attribName,value:""}),Re.attribName="",Ie===">"?ke(Re):we(de,Ie)?(Re.attribName=Ie,Re.state=Ee.ATTRIB_NAME):(Ye(Re,"Invalid attribute name"),Re.state=Ee.ATTRIB)}continue;case Ee.ATTRIB_VALUE:if(Se(Ie))continue;ye(Ie)?(Re.q=Ie,Re.state=Ee.ATTRIB_VALUE_QUOTED):(Ye(Re,"Unquoted attribute value"),Re.state=Ee.ATTRIB_VALUE_UNQUOTED,Re.attribValue=Ie);continue;case Ee.ATTRIB_VALUE_QUOTED:if(Ie!==Re.q){Ie==="&"?Re.state=Ee.ATTRIB_VALUE_ENTITY_Q:Re.attribValue+=Ie;continue}ze(Re),Re.q="",Re.state=Ee.ATTRIB_VALUE_CLOSED;continue;case Ee.ATTRIB_VALUE_CLOSED:Se(Ie)?Re.state=Ee.ATTRIB:Ie===">"?ke(Re):Ie==="/"?Re.state=Ee.OPEN_TAG_SLASH:we(de,Ie)?(Ye(Re,"No whitespace between attributes"),Re.attribName=Ie,Re.attribValue="",Re.state=Ee.ATTRIB_NAME):Ye(Re,"Invalid attribute name");continue;case Ee.ATTRIB_VALUE_UNQUOTED:if(!Pe(Ie)){Ie==="&"?Re.state=Ee.ATTRIB_VALUE_ENTITY_U:Re.attribValue+=Ie;continue}ze(Re),Ie===">"?ke(Re):Re.state=Ee.ATTRIB;continue;case Ee.CLOSE_TAG:if(Re.tagName)Ie===">"?Be(Re):we(ge,Ie)?Re.tagName+=Ie:Re.script?(Re.script+="</"+Re.tagName,Re.tagName="",Re.state=Ee.SCRIPT):(Se(Ie)||Ye(Re,"Invalid tagname in closing tag"),Re.state=Ee.CLOSE_TAG_SAW_WHITE);else{if(Se(Ie))continue;xe(de,Ie)?Re.script?(Re.script+="</"+Ie,Re.state=Ee.SCRIPT):Ye(Re,"Invalid tagname in closing tag."):Re.tagName=Ie}continue;case Ee.CLOSE_TAG_SAW_WHITE:if(Se(Ie))continue;Ie===">"?Be(Re):Ye(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,Ke;switch(Re.state){case Ee.TEXT_ENTITY:Ze=Ee.TEXT,Ke="textNode";break;case Ee.ATTRIB_VALUE_ENTITY_Q:Ze=Ee.ATTRIB_VALUE_QUOTED,Ke="attribValue";break;case Ee.ATTRIB_VALUE_ENTITY_U:Ze=Ee.ATTRIB_VALUE_UNQUOTED,Ke="attribValue";break}Ie===";"?(Re[Ke]+=qe(Re),Re.entity="",Re.state=Ze):we(Re.entity.length?pe:ve,Ie)?Re.entity+=Ie:(Ye(Re,"Invalid character in entity name"),Re[Ke]+="&"+Re.entity+Ie,Re.entity="",Re.state=Ze);continue;default:throw new Error(Re,"Unknown state: "+Re.state)}return Re.position>=Re.bufferCheckPosition&&ce(Re),Re}String.fromCodePoint||function(){var $e=String.fromCharCode,Re=Math.floor,tt=function(){var Ie=16384,He=[],Ve,Ze,Ke=-1,Ae=arguments.length;if(!Ae)return"";for(var Le="";++Ke<Ae;){var Ne=Number(arguments[Ke]);if(!isFinite(Ne)||Ne<0||Ne>1114111||Re(Ne)!==Ne)throw RangeError("Invalid code point: "+Ne);Ne<=65535?He.push(Ne):(Ne-=65536,Ve=(Ne>>10)+55296,Ze=Ne%1024+56320,He.push(Ve,Ze)),(Ke+1===Ae||He.length>Ie)&&(Le+=$e.apply(null,He),He.length=0)}return Le};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:tt,configurable:!0,writable:!0}):String.fromCodePoint=tt}()})(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,ce){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&&(!ce||ce.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,ue,de){return b.call(this,y(te,ue,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 ce(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"&&ce(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 ce=re(le.prototype),ae=0;ae<ce.length;ae++){var oe=ce[ae];ne.prototype[oe]||(ne.prototype[oe]=le.prototype[oe])}function ne(y){if(!(this instanceof ne))return new ne(y);ie.call(this,y),le.call(this,y),this.allowHalfOpen=!0,y&&(y.readable===!1&&(this.readable=!1),y.writable===!1&&(this.writable=!1),y.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",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,ce){ce(null,ie)}},{"./_stream_transform":403,inherits:364}],402:[function(E,he,fe){(function(se,re){(function(){"use strict";he.exports=Oe;var ie;Oe.ReadableState=Ce;var le=E("events").EventEmitter,ce=function(Ae,Le){return Ae.listeners(Le).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(Ke){return oe.from(Ke)}function a(Ke){return oe.isBuffer(Ke)||Ke 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"),ue=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")(Oe,ae);var xe=ee.errorOrDestroy,Ee=["error","close","destroy","pause","resume"];function Te(Ke,Ae,Le){if(typeof Ke.prependListener=="function")return Ke.prependListener(Ae,Le);!Ke._events||!Ke._events[Ae]?Ke.on(Ae,Le):Array.isArray(Ke._events[Ae])?Ke._events[Ae].unshift(Le):Ke._events[Ae]=[Le,Ke._events[Ae]]}function Ce(Ke,Ae,Le){ie=ie||E("./_stream_duplex"),Ke=Ke||{},typeof Le!="boolean"&&(Le=Ae instanceof ie),this.objectMode=!!Ke.objectMode,Le&&(this.objectMode=this.objectMode||!!Ke.readableObjectMode),this.highWaterMark=ue(this,Ke,"readableHighWaterMark",Le),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=Ke.emitClose!==!1,this.autoDestroy=!!Ke.autoDestroy,this.destroyed=!1,this.defaultEncoding=Ke.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Ke.encoding&&(ye||(ye=E("string_decoder/").StringDecoder),this.decoder=new ye(Ke.encoding),this.encoding=Ke.encoding)}function Oe(Ke){if(ie=ie||E("./_stream_duplex"),!(this instanceof Oe))return new Oe(Ke);var Ae=this instanceof ie;this._readableState=new Ce(Ke,this,Ae),this.readable=!0,Ke&&(typeof Ke.read=="function"&&(this._read=Ke.read),typeof Ke.destroy=="function"&&(this._destroy=Ke.destroy)),ae.call(this)}Object.defineProperty(Oe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ae){this._readableState&&(this._readableState.destroyed=Ae)}}),Oe.prototype.destroy=ee.destroy,Oe.prototype._undestroy=ee.undestroy,Oe.prototype._destroy=function(Ke,Ae){Ae(Ke)},Oe.prototype.push=function(Ke,Ae){var Le=this._readableState,Ne;return Le.objectMode?Ne=!0:typeof Ke=="string"&&(Ae=Ae||Le.defaultEncoding,Ae!==Le.encoding&&(Ke=oe.from(Ke,Ae),Ae=""),Ne=!0),Me(this,Ke,Ae,!1,Ne)},Oe.prototype.unshift=function(Ke){return Me(this,Ke,null,!0,!1)};function Me(Ke,Ae,Le,Ne,Ge){x("readableAddChunk",Ae);var rt=Ke._readableState;if(Ae===null)rt.reading=!1,Xe(Ke,rt);else{var St;if(Ge||(St=je(rt,Ae)),St)xe(Ke,St);else if(rt.objectMode||Ae&&Ae.length>0)if(typeof Ae!="string"&&!rt.objectMode&&Object.getPrototypeOf(Ae)!==oe.prototype&&(Ae=z(Ae)),Ne)rt.endEmitted?xe(Ke,new Se):Ue(Ke,rt,Ae,!0);else if(rt.ended)xe(Ke,new ve);else{if(rt.destroyed)return!1;rt.reading=!1,rt.decoder&&!Le?(Ae=rt.decoder.write(Ae),rt.objectMode||Ae.length!==0?Ue(Ke,rt,Ae,!1):Be(Ke,rt)):Ue(Ke,rt,Ae,!1)}else Ne||(rt.reading=!1,Be(Ke,rt))}return!rt.ended&&(rt.length<rt.highWaterMark||rt.length===0)}function Ue(Ke,Ae,Le,Ne){Ae.flowing&&Ae.length===0&&!Ae.sync?(Ae.awaitDrain=0,Ke.emit("data",Le)):(Ae.length+=Ae.objectMode?1:Le.length,Ne?Ae.buffer.unshift(Le):Ae.buffer.push(Le),Ae.needReadable&&ze(Ke)),Be(Ke,Ae)}function je(Ke,Ae){var Le;return!a(Ae)&&typeof Ae!="string"&&Ae!==void 0&&!Ke.objectMode&&(Le=new ge("chunk",["string","Buffer","Uint8Array"],Ae)),Le}Oe.prototype.isPaused=function(){return this._readableState.flowing===!1},Oe.prototype.setEncoding=function(Ke){ye||(ye=E("string_decoder/").StringDecoder);var Ae=new ye(Ke);this._readableState.decoder=Ae,this._readableState.encoding=this._readableState.decoder.encoding;for(var Le=this._readableState.buffer.head,Ne="";Le!==null;)Ne+=Ae.write(Le.data),Le=Le.next;return this._readableState.buffer.clear(),Ne!==""&&this._readableState.buffer.push(Ne),this._readableState.length=Ne.length,this};var nt=1073741824;function Ye(Ke){return Ke>=nt?Ke=nt:(Ke--,Ke|=Ke>>>1,Ke|=Ke>>>2,Ke|=Ke>>>4,Ke|=Ke>>>8,Ke|=Ke>>>16,Ke++),Ke}function Qe(Ke,Ae){return Ke<=0||Ae.length===0&&Ae.ended?0:Ae.objectMode?1:Ke!==Ke?Ae.flowing&&Ae.length?Ae.buffer.head.data.length:Ae.length:(Ke>Ae.highWaterMark&&(Ae.highWaterMark=Ye(Ke)),Ke<=Ae.length?Ke:Ae.ended?Ae.length:(Ae.needReadable=!0,0))}Oe.prototype.read=function(Ke){x("read",Ke),Ke=parseInt(Ke,10);var Ae=this._readableState,Le=Ke;if(Ke!==0&&(Ae.emittedReadable=!1),Ke===0&&Ae.needReadable&&((Ae.highWaterMark!==0?Ae.length>=Ae.highWaterMark:Ae.length>0)||Ae.ended))return x("read: emitReadable",Ae.length,Ae.ended),Ae.length===0&&Ae.ended?He(this):ze(this),null;if(Ke=Qe(Ke,Ae),Ke===0&&Ae.ended)return Ae.length===0&&He(this),null;var Ne=Ae.needReadable;x("need readable",Ne),(Ae.length===0||Ae.length-Ke<Ae.highWaterMark)&&(Ne=!0,x("length less than watermark",Ne)),Ae.ended||Ae.reading?(Ne=!1,x("reading or ended",Ne)):Ne&&(x("do read"),Ae.reading=!0,Ae.sync=!0,Ae.length===0&&(Ae.needReadable=!0),this._read(Ae.highWaterMark),Ae.sync=!1,Ae.reading||(Ke=Qe(Le,Ae)));var Ge;return Ke>0?Ge=Ie(Ke,Ae):Ge=null,Ge===null?(Ae.needReadable=Ae.length<=Ae.highWaterMark,Ke=0):(Ae.length-=Ke,Ae.awaitDrain=0),Ae.length===0&&(Ae.ended||(Ae.needReadable=!0),Le!==Ke&&Ae.ended&&He(this)),Ge!==null&&this.emit("data",Ge),Ge};function Xe(Ke,Ae){if(x("onEofChunk"),!Ae.ended){if(Ae.decoder){var Le=Ae.decoder.end();Le&&Le.length&&(Ae.buffer.push(Le),Ae.length+=Ae.objectMode?1:Le.length)}Ae.ended=!0,Ae.sync?ze(Ke):(Ae.needReadable=!1,Ae.emittedReadable||(Ae.emittedReadable=!0,ke(Ke)))}}function ze(Ke){var Ae=Ke._readableState;x("emitReadable",Ae.needReadable,Ae.emittedReadable),Ae.needReadable=!1,Ae.emittedReadable||(x("emitReadable",Ae.flowing),Ae.emittedReadable=!0,se.nextTick(ke,Ke))}function ke(Ke){var Ae=Ke._readableState;x("emitReadable_",Ae.destroyed,Ae.length,Ae.ended),!Ae.destroyed&&(Ae.length||Ae.ended)&&(Ke.emit("readable"),Ae.emittedReadable=!1),Ae.needReadable=!Ae.flowing&&!Ae.ended&&Ae.length<=Ae.highWaterMark,tt(Ke)}function Be(Ke,Ae){Ae.readingMore||(Ae.readingMore=!0,se.nextTick(qe,Ke,Ae))}function qe(Ke,Ae){for(;!Ae.reading&&!Ae.ended&&(Ae.length<Ae.highWaterMark||Ae.flowing&&Ae.length===0);){var Le=Ae.length;if(x("maybeReadMore read 0"),Ke.read(0),Le===Ae.length)break}Ae.readingMore=!1}Oe.prototype._read=function(Ke){xe(this,new pe("_read()"))},Oe.prototype.pipe=function(Ke,Ae){var Le=this,Ne=this._readableState;switch(Ne.pipesCount){case 0:Ne.pipes=Ke;break;case 1:Ne.pipes=[Ne.pipes,Ke];break;default:Ne.pipes.push(Ke);break}Ne.pipesCount+=1,x("pipe count=%d opts=%j",Ne.pipesCount,Ae);var Ge=(!Ae||Ae.end!==!1)&&Ke!==se.stdout&&Ke!==se.stderr,rt=Ge?Pt:at;Ne.endEmitted?se.nextTick(rt):Le.once("end",rt),Ke.on("unpipe",St);function St(bt,Ft){x("onunpipe"),bt===Le&&Ft&&Ft.hasUnpiped===!1&&(Ft.hasUnpiped=!0,$t())}function Pt(){x("onend"),Ke.end()}var At=Je(Le);Ke.on("drain",At);var bn=!1;function $t(){x("cleanup"),Ke.removeListener("close",zt),Ke.removeListener("finish",ot),Ke.removeListener("drain",At),Ke.removeListener("error",st),Ke.removeListener("unpipe",St),Le.removeListener("end",Pt),Le.removeListener("end",at),Le.removeListener("data",ft),bn=!0,Ne.awaitDrain&&(!Ke._writableState||Ke._writableState.needDrain)&&At()}Le.on("data",ft);function ft(bt){x("ondata");var Ft=Ke.write(bt);x("dest.write",Ft),Ft===!1&&((Ne.pipesCount===1&&Ne.pipes===Ke||Ne.pipesCount>1&&Ze(Ne.pipes,Ke)!==-1)&&!bn&&(x("false write response, pause",Ne.awaitDrain),Ne.awaitDrain++),Le.pause())}function st(bt){x("onerror",bt),at(),Ke.removeListener("error",st),ce(Ke,"error")===0&&xe(Ke,bt)}Te(Ke,"error",st);function zt(){Ke.removeListener("finish",ot),at()}Ke.once("close",zt);function ot(){x("onfinish"),Ke.removeListener("close",zt),at()}Ke.once("finish",ot);function at(){x("unpipe"),Le.unpipe(Ke)}return Ke.emit("pipe",Le),Ne.flowing||(x("pipe resume"),Le.resume()),Ke};function Je(Ke){return function(){var Le=Ke._readableState;x("pipeOnDrain",Le.awaitDrain),Le.awaitDrain&&Le.awaitDrain--,Le.awaitDrain===0&&ce(Ke,"data")&&(Le.flowing=!0,tt(Ke))}}Oe.prototype.unpipe=function(Ke){var Ae=this._readableState,Le={hasUnpiped:!1};if(Ae.pipesCount===0)return this;if(Ae.pipesCount===1)return Ke&&Ke!==Ae.pipes?this:(Ke||(Ke=Ae.pipes),Ae.pipes=null,Ae.pipesCount=0,Ae.flowing=!1,Ke&&Ke.emit("unpipe",this,Le),this);if(!Ke){var Ne=Ae.pipes,Ge=Ae.pipesCount;Ae.pipes=null,Ae.pipesCount=0,Ae.flowing=!1;for(var rt=0;rt<Ge;rt++)Ne[rt].emit("unpipe",this,{hasUnpiped:!1});return this}var St=Ze(Ae.pipes,Ke);return St===-1?this:(Ae.pipes.splice(St,1),Ae.pipesCount-=1,Ae.pipesCount===1&&(Ae.pipes=Ae.pipes[0]),Ke.emit("unpipe",this,Le),this)},Oe.prototype.on=function(Ke,Ae){var Le=ae.prototype.on.call(this,Ke,Ae),Ne=this._readableState;return Ke==="data"?(Ne.readableListening=this.listenerCount("readable")>0,Ne.flowing!==!1&&this.resume()):Ke==="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?ze(this):Ne.reading||se.nextTick(We,this)),Le},Oe.prototype.addListener=Oe.prototype.on,Oe.prototype.removeListener=function(Ke,Ae){var Le=ae.prototype.removeListener.call(this,Ke,Ae);return Ke==="readable"&&se.nextTick(gt,this),Le},Oe.prototype.removeAllListeners=function(Ke){var Ae=ae.prototype.removeAllListeners.apply(this,arguments);return(Ke==="readable"||Ke===void 0)&&se.nextTick(gt,this),Ae};function gt(Ke){var Ae=Ke._readableState;Ae.readableListening=Ke.listenerCount("readable")>0,Ae.resumeScheduled&&!Ae.paused?Ae.flowing=!0:Ke.listenerCount("data")>0&&Ke.resume()}function We(Ke){x("readable nexttick read 0"),Ke.read(0)}Oe.prototype.resume=function(){var Ke=this._readableState;return Ke.flowing||(x("resume"),Ke.flowing=!Ke.readableListening,$e(this,Ke)),Ke.paused=!1,this};function $e(Ke,Ae){Ae.resumeScheduled||(Ae.resumeScheduled=!0,se.nextTick(Re,Ke,Ae))}function Re(Ke,Ae){x("resume",Ae.reading),Ae.reading||Ke.read(0),Ae.resumeScheduled=!1,Ke.emit("resume"),tt(Ke),Ae.flowing&&!Ae.reading&&Ke.read(0)}Oe.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 tt(Ke){var Ae=Ke._readableState;for(x("flow",Ae.flowing);Ae.flowing&&Ke.read()!==null;);}Oe.prototype.wrap=function(Ke){var Ae=this,Le=this._readableState,Ne=!1;Ke.on("end",function(){if(x("wrapped end"),Le.decoder&&!Le.ended){var St=Le.decoder.end();St&&St.length&&Ae.push(St)}Ae.push(null)}),Ke.on("data",function(St){if(x("wrapped data"),Le.decoder&&(St=Le.decoder.write(St)),!(Le.objectMode&&St==null)&&!(!Le.objectMode&&(!St||!St.length))){var Pt=Ae.push(St);Pt||(Ne=!0,Ke.pause())}});for(var Ge in Ke)this[Ge]===void 0&&typeof Ke[Ge]=="function"&&(this[Ge]=function(Pt){return function(){return Ke[Pt].apply(Ke,arguments)}}(Ge));for(var rt=0;rt<Ee.length;rt++)Ke.on(Ee[rt],this.emit.bind(this,Ee[rt]));return this._read=function(St){x("wrapped _read",St),Ne&&(Ne=!1,Ke.resume())},this},typeof Symbol=="function"&&(Oe.prototype[Symbol.asyncIterator]=function(){return Pe===void 0&&(Pe=E("./internal/streams/async_iterator")),Pe(this)}),Object.defineProperty(Oe.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Oe.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Oe.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ae){this._readableState&&(this._readableState.flowing=Ae)}}),Oe._fromList=Ie,Object.defineProperty(Oe.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ie(Ke,Ae){if(Ae.length===0)return null;var Le;return Ae.objectMode?Le=Ae.buffer.shift():!Ke||Ke>=Ae.length?(Ae.decoder?Le=Ae.buffer.join(""):Ae.buffer.length===1?Le=Ae.buffer.first():Le=Ae.buffer.concat(Ae.length),Ae.buffer.clear()):Le=Ae.buffer.consume(Ke,Ae.decoder),Le}function He(Ke){var Ae=Ke._readableState;x("endReadable",Ae.endEmitted),Ae.endEmitted||(Ae.ended=!0,se.nextTick(Ve,Ae,Ke))}function Ve(Ke,Ae){if(x("endReadableNT",Ke.endEmitted,Ke.length),!Ke.endEmitted&&Ke.length===0&&(Ke.endEmitted=!0,Ae.readable=!1,Ae.emit("end"),Ke.autoDestroy)){var Le=Ae._writableState;(!Le||Le.autoDestroy&&Le.finished)&&Ae.destroy()}}typeof Symbol=="function"&&(Oe.from=function(Ke,Ae){return we===void 0&&(we=E("./internal/streams/from")),we(Oe,Ke,Ae)});function Ze(Ke,Ae){for(var Le=0,Ne=Ke.length;Le<Ne;Le++)if(Ke[Le]===Ae)return Le;return-1}}).call(this)}).call(this,E("_process"),typeof ht!="undefined"?ht: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,ce=se.ERR_TRANSFORM_WITH_LENGTH_0,ae=E("./_stream_duplex");E("inherits")(ne,ae);function oe(y,x){var b=this._transformState;b.transforming=!1;var 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 ce;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(tt,Ie,He){this.chunk=tt,this.encoding=Ie,this.callback=He,this.next=null}function le(tt){var Ie=this;this.next=null,this.entry=null,this.finish=function(){Re(Ie,tt)}}var ce;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(tt){return ne.from(tt)}function y(tt){return ne.isBuffer(tt)||tt instanceof z}var x=E("./internal/streams/destroy"),b=E("./internal/streams/state"),ee=b.getHighWaterMark,te=E("../errors").codes,ue=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 xe(){}function Ee(tt,Ie,He){ce=ce||E("./_stream_duplex"),tt=tt||{},typeof He!="boolean"&&(He=Ie instanceof ce),this.objectMode=!!tt.objectMode,He&&(this.objectMode=this.objectMode||!!tt.writableObjectMode),this.highWaterMark=ee(this,tt,"writableHighWaterMark",He),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ve=tt.decodeStrings===!1;this.decodeStrings=!Ve,this.defaultEncoding=tt.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ze){Xe(Ie,Ze)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=tt.emitClose!==!1,this.autoDestroy=!!tt.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new le(this)}Ee.prototype.getBuffer=function(){for(var Ie=this.bufferedRequest,He=[];Ie;)He.push(Ie),Ie=Ie.next;return He},function(){try{Object.defineProperty(Ee.prototype,"buffer",{get:ae.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(tt){}}();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(Ie){return Te.call(this,Ie)?!0:this!==Ce?!1:Ie&&Ie._writableState instanceof Ee}})):Te=function(Ie){return Ie instanceof this};function Ce(tt){ce=ce||E("./_stream_duplex");var Ie=this instanceof ce;if(!Ie&&!Te.call(Ce,this))return new Ce(tt);this._writableState=new Ee(tt,this,Ie),this.writable=!0,tt&&(typeof tt.write=="function"&&(this._write=tt.write),typeof tt.writev=="function"&&(this._writev=tt.writev),typeof tt.destroy=="function"&&(this._destroy=tt.destroy),typeof tt.final=="function"&&(this._final=tt.final)),oe.call(this)}Ce.prototype.pipe=function(){we(this,new ve)};function Oe(tt,Ie){var He=new ye;we(tt,He),se.nextTick(Ie,He)}function Me(tt,Ie,He,Ve){var Ze;return He===null?Ze=new Se:typeof He!="string"&&!Ie.objectMode&&(Ze=new ue("chunk",["string","Buffer"],He)),Ze?(we(tt,Ze),se.nextTick(Ve,Ze),!1):!0}Ce.prototype.write=function(tt,Ie,He){var Ve=this._writableState,Ze=!1,Ke=!Ve.objectMode&&y(tt);return Ke&&!ne.isBuffer(tt)&&(tt=a(tt)),typeof Ie=="function"&&(He=Ie,Ie=null),Ke?Ie="buffer":Ie||(Ie=Ve.defaultEncoding),typeof He!="function"&&(He=xe),Ve.ending?Oe(this,He):(Ke||Me(this,Ve,tt,He))&&(Ve.pendingcb++,Ze=je(this,Ve,Ke,tt,Ie,He)),Ze},Ce.prototype.cork=function(){this._writableState.corked++},Ce.prototype.uncork=function(){var tt=this._writableState;tt.corked&&(tt.corked--,!tt.writing&&!tt.corked&&!tt.bufferProcessing&&tt.bufferedRequest&&Be(this,tt))},Ce.prototype.setDefaultEncoding=function(Ie){if(typeof Ie=="string"&&(Ie=Ie.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ie+"").toLowerCase())>-1))throw new Pe(Ie);return this._writableState.defaultEncoding=Ie,this},Object.defineProperty(Ce.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ue(tt,Ie,He){return!tt.objectMode&&tt.decodeStrings!==!1&&typeof Ie=="string"&&(Ie=ne.from(Ie,He)),Ie}Object.defineProperty(Ce.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function je(tt,Ie,He,Ve,Ze,Ke){if(!He){var Ae=Ue(Ie,Ve,Ze);Ve!==Ae&&(He=!0,Ze="buffer",Ve=Ae)}var Le=Ie.objectMode?1:Ve.length;Ie.length+=Le;var Ne=Ie.length<Ie.highWaterMark;if(Ne||(Ie.needDrain=!0),Ie.writing||Ie.corked){var Ge=Ie.lastBufferedRequest;Ie.lastBufferedRequest={chunk:Ve,encoding:Ze,isBuf:He,callback:Ke,next:null},Ge?Ge.next=Ie.lastBufferedRequest:Ie.bufferedRequest=Ie.lastBufferedRequest,Ie.bufferedRequestCount+=1}else nt(tt,Ie,!1,Le,Ve,Ze,Ke);return Ne}function nt(tt,Ie,He,Ve,Ze,Ke,Ae){Ie.writelen=Ve,Ie.writecb=Ae,Ie.writing=!0,Ie.sync=!0,Ie.destroyed?Ie.onwrite(new pe("write")):He?tt._writev(Ze,Ie.onwrite):tt._write(Ze,Ke,Ie.onwrite),Ie.sync=!1}function Ye(tt,Ie,He,Ve,Ze){--Ie.pendingcb,He?(se.nextTick(Ze,Ve),se.nextTick(We,tt,Ie),tt._writableState.errorEmitted=!0,we(tt,Ve)):(Ze(Ve),tt._writableState.errorEmitted=!0,we(tt,Ve),We(tt,Ie))}function Qe(tt){tt.writing=!1,tt.writecb=null,tt.length-=tt.writelen,tt.writelen=0}function Xe(tt,Ie){var He=tt._writableState,Ve=He.sync,Ze=He.writecb;if(typeof Ze!="function")throw new ge;if(Qe(He),Ie)Ye(tt,He,Ve,Ie,Ze);else{var Ke=qe(He)||tt.destroyed;!Ke&&!He.corked&&!He.bufferProcessing&&He.bufferedRequest&&Be(tt,He),Ve?se.nextTick(ze,tt,He,Ke,Ze):ze(tt,He,Ke,Ze)}}function ze(tt,Ie,He,Ve){He||ke(tt,Ie),Ie.pendingcb--,Ve(),We(tt,Ie)}function ke(tt,Ie){Ie.length===0&&Ie.needDrain&&(Ie.needDrain=!1,tt.emit("drain"))}function Be(tt,Ie){Ie.bufferProcessing=!0;var He=Ie.bufferedRequest;if(tt._writev&&He&&He.next){var Ve=Ie.bufferedRequestCount,Ze=new Array(Ve),Ke=Ie.corkedRequestsFree;Ke.entry=He;for(var Ae=0,Le=!0;He;)Ze[Ae]=He,He.isBuf||(Le=!1),He=He.next,Ae+=1;Ze.allBuffers=Le,nt(tt,Ie,!0,Ie.length,Ze,"",Ke.finish),Ie.pendingcb++,Ie.lastBufferedRequest=null,Ke.next?(Ie.corkedRequestsFree=Ke.next,Ke.next=null):Ie.corkedRequestsFree=new le(Ie),Ie.bufferedRequestCount=0}else{for(;He;){var Ne=He.chunk,Ge=He.encoding,rt=He.callback,St=Ie.objectMode?1:Ne.length;if(nt(tt,Ie,!1,St,Ne,Ge,rt),He=He.next,Ie.bufferedRequestCount--,Ie.writing)break}He===null&&(Ie.lastBufferedRequest=null)}Ie.bufferedRequest=He,Ie.bufferProcessing=!1}Ce.prototype._write=function(tt,Ie,He){He(new de("_write()"))},Ce.prototype._writev=null,Ce.prototype.end=function(tt,Ie,He){var Ve=this._writableState;return typeof tt=="function"?(He=tt,tt=null,Ie=null):typeof Ie=="function"&&(He=Ie,Ie=null),tt!=null&&this.write(tt,Ie),Ve.corked&&(Ve.corked=1,this.uncork()),Ve.ending||$e(this,Ve,He),this},Object.defineProperty(Ce.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function qe(tt){return tt.ending&&tt.length===0&&tt.bufferedRequest===null&&!tt.finished&&!tt.writing}function Je(tt,Ie){tt._final(function(He){Ie.pendingcb--,He&&we(tt,He),Ie.prefinished=!0,tt.emit("prefinish"),We(tt,Ie)})}function gt(tt,Ie){!Ie.prefinished&&!Ie.finalCalled&&(typeof tt._final=="function"&&!Ie.destroyed?(Ie.pendingcb++,Ie.finalCalled=!0,se.nextTick(Je,tt,Ie)):(Ie.prefinished=!0,tt.emit("prefinish")))}function We(tt,Ie){var He=qe(Ie);if(He&&(gt(tt,Ie),Ie.pendingcb===0&&(Ie.finished=!0,tt.emit("finish"),Ie.autoDestroy))){var Ve=tt._readableState;(!Ve||Ve.autoDestroy&&Ve.endEmitted)&&tt.destroy()}return He}function $e(tt,Ie,He){Ie.ending=!0,We(tt,Ie),He&&(Ie.finished?se.nextTick(He):tt.once("finish",He)),Ie.ended=!0,tt.writable=!1}function Re(tt,Ie,He){var Ve=tt.entry;for(tt.entry=null;Ve;){var Ze=Ve.callback;Ie.pendingcb--,Ze(He),Ve=Ve.next}Ie.corkedRequestsFree.next=tt}Object.defineProperty(Ce.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Ie){this._writableState&&(this._writableState.destroyed=Ie)}}),Ce.prototype.destroy=x.destroy,Ce.prototype._undestroy=x.undestroy,Ce.prototype._destroy=function(tt,Ie){Ie(tt)}}).call(this)}).call(this,E("_process"),typeof ht!="undefined"?ht: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=ce(Se,"string");return typeof ye=="symbol"?ye:String(ye)}function ce(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 ue(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],xe;if(we)xe=new Promise(de(we,this));else{var Ee=this[b].read();if(Ee!==null)return Promise.resolve(ee(Ee,!1));xe=new Promise(this[x])}return this[y]=xe,xe}},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(xe){if(xe){we(xe);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(xe){if(xe&&xe.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Ee=we[ne];Ee!==null&&(we[y]=null,we[oe]=null,we[ne]=null,Ee(xe)),we[z]=xe;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",ue.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,ue){var de=Object.keys(te);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(te);ue&&(ge=ge.filter(function(ve){return Object.getOwnPropertyDescriptor(te,ve).enumerable})),de.push.apply(de,ge)}return de}function re(te){for(var ue=1;ue<arguments.length;ue++){var de=arguments[ue]!=null?arguments[ue]:{};ue%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,ue,de){return ue=oe(ue),ue in te?Object.defineProperty(te,ue,{value:de,enumerable:!0,configurable:!0,writable:!0}):te[ue]=de,te}function le(te,ue){if(!(te instanceof ue))throw new TypeError("Cannot call a class as a function")}function ce(te,ue){for(var de=0;de<ue.length;de++){var ge=ue[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,ue,de){return ue&&ce(te.prototype,ue),de&&ce(te,de),Object.defineProperty(te,"prototype",{writable:!1}),te}function oe(te){var ue=ne(te,"string");return typeof ue=="symbol"?ue:String(ue)}function ne(te,ue){if(typeof te!="object"||te===null)return te;var de=te[Symbol.toPrimitive];if(de!==void 0){var ge=de.call(te,ue||"default");if(typeof ge!="object")return ge;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ue==="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,ue,de){a.prototype.copy.call(te,ue,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 ce(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ae(ne,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:ce,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 ce(ae,oe,ne){if(typeof oe=="function")return ce(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)},ue=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",ue),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",ue),ae.removeListener("close",de)}}he.exports=ce},{"../../../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,ce=ie.ERR_STREAM_DESTROYED;function ae(b){if(b)throw b}function oe(b){return b.setHeader&&typeof b.abort=="function"}function ne(b,ee,te,ue){ue=re(ue);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 ue(ve);de=!0,ue()});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();ue(ve||new ce("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 ue=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),ue(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,ce,ae){return le.highWaterMark!=null?le.highWaterMark:ce?le[ae]:null}function ie(le,ce,ae,oe){var ne=re(ce,oe,ae);if(ne!=null){if(!(isFinite(ne)&&Math.floor(ne)===ne)||ne<0){var 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=ce;function ce(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=ue,this.end=de;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=se.allocUnsafe(ve)}ce.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||""},ce.prototype.end=y,ce.prototype.text=a,ce.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 ue(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,ce=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:ce.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,ce=0;ce<le;ce++)ie[ce]=re[ce];return ie.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,he,fe){(function(se){(function(){he.exports=re;function re(le,ce){if(ie("noDeprecation"))return le;var ae=!1;function oe(){if(!ae){if(ie("throwDeprecation"))throw new Error(ce);ie("traceDeprecation")?console.trace(ce):console.warn(ce),ae=!0}return le.apply(this,arguments)}return oe}function ie(le){try{if(!se.localStorage)return!1}catch(ae){return!1}var ce=se.localStorage[le];return ce==null?!1:String(ce).toLowerCase()==="true"}}).call(this)}).call(this,typeof ht!="undefined"?ht: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 ce(Ge){return Ge.call.bind(Ge)}var ae=typeof BigInt!="undefined",oe=typeof Symbol!="undefined",ne=ce(Object.prototype.toString),z=ce(Number.prototype.valueOf),a=ce(String.prototype.valueOf),y=ce(Boolean.prototype.valueOf);if(ae)var x=ce(BigInt.prototype.valueOf);if(oe)var b=ce(Symbol.prototype.valueOf);function ee(Ge,rt){if(typeof Ge!="object")return!1;try{return rt(Ge),!0}catch(St){return!1}}fe.isArgumentsObject=se,fe.isGeneratorFunction=re,fe.isTypedArray=le;function te(Ge){return typeof Promise!="undefined"&&Ge instanceof Promise||Ge!==null&&typeof Ge=="object"&&typeof Ge.then=="function"&&typeof Ge.catch=="function"}fe.isPromise=te;function ue(Ge){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(Ge):le(Ge)||Be(Ge)}fe.isArrayBufferView=ue;function de(Ge){return ie(Ge)==="Uint8Array"}fe.isUint8Array=de;function ge(Ge){return ie(Ge)==="Uint8ClampedArray"}fe.isUint8ClampedArray=ge;function ve(Ge){return ie(Ge)==="Uint16Array"}fe.isUint16Array=ve;function pe(Ge){return ie(Ge)==="Uint32Array"}fe.isUint32Array=pe;function Se(Ge){return ie(Ge)==="Int8Array"}fe.isInt8Array=Se;function ye(Ge){return ie(Ge)==="Int16Array"}fe.isInt16Array=ye;function Pe(Ge){return ie(Ge)==="Int32Array"}fe.isInt32Array=Pe;function we(Ge){return ie(Ge)==="Float32Array"}fe.isFloat32Array=we;function xe(Ge){return ie(Ge)==="Float64Array"}fe.isFloat64Array=xe;function Ee(Ge){return ie(Ge)==="BigInt64Array"}fe.isBigInt64Array=Ee;function Te(Ge){return ie(Ge)==="BigUint64Array"}fe.isBigUint64Array=Te;function Ce(Ge){return ne(Ge)==="[object Map]"}Ce.working=typeof Map!="undefined"&&Ce(new Map);function Oe(Ge){return typeof Map=="undefined"?!1:Ce.working?Ce(Ge):Ge instanceof Map}fe.isMap=Oe;function Me(Ge){return ne(Ge)==="[object Set]"}Me.working=typeof Set!="undefined"&&Me(new Set);function Ue(Ge){return typeof Set=="undefined"?!1:Me.working?Me(Ge):Ge instanceof Set}fe.isSet=Ue;function je(Ge){return ne(Ge)==="[object WeakMap]"}je.working=typeof WeakMap!="undefined"&&je(new WeakMap);function nt(Ge){return typeof WeakMap=="undefined"?!1:je.working?je(Ge):Ge instanceof WeakMap}fe.isWeakMap=nt;function Ye(Ge){return ne(Ge)==="[object WeakSet]"}Ye.working=typeof WeakSet!="undefined"&&Ye(new WeakSet);function Qe(Ge){return Ye(Ge)}fe.isWeakSet=Qe;function Xe(Ge){return ne(Ge)==="[object ArrayBuffer]"}Xe.working=typeof ArrayBuffer!="undefined"&&Xe(new ArrayBuffer);function ze(Ge){return typeof ArrayBuffer=="undefined"?!1:Xe.working?Xe(Ge):Ge instanceof ArrayBuffer}fe.isArrayBuffer=ze;function ke(Ge){return ne(Ge)==="[object DataView]"}ke.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&ke(new DataView(new ArrayBuffer(1),0,1));function Be(Ge){return typeof DataView=="undefined"?!1:ke.working?ke(Ge):Ge instanceof DataView}fe.isDataView=Be;var qe=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function Je(Ge){return ne(Ge)==="[object SharedArrayBuffer]"}function gt(Ge){return typeof qe=="undefined"?!1:(typeof Je.working=="undefined"&&(Je.working=Je(new qe)),Je.working?Je(Ge):Ge instanceof qe)}fe.isSharedArrayBuffer=gt;function We(Ge){return ne(Ge)==="[object AsyncFunction]"}fe.isAsyncFunction=We;function $e(Ge){return ne(Ge)==="[object Map Iterator]"}fe.isMapIterator=$e;function Re(Ge){return ne(Ge)==="[object Set Iterator]"}fe.isSetIterator=Re;function tt(Ge){return ne(Ge)==="[object Generator]"}fe.isGeneratorObject=tt;function Ie(Ge){return ne(Ge)==="[object WebAssembly.Module]"}fe.isWebAssemblyCompiledModule=Ie;function He(Ge){return ee(Ge,z)}fe.isNumberObject=He;function Ve(Ge){return ee(Ge,a)}fe.isStringObject=Ve;function Ze(Ge){return ee(Ge,y)}fe.isBooleanObject=Ze;function Ke(Ge){return ae&&ee(Ge,x)}fe.isBigIntObject=Ke;function Ae(Ge){return oe&&ee(Ge,b)}fe.isSymbolObject=Ae;function Le(Ge){return He(Ge)||Ve(Ge)||Ze(Ge)||Ke(Ge)||Ae(Ge)}fe.isBoxedPrimitive=Le;function Ne(Ge){return typeof Uint8Array!="undefined"&&(ze(Ge)||gt(Ge))}fe.isAnyArrayBuffer=Ne,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Ge){Object.defineProperty(fe,Ge,{enumerable:!1,value:function(){throw new Error(Ge+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,he,fe){(function(se){(function(){var re=Object.getOwnPropertyDescriptors||function(qe){for(var Je=Object.keys(qe),gt={},We=0;We<Je.length;We++)gt[Je[We]]=Object.getOwnPropertyDescriptor(qe,Je[We]);return gt},ie=/%[sdj%]/g;fe.format=function(Be){if(!ye(Be)){for(var qe=[],Je=0;Je<arguments.length;Je++)qe.push(oe(arguments[Je]));return qe.join(" ")}for(var Je=1,gt=arguments,We=gt.length,$e=String(Be).replace(ie,function(tt){if(tt==="%%")return"%";if(Je>=We)return tt;switch(tt){case"%s":return String(gt[Je++]);case"%d":return Number(gt[Je++]);case"%j":try{return JSON.stringify(gt[Je++])}catch(Ie){return"[Circular]"}default:return tt}}),Re=gt[Je];Je<We;Re=gt[++Je])ve(Re)||!Ee(Re)?$e+=" "+Re:$e+=" "+oe(Re);return $e},fe.deprecate=function(Be,qe){if(typeof se!="undefined"&&se.noDeprecation===!0)return Be;if(typeof se=="undefined")return function(){return fe.deprecate(Be,qe).apply(this,arguments)};var Je=!1;function gt(){if(!Je){if(se.throwDeprecation)throw new Error(qe);se.traceDeprecation?console.trace(qe):console.error(qe),Je=!0}return Be.apply(this,arguments)}return gt};var le={},ce=/^$/;if(se.env.NODE_DEBUG){var ae=se.env.NODE_DEBUG;ae=ae.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ce=new RegExp("^"+ae+"$","i")}fe.debuglog=function(Be){if(Be=Be.toUpperCase(),!le[Be])if(ce.test(Be)){var qe=se.pid;le[Be]=function(){var Je=fe.format.apply(fe,arguments);console.error("%s %d: %s",Be,qe,Je)}}else le[Be]=function(){};return le[Be]};function oe(Be,qe){var Je={seen:[],stylize:z};return arguments.length>=3&&(Je.depth=arguments[2]),arguments.length>=4&&(Je.colors=arguments[3]),ge(qe)?Je.showHidden=qe:qe&&fe._extend(Je,qe),we(Je.showHidden)&&(Je.showHidden=!1),we(Je.depth)&&(Je.depth=2),we(Je.colors)&&(Je.colors=!1),we(Je.customInspect)&&(Je.customInspect=!0),Je.colors&&(Je.stylize=ne),y(Je,Be,Je.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(Be,qe){var Je=oe.styles[qe];return Je?"\x1B["+oe.colors[Je][0]+"m"+Be+"\x1B["+oe.colors[Je][1]+"m":Be}function z(Be,qe){return Be}function a(Be){var qe={};return Be.forEach(function(Je,gt){qe[Je]=!0}),qe}function y(Be,qe,Je){if(Be.customInspect&&qe&&Oe(qe.inspect)&&qe.inspect!==fe.inspect&&!(qe.constructor&&qe.constructor.prototype===qe)){var gt=qe.inspect(Je,Be);return ye(gt)||(gt=y(Be,gt,Je)),gt}var We=x(Be,qe);if(We)return We;var $e=Object.keys(qe),Re=a($e);if(Be.showHidden&&($e=Object.getOwnPropertyNames(qe)),Ce(qe)&&($e.indexOf("message")>=0||$e.indexOf("description")>=0))return b(qe);if($e.length===0){if(Oe(qe)){var tt=qe.name?": "+qe.name:"";return Be.stylize("[Function"+tt+"]","special")}if(xe(qe))return Be.stylize(RegExp.prototype.toString.call(qe),"regexp");if(Te(qe))return Be.stylize(Date.prototype.toString.call(qe),"date");if(Ce(qe))return b(qe)}var Ie="",He=!1,Ve=["{","}"];if(de(qe)&&(He=!0,Ve=["[","]"]),Oe(qe)){var Ze=qe.name?": "+qe.name:"";Ie=" [Function"+Ze+"]"}if(xe(qe)&&(Ie=" "+RegExp.prototype.toString.call(qe)),Te(qe)&&(Ie=" "+Date.prototype.toUTCString.call(qe)),Ce(qe)&&(Ie=" "+b(qe)),$e.length===0&&(!He||qe.length==0))return Ve[0]+Ie+Ve[1];if(Je<0)return xe(qe)?Be.stylize(RegExp.prototype.toString.call(qe),"regexp"):Be.stylize("[Object]","special");Be.seen.push(qe);var Ke;return He?Ke=ee(Be,qe,Je,Re,$e):Ke=$e.map(function(Ae){return te(Be,qe,Je,Re,Ae,He)}),Be.seen.pop(),ue(Ke,Ie,Ve)}function x(Be,qe){if(we(qe))return Be.stylize("undefined","undefined");if(ye(qe)){var Je="'"+JSON.stringify(qe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Be.stylize(Je,"string")}if(Se(qe))return Be.stylize(""+qe,"number");if(ge(qe))return Be.stylize(""+qe,"boolean");if(ve(qe))return Be.stylize("null","null")}function b(Be){return"["+Error.prototype.toString.call(Be)+"]"}function ee(Be,qe,Je,gt,We){for(var $e=[],Re=0,tt=qe.length;Re<tt;++Re)Qe(qe,String(Re))?$e.push(te(Be,qe,Je,gt,String(Re),!0)):$e.push("");return We.forEach(function(Ie){Ie.match(/^\d+$/)||$e.push(te(Be,qe,Je,gt,Ie,!0))}),$e}function te(Be,qe,Je,gt,We,$e){var Re,tt,Ie;if(Ie=Object.getOwnPropertyDescriptor(qe,We)||{value:qe[We]},Ie.get?Ie.set?tt=Be.stylize("[Getter/Setter]","special"):tt=Be.stylize("[Getter]","special"):Ie.set&&(tt=Be.stylize("[Setter]","special")),Qe(gt,We)||(Re="["+We+"]"),tt||(Be.seen.indexOf(Ie.value)<0?(ve(Je)?tt=y(Be,Ie.value,null):tt=y(Be,Ie.value,Je-1),tt.indexOf(`
`)>-1&&($e?tt=tt.split(`
`).map(function(He){return" "+He}).join(`
`).slice(2):tt=`
`+tt.split(`
`).map(function(He){return" "+He}).join(`
`))):tt=Be.stylize("[Circular]","special")),we(Re)){if($e&&We.match(/^\d+$/))return tt;Re=JSON.stringify(""+We),Re.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Re=Re.slice(1,-1),Re=Be.stylize(Re,"name")):(Re=Re.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Re=Be.stylize(Re,"string"))}return Re+": "+tt}function ue(Be,qe,Je){var gt=0,We=Be.reduce(function($e,Re){return gt++,Re.indexOf(`
`)>=0&&gt++,$e+Re.replace(/\u001b\[\d\d?m/g,"").length+1},0);return We>60?Je[0]+(qe===""?"":qe+`
`)+" "+Be.join(`,
`)+" "+Je[1]:Je[0]+qe+" "+Be.join(", ")+" "+Je[1]}fe.types=E("./support/types");function de(Be){return Array.isArray(Be)}fe.isArray=de;function ge(Be){return typeof Be=="boolean"}fe.isBoolean=ge;function ve(Be){return Be===null}fe.isNull=ve;function pe(Be){return Be==null}fe.isNullOrUndefined=pe;function Se(Be){return typeof Be=="number"}fe.isNumber=Se;function ye(Be){return typeof Be=="string"}fe.isString=ye;function Pe(Be){return typeof Be=="symbol"}fe.isSymbol=Pe;function we(Be){return Be===void 0}fe.isUndefined=we;function xe(Be){return Ee(Be)&&Ue(Be)==="[object RegExp]"}fe.isRegExp=xe,fe.types.isRegExp=xe;function Ee(Be){return typeof Be=="object"&&Be!==null}fe.isObject=Ee;function Te(Be){return Ee(Be)&&Ue(Be)==="[object Date]"}fe.isDate=Te,fe.types.isDate=Te;function Ce(Be){return Ee(Be)&&(Ue(Be)==="[object Error]"||Be instanceof Error)}fe.isError=Ce,fe.types.isNativeError=Ce;function Oe(Be){return typeof Be=="function"}fe.isFunction=Oe;function Me(Be){return Be===null||typeof Be=="boolean"||typeof Be=="number"||typeof Be=="string"||typeof Be=="symbol"||typeof Be=="undefined"}fe.isPrimitive=Me,fe.isBuffer=E("./support/isBuffer");function Ue(Be){return Object.prototype.toString.call(Be)}function je(Be){return Be<10?"0"+Be.toString(10):Be.toString(10)}var nt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ye(){var Be=new Date,qe=[je(Be.getHours()),je(Be.getMinutes()),je(Be.getSeconds())].join(":");return[Be.getDate(),nt[Be.getMonth()],qe].join(" ")}fe.log=function(){console.log("%s - %s",Ye(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(Be,qe){if(!qe||!Ee(qe))return Be;for(var Je=Object.keys(qe),gt=Je.length;gt--;)Be[Je[gt]]=qe[Je[gt]];return Be};function Qe(Be,qe){return Object.prototype.hasOwnProperty.call(Be,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 Je=qe[Xe];if(typeof Je!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Je,Xe,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Je}function Je(){for(var gt,We,$e=new Promise(function(Ie,He){gt=Ie,We=He}),Re=[],tt=0;tt<arguments.length;tt++)Re.push(arguments[tt]);Re.push(function(Ie,He){Ie?We(Ie):gt(He)});try{qe.apply(this,Re)}catch(Ie){We(Ie)}return $e}return Object.setPrototypeOf(Je,Object.getPrototypeOf(qe)),Xe&&Object.defineProperty(Je,Xe,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Je,re(qe))},fe.promisify.custom=Xe;function ze(Be,qe){if(!Be){var Je=new Error("Promise was rejected with a falsy value");Je.reason=Be,Be=Je}return qe(Be)}function ke(Be){if(typeof Be!="function")throw new TypeError('The "original" argument must be of type Function');function qe(){for(var Je=[],gt=0;gt<arguments.length;gt++)Je.push(arguments[gt]);var We=Je.pop();if(typeof We!="function")throw new TypeError("The last argument must be of type Function");var $e=this,Re=function(){return We.apply($e,arguments)};Be.apply(this,Je).then(function(tt){se.nextTick(Re.bind(null,null,tt))},function(tt){se.nextTick(ze.bind(null,tt,Re))})}return Object.setPrototypeOf(qe,Object.getPrototypeOf(Be)),Object.defineProperties(qe,re(Be)),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"),ce=E("call-bind/callBound"),ae=E("gopd"),oe=ce("Object.prototype.toString"),ne=E("has-tostringtag/shams")(),z=typeof globalThis=="undefined"?se:globalThis,a=ie(),y=ce("String.prototype.slice"),x=Object.getPrototypeOf,b=ce("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},ue=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:ue(ge)}return ae?te(ge):null}}).call(this)}).call(this,typeof ht!="undefined"?ht: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,ce,ae={}.hasOwnProperty;se=E("xmlbuilder"),re=E("./defaults").defaults,le=function(oe){return typeof oe=="string"&&(oe.indexOf("&")>=0||oe.indexOf(">")>=0||oe.indexOf("<")>=0)},ce=function(oe){return"<![CDATA["+ie(oe)+"]]>"},ie=function(oe){return oe.replace("]]>","]]]]><![CDATA[>")},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,ue){var de,ge,ve,pe,Se,ye;if(typeof ue!="object")ee.options.cdata&&le(ue)?te.raw(ce(ue)):te.txt(ue);else if(Array.isArray(ue)){for(pe in ue)if(ae.call(ue,pe)){ge=ue[pe];for(Se in ge)ve=ge[Se],te=y(te.ele(Se),ve).up()}}else for(Se in ue)if(ae.call(ue,Se))if(ge=ue[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(ce(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(ce(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(ce(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,ce,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 ue(){this.constructor=b}return ue.prototype=ee.prototype,b.prototype=new ue,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,ce=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ae=function(b,ee,te){var ue,de,ge;for(ue=0,de=b.length;ue<de;ue++)ge=b[ue],ee=ge(ee,te);return ee},ie=function(b,ee,te){var ue;return ue=Object.create(null),ue.value=te,ue.writable=!0,ue.enumerable=!0,ue.configurable=!0,Object.defineProperty(b,ee,ue)},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 ue,de,ge;if(!(this instanceof fe.Parser))return new fe.Parser(te);this.options={},de=re["0.2"];for(ue in de)x.call(de,ue)&&(ge=de[ue],this.options[ue]=ge);for(ue in te)x.call(te,ue)&&(ge=te[ue],this.options[ue]=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,ue;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(ue=de,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(ue)}},ee.prototype.assignOrPush=function(te,ue,de){return ue in te?(te[ue]instanceof Array||ie(te,ue,[te[ue]]),te[ue].push(de)):this.options.explicitArray?ie(te,ue,[de]):ie(te,ue,de)},ee.prototype.reset=function(){var te,ue,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,ue=this.options.charkey,this.saxParser.onopentag=function(ve){return function(pe){var Se,ye,Pe,we,xe;if(Pe={},Pe[ue]="",!ve.options.ignoreAttrs){xe=pe.attributes;for(Se in xe)x.call(xe,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,xe,Ee,Te,Ce,Oe;if(xe=ge.pop(),we=xe["#name"],(!ve.options.explicitChildren||!ve.options.preserveChildrenOrder)&&delete xe["#name"],xe.cdata===!0&&(pe=xe.cdata,delete xe.cdata),Ce=ge[ge.length-1],xe[ue].match(/^\s*$/)&&!pe?(Se=xe[ue],delete xe[ue]):(ve.options.trim&&(xe[ue]=xe[ue].trim()),ve.options.normalize&&(xe[ue]=xe[ue].replace(/\s{2,}/g," ").trim()),xe[ue]=ve.options.valueProcessors?ae(ve.options.valueProcessors,xe[ue],we):xe[ue],Object.keys(xe).length===1&&ue in xe&&!ve.EXPLICIT_CHARKEY&&(xe=xe[ue])),ce(xe)&&(typeof ve.options.emptyTag=="function"?xe=ve.options.emptyTag():xe=ve.options.emptyTag!==""?ve.options.emptyTag:Se),ve.options.validator!=null&&(Oe="/"+function(){var Me,Ue,je;for(je=[],Me=0,Ue=ge.length;Me<Ue;Me++)Pe=ge[Me],je.push(Pe["#name"]);return je}().concat(we).join("/"),function(){var Me;try{return xe=ve.options.validator(Oe,Ce&&Ce[we],xe)}catch(Ue){return Me=Ue,ve.emit("error",Me)}}()),ve.options.explicitChildren&&!ve.options.mergeAttrs&&typeof xe=="object"){if(!ve.options.preserveChildrenOrder)Pe={},ve.options.attrkey in xe&&(Pe[ve.options.attrkey]=xe[ve.options.attrkey],delete xe[ve.options.attrkey]),!ve.options.charsAsChildren&&ve.options.charkey in xe&&(Pe[ve.options.charkey]=xe[ve.options.charkey],delete xe[ve.options.charkey]),Object.getOwnPropertyNames(xe).length>0&&(Pe[ve.options.childkey]=xe),xe=Pe;else if(Ce){Ce[ve.options.childkey]=Ce[ve.options.childkey]||[],Ee={};for(ye in xe)x.call(xe,ye)&&ie(Ee,ye,xe[ye]);Ce[ve.options.childkey].push(Ee),delete xe["#name"],Object.keys(xe).length===1&&ue in xe&&!ve.EXPLICIT_CHARKEY&&(xe=xe[ue])}}return ge.length>0?ve.assignOrPush(Ce,we,xe):(ve.options.explicitRoot&&(Te=xe,xe={},ie(xe,we,Te)),ve.resultObject=xe,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[ue]+=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[ue]=pe,ve.options.normalize&&(Se[ue]=Se[ue].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,ue){var de;ue!=null&&typeof ue=="function"&&(this.on("end",function(ge){return this.reset(),ue(null,ge)}),this.on("error",function(ge){return this.reset(),ue(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(ue){return function(de,ge){return ue.parseString(te,function(ve,pe){return ve?ge(ve):de(pe)})}}(this))},ee}(le),fe.parseString=function(b,ee,te){var ue,de,ge;return te!=null?(typeof te=="function"&&(ue=te),typeof ee=="object"&&(de=ee)):(typeof ee=="function"&&(ue=ee),de={}),ge=new fe.Parser(de),ge.parseString(b,ue)},fe.parseStringPromise=function(b,ee){var te,ue;return typeof ee=="object"&&(te=ee),ue=new fe.Parser(te),ue.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,ce=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){ce(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,ce,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):[],ce(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},ce=function(a){return!!a&&Object.prototype.toString.call(a)==="[object Function]"},ae=function(a){var y;return!!a&&((y=typeof a)=="function"||y==="object")},ie=function(a){return ce(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},le=function(a){var y;if(ie(a))return!a.length;for(y in a)if(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 ce(a.valueOf)?a.valueOf():a},he.exports.assign=se,he.exports.isFunction=ce,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(ce,ae,oe){if(this.parent=ce,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),ae==null)throw new Error("Missing attribute name. "+this.debugInfo(ae));this.name=this.stringify.name(ae),this.value=this.stringify.attValue(oe),this.type=se.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(le.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(le.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(le.prototype,"textContent",{get:function(){return this.value},set:function(ce){return this.value=ce||""}}),Object.defineProperty(le.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(le.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(le.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(le.prototype,"specified",{get:function(){return!0}}),le.prototype.clone=function(){return Object.create(this)},le.prototype.toString=function(ce){return this.options.writer.attribute(this,this.options.writer.filterOptions(ce))},le.prototype.debugInfo=function(ce){return ce=ce||this.name,ce==null?"parent: <"+this.parent.name+">":"attribute: {"+ce+"}, parent: <"+this.parent.name+">"},le.prototype.isEqualNode=function(ce){return!(ce.namespaceURI!==this.namespaceURI||ce.prefix!==this.prefix||ce.localName!==this.localName||ce.value!==this.value)},le}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,he,fe){(function(){var se,re,ie,le=function(ae,oe){for(var ne in oe)ce.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},ce={}.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(ce,ae){for(var oe in ae)le.call(ae,oe)&&(ce[oe]=ae[oe]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;re=E("./XMLNode"),he.exports=se=function(ce){ie(ae,ce);function ae(oe){ae.__super__.constructor.call(this,oe),this.value=""}return Object.defineProperty(ae.prototype,"data",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),Object.defineProperty(ae.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ae.prototype,"textContent",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),ae.prototype.clone=function(){return Object.create(this)},ae.prototype.substringData=function(oe,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.appendData=function(oe){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.insertData=function(oe,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.deleteData=function(oe,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.replaceData=function(oe,ne,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)ce.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},ce={}.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 ce;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new re,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=ce=Object.create(this.defaultParams)}return Object.defineProperty(le.prototype,"parameterNames",{get:function(){return new ie(Object.keys(this.defaultParams))}}),le.prototype.getParameter=function(ce){return this.params.hasOwnProperty(ce)?this.params[ce]:null},le.prototype.canSetParameter=function(ce,ae){return!0},le.prototype.setParameter=function(ce,ae){return ae!=null?this.params[ce]=ae:delete this.params[ce]},le}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,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,ce){throw new Error("This DOM method is not implemented.")},re.prototype.createDocument=function(ie,le,ce){throw new Error("This DOM method is not implemented.")},re.prototype.createHTMLDocument=function(ie){throw new Error("This DOM method is not implemented.")},re.prototype.getFeature=function(ie,le){throw new Error("This DOM method is not implemented.")},re}()}).call(this)},{}],438:[function(E,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)ce.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},ce={}.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)ce.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},ce={}.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,ce=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){ce(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)ce.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},ce={}.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,ce=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){ce(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,ce,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"),ce=E("./XMLDTDNotation"),oe=E("./XMLNamedNodeMap"),he.exports=ae=function(x){a(b,x);function b(ee,te,ue){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,ue=Se.sysID),ue==null&&(ye=[te,ue],ue=ye[0],te=ye[1]),te!=null&&(this.pubID=this.stringify.dtdPubID(te)),ue!=null&&(this.sysID=this.stringify.dtdSysID(ue))}return Object.defineProperty(b.prototype,"entities",{get:function(){var ee,te,ue,de,ge;for(de={},ge=this.children,te=0,ue=ge.length;te<ue;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,ue,de,ge;for(de={},ge=this.children,te=0,ue=ge.length;te<ue;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 ue;return ue=new ie(this,ee,te),this.children.push(ue),this},b.prototype.attList=function(ee,te,ue,de,ge){var ve;return ve=new re(this,ee,te,ue,de,ge),this.children.push(ve),this},b.prototype.entity=function(ee,te){var ue;return ue=new le(this,!1,ee,te),this.children.push(ue),this},b.prototype.pEntity=function(ee,te){var ue;return ue=new le(this,!0,ee,te),this.children.push(ue),this},b.prototype.notation=function(ee,te){var ue;return ue=new ce(this,ee,te),this.children.push(ue),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,ue,de,ge){return this.attList(ee,te,ue,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,ce,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"),ce=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,ue;for(ue=this.children,ee=0,te=ue.length;ee<te;ee++)if(b=ue[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}(ce)}).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,ce,ae,oe,ne,z,a,y,x,b,ee,te,ue,de,ge,ve,pe,Se,ye,Pe,we,xe={}.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"),ce=E("./XMLComment"),ue=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,Oe){var Me;this.name="?xml",this.type=se.Document,Te||(Te={}),Me={},Te.writer?Pe(Te.writer)&&(Me=Te.writer,Te.writer=new de):Te.writer=new de,this.options=Te,this.writer=Te.writer,this.writerOptions=this.writer.filterOptions(Me),this.stringify=new ge(Te),this.onDataCallback=Ce||function(){},this.onEndCallback=Oe||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,Oe,Me,Ue,je,nt,Ye,Qe;switch(Te.type){case se.CData:this.cdata(Te.value);break;case se.Comment:this.comment(Te.value);break;case se.Element:Me={},Ye=Te.attribs;for(Oe in Ye)xe.call(Ye,Oe)&&(Ce=Ye[Oe],Me[Oe]=Ce.value);this.node(Te.name,Me);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,nt=Qe.length;je<nt;je++)Ue=Qe[je],this.createChildNode(Ue),Ue.type===se.Element&&this.up();return this},Ee.prototype.dummy=function(){return this},Ee.prototype.node=function(Te,Ce,Oe){var Me;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)||(Me=[Ce,Oe],Oe=Me[0],Ce=Me[1]),this.currentNode=new ee(this,Te,Ce),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Oe!=null&&this.text(Oe),this},Ee.prototype.element=function(Te,Ce,Oe){var Me,Ue,je,nt,Ye,Qe;if(this.currentNode&&this.currentNode.type===se.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Te)||ye(Te)||Se(Te))for(nt=this.options.noValidation,this.options.noValidation=!0,Qe=new x(this.options).element("TEMP_ROOT"),Qe.element(Te),this.options.noValidation=nt,Ye=Qe.children,Ue=0,je=Ye.length;Ue<je;Ue++)Me=Ye[Ue],this.createChildNode(Me),Me.type===se.Element&&this.up();else this.node(Te,Ce,Oe);return this},Ee.prototype.attribute=function(Te,Ce){var Oe,Me;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(Te));if(Te!=null&&(Te=pe(Te)),ye(Te))for(Oe in Te)xe.call(Te,Oe)&&(Me=Te[Oe],this.attribute(Oe,Me));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 ce(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 ue(this,Te),this.onData(this.writer.raw(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.instruction=function(Te,Ce){var Oe,Me,Ue,je,nt;if(this.openCurrent(),Te!=null&&(Te=pe(Te)),Ce!=null&&(Ce=pe(Ce)),Array.isArray(Te))for(Oe=0,je=Te.length;Oe<je;Oe++)Me=Te[Oe],this.instruction(Me);else if(ye(Te))for(Me in Te)xe.call(Te,Me)&&(Ue=Te[Me],this.instruction(Me,Ue));else Se(Ce)&&(Ce=Ce.apply()),nt=new te(this,Te,Ce),this.onData(this.writer.processingInstruction(nt,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},Ee.prototype.declaration=function(Te,Ce,Oe){var Me;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Me=new a(this,Te,Ce,Oe),this.onData(this.writer.declaration(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.doctype=function(Te,Ce,Oe){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,Oe),this.currentNode.rootNodeName=Te,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},Ee.prototype.dtdElement=function(Te,Ce){var Oe;return this.openCurrent(),Oe=new oe(this,Te,Ce),this.onData(this.writer.dtdElement(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.attList=function(Te,Ce,Oe,Me,Ue){var je;return this.openCurrent(),je=new ae(this,Te,Ce,Oe,Me,Ue),this.onData(this.writer.dtdAttList(je,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.entity=function(Te,Ce){var Oe;return this.openCurrent(),Oe=new ne(this,!1,Te,Ce),this.onData(this.writer.dtdEntity(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.pEntity=function(Te,Ce){var Oe;return this.openCurrent(),Oe=new ne(this,!0,Te,Ce),this.onData(this.writer.dtdEntity(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.notation=function(Te,Ce){var Oe;return this.openCurrent(),Oe=new z(this,Te,Ce),this.onData(this.writer.dtdNotation(Oe,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,Oe,Me,Ue;if(!Te.isOpen){if(!this.root&&this.currentLevel===0&&Te.type===se.Element&&(this.root=Te),Oe="",Te.type===se.Element){this.writerOptions.state=re.OpenTag,Oe=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"<"+Te.name,Ue=Te.attribs;for(Me in Ue)xe.call(Ue,Me)&&(Ce=Ue[Me],Oe+=this.writer.attribute(Ce,this.writerOptions,this.currentLevel));Oe+=(Te.children?">":"/>")+this.writer.endline(Te,this.writerOptions,this.currentLevel),this.writerOptions.state=re.InsideTag}else this.writerOptions.state=re.OpenTag,Oe=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Te.rootNodeName,Te.pubID&&Te.sysID?Oe+=' PUBLIC "'+Te.pubID+'" "'+Te.sysID+'"':Te.sysID&&(Oe+=' SYSTEM "'+Te.sysID+'"'),Te.children?(Oe+=" [",this.writerOptions.state=re.InsideTag):(this.writerOptions.state=re.CloseTag,Oe+=">"),Oe+=this.writer.endline(Te,this.writerOptions,this.currentLevel);return this.onData(Oe,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,Oe){return this.node(Te,Ce,Oe)},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,Oe){return this.declaration(Te,Ce,Oe)},Ee.prototype.dtd=function(Te,Ce,Oe){return this.doctype(Te,Ce,Oe)},Ee.prototype.e=function(Te,Ce,Oe){return this.element(Te,Ce,Oe)},Ee.prototype.n=function(Te,Ce,Oe){return this.node(Te,Ce,Oe)},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)ce.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},ce={}.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,ce,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,ce=E("./XMLNode"),se=E("./NodeType"),re=E("./XMLAttribute"),le=E("./XMLNamedNodeMap"),he.exports=ie=function(x){a(b,x);function b(ee,te,ue){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,ue!=null&&this.attribute(ue),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,ue,de;ue=Object.create(this),ue.isRoot&&(ue.documentObject=null),ue.attribs={},de=this.attribs;for(te in de)y.call(de,te)&&(ee=de[te],ue.attribs[te]=ee.clone());return ue.children=[],this.children.forEach(function(ge){var ve;return ve=ge.clone(),ve.parent=ue,ue.children.push(ve)}),ue},b.prototype.attribute=function(ee,te){var ue,de;if(ee!=null&&(ee=ae(ee)),ne(ee))for(ue in ee)y.call(ee,ue)&&(de=ee[ue],this.attribute(ue,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,ue,de;if(ee==null)throw new Error("Missing attribute name. "+this.debugInfo());if(ee=ae(ee),Array.isArray(ee))for(ue=0,de=ee.length;ue<de;ue++)te=ee[ue],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,ue){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,ue){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,ue,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=ue=0,de=this.attribs.length-1;0<=de?ue<=de:ue>=de;te=0<=de?++ue:--ue)if(!this.attribs[te].isEqualNode(ee.attribs[te]))return!1;return!0},b}(ce)}).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,ce,ae,oe,ne,z,a,y,x,b,ee,te,ue,de,ge,ve,pe={}.hasOwnProperty;ve=E("./Utility"),ge=ve.isObject,de=ve.isFunction,ue=ve.isEmpty,te=ve.getValue,ne=null,ie=null,le=null,ce=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"),ce=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,xe,Ee;if(this.nodeType===re.Element||this.nodeType===re.DocumentFragment){for(Ee="",xe=this.children,Pe=0,we=xe.length;Pe<we;Pe++)ye=xe[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,xe,Ee,Te;for(this.parent=ye,ye&&(this.options=ye.options,this.stringify=ye.stringify),Ee=this.children,Te=[],we=0,xe=Ee.length;we<xe;we++)Pe=Ee[we],Te.push(Pe.setParent(this));return Te},Se.prototype.element=function(ye,Pe,we){var xe,Ee,Te,Ce,Oe,Me,Ue,je,nt,Ye,Qe;if(Me=null,Pe===null&&we==null&&(nt=[{},null],Pe=nt[0],we=nt[1]),Pe==null&&(Pe={}),Pe=te(Pe),ge(Pe)||(Ye=[Pe,we],we=Ye[0],Pe=Ye[1]),ye!=null&&(ye=te(ye)),Array.isArray(ye))for(Te=0,Ue=ye.length;Te<Ue;Te++)Ee=ye[Te],Me=this.element(Ee);else if(de(ye))Me=this.element(ye.apply());else if(ge(ye)){for(Oe in ye)if(pe.call(ye,Oe))if(Qe=ye[Oe],de(Qe)&&(Qe=Qe.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Oe.indexOf(this.stringify.convertAttKey)===0)Me=this.attribute(Oe.substr(this.stringify.convertAttKey.length),Qe);else if(!this.options.separateArrayItems&&Array.isArray(Qe)&&ue(Qe))Me=this.dummy();else if(ge(Qe)&&ue(Qe))Me=this.element(Oe);else if(!this.options.keepNullNodes&&Qe==null)Me=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(Qe))for(Ce=0,je=Qe.length;Ce<je;Ce++)Ee=Qe[Ce],xe={},xe[Oe]=Ee,Me=this.element(xe);else ge(Qe)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Oe.indexOf(this.stringify.convertTextKey)===0?Me=this.element(Qe):(Me=this.element(Oe),Me.element(Qe)):Me=this.element(Oe,Qe)}else!this.options.keepNullNodes&&we===null?Me=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&ye.indexOf(this.stringify.convertTextKey)===0?Me=this.text(we):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&ye.indexOf(this.stringify.convertCDataKey)===0?Me=this.cdata(we):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&ye.indexOf(this.stringify.convertCommentKey)===0?Me=this.comment(we):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&ye.indexOf(this.stringify.convertRawKey)===0?Me=this.raw(we):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&ye.indexOf(this.stringify.convertPIKey)===0?Me=this.instruction(ye.substr(this.stringify.convertPIKey.length),we):Me=this.node(ye,Pe,we);if(Me==null)throw new Error("Could not create any elements with: "+ye+". "+this.debugInfo());return Me},Se.prototype.insertBefore=function(ye,Pe,we){var xe,Ee,Te,Ce,Oe;if(ye!=null&&ye.type)return Te=ye,Ce=Pe,Te.setParent(this),Ce?(Ee=children.indexOf(Ce),Oe=children.splice(Ee),children.push(Te),Array.prototype.push.apply(children,Oe)):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),Oe=this.parent.children.splice(Ee),xe=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,Oe),xe},Se.prototype.insertAfter=function(ye,Pe,we){var xe,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),xe=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,Te),xe},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 xe,Ee;return ye!=null&&(ye=te(ye)),Pe||(Pe={}),Pe=te(Pe),ge(Pe)||(Ee=[Pe,we],we=Ee[0],Pe=Ee[1]),xe=new ne(this,ye,Pe),we!=null&&xe.text(we),this.children.push(xe),xe},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,xe;return we=this.parent.children.indexOf(this),xe=this.parent.children.splice(we),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,xe),this},Se.prototype.commentAfter=function(ye){var Pe,we,xe;return we=this.parent.children.indexOf(this),xe=this.parent.children.splice(we+1),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,xe),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,xe,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)&&(xe=ye[we],this.instruction(we,xe));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,xe,Ee;return xe=this.parent.children.indexOf(this),Ee=this.parent.children.splice(xe),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,Ee),this},Se.prototype.instructionAfter=function(ye,Pe){var we,xe,Ee;return xe=this.parent.children.indexOf(this),Ee=this.parent.children.splice(xe+1),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,Ee),this},Se.prototype.declaration=function(ye,Pe,we){var xe,Ee;return xe=this.document(),Ee=new ce(xe,ye,Pe,we),xe.children.length===0?xe.children.unshift(Ee):xe.children[0].type===re.Declaration?xe.children[0]=Ee:xe.children.unshift(Ee),xe.root()||xe},Se.prototype.dtd=function(ye,Pe){var we,xe,Ee,Te,Ce,Oe,Me,Ue,je,nt;for(xe=this.document(),Ee=new ae(xe,ye,Pe),je=xe.children,Te=Ce=0,Me=je.length;Ce<Me;Te=++Ce)if(we=je[Te],we.type===re.DocType)return xe.children[Te]=Ee,Ee;for(nt=xe.children,Te=Oe=0,Ue=nt.length;Oe<Ue;Te=++Oe)if(we=nt[Te],we.isRoot)return xe.children.splice(Te,0,Ee),Ee;return xe.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,xe;if(ye.nodeType!==this.nodeType||ye.children.length!==this.children.length)return!1;for(Pe=we=0,xe=this.children.length-1;0<=xe?we<=xe:we>=xe;Pe=0<=xe?++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,xe,Ee,Te;for(Te=this.children,xe=0,Ee=Te.length;xe<Ee;xe++)if(Pe=Te[xe],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(xe){if(we++,!Pe&&xe===ye)return Pe=!0}),Pe?we:-1},Se.prototype.foreachTreeNode=function(ye,Pe){var we,xe,Ee,Te,Ce;for(ye||(ye=this.document()),Te=ye.children,xe=0,Ee=Te.length;xe<Ee;xe++){if(we=Te[xe],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)ce.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},ce={}.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)ce.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},ce={}.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,ce=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){ce(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,ue,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,ue=ge.length;ee<ue;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,ue,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,ue=0,de=Se.length;ue<de;ue++)b=Se[ue],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(ce,ae){for(var oe in ae)le.call(ae,oe)&&(ce[oe]=ae[oe]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},le={}.hasOwnProperty;re=E("./XMLWriterBase"),he.exports=se=function(ce){ie(ae,ce);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,ce){return function(){return le.apply(ce,arguments)}},ie={}.hasOwnProperty;he.exports=se=function(){function le(ce){this.assertLegalName=re(this.assertLegalName,this),this.assertLegalChar=re(this.assertLegalChar,this);var ae,oe,ne;ce||(ce={}),this.options=ce,this.options.version||(this.options.version="1.0"),oe=ce.stringify||{};for(ae in oe)ie.call(oe,ae)&&(ne=oe[ae],this[ae]=ne)}return le.prototype.name=function(ce){return this.options.noValidation?ce:this.assertLegalName(""+ce||"")},le.prototype.text=function(ce){return this.options.noValidation?ce:this.assertLegalChar(this.textEscape(""+ce||""))},le.prototype.cdata=function(ce){return this.options.noValidation?ce:(ce=""+ce||"",ce=ce.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(ce))},le.prototype.comment=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",ce.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+ce);return this.assertLegalChar(ce)},le.prototype.raw=function(ce){return this.options.noValidation?ce:""+ce||""},le.prototype.attValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(this.attEscape(ce=""+ce||""))},le.prototype.insTarget=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.insValue=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",ce.match(/\?>/))throw new Error("Invalid processing instruction value: "+ce);return this.assertLegalChar(ce)},le.prototype.xmlVersion=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",!ce.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+ce);return ce},le.prototype.xmlEncoding=function(ce){if(this.options.noValidation)return ce;if(ce=""+ce||"",!ce.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+ce);return this.assertLegalChar(ce)},le.prototype.xmlStandalone=function(ce){return this.options.noValidation?ce:ce?"yes":"no"},le.prototype.dtdPubID=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdSysID=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdElementValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdAttType=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdAttDefault=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdEntityValue=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.dtdNData=function(ce){return this.options.noValidation?ce:this.assertLegalChar(""+ce||"")},le.prototype.convertAttKey="@",le.prototype.convertPIKey="?",le.prototype.convertTextKey="#text",le.prototype.convertCDataKey="#cdata",le.prototype.convertCommentKey="#comment",le.prototype.convertRawKey="#raw",le.prototype.assertLegalChar=function(ce){var ae,oe;if(this.options.noValidation)return ce;if(ae="",this.options.version==="1.0"){if(ae=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ce.match(ae))throw new Error("Invalid character in string: "+ce+" at index "+oe.index)}else if(this.options.version==="1.1"&&(ae=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ce.match(ae)))throw new Error("Invalid character in string: "+ce+" at index "+oe.index);return ce},le.prototype.assertLegalName=function(ce){var ae;if(this.options.noValidation)return ce;if(this.assertLegalChar(ce),ae=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!ce.match(ae))throw new Error("Invalid character in name");return ce},le.prototype.textEscape=function(ce){var ae;return this.options.noValidation?ce:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ce.replace(ae,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},le.prototype.attEscape=function(ce){var ae;return this.options.noValidation?ce:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ce.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)ce.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},ce={}.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,ce,ae,oe,ne,z,a,y,x,b,ee,te,ue,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"),ce=E("./XMLDTDAttList"),ae=E("./XMLDTDElement"),oe=E("./XMLDTDEntity"),ne=E("./XMLDTDNotation"),re=E("./WriterState"),he.exports=ue=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,xe,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=(xe=(Ee=pe.dontPrettyTextNodes)!=null?Ee:pe.dontprettytextnodes)!=null?xe: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,xe,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,xe=Te.length;we<xe;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,xe,Ee,Te,Ce,Oe,Me,Ue,je,nt,Ye,Qe,Xe;ye||(ye=0),je=!1,nt="",this.openNode(pe,Se,ye),Se.state=re.OpenTag,nt+=this.indent(pe,Se,ye)+"<"+pe.name,Ye=pe.attribs;for(Ue in Ye)ge.call(Ye,Ue)&&(Pe=Ye[Ue],nt+=this.attribute(Pe,Se,ye));if(xe=pe.children.length,Ee=xe===0?null:pe.children[0],xe===0||pe.children.every(function(ze){return(ze.type===se.Text||ze.type===se.Raw)&&ze.value===""}))Se.allowEmpty?(nt+=">",Se.state=re.CloseTag,nt+="</"+pe.name+">"+this.endline(pe,Se,ye)):(Se.state=re.CloseTag,nt+=Se.spaceBeforeSlash+"/>"+this.endline(pe,Se,ye));else if(Se.pretty&&xe===1&&(Ee.type===se.Text||Ee.type===se.Raw)&&Ee.value!=null)nt+=">",Se.state=re.InsideTag,Se.suppressPrettyCount++,je=!0,nt+=this.writeChildNode(Ee,Se,ye+1),Se.suppressPrettyCount--,je=!1,Se.state=re.CloseTag,nt+="</"+pe.name+">"+this.endline(pe,Se,ye);else{if(Se.dontPrettyTextNodes){for(Qe=pe.children,Te=0,Oe=Qe.length;Te<Oe;Te++)if(we=Qe[Te],(we.type===se.Text||we.type===se.Raw)&&we.value!=null){Se.suppressPrettyCount++,je=!0;break}}for(nt+=">"+this.endline(pe,Se,ye),Se.state=re.InsideTag,Xe=pe.children,Ce=0,Me=Xe.length;Ce<Me;Ce++)we=Xe[Ce],nt+=this.writeChildNode(we,Se,ye+1);Se.state=re.CloseTag,nt+=this.indent(pe,Se,ye)+"</"+pe.name+">",je&&Se.suppressPrettyCount--,nt+=this.endline(pe,Se,ye),Se.state=re.None}return this.closeNode(pe,Se,ye),nt},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,ce,ae,oe,ne,z,a;a=E("./Utility"),ne=a.assign,z=a.isFunction,ie=E("./XMLDOMImplementation"),le=E("./XMLDocument"),ce=E("./XMLDocumentCB"),oe=E("./XMLStringWriter"),ae=E("./XMLStreamWriter"),se=E("./NodeType"),re=E("./WriterState"),he.exports.create=function(y,x,b,ee){var te,ue;if(y==null)throw new Error("Root element needs a name.");return ee=ne({},x,b,ee),te=new le(ee),ue=te.element(y),ee.headless||(te.declaration(ee),(ee.pubID!=null||ee.sysID!=null)&&te.dtd(ee)),ue},he.exports.begin=function(y,x,b){var ee;return z(y)&&(ee=[y,x],x=ee[0],b=ee[1],y={}),x?new ce(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 ce=arguments[le];for(var ae in ce)se.call(ce,ae)&&(ie[ae]=ce[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},ce=64,ae=se.alloc(ce);ae.fill(0);function oe(a,y,x){se.isBuffer(y)||(y=se.from(y)),se.isBuffer(x)||(x=se.from(x)),y.length>ce?y=a(y):y.length<ce&&(y=se.concat([y,ae],ce));for(var b=se.alloc(ce),ee=se.alloc(ce),te=0;te<ce;te++)b[te]=y[te]^54,ee[te]=y[te]^92;var ue=a(se.concat([b,x]));return a(se.concat([ee,ue]))}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(ue){return se.isBuffer(ue)||(ue=se.from(ue)),b.push(ue),ee+=ue.length,this},digest:function(ue){var de=se.concat(b),ge=y?oe(x,y,de):x(de);return b=null,ue?ge.toString(ue):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 ce(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(ce(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,ue=271733878,de=0;de<y.length;de+=16){var ge=b,ve=ee,pe=te,Se=ue;b=ce(b,ee,te,ue,y[de+0],7,-680876936),ue=ce(ue,b,ee,te,y[de+1],12,-389564586),te=ce(te,ue,b,ee,y[de+2],17,606105819),ee=ce(ee,te,ue,b,y[de+3],22,-1044525330),b=ce(b,ee,te,ue,y[de+4],7,-176418897),ue=ce(ue,b,ee,te,y[de+5],12,1200080426),te=ce(te,ue,b,ee,y[de+6],17,-1473231341),ee=ce(ee,te,ue,b,y[de+7],22,-45705983),b=ce(b,ee,te,ue,y[de+8],7,1770035416),ue=ce(ue,b,ee,te,y[de+9],12,-1958414417),te=ce(te,ue,b,ee,y[de+10],17,-42063),ee=ce(ee,te,ue,b,y[de+11],22,-1990404162),b=ce(b,ee,te,ue,y[de+12],7,1804603682),ue=ce(ue,b,ee,te,y[de+13],12,-40341101),te=ce(te,ue,b,ee,y[de+14],17,-1502002290),ee=ce(ee,te,ue,b,y[de+15],22,1236535329),b=ae(b,ee,te,ue,y[de+1],5,-165796510),ue=ae(ue,b,ee,te,y[de+6],9,-1069501632),te=ae(te,ue,b,ee,y[de+11],14,643717713),ee=ae(ee,te,ue,b,y[de+0],20,-373897302),b=ae(b,ee,te,ue,y[de+5],5,-701558691),ue=ae(ue,b,ee,te,y[de+10],9,38016083),te=ae(te,ue,b,ee,y[de+15],14,-660478335),ee=ae(ee,te,ue,b,y[de+4],20,-405537848),b=ae(b,ee,te,ue,y[de+9],5,568446438),ue=ae(ue,b,ee,te,y[de+14],9,-1019803690),te=ae(te,ue,b,ee,y[de+3],14,-187363961),ee=ae(ee,te,ue,b,y[de+8],20,1163531501),b=ae(b,ee,te,ue,y[de+13],5,-1444681467),ue=ae(ue,b,ee,te,y[de+2],9,-51403784),te=ae(te,ue,b,ee,y[de+7],14,1735328473),ee=ae(ee,te,ue,b,y[de+12],20,-1926607734),b=oe(b,ee,te,ue,y[de+5],4,-378558),ue=oe(ue,b,ee,te,y[de+8],11,-2022574463),te=oe(te,ue,b,ee,y[de+11],16,1839030562),ee=oe(ee,te,ue,b,y[de+14],23,-35309556),b=oe(b,ee,te,ue,y[de+1],4,-1530992060),ue=oe(ue,b,ee,te,y[de+4],11,1272893353),te=oe(te,ue,b,ee,y[de+7],16,-155497632),ee=oe(ee,te,ue,b,y[de+10],23,-1094730640),b=oe(b,ee,te,ue,y[de+13],4,681279174),ue=oe(ue,b,ee,te,y[de+0],11,-358537222),te=oe(te,ue,b,ee,y[de+3],16,-722521979),ee=oe(ee,te,ue,b,y[de+6],23,76029189),b=oe(b,ee,te,ue,y[de+9],4,-640364487),ue=oe(ue,b,ee,te,y[de+12],11,-421815835),te=oe(te,ue,b,ee,y[de+15],16,530742520),ee=oe(ee,te,ue,b,y[de+2],23,-995338651),b=ne(b,ee,te,ue,y[de+0],6,-198630844),ue=ne(ue,b,ee,te,y[de+7],10,1126891415),te=ne(te,ue,b,ee,y[de+14],15,-1416354905),ee=ne(ee,te,ue,b,y[de+5],21,-57434055),b=ne(b,ee,te,ue,y[de+12],6,1700485571),ue=ne(ue,b,ee,te,y[de+3],10,-1894986606),te=ne(te,ue,b,ee,y[de+10],15,-1051523),ee=ne(ee,te,ue,b,y[de+1],21,-2054922799),b=ne(b,ee,te,ue,y[de+8],6,1873313359),ue=ne(ue,b,ee,te,y[de+15],10,-30611744),te=ne(te,ue,b,ee,y[de+6],15,-1560198380),ee=ne(ee,te,ue,b,y[de+13],21,1309151649),b=ne(b,ee,te,ue,y[de+4],6,-145523070),ue=ne(ue,b,ee,te,y[de+11],10,-1120210379),te=ne(te,ue,b,ee,y[de+2],15,718787259),ee=ne(ee,te,ue,b,y[de+9],21,-343485551),b=z(b,ge),ee=z(ee,ve),te=z(te,pe),ue=z(ue,Se)}return Array(b,ee,te,ue)}function le(y,x,b,ee,te,ue){return z(a(z(z(x,y),z(ee,ue)),te),b)}function ce(y,x,b,ee,te,ue,de){return le(x&b|~x&ee,y,x,te,ue,de)}function ae(y,x,b,ee,te,ue,de){return le(x&ee|b&~ee,y,x,te,ue,de)}function oe(y,x,b,ee,te,ue,de){return le(x^b^ee,y,x,te,ue,de)}function ne(y,x,b,ee,te,ue,de){return le(b^(x|~ee),y,x,te,ue,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 ue=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=ce(ce(ae(a,5),ie(Se,y,x,b)),ce(ce(ee,z[Se]),le(Se)));ee=b,b=x,x=ae(y,30),y=a,a=ye}a=ce(a,ue),y=ce(y,de),x=ce(x,ge),b=ce(b,ve),ee=ce(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 ce(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"),ce=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 ce}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"),ce=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=ce,oe.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof ht!="undefined"?ht: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 ce=typeof se.ArrayBuffer!="undefined",ae=ce&&oe(se.ArrayBuffer.prototype.slice);fe.arraybuffer=fe.fetch||ce&&le("arraybuffer"),fe.msstream=!fe.fetch&&ae&&le("ms-stream"),fe.mozchunkedarraybuffer=!fe.fetch&&ce&&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 ht!="undefined"?ht: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"),ce=E("inherits"),ae=E("./response"),oe=E("readable-stream"),ne=E("to-arraybuffer"),z=ae.IncomingMessage,a=ae.readyStates;function y(te,ue){return le.fetch&&ue?"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 ue=this;oe.Writable.call(ue),ue._opts=te,ue._body=[],ue._headers={},te.auth&&ue.setHeader("Authorization","Basic "+new ie(te.auth).toString("base64")),Object.keys(te.headers).forEach(function(ve){ue.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");ue._mode=y(de,ge),ue._fetchTimer=null,ue.on("finish",function(){ue._onFinish()})};ce(x,oe.Writable),x.prototype.setHeader=function(te,ue){var de=this,ge=te.toLowerCase();ee.indexOf(ge)===-1&&(de._headers[ge]={name:te,value:ue})},x.prototype.getHeader=function(te){var ue=this._headers[te.toLowerCase()];return ue?ue.value:null},x.prototype.removeHeader=function(te){var ue=this;delete ue._headers[te.toLowerCase()]},x.prototype._onFinish=function(){var te=this;if(!te._destroyed){var ue=te._opts,de=te._headers,ge=null;ue.method!=="GET"&&ue.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 xe=de[we].name,Ee=de[we].value;Array.isArray(Ee)?Ee.forEach(function(Te){ve.push([xe,Te])}):ve.push([xe,Ee])}),te._mode==="fetch"){var pe=null,Se=null;if(le.abortController){var ye=new AbortController;pe=ye.signal,te._fetchAbortController=ye,"requestTimeout"in ue&&ue.requestTimeout!==0&&(te._fetchTimer=re.setTimeout(function(){te.emit("requestTimeout"),te._fetchAbortController&&te._fetchAbortController.abort()},ue.requestTimeout))}re.fetch(te._opts.url,{method:te._opts.method,headers:ve,body:ge||void 0,mode:"cors",credentials:ue.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=!!ue.withCredentials),te._mode==="text"&&"overrideMimeType"in Pe&&Pe.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ue&&(Pe.timeout=ue.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 ue=te.status;return ue!==null&&ue!==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(ue){te.emit("error",ue)}),te.emit("response",te._response))},x.prototype._write=function(te,ue,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,ue,de){var ge=this;typeof te=="function"&&(de=te,te=void 0),oe.Writable.prototype.end.call(ge,te,ue,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 ht!="undefined"?ht: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"),ce=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(){ue.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 ue=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")}}};ce(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(ue){}if(y!==null){z.push(new ie(y));break}case"text":try{y=a.responseText}catch(ue){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 ht!="undefined"?ht: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=ce;function ce(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ae=/^([a-z0-9.+-]+:)/i,oe=/:[0-9]*$/,ne=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,z=["<",">",'"',"`"," ","\r",`
`," "],a=["{","}","|","\\","^","`"].concat(z),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],ee=255,te=/^[+a-z0-9A-Z_-]{0,63}$/,ue=/^([+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(xe,Ee,Te){if(xe&&le.isObject(xe)&&xe instanceof ce)return xe;var Ce=new ce;return Ce.parse(xe,Ee,Te),Ce}ce.prototype.parse=function(xe,Ee,Te){if(!le.isString(xe))throw new TypeError("Parameter 'url' must be a string, not "+(0,re.default)(xe));var Ce=xe.indexOf("?"),Oe=Ce!==-1&&Ce<xe.indexOf("#")?"?":"#",Me=xe.split(Oe),Ue=/\\/g;Me[0]=Me[0].replace(Ue,"/"),xe=Me.join(Oe);var je=xe;if(je=je.trim(),!Te&&xe.split("#").length===1){var nt=ne.exec(je);if(nt)return this.path=je,this.href=je,this.pathname=nt[1],nt[2]?(this.search=nt[2],Ee?this.query=pe.parse(this.search.substr(1)):this.query=this.search.substr(1)):Ee&&(this.search="",this.query={}),this}var Ye=ae.exec(je);if(Ye){Ye=Ye[0];var Qe=Ye.toLowerCase();this.protocol=Qe,je=je.substr(Ye.length)}if(Te||Ye||je.match(/^\/\/[^@\/]+@[^@\/]+/)){var Xe=je.substr(0,2)==="//";Xe&&!(Ye&&ge[Ye])&&(je=je.substr(2),this.slashes=!0)}if(!ge[Ye]&&(Xe||Ye&&!ve[Ye])){for(var ze=-1,ke=0;ke<b.length;ke++){var Be=je.indexOf(b[ke]);Be!==-1&&(ze===-1||Be<ze)&&(ze=Be)}var qe,Je;ze===-1?Je=je.lastIndexOf("@"):Je=je.lastIndexOf("@",ze),Je!==-1&&(qe=je.slice(0,Je),je=je.slice(Je+1),this.auth=decodeURIComponent(qe)),ze=-1;for(var ke=0;ke<x.length;ke++){var Be=je.indexOf(x[ke]);Be!==-1&&(ze===-1||Be<ze)&&(ze=Be)}ze===-1&&(ze=je.length),this.host=je.slice(0,ze),je=je.slice(ze),this.parseHost(),this.hostname=this.hostname||"";var gt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!gt)for(var We=this.hostname.split("."),ke=0,$e=We.length;ke<$e;ke++){var Re=We[ke];if(Re&&!Re.match(te)){for(var tt="",Ie=0,He=Re.length;Ie<He;Ie++)Re.charCodeAt(Ie)>127?tt+="x":tt+=Re[Ie];if(!tt.match(te)){var Ve=We.slice(0,ke),Ze=We.slice(ke+1),Ke=Re.match(ue);Ke&&(Ve.push(Ke[1]),Ze.unshift(Ke[2])),Ze.length&&(je="/"+Ze.join(".")+je),this.hostname=Ve.join(".");break}}}this.hostname.length>ee?this.hostname="":this.hostname=this.hostname.toLowerCase(),gt||(this.hostname=ie.toASCII(this.hostname));var Ae=this.port?":"+this.port:"",Le=this.hostname||"";this.host=Le+Ae,this.href+=this.host,gt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),je[0]!=="/"&&(je="/"+je))}if(!de[Qe])for(var ke=0,$e=y.length;ke<$e;ke++){var Ne=y[ke];if(je.indexOf(Ne)!==-1){var Ge=encodeURIComponent(Ne);Ge===Ne&&(Ge=escape(Ne)),je=je.split(Ne).join(Ge)}}var rt=je.indexOf("#");rt!==-1&&(this.hash=je.substr(rt),je=je.slice(0,rt));var St=je.indexOf("?");if(St!==-1?(this.search=je.substr(St),this.query=je.substr(St+1),Ee&&(this.query=pe.parse(this.query)),je=je.slice(0,St)):Ee&&(this.search="",this.query={}),je&&(this.pathname=je),ve[Qe]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Ae=this.pathname||"",Pt=this.search||"";this.path=Ae+Pt}return this.href=this.format(),this};function ye(xe){return le.isString(xe)&&(xe=Se(xe)),xe instanceof ce?xe.format():ce.prototype.format.call(xe)}ce.prototype.format=function(){var xe=this.auth||"";xe&&(xe=encodeURIComponent(xe),xe=xe.replace(/%3A/i,":"),xe+="@");var Ee=this.protocol||"",Te=this.pathname||"",Ce=this.hash||"",Oe=!1,Me="";this.host?Oe=xe+this.host:this.hostname&&(Oe=xe+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Oe+=":"+this.port)),this.query&&le.isObject(this.query)&&Object.keys(this.query).length&&(Me=pe.stringify(this.query));var Ue=this.search||Me&&"?"+Me||"";return Ee&&Ee.substr(-1)!==":"&&(Ee+=":"),this.slashes||(!Ee||ve[Ee])&&Oe!==!1?(Oe="//"+(Oe||""),Te&&Te.charAt(0)!=="/"&&(Te="/"+Te)):Oe||(Oe=""),Ce&&Ce.charAt(0)!=="#"&&(Ce="#"+Ce),Ue&&Ue.charAt(0)!=="?"&&(Ue="?"+Ue),Te=Te.replace(/[?#]/g,function(je){return encodeURIComponent(je)}),Ue=Ue.replace("#","%23"),Ee+Oe+Te+Ue+Ce};function Pe(xe,Ee){return Se(xe,!1,!0).resolve(Ee)}ce.prototype.resolve=function(xe){return this.resolveObject(Se(xe,!1,!0)).format()};function we(xe,Ee){return xe?Se(xe,!1,!0).resolveObject(Ee):Ee}ce.prototype.resolveObject=function(xe){if(le.isString(xe)){var Ee=new ce;Ee.parse(xe,!1,!0),xe=Ee}for(var Te=new ce,Ce=Object.keys(this),Oe=0;Oe<Ce.length;Oe++){var Me=Ce[Oe];Te[Me]=this[Me]}if(Te.hash=xe.hash,xe.href==="")return Te.href=Te.format(),Te;if(xe.slashes&&!xe.protocol){for(var Ue=Object.keys(xe),je=0;je<Ue.length;je++){var nt=Ue[je];nt!=="protocol"&&(Te[nt]=xe[nt])}return ve[Te.protocol]&&Te.hostname&&!Te.pathname&&(Te.path=Te.pathname="/"),Te.href=Te.format(),Te}if(xe.protocol&&xe.protocol!==Te.protocol){if(!ve[xe.protocol]){for(var Ye=Object.keys(xe),Qe=0;Qe<Ye.length;Qe++){var Xe=Ye[Qe];Te[Xe]=xe[Xe]}return Te.href=Te.format(),Te}if(Te.protocol=xe.protocol,!xe.host&&!ge[xe.protocol]){for(var $e=(xe.pathname||"").split("/");$e.length&&!(xe.host=$e.shift()););xe.host||(xe.host=""),xe.hostname||(xe.hostname=""),$e[0]!==""&&$e.unshift(""),$e.length<2&&$e.unshift(""),Te.pathname=$e.join("/")}else Te.pathname=xe.pathname;if(Te.search=xe.search,Te.query=xe.query,Te.host=xe.host||"",Te.auth=xe.auth,Te.hostname=xe.hostname||xe.host,Te.port=xe.port,Te.pathname||Te.search){var ze=Te.pathname||"",ke=Te.search||"";Te.path=ze+ke}return Te.slashes=Te.slashes||xe.slashes,Te.href=Te.format(),Te}var Be=Te.pathname&&Te.pathname.charAt(0)==="/",qe=xe.host||xe.pathname&&xe.pathname.charAt(0)==="/",Je=qe||Be||Te.host&&xe.pathname,gt=Je,We=Te.pathname&&Te.pathname.split("/")||[],$e=xe.pathname&&xe.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="",xe.protocol&&(xe.hostname=null,xe.port=null,xe.host&&($e[0]===""?$e[0]=xe.host:$e.unshift(xe.host)),xe.host=null),Je=Je&&($e[0]===""||We[0]==="")),qe)Te.host=xe.host||xe.host===""?xe.host:Te.host,Te.hostname=xe.hostname||xe.hostname===""?xe.hostname:Te.hostname,Te.search=xe.search,Te.query=xe.query,We=$e;else if($e.length)We||(We=[]),We.pop(),We=We.concat($e),Te.search=xe.search,Te.query=xe.query;else if(!le.isNullOrUndefined(xe.search)){if(Re){Te.hostname=Te.host=We.shift();var tt=Te.host&&Te.host.indexOf("@")>0?Te.host.split("@"):!1;tt&&(Te.auth=tt.shift(),Te.host=Te.hostname=tt.shift())}return Te.search=xe.search,Te.query=xe.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 Ie=We.slice(-1)[0],He=(Te.host||xe.host||We.length>1)&&(Ie==="."||Ie==="..")||Ie==="",Ve=0,Ze=We.length;Ze>=0;Ze--)Ie=We[Ze],Ie==="."?We.splice(Ze,1):Ie===".."?(We.splice(Ze,1),Ve++):Ve&&(We.splice(Ze,1),Ve--);if(!Je&&!gt)for(;Ve--;Ve)We.unshift("..");Je&&We[0]!==""&&(!We[0]||We[0].charAt(0)!=="/")&&We.unshift(""),He&&We.join("/").substr(-1)!=="/"&&We.push("");var Ke=We[0]===""||We[0]&&We[0].charAt(0)==="/";if(Re){Te.hostname=Te.host=Ke?"":We.length?We.shift():"";var tt=Te.host&&Te.host.indexOf("@")>0?Te.host.split("@"):!1;tt&&(Te.auth=tt.shift(),Te.host=Te.hostname=tt.shift())}return Je=Je||Te.host&&We.length,Je&&!Ke&&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=xe.auth||Te.auth,Te.slashes=Te.slashes||xe.slashes,Te.href=Te.format(),Te},ce.prototype.parseHost=function(){var xe=this.host,Ee=oe.exec(xe);Ee&&(Ee=Ee[0],Ee!==":"&&(this.port=Ee.substr(1)),xe=xe.substr(0,xe.length-Ee.length)),xe&&(this.hostname=xe)}},{"./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 ce=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 ue(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,ue(ye,Pe))})},fe.requestWithCallback=function(ve,pe,Se){if(!ve||typeof ve!="string"&&(0,le.default)(ve)!=="object"){var ye=ce.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 xe=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,Oe=oe,Me=ee(pe.agent,fe.agent),Ue=pe.fixJSONCtlChars;Ee.protocol==="https:"&&(Oe=ne,Me=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:Me,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 nt=pe.auth||Ee.auth;nt&&(je.auth=nt);var Ye=pe.content||pe.data,Qe=Te==="GET"||Te==="HEAD"||pe.dataAsQueryString;if(!pe.content&&Ye&&!(typeof Ye=="string"||re.isBuffer(Ye)))if(Qe)Ye=pe.nestedQuerystring?qs.stringify(Ye):querystring.stringify(Ye);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"?Ye=JSON.stringify(Ye):Ye=pe.nestedQuerystring?qs.stringify(Ye):querystring.stringify(Ye)}Qe&&Ye&&(je.path+=(Ee.query?"&":"?")+Ye,Ye=null);var ze=0;if(Ye){var ke=Ye.length;re.isBuffer(Ye)||(ke=re.byteLength(Ye)),ze=je.headers["Content-Length"]=ke}pe.dataType==="json"&&(je.headers.Accept="application/json"),typeof pe.beforeRequest=="function"&&pe.beforeRequest(je);var Be=null,qe=null,Je=null,gt=!1,We=!1,$e=0,Re=-1,tt=!1,Ie="",He="",Ve=null;pe.timing&&(Ve={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ze(){Be&&(clearTimeout(Be),Be=null)}function Ke(){qe&&(clearTimeout(qe),qe=null)}function Ae(st,zt,ot){if(Ke(),!Se){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Pe,se.pid,je.method,ve),st&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),Pe,se.pid,st.name,st.message,st.stack);return}var at=Se;Se=null;var bt={};ot&&(Re=ot.statusCode,bt=ot.headers);var Ft=Date.now()-xe;Ve&&(Ve.contentDownload=Ft),z("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Ft,$e,Re,je.method,je.host,je.path,We,Ve);var kt={status:Re,statusCode:Re,headers:bt,size:$e,aborted:tt,rt:Ft,keepAliveSocket:We,data:zt,requestUrls:pe.requestUrls,timing:Ve,remoteAddress:Ie,remotePort:He};if(st){var un="";Me&&typeof Me.getCurrentStatus=="function"&&(un=", agent status: "+JSON.stringify(Me.getCurrentStatus())),st.message+=", "+je.method+" "+ve+" "+Re+" (connected: "+gt+", keepalive socket: "+We+un+`)
headers: `+JSON.stringify(bt),st.data=zt,st.path=je.path,st.status=Re,st.headers=bt,st.res=kt}at(st,zt,pe.streaming?ot:kt),pe.emitter&&(we.url=ve,we.socket=$t&&$t.connection,we.options=je,we.size=ze,pe.emitter.emit("response",{requestId:Pe,error:st,ctx:pe.ctx,req:we,res:kt}))}function Le(st){var zt=null;if(pe.followRedirect&&statuses.redirect[st.statusCode]){pe._followRedirectCount=(pe._followRedirectCount||0)+1;var ot=st.headers.location;if(!ot)zt=new Error("Got statusCode "+st.statusCode+" but cannot resolve next location from headers"),zt.name="FollowRedirectError";else if(pe._followRedirectCount>pe.maxRedirects)zt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),zt.name="MaxRedirectError";else{var at=pe.formatRedirectUrl?pe.formatRedirectUrl(ve,ot):ae.resolve(ve,ot);z("Request#%d %s: `redirected` from %s to %s",Pe,je.path,ve,at),Ke(),pe.headers&&pe.headers.Host&&b.test(ot)&&(pe.headers.Host=null);var bt=Se;return Se=null,fe.requestWithCallback(at,pe,bt),{redirect:!0,error:null}}}return{redirect:!1,error:zt}}pe.gzip&&!je.headers["Accept-Encoding"]&&!je.headers["accept-encoding"]&&(je.headers["Accept-Encoding"]="gzip");function Ne(st,zt,ot){var at=st.headers["content-encoding"];return ot(null,zt,at)}var Ge=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 rt(st){if(Ve&&(Ve.waiting=Date.now()-xe),z("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,ve,st.statusCode,st.headers),pe.streaming){var zt=Le(st);if(zt.redirect){st.resume();return}return zt.error?(st.resume(),Ae(zt.error,null,st)):Ae(null,null,st)}if(st.on("close",function(){z("Request#%d %s: `res close` event emit, total size %d",Pe,ve,$e)}),st.on("error",function(){z("Request#%d %s: `res error` event emit, total size %d",Pe,ve,$e)}),st.on("aborted",function(){tt=!0,z("Request#%d %s: `res aborted` event emit, total size %d",Pe,ve,$e)}),Ge){var ot=Le(st);if(ot.redirect){st.resume();return}return ot.error?(st.resume(),Ge.end(),Ae(ot.error,null,st)):(pe.consumeWriteStream===!1?st.on("end",Ae.bind(null,null,null,st)):Ge.on("close",function(){z("Request#%d %s: writeStream close event emitted",Pe,ve),Ae(Je||null,null,st)}),st.pipe(Ge))}var at=[];st.on("data",function(bt){z("Request#%d %s: `res data` event emit, size %d",Pe,ve,bt.length),$e+=bt.length,at.push(bt)}),st.on("end",function(){var bt=re.concat(at,$e);if(z("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,ve,$e,st._dumped),Je)return Ae(Je,bt,st);var Ft=Le(st);if(Ft.error)return Ae(Ft.error,bt,st);Ft.redirect||Ne(st,bt,function(kt,un,fn){if(kt)return Ae(kt,bt,st);if(!fn&&de.indexOf(pe.dataType)>=0){try{un=decodeBodyByCharset(un,st)}catch(An){return z("decodeBodyByCharset error: %s",An),Ae(null,un,st)}if(pe.dataType==="json")if($e===0)un=null;else{var vn=parseJSON(un,Ue);vn.error?kt=vn.error:un=vn.data}}tt&&z("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,ve),Ae(kt,un,st)})})}var St,Pt;Array.isArray(pe.timeout)?(St=a(pe.timeout[0]),Pt=a(pe.timeout[1])):St=Pt=a(pe.timeout),z("ConnectTimeout: %d, ResponseTimeout: %d",St,Pt);function At(){z("Connect timer ticking, timeout: %d",St),Be=setTimeout(function(){Be=null,Re===-1&&(Re=-2);var st="Connect timeout for "+St+"ms",zt="ConnectionTimeoutError";$t.socket||(zt="SocketAssignTimeoutError",st+=", working sockets is full"),Je=new Error(st),Je.name=zt,Je.requestId=Pe,z("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,ve,Je.name,st,gt),ft()},St)}function bn(){z("Response timer ticking, timeout: %d",Pt),qe=setTimeout(function(){qe=null;var st="Response timeout for "+Pt+"ms",zt="ResponseTimeoutError";Je=new Error(st),Je.name=zt,Je.requestId=Pe,z("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,ve,Je.name,st,gt),ft()},Pt)}var $t;je.mode=pe.mode?pe.mode:"";try{$t=Oe.request(je,rt)}catch(st){return Ae(st)}typeof window=="undefined"?At():$t.on("requestTimeout",function(){Re===-1&&(Re=-2);var st="Connect timeout for "+St+"ms",zt="ConnectionTimeoutError";Je=new Error(st),Je.name=zt,Je.requestId=Pe,ft()});function ft(){z("Request#%d %s abort, connected: %s",Pe,ve,gt),$t.socket||(Je.noSocket=!0,Ae(Je)),$t.abort()}return Ve&&$t.on("finish",function(){Ve.requestSent=Date.now()-xe}),$t.once("socket",function(st){Ve&&(Ve.queuing=Date.now()-xe);var zt=st.readyState;if(zt==="opening"){st.once("lookup",function(ot,at,bt){z("Request#%d %s lookup: %s, %s, %s",Pe,ve,ot,at,bt),Ve&&(Ve.dnslookup=Date.now()-xe),at&&(Ie=at)}),st.once("connect",function(){Ve&&(Ve.connected=Date.now()-xe),Ze(),bn(),z("Request#%d %s new socket connected",Pe,ve),gt=!0,Ie||(Ie=st.remoteAddress),He=st.remotePort});return}z("Request#%d %s reuse socket connected, readyState: %s",Pe,ve,zt),gt=!0,We=!0,Ie||(Ie=st.remoteAddress),He=st.remotePort,Ze(),bn()}),$t.on("error",function(st){(st.name==="Error"||st.name==="TypeError")&&(st.name=gt?"ResponseError":"RequestError"),st.message+=' (req "error")',z("Request#%d %s `req error` event emit, %s: %s",Pe,ve,st.name,st.message),Ae(Je||st)}),Ge&&Ge.once("error",function(st){st.message+=' (writeStream "error")',Je=st,z("Request#%d %s `writeStream error` event emit, %s: %s",Pe,ve,st.name,st.message),ft()}),pe.stream?(pe.stream.pipe($t),pe.stream.once("error",function(st){st.message+=' (stream "error")',Je=st,z("Request#%d %s `readStream error` event emit, %s: %s",Pe,ve,st.name,st.message),ft()})):$t.end(Ye),$t.requestId=Pe,$t}}).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(Tt,ht){"use strict";function me(){const be=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let _e=1;_e<arguments.length;_e++){const E=_e<0||arguments.length<=_e?void 0:arguments[_e];E&&Object.keys(E).forEach(he=>{const fe=E[he];fe!==void 0&&(be[he]=fe)})}return be}ht.Z=me},81643:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return be}});const be=_e=>_e?typeof _e=="function"?_e():_e:null},66367:function(Tt,ht,me){"use strict";me.d(ht,{F:function(){return be},Z:function(){return _e}});function be(E){return E!=null&&E===E.window}function _e(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(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return _e}});var be=me(67294);function _e(){const[,E]=be.useReducer(he=>he+1,0);return E}},58375:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return he}});var be=me(96523);function _e(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,ce=re(),ae=(0,E.Z)(ce,!0),oe=Date.now(),ne=()=>{const a=Date.now()-oe,y=_e(a>le?le:a,ae,fe,le);(0,E.F)(ce)?ce.scrollTo(window.pageXOffset,y):ce instanceof Document||ce.constructor.name==="HTMLDocument"?ce.documentElement.scrollTop=y:ce.scrollTop=y,a<le?(0,be.Z)(ne):typeof ie=="function"&&ie()};(0,be.Z)(ne)}},84567:function(Tt,ht,me){"use strict";me.d(ht,{default:function(){return ve}});var be=me(94184),_e=me.n(be),E=me(95860),he=me(67294),fe=me(53124),se=me(98866),re=me(65223),le=he.createContext(null),ce=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:xe,children:Ee,indeterminate:Te=!1,style:Ce,onMouseEnter:Oe,onMouseLeave:Me,skipGroup:Ue=!1,disabled:je}=pe,nt=ne(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ye,direction:Qe,checkbox:Xe}=he.useContext(fe.E_),ze=he.useContext(le),{isFormItemInput:ke}=he.useContext(re.aM),Be=he.useContext(se.Z),qe=(ye=(ze==null?void 0:ze.disabled)||je)!==null&&ye!==void 0?ye:Be,Je=he.useRef(nt.value);he.useEffect(()=>{ze==null||ze.registerValue(nt.value)},[]),he.useEffect(()=>{if(!Ue)return nt.value!==Je.current&&(ze==null||ze.cancelValue(Je.current),ze==null||ze.registerValue(nt.value),Je.current=nt.value),()=>ze==null?void 0:ze.cancelValue(nt.value)},[nt.value]);const gt=Ye("checkbox",Pe),[We,$e]=(0,ce.ZP)(gt),Re=Object.assign({},nt);ze&&!Ue&&(Re.onChange=function(){nt.onChange&&nt.onChange.apply(nt,arguments),ze.toggleOption&&ze.toggleOption({label:Ee,value:nt.value})},Re.name=ze.name,Re.checked=ze.value.includes(nt.value));const tt=_e()(`${gt}-wrapper`,{[`${gt}-rtl`]:Qe==="rtl",[`${gt}-wrapper-checked`]:Re.checked,[`${gt}-wrapper-disabled`]:qe,[`${gt}-wrapper-in-form-item`]:ke},Xe==null?void 0:Xe.className,we,xe,$e),Ie=_e()({[`${gt}-indeterminate`]:Te},oe.A,$e),He=Te?"mixed":void 0;return We(he.createElement(ae.Z,{component:"Checkbox",disabled:qe},he.createElement("label",{className:tt,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Ce),onMouseEnter:Oe,onMouseLeave:Me},he.createElement(E.Z,Object.assign({"aria-checked":He},Re,{prefixCls:gt,className:Ie,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:xe,className:Ee,rootClassName:Te,style:Ce,onChange:Oe}=pe,Me=ee(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ue,direction:je}=he.useContext(fe.E_),[nt,Ye]=he.useState(Me.value||ye||[]),[Qe,Xe]=he.useState([]);he.useEffect(()=>{"value"in Me&&Ye(Me.value||[])},[Me.value]);const ze=he.useMemo(()=>we.map(Ve=>typeof Ve=="string"||typeof Ve=="number"?{label:Ve,value:Ve}:Ve),[we]),ke=Ve=>{Xe(Ze=>Ze.filter(Ke=>Ke!==Ve))},Be=Ve=>{Xe(Ze=>[].concat((0,x.Z)(Ze),[Ve]))},qe=Ve=>{const Ze=nt.indexOf(Ve.value),Ke=(0,x.Z)(nt);Ze===-1?Ke.push(Ve.value):Ke.splice(Ze,1),"value"in Me||Ye(Ke),Oe==null||Oe(Ke.filter(Ae=>Qe.includes(Ae)).sort((Ae,Le)=>{const Ne=ze.findIndex(rt=>rt.value===Ae),Ge=ze.findIndex(rt=>rt.value===Le);return Ne-Ge}))},Je=Ue("checkbox",xe),gt=`${Je}-group`,[We,$e]=(0,ce.ZP)(Je),Re=(0,b.Z)(Me,["value","disabled"]),tt=we.length?ze.map(Ve=>he.createElement(y,{prefixCls:Je,key:Ve.value.toString(),disabled:"disabled"in Ve?Ve.disabled:Me.disabled,value:Ve.value,checked:nt.includes(Ve.value),onChange:Ve.onChange,className:`${gt}-item`,style:Ve.style,title:Ve.title},Ve.label)):Pe,Ie={toggleOption:qe,value:nt,disabled:Me.disabled,name:Me.name,registerValue:Be,cancelValue:ke},He=_e()(gt,{[`${gt}-rtl`]:je==="rtl"},Ee,Te,$e);return We(he.createElement("div",Object.assign({className:He,style:Ce},Re,{ref:Se}),he.createElement(le.Provider,{value:Ie},tt)))},ue=he.forwardRef(te);var de=he.memo(ue);const ge=y;ge.Group=de,ge.__ANT_CHECKBOX=!0;var ve=ge},63185:function(Tt,ht,me){"use strict";me.d(ht,{C2:function(){return fe}});var be=me(14747),_e=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,_e.TS)(re,{checkboxCls:`.${se}`,checkboxSize:re.controlInteractiveSize});return[he(ie)]}ht.ZP=(0,E.Z)("Checkbox",(se,re)=>{let{prefixCls:ie}=re;return[fe(ie,se)]})},72565:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return Vo}});var be=me(94184),_e=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(Ct,Et){}function ce(Ct,Et){}function ae(){ie={}}function oe(Ct,Et,Wt){!Et&&!ie[Wt]&&(Ct(!1,Wt),ie[Wt]=!0)}function ne(Ct,Et){oe(le,Ct,Et)}function z(Ct,Et){oe(ce,Ct,Et)}var a=null,y=me(71002),x=me(18459);function b(Ct,Et,Wt){var gn=fe.useRef({});return(!("value"in gn.current)||Wt(gn.current.condition,Et))&&(gn.current.value=Ct(),gn.current.condition=Et),gn.current.value}function ee(Ct,Et){typeof Ct=="function"?Ct(Et):(0,y.Z)(Ct)==="object"&&Ct&&"current"in Ct&&(Ct.current=Et)}function te(){for(var Ct=arguments.length,Et=new Array(Ct),Wt=0;Wt<Ct;Wt++)Et[Wt]=arguments[Wt];var gn=Et.filter(function(On){return On});return gn.length<=1?gn[0]:function(On){Et.forEach(function(lr){ee(lr,On)})}}function ue(){for(var Ct=arguments.length,Et=new Array(Ct),Wt=0;Wt<Ct;Wt++)Et[Wt]=arguments[Wt];return b(function(){return te.apply(void 0,Et)},Et,function(gn,On){return gn.length===On.length&&gn.every(function(lr,Sr){return lr===On[Sr]})})}function de(Ct){var Et,Wt,gn=(0,x.isMemo)(Ct)?Ct.type.type:Ct.type;return!(typeof gn=="function"&&!((Et=gn.prototype)!==null&&Et!==void 0&&Et.render)||typeof Ct=="function"&&!((Wt=Ct.prototype)!==null&&Wt!==void 0&&Wt.render))}var ge=fe.createContext(null),ve=ge,pe=me(74902),Se=re()?fe.useLayoutEffect:fe.useEffect,ye=Se,Pe=function(Et,Wt){var gn=React.useRef(!0);Se(function(){if(!gn.current)return Et()},Wt),Se(function(){return gn.current=!1,function(){gn.current=!0}},[])},we=[];function xe(Ct,Et){var Wt=fe.useState(function(){if(!re())return null;var To=document.createElement("div");return To}),gn=(0,he.Z)(Wt,1),On=gn[0],lr=fe.useRef(!1),Sr=fe.useContext(ve),Tr=fe.useState(we),Xr=(0,he.Z)(Tr,2),lo=Xr[0],Yr=Xr[1],ao=Sr||(lr.current?void 0:function(To){Yr(function(Uo){var Lo=[To].concat((0,pe.Z)(Uo));return Lo})});function Co(){On.parentElement||document.body.appendChild(On),lr.current=!0}function Ro(){var To;(To=On.parentElement)===null||To===void 0||To.removeChild(On),lr.current=!1}return ye(function(){return Ct?Sr?Sr(Co):Co():Ro(),Ro},[Ct]),ye(function(){lo.length&&(lo.forEach(function(To){return To()}),Yr(we))},[lo]),[On,ao]}function Ee(Ct,Et){if(!Ct)return!1;if(Ct.contains)return Ct.contains(Et);for(var Wt=Et;Wt;){if(Wt===Ct)return!0;Wt=Wt.parentNode}return!1}var Te="data-rc-order",Ce="rc-util-key",Oe=new Map;function Me(){var Ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Et=Ct.mark;return Et?Et.startsWith("data-")?Et:"data-".concat(Et):Ce}function Ue(Ct){if(Ct.attachTo)return Ct.attachTo;var Et=document.querySelector("head");return Et||document.body}function je(Ct){return Ct==="queue"?"prependQueue":Ct?"prepend":"append"}function nt(Ct){return Array.from((Oe.get(Ct)||Ct).children).filter(function(Et){return Et.tagName==="STYLE"})}function Ye(Ct){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!re())return null;var Wt=Et.csp,gn=Et.prepend,On=document.createElement("style");On.setAttribute(Te,je(gn)),Wt!=null&&Wt.nonce&&(On.nonce=Wt==null?void 0:Wt.nonce),On.innerHTML=Ct;var lr=Ue(Et),Sr=lr.firstChild;if(gn){if(gn==="queue"){var Tr=nt(lr).filter(function(Xr){return["prepend","prependQueue"].includes(Xr.getAttribute(Te))});if(Tr.length)return lr.insertBefore(On,Tr[Tr.length-1].nextSibling),On}lr.insertBefore(On,Sr)}else lr.appendChild(On);return On}function Qe(Ct){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wt=Ue(Et);return nt(Wt).find(function(gn){return gn.getAttribute(Me(Et))===Ct})}function Xe(Ct){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wt=Qe(Ct,Et);if(Wt){var gn=Ue(Et);gn.removeChild(Wt)}}function ze(Ct,Et){var Wt=Oe.get(Ct);if(!Wt||!Ee(document,Wt)){var gn=Ye("",Et),On=gn.parentNode;Oe.set(Ct,On),Ct.removeChild(gn)}}function ke(){Oe.clear()}function Be(Ct,Et){var Wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},gn=Ue(Wt);ze(gn,Wt);var On=Qe(Et,Wt);if(On){var lr,Sr;if((lr=Wt.csp)!==null&&lr!==void 0&&lr.nonce&&On.nonce!==((Sr=Wt.csp)===null||Sr===void 0?void 0:Sr.nonce)){var Tr;On.nonce=(Tr=Wt.csp)===null||Tr===void 0?void 0:Tr.nonce}return On.innerHTML!==Ct&&(On.innerHTML=Ct),On}var Xr=Ye(Ct,Wt);return Xr.setAttribute(Me(Wt),Et),Xr}var qe;function Je(Ct){if(typeof document=="undefined")return 0;if(Ct||qe===void 0){var Et=document.createElement("div");Et.style.width="100%",Et.style.height="200px";var Wt=document.createElement("div"),gn=Wt.style;gn.position="absolute",gn.top="0",gn.left="0",gn.pointerEvents="none",gn.visibility="hidden",gn.width="200px",gn.height="150px",gn.overflow="hidden",Wt.appendChild(Et),document.body.appendChild(Wt);var On=Et.offsetWidth;Wt.style.overflow="scroll";var lr=Et.offsetWidth;On===lr&&(lr=Wt.clientWidth),document.body.removeChild(Wt),qe=On-lr}return qe}function gt(Ct){var Et=Ct.match(/^(.*)px$/),Wt=Number(Et==null?void 0:Et[1]);return Number.isNaN(Wt)?Je():Wt}function We(Ct){if(typeof document=="undefined"||!Ct||!(Ct instanceof Element))return{width:0,height:0};var Et=getComputedStyle(Ct,"::-webkit-scrollbar"),Wt=Et.width,gn=Et.height;return{width:gt(Wt),height:gt(gn)}}function $e(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Re="rc-util-locker-".concat(Date.now()),tt=0;function Ie(Ct){var Et=!!Ct,Wt=fe.useState(function(){return tt+=1,"".concat(Re,"_").concat(tt)}),gn=(0,he.Z)(Wt,1),On=gn[0];ye(function(){if(Et){var lr=We(document.body).width,Sr=$e();Be(`
html body {
overflow-y: hidden;
`.concat(Sr?"width: calc(100% - ".concat(lr,"px);"):"",`
}`),On)}else Xe(On);return function(){Xe(On)}},[Et,On])}var He=!1;function Ve(Ct){return typeof Ct=="boolean"&&(He=Ct),He}var Ze=function(Et){return Et===!1?!1:!re()||!Et?null:typeof Et=="string"?document.querySelector(Et):typeof Et=="function"?Et():Et},Ke=fe.forwardRef(function(Ct,Et){var Wt=Ct.open,gn=Ct.autoLock,On=Ct.getContainer,lr=Ct.debug,Sr=Ct.autoDestroy,Tr=Sr===void 0?!0:Sr,Xr=Ct.children,lo=fe.useState(Wt),Yr=(0,he.Z)(lo,2),ao=Yr[0],Co=Yr[1],Ro=ao||Wt;fe.useEffect(function(){(Tr||Wt)&&Co(Wt)},[Wt,Tr]);var To=fe.useState(function(){return Ze(On)}),Uo=(0,he.Z)(To,2),Lo=Uo[0],Go=Uo[1];fe.useEffect(function(){var Kt=Ze(On);Go(Kt!=null?Kt:null)});var Hr=xe(Ro&&!Lo,lr),Ot=(0,he.Z)(Hr,2),Ut=Ot[0],Zt=Ot[1],dt=Lo!=null?Lo:Ut;Ie(gn&&Wt&&re()&&(dt===Ut||dt===document.body));var on=null;if(Xr&&de(Xr)&&Et){var Mn=Xr;on=Mn.ref}var Hn=ue(on,Et);if(!Ro||!re()||Lo===void 0)return null;var Ht=dt===!1||Ve(),Yt=Xr;return Et&&(Yt=fe.cloneElement(Xr,{ref:Hn})),fe.createElement(ve.Provider,{value:Zt},Ht?Yt:(0,se.createPortal)(Yt,dt))}),Ae=Ke,Le=Ae;function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ge=Ne()?fe.useLayoutEffect:fe.useEffect,rt=function(Et,Wt){var gn=fe.useRef(!0);Ge(function(){return Et(gn.current)},Wt),Ge(function(){return gn.current=!1,function(){gn.current=!0}},[])},St=function(Et,Wt){rt(function(gn){if(!gn)return Et()},Wt)},Pt=rt,At=fe.createContext(null),bn=fe.createContext({}),$t=At,ft=me(4942),st=me(87462),zt=me(62874),ot={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(Et){var Wt=Et.keyCode;if(Et.altKey&&!Et.ctrlKey||Et.metaKey||Wt>=ot.F1&&Wt<=ot.F12)return!1;switch(Wt){case ot.ALT:case ot.CAPS_LOCK:case ot.CONTEXT_MENU:case ot.CTRL:case ot.DOWN:case ot.END:case ot.ESC:case ot.HOME:case ot.INSERT:case ot.LEFT:case ot.MAC_FF_META:case ot.META:case ot.NUMLOCK:case ot.NUM_CENTER:case ot.PAGE_DOWN:case ot.PAGE_UP:case ot.PAUSE:case ot.PRINT_SCREEN:case ot.RIGHT:case ot.SHIFT:case ot.UP:case ot.WIN_KEY:case ot.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Et){if(Et>=ot.ZERO&&Et<=ot.NINE||Et>=ot.NUM_ZERO&&Et<=ot.NUM_MULTIPLY||Et>=ot.A&&Et<=ot.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Et===0)return!0;switch(Et){case ot.SPACE:case ot.QUESTION_MARK:case ot.NUM_PLUS:case ot.NUM_MINUS:case ot.NUM_PERIOD:case ot.NUM_DIVISION:case ot.SEMICOLON:case ot.DASH:case ot.EQUALS:case ot.COMMA:case ot.PERIOD:case ot.SLASH:case ot.APOSTROPHE:case ot.SINGLE_QUOTE:case ot.OPEN_SQUARE_BRACKET:case ot.BACKSLASH:case ot.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},at=ot,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`,Ft=`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`,kt="".concat(bt," ").concat(Ft).split(/[\s\n]+/),un="aria-",fn="data-";function vn(Ct,Et){return Ct.indexOf(Et)===0}function An(Ct){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Wt;Et===!1?Wt={aria:!0,data:!0,attr:!0}:Et===!0?Wt={aria:!0}:Wt=(0,E.Z)({},Et);var gn={};return Object.keys(Ct).forEach(function(On){(Wt.aria&&(On==="role"||vn(On,un))||Wt.data&&vn(On,fn)||Wt.attr&&kt.includes(On))&&(gn[On]=Ct[On])}),gn}function vr(Ct){var Et=React.useRef();Et.current=Ct;var Wt=React.useCallback(function(){for(var gn,On=arguments.length,lr=new Array(On),Sr=0;Sr<On;Sr++)lr[Sr]=arguments[Sr];return(gn=Et.current)===null||gn===void 0?void 0:gn.call.apply(gn,[Et].concat(lr))},[]);return Wt}function yn(Ct){var Et=React.useRef(!1),Wt=React.useState(Ct),gn=_slicedToArray(Wt,2),On=gn[0],lr=gn[1];React.useEffect(function(){return Et.current=!1,function(){Et.current=!0}},[]);function Sr(Tr,Xr){Xr&&Et.current||lr(Tr)}return[On,Sr]}function cr(Ct){return Ct!==void 0}function Zr(Ct,Et){var Wt=Et||{},gn=Wt.defaultValue,On=Wt.value,lr=Wt.onChange,Sr=Wt.postState,Tr=useState(function(){return cr(On)?On:cr(gn)?typeof gn=="function"?gn():gn:typeof Ct=="function"?Ct():Ct}),Xr=_slicedToArray(Tr,2),lo=Xr[0],Yr=Xr[1],ao=On!==void 0?On:lo,Co=Sr?Sr(ao):ao,Ro=useEvent(lr),To=useState([ao]),Uo=_slicedToArray(To,2),Lo=Uo[0],Go=Uo[1];useLayoutUpdateEffect(function(){var Ot=Lo[0];lo!==Ot&&Ro(lo,Ot)},[Lo]),useLayoutUpdateEffect(function(){cr(On)||Yr(On)},[On]);var Hr=useEvent(function(Ot,Ut){Yr(Ot,Ut),Go([ao],Ut)});return[Co,Hr]}var Gr=me(33993);function ro(Ct,Et,Wt){var gn=fe.useRef({});return(!("value"in gn.current)||Wt(gn.current.condition,Et))&&(gn.current.value=Ct(),gn.current.condition=Et),gn.current.value}function oo(Ct,Et){typeof Ct=="function"?Ct(Et):(0,y.Z)(Ct)==="object"&&Ct&&"current"in Ct&&(Ct.current=Et)}function po(){for(var Ct=arguments.length,Et=new Array(Ct),Wt=0;Wt<Ct;Wt++)Et[Wt]=arguments[Wt];var gn=Et.filter(function(On){return On});return gn.length<=1?gn[0]:function(On){Et.forEach(function(lr){oo(lr,On)})}}function Pn(){for(var Ct=arguments.length,Et=new Array(Ct),Wt=0;Wt<Ct;Wt++)Et[Wt]=arguments[Wt];return ro(function(){return po.apply(void 0,Et)},Et,function(gn,On){return gn.length!==On.length||gn.every(function(lr,Sr){return lr!==On[Sr]})})}function dn(Ct){var Et,Wt,gn=isMemo(Ct)?Ct.type.type:Ct.type;return!(typeof gn=="function"&&!((Et=gn.prototype)!==null&&Et!==void 0&&Et.render)||typeof Ct=="function"&&!((Wt=Ct.prototype)!==null&&Wt!==void 0&&Wt.render))}function Bn(Ct){return!isValidElement(Ct)||isFragment(Ct)?!1:dn(Ct)}function Rn(Ct,Et,Wt,gn){if(!Et.length)return Wt;var On=_toArray(Et),lr=On[0],Sr=On.slice(1),Tr;return!Ct&&typeof lr=="number"?Tr=[]:Array.isArray(Ct)?Tr=_toConsumableArray(Ct):Tr=_objectSpread({},Ct),gn&&Wt===void 0&&Sr.length===1?delete Tr[lr][Sr[0]]:Tr[lr]=Rn(Tr[lr],Sr,Wt,gn),Tr}function Un(Ct,Et,Wt){var gn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Et.length&&gn&&Wt===void 0&&!get(Ct,Et.slice(0,-1))?Ct:Rn(Ct,Et,Wt,gn)}function tr(Ct){return _typeof(Ct)==="object"&&Ct!==null&&Object.getPrototypeOf(Ct)===Object.prototype}function gr(Ct){return Array.isArray(Ct)?[]:{}}var Br=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function dr(){for(var Ct=arguments.length,Et=new Array(Ct),Wt=0;Wt<Ct;Wt++)Et[Wt]=arguments[Wt];var gn=gr(Et[0]);return Et.forEach(function(On){function lr(Sr,Tr){var Xr=new Set(Tr),lo=get(On,Sr),Yr=Array.isArray(lo);if(Yr||tr(lo)){if(!Xr.has(lo)){Xr.add(lo);var ao=get(gn,Sr);Yr?gn=Un(gn,Sr,[]):(!ao||_typeof(ao)!=="object")&&(gn=Un(gn,Sr,gr(lo))),Br(lo).forEach(function(Co){lr([].concat(_toConsumableArray(Sr),[Co]),Xr)})}}else gn=Un(gn,Sr,lo)}lr([])}),gn}var Xn={},Rt=[],Mt=function(Et){Rt.push(Et)};function Lt(Ct,Et){if(0)var Wt}function In(Ct,Et){if(0)var Wt}function Gn(){Xn={}}function Wn(Ct,Et,Wt){!Et&&!Xn[Wt]&&(Ct(!1,Wt),Xn[Wt]=!0)}function mr(Ct,Et){Wn(Lt,Ct,Et)}function wr(Ct,Et){Wn(In,Ct,Et)}mr.preMessage=Mt,mr.resetWarned=Gn,mr.noteOnce=wr;var Rr=mr,qr=function(Et){var Wt=Et.prefixCls,gn=Et.className,On=Et.style,lr=Et.children,Sr=Et.containerRef,Tr=Et.id,Xr=Et.onMouseEnter,lo=Et.onMouseOver,Yr=Et.onMouseLeave,ao=Et.onClick,Co=Et.onKeyDown,Ro=Et.onKeyUp,To={onMouseEnter:Xr,onMouseOver:lo,onMouseLeave:Yr,onClick:ao,onKeyDown:Co,onKeyUp:Ro},Uo=fe.useContext(bn),Lo=Uo.panel,Go=Pn(Lo,Sr);return fe.createElement(fe.Fragment,null,fe.createElement("div",(0,st.Z)({id:Tr,className:_e()("".concat(Wt,"-content"),gn),style:(0,E.Z)({},On),"aria-modal":"true",role:"dialog",ref:Go},To),lr))},mo=qr;function Tn(Ct){return typeof Ct=="string"&&String(Number(Ct))===Ct?(Rr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ct)):Ct}function Ur(Ct){warning(!("wrapperClassName"in Ct),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ct.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var bo={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ca(Ct,Et){var Wt,gn,On,lr,Sr=Ct.prefixCls,Tr=Ct.open,Xr=Ct.placement,lo=Ct.inline,Yr=Ct.push,ao=Ct.forceRender,Co=Ct.autoFocus,Ro=Ct.keyboard,To=Ct.rootClassName,Uo=Ct.rootStyle,Lo=Ct.zIndex,Go=Ct.className,Hr=Ct.id,Ot=Ct.style,Ut=Ct.motion,Zt=Ct.width,dt=Ct.height,on=Ct.children,Mn=Ct.contentWrapperStyle,Hn=Ct.mask,Ht=Ct.maskClosable,Yt=Ct.maskMotion,Kt=Ct.maskClassName,Jt=Ct.maskStyle,Xt=Ct.afterOpenChange,ln=Ct.onClose,pn=Ct.onMouseEnter,Vn=Ct.onMouseOver,nr=Ct.onMouseLeave,Er=Ct.onClick,Dn=Ct.onKeyDown,fr=Ct.onKeyUp,ut=fe.useRef(),ct=fe.useRef(),wt=fe.useRef();fe.useImperativeHandle(Et,function(){return ut.current});var Bt=function(Mo){var vo=Mo.keyCode,No=Mo.shiftKey;switch(vo){case at.TAB:{if(vo===at.TAB){if(!No&&document.activeElement===wt.current){var ga;(ga=ct.current)===null||ga===void 0||ga.focus({preventScroll:!0})}else if(No&&document.activeElement===ct.current){var Fa;(Fa=wt.current)===null||Fa===void 0||Fa.focus({preventScroll:!0})}}break}case at.ESC:{ln&&Ro&&(Mo.stopPropagation(),ln(Mo));break}}};fe.useEffect(function(){if(Tr&&Co){var kr;(kr=ut.current)===null||kr===void 0||kr.focus({preventScroll:!0})}},[Tr]);var Qt=fe.useState(!1),an=(0,he.Z)(Qt,2),en=an[0],sn=an[1],hn=fe.useContext($t),cn;Yr===!1?cn={distance:0}:Yr===!0?cn={}:cn=Yr||{};var jn=(Wt=(gn=(On=cn)===null||On===void 0?void 0:On.distance)!==null&&gn!==void 0?gn:hn==null?void 0:hn.pushDistance)!==null&&Wt!==void 0?Wt:180,Fn=fe.useMemo(function(){return{pushDistance:jn,push:function(){sn(!0)},pull:function(){sn(!1)}}},[jn]);fe.useEffect(function(){if(Tr){var kr;hn==null||(kr=hn.push)===null||kr===void 0||kr.call(hn)}else{var Mo;hn==null||(Mo=hn.pull)===null||Mo===void 0||Mo.call(hn)}},[Tr]),fe.useEffect(function(){return function(){var kr;hn==null||(kr=hn.pull)===null||kr===void 0||kr.call(hn)}},[]);var rr=Hn&&fe.createElement(zt.Z,(0,st.Z)({key:"mask"},Yt,{visible:Tr}),function(kr,Mo){var vo=kr.className,No=kr.style;return fe.createElement("div",{className:_e()("".concat(Sr,"-mask"),vo,Kt),style:(0,E.Z)((0,E.Z)({},No),Jt),onClick:Ht&&Tr?ln:void 0,ref:Mo})}),xr=typeof Ut=="function"?Ut(Xr):Ut,br={};if(en&&jn)switch(Xr){case"top":br.transform="translateY(".concat(jn,"px)");break;case"bottom":br.transform="translateY(".concat(-jn,"px)");break;case"left":br.transform="translateX(".concat(jn,"px)");break;default:br.transform="translateX(".concat(-jn,"px)");break}Xr==="left"||Xr==="right"?br.width=Tn(Zt):br.height=Tn(dt);var eo={onMouseEnter:pn,onMouseOver:Vn,onMouseLeave:nr,onClick:Er,onKeyDown:Dn,onKeyUp:fr},co=fe.createElement(zt.Z,(0,st.Z)({key:"panel"},xr,{visible:Tr,forceRender:ao,onVisibleChanged:function(Mo){Xt==null||Xt(Mo)},removeOnLeave:!1,leavedClassName:"".concat(Sr,"-content-wrapper-hidden")}),function(kr,Mo){var vo=kr.className,No=kr.style;return fe.createElement("div",(0,st.Z)({className:_e()("".concat(Sr,"-content-wrapper"),vo),style:(0,E.Z)((0,E.Z)((0,E.Z)({},br),No),Mn)},An(Ct,{data:!0})),fe.createElement(mo,(0,st.Z)({id:Hr,containerRef:Mo,prefixCls:Sr,className:Go,style:Ot},eo),on))}),Eo=(0,E.Z)({},Uo);return Lo&&(Eo.zIndex=Lo),fe.createElement($t.Provider,{value:Fn},fe.createElement("div",{className:_e()(Sr,"".concat(Sr,"-").concat(Xr),To,(lr={},(0,ft.Z)(lr,"".concat(Sr,"-open"),Tr),(0,ft.Z)(lr,"".concat(Sr,"-inline"),lo),lr)),style:Eo,tabIndex:-1,ref:ut,onKeyDown:Bt},rr,fe.createElement("div",{tabIndex:0,ref:ct,style:bo,"aria-hidden":"true","data-sentinel":"start"}),co,fe.createElement("div",{tabIndex:0,ref:wt,style:bo,"aria-hidden":"true","data-sentinel":"end"})))}var Ko=fe.forwardRef(ca),jo=Ko,ia=function(Et){var Wt=Et.open,gn=Wt===void 0?!1:Wt,On=Et.prefixCls,lr=On===void 0?"rc-drawer":On,Sr=Et.placement,Tr=Sr===void 0?"right":Sr,Xr=Et.autoFocus,lo=Xr===void 0?!0:Xr,Yr=Et.keyboard,ao=Yr===void 0?!0:Yr,Co=Et.width,Ro=Co===void 0?378:Co,To=Et.mask,Uo=To===void 0?!0:To,Lo=Et.maskClosable,Go=Lo===void 0?!0:Lo,Hr=Et.getContainer,Ot=Et.forceRender,Ut=Et.afterOpenChange,Zt=Et.destroyOnClose,dt=Et.onMouseEnter,on=Et.onMouseOver,Mn=Et.onMouseLeave,Hn=Et.onClick,Ht=Et.onKeyDown,Yt=Et.onKeyUp,Kt=Et.panelRef,Jt=fe.useState(!1),Xt=(0,he.Z)(Jt,2),ln=Xt[0],pn=Xt[1],Vn=fe.useState(!1),nr=(0,he.Z)(Vn,2),Er=nr[0],Dn=nr[1];Pt(function(){Dn(!0)},[]);var fr=Er?gn:!1,ut=fe.useRef(),ct=fe.useRef();Pt(function(){fr&&(ct.current=document.activeElement)},[fr]);var wt=function(sn){var hn;if(pn(sn),Ut==null||Ut(sn),!sn&&ct.current&&!((hn=ut.current)!==null&&hn!==void 0&&hn.contains(ct.current))){var cn;(cn=ct.current)===null||cn===void 0||cn.focus({preventScroll:!0})}},Bt=fe.useMemo(function(){return{panel:Kt}},[Kt]);if(!Ot&&!ln&&!fr&&Zt)return null;var Qt={onMouseEnter:dt,onMouseOver:on,onMouseLeave:Mn,onClick:Hn,onKeyDown:Ht,onKeyUp:Yt},an=(0,E.Z)((0,E.Z)({},Et),{},{open:fr,prefixCls:lr,placement:Tr,autoFocus:lo,keyboard:ao,width:Ro,mask:Uo,maskClosable:Go,inline:Hr===!1,afterOpenChange:wt,ref:ut},Qt);return fe.createElement(bn.Provider,{value:Bt},fe.createElement(Le,{open:fr||Ot||ln,autoDestroy:!1,getContainer:Hr,autoLock:Uo&&(fr||ln)},fe.createElement(jo,an)))},ho=ia,Dt=ho,nn=me(33603),rn=me(53124),mn=me(65223),zn=me(69760),Nn=Ct=>{const{prefixCls:Et,title:Wt,footer:gn,extra:On,closeIcon:lr,closable:Sr,onClose:Tr,headerStyle:Xr,drawerStyle:lo,bodyStyle:Yr,footerStyle:ao,children:Co}=Ct,Ro=fe.useCallback(Hr=>fe.createElement("button",{type:"button",onClick:Tr,"aria-label":"Close",className:`${Et}-close`},Hr),[Tr]),[To,Uo]=(0,zn.Z)(Sr,lr,Ro,void 0,!0),Lo=fe.useMemo(()=>!Wt&&!To?null:fe.createElement("div",{style:Xr,className:_e()(`${Et}-header`,{[`${Et}-header-close-only`]:To&&!Wt&&!On})},fe.createElement("div",{className:`${Et}-header-title`},Uo,Wt&&fe.createElement("div",{className:`${Et}-title`},Wt)),On&&fe.createElement("div",{className:`${Et}-extra`},On)),[To,Uo,On,Xr,Et,Wt]),Go=fe.useMemo(()=>{if(!gn)return null;const Hr=`${Et}-footer`;return fe.createElement("div",{className:Hr,style:ao},gn)},[gn,ao,Et]);return fe.createElement("div",{className:`${Et}-wrapper-body`,style:lo},Lo,fe.createElement("div",{className:`${Et}-body`,style:Yr},Co),Go)},_t=me(4173),yr=me(67968),Cr=me(45503),So=Ct=>{const{componentCls:Et,motionDurationSlow:Wt}=Ct,gn={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Wt}`}}};return{[Et]:{[`${Et}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Wt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Et}-panel-motion`]:{"&-left":[gn,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[gn,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[gn,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[gn,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const wn=Ct=>{const{componentCls:Et,zIndexPopup:Wt,colorBgMask:gn,colorBgElevated:On,motionDurationSlow:lr,motionDurationMid:Sr,padding:Tr,paddingLG:Xr,fontSizeLG:lo,lineHeightLG:Yr,lineWidth:ao,lineType:Co,colorSplit:Ro,marginSM:To,colorIcon:Uo,colorIconHover:Lo,colorText:Go,fontWeightStrong:Hr,footerPaddingBlock:Ot,footerPaddingInline:Ut}=Ct,Zt=`${Et}-content-wrapper`;return{[Et]:{position:"fixed",inset:0,zIndex:Wt,pointerEvents:"none","&-pure":{position:"relative",background:On,[`&${Et}-left`]:{boxShadow:Ct.boxShadowDrawerLeft},[`&${Et}-right`]:{boxShadow:Ct.boxShadowDrawerRight},[`&${Et}-top`]:{boxShadow:Ct.boxShadowDrawerUp},[`&${Et}-bottom`]:{boxShadow:Ct.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Et}-mask`]:{position:"absolute",inset:0,zIndex:Wt,background:gn,pointerEvents:"auto"},[Zt]:{position:"absolute",zIndex:Wt,maxWidth:"100vw",transition:`all ${lr}`,"&-hidden":{display:"none"}},[`&-left > ${Zt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ct.boxShadowDrawerLeft},[`&-right > ${Zt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ct.boxShadowDrawerRight},[`&-top > ${Zt}`]:{top:0,insetInline:0,boxShadow:Ct.boxShadowDrawerUp},[`&-bottom > ${Zt}`]:{bottom:0,insetInline:0,boxShadow:Ct.boxShadowDrawerDown},[`${Et}-content`]:{width:"100%",height:"100%",overflow:"auto",background:On,pointerEvents:"auto"},[`${Et}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Et}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Tr}px ${Xr}px`,fontSize:lo,lineHeight:Yr,borderBottom:`${ao}px ${Co} ${Ro}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Et}-extra`]:{flex:"none"},[`${Et}-close`]:{display:"inline-block",marginInlineEnd:To,color:Uo,fontWeight:Hr,fontSize:lo,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Sr}`,textRendering:"auto","&:focus, &:hover":{color:Lo,textDecoration:"none"}},[`${Et}-title`]:{flex:1,margin:0,color:Go,fontWeight:Ct.fontWeightStrong,fontSize:lo,lineHeight:Yr},[`${Et}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Xr,overflow:"auto"},[`${Et}-footer`]:{flexShrink:0,padding:`${Ot}px ${Ut}px`,borderTop:`${ao}px ${Co} ${Ro}`},"&-rtl":{direction:"rtl"}}}};var qn=(0,yr.Z)("Drawer",Ct=>{const Et=(0,Cr.TS)(Ct,{});return[wn(Et),So(Et)]},Ct=>({zIndexPopup:Ct.zIndexPopupBase,footerPaddingBlock:Ct.paddingXS,footerPaddingInline:Ct.padding})),jr=me(16569),ar=function(Ct,Et){var Wt={};for(var gn in Ct)Object.prototype.hasOwnProperty.call(Ct,gn)&&Et.indexOf(gn)<0&&(Wt[gn]=Ct[gn]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,gn=Object.getOwnPropertySymbols(Ct);On<gn.length;On++)Et.indexOf(gn[On])<0&&Object.prototype.propertyIsEnumerable.call(Ct,gn[On])&&(Wt[gn[On]]=Ct[gn[On]]);return Wt};const Po=null,so={distance:180},zo=Ct=>{var Et;const{rootClassName:Wt,width:gn,height:On,size:lr="default",mask:Sr=!0,push:Tr=so,open:Xr,afterOpenChange:lo,onClose:Yr,prefixCls:ao,getContainer:Co,style:Ro,className:To,visible:Uo,afterVisibleChange:Lo}=Ct,Go=ar(Ct,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Hr,getPrefixCls:Ot,direction:Ut,drawer:Zt}=fe.useContext(rn.E_),dt=Ot("drawer",ao),[on,Mn]=qn(dt),Hn=Co===void 0&&Hr?()=>Hr(document.body):Co,Ht=_e()({"no-mask":!Sr,[`${dt}-rtl`]:Ut==="rtl"},Wt,Mn),Yt=fe.useMemo(()=>gn!=null?gn:lr==="large"?736:378,[gn,lr]),Kt=fe.useMemo(()=>On!=null?On:lr==="large"?736:378,[On,lr]),Jt={motionName:(0,nn.m)(dt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Xt=pn=>({motionName:(0,nn.m)(dt,`panel-motion-${pn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),ln=(0,jr.H)();return on(fe.createElement(_t.BR,null,fe.createElement(mn.Ux,{status:!0,override:!0},fe.createElement(Dt,Object.assign({prefixCls:dt,onClose:Yr,maskMotion:Jt,motion:Xt},Go,{open:Xr!=null?Xr:Uo,mask:Sr,push:Tr,width:Yt,height:Kt,style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),Ro),className:_e()(Zt==null?void 0:Zt.className,To),rootClassName:Ht,getContainer:Hn,afterOpenChange:lo!=null?lo:Lo,panelRef:ln}),fe.createElement(Nn,Object.assign({prefixCls:dt},Go,{onClose:Yr}))))))},Zo=Ct=>{const{prefixCls:Et,style:Wt,className:gn,placement:On="right"}=Ct,lr=ar(Ct,["prefixCls","style","className","placement"]),{getPrefixCls:Sr}=fe.useContext(rn.E_),Tr=Sr("drawer",Et),[Xr,lo]=qn(Tr),Yr=_e()(Tr,`${Tr}-pure`,`${Tr}-${On}`,lo,gn);return Xr(fe.createElement("div",{className:Yr,style:Wt},fe.createElement(Nn,Object.assign({prefixCls:Tr},lr))))};zo._InternalPanelDoNotUseOrYouWillBeFired=Zo;var Vo=zo},56153:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return Ts}});var be=me(67294),_e=me.t(be,2),E=me(79269),he=me(94184),fe=me.n(he),se=me(87462),re=me(4942),ie=me(97685),le=me(45987),ce=me(1413),ae=me(73935);function oe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ne={};function z(it,yt){}function a(it,yt){}function y(){ne={}}function x(it,yt,mt){!yt&&!ne[mt]&&(it(!1,mt),ne[mt]=!0)}function b(it,yt){x(z,it,yt)}function ee(it,yt){x(a,it,yt)}var te=null,ue=me(71002),de=me(12060);function ge(it,yt,mt){var Nt=be.useRef({});return(!("value"in Nt.current)||mt(Nt.current.condition,yt))&&(Nt.current.value=it(),Nt.current.condition=yt),Nt.current.value}function ve(it,yt){typeof it=="function"?it(yt):(0,ue.Z)(it)==="object"&&it&&"current"in it&&(it.current=yt)}function pe(){for(var it=arguments.length,yt=new Array(it),mt=0;mt<it;mt++)yt[mt]=arguments[mt];var Nt=yt.filter(function(qt){return qt});return Nt.length<=1?Nt[0]:function(qt){yt.forEach(function(Cn){ve(Cn,qt)})}}function Se(){for(var it=arguments.length,yt=new Array(it),mt=0;mt<it;mt++)yt[mt]=arguments[mt];return ge(function(){return pe.apply(void 0,yt)},yt,function(Nt,qt){return Nt.length===qt.length&&Nt.every(function(Cn,En){return Cn===qt[En]})})}function ye(it){var yt,mt,Nt=(0,de.isMemo)(it)?it.type.type:it.type;return!(typeof Nt=="function"&&!((yt=Nt.prototype)!==null&&yt!==void 0&&yt.render)||typeof it=="function"&&!((mt=it.prototype)!==null&&mt!==void 0&&mt.render))}var Pe=be.createContext(null),we=Pe,xe=me(74902),Ee=oe()?be.useLayoutEffect:be.useEffect,Te=Ee,Ce=function(yt,mt){var Nt=React.useRef(!0);Ee(function(){if(!Nt.current)return yt()},mt),Ee(function(){return Nt.current=!1,function(){Nt.current=!0}},[])},Oe=[];function Me(it,yt){var mt=be.useState(function(){if(!oe())return null;var Jr=document.createElement("div");return Jr}),Nt=(0,ie.Z)(mt,1),qt=Nt[0],Cn=be.useRef(!1),En=be.useContext(we),$n=be.useState(Oe),kn=(0,ie.Z)($n,2),ir=kn[0],Nr=kn[1],er=En||(Cn.current?void 0:function(Jr){Nr(function(Wo){var Io=[Jr].concat((0,xe.Z)(Wo));return Io})});function Fr(){qt.parentElement||document.body.appendChild(qt),Cn.current=!0}function Mr(){var Jr;(Jr=qt.parentElement)===null||Jr===void 0||Jr.removeChild(qt),Cn.current=!1}return Te(function(){return it?En?En(Fr):Fr():Mr(),Mr},[it]),Te(function(){ir.length&&(ir.forEach(function(Jr){return Jr()}),Nr(Oe))},[ir]),[qt,er]}function Ue(it,yt){if(!it)return!1;if(it.contains)return it.contains(yt);for(var mt=yt;mt;){if(mt===it)return!0;mt=mt.parentNode}return!1}var je="data-rc-order",nt="rc-util-key",Ye=new Map;function Qe(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},yt=it.mark;return yt?yt.startsWith("data-")?yt:"data-".concat(yt):nt}function Xe(it){if(it.attachTo)return it.attachTo;var yt=document.querySelector("head");return yt||document.body}function ze(it){return it==="queue"?"prependQueue":it?"prepend":"append"}function ke(it){return Array.from((Ye.get(it)||it).children).filter(function(yt){return yt.tagName==="STYLE"})}function Be(it){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!oe())return null;var mt=yt.csp,Nt=yt.prepend,qt=document.createElement("style");qt.setAttribute(je,ze(Nt)),mt!=null&&mt.nonce&&(qt.nonce=mt==null?void 0:mt.nonce),qt.innerHTML=it;var Cn=Xe(yt),En=Cn.firstChild;if(Nt){if(Nt==="queue"){var $n=ke(Cn).filter(function(kn){return["prepend","prependQueue"].includes(kn.getAttribute(je))});if($n.length)return Cn.insertBefore(qt,$n[$n.length-1].nextSibling),qt}Cn.insertBefore(qt,En)}else Cn.appendChild(qt);return qt}function qe(it){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=Xe(yt);return ke(mt).find(function(Nt){return Nt.getAttribute(Qe(yt))===it})}function Je(it){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=qe(it,yt);if(mt){var Nt=Xe(yt);Nt.removeChild(mt)}}function gt(it,yt){var mt=Ye.get(it);if(!mt||!Ue(document,mt)){var Nt=Be("",yt),qt=Nt.parentNode;Ye.set(it,qt),it.removeChild(Nt)}}function We(){Ye.clear()}function $e(it,yt){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Nt=Xe(mt);gt(Nt,mt);var qt=qe(yt,mt);if(qt){var Cn,En;if((Cn=mt.csp)!==null&&Cn!==void 0&&Cn.nonce&&qt.nonce!==((En=mt.csp)===null||En===void 0?void 0:En.nonce)){var $n;qt.nonce=($n=mt.csp)===null||$n===void 0?void 0:$n.nonce}return qt.innerHTML!==it&&(qt.innerHTML=it),qt}var kn=Be(it,mt);return kn.setAttribute(Qe(mt),yt),kn}var Re;function tt(it){if(typeof document=="undefined")return 0;if(it||Re===void 0){var yt=document.createElement("div");yt.style.width="100%",yt.style.height="200px";var mt=document.createElement("div"),Nt=mt.style;Nt.position="absolute",Nt.top="0",Nt.left="0",Nt.pointerEvents="none",Nt.visibility="hidden",Nt.width="200px",Nt.height="150px",Nt.overflow="hidden",mt.appendChild(yt),document.body.appendChild(mt);var qt=yt.offsetWidth;mt.style.overflow="scroll";var Cn=yt.offsetWidth;qt===Cn&&(Cn=mt.clientWidth),document.body.removeChild(mt),Re=qt-Cn}return Re}function Ie(it){var yt=it.match(/^(.*)px$/),mt=Number(yt==null?void 0:yt[1]);return Number.isNaN(mt)?tt():mt}function He(it){if(typeof document=="undefined"||!it||!(it instanceof Element))return{width:0,height:0};var yt=getComputedStyle(it,"::-webkit-scrollbar"),mt=yt.width,Nt=yt.height;return{width:Ie(mt),height:Ie(Nt)}}function Ve(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Ze="rc-util-locker-".concat(Date.now()),Ke=0;function Ae(it){var yt=!!it,mt=be.useState(function(){return Ke+=1,"".concat(Ze,"_").concat(Ke)}),Nt=(0,ie.Z)(mt,1),qt=Nt[0];Te(function(){if(yt){var Cn=He(document.body).width,En=Ve();$e(`
html body {
overflow-y: hidden;
`.concat(En?"width: calc(100% - ".concat(Cn,"px);"):"",`
}`),qt)}else Je(qt);return function(){Je(qt)}},[yt,qt])}var Le=!1;function Ne(it){return typeof it=="boolean"&&(Le=it),Le}var Ge=function(yt){return yt===!1?!1:!oe()||!yt?null:typeof yt=="string"?document.querySelector(yt):typeof yt=="function"?yt():yt},rt=be.forwardRef(function(it,yt){var mt=it.open,Nt=it.autoLock,qt=it.getContainer,Cn=it.debug,En=it.autoDestroy,$n=En===void 0?!0:En,kn=it.children,ir=be.useState(mt),Nr=(0,ie.Z)(ir,2),er=Nr[0],Fr=Nr[1],Mr=er||mt;be.useEffect(function(){($n||mt)&&Fr(mt)},[mt,$n]);var Jr=be.useState(function(){return Ge(qt)}),Wo=(0,ie.Z)(Jr,2),Io=Wo[0],Yo=Wo[1];be.useEffect(function(){var za=Ge(qt);Yo(za!=null?za:null)});var Fo=Me(Mr&&!Io,Cn),_o=(0,ie.Z)(Fo,2),$r=_o[0],Na=_o[1],xa=Io!=null?Io:$r;Ae(Nt&&mt&&oe()&&(xa===$r||xa===document.body));var Da=null;if(kn&&ye(kn)&&yt){var Ha=kn;Da=Ha.ref}var ii=Se(Da,yt);if(!Mr||!oe()||Io===void 0)return null;var Sa=xa===!1||Ne(),ra=kn;return yt&&(ra=be.cloneElement(kn,{ref:ii})),be.createElement(we.Provider,{value:Na},Sa?ra:(0,ae.createPortal)(ra,xa))}),St=rt,Pt=St,At=me(48555);function bn(it){return it instanceof HTMLElement||it instanceof SVGElement}function $t(it){return bn(it)?it:it instanceof React.Component?ReactDOM.findDOMNode(it):null}function ft(it){var yt;return it==null||(yt=it.getRootNode)===null||yt===void 0?void 0:yt.call(it)}function st(it){return ft(it)instanceof ShadowRoot}function zt(it){return st(it)?ft(it):null}function ot(it){var yt=be.useRef();yt.current=it;var mt=be.useCallback(function(){for(var Nt,qt=arguments.length,Cn=new Array(qt),En=0;En<qt;En++)Cn[En]=arguments[En];return(Nt=yt.current)===null||Nt===void 0?void 0:Nt.call.apply(Nt,[yt].concat(Cn))},[]);return mt}function at(){var it=(0,ce.Z)({},_e);return it.useId}var bt=0;function Ft(){}var kt=at(),un=kt?function(yt){var mt=kt();return yt||mt}:function(yt){var mt=be.useState("ssr-id"),Nt=(0,ie.Z)(mt,2),qt=Nt[0],Cn=Nt[1];return be.useEffect(function(){var En=bt;bt+=1,Cn("rc_unique_".concat(En))},[]),yt||qt};function fn(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var vn=fn()?be.useLayoutEffect:be.useEffect,An=function(yt,mt){var Nt=be.useRef(!0);vn(function(){return yt(Nt.current)},mt),vn(function(){return Nt.current=!1,function(){Nt.current=!0}},[])},vr=function(yt,mt){An(function(Nt){if(!Nt)return yt()},mt)},yn=An,cr=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var it=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(it)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(it==null?void 0:it.substr(0,4))},Zr=be.createContext(null),Gr=Zr;function ro(it){return it?Array.isArray(it)?it:[it]:[]}function oo(it,yt,mt,Nt){return be.useMemo(function(){var qt=ro(mt!=null?mt:yt),Cn=ro(Nt!=null?Nt:yt),En=new Set(qt),$n=new Set(Cn);return it&&(En.has("hover")&&(En.delete("hover"),En.add("click")),$n.has("hover")&&($n.delete("hover"),$n.add("click"))),[En,$n]},[it,yt,mt,Nt])}var po=function(it){if(!it)return!1;if(it instanceof Element){if(it.offsetParent)return!0;if(it.getBBox){var yt=it.getBBox(),mt=yt.width,Nt=yt.height;if(mt||Nt)return!0}if(it.getBoundingClientRect){var qt=it.getBoundingClientRect(),Cn=qt.width,En=qt.height;if(Cn||En)return!0}}return!1};function Pn(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],mt=arguments.length>2?arguments[2]:void 0;return mt?it[0]===yt[0]:it[0]===yt[0]&&it[1]===yt[1]}function dn(it,yt,mt,Nt){for(var qt=mt.points,Cn=Object.keys(it),En=0;En<Cn.length;En+=1){var $n,kn=Cn[En];if(Pn(($n=it[kn])===null||$n===void 0?void 0:$n.points,qt,Nt))return"".concat(yt,"-placement-").concat(kn)}return""}function Bn(it,yt,mt,Nt){return yt||(mt?{motionName:"".concat(it,"-").concat(mt)}:Nt?{motionName:Nt}:null)}function Rn(it){return it.ownerDocument.defaultView}function Un(it){for(var yt=[],mt=it==null?void 0:it.parentElement,Nt=["hidden","scroll","clip","auto"];mt;){var qt=Rn(mt).getComputedStyle(mt),Cn=qt.overflowX,En=qt.overflowY,$n=qt.overflow;[Cn,En,$n].some(function(kn){return Nt.includes(kn)})&&yt.push(mt),mt=mt.parentElement}return yt}function tr(it){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(it)?yt:it}function gr(it){return tr(parseFloat(it),0)}function Br(it,yt){var mt=(0,ce.Z)({},it);return(yt||[]).forEach(function(Nt){if(!(Nt instanceof HTMLBodyElement||Nt instanceof HTMLHtmlElement)){var qt=Rn(Nt).getComputedStyle(Nt),Cn=qt.overflow,En=qt.overflowClipMargin,$n=qt.borderTopWidth,kn=qt.borderBottomWidth,ir=qt.borderLeftWidth,Nr=qt.borderRightWidth,er=Nt.getBoundingClientRect(),Fr=Nt.offsetHeight,Mr=Nt.clientHeight,Jr=Nt.offsetWidth,Wo=Nt.clientWidth,Io=gr($n),Yo=gr(kn),Fo=gr(ir),_o=gr(Nr),$r=tr(Math.round(er.width/Jr*1e3)/1e3),Na=tr(Math.round(er.height/Fr*1e3)/1e3),xa=(Jr-Wo-Fo-_o)*$r,Da=(Fr-Mr-Io-Yo)*Na,Ha=Io*Na,ii=Yo*Na,Sa=Fo*$r,ra=_o*$r,za=0,Va=0;if(Cn==="clip"){var Ta=gr(En);za=Ta*$r,Va=Ta*Na}var qo=er.x+Sa-za,ba=er.y+Ha-Va,Oo=qo+er.width+2*za-Sa-ra-xa,ei=ba+er.height+2*Va-Ha-ii-Da;mt.left=Math.max(mt.left,qo),mt.top=Math.max(mt.top,ba),mt.right=Math.min(mt.right,Oo),mt.bottom=Math.min(mt.bottom,ei)}}),mt}function dr(it){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,mt="".concat(yt),Nt=mt.match(/^(.*)\%$/);return Nt?it*(parseFloat(Nt[1])/100):parseFloat(mt)}function Xn(it,yt){var mt=yt||[],Nt=(0,ie.Z)(mt,2),qt=Nt[0],Cn=Nt[1];return[dr(it.width,qt),dr(it.height,Cn)]}function Rt(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[it[0],it[1]]}function Mt(it,yt){var mt=yt[0],Nt=yt[1],qt,Cn;return mt==="t"?Cn=it.y:mt==="b"?Cn=it.y+it.height:Cn=it.y+it.height/2,Nt==="l"?qt=it.x:Nt==="r"?qt=it.x+it.width:qt=it.x+it.width/2,{x:qt,y:Cn}}function Lt(it,yt){var mt={t:"b",b:"t",l:"r",r:"l"};return it.map(function(Nt,qt){return qt===yt?mt[Nt]||"c":Nt}).join("")}function In(it,yt,mt,Nt,qt,Cn,En){var $n=be.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:qt[Nt]||{}}),kn=(0,ie.Z)($n,2),ir=kn[0],Nr=kn[1],er=be.useRef(0),Fr=be.useMemo(function(){return yt?Un(yt):[]},[yt]),Mr=be.useRef({}),Jr=function(){Mr.current={}};it||Jr();var Wo=ot(function(){if(yt&&mt&&it){let to=function(Or,pr){var Qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ti,_r=pa.x+Or,Qr=pa.y+pr,Ao=_r+Aa,yo=Qr+qa,Vr=Math.max(_r,Qn.left),Do=Math.max(Qr,Qn.top),Ho=Math.min(Ao,Qn.right),sr=Math.min(yo,Qn.bottom);return Math.max(0,(Ho-Vr)*(sr-Do))},ur=function(){ps=pa.y+Ma,ks=ps+qa,As=pa.x+si,Fs=As+Aa};var Fo,_o,$r=yt,Na=$r.ownerDocument,xa=Rn($r),Da=xa.getComputedStyle($r),Ha=Da.width,ii=Da.height,Sa=Da.position,ra=$r.style.left,za=$r.style.top,Va=$r.style.right,Ta=$r.style.bottom,qo=(0,ce.Z)((0,ce.Z)({},qt[Nt]),Cn),ba=Na.createElement("div");(Fo=$r.parentElement)===null||Fo===void 0||Fo.appendChild(ba),ba.style.left="".concat($r.offsetLeft,"px"),ba.style.top="".concat($r.offsetTop,"px"),ba.style.position=Sa,ba.style.height="".concat($r.offsetHeight,"px"),ba.style.width="".concat($r.offsetWidth,"px"),$r.style.left="0",$r.style.top="0",$r.style.right="auto",$r.style.bottom="auto";var Oo;if(Array.isArray(mt))Oo={x:mt[0],y:mt[1],width:0,height:0};else{var ei=mt.getBoundingClientRect();Oo={x:ei.x,y:ei.y,width:ei.width,height:ei.height}}var pa=$r.getBoundingClientRect(),ri=Na.documentElement,Ci=ri.clientWidth,ui=ri.clientHeight,Ii=ri.scrollWidth,ji=ri.scrollHeight,ma=ri.scrollTop,Oi=ri.scrollLeft,qa=pa.height,Aa=pa.width,oi=Oo.height,Gi=Oo.width,ds={left:0,top:0,right:Ci,bottom:ui},Ps={left:-Oi,top:-ma,right:Ii-Oi,bottom:ji-ma},bi=qo.htmlRegion,mi="visible",$i="visibleFirst";bi!=="scroll"&&bi!==$i&&(bi=mi);var vi=bi===$i,Ra=Br(Ps,Fr),xo=Br(ds,Fr),ti=bi===mi?xo:Ra,Ei=vi?xo:ti;$r.style.left="auto",$r.style.top="auto",$r.style.right="0",$r.style.bottom="0";var Xi=$r.getBoundingClientRect();$r.style.left=ra,$r.style.top=za,$r.style.right=Va,$r.style.bottom=Ta,(_o=$r.parentElement)===null||_o===void 0||_o.removeChild(ba);var ws=tr(Math.round(Aa/parseFloat(Ha)*1e3)/1e3),fs=tr(Math.round(qa/parseFloat(ii)*1e3)/1e3);if(ws===0||fs===0||bn(mt)&&!po(mt))return;var ul=qo.offset,Ks=qo.targetOffset,Yi=Xn(pa,ul),el=(0,ie.Z)(Yi,2),Ji=el[0],_i=el[1],Ls=Xn(Oo,Ks),Qi=(0,ie.Z)(Ls,2),dl=Qi[0],vl=Qi[1];Oo.x-=dl,Oo.y-=vl;var Ns=qo.points||[],Wi=(0,ie.Z)(Ns,2),Cs=Wi[0],yl=Wi[1],gs=Rt(yl),Ni=Rt(Cs),fl=Mt(Oo,gs),Zs=Mt(pa,Ni),Os=(0,ce.Z)({},qo),si=fl.x-Zs.x+Ji,Ma=fl.y-Zs.y+_i,rs=to(si,Ma),hs=to(si,Ma,xo),Vs=Mt(Oo,["t","l"]),tl=Mt(pa,["t","l"]),Xs=Mt(Oo,["b","r"]),qi=Mt(pa,["b","r"]),Ds=qo.overflow||{},gl=Ds.adjustX,Ys=Ds.adjustY,nl=Ds.shiftX,rl=Ds.shiftY,ol=function(pr){return typeof pr=="boolean"?pr:pr>=0},ps,ks,As,Fs;ur();var Bs=ol(Ys),hl=Ni[0]===gs[0];if(Bs&&Ni[0]==="t"&&(ks>Ei.bottom||Mr.current.bt)){var os=Ma;hl?os-=qa-oi:os=Vs.y-qi.y-_i;var al=to(si,os),Di=to(si,os,xo);al>rs||al===rs&&(!vi||Di>=hs)?(Mr.current.bt=!0,Ma=os,_i=-_i,Os.points=[Lt(Ni,0),Lt(gs,0)]):Mr.current.bt=!1}if(Bs&&Ni[0]==="b"&&(ps<Ei.top||Mr.current.tb)){var Rs=Ma;hl?Rs+=qa-oi:Rs=Xs.y-tl.y-_i;var il=to(si,Rs),pl=to(si,Rs,xo);il>rs||il===rs&&(!vi||pl>=hs)?(Mr.current.tb=!0,Ma=Rs,_i=-_i,Os.points=[Lt(Ni,0),Lt(gs,0)]):Mr.current.tb=!1}var sl=ol(gl),Ki=Ni[1]===gs[1];if(sl&&Ni[1]==="l"&&(Fs>Ei.right||Mr.current.rl)){var Ms=si;Ki?Ms-=Aa-Gi:Ms=Vs.x-qi.x-Ji;var ll=to(Ms,Ma),De=to(Ms,Ma,xo);ll>rs||ll===rs&&(!vi||De>=hs)?(Mr.current.rl=!0,si=Ms,Ji=-Ji,Os.points=[Lt(Ni,1),Lt(gs,1)]):Mr.current.rl=!1}if(sl&&Ni[1]==="r"&&(As<Ei.left||Mr.current.lr)){var Fe=si;Ki?Fe+=Aa-Gi:Fe=Xs.x-tl.x-Ji;var et=to(Fe,Ma),lt=to(Fe,Ma,xo);et>rs||et===rs&&(!vi||lt>=hs)?(Mr.current.lr=!0,si=Fe,Ji=-Ji,Os.points=[Lt(Ni,1),Lt(gs,1)]):Mr.current.lr=!1}ur();var pt=nl===!0?0:nl;typeof pt=="number"&&(As<xo.left&&(si-=As-xo.left-Ji,Oo.x+Gi<xo.left+pt&&(si+=Oo.x-xo.left+Gi-pt)),Fs>xo.right&&(si-=Fs-xo.right-Ji,Oo.x>xo.right-pt&&(si+=Oo.x-xo.right+pt)));var vt=rl===!0?0:rl;typeof vt=="number"&&(ps<xo.top&&(Ma-=ps-xo.top-_i,Oo.y+oi<xo.top+vt&&(Ma+=Oo.y-xo.top+oi-vt)),ks>xo.bottom&&(Ma-=ks-xo.bottom-_i,Oo.y>xo.bottom-vt&&(Ma+=Oo.y-xo.bottom+vt)));var xt=pa.x+si,jt=xt+Aa,It=pa.y+Ma,Gt=It+qa,tn=Oo.x,Vt=tn+Gi,_n=Oo.y,xn=_n+oi,Ln=Math.max(xt,tn),Yn=Math.min(jt,Vt),Kn=(Ln+Yn)/2,Jn=Kn-xt,Zn=Math.max(It,_n),or=Math.min(Gt,xn),Ir=(Zn+or)/2,zr=Ir-It;En==null||En(yt,Os);var Lr=Xi.right-pa.x-(si+pa.width),uo=Xi.bottom-pa.y-(Ma+pa.height);Nr({ready:!0,offsetX:si/ws,offsetY:Ma/fs,offsetR:Lr/ws,offsetB:uo/fs,arrowX:Jn/ws,arrowY:zr/fs,scaleX:ws,scaleY:fs,align:Os})}}),Io=function(){er.current+=1;var _o=er.current;Promise.resolve().then(function(){er.current===_o&&Wo()})},Yo=function(){Nr(function(_o){return(0,ce.Z)((0,ce.Z)({},_o),{},{ready:!1})})};return yn(Yo,[Nt]),yn(function(){it||Yo()},[it]),[ir.ready,ir.offsetX,ir.offsetY,ir.offsetR,ir.offsetB,ir.arrowX,ir.arrowY,ir.scaleX,ir.scaleY,ir.align,Io]}function Gn(it,yt,mt,Nt,qt){yn(function(){if(it&&yt&&mt){let er=function(){Nt(),qt()};var Cn=yt,En=mt,$n=Un(Cn),kn=Un(En),ir=Rn(En),Nr=new Set([ir].concat((0,xe.Z)($n),(0,xe.Z)(kn)));return Nr.forEach(function(Fr){Fr.addEventListener("scroll",er,{passive:!0})}),ir.addEventListener("resize",er,{passive:!0}),Nt(),function(){Nr.forEach(function(Fr){Fr.removeEventListener("scroll",er),ir.removeEventListener("resize",er)})}}},[it,yt,mt])}function Wn(it){var yt=React.useRef(!1),mt=React.useState(it),Nt=_slicedToArray(mt,2),qt=Nt[0],Cn=Nt[1];React.useEffect(function(){return yt.current=!1,function(){yt.current=!0}},[]);function En($n,kn){kn&&yt.current||Cn($n)}return[qt,En]}function mr(it){return it!==void 0}function wr(it,yt){var mt=yt||{},Nt=mt.defaultValue,qt=mt.value,Cn=mt.onChange,En=mt.postState,$n=useState(function(){return mr(qt)?qt:mr(Nt)?typeof Nt=="function"?Nt():Nt:typeof it=="function"?it():it}),kn=_slicedToArray($n,2),ir=kn[0],Nr=kn[1],er=qt!==void 0?qt:ir,Fr=En?En(er):er,Mr=useEvent(Cn),Jr=useState([er]),Wo=_slicedToArray(Jr,2),Io=Wo[0],Yo=Wo[1];useLayoutUpdateEffect(function(){var _o=Io[0];ir!==_o&&Mr(ir,_o)},[Io]),useLayoutUpdateEffect(function(){mr(qt)||Nr(qt)},[qt]);var Fo=useEvent(function(_o,$r){Nr(_o,$r),Yo([er],$r)});return[Fr,Fo]}var Rr=me(95845);function qr(it,yt,mt){var Nt=be.useRef({});return(!("value"in Nt.current)||mt(Nt.current.condition,yt))&&(Nt.current.value=it(),Nt.current.condition=yt),Nt.current.value}function mo(it,yt){typeof it=="function"?it(yt):(0,ue.Z)(it)==="object"&&it&&"current"in it&&(it.current=yt)}function Tn(){for(var it=arguments.length,yt=new Array(it),mt=0;mt<it;mt++)yt[mt]=arguments[mt];var Nt=yt.filter(function(qt){return qt});return Nt.length<=1?Nt[0]:function(qt){yt.forEach(function(Cn){mo(Cn,qt)})}}function Ur(){for(var it=arguments.length,yt=new Array(it),mt=0;mt<it;mt++)yt[mt]=arguments[mt];return qr(function(){return Tn.apply(void 0,yt)},yt,function(Nt,qt){return Nt.length!==qt.length||Nt.every(function(Cn,En){return Cn!==qt[En]})})}function bo(it){var yt,mt,Nt=(0,Rr.isMemo)(it)?it.type.type:it.type;return!(typeof Nt=="function"&&!((yt=Nt.prototype)!==null&&yt!==void 0&&yt.render)||typeof it=="function"&&!((mt=it.prototype)!==null&&mt!==void 0&&mt.render))}function ca(it){return!isValidElement(it)||isFragment(it)?!1:bo(it)}function Ko(it,yt,mt,Nt){if(!yt.length)return mt;var qt=_toArray(yt),Cn=qt[0],En=qt.slice(1),$n;return!it&&typeof Cn=="number"?$n=[]:Array.isArray(it)?$n=_toConsumableArray(it):$n=_objectSpread({},it),Nt&&mt===void 0&&En.length===1?delete $n[Cn][En[0]]:$n[Cn]=Ko($n[Cn],En,mt,Nt),$n}function jo(it,yt,mt){var Nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return yt.length&&Nt&&mt===void 0&&!get(it,yt.slice(0,-1))?it:Ko(it,yt,mt,Nt)}function ia(it){return _typeof(it)==="object"&&it!==null&&Object.getPrototypeOf(it)===Object.prototype}function ho(it){return Array.isArray(it)?[]:{}}var Dt=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function nn(){for(var it=arguments.length,yt=new Array(it),mt=0;mt<it;mt++)yt[mt]=arguments[mt];var Nt=ho(yt[0]);return yt.forEach(function(qt){function Cn(En,$n){var kn=new Set($n),ir=get(qt,En),Nr=Array.isArray(ir);if(Nr||ia(ir)){if(!kn.has(ir)){kn.add(ir);var er=get(Nt,En);Nr?Nt=jo(Nt,En,[]):(!er||_typeof(er)!=="object")&&(Nt=jo(Nt,En,ho(ir))),Dt(ir).forEach(function(Fr){Cn([].concat(_toConsumableArray(En),[Fr]),kn)})}}else Nt=jo(Nt,En,ir)}Cn([])}),Nt}var rn={},mn=[],zn=function(yt){mn.push(yt)};function Sn(it,yt){if(0)var mt}function Nn(it,yt){if(0)var mt}function _t(){rn={}}function yr(it,yt,mt){!yt&&!rn[mt]&&(it(!1,mt),rn[mt]=!0)}function Cr(it,yt){yr(Sn,it,yt)}function hr(it,yt){yr(Nn,it,yt)}Cr.preMessage=zn,Cr.resetWarned=_t,Cr.noteOnce=hr;var So=null,wn=function(yt){return+setTimeout(yt,16)},qn=function(yt){return clearTimeout(yt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(wn=function(yt){return window.requestAnimationFrame(yt)},qn=function(yt){return window.cancelAnimationFrame(yt)});var jr=0,ar=new Map;function Po(it){ar.delete(it)}var so=function(yt){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;jr+=1;var Nt=jr;function qt(Cn){if(Cn===0)Po(Nt),yt();else{var En=wn(function(){qt(Cn-1)});ar.set(Nt,En)}}return qt(mt),Nt};so.cancel=function(it){var yt=ar.get(it);return Po(yt),qn(yt)};var zo=so;function Zo(it,yt,mt,Nt,qt,Cn,En,$n){var kn=be.useRef(it),ir=be.useRef(!1);kn.current!==it&&(ir.current=!0,kn.current=it),be.useEffect(function(){var Nr=zo(function(){ir.current=!1});return function(){zo.cancel(Nr)}},[it]),be.useEffect(function(){if(yt&&Nt&&(!qt||Cn)){var Nr=function(){var Sa=!1,ra=function(Ta){var qo=Ta.target;Sa=En(qo)},za=function(Ta){var qo=Ta.target;!ir.current&&kn.current&&!Sa&&!En(qo)&&$n(!1)};return[ra,za]},er=Nr(),Fr=(0,ie.Z)(er,2),Mr=Fr[0],Jr=Fr[1],Wo=Nr(),Io=(0,ie.Z)(Wo,2),Yo=Io[0],Fo=Io[1],_o=Rn(Nt);_o.addEventListener("mousedown",Mr,!0),_o.addEventListener("click",Jr,!0),_o.addEventListener("contextmenu",Jr,!0);var $r=zt(mt);if($r&&($r.addEventListener("mousedown",Yo,!0),$r.addEventListener("click",Fo,!0),$r.addEventListener("contextmenu",Fo,!0)),0)var Na,xa,Da,Ha;return function(){_o.removeEventListener("mousedown",Mr,!0),_o.removeEventListener("click",Jr,!0),_o.removeEventListener("contextmenu",Jr,!0),$r&&($r.removeEventListener("mousedown",Yo,!0),$r.removeEventListener("click",Fo,!0),$r.removeEventListener("contextmenu",Fo,!0))}}},[yt,mt,Nt,qt,Cn])}function Vo(it){return it instanceof HTMLElement||it instanceof SVGElement}function Ct(it){return Vo(it)?it:it instanceof be.Component?ae.findDOMNode(it):null}function Et(it,yt){var mt={};return mt[it.toLowerCase()]=yt.toLowerCase(),mt["Webkit".concat(it)]="webkit".concat(yt),mt["Moz".concat(it)]="moz".concat(yt),mt["ms".concat(it)]="MS".concat(yt),mt["O".concat(it)]="o".concat(yt.toLowerCase()),mt}function Wt(it,yt){var mt={animationend:Et("Animation","AnimationEnd"),transitionend:Et("Transition","TransitionEnd")};return it&&("AnimationEvent"in yt||delete mt.animationend.animation,"TransitionEvent"in yt||delete mt.transitionend.transition),mt}var gn=Wt(oe(),typeof window!="undefined"?window:{}),On={};if(oe()){var lr=document.createElement("div");On=lr.style}var Sr={};function Tr(it){if(Sr[it])return Sr[it];var yt=gn[it];if(yt)for(var mt=Object.keys(yt),Nt=mt.length,qt=0;qt<Nt;qt+=1){var Cn=mt[qt];if(Object.prototype.hasOwnProperty.call(yt,Cn)&&Cn in On)return Sr[it]=yt[Cn],Sr[it]}return""}var Xr=Tr("animationend"),lo=Tr("transitionend"),Yr=!!(Xr&&lo),ao=Xr||"animationend",Co=lo||"transitionend";function Ro(it,yt){if(!it)return null;if((0,ue.Z)(it)==="object"){var mt=yt.replace(/-\w/g,function(Nt){return Nt[1].toUpperCase()});return it[mt]}return"".concat(it,"-").concat(yt)}var To="none",Uo="appear",Lo="enter",Go="leave",Hr="none",Ot="prepare",Ut="start",Zt="active",dt="end";function on(it){var yt=be.useRef(!1),mt=be.useState(it),Nt=(0,ie.Z)(mt,2),qt=Nt[0],Cn=Nt[1];be.useEffect(function(){return yt.current=!1,function(){yt.current=!0}},[]);function En($n,kn){kn&&yt.current||Cn($n)}return[qt,En]}var Mn=function(yt){return+setTimeout(yt,16)},Hn=function(yt){return clearTimeout(yt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Mn=function(yt){return window.requestAnimationFrame(yt)},Hn=function(yt){return window.cancelAnimationFrame(yt)});var Ht=0,Yt=new Map;function Kt(it){Yt.delete(it)}var Jt=function(yt){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ht+=1;var Nt=Ht;function qt(Cn){if(Cn===0)Kt(Nt),yt();else{var En=Mn(function(){qt(Cn-1)});Yt.set(Nt,En)}}return qt(mt),Nt};Jt.cancel=function(it){var yt=Yt.get(it);return Kt(yt),Hn(yt)};var Xt=Jt,ln=function(){var it=be.useRef(null);function yt(){Xt.cancel(it.current)}function mt(Nt){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;yt();var Cn=Xt(function(){qt<=1?Nt({isCanceled:function(){return Cn!==it.current}}):mt(Nt,qt-1)});it.current=Cn}return be.useEffect(function(){return function(){yt()}},[]),[mt,yt]},pn=oe()?be.useLayoutEffect:be.useEffect,Vn=pn,nr=[Ot,Ut,Zt,dt],Er=!1,Dn=!0;function fr(it){return it===Zt||it===dt}var ut=function(it,yt){var mt=on(Hr),Nt=(0,ie.Z)(mt,2),qt=Nt[0],Cn=Nt[1],En=ln(),$n=(0,ie.Z)(En,2),kn=$n[0],ir=$n[1];function Nr(){Cn(Ot,!0)}return Vn(function(){if(qt!==Hr&&qt!==dt){var er=nr.indexOf(qt),Fr=nr[er+1],Mr=yt(qt);Mr===Er?Cn(Fr,!0):kn(function(Jr){function Wo(){Jr.isCanceled()||Cn(Fr,!0)}Mr===!0?Wo():Promise.resolve(Mr).then(Wo)})}},[it,qt]),be.useEffect(function(){return function(){ir()}},[]),[Nr,qt]},ct=function(it){var yt=(0,be.useRef)(),mt=(0,be.useRef)(it);mt.current=it;var Nt=be.useCallback(function(En){mt.current(En)},[]);function qt(En){En&&(En.removeEventListener(Co,Nt),En.removeEventListener(ao,Nt))}function Cn(En){yt.current&&yt.current!==En&&qt(yt.current),En&&En!==yt.current&&(En.addEventListener(Co,Nt),En.addEventListener(ao,Nt),yt.current=En)}return be.useEffect(function(){return function(){qt(yt.current)}},[]),[Cn,qt]};function wt(it,yt,mt,Nt){var qt=Nt.motionEnter,Cn=qt===void 0?!0:qt,En=Nt.motionAppear,$n=En===void 0?!0:En,kn=Nt.motionLeave,ir=kn===void 0?!0:kn,Nr=Nt.motionDeadline,er=Nt.motionLeaveImmediately,Fr=Nt.onAppearPrepare,Mr=Nt.onEnterPrepare,Jr=Nt.onLeavePrepare,Wo=Nt.onAppearStart,Io=Nt.onEnterStart,Yo=Nt.onLeaveStart,Fo=Nt.onAppearActive,_o=Nt.onEnterActive,$r=Nt.onLeaveActive,Na=Nt.onAppearEnd,xa=Nt.onEnterEnd,Da=Nt.onLeaveEnd,Ha=Nt.onVisibleChanged,ii=on(),Sa=(0,ie.Z)(ii,2),ra=Sa[0],za=Sa[1],Va=on(To),Ta=(0,ie.Z)(Va,2),qo=Ta[0],ba=Ta[1],Oo=on(null),ei=(0,ie.Z)(Oo,2),pa=ei[0],ri=ei[1],Ci=(0,be.useRef)(!1),ui=(0,be.useRef)(null);function Ii(){return mt()}var ji=(0,be.useRef)(!1);function ma(Ra){var xo=Ii();if(!(Ra&&!Ra.deadline&&Ra.target!==xo)){var ti=ji.current,Ei;qo===Uo&&ti?Ei=Na==null?void 0:Na(xo,Ra):qo===Lo&&ti?Ei=xa==null?void 0:xa(xo,Ra):qo===Go&&ti&&(Ei=Da==null?void 0:Da(xo,Ra)),qo!==To&&ti&&Ei!==!1&&(ba(To,!0),ri(null,!0))}}var Oi=ct(ma),qa=(0,ie.Z)(Oi,1),Aa=qa[0],oi=be.useMemo(function(){var Ra,xo,ti;switch(qo){case Uo:return Ra={},(0,re.Z)(Ra,Ot,Fr),(0,re.Z)(Ra,Ut,Wo),(0,re.Z)(Ra,Zt,Fo),Ra;case Lo:return xo={},(0,re.Z)(xo,Ot,Mr),(0,re.Z)(xo,Ut,Io),(0,re.Z)(xo,Zt,_o),xo;case Go:return ti={},(0,re.Z)(ti,Ot,Jr),(0,re.Z)(ti,Ut,Yo),(0,re.Z)(ti,Zt,$r),ti;default:return{}}},[qo]),Gi=ut(qo,function(Ra){if(Ra===Ot){var xo=oi[Ot];return xo?xo(Ii()):Er}if(bi in oi){var ti;ri(((ti=oi[bi])===null||ti===void 0?void 0:ti.call(oi,Ii(),null))||null)}return bi===Zt&&(Aa(Ii()),Nr>0&&(clearTimeout(ui.current),ui.current=setTimeout(function(){ma({deadline:!0})},Nr))),Dn}),ds=(0,ie.Z)(Gi,2),Ps=ds[0],bi=ds[1],mi=fr(bi);ji.current=mi,Vn(function(){za(yt);var Ra=Ci.current;if(Ci.current=!0,!!it){var xo;!Ra&&yt&&$n&&(xo=Uo),Ra&&yt&&Cn&&(xo=Lo),(Ra&&!yt&&ir||!Ra&&er&&!yt&&ir)&&(xo=Go),xo&&(ba(xo),Ps())}},[yt]),(0,be.useEffect)(function(){(qo===Uo&&!$n||qo===Lo&&!Cn||qo===Go&&!ir)&&ba(To)},[$n,Cn,ir]),(0,be.useEffect)(function(){return function(){Ci.current=!1,clearTimeout(ui.current)}},[]);var $i=be.useRef(!1);(0,be.useEffect)(function(){ra&&($i.current=!0),ra!==void 0&&qo===To&&(($i.current||ra)&&(Ha==null||Ha(ra)),$i.current=!0)},[ra,qo]);var vi=pa;return oi[Ot]&&bi===Ut&&(vi=(0,ce.Z)({transition:"none"},vi)),[qo,bi,vi,ra!=null?ra:yt]}var Bt=me(15671),Qt=me(43144),an=me(60136),en=me(51630),sn=function(it){(0,an.Z)(mt,it);var yt=(0,en.Z)(mt);function mt(){return(0,Bt.Z)(this,mt),yt.apply(this,arguments)}return(0,Qt.Z)(mt,[{key:"render",value:function(){return this.props.children}}]),mt}(be.Component),hn=sn;function cn(it){var yt=it;(0,ue.Z)(it)==="object"&&(yt=it.transitionSupport);function mt(qt){return!!(qt.motionName&&yt)}var Nt=be.forwardRef(function(qt,Cn){var En=qt.visible,$n=En===void 0?!0:En,kn=qt.removeOnLeave,ir=kn===void 0?!0:kn,Nr=qt.forceRender,er=qt.children,Fr=qt.motionName,Mr=qt.leavedClassName,Jr=qt.eventProps,Wo=mt(qt),Io=(0,be.useRef)(),Yo=(0,be.useRef)();function Fo(){try{return Io.current instanceof HTMLElement?Io.current:Ct(Yo.current)}catch(Oo){return null}}var _o=wt(Wo,$n,Fo,qt),$r=(0,ie.Z)(_o,4),Na=$r[0],xa=$r[1],Da=$r[2],Ha=$r[3],ii=be.useRef(Ha);Ha&&(ii.current=!0);var Sa=be.useCallback(function(Oo){Io.current=Oo,ve(Cn,Oo)},[Cn]),ra,za=(0,ce.Z)((0,ce.Z)({},Jr),{},{visible:$n});if(!er)ra=null;else if(Na===To||!mt(qt))Ha?ra=er((0,ce.Z)({},za),Sa):!ir&&ii.current&&Mr?ra=er((0,ce.Z)((0,ce.Z)({},za),{},{className:Mr}),Sa):Nr||!ir&&!Mr?ra=er((0,ce.Z)((0,ce.Z)({},za),{},{style:{display:"none"}}),Sa):ra=null;else{var Va,Ta;xa===Ot?Ta="prepare":fr(xa)?Ta="active":xa===Ut&&(Ta="start"),ra=er((0,ce.Z)((0,ce.Z)({},za),{},{className:fe()(Ro(Fr,Na),(Va={},(0,re.Z)(Va,Ro(Fr,"".concat(Na,"-").concat(Ta)),Ta),(0,re.Z)(Va,Fr,typeof Fr=="string"),Va)),style:Da}),Sa)}if(be.isValidElement(ra)&&ye(ra)){var qo=ra,ba=qo.ref;ba||(ra=be.cloneElement(ra,{ref:Sa}))}return be.createElement(hn,{ref:Yo},ra)});return Nt.displayName="CSSMotion",Nt}var jn=cn(Yr),Fn=me(97326),rr="add",xr="keep",br="remove",eo="removed";function co(it){var yt;return it&&(0,ue.Z)(it)==="object"&&"key"in it?yt=it:yt={key:it},(0,ce.Z)((0,ce.Z)({},yt),{},{key:String(yt.key)})}function Eo(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return it.map(co)}function kr(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],mt=[],Nt=0,qt=yt.length,Cn=Eo(it),En=Eo(yt);Cn.forEach(function(ir){for(var Nr=!1,er=Nt;er<qt;er+=1){var Fr=En[er];if(Fr.key===ir.key){Nt<er&&(mt=mt.concat(En.slice(Nt,er).map(function(Mr){return(0,ce.Z)((0,ce.Z)({},Mr),{},{status:rr})})),Nt=er),mt.push((0,ce.Z)((0,ce.Z)({},Fr),{},{status:xr})),Nt+=1,Nr=!0;break}}Nr||mt.push((0,ce.Z)((0,ce.Z)({},ir),{},{status:br}))}),Nt<qt&&(mt=mt.concat(En.slice(Nt).map(function(ir){return(0,ce.Z)((0,ce.Z)({},ir),{},{status:rr})})));var $n={};mt.forEach(function(ir){var Nr=ir.key;$n[Nr]=($n[Nr]||0)+1});var kn=Object.keys($n).filter(function(ir){return $n[ir]>1});return kn.forEach(function(ir){mt=mt.filter(function(Nr){var er=Nr.key,Fr=Nr.status;return er!==ir||Fr!==br}),mt.forEach(function(Nr){Nr.key===ir&&(Nr.status=xr)})}),mt}var Mo=["component","children","onVisibleChanged","onAllRemoved"],vo=["status"],No=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ga(it){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:jn,mt=function(Nt){(0,an.Z)(Cn,Nt);var qt=(0,en.Z)(Cn);function Cn(){var En;(0,Bt.Z)(this,Cn);for(var $n=arguments.length,kn=new Array($n),ir=0;ir<$n;ir++)kn[ir]=arguments[ir];return En=qt.call.apply(qt,[this].concat(kn)),(0,re.Z)((0,Fn.Z)(En),"state",{keyEntities:[]}),(0,re.Z)((0,Fn.Z)(En),"removeKey",function(Nr){var er=En.state.keyEntities,Fr=er.map(function(Mr){return Mr.key!==Nr?Mr:(0,ce.Z)((0,ce.Z)({},Mr),{},{status:eo})});return En.setState({keyEntities:Fr}),Fr.filter(function(Mr){var Jr=Mr.status;return Jr!==eo}).length}),En}return(0,Qt.Z)(Cn,[{key:"render",value:function(){var $n=this,kn=this.state.keyEntities,ir=this.props,Nr=ir.component,er=ir.children,Fr=ir.onVisibleChanged,Mr=ir.onAllRemoved,Jr=(0,le.Z)(ir,Mo),Wo=Nr||be.Fragment,Io={};return No.forEach(function(Yo){Io[Yo]=Jr[Yo],delete Jr[Yo]}),delete Jr.keys,be.createElement(Wo,Jr,kn.map(function(Yo){var Fo=Yo.status,_o=(0,le.Z)(Yo,vo),$r=Fo===rr||Fo===xr;return be.createElement(yt,(0,se.Z)({},Io,{key:_o.key,visible:$r,eventProps:_o,onVisibleChanged:function(xa){if(Fr==null||Fr(xa,{key:_o.key}),!xa){var Da=$n.removeKey(_o.key);Da===0&&Mr&&Mr()}}}),er)}))}}],[{key:"getDerivedStateFromProps",value:function($n,kn){var ir=$n.keys,Nr=kn.keyEntities,er=Eo(ir),Fr=kr(Nr,er);return{keyEntities:Fr.filter(function(Mr){var Jr=Nr.find(function(Wo){var Io=Wo.key;return Mr.key===Io});return!(Jr&&Jr.status===eo&&Mr.status===br)})}}}]),Cn}(be.Component);return(0,re.Z)(mt,"defaultProps",{component:"div"}),mt}var Fa=ga(Yr),na=jn;function La(it){var yt=it.prefixCls,mt=it.align,Nt=it.arrow,qt=it.arrowPos,Cn=Nt||{},En=Cn.className,$n=Cn.content,kn=qt.x,ir=kn===void 0?0:kn,Nr=qt.y,er=Nr===void 0?0:Nr,Fr=be.useRef();if(!mt||!mt.points)return null;var Mr={position:"absolute"};if(mt.autoArrow!==!1){var Jr=mt.points[0],Wo=mt.points[1],Io=Jr[0],Yo=Jr[1],Fo=Wo[0],_o=Wo[1];Io===Fo||!["t","b"].includes(Io)?Mr.top=er:Io==="t"?Mr.top=0:Mr.bottom=0,Yo===_o||!["l","r"].includes(Yo)?Mr.left=ir:Yo==="l"?Mr.left=0:Mr.right=0}return be.createElement("div",{ref:Fr,className:fe()("".concat(yt,"-arrow"),En),style:Mr},$n)}function Qo(it){var yt=it.prefixCls,mt=it.open,Nt=it.zIndex,qt=it.mask,Cn=it.motion;return qt?be.createElement(na,(0,se.Z)({},Cn,{motionAppear:!0,visible:mt,removeOnLeave:!0}),function(En){var $n=En.className;return be.createElement("div",{style:{zIndex:Nt},className:fe()("".concat(yt,"-mask"),$n)})}):null}var Ga=be.memo(function(it){var yt=it.children;return yt},function(it,yt){return yt.cache}),Ca=Ga,Ia=be.forwardRef(function(it,yt){var mt=it.popup,Nt=it.className,qt=it.prefixCls,Cn=it.style,En=it.target,$n=it.onVisibleChanged,kn=it.open,ir=it.keepDom,Nr=it.fresh,er=it.onClick,Fr=it.mask,Mr=it.arrow,Jr=it.arrowPos,Wo=it.align,Io=it.motion,Yo=it.maskMotion,Fo=it.forceRender,_o=it.getPopupContainer,$r=it.autoDestroy,Na=it.portal,xa=it.zIndex,Da=it.onMouseEnter,Ha=it.onMouseLeave,ii=it.onPointerEnter,Sa=it.ready,ra=it.offsetX,za=it.offsetY,Va=it.offsetR,Ta=it.offsetB,qo=it.onAlign,ba=it.onPrepare,Oo=it.stretch,ei=it.targetWidth,pa=it.targetHeight,ri=typeof mt=="function"?mt():mt,Ci=kn||ir,ui=(_o==null?void 0:_o.length)>0,Ii=be.useState(!_o||!ui),ji=(0,ie.Z)(Ii,2),ma=ji[0],Oi=ji[1];if(yn(function(){!ma&&ui&&En&&Oi(!0)},[ma,ui,En]),!ma)return null;var qa="auto",Aa={left:"-1000vw",top:"-1000vh",right:qa,bottom:qa};if(Sa||!kn){var oi,Gi=Wo.points,ds=Wo.dynamicInset||((oi=Wo._experimental)===null||oi===void 0?void 0:oi.dynamicInset),Ps=ds&&Gi[0][1]==="r",bi=ds&&Gi[0][0]==="b";Ps?(Aa.right=Va,Aa.left=qa):(Aa.left=ra,Aa.right=qa),bi?(Aa.bottom=Ta,Aa.top=qa):(Aa.top=za,Aa.bottom=qa)}var mi={};return Oo&&(Oo.includes("height")&&pa?mi.height=pa:Oo.includes("minHeight")&&pa&&(mi.minHeight=pa),Oo.includes("width")&&ei?mi.width=ei:Oo.includes("minWidth")&&ei&&(mi.minWidth=ei)),kn||(mi.pointerEvents="none"),be.createElement(Na,{open:Fo||Ci,getContainer:_o&&function(){return _o(En)},autoDestroy:$r},be.createElement(Qo,{prefixCls:qt,open:kn,zIndex:xa,mask:Fr,motion:Yo}),be.createElement(At.Z,{onResize:qo,disabled:!kn},function($i){return be.createElement(na,(0,se.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Fo,leavedClassName:"".concat(qt,"-hidden")},Io,{onAppearPrepare:ba,onEnterPrepare:ba,visible:kn,onVisibleChanged:function(Ra){var xo;Io==null||(xo=Io.onVisibleChanged)===null||xo===void 0||xo.call(Io,Ra),$n(Ra)}}),function(vi,Ra){var xo=vi.className,ti=vi.style,Ei=fe()(qt,xo,Nt);return be.createElement("div",{ref:Tn($i,yt,Ra),className:Ei,style:(0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)({"--arrow-x":"".concat(Jr.x||0,"px"),"--arrow-y":"".concat(Jr.y||0,"px")},Aa),mi),ti),{},{boxSizing:"border-box",zIndex:xa},Cn),onMouseEnter:Da,onMouseLeave:Ha,onPointerEnter:ii,onClick:er},Mr&&be.createElement(La,{prefixCls:qt,arrow:Mr,arrowPos:Jr,align:Wo}),be.createElement(Ca,{cache:!kn&&!Nr},ri))})}))}),_a=Ia,ni=be.forwardRef(function(it,yt){var mt=it.children,Nt=it.getTriggerDOMNode,qt=bo(mt),Cn=be.useCallback(function($n){mo(yt,Nt?Nt($n):$n)},[Nt]),En=Ur(Cn,mt.ref);return qt?be.cloneElement(mt,{ref:En}):mt}),Ka=ni,ja=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function ko(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pt,yt=be.forwardRef(function(mt,Nt){var qt=mt.prefixCls,Cn=qt===void 0?"rc-trigger-popup":qt,En=mt.children,$n=mt.action,kn=$n===void 0?"hover":$n,ir=mt.showAction,Nr=mt.hideAction,er=mt.popupVisible,Fr=mt.defaultPopupVisible,Mr=mt.onPopupVisibleChange,Jr=mt.afterPopupVisibleChange,Wo=mt.mouseEnterDelay,Io=mt.mouseLeaveDelay,Yo=Io===void 0?.1:Io,Fo=mt.focusDelay,_o=mt.blurDelay,$r=mt.mask,Na=mt.maskClosable,xa=Na===void 0?!0:Na,Da=mt.getPopupContainer,Ha=mt.forceRender,ii=mt.autoDestroy,Sa=mt.destroyPopupOnHide,ra=mt.popup,za=mt.popupClassName,Va=mt.popupStyle,Ta=mt.popupPlacement,qo=mt.builtinPlacements,ba=qo===void 0?{}:qo,Oo=mt.popupAlign,ei=mt.zIndex,pa=mt.stretch,ri=mt.getPopupClassNameFromAlign,Ci=mt.fresh,ui=mt.alignPoint,Ii=mt.onPopupClick,ji=mt.onPopupAlign,ma=mt.arrow,Oi=mt.popupMotion,qa=mt.maskMotion,Aa=mt.popupTransitionName,oi=mt.popupAnimation,Gi=mt.maskTransitionName,ds=mt.maskAnimation,Ps=mt.className,bi=mt.getTriggerDOMNode,mi=(0,le.Z)(mt,ja),$i=ii||Sa||!1,vi=be.useState(!1),Ra=(0,ie.Z)(vi,2),xo=Ra[0],ti=Ra[1];yn(function(){ti(cr())},[]);var Ei=be.useRef({}),Xi=be.useContext(Gr),ws=be.useMemo(function(){return{registerSubPopup:function(Ar,Bo){Ei.current[Ar]=Bo,Xi==null||Xi.registerSubPopup(Ar,Bo)}}},[Xi]),fs=un(),ul=be.useState(null),Ks=(0,ie.Z)(ul,2),Yi=Ks[0],el=Ks[1],Ji=ot(function(sr){bn(sr)&&Yi!==sr&&el(sr),Xi==null||Xi.registerSubPopup(fs,sr)}),_i=be.useState(null),Ls=(0,ie.Z)(_i,2),Qi=Ls[0],dl=Ls[1],vl=ot(function(sr){bn(sr)&&Qi!==sr&&dl(sr)}),Ns=be.Children.only(En),Wi=(Ns==null?void 0:Ns.props)||{},Cs={},yl=ot(function(sr){var Ar,Bo,$o=Qi;return($o==null?void 0:$o.contains(sr))||((Ar=zt($o))===null||Ar===void 0?void 0:Ar.host)===sr||sr===$o||(Yi==null?void 0:Yi.contains(sr))||((Bo=zt(Yi))===null||Bo===void 0?void 0:Bo.host)===sr||sr===Yi||Object.values(Ei.current).some(function(Dr){return(Dr==null?void 0:Dr.contains(sr))||sr===Dr})}),gs=Bn(Cn,Oi,oi,Aa),Ni=Bn(Cn,qa,ds,Gi),fl=be.useState(Fr||!1),Zs=(0,ie.Z)(fl,2),Os=Zs[0],si=Zs[1],Ma=er!=null?er:Os,rs=ot(function(sr){er===void 0&&si(sr)});yn(function(){si(er||!1)},[er]);var hs=be.useRef(Ma);hs.current=Ma;var Vs=ot(function(sr){(0,ae.flushSync)(function(){Ma!==sr&&(rs(sr),Mr==null||Mr(sr))})}),tl=be.useRef(),Xs=function(){clearTimeout(tl.current)},qi=function(Ar){var Bo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Xs(),Bo===0?Vs(Ar):tl.current=setTimeout(function(){Vs(Ar)},Bo*1e3)};be.useEffect(function(){return Xs},[]);var Ds=be.useState(!1),gl=(0,ie.Z)(Ds,2),Ys=gl[0],nl=gl[1];yn(function(sr){(!sr||Ma)&&nl(!0)},[Ma]);var rl=be.useState(null),ol=(0,ie.Z)(rl,2),ps=ol[0],ks=ol[1],As=be.useState([0,0]),Fs=(0,ie.Z)(As,2),Bs=Fs[0],hl=Fs[1],os=function(Ar){hl([Ar.clientX,Ar.clientY])},al=In(Ma,Yi,ui?Bs:Qi,Ta,ba,Oo,ji),Di=(0,ie.Z)(al,11),Rs=Di[0],il=Di[1],pl=Di[2],sl=Di[3],Ki=Di[4],Ms=Di[5],ll=Di[6],De=Di[7],Fe=Di[8],et=Di[9],lt=Di[10],pt=oo(xo,kn,ir,Nr),vt=(0,ie.Z)(pt,2),xt=vt[0],jt=vt[1],It=xt.has("click"),Gt=jt.has("click")||jt.has("contextMenu"),tn=ot(function(){Ys||lt()}),Vt=function(){hs.current&&ui&&Gt&&qi(!1)};Gn(Ma,Qi,Yi,tn,Vt),yn(function(){tn()},[Bs,Ta]),yn(function(){Ma&&!(ba!=null&&ba[Ta])&&tn()},[JSON.stringify(Oo)]);var _n=be.useMemo(function(){var sr=dn(ba,Cn,et,ui);return fe()(sr,ri==null?void 0:ri(et))},[et,ri,ba,Cn,ui]);be.useImperativeHandle(Nt,function(){return{forceAlign:tn}});var xn=be.useState(0),Ln=(0,ie.Z)(xn,2),Yn=Ln[0],Kn=Ln[1],Jn=be.useState(0),Zn=(0,ie.Z)(Jn,2),or=Zn[0],Ir=Zn[1],zr=function(){if(pa&&Qi){var Ar=Qi.getBoundingClientRect();Kn(Ar.width),Ir(Ar.height)}},Lr=function(){zr(),tn()},uo=function(Ar){nl(!1),lt(),Jr==null||Jr(Ar)},to=function(){return new Promise(function(Ar){zr(),ks(function(){return Ar})})};yn(function(){ps&&(lt(),ps(),ks(null))},[ps]);function ur(sr,Ar,Bo,$o){Cs[sr]=function(Dr){var $a;$o==null||$o(Dr),qi(Ar,Bo);for(var ea=arguments.length,ka=new Array(ea>1?ea-1:0),Ea=1;Ea<ea;Ea++)ka[Ea-1]=arguments[Ea];($a=Wi[sr])===null||$a===void 0||$a.call.apply($a,[Wi,Dr].concat(ka))}}(It||Gt)&&(Cs.onClick=function(sr){var Ar;hs.current&&Gt?qi(!1):!hs.current&&It&&(os(sr),qi(!0));for(var Bo=arguments.length,$o=new Array(Bo>1?Bo-1:0),Dr=1;Dr<Bo;Dr++)$o[Dr-1]=arguments[Dr];(Ar=Wi.onClick)===null||Ar===void 0||Ar.call.apply(Ar,[Wi,sr].concat($o))}),Zo(Ma,Gt,Qi,Yi,$r,xa,yl,qi);var Or=xt.has("hover"),pr=jt.has("hover"),Qn,_r;Or&&(ur("onMouseEnter",!0,Wo,function(sr){os(sr)}),ur("onPointerEnter",!0,Wo,function(sr){os(sr)}),Qn=function(){(Ma||Ys)&&qi(!0,Wo)},ui&&(Cs.onMouseMove=function(sr){var Ar;(Ar=Wi.onMouseMove)===null||Ar===void 0||Ar.call(Wi,sr)})),pr&&(ur("onMouseLeave",!1,Yo),ur("onPointerLeave",!1,Yo),_r=function(){qi(!1,Yo)}),xt.has("focus")&&ur("onFocus",!0,Fo),jt.has("focus")&&ur("onBlur",!1,_o),xt.has("contextMenu")&&(Cs.onContextMenu=function(sr){var Ar;hs.current&&jt.has("contextMenu")?qi(!1):(os(sr),qi(!0)),sr.preventDefault();for(var Bo=arguments.length,$o=new Array(Bo>1?Bo-1:0),Dr=1;Dr<Bo;Dr++)$o[Dr-1]=arguments[Dr];(Ar=Wi.onContextMenu)===null||Ar===void 0||Ar.call.apply(Ar,[Wi,sr].concat($o))}),Ps&&(Cs.className=fe()(Wi.className,Ps));var Qr=(0,ce.Z)((0,ce.Z)({},Wi),Cs),Ao={},yo=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];yo.forEach(function(sr){mi[sr]&&(Ao[sr]=function(){for(var Ar,Bo=arguments.length,$o=new Array(Bo),Dr=0;Dr<Bo;Dr++)$o[Dr]=arguments[Dr];(Ar=Qr[sr])===null||Ar===void 0||Ar.call.apply(Ar,[Qr].concat($o)),mi[sr].apply(mi,$o)})});var Vr=be.cloneElement(Ns,(0,ce.Z)((0,ce.Z)({},Qr),Ao)),Do={x:Ms,y:ll},Ho=ma?(0,ce.Z)({},ma!==!0?ma:{}):null;return be.createElement(be.Fragment,null,be.createElement(At.Z,{disabled:!Ma,ref:vl,onResize:Lr},be.createElement(Ka,{getTriggerDOMNode:bi},Vr)),be.createElement(Gr.Provider,{value:ws},be.createElement(_a,{portal:it,ref:Ji,prefixCls:Cn,popup:ra,className:fe()(za,_n),style:Va,target:Qi,onMouseEnter:Qn,onMouseLeave:_r,onPointerEnter:Qn,zIndex:ei,open:Ma,keepDom:Ys,fresh:Ci,onClick:Ii,mask:$r,motion:gs,maskMotion:Ni,onVisibleChanged:uo,onPrepare:to,forceRender:Ha,autoDestroy:$i,getPopupContainer:Da,align:et,arrow:Ho,arrowPos:Do,ready:Rs,offsetX:il,offsetY:pl,offsetR:sl,offsetB:Ki,onAlign:tn,stretch:pa,targetWidth:Yn/De,targetHeight:or/Fe})))});return yt}var Xo=ko(Pt),Pr={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(yt){var mt=yt.keyCode;if(yt.altKey&&!yt.ctrlKey||yt.metaKey||mt>=Pr.F1&&mt<=Pr.F12)return!1;switch(mt){case Pr.ALT:case Pr.CAPS_LOCK:case Pr.CONTEXT_MENU:case Pr.CTRL:case Pr.DOWN:case Pr.END:case Pr.ESC:case Pr.HOME:case Pr.INSERT:case Pr.LEFT:case Pr.MAC_FF_META:case Pr.META:case Pr.NUMLOCK:case Pr.NUM_CENTER:case Pr.PAGE_DOWN:case Pr.PAGE_UP:case Pr.PAUSE:case Pr.PRINT_SCREEN:case Pr.RIGHT:case Pr.SHIFT:case Pr.UP:case Pr.WIN_KEY:case Pr.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(yt){if(yt>=Pr.ZERO&&yt<=Pr.NINE||yt>=Pr.NUM_ZERO&&yt<=Pr.NUM_MULTIPLY||yt>=Pr.A&&yt<=Pr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&yt===0)return!0;switch(yt){case Pr.SPACE:case Pr.QUESTION_MARK:case Pr.NUM_PLUS:case Pr.NUM_MINUS:case Pr.NUM_PERIOD:case Pr.NUM_DIVISION:case Pr.SEMICOLON:case Pr.DASH:case Pr.EQUALS:case Pr.COMMA:case Pr.PERIOD:case Pr.SLASH:case Pr.APOSTROPHE:case Pr.SINGLE_QUOTE:case Pr.OPEN_SQUARE_BRACKET:case Pr.BACKSLASH:case Pr.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Za=Pr,hi=Za.ESC,sa=Za.TAB;function ya(it){var yt=it.visible,mt=it.triggerRef,Nt=it.onVisibleChange,qt=it.autoFocus,Cn=it.overlayRef,En=be.useRef(!1),$n=function(){if(yt){var er,Fr;(er=mt.current)===null||er===void 0||(Fr=er.focus)===null||Fr===void 0||Fr.call(er),Nt==null||Nt(!1)}},kn=function(){var er;return(er=Cn.current)!==null&&er!==void 0&&er.focus?(Cn.current.focus(),En.current=!0,!0):!1},ir=function(er){switch(er.keyCode){case hi:$n();break;case sa:{var Fr=!1;En.current||(Fr=kn()),Fr?er.preventDefault():$n();break}}};be.useEffect(function(){return yt?(window.addEventListener("keydown",ir),qt&&Xt(kn,3),function(){window.removeEventListener("keydown",ir),En.current=!1}):function(){En.current=!1}},[yt])}var Qa=(0,be.forwardRef)(function(it,yt){var mt=it.overlay,Nt=it.arrow,qt=it.prefixCls,Cn=(0,be.useMemo)(function(){var $n;return typeof mt=="function"?$n=mt():$n=mt,$n},[mt]),En=pe(yt,Cn==null?void 0:Cn.ref);return be.createElement(be.Fragment,null,Nt&&be.createElement("div",{className:"".concat(qt,"-arrow")}),be.cloneElement(Cn,{ref:ye(Cn)?En:void 0}))}),ha=Qa,ua={adjustX:1,adjustY:1},Oa=[0,0],ai={topLeft:{points:["bl","tl"],overflow:ua,offset:[0,-4],targetOffset:Oa},top:{points:["bc","tc"],overflow:ua,offset:[0,-4],targetOffset:Oa},topRight:{points:["br","tr"],overflow:ua,offset:[0,-4],targetOffset:Oa},bottomLeft:{points:["tl","bl"],overflow:ua,offset:[0,4],targetOffset:Oa},bottom:{points:["tc","bc"],overflow:ua,offset:[0,4],targetOffset:Oa},bottomRight:{points:["tr","br"],overflow:ua,offset:[0,4],targetOffset:Oa}},da=ai,fa=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Ua(it,yt){var mt,Nt=it.arrow,qt=Nt===void 0?!1:Nt,Cn=it.prefixCls,En=Cn===void 0?"rc-dropdown":Cn,$n=it.transitionName,kn=it.animation,ir=it.align,Nr=it.placement,er=Nr===void 0?"bottomLeft":Nr,Fr=it.placements,Mr=Fr===void 0?da:Fr,Jr=it.getPopupContainer,Wo=it.showAction,Io=it.hideAction,Yo=it.overlayClassName,Fo=it.overlayStyle,_o=it.visible,$r=it.trigger,Na=$r===void 0?["hover"]:$r,xa=it.autoFocus,Da=it.overlay,Ha=it.children,ii=it.onVisibleChange,Sa=(0,le.Z)(it,fa),ra=be.useState(),za=(0,ie.Z)(ra,2),Va=za[0],Ta=za[1],qo="visible"in it?_o:Va,ba=be.useRef(null),Oo=be.useRef(null),ei=be.useRef(null);be.useImperativeHandle(yt,function(){return ba.current});var pa=function(Aa){Ta(Aa),ii==null||ii(Aa)};ya({visible:qo,triggerRef:ei,onVisibleChange:pa,autoFocus:xa,overlayRef:Oo});var ri=function(Aa){var oi=it.onOverlayClick;Ta(!1),oi&&oi(Aa)},Ci=function(){return be.createElement(ha,{ref:Oo,overlay:Da,prefixCls:En,arrow:qt})},ui=function(){return typeof Da=="function"?Ci:Ci()},Ii=function(){var Aa=it.minOverlayWidthMatchTrigger,oi=it.alignPoint;return"minOverlayWidthMatchTrigger"in it?Aa:!oi},ji=function(){var Aa=it.openClassName;return Aa!==void 0?Aa:"".concat(En,"-open")},ma=be.cloneElement(Ha,{className:fe()((mt=Ha.props)===null||mt===void 0?void 0:mt.className,qo&&ji()),ref:ye(Ha)?pe(ei,Ha.ref):void 0}),Oi=Io;return!Oi&&Na.indexOf("contextMenu")!==-1&&(Oi=["click"]),be.createElement(Xo,(0,se.Z)({builtinPlacements:Mr},Sa,{prefixCls:En,ref:ba,popupClassName:fe()(Yo,(0,re.Z)({},"".concat(En,"-show-arrow"),qt)),popupStyle:Fo,action:Na,showAction:Wo,hideAction:Oi,popupPlacement:er,popupAlign:ir,popupTransitionName:$n,popupAnimation:kn,popupVisible:qo,stretch:Ii()?"minWidth":"",popup:ui(),onPopupVisibleChange:pa,onPopupClick:ri,getPopupContainer:Jr}),ma)}var wi=be.forwardRef(Ua),es=wi,ls=me(60276),cs=me(5663),Mi=me(10366),pi=me(80636),yi=me(8745),Vi=me(96159),zi=me(53124),Gs=me(68508),$s=me(76529),us=me(46605),ys=me(66748);const Ws=null,Ss=it=>{const{menu:yt,arrow:mt,prefixCls:Nt,children:qt,trigger:Cn,disabled:En,dropdownRender:$n,getPopupContainer:kn,overlayClassName:ir,rootClassName:Nr,open:er,onOpenChange:Fr,visible:Mr,onVisibleChange:Jr,mouseEnterDelay:Wo=.15,mouseLeaveDelay:Io=.1,autoAdjustOverflow:Yo=!0,placement:Fo="",overlay:_o,transitionName:$r}=it,{getPopupContainer:Na,getPrefixCls:xa,direction:Da}=be.useContext(zi.E_),Ha=be.useMemo(()=>{const ma=xa();return $r!==void 0?$r:Fo.includes("top")?`${ma}-slide-down`:`${ma}-slide-up`},[xa,Fo,$r]),ii=be.useMemo(()=>Fo?Fo.includes("Center")?Fo.slice(0,Fo.indexOf("Center")):Fo:Da==="rtl"?"bottomRight":"bottomLeft",[Fo,Da]),Sa=xa("dropdown",Nt),[ra,za]=(0,ys.Z)(Sa),[,Va]=(0,us.Z)(),Ta=be.Children.only(qt),qo=(0,Vi.Tm)(Ta,{className:fe()(`${Sa}-trigger`,{[`${Sa}-rtl`]:Da==="rtl"},Ta.props.className),disabled:En}),ba=En?[]:Cn;let Oo;ba&&ba.includes("contextMenu")&&(Oo=!0);const[ei,pa]=(0,cs.Z)(!1,{value:er!=null?er:Mr}),ri=(0,ls.useEvent)(ma=>{Fr==null||Fr(ma),Jr==null||Jr(ma),pa(ma)}),Ci=fe()(ir,Nr,za,{[`${Sa}-rtl`]:Da==="rtl"}),ui=(0,pi.Z)({arrowPointAtCenter:typeof mt=="object"&&mt.pointAtCenter,autoAdjustOverflow:Yo,offset:Va.marginXXS,arrowWidth:mt?Va.sizePopupArrow:0,borderRadius:Va.borderRadius}),Ii=be.useCallback(()=>{pa(!1)},[]),ji=()=>{let ma;return yt!=null&&yt.items?ma=be.createElement(Gs.default,Object.assign({},yt)):typeof _o=="function"?ma=_o():ma=_o,$n&&(ma=$n(ma)),ma=be.Children.only(typeof ma=="string"?be.createElement("span",null,ma):ma),be.createElement($s.J,{prefixCls:`${Sa}-menu`,expandIcon:be.createElement("span",{className:`${Sa}-menu-submenu-arrow`},be.createElement(E.Z,{className:`${Sa}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ii,validator:Oi=>{let{mode:qa}=Oi}},ma)};return ra(be.createElement(es,Object.assign({alignPoint:Oo},(0,Mi.Z)(it,["rootClassName"]),{mouseEnterDelay:Wo,mouseLeaveDelay:Io,visible:ei,builtinPlacements:ui,arrow:!!mt,overlayClassName:Ci,prefixCls:Sa,getPopupContainer:kn||Na,transitionName:Ha,trigger:ba,overlay:ji,placement:ii,onVisibleChange:ri}),qo))};function ts(it){return Object.assign(Object.assign({},it),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ns=(0,yi.Z)(Ss,"dropdown",it=>it,ts),bs=it=>be.createElement(ns,Object.assign({},it),be.createElement("span",null));Ss._InternalPanelDoNotUseOrYouWillBeFired=bs;var Ts=Ss},85418:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return a}});var be=me(56153),_e=me(94184),E=me.n(_e),he=me(67294),fe=me(64582),se=me(71577),re=me(53124),ie=me(93421),le=me(4173),ce=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:ue="default",danger:de,disabled:ge,loading:ve,onClick:pe,htmlType:Se,children:ye,className:Pe,menu:we,arrow:xe,autoFocus:Ee,overlay:Te,trigger:Ce,align:Oe,open:Me,onOpenChange:Ue,placement:je,getPopupContainer:nt,href:Ye,icon:Qe=he.createElement(fe.Z,null),title:Xe,buttonsRender:ze=St=>St,mouseEnterDelay:ke,mouseLeaveDelay:Be,overlayClassName:qe,overlayStyle:Je,destroyPopupOnHide:gt,dropdownRender:We}=y,$e=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),tt=`${Re}-button`,[Ie,He]=(0,ce.Z)(Re),Ve={menu:we,arrow:xe,autoFocus:Ee,align:Oe,disabled:ge,trigger:ge?[]:Ce,onOpenChange:Ue,getPopupContainer:nt||x,mouseEnterDelay:ke,mouseLeaveDelay:Be,overlayClassName:qe,overlayStyle:Je,destroyPopupOnHide:gt,dropdownRender:We},{compactSize:Ze,compactItemClassnames:Ke}=(0,le.ri)(Re,ee),Ae=E()(tt,Ke,Pe,He);"overlay"in y&&(Ve.overlay=Te),"open"in y&&(Ve.open=Me),"placement"in y?Ve.placement=je:Ve.placement=ee==="rtl"?"bottomLeft":"bottomRight";const Le=he.createElement(se.ZP,{type:ue,danger:de,disabled:ge,loading:ve,onClick:pe,htmlType:Se,href:Ye,title:Xe},ye),Ne=he.createElement(se.ZP,{type:ue,danger:de,icon:Qe}),[Ge,rt]=ze([Le,Ne]);return Ie(he.createElement(ie.Z.Compact,Object.assign({className:Ae,size:Ze,block:!0},$e),Ge,he.createElement(be.Z,Object.assign({},Ve),rt)))};oe.__ANT_BUTTON=!0;var ne=oe;const z=be.Z;z.Button=ne;var a=z},66748:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return ae}});var be=me(14747),_e=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 ce=oe=>{const{componentCls:ne,menuCls:z,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:ee,motionDurationMid:te,dropdownPaddingVertical:ue,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:_e.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:_e.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:_e.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:_e.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:`${ue}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:`${ue}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,_e.oN)(oe,"slide-up"),(0,_e.oN)(oe,"slide-down"),(0,E.Fm)(oe,"move-up"),(0,E.Fm)(oe,"move-down"),(0,he._y)(oe,"zoom-big")]]};var ae=(0,se.Z)("Dropdown",(oe,ne)=>{let{rootPrefixCls:z}=ne;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:ee,paddingXXS:te,componentCls:ue,borderRadiusLG:de}=oe,ge=(x-b*ee)/2,{dropdownArrowOffset:ve}=(0,fe.fS)({contentRadius:de}),pe=(0,re.TS)(oe,{menuCls:`${ue}-menu`,rootPrefixCls:z,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:ge,dropdownEdgeChildPadding:te});return[ce(pe),le(pe)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},25378:function(Tt,ht,me){"use strict";var be=me(67294),_e=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,_e.Z)(()=>{const ce=le.subscribe(ae=>{re.current=ae,se&&ie()});return()=>le.unsubscribe(ce)},[]),re.current}ht.Z=fe},19249:function(Tt,ht,me){"use strict";me.d(ht,{D:function(){return ee},Z:function(){return de}});var be=me(87462),_e=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(44327),se=function(ve,pe){return _e.createElement(fe.Z,(0,be.Z)({},ve,{ref:pe,icon:he}))},re=_e.forwardRef(se),ie=me(55007),le=me(79269),ce=me(94184),ae=me.n(ce),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=_e.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=_e.forwardRef((ge,ve)=>{const{prefixCls:pe,className:Se,trigger:ye,children:Pe,defaultCollapsed:we=!1,theme:xe="dark",style:Ee={},collapsible:Te=!1,reverseArrow:Ce=!1,width:Oe=200,collapsedWidth:Me=80,zeroWidthTriggerStyle:Ue,breakpoint:je,onCollapse:nt,onBreakpoint:Ye}=ge,Qe=x(ge,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Xe}=(0,_e.useContext)(y.Gs),[ze,ke]=(0,_e.useState)("collapsed"in ge?ge.collapsed:we),[Be,qe]=(0,_e.useState)(!1);(0,_e.useEffect)(()=>{"collapsed"in ge&&ke(ge.collapsed)},[ge.collapsed]);const Je=(Ie,He)=>{"collapsed"in ge||ke(Ie),nt==null||nt(Ie,He)},gt=(0,_e.useRef)();gt.current=Ie=>{qe(Ie.matches),Ye==null||Ye(Ie.matches),ze!==Ie.matches&&Je(Ie.matches,"responsive")},(0,_e.useEffect)(()=>{function Ie(Ve){return gt.current(Ve)}let He;if(typeof window!="undefined"){const{matchMedia:Ve}=window;if(Ve&&je&&je in b){He=Ve(`(max-width: ${b[je]})`);try{He.addEventListener("change",Ie)}catch(Ze){He.addListener(Ie)}Ie(He)}}return()=>{try{He==null||He.removeEventListener("change",Ie)}catch(Ve){He==null||He.removeListener(Ie)}}},[je]),(0,_e.useEffect)(()=>{const Ie=te("ant-sider-");return Xe.addSider(Ie),()=>Xe.removeSider(Ie)},[]);const We=()=>{Je(!ze,"clickTrigger")},{getPrefixCls:$e}=(0,_e.useContext)(a.E_),Re=()=>{const Ie=$e("layout-sider",pe),He=(0,oe.Z)(Qe,["collapsed"]),Ve=ze?Me:Oe,Ze=z(Ve)?`${Ve}px`:String(Ve),Ke=parseFloat(String(Me||0))===0?_e.createElement("span",{onClick:We,className:ae()(`${Ie}-zero-width-trigger`,`${Ie}-zero-width-trigger-${Ce?"right":"left"}`),style:Ue},ye||_e.createElement(re,null)):null,Ne={expanded:Ce?_e.createElement(le.Z,null):_e.createElement(ie.Z,null),collapsed:Ce?_e.createElement(ie.Z,null):_e.createElement(le.Z,null)}[ze?"collapsed":"expanded"],Ge=ye!==null?Ke||_e.createElement("div",{className:`${Ie}-trigger`,onClick:We,style:{width:Ze}},ye||Ne):null,rt=Object.assign(Object.assign({},Ee),{flex:`0 0 ${Ze}`,maxWidth:Ze,minWidth:Ze,width:Ze}),St=ae()(Ie,`${Ie}-${xe}`,{[`${Ie}-collapsed`]:!!ze,[`${Ie}-has-trigger`]:Te&&ye!==null&&!Ke,[`${Ie}-below`]:!!Be,[`${Ie}-zero-width`]:parseFloat(Ze)===0},Se);return _e.createElement("aside",Object.assign({className:St},He,{style:rt,ref:ve}),_e.createElement("div",{className:`${Ie}-children`},Pe),Te||Be&&Ke?Ge:null)},tt=_e.useMemo(()=>({siderCollapsed:ze}),[ze]);return _e.createElement(ee.Provider,{value:tt},Re())})},84321:function(Tt,ht,me){"use strict";me.d(ht,{VY:function(){return te},$_:function(){return ee},h4:function(){return b},Gs:function(){return ne},ZP:function(){return ue}});var be=me(74902),_e=me(94184),E=me.n(_e),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 ce=de=>{const{antCls:ge,componentCls:ve,colorText:pe,triggerColor:Se,footerBg:ye,triggerBg:Pe,headerHeight:we,headerPadding:xe,headerColor:Ee,footerPadding:Te,triggerHeight:Ce,zeroTriggerHeight:Oe,zeroTriggerWidth:Me,motionDurationMid:Ue,motionDurationSlow:je,fontSize:nt,borderRadius:Ye,bodyBg:Qe,headerBg:Xe,siderBg:ze}=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:ze,transition:`all ${Ue}, 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 ${Ue}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:we,insetInlineEnd:-Me,zIndex:1,width:Me,height:Oe,color:Se,fontSize:de.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ze,borderStartStartRadius:0,borderStartEndRadius:Ye,borderEndEndRadius:Ye,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:-Me,borderStartStartRadius:Ye,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ye}}}}},le(de)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:we,padding:xe,color:Ee,lineHeight:`${we}px`,background:Xe,[`${ge}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:Te,color:pe,fontSize:nt,background:ye},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var ae=(0,re.Z)("Layout",de=>[ce(de)],de=>{const{colorBgLayout:ge,controlHeight:ve,controlHeightLG:pe,colorText:Se,controlHeightSM:ye,marginXXS:Pe,colorTextLightSolid:we,colorBgContainer:xe}=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:xe,lightTriggerBg:xe,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_),xe=we("layout",ve),[Ee,Te]=ae(xe),Ce=pe?`${xe}-${pe}`:xe;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:xe,hasSider:Ee,tagName:Te,style:Ce}=de,Oe=oe(de,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Me=(0,he.Z)(Oe,["suffixCls"]),{getPrefixCls:Ue,layout:je}=fe.useContext(se.E_),nt=Ue("layout",ye),[Ye,Qe]=ae(nt),Xe=E()(nt,{[`${nt}-has-sider`]:typeof Ee=="boolean"?Ee:pe.length>0,[`${nt}-rtl`]:ve==="rtl"},je==null?void 0:je.className,Pe,we,Qe),ze=fe.useMemo(()=>({siderHook:{addSider:ke=>{Se(Be=>[].concat((0,be.Z)(Be),[ke]))},removeSider:ke=>{Se(Be=>Be.filter(qe=>qe!==ke))}}}),[]);return Ye(fe.createElement(ne.Provider,{value:ze},fe.createElement(Te,Object.assign({ref:ge,className:Xe,style:Object.assign(Object.assign({},je==null?void 0:je.style),Ce)},Me),xe)))}),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 ue=x},76529:function(Tt,ht,me){"use strict";me.d(ht,{J:function(){return se}});var be=me(67294),_e=me(4173),E=me(60276),he=function(re,ie){var le={};for(var ce in re)Object.prototype.hasOwnProperty.call(re,ce)&&ie.indexOf(ce)<0&&(le[ce]=re[ce]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ce=Object.getOwnPropertySymbols(re);ae<ce.length;ae++)ie.indexOf(ce[ae])<0&&Object.prototype.propertyIsEnumerable.call(re,ce[ae])&&(le[ce[ae]]=re[ce[ae]]);return le};const fe=be.createContext(null),se=be.forwardRef((re,ie)=>{const{children:le}=re,ce=he(re,["children"]),ae=be.useContext(fe),oe=be.useMemo(()=>Object.assign(Object.assign({},ae),ce),[ae,ce.prefixCls,ce.mode,ce.selectable]);return be.createElement(fe.Provider,{value:oe},be.createElement(_e.BR,null,(0,E.supportNodeRef)(le)?be.cloneElement(le,{ref:ie}):le))});ht.Z=fe},68508:function(Tt,ht,me){"use strict";me.d(ht,{default:function(){return Ie}});var be=me(52073),_e=me(67294),E=me(19249),he=me(94184),fe=me.n(he),se=me(53124),re=function(He,Ve){var Ze={};for(var Ke in He)Object.prototype.hasOwnProperty.call(He,Ke)&&Ve.indexOf(Ke)<0&&(Ze[Ke]=He[Ke]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Ke=Object.getOwnPropertySymbols(He);Ae<Ke.length;Ae++)Ve.indexOf(Ke[Ae])<0&&Object.prototype.propertyIsEnumerable.call(He,Ke[Ae])&&(Ze[Ke[Ae]]=He[Ke[Ae]]);return Ze},le=He=>{const{prefixCls:Ve,className:Ze,dashed:Ke}=He,Ae=re(He,["prefixCls","className","dashed"]),{getPrefixCls:Le}=_e.useContext(se.E_),Ne=Le("menu",Ve),Ge=fe()({[`${Ne}-item-divider-dashed`]:!!Ke},Ze);return _e.createElement(be.iz,Object.assign({className:Ge},Ae))},ce=me(37419),ae=me(10366),oe=me(83062),ne=me(96159),a=(0,_e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=He=>{var Ve;const{className:Ze,children:Ke,icon:Ae,title:Le,danger:Ne}=He,{prefixCls:Ge,firstLevel:rt,direction:St,disableMenuItemTitleTooltip:Pt,inlineCollapsed:At}=_e.useContext(a),bn=at=>{const bt=_e.createElement("span",{className:`${Ge}-title-content`},Ke);return(!Ae||(0,ne.l$)(Ke)&&Ke.type==="span")&&Ke&&at&&rt&&typeof Ke=="string"?_e.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Ke.charAt(0)):bt},{siderCollapsed:$t}=_e.useContext(E.D);let ft=Le;typeof Le=="undefined"?ft=rt?Ke:"":Le===!1&&(ft="");const st={title:ft};!$t&&!At&&(st.title=null,st.open=!1);const zt=(0,ce.Z)(Ke).length;let ot=_e.createElement(be.ck,Object.assign({},(0,ae.Z)(He,["title","icon","danger"]),{className:fe()({[`${Ge}-item-danger`]:Ne,[`${Ge}-item-only-child`]:(Ae?zt+1:zt)===1},Ze),title:typeof Le=="string"?Le:void 0}),(0,ne.Tm)(Ae,{className:fe()((0,ne.l$)(Ae)?(Ve=Ae.props)===null||Ve===void 0?void 0:Ve.className:"",`${Ge}-item-icon`)}),bn(At));return Pt||(ot=_e.createElement(oe.Z,Object.assign({},st,{placement:St==="rtl"?"left":"right",overlayClassName:`${Ge}-inline-collapsed-tooltip`}),ot)),ot},ee=He=>{var Ve;const{popupClassName:Ze,icon:Ke,title:Ae,theme:Le}=He,Ne=_e.useContext(a),{prefixCls:Ge,inlineCollapsed:rt,theme:St}=Ne,Pt=(0,be.Xl)();let At;if(!Ke)At=rt&&!Pt.length&&Ae&&typeof Ae=="string"?_e.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Ae.charAt(0)):_e.createElement("span",{className:`${Ge}-title-content`},Ae);else{const $t=(0,ne.l$)(Ae)&&Ae.type==="span";At=_e.createElement(_e.Fragment,null,(0,ne.Tm)(Ke,{className:fe()((0,ne.l$)(Ke)?(Ve=Ke.props)===null||Ve===void 0?void 0:Ve.className:"",`${Ge}-item-icon`)}),$t?Ae:_e.createElement("span",{className:`${Ge}-title-content`},Ae))}const bn=_e.useMemo(()=>Object.assign(Object.assign({},Ne),{firstLevel:!1}),[Ne]);return _e.createElement(a.Provider,{value:bn},_e.createElement(be.Wd,Object.assign({},(0,ae.Z)(He,["icon"]),{title:At,popupClassName:fe()(Ge,Ze,`${Ge}-${Le||St}`)})))},te=me(64582),ue=me(60276),de=me(33603),ge=me(76529),ve=function(He,Ve){var Ze={};for(var Ke in He)Object.prototype.hasOwnProperty.call(He,Ke)&&Ve.indexOf(Ke)<0&&(Ze[Ke]=He[Ke]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Ke=Object.getOwnPropertySymbols(He);Ae<Ke.length;Ae++)Ve.indexOf(Ke[Ae])<0&&Object.prototype.propertyIsEnumerable.call(He,Ke[Ae])&&(Ze[Ke[Ae]]=He[Ke[Ae]]);return Ze};function pe(He){return(He||[]).map((Ve,Ze)=>{if(Ve&&typeof Ve=="object"){const Ke=Ve,{label:Ae,children:Le,key:Ne,type:Ge}=Ke,rt=ve(Ke,["label","children","key","type"]),St=Ne!=null?Ne:`tmp-${Ze}`;return Le||Ge==="group"?Ge==="group"?_e.createElement(be.BW,Object.assign({key:St},rt,{title:Ae}),pe(Le)):_e.createElement(ee,Object.assign({key:St},rt,{title:Ae}),pe(Le)):Ge==="divider"?_e.createElement(le,Object.assign({key:St},rt)):_e.createElement(x,Object.assign({key:St},rt),Ae)}return null}).filter(Ve=>Ve)}function Se(He){return _e.useMemo(()=>He&&pe(He),[He])}var ye=me(84780),Pe=me(14747),we=me(33507),xe=me(67771),Ee=me(50438),Te=me(67968),Ce=me(45503),Me=He=>{const{componentCls:Ve,motionDurationSlow:Ze,horizontalLineHeight:Ke,colorSplit:Ae,lineWidth:Le,lineType:Ne,itemPaddingInline:Ge}=He;return{[`${Ve}-horizontal`]:{lineHeight:Ke,border:0,borderBottom:`${Le}px ${Ne} ${Ae}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ve}-item, ${Ve}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ge},[`> ${Ve}-item:hover,
> ${Ve}-item-active,
> ${Ve}-submenu ${Ve}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ve}-item, ${Ve}-submenu-title`]:{transition:[`border-color ${Ze}`,`background ${Ze}`].join(",")},[`${Ve}-submenu-arrow`]:{display:"none"}}}},je=He=>{let{componentCls:Ve,menuArrowOffset:Ze}=He;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 nt=He=>Object.assign({},(0,Pe.oN)(He));var Qe=(He,Ve)=>{const{componentCls:Ze,itemColor:Ke,itemSelectedColor:Ae,groupTitleColor:Le,itemBg:Ne,subMenuItemBg:Ge,itemSelectedBg:rt,activeBarHeight:St,activeBarWidth:Pt,activeBarBorderWidth:At,motionDurationSlow:bn,motionEaseInOut:$t,motionEaseOut:ft,itemPaddingInline:st,motionDurationMid:zt,itemHoverColor:ot,lineType:at,colorSplit:bt,itemDisabledColor:Ft,dangerItemColor:kt,dangerItemHoverColor:un,dangerItemSelectedColor:fn,dangerItemActiveBg:vn,dangerItemSelectedBg:An,itemHoverBg:vr,itemActiveBg:yn,menuSubMenuBg:cr,horizontalItemSelectedColor:Zr,horizontalItemSelectedBg:Gr,horizontalItemBorderRadius:ro,horizontalItemHoverBg:oo,popupBg:po}=He;return{[`${Ze}-${Ve}, ${Ze}-${Ve} > ${Ze}`]:{color:Ke,background:Ne,[`&${Ze}-root:focus-visible`]:Object.assign({},nt(He)),[`${Ze}-item-group-title`]:{color:Le},[`${Ze}-submenu-selected`]:{[`> ${Ze}-submenu-title`]:{color:Ae}},[`${Ze}-item-disabled, ${Ze}-submenu-disabled`]:{color:`${Ft} !important`},[`${Ze}-item:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{[`&:hover, > ${Ze}-submenu-title:hover`]:{color:ot}},[`&:not(${Ze}-horizontal)`]:{[`${Ze}-item:not(${Ze}-item-selected)`]:{"&:hover":{backgroundColor:vr},"&:active":{backgroundColor:yn}},[`${Ze}-submenu-title`]:{"&:hover":{backgroundColor:vr},"&:active":{backgroundColor:yn}}},[`${Ze}-item-danger`]:{color:kt,[`&${Ze}-item:hover`]:{[`&:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{color:un}},[`&${Ze}-item:active`]:{background:vn}},[`${Ze}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ze}-item-selected`]:{color:Ae,[`&${Ze}-item-danger`]:{color:fn},"a, a:hover":{color:"inherit"}},[`& ${Ze}-item-selected`]:{backgroundColor:rt,[`&${Ze}-item-danger`]:{backgroundColor:An}},[`${Ze}-item, ${Ze}-submenu-title`]:{[`&:not(${Ze}-item-disabled):focus-visible`]:Object.assign({},nt(He))},[`&${Ze}-submenu > ${Ze}`]:{backgroundColor:cr},[`&${Ze}-popup > ${Ze}`]:{backgroundColor:po},[`&${Ze}-horizontal`]:Object.assign(Object.assign({},Ve==="dark"?{borderBottom:0}:{}),{[`> ${Ze}-item, > ${Ze}-submenu`]:{top:At,marginTop:-At,marginBottom:0,borderRadius:ro,"&::after":{position:"absolute",insetInline:st,bottom:0,borderBottom:`${St}px solid transparent`,transition:`border-color ${bn} ${$t}`,content:'""'},"&:hover, &-active, &-open":{background:oo,"&::after":{borderBottomWidth:St,borderBottomColor:Zr}},"&-selected":{color:Zr,backgroundColor:Gr,"&:hover":{backgroundColor:Gr},"&::after":{borderBottomWidth:St,borderBottomColor:Zr}}}}),[`&${Ze}-root`]:{[`&${Ze}-inline, &${Ze}-vertical`]:{borderInlineEnd:`${At}px ${at} ${bt}`}},[`&${Ze}-inline`]:{[`${Ze}-sub${Ze}-inline`]:{background:Ge},[`${Ze}-item, ${Ze}-submenu-title`]:At&&Pt?{width:`calc(100% + ${At}px)`}:{},[`${Ze}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Pt}px solid ${Ae}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${zt} ${ft}`,`opacity ${zt} ${ft}`].join(","),content:'""'},[`&${Ze}-item-danger`]:{"&::after":{borderInlineEndColor:fn}}},[`${Ze}-selected, ${Ze}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${zt} ${$t}`,`opacity ${zt} ${$t}`].join(",")}}}}}};const Xe=He=>{const{componentCls:Ve,itemHeight:Ze,itemMarginInline:Ke,padding:Ae,menuArrowSize:Le,marginXS:Ne,itemMarginBlock:Ge}=He,rt=Ae+Le+Ne;return{[`${Ve}-item`]:{position:"relative",overflow:"hidden"},[`${Ve}-item, ${Ve}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`,paddingInline:Ae,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ke,marginBlock:Ge,width:`calc(100% - ${Ke*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:rt}}};var ke=He=>{const{componentCls:Ve,iconCls:Ze,itemHeight:Ke,colorTextLightSolid:Ae,dropdownWidth:Le,controlHeightLG:Ne,motionDurationMid:Ge,motionEaseOut:rt,paddingXL:St,itemMarginInline:Pt,fontSizeLG:At,motionDurationSlow:bn,paddingXS:$t,boxShadowSecondary:ft,collapsedWidth:st,collapsedIconSize:zt}=He,ot={height:Ke,lineHeight:`${Ke}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ve]:{"&-inline, &-vertical":Object.assign({[`&${Ve}-root`]:{boxShadow:"none"}},Xe(He))},[`${Ve}-submenu-popup`]:{[`${Ve}-vertical`]:Object.assign(Object.assign({},Xe(He)),{boxShadow:ft})}},{[`${Ve}-submenu-popup ${Ve}-vertical${Ve}-sub`]:{minWidth:Le,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 ${bn}`,`background ${bn}`,`padding ${Ge} ${rt}`].join(","),[`> ${Ve}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ve}-sub${Ve}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ve}-submenu > ${Ve}-submenu-title`]:ot,[`& ${Ve}-item-group-title`]:{paddingInlineStart:St}},[`${Ve}-item`]:ot}},{[`${Ve}-inline-collapsed`]:{width:st,[`&${Ve}-root`]:{[`${Ve}-item, ${Ve}-submenu ${Ve}-submenu-title`]:{[`> ${Ve}-inline-collapsed-noicon`]:{fontSize:At,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% - ${At/2}px - ${Pt}px)`,textOverflow:"clip",[`
${Ve}-submenu-arrow,
${Ve}-submenu-expand-icon
`]:{opacity:0},[`${Ve}-item-icon, ${Ze}`]:{margin:0,fontSize:zt,lineHeight:`${Ke}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:Ae}},[`${Ve}-item-group-title`]:Object.assign(Object.assign({},Pe.vS),{paddingInline:$t})}}]};const Be=He=>{const{componentCls:Ve,motionDurationSlow:Ze,motionDurationMid:Ke,motionEaseInOut:Ae,motionEaseOut:Le,iconCls:Ne,iconSize:Ge,iconMarginInlineEnd:rt}=He;return{[`${Ve}-item, ${Ve}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ze}`,`background ${Ze}`,`padding ${Ze} ${Ae}`].join(","),[`${Ve}-item-icon, ${Ne}`]:{minWidth:Ge,fontSize:Ge,transition:[`font-size ${Ke} ${Le}`,`margin ${Ze} ${Ae}`,`color ${Ze}`].join(","),"+ span":{marginInlineStart:rt,opacity:1,transition:[`opacity ${Ze} ${Ae}`,`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=He=>{const{componentCls:Ve,motionDurationSlow:Ze,motionEaseInOut:Ke,borderRadius:Ae,menuArrowSize:Le,menuArrowOffset:Ne}=He;return{[`${Ve}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:He.margin,width:Le,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ze} ${Ke}, opacity ${Ze}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Le*.6,height:Le*.15,backgroundColor:"currentcolor",borderRadius:Ae,transition:[`background ${Ze} ${Ke}`,`transform ${Ze} ${Ke}`,`top ${Ze} ${Ke}`,`color ${Ze} ${Ke}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ne})`},"&::after":{transform:`rotate(-45deg) translateY(${Ne})`}}}}},Je=He=>{const{antCls:Ve,componentCls:Ze,fontSize:Ke,motionDurationSlow:Ae,motionDurationMid:Le,motionEaseInOut:Ne,paddingXS:Ge,padding:rt,colorSplit:St,lineWidth:Pt,zIndexPopup:At,borderRadiusLG:bn,subMenuItemBorderRadius:$t,menuArrowSize:ft,menuArrowOffset:st,lineType:zt,menuPanelMaskInset:ot,groupTitleLineHeight:at,groupTitleFontSize:bt}=He;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)(He)),(0,Pe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Ke,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ae} 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:He.itemBorderRadius},[`${Ze}-item-group-title`]:{padding:`${Ge}px ${rt}px`,fontSize:bt,lineHeight:at,transition:`all ${Ae}`},[`&-horizontal ${Ze}-submenu`]:{transition:[`border-color ${Ae} ${Ne}`,`background ${Ae} ${Ne}`].join(",")},[`${Ze}-submenu, ${Ze}-submenu-inline`]:{transition:[`border-color ${Ae} ${Ne}`,`background ${Ae} ${Ne}`,`padding ${Le} ${Ne}`].join(",")},[`${Ze}-submenu ${Ze}-sub`]:{cursor:"initial",transition:[`background ${Ae} ${Ne}`,`padding ${Ae} ${Ne}`].join(",")},[`${Ze}-title-content`]:{transition:`color ${Ae}`},[`${Ze}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ze}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:St,borderStyle:zt,borderWidth:0,borderTopWidth:Pt,marginBlock:Pt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Be(He)),{[`${Ze}-item-group`]:{[`${Ze}-item-group-list`]:{margin:0,padding:0,[`${Ze}-item, ${Ze}-submenu-title`]:{paddingInline:`${Ke*2}px ${rt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:At,borderRadius:bn,boxShadow:"none",transformOrigin:"0 0",[`&${Ze}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ot}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ot},"\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:He.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:He.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:He.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:He.paddingXS},[`> ${Ze}`]:Object.assign(Object.assign(Object.assign({borderRadius:bn},Be(He)),qe(He)),{[`${Ze}-item, ${Ze}-submenu > ${Ze}-submenu-title`]:{borderRadius:$t},[`${Ze}-submenu-title::after`]:{transition:`transform ${Ae} ${Ne}`}})}}),qe(He)),{[`&-inline-collapsed ${Ze}-submenu-arrow,
&-inline ${Ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${st})`},"&::after":{transform:`rotate(45deg) translateX(-${st})`}},[`${Ze}-submenu-open${Ze}-submenu-inline > ${Ze}-submenu-title > ${Ze}-submenu-arrow`]:{transform:`translateY(-${ft*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${st})`},"&::before":{transform:`rotate(45deg) translateX(${st})`}}})},{[`${Ve}-layout-header`]:{[Ze]:{lineHeight:"inherit"}}}]};var gt=(He,Ve)=>(0,Te.Z)("Menu",Ke=>{if(Ve===!1)return[];const{colorBgElevated:Ae,colorPrimary:Le,colorTextLightSolid:Ne,controlHeightLG:Ge,fontSize:rt,darkItemColor:St,darkDangerItemColor:Pt,darkItemBg:At,darkSubMenuItemBg:bn,darkItemSelectedColor:$t,darkItemSelectedBg:ft,darkDangerItemSelectedBg:st,darkItemHoverBg:zt,darkGroupTitleColor:ot,darkItemHoverColor:at,darkItemDisabledColor:bt,darkDangerItemHoverColor:Ft,darkDangerItemSelectedColor:kt,darkDangerItemActiveBg:un}=Ke,fn=rt/7*5,vn=(0,Ce.TS)(Ke,{menuArrowSize:fn,menuHorizontalHeight:Ge*1.15,menuArrowOffset:`${fn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ae}),An=(0,Ce.TS)(vn,{itemColor:St,itemHoverColor:at,groupTitleColor:ot,itemSelectedColor:$t,itemBg:At,popupBg:At,subMenuItemBg:bn,itemActiveBg:"transparent",itemSelectedBg:ft,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:zt,itemDisabledColor:bt,dangerItemColor:Pt,dangerItemHoverColor:Ft,dangerItemSelectedColor:kt,dangerItemActiveBg:un,dangerItemSelectedBg:st,menuSubMenuBg:bn,horizontalItemSelectedColor:Ne,horizontalItemSelectedBg:Le});return[Je(vn),Me(vn),ke(vn),Qe(vn,"light"),Qe(An,"dark"),je(vn),(0,we.Z)(vn),(0,xe.oN)(vn,"slide-up"),(0,xe.oN)(vn,"slide-down"),(0,Ee._y)(vn,"zoom-big")]},Ke=>{const{colorPrimary:Ae,colorError:Le,colorTextDisabled:Ne,colorErrorBg:Ge,colorText:rt,colorTextDescription:St,colorBgContainer:Pt,colorFillAlter:At,colorFillContent:bn,lineWidth:$t,lineWidthBold:ft,controlItemBgActive:st,colorBgTextHover:zt,controlHeightLG:ot,lineHeight:at,colorBgElevated:bt,marginXXS:Ft,padding:kt,fontSize:un,controlHeightSM:fn,fontSizeLG:vn,colorTextLightSolid:An,colorErrorHover:vr}=Ke,yn=new ye.C(An).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ke.zIndexPopupBase+50,radiusItem:Ke.borderRadiusLG,itemBorderRadius:Ke.borderRadiusLG,radiusSubMenuItem:Ke.borderRadiusSM,subMenuItemBorderRadius:Ke.borderRadiusSM,colorItemText:rt,itemColor:rt,colorItemTextHover:rt,itemHoverColor:rt,colorItemTextHoverHorizontal:Ae,horizontalItemHoverColor:Ae,colorGroupTitle:St,groupTitleColor:St,colorItemTextSelected:Ae,itemSelectedColor:Ae,colorItemTextSelectedHorizontal:Ae,horizontalItemSelectedColor:Ae,colorItemBg:Pt,itemBg:Pt,colorItemBgHover:zt,itemHoverBg:zt,colorItemBgActive:bn,itemActiveBg:st,colorSubItemBg:At,subMenuItemBg:At,colorItemBgSelected:st,itemSelectedBg:st,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:ft,activeBarHeight:ft,colorActiveBarBorderSize:$t,activeBarBorderWidth:$t,colorItemTextDisabled:Ne,itemDisabledColor:Ne,colorDangerItemText:Le,dangerItemColor:Le,colorDangerItemTextHover:Le,dangerItemHoverColor:Le,colorDangerItemTextSelected:Le,dangerItemSelectedColor:Le,colorDangerItemBgActive:Ge,dangerItemActiveBg:Ge,colorDangerItemBgSelected:Ge,dangerItemSelectedBg:Ge,itemMarginInline:Ke.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ot,groupTitleLineHeight:at,collapsedWidth:ot*2,popupBg:bt,itemMarginBlock:Ft,itemPaddingInline:kt,horizontalLineHeight:`${ot*1.15}px`,iconSize:un,iconMarginInlineEnd:fn-un,collapsedIconSize:vn,groupTitleFontSize:un,darkItemDisabledColor:new ye.C(An).setAlpha(.25).toRgbString(),darkItemColor:yn,darkDangerItemColor:Le,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:An,darkItemSelectedBg:Ae,darkDangerItemSelectedBg:Le,darkItemHoverBg:"transparent",darkGroupTitleColor:yn,darkItemHoverColor:An,darkDangerItemHoverColor:vr,darkDangerItemSelectedColor:An,darkDangerItemActiveBg:Le}},{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"]]})(He),We=function(He,Ve){var Ze={};for(var Ke in He)Object.prototype.hasOwnProperty.call(He,Ke)&&Ve.indexOf(Ke)<0&&(Ze[Ke]=He[Ke]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Ke=Object.getOwnPropertySymbols(He);Ae<Ke.length;Ae++)Ve.indexOf(Ke[Ae])<0&&Object.prototype.propertyIsEnumerable.call(He,Ke[Ae])&&(Ze[Ke[Ae]]=He[Ke[Ae]]);return Ze},Re=(0,_e.forwardRef)((He,Ve)=>{var Ze,Ke;const Ae=_e.useContext(ge.Z),Le=Ae||{},{getPrefixCls:Ne,getPopupContainer:Ge,direction:rt,menu:St}=_e.useContext(se.E_),Pt=Ne(),{prefixCls:At,className:bn,style:$t,theme:ft="light",expandIcon:st,_internalDisableMenuItemTitleTooltip:zt,inlineCollapsed:ot,siderCollapsed:at,items:bt,children:Ft,rootClassName:kt,mode:un,selectable:fn,onClick:vn,overflowedIndicatorPopupClassName:An}=He,vr=We(He,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),yn=(0,ae.Z)(vr,["collapsedWidth"]),cr=Se(bt)||Ft;(Ze=Le.validator)===null||Ze===void 0||Ze.call(Le,{mode:un});const Zr=(0,ue.useEvent)(function(){var gr;vn==null||vn.apply(void 0,arguments),(gr=Le.onClick)===null||gr===void 0||gr.call(Le)}),Gr=Le.mode||un,ro=fn!=null?fn:Le.selectable,oo=_e.useMemo(()=>at!==void 0?at:ot,[ot,at]),po={horizontal:{motionName:`${Pt}-slide-up`},inline:(0,de.Z)(Pt),other:{motionName:`${Pt}-zoom-big`}},Pn=Ne("menu",At||Le.prefixCls),[dn,Bn]=gt(Pn,!Ae),Rn=fe()(`${Pn}-${ft}`,St==null?void 0:St.className,bn);let Un;if(typeof st=="function")Un=st;else if(st===null||st===!1)Un=null;else if(Le.expandIcon===null||Le.expandIcon===!1)Un=null;else{const gr=st!=null?st:Le.expandIcon;Un=(0,ne.Tm)(gr,{className:fe()(`${Pn}-submenu-expand-icon`,(0,ne.l$)(gr)?(Ke=gr.props)===null||Ke===void 0?void 0:Ke.className:"")})}const tr=_e.useMemo(()=>({prefixCls:Pn,inlineCollapsed:oo||!1,direction:rt,firstLevel:!0,theme:ft,mode:Gr,disableMenuItemTitleTooltip:zt}),[Pn,oo,rt,zt,ft]);return dn(_e.createElement(ge.Z.Provider,{value:null},_e.createElement(a.Provider,{value:tr},_e.createElement(be.ZP,Object.assign({getPopupContainer:Ge,overflowedIndicator:_e.createElement(te.Z,null),overflowedIndicatorPopupClassName:fe()(Pn,`${Pn}-${ft}`,An),mode:Gr,selectable:ro,onClick:Zr},yn,{inlineCollapsed:oo,style:Object.assign(Object.assign({},St==null?void 0:St.style),$t),className:Rn,prefixCls:Pn,direction:rt,defaultMotions:po,expandIcon:Un,ref:Ve,rootClassName:fe()(kt,Bn)}),cr))))});const tt=(0,_e.forwardRef)((He,Ve)=>{const Ze=(0,_e.useRef)(null),Ke=_e.useContext(E.D);return(0,_e.useImperativeHandle)(Ve,()=>({menu:Ze.current,focus:Ae=>{var Le;(Le=Ze.current)===null||Le===void 0||Le.focus(Ae)}})),_e.createElement(Re,Object.assign({ref:Ze},He,Ke))});tt.Item=x,tt.SubMenu=ee,tt.Divider=le,tt.ItemGroup=be.BW;var Ie=tt},34435:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return $t}});var be=me(87462),_e=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(44327),se=function(st,zt){return _e.createElement(fe.Z,(0,be.Z)({},st,{ref:zt,icon:he}))},re=_e.forwardRef(se),ie={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"},le=ie,ce=function(st,zt){return _e.createElement(fe.Z,(0,be.Z)({},st,{ref:zt,icon:le}))},ae=_e.forwardRef(ce),oe=me(55007),ne=me(79269),z=me(94184),a=me.n(z),y=me(4942),x=me(1413),b=me(15671),ee=me(43144),te=me(60136),ue=me(51630),de=`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`,ge=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ve="".concat(de," ").concat(ge).split(/[\s\n]+/),pe="aria-",Se="data-";function ye(ft,st){return ft.indexOf(st)===0}function Pe(ft){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,zt;st===!1?zt={aria:!0,data:!0,attr:!0}:st===!0?zt={aria:!0}:zt=(0,x.Z)({},st);var ot={};return Object.keys(ft).forEach(function(at){(zt.aria&&(at==="role"||ye(at,pe))||zt.data&&ye(at,Se)||zt.attr&&ve.includes(at))&&(ot[at]=ft[at])}),ot}var we={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},xe=we,Ee=me(81626),Te=function(ft){(0,te.Z)(zt,ft);var st=(0,ue.Z)(zt);function zt(){var ot;(0,b.Z)(this,zt);for(var at=arguments.length,bt=new Array(at),Ft=0;Ft<at;Ft++)bt[Ft]=arguments[Ft];return ot=st.call.apply(st,[this].concat(bt)),ot.state={goInputText:""},ot.getValidValue=function(){var kt=ot.state.goInputText;return!kt||Number.isNaN(kt)?void 0:Number(kt)},ot.buildOptionText=function(kt){return"".concat(kt," ").concat(ot.props.locale.items_per_page)},ot.changeSize=function(kt){ot.props.changeSize(Number(kt))},ot.handleChange=function(kt){ot.setState({goInputText:kt.target.value})},ot.handleBlur=function(kt){var un=ot.props,fn=un.goButton,vn=un.quickGo,An=un.rootPrefixCls,vr=ot.state.goInputText;fn||vr===""||(ot.setState({goInputText:""}),!(kt.relatedTarget&&(kt.relatedTarget.className.indexOf("".concat(An,"-item-link"))>=0||kt.relatedTarget.className.indexOf("".concat(An,"-item"))>=0))&&vn(ot.getValidValue()))},ot.go=function(kt){var un=ot.state.goInputText;un!==""&&(kt.keyCode===xe.ENTER||kt.type==="click")&&(ot.setState({goInputText:""}),ot.props.quickGo(ot.getValidValue()))},ot}return(0,ee.Z)(zt,[{key:"getPageSizeOptions",value:function(){var at=this.props,bt=at.pageSize,Ft=at.pageSizeOptions;return Ft.some(function(kt){return kt.toString()===bt.toString()})?Ft:Ft.concat([bt.toString()]).sort(function(kt,un){var fn=Number.isNaN(Number(kt))?0:Number(kt),vn=Number.isNaN(Number(un))?0:Number(un);return fn-vn})}},{key:"render",value:function(){var at=this,bt=this.props,Ft=bt.pageSize,kt=bt.locale,un=bt.rootPrefixCls,fn=bt.changeSize,vn=bt.quickGo,An=bt.goButton,vr=bt.selectComponentClass,yn=bt.buildOptionText,cr=bt.selectPrefixCls,Zr=bt.disabled,Gr=this.state.goInputText,ro="".concat(un,"-options"),oo=vr,po=null,Pn=null,dn=null;if(!fn&&!vn)return null;var Bn=this.getPageSizeOptions();if(fn&&oo){var Rn=Bn.map(function(Un,tr){return _e.createElement(oo.Option,{key:tr,value:Un.toString()},(yn||at.buildOptionText)(Un))});po=_e.createElement(oo,{disabled:Zr,prefixCls:cr,showSearch:!1,className:"".concat(ro,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Ft||Bn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(tr){return tr.parentNode},"aria-label":kt.page_size,defaultOpen:!1},Rn)}return vn&&(An&&(dn=typeof An=="boolean"?_e.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Zr,className:"".concat(ro,"-quick-jumper-button")},kt.jump_to_confirm):_e.createElement("span",{onClick:this.go,onKeyUp:this.go},An)),Pn=_e.createElement("div",{className:"".concat(ro,"-quick-jumper")},kt.jump_to,_e.createElement("input",{disabled:Zr,type:"text",value:Gr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":kt.page}),kt.page,dn)),_e.createElement("li",{className:"".concat(ro)},po,Pn)}}]),zt}(_e.Component);Te.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ce=Te,Oe=function(st){var zt,ot=st.rootPrefixCls,at=st.page,bt=st.active,Ft=st.className,kt=st.showTitle,un=st.onClick,fn=st.onKeyPress,vn=st.itemRender,An="".concat(ot,"-item"),vr=a()(An,"".concat(An,"-").concat(at),(zt={},(0,y.Z)(zt,"".concat(An,"-active"),bt),(0,y.Z)(zt,"".concat(An,"-disabled"),!at),(0,y.Z)(zt,st.className,Ft),zt)),yn=function(){un(at)},cr=function(ro){fn(ro,un,at)},Zr=vn(at,"page",_e.createElement("a",{rel:"nofollow"},at));return Zr?_e.createElement("li",{title:kt?at.toString():null,className:vr,onClick:yn,onKeyPress:cr,tabIndex:0},Zr):null},Me=Oe;function Ue(){}function je(ft){var st=Number(ft);return typeof st=="number"&&!Number.isNaN(st)&&isFinite(st)&&Math.floor(st)===st}var nt=function(st,zt,ot){return ot};function Ye(ft,st,zt){var ot=typeof ft=="undefined"?st.pageSize:ft;return Math.floor((zt.total-1)/ot)+1}var Qe=function(ft){(0,te.Z)(zt,ft);var st=(0,ue.Z)(zt);function zt(ot){var at;(0,b.Z)(this,zt),at=st.call(this,ot),at.paginationNode=_e.createRef(),at.getJumpPrevPage=function(){return Math.max(1,at.state.current-(at.props.showLessItems?3:5))},at.getJumpNextPage=function(){return Math.min(Ye(void 0,at.state,at.props),at.state.current+(at.props.showLessItems?3:5))},at.getItemIcon=function(fn,vn){var An=at.props.prefixCls,vr=fn||_e.createElement("button",{type:"button","aria-label":vn,className:"".concat(An,"-item-link")});return typeof fn=="function"&&(vr=_e.createElement(fn,(0,x.Z)({},at.props))),vr},at.isValid=function(fn){var vn=at.props.total;return je(fn)&&fn!==at.state.current&&je(vn)&&vn>0},at.shouldDisplayQuickJumper=function(){var fn=at.props,vn=fn.showQuickJumper,An=fn.total,vr=at.state.pageSize;return An<=vr?!1:vn},at.handleKeyDown=function(fn){(fn.keyCode===xe.ARROW_UP||fn.keyCode===xe.ARROW_DOWN)&&fn.preventDefault()},at.handleKeyUp=function(fn){var vn=at.getValidValue(fn),An=at.state.currentInputValue;vn!==An&&at.setState({currentInputValue:vn}),fn.keyCode===xe.ENTER?at.handleChange(vn):fn.keyCode===xe.ARROW_UP?at.handleChange(vn-1):fn.keyCode===xe.ARROW_DOWN&&at.handleChange(vn+1)},at.handleBlur=function(fn){var vn=at.getValidValue(fn);at.handleChange(vn)},at.changePageSize=function(fn){var vn=at.state.current,An=Ye(fn,at.state,at.props);vn=vn>An?An:vn,An===0&&(vn=at.state.current),typeof fn=="number"&&("pageSize"in at.props||at.setState({pageSize:fn}),"current"in at.props||at.setState({current:vn,currentInputValue:vn})),at.props.onShowSizeChange(vn,fn),"onChange"in at.props&&at.props.onChange&&at.props.onChange(vn,fn)},at.handleChange=function(fn){var vn=at.props,An=vn.disabled,vr=vn.onChange,yn=at.state,cr=yn.pageSize,Zr=yn.current,Gr=yn.currentInputValue;if(at.isValid(fn)&&!An){var ro=Ye(void 0,at.state,at.props),oo=fn;return fn>ro?oo=ro:fn<1&&(oo=1),"current"in at.props||at.setState({current:oo}),oo!==Gr&&at.setState({currentInputValue:oo}),vr(oo,cr),oo}return Zr},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<Ye(void 0,at.state,at.props)},at.runIfEnter=function(fn,vn){if(fn.key==="Enter"||fn.charCode===13){for(var An=arguments.length,vr=new Array(An>2?An-2:0),yn=2;yn<An;yn++)vr[yn-2]=arguments[yn];vn.apply(void 0,vr)}},at.runIfEnterPrev=function(fn){at.runIfEnter(fn,at.prev)},at.runIfEnterNext=function(fn){at.runIfEnter(fn,at.next)},at.runIfEnterJumpPrev=function(fn){at.runIfEnter(fn,at.jumpPrev)},at.runIfEnterJumpNext=function(fn){at.runIfEnter(fn,at.jumpNext)},at.handleGoTO=function(fn){(fn.keyCode===xe.ENTER||fn.type==="click")&&at.handleChange(at.state.currentInputValue)},at.renderPrev=function(fn){var vn=at.props,An=vn.prevIcon,vr=vn.itemRender,yn=vr(fn,"prev",at.getItemIcon(An,"prev page")),cr=!at.hasPrev();return(0,_e.isValidElement)(yn)?(0,_e.cloneElement)(yn,{disabled:cr}):yn},at.renderNext=function(fn){var vn=at.props,An=vn.nextIcon,vr=vn.itemRender,yn=vr(fn,"next",at.getItemIcon(An,"next page")),cr=!at.hasNext();return(0,_e.isValidElement)(yn)?(0,_e.cloneElement)(yn,{disabled:cr}):yn};var bt=ot.onChange!==Ue,Ft="current"in ot;Ft&&!bt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var kt=ot.defaultCurrent;"current"in ot&&(kt=ot.current);var un=ot.defaultPageSize;return"pageSize"in ot&&(un=ot.pageSize),kt=Math.min(kt,Ye(un,void 0,ot)),at.state={current:kt,currentInputValue:kt,pageSize:un},at}return(0,ee.Z)(zt,[{key:"componentDidUpdate",value:function(at,bt){var Ft=this.props.prefixCls;if(bt.current!==this.state.current&&this.paginationNode.current){var kt=this.paginationNode.current.querySelector(".".concat(Ft,"-item-").concat(bt.current));if(kt&&document.activeElement===kt){var un;kt==null||(un=kt.blur)===null||un===void 0||un.call(kt)}}}},{key:"getValidValue",value:function(at){var bt=at.target.value,Ft=Ye(void 0,this.state,this.props),kt=this.state.currentInputValue,un;return bt===""?un=bt:Number.isNaN(Number(bt))?un=kt:bt>=Ft?un=Ft:un=Number(bt),un}},{key:"getShowSizeChanger",value:function(){var at=this.props,bt=at.showSizeChanger,Ft=at.total,kt=at.totalBoundaryShowSizeChanger;return typeof bt!="undefined"?bt:Ft>kt}},{key:"render",value:function(){var at=this.props,bt=at.prefixCls,Ft=at.className,kt=at.style,un=at.disabled,fn=at.hideOnSinglePage,vn=at.total,An=at.locale,vr=at.showQuickJumper,yn=at.showLessItems,cr=at.showTitle,Zr=at.showTotal,Gr=at.simple,ro=at.itemRender,oo=at.showPrevNextJumpers,po=at.jumpPrevIcon,Pn=at.jumpNextIcon,dn=at.selectComponentClass,Bn=at.selectPrefixCls,Rn=at.pageSizeOptions,Un=this.state,tr=Un.current,gr=Un.pageSize,Br=Un.currentInputValue;if(fn===!0&&vn<=gr)return null;var dr=Ye(void 0,this.state,this.props),Xn=[],Rt=null,Mt=null,Lt=null,In=null,Gn=null,Wn=vr&&vr.goButton,mr=yn?1:2,wr=tr-1>0?tr-1:0,Rr=tr+1<dr?tr+1:dr,qr=Pe(this.props,{aria:!0,data:!0}),mo=Zr&&_e.createElement("li",{className:"".concat(bt,"-total-text")},Zr(vn,[vn===0?0:(tr-1)*gr+1,tr*gr>vn?vn:tr*gr]));if(Gr){Wn&&(typeof Wn=="boolean"?Gn=_e.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},An.jump_to_confirm):Gn=_e.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Wn),Gn=_e.createElement("li",{title:cr?"".concat(An.jump_to).concat(tr,"/").concat(dr):null,className:"".concat(bt,"-simple-pager")},Gn));var Tn=this.renderPrev(wr);return _e.createElement("ul",(0,be.Z)({className:a()(bt,"".concat(bt,"-simple"),(0,y.Z)({},"".concat(bt,"-disabled"),un),Ft),style:kt,ref:this.paginationNode},qr),mo,Tn?_e.createElement("li",{title:cr?An.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:a()("".concat(bt,"-prev"),(0,y.Z)({},"".concat(bt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Tn):null,_e.createElement("li",{title:cr?"".concat(tr,"/").concat(dr):null,className:"".concat(bt,"-simple-pager")},_e.createElement("input",{type:"text",value:Br,disabled:un,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),_e.createElement("span",{className:"".concat(bt,"-slash")},"/"),dr),_e.createElement("li",{title:cr?An.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:a()("".concat(bt,"-next"),(0,y.Z)({},"".concat(bt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Rr)),Gn)}if(dr<=3+mr*2){var Ur={locale:An,rootPrefixCls:bt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:cr,itemRender:ro};dr||Xn.push(_e.createElement(Me,(0,be.Z)({},Ur,{key:"noPager",page:1,className:"".concat(bt,"-item-disabled")})));for(var bo=1;bo<=dr;bo+=1){var ca=tr===bo;Xn.push(_e.createElement(Me,(0,be.Z)({},Ur,{key:bo,page:bo,active:ca})))}}else{var Ko=yn?An.prev_3:An.prev_5,jo=yn?An.next_3:An.next_5,ia=ro(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(po,"prev page")),ho=ro(this.getJumpNextPage(),"jump-next",this.getItemIcon(Pn,"next page"));oo&&(Rt=ia?_e.createElement("li",{title:cr?Ko:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:a()("".concat(bt,"-jump-prev"),(0,y.Z)({},"".concat(bt,"-jump-prev-custom-icon"),!!po))},ia):null,Mt=ho?_e.createElement("li",{title:cr?jo:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:a()("".concat(bt,"-jump-next"),(0,y.Z)({},"".concat(bt,"-jump-next-custom-icon"),!!Pn))},ho):null),In=_e.createElement(Me,{locale:An,last:!0,rootPrefixCls:bt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:dr,page:dr,active:!1,showTitle:cr,itemRender:ro}),Lt=_e.createElement(Me,{locale:An,rootPrefixCls:bt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:cr,itemRender:ro});var Dt=Math.max(1,tr-mr),nn=Math.min(tr+mr,dr);tr-1<=mr&&(nn=1+mr*2),dr-tr<=mr&&(Dt=dr-mr*2);for(var rn=Dt;rn<=nn;rn+=1){var mn=tr===rn;Xn.push(_e.createElement(Me,{locale:An,rootPrefixCls:bt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:rn,page:rn,active:mn,showTitle:cr,itemRender:ro}))}tr-1>=mr*2&&tr!==3&&(Xn[0]=(0,_e.cloneElement)(Xn[0],{className:"".concat(bt,"-item-after-jump-prev")}),Xn.unshift(Rt)),dr-tr>=mr*2&&tr!==dr-2&&(Xn[Xn.length-1]=(0,_e.cloneElement)(Xn[Xn.length-1],{className:"".concat(bt,"-item-before-jump-next")}),Xn.push(Mt)),Dt!==1&&Xn.unshift(Lt),nn!==dr&&Xn.push(In)}var zn=!this.hasPrev()||!dr,Sn=!this.hasNext()||!dr,Nn=this.renderPrev(wr),_t=this.renderNext(Rr);return _e.createElement("ul",(0,be.Z)({className:a()(bt,Ft,(0,y.Z)({},"".concat(bt,"-disabled"),un)),style:kt,ref:this.paginationNode},qr),mo,Nn?_e.createElement("li",{title:cr?An.prev_page:null,onClick:this.prev,tabIndex:zn?null:0,onKeyPress:this.runIfEnterPrev,className:a()("".concat(bt,"-prev"),(0,y.Z)({},"".concat(bt,"-disabled"),zn)),"aria-disabled":zn},Nn):null,Xn,_t?_e.createElement("li",{title:cr?An.next_page:null,onClick:this.next,tabIndex:Sn?null:0,onKeyPress:this.runIfEnterNext,className:a()("".concat(bt,"-next"),(0,y.Z)({},"".concat(bt,"-disabled"),Sn)),"aria-disabled":Sn},_t):null,_e.createElement(Ce,{disabled:un,locale:An,rootPrefixCls:bt,selectComponentClass:dn,selectPrefixCls:Bn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:tr,pageSize:gr,pageSizeOptions:Rn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Wn}))}}],[{key:"getDerivedStateFromProps",value:function(at,bt){var Ft={};if("current"in at&&(Ft.current=at.current,at.current!==bt.current&&(Ft.currentInputValue=Ft.current)),"pageSize"in at&&at.pageSize!==bt.pageSize){var kt=bt.current,un=Ye(at.pageSize,bt,at);kt=kt>un?un:kt,"current"in at||(Ft.current=kt,Ft.currentInputValue=kt),Ft.pageSize=at.pageSize}return Ft}}]),zt}(_e.Component);Qe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ue,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ue,locale:Ee.Z,style:{},itemRender:nt,totalBoundaryShowSizeChanger:50};var Xe=Qe,ze=me(62906),ke=me(53124),Be=me(98675),qe=me(25378),Je=me(10110),gt=me(42563);const We=ft=>_e.createElement(gt.default,Object.assign({},ft,{showSearch:!0,size:"small"})),$e=ft=>_e.createElement(gt.default,Object.assign({},ft,{showSearch:!0,size:"middle"}));We.Option=gt.default.Option,$e.Option=gt.default.Option;var Re=me(47673),tt=me(14747),Ie=me(67968),He=me(45503);const Ve=ft=>{const{componentCls:st}=ft;return{[`${st}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${st}-item-link`]:{color:ft.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${st}-item-link`]:{color:ft.colorTextDisabled,cursor:"not-allowed"}}},[`&${st}-disabled`]:{cursor:"not-allowed",[`${st}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ft.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ft.colorBorder,backgroundColor:ft.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ft.itemActiveBgDisabled},a:{color:ft.itemActiveColorDisabled}}},[`${st}-item-link`]:{color:ft.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${st}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${st}-simple-pager`]:{color:ft.colorTextDisabled},[`${st}-jump-prev, ${st}-jump-next`]:{[`${st}-item-link-icon`]:{opacity:0},[`${st}-item-ellipsis`]:{opacity:1}}},[`&${st}-simple`]:{[`${st}-prev, ${st}-next`]:{[`&${st}-disabled ${st}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ze=ft=>{const{componentCls:st}=ft;return{[`&${st}-mini ${st}-total-text, &${st}-mini ${st}-simple-pager`]:{height:ft.itemSizeSM,lineHeight:`${ft.itemSizeSM}px`},[`&${st}-mini ${st}-item`]:{minWidth:ft.itemSizeSM,height:ft.itemSizeSM,margin:0,lineHeight:`${ft.itemSizeSM-2}px`},[`&${st}-mini:not(${st}-disabled) ${st}-item:not(${st}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:ft.colorBgTextHover},"&:active":{backgroundColor:ft.colorBgTextActive}},[`&${st}-mini ${st}-prev, &${st}-mini ${st}-next`]:{minWidth:ft.itemSizeSM,height:ft.itemSizeSM,margin:0,lineHeight:`${ft.itemSizeSM}px`},[`&${st}-mini:not(${st}-disabled)`]:{[`${st}-prev, ${st}-next`]:{[`&:hover ${st}-item-link`]:{backgroundColor:ft.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:ft.colorBgTextActive},[`&${st}-disabled:hover ${st}-item-link`]:{backgroundColor:"transparent"}}},[`
&${st}-mini ${st}-prev ${st}-item-link,
&${st}-mini ${st}-next ${st}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ft.itemSizeSM,lineHeight:`${ft.itemSizeSM}px`}},[`&${st}-mini ${st}-jump-prev, &${st}-mini ${st}-jump-next`]:{height:ft.itemSizeSM,marginInlineEnd:0,lineHeight:`${ft.itemSizeSM}px`},[`&${st}-mini ${st}-options`]:{marginInlineStart:ft.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:ft.miniOptionsSizeChangerTop},"&-quick-jumper":{height:ft.itemSizeSM,lineHeight:`${ft.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Re.x0)(ft)),{width:ft.paginationMiniQuickJumperInputWidth,height:ft.controlHeightSM})}}}},Ke=ft=>{const{componentCls:st}=ft;return{[`
&${st}-simple ${st}-prev,
&${st}-simple ${st}-next
`]:{height:ft.itemSizeSM,lineHeight:`${ft.itemSizeSM}px`,verticalAlign:"top",[`${st}-item-link`]:{height:ft.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ft.colorBgTextHover},"&:active":{backgroundColor:ft.colorBgTextActive},"&::after":{height:ft.itemSizeSM,lineHeight:`${ft.itemSizeSM}px`}}},[`&${st}-simple ${st}-simple-pager`]:{display:"inline-block",height:ft.itemSizeSM,marginInlineEnd:ft.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:ft.marginXS,padding:`0 ${ft.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:ft.itemInputBg,border:`${ft.lineWidth}px ${ft.lineType} ${ft.colorBorder}`,borderRadius:ft.borderRadius,outline:"none",transition:`border-color ${ft.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ft.colorPrimary},"&:focus":{borderColor:ft.colorPrimaryHover,boxShadow:`${ft.inputOutlineOffset}px 0 ${ft.controlOutlineWidth}px ${ft.controlOutline}`},"&[disabled]":{color:ft.colorTextDisabled,backgroundColor:ft.colorBgContainerDisabled,borderColor:ft.colorBorder,cursor:"not-allowed"}}}}},Ae=ft=>{const{componentCls:st}=ft;return{[`${st}-jump-prev, ${st}-jump-next`]:{outline:0,[`${st}-item-container`]:{position:"relative",[`${st}-item-link-icon`]:{color:ft.colorPrimary,fontSize:ft.fontSizeSM,opacity:0,transition:`all ${ft.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${st}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ft.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:ft.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ft.paginationEllipsisTextIndent,opacity:1,transition:`all ${ft.motionDurationMid}`}},"&:hover":{[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}}},[`
${st}-prev,
${st}-jump-prev,
${st}-jump-next
`]:{marginInlineEnd:ft.marginXS},[`
${st}-prev,
${st}-next,
${st}-jump-prev,
${st}-jump-next
`]:{display:"inline-block",minWidth:ft.itemSize,height:ft.itemSize,color:ft.colorText,fontFamily:ft.fontFamily,lineHeight:`${ft.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ft.borderRadius,cursor:"pointer",transition:`all ${ft.motionDurationMid}`},[`${st}-prev, ${st}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:ft.colorText,cursor:"pointer",userSelect:"none"},[`${st}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ft.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${ft.lineWidth}px ${ft.lineType} transparent`,borderRadius:ft.borderRadius,outline:"none",transition:`all ${ft.motionDurationMid}`},[`&:hover ${st}-item-link`]:{backgroundColor:ft.colorBgTextHover},[`&:active ${st}-item-link`]:{backgroundColor:ft.colorBgTextActive},[`&${st}-disabled:hover`]:{[`${st}-item-link`]:{backgroundColor:"transparent"}}},[`${st}-slash`]:{marginInlineEnd:ft.paginationSlashMarginInlineEnd,marginInlineStart:ft.paginationSlashMarginInlineStart},[`${st}-options`]:{display:"inline-block",marginInlineStart:ft.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ft.controlHeight,marginInlineStart:ft.marginXS,lineHeight:`${ft.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Re.ik)(ft)),{width:ft.controlHeightLG*1.25,height:ft.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ft.marginXS,marginInlineEnd:ft.marginXS})}}}},Le=ft=>{const{componentCls:st}=ft;return{[`${st}-item`]:{display:"inline-block",minWidth:ft.itemSize,height:ft.itemSize,marginInlineEnd:ft.marginXS,fontFamily:ft.fontFamily,lineHeight:`${ft.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${ft.lineWidth}px ${ft.lineType} transparent`,borderRadius:ft.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${ft.paginationItemPaddingInline}px`,color:ft.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${st}-item-active)`]:{"&:hover":{transition:`all ${ft.motionDurationMid}`,backgroundColor:ft.colorBgTextHover},"&:active":{backgroundColor:ft.colorBgTextActive}},"&-active":{fontWeight:ft.fontWeightStrong,backgroundColor:ft.itemActiveBg,borderColor:ft.colorPrimary,a:{color:ft.colorPrimary},"&:hover":{borderColor:ft.colorPrimaryHover},"&:hover a":{color:ft.colorPrimaryHover}}}}},Ne=ft=>{const{componentCls:st}=ft;return{[st]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,tt.Wf)(ft)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${st}-total-text`]:{display:"inline-block",height:ft.itemSize,marginInlineEnd:ft.marginXS,lineHeight:`${ft.itemSize-2}px`,verticalAlign:"middle"}}),Le(ft)),Ae(ft)),Ke(ft)),Ze(ft)),Ve(ft)),{[`@media only screen and (max-width: ${ft.screenLG}px)`]:{[`${st}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ft.screenSM}px)`]:{[`${st}-options`]:{display:"none"}}}),[`&${ft.componentCls}-rtl`]:{direction:"rtl"}}},Ge=ft=>{const{componentCls:st}=ft;return{[`${st}${st}-disabled:not(${st}-mini)`]:{"&, &:hover":{[`${st}-item-link`]:{borderColor:ft.colorBorder}},"&:focus-visible":{[`${st}-item-link`]:{borderColor:ft.colorBorder}},[`${st}-item, ${st}-item-link`]:{backgroundColor:ft.colorBgContainerDisabled,borderColor:ft.colorBorder,[`&:hover:not(${st}-item-active)`]:{backgroundColor:ft.colorBgContainerDisabled,borderColor:ft.colorBorder,a:{color:ft.colorTextDisabled}},[`&${st}-item-active`]:{backgroundColor:ft.itemActiveBgDisabled}},[`${st}-prev, ${st}-next`]:{"&:hover button":{backgroundColor:ft.colorBgContainerDisabled,borderColor:ft.colorBorder,color:ft.colorTextDisabled},[`${st}-item-link`]:{backgroundColor:ft.colorBgContainerDisabled,borderColor:ft.colorBorder}}},[`${st}:not(${st}-mini)`]:{[`${st}-prev, ${st}-next`]:{"&:hover button":{borderColor:ft.colorPrimaryHover,backgroundColor:ft.itemBg},[`${st}-item-link`]:{backgroundColor:ft.itemLinkBg,borderColor:ft.colorBorder},[`&:hover ${st}-item-link`]:{borderColor:ft.colorPrimary,backgroundColor:ft.itemBg,color:ft.colorPrimary},[`&${st}-disabled`]:{[`${st}-item-link`]:{borderColor:ft.colorBorder,color:ft.colorTextDisabled}}},[`${st}-item`]:{backgroundColor:ft.itemBg,border:`${ft.lineWidth}px ${ft.lineType} ${ft.colorBorder}`,[`&:hover:not(${st}-item-active)`]:{borderColor:ft.colorPrimary,backgroundColor:ft.itemBg,a:{color:ft.colorPrimary}},"&-active":{borderColor:ft.colorPrimary}}}}},rt=ft=>{const{componentCls:st}=ft;return{[`${st}:not(${st}-disabled)`]:{[`${st}-item`]:Object.assign({},(0,tt.Qy)(ft)),[`${st}-jump-prev, ${st}-jump-next`]:{"&:focus-visible":Object.assign({[`${st}-item-link-icon`]:{opacity:1},[`${st}-item-ellipsis`]:{opacity:0}},(0,tt.oN)(ft))},[`${st}-prev, ${st}-next`]:{[`&:focus-visible ${st}-item-link`]:Object.assign({},(0,tt.oN)(ft))}}}};var St=(0,Ie.Z)("Pagination",ft=>{const st=(0,He.TS)(ft,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ft.marginXXS/2,paginationMiniQuickJumperInputWidth:ft.controlHeightLG*1.1,paginationItemPaddingInline:ft.marginXXS*1.5,paginationEllipsisLetterSpacing:ft.marginXXS/2,paginationSlashMarginInlineStart:ft.marginXXS,paginationSlashMarginInlineEnd:ft.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Re.e5)(ft),(0,Re.TM)(ft));return[Ne(st),rt(st),ft.wireframe&&Ge(st)]},ft=>({itemBg:ft.colorBgContainer,itemSize:ft.controlHeight,itemSizeSM:ft.controlHeightSM,itemActiveBg:ft.colorBgContainer,itemLinkBg:ft.colorBgContainer,itemActiveColorDisabled:ft.colorTextDisabled,itemActiveBgDisabled:ft.controlItemBgActiveDisabled,itemInputBg:ft.colorBgContainer,miniOptionsSizeChangerTop:0})),Pt=function(ft,st){var zt={};for(var ot in ft)Object.prototype.hasOwnProperty.call(ft,ot)&&st.indexOf(ot)<0&&(zt[ot]=ft[ot]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,ot=Object.getOwnPropertySymbols(ft);at<ot.length;at++)st.indexOf(ot[at])<0&&Object.prototype.propertyIsEnumerable.call(ft,ot[at])&&(zt[ot[at]]=ft[ot[at]]);return zt},bn=ft=>{const{prefixCls:st,selectPrefixCls:zt,className:ot,rootClassName:at,style:bt,size:Ft,locale:kt,selectComponentClass:un,responsive:fn,showSizeChanger:vn}=ft,An=Pt(ft,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:vr}=(0,qe.Z)(fn),{getPrefixCls:yn,direction:cr,pagination:Zr={}}=_e.useContext(ke.E_),Gr=yn("pagination",st),[ro,oo]=St(Gr),po=vn!=null?vn:Zr.showSizeChanger,Pn=_e.useMemo(()=>{const dr=_e.createElement("span",{className:`${Gr}-item-ellipsis`},"\u2022\u2022\u2022"),Xn=_e.createElement("button",{className:`${Gr}-item-link`,type:"button",tabIndex:-1},cr==="rtl"?_e.createElement(ne.Z,null):_e.createElement(oe.Z,null)),Rt=_e.createElement("button",{className:`${Gr}-item-link`,type:"button",tabIndex:-1},cr==="rtl"?_e.createElement(oe.Z,null):_e.createElement(ne.Z,null)),Mt=_e.createElement("a",{className:`${Gr}-item-link`},_e.createElement("div",{className:`${Gr}-item-container`},cr==="rtl"?_e.createElement(ae,{className:`${Gr}-item-link-icon`}):_e.createElement(re,{className:`${Gr}-item-link-icon`}),dr)),Lt=_e.createElement("a",{className:`${Gr}-item-link`},_e.createElement("div",{className:`${Gr}-item-container`},cr==="rtl"?_e.createElement(re,{className:`${Gr}-item-link-icon`}):_e.createElement(ae,{className:`${Gr}-item-link-icon`}),dr));return{prevIcon:Xn,nextIcon:Rt,jumpPrevIcon:Mt,jumpNextIcon:Lt}},[cr,Gr]),[dn]=(0,Je.Z)("Pagination",ze.Z),Bn=Object.assign(Object.assign({},dn),kt),Rn=(0,Be.Z)(Ft),Un=Rn==="small"||!!(vr&&!Rn&&fn),tr=yn("select",zt),gr=a()({[`${Gr}-mini`]:Un,[`${Gr}-rtl`]:cr==="rtl"},Zr==null?void 0:Zr.className,ot,at,oo),Br=Object.assign(Object.assign({},Zr==null?void 0:Zr.style),bt);return ro(_e.createElement(Xe,Object.assign({},Pn,An,{style:Br,prefixCls:Gr,selectPrefixCls:tr,className:gr,selectComponentClass:un||(Un?We:$e),locale:Bn,showSizeChanger:po})))},$t=bn},66330:function(Tt,ht,me){"use strict";me.d(ht,{t5:function(){return ce}});var be=me(94184),_e=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)))},ce=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:_e()(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(ce,Object.assign({},z,{prefixCls:y,hashId:b})))};ht.ZP=ae},20136:function(Tt,ht,me){"use strict";var be=me(14747),_e=me(50438),E=me(97414),he=me(8796),fe=me(67968),se=me(45503);const re=ce=>{const{componentCls:ae,popoverColor:oe,minWidth:ne,fontWeightStrong:z,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:ee,marginXS:te,colorBgElevated:ue,popoverBg:de}=ce;return[{[ae]:Object.assign(Object.assign({},(0,be.Wf)(ce)),{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":ue,"&-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)(ce,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ae}-pure`]:{position:"relative",maxWidth:"none",margin:ce.sizePopupArrow,display:"inline-block",[`${ae}-content`]:{display:"inline-block"}}}]},ie=ce=>{const{componentCls:ae}=ce;return{[ae]:he.i.map(oe=>{const ne=ce[`${oe}6`];return{[`&${ae}-${oe}`]:{"--antd-arrow-background-color":ne,[`${ae}-inner`]:{backgroundColor:ne},[`${ae}-arrow`]:{background:"transparent"}}}})}},le=ce=>{const{componentCls:ae,lineWidth:oe,lineType:ne,colorSplit:z,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:ee}=ce,te=y-Math.round(x*b),ue=te/2,de=te/2-oe,ge=ee;return{[ae]:{[`${ae}-inner`]:{padding:0},[`${ae}-title`]:{margin:0,padding:`${ue}px ${ge}px ${de}px`,borderBottom:`${oe}px ${ne} ${z}`},[`${ae}-inner-content`]:{padding:`${a}px ${ge}px`}}}};ht.Z=(0,fe.Z)("Popover",ce=>{const{colorBgElevated:ae,colorText:oe,wireframe:ne}=ce,z=(0,se.TS)(ce,{popoverPadding:12,popoverBg:ae,popoverColor:oe});return[re(z),ie(z),ne&&le(z),(0,_e._y)(z,"zoom-big")]},ce=>({width:177,minWidth:177,zIndexPopup:ce.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return zt}});var be=me(67294),_e=me(23526),E=me(60068),he=me(30186),fe=me(85846),se=me(94184),re=me.n(se),ie=me(10366),le=me(53124),ce=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 at=(0,be.useRef)([]),bt=(0,be.useRef)(null);return(0,be.useEffect)(function(){var Ft=Date.now(),kt=!1;at.current.forEach(function(un){if(un){kt=!0;var fn=un.style;fn.transitionDuration=".3s, .3s, .3s, .06s",bt.current&&Ft-bt.current<100&&(fn.transitionDuration="0s, 0s")}}),kt&&(bt.current=Date.now())}),at.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(at){var bt=(0,ae.Z)((0,ae.Z)({},ne),at),Ft=bt.className,kt=bt.percent,un=bt.prefixCls,fn=bt.strokeColor,vn=bt.strokeLinecap,An=bt.strokeWidth,vr=bt.style,yn=bt.trailColor,cr=bt.trailWidth,Zr=bt.transition,Gr=(0,oe.Z)(bt,a);delete Gr.gapPosition;var ro=Array.isArray(kt)?kt:[kt],oo=Array.isArray(fn)?fn:[fn],po=z(),Pn=An/2,dn=100-An/2,Bn="M ".concat(vn==="round"?Pn:0,",").concat(Pn,`
L `).concat(vn==="round"?dn:100,",").concat(Pn),Rn="0 0 100 ".concat(An),Un=0;return be.createElement("svg",(0,ce.Z)({className:re()("".concat(un,"-line"),Ft),viewBox:Rn,preserveAspectRatio:"none",style:vr},Gr),be.createElement("path",{className:"".concat(un,"-line-trail"),d:Bn,strokeLinecap:vn,stroke:yn,strokeWidth:cr||An,fillOpacity:"0"}),ro.map(function(tr,gr){var Br=1;switch(vn){case"round":Br=1-An/100;break;case"square":Br=1-An/2/100;break;default:Br=1;break}var dr={strokeDasharray:"".concat(tr*Br,"px, 100px"),strokeDashoffset:"-".concat(Un,"px"),transition:Zr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Xn=oo[gr]||oo[oo.length-1];return Un+=tr,be.createElement("path",{key:gr,className:"".concat(un,"-line-path"),d:Bn,strokeLinecap:vn,stroke:Xn,strokeWidth:An,fillOpacity:"0",ref:function(Mt){po[gr]=Mt},style:dr})}))},x=y,b=me(71002),ee=me(97685),te=me(98924),ue=0,de=(0,te.Z)();function ge(){var ot;return de?(ot=ue,ue+=1):ot="TEST_OR_SSR",ot}var ve=function(ot){var at=be.useState(),bt=(0,ee.Z)(at,2),Ft=bt[0],kt=bt[1];return be.useEffect(function(){kt("rc_progress_".concat(ge()))},[]),ot||Ft},pe=function(at){var bt=at.bg,Ft=at.children;return be.createElement("div",{style:{width:"100%",height:"100%",background:bt}},Ft)};function Se(ot,at){return Object.keys(ot).map(function(bt){var Ft=parseFloat(bt),kt="".concat(Math.floor(Ft*at),"%");return"".concat(ot[bt]," ").concat(kt)})}var ye=be.forwardRef(function(ot,at){var bt=ot.prefixCls,Ft=ot.color,kt=ot.gradientId,un=ot.radius,fn=ot.style,vn=ot.ptg,An=ot.strokeLinecap,vr=ot.strokeWidth,yn=ot.size,cr=ot.gapDegree,Zr=Ft&&(0,b.Z)(Ft)==="object",Gr=Zr?"#FFF":void 0,ro=yn/2,oo=be.createElement("circle",{className:"".concat(bt,"-circle-path"),r:un,cx:ro,cy:ro,stroke:Gr,strokeLinecap:An,strokeWidth:vr,opacity:vn===0?0:1,style:fn,ref:at});if(!Zr)return oo;var po="".concat(kt,"-conic"),Pn=cr?"".concat(180+cr/2,"deg"):"0deg",dn=Se(Ft,(360-cr)/360),Bn=Se(Ft,1),Rn="conic-gradient(from ".concat(Pn,", ").concat(dn.join(", "),")"),Un="linear-gradient(to ".concat(cr?"bottom":"top",", ").concat(Bn.join(", "),")");return be.createElement(be.Fragment,null,be.createElement("mask",{id:po},oo),be.createElement("foreignObject",{x:0,y:0,width:yn,height:yn,mask:"url(#".concat(po,")")},be.createElement(pe,{bg:Un},be.createElement(pe,{bg:Rn}))))}),Pe=ye,we=100,xe=function(at,bt,Ft,kt,un,fn,vn,An,vr,yn){var cr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Zr=Ft/100*360*((360-fn)/360),Gr=fn===0?0:{bottom:0,top:180,left:90,right:-90}[vn],ro=(100-kt)/100*bt;vr==="round"&&kt!==100&&(ro+=yn/2,ro>=bt&&(ro=bt-.01));var oo=we/2;return{stroke:typeof An=="string"?An:void 0,strokeDasharray:"".concat(bt,"px ").concat(at),strokeDashoffset:ro+cr,transform:"rotate(".concat(un+Zr+Gr,"deg)"),transformOrigin:"".concat(oo,"px ").concat(oo,"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(ot){var at=ot!=null?ot:[];return Array.isArray(at)?at:[at]}var Ce=function(at){var bt=(0,ae.Z)((0,ae.Z)({},ne),at),Ft=bt.id,kt=bt.prefixCls,un=bt.steps,fn=bt.strokeWidth,vn=bt.trailWidth,An=bt.gapDegree,vr=An===void 0?0:An,yn=bt.gapPosition,cr=bt.trailColor,Zr=bt.strokeLinecap,Gr=bt.style,ro=bt.className,oo=bt.strokeColor,po=bt.percent,Pn=(0,oe.Z)(bt,Ee),dn=we/2,Bn=ve(Ft),Rn="".concat(Bn,"-gradient"),Un=dn-fn/2,tr=Math.PI*2*Un,gr=vr>0?90+vr/2:-90,Br=tr*((360-vr)/360),dr=(0,b.Z)(un)==="object"?un:{count:un,space:2},Xn=dr.count,Rt=dr.space,Mt=Te(po),Lt=Te(oo),In=Lt.find(function(mo){return mo&&(0,b.Z)(mo)==="object"}),Gn=In&&(0,b.Z)(In)==="object",Wn=Gn?"butt":Zr,mr=xe(tr,Br,0,100,gr,vr,yn,cr,Wn,fn),wr=z(),Rr=function(){var Tn=0;return Mt.map(function(Ur,bo){var ca=Lt[bo]||Lt[Lt.length-1],Ko=xe(tr,Br,Tn,Ur,gr,vr,yn,ca,Wn,fn);return Tn+=Ur,be.createElement(Pe,{key:bo,color:ca,ptg:Ur,radius:Un,prefixCls:kt,gradientId:Rn,style:Ko,strokeLinecap:Wn,strokeWidth:fn,gapDegree:vr,ref:function(ia){wr[bo]=ia},size:we})}).reverse()},qr=function(){var Tn=Math.round(Xn*(Mt[0]/100)),Ur=100/Xn,bo=0;return new Array(Xn).fill(null).map(function(ca,Ko){var jo=Ko<=Tn-1?Lt[0]:cr,ia=jo&&(0,b.Z)(jo)==="object"?"url(#".concat(Rn,")"):void 0,ho=xe(tr,Br,bo,Ur,gr,vr,yn,jo,"butt",fn,Rt);return bo+=(Br-ho.strokeDashoffset+Rt)*100/Br,be.createElement("circle",{key:Ko,className:"".concat(kt,"-circle-path"),r:Un,cx:dn,cy:dn,stroke:ia,strokeWidth:fn,opacity:1,style:ho,ref:function(nn){wr[Ko]=nn}})})};return be.createElement("svg",(0,ce.Z)({className:re()("".concat(kt,"-circle"),ro),viewBox:"0 0 ".concat(we," ").concat(we),style:Gr,id:Ft,role:"presentation"},Pn),!Xn&&be.createElement("circle",{className:"".concat(kt,"-circle-trail"),r:Un,cx:dn,cy:dn,stroke:cr,strokeLinecap:Wn,strokeWidth:vn||fn,style:mr}),Xn?qr():Rr())},Oe=Ce,Me={Line:x,Circle:Oe},Ue=me(83062),je=me(47448);function nt(ot){return!ot||ot<0?0:ot>100?100:ot}function Ye(ot){let{success:at,successPercent:bt}=ot,Ft=bt;return at&&"progress"in at&&(Ft=at.progress),at&&"percent"in at&&(Ft=at.percent),Ft}const Qe=ot=>{let{percent:at,success:bt,successPercent:Ft}=ot;const kt=nt(Ye({success:bt,successPercent:Ft}));return[kt,nt(nt(at)-kt)]},Xe=ot=>{let{success:at={},strokeColor:bt}=ot;const{strokeColor:Ft}=at;return[Ft||je.presetPrimaryColors.green,bt||null]},ze=(ot,at,bt)=>{var Ft,kt,un,fn;let vn=-1,An=-1;if(at==="step"){const vr=bt.steps,yn=bt.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?(vn=ot==="small"?2:14,An=yn!=null?yn:8):typeof ot=="number"?[vn,An]=[ot,ot]:[vn=14,An=8]=ot,vn*=vr}else if(at==="line"){const vr=bt==null?void 0:bt.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?An=vr||(ot==="small"?6:8):typeof ot=="number"?[vn,An]=[ot,ot]:[vn=-1,An=8]=ot}else(at==="circle"||at==="dashboard")&&(typeof ot=="string"||typeof ot=="undefined"?[vn,An]=ot==="small"?[60,60]:[120,120]:typeof ot=="number"?[vn,An]=[ot,ot]:(vn=(kt=(Ft=ot[0])!==null&&Ft!==void 0?Ft:ot[1])!==null&&kt!==void 0?kt:120,An=(fn=(un=ot[0])!==null&&un!==void 0?un:ot[1])!==null&&fn!==void 0?fn:120));return[vn,An]},ke=3,Be=ot=>ke/ot*100;var Je=ot=>{const{prefixCls:at,trailColor:bt=null,strokeLinecap:Ft="round",gapPosition:kt,gapDegree:un,width:fn=120,type:vn,children:An,success:vr,size:yn=fn}=ot,[cr,Zr]=ze(yn,"circle");let{strokeWidth:Gr}=ot;Gr===void 0&&(Gr=Math.max(Be(cr),6));const ro={width:cr,height:Zr,fontSize:cr*.15+6},oo=be.useMemo(()=>{if(un||un===0)return un;if(vn==="dashboard")return 75},[un,vn]),po=kt||vn==="dashboard"&&"bottom"||void 0,Pn=Object.prototype.toString.call(ot.strokeColor)==="[object Object]",dn=Xe({success:vr,strokeColor:ot.strokeColor}),Bn=re()(`${at}-inner`,{[`${at}-circle-gradient`]:Pn}),Rn=be.createElement(Oe,{percent:Qe(ot),strokeWidth:Gr,trailWidth:Gr,strokeColor:dn,strokeLinecap:Ft,trailColor:bt,prefixCls:at,gapDegree:oo,gapPosition:po});return be.createElement("div",{className:Bn,style:ro},cr<=20?be.createElement(Ue.Z,{title:An},be.createElement("span",null,Rn)):be.createElement(be.Fragment,null,Rn,An))},gt=function(ot,at){var bt={};for(var Ft in ot)Object.prototype.hasOwnProperty.call(ot,Ft)&&at.indexOf(Ft)<0&&(bt[Ft]=ot[Ft]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,Ft=Object.getOwnPropertySymbols(ot);kt<Ft.length;kt++)at.indexOf(Ft[kt])<0&&Object.prototype.propertyIsEnumerable.call(ot,Ft[kt])&&(bt[Ft[kt]]=ot[Ft[kt]]);return bt};const We=ot=>{let at=[];return Object.keys(ot).forEach(bt=>{const Ft=parseFloat(bt.replace(/%/g,""));isNaN(Ft)||at.push({key:Ft,value:ot[bt]})}),at=at.sort((bt,Ft)=>bt.key-Ft.key),at.map(bt=>{let{key:Ft,value:kt}=bt;return`${kt} ${Ft}%`}).join(", ")},$e=(ot,at)=>{const{from:bt=je.presetPrimaryColors.blue,to:Ft=je.presetPrimaryColors.blue,direction:kt=at==="rtl"?"to left":"to right"}=ot,un=gt(ot,["from","to","direction"]);if(Object.keys(un).length!==0){const fn=We(un);return{backgroundImage:`linear-gradient(${kt}, ${fn})`}}return{backgroundImage:`linear-gradient(${kt}, ${bt}, ${Ft})`}};var tt=ot=>{const{prefixCls:at,direction:bt,percent:Ft,size:kt,strokeWidth:un,strokeColor:fn,strokeLinecap:vn="round",children:An,trailColor:vr=null,success:yn}=ot,cr=fn&&typeof fn!="string"?$e(fn,bt):{backgroundColor:fn},Zr=vn==="square"||vn==="butt"?0:void 0,Gr={backgroundColor:vr||void 0,borderRadius:Zr},ro=kt!=null?kt:[-1,un||(kt==="small"?6:8)],[oo,po]=ze(ro,"line",{strokeWidth:un}),Pn=Object.assign({width:`${nt(Ft)}%`,height:po,borderRadius:Zr},cr),dn=Ye(ot),Bn={width:`${nt(dn)}%`,height:po,borderRadius:Zr,backgroundColor:yn==null?void 0:yn.strokeColor},Rn={width:oo<0?"100%":oo,height:po};return be.createElement(be.Fragment,null,be.createElement("div",{className:`${at}-outer`,style:Rn},be.createElement("div",{className:`${at}-inner`,style:Gr},be.createElement("div",{className:`${at}-bg`,style:Pn}),dn!==void 0?be.createElement("div",{className:`${at}-success-bg`,style:Bn}):null)),An)},He=ot=>{const{size:at,steps:bt,percent:Ft=0,strokeWidth:kt=8,strokeColor:un,trailColor:fn=null,prefixCls:vn,children:An}=ot,vr=Math.round(bt*(Ft/100)),yn=at==="small"?2:14,cr=at!=null?at:[yn,kt],[Zr,Gr]=ze(cr,"step",{steps:bt,strokeWidth:kt}),ro=Zr/bt,oo=new Array(bt);for(let po=0;po<bt;po++){const Pn=Array.isArray(un)?un[po]:un;oo[po]=be.createElement("div",{key:po,className:re()(`${vn}-steps-item`,{[`${vn}-steps-item-active`]:po<=vr-1}),style:{backgroundColor:po<=vr-1?Pn:fn,width:ro,height:Gr}})}return be.createElement("div",{className:`${vn}-steps-outer`},oo,An)},Ve=me(45930),Ze=me(14747),Ke=me(67968),Ae=me(45503);const Le=ot=>{const at=ot?"100%":"-100%";return new Ve.Keyframes(`antProgress${ot?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${at}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${at}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ne=ot=>{const{componentCls:at,iconCls:bt}=ot;return{[at]:Object.assign(Object.assign({},(0,Ze.Wf)(ot)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ot.fontSize,marginInlineEnd:ot.marginXS,marginBottom:ot.marginXS},[`${at}-outer`]:{display:"inline-block",width:"100%"},[`&${at}-show-info`]:{[`${at}-outer`]:{marginInlineEnd:`calc(-2em - ${ot.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ot.paddingXS}px)`}},[`${at}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ot.remainingColor,borderRadius:ot.lineBorderRadius},[`${at}-inner:not(${at}-circle-gradient)`]:{[`${at}-circle-path`]:{stroke:ot.defaultColor}},[`${at}-success-bg, ${at}-bg`]:{position:"relative",backgroundColor:ot.defaultColor,borderRadius:ot.lineBorderRadius,transition:`all ${ot.motionDurationSlow} ${ot.motionEaseInOutCirc}`},[`${at}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ot.colorSuccess},[`${at}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ot.marginXS,color:ot.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[bt]:{fontSize:ot.fontSize}},[`&${at}-status-active`]:{[`${at}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ot.colorBgContainer,borderRadius:ot.lineBorderRadius,opacity:0,animationName:Le(),animationDuration:ot.progressActiveMotionDuration,animationTimingFunction:ot.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${at}-rtl${at}-status-active`]:{[`${at}-bg::before`]:{animationName:Le(!0)}},[`&${at}-status-exception`]:{[`${at}-bg`]:{backgroundColor:ot.colorError},[`${at}-text`]:{color:ot.colorError}},[`&${at}-status-exception ${at}-inner:not(${at}-circle-gradient)`]:{[`${at}-circle-path`]:{stroke:ot.colorError}},[`&${at}-status-success`]:{[`${at}-bg`]:{backgroundColor:ot.colorSuccess},[`${at}-text`]:{color:ot.colorSuccess}},[`&${at}-status-success ${at}-inner:not(${at}-circle-gradient)`]:{[`${at}-circle-path`]:{stroke:ot.colorSuccess}}})}},Ge=ot=>{const{componentCls:at,iconCls:bt}=ot;return{[at]:{[`${at}-circle-trail`]:{stroke:ot.remainingColor},[`&${at}-circle ${at}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${at}-circle ${at}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ot.circleTextColor,fontSize:ot.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[bt]:{fontSize:`${ot.fontSize/ot.fontSizeSM}em`}},[`${at}-circle&-status-exception`]:{[`${at}-text`]:{color:ot.colorError}},[`${at}-circle&-status-success`]:{[`${at}-text`]:{color:ot.colorSuccess}}},[`${at}-inline-circle`]:{lineHeight:1,[`${at}-inner`]:{verticalAlign:"bottom"}}}},rt=ot=>{const{componentCls:at}=ot;return{[at]:{[`${at}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ot.progressStepMinWidth,marginInlineEnd:ot.progressStepMarginInlineEnd,backgroundColor:ot.remainingColor,transition:`all ${ot.motionDurationSlow}`,"&-active":{backgroundColor:ot.defaultColor}}}}}},St=ot=>{const{componentCls:at,iconCls:bt}=ot;return{[at]:{[`${at}-small&-line, ${at}-small&-line ${at}-text ${bt}`]:{fontSize:ot.fontSizeSM}}}};var Pt=(0,Ke.Z)("Progress",ot=>{const at=ot.marginXXS/2,bt=(0,Ae.TS)(ot,{progressStepMarginInlineEnd:at,progressStepMinWidth:at,progressActiveMotionDuration:"2.4s"});return[Ne(bt),Ge(bt),rt(bt),St(bt)]},ot=>({circleTextColor:ot.colorText,defaultColor:ot.colorInfo,remainingColor:ot.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),At=function(ot,at){var bt={};for(var Ft in ot)Object.prototype.hasOwnProperty.call(ot,Ft)&&at.indexOf(Ft)<0&&(bt[Ft]=ot[Ft]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,Ft=Object.getOwnPropertySymbols(ot);kt<Ft.length;kt++)at.indexOf(Ft[kt])<0&&Object.prototype.propertyIsEnumerable.call(ot,Ft[kt])&&(bt[Ft[kt]]=ot[Ft[kt]]);return bt};const bn=null,$t=["normal","exception","active","success"];var st=be.forwardRef((ot,at)=>{const{prefixCls:bt,className:Ft,rootClassName:kt,steps:un,strokeColor:fn,percent:vn=0,size:An="default",showInfo:vr=!0,type:yn="line",status:cr,format:Zr,style:Gr}=ot,ro=At(ot,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),oo=be.useMemo(()=>{var Mt,Lt;const In=Ye(ot);return parseInt(In!==void 0?(Mt=In!=null?In:0)===null||Mt===void 0?void 0:Mt.toString():(Lt=vn!=null?vn:0)===null||Lt===void 0?void 0:Lt.toString(),10)},[vn,ot.success,ot.successPercent]),po=be.useMemo(()=>!$t.includes(cr)&&oo>=100?"success":cr||"normal",[cr,oo]),{getPrefixCls:Pn,direction:dn,progress:Bn}=be.useContext(le.E_),Rn=Pn("progress",bt),[Un,tr]=Pt(Rn),gr=be.useMemo(()=>{if(!vr)return null;const Mt=Ye(ot);let Lt;const In=Zr||(Wn=>`${Wn}%`),Gn=yn==="line";return Zr||po!=="exception"&&po!=="success"?Lt=In(nt(vn),nt(Mt)):po==="exception"?Lt=Gn?be.createElement(he.Z,null):be.createElement(fe.Z,null):po==="success"&&(Lt=Gn?be.createElement(_e.Z,null):be.createElement(E.Z,null)),be.createElement("span",{className:`${Rn}-text`,title:typeof Lt=="string"?Lt:void 0},Lt)},[vr,vn,oo,po,yn,Rn,Zr]),Br=Array.isArray(fn)?fn[0]:fn,dr=typeof fn=="string"||Array.isArray(fn)?fn:void 0;let Xn;yn==="line"?Xn=un?be.createElement(He,Object.assign({},ot,{strokeColor:dr,prefixCls:Rn,steps:un}),gr):be.createElement(tt,Object.assign({},ot,{strokeColor:Br,prefixCls:Rn,direction:dn}),gr):(yn==="circle"||yn==="dashboard")&&(Xn=be.createElement(Je,Object.assign({},ot,{strokeColor:Br,prefixCls:Rn,progressStatus:po}),gr));const Rt=re()(Rn,`${Rn}-status-${po}`,`${Rn}-${yn==="dashboard"&&"circle"||un&&"steps"||yn}`,{[`${Rn}-inline-circle`]:yn==="circle"&&ze(An,"circle")[0]<=20,[`${Rn}-show-info`]:vr,[`${Rn}-${An}`]:typeof An=="string",[`${Rn}-rtl`]:dn==="rtl"},Bn==null?void 0:Bn.className,Ft,kt,tr);return Un(be.createElement("div",Object.assign({ref:at,style:Object.assign(Object.assign({},Bn==null?void 0:Bn.style),Gr),className:Rt,role:"progressbar","aria-valuenow":oo},(0,ie.Z)(ro,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Xn))}),zt=st},4310:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return He}});var be=me(94184),_e=me.n(be),E=me(67294),he=me(53124),fe=me(10366),re=Ve=>{const{prefixCls:Ze,className:Ke,style:Ae,size:Le,shape:Ne}=Ve,Ge=_e()({[`${Ze}-lg`]:Le==="large",[`${Ze}-sm`]:Le==="small"}),rt=_e()({[`${Ze}-circle`]:Ne==="circle",[`${Ze}-square`]:Ne==="square",[`${Ze}-round`]:Ne==="round"}),St=E.useMemo(()=>typeof Le=="number"?{width:Le,height:Le,lineHeight:`${Le}px`}:{},[Le]);return E.createElement("span",{className:_e()(Ze,Ge,rt,Ke),style:Object.assign(Object.assign({},St),Ae)})},ie=me(45930),le=me(67968),ce=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:Ke,controlHeight:Ae,controlHeightLG:Le,controlHeightSM:Ne}=Ve;return{[`${Ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ke},ne(Ae)),[`${Ze}${Ze}-circle`]:{borderRadius:"50%"},[`${Ze}${Ze}-lg`]:Object.assign({},ne(Le)),[`${Ze}${Ze}-sm`]:Object.assign({},ne(Ne))}},x=Ve=>{const{controlHeight:Ze,borderRadiusSM:Ke,skeletonInputCls:Ae,controlHeightLG:Le,controlHeightSM:Ne,gradientFromColor:Ge}=Ve;return{[`${Ae}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ge,borderRadius:Ke},a(Ze)),[`${Ae}-lg`]:Object.assign({},a(Le)),[`${Ae}-sm`]:Object.assign({},a(Ne))}},b=Ve=>Object.assign({width:Ve},oe(Ve)),ee=Ve=>{const{skeletonImageCls:Ze,imageSizeBase:Ke,gradientFromColor:Ae,borderRadiusSM:Le}=Ve;return{[`${Ze}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Ae,borderRadius:Le},b(Ke*2)),{[`${Ze}-path`]:{fill:"#bfbfbf"},[`${Ze}-svg`]:Object.assign(Object.assign({},b(Ke)),{maxWidth:Ke*4,maxHeight:Ke*4}),[`${Ze}-svg${Ze}-svg-circle`]:{borderRadius:"50%"}}),[`${Ze}${Ze}-circle`]:{borderRadius:"50%"}}},te=(Ve,Ze,Ke)=>{const{skeletonButtonCls:Ae}=Ve;return{[`${Ke}${Ae}-circle`]:{width:Ze,minWidth:Ze,borderRadius:"50%"},[`${Ke}${Ae}-round`]:{borderRadius:Ze}}},ue=Ve=>Object.assign({width:Ve*2,minWidth:Ve*2},oe(Ve)),de=Ve=>{const{borderRadiusSM:Ze,skeletonButtonCls:Ke,controlHeight:Ae,controlHeightLG:Le,controlHeightSM:Ne,gradientFromColor:Ge}=Ve;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ke}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ge,borderRadius:Ze,width:Ae*2,minWidth:Ae*2},ue(Ae))},te(Ve,Ae,Ke)),{[`${Ke}-lg`]:Object.assign({},ue(Le))}),te(Ve,Le,`${Ke}-lg`)),{[`${Ke}-sm`]:Object.assign({},ue(Ne))}),te(Ve,Ne,`${Ke}-sm`))},ge=Ve=>{const{componentCls:Ze,skeletonAvatarCls:Ke,skeletonTitleCls:Ae,skeletonParagraphCls:Le,skeletonButtonCls:Ne,skeletonInputCls:Ge,skeletonImageCls:rt,controlHeight:St,controlHeightLG:Pt,controlHeightSM:At,gradientFromColor:bn,padding:$t,marginSM:ft,borderRadius:st,titleHeight:zt,blockRadius:ot,paragraphLiHeight:at,controlHeightXS:bt,paragraphMarginTop:Ft}=Ve;return{[`${Ze}`]:{display:"table",width:"100%",[`${Ze}-header`]:{display:"table-cell",paddingInlineEnd:$t,verticalAlign:"top",[`${Ke}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:bn},ne(St)),[`${Ke}-circle`]:{borderRadius:"50%"},[`${Ke}-lg`]:Object.assign({},ne(Pt)),[`${Ke}-sm`]:Object.assign({},ne(At))},[`${Ze}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ae}`]:{width:"100%",height:zt,background:bn,borderRadius:ot,[`+ ${Le}`]:{marginBlockStart:At}},[`${Le}`]:{padding:0,"> li":{width:"100%",height:at,listStyle:"none",background:bn,borderRadius:ot,"+ li":{marginBlockStart:bt}}},[`${Le}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Ze}-content`]:{[`${Ae}, ${Le} > li`]:{borderRadius:st}}},[`${Ze}-with-avatar ${Ze}-content`]:{[`${Ae}`]:{marginBlockStart:ft,[`+ ${Le}`]:{marginBlockStart:Ft}}},[`${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%"},[`${Ge}`]:{width:"100%"}},[`${Ze}${Ze}-active`]:{[`
${Ae},
${Le} > li,
${Ke},
${Ne},
${Ge},
${rt}
`]:Object.assign({},z(Ve))}}};var ve=(0,le.Z)("Skeleton",Ve=>{const{componentCls:Ze}=Ve,Ke=(0,ce.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(Ke)]},Ve=>{const{colorFillContent:Ze,colorFill:Ke}=Ve,Ae=Ze,Le=Ke;return{color:Ae,colorGradientEnd:Le,gradientFromColor:Ae,gradientToColor:Le,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:Ke,rootClassName:Ae,active:Le,shape:Ne="circle",size:Ge="default"}=Ve,{getPrefixCls:rt}=E.useContext(he.E_),St=rt("skeleton",Ze),[Pt,At]=ve(St),bn=(0,fe.Z)(Ve,["prefixCls","className"]),$t=_e()(St,`${St}-element`,{[`${St}-active`]:Le},Ke,Ae,At);return Pt(E.createElement("div",{className:$t},E.createElement(re,Object.assign({prefixCls:`${St}-avatar`,shape:Ne,size:Ge},bn))))},Pe=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,active:Le,block:Ne=!1,size:Ge="default"}=Ve,{getPrefixCls:rt}=E.useContext(he.E_),St=rt("skeleton",Ze),[Pt,At]=ve(St),bn=(0,fe.Z)(Ve,["prefixCls"]),$t=_e()(St,`${St}-element`,{[`${St}-active`]:Le,[`${St}-block`]:Ne},Ke,Ae,At);return Pt(E.createElement("div",{className:$t},E.createElement(re,Object.assign({prefixCls:`${St}-button`,size:Ge},bn))))};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:Ke,rootClassName:Ae,style:Le,active:Ne}=Ve,{getPrefixCls:Ge}=E.useContext(he.E_),rt=Ge("skeleton",Ze),[St,Pt]=ve(rt),At=_e()(rt,`${rt}-element`,{[`${rt}-active`]:Ne},Ke,Ae,Pt);return St(E.createElement("div",{className:At},E.createElement("div",{className:_e()(`${rt}-image`,Ke),style:Le},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${rt}-image-svg`},E.createElement("path",{d:we,className:`${rt}-image-path`})))))},Ce=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,active:Le,block:Ne,size:Ge="default"}=Ve,{getPrefixCls:rt}=E.useContext(he.E_),St=rt("skeleton",Ze),[Pt,At]=ve(St),bn=(0,fe.Z)(Ve,["prefixCls"]),$t=_e()(St,`${St}-element`,{[`${St}-active`]:Le,[`${St}-block`]:Ne},Ke,Ae,At);return Pt(E.createElement("div",{className:$t},E.createElement(re,Object.assign({prefixCls:`${St}-input`,size:Ge},bn))))},Oe=me(87462),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Ue=Me,je=me(44327),nt=function(Ze,Ke){return E.createElement(je.Z,(0,Oe.Z)({},Ze,{ref:Ke,icon:Ue}))},Ye=E.forwardRef(nt),Xe=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,style:Le,active:Ne,children:Ge}=Ve,{getPrefixCls:rt}=E.useContext(he.E_),St=rt("skeleton",Ze),[Pt,At]=ve(St),bn=_e()(St,`${St}-element`,{[`${St}-active`]:Ne},At,Ke,Ae),$t=Ge!=null?Ge:E.createElement(Ye,null);return Pt(E.createElement("div",{className:bn},E.createElement("div",{className:_e()(`${St}-image`,Ke),style:Le},$t)))},ze=me(74902),Be=Ve=>{const Ze=rt=>{const{width:St,rows:Pt=2}=Ve;if(Array.isArray(St))return St[rt];if(Pt-1===rt)return St},{prefixCls:Ke,className:Ae,style:Le,rows:Ne}=Ve,Ge=(0,ze.Z)(Array(Ne)).map((rt,St)=>E.createElement("li",{key:St,style:{width:Ze(St)}}));return E.createElement("ul",{className:_e()(Ke,Ae),style:Le},Ge)},Je=Ve=>{let{prefixCls:Ze,className:Ke,width:Ae,style:Le}=Ve;return E.createElement("h3",{className:_e()(Ze,Ke),style:Object.assign({width:Ae},Le)})};function gt(Ve){return Ve&&typeof Ve=="object"?Ve:{}}function We(Ve,Ze){return Ve&&!Ze?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function $e(Ve,Ze){return!Ve&&Ze?{width:"38%"}:Ve&&Ze?{width:"50%"}:{}}function Re(Ve,Ze){const Ke={};return(!Ve||!Ze)&&(Ke.width="61%"),!Ve&&Ze?Ke.rows=3:Ke.rows=2,Ke}const tt=Ve=>{const{prefixCls:Ze,loading:Ke,className:Ae,rootClassName:Le,style:Ne,children:Ge,avatar:rt=!1,title:St=!0,paragraph:Pt=!0,active:At,round:bn}=Ve,{getPrefixCls:$t,direction:ft,skeleton:st}=E.useContext(he.E_),zt=$t("skeleton",Ze),[ot,at]=ve(zt);if(Ke||!("loading"in Ve)){const bt=!!rt,Ft=!!St,kt=!!Pt;let un;if(bt){const An=Object.assign(Object.assign({prefixCls:`${zt}-avatar`},We(Ft,kt)),gt(rt));un=E.createElement("div",{className:`${zt}-header`},E.createElement(re,Object.assign({},An)))}let fn;if(Ft||kt){let An;if(Ft){const yn=Object.assign(Object.assign({prefixCls:`${zt}-title`},$e(bt,kt)),gt(St));An=E.createElement(Je,Object.assign({},yn))}let vr;if(kt){const yn=Object.assign(Object.assign({prefixCls:`${zt}-paragraph`},Re(bt,Ft)),gt(Pt));vr=E.createElement(Be,Object.assign({},yn))}fn=E.createElement("div",{className:`${zt}-content`},An,vr)}const vn=_e()(zt,{[`${zt}-with-avatar`]:bt,[`${zt}-active`]:At,[`${zt}-rtl`]:ft==="rtl",[`${zt}-round`]:bn},st==null?void 0:st.className,Ae,Le,at);return ot(E.createElement("div",{className:vn,style:Object.assign(Object.assign({},st==null?void 0:st.style),Ne)},un,fn))}return typeof Ge!="undefined"?Ge:null};tt.Button=Pe,tt.Avatar=Se,tt.Input=Ce,tt.Image=Ee,tt.Node=Xe;var Ie=tt,He=Ie},55054:function(Tt,ht,me){"use strict";me.d(ht,{default:function(){return ve}});var be=me(67294),_e=me(57838),E=me(96159),he=me(94184),fe=me.n(he),se=me(53124),re=me(4310),le=pe=>{const{value:Se,formatter:ye,precision:Pe,decimalSeparator:we,groupSeparator:xe="",prefixCls:Ee}=pe;let Te;if(typeof ye=="function")Te=ye(Se);else{const Ce=String(Se),Oe=Ce.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Oe||Ce==="-")Te=Ce;else{const Me=Oe[1];let Ue=Oe[2]||"0",je=Oe[4]||"";Ue=Ue.replace(/\B(?=(\d{3})+(?!\d))/g,xe),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`},Me,Ue),je&&be.createElement("span",{key:"decimal",className:`${Ee}-content-value-decimal`},je)]}}return be.createElement("span",{className:`${Ee}-content-value`},Te)},ce=me(14747),ae=me(67968),oe=me(45503);const ne=pe=>{const{componentCls:Se,marginXXS:ye,padding:Pe,colorTextDescription:we,titleFontSize:xe,colorTextHeading:Ee,contentFontSize:Te,fontFamily:Ce}=pe;return{[`${Se}`]:Object.assign(Object.assign({},(0,ce.Wf)(pe)),{[`${Se}-title`]:{marginBottom:ye,color:we,fontSize:xe},[`${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:xe,value:Ee=0,title:Te,valueRender:Ce,prefix:Oe,suffix:Me,loading:Ue=!1,onMouseEnter:je,onMouseLeave:nt,decimalSeparator:Ye=".",groupSeparator:Qe=","}=pe,{getPrefixCls:Xe,direction:ze,statistic:ke}=be.useContext(se.E_),Be=Xe("statistic",Se),[qe,Je]=z(Be),gt=be.createElement(le,Object.assign({decimalSeparator:Ye,groupSeparator:Qe,prefixCls:Be},pe,{value:Ee})),We=fe()(Be,{[`${Be}-rtl`]:ze==="rtl"},ke==null?void 0:ke.className,ye,Pe,Je);return qe(be.createElement("div",{className:We,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),we),onMouseEnter:je,onMouseLeave:nt},Te&&be.createElement("div",{className:`${Be}-title`},Te),be.createElement(re.Z,{paragraph:!1,loading:Ue,className:`${Be}-skeleton`},be.createElement("div",{style:xe,className:`${Be}-content`},Oe&&be.createElement("span",{className:`${Be}-content-prefix`},Oe),Ce?Ce(gt):gt,Me&&be.createElement("span",{className:`${Be}-content-suffix`},Me)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(pe,Se){let ye=pe;const Pe=/\[[^\]]*]/g,we=(Se.match(Pe)||[]).map(Ce=>Ce.slice(1,-1)),xe=Se.replace(Pe,"[]"),Ee=x.reduce((Ce,Oe)=>{let[Me,Ue]=Oe;if(Ce.includes(Me)){const je=Math.floor(ye/Ue);return ye-=je*Ue,Ce.replace(new RegExp(`${Me}+`,"g"),nt=>{const Ye=nt.length;return je.toString().padStart(Ye,"0")})}return Ce},xe);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(),xe=Math.max(Pe-we,0);return b(xe,ye)}const te=1e3/30;function ue(pe){return new Date(pe).getTime()}const de=pe=>{const{value:Se,format:ye="HH:mm:ss",onChange:Pe,onFinish:we}=pe,xe=(0,_e.Z)(),Ee=be.useRef(null),Te=()=>{we==null||we(),Ee.current&&(clearInterval(Ee.current),Ee.current=null)},Ce=()=>{const Ue=ue(Se);Ue>=Date.now()&&(Ee.current=setInterval(()=>{xe(),Pe==null||Pe(Ue-Date.now()),Ue<Date.now()&&Te()},te))};be.useEffect(()=>(Ce(),()=>{Ee.current&&(clearInterval(Ee.current),Ee.current=null)}),[Se]);const Oe=(Ue,je)=>ee(Ue,Object.assign(Object.assign({},je),{format:ye})),Me=Ue=>(0,E.Tm)(Ue,{title:void 0});return be.createElement(y,Object.assign({},pe,{valueRender:Me,formatter:Oe}))};var ge=be.memo(de);y.Countdown=ge;var ve=y},49867:function(Tt,ht,me){"use strict";me.d(ht,{N:function(){return be}});const be=_e=>({color:_e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${_e.motionDurationSlow}`,"&:focus, &:hover":{color:_e.colorLinkHover},"&:active":{color:_e.colorLinkActive}})},86129:function(Tt,ht,me){"use strict";me.d(ht,{default:function(){return ll}});var be={},_e="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 Fe=re.createContext(void 0),et=function(pt){var vt=pt.value,xt=pt.children,jt=re.useRef(vt);jt.current=vt;var It=re.useState(function(){return{getValue:function(){return jt.current},listeners:new Set}}),Gt=(0,E.Z)(It,1),tn=Gt[0];return(0,fe.Z)(function(){(0,ie.unstable_batchedUpdates)(function(){tn.listeners.forEach(function(Vt){Vt(vt)})})},[vt]),re.createElement(Fe.Provider,{value:tn},xt)};return{Context:Fe,Provider:et,defaultValue:De}}function ce(De,Fe){var et=(0,he.Z)(typeof Fe=="function"?Fe:function(Vt){if(Fe===void 0)return Vt;if(!Array.isArray(Fe))return Vt[Fe];var _n={};return Fe.forEach(function(xn){_n[xn]=Vt[xn]}),_n}),lt=re.useContext(De==null?void 0:De.Context),pt=lt||{},vt=pt.listeners,xt=pt.getValue,jt=re.useRef();jt.current=et(lt?xt():De==null?void 0:De.defaultValue);var It=re.useState({}),Gt=(0,E.Z)(It,2),tn=Gt[1];return(0,fe.Z)(function(){if(!lt)return;function Vt(_n){var xn=et(_n);(0,se.Z)(jt.current,xn,!0)||tn({})}return vt.add(Vt),function(){vt.delete(Vt)}},[lt]),jt.current}var ae=me(87462),oe=me(42550);function ne(){var De=re.createContext(null);function Fe(){return re.useContext(De)}function et(pt,vt){var xt=(0,oe.Yr)(pt),jt=function(Gt,tn){var Vt=xt?{ref:tn}:{},_n=re.useRef(0),xn=re.useRef(Gt),Ln=Fe();return Ln!==null?re.createElement(pt,(0,ae.Z)({},Gt,Vt)):((!vt||vt(xn.current,Gt))&&(_n.current+=1),xn.current=Gt,re.createElement(De.Provider,{value:_n.current},re.createElement(pt,(0,ae.Z)({},Gt,Vt))))};return xt?re.forwardRef(jt):jt}function lt(pt,vt){var xt=(0,oe.Yr)(pt),jt=function(Gt,tn){var Vt=xt?{ref:tn}:{};return Fe(),re.createElement(pt,(0,ae.Z)({},Gt,Vt))};return xt?re.memo(re.forwardRef(jt),vt):re.memo(jt,vt)}return{makeImmutable:et,responseImmutable:lt,useImmutableMark:Fe}}var z=ne(),a=z.makeImmutable,y=z.responseImmutable,x=z.useImmutableMark,b=ne(),ee=b.makeImmutable,te=b.responseImmutable,ue=b.useImmutableMark,de=le(),ge=de;function ve(De,Fe){var et=re.useRef(0);et.current+=1;var lt=re.useRef(De),pt=[];Object.keys(De||{}).map(function(xt){var jt;(De==null?void 0:De[xt])!==((jt=lt.current)===null||jt===void 0?void 0:jt[xt])&&pt.push(xt)}),lt.current=De;var vt=re.useRef([]);return pt.length&&(vt.current=pt),re.useDebugValue(et.current),re.useDebugValue(vt.current.join(", ")),Fe&&console.log("".concat(Fe,":"),et.current,vt.current),et.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),xe=me(94184),Ee=me.n(xe);function Te(De,Fe,et){var lt=re.useRef({});return(!("value"in lt.current)||et(lt.current.condition,Fe))&&(lt.current.value=De(),lt.current.condition=Fe),lt.current.value}var Ce={},Oe=[],Me=function(Fe){Oe.push(Fe)};function Ue(De,Fe){if(0)var et}function je(De,Fe){if(0)var et}function nt(){Ce={}}function Ye(De,Fe,et){!Fe&&!Ce[et]&&(De(!1,et),Ce[et]=!0)}function Qe(De,Fe){Ye(Ue,De,Fe)}function Xe(De,Fe){Ye(je,De,Fe)}Qe.preMessage=Me,Qe.resetWarned=nt,Qe.noteOnce=Xe;var ze=Qe;function ke(De,Fe){var et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,lt=new Set;function pt(vt,xt){var jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,It=lt.has(vt);if(ze(!It,"Warning: There may be circular references"),It)return!1;if(vt===xt)return!0;if(et&&jt>1)return!1;lt.add(vt);var Gt=jt+1;if(Array.isArray(vt)){if(!Array.isArray(xt)||vt.length!==xt.length)return!1;for(var tn=0;tn<vt.length;tn++)if(!pt(vt[tn],xt[tn],Gt))return!1;return!0}if(vt&&xt&&(0,ye.Z)(vt)==="object"&&(0,ye.Z)(xt)==="object"){var Vt=Object.keys(vt);return Vt.length!==Object.keys(xt).length?!1:Vt.every(function(_n){return pt(vt[_n],xt[_n],Gt)})}return!1}return pt(De,Fe)}var Be=ke;function qe(De,Fe){for(var et=De,lt=0;lt<Fe.length;lt+=1){if(et==null)return;et=et[Fe[lt]]}return et}var Je=re.createContext({renderWithProps:!1}),gt=Je,We="RC_TABLE_KEY";function $e(De){return De==null?[]:Array.isArray(De)?De:[De]}function Re(De){var Fe=[],et={};return De.forEach(function(lt){for(var pt=lt||{},vt=pt.key,xt=pt.dataIndex,jt=vt||$e(xt).join("-")||We;et[jt];)jt="".concat(jt,"_next");et[jt]=!0,Fe.push(jt)}),Fe}function tt(De){return De!=null}function Ie(De){return De&&(0,ye.Z)(De)==="object"&&!Array.isArray(De)&&!re.isValidElement(De)}function He(De,Fe,et,lt,pt,vt){var xt=re.useContext(gt),jt=ue(),It=Te(function(){if(tt(lt))return[lt];var Gt=Fe==null||Fe===""?[]:Array.isArray(Fe)?Fe:[Fe],tn=qe(De,Gt),Vt=tn,_n=void 0;if(pt){var xn=pt(tn,De,et);Ie(xn)?(Vt=xn.children,_n=xn.props,xt.renderWithProps=!0):Vt=xn}return[Vt,_n]},[jt,De,lt,Fe,pt,et],function(Gt,tn){if(vt){var Vt=(0,E.Z)(Gt,2),_n=Vt[1],xn=(0,E.Z)(tn,2),Ln=xn[1];return vt(Ln,_n)}return xt.renderWithProps?!0:!Be(Gt,tn,!0)});return It}function Ve(De,Fe,et,lt){var pt=De+Fe-1;return De<=lt&&pt>=et}function Ze(De,Fe){return ce(ge,function(et){var lt=Ve(De,Fe||1,et.hoverStartRow,et.hoverEndRow);return[lt,et.onHover]})}var Ke=function(Fe){var et=Fe.ellipsis,lt=Fe.rowType,pt=Fe.children,vt,xt=et===!0?{showTitle:!0}:et;return xt&&(xt.showTitle||lt==="header")&&(typeof pt=="string"||typeof pt=="number"?vt=pt.toString():re.isValidElement(pt)&&typeof pt.props.children=="string"&&(vt=pt.props.children)),vt};function Ae(De){var Fe,et,lt,pt,vt,xt,jt,It,Gt=De.component,tn=De.children,Vt=De.ellipsis,_n=De.scope,xn=De.prefixCls,Ln=De.className,Yn=De.align,Kn=De.record,Jn=De.render,Zn=De.dataIndex,or=De.renderIndex,Ir=De.shouldCellUpdate,zr=De.index,Lr=De.rowType,uo=De.colSpan,to=De.rowSpan,ur=De.fixLeft,Or=De.fixRight,pr=De.firstFixLeft,Qn=De.lastFixLeft,_r=De.firstFixRight,Qr=De.lastFixRight,Ao=De.appendNode,yo=De.additionalProps,Vr=yo===void 0?{}:yo,Do=De.isSticky,Ho="".concat(xn,"-cell"),sr=ce(ge,["supportSticky","allColumnsFixedLeft"]),Ar=sr.supportSticky,Bo=sr.allColumnsFixedLeft,$o=He(Kn,Zn,or,tn,Jn,Ir),Dr=(0,E.Z)($o,2),$a=Dr[0],ea=Dr[1],ka={},Ea=typeof ur=="number"&&Ar,ki=typeof Or=="number"&&Ar;Ea&&(ka.position="sticky",ka.left=ur),ki&&(ka.position="sticky",ka.right=Or);var fo=(Fe=(et=(lt=ea==null?void 0:ea.colSpan)!==null&&lt!==void 0?lt:Vr.colSpan)!==null&&et!==void 0?et:uo)!==null&&Fe!==void 0?Fe:1,io=(pt=(vt=(xt=ea==null?void 0:ea.rowSpan)!==null&&xt!==void 0?xt:Vr.rowSpan)!==null&&vt!==void 0?vt:to)!==null&&pt!==void 0?pt:1,no=Ze(zr,io),Wr=(0,E.Z)(no,2),la=Wr[0],Kr=Wr[1],wo=function(ci){var Fi;Kn&&Kr(zr,zr+io-1),Vr==null||(Fi=Vr.onMouseEnter)===null||Fi===void 0||Fi.call(Vr,ci)},oa=function(ci){var Fi;Kn&&Kr(-1,-1),Vr==null||(Fi=Vr.onMouseLeave)===null||Fi===void 0||Fi.call(Vr,ci)};if(fo===0||io===0)return null;var ta=(jt=Vr.title)!==null&&jt!==void 0?jt:Ke({rowType:Lr,ellipsis:Vt,children:$a}),xi=Ee()(Ho,Ln,(It={},(0,we.Z)(It,"".concat(Ho,"-fix-left"),Ea&&Ar),(0,we.Z)(It,"".concat(Ho,"-fix-left-first"),pr&&Ar),(0,we.Z)(It,"".concat(Ho,"-fix-left-last"),Qn&&Ar),(0,we.Z)(It,"".concat(Ho,"-fix-left-all"),Qn&&Bo&&Ar),(0,we.Z)(It,"".concat(Ho,"-fix-right"),ki&&Ar),(0,we.Z)(It,"".concat(Ho,"-fix-right-first"),_r&&Ar),(0,we.Z)(It,"".concat(Ho,"-fix-right-last"),Qr&&Ar),(0,we.Z)(It,"".concat(Ho,"-ellipsis"),Vt),(0,we.Z)(It,"".concat(Ho,"-with-append"),Ao),(0,we.Z)(It,"".concat(Ho,"-fix-sticky"),(Ea||ki)&&Do&&Ar),(0,we.Z)(It,"".concat(Ho,"-row-hover"),!ea&&la),It),Vr.className,ea==null?void 0:ea.className),Si={};Yn&&(Si.textAlign=Yn);var ms=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},ka),Vr.style),Si),ea==null?void 0:ea.style),li=$a;return(0,ye.Z)(li)==="object"&&!Array.isArray(li)&&!re.isValidElement(li)&&(li=null),Vt&&(Qn||_r)&&(li=re.createElement("span",{className:"".concat(Ho,"-content")},li)),re.createElement(Gt,(0,ae.Z)({},ea,Vr,{className:xi,style:ms,title:ta,scope:_n,onMouseEnter:wo,onMouseLeave:oa,colSpan:fo!==1?fo:null,rowSpan:io!==1?io:null}),Ao,li)}var Le=re.memo(Ae);function Ne(De,Fe,et,lt,pt,vt){var xt=et[De]||{},jt=et[Fe]||{},It,Gt;xt.fixed==="left"?It=lt.left[pt==="rtl"?Fe:De]:jt.fixed==="right"&&(Gt=lt.right[pt==="rtl"?De:Fe]);var tn=!1,Vt=!1,_n=!1,xn=!1,Ln=et[Fe+1],Yn=et[De-1],Kn=!(vt!=null&&vt.children);if(pt==="rtl"){if(It!==void 0){var Jn=Yn&&Yn.fixed==="left";xn=!Jn&&Kn}else if(Gt!==void 0){var Zn=Ln&&Ln.fixed==="right";_n=!Zn&&Kn}}else if(It!==void 0){var or=Ln&&Ln.fixed==="left";tn=!or&&Kn}else if(Gt!==void 0){var Ir=Yn&&Yn.fixed==="right";Vt=!Ir&&Kn}return{fixLeft:It,fixRight:Gt,lastFixLeft:tn,firstFixRight:Vt,lastFixRight:_n,firstFixLeft:xn,isSticky:lt.isSticky}}var Ge=re.createContext({}),rt=Ge;function St(De){var Fe=De.className,et=De.index,lt=De.children,pt=De.colSpan,vt=pt===void 0?1:pt,xt=De.rowSpan,jt=De.align,It=ce(ge,["prefixCls","direction"]),Gt=It.prefixCls,tn=It.direction,Vt=re.useContext(rt),_n=Vt.scrollColumnIndex,xn=Vt.stickyOffsets,Ln=Vt.flattenColumns,Yn=Vt.columns,Kn=et+vt-1,Jn=Kn+1===_n?vt+1:vt,Zn=Ne(et,et+Jn-1,Ln,xn,tn,Yn==null?void 0:Yn[et]);return re.createElement(Le,(0,ae.Z)({className:Fe,index:et,component:"td",prefixCls:Gt,record:null,dataIndex:null,align:jt,colSpan:Jn,rowSpan:xt,render:function(){return lt}},Zn))}var Pt=me(45987),At=["children"];function bn(De){var Fe=De.children,et=(0,Pt.Z)(De,At);return re.createElement("tr",et,Fe)}function $t(De){var Fe=De.children;return Fe}$t.Row=bn,$t.Cell=St;var ft=$t;function st(De){var Fe=De.children,et=De.stickyOffsets,lt=De.flattenColumns,pt=De.columns,vt=ce(ge,"prefixCls"),xt=lt.length-1,jt=lt[xt],It=re.useMemo(function(){return{stickyOffsets:et,flattenColumns:lt,scrollColumnIndex:jt!=null&&jt.scrollbar?xt:null,columns:pt}},[jt,lt,xt,et,pt]);return re.createElement(rt.Provider,{value:It},re.createElement("tfoot",{className:"".concat(vt,"-summary")},Fe))}var zt=te(st),ot=ft;function at(De){var Fe=re.useRef();Fe.current=De;var et=re.useCallback(function(){for(var lt,pt=arguments.length,vt=new Array(pt),xt=0;xt<pt;xt++)vt[xt]=arguments[xt];return(lt=Fe.current)===null||lt===void 0?void 0:lt.call.apply(lt,[Fe].concat(vt))},[]);return et}function bt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ft=bt()?re.useLayoutEffect:re.useEffect,kt=function(Fe,et){var lt=React.useRef(!0);Ft(function(){return Fe(lt.current)},et),Ft(function(){return lt.current=!1,function(){lt.current=!0}},[])},un=function(Fe,et){kt(function(lt){if(!lt)return Fe()},et)},fn=null;function vn(De){var Fe=React.useRef(!1),et=React.useState(De),lt=_slicedToArray(et,2),pt=lt[0],vt=lt[1];React.useEffect(function(){return Fe.current=!1,function(){Fe.current=!0}},[]);function xt(jt,It){It&&Fe.current||vt(jt)}return[pt,xt]}function An(De){return De!==void 0}function vr(De,Fe){var et=Fe||{},lt=et.defaultValue,pt=et.value,vt=et.onChange,xt=et.postState,jt=useState(function(){return An(pt)?pt:An(lt)?typeof lt=="function"?lt():lt:typeof De=="function"?De():De}),It=_slicedToArray(jt,2),Gt=It[0],tn=It[1],Vt=pt!==void 0?pt:Gt,_n=xt?xt(Vt):Vt,xn=useEvent(vt),Ln=useState([Vt]),Yn=_slicedToArray(Ln,2),Kn=Yn[0],Jn=Yn[1];useLayoutUpdateEffect(function(){var or=Kn[0];Gt!==or&&xn(Gt,or)},[Kn]),useLayoutUpdateEffect(function(){An(pt)||tn(pt)},[pt]);var Zn=useEvent(function(or,Ir){tn(or,Ir),Jn([Vt],Ir)});return[_n,Zn]}var yn=me(35110);function cr(De,Fe){typeof De=="function"?De(Fe):(0,ye.Z)(De)==="object"&&De&&"current"in De&&(De.current=Fe)}function Zr(){for(var De=arguments.length,Fe=new Array(De),et=0;et<De;et++)Fe[et]=arguments[et];var lt=Fe.filter(function(pt){return pt});return lt.length<=1?lt[0]:function(pt){Fe.forEach(function(vt){cr(vt,pt)})}}function Gr(){for(var De=arguments.length,Fe=new Array(De),et=0;et<De;et++)Fe[et]=arguments[et];return useMemo(function(){return Zr.apply(void 0,Fe)},Fe,function(lt,pt){return lt.length!==pt.length||lt.every(function(vt,xt){return vt!==pt[xt]})})}function ro(De){var Fe,et,lt=isMemo(De)?De.type.type:De.type;return!(typeof lt=="function"&&!((Fe=lt.prototype)!==null&&Fe!==void 0&&Fe.render)||typeof De=="function"&&!((et=De.prototype)!==null&&et!==void 0&&et.render))}function oo(De){return!isValidElement(De)||isFragment(De)?!1:ro(De)}function po(De,Fe,et,lt){if(!Fe.length)return et;var pt=_toArray(Fe),vt=pt[0],xt=pt.slice(1),jt;return!De&&typeof vt=="number"?jt=[]:Array.isArray(De)?jt=_toConsumableArray(De):jt=_objectSpread({},De),lt&&et===void 0&&xt.length===1?delete jt[vt][xt[0]]:jt[vt]=po(jt[vt],xt,et,lt),jt}function Pn(De,Fe,et){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Fe.length&&lt&&et===void 0&&!get(De,Fe.slice(0,-1))?De:po(De,Fe,et,lt)}function dn(De){return _typeof(De)==="object"&&De!==null&&Object.getPrototypeOf(De)===Object.prototype}function Bn(De){return Array.isArray(De)?[]:{}}var Rn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Un(){for(var De=arguments.length,Fe=new Array(De),et=0;et<De;et++)Fe[et]=arguments[et];var lt=Bn(Fe[0]);return Fe.forEach(function(pt){function vt(xt,jt){var It=new Set(jt),Gt=get(pt,xt),tn=Array.isArray(Gt);if(tn||dn(Gt)){if(!It.has(Gt)){It.add(Gt);var Vt=get(lt,xt);tn?lt=Pn(lt,xt,[]):(!Vt||_typeof(Vt)!=="object")&&(lt=Pn(lt,xt,Bn(Gt))),Rn(Gt).forEach(function(_n){vt([].concat(_toConsumableArray(xt),[_n]),It)})}}else lt=Pn(lt,xt,Gt)}vt([])}),lt}var tr=me(48555),gr=function(De){if(!De)return!1;if(De instanceof Element){if(De.offsetParent)return!0;if(De.getBBox){var Fe=De.getBBox(),et=Fe.width,lt=Fe.height;if(et||lt)return!0}if(De.getBoundingClientRect){var pt=De.getBoundingClientRect(),vt=pt.width,xt=pt.height;if(vt||xt)return!0}}return!1},Br=function(Fe){if(bt()&&window.document.documentElement){var et=Array.isArray(Fe)?Fe:[Fe],lt=window.document.documentElement;return et.some(function(pt){return pt in lt.style})}return!1},dr=function(Fe,et){if(!Br(Fe))return!1;var lt=document.createElement("div"),pt=lt.style[Fe];return lt.style[Fe]=et,lt.style[Fe]!==pt};function Xn(De,Fe){return!Array.isArray(De)&&Fe!==void 0?dr(De,Fe):Br(De)}var Rt;function Mt(De){if(typeof document=="undefined")return 0;if(De||Rt===void 0){var Fe=document.createElement("div");Fe.style.width="100%",Fe.style.height="200px";var et=document.createElement("div"),lt=et.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",et.appendChild(Fe),document.body.appendChild(et);var pt=Fe.offsetWidth;et.style.overflow="scroll";var vt=Fe.offsetWidth;pt===vt&&(vt=et.clientWidth),document.body.removeChild(et),Rt=pt-vt}return Rt}function Lt(De){var Fe=De.match(/^(.*)px$/),et=Number(Fe==null?void 0:Fe[1]);return Number.isNaN(et)?Mt():et}function In(De){if(typeof document=="undefined"||!De||!(De instanceof Element))return{width:0,height:0};var Fe=getComputedStyle(De,"::-webkit-scrollbar"),et=Fe.width,lt=Fe.height;return{width:Lt(et),height:Lt(lt)}}var Gn=`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`,Wn=`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`,mr="".concat(Gn," ").concat(Wn).split(/[\s\n]+/),wr="aria-",Rr="data-";function qr(De,Fe){return De.indexOf(Fe)===0}function mo(De){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et;Fe===!1?et={aria:!0,data:!0,attr:!0}:Fe===!0?et={aria:!0}:et=(0,Pe.Z)({},Fe);var lt={};return Object.keys(De).forEach(function(pt){(et.aria&&(pt==="role"||qr(pt,wr))||et.data&&qr(pt,Rr)||et.attr&&mr.includes(pt))&&(lt[pt]=De[pt])}),lt}function Tn(De,Fe,et,lt,pt,vt,xt){De.push({record:Fe,indent:et,index:xt});var jt=vt(Fe),It=pt==null?void 0:pt.has(jt);if(Fe&&Array.isArray(Fe[lt])&&It)for(var Gt=0;Gt<Fe[lt].length;Gt+=1)Tn(De,Fe[lt][Gt],et+1,lt,pt,vt,Gt)}function Ur(De,Fe,et,lt){var pt=re.useMemo(function(){if(et!=null&&et.size){for(var vt=[],xt=0;xt<(De==null?void 0:De.length);xt+=1){var jt=De[xt];Tn(vt,jt,0,Fe,et,lt,xt)}return vt}return De==null?void 0:De.map(function(It,Gt){return{record:It,indent:0,index:Gt}})},[De,Fe,et,lt]);return pt}function bo(De){var Fe=De.prefixCls,et=De.children,lt=De.component,pt=De.cellComponent,vt=De.className,xt=De.expanded,jt=De.colSpan,It=De.isEmpty,Gt=ce(ge,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),tn=Gt.scrollbarSize,Vt=Gt.fixHeader,_n=Gt.fixColumn,xn=Gt.componentWidth,Ln=Gt.horizonScroll,Yn=et;return(It?Ln&&xn:_n)&&(Yn=re.createElement("div",{style:{width:xn-(Vt?tn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Fe,"-expanded-row-fixed")},Yn)),re.createElement(lt,{className:vt,style:{display:xt?null:"none"}},re.createElement(Le,{component:pt,prefixCls:Fe,colSpan:jt},Yn))}var ca=bo;function Ko(De,Fe,et,lt){var pt=ce(ge,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),vt=pt.flattenColumns,xt=pt.expandableType,jt=pt.expandedKeys,It=pt.childrenColumnName,Gt=pt.onTriggerExpand,tn=pt.rowExpandable,Vt=pt.onRow,_n=pt.expandRowByClick,xn=pt.rowClassName,Ln=xt==="nest",Yn=xt==="row"&&(!tn||tn(De)),Kn=Yn||Ln,Jn=jt&&jt.has(Fe),Zn=It&&De&&De[It],or=at(Gt),Ir=Vt==null?void 0:Vt(De,et),zr=Ir==null?void 0:Ir.onClick,Lr=function(Or){_n&&Kn&&Gt(De,Or);for(var pr=arguments.length,Qn=new Array(pr>1?pr-1:0),_r=1;_r<pr;_r++)Qn[_r-1]=arguments[_r];zr==null||zr.apply(void 0,[Or].concat(Qn))},uo;typeof xn=="string"?uo=xn:typeof xn=="function"&&(uo=xn(De,et,lt));var to=Re(vt);return(0,Pe.Z)((0,Pe.Z)({},pt),{},{columnsKey:to,nestExpandable:Ln,expanded:Jn,hasNestChildren:Zn,record:De,onTriggerExpand:or,rowSupportExpand:Yn,expandable:Kn,rowProps:(0,Pe.Z)((0,Pe.Z)({},Ir),{},{className:Ee()(uo,Ir==null?void 0:Ir.className),onClick:Lr})})}function jo(De,Fe,et,lt,pt){var vt=De.record,xt=De.prefixCls,jt=De.columnsKey,It=De.fixedInfoList,Gt=De.expandIconColumnIndex,tn=De.nestExpandable,Vt=De.indentSize,_n=De.expandIcon,xn=De.expanded,Ln=De.hasNestChildren,Yn=De.onTriggerExpand,Kn=jt[et],Jn=It[et],Zn;et===(Gt||0)&&tn&&(Zn=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(Vt*lt,"px")},className:"".concat(xt,"-row-indent indent-level-").concat(lt)}),_n({prefixCls:xt,expanded:xn,expandable:Ln,record:vt,onExpand:Yn})));var or;return Fe.onCell&&(or=Fe.onCell(vt,pt)),{key:Kn,fixedInfo:Jn,appendCellNode:Zn,additionalCellProps:or||{}}}function ia(De){var Fe=De.className,et=De.style,lt=De.record,pt=De.index,vt=De.renderIndex,xt=De.rowKey,jt=De.indent,It=jt===void 0?0:jt,Gt=De.rowComponent,tn=De.cellComponent,Vt=De.scopeCellComponent,_n=Ko(lt,xt,pt,It),xn=_n.prefixCls,Ln=_n.flattenColumns,Yn=_n.expandedRowClassName,Kn=_n.expandedRowRender,Jn=_n.rowProps,Zn=_n.expanded,or=_n.rowSupportExpand,Ir=re.useState(!1),zr=(0,E.Z)(Ir,2),Lr=zr[0],uo=zr[1];re.useEffect(function(){Zn&&uo(!0)},[Zn]);var to=re.createElement(Gt,(0,ae.Z)({},Jn,{"data-row-key":xt,className:Ee()(Fe,"".concat(xn,"-row"),"".concat(xn,"-row-level-").concat(It),Jn==null?void 0:Jn.className),style:(0,Pe.Z)((0,Pe.Z)({},et),Jn==null?void 0:Jn.style)}),Ln.map(function(Qn,_r){var Qr=Qn.render,Ao=Qn.dataIndex,yo=Qn.className,Vr=jo(_n,Qn,_r,It,pt),Do=Vr.key,Ho=Vr.fixedInfo,sr=Vr.appendCellNode,Ar=Vr.additionalCellProps;return re.createElement(Le,(0,ae.Z)({className:yo,ellipsis:Qn.ellipsis,align:Qn.align,scope:Qn.rowScope,component:Qn.rowScope?Vt:tn,prefixCls:xn,key:Do,record:lt,index:pt,renderIndex:vt,dataIndex:Ao,render:Qr,shouldCellUpdate:Qn.shouldCellUpdate},Ho,{appendNode:sr,additionalProps:Ar}))})),ur;if(or&&(Lr||Zn)){var Or=Kn(lt,pt,It+1,Zn),pr=Yn&&Yn(lt,pt,It);ur=re.createElement(ca,{expanded:Zn,className:Ee()("".concat(xn,"-expanded-row"),"".concat(xn,"-expanded-row-level-").concat(It+1),pr),prefixCls:xn,component:Gt,cellComponent:tn,colSpan:Ln.length,isEmpty:!1},Or)}return re.createElement(re.Fragment,null,to,ur)}ia.displayName="BodyRow";var ho=te(ia);function Dt(De){var Fe=De.columnKey,et=De.onColumnResize,lt=re.useRef();return re.useEffect(function(){lt.current&&et(Fe,lt.current.offsetWidth)},[]),re.createElement(tr.Z,{data:Fe},re.createElement("td",{ref:lt,style:{padding:0,border:0,height:0}},re.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function nn(De){var Fe=De.prefixCls,et=De.columnsKey,lt=De.onColumnResize;return re.createElement("tr",{"aria-hidden":"true",className:"".concat(Fe,"-measure-row"),style:{height:0,fontSize:0}},re.createElement(tr.Z.Collection,{onBatchResize:function(vt){vt.forEach(function(xt){var jt=xt.data,It=xt.size;lt(jt,It.offsetWidth)})}},et.map(function(pt){return re.createElement(Dt,{key:pt,columnKey:pt,onColumnResize:lt})})))}function rn(De){var Fe=De.data,et=De.measureColumnWidth,lt=ce(ge,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),pt=lt.prefixCls,vt=lt.getComponent,xt=lt.onColumnResize,jt=lt.flattenColumns,It=lt.getRowKey,Gt=lt.expandedKeys,tn=lt.childrenColumnName,Vt=lt.emptyNode,_n=Ur(Fe,tn,Gt,It),xn=re.useRef({renderWithProps:!1}),Ln=vt(["body","wrapper"],"tbody"),Yn=vt(["body","row"],"tr"),Kn=vt(["body","cell"],"td"),Jn=vt(["body","cell"],"th"),Zn;Fe.length?Zn=_n.map(function(Ir,zr){var Lr=Ir.record,uo=Ir.indent,to=Ir.index,ur=It(Lr,zr);return re.createElement(ho,{key:ur,rowKey:ur,record:Lr,index:zr,renderIndex:to,rowComponent:Yn,cellComponent:Kn,scopeCellComponent:Jn,getRowKey:It,indent:uo})}):Zn=re.createElement(ca,{expanded:!0,className:"".concat(pt,"-placeholder"),prefixCls:pt,component:Yn,cellComponent:Kn,colSpan:jt.length,isEmpty:!0},Vt);var or=Re(jt);return re.createElement(gt.Provider,{value:xn.current},re.createElement(Ln,{className:"".concat(pt,"-tbody")},et&&re.createElement(nn,{prefixCls:pt,columnsKey:or,onColumnResize:xt}),Zn))}rn.displayName="Body";var mn=te(rn),zn=["expandable"],Sn="RC_TABLE_INTERNAL_COL_DEFINE";function Nn(De){var Fe=De.expandable,et=(0,Pt.Z)(De,zn),lt;return"expandable"in De?lt=(0,Pe.Z)((0,Pe.Z)({},et),Fe):lt=et,lt.showExpandColumn===!1&&(lt.expandIconColumnIndex=-1),lt}var _t=["columnType"];function yr(De){for(var Fe=De.colWidths,et=De.columns,lt=De.columCount,pt=[],vt=lt||et.length,xt=!1,jt=vt-1;jt>=0;jt-=1){var It=Fe[jt],Gt=et&&et[jt],tn=Gt&&Gt[Sn];if(It||tn||xt){var Vt=tn||{},_n=Vt.columnType,xn=(0,Pt.Z)(Vt,_t);pt.unshift(re.createElement("col",(0,ae.Z)({key:jt,style:{width:It}},xn))),xt=!0}}return re.createElement("colgroup",null,pt)}var Cr=yr,hr=me(74902),So=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function wn(De,Fe){return(0,re.useMemo)(function(){for(var et=[],lt=0;lt<Fe;lt+=1){var pt=De[lt];if(pt!==void 0)et[lt]=pt;else return null}return et},[De.join("_"),Fe])}var qn=re.forwardRef(function(De,Fe){var et=De.className,lt=De.noData,pt=De.columns,vt=De.flattenColumns,xt=De.colWidths,jt=De.columCount,It=De.stickyOffsets,Gt=De.direction,tn=De.fixHeader,Vt=De.stickyTopOffset,_n=De.stickyBottomOffset,xn=De.stickyClassName,Ln=De.onScroll,Yn=De.maxContentScroll,Kn=De.children,Jn=(0,Pt.Z)(De,So),Zn=ce(ge,["prefixCls","scrollbarSize","isSticky"]),or=Zn.prefixCls,Ir=Zn.scrollbarSize,zr=Zn.isSticky,Lr=zr&&!tn?0:Ir,uo=re.useRef(null),to=re.useCallback(function(yo){cr(Fe,yo),cr(uo,yo)},[]);re.useEffect(function(){var yo;function Vr(Do){var Ho=Do,sr=Ho.currentTarget,Ar=Ho.deltaX;Ar&&(Ln({currentTarget:sr,scrollLeft:sr.scrollLeft+Ar}),Do.preventDefault())}return(yo=uo.current)===null||yo===void 0||yo.addEventListener("wheel",Vr),function(){var Do;(Do=uo.current)===null||Do===void 0||Do.removeEventListener("wheel",Vr)}},[]);var ur=re.useMemo(function(){return vt.every(function(yo){return yo.width})},[vt]),Or=vt[vt.length-1],pr={fixed:Or?Or.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(or,"-cell-scrollbar")}}},Qn=(0,re.useMemo)(function(){return Lr?[].concat((0,hr.Z)(pt),[pr]):pt},[Lr,pt]),_r=(0,re.useMemo)(function(){return Lr?[].concat((0,hr.Z)(vt),[pr]):vt},[Lr,vt]),Qr=(0,re.useMemo)(function(){var yo=It.right,Vr=It.left;return(0,Pe.Z)((0,Pe.Z)({},It),{},{left:Gt==="rtl"?[].concat((0,hr.Z)(Vr.map(function(Do){return Do+Lr})),[0]):Vr,right:Gt==="rtl"?yo:[].concat((0,hr.Z)(yo.map(function(Do){return Do+Lr})),[0]),isSticky:zr})},[Lr,It,zr]),Ao=wn(xt,jt);return re.createElement("div",{style:(0,Pe.Z)({overflow:"hidden"},zr?{top:Vt,bottom:_n}:{}),ref:to,className:Ee()(et,(0,we.Z)({},xn,!!xn))},re.createElement("table",{style:{tableLayout:"fixed",visibility:lt||Ao?null:"hidden"}},(!lt||!Yn||ur)&&re.createElement(Cr,{colWidths:Ao?[].concat((0,hr.Z)(Ao),[Lr]):[],columCount:jt+1,columns:_r}),Kn((0,Pe.Z)((0,Pe.Z)({},Jn),{},{stickyOffsets:Qr,columns:Qn,flattenColumns:_r}))))});qn.displayName="FixedHolder";var jr=re.memo(qn);function ar(De){var Fe=De.cells,et=De.stickyOffsets,lt=De.flattenColumns,pt=De.rowComponent,vt=De.cellComponent,xt=De.tdCellComponent,jt=De.onHeaderRow,It=De.index,Gt=ce(ge,["prefixCls","direction"]),tn=Gt.prefixCls,Vt=Gt.direction,_n;jt&&(_n=jt(Fe.map(function(Ln){return Ln.column}),It));var xn=Re(Fe.map(function(Ln){return Ln.column}));return re.createElement(pt,_n,Fe.map(function(Ln,Yn){var Kn=Ln.column,Jn=Ne(Ln.colStart,Ln.colEnd,lt,et,Vt,Kn),Zn;return Kn&&Kn.onHeaderCell&&(Zn=Ln.column.onHeaderCell(Kn)),re.createElement(Le,(0,ae.Z)({},Ln,{scope:Kn.title?Ln.colSpan>1?"colgroup":"col":null,ellipsis:Kn.ellipsis,align:Kn.align,component:Kn.title?vt:xt,prefixCls:tn,key:xn[Yn]},Jn,{additionalProps:Zn,rowType:"header"}))}))}ar.displayName="HeaderRow";var Po=ar;function so(De){var Fe=[];function et(xt,jt){var It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Fe[It]=Fe[It]||[];var Gt=jt,tn=xt.filter(Boolean).map(function(Vt){var _n={key:Vt.key,className:Vt.className||"",children:Vt.title,column:Vt,colStart:Gt},xn=1,Ln=Vt.children;return Ln&&Ln.length>0&&(xn=et(Ln,Gt,It+1).reduce(function(Yn,Kn){return Yn+Kn},0),_n.hasSubColumns=!0),"colSpan"in Vt&&(xn=Vt.colSpan),"rowSpan"in Vt&&(_n.rowSpan=Vt.rowSpan),_n.colSpan=xn,_n.colEnd=_n.colStart+xn-1,Fe[It].push(_n),Gt+=xn,xn});return tn}et(De,0);for(var lt=Fe.length,pt=function(jt){Fe[jt].forEach(function(It){!("rowSpan"in It)&&!It.hasSubColumns&&(It.rowSpan=lt-jt)})},vt=0;vt<lt;vt+=1)pt(vt);return Fe}function zo(De){var Fe=De.stickyOffsets,et=De.columns,lt=De.flattenColumns,pt=De.onHeaderRow,vt=ce(ge,["prefixCls","getComponent"]),xt=vt.prefixCls,jt=vt.getComponent,It=re.useMemo(function(){return so(et)},[et]),Gt=jt(["header","wrapper"],"thead"),tn=jt(["header","row"],"tr"),Vt=jt(["header","cell"],"th"),_n=jt(["header","cell"],"td");return re.createElement(Gt,{className:"".concat(xt,"-thead")},It.map(function(xn,Ln){var Yn=re.createElement(Po,{key:Ln,flattenColumns:lt,cells:xn,stickyOffsets:Fe,rowComponent:tn,cellComponent:Vt,tdCellComponent:_n,onHeaderRow:pt,index:Ln});return Yn}))}var Zo=te(zo);function Vo(De){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},et=[];return re.Children.forEach(De,function(lt){lt==null&&!Fe.keepEmpty||(Array.isArray(lt)?et=et.concat(Vo(lt)):(0,yn.isFragment)(lt)&&lt.props?et=et.concat(Vo(lt.props.children,Fe)):et.push(lt))}),et}function Ct(De){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Fe=="number"?Fe:Fe.endsWith("%")?De*parseFloat(Fe)/100:null}function Et(De,Fe){return re.useMemo(function(){if(Fe&&Fe>0){var et=0,lt=0;De.forEach(function(Gt){var tn=Ct(Fe,Gt.width);tn?et+=tn:lt+=1});var pt=Fe-et,vt=lt,xt=pt/lt,jt=0,It=De.map(function(Gt){var tn=(0,Pe.Z)({},Gt),Vt=Ct(Fe,tn.width);if(Vt)tn.width=Vt;else{var _n=Math.floor(xt);tn.width=vt===1?pt:_n,pt-=_n,vt-=1}return jt+=tn.width,tn});return[It,jt]}return[De,Fe]},[De,Fe])}var Wt=["children"],gn=["fixed"];function On(De){return Vo(De).filter(function(Fe){return re.isValidElement(Fe)}).map(function(Fe){var et=Fe.key,lt=Fe.props,pt=lt.children,vt=(0,Pt.Z)(lt,Wt),xt=(0,Pe.Z)({key:et},vt);return pt&&(xt.children=On(pt)),xt})}function lr(De){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return De.filter(function(et){return et&&(0,ye.Z)(et)==="object"}).reduce(function(et,lt,pt){var vt=lt.fixed,xt=vt===!0?"left":vt,jt="".concat(Fe,"-").concat(pt),It=lt.children;return It&&It.length>0?[].concat((0,hr.Z)(et),(0,hr.Z)(lr(It,jt).map(function(Gt){return(0,Pe.Z)({fixed:xt},Gt)}))):[].concat((0,hr.Z)(et),[(0,Pe.Z)((0,Pe.Z)({key:jt},lt),{},{fixed:xt})])},[])}function Sr(De){for(var Fe=!0,et=0;et<De.length;et+=1){var lt=De[et];if(Fe&&lt.fixed!=="left")Fe=!1;else if(!Fe&&lt.fixed==="left"){warning(!1,"Index ".concat(et-1," of `columns` missing `fixed='left'` prop."));break}}for(var pt=!0,vt=De.length-1;vt>=0;vt-=1){var xt=De[vt];if(pt&&xt.fixed!=="right")pt=!1;else if(!pt&&xt.fixed==="right"){warning(!1,"Index ".concat(vt+1," of `columns` missing `fixed='right'` prop."));break}}}function Tr(De){return De.map(function(Fe){var et=Fe.fixed,lt=(0,Pt.Z)(Fe,gn),pt=et;return et==="left"?pt="right":et==="right"&&(pt="left"),(0,Pe.Z)({fixed:pt},lt)})}function Xr(De,Fe){var et=De.prefixCls,lt=De.columns,pt=De.children,vt=De.expandable,xt=De.expandedKeys,jt=De.columnTitle,It=De.getRowKey,Gt=De.onTriggerExpand,tn=De.expandIcon,Vt=De.rowExpandable,_n=De.expandIconColumnIndex,xn=De.direction,Ln=De.expandRowByClick,Yn=De.columnWidth,Kn=De.fixed,Jn=De.scrollWidth,Zn=re.useMemo(function(){return lt||On(pt)},[lt,pt]),or=re.useMemo(function(){if(vt){var Or,pr=Zn.slice();if(!pr.includes(be)){var Qn=_n||0;Qn>=0&&pr.splice(Qn,0,be)}var _r=pr.indexOf(be);pr=pr.filter(function(Vr,Do){return Vr!==be||Do===_r});var Qr=Zn[_r],Ao;(Kn==="left"||Kn)&&!_n?Ao="left":(Kn==="right"||Kn)&&_n===Zn.length?Ao="right":Ao=Qr?Qr.fixed:null;var yo=(Or={},(0,we.Z)(Or,Sn,{className:"".concat(et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,we.Z)(Or,"title",jt),(0,we.Z)(Or,"fixed",Ao),(0,we.Z)(Or,"className","".concat(et,"-row-expand-icon-cell")),(0,we.Z)(Or,"width",Yn),(0,we.Z)(Or,"render",function(Do,Ho,sr){var Ar=It(Ho,sr),Bo=xt.has(Ar),$o=Vt?Vt(Ho):!0,Dr=tn({prefixCls:et,expanded:Bo,expandable:$o,record:Ho,onExpand:Gt});return Ln?re.createElement("span",{onClick:function(ea){return ea.stopPropagation()}},Dr):Dr}),Or);return pr.map(function(Vr){return Vr===be?yo:Vr})}return Zn.filter(function(Vr){return Vr!==be})},[vt,Zn,It,xt,tn,xn]),Ir=re.useMemo(function(){var Or=or;return Fe&&(Or=Fe(Or)),Or.length||(Or=[{render:function(){return null}}]),Or},[Fe,or,xn]),zr=re.useMemo(function(){return xn==="rtl"?Tr(lr(Ir)):lr(Ir)},[Ir,xn,Jn]),Lr=Et(zr,Jn),uo=(0,E.Z)(Lr,2),to=uo[0],ur=uo[1];return[Ir,to,ur]}var lo=Xr;function Yr(De){var Fe,et=De.prefixCls,lt=De.record,pt=De.onExpand,vt=De.expanded,xt=De.expandable,jt="".concat(et,"-row-expand-icon");if(!xt)return re.createElement("span",{className:Ee()(jt,"".concat(et,"-row-spaced"))});var It=function(tn){pt(lt,tn),tn.stopPropagation()};return re.createElement("span",{className:Ee()(jt,(Fe={},(0,we.Z)(Fe,"".concat(et,"-row-expanded"),vt),(0,we.Z)(Fe,"".concat(et,"-row-collapsed"),!vt),Fe)),onClick:It})}function ao(De,Fe,et){var lt=[];function pt(vt){(vt||[]).forEach(function(xt,jt){lt.push(Fe(xt,jt)),pt(xt[et])})}return pt(De),lt}function Co(De,Fe,et){var lt=Nn(De),pt=lt.expandIcon,vt=lt.expandedRowKeys,xt=lt.defaultExpandedRowKeys,jt=lt.defaultExpandAllRows,It=lt.expandedRowRender,Gt=lt.onExpand,tn=lt.onExpandedRowsChange,Vt=lt.childrenColumnName,_n=pt||Yr,xn=Vt||"children",Ln=re.useMemo(function(){return It?"row":De.expandable&&De.internalHooks===_e&&De.expandable.__PARENT_RENDER_ICON__||Fe.some(function(zr){return zr&&(0,ye.Z)(zr)==="object"&&zr[xn]})?"nest":!1},[!!It,Fe]),Yn=re.useState(function(){return xt||(jt?ao(Fe,et,xn):[])}),Kn=(0,E.Z)(Yn,2),Jn=Kn[0],Zn=Kn[1],or=re.useMemo(function(){return new Set(vt||Jn||[])},[vt,Jn]),Ir=re.useCallback(function(zr){var Lr=et(zr,Fe.indexOf(zr)),uo,to=or.has(Lr);to?(or.delete(Lr),uo=(0,hr.Z)(or)):uo=[].concat((0,hr.Z)(or),[Lr]),Zn(uo),Gt&&Gt(!to,zr),tn&&tn(uo)},[et,or,Fe,Gt,tn]);return[lt,Ln,or,_n,xn,Ir]}function Ro(De,Fe,et,lt){var pt=De.map(function(vt,xt){return Ne(xt,xt,De,Fe,et,lt==null?void 0:lt[xt])});return Te(function(){return pt},[pt],function(vt,xt){return!Be(vt,xt)})}function To(De){var Fe=(0,re.useRef)(De),et=(0,re.useState)({}),lt=(0,E.Z)(et,2),pt=lt[1],vt=(0,re.useRef)(null),xt=(0,re.useRef)([]);function jt(It){xt.current.push(It);var Gt=Promise.resolve();vt.current=Gt,Gt.then(function(){if(vt.current===Gt){var tn=xt.current,Vt=Fe.current;xt.current=[],tn.forEach(function(_n){Fe.current=_n(Fe.current)}),vt.current=null,Vt!==Fe.current&&pt({})}})}return(0,re.useEffect)(function(){return function(){vt.current=null}},[]),[Fe.current,jt]}function Uo(De){var Fe=(0,re.useRef)(De||null),et=(0,re.useRef)();function lt(){window.clearTimeout(et.current)}function pt(xt){Fe.current=xt,lt(),et.current=window.setTimeout(function(){Fe.current=null,et.current=void 0},100)}function vt(){return Fe.current}return(0,re.useEffect)(function(){return lt},[]),[pt,vt]}function Lo(){var De=re.useState(-1),Fe=(0,E.Z)(De,2),et=Fe[0],lt=Fe[1],pt=re.useState(-1),vt=(0,E.Z)(pt,2),xt=vt[0],jt=vt[1],It=re.useCallback(function(Gt,tn){lt(Gt),jt(tn)},[]);return[et,xt,It]}var Go=bt()?window:null;function Hr(De,Fe){var et=(0,ye.Z)(De)==="object"?De:{},lt=et.offsetHeader,pt=lt===void 0?0:lt,vt=et.offsetSummary,xt=vt===void 0?0:vt,jt=et.offsetScroll,It=jt===void 0?0:jt,Gt=et.getContainer,tn=Gt===void 0?function(){return Go}:Gt,Vt=tn()||Go;return re.useMemo(function(){var _n=!!De;return{isSticky:_n,stickyClassName:_n?"".concat(Fe,"-sticky-holder"):"",offsetHeader:pt,offsetSummary:xt,offsetScroll:It,container:Vt}},[It,pt,xt,Fe,Vt])}function Ot(De,Fe,et){var lt=(0,re.useMemo)(function(){for(var pt=[],vt=[],xt=0,jt=0,It=0;It<Fe;It+=1)if(et==="rtl"){vt[It]=jt,jt+=De[It]||0;var Gt=Fe-It-1;pt[Gt]=xt,xt+=De[Gt]||0}else{pt[It]=xt,xt+=De[It]||0;var tn=Fe-It-1;vt[tn]=jt,jt+=De[tn]||0}return{left:pt,right:vt}},[De,Fe,et]);return lt}var Ut=Ot;function Zt(De){var Fe=De.className,et=De.children;return re.createElement("div",{className:Fe},et)}var dt=Zt;function on(De,Fe,et,lt){var pt=ie.unstable_batchedUpdates?function(xt){ie.unstable_batchedUpdates(et,xt)}:et;return De!=null&&De.addEventListener&&De.addEventListener(Fe,pt,lt),{remove:function(){De!=null&&De.removeEventListener&&De.removeEventListener(Fe,pt,lt)}}}var Mn=/margin|padding|width|height|max|min|offset/,Hn={left:!0,top:!0},Ht={cssFloat:1,styleFloat:1,float:1};function Yt(De){return De.nodeType===1?De.ownerDocument.defaultView.getComputedStyle(De,null):{}}function Kt(De,Fe,et){if(Fe=Fe.toLowerCase(),et==="auto"){if(Fe==="height")return De.offsetHeight;if(Fe==="width")return De.offsetWidth}return Fe in Hn||(Hn[Fe]=Mn.test(Fe)),Hn[Fe]?parseFloat(et)||0:et}function Jt(De,Fe){var et=arguments.length,lt=Yt(De);return Fe=Ht[Fe]?"cssFloat"in De.style?"cssFloat":"styleFloat":Fe,et===1?lt:Kt(De,Fe,lt[Fe]||De.style[Fe])}function Xt(De,Fe,et){var lt=arguments.length;if(Fe=Ht[Fe]?"cssFloat"in De.style?"cssFloat":"styleFloat":Fe,lt===3)return typeof et=="number"&&Mn.test(Fe)&&(et="".concat(et,"px")),De.style[Fe]=et,et;for(var pt in Fe)Fe.hasOwnProperty(pt)&&Xt(De,pt,Fe[pt]);return Yt(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 Vn(){var De=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),Fe=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:De,height:Fe}}function nr(){var De=document.documentElement.clientWidth,Fe=window.innerHeight||document.documentElement.clientHeight;return{width:De,height:Fe}}function Er(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Dn(De){var Fe=De.getBoundingClientRect(),et=document.documentElement;return{left:Fe.left+(window.pageXOffset||et.scrollLeft)-(et.clientLeft||document.body.clientLeft||0),top:Fe.top+(window.pageYOffset||et.scrollTop)-(et.clientTop||document.body.clientTop||0)}}var fr=function(Fe,et){var lt,pt,vt=Fe.scrollBodyRef,xt=Fe.onScroll,jt=Fe.offsetScroll,It=Fe.container,Gt=ce(ge,"prefixCls"),tn=((lt=vt.current)===null||lt===void 0?void 0:lt.scrollWidth)||0,Vt=((pt=vt.current)===null||pt===void 0?void 0:pt.clientWidth)||0,_n=tn&&Vt*(Vt/tn),xn=re.useRef(),Ln=To({scrollLeft:0,isHiddenScrollBar:!1}),Yn=(0,E.Z)(Ln,2),Kn=Yn[0],Jn=Yn[1],Zn=re.useRef({delta:0,x:0}),or=re.useState(!1),Ir=(0,E.Z)(or,2),zr=Ir[0],Lr=Ir[1],uo=function(){Lr(!1)},to=function(_r){_r.persist(),Zn.current.delta=_r.pageX-Kn.scrollLeft,Zn.current.x=0,Lr(!0),_r.preventDefault()},ur=function(_r){var Qr,Ao=_r||((Qr=window)===null||Qr===void 0?void 0:Qr.event),yo=Ao.buttons;if(!zr||yo===0){zr&&Lr(!1);return}var Vr=Zn.current.x+_r.pageX-Zn.current.x-Zn.current.delta;Vr<=0&&(Vr=0),Vr+_n>=Vt&&(Vr=Vt-_n),xt({scrollLeft:Vr/Vt*(tn+2)}),Zn.current.x=_r.pageX},Or=function(){if(vt.current){var _r=Dn(vt.current).top,Qr=_r+vt.current.offsetHeight,Ao=It===window?document.documentElement.scrollTop+window.innerHeight:Dn(It).top+It.clientHeight;Qr-Mt()<=Ao||_r>=Ao-jt?Jn(function(yo){return(0,Pe.Z)((0,Pe.Z)({},yo),{},{isHiddenScrollBar:!0})}):Jn(function(yo){return(0,Pe.Z)((0,Pe.Z)({},yo),{},{isHiddenScrollBar:!1})})}},pr=function(_r){Jn(function(Qr){return(0,Pe.Z)((0,Pe.Z)({},Qr),{},{scrollLeft:_r/tn*Vt||0})})};return re.useImperativeHandle(et,function(){return{setScrollLeft:pr}}),re.useEffect(function(){var Qn=on(document.body,"mouseup",uo,!1),_r=on(document.body,"mousemove",ur,!1);return Or(),function(){Qn.remove(),_r.remove()}},[_n,zr]),re.useEffect(function(){var Qn=on(It,"scroll",Or,!1),_r=on(window,"resize",Or,!1);return function(){Qn.remove(),_r.remove()}},[It]),re.useEffect(function(){Kn.isHiddenScrollBar||Jn(function(Qn){var _r=vt.current;return _r?(0,Pe.Z)((0,Pe.Z)({},Qn),{},{scrollLeft:_r.scrollLeft/_r.scrollWidth*_r.clientWidth}):Qn})},[Kn.isHiddenScrollBar]),tn<=Vt||!_n||Kn.isHiddenScrollBar?null:re.createElement("div",{style:{height:Mt(),width:Vt,bottom:jt},className:"".concat(Gt,"-sticky-scroll")},re.createElement("div",{onMouseDown:to,ref:xn,className:Ee()("".concat(Gt,"-sticky-scroll-bar"),(0,we.Z)({},"".concat(Gt,"-sticky-scroll-bar-active"),zr)),style:{width:"".concat(_n,"px"),transform:"translate3d(".concat(Kn.scrollLeft,"px, 0, 0)")}}))},ut=re.forwardRef(fr);function ct(De){return null}var wt=ct;function Bt(De){return null}var Qt=Bt,an="rc-table",en=[],sn={};function hn(){return"No Data"}function cn(De){var Fe,et=(0,Pe.Z)({rowKey:"key",prefixCls:an,emptyText:hn},De),lt=et.prefixCls,pt=et.className,vt=et.rowClassName,xt=et.style,jt=et.data,It=et.rowKey,Gt=et.scroll,tn=et.tableLayout,Vt=et.direction,_n=et.title,xn=et.footer,Ln=et.summary,Yn=et.caption,Kn=et.id,Jn=et.showHeader,Zn=et.components,or=et.emptyText,Ir=et.onRow,zr=et.onHeaderRow,Lr=et.internalHooks,uo=et.transformColumns,to=et.internalRefs,ur=et.tailor,Or=et.sticky,pr=jt||en,Qn=!!pr.length,_r=Lr===_e,Qr=re.useCallback(function(wa,Wa){return qe(Zn,wa)||Wa},[Zn]),Ao=re.useMemo(function(){return typeof It=="function"?It:function(wa){var Wa=wa&&wa[It];return Wa}},[It]),yo=Qr(["body"]),Vr=Lo(),Do=(0,E.Z)(Vr,3),Ho=Do[0],sr=Do[1],Ar=Do[2],Bo=Co(et,pr,Ao),$o=(0,E.Z)(Bo,6),Dr=$o[0],$a=$o[1],ea=$o[2],ka=$o[3],Ea=$o[4],ki=$o[5],fo=Gt==null?void 0:Gt.x,io=re.useState(0),no=(0,E.Z)(io,2),Wr=no[0],la=no[1],Kr=lo((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},et),Dr),{},{expandable:!!Dr.expandedRowRender,columnTitle:Dr.columnTitle,expandedKeys:ea,getRowKey:Ao,onTriggerExpand:ki,expandIcon:ka,expandIconColumnIndex:Dr.expandIconColumnIndex,direction:Vt,scrollWidth:_r&&ur&&typeof fo=="number"?fo:null}),_r?uo:null),wo=(0,E.Z)(Kr,3),oa=wo[0],ta=wo[1],xi=wo[2],Si=xi!=null?xi:fo,ms=re.useMemo(function(){return{columns:oa,flattenColumns:ta}},[oa,ta]),li=re.useRef(),as=re.useRef(),ci=re.useRef(),Fi=re.useRef(),Js=re.useRef(),va=re.useState(!1),Pa=(0,E.Z)(va,2),Xa=Pa[0],di=Pa[1],fi=re.useState(!1),Jo=(0,E.Z)(fi,2),Ai=Jo[0],Ti=Jo[1],Zi=To(new Map),Es=(0,E.Z)(Zi,2),vs=Es[0],ml=Es[1],Is=Re(ta),is=Is.map(function(wa){return vs.get(wa)}),Bi=re.useMemo(function(){return is},[is.join("_")]),Ri=Ut(Bi,ta.length,Vt),gi=Gt&&tt(Gt.y),Ya=Gt&&tt(Si)||!!Dr.fixed,_s=Ya&&ta.some(function(wa){var Wa=wa.fixed;return Wa}),Qs=re.useRef(),Us=Hr(Or,lt),xs=Us.isSticky,Sl=Us.offsetHeader,Cl=Us.offsetSummary,aa=Us.offsetScroll,Ba=Us.stickyClassName,Pi=Us.container,Ja=re.useMemo(function(){return Ln==null?void 0:Ln(pr)},[Ln,pr]),Li=(gi||xs)&&re.isValidElement(Ja)&&Ja.type===ft&&Ja.props.fixed,Ui,Hi,js;gi&&(Hi={overflowY:"scroll",maxHeight:Gt.y}),Ya&&(Ui={overflowX:"auto"},gi||(Hi={overflowY:"hidden"}),js={width:Si===!0?"auto":Si,minWidth:"100%"});var Ml=re.useCallback(function(wa,Wa){gr(li.current)&&ml(function(ss){if(ss.get(wa)!==Wa){var Hs=new Map(ss);return Hs.set(wa,Wa),Hs}return ss})},[]),Yl=Uo(null),Il=(0,E.Z)(Yl,2),Jl=Il[0],jl=Il[1];function bl(wa,Wa){Wa&&(typeof Wa=="function"?Wa(wa):Wa.scrollLeft!==wa&&(Wa.scrollLeft=wa,Wa.scrollLeft!==wa&&setTimeout(function(){Wa.scrollLeft=wa},0)))}var cl=at(function(wa){var Wa=wa.currentTarget,ss=wa.scrollLeft,Hs=Vt==="rtl",zs=typeof ss=="number"?ss:Wa.scrollLeft,Xl=Wa||sn;if(!jl()||jl()===Xl){var Ll;Jl(Xl),bl(zs,as.current),bl(zs,ci.current),bl(zs,Js.current),bl(zs,(Ll=Qs.current)===null||Ll===void 0?void 0:Ll.setScrollLeft)}var Ol=Wa||as.current;if(Ol){var Al=Ol.scrollWidth,Rl=Ol.clientWidth;if(Al===Rl){di(!1),Ti(!1);return}Hs?(di(-zs<Al-Rl),Ti(-zs>0)):(di(zs>0),Ti(zs<Al-Rl))}}),Nl=function(){Ya&&ci.current?cl({currentTarget:ci.current}):(di(!1),Ti(!1))},Ql=function(Wa){var ss=Wa.width;ss!==Wr&&(Nl(),la(li.current?li.current.offsetWidth:ss))},Dl=re.useRef(!1);re.useEffect(function(){Dl.current&&Nl()},[Ya,jt,oa.length]),re.useEffect(function(){Dl.current=!0},[]);var ql=re.useState(0),kl=(0,E.Z)(ql,2),Pl=kl[0],Fl=kl[1],ec=re.useState(!0),Bl=(0,E.Z)(ec,2),Ul=Bl[0],tc=Bl[1];re.useEffect(function(){(!ur||!_r)&&(ci.current instanceof Element?Fl(In(ci.current).width):Fl(In(Fi.current).width)),tc(Xn("position","sticky"))},[]),re.useEffect(function(){_r&&to&&(to.body.current=ci.current)});var nc=re.useCallback(function(wa){return re.createElement(re.Fragment,null,re.createElement(Zo,wa),Li==="top"&&re.createElement(zt,wa,Ja))},[Li,Ja]),rc=re.useCallback(function(wa){return re.createElement(zt,wa,Ja)},[Ja]),Hl=Qr(["table"],"table"),wl=re.useMemo(function(){return tn||(_s?Si==="max-content"?"auto":"fixed":gi||xs||ta.some(function(wa){var Wa=wa.ellipsis;return Wa})?"fixed":"auto")},[gi,_s,ta,tn,xs]),El,_l={colWidths:Bi,columCount:ta.length,stickyOffsets:Ri,onHeaderRow:zr,fixHeader:gi,scroll:Gt},zl=re.useMemo(function(){return Qn?null:typeof or=="function"?or():or},[Qn,or]),Gl=re.createElement(mn,{data:pr,measureColumnWidth:gi||Ya||xs}),$l=re.createElement(Cr,{colWidths:ta.map(function(wa){var Wa=wa.width;return Wa}),columns:ta}),Wl=Yn!=null?re.createElement("caption",{className:"".concat(lt,"-caption")},Yn):void 0,oc=mo(et,{data:!0}),Kl=mo(et,{aria:!0});if(gi||xs){var xl;typeof yo=="function"?(xl=yo(pr,{scrollbarSize:Pl,ref:ci,onScroll:cl}),_l.colWidths=ta.map(function(wa,Wa){var ss=wa.width,Hs=Wa===ta.length-1?ss-Pl:ss;return typeof Hs=="number"&&!Number.isNaN(Hs)?Hs:0})):xl=re.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},Ui),Hi),onScroll:cl,ref:ci,className:Ee()("".concat(lt,"-body"))},re.createElement(Hl,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},js),{},{tableLayout:wl})},Kl),Wl,$l,Gl,!Li&&Ja&&re.createElement(zt,{stickyOffsets:Ri,flattenColumns:ta,columns:oa},Ja)));var Zl=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({noData:!pr.length,maxContentScroll:Ya&&Si==="max-content"},_l),ms),{},{direction:Vt,stickyClassName:Ba,onScroll:cl});El=re.createElement(re.Fragment,null,Jn!==!1&&re.createElement(jr,(0,ae.Z)({},Zl,{stickyTopOffset:Sl,className:"".concat(lt,"-header"),ref:as}),nc),xl,Li&&Li!=="top"&&re.createElement(jr,(0,ae.Z)({},Zl,{stickyBottomOffset:Cl,className:"".concat(lt,"-summary"),ref:Js}),rc),xs&&re.createElement(ut,{ref:Qs,offsetScroll:aa,scrollBodyRef:ci,onScroll:cl,container:Pi}))}else El=re.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},Ui),Hi),className:Ee()("".concat(lt,"-content")),onScroll:cl,ref:ci},re.createElement(Hl,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},js),{},{tableLayout:wl})},Kl),Wl,$l,Jn!==!1&&re.createElement(Zo,(0,ae.Z)({},_l,ms)),Gl,Ja&&re.createElement(zt,{stickyOffsets:Ri,flattenColumns:ta,columns:oa},Ja)));var Tl=re.createElement("div",(0,ae.Z)({className:Ee()(lt,pt,(Fe={},(0,we.Z)(Fe,"".concat(lt,"-rtl"),Vt==="rtl"),(0,we.Z)(Fe,"".concat(lt,"-ping-left"),Xa),(0,we.Z)(Fe,"".concat(lt,"-ping-right"),Ai),(0,we.Z)(Fe,"".concat(lt,"-layout-fixed"),tn==="fixed"),(0,we.Z)(Fe,"".concat(lt,"-fixed-header"),gi),(0,we.Z)(Fe,"".concat(lt,"-fixed-column"),_s),(0,we.Z)(Fe,"".concat(lt,"-scroll-horizontal"),Ya),(0,we.Z)(Fe,"".concat(lt,"-has-fix-left"),ta[0]&&ta[0].fixed),(0,we.Z)(Fe,"".concat(lt,"-has-fix-right"),ta[ta.length-1]&&ta[ta.length-1].fixed==="right"),Fe)),style:xt,id:Kn,ref:li},oc),_n&&re.createElement(dt,{className:"".concat(lt,"-title")},_n(pr)),re.createElement("div",{ref:Fi,className:"".concat(lt,"-container")},El),xn&&re.createElement(dt,{className:"".concat(lt,"-footer")},xn(pr)));Ya&&(Tl=re.createElement(tr.Z,{onResize:Ql},Tl));var Vl=Ro(ta,Ri,Vt,oa),ac=re.useMemo(function(){return{scrollX:Si,prefixCls:lt,getComponent:Qr,scrollbarSize:Pl,direction:Vt,fixedInfoList:Vl,isSticky:xs,supportSticky:Ul,componentWidth:Wr,fixHeader:gi,fixColumn:_s,horizonScroll:Ya,tableLayout:wl,rowClassName:vt,expandedRowClassName:Dr.expandedRowClassName,expandIcon:ka,expandableType:$a,expandRowByClick:Dr.expandRowByClick,expandedRowRender:Dr.expandedRowRender,onTriggerExpand:ki,expandIconColumnIndex:Dr.expandIconColumnIndex,indentSize:Dr.indentSize,allColumnsFixedLeft:ta.every(function(wa){return wa.fixed==="left"}),emptyNode:zl,columns:oa,flattenColumns:ta,onColumnResize:Ml,hoverStartRow:Ho,hoverEndRow:sr,onHover:Ar,rowExpandable:Dr.rowExpandable,onRow:Ir,getRowKey:Ao,expandedKeys:ea,childrenColumnName:Ea}},[Si,lt,Qr,Pl,Vt,Vl,xs,Ul,Wr,gi,_s,Ya,wl,vt,Dr.expandedRowClassName,ka,$a,Dr.expandRowByClick,Dr.expandedRowRender,ki,Dr.expandIconColumnIndex,Dr.indentSize,zl,oa,ta,Ml,Ho,sr,Ar,Dr.rowExpandable,Ir,Ao,ea,Ea]);return re.createElement(ge.Provider,{value:ac},Tl)}function jn(De){return ee(cn,De)}var Fn=jn();Fn.EXPAND_COLUMN=be,Fn.INTERNAL_HOOKS=_e,Fn.Column=wt,Fn.ColumnGroup=Qt,Fn.Summary=ot;var rr=Fn,xr=me(73299),br=le(null),eo=le(null);function co(De,Fe,et){var lt=Fe||1;return et[De+lt]-(et[De]||0)}function Eo(De){var Fe=De.rowInfo,et=De.column,lt=De.colIndex,pt=De.indent,vt=De.index,xt=De.renderIndex,jt=De.record,It=De.style,Gt=De.className,tn=De.inverse,Vt=De.getHeight,_n=et.render,xn=et.dataIndex,Ln=et.className,Yn=et.width,Kn=ce(eo,["columnsOffset"]),Jn=Kn.columnsOffset,Zn=jo(Fe,et,lt,pt,vt),or=Zn.key,Ir=Zn.fixedInfo,zr=Zn.appendCellNode,Lr=Zn.additionalCellProps,uo=Lr.style,to=Lr.colSpan,ur=to===void 0?1:to,Or=Lr.rowSpan,pr=Or===void 0?1:Or,Qn=lt-1,_r=co(Qn,ur,Jn),Qr=ur>1?Yn-_r:0,Ao=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},uo),It),{},{flex:"0 0 ".concat(_r,"px"),width:"".concat(_r,"px"),marginRight:Qr,pointerEvents:"auto"}),yo=re.useMemo(function(){return tn?pr<=1:ur===0||pr===0||pr>1},[pr,ur,tn]);yo?Ao.visibility="hidden":tn&&(Ao.height=Vt==null?void 0:Vt(pr));var Vr=yo?function(){return null}:_n,Do={};return(pr===0||ur===0)&&(Do.rowSpan=1,Do.colSpan=1),re.createElement(Le,(0,ae.Z)({className:Ee()(Ln,Gt),ellipsis:et.ellipsis,align:et.align,scope:et.rowScope,component:"div",prefixCls:Fe.prefixCls,key:or,record:jt,index:vt,renderIndex:xt,dataIndex:xn,render:Vr,shouldCellUpdate:et.shouldCellUpdate},Ir,{appendNode:zr,additionalProps:(0,Pe.Z)((0,Pe.Z)({},Lr),{},{style:Ao},Do)}))}var kr=Eo,Mo=["data","index","className","rowKey","style","extra","getHeight"],vo=re.forwardRef(function(De,Fe){var et=De.data,lt=De.index,pt=De.className,vt=De.rowKey,xt=De.style,jt=De.extra,It=De.getHeight,Gt=(0,Pt.Z)(De,Mo),tn=et.record,Vt=et.indent,_n=et.index,xn=ce(ge,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ln=xn.scrollX,Yn=xn.flattenColumns,Kn=xn.prefixCls,Jn=xn.fixColumn,Zn=xn.componentWidth,or=Ko(tn,vt,lt,Vt),Ir=or.rowSupportExpand,zr=or.expanded,Lr=or.rowProps,uo=or.expandedRowRender,to=or.expandedRowClassName,ur;if(Ir&&zr){var Or=uo(tn,lt,Vt+1,zr),pr=to==null?void 0:to(tn,lt,Vt),Qn={};Jn&&(Qn={style:(0,we.Z)({},"--virtual-width","".concat(Zn,"px"))});var _r="".concat(Kn,"-expanded-row-cell");ur=re.createElement("div",{className:Ee()("".concat(Kn,"-expanded-row"),"".concat(Kn,"-expanded-row-level-").concat(Vt+1),pr)},re.createElement(Le,{component:"div",prefixCls:Kn,className:Ee()(_r,(0,we.Z)({},"".concat(_r,"-fixed"),Jn)),additionalProps:Qn},Or))}var Qr=(0,Pe.Z)((0,Pe.Z)({},xt),{},{width:Ln});jt&&(Qr.position="absolute",Qr.pointerEvents="none");var Ao=re.createElement("div",(0,ae.Z)({},Lr,Gt,{ref:Ir?null:Fe,className:Ee()(pt,"".concat(Kn,"-row"),Lr==null?void 0:Lr.className,(0,we.Z)({},"".concat(Kn,"-row-extra"),jt)),style:(0,Pe.Z)((0,Pe.Z)({},Qr),Lr==null?void 0:Lr.style)}),Yn.map(function(yo,Vr){return re.createElement(kr,{key:Vr,rowInfo:or,column:yo,colIndex:Vr,indent:Vt,index:lt,renderIndex:_n,record:tn,inverse:jt,getHeight:It})}));return Ir?re.createElement("div",{ref:Fe},Ao,ur):Ao}),No=te(vo),ga=No,Fa=re.forwardRef(function(De,Fe){var et=De.data,lt=De.onScroll,pt=ce(ge,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),vt=pt.flattenColumns,xt=pt.onColumnResize,jt=pt.getRowKey,It=pt.expandedKeys,Gt=pt.prefixCls,tn=pt.childrenColumnName,Vt=pt.emptyNode,_n=pt.scrollX,xn=ce(br),Ln=xn.scrollY,Yn=xn.listItemHeight,Kn=re.useRef(),Jn=Ur(et,tn,It,jt),Zn=re.useMemo(function(){var ur=0;return vt.map(function(Or){var pr=Or.width,Qn=Or.key;return ur+=pr,[Qn,pr,ur]})},[vt]),or=re.useMemo(function(){return Zn.map(function(ur){return ur[2]})},[Zn]);re.useEffect(function(){Zn.forEach(function(ur){var Or=(0,E.Z)(ur,2),pr=Or[0],Qn=Or[1];xt(pr,Qn)})},[Zn]),re.useImperativeHandle(Fe,function(){var ur={};return Object.defineProperty(ur,"scrollLeft",{get:function(){var pr;return((pr=Kn.current)===null||pr===void 0?void 0:pr.getScrollInfo().x)||0},set:function(pr){var Qn;(Qn=Kn.current)===null||Qn===void 0||Qn.scrollTo({left:pr})}}),ur});var Ir=function(Or,pr){var Qn,_r=(Qn=Jn[pr])===null||Qn===void 0?void 0:Qn.record,Qr=Or.onCell;if(Qr){var Ao,yo=Qr(_r,pr);return(Ao=yo==null?void 0:yo.rowSpan)!==null&&Ao!==void 0?Ao:1}return 1},zr=function(Or){var pr=Or.start,Qn=Or.end,_r=Or.getSize,Qr=Or.offsetY;if(Qn<0)return null;for(var Ao=vt.filter(function(fo){return Ir(fo,pr)===0}),yo=pr,Vr=function(io){if(Ao=Ao.filter(function(no){return Ir(no,io)===0}),!Ao.length)return yo=io,"break"},Do=pr;Do>=0;Do-=1){var Ho=Vr(Do);if(Ho==="break")break}for(var sr=vt.filter(function(fo){return Ir(fo,Qn)!==1}),Ar=Qn,Bo=function(io){if(sr=sr.filter(function(no){return Ir(no,io)!==1}),!sr.length)return Ar=Math.max(io-1,Qn),"break"},$o=Qn;$o<Jn.length;$o+=1){var Dr=Bo($o);if(Dr==="break")break}for(var $a=[],ea=function(io){var no=Jn[io];if(!no)return"continue";vt.some(function(Wr){return Ir(Wr,io)>1})&&$a.push(io)},ka=yo;ka<=Ar;ka+=1)var Ea=ea(ka);var ki=$a.map(function(fo){var io=Jn[fo],no=jt(io.record,fo),Wr=function(wo){var oa=fo+wo-1,ta=jt(Jn[oa].record,oa),xi=_r(no,ta);return xi.bottom-xi.top},la=_r(no);return re.createElement(ga,{key:fo,data:io,rowKey:no,index:fo,style:{top:-Qr+la.top},extra:!0,getHeight:Wr})});return ki},Lr=re.useMemo(function(){return{columnsOffset:or}},[or]),uo="".concat(Gt,"-tbody"),to;return Jn.length?to=re.createElement(xr.Z,{fullHeight:!1,ref:Kn,className:Ee()(uo,"".concat(uo,"-virtual")),height:Ln,itemHeight:Yn||24,data:Jn,itemKey:function(Or){return jt(Or.record)},scrollWidth:_n,onVirtualScroll:function(Or){var pr=Or.x;lt({scrollLeft:pr})},extraRender:zr},function(ur,Or,pr){var Qn=jt(ur.record,Or);return re.createElement(ga,(0,ae.Z)({data:ur,rowKey:Qn,index:Or},pr))}):to=re.createElement("div",{className:Ee()("".concat(Gt,"-placeholder"))},re.createElement(Le,{component:"div",prefixCls:Gt},Vt)),re.createElement(eo.Provider,{value:Lr},to)}),na=te(Fa),La=na,Qo=function(Fe,et){var lt=et.ref,pt=et.onScroll;return re.createElement(La,{ref:lt,data:Fe,onScroll:pt})},Ga=100;function Ca(De){var Fe=De.columns,et=De.scroll,lt=De.prefixCls,pt=lt===void 0?an:lt,vt=De.className,xt=De.listItemHeight,jt=et||{},It=jt.x,Gt=jt.y;typeof It!="number"&&(It=((Fe||[]).length+1)*Ga),typeof Gt!="number"&&(Gt=500);var tn=re.useMemo(function(){return{scrollY:Gt,listItemHeight:xt}},[Gt,xt]);return re.createElement(br.Provider,{value:tn},re.createElement(rr,(0,ae.Z)({},De,{className:Ee()(vt,"".concat(pt,"-virtual")),scroll:(0,Pe.Z)((0,Pe.Z)({},et),{},{x:It}),components:{body:Qo},columns:Fe,internalHooks:_e,tailor:!0})))}function Ia(De){return ee(Ca,De)}var _a=Ia(),ni=null;function Ka(De){return null}var ja=Ka;function ko(De){return null}var Xo=ko,Pr=me(10366),Za=me(58375),hi=me(53124),sa=me(88258),ya=me(98675),Qa=me(25378),ha=me(24457),ua=me(34435),Oa=me(57953),ai=me(46605);function da(De){return function(et){let{prefixCls:lt,onExpand:pt,record:vt,expanded:xt,expandable:jt}=et;const It=`${lt}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:Gt=>{pt(vt,Gt),Gt.stopPropagation()},className:Ee()(It,{[`${It}-spaced`]:!jt,[`${It}-expanded`]:jt&&xt,[`${It}-collapsed`]:jt&&!xt}),"aria-label":xt?De.collapse:De.expand,"aria-expanded":xt})}}var fa=da;function Ua(De,Fe){return"key"in De&&De.key!==void 0&&De.key!==null?De.key:De.dataIndex?Array.isArray(De.dataIndex)?De.dataIndex.join("."):De.dataIndex:Fe}function wi(De,Fe){return Fe?`${Fe}-${De}`:`${De}`}function es(De,Fe){return typeof De=="function"?De(Fe):De}function ls(De,Fe){const et=es(De,Fe);return Object.prototype.toString.call(et)==="[object Object]"?"":et}var cs={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"},Mi=cs,pi=me(44327),yi=function(Fe,et){return re.createElement(pi.Z,(0,ae.Z)({},Fe,{ref:et,icon:Mi}))},Vi=re.forwardRef(yi),zi=me(7699),Gs=me(57838);function $s(De){const Fe=re.useRef(De),et=(0,Gs.Z)();return[()=>Fe.current,lt=>{Fe.current=lt,et()}]}var us=me(71577),ys=me(84567),Ws=me(85418),Ss=me(32983),ts=me(68508),ns=me(76529),bs=me(78045),Ts=me(86132),it=me(47880),yt=me(11486);function mt(De){let{value:Fe,onChange:et,filterSearch:lt,tablePrefixCls:pt,locale:vt}=De;return lt?re.createElement("div",{className:`${pt}-filter-dropdown-search`},re.createElement(yt.default,{prefix:re.createElement(it.Z,null),placeholder:vt.filterSearchPlaceholder,onChange:et,value:Fe,htmlSize:1,className:`${pt}-filter-dropdown-search-input`})):null}var Nt=mt,qt=me(92389);const Cn=De=>{const{keyCode:Fe}=De;Fe===qt.Z.ENTER&&De.stopPropagation()};var $n=re.forwardRef((De,Fe)=>re.createElement("div",{className:De.className,onClick:et=>et.stopPropagation(),onKeyDown:Cn,ref:Fe},De.children));function kn(De){let Fe=[];return(De||[]).forEach(et=>{let{value:lt,children:pt}=et;Fe.push(lt),pt&&(Fe=[].concat((0,hr.Z)(Fe),(0,hr.Z)(kn(pt))))}),Fe}function ir(De){return De.some(Fe=>{let{children:et}=Fe;return et})}function Nr(De,Fe){return typeof Fe=="string"||typeof Fe=="number"?Fe==null?void 0:Fe.toString().toLowerCase().includes(De.trim().toLowerCase()):!1}function er(De){let{filters:Fe,prefixCls:et,filteredKeys:lt,filterMultiple:pt,searchValue:vt,filterSearch:xt}=De;return Fe.map((jt,It)=>{const Gt=String(jt.value);if(jt.children)return{key:Gt||It,label:jt.text,popupClassName:`${et}-dropdown-submenu`,children:er({filters:jt.children,prefixCls:et,filteredKeys:lt,filterMultiple:pt,searchValue:vt,filterSearch:xt})};const tn=pt?ys.default:bs.ZP,Vt={key:jt.value!==void 0?Gt:It,label:re.createElement(re.Fragment,null,re.createElement(tn,{checked:lt.includes(Gt)}),re.createElement("span",null,jt.text))};return vt.trim()?typeof xt=="function"?xt(vt,jt)?Vt:null:Nr(vt,jt.text)?Vt:null:Vt})}function Fr(De){var Fe,et;const{tablePrefixCls:lt,prefixCls:pt,column:vt,dropdownPrefixCls:xt,columnKey:jt,filterMultiple:It,filterMode:Gt="menu",filterSearch:tn=!1,filterState:Vt,triggerFilter:_n,locale:xn,children:Ln,getPopupContainer:Yn}=De,{filterDropdownOpen:Kn,onFilterDropdownOpenChange:Jn,filterResetToDefaultFilteredValue:Zn,defaultFilteredValue:or,filterDropdownVisible:Ir,onFilterDropdownVisibleChange:zr}=vt,[Lr,uo]=re.useState(!1),to=!!(Vt&&(!((Fe=Vt.filteredKeys)===null||Fe===void 0)&&Fe.length||Vt.forceFiltered)),ur=Kr=>{uo(Kr),Jn==null||Jn(Kr),zr==null||zr(Kr)},Or=(et=Kn!=null?Kn:Ir)!==null&&et!==void 0?et:Lr,pr=Vt==null?void 0:Vt.filteredKeys,[Qn,_r]=$s(pr||[]),Qr=Kr=>{let{selectedKeys:wo}=Kr;_r(wo)},Ao=(Kr,wo)=>{let{node:oa,checked:ta}=wo;Qr(It?{selectedKeys:Kr}:{selectedKeys:ta&&oa.key?[oa.key]:[]})};re.useEffect(()=>{Lr&&Qr({selectedKeys:pr||[]})},[pr]);const[yo,Vr]=re.useState([]),Do=Kr=>{Vr(Kr)},[Ho,sr]=re.useState(""),Ar=Kr=>{const{value:wo}=Kr.target;sr(wo)};re.useEffect(()=>{Lr||sr("")},[Lr]);const Bo=Kr=>{const wo=Kr&&Kr.length?Kr:null;if(wo===null&&(!Vt||!Vt.filteredKeys)||(0,zi.Z)(wo,Vt==null?void 0:Vt.filteredKeys,!0))return null;_n({column:vt,key:jt,filteredKeys:wo})},$o=()=>{ur(!1),Bo(Qn())},Dr=function(){let{confirm:Kr,closeDropdown:wo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Kr&&Bo([]),wo&&ur(!1),sr(""),_r(Zn?(or||[]).map(oa=>String(oa)):[])},$a=function(){let{closeDropdown:Kr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Kr&&ur(!1),Bo(Qn())},ea=Kr=>{Kr&&pr!==void 0&&_r(pr||[]),ur(Kr),!Kr&&!vt.filterDropdown&&$o()},ka=Ee()({[`${xt}-menu-without-submenu`]:!ir(vt.filters||[])}),Ea=Kr=>{if(Kr.target.checked){const wo=kn(vt==null?void 0:vt.filters).map(oa=>String(oa));_r(wo)}else _r([])},ki=Kr=>{let{filters:wo}=Kr;return(wo||[]).map((oa,ta)=>{const xi=String(oa.value),Si={title:oa.text,key:oa.value!==void 0?xi:ta};return oa.children&&(Si.children=ki({filters:oa.children})),Si})},fo=Kr=>{var wo;return Object.assign(Object.assign({},Kr),{text:Kr.title,value:Kr.key,children:((wo=Kr.children)===null||wo===void 0?void 0:wo.map(oa=>fo(oa)))||[]})};let io;if(typeof vt.filterDropdown=="function")io=vt.filterDropdown({prefixCls:`${xt}-custom`,setSelectedKeys:Kr=>Qr({selectedKeys:Kr}),selectedKeys:Qn(),confirm:$a,clearFilters:Dr,filters:vt.filters,visible:Or,close:()=>{ur(!1)}});else if(vt.filterDropdown)io=vt.filterDropdown;else{const Kr=Qn()||[],wo=()=>(vt.filters||[]).length===0?re.createElement(Ss.Z,{image:Ss.Z.PRESENTED_IMAGE_SIMPLE,description:xn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Gt==="tree"?re.createElement(re.Fragment,null,re.createElement(Nt,{filterSearch:tn,value:Ho,onChange:Ar,tablePrefixCls:lt,locale:xn}),re.createElement("div",{className:`${lt}-filter-dropdown-tree`},It?re.createElement(ys.default,{checked:Kr.length===kn(vt.filters).length,indeterminate:Kr.length>0&&Kr.length<kn(vt.filters).length,className:`${lt}-filter-dropdown-checkall`,onChange:Ea},xn.filterCheckall):null,re.createElement(Ts.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:It,checkStrictly:!It,className:`${xt}-menu`,onCheck:Ao,checkedKeys:Kr,selectedKeys:Kr,showIcon:!1,treeData:ki({filters:vt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ho.trim()?ta=>typeof tn=="function"?tn(Ho,fo(ta)):Nr(Ho,ta.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(Nt,{filterSearch:tn,value:Ho,onChange:Ar,tablePrefixCls:lt,locale:xn}),re.createElement(ts.default,{selectable:!0,multiple:It,prefixCls:`${xt}-menu`,className:ka,onSelect:Qr,onDeselect:Qr,selectedKeys:Kr,getPopupContainer:Yn,openKeys:yo,onOpenChange:Do,items:er({filters:vt.filters||[],filterSearch:tn,prefixCls:pt,filteredKeys:Qn(),filterMultiple:It,searchValue:Ho})})),oa=()=>Zn?(0,zi.Z)((or||[]).map(ta=>String(ta)),Kr,!0):Kr.length===0;io=re.createElement(re.Fragment,null,wo(),re.createElement("div",{className:`${pt}-dropdown-btns`},re.createElement(us.ZP,{type:"link",size:"small",disabled:oa(),onClick:()=>Dr()},xn.filterReset),re.createElement(us.ZP,{type:"primary",size:"small",onClick:$o},xn.filterConfirm)))}vt.filterDropdown&&(io=re.createElement(ns.J,{selectable:void 0},io));const no=()=>re.createElement($n,{className:`${pt}-dropdown`},io);let Wr;typeof vt.filterIcon=="function"?Wr=vt.filterIcon(to):vt.filterIcon?Wr=vt.filterIcon:Wr=re.createElement(Vi,null);const{direction:la}=re.useContext(hi.E_);return re.createElement("div",{className:`${pt}-column`},re.createElement("span",{className:`${lt}-column-title`},Ln),re.createElement(Ws.Z,{dropdownRender:no,trigger:["click"],open:Or,onOpenChange:ea,getPopupContainer:Yn,placement:la==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:Ee()(`${pt}-trigger`,{active:to}),onClick:Kr=>{Kr.stopPropagation()}},Wr)))}var Mr=Fr;function Jr(De,Fe,et){let lt=[];return(De||[]).forEach((pt,vt)=>{var xt;const jt=wi(vt,et);if(pt.filters||"filterDropdown"in pt||"onFilter"in pt)if("filteredValue"in pt){let It=pt.filteredValue;"filterDropdown"in pt||(It=(xt=It==null?void 0:It.map(String))!==null&&xt!==void 0?xt:It),lt.push({column:pt,key:Ua(pt,jt),filteredKeys:It,forceFiltered:pt.filtered})}else lt.push({column:pt,key:Ua(pt,jt),filteredKeys:Fe&&pt.defaultFilteredValue?pt.defaultFilteredValue:void 0,forceFiltered:pt.filtered});"children"in pt&&(lt=[].concat((0,hr.Z)(lt),(0,hr.Z)(Jr(pt.children,Fe,jt))))}),lt}function Wo(De,Fe,et,lt,pt,vt,xt,jt){return et.map((It,Gt)=>{const tn=wi(Gt,jt),{filterMultiple:Vt=!0,filterMode:_n,filterSearch:xn}=It;let Ln=It;if(Ln.filters||Ln.filterDropdown){const Yn=Ua(Ln,tn),Kn=lt.find(Jn=>{let{key:Zn}=Jn;return Yn===Zn});Ln=Object.assign(Object.assign({},Ln),{title:Jn=>re.createElement(Mr,{tablePrefixCls:De,prefixCls:`${De}-filter`,dropdownPrefixCls:Fe,column:Ln,columnKey:Yn,filterState:Kn,filterMultiple:Vt,filterMode:_n,filterSearch:xn,triggerFilter:vt,locale:pt,getPopupContainer:xt},es(It.title,Jn))})}return"children"in Ln&&(Ln=Object.assign(Object.assign({},Ln),{children:Wo(De,Fe,Ln.children,lt,pt,vt,xt,tn)})),Ln})}function Io(De){const Fe={};return De.forEach(et=>{let{key:lt,filteredKeys:pt,column:vt}=et;const{filters:xt,filterDropdown:jt}=vt;if(jt)Fe[lt]=pt||null;else if(Array.isArray(pt)){const It=kn(xt);Fe[lt]=It.filter(Gt=>pt.includes(String(Gt)))}else Fe[lt]=null}),Fe}function Yo(De,Fe){return Fe.reduce((et,lt)=>{const{column:{onFilter:pt,filters:vt},filteredKeys:xt}=lt;return pt&&xt&&xt.length?et.filter(jt=>xt.some(It=>{const Gt=kn(vt),tn=Gt.findIndex(_n=>String(_n)===String(It)),Vt=tn!==-1?Gt[tn]:It;return pt(Vt,jt)})):et},De)}const Fo=De=>De.flatMap(Fe=>"children"in Fe?[Fe].concat((0,hr.Z)(Fo(Fe.children||[]))):[Fe]);function _o(De){let{prefixCls:Fe,dropdownPrefixCls:et,mergedColumns:lt,onFilterChange:pt,getPopupContainer:vt,locale:xt}=De;const jt=re.useMemo(()=>Fo(lt||[]),[lt]),[It,Gt]=re.useState(()=>Jr(jt,!0)),tn=re.useMemo(()=>{const Ln=Jr(jt,!1);if(Ln.length===0)return Ln;let Yn=!0,Kn=!0;if(Ln.forEach(Jn=>{let{filteredKeys:Zn}=Jn;Zn!==void 0?Yn=!1:Kn=!1}),Yn){const Jn=(jt||[]).map((Zn,or)=>Ua(Zn,wi(or)));return It.filter(Zn=>{let{key:or}=Zn;return Jn.includes(or)}).map(Zn=>{const or=jt[Jn.findIndex(Ir=>Ir===Zn.key)];return Object.assign(Object.assign({},Zn),{column:Object.assign(Object.assign({},Zn.column),or),forceFiltered:or.filtered})})}return Ln},[jt,It]),Vt=re.useMemo(()=>Io(tn),[tn]),_n=Ln=>{const Yn=tn.filter(Kn=>{let{key:Jn}=Kn;return Jn!==Ln.key});Yn.push(Ln),Gt(Yn),pt(Io(Yn),Yn)};return[Ln=>Wo(Fe,et,Ln,tn,xt,_n,vt),tn,Vt]}var $r=_o;function Na(De,Fe,et){const lt=re.useRef({});function pt(vt){if(!lt.current||lt.current.data!==De||lt.current.childrenColumnName!==Fe||lt.current.getRowKey!==et){let jt=function(It){It.forEach((Gt,tn)=>{const Vt=et(Gt,tn);xt.set(Vt,Gt),Gt&&typeof Gt=="object"&&Fe in Gt&&jt(Gt[Fe]||[])})};const xt=new Map;jt(De),lt.current={data:De,childrenColumnName:Fe,kvMap:xt,getRowKey:et}}return lt.current.kvMap.get(vt)}return[pt]}var xa=me(38780),Da=function(De,Fe){var et={};for(var lt in De)Object.prototype.hasOwnProperty.call(De,lt)&&Fe.indexOf(lt)<0&&(et[lt]=De[lt]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,lt=Object.getOwnPropertySymbols(De);pt<lt.length;pt++)Fe.indexOf(lt[pt])<0&&Object.prototype.propertyIsEnumerable.call(De,lt[pt])&&(et[lt[pt]]=De[lt[pt]]);return et};const Ha=10;function ii(De,Fe){const et={current:De.current,pageSize:De.pageSize};return Object.keys(Fe&&typeof Fe=="object"?Fe:{}).forEach(pt=>{const vt=De[pt];typeof vt!="function"&&(et[pt]=vt)}),et}function Sa(De,Fe,et){const lt=et&&typeof et=="object"?et:{},{total:pt=0}=lt,vt=Da(lt,["total"]),[xt,jt]=(0,re.useState)(()=>({current:"defaultCurrent"in vt?vt.defaultCurrent:1,pageSize:"defaultPageSize"in vt?vt.defaultPageSize:Ha})),It=(0,xa.Z)(xt,vt,{total:pt>0?pt:De}),Gt=Math.ceil((pt||De)/It.pageSize);It.current>Gt&&(It.current=Gt||1);const tn=(_n,xn)=>{jt({current:_n!=null?_n:1,pageSize:xn||It.pageSize})},Vt=(_n,xn)=>{var Ln;et&&((Ln=et.onChange)===null||Ln===void 0||Ln.call(et,_n,xn)),tn(_n,xn),Fe(_n,xn||(It==null?void 0:It.pageSize))};return et===!1?[{},()=>{}]:[Object.assign(Object.assign({},It),{onChange:Vt}),tn]}var ra=Sa,za=me(15558),Va=me(29873),Ta=me(97153),qo=me(83898),ba=me(5663);const Oo={},ei="SELECT_ALL",pa="SELECT_INVERT",ri="SELECT_NONE",Ci=[],ui=(De,Fe)=>{let et=[];return(Fe||[]).forEach(lt=>{et.push(lt),lt&&typeof lt=="object"&&De in lt&&(et=[].concat((0,hr.Z)(et),(0,hr.Z)(ui(De,lt[De]))))}),et};var ji=(De,Fe)=>{const{preserveSelectedRowKeys:et,selectedRowKeys:lt,defaultSelectedRowKeys:pt,getCheckboxProps:vt,onChange:xt,onSelect:jt,onSelectAll:It,onSelectInvert:Gt,onSelectNone:tn,onSelectMultiple:Vt,columnWidth:_n,type:xn,selections:Ln,fixed:Yn,renderCell:Kn,hideSelectAll:Jn,checkStrictly:Zn=!0}=Fe||{},{prefixCls:or,data:Ir,pageData:zr,getRecordByKey:Lr,getRowKey:uo,expandType:to,childrenColumnName:ur,locale:Or,getPopupContainer:pr}=De,[Qn,_r]=(0,ba.Z)(lt||pt||Ci,{value:lt}),Qr=re.useRef(new Map),Ao=(0,re.useCallback)(fo=>{if(et){const io=new Map;fo.forEach(no=>{let Wr=Lr(no);!Wr&&Qr.current.has(no)&&(Wr=Qr.current.get(no)),io.set(no,Wr)}),Qr.current=io}},[Lr,et]);re.useEffect(()=>{Ao(Qn)},[Qn]);const{keyEntities:yo}=(0,re.useMemo)(()=>{if(Zn)return{keyEntities:null};let fo=Ir;if(et){const io=new Set(Ir.map((Wr,la)=>uo(Wr,la))),no=Array.from(Qr.current).reduce((Wr,la)=>{let[Kr,wo]=la;return io.has(Kr)?Wr:Wr.concat(wo)},[]);fo=[].concat((0,hr.Z)(fo),(0,hr.Z)(no))}return(0,qo.I8)(fo,{externalGetKey:uo,childrenPropName:ur})},[Ir,uo,Zn,ur,et]),Vr=(0,re.useMemo)(()=>ui(ur,zr),[ur,zr]),Do=(0,re.useMemo)(()=>{const fo=new Map;return Vr.forEach((io,no)=>{const Wr=uo(io,no),la=(vt?vt(io):null)||{};fo.set(Wr,la)}),fo},[Vr,uo,vt]),Ho=(0,re.useCallback)(fo=>{var io;return!!(!((io=Do.get(uo(fo)))===null||io===void 0)&&io.disabled)},[Do,uo]),[sr,Ar]=(0,re.useMemo)(()=>{if(Zn)return[Qn||[],[]];const{checkedKeys:fo,halfCheckedKeys:io}=(0,Ta.S)(Qn,!0,yo,Ho);return[fo||[],io]},[Qn,Zn,yo,Ho]),Bo=(0,re.useMemo)(()=>{const fo=xn==="radio"?sr.slice(0,1):sr;return new Set(fo)},[sr,xn]),$o=(0,re.useMemo)(()=>xn==="radio"?new Set:new Set(Ar),[Ar,xn]),[Dr,$a]=(0,re.useState)(null);re.useEffect(()=>{Fe||_r(Ci)},[!!Fe]);const ea=(0,re.useCallback)((fo,io)=>{let no,Wr;Ao(fo),et?(no=fo,Wr=fo.map(la=>Qr.current.get(la))):(no=[],Wr=[],fo.forEach(la=>{const Kr=Lr(la);Kr!==void 0&&(no.push(la),Wr.push(Kr))})),_r(no),xt==null||xt(no,Wr,{type:io})},[_r,Lr,xt,et]),ka=(0,re.useCallback)((fo,io,no,Wr)=>{if(jt){const la=no.map(Kr=>Lr(Kr));jt(Lr(fo),io,la,Wr)}ea(no,"single")},[jt,Lr,ea]),Ea=(0,re.useMemo)(()=>!Ln||Jn?null:(Ln===!0?[ei,pa,ri]:Ln).map(io=>io===ei?{key:"all",text:Or.selectionAll,onSelect(){ea(Ir.map((no,Wr)=>uo(no,Wr)).filter(no=>{const Wr=Do.get(no);return!(Wr!=null&&Wr.disabled)||Bo.has(no)}),"all")}}:io===pa?{key:"invert",text:Or.selectInvert,onSelect(){const no=new Set(Bo);zr.forEach((la,Kr)=>{const wo=uo(la,Kr),oa=Do.get(wo);oa!=null&&oa.disabled||(no.has(wo)?no.delete(wo):no.add(wo))});const Wr=Array.from(no);Gt&&Gt(Wr),ea(Wr,"invert")}}:io===ri?{key:"none",text:Or.selectNone,onSelect(){tn==null||tn(),ea(Array.from(Bo).filter(no=>{const Wr=Do.get(no);return Wr==null?void 0:Wr.disabled}),"none")}}:io).map(io=>Object.assign(Object.assign({},io),{onSelect:function(){for(var no,Wr,la=arguments.length,Kr=new Array(la),wo=0;wo<la;wo++)Kr[wo]=arguments[wo];(Wr=io.onSelect)===null||Wr===void 0||(no=Wr).call.apply(no,[io].concat(Kr)),$a(null)}})),[Ln,Bo,zr,uo,Gt,ea]);return[(0,re.useCallback)(fo=>{var io;if(!Fe)return fo.filter(va=>va!==Oo);let no=(0,hr.Z)(fo);const Wr=new Set(Bo),la=Vr.map(uo).filter(va=>!Do.get(va).disabled),Kr=la.every(va=>Wr.has(va)),wo=la.some(va=>Wr.has(va)),oa=()=>{const va=[];Kr?la.forEach(Xa=>{Wr.delete(Xa),va.push(Xa)}):la.forEach(Xa=>{Wr.has(Xa)||(Wr.add(Xa),va.push(Xa))});const Pa=Array.from(Wr);It==null||It(!Kr,Pa.map(Xa=>Lr(Xa)),va.map(Xa=>Lr(Xa))),ea(Pa,"all"),$a(null)};let ta;if(xn!=="radio"){let va;if(Ea){const Jo={getPopupContainer:pr,items:Ea.map((Ai,Ti)=>{const{key:Zi,text:Es,onSelect:vs}=Ai;return{key:Zi!=null?Zi:Ti,onClick:()=>{vs==null||vs(la)},label:Es}})};va=re.createElement("div",{className:`${or}-selection-extra`},re.createElement(Ws.Z,{menu:Jo,getPopupContainer:pr},re.createElement("span",null,re.createElement(za.Z,null))))}const Pa=Vr.map((Jo,Ai)=>{const Ti=uo(Jo,Ai),Zi=Do.get(Ti)||{};return Object.assign({checked:Wr.has(Ti)},Zi)}).filter(Jo=>{let{disabled:Ai}=Jo;return Ai}),Xa=!!Pa.length&&Pa.length===Vr.length,di=Xa&&Pa.every(Jo=>{let{checked:Ai}=Jo;return Ai}),fi=Xa&&Pa.some(Jo=>{let{checked:Ai}=Jo;return Ai});ta=!Jn&&re.createElement("div",{className:`${or}-selection`},re.createElement(ys.default,{checked:Xa?di:!!Vr.length&&Kr,indeterminate:Xa?!di&&fi:!Kr&&wo,onChange:oa,disabled:Vr.length===0||Xa,"aria-label":va?"Custom selection":"Select all",skipGroup:!0}),va)}let xi;xn==="radio"?xi=(va,Pa,Xa)=>{const di=uo(Pa,Xa),fi=Wr.has(di);return{node:re.createElement(bs.ZP,Object.assign({},Do.get(di),{checked:fi,onClick:Jo=>Jo.stopPropagation(),onChange:Jo=>{Wr.has(di)||ka(di,!0,[di],Jo.nativeEvent)}})),checked:fi}}:xi=(va,Pa,Xa)=>{var di;const fi=uo(Pa,Xa),Jo=Wr.has(fi),Ai=$o.has(fi),Ti=Do.get(fi);let Zi;return to==="nest"?Zi=Ai:Zi=(di=Ti==null?void 0:Ti.indeterminate)!==null&&di!==void 0?di:Ai,{node:re.createElement(ys.default,Object.assign({},Ti,{indeterminate:Zi,checked:Jo,skipGroup:!0,onClick:Es=>Es.stopPropagation(),onChange:Es=>{let{nativeEvent:vs}=Es;const{shiftKey:ml}=vs;let Is=-1,is=-1;if(ml&&Zn){const Bi=new Set([Dr,fi]);la.some((Ri,gi)=>{if(Bi.has(Ri))if(Is===-1)Is=gi;else return is=gi,!0;return!1})}if(is!==-1&&Is!==is&&Zn){const Bi=la.slice(Is,is+1),Ri=[];Jo?Bi.forEach(Ya=>{Wr.has(Ya)&&(Ri.push(Ya),Wr.delete(Ya))}):Bi.forEach(Ya=>{Wr.has(Ya)||(Ri.push(Ya),Wr.add(Ya))});const gi=Array.from(Wr);Vt==null||Vt(!Jo,gi.map(Ya=>Lr(Ya)),Ri.map(Ya=>Lr(Ya))),ea(gi,"multiple")}else{const Bi=sr;if(Zn){const Ri=Jo?(0,Va._5)(Bi,fi):(0,Va.L0)(Bi,fi);ka(fi,!Jo,Ri,vs)}else{const Ri=(0,Ta.S)([].concat((0,hr.Z)(Bi),[fi]),!0,yo,Ho),{checkedKeys:gi,halfCheckedKeys:Ya}=Ri;let _s=gi;if(Jo){const Qs=new Set(gi);Qs.delete(fi),_s=(0,Ta.S)(Array.from(Qs),{checked:!1,halfCheckedKeys:Ya},yo,Ho).checkedKeys}ka(fi,!Jo,_s,vs)}}$a(Jo?null:fi)}})),checked:Jo}};const Si=(va,Pa,Xa)=>{const{node:di,checked:fi}=xi(va,Pa,Xa);return Kn?Kn(fi,Pa,Xa,di):di};if(!no.includes(Oo))if(no.findIndex(va=>{var Pa;return((Pa=va[Sn])===null||Pa===void 0?void 0:Pa.columnType)==="EXPAND_COLUMN"})===0){const[va,...Pa]=no;no=[va,Oo].concat((0,hr.Z)(Pa))}else no=[Oo].concat((0,hr.Z)(no));const ms=no.indexOf(Oo);no=no.filter((va,Pa)=>va!==Oo||Pa===ms);const li=no[ms-1],as=no[ms+1];let ci=Yn;ci===void 0&&((as==null?void 0:as.fixed)!==void 0?ci=as.fixed:(li==null?void 0:li.fixed)!==void 0&&(ci=li.fixed)),ci&&li&&((io=li[Sn])===null||io===void 0?void 0:io.columnType)==="EXPAND_COLUMN"&&li.fixed===void 0&&(li.fixed=ci);const Fi=Ee()(`${or}-selection-col`,{[`${or}-selection-col-with-dropdown`]:Ln&&xn==="checkbox"}),Js={fixed:ci,width:_n,className:`${or}-selection-column`,title:Fe.columnTitle||ta,render:Si,onCell:Fe.onCell,[Sn]:{className:Fi}};return no.map(va=>va===Oo?Js:va)},[uo,Vr,Fe,sr,Bo,$o,_n,Ea,to,Dr,Do,Vt,ka,Ho]),Bo]},ma={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"},Oi=ma,qa=function(Fe,et){return re.createElement(pi.Z,(0,ae.Z)({},Fe,{ref:et,icon:Oi}))},Aa=re.forwardRef(qa),oi={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"},Gi=oi,ds=function(Fe,et){return re.createElement(pi.Z,(0,ae.Z)({},Fe,{ref:et,icon:Gi}))},Ps=re.forwardRef(ds),bi=me(83062);const mi="ascend",$i="descend";function vi(De){return typeof De.sorter=="object"&&typeof De.sorter.multiple=="number"?De.sorter.multiple:!1}function Ra(De){return typeof De=="function"?De:De&&typeof De=="object"&&De.compare?De.compare:!1}function xo(De,Fe){return Fe?De[De.indexOf(Fe)+1]:De[0]}function ti(De,Fe,et){let lt=[];function pt(vt,xt){lt.push({column:vt,key:Ua(vt,xt),multiplePriority:vi(vt),sortOrder:vt.sortOrder})}return(De||[]).forEach((vt,xt)=>{const jt=wi(xt,et);vt.children?("sortOrder"in vt&&pt(vt,jt),lt=[].concat((0,hr.Z)(lt),(0,hr.Z)(ti(vt.children,Fe,jt)))):vt.sorter&&("sortOrder"in vt?pt(vt,jt):Fe&&vt.defaultSortOrder&&lt.push({column:vt,key:Ua(vt,jt),multiplePriority:vi(vt),sortOrder:vt.defaultSortOrder}))}),lt}function Ei(De,Fe,et,lt,pt,vt,xt,jt){return(Fe||[]).map((It,Gt)=>{const tn=wi(Gt,jt);let Vt=It;if(Vt.sorter){const _n=Vt.sortDirections||pt,xn=Vt.showSorterTooltip===void 0?xt:Vt.showSorterTooltip,Ln=Ua(Vt,tn),Yn=et.find(to=>{let{key:ur}=to;return ur===Ln}),Kn=Yn?Yn.sortOrder:null,Jn=xo(_n,Kn);let Zn;if(It.sortIcon)Zn=It.sortIcon({sortOrder:Kn});else{const to=_n.includes(mi)&&re.createElement(Ps,{className:Ee()(`${De}-column-sorter-up`,{active:Kn===mi})}),ur=_n.includes($i)&&re.createElement(Aa,{className:Ee()(`${De}-column-sorter-down`,{active:Kn===$i})});Zn=re.createElement("span",{className:Ee()(`${De}-column-sorter`,{[`${De}-column-sorter-full`]:!!(to&&ur)})},re.createElement("span",{className:`${De}-column-sorter-inner`,"aria-hidden":"true"},to,ur))}const{cancelSort:or,triggerAsc:Ir,triggerDesc:zr}=vt||{};let Lr=or;Jn===$i?Lr=zr:Jn===mi&&(Lr=Ir);const uo=typeof xn=="object"?xn:{title:Lr};Vt=Object.assign(Object.assign({},Vt),{className:Ee()(Vt.className,{[`${De}-column-sort`]:Kn}),title:to=>{const ur=re.createElement("div",{className:`${De}-column-sorters`},re.createElement("span",{className:`${De}-column-title`},es(It.title,to)),Zn);return xn?re.createElement(bi.Z,Object.assign({},uo),ur):ur},onHeaderCell:to=>{const ur=It.onHeaderCell&&It.onHeaderCell(to)||{},Or=ur.onClick,pr=ur.onKeyDown;ur.onClick=Qr=>{lt({column:It,key:Ln,sortOrder:Jn,multiplePriority:vi(It)}),Or==null||Or(Qr)},ur.onKeyDown=Qr=>{Qr.keyCode===qt.Z.ENTER&&(lt({column:It,key:Ln,sortOrder:Jn,multiplePriority:vi(It)}),pr==null||pr(Qr))};const Qn=ls(It.title,{}),_r=Qn==null?void 0:Qn.toString();return Kn?ur["aria-sort"]=Kn==="ascend"?"ascending":"descending":ur["aria-label"]=_r||"",ur.className=Ee()(ur.className,`${De}-column-has-sorters`),ur.tabIndex=0,It.ellipsis&&(ur.title=(Qn!=null?Qn:"").toString()),ur}})}return"children"in Vt&&(Vt=Object.assign(Object.assign({},Vt),{children:Ei(De,Vt.children,et,lt,pt,vt,xt,tn)})),Vt})}function Xi(De){const{column:Fe,sortOrder:et}=De;return{column:Fe,order:et,field:Fe.dataIndex,columnKey:Fe.key}}function ws(De){const Fe=De.filter(et=>{let{sortOrder:lt}=et;return lt}).map(Xi);return Fe.length===0&&De.length?Object.assign(Object.assign({},Xi(De[De.length-1])),{column:void 0}):Fe.length<=1?Fe[0]||{}:Fe}function fs(De,Fe,et){const lt=Fe.slice().sort((xt,jt)=>jt.multiplePriority-xt.multiplePriority),pt=De.slice(),vt=lt.filter(xt=>{let{column:{sorter:jt},sortOrder:It}=xt;return Ra(jt)&&It});return vt.length?pt.sort((xt,jt)=>{for(let It=0;It<vt.length;It+=1){const Gt=vt[It],{column:{sorter:tn},sortOrder:Vt}=Gt,_n=Ra(tn);if(_n&&Vt){const xn=_n(xt,jt,Vt);if(xn!==0)return Vt===mi?xn:-xn}}return 0}).map(xt=>{const jt=xt[et];return jt?Object.assign(Object.assign({},xt),{[et]:fs(jt,Fe,et)}):xt}):pt}function ul(De){let{prefixCls:Fe,mergedColumns:et,onSorterChange:lt,sortDirections:pt,tableLocale:vt,showSorterTooltip:xt}=De;const[jt,It]=re.useState(ti(et,!0)),Gt=re.useMemo(()=>{let Ln=!0;const Yn=ti(et,!1);if(!Yn.length)return jt;const Kn=[];function Jn(or){Ln?Kn.push(or):Kn.push(Object.assign(Object.assign({},or),{sortOrder:null}))}let Zn=null;return Yn.forEach(or=>{Zn===null?(Jn(or),or.sortOrder&&(or.multiplePriority===!1?Ln=!1:Zn=!0)):(Zn&&or.multiplePriority!==!1||(Ln=!1),Jn(or))}),Kn},[et,jt]),tn=re.useMemo(()=>{const Ln=Gt.map(Yn=>{let{column:Kn,sortOrder:Jn}=Yn;return{column:Kn,order:Jn}});return{sortColumns:Ln,sortColumn:Ln[0]&&Ln[0].column,sortOrder:Ln[0]&&Ln[0].order}},[Gt]);function Vt(Ln){let Yn;Ln.multiplePriority===!1||!Gt.length||Gt[0].multiplePriority===!1?Yn=[Ln]:Yn=[].concat((0,hr.Z)(Gt.filter(Kn=>{let{key:Jn}=Kn;return Jn!==Ln.key})),[Ln]),It(Yn),lt(ws(Yn),Yn)}return[Ln=>Ei(Fe,Ln,Gt,Vt,pt,vt,xt),Gt,tn,()=>ws(Gt)]}function Ks(De,Fe){return De.map(et=>{const lt=Object.assign({},et);return lt.title=es(et.title,Fe),"children"in lt&&(lt.children=Ks(lt.children,Fe)),lt})}function Yi(De){return[re.useCallback(et=>Ks(et,De),[De])]}var el=jn((De,Fe)=>{const{_renderTimes:et}=De,{_renderTimes:lt}=Fe;return et!==lt}),Ji=Ia((De,Fe)=>{const{_renderTimes:et}=De,{_renderTimes:lt}=Fe;return et!==lt}),_i=me(84780),Ls=me(14747),Qi=me(67968),dl=me(45503),Ns=De=>{const{componentCls:Fe}=De,et=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`,lt=(pt,vt,xt)=>({[`&${Fe}-${pt}`]:{[`> ${Fe}-container`]:{[`> ${Fe}-content, > ${Fe}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Fe}-expanded-row-fixed`]:{margin:`-${vt}px -${xt+De.lineWidth}px`}}}}}});return{[`${Fe}-wrapper`]:{[`${Fe}${Fe}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Fe}-title`]:{border:et,borderBottom:0},[`> ${Fe}-container`]:{borderInlineStart:et,borderTop:et,[`
> ${Fe}-content,
> ${Fe}-header,
> ${Fe}-body,
> ${Fe}-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:et},"> thead":{"> tr:not(:last-child) > th":{borderBottom:et},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Fe}-cell-fix-right-first::after`]:{borderInlineEnd:et}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Fe}-expanded-row-fixed`]:{margin:`-${De.tablePaddingVertical}px -${De.tablePaddingHorizontal+De.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:De.lineWidth,bottom:0,borderInlineEnd:et,content:'""'}}}}}},[`&${Fe}-scroll-horizontal`]:{[`> ${Fe}-container > ${Fe}-body`]:{"> table > tbody":{[`
> tr${Fe}-expanded-row,
> tr${Fe}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},lt("middle",De.tablePaddingVerticalMiddle,De.tablePaddingHorizontalMiddle)),lt("small",De.tablePaddingVerticalSmall,De.tablePaddingHorizontalSmall)),{[`> ${Fe}-footer`]:{border:et,borderTop:0}}),[`${Fe}-cell`]:{[`${Fe}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${De.lineWidth}px 0 ${De.lineWidth}px ${De.tableHeaderBg}`}},[`${Fe}-bordered ${Fe}-cell-scrollbar`]:{borderInlineEnd:et}}}},Cs=De=>{const{componentCls:Fe}=De;return{[`${Fe}-wrapper`]:{[`${Fe}-cell-ellipsis`]:Object.assign(Object.assign({},Ls.vS),{wordBreak:"keep-all",[`
&${Fe}-cell-fix-left-last,
&${Fe}-cell-fix-right-first
`]:{overflow:"visible",[`${Fe}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Fe}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},gs=De=>{const{componentCls:Fe}=De;return{[`${Fe}-wrapper`]:{[`${Fe}-tbody > tr${Fe}-placeholder`]:{textAlign:"center",color:De.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:De.colorBgContainer}}}}},Ni=me(49867),Zs=De=>{const{componentCls:Fe,antCls:et,controlInteractiveSize:lt,motionDurationSlow:pt,lineWidth:vt,paddingXS:xt,lineType:jt,tableBorderColor:It,tableExpandIconBg:Gt,tableExpandColumnWidth:tn,borderRadius:Vt,fontSize:_n,fontSizeSM:xn,lineHeight:Ln,tablePaddingVertical:Yn,tablePaddingHorizontal:Kn,tableExpandedRowBg:Jn,paddingXXS:Zn}=De,or=lt/2-vt,Ir=or*2+vt*3,zr=`${vt}px ${jt} ${It}`,Lr=Zn-vt;return{[`${Fe}-wrapper`]:{[`${Fe}-expand-icon-col`]:{width:tn},[`${Fe}-row-expand-icon-cell`]:{textAlign:"center",[`${Fe}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Fe}-row-indent`]:{height:1,float:"left"},[`${Fe}-row-expand-icon`]:Object.assign(Object.assign({},(0,Ni.N)(De)),{position:"relative",float:"left",boxSizing:"border-box",width:Ir,height:Ir,padding:0,color:"inherit",lineHeight:`${Ir}px`,background:Gt,border:zr,borderRadius:Vt,transform:`scale(${lt/Ir})`,transition:`all ${pt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${pt} ease-out`,content:'""'},"&::before":{top:or,insetInlineEnd:Lr,insetInlineStart:Lr,height:vt},"&::after":{top:Lr,bottom:Lr,insetInlineStart:or,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"}}),[`${Fe}-row-indent + ${Fe}-row-expand-icon`]:{marginTop:(_n*Ln-vt*3)/2-Math.ceil((xn*1.4-vt*3)/2),marginInlineEnd:xt},[`tr${Fe}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Jn}},[`${et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Fe}-expanded-row-fixed`]:{position:"relative",margin:`-${Yn}px -${Kn}px`,padding:`${Yn}px ${Kn}px`}}}},si=De=>{const{componentCls:Fe,antCls:et,iconCls:lt,tableFilterDropdownWidth:pt,tableFilterDropdownSearchWidth:vt,paddingXXS:xt,paddingXS:jt,colorText:It,lineWidth:Gt,lineType:tn,tableBorderColor:Vt,tableHeaderIconColor:_n,fontSizeSM:xn,tablePaddingHorizontal:Ln,borderRadius:Yn,motionDurationSlow:Kn,colorTextDescription:Jn,colorPrimary:Zn,tableHeaderFilterActiveBg:or,colorTextDisabled:Ir,tableFilterDropdownBg:zr,tableFilterDropdownHeight:Lr,controlItemBgHover:uo,controlItemBgActive:to,boxShadowSecondary:ur,filterDropdownMenuBg:Or}=De,pr=`${et}-dropdown`,Qn=`${Fe}-filter-dropdown`,_r=`${et}-tree`,Qr=`${Gt}px ${tn} ${Vt}`;return[{[`${Fe}-wrapper`]:{[`${Fe}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Fe}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-xt,marginInline:`${xt}px ${-Ln/2}px`,padding:`0 ${xt}px`,color:_n,fontSize:xn,borderRadius:Yn,cursor:"pointer",transition:`all ${Kn}`,"&:hover":{color:Jn,background:or},"&.active":{color:Zn}}}},{[`${et}-dropdown`]:{[Qn]:Object.assign(Object.assign({},(0,Ls.Wf)(De)),{minWidth:pt,backgroundColor:zr,borderRadius:Yn,boxShadow:ur,overflow:"hidden",[`${pr}-menu`]:{maxHeight:Lr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Or,"&:empty::after":{display:"block",padding:`${jt}px 0`,color:Ir,fontSize:xn,textAlign:"center",content:'"Not Found"'}},[`${Qn}-tree`]:{paddingBlock:`${jt}px 0`,paddingInline:jt,[_r]:{padding:0},[`${_r}-treenode ${_r}-node-content-wrapper:hover`]:{backgroundColor:uo},[`${_r}-treenode-checkbox-checked ${_r}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:to}}},[`${Qn}-search`]:{padding:jt,borderBottom:Qr,"&-input":{input:{minWidth:vt},[lt]:{color:Ir}}},[`${Qn}-checkall`]:{width:"100%",marginBottom:xt,marginInlineStart:xt},[`${Qn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${jt-Gt}px ${jt}px`,overflow:"hidden",borderTop:Qr}})}},{[`${et}-dropdown ${Qn}, ${Qn}-submenu`]:{[`${et}-checkbox-wrapper + span`]:{paddingInlineStart:jt,color:It},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},rs=De=>{const{componentCls:Fe,lineWidth:et,colorSplit:lt,motionDurationSlow:pt,zIndexTableFixed:vt,tableBg:xt,zIndexTableSticky:jt}=De,It=lt;return{[`${Fe}-wrapper`]:{[`
${Fe}-cell-fix-left,
${Fe}-cell-fix-right
`]:{position:"sticky !important",zIndex:vt,background:xt},[`
${Fe}-cell-fix-left-first::after,
${Fe}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-et,width:30,transform:"translateX(100%)",transition:`box-shadow ${pt}`,content:'""',pointerEvents:"none"},[`${Fe}-cell-fix-left-all::after`]:{display:"none"},[`
${Fe}-cell-fix-right-first::after,
${Fe}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-et,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${pt}`,content:'""',pointerEvents:"none"},[`${Fe}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:jt+1,width:30,transition:`box-shadow ${pt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Fe}-ping-left`]:{[`&:not(${Fe}-has-fix-left) ${Fe}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${It}`}},[`
${Fe}-cell-fix-left-first::after,
${Fe}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${It}`},[`${Fe}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Fe}-ping-right`]:{[`&:not(${Fe}-has-fix-right) ${Fe}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${It}`}},[`
${Fe}-cell-fix-right-first::after,
${Fe}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${It}`}}}}},Vs=De=>{const{componentCls:Fe,antCls:et}=De;return{[`${Fe}-wrapper`]:{[`${Fe}-pagination${et}-pagination`]:{margin:`${De.margin}px 0`},[`${Fe}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:De.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Xs=De=>{const{componentCls:Fe,tableRadius:et}=De;return{[`${Fe}-wrapper`]:{[Fe]:{[`${Fe}-title, ${Fe}-header`]:{borderRadius:`${et}px ${et}px 0 0`},[`${Fe}-title + ${Fe}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Fe}-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:et,borderStartEndRadius:et,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:et},"> *:last-child":{borderStartEndRadius:et}}},"&-footer":{borderRadius:`0 0 ${et}px ${et}px`}}}}},Ds=De=>{const{componentCls:Fe}=De;return{[`${Fe}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Fe}-pagination-left`]:{justifyContent:"flex-end"},[`${Fe}-pagination-right`]:{justifyContent:"flex-start"},[`${Fe}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Fe}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Fe}-row-indent`]:{float:"right"}}}}},Ys=De=>{const{componentCls:Fe,antCls:et,iconCls:lt,fontSizeIcon:pt,padding:vt,paddingXS:xt,tableHeaderIconColor:jt,tableHeaderIconColorHover:It,tableSelectionColumnWidth:Gt}=De;return{[`${Fe}-wrapper`]:{[`${Fe}-selection-col`]:{width:Gt,[`&${Fe}-selection-col-with-dropdown`]:{width:Gt+pt+vt/4}},[`${Fe}-bordered ${Fe}-selection-col`]:{width:Gt+xt*2,[`&${Fe}-selection-col-with-dropdown`]:{width:Gt+pt+vt/4+xt*2}},[`
table tr th${Fe}-selection-column,
table tr td${Fe}-selection-column
`]:{paddingInlineEnd:De.paddingXS,paddingInlineStart:De.paddingXS,textAlign:"center",[`${et}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Fe}-selection-column${Fe}-cell-fix-left`]:{zIndex:De.zIndexTableFixed+1},[`table tr th${Fe}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Fe}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Fe}-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:pt,verticalAlign:"baseline","&:hover":{color:It}}}}}},rl=De=>{const{componentCls:Fe}=De,et=(lt,pt,vt,xt)=>({[`${Fe}${Fe}-${lt}`]:{fontSize:xt,[`
${Fe}-title,
${Fe}-footer,
${Fe}-cell,
${Fe}-thead > tr > th,
${Fe}-tbody > tr > th,
${Fe}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${pt}px ${vt}px`},[`${Fe}-filter-trigger`]:{marginInlineEnd:`-${vt/2}px`},[`${Fe}-expanded-row-fixed`]:{margin:`-${pt}px -${vt}px`},[`${Fe}-tbody`]:{[`${Fe}-wrapper:only-child ${Fe}`]:{marginBlock:`-${pt}px`,marginInline:`${De.tableExpandColumnWidth-vt}px -${vt}px`}},[`${Fe}-selection-column`]:{paddingInlineStart:`${vt/4}px`}}});return{[`${Fe}-wrapper`]:Object.assign(Object.assign({},et("middle",De.tablePaddingVerticalMiddle,De.tablePaddingHorizontalMiddle,De.tableFontSizeMiddle)),et("small",De.tablePaddingVerticalSmall,De.tablePaddingHorizontalSmall,De.tableFontSizeSmall))}},ps=De=>{const{componentCls:Fe,marginXXS:et,fontSizeIcon:lt,tableHeaderIconColor:pt,tableHeaderIconColorHover:vt}=De;return{[`${Fe}-wrapper`]:{[`${Fe}-thead th${Fe}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${De.motionDurationSlow}`,"&:hover":{background:De.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:De.colorPrimary},[`
&${Fe}-cell-fix-left:hover,
&${Fe}-cell-fix-right:hover
`]:{background:De.tableFixedHeaderSortActiveBg}},[`${Fe}-thead th${Fe}-column-sort`]:{background:De.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Fe}-column-sort`]:{background:De.tableBodySortBg},[`${Fe}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Fe}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Fe}-column-sorter`]:{marginInlineStart:et,color:pt,fontSize:0,transition:`color ${De.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:lt,"&.active":{color:De.colorPrimary}},[`${Fe}-column-sorter-up + ${Fe}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Fe}-column-sorters:hover ${Fe}-column-sorter`]:{color:vt}}}},As=De=>{const{componentCls:Fe,opacityLoading:et,tableScrollThumbBg:lt,tableScrollThumbBgHover:pt,tableScrollThumbSize:vt,tableScrollBg:xt,zIndexTableSticky:jt,stickyScrollBarBorderRadius:It}=De,Gt=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`;return{[`${Fe}-wrapper`]:{[`${Fe}-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:xt,borderTop:Gt,opacity:et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:vt,backgroundColor:lt,borderRadius:It,transition:`all ${De.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:pt}}}}}}},Bs=De=>{const{componentCls:Fe,lineWidth:et,tableBorderColor:lt}=De,pt=`${et}px ${De.lineType} ${lt}`;return{[`${Fe}-wrapper`]:{[`${Fe}-summary`]:{position:"relative",zIndex:De.zIndexTableFixed,background:De.tableBg,"> tr":{"> th, > td":{borderBottom:pt}}},[`div${Fe}-summary`]:{boxShadow:`0 -${et}px 0 ${lt}`}}}},os=De=>{const{componentCls:Fe}=De,et=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`,lt=`${Fe}-expanded-row-cell`;return{[`${Fe}-wrapper`]:{[`${Fe}-tbody-virtual`]:{[`${Fe}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Fe}-cell`]:{borderBottom:et},[`${Fe}-expanded-row`]:{[`${lt}${lt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${De.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Fe}-bordered`]:{[`${Fe}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:et,position:"absolute"},[`${Fe}-cell`]:{borderInlineEnd:et,[`&${Fe}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-De.lineWidth,borderInlineStart:et}}}}}}};const al=De=>{const{componentCls:Fe,fontWeightStrong:et,tablePaddingVertical:lt,tablePaddingHorizontal:pt,lineWidth:vt,lineType:xt,tableBorderColor:jt,tableFontSize:It,tableBg:Gt,tableRadius:tn,tableHeaderTextColor:Vt,motionDurationMid:_n,tableHeaderBg:xn,tableHeaderCellSplitColor:Ln,tableRowHoverBg:Yn,tableSelectedRowBg:Kn,tableSelectedRowHoverBg:Jn,tableFooterTextColor:Zn,tableFooterBg:or,paddingContentVerticalLG:Ir}=De,zr=`${vt}px ${xt} ${jt}`;return{[`${Fe}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ls.dF)()),{[Fe]:Object.assign(Object.assign({},(0,Ls.Wf)(De)),{fontSize:It,background:Gt,borderRadius:`${tn}px ${tn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${tn}px ${tn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Fe}-cell,
${Fe}-thead > tr > th,
${Fe}-tbody > tr > th,
${Fe}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Ir}px ${pt}px`,overflowWrap:"break-word"},[`${Fe}-title`]:{padding:`${lt}px ${pt}px`},[`${Fe}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Vt,fontWeight:et,textAlign:"start",background:xn,borderBottom:zr,transition:`background ${_n} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Fe}-selection-column):not(${Fe}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Ln,transform:"translateY(-50%)",transition:`background-color ${_n}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Fe}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${_n}, border-color ${_n}`,borderBottom:zr,[`
> ${Fe}-wrapper:only-child,
> ${Fe}-expanded-row-fixed > ${Fe}-wrapper:only-child
`]:{[Fe]:{marginBlock:`-${lt}px`,marginInline:`${De.tableExpandColumnWidth-pt}px -${pt}px`,[`${Fe}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Vt,fontWeight:et,textAlign:"start",background:xn,borderBottom:zr,transition:`background ${_n} ease`},[`
&${Fe}-row:hover > th,
&${Fe}-row:hover > td,
> th${Fe}-cell-row-hover,
> td${Fe}-cell-row-hover
`]:{background:Yn},[`&${Fe}-row-selected`]:{"> th, > td":{background:Kn},"&:hover > th, &:hover > td":{background:Jn}}}},[`${Fe}-footer`]:{padding:`${lt}px ${pt}px`,color:Zn,background:or}})}};var Di=(0,Qi.Z)("Table",De=>{const{colorTextHeading:Fe,colorSplit:et,colorIcon:lt,colorIconHover:pt,opacityLoading:vt,colorBgContainer:xt,controlInteractiveSize:jt,headerBg:It,headerColor:Gt,headerSortActiveBg:tn,headerSortHoverBg:Vt,bodySortBg:_n,rowHoverBg:xn,rowSelectedBg:Ln,rowSelectedHoverBg:Yn,rowExpandedBg:Kn,cellPaddingBlock:Jn,cellPaddingInline:Zn,cellPaddingBlockMD:or,cellPaddingInlineMD:Ir,cellPaddingBlockSM:zr,cellPaddingInlineSM:Lr,borderColor:uo,footerBg:to,footerColor:ur,headerBorderRadius:Or,cellFontSize:pr,cellFontSizeMD:Qn,cellFontSizeSM:_r,headerSplitColor:Qr,fixedHeaderSortActiveBg:Ao,headerFilterHoverBg:yo,filterDropdownBg:Vr,expandIconBg:Do,selectionColumnWidth:Ho,stickyScrollBarBg:sr}=De,Ar=new _i.C(lt),Bo=new _i.C(pt),$o=2,Dr=(0,dl.TS)(De,{tableFontSize:pr,tableBg:xt,tableRadius:Or,tablePaddingVertical:Jn,tablePaddingHorizontal:Zn,tablePaddingVerticalMiddle:or,tablePaddingHorizontalMiddle:Ir,tablePaddingVerticalSmall:zr,tablePaddingHorizontalSmall:Lr,tableBorderColor:uo,tableHeaderTextColor:Gt,tableHeaderBg:It,tableFooterTextColor:ur,tableFooterBg:to,tableHeaderCellSplitColor:Qr,tableHeaderSortBg:tn,tableHeaderSortHoverBg:Vt,tableHeaderIconColor:Ar.clone().setAlpha(Ar.getAlpha()*vt).toRgbString(),tableHeaderIconColorHover:Bo.clone().setAlpha(Bo.getAlpha()*vt).toRgbString(),tableBodySortBg:_n,tableFixedHeaderSortActiveBg:Ao,tableHeaderFilterActiveBg:yo,tableFilterDropdownBg:Vr,tableRowHoverBg:xn,tableSelectedRowBg:Ln,tableSelectedRowHoverBg:Yn,zIndexTableFixed:$o,zIndexTableSticky:$o+1,tableFontSizeMiddle:Qn,tableFontSizeSmall:_r,tableSelectionColumnWidth:Ho,tableExpandIconBg:Do,tableExpandColumnWidth:jt+2*De.padding,tableExpandedRowBg:Kn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:sr,tableScrollThumbBgHover:Fe,tableScrollBg:et});return[al(Dr),Vs(Dr),Bs(Dr),ps(Dr),si(Dr),Ns(Dr),Xs(Dr),Zs(Dr),Bs(Dr),gs(Dr),Ys(Dr),rs(Dr),As(Dr),Cs(Dr),rl(Dr),Ds(Dr),os(Dr)]},De=>{const{colorFillAlter:Fe,colorBgContainer:et,colorTextHeading:lt,colorFillSecondary:pt,colorFillContent:vt,controlItemBgActive:xt,controlItemBgActiveHover:jt,padding:It,paddingSM:Gt,paddingXS:tn,colorBorderSecondary:Vt,borderRadiusLG:_n,fontSize:xn,controlHeight:Ln,colorTextPlaceholder:Yn}=De,Kn=new _i.C(pt).onBackground(et).toHexShortString(),Jn=new _i.C(vt).onBackground(et).toHexShortString(),Zn=new _i.C(Fe).onBackground(et).toHexShortString();return{headerBg:Zn,headerColor:lt,headerSortActiveBg:Kn,headerSortHoverBg:Jn,bodySortBg:Zn,rowHoverBg:Zn,rowSelectedBg:xt,rowSelectedHoverBg:jt,rowExpandedBg:Fe,cellPaddingBlock:It,cellPaddingInline:It,cellPaddingBlockMD:Gt,cellPaddingInlineMD:tn,cellPaddingBlockSM:tn,cellPaddingInlineSM:tn,borderColor:Vt,headerBorderRadius:_n,footerBg:Zn,footerColor:lt,cellFontSize:xn,cellFontSizeMD:xn,cellFontSizeSM:xn,headerSplitColor:Vt,fixedHeaderSortActiveBg:Kn,headerFilterHoverBg:vt,filterDropdownMenuBg:et,filterDropdownBg:et,expandIconBg:et,selectionColumnWidth:Ln,stickyScrollBarBg:Yn,stickyScrollBarBorderRadius:100}});const Rs=[],il=(De,Fe)=>{const{prefixCls:et,className:lt,rootClassName:pt,style:vt,size:xt,bordered:jt,dropdownPrefixCls:It,dataSource:Gt,pagination:tn,rowSelection:Vt,rowKey:_n="key",rowClassName:xn,columns:Ln,children:Yn,childrenColumnName:Kn,onChange:Jn,getPopupContainer:Zn,loading:or,expandIcon:Ir,expandable:zr,expandedRowRender:Lr,expandIconColumnIndex:uo,indentSize:to,scroll:ur,sortDirections:Or,locale:pr,showSorterTooltip:Qn=!0,virtual:_r}=De,Qr=re.useMemo(()=>Ln||On(Yn),[Ln,Yn]),Ao=re.useMemo(()=>Qr.some(aa=>aa.responsive),[Qr]),yo=(0,Qa.Z)(Ao),Vr=re.useMemo(()=>{const aa=new Set(Object.keys(yo).filter(Ba=>yo[Ba]));return Qr.filter(Ba=>!Ba.responsive||Ba.responsive.some(Pi=>aa.has(Pi)))},[Qr,yo]),Do=(0,Pr.Z)(De,["className","style","columns"]),{locale:Ho=ha.Z,direction:sr,table:Ar,renderEmpty:Bo,getPrefixCls:$o,getPopupContainer:Dr}=re.useContext(hi.E_),$a=(0,ya.Z)(xt),ea=Object.assign(Object.assign({},Ho.Table),pr),ka=Gt||Rs,Ea=$o("table",et),ki=$o("dropdown",It),fo=Object.assign({childrenColumnName:Kn,expandIconColumnIndex:uo},zr),{childrenColumnName:io="children"}=fo,no=re.useMemo(()=>ka.some(aa=>aa==null?void 0:aa[io])?"nest":Lr||zr&&zr.expandedRowRender?"row":null,[ka]),Wr={body:re.useRef()},la=re.useMemo(()=>typeof _n=="function"?_n:aa=>aa==null?void 0:aa[_n],[_n]),[Kr]=Na(ka,io,la),wo={},oa=function(aa,Ba){let Pi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ja,Li,Ui;const Hi=Object.assign(Object.assign({},wo),aa);Pi&&((Ja=wo.resetPagination)===null||Ja===void 0||Ja.call(wo),!((Li=Hi.pagination)===null||Li===void 0)&&Li.current&&(Hi.pagination.current=1),tn&&tn.onChange&&tn.onChange(1,(Ui=Hi.pagination)===null||Ui===void 0?void 0:Ui.pageSize)),ur&&ur.scrollToFirstRowOnChange!==!1&&Wr.body.current&&(0,Za.Z)(0,{getContainer:()=>Wr.body.current}),Jn==null||Jn(Hi.pagination,Hi.filters,Hi.sorter,{currentDataSource:Yo(fs(ka,Hi.sorterStates,io),Hi.filterStates),action:Ba})},ta=(aa,Ba)=>{oa({sorter:aa,sorterStates:Ba},"sort",!1)},[xi,Si,ms,li]=ul({prefixCls:Ea,mergedColumns:Vr,onSorterChange:ta,sortDirections:Or||["ascend","descend"],tableLocale:ea,showSorterTooltip:Qn}),as=re.useMemo(()=>fs(ka,Si,io),[ka,Si]);wo.sorter=li(),wo.sorterStates=Si;const ci=(aa,Ba)=>{oa({filters:aa,filterStates:Ba},"filter",!0)},[Fi,Js,va]=$r({prefixCls:Ea,locale:ea,dropdownPrefixCls:ki,mergedColumns:Vr,onFilterChange:ci,getPopupContainer:Zn||Dr}),Pa=Yo(as,Js);wo.filters=va,wo.filterStates=Js;const Xa=re.useMemo(()=>{const aa={};return Object.keys(va).forEach(Ba=>{va[Ba]!==null&&(aa[Ba]=va[Ba])}),Object.assign(Object.assign({},ms),{filters:aa})},[ms,va]),[di]=Yi(Xa),fi=(aa,Ba)=>{oa({pagination:Object.assign(Object.assign({},wo.pagination),{current:aa,pageSize:Ba})},"paginate")},[Jo,Ai]=ra(Pa.length,fi,tn);wo.pagination=tn===!1?{}:ii(Jo,tn),wo.resetPagination=Ai;const Ti=re.useMemo(()=>{if(tn===!1||!Jo.pageSize)return Pa;const{current:aa=1,total:Ba,pageSize:Pi=Ha}=Jo;return Pa.length<Ba?Pa.length>Pi?Pa.slice((aa-1)*Pi,aa*Pi):Pa:Pa.slice((aa-1)*Pi,aa*Pi)},[!!tn,Pa,Jo&&Jo.current,Jo&&Jo.pageSize,Jo&&Jo.total]),[Zi,Es]=ji({prefixCls:Ea,data:Pa,pageData:Ti,getRowKey:la,getRecordByKey:Kr,expandType:no,childrenColumnName:io,locale:ea,getPopupContainer:Zn||Dr},Vt),vs=(aa,Ba,Pi)=>{let Ja;return typeof xn=="function"?Ja=Ee()(xn(aa,Ba,Pi)):Ja=Ee()(xn),Ee()({[`${Ea}-row-selected`]:Es.has(la(aa,Ba))},Ja)};fo.__PARENT_RENDER_ICON__=fo.expandIcon,fo.expandIcon=fo.expandIcon||Ir||fa(ea),no==="nest"&&fo.expandIconColumnIndex===void 0?fo.expandIconColumnIndex=Vt?1:0:fo.expandIconColumnIndex>0&&Vt&&(fo.expandIconColumnIndex-=1),typeof fo.indentSize!="number"&&(fo.indentSize=typeof to=="number"?to:15);const ml=re.useCallback(aa=>di(Zi(Fi(xi(aa)))),[xi,Fi,Zi]);let Is,is;if(tn!==!1&&(Jo!=null&&Jo.total)){let aa;Jo.size?aa=Jo.size:aa=$a==="small"||$a==="middle"?"small":void 0;const Ba=Li=>re.createElement(ua.Z,Object.assign({},Jo,{className:Ee()(`${Ea}-pagination ${Ea}-pagination-${Li}`,Jo.className),size:aa})),Pi=sr==="rtl"?"left":"right",{position:Ja}=Jo;if(Ja!==null&&Array.isArray(Ja)){const Li=Ja.find(js=>js.includes("top")),Ui=Ja.find(js=>js.includes("bottom")),Hi=Ja.every(js=>`${js}`=="none");!Li&&!Ui&&!Hi&&(is=Ba(Pi)),Li&&(Is=Ba(Li.toLowerCase().replace("top",""))),Ui&&(is=Ba(Ui.toLowerCase().replace("bottom","")))}else is=Ba(Pi)}let Bi;typeof or=="boolean"?Bi={spinning:or}:typeof or=="object"&&(Bi=Object.assign({spinning:!0},or));const[Ri,gi]=Di(Ea),[,Ya]=(0,ai.Z)(),_s=Ee()(`${Ea}-wrapper`,Ar==null?void 0:Ar.className,{[`${Ea}-wrapper-rtl`]:sr==="rtl"},lt,pt,gi),Qs=Object.assign(Object.assign({},Ar==null?void 0:Ar.style),vt),Us=pr&&pr.emptyText||(Bo==null?void 0:Bo("Table"))||re.createElement(sa.Z,{componentName:"Table"}),xs=_r?Ji:el,Sl={},Cl=re.useMemo(()=>{const{fontSize:aa,lineHeight:Ba,padding:Pi,paddingXS:Ja,paddingSM:Li}=Ya,Ui=Math.floor(aa*Ba);switch($a){case"large":return Pi*2+Ui;case"small":return Ja*2+Ui;default:return Li*2+Ui}},[Ya,$a]);return _r&&(Sl.listItemHeight=Cl),Ri(re.createElement("div",{ref:Fe,className:_s,style:Qs},re.createElement(Oa.Z,Object.assign({spinning:!1},Bi),Is,re.createElement(xs,Object.assign({},Sl,Do,{columns:Vr,direction:sr,expandable:fo,prefixCls:Ea,className:Ee()({[`${Ea}-middle`]:$a==="middle",[`${Ea}-small`]:$a==="small",[`${Ea}-bordered`]:jt,[`${Ea}-empty`]:ka.length===0}),data:Ti,rowKey:la,rowClassName:vs,emptyText:Us,internalHooks:_e,internalRefs:Wr,transformColumns:ml})),is)))};var pl=re.forwardRef(il);const sl=(De,Fe)=>{const et=re.useRef(0);return et.current+=1,re.createElement(pl,Object.assign({},De,{ref:Fe,_renderTimes:et.current}))},Ki=re.forwardRef(sl);Ki.SELECTION_COLUMN=Oo,Ki.EXPAND_COLUMN=be,Ki.SELECTION_ALL=ei,Ki.SELECTION_INVERT=pa,Ki.SELECTION_NONE=ri,Ki.Column=ja,Ki.ColumnGroup=Xo,Ki.Summary=ot;var Ms=Ki,ll=Ms},79753:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return po}});var be=me(67294),_e=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),ce=me(80334),ae=me(42550),oe=be.createContext(null),ne=oe,z=me(74902),a=me(8410),y=[];function x(Pn,dn){var Bn=be.useState(function(){if(!(0,le.Z)())return null;var Gn=document.createElement("div");return Gn}),Rn=(0,se.Z)(Bn,1),Un=Rn[0],tr=be.useRef(!1),gr=be.useContext(ne),Br=be.useState(y),dr=(0,se.Z)(Br,2),Xn=dr[0],Rt=dr[1],Mt=gr||(tr.current?void 0:function(Gn){Rt(function(Wn){var mr=[Gn].concat((0,z.Z)(Wn));return mr})});function Lt(){Un.parentElement||document.body.appendChild(Un),tr.current=!0}function In(){var Gn;(Gn=Un.parentElement)===null||Gn===void 0||Gn.removeChild(Un),tr.current=!1}return(0,a.Z)(function(){return Pn?gr?gr(Lt):Lt():In(),In},[Pn]),(0,a.Z)(function(){Xn.length&&(Xn.forEach(function(Gn){return Gn()}),Rt(y))},[Xn]),[Un,Mt]}var b=me(48981),ee=me(74204);function te(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ue="rc-util-locker-".concat(Date.now()),de=0;function ge(Pn){var dn=!!Pn,Bn=be.useState(function(){return de+=1,"".concat(ue,"_").concat(de)}),Rn=(0,se.Z)(Bn,1),Un=Rn[0];(0,a.Z)(function(){if(dn){var tr=(0,ee.o)(document.body).width,gr=te();(0,b.hq)(`
html body {
overflow-y: hidden;
`.concat(gr?"width: calc(100% - ".concat(tr,"px);"):"",`
}`),Un)}else(0,b.jL)(Un);return function(){(0,b.jL)(Un)}},[dn,Un])}var ve=!1;function pe(Pn){return typeof Pn=="boolean"&&(ve=Pn),ve}var Se=function(dn){return dn===!1?!1:!(0,le.Z)()||!dn?null:typeof dn=="string"?document.querySelector(dn):typeof dn=="function"?dn():dn},ye=be.forwardRef(function(Pn,dn){var Bn=Pn.open,Rn=Pn.autoLock,Un=Pn.getContainer,tr=Pn.debug,gr=Pn.autoDestroy,Br=gr===void 0?!0:gr,dr=Pn.children,Xn=be.useState(Bn),Rt=(0,se.Z)(Xn,2),Mt=Rt[0],Lt=Rt[1],In=Mt||Bn;be.useEffect(function(){(Br||Bn)&&Lt(Bn)},[Bn,Br]);var Gn=be.useState(function(){return Se(Un)}),Wn=(0,se.Z)(Gn,2),mr=Wn[0],wr=Wn[1];be.useEffect(function(){var ho=Se(Un);wr(ho!=null?ho:null)});var Rr=x(In&&!mr,tr),qr=(0,se.Z)(Rr,2),mo=qr[0],Tn=qr[1],Ur=mr!=null?mr:mo;ge(Rn&&Bn&&(0,le.Z)()&&(Ur===mo||Ur===document.body));var bo=null;if(dr&&(0,ae.Yr)(dr)&&dn){var ca=dr;bo=ca.ref}var Ko=(0,ae.x1)(bo,dn);if(!In||!(0,le.Z)()||mr===void 0)return null;var jo=Ur===!1||pe(),ia=dr;return dn&&(ia=be.cloneElement(dr,{ref:Ko})),be.createElement(ne.Provider,{value:Tn},jo?ia:(0,ie.createPortal)(ia,Ur))}),Pe=ye,we=Pe,xe=me(62709),Ee=me(94184),Te=me.n(Ee),Ce=me(21770),Oe=me(66680);function Me(Pn){var dn=window.innerWidth||document.documentElement.clientWidth,Bn=window.innerHeight||document.documentElement.clientHeight,Rn=Pn.getBoundingClientRect(),Un=Rn.top,tr=Rn.right,gr=Rn.bottom,Br=Rn.left;return Un>=0&&Br>=0&&tr<=dn&&gr<=Bn}function Ue(Pn,dn,Bn){var Rn;return(Rn=Bn!=null?Bn:dn)!==null&&Rn!==void 0?Rn:Pn===null?"center":"bottom"}function je(Pn,dn,Bn,Rn){var Un=(0,be.useState)(void 0),tr=(0,se.Z)(Un,2),gr=tr[0],Br=tr[1];(0,a.Z)(function(){var Wn=typeof Pn=="function"?Pn():Pn;Br(Wn||null)});var dr=(0,be.useState)(null),Xn=(0,se.Z)(dr,2),Rt=Xn[0],Mt=Xn[1],Lt=(0,Oe.Z)(function(){if(gr){!Me(gr)&&dn&&gr.scrollIntoView(Rn);var Wn=gr.getBoundingClientRect(),mr=Wn.left,wr=Wn.top,Rr=Wn.width,qr=Wn.height,mo={left:mr,top:wr,width:Rr,height:qr,radius:0};Mt(function(Tn){return JSON.stringify(Tn)!==JSON.stringify(mo)?mo:Tn})}else Mt(null)}),In=function(mr){var wr;return(wr=Array.isArray(Bn==null?void 0:Bn.offset)?Bn==null?void 0:Bn.offset[mr]:Bn==null?void 0:Bn.offset)!==null&&wr!==void 0?wr:6};(0,a.Z)(function(){return Lt(),window.addEventListener("resize",Lt),function(){window.removeEventListener("resize",Lt)}},[gr,dn,Lt]);var Gn=(0,be.useMemo)(function(){if(!Rt)return Rt;var Wn=In(0),mr=In(1),wr=(Bn==null?void 0:Bn.radius)||2;return{left:Rt.left-Wn,top:Rt.top-mr,width:Rt.width+Wn*2,height:Rt.height+mr*2,radius:wr}},[Rt,Bn]);return[Gn,gr]}function nt(){var Pn=(0,E.Z)({},_e);return Pn.useId}var Ye=0;function Qe(){}function Xe(Pn){var dn=be.useState("ssr-id"),Bn=(0,se.Z)(dn,2),Rn=Bn[0],Un=Bn[1],tr=nt(),gr=tr==null?void 0:tr();return be.useEffect(function(){if(!tr){var Br=Ye;Ye+=1,Un("rc_unique_".concat(Br))}},[]),Pn||gr||Rn}var ze={fill:"transparent",pointerEvents:"auto"},ke=function(dn){var Bn=dn.prefixCls,Rn=dn.rootClassName,Un=dn.pos,tr=dn.showMask,gr=dn.style,Br=gr===void 0?{}:gr,dr=dn.fill,Xn=dr===void 0?"rgba(0,0,0,0.5)":dr,Rt=dn.open,Mt=dn.animated,Lt=dn.zIndex,In=Xe(),Gn="".concat(Bn,"-mask-").concat(In),Wn=(0,fe.Z)(Mt)==="object"?Mt==null?void 0:Mt.placeholder:Mt;return be.createElement(we,{open:Rt,autoLock:!0},be.createElement("div",{className:Te()("".concat(Bn,"-mask"),Rn),style:(0,E.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Lt,pointerEvents:"none"},Br)},tr?be.createElement("svg",{style:{width:"100%",height:"100%"}},be.createElement("defs",null,be.createElement("mask",{id:Gn},be.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),Un&&be.createElement("rect",{x:Un.left,y:Un.top,rx:Un.radius,width:Un.width,height:Un.height,fill:"black",className:Wn?"".concat(Bn,"-placeholder-animated"):""}))),be.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:Xn,mask:"url(#".concat(Gn,")")}),Un&&be.createElement(be.Fragment,null,be.createElement("rect",(0,he.Z)({},ze,{x:"0",y:"0",width:"100%",height:Un.top})),be.createElement("rect",(0,he.Z)({},ze,{x:"0",y:"0",width:Un.left,height:"100%"})),be.createElement("rect",(0,he.Z)({},ze,{x:"0",y:Un.top+Un.height,width:"100%",height:"calc(100vh - ".concat(Un.top+Un.height,"px)")})),be.createElement("rect",(0,he.Z)({},ze,{x:Un.left+Un.width,y:"0",width:"calc(100vw - ".concat(Un.left+Un.width,"px)"),height:"100%"})))):null))},Be=ke,qe={adjustX:1,adjustY:1},Je=[0,0],gt={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 Pn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,dn={};return Object.keys(gt).forEach(function(Bn){dn[Bn]=(0,E.Z)((0,E.Z)({},gt[Bn]),{},{autoArrow:Pn,targetOffset:Je})}),dn}var $e=We();function Re(Pn){var dn=Pn.prefixCls,Bn=Pn.current,Rn=Pn.total,Un=Pn.title,tr=Pn.description,gr=Pn.onClose,Br=Pn.onPrev,dr=Pn.onNext,Xn=Pn.onFinish,Rt=Pn.className,Mt=Pn.closeIcon,Lt=Mt!==!1&&Mt!==null,In=Mt!==void 0&&Mt!==!0?Mt:be.createElement("span",{className:"".concat(dn,"-close-x")},"\xD7");return be.createElement("div",{className:Te()("".concat(dn,"-content"),Rt)},be.createElement("div",{className:"".concat(dn,"-inner")},Lt&&be.createElement("button",{type:"button",onClick:gr,"aria-label":"Close",className:"".concat(dn,"-close")},In),be.createElement("div",{className:"".concat(dn,"-header")},be.createElement("div",{className:"".concat(dn,"-title")},Un)),be.createElement("div",{className:"".concat(dn,"-description")},tr),be.createElement("div",{className:"".concat(dn,"-footer")},be.createElement("div",{className:"".concat(dn,"-sliders")},Rn>1?(0,z.Z)(Array.from({length:Rn}).keys()).map(function(Gn,Wn){return be.createElement("span",{key:Gn,className:Wn===Bn?"active":""})}):null),be.createElement("div",{className:"".concat(dn,"-buttons")},Bn!==0?be.createElement("button",{className:"".concat(dn,"-prev-btn"),onClick:Br},"Prev"):null,Bn===Rn-1?be.createElement("button",{className:"".concat(dn,"-finish-btn"),onClick:Xn},"Finish"):be.createElement("button",{className:"".concat(dn,"-next-btn"),onClick:dr},"Next")))))}var tt=function(dn){var Bn=dn.current,Rn=dn.renderPanel;return be.createElement(be.Fragment,null,typeof Rn=="function"?Rn(dn,Bn):be.createElement(Re,dn))},Ie=tt,He=["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(dn){var Bn=dn.prefixCls,Rn=Bn===void 0?"rc-tour":Bn,Un=dn.steps,tr=Un===void 0?[]:Un,gr=dn.defaultCurrent,Br=dn.current,dr=dn.onChange,Xn=dn.onClose,Rt=dn.onFinish,Mt=dn.open,Lt=dn.mask,In=Lt===void 0?!0:Lt,Gn=dn.arrow,Wn=Gn===void 0?!0:Gn,mr=dn.rootClassName,wr=dn.placement,Rr=dn.renderPanel,qr=dn.gap,mo=dn.animated,Tn=dn.scrollIntoViewOptions,Ur=Tn===void 0?!0:Tn,bo=dn.zIndex,ca=bo===void 0?1001:bo,Ko=dn.closeIcon,jo=(0,re.Z)(dn,He),ia=be.useRef(),ho=(0,Ce.Z)(0,{value:Br,defaultValue:gr}),Dt=(0,se.Z)(ho,2),nn=Dt[0],rn=Dt[1],mn=(0,Ce.Z)(void 0,{value:Mt,postState:function(Ro){return nn<0||nn>=tr.length?!1:Ro!=null?Ro:!0}}),zn=(0,se.Z)(mn,2),Sn=zn[0],Nn=zn[1],_t=be.useRef(Sn);(0,a.Z)(function(){Sn&&!_t.current&&rn(0),_t.current=Sn},[Sn]);var yr=tr[nn]||{},Cr=yr.target,hr=yr.placement,So=yr.style,wn=yr.arrow,qn=yr.className,jr=yr.mask,ar=yr.scrollIntoViewOptions,Po=yr.closeIcon,so=Sn&&(jr!=null?jr:In),zo=Po!=null?Po:Ko,Zo=ar!=null?ar:Ur,Vo=je(Cr,Mt,qr,Zo),Ct=(0,se.Z)(Vo,2),Et=Ct[0],Wt=Ct[1],gn=Ue(Wt,wr,hr),On=Wt?typeof wn=="undefined"?Wn:wn:!1,lr=(0,fe.Z)(On)==="object"?On.pointAtCenter:!1;(0,a.Z)(function(){var Co;(Co=ia.current)===null||Co===void 0||Co.forceAlign()},[lr,nn]);var Sr=function(Ro){rn(Ro),dr==null||dr(Ro)};if(Wt===void 0)return null;var Tr=function(){Nn(!1),Xn==null||Xn(nn)},Xr=function(){return be.createElement(Ie,(0,he.Z)({arrow:On,key:"content",prefixCls:Rn,total:tr.length,renderPanel:Rr,onPrev:function(){Sr(nn-1)},onNext:function(){Sr(nn+1)},onClose:Tr,current:nn,onFinish:function(){Tr(),Rt==null||Rt()},closeIcon:zo},tr[nn]))},lo=typeof so=="boolean"?so:!!so,Yr=typeof so=="boolean"?void 0:so,ao=function(Ro){return Ro||Wt||document.body};return be.createElement(be.Fragment,null,be.createElement(Be,{zIndex:ca,prefixCls:Rn,pos:Et,showMask:lo,style:Yr==null?void 0:Yr.style,fill:Yr==null?void 0:Yr.color,open:Sn,animated:mo,rootClassName:mr}),be.createElement(xe.Z,(0,he.Z)({builtinPlacements:We(lr)},jo,{ref:ia,popupStyle:So,popupPlacement:gn,popupVisible:Sn,popupClassName:Te()(mr,qn),prefixCls:Rn,popup:Xr,forceRender:!1,destroyPopupOnHide:!0,zIndex:ca,getTriggerDOMNode:ao,arrow:!!On}),be.createElement(we,{open:Sn,autoLock:!0},be.createElement("div",{className:Te()(mr,"".concat(Rn,"-target-placeholder")),style:(0,E.Z)((0,E.Z)({},Et||Ve),{},{position:"fixed",pointerEvents:"none"})}))))},Ke=Ze,Ae=Ke,Le=me(80636),Ne=me(53124),Ge=me(46605),rt=me(85846),St=me(71577),Pt=me(10110),At=me(24457),bn=me(69760);function $t(Pn){return Pn!=null}var st=Pn=>{let{stepProps:dn,current:Bn,type:Rn,indicatorsRender:Un,closeIcon:tr}=Pn;var gr,Br;const{prefixCls:dr,total:Xn=1,title:Rt,onClose:Mt,onPrev:Lt,onNext:In,onFinish:Gn,cover:Wn,description:mr,nextButtonProps:wr,prevButtonProps:Rr,type:qr,className:mo,closeIcon:Tn}=dn,Ur=qr!=null?qr:Rn,bo=Tn!=null?Tn:tr,ca=bo!==!1&&bo!==null,[Ko,jo]=(0,bn.Z)(ca,bo,yr=>be.createElement("span",{onClick:Mt,"aria-label":"Close",className:`${dr}-close`},yr),be.createElement(rt.Z,{className:`${dr}-close-icon`}),!0),ia=Bn===Xn-1,ho=()=>{var yr;Lt==null||Lt(),(yr=Rr==null?void 0:Rr.onClick)===null||yr===void 0||yr.call(Rr)},Dt=()=>{var yr;ia?Gn==null||Gn():In==null||In(),(yr=wr==null?void 0:wr.onClick)===null||yr===void 0||yr.call(wr)},nn=$t(Rt)?be.createElement("div",{className:`${dr}-header`},be.createElement("div",{className:`${dr}-title`},Rt)):null,rn=$t(mr)?be.createElement("div",{className:`${dr}-description`},mr):null,mn=$t(Wn)?be.createElement("div",{className:`${dr}-cover`},Wn):null;let zn;Un?zn=Un(Bn,Xn):zn=(0,z.Z)(Array.from({length:Xn}).keys()).map((yr,Cr)=>be.createElement("span",{key:yr,className:Te()(Cr===Bn&&`${dr}-indicator-active`,`${dr}-indicator`)}));const Sn=Ur==="primary"?"default":"primary",Nn={type:"default",ghost:Ur==="primary"},[_t]=(0,Pt.Z)("Tour",At.Z.Tour);return be.createElement("div",{className:Te()(mo,`${dr}-content`)},be.createElement("div",{className:`${dr}-inner`},Ko&&jo,mn,nn,rn,be.createElement("div",{className:`${dr}-footer`},Xn>1&&be.createElement("div",{className:`${dr}-indicators`},zn),be.createElement("div",{className:`${dr}-buttons`},Bn!==0?be.createElement(St.ZP,Object.assign({},Nn,Rr,{onClick:ho,size:"small",className:Te()(`${dr}-prev-btn`,Rr==null?void 0:Rr.className)}),(gr=Rr==null?void 0:Rr.children)!==null&&gr!==void 0?gr:_t==null?void 0:_t.Previous):null,be.createElement(St.ZP,Object.assign({type:Sn},wr,{onClick:Dt,size:"small",className:Te()(`${dr}-next-btn`,wr==null?void 0:wr.className)}),(Br=wr==null?void 0:wr.children)!==null&&Br!==void 0?Br:ia?_t==null?void 0:_t.Finish:_t==null?void 0:_t.Next)))))},zt=me(66330),ot=me(84780),at=me(14747),bt=me(97414),Ft=me(67968),kt=me(45503);const un=Pn=>{const{componentCls:dn,lineHeight:Bn,padding:Rn,paddingXS:Un,borderRadius:tr,borderRadiusXS:gr,colorPrimary:Br,colorText:dr,colorFill:Xn,indicatorHeight:Rt,indicatorWidth:Mt,boxShadowTertiary:Lt,tourZIndexPopup:In,fontSize:Gn,colorBgElevated:Wn,fontWeightStrong:mr,marginXS:wr,colorTextLightSolid:Rr,tourBorderRadius:qr,colorWhite:mo,colorBgTextHover:Tn,tourCloseSize:Ur,motionDurationSlow:bo,antCls:ca}=Pn;return[{[dn]:Object.assign(Object.assign({},(0,at.Wf)(Pn)),{color:dr,position:"absolute",zIndex:In,display:"block",visibility:"visible",fontSize:Gn,lineHeight:Bn,width:520,"--antd-arrow-background-color":Wn,"&-pure":{maxWidth:"100%",position:"relative"},[`&${dn}-hidden`]:{display:"none"},[`${dn}-content`]:{position:"relative"},[`${dn}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:qr,boxShadow:Lt,position:"relative",backgroundColor:Wn,border:"none",backgroundClip:"padding-box",[`${dn}-close`]:{position:"absolute",top:Rn,insetInlineEnd:Rn,color:Pn.colorIcon,outline:"none",width:Ur,height:Ur,borderRadius:Pn.borderRadiusSM,transition:`background-color ${Pn.motionDurationMid}, color ${Pn.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:Pn.colorIconHover,backgroundColor:Pn.wireframe?"transparent":Pn.colorFillContent}},[`${dn}-cover`]:{textAlign:"center",padding:`${Rn+Ur+Un}px ${Rn}px 0`,img:{width:"100%"}},[`${dn}-header`]:{padding:`${Rn}px ${Rn}px ${Un}px`,[`${dn}-title`]:{lineHeight:Bn,fontSize:Gn,fontWeight:mr}},[`${dn}-description`]:{padding:`0 ${Rn}px`,lineHeight:Bn,wordWrap:"break-word"},[`${dn}-footer`]:{padding:`${Un}px ${Rn}px ${Rn}px`,textAlign:"end",borderRadius:`0 0 ${gr}px ${gr}px`,display:"flex",[`${dn}-indicators`]:{display:"inline-block",[`${dn}-indicator`]:{width:Mt,height:Rt,display:"inline-block",borderRadius:"50%",background:Xn,"&:not(:last-child)":{marginInlineEnd:Rt},"&-active":{background:Br}}},[`${dn}-buttons`]:{marginInlineStart:"auto",[`${ca}-btn`]:{marginInlineStart:wr}}}},[`${dn}-primary, &${dn}-primary`]:{"--antd-arrow-background-color":Br,[`${dn}-inner`]:{color:Rr,textAlign:"start",textDecoration:"none",backgroundColor:Br,borderRadius:tr,boxShadow:Lt,[`${dn}-close`]:{color:Rr},[`${dn}-indicators`]:{[`${dn}-indicator`]:{background:new ot.C(Rr).setAlpha(.15).toRgbString(),"&-active":{background:Rr}}},[`${dn}-prev-btn`]:{color:Rr,borderColor:new ot.C(Rr).setAlpha(.15).toRgbString(),backgroundColor:Br,"&:hover":{backgroundColor:new ot.C(Rr).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${dn}-next-btn`]:{color:Br,borderColor:"transparent",background:mo,"&:hover":{background:new ot.C(Tn).onBackground(mo).toRgbString()}}}}}),[`${dn}-mask`]:{[`${dn}-placeholder-animated`]:{transition:`all ${bo}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${dn}-inner`]:{borderRadius:Math.min(qr,bt.qN)}}},(0,bt.ZP)(Pn,{colorBg:"var(--antd-arrow-background-color)",contentRadius:qr,limitVerticalRadius:!0})]};var fn=(0,Ft.Z)("Tour",Pn=>{const{borderRadiusLG:dn,fontSize:Bn,lineHeight:Rn}=Pn,Un=(0,kt.TS)(Pn,{tourZIndexPopup:Pn.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:dn,tourCloseSize:Bn*Rn});return[un(Un)]}),vn=me(8745),An=function(Pn,dn){var Bn={};for(var Rn in Pn)Object.prototype.hasOwnProperty.call(Pn,Rn)&&dn.indexOf(Rn)<0&&(Bn[Rn]=Pn[Rn]);if(Pn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Un=0,Rn=Object.getOwnPropertySymbols(Pn);Un<Rn.length;Un++)dn.indexOf(Rn[Un])<0&&Object.prototype.propertyIsEnumerable.call(Pn,Rn[Un])&&(Bn[Rn[Un]]=Pn[Rn[Un]]);return Bn};const vr=Pn=>{const{prefixCls:dn,current:Bn=0,total:Rn=6,className:Un,style:tr,type:gr}=Pn,Br=An(Pn,["prefixCls","current","total","className","style","type"]),{getPrefixCls:dr}=be.useContext(Ne.E_),Xn=dr("tour",dn),[Rt,Mt]=fn(Xn);return Rt(be.createElement(zt.t5,{prefixCls:Xn,hashId:Mt,className:Te()(Un,`${Xn}-pure`,gr&&`${Xn}-${gr}`),style:tr},be.createElement(st,{stepProps:Object.assign(Object.assign({},Br),{prefixCls:Xn,total:Rn}),current:Bn,type:gr})))};var yn=(0,vn.i)(vr),cr=me(5663),Gr=Pn=>{let{defaultType:dn,steps:Bn=[],current:Rn,defaultCurrent:Un}=Pn;var tr;const[gr,Br]=(0,cr.Z)(Un,{value:Rn});(0,be.useLayoutEffect)(()=>{Rn!==void 0&&Br(Rn)},[Rn]);const dr=typeof gr=="number"?(tr=Bn[gr])===null||tr===void 0?void 0:tr.type:dn;return{currentMergedType:dr!=null?dr:dn,updateInnerCurrent:Br}},ro=function(Pn,dn){var Bn={};for(var Rn in Pn)Object.prototype.hasOwnProperty.call(Pn,Rn)&&dn.indexOf(Rn)<0&&(Bn[Rn]=Pn[Rn]);if(Pn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Un=0,Rn=Object.getOwnPropertySymbols(Pn);Un<Rn.length;Un++)dn.indexOf(Rn[Un])<0&&Object.prototype.propertyIsEnumerable.call(Pn,Rn[Un])&&(Bn[Rn[Un]]=Pn[Rn[Un]]);return Bn};const oo=Pn=>{const{prefixCls:dn,current:Bn,defaultCurrent:Rn,type:Un,rootClassName:tr,indicatorsRender:gr,steps:Br}=Pn,dr=ro(Pn,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:Xn,direction:Rt}=(0,be.useContext)(Ne.E_),Mt=Xn("tour",dn),[Lt,In]=fn(Mt),[,Gn]=(0,Ge.Z)(),{currentMergedType:Wn,updateInnerCurrent:mr}=Gr({defaultType:Un,steps:Br,current:Bn,defaultCurrent:Rn}),wr=(0,Le.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:Gn.marginXXS,arrowWidth:Gn.sizePopupArrow,borderRadius:Gn.borderRadius}),Rr=Te()({[`${Mt}-primary`]:Wn==="primary",[`${Mt}-rtl`]:Rt==="rtl"},In,tr),qr=(Tn,Ur)=>be.createElement(st,{type:Un,stepProps:Tn,current:Ur,indicatorsRender:gr}),mo=Tn=>{var Ur;mr(Tn),(Ur=Pn.onChange)===null||Ur===void 0||Ur.call(Pn,Tn)};return Lt(be.createElement(Ae,Object.assign({},dr,{rootClassName:Rr,prefixCls:Mt,current:Bn,defaultCurrent:Rn,animated:!0,renderPanel:qr,builtinPlacements:wr,onChange:mo,steps:Br})))};oo._InternalPanelDoNotUseOrYouWillBeFired=yn;var po=oo},86132:function(Tt,ht,me){"use strict";me.d(ht,{default:function(){return Hr}});var be=me(87462),_e=me(4942),E=me(71002),he=me(1413),fe=me(74902),se=me(15671),re=me(43144),ie=me(97326),le=me(60136),ce=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(Ut){var Zt=Ut.keyCode;if(Ut.altKey&&!Ut.ctrlKey||Ut.metaKey||Zt>=ne.F1&&Zt<=ne.F12)return!1;switch(Zt){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(Ut){if(Ut>=ne.ZERO&&Ut<=ne.NINE||Ut>=ne.NUM_ZERO&&Ut<=ne.NUM_MULTIPLY||Ut>=ne.A&&Ut<=ne.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Ut===0)return!0;switch(Ut){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(Ot){var Ut=Ot.dropPosition,Zt=Ot.dropLevelOffset,dt=Ot.indent,on={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ut){case-1:on.top=0,on.left=-Zt*dt;break;case 1:on.bottom=0,on.left=-Zt*dt;break;case 0:on.bottom=0,on.left=dt;break}return x.createElement("div",{style:on})}var te=me(36459),ue=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(Ut,Zt){var dt=React.useRef(!0);ve(function(){if(!dt.current)return Ut()},Zt),ve(function(){return dt.current=!1,function(){dt.current=!0}},[])},ye=me(73299),Pe=me(73935);function we(Ot){return Ot instanceof HTMLElement||Ot instanceof SVGElement}function xe(Ot){return we(Ot)?Ot:Ot instanceof x.Component?Pe.findDOMNode(Ot):null}var Ee=me(28580);function Te(Ot,Ut,Zt){var dt=React.useRef({});return(!("value"in dt.current)||Zt(dt.current.condition,Ut))&&(dt.current.value=Ot(),dt.current.condition=Ut),dt.current.value}function Ce(Ot,Ut){typeof Ot=="function"?Ot(Ut):(0,E.Z)(Ot)==="object"&&Ot&&"current"in Ot&&(Ot.current=Ut)}function Oe(){for(var Ot=arguments.length,Ut=new Array(Ot),Zt=0;Zt<Ot;Zt++)Ut[Zt]=arguments[Zt];var dt=Ut.filter(function(on){return on});return dt.length<=1?dt[0]:function(on){Ut.forEach(function(Mn){Ce(Mn,on)})}}function Me(){for(var Ot=arguments.length,Ut=new Array(Ot),Zt=0;Zt<Ot;Zt++)Ut[Zt]=arguments[Zt];return useMemo(function(){return Oe.apply(void 0,Ut)},Ut,function(dt,on){return dt.length===on.length&&dt.every(function(Mn,Hn){return Mn===on[Hn]})})}function Ue(Ot){var Ut,Zt,dt=(0,Ee.isMemo)(Ot)?Ot.type.type:Ot.type;return!(typeof dt=="function"&&!((Ut=dt.prototype)!==null&&Ut!==void 0&&Ut.render)||typeof Ot=="function"&&!((Zt=Ot.prototype)!==null&&Zt!==void 0&&Zt.render))}function je(Ot,Ut){var Zt={};return Zt[Ot.toLowerCase()]=Ut.toLowerCase(),Zt["Webkit".concat(Ot)]="webkit".concat(Ut),Zt["Moz".concat(Ot)]="moz".concat(Ut),Zt["ms".concat(Ot)]="MS".concat(Ut),Zt["O".concat(Ot)]="o".concat(Ut.toLowerCase()),Zt}function nt(Ot,Ut){var Zt={animationend:je("Animation","AnimationEnd"),transitionend:je("Transition","TransitionEnd")};return Ot&&("AnimationEvent"in Ut||delete Zt.animationend.animation,"TransitionEvent"in Ut||delete Zt.transitionend.transition),Zt}var Ye=nt(ge(),typeof window!="undefined"?window:{}),Qe={};if(ge()){var Xe=document.createElement("div");Qe=Xe.style}var ze={};function ke(Ot){if(ze[Ot])return ze[Ot];var Ut=Ye[Ot];if(Ut)for(var Zt=Object.keys(Ut),dt=Zt.length,on=0;on<dt;on+=1){var Mn=Zt[on];if(Object.prototype.hasOwnProperty.call(Ut,Mn)&&Mn in Qe)return ze[Ot]=Ut[Mn],ze[Ot]}return""}var Be=ke("animationend"),qe=ke("transitionend"),Je=!!(Be&&qe),gt=Be||"animationend",We=qe||"transitionend";function $e(Ot,Ut){if(!Ot)return null;if((0,E.Z)(Ot)==="object"){var Zt=Ut.replace(/-\w/g,function(dt){return dt[1].toUpperCase()});return Ot[Zt]}return"".concat(Ot,"-").concat(Ut)}var Re="none",tt="appear",Ie="enter",He="leave",Ve="none",Ze="prepare",Ke="start",Ae="active",Le="end";function Ne(Ot){var Ut=x.useRef(!1),Zt=x.useState(Ot),dt=(0,ue.Z)(Zt,2),on=dt[0],Mn=dt[1];x.useEffect(function(){return Ut.current=!1,function(){Ut.current=!0}},[]);function Hn(Ht,Yt){Yt&&Ut.current||Mn(Ht)}return[on,Hn]}var Ge=function(Ut){return+setTimeout(Ut,16)},rt=function(Ut){return clearTimeout(Ut)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ge=function(Ut){return window.requestAnimationFrame(Ut)},rt=function(Ut){return window.cancelAnimationFrame(Ut)});var St=0,Pt=new Map;function At(Ot){Pt.delete(Ot)}var bn=function(Ut){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;St+=1;var dt=St;function on(Mn){if(Mn===0)At(dt),Ut();else{var Hn=Ge(function(){on(Mn-1)});Pt.set(dt,Hn)}}return on(Zt),dt};bn.cancel=function(Ot){var Ut=Pt.get(Ot);return At(Ut),rt(Ut)};var $t=bn,ft=function(){var Ot=x.useRef(null);function Ut(){$t.cancel(Ot.current)}function Zt(dt){var on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ut();var Mn=$t(function(){on<=1?dt({isCanceled:function(){return Mn!==Ot.current}}):Zt(dt,on-1)});Ot.current=Mn}return x.useEffect(function(){return function(){Ut()}},[]),[Zt,Ut]},st=ge()?x.useLayoutEffect:x.useEffect,zt=st,ot=[Ze,Ke,Ae,Le],at=!1,bt=!0;function Ft(Ot){return Ot===Ae||Ot===Le}var kt=function(Ot,Ut){var Zt=Ne(Ve),dt=(0,ue.Z)(Zt,2),on=dt[0],Mn=dt[1],Hn=ft(),Ht=(0,ue.Z)(Hn,2),Yt=Ht[0],Kt=Ht[1];function Jt(){Mn(Ze,!0)}return zt(function(){if(on!==Ve&&on!==Le){var Xt=ot.indexOf(on),ln=ot[Xt+1],pn=Ut(on);pn===at?Mn(ln,!0):Yt(function(Vn){function nr(){Vn.isCanceled()||Mn(ln,!0)}pn===!0?nr():Promise.resolve(pn).then(nr)})}},[Ot,on]),x.useEffect(function(){return function(){Kt()}},[]),[Jt,on]},un=function(Ot){var Ut=(0,x.useRef)(),Zt=(0,x.useRef)(Ot);Zt.current=Ot;var dt=x.useCallback(function(Hn){Zt.current(Hn)},[]);function on(Hn){Hn&&(Hn.removeEventListener(We,dt),Hn.removeEventListener(gt,dt))}function Mn(Hn){Ut.current&&Ut.current!==Hn&&on(Ut.current),Hn&&Hn!==Ut.current&&(Hn.addEventListener(We,dt),Hn.addEventListener(gt,dt),Ut.current=Hn)}return x.useEffect(function(){return function(){on(Ut.current)}},[]),[Mn,on]};function fn(Ot,Ut,Zt,dt){var on=dt.motionEnter,Mn=on===void 0?!0:on,Hn=dt.motionAppear,Ht=Hn===void 0?!0:Hn,Yt=dt.motionLeave,Kt=Yt===void 0?!0:Yt,Jt=dt.motionDeadline,Xt=dt.motionLeaveImmediately,ln=dt.onAppearPrepare,pn=dt.onEnterPrepare,Vn=dt.onLeavePrepare,nr=dt.onAppearStart,Er=dt.onEnterStart,Dn=dt.onLeaveStart,fr=dt.onAppearActive,ut=dt.onEnterActive,ct=dt.onLeaveActive,wt=dt.onAppearEnd,Bt=dt.onEnterEnd,Qt=dt.onLeaveEnd,an=dt.onVisibleChanged,en=Ne(),sn=(0,ue.Z)(en,2),hn=sn[0],cn=sn[1],jn=Ne(Re),Fn=(0,ue.Z)(jn,2),rr=Fn[0],xr=Fn[1],br=Ne(null),eo=(0,ue.Z)(br,2),co=eo[0],Eo=eo[1],kr=(0,x.useRef)(!1),Mo=(0,x.useRef)(null);function vo(){return Zt()}var No=(0,x.useRef)(!1);function ga(ko){var Xo=vo();if(!(ko&&!ko.deadline&&ko.target!==Xo)){var Pr=No.current,Za;rr===tt&&Pr?Za=wt==null?void 0:wt(Xo,ko):rr===Ie&&Pr?Za=Bt==null?void 0:Bt(Xo,ko):rr===He&&Pr&&(Za=Qt==null?void 0:Qt(Xo,ko)),rr!==Re&&Pr&&Za!==!1&&(xr(Re,!0),Eo(null,!0))}}var Fa=un(ga),na=(0,ue.Z)(Fa,1),La=na[0],Qo=x.useMemo(function(){var ko,Xo,Pr;switch(rr){case tt:return ko={},(0,_e.Z)(ko,Ze,ln),(0,_e.Z)(ko,Ke,nr),(0,_e.Z)(ko,Ae,fr),ko;case Ie:return Xo={},(0,_e.Z)(Xo,Ze,pn),(0,_e.Z)(Xo,Ke,Er),(0,_e.Z)(Xo,Ae,ut),Xo;case He:return Pr={},(0,_e.Z)(Pr,Ze,Vn),(0,_e.Z)(Pr,Ke,Dn),(0,_e.Z)(Pr,Ae,ct),Pr;default:return{}}},[rr]),Ga=kt(rr,function(ko){if(ko===Ze){var Xo=Qo[Ze];return Xo?Xo(vo()):at}if(_a in Qo){var Pr;Eo(((Pr=Qo[_a])===null||Pr===void 0?void 0:Pr.call(Qo,vo(),null))||null)}return _a===Ae&&(La(vo()),Jt>0&&(clearTimeout(Mo.current),Mo.current=setTimeout(function(){ga({deadline:!0})},Jt))),bt}),Ca=(0,ue.Z)(Ga,2),Ia=Ca[0],_a=Ca[1],ni=Ft(_a);No.current=ni,zt(function(){cn(Ut);var ko=kr.current;if(kr.current=!0,!!Ot){var Xo;!ko&&Ut&&Ht&&(Xo=tt),ko&&Ut&&Mn&&(Xo=Ie),(ko&&!Ut&&Kt||!ko&&Xt&&!Ut&&Kt)&&(Xo=He),Xo&&(xr(Xo),Ia())}},[Ut]),(0,x.useEffect)(function(){(rr===tt&&!Ht||rr===Ie&&!Mn||rr===He&&!Kt)&&xr(Re)},[Ht,Mn,Kt]),(0,x.useEffect)(function(){return function(){kr.current=!1,clearTimeout(Mo.current)}},[]);var Ka=x.useRef(!1);(0,x.useEffect)(function(){hn&&(Ka.current=!0),hn!==void 0&&rr===Re&&((Ka.current||hn)&&(an==null||an(hn)),Ka.current=!0)},[hn,rr]);var ja=co;return Qo[Ze]&&_a===Ke&&(ja=(0,he.Z)({transition:"none"},ja)),[rr,_a,ja,hn!=null?hn:Ut]}var vn=function(Ot){(0,le.Z)(Zt,Ot);var Ut=(0,ce.Z)(Zt);function Zt(){return(0,se.Z)(this,Zt),Ut.apply(this,arguments)}return(0,re.Z)(Zt,[{key:"render",value:function(){return this.props.children}}]),Zt}(x.Component),An=vn;function vr(Ot){var Ut=Ot;(0,E.Z)(Ot)==="object"&&(Ut=Ot.transitionSupport);function Zt(on){return!!(on.motionName&&Ut)}var dt=x.forwardRef(function(on,Mn){var Hn=on.visible,Ht=Hn===void 0?!0:Hn,Yt=on.removeOnLeave,Kt=Yt===void 0?!0:Yt,Jt=on.forceRender,Xt=on.children,ln=on.motionName,pn=on.leavedClassName,Vn=on.eventProps,nr=Zt(on),Er=(0,x.useRef)(),Dn=(0,x.useRef)();function fr(){try{return Er.current instanceof HTMLElement?Er.current:xe(Dn.current)}catch(br){return null}}var ut=fn(nr,Ht,fr,on),ct=(0,ue.Z)(ut,4),wt=ct[0],Bt=ct[1],Qt=ct[2],an=ct[3],en=x.useRef(an);an&&(en.current=!0);var sn=x.useCallback(function(br){Er.current=br,Ce(Mn,br)},[Mn]),hn,cn=(0,he.Z)((0,he.Z)({},Vn),{},{visible:Ht});if(!Xt)hn=null;else if(wt===Re||!Zt(on))an?hn=Xt((0,he.Z)({},cn),sn):!Kt&&en.current&&pn?hn=Xt((0,he.Z)((0,he.Z)({},cn),{},{className:pn}),sn):Jt||!Kt&&!pn?hn=Xt((0,he.Z)((0,he.Z)({},cn),{},{style:{display:"none"}}),sn):hn=null;else{var jn,Fn;Bt===Ze?Fn="prepare":Ft(Bt)?Fn="active":Bt===Ke&&(Fn="start"),hn=Xt((0,he.Z)((0,he.Z)({},cn),{},{className:oe()($e(ln,wt),(jn={},(0,_e.Z)(jn,$e(ln,"".concat(wt,"-").concat(Fn)),Fn),(0,_e.Z)(jn,ln,typeof ln=="string"),jn)),style:Qt}),sn)}if(x.isValidElement(hn)&&Ue(hn)){var rr=hn,xr=rr.ref;xr||(hn=x.cloneElement(hn,{ref:sn}))}return x.createElement(An,{ref:Dn},hn)});return dt.displayName="CSSMotion",dt}var yn=vr(Je),cr="add",Zr="keep",Gr="remove",ro="removed";function oo(Ot){var Ut;return Ot&&(0,E.Z)(Ot)==="object"&&"key"in Ot?Ut=Ot:Ut={key:Ot},(0,he.Z)((0,he.Z)({},Ut),{},{key:String(Ut.key)})}function po(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ot.map(oo)}function Pn(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Zt=[],dt=0,on=Ut.length,Mn=po(Ot),Hn=po(Ut);Mn.forEach(function(Kt){for(var Jt=!1,Xt=dt;Xt<on;Xt+=1){var ln=Hn[Xt];if(ln.key===Kt.key){dt<Xt&&(Zt=Zt.concat(Hn.slice(dt,Xt).map(function(pn){return(0,he.Z)((0,he.Z)({},pn),{},{status:cr})})),dt=Xt),Zt.push((0,he.Z)((0,he.Z)({},ln),{},{status:Zr})),dt+=1,Jt=!0;break}}Jt||Zt.push((0,he.Z)((0,he.Z)({},Kt),{},{status:Gr}))}),dt<on&&(Zt=Zt.concat(Hn.slice(dt).map(function(Kt){return(0,he.Z)((0,he.Z)({},Kt),{},{status:cr})})));var Ht={};Zt.forEach(function(Kt){var Jt=Kt.key;Ht[Jt]=(Ht[Jt]||0)+1});var Yt=Object.keys(Ht).filter(function(Kt){return Ht[Kt]>1});return Yt.forEach(function(Kt){Zt=Zt.filter(function(Jt){var Xt=Jt.key,ln=Jt.status;return Xt!==Kt||ln!==Gr}),Zt.forEach(function(Jt){Jt.key===Kt&&(Jt.status=Zr)})}),Zt}var dn=["component","children","onVisibleChanged","onAllRemoved"],Bn=["status"],Rn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Un(Ot){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yn,Zt=function(dt){(0,le.Z)(Mn,dt);var on=(0,ce.Z)(Mn);function Mn(){var Hn;(0,se.Z)(this,Mn);for(var Ht=arguments.length,Yt=new Array(Ht),Kt=0;Kt<Ht;Kt++)Yt[Kt]=arguments[Kt];return Hn=on.call.apply(on,[this].concat(Yt)),(0,_e.Z)((0,ie.Z)(Hn),"state",{keyEntities:[]}),(0,_e.Z)((0,ie.Z)(Hn),"removeKey",function(Jt){var Xt=Hn.state.keyEntities,ln=Xt.map(function(pn){return pn.key!==Jt?pn:(0,he.Z)((0,he.Z)({},pn),{},{status:ro})});return Hn.setState({keyEntities:ln}),ln.filter(function(pn){var Vn=pn.status;return Vn!==ro}).length}),Hn}return(0,re.Z)(Mn,[{key:"render",value:function(){var Ht=this,Yt=this.state.keyEntities,Kt=this.props,Jt=Kt.component,Xt=Kt.children,ln=Kt.onVisibleChanged,pn=Kt.onAllRemoved,Vn=(0,de.Z)(Kt,dn),nr=Jt||x.Fragment,Er={};return Rn.forEach(function(Dn){Er[Dn]=Vn[Dn],delete Vn[Dn]}),delete Vn.keys,x.createElement(nr,Vn,Yt.map(function(Dn){var fr=Dn.status,ut=(0,de.Z)(Dn,Bn),ct=fr===cr||fr===Zr;return x.createElement(Ut,(0,be.Z)({},Er,{key:ut.key,visible:ct,eventProps:ut,onVisibleChanged:function(Bt){if(ln==null||ln(Bt,{key:ut.key}),!Bt){var Qt=Ht.removeKey(ut.key);Qt===0&&pn&&pn()}}}),Xt)}))}}],[{key:"getDerivedStateFromProps",value:function(Ht,Yt){var Kt=Ht.keys,Jt=Yt.keyEntities,Xt=po(Kt),ln=Pn(Jt,Xt);return{keyEntities:ln.filter(function(pn){var Vn=Jt.find(function(nr){var Er=nr.key;return pn.key===Er});return!(Vn&&Vn.status===ro&&pn.status===Gr)})}}}]),Mn}(x.Component);return(0,_e.Z)(Zt,"defaultProps",{component:"div"}),Zt}var tr=Un(Je),gr=yn,Br=me(56261);function dr(Ot,Ut){var Zt=x.useState(!1),dt=(0,ue.Z)(Zt,2),on=dt[0],Mn=dt[1];x.useLayoutEffect(function(){if(on)return Ot(),function(){Ut()}},[on]),x.useLayoutEffect(function(){return Mn(!0),function(){Mn(!1)}},[])}var Xn=me(83898),Rt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Mt=function(Ut,Zt){var dt=Ut.className,on=Ut.style,Mn=Ut.motion,Hn=Ut.motionNodes,Ht=Ut.motionType,Yt=Ut.onMotionStart,Kt=Ut.onMotionEnd,Jt=Ut.active,Xt=Ut.treeNodeRequiredProps,ln=(0,de.Z)(Ut,Rt),pn=x.useState(!0),Vn=(0,ue.Z)(pn,2),nr=Vn[0],Er=Vn[1],Dn=x.useContext(b.k),fr=Dn.prefixCls,ut=Hn&&Ht!=="hide";pe(function(){Hn&&ut!==nr&&Er(ut)},[Hn]);var ct=function(){Hn&&Yt()},wt=x.useRef(!1),Bt=function(){Hn&&!wt.current&&(wt.current=!0,Kt())};dr(ct,Bt);var Qt=function(en){ut===en&&Bt()};return Hn?x.createElement(gr,(0,be.Z)({ref:Zt,visible:nr},Mn,{motionAppear:Ht==="show",onVisibleChanged:Qt}),function(an,en){var sn=an.className,hn=an.style;return x.createElement("div",{ref:en,className:oe()("".concat(fr,"-treenode-motion"),sn),style:hn},Hn.map(function(cn){var jn=(0,be.Z)({},((0,te.Z)(cn.data),cn.data)),Fn=cn.title,rr=cn.key,xr=cn.isStart,br=cn.isEnd;delete jn.children;var eo=(0,Xn.H8)(rr,Xt);return x.createElement(Br.Z,(0,be.Z)({},jn,eo,{title:Fn,active:Jt,data:cn.data,key:rr,isStart:xr,isEnd:br}))}))}):x.createElement(Br.Z,(0,be.Z)({domRef:Zt,className:dt,style:on},ln,{active:Jt}))};Mt.displayName="MotionTreeNode";var Lt=x.forwardRef(Mt),In=Lt;function Gn(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Zt=Ot.length,dt=Ut.length;if(Math.abs(Zt-dt)!==1)return{add:!1,key:null};function on(Mn,Hn){var Ht=new Map;Mn.forEach(function(Kt){Ht.set(Kt,!0)});var Yt=Hn.filter(function(Kt){return!Ht.has(Kt)});return Yt.length===1?Yt[0]:null}return Zt<dt?{add:!0,key:on(Ot,Ut)}:{add:!1,key:on(Ut,Ot)}}function Wn(Ot,Ut,Zt){var dt=Ot.findIndex(function(Ht){return Ht.key===Zt}),on=Ot[dt+1],Mn=Ut.findIndex(function(Ht){return Ht.key===Zt});if(on){var Hn=Ut.findIndex(function(Ht){return Ht.key===on.key});return Ut.slice(Mn+1,Hn)}return Ut.slice(Mn+1)}var mr=["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"],wr={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Rr=function(){},qr="RC_TREE_MOTION_".concat(Math.random()),mo={key:qr},Tn={key:qr,level:0,index:0,pos:"0",node:mo,nodes:[mo]},Ur={parent:null,children:[],pos:Tn.pos,data:mo,title:null,key:qr,isStart:[],isEnd:[]};function bo(Ot,Ut,Zt,dt){return Ut===!1||!Zt?Ot:Ot.slice(0,Math.ceil(Zt/dt)+1)}function ca(Ot){var Ut=Ot.key,Zt=Ot.pos;return(0,Xn.km)(Ut,Zt)}function Ko(Ot){for(var Ut=String(Ot.data.key),Zt=Ot;Zt.parent;)Zt=Zt.parent,Ut="".concat(Zt.data.key," > ").concat(Ut);return Ut}var jo=x.forwardRef(function(Ot,Ut){var Zt=Ot.prefixCls,dt=Ot.data,on=Ot.selectable,Mn=Ot.checkable,Hn=Ot.expandedKeys,Ht=Ot.selectedKeys,Yt=Ot.checkedKeys,Kt=Ot.loadedKeys,Jt=Ot.loadingKeys,Xt=Ot.halfCheckedKeys,ln=Ot.keyEntities,pn=Ot.disabled,Vn=Ot.dragging,nr=Ot.dragOverNodeKey,Er=Ot.dropPosition,Dn=Ot.motion,fr=Ot.height,ut=Ot.itemHeight,ct=Ot.virtual,wt=Ot.focusable,Bt=Ot.activeItem,Qt=Ot.focused,an=Ot.tabIndex,en=Ot.onKeyDown,sn=Ot.onFocus,hn=Ot.onBlur,cn=Ot.onActiveChange,jn=Ot.onListChangeStart,Fn=Ot.onListChangeEnd,rr=(0,de.Z)(Ot,mr),xr=x.useRef(null),br=x.useRef(null);x.useImperativeHandle(Ut,function(){return{scrollTo:function(ya){xr.current.scrollTo(ya)},getIndentWidth:function(){return br.current.offsetWidth}}});var eo=x.useState(Hn),co=(0,ue.Z)(eo,2),Eo=co[0],kr=co[1],Mo=x.useState(dt),vo=(0,ue.Z)(Mo,2),No=vo[0],ga=vo[1],Fa=x.useState(dt),na=(0,ue.Z)(Fa,2),La=na[0],Qo=na[1],Ga=x.useState([]),Ca=(0,ue.Z)(Ga,2),Ia=Ca[0],_a=Ca[1],ni=x.useState(null),Ka=(0,ue.Z)(ni,2),ja=Ka[0],ko=Ka[1],Xo=x.useRef(dt);Xo.current=dt;function Pr(){var sa=Xo.current;ga(sa),Qo(sa),_a([]),ko(null),Fn()}pe(function(){kr(Hn);var sa=Gn(Eo,Hn);if(sa.key!==null)if(sa.add){var ya=No.findIndex(function(da){var fa=da.key;return fa===sa.key}),Qa=bo(Wn(No,dt,sa.key),ct,fr,ut),ha=No.slice();ha.splice(ya+1,0,Ur),Qo(ha),_a(Qa),ko("show")}else{var ua=dt.findIndex(function(da){var fa=da.key;return fa===sa.key}),Oa=bo(Wn(dt,No,sa.key),ct,fr,ut),ai=dt.slice();ai.splice(ua+1,0,Ur),Qo(ai),_a(Oa),ko("hide")}else No!==dt&&(ga(dt),Qo(dt))},[Hn,dt]),x.useEffect(function(){Vn||Pr()},[Vn]);var Za=Dn?La:dt,hi={expandedKeys:Hn,selectedKeys:Ht,loadedKeys:Kt,loadingKeys:Jt,checkedKeys:Yt,halfCheckedKeys:Xt,dragOverNodeKey:nr,dropPosition:Er,keyEntities:ln};return x.createElement(x.Fragment,null,Qt&&Bt&&x.createElement("span",{style:wr,"aria-live":"assertive"},Ko(Bt)),x.createElement("div",null,x.createElement("input",{style:wr,disabled:wt===!1||pn,tabIndex:wt!==!1?an:null,onKeyDown:en,onFocus:sn,onBlur:hn,value:"",onChange:Rr,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(Zt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(Zt,"-indent")},x.createElement("div",{ref:br,className:"".concat(Zt,"-indent-unit")}))),x.createElement(ye.Z,(0,be.Z)({},rr,{data:Za,itemKey:ca,height:fr,fullHeight:!1,virtual:ct,itemHeight:ut,prefixCls:"".concat(Zt,"-list"),ref:xr,onVisibleChange:function(ya,Qa){var ha=new Set(ya),ua=Qa.filter(function(Oa){return!ha.has(Oa)});ua.some(function(Oa){return ca(Oa)===qr})&&Pr()}}),function(sa){var ya=sa.pos,Qa=(0,be.Z)({},((0,te.Z)(sa.data),sa.data)),ha=sa.title,ua=sa.key,Oa=sa.isStart,ai=sa.isEnd,da=(0,Xn.km)(ua,ya);delete Qa.key,delete Qa.children;var fa=(0,Xn.H8)(da,hi);return x.createElement(In,(0,be.Z)({},Qa,fa,{title:ha,active:!!Bt&&ua===Bt.key,pos:ya,data:sa.data,isStart:Oa,isEnd:ai,motion:Dn,motionNodes:ua===qr?Ia:null,motionType:ja,onMotionStart:jn,onMotionEnd:Pr,treeNodeRequiredProps:hi,onMouseMove:function(){cn(null)}}))}))});jo.displayName="NodeList";var ia=jo,ho=me(29873),Dt=me(97153),nn=me(3596),rn=10,mn=function(Ot){(0,le.Z)(Zt,Ot);var Ut=(0,ce.Z)(Zt);function Zt(){var dt;(0,se.Z)(this,Zt);for(var on=arguments.length,Mn=new Array(on),Hn=0;Hn<on;Hn++)Mn[Hn]=arguments[Hn];return dt=Ut.call.apply(Ut,[this].concat(Mn)),dt.destroyed=!1,dt.delayedDragEnterLogic=void 0,dt.loadingRetryTimes={},dt.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,Xn.w$)()},dt.dragStartMousePosition=null,dt.dragNode=void 0,dt.currentMouseOverDroppableNodeKey=null,dt.listRef=x.createRef(),dt.onNodeDragStart=function(Ht,Yt){var Kt=dt.state,Jt=Kt.expandedKeys,Xt=Kt.keyEntities,ln=dt.props.onDragStart,pn=Yt.props.eventKey;dt.dragNode=Yt,dt.dragStartMousePosition={x:Ht.clientX,y:Ht.clientY};var Vn=(0,ho._5)(Jt,pn);dt.setState({draggingNodeKey:pn,dragChildrenKeys:(0,ho.wA)(pn,Xt),indent:dt.listRef.current.getIndentWidth()}),dt.setExpandedKeys(Vn),window.addEventListener("dragend",dt.onWindowDragEnd),ln==null||ln({event:Ht,node:(0,Xn.F)(Yt.props)})},dt.onNodeDragEnter=function(Ht,Yt){var Kt=dt.state,Jt=Kt.expandedKeys,Xt=Kt.keyEntities,ln=Kt.dragChildrenKeys,pn=Kt.flattenNodes,Vn=Kt.indent,nr=dt.props,Er=nr.onDragEnter,Dn=nr.onExpand,fr=nr.allowDrop,ut=nr.direction,ct=Yt.props,wt=ct.pos,Bt=ct.eventKey,Qt=(0,ie.Z)(dt),an=Qt.dragNode;if(dt.currentMouseOverDroppableNodeKey!==Bt&&(dt.currentMouseOverDroppableNodeKey=Bt),!an){dt.resetDragState();return}var en=(0,ho.OM)(Ht,an,Yt,Vn,dt.dragStartMousePosition,fr,pn,Xt,Jt,ut),sn=en.dropPosition,hn=en.dropLevelOffset,cn=en.dropTargetKey,jn=en.dropContainerKey,Fn=en.dropTargetPos,rr=en.dropAllowed,xr=en.dragOverNodeKey;if(ln.indexOf(cn)!==-1||!rr){dt.resetDragState();return}if(dt.delayedDragEnterLogic||(dt.delayedDragEnterLogic={}),Object.keys(dt.delayedDragEnterLogic).forEach(function(br){clearTimeout(dt.delayedDragEnterLogic[br])}),an.props.eventKey!==Yt.props.eventKey&&(Ht.persist(),dt.delayedDragEnterLogic[wt]=window.setTimeout(function(){if(dt.state.draggingNodeKey!==null){var br=(0,fe.Z)(Jt),eo=(0,nn.Z)(Xt,Yt.props.eventKey);eo&&(eo.children||[]).length&&(br=(0,ho.L0)(Jt,Yt.props.eventKey)),"expandedKeys"in dt.props||dt.setExpandedKeys(br),Dn==null||Dn(br,{node:(0,Xn.F)(Yt.props),expanded:!0,nativeEvent:Ht.nativeEvent})}},800)),an.props.eventKey===cn&&hn===0){dt.resetDragState();return}dt.setState({dragOverNodeKey:xr,dropPosition:sn,dropLevelOffset:hn,dropTargetKey:cn,dropContainerKey:jn,dropTargetPos:Fn,dropAllowed:rr}),Er==null||Er({event:Ht,node:(0,Xn.F)(Yt.props),expandedKeys:Jt})},dt.onNodeDragOver=function(Ht,Yt){var Kt=dt.state,Jt=Kt.dragChildrenKeys,Xt=Kt.flattenNodes,ln=Kt.keyEntities,pn=Kt.expandedKeys,Vn=Kt.indent,nr=dt.props,Er=nr.onDragOver,Dn=nr.allowDrop,fr=nr.direction,ut=(0,ie.Z)(dt),ct=ut.dragNode;if(ct){var wt=(0,ho.OM)(Ht,ct,Yt,Vn,dt.dragStartMousePosition,Dn,Xt,ln,pn,fr),Bt=wt.dropPosition,Qt=wt.dropLevelOffset,an=wt.dropTargetKey,en=wt.dropContainerKey,sn=wt.dropAllowed,hn=wt.dropTargetPos,cn=wt.dragOverNodeKey;Jt.indexOf(an)!==-1||!sn||(ct.props.eventKey===an&&Qt===0?dt.state.dropPosition===null&&dt.state.dropLevelOffset===null&&dt.state.dropTargetKey===null&&dt.state.dropContainerKey===null&&dt.state.dropTargetPos===null&&dt.state.dropAllowed===!1&&dt.state.dragOverNodeKey===null||dt.resetDragState():Bt===dt.state.dropPosition&&Qt===dt.state.dropLevelOffset&&an===dt.state.dropTargetKey&&en===dt.state.dropContainerKey&&hn===dt.state.dropTargetPos&&sn===dt.state.dropAllowed&&cn===dt.state.dragOverNodeKey||dt.setState({dropPosition:Bt,dropLevelOffset:Qt,dropTargetKey:an,dropContainerKey:en,dropTargetPos:hn,dropAllowed:sn,dragOverNodeKey:cn}),Er==null||Er({event:Ht,node:(0,Xn.F)(Yt.props)}))}},dt.onNodeDragLeave=function(Ht,Yt){dt.currentMouseOverDroppableNodeKey===Yt.props.eventKey&&!Ht.currentTarget.contains(Ht.relatedTarget)&&(dt.resetDragState(),dt.currentMouseOverDroppableNodeKey=null);var Kt=dt.props.onDragLeave;Kt==null||Kt({event:Ht,node:(0,Xn.F)(Yt.props)})},dt.onWindowDragEnd=function(Ht){dt.onNodeDragEnd(Ht,null,!0),window.removeEventListener("dragend",dt.onWindowDragEnd)},dt.onNodeDragEnd=function(Ht,Yt){var Kt=dt.props.onDragEnd;dt.setState({dragOverNodeKey:null}),dt.cleanDragState(),Kt==null||Kt({event:Ht,node:(0,Xn.F)(Yt.props)}),dt.dragNode=null,window.removeEventListener("dragend",dt.onWindowDragEnd)},dt.onNodeDrop=function(Ht,Yt){var Kt,Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Xt=dt.state,ln=Xt.dragChildrenKeys,pn=Xt.dropPosition,Vn=Xt.dropTargetKey,nr=Xt.dropTargetPos,Er=Xt.dropAllowed;if(Er){var Dn=dt.props.onDrop;if(dt.setState({dragOverNodeKey:null}),dt.cleanDragState(),Vn!==null){var fr=(0,he.Z)((0,he.Z)({},(0,Xn.H8)(Vn,dt.getTreeNodeRequiredProps())),{},{active:((Kt=dt.getActiveItem())===null||Kt===void 0?void 0:Kt.key)===Vn,data:(0,nn.Z)(dt.state.keyEntities,Vn).node}),ut=ln.indexOf(Vn)!==-1;(0,y.ZP)(!ut,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ct=(0,ho.yx)(nr),wt={event:Ht,node:(0,Xn.F)(fr),dragNode:dt.dragNode?(0,Xn.F)(dt.dragNode.props):null,dragNodesKeys:[dt.dragNode.props.eventKey].concat(ln),dropToGap:pn!==0,dropPosition:pn+Number(ct[ct.length-1])};Jt||Dn==null||Dn(wt),dt.dragNode=null}}},dt.cleanDragState=function(){var Ht=dt.state.draggingNodeKey;Ht!==null&&dt.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),dt.dragStartMousePosition=null,dt.currentMouseOverDroppableNodeKey=null},dt.triggerExpandActionExpand=function(Ht,Yt){var Kt=dt.state,Jt=Kt.expandedKeys,Xt=Kt.flattenNodes,ln=Yt.expanded,pn=Yt.key,Vn=Yt.isLeaf;if(!(Vn||Ht.shiftKey||Ht.metaKey||Ht.ctrlKey)){var nr=Xt.filter(function(Dn){return Dn.key===pn})[0],Er=(0,Xn.F)((0,he.Z)((0,he.Z)({},(0,Xn.H8)(pn,dt.getTreeNodeRequiredProps())),{},{data:nr.data}));dt.setExpandedKeys(ln?(0,ho._5)(Jt,pn):(0,ho.L0)(Jt,pn)),dt.onNodeExpand(Ht,Er)}},dt.onNodeClick=function(Ht,Yt){var Kt=dt.props,Jt=Kt.onClick,Xt=Kt.expandAction;Xt==="click"&&dt.triggerExpandActionExpand(Ht,Yt),Jt==null||Jt(Ht,Yt)},dt.onNodeDoubleClick=function(Ht,Yt){var Kt=dt.props,Jt=Kt.onDoubleClick,Xt=Kt.expandAction;Xt==="doubleClick"&&dt.triggerExpandActionExpand(Ht,Yt),Jt==null||Jt(Ht,Yt)},dt.onNodeSelect=function(Ht,Yt){var Kt=dt.state.selectedKeys,Jt=dt.state,Xt=Jt.keyEntities,ln=Jt.fieldNames,pn=dt.props,Vn=pn.onSelect,nr=pn.multiple,Er=Yt.selected,Dn=Yt[ln.key],fr=!Er;fr?nr?Kt=(0,ho.L0)(Kt,Dn):Kt=[Dn]:Kt=(0,ho._5)(Kt,Dn);var ut=Kt.map(function(ct){var wt=(0,nn.Z)(Xt,ct);return wt?wt.node:null}).filter(function(ct){return ct});dt.setUncontrolledState({selectedKeys:Kt}),Vn==null||Vn(Kt,{event:"select",selected:fr,node:Yt,selectedNodes:ut,nativeEvent:Ht.nativeEvent})},dt.onNodeCheck=function(Ht,Yt,Kt){var Jt=dt.state,Xt=Jt.keyEntities,ln=Jt.checkedKeys,pn=Jt.halfCheckedKeys,Vn=dt.props,nr=Vn.checkStrictly,Er=Vn.onCheck,Dn=Yt.key,fr,ut={event:"check",node:Yt,checked:Kt,nativeEvent:Ht.nativeEvent};if(nr){var ct=Kt?(0,ho.L0)(ln,Dn):(0,ho._5)(ln,Dn),wt=(0,ho._5)(pn,Dn);fr={checked:ct,halfChecked:wt},ut.checkedNodes=ct.map(function(hn){return(0,nn.Z)(Xt,hn)}).filter(function(hn){return hn}).map(function(hn){return hn.node}),dt.setUncontrolledState({checkedKeys:ct})}else{var Bt=(0,Dt.S)([].concat((0,fe.Z)(ln),[Dn]),!0,Xt),Qt=Bt.checkedKeys,an=Bt.halfCheckedKeys;if(!Kt){var en=new Set(Qt);en.delete(Dn);var sn=(0,Dt.S)(Array.from(en),{checked:!1,halfCheckedKeys:an},Xt);Qt=sn.checkedKeys,an=sn.halfCheckedKeys}fr=Qt,ut.checkedNodes=[],ut.checkedNodesPositions=[],ut.halfCheckedKeys=an,Qt.forEach(function(hn){var cn=(0,nn.Z)(Xt,hn);if(cn){var jn=cn.node,Fn=cn.pos;ut.checkedNodes.push(jn),ut.checkedNodesPositions.push({node:jn,pos:Fn})}}),dt.setUncontrolledState({checkedKeys:Qt},!1,{halfCheckedKeys:an})}Er==null||Er(fr,ut)},dt.onNodeLoad=function(Ht){var Yt=Ht.key,Kt=new Promise(function(Jt,Xt){dt.setState(function(ln){var pn=ln.loadedKeys,Vn=pn===void 0?[]:pn,nr=ln.loadingKeys,Er=nr===void 0?[]:nr,Dn=dt.props,fr=Dn.loadData,ut=Dn.onLoad;if(!fr||Vn.indexOf(Yt)!==-1||Er.indexOf(Yt)!==-1)return null;var ct=fr(Ht);return ct.then(function(){var wt=dt.state.loadedKeys,Bt=(0,ho.L0)(wt,Yt);ut==null||ut(Bt,{event:"load",node:Ht}),dt.setUncontrolledState({loadedKeys:Bt}),dt.setState(function(Qt){return{loadingKeys:(0,ho._5)(Qt.loadingKeys,Yt)}}),Jt()}).catch(function(wt){if(dt.setState(function(Qt){return{loadingKeys:(0,ho._5)(Qt.loadingKeys,Yt)}}),dt.loadingRetryTimes[Yt]=(dt.loadingRetryTimes[Yt]||0)+1,dt.loadingRetryTimes[Yt]>=rn){var Bt=dt.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),dt.setUncontrolledState({loadedKeys:(0,ho.L0)(Bt,Yt)}),Jt()}Xt(wt)}),{loadingKeys:(0,ho.L0)(Er,Yt)}})});return Kt.catch(function(){}),Kt},dt.onNodeMouseEnter=function(Ht,Yt){var Kt=dt.props.onMouseEnter;Kt==null||Kt({event:Ht,node:Yt})},dt.onNodeMouseLeave=function(Ht,Yt){var Kt=dt.props.onMouseLeave;Kt==null||Kt({event:Ht,node:Yt})},dt.onNodeContextMenu=function(Ht,Yt){var Kt=dt.props.onRightClick;Kt&&(Ht.preventDefault(),Kt({event:Ht,node:Yt}))},dt.onFocus=function(){var Ht=dt.props.onFocus;dt.setState({focused:!0});for(var Yt=arguments.length,Kt=new Array(Yt),Jt=0;Jt<Yt;Jt++)Kt[Jt]=arguments[Jt];Ht==null||Ht.apply(void 0,Kt)},dt.onBlur=function(){var Ht=dt.props.onBlur;dt.setState({focused:!1}),dt.onActiveChange(null);for(var Yt=arguments.length,Kt=new Array(Yt),Jt=0;Jt<Yt;Jt++)Kt[Jt]=arguments[Jt];Ht==null||Ht.apply(void 0,Kt)},dt.getTreeNodeRequiredProps=function(){var Ht=dt.state,Yt=Ht.expandedKeys,Kt=Ht.selectedKeys,Jt=Ht.loadedKeys,Xt=Ht.loadingKeys,ln=Ht.checkedKeys,pn=Ht.halfCheckedKeys,Vn=Ht.dragOverNodeKey,nr=Ht.dropPosition,Er=Ht.keyEntities;return{expandedKeys:Yt||[],selectedKeys:Kt||[],loadedKeys:Jt||[],loadingKeys:Xt||[],checkedKeys:ln||[],halfCheckedKeys:pn||[],dragOverNodeKey:Vn,dropPosition:nr,keyEntities:Er}},dt.setExpandedKeys=function(Ht){var Yt=dt.state,Kt=Yt.treeData,Jt=Yt.fieldNames,Xt=(0,Xn.oH)(Kt,Ht,Jt);dt.setUncontrolledState({expandedKeys:Ht,flattenNodes:Xt},!0)},dt.onNodeExpand=function(Ht,Yt){var Kt=dt.state.expandedKeys,Jt=dt.state,Xt=Jt.listChanging,ln=Jt.fieldNames,pn=dt.props,Vn=pn.onExpand,nr=pn.loadData,Er=Yt.expanded,Dn=Yt[ln.key];if(!Xt){var fr=Kt.indexOf(Dn),ut=!Er;if((0,y.ZP)(Er&&fr!==-1||!Er&&fr===-1,"Expand state not sync with index check"),ut?Kt=(0,ho.L0)(Kt,Dn):Kt=(0,ho._5)(Kt,Dn),dt.setExpandedKeys(Kt),Vn==null||Vn(Kt,{node:Yt,expanded:ut,nativeEvent:Ht.nativeEvent}),ut&&nr){var ct=dt.onNodeLoad(Yt);ct&&ct.then(function(){var wt=(0,Xn.oH)(dt.state.treeData,Kt,ln);dt.setUncontrolledState({flattenNodes:wt})}).catch(function(){var wt=dt.state.expandedKeys,Bt=(0,ho._5)(wt,Dn);dt.setExpandedKeys(Bt)})}}},dt.onListChangeStart=function(){dt.setUncontrolledState({listChanging:!0})},dt.onListChangeEnd=function(){setTimeout(function(){dt.setUncontrolledState({listChanging:!1})})},dt.onActiveChange=function(Ht){var Yt=dt.state.activeKey,Kt=dt.props.onActiveChange;Yt!==Ht&&(dt.setState({activeKey:Ht}),Ht!==null&&dt.scrollTo({key:Ht}),Kt==null||Kt(Ht))},dt.getActiveItem=function(){var Ht=dt.state,Yt=Ht.activeKey,Kt=Ht.flattenNodes;return Yt===null?null:Kt.find(function(Jt){var Xt=Jt.key;return Xt===Yt})||null},dt.offsetActiveKey=function(Ht){var Yt=dt.state,Kt=Yt.flattenNodes,Jt=Yt.activeKey,Xt=Kt.findIndex(function(Vn){var nr=Vn.key;return nr===Jt});Xt===-1&&Ht<0&&(Xt=Kt.length),Xt=(Xt+Ht+Kt.length)%Kt.length;var ln=Kt[Xt];if(ln){var pn=ln.key;dt.onActiveChange(pn)}else dt.onActiveChange(null)},dt.onKeyDown=function(Ht){var Yt=dt.state,Kt=Yt.activeKey,Jt=Yt.expandedKeys,Xt=Yt.checkedKeys,ln=Yt.fieldNames,pn=dt.props,Vn=pn.onKeyDown,nr=pn.checkable,Er=pn.selectable;switch(Ht.which){case z.UP:{dt.offsetActiveKey(-1),Ht.preventDefault();break}case z.DOWN:{dt.offsetActiveKey(1),Ht.preventDefault();break}}var Dn=dt.getActiveItem();if(Dn&&Dn.data){var fr=dt.getTreeNodeRequiredProps(),ut=Dn.data.isLeaf===!1||!!(Dn.data[ln.children]||[]).length,ct=(0,Xn.F)((0,he.Z)((0,he.Z)({},(0,Xn.H8)(Kt,fr)),{},{data:Dn.data,active:!0}));switch(Ht.which){case z.LEFT:{ut&&Jt.includes(Kt)?dt.onNodeExpand({},ct):Dn.parent&&dt.onActiveChange(Dn.parent.key),Ht.preventDefault();break}case z.RIGHT:{ut&&!Jt.includes(Kt)?dt.onNodeExpand({},ct):Dn.children&&Dn.children.length&&dt.onActiveChange(Dn.children[0].key),Ht.preventDefault();break}case z.ENTER:case z.SPACE:{nr&&!ct.disabled&&ct.checkable!==!1&&!ct.disableCheckbox?dt.onNodeCheck({},ct,!Xt.includes(Kt)):!nr&&Er&&!ct.disabled&&ct.selectable!==!1&&dt.onNodeSelect({},ct);break}}}Vn==null||Vn(Ht)},dt.setUncontrolledState=function(Ht){var Yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!dt.destroyed){var Jt=!1,Xt=!0,ln={};Object.keys(Ht).forEach(function(pn){if(pn in dt.props){Xt=!1;return}Jt=!0,ln[pn]=Ht[pn]}),Jt&&(!Yt||Xt)&&dt.setState((0,he.Z)((0,he.Z)({},ln),Kt))}},dt.scrollTo=function(Ht){dt.listRef.current.scrollTo(Ht)},dt}return(0,re.Z)(Zt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var on=this.props.activeKey;on!==void 0&&on!==this.state.activeKey&&(this.setState({activeKey:on}),on!==null&&this.scrollTo({key:on}))}},{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 on,Mn=this.state,Hn=Mn.focused,Ht=Mn.flattenNodes,Yt=Mn.keyEntities,Kt=Mn.draggingNodeKey,Jt=Mn.activeKey,Xt=Mn.dropLevelOffset,ln=Mn.dropContainerKey,pn=Mn.dropTargetKey,Vn=Mn.dropPosition,nr=Mn.dragOverNodeKey,Er=Mn.indent,Dn=this.props,fr=Dn.prefixCls,ut=Dn.className,ct=Dn.style,wt=Dn.showLine,Bt=Dn.focusable,Qt=Dn.tabIndex,an=Qt===void 0?0:Qt,en=Dn.selectable,sn=Dn.showIcon,hn=Dn.icon,cn=Dn.switcherIcon,jn=Dn.draggable,Fn=Dn.checkable,rr=Dn.checkStrictly,xr=Dn.disabled,br=Dn.motion,eo=Dn.loadData,co=Dn.filterTreeNode,Eo=Dn.height,kr=Dn.itemHeight,Mo=Dn.virtual,vo=Dn.titleRender,No=Dn.dropIndicatorRender,ga=Dn.onContextMenu,Fa=Dn.onScroll,na=Dn.direction,La=Dn.rootClassName,Qo=Dn.rootStyle,Ga=(0,a.Z)(this.props,{aria:!0,data:!0}),Ca;return jn&&((0,E.Z)(jn)==="object"?Ca=jn:typeof jn=="function"?Ca={nodeDraggable:jn}:Ca={}),x.createElement(b.k.Provider,{value:{prefixCls:fr,selectable:en,showIcon:sn,icon:hn,switcherIcon:cn,draggable:Ca,draggingNodeKey:Kt,checkable:Fn,checkStrictly:rr,disabled:xr,keyEntities:Yt,dropLevelOffset:Xt,dropContainerKey:ln,dropTargetKey:pn,dropPosition:Vn,dragOverNodeKey:nr,indent:Er,direction:na,dropIndicatorRender:No,loadData:eo,filterTreeNode:co,titleRender:vo,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()(fr,ut,La,(on={},(0,_e.Z)(on,"".concat(fr,"-show-line"),wt),(0,_e.Z)(on,"".concat(fr,"-focused"),Hn),(0,_e.Z)(on,"".concat(fr,"-active-focused"),Jt!==null),on)),style:Qo},x.createElement(ia,(0,be.Z)({ref:this.listRef,prefixCls:fr,style:ct,data:Ht,disabled:xr,selectable:en,checkable:!!Fn,motion:br,dragging:Kt!==null,height:Eo,itemHeight:kr,virtual:Mo,focusable:Bt,focused:Hn,tabIndex:an,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:ga,onScroll:Fa},this.getTreeNodeRequiredProps(),Ga))))}}],[{key:"getDerivedStateFromProps",value:function(on,Mn){var Hn=Mn.prevProps,Ht={prevProps:on};function Yt(Bt){return!Hn&&Bt in on||Hn&&Hn[Bt]!==on[Bt]}var Kt,Jt=Mn.fieldNames;if(Yt("fieldNames")&&(Jt=(0,Xn.w$)(on.fieldNames),Ht.fieldNames=Jt),Yt("treeData")?Kt=on.treeData:Yt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Kt=(0,Xn.zn)(on.children)),Kt){Ht.treeData=Kt;var Xt=(0,Xn.I8)(Kt,{fieldNames:Jt});Ht.keyEntities=(0,he.Z)((0,_e.Z)({},qr,Tn),Xt.keyEntities)}var ln=Ht.keyEntities||Mn.keyEntities;if(Yt("expandedKeys")||Hn&&Yt("autoExpandParent"))Ht.expandedKeys=on.autoExpandParent||!Hn&&on.defaultExpandParent?(0,ho.r7)(on.expandedKeys,ln):on.expandedKeys;else if(!Hn&&on.defaultExpandAll){var pn=(0,he.Z)({},ln);delete pn[qr],Ht.expandedKeys=Object.keys(pn).map(function(Bt){return pn[Bt].key})}else!Hn&&on.defaultExpandedKeys&&(Ht.expandedKeys=on.autoExpandParent||on.defaultExpandParent?(0,ho.r7)(on.defaultExpandedKeys,ln):on.defaultExpandedKeys);if(Ht.expandedKeys||delete Ht.expandedKeys,Kt||Ht.expandedKeys){var Vn=(0,Xn.oH)(Kt||Mn.treeData,Ht.expandedKeys||Mn.expandedKeys,Jt);Ht.flattenNodes=Vn}if(on.selectable&&(Yt("selectedKeys")?Ht.selectedKeys=(0,ho.BT)(on.selectedKeys,on):!Hn&&on.defaultSelectedKeys&&(Ht.selectedKeys=(0,ho.BT)(on.defaultSelectedKeys,on))),on.checkable){var nr;if(Yt("checkedKeys")?nr=(0,ho.E6)(on.checkedKeys)||{}:!Hn&&on.defaultCheckedKeys?nr=(0,ho.E6)(on.defaultCheckedKeys)||{}:Kt&&(nr=(0,ho.E6)(on.checkedKeys)||{checkedKeys:Mn.checkedKeys,halfCheckedKeys:Mn.halfCheckedKeys}),nr){var Er=nr,Dn=Er.checkedKeys,fr=Dn===void 0?[]:Dn,ut=Er.halfCheckedKeys,ct=ut===void 0?[]:ut;if(!on.checkStrictly){var wt=(0,Dt.S)(fr,!0,ln);fr=wt.checkedKeys,ct=wt.halfCheckedKeys}Ht.checkedKeys=fr,Ht.halfCheckedKeys=ct}}return Yt("loadedKeys")&&(Ht.loadedKeys=on.loadedKeys),Ht}}]),Zt}(x.Component);mn.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},mn.TreeNode=Br.Z;var zn=mn,Sn=zn,Nn=me(46214),_t={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"},yr=_t,Cr=me(44327),hr=function(Ut,Zt){return x.createElement(Cr.Z,(0,be.Z)({},Ut,{ref:Zt,icon:yr}))},So=x.forwardRef(hr),wn={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"},qn=wn,jr=function(Ut,Zt){return x.createElement(Cr.Z,(0,be.Z)({},Ut,{ref:Zt,icon:qn}))},ar=x.forwardRef(jr),Po=me(53124),so={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"},zo=so,Zo=function(Ut,Zt){return x.createElement(Cr.Z,(0,be.Z)({},Ut,{ref:Zt,icon:zo}))},Vo=x.forwardRef(Zo),Ct=me(33603),Et=me(32157);const Wt=4;function gn(Ot){const{dropPosition:Ut,dropLevelOffset:Zt,prefixCls:dt,indent:on,direction:Mn="ltr"}=Ot,Hn=Mn==="ltr"?"left":"right",Ht=Mn==="ltr"?"right":"left",Yt={[Hn]:-Zt*on+Wt,[Ht]:0};switch(Ut){case-1:Yt.top=-3;break;case 1:Yt.bottom=-3;break;default:Yt.bottom=-3,Yt[Hn]=on+Wt;break}return x.createElement("div",{style:Yt,className:`${dt}-drop-indicator`})}var On=me(7349),Sr=x.forwardRef((Ot,Ut)=>{const{getPrefixCls:Zt,direction:dt,virtual:on,tree:Mn}=x.useContext(Po.E_),{prefixCls:Hn,className:Ht,showIcon:Yt=!1,showLine:Kt,switcherIcon:Jt,blockNode:Xt=!1,children:ln,checkable:pn=!1,selectable:Vn=!0,draggable:nr,motion:Er,style:Dn}=Ot,fr=Zt("tree",Hn),ut=Zt(),ct=Er!=null?Er:Object.assign(Object.assign({},(0,Ct.Z)(ut)),{motionAppear:!1}),wt=Object.assign(Object.assign({},Ot),{checkable:pn,selectable:Vn,showIcon:Yt,motion:ct,blockNode:Xt,showLine:!!Kt,dropIndicatorRender:gn}),[Bt,Qt]=(0,Et.ZP)(fr),an=x.useMemo(()=>{if(!nr)return!1;let sn={};switch(typeof nr){case"function":sn.nodeDraggable=nr;break;case"object":sn=Object.assign({},nr);break;default:break}return sn.icon!==!1&&(sn.icon=sn.icon||x.createElement(Vo,null)),sn},[nr]),en=sn=>x.createElement(On.Z,{prefixCls:fr,switcherIcon:Jt,treeNodeProps:sn,showLine:Kt});return Bt(x.createElement(Sn,Object.assign({itemHeight:20,ref:Ut,virtual:on},wt,{style:Object.assign(Object.assign({},Mn==null?void 0:Mn.style),Dn),prefixCls:fr,className:oe()({[`${fr}-icon-hide`]:!Yt,[`${fr}-block-node`]:Xt,[`${fr}-unselectable`]:!Vn,[`${fr}-rtl`]:dt==="rtl"},Mn==null?void 0:Mn.className,Ht,Qt),direction:dt,checkable:pn&&x.createElement("span",{className:`${fr}-checkbox-inner`}),selectable:Vn,switcherIcon:en,draggable:an}),ln))}),Tr;(function(Ot){Ot[Ot.None=0]="None",Ot[Ot.Start=1]="Start",Ot[Ot.End=2]="End"})(Tr||(Tr={}));function Xr(Ot,Ut){function Zt(dt){const{key:on,children:Mn}=dt;Ut(on,dt)!==!1&&Xr(Mn||[],Ut)}Ot.forEach(Zt)}function lo(Ot){let{treeData:Ut,expandedKeys:Zt,startKey:dt,endKey:on}=Ot;const Mn=[];let Hn=Tr.None;if(dt&&dt===on)return[dt];if(!dt||!on)return[];function Ht(Yt){return Yt===dt||Yt===on}return Xr(Ut,Yt=>{if(Hn===Tr.End)return!1;if(Ht(Yt)){if(Mn.push(Yt),Hn===Tr.None)Hn=Tr.Start;else if(Hn===Tr.Start)return Hn=Tr.End,!1}else Hn===Tr.Start&&Mn.push(Yt);return Zt.includes(Yt)}),Mn}function Yr(Ot,Ut){const Zt=(0,fe.Z)(Ut),dt=[];return Xr(Ot,(on,Mn)=>{const Hn=Zt.indexOf(on);return Hn!==-1&&(dt.push(Mn),Zt.splice(Hn,1)),!!Zt.length}),dt}var ao=function(Ot,Ut){var Zt={};for(var dt in Ot)Object.prototype.hasOwnProperty.call(Ot,dt)&&Ut.indexOf(dt)<0&&(Zt[dt]=Ot[dt]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var on=0,dt=Object.getOwnPropertySymbols(Ot);on<dt.length;on++)Ut.indexOf(dt[on])<0&&Object.prototype.propertyIsEnumerable.call(Ot,dt[on])&&(Zt[dt[on]]=Ot[dt[on]]);return Zt};function Co(Ot){const{isLeaf:Ut,expanded:Zt}=Ot;return Ut?x.createElement(Nn.Z,null):Zt?x.createElement(So,null):x.createElement(ar,null)}function Ro(Ot){let{treeData:Ut,children:Zt}=Ot;return Ut||(0,Xn.zn)(Zt)}const To=(Ot,Ut)=>{var{defaultExpandAll:Zt,defaultExpandParent:dt,defaultExpandedKeys:on}=Ot,Mn=ao(Ot,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Hn=x.useRef(),Ht=x.useRef(),Yt=()=>{const{keyEntities:an}=(0,Xn.I8)(Ro(Mn));let en;return Zt?en=Object.keys(an):dt?en=(0,ho.r7)(Mn.expandedKeys||on||[],an):en=Mn.expandedKeys||on,en},[Kt,Jt]=x.useState(Mn.selectedKeys||Mn.defaultSelectedKeys||[]),[Xt,ln]=x.useState(()=>Yt());x.useEffect(()=>{"selectedKeys"in Mn&&Jt(Mn.selectedKeys)},[Mn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in Mn&&ln(Mn.expandedKeys)},[Mn.expandedKeys]);const pn=(an,en)=>{var sn;return"expandedKeys"in Mn||ln(an),(sn=Mn.onExpand)===null||sn===void 0?void 0:sn.call(Mn,an,en)},Vn=(an,en)=>{var sn;const{multiple:hn}=Mn,{node:cn,nativeEvent:jn}=en,{key:Fn=""}=cn,rr=Ro(Mn),xr=Object.assign(Object.assign({},en),{selected:!0}),br=(jn==null?void 0:jn.ctrlKey)||(jn==null?void 0:jn.metaKey),eo=jn==null?void 0:jn.shiftKey;let co;hn&&br?(co=an,Hn.current=Fn,Ht.current=co,xr.selectedNodes=Yr(rr,co)):hn&&eo?(co=Array.from(new Set([].concat((0,fe.Z)(Ht.current||[]),(0,fe.Z)(lo({treeData:rr,expandedKeys:Xt,startKey:Fn,endKey:Hn.current}))))),xr.selectedNodes=Yr(rr,co)):(co=[Fn],Hn.current=Fn,Ht.current=co,xr.selectedNodes=Yr(rr,co)),(sn=Mn.onSelect)===null||sn===void 0||sn.call(Mn,co,xr),"selectedKeys"in Mn||Jt(co)},{getPrefixCls:nr,direction:Er}=x.useContext(Po.E_),{prefixCls:Dn,className:fr,showIcon:ut=!0,expandAction:ct="click"}=Mn,wt=ao(Mn,["prefixCls","className","showIcon","expandAction"]),Bt=nr("tree",Dn),Qt=oe()(`${Bt}-directory`,{[`${Bt}-directory-rtl`]:Er==="rtl"},fr);return x.createElement(Sr,Object.assign({icon:Co,ref:Ut,blockNode:!0},wt,{showIcon:ut,expandAction:ct,prefixCls:Bt,className:Qt,expandedKeys:Xt,selectedKeys:Kt,onSelect:Vn,onExpand:pn}))};var Lo=x.forwardRef(To);const Go=Sr;Go.DirectoryTree=Lo,Go.TreeNode=Br.Z;var Hr=Go},32157:function(Tt,ht,me){"use strict";me.d(ht,{TM:function(){return ne},Yk:function(){return oe}});var be=me(45930),_e=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:'""'}}}),ce=(z,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:ee,nodeSelectedBg:te,nodeHoverBg:ue}=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:ue},[`&${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[ce(z,ee),ae(ee)]},ne=z=>{const{controlHeightSM:a}=z;return{titleHeight:a,nodeHoverBg:z.controlItemBgHover,nodeSelectedBg:z.controlItemBgActive}};ht.ZP=(0,se.Z)("Tree",(z,a)=>{let{prefixCls:y}=a;return[{[z.componentCls]:(0,_e.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})})},7349:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return de}});var be=me(87462),_e=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(44327),se=function(ve,pe){return _e.createElement(fe.Z,(0,be.Z)({},ve,{ref:pe,icon:he}))},re=_e.forwardRef(se),ie=me(46214),le=me(77322),ce={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"},ae=ce,oe=function(ve,pe){return _e.createElement(fe.Z,(0,be.Z)({},ve,{ref:pe,icon:ae}))},ne=_e.forwardRef(oe),z={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"},a=z,y=function(ve,pe){return _e.createElement(fe.Z,(0,be.Z)({},ve,{ref:pe,icon:a}))},x=_e.forwardRef(y),b=me(94184),ee=me.n(b),te=me(96159),de=ge=>{const{prefixCls:ve,switcherIcon:pe,treeNodeProps:Se,showLine:ye}=ge,{isLeaf:Pe,expanded:we,loading:xe}=Se;if(xe)return _e.createElement(le.Z,{className:`${ve}-switcher-loading-icon`});let Ee;if(ye&&typeof ye=="object"&&(Ee=ye.showLeafIcon),Pe){if(!ye)return null;if(typeof Ee!="boolean"&&Ee){const Oe=typeof Ee=="function"?Ee(Se):Ee,Me=`${ve}-switcher-line-custom-icon`;return(0,te.l$)(Oe)?(0,te.Tm)(Oe,{className:ee()(Oe.props.className||"",Me)}):Oe}return Ee?_e.createElement(ie.Z,{className:`${ve}-switcher-line-icon`}):_e.createElement("span",{className:`${ve}-switcher-leaf-line`})}const Te=`${ve}-switcher-icon`,Ce=typeof pe=="function"?pe(Se):pe;return(0,te.l$)(Ce)?(0,te.Tm)(Ce,{className:ee()(Ce.props.className||"",Te)}):Ce!==void 0?Ce:ye?we?_e.createElement(ne,{className:`${ve}-switcher-line-icon`}):_e.createElement(x,{className:`${ve}-switcher-line-icon`}):_e.createElement(re,{className:Te})}},92421:function(Tt,ht,me){"use strict";me.d(ht,{default:function(){return ho}});var be=me(67294),_e=me(74902),E=me(94184),he=me.n(E),fe=me(87462),se=me(15671),re=me(43144),ie=me(60136),le=me(51630),ce=me(4942),ae=me(45987),oe=me(74165),ne=me(71002),z=me(15861),a=me(64217);function y(Dt,nn){var rn="cannot ".concat(Dt.method," ").concat(Dt.action," ").concat(nn.status,"'"),mn=new Error(rn);return mn.status=nn.status,mn.method=Dt.method,mn.url=Dt.action,mn}function x(Dt){var nn=Dt.responseText||Dt.response;if(!nn)return nn;try{return JSON.parse(nn)}catch(rn){return nn}}function b(Dt){var nn=new XMLHttpRequest;Dt.onProgress&&nn.upload&&(nn.upload.onprogress=function(Sn){Sn.total>0&&(Sn.percent=Sn.loaded/Sn.total*100),Dt.onProgress(Sn)});var rn=new FormData;Dt.data&&Object.keys(Dt.data).forEach(function(zn){var Sn=Dt.data[zn];if(Array.isArray(Sn)){Sn.forEach(function(Nn){rn.append("".concat(zn,"[]"),Nn)});return}rn.append(zn,Sn)}),Dt.file instanceof Blob?rn.append(Dt.filename,Dt.file,Dt.file.name):rn.append(Dt.filename,Dt.file),nn.onerror=function(Sn){Dt.onError(Sn)},nn.onload=function(){return nn.status<200||nn.status>=300?Dt.onError(y(Dt,nn),x(nn)):Dt.onSuccess(x(nn),nn)},nn.open(Dt.method,Dt.action,!0),Dt.withCredentials&&"withCredentials"in nn&&(nn.withCredentials=!0);var mn=Dt.headers||{};return mn["X-Requested-With"]!==null&&nn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(mn).forEach(function(zn){mn[zn]!==null&&nn.setRequestHeader(zn,mn[zn])}),nn.send(rn),{abort:function(){nn.abort()}}}var ee=+new Date,te=0;function ue(){return"rc-upload-".concat(ee,"-").concat(++te)}var de=me(80334),ge=function(Dt,nn){if(Dt&&nn){var rn=Array.isArray(nn)?nn:nn.split(","),mn=Dt.name||"",zn=Dt.type||"",Sn=zn.replace(/\/.*$/,"");return rn.some(function(Nn){var _t=Nn.trim();if(/^\*(\/\*)?$/.test(Nn))return!0;if(_t.charAt(0)==="."){var yr=mn.toLowerCase(),Cr=_t.toLowerCase(),hr=[Cr];return(Cr===".jpg"||Cr===".jpeg")&&(hr=[".jpg",".jpeg"]),hr.some(function(So){return yr.endsWith(So)})}return/\/\*$/.test(_t)?Sn===_t.replace(/\/.*$/,""):zn===_t?!0:/^\w+$/.test(_t)?((0,de.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(_t,"'.Skip for check.")),!0):!1})}return!0};function ve(Dt,nn){var rn=Dt.createReader(),mn=[];function zn(){rn.readEntries(function(Sn){var Nn=Array.prototype.slice.apply(Sn);mn=mn.concat(Nn);var _t=!Nn.length;_t?nn(mn):zn()})}zn()}var pe=function(nn,rn,mn){var zn=function Sn(Nn,_t){Nn&&(Nn.path=_t||"",Nn.isFile?Nn.file(function(yr){mn(yr)&&(Nn.fullPath&&!yr.webkitRelativePath&&(Object.defineProperties(yr,{webkitRelativePath:{writable:!0}}),yr.webkitRelativePath=Nn.fullPath.replace(/^\//,""),Object.defineProperties(yr,{webkitRelativePath:{writable:!1}})),rn([yr]))}):Nn.isDirectory&&ve(Nn,function(yr){yr.forEach(function(Cr){Sn(Cr,"".concat(_t).concat(Nn.name,"/"))})}))};nn.forEach(function(Sn){zn(Sn.webkitGetAsEntry())})},Se=pe,ye=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Pe=function(Dt){(0,ie.Z)(rn,Dt);var nn=(0,le.Z)(rn);function rn(){var mn;(0,se.Z)(this,rn);for(var zn=arguments.length,Sn=new Array(zn),Nn=0;Nn<zn;Nn++)Sn[Nn]=arguments[Nn];return mn=nn.call.apply(nn,[this].concat(Sn)),mn.state={uid:ue()},mn.reqs={},mn.fileInput=void 0,mn._isMounted=void 0,mn.onChange=function(_t){var yr=mn.props,Cr=yr.accept,hr=yr.directory,So=_t.target.files,wn=(0,_e.Z)(So).filter(function(qn){return!hr||ge(qn,Cr)});mn.uploadFiles(wn),mn.reset()},mn.onClick=function(_t){var yr=mn.fileInput;if(yr){var Cr=mn.props,hr=Cr.children,So=Cr.onClick;if(hr&&hr.type==="button"){var wn=yr.parentNode;wn.focus(),wn.querySelector("button").blur()}yr.click(),So&&So(_t)}},mn.onKeyDown=function(_t){_t.key==="Enter"&&mn.onClick(_t)},mn.onFileDrop=function(_t){var yr=mn.props.multiple;if(_t.preventDefault(),_t.type!=="dragover")if(mn.props.directory)Se(Array.prototype.slice.call(_t.dataTransfer.items),mn.uploadFiles,function(hr){return ge(hr,mn.props.accept)});else{var Cr=(0,_e.Z)(_t.dataTransfer.files).filter(function(hr){return ge(hr,mn.props.accept)});yr===!1&&(Cr=Cr.slice(0,1)),mn.uploadFiles(Cr)}},mn.uploadFiles=function(_t){var yr=(0,_e.Z)(_t),Cr=yr.map(function(hr){return hr.uid=ue(),mn.processFile(hr,yr)});Promise.all(Cr).then(function(hr){var So=mn.props.onBatchStart;So==null||So(hr.map(function(wn){var qn=wn.origin,jr=wn.parsedFile;return{file:qn,parsedFile:jr}})),hr.filter(function(wn){return wn.parsedFile!==null}).forEach(function(wn){mn.post(wn)})})},mn.processFile=function(){var _t=(0,z.Z)((0,oe.Z)().mark(function yr(Cr,hr){var So,wn,qn,jr,ar,Po,so,zo,Zo;return(0,oe.Z)().wrap(function(Ct){for(;;)switch(Ct.prev=Ct.next){case 0:if(So=mn.props.beforeUpload,wn=Cr,!So){Ct.next=14;break}return Ct.prev=3,Ct.next=6,So(Cr,hr);case 6:wn=Ct.sent,Ct.next=12;break;case 9:Ct.prev=9,Ct.t0=Ct.catch(3),wn=!1;case 12:if(wn!==!1){Ct.next=14;break}return Ct.abrupt("return",{origin:Cr,parsedFile:null,action:null,data:null});case 14:if(qn=mn.props.action,typeof qn!="function"){Ct.next=21;break}return Ct.next=18,qn(Cr);case 18:jr=Ct.sent,Ct.next=22;break;case 21:jr=qn;case 22:if(ar=mn.props.data,typeof ar!="function"){Ct.next=29;break}return Ct.next=26,ar(Cr);case 26:Po=Ct.sent,Ct.next=30;break;case 29:Po=ar;case 30:return so=((0,ne.Z)(wn)==="object"||typeof wn=="string")&&wn?wn:Cr,so instanceof File?zo=so:zo=new File([so],Cr.name,{type:Cr.type}),Zo=zo,Zo.uid=Cr.uid,Ct.abrupt("return",{origin:Cr,data:Po,parsedFile:Zo,action:jr});case 35:case"end":return Ct.stop()}},yr,null,[[3,9]])}));return function(yr,Cr){return _t.apply(this,arguments)}}(),mn.saveFileInput=function(_t){mn.fileInput=_t},mn}return(0,re.Z)(rn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(zn){var Sn=this,Nn=zn.data,_t=zn.origin,yr=zn.action,Cr=zn.parsedFile;if(this._isMounted){var hr=this.props,So=hr.onStart,wn=hr.customRequest,qn=hr.name,jr=hr.headers,ar=hr.withCredentials,Po=hr.method,so=_t.uid,zo=wn||b,Zo={action:yr,filename:qn,data:Nn,file:Cr,headers:jr,withCredentials:ar,method:Po||"post",onProgress:function(Ct){var Et=Sn.props.onProgress;Et==null||Et(Ct,Cr)},onSuccess:function(Ct,Et){var Wt=Sn.props.onSuccess;Wt==null||Wt(Ct,Cr,Et),delete Sn.reqs[so]},onError:function(Ct,Et){var Wt=Sn.props.onError;Wt==null||Wt(Ct,Et,Cr),delete Sn.reqs[so]}};So(_t),this.reqs[so]=zo(Zo)}}},{key:"reset",value:function(){this.setState({uid:ue()})}},{key:"abort",value:function(zn){var Sn=this.reqs;if(zn){var Nn=zn.uid?zn.uid:zn;Sn[Nn]&&Sn[Nn].abort&&Sn[Nn].abort(),delete Sn[Nn]}else Object.keys(Sn).forEach(function(_t){Sn[_t]&&Sn[_t].abort&&Sn[_t].abort(),delete Sn[_t]})}},{key:"render",value:function(){var zn,Sn=this.props,Nn=Sn.component,_t=Sn.prefixCls,yr=Sn.className,Cr=Sn.disabled,hr=Sn.id,So=Sn.style,wn=Sn.multiple,qn=Sn.accept,jr=Sn.capture,ar=Sn.children,Po=Sn.directory,so=Sn.openFileDialogOnClick,zo=Sn.onMouseEnter,Zo=Sn.onMouseLeave,Vo=(0,ae.Z)(Sn,ye),Ct=he()((zn={},(0,ce.Z)(zn,_t,!0),(0,ce.Z)(zn,"".concat(_t,"-disabled"),Cr),(0,ce.Z)(zn,yr,yr),zn)),Et=Po?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Wt=Cr?{}:{onClick:so?this.onClick:function(){},onKeyDown:so?this.onKeyDown:function(){},onMouseEnter:zo,onMouseLeave:Zo,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return be.createElement(Nn,(0,fe.Z)({},Wt,{className:Ct,role:"button",style:So}),be.createElement("input",(0,fe.Z)({},(0,a.Z)(Vo,{aria:!0,data:!0}),{id:hr,disabled:Cr,type:"file",ref:this.saveFileInput,onClick:function(On){return On.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:qn},Et,{multiple:wn,onChange:this.onChange},jr!=null?{capture:jr}:{})),ar)}}]),rn}(be.Component),we=Pe;function xe(){}var Ee=function(Dt){(0,ie.Z)(rn,Dt);var nn=(0,le.Z)(rn);function rn(){var mn;(0,se.Z)(this,rn);for(var zn=arguments.length,Sn=new Array(zn),Nn=0;Nn<zn;Nn++)Sn[Nn]=arguments[Nn];return mn=nn.call.apply(nn,[this].concat(Sn)),mn.uploader=void 0,mn.saveUploader=function(_t){mn.uploader=_t},mn}return(0,re.Z)(rn,[{key:"abort",value:function(zn){this.uploader.abort(zn)}},{key:"render",value:function(){return be.createElement(we,(0,fe.Z)({},this.props,{ref:this.saveUploader}))}}]),rn}(be.Component);Ee.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:xe,onError:xe,onSuccess:xe,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Te=Ee,Ce=Te,Oe=me(5663),Me=me(73935),Ue=me(53124),je=me(98866),nt=me(10110),Ye=me(24457),Qe={icon:function(nn,rn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:rn}},{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:nn}}]}},name:"file",theme:"twotone"},Xe=Qe,ze=me(44327),ke=function(nn,rn){return be.createElement(ze.Z,(0,fe.Z)({},nn,{ref:rn,icon:Xe}))},Be=be.forwardRef(ke),qe=me(77322),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},gt=Je,We=function(nn,rn){return be.createElement(ze.Z,(0,fe.Z)({},nn,{ref:rn,icon:gt}))},$e=be.forwardRef(We),Re={icon:function(nn,rn){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:nn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:rn}},{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:rn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:rn}},{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:nn}}]}},name:"picture",theme:"twotone"},tt=Re,Ie=function(nn,rn){return be.createElement(ze.Z,(0,fe.Z)({},nn,{ref:rn,icon:tt}))},He=be.forwardRef(Ie),Ve=me(38379),Ze=me(57838),Ke=me(33603),Ae=me(96159),Le=me(71577);function Ne(Dt){return Object.assign(Object.assign({},Dt),{lastModified:Dt.lastModified,lastModifiedDate:Dt.lastModifiedDate,name:Dt.name,size:Dt.size,type:Dt.type,uid:Dt.uid,percent:0,originFileObj:Dt})}function Ge(Dt,nn){const rn=(0,_e.Z)(nn),mn=rn.findIndex(zn=>{let{uid:Sn}=zn;return Sn===Dt.uid});return mn===-1?rn.push(Dt):rn[mn]=Dt,rn}function rt(Dt,nn){const rn=Dt.uid!==void 0?"uid":"name";return nn.filter(mn=>mn[rn]===Dt[rn])[0]}function St(Dt,nn){const rn=Dt.uid!==void 0?"uid":"name",mn=nn.filter(zn=>zn[rn]!==Dt[rn]);return mn.length===nn.length?null:mn}const Pt=function(){const nn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),mn=nn[nn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(mn)||[""])[0]},At=Dt=>Dt.indexOf("image/")===0,bn=Dt=>{if(Dt.type&&!Dt.thumbUrl)return At(Dt.type);const nn=Dt.thumbUrl||Dt.url||"",rn=Pt(nn);return/^data:image\//.test(nn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(rn)?!0:!(/^data:/.test(nn)||rn)},$t=200;function ft(Dt){return new Promise(nn=>{if(!Dt.type||!At(Dt.type)){nn("");return}const rn=document.createElement("canvas");rn.width=$t,rn.height=$t,rn.style.cssText=`position: fixed; left: 0; top: 0; width: ${$t}px; height: ${$t}px; z-index: 9999; display: none;`,document.body.appendChild(rn);const mn=rn.getContext("2d"),zn=new Image;if(zn.onload=()=>{const{width:Sn,height:Nn}=zn;let _t=$t,yr=$t,Cr=0,hr=0;Sn>Nn?(yr=Nn*($t/Sn),hr=-(yr-_t)/2):(_t=Sn*($t/Nn),Cr=-(_t-yr)/2),mn.drawImage(zn,Cr,hr,_t,yr);const So=rn.toDataURL();document.body.removeChild(rn),window.URL.revokeObjectURL(zn.src),nn(So)},zn.crossOrigin="anonymous",Dt.type.startsWith("image/svg+xml")){const Sn=new FileReader;Sn.onload=()=>{Sn.result&&(zn.src=Sn.result)},Sn.readAsDataURL(Dt)}else if(Dt.type.startsWith("image/gif")){const Sn=new FileReader;Sn.onload=()=>{Sn.result&&nn(Sn.result)},Sn.readAsDataURL(Dt)}else zn.src=window.URL.createObjectURL(Dt)})}var st={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"},zt=st,ot=function(nn,rn){return be.createElement(ze.Z,(0,fe.Z)({},nn,{ref:rn,icon:zt}))},at=be.forwardRef(ot),bt={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"},Ft=bt,kt=function(nn,rn){return be.createElement(ze.Z,(0,fe.Z)({},nn,{ref:rn,icon:Ft}))},un=be.forwardRef(kt),fn=me(43481),vn=me(38703),An=me(83062),yn=be.forwardRef((Dt,nn)=>{let{prefixCls:rn,className:mn,style:zn,locale:Sn,listType:Nn,file:_t,items:yr,progress:Cr,iconRender:hr,actionIconRender:So,itemRender:wn,isImgUrl:qn,showPreviewIcon:jr,showRemoveIcon:ar,showDownloadIcon:Po,previewIcon:so,removeIcon:zo,downloadIcon:Zo,onPreview:Vo,onDownload:Ct,onClose:Et}=Dt;var Wt,gn;const{status:On}=_t,[lr,Sr]=be.useState(On);be.useEffect(()=>{On!=="removed"&&Sr(On)},[On]);const[Tr,Xr]=be.useState(!1);be.useEffect(()=>{const Ht=setTimeout(()=>{Xr(!0)},300);return()=>{clearTimeout(Ht)}},[]);const lo=hr(_t);let Yr=be.createElement("div",{className:`${rn}-icon`},lo);if(Nn==="picture"||Nn==="picture-card"||Nn==="picture-circle")if(lr==="uploading"||!_t.thumbUrl&&!_t.url){const Ht=he()(`${rn}-list-item-thumbnail`,{[`${rn}-list-item-file`]:lr!=="uploading"});Yr=be.createElement("div",{className:Ht},lo)}else{const Ht=qn!=null&&qn(_t)?be.createElement("img",{src:_t.thumbUrl||_t.url,alt:_t.name,className:`${rn}-list-item-image`,crossOrigin:_t.crossOrigin}):lo,Yt=he()(`${rn}-list-item-thumbnail`,{[`${rn}-list-item-file`]:qn&&!qn(_t)});Yr=be.createElement("a",{className:Yt,onClick:Kt=>Vo(_t,Kt),href:_t.url||_t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ht)}const ao=he()(`${rn}-list-item`,`${rn}-list-item-${lr}`),Co=typeof _t.linkProps=="string"?JSON.parse(_t.linkProps):_t.linkProps,Ro=ar?So((typeof zo=="function"?zo(_t):zo)||be.createElement(at,null),()=>Et(_t),rn,Sn.removeFile):null,To=Po&&lr==="done"?So((typeof Zo=="function"?Zo(_t):Zo)||be.createElement(un,null),()=>Ct(_t),rn,Sn.downloadFile):null,Uo=Nn!=="picture-card"&&Nn!=="picture-circle"&&be.createElement("span",{key:"download-delete",className:he()(`${rn}-list-item-actions`,{picture:Nn==="picture"})},To,Ro),Lo=he()(`${rn}-list-item-name`),Go=_t.url?[be.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Lo,title:_t.name},Co,{href:_t.url,onClick:Ht=>Vo(_t,Ht)}),_t.name),Uo]:[be.createElement("span",{key:"view",className:Lo,onClick:Ht=>Vo(_t,Ht),title:_t.name},_t.name),Uo],Hr={pointerEvents:"none",opacity:.5},Ot=jr?be.createElement("a",{href:_t.url||_t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:_t.url||_t.thumbUrl?void 0:Hr,onClick:Ht=>Vo(_t,Ht),title:Sn.previewFile},typeof so=="function"?so(_t):so||be.createElement(fn.Z,null)):null,Ut=(Nn==="picture-card"||Nn==="picture-circle")&&lr!=="uploading"&&be.createElement("span",{className:`${rn}-list-item-actions`},Ot,lr==="done"&&To,Ro),{getPrefixCls:Zt}=be.useContext(Ue.E_),dt=Zt(),on=be.createElement("div",{className:ao},Yr,Go,Ut,Tr&&be.createElement(Ve.default,{motionName:`${dt}-fade`,visible:lr==="uploading",motionDeadline:2e3},Ht=>{let{className:Yt}=Ht;const Kt="percent"in _t?be.createElement(vn.Z,Object.assign({},Cr,{type:"line",percent:_t.percent,"aria-label":_t["aria-label"],"aria-labelledby":_t["aria-labelledby"]})):null;return be.createElement("div",{className:he()(`${rn}-list-item-progress`,Yt)},Kt)})),Mn=_t.response&&typeof _t.response=="string"?_t.response:((Wt=_t.error)===null||Wt===void 0?void 0:Wt.statusText)||((gn=_t.error)===null||gn===void 0?void 0:gn.message)||Sn.uploadError,Hn=lr==="error"?be.createElement(An.Z,{title:Mn,getPopupContainer:Ht=>Ht.parentNode},on):on;return be.createElement("div",{className:he()(`${rn}-list-item-container`,mn),style:zn,ref:nn},wn?wn(Hn,_t,yr,{download:Ct.bind(null,_t),preview:Vo.bind(null,_t),remove:Et.bind(null,_t)}):Hn)});const cr=(Dt,nn)=>{const{listType:rn="text",previewFile:mn=ft,onPreview:zn,onDownload:Sn,onRemove:Nn,locale:_t,iconRender:yr,isImageUrl:Cr=bn,prefixCls:hr,items:So=[],showPreviewIcon:wn=!0,showRemoveIcon:qn=!0,showDownloadIcon:jr=!1,removeIcon:ar,previewIcon:Po,downloadIcon:so,progress:zo={size:[-1,2],showInfo:!1},appendAction:Zo,appendActionVisible:Vo=!0,itemRender:Ct,disabled:Et}=Dt,Wt=(0,Ze.Z)(),[gn,On]=be.useState(!1);be.useEffect(()=>{rn!=="picture"&&rn!=="picture-card"&&rn!=="picture-circle"||(So||[]).forEach(Hr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Hr.originFileObj instanceof File||Hr.originFileObj instanceof Blob)||Hr.thumbUrl!==void 0||(Hr.thumbUrl="",mn&&mn(Hr.originFileObj).then(Ot=>{Hr.thumbUrl=Ot||"",Wt()}))})},[rn,So,mn]),be.useEffect(()=>{On(!0)},[]);const lr=(Hr,Ot)=>{if(zn)return Ot==null||Ot.preventDefault(),zn(Hr)},Sr=Hr=>{typeof Sn=="function"?Sn(Hr):Hr.url&&window.open(Hr.url)},Tr=Hr=>{Nn==null||Nn(Hr)},Xr=Hr=>{if(yr)return yr(Hr,rn);const Ot=Hr.status==="uploading",Ut=Cr&&Cr(Hr)?be.createElement(He,null):be.createElement(Be,null);let Zt=Ot?be.createElement(qe.Z,null):be.createElement($e,null);return rn==="picture"?Zt=Ot?be.createElement(qe.Z,null):Ut:(rn==="picture-card"||rn==="picture-circle")&&(Zt=Ot?_t.uploading:Ut),Zt},lo=(Hr,Ot,Ut,Zt)=>{const dt={type:"text",size:"small",title:Zt,onClick:on=>{Ot(),(0,Ae.l$)(Hr)&&Hr.props.onClick&&Hr.props.onClick(on)},className:`${Ut}-list-item-action`,disabled:Et};if((0,Ae.l$)(Hr)){const on=(0,Ae.Tm)(Hr,Object.assign(Object.assign({},Hr.props),{onClick:()=>{}}));return be.createElement(Le.ZP,Object.assign({},dt,{icon:on}))}return be.createElement(Le.ZP,Object.assign({},dt),be.createElement("span",null,Hr))};be.useImperativeHandle(nn,()=>({handlePreview:lr,handleDownload:Sr}));const{getPrefixCls:Yr}=be.useContext(Ue.E_),ao=Yr("upload",hr),Co=Yr(),Ro=he()(`${ao}-list`,`${ao}-list-${rn}`),To=(0,_e.Z)(So.map(Hr=>({key:Hr.uid,file:Hr})));let Lo={motionDeadline:2e3,motionName:`${ao}-${rn==="picture-card"||rn==="picture-circle"?"animate-inline":"animate"}`,keys:To,motionAppear:gn};const Go=be.useMemo(()=>{const Hr=Object.assign({},(0,Ke.Z)(Co));return delete Hr.onAppearEnd,delete Hr.onEnterEnd,delete Hr.onLeaveEnd,Hr},[Co]);return rn!=="picture-card"&&rn!=="picture-circle"&&(Lo=Object.assign(Object.assign({},Go),Lo)),be.createElement("div",{className:Ro},be.createElement(Ve.CSSMotionList,Object.assign({},Lo,{component:!1}),Hr=>{let{key:Ot,file:Ut,className:Zt,style:dt}=Hr;return be.createElement(yn,{key:Ot,locale:_t,prefixCls:ao,className:Zt,style:dt,file:Ut,items:So,progress:zo,listType:rn,isImgUrl:Cr,showPreviewIcon:wn,showRemoveIcon:qn,showDownloadIcon:jr,removeIcon:ar,previewIcon:Po,downloadIcon:so,iconRender:Xr,actionIconRender:lo,itemRender:Ct,onPreview:lr,onDownload:Sr,onClose:Tr})}),Zo&&be.createElement(Ve.default,Object.assign({},Lo,{visible:Vo,forceRender:!0}),Hr=>{let{className:Ot,style:Ut}=Hr;return(0,Ae.Tm)(Zo,Zt=>({className:he()(Zt.className,Ot),style:Object.assign(Object.assign(Object.assign({},Ut),{pointerEvents:Ot?"none":void 0}),Zt.style)}))}))};var Gr=be.forwardRef(cr),ro=me(14747),oo=me(33507),po=me(67968),Pn=me(45503),Bn=Dt=>{const{componentCls:nn,iconCls:rn}=Dt;return{[`${nn}-wrapper`]:{[`${nn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Dt.colorFillAlter,border:`${Dt.lineWidth}px dashed ${Dt.colorBorder}`,borderRadius:Dt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Dt.motionDurationSlow}`,[nn]:{padding:`${Dt.padding}px 0`},[`${nn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${nn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${nn}-disabled):hover`]:{borderColor:Dt.colorPrimaryHover},[`p${nn}-drag-icon`]:{marginBottom:Dt.margin,[rn]:{color:Dt.colorPrimary,fontSize:Dt.uploadThumbnailSize}},[`p${nn}-text`]:{margin:`0 0 ${Dt.marginXXS}px`,color:Dt.colorTextHeading,fontSize:Dt.fontSizeLG},[`p${nn}-hint`]:{color:Dt.colorTextDescription,fontSize:Dt.fontSize},[`&${nn}-disabled`]:{cursor:"not-allowed",[`p${nn}-drag-icon ${rn},
p${nn}-text,
p${nn}-hint
`]:{color:Dt.colorTextDisabled}}}}}},Un=Dt=>{const{componentCls:nn,antCls:rn,iconCls:mn,fontSize:zn,lineHeight:Sn}=Dt,Nn=`${nn}-list-item`,_t=`${Nn}-actions`,yr=`${Nn}-action`,Cr=Math.round(zn*Sn);return{[`${nn}-wrapper`]:{[`${nn}-list`]:Object.assign(Object.assign({},(0,ro.dF)()),{lineHeight:Dt.lineHeight,[Nn]:{position:"relative",height:Dt.lineHeight*zn,marginTop:Dt.marginXS,fontSize:zn,display:"flex",alignItems:"center",transition:`background-color ${Dt.motionDurationSlow}`,"&:hover":{backgroundColor:Dt.controlItemBgHover},[`${Nn}-name`]:Object.assign(Object.assign({},ro.vS),{padding:`0 ${Dt.paddingXS}px`,lineHeight:Sn,flex:"auto",transition:`all ${Dt.motionDurationSlow}`}),[_t]:{[yr]:{opacity:0},[`${yr}${rn}-btn-sm`]:{height:Cr,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${yr}:focus-visible,
&.picture ${yr}
`]:{opacity:1},[mn]:{color:Dt.actionsColor,transition:`all ${Dt.motionDurationSlow}`},[`&:hover ${mn}`]:{color:Dt.colorText}},[`${nn}-icon ${mn}`]:{color:Dt.colorTextDescription,fontSize:zn},[`${Nn}-progress`]:{position:"absolute",bottom:-Dt.uploadProgressOffset,width:"100%",paddingInlineStart:zn+Dt.paddingXS,fontSize:zn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Nn}:hover ${yr}`]:{opacity:1,color:Dt.colorText},[`${Nn}-error`]:{color:Dt.colorError,[`${Nn}-name, ${nn}-icon ${mn}`]:{color:Dt.colorError},[_t]:{[`${mn}, ${mn}:hover`]:{color:Dt.colorError},[yr]:{opacity:1}}},[`${nn}-list-item-container`]:{transition:`opacity ${Dt.motionDurationSlow}, height ${Dt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},tr=me(45930),gr=me(16932);const Br=new tr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),dr=new tr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Rt=Dt=>{const{componentCls:nn}=Dt,rn=`${nn}-animate-inline`;return[{[`${nn}-wrapper`]:{[`${rn}-appear, ${rn}-enter, ${rn}-leave`]:{animationDuration:Dt.motionDurationSlow,animationTimingFunction:Dt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${rn}-appear, ${rn}-enter`]:{animationName:Br},[`${rn}-leave`]:{animationName:dr}}},{[`${nn}-wrapper`]:(0,gr.J$)(Dt)},Br,dr]},Mt=me(47448),Lt=me(84780);const In=Dt=>{const{componentCls:nn,iconCls:rn,uploadThumbnailSize:mn,uploadProgressOffset:zn}=Dt,Sn=`${nn}-list`,Nn=`${Sn}-item`;return{[`${nn}-wrapper`]:{[`
${Sn}${Sn}-picture,
${Sn}${Sn}-picture-card,
${Sn}${Sn}-picture-circle
`]:{[Nn]:{position:"relative",height:mn+Dt.lineWidth*2+Dt.paddingXS*2,padding:Dt.paddingXS,border:`${Dt.lineWidth}px ${Dt.lineType} ${Dt.colorBorder}`,borderRadius:Dt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Nn}-thumbnail`]:Object.assign(Object.assign({},ro.vS),{width:mn,height:mn,lineHeight:`${mn+Dt.paddingSM}px`,textAlign:"center",flex:"none",[rn]:{fontSize:Dt.fontSizeHeading2,color:Dt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Nn}-progress`]:{bottom:zn,width:`calc(100% - ${Dt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:mn+Dt.paddingXS}},[`${Nn}-error`]:{borderColor:Dt.colorError,[`${Nn}-thumbnail ${rn}`]:{[`svg path[fill='${Mt.blue[0]}']`]:{fill:Dt.colorErrorBg},[`svg path[fill='${Mt.blue.primary}']`]:{fill:Dt.colorError}}},[`${Nn}-uploading`]:{borderStyle:"dashed",[`${Nn}-name`]:{marginBottom:zn}}},[`${Sn}${Sn}-picture-circle ${Nn}`]:{[`&, &::before, ${Nn}-thumbnail`]:{borderRadius:"50%"}}}}},Gn=Dt=>{const{componentCls:nn,iconCls:rn,fontSizeLG:mn,colorTextLightSolid:zn}=Dt,Sn=`${nn}-list`,Nn=`${Sn}-item`,_t=Dt.uploadPicCardSize;return{[`
${nn}-wrapper${nn}-picture-card-wrapper,
${nn}-wrapper${nn}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,ro.dF)()),{display:"inline-block",width:"100%",[`${nn}${nn}-select`]:{width:_t,height:_t,marginInlineEnd:Dt.marginXS,marginBottom:Dt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Dt.colorFillAlter,border:`${Dt.lineWidth}px dashed ${Dt.colorBorder}`,borderRadius:Dt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Dt.motionDurationSlow}`,[`> ${nn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${nn}-disabled):hover`]:{borderColor:Dt.colorPrimary}},[`${Sn}${Sn}-picture-card, ${Sn}${Sn}-picture-circle`]:{[`${Sn}-item-container`]:{display:"inline-block",width:_t,height:_t,marginBlock:`0 ${Dt.marginXS}px`,marginInline:`0 ${Dt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Nn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Dt.paddingXS*2}px)`,height:`calc(100% - ${Dt.paddingXS*2}px)`,backgroundColor:Dt.colorBgMask,opacity:0,transition:`all ${Dt.motionDurationSlow}`,content:'" "'}},[`${Nn}:hover`]:{[`&::before, ${Nn}-actions`]:{opacity:1}},[`${Nn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Dt.motionDurationSlow}`,[`${rn}-eye, ${rn}-download, ${rn}-delete`]:{zIndex:10,width:mn,margin:`0 ${Dt.marginXXS}px`,fontSize:mn,cursor:"pointer",transition:`all ${Dt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Nn}-actions, ${Nn}-actions:hover`]:{[`${rn}-eye, ${rn}-download, ${rn}-delete`]:{color:new Lt.C(zn).setAlpha(.65).toRgbString(),"&:hover":{color:zn}}},[`${Nn}-thumbnail, ${Nn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Nn}-name`]:{display:"none",textAlign:"center"},[`${Nn}-file + ${Nn}-name`]:{position:"absolute",bottom:Dt.margin,display:"block",width:`calc(100% - ${Dt.paddingXS*2}px)`},[`${Nn}-uploading`]:{[`&${Nn}`]:{backgroundColor:Dt.colorFillAlter},[`&::before, ${rn}-eye, ${rn}-download, ${rn}-delete`]:{display:"none"}},[`${Nn}-progress`]:{bottom:Dt.marginXL,width:`calc(100% - ${Dt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${nn}-wrapper${nn}-picture-circle-wrapper`]:{[`${nn}${nn}-select`]:{borderRadius:"50%"}}}};var mr=Dt=>{const{componentCls:nn}=Dt;return{[`${nn}-rtl`]:{direction:"rtl"}}};const wr=Dt=>{const{componentCls:nn,colorTextDisabled:rn}=Dt;return{[`${nn}-wrapper`]:Object.assign(Object.assign({},(0,ro.Wf)(Dt)),{[nn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${nn}-select`]:{display:"inline-block"},[`${nn}-disabled`]:{color:rn,cursor:"not-allowed"}})}};var Rr=(0,po.Z)("Upload",Dt=>{const{fontSizeHeading3:nn,fontSize:rn,lineHeight:mn,lineWidth:zn,controlHeightLG:Sn}=Dt,Nn=Math.round(rn*mn),_t=(0,Pn.TS)(Dt,{uploadThumbnailSize:nn*2,uploadProgressOffset:Nn/2+zn,uploadPicCardSize:Sn*2.55});return[wr(_t),Bn(_t),In(_t),Gn(_t),Un(_t),Rt(_t),mr(_t),(0,oo.Z)(_t)]},Dt=>({actionsColor:Dt.colorTextDescription})),qr=function(Dt,nn,rn,mn){function zn(Sn){return Sn instanceof rn?Sn:new rn(function(Nn){Nn(Sn)})}return new(rn||(rn=Promise))(function(Sn,Nn){function _t(hr){try{Cr(mn.next(hr))}catch(So){Nn(So)}}function yr(hr){try{Cr(mn.throw(hr))}catch(So){Nn(So)}}function Cr(hr){hr.done?Sn(hr.value):zn(hr.value).then(_t,yr)}Cr((mn=mn.apply(Dt,nn||[])).next())})};const mo=`__LIST_IGNORE_${Date.now()}__`,Tn=(Dt,nn)=>{const{fileList:rn,defaultFileList:mn,onRemove:zn,showUploadList:Sn=!0,listType:Nn="text",onPreview:_t,onDownload:yr,onChange:Cr,onDrop:hr,previewFile:So,disabled:wn,locale:qn,iconRender:jr,isImageUrl:ar,progress:Po,prefixCls:so,className:zo,type:Zo="select",children:Vo,style:Ct,itemRender:Et,maxCount:Wt,data:gn={},multiple:On=!1,action:lr="",accept:Sr="",supportServerRender:Tr=!0,rootClassName:Xr}=Dt,lo=be.useContext(je.Z),Yr=wn!=null?wn:lo,[ao,Co]=(0,Oe.Z)(mn||[],{value:rn,postState:en=>en!=null?en:[]}),[Ro,To]=be.useState("drop"),Uo=be.useRef(null);be.useMemo(()=>{const en=Date.now();(rn||[]).forEach((sn,hn)=>{!sn.uid&&!Object.isFrozen(sn)&&(sn.uid=`__AUTO__${en}_${hn}__`)})},[rn]);const Lo=(en,sn,hn)=>{let cn=(0,_e.Z)(sn),jn=!1;Wt===1?cn=cn.slice(-1):Wt&&(jn=cn.length>Wt,cn=cn.slice(0,Wt)),(0,Me.flushSync)(()=>{Co(cn)});const Fn={file:en,fileList:cn};hn&&(Fn.event=hn),(!jn||cn.some(rr=>rr.uid===en.uid))&&(0,Me.flushSync)(()=>{Cr==null||Cr(Fn)})},Go=(en,sn)=>qr(void 0,void 0,void 0,function*(){const{beforeUpload:hn,transformFile:cn}=Dt;let jn=en;if(hn){const Fn=yield hn(en,sn);if(Fn===!1)return!1;if(delete en[mo],Fn===mo)return Object.defineProperty(en,mo,{value:!0,configurable:!0}),!1;typeof Fn=="object"&&Fn&&(jn=Fn)}return cn&&(jn=yield cn(jn)),jn}),Hr=en=>{const sn=en.filter(jn=>!jn.file[mo]);if(!sn.length)return;const hn=sn.map(jn=>Ne(jn.file));let cn=(0,_e.Z)(ao);hn.forEach(jn=>{cn=Ge(jn,cn)}),hn.forEach((jn,Fn)=>{let rr=jn;if(sn[Fn].parsedFile)jn.status="uploading";else{const{originFileObj:xr}=jn;let br;try{br=new File([xr],xr.name,{type:xr.type})}catch(eo){br=new Blob([xr],{type:xr.type}),br.name=xr.name,br.lastModifiedDate=new Date,br.lastModified=new Date().getTime()}br.uid=jn.uid,rr=br}Lo(rr,cn)})},Ot=(en,sn,hn)=>{try{typeof en=="string"&&(en=JSON.parse(en))}catch(Fn){}if(!rt(sn,ao))return;const cn=Ne(sn);cn.status="done",cn.percent=100,cn.response=en,cn.xhr=hn;const jn=Ge(cn,ao);Lo(cn,jn)},Ut=(en,sn)=>{if(!rt(sn,ao))return;const hn=Ne(sn);hn.status="uploading",hn.percent=en.percent;const cn=Ge(hn,ao);Lo(hn,cn,en)},Zt=(en,sn,hn)=>{if(!rt(hn,ao))return;const cn=Ne(hn);cn.error=en,cn.response=sn,cn.status="error";const jn=Ge(cn,ao);Lo(cn,jn)},dt=en=>{let sn;Promise.resolve(typeof zn=="function"?zn(en):zn).then(hn=>{var cn;if(hn===!1)return;const jn=St(en,ao);jn&&(sn=Object.assign(Object.assign({},en),{status:"removed"}),ao==null||ao.forEach(Fn=>{const rr=sn.uid!==void 0?"uid":"name";Fn[rr]===sn[rr]&&!Object.isFrozen(Fn)&&(Fn.status="removed")}),(cn=Uo.current)===null||cn===void 0||cn.abort(sn),Lo(sn,jn))})},on=en=>{To(en.type),en.type==="drop"&&(hr==null||hr(en))};be.useImperativeHandle(nn,()=>({onBatchStart:Hr,onSuccess:Ot,onProgress:Ut,onError:Zt,fileList:ao,upload:Uo.current}));const{getPrefixCls:Mn,direction:Hn,upload:Ht}=be.useContext(Ue.E_),Yt=Mn("upload",so),Kt=Object.assign(Object.assign({onBatchStart:Hr,onError:Zt,onProgress:Ut,onSuccess:Ot},Dt),{data:gn,multiple:On,action:lr,accept:Sr,supportServerRender:Tr,prefixCls:Yt,disabled:Yr,beforeUpload:Go,onChange:void 0});delete Kt.className,delete Kt.style,(!Vo||Yr)&&delete Kt.id;const[Jt,Xt]=Rr(Yt),[ln]=(0,nt.Z)("Upload",Ye.Z.Upload),{showRemoveIcon:pn,showPreviewIcon:Vn,showDownloadIcon:nr,removeIcon:Er,previewIcon:Dn,downloadIcon:fr}=typeof Sn=="boolean"?{}:Sn,ut=(en,sn)=>Sn?be.createElement(Gr,{prefixCls:Yt,listType:Nn,items:ao,previewFile:So,onPreview:_t,onDownload:yr,onRemove:dt,showRemoveIcon:!Yr&&pn,showPreviewIcon:Vn,showDownloadIcon:nr,removeIcon:Er,previewIcon:Dn,downloadIcon:fr,iconRender:jr,locale:Object.assign(Object.assign({},ln),qn),isImageUrl:ar,progress:Po,appendAction:en,appendActionVisible:sn,itemRender:Et,disabled:Yr}):en,ct=he()(`${Yt}-wrapper`,zo,Xr,Xt,Ht==null?void 0:Ht.className,{[`${Yt}-rtl`]:Hn==="rtl",[`${Yt}-picture-card-wrapper`]:Nn==="picture-card",[`${Yt}-picture-circle-wrapper`]:Nn==="picture-circle"}),wt=Object.assign(Object.assign({},Ht==null?void 0:Ht.style),Ct);if(Zo==="drag"){const en=he()(Xt,Yt,`${Yt}-drag`,{[`${Yt}-drag-uploading`]:ao.some(sn=>sn.status==="uploading"),[`${Yt}-drag-hover`]:Ro==="dragover",[`${Yt}-disabled`]:Yr,[`${Yt}-rtl`]:Hn==="rtl"});return Jt(be.createElement("span",{className:ct},be.createElement("div",{className:en,style:wt,onDrop:on,onDragOver:on,onDragLeave:on},be.createElement(Ce,Object.assign({},Kt,{ref:Uo,className:`${Yt}-btn`}),be.createElement("div",{className:`${Yt}-drag-container`},Vo))),ut()))}const Bt=he()(Yt,`${Yt}-select`,{[`${Yt}-disabled`]:Yr}),an=(en=>be.createElement("div",{className:Bt,style:en},be.createElement(Ce,Object.assign({},Kt,{ref:Uo}))))(Vo?void 0:{display:"none"});return Jt(Nn==="picture-card"||Nn==="picture-circle"?be.createElement("span",{className:ct},ut(an,!!Vo)):be.createElement("span",{className:ct},an,ut()))};var bo=be.forwardRef(Tn),ca=function(Dt,nn){var rn={};for(var mn in Dt)Object.prototype.hasOwnProperty.call(Dt,mn)&&nn.indexOf(mn)<0&&(rn[mn]=Dt[mn]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zn=0,mn=Object.getOwnPropertySymbols(Dt);zn<mn.length;zn++)nn.indexOf(mn[zn])<0&&Object.prototype.propertyIsEnumerable.call(Dt,mn[zn])&&(rn[mn[zn]]=Dt[mn[zn]]);return rn},jo=be.forwardRef((Dt,nn)=>{var{style:rn,height:mn}=Dt,zn=ca(Dt,["style","height"]);return be.createElement(bo,Object.assign({ref:nn},zn,{type:"drag",style:Object.assign(Object.assign({},rn),{height:mn})}))});const ia=bo;ia.Dragger=jo,ia.LIST_IGNORE=mo;var ho=ia},46214:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return re}});var be=me(87462),_e=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(44327),se=function(le,ce){return _e.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=_e.forwardRef(se)},55007:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return re}});var be=me(87462),_e=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(44327),se=function(le,ce){return _e.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=_e.forwardRef(se)},79269:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return re}});var be=me(87462),_e=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(44327),se=function(le,ce){return _e.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=_e.forwardRef(se)},62661:function(Tt,ht){"use strict";var me;var be=Symbol.for("react.element"),_e=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"),ce=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 ce:case ae:return x;default:switch(x=x&&x.$$typeof,x){case ie:case re:case le:case ne:case oe:case se:return x;default:return b}}case _e:return b}}}me=re,me=se,me=be,me=le,me=E,me=ne,me=oe,me=_e,me=fe,me=he,me=ce,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},ht.isMemo=function(x){return y(x)===oe},me=function(x){return y(x)===_e},me=function(x){return y(x)===fe},me=function(x){return y(x)===he},me=function(x){return y(x)===ce},me=function(x){return y(x)===ae},me=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===fe||x===he||x===ce||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},95845:function(Tt,ht,me){"use strict";Tt.exports=me(62661)},72665:function(Tt,ht){"use strict";var me;var be=typeof Symbol=="function"&&Symbol.for,_e=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,ce=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 _e:switch(de=de.type,de){case le:case ce: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 ue(de){return te(de)===ce}me=le,me=ce,me=ie,me=re,me=_e,me=ae,me=he,me=a,me=z,me=E,me=se,me=fe,me=oe,me=function(de){return ue(de)||te(de)===le},me=ue,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===_e},me=function(de){return te(de)===ae},me=function(de){return te(de)===he},me=function(de){return te(de)===a},ht.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===ce||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(Tt,ht,me){"use strict";Tt.exports=me(72665)},56261:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return pe}});var be=me(87462),_e=me(4942),E=me(45987),he=me(1413),fe=me(15671),se=me(43144),re=me(97326),ie=me(60136),le=me(51630),ce=me(94184),ae=me.n(ce),oe=me(34952),ne=me(67294),z=me(69610),a=function(ye){for(var Pe=ye.prefixCls,we=ye.level,xe=ye.isStart,Ee=ye.isEnd,Te="".concat(Pe,"-indent-unit"),Ce=[],Oe=0;Oe<we;Oe+=1){var Me;Ce.push(ne.createElement("span",{key:Oe,className:ae()(Te,(Me={},(0,_e.Z)(Me,"".concat(Te,"-start"),xe[Oe]),(0,_e.Z)(Me,"".concat(Te,"-end"),Ee[Oe]),Me))}))}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",ue="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 xe=arguments.length,Ee=new Array(xe),Te=0;Te<xe;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 Oe=we.props.context.onNodeClick;Oe(Ce,(0,b.F)(we.props)),we.isSelectable()?we.onSelect(Ce):we.onCheck(Ce)},we.onSelectorDoubleClick=function(Ce){var Oe=we.props.context.onNodeDoubleClick;Oe(Ce,(0,b.F)(we.props))},we.onSelect=function(Ce){if(!we.isDisabled()){var Oe=we.props.context.onNodeSelect;Oe(Ce,(0,b.F)(we.props))}},we.onCheck=function(Ce){if(!we.isDisabled()){var Oe=we.props,Me=Oe.disableCheckbox,Ue=Oe.checked,je=we.props.context.onNodeCheck;if(!(!we.isCheckable()||Me)){var nt=!Ue;je(Ce,(0,b.F)(we.props),nt)}}},we.onMouseEnter=function(Ce){var Oe=we.props.context.onNodeMouseEnter;Oe(Ce,(0,b.F)(we.props))},we.onMouseLeave=function(Ce){var Oe=we.props.context.onNodeMouseLeave;Oe(Ce,(0,b.F)(we.props))},we.onContextMenu=function(Ce){var Oe=we.props.context.onNodeContextMenu;Oe(Ce,(0,b.F)(we.props))},we.onDragStart=function(Ce){var Oe=we.props.context.onNodeDragStart;Ce.stopPropagation(),we.setState({dragNodeHighlight:!0}),Oe(Ce,(0,re.Z)(we));try{Ce.dataTransfer.setData("text/plain","")}catch(Me){}},we.onDragEnter=function(Ce){var Oe=we.props.context.onNodeDragEnter;Ce.preventDefault(),Ce.stopPropagation(),Oe(Ce,(0,re.Z)(we))},we.onDragOver=function(Ce){var Oe=we.props.context.onNodeDragOver;Ce.preventDefault(),Ce.stopPropagation(),Oe(Ce,(0,re.Z)(we))},we.onDragLeave=function(Ce){var Oe=we.props.context.onNodeDragLeave;Ce.stopPropagation(),Oe(Ce,(0,re.Z)(we))},we.onDragEnd=function(Ce){var Oe=we.props.context.onNodeDragEnd;Ce.stopPropagation(),we.setState({dragNodeHighlight:!1}),Oe(Ce,(0,re.Z)(we))},we.onDrop=function(Ce){var Oe=we.props.context.onNodeDrop;Ce.preventDefault(),Ce.stopPropagation(),we.setState({dragNodeHighlight:!1}),Oe(Ce,(0,re.Z)(we))},we.onExpand=function(Ce){var Oe=we.props,Me=Oe.loading,Ue=Oe.context.onNodeExpand;Me||Ue(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:ue},we.hasChildren=function(){var Ce=we.props.eventKey,Oe=we.props.context.keyEntities,Me=(0,x.Z)(Oe,Ce)||{},Ue=Me.children;return!!(Ue||[]).length},we.isLeaf=function(){var Ce=we.props,Oe=Ce.isLeaf,Me=Ce.loaded,Ue=we.props.context.loadData,je=we.hasChildren();return Oe===!1?!1:Oe||!Ue&&!je||Ue&&Me&&!je},we.isDisabled=function(){var Ce=we.props.disabled,Oe=we.props.context.disabled;return!!(Oe||Ce)},we.isCheckable=function(){var Ce=we.props.checkable,Oe=we.props.context.checkable;return!Oe||Ce===!1?!1:Oe},we.syncLoadData=function(Ce){var Oe=Ce.expanded,Me=Ce.loading,Ue=Ce.loaded,je=we.props.context,nt=je.loadData,Ye=je.onNodeLoad;Me||nt&&Oe&&!we.isLeaf()&&!we.hasChildren()&&!Ue&&Ye((0,b.F)(we.props))},we.isDraggable=function(){var Ce=we.props,Oe=Ce.data,Me=Ce.context.draggable;return!!(Me&&(!Me.nodeDraggable||Me.nodeDraggable(Oe)))},we.renderDragHandler=function(){var Ce=we.props.context,Oe=Ce.draggable,Me=Ce.prefixCls;return Oe!=null&&Oe.icon?ne.createElement("span",{className:"".concat(Me,"-draggable-icon")},Oe.icon):null},we.renderSwitcherIconDom=function(Ce){var Oe=we.props.switcherIcon,Me=we.props.context.switcherIcon,Ue=Oe||Me;return typeof Ue=="function"?Ue((0,he.Z)((0,he.Z)({},we.props),{},{isLeaf:Ce})):Ue},we.renderSwitcher=function(){var Ce=we.props.expanded,Oe=we.props.context.prefixCls;if(we.isLeaf()){var Me=we.renderSwitcherIconDom(!0);return Me!==!1?ne.createElement("span",{className:ae()("".concat(Oe,"-switcher"),"".concat(Oe,"-switcher-noop"))},Me):null}var Ue=ae()("".concat(Oe,"-switcher"),"".concat(Oe,"-switcher_").concat(Ce?te:ue)),je=we.renderSwitcherIconDom(!1);return je!==!1?ne.createElement("span",{onClick:we.onExpand,className:Ue},je):null},we.renderCheckbox=function(){var Ce=we.props,Oe=Ce.checked,Me=Ce.halfChecked,Ue=Ce.disableCheckbox,je=we.props.context.prefixCls,nt=we.isDisabled(),Ye=we.isCheckable();if(!Ye)return null;var Qe=typeof Ye!="boolean"?Ye:null;return ne.createElement("span",{className:ae()("".concat(je,"-checkbox"),Oe&&"".concat(je,"-checkbox-checked"),!Oe&&Me&&"".concat(je,"-checkbox-indeterminate"),(nt||Ue)&&"".concat(je,"-checkbox-disabled")),onClick:we.onCheck},Qe)},we.renderIcon=function(){var Ce=we.props.loading,Oe=we.props.context.prefixCls;return ne.createElement("span",{className:ae()("".concat(Oe,"-iconEle"),"".concat(Oe,"-icon__").concat(we.getNodeState()||"docu"),Ce&&"".concat(Oe,"-icon_loading"))})},we.renderSelector=function(){var Ce=we.state.dragNodeHighlight,Oe=we.props,Me=Oe.title,Ue=Me===void 0?de:Me,je=Oe.selected,nt=Oe.icon,Ye=Oe.loading,Qe=Oe.data,Xe=we.props.context,ze=Xe.prefixCls,ke=Xe.showIcon,Be=Xe.icon,qe=Xe.loadData,Je=Xe.titleRender,gt=we.isDisabled(),We="".concat(ze,"-node-content-wrapper"),$e;if(ke){var Re=nt||Be;$e=Re?ne.createElement("span",{className:ae()("".concat(ze,"-iconEle"),"".concat(ze,"-icon__customize"))},typeof Re=="function"?Re(we.props):Re):we.renderIcon()}else qe&&Ye&&($e=we.renderIcon());var tt;typeof Ue=="function"?tt=Ue(Qe):Je?tt=Je(Qe):tt=Ue;var Ie=ne.createElement("span",{className:"".concat(ze,"-title")},tt);return ne.createElement("span",{ref:we.setSelectHandle,title:typeof Ue=="string"?Ue:"",className:ae()("".concat(We),"".concat(We,"-").concat(we.getNodeState()||"normal"),!gt&&(je||Ce)&&"".concat(ze,"-node-selected")),onMouseEnter:we.onMouseEnter,onMouseLeave:we.onMouseLeave,onContextMenu:we.onContextMenu,onClick:we.onSelectorClick,onDoubleClick:we.onSelectorDoubleClick},$e,Ie,we.renderDropIndicator())},we.renderDropIndicator=function(){var Ce=we.props,Oe=Ce.disabled,Me=Ce.eventKey,Ue=we.props.context,je=Ue.draggable,nt=Ue.dropLevelOffset,Ye=Ue.dropPosition,Qe=Ue.prefixCls,Xe=Ue.indent,ze=Ue.dropIndicatorRender,ke=Ue.dragOverNodeKey,Be=Ue.direction,qe=!!je,Je=!Oe&&qe&&ke===Me,gt=Xe!=null?Xe:we.cacheIndent;return we.cacheIndent=Xe,Je?ze({dropPosition:Ye,dropLevelOffset:nt,indent:gt,prefixCls:Qe,direction:Be}):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 xe=this.props.selectable,Ee=this.props.context.selectable;return typeof xe=="boolean"?xe:Ee}},{key:"render",value:function(){var xe,Ee=this.props,Te=Ee.eventKey,Ce=Ee.className,Oe=Ee.style,Me=Ee.dragOver,Ue=Ee.dragOverGapTop,je=Ee.dragOverGapBottom,nt=Ee.isLeaf,Ye=Ee.isStart,Qe=Ee.isEnd,Xe=Ee.expanded,ze=Ee.selected,ke=Ee.checked,Be=Ee.halfChecked,qe=Ee.loading,Je=Ee.domRef,gt=Ee.active,We=Ee.data,$e=Ee.onMouseMove,Re=Ee.selectable,tt=(0,E.Z)(Ee,ee),Ie=this.props.context,He=Ie.prefixCls,Ve=Ie.filterTreeNode,Ze=Ie.keyEntities,Ke=Ie.dropContainerKey,Ae=Ie.dropTargetKey,Le=Ie.draggingNodeKey,Ne=this.isDisabled(),Ge=(0,oe.Z)(tt,{aria:!0,data:!0}),rt=(0,x.Z)(Ze,Te)||{},St=rt.level,Pt=Qe[Qe.length-1],At=this.isDraggable(),bn=!Ne&&At,$t=Le===Te,ft=Re!==void 0?{"aria-selected":!!Re}:void 0;return ne.createElement("div",(0,be.Z)({ref:Je,className:ae()(Ce,"".concat(He,"-treenode"),(xe={},(0,_e.Z)(xe,"".concat(He,"-treenode-disabled"),Ne),(0,_e.Z)(xe,"".concat(He,"-treenode-switcher-").concat(Xe?"open":"close"),!nt),(0,_e.Z)(xe,"".concat(He,"-treenode-checkbox-checked"),ke),(0,_e.Z)(xe,"".concat(He,"-treenode-checkbox-indeterminate"),Be),(0,_e.Z)(xe,"".concat(He,"-treenode-selected"),ze),(0,_e.Z)(xe,"".concat(He,"-treenode-loading"),qe),(0,_e.Z)(xe,"".concat(He,"-treenode-active"),gt),(0,_e.Z)(xe,"".concat(He,"-treenode-leaf-last"),Pt),(0,_e.Z)(xe,"".concat(He,"-treenode-draggable"),At),(0,_e.Z)(xe,"dragging",$t),(0,_e.Z)(xe,"drop-target",Ae===Te),(0,_e.Z)(xe,"drop-container",Ke===Te),(0,_e.Z)(xe,"drag-over",!Ne&&Me),(0,_e.Z)(xe,"drag-over-gap-top",!Ne&&Ue),(0,_e.Z)(xe,"drag-over-gap-bottom",!Ne&&je),(0,_e.Z)(xe,"filter-node",Ve&&Ve((0,b.F)(this.props))),xe)),style:Oe,draggable:bn,"aria-grabbed":$t,onDragStart:bn?this.onDragStart:void 0,onDragEnter:At?this.onDragEnter:void 0,onDragOver:At?this.onDragOver:void 0,onDragLeave:At?this.onDragLeave:void 0,onDrop:At?this.onDrop:void 0,onDragEnd:At?this.onDragEnd:void 0,onMouseMove:$e},ft,Ge),ne.createElement(y,{prefixCls:He,level:St,isStart:Ye,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(Tt,ht,me){"use strict";me.d(ht,{k:function(){return _e}});var be=me(67294),_e=be.createContext(null)},29873:function(Tt,ht,me){"use strict";me.d(ht,{BT:function(){return y},E6:function(){return ee},L0:function(){return ce},OM:function(){return a},_5:function(){return le},r7:function(){return te},wA:function(){return oe},yx:function(){return ae}});var be=me(74902),_e=me(71002),E=me(72978),he=me(67294),fe=me(56261),se=me(3596),re=me(83898),ie=null;function le(ue,de){if(!ue)return[];var ge=ue.slice(),ve=ge.indexOf(de);return ve>=0&&ge.splice(ve,1),ge}function ce(ue,de){var ge=(ue||[]).slice();return ge.indexOf(de)===-1&&ge.push(de),ge}function ae(ue){return ue.split("-")}function oe(ue,de){var ge=[],ve=(0,se.Z)(de,ue);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(ue){if(ue.parent){var de=ae(ue.pos);return Number(de[de.length-1])===ue.parent.children.length-1}return!1}function z(ue){var de=ae(ue.pos);return Number(de[de.length-1])===0}function a(ue,de,ge,ve,pe,Se,ye,Pe,we,xe){var Ee,Te=ue.clientX,Ce=ue.clientY,Oe=ue.target.getBoundingClientRect(),Me=Oe.top,Ue=Oe.height,je=(xe==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-Te),nt=(je-12)/ve,Ye=(0,se.Z)(Pe,ge.props.eventKey);if(Ce<Me+Ue/2){var Qe=ye.findIndex(function(Ie){return Ie.key===Ye.key}),Xe=Qe<=0?0:Qe-1,ze=ye[Xe].key;Ye=(0,se.Z)(Pe,ze)}var ke=Ye.key,Be=Ye,qe=Ye.key,Je=0,gt=0;if(!we.includes(ke))for(var We=0;We<nt&&ne(Ye);We+=1)Ye=Ye.parent,gt+=1;var $e=de.props.data,Re=Ye.node,tt=!0;return z(Ye)&&Ye.level===0&&Ce<Me+Ue/2&&Se({dragNode:$e,dropNode:Re,dropPosition:-1})&&Ye.key===ge.props.eventKey?Je=-1:(Be.children||[]).length&&we.includes(qe)?Se({dragNode:$e,dropNode:Re,dropPosition:0})?Je=0:tt=!1:gt===0?nt>-1.5?Se({dragNode:$e,dropNode:Re,dropPosition:1})?Je=1:tt=!1:Se({dragNode:$e,dropNode:Re,dropPosition:0})?Je=0:Se({dragNode:$e,dropNode:Re,dropPosition:1})?Je=1:tt=!1:Se({dragNode:$e,dropNode:Re,dropPosition:1})?Je=1:tt=!1,{dropPosition:Je,dropLevelOffset:gt,dropTargetKey:Ye.key,dropTargetPos:Ye.pos,dragOverNodeKey:qe,dropContainerKey:Je===0?null:((Ee=Ye.parent)===null||Ee===void 0?void 0:Ee.key)||null,dropAllowed:tt}}function y(ue,de){if(ue){var ge=de.multiple;return ge?ue.slice():ue.length?[ue[0]]:ue}}var x=function(de){return de};function b(ue,de){if(!ue)return[];var ge=de||{},ve=ge.processProps,pe=ve===void 0?x:ve,Se=Array.isArray(ue)?ue:[ue];return Se.map(function(ye){var Pe=ye.children,we=_objectWithoutProperties(ye,ie),xe=b(Pe,de);return React.createElement(TreeNode,_extends({key:we.key},pe(we)),xe)})}function ee(ue){if(!ue)return null;var de;if(Array.isArray(ue))de={checkedKeys:ue,halfCheckedKeys:void 0};else if((0,_e.Z)(ue)==="object")de={checkedKeys:ue.checked||void 0,halfCheckedKeys:ue.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return de}function te(ue,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(ue||[]).forEach(function(pe){ve(pe)}),(0,be.Z)(ge)}},97153:function(Tt,ht,me){"use strict";me.d(ht,{S:function(){return re}});var be=me(72978),_e=me(3596);function E(ie,le){var ce=new Set;return ie.forEach(function(ae){le.has(ae)||ce.add(ae)}),ce}function he(ie){var le=ie||{},ce=le.disabled,ae=le.disableCheckbox,oe=le.checkable;return!!(ce||ae)||oe===!1}function fe(ie,le,ce,ae){for(var oe=new Set(ie),ne=new Set,z=0;z<=ce;z+=1){var a=le.get(z)||new Set;a.forEach(function(ee){var te=ee.key,ue=ee.node,de=ee.children,ge=de===void 0?[]:de;oe.has(te)&&!ae(ue)&&ge.filter(function(ve){return!ae(ve.node)}).forEach(function(ve){oe.add(ve.key)})})}for(var y=new Set,x=ce;x>=0;x-=1){var b=le.get(x)||new Set;b.forEach(function(ee){var te=ee.parent,ue=ee.node;if(!(ae(ue)||!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,ce,ae,oe){for(var ne=new Set(ie),z=new Set(le),a=0;a<=ae;a+=1){var y=ce.get(a)||new Set;y.forEach(function(te){var ue=te.key,de=te.node,ge=te.children,ve=ge===void 0?[]:ge;!ne.has(ue)&&!z.has(ue)&&!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=ce.get(b)||new Set;ee.forEach(function(te){var ue=te.parent,de=te.node;if(!(oe(de)||!te.parent||x.has(te.parent.key))){if(oe(te.parent.node)){x.add(ue.key);return}var ge=!0,ve=!1;(ue.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(ue.key),ve&&z.add(ue.key),x.add(ue.key)}})}return{checkedKeys:Array.from(ne),halfCheckedKeys:Array.from(E(z,ne))}}function re(ie,le,ce,ae){var oe=[],ne;ae?ne=ae:ne=he;var z=new Set(ie.filter(function(b){var ee=!!(0,_e.Z)(ce,b);return ee||oe.push(b),ee})),a=new Map,y=0;Object.keys(ce).forEach(function(b){var ee=ce[b],te=ee.level,ue=a.get(te);ue||(ue=new Set,a.set(te,ue)),ue.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(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return be}});function be(_e,E){return _e[E]}},83898:function(Tt,ht,me){"use strict";me.d(ht,{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 ue}});var be=me(71002),_e=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),ce=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 xe=we[ve.key],Ee=we[ve.children];warning(xe!=null,"Tree node must have a certain key: [".concat(Pe).concat(xe,"]"));var Te=String(xe);warning(!pe.has(Te)||xe===null||xe===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,xe=we.children,Ee=(0,he.Z)(we,ae),Te=(0,E.Z)({key:Pe},Ee),Ce=ve(xe);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,xe=new Set(ve===!0?[]:ve),Ee=[];function Te(Ce){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ce.map(function(Me,Ue){for(var je=oe(Oe?Oe.pos:"0",Ue),nt=z(Me[Pe],je),Ye,Qe=0;Qe<ye.length;Qe+=1){var Xe=ye[Qe];if(Me[Xe]!==void 0){Ye=Me[Xe];break}}var ze=(0,E.Z)((0,E.Z)({},ie(Me,[].concat((0,_e.Z)(ye),[Pe,we]))),{},{title:Ye,key:nt,parent:Oe,pos:je,children:null,data:Me,isStart:[].concat((0,_e.Z)(Oe?Oe.isStart:[]),[Ue===0]),isEnd:[].concat((0,_e.Z)(Oe?Oe.isEnd:[]),[Ue===Ce.length-1])});return Ee.push(ze),ve===!0||xe.has(nt)?ze.children=Te(Me[we]||[],ze):ze.children=[],ze})}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,xe=ye.fieldNames,Ee=a(xe),Te=Ee.key,Ce=Ee.children,Oe=Pe||Ce,Me;we?typeof we=="string"?Me=function(nt){return nt[we]}:typeof we=="function"&&(Me=function(nt){return we(nt)}):Me=function(nt,Ye){return z(nt[Te],Ye)};function Ue(je,nt,Ye,Qe){var Xe=je?je[Oe]:ge,ze=je?oe(Ye.pos,nt):"0",ke=je?[].concat((0,_e.Z)(Qe),[je]):[];if(je){var Be=Me(je,ze),qe={node:je,index:nt,pos:ze,key:Be,parentPos:Ye.node?Ye.pos:null,level:Ye.level+1,nodes:ke};ve(qe)}Xe&&Xe.forEach(function(Je,gt){Ue(Je,gt,{node:je,pos:ze,level:Ye?Ye.level+1:-1},ke)})}Ue(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,xe=ve.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,Te=Pe||Ee,Ce={},Oe={},Me={posEntities:Ce,keyEntities:Oe};return pe&&(Me=pe(Me)||Me),ee(ge,function(Ue){var je=Ue.node,nt=Ue.index,Ye=Ue.pos,Qe=Ue.key,Xe=Ue.parentPos,ze=Ue.level,ke=Ue.nodes,Be={node:je,nodes:ke,index:nt,key:Qe,pos:Ye,level:ze},qe=z(Qe,Ye);Ce[Ye]=Be,Oe[qe]=Be,Be.parent=Ce[Xe],Be.parent&&(Be.parent.children=Be.parent.children||[],Be.parent.children.push(Be)),Se&&Se(Be,Me)},{externalGetKey:Te,childrenPropName:we,fieldNames:xe}),ye&&ye(Me),Me}function ue(ge,ve){var pe=ve.expandedKeys,Se=ve.selectedKeys,ye=ve.loadedKeys,Pe=ve.loadingKeys,we=ve.checkedKeys,xe=ve.halfCheckedKeys,Ee=ve.dragOverNodeKey,Te=ve.dropPosition,Ce=ve.keyEntities,Oe=(0,ce.Z)(Ce,ge),Me={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:xe.indexOf(ge)!==-1,pos:String(Oe?Oe.pos:""),dragOver:Ee===ge&&Te===0,dragOverGapTop:Ee===ge&&Te===-1,dragOverGapBottom:Ee===ge&&Te===1};return Me}function de(ge){var ve=ge.data,pe=ge.expanded,Se=ge.selected,ye=ge.checked,Pe=ge.loaded,we=ge.loading,xe=ge.halfChecked,Ee=ge.dragOver,Te=ge.dragOverGapTop,Ce=ge.dragOverGapBottom,Oe=ge.pos,Me=ge.active,Ue=ge.eventKey,je=(0,E.Z)((0,E.Z)({},ve),{},{expanded:pe,selected:Se,checked:ye,loaded:Pe,loading:we,halfChecked:xe,dragOver:Ee,dragOverGapTop:Te,dragOverGapBottom:Ce,pos:Oe,active:Me,key:Ue});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(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return ie}});var be=me(1413),_e=`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(_e," ").concat(E).split(/[\s\n]+/),fe="aria-",se="data-";function re(le,ce){return le.indexOf(ce)===0}function ie(le){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae;ce===!1?ae={aria:!0,data:!0,attr:!0}:ce===!0?ae={aria:!0}:ae=(0,be.Z)({},ce);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(Tt,ht,me){"use strict";var be={};function _e(ie,le){}function E(ie,le){}function he(){be={}}function fe(ie,le,ce){!le&&!be[ce]&&(ie(!1,ce),be[ce]=!0)}function se(ie,le){fe(_e,ie,le)}function re(ie,le){fe(E,ie,le)}ht.ZP=se},81533:function(Tt,ht){"use strict";var me;var be=typeof Symbol=="function"&&Symbol.for,_e=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,ce=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 _e:switch(de=de.type,de){case le:case ce: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 ue(de){return te(de)===ce}me=le,me=ce,me=ie,me=re,me=_e,me=ae,me=he,me=a,me=z,me=E,me=se,me=fe,me=oe,me=function(de){return ue(de)||te(de)===le},me=ue,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===_e},me=function(de){return te(de)===ae},ht.isFragment=function(de){return te(de)===he},me=function(de){return te(de)===a},ht.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===ce||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(Tt,ht,me){"use strict";Tt.exports=me(81533)},92389:function(Tt,ht){"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(_e){var E=_e.keyCode;if(_e.altKey&&!_e.ctrlKey||_e.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(_e){if(_e>=me.ZERO&&_e<=me.NINE||_e>=me.NUM_ZERO&&_e<=me.NUM_MULTIPLY||_e>=me.A&&_e<=me.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&_e===0)return!0;switch(_e){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}}};ht.Z=me},19575:function(Tt,ht,me){var be,_e;(function(E,he){Tt.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,Oe=Ee.length;Ce<Oe;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)}},ce=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ae=function(Ee){return Ee.replace(ce,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),Oe=[se.charAt(Ce>>>18),se.charAt(Ce>>>12&63),Te>=2?"=":se.charAt(Ce>>>6&63),Te>=1?"=":se.charAt(Ce&63)];return Oe.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="",Oe=0,Me=Ee.length;Oe<Me;Oe+=3){var Ue=Ee[Oe],je=Ee[Oe+1],nt=Ee[Oe+2],Ye=Ue<<16|je<<8|nt;Ce+=se.charAt(Ye>>>18)+se.charAt(Ye>>>12&63)+(typeof je!="undefined"?se.charAt(Ye>>>6&63):"=")+(typeof nt!="undefined"?se.charAt(Ye&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))}},ue=function(Ee){return Ee.replace(ee,te)},de=function(Ee){var Te=Ee.length,Ce=Te%4,Oe=(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),Me=[ie(Oe>>>16),ie(Oe>>>8&255),ie(Oe&255)];return Me.length-=[0,0,2,1][Ce],Me.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 ue(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:ue,decode:ye,noConflict:we,fromUint8Array:b,toUint8Array:Pe},typeof Object.defineProperty=="function"){var xe=function(Ee){return{value:Ee,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",xe(function(){return ye(this)})),Object.defineProperty(String.prototype,"toBase64",xe(function(Ee){return y(this,Ee)})),Object.defineProperty(String.prototype,"toBase64URI",xe(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),Tt.exports?Tt.exports.Base64=E.Base64:(be=[],_e=function(){return E.Base64}.apply(ht,be),_e!==void 0&&(Tt.exports=_e)),{Base64:E.Base64}})},26819:function(Tt,ht){"use strict";var me;var be=typeof Symbol=="function"&&Symbol.for,_e=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,ce=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 _e:switch(de=de.type,de){case le:case ce: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 ue(de){return te(de)===ce}me=le,me=ce,me=ie,me=re,me=_e,me=ae,me=he,me=a,me=z,me=E,me=se,me=fe,me=oe,me=function(de){return ue(de)||te(de)===le},me=ue,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===_e},me=function(de){return te(de)===ae},me=function(de){return te(de)===he},me=function(de){return te(de)===a},ht.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===ce||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(Tt,ht,me){"use strict";Tt.exports=me(26819)},16651:function(Tt,ht){"use strict";var me;var be=Symbol.for("react.element"),_e=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"),ce=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 ce:case ae:return x;default:switch(x=x&&x.$$typeof,x){case ie:case re:case le:case ne:case oe:case se:return x;default:return b}}case _e:return b}}}me=re,me=se,me=be,me=le,me=E,me=ne,me=oe,me=_e,me=fe,me=he,me=ce,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)===_e},me=function(x){return y(x)===fe},me=function(x){return y(x)===he},me=function(x){return y(x)===ce},me=function(x){return y(x)===ae},me=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===fe||x===he||x===ce||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(Tt,ht,me){"use strict";me(16651)},46762:function(Tt,ht){"use strict";var me;var be=Symbol.for("react.element"),_e=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"),ce=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 ce:case ae:return x;default:switch(x=x&&x.$$typeof,x){case ie:case re:case le:case ne:case oe:case se:return x;default:return b}}case _e:return b}}}me=re,me=se,me=be,me=le,me=E,me=ne,me=oe,me=_e,me=fe,me=he,me=ce,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},ht.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)===_e},me=function(x){return y(x)===fe},me=function(x){return y(x)===he},me=function(x){return y(x)===ce},me=function(x){return y(x)===ae},me=function(x){return typeof x=="string"||typeof x=="function"||x===E||x===fe||x===he||x===ce||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(Tt,ht,me){"use strict";Tt.exports=me(46762)},64217:function(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return ie}});var be=me(1413),_e=`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(_e," ").concat(E).split(/[\s\n]+/),fe="aria-",se="data-";function re(le,ce){return le.indexOf(ce)===0}function ie(le){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae;ce===!1?ae={aria:!0,data:!0,attr:!0}:ce===!0?ae={aria:!0}:ae=(0,be.Z)({},ce);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(Tt,ht,me){var be=me(62195),_e=me(39015),E=[me(19257)];Tt.exports=be.createStore(_e,E)},19257:function(Tt,ht,me){Tt.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(Tt){return Tt<10?"0"+Tt:Tt}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(Tt){return rx_escapable.lastIndex=0,rx_escapable.test(Tt)?'"'+Tt.replace(rx_escapable,function(ht){var me=meta[ht];return typeof me=="string"?me:"\\u"+("0000"+ht.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+Tt+'"'}function str(Tt,ht){var me,be,_e,E,he=gap,fe,se=ht[Tt];switch(se&&typeof se=="object"&&typeof se.toJSON=="function"&&(se=se.toJSON(Tt)),typeof rep=="function"&&(se=rep.call(ht,Tt,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 _e=fe.length===0?"[]":gap?`[
`+gap+fe.join(`,
`+gap)+`
`+he+"]":"["+fe.join(",")+"]",gap=he,_e}if(rep&&typeof rep=="object")for(E=rep.length,me=0;me<E;me+=1)typeof rep[me]=="string"&&(be=rep[me],_e=str(be,se),_e&&fe.push(quote(be)+(gap?": ":":")+_e));else for(be in se)Object.prototype.hasOwnProperty.call(se,be)&&(_e=str(be,se),_e&&fe.push(quote(be)+(gap?": ":":")+_e));return _e=fe.length===0?"{}":gap?`{
`+gap+fe.join(`,
`+gap)+`
`+he+"}":"{"+fe.join(",")+"}",gap=he,_e}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(Tt,ht,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=ht,ht&&typeof ht!="function"&&(typeof ht!="object"||typeof ht.length!="number"))throw new Error("JSON.stringify");return str("",{"":Tt})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(Tt,ht){var me,be,_e=Tt[ht];if(_e&&typeof _e=="object")for(me in _e)Object.prototype.hasOwnProperty.call(_e,me)&&(be=walk(_e,me),be!==void 0?_e[me]=be:delete _e[me]);return reviver.call(Tt,ht,_e)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(Tt){return"\\u"+("0000"+Tt.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(Tt,ht,me){var be=me(69078),_e=be.slice,E=be.pluck,he=be.each,fe=be.bind,se=be.create,re=be.isList,ie=be.isFunction,le=be.isObject;Tt.exports={createStore:oe};var ce={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(ue){try{var de="__storejs__test__";ue.write(de,de);var ge=ue.read(de)===de;return ue.remove(de),ge}catch(ve){return!1}},_assignPluginFnProp:function(ue,de){var ge=this[de];this[de]=function(){var pe=_e(arguments,0),Se=this;function ye(){if(ge)return he(arguments,function(we,xe){pe[xe]=we}),ge.apply(Se,pe)}var Pe=[ye].concat(pe);return ue.apply(Se,Pe)}},_serialize:function(ue){return JSON.stringify(ue)},_deserialize:function(ue,de){if(!ue)return de;var ge="";try{ge=JSON.parse(ue)}catch(ve){ge=ue}return ge!==void 0?ge:de},_addStorage:function(ue){this.enabled||this._testStorage(ue)&&(this.storage=ue,this.enabled=!0)},_addPlugin:function(ue){var de=this;if(re(ue)){he(ue,function(pe){de._addPlugin(pe)});return}var ge=E(this.plugins,function(pe){return ue===pe});if(!ge){if(this.plugins.push(ue),!ie(ue))throw new Error("Plugins must be function values that return objects");var ve=ue.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 "+ue.name+". Plugins should only return functions.");de._assignPluginFnProp(pe,Se)})}},addStorage:function(ue){ae("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(ue)}},te=se(ee,ce,{plugins:[]});return te.raw={},he(te,function(ue,de){ie(ue)&&(te.raw[de]=fe(te,ue))}),he(ne,function(ue){te._addStorage(ue)}),he(z,function(ue){te._addPlugin(ue)}),te}},69078:function(Tt,ht,me){var be=fe(),_e=se(),E=re(),he=typeof window!="undefined"?window:me.g;Tt.exports={assign:be,create:_e,trim:E,bind:ie,slice:le,each:ce,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 ue=1;ue<arguments.length;ue++)ce(Object(arguments[ue]),function(de,ge){x[ge]=de});return x}}function se(){if(Object.create)return function(b,ee,te,ue){var de=le(arguments,1);return be.apply(this,[Object.create(b)].concat(de))};{let x=function(){};var y=x;return function(ee,te,ue,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 ce(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(Tt,ht,me){Tt.exports=[me(39627),me(95347),me(34524),me(45580),me(58855),me(8728)]},45580:function(Tt,ht,me){var be=me(69078),_e=be.Global,E=be.trim;Tt.exports={name:"cookieStorage",read:fe,write:re,each:se,remove:ie,clearAll:le};var he=_e.document;function fe(ae){if(!ae||!ce(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||!ce(ae)||(he.cookie=escape(ae)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function le(){se(function(ae,oe){ie(oe)})}function ce(ae){return new RegExp("(?:^|;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(he.cookie)}},39627:function(Tt,ht,me){var be=me(69078),_e=be.Global;Tt.exports={name:"localStorage",read:he,write:fe,each:se,remove:re,clearAll:ie};function E(){return _e.localStorage}function he(le){return E().getItem(le)}function fe(le,ce){return E().setItem(le,ce)}function se(le){for(var ce=E().length-1;ce>=0;ce--){var ae=E().key(ce);le(he(ae),ae)}}function re(le){return E().removeItem(le)}function ie(){return E().clear()}},8728:function(Tt){Tt.exports={name:"memoryStorage",read:me,write:be,each:_e,remove:E,clearAll:he};var ht={};function me(fe){return ht[fe]}function be(fe,se){ht[fe]=se}function _e(fe){for(var se in ht)ht.hasOwnProperty(se)&&fe(ht[se],se)}function E(fe){delete ht[fe]}function he(fe){ht={}}},95347:function(Tt,ht,me){var be=me(69078),_e=be.Global;Tt.exports={name:"oldFF-globalStorage",read:he,write:fe,each:se,remove:re,clearAll:ie};var E=_e.globalStorage;function he(le){return E[le]}function fe(le,ce){E[le]=ce}function se(le){for(var ce=E.length-1;ce>=0;ce--){var ae=E.key(ce);le(E[ae],ae)}}function re(le){return E.removeItem(le)}function ie(){se(function(le,ce){delete E[le]})}},34524:function(Tt,ht,me){var be=me(69078),_e=be.Global;Tt.exports={name:"oldIE-userDataStorage",write:re,read:ie,each:le,remove:ce,clearAll:ae};var E="storejs",he=_e.document,fe=z(),se=(_e.navigator?_e.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 ce(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(Tt,ht,me){var be=me(69078),_e=be.Global;Tt.exports={name:"sessionStorage",read:he,write:fe,each:se,remove:re,clearAll:ie};function E(){return _e.sessionStorage}function he(le){return E().getItem(le)}function fe(le,ce){return E().setItem(le,ce)}function se(le){for(var ce=E().length-1;ce>=0;ce--){var ae=E().key(ce);le(he(ae),ae)}}function re(le){return E().removeItem(le)}function ie(){return E().clear()}},12320:function(Tt){(function(ht,me){if(1)Tt.exports=me();else var be,_e})(window,function(){return function(ht){var me={};function be(_e){if(me[_e])return me[_e].exports;var E=me[_e]={i:_e,l:!1,exports:{}};return ht[_e].call(E.exports,E,E.exports,be),E.l=!0,E.exports}return be.m=ht,be.c=me,be.d=function(_e,E,he){be.o(_e,E)||Object.defineProperty(_e,E,{enumerable:!0,get:he})},be.r=function(_e){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_e,"__esModule",{value:!0})},be.t=function(_e,E){if(1&E&&(_e=be(_e)),8&E||4&E&&typeof _e=="object"&&_e&&_e.__esModule)return _e;var he=Object.create(null);if(be.r(he),Object.defineProperty(he,"default",{enumerable:!0,value:_e}),2&E&&typeof _e!="string")for(var fe in _e)be.d(he,fe,function(se){return _e[se]}.bind(null,fe));return he},be.n=function(_e){var E=_e&&_e.__esModule?function(){return _e.default}:function(){return _e};return be.d(E,"a",E),E},be.o=function(_e,E){return Object.prototype.hasOwnProperty.call(_e,E)},be.p="",be(be.s=34)}([function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.forwardEvent=me.EventEmitter=void 0;var _e=function(){function E(){this._listeners=[],this._disposed=!1}return Object.defineProperty(E.prototype,"event",{get:function(){var he=this;return this._event||(this._event=function(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=_e,me.forwardEvent=function(E,he){return E(function(fe){return he.fire(fe)})}},function(ht,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 _e=be(14);me.IBufferService=_e.createDecorator("BufferService"),me.ICoreMouseService=_e.createDecorator("CoreMouseService"),me.ICoreService=_e.createDecorator("CoreService"),me.ICharsetService=_e.createDecorator("CharsetService"),me.IDirtyRowService=_e.createDecorator("DirtyRowService"),me.IInstantiationService=_e.createDecorator("InstantiationService"),me.ILogService=_e.createDecorator("LogService"),me.IOptionsService=_e.createDecorator("OptionsService"),me.IUnicodeService=_e.createDecorator("UnicodeService")},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.getDisposeArrayDisposable=me.disposeArray=me.Disposable=void 0;var _e=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=_e,me.disposeArray=E,me.getDisposeArrayDisposable=function(he){return{dispose:function(){return E(he)}}}},function(ht,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(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ie,le){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ae){ce.__proto__=ae}||function(ce,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ce[oe]=ae[oe])})(ie,le)},function(ie,le){function ce(){this.constructor=ie}_e(ie,le),ie.prototype=le===null?Object.create(le):(ce.prototype=le.prototype,new ce)});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 ce=ie!==null&&ie.apply(this,arguments)||this;return ce.content=0,ce.fg=0,ce.bg=0,ce.extended=new se.ExtendedAttrs,ce.combinedData="",ce}return E(le,ie),le.fromCharData=function(ce){var ae=new le;return ae.setFromCharData(ce),ae},le.prototype.isCombined=function(){return 2097152&this.content},le.prototype.getWidth=function(){return this.content>>22},le.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?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(ce){this.fg=ce[fe.CHAR_DATA_ATTR_INDEX],this.bg=0;var ae=!1;if(ce[fe.CHAR_DATA_CHAR_INDEX].length>2)ae=!0;else if(ce[fe.CHAR_DATA_CHAR_INDEX].length===2){var oe=ce[fe.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=oe&&oe<=56319){var ne=ce[fe.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=ne&&ne<=57343?this.content=1024*(oe-55296)+ne-56320+65536|ce[fe.CHAR_DATA_WIDTH_INDEX]<<22:ae=!0}else ae=!0}else this.content=ce[fe.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ce[fe.CHAR_DATA_WIDTH_INDEX]<<22;ae&&(this.combinedData=ce[fe.CHAR_DATA_CHAR_INDEX],this.content=2097152|ce[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(ht,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 _e=be(14);me.ICharSizeService=_e.createDecorator("CharSizeService"),me.ICoreBrowserService=_e.createDecorator("CoreBrowserService"),me.IMouseService=_e.createDecorator("MouseService"),me.IRenderService=_e.createDecorator("RenderService"),me.ISelectionService=_e.createDecorator("SelectionService"),me.ISoundService=_e.createDecorator("SoundService")},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.ExtendedAttrs=me.AttributeData=void 0;var _e=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=_e;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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.addDisposableDomListener=void 0,me.addDisposableDomListener=function(_e,E,he,fe){_e.addEventListener(E,he,fe);var se=!1;return{dispose:function(){se||(se=!0,_e.removeEventListener(E,he,fe))}}}},function(ht,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 _e=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 ce=le;ce<re;++ce){var ae=fe.charCodeAt(ce);if(55296<=ae&&ae<=56319){if(++ce>=re)return this._interim=ae,ie;var oe;56320<=(oe=fe.charCodeAt(ce))&&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=_e;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,ce,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 ue=re-4,de=z;de<re;){for(;!(!(de<ue)||128&(ie=fe[de])||128&(le=fe[de+1])||128&(ce=fe[de+2])||128&(ae=fe[de+3]));)se[oe++]=ie,se[oe++]=le,se[oe++]=ce,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&(ce=fe[de++]))!=128){de--;continue}if((ne=(15&ie)<<12|(63&le)<<6|63&ce)<2048||ne>=55296&&ne<=57343)continue;se[oe++]=ne}else if((248&ie)==240){if(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&(ce=fe[de++]))!=128){de--;continue}if(de>=re)return this.interim[0]=ie,this.interim[1]=le,this.interim[2]=ce,oe;if((192&(ae=fe[de++]))!=128){de--;continue}if((ne=(7&ie)<<18|(63&le)<<12|(63&ce)<<6|63&ae)<65536||ne>1114111)continue;se[oe++]=ne}}return oe},he}();me.Utf8ToUtf32=E},function(ht,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(ht,me,be){"use strict";var _e,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,ce,ae,oe){return oe!==void 0?"#"+se(le)+se(ce)+se(ae)+se(oe):"#"+se(le)+se(ce)+se(ae)},ie.toRgba=function(le,ce,ae,oe){return oe===void 0&&(oe=255),(le<<24|ce<<16|ae<<8|oe)>>>0}}(_e=me.channels||(me.channels={})),(E=me.color||(me.color={})).blend=function(ie,le){var ce=(255&le.rgba)/255;if(ce===1)return{css:le.css,rgba:le.rgba};var ae=le.rgba>>24&255,oe=le.rgba>>16&255,ne=le.rgba>>8&255,z=ie.rgba>>24&255,a=ie.rgba>>16&255,y=ie.rgba>>8&255,x=z+Math.round((ae-z)*ce),b=a+Math.round((oe-a)*ce),ee=y+Math.round((ne-y)*ce);return{css:_e.toCss(x,b,ee),rgba:_e.toRgba(x,b,ee)}},E.isOpaque=function(ie){return(255&ie.rgba)==255},E.ensureContrastRatio=function(ie,le,ce){var ae=fe.ensureContrastRatio(ie.rgba,le.rgba,ce);if(ae)return fe.toColor(ae>>24&255,ae>>16&255,ae>>8&255)},E.opaque=function(ie){var le=(255|ie.rgba)>>>0,ce=fe.toChannels(le),ae=ce[0],oe=ce[1],ne=ce[2];return{css:_e.toCss(ae,oe,ne),rgba:le}},E.opacity=function(ie,le){var ce=Math.round(255*le),ae=fe.toChannels(ie.rgba),oe=ae[0],ne=ae[1],z=ae[2];return{css:_e.toCss(oe,ne,z,ce),rgba:_e.toRgba(oe,ne,z,ce)}},(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(ce,ae,oe){var ne=ce/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(ce){return le(ce>>16&255,ce>>8&255,255&ce)},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 ce(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):ce(ae,oe,ne)},ie.reduceLuminance=le,ie.increaseLuminance=ce,ie.toChannels=function(ae){return[ae>>24&255,ae>>16&255,ae>>8&255,255&ae]},ie.toColor=function(ae,oe,ne){return{css:_e.toCss(ae,oe,ne),rgba:_e.toRgba(ae,oe,ne)}}}(fe=me.rgba||(me.rgba={})),me.toPaddedHex=se,me.contrastRatio=re},function(ht,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 _e=typeof navigator=="undefined",E=_e?"node":navigator.userAgent,he=_e?"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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.C1=me.C0=void 0,function(_e){_e.NUL="\0",_e.SOH="",_e.STX="",_e.ETX="",_e.EOT="",_e.ENQ="",_e.ACK="",_e.BEL="\x07",_e.BS="\b",_e.HT=" ",_e.LF=`
`,_e.VT="\v",_e.FF="\f",_e.CR="\r",_e.SO="",_e.SI="",_e.DLE="",_e.DC1="",_e.DC2="",_e.DC3="",_e.DC4="",_e.NAK="",_e.SYN="",_e.ETB="",_e.CAN="",_e.EM="",_e.SUB="",_e.ESC="\x1B",_e.FS="",_e.GS="",_e.RS="",_e.US="",_e.SP=" ",_e.DEL="\x7F"}(me.C0||(me.C0={})),function(_e){_e.PAD="\x80",_e.HOP="\x81",_e.BPH="\x82",_e.NBH="\x83",_e.IND="\x84",_e.NEL="\x85",_e.SSA="\x86",_e.ESA="\x87",_e.HTS="\x88",_e.HTJ="\x89",_e.VTS="\x8A",_e.PLD="\x8B",_e.PLU="\x8C",_e.RI="\x8D",_e.SS2="\x8E",_e.SS3="\x8F",_e.DCS="\x90",_e.PU1="\x91",_e.PU2="\x92",_e.STS="\x93",_e.CCH="\x94",_e.MW="\x95",_e.SPA="\x96",_e.EPA="\x97",_e.SOS="\x98",_e.SGCI="\x99",_e.SCI="\x9A",_e.CSI="\x9B",_e.ST="\x9C",_e.OSC="\x9D",_e.PM="\x9E",_e.APC="\x9F"}(me.C1||(me.C1={}))},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.BaseRenderLayer=void 0;var _e=be(3),E=be(9),he=be(25),fe=be(6),se=be(28),re=be(10),ie=be(17),le=function(){function ce(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 ce.prototype.dispose=function(){var ae;ie.removeElementFromParent(this._canvas),(ae=this._charAtlas)===null||ae===void 0||ae.dispose()},ce.prototype._initCanvas=function(){this._ctx=se.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},ce.prototype.onOptionsChanged=function(){},ce.prototype.onBlur=function(){},ce.prototype.onFocus=function(){},ce.prototype.onCursorMove=function(){},ce.prototype.onGridChanged=function(ae,oe){},ce.prototype.onSelectionChanged=function(ae,oe,ne){ne===void 0&&(ne=!1)},ce.prototype.setColors=function(ae){this._refreshCharAtlas(ae)},ce.prototype._setTransparency=function(ae){if(ae!==this._alpha){var oe=this._canvas;this._alpha=ae,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,oe),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},ce.prototype._refreshCharAtlas=function(ae){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=he.acquireCharAtlas(this._optionsService.options,this._rendererId,ae,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},ce.prototype.resize=function(ae){this._scaledCellWidth=ae.scaledCellWidth,this._scaledCellHeight=ae.scaledCellHeight,this._scaledCharWidth=ae.scaledCharWidth,this._scaledCharHeight=ae.scaledCharHeight,this._scaledCharLeft=ae.scaledCharLeft,this._scaledCharTop=ae.scaledCharTop,this._canvas.width=ae.scaledCanvasWidth,this._canvas.height=ae.scaledCanvasHeight,this._canvas.style.width=ae.canvasWidth+"px",this._canvas.style.height=ae.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},ce.prototype._fillCells=function(ae,oe,ne,z){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,ne*this._scaledCellWidth,z*this._scaledCellHeight)},ce.prototype._fillBottomLineAtCells=function(ae,oe,ne){ne===void 0&&(ne=1),this._ctx.fillRect(ae*this._scaledCellWidth,(oe+1)*this._scaledCellHeight-window.devicePixelRatio-1,ne*this._scaledCellWidth,window.devicePixelRatio)},ce.prototype._fillLeftLineAtCell=function(ae,oe,ne){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,window.devicePixelRatio*ne,this._scaledCellHeight)},ce.prototype._strokeRectAtCell=function(ae,oe,ne,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)},ce.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},ce.prototype._clearCells=function(ae,oe,ne,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))},ce.prototype._fillCharTrueColor=function(ae,oe,ne){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(ne),this._ctx.fillText(ae.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},ce.prototype._drawChars=function(ae,oe,ne){var 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()?_e.DEFAULT_COLOR:ae.getBgColor(),z=ae.isFgDefault()?_e.DEFAULT_COLOR:ae.getFgColor()),z+=this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&z<8?8:0,this._currentGlyphIdentifier.chars=ae.getChars()||_e.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=ae.getCode()||_e.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=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))},ce.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()},ce.prototype._clipRow=function(ae){this._ctx.beginPath(),this._ctx.rect(0,ae*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},ce.prototype._getFont=function(ae,oe){return(oe?"italic":"")+" "+(ae?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},ce.prototype._getContrastColor=function(ae){if(this._optionsService.options.minimumContrastRatio!==1){var oe=this._colors.contrastCache.getColor(ae.bg,ae.fg);if(oe!==void 0)return oe||void 0;var ne=ae.getFgColor(),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 ue=this._resolveBackgroundRgba(y,a,x),de=this._resolveForegroundRgba(z,ne,x,b),ge=re.rgba.ensureContrastRatio(ue,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)}},ce.prototype._resolveBackgroundRgba=function(ae,oe,ne){switch(ae){case 16777216:case 33554432:return this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return ne?this._colors.foreground.rgba:this._colors.background.rgba}},ce.prototype._resolveForegroundRgba=function(ae,oe,ne,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}},ce}();me.BaseRenderLayer=le},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.createDecorator=me.getServiceDependencies=me.serviceRegistry=void 0;function _e(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");_e(he,fe,re)};return he.toString=function(){return E},me.serviceRegistry.set(E,he),he}},function(ht,me,be){"use strict";function _e(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):_e(E,he,fe,se)},me.fillFallback=_e,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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.BufferLine=me.DEFAULT_ATTR_DATA=void 0;var _e=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,ce){ce===void 0&&(ce=!1),this.isWrapped=ce,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],ce=2097151&le;return[this._data[3*ie+1],2097152&le?this._combined[ie]:ce?_e.stringFromCodePoint(ce):"",le>>22,2097152&le?this._combined[ie].charCodeAt(this._combined[ie].length-1):ce]},re.prototype.set=function(ie,le){this._data[3*ie+1]=le[E.CHAR_DATA_ATTR_INDEX],le[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[ie]=le[1],this._data[3*ie+0]=2097152|ie|le[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*ie+0]=le[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|le[E.CHAR_DATA_WIDTH_INDEX]<<22},re.prototype.getWidth=function(ie){return this._data[3*ie+0]>>22},re.prototype.hasWidth=function(ie){return 12582912&this._data[3*ie+0]},re.prototype.getFg=function(ie){return this._data[3*ie+1]},re.prototype.getBg=function(ie){return this._data[3*ie+2]},re.prototype.hasContent=function(ie){return 4194303&this._data[3*ie+0]},re.prototype.getCodePoint=function(ie){var le=this._data[3*ie+0];return 2097152&le?this._combined[ie].charCodeAt(this._combined[ie].length-1):2097151&le},re.prototype.isCombined=function(ie){return 2097152&this._data[3*ie+0]},re.prototype.getString=function(ie){var le=this._data[3*ie+0];return 2097152&le?this._combined[ie]:2097151&le?_e.stringFromCodePoint(2097151&le):""},re.prototype.loadCell=function(ie,le){var ce=3*ie;return le.content=this._data[ce+0],le.fg=this._data[ce+1],le.bg=this._data[ce+2],2097152&le.content&&(le.combinedData=this._combined[ie]),268435456&le.bg&&(le.extended=this._extendedAttrs[ie]),le},re.prototype.setCell=function(ie,le){2097152&le.content&&(this._combined[ie]=le.combinedData),268435456&le.bg&&(this._extendedAttrs[ie]=le.extended),this._data[3*ie+0]=le.content,this._data[3*ie+1]=le.fg,this._data[3*ie+2]=le.bg},re.prototype.setCellFromCodePoint=function(ie,le,ce,ae,oe,ne){268435456&oe&&(this._extendedAttrs[ie]=ne),this._data[3*ie+0]=le|ce<<22,this._data[3*ie+1]=ae,this._data[3*ie+2]=oe},re.prototype.addCodepointToCell=function(ie,le){var ce=this._data[3*ie+0];2097152&ce?this._combined[ie]+=_e.stringFromCodePoint(le):(2097151&ce?(this._combined[ie]=_e.stringFromCodePoint(2097151&ce)+_e.stringFromCodePoint(le),ce&=-2097152,ce|=2097152):ce=le|1<<22,this._data[3*ie+0]=ce)},re.prototype.insertCells=function(ie,le,ce,ae){if((ie%=this.length)&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new 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,ce)}else for(ne=ie;ne<this.length;++ne)this.setCell(ne,ce);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new fe.ExtendedAttrs)},re.prototype.deleteCells=function(ie,le,ce,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,ce)}else for(ne=ie;ne<this.length;++ne)this.setCell(ne,ce);ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new 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,ce,ae){for(ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new 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++,ce)},re.prototype.resize=function(ie,le){if(ie!==this.length){if(ie>this.length){var ce=new Uint32Array(3*ie);this.length&&(3*ie<this._data.length?ce.set(this._data.subarray(0,3*ie)):ce.set(this._data)),this._data=ce;for(var ae=this.length;ae<ie;++ae)this.setCell(ae,le)}else if(ie){(ce=new Uint32Array(3*ie)).set(this._data.subarray(0,3*ie)),this._data=ce;var oe=Object.keys(this._combined);for(ae=0;ae<oe.length;ae++){var ne=parseInt(oe[ae],10);ne>=ie&&delete this._combined[ne]}}else this._data=new Uint32Array(0),this._combined={};this.length=ie}},re.prototype.fill=function(ie){this._combined={},this._extendedAttrs={};for(var le=0;le<this.length;++le)this.setCell(le,ie)},re.prototype.copyFrom=function(ie){for(var le in this.length!==ie.length?this._data=new Uint32Array(ie._data):this._data.set(ie._data),this.length=ie.length,this._combined={},ie._combined)this._combined[le]=ie._combined[le];for(var le in this._extendedAttrs={},ie._extendedAttrs)this._extendedAttrs[le]=ie._extendedAttrs[le];this.isWrapped=ie.isWrapped},re.prototype.clone=function(){var ie=new re(0);for(var le in ie._data=new Uint32Array(this._data),ie.length=this.length,this._combined)ie._combined[le]=this._combined[le];for(var le in this._extendedAttrs)ie._extendedAttrs[le]=this._extendedAttrs[le];return ie.isWrapped=this.isWrapped,ie},re.prototype.getTrimmedLength=function(){for(var ie=this.length-1;ie>=0;--ie)if(4194303&this._data[3*ie+0])return ie+(this._data[3*ie+0]>>22);return 0},re.prototype.copyCellsFrom=function(ie,le,ce,ae,oe){var ne=ie._data;if(oe)for(var z=ae-1;z>=0;z--)for(var a=0;a<3;a++)this._data[3*(ce+z)+a]=ne[3*(le+z)+a];else for(z=0;z<ae;z++)for(a=0;a<3;a++)this._data[3*(ce+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+ce]=ie._combined[x])}},re.prototype.translateToString=function(ie,le,ce){ie===void 0&&(ie=!1),le===void 0&&(le=0),ce===void 0&&(ce=this.length),ie&&(ce=Math.min(ce,this.getTrimmedLength()));for(var ae="";le<ce;){var oe=this._data[3*le+0],ne=2097151&oe;ae+=2097152&oe?this._combined[le]:ne?_e.stringFromCodePoint(ne):E.WHITESPACE_CELL_CHAR,le+=oe>>22||1}return ae},re}();me.BufferLine=se},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.removeElementFromParent=void 0,me.removeElementFromParent=function(){for(var _e,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];(_e=re==null?void 0:re.parentElement)===null||_e===void 0||_e.removeChild(re)}}},function(ht,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(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(de,ge){return(_e=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}_e(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),ce=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=ce.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}(),ue=function(de){function ge(ve,pe,Se,ye,Pe,we,xe,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=xe,Ce._unicodeService=Ee,Ce._parser=Te,Ce._parseBuffer=new Uint32Array(4096),Ce._stringDecoder=new ce.StringToUtf32,Ce._utf8Decoder=new ce.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,nt){Ce._logService.debug("Unknown CSI code: ",{identifier:Ce._parser.identToString(je),params:nt.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,nt,Ye){Ce._logService.debug("Unknown OSC code: ",{identifier:je,action:nt,data:Ye})}),Ce._parser.setDcsHandlerFallback(function(je,nt,Ye){nt==="HOOK"&&(Ye=Ye.toArray()),Ce._logService.debug("Unknown DCS code: ",{identifier:Ce._parser.identToString(je),action:nt,payload:Ye})}),Ce._parser.setPrintHandler(function(je,nt,Ye){return Ce.print(je,nt,Ye)}),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 Oe=function(je){Me._parser.setEscHandler({intermediates:"(",final:je},function(){return Ce.selectCharset("("+je)}),Me._parser.setEscHandler({intermediates:")",final:je},function(){return Ce.selectCharset(")"+je)}),Me._parser.setEscHandler({intermediates:"*",final:je},function(){return Ce.selectCharset("*"+je)}),Me._parser.setEscHandler({intermediates:"+",final:je},function(){return Ce.selectCharset("+"+je)}),Me._parser.setEscHandler({intermediates:"-",final:je},function(){return Ce.selectCharset("-"+je)}),Me._parser.setEscHandler({intermediates:".",final:je},function(){return Ce.selectCharset("."+je)}),Me._parser.setEscHandler({intermediates:"/",final:je},function(){return Ce.selectCharset("/"+je)})},Me=this;for(var Ue in se.CHARSETS)Oe(Ue);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,xe=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,xe)}else xe=typeof ve=="string"?this._stringDecoder.decode(ve,this._parseBuffer):this._utf8Decoder.decode(ve,this._parseBuffer),this._parser.parse(this._parseBuffer,xe);(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,xe=this._charsetService.charset,Ee=this._optionsService.options.screenReaderMode,Te=this._bufferService.cols,Ce=this._coreService.decPrivateModes.wraparound,Oe=this._coreService.modes.insertMode,Me=this._curAttrData,Ue=we.lines.get(we.ybase+we.y);this._dirtyRowService.markDirty(we.y),we.x&&Se-pe>0&&Ue.getWidth(we.x-1)===2&&Ue.setCellFromCodePoint(we.x-1,0,1,Me.fg,Me.bg,Me.extended);for(var je=pe;je<Se;++je){if(ye=ve[je],Pe=this._unicodeService.wcwidth(ye),ye<127&&xe){var nt=xe[String.fromCharCode(ye)];nt&&(ye=nt.charCodeAt(0))}if(Ee&&this._onA11yChar.fire(ce.stringFromCodePoint(ye)),Pe||!we.x){if(we.x+Pe-1>=Te){if(Ce){for(;we.x<Te;)Ue.setCellFromCodePoint(we.x++,0,1,Me.fg,Me.bg,Me.extended);we.x=0,we.y++,we.y===we.scrollBottom+1?(we.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(we.y>=this._bufferService.rows&&(we.y=this._bufferService.rows-1),we.lines.get(we.ybase+we.y).isWrapped=!0),Ue=we.lines.get(we.ybase+we.y)}else if(we.x=Te-1,Pe===2)continue}if(Oe&&(Ue.insertCells(we.x,Pe,we.getNullCell(Me),Me),Ue.getWidth(Te-1)===2&&Ue.setCellFromCodePoint(Te-1,ne.NULL_CELL_CODE,ne.NULL_CELL_WIDTH,Me.fg,Me.bg,Me.extended)),Ue.setCellFromCodePoint(we.x++,ye,Pe,Me.fg,Me.bg,Me.extended),Pe>0)for(;--Pe;)Ue.setCellFromCodePoint(we.x++,0,0,Me.fg,Me.bg,Me.extended)}else Ue.getWidth(we.x-1)?Ue.addCodepointToCell(we.x-1,ye):Ue.addCodepointToCell(we.x-2,ye)}Se-pe>0&&(Ue.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&&Ue.getWidth(we.x)===0&&!Ue.hasContent(we.x)&&Ue.setCellFromCodePoint(we.x,0,1,Me.fg,Me.bg,Me.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 xe=ve.getSubParams(pe+we),Ee=0;do ye[1]===5&&(Pe=1),ye[we+Ee+1+Pe]=xe[Ee];while(++Ee<xe.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=ue},function(ht,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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.Params=void 0;var _e=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=_e},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.OscHandler=me.OscParser=void 0;var _e=be(23),E=be(8),he=function(){function se(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return se.prototype.addHandler=function(re,ie){this._handlers[re]===void 0&&(this._handlers[re]=[]);var le=this._handlers[re];return le.push(ie),{dispose:function(){var ce=le.indexOf(ie);ce!==-1&&le.splice(ce,1)}}},se.prototype.setHandler=function(re,ie){this._handlers[re]=[ie]},se.prototype.clearHandler=function(re){this._handlers[re]&&delete this._handlers[re]},se.prototype.setHandlerFallback=function(re){this._handlerFb=re},se.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},se.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},se.prototype._start=function(){var re=this._handlers[this._id];if(re)for(var ie=re.length-1;ie>=0;ie--)re[ie].start();else this._handlerFb(this._id,"START")},se.prototype._put=function(re,ie,le){var ce=this._handlers[this._id];if(ce)for(var ae=ce.length-1;ae>=0;ae--)ce[ae].put(re,ie,le);else this._handlerFb(this._id,"PUT",E.utf32ToString(re,ie,le))},se.prototype._end=function(re){var ie=this._handlers[this._id];if(ie){for(var le=ie.length-1;le>=0&&ie[le].end(re)===!1;le--);for(le--;le>=0;le--)ie[le].end(!1)}else this._handlerFb(this._id,"END",re)},se.prototype.start=function(){this.reset(),this._id=-1,this._state=1},se.prototype.put=function(re,ie,le){if(this._state!==3){if(this._state===1)for(;ie<le;){var ce=re[ie++];if(ce===59){this._state=2,this._start();break}if(ce<48||57<ce)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+ce-48}this._state===2&&le-ie>0&&this._put(re,ie,le)}},se.prototype.end=function(re){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(re)),this._id=-1,this._state=0)},se}();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>_e.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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.PAYLOAD_LIMIT=void 0,me.PAYLOAD_LIMIT=1e7},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.DcsHandler=me.DcsParser=void 0;var _e=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,ce){this._handlers[le]===void 0&&(this._handlers[le]=[]);var ae=this._handlers[le];return ae.push(ce),{dispose:function(){var oe=ae.indexOf(ce);oe!==-1&&ae.splice(oe,1)}}},ie.prototype.setHandler=function(le,ce){this._handlers[le]=[ce]},ie.prototype.clearHandler=function(le){this._handlers[le]&&delete this._handlers[le]},ie.prototype.setHandlerFallback=function(le){this._handlerFb=le},ie.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=fe,this._ident=0},ie.prototype.hook=function(le,ce){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(ce);else this._handlerFb(this._ident,"HOOK",ce)},ie.prototype.put=function(le,ce,ae){if(this._active.length)for(var oe=this._active.length-1;oe>=0;oe--)this._active[oe].put(le,ce,ae);else this._handlerFb(this._ident,"PUT",_e.utf32ToString(le,ce,ae))},ie.prototype.unhook=function(le){if(this._active.length){for(var ce=this._active.length-1;ce>=0&&this._active[ce].unhook(le)===!1;ce--);for(ce--;ce>=0;ce--)this._active[ce].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",le);this._active=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,ce,ae){this._hitLimit||(this._data+=_e.utf32ToString(le,ce,ae),this._data.length>he.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ie.prototype.unhook=function(le){var ce;return this._hitLimit?ce=!1:le&&(ce=this._handler(this._data,this._params||new E.Params)),this._params=void 0,this._data="",this._hitLimit=!1,ce},ie}();me.DcsHandler=re},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.removeTerminalFromCache=me.acquireCharAtlas=void 0;var _e=be(26),E=be(43),he=[];me.acquireCharAtlas=function(fe,se,re,ie,le){for(var ce=_e.generateConfig(ie,le,fe,re),ae=0;ae<he.length;ae++){var oe=(ne=he[ae]).ownedBy.indexOf(se);if(oe>=0){if(_e.configEquals(ne.config,ce))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(_e.configEquals(ne.config,ce))return ne.ownedBy.push(se),ne.atlas}var z={atlas:new E.DynamicCharAtlas(document,ce),config:ce,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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.is256Color=me.configEquals=me.generateConfig=void 0;var _e=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<_e.DEFAULT_COLOR}},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.ColorManager=me.DEFAULT_ANSI_COLORS=void 0;var _e=be(10),E=be(45),he=_e.css.toColor("#ffffff"),fe=_e.css.toColor("#000000"),se=_e.css.toColor("#ffffff"),re=_e.css.toColor("#000000"),ie={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};me.DEFAULT_ANSI_COLORS=function(){for(var ce=[_e.css.toColor("#2e3436"),_e.css.toColor("#cc0000"),_e.css.toColor("#4e9a06"),_e.css.toColor("#c4a000"),_e.css.toColor("#3465a4"),_e.css.toColor("#75507b"),_e.css.toColor("#06989a"),_e.css.toColor("#d3d7cf"),_e.css.toColor("#555753"),_e.css.toColor("#ef2929"),_e.css.toColor("#8ae234"),_e.css.toColor("#fce94f"),_e.css.toColor("#729fcf"),_e.css.toColor("#ad7fa8"),_e.css.toColor("#34e2e2"),_e.css.toColor("#eeeeec")],ae=[0,95,135,175,215,255],oe=0;oe<216;oe++){var ne=ae[oe/36%6|0],z=ae[oe/6%6|0],a=ae[oe%6];ce.push({css:_e.channels.toCss(ne,z,a),rgba:_e.channels.toRgba(ne,z,a)})}for(oe=0;oe<24;oe++){var y=8+10*oe;ce.push({css:_e.channels.toCss(y,y,y),rgba:_e.channels.toRgba(y,y,y)})}return ce}();var le=function(){function ce(ae,oe){this.allowTransparency=oe;var ne=ae.createElement("canvas");ne.width=1,ne.height=1;var 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:_e.color.blend(fe,ie),ansi:me.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return ce.prototype.onOptionsChange=function(ae){ae==="minimumContrastRatio"&&this._contrastCache.clear()},ce.prototype.setTheme=function(ae){ae===void 0&&(ae={}),this.colors.foreground=this._parseColor(ae.foreground,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=_e.color.blend(this.colors.background,this.colors.selectionTransparent),_e.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=_e.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(ae.black,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()},ce.prototype._parseColor=function(ae,oe,ne){if(ne===void 0&&(ne=this.allowTransparency),ae===void 0)return oe;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=ae,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+ae+" is invalid using fallback "+oe.css),oe;this._ctx.fillRect(0,0,1,1);var 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(ue){return Number(ue)}),y=a[0],x=a[1],b=a[2],ee=a[3],te=Math.round(255*ee);return{rgba:_e.channels.toRgba(y,x,b,te),css:ae}}return{css:this._ctx.fillStyle,rgba:_e.channels.toRgba(z[0],z[1],z[2],z[3])}},ce}();me.ColorManager=le},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.throwIfFalsy=void 0,me.throwIfFalsy=function(_e){if(!_e)throw new Error("value must not be falsy");return _e}},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(le,ce){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,oe){ae.__proto__=oe}||function(ae,oe){for(var ne in oe)oe.hasOwnProperty(ne)&&(ae[ne]=oe[ne])})(le,ce)},function(le,ce){function ae(){this.constructor=le}_e(le,ce),le.prototype=ce===null?Object.create(ce):(ae.prototype=ce.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 ce(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(ce,le),ce.prototype.isCombined=function(){return 2097152},ce.prototype.getWidth=function(){return this._width},ce.prototype.getChars=function(){return this.combinedData},ce.prototype.getCode=function(){return 2097151},ce.prototype.setFromCharData=function(ae){throw new Error("not implemented")},ce.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},ce}(he.AttributeData);me.JoinedCellData=re;var ie=function(){function le(ce){this._bufferService=ce,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new se.CellData}return le.prototype.registerCharacterJoiner=function(ce){var ae={id:this._nextCharacterJoinerId++,handler:ce};return this._characterJoiners.push(ae),ae.id},le.prototype.deregisterCharacterJoiner=function(ce){for(var ae=0;ae<this._characterJoiners.length;ae++)if(this._characterJoiners[ae].id===ce)return this._characterJoiners.splice(ae,1),!0;return!1},le.prototype.getJoinedCharacters=function(ce){if(this._characterJoiners.length===0)return[];var ae=this._bufferService.buffer.lines.get(ce);if(!ae||ae.length===0)return[];for(var oe=[],ne=ae.translateToString(!0),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),ue=0;ue<te.length;ue++)oe.push(te[ue]);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),ue=0;ue<te.length;ue++)oe.push(te[ue]);return oe},le.prototype._getJoinedRanges=function(ce,ae,oe,ne,z){for(var a=ce.substring(ae,oe),y=this._characterJoiners[0].handler(a),x=1;x<this._characterJoiners.length;x++)for(var b=this._characterJoiners[x].handler(a),ee=0;ee<b.length;ee++)le._mergeRanges(y,b[ee]);return this._stringRangesToCellRanges(y,ne,z),y},le.prototype._stringRangesToCellRanges=function(ce,ae,oe){var ne=0,z=!1,a=0,y=ce[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=ce[++ne]))break;y[0]<=a?(y[0]=x,z=!0):z=!1}a+=ee}}y&&(y[1]=this._bufferService.cols)}},le._mergeRanges=function(ce,ae){for(var oe=!1,ne=0;ne<ce.length;ne++){var z=ce[ne];if(oe){if(ae[1]<=z[0])return ce[ne-1][1]=ae[1],ce;if(ae[1]<=z[1])return ce[ne-1][1]=Math.max(ae[1],z[1]),ce.splice(ne,1),ce;ce.splice(ne,1),ne--}else{if(ae[1]<=z[0])return ce.splice(ne,0,ae),ce;if(ae[1]<=z[1])return z[0]=Math.min(ae[0],z[0]),ce;ae[0]<z[1]&&(z[0]=Math.min(ae[0],z[0]),oe=!0)}}return oe?ce[ce.length-1][1]=ae[1]:ce.push(ae),ce},le}();me.CharacterJoinerRegistry=ie},function(ht,me,be){"use strict";function _e(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=_e,me.getCoords=function(E,he,fe,se,re,ie,le,ce){if(re){var ae=_e(E,he);if(ae)return ae[0]=Math.ceil((ae[0]+(ce?ie/2:0))/ie),ae[1]=Math.ceil(ae[1]/le),ae[0]=Math.min(Math.max(ae[0],1),fe+(ce?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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.RenderDebouncer=void 0;var _e=function(){function E(he){this._renderCallback=he}return E.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},E.prototype.refresh=function(he,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=_e},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(fe,se){return(_e=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}_e(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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.clone=void 0,me.clone=function _e(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]?_e(E[se],he-1):E[se];return fe}},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.Terminal=void 0;var _e=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 ce(a)},ne.prototype.getNullCell=function(){return new _e.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}(),ce=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 _e.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(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(Te,Ce){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Oe,Me){Oe.__proto__=Me}||function(Oe,Me){for(var Ue in Me)Me.hasOwnProperty(Ue)&&(Oe[Ue]=Me[Ue])})(Te,Ce)},function(Te,Ce){function Oe(){this.constructor=Te}_e(Te,Ce),Te.prototype=Ce===null?Object.create(Ce):(Oe.prototype=Ce.prototype,new Oe)});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),ce=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),ue=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),xe=typeof window!="undefined"?window.document:null,Ee=function(Te){function Ce(Oe){Oe===void 0&&(Oe={});var Me=Te.call(this,Oe)||this;return Me.browser=oe,Me._keyDownHandled=!1,Me._onCursorMove=new te.EventEmitter,Me._onKey=new te.EventEmitter,Me._onRender=new te.EventEmitter,Me._onSelectionChange=new te.EventEmitter,Me._onTitleChange=new te.EventEmitter,Me._onFocus=new te.EventEmitter,Me._onBlur=new te.EventEmitter,Me._onA11yCharEmitter=new te.EventEmitter,Me._onA11yTabEmitter=new te.EventEmitter,Me._setup(),Me.linkifier=Me._instantiationService.createInstance(ce.Linkifier),Me.linkifier2=Me.register(Me._instantiationService.createInstance(ye.Linkifier2)),Me.register(Me._inputHandler.onRequestBell(function(){return Me.bell()})),Me.register(Me._inputHandler.onRequestRefreshRows(function(Ue,je){return Me.refresh(Ue,je)})),Me.register(Me._inputHandler.onRequestReset(function(){return Me.reset()})),Me.register(Me._inputHandler.onRequestScroll(function(Ue,je){return Me.scroll(Ue,je||void 0)})),Me.register(Me._inputHandler.onRequestWindowsOptionsReport(function(Ue){return Me._reportWindowsOptions(Ue)})),Me.register(te.forwardEvent(Me._inputHandler.onCursorMove,Me._onCursorMove)),Me.register(te.forwardEvent(Me._inputHandler.onTitleChange,Me._onTitleChange)),Me.register(te.forwardEvent(Me._inputHandler.onA11yChar,Me._onA11yCharEmitter)),Me.register(te.forwardEvent(Me._inputHandler.onA11yTab,Me._onA11yTabEmitter)),Me.register(Me._bufferService.onResize(function(Ue){return Me._afterResize(Ue.cols,Ue.rows)})),Me}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 Oe,Me,Ue;this._isDisposed||(Te.prototype.dispose.call(this),(Oe=this._renderService)===null||Oe===void 0||Oe.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(Ue=(Me=this.element)===null||Me===void 0?void 0:Me.parentNode)===null||Ue===void 0||Ue.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(Oe){var Me,Ue,je,nt;switch(Te.prototype._updateOptions.call(this,Oe),Oe){case"fontFamily":case"fontSize":(Me=this._renderService)===null||Me===void 0||Me.clear(),(Ue=this._charSizeService)===null||Ue===void 0||Ue.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)):((nt=this._accessibilityManager)===null||nt===void 0||nt.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},Ce.prototype._onTextAreaFocus=function(Oe){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(re.C0.ESC+"[I"),this.updateCursorStyle(Oe),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},Ce.prototype.blur=function(){var Oe;return(Oe=this.textarea)===null||Oe===void 0?void 0:Oe.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 Oe=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),Me=this._bufferService.buffer.y*Oe,Ue=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=Ue+"px",this.textarea.style.top=Me+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=Oe+"px",this.textarea.style.lineHeight=Oe+"px",this.textarea.style.zIndex="-5"}},Ce.prototype._initGlobal=function(){var Oe=this;this._bindKeys(),this.register(ne.addDisposableDomListener(this.element,"copy",function(Ue){Oe.hasSelection()&&se.copyHandler(Ue,Oe._selectionService)}));var Me=function(Ue){return se.handlePasteEvent(Ue,Oe.textarea,Oe._coreService)};this.register(ne.addDisposableDomListener(this.textarea,"paste",Me)),this.register(ne.addDisposableDomListener(this.element,"paste",Me)),oe.isFirefox?this.register(ne.addDisposableDomListener(this.element,"mousedown",function(Ue){Ue.button===2&&se.rightClickHandler(Ue,Oe.textarea,Oe.screenElement,Oe._selectionService,Oe.options.rightClickSelectsWord)})):this.register(ne.addDisposableDomListener(this.element,"contextmenu",function(Ue){se.rightClickHandler(Ue,Oe.textarea,Oe.screenElement,Oe._selectionService,Oe.options.rightClickSelectsWord)})),oe.isLinux&&this.register(ne.addDisposableDomListener(this.element,"auxclick",function(Ue){Ue.button===1&&se.moveTextAreaUnderMouseCursor(Ue,Oe.textarea,Oe.screenElement)}))},Ce.prototype._bindKeys=function(){var Oe=this;this.register(ne.addDisposableDomListener(this.textarea,"keyup",function(Me){return Oe._keyUp(Me)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keydown",function(Me){return Oe._keyDown(Me)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keypress",function(Me){return Oe._keyPress(Me)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"compositionstart",function(){return Oe._compositionHelper.compositionstart()})),this.register(ne.addDisposableDomListener(this.textarea,"compositionupdate",function(Me){return Oe._compositionHelper.compositionupdate(Me)})),this.register(ne.addDisposableDomListener(this.textarea,"compositionend",function(){return Oe._compositionHelper.compositionend()})),this.register(this.onRender(function(){return Oe._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(Me){return Oe._queueLinkification(Me.start,Me.end)}))},Ce.prototype.open=function(Oe){var Me=this;if(!Oe)throw new Error("Terminal requires a parent element.");xe.body.contains(Oe)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=Oe.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"),Oe.appendChild(this.element);var Ue=xe.createDocumentFragment();this._viewportElement=xe.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),Ue.appendChild(this._viewportElement),this._viewportScrollArea=xe.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=xe.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=xe.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),Ue.appendChild(this.screenElement),this.textarea=xe.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(Ye){return Me._onTextAreaFocus(Ye)})),this.register(ne.addDisposableDomListener(this.textarea,"blur",function(){return Me._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=xe.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(Ue),this._theme=this.options.theme||this._theme,this._colorManager=new de.ColorManager(xe,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(Ye){return Me._colorManager.onOptionsChange(Ye)})),this._colorManager.setTheme(this._theme);var nt=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(ge.RenderService,nt,this.rows,this.screenElement)),this._instantiationService.setService(ve.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(Ye){return Me._onRender.fire(Ye)})),this.onResize(function(Ye){return Me._renderService.resize(Ye.cols,Ye.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(Ye,Qe){return Me.scrollLines(Ye,Qe)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return Me.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){Me._renderService.onCursorMove(),Me._syncTextArea()})),this.register(this.onResize(function(){return Me._renderService.onResize(Me.cols,Me.rows)})),this.register(this.onBlur(function(){return Me._renderService.onBlur()})),this.register(this.onFocus(function(){return Me._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return Me.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(ae.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(ve.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(Ye){return Me.scrollLines(Ye.amount,Ye.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Me._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(Ye){return Me._renderService.onSelectionChanged(Ye.start,Ye.end,Ye.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(Ye){Me.textarea.value=Ye,Me.textarea.focus(),Me.textarea.select()})),this.register(this.onScroll(function(){Me.viewport.syncScrollArea(),Me._selectionService.refresh()})),this.register(ne.addDisposableDomListener(this._viewportElement,"scroll",function(){return Me._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return Me._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(ne.addDisposableDomListener(this.element,"mousedown",function(Ye){return Me._selectionService.onMouseDown(Ye)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},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(Oe){var Me,Ue,je;this._theme=Oe,(Me=this._colorManager)===null||Me===void 0||Me.setTheme(Oe),(Ue=this._renderService)===null||Ue===void 0||Ue.setColors(this._colorManager.colors),(je=this.viewport)===null||je===void 0||je.onThemeChange(this._colorManager.colors)},Ce.prototype.bindMouse=function(){var Oe=this,Me=this,Ue=this.element;function je(ke){var Be,qe,Je=Me._mouseService.getRawByteCoords(ke,Me.screenElement,Me.cols,Me.rows);if(!Je)return!1;switch(ke.overrideType||ke.type){case"mousemove":qe=32,ke.buttons===void 0?(Be=3,ke.button!==void 0&&(Be=ke.button<3?ke.button:3)):Be=1&ke.buttons?0:4&ke.buttons?1:2&ke.buttons?2:3;break;case"mouseup":qe=0,Be=ke.button<3?ke.button:3;break;case"mousedown":qe=1,Be=ke.button<3?ke.button:3;break;case"wheel":ke.deltaY!==0&&(qe=ke.deltaY<0?0:1),Be=4;break;default:return!1}return!(qe===void 0||Be===void 0||Be>4)&&Me._coreMouseService.triggerMouseEvent({col:Je.x-33,row:Je.y-33,button:Be,action:qe,ctrl:ke.ctrlKey,alt:ke.altKey,shift:ke.shiftKey})}var nt={mouseup:null,wheel:null,mousedrag:null,mousemove:null},Ye=function(ke){return je(ke),ke.buttons||(Oe._document.removeEventListener("mouseup",nt.mouseup),nt.mousedrag&&Oe._document.removeEventListener("mousemove",nt.mousedrag)),Oe.cancel(ke)},Qe=function(ke){return je(ke),ke.preventDefault(),Oe.cancel(ke)},Xe=function(ke){ke.buttons&&je(ke)},ze=function(ke){ke.buttons||je(ke)};this.register(this._coreMouseService.onProtocolChange(function(ke){ke?(Oe.optionsService.options.logLevel==="debug"&&Oe._logService.debug("Binding to mouse events:",Oe._coreMouseService.explainEvents(ke)),Oe.element.classList.add("enable-mouse-events"),Oe._selectionService.disable()):(Oe._logService.debug("Unbinding from mouse events."),Oe.element.classList.remove("enable-mouse-events"),Oe._selectionService.enable()),8&ke?nt.mousemove||(Ue.addEventListener("mousemove",ze),nt.mousemove=ze):(Ue.removeEventListener("mousemove",nt.mousemove),nt.mousemove=null),16&ke?nt.wheel||(Ue.addEventListener("wheel",Qe,{passive:!1}),nt.wheel=Qe):(Ue.removeEventListener("wheel",nt.wheel),nt.wheel=null),2&ke?nt.mouseup||(nt.mouseup=Ye):(Oe._document.removeEventListener("mouseup",nt.mouseup),nt.mouseup=null),4&ke?nt.mousedrag||(nt.mousedrag=Xe):(Oe._document.removeEventListener("mousemove",nt.mousedrag),nt.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(ne.addDisposableDomListener(Ue,"mousedown",function(ke){if(ke.preventDefault(),Oe.focus(),Oe._coreMouseService.areMouseEventsActive&&!Oe._selectionService.shouldForceSelection(ke))return je(ke),nt.mouseup&&Oe._document.addEventListener("mouseup",nt.mouseup),nt.mousedrag&&Oe._document.addEventListener("mousemove",nt.mousedrag),Oe.cancel(ke)})),this.register(ne.addDisposableDomListener(Ue,"wheel",function(ke){if(!nt.wheel){if(!Oe.buffer.hasScrollback){var Be=Oe.viewport.getLinesScrolled(ke);if(Be===0)return;for(var qe=re.C0.ESC+(Oe._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ke.deltaY<0?"A":"B"),Je="",gt=0;gt<Math.abs(Be);gt++)Je+=qe;Oe._coreService.triggerDataEvent(Je,!0)}}},{passive:!0})),this.register(ne.addDisposableDomListener(Ue,"wheel",function(ke){if(!nt.wheel)return Oe.viewport.onWheel(ke)?void 0:Oe.cancel(ke)},{passive:!1})),this.register(ne.addDisposableDomListener(Ue,"touchstart",function(ke){if(!Oe._coreMouseService.areMouseEventsActive)return Oe.viewport.onTouchStart(ke),Oe.cancel(ke)},{passive:!0})),this.register(ne.addDisposableDomListener(Ue,"touchmove",function(ke){if(!Oe._coreMouseService.areMouseEventsActive)return Oe.viewport.onTouchMove(ke)?void 0:Oe.cancel(ke)},{passive:!1}))},Ce.prototype.refresh=function(Oe,Me){var Ue;(Ue=this._renderService)===null||Ue===void 0||Ue.refreshRows(Oe,Me)},Ce.prototype._queueLinkification=function(Oe,Me){var Ue;(Ue=this.linkifier)===null||Ue===void 0||Ue.linkifyRows(Oe,Me)},Ce.prototype.updateCursorStyle=function(Oe){this._selectionService&&this._selectionService.shouldColumnSelect(Oe)?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(Oe,Me){Te.prototype.scrollLines.call(this,Oe,Me),this.refresh(0,this.rows-1)},Ce.prototype.paste=function(Oe){se.paste(Oe,this.textarea,this._coreService)},Ce.prototype.attachCustomKeyEventHandler=function(Oe){this._customKeyEventHandler=Oe},Ce.prototype.registerLinkMatcher=function(Oe,Me,Ue){var je=this.linkifier.registerLinkMatcher(Oe,Me,Ue);return this.refresh(0,this.rows-1),je},Ce.prototype.deregisterLinkMatcher=function(Oe){this.linkifier.deregisterLinkMatcher(Oe)&&this.refresh(0,this.rows-1)},Ce.prototype.registerLinkProvider=function(Oe){return this.linkifier2.registerLinkProvider(Oe)},Ce.prototype.registerCharacterJoiner=function(Oe){var Me=this._renderService.registerCharacterJoiner(Oe);return this.refresh(0,this.rows-1),Me},Ce.prototype.deregisterCharacterJoiner=function(Oe){this._renderService.deregisterCharacterJoiner(Oe)&&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(Oe){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+Oe)},Ce.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},Ce.prototype.select=function(Oe,Me,Ue){this._selectionService.setSelection(Oe,Me,Ue)},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 Oe;(Oe=this._selectionService)===null||Oe===void 0||Oe.clearSelection()},Ce.prototype.selectAll=function(){var Oe;(Oe=this._selectionService)===null||Oe===void 0||Oe.selectAll()},Ce.prototype.selectLines=function(Oe,Me){var Ue;(Ue=this._selectionService)===null||Ue===void 0||Ue.selectLines(Oe,Me)},Ce.prototype._keyDown=function(Oe){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(Oe)===!1)return!1;if(!this._compositionHelper.keydown(Oe))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var Me=ee.evaluateKeyboardEvent(Oe,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(Oe),Me.type===3||Me.type===2){var Ue=this.rows-1;return this.scrollLines(Me.type===2?-Ue:Ue),this.cancel(Oe,!0)}return Me.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,Oe)||(Me.cancel&&this.cancel(Oe,!0),!Me.key||(Me.key!==re.C0.ETX&&Me.key!==re.C0.CR||(this.textarea.value=""),this._onKey.fire({key:Me.key,domEvent:Oe}),this._showCursor(),this._coreService.triggerDataEvent(Me.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(Oe,!0)))},Ce.prototype._isThirdLevelShift=function(Oe,Me){var Ue=Oe.isMac&&!this.options.macOptionIsMeta&&Me.altKey&&!Me.ctrlKey&&!Me.metaKey||Oe.isWindows&&Me.altKey&&Me.ctrlKey&&!Me.metaKey;return Me.type==="keypress"?Ue:Ue&&(!Me.keyCode||Me.keyCode>47)},Ce.prototype._keyUp=function(Oe){this._customKeyEventHandler&&this._customKeyEventHandler(Oe)===!1||(function(Me){return Me.keyCode===16||Me.keyCode===17||Me.keyCode===18}(Oe)||this.focus(),this.updateCursorStyle(Oe))},Ce.prototype._keyPress=function(Oe){var Me;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(Oe)===!1)return!1;if(this.cancel(Oe),Oe.charCode)Me=Oe.charCode;else if(Oe.which===null||Oe.which===void 0)Me=Oe.keyCode;else{if(Oe.which===0||Oe.charCode===0)return!1;Me=Oe.which}return!(!Me||(Oe.altKey||Oe.ctrlKey||Oe.metaKey)&&!this._isThirdLevelShift(this.browser,Oe))&&(Me=String.fromCharCode(Me),this._onKey.fire({key:Me,domEvent:Oe}),this._showCursor(),this._coreService.triggerDataEvent(Me,!0),!0)},Ce.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},Ce.prototype.resize=function(Oe,Me){Oe!==this.cols||Me!==this.rows?Te.prototype.resize.call(this,Oe,Me):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},Ce.prototype._afterResize=function(Oe,Me){var Ue,je;(Ue=this._charSizeService)===null||Ue===void 0||Ue.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 Oe=1;Oe<this.rows;Oe++)this.buffer.lines.push(this.buffer.getBlankLine(ue.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},Ce.prototype.reset=function(){var Oe,Me;this.options.rows=this.rows,this.options.cols=this.cols;var Ue=this._customKeyEventHandler;this._setup(),Te.prototype.reset.call(this),(Oe=this._selectionService)===null||Oe===void 0||Oe.reset(),this._customKeyEventHandler=Ue,this.refresh(0,this.rows-1),(Me=this.viewport)===null||Me===void 0||Me.syncScrollArea()},Ce.prototype._reportWindowsOptions=function(Oe){if(this._renderService)switch(Oe){case ie.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var Me=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),Ue=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(re.C0.ESC+"[4;"+Ue+";"+Me+"t");break;case ie.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var je=this._renderService.dimensions.scaledCellWidth.toFixed(0),nt=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(re.C0.ESC+"[6;"+nt+";"+je+"t")}},Ce.prototype.cancel=function(Oe,Me){if(this.options.cancelEvents||Me)return Oe.preventDefault(),Oe.stopPropagation(),!1},Ce.prototype._visualBell=function(){return!1},Ce.prototype._soundBell=function(){return this.options.bellStyle==="sound"},Ce}(we.CoreTerminal);me.Terminal=Ee},function(ht,me,be){"use strict";var _e=this&&this.__decorate||function(re,ie,le,ce){var ae,oe=arguments.length,ne=oe<3?ie:ce===null?ce=Object.getOwnPropertyDescriptor(ie,le):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(re,ie,le,ce);else for(var 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,ce){ie(le,ce,re)}};Object.defineProperty(me,"__esModule",{value:!0}),me.CompositionHelper=void 0;var he=be(5),fe=be(1),se=function(){function re(ie,le,ce,ae,oe,ne){this._textarea=ie,this._compositionView=le,this._bufferService=ce,this._optionsService=ae,this._charSizeService=oe,this._coreService=ne,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(re.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),re.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},re.prototype.compositionupdate=function(ie){var le=this;this._compositionView.textContent=ie.data,this.updateCompositionElements(),setTimeout(function(){le._compositionPosition.end=le._textarea.value.length},0)},re.prototype.compositionend=function(){this._finalizeComposition(!0)},re.prototype.keydown=function(ie){if(this._isComposing||this._isSendingComposition){if(ie.keyCode===229||ie.keyCode===16||ie.keyCode===17||ie.keyCode===18)return!1;this._finalizeComposition(!1)}return ie.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},re.prototype._finalizeComposition=function(ie){var le=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,ie){var ce={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(le._isSendingComposition){le._isSendingComposition=!1;var oe=void 0;oe=le._isComposing?le._textarea.value.substring(ce.start,ce.end):le._textarea.value.substring(ce.start),le._coreService.triggerDataEvent(oe,!0)}},0)}else{this._isSendingComposition=!1;var ae=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(ae,!0)}},re.prototype._handleAnyTextareaChanges=function(){var ie=this,le=this._textarea.value;setTimeout(function(){if(!ie._isComposing){var ce=ie._textarea.value.replace(le,"");ce.length>0&&ie._coreService.triggerDataEvent(ce,!0)}},0)},re.prototype.updateCompositionElements=function(ie){var le=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var ce=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),ae=this._bufferService.buffer.y*ce,oe=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=oe+"px",this._compositionView.style.top=ae+"px",this._compositionView.style.height=ce+"px",this._compositionView.style.lineHeight=ce+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var ne=this._compositionView.getBoundingClientRect();this._textarea.style.left=oe+"px",this._textarea.style.top=ae+"px",this._textarea.style.width=ne.width+"px",this._textarea.style.height=ne.height+"px",this._textarea.style.lineHeight=ne.height+"px"}ie||setTimeout(function(){return le.updateCompositionElements(!0)},0)}},re=_e([E(2,fe.IBufferService),E(3,fe.IOptionsService),E(4,he.ICharSizeService),E(5,fe.ICoreService)],re)}();me.CompositionHelper=se},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=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}_e(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),ce=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=ce},function(ht,me,be){"use strict";function _e(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=_e(se),ie.decPrivateModes.bracketedPasteMode),ie.triggerDataEvent(se,!0),re.value=""}function fe(se,re,ie){var le=ie.getBoundingClientRect(),ce=se.clientX-le.left-10,ae=se.clientY-le.top-10;re.style.width="20px",re.style.height="20px",re.style.left=ce+"px",re.style.top=ae+"px",re.style.zIndex="1000",re.focus()}Object.defineProperty(me,"__esModule",{value:!0}),me.rightClickHandler=me.moveTextAreaUnderMouseCursor=me.paste=me.handlePasteEvent=me.copyHandler=me.bracketTextForPaste=me.prepareTextForTerminal=void 0,me.prepareTextForTerminal=_e,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,ce){fe(se,re,ie),ce&&!le.isClickInSelection(se)&&le.selectWordAtCursor(se),re.value=le.selectionText,re.select()}},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=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}_e(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 ce=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,ue=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:ue,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](ue)===!1;Se--);Se<0&&this._csiHandlerFb(te<<8|a,ue),this.precedingCodepoint=0;break;case 8:do switch(a){case 59:ue.addParam(0);break;case 58:ue.addSubParam(-1);break;default:ue.addDigit(a-48)}while(++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:ue.reset(),ue.addParam(0),te=0;break;case 12:ee.hook(te<<8|a,ue);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),ue.reset(),ue.addParam(0),te=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var xe=ge+1;;xe++)if(xe>=z||(a=ne[xe])<32||a>127&&a<=159){b.put(ne,ge,xe),ge=xe-1;break}break;case 6:b.end(a!==24&&a!==26),a===27&&(y|=1),ue.reset(),ue.addParam(0),te=0,this.precedingCodepoint=0}x=15&y}this._collect=te,this.currentState=x},oe}(he.Disposable);me.EscapeSequenceParser=ce},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(b,ee){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ue){te.__proto__=ue}||function(te,ue){for(var de in ue)ue.hasOwnProperty(de)&&(te[de]=ue[de])})(b,ee)},function(b,ee){function te(){this.constructor=b}_e(b,ee),b.prototype=ee===null?Object.create(ee):(te.prototype=ee.prototype,new te)}),he=this&&this.__decorate||function(b,ee,te,ue){var de,ge=arguments.length,ve=ge<3?ee:ue===null?ue=Object.getOwnPropertyDescriptor(ee,te):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ve=Reflect.decorate(b,ee,te,ue);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,ue){ee(te,ue,b)}};Object.defineProperty(me,"__esModule",{value:!0}),me.Renderer=void 0;var se=be(41),re=be(47),ie=be(48),le=be(49),ce=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,ue,de,ge,ve,pe,Se,ye,Pe){var we=b.call(this)||this;we._colors=te,we._screenElement=ue,we._bufferService=ve,we._charSizeService=pe,we._optionsService=Se,we._id=y++,we._onRequestRedraw=new a.EventEmitter;var xe=we._optionsService.options.allowTransparency;return we._characterJoinerRegistry=new ce.CharacterJoinerRegistry(we._bufferService),we._renderLayers=[new se.TextRenderLayer(we._screenElement,0,we._colors,we._characterJoinerRegistry,xe,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,ue=this._renderLayers;te<ue.length;te++)ue[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 ue=0,de=this._renderLayers;ue<de.length;ue++){var ge=de[ue];ge.setColors(this._colors),ge.reset()}},ee.prototype.onResize=function(te,ue){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,ue,de){de===void 0&&(de=!1),this._runOperation(function(ge){return ge.onSelectionChanged(te,ue,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 ue=0,de=this._renderLayers;ue<de.length;ue++)te(de[ue])},ee.prototype.renderRows=function(te,ue){for(var de=0,ge=this._renderLayers;de<ge.length;de++)ge[de].onGridChanged(te,ue)},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(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=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}_e(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),ce=function(ae){function oe(ne,z,a,y,x,b,ee,te){var ue=ae.call(this,ne,"text",z,x,a,b,ee,te)||this;return ue._characterWidth=0,ue._characterFont="",ue._characterOverlapCache={},ue._workCell=new le.CellData,ue._state=new he.GridCache,ue._characterJoinerRegistry=y,ue}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):[],ue=0;ue<this._bufferService.cols;ue++){ee.loadCell(ue,this._workCell);var de=this._workCell,ge=!1,ve=ue;if(de.getWidth()!==0){if(te.length>0&&ue===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,ue,x),ue=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(ue,de,ge){var ve=null;ue.isInverse()?ve=ue.isFgDefault()?a._colors.foreground.css:ue.isFgRGB()?"rgb("+se.AttributeData.toColorRGB(ue.getFgColor()).join(",")+")":a._colors.ansi[ue.getFgColor()].css:ue.isBgRGB()?ve="rgb("+se.AttributeData.toColorRGB(ue.getBgColor()).join(",")+")":ue.isBgPalette()&&(ve=a._colors.ansi[ue.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=ce},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.GridCache=void 0;var _e=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=_e},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(a,y){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,b){x.__proto__=b}||function(x,b){for(var ee in b)b.hasOwnProperty(ee)&&(x[ee]=b[ee])})(a,y)},function(a,y){function x(){this.constructor=a}_e(a,y),a.prototype=y===null?Object.create(y):(x.prototype=y.prototype,new x)});Object.defineProperty(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),ce=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 ue=ee._width*ee._height;return ee._cacheMap=new re.LRUMap(ue),ee._cacheMap.prealloc(ue),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 ue=oe(b),de=this._cacheMap.get(ue);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(ue,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 ue=this._toCoordinateX(b.index),de=this._toCoordinateY(b.index);x.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,ue,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?ce.color.opaque(this._config.colors.background):x.fg<256?this._getColorFromAnsiIndex(x.fg):this._config.colors.foreground},y.prototype._drawToCache=function(x,b){this._drawToCacheCount++,this._tmpCtx.save();var 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,ue=x.italic?"italic":"";this._tmpCtx.font=ue+" "+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,xe=Pe.rgba>>>24,Ee=Pe.rgba>>>16&255,Te=Pe.rgba>>>8&255,Ce=0;Ce<ye.data.length;Ce+=4)ye.data[Ce]===xe&&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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.BaseCharAtlas=void 0;var _e=function(){function E(){this._didWarmUp=!1}return E.prototype.dispose=function(){},E.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},E.prototype._doWarmUp=function(){},E.prototype.beginFrame=function(){},E}();me.BaseCharAtlas=_e},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.ColorContrastCache=void 0;var _e=function(){function E(){this._color={},this._rgba={}}return E.prototype.clear=function(){this._color={},this._rgba={}},E.prototype.setCss=function(he,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=_e},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.LRUMap=void 0;var _e=function(){function E(he){this.capacity=he,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return E.prototype._unlinkNode=function(he){var 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=_e},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(fe,se){return(_e=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}_e(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,ce,ae,oe){var ne=fe.call(this,re,"selection",ie,!0,le,ce,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 ce=re[1]-this._bufferService.buffer.ydisp,ae=ie[1]-this._bufferService.buffer.ydisp,oe=Math.max(ce,0),ne=Math.min(ae,this._bufferService.rows-1);if(!(oe>=this._bufferService.rows||ne<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,le){var z=re[0],a=ie[0]-z,y=ne-oe+1;this._fillCells(z,oe,a,y)}else{z=ce===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,ce){return!this._areCoordinatesEqual(re,this._state.start)||!this._areCoordinatesEqual(ie,this._state.end)||le!==this._state.columnSelectMode||ce!==this._state.ydisp},se.prototype._areCoordinatesEqual=function(re,ie){return!(!re||!ie)&&re[0]===ie[0]&&re[1]===ie[1]},se}(be(13).BaseRenderLayer);me.SelectionRenderLayer=he},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ie,le){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ae){ce.__proto__=ae}||function(ce,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ce[oe]=ae[oe])})(ie,le)},function(ie,le){function ce(){this.constructor=ie}_e(ie,le),ie.prototype=le===null?Object.create(le):(ce.prototype=le.prototype,new ce)});Object.defineProperty(me,"__esModule",{value:!0}),me.CursorRenderLayer=void 0;var he=be(13),fe=be(4),se=function(ie){function le(ce,ae,oe,ne,z,a,y,x,b){var ee=ie.call(this,ce,"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(ce){ie.prototype.resize.call(this,ce),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},le.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},le.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},le.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},le.prototype.onOptionsChanged=function(){var ce,ae=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new re(this._coreBrowserService.isFocused,function(){ae._render(!0)})):((ce=this._cursorBlinkStateManager)===null||ce===void 0||ce.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},le.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},le.prototype.onGridChanged=function(ce,ae){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},le.prototype._render=function(ce){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var ae=this._bufferService.buffer.ybase+this._bufferService.buffer.y,oe=ae-this._bufferService.buffer.ydisp;if(oe<0||oe>=this._bufferService.rows)this._clearCursor();else{var ne=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(ae).loadCell(ne,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var 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(ce,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(ce,ae,this._optionsService.options.cursorWidth),this._ctx.restore()},le.prototype._renderBlockCursor=function(ce,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(ce,ae,oe.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(oe,ce,ae),this._ctx.restore()},le.prototype._renderUnderlineCursor=function(ce,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(ce,ae),this._ctx.restore()},le.prototype._renderBlurCursor=function(ce,ae,oe){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(ce,ae,oe.getWidth(),1),this._ctx.restore()},le}(he.BaseRenderLayer);me.CursorRenderLayer=se;var re=function(){function ie(le,ce){this._renderCallback=ce,this.isCursorVisible=!0,le&&this._restartInterval()}return Object.defineProperty(ie.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),ie.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},ie.prototype.restartBlinkAnimation=function(){var le=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){le._renderCallback(),le._animationFrame=void 0})))},ie.prototype._restartInterval=function(le){var ce=this;le===void 0&&(le=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(ce._animationTimeRestarted){var ae=600-(Date.now()-ce._animationTimeRestarted);if(ce._animationTimeRestarted=void 0,ae>0)return void ce._restartInterval(ae)}ce.isCursorVisible=!1,ce._animationFrame=window.requestAnimationFrame(function(){ce._renderCallback(),ce._animationFrame=void 0}),ce._blinkInterval=window.setInterval(function(){if(ce._animationTimeRestarted){var oe=600-(Date.now()-ce._animationTimeRestarted);return ce._animationTimeRestarted=void 0,void ce._restartInterval(oe)}ce.isCursorVisible=!ce.isCursorVisible,ce._animationFrame=window.requestAnimationFrame(function(){ce._renderCallback(),ce._animationFrame=void 0})},600)},le)},ie.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},ie.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},ie}()},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ie,le){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ae){ce.__proto__=ae}||function(ce,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ce[oe]=ae[oe])})(ie,le)},function(ie,le){function ce(){this.constructor=ie}_e(ie,le),ie.prototype=le===null?Object.create(le):(ce.prototype=le.prototype,new ce)});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(ce,ae,oe,ne,z,a,y,x){var b=ie.call(this,ce,"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(ce){ie.prototype.resize.call(this,ce),this._state=void 0},le.prototype.reset=function(){this._clearCurrentLink()},le.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var ce=this._state.y2-this._state.y1-1;ce>0&&this._clearCells(0,this._state.y1+1,this._state.cols,ce),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},le.prototype._onShowLinkUnderline=function(ce){if(ce.fg===fe.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:ce.fg&&se.is256Color(ce.fg)?this._ctx.fillStyle=this._colors.ansi[ce.fg].css:this._ctx.fillStyle=this._colors.foreground.css,ce.y1===ce.y2)this._fillBottomLineAtCells(ce.x1,ce.y1,ce.x2-ce.x1);else{this._fillBottomLineAtCells(ce.x1,ce.y1,ce.cols-ce.x1);for(var ae=ce.y1+1;ae<ce.y2;ae++)this._fillBottomLineAtCells(0,ae,ce.cols);this._fillBottomLineAtCells(0,ce.y2,ce.x2)}this._state=ce},le.prototype._onHideLinkUnderline=function(ce){this._clearCurrentLink()},le}(he.BaseRenderLayer);me.LinkRenderLayer=re},function(ht,me,be){"use strict";var _e=this&&this.__decorate||function(ie,le,ce,ae){var oe,ne=arguments.length,z=ne<3?le:ae===null?ae=Object.getOwnPropertyDescriptor(le,ce):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(ie,le,ce,ae);else for(var a=ie.length-1;a>=0;a--)(oe=ie[a])&&(z=(ne<3?oe(z):ne>3?oe(le,ce,z):oe(le,ce))||z);return ne>3&&z&&Object.defineProperty(le,ce,z),z},E=this&&this.__param||function(ie,le){return function(ce,ae){le(ce,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,ce,ae){this._bufferService=le,this._logService=ce,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,ce){this._element=le,this._mouseZoneManager=ce},ie.prototype.linkifyRows=function(le,ce){var ae=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=le,this._rowsToLinkify.end=ce):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,le),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,ce)),this._mouseZoneManager.clearAll(le,ce),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return ae._linkifyRows()},ie._timeBeforeLatency))},ie.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var le=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var ce=le.ydisp+this._rowsToLinkify.start;if(!(ce>=le.lines.length)){for(var ae=le.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,oe=Math.ceil(2e3/this._bufferService.cols),ne=this._bufferService.buffer.iterator(!1,ce,ae,oe,oe);ne.hasNext();)for(var 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,ce,ae){if(ae===void 0&&(ae={}),!ce)throw new Error("handler must be defined");var oe={id:this._nextLinkMatcherId++,regex:le,handler:ce,matchIndex:ae.matchIndex,validationCallback:ae.validationCallback,hoverTooltipCallback:ae.tooltipCallback,hoverLeaveCallback:ae.leaveCallback,willLinkActivate:ae.willLinkActivate,priority:ae.priority||0};return this._addLinkMatcherToList(oe),oe.id},ie.prototype._addLinkMatcherToList=function(le){if(this._linkMatchers.length!==0){for(var ce=this._linkMatchers.length-1;ce>=0;ce--)if(le.priority<=this._linkMatchers[ce].priority)return void this._linkMatchers.splice(ce+1,0,le);this._linkMatchers.splice(0,0,le)}else this._linkMatchers.push(le)},ie.prototype.deregisterLinkMatcher=function(le){for(var ce=0;ce<this._linkMatchers.length;ce++)if(this._linkMatchers[ce].id===le)return this._linkMatchers.splice(ce,1),!0;return!1},ie.prototype._doLinkifyRow=function(le,ce,ae){for(var oe,ne=this,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=ce.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 ue=te.getFg(ee[1]),de=ue?ue>>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(ce))!==null&&y()!=="break";);},ie.prototype._addLink=function(le,ce,ae,oe,ne){var z=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(ae),y=le%this._bufferService.cols,x=ce+Math.floor(le/this._bufferService.cols),b=(y+a)%this._bufferService.cols,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 ue=window.open();ue?(ue.opener=null,ue.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,ce,ae,oe,ne){return{x1:le,y1:ce,x2:ae,y2:oe,cols:this._bufferService.cols,fg:ne}},ie._timeBeforeLatency=200,ie=_e([E(0,fe.IBufferService),E(1,fe.ILogService),E(2,fe.IUnicodeService)],ie)}();me.Linkifier=se;var re=function(ie,le,ce,ae,oe,ne,z,a,y){this.x1=ie,this.y1=le,this.x2=ce,this.y2=ae,this.clickCallback=oe,this.hoverCallback=ne,this.tooltipCallback=z,this.leaveCallback=a,this.willLinkActivate=y};me.MouseZone=re},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(b,ee){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ue){te.__proto__=ue}||function(te,ue){for(var de in ue)ue.hasOwnProperty(de)&&(te[de]=ue[de])})(b,ee)},function(b,ee){function te(){this.constructor=b}_e(b,ee),b.prototype=ee===null?Object.create(ee):(te.prototype=ee.prototype,new te)}),he=this&&this.__decorate||function(b,ee,te,ue){var de,ge=arguments.length,ve=ge<3?ee:ue===null?ue=Object.getOwnPropertyDescriptor(ee,te):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ve=Reflect.decorate(b,ee,te,ue);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,ue){ee(te,ue,b)}};Object.defineProperty(me,"__esModule",{value:!0}),me.SelectionService=void 0;var se=be(11),re=be(52),ie=be(4),le=be(0),ce=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,ue,de,ge,ve,pe,Se){var ye=b.call(this)||this;return ye._element=te,ye._screenElement=ue,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,ue=this._model.finalSelectionEnd;return!(!te||!ue)&&(te[0]!==ue[0]||te[1]!==ue[1])},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionText",{get:function(){var te=this._model.finalSelectionStart,ue=this._model.finalSelectionEnd;if(!te||!ue)return"";var de=this._bufferService.buffer,ge=[];if(this._activeSelectionMode===3){if(te[0]===ue[0])return"";for(var ve=te[1];ve<=ue[1];ve++){var pe=de.translateBufferLineToString(ve,!0,te[0],ue[0]);ge.push(pe)}}else{var Se=te[1]===ue[1]?ue[0]:void 0;for(ge.push(de.translateBufferLineToString(te[1],!0,te[0],Se)),ve=te[1]+1;ve<=ue[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]!==ue[1]&&(ye=de.lines.get(ue[1]),pe=de.translateBufferLineToString(ue[1],!0,0,ue[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 ue=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return ue._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 ue=this._getMouseBufferCoords(te),de=this._model.finalSelectionStart,ge=this._model.finalSelectionEnd;return!!(de&&ge&&ue)&&this._areCoordsInSelection(ue,de,ge)},ee.prototype._areCoordsInSelection=function(te,ue,de){return te[1]>ue[1]&&te[1]<de[1]||ue[1]===de[1]&&te[1]===ue[1]&&te[0]>=ue[0]&&te[0]<de[0]||ue[1]<de[1]&&te[1]===de[1]&&te[0]<de[0]||ue[1]<de[1]&&te[1]===ue[1]&&te[0]>=ue[0]},ee.prototype.selectWordAtCursor=function(te){var ue=this._getMouseBufferCoords(te);ue&&(this._selectWordAt(ue,!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,ue){this._model.clearSelection(),te=Math.max(te,0),ue=Math.min(ue,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,te],this._model.selectionEnd=[this._bufferService.cols,ue],this.refresh(),this._onSelectionChange.fire()},ee.prototype._onTrim=function(te){this._model.onTrim(te)&&this.refresh()},ee.prototype._getMouseBufferCoords=function(te){var ue=this._mouseService.getCoords(te,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(ue)return ue[0]--,ue[1]--,ue[1]+=this._bufferService.buffer.ydisp,ue},ee.prototype._getMouseEventScrollAmount=function(te){var ue=oe.getCoordsRelativeToElement(te,this._screenElement)[1],de=this._renderService.dimensions.canvasHeight;return ue>=0&&ue<=de?0:(ue>de&&(ue-=de),ue=Math.min(Math.max(ue,-50),50),(ue/=50)/Math.abs(ue)+Math.round(14*ue))},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 ue=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);ue&&ue.length!==this._model.selectionStart[0]&&ue.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},ee.prototype._onDoubleClick=function(te){var ue=this._getMouseBufferCoords(te);ue&&(this._activeSelectionMode=1,this._selectWordAt(ue,!0))},ee.prototype._onTripleClick=function(te){var ue=this._getMouseBufferCoords(te);ue&&(this._activeSelectionMode=2,this._selectLineAt(ue[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 ue=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]++}ue&&ue[0]===this._model.selectionEnd[0]&&ue[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 ue=te.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&ue<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 ue=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=te.activeBuffer.lines.onTrim(function(de){return ue._onTrim(de)})},ee.prototype._convertViewportColToCharacterIndex=function(te,ue){for(var de=ue[0],ge=0;ue[0]>=ge;ge++){var ve=te.loadCell(ge,this._workCell).getChars().length;this._workCell.getWidth()===0?de--:ve>1&&ue[0]!==ge&&(de+=ve-1)}return de},ee.prototype.setSelection=function(te,ue,de){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[te,ue],this._model.selectionStartLength=de,this.refresh()},ee.prototype._getWordAt=function(te,ue,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,xe=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 Oe=te[0],Me=te[0];pe.getWidth(Oe)===0&&(xe++,Oe--),pe.getWidth(Me)===2&&(Ee++,Me++);var Ue=pe.getString(Me).length;for(Ue>1&&(Ce+=Ue-1,Pe+=Ue-1);Oe>0&&ye>0&&!this._isCharWordSeparator(pe.loadCell(Oe-1,this._workCell));){pe.loadCell(Oe-1,this._workCell);var je=this._workCell.getChars().length;this._workCell.getWidth()===0?(xe++,Oe--):je>1&&(Te+=je-1,ye-=je-1),ye--,Oe--}for(;Me<pe.length&&Pe+1<Se.length&&!this._isCharWordSeparator(pe.loadCell(Me+1,this._workCell));){pe.loadCell(Me+1,this._workCell);var nt=this._workCell.getChars().length;this._workCell.getWidth()===2?(Ee++,Me++):nt>1&&(Ce+=nt-1,Pe+=nt-1),Pe++,Me++}}Pe++;var Ye=ye+we-xe+Te,Qe=Math.min(this._bufferService.cols,Pe-ye+xe+Ee-Te-Ce);if(ue||Se.slice(ye,Pe).trim()!==""){if(de&&Ye===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 ze=this._getWordAt([this._bufferService.cols-1,te[1]-1],!1,!0,!1);if(ze){var ke=this._bufferService.cols-ze.start;Ye-=ke,Qe+=ke}}}if(ge&&Ye+Qe===this._bufferService.cols&&pe.getCodePoint(this._bufferService.cols-1)!==32){var Be=ve.lines.get(te[1]+1);if(Be&&Be.isWrapped&&Be.getCodePoint(0)!==32){var qe=this._getWordAt([0,te[1]+1],!1,!1,!0);qe&&(Qe+=qe.length)}}return{start:Ye,length:Qe}}}}},ee.prototype._selectWordAt=function(te,ue){var de=this._getWordAt(te,ue);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 ue=this._getWordAt(te,!0);if(ue){for(var de=te[1];ue.start<0;)ue.start+=this._bufferService.cols,de--;if(!this._model.areSelectionValuesReversed())for(;ue.start+ue.length>this._bufferService.cols;)ue.length-=this._bufferService.cols,de++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?ue.start:ue.start+ue.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 ue=this._bufferService.buffer.getWrappedRangeForLine(te);this._model.selectionStart=[0,ue.first],this._model.selectionEnd=[this._bufferService.cols,ue.last],this._model.selectionStartLength=0},ee=he([fe(2,ae.IBufferService),fe(3,ae.ICoreService),fe(4,ce.IMouseService),fe(5,ae.IOptionsService),fe(6,ce.IRenderService)],ee)}(z.Disposable);me.SelectionService=x},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.SelectionModel=void 0;var _e=function(){function E(he){this._bufferService=he,this.isSelectAllActive=!1,this.selectionStartLength=0}return E.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(E.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var he=this.selectionStart[0]+this.selectionStartLength;return he>this._bufferService.cols?[he%this._bufferService.cols,this.selectionStart[1]+Math.floor(he/this._bufferService.cols)]:[he,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),E.prototype.areSelectionValuesReversed=function(){var he=this.selectionStart,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=_e},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.moveToCellSequence=void 0;var _e=be(12);function E(le,ce,ae,oe){var ne=le-he(ae,le),z=ce-he(ae,ce);return ie(Math.abs(ne-z)-function(a,y,x){for(var b=0,ee=a-he(x,a),te=y-he(x,y),ue=0;ue<Math.abs(ee-te);ue++){var de=fe(a,y)==="A"?-1:1,ge=x.buffer.lines.get(ee+de*ue);ge&&ge.isWrapped&&b++}return b}(le,ce,ae),re(fe(le,ce),oe))}function he(le,ce){for(var ae=0,oe=le.buffer.lines.get(ce),ne=oe&&oe.isWrapped;ne&&ce>=0&&ce<le.rows;)ae++,ne=(oe=le.buffer.lines.get(--ce))&&oe.isWrapped;return ae}function fe(le,ce){return le>ce?"A":"B"}function se(le,ce,ae,oe,ne,z){for(var a=le,y=ce,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,ce){var ae=ce?"O":"[";return _e.C0.ESC+ae+le}function ie(le,ce){le=Math.floor(le);for(var ae="",oe=0;oe<le;oe++)ae+=ce;return ae}me.moveToCellSequence=function(le,ce,ae,oe){var ne,z=ae.buffer.x,a=ae.buffer.y;if(!ae.buffer.hasScrollback)return function(x,b,ee,te,ue,de){return E(b,te,ue,de).length===0?"":ie(se(x,b,x,b-he(ue,b),!1,ue).length,re("D",de))}(z,a,0,ce,ae,oe)+E(a,ce,ae,oe)+function(x,b,ee,te,ue,de){var ge;ge=E(b,te,ue,de).length>0?te-he(ue,te):b;var ve=te,pe=function(Se,ye,Pe,we,xe,Ee){var Te;return Te=E(Pe,we,xe,Ee).length>0?we-he(xe,we):ye,Se<Pe&&Te<=we||Se>=Pe&&Te<we?"C":"D"}(x,b,ee,te,ue,de);return ie(se(x,ge,ee,ve,pe==="C",ue).length,re(pe,de))}(z,a,le,ce,ae,oe);if(a===ce)return ne=z>le?"D":"C",ie(Math.abs(z-le),re(ne,oe));ne=a>ce?"D":"C";var y=Math.abs(a-ce);return ie(function(x,b){return b.cols-x}(a>ce?le:z,ae)+(y-1)*ae.cols+1+((a>ce?z:le)-1),re(ne,oe))}},function(ht,me,be){"use strict";var _e=this&&this.__decorate||function(se,re,ie,le){var ce,ae=arguments.length,oe=ae<3?re:le===null?le=Object.getOwnPropertyDescriptor(re,ie):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(se,re,ie,le);else for(var ne=se.length-1;ne>=0;ne--)(ce=se[ne])&&(oe=(ae<3?ce(oe):ae>3?ce(re,ie,oe):ce(re,ie))||oe);return ae>3&&oe&&Object.defineProperty(re,ie,oe),oe},E=this&&this.__param||function(se,re){return function(ie,le){re(ie,le,se)}};Object.defineProperty(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,ce=new Uint8Array(le),ae=0;ae<le;ae++)ce[ae]=ie.charCodeAt(ae);return ce.buffer},se.prototype._removeMimeType=function(re){return re.split(",")[1]},se=_e([E(0,he.IOptionsService)],se)}();me.SoundService=fe},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=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}_e(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),ce=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=ce},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(oe,ne){return(_e=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}_e(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),ce=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),ce.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&&ce.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(),ue=this._rowElements[b];ue&&(ee.length===0?ue.innerHTML="&nbsp;":ue.textContent=ee,ue.setAttribute("aria-posinset",te),ue.setAttribute("aria-setsize",x))}this._announceCharacters()},ne.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var 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(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(y,x){return(_e=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}_e(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,ue=arguments.length,de=ue<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=(ue<3?te(de):ue>3?te(x,b,de):te(x,b))||de);return ue>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),ce=be(1),ae=be(0),oe=be(10),ne=be(17),z=1,a=function(y){function x(b,ee,te,ue,de,ge,ve,pe,Se){var ye=y.call(this)||this;return ye._colors=b,ye._element=ee,ye._screenElement=te,ye._viewportElement=ue,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 ue=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=ue,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},x.prototype.setColors=function(b){this._colors=b,this._injectCss()},x.prototype._injectCss=function(){var b=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var 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,ue){ee+=b._terminalSelector+" .xterm-fg-"+ue+" { color: "+te.css+"; }"+b._terminalSelector+" .xterm-bg-"+ue+" { 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 ue=document.createElement("div");this._rowContainer.appendChild(ue),this._rowElements.push(ue)}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 ue=b[1]-this._bufferService.buffer.ydisp,de=ee[1]-this._bufferService.buffer.ydisp,ge=Math.max(ue,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=ue===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,ue){ue===void 0&&(ue=1);var de=document.createElement("div");return de.style.height=ue*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,ue=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,ue,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,ue,de,ge){for(;b!==ee||te!==ue;){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,ce.IOptionsService),fe(8,ce.IBufferService)],x)}(ie.Disposable);me.DomRenderer=a},function(ht,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 _e=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,ce,ae){this._document=le,this._optionsService=ce,this._colors=ae,this._workCell=new he.CellData}return ie.prototype.setColors=function(le){this._colors=le},ie.prototype.createRow=function(le,ce,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||ce&&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"),ce&&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 ue=this._workCell.getFgColor(),de=this._workCell.getFgColorMode(),ge=this._workCell.getBgColor(),ve=this._workCell.getBgColorMode(),pe=!!this._workCell.isInverse();if(pe){var Se=ue;ue=ge,ge=Se;var ye=de;de=ve,ve=ye}switch(de){case 16777216:case 33554432:this._workCell.isBold()&&ue<8&&this._optionsService.options.drawBoldTextInBrightColors&&(ue+=8),this._applyMinimumContrast(te,this._colors.background,this._colors.ansi[ue])||te.classList.add("xterm-fg-"+ue);break;case 50331648:var Pe=fe.rgba.toColor(ue>>16&255,ue>>8&255,255&ue);this._applyMinimumContrast(te,this._colors.background,Pe)||this._addStyle(te,"color:#"+re(ue.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(te,this._colors.background,this._colors.foreground)||pe&&te.classList.add("xterm-fg-"+_e.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-"+_e.INVERTED_DEFAULT_COLOR)}y.appendChild(te)}}return y},ie.prototype._applyMinimumContrast=function(le,ce,ae){if(this._optionsService.options.minimumContrastRatio===1)return!1;var oe=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return oe===void 0&&(oe=fe.color.ensureContrastRatio(ce,ae,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,oe!=null?oe:null)),!!oe&&(this._addStyle(le,"color:"+oe.css),!0)},ie.prototype._addStyle=function(le,ce){le.setAttribute("style",""+(le.getAttribute("style")||"")+ce+";")},ie}();function re(ie,le,ce){for(;ie.length<ce;)ie=le+ie;return ie}me.DomRendererRowFactory=se},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.evaluateKeyboardEvent=void 0;var _e=be(12),E={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};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?_e.C0.ESC+"OA":_e.C0.ESC+"[A":he.key==="UIKeyInputLeftArrow"?ie.key=fe?_e.C0.ESC+"OD":_e.C0.ESC+"[D":he.key==="UIKeyInputRightArrow"?ie.key=fe?_e.C0.ESC+"OC":_e.C0.ESC+"[C":he.key==="UIKeyInputDownArrow"&&(ie.key=fe?_e.C0.ESC+"OB":_e.C0.ESC+"[B");break;case 8:if(he.shiftKey){ie.key=_e.C0.BS;break}if(he.altKey){ie.key=_e.C0.ESC+_e.C0.DEL;break}ie.key=_e.C0.DEL;break;case 9:if(he.shiftKey){ie.key=_e.C0.ESC+"[Z";break}ie.key=_e.C0.HT,ie.cancel=!0;break;case 13:ie.key=he.altKey?_e.C0.ESC+_e.C0.CR:_e.C0.CR,ie.cancel=!0;break;case 27:ie.key=_e.C0.ESC,he.altKey&&(ie.key=_e.C0.ESC+_e.C0.ESC),ie.cancel=!0;break;case 37:if(he.metaKey)break;le?(ie.key=_e.C0.ESC+"[1;"+(le+1)+"D",ie.key===_e.C0.ESC+"[1;3D"&&(ie.key=_e.C0.ESC+(se?"b":"[1;5D"))):ie.key=fe?_e.C0.ESC+"OD":_e.C0.ESC+"[D";break;case 39:if(he.metaKey)break;le?(ie.key=_e.C0.ESC+"[1;"+(le+1)+"C",ie.key===_e.C0.ESC+"[1;3C"&&(ie.key=_e.C0.ESC+(se?"f":"[1;5C"))):ie.key=fe?_e.C0.ESC+"OC":_e.C0.ESC+"[C";break;case 38:if(he.metaKey)break;le?(ie.key=_e.C0.ESC+"[1;"+(le+1)+"A",se||ie.key!==_e.C0.ESC+"[1;3A"||(ie.key=_e.C0.ESC+"[1;5A")):ie.key=fe?_e.C0.ESC+"OA":_e.C0.ESC+"[A";break;case 40:if(he.metaKey)break;le?(ie.key=_e.C0.ESC+"[1;"+(le+1)+"B",se||ie.key!==_e.C0.ESC+"[1;3B"||(ie.key=_e.C0.ESC+"[1;5B")):ie.key=fe?_e.C0.ESC+"OB":_e.C0.ESC+"[B";break;case 45:he.shiftKey||he.ctrlKey||(ie.key=_e.C0.ESC+"[2~");break;case 46:ie.key=le?_e.C0.ESC+"[3;"+(le+1)+"~":_e.C0.ESC+"[3~";break;case 36:ie.key=le?_e.C0.ESC+"[1;"+(le+1)+"H":fe?_e.C0.ESC+"OH":_e.C0.ESC+"[H";break;case 35:ie.key=le?_e.C0.ESC+"[1;"+(le+1)+"F":fe?_e.C0.ESC+"OF":_e.C0.ESC+"[F";break;case 33:he.shiftKey?ie.type=2:ie.key=_e.C0.ESC+"[5~";break;case 34:he.shiftKey?ie.type=3:ie.key=_e.C0.ESC+"[6~";break;case 112:ie.key=le?_e.C0.ESC+"[1;"+(le+1)+"P":_e.C0.ESC+"OP";break;case 113:ie.key=le?_e.C0.ESC+"[1;"+(le+1)+"Q":_e.C0.ESC+"OQ";break;case 114:ie.key=le?_e.C0.ESC+"[1;"+(le+1)+"R":_e.C0.ESC+"OR";break;case 115:ie.key=le?_e.C0.ESC+"[1;"+(le+1)+"S":_e.C0.ESC+"OS";break;case 116:ie.key=le?_e.C0.ESC+"[15;"+(le+1)+"~":_e.C0.ESC+"[15~";break;case 117:ie.key=le?_e.C0.ESC+"[17;"+(le+1)+"~":_e.C0.ESC+"[17~";break;case 118:ie.key=le?_e.C0.ESC+"[18;"+(le+1)+"~":_e.C0.ESC+"[18~";break;case 119:ie.key=le?_e.C0.ESC+"[19;"+(le+1)+"~":_e.C0.ESC+"[19~";break;case 120:ie.key=le?_e.C0.ESC+"[20;"+(le+1)+"~":_e.C0.ESC+"[20~";break;case 121:ie.key=le?_e.C0.ESC+"[21;"+(le+1)+"~":_e.C0.ESC+"[21~";break;case 122:ie.key=le?_e.C0.ESC+"[23;"+(le+1)+"~":_e.C0.ESC+"[23~";break;case 123:ie.key=le?_e.C0.ESC+"[24;"+(le+1)+"~":_e.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=_e.C0.US);else{var ce=E[he.keyCode],ae=ce&&ce[he.shiftKey?1:0];if(ae)ie.key=_e.C0.ESC+ae;else if(he.keyCode>=65&&he.keyCode<=90){var oe=he.ctrlKey?he.keyCode-64:he.keyCode+32;ie.key=_e.C0.ESC+String.fromCharCode(oe)}}else he.keyCode>=65&&he.keyCode<=90?ie.key=String.fromCharCode(he.keyCode-64):he.keyCode===32?ie.key=_e.C0.NUL:he.keyCode>=51&&he.keyCode<=55?ie.key=String.fromCharCode(he.keyCode-51+27):he.keyCode===56?ie.key=_e.C0.DEL:he.keyCode===219?ie.key=_e.C0.ESC:he.keyCode===220?ie.key=_e.C0.FS:he.keyCode===221&&(ie.key=_e.C0.GS)}return ie}},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(z,a){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,x){y.__proto__=x}||function(y,x){for(var b in x)x.hasOwnProperty(b)&&(y[b]=x[b])})(z,a)},function(z,a){function y(){this.constructor=z}_e(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 ue=z.length-1;ue>=0;ue--)(b=z[ue])&&(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),ce=be(7),ae=be(1),oe=be(5),ne=function(z){function a(y,x,b,ee,te,ue){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(ue.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(ce.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(ht,me,be){"use strict";var _e=this&&this.__decorate||function(ie,le,ce,ae){var oe,ne=arguments.length,z=ne<3?le:ae===null?ae=Object.getOwnPropertyDescriptor(le,ce):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(ie,le,ce,ae);else for(var a=ie.length-1;a>=0;a--)(oe=ie[a])&&(z=(ne<3?oe(z):ne>3?oe(le,ce,z):oe(le,ce))||z);return ne>3&&z&&Object.defineProperty(le,ce,z),z},E=this&&this.__param||function(ie,le){return function(ce,ae){le(ce,ae,ie)}};Object.defineProperty(me,"__esModule",{value:!0}),me.CharSizeService=void 0;var he=be(1),fe=be(0),se=function(){function ie(le,ce,ae){this._optionsService=ae,this.width=0,this.height=0,this._onCharSizeChange=new fe.EventEmitter,this._measureStrategy=new re(le,ce,this._optionsService)}return Object.defineProperty(ie.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),ie.prototype.measure=function(){var le=this._measureStrategy.measure();le.width===this.width&&le.height===this.height||(this.width=le.width,this.height=le.height,this._onCharSizeChange.fire())},ie=_e([E(2,he.IOptionsService)],ie)}();me.CharSizeService=se;var re=function(){function ie(le,ce,ae){this._document=le,this._parentElement=ce,this._optionsService=ae,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return ie.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var le=this._measureElement.getBoundingClientRect();return le.width!==0&&le.height!==0&&(this._result.width=le.width,this._result.height=Math.ceil(le.height)),this._result},ie}()},function(ht,me,be){"use strict";var _e=this&&this.__decorate||function(re,ie,le,ce){var ae,oe=arguments.length,ne=oe<3?ie:ce===null?ce=Object.getOwnPropertyDescriptor(ie,le):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(re,ie,le,ce);else for(var 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,ce){ie(le,ce,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,ce,ae,oe){return fe.getCoords(ie,le,ce,ae,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,oe)},re.prototype.getRawByteCoords=function(ie,le,ce,ae){var oe=this.getCoords(ie,le,ce,ae);return fe.getRawByteCoords(oe)},re=_e([E(0,he.IRenderService),E(1,he.ICharSizeService)],re)}();me.MouseService=se},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=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}_e(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),ce=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 ue,de;if(!a._isMouseOut){var ge=te==null?void 0:te.map(function(ve){return{link:ve}});(ue=a._activeProviderReplies)===null||ue===void 0||ue.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,ue=ee.link.range.end.y>ne?this._bufferService.cols:ee.link.range.end.x,de=te;de<=ue;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 ue=b.find(function(ge){return x._linkAtPosition(ge.link,z)});ue&&(a=!0,this._handleNewLink(ue))}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=ce},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.CoreBrowserService=void 0;var _e=function(){function E(he){this._textarea=he}return Object.defineProperty(E.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),E}();me.CoreBrowserService=_e},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(te,ue){return(_e=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,ue)},function(te,ue){function de(){this.constructor=te}_e(te,ue),te.prototype=ue===null?Object.create(ue):(de.prototype=ue.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),ce=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 ue(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(ce.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(ue,te),Object.defineProperty(ue.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),ue.prototype.dispose=function(){var de;this._isDisposed||(te.prototype.dispose.call(this),(de=this._windowsMode)===null||de===void 0||de.dispose(),this._windowsMode=void 0)},ue.prototype.write=function(de,ge){this._writeBuffer.write(de,ge)},ue.prototype.writeSync=function(de){this._writeBuffer.writeSync(de)},ue.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))},ue.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)},ue.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))},ue.prototype.scrollPages=function(de){this.scrollLines(de*(this.rows-1))},ue.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},ue.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},ue.prototype.scrollToLine=function(de){var ge=de-this._bufferService.buffer.ydisp;ge!==0&&this.scrollLines(ge)},ue.prototype.addEscHandler=function(de,ge){return this._inputHandler.addEscHandler(de,ge)},ue.prototype.addDcsHandler=function(de,ge){return this._inputHandler.addDcsHandler(de,ge)},ue.prototype.addCsiHandler=function(de,ge){return this._inputHandler.addCsiHandler(de,ge)},ue.prototype.addOscHandler=function(de,ge){return this._inputHandler.addOscHandler(de,ge)},ue.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},ue.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},ue.prototype._updateOptions=function(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)}},ue.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()}}}},ue}(he.Disposable);me.CoreTerminal=ee},function(ht,me,be){"use strict";var _e=this&&this.__spreadArrays||function(){for(var re=0,ie=0,le=arguments.length;ie<le;ie++)re+=arguments[ie].length;var ce=Array(re),ae=0;for(ie=0;ie<le;ie++)for(var oe=arguments[ie],ne=0,z=oe.length;ne<z;ne++,ae++)ce[ae]=oe[ne];return ce};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 ce=0,ae=ie;ce<ae.length;ce++){var oe=ae[ce],ne=oe[0],z=oe[1];this.set(ne,z)}}return re.prototype.set=function(ie,le){var ce=this._entries.get(ie);return this._entries.set(ie,le),ce},re.prototype.forEach=function(ie){this._entries.forEach(function(le,ce){return ie(ce,le)})},re.prototype.has=function(ie){return this._entries.has(ie)},re.prototype.get=function(ie){return this._entries.get(ie)},re}();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=[],ce=1;ce<arguments.length;ce++)le[ce-1]=arguments[ce];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,_e([void 0],_e(le,oe))))},re}();me.InstantiationService=se},function(ht,me,be){"use strict";var _e=this&&this.__decorate||function(le,ce,ae,oe){var ne,z=arguments.length,a=z<3?ce:oe===null?oe=Object.getOwnPropertyDescriptor(ce,ae):oe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(le,ce,ae,oe);else for(var y=le.length-1;y>=0;y--)(ne=le[y])&&(a=(z<3?ne(a):z>3?ne(ce,ae,a):ne(ce,ae))||a);return z>3&&a&&Object.defineProperty(ce,ae,a),a},E=this&&this.__param||function(le,ce){return function(ae,oe){ce(ae,oe,le)}},he=this&&this.__spreadArrays||function(){for(var le=0,ce=0,ae=arguments.length;ce<ae;ce++)le+=arguments[ce].length;var oe=Array(le),ne=0;for(ce=0;ce<ae;ce++)for(var z=arguments[ce],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(ce){var ae=this;this._optionsService=ce,this._updateLogLevel(),this._optionsService.onOptionChange(function(oe){oe==="logLevel"&&ae._updateLogLevel()})}return le.prototype._updateLogLevel=function(){this._logLevel=re[this._optionsService.options.logLevel]},le.prototype._evalLazyOptionalParams=function(ce){for(var ae=0;ae<ce.length;ae++)typeof ce[ae]=="function"&&(ce[ae]=ce[ae]())},le.prototype._log=function(ce,ae,oe){this._evalLazyOptionalParams(oe),ce.call.apply(ce,he([console,"xterm.js: "+ae],oe))},le.prototype.debug=function(ce){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.DEBUG&&this._log(console.log,ce,ae)},le.prototype.info=function(ce){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.INFO&&this._log(console.info,ce,ae)},le.prototype.warn=function(ce){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.WARN&&this._log(console.warn,ce,ae)},le.prototype.error=function(ce){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=fe.ERROR&&this._log(console.error,ce,ae)},le=_e([E(0,se.IOptionsService)],le)}();me.LogService=ie},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=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}_e(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 ce=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=ce},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(re,ie){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,ce){le.__proto__=ce}||function(le,ce){for(var ae in ce)ce.hasOwnProperty(ae)&&(le[ae]=ce[ae])})(re,ie)},function(re,ie){function le(){this.constructor=re}_e(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,ce){var ae=re.call(this)||this;return ae._onBufferActivate=ae.register(new fe.EventEmitter),ae._normal=new he.Buffer(!0,le,ce),ae._normal.fillViewportRows(),ae._alt=new he.Buffer(!1,le,ce),ae._activeBuffer=ae._normal,ae.setupTabStops(),ae}return E(ie,re),Object.defineProperty(ie.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),ie.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},ie.prototype.activateAltBuffer=function(le){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(le),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},ie.prototype.resize=function(le,ce){this._normal.resize(le,ce),this._alt.resize(le,ce)},ie.prototype.setupTabStops=function(le){this._normal.setupTabStops(le),this._alt.setupTabStops(le)},ie}(be(2).Disposable);me.BufferSet=se},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.BufferStringIterator=me.Buffer=me.MAX_BUFFER_SIZE=void 0;var _e=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 ce=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 _e.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 _e.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 ue=this.ybase+this.y;if(!(ue>=b&&ue<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,xe=ge[we];xe===0&&(xe=ge[--we]);for(var Ee=te.length-ve-1,Te=de;Ee>=0;){var Ce=Math.min(Te,xe);if(te[we].copyCellsFrom(te[Ee],Te-Ce,xe-Ce,Ce,!0),(xe-=Ce)===0&&(xe=ge[--we]),(Te-=Ce)===0){Ee--;var Oe=Math.max(Ee,0);Te=se.getWrappedLineTrimmedLength(te,Oe,this._cols)}}for(ye=0;ye<te.length;ye++)ge[ye]<ne&&te[ye].setCell(ge[ye],a);for(var Me=ve-pe;Me-- >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 Ue=[],je=[];for(ye=0;ye<this.lines.length;ye++)je.push(this.lines.get(ye));var nt=this.lines.length,Ye=nt-1,Qe=0,Xe=y[Qe];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+x);var ze=0;for(ye=Math.min(this.lines.maxLength-1,nt+x-1);ye>=0;ye--)if(Xe&&Xe.start>Ye+ze){for(var ke=Xe.newLines.length-1;ke>=0;ke--)this.lines.set(ye--,Xe.newLines[ke]);ye++,Ue.push({index:Ye+1,amount:Xe.newLines.length}),ze+=Xe.newLines.length,Xe=y[++Qe]}else this.lines.set(ye,je[Ye--]);var Be=0;for(ye=Ue.length-1;ye>=0;ye--)Ue[ye].index+=Be,this.lines.onInsertEmitter.fire(Ue[ye]),Be+=Ue[ye].amount;var qe=Math.max(0,nt+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=ce;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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.CircularList=void 0;var _e=be(0),E=function(){function he(fe){this._maxLength=fe,this.onDeleteEmitter=new _e.EventEmitter,this.onInsertEmitter=new _e.EventEmitter,this.onTrimEmitter=new _e.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(he.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"maxLength",{get:function(){return this._maxLength},set:function(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 ce=this._length+re.length-this._maxLength;this._startIndex+=ce,this._length=this._maxLength,this.onTrimEmitter.fire(ce)}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(ht,me,be){"use strict";function _e(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 ce=le,ae=E.get(++ce);if(ae.isWrapped){for(var oe=[E.get(le)];ce<E.length&&ae.isWrapped;)oe.push(ae),ae=E.get(++ce);if(se>=le&&se<ce)le+=oe.length-1;else{for(var ne=0,z=_e(oe,ne,he),a=1,y=0;a<oe.length;){var x=_e(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 ue=0,de=oe.length-1;de>0&&(de>ne||oe[de].getTrimmedLength()===0);de--)ue++;ue>0&&(ie.push(le+oe.length-ue),ie.push(ue)),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 ce=he[++se];E.onDeleteEmitter.fire({index:le-ie,amount:ce}),le+=ce-1,ie+=ce,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 _e(E,a,he)}).reduce(function(z,a){return z+a}),ie=0,le=0,ce=0;ce<re;){if(re-ce<fe){se.push(re-ce);break}ie+=fe;var ae=_e(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),ce+=ne}return se},me.getWrappedLineTrimmedLength=_e},function(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(se,re){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,le){ie.__proto__=le}||function(ie,le){for(var ce in le)le.hasOwnProperty(ce)&&(ie[ce]=le[ce])})(se,re)},function(se,re){function ie(){this.constructor=se}_e(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(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.OptionsService=me.DEFAULT_OPTIONS=me.DEFAULT_BELL_SOUND=void 0;var _e=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 _e.EventEmitter,this.options=he.clone(me.DEFAULT_OPTIONS);for(var le=0,ce=Object.keys(ie);le<ce.length;le++){var ae=ce[le];if(ae in this.options){var oe=ie[ae];this.options[ae]=oe}}}return Object.defineProperty(re.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),re.prototype.setOption=function(ie,le){if(!(ie in 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(ht,me,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ne,z){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,y){a.__proto__=y}||function(a,y){for(var x in y)y.hasOwnProperty(x)&&(a[x]=y[x])})(ne,z)},function(ne,z){function a(){this.constructor=ne}_e(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),ce=Object.freeze({insertMode:!1}),ae=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),oe=function(ne){function 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(ce),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(ce),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(ht,me,be){"use strict";var _e=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}},ce=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=_e([E(0,he.IBufferService),E(1,he.ICoreService)],ae)}();me.CoreMouseService=ce},function(ht,me,be){"use strict";var _e=this&&this.__decorate||function(se,re,ie,le){var ce,ae=arguments.length,oe=ae<3?re:le===null?le=Object.getOwnPropertyDescriptor(re,ie):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(se,re,ie,le);else for(var ne=se.length-1;ne>=0;ne--)(ce=se[ne])&&(oe=(ae<3?ce(oe):ae>3?ce(re,ie,oe):ce(re,ie))||oe);return ae>3&&oe&&Object.defineProperty(re,ie,oe),oe},E=this&&this.__param||function(se,re){return function(ie,le){re(ie,le,se)}};Object.defineProperty(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=_e([E(0,he.IBufferService)],se)}();me.DirtyRowService=fe},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.UnicodeService=void 0;var _e=be(0),E=be(79),he=function(){function fe(){this._providers=Object.create(null),this._active="",this._onChange=new _e.EventEmitter;var se=new E.UnicodeV6;this.register(se),this._active=se.version,this._activeProvider=se}return Object.defineProperty(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 ce=se.charCodeAt(le);if(55296<=ce&&ce<=56319){if(++le>=ie)return re+this.wcwidth(ce);var ae=se.charCodeAt(le);56320<=ae&&ae<=57343?ce=1024*(ce-55296)+ae-56320+65536:re+=this.wcwidth(ae)}re+=this.wcwidth(ce)}return re},fe}();me.UnicodeService=he},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.UnicodeV6=void 0;var _e,E=be(15),he=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],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",!_e){_e=new Uint8Array(65536),E.fill(_e,1),_e[0]=0,E.fill(_e,0,1,32),E.fill(_e,0,127,160),E.fill(_e,2,4352,4448),_e[9001]=2,_e[9002]=2,E.fill(_e,2,11904,42192),_e[12351]=1,E.fill(_e,2,44032,55204),E.fill(_e,2,63744,64256),E.fill(_e,2,65040,65050),E.fill(_e,2,65072,65136),E.fill(_e,2,65280,65377),E.fill(_e,2,65504,65511);for(var ie=0;ie<he.length;++ie)E.fill(_e,0,he[ie][0],he[ie][1]+1)}}return re.prototype.wcwidth=function(ie){return ie<32?0:ie<127?1:ie<65536?_e[ie]:function(le,ce){var ae,oe=0,ne=ce.length-1;if(le<ce[0][0]||le>ce[ne][1])return!1;for(;ne>=oe;)if(le>ce[ae=oe+ne>>1][1])oe=ae+1;else{if(!(le<ce[ae][0]))return!0;ne=ae-1}return!1}(ie,fe)?0:ie>=131072&&ie<=196605||ie>=196608&&ie<=262141?2:1},re}();me.UnicodeV6=se},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.CharsetService=void 0;var _e=function(){function E(){this.glevel=0,this._charsets=[]}return E.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},E.prototype.setgLevel=function(he){this.glevel=he,this.charset=this._charsets[he]},E.prototype.setgCharset=function(he,fe){this._charsets[he]=fe,this.glevel===he&&(this.charset=fe)},E}();me.CharsetService=_e},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.updateWindowsModeWrappedState=void 0;var _e=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[_e.CHAR_DATA_CODE_INDEX]!==_e.NULL_CELL_CODE&&fe[_e.CHAR_DATA_CODE_INDEX]!==_e.WHITESPACE_CELL_CODE)}},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.WriteBuffer=void 0;var _e=function(){function E(he){this._action=he,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return E.prototype.writeSync=function(he){if(this._writeBuffer.length){for(var 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=_e},function(ht,me,be){"use strict";Object.defineProperty(me,"__esModule",{value:!0}),me.AddonManager=void 0;var _e=function(){function E(){this._addons=[]}return E.prototype.dispose=function(){for(var he=this._addons.length-1;he>=0;he--)this._addons[he].instance.dispose()},E.prototype.loadAddon=function(he,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=_e}])})},60141:function(Tt){"use strict";Tt.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(Tt,ht,me){"use strict";me.d(ht,{Z:function(){return be}});function be(_e){if(_e==null)throw new TypeError("Cannot destructure "+_e)}}}]);