You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/374.2d1f951d.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([[374],{33463:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},28575:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},84249:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},81893:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},90674:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},55304:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(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=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},73148:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(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=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},56747:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},50881:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},22751:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(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=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},34182:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},74664:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},he=E,fe=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},91034:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return re}});var be=pe(87462),xe=pe(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=pe(74643),se=function(le,ce){return xe.createElement(fe.Z,(0,be.Z)({},le,{ref:ce,icon:he}))},re=xe.forwardRef(se)},71736:function(xt,ft){"use strict";ft.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 xt(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(xt.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(xt.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(xt.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(xt.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 xt))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 ft=[];function pe(z,a){var y=ft.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function be(){var z=ft.pop();return z===void 0?new go.Point:z}function xe(z){ft.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,me=NaN,Se=NaN;if(ge===0)if(ve===0)z===y&&(me=z,Se=a);else{var ye=(ee-ue)/ve,Pe=ee-ye*b;me=z,Se=ye*me+Pe}else if(ve===0){var we=(a-x)/ge,Te=a-we*z;me=b,Se=we*me+Te}else{var we=(a-x)/ge,ye=(ee-ue)/ve,Te=a-we*z,Pe=ee-ye*b;me=(Pe-Te)/(we-ye),Se=we*me+Te}return de.x=me,de.y=Se,de}function he(z,a,y,x,b,ee,te,ue,de,ge,ve,me,Se,ye){var Pe=1-de,we=de,Te=z*Pe+y*we,Ee=a*Pe+x*we,_e=y*Pe+b*we,Ce=x*Pe+ee*we,Oe=b*Pe+te*we,Ie=ee*Pe+ue*we,Ue=Te*Pe+_e*we,je=Ee*Pe+Ce*we,nt=_e*Pe+Oe*we,Je=Ce*Pe+Ie*we,Qe=Ue*Pe+nt*we,Xe=je*Pe+Je*we;ge.x=Te,ge.y=Ee,ve.x=Ue,ve.y=je,me.x=Qe,me.y=Xe,Se.x=nt,Se.y=Je,ye.x=Oe,ye.y=Ie}var fe=new go.Spot(.156,.156),se=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new xt("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 xt("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 xt("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 xt("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 xt("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 xt("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 xt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new xt("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 xt("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 xt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new xt("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 xt("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 xt("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 xt("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 xt("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 xt("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 xt("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(),me=be(),Se=be();he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.42,ge,ve,me,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 Te=be(),Ee=be(),_e=be();he(te,ue+ee,te-b,ue+ee,te-ee,ue+b,te-ee,ue,.42,Te,Ee,_e,Se,Se);var Ce=be(),Oe=be(),Ie=be();return he(te,ue+ee,te-b,ue+ee,te-ee,ue+b,te-ee,ue,.58,Se,Se,Ie,Ce,Oe),de.add(new go.PathSegment(go.PathSegment.Move,Ie.x*a,Ie.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,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,me.x*a,me.y*y,ge.x*a,ge.y*y,ve.x*a,ve.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Ie.x*a,Ie.y*y).close()),de.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.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,_e.x*a,_e.y*y,Te.x*a,Te.y*y,Ee.x*a,Ee.y*y).close()),xe(ge),xe(ve),xe(me),xe(Se),xe(ye),xe(Pe),xe(we),xe(Te),xe(Ee),xe(_e),xe(Ce),xe(Oe),xe(Ie),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new xt("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(),me=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,me,ge,de,de),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,ve.x*a,ve.y*y,me.x*a,me.y*y));var ye=pe(ge.x,ge.y);he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.56,de,de,ge,ve,me);var Pe=pe(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,me.x*a,me.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 Te=new go.PathFigure((te-ee)*a,ue*y,!1);return x.add(Te),xe(de),xe(ge),xe(ve),xe(me),xe(ye),xe(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(z,a,y){var x=new go.Geometry,b=.375,ee=0,te=-.125,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 xt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new xt("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),xe(ve),de}),go.Shape.setFigureParameter("Arrow2",0,new xt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new xt("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),xe(ve),de}),go.Shape.defineFigureGenerator("Chevron",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new xt("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),xe(de),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new xt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new xt("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 me=E(0,.5,.3,ue/y,0,ee/y,1,ee/y,be());return ge.spot1=new go.Spot(me.x,me.y),me=E(.7,de/y,1,.5,0,te/y,1,te/y,me),ge.spot2=new go.Spot(me.x,me.y),xe(me),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new xt("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),xe(de),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new xt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new xt("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 me=E(.7,de/y,1,.5,0,te/y,1,te/y,be());return ge.spot2=new go.Spot(me.x,me.y),xe(me),ge}),go.Shape.setFigureParameter("Pointer",0,new xt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=E(.2,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(te.x,te.y),xe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new xt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var te=E(0,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(te.x,te.y),xe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new xt("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),xe(de),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new xt("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),xe(de),te}),go.Shape.setFigureParameter("SquareArrow",0,new xt("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 me=.05,Se=re*me;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+me)*a,ge*y,(de+Se)*a,(ge-me)*y,(de+me)*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)),me=.025,Se=re*me,de=.825,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-Se)*y,(de+Se)*a,(ge-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-Se)*a,(ge-me)*y,(de-me)*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)),me=.05,Se=re*me,de=.5,ge=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-Se)*y,(de+Se)*a,(ge-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-Se)*a,(ge-me)*y,(de-me)*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)),me=.025,Se=re*me,de=.175,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-Se)*y,(de+Se)*a,(ge-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-Se)*a,(ge-me)*y,(de-me)*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)),me=.05,Se=re*me,de=.05,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de-me)*a,(ge-Se)*y,(de-Se)*a,(ge-me)*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 xt("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 me=new go.PathFigure((de+ue)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ue)*y,(de+ue)*a,(ge+te)*y,(de+te)*a,(ge+ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a,ge*y,(de-te)*a,(ge+ue)*y,(de-ue)*a,(ge+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ue)*y,(de-ue)*a,(ge-te)*y,(de-te)*a,(ge-ue)*y)),me.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,me=(ee-y)/2,Se=new go.PathFigure(de*a+ve,(ge+ue)*y+me,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+ve,ge*y+me,(de-te)*a+ve,(ge+ue)*y+me,(de-ue)*a+ve,(ge+te)*y+me)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+me,(de-ue)*a+ve,(ge-te)*y+me,(de-te)*a+ve,(ge-ue)*y+me)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue+te*.5)*a+ve,ge*y+me,de*a+ve,(ge-ue)*y+me,(de-ue+te*.5)*a+ve,(ge-te)*y+me)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+me,(de-ue+te*.5)*a+ve,(ge+te)*y+me,de*a+ve,(ge+ue)*y+me).close()),te=re*.4,ue=.4,de=.2,ge=.5;var ye=new go.PathFigure(de*a+ve,(ge+ue)*y+me,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+ve,ge*y+me,(de-te)*a+ve,(ge+ue)*y+me,(de-ue)*a+ve,(ge+te)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+me,(de-ue)*a+ve,(ge-te)*y+me,(de-te)*a+ve,(ge-ue)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue+te*.5)*a+ve,ge*y+me,de*a+ve,(ge-ue)*y+me,(de-ue+te*.5)*a+ve,(ge-te)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+me,(de-ue+te*.5)*a+ve,(ge+te)*y+me,de*a+ve,(ge+ue)*y+me).close()),te=re*.2,ue=.2,de=.5,ge=.5;var Pe=new go.PathFigure((de-ue)*a+ve,ge*y+me,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+me,(de-ue)*a+ve,(ge-te)*y+me,(de-te)*a+ve,(ge-ue)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+ve,ge*y+me,(de+te)*a+ve,(ge-ue)*y+me,(de+ue)*a+ve,(ge-te)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+me,(de+ue)*a+ve,(ge+te)*y+me,(de+te)*a+ve,(ge+ue)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+ve,ge*y+me,(de-te)*a+ve,(ge+ue)*y+me,(de-ue)*a+ve,(ge+te)*y+me)),te=re*.4,ue=.4,de=.8,ge=.5;var we=new go.PathFigure(de*a+ve,(ge-ue)*y+me,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+ve,ge*y+me,(de+te)*a+ve,(ge-ue)*y+me,(de+ue)*a+ve,(ge-te)*y+me)),we.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+me,(de+ue)*a+ve,(ge+te)*y+me,(de+te)*a+ve,(ge+ue)*y+me)),we.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue-te*.5)*a+ve,ge*y+me,de*a+ve,(ge+ue)*y+me,(de+ue-te*.5)*a+ve,(ge+te)*y+me)),we.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+me,(de+ue-te*.5)*a+ve,(ge-te)*y+me,de*a+ve,(ge-ue)*y+me).close()),te=re*.8,ue=.8,de=1,ge=.5;var Te=new go.PathFigure(de*a+ve,(ge-ue)*y+me,!0);return x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+ve,ge*y+me,(de+te)*a+ve,(ge-ue)*y+me,(de+ue)*a+ve,(ge-te)*y+me)),Te.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge+ue)*y+me,(de+ue)*a+ve,(ge+te)*y+me,(de+te)*a+ve,(ge+ue)*y+me)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue-te*.5)*a+ve,ge*y+me,de*a+ve,(ge+ue)*y+me,(de+ue-te*.5)*a+ve,(ge+te)*y+me)),Te.add(new go.PathSegment(go.PathSegment.Bezier,de*a+ve,(ge-ue)*y+me,(de+ue-te*.5)*a+ve,(ge-te)*y+me,de*a+ve,(ge-ue)*y+me).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(),me=be();he(te,ue-ee,te+b,ue-ee,te+ee,ue-b,te+ee,ue,.5,de,de,ge,ve,me);var Se=pe(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,me.x*a,me.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,me,ge,de,de),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),b=re*.3,ee=.3,he(te-ee,ue,te-ee,ue-b,te-b,ue-ee,te,ue-ee,.5,ve,me,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,me.x*a,me.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,me),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,me.x*a,me.y*y,ve.x*a,ve.y*y).close());var ye=new go.PathFigure(.45*a,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),xe(de),xe(ge),xe(ve),xe(me),xe(Se),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function ee(te,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,me=.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,me*y,ve*a,.7*y,ve*a,me*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)),me=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 Te=new go.PathFigure(.2*a,y,!1);x.add(Te),Te.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 me=new go.PathFigure((de-te)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-te)*y,(de-te)*a,(ge-ue)*y,(de-ue)*a,(ge-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+te)*a,ge*y,(de+ue)*a,(ge-te)*y,(de+te)*a,(ge-ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+te)*y,(de+te)*a,(ge+ue)*y,(de+ue)*a,(ge+te)*y)),me.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,me=.9,Se=new go.PathFigure((ve-de)*a,me*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-ge)*y,(ve-ge)*a,(me-de)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+ge)*a,(me-de)*y,(ve+de)*a,(me-ge)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+ge)*y,(ve+ge)*a,(me+de)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-ge)*a,(me+de)*y,(ve-de)*a,(me+ge)*y)),de=.1,ge=re*.1,ve=.4,me=.9;var ye=new go.PathFigure((ve-de)*a,me*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-de)*y,(ve-de)*a,(me-ge)*y,(ve-ge)*a,(me-de)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve+de)*a,me*y,(ve+ge)*a,(me-de)*y,(ve+de)*a,(me-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+de)*y,(ve+de)*a,(me+ge)*y,(ve+ge)*a,(me+de)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve-de)*a,me*y,(ve-ge)*a,(me+de)*y,(ve-de)*a,(me+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,me=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-me)*y,(Se-me)*a,(ye-ve)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+me)*a,(ye-ve)*y,(Se+ve)*a,(ye-me)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+me)*y,(Se+me)*a,(ye+ve)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-me)*a,(ye+ve)*y,(Se-ve)*a,(ye+me)*y));var ve=.05,me=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-me)*y,(Se-me)*a,(ye-ve)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+me)*a,(ye-ve)*y,(Se+ve)*a,(ye-me)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+me)*y,(Se+me)*a,(ye+ve)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-me)*a,(ye+ve)*y,(Se-ve)*a,(ye+me)*y));var ve=.05,me=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-me)*y,(Se-me)*a,(ye-ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+me)*a,(ye-ve)*y,(Se+ve)*a,(ye-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+me)*y,(Se+me)*a,(ye+ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-me)*a,(ye+ve)*y,(Se-ve)*a,(ye+me)*y));var ve=.05,me=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-me)*y,(Se-me)*a,(ye-ve)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ve)*a,ye*y,(Se+me)*a,(ye-ve)*y,(Se+ve)*a,(ye-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+ve)*y,(Se+ve)*a,(ye+me)*y,(Se+me)*a,(ye+ve)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ve)*a,ye*y,(Se-me)*a,(ye+ve)*y,(Se-ve)*a,(ye+me)*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,me=new go.PathFigure((ge-ue)*a,ve*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ve-ue)*y,(ge-ue)*a,(ve-de)*y,(ge-de)*a,(ve-ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a,ve*y,(ge+de)*a,(ve-ue)*y,(ge+ue)*a,(ve-de)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ve+ue)*y,(ge+ue)*a,(ve+de)*y,(ge+de)*a,(ve+ue)*y)),me.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 xt={},ft="5.0",pe={},be=null,xe=!1,E=!1,he=null,fe=!1,se=null,re=null,ie=0;ie<arguments.length;ie++){var le=arguments[ie];if(le!==null)switch(typeof le){case"number":ft=le.toFixed(1);break;case"string":le.match(new RegExp("^[0-9]\\.[0-9]+$"))?ft=le:he=le;break;case"object":typeof le.is3D!="undefined"?be=le:pe=le;break;case"boolean":xe=le,E=!0;break}}be===null&&(be={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},pe.material_id!==void 0&&!E&&(xe=!0)),he!==null&&pe.id===void 0&&(pe.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;pe.height!==void 0&&(pe.height=Math.round(pe.height)),pe.width!==void 0&&(pe.width=Math.round(pe.width));var de=function(ze){return parseFloat(ze)>4?parseFloat(ze):5};xt.setHTML5Codebase=function(ze,ke){re=ze,Je(ze,ke)},xt.setJavaCodebase=xt.setJavaCodebaseVersion=xt.isCompiledInstalled=xt.setPreCompiledScriptPath=xt.setPreCompiledResourcePath=function(){},xt.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)},xt.getHTML5CodebaseVersion=function(){return z},xt.getParameters=function(){return pe},xt.setFontsCSSURL=function(ze){te=ze},xt.setGiacJSURL=function(ze){},xt.setJNLPFile=function(ze){ce=ze},xt.setJNLPBaseDir=function(ze){},xt.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Be=pe.id,qe,Ye=!1,gt=0;gt<arguments.length;gt++){var $e=arguments[gt];typeof $e=="string"?($e=$e.toLowerCase(),$e.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=$e:Be=arguments[gt]):typeof $e=="boolean"?Ye=$e:$e instanceof HTMLElement&&(qe=$e)}We();function We(){if(!fe){setTimeout(We,200);return}ke=Ue(ke);var Re=qe||document.getElementById(Be);if(!Re){console.log("possibly bug on ajax loading? ");return}if(xt.removeExistingApplet(Re,!1),pe.width===void 0&&Re.clientWidth&&(pe.width=Re.clientWidth),pe.height===void 0&&Re.clientHeight&&(pe.height=Re.clientHeight),!(pe.width&&pe.height)&&ke==="html5"&&(delete pe.width,delete pe.height),ne=ke,ke==="screenshot")Ee(Re,pe);else{var tt=!1;pe.hasOwnProperty("playButton")&&pe.playButton||pe.hasOwnProperty("clickToLoad")&&pe.clickToLoad?tt=!0:pe.hasOwnProperty("playButtonAutoDecide")&&pe.playButtonAutoDecide&&(tt=(!ge()||ze())&&ve()),tt?(ne="screenshot",Ce(Re,pe,Ye,ke)):Te(Re,pe,Ye)}}};function ge(){try{return window.self!==window.top}catch(ze){return!0}}function ve(){return pe.hasOwnProperty("screenshotGenerator")&&pe.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}xt.getViews=function(){return be},xt.isJavaInstalled=function(){return!1};var me=function(ze){var ke=function(gt){var $e=JSON.parse(gt),We=function(Me){return Me.type=="G"||Me.type=="E"},Re=$e.elements?$e.elements.filter(We)[0]:$e;if(!Re||!Re.url){Be();return}pe.fileName=Re.url,Se(Re.settings||{}),be.is3D=!0;var tt="https://www.geogebra.org/images/";xt.setPreviewImage(x||Re.previewUrl,tt+"GeoGebra_loading.png",tt+"applet_play.png"),ze()},Be=function(){pe.onError&&pe.onError(),Qe("Error: Fetching material (id "+pe.material_id+") failed.",pe)},qe=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Ye="/materials/"+pe.material_id+"?scope=basic";ye("https://"+qe+"/api/proxy.php?path="+encodeURIComponent(Ye),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){pe[Be]===void 0&&ze[Be]!==void 0&&(pe[Be]=ze[Be])}),pe.showToolBarHelp===void 0&&(pe.showToolBarHelp=pe.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()}xt.isHTML5Installed=function(){return!0},xt.getLoadedAppletType=function(){return ne},xt.setPreviewImage=function(ze,ke,Be){x=ze,b=ke,ee=Be},xt.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 Ye=ze.childNodes[Be],gt=Ye.className;gt==="applet_screenshot"?ke?(Ye.style.display="block",ne="screenshot"):Ye.style.display="none":gt!=="applet_scaler prerender"&&(ze.removeChild(Ye),qe=gt&&gt.indexOf("appletParameters")!=-1?Ye.id:null,Be--)}var $e=pe.id!==void 0?pe.id:qe,We=window[$e];We&&typeof We.getBase64=="function"&&(We.remove(),window[$e]=null)},xt.refreshHitPoints=function(){if(de(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var ze=xt.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},xt.startAnimation=function(){var ze=xt.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},xt.stopAnimation=function(){var ze=xt.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},xt.getAppletObject=function(){var ze=pe.id!==void 0?pe.id:"ggbApplet";return window[ze]},xt.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"},Te=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 Ye=document.createElement("div");Ye.classList.add("appletParameters","notranslate");var gt=ke.width,$e=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 We=100;(we(ke.showToolBar)||we(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),We=we(ke.showMenuBar)?245:155),gt<We&&(ke.width=We,gt=We)}Ye.style.border="none",Ye.style.display="inline-block";for(var Re in ke)ke.hasOwnProperty(Re)&&Re!=="appletOnLoad"&&Ye.setAttribute("data-param-"+Re,ke[Re]);te&&Ye.setAttribute("data-param-fontscssurl",te),xt.resize=function(){GGBAppletUtils.responsiveResize(ze,ke)},window.addEventListener("resize",function(wt){xt.resize()});var tt=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!Be&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||Ye.setAttribute("data-param-showSplash","false");var Me=ze.querySelector(".applet_scaler.prerender"),He=Me!==null;if(He)var Ve=Me.querySelector(".ggb_preview");else{var Ve=Ie(gt,$e,ke.borderColor,!1);Me=document.createElement("div"),Me.className="applet_scaler",Me.style.position="relative",Me.style.display="block",Me.style.width=gt+"px",Me.style.height=$e+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Me,"66%"),de(z)>=5?(ke.appletOnLoad=function(wt){var rt=ze.querySelector(".ggb_preview");rt&&rt.parentNode.removeChild(rt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Me),window.GGBT_wsf_view&&$(window).trigger("resize"),tt(wt)},He||Me.appendChild(Ve)):Ye.appendChild(Ve),Me.appendChild(Ye),He||ze.appendChild(Me),setTimeout(function(){xt.resize()},1)}else{var Ze=document.createElement("div");Ze.className="applet_scaler",Ze.style.position="relative",Ze.style.display="block",Ze.appendChild(Ye),ze.appendChild(Ze),ke.appletOnLoad=function(wt){xt.resize(),tt(wt)}}function Ke(wt,rt){rt&&typeof rt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(wt,rt.appletOnLoad):renderGGBElement(wt),Qe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",rt)}function Ae(wt,rt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:wt,params:rt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(bt){Ke(bt.article,bt.params)}),html5AppletsToProcess=null)},de(z)<5&&(wt.className+=" geogebraweb")):Ke(wt,rt)}if(qe){scriptLoadStarted=!0;for(var Le=0;Le<Ye.childNodes.length;Le++){var Ne=Ye.childNodes[Le].tagName;Ne==="TABLE"&&(Ye.removeChild(Ye.childNodes[Le]),Le--)}if(ggbHTML5LoadedScript!==null){var Ge=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ge!=null&&Ge.parentNode.removeChild(Ge)}var ot=document.createElement("script"),St=function(){Ae(Ye,ke)};ot.src=ae+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=z,ggbHTML5LoadedScript=ot.src,Qe("GeoGebra HTML5 codebase loaded: '"+ae+"'.",ke),!re&&(!se||se=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),St()):ae.requirejs?__webpack_require__.e(12).then(function(){var wt=[__webpack_require__(12)];St.apply(null,wt)}.bind(this)).catch(__webpack_require__.oe):(ot.onload=St,ze.appendChild(ot))}else Ae(Ye,ke);ke.height=$e,ke.width=gt},Ee=function(ze,ke,Be){var qe=Ie(ke.width,ke.height,ke.borderColor,Be),Ye=document.createElement("div");Ye.style.position="relative",Ye.style.display="block",Ye.style.width=ke.width+"px",Ye.style.height=ke.height+"px",Ye.className="applet_screenshot applet_scaler"+(Be?" applet_screenshot_play":""),Ye.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(Ye,"66%"),ze.appendChild(Ye),gt!==1&&!isNaN(gt)&&(GGBAppletUtils.scaleElement(Ye,gt),Ye.style.width=ke.width+"px",Ye.style.height=ke.height+"px",Ye.parentNode.style.width=ke.width*gt+"px",Ye.parentNode.style.height=ke.height*gt+"px"),xt.resize=function(){_e(ze,qe,Ye,Be)},window.addEventListener("resize",function($e){xt.resize()}),xt.resize()};function _e(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 Ye=GGBAppletUtils.getScale(pe,ze,qe);Be.parentNode!==null&&(!isNaN(Ye)&&Ye!==1?(GGBAppletUtils.scaleElement(Be,Ye),Be.parentNode.style.width=pe.width*Ye+"px",Be.parentNode.style.height=pe.height*Ye+"px"):(GGBAppletUtils.scaleElement(Be,1),Be.parentNode.style.width=pe.width+"px",Be.parentNode.style.height=pe.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()}}xt.onExitFullscreen=function(ze,ke){ke.appendChild(ze)};var Ce=function(ze,ke,Be,qe){Ee(ze,ke,!0);for(var Ye=function(){var We=[];for($e=0;$e<ze.childNodes.length;$e++)We.push(ze.childNodes[$e]);if(window.GGBT_wsf_view){var Re=window.GGBT_wsf_view.renderFullScreen(ze,ke.id),tt=document.getElementById("fullscreencontainer"),Me=jQuery(ze).find(".fullscreencontent");Me.length>0?(Re.remove(),Me.attr("id","fullscreencontent").show(),jQuery(tt).append(Me),window.dispatchEvent(new Event("resize"))):Te(Re,ke,!1),window.GGBT_wsf_view.launchFullScreen(tt)}else ne=qe,Te(ze,ke,!1);if(!window.GGBT_wsf_view)for($e=0;$e<We.length;$e++)ze.removeChild(We[$e])},gt=ze.getElementsByClassName("ggb_preview_play"),$e=0;$e<gt.length;$e++)gt[$e].addEventListener("click",Ye,!1),gt[$e].addEventListener("ontouchstart",Ye,!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},Ie=function(ze,ke,Be,qe){var Ye=document.createElement("div");Ye.className="ggb_preview",Ye.style.position="absolute",Ye.style.zIndex="90",Ye.style.width=ze-2+"px",Ye.style.height=ke-2+"px",Ye.style.top="0px",Ye.style.left="0px",Ye.style.overflow="hidden",Ye.style.backgroundColor="white";var gt="lightgrey";Be!==void 0&&(Be==="none"?gt="transparent":gt=Be),Ye.style.border="1px solid "+gt;var $e=document.createElement("img");if($e.style.position="relative",$e.style.zIndex="1000",$e.style.top="-1px",$e.style.left="-1px",x!==null&&$e.setAttribute("src",x),$e.style.opacity=.7,b!==null){var We,Re,tt;if(!qe){We=document.createElement("img"),We.style.position="absolute",We.style.zIndex="1001",We.style.opacity=1,$e.style.opacity=.3,Re=360,Re>ze/4*3&&(Re=ze/4*3),tt=Re/5.8,We.setAttribute("src",b),We.setAttribute("width",Re),We.setAttribute("height",tt);var Me=(ze-Re)/2,He=(ke-tt)/2;We.style.left=Me+"px",We.style.top=He+"px",Ye.appendChild(We)}}return Ye.appendChild($e),Ye},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){Je(z,!0);return}var Be=!xe;if(Be){var qe=de(z);!isNaN(qe)&&qe<4.4&&(Be=!1)}var Ye,gt;window.location.protocol.substr(0,4)==="http"?Ye=window.location.protocol:Ye="http:";var $e=z.indexOf("//");$e>0?gt=z:$e===0?gt=Ye+z:gt="https://www.geogebra.org/apps/5.2.814.0/";for(var We in je)if(z.slice(je[We].length*-1)===je[We]||z.slice((je[We].length+1)*-1)===je[We]+"/"){Je(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(pe.showToolBar)&&!we(pe.showMenuBar)&&!we(pe.showAlgebraInput)&&!we(pe.enableRightClick)&&(!pe.appName||pe.appName=="classic")?gt+="webSimple/":gt+="web3d/",Je(gt,!1)},Je=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)};pe.material_id!==void 0?me(Xe):Xe();function Xe(){var ze=ft;se!==null?ze=se:parseFloat(ze)<5&&(ze="5.0"),nt(ze,!1),re!==null&&Je(re,oe),fe=!0}return xt},GGBAppletUtils=function(){"use strict";function xt(){return window.GGBT_wsf_edit!==void 0}function ft(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 pe(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=pe(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 xe(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=xe(se,fe);xt()&&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",ft(le,ie)):(ft(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:xt,positionCenter:E,getScale:xe,scaleElement:ft}}();__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 xt=n.location.search;return xt.indexOf(J)!=-1||xt.indexOf(K)!=-1}function q(xt,ft){}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(xt){var ft=s[L].bindings;s[L].bindings=function(){for(var pe=ft?ft():{},be=xt[webModule.__softPermutationId],xe=O;xe<be.length;xe++){var E=be[xe];pe[E[O]]=E[P]}return pe}};var t;function u(){return v(),t}function v(){if(!t){var xt=o.createElement(Q);if(xt.id=L,xt.style.cssText=R+S,xt.tabIndex=-1,o.body.appendChild(xt),t=xt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var ft=document.compatMode==U?V:W;t.write(ft+X),t.close()}}}function w(xt){function ft(be){function xe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=xe();if(E){be();return}function he(){if(!E){if(!xe())return;E=!0,be(),o.removeEventListener&&o.removeEventListener(Z,he,!1),fe&&clearInterval(fe)}}o.addEventListener&&o.addEventListener(Z,he,!1);var fe=setInterval(function(){he()},$)}function pe(be){var xe=u(),E=xe.body,he=xe.createElement(_);he.language=ab,he.crossOrigin=W,he.src=be,webModule.__errFn&&(he.onerror=function(){webModule.__errFn(L,new Error(bb+be))}),E.appendChild(he)}ft(function(){pe(xt)})}webModule.__startLoadingFragment=function(xt){return C(xt)},webModule.__installRunAsyncCode=function(xt){var ft=u(),pe=ft.body,be=ft.createElement(_);be.language=ab,be.text=xt,pe.appendChild(be),pe.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(xt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(xt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(xt){var ft=c[xt];return ft==null?null:ft},r=d,webModule.__errFn=e}function B(){function xt(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 ft(fe){if(!fe.match(/^\w+:\/\//)){var se=o.createElement(ub);se.src=fe+vb,fe=xt(se.src)}return fe}function pe(){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 xt(fe[se].src);return W}function xe(){var fe=o.getElementsByTagName(yb);return fe.length>O?fe[fe.length-P].href:W}function E(){var fe=o.location;return fe.href==fe.protocol+zb+fe.host+fe.pathname+fe.search+fe.hash}var he=pe();return he==W&&(he=be()),he==W&&(he=xe()),he==W&&E()&&(he=xt(o.location.href)),he=ft(he),he}function C(xt){return xt.match(/^\//)||xt.match(/^[a-zA-Z]+:\/\//)?xt:webModule.__moduleBase+xt}function D(){var xt=[],ft=O,pe=[],be=[];function xe(fe){var se=be[fe](),re=pe[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 pe[fe]},webModule.__getPropMap=function(){var fe={};for(var se in pe)pe.hasOwnProperty(se)&&(fe[se]=xe(se));return fe},webModule.__computePropValue=xe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var he=E.indexOf(Db);he!=-1&&(ft=parseInt(E.substring(he+P),$),E=E.substring(O,he))}catch(fe){}return webModule.__softPermutationId=ft,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(xt,ft,pe){"use strict";pe.d(ft,{Ax:function(){return he},Ds:function(){return fe},KI:function(){return re},SI:function(){return E},f1:function(){return xe}});var be=pe(11320);function xe(ie){let le=!0;if(ie.length>0){for(let ce=0;ce<ie.length;ce++)if(ie[ce].compile_success==0||!ie[ce].compile_success){le=!1;break}}else le=!1;return le}function E(ie,le=""){let ce=[];for(let ae=0;ae<ie.length;ae++){let oe=ie[ae],ne=le?`${le}/${oe.name}`:`${oe.name}`;ce.push({title:oe.name,type:oe.type,isLeaf:oe.type!=="tree",key:ne})}return ce}function 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(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return we},U:function(){return Se}});var be=pe(67294),xe=pe(55054),E=pe(14446),he=pe(9430),fe=pe(51959),se=pe(15835),re=pe(27484),ie=pe.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=pe(28706),ne=pe(35973),z=pe(5764),a=pe(67294),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,de=(Te,Ee,_e)=>Ee in Te?y(Te,Ee,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Te[Ee]=_e,ge=(Te,Ee)=>{for(var _e in Ee||(Ee={}))te.call(Ee,_e)&&de(Te,_e,Ee[_e]);if(ee)for(var _e of ee(Ee))ue.call(Ee,_e)&&de(Te,_e,Ee[_e]);return Te},ve=(Te,Ee)=>x(Te,b(Ee)),me=(Te,Ee,_e)=>new Promise((Ce,Oe)=>{var Ie=nt=>{try{je(_e.next(nt))}catch(Je){Oe(Je)}},Ue=nt=>{try{je(_e.throw(nt))}catch(Je){Oe(Je)}},je=nt=>nt.done?Ce(nt.value):Promise.resolve(nt.value).then(Ie,Ue);je((_e=_e.apply(Te,Ee)).next())});const Se=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ye}=xe.default,Pe=({exercise:Te,socket:Ee,dispatch:_e,onStartScreenshot:Ce,onCloseScreenshot:Oe,handleToDetail:Ie})=>{const[Ue,je]=E.default.useModal(),nt=(0,be.useRef)(),[Je,Qe]=(0,be.useState)(!0),Xe=(0,be.useRef)(!1),ze=(0,ne.useParams)();(0,be.useEffect)(()=>{var Ne,Ge,ot;if(document.addEventListener((0,fe.gH)(),Ae,!1),window.addEventListener("blur",Ze,!1),(Ne=Te.exerciseUserInfo)!=null&&Ne.screen_open&&(0,fe.vp)()&&Qe(!1),(Ge=Te.exerciseUserInfo)!=null&&Ge.screen_open&&!(0,fe.vp)()){(0,oe.RG)(" ",!0);const St=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Te.exerciseUserInfo.screen_sec+3:Te.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"}},Te.exerciseUserInfo.screen_num-Te.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:()=>me(void 0,null,function*(){var wt;const rt=yield Ke();(wt=nt.current)==null||wt.destroy(),rt.used_screen_num&&Me(rt.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 wt;(0,oe.RG)(" ",!0),(wt=nt.current)==null||wt.destroy(),Qe(!1),(0,fe.Dj)(document.body),document.getElementById("root").addEventListener("click",Be,!1)}})}return(ot=Te.exerciseUserInfo)!=null&&ot.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(()=>{Te.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Be,!1),document.removeEventListener((0,fe.gH)(),Ae,!1))},500),qe()},[Te.actionTabs]),(0,be.useEffect)(()=>{setTimeout(()=>{Te.exerciseUserInfo.used_screen_num>Te.exerciseUserInfo.screen_num&&He()},500)},[Te.exerciseUserInfo]);const ke=()=>me(void 0,null,function*(){const Ne=yield Ke();setTimeout(()=>{var Ge,ot;(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"},(ot=Te.exerciseUserInfo)==null?void 0:ot.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>me(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=()=>me(void 0,null,function*(){const Ne=yield _e({type:"exercise/getExerciseUserInfo",payload:ge({},ze)});return Ne==null?void 0:Ne.data}),Ye=Ne=>me(void 0,null,function*(){var Ge;if((Ge=Te.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 ot=yield(0,se.oy)({id:ze.categoryId});if(ot!=null&&ot.is_commit){E.default.destroyAll(),yield gt(),Ve(!0);return}else Me(Ne+1)}),gt=()=>me(void 0,null,function*(){var Ne;const Ge=ie()(),ot=Te.exerciseUserInfo.screen_sec;if(Re.current.length>0){const St=Ge.format("YYYY-MM-DD HH:mm:ss");let wt=Math.floor(Ge.diff(ie()(Re.current[0].start))/1e3);const rt=Re.current.length;wt/ot>>0>rt&&(wt=(rt+1)*ot-1),yield(0,se.P8)(ze.categoryId,{exercise_user_id:(Ne=Te.exerciseUserInfo)==null?void 0:Ne.exercise_user_id,time:St,time_long:wt,count:rt})}Re.current=[]}),$e=(0,be.useRef)(0),We=(0,be.useRef)(0),Re=(0,be.useRef)([]),tt=(0,be.useRef)(!1),Me=Ne=>me(void 0,null,function*(){var Ge;Xe.current||(Ce(),E.default.destroyAll(),$e.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=Te.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:()=>{We.current=ie()().valueOf(),Re.current.push({start:$e.current,end:We.current}),Ye(Ne)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Te.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=()=>me(void 0,null,function*(){E.default.destroyAll(),(yield(0,se.VL)({categoryId:ze.categoryId,commit_method:1}))&&Ve()}),Ve=(Ne=!1)=>me(void 0,null,function*(){var Ge,ot;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=Te.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),(ot=Te.exerciseUserInfo)==null?void 0:ot.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(),Ie()},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:()=>{Ie()}})}),Ze=Ne=>{(0,fe.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!tt.current&&(0,fe.BU)()},Ke=()=>me(void 0,null,function*(){var Ne;if((Ne=Te.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=()=>me(void 0,null,function*(){var Ne;if((0,oe.RG)(" ",!0),(0,fe.vp)()){if((Ne=Te.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();Me(St.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Le=()=>me(void 0,null,function*(){(0,se.ck)(ge({},ze));const Ne=yield qe();Me(Ne.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,je)};var we=(0,ne.connect)(({exercise:Te,globalSetting:Ee})=>({globalSetting:Ee,exercise:Te}))(Pe)},96325:function(xt,ft,pe){"use strict";pe.d(ft,{X:function(){return he},y:function(){return E}});var be=pe(67294),xe=pe(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))&&(xe.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,be.useEffect)(()=>(fe&&(window.addEventListener("keydown",re,!0),window.addEventListener("paste",re,!0)),()=>{window.removeEventListener("keydown",re,!0),window.removeEventListener("paste",re,!0)}),[fe]),{setOpenDisableCopyAndPaste:se,disableCopyAndPaste:fe}}},63205:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ae}});var be=pe(67294),xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=pe(94184),he=pe.n(E),fe=pe(57953),se=pe(15979),re=pe(33170),ie=pe(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,me]=(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*(){me(!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(){_e()},me(!1),ye("")}),we=()=>{document.body.removeAttribute("data-custom"),de.current.innerHTML=" ",y()},Te=Ce=>le(void 0,null,function*(){me(!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=" ",me(!1),ye("")}),Ee=()=>{const Ce=document.querySelector('a[href="https://markerjs.com/"]');Ce&&Ce.parentNode&&(Ce.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Ie=>{const Ue=document.querySelector(Ie.name);Ue&&Ue.setAttribute("title",Ie.title)})},_e=()=>{ue.current=new se.hP(te.current),ue.current.targetRoot=ge.current,ue.current.addEventListener("render",Te),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()(xe.imageDimensions,ne,z?xe.fullWidth:""),style:a},be.createElement("img",{className:xe.img,ref:te}))))}},36527:function(xt,ft,pe){"use strict";var be=pe(67294),xe=pe(71230),E=pe(15746),he=pe(66368),fe=pe(71577),se=pe(85725),re=pe(71736),ie=pe(84279),le=pe(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(xe.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(xe.Z,{gutter:[10,10]},ge.data.map((me,Se)=>le.createElement(E.Z,{key:Se,onClick:()=>b(me),className:re.Z.diamond},le.createElement(se.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:le.createElement(xe.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(xe.Z,{gutter:[10,10]},ge.data.map((me,Se)=>le.createElement(E.Z,{key:Se,onClick:()=>b(me),className:re.Z.diamond},le.createElement(se.Z,{value:"`$$"+me.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")))});ft.Z=ce},7621:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return he}});var be=pe(35973),xe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=pe(67294),he=({message:fe,className:se,children:re,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${xe.idsRingWrapper} ${se}`},E.createElement("div",{className:xe.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),fe?E.createElement("p",{style:ie},fe):null,re,E.createElement(be.Outlet,null))},38658:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return se}});var be=pe(67294),xe={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=pe(94184),he=pe.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()(xe.result,re),style:ie},be.createElement("div",{className:xe.left},be.createElement("div",{className:xe.title},be.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),be.createElement("span",null,ce)),be.createElement("div",{className:xe.leftNode},le)),be.createElement("div",{className:xe.right},be.createElement("div",{className:xe.title},be.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),be.createElement("span",null,oe)),be.createElement("div",{className:xe.rightNode},ae)))},62078:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return Or}});var be=pe(67294),xe=pe.t(be,2),E=pe(33054),he=pe(99569),fe=pe(94184),se=pe.n(fe),re=pe(87462),ie=pe(1413),le=pe(4942),ce=pe(97685),ae=pe(71002),oe=pe(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,it,Pt){if(it=it.toLowerCase(),Pt==="auto"){if(it==="height")return ut.offsetHeight;if(it==="width")return ut.offsetWidth}return it in z||(z[it]=ne.test(it)),z[it]?parseFloat(Pt)||0:Pt}function b(ut,it){var Pt=arguments.length,Bt=y(ut);return it=a[it]?"cssFloat"in ut.style?"cssFloat":"styleFloat":it,Pt===1?Bt:x(ut,it,Bt[it]||ut.style[it])}function ee(ut,it,Pt){var Bt=arguments.length;if(it=a[it]?"cssFloat"in ut.style?"cssFloat":"styleFloat":it,Bt===3)return typeof Pt=="number"&&ne.test(it)&&(Pt="".concat(Pt,"px")),ut.style[it]=Pt,Pt;for(var Gt in it)it.hasOwnProperty(Gt)&&ee(ut,Gt,it[Gt]);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),it=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ut,height:it}}function ge(){var ut=document.documentElement.clientWidth,it=window.innerHeight||document.documentElement.clientHeight;return{width:ut,height:it}}function ve(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function me(ut){var it=ut.getBoundingClientRect(),Pt=document.documentElement;return{left:it.left+(window.pageXOffset||Pt.scrollLeft)-(Pt.clientLeft||document.body.clientLeft||0),top:it.top+(window.pageYOffset||Pt.scrollTop)-(Pt.clientTop||document.body.clientTop||0)}}function Se(ut){var it=be.useRef();it.current=ut;var Pt=be.useCallback(function(){for(var Bt,Gt=arguments.length,sn=new Array(Gt),_n=0;_n<Gt;_n++)sn[_n]=arguments[_n];return(Bt=it.current)===null||Bt===void 0?void 0:Bt.call.apply(Bt,[it].concat(sn))},[]);return Pt}function ye(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Pe=ye()?be.useLayoutEffect:be.useEffect,we=function(it,Pt){var Bt=be.useRef(!0);Pe(function(){return it(Bt.current)},Pt),Pe(function(){return Bt.current=!1,function(){Bt.current=!0}},[])},Te=function(it,Pt){we(function(Bt){if(!Bt)return it()},Pt)},Ee=null;function _e(ut){var it=be.useRef(!1),Pt=be.useState(ut),Bt=(0,ce.Z)(Pt,2),Gt=Bt[0],sn=Bt[1];be.useEffect(function(){return it.current=!1,function(){it.current=!0}},[]);function _n(Mn,Fn){Fn&&it.current||sn(Mn)}return[Gt,_n]}function Ce(ut){return ut!==void 0}function Oe(ut,it){var Pt=it||{},Bt=Pt.defaultValue,Gt=Pt.value,sn=Pt.onChange,_n=Pt.postState,Mn=_e(function(){return Ce(Gt)?Gt:Ce(Bt)?typeof Bt=="function"?Bt():Bt:typeof ut=="function"?ut():ut}),Fn=(0,ce.Z)(Mn,2),Kn=Fn[0],gr=Fn[1],hr=Gt!==void 0?Gt:Kn,so=_n?_n(hr):hr,co=Se(sn),qr=_e([hr]),po=(0,ce.Z)(qr,2),Mo=po[0],Io=po[1];Te(function(){var Uo=Mo[0];Kn!==Uo&&co(Kn,Uo)},[Mo]),Te(function(){Ce(Gt)||gr(Gt)},[Gt]);var Hr=Se(function(Uo,fo){gr(Uo,fo),Io([hr],fo)});return[so,Hr]}var Ie=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],Ue=be.createContext(null),je=0;function nt(ut,it){var Pt=be.useState(function(){return je+=1,String(je)}),Bt=(0,ce.Z)(Pt,1),Gt=Bt[0],sn=be.useContext(Ue),_n={data:it,canPreview:ut};return be.useEffect(function(){if(sn)return sn.register(Gt,_n)},[]),be.useEffect(function(){sn&&sn.register(Gt,_n)},[ut,it]),Gt}function Je(ut){return new Promise(function(it){var Pt=document.createElement("img");Pt.onerror=function(){return it(!1)},Pt.onload=function(){return it(!0)},Pt.src=ut})}function Qe(ut){var it=ut.src,Pt=ut.isCustomPlaceholder,Bt=ut.fallback,Gt=(0,be.useState)(Pt?"loading":"normal"),sn=(0,ce.Z)(Gt,2),_n=sn[0],Mn=sn[1],Fn=(0,be.useRef)(!1),Kn=_n==="error";(0,be.useEffect)(function(){Je(it).then(function(co){co||Mn("error")})},[it]),(0,be.useEffect)(function(){Pt&&!Fn.current?Mn("loading"):Kn&&Mn("normal")},[it]);var gr=function(){Mn("normal")},hr=function(qr){Fn.current=!1,_n==="loading"&&qr!=null&&qr.complete&&(qr.naturalWidth||qr.naturalHeight)&&(Fn.current=!0,gr())},so=Kn&&Bt?{src:Bt}:{onLoad:gr,src:it};return[hr,so,_n]}var Xe=pe(2788),ze=be.createContext({});function ke(ut,it){if(!ut)return!1;if(ut.contains)return ut.contains(it);for(var Pt=it;Pt;){if(Pt===ut)return!0;Pt=Pt.parentNode}return!1}function Be(){var ut=(0,ie.Z)({},xe);return ut.useId}var qe=0;function Ye(){}function gt(ut){var it=be.useState("ssr-id"),Pt=(0,ce.Z)(it,2),Bt=Pt[0],Gt=Pt[1],sn=Be(),_n=sn==null?void 0:sn();return be.useEffect(function(){if(!sn){var Mn=qe;qe+=1,Gt("rc_unique_".concat(Mn))}},[]),ut||_n||Bt}var $e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(it){var Pt=it.keyCode;if(it.altKey&&!it.ctrlKey||it.metaKey||Pt>=$e.F1&&Pt<=$e.F12)return!1;switch(Pt){case $e.ALT:case $e.CAPS_LOCK:case $e.CONTEXT_MENU:case $e.CTRL:case $e.DOWN:case $e.END:case $e.ESC:case $e.HOME:case $e.INSERT:case $e.LEFT:case $e.MAC_FF_META:case $e.META:case $e.NUMLOCK:case $e.NUM_CENTER:case $e.PAGE_DOWN:case $e.PAGE_UP:case $e.PAUSE:case $e.PRINT_SCREEN:case $e.RIGHT:case $e.SHIFT:case $e.UP:case $e.WIN_KEY:case $e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(it){if(it>=$e.ZERO&&it<=$e.NINE||it>=$e.NUM_ZERO&&it<=$e.NUM_MULTIPLY||it>=$e.A&&it<=$e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&it===0)return!0;switch(it){case $e.SPACE:case $e.QUESTION_MARK:case $e.NUM_PLUS:case $e.NUM_MINUS:case $e.NUM_PERIOD:case $e.NUM_DIVISION:case $e.SEMICOLON:case $e.DASH:case $e.EQUALS:case $e.COMMA:case $e.PERIOD:case $e.SLASH:case $e.APOSTROPHE:case $e.SINGLE_QUOTE:case $e.OPEN_SQUARE_BRACKET:case $e.BACKSLASH:case $e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},We=$e,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`,Me="".concat(Re," ").concat(tt).split(/[\s\n]+/),He="aria-",Ve="data-";function Ze(ut,it){return ut.indexOf(it)===0}function Ke(ut){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pt;it===!1?Pt={aria:!0,data:!0,attr:!0}:it===!0?Pt={aria:!0}:Pt=(0,ie.Z)({},it);var Bt={};return Object.keys(ut).forEach(function(Gt){(Pt.aria&&(Gt==="role"||Ze(Gt,He))||Pt.data&&Ze(Gt,Ve)||Pt.attr&&Me.includes(Gt))&&(Bt[Gt]=ut[Gt])}),Bt}function Ae(ut,it,Pt){var Bt=it;return!Bt&&Pt&&(Bt="".concat(ut,"-").concat(Pt)),Bt}function Le(ut,it){var Pt=ut["page".concat(it?"Y":"X","Offset")],Bt="scroll".concat(it?"Top":"Left");if(typeof Pt!="number"){var Gt=ut.document;Pt=Gt.documentElement[Bt],typeof Pt!="number"&&(Pt=Gt.body[Bt])}return Pt}function Ne(ut){var it=ut.getBoundingClientRect(),Pt={left:it.left,top:it.top},Bt=ut.ownerDocument,Gt=Bt.defaultView||Bt.parentWindow;return Pt.left+=Le(Gt),Pt.top+=Le(Gt,!0),Pt}var Ge=pe(62874),ot=pe(59864);function St(ut,it,Pt){var Bt=be.useRef({});return(!("value"in Bt.current)||Pt(Bt.current.condition,it))&&(Bt.current.value=ut(),Bt.current.condition=it),Bt.current.value}function wt(ut,it){typeof ut=="function"?ut(it):(0,ae.Z)(ut)==="object"&&ut&&"current"in ut&&(ut.current=it)}function rt(){for(var ut=arguments.length,it=new Array(ut),Pt=0;Pt<ut;Pt++)it[Pt]=arguments[Pt];var Bt=it.filter(function(Gt){return Gt});return Bt.length<=1?Bt[0]:function(Gt){it.forEach(function(sn){wt(sn,Gt)})}}function bt(){for(var ut=arguments.length,it=new Array(ut),Pt=0;Pt<ut;Pt++)it[Pt]=arguments[Pt];return St(function(){return rt.apply(void 0,it)},it,function(Bt,Gt){return Bt.length===Gt.length&&Bt.every(function(sn,_n){return sn===Gt[_n]})})}function Ft(ut){var it,Pt,Bt=isMemo(ut)?ut.type.type:ut.type;return!(typeof Bt=="function"&&!((it=Bt.prototype)!==null&&it!==void 0&&it.render)||typeof ut=="function"&&!((Pt=ut.prototype)!==null&&Pt!==void 0&&Pt.render))}var $t=be.memo(function(ut){var it=ut.children;return it},function(ut,it){var Pt=it.shouldUpdate;return!Pt}),st={width:0,height:0,overflow:"hidden",outline:"none"},Nt=be.forwardRef(function(ut,it){var Pt=ut.prefixCls,Bt=ut.className,Gt=ut.style,sn=ut.title,_n=ut.ariaId,Mn=ut.footer,Fn=ut.closable,Kn=ut.closeIcon,gr=ut.onClose,hr=ut.children,so=ut.bodyStyle,co=ut.bodyProps,qr=ut.modalRender,po=ut.onMouseDown,Mo=ut.onMouseUp,Io=ut.holderRef,Hr=ut.visible,Uo=ut.forceRender,fo=ut.width,Wo=ut.height,sa=be.useContext(ze),Ua=sa.panel,Ko=bt(Io,Ua),Ra=(0,be.useRef)(),da=(0,be.useRef)();be.useImperativeHandle(it,function(){return{focus:function(){var $o;($o=Ra.current)===null||$o===void 0||$o.focus()},changeActive:function($o){var Pa=document,Da=Pa.activeElement;$o&&Da===da.current?Ra.current.focus():!$o&&Da===Ra.current&&da.current.focus()}}});var Ha={};fo!==void 0&&(Ha.width=fo),Wo!==void 0&&(Ha.height=Wo);var Go;Mn&&(Go=be.createElement("div",{className:"".concat(Pt,"-footer")},Mn));var ko;sn&&(ko=be.createElement("div",{className:"".concat(Pt,"-header")},be.createElement("div",{className:"".concat(Pt,"-title"),id:_n},sn)));var na;Fn&&(na=be.createElement("button",{type:"button",onClick:gr,"aria-label":"Close",className:"".concat(Pt,"-close")},Kn||be.createElement("span",{className:"".concat(Pt,"-close-x")})));var Wa=be.createElement("div",{className:"".concat(Pt,"-content")},na,ko,be.createElement("div",(0,re.Z)({className:"".concat(Pt,"-body"),style:so},co),hr),Go);return be.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":sn?_n:null,"aria-modal":"true",ref:Ko,style:(0,ie.Z)((0,ie.Z)({},Gt),Ha),className:se()(Pt,Bt),onMouseDown:po,onMouseUp:Mo},be.createElement("div",{tabIndex:0,ref:Ra,style:st,"aria-hidden":"true"}),be.createElement($t,{shouldUpdate:Hr||Uo},qr?qr(Wa):Wa),be.createElement("div",{tabIndex:0,ref:da,style:st,"aria-hidden":"true"}))}),ct=Nt,pt=be.forwardRef(function(ut,it){var Pt=ut.prefixCls,Bt=ut.title,Gt=ut.style,sn=ut.className,_n=ut.visible,Mn=ut.forceRender,Fn=ut.destroyOnClose,Kn=ut.motionName,gr=ut.ariaId,hr=ut.onVisibleChanged,so=ut.mousePosition,co=(0,be.useRef)(),qr=be.useState(),po=(0,ce.Z)(qr,2),Mo=po[0],Io=po[1],Hr={};Mo&&(Hr.transformOrigin=Mo);function Uo(){var fo=Ne(co.current);Io(so?"".concat(so.x-fo.left,"px ").concat(so.y-fo.top,"px"):"")}return be.createElement(Ge.Z,{visible:_n,onVisibleChanged:hr,onAppearPrepare:Uo,onEnterPrepare:Uo,forceRender:Mn,motionName:Kn,removeOnLeave:Fn,ref:co},function(fo,Wo){var sa=fo.className,Ua=fo.style;return be.createElement(ct,(0,re.Z)({},ut,{ref:it,title:Bt,ariaId:gr,prefixCls:Pt,holderRef:Wo,style:(0,ie.Z)((0,ie.Z)((0,ie.Z)({},Ua),Gt),Hr),className:se()(sn,sa)}))})});pt.displayName="Content";var Ct=pt;function Rt(ut){var it=ut.prefixCls,Pt=ut.style,Bt=ut.visible,Gt=ut.maskProps,sn=ut.motionName;return be.createElement(Ge.Z,{key:"mask",visible:Bt,motionName:sn,leavedClassName:"".concat(it,"-mask-hidden")},function(_n,Mn){var Fn=_n.className,Kn=_n.style;return be.createElement("div",(0,re.Z)({ref:Mn,style:(0,ie.Z)((0,ie.Z)({},Kn),Pt),className:se()("".concat(it,"-mask"),Fn)},Gt))})}function zt(ut){var it=ut.prefixCls,Pt=it===void 0?"rc-dialog":it,Bt=ut.zIndex,Gt=ut.visible,sn=Gt===void 0?!1:Gt,_n=ut.keyboard,Mn=_n===void 0?!0:_n,Fn=ut.focusTriggerAfterClose,Kn=Fn===void 0?!0:Fn,gr=ut.wrapStyle,hr=ut.wrapClassName,so=ut.wrapProps,co=ut.onClose,qr=ut.afterOpenChange,po=ut.afterClose,Mo=ut.transitionName,Io=ut.animation,Hr=ut.closable,Uo=Hr===void 0?!0:Hr,fo=ut.mask,Wo=fo===void 0?!0:fo,sa=ut.maskTransitionName,Ua=ut.maskAnimation,Ko=ut.maskClosable,Ra=Ko===void 0?!0:Ko,da=ut.maskStyle,Ha=ut.maskProps,Go=ut.rootClassName,ko=(0,be.useRef)(),na=(0,be.useRef)(),Wa=(0,be.useRef)(),ai=be.useState(sn),$o=(0,ce.Z)(ai,2),Pa=$o[0],Da=$o[1],kr=gt();function za(){ke(na.current,document.activeElement)||(ko.current=document.activeElement)}function Ja(){if(!ke(na.current,document.activeElement)){var La;(La=Wa.current)===null||La===void 0||La.focus()}}function hi(La){if(La)Ja();else{if(Da(!1),Wo&&ko.current&&Kn){try{ko.current.focus({preventScroll:!0})}catch(Ga){}ko.current=null}Pa&&(po==null||po())}qr==null||qr(La)}function xa(La){co==null||co(La)}var ti=(0,be.useRef)(!1),Ma=(0,be.useRef)(),ka=function(){clearTimeout(Ma.current),ti.current=!0},ni=function(){Ma.current=setTimeout(function(){ti.current=!1})},yi=null;Ra&&(yi=function(Ga){ti.current?ti.current=!1:na.current===Ga.target&&xa(Ga)});function Ta(La){if(Mn&&La.keyCode===We.ESC){La.stopPropagation(),xa(La);return}sn&&La.keyCode===We.TAB&&Wa.current.changeActive(!La.shiftKey)}return(0,be.useEffect)(function(){sn&&(Da(!0),za())},[sn]),(0,be.useEffect)(function(){return function(){clearTimeout(Ma.current)}},[]),be.createElement("div",(0,re.Z)({className:se()("".concat(Pt,"-root"),Go)},Ke(ut,{data:!0})),be.createElement(Rt,{prefixCls:Pt,visible:Wo&&sn,motionName:Ae(Pt,sa,Ua),style:(0,ie.Z)({zIndex:Bt},da),maskProps:Ha}),be.createElement("div",(0,re.Z)({tabIndex:-1,onKeyDown:Ta,className:se()("".concat(Pt,"-wrap"),hr),ref:na,onClick:yi,style:(0,ie.Z)((0,ie.Z)({zIndex:Bt},gr),{},{display:Pa?null:"none"})},so),be.createElement(Ct,(0,re.Z)({},ut,{onMouseDown:ka,onMouseUp:ni,ref:Wa,closable:Uo,ariaId:kr,prefixCls:Pt,visible:sn&&Pa,onClose:xa,onVisibleChanged:hi,motionName:Ae(Pt,Mo,Io)}))))}var rn=function(it){var Pt=it.visible,Bt=it.getContainer,Gt=it.forceRender,sn=it.destroyOnClose,_n=sn===void 0?!1:sn,Mn=it.afterClose,Fn=it.panelRef,Kn=be.useState(Pt),gr=(0,ce.Z)(Kn,2),hr=gr[0],so=gr[1],co=be.useMemo(function(){return{panel:Fn}},[Fn]);return be.useEffect(function(){Pt&&so(!0)},[Pt]),!Gt&&_n&&!hr?null:be.createElement(ze.Provider,{value:co},be.createElement(Xe.Z,{open:Pt||Gt||hr,autoDestroy:!1,getContainer:Bt,autoLock:Pt||hr},be.createElement(zt,(0,re.Z)({},it,{destroyOnClose:_n,afterClose:function(){Mn==null||Mn(),so(!1)}}))))};rn.displayName="Dialog";var kn=rn,jn=kn,Hn=pe(73935);function Pr(ut,it,Pt,Bt){var Gt=Hn.unstable_batchedUpdates?function(_n){Hn.unstable_batchedUpdates(Pt,_n)}:Pt;return ut!=null&&ut.addEventListener&&ut.addEventListener(it,Gt,Bt),{remove:function(){ut!=null&&ut.removeEventListener&&ut.removeEventListener(it,Gt,Bt)}}}var fn={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(it){var Pt=it.keyCode;if(it.altKey&&!it.ctrlKey||it.metaKey||Pt>=fn.F1&&Pt<=fn.F12)return!1;switch(Pt){case fn.ALT:case fn.CAPS_LOCK:case fn.CONTEXT_MENU:case fn.CTRL:case fn.DOWN:case fn.END:case fn.ESC:case fn.HOME:case fn.INSERT:case fn.LEFT:case fn.MAC_FF_META:case fn.META:case fn.NUMLOCK:case fn.NUM_CENTER:case fn.PAGE_DOWN:case fn.PAGE_UP:case fn.PAUSE:case fn.PRINT_SCREEN:case fn.RIGHT:case fn.SHIFT:case fn.UP:case fn.WIN_KEY:case fn.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(it){if(it>=fn.ZERO&&it<=fn.NINE||it>=fn.NUM_ZERO&&it<=fn.NUM_MULTIPLY||it>=fn.A&&it<=fn.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&it===0)return!0;switch(it){case fn.SPACE:case fn.QUESTION_MARK:case fn.NUM_PLUS:case fn.NUM_MINUS:case fn.NUM_PERIOD:case fn.NUM_DIVISION:case fn.SEMICOLON:case fn.DASH:case fn.EQUALS:case fn.COMMA:case fn.PERIOD:case fn.SLASH:case fn.APOSTROPHE:case fn.SINGLE_QUOTE:case fn.OPEN_SQUARE_BRACKET:case fn.BACKSLASH:case fn.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Er=fn,oo={},Lo=[],zo=function(it){Lo.push(it)};function Eo(ut,it){if(0)var Pt}function mo(ut,it){if(0)var Pt}function Sn(){oo={}}function ln(ut,it,Pt){!it&&!oo[Pt]&&(ut(!1,Pt),oo[Pt]=!0)}function mn(ut,it){ln(Eo,ut,it)}function Ln(ut,it){ln(mo,ut,it)}mn.preMessage=zo,mn.resetWarned=Sn,mn.noteOnce=Ln;var Wn=mn;function lr(ut,it,Pt,Bt){var Gt=it+Pt,sn=(Pt-Bt)/2;if(Pt>Bt){if(it>0)return(0,le.Z)({},ut,sn);if(it<0&&Gt<Bt)return(0,le.Z)({},ut,-sn)}else if(it<0||Gt>Bt)return(0,le.Z)({},ut,it<0?sn:-sn);return{}}function er(ut,it,Pt,Bt){var Gt=ge(),sn=Gt.width,_n=Gt.height,Mn=null;return ut<=sn&&it<=_n?Mn={x:0,y:0}:(ut>sn||it>_n)&&(Mn=(0,ie.Z)((0,ie.Z)({},lr("x",Pt,ut,sn)),lr("y",Bt,it,_n))),Mn}function Wr(ut,it){var Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Bt=new Set;function Gt(sn,_n){var Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Fn=Bt.has(sn);if(Wn(!Fn,"Warning: There may be circular references"),Fn)return!1;if(sn===_n)return!0;if(Pt&&Mn>1)return!1;Bt.add(sn);var Kn=Mn+1;if(Array.isArray(sn)){if(!Array.isArray(_n)||sn.length!==_n.length)return!1;for(var gr=0;gr<sn.length;gr++)if(!Gt(sn[gr],_n[gr],Kn))return!1;return!0}if(sn&&_n&&(0,ae.Z)(sn)==="object"&&(0,ae.Z)(_n)==="object"){var hr=Object.keys(sn);return hr.length!==Object.keys(_n).length?!1:hr.every(function(so){return Gt(sn[so],_n[so],Kn)})}return!1}return Gt(ut,it)}var Br=Wr,cr=function(it){return+setTimeout(it,16)},Mt=function(it){return clearTimeout(it)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(cr=function(it){return window.requestAnimationFrame(it)},Mt=function(it){return window.cancelAnimationFrame(it)});var jt=0,Tt=new Map;function wn(ut){Tt.delete(ut)}var zn=function(it){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;jt+=1;var Bt=jt;function Gt(sn){if(sn===0)wn(Bt),it();else{var _n=cr(function(){Gt(sn-1)});Tt.set(Bt,_n)}}return Gt(Pt),Bt};zn.cancel=function(ut){var it=Tt.get(ut);return wn(it),Mt(it)};var $n=zn,_r={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function mr(ut,it,Pt,Bt){var Gt=(0,be.useRef)(null),sn=(0,be.useRef)([]),_n=(0,be.useState)(_r),Mn=(0,ce.Z)(_n,2),Fn=Mn[0],Kn=Mn[1],gr=function(qr){Kn(_r),Bt&&!Br(_r,Fn)&&Bt({transform:_r,action:qr})},hr=function(qr,po){Gt.current===null&&(sn.current=[],Gt.current=$n(function(){Kn(function(Mo){var Io=Mo;return sn.current.forEach(function(Hr){Io=(0,ie.Z)((0,ie.Z)({},Io),Hr)}),Gt.current=null,Bt==null||Bt({transform:Io,action:po}),Io})})),sn.current.push((0,ie.Z)((0,ie.Z)({},Fn),qr))},so=function(qr,po,Mo,Io){var Hr=ut.current,Uo=Hr.width,fo=Hr.height,Wo=Hr.offsetWidth,sa=Hr.offsetHeight,Ua=Hr.offsetLeft,Ko=Hr.offsetTop,Ra=qr,da=Fn.scale*qr;da>Pt?(Ra=Pt/Fn.scale,da=Pt):da<it&&(Ra=it/Fn.scale,da=it);var Ha=Mo!=null?Mo:innerWidth/2,Go=Io!=null?Io:innerHeight/2,ko=Ra-1,na=ko*Uo*.5,Wa=ko*fo*.5,ai=ko*(Ha-Fn.x-Ua),$o=ko*(Go-Fn.y-Ko),Pa=Fn.x-(ai-na),Da=Fn.y-($o-Wa);if(qr<1&&da===1){var kr=Wo*da,za=sa*da,Ja=ge(),hi=Ja.width,xa=Ja.height;kr<=hi&&za<=xa&&(Pa=0,Da=0)}hr({x:Pa,y:Da,scale:da},po)};return{transform:Fn,resetTransform:gr,updateTransform:hr,dispatchZoomChange:so}}var Lr=function(it){var Pt=it.visible,Bt=it.maskTransitionName,Gt=it.getContainer,sn=it.prefixCls,_n=it.rootClassName,Mn=it.icons,Fn=it.countRender,Kn=it.showSwitch,gr=it.showProgress,hr=it.current,so=it.transform,co=it.count,qr=it.scale,po=it.minScale,Mo=it.maxScale,Io=it.closeIcon,Hr=it.onSwitchLeft,Uo=it.onSwitchRight,fo=it.onClose,Wo=it.onZoomIn,sa=it.onZoomOut,Ua=it.onRotateRight,Ko=it.onRotateLeft,Ra=it.onFlipX,da=it.onFlipY,Ha=it.toolbarRender,Go=(0,be.useContext)(Ue),ko=Mn.rotateLeft,na=Mn.rotateRight,Wa=Mn.zoomIn,ai=Mn.zoomOut,$o=Mn.close,Pa=Mn.left,Da=Mn.right,kr=Mn.flipX,za=Mn.flipY,Ja="".concat(sn,"-operations-operation");be.useEffect(function(){var Ma=function(ni){ni.keyCode===Er.ESC&&fo()};return Pt&&window.addEventListener("keydown",Ma),function(){window.removeEventListener("keydown",Ma)}},[Pt]);var hi=[{icon:za,onClick:da,type:"flipY"},{icon:kr,onClick:Ra,type:"flipX"},{icon:ko,onClick:Ko,type:"rotateLeft"},{icon:na,onClick:Ua,type:"rotateRight"},{icon:ai,onClick:sa,type:"zoomOut",disabled:qr===po},{icon:Wa,onClick:Wo,type:"zoomIn",disabled:qr===Mo}],xa=hi.map(function(Ma){var ka,ni=Ma.icon,yi=Ma.onClick,Ta=Ma.type,La=Ma.disabled;return be.createElement("div",{className:se()(Ja,(ka={},(0,le.Z)(ka,"".concat(sn,"-operations-operation-").concat(Ta),!0),(0,le.Z)(ka,"".concat(sn,"-operations-operation-disabled"),!!La),ka)),onClick:yi,key:Ta},ni)}),ti=be.createElement("div",{className:"".concat(sn,"-operations")},xa);return be.createElement(Ge.Z,{visible:Pt,motionName:Bt},function(Ma){var ka=Ma.className,ni=Ma.style;return be.createElement(Xe.Z,{open:!0,getContainer:Gt!=null?Gt:document.body},be.createElement("div",{className:se()("".concat(sn,"-operations-wrapper"),ka,_n),style:ni},Io===null?null:be.createElement("button",{className:"".concat(sn,"-close"),onClick:fo},Io||$o),Kn&&be.createElement(be.Fragment,null,be.createElement("div",{className:se()("".concat(sn,"-switch-left"),(0,le.Z)({},"".concat(sn,"-switch-left-disabled"),hr===0)),onClick:Hr},Pa),be.createElement("div",{className:se()("".concat(sn,"-switch-right"),(0,le.Z)({},"".concat(sn,"-switch-right-disabled"),hr===co-1)),onClick:Uo},Da)),be.createElement("div",{className:"".concat(sn,"-footer")},gr&&be.createElement("div",{className:"".concat(sn,"-progress")},Fn?Fn(hr+1,co):"".concat(hr+1," / ").concat(co)),Ha?Ha(ti,(0,ie.Z)({icons:{flipYIcon:xa[0],flipXIcon:xa[1],rotateLeftIcon:xa[2],rotateRightIcon:xa[3],zoomOutIcon:xa[4],zoomInIcon:xa[5]},actions:{onFlipY:da,onFlipX:Ra,onRotateLeft:Ko,onRotateRight:Ua,onZoomOut:sa,onZoomIn:Wo},transform:so},Go?{current:hr,total:co}:{})):ti)))})},ao=Lr,vo=1,Cn=1,Kr=["fallback","src","imgRef"],At=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],an=function(it){var Pt=it.fallback,Bt=it.src,Gt=it.imgRef,sn=(0,oe.Z)(it,Kr),_n=Qe({src:Bt,fallback:Pt}),Mn=(0,ce.Z)(_n,2),Fn=Mn[0],Kn=Mn[1];return be.createElement("img",(0,re.Z)({ref:function(hr){Gt.current=hr,Fn(hr)}},sn,Kn))},qt=function(it){var Pt=it.prefixCls,Bt=it.src,Gt=it.alt,sn=it.fallback,_n=it.movable,Mn=_n===void 0?!0:_n,Fn=it.onClose,Kn=it.visible,gr=it.icons,hr=gr===void 0?{}:gr,so=it.rootClassName,co=it.closeIcon,qr=it.getContainer,po=it.current,Mo=po===void 0?0:po,Io=it.count,Hr=Io===void 0?1:Io,Uo=it.countRender,fo=it.scaleStep,Wo=fo===void 0?.5:fo,sa=it.minScale,Ua=sa===void 0?1:sa,Ko=it.maxScale,Ra=Ko===void 0?50:Ko,da=it.transitionName,Ha=da===void 0?"zoom":da,Go=it.maskTransitionName,ko=Go===void 0?"fade":Go,na=it.imageRender,Wa=it.imgCommonProps,ai=it.toolbarRender,$o=it.onTransform,Pa=it.onChange,Da=(0,oe.Z)(it,At),kr=(0,be.useRef)(),za=(0,be.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),Ja=(0,be.useState)(!1),hi=(0,ce.Z)(Ja,2),xa=hi[0],ti=hi[1],Ma=(0,be.useContext)(Ue),ka=Ma&&Hr>1,ni=Ma&&Hr>=1,yi=mr(kr,Ua,Ra,$o),Ta=yi.transform,La=yi.resetTransform,Ga=yi.updateTransform,Ci=yi.dispatchZoomChange,Qi=(0,be.useState)(!0),us=(0,ce.Z)(Qi,2),ds=us[0],Ii=us[1],Si=Ta.rotate,mi=Ta.scale,Ki=Ta.x,Gi=Ta.y,Us=se()((0,le.Z)({},"".concat(Pt,"-moving"),xa));(0,be.useEffect)(function(){ds||Ii(!0)},[ds]);var Hs=function(){La("close")},fs=function(){Ci(vo+Wo,"zoomIn")},vs=function(){Ci(vo/(vo+Wo),"zoomOut")},zs=function(){Ga({rotate:Si+90},"rotateRight")},ys=function(){Ga({rotate:Si-90},"rotateLeft")},qi=function(){Ga({flipX:!Ta.flipX},"flipX")},es=function(){Ga({flipY:!Ta.flipY},"flipY")},Ss=function(Nn){Nn==null||Nn.preventDefault(),Nn==null||Nn.stopPropagation(),Mo>0&&(Ii(!1),La("prev"),Pa==null||Pa(Mo-1,Mo))},xs=function(Nn){Nn==null||Nn.preventDefault(),Nn==null||Nn.stopPropagation(),Mo<Hr-1&&(Ii(!1),La("next"),Pa==null||Pa(Mo+1,Mo))},at=function(){if(Kn&&xa){ti(!1);var Nn=za.current,ir=Nn.transformX,Dr=Nn.transformY,tr=Ki!==ir&&Gi!==Dr;if(!tr)return;var Fr=kr.current.offsetWidth*mi,Mr=kr.current.offsetHeight*mi,eo=kr.current.getBoundingClientRect(),Zo=eo.left,Do=eo.top,Vo=Si%180!==0,Ho=er(Vo?Mr:Fr,Vo?Fr:Mr,Zo,Do);Ho&&Ga((0,ie.Z)({},Ho),"dragRebound")}},vt=function(Nn){!Mn||Nn.button!==0||(Nn.preventDefault(),Nn.stopPropagation(),za.current={deltaX:Nn.pageX-Ta.x,deltaY:Nn.pageY-Ta.y,transformX:Ta.x,transformY:Ta.y},ti(!0))},mt=function(Nn){Kn&&xa&&Ga({x:Nn.pageX-za.current.deltaX,y:Nn.pageY-za.current.deltaY},"move")},kt=function(Nn){if(!(!Kn||Nn.deltaY==0)){var ir=Math.abs(Nn.deltaY/100),Dr=Math.min(ir,Cn),tr=vo+Dr*Wo;Nn.deltaY>0&&(tr=vo/tr),Ci(tr,"wheel",Nn.clientX,Nn.clientY)}},en=function(Nn){!Kn||!ka||(Nn.keyCode===Er.LEFT?Ss():Nn.keyCode===Er.RIGHT&&xs())},bn=function(Nn){Kn&&(mi!==1?Ga({x:0,y:0,scale:1},"doubleClick"):Ci(vo+Wo,"doubleClick",Nn.clientX,Nn.clientY))};(0,be.useEffect)(function(){var Gn,Nn,ir,Dr;if(Mn){ir=Pr(window,"mouseup",at,!1),Dr=Pr(window,"mousemove",mt,!1);try{window.top!==window.self&&(Gn=Pr(window.top,"mouseup",at,!1),Nn=Pr(window.top,"mousemove",mt,!1))}catch(tr){Eo(!1,"[rc-image] ".concat(tr))}}return function(){var tr,Fr,Mr,eo;(tr=ir)===null||tr===void 0||tr.remove(),(Fr=Dr)===null||Fr===void 0||Fr.remove(),(Mr=Gn)===null||Mr===void 0||Mr.remove(),(eo=Nn)===null||eo===void 0||eo.remove()}},[Kn,xa,Ki,Gi,Si,Mn]),(0,be.useEffect)(function(){var Gn=Pr(window,"keydown",en,!1);return function(){Gn.remove()}},[Kn,ka,Mo]);var En=be.createElement(an,(0,re.Z)({},Wa,{width:it.width,height:it.height,imgRef:kr,className:"".concat(Pt,"-img"),alt:Gt,style:{transform:"translate3d(".concat(Ta.x,"px, ").concat(Ta.y,"px, 0) scale3d(").concat(Ta.flipX?"-":"").concat(mi,", ").concat(Ta.flipY?"-":"").concat(mi,", 1) rotate(").concat(Si,"deg)"),transitionDuration:!ds&&"0s"},fallback:sn,src:Bt,onWheel:kt,onMouseDown:vt,onDoubleClick:bn}));return be.createElement(be.Fragment,null,be.createElement(jn,(0,re.Z)({transitionName:Ha,maskTransitionName:ko,closable:!1,keyboard:!0,prefixCls:Pt,onClose:Fn,visible:Kn,wrapClassName:Us,rootClassName:so,getContainer:qr},Da,{afterClose:Hs}),be.createElement("div",{className:"".concat(Pt,"-img-wrapper")},na?na(En,(0,ie.Z)({transform:Ta},Ma?{current:Mo}:{})):En)),be.createElement(ao,{visible:Kn,transform:Ta,maskTransitionName:ko,closeIcon:co,getContainer:qr,prefixCls:Pt,rootClassName:so,icons:hr,countRender:Uo,showSwitch:ka,showProgress:ni,current:Mo,count:Hr,scale:mi,minScale:Ua,maxScale:Ra,toolbarRender:ai,onSwitchLeft:Ss,onSwitchRight:xs,onZoomIn:fs,onZoomOut:vs,onRotateRight:zs,onRotateLeft:ys,onFlipX:qi,onFlipY:es,onClose:Fn}))},on=qt,In=pe(74902);function tn(ut){var it=be.useState({}),Pt=(0,ce.Z)(it,2),Bt=Pt[0],Gt=Pt[1],sn=be.useCallback(function(Mn,Fn){return Gt(function(Kn){return(0,ie.Z)((0,ie.Z)({},Kn),{},(0,le.Z)({},Mn,Fn))}),function(){Gt(function(Kn){var gr=(0,ie.Z)({},Kn);return delete gr[Mn],gr})}},[]),_n=be.useMemo(function(){return ut?ut.map(function(Mn){if(typeof Mn=="string")return{data:{src:Mn}};var Fn={};return Object.keys(Mn).forEach(function(Kn){["src"].concat((0,In.Z)(Ie)).includes(Kn)&&(Fn[Kn]=Mn[Kn])}),{data:Fn}}):Object.keys(Bt).reduce(function(Mn,Fn){var Kn=Bt[Fn],gr=Kn.canPreview,hr=Kn.data;return gr&&Mn.push({data:hr,id:Fn}),Mn},[])},[ut,Bt]);return[_n,sn]}var An=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],cn=["src"],xr=function(it){var Pt,Bt=it.previewPrefixCls,Gt=Bt===void 0?"rc-image-preview":Bt,sn=it.children,_n=it.icons,Mn=_n===void 0?{}:_n,Fn=it.items,Kn=it.preview,gr=it.fallback,hr=(0,ae.Z)(Kn)==="object"?Kn:{},so=hr.visible,co=hr.onVisibleChange,qr=hr.getContainer,po=hr.current,Mo=hr.movable,Io=hr.minScale,Hr=hr.maxScale,Uo=hr.countRender,fo=hr.closeIcon,Wo=hr.onChange,sa=hr.onTransform,Ua=hr.toolbarRender,Ko=hr.imageRender,Ra=(0,oe.Z)(hr,An),da=tn(Fn),Ha=(0,ce.Z)(da,2),Go=Ha[0],ko=Ha[1],na=Oe(0,{value:po}),Wa=(0,ce.Z)(na,2),ai=Wa[0],$o=Wa[1],Pa=(0,be.useState)(!1),Da=(0,ce.Z)(Pa,2),kr=Da[0],za=Da[1],Ja=((Pt=Go[ai])===null||Pt===void 0?void 0:Pt.data)||{},hi=Ja.src,xa=(0,oe.Z)(Ja,cn),ti=Oe(!!so,{value:so,onChange:function(Si,mi){co==null||co(Si,mi,ai)}}),Ma=(0,ce.Z)(ti,2),ka=Ma[0],ni=Ma[1],yi=(0,be.useState)(null),Ta=(0,ce.Z)(yi,2),La=Ta[0],Ga=Ta[1],Ci=be.useCallback(function(Ii,Si,mi){var Ki=Go.findIndex(function(Gi){return Gi.id===Ii});ni(!0),Ga({x:Si,y:mi}),$o(Ki<0?0:Ki),za(!0)},[Go]);be.useEffect(function(){ka?kr||$o(0):za(!1)},[ka]);var Qi=function(Si,mi){$o(Si),Wo==null||Wo(Si,mi)},us=function(){ni(!1),Ga(null)},ds=be.useMemo(function(){return{register:ko,onPreview:Ci}},[ko,Ci]);return be.createElement(Ue.Provider,{value:ds},sn,be.createElement(on,(0,re.Z)({"aria-hidden":!ka,movable:Mo,visible:ka,prefixCls:Gt,closeIcon:fo,onClose:us,mousePosition:La,imgCommonProps:xa,src:hi,fallback:gr,icons:Mn,minScale:Io,maxScale:Hr,getContainer:qr,current:ai,count:Go.length,countRender:Uo,onTransform:sa,toolbarRender:Ua,imageRender:Ko,onChange:Qi},Ra)))},ur=xr,Ur=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],to=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],xo=function(it){var Pt=it.src,Bt=it.alt,Gt=it.onPreviewClose,sn=it.prefixCls,_n=sn===void 0?"rc-image":sn,Mn=it.previewPrefixCls,Fn=Mn===void 0?"".concat(_n,"-preview"):Mn,Kn=it.placeholder,gr=it.fallback,hr=it.width,so=it.height,co=it.style,qr=it.preview,po=qr===void 0?!0:qr,Mo=it.className,Io=it.onClick,Hr=it.onError,Uo=it.wrapperClassName,fo=it.wrapperStyle,Wo=it.rootClassName,sa=(0,oe.Z)(it,Ur),Ua=Kn&&Kn!==!0,Ko=(0,ae.Z)(po)==="object"?po:{},Ra=Ko.src,da=Ko.visible,Ha=da===void 0?void 0:da,Go=Ko.onVisibleChange,ko=Go===void 0?Gt:Go,na=Ko.getContainer,Wa=na===void 0?void 0:na,ai=Ko.mask,$o=Ko.maskClassName,Pa=Ko.movable,Da=Ko.icons,kr=Ko.scaleStep,za=Ko.minScale,Ja=Ko.maxScale,hi=Ko.imageRender,xa=Ko.toolbarRender,ti=(0,oe.Z)(Ko,to),Ma=Ra!=null?Ra:Pt,ka=Oe(!!Ha,{value:Ha,onChange:ko}),ni=(0,ce.Z)(ka,2),yi=ni[0],Ta=ni[1],La=Qe({src:Pt,isCustomPlaceholder:Ua,fallback:gr}),Ga=(0,ce.Z)(La,3),Ci=Ga[0],Qi=Ga[1],us=Ga[2],ds=(0,be.useState)(null),Ii=(0,ce.Z)(ds,2),Si=Ii[0],mi=Ii[1],Ki=(0,be.useContext)(Ue),Gi=!!po,Us=function(){Ta(!1),mi(null)},Hs=se()(_n,Uo,Wo,(0,le.Z)({},"".concat(_n,"-error"),us==="error")),fs=(0,be.useMemo)(function(){var qi={};return Ie.forEach(function(es){it[es]!==void 0&&(qi[es]=it[es])}),qi},Ie.map(function(qi){return it[qi]})),vs=(0,be.useMemo)(function(){return(0,ie.Z)((0,ie.Z)({},fs),{},{src:Ma})},[Ma,fs]),zs=nt(Gi,vs),ys=function(es){var Ss=me(es.target),xs=Ss.left,at=Ss.top;Ki?Ki.onPreview(zs,xs,at):(mi({x:xs,y:at}),Ta(!0)),Io==null||Io(es)};return be.createElement(be.Fragment,null,be.createElement("div",(0,re.Z)({},sa,{className:Hs,onClick:Gi?ys:Io,style:(0,ie.Z)({width:hr,height:so},fo)}),be.createElement("img",(0,re.Z)({},fs,{className:se()("".concat(_n,"-img"),(0,le.Z)({},"".concat(_n,"-img-placeholder"),Kn===!0),Mo),style:(0,ie.Z)({height:so},co),ref:Ci},Qi,{width:hr,height:so,onError:Hr})),us==="loading"&&be.createElement("div",{"aria-hidden":"true",className:"".concat(_n,"-placeholder")},Kn),ai&&Gi&&be.createElement("div",{className:se()("".concat(_n,"-mask"),$o),style:{display:(co==null?void 0:co.display)==="none"?"none":void 0}},ai)),!Ki&&Gi&&be.createElement(on,(0,re.Z)({"aria-hidden":!yi,visible:yi,prefixCls:Fn,onClose:Us,mousePosition:Si,src:Ma,alt:Bt,fallback:gr,getContainer:Wa,icons:Da,movable:Pa,scaleStep:kr,minScale:za,maxScale:Ja,rootClassName:Wo,imageRender:hi,imgCommonProps:fs,toolbarRender:xa},ti)))};xo.PreviewGroup=ur,xo.displayName="Image";var dn=xo,Ro=dn,ea=pe(33603),Po=pe(53124),ta=pe(24457),Dn=pe(73475),ar=pe(22751),Ir=pe(91034),Bn={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"},wo=Bn,lo=pe(74643),ia=function(it,Pt){return be.createElement(lo.Z,(0,re.Z)({},it,{ref:Pt,icon:wo}))},ca=be.forwardRef(ia),ua={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"},_t=ua,Et=function(it,Pt){return be.createElement(lo.Z,(0,re.Z)({},it,{ref:Pt,icon:_t}))},Qt=be.forwardRef(Et),un={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"},Pn=un,Yn=function(it,Pt){return be.createElement(lo.Z,(0,re.Z)({},it,{ref:Pt,icon:Pn}))},vr=be.forwardRef(Yn),Nr={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"},no=Nr,uo=function(it,Pt){return be.createElement(lo.Z,(0,re.Z)({},it,{ref:Pt,icon:no}))},io=be.forwardRef(uo),Bo={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"},dr=Bo,Ot=function(it,Pt){return be.createElement(lo.Z,(0,re.Z)({},it,{ref:Pt,icon:dr}))},Ut=be.forwardRef(Ot),Yt=pe(84780),dt=pe(71194),Jt=pe(14747),vn=pe(50438),yn=pe(16932),Ht=pe(67968),Zt=pe(45503);const Kt=ut=>({position:ut||"absolute",inset:0}),Rn=ut=>{const{iconCls:it,motionDurationSlow:Pt,paddingXXS:Bt,marginXXS:Gt,prefixCls:sn,colorTextLightSolid:_n}=ut;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:_n,background:new Yt.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Pt}`,[`.${sn}-mask-info`]:Object.assign(Object.assign({},Jt.vS),{padding:`0 ${Bt}px`,[it]:{marginInlineEnd:Gt,svg:{verticalAlign:"baseline"}}})}},Vn=ut=>{const{previewCls:it,modalMaskBg:Pt,paddingSM:Bt,marginXL:Gt,margin:sn,paddingLG:_n,previewOperationColorDisabled:Mn,previewOperationHoverColor:Fn,motionDurationSlow:Kn,iconCls:gr,colorTextLightSolid:hr}=ut,so=new Yt.C(Pt).setAlpha(.1),co=so.clone().setAlpha(.2);return{[`${it}-footer`]:{position:"fixed",bottom:Gt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:ut.previewOperationColor},[`${it}-progress`]:{marginBottom:sn},[`${it}-close`]:{position:"fixed",top:Gt,right:{_skip_check_:!0,value:Gt},display:"flex",color:hr,backgroundColor:so.toRgbString(),borderRadius:"50%",padding:Bt,outline:0,border:0,cursor:"pointer",transition:`all ${Kn}`,"&:hover":{backgroundColor:co.toRgbString()},[`& > ${gr}`]:{fontSize:ut.previewOperationSize}},[`${it}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${_n}px`,backgroundColor:so.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Bt,padding:Bt,cursor:"pointer",transition:`all ${Kn}`,userSelect:"none",[`&:not(${it}-operations-operation-disabled):hover > ${gr}`]:{color:Fn},"&-disabled":{color:Mn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${gr}`]:{fontSize:ut.previewOperationSize}}}}},sr=ut=>{const{modalMaskBg:it,iconCls:Pt,previewOperationColorDisabled:Bt,previewCls:Gt,zIndexPopup:sn,motionDurationSlow:_n}=ut,Mn=new Yt.C(it).setAlpha(.1),Fn=Mn.clone().setAlpha(.2);return{[`${Gt}-switch-left, ${Gt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:sn+1,display:"flex",alignItems:"center",justifyContent:"center",width:ut.imagePreviewSwitchSize,height:ut.imagePreviewSwitchSize,marginTop:-ut.imagePreviewSwitchSize/2,color:ut.previewOperationColor,background:Mn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${_n}`,userSelect:"none","&:hover":{background:Fn.toRgbString()},"&-disabled":{"&, &:hover":{color:Bt,background:"transparent",cursor:"not-allowed",[`> ${Pt}`]:{cursor:"not-allowed"}}},[`> ${Pt}`]:{fontSize:ut.previewOperationSize}},[`${Gt}-switch-left`]:{insetInlineStart:ut.marginSM},[`${Gt}-switch-right`]:{insetInlineEnd:ut.marginSM}}},nr=ut=>{const{motionEaseOut:it,previewCls:Pt,motionDurationSlow:Bt,componentCls:Gt}=ut;return[{[`${Gt}-preview-root`]:{[Pt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Pt}-body`]:Object.assign(Object.assign({},Kt()),{overflow:"hidden"}),[`${Pt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Bt} ${it} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Kt()),{transition:`transform ${Bt} ${it} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Pt}-moving`]:{[`${Pt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Gt}-preview-root`]:{[`${Pt}-wrap`]:{zIndex:ut.zIndexPopup}}},{[`${Gt}-preview-operations-wrapper`]:{position:"fixed",zIndex:ut.zIndexPopup+1},"&":[Vn(ut),sr(ut)]}]},fr=ut=>{const{componentCls:it}=ut;return{[it]:{position:"relative",display:"inline-block",[`${it}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${it}-img-placeholder`]:{backgroundColor:ut.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${it}-mask`]:Object.assign({},Rn(ut)),[`${it}-mask:hover`]:{opacity:1},[`${it}-placeholder`]:Object.assign({},Kt())}}},wr=ut=>{const{previewCls:it}=ut;return{[`${it}-root`]:(0,vn._y)(ut,"zoom"),"&":(0,yn.J$)(ut,!0)}};var Tn=(0,Ht.Z)("Image",ut=>{const it=`${ut.componentCls}-preview`,Pt=(0,Zt.TS)(ut,{previewCls:it,modalMaskBg:new Yt.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:ut.controlHeightLG});return[fr(Pt),nr(Pt),(0,dt.QA)((0,Zt.TS)(Pt,{componentCls:it})),wr(Pt)]},ut=>({zIndexPopup:ut.zIndexPopupBase+80,previewOperationColor:new Yt.C(ut.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Yt.C(ut.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Yt.C(ut.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:ut.fontSizeIcon*1.5})),Vt=function(ut,it){var Pt={};for(var Bt in ut)Object.prototype.hasOwnProperty.call(ut,Bt)&&it.indexOf(Bt)<0&&(Pt[Bt]=ut[Bt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Bt=Object.getOwnPropertySymbols(ut);Gt<Bt.length;Gt++)it.indexOf(Bt[Gt])<0&&Object.prototype.propertyIsEnumerable.call(ut,Bt[Gt])&&(Pt[Bt[Gt]]=ut[Bt[Gt]]);return Pt};const gn={rotateLeft:be.createElement(ca,null),rotateRight:be.createElement(Qt,null),zoomIn:be.createElement(io,null),zoomOut:be.createElement(Ut,null),close:be.createElement(Dn.Z,null),left:be.createElement(ar.Z,null),right:be.createElement(Ir.Z,null),flipX:be.createElement(vr,null),flipY:be.createElement(vr,{rotate:90})};var Jn=ut=>{var{previewPrefixCls:it,preview:Pt}=ut,Bt=Vt(ut,["previewPrefixCls","preview"]);const{getPrefixCls:Gt}=be.useContext(Po.E_),sn=Gt("image",it),_n=`${sn}-preview`,Mn=Gt(),[Fn,Kn]=Tn(sn),gr=be.useMemo(()=>{var hr;if(Pt===!1)return Pt;const so=typeof Pt=="object"?Pt:{},co=se()(Kn,(hr=so.rootClassName)!==null&&hr!==void 0?hr:"");return Object.assign(Object.assign({},so),{transitionName:(0,ea.m)(Mn,"zoom",so.transitionName),maskTransitionName:(0,ea.m)(Mn,"fade",so.maskTransitionName),rootClassName:co})},[Pt]);return Fn(be.createElement(Ro.PreviewGroup,Object.assign({preview:gr,previewPrefixCls:_n,icons:gn},Bt)))},Sr=function(ut,it){var Pt={};for(var Bt in ut)Object.prototype.hasOwnProperty.call(ut,Bt)&&it.indexOf(Bt)<0&&(Pt[Bt]=ut[Bt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Bt=Object.getOwnPropertySymbols(ut);Gt<Bt.length;Gt++)it.indexOf(Bt[Gt])<0&&Object.prototype.propertyIsEnumerable.call(ut,Bt[Gt])&&(Pt[Bt[Gt]]=ut[Bt[Gt]]);return Pt};const Rr=ut=>{const{prefixCls:it,preview:Pt,className:Bt,rootClassName:Gt,style:sn}=ut,_n=Sr(ut,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Mn,locale:Fn=ta.Z,getPopupContainer:Kn,image:gr}=be.useContext(Po.E_),hr=Mn("image",it),so=Mn(),co=Fn.Image||ta.Z.Image,[qr,po]=Tn(hr),Mo=se()(Gt,po),Io=se()(Bt,po,gr==null?void 0:gr.className),Hr=be.useMemo(()=>{if(Pt===!1)return Pt;const fo=typeof Pt=="object"?Pt:{},{getContainer:Wo}=fo,sa=Sr(fo,["getContainer"]);return Object.assign(Object.assign({mask:be.createElement("div",{className:`${hr}-mask-info`},be.createElement(he.Z,null),co==null?void 0:co.preview),icons:gn},sa),{getContainer:Wo||Kn,transitionName:(0,ea.m)(so,"zoom",fo.transitionName),maskTransitionName:(0,ea.m)(so,"fade",fo.maskTransitionName)})},[Pt,co]),Uo=Object.assign(Object.assign({},gr==null?void 0:gr.style),sn);return qr(be.createElement(Ro,Object.assign({prefixCls:hr,preview:Hr,rootClassName:Mo,className:Io,style:Uo},_n)))};Rr.PreviewGroup=Jn;var ro=Rr,Or=()=>{const[ut,it]=(0,be.useState)(""),[Pt,Bt]=(0,be.useState)(0);let[Gt,sn]=(0,be.useState)(),[_n,Mn]=(0,be.useState)();const[Fn,Kn]=(0,be.useState)(!1),gr=(0,be.useRef)("");(0,be.useEffect)(()=>E.Z.subscribe("preview-image",Wo=>{it(Wo),console.log(Hr.current),document.body.style.overflow="hidden"}),[]),(0,be.useEffect)(()=>(document.addEventListener("keydown",hr),()=>{document.removeEventListener("keydown",hr)}),[]),(0,be.useEffect)(()=>{gr.current=ut},[ut]);function hr(fo){fo.keyCode==27&&gr.current&&so()}function so(){document.body.style.overflow="auto",sn(void 0),Mn(void 0),Bt(0),it("")}function co(){Bt(Pt+90)}function qr(){Gt=Hr.current.width*1.1,_n=Hr.current.height*1.1,Mn(_n),sn(Gt)}function po(){Gt=Hr.current.width/1.1,_n=Hr.current.height/1.1,Mn(_n),sn(Gt)}const Mo=(0,be.useRef)(),Io=(0,be.useRef)(),Hr=(0,be.useRef)(),Uo=fo=>{(fo.nativeEvent.target===Mo.current||fo.nativeEvent.target===Io.current)&&so()};return be.createElement(be.Fragment,null,ut?be.createElement("div",null,be.createElement("div",{className:"preview-wrp-group",ref:Io},be.createElement(ro,{className:"image-preview",src:ut,style:{display:"none"},preview:{visible:!0,src:ut,movable:!1,onVisibleChange:fo=>{it("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57444:function(xt,ft,pe){"use strict";pe.d(ft,{h:function(){return ue}});var be=pe(67294),xe=pe(42563),E=pe(22150),he=pe(71577),fe=pe(4631),se=pe.n(fe),re=pe(71749),ie=pe(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=xe.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ft.Z=({callback:de,onCancel:ge})=>{const[ve,me]=(0,be.useState)("python");function Se(Pe){me(te[Pe][1])}function ye(Pe){de(Pe)}return be.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},be.createElement(xe.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:Se},Object.keys(te).map(Pe=>be.createElement(b,{key:Pe,value:Pe},te[Pe][0])))),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},be.createElement(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:me={}}){const Se=(0,be.useRef)(),[ye,Pe]=(0,be.useState)();return(0,be.useEffect)(()=>{if(ye){let we=function(Te){const Ee=Te.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},me));Pe(we)}},[Se.current,ye]),be.createElement("div",{className:"my-codemirror-container"},be.createElement("textarea",{ref:Se}))}},35567:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return cr}});var be=pe(67294),xe=pe(4631),E=pe.n(xe),he=pe(91033),fe=pe(71749),se=pe(57341),re=pe(82801),ie=pe(88386),le=pe(49047),ce=pe(80785),ae=pe(85725),oe=({value:Mt="",className:jt,showTextOnly:Tt,showLines:wn,style:zn={}})=>{const $n=(0,be.useMemo)(()=>"",[Mt]);return be.createElement(be.Fragment,null,be.createElement("div",{dangerouslySetInnerHTML:{__html:$n}}))},ne=pe(67294),z=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(Mt,jt,Tt)=>jt in Mt?z(Mt,jt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):Mt[jt]=Tt,ue=(Mt,jt)=>{for(var Tt in jt||(jt={}))b.call(jt,Tt)&&te(Mt,Tt,jt[Tt]);if(x)for(var Tt of x(jt))ee.call(jt,Tt)&&te(Mt,Tt,jt[Tt]);return Mt},de=(Mt,jt)=>a(Mt,y(jt));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:Mt,title:jt,icon:Tt,actionName:wn,className:zn="",children:$n}){function _r(){Mt(wn)}return ne.createElement("a",{title:jt,className:zn,onClick:_r},ne.createElement("i",{className:`${Tt}`}),$n)}var me=({watch:Mt,showNullButton:jt,showNullProgramButton:Tt,onActionCallback:wn,fullScreen:zn,insertTemp:$n,hidetoolBar:_r,extraUse:mr})=>{const Lr=[...ge,{title:`${Mt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Mt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!_r&&Lr.map((ao,vo)=>ne.createElement("li",{key:vo},ao.actionName?ne.createElement(ve,de(ue({},ao),{onActionCallback:wn})):ne.createElement("span",{className:"v-line"}))),jt?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:wn},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Tt?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:wn},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:wn},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,$n&&ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$n}`,onActionCallback:wn},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),mr&&ne.createElement("li",null,mr),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(ve,{icon:`${zn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:zn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:wn})))},Se=pe(76621),ye=pe(22150),Pe=pe(69677),we=pe(71577),Te=Object.defineProperty,Ee=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Ue=(Mt,jt,Tt)=>jt in Mt?Te(Mt,jt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):Mt[jt]=Tt,je=(Mt,jt)=>{for(var Tt in jt||(jt={}))Oe.call(jt,Tt)&&Ue(Mt,Tt,jt[Tt]);if(Ce)for(var Tt of Ce(jt))Ie.call(jt,Tt)&&Ue(Mt,Tt,jt[Tt]);return Mt},nt=(Mt,jt)=>Ee(Mt,_e(jt));const Je={labelCol:{span:4},wrapperCol:{span:20}};var Qe=({callback:Mt,onCancel:jt})=>{function Tt(wn){Mt(wn)}return be.createElement(ye.default,nt(je({},Je),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Tt,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:jt},"\u53D6\u6D88")))},Xe=pe(57444),ze=pe(70859),ke=pe(14446),Be=pe(71230),qe=pe(63205),Ye=pe(67294),gt=({callback:Mt,onCancel:jt})=>{const Tt=document.createElement("canvas"),wn=Tt.getContext("2d");Tt.width=1e3,Tt.height=800,wn.fillStyle="#ffffff",wn.fillRect(0,0,Tt.width,Tt.height);const zn=Tt.toDataURL("image/png");return Ye.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ye.createElement(Be.Z,{style:{height:"100vh"}},Ye.createElement(qe.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:zn,visible:!0,title:String(Date.now())},onOk:$n=>{Mt({src:$n.url})},onClose:jt})))},$e=pe(23495);function We(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(We,go.CommandHandler),We.prototype.canAlignSelection=function(){var Mt=this.diagram;return!(Mt===null||Mt.isReadOnly||Mt.isModelReadOnly||Mt.selection.count<2)},We.prototype.alignLeft=function(){var Mt=this.diagram;Mt.startTransaction("aligning left");var jt=1/0;Mt.selection.each(function(Tt){Tt instanceof go.Link||(jt=Math.min(Tt.position.x,jt))}),Mt.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(jt,Tt.position.y))}),Mt.commitTransaction("aligning left")},We.prototype.alignRight=function(){var Mt=this.diagram;Mt.startTransaction("aligning right");var jt=-1/0;Mt.selection.each(function(Tt){if(!(Tt instanceof go.Link)){var wn=Tt.actualBounds.x+Tt.actualBounds.width;jt=Math.max(wn,jt)}}),Mt.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(jt-Tt.actualBounds.width,Tt.position.y))}),Mt.commitTransaction("aligning right")},We.prototype.alignTop=function(){var Mt=this.diagram;Mt.startTransaction("alignTop");var jt=1/0;Mt.selection.each(function(Tt){Tt instanceof go.Link||(jt=Math.min(Tt.position.y,jt))}),Mt.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(Tt.position.x,jt))}),Mt.commitTransaction("alignTop")},We.prototype.alignBottom=function(){var Mt=this.diagram;Mt.startTransaction("aligning bottom");var jt=-1/0;Mt.selection.each(function(Tt){if(!(Tt instanceof go.Link)){var wn=Tt.actualBounds.y+Tt.actualBounds.height;jt=Math.max(wn,jt)}}),Mt.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(Tt.actualBounds.x,jt-Tt.actualBounds.height))}),Mt.commitTransaction("aligning bottom")},We.prototype.alignCenterX=function(){var Mt=this.diagram,jt=Mt.selection.first();if(jt){Mt.startTransaction("aligning Center X");var Tt=jt.actualBounds.x+jt.actualBounds.width/2;Mt.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(Tt-wn.actualBounds.width/2,wn.actualBounds.y))}),Mt.commitTransaction("aligning Center X")}},We.prototype.alignCenterY=function(){var Mt=this.diagram,jt=Mt.selection.first();if(jt){Mt.startTransaction("aligning Center Y");var Tt=jt.actualBounds.y+jt.actualBounds.height/2;Mt.selection.each(function(wn){wn instanceof go.Link||wn.move(new go.Point(wn.actualBounds.x,Tt-wn.actualBounds.height/2))}),Mt.commitTransaction("aligning Center Y")}},We.prototype.alignColumn=function(Mt){var jt=this.diagram;jt.startTransaction("align Column"),Mt===void 0&&(Mt=0),Mt=parseFloat(Mt);var Tt=new Array;jt.selection.each(function(mr){mr instanceof go.Link||Tt.push(mr)});for(var wn=0;wn<Tt.length-1;wn++){var zn=Tt[wn],$n=zn.actualBounds.y+zn.actualBounds.height+Mt,_r=Tt[wn+1];_r.move(new go.Point(zn.actualBounds.x,$n))}jt.commitTransaction("align Column")},We.prototype.alignRow=function(Mt){Mt===void 0&&(Mt=0),Mt=parseFloat(Mt);var jt=this.diagram;jt.startTransaction("align Row");var Tt=new Array;jt.selection.each(function(mr){mr instanceof go.Link||Tt.push(mr)});for(var wn=0;wn<Tt.length-1;wn++){var zn=Tt[wn],$n=zn.actualBounds.x+zn.actualBounds.width+Mt,_r=Tt[wn+1];_r.move(new go.Point($n,zn.actualBounds.y))}jt.commitTransaction("align Row")},We.prototype.canRotate=function(Mt){var jt=this.diagram;return!(jt===null||jt.isReadOnly||jt.isModelReadOnly||jt.selection.count<1)},We.prototype.rotate=function(Mt){Mt===void 0&&(Mt=90);var jt=this.diagram;jt.startTransaction("rotate "+Mt.toString());var jt=this.diagram;jt.selection.each(function(Tt){Tt instanceof go.Link||Tt instanceof go.Group||(Tt.angle+=Mt)}),jt.commitTransaction("rotate "+Mt.toString())},We.prototype.pullToFront=function(){var Mt=this.diagram;Mt.startTransaction("pullToFront");var jt=new go.Map;Mt.selection.each(function(Tt){jt.set(Tt.layer,0)}),jt.iteratorKeys.each(function(Tt){var wn=0;Tt.parts.each(function(zn){if(!zn.isSelected){var $n=zn.zOrder;isNaN($n)?zn.zOrder=0:wn=Math.max(wn,$n)}}),jt.set(Tt,wn)}),Mt.selection.each(function(Tt){We._assignZOrder(Tt,jt.get(Tt.layer)+1)}),Mt.commitTransaction("pullToFront")},We.prototype.pushToBack=function(){var Mt=this.diagram;Mt.startTransaction("pushToBack");var jt=new go.Map;Mt.selection.each(function(Tt){jt.set(Tt.layer,0)}),jt.iteratorKeys.each(function(Tt){var wn=0;Tt.parts.each(function(zn){if(!zn.isSelected){var $n=zn.zOrder;isNaN($n)?zn.zOrder=0:wn=Math.min(wn,$n)}}),jt.set(Tt,wn)}),Mt.selection.each(function(Tt){We._assignZOrder(Tt,jt.get(Tt.layer)-1-We._findGroupDepth(Tt))}),Mt.commitTransaction("pushToBack")},We._assignZOrder=function(Mt,jt,Tt){Tt===void 0&&(Tt=Mt),Mt.layer===Tt.layer&&(Mt.zOrder=jt),Mt instanceof go.Group&&Mt.memberParts.each(function(wn){We._assignZOrder(wn,jt+1,Tt)})},We._findGroupDepth=function(Mt){if(Mt instanceof go.Group){var jt=0;return Mt.memberParts.each(function(Tt){jt=Math.max(jt,We._findGroupDepth(Tt))}),jt+1}else return 0},We.prototype.doKeyDown=function(){var Mt=this.diagram;if(Mt!==null){var jt=Mt.lastInput;if(jt.key==="Up"||jt.key==="Down"||jt.key==="Left"||jt.key==="Right"){var Tt=this.arrowKeyBehavior;if(Tt==="none")return;if(Tt==="select"){this._arrowKeySelect();return}else if(Tt==="move"){this._arrowKeyMove();return}else if(Tt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},We.prototype._getAllParts=function(){var Mt=new Array;return this.diagram.nodes.each(function(jt){Mt.push(jt)}),this.diagram.parts.each(function(jt){Mt.push(jt)}),Mt},We.prototype._arrowKeyMove=function(){var Mt=this.diagram,jt=Mt.lastInput,Tt=0,wn=0;if(jt.control||jt.meta)Tt=1,wn=1;else if(Mt.grid!==null){var zn=Mt.grid.gridCellSize;wn=zn.width,Tt=zn.height}Mt.startTransaction("arrowKeyMove"),Mt.selection.each(function($n){jt.key==="Up"?$n.move(new go.Point($n.actualBounds.x,$n.actualBounds.y-Tt)):jt.key==="Down"?$n.move(new go.Point($n.actualBounds.x,$n.actualBounds.y+Tt)):jt.key==="Left"?$n.move(new go.Point($n.actualBounds.x-wn,$n.actualBounds.y)):jt.key==="Right"&&$n.move(new go.Point($n.actualBounds.x+wn,$n.actualBounds.y))}),Mt.commitTransaction("arrowKeyMove")},We.prototype._arrowKeySelect=function(){var Mt=this.diagram,jt=Mt.lastInput,Tt=null;jt.key==="Up"?Tt=this._findNearestPartTowards(270):jt.key==="Down"?Tt=this._findNearestPartTowards(90):jt.key==="Left"?Tt=this._findNearestPartTowards(180):jt.key==="Right"&&(Tt=this._findNearestPartTowards(0)),Tt!==null&&(jt.shift?Tt.isSelected=!0:jt.control||jt.meta?Tt.isSelected=!Tt.isSelected:Mt.select(Tt))},We.prototype._findNearestPartTowards=function(Mt){var jt=this.diagram.selection.first();if(jt===null)return null;for(var Tt=jt.actualBounds.center,wn=this._getAllParts(),zn=1/0,$n=jt,_r=0;_r<wn.length;_r++){var mr=wn[_r];if(mr!==jt&&mr.canSelect()){var Lr=mr.actualBounds.center,ao=Tt.directionPoint(Lr),vo=this._angleCloseness(ao,Mt);if(vo<=45){var Cn=Tt.distanceSquaredPoint(Lr);Cn*=1+Math.sin(vo*Math.PI/180),Cn<zn&&(zn=Cn,$n=mr)}}}return $n},We.prototype._angleCloseness=function(Mt,jt){return Math.min(Math.abs(jt-Mt),Math.min(Math.abs(jt+360-Mt),Math.abs(jt-360-Mt)))},We.prototype._arrowKeyTree=function(){var Mt=this.diagram,jt=Mt.selection.first();if(jt instanceof go.Node){var Tt=Mt.lastInput;if(Tt.key==="Right"){if(!jt.isTreeLeaf)if(!jt.isTreeExpanded)Mt.commandHandler.canExpandTree(jt)&&Mt.commandHandler.expandTree(jt);else{var wn=this._sortTreeChildrenByY(jt).first();wn!==null&&Mt.select(wn)}}else if(Tt.key==="Left")if(!jt.isTreeLeaf&&jt.isTreeExpanded)Mt.commandHandler.canCollapseTree(jt)&&Mt.commandHandler.collapseTree(jt);else{var zn=jt.findTreeParentNode();zn!==null&&Mt.select(zn)}else if(Tt.key==="Up"){var zn=jt.findTreeParentNode();if(zn!==null){var $n=this._sortTreeChildrenByY(zn),_r=$n.indexOf(jt);if(_r>0){for(var mr=$n.elt(_r-1);mr!==null&&mr.isTreeExpanded&&!mr.isTreeLeaf;){var Lr=this._sortTreeChildrenByY(mr);mr=Lr.last()}mr!==null&&Mt.select(mr)}else Mt.select(zn)}}else if(Tt.key==="Down")if(jt.isTreeExpanded&&!jt.isTreeLeaf){var wn=this._sortTreeChildrenByY(jt).first();wn!==null&&Mt.select(wn)}else for(;jt!==null;){var zn=jt.findTreeParentNode();if(zn===null)break;var $n=this._sortTreeChildrenByY(zn),_r=$n.indexOf(jt);if(_r<$n.length-1){Mt.select($n.elt(_r+1));break}else jt=zn}var ao=Mt.selection.first();ao!==null&&Mt.scrollToRect(ao.actualBounds)}},We.prototype._sortTreeChildrenByY=function(Mt){var jt=new go.List().addAll(Mt.findTreeChildrenNodes());return jt.sort(function(Tt,wn){var zn=Tt.location,$n=wn.location;return zn.y<$n.y?-1:zn.y>$n.y?1:zn.x<$n.x?-1:zn.x>$n.x?1:0}),jt},We.prototype.copyToClipboard=function(Mt){go.CommandHandler.prototype.copyToClipboard.call(this,Mt),this._lastPasteOffset.set(this.pasteOffset)},We.prototype.pasteFromClipboard=function(){var Mt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Mt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Mt},Object.defineProperty(We.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Mt){if(Mt!=="move"&&Mt!=="select"&&Mt!=="scroll"&&Mt!=="tree"&&Mt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Mt);this._arrowKeyBehavior=Mt}}),Object.defineProperty(We.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Mt){if(!(Mt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Mt);this._pasteOffset.set(Mt)}});var Re=We,tt=pe(18023),Me=pe(15746),He=pe(33170),Ve={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ze=pe(67294),Ke=(Mt,jt,Tt)=>new Promise((wn,zn)=>{var $n=Lr=>{try{mr(Tt.next(Lr))}catch(ao){zn(ao)}},_r=Lr=>{try{mr(Tt.throw(Lr))}catch(ao){zn(ao)}},mr=Lr=>Lr.done?wn(Lr.value):Promise.resolve(Lr.value).then($n,_r);mr((Tt=Tt.apply(Mt,jt)).next())});function Ae({onCancel:Mt,callback:jt}){let Tt=(0,be.useRef)(),wn=(0,be.useRef)(),zn=(0,be.useRef)(),$n=(0,be.useRef)(!1);const _r=(0,be.useRef)(!1),[mr,Lr]=(0,be.useState)(0);function ao(){const Cn=$e.bx.make,Kr={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"};Tt.current=new $e.S0(wn.current,{padding:20,grid:Cn($e.s_,"Grid",Cn($e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Cn($e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Dn=>{var ar=Dn.diagram.commandHandler.addTopLevelParts(Dn.diagram.selection,!0);ar||Dn.diagram.currentTool.doCancel()},commandHandler:Cn(Re),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Dn=>{var ar=Dn.subject;ar.location=ar.location.copy().snapToGridPoint(Dn.diagram.grid.gridOrigin,Dn.diagram.grid.gridCellSize),setTimeout(()=>{Dn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Dn=>{var ar=Dn.subject;setTimeout(()=>{Dn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Dn=>{var ar=Dn.parameter.part;ar.invalidateConnectedLinks();var Ir=Dn.subject;Dn.diagram.toolManager.linkingTool.isForwards?Ir.toNode.invalidateConnectedLinks():Ir.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Tt.current.nodeTemplate=Cn($e.NB,"Auto",{locationSpot:$e.z6.Center,locationObjectName:"SHAPE",desiredSize:new $e.$u(120,60),minSize:new $e.$u(40,40),resizable:!0,resizeCellSize:new $e.$u(10,10),rotatable:!0},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),new $e.KX("desiredSize","size",$e.$u.parse).makeTwoWay($e.$u.stringify),Cn($e.bn,{name:"SHAPE",fill:Kr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("figure"),new $e.KX("fill"),new $e.KX("stroke","borderColor"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),Cn($e.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Cn($e.al,{margin:1,textAlign:"center",overflow:$e.al.OverflowEllipsis,editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),Tt.current.nodeTemplate.toolTip=Cn("ToolTip",Cn($e.s_,"Vertical",{maxSize:new $e.$u(200,NaN)},Cn($e.al,{font:"bold 10pt sans-serif",textAlign:"center"},new $e.KX("text")),Cn($e.al,{font:"10pt sans-serif",textAlign:"center"},new $e.KX("text","details"))));function At(Dn,ar){var Ir=(Bn,wo)=>{Bn.handled=!0,Bn.diagram.model.commit(lo=>{var ia=wo.part.adornedPart,ca=new $e.E9().setRectSpot(ia.actualBounds,Dn);ca.subtract(ia.location),ca.scale(2,2),ca.x+=Math.sign(ca.x)*130,ca.y+=Math.sign(ca.y)*130,ca.add(ia.location),ca.snapToGridPoint(Bn.diagram.grid.gridOrigin,Bn.diagram.grid.gridCellSize);var ua=lo.copyNodeData(ia.data);lo.setGroupKeyForNodeData(ua,lo.getGroupKeyForNodeData(ia.data)),lo.addNodeData(ua);var _t={from:ia.key,to:lo.getKeyForNodeData(ua)};lo.addLinkData(_t);var Et=Bn.diagram.findNodeForData(ua);Et.location=ca,Bn.diagram.select(Et),setTimeout(()=>{Bn.diagram.commandHandler.editTextBlock()},20)})};return Cn($e.bn,{figure:ar,alignment:Dn,alignmentFocus:Dn.opposite(),width:Dn.equals($e.z6.Top)||Dn.equals($e.z6.Bottom)?25:18,height:Dn.equals($e.z6.Top)||Dn.equals($e.z6.Bottom)?18:25,fill:"orange",stroke:Kr.white,strokeWidth:4,mouseEnter:(Bn,wo)=>wo.fill="dodgerblue",mouseLeave:(Bn,wo)=>wo.fill="orange",isActionable:!0,click:Ir,contextClick:Ir})}function an(Dn){return Cn($e.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:(ar,Ir)=>Ir.fill="dodgerblue",mouseLeave:(ar,Ir)=>Ir.fill="orange",click:(ar,Ir)=>{ar.diagram.commandHandler.showContextMenu(Ir.part.adornedPart)}},Dn||{})}Tt.current.nodeTemplate.selectionAdornmentTemplate=Cn($e.uz,"Spot",Cn($e.Vm,{padding:10}),At($e.z6.Top,"TriangleUp"),At($e.z6.Left,"TriangleLeft"),At($e.z6.Right,"TriangleRight"),At($e.z6.Bottom,"TriangleDown"),an({alignment:new $e.z6(.75,0)}));function qt(Dn,ar){return(Ir,Bn)=>{Ir.handled=!0,Ir.diagram.model.commit(wo=>{wo.set(Bn.part.adornedPart.data,Dn,ar)})}}function on(Dn,ar){return ar||(ar="color"),Cn($e.bn,{width:16,height:16,stroke:"lightgray",fill:Dn,margin:1,background:"transparent",mouseEnter:(Ir,Bn)=>Bn.stroke="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.stroke="lightgray",click:qt(ar,Dn),contextClick:qt(ar,Dn)})}function In(){return[Cn("ContextMenuButton",Cn($e.s_,"Horizontal",on(Kr.white,"fill"),on(Kr.beige,"fill"),on(Kr.extralightblue,"fill"),on(Kr.extralightred,"fill"))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",on(Kr.lightgray,"fill"),on(Kr.lightgreen,"fill"),on(Kr.lightblue,"fill"),on(Kr.lightred,"fill")))]}function tn(){return[Cn("ContextMenuButton",Cn($e.s_,"Horizontal",on(Kr.black),on(Kr.green),on(Kr.blue),on(Kr.red))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",on(Kr.white),on(Kr.magenta),on(Kr.purple),on(Kr.orange)))]}function An(Dn,ar){return ar||(ar="thickness"),Cn($e.bn,"LineH",{width:16,height:16,strokeWidth:Dn,margin:1,background:"transparent",mouseEnter:(Ir,Bn)=>Bn.background="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.background="transparent",click:qt(ar,Dn),contextClick:qt(ar,Dn)})}function cn(Dn,ar){return ar||(ar="dash"),Cn($e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Dn,margin:1,background:"transparent",mouseEnter:(Ir,Bn)=>Bn.background="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.background="transparent",click:qt(ar,Dn),contextClick:qt(ar,Dn)})}function xr(){return[Cn("ContextMenuButton",Cn($e.s_,"Horizontal",An(1),An(2),An(3),An(4))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",cn(null),cn([2,4]),cn([4,4])))]}function ur(Dn,ar){return ar||(ar="figure"),Cn($e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Dn,margin:1,background:"transparent",mouseEnter:(Ir,Bn)=>Bn.fill="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.fill="lightgray",click:qt(ar,Dn),contextClick:qt(ar,Dn)})}Tt.current.nodeTemplate.contextMenu=Cn("ContextMenu",Cn("ContextMenuButton",Cn($e.s_,"Horizontal",ur("Rectangle"),ur("RoundedRectangle"),ur("Ellipse"),ur("Diamond"))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",ur("Parallelogram2"),ur("ManualOperation"),ur("Procedure"),ur("Cylinder1"))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",ur("Terminator"),ur("CreateRequest"),ur("Document"),ur("TriangleDown"))),In(),tn(),xr()),Tt.current.groupTemplate=Cn($e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:$e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Dn,ar)=>{var Ir=ar.addMembers(ar.diagram.selection,!0);Ir||ar.diagram.currentTool.doCancel()},avoidable:!1},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),Cn($e.s_,"Auto",{name:"BODY"},Cn($e.bn,{parameter1:10,fill:Kr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("fill"),new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),Cn($e.Vm,{background:"transparent",margin:20})),Cn($e.al,{alignment:$e.z6.Top,alignmentFocus:$e.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new $e.KX("text"),new $e.KX("stroke","color"))),Tt.current.groupTemplate.selectionAdornmentTemplate=Cn($e.uz,"Spot",Cn($e.s_,"Auto",Cn($e.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Cn($e.Vm,{margin:1.5})),an({alignment:$e.z6.TopRight,alignmentFocus:$e.z6.BottomRight})),Tt.current.groupTemplate.contextMenu=Cn("ContextMenu",In(),tn(),xr()),Tt.current.linkTemplate=Cn($e.rU,{layerName:"Foreground",routing:$e.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new $e.KX("fromSpot","fromSpot",$e.z6.parse),new $e.KX("toSpot","toSpot",$e.z6.parse),new $e.KX("fromShortLength","dir",Dn=>Dn>=1?10:0),new $e.KX("toShortLength","dir",Dn=>Dn>=1?10:0),new $e.KX("points").makeTwoWay(),Cn($e.bn,{strokeWidth:2},new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),Cn($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,0),segmentOrientation:$e.rU.OrientAlong,alignmentFocus:$e.z6.Right,figure:"circle",width:10,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",Dn=>Dn===1)),Cn($e.bn,{segmentIndex:-1,segmentOffset:new $e.E9(-10,6),segmentOrientation:$e.rU.OrientPlus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",Dn=>Dn>=1),new $e.KX("width","thickness",Dn=>7+3*Dn),new $e.KX("height","thickness",Dn=>7+3*Dn),new $e.KX("segmentOffset","thickness",Dn=>new $e.E9(-15,4+1.5*Dn))),Cn($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,-6),segmentOrientation:$e.rU.OrientMinus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",Dn=>Dn===2),new $e.KX("width","thickness",Dn=>7+3*Dn),new $e.KX("height","thickness",Dn=>7+3*Dn),new $e.KX("segmentOffset","thickness",Dn=>new $e.E9(-15,4+1.5*Dn))),Cn($e.al,{alignmentFocus:new $e.z6(0,1,-4,0),editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),Tt.current.linkTemplate.selectionAdornmentTemplate=Cn($e.uz,Cn($e.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Ur(2)},new $e.KX("pathPattern","thickness",Ur)),an({alignmentFocus:new $e.z6(0,0,-6,-4)}));function Ur(Dn){return Cn($e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Dn+4).toString()+" H3"})}function to(Dn){var ar="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Dn===0?ar="M0 0 M16 16 M0 8 L16 8":Dn===2&&(ar="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Cn($e.bn,{geometryString:ar,margin:2,background:"transparent",mouseEnter:(Ir,Bn)=>Bn.background="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.background="transparent",click:qt("dir",Dn),contextClick:qt("dir",Dn)})}function xo(Dn){var ar=(Ir,Bn)=>{Ir.handled=!0,Ir.diagram.model.commit(wo=>{var lo=Bn.part.adornedPart;wo.set(lo.data,Dn?"toSpot":"fromSpot",$e.z6.stringify($e.z6.AllSides)),(Dn?lo.toNode:lo.fromNode).invalidateConnectedLinks()})};return Cn($e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ir,Bn)=>Bn.background="dodgerblue",mouseLeave:(Ir,Bn)=>Bn.background="transparent",click:ar,contextClick:ar})}function dn(Dn,ar){var Ir=0,Bn=$e.z6.RightSide;Dn.equals($e.z6.Top)?(Ir=270,Bn=$e.z6.TopSide):Dn.equals($e.z6.Left)?(Ir=180,Bn=$e.z6.LeftSide):Dn.equals($e.z6.Bottom)&&(Ir=90,Bn=$e.z6.BottomSide),ar||(Ir-=180);var wo=(lo,ia)=>{lo.handled=!0,lo.diagram.model.commit(ca=>{var ua=ia.part.adornedPart;ca.set(ua.data,ar?"toSpot":"fromSpot",$e.z6.stringify(Bn)),(ar?ua.toNode:ua.fromNode).invalidateConnectedLinks()})};return Cn($e.bn,{alignment:Dn,alignmentFocus:Dn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ir,background:"transparent",mouseEnter:(lo,ia)=>ia.background="dodgerblue",mouseLeave:(lo,ia)=>ia.background="transparent",click:wo,contextClick:wo})}Tt.current.linkTemplate.contextMenu=Cn("ContextMenu",tn(),xr(),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",to(0),to(1),to(2))),Cn("ContextMenuButton",Cn($e.s_,"Horizontal",Cn($e.s_,"Spot",xo(!1),dn($e.z6.Top,!1),dn($e.z6.Left,!1),dn($e.z6.Right,!1),dn($e.z6.Bottom,!1)),Cn($e.s_,"Spot",{margin:new $e.Zt(0,0,0,2)},xo(!0),dn($e.z6.Top,!0),dn($e.z6.Left,!0),dn($e.z6.Right,!0),dn($e.z6.Bottom,!0)))));const Ro=`{ "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 ea=["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 Po(Dn){return console.log("shapeName:",Dn),ea.indexOf(Dn)>=0}var ta=new $e.YI(zn.current,{maxSelectionCount:1,linkTemplate:Cn($e.rU,{locationSpot:$e.z6.Center,selectionAdornmentTemplate:Cn($e.uz,"Link",{locationSpot:$e.z6.Center},Cn($e.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Cn($e.bn,{toArrow:"Standard",stroke:null}))},{routing:$e.rU.AvoidsNodes,curve:$e.rU.JumpOver,corner:5,toShortLength:4},new $e.KX("points"),Cn($e.bn,{isPanelMain:!0,strokeWidth:2}),Cn($e.bn,{toArrow:"Standard",stroke:null})),model:new $e.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...$e.bn.getFigureGenerators().toArray().map(Dn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Dn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Tt.current.addDiagramListener("TextEdited",function(Dn){var ar;const Ir=Dn.subject.part;var Bn=(ar=document.activeElement)==null?void 0:ar.value;typeof Bn=="string"&&Bn.trim()===""&&Tt.current.model.commit(function(wo){wo.set(Ir.data,"text","\u672A\u547D\u540D"),Tt.current.commandHandler.stopCommand()},"increment")}),ta.nodeTemplate=Cn($e.NB,"Auto",{locationSpot:$e.z6.Center},new $e.KX("location","location",$e.E9.parse).makeTwoWay($e.E9.stringify),Cn($e.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 $e.KX("stroke").makeTwoWay(),new $e.KX("fill").makeTwoWay(),new $e.KX("figure")),Cn($e.al,{margin:new $e.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new $e.$u(16,16),maxSize:new $e.$u(10,NaN),textAlign:"center",editable:!0},new $e.KX("key").makeTwoWay())),setTimeout(()=>{Tt.current.grid=Cn($e.s_,"Grid",Cn($e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Cn($e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Tt.current.grid.visible=!0,Tt.current.grid.gridCellStroke="darkgray",Tt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Tt.current,Tt.current}const vo=()=>Ke(this,null,function*(){var Cn=Tt.current.makeImage();const Kr=yield(0,He.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Cn.src}});jt({src:Kr.url})});return(0,be.useEffect)(()=>(setTimeout(()=>{ao()},500),Lr(mr+1),()=>{Tt.current=null}),[]),Ze.createElement("div",{ref:_r,className:$n.current?`${Ve.maxH60} body-overflow-initial`:"body-overflow-initial"},Ze.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!mr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ze.createElement(Be.Z,null,Ze.createElement(Me.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ze.createElement(Me.Z,{onClick:()=>{var Cn,Kr,At=Tt.current.selection.first();if($n.current=!$n.current,document.activeElement&&At){let an=(Kr=(Cn=document.activeElement)==null?void 0:Cn.value)==null?void 0:Kr.trim();typeof an=="string"&&Tt.current.model.commit(function(qt){qt.set(At.data,"text",an||"\u672A\u547D\u540D"),Tt.current.commandHandler.stopCommand()},"increment")}Lr(mr+1)}},Ze.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Mt},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:zn})),Ze.createElement("div",{style:{flex:1,position:"relative"}},Ze.createElement("div",{ref:wn,style:{height:"80vh"}}))),Ze.createElement("div",{className:"tr"},Ze.createElement(we.ZP,{size:"large",onClick:vo,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Le=Ae,Ne=pe(78045),Ge=pe(31795);const ot=Ne.ZP.Group,St={margin:"0 8px"};var wt=({callback:Mt,onCancel:jt})=>{function Tt(wn){Mt(wn)}return be.createElement(ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Tt},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(ot,null,be.createElement(Ne.ZP,{value:"default"},be.createElement("i",{className:"fa fa-align-justify"})),be.createElement(Ne.ZP,{value:"left"},be.createElement("i",{className:"fa fa-align-left"})),be.createElement(Ne.ZP,{value:"center"},be.createElement("i",{className:"fa fa-align-center"})),be.createElement(Ne.ZP,{value:"right"},be.createElement("i",{className:"fa fa-align-right"}))))),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:jt},"\u53D6\u6D88")))},rt=pe(47897),bt=pe(61016),Ft=pe.n(bt),st=(0,be.forwardRef)(({use3d:Mt,width:jt,height:Tt,callback:wn,showSaveButton:zn},$n)=>{const _r=(0,be.useRef)(),mr=(0,be.useRef)(),[Lr,ao]=(0,be.useState)(!1),vo=(0,be.useRef)({id:_r,appName:"graphing",width:jt||1e3,height:Tt||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)(()=>{mr.current=new(Ft())(vo.current,!0),window.onload=function(){mr.current.inject("applet_container")}},[]);const Cn=()=>{var Kr=window.ggbApplet.getPNGBase64(1,!0,72);return wn&&wn(Kr),Kr};return(0,be.useEffect)(()=>{vo.current.appName=Lr?"3D":"graphing",mr.current.inject("applet_container")},[Lr]),(0,be.useEffect)(()=>{ao(Mt)},[Mt]),(0,be.useImperativeHandle)($n,()=>({getImgData:Cn})),be.createElement(be.Fragment,null,be.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:_r}),be.createElement(Be.Z,{align:"middle"},be.createElement(Me.Z,{flex:1},be.createElement(rt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Lr,onChange:Kr=>ao(Kr)})),be.createElement(Me.Z,null,be.createElement(we.ZP,{size:"large",onClick:Cn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Nt=pe(36527),ct=pe(25934),pt=pe(2453);const Ct="link",Rt="upload-image",zt="add-flowchart",rn="draw-image",kn="add-flowchart",jn="code-block",Hn="add-table",Pr="------------",fn={default:Pr,left:`:${Pr}`,center:`:${Pr}:`,right:`${Pr}:`};var Er=pe(99914),oo=(Mt,jt,Tt)=>new Promise((wn,zn)=>{var $n=Lr=>{try{mr(Tt.next(Lr))}catch(ao){zn(ao)}},_r=Lr=>{try{mr(Tt.throw(Lr))}catch(ao){zn(ao)}},mr=Lr=>Lr.done?wn(Lr.value):Promise.resolve(Lr.value).then($n,_r);mr((Tt=Tt.apply(Mt,jt)).next())});function Lo(){}let zo=0;const Eo=1e4,mo="\u2581",Sn="@\u2581\u2581@",ln="@\u2581@",mn=`
**\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`,Ln=["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 Wn(Mt){return/^\d+$/.test(Mt)?`${Mt}px`:Mt}const er=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Wr={[er+"-B"]:"bold",[er+"-I"]:"italic"},Br={[Ct]:"\u6DFB\u52A0\u94FE\u63A5",[jn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Rt]:"\u6DFB\u52A0\u56FE\u7247",[rn]:"\u6DFB\u52A0\u753B\u56FE",[zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Hn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var cr=({defaultValue:Mt="",onChange:jt,width:Tt="100%",height:wn=400,miniToolbar:zn=!1,isFocus:$n=!1,watch:_r,insertTemp:mr,mode:Lr="markdown",id:ao="markdown-editor-id",showResizeBar:vo=!1,noStorage:Cn=!1,showNullButton:Kr=!1,showNullProgramButton:At=!1,hidetoolBar:an=!1,fullScreen:qt=!1,onBlur:on,onCMBeforeChange:In,onFullScreen:tn,className:An="",disablePaste:cn=!1,disabled:xr=!1,disabledFill:ur=!1,placeholder:Ur="",values:to="",extraUse:xo})=>{const[dn,Ro]=(0,be.useState)(null),[ea,Po]=(0,be.useState)(Mt),[ta,Dn]=(0,be.useState)(_r),[ar,Ir]=(0,be.useState)(qt),[Bn,wo]=(0,be.useState)(""),[lo,ia]=(0,be.useState)(0),[ca,ua]=(0,be.useState)(wn),[_t,Et]=(0,be.useState)(!1),Qt=(0,be.useRef)((0,ct.Z)()),un=(0,be.useRef)(!1),Pn=(0,be.useRef)(),[Yn,vr]=(0,be.useState)(0),[Nr,no]=(0,be.useState)(0),uo=(0,be.useRef)(),io=(0,be.useRef)(),Bo=(0,be.useRef)(),dr=(0,be.useRef)(),Ot=()=>oo(void 0,null,function*(){var Tn;const Vt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Qt.current}});(Tn=Vt==null?void 0:Vt.attachments)!=null&&Tn.length&&(console.log("cm:",dn,uo),Vt.attachments.map(gn=>{gn.content_type.indexOf("image")>-1?dn.replaceSelection(`![,](/api/attachments/${gn.id}?type=${gn.content_type})`):gn.content_type.indexOf("video")>-1?dn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):gn.content_type.indexOf("pdf")>-1?dn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${gn.id}?type=${gn.content_type}&disposition=inline" target="_blank">${gn.name}</a>`):dn.replaceSelection(`[${gn.name}](${ENV.API_SERVER}/api/attachments/${gn.id}?type=${gn.content_type})`)}))});(0,be.useEffect)(()=>{const Tn=window.scrollY||window.pageYOffset;Po(to),dn==null||dn.setValue(to),window.scrollTo(0,Tn)},[to]),(0,be.useEffect)(()=>{tn==null||tn(ar)},[ar]),(0,be.useEffect)(()=>{if(uo.current){let Tn=function(gn,On){var Jn;if(cn){On.preventDefault();return}const Sr=On.clipboardData;if(Sr){const Rr=Sr.types.toString(),ro=Sr.items;if(Rr==="Files"||Sr.types.indexOf("Files")>-1){if(On.preventDefault(),Lr=="stex")return;try{let Or=ro[1];((Jn=ro[0])==null?void 0:Jn.kind)==="file"&&(Or=ro[0]);const ut=Or.getAsFile(),it=ut.name.split(".").pop();(0,ze.I)(ut,Pt=>{var Bt,Gt,sn;Pt.id?((Bt=ut==null?void 0:ut.type)==null?void 0:Bt.indexOf("image"))>-1?Vt.replaceSelection(`<img width="100%" src="/api/attachments/${Pt.id}?type=${Pt.content_type})" alt="" />`):((Gt=ut==null?void 0:ut.type)==null?void 0:Gt.indexOf("video"))>-1?Vt.replaceSelection(`<video width="100%" controls src="/api/attachments/${Pt.id}"></video>`):((sn=ut==null?void 0:ut.type)==null?void 0:sn.indexOf("pdf"))>-1?Vt.replaceSelection(`<a href="/api/attachments/${Pt.id}?type=${ut.type}&disposition=inline" target="_blank">${ut.name}</a>`):Ln.includes(it)?Vt.replaceSelection(`<a href="/api/attachments/${Pt.id}?type=office&disposition=inline" target="_blank">${ut.name}</a>`):Vt.replaceSelection(`[${ut.name}](/api/attachments/${Pt.id}?type=${Pt.content_type})`):(Pt==null?void 0:Pt.status)===401&&(pt.ZP.warning((Pt==null?void 0:Pt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Or){pt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Vt=E().fromTextArea(uo.current,{mode:Lr,lineNumbers:!zn,lineWrapping:!0,value:Mt,autoCloseTags:!At,autoCloseBrackets:!0});return Vt.on("keyup",function(gn,On){On.keyCode===8&&(gn.getValue()==""?Vt.setOption("placeholder",Ur):Vt.setOption("placeholder",null))}),Vt.on("keydown",function(gn,On){if(On.keyCode===8){var Jn=Yt(gn);Jn&&On.preventDefault()}}),$n&&Vt.focus(),Vt.on("paste",Tn),Vt.on("dragleave",function(gn,On){io.current.classList.remove("mouse-hover-md")}),xr&&Vt.on("beforeChange",function(gn,On){(On.origin==="paste"||On.origin==="+input")&&On.cancel()}),Ro(Vt),()=>{Vt.off("paste",Tn)}}},[]);const Ut=(0,be.useCallback)(()=>{if(io.current)try{}catch(Tn){console.log(Tn,"---- to set md editor body height")}},[ca,io,ar]);(0,be.useEffect)(()=>{function Tn(){let Vt=new he.Z(gn=>{for(let On of gn)(On.target.offsetHeight>0||On.target.offsetWidth>0)&&(Ut(),dn.setSize("100%","100%"),dn.refresh())});return Vt.observe(uo.current.parentElement),Vt}if(dn){const Vt=Tn();return()=>{var gn,On;(gn=uo.current)!=null&&gn.parentElement&&Vt.unobserve((On=uo.current)==null?void 0:On.parentElement)}}},[dn,Ut]),(0,be.useEffect)(()=>{if(dn){let Tn=[];for(const[Vt,gn]of Object.entries(Wr)){let On={[Vt]:()=>{dt(gn)}};Tn.push(On),dn.addKeyMap(On)}return Pn.current=setInterval(()=>{un.current&&Ot()},4e3),()=>{clearInterval(Pn.current);for(let Vt of Tn)dn.removeKeyMap(Vt)}}},[dn]),(0,be.useEffect)(()=>{qt!==ar&&Ir(qt)},[qt]),(0,Er.Z)(()=>{if(!Cn&&lo>0){let Tn=new Date().getTime(),Vt=window.sessionStorage.getItem(ao);Tn>=lo+Eo&&(!Vt||Vt!==ea)&&(window.sessionStorage.setItem(ao,ea),Et(!0))}},Eo),(0,be.useEffect)(()=>{Dn(_r)},[dn,_r]),(0,be.useEffect)(()=>{dn&&$n&&dn.focus()},[dn,$n]),(0,be.useEffect)(()=>{if(ta&&dn){let Tn=function(gn){let On=gn.target;if(dr.current){let Jn=On.scrollTop/On.scrollHeight;dr.current.scrollTop=dr.current.scrollHeight*Jn}};const Vt=dn.getScrollerElement();return Vt.addEventListener("scroll",Tn),()=>{Vt.removeEventListener("scroll",Tn)}}},[dn,ta]),(0,be.useEffect)(()=>{if(dn&&In){let Tn=function(Vt,gn){In(Vt,gn)};return dn.on("beforeChange",Tn),()=>{dn.off("beforeChange",Tn)}}},[dn,In]),(0,be.useEffect)(()=>{if(dn&&on){let Tn=function(){on(dn.getValue())};return dn.on("blur",Tn),()=>{dn.off("blur",Tn)}}},[dn,on]);function Yt(Tn,Vt){var gn=Tn.getDoc(),On=gn.getCursor(),Jn=gn.getLine(On.line),Sr=Jn.charAt(On.ch-1),Rr=Jn.lastIndexOf("@\u2581@",On.ch),ro=Jn.lastIndexOf("@\u2581\u2581@",On.ch),Or=Rr>ro?Rr:ro,ut=Rr>ro?3:4;if(Sn.indexOf(Sr)===-1)return null;if(console.log("change1:",Vt,Tn,Jn,On,Or,Rr,ro,Sr),Or>=0&&On.ch-Or<5){var it=Or+ut;return gn.replaceRange("",{line:On.line,ch:Or},{line:On.line,ch:it}),{line:On.line,ch:it}}return null}(0,be.useEffect)(()=>{if(dn){let Tn=function(Vt,gn){const On=Vt.getValue();Po(On),ia(new Date().getTime()),Vt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),jt&&(At?jt(On,Vn(On)):jt(On))};return dn.on("change",Tn),()=>{dn.off("change",Tn)}}},[dn,jt]),(0,be.useEffect)(()=>{if(dn)if(Mt==null)dn.setValue(""),Po("");else{const Tn=window.scrollY||window.pageYOffset;Mt!==dn.getValue()&&(dn.setValue(Mt),Po(Mt),dn.setCursor(xr?1:dn.lineCount(),0),window.scrollTo(0,Tn))}},[dn,Mt]);const dt=(0,be.useCallback)(Tn=>{const Vt=dn.getCursor(),gn=dn.getSelection();let On=gn.split(`
`);switch(Tn){case"bold":return dn.replaceSelection("**"+gn+"**"),gn===""&&dn.setCursor(Vt.line,Vt.ch+2),dn.focus();case"italic":return dn.replaceSelection("*"+gn+"*"),gn===""&&dn.setCursor(Vt.line,Vt.ch+1),dn.focus();case"code":return dn.replaceSelection("`"+gn+"`"),gn===""&&dn.setCursor(Vt.line,Vt.ch+1),dn.focus();case"inline-latex":return wo("inline-latex"),dn.focus();case"latex":return dn.replaceSelection("```latex\n"+gn+"\n```"),dn.setCursor(Vt.line+1,gn.length+1),dn.focus();case"line-break":return dn.replaceSelection(`<br/>
`),dn.focus();case"list-ul":return gn===""?dn.replaceSelection("- "+gn):dn.replaceSelection(On.map(Jn=>Jn===""?"":`- ${Jn}`).join(`
`)),dn.focus();case"list-ol":return gn===""?dn.replaceSelection("1. "+gn):dn.replaceSelection(On.map((Jn,Sr)=>Jn===""?"":`${Sr+1}. ${Jn}`).join(`
`)),dn.focus();case"add-null-ch":return gn===""&&dn.setCursor(Vt.line,Vt.ch),dn.replaceSelection(mo),dn.focus();case"add-signal":return gn===""&&dn.setCursor(Vt.line,Vt.ch),dn.replaceSelection(ln),dn.focus();case"add-multiple":return gn===""&&dn.setCursor(Vt.line,Vt.ch),dn.replaceSelection(Sn),dn.focus();case"inster-template-1":return gn===""&&dn.setCursor(Vt.line,Vt.ch),dn.replaceSelection(mn),dn.focus();case"eraser":return dn.setValue(""),dn.focus();case"trigger-watch":return Dn(!ta),dn.focus();case"trigger-full-screen":return Ir(!ar),dn.focus();case Ct:wo(Ct);return;case jn:wo(jn);return;case Rt:wo(Rt);return;case rn:wo(rn);return;case"maths-latex":wo("maths-latex");return;case zt:wo(zt);return;case Hn:wo(Hn);return;default:throw new Error}},[dn,ta,ar]),Jt=(0,be.useCallback)((Tn,Vt)=>{var gn,On,Jn,Sr,Rr,ro;switch(wo(""),Bn){case Ct:const{title:Bt,link:Gt}=Tn;return dn.replaceSelection(`[${Bt}](${Gt})`),dn.focus();case jn:const{language:sn,content:_n}=Tn;return dn.replaceSelection(["```"+sn,_n,"```"].join(`
`)),dn.focus();case"maths-latex":for(var Or=atob(Tn),ut=new Uint8Array(Or.length),it=0;it<Or.length;it++)ut[it]=Or.charCodeAt(it);var Pt=new Blob([ut],{type:"image/png"});(0,ze.I)(Pt,po=>{po.id?dn.replaceSelection(`![,](/api/attachments/${po.id}?type=${po.content_type})`):(po==null?void 0:po.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":dn.replaceSelection("`$$"+Tn+"$$`");break;case Rt:case rn:case kn:const{src:Mn,alt:Fn}=Tn,Kn=Vt,gr=(Jn=(On=(gn=Kn==null?void 0:Kn.name)==null?void 0:gn.split("."))==null?void 0:On.pop)==null?void 0:Jn.call(On);return((Sr=Kn==null?void 0:Kn.type)==null?void 0:Sr.indexOf("image"))>-1||!(Kn!=null&&Kn.type)?Kn.align||Kn.width?dn.replaceSelection(`<p style="text-align:${Kn.align||"initial"}"><img width="${Kn.width?Kn.width+"%":"initial"}" src="${Mn}" alt="${Fn||""}" /></p>`):dn.replaceSelection(`<img width="100%" src="${Mn}" alt="${Fn||""}" />`):((Rr=Kn==null?void 0:Kn.type)==null?void 0:Rr.indexOf("video"))>-1?dn.replaceSelection(`<video width="100%" controls src="${Mn}"></video>`):((ro=Kn==null?void 0:Kn.type)==null?void 0:ro.indexOf("pdf"))>-1?dn.replaceSelection(`<a href="${Mn}?type=${Kn.type}&disposition=inline" target="_blank">${Kn.name}</a>`):Ln.includes(gr)?dn.replaceSelection(`<a href="${Mn}?type=office&disposition=inline" target="_blank">${Kn.name}</a>`):dn.replaceSelection(`[${Kn.name}](${Mn})`),dn.focus();case Hn:const{row:hr,col:so,align:co}=Tn;let qr=`
`;for(let po=0;po<hr;po++){let Mo=[],Io=[];for(let Hr=0;Hr<so;Hr++)po===1&&Io.push(fn[co]),Mo.push(" ");po===1&&(qr+=`| ${Io.join(" | ")} |
`),qr+=`| ${Mo.join(so===1?"":" | ")} |
`}return dn.replaceSelection(qr+`
`),dn.focus();default:throw new Error}},[dn,Bn]),vn=(0,be.useMemo)(()=>{switch(Bn){case Ct:return be.createElement(Qe,{callback:Jt,onCancel:yn});case jn:return be.createElement(Xe.Z,{callback:Jt,onCancel:yn});case Rt:return be.createElement(ze.Z,{callback:Jt,onCancel:yn});case zt:return be.createElement(Le,{callback:Jt,onCancel:yn});case Hn:return be.createElement(wt,{callback:Jt,onCancel:yn});case"maths-latex":return be.createElement(st,{showSaveButton:!0,callback:Jt});case"inline-latex":return be.createElement(Nt.Z,{showSaveButton:!0,callback:Jt});default:return null}},[Bn]);function yn(){wo("")}(0,be.useEffect)(()=>{if(Bo.current){let Tn=function(Rr){Jn=!0,Sr=Rr.pageY},Vt=function(){Jn=!1},gn=function(Rr){if(Jn){let ro=Rr.pageY-Sr;ro<0&&(ro=0),ro>300&&(ro=300);let Or=wn+ro+"px";ua(Or)}},On=Bo.current,Jn=!1,Sr=0;return On.addEventListener("mousedown",Tn),document.addEventListener("mousemove",gn),document.addEventListener("mouseup",Vt),()=>{On.removeEventListener("mousedown",Tn),document.removeEventListener("mousemove",gn),document.removeEventListener("mouseup",Vt)}}},[dn,Bo]),(0,be.useEffect)(()=>{ua(wn)},[wn]);const Ht=Wn(Tt),Zt=Wn(ca),Kt={width:Ht,height:Zt},Rn=(0,be.useMemo)(()=>{if(lo){let Tn=new Date(lo),Vt=Tn.getHours(),gn=Tn.getMinutes(),On=Tn.getSeconds();return Vt=Vt<10?"0"+Vt:Vt,gn=gn<10?"0"+gn:gn,On=On<10?"0"+On:On,`${Vt}:${gn}:${On}`}return 0},[lo]),Vn=Tn=>{const Vt=[];if(At){let gn=-1;Tn=Tn.replace(/(@▁▁@|@▁@)/g,function(On,Jn,Sr){Vt.push({multiLine:On!==ln})})}return Vt};function sr(){window.sessionStorage.removeItem(ao),Et(!1),ia(0)}function nr(){Et(!1),ia(0),dn.setValue(window.sessionStorage.getItem(ao))}(0,be.useEffect)(()=>{Br[Bn]&&Bn!==rn&&Bn!==zt&&setTimeout(()=>{const Tn=document.getElementsByClassName("markdown-popup-form")[0],Vt=window.innerWidth/2-Tn.offsetWidth/2,gn=window.innerHeight/2-Tn.offsetHeight/2;vr(Vt),no(gn)},0)},[Bn]);const fr=Tn=>{Tn.preventDefault();const Vt=Tn.clientX-Yn,gn=Tn.clientY-Nr;document.body.onmousemove=On=>{let Jn=On.clientX-Vt,Sr=On.clientY-gn;const Rr=document.getElementsByClassName("markdown-popup-form")[0],ro=window.innerWidth-Rr.offsetWidth,Or=window.innerHeight-Rr.offsetHeight;Jn=Math.max(0,Math.min(Jn,ro)),Sr=Math.max(0,Math.min(Sr,Or)),wr(On.clientX,On.clientY,Vt,gn)&&(vr(Jn),no(Sr))},document.body.onmouseup=function(){document.body.onmousemove=null}},wr=(Tn,Vt,gn,On)=>{const Jn=document.body.clientHeight,Sr=document.body.clientWidth;return Tn<20&&gn>Tn||Tn>Sr-20&&gn<Tn||Vt<20&&On>Vt||Vt>Jn-20&&On<Vt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return be.createElement(be.Fragment,null,be.createElement("div",{className:"markdown-editor-wrapper",ref:io},be.createElement("div",{className:`markdown-editor-container ${An} ${ta?"on-preview":""} ${zn?"mini":""} ${ar?"full-screen":""}`,style:Kt},be.createElement(me,{insertTemp:mr,watch:ta,fullScreen:ar,showNullButton:Kr,showNullProgramButton:At,onActionCallback:dt,hidetoolBar:an,extraUse:xo}),be.createElement("div",{className:"markdown-editor-body"},be.createElement("div",{className:"codemirror-container"},be.createElement("textarea",{ref:uo,placeholder:Ur})),ta?be.createElement("div",{ref:dr,className:"preview-container"},Lr==="stex"&&be.createElement(oe,{value:ea}),Lr!=="stex"&&be.createElement(ae.Z,{disabledFill:ur,showProgramFill:At,value:ea})):null))),vo?be.createElement("a",{ref:Bo,className:"editor-resize"}):null,Bn===rn&&be.createElement(gt,{callback:Jt,onCancel:yn}),Bn===zt&&be.createElement(Le,{callback:Jt,onCancel:yn}),be.createElement(Se.Z,null,Br[Bn]&&Bn!==rn&&Bn!==zt?be.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Yn,top:Nr},title:be.createElement("div",{style:{cursor:"move"},onMouseDown:fr},Br[Bn]),open:!0,onCancel:yn,footer:null,destroyOnClose:!0,width:Bn===zt?"1200px":null,height:Bn===zt?"80vh":null,className:"markdown-popup-form"},vn):null))}},70859:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ve},I:function(){return Se}});var be=pe(22150),xe=pe(2453),E=pe(69677),he=pe(93421),fe=pe(31795),se=pe(78045),re=pe(71577),ie=pe(15476),le=pe(67294),ce=pe(52262),ae=pe(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 Te=(0,le.useRef)();function Ee(Oe){Te.current.width=we.getFieldValue("width"),Te.current.align=we.getFieldValue("align"),ye(Oe,Te.current)}function _e(Oe,Ie){if(Oe.status===-1){xe.ZP.error(Oe.message);return}we.setFieldsValue({src:`/api/attachments/${Oe.id}`,type:Ie.type})}function Ce(Oe){let Ie=Oe.target.files[0];Te.current=Ie,Se(Ie,_e)}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(me,{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 me({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 xe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let we=new FormData;we.append("editormd-image-file",ye),we.append("file_param_name","editormd-image-file"),we.append("byxhr","true");var Te=new window.XMLHttpRequest;Te.withCredentials=!0,Te.addEventListener("load",function(Ee){Pe(JSON.parse(Ee.target.responseText),ye)},!1),Te.addEventListener("error",function(Ee){console.error(Ee)},!1),Te.open("POST",`${ie.KI}/api/attachments.json`),Te.send(we)}},76621:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return E}});var be=pe(67294),xe=pe(73935);class E extends be.Component{constructor(fe){super(fe);const se=window.document;this.node=se.createElement("div"),se.body.appendChild(this.node)}render(){const{children:fe}=this.props;return(0,xe.createPortal)(fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},21434:function(xt,ft,pe){"use strict";var be=pe(12867),xe=pe(42563),E=pe(47897),he=pe(67294);const fe=xe.default.Option;ft.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(xe.default,{bordered:!1,size:"small",value:le,onChange:ae},he.createElement(fe,{value:"vs"},"\u767D\u8272\u80CC\u666F"),he.createElement(fe,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!se&&he.createElement(he.Fragment,null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),he.createElement(xe.default,{bordered:!1,size:"small",value:ie,onChange:re},he.createElement(fe,{value:12},"12px"),he.createElement(fe,{value:14},"14px"),he.createElement(fe,{value:16},"16px"),he.createElement(fe,{value:18},"18px"),he.createElement(fe,{value:20},"20px"),he.createElement(fe,{value:22},"22px"))),he.createElement("div",{className:"file-item"},he.createElement("b",null,"Tab\u8F6C\u6362"),he.createElement(E.Z,{checked:y,onChange:oe})),he.createElement("div",{className:"file-item",onClick:z},he.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!se&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),he.createElement("span",null,"Ctrl + S")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),he.createElement("span",null,"F1 / Alt + F1")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),he.createElement("span",null,"Ctrl + ]/[")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),he.createElement("span",null,"Ctrl + Shift + \\")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),he.createElement("span",null,"Home")),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),he.createElement("span",null,"End"))),x),!se&&he.createElement(he.Fragment,null,he.createElement("h3",null,"\u5FEB\u6377\u952E"),he.createElement("section",null,he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),he.createElement("span",null,te[ee==null?void 0:ee.difficulty])),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),he.createElement("span",null,b==null?void 0:b.name)),he.createElement("div",{className:"file-item"},he.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),he.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},99914:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return xe}});var be=pe(67294);function xe(E,he){const fe=(0,be.useRef)();(0,be.useEffect)(()=>{fe.current=E}),(0,be.useEffect)(()=>{function se(){fe.current()}if(he!==null){let re=setInterval(se,he);return()=>clearInterval(re)}},[he])}},97917:function(xt,ft,pe){"use strict";var be=pe(67294),xe=pe(55054),E=pe(31795),he=pe(22150),fe=pe(14446),se=pe(57953),re=pe(9430),ie=pe(69677),le=pe(71230),ce=pe(15746),ae=pe(71577),oe=pe(15835),ne=pe(27484),z=pe.n(ne),a=pe(35973),y=pe(28706),x=pe(53814),b=pe(52262),ee=pe(9343),te=pe(67294),ue=(me,Se,ye)=>new Promise((Pe,we)=>{var Te=Ce=>{try{_e(ye.next(Ce))}catch(Oe){we(Oe)}},Ee=Ce=>{try{_e(ye.throw(Ce))}catch(Oe){we(Oe)}},_e=Ce=>Ce.done?Pe(Ce.value):Promise.resolve(Ce.value).then(Te,Ee);_e((ye=ye.apply(me,Se)).next())});const{Countdown:de}=xe.default,ge=({value:me,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:me,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:me,successCb:Se,dispatch:ye})=>{var Pe,we,Te,Ee;const _e=(0,a.useParams)(),[Ce]=he.default.useForm(),Oe=he.default.useWatch("time",Ce),[Ie,Ue]=(0,be.useState)(!1),je=(0,be.useRef)(),{actionTabs:nt}=me,[Je,Qe]=(0,be.useState)(),[,Xe,ze,ke]=(0,ee.U)(oe.n7,{id:_e.categoryId}),[,Be,qe]=(0,ee.U)(oe.Cd,{});(0,be.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&(Ue(!1),Ce.resetFields())},[me.actionTabs.key]);const Ye=()=>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 Ye()),(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:_e.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)}),$e=[{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"}],We=((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)(()=>{me.actionTabs.key==="student-unlock"&&ue(void 0,null,function*(){const Ze=yield qe(_e);yield ze({}),Ze.status||Qe(Ze)})},[me.actionTabs.key]);const{time:Re,end_time:tt}=(Je==null?void 0:Je.exercise)||{},Me=ke!=null&&ke.user_end_time?z()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):z()(),He=z()(ke==null?void 0:ke.user_total_end_time)>Me?Math.round(z().duration(z()(ke==null?void 0:ke.user_total_end_time).diff(Me.startOf("minute"))).asMinutes()):0,Ve=((ke==null?void 0:ke.student_left_minutes)||0)+(Oe||0);return te.createElement(te.Fragment,null,te.createElement(fe.default,{width:514,centered:!0,closable:!!((Te=nt==null?void 0:nt.exerciseParams)!=null&&Te.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:me.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ye({type:"exercise/setActionTabs",payload:{}})}},te.createElement(se.Z,{spinning:Xe||Be},We&&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 "),!We&&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"),We&&te.createElement(re.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ee=nt==null?void 0:nt.exerciseParams)==null?void 0:Ee.errorMessage)||{}],columns:$e}),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:Ie,onClick:gt},"\u8FDB\u5165\u8003\u8BD5"))))))};ft.Z=(0,a.connect)(({exercise:me})=>({exercise:me}))(ve)},93989:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ne}});var be=pe(67294),xe=pe(2453),E=pe(83062),he=pe(57953),fe=pe(71230),se=pe(15746),re=pe(28452),ie=pe(71577),le=pe(35567),ce=pe(33170),ae=pe(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(me){te(me)}function ve(){if(!ee){xe.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),te("")}return(0,be.useEffect)(()=>{y!=a&&de(!1)},[y]),be.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},be.createElement(le.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ge,extraUse:b&&be.createElement(E.Z,{color:"#fff",open: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(xt,ft,pe){"use strict";pe.d(ft,{CP:function(){return E},_V:function(){return se}});var be=pe(81354),xe=pe.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:xe().mode.CBC,padding:xe().pad.Pkcs7}).toString(be.enc.Utf8)}},51959:function(xt,ft,pe){"use strict";pe.d(ft,{BU:function(){return xe},Dj:function(){return be},gH:function(){return E},vp:function(){return he}});function be(fe){try{fe.mozRequestFullScreen?fe.mozRequestFullScreen():fe.webkitRequestFullScreen&&fe.webkitRequestFullScreen()}catch(se){console.log(se,":e")}}function xe(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function he(){var fe=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,se=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",fe),window.isFullScreen?window.isFullScreen:fe!=null}},9343:function(xt,ft,pe){"use strict";pe.d(ft,{U:function(){return le}});var be=pe(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,se=(ce,ae,oe)=>ae in ce?xe(ce,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ce[ae]=oe,re=(ce,ae)=>{for(var oe in ae||(ae={}))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(xt,ft,pe){"use strict";pe.d(ft,{_:function(){return E}});var be=pe(67294),xe=pe(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(()=>{xe.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);re.current.push(x)}}},[(fe=he==null?void 0:he.exercise)==null?void 0:fe.left_time,(se=he==null?void 0:he.exercise)==null?void 0:se.exercise_events]),ie}},40471:function(xt,ft,pe){"use strict";pe.d(ft,{G:function(){return fe},t:function(){return he}});var be=pe(58971),xe=pe.n(be);const E=null;function he(se,re){let ie=xe().get("__ec");ie||(ie={}),ie[se]=re,xe().set("__ec",ie)}function fe(se,re){let ie=xe().get("__ec");return ie?ie[se]===void 0?re:ie[se]:re}},56448:function(xt){(function(ft){(function(pe){if(1)xt.exports=pe();else var be})(function(){var pe,be,xe;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(me){for(;;)switch(me.prev=me.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],me.next=9,this.request(ue);case 9:return ge=me.sent,me.abrupt("return",{res:ge.res});case 11:case"end":return me.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,me,Se,ye,Pe,we,Te;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.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>")},me=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(me),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],_e.next=16,this.request(ue);case 16:return Te=_e.sent,_e.abrupt("return",{res:Te.res});case 18:case"end":return _e.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(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("GET",b,"cors",ee),te.successStatuses=[200],te.xmlResponse=!0,me.next=5,this.request(te);case 5:return ue=me.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)})),me.abrupt("return",{rules:de,res:ue.res});case 9:case"end":return me.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,me;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 me=ye.sent,ye.abrupt("return",{res:me.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"),me=ve.encoder,Se=E("../common/client/getReqUrl"),ye=Se.getReqUrl,Pe=E("../common/utils/setSTSToken"),we=Pe.setSTSToken,Te=E("../common/utils/retry"),Ee=Te.retry,_e=E("../common/utils/isFunction"),Ce=_e.isFunction,Oe=new ne;function Ie(){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(Ie(),!(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 Ye=te.buildCanonicalString(ze.toUpperCase(),ke,{headers:qe,parameters:Be});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,Ye,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(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(!this.options.retryMax){Ye.next=6;break}return Ye.next=3,Ee(Je.bind(this),this.options.retryMax,{errorHandler:function($e){var We=function(tt){if(ke.stream)return!1;var Me=[-1,-2].includes(tt.status),He=Be.options.requestErrorRetryHandle||function(){return!0};return Me&&He(tt)};return!!We($e)}})(ke);case 3:return Ye.abrupt("return",Ye.sent);case 6:return Ye.abrupt("return",Je.call(this,ke));case 7:case"end":return Ye.stop()}},ze,this)}));return function(ze){return Xe.apply(this,arguments)}}();function Je(Xe){return Qe.apply(this,arguments)}function Qe(){return Qe=(0,ce.default)(le.default.mark(function Xe(ze){var ke,Be,qe,Ye,gt,$e;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"),Ye=!!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"&&!Ye)){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:$e=Re.sent,Be.data=$e;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+=me(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,Ye){qe?Be(qe):ke(Ye)})})},nt.requestError=function(){var Xe=(0,ce.default)(le.default.mark(function ke(Be){var qe,Ye,gt,$e;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 Ye=String(Be.data),this.debug("request response error data: %s",Ye,"error"),Re.prev=7,Re.next=10,this.parseXML(Ye);case 10:if(Re.t0=Re.sent,Re.t0){Re.next=13;break}Re.t0={};case 13:gt=Re.t0,Re.next=23;break;case 16:return Re.prev=16,Re.t1=Re.catch(7),this.debug(Ye,"error"),Re.t1.message+=`
raw xml: `.concat(Ye),Re.t1.status=Be.status,Re.t1.requestId=Be.headers["x-oss-request-id"],Re.abrupt("return",Re.t1);case 23:$e=gt.Message||"unknow request error, status: ".concat(Be.status),gt.Condition&&($e+=" (condition: ".concat(gt.Condition,")")),qe=new Error($e),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 me=(0,le.default)(ie.default.mark(function ye(Pe,we){var Te,Ee,_e,Ce,Oe,Ie,Ue,je,nt,Je=arguments;return ie.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(Te=Je.length>2&&Je[2]!==void 0?Je[2]:{},this.resetCancelFlag(),Te.disabledMD5=Te.disabledMD5===void 0?!0:!!Te.disabledMD5,!(Te.checkpoint&&Te.checkpoint.uploadId)){Xe.next=8;break}return we&&x(we)&&(Te.checkpoint.file=we),Xe.next=7,this._resumeMultipart(Te.checkpoint,Te);case 7:return Xe.abrupt("return",Xe.sent);case 8:return Ee=102400,Te.mime||(x(we)?Te.mime=oe.getType(ae.extname(we.name)):a(we)?Te.mime=we.type:ee(we)?Te.mime="":Te.mime=oe.getType(ae.extname(we))),Te.headers=Te.headers||{},this._convertMetaToHeaders(Te.meta,Te.headers),Xe.next=14,this._getFileSize(we);case 14:if(_e=Xe.sent,!(_e<Ee)){Xe.next=26;break}return Te.contentLength=_e,Xe.next=19,this.put(Pe,we,Te);case 19:if(Ce=Xe.sent,!(Te&&Te.progress)){Xe.next=23;break}return Xe.next=23,Te.progress(1);case 23:return Oe={res:Ce.res,bucket:this.options.bucket,name:Pe,etag:Ce.res.headers.etag},(Te.headers&&Te.headers["x-oss-callback"]||Te.callback)&&(Oe.data=Ce.data),Xe.abrupt("return",Oe);case 26:if(!(Te.partSize&&parseInt(Te.partSize,10)!==Te.partSize)){Xe.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Te.partSize&&Te.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,Te);case 32:if(Ie=Xe.sent,Ue=Ie.uploadId,je=this._getPartSize(_e,Te.partSize),nt={file:we,name:Pe,fileSize:_e,partSize:je,uploadId:Ue,doneParts:[]},!(Te&&Te.progress)){Xe.next=39;break}return Xe.next=39,Te.progress(0,nt,Ie.res);case 39:return Xe.next=41,this._resumeMultipart(nt,Te);case 41:return Xe.abrupt("return",Xe.sent);case 42:case"end":return Xe.stop()}},ye,this)}));function Se(ye,Pe){return me.apply(this,arguments)}return Se}(),te._resumeMultipart=function(){var me=(0,le.default)(ie.default.mark(function ye(Pe,we){var Te,Ee,_e,Ce,Oe,Ie,Ue,je,nt,Je,Qe,Xe,ze,ke,Be,qe,Ye,gt,$e;return ie.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(Te=this,!this.isCancel()){Re.next=3;break}throw this._makeCancelEvent();case 3:return Ee=Pe.file,_e=Pe.fileSize,Ce=Pe.partSize,Oe=Pe.uploadId,Ie=Pe.doneParts,Ue=Pe.name,je=[],Ie.length>0&&ne(Ie).to(je),nt=this._divideParts(_e,Ce),Je=nt.length,Qe=!1,Xe=function(Me,He){return new Promise(function(){var Ve=(0,le.default)(ie.default.mark(function Ze(Ke,Ae){var Le,Ne,Ge,ot,St;return ie.default.wrap(function(rt){for(;;)switch(rt.prev=rt.next){case 0:if(rt.prev=0,Me.isCancel()){rt.next=29;break}return Le=nt[He-1],rt.next=5,Me._createBuffer(Ee,Le.start,Le.end);case 5:return Ne=rt.sent,Ge={content:Ne,size:Le.end-Le.start},rt.prev=7,rt.next=10,Me._uploadPart(Ue,Oe,He,Ge,we);case 10:ot=rt.sent,rt.next=18;break;case 13:if(rt.prev=13,rt.t0=rt.catch(7),rt.t0.status!==404){rt.next=17;break}throw Me._makeAbortEvent();case 17:throw rt.t0;case 18:if(!(!Me.isCancel()&&!Qe)){rt.next=26;break}if(Pe.doneParts.push({number:He,etag:ot.res.headers.etag}),!we.progress){rt.next=23;break}return rt.next=23,we.progress(Ie.length/(Je+1),Pe,ot.res);case 23:Ke({number:He,etag:ot.res.headers.etag}),rt.next=27;break;case 26:Ke();case 27:rt.next=30;break;case 29:Ke();case 30:rt.next=41;break;case 32:rt.prev=32,rt.t1=rt.catch(0),St=new Error,St.name=rt.t1.name,St.message=rt.t1.message,St.stack=rt.t1.stack,St.partNum=He,ne(rt.t1).to(St),Ae(St);case 41:case"end":return rt.stop()}},Ze,null,[[0,32],[7,13]])}));return function(Ze,Ke){return Ve.apply(this,arguments)}}())},ze=Array.from(new Array(Je),function(tt,Me){return Me+1}),ke=je.map(function(tt){return tt.number}),Be=ze.filter(function(tt){return ke.indexOf(tt)<0}),qe=5,Ye=we.parallel||qe,Re.next=17,this._parallel(Be,Ye,function(tt){return new Promise(function(Me,He){Xe(Te,tt).then(function(Ve){Ve&&je.push(Ve),Me()}).catch(function(Ve){He(Ve)})})});case 17:if(gt=Re.sent,Qe=!0,$e=gt.find(function(tt){return tt.name==="abort"}),!$e){Re.next=22;break}throw $e;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 me.apply(this,arguments)}return Se}(),te._getFileSize=function(){var me=(0,le.default)(ie.default.mark(function ye(Pe){return ie.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(!ee(Pe)){Te.next=4;break}return Te.abrupt("return",Pe.length);case 4:if(!(a(Pe)||x(Pe))){Te.next=6;break}return Te.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Te.stop()}},ye)}));function Se(ye){return me.apply(this,arguments)}return Se}();var ue=E("stream"),de=ue.Readable;function ge(me,Se){if(!(this instanceof ge))return new ge(me,Se);de.call(this,Se),this.file=me,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(Te){Pe.fileBuffer=se.from(new Uint8Array(Te.target.result)),Pe.file=null,Pe.readFileAndPush(Se)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Se)};function ve(me){return me.arrayBuffer?me.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(me)})}te._createBuffer=function(){var me=(0,le.default)(ie.default.mark(function ye(Pe,we,Te){var Ee,_e;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,Te),Oe.next=4,ve(Ee);case 4:return _e=Oe.sent,Oe.abrupt("return",se.from(_e));case 8:if(!ee(Pe)){Oe.next=12;break}return Oe.abrupt("return",Pe.subarray(we,Te));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Oe.stop()}},ye)}));function Se(ye,Pe,we){return me.apply(this,arguments)}return Se}(),te._getPartSize=function(Se,ye){var Pe=1e4,we=1*1024*1024;ye||(ye=we);var Te=Math.ceil(Se/Pe);return ye<Te&&(ye=Te,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=[],Te=0;Te<Pe;Te++){var Ee=ye*Te,_e=Math.min(Ee+ye,Se);we.push({start:Ee,end:_e})}return we}}).call(this)}).call(this,E("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(E,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 Te;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return we=we||{},we.position===void 0&&(we.position="0"),we.subres={append:"",position:we.position},we.method="POST",_e.next=6,this.put(ye,Pe,we);case 6:return Te=_e.sent,Te.nextAppendPosition=Te.res.headers["x-oss-next-append-position"],_e.abrupt("return",Te);case 9:case"end":return _e.stop()}},Se,this)}));function me(Se,ye,Pe){return ve.apply(this,arguments)}return me}(),ge.put=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye,Pe,we){var Te,Ee,_e,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}Te=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 Te=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",_e=this._objectRequestParams(Ee,ye,we),ne.encodeCallback(_e,we),_e.mime=we.mime,_e.disabledMD5=we.disabledMD5,_e.content=Te,_e.successStatuses=[200],Ue.next=29,this.request(_e);case 29:return Ce=Ue.sent,Oe={name:ye,url:this._objectUrl(ye),res:Ce.res},_e.headers&&_e.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 me(Se,ye,Pe){return ve.apply(this,arguments)}return me}(),ge.putStream=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye,Pe,we){var Te,Ee,_e,Ce;return re.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return we=we||{},we.headers=we.headers||{},ye=this._objectName(ye),we.contentLength?we.headers["Content-Length"]=we.contentLength:we.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(we.meta,we.headers),Te=we.method||"PUT",Ee=this._objectRequestParams(Te,ye,we),ne.encodeCallback(Ee,we),Ee.mime=we.mime,Ee.stream=Pe,Ee.successStatuses=[200],Ie.next=13,this.request(Ee);case 13:return _e=Ie.sent,Ce={name:ye,url:this._objectUrl(ye),res:_e.res},Ee.headers&&Ee.headers["x-oss-callback"]&&(Ce.data=JSON.parse(_e.data.toString())),Ie.abrupt("return",Ce);case 17:case"end":return Ie.stop()}},Se,this)}));function me(Se,ye,Pe){return ve.apply(this,arguments)}return me}(),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 Te;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return _e.next=2,this.copy(ye,ye,{meta:Pe||{},timeout:we&&we.timeout,ctx:we&&we.ctx});case 2:return Te=_e.sent,_e.abrupt("return",Te);case 4:case"end":return _e.stop()}},Se,this)}));function me(Se,ye,Pe){return ve.apply(this,arguments)}return me}(),ge.list=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye,Pe){var we,Te,Ee,_e,Ce;return re.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return we=this._objectRequestParams("GET","",Pe),we.query=ye,we.xmlResponse=!0,we.successStatuses=[200],Ie.next=6,this.request(we);case 6:return Te=Ie.sent,Ee=Te.data.Contents||[],_e=this,Ee&&(Array.isArray(Ee)||(Ee=[Ee]),Ee=Ee.map(function(Ue){return{name:Ue.Key,url:_e._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=Te.data.CommonPrefixes||null,Ce&&(Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(Ue){return Ue.Prefix})),Ie.abrupt("return",{res:Te.res,objects:Ee,prefixes:Ce,nextMarker:Te.data.NextMarker||null,isTruncated:Te.data.IsTruncated==="true"});case 13:case"end":return Ie.stop()}},Se,this)}));function me(Se,ye){return ve.apply(this,arguments)}return me}(),ge.listV2=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye){var Pe,we,Te,Ee,_e,Ce,Oe,Ie=arguments;return re.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return Pe=Ie.length>1&&Ie[1]!==void 0?Ie[1]:{},we=ye["continuation-token"]||ye.continuationToken,we&&(Pe.subres=Object.assign({"continuation-token":we},Pe.subres)),Te=this._objectRequestParams("GET","",Pe),Te.query=Object.assign({"list-type":2},ye),delete Te.query["continuation-token"],delete Te.query.continuationToken,Te.xmlResponse=!0,Te.successStatuses=[200],je.next=11,this.request(Te);case 11:return Ee=je.sent,_e=Ee.data.Contents||[],Ce=this,_e&&(Array.isArray(_e)||(_e=[_e]),_e=_e.map(function(nt){var Je=null;return nt.Owner&&(Je={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:Je}})),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:_e,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 me(Se){return ve.apply(this,arguments)}return me}(),ge.restore=function(){var ve=(0,ie.default)(re.default.mark(function Se(ye){var Pe,we,Te,Ee,_e=arguments;return re.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Pe=_e.length>1&&_e[1]!==void 0?_e[1]:{type:"Archive"},Pe=Pe||{},Pe.subres=Object.assign({restore:""},Pe.subres),Pe.versionId&&(Pe.subres.versionId=Pe.versionId),we=this._objectRequestParams("POST",ye,Pe),Pe.type==="ColdArchive"&&(Te={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},we.content=de(Te,{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 me(Se){return ve.apply(this,arguments)}return me}(),ge._objectUrl=function(me){return this._getReqUrl({bucket:this.options.bucket,object:me})},ge._objectRequestParams=function(me,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:me,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(me){return me.replace(/^\/+/,"")},ge._convertMetaToHeaders=function(me,Se){me&&Object.keys(me).forEach(function(ye){Se["x-oss-meta-".concat(ye)]=me[ye]})},ge._deleteFileSafe=function(me){var Se=this;return new Promise(function(ye){le.exists(me,function(Pe){Pe?le.unlink(me,function(we){we&&Se.debug("unlink %j error: %s",me,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(me){for(;;)switch(me.prev=me.next){case 0:return ce(ee),ue=this._bucketRequestParams("GET",ee,"lifecycle",te),ue.successStatuses=[200],ue.xmlResponse=!0,me.next=6,this.request(ue);case 6:return de=me.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")})),me.abrupt("return",{rules:ge,res:de.res});case 10:case"end":return me.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(me){for(;;)switch(me.prev=me.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,me.next=9,this.request(b);case 9:return ee=me.sent,te=ee.data,ue=ee.res,de=ee.status,me.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:ce.formatInventoryConfig(te.InventoryConfiguration,!0),status:de,res:ue});case 12:case"end":return me.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,me,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}),me=this._bucketRequestParams("PUT",z,x,y),me.successStatuses=[200],me.mime="xml",me.content=ve,we.next=14,this.request(me);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 Te(Ee,_e,Ce){var Oe,Ie,Ue,je,nt;return re.default.wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(ce(Ee),oe(_e)){Qe.next=3;break}throw new Error("rules must be Array");case 3:return Oe=this._bucketRequestParams("PUT",Ee,"lifecycle",Ce),Ie=[],Ue={LifecycleConfiguration:{Rule:Ie}},_e.forEach(function(Xe){ve(Xe),ye(Xe),Xe.id&&(Xe.ID=Xe.id,delete Xe.id),Ie.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()}},Te,this)}));function we(Te,Ee,_e){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 me(Pe,we){var Te=Pe.days,Ee=Pe.createdBeforeDate;if(!Te&&!Ee)throw new Error("".concat(we," must includes days or createdBeforeDate"));if(Te&&!/^[1-9][0-9]*$/.test(Te))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={},Te=z(Pe);Te.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");me(Pe.transition,"Transition")}if(Pe.expiration){if(!Pe.expiration.expiredObjectDeleteMarker)me(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&&me(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(me){for(;;)switch(me.prev=me.next){case 0:if(ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},ce(x),["Enabled","Suspended"].includes(b)){me.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}),me.next=10,this.request(te);case 10:return de=me.sent,me.abrupt("return",{res:de.res,status:de.status});case 12:case"end":return me.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,me,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},me={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 me=oe(me),de.content=me,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,me,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),me={"x-oss-process":"".concat(ue,"|sys/saveas,o_").concat(te).concat(ve)},ge.content=ae.stringify(me),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,me=arguments;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return te=me.length>5&&me[5]!==void 0?me[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,me,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(me=Ee.sent,Se=me.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,me.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,me,Se,ye,Pe,we,Te,Ee,_e,Ce,Oe,Ie,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,me=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 Ye(gt,$e){var We,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 We=Se[ke-1],Re="".concat(We.start,"-").concat(We.end-1),He.prev=4,He.next=7,ze.uploadPartCopy(me,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,$e(He.t1);case 29:case"end":return He.stop()}},Ye,null,[[0,25],[4,10]])}));return function(Ye,gt){return qe.apply(this,arguments)}}())},Te=Array.from(new Array(ye),function(Xe,ze){return ze+1}),Ee=ve.map(function(Xe){return Xe.number}),_e=Te.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}Ie=0;case 18:if(!(Ie<_e.length)){Qe.next=26;break}if(!this.isCancel()){Qe.next=21;break}throw this._makeCancelEvent();case 21:return Qe.next=23,we(this,_e[Ie],y);case 23:Ie++,Qe.next=18;break;case 26:Qe.next=40;break;case 28:return Qe.next=30,this._parallelNode(_e,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(me,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,me,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",me=this._objectRequestParams("GET","",ve),me.query=de,me.xmlResponse=!0,me.successStatuses=[200],we.next=10,this.request(me);case 10:return Se=we.sent,ye=Se.data.Upload||[],Array.isArray(ye)||(ye=[ye]),ye=ye.map(function(Te){return{name:Te.Key,uploadId:Te.UploadId,initiated:Te.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,me){var Se,ye,Pe;return ie.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return me=me||{},Se={},ce(me).to(Se),Se.subres={uploadId:ge},ye=this._objectRequestParams("GET",de,Se),ye.query=ve,ye.xmlResponse=!0,ye.successStatuses=[200],Te.next=10,this.request(ye);case 10:return Pe=Te.sent,Te.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 Te.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 me,Se,ye;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return this._stop(),ve=ve||{},me={},ce(ve).to(me),me.subres={uploadId:ge},Se=this._objectRequestParams("DELETE",de,me),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,me,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",me=this._objectRequestParams("POST",de,ve),me.mime=ge.mime,me.xmlResponse=!0,me.successStatuses=[200],Pe.next=12,this.request(me);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,me,Se,ye,Pe){var we,Te;return ie.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(we={size:ye-Se},Te=se&&se.browser,!Te){_e.next=8;break}return _e.next=5,this._createBuffer(me,Se,ye);case 5:we.content=_e.sent,_e.next=11;break;case 8:return _e.next=10,this._createStream(me,Se,ye);case 10:we.stream=_e.sent;case 11:return _e.next=13,this._uploadPart(de,ge,ve,we,Pe);case 13:return _e.abrupt("return",_e.sent);case 14:case"end":return _e.stop()}},ue,this)}));function te(ue,de,ge,ve,me,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,me){var Se,ye,Pe,we,Te,Ee,_e,Ce;return ie.default.wrap(function(Ie){for(;;)switch(Ie.prev=Ie.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>",me=me||{},Te={},Te=ne(me,function(Ue){if(a(Ue))return null}),Te.subres={uploadId:ge},Te.headers=x(Te.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ee=this._objectRequestParams("POST",de,Te),ae.encodeCallback(Ee,Te),Ee.mime="xml",Ee.content=ye,Ee.headers&&Ee.headers["x-oss-callback"]||(Ee.xmlResponse=!0),Ee.successStatuses=[200],Ie.next=17,this.request(Ee);case 17:if(_e=Ie.sent,!me.progress){Ie.next=21;break}return Ie.next=21,me.progress(1,null,_e.res);case 21:return Ce={res:_e.res,bucket:Ee.bucket,name:de,etag:_e.res.headers.etag},Ee.headers&&Ee.headers["x-oss-callback"]&&(Ce.data=JSON.parse(_e.data.toString())),Ie.abrupt("return",Ce);case 24:case"end":return Ie.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,me,Se){var ye,Pe,we,Te;return ie.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return Se=Se||{},ye={},ce(Se).to(ye),ye.headers=ye.headers||{},ye.headers["Content-Length"]=me.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=me.content:Pe.stream=me.stream,Pe.successStatuses=[200],Pe.disabledMD5=Se.disabledMD5,_e.next=15,this.request(Pe);case 15:if(Te=_e.sent,Te.res.headers.etag){_e.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 18:return me.stream&&(me.stream=null,Pe.stream=null),_e.abrupt("return",{name:de,etag:Te.res.headers.etag,res:Te.res});case 20:case"end":return _e.stop()}},ue,this)}));function te(ue,de,ge,ve,me){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 me,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",me=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,me),we=le.parse(this._getReqUrl(Se)),we.query={OSSAccessKeyId:this.options.accessKeyId,Expires:me,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(me){for(;;)switch(me.prev=me.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],me.next=14,this.request(ue);case 14:return de=me.sent,ge=de.data,ge&&(ge={etag:ge.ETag,lastModified:ge.LastModified}),me.abrupt("return",{data:ge,res:de.res});case 18:case"end":return me.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,me,Se,ye,Pe,we,Te=arguments;return re.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(x=Te.length>1&&Te[1]!==void 0?Te[1]:{},b=[],!(!y||!y.length)){_e.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}},me=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=me,Se.xmlResponse=!0,Se.successStatuses=[200],_e.next=16,this.request(Se);case 16:return ye=_e.sent,Pe=ye.data,we=Pe&&Pe.Deleted||null,we&&(Array.isArray(we)||(we=[we])),_e.abrupt("return",{res:ye.res,deleted:we||[]});case 21:case"end":return _e.stop()}},a,this)}));function 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,me,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,me=this._objectRequestParams("GET",y,b),me.writeStream=ee,me.successStatuses=[200,206,304],Pe.next=17,this.request(me);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,me,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||[],me=this,ge&&(Array.isArray(ge)||(ge=[ge]),ge=ge.map(function(Te){return{name:Te.Key,url:me._objectUrl(Te.Key),lastModified:Te.LastModified,isLatest:Te.IsLatest==="true",versionId:Te.VersionId,etag:Te.ETag,type:Te.Type,size:Number(Te.Size),storageClass:Te.StorageClass,owner:{id:Te.Owner.ID,displayName:Te.Owner.DisplayName}}})),ve&&(ne(ve)||(ve=[ve]),ve=ve.map(function(Te){return{name:Te.Key,lastModified:Te.LastModified,versionId:Te.VersionId,owner:{id:Te.Owner.ID,displayName:Te.Owner.DisplayName}}})),Se=de.data.CommonPrefixes||null,Se&&(ne(Se)||(Se=[Se]),Se=Se.map(function(Te){return Te.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(me){ue[me.Key]=me.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(me){for(;;)switch(me.prev=me.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),me.next=13,this.request(te);case 13:return de=me.sent,me.abrupt("return",{res:de.res,status:de.status});case 15:case"end":return me.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,me,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,me=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||me===ve&&Se===a.length-1)){Pe.next=23;break}return Pe.prev=13,me+=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 Te=arguments.length,Ee=new Array(Te),_e=0;_e<Te;_e++)Ee[_e]=arguments[_e];we.apply(this,Ee)}}function te(Pe){var we=-1,Te=Pe.length;return function(){return++we<Te&&!y.isCancel()?{value:Pe[we],key:we}:null}}var ue=te(ne),de=!1,ge=0,ve=!1;function me(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(Te){we(null,Te)}).catch(function(Te){we(Te)})}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(me))}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(me){var Se="response-".concat(me.toLowerCase());ee[Se]=ne.response[me]}),Object.keys(ne).forEach(function(me){var Se=me.toLowerCase(),ye=ne[me];Se.indexOf("x-oss-")===0?x[Se]=ye:(Se.indexOf("content-md5")===0||Se.indexOf("content-type")===0)&&(x[me]=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(me){ge["x:".concat(me)]=ne.callback.customValue[me]}),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 me(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 Te in Pe)Pe[Te]&&we.call(Pe,Te)&&(Pe[Te]=z(String(Pe[Te]),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 _e=this.options,Ce=_e.region,Oe=_e.internal,Ie=_e.secure,Ue=b(Ce,Oe,Ie);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,Je={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&&(Je.agent=this.agent),this.httpsAgent&&(Je.httpsAgent=this.httpsAgent),Je.enableProxy=!!this.options.enableProxy,Je.proxy=this.options.proxy?this.options.proxy:null,{url:je,params:Je}}fe.createRequest=me}).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(me){return delete oe[me]}),Object.entries(b).forEach(function(me){oe[me[0]]&&(oe[me[1]]||(oe[me[1]]=oe[me[0]],delete oe[me[0]]))}),te.forEach(function(me){if(oe[me]){var Se=me.replace(/^(.)/,function(ye){return ye.toLowerCase()}).replace(/-(\w)/g,function(ye,Pe){return Pe.toUpperCase()});oe[Se]||(oe[Se]=oe[me])}}),de.forEach(function(me){oe[me]=ce(oe[me])}),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 Ie=Ce.length,Ue=Oe.length,je=0,nt=Math.min(Ie,Ue);je<nt;++je)if(Ce[je]!==Oe[je]){Ie=Ce[je],Ue=Oe[je];break}return Ie<Ue?-1:Ue<Ie?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(),Ie=Oe.match(x);return Ie&&Ie[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 Ie=Oe.stackStartFunction||de;if(Error.captureStackTrace)Error.captureStackTrace(this,Ie);else{var Ue=new Error;if(Ue.stack){var je=Ue.stack,nt=b(Ie),Je=je.indexOf(`
`+nt);if(Je>=0){var Qe=je.indexOf(`
`,Je+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),Ie=Oe?": "+Oe:"";return"[Function"+Ie+"]"}function ue(Ce){return ee(te(Ce.actual),128)+" "+Ce.operator+" "+ee(te(Ce.expected),128)}function de(Ce,Oe,Ie,Ue,je){throw new y.AssertionError({message:Ie,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,Ie,Ue){Oe!=Ie&&de(Oe,Ie,Ue,"==",y.equal)},y.notEqual=function(Oe,Ie,Ue){Oe==Ie&&de(Oe,Ie,Ue,"!=",y.notEqual)},y.deepEqual=function(Oe,Ie,Ue){ve(Oe,Ie,!1)||de(Oe,Ie,Ue,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(Oe,Ie,Ue){ve(Oe,Ie,!0)||de(Oe,Ie,Ue,"deepStrictEqual",y.deepStrictEqual)};function ve(Ce,Oe,Ie,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 Ie?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,Ie,Ue))}function me(Ce){return Object.prototype.toString.call(Ce)=="[object Arguments]"}function Se(Ce,Oe,Ie,Ue){if(Ce==null||Oe===null||Oe===void 0)return!1;if(ce.isPrimitive(Ce)||ce.isPrimitive(Oe))return Ce===Oe;if(Ie&&Object.getPrototypeOf(Ce)!==Object.getPrototypeOf(Oe))return!1;var je=me(Ce),nt=me(Oe);if(je&&!nt||!je&&nt)return!1;if(je)return Ce=oe.call(Ce),Oe=oe.call(Oe),ve(Ce,Oe,Ie);var Je=_e(Ce),Qe=_e(Oe),Xe,ze;if(Je.length!==Qe.length)return!1;for(Je.sort(),Qe.sort(),ze=Je.length-1;ze>=0;ze--)if(Je[ze]!==Qe[ze])return!1;for(ze=Je.length-1;ze>=0;ze--)if(Xe=Je[ze],!ve(Ce[Xe],Oe[Xe],Ie,Ue))return!1;return!0}y.notDeepEqual=function(Oe,Ie,Ue){ve(Oe,Ie,!1)&&de(Oe,Ie,Ue,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ye;function ye(Ce,Oe,Ie){ve(Ce,Oe,!0)&&de(Ce,Oe,Ie,"notDeepStrictEqual",ye)}y.strictEqual=function(Oe,Ie,Ue){Oe!==Ie&&de(Oe,Ie,Ue,"===",y.strictEqual)},y.notStrictEqual=function(Oe,Ie,Ue){Oe===Ie&&de(Oe,Ie,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(Ie){}return Error.isPrototypeOf(Oe)?!1:Oe.call({},Ce)===!0}function we(Ce){var Oe;try{Ce()}catch(Ie){Oe=Ie}return Oe}function Te(Ce,Oe,Ie,Ue){var je;if(typeof Oe!="function")throw new TypeError('"block" argument must be a function');typeof Ie=="string"&&(Ue=Ie,Ie=null),je=we(Oe),Ue=(Ie&&Ie.name?" ("+Ie.name+").":".")+(Ue?" "+Ue:"."),Ce&&!je&&de(je,Ie,"Missing expected exception"+Ue);var nt=typeof Ue=="string",Je=!Ce&&ce.isError(je),Qe=!Ce&&je&&!Ie;if((Je&&nt&&Pe(je,Ie)||Qe)&&de(je,Ie,"Got unwanted exception"+Ue),Ce&&je&&Ie&&!Pe(je,Ie)||!Ce&&je)throw je}y.throws=function(Ce,Oe,Ie){Te(!0,Ce,Oe,Ie)},y.doesNotThrow=function(Ce,Oe,Ie){Te(!1,Ce,Oe,Ie)},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 _e=Object.keys||function(Ce){var Oe=[];for(var Ie in Ce)ae.call(Ce,Ie)&&Oe.push(Ie);return Oe}}).call(this)}).call(this,typeof ft!="undefined"?ft: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($e){return"[Circular]"}default:return gt}}),Ye=ke[ze];ze<Be;Ye=ke[++ze])ge(Ye)||!Te(Ye)?qe+=" "+Ye:qe+=" "+ae(Ye);return qe},fe.deprecate=function(Qe,Xe){if(Pe(re.process))return function(){return fe.deprecate(Qe,Xe).apply(this,arguments)};if(se.noDeprecation===!0)return Qe;var 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),Ye=z(qe);if(Qe.showHidden&&(qe=Object.getOwnPropertyNames(Xe)),_e(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(_e(Xe))return x(Xe)}var $e="",We=!1,Re=["{","}"];if(ue(Xe)&&(We=!0,Re=["[","]"]),Ce(Xe)){var tt=Xe.name?": "+Xe.name:"";$e=" [Function"+tt+"]"}if(we(Xe)&&($e=" "+RegExp.prototype.toString.call(Xe)),Ee(Xe)&&($e=" "+Date.prototype.toUTCString.call(Xe)),_e(Xe)&&($e=" "+x(Xe)),qe.length===0&&(!We||Xe.length==0))return Re[0]+$e+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 Me;return We?Me=b(Qe,Xe,ze,Ye,qe):Me=qe.map(function(He){return ee(Qe,Xe,ze,Ye,He,We)}),Qe.seen.pop(),te(Me,$e,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(me(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=[],Ye=0,gt=Xe.length;Ye<gt;++Ye)Je(Xe,String(Ye))?qe.push(ee(Qe,Xe,ze,ke,String(Ye),!0)):qe.push("");return Be.forEach(function($e){$e.match(/^\d+$/)||qe.push(ee(Qe,Xe,ze,ke,$e,!0))}),qe}function ee(Qe,Xe,ze,ke,Be,qe){var Ye,gt,$e;if($e=Object.getOwnPropertyDescriptor(Xe,Be)||{value:Xe[Be]},$e.get?$e.set?gt=Qe.stylize("[Getter/Setter]","special"):gt=Qe.stylize("[Getter]","special"):$e.set&&(gt=Qe.stylize("[Setter]","special")),Je(ke,Be)||(Ye="["+Be+"]"),gt||(Qe.seen.indexOf($e.value)<0?(ge(ze)?gt=a(Qe,$e.value,null):gt=a(Qe,$e.value,ze-1),gt.indexOf(`
`)>-1&&(qe?gt=gt.split(`
`).map(function(We){return" "+We}).join(`
`).substr(2):gt=`
`+gt.split(`
`).map(function(We){return" "+We}).join(`
`))):gt=Qe.stylize("[Circular]","special")),Pe(Ye)){if(qe&&Be.match(/^\d+$/))return gt;Ye=JSON.stringify(""+Be),Ye.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ye=Ye.substr(1,Ye.length-2),Ye=Qe.stylize(Ye,"name")):(Ye=Ye.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ye=Qe.stylize(Ye,"string"))}return Ye+": "+gt}function te(Qe,Xe,ze){var ke=0,Be=Qe.reduce(function(qe,Ye){return ke++,Ye.indexOf(`
`)>=0&&ke++,qe+Ye.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 me(Qe){return typeof Qe=="number"}fe.isNumber=me;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 Te(Qe)&&Ie(Qe)==="[object RegExp]"}fe.isRegExp=we;function Te(Qe){return typeof Qe=="object"&&Qe!==null}fe.isObject=Te;function Ee(Qe){return Te(Qe)&&Ie(Qe)==="[object Date]"}fe.isDate=Ee;function _e(Qe){return Te(Qe)&&(Ie(Qe)==="[object Error]"||Qe instanceof Error)}fe.isError=_e;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 Ie(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||!Te(Xe))return Qe;for(var ze=Object.keys(Xe),ke=ze.length;ke--;)Qe[ze[ke]]=Xe[ze[ke]];return Qe};function Je(Qe,Xe){return Object.prototype.hasOwnProperty.call(Qe,Xe)}}).call(this)}).call(this,E("_process"),typeof ft!="undefined"?ft: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 ft!="undefined"?ft: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)),me=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[me++]=te>>16&255,ve[me++]=te>>8&255,ve[me++]=te&255;return ge===2&&(te=re[ee.charCodeAt(ye)]<<2|re[ee.charCodeAt(ye+1)]>>4,ve[me++]=te&255),ge===1&&(te=re[ee.charCodeAt(ye)]<<10|re[ee.charCodeAt(ye+1)]<<4|re[ee.charCodeAt(ye+2)]>>2,ve[me++]=te>>8&255,ve[me++]=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,me=0,Se=ue-de;me<Se;me+=ve)ge.push(x(ee,me,me+ve>Se?Se:me+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 pe=="function"&&pe.amd?pe(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),me=/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),Te=!x&&!ge&&/macintosh/i.test(z),Ee=!ee&&!ve&&!me&&!Se&&/linux/i.test(z),_e=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ce=a(/version\/(\d+(\.\d+)?)/i),Oe=/tablet/i.test(z)&&!/tablet pc/i.test(z),Ie=!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},_e?(je.msedge=se,je.version=_e):(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:_e}:/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)}:me?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"):Te?(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 Je="";je.windows?Je=nt(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):je.windowsphone?Je=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):je.mac?(Je=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Je=Je.replace(/[_\s]/g,".")):x?(Je=a(/os (\d+([_\s]\d+)*) like mac os x/i),Je=Je.replace(/[_\s]/g,".")):ee?Je=a(/android[ \/-](\d+(\.\d+)*)/i):je.webos?Je=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):je.blackberry?Je=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):je.bada?Je=a(/bada\/(\d+(\.\d+)*)/i):je.tizen&&(Je=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Je&&(je.osversion=Je);var Qe=!je.windows&&Je.split(".")[0];return Oe||ue||x=="ipad"||ee&&(Qe==3||Qe>=4&&!Ie)||je.silk?je.tablet=se:(Ie||x=="iphone"||x=="ipod"||ee||te||je.blackberry||je.webos||je.bada)&&(je.mobile=se),je.msedge||je.msie&&je.version>=10||je.yandexbrowser&&je.version>=15||je.vivaldi&&je.version>=1||je.chrome&&je.version>=20||je.samsungBrowser&&je.version>=4||je.whale&&ae([je.version,"1.0"])===1||je.mzbrowser&&ae([je.version,"6.0"])===1||je.focus&&ae([je.version,"1.0"])===1||je.firefox&&je.version>=20||je.safari&&je.version>=6||je.opera&&je.version>=10||je.ios&&je.osversion&&je.osversion.split(".")[0]>=6||je.blackberry&&je.version>=10.1||je.chromium&&je.version>=20?je.a=se:je.msie&&je.version<10||je.chrome&&je.version<20||je.firefox&&je.version<20||je.safari&&je.version<6||je.opera&&je.version<10||je.ios&&je.osversion&&je.osversion.split(".")[0]<6||je.chromium&&je.version<20?je.c=se:je.x=se,je}var ie=re(typeof navigator!="undefined"&&navigator.userAgent||"");ie.test=function(z){for(var a=0;a<z.length;++a){var y=z[a];if(typeof y=="string"&&y in ie)return!0}return!1};function le(z){return z.split(".").length}function 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 ot=te(Ae);if(ot)return ot;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),ot=Ge.write(Ae,Le);return ot!==Ne&&(Ge=Ge.slice(0,ot)),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,ot=Ne.length,St=0,wt=Math.min(Ge,ot);St<wt;++St)if(Le[St]!==Ne[St]){Ge=Le[St],ot=Ne[St];break}return Ge<ot?-1:ot<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 ot=oe.allocUnsafe(Ne),St=0;for(Ge=0;Ge<Le.length;++Ge){var wt=Le[Ge];if(Ze(wt,Uint8Array)&&(wt=oe.from(wt)),!oe.isBuffer(wt))throw new TypeError('"list" argument must be an Array of Buffers');wt.copy(ot,St),St+=wt.length}return ot};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 ot=!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(ot)return Ge?-1:Re(Ae).length;Le=(""+Le).toLowerCase(),ot=!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 Ie(this,Le,Ne);case"ascii":return nt(this,Le,Ne);case"latin1":case"binary":return Je(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 me(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)me(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)me(this,Ne,Ne+3),me(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)me(this,Ne,Ne+7),me(this,Ne+1,Ne+6),me(this,Ne+2,Ne+5),me(this,Ne+3,Ne+4);return this},oe.prototype.toString=function(){var Le=this.length;return Le===0?"":arguments.length===0?Ie(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,ot,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),ot===void 0&&(ot=0),St===void 0&&(St=this.length),Ne<0||Ge>Le.length||ot<0||St>this.length)throw new RangeError("out of range index");if(ot>=St&&Ne>=Ge)return 0;if(ot>=St)return-1;if(Ne>=Ge)return 1;if(Ne>>>=0,Ge>>>=0,ot>>>=0,St>>>=0,this===Le)return 0;for(var wt=St-ot,rt=Ge-Ne,bt=Math.min(wt,rt),Ft=this.slice(ot,St),$t=Le.slice(Ne,Ge),st=0;st<bt;++st)if(Ft[st]!==$t[st]){wt=Ft[st],rt=$t[st];break}return wt<rt?-1:rt<wt?1:0};function Se(Ae,Le,Ne,Ge,ot){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=ot?0:Ae.length-1),Ne<0&&(Ne=Ae.length+Ne),Ne>=Ae.length){if(ot)return-1;Ne=Ae.length-1}else if(Ne<0)if(ot)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,ot);if(typeof Le=="number")return Le=Le&255,typeof Uint8Array.prototype.indexOf=="function"?ot?Uint8Array.prototype.indexOf.call(Ae,Le,Ne):Uint8Array.prototype.lastIndexOf.call(Ae,Le,Ne):ye(Ae,[Le],Ne,Ge,ot);throw new TypeError("val must be string, number or Buffer")}function ye(Ae,Le,Ne,Ge,ot){var St=1,wt=Ae.length,rt=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,wt/=2,rt/=2,Ne/=2}function bt(ct,pt){return St===1?ct[pt]:ct.readUInt16BE(pt*St)}var Ft;if(ot){var $t=-1;for(Ft=Ne;Ft<wt;Ft++)if(bt(Ae,Ft)===bt(Le,$t===-1?0:Ft-$t)){if($t===-1&&($t=Ft),Ft-$t+1===rt)return $t*St}else $t!==-1&&(Ft-=Ft-$t),$t=-1}else for(Ne+rt>wt&&(Ne=wt-rt),Ft=Ne;Ft>=0;Ft--){for(var st=!0,Nt=0;Nt<rt;Nt++)if(bt(Ae,Ft+Nt)!==bt(Le,Nt)){st=!1;break}if(st)return Ft}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 ot=Ae.length-Ne;Ge?(Ge=Number(Ge),Ge>ot&&(Ge=ot)):Ge=ot;var St=Le.length;Ge>St/2&&(Ge=St/2);for(var wt=0;wt<Ge;++wt){var rt=parseInt(Le.substr(wt*2,2),16);if(Ke(rt))return wt;Ae[Ne+wt]=rt}return wt}function we(Ae,Le,Ne,Ge){return Ve(Re(Le,Ae.length-Ne),Ae,Ne,Ge)}function Te(Ae,Le,Ne,Ge){return Ve(tt(Le),Ae,Ne,Ge)}function Ee(Ae,Le,Ne,Ge){return Te(Ae,Le,Ne,Ge)}function _e(Ae,Le,Ne,Ge){return Ve(He(Le),Ae,Ne,Ge)}function Ce(Ae,Le,Ne,Ge){return Ve(Me(Le,Ae.length-Ne),Ae,Ne,Ge)}oe.prototype.write=function(Le,Ne,Ge,ot){if(Ne===void 0)ot="utf8",Ge=this.length,Ne=0;else if(Ge===void 0&&typeof Ne=="string")ot=Ne,Ge=this.length,Ne=0;else if(isFinite(Ne))Ne=Ne>>>0,isFinite(Ge)?(Ge=Ge>>>0,ot===void 0&&(ot="utf8")):(ot=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");ot||(ot="utf8");for(var wt=!1;;)switch(ot){case"hex":return Pe(this,Le,Ne,Ge);case"utf8":case"utf-8":return we(this,Le,Ne,Ge);case"ascii":return Te(this,Le,Ne,Ge);case"latin1":case"binary":return Ee(this,Le,Ne,Ge);case"base64":return _e(this,Le,Ne,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(this,Le,Ne,Ge);default:if(wt)throw new TypeError("Unknown encoding: "+ot);ot=(""+ot).toLowerCase(),wt=!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 Ie(Ae,Le,Ne){Ne=Math.min(Ae.length,Ne);for(var Ge=[],ot=Le;ot<Ne;){var St=Ae[ot],wt=null,rt=St>239?4:St>223?3:St>191?2:1;if(ot+rt<=Ne){var bt,Ft,$t,st;switch(rt){case 1:St<128&&(wt=St);break;case 2:bt=Ae[ot+1],(bt&192)===128&&(st=(St&31)<<6|bt&63,st>127&&(wt=st));break;case 3:bt=Ae[ot+1],Ft=Ae[ot+2],(bt&192)===128&&(Ft&192)===128&&(st=(St&15)<<12|(bt&63)<<6|Ft&63,st>2047&&(st<55296||st>57343)&&(wt=st));break;case 4:bt=Ae[ot+1],Ft=Ae[ot+2],$t=Ae[ot+3],(bt&192)===128&&(Ft&192)===128&&($t&192)===128&&(st=(St&15)<<18|(bt&63)<<12|(Ft&63)<<6|$t&63,st>65535&&st<1114112&&(wt=st))}}wt===null?(wt=65533,rt=1):wt>65535&&(wt-=65536,Ge.push(wt>>>10&1023|55296),wt=56320|wt&1023),Ge.push(wt),ot+=rt}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 ot=Le;ot<Ne;++ot)Ge+=String.fromCharCode(Ae[ot]&127);return Ge}function Je(Ae,Le,Ne){var Ge="";Ne=Math.min(Ae.length,Ne);for(var ot=Le;ot<Ne;++ot)Ge+=String.fromCharCode(Ae[ot]);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 ot="",St=Le;St<Ne;++St)ot+=We(Ae[St]);return ot}function Xe(Ae,Le,Ne){for(var Ge=Ae.slice(Le,Ne),ot="",St=0;St<Ge.length;St+=2)ot+=String.fromCharCode(Ge[St]+Ge[St+1]*256);return ot}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 ot=this.subarray(Le,Ne);return ot.__proto__=oe.prototype,ot};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 ot=this[Le],St=1,wt=0;++wt<Ne&&(St*=256);)ot+=this[Le+wt]*St;return ot},oe.prototype.readUIntBE=function(Le,Ne,Ge){Le=Le>>>0,Ne=Ne>>>0,Ge||ze(Le,Ne,this.length);for(var ot=this[Le+--Ne],St=1;Ne>0&&(St*=256);)ot+=this[Le+--Ne]*St;return ot},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 ot=this[Le],St=1,wt=0;++wt<Ne&&(St*=256);)ot+=this[Le+wt]*St;return St*=128,ot>=St&&(ot-=Math.pow(2,8*Ne)),ot},oe.prototype.readIntBE=function(Le,Ne,Ge){Le=Le>>>0,Ne=Ne>>>0,Ge||ze(Le,Ne,this.length);for(var ot=Ne,St=1,wt=this[Le+--ot];ot>0&&(St*=256);)wt+=this[Le+--ot]*St;return St*=128,wt>=St&&(wt-=Math.pow(2,8*Ne)),wt},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,ot,St){if(!oe.isBuffer(Ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(Le>ot||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,ot){if(Le=+Le,Ne=Ne>>>0,Ge=Ge>>>0,!ot){var St=Math.pow(2,8*Ge)-1;ke(this,Le,Ne,Ge,St,0)}var wt=1,rt=0;for(this[Ne]=Le&255;++rt<Ge&&(wt*=256);)this[Ne+rt]=Le/wt&255;return Ne+Ge},oe.prototype.writeUIntBE=function(Le,Ne,Ge,ot){if(Le=+Le,Ne=Ne>>>0,Ge=Ge>>>0,!ot){var St=Math.pow(2,8*Ge)-1;ke(this,Le,Ne,Ge,St,0)}var wt=Ge-1,rt=1;for(this[Ne+wt]=Le&255;--wt>=0&&(rt*=256);)this[Ne+wt]=Le/rt&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,ot){if(Le=+Le,Ne=Ne>>>0,!ot){var St=Math.pow(2,8*Ge-1);ke(this,Le,Ne,Ge,St-1,-St)}var wt=0,rt=1,bt=0;for(this[Ne]=Le&255;++wt<Ge&&(rt*=256);)Le<0&&bt===0&&this[Ne+wt-1]!==0&&(bt=1),this[Ne+wt]=(Le/rt>>0)-bt&255;return Ne+Ge},oe.prototype.writeIntBE=function(Le,Ne,Ge,ot){if(Le=+Le,Ne=Ne>>>0,!ot){var St=Math.pow(2,8*Ge-1);ke(this,Le,Ne,Ge,St-1,-St)}var wt=Ge-1,rt=1,bt=0;for(this[Ne+wt]=Le&255;--wt>=0&&(rt*=256);)Le<0&&bt===0&&this[Ne+wt+1]!==0&&(bt=1),this[Ne+wt]=(Le/rt>>0)-bt&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,ot,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,ot){return Le=+Le,Ne=Ne>>>0,ot||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 Ye(Ae,Le,Ne,Ge,ot){return Le=+Le,Ne=Ne>>>0,ot||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 Ye(this,Le,Ne,!0,Ge)},oe.prototype.writeDoubleBE=function(Le,Ne,Ge){return Ye(this,Le,Ne,!1,Ge)},oe.prototype.copy=function(Le,Ne,Ge,ot){if(!oe.isBuffer(Le))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!ot&&ot!==0&&(ot=this.length),Ne>=Le.length&&(Ne=Le.length),Ne||(Ne=0),ot>0&&ot<Ge&&(ot=Ge),ot===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(ot<0)throw new RangeError("sourceEnd out of bounds");ot>this.length&&(ot=this.length),Le.length-Ne<ot-Ge&&(ot=Le.length-Ne+Ge);var St=ot-Ge;if(this===Le&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Ne,Ge,ot);else if(this===Le&&Ge<Ne&&Ne<ot)for(var wt=St-1;wt>=0;--wt)Le[wt+Ne]=this[wt+Ge];else Uint8Array.prototype.set.call(Le,this.subarray(Ge,ot),Ne);return St},oe.prototype.fill=function(Le,Ne,Ge,ot){if(typeof Le=="string"){if(typeof Ne=="string"?(ot=Ne,Ne=0,Ge=this.length):typeof Ge=="string"&&(ot=Ge,Ge=this.length),ot!==void 0&&typeof ot!="string")throw new TypeError("encoding must be a string");if(typeof ot=="string"&&!oe.isEncoding(ot))throw new TypeError("Unknown encoding: "+ot);if(Le.length===1){var St=Le.charCodeAt(0);(ot==="utf8"&&St<128||ot==="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 wt;if(typeof Le=="number")for(wt=Ne;wt<Ge;++wt)this[wt]=Le;else{var rt=oe.isBuffer(Le)?Le:oe.from(Le,ot),bt=rt.length;if(bt===0)throw new TypeError('The value "'+Le+'" is invalid for argument "value"');for(wt=0;wt<Ge-Ne;++wt)this[wt+Ne]=rt[wt%bt]}return this};var gt=/[^+/0-9A-Za-z-_]/g;function $e(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 We(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,ot=null,St=[],wt=0;wt<Ge;++wt){if(Ne=Ae.charCodeAt(wt),Ne>55295&&Ne<57344){if(!ot){if(Ne>56319){(Le-=3)>-1&&St.push(239,191,189);continue}else if(wt+1===Ge){(Le-=3)>-1&&St.push(239,191,189);continue}ot=Ne;continue}if(Ne<56320){(Le-=3)>-1&&St.push(239,191,189),ot=Ne;continue}Ne=(ot-55296<<10|Ne-56320)+65536}else ot&&(Le-=3)>-1&&St.push(239,191,189);if(ot=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 Me(Ae,Le){for(var Ne,Ge,ot,St=[],wt=0;wt<Ae.length&&!((Le-=2)<0);++wt)Ne=Ae.charCodeAt(wt),Ge=Ne>>8,ot=Ne%256,St.push(ot),St.push(Ge);return St}function He(Ae){return re.toByteArray($e(Ae))}function Ve(Ae,Le,Ne,Ge){for(var ot=0;ot<Ge&&!(ot+Ne>=Le.length||ot>=Ae.length);++ot)Le[ot+Ne]=Ae[ot];return ot}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,me=ve&&ve.prototype,Se=de&&b(de),ye=ge&&b(ge),Pe=Object.prototype,we=ie.TypeError,Te=te("toStringTag"),Ee=ue("TYPED_ARRAY_TAG"),_e=ue("TYPED_ARRAY_CONSTRUCTOR"),Ce=se&&!!ee&&oe(ie.opera)!=="Opera",Oe=!1,Ie,Ue,je,nt={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Je={BigInt64Array:8,BigUint64Array:8},Qe=function(gt){if(!ce(gt))return!1;var $e=oe(gt);return $e==="DataView"||ae(nt,$e)||ae(Je,$e)},Xe=function(Ye){if(!ce(Ye))return!1;var gt=oe(Ye);return ae(nt,gt)||ae(Je,gt)},ze=function(Ye){if(Xe(Ye))return Ye;throw we("Target is not a typed array")},ke=function(Ye){if(le(Ye)&&(!ee||x(Se,Ye)))return Ye;throw we(ne(Ye)+" is not a typed array constructor")},Be=function(Ye,gt,$e,We){if(re){if($e)for(var Re in nt){var tt=ie[Re];if(tt&&ae(tt.prototype,Ye))try{delete tt.prototype[Ye]}catch(Me){try{tt.prototype[Ye]=gt}catch(He){}}}(!ye[Ye]||$e)&&a(ye,Ye,$e?gt:Ce&&ge[Ye]||gt,We)}},qe=function(Ye,gt,$e){var We,Re;if(re){if(ee){if($e){for(We in nt)if(Re=ie[We],Re&&ae(Re,Ye))try{delete Re[Ye]}catch(tt){}}if(!Se[Ye]||$e)try{return a(Se,Ye,$e?gt:Ce&&Se[Ye]||gt)}catch(tt){}else return}for(We in nt)Re=ie[We],Re&&(!Re[Ye]||$e)&&a(Re,Ye,gt)}};for(Ie in nt)Ue=ie[Ie],je=Ue&&Ue.prototype,je?z(je,_e,Ue):Ce=!1;for(Ie in Je)Ue=ie[Ie],je=Ue&&Ue.prototype,je&&z(je,_e,Ue);if((!Ce||!le(Se)||Se===Function.prototype)&&(Se=function(){throw we("Incorrect invocation")},Ce))for(Ie in nt)ie[Ie]&&ee(ie[Ie],Se);if((!Ce||!ye||ye===Pe)&&(ye=Se.prototype,Ce))for(Ie in nt)ie[Ie]&&ee(ie[Ie].prototype,ye);if(Ce&&b(me)!==ye&&ee(me,ye),re&&!ae(ye,Te)){Oe=!0,y(ye,Te,{get:function(){return ce(this)?this[Ee]:void 0}});for(Ie in nt)ie[Ie]&&z(ie[Ie],Ee,Ie)}he.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ce,TYPED_ARRAY_CONSTRUCTOR:_e,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"),me=E("../internals/set-to-string-tag"),Se=E("../internals/internal-state"),ye=ce.PROPER,Pe=ce.CONFIGURABLE,we=Se.get,Te=Se.set,Ee="ArrayBuffer",_e="DataView",Ce="prototype",Oe="Wrong length",Ie="Wrong index",Ue=se[Ee],je=Ue,nt=je&&je[Ce],Je=se[_e],Qe=Je&&Je[Ce],Xe=Object.prototype,ze=se.Array,ke=se.RangeError,Be=re(ge),qe=re([].reverse),Ye=b.pack,gt=b.unpack,$e=function(wt){return[wt&255]},We=function(wt){return[wt&255,wt>>8&255]},Re=function(wt){return[wt&255,wt>>8&255,wt>>16&255,wt>>24&255]},tt=function(wt){return wt[3]<<24|wt[2]<<16|wt[1]<<8|wt[0]},Me=function(wt){return Ye(wt,23,4)},He=function(wt){return Ye(wt,52,8)},Ve=function(wt,rt){de(wt[Ce],rt,{get:function(){return we(this)[rt]}})},Ze=function(wt,rt,bt,Ft){var $t=x(bt),st=we(wt);if($t+rt>st.byteLength)throw ke(Ie);var Nt=we(st.buffer).bytes,ct=$t+st.byteOffset,pt=ve(Nt,ct,ct+rt);return Ft?pt:qe(pt)},Ke=function(wt,rt,bt,Ft,$t,st){var Nt=x(bt),ct=we(wt);if(Nt+rt>ct.byteLength)throw ke(Ie);for(var pt=we(ct.buffer).bytes,Ct=Nt+ct.byteOffset,Rt=Ft(+$t),zt=0;zt<rt;zt++)pt[Ct+zt]=Rt[st?zt:rt-zt-1]};if(!le)je=function(rt){z(this,nt);var bt=x(rt);Te(this,{bytes:Be(ze(bt),0),byteLength:bt}),ie||(this.byteLength=bt)},nt=je[Ce],Je=function(rt,bt,Ft){z(this,Qe),z(rt,nt);var $t=we(rt).byteLength,st=a(bt);if(st<0||st>$t)throw ke("Wrong offset");if(Ft=Ft===void 0?$t-st:y(Ft),st+Ft>$t)throw ke(Oe);Te(this,{buffer:rt,byteLength:Ft,byteOffset:st}),ie||(this.buffer=rt,this.byteLength=Ft,this.byteOffset=st)},Qe=Je[Ce],ie&&(Ve(je,"byteLength"),Ve(Je,"buffer"),Ve(Je,"byteLength"),Ve(Je,"byteOffset")),oe(Qe,{getInt8:function(rt){return Ze(this,1,rt)[0]<<24>>24},getUint8:function(rt){return Ze(this,1,rt)[0]},getInt16:function(rt){var bt=Ze(this,2,rt,arguments.length>1?arguments[1]:void 0);return(bt[1]<<8|bt[0])<<16>>16},getUint16:function(rt){var bt=Ze(this,2,rt,arguments.length>1?arguments[1]:void 0);return bt[1]<<8|bt[0]},getInt32:function(rt){return tt(Ze(this,4,rt,arguments.length>1?arguments[1]:void 0))},getUint32:function(rt){return tt(Ze(this,4,rt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(rt){return gt(Ze(this,4,rt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(rt){return gt(Ze(this,8,rt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(rt,bt){Ke(this,1,rt,$e,bt)},setUint8:function(rt,bt){Ke(this,1,rt,$e,bt)},setInt16:function(rt,bt){Ke(this,2,rt,We,bt,arguments.length>2?arguments[2]:void 0)},setUint16:function(rt,bt){Ke(this,2,rt,We,bt,arguments.length>2?arguments[2]:void 0)},setInt32:function(rt,bt){Ke(this,4,rt,Re,bt,arguments.length>2?arguments[2]:void 0)},setUint32:function(rt,bt){Ke(this,4,rt,Re,bt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(rt,bt){Ke(this,4,rt,Me,bt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(rt,bt){Ke(this,8,rt,He,bt,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(rt){return z(this,nt),new Ue(x(rt))},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 ot=new Je(new je(2)),St=re(Qe.setInt8);ot.setInt8(0,2147483648),ot.setInt8(1,2147483649),(ot.getInt8(0)||!ot.getInt8(1))&&oe(Qe,{setInt8:function(rt,bt){St(this,rt,bt<<24>>24)},setUint8:function(rt,bt){St(this,rt,bt<<24>>24)}},{unsafe:!0})}me(je,Ee),me(Je,_e),he.exports={ArrayBuffer:je,DataView:Je}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,he,fe){"use strict";var se=E("../internals/to-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=Math.min;he.exports=[].copyWithin||function(ae,oe){var ne=se(this),z=ie(ne),a=re(ae,z),y=re(oe,z),x=arguments.length>2?arguments[2]:void 0,b=le((x===void 0?z:re(x,z))-y,z-a),ee=1;for(y<a&&a<y+b&&(ee=-1,y+=b-1,a+=b-1);b-- >0;)y in ne?ne[a]=ne[y]:delete ne[a],a+=ee,y+=ee;return ne}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,he,fe){"use strict";var se=E("../internals/to-object"),re=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like");he.exports=function(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 me=y(te),Se=0,ye,Pe,we,Te,Ee,_e;if(me&&!(this==x&&ae(me)))for(Te=a(te,me),Ee=Te.next,Pe=ue?new this:[];!(we=ie(Ee,Te)).done;Se++)_e=ve?ce(Te,ge,[we.value,Se],!0):we.value,z(Pe,Se,_e);else for(ye=ne(te),Pe=ue?new this(ye):x(ye);ye>Se;Se++)_e=ve?ge(te[Se],Se):te[Se],z(Pe,Se,_e);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,me){for(var Se=le(de),ye=ie(Se),Pe=se(ge,ve),we=ce(ye),Te=0,Ee=me||ae,_e=a?Ee(de,we):y||te?Ee(de,0):void 0,Ce,Oe;we>Te;Te++)if((ue||Te in ye)&&(Ce=ye[Te],Oe=Pe(Ce,Te,Se),z))if(a)_e[Te]=Oe;else if(Oe)switch(z){case 3:return!0;case 5:return Ce;case 6:return Te;case 2:oe(_e,Ce)}else switch(z){case 4:return!1;case 7:oe(_e,Ce)}return ee?-1:x||b?b:_e}};he.exports={forEach:ne(0),map:ne(1),filter:ne(2),some:ne(3),every:ne(4),find:ne(5),findIndex:ne(6),filterReject:ne(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,he,fe){"use strict";var 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"),me="keys",Se="values",ye="entries",Pe=function(){return this};he.exports=function(we,Te,Ee,_e,Ce,Oe,Ie){ae(Ee,Te,_e);var Ue=function(Ye){if(Ye===Ce&&Xe)return Xe;if(!ge&&Ye in Je)return Je[Ye];switch(Ye){case me:return function(){return new Ee(this,Ye)};case Se:return function(){return new Ee(this,Ye)};case ye:return function(){return new Ee(this,Ye)}}return function(){return new Ee(this)}},je=Te+" Iterator",nt=!1,Je=we.prototype,Qe=Je[ve]||Je["@@iterator"]||Ce&&Je[Ce],Xe=!ge&&Qe||Ue(Ce),ze=Te=="Array"&&Je.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(Je,"name",Se):(nt=!0,Xe=function(){return re(Qe,this)})),Ce)if(Be={values:Ue(Se),keys:Oe?Xe:Ue(me),entries:Ue(ye)},Ie)for(qe in Be)(ge||nt||!(qe in Je))&&y(Je,qe,Be[qe]);else se({target:Te,proto:!0,forced:ge||nt},Be);return(!ie||Ie)&&Je[ve]!==Xe&&y(Je,ve,Xe,{name:Ce}),b[Te]=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,me,Se,ye){var Pe=se(ge),we=ve.exec;return we===ie||we===ne.exec?ee&&!ye?{done:!0,value:ue(ve,me,Se)}:{done:!0,value:Pe(me,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 me;switch(le(ve,0)){case"$":return"$";case"&":return z;case"`":return ae(a,0,y);case"'":return ae(a,te);case"<":me=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}me=x[Se-1]}return me===void 0?"":me})}},{"../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 ft!="undefined"?ft: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,me,Se,ye;for(a=ie(a),a!=a||a===1/0?(Se=a!=a?1:0,me=te):(me=ce(ae(a)/oe),ye=le(2,-me),a*ye<1&&(me--,ye*=2),me+ue>=1?a+=de/ye:a+=de*le(2,1-ue),a*ye>=2&&(me++,ye/=2),me+ue>=te?(Se=0,me=te):me+ue>=1?(Se=(a*ye-1)*le(2,y),me=me+ue):(Se=a*le(2,ue-1)*le(2,y),me=0));y>=8;)b[ve++]=Se&255,Se/=256,y-=8;for(me=me<<y|Se,ee+=y;ee>0;)b[ve++]=me&255,me/=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,me;for(ge>>=7;ue>0;)ve=ve*256+a[de--],ue-=8;for(me=ve&(1<<-ue)-1,ve>>=-ue,ue+=y;ue>0;)me=me*256+a[de--],ue-=8;if(ve===0)ve=1-te;else{if(ve===ee)return me?NaN:ge?-1/0:1/0;me=me+le(2,y),ve=ve-te}return(ge?-1:1)*me*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 Te;if(!le(we)||(Te=ee(we)).type!==Pe)throw y("Incompatible receiver, "+Pe+" required");return Te}};if(se||oe.state){var ge=oe.state||(oe.state=new x),ve=ie(ge.get),me=ie(ge.has),Se=ie(ge.set);b=function(Pe,we){if(me(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 me(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),me=!!(de&&de.IS_ITERATOR),Se=!!(de&&de.INTERRUPTED),ye=re(ue,ge),Pe,we,Te,Ee,_e,Ce,Oe,Ie=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],Ie):ye(je[0],je[1])):Se?ye(je,Ie):ye(je)};if(me)Pe=te;else{if(we=a(te),!we)throw x(ce(te)+" is not iterable");if(ae(we)){for(Te=0,Ee=oe(te);Ee>Te;Te++)if(_e=Ue(te[Te]),_e&&ne(ee,_e))return _e;return new b(!1)}Pe=z(te,we)}for(Ce=Pe.next;!(Oe=ie(Ce,Pe)).done;){try{_e=Ue(Oe.value)}catch(je){y(Pe,"throw",je)}if(typeof _e=="object"&&_e&&ne(ee,_e))return _e}return new b(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(E,he,fe){var 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,me,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(Te){throw ue?ge():de=void 0,Te}}de=void 0,Pe&&Pe.enter()},!ce&&!ne&&!oe&&z&&a?(ve=!0,me=a.createTextNode(""),new z(te).observe(me,{characterData:!0}),ge=function(){me.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,me=oe.f;de>ge;)for(var Se=z(arguments[ge++]),ye=ve?x(ce(Se),ve(Se)):ce(Se),Pe=ye.length,we=0,Te;Pe>we;)Te=ye[we++],(!se||ie(me,Se,Te))&&(ue[Te]=Se[Te]);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 me=ve.parentWindow.Object;return ve=null,me},ue=function(){var ve=ae("iframe"),me="java"+y+":",Se;return ve.style.display="none",ce.appendChild(ve),ve.src=String(me),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(me){}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(me,Se){var ye;return me!==null?(b[a]=se(me),ye=new b,b[a]=null,ye[x]=me):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(me){me(1)}),ge=function(me){me(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,me;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),me=a(ee),me.source||(me.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,me=/()??/.exec("")[1]!==void 0,Se=ge||me||ve||z||a;Se&&(b=function(Pe){var we=this,Te=ne(we),Ee=ie(Pe),_e=Te.raw,Ce,Oe,Ie,Ue,je,nt,Je;if(_e)return _e.lastIndex=we.lastIndex,Ce=se(b,_e,Ee),we.lastIndex=_e.lastIndex,Ce;var Qe=Te.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)),me&&(Oe=new RegExp("^"+ke+"$(?!\\s)",ze)),ge&&(Ie=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:Ie),me&&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++)Je=Qe[je],nt[Je[0]]=Ue[Je[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,me=0,Se={},ye="onreadystatechange",Pe,we,Te,Ee;try{Pe=se.location}catch(Ue){}var _e=function(Ue){if(ce(Se,Ue)){var je=Se[Ue];delete Se[Ue],je()}},Ce=function(Ue){return function(){_e(Ue)}},Oe=function(Ue){_e(Ue.data)},Ie=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),Je=ne(arguments,1);return Se[++me]=function(){re(nt,void 0,Je)},we(me),me},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?(Te=new ge,Ee=Te.port2,Te.port1.onmessage=Oe,we=ie(Ee.postMessage,Ee)):se.addEventListener&&le(se.postMessage)&&!se.importScripts&&Pe&&Pe.protocol!=="file:"&&!ae(Ie)?(we=Ie,se.addEventListener("message",Oe,!1)):ye in z("script")?we=function(Ue){oe.appendChild(z("script"))[ye]=function(){oe.removeChild(this),_e(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"),me=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"),Te=E("../internals/array-iteration").forEach,Ee=E("../internals/set-species"),_e=E("../internals/object-define-property"),Ce=E("../internals/object-get-own-property-descriptor"),Oe=E("../internals/internal-state"),Ie=E("../internals/inherit-if-required"),Ue=Oe.get,je=Oe.set,nt=_e.f,Je=Ce.f,Qe=Math.round,Xe=re.RangeError,ze=oe.ArrayBuffer,ke=ze.prototype,Be=oe.DataView,qe=ae.NATIVE_ARRAY_BUFFER_VIEWS,Ye=ae.TYPED_ARRAY_CONSTRUCTOR,gt=ae.TYPED_ARRAY_TAG,$e=ae.TypedArray,We=ae.TypedArrayPrototype,Re=ae.aTypedArrayConstructor,tt=ae.isTypedArray,Me="BYTES_PER_ELEMENT",He="Wrong length",Ve=function(Ge,ot){Re(Ge);for(var St=0,wt=ot.length,rt=new Ge(wt);wt>St;)rt[St]=ot[St++];return rt},Ze=function(Ge,ot){nt(Ge,ot,{get:function(){return Ue(this)[ot]}})},Ke=function(Ge){var ot;return Se(ke,Ge)||(ot=de(Ge))=="ArrayBuffer"||ot=="SharedArrayBuffer"},Ae=function(Ge,ot){return tt(Ge)&&!ve(ot)&&ot in Ge&&y(+ot)&&ot>=0},Le=function(ot,St){return St=te(St),Ae(ot,St)?z(2,ot[St]):Je(ot,St)},Ne=function(ot,St,wt){return St=te(St),Ae(ot,St)&&ge(wt)&&ue(wt,"value")&&!ue(wt,"get")&&!ue(wt,"set")&&!wt.configurable&&(!ue(wt,"writable")||wt.writable)&&(!ue(wt,"enumerable")||wt.enumerable)?(ot[St]=wt.value,ot):nt(ot,St,wt)};le?(qe||(Ce.f=Le,_e.f=Ne,Ze(We,"buffer"),Ze(We,"byteOffset"),Ze(We,"byteLength"),Ze(We,"length")),se({target:"Object",stat:!0,forced:!qe},{getOwnPropertyDescriptor:Le,defineProperty:Ne}),he.exports=function(Ge,ot,St){var wt=Ge.match(/\d+$/)[0]/8,rt=Ge+(St?"Clamped":"")+"Array",bt="get"+Ge,Ft="set"+Ge,$t=re[rt],st=$t,Nt=st&&st.prototype,ct={},pt=function(zt,rn){var kn=Ue(zt);return kn.view[bt](rn*wt+kn.byteOffset,!0)},Ct=function(zt,rn,kn){var jn=Ue(zt);St&&(kn=(kn=Qe(kn))<0?0:kn>255?255:kn&255),jn.view[Ft](rn*wt+jn.byteOffset,kn,!0)},Rt=function(zt,rn){nt(zt,rn,{get:function(){return pt(this,rn)},set:function(kn){return Ct(this,rn,kn)},enumerable:!0})};qe?ce&&(st=ot(function(zt,rn,kn,jn){return ne(zt,Nt),Ie(function(){return ge(rn)?Ke(rn)?jn!==void 0?new $t(rn,ee(kn,wt),jn):kn!==void 0?new $t(rn,ee(kn,wt)):new $t(rn):tt(rn)?Ve(st,rn):ie(we,st,rn):new $t(b(rn))}(),zt,st)}),ye&&ye(st,$e),Te(Pe($t),function(zt){zt in st||a(st,zt,$t[zt])}),st.prototype=Nt):(st=ot(function(zt,rn,kn,jn){ne(zt,Nt);var Hn=0,Pr=0,fn,Er,oo;if(!ge(rn))oo=b(rn),Er=oo*wt,fn=new ze(Er);else if(Ke(rn)){fn=rn,Pr=ee(kn,wt);var Lo=rn.byteLength;if(jn===void 0){if(Lo%wt||(Er=Lo-Pr,Er<0))throw Xe(He)}else if(Er=x(jn)*wt,Er+Pr>Lo)throw Xe(He);oo=Er/wt}else return tt(rn)?Ve(st,rn):ie(we,st,rn);for(je(zt,{buffer:fn,byteOffset:Pr,byteLength:Er,length:oo,view:new Be(fn)});Hn<oo;)Rt(zt,Hn++)}),ye&&ye(st,$e),Nt=st.prototype=me(We)),Nt.constructor!==st&&a(Nt,"constructor",st),a(Nt,Ye,st),gt&&a(Nt,gt,rt),ct[rt]=st,se({global:!0,forced:st!=$t,sham:!qe},ct),Me in st||a(st,Me,wt),Me in Nt||a(Nt,Me,wt),Ee(rt)}):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,me,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),me=new(z(x))(ve),ge=0;ve>ge;ge++)me[ge]=ue?te(b[ge],ge):b[ge];return me}},{"../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,me=ae(de,ve),Se=ae(ge===void 0?ve:ge,ve),ye=new(ne(this,z))(oe(Se-me)),Pe=new a(this),we=new a(ye),Te=0;me<Se;)ee(we,Te++,b(Pe,me++));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)},me=!de||!ge;se({target:"Array",proto:!0,forced:me},{concat:function(ye){var Pe=ae(this),we=z(Pe,0),Te=0,Ee,_e,Ce,Oe,Ie;for(Ee=-1,Ce=arguments.length;Ee<Ce;Ee++)if(Ie=Ee===-1?Pe:arguments[Ee],ve(Ie)){if(Oe=oe(Ie),Te+Oe>ee)throw ue(te);for(_e=0;_e<Oe;_e++,Te++)_e in Ie&&ne(we,Te,Ie[_e])}else{if(Te>=ee)throw ue(te);ne(we,Te++,Ie)}return we.length=Te,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 me=ne(this),Se=oe(me),ye=ae(ge,Se),Pe=ae(ve===void 0?Se:ve,Se),we,Te,Ee;if(ie(me)&&(we=me.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(me,ye,Pe);for(Te=new(we===void 0?te:we)(ue(Pe-ye,0)),Ee=0;ye<Pe;ye++,Ee++)ye in me&&z(Te,Ee,me[ye]);return Te.length=Ee,Te}})},{"../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"),me=!oe(function(){if(x)return x<70;if(!(a&&a>3)){if(y)return!0;if(b)return b<603;var Pe="",we,Te,Ee,_e;for(we=65;we<76;we++){switch(Te=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(_e=0;_e<47;_e++)ee.push({k:Te+_e,v:Ee})}for(ee.sort(function(Ce,Oe){return Oe.v-Ce.v}),_e=0;_e<ee.length;_e++)Te=ee[_e].k.charAt(0),Pe.charAt(Pe.length-1)!==Te&&(Pe+=Te);return Pe!=="DGBEFHACIJK"}}),Se=de||!ge||!ve||!me,ye=function(Pe){return function(we,Te){return Te===void 0?-1:we===void 0?1:Pe!==void 0?+Pe(we,Te)||0:ae(we)>ae(Te)?1:-1}};se({target:"Array",proto:!0,forced:Se},{sort:function(we){we!==void 0&&ie(we);var Te=le(this);if(me)return we===void 0?te(Te):te(Te,we);var Ee=[],_e=ce(Te),Ce,Oe;for(Oe=0;Oe<_e;Oe++)Oe in Te&&ue(Ee,Te[Oe]);for(ne(Ee,ye(we)),Ce=Ee.length,Oe=0;Oe<Ce;)Te[Oe]=Ee[Oe++];for(;Oe<_e;)delete Te[Oe++];return Te}})},{"../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),me=ce(ve),Se=ie(de,me),ye=arguments.length,Pe,we,Te,Ee,_e,Ce;if(ye===0?Pe=we=0:ye===1?(Pe=0,we=me-Se):(Pe=ye-2,we=b(x(le(ge),0),me-Se)),me+Pe-we>ee)throw y(te);for(Te=oe(ve,we),Ee=0;Ee<we;Ee++)_e=Se+Ee,_e in ve&&ne(Te,Ee,ve[_e]);if(Te.length=we,Pe<we){for(Ee=Se;Ee<me-we;Ee++)_e=Ee+we,Ce=Ee+Pe,_e in ve?ve[Ce]=ve[_e]:delete ve[Ce];for(Ee=me;Ee>me-we+Pe;Ee--)delete ve[Ee-1]}else if(Pe>we)for(Ee=me-we;Ee>Se;Ee--)_e=Ee+we-1,Ce=Ee+Pe-1,_e in ve?ve[Ce]=ve[_e]:delete ve[Ce];for(Ee=0;Ee<Pe;Ee++)ve[Ee+Se]=arguments[Ee+2];return ve.length=me-we+Pe,Te}})},{"../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,me=/^[\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,_e){var Ce=y(arguments),Oe=_e;if(!(!z(_e)&&Ee===void 0||a(Ee)))return oe(_e)||(_e=function(Ie,Ue){if(ne(Oe)&&(Ue=le(Oe,this,Ie,Ue)),!a(Ue))return Ue}),Ce[1]=_e,ie(b,null,Ce)},Te=function(Ee,_e,Ce){var Oe=te(Ce,_e-1),Ie=te(Ce,_e+1);return ee(me,Ee)&&!ee(Se,Ie)||ee(Se,Ee)&&!ee(me,Oe)?"\\u"+ge(ue(Ee,0),16):Ee};b&&se({target:"JSON",stat:!0,forced:ye||Pe},{stringify:function(_e,Ce,Oe){var Ie=y(arguments),Ue=ie(ye?we:b,null,Ie);return Pe&&typeof Ue=="string"?de(Ue,ve,Te):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,me=re.TypeError,Se=ie("".slice),ye=ie("".charCodeAt),Pe=function(Oe){var Ie=a(Oe,"number");return typeof Ie=="bigint"?Ie:we(Ie)},we=function(Oe){var Ie=a(Oe,"number"),Ue,je,nt,Je,Qe,Xe,ze,ke;if(z(Ie))throw me("Cannot convert a Symbol value to a number");if(typeof Ie=="string"&&Ie.length>2){if(Ie=ue(Ie),Ue=ye(Ie,0),Ue===43||Ue===45){if(je=ye(Ie,2),je===88||je===120)return NaN}else if(Ue===48){switch(ye(Ie,1)){case 66:case 98:nt=2,Je=49;break;case 79:case 111:nt=8,Je=55;break;default:return+Ie}for(Qe=Se(Ie,2),Xe=Qe.length,ze=0;ze<Xe;ze++)if(ke=ye(Qe,ze),ke<48||ke>Je)return NaN;return parseInt(Qe,nt)}}return+Ie};if(le(de,!ge(" 0o1")||!ge("0b1")||ge("+0x1"))){for(var Te=function(Ie){var Ue=arguments.length<1?0:ge(Pe(Ie)),je=this;return ne(ve,je)&&y(function(){te(je)})?oe(Object(Ue),je,Te):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(","),_e=0,Ce;Ee.length>_e;_e++)ae(ge,Ce=Ee[_e])&&!ae(Te,Ce)&&ee(Te,Ce,b(ge,Ce));Te.prototype=ve,ve.constructor=Te,ce(re,de,Te)}},{"../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 me=de++,Se=!1;ge++,re(te,a,ve).then(function(ye){Se||(Se=!0,ue[me]=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"),me=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"),Te="Promise",Ee=Pe.CONSTRUCTOR,_e=Pe.REJECTION_EVENT,Ce=Pe.SUBCLASSING,Oe=Se.getterFor(Te),Ie=Se.set,Ue=ye&&ye.prototype,je=ye,nt=Ue,Je=le.TypeError,Qe=le.document,Xe=le.process,ze=we.f,ke=ze,Be=!!(Qe&&Qe.createEvent&&le.dispatchEvent),qe="unhandledrejection",Ye="rejectionhandled",gt=0,$e=1,We=2,Re=1,tt=2,Me,He,Ve,Ze,Ke=function(Ft){var $t;return b(Ft)&&x($t=Ft.then)?$t:!1},Ae=function(Ft,$t){var st=$t.value,Nt=$t.state==$e,ct=Nt?Ft.ok:Ft.fail,pt=Ft.resolve,Ct=Ft.reject,Rt=Ft.domain,zt,rn,kn;try{ct?(Nt||($t.rejection===tt&&St($t),$t.rejection=Re),ct===!0?zt=st:(Rt&&Rt.enter(),zt=ct(st),Rt&&(Rt.exit(),kn=!0)),zt===Ft.promise?Ct(Je("Promise-chain cycle")):(rn=Ke(zt))?ce(rn,zt,pt,Ct):pt(zt)):Ct(st)}catch(jn){Rt&&!kn&&Rt.exit(),Ct(jn)}},Le=function(Ft,$t){Ft.notified||(Ft.notified=!0,de(function(){for(var st=Ft.reactions,Nt;Nt=st.get();)Ae(Nt,Ft);Ft.notified=!1,$t&&!Ft.rejection&&Ge(Ft)}))},Ne=function(Ft,$t,st){var Nt,ct;Be?(Nt=Qe.createEvent("Event"),Nt.promise=$t,Nt.reason=st,Nt.initEvent(Ft,!1,!0),le.dispatchEvent(Nt)):Nt={promise:$t,reason:st},!_e&&(ct=le["on"+Ft])?ct(Nt):Ft===qe&&ge("Unhandled promise rejection",st)},Ge=function(Ft){ce(ue,le,function(){var $t=Ft.facade,st=Ft.value,Nt=ot(Ft),ct;if(Nt&&(ct=ve(function(){ie?Xe.emit("unhandledRejection",st,$t):Ne(qe,$t,st)}),Ft.rejection=ie||ot(Ft)?tt:Re,ct.error))throw ct.value})},ot=function(Ft){return Ft.rejection!==Re&&!Ft.parent},St=function(Ft){ce(ue,le,function(){var $t=Ft.facade;ie?Xe.emit("rejectionHandled",$t):Ne(Ye,$t,Ft.value)})},wt=function(Ft,$t,st){return function(Nt){Ft($t,Nt,st)}},rt=function(Ft,$t,st){Ft.done||(Ft.done=!0,st&&(Ft=st),Ft.value=$t,Ft.state=We,Le(Ft,!0))},bt=function(Ft,$t,st){if(!Ft.done){Ft.done=!0,st&&(Ft=st);try{if(Ft.facade===$t)throw Je("Promise can't be resolved itself");var Nt=Ke($t);Nt?de(function(){var ct={done:!1};try{ce(Nt,$t,wt(bt,ct,Ft),wt(rt,ct,Ft))}catch(pt){rt(ct,pt,Ft)}}):(Ft.value=$t,Ft.state=$e,Le(Ft,!1))}catch(ct){rt({done:!1},ct,Ft)}}};if(Ee&&(je=function($t){ee(this,nt),y($t),ce(Me,this);var st=Oe(this);try{$t(wt(bt,st),wt(rt,st))}catch(Nt){rt(st,Nt)}},nt=je.prototype,Me=function($t){Ie(this,{type:Te,done:!1,notified:!1,parent:!1,reactions:new me,rejection:!1,state:gt,value:void 0})},Me.prototype=oe(nt,{then:function($t,st){var Nt=Oe(this),ct=ze(te(this,je));return Nt.parent=!0,ct.ok=x($t)?$t:!0,ct.fail=x(st)&&st,ct.domain=ie?Xe.domain:void 0,Nt.state==gt?Nt.reactions.add(ct):de(function(){Ae(ct,Nt)}),ct.promise}}),He=function(){var Ft=new Me,$t=Oe(Ft);this.promise=Ft,this.resolve=wt(bt,$t),this.reject=wt(rt,$t)},we.f=ze=function(Ft){return Ft===je||Ft===Ve?new He(Ft):ke(Ft)},!re&&x(ye)&&Ue!==Object.prototype)){Ze=Ue.then,Ce||ae(Ue,"then",function($t,st){var Nt=this;return new je(function(ct,pt){ce(Ze,Nt,ct,pt)}).then($t,st)},{unsafe:!0});try{delete Ue.constructor}catch(Ft){}ne&&ne(Ue,nt)}se({global:!0,wrap:!0,forced:Ee},{Promise:je}),z(je,Te,!1,!0),a(Te)},{"../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"),me=E("../internals/regexp-unsupported-dot-all"),Se=E("../internals/regexp-unsupported-ncg"),ye=ve("match"),Pe=re.RegExp,we=Pe.prototype,Te=re.SyntaxError,Ee=ie(we.exec),_e=ie("".charAt),Ce=ie("".replace),Oe=ie("".indexOf),Ie=ie("".slice),Ue=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,je=/a/g,nt=/a/g,Je=new Pe(je)!==je,Qe=x.MISSED_STICKY,Xe=x.UNSUPPORTED_Y,ze=se&&(!Je||Qe||me||Se||te(function(){return nt[ye]=!1,Pe(je)!=je||Pe(nt)==nt||Pe(je,"i")!="/a/i"})),ke=function($e){for(var We=$e.length,Re=0,tt="",Me=!1,He;Re<=We;Re++){if(He=_e($e,Re),He==="\\"){tt+=He+_e($e,++Re);continue}!Me&&He==="."?tt+="[\\s\\S]":(He==="["?Me=!0:He==="]"&&(Me=!1),tt+=He)}return tt},Be=function($e){for(var We=$e.length,Re=0,tt="",Me=[],He={},Ve=!1,Ze=!1,Ke=0,Ae="",Le;Re<=We;Re++){if(Le=_e($e,Re),Le==="\\")Le=Le+_e($e,++Re);else if(Le==="]")Ve=!1;else if(!Ve)switch(!0){case Le==="[":Ve=!0;break;case Le==="(":Ee(Ue,Ie($e,Re+1))&&(Re+=2,Ze=!0),tt+=Le,Ke++;continue;case(Le===">"&&Ze):if(Ae===""||ue(He,Ae))throw new Te("Invalid capture group name");He[Ae]=!0,Me[Me.length]=[Ae,Ke],Ze=!1,Ae="";continue}Ze?Ae+=Le:tt+=Le}return[tt,Me]};if(le("RegExp",ze)){for(var qe=function(We,Re){var tt=ne(we,this),Me=z(We),He=Re===void 0,Ve=[],Ze=We,Ke,Ae,Le,Ne,Ge,ot;if(!tt&&Me&&He&&We.constructor===qe)return We;if((Me||ne(we,We))&&(We=We.source,He&&(Re=y(Ze))),We=We===void 0?"":a(We),Re=Re===void 0?"":a(Re),Ze=We,me&&"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(We),We=Ne[0],Ve=Ne[1]),Ge=ce(Pe(We,Re),tt?this:we,qe),(Ae||Le||Ve.length)&&(ot=de(Ge),Ae&&(ot.dotAll=!0,ot.raw=qe(ke(We),Ke)),Le&&(ot.sticky=!0),Ve.length&&(ot.groups=Ve)),We!==Ze)try{ae(Ge,"source",Ze===""?"(?:)":Ze)}catch(St){}return Ge},Ye=oe(Pe),gt=0;Ye.length>gt;)b(qe,Pe,Ye[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,me;(me=z(ee,te))!==null;){var Se=ce(me[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,me=ie([].concat),Se=ie([].push),ye=ie("".indexOf),Pe=ie("".slice),we=function(Ce){return Ce===void 0?Ce:String(Ce)},Te=function(){return"a".replace(/./,"$0")==="$0"}(),Ee=function(){return/./[de]?/./[de]("a","$0")==="":!1}(),_e=!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,Ie){var Ue=Ee?"$":"$0";return[function(nt,Je){var Qe=y(this),Xe=nt==null?void 0:b(nt,de);return Xe?re(Xe,nt,Qe,Je):re(Oe,a(Qe),nt,Je)},function(je,nt){var Je=ae(this),Qe=a(je);if(typeof nt=="string"&&ye(nt,Ue)===-1&&ye(nt,"$<")===-1){var Xe=Ie(Oe,Je,Qe,nt);if(Xe.done)return Xe.value}var ze=oe(nt);ze||(nt=a(nt));var ke=Je.global;if(ke){var Be=Je.unicode;Je.lastIndex=0}for(var qe=[];;){var Ye=te(Je,Qe);if(Ye===null||(Se(qe,Ye),!ke))break;var gt=a(Ye[0]);gt===""&&(Je.lastIndex=x(Qe,z(Je.lastIndex),Be))}for(var $e="",We=0,Re=0;Re<qe.length;Re++){Ye=qe[Re];for(var tt=a(Ye[0]),Me=ge(ve(ne(Ye.index),Qe.length),0),He=[],Ve=1;Ve<Ye.length;Ve++)Se(He,we(Ye[Ve]));var Ze=Ye.groups;if(ze){var Ke=me([tt],He,Me,Qe);Ze!==void 0&&Se(Ke,Ze);var Ae=a(se(nt,void 0,Ke))}else Ae=ee(tt,Qe,Me,He,Ze,nt);Me>=We&&($e+=Pe(Qe,We,Me)+Ae,We=Me+tt.length)}return $e+Pe(Qe,We)}]},!_e||!Te||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,me=Math.min,Se=[].push,ye=ie(/./.exec),Pe=ie(Se),we=ie("".slice),Te=!de(function(){var Ee=/(?:)/,_e=Ee.exec;Ee.exec=function(){return _e.apply(this,arguments)};var Ce="ab".split(Ee);return Ce.length!==2||Ce[0]!=="a"||Ce[1]!=="b"});le("split",function(Ee,_e,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(Ie,Ue){var je=y(oe(this)),nt=Ue===void 0?ve:Ue>>>0;if(nt===0)return[];if(Ie===void 0)return[je];if(!ce(Ie))return re(_e,je,Ie,nt);for(var Je=[],Qe=(Ie.ignoreCase?"i":"")+(Ie.multiline?"m":"")+(Ie.unicode?"u":"")+(Ie.sticky?"y":""),Xe=0,ze=new RegExp(Ie.source,Qe+"g"),ke,Be,qe;(ke=re(te,ze,je))&&(Be=ze.lastIndex,!(Be>Xe&&(Pe(Je,we(je,Xe,ke.index)),ke.length>1&&ke.index<je.length&&se(Se,Je,b(ke,1)),qe=ke[0].length,Xe=Be,Je.length>=nt)));)ze.lastIndex===ke.index&&ze.lastIndex++;return Xe===je.length?(qe||!ye(ze,""))&&Pe(Je,""):Pe(Je,we(je,Xe)),Je.length>nt?b(Je,0,nt):Je}:"0".split(void 0,0).length?Oe=function(Ie,Ue){return Ie===void 0&&Ue===0?[]:re(_e,this,Ie,Ue)}:Oe=_e,[function(Ue,je){var nt=oe(this),Je=Ue==null?void 0:x(Ue,Ee);return Je?re(Je,Ue,nt,je):re(Oe,y(nt),Ue,je)},function(Ie,Ue){var je=ae(this),nt=y(Ie),Je=Ce(Oe,je,nt,Ue,Oe!==_e);if(Je.done)return Je.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,Ye=0,gt=[];Ye<nt.length;){ke.lastIndex=ge?0:Ye;var $e=ee(ke,ge?we(nt,Ye):nt),We;if($e===null||(We=me(a(ke.lastIndex+(ge?Ye:0)),nt.length))===qe)Ye=z(nt,Ye,Xe);else{if(Pe(gt,we(nt,qe,Ye)),gt.length===Be)return gt;for(var Re=1;Re<=$e.length-1;Re++)if(Pe(gt,$e[Re]),gt.length===Be)return gt;Ye=qe=We}}return Pe(gt,we(nt,qe)),gt}]},!Te,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"),me=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"),Te=E("../internals/redefine"),Ee=E("../internals/shared"),_e=E("../internals/shared-key"),Ce=E("../internals/hidden-keys"),Oe=E("../internals/uid"),Ie=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"),Je=E("../internals/set-to-string-tag"),Qe=E("../internals/internal-state"),Xe=E("../internals/array-iteration").forEach,ze=_e("hidden"),ke="Symbol",Be="prototype",qe=Qe.set,Ye=Qe.getterFor(ke),gt=Object[Be],$e=re.Symbol,We=$e&&$e[Be],Re=re.TypeError,tt=re.QObject,Me=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,ot=ae&&ne(function(){return ue(He({},"a",{get:function(){return He(this,"a",{value:7}).a}})).a!=7})?function(ct,pt,Ct){var Rt=Me(gt,pt);Rt&&delete gt[pt],He(ct,pt,Ct),Rt&&ct!==gt&&He(gt,pt,Rt)}:He,St=function(ct,pt){var Ct=Ae[ct]=ue(We);return qe(Ct,{type:ke,tag:ct,description:pt}),ae||(Ct.description=pt),Ct},wt=function(pt,Ct,Rt){pt===gt&&wt(Le,Ct,Rt),y(pt);var zt=b(Ct);return y(Rt),z(Ae,zt)?(Rt.enumerable?(z(pt,ze)&&pt[ze][zt]&&(pt[ze][zt]=!1),Rt=ue(Rt,{enumerable:te(0,!1)})):(z(pt,ze)||He(pt,ze,te(1,{})),pt[ze][zt]=!0),ot(pt,zt,Rt)):He(pt,zt,Rt)},rt=function(pt,Ct){y(pt);var Rt=x(Ct),zt=de(Rt).concat(Nt(Rt));return Xe(zt,function(rn){(!ae||ie(Ft,Rt,rn))&&wt(pt,rn,Rt[rn])}),pt},bt=function(pt,Ct){return Ct===void 0?ue(pt):rt(ue(pt),Ct)},Ft=function(pt){var Ct=b(pt),Rt=ie(Ze,this,Ct);return this===gt&&z(Ae,Ct)&&!z(Le,Ct)?!1:Rt||!z(this,Ct)||!z(Ae,Ct)||z(this,ze)&&this[ze][Ct]?Rt:!0},$t=function(pt,Ct){var Rt=x(pt),zt=b(Ct);if(!(Rt===gt&&z(Ae,zt)&&!z(Le,zt))){var rn=Me(Rt,zt);return rn&&z(Ae,zt)&&!(z(Rt,ze)&&Rt[ze][zt])&&(rn.enumerable=!0),rn}},st=function(pt){var Ct=Ve(x(pt)),Rt=[];return Xe(Ct,function(zt){!z(Ae,zt)&&!z(Ce,zt)&&Ke(Rt,zt)}),Rt},Nt=function(ct){var pt=ct===gt,Ct=Ve(pt?Le:x(ct)),Rt=[];return Xe(Ct,function(zt){z(Ae,zt)&&(!pt||z(gt,zt))&&Ke(Rt,Ae[zt])}),Rt};oe||($e=function(){if(a(We,this))throw Re("Symbol is not a constructor");var pt=!arguments.length||arguments[0]===void 0?void 0:ee(arguments[0]),Ct=Oe(pt),Rt=function(zt){this===gt&&ie(Rt,Le,zt),z(this,ze)&&z(this[ze],Ct)&&(this[ze][Ct]=!1),ot(this,Ct,te(1,zt))};return ae&&Ge&&ot(gt,Ct,{configurable:!0,set:Rt}),St(Ct,pt)},We=$e[Be],Te(We,"toString",function(){return Ye(this).tag}),Te($e,"withoutSetter",function(ct){return St(Oe(ct),ct)}),we.f=Ft,ye.f=wt,Pe.f=rt,Se.f=$t,ge.f=ve.f=st,me.f=Nt,Ue.f=function(ct){return St(Ie(ct),ct)},ae&&(He(We,"description",{configurable:!0,get:function(){return Ye(this).description}}),ce||Te(gt,"propertyIsEnumerable",Ft,{unsafe:!0}))),se({global:!0,wrap:!0,forced:!oe,sham:!oe},{Symbol:$e}),Xe(de(Ne),function(ct){je(ct)}),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:bt,defineProperty:wt,defineProperties:rt,getOwnPropertyDescriptor:$t}),se({target:"Object",stat:!0,forced:!oe},{getOwnPropertyNames:st}),nt(),Je($e,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),me=le("".slice);z(x,"description",{configurable:!0,get:function(){var ye=de(this),Pe=ue(ye);if(ce(b,ye))return"";var we=te?me(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 me=this.length,Se=le(ve),ye=0;if(Se+ge>me)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),me,Se;for(me=0;me<516;me++)Se=me%4,ge[me]=515-me,ve[me]=me-2*Se+3;for(ee(ge,function(ye,Pe){return(ye/4|0)-(Pe/4|0)}),me=0;me<516;me++)if(ge[me]!==ve[me])return!0}),de=function(ge){return function(ve,me){return ge!==void 0?+ge(ve,me)||0:me!==me?-1:ve!==ve?1:ve===0&&me===0?1/ve>0&&1/me<0?1:-1:ve>me}};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"](),me=a[te+"Hours"](),Se=a[te+"Minutes"](),ye=a[te+"Seconds"](),Pe=a[te+"Milliseconds"](),we=x?0:a.getTimezoneOffset(),Te=le(a),Ee=ce(a),_e={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:me%12||12,hh:ie(me%12||12),H:me,HH:ie(me),M:Se,MM:ie(Se),s:ye,ss:ie(ye),l:ie(Pe,3),L:ie(Math.round(Pe/10)),t:me<12?"a":"p",tt:me<12?"am":"pm",T:me<12?"A":"P",TT:me<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:Te,N:Ee};return y.replace(oe,function(Ce){return Ce in _e?_e[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 pe=="function"&&pe.amd?pe(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 Te=ye==="error",Ee=this._events;if(Ee!==void 0)Te=Te&&Ee.error===void 0;else if(!Te)return!1;if(Te){var _e;if(Pe.length>0&&(_e=Pe[0]),_e instanceof Error)throw _e;var Ce=new Error("Unhandled error."+(_e?" ("+_e.message+")":""));throw Ce.context=_e,Ce}var Oe=Ee[ye];if(Oe===void 0)return!1;if(typeof Oe=="function")re(Oe,this,Pe);else for(var Ie=Oe.length,Ue=te(Oe,Ie),we=0;we<Ie;++we)re(Ue[we],this,Pe);return!0};function a(Se,ye,Pe,we){var Te,Ee,_e;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),_e=Ee[ye]),_e===void 0)_e=Ee[ye]=Pe,++Se._eventsCount;else if(typeof _e=="function"?_e=Ee[ye]=we?[Pe,_e]:[_e,Pe]:we?_e.unshift(Pe):_e.push(Pe),Te=z(Se),Te>0&&_e.length>Te&&!_e.warned){_e.warned=!0;var Ce=new Error("Possible EventEmitter memory leak detected. "+_e.length+" "+String(ye)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ce.name="MaxListenersExceededWarning",Ce.emitter=Se,Ce.type=ye,Ce.count=_e.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},Te=y.bind(we);return Te.listener=Pe,we.wrapFn=Te,Te}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,Te,Ee,_e,Ce;if(ne(Pe),Te=this._events,Te===void 0)return this;if(we=Te[ye],we===void 0)return this;if(we===Pe||we.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete Te[ye],Te.removeListener&&this.emit("removeListener",ye,we.listener||Pe));else if(typeof we!="function"){for(Ee=-1,_e=we.length-1;_e>=0;_e--)if(we[_e]===Pe||we[_e].listener===Pe){Ce=we[_e].listener,Ee=_e;break}if(Ee<0)return this;Ee===0?we.shift():ue(we,Ee),we.length===1&&(Te[ye]=we[0]),Te.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,Te;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),_e;for(Te=0;Te<Ee.length;++Te)_e=Ee[Te],_e!=="removeListener"&&this.removeAllListeners(_e);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Pe=we[ye],typeof Pe=="function")this.removeListener(ye,Pe);else if(Pe!==void 0)for(Te=Pe.length-1;Te>=0;Te--)this.removeListener(ye,Pe[Te]);return this};function b(Se,ye,Pe){var we=Se._events;if(we===void 0)return[];var Te=we[ye];return Te===void 0?[]:typeof Te=="function"?Pe?[Te.listener||Te]:[Te]:Pe?de(Te):te(Te,Te.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 Te(_e){Se.removeListener(ye,Ee),we(_e)}function Ee(){typeof Se.removeListener=="function"&&Se.removeListener("error",Te),Pe([].slice.call(arguments))}me(Se,ye,Ee,{once:!0}),ye!=="error"&&ve(Se,Te,{once:!0})})}function ve(Se,ye,Pe){typeof Se.on=="function"&&me(Se,"error",ye,Pe)}function me(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 Te(Ee){we.once&&Se.removeEventListener(ye,Te),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(Ie){}},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(Ie){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(Ie){var Ue;if(Ie==="%AsyncFunction%")Ue=ce("async function () {}");else if(Ie==="%GeneratorFunction%")Ue=ce("function* () {}");else if(Ie==="%AsyncGeneratorFunction%")Ue=ce("async function* () {}");else if(Ie==="%AsyncGenerator%"){var je=Oe("%AsyncGeneratorFunction%");je&&(Ue=je.prototype)}else if(Ie==="%AsyncIteratorPrototype%"){var nt=Oe("%AsyncGenerator%");nt&&y&&(Ue=y(nt.prototype))}return ee[Ie]=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"),me=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),Te=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ee=/\\(\\)?/g,_e=function(Ie){var Ue=Pe(Ie,0,1),je=Pe(Ie,-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(Ie,Te,function(Je,Qe,Xe,ze){nt[nt.length]=Xe?ye(ze,Ee,"$1"):Qe||Je}),nt},Ce=function(Ie,Ue){var je=Ie,nt;if(ve(de,je)&&(nt=de[je],je="%"+nt[0]+"%"),ve(ee,je)){var Je=ee[je];if(Je===x&&(Je=ue(je)),typeof Je=="undefined"&&!Ue)throw new le("intrinsic "+Ie+" exists, but is not available. Please file an issue!");return{alias:nt,name:je,value:Je}}throw new re("intrinsic "+Ie+" does not exist!")};he.exports=function(Ie,Ue){if(typeof Ie!="string"||Ie.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(/^%?[^%]*%?$/,Ie)===null)throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var je=_e(Ie),nt=je.length>0?je[0]:"",Je=Ce("%"+nt+"%",Ue),Qe=Je.name,Xe=Je.value,ze=!1,ke=Je.alias;ke&&(nt=ke[0],Se(je,me([0,1],ke)));for(var Be=1,qe=!0;Be<je.length;Be+=1){var Ye=je[Be],gt=Pe(Ye,0,1),$e=Pe(Ye,-1);if((gt==='"'||gt==="'"||gt==="`"||$e==='"'||$e==="'"||$e==="`")&&gt!==$e)throw new re("property names with quotes must have matching quotes");if((Ye==="constructor"||!qe)&&(ze=!0),nt+="."+Ye,Qe="%"+nt+"%",ve(ee,Qe))Xe=ee[Qe];else if(Xe!=null){if(!(Ye in Xe)){if(!Ue)throw new le("base intrinsic for "+Ie+" exists, but the property is not available.");return}if(ae&&Be+1>=je.length){var We=ae(Xe,Ye);qe=!!We,qe&&"get"in We&&!("originalValue"in We.get)?Xe=We.get:Xe=Xe[Ye]}else qe=ve(Xe,Ye),Xe=Xe[Ye];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 ft!="undefined"?ft: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 ft!="undefined"?ft: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 ft!="undefined"?ft: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 ft!="undefined"?ft: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(me){try{var Se=se.call(me);return ce.test(Se)}catch(ye){return!1}},oe=function(me){try{return ae(me)?!1:(se.call(me),!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(me){if((ue||!me)&&(typeof me=="undefined"||typeof me=="object"))try{var Se=ne.call(me);return(Se===x||Se===b||Se===ee||Se===z)&&me("")==null}catch(ye){}return!1})}he.exports=re?function(me){if(de(me))return!0;if(!me||typeof me!="function"&&typeof me!="object")return!1;try{re(me,null,ie)}catch(Se){if(Se!==le)return!1}return!ae(me)&&oe(me)}:function(me){if(de(me))return!0;if(!me||typeof me!="function"&&typeof me!="object")return!1;if(te)return oe(me);if(ae(me))return!1;var Se=ne.call(me);return Se!==a&&Se!==y&&!/^\[object HTML/.test(Se)?!1:oe(me)}},{}],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 pe=="function"&&pe.amd?pe(ie):ie(re)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof se!="undefined"?se:this,function(re){"use strict";re=re||{};var ie=re.Base64,le="2.6.4",ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(Ie){for(var Ue={},je=0,nt=Ie.length;je<nt;je++)Ue[Ie.charAt(je)]=je;return Ue}(ce),oe=String.fromCharCode,ne=function(Ie){if(Ie.length<2){var Ue=Ie.charCodeAt(0);return Ue<128?Ie: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+(Ie.charCodeAt(0)-55296)*1024+(Ie.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(Ie){return Ie.replace(z,ne)},y=function(Ie){var Ue=[0,2,1][Ie.length%3],je=Ie.charCodeAt(0)<<16|(Ie.length>1?Ie.charCodeAt(1):0)<<8|(Ie.length>2?Ie.charCodeAt(2):0),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(Ie){return re.btoa(Ie)}:function(Ie){if(Ie.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ie.replace(/[\s\S]{1,3}/g,y)},b=function(Ie){return x(a(String(Ie)))},ee=function(Ie){return Ie.replace(/[+\/]/g,function(Ue){return Ue=="+"?"-":"_"}).replace(/=/g,"")},te=function(Ie,Ue){return Ue?ee(b(Ie)):b(Ie)},ue=function(Ie){return te(Ie,!0)},de;re.Uint8Array&&(de=function(Ie,Ue){for(var je="",nt=0,Je=Ie.length;nt<Je;nt+=3){var Qe=Ie[nt],Xe=Ie[nt+1],ze=Ie[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(Ie){switch(Ie.length){case 4:var Ue=(7&Ie.charCodeAt(0))<<18|(63&Ie.charCodeAt(1))<<12|(63&Ie.charCodeAt(2))<<6|63&Ie.charCodeAt(3),je=Ue-65536;return oe((je>>>10)+55296)+oe((je&1023)+56320);case 3:return oe((15&Ie.charCodeAt(0))<<12|(63&Ie.charCodeAt(1))<<6|63&Ie.charCodeAt(2));default:return oe((31&Ie.charCodeAt(0))<<6|63&Ie.charCodeAt(1))}},me=function(Ie){return Ie.replace(ge,ve)},Se=function(Ie){var Ue=Ie.length,je=Ue%4,nt=(Ue>0?ae[Ie.charAt(0)]<<18:0)|(Ue>1?ae[Ie.charAt(1)]<<12:0)|(Ue>2?ae[Ie.charAt(2)]<<6:0)|(Ue>3?ae[Ie.charAt(3)]:0),Je=[oe(nt>>>16),oe(nt>>>8&255),oe(nt&255)];return Je.length-=[0,0,2,1][je],Je.join("")},ye=re.atob&&typeof re.atob=="function"?function(Ie){return re.atob(Ie)}:function(Ie){return Ie.replace(/\S{1,4}/g,Se)},Pe=function(Ie){return ye(String(Ie).replace(/[^A-Za-z0-9\+\/]/g,""))},we=function(Ie){return me(ye(Ie))},Te=function(Ie){return String(Ie).replace(/[-_]/g,function(Ue){return Ue=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ee=function(Ie){return we(Te(Ie))},_e;re.Uint8Array&&(_e=function(Ie){return Uint8Array.from(Pe(Te(Ie)),function(Ue){return Ue.charCodeAt(0)})});var Ce=function(){var Ie=re.Base64;return re.Base64=ie,Ie};if(re.Base64={VERSION:le,atob:Pe,btoa:x,fromBase64:Ee,toBase64:te,utob:a,encode:te,encodeURI:ue,btou:me,decode:Ee,noConflict:Ce,fromUint8Array:de,toUint8Array:_e},typeof Object.defineProperty=="function"){var Oe=function(Ie){return{value:Ie,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(Ie){return te(this,Ie)})),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 pe=="function"&&pe.amd&&pe([],function(){return re.Base64}),{Base64:re.Base64}})}).call(this)}).call(this,typeof ft!="undefined"?ft: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 me="";for(de=z+ue+1;de<=a;++de)(de===a||oe.charCodeAt(de)===47)&&(me.length===0?me+="..":me+="/..");return me.length>0?me+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,_e,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 _e&&Ce&&/^Win/i.test(Ee)&&!/^Windows Phone /i.test(Ee)&&(Oe=Oe[/[\d.]+$/.exec(Ee)])&&(Ee="Windows "+Oe),Ee=String(Ee),_e&&Ce&&(Ee=Ee.replace(RegExp(_e,"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,_e){var Ce=-1,Oe=Ee?Ee.length:0;if(typeof Oe=="number"&&Oe>-1&&Oe<=ne)for(;++Ce<Oe;)_e(Ee[Ce],Ce,Ee);else ge(Ee,_e)}function de(Ee){return Ee=Pe(Ee),/^(?:webOS|i(?:OS|P))/.test(Ee)?Ee:ee(Ee)}function ge(Ee,_e){for(var Ce in Ee)x.call(Ee,Ce)&&_e(Ee[Ce],Ce,Ee)}function ve(Ee){return Ee==null?ee(Ee):b.call(Ee).slice(8,-1)}function me(Ee,_e){var Ce=Ee!=null?typeof Ee[_e]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Ce)&&(Ce=="object"?!!Ee[_e]:!0)}function Se(Ee){return String(Ee).replace(/([ -])(?!$)/g,"$1?")}function ye(Ee,_e){var Ce=null;return ue(Ee,function(Oe,Ie){Ce=_e(Ce,Oe,Ie,Ee)}),Ce}function Pe(Ee){return String(Ee).replace(/^ +| +$/g,"")}function we(Ee){var _e=ie,Ce=Ee&&typeof Ee=="object"&&ve(Ee)!="String";Ce&&(_e=Ee,Ee=null);var Oe=_e.navigator||{},Ie=Oe.userAgent||"";Ee||(Ee=Ie);var Ue=Ce||a==le,je=Ce?!!Oe.likeChrome:/\bChrome\b/.test(Ee)&&!/internal|\n/i.test(b.toString()),nt="Object",Je=Ce?nt:"ScriptBridgingProxyObject",Qe=Ce?nt:"Environment",Xe=Ce&&_e.java?"JavaPackage":ve(_e.java),ze=Ce?nt:"RuntimeObject",ke=/\bJava/.test(Xe)&&_e.java,Be=ke&&ve(_e.environment)==Qe,qe=ke?"a":"\u03B1",Ye=ke?"b":"\u03B2",gt=_e.document||{},$e=_e.operamini||_e.opera,We=z.test(We=Ce&&$e?$e["[[Class]]"]:ve($e))?We:$e=null,Re,tt=Ee,Me=[],He=null,Ve=Ee==Ie,Ze=Ve&&$e&&typeof $e.version=="function"&&$e.version(),Ke,Ae=St([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Le=rt(["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=Ft([{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=wt({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),ot=bt(["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(ct){return ye(ct,function(pt,Ct){return pt||RegExp("\\b"+(Ct.pattern||Se(Ct))+"\\b","i").exec(Ee)&&(Ct.label||Ct)})}function wt(ct){return ye(ct,function(pt,Ct,Rt){return pt||(Ct[Ne]||Ct[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ne)]||RegExp("\\b"+Se(Rt)+"(?:\\b|\\w*\\d)","i").exec(Ee))&&Rt})}function rt(ct){return ye(ct,function(pt,Ct){return pt||RegExp("\\b"+(Ct.pattern||Se(Ct))+"\\b","i").exec(Ee)&&(Ct.label||Ct)})}function bt(ct){return ye(ct,function(pt,Ct){var Rt=Ct.pattern||Se(Ct);return!pt&&(pt=RegExp("\\b"+Rt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(Ee))&&(pt=te(pt,Rt,Ct.label||Ct)),pt})}function Ft(ct){return ye(ct,function(pt,Ct){var Rt=Ct.pattern||Se(Ct);return!pt&&(pt=RegExp("\\b"+Rt+" *\\d+[.\\w_]*","i").exec(Ee)||RegExp("\\b"+Rt+" *\\w+-[\\w]*","i").exec(Ee)||RegExp("\\b"+Rt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(Ee))&&((pt=String(Ct.label&&!RegExp(Rt,"i").test(Ct.label)?Ct.label:pt).split("/"))[1]&&!/[\d.]+/.test(pt[0])&&(pt[0]+=" "+pt[1]),Ct=Ct.label||Ct,pt=de(pt[0].replace(RegExp(Rt,"i"),Ct).replace(RegExp("; *(?:"+Ct+"[_-])?","i")," ").replace(RegExp("("+Ct+")[-_.]?(\\w)","i"),"$1 $2"))),pt})}function $t(ct){return ye(ct,function(pt,Ct){return pt||(RegExp(Ct+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(Ee)||0)[1]||null})}function st(){return this.description||""}if(Ae&&(Ae=[Ae]),/\bAndroid\b/.test(ot)&&!Ne&&(Re=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(Ee))&&(Ne=Pe(Re[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Ge&&!Ne?Ne=Ft([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)&&Me.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"),ot="iOS"+((Re=/ OS ([\d_]+)/i.exec(Ee))?" "+Re[1].replace(/_/g,"."):"")):Le=="Konqueror"&&/^Linux\b/i.test(ot)?ot="Kubuntu":Ge&&Ge!="Google"&&(/Chrome/.test(Le)&&!/\bMobile Safari\b/i.test(Ee)||/\bVita\b/.test(Ne))||/\bAndroid\b/.test(ot)&&/^Chrome/.test(Le)&&/\bVersion\//i.test(Ee)?(Le="Android Browser",ot=/\bAndroid\b/.test(ot)?ot:"Android"):Le=="Silk"?(/\bMobi/i.test(Ee)||(ot="Android",Me.unshift("desktop mode")),/Accelerated *= *true/i.test(Ee)&&Me.unshift("accelerated")):Le=="UC Browser"&&/\bUCWEB\b/.test(Ee)?Me.push("speed mode"):Le=="PaleMoon"&&(Re=/\bFirefox\/([\d.]+)\b/.exec(Ee))?Me.push("identifying as Firefox "+Re[1]):Le=="Firefox"&&(Re=/\b(Mobile|Tablet|TV)\b/i.exec(Ee))?(ot||(ot="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||ot)&&(Ne||Ge||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ot))&&(Le=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ot)?ot:Re)+" Browser")):Le=="Electron"&&(Re=(/\bChrome\/([\d.]+)\b/.exec(Ee)||0)[1])&&Me.push("Chromium "+Re),Ze||(Ze=$t(["(?: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)&&(ot=="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",ot="Windows Phone "+(/\+$/.test(Re)?Re:Re+".x"),Me.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ee)?(Le="IE Mobile",ot="Windows Phone 8.x",Me.unshift("desktop mode"),Ze||(Ze=(/\brv:([\d.]+)/.exec(Ee)||0)[1])):Le!="IE"&&Ae=="Trident"&&(Re=/\brv:([\d.]+)/.exec(Ee))&&(Le&&Me.push("identifying as "+Le+(Ze?" "+Ze:"")),Le="IE",Ze=Re[1]),Ve){if(me(_e,"global"))if(ke&&(Re=ke.lang.System,tt=Re.getProperty("os.arch"),ot=ot||Re.getProperty("os.name")+" "+Re.getProperty("os.version")),Be){try{Ze=_e.require("ringo/engine").version.join("."),Le="RingoJS"}catch(ct){(Re=_e.system)&&Re.global.system==_e.system&&(Le="Narwhal",ot||(ot=Re[0].os||null))}Le||(Le="Rhino")}else typeof _e.process=="object"&&!_e.process.browser&&(Re=_e.process)&&(typeof Re.versions=="object"&&(typeof Re.versions.electron=="string"?(Me.push("Node "+Re.versions.node),Le="Electron",Ze=Re.versions.electron):typeof Re.versions.nw=="string"&&(Me.push("Chromium "+Ze,"Node "+Re.versions.node),Le="NW.js",Ze=Re.versions.nw)),Le||(Le="Node.js",tt=Re.arch,ot=Re.platform,Ze=/[\d.]+/.exec(Re.version),Ze=Ze?Ze[0]:null));else ve(Re=_e.runtime)==Je?(Le="Adobe AIR",ot=Re.flash.system.Capabilities.os):ve(Re=_e.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]&&(Me.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)&&(Me.push("masking as "+Le+" "+Ze),Le="IE",Ze="11.0",Ae=["Trident"],ot="Windows");ot=ot&&de(ot)}if(Ze&&(Re=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ze)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ee+";"+(Ve&&Oe.appMinorVersion))||/\bMinefield\b/i.test(Ee)&&"a")&&(He=/b/i.test(Re)?"beta":"alpha",Ze=Ze.replace(RegExp(Re+"\\+?$"),"")+(He=="beta"?Ye:qe)+(/\d+\+?/.exec(Re)||"")),Le=="Fennec"||Le=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(ot))Le="Firefox Mobile";else if(Le=="Maxthon"&&Ze)Ze=Ze.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ne))Ne=="Xbox 360"&&(ot=null),Ne=="Xbox 360"&&/\bIEMobile\b/.test(Ee)&&Me.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Le)||Le&&!Ne&&!/Browser|Mobi/.test(Le))&&(ot=="Windows CE"||/Mobi/i.test(Ee)))Le+=" Mobile";else if(Le=="IE"&&Ve)try{_e.external===null&&Me.unshift("platform preview")}catch(ct){Me.unshift("embedded")}else(/\bBlackBerry\b/.test(Ne)||/\bBB10\b/.test(Ee))&&(Re=(RegExp(Ne.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ee)||0)[1]||Ze)?(Re=[Re,/BB10/.test(Ee)],ot=(Re[1]?(Ne=null,Ge="BlackBerry"):"Device Software")+" "+Re[0],Ze=null):this!=ge&&Ne!="Wii"&&(Ve&&$e||/Opera/.test(Le)&&/\b(?:MSIE|Firefox)\b/i.test(Ee)||Le=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ot)||Le=="IE"&&(ot&&!/^Win/.test(ot)&&Ze>5.5||/\bWindows XP\b/.test(ot)&&Ze>8||Ze==8&&!/\bTrident\b/.test(Ee)))&&!z.test(Re=we.call(ge,Ee.replace(z,"")+";"))&&Re.name&&(Re="ing as "+Re.name+((Re=Re.version)?" "+Re:""),z.test(Le)?(/\bIE\b/.test(Re)&&ot=="Mac OS"&&(ot=null),Re="identify"+Re):(Re="mask"+Re,We?Le=de(We.replace(/([a-z])([A-Z])/g,"$1 $2")):Le="Opera",/\bIE\b/.test(Re)&&(ot=null),Ve||(Ze=null)),Ae=["Presto"],Me.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)&&Me.unshift("headless")),Le=="Opera"&&(Re=/\bzbov|zvav$/.exec(ot))?(Le+=" ",Me.unshift("desktop mode"),Re=="zvav"?(Le+="Mini",Ze=null):Le+="Mobile",ot=ot.replace(RegExp(" *"+Re+"$"),"")):Le=="Safari"&&/\bChrome\b/.exec(Ae&&Ae[1])?(Me.unshift("desktop mode"),Le="Chrome Mobile",Ze=null,/\bOS X\b/.test(ot)?(Ge="Apple",ot="iOS 4.3+"):ot=null):/\bSRWare Iron\b/.test(Le)&&!Ze&&(Ze=$t("Chrome")),Ze&&Ze.indexOf(Re=/[\d.]+$/.exec(ot))==0&&Ee.indexOf("/"+Re+"-")>-1&&(ot=Pe(ot.replace(Re,""))),ot&&ot.indexOf(Le)!=-1&&!RegExp(Le+" OS").test(ot)&&(ot=ot.replace(RegExp(" *"+Se(Le)+" *"),"")),Ae&&!/\b(?:Avant|Nook)\b/.test(Le)&&(/Browser|Lunascape|Maxthon/.test(Le)||Le!="Safari"&&/^iOS/.test(ot)&&/\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])&&Me.push(Re),Me.length&&(Me=["("+Me.join("; ")+")"]),Ge&&Ne&&Ne.indexOf(Ge)<0&&Me.push("on "+Ge),Ne&&Me.push((/^on /.test(Me[Me.length-1])?"":"on ")+Ne),ot&&(Re=/ ([\d.+]+)$/.exec(ot),Ke=Re&&ot.charAt(ot.length-Re[0].length-1)=="/",ot={architecture:32,family:Re&&!Ke?ot.replace(Re[0],""):ot,version:Re?Re[1]:null,toString:function(){var ct=this.version;return this.family+(ct&&!Ke?" "+ct:"")+(this.architecture==64?" 64-bit":"")}}),(Re=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(tt))&&!/\bi686\b/i.test(tt)?(ot&&(ot.architecture=64,ot.family=ot.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))&&Me.unshift("32-bit")):ot&&/^OS X/.test(ot.family)&&Le=="Chrome"&&parseFloat(Ze)>=39&&(ot.architecture=64),Ee||(Ee=null);var Nt={};return Nt.description=Ee,Nt.layout=Ae&&Ae[0],Nt.manufacturer=Ge,Nt.name=Le,Nt.prerelease=He,Nt.product=Ne,Nt.ua=Ee,Nt.version=Le&&Ze,Nt.os=ot||{architecture:null,family:null,version:null,toString:function(){return"null"}},Nt.parse=we,Nt.toString=st,Nt.version&&Me.unshift(Ze),Nt.name&&Me.unshift(Le),ot&&Le&&!(ot==String(ot).split(" ")[0]&&(ot==Le.split(" ")[0]||Ne))&&Me.push(Ne?"("+ot+")":"on "+ot),Me.length&&(Nt.description=Me.join(" ")),Nt}var Te=we();typeof pe=="function"&&typeof pe.amd=="object"&&pe.amd?(ie.platform=Te,pe(function(){return Te})):ce&&ae?ge(Te,function(Ee,_e){ce[_e]=Ee}):ie.platform=Te}).call(this)}).call(this)}).call(this,typeof ft!="undefined"?ft: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"},me=ne-z,Se=Math.floor,ye=String.fromCharCode,Pe;function we(Xe){throw new RangeError(ve[Xe])}function Te(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("."),Ye=Te(qe,ze).join(".");return Be+Ye}function _e(Xe){for(var ze=[],ke=0,Be=Xe.length,qe,Ye;ke<Be;)qe=Xe.charCodeAt(ke++),qe>=55296&&qe<=56319&&ke<Be?(Ye=Xe.charCodeAt(ke++),(Ye&64512)==56320?ze.push(((qe&1023)<<10)+(Ye&1023)+65536):(ze.push(qe),ke--)):ze.push(qe);return ze}function Ce(Xe){return Te(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 Ie(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>me*a>>1;Be+=ne)Xe=Se(Xe/me);return Se(Be+(me+1)*Xe/(Xe+y))}function je(Xe){var ze=[],ke=Xe.length,Be,qe=0,Ye=ee,gt=b,$e,We,Re,tt,Me,He,Ve,Ze,Ke;for($e=Xe.lastIndexOf(te),$e<0&&($e=0),We=0;We<$e;++We)Xe.charCodeAt(We)>=128&&we("not-basic"),ze.push(Xe.charCodeAt(We));for(Re=$e>0?$e+1:0;Re<ke;){for(tt=qe,Me=1,He=ne;Re>=ke&&we("invalid-input"),Ve=Oe(Xe.charCodeAt(Re++)),(Ve>=ne||Ve>Se((oe-qe)/Me))&&we("overflow"),qe+=Ve*Me,Ze=He<=gt?z:He>=gt+a?a:He-gt,!(Ve<Ze);He+=ne)Ke=ne-Ze,Me>Se(oe/Ke)&&we("overflow"),Me*=Ke;Be=ze.length+1,gt=Ue(qe-tt,Be,tt==0),Se(qe/Be)>oe-Ye&&we("overflow"),Ye+=Se(qe/Be),qe%=Be,ze.splice(qe++,0,Ye)}return Ce(ze)}function nt(Xe){var ze,ke,Be,qe,Ye,gt,$e,We,Re,tt,Me,He=[],Ve,Ze,Ke,Ae;for(Xe=_e(Xe),Ve=Xe.length,ze=ee,ke=0,Ye=b,gt=0;gt<Ve;++gt)Me=Xe[gt],Me<128&&He.push(ye(Me));for(Be=qe=He.length,qe&&He.push(te);Be<Ve;){for($e=oe,gt=0;gt<Ve;++gt)Me=Xe[gt],Me>=ze&&Me<$e&&($e=Me);for(Ze=Be+1,$e-ze>Se((oe-ke)/Ze)&&we("overflow"),ke+=($e-ze)*Ze,ze=$e,gt=0;gt<Ve;++gt)if(Me=Xe[gt],Me<ze&&++ke>oe&&we("overflow"),Me==ze){for(We=ke,Re=ne;tt=Re<=Ye?z:Re>=Ye+a?a:Re-Ye,!(We<tt);Re+=ne)Ae=We-tt,Ke=ne-tt,He.push(ye(Ie(tt+Ae%Ke,0))),We=Se(Ae/Ke);He.push(ye(Ie(We,0))),Ye=Ue(ke,Ze,Be==qe),ke=0,++Be}++ke,++ze}return He.join("")}function Je(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:_e,encode:Ce},decode:je,encode:nt,toASCII:Qe,toUnicode:Je},typeof pe=="function"&&typeof pe.amd=="object"&&pe.amd)pe("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 ft!="undefined"?ft: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(Me,He){return Me.listeners(He).length},ne=E("./internal/streams/stream"),z=E("safe-buffer").Buffer,a=re.Uint8Array||function(){};function y(Me){return z.from(Me)}function x(Me){return z.isBuffer(Me)||Me instanceof a}var b=Object.create(E("core-util-is"));b.inherits=E("inherits");var ee=E("util"),te=void 0;ee&&ee.debuglog?te=ee.debuglog("stream"):te=function(){};var ue=E("./internal/streams/BufferList"),de=E("./internal/streams/destroy"),ge;b.inherits(ye,ne);var ve=["error","close","destroy","pause","resume"];function me(Me,He,Ve){if(typeof Me.prependListener=="function")return Me.prependListener(He,Ve);!Me._events||!Me._events[He]?Me.on(He,Ve):le(Me._events[He])?Me._events[He].unshift(Ve):Me._events[He]=[Ve,Me._events[He]]}function Se(Me,He){ce=ce||E("./_stream_duplex"),Me=Me||{};var Ve=He instanceof ce;this.objectMode=!!Me.objectMode,Ve&&(this.objectMode=this.objectMode||!!Me.readableObjectMode);var Ze=Me.highWaterMark,Ke=Me.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=Me.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Me.encoding&&(ge||(ge=E("string_decoder/").StringDecoder),this.decoder=new ge(Me.encoding),this.encoding=Me.encoding)}function ye(Me){if(ce=ce||E("./_stream_duplex"),!(this instanceof ye))return new ye(Me);this._readableState=new Se(Me,this),this.readable=!0,Me&&(typeof Me.read=="function"&&(this._read=Me.read),typeof Me.destroy=="function"&&(this._destroy=Me.destroy)),ne.call(this)}Object.defineProperty(ye.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Me){this._readableState&&(this._readableState.destroyed=Me)}}),ye.prototype.destroy=de.destroy,ye.prototype._undestroy=de.undestroy,ye.prototype._destroy=function(Me,He){this.push(null),He(Me)},ye.prototype.push=function(Me,He){var Ve=this._readableState,Ze;return Ve.objectMode?Ze=!0:typeof Me=="string"&&(He=He||Ve.defaultEncoding,He!==Ve.encoding&&(Me=z.from(Me,He),He=""),Ze=!0),Pe(this,Me,He,!1,Ze)},ye.prototype.unshift=function(Me){return Pe(this,Me,null,!0,!1)};function Pe(Me,He,Ve,Ze,Ke){var Ae=Me._readableState;if(He===null)Ae.reading=!1,Ie(Me,Ae);else{var Le;Ke||(Le=Te(Ae,He)),Le?Me.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?Me.emit("error",new Error("stream.unshift() after end event")):we(Me,Ae,He,!0):Ae.ended?Me.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(Me,Ae,He,!1):nt(Me,Ae)):we(Me,Ae,He,!1))):Ze||(Ae.reading=!1)}return Ee(Ae)}function we(Me,He,Ve,Ze){He.flowing&&He.length===0&&!He.sync?(Me.emit("data",Ve),Me.read(0)):(He.length+=He.objectMode?1:Ve.length,Ze?He.buffer.unshift(Ve):He.buffer.push(Ve),He.needReadable&&Ue(Me)),nt(Me,He)}function Te(Me,He){var Ve;return!x(He)&&typeof He!="string"&&He!==void 0&&!Me.objectMode&&(Ve=new TypeError("Invalid non-string/buffer chunk")),Ve}function Ee(Me){return!Me.ended&&(Me.needReadable||Me.length<Me.highWaterMark||Me.length===0)}ye.prototype.isPaused=function(){return this._readableState.flowing===!1},ye.prototype.setEncoding=function(Me){return ge||(ge=E("string_decoder/").StringDecoder),this._readableState.decoder=new ge(Me),this._readableState.encoding=Me,this};var _e=8388608;function Ce(Me){return Me>=_e?Me=_e:(Me--,Me|=Me>>>1,Me|=Me>>>2,Me|=Me>>>4,Me|=Me>>>8,Me|=Me>>>16,Me++),Me}function Oe(Me,He){return Me<=0||He.length===0&&He.ended?0:He.objectMode?1:Me!==Me?He.flowing&&He.length?He.buffer.head.data.length:He.length:(Me>He.highWaterMark&&(He.highWaterMark=Ce(Me)),Me<=He.length?Me:He.ended?He.length:(He.needReadable=!0,0))}ye.prototype.read=function(Me){te("read",Me),Me=parseInt(Me,10);var He=this._readableState,Ve=Me;if(Me!==0&&(He.emittedReadable=!1),Me===0&&He.needReadable&&(He.length>=He.highWaterMark||He.ended))return te("read: emitReadable",He.length,He.ended),He.length===0&&He.ended?We(this):Ue(this),null;if(Me=Oe(Me,He),Me===0&&He.ended)return He.length===0&&We(this),null;var Ze=He.needReadable;te("need readable",Ze),(He.length===0||He.length-Me<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||(Me=Oe(Ve,He)));var Ke;return Me>0?Ke=qe(Me,He):Ke=null,Ke===null?(He.needReadable=!0,Me=0):He.length-=Me,He.length===0&&(He.ended||(He.needReadable=!0),Ve!==Me&&He.ended&&We(this)),Ke!==null&&this.emit("data",Ke),Ke};function Ie(Me,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(Me)}}function Ue(Me){var He=Me._readableState;He.needReadable=!1,He.emittedReadable||(te("emitReadable",He.flowing),He.emittedReadable=!0,He.sync?ie.nextTick(je,Me):je(Me))}function je(Me){te("emit readable"),Me.emit("readable"),Be(Me)}function nt(Me,He){He.readingMore||(He.readingMore=!0,ie.nextTick(Je,Me,He))}function Je(Me,He){for(var Ve=He.length;!He.reading&&!He.flowing&&!He.ended&&He.length<He.highWaterMark&&(te("maybeReadMore read 0"),Me.read(0),Ve!==He.length);)Ve=He.length;He.readingMore=!1}ye.prototype._read=function(Me){this.emit("error",new Error("_read() is not implemented"))},ye.prototype.pipe=function(Me,He){var Ve=this,Ze=this._readableState;switch(Ze.pipesCount){case 0:Ze.pipes=Me;break;case 1:Ze.pipes=[Ze.pipes,Me];break;default:Ze.pipes.push(Me);break}Ze.pipesCount+=1,te("pipe count=%d opts=%j",Ze.pipesCount,He);var Ke=(!He||He.end!==!1)&&Me!==se.stdout&&Me!==se.stderr,Ae=Ke?Ne:st;Ze.endEmitted?ie.nextTick(Ae):Ve.once("end",Ae),Me.on("unpipe",Le);function Le(Nt,ct){te("onunpipe"),Nt===Ve&&ct&&ct.hasUnpiped===!1&&(ct.hasUnpiped=!0,St())}function Ne(){te("onend"),Me.end()}var Ge=Qe(Ve);Me.on("drain",Ge);var ot=!1;function St(){te("cleanup"),Me.removeListener("close",Ft),Me.removeListener("finish",$t),Me.removeListener("drain",Ge),Me.removeListener("error",bt),Me.removeListener("unpipe",Le),Ve.removeListener("end",Ne),Ve.removeListener("end",st),Ve.removeListener("data",rt),ot=!0,Ze.awaitDrain&&(!Me._writableState||Me._writableState.needDrain)&&Ge()}var wt=!1;Ve.on("data",rt);function rt(Nt){te("ondata"),wt=!1;var ct=Me.write(Nt);ct===!1&&!wt&&((Ze.pipesCount===1&&Ze.pipes===Me||Ze.pipesCount>1&&tt(Ze.pipes,Me)!==-1)&&!ot&&(te("false write response, pause",Ve._readableState.awaitDrain),Ve._readableState.awaitDrain++,wt=!0),Ve.pause())}function bt(Nt){te("onerror",Nt),st(),Me.removeListener("error",bt),oe(Me,"error")===0&&Me.emit("error",Nt)}me(Me,"error",bt);function Ft(){Me.removeListener("finish",$t),st()}Me.once("close",Ft);function $t(){te("onfinish"),Me.removeListener("close",Ft),st()}Me.once("finish",$t);function st(){te("unpipe"),Ve.unpipe(Me)}return Me.emit("pipe",Ve),Ze.flowing||(te("pipe resume"),Ve.resume()),Me};function Qe(Me){return function(){var He=Me._readableState;te("pipeOnDrain",He.awaitDrain),He.awaitDrain&&He.awaitDrain--,He.awaitDrain===0&&oe(Me,"data")&&(He.flowing=!0,Be(Me))}}ye.prototype.unpipe=function(Me){var He=this._readableState,Ve={hasUnpiped:!1};if(He.pipesCount===0)return this;if(He.pipesCount===1)return Me&&Me!==He.pipes?this:(Me||(Me=He.pipes),He.pipes=null,He.pipesCount=0,He.flowing=!1,Me&&Me.emit("unpipe",this,Ve),this);if(!Me){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,Me);return Le===-1?this:(He.pipes.splice(Le,1),He.pipesCount-=1,He.pipesCount===1&&(He.pipes=He.pipes[0]),Me.emit("unpipe",this,Ve),this)},ye.prototype.on=function(Me,He){var Ve=ne.prototype.on.call(this,Me,He);if(Me==="data")this._readableState.flowing!==!1&&this.resume();else if(Me==="readable"){var Ze=this._readableState;!Ze.endEmitted&&!Ze.readableListening&&(Ze.readableListening=Ze.needReadable=!0,Ze.emittedReadable=!1,Ze.reading?Ze.length&&Ue(this):ie.nextTick(Xe,this))}return Ve},ye.prototype.addListener=ye.prototype.on;function Xe(Me){te("readable nexttick read 0"),Me.read(0)}ye.prototype.resume=function(){var Me=this._readableState;return Me.flowing||(te("resume"),Me.flowing=!0,ze(this,Me)),this};function ze(Me,He){He.resumeScheduled||(He.resumeScheduled=!0,ie.nextTick(ke,Me,He))}function ke(Me,He){He.reading||(te("resume read 0"),Me.read(0)),He.resumeScheduled=!1,He.awaitDrain=0,Me.emit("resume"),Be(Me),He.flowing&&!He.reading&&Me.read(0)}ye.prototype.pause=function(){return te("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(te("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Be(Me){var He=Me._readableState;for(te("flow",He.flowing);He.flowing&&Me.read()!==null;);}ye.prototype.wrap=function(Me){var He=this,Ve=this._readableState,Ze=!1;Me.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)}),Me.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,Me.pause())}});for(var Ke in Me)this[Ke]===void 0&&typeof Me[Ke]=="function"&&(this[Ke]=function(Le){return function(){return Me[Le].apply(Me,arguments)}}(Ke));for(var Ae=0;Ae<ve.length;Ae++)Me.on(ve[Ae],this.emit.bind(this,ve[Ae]));return this._read=function(Le){te("wrapped _read",Le),Ze&&(Ze=!1,Me.resume())},this},Object.defineProperty(ye.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),ye._fromList=qe;function qe(Me,He){if(He.length===0)return null;var Ve;return He.objectMode?Ve=He.buffer.shift():!Me||Me>=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=Ye(Me,He.buffer,He.decoder),Ve}function Ye(Me,He,Ve){var Ze;return Me<He.head.data.length?(Ze=He.head.data.slice(0,Me),He.head.data=He.head.data.slice(Me)):Me===He.head.data.length?Ze=He.shift():Ze=Ve?gt(Me,He):$e(Me,He),Ze}function gt(Me,He){var Ve=He.head,Ze=1,Ke=Ve.data;for(Me-=Ke.length;Ve=Ve.next;){var Ae=Ve.data,Le=Me>Ae.length?Ae.length:Me;if(Le===Ae.length?Ke+=Ae:Ke+=Ae.slice(0,Me),Me-=Le,Me===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 $e(Me,He){var Ve=z.allocUnsafe(Me),Ze=He.head,Ke=1;for(Ze.data.copy(Ve),Me-=Ze.data.length;Ze=Ze.next;){var Ae=Ze.data,Le=Me>Ae.length?Ae.length:Me;if(Ae.copy(Ve,Ve.length-Me,0,Le),Me-=Le,Me===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 We(Me){var He=Me._readableState;if(He.length>0)throw new Error('"endReadable()" called on non-empty stream');He.endEmitted||(He.ended=!0,ie.nextTick(Re,He,Me))}function Re(Me,He){!Me.endEmitted&&Me.length===0&&(Me.endEmitted=!0,He.readable=!1,He.emit("end"))}function tt(Me,He){for(var Ve=0,Ze=Me.length;Ve<Ze;Ve++)if(Me[Ve]===He)return Ve;return-1}}).call(this)}).call(this,E("_process"),typeof ft!="undefined"?ft: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=me;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;me.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(me,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 Ye=ke.highWaterMark,gt=ke.writableHighWaterMark,$e=this.objectMode?16:16*1024;Ye||Ye===0?this.highWaterMark=Ye:qe&&(gt||gt===0)?this.highWaterMark=gt:this.highWaterMark=$e,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 We=ke.decodeStrings===!1;this.decodeStrings=!We,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(me,Symbol.hasInstance,{value:function(ke){return ve.call(this,ke)?!0:this!==me?!1:ke&&ke._writableState instanceof ge}})):ve=function(ke){return ke instanceof this};function me(ke){if(ne=ne||E("./_stream_duplex"),!ve.call(me,this)&&!(this instanceof ne))return new me(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)}me.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,Ye){var gt=!0,$e=!1;return qe===null?$e=new TypeError("May not write null values to stream"):typeof qe!="string"&&qe!==void 0&&!Be.objectMode&&($e=new TypeError("Invalid non-string/buffer chunk")),$e&&(ke.emit("error",$e),le.nextTick(Ye,$e),gt=!1),gt}me.prototype.write=function(ke,Be,qe){var Ye=this._writableState,gt=!1,$e=!Ye.objectMode&&te(ke);return $e&&!x.isBuffer(ke)&&(ke=ee(ke)),typeof Be=="function"&&(qe=Be,Be=null),$e?Be="buffer":Be||(Be=Ye.defaultEncoding),typeof qe!="function"&&(qe=de),Ye.ended?Se(this,qe):($e||ye(this,Ye,ke,qe))&&(Ye.pendingcb++,gt=we(this,Ye,$e,ke,Be,qe)),gt},me.prototype.cork=function(){var ke=this._writableState;ke.corked++},me.prototype.uncork=function(){var ke=this._writableState;ke.corked&&(ke.corked--,!ke.writing&&!ke.corked&&!ke.finished&&!ke.bufferProcessing&&ke.bufferedRequest&&Ue(this,ke))},me.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(me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function we(ke,Be,qe,Ye,gt,$e){if(!qe){var We=Pe(Be,Ye,gt);Ye!==We&&(qe=!0,gt="buffer",Ye=We)}var Re=Be.objectMode?1:Ye.length;Be.length+=Re;var tt=Be.length<Be.highWaterMark;if(tt||(Be.needDrain=!0),Be.writing||Be.corked){var Me=Be.lastBufferedRequest;Be.lastBufferedRequest={chunk:Ye,encoding:gt,isBuf:qe,callback:$e,next:null},Me?Me.next=Be.lastBufferedRequest:Be.bufferedRequest=Be.lastBufferedRequest,Be.bufferedRequestCount+=1}else Te(ke,Be,!1,Re,Ye,gt,$e);return tt}function Te(ke,Be,qe,Ye,gt,$e,We){Be.writelen=Ye,Be.writecb=We,Be.writing=!0,Be.sync=!0,qe?ke._writev(gt,Be.onwrite):ke._write(gt,$e,Be.onwrite),Be.sync=!1}function Ee(ke,Be,qe,Ye,gt){--Be.pendingcb,qe?(le.nextTick(gt,Ye),le.nextTick(Qe,ke,Be),ke._writableState.errorEmitted=!0,ke.emit("error",Ye)):(gt(Ye),ke._writableState.errorEmitted=!0,ke.emit("error",Ye),Qe(ke,Be))}function _e(ke){ke.writing=!1,ke.writecb=null,ke.length-=ke.writelen,ke.writelen=0}function Ce(ke,Be){var qe=ke._writableState,Ye=qe.sync,gt=qe.writecb;if(_e(qe),Be)Ee(ke,qe,Ye,Be,gt);else{var $e=je(qe);!$e&&!qe.corked&&!qe.bufferProcessing&&qe.bufferedRequest&&Ue(ke,qe),Ye?oe(Oe,ke,qe,$e,gt):Oe(ke,qe,$e,gt)}}function Oe(ke,Be,qe,Ye){qe||Ie(ke,Be),Be.pendingcb--,Ye(),Qe(ke,Be)}function Ie(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 Ye=Be.bufferedRequestCount,gt=new Array(Ye),$e=Be.corkedRequestsFree;$e.entry=qe;for(var We=0,Re=!0;qe;)gt[We]=qe,qe.isBuf||(Re=!1),qe=qe.next,We+=1;gt.allBuffers=Re,Te(ke,Be,!0,Be.length,gt,"",$e.finish),Be.pendingcb++,Be.lastBufferedRequest=null,$e.next?(Be.corkedRequestsFree=$e.next,$e.next=null):Be.corkedRequestsFree=new ae(Be),Be.bufferedRequestCount=0}else{for(;qe;){var tt=qe.chunk,Me=qe.encoding,He=qe.callback,Ve=Be.objectMode?1:tt.length;if(Te(ke,Be,!1,Ve,tt,Me,He),qe=qe.next,Be.bufferedRequestCount--,Be.writing)break}qe===null&&(Be.lastBufferedRequest=null)}Be.bufferedRequest=qe,Be.bufferProcessing=!1}me.prototype._write=function(ke,Be,qe){qe(new Error("_write() is not implemented"))},me.prototype._writev=null,me.prototype.end=function(ke,Be,qe){var Ye=this._writableState;typeof ke=="function"?(qe=ke,ke=null,Be=null):typeof Be=="function"&&(qe=Be,Be=null),ke!=null&&this.write(ke,Be),Ye.corked&&(Ye.corked=1,this.uncork()),!Ye.ending&&!Ye.finished&&Xe(this,Ye,qe)};function je(ke){return ke.ending&&ke.length===0&&ke.bufferedRequest===null&&!ke.finished&&!ke.writing}function nt(ke,Be){ke._final(function(qe){Be.pendingcb--,qe&&ke.emit("error",qe),Be.prefinished=!0,ke.emit("prefinish"),Qe(ke,Be)})}function Je(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&&(Je(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 Ye=ke.entry;for(ke.entry=null;Ye;){var gt=Ye.callback;Be.pendingcb--,gt(qe),Ye=Ye.next}Be.corkedRequestsFree?Be.corkedRequestsFree.next=ke:Be.corkedRequestsFree=ke}Object.defineProperty(me.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ke){this._writableState&&(this._writableState.destroyed=ke)}}),me.prototype.destroy=ue.destroy,me.prototype._undestroy=ue.undestroy,me.prototype._destroy=function(ke,Be){this.end(),Be(ke)}}).call(this)}).call(this,E("_process"),typeof ft!="undefined"?ft: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(Je,Qe,Xe){return Object.defineProperty(Je,Qe,{value:Xe,enumerable:!0,configurable:!0,writable:!0}),Je[Qe]}try{a({},"")}catch(Je){a=function(Qe,Xe,ze){return Qe[Xe]=ze}}function y(Je,Qe,Xe,ze){var ke=Qe&&Qe.prototype instanceof ge?Qe:ge,Be=Object.create(ke.prototype),qe=new Ue(ze||[]);return Be._invoke=_e(Je,Xe,qe),Be}re.wrap=y;function x(Je,Qe,Xe){try{return{type:"normal",arg:Je.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 me(){}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=me.prototype=ge.prototype=Object.create(Se);ve.prototype=me,a(we,"constructor",me),a(me,"constructor",ve),ve.displayName=a(me,z,"GeneratorFunction");function Te(Je){["next","throw","return"].forEach(function(Qe){a(Je,Qe,function(Xe){return this._invoke(Qe,Xe)})})}re.isGeneratorFunction=function(Je){var Qe=typeof Je=="function"&&Je.constructor;return Qe?Qe===ve||(Qe.displayName||Qe.name)==="GeneratorFunction":!1},re.mark=function(Je){return Object.setPrototypeOf?Object.setPrototypeOf(Je,me):(Je.__proto__=me,a(Je,z,"GeneratorFunction")),Je.prototype=Object.create(we),Je},re.awrap=function(Je){return{__await:Je}};function Ee(Je,Qe){function Xe(Be,qe,Ye,gt){var $e=x(Je[Be],Je,qe);if($e.type==="throw")gt($e.arg);else{var We=$e.arg,Re=We.value;return Re&&typeof Re=="object"&&le.call(Re,"__await")?Qe.resolve(Re.__await).then(function(tt){Xe("next",tt,Ye,gt)},function(tt){Xe("throw",tt,Ye,gt)}):Qe.resolve(Re).then(function(tt){We.value=tt,Ye(We)},function(tt){return Xe("throw",tt,Ye,gt)})}}var ze;function ke(Be,qe){function Ye(){return new Qe(function(gt,$e){Xe(Be,qe,gt,$e)})}return ze=ze?ze.then(Ye,Ye):Ye()}this._invoke=ke}Te(Ee.prototype),a(Ee.prototype,ne,function(){return this}),re.AsyncIterator=Ee,re.async=function(Je,Qe,Xe,ze,ke){ke===void 0&&(ke=Promise);var Be=new Ee(y(Je,Qe,Xe,ze),ke);return re.isGeneratorFunction(Qe)?Be:Be.next().then(function(qe){return qe.done?qe.value:Be.next()})};function _e(Je,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 Ye=Xe.delegate;if(Ye){var gt=Ce(Ye,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 $e=x(Je,Qe,Xe);if($e.type==="normal"){if(ze=Xe.done?ue:ee,$e.arg===de)continue;return{value:$e.arg,done:Xe.done}}else $e.type==="throw"&&(ze=ue,Xe.method="throw",Xe.arg=$e.arg)}}}function Ce(Je,Qe){var Xe=Je.iterator[Qe.method];if(Xe===ce){if(Qe.delegate=null,Qe.method==="throw"){if(Je.iterator.return&&(Qe.method="return",Qe.arg=ce,Ce(Je,Qe),Qe.method==="throw"))return de;Qe.method="throw",Qe.arg=new TypeError("The iterator does not provide a 'throw' method")}return de}var ze=x(Xe,Je.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[Je.resultName]=ke.value,Qe.next=Je.nextLoc,Qe.method!=="return"&&(Qe.method="next",Qe.arg=ce);else return ke;return Qe.delegate=null,de}Te(we),a(we,z,"Generator"),a(we,oe,function(){return this}),a(we,"toString",function(){return"[object Generator]"});function Oe(Je){var Qe={tryLoc:Je[0]};1 in Je&&(Qe.catchLoc=Je[1]),2 in Je&&(Qe.finallyLoc=Je[2],Qe.afterLoc=Je[3]),this.tryEntries.push(Qe)}function Ie(Je){var Qe=Je.completion||{};Qe.type="normal",delete Qe.arg,Je.completion=Qe}function Ue(Je){this.tryEntries=[{tryLoc:"root"}],Je.forEach(Oe,this),this.reset(!0)}re.keys=function(Je){var Qe=[];for(var Xe in Je)Qe.push(Xe);return Qe.reverse(),function ze(){for(;Qe.length;){var ke=Qe.pop();if(ke in Je)return ze.value=ke,ze.done=!1,ze}return ze.done=!0,ze}};function je(Je){if(Je){var Qe=Je[oe];if(Qe)return Qe.call(Je);if(typeof Je.next=="function")return Je;if(!isNaN(Je.length)){var Xe=-1,ze=function ke(){for(;++Xe<Je.length;)if(le.call(Je,Xe))return ke.value=Je[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(Je){if(this.prev=0,this.next=0,this.sent=this._sent=ce,this.done=!1,this.delegate=null,this.method="next",this.arg=ce,this.tryEntries.forEach(Ie),!Je)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 Je=this.tryEntries[0],Qe=Je.completion;if(Qe.type==="throw")throw Qe.arg;return this.rval},dispatchException:function(Je){if(this.done)throw Je;var Qe=this;function Xe(gt,$e){return Be.type="throw",Be.arg=Je,Qe.next=gt,$e&&(Qe.method="next",Qe.arg=ce),!!$e}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"),Ye=le.call(ke,"finallyLoc");if(qe&&Ye){if(this.prev<ke.catchLoc)return Xe(ke.catchLoc,!0);if(this.prev<ke.finallyLoc)return Xe(ke.finallyLoc)}else if(qe){if(this.prev<ke.catchLoc)return Xe(ke.catchLoc,!0)}else if(Ye){if(this.prev<ke.finallyLoc)return Xe(ke.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(Je,Qe){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var ze=this.tryEntries[Xe];if(ze.tryLoc<=this.prev&&le.call(ze,"finallyLoc")&&this.prev<ze.finallyLoc){var ke=ze;break}}ke&&(Je==="break"||Je==="continue")&&ke.tryLoc<=Qe&&Qe<=ke.finallyLoc&&(ke=null);var Be=ke?ke.completion:{};return Be.type=Je,Be.arg=Qe,ke?(this.method="next",this.next=ke.finallyLoc,de):this.complete(Be)},complete:function(Je,Qe){if(Je.type==="throw")throw Je.arg;return Je.type==="break"||Je.type==="continue"?this.next=Je.arg:Je.type==="return"?(this.rval=this.arg=Je.arg,this.method="return",this.next="end"):Je.type==="normal"&&Qe&&(this.next=Qe),de},finish:function(Je){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var Xe=this.tryEntries[Qe];if(Xe.finallyLoc===Je)return this.complete(Xe.completion,Xe.afterLoc),Ie(Xe),de}},catch:function(Je){for(var Qe=this.tryEntries.length-1;Qe>=0;--Qe){var Xe=this.tryEntries[Qe];if(Xe.tryLoc===Je){var ze=Xe.completion;if(ze.type==="throw"){var ke=ze.arg;Ie(Xe)}return ke}}throw new Error("illegal catch attempt")},delegateYield:function(Je,Qe,Xe){return this.delegate={iterator:je(Je),resultName:Qe,nextLoc:Xe},this.method==="next"&&(this.arg=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(We,Re){return new le(We,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(We,Re){if(!(this instanceof le))return new le(We,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=!!We,tt.noscript=!!(We||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(We){function Re(){}Re.prototype=We;var tt=new Re;return tt}),Object.keys||(Object.keys=function(We){var Re=[];for(var tt in We)We.hasOwnProperty(tt)&&Re.push(tt);return Re});function ce(We){for(var Re=Math.max(re.MAX_BUFFER_LENGTH,10),tt=0,Me=0,He=ie.length;Me<He;Me++){var Ve=We[ie[Me]].length;if(Ve>Re)switch(ie[Me]){case"textNode":Ie(We);break;case"cdata":Oe(We,"oncdata",We.cdata),We.cdata="";break;case"script":Oe(We,"onscript",We.script),We.script="";break;default:je(We,"Max buffer length exceeded: "+ie[Me])}tt=Math.max(tt,Ve)}var Ze=re.MAX_BUFFER_LENGTH-tt;We.bufferCheckPosition=Ze+We.position}function ae(We){for(var Re=0,tt=ie.length;Re<tt;Re++)We[ie[Re]]=""}function oe(We){Ie(We),We.cdata!==""&&(Oe(We,"oncdata",We.cdata),We.cdata=""),We.script!==""&&(Oe(We,"onscript",We.script),We.script="")}le.prototype={end:function(){nt(this)},write:$e,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(We){ne=function(){}}var z=re.EVENTS.filter(function(We){return We!=="error"&&We!=="end"});function a(We,Re){return new y(We,Re)}function y(We,Re){if(!(this instanceof y))return new y(We,Re);ne.apply(this),this._parser=new le(We,Re),this.writable=!0,this.readable=!0;var tt=this;this._parser.onend=function(){tt.emit("end")},this._parser.onerror=function(Me){tt.emit("error",Me),tt._parser.error=null},this._decoder=null,z.forEach(function(Me){Object.defineProperty(tt,"on"+Me,{get:function(){return tt._parser["on"+Me]},set:function(He){if(!He)return tt.removeAllListeners(Me),tt._parser["on"+Me]=He,He;tt.on(Me,He)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(ne.prototype,{constructor:{value:y}}),y.prototype.write=function(We){if(typeof se=="function"&&typeof se.isBuffer=="function"&&se.isBuffer(We)){if(!this._decoder){var Re=E("string_decoder").StringDecoder;this._decoder=new Re("utf8")}We=this._decoder.write(We)}return this._parser.write(We.toString()),this.emit("data",We),!0},y.prototype.end=function(We){return We&&We.length&&this.write(We),this._parser.end(),!0},y.prototype.on=function(We,Re){var tt=this;return!tt._parser["on"+We]&&z.indexOf(We)!==-1&&(tt._parser["on"+We]=function(){var Me=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Me.splice(0,0,We),tt.emit.apply(tt,Me)}),ne.prototype.on.call(tt,We,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]/,me=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function Se(We){return We===" "||We===`
`||We==="\r"||We===" "}function ye(We){return We==='"'||We==="'"}function Pe(We){return We===">"||Se(We)}function we(We,Re){return We.test(Re)}function Te(We,Re){return!we(We,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(We){var Re=re.ENTITIES[We],tt=typeof Re=="number"?String.fromCharCode(Re):Re;re.ENTITIES[We]=tt});for(var _e in re.STATE)re.STATE[re.STATE[_e]]=_e;Ee=re.STATE;function Ce(We,Re,tt){We[Re]&&We[Re](tt)}function Oe(We,Re,tt){We.textNode&&Ie(We),Ce(We,Re,tt)}function Ie(We){We.textNode=Ue(We.opt,We.textNode),We.textNode&&Ce(We,"ontext",We.textNode),We.textNode=""}function Ue(We,Re){return We.trim&&(Re=Re.trim()),We.normalize&&(Re=Re.replace(/\s+/g," ")),Re}function je(We,Re){return Ie(We),We.trackPosition&&(Re+=`
Line: `+We.line+`
Column: `+We.column+`
Char: `+We.c),Re=new Error(Re),We.error=Re,Ce(We,"onerror",Re),We}function nt(We){return We.sawRoot&&!We.closedRoot&&Je(We,"Unclosed root tag"),We.state!==Ee.BEGIN&&We.state!==Ee.BEGIN_WHITESPACE&&We.state!==Ee.TEXT&&je(We,"Unexpected end"),Ie(We),We.c="",We.closed=!0,Ce(We,"onend"),le.call(We,We.strict,We.opt),We}function Je(We,Re){if(typeof We!="object"||!(We instanceof le))throw new Error("bad call to strictFail");We.strict&&je(We,Re)}function Qe(We){We.strict||(We.tagName=We.tagName[We.looseCase]());var Re=We.tags[We.tags.length-1]||We,tt=We.tag={name:We.tagName,attributes:{}};We.opt.xmlns&&(tt.ns=Re.ns),We.attribList.length=0,Oe(We,"onopentagstart",tt)}function Xe(We,Re){var tt=We.indexOf(":"),Me=tt<0?["",We]:We.split(":"),He=Me[0],Ve=Me[1];return Re&&We==="xmlns"&&(He="xmlns",Ve=""),{prefix:He,local:Ve}}function ze(We){if(We.strict||(We.attribName=We.attribName[We.looseCase]()),We.attribList.indexOf(We.attribName)!==-1||We.tag.attributes.hasOwnProperty(We.attribName)){We.attribName=We.attribValue="";return}if(We.opt.xmlns){var Re=Xe(We.attribName,!0),tt=Re.prefix,Me=Re.local;if(tt==="xmlns")if(Me==="xml"&&We.attribValue!==ee)Je(We,"xml: prefix must be bound to "+ee+`
Actual: `+We.attribValue);else if(Me==="xmlns"&&We.attribValue!==te)Je(We,"xmlns: prefix must be bound to "+te+`
Actual: `+We.attribValue);else{var He=We.tag,Ve=We.tags[We.tags.length-1]||We;He.ns===Ve.ns&&(He.ns=Object.create(Ve.ns)),He.ns[Me]=We.attribValue}We.attribList.push([We.attribName,We.attribValue])}else We.tag.attributes[We.attribName]=We.attribValue,Oe(We,"onattribute",{name:We.attribName,value:We.attribValue});We.attribName=We.attribValue=""}function ke(We,Re){if(We.opt.xmlns){var tt=We.tag,Me=Xe(We.tagName);tt.prefix=Me.prefix,tt.local=Me.local,tt.uri=tt.ns[Me.prefix]||"",tt.prefix&&!tt.uri&&(Je(We,"Unbound namespace prefix: "+JSON.stringify(We.tagName)),tt.uri=Me.prefix);var He=We.tags[We.tags.length-1]||We;tt.ns&&He.ns!==tt.ns&&Object.keys(tt.ns).forEach(function(rt){Oe(We,"onopennamespace",{prefix:rt,uri:tt.ns[rt]})});for(var Ve=0,Ze=We.attribList.length;Ve<Ze;Ve++){var Ke=We.attribList[Ve],Ae=Ke[0],Le=Ke[1],Ne=Xe(Ae,!0),Ge=Ne.prefix,ot=Ne.local,St=Ge===""?"":tt.ns[Ge]||"",wt={name:Ae,value:Le,prefix:Ge,local:ot,uri:St};Ge&&Ge!=="xmlns"&&!St&&(Je(We,"Unbound namespace prefix: "+JSON.stringify(Ge)),wt.uri=Ge),We.tag.attributes[Ae]=wt,Oe(We,"onattribute",wt)}We.attribList.length=0}We.tag.isSelfClosing=!!Re,We.sawRoot=!0,We.tags.push(We.tag),Oe(We,"onopentag",We.tag),Re||(!We.noscript&&We.tagName.toLowerCase()==="script"?We.state=Ee.SCRIPT:We.state=Ee.TEXT,We.tag=null,We.tagName=""),We.attribName=We.attribValue="",We.attribList.length=0}function Be(We){if(!We.tagName){Je(We,"Weird empty close tag."),We.textNode+="</>",We.state=Ee.TEXT;return}if(We.script){if(We.tagName!=="script"){We.script+="</"+We.tagName+">",We.tagName="",We.state=Ee.SCRIPT;return}Oe(We,"onscript",We.script),We.script=""}var Re=We.tags.length,tt=We.tagName;We.strict||(tt=tt[We.looseCase]());for(var Me=tt;Re--;){var He=We.tags[Re];if(He.name!==Me)Je(We,"Unexpected close tag");else break}if(Re<0){Je(We,"Unmatched closing tag: "+We.tagName),We.textNode+="</"+We.tagName+">",We.state=Ee.TEXT;return}We.tagName=tt;for(var Ve=We.tags.length;Ve-- >Re;){var Ze=We.tag=We.tags.pop();We.tagName=We.tag.name,Oe(We,"onclosetag",We.tagName);var Ke={};for(var Ae in Ze.ns)Ke[Ae]=Ze.ns[Ae];var Le=We.tags[We.tags.length-1]||We;We.opt.xmlns&&Ze.ns!==Le.ns&&Object.keys(Ze.ns).forEach(function(Ne){var Ge=Ze.ns[Ne];Oe(We,"onclosenamespace",{prefix:Ne,uri:Ge})})}Re===0&&(We.closedRoot=!0),We.tagName=We.attribValue=We.attribName="",We.attribList.length=0,We.state=Ee.TEXT}function qe(We){var Re=We.entity,tt=Re.toLowerCase(),Me,He="";return We.ENTITIES[Re]?We.ENTITIES[Re]:We.ENTITIES[tt]?We.ENTITIES[tt]:(Re=tt,Re.charAt(0)==="#"&&(Re.charAt(1)==="x"?(Re=Re.slice(2),Me=parseInt(Re,16),He=Me.toString(16)):(Re=Re.slice(1),Me=parseInt(Re,10),He=Me.toString(10))),Re=Re.replace(/^0+/,""),isNaN(Me)||He.toLowerCase()!==Re?(Je(We,"Invalid character entity"),"&"+We.entity+";"):String.fromCodePoint(Me))}function Ye(We,Re){Re==="<"?(We.state=Ee.OPEN_WAKA,We.startTagPosition=We.position):Se(Re)||(Je(We,"Non-whitespace before first tag."),We.textNode=Re,We.state=Ee.TEXT)}function gt(We,Re){var tt="";return Re<We.length&&(tt=We.charAt(Re)),tt}function $e(We){var Re=this;if(this.error)throw this.error;if(Re.closed)return je(Re,"Cannot write after close. Assign an onready handler.");if(We===null)return nt(Re);typeof We=="object"&&(We=We.toString());for(var tt=0,Me="";Me=gt(We,tt++),Re.c=Me,!!Me;)switch(Re.trackPosition&&(Re.position++,Me===`
`?(Re.line++,Re.column=0):Re.column++),Re.state){case Ee.BEGIN:if(Re.state=Ee.BEGIN_WHITESPACE,Me==="\uFEFF")continue;Ye(Re,Me);continue;case Ee.BEGIN_WHITESPACE:Ye(Re,Me);continue;case Ee.TEXT:if(Re.sawRoot&&!Re.closedRoot){for(var He=tt-1;Me&&Me!=="<"&&Me!=="&";)Me=gt(We,tt++),Me&&Re.trackPosition&&(Re.position++,Me===`
`?(Re.line++,Re.column=0):Re.column++);Re.textNode+=We.substring(He,tt-1)}Me==="<"&&!(Re.sawRoot&&Re.closedRoot&&!Re.strict)?(Re.state=Ee.OPEN_WAKA,Re.startTagPosition=Re.position):(!Se(Me)&&(!Re.sawRoot||Re.closedRoot)&&Je(Re,"Text data outside of root node."),Me==="&"?Re.state=Ee.TEXT_ENTITY:Re.textNode+=Me);continue;case Ee.SCRIPT:Me==="<"?Re.state=Ee.SCRIPT_ENDING:Re.script+=Me;continue;case Ee.SCRIPT_ENDING:Me==="/"?Re.state=Ee.CLOSE_TAG:(Re.script+="<"+Me,Re.state=Ee.SCRIPT);continue;case Ee.OPEN_WAKA:if(Me==="!")Re.state=Ee.SGML_DECL,Re.sgmlDecl="";else if(!Se(Me))if(we(de,Me))Re.state=Ee.OPEN_TAG,Re.tagName=Me;else if(Me==="/")Re.state=Ee.CLOSE_TAG,Re.tagName="";else if(Me==="?")Re.state=Ee.PROC_INST,Re.procInstName=Re.procInstBody="";else{if(Je(Re,"Unencoded <"),Re.startTagPosition+1<Re.position){var Ve=Re.position-Re.startTagPosition;Me=new Array(Ve).join(" ")+Me}Re.textNode+="<"+Me,Re.state=Ee.TEXT}continue;case Ee.SGML_DECL:(Re.sgmlDecl+Me).toUpperCase()===x?(Oe(Re,"onopencdata"),Re.state=Ee.CDATA,Re.sgmlDecl="",Re.cdata=""):Re.sgmlDecl+Me==="--"?(Re.state=Ee.COMMENT,Re.comment="",Re.sgmlDecl=""):(Re.sgmlDecl+Me).toUpperCase()===b?(Re.state=Ee.DOCTYPE,(Re.doctype||Re.sawRoot)&&Je(Re,"Inappropriately located doctype declaration"),Re.doctype="",Re.sgmlDecl=""):Me===">"?(Oe(Re,"onsgmldeclaration",Re.sgmlDecl),Re.sgmlDecl="",Re.state=Ee.TEXT):(ye(Me)&&(Re.state=Ee.SGML_DECL_QUOTED),Re.sgmlDecl+=Me);continue;case Ee.SGML_DECL_QUOTED:Me===Re.q&&(Re.state=Ee.SGML_DECL,Re.q=""),Re.sgmlDecl+=Me;continue;case Ee.DOCTYPE:Me===">"?(Re.state=Ee.TEXT,Oe(Re,"ondoctype",Re.doctype),Re.doctype=!0):(Re.doctype+=Me,Me==="["?Re.state=Ee.DOCTYPE_DTD:ye(Me)&&(Re.state=Ee.DOCTYPE_QUOTED,Re.q=Me));continue;case Ee.DOCTYPE_QUOTED:Re.doctype+=Me,Me===Re.q&&(Re.q="",Re.state=Ee.DOCTYPE);continue;case Ee.DOCTYPE_DTD:Re.doctype+=Me,Me==="]"?Re.state=Ee.DOCTYPE:ye(Me)&&(Re.state=Ee.DOCTYPE_DTD_QUOTED,Re.q=Me);continue;case Ee.DOCTYPE_DTD_QUOTED:Re.doctype+=Me,Me===Re.q&&(Re.state=Ee.DOCTYPE_DTD,Re.q="");continue;case Ee.COMMENT:Me==="-"?Re.state=Ee.COMMENT_ENDING:Re.comment+=Me;continue;case Ee.COMMENT_ENDING:Me==="-"?(Re.state=Ee.COMMENT_ENDED,Re.comment=Ue(Re.opt,Re.comment),Re.comment&&Oe(Re,"oncomment",Re.comment),Re.comment=""):(Re.comment+="-"+Me,Re.state=Ee.COMMENT);continue;case Ee.COMMENT_ENDED:Me!==">"?(Je(Re,"Malformed comment"),Re.comment+="--"+Me,Re.state=Ee.COMMENT):Re.state=Ee.TEXT;continue;case Ee.CDATA:Me==="]"?Re.state=Ee.CDATA_ENDING:Re.cdata+=Me;continue;case Ee.CDATA_ENDING:Me==="]"?Re.state=Ee.CDATA_ENDING_2:(Re.cdata+="]"+Me,Re.state=Ee.CDATA);continue;case Ee.CDATA_ENDING_2:Me===">"?(Re.cdata&&Oe(Re,"oncdata",Re.cdata),Oe(Re,"onclosecdata"),Re.cdata="",Re.state=Ee.TEXT):Me==="]"?Re.cdata+="]":(Re.cdata+="]]"+Me,Re.state=Ee.CDATA);continue;case Ee.PROC_INST:Me==="?"?Re.state=Ee.PROC_INST_ENDING:Se(Me)?Re.state=Ee.PROC_INST_BODY:Re.procInstName+=Me;continue;case Ee.PROC_INST_BODY:if(!Re.procInstBody&&Se(Me))continue;Me==="?"?Re.state=Ee.PROC_INST_ENDING:Re.procInstBody+=Me;continue;case Ee.PROC_INST_ENDING:Me===">"?(Oe(Re,"onprocessinginstruction",{name:Re.procInstName,body:Re.procInstBody}),Re.procInstName=Re.procInstBody="",Re.state=Ee.TEXT):(Re.procInstBody+="?"+Me,Re.state=Ee.PROC_INST_BODY);continue;case Ee.OPEN_TAG:we(ge,Me)?Re.tagName+=Me:(Qe(Re),Me===">"?ke(Re):Me==="/"?Re.state=Ee.OPEN_TAG_SLASH:(Se(Me)||Je(Re,"Invalid character in tag name"),Re.state=Ee.ATTRIB));continue;case Ee.OPEN_TAG_SLASH:Me===">"?(ke(Re,!0),Be(Re)):(Je(Re,"Forward-slash in opening tag not followed by >"),Re.state=Ee.ATTRIB);continue;case Ee.ATTRIB:if(Se(Me))continue;Me===">"?ke(Re):Me==="/"?Re.state=Ee.OPEN_TAG_SLASH:we(de,Me)?(Re.attribName=Me,Re.attribValue="",Re.state=Ee.ATTRIB_NAME):Je(Re,"Invalid attribute name");continue;case Ee.ATTRIB_NAME:Me==="="?Re.state=Ee.ATTRIB_VALUE:Me===">"?(Je(Re,"Attribute without value"),Re.attribValue=Re.attribName,ze(Re),ke(Re)):Se(Me)?Re.state=Ee.ATTRIB_NAME_SAW_WHITE:we(ge,Me)?Re.attribName+=Me:Je(Re,"Invalid attribute name");continue;case Ee.ATTRIB_NAME_SAW_WHITE:if(Me==="=")Re.state=Ee.ATTRIB_VALUE;else{if(Se(Me))continue;Je(Re,"Attribute without value"),Re.tag.attributes[Re.attribName]="",Re.attribValue="",Oe(Re,"onattribute",{name:Re.attribName,value:""}),Re.attribName="",Me===">"?ke(Re):we(de,Me)?(Re.attribName=Me,Re.state=Ee.ATTRIB_NAME):(Je(Re,"Invalid attribute name"),Re.state=Ee.ATTRIB)}continue;case Ee.ATTRIB_VALUE:if(Se(Me))continue;ye(Me)?(Re.q=Me,Re.state=Ee.ATTRIB_VALUE_QUOTED):(Je(Re,"Unquoted attribute value"),Re.state=Ee.ATTRIB_VALUE_UNQUOTED,Re.attribValue=Me);continue;case Ee.ATTRIB_VALUE_QUOTED:if(Me!==Re.q){Me==="&"?Re.state=Ee.ATTRIB_VALUE_ENTITY_Q:Re.attribValue+=Me;continue}ze(Re),Re.q="",Re.state=Ee.ATTRIB_VALUE_CLOSED;continue;case Ee.ATTRIB_VALUE_CLOSED:Se(Me)?Re.state=Ee.ATTRIB:Me===">"?ke(Re):Me==="/"?Re.state=Ee.OPEN_TAG_SLASH:we(de,Me)?(Je(Re,"No whitespace between attributes"),Re.attribName=Me,Re.attribValue="",Re.state=Ee.ATTRIB_NAME):Je(Re,"Invalid attribute name");continue;case Ee.ATTRIB_VALUE_UNQUOTED:if(!Pe(Me)){Me==="&"?Re.state=Ee.ATTRIB_VALUE_ENTITY_U:Re.attribValue+=Me;continue}ze(Re),Me===">"?ke(Re):Re.state=Ee.ATTRIB;continue;case Ee.CLOSE_TAG:if(Re.tagName)Me===">"?Be(Re):we(ge,Me)?Re.tagName+=Me:Re.script?(Re.script+="</"+Re.tagName,Re.tagName="",Re.state=Ee.SCRIPT):(Se(Me)||Je(Re,"Invalid tagname in closing tag"),Re.state=Ee.CLOSE_TAG_SAW_WHITE);else{if(Se(Me))continue;Te(de,Me)?Re.script?(Re.script+="</"+Me,Re.state=Ee.SCRIPT):Je(Re,"Invalid tagname in closing tag."):Re.tagName=Me}continue;case Ee.CLOSE_TAG_SAW_WHITE:if(Se(Me))continue;Me===">"?Be(Re):Je(Re,"Invalid characters in closing tag");continue;case Ee.TEXT_ENTITY:case Ee.ATTRIB_VALUE_ENTITY_Q:case Ee.ATTRIB_VALUE_ENTITY_U:var Ze,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}Me===";"?(Re[Ke]+=qe(Re),Re.entity="",Re.state=Ze):we(Re.entity.length?me:ve,Me)?Re.entity+=Me:(Je(Re,"Invalid character in entity name"),Re[Ke]+="&"+Re.entity+Me,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 We=String.fromCharCode,Re=Math.floor,tt=function(){var Me=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>Me)&&(Le+=We.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,me=de.ERR_METHOD_NOT_IMPLEMENTED,Se=de.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ye,Pe,we;E("inherits")(Oe,ae);var Te=ee.errorOrDestroy,Ee=["error","close","destroy","pause","resume"];function _e(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),Ie(this,Ke,Ae,!1,Ne)},Oe.prototype.unshift=function(Ke){return Ie(this,Ke,null,!0,!1)};function Ie(Ke,Ae,Le,Ne,Ge){x("readableAddChunk",Ae);var ot=Ke._readableState;if(Ae===null)ot.reading=!1,Xe(Ke,ot);else{var St;if(Ge||(St=je(ot,Ae)),St)Te(Ke,St);else if(ot.objectMode||Ae&&Ae.length>0)if(typeof Ae!="string"&&!ot.objectMode&&Object.getPrototypeOf(Ae)!==oe.prototype&&(Ae=z(Ae)),Ne)ot.endEmitted?Te(Ke,new Se):Ue(Ke,ot,Ae,!0);else if(ot.ended)Te(Ke,new ve);else{if(ot.destroyed)return!1;ot.reading=!1,ot.decoder&&!Le?(Ae=ot.decoder.write(Ae),ot.objectMode||Ae.length!==0?Ue(Ke,ot,Ae,!1):Be(Ke,ot)):Ue(Ke,ot,Ae,!1)}else Ne||(ot.reading=!1,Be(Ke,ot))}return!ot.ended&&(ot.length<ot.highWaterMark||ot.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 Je(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=Je(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=Me(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){Te(this,new me("_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,ot=Ge?wt:pt;Ne.endEmitted?se.nextTick(ot):Le.once("end",ot),Ke.on("unpipe",St);function St(Ct,Rt){x("onunpipe"),Ct===Le&&Rt&&Rt.hasUnpiped===!1&&(Rt.hasUnpiped=!0,Ft())}function wt(){x("onend"),Ke.end()}var rt=Ye(Le);Ke.on("drain",rt);var bt=!1;function Ft(){x("cleanup"),Ke.removeListener("close",Nt),Ke.removeListener("finish",ct),Ke.removeListener("drain",rt),Ke.removeListener("error",st),Ke.removeListener("unpipe",St),Le.removeListener("end",wt),Le.removeListener("end",pt),Le.removeListener("data",$t),bt=!0,Ne.awaitDrain&&(!Ke._writableState||Ke._writableState.needDrain)&&rt()}Le.on("data",$t);function $t(Ct){x("ondata");var Rt=Ke.write(Ct);x("dest.write",Rt),Rt===!1&&((Ne.pipesCount===1&&Ne.pipes===Ke||Ne.pipesCount>1&&Ze(Ne.pipes,Ke)!==-1)&&!bt&&(x("false write response, pause",Ne.awaitDrain),Ne.awaitDrain++),Le.pause())}function st(Ct){x("onerror",Ct),pt(),Ke.removeListener("error",st),ce(Ke,"error")===0&&Te(Ke,Ct)}_e(Ke,"error",st);function Nt(){Ke.removeListener("finish",ct),pt()}Ke.once("close",Nt);function ct(){x("onfinish"),Ke.removeListener("close",Nt),pt()}Ke.once("finish",ct);function pt(){x("unpipe"),Le.unpipe(Ke)}return Ke.emit("pipe",Le),Ne.flowing||(x("pipe resume"),Le.resume()),Ke};function Ye(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 ot=0;ot<Ge;ot++)Ne[ot].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($e,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 $e(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,We(this,Ke)),Ke.paused=!1,this};function We(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 wt=Ae.push(St);wt||(Ne=!0,Ke.pause())}});for(var Ge in Ke)this[Ge]===void 0&&typeof Ke[Ge]=="function"&&(this[Ge]=function(wt){return function(){return Ke[wt].apply(Ke,arguments)}}(Ge));for(var ot=0;ot<Ee.length;ot++)Ke.on(Ee[ot],this.emit.bind(this,Ee[ot]));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=Me,Object.defineProperty(Oe.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Me(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 ft!="undefined"?ft: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,Me,He){this.chunk=tt,this.encoding=Me,this.callback=He,this.next=null}function le(tt){var Me=this;this.next=null,this.entry=null,this.finish=function(){Re(Me,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,me=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 Te(){}function Ee(tt,Me,He){ce=ce||E("./_stream_duplex"),tt=tt||{},typeof He!="boolean"&&(He=Me 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(Me,Ze)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=tt.emitClose!==!1,this.autoDestroy=!!tt.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new le(this)}Ee.prototype.getBuffer=function(){for(var Me=this.bufferedRequest,He=[];Me;)He.push(Me),Me=Me.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 _e;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(_e=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ce,Symbol.hasInstance,{value:function(Me){return _e.call(this,Me)?!0:this!==Ce?!1:Me&&Me._writableState instanceof Ee}})):_e=function(Me){return Me instanceof this};function Ce(tt){ce=ce||E("./_stream_duplex");var Me=this instanceof ce;if(!Me&&!_e.call(Ce,this))return new Ce(tt);this._writableState=new Ee(tt,this,Me),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,Me){var He=new ye;we(tt,He),se.nextTick(Me,He)}function Ie(tt,Me,He,Ve){var Ze;return He===null?Ze=new Se:typeof He!="string"&&!Me.objectMode&&(Ze=new ue("chunk",["string","Buffer"],He)),Ze?(we(tt,Ze),se.nextTick(Ve,Ze),!1):!0}Ce.prototype.write=function(tt,Me,He){var Ve=this._writableState,Ze=!1,Ke=!Ve.objectMode&&y(tt);return Ke&&!ne.isBuffer(tt)&&(tt=a(tt)),typeof Me=="function"&&(He=Me,Me=null),Ke?Me="buffer":Me||(Me=Ve.defaultEncoding),typeof He!="function"&&(He=Te),Ve.ending?Oe(this,He):(Ke||Ie(this,Ve,tt,He))&&(Ve.pendingcb++,Ze=je(this,Ve,Ke,tt,Me,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(Me){if(typeof Me=="string"&&(Me=Me.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Me+"").toLowerCase())>-1))throw new Pe(Me);return this._writableState.defaultEncoding=Me,this},Object.defineProperty(Ce.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ue(tt,Me,He){return!tt.objectMode&&tt.decodeStrings!==!1&&typeof Me=="string"&&(Me=ne.from(Me,He)),Me}Object.defineProperty(Ce.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function je(tt,Me,He,Ve,Ze,Ke){if(!He){var Ae=Ue(Me,Ve,Ze);Ve!==Ae&&(He=!0,Ze="buffer",Ve=Ae)}var Le=Me.objectMode?1:Ve.length;Me.length+=Le;var Ne=Me.length<Me.highWaterMark;if(Ne||(Me.needDrain=!0),Me.writing||Me.corked){var Ge=Me.lastBufferedRequest;Me.lastBufferedRequest={chunk:Ve,encoding:Ze,isBuf:He,callback:Ke,next:null},Ge?Ge.next=Me.lastBufferedRequest:Me.bufferedRequest=Me.lastBufferedRequest,Me.bufferedRequestCount+=1}else nt(tt,Me,!1,Le,Ve,Ze,Ke);return Ne}function nt(tt,Me,He,Ve,Ze,Ke,Ae){Me.writelen=Ve,Me.writecb=Ae,Me.writing=!0,Me.sync=!0,Me.destroyed?Me.onwrite(new me("write")):He?tt._writev(Ze,Me.onwrite):tt._write(Ze,Ke,Me.onwrite),Me.sync=!1}function Je(tt,Me,He,Ve,Ze){--Me.pendingcb,He?(se.nextTick(Ze,Ve),se.nextTick($e,tt,Me),tt._writableState.errorEmitted=!0,we(tt,Ve)):(Ze(Ve),tt._writableState.errorEmitted=!0,we(tt,Ve),$e(tt,Me))}function Qe(tt){tt.writing=!1,tt.writecb=null,tt.length-=tt.writelen,tt.writelen=0}function Xe(tt,Me){var He=tt._writableState,Ve=He.sync,Ze=He.writecb;if(typeof Ze!="function")throw new ge;if(Qe(He),Me)Je(tt,He,Ve,Me,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,Me,He,Ve){He||ke(tt,Me),Me.pendingcb--,Ve(),$e(tt,Me)}function ke(tt,Me){Me.length===0&&Me.needDrain&&(Me.needDrain=!1,tt.emit("drain"))}function Be(tt,Me){Me.bufferProcessing=!0;var He=Me.bufferedRequest;if(tt._writev&&He&&He.next){var Ve=Me.bufferedRequestCount,Ze=new Array(Ve),Ke=Me.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,Me,!0,Me.length,Ze,"",Ke.finish),Me.pendingcb++,Me.lastBufferedRequest=null,Ke.next?(Me.corkedRequestsFree=Ke.next,Ke.next=null):Me.corkedRequestsFree=new le(Me),Me.bufferedRequestCount=0}else{for(;He;){var Ne=He.chunk,Ge=He.encoding,ot=He.callback,St=Me.objectMode?1:Ne.length;if(nt(tt,Me,!1,St,Ne,Ge,ot),He=He.next,Me.bufferedRequestCount--,Me.writing)break}He===null&&(Me.lastBufferedRequest=null)}Me.bufferedRequest=He,Me.bufferProcessing=!1}Ce.prototype._write=function(tt,Me,He){He(new de("_write()"))},Ce.prototype._writev=null,Ce.prototype.end=function(tt,Me,He){var Ve=this._writableState;return typeof tt=="function"?(He=tt,tt=null,Me=null):typeof Me=="function"&&(He=Me,Me=null),tt!=null&&this.write(tt,Me),Ve.corked&&(Ve.corked=1,this.uncork()),Ve.ending||We(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 Ye(tt,Me){tt._final(function(He){Me.pendingcb--,He&&we(tt,He),Me.prefinished=!0,tt.emit("prefinish"),$e(tt,Me)})}function gt(tt,Me){!Me.prefinished&&!Me.finalCalled&&(typeof tt._final=="function"&&!Me.destroyed?(Me.pendingcb++,Me.finalCalled=!0,se.nextTick(Ye,tt,Me)):(Me.prefinished=!0,tt.emit("prefinish")))}function $e(tt,Me){var He=qe(Me);if(He&&(gt(tt,Me),Me.pendingcb===0&&(Me.finished=!0,tt.emit("finish"),Me.autoDestroy))){var Ve=tt._readableState;(!Ve||Ve.autoDestroy&&Ve.endEmitted)&&tt.destroy()}return He}function We(tt,Me,He){Me.ending=!0,$e(tt,Me),He&&(Me.finished?se.nextTick(He):tt.once("finish",He)),Me.ended=!0,tt.writable=!1}function Re(tt,Me,He){var Ve=tt.entry;for(tt.entry=null;Ve;){var Ze=Ve.callback;Me.pendingcb--,Ze(He),Ve=Ve.next}Me.corkedRequestsFree.next=tt}Object.defineProperty(Ce.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Me){this._writableState&&(this._writableState.destroyed=Me)}}),Ce.prototype.destroy=x.destroy,Ce.prototype._undestroy=x.undestroy,Ce.prototype._destroy=function(tt,Me){Me(tt)}}).call(this)}).call(this,E("_process"),typeof ft!="undefined"?ft: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(_e,Ce){se.nextTick(function(){ye[z]?Ce(ye[z]):_e(ee(void 0,!0))})});var we=this[y],Te;if(we)Te=new Promise(de(we,this));else{var Ee=this[b].read();if(Ee!==null)return Promise.resolve(ee(Ee,!1));Te=new Promise(this[x])}return this[y]=Te,Te}},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(Te){if(Te){we(Te);return}Pe(ee(void 0,!0))})})}),re),ge),me=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,_e){var Ce=we[b].read();Ce?(we[y]=null,we[oe]=null,we[ne]=null,Ee(ee(Ce,!1))):(we[oe]=Ee,we[ne]=_e)},writable:!0}),Pe));return we[y]=null,ae(ye,function(Te){if(Te&&Te.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Ee=we[ne];Ee!==null&&(we[y]=null,we[oe]=null,we[ne]=null,Ee(Te)),we[z]=Te;return}var _e=we[oe];_e!==null&&(we[y]=null,we[oe]=null,we[ne]=null,_e(ee(void 0,!0))),we[a]=!0}),ye.on("readable",ue.bind(null,we)),we};he.exports=me}).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,me=0;ve;)ee(ve.data,ge,me),me+=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,me=ge.data;for(de-=me.length;ge=ge.next;){var Se=ge.data,ye=de>Se.length?Se.length:de;if(ye===Se.length?me+=Se:me+=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,me}},{key:"_getBuffer",value:function(de){var ge=a.allocUnsafe(de),ve=this.head,me=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?(++me,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=Se.slice(ye));break}++me}return this.length-=me,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(me){ne.call(ae,me)},de=function(){var me;if(z&&!ee)return(!ae._readableState||!ae._readableState.ended)&&(me=new se),ne.call(ae,me);if(a&&!x)return(!ae._writableState||!ae._writableState.ended)&&(me=new se),ne.call(ae,me)},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,me){var Se=me<ee.length-1,ye=me>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,me;if(this.lastNeed){if(ve=this.fillLast(ge),ve===void 0)return"";me=this.lastNeed,this.lastNeed=0}else me=0;return me<ge.length?ve?ve+this.text(ge,me):this.text(ge,me):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,me){var Se=ve.length-1;if(Se<me)return 0;var ye=ae(ve[Se]);return ye>=0?(ye>0&&(ge.lastNeed=ye-1),ye):--Se<me||ye===-2?0:(ye=ae(ve[Se]),ye>=0?(ye>0&&(ge.lastNeed=ye-2),ye):--Se<me||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,me){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,me=ne(this,ge,ve);if(me!==void 0)return me;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 me=oe(this,ge,ve);if(!this.lastNeed)return ge.toString("utf8",ve);this.lastTotal=me;var Se=ge.length-(me-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 me=ge.toString("utf16le",ve);if(me){var Se=me.charCodeAt(me.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],me.slice(0,-1)}return me}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 me=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,me)}return ve}function ee(ge,ve){var me=(ge.length-ve)%3;return me===0?ge.toString("base64",ve):(this.lastNeed=3-me,this.lastTotal=3,me===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-me))}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 ft!="undefined"?ft: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,ot){if(typeof Ge!="object")return!1;try{return ot(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 me(Ge){return ie(Ge)==="Uint32Array"}fe.isUint32Array=me;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 Te(Ge){return ie(Ge)==="Float64Array"}fe.isFloat64Array=Te;function Ee(Ge){return ie(Ge)==="BigInt64Array"}fe.isBigInt64Array=Ee;function _e(Ge){return ie(Ge)==="BigUint64Array"}fe.isBigUint64Array=_e;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 Ie(Ge){return ne(Ge)==="[object Set]"}Ie.working=typeof Set!="undefined"&&Ie(new Set);function Ue(Ge){return typeof Set=="undefined"?!1:Ie.working?Ie(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 Je(Ge){return ne(Ge)==="[object WeakSet]"}Je.working=typeof WeakSet!="undefined"&&Je(new WeakSet);function Qe(Ge){return Je(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 Ye(Ge){return ne(Ge)==="[object SharedArrayBuffer]"}function gt(Ge){return typeof qe=="undefined"?!1:(typeof Ye.working=="undefined"&&(Ye.working=Ye(new qe)),Ye.working?Ye(Ge):Ge instanceof qe)}fe.isSharedArrayBuffer=gt;function $e(Ge){return ne(Ge)==="[object AsyncFunction]"}fe.isAsyncFunction=$e;function We(Ge){return ne(Ge)==="[object Map Iterator]"}fe.isMapIterator=We;function Re(Ge){return ne(Ge)==="[object Set Iterator]"}fe.isSetIterator=Re;function tt(Ge){return ne(Ge)==="[object Generator]"}fe.isGeneratorObject=tt;function Me(Ge){return ne(Ge)==="[object WebAssembly.Module]"}fe.isWebAssemblyCompiledModule=Me;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 Ye=Object.keys(qe),gt={},$e=0;$e<Ye.length;$e++)gt[Ye[$e]]=Object.getOwnPropertyDescriptor(qe,Ye[$e]);return gt},ie=/%[sdj%]/g;fe.format=function(Be){if(!ye(Be)){for(var qe=[],Ye=0;Ye<arguments.length;Ye++)qe.push(oe(arguments[Ye]));return qe.join(" ")}for(var Ye=1,gt=arguments,$e=gt.length,We=String(Be).replace(ie,function(tt){if(tt==="%%")return"%";if(Ye>=$e)return tt;switch(tt){case"%s":return String(gt[Ye++]);case"%d":return Number(gt[Ye++]);case"%j":try{return JSON.stringify(gt[Ye++])}catch(Me){return"[Circular]"}default:return tt}}),Re=gt[Ye];Ye<$e;Re=gt[++Ye])ve(Re)||!Ee(Re)?We+=" "+Re:We+=" "+oe(Re);return We},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 Ye=!1;function gt(){if(!Ye){if(se.throwDeprecation)throw new Error(qe);se.traceDeprecation?console.trace(qe):console.error(qe),Ye=!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 Ye=fe.format.apply(fe,arguments);console.error("%s %d: %s",Be,qe,Ye)}}else le[Be]=function(){};return le[Be]};function oe(Be,qe){var Ye={seen:[],stylize:z};return arguments.length>=3&&(Ye.depth=arguments[2]),arguments.length>=4&&(Ye.colors=arguments[3]),ge(qe)?Ye.showHidden=qe:qe&&fe._extend(Ye,qe),we(Ye.showHidden)&&(Ye.showHidden=!1),we(Ye.depth)&&(Ye.depth=2),we(Ye.colors)&&(Ye.colors=!1),we(Ye.customInspect)&&(Ye.customInspect=!0),Ye.colors&&(Ye.stylize=ne),y(Ye,Be,Ye.depth)}fe.inspect=oe,oe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ne(Be,qe){var Ye=oe.styles[qe];return Ye?"\x1B["+oe.colors[Ye][0]+"m"+Be+"\x1B["+oe.colors[Ye][1]+"m":Be}function z(Be,qe){return Be}function a(Be){var qe={};return Be.forEach(function(Ye,gt){qe[Ye]=!0}),qe}function y(Be,qe,Ye){if(Be.customInspect&&qe&&Oe(qe.inspect)&&qe.inspect!==fe.inspect&&!(qe.constructor&&qe.constructor.prototype===qe)){var gt=qe.inspect(Ye,Be);return ye(gt)||(gt=y(Be,gt,Ye)),gt}var $e=x(Be,qe);if($e)return $e;var We=Object.keys(qe),Re=a(We);if(Be.showHidden&&(We=Object.getOwnPropertyNames(qe)),Ce(qe)&&(We.indexOf("message")>=0||We.indexOf("description")>=0))return b(qe);if(We.length===0){if(Oe(qe)){var tt=qe.name?": "+qe.name:"";return Be.stylize("[Function"+tt+"]","special")}if(Te(qe))return Be.stylize(RegExp.prototype.toString.call(qe),"regexp");if(_e(qe))return Be.stylize(Date.prototype.toString.call(qe),"date");if(Ce(qe))return b(qe)}var Me="",He=!1,Ve=["{","}"];if(de(qe)&&(He=!0,Ve=["[","]"]),Oe(qe)){var Ze=qe.name?": "+qe.name:"";Me=" [Function"+Ze+"]"}if(Te(qe)&&(Me=" "+RegExp.prototype.toString.call(qe)),_e(qe)&&(Me=" "+Date.prototype.toUTCString.call(qe)),Ce(qe)&&(Me=" "+b(qe)),We.length===0&&(!He||qe.length==0))return Ve[0]+Me+Ve[1];if(Ye<0)return Te(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,Ye,Re,We):Ke=We.map(function(Ae){return te(Be,qe,Ye,Re,Ae,He)}),Be.seen.pop(),ue(Ke,Me,Ve)}function x(Be,qe){if(we(qe))return Be.stylize("undefined","undefined");if(ye(qe)){var Ye="'"+JSON.stringify(qe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Be.stylize(Ye,"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,Ye,gt,$e){for(var We=[],Re=0,tt=qe.length;Re<tt;++Re)Qe(qe,String(Re))?We.push(te(Be,qe,Ye,gt,String(Re),!0)):We.push("");return $e.forEach(function(Me){Me.match(/^\d+$/)||We.push(te(Be,qe,Ye,gt,Me,!0))}),We}function te(Be,qe,Ye,gt,$e,We){var Re,tt,Me;if(Me=Object.getOwnPropertyDescriptor(qe,$e)||{value:qe[$e]},Me.get?Me.set?tt=Be.stylize("[Getter/Setter]","special"):tt=Be.stylize("[Getter]","special"):Me.set&&(tt=Be.stylize("[Setter]","special")),Qe(gt,$e)||(Re="["+$e+"]"),tt||(Be.seen.indexOf(Me.value)<0?(ve(Ye)?tt=y(Be,Me.value,null):tt=y(Be,Me.value,Ye-1),tt.indexOf(`
`)>-1&&(We?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(We&&$e.match(/^\d+$/))return tt;Re=JSON.stringify(""+$e),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,Ye){var gt=0,$e=Be.reduce(function(We,Re){return gt++,Re.indexOf(`
`)>=0&&gt++,We+Re.replace(/\u001b\[\d\d?m/g,"").length+1},0);return $e>60?Ye[0]+(qe===""?"":qe+`
`)+" "+Be.join(`,
`)+" "+Ye[1]:Ye[0]+qe+" "+Be.join(", ")+" "+Ye[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 me(Be){return Be==null}fe.isNullOrUndefined=me;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 Te(Be){return Ee(Be)&&Ue(Be)==="[object RegExp]"}fe.isRegExp=Te,fe.types.isRegExp=Te;function Ee(Be){return typeof Be=="object"&&Be!==null}fe.isObject=Ee;function _e(Be){return Ee(Be)&&Ue(Be)==="[object Date]"}fe.isDate=_e,fe.types.isDate=_e;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 Ie(Be){return Be===null||typeof Be=="boolean"||typeof Be=="number"||typeof Be=="string"||typeof Be=="symbol"||typeof Be=="undefined"}fe.isPrimitive=Ie,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 Je(){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",Je(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(Be,qe){if(!qe||!Ee(qe))return Be;for(var Ye=Object.keys(qe),gt=Ye.length;gt--;)Be[Ye[gt]]=qe[Ye[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 Ye=qe[Xe];if(typeof Ye!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Ye,Xe,{value:Ye,enumerable:!1,writable:!1,configurable:!0}),Ye}function Ye(){for(var gt,$e,We=new Promise(function(Me,He){gt=Me,$e=He}),Re=[],tt=0;tt<arguments.length;tt++)Re.push(arguments[tt]);Re.push(function(Me,He){Me?$e(Me):gt(He)});try{qe.apply(this,Re)}catch(Me){$e(Me)}return We}return Object.setPrototypeOf(Ye,Object.getPrototypeOf(qe)),Xe&&Object.defineProperty(Ye,Xe,{value:Ye,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Ye,re(qe))},fe.promisify.custom=Xe;function ze(Be,qe){if(!Be){var Ye=new Error("Promise was rejected with a falsy value");Ye.reason=Be,Be=Ye}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 Ye=[],gt=0;gt<arguments.length;gt++)Ye.push(arguments[gt]);var $e=Ye.pop();if(typeof $e!="function")throw new TypeError("The last argument must be of type Function");var We=this,Re=function(){return $e.apply(We,arguments)};Be.apply(this,Ye).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 me=0;me<ge.length;me+=1)if(ge[me]===ve)return me;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),me=ae(ve,Symbol.toStringTag);if(!me){var Se=x(ve);me=ae(Se,Symbol.toStringTag)}ee["$"+de]=le(me.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(me,Se){if(!ve)try{"$"+me(ge)===Se&&(ve=y(Se,1))}catch(ye){}}),ve},ue=function(ge){var ve=!1;return re(ee,function(me,Se){if(!ve)try{me(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 ft!="undefined"?ft: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,me,Se,ye;if(typeof ue!="object")ee.options.cdata&&le(ue)?te.raw(ce(ue)):te.txt(ue);else if(Array.isArray(ue)){for(me in ue)if(ae.call(ue,me)){ge=ue[me];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(me in ge)ae.call(ge,me)&&(ve=ge[me],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(me){if(ve.saxParser.resume(),!ve.saxParser.errThrown)return ve.saxParser.errThrown=!0,ve.emit("error",me)}}(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(me){var Se,ye,Pe,we,Te;if(Pe={},Pe[ue]="",!ve.options.ignoreAttrs){Te=me.attributes;for(Se in Te)x.call(Te,Se)&&(!(te in Pe)&&!ve.options.mergeAttrs&&(Pe[te]={}),ye=ve.options.attrValueProcessors?ae(ve.options.attrValueProcessors,me.attributes[Se],Se):me.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,me.name):me.name,ve.options.xmlns&&(Pe[ve.options.xmlnskey]={uri:me.uri,local:me.local}),ge.push(Pe)}}(this),this.saxParser.onclosetag=function(ve){return function(){var me,Se,ye,Pe,we,Te,Ee,_e,Ce,Oe;if(Te=ge.pop(),we=Te["#name"],(!ve.options.explicitChildren||!ve.options.preserveChildrenOrder)&&delete Te["#name"],Te.cdata===!0&&(me=Te.cdata,delete Te.cdata),Ce=ge[ge.length-1],Te[ue].match(/^\s*$/)&&!me?(Se=Te[ue],delete Te[ue]):(ve.options.trim&&(Te[ue]=Te[ue].trim()),ve.options.normalize&&(Te[ue]=Te[ue].replace(/\s{2,}/g," ").trim()),Te[ue]=ve.options.valueProcessors?ae(ve.options.valueProcessors,Te[ue],we):Te[ue],Object.keys(Te).length===1&&ue in Te&&!ve.EXPLICIT_CHARKEY&&(Te=Te[ue])),ce(Te)&&(typeof ve.options.emptyTag=="function"?Te=ve.options.emptyTag():Te=ve.options.emptyTag!==""?ve.options.emptyTag:Se),ve.options.validator!=null&&(Oe="/"+function(){var Ie,Ue,je;for(je=[],Ie=0,Ue=ge.length;Ie<Ue;Ie++)Pe=ge[Ie],je.push(Pe["#name"]);return je}().concat(we).join("/"),function(){var Ie;try{return Te=ve.options.validator(Oe,Ce&&Ce[we],Te)}catch(Ue){return Ie=Ue,ve.emit("error",Ie)}}()),ve.options.explicitChildren&&!ve.options.mergeAttrs&&typeof Te=="object"){if(!ve.options.preserveChildrenOrder)Pe={},ve.options.attrkey in Te&&(Pe[ve.options.attrkey]=Te[ve.options.attrkey],delete Te[ve.options.attrkey]),!ve.options.charsAsChildren&&ve.options.charkey in Te&&(Pe[ve.options.charkey]=Te[ve.options.charkey],delete Te[ve.options.charkey]),Object.getOwnPropertyNames(Te).length>0&&(Pe[ve.options.childkey]=Te),Te=Pe;else if(Ce){Ce[ve.options.childkey]=Ce[ve.options.childkey]||[],Ee={};for(ye in Te)x.call(Te,ye)&&ie(Ee,ye,Te[ye]);Ce[ve.options.childkey].push(Ee),delete Te["#name"],Object.keys(Te).length===1&&ue in Te&&!ve.EXPLICIT_CHARKEY&&(Te=Te[ue])}}return ge.length>0?ve.assignOrPush(Ce,we,Te):(ve.options.explicitRoot&&(_e=Te,Te={},ie(Te,we,_e)),ve.resultObject=Te,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),de=function(ve){return function(me){var Se,ye;if(ye=ge[ge.length-1],ye)return ye[ue]+=me,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||me.replace(/\\n/g,"").trim()!=="")&&(ye[ve.options.childkey]=ye[ve.options.childkey]||[],Se={"#name":"__text__"},Se[ue]=me,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(me){var Se;if(Se=de(me),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,me){return ve?ge(ve):de(me)})}}(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,me,Se,ye;if(b.__super__.constructor.call(this,ee),this.type=se.DocType,ee.children){for(me=ee.children,ge=0,ve=me.length;ge<ve;ge++)if(de=me[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,me,Se,ye,Pe,we,Te={}.hasOwnProperty;we=E("./Utility"),ye=we.isObject,Se=we.isFunction,Pe=we.isPlainObject,me=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(_e,Ce,Oe){var Ie;this.name="?xml",this.type=se.Document,_e||(_e={}),Ie={},_e.writer?Pe(_e.writer)&&(Ie=_e.writer,_e.writer=new de):_e.writer=new de,this.options=_e,this.writer=_e.writer,this.writerOptions=this.writer.filterOptions(Ie),this.stringify=new ge(_e),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(_e){var Ce,Oe,Ie,Ue,je,nt,Je,Qe;switch(_e.type){case se.CData:this.cdata(_e.value);break;case se.Comment:this.comment(_e.value);break;case se.Element:Ie={},Je=_e.attribs;for(Oe in Je)Te.call(Je,Oe)&&(Ce=Je[Oe],Ie[Oe]=Ce.value);this.node(_e.name,Ie);break;case se.Dummy:this.dummy();break;case se.Raw:this.raw(_e.value);break;case se.Text:this.text(_e.value);break;case se.ProcessingInstruction:this.instruction(_e.target,_e.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+_e.constructor.name)}for(Qe=_e.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(_e,Ce,Oe){var Ie;if(_e==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(_e));return this.openCurrent(),_e=me(_e),Ce==null&&(Ce={}),Ce=me(Ce),ye(Ce)||(Ie=[Ce,Oe],Oe=Ie[0],Ce=Ie[1]),this.currentNode=new ee(this,_e,Ce),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Oe!=null&&this.text(Oe),this},Ee.prototype.element=function(_e,Ce,Oe){var Ie,Ue,je,nt,Je,Qe;if(this.currentNode&&this.currentNode.type===se.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(_e)||ye(_e)||Se(_e))for(nt=this.options.noValidation,this.options.noValidation=!0,Qe=new x(this.options).element("TEMP_ROOT"),Qe.element(_e),this.options.noValidation=nt,Je=Qe.children,Ue=0,je=Je.length;Ue<je;Ue++)Ie=Je[Ue],this.createChildNode(Ie),Ie.type===se.Element&&this.up();else this.node(_e,Ce,Oe);return this},Ee.prototype.attribute=function(_e,Ce){var Oe,Ie;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(_e));if(_e!=null&&(_e=me(_e)),ye(_e))for(Oe in _e)Te.call(_e,Oe)&&(Ie=_e[Oe],this.attribute(Oe,Ie));else Se(Ce)&&(Ce=Ce.apply()),this.options.keepNullAttributes&&Ce==null?this.currentNode.attribs[_e]=new ie(this,_e,""):Ce!=null&&(this.currentNode.attribs[_e]=new ie(this,_e,Ce));return this},Ee.prototype.text=function(_e){var Ce;return this.openCurrent(),Ce=new ve(this,_e),this.onData(this.writer.text(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.cdata=function(_e){var Ce;return this.openCurrent(),Ce=new le(this,_e),this.onData(this.writer.cdata(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.comment=function(_e){var Ce;return this.openCurrent(),Ce=new ce(this,_e),this.onData(this.writer.comment(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.raw=function(_e){var Ce;return this.openCurrent(),Ce=new ue(this,_e),this.onData(this.writer.raw(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.instruction=function(_e,Ce){var Oe,Ie,Ue,je,nt;if(this.openCurrent(),_e!=null&&(_e=me(_e)),Ce!=null&&(Ce=me(Ce)),Array.isArray(_e))for(Oe=0,je=_e.length;Oe<je;Oe++)Ie=_e[Oe],this.instruction(Ie);else if(ye(_e))for(Ie in _e)Te.call(_e,Ie)&&(Ue=_e[Ie],this.instruction(Ie,Ue));else Se(Ce)&&(Ce=Ce.apply()),nt=new te(this,_e,Ce),this.onData(this.writer.processingInstruction(nt,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},Ee.prototype.declaration=function(_e,Ce,Oe){var Ie;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Ie=new a(this,_e,Ce,Oe),this.onData(this.writer.declaration(Ie,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.doctype=function(_e,Ce,Oe){if(this.openCurrent(),_e==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new y(this,Ce,Oe),this.currentNode.rootNodeName=_e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},Ee.prototype.dtdElement=function(_e,Ce){var Oe;return this.openCurrent(),Oe=new oe(this,_e,Ce),this.onData(this.writer.dtdElement(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.attList=function(_e,Ce,Oe,Ie,Ue){var je;return this.openCurrent(),je=new ae(this,_e,Ce,Oe,Ie,Ue),this.onData(this.writer.dtdAttList(je,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.entity=function(_e,Ce){var Oe;return this.openCurrent(),Oe=new ne(this,!1,_e,Ce),this.onData(this.writer.dtdEntity(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.pEntity=function(_e,Ce){var Oe;return this.openCurrent(),Oe=new ne(this,!0,_e,Ce),this.onData(this.writer.dtdEntity(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ee.prototype.notation=function(_e,Ce){var Oe;return this.openCurrent(),Oe=new z(this,_e,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(_e){var Ce,Oe,Ie,Ue;if(!_e.isOpen){if(!this.root&&this.currentLevel===0&&_e.type===se.Element&&(this.root=_e),Oe="",_e.type===se.Element){this.writerOptions.state=re.OpenTag,Oe=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"<"+_e.name,Ue=_e.attribs;for(Ie in Ue)Te.call(Ue,Ie)&&(Ce=Ue[Ie],Oe+=this.writer.attribute(Ce,this.writerOptions,this.currentLevel));Oe+=(_e.children?">":"/>")+this.writer.endline(_e,this.writerOptions,this.currentLevel),this.writerOptions.state=re.InsideTag}else this.writerOptions.state=re.OpenTag,Oe=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+_e.rootNodeName,_e.pubID&&_e.sysID?Oe+=' PUBLIC "'+_e.pubID+'" "'+_e.sysID+'"':_e.sysID&&(Oe+=' SYSTEM "'+_e.sysID+'"'),_e.children?(Oe+=" [",this.writerOptions.state=re.InsideTag):(this.writerOptions.state=re.CloseTag,Oe+=">"),Oe+=this.writer.endline(_e,this.writerOptions,this.currentLevel);return this.onData(Oe,this.currentLevel),_e.isOpen=!0}},Ee.prototype.closeNode=function(_e){var Ce;if(!_e.isClosed)return Ce="",this.writerOptions.state=re.CloseTag,_e.type===se.Element?Ce=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"</"+_e.name+">"+this.writer.endline(_e,this.writerOptions,this.currentLevel):Ce=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(_e,this.writerOptions,this.currentLevel),this.writerOptions.state=re.None,this.onData(Ce,this.currentLevel),_e.isClosed=!0},Ee.prototype.onData=function(_e,Ce){return this.documentStarted=!0,this.onDataCallback(_e,Ce+1)},Ee.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ee.prototype.debugInfo=function(_e){return _e==null?"":"node: <"+_e+">"},Ee.prototype.ele=function(){return this.element.apply(this,arguments)},Ee.prototype.nod=function(_e,Ce,Oe){return this.node(_e,Ce,Oe)},Ee.prototype.txt=function(_e){return this.text(_e)},Ee.prototype.dat=function(_e){return this.cdata(_e)},Ee.prototype.com=function(_e){return this.comment(_e)},Ee.prototype.ins=function(_e,Ce){return this.instruction(_e,Ce)},Ee.prototype.dec=function(_e,Ce,Oe){return this.declaration(_e,Ce,Oe)},Ee.prototype.dtd=function(_e,Ce,Oe){return this.doctype(_e,Ce,Oe)},Ee.prototype.e=function(_e,Ce,Oe){return this.element(_e,Ce,Oe)},Ee.prototype.n=function(_e,Ce,Oe){return this.node(_e,Ce,Oe)},Ee.prototype.t=function(_e){return this.text(_e)},Ee.prototype.d=function(_e){return this.cdata(_e)},Ee.prototype.c=function(_e){return this.comment(_e)},Ee.prototype.r=function(_e){return this.raw(_e)},Ee.prototype.i=function(_e,Ce){return this.instruction(_e,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(_e,Ce){return this.entity(_e,Ce)},Ee.prototype.pent=function(_e,Ce){return this.pEntity(_e,Ce)},Ee.prototype.not=function(_e,Ce){return this.notation(_e,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,me;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(me=ee.children,ge=0,ve=me.length;ge<ve;ge++)if(de=me[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,me={}.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,Te,Ee;if(this.nodeType===re.Element||this.nodeType===re.DocumentFragment){for(Ee="",Te=this.children,Pe=0,we=Te.length;Pe<we;Pe++)ye=Te[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,Te,Ee,_e;for(this.parent=ye,ye&&(this.options=ye.options,this.stringify=ye.stringify),Ee=this.children,_e=[],we=0,Te=Ee.length;we<Te;we++)Pe=Ee[we],_e.push(Pe.setParent(this));return _e},Se.prototype.element=function(ye,Pe,we){var Te,Ee,_e,Ce,Oe,Ie,Ue,je,nt,Je,Qe;if(Ie=null,Pe===null&&we==null&&(nt=[{},null],Pe=nt[0],we=nt[1]),Pe==null&&(Pe={}),Pe=te(Pe),ge(Pe)||(Je=[Pe,we],we=Je[0],Pe=Je[1]),ye!=null&&(ye=te(ye)),Array.isArray(ye))for(_e=0,Ue=ye.length;_e<Ue;_e++)Ee=ye[_e],Ie=this.element(Ee);else if(de(ye))Ie=this.element(ye.apply());else if(ge(ye)){for(Oe in ye)if(me.call(ye,Oe))if(Qe=ye[Oe],de(Qe)&&(Qe=Qe.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Oe.indexOf(this.stringify.convertAttKey)===0)Ie=this.attribute(Oe.substr(this.stringify.convertAttKey.length),Qe);else if(!this.options.separateArrayItems&&Array.isArray(Qe)&&ue(Qe))Ie=this.dummy();else if(ge(Qe)&&ue(Qe))Ie=this.element(Oe);else if(!this.options.keepNullNodes&&Qe==null)Ie=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(Qe))for(Ce=0,je=Qe.length;Ce<je;Ce++)Ee=Qe[Ce],Te={},Te[Oe]=Ee,Ie=this.element(Te);else ge(Qe)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Oe.indexOf(this.stringify.convertTextKey)===0?Ie=this.element(Qe):(Ie=this.element(Oe),Ie.element(Qe)):Ie=this.element(Oe,Qe)}else!this.options.keepNullNodes&&we===null?Ie=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&ye.indexOf(this.stringify.convertTextKey)===0?Ie=this.text(we):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&ye.indexOf(this.stringify.convertCDataKey)===0?Ie=this.cdata(we):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&ye.indexOf(this.stringify.convertCommentKey)===0?Ie=this.comment(we):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&ye.indexOf(this.stringify.convertRawKey)===0?Ie=this.raw(we):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&ye.indexOf(this.stringify.convertPIKey)===0?Ie=this.instruction(ye.substr(this.stringify.convertPIKey.length),we):Ie=this.node(ye,Pe,we);if(Ie==null)throw new Error("Could not create any elements with: "+ye+". "+this.debugInfo());return Ie},Se.prototype.insertBefore=function(ye,Pe,we){var Te,Ee,_e,Ce,Oe;if(ye!=null&&ye.type)return _e=ye,Ce=Pe,_e.setParent(this),Ce?(Ee=children.indexOf(Ce),Oe=children.splice(Ee),children.push(_e),Array.prototype.push.apply(children,Oe)):children.push(_e),_e;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),Te=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,Oe),Te},Se.prototype.insertAfter=function(ye,Pe,we){var Te,Ee,_e;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ye));return Ee=this.parent.children.indexOf(this),_e=this.parent.children.splice(Ee+1),Te=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,_e),Te},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 Te,Ee;return ye!=null&&(ye=te(ye)),Pe||(Pe={}),Pe=te(Pe),ge(Pe)||(Ee=[Pe,we],we=Ee[0],Pe=Ee[1]),Te=new ne(this,ye,Pe),we!=null&&Te.text(we),this.children.push(Te),Te},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,Te;return we=this.parent.children.indexOf(this),Te=this.parent.children.splice(we),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,Te),this},Se.prototype.commentAfter=function(ye){var Pe,we,Te;return we=this.parent.children.indexOf(this),Te=this.parent.children.splice(we+1),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,Te),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,Te,Ee,_e,Ce;if(ye!=null&&(ye=te(ye)),Pe!=null&&(Pe=te(Pe)),Array.isArray(ye))for(_e=0,Ce=ye.length;_e<Ce;_e++)we=ye[_e],this.instruction(we);else if(ge(ye))for(we in ye)me.call(ye,we)&&(Te=ye[we],this.instruction(we,Te));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,Te,Ee;return Te=this.parent.children.indexOf(this),Ee=this.parent.children.splice(Te),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,Ee),this},Se.prototype.instructionAfter=function(ye,Pe){var we,Te,Ee;return Te=this.parent.children.indexOf(this),Ee=this.parent.children.splice(Te+1),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,Ee),this},Se.prototype.declaration=function(ye,Pe,we){var Te,Ee;return Te=this.document(),Ee=new ce(Te,ye,Pe,we),Te.children.length===0?Te.children.unshift(Ee):Te.children[0].type===re.Declaration?Te.children[0]=Ee:Te.children.unshift(Ee),Te.root()||Te},Se.prototype.dtd=function(ye,Pe){var we,Te,Ee,_e,Ce,Oe,Ie,Ue,je,nt;for(Te=this.document(),Ee=new ae(Te,ye,Pe),je=Te.children,_e=Ce=0,Ie=je.length;Ce<Ie;_e=++Ce)if(we=je[_e],we.type===re.DocType)return Te.children[_e]=Ee,Ee;for(nt=Te.children,_e=Oe=0,Ue=nt.length;Oe<Ue;_e=++Oe)if(we=nt[_e],we.isRoot)return Te.children.splice(_e,0,Ee),Ee;return Te.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,Te;if(ye.nodeType!==this.nodeType||ye.children.length!==this.children.length)return!1;for(Pe=we=0,Te=this.children.length-1;0<=Te?we<=Te:we>=Te;Pe=0<=Te?++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,Te,Ee,_e;for(_e=this.children,Te=0,Ee=_e.length;Te<Ee;Te++)if(Pe=_e[Te],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(Te){if(we++,!Pe&&Te===ye)return Pe=!0}),Pe?we:-1},Se.prototype.foreachTreeNode=function(ye,Pe){var we,Te,Ee,_e,Ce;for(ye||(ye=this.document()),_e=ye.children,Te=0,Ee=_e.length;Te<Ee;Te++){if(we=_e[Te],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,me,Se;y||(y=0),this.openNode(z,a,y),a.state=re.OpenTag,this.stream.write(this.indent(z,a,y)+"<"+z.name),me=z.attribs;for(ge in me)ae.call(me,ge)&&(x=me[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(me){var Se,ye,Pe;me||(me={}),this.options=me,ye=me.writer||{};for(Se in ye)ge.call(ye,Se)&&(Pe=ye[Se],this["_"+Se]=this[Se],this[Se]=Pe)}return ve.prototype.filterOptions=function(me){var Se,ye,Pe,we,Te,Ee,_e,Ce;return me||(me={}),me=de({},this.options,me),Se={writer:this},Se.pretty=me.pretty||!1,Se.allowEmpty=me.allowEmpty||!1,Se.indent=(ye=me.indent)!=null?ye:" ",Se.newline=(Pe=me.newline)!=null?Pe:`
`,Se.offset=(we=me.offset)!=null?we:0,Se.dontPrettyTextNodes=(Te=(Ee=me.dontPrettyTextNodes)!=null?Ee:me.dontprettytextnodes)!=null?Te:0,Se.spaceBeforeSlash=(_e=(Ce=me.spaceBeforeSlash)!=null?Ce:me.spacebeforeslash)!=null?_e:"",Se.spaceBeforeSlash===!0&&(Se.spaceBeforeSlash=" "),Se.suppressPrettyCount=0,Se.user={},Se.state=re.None,Se},ve.prototype.indent=function(me,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(me,Se,ye){return!Se.pretty||Se.suppressPrettyCount?"":Se.newline},ve.prototype.attribute=function(me,Se,ye){var Pe;return this.openAttribute(me,Se,ye),Pe=" "+me.name+'="'+me.value+'"',this.closeAttribute(me,Se,ye),Pe},ve.prototype.cdata=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+"<![CDATA[",Se.state=re.InsideTag,Pe+=me.value,Se.state=re.CloseTag,Pe+="]]>"+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.comment=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+"<!-- ",Se.state=re.InsideTag,Pe+=me.value,Se.state=re.CloseTag,Pe+=" -->"+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.declaration=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+"<?xml",Se.state=re.InsideTag,Pe+=' version="'+me.version+'"',me.encoding!=null&&(Pe+=' encoding="'+me.encoding+'"'),me.standalone!=null&&(Pe+=' standalone="'+me.standalone+'"'),Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+"?>",Pe+=this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.docType=function(me,Se,ye){var Pe,we,Te,Ee,_e;if(ye||(ye=0),this.openNode(me,Se,ye),Se.state=re.OpenTag,Ee=this.indent(me,Se,ye),Ee+="<!DOCTYPE "+me.root().name,me.pubID&&me.sysID?Ee+=' PUBLIC "'+me.pubID+'" "'+me.sysID+'"':me.sysID&&(Ee+=' SYSTEM "'+me.sysID+'"'),me.children.length>0){for(Ee+=" [",Ee+=this.endline(me,Se,ye),Se.state=re.InsideTag,_e=me.children,we=0,Te=_e.length;we<Te;we++)Pe=_e[we],Ee+=this.writeChildNode(Pe,Se,ye+1);Se.state=re.CloseTag,Ee+="]"}return Se.state=re.CloseTag,Ee+=Se.spaceBeforeSlash+">",Ee+=this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Ee},ve.prototype.element=function(me,Se,ye){var Pe,we,Te,Ee,_e,Ce,Oe,Ie,Ue,je,nt,Je,Qe,Xe;ye||(ye=0),je=!1,nt="",this.openNode(me,Se,ye),Se.state=re.OpenTag,nt+=this.indent(me,Se,ye)+"<"+me.name,Je=me.attribs;for(Ue in Je)ge.call(Je,Ue)&&(Pe=Je[Ue],nt+=this.attribute(Pe,Se,ye));if(Te=me.children.length,Ee=Te===0?null:me.children[0],Te===0||me.children.every(function(ze){return(ze.type===se.Text||ze.type===se.Raw)&&ze.value===""}))Se.allowEmpty?(nt+=">",Se.state=re.CloseTag,nt+="</"+me.name+">"+this.endline(me,Se,ye)):(Se.state=re.CloseTag,nt+=Se.spaceBeforeSlash+"/>"+this.endline(me,Se,ye));else if(Se.pretty&&Te===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+="</"+me.name+">"+this.endline(me,Se,ye);else{if(Se.dontPrettyTextNodes){for(Qe=me.children,_e=0,Oe=Qe.length;_e<Oe;_e++)if(we=Qe[_e],(we.type===se.Text||we.type===se.Raw)&&we.value!=null){Se.suppressPrettyCount++,je=!0;break}}for(nt+=">"+this.endline(me,Se,ye),Se.state=re.InsideTag,Xe=me.children,Ce=0,Ie=Xe.length;Ce<Ie;Ce++)we=Xe[Ce],nt+=this.writeChildNode(we,Se,ye+1);Se.state=re.CloseTag,nt+=this.indent(me,Se,ye)+"</"+me.name+">",je&&Se.suppressPrettyCount--,nt+=this.endline(me,Se,ye),Se.state=re.None}return this.closeNode(me,Se,ye),nt},ve.prototype.writeChildNode=function(me,Se,ye){switch(me.type){case se.CData:return this.cdata(me,Se,ye);case se.Comment:return this.comment(me,Se,ye);case se.Element:return this.element(me,Se,ye);case se.Raw:return this.raw(me,Se,ye);case se.Text:return this.text(me,Se,ye);case se.ProcessingInstruction:return this.processingInstruction(me,Se,ye);case se.Dummy:return"";case se.Declaration:return this.declaration(me,Se,ye);case se.DocType:return this.docType(me,Se,ye);case se.AttributeDeclaration:return this.dtdAttList(me,Se,ye);case se.ElementDeclaration:return this.dtdElement(me,Se,ye);case se.EntityDeclaration:return this.dtdEntity(me,Se,ye);case se.NotationDeclaration:return this.dtdNotation(me,Se,ye);default:throw new Error("Unknown XML node type: "+me.constructor.name)}},ve.prototype.processingInstruction=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+"<?",Se.state=re.InsideTag,Pe+=me.target,me.value&&(Pe+=" "+me.value),Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+"?>",Pe+=this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.raw=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye),Se.state=re.InsideTag,Pe+=me.value,Se.state=re.CloseTag,Pe+=this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.text=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye),Se.state=re.InsideTag,Pe+=me.value,Se.state=re.CloseTag,Pe+=this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.dtdAttList=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+"<!ATTLIST",Se.state=re.InsideTag,Pe+=" "+me.elementName+" "+me.attributeName+" "+me.attributeType,me.defaultValueType!=="#DEFAULT"&&(Pe+=" "+me.defaultValueType),me.defaultValue&&(Pe+=' "'+me.defaultValue+'"'),Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.dtdElement=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+"<!ELEMENT",Se.state=re.InsideTag,Pe+=" "+me.name+" "+me.value,Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.dtdEntity=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+"<!ENTITY",Se.state=re.InsideTag,me.pe&&(Pe+=" %"),Pe+=" "+me.name,me.value?Pe+=' "'+me.value+'"':(me.pubID&&me.sysID?Pe+=' PUBLIC "'+me.pubID+'" "'+me.sysID+'"':me.sysID&&(Pe+=' SYSTEM "'+me.sysID+'"'),me.nData&&(Pe+=" NDATA "+me.nData)),Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.dtdNotation=function(me,Se,ye){var Pe;return this.openNode(me,Se,ye),Se.state=re.OpenTag,Pe=this.indent(me,Se,ye)+"<!NOTATION",Se.state=re.InsideTag,Pe+=" "+me.name,me.pubID&&me.sysID?Pe+=' PUBLIC "'+me.pubID+'" "'+me.sysID+'"':me.pubID?Pe+=' PUBLIC "'+me.pubID+'"':me.sysID&&(Pe+=' SYSTEM "'+me.sysID+'"'),Se.state=re.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(me,Se,ye),Se.state=re.None,this.closeNode(me,Se,ye),Pe},ve.prototype.openNode=function(me,Se,ye){},ve.prototype.closeNode=function(me,Se,ye){},ve.prototype.openAttribute=function(me,Se,ye){},ve.prototype.closeAttribute=function(me,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,me=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,me),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,me=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,me)}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 ft!="undefined"?ft: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 ft!="undefined"?ft: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 Te=de[we].name,Ee=de[we].value;Array.isArray(Ee)?Ee.forEach(function(_e){ve.push([Te,_e])}):ve.push([Te,Ee])}),te._mode==="fetch"){var me=null,Se=null;if(le.abortController){var ye=new AbortController;me=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:me}).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 ft!="undefined"?ft: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 me(){ue.read().then(function(Se){if(!b._destroyed){if(Se.done){re.clearTimeout(x),b.push(null);return}b.push(new ie(Se.value)),me()}}).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(me,Se){b.headers[Se.toLowerCase()]=me,b.rawHeaders.push(Se,me)}),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(me){re.clearTimeout(x),b._destroyed||b.emit("error",me)});return}catch(me){}}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(me){var Se=me.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 ft!="undefined"?ft: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},me=E("querystring");function Se(Te,Ee,_e){if(Te&&le.isObject(Te)&&Te instanceof ce)return Te;var Ce=new ce;return Ce.parse(Te,Ee,_e),Ce}ce.prototype.parse=function(Te,Ee,_e){if(!le.isString(Te))throw new TypeError("Parameter 'url' must be a string, not "+(0,re.default)(Te));var Ce=Te.indexOf("?"),Oe=Ce!==-1&&Ce<Te.indexOf("#")?"?":"#",Ie=Te.split(Oe),Ue=/\\/g;Ie[0]=Ie[0].replace(Ue,"/"),Te=Ie.join(Oe);var je=Te;if(je=je.trim(),!_e&&Te.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=me.parse(this.search.substr(1)):this.query=this.search.substr(1)):Ee&&(this.search="",this.query={}),this}var Je=ae.exec(je);if(Je){Je=Je[0];var Qe=Je.toLowerCase();this.protocol=Qe,je=je.substr(Je.length)}if(_e||Je||je.match(/^\/\/[^@\/]+@[^@\/]+/)){var Xe=je.substr(0,2)==="//";Xe&&!(Je&&ge[Je])&&(je=je.substr(2),this.slashes=!0)}if(!ge[Je]&&(Xe||Je&&!ve[Je])){for(var ze=-1,ke=0;ke<b.length;ke++){var Be=je.indexOf(b[ke]);Be!==-1&&(ze===-1||Be<ze)&&(ze=Be)}var qe,Ye;ze===-1?Ye=je.lastIndexOf("@"):Ye=je.lastIndexOf("@",ze),Ye!==-1&&(qe=je.slice(0,Ye),je=je.slice(Ye+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 $e=this.hostname.split("."),ke=0,We=$e.length;ke<We;ke++){var Re=$e[ke];if(Re&&!Re.match(te)){for(var tt="",Me=0,He=Re.length;Me<He;Me++)Re.charCodeAt(Me)>127?tt+="x":tt+=Re[Me];if(!tt.match(te)){var Ve=$e.slice(0,ke),Ze=$e.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,We=y.length;ke<We;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 ot=je.indexOf("#");ot!==-1&&(this.hash=je.substr(ot),je=je.slice(0,ot));var St=je.indexOf("?");if(St!==-1?(this.search=je.substr(St),this.query=je.substr(St+1),Ee&&(this.query=me.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||"",wt=this.search||"";this.path=Ae+wt}return this.href=this.format(),this};function ye(Te){return le.isString(Te)&&(Te=Se(Te)),Te instanceof ce?Te.format():ce.prototype.format.call(Te)}ce.prototype.format=function(){var Te=this.auth||"";Te&&(Te=encodeURIComponent(Te),Te=Te.replace(/%3A/i,":"),Te+="@");var Ee=this.protocol||"",_e=this.pathname||"",Ce=this.hash||"",Oe=!1,Ie="";this.host?Oe=Te+this.host:this.hostname&&(Oe=Te+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Oe+=":"+this.port)),this.query&&le.isObject(this.query)&&Object.keys(this.query).length&&(Ie=me.stringify(this.query));var Ue=this.search||Ie&&"?"+Ie||"";return Ee&&Ee.substr(-1)!==":"&&(Ee+=":"),this.slashes||(!Ee||ve[Ee])&&Oe!==!1?(Oe="//"+(Oe||""),_e&&_e.charAt(0)!=="/"&&(_e="/"+_e)):Oe||(Oe=""),Ce&&Ce.charAt(0)!=="#"&&(Ce="#"+Ce),Ue&&Ue.charAt(0)!=="?"&&(Ue="?"+Ue),_e=_e.replace(/[?#]/g,function(je){return encodeURIComponent(je)}),Ue=Ue.replace("#","%23"),Ee+Oe+_e+Ue+Ce};function Pe(Te,Ee){return Se(Te,!1,!0).resolve(Ee)}ce.prototype.resolve=function(Te){return this.resolveObject(Se(Te,!1,!0)).format()};function we(Te,Ee){return Te?Se(Te,!1,!0).resolveObject(Ee):Ee}ce.prototype.resolveObject=function(Te){if(le.isString(Te)){var Ee=new ce;Ee.parse(Te,!1,!0),Te=Ee}for(var _e=new ce,Ce=Object.keys(this),Oe=0;Oe<Ce.length;Oe++){var Ie=Ce[Oe];_e[Ie]=this[Ie]}if(_e.hash=Te.hash,Te.href==="")return _e.href=_e.format(),_e;if(Te.slashes&&!Te.protocol){for(var Ue=Object.keys(Te),je=0;je<Ue.length;je++){var nt=Ue[je];nt!=="protocol"&&(_e[nt]=Te[nt])}return ve[_e.protocol]&&_e.hostname&&!_e.pathname&&(_e.path=_e.pathname="/"),_e.href=_e.format(),_e}if(Te.protocol&&Te.protocol!==_e.protocol){if(!ve[Te.protocol]){for(var Je=Object.keys(Te),Qe=0;Qe<Je.length;Qe++){var Xe=Je[Qe];_e[Xe]=Te[Xe]}return _e.href=_e.format(),_e}if(_e.protocol=Te.protocol,!Te.host&&!ge[Te.protocol]){for(var We=(Te.pathname||"").split("/");We.length&&!(Te.host=We.shift()););Te.host||(Te.host=""),Te.hostname||(Te.hostname=""),We[0]!==""&&We.unshift(""),We.length<2&&We.unshift(""),_e.pathname=We.join("/")}else _e.pathname=Te.pathname;if(_e.search=Te.search,_e.query=Te.query,_e.host=Te.host||"",_e.auth=Te.auth,_e.hostname=Te.hostname||Te.host,_e.port=Te.port,_e.pathname||_e.search){var ze=_e.pathname||"",ke=_e.search||"";_e.path=ze+ke}return _e.slashes=_e.slashes||Te.slashes,_e.href=_e.format(),_e}var Be=_e.pathname&&_e.pathname.charAt(0)==="/",qe=Te.host||Te.pathname&&Te.pathname.charAt(0)==="/",Ye=qe||Be||_e.host&&Te.pathname,gt=Ye,$e=_e.pathname&&_e.pathname.split("/")||[],We=Te.pathname&&Te.pathname.split("/")||[],Re=_e.protocol&&!ve[_e.protocol];if(Re&&(_e.hostname="",_e.port=null,_e.host&&($e[0]===""?$e[0]=_e.host:$e.unshift(_e.host)),_e.host="",Te.protocol&&(Te.hostname=null,Te.port=null,Te.host&&(We[0]===""?We[0]=Te.host:We.unshift(Te.host)),Te.host=null),Ye=Ye&&(We[0]===""||$e[0]==="")),qe)_e.host=Te.host||Te.host===""?Te.host:_e.host,_e.hostname=Te.hostname||Te.hostname===""?Te.hostname:_e.hostname,_e.search=Te.search,_e.query=Te.query,$e=We;else if(We.length)$e||($e=[]),$e.pop(),$e=$e.concat(We),_e.search=Te.search,_e.query=Te.query;else if(!le.isNullOrUndefined(Te.search)){if(Re){_e.hostname=_e.host=$e.shift();var tt=_e.host&&_e.host.indexOf("@")>0?_e.host.split("@"):!1;tt&&(_e.auth=tt.shift(),_e.host=_e.hostname=tt.shift())}return _e.search=Te.search,_e.query=Te.query,(!le.isNull(_e.pathname)||!le.isNull(_e.search))&&(_e.path=(_e.pathname?_e.pathname:"")+(_e.search?_e.search:"")),_e.href=_e.format(),_e}if(!$e.length)return _e.pathname=null,_e.search?_e.path="/"+_e.search:_e.path=null,_e.href=_e.format(),_e;for(var Me=$e.slice(-1)[0],He=(_e.host||Te.host||$e.length>1)&&(Me==="."||Me==="..")||Me==="",Ve=0,Ze=$e.length;Ze>=0;Ze--)Me=$e[Ze],Me==="."?$e.splice(Ze,1):Me===".."?($e.splice(Ze,1),Ve++):Ve&&($e.splice(Ze,1),Ve--);if(!Ye&&!gt)for(;Ve--;Ve)$e.unshift("..");Ye&&$e[0]!==""&&(!$e[0]||$e[0].charAt(0)!=="/")&&$e.unshift(""),He&&$e.join("/").substr(-1)!=="/"&&$e.push("");var Ke=$e[0]===""||$e[0]&&$e[0].charAt(0)==="/";if(Re){_e.hostname=_e.host=Ke?"":$e.length?$e.shift():"";var tt=_e.host&&_e.host.indexOf("@")>0?_e.host.split("@"):!1;tt&&(_e.auth=tt.shift(),_e.host=_e.hostname=tt.shift())}return Ye=Ye||_e.host&&$e.length,Ye&&!Ke&&$e.unshift(""),$e.length?_e.pathname=$e.join("/"):(_e.pathname=null,_e.path=null),(!le.isNull(_e.pathname)||!le.isNull(_e.search))&&(_e.path=(_e.pathname?_e.pathname:"")+(_e.search?_e.search:"")),_e.auth=Te.auth||_e.auth,_e.slashes=_e.slashes||Te.slashes,_e.href=_e.format(),_e},ce.prototype.parseHost=function(){var Te=this.host,Ee=oe.exec(Te);Ee&&(Ee=Ee[0],Ee!==":"&&(this.port=Ee.substr(1)),Te=Te.substr(0,Te.length-Ee.length)),Te&&(this.hostname=Te)}},{"./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(me,Se,ye){if(me)return ve(me);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,me,Se){return arguments.length===2&&typeof me=="function"&&(Se=me,me=null),typeof Se=="function"?fe.requestWithCallback(ve,me,Se):new Promise(function(ye,Pe){fe.requestWithCallback(ve,me,ue(ye,Pe))})},fe.requestWithCallback=function(ve,me,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 me=="function"&&(Se=me,me=null),me=me||{},y>=x&&(y=0);var Pe=++y;me.requestUrls=me.requestUrls||[];var we={requestId:Pe,url:ve,args:me,ctx:me.ctx};me.emitter&&me.emitter.emit("request",we),me.timeout=me.timeout||fe.TIMEOUTS,me.maxRedirects=me.maxRedirects||10,me.streaming=me.streaming||me.customResponse;var Te=Date.now(),Ee;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),Ee=ae.parse(ve)):Ee=ve;var _e=(me.type||me.method||Ee.method||"GET").toUpperCase(),Ce=Ee.port||80,Oe=oe,Ie=ee(me.agent,fe.agent),Ue=me.fixJSONCtlChars;Ee.protocol==="https:"&&(Oe=ne,Ie=ee(me.httpsAgent,fe.httpsAgent),Ee.port||(Ce=443));var je={host:Ee.hostname||Ee.host||"localhost",path:Ee.path||"/",method:_e,port:Ce,agent:Ie,headers:me.headers||{},lookup:me.lookup};Array.isArray(me.timeout)?je.requestTimeout=me.timeout[me.timeout.length-1]:typeof me.timeout!="undefined"&&(je.requestTimeout=me.timeout);var nt=me.auth||Ee.auth;nt&&(je.auth=nt);var Je=me.content||me.data,Qe=_e==="GET"||_e==="HEAD"||me.dataAsQueryString;if(!me.content&&Je&&!(typeof Je=="string"||re.isBuffer(Je)))if(Qe)Je=me.nestedQuerystring?qs.stringify(Je):querystring.stringify(Je);else{var Xe=je.headers["Content-Type"]||je.headers["content-type"];Xe||(me.contentType==="json"?Xe="application/json":Xe="application/x-www-form-urlencoded",je.headers["Content-Type"]=Xe),te(Xe)==="application/json"?Je=JSON.stringify(Je):Je=me.nestedQuerystring?qs.stringify(Je):querystring.stringify(Je)}Qe&&Je&&(je.path+=(Ee.query?"&":"?")+Je,Je=null);var ze=0;if(Je){var ke=Je.length;re.isBuffer(Je)||(ke=re.byteLength(Je)),ze=je.headers["Content-Length"]=ke}me.dataType==="json"&&(je.headers.Accept="application/json"),typeof me.beforeRequest=="function"&&me.beforeRequest(je);var Be=null,qe=null,Ye=null,gt=!1,$e=!1,We=0,Re=-1,tt=!1,Me="",He="",Ve=null;me.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,Nt,ct){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 pt=Se;Se=null;var Ct={};ct&&(Re=ct.statusCode,Ct=ct.headers);var Rt=Date.now()-Te;Ve&&(Ve.contentDownload=Rt),z("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Rt,We,Re,je.method,je.host,je.path,$e,Ve);var zt={status:Re,statusCode:Re,headers:Ct,size:We,aborted:tt,rt:Rt,keepAliveSocket:$e,data:Nt,requestUrls:me.requestUrls,timing:Ve,remoteAddress:Me,remotePort:He};if(st){var rn="";Ie&&typeof Ie.getCurrentStatus=="function"&&(rn=", agent status: "+JSON.stringify(Ie.getCurrentStatus())),st.message+=", "+je.method+" "+ve+" "+Re+" (connected: "+gt+", keepalive socket: "+$e+rn+`)
headers: `+JSON.stringify(Ct),st.data=Nt,st.path=je.path,st.status=Re,st.headers=Ct,st.res=zt}pt(st,Nt,me.streaming?ct:zt),me.emitter&&(we.url=ve,we.socket=Ft&&Ft.connection,we.options=je,we.size=ze,me.emitter.emit("response",{requestId:Pe,error:st,ctx:me.ctx,req:we,res:zt}))}function Le(st){var Nt=null;if(me.followRedirect&&statuses.redirect[st.statusCode]){me._followRedirectCount=(me._followRedirectCount||0)+1;var ct=st.headers.location;if(!ct)Nt=new Error("Got statusCode "+st.statusCode+" but cannot resolve next location from headers"),Nt.name="FollowRedirectError";else if(me._followRedirectCount>me.maxRedirects)Nt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),Nt.name="MaxRedirectError";else{var pt=me.formatRedirectUrl?me.formatRedirectUrl(ve,ct):ae.resolve(ve,ct);z("Request#%d %s: `redirected` from %s to %s",Pe,je.path,ve,pt),Ke(),me.headers&&me.headers.Host&&b.test(ct)&&(me.headers.Host=null);var Ct=Se;return Se=null,fe.requestWithCallback(pt,me,Ct),{redirect:!0,error:null}}}return{redirect:!1,error:Nt}}me.gzip&&!je.headers["Accept-Encoding"]&&!je.headers["accept-encoding"]&&(je.headers["Accept-Encoding"]="gzip");function Ne(st,Nt,ct){var pt=st.headers["content-encoding"];return ct(null,Nt,pt)}var Ge=me.writeStream;z("Request#%d %s %s with headers %j, options.path: %s",Pe,_e,ve,je.headers,je.path),me.requestUrls.push(ve);function ot(st){if(Ve&&(Ve.waiting=Date.now()-Te),z("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,ve,st.statusCode,st.headers),me.streaming){var Nt=Le(st);if(Nt.redirect){st.resume();return}return Nt.error?(st.resume(),Ae(Nt.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,We)}),st.on("error",function(){z("Request#%d %s: `res error` event emit, total size %d",Pe,ve,We)}),st.on("aborted",function(){tt=!0,z("Request#%d %s: `res aborted` event emit, total size %d",Pe,ve,We)}),Ge){var ct=Le(st);if(ct.redirect){st.resume();return}return ct.error?(st.resume(),Ge.end(),Ae(ct.error,null,st)):(me.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(Ye||null,null,st)}),st.pipe(Ge))}var pt=[];st.on("data",function(Ct){z("Request#%d %s: `res data` event emit, size %d",Pe,ve,Ct.length),We+=Ct.length,pt.push(Ct)}),st.on("end",function(){var Ct=re.concat(pt,We);if(z("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,ve,We,st._dumped),Ye)return Ae(Ye,Ct,st);var Rt=Le(st);if(Rt.error)return Ae(Rt.error,Ct,st);Rt.redirect||Ne(st,Ct,function(zt,rn,kn){if(zt)return Ae(zt,Ct,st);if(!kn&&de.indexOf(me.dataType)>=0){try{rn=decodeBodyByCharset(rn,st)}catch(Hn){return z("decodeBodyByCharset error: %s",Hn),Ae(null,rn,st)}if(me.dataType==="json")if(We===0)rn=null;else{var jn=parseJSON(rn,Ue);jn.error?zt=jn.error:rn=jn.data}}tt&&z("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,ve),Ae(zt,rn,st)})})}var St,wt;Array.isArray(me.timeout)?(St=a(me.timeout[0]),wt=a(me.timeout[1])):St=wt=a(me.timeout),z("ConnectTimeout: %d, ResponseTimeout: %d",St,wt);function rt(){z("Connect timer ticking, timeout: %d",St),Be=setTimeout(function(){Be=null,Re===-1&&(Re=-2);var st="Connect timeout for "+St+"ms",Nt="ConnectionTimeoutError";Ft.socket||(Nt="SocketAssignTimeoutError",st+=", working sockets is full"),Ye=new Error(st),Ye.name=Nt,Ye.requestId=Pe,z("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,ve,Ye.name,st,gt),$t()},St)}function bt(){z("Response timer ticking, timeout: %d",wt),qe=setTimeout(function(){qe=null;var st="Response timeout for "+wt+"ms",Nt="ResponseTimeoutError";Ye=new Error(st),Ye.name=Nt,Ye.requestId=Pe,z("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,ve,Ye.name,st,gt),$t()},wt)}var Ft;je.mode=me.mode?me.mode:"";try{Ft=Oe.request(je,ot)}catch(st){return Ae(st)}typeof window=="undefined"?rt():Ft.on("requestTimeout",function(){Re===-1&&(Re=-2);var st="Connect timeout for "+St+"ms",Nt="ConnectionTimeoutError";Ye=new Error(st),Ye.name=Nt,Ye.requestId=Pe,$t()});function $t(){z("Request#%d %s abort, connected: %s",Pe,ve,gt),Ft.socket||(Ye.noSocket=!0,Ae(Ye)),Ft.abort()}return Ve&&Ft.on("finish",function(){Ve.requestSent=Date.now()-Te}),Ft.once("socket",function(st){Ve&&(Ve.queuing=Date.now()-Te);var Nt=st.readyState;if(Nt==="opening"){st.once("lookup",function(ct,pt,Ct){z("Request#%d %s lookup: %s, %s, %s",Pe,ve,ct,pt,Ct),Ve&&(Ve.dnslookup=Date.now()-Te),pt&&(Me=pt)}),st.once("connect",function(){Ve&&(Ve.connected=Date.now()-Te),Ze(),bt(),z("Request#%d %s new socket connected",Pe,ve),gt=!0,Me||(Me=st.remoteAddress),He=st.remotePort});return}z("Request#%d %s reuse socket connected, readyState: %s",Pe,ve,Nt),gt=!0,$e=!0,Me||(Me=st.remoteAddress),He=st.remotePort,Ze(),bt()}),Ft.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(Ye||st)}),Ge&&Ge.once("error",function(st){st.message+=' (writeStream "error")',Ye=st,z("Request#%d %s `writeStream error` event emit, %s: %s",Pe,ve,st.name,st.message),$t()}),me.stream?(me.stream.pipe(Ft),me.stream.once("error",function(st){st.message+=' (stream "error")',Ye=st,z("Request#%d %s `readStream error` event emit, %s: %s",Pe,ve,st.name,st.message),$t()})):Ft.end(Je),Ft.requestId=Pe,Ft}}).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(xt,ft){"use strict";function pe(){const be=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let xe=1;xe<arguments.length;xe++){const E=xe<0||arguments.length<=xe?void 0:arguments[xe];E&&Object.keys(E).forEach(he=>{const fe=E[he];fe!==void 0&&(be[he]=fe)})}return be}ft.Z=pe},81643:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return be}});const be=xe=>xe?typeof xe=="function"?xe():xe:null},66367:function(xt,ft,pe){"use strict";pe.d(ft,{F:function(){return be},Z:function(){return xe}});function be(E){return E!=null&&E===E.window}function xe(E,he){var fe,se;if(typeof window=="undefined")return 0;const re=he?"scrollTop":"scrollLeft";let ie=0;return be(E)?ie=E[he?"pageYOffset":"pageXOffset"]:E instanceof Document?ie=E.documentElement[re]:(E instanceof HTMLElement||E)&&(ie=E[re]),E&&!be(E)&&typeof ie!="number"&&(ie=(se=((fe=E.ownerDocument)!==null&&fe!==void 0?fe:E).documentElement)===null||se===void 0?void 0:se[re]),ie}},57838:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return xe}});var be=pe(67294);function xe(){const[,E]=be.useReducer(he=>he+1,0);return E}},58375:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return he}});var be=pe(96523);function xe(fe,se,re,ie){const le=re-se;return fe/=ie/2,fe<1?le/2*fe*fe*fe+se:le/2*((fe-=2)*fe*fe+2)+se}var E=pe(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=xe(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(xt,ft,pe){"use strict";pe.d(ft,{default:function(){return ve}});var be=pe(94184),xe=pe.n(be),E=pe(95860),he=pe(67294),fe=pe(53124),se=pe(98866),re=pe(65223),le=he.createContext(null),ce=pe(63185),ae=pe(45353),oe=pe(92429),ne=function(me,Se){var ye={};for(var Pe in me)Object.prototype.hasOwnProperty.call(me,Pe)&&Se.indexOf(Pe)<0&&(ye[Pe]=me[Pe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Pe=Object.getOwnPropertySymbols(me);we<Pe.length;we++)Se.indexOf(Pe[we])<0&&Object.prototype.propertyIsEnumerable.call(me,Pe[we])&&(ye[Pe[we]]=me[Pe[we]]);return ye};const z=(me,Se)=>{var ye;const{prefixCls:Pe,className:we,rootClassName:Te,children:Ee,indeterminate:_e=!1,style:Ce,onMouseEnter:Oe,onMouseLeave:Ie,skipGroup:Ue=!1,disabled:je}=me,nt=ne(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Je,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,Ye=he.useRef(nt.value);he.useEffect(()=>{ze==null||ze.registerValue(nt.value)},[]),he.useEffect(()=>{if(!Ue)return nt.value!==Ye.current&&(ze==null||ze.cancelValue(Ye.current),ze==null||ze.registerValue(nt.value),Ye.current=nt.value),()=>ze==null?void 0:ze.cancelValue(nt.value)},[nt.value]);const gt=Je("checkbox",Pe),[$e,We]=(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=xe()(`${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,Te,We),Me=xe()({[`${gt}-indeterminate`]:_e},oe.A,We),He=_e?"mixed":void 0;return $e(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:Ie},he.createElement(E.Z,Object.assign({"aria-checked":He},Re,{prefixCls:gt,className:Me,disabled:qe,ref:Se})),Ee!==void 0&&he.createElement("span",null,Ee))))};var y=he.forwardRef(z),x=pe(74902),b=pe(10366),ee=function(me,Se){var ye={};for(var Pe in me)Object.prototype.hasOwnProperty.call(me,Pe)&&Se.indexOf(Pe)<0&&(ye[Pe]=me[Pe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Pe=Object.getOwnPropertySymbols(me);we<Pe.length;we++)Se.indexOf(Pe[we])<0&&Object.prototype.propertyIsEnumerable.call(me,Pe[we])&&(ye[Pe[we]]=me[Pe[we]]);return ye};const te=(me,Se)=>{const{defaultValue:ye,children:Pe,options:we=[],prefixCls:Te,className:Ee,rootClassName:_e,style:Ce,onChange:Oe}=me,Ie=ee(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ue,direction:je}=he.useContext(fe.E_),[nt,Je]=he.useState(Ie.value||ye||[]),[Qe,Xe]=he.useState([]);he.useEffect(()=>{"value"in Ie&&Je(Ie.value||[])},[Ie.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 Ie||Je(Ke),Oe==null||Oe(Ke.filter(Ae=>Qe.includes(Ae)).sort((Ae,Le)=>{const Ne=ze.findIndex(ot=>ot.value===Ae),Ge=ze.findIndex(ot=>ot.value===Le);return Ne-Ge}))},Ye=Ue("checkbox",Te),gt=`${Ye}-group`,[$e,We]=(0,ce.ZP)(Ye),Re=(0,b.Z)(Ie,["value","disabled"]),tt=we.length?ze.map(Ve=>he.createElement(y,{prefixCls:Ye,key:Ve.value.toString(),disabled:"disabled"in Ve?Ve.disabled:Ie.disabled,value:Ve.value,checked:nt.includes(Ve.value),onChange:Ve.onChange,className:`${gt}-item`,style:Ve.style,title:Ve.title},Ve.label)):Pe,Me={toggleOption:qe,value:nt,disabled:Ie.disabled,name:Ie.name,registerValue:Be,cancelValue:ke},He=xe()(gt,{[`${gt}-rtl`]:je==="rtl"},Ee,_e,We);return $e(he.createElement("div",Object.assign({className:He,style:Ce},Re,{ref:Se}),he.createElement(le.Provider,{value:Me},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(xt,ft,pe){"use strict";pe.d(ft,{C2:function(){return fe}});var be=pe(14747),xe=pe(45503),E=pe(67968);const he=se=>{const{checkboxCls:re}=se,ie=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,be.Wf)(se)),{display:"inline-flex",flexWrap:"wrap",columnGap:se.marginXS,[`> ${se.antCls}-row`]:{flex:1}}),[ie]:Object.assign(Object.assign({},(0,be.Wf)(se)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ie}`]:{marginInlineStart:0},[`&${ie}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,be.Wf)(se)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:se.borderRadiusSM,alignSelf:"center",[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${re}-inner`]:Object.assign({},(0,be.oN)(se))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:se.checkboxSize,height:se.checkboxSize,direction:"ltr",backgroundColor:se.colorBgContainer,border:`${se.lineWidth}px ${se.lineType} ${se.colorBorder}`,borderRadius:se.borderRadiusSM,borderCollapse:"separate",transition:`all ${se.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:se.checkboxSize/14*5,height:se.checkboxSize/14*8,border:`${se.lineWidthBold}px solid ${se.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${se.motionDurationFast} ${se.motionEaseInBack}, opacity ${se.motionDurationFast}`}},"& + span":{paddingInlineStart:se.paddingXS,paddingInlineEnd:se.paddingXS}})},{[`
${ie}:not(${ie}-disabled),
${re}:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{borderColor:se.colorPrimary}},[`${ie}:not(${ie}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:se.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:se.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:se.colorPrimary,borderColor:se.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${se.motionDurationMid} ${se.motionEaseOutBack} ${se.motionDurationFast}`}}},[`
${ie}-checked:not(${ie}-disabled),
${re}-checked:not(${re}-disabled)
`]:{[`&:hover ${re}-inner`]:{backgroundColor:se.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:se.colorBgContainer,borderColor:se.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:se.fontSizeLG/2,height:se.fontSizeLG/2,backgroundColor:se.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ie}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:se.colorBgContainerDisabled,borderColor:se.colorBorder,"&:after":{borderColor:se.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:se.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:se.colorTextDisabled}}}]};function fe(se,re){const ie=(0,xe.TS)(re,{checkboxCls:`.${se}`,checkboxSize:re.controlInteractiveSize});return[he(ie)]}ft.ZP=(0,E.Z)("Checkbox",(se,re)=>{let{prefixCls:ie}=re;return[fe(ie,se)]})},72565:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ua}});var be=pe(94184),xe=pe.n(be),E=pe(1413),he=pe(97685),fe=pe(67294),se=pe(73935);function re(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ie={};function le(_t,Et){}function ce(_t,Et){}function ae(){ie={}}function oe(_t,Et,Qt){!Et&&!ie[Qt]&&(_t(!1,Qt),ie[Qt]=!0)}function ne(_t,Et){oe(le,_t,Et)}function z(_t,Et){oe(ce,_t,Et)}var a=null,y=pe(71002),x=pe(18459);function b(_t,Et,Qt){var un=fe.useRef({});return(!("value"in un.current)||Qt(un.current.condition,Et))&&(un.current.value=_t(),un.current.condition=Et),un.current.value}function ee(_t,Et){typeof _t=="function"?_t(Et):(0,y.Z)(_t)==="object"&&_t&&"current"in _t&&(_t.current=Et)}function te(){for(var _t=arguments.length,Et=new Array(_t),Qt=0;Qt<_t;Qt++)Et[Qt]=arguments[Qt];var un=Et.filter(function(Pn){return Pn});return un.length<=1?un[0]:function(Pn){Et.forEach(function(Yn){ee(Yn,Pn)})}}function ue(){for(var _t=arguments.length,Et=new Array(_t),Qt=0;Qt<_t;Qt++)Et[Qt]=arguments[Qt];return b(function(){return te.apply(void 0,Et)},Et,function(un,Pn){return un.length===Pn.length&&un.every(function(Yn,vr){return Yn===Pn[vr]})})}function de(_t){var Et,Qt,un=(0,x.isMemo)(_t)?_t.type.type:_t.type;return!(typeof un=="function"&&!((Et=un.prototype)!==null&&Et!==void 0&&Et.render)||typeof _t=="function"&&!((Qt=_t.prototype)!==null&&Qt!==void 0&&Qt.render))}var ge=fe.createContext(null),ve=ge,me=pe(74902),Se=re()?fe.useLayoutEffect:fe.useEffect,ye=Se,Pe=function(Et,Qt){var un=React.useRef(!0);Se(function(){if(!un.current)return Et()},Qt),Se(function(){return un.current=!1,function(){un.current=!0}},[])},we=[];function Te(_t,Et){var Qt=fe.useState(function(){if(!re())return null;var Ut=document.createElement("div");return Ut}),un=(0,he.Z)(Qt,1),Pn=un[0],Yn=fe.useRef(!1),vr=fe.useContext(ve),Nr=fe.useState(we),no=(0,he.Z)(Nr,2),uo=no[0],io=no[1],Bo=vr||(Yn.current?void 0:function(Ut){io(function(Yt){var dt=[Ut].concat((0,me.Z)(Yt));return dt})});function dr(){Pn.parentElement||document.body.appendChild(Pn),Yn.current=!0}function Ot(){var Ut;(Ut=Pn.parentElement)===null||Ut===void 0||Ut.removeChild(Pn),Yn.current=!1}return ye(function(){return _t?vr?vr(dr):dr():Ot(),Ot},[_t]),ye(function(){uo.length&&(uo.forEach(function(Ut){return Ut()}),io(we))},[uo]),[Pn,Bo]}function Ee(_t,Et){if(!_t)return!1;if(_t.contains)return _t.contains(Et);for(var Qt=Et;Qt;){if(Qt===_t)return!0;Qt=Qt.parentNode}return!1}var _e="data-rc-order",Ce="rc-util-key",Oe=new Map;function Ie(){var _t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Et=_t.mark;return Et?Et.startsWith("data-")?Et:"data-".concat(Et):Ce}function Ue(_t){if(_t.attachTo)return _t.attachTo;var Et=document.querySelector("head");return Et||document.body}function je(_t){return _t==="queue"?"prependQueue":_t?"prepend":"append"}function nt(_t){return Array.from((Oe.get(_t)||_t).children).filter(function(Et){return Et.tagName==="STYLE"})}function Je(_t){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!re())return null;var Qt=Et.csp,un=Et.prepend,Pn=document.createElement("style");Pn.setAttribute(_e,je(un)),Qt!=null&&Qt.nonce&&(Pn.nonce=Qt==null?void 0:Qt.nonce),Pn.innerHTML=_t;var Yn=Ue(Et),vr=Yn.firstChild;if(un){if(un==="queue"){var Nr=nt(Yn).filter(function(no){return["prepend","prependQueue"].includes(no.getAttribute(_e))});if(Nr.length)return Yn.insertBefore(Pn,Nr[Nr.length-1].nextSibling),Pn}Yn.insertBefore(Pn,vr)}else Yn.appendChild(Pn);return Pn}function Qe(_t){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Qt=Ue(Et);return nt(Qt).find(function(un){return un.getAttribute(Ie(Et))===_t})}function Xe(_t){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Qt=Qe(_t,Et);if(Qt){var un=Ue(Et);un.removeChild(Qt)}}function ze(_t,Et){var Qt=Oe.get(_t);if(!Qt||!Ee(document,Qt)){var un=Je("",Et),Pn=un.parentNode;Oe.set(_t,Pn),_t.removeChild(un)}}function ke(){Oe.clear()}function Be(_t,Et){var Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},un=Ue(Qt);ze(un,Qt);var Pn=Qe(Et,Qt);if(Pn){var Yn,vr;if((Yn=Qt.csp)!==null&&Yn!==void 0&&Yn.nonce&&Pn.nonce!==((vr=Qt.csp)===null||vr===void 0?void 0:vr.nonce)){var Nr;Pn.nonce=(Nr=Qt.csp)===null||Nr===void 0?void 0:Nr.nonce}return Pn.innerHTML!==_t&&(Pn.innerHTML=_t),Pn}var no=Je(_t,Qt);return no.setAttribute(Ie(Qt),Et),no}var qe;function Ye(_t){if(typeof document=="undefined")return 0;if(_t||qe===void 0){var Et=document.createElement("div");Et.style.width="100%",Et.style.height="200px";var Qt=document.createElement("div"),un=Qt.style;un.position="absolute",un.top="0",un.left="0",un.pointerEvents="none",un.visibility="hidden",un.width="200px",un.height="150px",un.overflow="hidden",Qt.appendChild(Et),document.body.appendChild(Qt);var Pn=Et.offsetWidth;Qt.style.overflow="scroll";var Yn=Et.offsetWidth;Pn===Yn&&(Yn=Qt.clientWidth),document.body.removeChild(Qt),qe=Pn-Yn}return qe}function gt(_t){var Et=_t.match(/^(.*)px$/),Qt=Number(Et==null?void 0:Et[1]);return Number.isNaN(Qt)?Ye():Qt}function $e(_t){if(typeof document=="undefined"||!_t||!(_t instanceof Element))return{width:0,height:0};var Et=getComputedStyle(_t,"::-webkit-scrollbar"),Qt=Et.width,un=Et.height;return{width:gt(Qt),height:gt(un)}}function We(){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 Me(_t){var Et=!!_t,Qt=fe.useState(function(){return tt+=1,"".concat(Re,"_").concat(tt)}),un=(0,he.Z)(Qt,1),Pn=un[0];ye(function(){if(Et){var Yn=$e(document.body).width,vr=We();Be(`
html body {
overflow-y: hidden;
`.concat(vr?"width: calc(100% - ".concat(Yn,"px);"):"",`
}`),Pn)}else Xe(Pn);return function(){Xe(Pn)}},[Et,Pn])}var He=!1;function Ve(_t){return typeof _t=="boolean"&&(He=_t),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(_t,Et){var Qt=_t.open,un=_t.autoLock,Pn=_t.getContainer,Yn=_t.debug,vr=_t.autoDestroy,Nr=vr===void 0?!0:vr,no=_t.children,uo=fe.useState(Qt),io=(0,he.Z)(uo,2),Bo=io[0],dr=io[1],Ot=Bo||Qt;fe.useEffect(function(){(Nr||Qt)&&dr(Qt)},[Qt,Nr]);var Ut=fe.useState(function(){return Ze(Pn)}),Yt=(0,he.Z)(Ut,2),dt=Yt[0],Jt=Yt[1];fe.useEffect(function(){var wr=Ze(Pn);Jt(wr!=null?wr:null)});var vn=Te(Ot&&!dt,Yn),yn=(0,he.Z)(vn,2),Ht=yn[0],Zt=yn[1],Kt=dt!=null?dt:Ht;Me(un&&Qt&&re()&&(Kt===Ht||Kt===document.body));var Rn=null;if(no&&de(no)&&Et){var Vn=no;Rn=Vn.ref}var sr=ue(Rn,Et);if(!Ot||!re()||dt===void 0)return null;var nr=Kt===!1||Ve(),fr=no;return Et&&(fr=fe.cloneElement(no,{ref:sr})),fe.createElement(ve.Provider,{value:Zt},nr?fr:(0,se.createPortal)(fr,Kt))}),Ae=Ke,Le=Ae;function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ge=Ne()?fe.useLayoutEffect:fe.useEffect,ot=function(Et,Qt){var un=fe.useRef(!0);Ge(function(){return Et(un.current)},Qt),Ge(function(){return un.current=!1,function(){un.current=!0}},[])},St=function(Et,Qt){ot(function(un){if(!un)return Et()},Qt)},wt=ot,rt=fe.createContext(null),bt=fe.createContext({}),Ft=rt,$t=pe(4942),st=pe(87462),Nt=pe(62874),ct={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 Qt=Et.keyCode;if(Et.altKey&&!Et.ctrlKey||Et.metaKey||Qt>=ct.F1&&Qt<=ct.F12)return!1;switch(Qt){case ct.ALT:case ct.CAPS_LOCK:case ct.CONTEXT_MENU:case ct.CTRL:case ct.DOWN:case ct.END:case ct.ESC:case ct.HOME:case ct.INSERT:case ct.LEFT:case ct.MAC_FF_META:case ct.META:case ct.NUMLOCK:case ct.NUM_CENTER:case ct.PAGE_DOWN:case ct.PAGE_UP:case ct.PAUSE:case ct.PRINT_SCREEN:case ct.RIGHT:case ct.SHIFT:case ct.UP:case ct.WIN_KEY:case ct.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Et){if(Et>=ct.ZERO&&Et<=ct.NINE||Et>=ct.NUM_ZERO&&Et<=ct.NUM_MULTIPLY||Et>=ct.A&&Et<=ct.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Et===0)return!0;switch(Et){case ct.SPACE:case ct.QUESTION_MARK:case ct.NUM_PLUS:case ct.NUM_MINUS:case ct.NUM_PERIOD:case ct.NUM_DIVISION:case ct.SEMICOLON:case ct.DASH:case ct.EQUALS:case ct.COMMA:case ct.PERIOD:case ct.SLASH:case ct.APOSTROPHE:case ct.SINGLE_QUOTE:case ct.OPEN_SQUARE_BRACKET:case ct.BACKSLASH:case ct.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},pt=ct,Ct=`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`,Rt=`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`,zt="".concat(Ct," ").concat(Rt).split(/[\s\n]+/),rn="aria-",kn="data-";function jn(_t,Et){return _t.indexOf(Et)===0}function Hn(_t){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qt;Et===!1?Qt={aria:!0,data:!0,attr:!0}:Et===!0?Qt={aria:!0}:Qt=(0,E.Z)({},Et);var un={};return Object.keys(_t).forEach(function(Pn){(Qt.aria&&(Pn==="role"||jn(Pn,rn))||Qt.data&&jn(Pn,kn)||Qt.attr&&zt.includes(Pn))&&(un[Pn]=_t[Pn])}),un}function Pr(_t){var Et=React.useRef();Et.current=_t;var Qt=React.useCallback(function(){for(var un,Pn=arguments.length,Yn=new Array(Pn),vr=0;vr<Pn;vr++)Yn[vr]=arguments[vr];return(un=Et.current)===null||un===void 0?void 0:un.call.apply(un,[Et].concat(Yn))},[]);return Qt}function fn(_t){var Et=React.useRef(!1),Qt=React.useState(_t),un=_slicedToArray(Qt,2),Pn=un[0],Yn=un[1];React.useEffect(function(){return Et.current=!1,function(){Et.current=!0}},[]);function vr(Nr,no){no&&Et.current||Yn(Nr)}return[Pn,vr]}function Er(_t){return _t!==void 0}function oo(_t,Et){var Qt=Et||{},un=Qt.defaultValue,Pn=Qt.value,Yn=Qt.onChange,vr=Qt.postState,Nr=useState(function(){return Er(Pn)?Pn:Er(un)?typeof un=="function"?un():un:typeof _t=="function"?_t():_t}),no=_slicedToArray(Nr,2),uo=no[0],io=no[1],Bo=Pn!==void 0?Pn:uo,dr=vr?vr(Bo):Bo,Ot=useEvent(Yn),Ut=useState([Bo]),Yt=_slicedToArray(Ut,2),dt=Yt[0],Jt=Yt[1];useLayoutUpdateEffect(function(){var yn=dt[0];uo!==yn&&Ot(uo,yn)},[dt]),useLayoutUpdateEffect(function(){Er(Pn)||io(Pn)},[Pn]);var vn=useEvent(function(yn,Ht){io(yn,Ht),Jt([Bo],Ht)});return[dr,vn]}var Lo=pe(33993);function zo(_t,Et,Qt){var un=fe.useRef({});return(!("value"in un.current)||Qt(un.current.condition,Et))&&(un.current.value=_t(),un.current.condition=Et),un.current.value}function Eo(_t,Et){typeof _t=="function"?_t(Et):(0,y.Z)(_t)==="object"&&_t&&"current"in _t&&(_t.current=Et)}function mo(){for(var _t=arguments.length,Et=new Array(_t),Qt=0;Qt<_t;Qt++)Et[Qt]=arguments[Qt];var un=Et.filter(function(Pn){return Pn});return un.length<=1?un[0]:function(Pn){Et.forEach(function(Yn){Eo(Yn,Pn)})}}function Sn(){for(var _t=arguments.length,Et=new Array(_t),Qt=0;Qt<_t;Qt++)Et[Qt]=arguments[Qt];return zo(function(){return mo.apply(void 0,Et)},Et,function(un,Pn){return un.length!==Pn.length||un.every(function(Yn,vr){return Yn!==Pn[vr]})})}function ln(_t){var Et,Qt,un=isMemo(_t)?_t.type.type:_t.type;return!(typeof un=="function"&&!((Et=un.prototype)!==null&&Et!==void 0&&Et.render)||typeof _t=="function"&&!((Qt=_t.prototype)!==null&&Qt!==void 0&&Qt.render))}function mn(_t){return!isValidElement(_t)||isFragment(_t)?!1:ln(_t)}function Ln(_t,Et,Qt,un){if(!Et.length)return Qt;var Pn=_toArray(Et),Yn=Pn[0],vr=Pn.slice(1),Nr;return!_t&&typeof Yn=="number"?Nr=[]:Array.isArray(_t)?Nr=_toConsumableArray(_t):Nr=_objectSpread({},_t),un&&Qt===void 0&&vr.length===1?delete Nr[Yn][vr[0]]:Nr[Yn]=Ln(Nr[Yn],vr,Qt,un),Nr}function Wn(_t,Et,Qt){var un=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Et.length&&un&&Qt===void 0&&!get(_t,Et.slice(0,-1))?_t:Ln(_t,Et,Qt,un)}function lr(_t){return _typeof(_t)==="object"&&_t!==null&&Object.getPrototypeOf(_t)===Object.prototype}function er(_t){return Array.isArray(_t)?[]:{}}var Wr=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Br(){for(var _t=arguments.length,Et=new Array(_t),Qt=0;Qt<_t;Qt++)Et[Qt]=arguments[Qt];var un=er(Et[0]);return Et.forEach(function(Pn){function Yn(vr,Nr){var no=new Set(Nr),uo=get(Pn,vr),io=Array.isArray(uo);if(io||lr(uo)){if(!no.has(uo)){no.add(uo);var Bo=get(un,vr);io?un=Wn(un,vr,[]):(!Bo||_typeof(Bo)!=="object")&&(un=Wn(un,vr,er(uo))),Wr(uo).forEach(function(dr){Yn([].concat(_toConsumableArray(vr),[dr]),no)})}}else un=Wn(un,vr,uo)}Yn([])}),un}var cr={},Mt=[],jt=function(Et){Mt.push(Et)};function Tt(_t,Et){if(0)var Qt}function wn(_t,Et){if(0)var Qt}function zn(){cr={}}function $n(_t,Et,Qt){!Et&&!cr[Qt]&&(_t(!1,Qt),cr[Qt]=!0)}function _r(_t,Et){$n(Tt,_t,Et)}function mr(_t,Et){$n(wn,_t,Et)}_r.preMessage=jt,_r.resetWarned=zn,_r.noteOnce=mr;var Lr=_r,ao=function(Et){var Qt=Et.prefixCls,un=Et.className,Pn=Et.style,Yn=Et.children,vr=Et.containerRef,Nr=Et.id,no=Et.onMouseEnter,uo=Et.onMouseOver,io=Et.onMouseLeave,Bo=Et.onClick,dr=Et.onKeyDown,Ot=Et.onKeyUp,Ut={onMouseEnter:no,onMouseOver:uo,onMouseLeave:io,onClick:Bo,onKeyDown:dr,onKeyUp:Ot},Yt=fe.useContext(bt),dt=Yt.panel,Jt=Sn(dt,vr);return fe.createElement(fe.Fragment,null,fe.createElement("div",(0,st.Z)({id:Nr,className:xe()("".concat(Qt,"-content"),un),style:(0,E.Z)({},Pn),"aria-modal":"true",role:"dialog",ref:Jt},Ut),Yn))},vo=ao;function Cn(_t){return typeof _t=="string"&&String(Number(_t))===_t?(Lr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(_t)):_t}function Kr(_t){warning(!("wrapperClassName"in _t),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!_t.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var At={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function an(_t,Et){var Qt,un,Pn,Yn,vr=_t.prefixCls,Nr=_t.open,no=_t.placement,uo=_t.inline,io=_t.push,Bo=_t.forceRender,dr=_t.autoFocus,Ot=_t.keyboard,Ut=_t.rootClassName,Yt=_t.rootStyle,dt=_t.zIndex,Jt=_t.className,vn=_t.id,yn=_t.style,Ht=_t.motion,Zt=_t.width,Kt=_t.height,Rn=_t.children,Vn=_t.contentWrapperStyle,sr=_t.mask,nr=_t.maskClosable,fr=_t.maskMotion,wr=_t.maskClassName,Tn=_t.maskStyle,Vt=_t.afterOpenChange,gn=_t.onClose,On=_t.onMouseEnter,Jn=_t.onMouseOver,Sr=_t.onMouseLeave,Rr=_t.onClick,ro=_t.onKeyDown,Or=_t.onKeyUp,ut=fe.useRef(),it=fe.useRef(),Pt=fe.useRef();fe.useImperativeHandle(Et,function(){return ut.current});var Bt=function(Uo){var fo=Uo.keyCode,Wo=Uo.shiftKey;switch(fo){case pt.TAB:{if(fo===pt.TAB){if(!Wo&&document.activeElement===Pt.current){var sa;(sa=it.current)===null||sa===void 0||sa.focus({preventScroll:!0})}else if(Wo&&document.activeElement===it.current){var Ua;(Ua=Pt.current)===null||Ua===void 0||Ua.focus({preventScroll:!0})}}break}case pt.ESC:{gn&&Ot&&(Uo.stopPropagation(),gn(Uo));break}}};fe.useEffect(function(){if(Nr&&dr){var Hr;(Hr=ut.current)===null||Hr===void 0||Hr.focus({preventScroll:!0})}},[Nr]);var Gt=fe.useState(!1),sn=(0,he.Z)(Gt,2),_n=sn[0],Mn=sn[1],Fn=fe.useContext(Ft),Kn;io===!1?Kn={distance:0}:io===!0?Kn={}:Kn=io||{};var gr=(Qt=(un=(Pn=Kn)===null||Pn===void 0?void 0:Pn.distance)!==null&&un!==void 0?un:Fn==null?void 0:Fn.pushDistance)!==null&&Qt!==void 0?Qt:180,hr=fe.useMemo(function(){return{pushDistance:gr,push:function(){Mn(!0)},pull:function(){Mn(!1)}}},[gr]);fe.useEffect(function(){if(Nr){var Hr;Fn==null||(Hr=Fn.push)===null||Hr===void 0||Hr.call(Fn)}else{var Uo;Fn==null||(Uo=Fn.pull)===null||Uo===void 0||Uo.call(Fn)}},[Nr]),fe.useEffect(function(){return function(){var Hr;Fn==null||(Hr=Fn.pull)===null||Hr===void 0||Hr.call(Fn)}},[]);var so=sr&&fe.createElement(Nt.Z,(0,st.Z)({key:"mask"},fr,{visible:Nr}),function(Hr,Uo){var fo=Hr.className,Wo=Hr.style;return fe.createElement("div",{className:xe()("".concat(vr,"-mask"),fo,wr),style:(0,E.Z)((0,E.Z)({},Wo),Tn),onClick:nr&&Nr?gn:void 0,ref:Uo})}),co=typeof Ht=="function"?Ht(no):Ht,qr={};if(_n&&gr)switch(no){case"top":qr.transform="translateY(".concat(gr,"px)");break;case"bottom":qr.transform="translateY(".concat(-gr,"px)");break;case"left":qr.transform="translateX(".concat(gr,"px)");break;default:qr.transform="translateX(".concat(-gr,"px)");break}no==="left"||no==="right"?qr.width=Cn(Zt):qr.height=Cn(Kt);var po={onMouseEnter:On,onMouseOver:Jn,onMouseLeave:Sr,onClick:Rr,onKeyDown:ro,onKeyUp:Or},Mo=fe.createElement(Nt.Z,(0,st.Z)({key:"panel"},co,{visible:Nr,forceRender:Bo,onVisibleChanged:function(Uo){Vt==null||Vt(Uo)},removeOnLeave:!1,leavedClassName:"".concat(vr,"-content-wrapper-hidden")}),function(Hr,Uo){var fo=Hr.className,Wo=Hr.style;return fe.createElement("div",(0,st.Z)({className:xe()("".concat(vr,"-content-wrapper"),fo),style:(0,E.Z)((0,E.Z)((0,E.Z)({},qr),Wo),Vn)},Hn(_t,{data:!0})),fe.createElement(vo,(0,st.Z)({id:vn,containerRef:Uo,prefixCls:vr,className:Jt,style:yn},po),Rn))}),Io=(0,E.Z)({},Yt);return dt&&(Io.zIndex=dt),fe.createElement(Ft.Provider,{value:hr},fe.createElement("div",{className:xe()(vr,"".concat(vr,"-").concat(no),Ut,(Yn={},(0,$t.Z)(Yn,"".concat(vr,"-open"),Nr),(0,$t.Z)(Yn,"".concat(vr,"-inline"),uo),Yn)),style:Io,tabIndex:-1,ref:ut,onKeyDown:Bt},so,fe.createElement("div",{tabIndex:0,ref:it,style:At,"aria-hidden":"true","data-sentinel":"start"}),Mo,fe.createElement("div",{tabIndex:0,ref:Pt,style:At,"aria-hidden":"true","data-sentinel":"end"})))}var qt=fe.forwardRef(an),on=qt,In=function(Et){var Qt=Et.open,un=Qt===void 0?!1:Qt,Pn=Et.prefixCls,Yn=Pn===void 0?"rc-drawer":Pn,vr=Et.placement,Nr=vr===void 0?"right":vr,no=Et.autoFocus,uo=no===void 0?!0:no,io=Et.keyboard,Bo=io===void 0?!0:io,dr=Et.width,Ot=dr===void 0?378:dr,Ut=Et.mask,Yt=Ut===void 0?!0:Ut,dt=Et.maskClosable,Jt=dt===void 0?!0:dt,vn=Et.getContainer,yn=Et.forceRender,Ht=Et.afterOpenChange,Zt=Et.destroyOnClose,Kt=Et.onMouseEnter,Rn=Et.onMouseOver,Vn=Et.onMouseLeave,sr=Et.onClick,nr=Et.onKeyDown,fr=Et.onKeyUp,wr=Et.panelRef,Tn=fe.useState(!1),Vt=(0,he.Z)(Tn,2),gn=Vt[0],On=Vt[1],Jn=fe.useState(!1),Sr=(0,he.Z)(Jn,2),Rr=Sr[0],ro=Sr[1];wt(function(){ro(!0)},[]);var Or=Rr?un:!1,ut=fe.useRef(),it=fe.useRef();wt(function(){Or&&(it.current=document.activeElement)},[Or]);var Pt=function(Mn){var Fn;if(On(Mn),Ht==null||Ht(Mn),!Mn&&it.current&&!((Fn=ut.current)!==null&&Fn!==void 0&&Fn.contains(it.current))){var Kn;(Kn=it.current)===null||Kn===void 0||Kn.focus({preventScroll:!0})}},Bt=fe.useMemo(function(){return{panel:wr}},[wr]);if(!yn&&!gn&&!Or&&Zt)return null;var Gt={onMouseEnter:Kt,onMouseOver:Rn,onMouseLeave:Vn,onClick:sr,onKeyDown:nr,onKeyUp:fr},sn=(0,E.Z)((0,E.Z)({},Et),{},{open:Or,prefixCls:Yn,placement:Nr,autoFocus:uo,keyboard:Bo,width:Ot,mask:Yt,maskClosable:Jt,inline:vn===!1,afterOpenChange:Pt,ref:ut},Gt);return fe.createElement(bt.Provider,{value:Bt},fe.createElement(Le,{open:Or||yn||gn,autoDestroy:!1,getContainer:vn,autoLock:Yt&&(Or||gn)},fe.createElement(on,sn)))},tn=In,An=tn,cn=pe(33603),xr=pe(53124),ur=pe(65223),Ur=pe(69760),xo=_t=>{const{prefixCls:Et,title:Qt,footer:un,extra:Pn,closeIcon:Yn,closable:vr,onClose:Nr,headerStyle:no,drawerStyle:uo,bodyStyle:io,footerStyle:Bo,children:dr}=_t,Ot=fe.useCallback(vn=>fe.createElement("button",{type:"button",onClick:Nr,"aria-label":"Close",className:`${Et}-close`},vn),[Nr]),[Ut,Yt]=(0,Ur.Z)(vr,Yn,Ot,void 0,!0),dt=fe.useMemo(()=>!Qt&&!Ut?null:fe.createElement("div",{style:no,className:xe()(`${Et}-header`,{[`${Et}-header-close-only`]:Ut&&!Qt&&!Pn})},fe.createElement("div",{className:`${Et}-header-title`},Yt,Qt&&fe.createElement("div",{className:`${Et}-title`},Qt)),Pn&&fe.createElement("div",{className:`${Et}-extra`},Pn)),[Ut,Yt,Pn,no,Et,Qt]),Jt=fe.useMemo(()=>{if(!un)return null;const vn=`${Et}-footer`;return fe.createElement("div",{className:vn,style:Bo},un)},[un,Bo,Et]);return fe.createElement("div",{className:`${Et}-wrapper-body`,style:uo},dt,fe.createElement("div",{className:`${Et}-body`,style:io},dr),Jt)},dn=pe(4173),Ro=pe(67968),ea=pe(45503),ta=_t=>{const{componentCls:Et,motionDurationSlow:Qt}=_t,un={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Qt}`}}};return{[Et]:{[`${Et}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Qt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Et}-panel-motion`]:{"&-left":[un,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[un,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[un,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[un,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Dn=_t=>{const{componentCls:Et,zIndexPopup:Qt,colorBgMask:un,colorBgElevated:Pn,motionDurationSlow:Yn,motionDurationMid:vr,padding:Nr,paddingLG:no,fontSizeLG:uo,lineHeightLG:io,lineWidth:Bo,lineType:dr,colorSplit:Ot,marginSM:Ut,colorIcon:Yt,colorIconHover:dt,colorText:Jt,fontWeightStrong:vn,footerPaddingBlock:yn,footerPaddingInline:Ht}=_t,Zt=`${Et}-content-wrapper`;return{[Et]:{position:"fixed",inset:0,zIndex:Qt,pointerEvents:"none","&-pure":{position:"relative",background:Pn,[`&${Et}-left`]:{boxShadow:_t.boxShadowDrawerLeft},[`&${Et}-right`]:{boxShadow:_t.boxShadowDrawerRight},[`&${Et}-top`]:{boxShadow:_t.boxShadowDrawerUp},[`&${Et}-bottom`]:{boxShadow:_t.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Et}-mask`]:{position:"absolute",inset:0,zIndex:Qt,background:un,pointerEvents:"auto"},[Zt]:{position:"absolute",zIndex:Qt,maxWidth:"100vw",transition:`all ${Yn}`,"&-hidden":{display:"none"}},[`&-left > ${Zt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:_t.boxShadowDrawerLeft},[`&-right > ${Zt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:_t.boxShadowDrawerRight},[`&-top > ${Zt}`]:{top:0,insetInline:0,boxShadow:_t.boxShadowDrawerUp},[`&-bottom > ${Zt}`]:{bottom:0,insetInline:0,boxShadow:_t.boxShadowDrawerDown},[`${Et}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Pn,pointerEvents:"auto"},[`${Et}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Et}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Nr}px ${no}px`,fontSize:uo,lineHeight:io,borderBottom:`${Bo}px ${dr} ${Ot}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Et}-extra`]:{flex:"none"},[`${Et}-close`]:{display:"inline-block",marginInlineEnd:Ut,color:Yt,fontWeight:vn,fontSize:uo,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${vr}`,textRendering:"auto","&:focus, &:hover":{color:dt,textDecoration:"none"}},[`${Et}-title`]:{flex:1,margin:0,color:Jt,fontWeight:_t.fontWeightStrong,fontSize:uo,lineHeight:io},[`${Et}-body`]:{flex:1,minWidth:0,minHeight:0,padding:no,overflow:"auto"},[`${Et}-footer`]:{flexShrink:0,padding:`${yn}px ${Ht}px`,borderTop:`${Bo}px ${dr} ${Ot}`},"&-rtl":{direction:"rtl"}}}};var ar=(0,Ro.Z)("Drawer",_t=>{const Et=(0,ea.TS)(_t,{});return[Dn(Et),ta(Et)]},_t=>({zIndexPopup:_t.zIndexPopupBase,footerPaddingBlock:_t.paddingXS,footerPaddingInline:_t.padding})),Ir=pe(16569),Bn=function(_t,Et){var Qt={};for(var un in _t)Object.prototype.hasOwnProperty.call(_t,un)&&Et.indexOf(un)<0&&(Qt[un]=_t[un]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pn=0,un=Object.getOwnPropertySymbols(_t);Pn<un.length;Pn++)Et.indexOf(un[Pn])<0&&Object.prototype.propertyIsEnumerable.call(_t,un[Pn])&&(Qt[un[Pn]]=_t[un[Pn]]);return Qt};const wo=null,lo={distance:180},ia=_t=>{var Et;const{rootClassName:Qt,width:un,height:Pn,size:Yn="default",mask:vr=!0,push:Nr=lo,open:no,afterOpenChange:uo,onClose:io,prefixCls:Bo,getContainer:dr,style:Ot,className:Ut,visible:Yt,afterVisibleChange:dt}=_t,Jt=Bn(_t,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:vn,getPrefixCls:yn,direction:Ht,drawer:Zt}=fe.useContext(xr.E_),Kt=yn("drawer",Bo),[Rn,Vn]=ar(Kt),sr=dr===void 0&&vn?()=>vn(document.body):dr,nr=xe()({"no-mask":!vr,[`${Kt}-rtl`]:Ht==="rtl"},Qt,Vn),fr=fe.useMemo(()=>un!=null?un:Yn==="large"?736:378,[un,Yn]),wr=fe.useMemo(()=>Pn!=null?Pn:Yn==="large"?736:378,[Pn,Yn]),Tn={motionName:(0,cn.m)(Kt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Vt=On=>({motionName:(0,cn.m)(Kt,`panel-motion-${On}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),gn=(0,Ir.H)();return Rn(fe.createElement(dn.BR,null,fe.createElement(ur.Ux,{status:!0,override:!0},fe.createElement(An,Object.assign({prefixCls:Kt,onClose:io,maskMotion:Tn,motion:Vt},Jt,{open:no!=null?no:Yt,mask:vr,push:Nr,width:fr,height:wr,style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),Ot),className:xe()(Zt==null?void 0:Zt.className,Ut),rootClassName:nr,getContainer:sr,afterOpenChange:uo!=null?uo:dt,panelRef:gn}),fe.createElement(xo,Object.assign({prefixCls:Kt},Jt,{onClose:io}))))))},ca=_t=>{const{prefixCls:Et,style:Qt,className:un,placement:Pn="right"}=_t,Yn=Bn(_t,["prefixCls","style","className","placement"]),{getPrefixCls:vr}=fe.useContext(xr.E_),Nr=vr("drawer",Et),[no,uo]=ar(Nr),io=xe()(Nr,`${Nr}-pure`,`${Nr}-${Pn}`,uo,un);return no(fe.createElement("div",{className:io,style:Qt},fe.createElement(xo,Object.assign({prefixCls:Nr},Yn))))};ia._InternalPanelDoNotUseOrYouWillBeFired=ca;var ua=ia},56153:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return xs}});var be=pe(67294),xe=pe.t(be,2),E=pe(91034),he=pe(94184),fe=pe.n(he),se=pe(87462),re=pe(4942),ie=pe(97685),le=pe(45987),ce=pe(1413),ae=pe(73935);function oe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ne={};function z(at,vt){}function a(at,vt){}function y(){ne={}}function x(at,vt,mt){!vt&&!ne[mt]&&(at(!1,mt),ne[mt]=!0)}function b(at,vt){x(z,at,vt)}function ee(at,vt){x(a,at,vt)}var te=null,ue=pe(71002),de=pe(12060);function ge(at,vt,mt){var kt=be.useRef({});return(!("value"in kt.current)||mt(kt.current.condition,vt))&&(kt.current.value=at(),kt.current.condition=vt),kt.current.value}function ve(at,vt){typeof at=="function"?at(vt):(0,ue.Z)(at)==="object"&&at&&"current"in at&&(at.current=vt)}function me(){for(var at=arguments.length,vt=new Array(at),mt=0;mt<at;mt++)vt[mt]=arguments[mt];var kt=vt.filter(function(en){return en});return kt.length<=1?kt[0]:function(en){vt.forEach(function(bn){ve(bn,en)})}}function Se(){for(var at=arguments.length,vt=new Array(at),mt=0;mt<at;mt++)vt[mt]=arguments[mt];return ge(function(){return me.apply(void 0,vt)},vt,function(kt,en){return kt.length===en.length&&kt.every(function(bn,En){return bn===en[En]})})}function ye(at){var vt,mt,kt=(0,de.isMemo)(at)?at.type.type:at.type;return!(typeof kt=="function"&&!((vt=kt.prototype)!==null&&vt!==void 0&&vt.render)||typeof at=="function"&&!((mt=at.prototype)!==null&&mt!==void 0&&mt.render))}var Pe=be.createContext(null),we=Pe,Te=pe(74902),Ee=oe()?be.useLayoutEffect:be.useEffect,_e=Ee,Ce=function(vt,mt){var kt=React.useRef(!0);Ee(function(){if(!kt.current)return vt()},mt),Ee(function(){return kt.current=!1,function(){kt.current=!0}},[])},Oe=[];function Ie(at,vt){var mt=be.useState(function(){if(!oe())return null;var eo=document.createElement("div");return eo}),kt=(0,ie.Z)(mt,1),en=kt[0],bn=be.useRef(!1),En=be.useContext(we),Gn=be.useState(Oe),Nn=(0,ie.Z)(Gn,2),ir=Nn[0],Dr=Nn[1],tr=En||(bn.current?void 0:function(eo){Dr(function(Zo){var Do=[eo].concat((0,Te.Z)(Zo));return Do})});function Fr(){en.parentElement||document.body.appendChild(en),bn.current=!0}function Mr(){var eo;(eo=en.parentElement)===null||eo===void 0||eo.removeChild(en),bn.current=!1}return _e(function(){return at?En?En(Fr):Fr():Mr(),Mr},[at]),_e(function(){ir.length&&(ir.forEach(function(eo){return eo()}),Dr(Oe))},[ir]),[en,tr]}function Ue(at,vt){if(!at)return!1;if(at.contains)return at.contains(vt);for(var mt=vt;mt;){if(mt===at)return!0;mt=mt.parentNode}return!1}var je="data-rc-order",nt="rc-util-key",Je=new Map;function Qe(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},vt=at.mark;return vt?vt.startsWith("data-")?vt:"data-".concat(vt):nt}function Xe(at){if(at.attachTo)return at.attachTo;var vt=document.querySelector("head");return vt||document.body}function ze(at){return at==="queue"?"prependQueue":at?"prepend":"append"}function ke(at){return Array.from((Je.get(at)||at).children).filter(function(vt){return vt.tagName==="STYLE"})}function Be(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!oe())return null;var mt=vt.csp,kt=vt.prepend,en=document.createElement("style");en.setAttribute(je,ze(kt)),mt!=null&&mt.nonce&&(en.nonce=mt==null?void 0:mt.nonce),en.innerHTML=at;var bn=Xe(vt),En=bn.firstChild;if(kt){if(kt==="queue"){var Gn=ke(bn).filter(function(Nn){return["prepend","prependQueue"].includes(Nn.getAttribute(je))});if(Gn.length)return bn.insertBefore(en,Gn[Gn.length-1].nextSibling),en}bn.insertBefore(en,En)}else bn.appendChild(en);return en}function qe(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=Xe(vt);return ke(mt).find(function(kt){return kt.getAttribute(Qe(vt))===at})}function Ye(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=qe(at,vt);if(mt){var kt=Xe(vt);kt.removeChild(mt)}}function gt(at,vt){var mt=Je.get(at);if(!mt||!Ue(document,mt)){var kt=Be("",vt),en=kt.parentNode;Je.set(at,en),at.removeChild(kt)}}function $e(){Je.clear()}function We(at,vt){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},kt=Xe(mt);gt(kt,mt);var en=qe(vt,mt);if(en){var bn,En;if((bn=mt.csp)!==null&&bn!==void 0&&bn.nonce&&en.nonce!==((En=mt.csp)===null||En===void 0?void 0:En.nonce)){var Gn;en.nonce=(Gn=mt.csp)===null||Gn===void 0?void 0:Gn.nonce}return en.innerHTML!==at&&(en.innerHTML=at),en}var Nn=Be(at,mt);return Nn.setAttribute(Qe(mt),vt),Nn}var Re;function tt(at){if(typeof document=="undefined")return 0;if(at||Re===void 0){var vt=document.createElement("div");vt.style.width="100%",vt.style.height="200px";var mt=document.createElement("div"),kt=mt.style;kt.position="absolute",kt.top="0",kt.left="0",kt.pointerEvents="none",kt.visibility="hidden",kt.width="200px",kt.height="150px",kt.overflow="hidden",mt.appendChild(vt),document.body.appendChild(mt);var en=vt.offsetWidth;mt.style.overflow="scroll";var bn=vt.offsetWidth;en===bn&&(bn=mt.clientWidth),document.body.removeChild(mt),Re=en-bn}return Re}function Me(at){var vt=at.match(/^(.*)px$/),mt=Number(vt==null?void 0:vt[1]);return Number.isNaN(mt)?tt():mt}function He(at){if(typeof document=="undefined"||!at||!(at instanceof Element))return{width:0,height:0};var vt=getComputedStyle(at,"::-webkit-scrollbar"),mt=vt.width,kt=vt.height;return{width:Me(mt),height:Me(kt)}}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(at){var vt=!!at,mt=be.useState(function(){return Ke+=1,"".concat(Ze,"_").concat(Ke)}),kt=(0,ie.Z)(mt,1),en=kt[0];_e(function(){if(vt){var bn=He(document.body).width,En=Ve();We(`
html body {
overflow-y: hidden;
`.concat(En?"width: calc(100% - ".concat(bn,"px);"):"",`
}`),en)}else Ye(en);return function(){Ye(en)}},[vt,en])}var Le=!1;function Ne(at){return typeof at=="boolean"&&(Le=at),Le}var Ge=function(vt){return vt===!1?!1:!oe()||!vt?null:typeof vt=="string"?document.querySelector(vt):typeof vt=="function"?vt():vt},ot=be.forwardRef(function(at,vt){var mt=at.open,kt=at.autoLock,en=at.getContainer,bn=at.debug,En=at.autoDestroy,Gn=En===void 0?!0:En,Nn=at.children,ir=be.useState(mt),Dr=(0,ie.Z)(ir,2),tr=Dr[0],Fr=Dr[1],Mr=tr||mt;be.useEffect(function(){(Gn||mt)&&Fr(mt)},[mt,Gn]);var eo=be.useState(function(){return Ge(en)}),Zo=(0,ie.Z)(eo,2),Do=Zo[0],Vo=Zo[1];be.useEffect(function(){var Ba=Ge(en);Vo(Ba!=null?Ba:null)});var Ho=Ie(Mr&&!Do,bn),Oo=(0,ie.Z)(Ho,2),Vr=Oo[0],Oa=Oo[1],wa=Do!=null?Do:Vr;Ae(kt&&mt&&oe()&&(wa===Vr||wa===document.body));var Aa=null;if(Nn&&ye(Nn)&&vt){var Fa=Nn;Aa=Fa.ref}var ii=Se(Aa,vt);if(!Mr||!oe()||Do===void 0)return null;var pa=wa===!1||Ne(),ra=Nn;return vt&&(ra=be.cloneElement(Nn,{ref:ii})),be.createElement(we.Provider,{value:Oa},pa?ra:(0,ae.createPortal)(ra,wa))}),St=ot,wt=St,rt=pe(48555);function bt(at){return at instanceof HTMLElement||at instanceof SVGElement}function Ft(at){return bt(at)?at:at instanceof React.Component?ReactDOM.findDOMNode(at):null}function $t(at){var vt;return at==null||(vt=at.getRootNode)===null||vt===void 0?void 0:vt.call(at)}function st(at){return $t(at)instanceof ShadowRoot}function Nt(at){return st(at)?$t(at):null}function ct(at){var vt=be.useRef();vt.current=at;var mt=be.useCallback(function(){for(var kt,en=arguments.length,bn=new Array(en),En=0;En<en;En++)bn[En]=arguments[En];return(kt=vt.current)===null||kt===void 0?void 0:kt.call.apply(kt,[vt].concat(bn))},[]);return mt}function pt(){var at=(0,ce.Z)({},xe);return at.useId}var Ct=0;function Rt(){}var zt=pt(),rn=zt?function(vt){var mt=zt();return vt||mt}:function(vt){var mt=be.useState("ssr-id"),kt=(0,ie.Z)(mt,2),en=kt[0],bn=kt[1];return be.useEffect(function(){var En=Ct;Ct+=1,bn("rc_unique_".concat(En))},[]),vt||en};function kn(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var jn=kn()?be.useLayoutEffect:be.useEffect,Hn=function(vt,mt){var kt=be.useRef(!0);jn(function(){return vt(kt.current)},mt),jn(function(){return kt.current=!1,function(){kt.current=!0}},[])},Pr=function(vt,mt){Hn(function(kt){if(!kt)return vt()},mt)},fn=Hn,Er=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var at=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(at)||/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(at==null?void 0:at.substr(0,4))},oo=be.createContext(null),Lo=oo;function zo(at){return at?Array.isArray(at)?at:[at]:[]}function Eo(at,vt,mt,kt){return be.useMemo(function(){var en=zo(mt!=null?mt:vt),bn=zo(kt!=null?kt:vt),En=new Set(en),Gn=new Set(bn);return at&&(En.has("hover")&&(En.delete("hover"),En.add("click")),Gn.has("hover")&&(Gn.delete("hover"),Gn.add("click"))),[En,Gn]},[at,vt,mt,kt])}var mo=function(at){if(!at)return!1;if(at instanceof Element){if(at.offsetParent)return!0;if(at.getBBox){var vt=at.getBBox(),mt=vt.width,kt=vt.height;if(mt||kt)return!0}if(at.getBoundingClientRect){var en=at.getBoundingClientRect(),bn=en.width,En=en.height;if(bn||En)return!0}}return!1};function Sn(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],mt=arguments.length>2?arguments[2]:void 0;return mt?at[0]===vt[0]:at[0]===vt[0]&&at[1]===vt[1]}function ln(at,vt,mt,kt){for(var en=mt.points,bn=Object.keys(at),En=0;En<bn.length;En+=1){var Gn,Nn=bn[En];if(Sn((Gn=at[Nn])===null||Gn===void 0?void 0:Gn.points,en,kt))return"".concat(vt,"-placement-").concat(Nn)}return""}function mn(at,vt,mt,kt){return vt||(mt?{motionName:"".concat(at,"-").concat(mt)}:kt?{motionName:kt}:null)}function Ln(at){return at.ownerDocument.defaultView}function Wn(at){for(var vt=[],mt=at==null?void 0:at.parentElement,kt=["hidden","scroll","clip","auto"];mt;){var en=Ln(mt).getComputedStyle(mt),bn=en.overflowX,En=en.overflowY,Gn=en.overflow;[bn,En,Gn].some(function(Nn){return kt.includes(Nn)})&&vt.push(mt),mt=mt.parentElement}return vt}function lr(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(at)?vt:at}function er(at){return lr(parseFloat(at),0)}function Wr(at,vt){var mt=(0,ce.Z)({},at);return(vt||[]).forEach(function(kt){if(!(kt instanceof HTMLBodyElement||kt instanceof HTMLHtmlElement)){var en=Ln(kt).getComputedStyle(kt),bn=en.overflow,En=en.overflowClipMargin,Gn=en.borderTopWidth,Nn=en.borderBottomWidth,ir=en.borderLeftWidth,Dr=en.borderRightWidth,tr=kt.getBoundingClientRect(),Fr=kt.offsetHeight,Mr=kt.clientHeight,eo=kt.offsetWidth,Zo=kt.clientWidth,Do=er(Gn),Vo=er(Nn),Ho=er(ir),Oo=er(Dr),Vr=lr(Math.round(tr.width/eo*1e3)/1e3),Oa=lr(Math.round(tr.height/Fr*1e3)/1e3),wa=(eo-Zo-Ho-Oo)*Vr,Aa=(Fr-Mr-Do-Vo)*Oa,Fa=Do*Oa,ii=Vo*Oa,pa=Ho*Vr,ra=Oo*Vr,Ba=0,Ka=0;if(bn==="clip"){var Ca=er(En);Ba=Ca*Vr,Ka=Ca*Oa}var Qo=tr.x+pa-Ba,ma=tr.y+Fa-Ka,jo=Qo+tr.width+2*Ba-pa-ra-wa,ei=ma+tr.height+2*Ka-Fa-ii-Aa;mt.left=Math.max(mt.left,Qo),mt.top=Math.max(mt.top,ma),mt.right=Math.min(mt.right,jo),mt.bottom=Math.min(mt.bottom,ei)}}),mt}function Br(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,mt="".concat(vt),kt=mt.match(/^(.*)\%$/);return kt?at*(parseFloat(kt[1])/100):parseFloat(mt)}function cr(at,vt){var mt=vt||[],kt=(0,ie.Z)(mt,2),en=kt[0],bn=kt[1];return[Br(at.width,en),Br(at.height,bn)]}function Mt(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[at[0],at[1]]}function jt(at,vt){var mt=vt[0],kt=vt[1],en,bn;return mt==="t"?bn=at.y:mt==="b"?bn=at.y+at.height:bn=at.y+at.height/2,kt==="l"?en=at.x:kt==="r"?en=at.x+at.width:en=at.x+at.width/2,{x:en,y:bn}}function Tt(at,vt){var mt={t:"b",b:"t",l:"r",r:"l"};return at.map(function(kt,en){return en===vt?mt[kt]||"c":kt}).join("")}function wn(at,vt,mt,kt,en,bn,En){var Gn=be.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:en[kt]||{}}),Nn=(0,ie.Z)(Gn,2),ir=Nn[0],Dr=Nn[1],tr=be.useRef(0),Fr=be.useMemo(function(){return vt?Wn(vt):[]},[vt]),Mr=be.useRef({}),eo=function(){Mr.current={}};at||eo();var Zo=ct(function(){if(vt&&mt&&at){let zr=function(yo,Gr){var _o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:oi,Fo=fa.x+yo,la=fa.y+Gr,Xo=Fo+va,Ia=la+Qa,ja=Math.max(Fo,_o.left),Co=Math.max(la,_o.top),Za=Math.min(Xo,_o.right),qn=Math.min(Ia,_o.bottom);return Math.max(0,(Za-ja)*(qn-Co))},bo=function(){hs=fa.y+_a,Os=hs+Qa,As=fa.x+si,Rs=As+va};var Ho,Oo,Vr=vt,Oa=Vr.ownerDocument,wa=Ln(Vr),Aa=wa.getComputedStyle(Vr),Fa=Aa.width,ii=Aa.height,pa=Aa.position,ra=Vr.style.left,Ba=Vr.style.top,Ka=Vr.style.right,Ca=Vr.style.bottom,Qo=(0,ce.Z)((0,ce.Z)({},en[kt]),bn),ma=Oa.createElement("div");(Ho=Vr.parentElement)===null||Ho===void 0||Ho.appendChild(ma),ma.style.left="".concat(Vr.offsetLeft,"px"),ma.style.top="".concat(Vr.offsetTop,"px"),ma.style.position=pa,ma.style.height="".concat(Vr.offsetHeight,"px"),ma.style.width="".concat(Vr.offsetWidth,"px"),Vr.style.left="0",Vr.style.top="0",Vr.style.right="auto",Vr.style.bottom="auto";var jo;if(Array.isArray(mt))jo={x:mt[0],y:mt[1],width:0,height:0};else{var ei=mt.getBoundingClientRect();jo={x:ei.x,y:ei.y,width:ei.width,height:ei.height}}var fa=Vr.getBoundingClientRect(),ri=Oa.documentElement,Ei=ri.clientWidth,ui=ri.clientHeight,ji=ri.scrollWidth,Ni=ri.scrollHeight,ga=ri.scrollTop,Oi=ri.scrollLeft,Qa=fa.height,va=fa.width,qa=jo.height,xi=jo.width,ts={left:0,top:0,right:Ei,bottom:ui},bs={left:-Oi,top:-ga,right:ji-Oi,bottom:Ni-ga},pi=Qo.htmlRegion,bi="visible",Zi="visibleFirst";pi!=="scroll"&&pi!==Zi&&(pi=bi);var Pi=pi===Zi,Ea=Wr(bs,Fr),Ao=Wr(ts,Fr),oi=pi===bi?Ao:Ea,Ai=Pi?Ao:oi;Vr.style.left="auto",Vr.style.top="auto",Vr.style.right="0",Vr.style.bottom="0";var ns=Vr.getBoundingClientRect();Vr.style.left=ra,Vr.style.top=Ba,Vr.style.right=Ka,Vr.style.bottom=Ca,(Oo=Vr.parentElement)===null||Oo===void 0||Oo.removeChild(ma);var _s=lr(Math.round(va/parseFloat(Fa)*1e3)/1e3),Vi=lr(Math.round(Qa/parseFloat(ii)*1e3)/1e3);if(_s===0||Vi===0||bt(mt)&&!mo(mt))return;var Ns=Qo.offset,Qs=Qo.targetOffset,Xi=cr(fa,Ns),il=(0,ie.Z)(Xi,2),Yi=il[0],rs=il[1],el=cr(jo,Qs),os=(0,ie.Z)(el,2),sl=os[0],ll=os[1];jo.x-=sl,jo.y-=ll;var Gs=Qo.points||[],Di=(0,ie.Z)(Gs,2),Ts=Di[0],cl=Di[1],Ps=Mt(cl),ki=Mt(Ts),ul=jt(jo,Ps),$s=jt(fa,ki),Ls=(0,ce.Z)({},Qo),si=ul.x-$s.x+Yi,_a=ul.y-$s.y+rs,as=zr(si,_a),gs=zr(si,_a,Ao),Ws=jt(jo,["t","l"]),tl=jt(fa,["t","l"]),Ks=jt(jo,["b","r"]),Ji=jt(fa,["b","r"]),Ds=Qo.overflow||{},dl=Ds.adjustX,Zs=Ds.adjustY,nl=Ds.shiftX,Vs=Ds.shiftY,rl=function(Gr){return typeof Gr=="boolean"?Gr:Gr>=0},hs,Os,As,Rs;bo();var Xs=rl(Zs),ol=ki[0]===Ps[0];if(Xs&&ki[0]==="t"&&(Os>Ai.bottom||Mr.current.bt)){var is=_a;ol?is-=Qa-qa:is=Ws.y-Ji.y-rs;var $i=zr(si,is),Fi=zr(si,is,Ao);$i>as||$i===as&&(!Pi||Fi>=gs)?(Mr.current.bt=!0,_a=is,rs=-rs,Ls.points=[Tt(ki,0),Tt(Ps,0)]):Mr.current.bt=!1}if(Xs&&ki[0]==="b"&&(hs<Ai.top||Mr.current.tb)){var Ms=_a;ol?Ms+=Qa-qa:Ms=Ks.y-tl.y-rs;var De=zr(si,Ms),Fe=zr(si,Ms,Ao);De>as||De===as&&(!Pi||Fe>=gs)?(Mr.current.tb=!0,_a=Ms,rs=-rs,Ls.points=[Tt(ki,0),Tt(Ps,0)]):Mr.current.tb=!1}var et=rl(dl),lt=ki[1]===Ps[1];if(et&&ki[1]==="l"&&(Rs>Ai.right||Mr.current.rl)){var ht=si;lt?ht-=va-xi:ht=Ws.x-Ji.x-Yi;var yt=zr(ht,_a),Lt=zr(ht,_a,Ao);yt>as||yt===as&&(!Pi||Lt>=gs)?(Mr.current.rl=!0,si=ht,Yi=-Yi,Ls.points=[Tt(ki,1),Tt(Ps,1)]):Mr.current.rl=!1}if(et&&ki[1]==="r"&&(As<Ai.left||Mr.current.lr)){var Dt=si;lt?Dt+=va-xi:Dt=Ks.x-tl.x-Yi;var It=zr(Dt,_a),Wt=zr(Dt,_a,Ao);It>as||It===as&&(!Pi||Wt>=gs)?(Mr.current.lr=!0,si=Dt,Yi=-Yi,Ls.points=[Tt(ki,1),Tt(Ps,1)]):Mr.current.lr=!1}bo();var nn=nl===!0?0:nl;typeof nn=="number"&&(As<Ao.left&&(si-=As-Ao.left-Yi,jo.x+xi<Ao.left+nn&&(si+=jo.x-Ao.left+xi-nn)),Rs>Ao.right&&(si-=Rs-Ao.right-Yi,jo.x>Ao.right-nn&&(si+=jo.x-Ao.right+nn)));var Xt=Vs===!0?0:Vs;typeof Xt=="number"&&(hs<Ao.top&&(_a-=hs-Ao.top-rs,jo.y+qa<Ao.top+Xt&&(_a+=jo.y-Ao.top+qa-Xt)),Os>Ao.bottom&&(_a-=Os-Ao.bottom-rs,jo.y>Ao.bottom-Xt&&(_a+=jo.y-Ao.bottom+Xt)));var hn=fa.x+si,pn=hn+va,xn=fa.y+_a,Xn=xn+Qa,Un=jo.x,Qn=Un+xi,Zn=jo.y,rr=Zn+qa,jr=Math.max(hn,Un),Zr=Math.min(pn,Qn),Tr=(jr+Zr)/2,ho=Tr-hn,So=Math.max(xn,Zn),yr=Math.min(Xn,rr),Ar=(So+yr)/2,pr=Ar-xn;En==null||En(vt,Ls);var or=ns.right-fa.x-(si+fa.width),Cr=ns.bottom-fa.y-(_a+fa.height);Dr({ready:!0,offsetX:si/_s,offsetY:_a/Vi,offsetR:or/_s,offsetB:Cr/Vi,arrowX:ho/_s,arrowY:pr/Vi,scaleX:_s,scaleY:Vi,align:Ls})}}),Do=function(){tr.current+=1;var Oo=tr.current;Promise.resolve().then(function(){tr.current===Oo&&Zo()})},Vo=function(){Dr(function(Oo){return(0,ce.Z)((0,ce.Z)({},Oo),{},{ready:!1})})};return fn(Vo,[kt]),fn(function(){at||Vo()},[at]),[ir.ready,ir.offsetX,ir.offsetY,ir.offsetR,ir.offsetB,ir.arrowX,ir.arrowY,ir.scaleX,ir.scaleY,ir.align,Do]}function zn(at,vt,mt,kt,en){fn(function(){if(at&&vt&&mt){let tr=function(){kt(),en()};var bn=vt,En=mt,Gn=Wn(bn),Nn=Wn(En),ir=Ln(En),Dr=new Set([ir].concat((0,Te.Z)(Gn),(0,Te.Z)(Nn)));return Dr.forEach(function(Fr){Fr.addEventListener("scroll",tr,{passive:!0})}),ir.addEventListener("resize",tr,{passive:!0}),kt(),function(){Dr.forEach(function(Fr){Fr.removeEventListener("scroll",tr),ir.removeEventListener("resize",tr)})}}},[at,vt,mt])}function $n(at){var vt=React.useRef(!1),mt=React.useState(at),kt=_slicedToArray(mt,2),en=kt[0],bn=kt[1];React.useEffect(function(){return vt.current=!1,function(){vt.current=!0}},[]);function En(Gn,Nn){Nn&&vt.current||bn(Gn)}return[en,En]}function _r(at){return at!==void 0}function mr(at,vt){var mt=vt||{},kt=mt.defaultValue,en=mt.value,bn=mt.onChange,En=mt.postState,Gn=useState(function(){return _r(en)?en:_r(kt)?typeof kt=="function"?kt():kt:typeof at=="function"?at():at}),Nn=_slicedToArray(Gn,2),ir=Nn[0],Dr=Nn[1],tr=en!==void 0?en:ir,Fr=En?En(tr):tr,Mr=useEvent(bn),eo=useState([tr]),Zo=_slicedToArray(eo,2),Do=Zo[0],Vo=Zo[1];useLayoutUpdateEffect(function(){var Oo=Do[0];ir!==Oo&&Mr(ir,Oo)},[Do]),useLayoutUpdateEffect(function(){_r(en)||Dr(en)},[en]);var Ho=useEvent(function(Oo,Vr){Dr(Oo,Vr),Vo([tr],Vr)});return[Fr,Ho]}var Lr=pe(95845);function ao(at,vt,mt){var kt=be.useRef({});return(!("value"in kt.current)||mt(kt.current.condition,vt))&&(kt.current.value=at(),kt.current.condition=vt),kt.current.value}function vo(at,vt){typeof at=="function"?at(vt):(0,ue.Z)(at)==="object"&&at&&"current"in at&&(at.current=vt)}function Cn(){for(var at=arguments.length,vt=new Array(at),mt=0;mt<at;mt++)vt[mt]=arguments[mt];var kt=vt.filter(function(en){return en});return kt.length<=1?kt[0]:function(en){vt.forEach(function(bn){vo(bn,en)})}}function Kr(){for(var at=arguments.length,vt=new Array(at),mt=0;mt<at;mt++)vt[mt]=arguments[mt];return ao(function(){return Cn.apply(void 0,vt)},vt,function(kt,en){return kt.length!==en.length||kt.every(function(bn,En){return bn!==en[En]})})}function At(at){var vt,mt,kt=(0,Lr.isMemo)(at)?at.type.type:at.type;return!(typeof kt=="function"&&!((vt=kt.prototype)!==null&&vt!==void 0&&vt.render)||typeof at=="function"&&!((mt=at.prototype)!==null&&mt!==void 0&&mt.render))}function an(at){return!isValidElement(at)||isFragment(at)?!1:At(at)}function qt(at,vt,mt,kt){if(!vt.length)return mt;var en=_toArray(vt),bn=en[0],En=en.slice(1),Gn;return!at&&typeof bn=="number"?Gn=[]:Array.isArray(at)?Gn=_toConsumableArray(at):Gn=_objectSpread({},at),kt&&mt===void 0&&En.length===1?delete Gn[bn][En[0]]:Gn[bn]=qt(Gn[bn],En,mt,kt),Gn}function on(at,vt,mt){var kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return vt.length&&kt&&mt===void 0&&!get(at,vt.slice(0,-1))?at:qt(at,vt,mt,kt)}function In(at){return _typeof(at)==="object"&&at!==null&&Object.getPrototypeOf(at)===Object.prototype}function tn(at){return Array.isArray(at)?[]:{}}var An=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function cn(){for(var at=arguments.length,vt=new Array(at),mt=0;mt<at;mt++)vt[mt]=arguments[mt];var kt=tn(vt[0]);return vt.forEach(function(en){function bn(En,Gn){var Nn=new Set(Gn),ir=get(en,En),Dr=Array.isArray(ir);if(Dr||In(ir)){if(!Nn.has(ir)){Nn.add(ir);var tr=get(kt,En);Dr?kt=on(kt,En,[]):(!tr||_typeof(tr)!=="object")&&(kt=on(kt,En,tn(ir))),An(ir).forEach(function(Fr){bn([].concat(_toConsumableArray(En),[Fr]),Nn)})}}else kt=on(kt,En,ir)}bn([])}),kt}var xr={},ur=[],Ur=function(vt){ur.push(vt)};function to(at,vt){if(0)var mt}function xo(at,vt){if(0)var mt}function dn(){xr={}}function Ro(at,vt,mt){!vt&&!xr[mt]&&(at(!1,mt),xr[mt]=!0)}function ea(at,vt){Ro(to,at,vt)}function Po(at,vt){Ro(xo,at,vt)}ea.preMessage=Ur,ea.resetWarned=dn,ea.noteOnce=Po;var ta=null,Dn=function(vt){return+setTimeout(vt,16)},ar=function(vt){return clearTimeout(vt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Dn=function(vt){return window.requestAnimationFrame(vt)},ar=function(vt){return window.cancelAnimationFrame(vt)});var Ir=0,Bn=new Map;function wo(at){Bn.delete(at)}var lo=function(vt){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ir+=1;var kt=Ir;function en(bn){if(bn===0)wo(kt),vt();else{var En=Dn(function(){en(bn-1)});Bn.set(kt,En)}}return en(mt),kt};lo.cancel=function(at){var vt=Bn.get(at);return wo(vt),ar(vt)};var ia=lo;function ca(at,vt,mt,kt,en,bn,En,Gn){var Nn=be.useRef(at),ir=be.useRef(!1);Nn.current!==at&&(ir.current=!0,Nn.current=at),be.useEffect(function(){var Dr=ia(function(){ir.current=!1});return function(){ia.cancel(Dr)}},[at]),be.useEffect(function(){if(vt&&kt&&(!en||bn)){var Dr=function(){var pa=!1,ra=function(Ca){var Qo=Ca.target;pa=En(Qo)},Ba=function(Ca){var Qo=Ca.target;!ir.current&&Nn.current&&!pa&&!En(Qo)&&Gn(!1)};return[ra,Ba]},tr=Dr(),Fr=(0,ie.Z)(tr,2),Mr=Fr[0],eo=Fr[1],Zo=Dr(),Do=(0,ie.Z)(Zo,2),Vo=Do[0],Ho=Do[1],Oo=Ln(kt);Oo.addEventListener("mousedown",Mr,!0),Oo.addEventListener("click",eo,!0),Oo.addEventListener("contextmenu",eo,!0);var Vr=Nt(mt);if(Vr&&(Vr.addEventListener("mousedown",Vo,!0),Vr.addEventListener("click",Ho,!0),Vr.addEventListener("contextmenu",Ho,!0)),0)var Oa,wa,Aa,Fa;return function(){Oo.removeEventListener("mousedown",Mr,!0),Oo.removeEventListener("click",eo,!0),Oo.removeEventListener("contextmenu",eo,!0),Vr&&(Vr.removeEventListener("mousedown",Vo,!0),Vr.removeEventListener("click",Ho,!0),Vr.removeEventListener("contextmenu",Ho,!0))}}},[vt,mt,kt,en,bn])}function ua(at){return at instanceof HTMLElement||at instanceof SVGElement}function _t(at){return ua(at)?at:at instanceof be.Component?ae.findDOMNode(at):null}function Et(at,vt){var mt={};return mt[at.toLowerCase()]=vt.toLowerCase(),mt["Webkit".concat(at)]="webkit".concat(vt),mt["Moz".concat(at)]="moz".concat(vt),mt["ms".concat(at)]="MS".concat(vt),mt["O".concat(at)]="o".concat(vt.toLowerCase()),mt}function Qt(at,vt){var mt={animationend:Et("Animation","AnimationEnd"),transitionend:Et("Transition","TransitionEnd")};return at&&("AnimationEvent"in vt||delete mt.animationend.animation,"TransitionEvent"in vt||delete mt.transitionend.transition),mt}var un=Qt(oe(),typeof window!="undefined"?window:{}),Pn={};if(oe()){var Yn=document.createElement("div");Pn=Yn.style}var vr={};function Nr(at){if(vr[at])return vr[at];var vt=un[at];if(vt)for(var mt=Object.keys(vt),kt=mt.length,en=0;en<kt;en+=1){var bn=mt[en];if(Object.prototype.hasOwnProperty.call(vt,bn)&&bn in Pn)return vr[at]=vt[bn],vr[at]}return""}var no=Nr("animationend"),uo=Nr("transitionend"),io=!!(no&&uo),Bo=no||"animationend",dr=uo||"transitionend";function Ot(at,vt){if(!at)return null;if((0,ue.Z)(at)==="object"){var mt=vt.replace(/-\w/g,function(kt){return kt[1].toUpperCase()});return at[mt]}return"".concat(at,"-").concat(vt)}var Ut="none",Yt="appear",dt="enter",Jt="leave",vn="none",yn="prepare",Ht="start",Zt="active",Kt="end";function Rn(at){var vt=be.useRef(!1),mt=be.useState(at),kt=(0,ie.Z)(mt,2),en=kt[0],bn=kt[1];be.useEffect(function(){return vt.current=!1,function(){vt.current=!0}},[]);function En(Gn,Nn){Nn&&vt.current||bn(Gn)}return[en,En]}var Vn=function(vt){return+setTimeout(vt,16)},sr=function(vt){return clearTimeout(vt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Vn=function(vt){return window.requestAnimationFrame(vt)},sr=function(vt){return window.cancelAnimationFrame(vt)});var nr=0,fr=new Map;function wr(at){fr.delete(at)}var Tn=function(vt){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;nr+=1;var kt=nr;function en(bn){if(bn===0)wr(kt),vt();else{var En=Vn(function(){en(bn-1)});fr.set(kt,En)}}return en(mt),kt};Tn.cancel=function(at){var vt=fr.get(at);return wr(vt),sr(vt)};var Vt=Tn,gn=function(){var at=be.useRef(null);function vt(){Vt.cancel(at.current)}function mt(kt){var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;vt();var bn=Vt(function(){en<=1?kt({isCanceled:function(){return bn!==at.current}}):mt(kt,en-1)});at.current=bn}return be.useEffect(function(){return function(){vt()}},[]),[mt,vt]},On=oe()?be.useLayoutEffect:be.useEffect,Jn=On,Sr=[yn,Ht,Zt,Kt],Rr=!1,ro=!0;function Or(at){return at===Zt||at===Kt}var ut=function(at,vt){var mt=Rn(vn),kt=(0,ie.Z)(mt,2),en=kt[0],bn=kt[1],En=gn(),Gn=(0,ie.Z)(En,2),Nn=Gn[0],ir=Gn[1];function Dr(){bn(yn,!0)}return Jn(function(){if(en!==vn&&en!==Kt){var tr=Sr.indexOf(en),Fr=Sr[tr+1],Mr=vt(en);Mr===Rr?bn(Fr,!0):Nn(function(eo){function Zo(){eo.isCanceled()||bn(Fr,!0)}Mr===!0?Zo():Promise.resolve(Mr).then(Zo)})}},[at,en]),be.useEffect(function(){return function(){ir()}},[]),[Dr,en]},it=function(at){var vt=(0,be.useRef)(),mt=(0,be.useRef)(at);mt.current=at;var kt=be.useCallback(function(En){mt.current(En)},[]);function en(En){En&&(En.removeEventListener(dr,kt),En.removeEventListener(Bo,kt))}function bn(En){vt.current&&vt.current!==En&&en(vt.current),En&&En!==vt.current&&(En.addEventListener(dr,kt),En.addEventListener(Bo,kt),vt.current=En)}return be.useEffect(function(){return function(){en(vt.current)}},[]),[bn,en]};function Pt(at,vt,mt,kt){var en=kt.motionEnter,bn=en===void 0?!0:en,En=kt.motionAppear,Gn=En===void 0?!0:En,Nn=kt.motionLeave,ir=Nn===void 0?!0:Nn,Dr=kt.motionDeadline,tr=kt.motionLeaveImmediately,Fr=kt.onAppearPrepare,Mr=kt.onEnterPrepare,eo=kt.onLeavePrepare,Zo=kt.onAppearStart,Do=kt.onEnterStart,Vo=kt.onLeaveStart,Ho=kt.onAppearActive,Oo=kt.onEnterActive,Vr=kt.onLeaveActive,Oa=kt.onAppearEnd,wa=kt.onEnterEnd,Aa=kt.onLeaveEnd,Fa=kt.onVisibleChanged,ii=Rn(),pa=(0,ie.Z)(ii,2),ra=pa[0],Ba=pa[1],Ka=Rn(Ut),Ca=(0,ie.Z)(Ka,2),Qo=Ca[0],ma=Ca[1],jo=Rn(null),ei=(0,ie.Z)(jo,2),fa=ei[0],ri=ei[1],Ei=(0,be.useRef)(!1),ui=(0,be.useRef)(null);function ji(){return mt()}var Ni=(0,be.useRef)(!1);function ga(Ea){var Ao=ji();if(!(Ea&&!Ea.deadline&&Ea.target!==Ao)){var oi=Ni.current,Ai;Qo===Yt&&oi?Ai=Oa==null?void 0:Oa(Ao,Ea):Qo===dt&&oi?Ai=wa==null?void 0:wa(Ao,Ea):Qo===Jt&&oi&&(Ai=Aa==null?void 0:Aa(Ao,Ea)),Qo!==Ut&&oi&&Ai!==!1&&(ma(Ut,!0),ri(null,!0))}}var Oi=it(ga),Qa=(0,ie.Z)(Oi,1),va=Qa[0],qa=be.useMemo(function(){var Ea,Ao,oi;switch(Qo){case Yt:return Ea={},(0,re.Z)(Ea,yn,Fr),(0,re.Z)(Ea,Ht,Zo),(0,re.Z)(Ea,Zt,Ho),Ea;case dt:return Ao={},(0,re.Z)(Ao,yn,Mr),(0,re.Z)(Ao,Ht,Do),(0,re.Z)(Ao,Zt,Oo),Ao;case Jt:return oi={},(0,re.Z)(oi,yn,eo),(0,re.Z)(oi,Ht,Vo),(0,re.Z)(oi,Zt,Vr),oi;default:return{}}},[Qo]),xi=ut(Qo,function(Ea){if(Ea===yn){var Ao=qa[yn];return Ao?Ao(ji()):Rr}if(pi in qa){var oi;ri(((oi=qa[pi])===null||oi===void 0?void 0:oi.call(qa,ji(),null))||null)}return pi===Zt&&(va(ji()),Dr>0&&(clearTimeout(ui.current),ui.current=setTimeout(function(){ga({deadline:!0})},Dr))),ro}),ts=(0,ie.Z)(xi,2),bs=ts[0],pi=ts[1],bi=Or(pi);Ni.current=bi,Jn(function(){Ba(vt);var Ea=Ei.current;if(Ei.current=!0,!!at){var Ao;!Ea&&vt&&Gn&&(Ao=Yt),Ea&&vt&&bn&&(Ao=dt),(Ea&&!vt&&ir||!Ea&&tr&&!vt&&ir)&&(Ao=Jt),Ao&&(ma(Ao),bs())}},[vt]),(0,be.useEffect)(function(){(Qo===Yt&&!Gn||Qo===dt&&!bn||Qo===Jt&&!ir)&&ma(Ut)},[Gn,bn,ir]),(0,be.useEffect)(function(){return function(){Ei.current=!1,clearTimeout(ui.current)}},[]);var Zi=be.useRef(!1);(0,be.useEffect)(function(){ra&&(Zi.current=!0),ra!==void 0&&Qo===Ut&&((Zi.current||ra)&&(Fa==null||Fa(ra)),Zi.current=!0)},[ra,Qo]);var Pi=fa;return qa[yn]&&pi===Ht&&(Pi=(0,ce.Z)({transition:"none"},Pi)),[Qo,pi,Pi,ra!=null?ra:vt]}var Bt=pe(15671),Gt=pe(43144),sn=pe(60136),_n=pe(51630),Mn=function(at){(0,sn.Z)(mt,at);var vt=(0,_n.Z)(mt);function mt(){return(0,Bt.Z)(this,mt),vt.apply(this,arguments)}return(0,Gt.Z)(mt,[{key:"render",value:function(){return this.props.children}}]),mt}(be.Component),Fn=Mn;function Kn(at){var vt=at;(0,ue.Z)(at)==="object"&&(vt=at.transitionSupport);function mt(en){return!!(en.motionName&&vt)}var kt=be.forwardRef(function(en,bn){var En=en.visible,Gn=En===void 0?!0:En,Nn=en.removeOnLeave,ir=Nn===void 0?!0:Nn,Dr=en.forceRender,tr=en.children,Fr=en.motionName,Mr=en.leavedClassName,eo=en.eventProps,Zo=mt(en),Do=(0,be.useRef)(),Vo=(0,be.useRef)();function Ho(){try{return Do.current instanceof HTMLElement?Do.current:_t(Vo.current)}catch(jo){return null}}var Oo=Pt(Zo,Gn,Ho,en),Vr=(0,ie.Z)(Oo,4),Oa=Vr[0],wa=Vr[1],Aa=Vr[2],Fa=Vr[3],ii=be.useRef(Fa);Fa&&(ii.current=!0);var pa=be.useCallback(function(jo){Do.current=jo,ve(bn,jo)},[bn]),ra,Ba=(0,ce.Z)((0,ce.Z)({},eo),{},{visible:Gn});if(!tr)ra=null;else if(Oa===Ut||!mt(en))Fa?ra=tr((0,ce.Z)({},Ba),pa):!ir&&ii.current&&Mr?ra=tr((0,ce.Z)((0,ce.Z)({},Ba),{},{className:Mr}),pa):Dr||!ir&&!Mr?ra=tr((0,ce.Z)((0,ce.Z)({},Ba),{},{style:{display:"none"}}),pa):ra=null;else{var Ka,Ca;wa===yn?Ca="prepare":Or(wa)?Ca="active":wa===Ht&&(Ca="start"),ra=tr((0,ce.Z)((0,ce.Z)({},Ba),{},{className:fe()(Ot(Fr,Oa),(Ka={},(0,re.Z)(Ka,Ot(Fr,"".concat(Oa,"-").concat(Ca)),Ca),(0,re.Z)(Ka,Fr,typeof Fr=="string"),Ka)),style:Aa}),pa)}if(be.isValidElement(ra)&&ye(ra)){var Qo=ra,ma=Qo.ref;ma||(ra=be.cloneElement(ra,{ref:pa}))}return be.createElement(Fn,{ref:Vo},ra)});return kt.displayName="CSSMotion",kt}var gr=Kn(io),hr=pe(97326),so="add",co="keep",qr="remove",po="removed";function Mo(at){var vt;return at&&(0,ue.Z)(at)==="object"&&"key"in at?vt=at:vt={key:at},(0,ce.Z)((0,ce.Z)({},vt),{},{key:String(vt.key)})}function Io(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return at.map(Mo)}function Hr(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],mt=[],kt=0,en=vt.length,bn=Io(at),En=Io(vt);bn.forEach(function(ir){for(var Dr=!1,tr=kt;tr<en;tr+=1){var Fr=En[tr];if(Fr.key===ir.key){kt<tr&&(mt=mt.concat(En.slice(kt,tr).map(function(Mr){return(0,ce.Z)((0,ce.Z)({},Mr),{},{status:so})})),kt=tr),mt.push((0,ce.Z)((0,ce.Z)({},Fr),{},{status:co})),kt+=1,Dr=!0;break}}Dr||mt.push((0,ce.Z)((0,ce.Z)({},ir),{},{status:qr}))}),kt<en&&(mt=mt.concat(En.slice(kt).map(function(ir){return(0,ce.Z)((0,ce.Z)({},ir),{},{status:so})})));var Gn={};mt.forEach(function(ir){var Dr=ir.key;Gn[Dr]=(Gn[Dr]||0)+1});var Nn=Object.keys(Gn).filter(function(ir){return Gn[ir]>1});return Nn.forEach(function(ir){mt=mt.filter(function(Dr){var tr=Dr.key,Fr=Dr.status;return tr!==ir||Fr!==qr}),mt.forEach(function(Dr){Dr.key===ir&&(Dr.status=co)})}),mt}var Uo=["component","children","onVisibleChanged","onAllRemoved"],fo=["status"],Wo=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function sa(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gr,mt=function(kt){(0,sn.Z)(bn,kt);var en=(0,_n.Z)(bn);function bn(){var En;(0,Bt.Z)(this,bn);for(var Gn=arguments.length,Nn=new Array(Gn),ir=0;ir<Gn;ir++)Nn[ir]=arguments[ir];return En=en.call.apply(en,[this].concat(Nn)),(0,re.Z)((0,hr.Z)(En),"state",{keyEntities:[]}),(0,re.Z)((0,hr.Z)(En),"removeKey",function(Dr){var tr=En.state.keyEntities,Fr=tr.map(function(Mr){return Mr.key!==Dr?Mr:(0,ce.Z)((0,ce.Z)({},Mr),{},{status:po})});return En.setState({keyEntities:Fr}),Fr.filter(function(Mr){var eo=Mr.status;return eo!==po}).length}),En}return(0,Gt.Z)(bn,[{key:"render",value:function(){var Gn=this,Nn=this.state.keyEntities,ir=this.props,Dr=ir.component,tr=ir.children,Fr=ir.onVisibleChanged,Mr=ir.onAllRemoved,eo=(0,le.Z)(ir,Uo),Zo=Dr||be.Fragment,Do={};return Wo.forEach(function(Vo){Do[Vo]=eo[Vo],delete eo[Vo]}),delete eo.keys,be.createElement(Zo,eo,Nn.map(function(Vo){var Ho=Vo.status,Oo=(0,le.Z)(Vo,fo),Vr=Ho===so||Ho===co;return be.createElement(vt,(0,se.Z)({},Do,{key:Oo.key,visible:Vr,eventProps:Oo,onVisibleChanged:function(wa){if(Fr==null||Fr(wa,{key:Oo.key}),!wa){var Aa=Gn.removeKey(Oo.key);Aa===0&&Mr&&Mr()}}}),tr)}))}}],[{key:"getDerivedStateFromProps",value:function(Gn,Nn){var ir=Gn.keys,Dr=Nn.keyEntities,tr=Io(ir),Fr=Hr(Dr,tr);return{keyEntities:Fr.filter(function(Mr){var eo=Dr.find(function(Zo){var Do=Zo.key;return Mr.key===Do});return!(eo&&eo.status===po&&Mr.status===qr)})}}}]),bn}(be.Component);return(0,re.Z)(mt,"defaultProps",{component:"div"}),mt}var Ua=sa(io),Ko=gr;function Ra(at){var vt=at.prefixCls,mt=at.align,kt=at.arrow,en=at.arrowPos,bn=kt||{},En=bn.className,Gn=bn.content,Nn=en.x,ir=Nn===void 0?0:Nn,Dr=en.y,tr=Dr===void 0?0:Dr,Fr=be.useRef();if(!mt||!mt.points)return null;var Mr={position:"absolute"};if(mt.autoArrow!==!1){var eo=mt.points[0],Zo=mt.points[1],Do=eo[0],Vo=eo[1],Ho=Zo[0],Oo=Zo[1];Do===Ho||!["t","b"].includes(Do)?Mr.top=tr:Do==="t"?Mr.top=0:Mr.bottom=0,Vo===Oo||!["l","r"].includes(Vo)?Mr.left=ir:Vo==="l"?Mr.left=0:Mr.right=0}return be.createElement("div",{ref:Fr,className:fe()("".concat(vt,"-arrow"),En),style:Mr},Gn)}function da(at){var vt=at.prefixCls,mt=at.open,kt=at.zIndex,en=at.mask,bn=at.motion;return en?be.createElement(Ko,(0,se.Z)({},bn,{motionAppear:!0,visible:mt,removeOnLeave:!0}),function(En){var Gn=En.className;return be.createElement("div",{style:{zIndex:kt},className:fe()("".concat(vt,"-mask"),Gn)})}):null}var Ha=be.memo(function(at){var vt=at.children;return vt},function(at,vt){return vt.cache}),Go=Ha,ko=be.forwardRef(function(at,vt){var mt=at.popup,kt=at.className,en=at.prefixCls,bn=at.style,En=at.target,Gn=at.onVisibleChanged,Nn=at.open,ir=at.keepDom,Dr=at.fresh,tr=at.onClick,Fr=at.mask,Mr=at.arrow,eo=at.arrowPos,Zo=at.align,Do=at.motion,Vo=at.maskMotion,Ho=at.forceRender,Oo=at.getPopupContainer,Vr=at.autoDestroy,Oa=at.portal,wa=at.zIndex,Aa=at.onMouseEnter,Fa=at.onMouseLeave,ii=at.onPointerEnter,pa=at.ready,ra=at.offsetX,Ba=at.offsetY,Ka=at.offsetR,Ca=at.offsetB,Qo=at.onAlign,ma=at.onPrepare,jo=at.stretch,ei=at.targetWidth,fa=at.targetHeight,ri=typeof mt=="function"?mt():mt,Ei=Nn||ir,ui=(Oo==null?void 0:Oo.length)>0,ji=be.useState(!Oo||!ui),Ni=(0,ie.Z)(ji,2),ga=Ni[0],Oi=Ni[1];if(fn(function(){!ga&&ui&&En&&Oi(!0)},[ga,ui,En]),!ga)return null;var Qa="auto",va={left:"-1000vw",top:"-1000vh",right:Qa,bottom:Qa};if(pa||!Nn){var qa,xi=Zo.points,ts=Zo.dynamicInset||((qa=Zo._experimental)===null||qa===void 0?void 0:qa.dynamicInset),bs=ts&&xi[0][1]==="r",pi=ts&&xi[0][0]==="b";bs?(va.right=Ka,va.left=Qa):(va.left=ra,va.right=Qa),pi?(va.bottom=Ca,va.top=Qa):(va.top=Ba,va.bottom=Qa)}var bi={};return jo&&(jo.includes("height")&&fa?bi.height=fa:jo.includes("minHeight")&&fa&&(bi.minHeight=fa),jo.includes("width")&&ei?bi.width=ei:jo.includes("minWidth")&&ei&&(bi.minWidth=ei)),Nn||(bi.pointerEvents="none"),be.createElement(Oa,{open:Ho||Ei,getContainer:Oo&&function(){return Oo(En)},autoDestroy:Vr},be.createElement(da,{prefixCls:en,open:Nn,zIndex:wa,mask:Fr,motion:Vo}),be.createElement(rt.Z,{onResize:Qo,disabled:!Nn},function(Zi){return be.createElement(Ko,(0,se.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ho,leavedClassName:"".concat(en,"-hidden")},Do,{onAppearPrepare:ma,onEnterPrepare:ma,visible:Nn,onVisibleChanged:function(Ea){var Ao;Do==null||(Ao=Do.onVisibleChanged)===null||Ao===void 0||Ao.call(Do,Ea),Gn(Ea)}}),function(Pi,Ea){var Ao=Pi.className,oi=Pi.style,Ai=fe()(en,Ao,kt);return be.createElement("div",{ref:Cn(Zi,vt,Ea),className:Ai,style:(0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)({"--arrow-x":"".concat(eo.x||0,"px"),"--arrow-y":"".concat(eo.y||0,"px")},va),bi),oi),{},{boxSizing:"border-box",zIndex:wa},bn),onMouseEnter:Aa,onMouseLeave:Fa,onPointerEnter:ii,onClick:tr},Mr&&be.createElement(Ra,{prefixCls:en,arrow:Mr,arrowPos:eo,align:Zo}),be.createElement(Go,{cache:!Nn&&!Dr},ri))})}))}),na=ko,Wa=be.forwardRef(function(at,vt){var mt=at.children,kt=at.getTriggerDOMNode,en=At(mt),bn=be.useCallback(function(Gn){vo(vt,kt?kt(Gn):Gn)},[kt]),En=Kr(bn,mt.ref);return en?be.cloneElement(mt,{ref:En}):mt}),ai=Wa,$o=["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 Pa(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wt,vt=be.forwardRef(function(mt,kt){var en=mt.prefixCls,bn=en===void 0?"rc-trigger-popup":en,En=mt.children,Gn=mt.action,Nn=Gn===void 0?"hover":Gn,ir=mt.showAction,Dr=mt.hideAction,tr=mt.popupVisible,Fr=mt.defaultPopupVisible,Mr=mt.onPopupVisibleChange,eo=mt.afterPopupVisibleChange,Zo=mt.mouseEnterDelay,Do=mt.mouseLeaveDelay,Vo=Do===void 0?.1:Do,Ho=mt.focusDelay,Oo=mt.blurDelay,Vr=mt.mask,Oa=mt.maskClosable,wa=Oa===void 0?!0:Oa,Aa=mt.getPopupContainer,Fa=mt.forceRender,ii=mt.autoDestroy,pa=mt.destroyPopupOnHide,ra=mt.popup,Ba=mt.popupClassName,Ka=mt.popupStyle,Ca=mt.popupPlacement,Qo=mt.builtinPlacements,ma=Qo===void 0?{}:Qo,jo=mt.popupAlign,ei=mt.zIndex,fa=mt.stretch,ri=mt.getPopupClassNameFromAlign,Ei=mt.fresh,ui=mt.alignPoint,ji=mt.onPopupClick,Ni=mt.onPopupAlign,ga=mt.arrow,Oi=mt.popupMotion,Qa=mt.maskMotion,va=mt.popupTransitionName,qa=mt.popupAnimation,xi=mt.maskTransitionName,ts=mt.maskAnimation,bs=mt.className,pi=mt.getTriggerDOMNode,bi=(0,le.Z)(mt,$o),Zi=ii||pa||!1,Pi=be.useState(!1),Ea=(0,ie.Z)(Pi,2),Ao=Ea[0],oi=Ea[1];fn(function(){oi(Er())},[]);var Ai=be.useRef({}),ns=be.useContext(Lo),_s=be.useMemo(function(){return{registerSubPopup:function(Yr,No){Ai.current[Yr]=No,ns==null||ns.registerSubPopup(Yr,No)}}},[ns]),Vi=rn(),Ns=be.useState(null),Qs=(0,ie.Z)(Ns,2),Xi=Qs[0],il=Qs[1],Yi=ct(function(qn){bt(qn)&&Xi!==qn&&il(qn),ns==null||ns.registerSubPopup(Vi,qn)}),rs=be.useState(null),el=(0,ie.Z)(rs,2),os=el[0],sl=el[1],ll=ct(function(qn){bt(qn)&&os!==qn&&sl(qn)}),Gs=be.Children.only(En),Di=(Gs==null?void 0:Gs.props)||{},Ts={},cl=ct(function(qn){var Yr,No,ya=os;return(ya==null?void 0:ya.contains(qn))||((Yr=Nt(ya))===null||Yr===void 0?void 0:Yr.host)===qn||qn===ya||(Xi==null?void 0:Xi.contains(qn))||((No=Nt(Xi))===null||No===void 0?void 0:No.host)===qn||qn===Xi||Object.values(Ai.current).some(function(br){return(br==null?void 0:br.contains(qn))||qn===br})}),Ps=mn(bn,Oi,qa,va),ki=mn(bn,Qa,ts,xi),ul=be.useState(Fr||!1),$s=(0,ie.Z)(ul,2),Ls=$s[0],si=$s[1],_a=tr!=null?tr:Ls,as=ct(function(qn){tr===void 0&&si(qn)});fn(function(){si(tr||!1)},[tr]);var gs=be.useRef(_a);gs.current=_a;var Ws=ct(function(qn){(0,ae.flushSync)(function(){_a!==qn&&(as(qn),Mr==null||Mr(qn))})}),tl=be.useRef(),Ks=function(){clearTimeout(tl.current)},Ji=function(Yr){var No=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ks(),No===0?Ws(Yr):tl.current=setTimeout(function(){Ws(Yr)},No*1e3)};be.useEffect(function(){return Ks},[]);var Ds=be.useState(!1),dl=(0,ie.Z)(Ds,2),Zs=dl[0],nl=dl[1];fn(function(qn){(!qn||_a)&&nl(!0)},[_a]);var Vs=be.useState(null),rl=(0,ie.Z)(Vs,2),hs=rl[0],Os=rl[1],As=be.useState([0,0]),Rs=(0,ie.Z)(As,2),Xs=Rs[0],ol=Rs[1],is=function(Yr){ol([Yr.clientX,Yr.clientY])},$i=wn(_a,Xi,ui?Xs:os,Ca,ma,jo,Ni),Fi=(0,ie.Z)($i,11),Ms=Fi[0],De=Fi[1],Fe=Fi[2],et=Fi[3],lt=Fi[4],ht=Fi[5],yt=Fi[6],Lt=Fi[7],Dt=Fi[8],It=Fi[9],Wt=Fi[10],nn=Eo(Ao,Nn,ir,Dr),Xt=(0,ie.Z)(nn,2),hn=Xt[0],pn=Xt[1],xn=hn.has("click"),Xn=pn.has("click")||pn.has("contextMenu"),Un=ct(function(){Zs||Wt()}),Qn=function(){gs.current&&ui&&Xn&&Ji(!1)};zn(_a,os,Xi,Un,Qn),fn(function(){Un()},[Xs,Ca]),fn(function(){_a&&!(ma!=null&&ma[Ca])&&Un()},[JSON.stringify(jo)]);var Zn=be.useMemo(function(){var qn=ln(ma,bn,It,ui);return fe()(qn,ri==null?void 0:ri(It))},[It,ri,ma,bn,ui]);be.useImperativeHandle(kt,function(){return{forceAlign:Un}});var rr=be.useState(0),jr=(0,ie.Z)(rr,2),Zr=jr[0],Tr=jr[1],ho=be.useState(0),So=(0,ie.Z)(ho,2),yr=So[0],Ar=So[1],pr=function(){if(fa&&os){var Yr=os.getBoundingClientRect();Tr(Yr.width),Ar(Yr.height)}},or=function(){pr(),Un()},Cr=function(Yr){nl(!1),Wt(),eo==null||eo(Yr)},zr=function(){return new Promise(function(Yr){pr(),Os(function(){return Yr})})};fn(function(){hs&&(Wt(),hs(),Os(null))},[hs]);function bo(qn,Yr,No,ya){Ts[qn]=function(br){var Jr;ya==null||ya(br),Ji(Yr,No);for(var Qr=arguments.length,$r=new Array(Qr>1?Qr-1:0),Jo=1;Jo<Qr;Jo++)$r[Jo-1]=arguments[Jo];(Jr=Di[qn])===null||Jr===void 0||Jr.call.apply(Jr,[Di,br].concat($r))}}(xn||Xn)&&(Ts.onClick=function(qn){var Yr;gs.current&&Xn?Ji(!1):!gs.current&&xn&&(is(qn),Ji(!0));for(var No=arguments.length,ya=new Array(No>1?No-1:0),br=1;br<No;br++)ya[br-1]=arguments[br];(Yr=Di.onClick)===null||Yr===void 0||Yr.call.apply(Yr,[Di,qn].concat(ya))}),ca(_a,Xn,os,Xi,Vr,wa,cl,Ji);var yo=hn.has("hover"),Gr=pn.has("hover"),_o,Fo;yo&&(bo("onMouseEnter",!0,Zo,function(qn){is(qn)}),bo("onPointerEnter",!0,Zo,function(qn){is(qn)}),_o=function(){(_a||Zs)&&Ji(!0,Zo)},ui&&(Ts.onMouseMove=function(qn){var Yr;(Yr=Di.onMouseMove)===null||Yr===void 0||Yr.call(Di,qn)})),Gr&&(bo("onMouseLeave",!1,Vo),bo("onPointerLeave",!1,Vo),Fo=function(){Ji(!1,Vo)}),hn.has("focus")&&bo("onFocus",!0,Ho),pn.has("focus")&&bo("onBlur",!1,Oo),hn.has("contextMenu")&&(Ts.onContextMenu=function(qn){var Yr;gs.current&&pn.has("contextMenu")?Ji(!1):(is(qn),Ji(!0)),qn.preventDefault();for(var No=arguments.length,ya=new Array(No>1?No-1:0),br=1;br<No;br++)ya[br-1]=arguments[br];(Yr=Di.onContextMenu)===null||Yr===void 0||Yr.call.apply(Yr,[Di,qn].concat(ya))}),bs&&(Ts.className=fe()(Di.className,bs));var la=(0,ce.Z)((0,ce.Z)({},Di),Ts),Xo={},Ia=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Ia.forEach(function(qn){bi[qn]&&(Xo[qn]=function(){for(var Yr,No=arguments.length,ya=new Array(No),br=0;br<No;br++)ya[br]=arguments[br];(Yr=la[qn])===null||Yr===void 0||Yr.call.apply(Yr,[la].concat(ya)),bi[qn].apply(bi,ya)})});var ja=be.cloneElement(Gs,(0,ce.Z)((0,ce.Z)({},la),Xo)),Co={x:ht,y:yt},Za=ga?(0,ce.Z)({},ga!==!0?ga:{}):null;return be.createElement(be.Fragment,null,be.createElement(rt.Z,{disabled:!_a,ref:ll,onResize:or},be.createElement(ai,{getTriggerDOMNode:pi},ja)),be.createElement(Lo.Provider,{value:_s},be.createElement(na,{portal:at,ref:Yi,prefixCls:bn,popup:ra,className:fe()(Ba,Zn),style:Ka,target:os,onMouseEnter:_o,onMouseLeave:Fo,onPointerEnter:_o,zIndex:ei,open:_a,keepDom:Zs,fresh:Ei,onClick:ji,mask:Vr,motion:Ps,maskMotion:ki,onVisibleChanged:Cr,onPrepare:zr,forceRender:Fa,autoDestroy:Zi,getPopupContainer:Aa,align:It,arrow:Za,arrowPos:Co,ready:Ms,offsetX:De,offsetY:Fe,offsetR:et,offsetB:lt,onAlign:Un,stretch:fa,targetWidth:Zr/Lt,targetHeight:yr/Dt})))});return vt}var Da=Pa(wt),kr={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(vt){var mt=vt.keyCode;if(vt.altKey&&!vt.ctrlKey||vt.metaKey||mt>=kr.F1&&mt<=kr.F12)return!1;switch(mt){case kr.ALT:case kr.CAPS_LOCK:case kr.CONTEXT_MENU:case kr.CTRL:case kr.DOWN:case kr.END:case kr.ESC:case kr.HOME:case kr.INSERT:case kr.LEFT:case kr.MAC_FF_META:case kr.META:case kr.NUMLOCK:case kr.NUM_CENTER:case kr.PAGE_DOWN:case kr.PAGE_UP:case kr.PAUSE:case kr.PRINT_SCREEN:case kr.RIGHT:case kr.SHIFT:case kr.UP:case kr.WIN_KEY:case kr.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(vt){if(vt>=kr.ZERO&&vt<=kr.NINE||vt>=kr.NUM_ZERO&&vt<=kr.NUM_MULTIPLY||vt>=kr.A&&vt<=kr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&vt===0)return!0;switch(vt){case kr.SPACE:case kr.QUESTION_MARK:case kr.NUM_PLUS:case kr.NUM_MINUS:case kr.NUM_PERIOD:case kr.NUM_DIVISION:case kr.SEMICOLON:case kr.DASH:case kr.EQUALS:case kr.COMMA:case kr.PERIOD:case kr.SLASH:case kr.APOSTROPHE:case kr.SINGLE_QUOTE:case kr.OPEN_SQUARE_BRACKET:case kr.BACKSLASH:case kr.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},za=kr,Ja=za.ESC,hi=za.TAB;function xa(at){var vt=at.visible,mt=at.triggerRef,kt=at.onVisibleChange,en=at.autoFocus,bn=at.overlayRef,En=be.useRef(!1),Gn=function(){if(vt){var tr,Fr;(tr=mt.current)===null||tr===void 0||(Fr=tr.focus)===null||Fr===void 0||Fr.call(tr),kt==null||kt(!1)}},Nn=function(){var tr;return(tr=bn.current)!==null&&tr!==void 0&&tr.focus?(bn.current.focus(),En.current=!0,!0):!1},ir=function(tr){switch(tr.keyCode){case Ja:Gn();break;case hi:{var Fr=!1;En.current||(Fr=Nn()),Fr?tr.preventDefault():Gn();break}}};be.useEffect(function(){return vt?(window.addEventListener("keydown",ir),en&&Vt(Nn,3),function(){window.removeEventListener("keydown",ir),En.current=!1}):function(){En.current=!1}},[vt])}var ti=(0,be.forwardRef)(function(at,vt){var mt=at.overlay,kt=at.arrow,en=at.prefixCls,bn=(0,be.useMemo)(function(){var Gn;return typeof mt=="function"?Gn=mt():Gn=mt,Gn},[mt]),En=me(vt,bn==null?void 0:bn.ref);return be.createElement(be.Fragment,null,kt&&be.createElement("div",{className:"".concat(en,"-arrow")}),be.cloneElement(bn,{ref:ye(bn)?En:void 0}))}),Ma=ti,ka={adjustX:1,adjustY:1},ni=[0,0],yi={topLeft:{points:["bl","tl"],overflow:ka,offset:[0,-4],targetOffset:ni},top:{points:["bc","tc"],overflow:ka,offset:[0,-4],targetOffset:ni},topRight:{points:["br","tr"],overflow:ka,offset:[0,-4],targetOffset:ni},bottomLeft:{points:["tl","bl"],overflow:ka,offset:[0,4],targetOffset:ni},bottom:{points:["tc","bc"],overflow:ka,offset:[0,4],targetOffset:ni},bottomRight:{points:["tr","br"],overflow:ka,offset:[0,4],targetOffset:ni}},Ta=yi,La=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Ga(at,vt){var mt,kt=at.arrow,en=kt===void 0?!1:kt,bn=at.prefixCls,En=bn===void 0?"rc-dropdown":bn,Gn=at.transitionName,Nn=at.animation,ir=at.align,Dr=at.placement,tr=Dr===void 0?"bottomLeft":Dr,Fr=at.placements,Mr=Fr===void 0?Ta:Fr,eo=at.getPopupContainer,Zo=at.showAction,Do=at.hideAction,Vo=at.overlayClassName,Ho=at.overlayStyle,Oo=at.visible,Vr=at.trigger,Oa=Vr===void 0?["hover"]:Vr,wa=at.autoFocus,Aa=at.overlay,Fa=at.children,ii=at.onVisibleChange,pa=(0,le.Z)(at,La),ra=be.useState(),Ba=(0,ie.Z)(ra,2),Ka=Ba[0],Ca=Ba[1],Qo="visible"in at?Oo:Ka,ma=be.useRef(null),jo=be.useRef(null),ei=be.useRef(null);be.useImperativeHandle(vt,function(){return ma.current});var fa=function(va){Ca(va),ii==null||ii(va)};xa({visible:Qo,triggerRef:ei,onVisibleChange:fa,autoFocus:wa,overlayRef:jo});var ri=function(va){var qa=at.onOverlayClick;Ca(!1),qa&&qa(va)},Ei=function(){return be.createElement(Ma,{ref:jo,overlay:Aa,prefixCls:En,arrow:en})},ui=function(){return typeof Aa=="function"?Ei:Ei()},ji=function(){var va=at.minOverlayWidthMatchTrigger,qa=at.alignPoint;return"minOverlayWidthMatchTrigger"in at?va:!qa},Ni=function(){var va=at.openClassName;return va!==void 0?va:"".concat(En,"-open")},ga=be.cloneElement(Fa,{className:fe()((mt=Fa.props)===null||mt===void 0?void 0:mt.className,Qo&&Ni()),ref:ye(Fa)?me(ei,Fa.ref):void 0}),Oi=Do;return!Oi&&Oa.indexOf("contextMenu")!==-1&&(Oi=["click"]),be.createElement(Da,(0,se.Z)({builtinPlacements:Mr},pa,{prefixCls:En,ref:ma,popupClassName:fe()(Vo,(0,re.Z)({},"".concat(En,"-show-arrow"),en)),popupStyle:Ho,action:Oa,showAction:Zo,hideAction:Oi,popupPlacement:tr,popupAlign:ir,popupTransitionName:Gn,popupAnimation:Nn,popupVisible:Qo,stretch:ji()?"minWidth":"",popup:ui(),onPopupVisibleChange:fa,onPopupClick:ri,getPopupContainer:eo}),ga)}var Ci=be.forwardRef(Ga),Qi=Ci,us=pe(60276),ds=pe(5663),Ii=pe(10366),Si=pe(80636),mi=pe(8745),Ki=pe(96159),Gi=pe(53124),Us=pe(68508),Hs=pe(76529),fs=pe(46605),vs=pe(66748);const zs=null,ys=at=>{const{menu:vt,arrow:mt,prefixCls:kt,children:en,trigger:bn,disabled:En,dropdownRender:Gn,getPopupContainer:Nn,overlayClassName:ir,rootClassName:Dr,open:tr,onOpenChange:Fr,visible:Mr,onVisibleChange:eo,mouseEnterDelay:Zo=.15,mouseLeaveDelay:Do=.1,autoAdjustOverflow:Vo=!0,placement:Ho="",overlay:Oo,transitionName:Vr}=at,{getPopupContainer:Oa,getPrefixCls:wa,direction:Aa}=be.useContext(Gi.E_),Fa=be.useMemo(()=>{const ga=wa();return Vr!==void 0?Vr:Ho.includes("top")?`${ga}-slide-down`:`${ga}-slide-up`},[wa,Ho,Vr]),ii=be.useMemo(()=>Ho?Ho.includes("Center")?Ho.slice(0,Ho.indexOf("Center")):Ho:Aa==="rtl"?"bottomRight":"bottomLeft",[Ho,Aa]),pa=wa("dropdown",kt),[ra,Ba]=(0,vs.Z)(pa),[,Ka]=(0,fs.Z)(),Ca=be.Children.only(en),Qo=(0,Ki.Tm)(Ca,{className:fe()(`${pa}-trigger`,{[`${pa}-rtl`]:Aa==="rtl"},Ca.props.className),disabled:En}),ma=En?[]:bn;let jo;ma&&ma.includes("contextMenu")&&(jo=!0);const[ei,fa]=(0,ds.Z)(!1,{value:tr!=null?tr:Mr}),ri=(0,us.useEvent)(ga=>{Fr==null||Fr(ga),eo==null||eo(ga),fa(ga)}),Ei=fe()(ir,Dr,Ba,{[`${pa}-rtl`]:Aa==="rtl"}),ui=(0,Si.Z)({arrowPointAtCenter:typeof mt=="object"&&mt.pointAtCenter,autoAdjustOverflow:Vo,offset:Ka.marginXXS,arrowWidth:mt?Ka.sizePopupArrow:0,borderRadius:Ka.borderRadius}),ji=be.useCallback(()=>{fa(!1)},[]),Ni=()=>{let ga;return vt!=null&&vt.items?ga=be.createElement(Us.default,Object.assign({},vt)):typeof Oo=="function"?ga=Oo():ga=Oo,Gn&&(ga=Gn(ga)),ga=be.Children.only(typeof ga=="string"?be.createElement("span",null,ga):ga),be.createElement(Hs.J,{prefixCls:`${pa}-menu`,expandIcon:be.createElement("span",{className:`${pa}-menu-submenu-arrow`},be.createElement(E.Z,{className:`${pa}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ji,validator:Oi=>{let{mode:Qa}=Oi}},ga)};return ra(be.createElement(Qi,Object.assign({alignPoint:jo},(0,Ii.Z)(at,["rootClassName"]),{mouseEnterDelay:Zo,mouseLeaveDelay:Do,visible:ei,builtinPlacements:ui,arrow:!!mt,overlayClassName:Ei,prefixCls:pa,getPopupContainer:Nn||Oa,transitionName:Fa,trigger:ma,overlay:Ni,placement:ii,onVisibleChange:ri}),Qo))};function qi(at){return Object.assign(Object.assign({},at),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const es=(0,mi.Z)(ys,"dropdown",at=>at,qi),Ss=at=>be.createElement(es,Object.assign({},at),be.createElement("span",null));ys._InternalPanelDoNotUseOrYouWillBeFired=Ss;var xs=ys},85418:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return a}});var be=pe(56153),xe=pe(94184),E=pe.n(xe),he=pe(67294),fe=pe(25877),se=pe(71577),re=pe(53124),ie=pe(93421),le=pe(4173),ce=pe(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:me,htmlType:Se,children:ye,className:Pe,menu:we,arrow:Te,autoFocus:Ee,overlay:_e,trigger:Ce,align:Oe,open:Ie,onOpenChange:Ue,placement:je,getPopupContainer:nt,href:Je,icon:Qe=he.createElement(fe.Z,null),title:Xe,buttonsRender:ze=St=>St,mouseEnterDelay:ke,mouseLeaveDelay:Be,overlayClassName:qe,overlayStyle:Ye,destroyPopupOnHide:gt,dropdownRender:$e}=y,We=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`,[Me,He]=(0,ce.Z)(Re),Ve={menu:we,arrow:Te,autoFocus:Ee,align:Oe,disabled:ge,trigger:ge?[]:Ce,onOpenChange:Ue,getPopupContainer:nt||x,mouseEnterDelay:ke,mouseLeaveDelay:Be,overlayClassName:qe,overlayStyle:Ye,destroyPopupOnHide:gt,dropdownRender:$e},{compactSize:Ze,compactItemClassnames:Ke}=(0,le.ri)(Re,ee),Ae=E()(tt,Ke,Pe,He);"overlay"in y&&(Ve.overlay=_e),"open"in y&&(Ve.open=Ie),"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:me,htmlType:Se,href:Je,title:Xe},ye),Ne=he.createElement(se.ZP,{type:ue,danger:de,icon:Qe}),[Ge,ot]=ze([Le,Ne]);return Me(he.createElement(ie.Z.Compact,Object.assign({className:Ae,size:Ze,block:!0},We),Ge,he.createElement(be.Z,Object.assign({},Ve),ot)))};oe.__ANT_BUTTON=!0;var ne=oe;const z=be.Z;z.Button=ne;var a=z},66748:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ae}});var be=pe(14747),xe=pe(67771),E=pe(33297),he=pe(50438),fe=pe(97414),se=pe(67968),re=pe(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:me,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:me}},[`${ne}-wrap`]:{position:"relative",[`${b}-btn > ${ee}-down`]:{fontSize:me},[`${ee}-down::before`]:{transition:`transform ${te}`}},[`${ne}-wrap-open`]:{[`${ee}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottomLeft,
&${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomLeft,
&${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottom,
&${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottom,
&${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottomRight,
&${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomRight`]:{animationName:xe.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topLeft,
&${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topLeft,
&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-top,
&${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-top,
&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topRight,
&${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topRight`]:{animationName:xe.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomLeft,
&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottom,
&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomRight`]:{animationName:xe.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topLeft,
&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-top,
&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topRight`]:{animationName:xe.ly}})},(0,fe.ZP)(oe,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ne} ${z}`]:{position:"relative",margin:0},[`${z}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ne}, ${ne}-menu-submenu`]:{[z]:Object.assign(Object.assign({padding:ge,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:oe.borderRadiusLG,outline:"none",boxShadow:oe.boxShadowSecondary},(0,be.Qy)(oe)),{[`${z}-item-group-title`]:{padding:`${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:me,fontStyle:"normal"}}}),[`${z}-item-group-list`]:{margin:`0 ${oe.marginXS}px`,padding:0,listStyle:"none"},[`${z}-submenu-title`]:{paddingInlineEnd:Se+oe.fontSizeSM},[`${z}-submenu-vertical`]:{position:"relative"},[`${z}-submenu${z}-submenu-disabled ${ne}-menu-submenu-title`]:{[`&, ${ne}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:ye,cursor:"not-allowed"}},[`${z}-submenu-selected ${ne}-menu-submenu-title`]:{color:oe.colorPrimary}})}},[(0,xe.oN)(oe,"slide-up"),(0,xe.oN)(oe,"slide-down"),(0,E.Fm)(oe,"move-up"),(0,E.Fm)(oe,"move-down"),(0,he._y)(oe,"zoom-big")]]};var ae=(0,se.Z)("Dropdown",(oe,ne)=>{let{rootPrefixCls:z}=ne;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:ee,paddingXXS:te,componentCls:ue,borderRadiusLG:de}=oe,ge=(x-b*ee)/2,{dropdownArrowOffset:ve}=(0,fe.fS)({contentRadius:de}),me=(0,re.TS)(oe,{menuCls:`${ue}-menu`,rootPrefixCls:z,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:ge,dropdownEdgeChildPadding:te});return[ce(me),le(me)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},25378:function(xt,ft,pe){"use strict";var be=pe(67294),xe=pe(14075),E=pe(57838),he=pe(74443);function fe(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,be.useRef)({}),ie=(0,E.Z)(),le=(0,he.ZP)();return(0,xe.Z)(()=>{const ce=le.subscribe(ae=>{re.current=ae,se&&ie()});return()=>le.unsubscribe(ce)},[]),re.current}ft.Z=fe},71322:function(xt,ft,pe){"use strict";pe.d(ft,{D:function(){return ee},Z:function(){return de}});var be=pe(87462),xe=pe(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=pe(74643),se=function(ve,me){return xe.createElement(fe.Z,(0,be.Z)({},ve,{ref:me,icon:he}))},re=xe.forwardRef(se),ie=pe(22751),le=pe(91034),ce=pe(94184),ae=pe.n(ce),oe=pe(10366),z=ge=>!isNaN(parseFloat(ge))&&isFinite(ge),a=pe(53124),y=pe(84321),x=function(ge,ve){var me={};for(var Se in ge)Object.prototype.hasOwnProperty.call(ge,Se)&&ve.indexOf(Se)<0&&(me[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])&&(me[Se[ye]]=ge[Se[ye]]);return me};const b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=xe.createContext({}),te=(()=>{let ge=0;return function(){let ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ge+=1,`${ve}${ge}`}})();var de=xe.forwardRef((ge,ve)=>{const{prefixCls:me,className:Se,trigger:ye,children:Pe,defaultCollapsed:we=!1,theme:Te="dark",style:Ee={},collapsible:_e=!1,reverseArrow:Ce=!1,width:Oe=200,collapsedWidth:Ie=80,zeroWidthTriggerStyle:Ue,breakpoint:je,onCollapse:nt,onBreakpoint:Je}=ge,Qe=x(ge,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Xe}=(0,xe.useContext)(y.Gs),[ze,ke]=(0,xe.useState)("collapsed"in ge?ge.collapsed:we),[Be,qe]=(0,xe.useState)(!1);(0,xe.useEffect)(()=>{"collapsed"in ge&&ke(ge.collapsed)},[ge.collapsed]);const Ye=(Me,He)=>{"collapsed"in ge||ke(Me),nt==null||nt(Me,He)},gt=(0,xe.useRef)();gt.current=Me=>{qe(Me.matches),Je==null||Je(Me.matches),ze!==Me.matches&&Ye(Me.matches,"responsive")},(0,xe.useEffect)(()=>{function Me(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",Me)}catch(Ze){He.addListener(Me)}Me(He)}}return()=>{try{He==null||He.removeEventListener("change",Me)}catch(Ve){He==null||He.removeListener(Me)}}},[je]),(0,xe.useEffect)(()=>{const Me=te("ant-sider-");return Xe.addSider(Me),()=>Xe.removeSider(Me)},[]);const $e=()=>{Ye(!ze,"clickTrigger")},{getPrefixCls:We}=(0,xe.useContext)(a.E_),Re=()=>{const Me=We("layout-sider",me),He=(0,oe.Z)(Qe,["collapsed"]),Ve=ze?Ie:Oe,Ze=z(Ve)?`${Ve}px`:String(Ve),Ke=parseFloat(String(Ie||0))===0?xe.createElement("span",{onClick:$e,className:ae()(`${Me}-zero-width-trigger`,`${Me}-zero-width-trigger-${Ce?"right":"left"}`),style:Ue},ye||xe.createElement(re,null)):null,Ne={expanded:Ce?xe.createElement(le.Z,null):xe.createElement(ie.Z,null),collapsed:Ce?xe.createElement(ie.Z,null):xe.createElement(le.Z,null)}[ze?"collapsed":"expanded"],Ge=ye!==null?Ke||xe.createElement("div",{className:`${Me}-trigger`,onClick:$e,style:{width:Ze}},ye||Ne):null,ot=Object.assign(Object.assign({},Ee),{flex:`0 0 ${Ze}`,maxWidth:Ze,minWidth:Ze,width:Ze}),St=ae()(Me,`${Me}-${Te}`,{[`${Me}-collapsed`]:!!ze,[`${Me}-has-trigger`]:_e&&ye!==null&&!Ke,[`${Me}-below`]:!!Be,[`${Me}-zero-width`]:parseFloat(Ze)===0},Se);return xe.createElement("aside",Object.assign({className:St},He,{style:ot,ref:ve}),xe.createElement("div",{className:`${Me}-children`},Pe),_e||Be&&Ke?Ge:null)},tt=xe.useMemo(()=>({siderCollapsed:ze}),[ze]);return xe.createElement(ee.Provider,{value:tt},Re())})},84321:function(xt,ft,pe){"use strict";pe.d(ft,{VY:function(){return te},$_:function(){return ee},h4:function(){return b},Gs:function(){return ne},ZP:function(){return ue}});var be=pe(74902),xe=pe(94184),E=pe.n(xe),he=pe(10366),fe=pe(67294),se=pe(53124),re=pe(67968),le=de=>{const{componentCls:ge,bodyBg:ve,lightSiderBg:me,lightTriggerBg:Se,lightTriggerColor:ye}=de;return{[`${ge}-sider-light`]:{background:me,[`${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:me,triggerColor:Se,footerBg:ye,triggerBg:Pe,headerHeight:we,headerPadding:Te,headerColor:Ee,footerPadding:_e,triggerHeight:Ce,zeroTriggerHeight:Oe,zeroTriggerWidth:Ie,motionDurationMid:Ue,motionDurationSlow:je,fontSize:nt,borderRadius:Je,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:-Ie,zIndex:1,width:Ie,height:Oe,color:Se,fontSize:de.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ze,borderStartStartRadius:0,borderStartEndRadius:Je,borderEndEndRadius:Je,borderEndStartRadius:0,cursor:"pointer",transition:`background ${je} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${je}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ie,borderStartStartRadius:Je,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Je}}}}},le(de)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:we,padding:Te,color:Ee,lineHeight:`${we}px`,background:Xe,[`${ge}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:_e,color:me,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:me,colorText:Se,controlHeightSM:ye,marginXXS:Pe,colorTextLightSolid:we,colorBgContainer:Te}=de,Ee=me*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:me+Pe*2,triggerBg:"#002140",triggerColor:we,zeroTriggerWidth:me,zeroTriggerHeight:me,lightSiderBg:Te,lightTriggerBg:Te,lightTriggerColor:Se}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(de,ge){var ve={};for(var me in de)Object.prototype.hasOwnProperty.call(de,me)&&ge.indexOf(me)<0&&(ve[me]=de[me]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,me=Object.getOwnPropertySymbols(de);Se<me.length;Se++)ge.indexOf(me[Se])<0&&Object.prototype.propertyIsEnumerable.call(de,me[Se])&&(ve[me[Se]]=de[me[Se]]);return ve};const ne=fe.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function z(de){let{suffixCls:ge,tagName:ve,displayName:me}=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:me,className:Se,tagName:ye}=de,Pe=oe(de,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:we}=fe.useContext(se.E_),Te=we("layout",ve),[Ee,_e]=ae(Te),Ce=me?`${Te}-${me}`:Te;return Ee(fe.createElement(ye,Object.assign({className:E()(ve||Ce,Se,_e),ref:ge},Pe)))}),y=fe.forwardRef((de,ge)=>{const{direction:ve}=fe.useContext(se.E_),[me,Se]=fe.useState([]),{prefixCls:ye,className:Pe,rootClassName:we,children:Te,hasSider:Ee,tagName:_e,style:Ce}=de,Oe=oe(de,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ie=(0,he.Z)(Oe,["suffixCls"]),{getPrefixCls:Ue,layout:je}=fe.useContext(se.E_),nt=Ue("layout",ye),[Je,Qe]=ae(nt),Xe=E()(nt,{[`${nt}-has-sider`]:typeof Ee=="boolean"?Ee:me.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 Je(fe.createElement(ne.Provider,{value:ze},fe.createElement(_e,Object.assign({ref:ge,className:Xe,style:Object.assign(Object.assign({},je==null?void 0:je.style),Ce)},Ie),Te)))}),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(xt,ft,pe){"use strict";pe.d(ft,{J:function(){return se}});var be=pe(67294),xe=pe(4173),E=pe(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(xe.BR,null,(0,E.supportNodeRef)(le)?be.cloneElement(le,{ref:ie}):le))});ft.Z=fe},68508:function(xt,ft,pe){"use strict";pe.d(ft,{default:function(){return Me}});var be=pe(52073),xe=pe(67294),E=pe(71322),he=pe(94184),fe=pe.n(he),se=pe(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}=xe.useContext(se.E_),Ne=Le("menu",Ve),Ge=fe()({[`${Ne}-item-divider-dashed`]:!!Ke},Ze);return xe.createElement(be.iz,Object.assign({className:Ge},Ae))},ce=pe(37419),ae=pe(10366),oe=pe(83062),ne=pe(96159),a=(0,xe.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:ot,direction:St,disableMenuItemTitleTooltip:wt,inlineCollapsed:rt}=xe.useContext(a),bt=pt=>{const Ct=xe.createElement("span",{className:`${Ge}-title-content`},Ke);return(!Ae||(0,ne.l$)(Ke)&&Ke.type==="span")&&Ke&&pt&&ot&&typeof Ke=="string"?xe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Ke.charAt(0)):Ct},{siderCollapsed:Ft}=xe.useContext(E.D);let $t=Le;typeof Le=="undefined"?$t=ot?Ke:"":Le===!1&&($t="");const st={title:$t};!Ft&&!rt&&(st.title=null,st.open=!1);const Nt=(0,ce.Z)(Ke).length;let ct=xe.createElement(be.ck,Object.assign({},(0,ae.Z)(He,["title","icon","danger"]),{className:fe()({[`${Ge}-item-danger`]:Ne,[`${Ge}-item-only-child`]:(Ae?Nt+1:Nt)===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`)}),bt(rt));return wt||(ct=xe.createElement(oe.Z,Object.assign({},st,{placement:St==="rtl"?"left":"right",overlayClassName:`${Ge}-inline-collapsed-tooltip`}),ct)),ct},ee=He=>{var Ve;const{popupClassName:Ze,icon:Ke,title:Ae,theme:Le}=He,Ne=xe.useContext(a),{prefixCls:Ge,inlineCollapsed:ot,theme:St}=Ne,wt=(0,be.Xl)();let rt;if(!Ke)rt=ot&&!wt.length&&Ae&&typeof Ae=="string"?xe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Ae.charAt(0)):xe.createElement("span",{className:`${Ge}-title-content`},Ae);else{const Ft=(0,ne.l$)(Ae)&&Ae.type==="span";rt=xe.createElement(xe.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`)}),Ft?Ae:xe.createElement("span",{className:`${Ge}-title-content`},Ae))}const bt=xe.useMemo(()=>Object.assign(Object.assign({},Ne),{firstLevel:!1}),[Ne]);return xe.createElement(a.Provider,{value:bt},xe.createElement(be.Wd,Object.assign({},(0,ae.Z)(He,["icon"]),{title:rt,popupClassName:fe()(Ge,Ze,`${Ge}-${Le||St}`)})))},te=pe(25877),ue=pe(60276),de=pe(33603),ge=pe(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 me(He){return(He||[]).map((Ve,Ze)=>{if(Ve&&typeof Ve=="object"){const Ke=Ve,{label:Ae,children:Le,key:Ne,type:Ge}=Ke,ot=ve(Ke,["label","children","key","type"]),St=Ne!=null?Ne:`tmp-${Ze}`;return Le||Ge==="group"?Ge==="group"?xe.createElement(be.BW,Object.assign({key:St},ot,{title:Ae}),me(Le)):xe.createElement(ee,Object.assign({key:St},ot,{title:Ae}),me(Le)):Ge==="divider"?xe.createElement(le,Object.assign({key:St},ot)):xe.createElement(x,Object.assign({key:St},ot),Ae)}return null}).filter(Ve=>Ve)}function Se(He){return xe.useMemo(()=>He&&me(He),[He])}var ye=pe(84780),Pe=pe(14747),we=pe(33507),Te=pe(67771),Ee=pe(50438),_e=pe(67968),Ce=pe(45503),Ie=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:ot,activeBarHeight:St,activeBarWidth:wt,activeBarBorderWidth:rt,motionDurationSlow:bt,motionEaseInOut:Ft,motionEaseOut:$t,itemPaddingInline:st,motionDurationMid:Nt,itemHoverColor:ct,lineType:pt,colorSplit:Ct,itemDisabledColor:Rt,dangerItemColor:zt,dangerItemHoverColor:rn,dangerItemSelectedColor:kn,dangerItemActiveBg:jn,dangerItemSelectedBg:Hn,itemHoverBg:Pr,itemActiveBg:fn,menuSubMenuBg:Er,horizontalItemSelectedColor:oo,horizontalItemSelectedBg:Lo,horizontalItemBorderRadius:zo,horizontalItemHoverBg:Eo,popupBg:mo}=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:`${Rt} !important`},[`${Ze}-item:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{[`&:hover, > ${Ze}-submenu-title:hover`]:{color:ct}},[`&:not(${Ze}-horizontal)`]:{[`${Ze}-item:not(${Ze}-item-selected)`]:{"&:hover":{backgroundColor:Pr},"&:active":{backgroundColor:fn}},[`${Ze}-submenu-title`]:{"&:hover":{backgroundColor:Pr},"&:active":{backgroundColor:fn}}},[`${Ze}-item-danger`]:{color:zt,[`&${Ze}-item:hover`]:{[`&:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{color:rn}},[`&${Ze}-item:active`]:{background:jn}},[`${Ze}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ze}-item-selected`]:{color:Ae,[`&${Ze}-item-danger`]:{color:kn},"a, a:hover":{color:"inherit"}},[`& ${Ze}-item-selected`]:{backgroundColor:ot,[`&${Ze}-item-danger`]:{backgroundColor:Hn}},[`${Ze}-item, ${Ze}-submenu-title`]:{[`&:not(${Ze}-item-disabled):focus-visible`]:Object.assign({},nt(He))},[`&${Ze}-submenu > ${Ze}`]:{backgroundColor:Er},[`&${Ze}-popup > ${Ze}`]:{backgroundColor:mo},[`&${Ze}-horizontal`]:Object.assign(Object.assign({},Ve==="dark"?{borderBottom:0}:{}),{[`> ${Ze}-item, > ${Ze}-submenu`]:{top:rt,marginTop:-rt,marginBottom:0,borderRadius:zo,"&::after":{position:"absolute",insetInline:st,bottom:0,borderBottom:`${St}px solid transparent`,transition:`border-color ${bt} ${Ft}`,content:'""'},"&:hover, &-active, &-open":{background:Eo,"&::after":{borderBottomWidth:St,borderBottomColor:oo}},"&-selected":{color:oo,backgroundColor:Lo,"&:hover":{backgroundColor:Lo},"&::after":{borderBottomWidth:St,borderBottomColor:oo}}}}),[`&${Ze}-root`]:{[`&${Ze}-inline, &${Ze}-vertical`]:{borderInlineEnd:`${rt}px ${pt} ${Ct}`}},[`&${Ze}-inline`]:{[`${Ze}-sub${Ze}-inline`]:{background:Ge},[`${Ze}-item, ${Ze}-submenu-title`]:rt&&wt?{width:`calc(100% + ${rt}px)`}:{},[`${Ze}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${wt}px solid ${Ae}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Nt} ${$t}`,`opacity ${Nt} ${$t}`].join(","),content:'""'},[`&${Ze}-item-danger`]:{"&::after":{borderInlineEndColor:kn}}},[`${Ze}-selected, ${Ze}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Nt} ${Ft}`,`opacity ${Nt} ${Ft}`].join(",")}}}}}};const Xe=He=>{const{componentCls:Ve,itemHeight:Ze,itemMarginInline:Ke,padding:Ae,menuArrowSize:Le,marginXS:Ne,itemMarginBlock:Ge}=He,ot=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:ot}}};var ke=He=>{const{componentCls:Ve,iconCls:Ze,itemHeight:Ke,colorTextLightSolid:Ae,dropdownWidth:Le,controlHeightLG:Ne,motionDurationMid:Ge,motionEaseOut:ot,paddingXL:St,itemMarginInline:wt,fontSizeLG:rt,motionDurationSlow:bt,paddingXS:Ft,boxShadowSecondary:$t,collapsedWidth:st,collapsedIconSize:Nt}=He,ct={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:$t})}},{[`${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 ${bt}`,`background ${bt}`,`padding ${Ge} ${ot}`].join(","),[`> ${Ve}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ve}-sub${Ve}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ve}-submenu > ${Ve}-submenu-title`]:ct,[`& ${Ve}-item-group-title`]:{paddingInlineStart:St}},[`${Ve}-item`]:ct}},{[`${Ve}-inline-collapsed`]:{width:st,[`&${Ve}-root`]:{[`${Ve}-item, ${Ve}-submenu ${Ve}-submenu-title`]:{[`> ${Ve}-inline-collapsed-noicon`]:{fontSize:rt,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% - ${rt/2}px - ${wt}px)`,textOverflow:"clip",[`
${Ve}-submenu-arrow,
${Ve}-submenu-expand-icon
`]:{opacity:0},[`${Ve}-item-icon, ${Ze}`]:{margin:0,fontSize:Nt,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:Ft})}}]};const Be=He=>{const{componentCls:Ve,motionDurationSlow:Ze,motionDurationMid:Ke,motionEaseInOut:Ae,motionEaseOut:Le,iconCls:Ne,iconSize:Ge,iconMarginInlineEnd:ot}=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:ot,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})`}}}}},Ye=He=>{const{antCls:Ve,componentCls:Ze,fontSize:Ke,motionDurationSlow:Ae,motionDurationMid:Le,motionEaseInOut:Ne,paddingXS:Ge,padding:ot,colorSplit:St,lineWidth:wt,zIndexPopup:rt,borderRadiusLG:bt,subMenuItemBorderRadius:Ft,menuArrowSize:$t,menuArrowOffset:st,lineType:Nt,menuPanelMaskInset:ct,groupTitleLineHeight:pt,groupTitleFontSize:Ct}=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 ${ot}px`,fontSize:Ct,lineHeight:pt,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:Nt,borderWidth:0,borderTopWidth:wt,marginBlock:wt,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 ${ot}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:rt,borderRadius:bt,boxShadow:"none",transformOrigin:"0 0",[`&${Ze}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ct}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ct},"\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:bt},Be(He)),qe(He)),{[`${Ze}-item, ${Ze}-submenu > ${Ze}-submenu-title`]:{borderRadius:Ft},[`${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(-${$t*.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,_e.Z)("Menu",Ke=>{if(Ve===!1)return[];const{colorBgElevated:Ae,colorPrimary:Le,colorTextLightSolid:Ne,controlHeightLG:Ge,fontSize:ot,darkItemColor:St,darkDangerItemColor:wt,darkItemBg:rt,darkSubMenuItemBg:bt,darkItemSelectedColor:Ft,darkItemSelectedBg:$t,darkDangerItemSelectedBg:st,darkItemHoverBg:Nt,darkGroupTitleColor:ct,darkItemHoverColor:pt,darkItemDisabledColor:Ct,darkDangerItemHoverColor:Rt,darkDangerItemSelectedColor:zt,darkDangerItemActiveBg:rn}=Ke,kn=ot/7*5,jn=(0,Ce.TS)(Ke,{menuArrowSize:kn,menuHorizontalHeight:Ge*1.15,menuArrowOffset:`${kn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ae}),Hn=(0,Ce.TS)(jn,{itemColor:St,itemHoverColor:pt,groupTitleColor:ct,itemSelectedColor:Ft,itemBg:rt,popupBg:rt,subMenuItemBg:bt,itemActiveBg:"transparent",itemSelectedBg:$t,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Nt,itemDisabledColor:Ct,dangerItemColor:wt,dangerItemHoverColor:Rt,dangerItemSelectedColor:zt,dangerItemActiveBg:rn,dangerItemSelectedBg:st,menuSubMenuBg:bt,horizontalItemSelectedColor:Ne,horizontalItemSelectedBg:Le});return[Ye(jn),Ie(jn),ke(jn),Qe(jn,"light"),Qe(Hn,"dark"),je(jn),(0,we.Z)(jn),(0,Te.oN)(jn,"slide-up"),(0,Te.oN)(jn,"slide-down"),(0,Ee._y)(jn,"zoom-big")]},Ke=>{const{colorPrimary:Ae,colorError:Le,colorTextDisabled:Ne,colorErrorBg:Ge,colorText:ot,colorTextDescription:St,colorBgContainer:wt,colorFillAlter:rt,colorFillContent:bt,lineWidth:Ft,lineWidthBold:$t,controlItemBgActive:st,colorBgTextHover:Nt,controlHeightLG:ct,lineHeight:pt,colorBgElevated:Ct,marginXXS:Rt,padding:zt,fontSize:rn,controlHeightSM:kn,fontSizeLG:jn,colorTextLightSolid:Hn,colorErrorHover:Pr}=Ke,fn=new ye.C(Hn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ke.zIndexPopupBase+50,radiusItem:Ke.borderRadiusLG,itemBorderRadius:Ke.borderRadiusLG,radiusSubMenuItem:Ke.borderRadiusSM,subMenuItemBorderRadius:Ke.borderRadiusSM,colorItemText:ot,itemColor:ot,colorItemTextHover:ot,itemHoverColor:ot,colorItemTextHoverHorizontal:Ae,horizontalItemHoverColor:Ae,colorGroupTitle:St,groupTitleColor:St,colorItemTextSelected:Ae,itemSelectedColor:Ae,colorItemTextSelectedHorizontal:Ae,horizontalItemSelectedColor:Ae,colorItemBg:wt,itemBg:wt,colorItemBgHover:Nt,itemHoverBg:Nt,colorItemBgActive:bt,itemActiveBg:st,colorSubItemBg:rt,subMenuItemBg:rt,colorItemBgSelected:st,itemSelectedBg:st,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:$t,activeBarHeight:$t,colorActiveBarBorderSize:Ft,activeBarBorderWidth:Ft,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:ct,groupTitleLineHeight:pt,collapsedWidth:ct*2,popupBg:Ct,itemMarginBlock:Rt,itemPaddingInline:zt,horizontalLineHeight:`${ct*1.15}px`,iconSize:rn,iconMarginInlineEnd:kn-rn,collapsedIconSize:jn,groupTitleFontSize:rn,darkItemDisabledColor:new ye.C(Hn).setAlpha(.25).toRgbString(),darkItemColor:fn,darkDangerItemColor:Le,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Hn,darkItemSelectedBg:Ae,darkDangerItemSelectedBg:Le,darkItemHoverBg:"transparent",darkGroupTitleColor:fn,darkItemHoverColor:Hn,darkDangerItemHoverColor:Pr,darkDangerItemSelectedColor:Hn,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),$e=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,xe.forwardRef)((He,Ve)=>{var Ze,Ke;const Ae=xe.useContext(ge.Z),Le=Ae||{},{getPrefixCls:Ne,getPopupContainer:Ge,direction:ot,menu:St}=xe.useContext(se.E_),wt=Ne(),{prefixCls:rt,className:bt,style:Ft,theme:$t="light",expandIcon:st,_internalDisableMenuItemTitleTooltip:Nt,inlineCollapsed:ct,siderCollapsed:pt,items:Ct,children:Rt,rootClassName:zt,mode:rn,selectable:kn,onClick:jn,overflowedIndicatorPopupClassName:Hn}=He,Pr=$e(He,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),fn=(0,ae.Z)(Pr,["collapsedWidth"]),Er=Se(Ct)||Rt;(Ze=Le.validator)===null||Ze===void 0||Ze.call(Le,{mode:rn});const oo=(0,ue.useEvent)(function(){var er;jn==null||jn.apply(void 0,arguments),(er=Le.onClick)===null||er===void 0||er.call(Le)}),Lo=Le.mode||rn,zo=kn!=null?kn:Le.selectable,Eo=xe.useMemo(()=>pt!==void 0?pt:ct,[ct,pt]),mo={horizontal:{motionName:`${wt}-slide-up`},inline:(0,de.Z)(wt),other:{motionName:`${wt}-zoom-big`}},Sn=Ne("menu",rt||Le.prefixCls),[ln,mn]=gt(Sn,!Ae),Ln=fe()(`${Sn}-${$t}`,St==null?void 0:St.className,bt);let Wn;if(typeof st=="function")Wn=st;else if(st===null||st===!1)Wn=null;else if(Le.expandIcon===null||Le.expandIcon===!1)Wn=null;else{const er=st!=null?st:Le.expandIcon;Wn=(0,ne.Tm)(er,{className:fe()(`${Sn}-submenu-expand-icon`,(0,ne.l$)(er)?(Ke=er.props)===null||Ke===void 0?void 0:Ke.className:"")})}const lr=xe.useMemo(()=>({prefixCls:Sn,inlineCollapsed:Eo||!1,direction:ot,firstLevel:!0,theme:$t,mode:Lo,disableMenuItemTitleTooltip:Nt}),[Sn,Eo,ot,Nt,$t]);return ln(xe.createElement(ge.Z.Provider,{value:null},xe.createElement(a.Provider,{value:lr},xe.createElement(be.ZP,Object.assign({getPopupContainer:Ge,overflowedIndicator:xe.createElement(te.Z,null),overflowedIndicatorPopupClassName:fe()(Sn,`${Sn}-${$t}`,Hn),mode:Lo,selectable:zo,onClick:oo},fn,{inlineCollapsed:Eo,style:Object.assign(Object.assign({},St==null?void 0:St.style),Ft),className:Ln,prefixCls:Sn,direction:ot,defaultMotions:mo,expandIcon:Wn,ref:Ve,rootClassName:fe()(zt,mn)}),Er))))});const tt=(0,xe.forwardRef)((He,Ve)=>{const Ze=(0,xe.useRef)(null),Ke=xe.useContext(E.D);return(0,xe.useImperativeHandle)(Ve,()=>({menu:Ze.current,focus:Ae=>{var Le;(Le=Ze.current)===null||Le===void 0||Le.focus(Ae)}})),xe.createElement(Re,Object.assign({ref:Ze},He,Ke))});tt.Item=x,tt.SubMenu=ee,tt.Divider=le,tt.ItemGroup=be.BW;var Me=tt},28452:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return wt}});var be=pe(87462),xe=pe(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=pe(74643),se=function(bt,Ft){return xe.createElement(fe.Z,(0,be.Z)({},bt,{ref:Ft,icon:he}))},re=xe.forwardRef(se),ie=pe(81893),le=pe(22751),ce=pe(91034),ae=pe(94184),oe=pe.n(ae),ne=pe(4942),z=pe(1413),a=pe(15671),y=pe(43144),x=pe(60136),b=pe(51630),ee=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,te=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ue="".concat(ee," ").concat(te).split(/[\s\n]+/),de="aria-",ge="data-";function ve(rt,bt){return rt.indexOf(bt)===0}function me(rt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ft;bt===!1?Ft={aria:!0,data:!0,attr:!0}:bt===!0?Ft={aria:!0}:Ft=(0,z.Z)({},bt);var $t={};return Object.keys(rt).forEach(function(st){(Ft.aria&&(st==="role"||ve(st,de))||Ft.data&&ve(st,ge)||Ft.attr&&ue.includes(st))&&($t[st]=rt[st])}),$t}var Se={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ye=Se,Pe=pe(81626),we=function(rt){(0,x.Z)(Ft,rt);var bt=(0,b.Z)(Ft);function Ft(){var $t;(0,a.Z)(this,Ft);for(var st=arguments.length,Nt=new Array(st),ct=0;ct<st;ct++)Nt[ct]=arguments[ct];return $t=bt.call.apply(bt,[this].concat(Nt)),$t.state={goInputText:""},$t.getValidValue=function(){var pt=$t.state.goInputText;return!pt||Number.isNaN(pt)?void 0:Number(pt)},$t.buildOptionText=function(pt){return"".concat(pt," ").concat($t.props.locale.items_per_page)},$t.changeSize=function(pt){$t.props.changeSize(Number(pt))},$t.handleChange=function(pt){$t.setState({goInputText:pt.target.value})},$t.handleBlur=function(pt){var Ct=$t.props,Rt=Ct.goButton,zt=Ct.quickGo,rn=Ct.rootPrefixCls,kn=$t.state.goInputText;Rt||kn===""||($t.setState({goInputText:""}),!(pt.relatedTarget&&(pt.relatedTarget.className.indexOf("".concat(rn,"-item-link"))>=0||pt.relatedTarget.className.indexOf("".concat(rn,"-item"))>=0))&&zt($t.getValidValue()))},$t.go=function(pt){var Ct=$t.state.goInputText;Ct!==""&&(pt.keyCode===ye.ENTER||pt.type==="click")&&($t.setState({goInputText:""}),$t.props.quickGo($t.getValidValue()))},$t}return(0,y.Z)(Ft,[{key:"getPageSizeOptions",value:function(){var st=this.props,Nt=st.pageSize,ct=st.pageSizeOptions;return ct.some(function(pt){return pt.toString()===Nt.toString()})?ct:ct.concat([Nt.toString()]).sort(function(pt,Ct){var Rt=Number.isNaN(Number(pt))?0:Number(pt),zt=Number.isNaN(Number(Ct))?0:Number(Ct);return Rt-zt})}},{key:"render",value:function(){var st=this,Nt=this.props,ct=Nt.pageSize,pt=Nt.locale,Ct=Nt.rootPrefixCls,Rt=Nt.changeSize,zt=Nt.quickGo,rn=Nt.goButton,kn=Nt.selectComponentClass,jn=Nt.buildOptionText,Hn=Nt.selectPrefixCls,Pr=Nt.disabled,fn=this.state.goInputText,Er="".concat(Ct,"-options"),oo=kn,Lo=null,zo=null,Eo=null;if(!Rt&&!zt)return null;var mo=this.getPageSizeOptions();if(Rt&&oo){var Sn=mo.map(function(ln,mn){return xe.createElement(oo.Option,{key:mn,value:ln.toString()},(jn||st.buildOptionText)(ln))});Lo=xe.createElement(oo,{disabled:Pr,prefixCls:Hn,showSearch:!1,className:"".concat(Er,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ct||mo[0]).toString(),onChange:this.changeSize,getPopupContainer:function(mn){return mn.parentNode},"aria-label":pt.page_size,defaultOpen:!1},Sn)}return zt&&(rn&&(Eo=typeof rn=="boolean"?xe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Pr,className:"".concat(Er,"-quick-jumper-button")},pt.jump_to_confirm):xe.createElement("span",{onClick:this.go,onKeyUp:this.go},rn)),zo=xe.createElement("div",{className:"".concat(Er,"-quick-jumper")},pt.jump_to,xe.createElement("input",{disabled:Pr,type:"text",value:fn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":pt.page}),pt.page,Eo)),xe.createElement("li",{className:"".concat(Er)},Lo,zo)}}]),Ft}(xe.Component);we.defaultProps={pageSizeOptions:["10","20","50","100"]};var Te=we,Ee=function(bt){var Ft,$t=bt.rootPrefixCls,st=bt.page,Nt=bt.active,ct=bt.className,pt=bt.showTitle,Ct=bt.onClick,Rt=bt.onKeyPress,zt=bt.itemRender,rn="".concat($t,"-item"),kn=oe()(rn,"".concat(rn,"-").concat(st),(Ft={},(0,ne.Z)(Ft,"".concat(rn,"-active"),Nt),(0,ne.Z)(Ft,"".concat(rn,"-disabled"),!st),(0,ne.Z)(Ft,bt.className,ct),Ft)),jn=function(){Ct(st)},Hn=function(Er){Rt(Er,Ct,st)},Pr=zt(st,"page",xe.createElement("a",{rel:"nofollow"},st));return Pr?xe.createElement("li",{title:pt?st.toString():null,className:kn,onClick:jn,onKeyPress:Hn,tabIndex:0},Pr):null},_e=Ee;function Ce(){}function Oe(rt){var bt=Number(rt);return typeof bt=="number"&&!Number.isNaN(bt)&&isFinite(bt)&&Math.floor(bt)===bt}var Ie=function(bt,Ft,$t){return $t};function Ue(rt,bt,Ft){var $t=typeof rt=="undefined"?bt.pageSize:rt;return Math.floor((Ft.total-1)/$t)+1}var je=function(rt){(0,x.Z)(Ft,rt);var bt=(0,b.Z)(Ft);function Ft($t){var st;(0,a.Z)(this,Ft),st=bt.call(this,$t),st.paginationNode=xe.createRef(),st.getJumpPrevPage=function(){return Math.max(1,st.state.current-(st.props.showLessItems?3:5))},st.getJumpNextPage=function(){return Math.min(Ue(void 0,st.state,st.props),st.state.current+(st.props.showLessItems?3:5))},st.getItemIcon=function(Rt,zt){var rn=st.props.prefixCls,kn=Rt||xe.createElement("button",{type:"button","aria-label":zt,className:"".concat(rn,"-item-link")});return typeof Rt=="function"&&(kn=xe.createElement(Rt,(0,z.Z)({},st.props))),kn},st.isValid=function(Rt){var zt=st.props.total;return Oe(Rt)&&Rt!==st.state.current&&Oe(zt)&&zt>0},st.shouldDisplayQuickJumper=function(){var Rt=st.props,zt=Rt.showQuickJumper,rn=Rt.total,kn=st.state.pageSize;return rn<=kn?!1:zt},st.handleKeyDown=function(Rt){(Rt.keyCode===ye.ARROW_UP||Rt.keyCode===ye.ARROW_DOWN)&&Rt.preventDefault()},st.handleKeyUp=function(Rt){var zt=st.getValidValue(Rt),rn=st.state.currentInputValue;zt!==rn&&st.setState({currentInputValue:zt}),Rt.keyCode===ye.ENTER?st.handleChange(zt):Rt.keyCode===ye.ARROW_UP?st.handleChange(zt-1):Rt.keyCode===ye.ARROW_DOWN&&st.handleChange(zt+1)},st.handleBlur=function(Rt){var zt=st.getValidValue(Rt);st.handleChange(zt)},st.changePageSize=function(Rt){var zt=st.state.current,rn=Ue(Rt,st.state,st.props);zt=zt>rn?rn:zt,rn===0&&(zt=st.state.current),typeof Rt=="number"&&("pageSize"in st.props||st.setState({pageSize:Rt}),"current"in st.props||st.setState({current:zt,currentInputValue:zt})),st.props.onShowSizeChange(zt,Rt),"onChange"in st.props&&st.props.onChange&&st.props.onChange(zt,Rt)},st.handleChange=function(Rt){var zt=st.props,rn=zt.disabled,kn=zt.onChange,jn=st.state,Hn=jn.pageSize,Pr=jn.current,fn=jn.currentInputValue;if(st.isValid(Rt)&&!rn){var Er=Ue(void 0,st.state,st.props),oo=Rt;return Rt>Er?oo=Er:Rt<1&&(oo=1),"current"in st.props||st.setState({current:oo}),oo!==fn&&st.setState({currentInputValue:oo}),kn(oo,Hn),oo}return Pr},st.prev=function(){st.hasPrev()&&st.handleChange(st.state.current-1)},st.next=function(){st.hasNext()&&st.handleChange(st.state.current+1)},st.jumpPrev=function(){st.handleChange(st.getJumpPrevPage())},st.jumpNext=function(){st.handleChange(st.getJumpNextPage())},st.hasPrev=function(){return st.state.current>1},st.hasNext=function(){return st.state.current<Ue(void 0,st.state,st.props)},st.runIfEnter=function(Rt,zt){if(Rt.key==="Enter"||Rt.charCode===13){for(var rn=arguments.length,kn=new Array(rn>2?rn-2:0),jn=2;jn<rn;jn++)kn[jn-2]=arguments[jn];zt.apply(void 0,kn)}},st.runIfEnterPrev=function(Rt){st.runIfEnter(Rt,st.prev)},st.runIfEnterNext=function(Rt){st.runIfEnter(Rt,st.next)},st.runIfEnterJumpPrev=function(Rt){st.runIfEnter(Rt,st.jumpPrev)},st.runIfEnterJumpNext=function(Rt){st.runIfEnter(Rt,st.jumpNext)},st.handleGoTO=function(Rt){(Rt.keyCode===ye.ENTER||Rt.type==="click")&&st.handleChange(st.state.currentInputValue)},st.renderPrev=function(Rt){var zt=st.props,rn=zt.prevIcon,kn=zt.itemRender,jn=kn(Rt,"prev",st.getItemIcon(rn,"prev page")),Hn=!st.hasPrev();return(0,xe.isValidElement)(jn)?(0,xe.cloneElement)(jn,{disabled:Hn}):jn},st.renderNext=function(Rt){var zt=st.props,rn=zt.nextIcon,kn=zt.itemRender,jn=kn(Rt,"next",st.getItemIcon(rn,"next page")),Hn=!st.hasNext();return(0,xe.isValidElement)(jn)?(0,xe.cloneElement)(jn,{disabled:Hn}):jn};var Nt=$t.onChange!==Ce,ct="current"in $t;ct&&!Nt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var pt=$t.defaultCurrent;"current"in $t&&(pt=$t.current);var Ct=$t.defaultPageSize;return"pageSize"in $t&&(Ct=$t.pageSize),pt=Math.min(pt,Ue(Ct,void 0,$t)),st.state={current:pt,currentInputValue:pt,pageSize:Ct},st}return(0,y.Z)(Ft,[{key:"componentDidUpdate",value:function(st,Nt){var ct=this.props.prefixCls;if(Nt.current!==this.state.current&&this.paginationNode.current){var pt=this.paginationNode.current.querySelector(".".concat(ct,"-item-").concat(Nt.current));if(pt&&document.activeElement===pt){var Ct;pt==null||(Ct=pt.blur)===null||Ct===void 0||Ct.call(pt)}}}},{key:"getValidValue",value:function(st){var Nt=st.target.value,ct=Ue(void 0,this.state,this.props),pt=this.state.currentInputValue,Ct;return Nt===""?Ct=Nt:Number.isNaN(Number(Nt))?Ct=pt:Nt>=ct?Ct=ct:Ct=Number(Nt),Ct}},{key:"getShowSizeChanger",value:function(){var st=this.props,Nt=st.showSizeChanger,ct=st.total,pt=st.totalBoundaryShowSizeChanger;return typeof Nt!="undefined"?Nt:ct>pt}},{key:"render",value:function(){var st=this.props,Nt=st.prefixCls,ct=st.className,pt=st.style,Ct=st.disabled,Rt=st.hideOnSinglePage,zt=st.total,rn=st.locale,kn=st.showQuickJumper,jn=st.showLessItems,Hn=st.showTitle,Pr=st.showTotal,fn=st.simple,Er=st.itemRender,oo=st.showPrevNextJumpers,Lo=st.jumpPrevIcon,zo=st.jumpNextIcon,Eo=st.selectComponentClass,mo=st.selectPrefixCls,Sn=st.pageSizeOptions,ln=this.state,mn=ln.current,Ln=ln.pageSize,Wn=ln.currentInputValue;if(Rt===!0&&zt<=Ln)return null;var lr=Ue(void 0,this.state,this.props),er=[],Wr=null,Br=null,cr=null,Mt=null,jt=null,Tt=kn&&kn.goButton,wn=jn?1:2,zn=mn-1>0?mn-1:0,$n=mn+1<lr?mn+1:lr,_r=me(this.props,{aria:!0,data:!0}),mr=Pr&&xe.createElement("li",{className:"".concat(Nt,"-total-text")},Pr(zt,[zt===0?0:(mn-1)*Ln+1,mn*Ln>zt?zt:mn*Ln]));if(fn){Tt&&(typeof Tt=="boolean"?jt=xe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},rn.jump_to_confirm):jt=xe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Tt),jt=xe.createElement("li",{title:Hn?"".concat(rn.jump_to).concat(mn,"/").concat(lr):null,className:"".concat(Nt,"-simple-pager")},jt));var Lr=this.renderPrev(zn);return xe.createElement("ul",(0,be.Z)({className:oe()(Nt,"".concat(Nt,"-simple"),(0,ne.Z)({},"".concat(Nt,"-disabled"),Ct),ct),style:pt,ref:this.paginationNode},_r),mr,Lr?xe.createElement("li",{title:Hn?rn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(Nt,"-prev"),(0,ne.Z)({},"".concat(Nt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Lr):null,xe.createElement("li",{title:Hn?"".concat(mn,"/").concat(lr):null,className:"".concat(Nt,"-simple-pager")},xe.createElement("input",{type:"text",value:Wn,disabled:Ct,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),xe.createElement("span",{className:"".concat(Nt,"-slash")},"/"),lr),xe.createElement("li",{title:Hn?rn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:oe()("".concat(Nt,"-next"),(0,ne.Z)({},"".concat(Nt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext($n)),jt)}if(lr<=3+wn*2){var ao={locale:rn,rootPrefixCls:Nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Hn,itemRender:Er};lr||er.push(xe.createElement(_e,(0,be.Z)({},ao,{key:"noPager",page:1,className:"".concat(Nt,"-item-disabled")})));for(var vo=1;vo<=lr;vo+=1){var Cn=mn===vo;er.push(xe.createElement(_e,(0,be.Z)({},ao,{key:vo,page:vo,active:Cn})))}}else{var Kr=jn?rn.prev_3:rn.prev_5,At=jn?rn.next_3:rn.next_5,an=Er(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Lo,"prev page")),qt=Er(this.getJumpNextPage(),"jump-next",this.getItemIcon(zo,"next page"));oo&&(Wr=an?xe.createElement("li",{title:Hn?Kr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:oe()("".concat(Nt,"-jump-prev"),(0,ne.Z)({},"".concat(Nt,"-jump-prev-custom-icon"),!!Lo))},an):null,Br=qt?xe.createElement("li",{title:Hn?At:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:oe()("".concat(Nt,"-jump-next"),(0,ne.Z)({},"".concat(Nt,"-jump-next-custom-icon"),!!zo))},qt):null),Mt=xe.createElement(_e,{locale:rn,last:!0,rootPrefixCls:Nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:lr,page:lr,active:!1,showTitle:Hn,itemRender:Er}),cr=xe.createElement(_e,{locale:rn,rootPrefixCls:Nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Hn,itemRender:Er});var on=Math.max(1,mn-wn),In=Math.min(mn+wn,lr);mn-1<=wn&&(In=1+wn*2),lr-mn<=wn&&(on=lr-wn*2);for(var tn=on;tn<=In;tn+=1){var An=mn===tn;er.push(xe.createElement(_e,{locale:rn,rootPrefixCls:Nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:tn,page:tn,active:An,showTitle:Hn,itemRender:Er}))}mn-1>=wn*2&&mn!==3&&(er[0]=(0,xe.cloneElement)(er[0],{className:"".concat(Nt,"-item-after-jump-prev")}),er.unshift(Wr)),lr-mn>=wn*2&&mn!==lr-2&&(er[er.length-1]=(0,xe.cloneElement)(er[er.length-1],{className:"".concat(Nt,"-item-before-jump-next")}),er.push(Br)),on!==1&&er.unshift(cr),In!==lr&&er.push(Mt)}var cn=!this.hasPrev()||!lr,xr=!this.hasNext()||!lr,ur=this.renderPrev(zn),Ur=this.renderNext($n);return xe.createElement("ul",(0,be.Z)({className:oe()(Nt,ct,(0,ne.Z)({},"".concat(Nt,"-disabled"),Ct)),style:pt,ref:this.paginationNode},_r),mr,ur?xe.createElement("li",{title:Hn?rn.prev_page:null,onClick:this.prev,tabIndex:cn?null:0,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(Nt,"-prev"),(0,ne.Z)({},"".concat(Nt,"-disabled"),cn)),"aria-disabled":cn},ur):null,er,Ur?xe.createElement("li",{title:Hn?rn.next_page:null,onClick:this.next,tabIndex:xr?null:0,onKeyPress:this.runIfEnterNext,className:oe()("".concat(Nt,"-next"),(0,ne.Z)({},"".concat(Nt,"-disabled"),xr)),"aria-disabled":xr},Ur):null,xe.createElement(Te,{disabled:Ct,locale:rn,rootPrefixCls:Nt,selectComponentClass:Eo,selectPrefixCls:mo,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:mn,pageSize:Ln,pageSizeOptions:Sn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Tt}))}}],[{key:"getDerivedStateFromProps",value:function(st,Nt){var ct={};if("current"in st&&(ct.current=st.current,st.current!==Nt.current&&(ct.currentInputValue=ct.current)),"pageSize"in st&&st.pageSize!==Nt.pageSize){var pt=Nt.current,Ct=Ue(st.pageSize,Nt,st);pt=pt>Ct?Ct:pt,"current"in st||(ct.current=pt,ct.currentInputValue=pt),ct.pageSize=st.pageSize}return ct}}]),Ft}(xe.Component);je.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ce,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ce,locale:Pe.Z,style:{},itemRender:Ie,totalBoundaryShowSizeChanger:50};var nt=je,Je=pe(62906),Qe=pe(53124),Xe=pe(98675),ze=pe(25378),ke=pe(10110),Be=pe(42563);const qe=rt=>xe.createElement(Be.default,Object.assign({},rt,{showSearch:!0,size:"small"})),Ye=rt=>xe.createElement(Be.default,Object.assign({},rt,{showSearch:!0,size:"middle"}));qe.Option=Be.default.Option,Ye.Option=Be.default.Option;var gt=pe(47673),$e=pe(14747),We=pe(67968),Re=pe(45503);const tt=rt=>{const{componentCls:bt}=rt;return{[`${bt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${bt}-item-link`]:{color:rt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${bt}-item-link`]:{color:rt.colorTextDisabled,cursor:"not-allowed"}}},[`&${bt}-disabled`]:{cursor:"not-allowed",[`${bt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:rt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:rt.colorBorder,backgroundColor:rt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:rt.itemActiveBgDisabled},a:{color:rt.itemActiveColorDisabled}}},[`${bt}-item-link`]:{color:rt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${bt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${bt}-simple-pager`]:{color:rt.colorTextDisabled},[`${bt}-jump-prev, ${bt}-jump-next`]:{[`${bt}-item-link-icon`]:{opacity:0},[`${bt}-item-ellipsis`]:{opacity:1}}},[`&${bt}-simple`]:{[`${bt}-prev, ${bt}-next`]:{[`&${bt}-disabled ${bt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Me=rt=>{const{componentCls:bt}=rt;return{[`&${bt}-mini ${bt}-total-text, &${bt}-mini ${bt}-simple-pager`]:{height:rt.itemSizeSM,lineHeight:`${rt.itemSizeSM}px`},[`&${bt}-mini ${bt}-item`]:{minWidth:rt.itemSizeSM,height:rt.itemSizeSM,margin:0,lineHeight:`${rt.itemSizeSM-2}px`},[`&${bt}-mini:not(${bt}-disabled) ${bt}-item:not(${bt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:rt.colorBgTextHover},"&:active":{backgroundColor:rt.colorBgTextActive}},[`&${bt}-mini ${bt}-prev, &${bt}-mini ${bt}-next`]:{minWidth:rt.itemSizeSM,height:rt.itemSizeSM,margin:0,lineHeight:`${rt.itemSizeSM}px`},[`&${bt}-mini:not(${bt}-disabled)`]:{[`${bt}-prev, ${bt}-next`]:{[`&:hover ${bt}-item-link`]:{backgroundColor:rt.colorBgTextHover},[`&:active ${bt}-item-link`]:{backgroundColor:rt.colorBgTextActive},[`&${bt}-disabled:hover ${bt}-item-link`]:{backgroundColor:"transparent"}}},[`
&${bt}-mini ${bt}-prev ${bt}-item-link,
&${bt}-mini ${bt}-next ${bt}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:rt.itemSizeSM,lineHeight:`${rt.itemSizeSM}px`}},[`&${bt}-mini ${bt}-jump-prev, &${bt}-mini ${bt}-jump-next`]:{height:rt.itemSizeSM,marginInlineEnd:0,lineHeight:`${rt.itemSizeSM}px`},[`&${bt}-mini ${bt}-options`]:{marginInlineStart:rt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:rt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:rt.itemSizeSM,lineHeight:`${rt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,gt.x0)(rt)),{width:rt.paginationMiniQuickJumperInputWidth,height:rt.controlHeightSM})}}}},He=rt=>{const{componentCls:bt}=rt;return{[`
&${bt}-simple ${bt}-prev,
&${bt}-simple ${bt}-next
`]:{height:rt.itemSizeSM,lineHeight:`${rt.itemSizeSM}px`,verticalAlign:"top",[`${bt}-item-link`]:{height:rt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:rt.colorBgTextHover},"&:active":{backgroundColor:rt.colorBgTextActive},"&::after":{height:rt.itemSizeSM,lineHeight:`${rt.itemSizeSM}px`}}},[`&${bt}-simple ${bt}-simple-pager`]:{display:"inline-block",height:rt.itemSizeSM,marginInlineEnd:rt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:rt.marginXS,padding:`0 ${rt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:rt.itemInputBg,border:`${rt.lineWidth}px ${rt.lineType} ${rt.colorBorder}`,borderRadius:rt.borderRadius,outline:"none",transition:`border-color ${rt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:rt.colorPrimary},"&:focus":{borderColor:rt.colorPrimaryHover,boxShadow:`${rt.inputOutlineOffset}px 0 ${rt.controlOutlineWidth}px ${rt.controlOutline}`},"&[disabled]":{color:rt.colorTextDisabled,backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder,cursor:"not-allowed"}}}}},Ve=rt=>{const{componentCls:bt}=rt;return{[`${bt}-jump-prev, ${bt}-jump-next`]:{outline:0,[`${bt}-item-container`]:{position:"relative",[`${bt}-item-link-icon`]:{color:rt.colorPrimary,fontSize:rt.fontSizeSM,opacity:0,transition:`all ${rt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${bt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:rt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:rt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:rt.paginationEllipsisTextIndent,opacity:1,transition:`all ${rt.motionDurationMid}`}},"&:hover":{[`${bt}-item-link-icon`]:{opacity:1},[`${bt}-item-ellipsis`]:{opacity:0}}},[`
${bt}-prev,
${bt}-jump-prev,
${bt}-jump-next
`]:{marginInlineEnd:rt.marginXS},[`
${bt}-prev,
${bt}-next,
${bt}-jump-prev,
${bt}-jump-next
`]:{display:"inline-block",minWidth:rt.itemSize,height:rt.itemSize,color:rt.colorText,fontFamily:rt.fontFamily,lineHeight:`${rt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:rt.borderRadius,cursor:"pointer",transition:`all ${rt.motionDurationMid}`},[`${bt}-prev, ${bt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:rt.colorText,cursor:"pointer",userSelect:"none"},[`${bt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:rt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${rt.lineWidth}px ${rt.lineType} transparent`,borderRadius:rt.borderRadius,outline:"none",transition:`all ${rt.motionDurationMid}`},[`&:hover ${bt}-item-link`]:{backgroundColor:rt.colorBgTextHover},[`&:active ${bt}-item-link`]:{backgroundColor:rt.colorBgTextActive},[`&${bt}-disabled:hover`]:{[`${bt}-item-link`]:{backgroundColor:"transparent"}}},[`${bt}-slash`]:{marginInlineEnd:rt.paginationSlashMarginInlineEnd,marginInlineStart:rt.paginationSlashMarginInlineStart},[`${bt}-options`]:{display:"inline-block",marginInlineStart:rt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:rt.controlHeight,marginInlineStart:rt.marginXS,lineHeight:`${rt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,gt.ik)(rt)),{width:rt.controlHeightLG*1.25,height:rt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:rt.marginXS,marginInlineEnd:rt.marginXS})}}}},Ze=rt=>{const{componentCls:bt}=rt;return{[`${bt}-item`]:{display:"inline-block",minWidth:rt.itemSize,height:rt.itemSize,marginInlineEnd:rt.marginXS,fontFamily:rt.fontFamily,lineHeight:`${rt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${rt.lineWidth}px ${rt.lineType} transparent`,borderRadius:rt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${rt.paginationItemPaddingInline}px`,color:rt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${bt}-item-active)`]:{"&:hover":{transition:`all ${rt.motionDurationMid}`,backgroundColor:rt.colorBgTextHover},"&:active":{backgroundColor:rt.colorBgTextActive}},"&-active":{fontWeight:rt.fontWeightStrong,backgroundColor:rt.itemActiveBg,borderColor:rt.colorPrimary,a:{color:rt.colorPrimary},"&:hover":{borderColor:rt.colorPrimaryHover},"&:hover a":{color:rt.colorPrimaryHover}}}}},Ke=rt=>{const{componentCls:bt}=rt;return{[bt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(rt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${bt}-total-text`]:{display:"inline-block",height:rt.itemSize,marginInlineEnd:rt.marginXS,lineHeight:`${rt.itemSize-2}px`,verticalAlign:"middle"}}),Ze(rt)),Ve(rt)),He(rt)),Me(rt)),tt(rt)),{[`@media only screen and (max-width: ${rt.screenLG}px)`]:{[`${bt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${rt.screenSM}px)`]:{[`${bt}-options`]:{display:"none"}}}),[`&${rt.componentCls}-rtl`]:{direction:"rtl"}}},Ae=rt=>{const{componentCls:bt}=rt;return{[`${bt}${bt}-disabled:not(${bt}-mini)`]:{"&, &:hover":{[`${bt}-item-link`]:{borderColor:rt.colorBorder}},"&:focus-visible":{[`${bt}-item-link`]:{borderColor:rt.colorBorder}},[`${bt}-item, ${bt}-item-link`]:{backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder,[`&:hover:not(${bt}-item-active)`]:{backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder,a:{color:rt.colorTextDisabled}},[`&${bt}-item-active`]:{backgroundColor:rt.itemActiveBgDisabled}},[`${bt}-prev, ${bt}-next`]:{"&:hover button":{backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder,color:rt.colorTextDisabled},[`${bt}-item-link`]:{backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder}}},[`${bt}:not(${bt}-mini)`]:{[`${bt}-prev, ${bt}-next`]:{"&:hover button":{borderColor:rt.colorPrimaryHover,backgroundColor:rt.itemBg},[`${bt}-item-link`]:{backgroundColor:rt.itemLinkBg,borderColor:rt.colorBorder},[`&:hover ${bt}-item-link`]:{borderColor:rt.colorPrimary,backgroundColor:rt.itemBg,color:rt.colorPrimary},[`&${bt}-disabled`]:{[`${bt}-item-link`]:{borderColor:rt.colorBorder,color:rt.colorTextDisabled}}},[`${bt}-item`]:{backgroundColor:rt.itemBg,border:`${rt.lineWidth}px ${rt.lineType} ${rt.colorBorder}`,[`&:hover:not(${bt}-item-active)`]:{borderColor:rt.colorPrimary,backgroundColor:rt.itemBg,a:{color:rt.colorPrimary}},"&-active":{borderColor:rt.colorPrimary}}}}},Le=rt=>{const{componentCls:bt}=rt;return{[`${bt}:not(${bt}-disabled)`]:{[`${bt}-item`]:Object.assign({},(0,$e.Qy)(rt)),[`${bt}-jump-prev, ${bt}-jump-next`]:{"&:focus-visible":Object.assign({[`${bt}-item-link-icon`]:{opacity:1},[`${bt}-item-ellipsis`]:{opacity:0}},(0,$e.oN)(rt))},[`${bt}-prev, ${bt}-next`]:{[`&:focus-visible ${bt}-item-link`]:Object.assign({},(0,$e.oN)(rt))}}}};var Ne=(0,We.Z)("Pagination",rt=>{const bt=(0,Re.TS)(rt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:rt.marginXXS/2,paginationMiniQuickJumperInputWidth:rt.controlHeightLG*1.1,paginationItemPaddingInline:rt.marginXXS*1.5,paginationEllipsisLetterSpacing:rt.marginXXS/2,paginationSlashMarginInlineStart:rt.marginXXS,paginationSlashMarginInlineEnd:rt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,gt.e5)(rt),(0,gt.TM)(rt));return[Ke(bt),Le(bt),rt.wireframe&&Ae(bt)]},rt=>({itemBg:rt.colorBgContainer,itemSize:rt.controlHeight,itemSizeSM:rt.controlHeightSM,itemActiveBg:rt.colorBgContainer,itemLinkBg:rt.colorBgContainer,itemActiveColorDisabled:rt.colorTextDisabled,itemActiveBgDisabled:rt.controlItemBgActiveDisabled,itemInputBg:rt.colorBgContainer,miniOptionsSizeChangerTop:0})),Ge=function(rt,bt){var Ft={};for(var $t in rt)Object.prototype.hasOwnProperty.call(rt,$t)&&bt.indexOf($t)<0&&(Ft[$t]=rt[$t]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,$t=Object.getOwnPropertySymbols(rt);st<$t.length;st++)bt.indexOf($t[st])<0&&Object.prototype.propertyIsEnumerable.call(rt,$t[st])&&(Ft[$t[st]]=rt[$t[st]]);return Ft},St=rt=>{const{prefixCls:bt,selectPrefixCls:Ft,className:$t,rootClassName:st,style:Nt,size:ct,locale:pt,selectComponentClass:Ct,responsive:Rt,showSizeChanger:zt}=rt,rn=Ge(rt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:kn}=(0,ze.Z)(Rt),{getPrefixCls:jn,direction:Hn,pagination:Pr={}}=xe.useContext(Qe.E_),fn=jn("pagination",bt),[Er,oo]=Ne(fn),Lo=zt!=null?zt:Pr.showSizeChanger,zo=xe.useMemo(()=>{const lr=xe.createElement("span",{className:`${fn}-item-ellipsis`},"\u2022\u2022\u2022"),er=xe.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},Hn==="rtl"?xe.createElement(ce.Z,null):xe.createElement(le.Z,null)),Wr=xe.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},Hn==="rtl"?xe.createElement(le.Z,null):xe.createElement(ce.Z,null)),Br=xe.createElement("a",{className:`${fn}-item-link`},xe.createElement("div",{className:`${fn}-item-container`},Hn==="rtl"?xe.createElement(ie.Z,{className:`${fn}-item-link-icon`}):xe.createElement(re,{className:`${fn}-item-link-icon`}),lr)),cr=xe.createElement("a",{className:`${fn}-item-link`},xe.createElement("div",{className:`${fn}-item-container`},Hn==="rtl"?xe.createElement(re,{className:`${fn}-item-link-icon`}):xe.createElement(ie.Z,{className:`${fn}-item-link-icon`}),lr));return{prevIcon:er,nextIcon:Wr,jumpPrevIcon:Br,jumpNextIcon:cr}},[Hn,fn]),[Eo]=(0,ke.Z)("Pagination",Je.Z),mo=Object.assign(Object.assign({},Eo),pt),Sn=(0,Xe.Z)(ct),ln=Sn==="small"||!!(kn&&!Sn&&Rt),mn=jn("select",Ft),Ln=oe()({[`${fn}-mini`]:ln,[`${fn}-rtl`]:Hn==="rtl"},Pr==null?void 0:Pr.className,$t,st,oo),Wn=Object.assign(Object.assign({},Pr==null?void 0:Pr.style),Nt);return Er(xe.createElement(nt,Object.assign({},zo,rn,{style:Wn,prefixCls:fn,selectPrefixCls:mn,className:Ln,selectComponentClass:Ct||(ln?qe:Ye),locale:mo,showSizeChanger:Lo})))},wt=St},66330:function(xt,ft,pe){"use strict";pe.d(ft,{t5:function(){return ce}});var be=pe(94184),xe=pe.n(be),E=pe(92419),he=pe(67294),fe=pe(53124),se=pe(81643),re=pe(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:xe()(ne,z,`${z}-pure`,`${z}-placement-${x}`,a),style:y},he.createElement("div",{className:`${z}-arrow`}),he.createElement(E.G,Object.assign({},oe,{className:ne,prefixCls:z}),te||le(z,b,ee)))},ae=oe=>{const{prefixCls:ne}=oe,z=ie(oe,["prefixCls"]),{getPrefixCls:a}=he.useContext(fe.E_),y=a("popover",ne),[x,b]=(0,re.Z)(y);return x(he.createElement(ce,Object.assign({},z,{prefixCls:y,hashId:b})))};ft.ZP=ae},20136:function(xt,ft,pe){"use strict";var be=pe(14747),xe=pe(50438),E=pe(97414),he=pe(8796),fe=pe(67968),se=pe(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`}}}};ft.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,xe._y)(z,"zoom-big")]},ce=>({width:177,minWidth:177,zIndexPopup:ce.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return Nt}});var be=pe(67294),xe=pe(87725),E=pe(18299),he=pe(16646),fe=pe(73475),se=pe(94184),re=pe.n(se),ie=pe(10366),le=pe(53124),ce=pe(87462),ae=pe(1413),oe=pe(45987),ne={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},z=function(){var pt=(0,be.useRef)([]),Ct=(0,be.useRef)(null);return(0,be.useEffect)(function(){var Rt=Date.now(),zt=!1;pt.current.forEach(function(rn){if(rn){zt=!0;var kn=rn.style;kn.transitionDuration=".3s, .3s, .3s, .06s",Ct.current&&Rt-Ct.current<100&&(kn.transitionDuration="0s, 0s")}}),zt&&(Ct.current=Date.now())}),pt.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(pt){var Ct=(0,ae.Z)((0,ae.Z)({},ne),pt),Rt=Ct.className,zt=Ct.percent,rn=Ct.prefixCls,kn=Ct.strokeColor,jn=Ct.strokeLinecap,Hn=Ct.strokeWidth,Pr=Ct.style,fn=Ct.trailColor,Er=Ct.trailWidth,oo=Ct.transition,Lo=(0,oe.Z)(Ct,a);delete Lo.gapPosition;var zo=Array.isArray(zt)?zt:[zt],Eo=Array.isArray(kn)?kn:[kn],mo=z(),Sn=Hn/2,ln=100-Hn/2,mn="M ".concat(jn==="round"?Sn:0,",").concat(Sn,`
L `).concat(jn==="round"?ln:100,",").concat(Sn),Ln="0 0 100 ".concat(Hn),Wn=0;return be.createElement("svg",(0,ce.Z)({className:re()("".concat(rn,"-line"),Rt),viewBox:Ln,preserveAspectRatio:"none",style:Pr},Lo),be.createElement("path",{className:"".concat(rn,"-line-trail"),d:mn,strokeLinecap:jn,stroke:fn,strokeWidth:Er||Hn,fillOpacity:"0"}),zo.map(function(lr,er){var Wr=1;switch(jn){case"round":Wr=1-Hn/100;break;case"square":Wr=1-Hn/2/100;break;default:Wr=1;break}var Br={strokeDasharray:"".concat(lr*Wr,"px, 100px"),strokeDashoffset:"-".concat(Wn,"px"),transition:oo||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},cr=Eo[er]||Eo[Eo.length-1];return Wn+=lr,be.createElement("path",{key:er,className:"".concat(rn,"-line-path"),d:mn,strokeLinecap:jn,stroke:cr,strokeWidth:Hn,fillOpacity:"0",ref:function(jt){mo[er]=jt},style:Br})}))},x=y,b=pe(71002),ee=pe(97685),te=pe(98924),ue=0,de=(0,te.Z)();function ge(){var ct;return de?(ct=ue,ue+=1):ct="TEST_OR_SSR",ct}var ve=function(ct){var pt=be.useState(),Ct=(0,ee.Z)(pt,2),Rt=Ct[0],zt=Ct[1];return be.useEffect(function(){zt("rc_progress_".concat(ge()))},[]),ct||Rt},me=function(pt){var Ct=pt.bg,Rt=pt.children;return be.createElement("div",{style:{width:"100%",height:"100%",background:Ct}},Rt)};function Se(ct,pt){return Object.keys(ct).map(function(Ct){var Rt=parseFloat(Ct),zt="".concat(Math.floor(Rt*pt),"%");return"".concat(ct[Ct]," ").concat(zt)})}var ye=be.forwardRef(function(ct,pt){var Ct=ct.prefixCls,Rt=ct.color,zt=ct.gradientId,rn=ct.radius,kn=ct.style,jn=ct.ptg,Hn=ct.strokeLinecap,Pr=ct.strokeWidth,fn=ct.size,Er=ct.gapDegree,oo=Rt&&(0,b.Z)(Rt)==="object",Lo=oo?"#FFF":void 0,zo=fn/2,Eo=be.createElement("circle",{className:"".concat(Ct,"-circle-path"),r:rn,cx:zo,cy:zo,stroke:Lo,strokeLinecap:Hn,strokeWidth:Pr,opacity:jn===0?0:1,style:kn,ref:pt});if(!oo)return Eo;var mo="".concat(zt,"-conic"),Sn=Er?"".concat(180+Er/2,"deg"):"0deg",ln=Se(Rt,(360-Er)/360),mn=Se(Rt,1),Ln="conic-gradient(from ".concat(Sn,", ").concat(ln.join(", "),")"),Wn="linear-gradient(to ".concat(Er?"bottom":"top",", ").concat(mn.join(", "),")");return be.createElement(be.Fragment,null,be.createElement("mask",{id:mo},Eo),be.createElement("foreignObject",{x:0,y:0,width:fn,height:fn,mask:"url(#".concat(mo,")")},be.createElement(me,{bg:Wn},be.createElement(me,{bg:Ln}))))}),Pe=ye,we=100,Te=function(pt,Ct,Rt,zt,rn,kn,jn,Hn,Pr,fn){var Er=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,oo=Rt/100*360*((360-kn)/360),Lo=kn===0?0:{bottom:0,top:180,left:90,right:-90}[jn],zo=(100-zt)/100*Ct;Pr==="round"&&zt!==100&&(zo+=fn/2,zo>=Ct&&(zo=Ct-.01));var Eo=we/2;return{stroke:typeof Hn=="string"?Hn:void 0,strokeDasharray:"".concat(Ct,"px ").concat(pt),strokeDashoffset:zo+Er,transform:"rotate(".concat(rn+oo+Lo,"deg)"),transformOrigin:"".concat(Eo,"px ").concat(Eo,"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 _e(ct){var pt=ct!=null?ct:[];return Array.isArray(pt)?pt:[pt]}var Ce=function(pt){var Ct=(0,ae.Z)((0,ae.Z)({},ne),pt),Rt=Ct.id,zt=Ct.prefixCls,rn=Ct.steps,kn=Ct.strokeWidth,jn=Ct.trailWidth,Hn=Ct.gapDegree,Pr=Hn===void 0?0:Hn,fn=Ct.gapPosition,Er=Ct.trailColor,oo=Ct.strokeLinecap,Lo=Ct.style,zo=Ct.className,Eo=Ct.strokeColor,mo=Ct.percent,Sn=(0,oe.Z)(Ct,Ee),ln=we/2,mn=ve(Rt),Ln="".concat(mn,"-gradient"),Wn=ln-kn/2,lr=Math.PI*2*Wn,er=Pr>0?90+Pr/2:-90,Wr=lr*((360-Pr)/360),Br=(0,b.Z)(rn)==="object"?rn:{count:rn,space:2},cr=Br.count,Mt=Br.space,jt=_e(mo),Tt=_e(Eo),wn=Tt.find(function(vo){return vo&&(0,b.Z)(vo)==="object"}),zn=wn&&(0,b.Z)(wn)==="object",$n=zn?"butt":oo,_r=Te(lr,Wr,0,100,er,Pr,fn,Er,$n,kn),mr=z(),Lr=function(){var Cn=0;return jt.map(function(Kr,At){var an=Tt[At]||Tt[Tt.length-1],qt=Te(lr,Wr,Cn,Kr,er,Pr,fn,an,$n,kn);return Cn+=Kr,be.createElement(Pe,{key:At,color:an,ptg:Kr,radius:Wn,prefixCls:zt,gradientId:Ln,style:qt,strokeLinecap:$n,strokeWidth:kn,gapDegree:Pr,ref:function(In){mr[At]=In},size:we})}).reverse()},ao=function(){var Cn=Math.round(cr*(jt[0]/100)),Kr=100/cr,At=0;return new Array(cr).fill(null).map(function(an,qt){var on=qt<=Cn-1?Tt[0]:Er,In=on&&(0,b.Z)(on)==="object"?"url(#".concat(Ln,")"):void 0,tn=Te(lr,Wr,At,Kr,er,Pr,fn,on,"butt",kn,Mt);return At+=(Wr-tn.strokeDashoffset+Mt)*100/Wr,be.createElement("circle",{key:qt,className:"".concat(zt,"-circle-path"),r:Wn,cx:ln,cy:ln,stroke:In,strokeWidth:kn,opacity:1,style:tn,ref:function(cn){mr[qt]=cn}})})};return be.createElement("svg",(0,ce.Z)({className:re()("".concat(zt,"-circle"),zo),viewBox:"0 0 ".concat(we," ").concat(we),style:Lo,id:Rt,role:"presentation"},Sn),!cr&&be.createElement("circle",{className:"".concat(zt,"-circle-trail"),r:Wn,cx:ln,cy:ln,stroke:Er,strokeLinecap:$n,strokeWidth:jn||kn,style:_r}),cr?ao():Lr())},Oe=Ce,Ie={Line:x,Circle:Oe},Ue=pe(83062),je=pe(47448);function nt(ct){return!ct||ct<0?0:ct>100?100:ct}function Je(ct){let{success:pt,successPercent:Ct}=ct,Rt=Ct;return pt&&"progress"in pt&&(Rt=pt.progress),pt&&"percent"in pt&&(Rt=pt.percent),Rt}const Qe=ct=>{let{percent:pt,success:Ct,successPercent:Rt}=ct;const zt=nt(Je({success:Ct,successPercent:Rt}));return[zt,nt(nt(pt)-zt)]},Xe=ct=>{let{success:pt={},strokeColor:Ct}=ct;const{strokeColor:Rt}=pt;return[Rt||je.presetPrimaryColors.green,Ct||null]},ze=(ct,pt,Ct)=>{var Rt,zt,rn,kn;let jn=-1,Hn=-1;if(pt==="step"){const Pr=Ct.steps,fn=Ct.strokeWidth;typeof ct=="string"||typeof ct=="undefined"?(jn=ct==="small"?2:14,Hn=fn!=null?fn:8):typeof ct=="number"?[jn,Hn]=[ct,ct]:[jn=14,Hn=8]=ct,jn*=Pr}else if(pt==="line"){const Pr=Ct==null?void 0:Ct.strokeWidth;typeof ct=="string"||typeof ct=="undefined"?Hn=Pr||(ct==="small"?6:8):typeof ct=="number"?[jn,Hn]=[ct,ct]:[jn=-1,Hn=8]=ct}else(pt==="circle"||pt==="dashboard")&&(typeof ct=="string"||typeof ct=="undefined"?[jn,Hn]=ct==="small"?[60,60]:[120,120]:typeof ct=="number"?[jn,Hn]=[ct,ct]:(jn=(zt=(Rt=ct[0])!==null&&Rt!==void 0?Rt:ct[1])!==null&&zt!==void 0?zt:120,Hn=(kn=(rn=ct[0])!==null&&rn!==void 0?rn:ct[1])!==null&&kn!==void 0?kn:120));return[jn,Hn]},ke=3,Be=ct=>ke/ct*100;var Ye=ct=>{const{prefixCls:pt,trailColor:Ct=null,strokeLinecap:Rt="round",gapPosition:zt,gapDegree:rn,width:kn=120,type:jn,children:Hn,success:Pr,size:fn=kn}=ct,[Er,oo]=ze(fn,"circle");let{strokeWidth:Lo}=ct;Lo===void 0&&(Lo=Math.max(Be(Er),6));const zo={width:Er,height:oo,fontSize:Er*.15+6},Eo=be.useMemo(()=>{if(rn||rn===0)return rn;if(jn==="dashboard")return 75},[rn,jn]),mo=zt||jn==="dashboard"&&"bottom"||void 0,Sn=Object.prototype.toString.call(ct.strokeColor)==="[object Object]",ln=Xe({success:Pr,strokeColor:ct.strokeColor}),mn=re()(`${pt}-inner`,{[`${pt}-circle-gradient`]:Sn}),Ln=be.createElement(Oe,{percent:Qe(ct),strokeWidth:Lo,trailWidth:Lo,strokeColor:ln,strokeLinecap:Rt,trailColor:Ct,prefixCls:pt,gapDegree:Eo,gapPosition:mo});return be.createElement("div",{className:mn,style:zo},Er<=20?be.createElement(Ue.Z,{title:Hn},be.createElement("span",null,Ln)):be.createElement(be.Fragment,null,Ln,Hn))},gt=function(ct,pt){var Ct={};for(var Rt in ct)Object.prototype.hasOwnProperty.call(ct,Rt)&&pt.indexOf(Rt)<0&&(Ct[Rt]=ct[Rt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,Rt=Object.getOwnPropertySymbols(ct);zt<Rt.length;zt++)pt.indexOf(Rt[zt])<0&&Object.prototype.propertyIsEnumerable.call(ct,Rt[zt])&&(Ct[Rt[zt]]=ct[Rt[zt]]);return Ct};const $e=ct=>{let pt=[];return Object.keys(ct).forEach(Ct=>{const Rt=parseFloat(Ct.replace(/%/g,""));isNaN(Rt)||pt.push({key:Rt,value:ct[Ct]})}),pt=pt.sort((Ct,Rt)=>Ct.key-Rt.key),pt.map(Ct=>{let{key:Rt,value:zt}=Ct;return`${zt} ${Rt}%`}).join(", ")},We=(ct,pt)=>{const{from:Ct=je.presetPrimaryColors.blue,to:Rt=je.presetPrimaryColors.blue,direction:zt=pt==="rtl"?"to left":"to right"}=ct,rn=gt(ct,["from","to","direction"]);if(Object.keys(rn).length!==0){const kn=$e(rn);return{backgroundImage:`linear-gradient(${zt}, ${kn})`}}return{backgroundImage:`linear-gradient(${zt}, ${Ct}, ${Rt})`}};var tt=ct=>{const{prefixCls:pt,direction:Ct,percent:Rt,size:zt,strokeWidth:rn,strokeColor:kn,strokeLinecap:jn="round",children:Hn,trailColor:Pr=null,success:fn}=ct,Er=kn&&typeof kn!="string"?We(kn,Ct):{backgroundColor:kn},oo=jn==="square"||jn==="butt"?0:void 0,Lo={backgroundColor:Pr||void 0,borderRadius:oo},zo=zt!=null?zt:[-1,rn||(zt==="small"?6:8)],[Eo,mo]=ze(zo,"line",{strokeWidth:rn}),Sn=Object.assign({width:`${nt(Rt)}%`,height:mo,borderRadius:oo},Er),ln=Je(ct),mn={width:`${nt(ln)}%`,height:mo,borderRadius:oo,backgroundColor:fn==null?void 0:fn.strokeColor},Ln={width:Eo<0?"100%":Eo,height:mo};return be.createElement(be.Fragment,null,be.createElement("div",{className:`${pt}-outer`,style:Ln},be.createElement("div",{className:`${pt}-inner`,style:Lo},be.createElement("div",{className:`${pt}-bg`,style:Sn}),ln!==void 0?be.createElement("div",{className:`${pt}-success-bg`,style:mn}):null)),Hn)},He=ct=>{const{size:pt,steps:Ct,percent:Rt=0,strokeWidth:zt=8,strokeColor:rn,trailColor:kn=null,prefixCls:jn,children:Hn}=ct,Pr=Math.round(Ct*(Rt/100)),fn=pt==="small"?2:14,Er=pt!=null?pt:[fn,zt],[oo,Lo]=ze(Er,"step",{steps:Ct,strokeWidth:zt}),zo=oo/Ct,Eo=new Array(Ct);for(let mo=0;mo<Ct;mo++){const Sn=Array.isArray(rn)?rn[mo]:rn;Eo[mo]=be.createElement("div",{key:mo,className:re()(`${jn}-steps-item`,{[`${jn}-steps-item-active`]:mo<=Pr-1}),style:{backgroundColor:mo<=Pr-1?Sn:kn,width:zo,height:Lo}})}return be.createElement("div",{className:`${jn}-steps-outer`},Eo,Hn)},Ve=pe(45930),Ze=pe(14747),Ke=pe(67968),Ae=pe(45503);const Le=ct=>{const pt=ct?"100%":"-100%";return new Ve.Keyframes(`antProgress${ct?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${pt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${pt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ne=ct=>{const{componentCls:pt,iconCls:Ct}=ct;return{[pt]:Object.assign(Object.assign({},(0,Ze.Wf)(ct)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ct.fontSize,marginInlineEnd:ct.marginXS,marginBottom:ct.marginXS},[`${pt}-outer`]:{display:"inline-block",width:"100%"},[`&${pt}-show-info`]:{[`${pt}-outer`]:{marginInlineEnd:`calc(-2em - ${ct.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ct.paddingXS}px)`}},[`${pt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ct.remainingColor,borderRadius:ct.lineBorderRadius},[`${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:ct.defaultColor}},[`${pt}-success-bg, ${pt}-bg`]:{position:"relative",backgroundColor:ct.defaultColor,borderRadius:ct.lineBorderRadius,transition:`all ${ct.motionDurationSlow} ${ct.motionEaseInOutCirc}`},[`${pt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ct.colorSuccess},[`${pt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ct.marginXS,color:ct.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ct]:{fontSize:ct.fontSize}},[`&${pt}-status-active`]:{[`${pt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ct.colorBgContainer,borderRadius:ct.lineBorderRadius,opacity:0,animationName:Le(),animationDuration:ct.progressActiveMotionDuration,animationTimingFunction:ct.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${pt}-rtl${pt}-status-active`]:{[`${pt}-bg::before`]:{animationName:Le(!0)}},[`&${pt}-status-exception`]:{[`${pt}-bg`]:{backgroundColor:ct.colorError},[`${pt}-text`]:{color:ct.colorError}},[`&${pt}-status-exception ${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:ct.colorError}},[`&${pt}-status-success`]:{[`${pt}-bg`]:{backgroundColor:ct.colorSuccess},[`${pt}-text`]:{color:ct.colorSuccess}},[`&${pt}-status-success ${pt}-inner:not(${pt}-circle-gradient)`]:{[`${pt}-circle-path`]:{stroke:ct.colorSuccess}}})}},Ge=ct=>{const{componentCls:pt,iconCls:Ct}=ct;return{[pt]:{[`${pt}-circle-trail`]:{stroke:ct.remainingColor},[`&${pt}-circle ${pt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${pt}-circle ${pt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ct.circleTextColor,fontSize:ct.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ct]:{fontSize:`${ct.fontSize/ct.fontSizeSM}em`}},[`${pt}-circle&-status-exception`]:{[`${pt}-text`]:{color:ct.colorError}},[`${pt}-circle&-status-success`]:{[`${pt}-text`]:{color:ct.colorSuccess}}},[`${pt}-inline-circle`]:{lineHeight:1,[`${pt}-inner`]:{verticalAlign:"bottom"}}}},ot=ct=>{const{componentCls:pt}=ct;return{[pt]:{[`${pt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ct.progressStepMinWidth,marginInlineEnd:ct.progressStepMarginInlineEnd,backgroundColor:ct.remainingColor,transition:`all ${ct.motionDurationSlow}`,"&-active":{backgroundColor:ct.defaultColor}}}}}},St=ct=>{const{componentCls:pt,iconCls:Ct}=ct;return{[pt]:{[`${pt}-small&-line, ${pt}-small&-line ${pt}-text ${Ct}`]:{fontSize:ct.fontSizeSM}}}};var wt=(0,Ke.Z)("Progress",ct=>{const pt=ct.marginXXS/2,Ct=(0,Ae.TS)(ct,{progressStepMarginInlineEnd:pt,progressStepMinWidth:pt,progressActiveMotionDuration:"2.4s"});return[Ne(Ct),Ge(Ct),ot(Ct),St(Ct)]},ct=>({circleTextColor:ct.colorText,defaultColor:ct.colorInfo,remainingColor:ct.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),rt=function(ct,pt){var Ct={};for(var Rt in ct)Object.prototype.hasOwnProperty.call(ct,Rt)&&pt.indexOf(Rt)<0&&(Ct[Rt]=ct[Rt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,Rt=Object.getOwnPropertySymbols(ct);zt<Rt.length;zt++)pt.indexOf(Rt[zt])<0&&Object.prototype.propertyIsEnumerable.call(ct,Rt[zt])&&(Ct[Rt[zt]]=ct[Rt[zt]]);return Ct};const bt=null,Ft=["normal","exception","active","success"];var st=be.forwardRef((ct,pt)=>{const{prefixCls:Ct,className:Rt,rootClassName:zt,steps:rn,strokeColor:kn,percent:jn=0,size:Hn="default",showInfo:Pr=!0,type:fn="line",status:Er,format:oo,style:Lo}=ct,zo=rt(ct,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Eo=be.useMemo(()=>{var jt,Tt;const wn=Je(ct);return parseInt(wn!==void 0?(jt=wn!=null?wn:0)===null||jt===void 0?void 0:jt.toString():(Tt=jn!=null?jn:0)===null||Tt===void 0?void 0:Tt.toString(),10)},[jn,ct.success,ct.successPercent]),mo=be.useMemo(()=>!Ft.includes(Er)&&Eo>=100?"success":Er||"normal",[Er,Eo]),{getPrefixCls:Sn,direction:ln,progress:mn}=be.useContext(le.E_),Ln=Sn("progress",Ct),[Wn,lr]=wt(Ln),er=be.useMemo(()=>{if(!Pr)return null;const jt=Je(ct);let Tt;const wn=oo||($n=>`${$n}%`),zn=fn==="line";return oo||mo!=="exception"&&mo!=="success"?Tt=wn(nt(jn),nt(jt)):mo==="exception"?Tt=zn?be.createElement(he.Z,null):be.createElement(fe.Z,null):mo==="success"&&(Tt=zn?be.createElement(xe.Z,null):be.createElement(E.Z,null)),be.createElement("span",{className:`${Ln}-text`,title:typeof Tt=="string"?Tt:void 0},Tt)},[Pr,jn,Eo,mo,fn,Ln,oo]),Wr=Array.isArray(kn)?kn[0]:kn,Br=typeof kn=="string"||Array.isArray(kn)?kn:void 0;let cr;fn==="line"?cr=rn?be.createElement(He,Object.assign({},ct,{strokeColor:Br,prefixCls:Ln,steps:rn}),er):be.createElement(tt,Object.assign({},ct,{strokeColor:Wr,prefixCls:Ln,direction:ln}),er):(fn==="circle"||fn==="dashboard")&&(cr=be.createElement(Ye,Object.assign({},ct,{strokeColor:Wr,prefixCls:Ln,progressStatus:mo}),er));const Mt=re()(Ln,`${Ln}-status-${mo}`,`${Ln}-${fn==="dashboard"&&"circle"||rn&&"steps"||fn}`,{[`${Ln}-inline-circle`]:fn==="circle"&&ze(Hn,"circle")[0]<=20,[`${Ln}-show-info`]:Pr,[`${Ln}-${Hn}`]:typeof Hn=="string",[`${Ln}-rtl`]:ln==="rtl"},mn==null?void 0:mn.className,Rt,zt,lr);return Wn(be.createElement("div",Object.assign({ref:pt,style:Object.assign(Object.assign({},mn==null?void 0:mn.style),Lo),className:Mt,role:"progressbar","aria-valuenow":Eo},(0,ie.Z)(zo,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),cr))}),Nt=st},46303:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return He}});var be=pe(94184),xe=pe.n(be),E=pe(67294),he=pe(53124),fe=pe(10366),re=Ve=>{const{prefixCls:Ze,className:Ke,style:Ae,size:Le,shape:Ne}=Ve,Ge=xe()({[`${Ze}-lg`]:Le==="large",[`${Ze}-sm`]:Le==="small"}),ot=xe()({[`${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:xe()(Ze,Ge,ot,Ke),style:Object.assign(Object.assign({},St),Ae)})},ie=pe(45930),le=pe(67968),ce=pe(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:ot,controlHeight:St,controlHeightLG:wt,controlHeightSM:rt,gradientFromColor:bt,padding:Ft,marginSM:$t,borderRadius:st,titleHeight:Nt,blockRadius:ct,paragraphLiHeight:pt,controlHeightXS:Ct,paragraphMarginTop:Rt}=Ve;return{[`${Ze}`]:{display:"table",width:"100%",[`${Ze}-header`]:{display:"table-cell",paddingInlineEnd:Ft,verticalAlign:"top",[`${Ke}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:bt},ne(St)),[`${Ke}-circle`]:{borderRadius:"50%"},[`${Ke}-lg`]:Object.assign({},ne(wt)),[`${Ke}-sm`]:Object.assign({},ne(rt))},[`${Ze}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Ae}`]:{width:"100%",height:Nt,background:bt,borderRadius:ct,[`+ ${Le}`]:{marginBlockStart:rt}},[`${Le}`]:{padding:0,"> li":{width:"100%",height:pt,listStyle:"none",background:bt,borderRadius:ct,"+ li":{marginBlockStart:Ct}}},[`${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:$t,[`+ ${Le}`]:{marginBlockStart:Rt}}},[`${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},
${ot}
`]: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:ot}=E.useContext(he.E_),St=ot("skeleton",Ze),[wt,rt]=ve(St),bt=(0,fe.Z)(Ve,["prefixCls","className"]),Ft=xe()(St,`${St}-element`,{[`${St}-active`]:Le},Ke,Ae,rt);return wt(E.createElement("div",{className:Ft},E.createElement(re,Object.assign({prefixCls:`${St}-avatar`,shape:Ne,size:Ge},bt))))},Pe=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,active:Le,block:Ne=!1,size:Ge="default"}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),St=ot("skeleton",Ze),[wt,rt]=ve(St),bt=(0,fe.Z)(Ve,["prefixCls"]),Ft=xe()(St,`${St}-element`,{[`${St}-active`]:Le,[`${St}-block`]:Ne},Ke,Ae,rt);return wt(E.createElement("div",{className:Ft},E.createElement(re,Object.assign({prefixCls:`${St}-button`,size:Ge},bt))))};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_),ot=Ge("skeleton",Ze),[St,wt]=ve(ot),rt=xe()(ot,`${ot}-element`,{[`${ot}-active`]:Ne},Ke,Ae,wt);return St(E.createElement("div",{className:rt},E.createElement("div",{className:xe()(`${ot}-image`,Ke),style:Le},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ot}-image-svg`},E.createElement("path",{d:we,className:`${ot}-image-path`})))))},Ce=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,active:Le,block:Ne,size:Ge="default"}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),St=ot("skeleton",Ze),[wt,rt]=ve(St),bt=(0,fe.Z)(Ve,["prefixCls"]),Ft=xe()(St,`${St}-element`,{[`${St}-active`]:Le,[`${St}-block`]:Ne},Ke,Ae,rt);return wt(E.createElement("div",{className:Ft},E.createElement(re,Object.assign({prefixCls:`${St}-input`,size:Ge},bt))))},Oe=pe(87462),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Ue=Ie,je=pe(74643),nt=function(Ze,Ke){return E.createElement(je.Z,(0,Oe.Z)({},Ze,{ref:Ke,icon:Ue}))},Je=E.forwardRef(nt),Xe=Ve=>{const{prefixCls:Ze,className:Ke,rootClassName:Ae,style:Le,active:Ne,children:Ge}=Ve,{getPrefixCls:ot}=E.useContext(he.E_),St=ot("skeleton",Ze),[wt,rt]=ve(St),bt=xe()(St,`${St}-element`,{[`${St}-active`]:Ne},rt,Ke,Ae),Ft=Ge!=null?Ge:E.createElement(Je,null);return wt(E.createElement("div",{className:bt},E.createElement("div",{className:xe()(`${St}-image`,Ke),style:Le},Ft)))},ze=pe(74902),Be=Ve=>{const Ze=ot=>{const{width:St,rows:wt=2}=Ve;if(Array.isArray(St))return St[ot];if(wt-1===ot)return St},{prefixCls:Ke,className:Ae,style:Le,rows:Ne}=Ve,Ge=(0,ze.Z)(Array(Ne)).map((ot,St)=>E.createElement("li",{key:St,style:{width:Ze(St)}}));return E.createElement("ul",{className:xe()(Ke,Ae),style:Le},Ge)},Ye=Ve=>{let{prefixCls:Ze,className:Ke,width:Ae,style:Le}=Ve;return E.createElement("h3",{className:xe()(Ze,Ke),style:Object.assign({width:Ae},Le)})};function gt(Ve){return Ve&&typeof Ve=="object"?Ve:{}}function $e(Ve,Ze){return Ve&&!Ze?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function We(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:ot=!1,title:St=!0,paragraph:wt=!0,active:rt,round:bt}=Ve,{getPrefixCls:Ft,direction:$t,skeleton:st}=E.useContext(he.E_),Nt=Ft("skeleton",Ze),[ct,pt]=ve(Nt);if(Ke||!("loading"in Ve)){const Ct=!!ot,Rt=!!St,zt=!!wt;let rn;if(Ct){const Hn=Object.assign(Object.assign({prefixCls:`${Nt}-avatar`},$e(Rt,zt)),gt(ot));rn=E.createElement("div",{className:`${Nt}-header`},E.createElement(re,Object.assign({},Hn)))}let kn;if(Rt||zt){let Hn;if(Rt){const fn=Object.assign(Object.assign({prefixCls:`${Nt}-title`},We(Ct,zt)),gt(St));Hn=E.createElement(Ye,Object.assign({},fn))}let Pr;if(zt){const fn=Object.assign(Object.assign({prefixCls:`${Nt}-paragraph`},Re(Ct,Rt)),gt(wt));Pr=E.createElement(Be,Object.assign({},fn))}kn=E.createElement("div",{className:`${Nt}-content`},Hn,Pr)}const jn=xe()(Nt,{[`${Nt}-with-avatar`]:Ct,[`${Nt}-active`]:rt,[`${Nt}-rtl`]:$t==="rtl",[`${Nt}-round`]:bt},st==null?void 0:st.className,Ae,Le,pt);return ct(E.createElement("div",{className:jn,style:Object.assign(Object.assign({},st==null?void 0:st.style),Ne)},rn,kn))}return typeof Ge!="undefined"?Ge:null};tt.Button=Pe,tt.Avatar=Se,tt.Input=Ce,tt.Image=Ee,tt.Node=Xe;var Me=tt,He=Me},55054:function(xt,ft,pe){"use strict";pe.d(ft,{default:function(){return ve}});var be=pe(67294),xe=pe(57838),E=pe(96159),he=pe(94184),fe=pe.n(he),se=pe(53124),re=pe(46303),le=me=>{const{value:Se,formatter:ye,precision:Pe,decimalSeparator:we,groupSeparator:Te="",prefixCls:Ee}=me;let _e;if(typeof ye=="function")_e=ye(Se);else{const Ce=String(Se),Oe=Ce.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Oe||Ce==="-")_e=Ce;else{const Ie=Oe[1];let Ue=Oe[2]||"0",je=Oe[4]||"";Ue=Ue.replace(/\B(?=(\d{3})+(?!\d))/g,Te),typeof Pe=="number"&&(je=je.padEnd(Pe,"0").slice(0,Pe>0?Pe:0)),je&&(je=`${we}${je}`),_e=[be.createElement("span",{key:"int",className:`${Ee}-content-value-int`},Ie,Ue),je&&be.createElement("span",{key:"decimal",className:`${Ee}-content-value-decimal`},je)]}}return be.createElement("span",{className:`${Ee}-content-value`},_e)},ce=pe(14747),ae=pe(67968),oe=pe(45503);const ne=me=>{const{componentCls:Se,marginXXS:ye,padding:Pe,colorTextDescription:we,titleFontSize:Te,colorTextHeading:Ee,contentFontSize:_e,fontFamily:Ce}=me;return{[`${Se}`]:Object.assign(Object.assign({},(0,ce.Wf)(me)),{[`${Se}-title`]:{marginBottom:ye,color:we,fontSize:Te},[`${Se}-skeleton`]:{paddingTop:Pe},[`${Se}-content`]:{color:Ee,fontSize:_e,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",me=>{const Se=(0,oe.TS)(me,{});return[ne(Se)]},me=>{const{fontSizeHeading3:Se,fontSize:ye}=me;return{titleFontSize:ye,contentFontSize:Se}}),y=me=>{const{prefixCls:Se,className:ye,rootClassName:Pe,style:we,valueStyle:Te,value:Ee=0,title:_e,valueRender:Ce,prefix:Oe,suffix:Ie,loading:Ue=!1,onMouseEnter:je,onMouseLeave:nt,decimalSeparator:Je=".",groupSeparator:Qe=","}=me,{getPrefixCls:Xe,direction:ze,statistic:ke}=be.useContext(se.E_),Be=Xe("statistic",Se),[qe,Ye]=z(Be),gt=be.createElement(le,Object.assign({decimalSeparator:Je,groupSeparator:Qe,prefixCls:Be},me,{value:Ee})),$e=fe()(Be,{[`${Be}-rtl`]:ze==="rtl"},ke==null?void 0:ke.className,ye,Pe,Ye);return qe(be.createElement("div",{className:$e,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),we),onMouseEnter:je,onMouseLeave:nt},_e&&be.createElement("div",{className:`${Be}-title`},_e),be.createElement(re.Z,{paragraph:!1,loading:Ue,className:`${Be}-skeleton`},be.createElement("div",{style:Te,className:`${Be}-content`},Oe&&be.createElement("span",{className:`${Be}-content-prefix`},Oe),Ce?Ce(gt):gt,Ie&&be.createElement("span",{className:`${Be}-content-suffix`},Ie)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(me,Se){let ye=me;const Pe=/\[[^\]]*]/g,we=(Se.match(Pe)||[]).map(Ce=>Ce.slice(1,-1)),Te=Se.replace(Pe,"[]"),Ee=x.reduce((Ce,Oe)=>{let[Ie,Ue]=Oe;if(Ce.includes(Ie)){const je=Math.floor(ye/Ue);return ye-=je*Ue,Ce.replace(new RegExp(`${Ie}+`,"g"),nt=>{const Je=nt.length;return je.toString().padStart(Je,"0")})}return Ce},Te);let _e=0;return Ee.replace(Pe,()=>{const Ce=we[_e];return _e+=1,Ce})}function ee(me,Se){const{format:ye=""}=Se,Pe=new Date(me).getTime(),we=Date.now(),Te=Math.max(Pe-we,0);return b(Te,ye)}const te=1e3/30;function ue(me){return new Date(me).getTime()}const de=me=>{const{value:Se,format:ye="HH:mm:ss",onChange:Pe,onFinish:we}=me,Te=(0,xe.Z)(),Ee=be.useRef(null),_e=()=>{we==null||we(),Ee.current&&(clearInterval(Ee.current),Ee.current=null)},Ce=()=>{const Ue=ue(Se);Ue>=Date.now()&&(Ee.current=setInterval(()=>{Te(),Pe==null||Pe(Ue-Date.now()),Ue<Date.now()&&_e()},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})),Ie=Ue=>(0,E.Tm)(Ue,{title:void 0});return be.createElement(y,Object.assign({},me,{valueRender:Ie,formatter:Oe}))};var ge=be.memo(de);y.Countdown=ge;var ve=y},49867:function(xt,ft,pe){"use strict";pe.d(ft,{N:function(){return be}});const be=xe=>({color:xe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${xe.motionDurationSlow}`,"&:focus, &:hover":{color:xe.colorLinkHover},"&:active":{color:xe.colorLinkActive}})},9430:function(xt,ft,pe){"use strict";pe.d(ft,{default:function(){return Ms}});var be={},xe="rc-table-internal-hook",E=pe(97685),he=pe(66680),fe=pe(8410),se=pe(91881),re=pe(67294),ie=pe(73935);function le(De){var Fe=re.createContext(void 0),et=function(ht){var yt=ht.value,Lt=ht.children,Dt=re.useRef(yt);Dt.current=yt;var It=re.useState(function(){return{getValue:function(){return Dt.current},listeners:new Set}}),Wt=(0,E.Z)(It,1),nn=Wt[0];return(0,fe.Z)(function(){(0,ie.unstable_batchedUpdates)(function(){nn.listeners.forEach(function(Xt){Xt(yt)})})},[yt]),re.createElement(Fe.Provider,{value:nn},Lt)};return{Context:Fe,Provider:et,defaultValue:De}}function ce(De,Fe){var et=(0,he.Z)(typeof Fe=="function"?Fe:function(Xt){if(Fe===void 0)return Xt;if(!Array.isArray(Fe))return Xt[Fe];var hn={};return Fe.forEach(function(pn){hn[pn]=Xt[pn]}),hn}),lt=re.useContext(De==null?void 0:De.Context),ht=lt||{},yt=ht.listeners,Lt=ht.getValue,Dt=re.useRef();Dt.current=et(lt?Lt():De==null?void 0:De.defaultValue);var It=re.useState({}),Wt=(0,E.Z)(It,2),nn=Wt[1];return(0,fe.Z)(function(){if(!lt)return;function Xt(hn){var pn=et(hn);(0,se.Z)(Dt.current,pn,!0)||nn({})}return yt.add(Xt),function(){yt.delete(Xt)}},[lt]),Dt.current}var ae=pe(87462),oe=pe(42550);function ne(){var De=re.createContext(null);function Fe(){return re.useContext(De)}function et(ht,yt){var Lt=(0,oe.Yr)(ht),Dt=function(Wt,nn){var Xt=Lt?{ref:nn}:{},hn=re.useRef(0),pn=re.useRef(Wt),xn=Fe();return xn!==null?re.createElement(ht,(0,ae.Z)({},Wt,Xt)):((!yt||yt(pn.current,Wt))&&(hn.current+=1),pn.current=Wt,re.createElement(De.Provider,{value:hn.current},re.createElement(ht,(0,ae.Z)({},Wt,Xt))))};return Lt?re.forwardRef(Dt):Dt}function lt(ht,yt){var Lt=(0,oe.Yr)(ht),Dt=function(Wt,nn){var Xt=Lt?{ref:nn}:{};return Fe(),re.createElement(ht,(0,ae.Z)({},Wt,Xt))};return Lt?re.memo(re.forwardRef(Dt),yt):re.memo(Dt,yt)}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),ht=[];Object.keys(De||{}).map(function(Lt){var Dt;(De==null?void 0:De[Lt])!==((Dt=lt.current)===null||Dt===void 0?void 0:Dt[Lt])&&ht.push(Lt)}),lt.current=De;var yt=re.useRef([]);return ht.length&&(yt.current=ht),re.useDebugValue(et.current),re.useDebugValue(yt.current.join(", ")),Fe&&console.log("".concat(Fe,":"),et.current,yt.current),et.current}var me=null,Se=re.memo(function(){var De=ve();return re.createElement("h1",null,"Render Times: ",De)});Se.displayName="RenderBlock";var ye=pe(71002),Pe=pe(1413),we=pe(4942),Te=pe(94184),Ee=pe.n(Te);function _e(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=[],Ie=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 Je(De,Fe,et){!Fe&&!Ce[et]&&(De(!1,et),Ce[et]=!0)}function Qe(De,Fe){Je(Ue,De,Fe)}function Xe(De,Fe){Je(je,De,Fe)}Qe.preMessage=Ie,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 ht(yt,Lt){var Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,It=lt.has(yt);if(ze(!It,"Warning: There may be circular references"),It)return!1;if(yt===Lt)return!0;if(et&&Dt>1)return!1;lt.add(yt);var Wt=Dt+1;if(Array.isArray(yt)){if(!Array.isArray(Lt)||yt.length!==Lt.length)return!1;for(var nn=0;nn<yt.length;nn++)if(!ht(yt[nn],Lt[nn],Wt))return!1;return!0}if(yt&&Lt&&(0,ye.Z)(yt)==="object"&&(0,ye.Z)(Lt)==="object"){var Xt=Object.keys(yt);return Xt.length!==Object.keys(Lt).length?!1:Xt.every(function(hn){return ht(yt[hn],Lt[hn],Wt)})}return!1}return ht(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 Ye=re.createContext({renderWithProps:!1}),gt=Ye,$e="RC_TABLE_KEY";function We(De){return De==null?[]:Array.isArray(De)?De:[De]}function Re(De){var Fe=[],et={};return De.forEach(function(lt){for(var ht=lt||{},yt=ht.key,Lt=ht.dataIndex,Dt=yt||We(Lt).join("-")||$e;et[Dt];)Dt="".concat(Dt,"_next");et[Dt]=!0,Fe.push(Dt)}),Fe}function tt(De){return De!=null}function Me(De){return De&&(0,ye.Z)(De)==="object"&&!Array.isArray(De)&&!re.isValidElement(De)}function He(De,Fe,et,lt,ht,yt){var Lt=re.useContext(gt),Dt=ue(),It=_e(function(){if(tt(lt))return[lt];var Wt=Fe==null||Fe===""?[]:Array.isArray(Fe)?Fe:[Fe],nn=qe(De,Wt),Xt=nn,hn=void 0;if(ht){var pn=ht(nn,De,et);Me(pn)?(Xt=pn.children,hn=pn.props,Lt.renderWithProps=!0):Xt=pn}return[Xt,hn]},[Dt,De,lt,Fe,ht,et],function(Wt,nn){if(yt){var Xt=(0,E.Z)(Wt,2),hn=Xt[1],pn=(0,E.Z)(nn,2),xn=pn[1];return yt(xn,hn)}return Lt.renderWithProps?!0:!Be(Wt,nn,!0)});return It}function Ve(De,Fe,et,lt){var ht=De+Fe-1;return De<=lt&&ht>=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,ht=Fe.children,yt,Lt=et===!0?{showTitle:!0}:et;return Lt&&(Lt.showTitle||lt==="header")&&(typeof ht=="string"||typeof ht=="number"?yt=ht.toString():re.isValidElement(ht)&&typeof ht.props.children=="string"&&(yt=ht.props.children)),yt};function Ae(De){var Fe,et,lt,ht,yt,Lt,Dt,It,Wt=De.component,nn=De.children,Xt=De.ellipsis,hn=De.scope,pn=De.prefixCls,xn=De.className,Xn=De.align,Un=De.record,Qn=De.render,Zn=De.dataIndex,rr=De.renderIndex,jr=De.shouldCellUpdate,Zr=De.index,Tr=De.rowType,ho=De.colSpan,So=De.rowSpan,yr=De.fixLeft,Ar=De.fixRight,pr=De.firstFixLeft,or=De.lastFixLeft,Cr=De.firstFixRight,zr=De.lastFixRight,bo=De.appendNode,yo=De.additionalProps,Gr=yo===void 0?{}:yo,_o=De.isSticky,Fo="".concat(pn,"-cell"),la=ce(ge,["supportSticky","allColumnsFixedLeft"]),Xo=la.supportSticky,Ia=la.allColumnsFixedLeft,ja=He(Un,Zn,rr,nn,Qn,jr),Co=(0,E.Z)(ja,2),Za=Co[0],qn=Co[1],Yr={},No=typeof yr=="number"&&Xo,ya=typeof Ar=="number"&&Xo;No&&(Yr.position="sticky",Yr.left=yr),ya&&(Yr.position="sticky",Yr.right=Ar);var br=(Fe=(et=(lt=qn==null?void 0:qn.colSpan)!==null&&lt!==void 0?lt:Gr.colSpan)!==null&&et!==void 0?et:ho)!==null&&Fe!==void 0?Fe:1,Jr=(ht=(yt=(Lt=qn==null?void 0:qn.rowSpan)!==null&&Lt!==void 0?Lt:Gr.rowSpan)!==null&&yt!==void 0?yt:So)!==null&&ht!==void 0?ht:1,Qr=Ze(Zr,Jr),$r=(0,E.Z)(Qr,2),Jo=$r[0],Xr=$r[1],To=function(ci){var Bi;Un&&Xr(Zr,Zr+Jr-1),Gr==null||(Bi=Gr.onMouseEnter)===null||Bi===void 0||Bi.call(Gr,ci)},oa=function(ci){var Bi;Un&&Xr(-1,-1),Gr==null||(Bi=Gr.onMouseLeave)===null||Bi===void 0||Bi.call(Gr,ci)};if(br===0||Jr===0)return null;var qo=(Dt=Gr.title)!==null&&Dt!==void 0?Dt:Ke({rowType:Tr,ellipsis:Xt,children:Za}),_i=Ee()(Fo,xn,(It={},(0,we.Z)(It,"".concat(Fo,"-fix-left"),No&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-left-first"),pr&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-left-last"),or&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-left-all"),or&&Ia&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-right"),ya&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-right-first"),Cr&&Xo),(0,we.Z)(It,"".concat(Fo,"-fix-right-last"),zr&&Xo),(0,we.Z)(It,"".concat(Fo,"-ellipsis"),Xt),(0,we.Z)(It,"".concat(Fo,"-with-append"),bo),(0,we.Z)(It,"".concat(Fo,"-fix-sticky"),(No||ya)&&_o&&Xo),(0,we.Z)(It,"".concat(Fo,"-row-hover"),!qn&&Jo),It),Gr.className,qn==null?void 0:qn.className),vi={};Xn&&(vi.textAlign=Xn);var ps=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},Yr),Gr.style),vi),qn==null?void 0:qn.style),li=Za;return(0,ye.Z)(li)==="object"&&!Array.isArray(li)&&!re.isValidElement(li)&&(li=null),Xt&&(or||Cr)&&(li=re.createElement("span",{className:"".concat(Fo,"-content")},li)),re.createElement(Wt,(0,ae.Z)({},qn,Gr,{className:_i,style:ps,title:qo,scope:hn,onMouseEnter:To,onMouseLeave:oa,colSpan:br!==1?br:null,rowSpan:Jr!==1?Jr:null}),bo,li)}var Le=re.memo(Ae);function Ne(De,Fe,et,lt,ht,yt){var Lt=et[De]||{},Dt=et[Fe]||{},It,Wt;Lt.fixed==="left"?It=lt.left[ht==="rtl"?Fe:De]:Dt.fixed==="right"&&(Wt=lt.right[ht==="rtl"?De:Fe]);var nn=!1,Xt=!1,hn=!1,pn=!1,xn=et[Fe+1],Xn=et[De-1],Un=!(yt!=null&&yt.children);if(ht==="rtl"){if(It!==void 0){var Qn=Xn&&Xn.fixed==="left";pn=!Qn&&Un}else if(Wt!==void 0){var Zn=xn&&xn.fixed==="right";hn=!Zn&&Un}}else if(It!==void 0){var rr=xn&&xn.fixed==="left";nn=!rr&&Un}else if(Wt!==void 0){var jr=Xn&&Xn.fixed==="right";Xt=!jr&&Un}return{fixLeft:It,fixRight:Wt,lastFixLeft:nn,firstFixRight:Xt,lastFixRight:hn,firstFixLeft:pn,isSticky:lt.isSticky}}var Ge=re.createContext({}),ot=Ge;function St(De){var Fe=De.className,et=De.index,lt=De.children,ht=De.colSpan,yt=ht===void 0?1:ht,Lt=De.rowSpan,Dt=De.align,It=ce(ge,["prefixCls","direction"]),Wt=It.prefixCls,nn=It.direction,Xt=re.useContext(ot),hn=Xt.scrollColumnIndex,pn=Xt.stickyOffsets,xn=Xt.flattenColumns,Xn=Xt.columns,Un=et+yt-1,Qn=Un+1===hn?yt+1:yt,Zn=Ne(et,et+Qn-1,xn,pn,nn,Xn==null?void 0:Xn[et]);return re.createElement(Le,(0,ae.Z)({className:Fe,index:et,component:"td",prefixCls:Wt,record:null,dataIndex:null,align:Dt,colSpan:Qn,rowSpan:Lt,render:function(){return lt}},Zn))}var wt=pe(45987),rt=["children"];function bt(De){var Fe=De.children,et=(0,wt.Z)(De,rt);return re.createElement("tr",et,Fe)}function Ft(De){var Fe=De.children;return Fe}Ft.Row=bt,Ft.Cell=St;var $t=Ft;function st(De){var Fe=De.children,et=De.stickyOffsets,lt=De.flattenColumns,ht=De.columns,yt=ce(ge,"prefixCls"),Lt=lt.length-1,Dt=lt[Lt],It=re.useMemo(function(){return{stickyOffsets:et,flattenColumns:lt,scrollColumnIndex:Dt!=null&&Dt.scrollbar?Lt:null,columns:ht}},[Dt,lt,Lt,et,ht]);return re.createElement(ot.Provider,{value:It},re.createElement("tfoot",{className:"".concat(yt,"-summary")},Fe))}var Nt=te(st),ct=$t;function pt(De){var Fe=re.useRef();Fe.current=De;var et=re.useCallback(function(){for(var lt,ht=arguments.length,yt=new Array(ht),Lt=0;Lt<ht;Lt++)yt[Lt]=arguments[Lt];return(lt=Fe.current)===null||lt===void 0?void 0:lt.call.apply(lt,[Fe].concat(yt))},[]);return et}function Ct(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Rt=Ct()?re.useLayoutEffect:re.useEffect,zt=function(Fe,et){var lt=React.useRef(!0);Rt(function(){return Fe(lt.current)},et),Rt(function(){return lt.current=!1,function(){lt.current=!0}},[])},rn=function(Fe,et){zt(function(lt){if(!lt)return Fe()},et)},kn=null;function jn(De){var Fe=React.useRef(!1),et=React.useState(De),lt=_slicedToArray(et,2),ht=lt[0],yt=lt[1];React.useEffect(function(){return Fe.current=!1,function(){Fe.current=!0}},[]);function Lt(Dt,It){It&&Fe.current||yt(Dt)}return[ht,Lt]}function Hn(De){return De!==void 0}function Pr(De,Fe){var et=Fe||{},lt=et.defaultValue,ht=et.value,yt=et.onChange,Lt=et.postState,Dt=useState(function(){return Hn(ht)?ht:Hn(lt)?typeof lt=="function"?lt():lt:typeof De=="function"?De():De}),It=_slicedToArray(Dt,2),Wt=It[0],nn=It[1],Xt=ht!==void 0?ht:Wt,hn=Lt?Lt(Xt):Xt,pn=useEvent(yt),xn=useState([Xt]),Xn=_slicedToArray(xn,2),Un=Xn[0],Qn=Xn[1];useLayoutUpdateEffect(function(){var rr=Un[0];Wt!==rr&&pn(Wt,rr)},[Un]),useLayoutUpdateEffect(function(){Hn(ht)||nn(ht)},[ht]);var Zn=useEvent(function(rr,jr){nn(rr,jr),Qn([Xt],jr)});return[hn,Zn]}var fn=pe(35110);function Er(De,Fe){typeof De=="function"?De(Fe):(0,ye.Z)(De)==="object"&&De&&"current"in De&&(De.current=Fe)}function oo(){for(var De=arguments.length,Fe=new Array(De),et=0;et<De;et++)Fe[et]=arguments[et];var lt=Fe.filter(function(ht){return ht});return lt.length<=1?lt[0]:function(ht){Fe.forEach(function(yt){Er(yt,ht)})}}function Lo(){for(var De=arguments.length,Fe=new Array(De),et=0;et<De;et++)Fe[et]=arguments[et];return useMemo(function(){return oo.apply(void 0,Fe)},Fe,function(lt,ht){return lt.length!==ht.length||lt.every(function(yt,Lt){return yt!==ht[Lt]})})}function zo(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 Eo(De){return!isValidElement(De)||isFragment(De)?!1:zo(De)}function mo(De,Fe,et,lt){if(!Fe.length)return et;var ht=_toArray(Fe),yt=ht[0],Lt=ht.slice(1),Dt;return!De&&typeof yt=="number"?Dt=[]:Array.isArray(De)?Dt=_toConsumableArray(De):Dt=_objectSpread({},De),lt&&et===void 0&&Lt.length===1?delete Dt[yt][Lt[0]]:Dt[yt]=mo(Dt[yt],Lt,et,lt),Dt}function Sn(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:mo(De,Fe,et,lt)}function ln(De){return _typeof(De)==="object"&&De!==null&&Object.getPrototypeOf(De)===Object.prototype}function mn(De){return Array.isArray(De)?[]:{}}var Ln=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Wn(){for(var De=arguments.length,Fe=new Array(De),et=0;et<De;et++)Fe[et]=arguments[et];var lt=mn(Fe[0]);return Fe.forEach(function(ht){function yt(Lt,Dt){var It=new Set(Dt),Wt=get(ht,Lt),nn=Array.isArray(Wt);if(nn||ln(Wt)){if(!It.has(Wt)){It.add(Wt);var Xt=get(lt,Lt);nn?lt=Sn(lt,Lt,[]):(!Xt||_typeof(Xt)!=="object")&&(lt=Sn(lt,Lt,mn(Wt))),Ln(Wt).forEach(function(hn){yt([].concat(_toConsumableArray(Lt),[hn]),It)})}}else lt=Sn(lt,Lt,Wt)}yt([])}),lt}var lr=pe(48555),er=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 ht=De.getBoundingClientRect(),yt=ht.width,Lt=ht.height;if(yt||Lt)return!0}}return!1},Wr=function(Fe){if(Ct()&&window.document.documentElement){var et=Array.isArray(Fe)?Fe:[Fe],lt=window.document.documentElement;return et.some(function(ht){return ht in lt.style})}return!1},Br=function(Fe,et){if(!Wr(Fe))return!1;var lt=document.createElement("div"),ht=lt.style[Fe];return lt.style[Fe]=et,lt.style[Fe]!==ht};function cr(De,Fe){return!Array.isArray(De)&&Fe!==void 0?Br(De,Fe):Wr(De)}var Mt;function jt(De){if(typeof document=="undefined")return 0;if(De||Mt===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 ht=Fe.offsetWidth;et.style.overflow="scroll";var yt=Fe.offsetWidth;ht===yt&&(yt=et.clientWidth),document.body.removeChild(et),Mt=ht-yt}return Mt}function Tt(De){var Fe=De.match(/^(.*)px$/),et=Number(Fe==null?void 0:Fe[1]);return Number.isNaN(et)?jt():et}function wn(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:Tt(et),height:Tt(lt)}}var zn=`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`,$n=`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`,_r="".concat(zn," ").concat($n).split(/[\s\n]+/),mr="aria-",Lr="data-";function ao(De,Fe){return De.indexOf(Fe)===0}function vo(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(ht){(et.aria&&(ht==="role"||ao(ht,mr))||et.data&&ao(ht,Lr)||et.attr&&_r.includes(ht))&&(lt[ht]=De[ht])}),lt}function Cn(De,Fe,et,lt,ht,yt,Lt){De.push({record:Fe,indent:et,index:Lt});var Dt=yt(Fe),It=ht==null?void 0:ht.has(Dt);if(Fe&&Array.isArray(Fe[lt])&&It)for(var Wt=0;Wt<Fe[lt].length;Wt+=1)Cn(De,Fe[lt][Wt],et+1,lt,ht,yt,Wt)}function Kr(De,Fe,et,lt){var ht=re.useMemo(function(){if(et!=null&&et.size){for(var yt=[],Lt=0;Lt<(De==null?void 0:De.length);Lt+=1){var Dt=De[Lt];Cn(yt,Dt,0,Fe,et,lt,Lt)}return yt}return De==null?void 0:De.map(function(It,Wt){return{record:It,indent:0,index:Wt}})},[De,Fe,et,lt]);return ht}function At(De){var Fe=De.prefixCls,et=De.children,lt=De.component,ht=De.cellComponent,yt=De.className,Lt=De.expanded,Dt=De.colSpan,It=De.isEmpty,Wt=ce(ge,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),nn=Wt.scrollbarSize,Xt=Wt.fixHeader,hn=Wt.fixColumn,pn=Wt.componentWidth,xn=Wt.horizonScroll,Xn=et;return(It?xn&&pn:hn)&&(Xn=re.createElement("div",{style:{width:pn-(Xt?nn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Fe,"-expanded-row-fixed")},Xn)),re.createElement(lt,{className:yt,style:{display:Lt?null:"none"}},re.createElement(Le,{component:ht,prefixCls:Fe,colSpan:Dt},Xn))}var an=At;function qt(De,Fe,et,lt){var ht=ce(ge,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),yt=ht.flattenColumns,Lt=ht.expandableType,Dt=ht.expandedKeys,It=ht.childrenColumnName,Wt=ht.onTriggerExpand,nn=ht.rowExpandable,Xt=ht.onRow,hn=ht.expandRowByClick,pn=ht.rowClassName,xn=Lt==="nest",Xn=Lt==="row"&&(!nn||nn(De)),Un=Xn||xn,Qn=Dt&&Dt.has(Fe),Zn=It&&De&&De[It],rr=pt(Wt),jr=Xt==null?void 0:Xt(De,et),Zr=jr==null?void 0:jr.onClick,Tr=function(Ar){hn&&Un&&Wt(De,Ar);for(var pr=arguments.length,or=new Array(pr>1?pr-1:0),Cr=1;Cr<pr;Cr++)or[Cr-1]=arguments[Cr];Zr==null||Zr.apply(void 0,[Ar].concat(or))},ho;typeof pn=="string"?ho=pn:typeof pn=="function"&&(ho=pn(De,et,lt));var So=Re(yt);return(0,Pe.Z)((0,Pe.Z)({},ht),{},{columnsKey:So,nestExpandable:xn,expanded:Qn,hasNestChildren:Zn,record:De,onTriggerExpand:rr,rowSupportExpand:Xn,expandable:Un,rowProps:(0,Pe.Z)((0,Pe.Z)({},jr),{},{className:Ee()(ho,jr==null?void 0:jr.className),onClick:Tr})})}function on(De,Fe,et,lt,ht){var yt=De.record,Lt=De.prefixCls,Dt=De.columnsKey,It=De.fixedInfoList,Wt=De.expandIconColumnIndex,nn=De.nestExpandable,Xt=De.indentSize,hn=De.expandIcon,pn=De.expanded,xn=De.hasNestChildren,Xn=De.onTriggerExpand,Un=Dt[et],Qn=It[et],Zn;et===(Wt||0)&&nn&&(Zn=re.createElement(re.Fragment,null,re.createElement("span",{style:{paddingLeft:"".concat(Xt*lt,"px")},className:"".concat(Lt,"-row-indent indent-level-").concat(lt)}),hn({prefixCls:Lt,expanded:pn,expandable:xn,record:yt,onExpand:Xn})));var rr;return Fe.onCell&&(rr=Fe.onCell(yt,ht)),{key:Un,fixedInfo:Qn,appendCellNode:Zn,additionalCellProps:rr||{}}}function In(De){var Fe=De.className,et=De.style,lt=De.record,ht=De.index,yt=De.renderIndex,Lt=De.rowKey,Dt=De.indent,It=Dt===void 0?0:Dt,Wt=De.rowComponent,nn=De.cellComponent,Xt=De.scopeCellComponent,hn=qt(lt,Lt,ht,It),pn=hn.prefixCls,xn=hn.flattenColumns,Xn=hn.expandedRowClassName,Un=hn.expandedRowRender,Qn=hn.rowProps,Zn=hn.expanded,rr=hn.rowSupportExpand,jr=re.useState(!1),Zr=(0,E.Z)(jr,2),Tr=Zr[0],ho=Zr[1];re.useEffect(function(){Zn&&ho(!0)},[Zn]);var So=re.createElement(Wt,(0,ae.Z)({},Qn,{"data-row-key":Lt,className:Ee()(Fe,"".concat(pn,"-row"),"".concat(pn,"-row-level-").concat(It),Qn==null?void 0:Qn.className),style:(0,Pe.Z)((0,Pe.Z)({},et),Qn==null?void 0:Qn.style)}),xn.map(function(or,Cr){var zr=or.render,bo=or.dataIndex,yo=or.className,Gr=on(hn,or,Cr,It,ht),_o=Gr.key,Fo=Gr.fixedInfo,la=Gr.appendCellNode,Xo=Gr.additionalCellProps;return re.createElement(Le,(0,ae.Z)({className:yo,ellipsis:or.ellipsis,align:or.align,scope:or.rowScope,component:or.rowScope?Xt:nn,prefixCls:pn,key:_o,record:lt,index:ht,renderIndex:yt,dataIndex:bo,render:zr,shouldCellUpdate:or.shouldCellUpdate},Fo,{appendNode:la,additionalProps:Xo}))})),yr;if(rr&&(Tr||Zn)){var Ar=Un(lt,ht,It+1,Zn),pr=Xn&&Xn(lt,ht,It);yr=re.createElement(an,{expanded:Zn,className:Ee()("".concat(pn,"-expanded-row"),"".concat(pn,"-expanded-row-level-").concat(It+1),pr),prefixCls:pn,component:Wt,cellComponent:nn,colSpan:xn.length,isEmpty:!1},Ar)}return re.createElement(re.Fragment,null,So,yr)}In.displayName="BodyRow";var tn=te(In);function An(De){var Fe=De.columnKey,et=De.onColumnResize,lt=re.useRef();return re.useEffect(function(){lt.current&&et(Fe,lt.current.offsetWidth)},[]),re.createElement(lr.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 cn(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(lr.Z.Collection,{onBatchResize:function(yt){yt.forEach(function(Lt){var Dt=Lt.data,It=Lt.size;lt(Dt,It.offsetWidth)})}},et.map(function(ht){return re.createElement(An,{key:ht,columnKey:ht,onColumnResize:lt})})))}function xr(De){var Fe=De.data,et=De.measureColumnWidth,lt=ce(ge,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ht=lt.prefixCls,yt=lt.getComponent,Lt=lt.onColumnResize,Dt=lt.flattenColumns,It=lt.getRowKey,Wt=lt.expandedKeys,nn=lt.childrenColumnName,Xt=lt.emptyNode,hn=Kr(Fe,nn,Wt,It),pn=re.useRef({renderWithProps:!1}),xn=yt(["body","wrapper"],"tbody"),Xn=yt(["body","row"],"tr"),Un=yt(["body","cell"],"td"),Qn=yt(["body","cell"],"th"),Zn;Fe.length?Zn=hn.map(function(jr,Zr){var Tr=jr.record,ho=jr.indent,So=jr.index,yr=It(Tr,Zr);return re.createElement(tn,{key:yr,rowKey:yr,record:Tr,index:Zr,renderIndex:So,rowComponent:Xn,cellComponent:Un,scopeCellComponent:Qn,getRowKey:It,indent:ho})}):Zn=re.createElement(an,{expanded:!0,className:"".concat(ht,"-placeholder"),prefixCls:ht,component:Xn,cellComponent:Un,colSpan:Dt.length,isEmpty:!0},Xt);var rr=Re(Dt);return re.createElement(gt.Provider,{value:pn.current},re.createElement(xn,{className:"".concat(ht,"-tbody")},et&&re.createElement(cn,{prefixCls:ht,columnsKey:rr,onColumnResize:Lt}),Zn))}xr.displayName="Body";var ur=te(xr),Ur=["expandable"],to="RC_TABLE_INTERNAL_COL_DEFINE";function xo(De){var Fe=De.expandable,et=(0,wt.Z)(De,Ur),lt;return"expandable"in De?lt=(0,Pe.Z)((0,Pe.Z)({},et),Fe):lt=et,lt.showExpandColumn===!1&&(lt.expandIconColumnIndex=-1),lt}var dn=["columnType"];function Ro(De){for(var Fe=De.colWidths,et=De.columns,lt=De.columCount,ht=[],yt=lt||et.length,Lt=!1,Dt=yt-1;Dt>=0;Dt-=1){var It=Fe[Dt],Wt=et&&et[Dt],nn=Wt&&Wt[to];if(It||nn||Lt){var Xt=nn||{},hn=Xt.columnType,pn=(0,wt.Z)(Xt,dn);ht.unshift(re.createElement("col",(0,ae.Z)({key:Dt,style:{width:It}},pn))),Lt=!0}}return re.createElement("colgroup",null,ht)}var ea=Ro,Po=pe(74902),ta=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Dn(De,Fe){return(0,re.useMemo)(function(){for(var et=[],lt=0;lt<Fe;lt+=1){var ht=De[lt];if(ht!==void 0)et[lt]=ht;else return null}return et},[De.join("_"),Fe])}var ar=re.forwardRef(function(De,Fe){var et=De.className,lt=De.noData,ht=De.columns,yt=De.flattenColumns,Lt=De.colWidths,Dt=De.columCount,It=De.stickyOffsets,Wt=De.direction,nn=De.fixHeader,Xt=De.stickyTopOffset,hn=De.stickyBottomOffset,pn=De.stickyClassName,xn=De.onScroll,Xn=De.maxContentScroll,Un=De.children,Qn=(0,wt.Z)(De,ta),Zn=ce(ge,["prefixCls","scrollbarSize","isSticky"]),rr=Zn.prefixCls,jr=Zn.scrollbarSize,Zr=Zn.isSticky,Tr=Zr&&!nn?0:jr,ho=re.useRef(null),So=re.useCallback(function(yo){Er(Fe,yo),Er(ho,yo)},[]);re.useEffect(function(){var yo;function Gr(_o){var Fo=_o,la=Fo.currentTarget,Xo=Fo.deltaX;Xo&&(xn({currentTarget:la,scrollLeft:la.scrollLeft+Xo}),_o.preventDefault())}return(yo=ho.current)===null||yo===void 0||yo.addEventListener("wheel",Gr),function(){var _o;(_o=ho.current)===null||_o===void 0||_o.removeEventListener("wheel",Gr)}},[]);var yr=re.useMemo(function(){return yt.every(function(yo){return yo.width})},[yt]),Ar=yt[yt.length-1],pr={fixed:Ar?Ar.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(rr,"-cell-scrollbar")}}},or=(0,re.useMemo)(function(){return Tr?[].concat((0,Po.Z)(ht),[pr]):ht},[Tr,ht]),Cr=(0,re.useMemo)(function(){return Tr?[].concat((0,Po.Z)(yt),[pr]):yt},[Tr,yt]),zr=(0,re.useMemo)(function(){var yo=It.right,Gr=It.left;return(0,Pe.Z)((0,Pe.Z)({},It),{},{left:Wt==="rtl"?[].concat((0,Po.Z)(Gr.map(function(_o){return _o+Tr})),[0]):Gr,right:Wt==="rtl"?yo:[].concat((0,Po.Z)(yo.map(function(_o){return _o+Tr})),[0]),isSticky:Zr})},[Tr,It,Zr]),bo=Dn(Lt,Dt);return re.createElement("div",{style:(0,Pe.Z)({overflow:"hidden"},Zr?{top:Xt,bottom:hn}:{}),ref:So,className:Ee()(et,(0,we.Z)({},pn,!!pn))},re.createElement("table",{style:{tableLayout:"fixed",visibility:lt||bo?null:"hidden"}},(!lt||!Xn||yr)&&re.createElement(ea,{colWidths:bo?[].concat((0,Po.Z)(bo),[Tr]):[],columCount:Dt+1,columns:Cr}),Un((0,Pe.Z)((0,Pe.Z)({},Qn),{},{stickyOffsets:zr,columns:or,flattenColumns:Cr}))))});ar.displayName="FixedHolder";var Ir=re.memo(ar);function Bn(De){var Fe=De.cells,et=De.stickyOffsets,lt=De.flattenColumns,ht=De.rowComponent,yt=De.cellComponent,Lt=De.tdCellComponent,Dt=De.onHeaderRow,It=De.index,Wt=ce(ge,["prefixCls","direction"]),nn=Wt.prefixCls,Xt=Wt.direction,hn;Dt&&(hn=Dt(Fe.map(function(xn){return xn.column}),It));var pn=Re(Fe.map(function(xn){return xn.column}));return re.createElement(ht,hn,Fe.map(function(xn,Xn){var Un=xn.column,Qn=Ne(xn.colStart,xn.colEnd,lt,et,Xt,Un),Zn;return Un&&Un.onHeaderCell&&(Zn=xn.column.onHeaderCell(Un)),re.createElement(Le,(0,ae.Z)({},xn,{scope:Un.title?xn.colSpan>1?"colgroup":"col":null,ellipsis:Un.ellipsis,align:Un.align,component:Un.title?yt:Lt,prefixCls:nn,key:pn[Xn]},Qn,{additionalProps:Zn,rowType:"header"}))}))}Bn.displayName="HeaderRow";var wo=Bn;function lo(De){var Fe=[];function et(Lt,Dt){var It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Fe[It]=Fe[It]||[];var Wt=Dt,nn=Lt.filter(Boolean).map(function(Xt){var hn={key:Xt.key,className:Xt.className||"",children:Xt.title,column:Xt,colStart:Wt},pn=1,xn=Xt.children;return xn&&xn.length>0&&(pn=et(xn,Wt,It+1).reduce(function(Xn,Un){return Xn+Un},0),hn.hasSubColumns=!0),"colSpan"in Xt&&(pn=Xt.colSpan),"rowSpan"in Xt&&(hn.rowSpan=Xt.rowSpan),hn.colSpan=pn,hn.colEnd=hn.colStart+pn-1,Fe[It].push(hn),Wt+=pn,pn});return nn}et(De,0);for(var lt=Fe.length,ht=function(Dt){Fe[Dt].forEach(function(It){!("rowSpan"in It)&&!It.hasSubColumns&&(It.rowSpan=lt-Dt)})},yt=0;yt<lt;yt+=1)ht(yt);return Fe}function ia(De){var Fe=De.stickyOffsets,et=De.columns,lt=De.flattenColumns,ht=De.onHeaderRow,yt=ce(ge,["prefixCls","getComponent"]),Lt=yt.prefixCls,Dt=yt.getComponent,It=re.useMemo(function(){return lo(et)},[et]),Wt=Dt(["header","wrapper"],"thead"),nn=Dt(["header","row"],"tr"),Xt=Dt(["header","cell"],"th"),hn=Dt(["header","cell"],"td");return re.createElement(Wt,{className:"".concat(Lt,"-thead")},It.map(function(pn,xn){var Xn=re.createElement(wo,{key:xn,flattenColumns:lt,cells:pn,stickyOffsets:Fe,rowComponent:nn,cellComponent:Xt,tdCellComponent:hn,onHeaderRow:ht,index:xn});return Xn}))}var ca=te(ia);function ua(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(ua(lt)):(0,fn.isFragment)(lt)&&lt.props?et=et.concat(ua(lt.props.children,Fe)):et.push(lt))}),et}function _t(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(Wt){var nn=_t(Fe,Wt.width);nn?et+=nn:lt+=1});var ht=Fe-et,yt=lt,Lt=ht/lt,Dt=0,It=De.map(function(Wt){var nn=(0,Pe.Z)({},Wt),Xt=_t(Fe,nn.width);if(Xt)nn.width=Xt;else{var hn=Math.floor(Lt);nn.width=yt===1?ht:hn,ht-=hn,yt-=1}return Dt+=nn.width,nn});return[It,Dt]}return[De,Fe]},[De,Fe])}var Qt=["children"],un=["fixed"];function Pn(De){return ua(De).filter(function(Fe){return re.isValidElement(Fe)}).map(function(Fe){var et=Fe.key,lt=Fe.props,ht=lt.children,yt=(0,wt.Z)(lt,Qt),Lt=(0,Pe.Z)({key:et},yt);return ht&&(Lt.children=Pn(ht)),Lt})}function Yn(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,ht){var yt=lt.fixed,Lt=yt===!0?"left":yt,Dt="".concat(Fe,"-").concat(ht),It=lt.children;return It&&It.length>0?[].concat((0,Po.Z)(et),(0,Po.Z)(Yn(It,Dt).map(function(Wt){return(0,Pe.Z)({fixed:Lt},Wt)}))):[].concat((0,Po.Z)(et),[(0,Pe.Z)((0,Pe.Z)({key:Dt},lt),{},{fixed:Lt})])},[])}function vr(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 ht=!0,yt=De.length-1;yt>=0;yt-=1){var Lt=De[yt];if(ht&&Lt.fixed!=="right")ht=!1;else if(!ht&&Lt.fixed==="right"){warning(!1,"Index ".concat(yt+1," of `columns` missing `fixed='right'` prop."));break}}}function Nr(De){return De.map(function(Fe){var et=Fe.fixed,lt=(0,wt.Z)(Fe,un),ht=et;return et==="left"?ht="right":et==="right"&&(ht="left"),(0,Pe.Z)({fixed:ht},lt)})}function no(De,Fe){var et=De.prefixCls,lt=De.columns,ht=De.children,yt=De.expandable,Lt=De.expandedKeys,Dt=De.columnTitle,It=De.getRowKey,Wt=De.onTriggerExpand,nn=De.expandIcon,Xt=De.rowExpandable,hn=De.expandIconColumnIndex,pn=De.direction,xn=De.expandRowByClick,Xn=De.columnWidth,Un=De.fixed,Qn=De.scrollWidth,Zn=re.useMemo(function(){return lt||Pn(ht)},[lt,ht]),rr=re.useMemo(function(){if(yt){var Ar,pr=Zn.slice();if(!pr.includes(be)){var or=hn||0;or>=0&&pr.splice(or,0,be)}var Cr=pr.indexOf(be);pr=pr.filter(function(Gr,_o){return Gr!==be||_o===Cr});var zr=Zn[Cr],bo;(Un==="left"||Un)&&!hn?bo="left":(Un==="right"||Un)&&hn===Zn.length?bo="right":bo=zr?zr.fixed:null;var yo=(Ar={},(0,we.Z)(Ar,to,{className:"".concat(et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,we.Z)(Ar,"title",Dt),(0,we.Z)(Ar,"fixed",bo),(0,we.Z)(Ar,"className","".concat(et,"-row-expand-icon-cell")),(0,we.Z)(Ar,"width",Xn),(0,we.Z)(Ar,"render",function(_o,Fo,la){var Xo=It(Fo,la),Ia=Lt.has(Xo),ja=Xt?Xt(Fo):!0,Co=nn({prefixCls:et,expanded:Ia,expandable:ja,record:Fo,onExpand:Wt});return xn?re.createElement("span",{onClick:function(qn){return qn.stopPropagation()}},Co):Co}),Ar);return pr.map(function(Gr){return Gr===be?yo:Gr})}return Zn.filter(function(Gr){return Gr!==be})},[yt,Zn,It,Lt,nn,pn]),jr=re.useMemo(function(){var Ar=rr;return Fe&&(Ar=Fe(Ar)),Ar.length||(Ar=[{render:function(){return null}}]),Ar},[Fe,rr,pn]),Zr=re.useMemo(function(){return pn==="rtl"?Nr(Yn(jr)):Yn(jr)},[jr,pn,Qn]),Tr=Et(Zr,Qn),ho=(0,E.Z)(Tr,2),So=ho[0],yr=ho[1];return[jr,So,yr]}var uo=no;function io(De){var Fe,et=De.prefixCls,lt=De.record,ht=De.onExpand,yt=De.expanded,Lt=De.expandable,Dt="".concat(et,"-row-expand-icon");if(!Lt)return re.createElement("span",{className:Ee()(Dt,"".concat(et,"-row-spaced"))});var It=function(nn){ht(lt,nn),nn.stopPropagation()};return re.createElement("span",{className:Ee()(Dt,(Fe={},(0,we.Z)(Fe,"".concat(et,"-row-expanded"),yt),(0,we.Z)(Fe,"".concat(et,"-row-collapsed"),!yt),Fe)),onClick:It})}function Bo(De,Fe,et){var lt=[];function ht(yt){(yt||[]).forEach(function(Lt,Dt){lt.push(Fe(Lt,Dt)),ht(Lt[et])})}return ht(De),lt}function dr(De,Fe,et){var lt=xo(De),ht=lt.expandIcon,yt=lt.expandedRowKeys,Lt=lt.defaultExpandedRowKeys,Dt=lt.defaultExpandAllRows,It=lt.expandedRowRender,Wt=lt.onExpand,nn=lt.onExpandedRowsChange,Xt=lt.childrenColumnName,hn=ht||io,pn=Xt||"children",xn=re.useMemo(function(){return It?"row":De.expandable&&De.internalHooks===xe&&De.expandable.__PARENT_RENDER_ICON__||Fe.some(function(Zr){return Zr&&(0,ye.Z)(Zr)==="object"&&Zr[pn]})?"nest":!1},[!!It,Fe]),Xn=re.useState(function(){return Lt||(Dt?Bo(Fe,et,pn):[])}),Un=(0,E.Z)(Xn,2),Qn=Un[0],Zn=Un[1],rr=re.useMemo(function(){return new Set(yt||Qn||[])},[yt,Qn]),jr=re.useCallback(function(Zr){var Tr=et(Zr,Fe.indexOf(Zr)),ho,So=rr.has(Tr);So?(rr.delete(Tr),ho=(0,Po.Z)(rr)):ho=[].concat((0,Po.Z)(rr),[Tr]),Zn(ho),Wt&&Wt(!So,Zr),nn&&nn(ho)},[et,rr,Fe,Wt,nn]);return[lt,xn,rr,hn,pn,jr]}function Ot(De,Fe,et,lt){var ht=De.map(function(yt,Lt){return Ne(Lt,Lt,De,Fe,et,lt==null?void 0:lt[Lt])});return _e(function(){return ht},[ht],function(yt,Lt){return!Be(yt,Lt)})}function Ut(De){var Fe=(0,re.useRef)(De),et=(0,re.useState)({}),lt=(0,E.Z)(et,2),ht=lt[1],yt=(0,re.useRef)(null),Lt=(0,re.useRef)([]);function Dt(It){Lt.current.push(It);var Wt=Promise.resolve();yt.current=Wt,Wt.then(function(){if(yt.current===Wt){var nn=Lt.current,Xt=Fe.current;Lt.current=[],nn.forEach(function(hn){Fe.current=hn(Fe.current)}),yt.current=null,Xt!==Fe.current&&ht({})}})}return(0,re.useEffect)(function(){return function(){yt.current=null}},[]),[Fe.current,Dt]}function Yt(De){var Fe=(0,re.useRef)(De||null),et=(0,re.useRef)();function lt(){window.clearTimeout(et.current)}function ht(Lt){Fe.current=Lt,lt(),et.current=window.setTimeout(function(){Fe.current=null,et.current=void 0},100)}function yt(){return Fe.current}return(0,re.useEffect)(function(){return lt},[]),[ht,yt]}function dt(){var De=re.useState(-1),Fe=(0,E.Z)(De,2),et=Fe[0],lt=Fe[1],ht=re.useState(-1),yt=(0,E.Z)(ht,2),Lt=yt[0],Dt=yt[1],It=re.useCallback(function(Wt,nn){lt(Wt),Dt(nn)},[]);return[et,Lt,It]}var Jt=Ct()?window:null;function vn(De,Fe){var et=(0,ye.Z)(De)==="object"?De:{},lt=et.offsetHeader,ht=lt===void 0?0:lt,yt=et.offsetSummary,Lt=yt===void 0?0:yt,Dt=et.offsetScroll,It=Dt===void 0?0:Dt,Wt=et.getContainer,nn=Wt===void 0?function(){return Jt}:Wt,Xt=nn()||Jt;return re.useMemo(function(){var hn=!!De;return{isSticky:hn,stickyClassName:hn?"".concat(Fe,"-sticky-holder"):"",offsetHeader:ht,offsetSummary:Lt,offsetScroll:It,container:Xt}},[It,ht,Lt,Fe,Xt])}function yn(De,Fe,et){var lt=(0,re.useMemo)(function(){for(var ht=[],yt=[],Lt=0,Dt=0,It=0;It<Fe;It+=1)if(et==="rtl"){yt[It]=Dt,Dt+=De[It]||0;var Wt=Fe-It-1;ht[Wt]=Lt,Lt+=De[Wt]||0}else{ht[It]=Lt,Lt+=De[It]||0;var nn=Fe-It-1;yt[nn]=Dt,Dt+=De[nn]||0}return{left:ht,right:yt}},[De,Fe,et]);return lt}var Ht=yn;function Zt(De){var Fe=De.className,et=De.children;return re.createElement("div",{className:Fe},et)}var Kt=Zt;function Rn(De,Fe,et,lt){var ht=ie.unstable_batchedUpdates?function(Lt){ie.unstable_batchedUpdates(et,Lt)}:et;return De!=null&&De.addEventListener&&De.addEventListener(Fe,ht,lt),{remove:function(){De!=null&&De.removeEventListener&&De.removeEventListener(Fe,ht,lt)}}}var Vn=/margin|padding|width|height|max|min|offset/,sr={left:!0,top:!0},nr={cssFloat:1,styleFloat:1,float:1};function fr(De){return De.nodeType===1?De.ownerDocument.defaultView.getComputedStyle(De,null):{}}function wr(De,Fe,et){if(Fe=Fe.toLowerCase(),et==="auto"){if(Fe==="height")return De.offsetHeight;if(Fe==="width")return De.offsetWidth}return Fe in sr||(sr[Fe]=Vn.test(Fe)),sr[Fe]?parseFloat(et)||0:et}function Tn(De,Fe){var et=arguments.length,lt=fr(De);return Fe=nr[Fe]?"cssFloat"in De.style?"cssFloat":"styleFloat":Fe,et===1?lt:wr(De,Fe,lt[Fe]||De.style[Fe])}function Vt(De,Fe,et){var lt=arguments.length;if(Fe=nr[Fe]?"cssFloat"in De.style?"cssFloat":"styleFloat":Fe,lt===3)return typeof et=="number"&&Vn.test(Fe)&&(et="".concat(et,"px")),De.style[Fe]=et,et;for(var ht in Fe)Fe.hasOwnProperty(ht)&&Vt(De,ht,Fe[ht]);return fr(De)}function gn(De){return De===document.body?document.documentElement.clientWidth:De.offsetWidth}function On(De){return De===document.body?window.innerHeight||document.documentElement.clientHeight:De.offsetHeight}function Jn(){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 Sr(){var De=document.documentElement.clientWidth,Fe=window.innerHeight||document.documentElement.clientHeight;return{width:De,height:Fe}}function Rr(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ro(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 Or=function(Fe,et){var lt,ht,yt=Fe.scrollBodyRef,Lt=Fe.onScroll,Dt=Fe.offsetScroll,It=Fe.container,Wt=ce(ge,"prefixCls"),nn=((lt=yt.current)===null||lt===void 0?void 0:lt.scrollWidth)||0,Xt=((ht=yt.current)===null||ht===void 0?void 0:ht.clientWidth)||0,hn=nn&&Xt*(Xt/nn),pn=re.useRef(),xn=Ut({scrollLeft:0,isHiddenScrollBar:!1}),Xn=(0,E.Z)(xn,2),Un=Xn[0],Qn=Xn[1],Zn=re.useRef({delta:0,x:0}),rr=re.useState(!1),jr=(0,E.Z)(rr,2),Zr=jr[0],Tr=jr[1],ho=function(){Tr(!1)},So=function(Cr){Cr.persist(),Zn.current.delta=Cr.pageX-Un.scrollLeft,Zn.current.x=0,Tr(!0),Cr.preventDefault()},yr=function(Cr){var zr,bo=Cr||((zr=window)===null||zr===void 0?void 0:zr.event),yo=bo.buttons;if(!Zr||yo===0){Zr&&Tr(!1);return}var Gr=Zn.current.x+Cr.pageX-Zn.current.x-Zn.current.delta;Gr<=0&&(Gr=0),Gr+hn>=Xt&&(Gr=Xt-hn),Lt({scrollLeft:Gr/Xt*(nn+2)}),Zn.current.x=Cr.pageX},Ar=function(){if(yt.current){var Cr=ro(yt.current).top,zr=Cr+yt.current.offsetHeight,bo=It===window?document.documentElement.scrollTop+window.innerHeight:ro(It).top+It.clientHeight;zr-jt()<=bo||Cr>=bo-Dt?Qn(function(yo){return(0,Pe.Z)((0,Pe.Z)({},yo),{},{isHiddenScrollBar:!0})}):Qn(function(yo){return(0,Pe.Z)((0,Pe.Z)({},yo),{},{isHiddenScrollBar:!1})})}},pr=function(Cr){Qn(function(zr){return(0,Pe.Z)((0,Pe.Z)({},zr),{},{scrollLeft:Cr/nn*Xt||0})})};return re.useImperativeHandle(et,function(){return{setScrollLeft:pr}}),re.useEffect(function(){var or=Rn(document.body,"mouseup",ho,!1),Cr=Rn(document.body,"mousemove",yr,!1);return Ar(),function(){or.remove(),Cr.remove()}},[hn,Zr]),re.useEffect(function(){var or=Rn(It,"scroll",Ar,!1),Cr=Rn(window,"resize",Ar,!1);return function(){or.remove(),Cr.remove()}},[It]),re.useEffect(function(){Un.isHiddenScrollBar||Qn(function(or){var Cr=yt.current;return Cr?(0,Pe.Z)((0,Pe.Z)({},or),{},{scrollLeft:Cr.scrollLeft/Cr.scrollWidth*Cr.clientWidth}):or})},[Un.isHiddenScrollBar]),nn<=Xt||!hn||Un.isHiddenScrollBar?null:re.createElement("div",{style:{height:jt(),width:Xt,bottom:Dt},className:"".concat(Wt,"-sticky-scroll")},re.createElement("div",{onMouseDown:So,ref:pn,className:Ee()("".concat(Wt,"-sticky-scroll-bar"),(0,we.Z)({},"".concat(Wt,"-sticky-scroll-bar-active"),Zr)),style:{width:"".concat(hn,"px"),transform:"translate3d(".concat(Un.scrollLeft,"px, 0, 0)")}}))},ut=re.forwardRef(Or);function it(De){return null}var Pt=it;function Bt(De){return null}var Gt=Bt,sn="rc-table",_n=[],Mn={};function Fn(){return"No Data"}function Kn(De){var Fe,et=(0,Pe.Z)({rowKey:"key",prefixCls:sn,emptyText:Fn},De),lt=et.prefixCls,ht=et.className,yt=et.rowClassName,Lt=et.style,Dt=et.data,It=et.rowKey,Wt=et.scroll,nn=et.tableLayout,Xt=et.direction,hn=et.title,pn=et.footer,xn=et.summary,Xn=et.caption,Un=et.id,Qn=et.showHeader,Zn=et.components,rr=et.emptyText,jr=et.onRow,Zr=et.onHeaderRow,Tr=et.internalHooks,ho=et.transformColumns,So=et.internalRefs,yr=et.tailor,Ar=et.sticky,pr=Dt||_n,or=!!pr.length,Cr=Tr===xe,zr=re.useCallback(function(ba,$a){return qe(Zn,ba)||$a},[Zn]),bo=re.useMemo(function(){return typeof It=="function"?It:function(ba){var $a=ba&&ba[It];return $a}},[It]),yo=zr(["body"]),Gr=dt(),_o=(0,E.Z)(Gr,3),Fo=_o[0],la=_o[1],Xo=_o[2],Ia=dr(et,pr,bo),ja=(0,E.Z)(Ia,6),Co=ja[0],Za=ja[1],qn=ja[2],Yr=ja[3],No=ja[4],ya=ja[5],br=Wt==null?void 0:Wt.x,Jr=re.useState(0),Qr=(0,E.Z)(Jr,2),$r=Qr[0],Jo=Qr[1],Xr=uo((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},et),Co),{},{expandable:!!Co.expandedRowRender,columnTitle:Co.columnTitle,expandedKeys:qn,getRowKey:bo,onTriggerExpand:ya,expandIcon:Yr,expandIconColumnIndex:Co.expandIconColumnIndex,direction:Xt,scrollWidth:Cr&&yr&&typeof br=="number"?br:null}),Cr?ho:null),To=(0,E.Z)(Xr,3),oa=To[0],qo=To[1],_i=To[2],vi=_i!=null?_i:br,ps=re.useMemo(function(){return{columns:oa,flattenColumns:qo}},[oa,qo]),li=re.useRef(),ss=re.useRef(),ci=re.useRef(),Bi=re.useRef(),Ys=re.useRef(),ha=re.useState(!1),Sa=(0,E.Z)(ha,2),Va=Sa[0],di=Sa[1],fi=re.useState(!1),Yo=(0,E.Z)(fi,2),Ri=Yo[0],Ti=Yo[1],Wi=Ut(new Map),ws=(0,E.Z)(Wi,2),ms=ws[0],fl=ws[1],Is=Re(qo),ls=Is.map(function(ba){return ms.get(ba)}),Ui=re.useMemo(function(){return ls},[ls.join("_")]),Mi=Ht(Ui,qo.length,Xt),gi=Wt&&tt(Wt.y),Xa=Wt&&tt(vi)||!!Co.fixed,Cs=Xa&&qo.some(function(ba){var $a=ba.fixed;return $a}),Js=re.useRef(),ks=vn(Ar,lt),Es=ks.isSticky,gl=ks.offsetHeader,vl=ks.offsetSummary,aa=ks.offsetScroll,Na=ks.stickyClassName,wi=ks.container,Ya=re.useMemo(function(){return xn==null?void 0:xn(pr)},[xn,pr]),Li=(gi||Es)&&re.isValidElement(Ya)&&Ya.type===$t&&Ya.props.fixed,Hi,zi,js;gi&&(zi={overflowY:"scroll",maxHeight:Wt.y}),Xa&&(Hi={overflowX:"auto"},gi||(zi={overflowY:"hidden"}),js={width:vi===!0?"auto":vi,minWidth:"100%"});var _l=re.useCallback(function(ba,$a){er(li.current)&&fl(function(cs){if(cs.get(ba)!==$a){var Fs=new Map(cs);return Fs.set(ba,$a),Fs}return cs})},[]),$l=Yt(null),Tl=(0,E.Z)($l,2),Wl=Tl[0],Ll=Tl[1];function hl(ba,$a){$a&&(typeof $a=="function"?$a(ba):$a.scrollLeft!==ba&&($a.scrollLeft=ba,$a.scrollLeft!==ba&&setTimeout(function(){$a.scrollLeft=ba},0)))}var al=pt(function(ba){var $a=ba.currentTarget,cs=ba.scrollLeft,Fs=Xt==="rtl",Bs=typeof cs=="number"?cs:$a.scrollLeft,Gl=$a||Mn;if(!Ll()||Ll()===Gl){var wl;Wl(Gl),hl(Bs,ss.current),hl(Bs,ci.current),hl(Bs,Ys.current),hl(Bs,(wl=Js.current)===null||wl===void 0?void 0:wl.setScrollLeft)}var Cl=$a||ss.current;if(Cl){var El=Cl.scrollWidth,xl=Cl.clientWidth;if(El===xl){di(!1),Ti(!1);return}Fs?(di(-Bs<El-xl),Ti(-Bs>0)):(di(Bs>0),Ti(Bs<El-xl))}}),Ol=function(){Xa&&ci.current?al({currentTarget:ci.current}):(di(!1),Ti(!1))},Kl=function($a){var cs=$a.width;cs!==$r&&(Ol(),Jo(li.current?li.current.offsetWidth:cs))},Al=re.useRef(!1);re.useEffect(function(){Al.current&&Ol()},[Xa,Dt,oa.length]),re.useEffect(function(){Al.current=!0},[]);var Zl=re.useState(0),Rl=(0,E.Z)(Zl,2),pl=Rl[0],Ml=Rl[1],Vl=re.useState(!0),Il=(0,E.Z)(Vl,2),jl=Il[0],Xl=Il[1];re.useEffect(function(){(!yr||!Cr)&&(ci.current instanceof Element?Ml(wn(ci.current).width):Ml(wn(Bi.current).width)),Xl(cr("position","sticky"))},[]),re.useEffect(function(){Cr&&So&&(So.body.current=ci.current)});var Yl=re.useCallback(function(ba){return re.createElement(re.Fragment,null,re.createElement(ca,ba),Li==="top"&&re.createElement(Nt,ba,Ya))},[Li,Ya]),Jl=re.useCallback(function(ba){return re.createElement(Nt,ba,Ya)},[Ya]),Nl=zr(["table"],"table"),ml=re.useMemo(function(){return nn||(Cs?vi==="max-content"?"auto":"fixed":gi||Es||qo.some(function(ba){var $a=ba.ellipsis;return $a})?"fixed":"auto")},[gi,Cs,qo,nn,Es]),yl,Sl={colWidths:Ui,columCount:qo.length,stickyOffsets:Mi,onHeaderRow:Zr,fixHeader:gi,scroll:Wt},Dl=re.useMemo(function(){return or?null:typeof rr=="function"?rr():rr},[or,rr]),kl=re.createElement(ur,{data:pr,measureColumnWidth:gi||Xa||Es}),Fl=re.createElement(ea,{colWidths:qo.map(function(ba){var $a=ba.width;return $a}),columns:qo}),Bl=Xn!=null?re.createElement("caption",{className:"".concat(lt,"-caption")},Xn):void 0,Ql=vo(et,{data:!0}),Ul=vo(et,{aria:!0});if(gi||Es){var bl;typeof yo=="function"?(bl=yo(pr,{scrollbarSize:pl,ref:ci,onScroll:al}),Sl.colWidths=qo.map(function(ba,$a){var cs=ba.width,Fs=$a===qo.length-1?cs-pl:cs;return typeof Fs=="number"&&!Number.isNaN(Fs)?Fs:0})):bl=re.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},Hi),zi),onScroll:al,ref:ci,className:Ee()("".concat(lt,"-body"))},re.createElement(Nl,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},js),{},{tableLayout:ml})},Ul),Bl,Fl,kl,!Li&&Ya&&re.createElement(Nt,{stickyOffsets:Mi,flattenColumns:qo,columns:oa},Ya)));var Hl=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({noData:!pr.length,maxContentScroll:Xa&&vi==="max-content"},Sl),ps),{},{direction:Xt,stickyClassName:Na,onScroll:al});yl=re.createElement(re.Fragment,null,Qn!==!1&&re.createElement(Ir,(0,ae.Z)({},Hl,{stickyTopOffset:gl,className:"".concat(lt,"-header"),ref:ss}),Yl),bl,Li&&Li!=="top"&&re.createElement(Ir,(0,ae.Z)({},Hl,{stickyBottomOffset:vl,className:"".concat(lt,"-summary"),ref:Ys}),Jl),Es&&re.createElement(ut,{ref:Js,offsetScroll:aa,scrollBodyRef:ci,onScroll:al,container:wi}))}else yl=re.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},Hi),zi),className:Ee()("".concat(lt,"-content")),onScroll:al,ref:ci},re.createElement(Nl,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},js),{},{tableLayout:ml})},Ul),Bl,Fl,Qn!==!1&&re.createElement(ca,(0,ae.Z)({},Sl,ps)),kl,Ya&&re.createElement(Nt,{stickyOffsets:Mi,flattenColumns:qo,columns:oa},Ya)));var Pl=re.createElement("div",(0,ae.Z)({className:Ee()(lt,ht,(Fe={},(0,we.Z)(Fe,"".concat(lt,"-rtl"),Xt==="rtl"),(0,we.Z)(Fe,"".concat(lt,"-ping-left"),Va),(0,we.Z)(Fe,"".concat(lt,"-ping-right"),Ri),(0,we.Z)(Fe,"".concat(lt,"-layout-fixed"),nn==="fixed"),(0,we.Z)(Fe,"".concat(lt,"-fixed-header"),gi),(0,we.Z)(Fe,"".concat(lt,"-fixed-column"),Cs),(0,we.Z)(Fe,"".concat(lt,"-scroll-horizontal"),Xa),(0,we.Z)(Fe,"".concat(lt,"-has-fix-left"),qo[0]&&qo[0].fixed),(0,we.Z)(Fe,"".concat(lt,"-has-fix-right"),qo[qo.length-1]&&qo[qo.length-1].fixed==="right"),Fe)),style:Lt,id:Un,ref:li},Ql),hn&&re.createElement(Kt,{className:"".concat(lt,"-title")},hn(pr)),re.createElement("div",{ref:Bi,className:"".concat(lt,"-container")},yl),pn&&re.createElement(Kt,{className:"".concat(lt,"-footer")},pn(pr)));Xa&&(Pl=re.createElement(lr.Z,{onResize:Kl},Pl));var zl=Ot(qo,Mi,Xt,oa),ql=re.useMemo(function(){return{scrollX:vi,prefixCls:lt,getComponent:zr,scrollbarSize:pl,direction:Xt,fixedInfoList:zl,isSticky:Es,supportSticky:jl,componentWidth:$r,fixHeader:gi,fixColumn:Cs,horizonScroll:Xa,tableLayout:ml,rowClassName:yt,expandedRowClassName:Co.expandedRowClassName,expandIcon:Yr,expandableType:Za,expandRowByClick:Co.expandRowByClick,expandedRowRender:Co.expandedRowRender,onTriggerExpand:ya,expandIconColumnIndex:Co.expandIconColumnIndex,indentSize:Co.indentSize,allColumnsFixedLeft:qo.every(function(ba){return ba.fixed==="left"}),emptyNode:Dl,columns:oa,flattenColumns:qo,onColumnResize:_l,hoverStartRow:Fo,hoverEndRow:la,onHover:Xo,rowExpandable:Co.rowExpandable,onRow:jr,getRowKey:bo,expandedKeys:qn,childrenColumnName:No}},[vi,lt,zr,pl,Xt,zl,Es,jl,$r,gi,Cs,Xa,ml,yt,Co.expandedRowClassName,Yr,Za,Co.expandRowByClick,Co.expandedRowRender,ya,Co.expandIconColumnIndex,Co.indentSize,Dl,oa,qo,_l,Fo,la,Xo,Co.rowExpandable,jr,bo,qn,No]);return re.createElement(ge.Provider,{value:ql},Pl)}function gr(De){return ee(Kn,De)}var hr=gr();hr.EXPAND_COLUMN=be,hr.INTERNAL_HOOKS=xe,hr.Column=Pt,hr.ColumnGroup=Gt,hr.Summary=ct;var so=hr,co=pe(73299),qr=le(null),po=le(null);function Mo(De,Fe,et){var lt=Fe||1;return et[De+lt]-(et[De]||0)}function Io(De){var Fe=De.rowInfo,et=De.column,lt=De.colIndex,ht=De.indent,yt=De.index,Lt=De.renderIndex,Dt=De.record,It=De.style,Wt=De.className,nn=De.inverse,Xt=De.getHeight,hn=et.render,pn=et.dataIndex,xn=et.className,Xn=et.width,Un=ce(po,["columnsOffset"]),Qn=Un.columnsOffset,Zn=on(Fe,et,lt,ht,yt),rr=Zn.key,jr=Zn.fixedInfo,Zr=Zn.appendCellNode,Tr=Zn.additionalCellProps,ho=Tr.style,So=Tr.colSpan,yr=So===void 0?1:So,Ar=Tr.rowSpan,pr=Ar===void 0?1:Ar,or=lt-1,Cr=Mo(or,yr,Qn),zr=yr>1?Xn-Cr:0,bo=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},ho),It),{},{flex:"0 0 ".concat(Cr,"px"),width:"".concat(Cr,"px"),marginRight:zr,pointerEvents:"auto"}),yo=re.useMemo(function(){return nn?pr<=1:yr===0||pr===0||pr>1},[pr,yr,nn]);yo?bo.visibility="hidden":nn&&(bo.height=Xt==null?void 0:Xt(pr));var Gr=yo?function(){return null}:hn,_o={};return(pr===0||yr===0)&&(_o.rowSpan=1,_o.colSpan=1),re.createElement(Le,(0,ae.Z)({className:Ee()(xn,Wt),ellipsis:et.ellipsis,align:et.align,scope:et.rowScope,component:"div",prefixCls:Fe.prefixCls,key:rr,record:Dt,index:yt,renderIndex:Lt,dataIndex:pn,render:Gr,shouldCellUpdate:et.shouldCellUpdate},jr,{appendNode:Zr,additionalProps:(0,Pe.Z)((0,Pe.Z)({},Tr),{},{style:bo},_o)}))}var Hr=Io,Uo=["data","index","className","rowKey","style","extra","getHeight"],fo=re.forwardRef(function(De,Fe){var et=De.data,lt=De.index,ht=De.className,yt=De.rowKey,Lt=De.style,Dt=De.extra,It=De.getHeight,Wt=(0,wt.Z)(De,Uo),nn=et.record,Xt=et.indent,hn=et.index,pn=ce(ge,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),xn=pn.scrollX,Xn=pn.flattenColumns,Un=pn.prefixCls,Qn=pn.fixColumn,Zn=pn.componentWidth,rr=qt(nn,yt,lt,Xt),jr=rr.rowSupportExpand,Zr=rr.expanded,Tr=rr.rowProps,ho=rr.expandedRowRender,So=rr.expandedRowClassName,yr;if(jr&&Zr){var Ar=ho(nn,lt,Xt+1,Zr),pr=So==null?void 0:So(nn,lt,Xt),or={};Qn&&(or={style:(0,we.Z)({},"--virtual-width","".concat(Zn,"px"))});var Cr="".concat(Un,"-expanded-row-cell");yr=re.createElement("div",{className:Ee()("".concat(Un,"-expanded-row"),"".concat(Un,"-expanded-row-level-").concat(Xt+1),pr)},re.createElement(Le,{component:"div",prefixCls:Un,className:Ee()(Cr,(0,we.Z)({},"".concat(Cr,"-fixed"),Qn)),additionalProps:or},Ar))}var zr=(0,Pe.Z)((0,Pe.Z)({},Lt),{},{width:xn});Dt&&(zr.position="absolute",zr.pointerEvents="none");var bo=re.createElement("div",(0,ae.Z)({},Tr,Wt,{ref:jr?null:Fe,className:Ee()(ht,"".concat(Un,"-row"),Tr==null?void 0:Tr.className,(0,we.Z)({},"".concat(Un,"-row-extra"),Dt)),style:(0,Pe.Z)((0,Pe.Z)({},zr),Tr==null?void 0:Tr.style)}),Xn.map(function(yo,Gr){return re.createElement(Hr,{key:Gr,rowInfo:rr,column:yo,colIndex:Gr,indent:Xt,index:lt,renderIndex:hn,record:nn,inverse:Dt,getHeight:It})}));return jr?re.createElement("div",{ref:Fe},bo,yr):bo}),Wo=te(fo),sa=Wo,Ua=re.forwardRef(function(De,Fe){var et=De.data,lt=De.onScroll,ht=ce(ge,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),yt=ht.flattenColumns,Lt=ht.onColumnResize,Dt=ht.getRowKey,It=ht.expandedKeys,Wt=ht.prefixCls,nn=ht.childrenColumnName,Xt=ht.emptyNode,hn=ht.scrollX,pn=ce(qr),xn=pn.scrollY,Xn=pn.listItemHeight,Un=re.useRef(),Qn=Kr(et,nn,It,Dt),Zn=re.useMemo(function(){var yr=0;return yt.map(function(Ar){var pr=Ar.width,or=Ar.key;return yr+=pr,[or,pr,yr]})},[yt]),rr=re.useMemo(function(){return Zn.map(function(yr){return yr[2]})},[Zn]);re.useEffect(function(){Zn.forEach(function(yr){var Ar=(0,E.Z)(yr,2),pr=Ar[0],or=Ar[1];Lt(pr,or)})},[Zn]),re.useImperativeHandle(Fe,function(){var yr={};return Object.defineProperty(yr,"scrollLeft",{get:function(){var pr;return((pr=Un.current)===null||pr===void 0?void 0:pr.getScrollInfo().x)||0},set:function(pr){var or;(or=Un.current)===null||or===void 0||or.scrollTo({left:pr})}}),yr});var jr=function(Ar,pr){var or,Cr=(or=Qn[pr])===null||or===void 0?void 0:or.record,zr=Ar.onCell;if(zr){var bo,yo=zr(Cr,pr);return(bo=yo==null?void 0:yo.rowSpan)!==null&&bo!==void 0?bo:1}return 1},Zr=function(Ar){var pr=Ar.start,or=Ar.end,Cr=Ar.getSize,zr=Ar.offsetY;if(or<0)return null;for(var bo=yt.filter(function(br){return jr(br,pr)===0}),yo=pr,Gr=function(Jr){if(bo=bo.filter(function(Qr){return jr(Qr,Jr)===0}),!bo.length)return yo=Jr,"break"},_o=pr;_o>=0;_o-=1){var Fo=Gr(_o);if(Fo==="break")break}for(var la=yt.filter(function(br){return jr(br,or)!==1}),Xo=or,Ia=function(Jr){if(la=la.filter(function(Qr){return jr(Qr,Jr)!==1}),!la.length)return Xo=Math.max(Jr-1,or),"break"},ja=or;ja<Qn.length;ja+=1){var Co=Ia(ja);if(Co==="break")break}for(var Za=[],qn=function(Jr){var Qr=Qn[Jr];if(!Qr)return"continue";yt.some(function($r){return jr($r,Jr)>1})&&Za.push(Jr)},Yr=yo;Yr<=Xo;Yr+=1)var No=qn(Yr);var ya=Za.map(function(br){var Jr=Qn[br],Qr=Dt(Jr.record,br),$r=function(To){var oa=br+To-1,qo=Dt(Qn[oa].record,oa),_i=Cr(Qr,qo);return _i.bottom-_i.top},Jo=Cr(Qr);return re.createElement(sa,{key:br,data:Jr,rowKey:Qr,index:br,style:{top:-zr+Jo.top},extra:!0,getHeight:$r})});return ya},Tr=re.useMemo(function(){return{columnsOffset:rr}},[rr]),ho="".concat(Wt,"-tbody"),So;return Qn.length?So=re.createElement(co.Z,{fullHeight:!1,ref:Un,className:Ee()(ho,"".concat(ho,"-virtual")),height:xn,itemHeight:Xn||24,data:Qn,itemKey:function(Ar){return Dt(Ar.record)},scrollWidth:hn,onVirtualScroll:function(Ar){var pr=Ar.x;lt({scrollLeft:pr})},extraRender:Zr},function(yr,Ar,pr){var or=Dt(yr.record,Ar);return re.createElement(sa,(0,ae.Z)({data:yr,rowKey:or,index:Ar},pr))}):So=re.createElement("div",{className:Ee()("".concat(Wt,"-placeholder"))},re.createElement(Le,{component:"div",prefixCls:Wt},Xt)),re.createElement(po.Provider,{value:Tr},So)}),Ko=te(Ua),Ra=Ko,da=function(Fe,et){var lt=et.ref,ht=et.onScroll;return re.createElement(Ra,{ref:lt,data:Fe,onScroll:ht})},Ha=100;function Go(De){var Fe=De.columns,et=De.scroll,lt=De.prefixCls,ht=lt===void 0?sn:lt,yt=De.className,Lt=De.listItemHeight,Dt=et||{},It=Dt.x,Wt=Dt.y;typeof It!="number"&&(It=((Fe||[]).length+1)*Ha),typeof Wt!="number"&&(Wt=500);var nn=re.useMemo(function(){return{scrollY:Wt,listItemHeight:Lt}},[Wt,Lt]);return re.createElement(qr.Provider,{value:nn},re.createElement(so,(0,ae.Z)({},De,{className:Ee()(yt,"".concat(ht,"-virtual")),scroll:(0,Pe.Z)((0,Pe.Z)({},et),{},{x:It}),components:{body:da},columns:Fe,internalHooks:xe,tailor:!0})))}function ko(De){return ee(Go,De)}var na=ko(),Wa=null;function ai(De){return null}var $o=ai;function Pa(De){return null}var Da=Pa,kr=pe(10366),za=pe(58375),Ja=pe(53124),hi=pe(88258),xa=pe(98675),ti=pe(25378),Ma=pe(24457),ka=pe(28452),ni=pe(57953),yi=pe(46605);function Ta(De){return function(et){let{prefixCls:lt,onExpand:ht,record:yt,expanded:Lt,expandable:Dt}=et;const It=`${lt}-row-expand-icon`;return re.createElement("button",{type:"button",onClick:Wt=>{ht(yt,Wt),Wt.stopPropagation()},className:Ee()(It,{[`${It}-spaced`]:!Dt,[`${It}-expanded`]:Dt&&Lt,[`${It}-collapsed`]:Dt&&!Lt}),"aria-label":Lt?De.collapse:De.expand,"aria-expanded":Lt})}}var La=Ta;function Ga(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 Ci(De,Fe){return Fe?`${Fe}-${De}`:`${De}`}function Qi(De,Fe){return typeof De=="function"?De(Fe):De}function us(De,Fe){const et=Qi(De,Fe);return Object.prototype.toString.call(et)==="[object Object]"?"":et}var ds={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"},Ii=ds,Si=pe(74643),mi=function(Fe,et){return re.createElement(Si.Z,(0,ae.Z)({},Fe,{ref:et,icon:Ii}))},Ki=re.forwardRef(mi),Gi=pe(7699),Us=pe(57838);function Hs(De){const Fe=re.useRef(De),et=(0,Us.Z)();return[()=>Fe.current,lt=>{Fe.current=lt,et()}]}var fs=pe(71577),vs=pe(84567),zs=pe(85418),ys=pe(32983),qi=pe(68508),es=pe(76529),Ss=pe(78045),xs=pe(79870),at=pe(72395),vt=pe(69677);function mt(De){let{value:Fe,onChange:et,filterSearch:lt,tablePrefixCls:ht,locale:yt}=De;return lt?re.createElement("div",{className:`${ht}-filter-dropdown-search`},re.createElement(vt.default,{prefix:re.createElement(at.Z,null),placeholder:yt.filterSearchPlaceholder,onChange:et,value:Fe,htmlSize:1,className:`${ht}-filter-dropdown-search-input`})):null}var kt=mt,en=pe(92389);const bn=De=>{const{keyCode:Fe}=De;Fe===en.Z.ENTER&&De.stopPropagation()};var Gn=re.forwardRef((De,Fe)=>re.createElement("div",{className:De.className,onClick:et=>et.stopPropagation(),onKeyDown:bn,ref:Fe},De.children));function Nn(De){let Fe=[];return(De||[]).forEach(et=>{let{value:lt,children:ht}=et;Fe.push(lt),ht&&(Fe=[].concat((0,Po.Z)(Fe),(0,Po.Z)(Nn(ht))))}),Fe}function ir(De){return De.some(Fe=>{let{children:et}=Fe;return et})}function Dr(De,Fe){return typeof Fe=="string"||typeof Fe=="number"?Fe==null?void 0:Fe.toString().toLowerCase().includes(De.trim().toLowerCase()):!1}function tr(De){let{filters:Fe,prefixCls:et,filteredKeys:lt,filterMultiple:ht,searchValue:yt,filterSearch:Lt}=De;return Fe.map((Dt,It)=>{const Wt=String(Dt.value);if(Dt.children)return{key:Wt||It,label:Dt.text,popupClassName:`${et}-dropdown-submenu`,children:tr({filters:Dt.children,prefixCls:et,filteredKeys:lt,filterMultiple:ht,searchValue:yt,filterSearch:Lt})};const nn=ht?vs.default:Ss.ZP,Xt={key:Dt.value!==void 0?Wt:It,label:re.createElement(re.Fragment,null,re.createElement(nn,{checked:lt.includes(Wt)}),re.createElement("span",null,Dt.text))};return yt.trim()?typeof Lt=="function"?Lt(yt,Dt)?Xt:null:Dr(yt,Dt.text)?Xt:null:Xt})}function Fr(De){var Fe,et;const{tablePrefixCls:lt,prefixCls:ht,column:yt,dropdownPrefixCls:Lt,columnKey:Dt,filterMultiple:It,filterMode:Wt="menu",filterSearch:nn=!1,filterState:Xt,triggerFilter:hn,locale:pn,children:xn,getPopupContainer:Xn}=De,{filterDropdownOpen:Un,onFilterDropdownOpenChange:Qn,filterResetToDefaultFilteredValue:Zn,defaultFilteredValue:rr,filterDropdownVisible:jr,onFilterDropdownVisibleChange:Zr}=yt,[Tr,ho]=re.useState(!1),So=!!(Xt&&(!((Fe=Xt.filteredKeys)===null||Fe===void 0)&&Fe.length||Xt.forceFiltered)),yr=Xr=>{ho(Xr),Qn==null||Qn(Xr),Zr==null||Zr(Xr)},Ar=(et=Un!=null?Un:jr)!==null&&et!==void 0?et:Tr,pr=Xt==null?void 0:Xt.filteredKeys,[or,Cr]=Hs(pr||[]),zr=Xr=>{let{selectedKeys:To}=Xr;Cr(To)},bo=(Xr,To)=>{let{node:oa,checked:qo}=To;zr(It?{selectedKeys:Xr}:{selectedKeys:qo&&oa.key?[oa.key]:[]})};re.useEffect(()=>{Tr&&zr({selectedKeys:pr||[]})},[pr]);const[yo,Gr]=re.useState([]),_o=Xr=>{Gr(Xr)},[Fo,la]=re.useState(""),Xo=Xr=>{const{value:To}=Xr.target;la(To)};re.useEffect(()=>{Tr||la("")},[Tr]);const Ia=Xr=>{const To=Xr&&Xr.length?Xr:null;if(To===null&&(!Xt||!Xt.filteredKeys)||(0,Gi.Z)(To,Xt==null?void 0:Xt.filteredKeys,!0))return null;hn({column:yt,key:Dt,filteredKeys:To})},ja=()=>{yr(!1),Ia(or())},Co=function(){let{confirm:Xr,closeDropdown:To}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Xr&&Ia([]),To&&yr(!1),la(""),Cr(Zn?(rr||[]).map(oa=>String(oa)):[])},Za=function(){let{closeDropdown:Xr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Xr&&yr(!1),Ia(or())},qn=Xr=>{Xr&&pr!==void 0&&Cr(pr||[]),yr(Xr),!Xr&&!yt.filterDropdown&&ja()},Yr=Ee()({[`${Lt}-menu-without-submenu`]:!ir(yt.filters||[])}),No=Xr=>{if(Xr.target.checked){const To=Nn(yt==null?void 0:yt.filters).map(oa=>String(oa));Cr(To)}else Cr([])},ya=Xr=>{let{filters:To}=Xr;return(To||[]).map((oa,qo)=>{const _i=String(oa.value),vi={title:oa.text,key:oa.value!==void 0?_i:qo};return oa.children&&(vi.children=ya({filters:oa.children})),vi})},br=Xr=>{var To;return Object.assign(Object.assign({},Xr),{text:Xr.title,value:Xr.key,children:((To=Xr.children)===null||To===void 0?void 0:To.map(oa=>br(oa)))||[]})};let Jr;if(typeof yt.filterDropdown=="function")Jr=yt.filterDropdown({prefixCls:`${Lt}-custom`,setSelectedKeys:Xr=>zr({selectedKeys:Xr}),selectedKeys:or(),confirm:Za,clearFilters:Co,filters:yt.filters,visible:Ar,close:()=>{yr(!1)}});else if(yt.filterDropdown)Jr=yt.filterDropdown;else{const Xr=or()||[],To=()=>(yt.filters||[]).length===0?re.createElement(ys.Z,{image:ys.Z.PRESENTED_IMAGE_SIMPLE,description:pn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Wt==="tree"?re.createElement(re.Fragment,null,re.createElement(kt,{filterSearch:nn,value:Fo,onChange:Xo,tablePrefixCls:lt,locale:pn}),re.createElement("div",{className:`${lt}-filter-dropdown-tree`},It?re.createElement(vs.default,{checked:Xr.length===Nn(yt.filters).length,indeterminate:Xr.length>0&&Xr.length<Nn(yt.filters).length,className:`${lt}-filter-dropdown-checkall`,onChange:No},pn.filterCheckall):null,re.createElement(xs.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:It,checkStrictly:!It,className:`${Lt}-menu`,onCheck:bo,checkedKeys:Xr,selectedKeys:Xr,showIcon:!1,treeData:ya({filters:yt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Fo.trim()?qo=>typeof nn=="function"?nn(Fo,br(qo)):Dr(Fo,qo.title):void 0}))):re.createElement(re.Fragment,null,re.createElement(kt,{filterSearch:nn,value:Fo,onChange:Xo,tablePrefixCls:lt,locale:pn}),re.createElement(qi.default,{selectable:!0,multiple:It,prefixCls:`${Lt}-menu`,className:Yr,onSelect:zr,onDeselect:zr,selectedKeys:Xr,getPopupContainer:Xn,openKeys:yo,onOpenChange:_o,items:tr({filters:yt.filters||[],filterSearch:nn,prefixCls:ht,filteredKeys:or(),filterMultiple:It,searchValue:Fo})})),oa=()=>Zn?(0,Gi.Z)((rr||[]).map(qo=>String(qo)),Xr,!0):Xr.length===0;Jr=re.createElement(re.Fragment,null,To(),re.createElement("div",{className:`${ht}-dropdown-btns`},re.createElement(fs.ZP,{type:"link",size:"small",disabled:oa(),onClick:()=>Co()},pn.filterReset),re.createElement(fs.ZP,{type:"primary",size:"small",onClick:ja},pn.filterConfirm)))}yt.filterDropdown&&(Jr=re.createElement(es.J,{selectable:void 0},Jr));const Qr=()=>re.createElement(Gn,{className:`${ht}-dropdown`},Jr);let $r;typeof yt.filterIcon=="function"?$r=yt.filterIcon(So):yt.filterIcon?$r=yt.filterIcon:$r=re.createElement(Ki,null);const{direction:Jo}=re.useContext(Ja.E_);return re.createElement("div",{className:`${ht}-column`},re.createElement("span",{className:`${lt}-column-title`},xn),re.createElement(zs.Z,{dropdownRender:Qr,trigger:["click"],open:Ar,onOpenChange:qn,getPopupContainer:Xn,placement:Jo==="rtl"?"bottomLeft":"bottomRight"},re.createElement("span",{role:"button",tabIndex:-1,className:Ee()(`${ht}-trigger`,{active:So}),onClick:Xr=>{Xr.stopPropagation()}},$r)))}var Mr=Fr;function eo(De,Fe,et){let lt=[];return(De||[]).forEach((ht,yt)=>{var Lt;const Dt=Ci(yt,et);if(ht.filters||"filterDropdown"in ht||"onFilter"in ht)if("filteredValue"in ht){let It=ht.filteredValue;"filterDropdown"in ht||(It=(Lt=It==null?void 0:It.map(String))!==null&&Lt!==void 0?Lt:It),lt.push({column:ht,key:Ga(ht,Dt),filteredKeys:It,forceFiltered:ht.filtered})}else lt.push({column:ht,key:Ga(ht,Dt),filteredKeys:Fe&&ht.defaultFilteredValue?ht.defaultFilteredValue:void 0,forceFiltered:ht.filtered});"children"in ht&&(lt=[].concat((0,Po.Z)(lt),(0,Po.Z)(eo(ht.children,Fe,Dt))))}),lt}function Zo(De,Fe,et,lt,ht,yt,Lt,Dt){return et.map((It,Wt)=>{const nn=Ci(Wt,Dt),{filterMultiple:Xt=!0,filterMode:hn,filterSearch:pn}=It;let xn=It;if(xn.filters||xn.filterDropdown){const Xn=Ga(xn,nn),Un=lt.find(Qn=>{let{key:Zn}=Qn;return Xn===Zn});xn=Object.assign(Object.assign({},xn),{title:Qn=>re.createElement(Mr,{tablePrefixCls:De,prefixCls:`${De}-filter`,dropdownPrefixCls:Fe,column:xn,columnKey:Xn,filterState:Un,filterMultiple:Xt,filterMode:hn,filterSearch:pn,triggerFilter:yt,locale:ht,getPopupContainer:Lt},Qi(It.title,Qn))})}return"children"in xn&&(xn=Object.assign(Object.assign({},xn),{children:Zo(De,Fe,xn.children,lt,ht,yt,Lt,nn)})),xn})}function Do(De){const Fe={};return De.forEach(et=>{let{key:lt,filteredKeys:ht,column:yt}=et;const{filters:Lt,filterDropdown:Dt}=yt;if(Dt)Fe[lt]=ht||null;else if(Array.isArray(ht)){const It=Nn(Lt);Fe[lt]=It.filter(Wt=>ht.includes(String(Wt)))}else Fe[lt]=null}),Fe}function Vo(De,Fe){return Fe.reduce((et,lt)=>{const{column:{onFilter:ht,filters:yt},filteredKeys:Lt}=lt;return ht&&Lt&&Lt.length?et.filter(Dt=>Lt.some(It=>{const Wt=Nn(yt),nn=Wt.findIndex(hn=>String(hn)===String(It)),Xt=nn!==-1?Wt[nn]:It;return ht(Xt,Dt)})):et},De)}const Ho=De=>De.flatMap(Fe=>"children"in Fe?[Fe].concat((0,Po.Z)(Ho(Fe.children||[]))):[Fe]);function Oo(De){let{prefixCls:Fe,dropdownPrefixCls:et,mergedColumns:lt,onFilterChange:ht,getPopupContainer:yt,locale:Lt}=De;const Dt=re.useMemo(()=>Ho(lt||[]),[lt]),[It,Wt]=re.useState(()=>eo(Dt,!0)),nn=re.useMemo(()=>{const xn=eo(Dt,!1);if(xn.length===0)return xn;let Xn=!0,Un=!0;if(xn.forEach(Qn=>{let{filteredKeys:Zn}=Qn;Zn!==void 0?Xn=!1:Un=!1}),Xn){const Qn=(Dt||[]).map((Zn,rr)=>Ga(Zn,Ci(rr)));return It.filter(Zn=>{let{key:rr}=Zn;return Qn.includes(rr)}).map(Zn=>{const rr=Dt[Qn.findIndex(jr=>jr===Zn.key)];return Object.assign(Object.assign({},Zn),{column:Object.assign(Object.assign({},Zn.column),rr),forceFiltered:rr.filtered})})}return xn},[Dt,It]),Xt=re.useMemo(()=>Do(nn),[nn]),hn=xn=>{const Xn=nn.filter(Un=>{let{key:Qn}=Un;return Qn!==xn.key});Xn.push(xn),Wt(Xn),ht(Do(Xn),Xn)};return[xn=>Zo(Fe,et,xn,nn,Lt,hn,yt),nn,Xt]}var Vr=Oo;function Oa(De,Fe,et){const lt=re.useRef({});function ht(yt){if(!lt.current||lt.current.data!==De||lt.current.childrenColumnName!==Fe||lt.current.getRowKey!==et){let Dt=function(It){It.forEach((Wt,nn)=>{const Xt=et(Wt,nn);Lt.set(Xt,Wt),Wt&&typeof Wt=="object"&&Fe in Wt&&Dt(Wt[Fe]||[])})};const Lt=new Map;Dt(De),lt.current={data:De,childrenColumnName:Fe,kvMap:Lt,getRowKey:et}}return lt.current.kvMap.get(yt)}return[ht]}var wa=pe(38780),Aa=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 ht=0,lt=Object.getOwnPropertySymbols(De);ht<lt.length;ht++)Fe.indexOf(lt[ht])<0&&Object.prototype.propertyIsEnumerable.call(De,lt[ht])&&(et[lt[ht]]=De[lt[ht]]);return et};const Fa=10;function ii(De,Fe){const et={current:De.current,pageSize:De.pageSize};return Object.keys(Fe&&typeof Fe=="object"?Fe:{}).forEach(ht=>{const yt=De[ht];typeof yt!="function"&&(et[ht]=yt)}),et}function pa(De,Fe,et){const lt=et&&typeof et=="object"?et:{},{total:ht=0}=lt,yt=Aa(lt,["total"]),[Lt,Dt]=(0,re.useState)(()=>({current:"defaultCurrent"in yt?yt.defaultCurrent:1,pageSize:"defaultPageSize"in yt?yt.defaultPageSize:Fa})),It=(0,wa.Z)(Lt,yt,{total:ht>0?ht:De}),Wt=Math.ceil((ht||De)/It.pageSize);It.current>Wt&&(It.current=Wt||1);const nn=(hn,pn)=>{Dt({current:hn!=null?hn:1,pageSize:pn||It.pageSize})},Xt=(hn,pn)=>{var xn;et&&((xn=et.onChange)===null||xn===void 0||xn.call(et,hn,pn)),nn(hn,pn),Fe(hn,pn||(It==null?void 0:It.pageSize))};return et===!1?[{},()=>{}]:[Object.assign(Object.assign({},It),{onChange:Xt}),nn]}var ra=pa,Ba=pe(42922),Ka=pe(29873),Ca=pe(97153),Qo=pe(83898),ma=pe(5663);const jo={},ei="SELECT_ALL",fa="SELECT_INVERT",ri="SELECT_NONE",Ei=[],ui=(De,Fe)=>{let et=[];return(Fe||[]).forEach(lt=>{et.push(lt),lt&&typeof lt=="object"&&De in lt&&(et=[].concat((0,Po.Z)(et),(0,Po.Z)(ui(De,lt[De]))))}),et};var Ni=(De,Fe)=>{const{preserveSelectedRowKeys:et,selectedRowKeys:lt,defaultSelectedRowKeys:ht,getCheckboxProps:yt,onChange:Lt,onSelect:Dt,onSelectAll:It,onSelectInvert:Wt,onSelectNone:nn,onSelectMultiple:Xt,columnWidth:hn,type:pn,selections:xn,fixed:Xn,renderCell:Un,hideSelectAll:Qn,checkStrictly:Zn=!0}=Fe||{},{prefixCls:rr,data:jr,pageData:Zr,getRecordByKey:Tr,getRowKey:ho,expandType:So,childrenColumnName:yr,locale:Ar,getPopupContainer:pr}=De,[or,Cr]=(0,ma.Z)(lt||ht||Ei,{value:lt}),zr=re.useRef(new Map),bo=(0,re.useCallback)(br=>{if(et){const Jr=new Map;br.forEach(Qr=>{let $r=Tr(Qr);!$r&&zr.current.has(Qr)&&($r=zr.current.get(Qr)),Jr.set(Qr,$r)}),zr.current=Jr}},[Tr,et]);re.useEffect(()=>{bo(or)},[or]);const{keyEntities:yo}=(0,re.useMemo)(()=>{if(Zn)return{keyEntities:null};let br=jr;if(et){const Jr=new Set(jr.map(($r,Jo)=>ho($r,Jo))),Qr=Array.from(zr.current).reduce(($r,Jo)=>{let[Xr,To]=Jo;return Jr.has(Xr)?$r:$r.concat(To)},[]);br=[].concat((0,Po.Z)(br),(0,Po.Z)(Qr))}return(0,Qo.I8)(br,{externalGetKey:ho,childrenPropName:yr})},[jr,ho,Zn,yr,et]),Gr=(0,re.useMemo)(()=>ui(yr,Zr),[yr,Zr]),_o=(0,re.useMemo)(()=>{const br=new Map;return Gr.forEach((Jr,Qr)=>{const $r=ho(Jr,Qr),Jo=(yt?yt(Jr):null)||{};br.set($r,Jo)}),br},[Gr,ho,yt]),Fo=(0,re.useCallback)(br=>{var Jr;return!!(!((Jr=_o.get(ho(br)))===null||Jr===void 0)&&Jr.disabled)},[_o,ho]),[la,Xo]=(0,re.useMemo)(()=>{if(Zn)return[or||[],[]];const{checkedKeys:br,halfCheckedKeys:Jr}=(0,Ca.S)(or,!0,yo,Fo);return[br||[],Jr]},[or,Zn,yo,Fo]),Ia=(0,re.useMemo)(()=>{const br=pn==="radio"?la.slice(0,1):la;return new Set(br)},[la,pn]),ja=(0,re.useMemo)(()=>pn==="radio"?new Set:new Set(Xo),[Xo,pn]),[Co,Za]=(0,re.useState)(null);re.useEffect(()=>{Fe||Cr(Ei)},[!!Fe]);const qn=(0,re.useCallback)((br,Jr)=>{let Qr,$r;bo(br),et?(Qr=br,$r=br.map(Jo=>zr.current.get(Jo))):(Qr=[],$r=[],br.forEach(Jo=>{const Xr=Tr(Jo);Xr!==void 0&&(Qr.push(Jo),$r.push(Xr))})),Cr(Qr),Lt==null||Lt(Qr,$r,{type:Jr})},[Cr,Tr,Lt,et]),Yr=(0,re.useCallback)((br,Jr,Qr,$r)=>{if(Dt){const Jo=Qr.map(Xr=>Tr(Xr));Dt(Tr(br),Jr,Jo,$r)}qn(Qr,"single")},[Dt,Tr,qn]),No=(0,re.useMemo)(()=>!xn||Qn?null:(xn===!0?[ei,fa,ri]:xn).map(Jr=>Jr===ei?{key:"all",text:Ar.selectionAll,onSelect(){qn(jr.map((Qr,$r)=>ho(Qr,$r)).filter(Qr=>{const $r=_o.get(Qr);return!($r!=null&&$r.disabled)||Ia.has(Qr)}),"all")}}:Jr===fa?{key:"invert",text:Ar.selectInvert,onSelect(){const Qr=new Set(Ia);Zr.forEach((Jo,Xr)=>{const To=ho(Jo,Xr),oa=_o.get(To);oa!=null&&oa.disabled||(Qr.has(To)?Qr.delete(To):Qr.add(To))});const $r=Array.from(Qr);Wt&&Wt($r),qn($r,"invert")}}:Jr===ri?{key:"none",text:Ar.selectNone,onSelect(){nn==null||nn(),qn(Array.from(Ia).filter(Qr=>{const $r=_o.get(Qr);return $r==null?void 0:$r.disabled}),"none")}}:Jr).map(Jr=>Object.assign(Object.assign({},Jr),{onSelect:function(){for(var Qr,$r,Jo=arguments.length,Xr=new Array(Jo),To=0;To<Jo;To++)Xr[To]=arguments[To];($r=Jr.onSelect)===null||$r===void 0||(Qr=$r).call.apply(Qr,[Jr].concat(Xr)),Za(null)}})),[xn,Ia,Zr,ho,Wt,qn]);return[(0,re.useCallback)(br=>{var Jr;if(!Fe)return br.filter(ha=>ha!==jo);let Qr=(0,Po.Z)(br);const $r=new Set(Ia),Jo=Gr.map(ho).filter(ha=>!_o.get(ha).disabled),Xr=Jo.every(ha=>$r.has(ha)),To=Jo.some(ha=>$r.has(ha)),oa=()=>{const ha=[];Xr?Jo.forEach(Va=>{$r.delete(Va),ha.push(Va)}):Jo.forEach(Va=>{$r.has(Va)||($r.add(Va),ha.push(Va))});const Sa=Array.from($r);It==null||It(!Xr,Sa.map(Va=>Tr(Va)),ha.map(Va=>Tr(Va))),qn(Sa,"all"),Za(null)};let qo;if(pn!=="radio"){let ha;if(No){const Yo={getPopupContainer:pr,items:No.map((Ri,Ti)=>{const{key:Wi,text:ws,onSelect:ms}=Ri;return{key:Wi!=null?Wi:Ti,onClick:()=>{ms==null||ms(Jo)},label:ws}})};ha=re.createElement("div",{className:`${rr}-selection-extra`},re.createElement(zs.Z,{menu:Yo,getPopupContainer:pr},re.createElement("span",null,re.createElement(Ba.Z,null))))}const Sa=Gr.map((Yo,Ri)=>{const Ti=ho(Yo,Ri),Wi=_o.get(Ti)||{};return Object.assign({checked:$r.has(Ti)},Wi)}).filter(Yo=>{let{disabled:Ri}=Yo;return Ri}),Va=!!Sa.length&&Sa.length===Gr.length,di=Va&&Sa.every(Yo=>{let{checked:Ri}=Yo;return Ri}),fi=Va&&Sa.some(Yo=>{let{checked:Ri}=Yo;return Ri});qo=!Qn&&re.createElement("div",{className:`${rr}-selection`},re.createElement(vs.default,{checked:Va?di:!!Gr.length&&Xr,indeterminate:Va?!di&&fi:!Xr&&To,onChange:oa,disabled:Gr.length===0||Va,"aria-label":ha?"Custom selection":"Select all",skipGroup:!0}),ha)}let _i;pn==="radio"?_i=(ha,Sa,Va)=>{const di=ho(Sa,Va),fi=$r.has(di);return{node:re.createElement(Ss.ZP,Object.assign({},_o.get(di),{checked:fi,onClick:Yo=>Yo.stopPropagation(),onChange:Yo=>{$r.has(di)||Yr(di,!0,[di],Yo.nativeEvent)}})),checked:fi}}:_i=(ha,Sa,Va)=>{var di;const fi=ho(Sa,Va),Yo=$r.has(fi),Ri=ja.has(fi),Ti=_o.get(fi);let Wi;return So==="nest"?Wi=Ri:Wi=(di=Ti==null?void 0:Ti.indeterminate)!==null&&di!==void 0?di:Ri,{node:re.createElement(vs.default,Object.assign({},Ti,{indeterminate:Wi,checked:Yo,skipGroup:!0,onClick:ws=>ws.stopPropagation(),onChange:ws=>{let{nativeEvent:ms}=ws;const{shiftKey:fl}=ms;let Is=-1,ls=-1;if(fl&&Zn){const Ui=new Set([Co,fi]);Jo.some((Mi,gi)=>{if(Ui.has(Mi))if(Is===-1)Is=gi;else return ls=gi,!0;return!1})}if(ls!==-1&&Is!==ls&&Zn){const Ui=Jo.slice(Is,ls+1),Mi=[];Yo?Ui.forEach(Xa=>{$r.has(Xa)&&(Mi.push(Xa),$r.delete(Xa))}):Ui.forEach(Xa=>{$r.has(Xa)||(Mi.push(Xa),$r.add(Xa))});const gi=Array.from($r);Xt==null||Xt(!Yo,gi.map(Xa=>Tr(Xa)),Mi.map(Xa=>Tr(Xa))),qn(gi,"multiple")}else{const Ui=la;if(Zn){const Mi=Yo?(0,Ka._5)(Ui,fi):(0,Ka.L0)(Ui,fi);Yr(fi,!Yo,Mi,ms)}else{const Mi=(0,Ca.S)([].concat((0,Po.Z)(Ui),[fi]),!0,yo,Fo),{checkedKeys:gi,halfCheckedKeys:Xa}=Mi;let Cs=gi;if(Yo){const Js=new Set(gi);Js.delete(fi),Cs=(0,Ca.S)(Array.from(Js),{checked:!1,halfCheckedKeys:Xa},yo,Fo).checkedKeys}Yr(fi,!Yo,Cs,ms)}}Za(Yo?null:fi)}})),checked:Yo}};const vi=(ha,Sa,Va)=>{const{node:di,checked:fi}=_i(ha,Sa,Va);return Un?Un(fi,Sa,Va,di):di};if(!Qr.includes(jo))if(Qr.findIndex(ha=>{var Sa;return((Sa=ha[to])===null||Sa===void 0?void 0:Sa.columnType)==="EXPAND_COLUMN"})===0){const[ha,...Sa]=Qr;Qr=[ha,jo].concat((0,Po.Z)(Sa))}else Qr=[jo].concat((0,Po.Z)(Qr));const ps=Qr.indexOf(jo);Qr=Qr.filter((ha,Sa)=>ha!==jo||Sa===ps);const li=Qr[ps-1],ss=Qr[ps+1];let ci=Xn;ci===void 0&&((ss==null?void 0:ss.fixed)!==void 0?ci=ss.fixed:(li==null?void 0:li.fixed)!==void 0&&(ci=li.fixed)),ci&&li&&((Jr=li[to])===null||Jr===void 0?void 0:Jr.columnType)==="EXPAND_COLUMN"&&li.fixed===void 0&&(li.fixed=ci);const Bi=Ee()(`${rr}-selection-col`,{[`${rr}-selection-col-with-dropdown`]:xn&&pn==="checkbox"}),Ys={fixed:ci,width:hn,className:`${rr}-selection-column`,title:Fe.columnTitle||qo,render:vi,onCell:Fe.onCell,[to]:{className:Bi}};return Qr.map(ha=>ha===jo?Ys:ha)},[ho,Gr,Fe,la,Ia,ja,hn,No,So,Co,_o,Xt,Yr,Fo]),Ia]},ga=pe(33463),Oi=pe(28575),Qa=pe(83062);const va="ascend",qa="descend";function xi(De){return typeof De.sorter=="object"&&typeof De.sorter.multiple=="number"?De.sorter.multiple:!1}function ts(De){return typeof De=="function"?De:De&&typeof De=="object"&&De.compare?De.compare:!1}function bs(De,Fe){return Fe?De[De.indexOf(Fe)+1]:De[0]}function pi(De,Fe,et){let lt=[];function ht(yt,Lt){lt.push({column:yt,key:Ga(yt,Lt),multiplePriority:xi(yt),sortOrder:yt.sortOrder})}return(De||[]).forEach((yt,Lt)=>{const Dt=Ci(Lt,et);yt.children?("sortOrder"in yt&&ht(yt,Dt),lt=[].concat((0,Po.Z)(lt),(0,Po.Z)(pi(yt.children,Fe,Dt)))):yt.sorter&&("sortOrder"in yt?ht(yt,Dt):Fe&&yt.defaultSortOrder&&lt.push({column:yt,key:Ga(yt,Dt),multiplePriority:xi(yt),sortOrder:yt.defaultSortOrder}))}),lt}function bi(De,Fe,et,lt,ht,yt,Lt,Dt){return(Fe||[]).map((It,Wt)=>{const nn=Ci(Wt,Dt);let Xt=It;if(Xt.sorter){const hn=Xt.sortDirections||ht,pn=Xt.showSorterTooltip===void 0?Lt:Xt.showSorterTooltip,xn=Ga(Xt,nn),Xn=et.find(So=>{let{key:yr}=So;return yr===xn}),Un=Xn?Xn.sortOrder:null,Qn=bs(hn,Un);let Zn;if(It.sortIcon)Zn=It.sortIcon({sortOrder:Un});else{const So=hn.includes(va)&&re.createElement(Oi.Z,{className:Ee()(`${De}-column-sorter-up`,{active:Un===va})}),yr=hn.includes(qa)&&re.createElement(ga.Z,{className:Ee()(`${De}-column-sorter-down`,{active:Un===qa})});Zn=re.createElement("span",{className:Ee()(`${De}-column-sorter`,{[`${De}-column-sorter-full`]:!!(So&&yr)})},re.createElement("span",{className:`${De}-column-sorter-inner`,"aria-hidden":"true"},So,yr))}const{cancelSort:rr,triggerAsc:jr,triggerDesc:Zr}=yt||{};let Tr=rr;Qn===qa?Tr=Zr:Qn===va&&(Tr=jr);const ho=typeof pn=="object"?pn:{title:Tr};Xt=Object.assign(Object.assign({},Xt),{className:Ee()(Xt.className,{[`${De}-column-sort`]:Un}),title:So=>{const yr=re.createElement("div",{className:`${De}-column-sorters`},re.createElement("span",{className:`${De}-column-title`},Qi(It.title,So)),Zn);return pn?re.createElement(Qa.Z,Object.assign({},ho),yr):yr},onHeaderCell:So=>{const yr=It.onHeaderCell&&It.onHeaderCell(So)||{},Ar=yr.onClick,pr=yr.onKeyDown;yr.onClick=zr=>{lt({column:It,key:xn,sortOrder:Qn,multiplePriority:xi(It)}),Ar==null||Ar(zr)},yr.onKeyDown=zr=>{zr.keyCode===en.Z.ENTER&&(lt({column:It,key:xn,sortOrder:Qn,multiplePriority:xi(It)}),pr==null||pr(zr))};const or=us(It.title,{}),Cr=or==null?void 0:or.toString();return Un?yr["aria-sort"]=Un==="ascend"?"ascending":"descending":yr["aria-label"]=Cr||"",yr.className=Ee()(yr.className,`${De}-column-has-sorters`),yr.tabIndex=0,It.ellipsis&&(yr.title=(or!=null?or:"").toString()),yr}})}return"children"in Xt&&(Xt=Object.assign(Object.assign({},Xt),{children:bi(De,Xt.children,et,lt,ht,yt,Lt,nn)})),Xt})}function Zi(De){const{column:Fe,sortOrder:et}=De;return{column:Fe,order:et,field:Fe.dataIndex,columnKey:Fe.key}}function Pi(De){const Fe=De.filter(et=>{let{sortOrder:lt}=et;return lt}).map(Zi);return Fe.length===0&&De.length?Object.assign(Object.assign({},Zi(De[De.length-1])),{column:void 0}):Fe.length<=1?Fe[0]||{}:Fe}function Ea(De,Fe,et){const lt=Fe.slice().sort((Lt,Dt)=>Dt.multiplePriority-Lt.multiplePriority),ht=De.slice(),yt=lt.filter(Lt=>{let{column:{sorter:Dt},sortOrder:It}=Lt;return ts(Dt)&&It});return yt.length?ht.sort((Lt,Dt)=>{for(let It=0;It<yt.length;It+=1){const Wt=yt[It],{column:{sorter:nn},sortOrder:Xt}=Wt,hn=ts(nn);if(hn&&Xt){const pn=hn(Lt,Dt,Xt);if(pn!==0)return Xt===va?pn:-pn}}return 0}).map(Lt=>{const Dt=Lt[et];return Dt?Object.assign(Object.assign({},Lt),{[et]:Ea(Dt,Fe,et)}):Lt}):ht}function Ao(De){let{prefixCls:Fe,mergedColumns:et,onSorterChange:lt,sortDirections:ht,tableLocale:yt,showSorterTooltip:Lt}=De;const[Dt,It]=re.useState(pi(et,!0)),Wt=re.useMemo(()=>{let xn=!0;const Xn=pi(et,!1);if(!Xn.length)return Dt;const Un=[];function Qn(rr){xn?Un.push(rr):Un.push(Object.assign(Object.assign({},rr),{sortOrder:null}))}let Zn=null;return Xn.forEach(rr=>{Zn===null?(Qn(rr),rr.sortOrder&&(rr.multiplePriority===!1?xn=!1:Zn=!0)):(Zn&&rr.multiplePriority!==!1||(xn=!1),Qn(rr))}),Un},[et,Dt]),nn=re.useMemo(()=>{const xn=Wt.map(Xn=>{let{column:Un,sortOrder:Qn}=Xn;return{column:Un,order:Qn}});return{sortColumns:xn,sortColumn:xn[0]&&xn[0].column,sortOrder:xn[0]&&xn[0].order}},[Wt]);function Xt(xn){let Xn;xn.multiplePriority===!1||!Wt.length||Wt[0].multiplePriority===!1?Xn=[xn]:Xn=[].concat((0,Po.Z)(Wt.filter(Un=>{let{key:Qn}=Un;return Qn!==xn.key})),[xn]),It(Xn),lt(Pi(Xn),Xn)}return[xn=>bi(Fe,xn,Wt,Xt,ht,yt,Lt),Wt,nn,()=>Pi(Wt)]}function oi(De,Fe){return De.map(et=>{const lt=Object.assign({},et);return lt.title=Qi(et.title,Fe),"children"in lt&&(lt.children=oi(lt.children,Fe)),lt})}function Ai(De){return[re.useCallback(et=>oi(et,De),[De])]}var ns=gr((De,Fe)=>{const{_renderTimes:et}=De,{_renderTimes:lt}=Fe;return et!==lt}),_s=ko((De,Fe)=>{const{_renderTimes:et}=De,{_renderTimes:lt}=Fe;return et!==lt}),Vi=pe(84780),Ns=pe(14747),Qs=pe(67968),Xi=pe(45503),Yi=De=>{const{componentCls:Fe}=De,et=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`,lt=(ht,yt,Lt)=>({[`&${Fe}-${ht}`]:{[`> ${Fe}-container`]:{[`> ${Fe}-content, > ${Fe}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Fe}-expanded-row-fixed`]:{margin:`-${yt}px -${Lt+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}}}},el=De=>{const{componentCls:Fe}=De;return{[`${Fe}-wrapper`]:{[`${Fe}-cell-ellipsis`]:Object.assign(Object.assign({},Ns.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"}})}}},sl=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}}}}},ll=pe(49867),Di=De=>{const{componentCls:Fe,antCls:et,controlInteractiveSize:lt,motionDurationSlow:ht,lineWidth:yt,paddingXS:Lt,lineType:Dt,tableBorderColor:It,tableExpandIconBg:Wt,tableExpandColumnWidth:nn,borderRadius:Xt,fontSize:hn,fontSizeSM:pn,lineHeight:xn,tablePaddingVertical:Xn,tablePaddingHorizontal:Un,tableExpandedRowBg:Qn,paddingXXS:Zn}=De,rr=lt/2-yt,jr=rr*2+yt*3,Zr=`${yt}px ${Dt} ${It}`,Tr=Zn-yt;return{[`${Fe}-wrapper`]:{[`${Fe}-expand-icon-col`]:{width:nn},[`${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,ll.N)(De)),{position:"relative",float:"left",boxSizing:"border-box",width:jr,height:jr,padding:0,color:"inherit",lineHeight:`${jr}px`,background:Wt,border:Zr,borderRadius:Xt,transform:`scale(${lt/jr})`,transition:`all ${ht}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ht} ease-out`,content:'""'},"&::before":{top:rr,insetInlineEnd:Tr,insetInlineStart:Tr,height:yt},"&::after":{top:Tr,bottom:Tr,insetInlineStart:rr,width:yt,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:(hn*xn-yt*3)/2-Math.ceil((pn*1.4-yt*3)/2),marginInlineEnd:Lt},[`tr${Fe}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Qn}},[`${et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Fe}-expanded-row-fixed`]:{position:"relative",margin:`-${Xn}px -${Un}px`,padding:`${Xn}px ${Un}px`}}}},cl=De=>{const{componentCls:Fe,antCls:et,iconCls:lt,tableFilterDropdownWidth:ht,tableFilterDropdownSearchWidth:yt,paddingXXS:Lt,paddingXS:Dt,colorText:It,lineWidth:Wt,lineType:nn,tableBorderColor:Xt,tableHeaderIconColor:hn,fontSizeSM:pn,tablePaddingHorizontal:xn,borderRadius:Xn,motionDurationSlow:Un,colorTextDescription:Qn,colorPrimary:Zn,tableHeaderFilterActiveBg:rr,colorTextDisabled:jr,tableFilterDropdownBg:Zr,tableFilterDropdownHeight:Tr,controlItemBgHover:ho,controlItemBgActive:So,boxShadowSecondary:yr,filterDropdownMenuBg:Ar}=De,pr=`${et}-dropdown`,or=`${Fe}-filter-dropdown`,Cr=`${et}-tree`,zr=`${Wt}px ${nn} ${Xt}`;return[{[`${Fe}-wrapper`]:{[`${Fe}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Fe}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Lt,marginInline:`${Lt}px ${-xn/2}px`,padding:`0 ${Lt}px`,color:hn,fontSize:pn,borderRadius:Xn,cursor:"pointer",transition:`all ${Un}`,"&:hover":{color:Qn,background:rr},"&.active":{color:Zn}}}},{[`${et}-dropdown`]:{[or]:Object.assign(Object.assign({},(0,Ns.Wf)(De)),{minWidth:ht,backgroundColor:Zr,borderRadius:Xn,boxShadow:yr,overflow:"hidden",[`${pr}-menu`]:{maxHeight:Tr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ar,"&:empty::after":{display:"block",padding:`${Dt}px 0`,color:jr,fontSize:pn,textAlign:"center",content:'"Not Found"'}},[`${or}-tree`]:{paddingBlock:`${Dt}px 0`,paddingInline:Dt,[Cr]:{padding:0},[`${Cr}-treenode ${Cr}-node-content-wrapper:hover`]:{backgroundColor:ho},[`${Cr}-treenode-checkbox-checked ${Cr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:So}}},[`${or}-search`]:{padding:Dt,borderBottom:zr,"&-input":{input:{minWidth:yt},[lt]:{color:jr}}},[`${or}-checkall`]:{width:"100%",marginBottom:Lt,marginInlineStart:Lt},[`${or}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Dt-Wt}px ${Dt}px`,overflow:"hidden",borderTop:zr}})}},{[`${et}-dropdown ${or}, ${or}-submenu`]:{[`${et}-checkbox-wrapper + span`]:{paddingInlineStart:Dt,color:It},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},ki=De=>{const{componentCls:Fe,lineWidth:et,colorSplit:lt,motionDurationSlow:ht,zIndexTableFixed:yt,tableBg:Lt,zIndexTableSticky:Dt}=De,It=lt;return{[`${Fe}-wrapper`]:{[`
${Fe}-cell-fix-left,
${Fe}-cell-fix-right
`]:{position:"sticky !important",zIndex:yt,background:Lt},[`
${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 ${ht}`,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 ${ht}`,content:'""',pointerEvents:"none"},[`${Fe}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Dt+1,width:30,transition:`box-shadow ${ht}`,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}`}}}}},$s=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"}}}}},si=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`}}}}},as=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"}}}}},Ws=De=>{const{componentCls:Fe,antCls:et,iconCls:lt,fontSizeIcon:ht,padding:yt,paddingXS:Lt,tableHeaderIconColor:Dt,tableHeaderIconColorHover:It,tableSelectionColumnWidth:Wt}=De;return{[`${Fe}-wrapper`]:{[`${Fe}-selection-col`]:{width:Wt,[`&${Fe}-selection-col-with-dropdown`]:{width:Wt+ht+yt/4}},[`${Fe}-bordered ${Fe}-selection-col`]:{width:Wt+Lt*2,[`&${Fe}-selection-col-with-dropdown`]:{width:Wt+ht+yt/4+Lt*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:Dt,fontSize:ht,verticalAlign:"baseline","&:hover":{color:It}}}}}},Ks=De=>{const{componentCls:Fe}=De,et=(lt,ht,yt,Lt)=>({[`${Fe}${Fe}-${lt}`]:{fontSize:Lt,[`
${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:`${ht}px ${yt}px`},[`${Fe}-filter-trigger`]:{marginInlineEnd:`-${yt/2}px`},[`${Fe}-expanded-row-fixed`]:{margin:`-${ht}px -${yt}px`},[`${Fe}-tbody`]:{[`${Fe}-wrapper:only-child ${Fe}`]:{marginBlock:`-${ht}px`,marginInline:`${De.tableExpandColumnWidth-yt}px -${yt}px`}},[`${Fe}-selection-column`]:{paddingInlineStart:`${yt/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))}},Ds=De=>{const{componentCls:Fe,marginXXS:et,fontSizeIcon:lt,tableHeaderIconColor:ht,tableHeaderIconColorHover:yt}=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:ht,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:yt}}}},Zs=De=>{const{componentCls:Fe,opacityLoading:et,tableScrollThumbBg:lt,tableScrollThumbBgHover:ht,tableScrollThumbSize:yt,tableScrollBg:Lt,zIndexTableSticky:Dt,stickyScrollBarBorderRadius:It}=De,Wt=`${De.lineWidth}px ${De.lineType} ${De.tableBorderColor}`;return{[`${Fe}-wrapper`]:{[`${Fe}-sticky`]:{"&-holder":{position:"sticky",zIndex:Dt,background:De.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${yt}px !important`,zIndex:Dt,display:"flex",alignItems:"center",background:Lt,borderTop:Wt,opacity:et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:yt,backgroundColor:lt,borderRadius:It,transition:`all ${De.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ht}}}}}}},Vs=De=>{const{componentCls:Fe,lineWidth:et,tableBorderColor:lt}=De,ht=`${et}px ${De.lineType} ${lt}`;return{[`${Fe}-wrapper`]:{[`${Fe}-summary`]:{position:"relative",zIndex:De.zIndexTableFixed,background:De.tableBg,"> tr":{"> th, > td":{borderBottom:ht}}},[`div${Fe}-summary`]:{boxShadow:`0 -${et}px 0 ${lt}`}}}},hs=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 Os=De=>{const{componentCls:Fe,fontWeightStrong:et,tablePaddingVertical:lt,tablePaddingHorizontal:ht,lineWidth:yt,lineType:Lt,tableBorderColor:Dt,tableFontSize:It,tableBg:Wt,tableRadius:nn,tableHeaderTextColor:Xt,motionDurationMid:hn,tableHeaderBg:pn,tableHeaderCellSplitColor:xn,tableRowHoverBg:Xn,tableSelectedRowBg:Un,tableSelectedRowHoverBg:Qn,tableFooterTextColor:Zn,tableFooterBg:rr,paddingContentVerticalLG:jr}=De,Zr=`${yt}px ${Lt} ${Dt}`;return{[`${Fe}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ns.dF)()),{[Fe]:Object.assign(Object.assign({},(0,Ns.Wf)(De)),{fontSize:It,background:Wt,borderRadius:`${nn}px ${nn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${nn}px ${nn}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:`${jr}px ${ht}px`,overflowWrap:"break-word"},[`${Fe}-title`]:{padding:`${lt}px ${ht}px`},[`${Fe}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Xt,fontWeight:et,textAlign:"start",background:pn,borderBottom:Zr,transition:`background ${hn} 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:xn,transform:"translateY(-50%)",transition:`background-color ${hn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Fe}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${hn}, border-color ${hn}`,borderBottom:Zr,[`
> ${Fe}-wrapper:only-child,
> ${Fe}-expanded-row-fixed > ${Fe}-wrapper:only-child
`]:{[Fe]:{marginBlock:`-${lt}px`,marginInline:`${De.tableExpandColumnWidth-ht}px -${ht}px`,[`${Fe}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Xt,fontWeight:et,textAlign:"start",background:pn,borderBottom:Zr,transition:`background ${hn} ease`},[`
&${Fe}-row:hover > th,
&${Fe}-row:hover > td,
> th${Fe}-cell-row-hover,
> td${Fe}-cell-row-hover
`]:{background:Xn},[`&${Fe}-row-selected`]:{"> th, > td":{background:Un},"&:hover > th, &:hover > td":{background:Qn}}}},[`${Fe}-footer`]:{padding:`${lt}px ${ht}px`,color:Zn,background:rr}})}};var As=(0,Qs.Z)("Table",De=>{const{colorTextHeading:Fe,colorSplit:et,colorIcon:lt,colorIconHover:ht,opacityLoading:yt,colorBgContainer:Lt,controlInteractiveSize:Dt,headerBg:It,headerColor:Wt,headerSortActiveBg:nn,headerSortHoverBg:Xt,bodySortBg:hn,rowHoverBg:pn,rowSelectedBg:xn,rowSelectedHoverBg:Xn,rowExpandedBg:Un,cellPaddingBlock:Qn,cellPaddingInline:Zn,cellPaddingBlockMD:rr,cellPaddingInlineMD:jr,cellPaddingBlockSM:Zr,cellPaddingInlineSM:Tr,borderColor:ho,footerBg:So,footerColor:yr,headerBorderRadius:Ar,cellFontSize:pr,cellFontSizeMD:or,cellFontSizeSM:Cr,headerSplitColor:zr,fixedHeaderSortActiveBg:bo,headerFilterHoverBg:yo,filterDropdownBg:Gr,expandIconBg:_o,selectionColumnWidth:Fo,stickyScrollBarBg:la}=De,Xo=new Vi.C(lt),Ia=new Vi.C(ht),ja=2,Co=(0,Xi.TS)(De,{tableFontSize:pr,tableBg:Lt,tableRadius:Ar,tablePaddingVertical:Qn,tablePaddingHorizontal:Zn,tablePaddingVerticalMiddle:rr,tablePaddingHorizontalMiddle:jr,tablePaddingVerticalSmall:Zr,tablePaddingHorizontalSmall:Tr,tableBorderColor:ho,tableHeaderTextColor:Wt,tableHeaderBg:It,tableFooterTextColor:yr,tableFooterBg:So,tableHeaderCellSplitColor:zr,tableHeaderSortBg:nn,tableHeaderSortHoverBg:Xt,tableHeaderIconColor:Xo.clone().setAlpha(Xo.getAlpha()*yt).toRgbString(),tableHeaderIconColorHover:Ia.clone().setAlpha(Ia.getAlpha()*yt).toRgbString(),tableBodySortBg:hn,tableFixedHeaderSortActiveBg:bo,tableHeaderFilterActiveBg:yo,tableFilterDropdownBg:Gr,tableRowHoverBg:pn,tableSelectedRowBg:xn,tableSelectedRowHoverBg:Xn,zIndexTableFixed:ja,zIndexTableSticky:ja+1,tableFontSizeMiddle:or,tableFontSizeSmall:Cr,tableSelectionColumnWidth:Fo,tableExpandIconBg:_o,tableExpandColumnWidth:Dt+2*De.padding,tableExpandedRowBg:Un,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:la,tableScrollThumbBgHover:Fe,tableScrollBg:et});return[Os(Co),$s(Co),Vs(Co),Ds(Co),cl(Co),Yi(Co),si(Co),Di(Co),Vs(Co),sl(Co),Ws(Co),ki(Co),Zs(Co),el(Co),Ks(Co),as(Co),hs(Co)]},De=>{const{colorFillAlter:Fe,colorBgContainer:et,colorTextHeading:lt,colorFillSecondary:ht,colorFillContent:yt,controlItemBgActive:Lt,controlItemBgActiveHover:Dt,padding:It,paddingSM:Wt,paddingXS:nn,colorBorderSecondary:Xt,borderRadiusLG:hn,fontSize:pn,controlHeight:xn,colorTextPlaceholder:Xn}=De,Un=new Vi.C(ht).onBackground(et).toHexShortString(),Qn=new Vi.C(yt).onBackground(et).toHexShortString(),Zn=new Vi.C(Fe).onBackground(et).toHexShortString();return{headerBg:Zn,headerColor:lt,headerSortActiveBg:Un,headerSortHoverBg:Qn,bodySortBg:Zn,rowHoverBg:Zn,rowSelectedBg:Lt,rowSelectedHoverBg:Dt,rowExpandedBg:Fe,cellPaddingBlock:It,cellPaddingInline:It,cellPaddingBlockMD:Wt,cellPaddingInlineMD:nn,cellPaddingBlockSM:nn,cellPaddingInlineSM:nn,borderColor:Xt,headerBorderRadius:hn,footerBg:Zn,footerColor:lt,cellFontSize:pn,cellFontSizeMD:pn,cellFontSizeSM:pn,headerSplitColor:Xt,fixedHeaderSortActiveBg:Un,headerFilterHoverBg:yt,filterDropdownMenuBg:et,filterDropdownBg:et,expandIconBg:et,selectionColumnWidth:xn,stickyScrollBarBg:Xn,stickyScrollBarBorderRadius:100}});const Rs=[],Xs=(De,Fe)=>{const{prefixCls:et,className:lt,rootClassName:ht,style:yt,size:Lt,bordered:Dt,dropdownPrefixCls:It,dataSource:Wt,pagination:nn,rowSelection:Xt,rowKey:hn="key",rowClassName:pn,columns:xn,children:Xn,childrenColumnName:Un,onChange:Qn,getPopupContainer:Zn,loading:rr,expandIcon:jr,expandable:Zr,expandedRowRender:Tr,expandIconColumnIndex:ho,indentSize:So,scroll:yr,sortDirections:Ar,locale:pr,showSorterTooltip:or=!0,virtual:Cr}=De,zr=re.useMemo(()=>xn||Pn(Xn),[xn,Xn]),bo=re.useMemo(()=>zr.some(aa=>aa.responsive),[zr]),yo=(0,ti.Z)(bo),Gr=re.useMemo(()=>{const aa=new Set(Object.keys(yo).filter(Na=>yo[Na]));return zr.filter(Na=>!Na.responsive||Na.responsive.some(wi=>aa.has(wi)))},[zr,yo]),_o=(0,kr.Z)(De,["className","style","columns"]),{locale:Fo=Ma.Z,direction:la,table:Xo,renderEmpty:Ia,getPrefixCls:ja,getPopupContainer:Co}=re.useContext(Ja.E_),Za=(0,xa.Z)(Lt),qn=Object.assign(Object.assign({},Fo.Table),pr),Yr=Wt||Rs,No=ja("table",et),ya=ja("dropdown",It),br=Object.assign({childrenColumnName:Un,expandIconColumnIndex:ho},Zr),{childrenColumnName:Jr="children"}=br,Qr=re.useMemo(()=>Yr.some(aa=>aa==null?void 0:aa[Jr])?"nest":Tr||Zr&&Zr.expandedRowRender?"row":null,[Yr]),$r={body:re.useRef()},Jo=re.useMemo(()=>typeof hn=="function"?hn:aa=>aa==null?void 0:aa[hn],[hn]),[Xr]=Oa(Yr,Jr,Jo),To={},oa=function(aa,Na){let wi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ya,Li,Hi;const zi=Object.assign(Object.assign({},To),aa);wi&&((Ya=To.resetPagination)===null||Ya===void 0||Ya.call(To),!((Li=zi.pagination)===null||Li===void 0)&&Li.current&&(zi.pagination.current=1),nn&&nn.onChange&&nn.onChange(1,(Hi=zi.pagination)===null||Hi===void 0?void 0:Hi.pageSize)),yr&&yr.scrollToFirstRowOnChange!==!1&&$r.body.current&&(0,za.Z)(0,{getContainer:()=>$r.body.current}),Qn==null||Qn(zi.pagination,zi.filters,zi.sorter,{currentDataSource:Vo(Ea(Yr,zi.sorterStates,Jr),zi.filterStates),action:Na})},qo=(aa,Na)=>{oa({sorter:aa,sorterStates:Na},"sort",!1)},[_i,vi,ps,li]=Ao({prefixCls:No,mergedColumns:Gr,onSorterChange:qo,sortDirections:Ar||["ascend","descend"],tableLocale:qn,showSorterTooltip:or}),ss=re.useMemo(()=>Ea(Yr,vi,Jr),[Yr,vi]);To.sorter=li(),To.sorterStates=vi;const ci=(aa,Na)=>{oa({filters:aa,filterStates:Na},"filter",!0)},[Bi,Ys,ha]=Vr({prefixCls:No,locale:qn,dropdownPrefixCls:ya,mergedColumns:Gr,onFilterChange:ci,getPopupContainer:Zn||Co}),Sa=Vo(ss,Ys);To.filters=ha,To.filterStates=Ys;const Va=re.useMemo(()=>{const aa={};return Object.keys(ha).forEach(Na=>{ha[Na]!==null&&(aa[Na]=ha[Na])}),Object.assign(Object.assign({},ps),{filters:aa})},[ps,ha]),[di]=Ai(Va),fi=(aa,Na)=>{oa({pagination:Object.assign(Object.assign({},To.pagination),{current:aa,pageSize:Na})},"paginate")},[Yo,Ri]=ra(Sa.length,fi,nn);To.pagination=nn===!1?{}:ii(Yo,nn),To.resetPagination=Ri;const Ti=re.useMemo(()=>{if(nn===!1||!Yo.pageSize)return Sa;const{current:aa=1,total:Na,pageSize:wi=Fa}=Yo;return Sa.length<Na?Sa.length>wi?Sa.slice((aa-1)*wi,aa*wi):Sa:Sa.slice((aa-1)*wi,aa*wi)},[!!nn,Sa,Yo&&Yo.current,Yo&&Yo.pageSize,Yo&&Yo.total]),[Wi,ws]=Ni({prefixCls:No,data:Sa,pageData:Ti,getRowKey:Jo,getRecordByKey:Xr,expandType:Qr,childrenColumnName:Jr,locale:qn,getPopupContainer:Zn||Co},Xt),ms=(aa,Na,wi)=>{let Ya;return typeof pn=="function"?Ya=Ee()(pn(aa,Na,wi)):Ya=Ee()(pn),Ee()({[`${No}-row-selected`]:ws.has(Jo(aa,Na))},Ya)};br.__PARENT_RENDER_ICON__=br.expandIcon,br.expandIcon=br.expandIcon||jr||La(qn),Qr==="nest"&&br.expandIconColumnIndex===void 0?br.expandIconColumnIndex=Xt?1:0:br.expandIconColumnIndex>0&&Xt&&(br.expandIconColumnIndex-=1),typeof br.indentSize!="number"&&(br.indentSize=typeof So=="number"?So:15);const fl=re.useCallback(aa=>di(Wi(Bi(_i(aa)))),[_i,Bi,Wi]);let Is,ls;if(nn!==!1&&(Yo!=null&&Yo.total)){let aa;Yo.size?aa=Yo.size:aa=Za==="small"||Za==="middle"?"small":void 0;const Na=Li=>re.createElement(ka.Z,Object.assign({},Yo,{className:Ee()(`${No}-pagination ${No}-pagination-${Li}`,Yo.className),size:aa})),wi=la==="rtl"?"left":"right",{position:Ya}=Yo;if(Ya!==null&&Array.isArray(Ya)){const Li=Ya.find(js=>js.includes("top")),Hi=Ya.find(js=>js.includes("bottom")),zi=Ya.every(js=>`${js}`=="none");!Li&&!Hi&&!zi&&(ls=Na(wi)),Li&&(Is=Na(Li.toLowerCase().replace("top",""))),Hi&&(ls=Na(Hi.toLowerCase().replace("bottom","")))}else ls=Na(wi)}let Ui;typeof rr=="boolean"?Ui={spinning:rr}:typeof rr=="object"&&(Ui=Object.assign({spinning:!0},rr));const[Mi,gi]=As(No),[,Xa]=(0,yi.Z)(),Cs=Ee()(`${No}-wrapper`,Xo==null?void 0:Xo.className,{[`${No}-wrapper-rtl`]:la==="rtl"},lt,ht,gi),Js=Object.assign(Object.assign({},Xo==null?void 0:Xo.style),yt),ks=pr&&pr.emptyText||(Ia==null?void 0:Ia("Table"))||re.createElement(hi.Z,{componentName:"Table"}),Es=Cr?_s:ns,gl={},vl=re.useMemo(()=>{const{fontSize:aa,lineHeight:Na,padding:wi,paddingXS:Ya,paddingSM:Li}=Xa,Hi=Math.floor(aa*Na);switch(Za){case"large":return wi*2+Hi;case"small":return Ya*2+Hi;default:return Li*2+Hi}},[Xa,Za]);return Cr&&(gl.listItemHeight=vl),Mi(re.createElement("div",{ref:Fe,className:Cs,style:Js},re.createElement(ni.Z,Object.assign({spinning:!1},Ui),Is,re.createElement(Es,Object.assign({},gl,_o,{columns:Gr,direction:la,expandable:br,prefixCls:No,className:Ee()({[`${No}-middle`]:Za==="middle",[`${No}-small`]:Za==="small",[`${No}-bordered`]:Dt,[`${No}-empty`]:Yr.length===0}),data:Ti,rowKey:Jo,rowClassName:ms,emptyText:ks,internalHooks:xe,internalRefs:$r,transformColumns:fl})),ls)))};var ol=re.forwardRef(Xs);const is=(De,Fe)=>{const et=re.useRef(0);return et.current+=1,re.createElement(ol,Object.assign({},De,{ref:Fe,_renderTimes:et.current}))},$i=re.forwardRef(is);$i.SELECTION_COLUMN=jo,$i.EXPAND_COLUMN=be,$i.SELECTION_ALL=ei,$i.SELECTION_INVERT=fa,$i.SELECTION_NONE=ri,$i.Column=$o,$i.ColumnGroup=Da,$i.Summary=ct;var Fi=$i,Ms=Fi},79753:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return mo}});var be=pe(67294),xe=pe.t(be,2),E=pe(1413),he=pe(87462),fe=pe(71002),se=pe(97685),re=pe(45987),ie=pe(73935),le=pe(98924),ce=pe(80334),ae=pe(42550),oe=be.createContext(null),ne=oe,z=pe(74902),a=pe(8410),y=[];function x(Sn,ln){var mn=be.useState(function(){if(!(0,le.Z)())return null;var zn=document.createElement("div");return zn}),Ln=(0,se.Z)(mn,1),Wn=Ln[0],lr=be.useRef(!1),er=be.useContext(ne),Wr=be.useState(y),Br=(0,se.Z)(Wr,2),cr=Br[0],Mt=Br[1],jt=er||(lr.current?void 0:function(zn){Mt(function($n){var _r=[zn].concat((0,z.Z)($n));return _r})});function Tt(){Wn.parentElement||document.body.appendChild(Wn),lr.current=!0}function wn(){var zn;(zn=Wn.parentElement)===null||zn===void 0||zn.removeChild(Wn),lr.current=!1}return(0,a.Z)(function(){return Sn?er?er(Tt):Tt():wn(),wn},[Sn]),(0,a.Z)(function(){cr.length&&(cr.forEach(function(zn){return zn()}),Mt(y))},[cr]),[Wn,jt]}var b=pe(48981),ee=pe(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(Sn){var ln=!!Sn,mn=be.useState(function(){return de+=1,"".concat(ue,"_").concat(de)}),Ln=(0,se.Z)(mn,1),Wn=Ln[0];(0,a.Z)(function(){if(ln){var lr=(0,ee.o)(document.body).width,er=te();(0,b.hq)(`
html body {
overflow-y: hidden;
`.concat(er?"width: calc(100% - ".concat(lr,"px);"):"",`
}`),Wn)}else(0,b.jL)(Wn);return function(){(0,b.jL)(Wn)}},[ln,Wn])}var ve=!1;function me(Sn){return typeof Sn=="boolean"&&(ve=Sn),ve}var Se=function(ln){return ln===!1?!1:!(0,le.Z)()||!ln?null:typeof ln=="string"?document.querySelector(ln):typeof ln=="function"?ln():ln},ye=be.forwardRef(function(Sn,ln){var mn=Sn.open,Ln=Sn.autoLock,Wn=Sn.getContainer,lr=Sn.debug,er=Sn.autoDestroy,Wr=er===void 0?!0:er,Br=Sn.children,cr=be.useState(mn),Mt=(0,se.Z)(cr,2),jt=Mt[0],Tt=Mt[1],wn=jt||mn;be.useEffect(function(){(Wr||mn)&&Tt(mn)},[mn,Wr]);var zn=be.useState(function(){return Se(Wn)}),$n=(0,se.Z)(zn,2),_r=$n[0],mr=$n[1];be.useEffect(function(){var tn=Se(Wn);mr(tn!=null?tn:null)});var Lr=x(wn&&!_r,lr),ao=(0,se.Z)(Lr,2),vo=ao[0],Cn=ao[1],Kr=_r!=null?_r:vo;ge(Ln&&mn&&(0,le.Z)()&&(Kr===vo||Kr===document.body));var At=null;if(Br&&(0,ae.Yr)(Br)&&ln){var an=Br;At=an.ref}var qt=(0,ae.x1)(At,ln);if(!wn||!(0,le.Z)()||_r===void 0)return null;var on=Kr===!1||me(),In=Br;return ln&&(In=be.cloneElement(Br,{ref:qt})),be.createElement(ne.Provider,{value:Cn},on?In:(0,ie.createPortal)(In,Kr))}),Pe=ye,we=Pe,Te=pe(62709),Ee=pe(94184),_e=pe.n(Ee),Ce=pe(21770),Oe=pe(66680);function Ie(Sn){var ln=window.innerWidth||document.documentElement.clientWidth,mn=window.innerHeight||document.documentElement.clientHeight,Ln=Sn.getBoundingClientRect(),Wn=Ln.top,lr=Ln.right,er=Ln.bottom,Wr=Ln.left;return Wn>=0&&Wr>=0&&lr<=ln&&er<=mn}function Ue(Sn,ln,mn){var Ln;return(Ln=mn!=null?mn:ln)!==null&&Ln!==void 0?Ln:Sn===null?"center":"bottom"}function je(Sn,ln,mn,Ln){var Wn=(0,be.useState)(void 0),lr=(0,se.Z)(Wn,2),er=lr[0],Wr=lr[1];(0,a.Z)(function(){var $n=typeof Sn=="function"?Sn():Sn;Wr($n||null)});var Br=(0,be.useState)(null),cr=(0,se.Z)(Br,2),Mt=cr[0],jt=cr[1],Tt=(0,Oe.Z)(function(){if(er){!Ie(er)&&ln&&er.scrollIntoView(Ln);var $n=er.getBoundingClientRect(),_r=$n.left,mr=$n.top,Lr=$n.width,ao=$n.height,vo={left:_r,top:mr,width:Lr,height:ao,radius:0};jt(function(Cn){return JSON.stringify(Cn)!==JSON.stringify(vo)?vo:Cn})}else jt(null)}),wn=function(_r){var mr;return(mr=Array.isArray(mn==null?void 0:mn.offset)?mn==null?void 0:mn.offset[_r]:mn==null?void 0:mn.offset)!==null&&mr!==void 0?mr:6};(0,a.Z)(function(){return Tt(),window.addEventListener("resize",Tt),function(){window.removeEventListener("resize",Tt)}},[er,ln,Tt]);var zn=(0,be.useMemo)(function(){if(!Mt)return Mt;var $n=wn(0),_r=wn(1),mr=(mn==null?void 0:mn.radius)||2;return{left:Mt.left-$n,top:Mt.top-_r,width:Mt.width+$n*2,height:Mt.height+_r*2,radius:mr}},[Mt,mn]);return[zn,er]}function nt(){var Sn=(0,E.Z)({},xe);return Sn.useId}var Je=0;function Qe(){}function Xe(Sn){var ln=be.useState("ssr-id"),mn=(0,se.Z)(ln,2),Ln=mn[0],Wn=mn[1],lr=nt(),er=lr==null?void 0:lr();return be.useEffect(function(){if(!lr){var Wr=Je;Je+=1,Wn("rc_unique_".concat(Wr))}},[]),Sn||er||Ln}var ze={fill:"transparent",pointerEvents:"auto"},ke=function(ln){var mn=ln.prefixCls,Ln=ln.rootClassName,Wn=ln.pos,lr=ln.showMask,er=ln.style,Wr=er===void 0?{}:er,Br=ln.fill,cr=Br===void 0?"rgba(0,0,0,0.5)":Br,Mt=ln.open,jt=ln.animated,Tt=ln.zIndex,wn=Xe(),zn="".concat(mn,"-mask-").concat(wn),$n=(0,fe.Z)(jt)==="object"?jt==null?void 0:jt.placeholder:jt;return be.createElement(we,{open:Mt,autoLock:!0},be.createElement("div",{className:_e()("".concat(mn,"-mask"),Ln),style:(0,E.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Tt,pointerEvents:"none"},Wr)},lr?be.createElement("svg",{style:{width:"100%",height:"100%"}},be.createElement("defs",null,be.createElement("mask",{id:zn},be.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),Wn&&be.createElement("rect",{x:Wn.left,y:Wn.top,rx:Wn.radius,width:Wn.width,height:Wn.height,fill:"black",className:$n?"".concat(mn,"-placeholder-animated"):""}))),be.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:cr,mask:"url(#".concat(zn,")")}),Wn&&be.createElement(be.Fragment,null,be.createElement("rect",(0,he.Z)({},ze,{x:"0",y:"0",width:"100%",height:Wn.top})),be.createElement("rect",(0,he.Z)({},ze,{x:"0",y:"0",width:Wn.left,height:"100%"})),be.createElement("rect",(0,he.Z)({},ze,{x:"0",y:Wn.top+Wn.height,width:"100%",height:"calc(100vh - ".concat(Wn.top+Wn.height,"px)")})),be.createElement("rect",(0,he.Z)({},ze,{x:Wn.left+Wn.width,y:"0",width:"calc(100vw - ".concat(Wn.left+Wn.width,"px)"),height:"100%"})))):null))},Be=ke,qe={adjustX:1,adjustY:1},Ye=[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 $e(){var Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ln={};return Object.keys(gt).forEach(function(mn){ln[mn]=(0,E.Z)((0,E.Z)({},gt[mn]),{},{autoArrow:Sn,targetOffset:Ye})}),ln}var We=$e();function Re(Sn){var ln=Sn.prefixCls,mn=Sn.current,Ln=Sn.total,Wn=Sn.title,lr=Sn.description,er=Sn.onClose,Wr=Sn.onPrev,Br=Sn.onNext,cr=Sn.onFinish,Mt=Sn.className,jt=Sn.closeIcon,Tt=jt!==!1&&jt!==null,wn=jt!==void 0&&jt!==!0?jt:be.createElement("span",{className:"".concat(ln,"-close-x")},"\xD7");return be.createElement("div",{className:_e()("".concat(ln,"-content"),Mt)},be.createElement("div",{className:"".concat(ln,"-inner")},Tt&&be.createElement("button",{type:"button",onClick:er,"aria-label":"Close",className:"".concat(ln,"-close")},wn),be.createElement("div",{className:"".concat(ln,"-header")},be.createElement("div",{className:"".concat(ln,"-title")},Wn)),be.createElement("div",{className:"".concat(ln,"-description")},lr),be.createElement("div",{className:"".concat(ln,"-footer")},be.createElement("div",{className:"".concat(ln,"-sliders")},Ln>1?(0,z.Z)(Array.from({length:Ln}).keys()).map(function(zn,$n){return be.createElement("span",{key:zn,className:$n===mn?"active":""})}):null),be.createElement("div",{className:"".concat(ln,"-buttons")},mn!==0?be.createElement("button",{className:"".concat(ln,"-prev-btn"),onClick:Wr},"Prev"):null,mn===Ln-1?be.createElement("button",{className:"".concat(ln,"-finish-btn"),onClick:cr},"Finish"):be.createElement("button",{className:"".concat(ln,"-next-btn"),onClick:Br},"Next")))))}var tt=function(ln){var mn=ln.current,Ln=ln.renderPanel;return be.createElement(be.Fragment,null,typeof Ln=="function"?Ln(ln,mn):be.createElement(Re,ln))},Me=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(ln){var mn=ln.prefixCls,Ln=mn===void 0?"rc-tour":mn,Wn=ln.steps,lr=Wn===void 0?[]:Wn,er=ln.defaultCurrent,Wr=ln.current,Br=ln.onChange,cr=ln.onClose,Mt=ln.onFinish,jt=ln.open,Tt=ln.mask,wn=Tt===void 0?!0:Tt,zn=ln.arrow,$n=zn===void 0?!0:zn,_r=ln.rootClassName,mr=ln.placement,Lr=ln.renderPanel,ao=ln.gap,vo=ln.animated,Cn=ln.scrollIntoViewOptions,Kr=Cn===void 0?!0:Cn,At=ln.zIndex,an=At===void 0?1001:At,qt=ln.closeIcon,on=(0,re.Z)(ln,He),In=be.useRef(),tn=(0,Ce.Z)(0,{value:Wr,defaultValue:er}),An=(0,se.Z)(tn,2),cn=An[0],xr=An[1],ur=(0,Ce.Z)(void 0,{value:jt,postState:function(Ot){return cn<0||cn>=lr.length?!1:Ot!=null?Ot:!0}}),Ur=(0,se.Z)(ur,2),to=Ur[0],xo=Ur[1],dn=be.useRef(to);(0,a.Z)(function(){to&&!dn.current&&xr(0),dn.current=to},[to]);var Ro=lr[cn]||{},ea=Ro.target,Po=Ro.placement,ta=Ro.style,Dn=Ro.arrow,ar=Ro.className,Ir=Ro.mask,Bn=Ro.scrollIntoViewOptions,wo=Ro.closeIcon,lo=to&&(Ir!=null?Ir:wn),ia=wo!=null?wo:qt,ca=Bn!=null?Bn:Kr,ua=je(ea,jt,ao,ca),_t=(0,se.Z)(ua,2),Et=_t[0],Qt=_t[1],un=Ue(Qt,mr,Po),Pn=Qt?typeof Dn=="undefined"?$n:Dn:!1,Yn=(0,fe.Z)(Pn)==="object"?Pn.pointAtCenter:!1;(0,a.Z)(function(){var dr;(dr=In.current)===null||dr===void 0||dr.forceAlign()},[Yn,cn]);var vr=function(Ot){xr(Ot),Br==null||Br(Ot)};if(Qt===void 0)return null;var Nr=function(){xo(!1),cr==null||cr(cn)},no=function(){return be.createElement(Me,(0,he.Z)({arrow:Pn,key:"content",prefixCls:Ln,total:lr.length,renderPanel:Lr,onPrev:function(){vr(cn-1)},onNext:function(){vr(cn+1)},onClose:Nr,current:cn,onFinish:function(){Nr(),Mt==null||Mt()},closeIcon:ia},lr[cn]))},uo=typeof lo=="boolean"?lo:!!lo,io=typeof lo=="boolean"?void 0:lo,Bo=function(Ot){return Ot||Qt||document.body};return be.createElement(be.Fragment,null,be.createElement(Be,{zIndex:an,prefixCls:Ln,pos:Et,showMask:uo,style:io==null?void 0:io.style,fill:io==null?void 0:io.color,open:to,animated:vo,rootClassName:_r}),be.createElement(Te.Z,(0,he.Z)({builtinPlacements:$e(Yn)},on,{ref:In,popupStyle:ta,popupPlacement:un,popupVisible:to,popupClassName:_e()(_r,ar),prefixCls:Ln,popup:no,forceRender:!1,destroyPopupOnHide:!0,zIndex:an,getTriggerDOMNode:Bo,arrow:!!Pn}),be.createElement(we,{open:to,autoLock:!0},be.createElement("div",{className:_e()(_r,"".concat(Ln,"-target-placeholder")),style:(0,E.Z)((0,E.Z)({},Et||Ve),{},{position:"fixed",pointerEvents:"none"})}))))},Ke=Ze,Ae=Ke,Le=pe(80636),Ne=pe(53124),Ge=pe(46605),ot=pe(73475),St=pe(71577),wt=pe(10110),rt=pe(24457),bt=pe(69760);function Ft(Sn){return Sn!=null}var st=Sn=>{let{stepProps:ln,current:mn,type:Ln,indicatorsRender:Wn,closeIcon:lr}=Sn;var er,Wr;const{prefixCls:Br,total:cr=1,title:Mt,onClose:jt,onPrev:Tt,onNext:wn,onFinish:zn,cover:$n,description:_r,nextButtonProps:mr,prevButtonProps:Lr,type:ao,className:vo,closeIcon:Cn}=ln,Kr=ao!=null?ao:Ln,At=Cn!=null?Cn:lr,an=At!==!1&&At!==null,[qt,on]=(0,bt.Z)(an,At,Ro=>be.createElement("span",{onClick:jt,"aria-label":"Close",className:`${Br}-close`},Ro),be.createElement(ot.Z,{className:`${Br}-close-icon`}),!0),In=mn===cr-1,tn=()=>{var Ro;Tt==null||Tt(),(Ro=Lr==null?void 0:Lr.onClick)===null||Ro===void 0||Ro.call(Lr)},An=()=>{var Ro;In?zn==null||zn():wn==null||wn(),(Ro=mr==null?void 0:mr.onClick)===null||Ro===void 0||Ro.call(mr)},cn=Ft(Mt)?be.createElement("div",{className:`${Br}-header`},be.createElement("div",{className:`${Br}-title`},Mt)):null,xr=Ft(_r)?be.createElement("div",{className:`${Br}-description`},_r):null,ur=Ft($n)?be.createElement("div",{className:`${Br}-cover`},$n):null;let Ur;Wn?Ur=Wn(mn,cr):Ur=(0,z.Z)(Array.from({length:cr}).keys()).map((Ro,ea)=>be.createElement("span",{key:Ro,className:_e()(ea===mn&&`${Br}-indicator-active`,`${Br}-indicator`)}));const to=Kr==="primary"?"default":"primary",xo={type:"default",ghost:Kr==="primary"},[dn]=(0,wt.Z)("Tour",rt.Z.Tour);return be.createElement("div",{className:_e()(vo,`${Br}-content`)},be.createElement("div",{className:`${Br}-inner`},qt&&on,ur,cn,xr,be.createElement("div",{className:`${Br}-footer`},cr>1&&be.createElement("div",{className:`${Br}-indicators`},Ur),be.createElement("div",{className:`${Br}-buttons`},mn!==0?be.createElement(St.ZP,Object.assign({},xo,Lr,{onClick:tn,size:"small",className:_e()(`${Br}-prev-btn`,Lr==null?void 0:Lr.className)}),(er=Lr==null?void 0:Lr.children)!==null&&er!==void 0?er:dn==null?void 0:dn.Previous):null,be.createElement(St.ZP,Object.assign({type:to},mr,{onClick:An,size:"small",className:_e()(`${Br}-next-btn`,mr==null?void 0:mr.className)}),(Wr=mr==null?void 0:mr.children)!==null&&Wr!==void 0?Wr:In?dn==null?void 0:dn.Finish:dn==null?void 0:dn.Next)))))},Nt=pe(66330),ct=pe(84780),pt=pe(14747),Ct=pe(97414),Rt=pe(67968),zt=pe(45503);const rn=Sn=>{const{componentCls:ln,lineHeight:mn,padding:Ln,paddingXS:Wn,borderRadius:lr,borderRadiusXS:er,colorPrimary:Wr,colorText:Br,colorFill:cr,indicatorHeight:Mt,indicatorWidth:jt,boxShadowTertiary:Tt,tourZIndexPopup:wn,fontSize:zn,colorBgElevated:$n,fontWeightStrong:_r,marginXS:mr,colorTextLightSolid:Lr,tourBorderRadius:ao,colorWhite:vo,colorBgTextHover:Cn,tourCloseSize:Kr,motionDurationSlow:At,antCls:an}=Sn;return[{[ln]:Object.assign(Object.assign({},(0,pt.Wf)(Sn)),{color:Br,position:"absolute",zIndex:wn,display:"block",visibility:"visible",fontSize:zn,lineHeight:mn,width:520,"--antd-arrow-background-color":$n,"&-pure":{maxWidth:"100%",position:"relative"},[`&${ln}-hidden`]:{display:"none"},[`${ln}-content`]:{position:"relative"},[`${ln}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:ao,boxShadow:Tt,position:"relative",backgroundColor:$n,border:"none",backgroundClip:"padding-box",[`${ln}-close`]:{position:"absolute",top:Ln,insetInlineEnd:Ln,color:Sn.colorIcon,outline:"none",width:Kr,height:Kr,borderRadius:Sn.borderRadiusSM,transition:`background-color ${Sn.motionDurationMid}, color ${Sn.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:Sn.colorIconHover,backgroundColor:Sn.wireframe?"transparent":Sn.colorFillContent}},[`${ln}-cover`]:{textAlign:"center",padding:`${Ln+Kr+Wn}px ${Ln}px 0`,img:{width:"100%"}},[`${ln}-header`]:{padding:`${Ln}px ${Ln}px ${Wn}px`,[`${ln}-title`]:{lineHeight:mn,fontSize:zn,fontWeight:_r}},[`${ln}-description`]:{padding:`0 ${Ln}px`,lineHeight:mn,wordWrap:"break-word"},[`${ln}-footer`]:{padding:`${Wn}px ${Ln}px ${Ln}px`,textAlign:"end",borderRadius:`0 0 ${er}px ${er}px`,display:"flex",[`${ln}-indicators`]:{display:"inline-block",[`${ln}-indicator`]:{width:jt,height:Mt,display:"inline-block",borderRadius:"50%",background:cr,"&:not(:last-child)":{marginInlineEnd:Mt},"&-active":{background:Wr}}},[`${ln}-buttons`]:{marginInlineStart:"auto",[`${an}-btn`]:{marginInlineStart:mr}}}},[`${ln}-primary, &${ln}-primary`]:{"--antd-arrow-background-color":Wr,[`${ln}-inner`]:{color:Lr,textAlign:"start",textDecoration:"none",backgroundColor:Wr,borderRadius:lr,boxShadow:Tt,[`${ln}-close`]:{color:Lr},[`${ln}-indicators`]:{[`${ln}-indicator`]:{background:new ct.C(Lr).setAlpha(.15).toRgbString(),"&-active":{background:Lr}}},[`${ln}-prev-btn`]:{color:Lr,borderColor:new ct.C(Lr).setAlpha(.15).toRgbString(),backgroundColor:Wr,"&:hover":{backgroundColor:new ct.C(Lr).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${ln}-next-btn`]:{color:Wr,borderColor:"transparent",background:vo,"&:hover":{background:new ct.C(Cn).onBackground(vo).toRgbString()}}}}}),[`${ln}-mask`]:{[`${ln}-placeholder-animated`]:{transition:`all ${At}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${ln}-inner`]:{borderRadius:Math.min(ao,Ct.qN)}}},(0,Ct.ZP)(Sn,{colorBg:"var(--antd-arrow-background-color)",contentRadius:ao,limitVerticalRadius:!0})]};var kn=(0,Rt.Z)("Tour",Sn=>{const{borderRadiusLG:ln,fontSize:mn,lineHeight:Ln}=Sn,Wn=(0,zt.TS)(Sn,{tourZIndexPopup:Sn.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:ln,tourCloseSize:mn*Ln});return[rn(Wn)]}),jn=pe(8745),Hn=function(Sn,ln){var mn={};for(var Ln in Sn)Object.prototype.hasOwnProperty.call(Sn,Ln)&&ln.indexOf(Ln)<0&&(mn[Ln]=Sn[Ln]);if(Sn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wn=0,Ln=Object.getOwnPropertySymbols(Sn);Wn<Ln.length;Wn++)ln.indexOf(Ln[Wn])<0&&Object.prototype.propertyIsEnumerable.call(Sn,Ln[Wn])&&(mn[Ln[Wn]]=Sn[Ln[Wn]]);return mn};const Pr=Sn=>{const{prefixCls:ln,current:mn=0,total:Ln=6,className:Wn,style:lr,type:er}=Sn,Wr=Hn(Sn,["prefixCls","current","total","className","style","type"]),{getPrefixCls:Br}=be.useContext(Ne.E_),cr=Br("tour",ln),[Mt,jt]=kn(cr);return Mt(be.createElement(Nt.t5,{prefixCls:cr,hashId:jt,className:_e()(Wn,`${cr}-pure`,er&&`${cr}-${er}`),style:lr},be.createElement(st,{stepProps:Object.assign(Object.assign({},Wr),{prefixCls:cr,total:Ln}),current:mn,type:er})))};var fn=(0,jn.i)(Pr),Er=pe(5663),Lo=Sn=>{let{defaultType:ln,steps:mn=[],current:Ln,defaultCurrent:Wn}=Sn;var lr;const[er,Wr]=(0,Er.Z)(Wn,{value:Ln});(0,be.useLayoutEffect)(()=>{Ln!==void 0&&Wr(Ln)},[Ln]);const Br=typeof er=="number"?(lr=mn[er])===null||lr===void 0?void 0:lr.type:ln;return{currentMergedType:Br!=null?Br:ln,updateInnerCurrent:Wr}},zo=function(Sn,ln){var mn={};for(var Ln in Sn)Object.prototype.hasOwnProperty.call(Sn,Ln)&&ln.indexOf(Ln)<0&&(mn[Ln]=Sn[Ln]);if(Sn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wn=0,Ln=Object.getOwnPropertySymbols(Sn);Wn<Ln.length;Wn++)ln.indexOf(Ln[Wn])<0&&Object.prototype.propertyIsEnumerable.call(Sn,Ln[Wn])&&(mn[Ln[Wn]]=Sn[Ln[Wn]]);return mn};const Eo=Sn=>{const{prefixCls:ln,current:mn,defaultCurrent:Ln,type:Wn,rootClassName:lr,indicatorsRender:er,steps:Wr}=Sn,Br=zo(Sn,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:cr,direction:Mt}=(0,be.useContext)(Ne.E_),jt=cr("tour",ln),[Tt,wn]=kn(jt),[,zn]=(0,Ge.Z)(),{currentMergedType:$n,updateInnerCurrent:_r}=Lo({defaultType:Wn,steps:Wr,current:mn,defaultCurrent:Ln}),mr=(0,Le.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:zn.marginXXS,arrowWidth:zn.sizePopupArrow,borderRadius:zn.borderRadius}),Lr=_e()({[`${jt}-primary`]:$n==="primary",[`${jt}-rtl`]:Mt==="rtl"},wn,lr),ao=(Cn,Kr)=>be.createElement(st,{type:Wn,stepProps:Cn,current:Kr,indicatorsRender:er}),vo=Cn=>{var Kr;_r(Cn),(Kr=Sn.onChange)===null||Kr===void 0||Kr.call(Sn,Cn)};return Tt(be.createElement(Ae,Object.assign({},Br,{rootClassName:Lr,prefixCls:jt,current:mn,defaultCurrent:Ln,animated:!0,renderPanel:ao,builtinPlacements:mr,onChange:vo,steps:Wr})))};Eo._InternalPanelDoNotUseOrYouWillBeFired=fn;var mo=Eo},79870:function(xt,ft,pe){"use strict";pe.d(ft,{default:function(){return dr}});var be=pe(87462),xe=pe(4942),E=pe(71002),he=pe(1413),fe=pe(74902),se=pe(15671),re=pe(43144),ie=pe(97326),le=pe(60136),ce=pe(51630),ae=pe(94184),oe=pe.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 Yt=Ut.keyCode;if(Ut.altKey&&!Ut.ctrlKey||Ut.metaKey||Yt>=ne.F1&&Yt<=ne.F12)return!1;switch(Yt){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=pe(34952),y=pe(72978),x=pe(67294),b=pe(69610);function ee(Ot){var Ut=Ot.dropPosition,Yt=Ot.dropLevelOffset,dt=Ot.indent,Jt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ut){case-1:Jt.top=0,Jt.left=-Yt*dt;break;case 1:Jt.bottom=0,Jt.left=-Yt*dt;break;case 0:Jt.bottom=0,Jt.left=dt;break}return x.createElement("div",{style:Jt})}var te=pe(36459),ue=pe(97685),de=pe(45987);function ge(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ve=ge()?x.useLayoutEffect:x.useEffect,me=ve,Se=function(Ut,Yt){var dt=React.useRef(!0);ve(function(){if(!dt.current)return Ut()},Yt),ve(function(){return dt.current=!1,function(){dt.current=!0}},[])},ye=pe(73299),Pe=pe(73935);function we(Ot){return Ot instanceof HTMLElement||Ot instanceof SVGElement}function Te(Ot){return we(Ot)?Ot:Ot instanceof x.Component?Pe.findDOMNode(Ot):null}var Ee=pe(28580);function _e(Ot,Ut,Yt){var dt=React.useRef({});return(!("value"in dt.current)||Yt(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),Yt=0;Yt<Ot;Yt++)Ut[Yt]=arguments[Yt];var dt=Ut.filter(function(Jt){return Jt});return dt.length<=1?dt[0]:function(Jt){Ut.forEach(function(vn){Ce(vn,Jt)})}}function Ie(){for(var Ot=arguments.length,Ut=new Array(Ot),Yt=0;Yt<Ot;Yt++)Ut[Yt]=arguments[Yt];return useMemo(function(){return Oe.apply(void 0,Ut)},Ut,function(dt,Jt){return dt.length===Jt.length&&dt.every(function(vn,yn){return vn===Jt[yn]})})}function Ue(Ot){var Ut,Yt,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"&&!((Yt=Ot.prototype)!==null&&Yt!==void 0&&Yt.render))}function je(Ot,Ut){var Yt={};return Yt[Ot.toLowerCase()]=Ut.toLowerCase(),Yt["Webkit".concat(Ot)]="webkit".concat(Ut),Yt["Moz".concat(Ot)]="moz".concat(Ut),Yt["ms".concat(Ot)]="MS".concat(Ut),Yt["O".concat(Ot)]="o".concat(Ut.toLowerCase()),Yt}function nt(Ot,Ut){var Yt={animationend:je("Animation","AnimationEnd"),transitionend:je("Transition","TransitionEnd")};return Ot&&("AnimationEvent"in Ut||delete Yt.animationend.animation,"TransitionEvent"in Ut||delete Yt.transitionend.transition),Yt}var Je=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=Je[Ot];if(Ut)for(var Yt=Object.keys(Ut),dt=Yt.length,Jt=0;Jt<dt;Jt+=1){var vn=Yt[Jt];if(Object.prototype.hasOwnProperty.call(Ut,vn)&&vn in Qe)return ze[Ot]=Ut[vn],ze[Ot]}return""}var Be=ke("animationend"),qe=ke("transitionend"),Ye=!!(Be&&qe),gt=Be||"animationend",$e=qe||"transitionend";function We(Ot,Ut){if(!Ot)return null;if((0,E.Z)(Ot)==="object"){var Yt=Ut.replace(/-\w/g,function(dt){return dt[1].toUpperCase()});return Ot[Yt]}return"".concat(Ot,"-").concat(Ut)}var Re="none",tt="appear",Me="enter",He="leave",Ve="none",Ze="prepare",Ke="start",Ae="active",Le="end";function Ne(Ot){var Ut=x.useRef(!1),Yt=x.useState(Ot),dt=(0,ue.Z)(Yt,2),Jt=dt[0],vn=dt[1];x.useEffect(function(){return Ut.current=!1,function(){Ut.current=!0}},[]);function yn(Ht,Zt){Zt&&Ut.current||vn(Ht)}return[Jt,yn]}var Ge=function(Ut){return+setTimeout(Ut,16)},ot=function(Ut){return clearTimeout(Ut)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ge=function(Ut){return window.requestAnimationFrame(Ut)},ot=function(Ut){return window.cancelAnimationFrame(Ut)});var St=0,wt=new Map;function rt(Ot){wt.delete(Ot)}var bt=function(Ut){var Yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;St+=1;var dt=St;function Jt(vn){if(vn===0)rt(dt),Ut();else{var yn=Ge(function(){Jt(vn-1)});wt.set(dt,yn)}}return Jt(Yt),dt};bt.cancel=function(Ot){var Ut=wt.get(Ot);return rt(Ut),ot(Ut)};var Ft=bt,$t=function(){var Ot=x.useRef(null);function Ut(){Ft.cancel(Ot.current)}function Yt(dt){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ut();var vn=Ft(function(){Jt<=1?dt({isCanceled:function(){return vn!==Ot.current}}):Yt(dt,Jt-1)});Ot.current=vn}return x.useEffect(function(){return function(){Ut()}},[]),[Yt,Ut]},st=ge()?x.useLayoutEffect:x.useEffect,Nt=st,ct=[Ze,Ke,Ae,Le],pt=!1,Ct=!0;function Rt(Ot){return Ot===Ae||Ot===Le}var zt=function(Ot,Ut){var Yt=Ne(Ve),dt=(0,ue.Z)(Yt,2),Jt=dt[0],vn=dt[1],yn=$t(),Ht=(0,ue.Z)(yn,2),Zt=Ht[0],Kt=Ht[1];function Rn(){vn(Ze,!0)}return Nt(function(){if(Jt!==Ve&&Jt!==Le){var Vn=ct.indexOf(Jt),sr=ct[Vn+1],nr=Ut(Jt);nr===pt?vn(sr,!0):Zt(function(fr){function wr(){fr.isCanceled()||vn(sr,!0)}nr===!0?wr():Promise.resolve(nr).then(wr)})}},[Ot,Jt]),x.useEffect(function(){return function(){Kt()}},[]),[Rn,Jt]},rn=function(Ot){var Ut=(0,x.useRef)(),Yt=(0,x.useRef)(Ot);Yt.current=Ot;var dt=x.useCallback(function(yn){Yt.current(yn)},[]);function Jt(yn){yn&&(yn.removeEventListener($e,dt),yn.removeEventListener(gt,dt))}function vn(yn){Ut.current&&Ut.current!==yn&&Jt(Ut.current),yn&&yn!==Ut.current&&(yn.addEventListener($e,dt),yn.addEventListener(gt,dt),Ut.current=yn)}return x.useEffect(function(){return function(){Jt(Ut.current)}},[]),[vn,Jt]};function kn(Ot,Ut,Yt,dt){var Jt=dt.motionEnter,vn=Jt===void 0?!0:Jt,yn=dt.motionAppear,Ht=yn===void 0?!0:yn,Zt=dt.motionLeave,Kt=Zt===void 0?!0:Zt,Rn=dt.motionDeadline,Vn=dt.motionLeaveImmediately,sr=dt.onAppearPrepare,nr=dt.onEnterPrepare,fr=dt.onLeavePrepare,wr=dt.onAppearStart,Tn=dt.onEnterStart,Vt=dt.onLeaveStart,gn=dt.onAppearActive,On=dt.onEnterActive,Jn=dt.onLeaveActive,Sr=dt.onAppearEnd,Rr=dt.onEnterEnd,ro=dt.onLeaveEnd,Or=dt.onVisibleChanged,ut=Ne(),it=(0,ue.Z)(ut,2),Pt=it[0],Bt=it[1],Gt=Ne(Re),sn=(0,ue.Z)(Gt,2),_n=sn[0],Mn=sn[1],Fn=Ne(null),Kn=(0,ue.Z)(Fn,2),gr=Kn[0],hr=Kn[1],so=(0,x.useRef)(!1),co=(0,x.useRef)(null);function qr(){return Yt()}var po=(0,x.useRef)(!1);function Mo(Go){var ko=qr();if(!(Go&&!Go.deadline&&Go.target!==ko)){var na=po.current,Wa;_n===tt&&na?Wa=Sr==null?void 0:Sr(ko,Go):_n===Me&&na?Wa=Rr==null?void 0:Rr(ko,Go):_n===He&&na&&(Wa=ro==null?void 0:ro(ko,Go)),_n!==Re&&na&&Wa!==!1&&(Mn(Re,!0),hr(null,!0))}}var Io=rn(Mo),Hr=(0,ue.Z)(Io,1),Uo=Hr[0],fo=x.useMemo(function(){var Go,ko,na;switch(_n){case tt:return Go={},(0,xe.Z)(Go,Ze,sr),(0,xe.Z)(Go,Ke,wr),(0,xe.Z)(Go,Ae,gn),Go;case Me:return ko={},(0,xe.Z)(ko,Ze,nr),(0,xe.Z)(ko,Ke,Tn),(0,xe.Z)(ko,Ae,On),ko;case He:return na={},(0,xe.Z)(na,Ze,fr),(0,xe.Z)(na,Ke,Vt),(0,xe.Z)(na,Ae,Jn),na;default:return{}}},[_n]),Wo=zt(_n,function(Go){if(Go===Ze){var ko=fo[Ze];return ko?ko(qr()):pt}if(Ko in fo){var na;hr(((na=fo[Ko])===null||na===void 0?void 0:na.call(fo,qr(),null))||null)}return Ko===Ae&&(Uo(qr()),Rn>0&&(clearTimeout(co.current),co.current=setTimeout(function(){Mo({deadline:!0})},Rn))),Ct}),sa=(0,ue.Z)(Wo,2),Ua=sa[0],Ko=sa[1],Ra=Rt(Ko);po.current=Ra,Nt(function(){Bt(Ut);var Go=so.current;if(so.current=!0,!!Ot){var ko;!Go&&Ut&&Ht&&(ko=tt),Go&&Ut&&vn&&(ko=Me),(Go&&!Ut&&Kt||!Go&&Vn&&!Ut&&Kt)&&(ko=He),ko&&(Mn(ko),Ua())}},[Ut]),(0,x.useEffect)(function(){(_n===tt&&!Ht||_n===Me&&!vn||_n===He&&!Kt)&&Mn(Re)},[Ht,vn,Kt]),(0,x.useEffect)(function(){return function(){so.current=!1,clearTimeout(co.current)}},[]);var da=x.useRef(!1);(0,x.useEffect)(function(){Pt&&(da.current=!0),Pt!==void 0&&_n===Re&&((da.current||Pt)&&(Or==null||Or(Pt)),da.current=!0)},[Pt,_n]);var Ha=gr;return fo[Ze]&&Ko===Ke&&(Ha=(0,he.Z)({transition:"none"},Ha)),[_n,Ko,Ha,Pt!=null?Pt:Ut]}var jn=function(Ot){(0,le.Z)(Yt,Ot);var Ut=(0,ce.Z)(Yt);function Yt(){return(0,se.Z)(this,Yt),Ut.apply(this,arguments)}return(0,re.Z)(Yt,[{key:"render",value:function(){return this.props.children}}]),Yt}(x.Component),Hn=jn;function Pr(Ot){var Ut=Ot;(0,E.Z)(Ot)==="object"&&(Ut=Ot.transitionSupport);function Yt(Jt){return!!(Jt.motionName&&Ut)}var dt=x.forwardRef(function(Jt,vn){var yn=Jt.visible,Ht=yn===void 0?!0:yn,Zt=Jt.removeOnLeave,Kt=Zt===void 0?!0:Zt,Rn=Jt.forceRender,Vn=Jt.children,sr=Jt.motionName,nr=Jt.leavedClassName,fr=Jt.eventProps,wr=Yt(Jt),Tn=(0,x.useRef)(),Vt=(0,x.useRef)();function gn(){try{return Tn.current instanceof HTMLElement?Tn.current:Te(Vt.current)}catch(Fn){return null}}var On=kn(wr,Ht,gn,Jt),Jn=(0,ue.Z)(On,4),Sr=Jn[0],Rr=Jn[1],ro=Jn[2],Or=Jn[3],ut=x.useRef(Or);Or&&(ut.current=!0);var it=x.useCallback(function(Fn){Tn.current=Fn,Ce(vn,Fn)},[vn]),Pt,Bt=(0,he.Z)((0,he.Z)({},fr),{},{visible:Ht});if(!Vn)Pt=null;else if(Sr===Re||!Yt(Jt))Or?Pt=Vn((0,he.Z)({},Bt),it):!Kt&&ut.current&&nr?Pt=Vn((0,he.Z)((0,he.Z)({},Bt),{},{className:nr}),it):Rn||!Kt&&!nr?Pt=Vn((0,he.Z)((0,he.Z)({},Bt),{},{style:{display:"none"}}),it):Pt=null;else{var Gt,sn;Rr===Ze?sn="prepare":Rt(Rr)?sn="active":Rr===Ke&&(sn="start"),Pt=Vn((0,he.Z)((0,he.Z)({},Bt),{},{className:oe()(We(sr,Sr),(Gt={},(0,xe.Z)(Gt,We(sr,"".concat(Sr,"-").concat(sn)),sn),(0,xe.Z)(Gt,sr,typeof sr=="string"),Gt)),style:ro}),it)}if(x.isValidElement(Pt)&&Ue(Pt)){var _n=Pt,Mn=_n.ref;Mn||(Pt=x.cloneElement(Pt,{ref:it}))}return x.createElement(Hn,{ref:Vt},Pt)});return dt.displayName="CSSMotion",dt}var fn=Pr(Ye),Er="add",oo="keep",Lo="remove",zo="removed";function Eo(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 mo(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ot.map(Eo)}function Sn(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Yt=[],dt=0,Jt=Ut.length,vn=mo(Ot),yn=mo(Ut);vn.forEach(function(Kt){for(var Rn=!1,Vn=dt;Vn<Jt;Vn+=1){var sr=yn[Vn];if(sr.key===Kt.key){dt<Vn&&(Yt=Yt.concat(yn.slice(dt,Vn).map(function(nr){return(0,he.Z)((0,he.Z)({},nr),{},{status:Er})})),dt=Vn),Yt.push((0,he.Z)((0,he.Z)({},sr),{},{status:oo})),dt+=1,Rn=!0;break}}Rn||Yt.push((0,he.Z)((0,he.Z)({},Kt),{},{status:Lo}))}),dt<Jt&&(Yt=Yt.concat(yn.slice(dt).map(function(Kt){return(0,he.Z)((0,he.Z)({},Kt),{},{status:Er})})));var Ht={};Yt.forEach(function(Kt){var Rn=Kt.key;Ht[Rn]=(Ht[Rn]||0)+1});var Zt=Object.keys(Ht).filter(function(Kt){return Ht[Kt]>1});return Zt.forEach(function(Kt){Yt=Yt.filter(function(Rn){var Vn=Rn.key,sr=Rn.status;return Vn!==Kt||sr!==Lo}),Yt.forEach(function(Rn){Rn.key===Kt&&(Rn.status=oo)})}),Yt}var ln=["component","children","onVisibleChanged","onAllRemoved"],mn=["status"],Ln=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Wn(Ot){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fn,Yt=function(dt){(0,le.Z)(vn,dt);var Jt=(0,ce.Z)(vn);function vn(){var yn;(0,se.Z)(this,vn);for(var Ht=arguments.length,Zt=new Array(Ht),Kt=0;Kt<Ht;Kt++)Zt[Kt]=arguments[Kt];return yn=Jt.call.apply(Jt,[this].concat(Zt)),(0,xe.Z)((0,ie.Z)(yn),"state",{keyEntities:[]}),(0,xe.Z)((0,ie.Z)(yn),"removeKey",function(Rn){var Vn=yn.state.keyEntities,sr=Vn.map(function(nr){return nr.key!==Rn?nr:(0,he.Z)((0,he.Z)({},nr),{},{status:zo})});return yn.setState({keyEntities:sr}),sr.filter(function(nr){var fr=nr.status;return fr!==zo}).length}),yn}return(0,re.Z)(vn,[{key:"render",value:function(){var Ht=this,Zt=this.state.keyEntities,Kt=this.props,Rn=Kt.component,Vn=Kt.children,sr=Kt.onVisibleChanged,nr=Kt.onAllRemoved,fr=(0,de.Z)(Kt,ln),wr=Rn||x.Fragment,Tn={};return Ln.forEach(function(Vt){Tn[Vt]=fr[Vt],delete fr[Vt]}),delete fr.keys,x.createElement(wr,fr,Zt.map(function(Vt){var gn=Vt.status,On=(0,de.Z)(Vt,mn),Jn=gn===Er||gn===oo;return x.createElement(Ut,(0,be.Z)({},Tn,{key:On.key,visible:Jn,eventProps:On,onVisibleChanged:function(Rr){if(sr==null||sr(Rr,{key:On.key}),!Rr){var ro=Ht.removeKey(On.key);ro===0&&nr&&nr()}}}),Vn)}))}}],[{key:"getDerivedStateFromProps",value:function(Ht,Zt){var Kt=Ht.keys,Rn=Zt.keyEntities,Vn=mo(Kt),sr=Sn(Rn,Vn);return{keyEntities:sr.filter(function(nr){var fr=Rn.find(function(wr){var Tn=wr.key;return nr.key===Tn});return!(fr&&fr.status===zo&&nr.status===Lo)})}}}]),vn}(x.Component);return(0,xe.Z)(Yt,"defaultProps",{component:"div"}),Yt}var lr=Wn(Ye),er=fn,Wr=pe(56261);function Br(Ot,Ut){var Yt=x.useState(!1),dt=(0,ue.Z)(Yt,2),Jt=dt[0],vn=dt[1];x.useLayoutEffect(function(){if(Jt)return Ot(),function(){Ut()}},[Jt]),x.useLayoutEffect(function(){return vn(!0),function(){vn(!1)}},[])}var cr=pe(83898),Mt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],jt=function(Ut,Yt){var dt=Ut.className,Jt=Ut.style,vn=Ut.motion,yn=Ut.motionNodes,Ht=Ut.motionType,Zt=Ut.onMotionStart,Kt=Ut.onMotionEnd,Rn=Ut.active,Vn=Ut.treeNodeRequiredProps,sr=(0,de.Z)(Ut,Mt),nr=x.useState(!0),fr=(0,ue.Z)(nr,2),wr=fr[0],Tn=fr[1],Vt=x.useContext(b.k),gn=Vt.prefixCls,On=yn&&Ht!=="hide";me(function(){yn&&On!==wr&&Tn(On)},[yn]);var Jn=function(){yn&&Zt()},Sr=x.useRef(!1),Rr=function(){yn&&!Sr.current&&(Sr.current=!0,Kt())};Br(Jn,Rr);var ro=function(ut){On===ut&&Rr()};return yn?x.createElement(er,(0,be.Z)({ref:Yt,visible:wr},vn,{motionAppear:Ht==="show",onVisibleChanged:ro}),function(Or,ut){var it=Or.className,Pt=Or.style;return x.createElement("div",{ref:ut,className:oe()("".concat(gn,"-treenode-motion"),it),style:Pt},yn.map(function(Bt){var Gt=(0,be.Z)({},((0,te.Z)(Bt.data),Bt.data)),sn=Bt.title,_n=Bt.key,Mn=Bt.isStart,Fn=Bt.isEnd;delete Gt.children;var Kn=(0,cr.H8)(_n,Vn);return x.createElement(Wr.Z,(0,be.Z)({},Gt,Kn,{title:sn,active:Rn,data:Bt.data,key:_n,isStart:Mn,isEnd:Fn}))}))}):x.createElement(Wr.Z,(0,be.Z)({domRef:Yt,className:dt,style:Jt},sr,{active:Rn}))};jt.displayName="MotionTreeNode";var Tt=x.forwardRef(jt),wn=Tt;function zn(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Yt=Ot.length,dt=Ut.length;if(Math.abs(Yt-dt)!==1)return{add:!1,key:null};function Jt(vn,yn){var Ht=new Map;vn.forEach(function(Kt){Ht.set(Kt,!0)});var Zt=yn.filter(function(Kt){return!Ht.has(Kt)});return Zt.length===1?Zt[0]:null}return Yt<dt?{add:!0,key:Jt(Ot,Ut)}:{add:!1,key:Jt(Ut,Ot)}}function $n(Ot,Ut,Yt){var dt=Ot.findIndex(function(Ht){return Ht.key===Yt}),Jt=Ot[dt+1],vn=Ut.findIndex(function(Ht){return Ht.key===Yt});if(Jt){var yn=Ut.findIndex(function(Ht){return Ht.key===Jt.key});return Ut.slice(vn+1,yn)}return Ut.slice(vn+1)}var _r=["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"],mr={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Lr=function(){},ao="RC_TREE_MOTION_".concat(Math.random()),vo={key:ao},Cn={key:ao,level:0,index:0,pos:"0",node:vo,nodes:[vo]},Kr={parent:null,children:[],pos:Cn.pos,data:vo,title:null,key:ao,isStart:[],isEnd:[]};function At(Ot,Ut,Yt,dt){return Ut===!1||!Yt?Ot:Ot.slice(0,Math.ceil(Yt/dt)+1)}function an(Ot){var Ut=Ot.key,Yt=Ot.pos;return(0,cr.km)(Ut,Yt)}function qt(Ot){for(var Ut=String(Ot.data.key),Yt=Ot;Yt.parent;)Yt=Yt.parent,Ut="".concat(Yt.data.key," > ").concat(Ut);return Ut}var on=x.forwardRef(function(Ot,Ut){var Yt=Ot.prefixCls,dt=Ot.data,Jt=Ot.selectable,vn=Ot.checkable,yn=Ot.expandedKeys,Ht=Ot.selectedKeys,Zt=Ot.checkedKeys,Kt=Ot.loadedKeys,Rn=Ot.loadingKeys,Vn=Ot.halfCheckedKeys,sr=Ot.keyEntities,nr=Ot.disabled,fr=Ot.dragging,wr=Ot.dragOverNodeKey,Tn=Ot.dropPosition,Vt=Ot.motion,gn=Ot.height,On=Ot.itemHeight,Jn=Ot.virtual,Sr=Ot.focusable,Rr=Ot.activeItem,ro=Ot.focused,Or=Ot.tabIndex,ut=Ot.onKeyDown,it=Ot.onFocus,Pt=Ot.onBlur,Bt=Ot.onActiveChange,Gt=Ot.onListChangeStart,sn=Ot.onListChangeEnd,_n=(0,de.Z)(Ot,_r),Mn=x.useRef(null),Fn=x.useRef(null);x.useImperativeHandle(Ut,function(){return{scrollTo:function(Pa){Mn.current.scrollTo(Pa)},getIndentWidth:function(){return Fn.current.offsetWidth}}});var Kn=x.useState(yn),gr=(0,ue.Z)(Kn,2),hr=gr[0],so=gr[1],co=x.useState(dt),qr=(0,ue.Z)(co,2),po=qr[0],Mo=qr[1],Io=x.useState(dt),Hr=(0,ue.Z)(Io,2),Uo=Hr[0],fo=Hr[1],Wo=x.useState([]),sa=(0,ue.Z)(Wo,2),Ua=sa[0],Ko=sa[1],Ra=x.useState(null),da=(0,ue.Z)(Ra,2),Ha=da[0],Go=da[1],ko=x.useRef(dt);ko.current=dt;function na(){var $o=ko.current;Mo($o),fo($o),Ko([]),Go(null),sn()}me(function(){so(yn);var $o=zn(hr,yn);if($o.key!==null)if($o.add){var Pa=po.findIndex(function(xa){var ti=xa.key;return ti===$o.key}),Da=At($n(po,dt,$o.key),Jn,gn,On),kr=po.slice();kr.splice(Pa+1,0,Kr),fo(kr),Ko(Da),Go("show")}else{var za=dt.findIndex(function(xa){var ti=xa.key;return ti===$o.key}),Ja=At($n(dt,po,$o.key),Jn,gn,On),hi=dt.slice();hi.splice(za+1,0,Kr),fo(hi),Ko(Ja),Go("hide")}else po!==dt&&(Mo(dt),fo(dt))},[yn,dt]),x.useEffect(function(){fr||na()},[fr]);var Wa=Vt?Uo:dt,ai={expandedKeys:yn,selectedKeys:Ht,loadedKeys:Kt,loadingKeys:Rn,checkedKeys:Zt,halfCheckedKeys:Vn,dragOverNodeKey:wr,dropPosition:Tn,keyEntities:sr};return x.createElement(x.Fragment,null,ro&&Rr&&x.createElement("span",{style:mr,"aria-live":"assertive"},qt(Rr)),x.createElement("div",null,x.createElement("input",{style:mr,disabled:Sr===!1||nr,tabIndex:Sr!==!1?Or:null,onKeyDown:ut,onFocus:it,onBlur:Pt,value:"",onChange:Lr,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(Yt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(Yt,"-indent")},x.createElement("div",{ref:Fn,className:"".concat(Yt,"-indent-unit")}))),x.createElement(ye.Z,(0,be.Z)({},_n,{data:Wa,itemKey:an,height:gn,fullHeight:!1,virtual:Jn,itemHeight:On,prefixCls:"".concat(Yt,"-list"),ref:Mn,onVisibleChange:function(Pa,Da){var kr=new Set(Pa),za=Da.filter(function(Ja){return!kr.has(Ja)});za.some(function(Ja){return an(Ja)===ao})&&na()}}),function($o){var Pa=$o.pos,Da=(0,be.Z)({},((0,te.Z)($o.data),$o.data)),kr=$o.title,za=$o.key,Ja=$o.isStart,hi=$o.isEnd,xa=(0,cr.km)(za,Pa);delete Da.key,delete Da.children;var ti=(0,cr.H8)(xa,ai);return x.createElement(wn,(0,be.Z)({},Da,ti,{title:kr,active:!!Rr&&za===Rr.key,pos:Pa,data:$o.data,isStart:Ja,isEnd:hi,motion:Vt,motionNodes:za===ao?Ua:null,motionType:Ha,onMotionStart:Gt,onMotionEnd:na,treeNodeRequiredProps:ai,onMouseMove:function(){Bt(null)}}))}))});on.displayName="NodeList";var In=on,tn=pe(29873),An=pe(97153),cn=pe(3596),xr=10,ur=function(Ot){(0,le.Z)(Yt,Ot);var Ut=(0,ce.Z)(Yt);function Yt(){var dt;(0,se.Z)(this,Yt);for(var Jt=arguments.length,vn=new Array(Jt),yn=0;yn<Jt;yn++)vn[yn]=arguments[yn];return dt=Ut.call.apply(Ut,[this].concat(vn)),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,cr.w$)()},dt.dragStartMousePosition=null,dt.dragNode=void 0,dt.currentMouseOverDroppableNodeKey=null,dt.listRef=x.createRef(),dt.onNodeDragStart=function(Ht,Zt){var Kt=dt.state,Rn=Kt.expandedKeys,Vn=Kt.keyEntities,sr=dt.props.onDragStart,nr=Zt.props.eventKey;dt.dragNode=Zt,dt.dragStartMousePosition={x:Ht.clientX,y:Ht.clientY};var fr=(0,tn._5)(Rn,nr);dt.setState({draggingNodeKey:nr,dragChildrenKeys:(0,tn.wA)(nr,Vn),indent:dt.listRef.current.getIndentWidth()}),dt.setExpandedKeys(fr),window.addEventListener("dragend",dt.onWindowDragEnd),sr==null||sr({event:Ht,node:(0,cr.F)(Zt.props)})},dt.onNodeDragEnter=function(Ht,Zt){var Kt=dt.state,Rn=Kt.expandedKeys,Vn=Kt.keyEntities,sr=Kt.dragChildrenKeys,nr=Kt.flattenNodes,fr=Kt.indent,wr=dt.props,Tn=wr.onDragEnter,Vt=wr.onExpand,gn=wr.allowDrop,On=wr.direction,Jn=Zt.props,Sr=Jn.pos,Rr=Jn.eventKey,ro=(0,ie.Z)(dt),Or=ro.dragNode;if(dt.currentMouseOverDroppableNodeKey!==Rr&&(dt.currentMouseOverDroppableNodeKey=Rr),!Or){dt.resetDragState();return}var ut=(0,tn.OM)(Ht,Or,Zt,fr,dt.dragStartMousePosition,gn,nr,Vn,Rn,On),it=ut.dropPosition,Pt=ut.dropLevelOffset,Bt=ut.dropTargetKey,Gt=ut.dropContainerKey,sn=ut.dropTargetPos,_n=ut.dropAllowed,Mn=ut.dragOverNodeKey;if(sr.indexOf(Bt)!==-1||!_n){dt.resetDragState();return}if(dt.delayedDragEnterLogic||(dt.delayedDragEnterLogic={}),Object.keys(dt.delayedDragEnterLogic).forEach(function(Fn){clearTimeout(dt.delayedDragEnterLogic[Fn])}),Or.props.eventKey!==Zt.props.eventKey&&(Ht.persist(),dt.delayedDragEnterLogic[Sr]=window.setTimeout(function(){if(dt.state.draggingNodeKey!==null){var Fn=(0,fe.Z)(Rn),Kn=(0,cn.Z)(Vn,Zt.props.eventKey);Kn&&(Kn.children||[]).length&&(Fn=(0,tn.L0)(Rn,Zt.props.eventKey)),"expandedKeys"in dt.props||dt.setExpandedKeys(Fn),Vt==null||Vt(Fn,{node:(0,cr.F)(Zt.props),expanded:!0,nativeEvent:Ht.nativeEvent})}},800)),Or.props.eventKey===Bt&&Pt===0){dt.resetDragState();return}dt.setState({dragOverNodeKey:Mn,dropPosition:it,dropLevelOffset:Pt,dropTargetKey:Bt,dropContainerKey:Gt,dropTargetPos:sn,dropAllowed:_n}),Tn==null||Tn({event:Ht,node:(0,cr.F)(Zt.props),expandedKeys:Rn})},dt.onNodeDragOver=function(Ht,Zt){var Kt=dt.state,Rn=Kt.dragChildrenKeys,Vn=Kt.flattenNodes,sr=Kt.keyEntities,nr=Kt.expandedKeys,fr=Kt.indent,wr=dt.props,Tn=wr.onDragOver,Vt=wr.allowDrop,gn=wr.direction,On=(0,ie.Z)(dt),Jn=On.dragNode;if(Jn){var Sr=(0,tn.OM)(Ht,Jn,Zt,fr,dt.dragStartMousePosition,Vt,Vn,sr,nr,gn),Rr=Sr.dropPosition,ro=Sr.dropLevelOffset,Or=Sr.dropTargetKey,ut=Sr.dropContainerKey,it=Sr.dropAllowed,Pt=Sr.dropTargetPos,Bt=Sr.dragOverNodeKey;Rn.indexOf(Or)!==-1||!it||(Jn.props.eventKey===Or&&ro===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():Rr===dt.state.dropPosition&&ro===dt.state.dropLevelOffset&&Or===dt.state.dropTargetKey&&ut===dt.state.dropContainerKey&&Pt===dt.state.dropTargetPos&&it===dt.state.dropAllowed&&Bt===dt.state.dragOverNodeKey||dt.setState({dropPosition:Rr,dropLevelOffset:ro,dropTargetKey:Or,dropContainerKey:ut,dropTargetPos:Pt,dropAllowed:it,dragOverNodeKey:Bt}),Tn==null||Tn({event:Ht,node:(0,cr.F)(Zt.props)}))}},dt.onNodeDragLeave=function(Ht,Zt){dt.currentMouseOverDroppableNodeKey===Zt.props.eventKey&&!Ht.currentTarget.contains(Ht.relatedTarget)&&(dt.resetDragState(),dt.currentMouseOverDroppableNodeKey=null);var Kt=dt.props.onDragLeave;Kt==null||Kt({event:Ht,node:(0,cr.F)(Zt.props)})},dt.onWindowDragEnd=function(Ht){dt.onNodeDragEnd(Ht,null,!0),window.removeEventListener("dragend",dt.onWindowDragEnd)},dt.onNodeDragEnd=function(Ht,Zt){var Kt=dt.props.onDragEnd;dt.setState({dragOverNodeKey:null}),dt.cleanDragState(),Kt==null||Kt({event:Ht,node:(0,cr.F)(Zt.props)}),dt.dragNode=null,window.removeEventListener("dragend",dt.onWindowDragEnd)},dt.onNodeDrop=function(Ht,Zt){var Kt,Rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Vn=dt.state,sr=Vn.dragChildrenKeys,nr=Vn.dropPosition,fr=Vn.dropTargetKey,wr=Vn.dropTargetPos,Tn=Vn.dropAllowed;if(Tn){var Vt=dt.props.onDrop;if(dt.setState({dragOverNodeKey:null}),dt.cleanDragState(),fr!==null){var gn=(0,he.Z)((0,he.Z)({},(0,cr.H8)(fr,dt.getTreeNodeRequiredProps())),{},{active:((Kt=dt.getActiveItem())===null||Kt===void 0?void 0:Kt.key)===fr,data:(0,cn.Z)(dt.state.keyEntities,fr).node}),On=sr.indexOf(fr)!==-1;(0,y.ZP)(!On,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Jn=(0,tn.yx)(wr),Sr={event:Ht,node:(0,cr.F)(gn),dragNode:dt.dragNode?(0,cr.F)(dt.dragNode.props):null,dragNodesKeys:[dt.dragNode.props.eventKey].concat(sr),dropToGap:nr!==0,dropPosition:nr+Number(Jn[Jn.length-1])};Rn||Vt==null||Vt(Sr),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,Zt){var Kt=dt.state,Rn=Kt.expandedKeys,Vn=Kt.flattenNodes,sr=Zt.expanded,nr=Zt.key,fr=Zt.isLeaf;if(!(fr||Ht.shiftKey||Ht.metaKey||Ht.ctrlKey)){var wr=Vn.filter(function(Vt){return Vt.key===nr})[0],Tn=(0,cr.F)((0,he.Z)((0,he.Z)({},(0,cr.H8)(nr,dt.getTreeNodeRequiredProps())),{},{data:wr.data}));dt.setExpandedKeys(sr?(0,tn._5)(Rn,nr):(0,tn.L0)(Rn,nr)),dt.onNodeExpand(Ht,Tn)}},dt.onNodeClick=function(Ht,Zt){var Kt=dt.props,Rn=Kt.onClick,Vn=Kt.expandAction;Vn==="click"&&dt.triggerExpandActionExpand(Ht,Zt),Rn==null||Rn(Ht,Zt)},dt.onNodeDoubleClick=function(Ht,Zt){var Kt=dt.props,Rn=Kt.onDoubleClick,Vn=Kt.expandAction;Vn==="doubleClick"&&dt.triggerExpandActionExpand(Ht,Zt),Rn==null||Rn(Ht,Zt)},dt.onNodeSelect=function(Ht,Zt){var Kt=dt.state.selectedKeys,Rn=dt.state,Vn=Rn.keyEntities,sr=Rn.fieldNames,nr=dt.props,fr=nr.onSelect,wr=nr.multiple,Tn=Zt.selected,Vt=Zt[sr.key],gn=!Tn;gn?wr?Kt=(0,tn.L0)(Kt,Vt):Kt=[Vt]:Kt=(0,tn._5)(Kt,Vt);var On=Kt.map(function(Jn){var Sr=(0,cn.Z)(Vn,Jn);return Sr?Sr.node:null}).filter(function(Jn){return Jn});dt.setUncontrolledState({selectedKeys:Kt}),fr==null||fr(Kt,{event:"select",selected:gn,node:Zt,selectedNodes:On,nativeEvent:Ht.nativeEvent})},dt.onNodeCheck=function(Ht,Zt,Kt){var Rn=dt.state,Vn=Rn.keyEntities,sr=Rn.checkedKeys,nr=Rn.halfCheckedKeys,fr=dt.props,wr=fr.checkStrictly,Tn=fr.onCheck,Vt=Zt.key,gn,On={event:"check",node:Zt,checked:Kt,nativeEvent:Ht.nativeEvent};if(wr){var Jn=Kt?(0,tn.L0)(sr,Vt):(0,tn._5)(sr,Vt),Sr=(0,tn._5)(nr,Vt);gn={checked:Jn,halfChecked:Sr},On.checkedNodes=Jn.map(function(Pt){return(0,cn.Z)(Vn,Pt)}).filter(function(Pt){return Pt}).map(function(Pt){return Pt.node}),dt.setUncontrolledState({checkedKeys:Jn})}else{var Rr=(0,An.S)([].concat((0,fe.Z)(sr),[Vt]),!0,Vn),ro=Rr.checkedKeys,Or=Rr.halfCheckedKeys;if(!Kt){var ut=new Set(ro);ut.delete(Vt);var it=(0,An.S)(Array.from(ut),{checked:!1,halfCheckedKeys:Or},Vn);ro=it.checkedKeys,Or=it.halfCheckedKeys}gn=ro,On.checkedNodes=[],On.checkedNodesPositions=[],On.halfCheckedKeys=Or,ro.forEach(function(Pt){var Bt=(0,cn.Z)(Vn,Pt);if(Bt){var Gt=Bt.node,sn=Bt.pos;On.checkedNodes.push(Gt),On.checkedNodesPositions.push({node:Gt,pos:sn})}}),dt.setUncontrolledState({checkedKeys:ro},!1,{halfCheckedKeys:Or})}Tn==null||Tn(gn,On)},dt.onNodeLoad=function(Ht){var Zt=Ht.key,Kt=new Promise(function(Rn,Vn){dt.setState(function(sr){var nr=sr.loadedKeys,fr=nr===void 0?[]:nr,wr=sr.loadingKeys,Tn=wr===void 0?[]:wr,Vt=dt.props,gn=Vt.loadData,On=Vt.onLoad;if(!gn||fr.indexOf(Zt)!==-1||Tn.indexOf(Zt)!==-1)return null;var Jn=gn(Ht);return Jn.then(function(){var Sr=dt.state.loadedKeys,Rr=(0,tn.L0)(Sr,Zt);On==null||On(Rr,{event:"load",node:Ht}),dt.setUncontrolledState({loadedKeys:Rr}),dt.setState(function(ro){return{loadingKeys:(0,tn._5)(ro.loadingKeys,Zt)}}),Rn()}).catch(function(Sr){if(dt.setState(function(ro){return{loadingKeys:(0,tn._5)(ro.loadingKeys,Zt)}}),dt.loadingRetryTimes[Zt]=(dt.loadingRetryTimes[Zt]||0)+1,dt.loadingRetryTimes[Zt]>=xr){var Rr=dt.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),dt.setUncontrolledState({loadedKeys:(0,tn.L0)(Rr,Zt)}),Rn()}Vn(Sr)}),{loadingKeys:(0,tn.L0)(Tn,Zt)}})});return Kt.catch(function(){}),Kt},dt.onNodeMouseEnter=function(Ht,Zt){var Kt=dt.props.onMouseEnter;Kt==null||Kt({event:Ht,node:Zt})},dt.onNodeMouseLeave=function(Ht,Zt){var Kt=dt.props.onMouseLeave;Kt==null||Kt({event:Ht,node:Zt})},dt.onNodeContextMenu=function(Ht,Zt){var Kt=dt.props.onRightClick;Kt&&(Ht.preventDefault(),Kt({event:Ht,node:Zt}))},dt.onFocus=function(){var Ht=dt.props.onFocus;dt.setState({focused:!0});for(var Zt=arguments.length,Kt=new Array(Zt),Rn=0;Rn<Zt;Rn++)Kt[Rn]=arguments[Rn];Ht==null||Ht.apply(void 0,Kt)},dt.onBlur=function(){var Ht=dt.props.onBlur;dt.setState({focused:!1}),dt.onActiveChange(null);for(var Zt=arguments.length,Kt=new Array(Zt),Rn=0;Rn<Zt;Rn++)Kt[Rn]=arguments[Rn];Ht==null||Ht.apply(void 0,Kt)},dt.getTreeNodeRequiredProps=function(){var Ht=dt.state,Zt=Ht.expandedKeys,Kt=Ht.selectedKeys,Rn=Ht.loadedKeys,Vn=Ht.loadingKeys,sr=Ht.checkedKeys,nr=Ht.halfCheckedKeys,fr=Ht.dragOverNodeKey,wr=Ht.dropPosition,Tn=Ht.keyEntities;return{expandedKeys:Zt||[],selectedKeys:Kt||[],loadedKeys:Rn||[],loadingKeys:Vn||[],checkedKeys:sr||[],halfCheckedKeys:nr||[],dragOverNodeKey:fr,dropPosition:wr,keyEntities:Tn}},dt.setExpandedKeys=function(Ht){var Zt=dt.state,Kt=Zt.treeData,Rn=Zt.fieldNames,Vn=(0,cr.oH)(Kt,Ht,Rn);dt.setUncontrolledState({expandedKeys:Ht,flattenNodes:Vn},!0)},dt.onNodeExpand=function(Ht,Zt){var Kt=dt.state.expandedKeys,Rn=dt.state,Vn=Rn.listChanging,sr=Rn.fieldNames,nr=dt.props,fr=nr.onExpand,wr=nr.loadData,Tn=Zt.expanded,Vt=Zt[sr.key];if(!Vn){var gn=Kt.indexOf(Vt),On=!Tn;if((0,y.ZP)(Tn&&gn!==-1||!Tn&&gn===-1,"Expand state not sync with index check"),On?Kt=(0,tn.L0)(Kt,Vt):Kt=(0,tn._5)(Kt,Vt),dt.setExpandedKeys(Kt),fr==null||fr(Kt,{node:Zt,expanded:On,nativeEvent:Ht.nativeEvent}),On&&wr){var Jn=dt.onNodeLoad(Zt);Jn&&Jn.then(function(){var Sr=(0,cr.oH)(dt.state.treeData,Kt,sr);dt.setUncontrolledState({flattenNodes:Sr})}).catch(function(){var Sr=dt.state.expandedKeys,Rr=(0,tn._5)(Sr,Vt);dt.setExpandedKeys(Rr)})}}},dt.onListChangeStart=function(){dt.setUncontrolledState({listChanging:!0})},dt.onListChangeEnd=function(){setTimeout(function(){dt.setUncontrolledState({listChanging:!1})})},dt.onActiveChange=function(Ht){var Zt=dt.state.activeKey,Kt=dt.props.onActiveChange;Zt!==Ht&&(dt.setState({activeKey:Ht}),Ht!==null&&dt.scrollTo({key:Ht}),Kt==null||Kt(Ht))},dt.getActiveItem=function(){var Ht=dt.state,Zt=Ht.activeKey,Kt=Ht.flattenNodes;return Zt===null?null:Kt.find(function(Rn){var Vn=Rn.key;return Vn===Zt})||null},dt.offsetActiveKey=function(Ht){var Zt=dt.state,Kt=Zt.flattenNodes,Rn=Zt.activeKey,Vn=Kt.findIndex(function(fr){var wr=fr.key;return wr===Rn});Vn===-1&&Ht<0&&(Vn=Kt.length),Vn=(Vn+Ht+Kt.length)%Kt.length;var sr=Kt[Vn];if(sr){var nr=sr.key;dt.onActiveChange(nr)}else dt.onActiveChange(null)},dt.onKeyDown=function(Ht){var Zt=dt.state,Kt=Zt.activeKey,Rn=Zt.expandedKeys,Vn=Zt.checkedKeys,sr=Zt.fieldNames,nr=dt.props,fr=nr.onKeyDown,wr=nr.checkable,Tn=nr.selectable;switch(Ht.which){case z.UP:{dt.offsetActiveKey(-1),Ht.preventDefault();break}case z.DOWN:{dt.offsetActiveKey(1),Ht.preventDefault();break}}var Vt=dt.getActiveItem();if(Vt&&Vt.data){var gn=dt.getTreeNodeRequiredProps(),On=Vt.data.isLeaf===!1||!!(Vt.data[sr.children]||[]).length,Jn=(0,cr.F)((0,he.Z)((0,he.Z)({},(0,cr.H8)(Kt,gn)),{},{data:Vt.data,active:!0}));switch(Ht.which){case z.LEFT:{On&&Rn.includes(Kt)?dt.onNodeExpand({},Jn):Vt.parent&&dt.onActiveChange(Vt.parent.key),Ht.preventDefault();break}case z.RIGHT:{On&&!Rn.includes(Kt)?dt.onNodeExpand({},Jn):Vt.children&&Vt.children.length&&dt.onActiveChange(Vt.children[0].key),Ht.preventDefault();break}case z.ENTER:case z.SPACE:{wr&&!Jn.disabled&&Jn.checkable!==!1&&!Jn.disableCheckbox?dt.onNodeCheck({},Jn,!Vn.includes(Kt)):!wr&&Tn&&!Jn.disabled&&Jn.selectable!==!1&&dt.onNodeSelect({},Jn);break}}}fr==null||fr(Ht)},dt.setUncontrolledState=function(Ht){var Zt=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 Rn=!1,Vn=!0,sr={};Object.keys(Ht).forEach(function(nr){if(nr in dt.props){Vn=!1;return}Rn=!0,sr[nr]=Ht[nr]}),Rn&&(!Zt||Vn)&&dt.setState((0,he.Z)((0,he.Z)({},sr),Kt))}},dt.scrollTo=function(Ht){dt.listRef.current.scrollTo(Ht)},dt}return(0,re.Z)(Yt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Jt=this.props.activeKey;Jt!==void 0&&Jt!==this.state.activeKey&&(this.setState({activeKey:Jt}),Jt!==null&&this.scrollTo({key:Jt}))}},{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 Jt,vn=this.state,yn=vn.focused,Ht=vn.flattenNodes,Zt=vn.keyEntities,Kt=vn.draggingNodeKey,Rn=vn.activeKey,Vn=vn.dropLevelOffset,sr=vn.dropContainerKey,nr=vn.dropTargetKey,fr=vn.dropPosition,wr=vn.dragOverNodeKey,Tn=vn.indent,Vt=this.props,gn=Vt.prefixCls,On=Vt.className,Jn=Vt.style,Sr=Vt.showLine,Rr=Vt.focusable,ro=Vt.tabIndex,Or=ro===void 0?0:ro,ut=Vt.selectable,it=Vt.showIcon,Pt=Vt.icon,Bt=Vt.switcherIcon,Gt=Vt.draggable,sn=Vt.checkable,_n=Vt.checkStrictly,Mn=Vt.disabled,Fn=Vt.motion,Kn=Vt.loadData,gr=Vt.filterTreeNode,hr=Vt.height,so=Vt.itemHeight,co=Vt.virtual,qr=Vt.titleRender,po=Vt.dropIndicatorRender,Mo=Vt.onContextMenu,Io=Vt.onScroll,Hr=Vt.direction,Uo=Vt.rootClassName,fo=Vt.rootStyle,Wo=(0,a.Z)(this.props,{aria:!0,data:!0}),sa;return Gt&&((0,E.Z)(Gt)==="object"?sa=Gt:typeof Gt=="function"?sa={nodeDraggable:Gt}:sa={}),x.createElement(b.k.Provider,{value:{prefixCls:gn,selectable:ut,showIcon:it,icon:Pt,switcherIcon:Bt,draggable:sa,draggingNodeKey:Kt,checkable:sn,checkStrictly:_n,disabled:Mn,keyEntities:Zt,dropLevelOffset:Vn,dropContainerKey:sr,dropTargetKey:nr,dropPosition:fr,dragOverNodeKey:wr,indent:Tn,direction:Hr,dropIndicatorRender:po,loadData:Kn,filterTreeNode:gr,titleRender:qr,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()(gn,On,Uo,(Jt={},(0,xe.Z)(Jt,"".concat(gn,"-show-line"),Sr),(0,xe.Z)(Jt,"".concat(gn,"-focused"),yn),(0,xe.Z)(Jt,"".concat(gn,"-active-focused"),Rn!==null),Jt)),style:fo},x.createElement(In,(0,be.Z)({ref:this.listRef,prefixCls:gn,style:Jn,data:Ht,disabled:Mn,selectable:ut,checkable:!!sn,motion:Fn,dragging:Kt!==null,height:hr,itemHeight:so,virtual:co,focusable:Rr,focused:yn,tabIndex:Or,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Mo,onScroll:Io},this.getTreeNodeRequiredProps(),Wo))))}}],[{key:"getDerivedStateFromProps",value:function(Jt,vn){var yn=vn.prevProps,Ht={prevProps:Jt};function Zt(Rr){return!yn&&Rr in Jt||yn&&yn[Rr]!==Jt[Rr]}var Kt,Rn=vn.fieldNames;if(Zt("fieldNames")&&(Rn=(0,cr.w$)(Jt.fieldNames),Ht.fieldNames=Rn),Zt("treeData")?Kt=Jt.treeData:Zt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Kt=(0,cr.zn)(Jt.children)),Kt){Ht.treeData=Kt;var Vn=(0,cr.I8)(Kt,{fieldNames:Rn});Ht.keyEntities=(0,he.Z)((0,xe.Z)({},ao,Cn),Vn.keyEntities)}var sr=Ht.keyEntities||vn.keyEntities;if(Zt("expandedKeys")||yn&&Zt("autoExpandParent"))Ht.expandedKeys=Jt.autoExpandParent||!yn&&Jt.defaultExpandParent?(0,tn.r7)(Jt.expandedKeys,sr):Jt.expandedKeys;else if(!yn&&Jt.defaultExpandAll){var nr=(0,he.Z)({},sr);delete nr[ao],Ht.expandedKeys=Object.keys(nr).map(function(Rr){return nr[Rr].key})}else!yn&&Jt.defaultExpandedKeys&&(Ht.expandedKeys=Jt.autoExpandParent||Jt.defaultExpandParent?(0,tn.r7)(Jt.defaultExpandedKeys,sr):Jt.defaultExpandedKeys);if(Ht.expandedKeys||delete Ht.expandedKeys,Kt||Ht.expandedKeys){var fr=(0,cr.oH)(Kt||vn.treeData,Ht.expandedKeys||vn.expandedKeys,Rn);Ht.flattenNodes=fr}if(Jt.selectable&&(Zt("selectedKeys")?Ht.selectedKeys=(0,tn.BT)(Jt.selectedKeys,Jt):!yn&&Jt.defaultSelectedKeys&&(Ht.selectedKeys=(0,tn.BT)(Jt.defaultSelectedKeys,Jt))),Jt.checkable){var wr;if(Zt("checkedKeys")?wr=(0,tn.E6)(Jt.checkedKeys)||{}:!yn&&Jt.defaultCheckedKeys?wr=(0,tn.E6)(Jt.defaultCheckedKeys)||{}:Kt&&(wr=(0,tn.E6)(Jt.checkedKeys)||{checkedKeys:vn.checkedKeys,halfCheckedKeys:vn.halfCheckedKeys}),wr){var Tn=wr,Vt=Tn.checkedKeys,gn=Vt===void 0?[]:Vt,On=Tn.halfCheckedKeys,Jn=On===void 0?[]:On;if(!Jt.checkStrictly){var Sr=(0,An.S)(gn,!0,sr);gn=Sr.checkedKeys,Jn=Sr.halfCheckedKeys}Ht.checkedKeys=gn,Ht.halfCheckedKeys=Jn}}return Zt("loadedKeys")&&(Ht.loadedKeys=Jt.loadedKeys),Ht}}]),Yt}(x.Component);ur.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},ur.TreeNode=Wr.Z;var Ur=ur,to=Ur,xo=pe(73148),dn=pe(56747),Ro={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"},ea=Ro,Po=pe(74643),ta=function(Ut,Yt){return x.createElement(Po.Z,(0,be.Z)({},Ut,{ref:Yt,icon:ea}))},Dn=x.forwardRef(ta),ar=pe(53124),Ir=pe(50881),Bn=pe(33603),wo=pe(32157);const lo=4;function ia(Ot){const{dropPosition:Ut,dropLevelOffset:Yt,prefixCls:dt,indent:Jt,direction:vn="ltr"}=Ot,yn=vn==="ltr"?"left":"right",Ht=vn==="ltr"?"right":"left",Zt={[yn]:-Yt*Jt+lo,[Ht]:0};switch(Ut){case-1:Zt.top=-3;break;case 1:Zt.bottom=-3;break;default:Zt.bottom=-3,Zt[yn]=Jt+lo;break}return x.createElement("div",{style:Zt,className:`${dt}-drop-indicator`})}var ca=pe(99184),_t=x.forwardRef((Ot,Ut)=>{const{getPrefixCls:Yt,direction:dt,virtual:Jt,tree:vn}=x.useContext(ar.E_),{prefixCls:yn,className:Ht,showIcon:Zt=!1,showLine:Kt,switcherIcon:Rn,blockNode:Vn=!1,children:sr,checkable:nr=!1,selectable:fr=!0,draggable:wr,motion:Tn,style:Vt}=Ot,gn=Yt("tree",yn),On=Yt(),Jn=Tn!=null?Tn:Object.assign(Object.assign({},(0,Bn.Z)(On)),{motionAppear:!1}),Sr=Object.assign(Object.assign({},Ot),{checkable:nr,selectable:fr,showIcon:Zt,motion:Jn,blockNode:Vn,showLine:!!Kt,dropIndicatorRender:ia}),[Rr,ro]=(0,wo.ZP)(gn),Or=x.useMemo(()=>{if(!wr)return!1;let it={};switch(typeof wr){case"function":it.nodeDraggable=wr;break;case"object":it=Object.assign({},wr);break;default:break}return it.icon!==!1&&(it.icon=it.icon||x.createElement(Ir.Z,null)),it},[wr]),ut=it=>x.createElement(ca.Z,{prefixCls:gn,switcherIcon:Rn,treeNodeProps:it,showLine:Kt});return Rr(x.createElement(to,Object.assign({itemHeight:20,ref:Ut,virtual:Jt},Sr,{style:Object.assign(Object.assign({},vn==null?void 0:vn.style),Vt),prefixCls:gn,className:oe()({[`${gn}-icon-hide`]:!Zt,[`${gn}-block-node`]:Vn,[`${gn}-unselectable`]:!fr,[`${gn}-rtl`]:dt==="rtl"},vn==null?void 0:vn.className,Ht,ro),direction:dt,checkable:nr&&x.createElement("span",{className:`${gn}-checkbox-inner`}),selectable:fr,switcherIcon:ut,draggable:Or}),sr))}),Et;(function(Ot){Ot[Ot.None=0]="None",Ot[Ot.Start=1]="Start",Ot[Ot.End=2]="End"})(Et||(Et={}));function Qt(Ot,Ut){function Yt(dt){const{key:Jt,children:vn}=dt;Ut(Jt,dt)!==!1&&Qt(vn||[],Ut)}Ot.forEach(Yt)}function un(Ot){let{treeData:Ut,expandedKeys:Yt,startKey:dt,endKey:Jt}=Ot;const vn=[];let yn=Et.None;if(dt&&dt===Jt)return[dt];if(!dt||!Jt)return[];function Ht(Zt){return Zt===dt||Zt===Jt}return Qt(Ut,Zt=>{if(yn===Et.End)return!1;if(Ht(Zt)){if(vn.push(Zt),yn===Et.None)yn=Et.Start;else if(yn===Et.Start)return yn=Et.End,!1}else yn===Et.Start&&vn.push(Zt);return Yt.includes(Zt)}),vn}function Pn(Ot,Ut){const Yt=(0,fe.Z)(Ut),dt=[];return Qt(Ot,(Jt,vn)=>{const yn=Yt.indexOf(Jt);return yn!==-1&&(dt.push(vn),Yt.splice(yn,1)),!!Yt.length}),dt}var Yn=function(Ot,Ut){var Yt={};for(var dt in Ot)Object.prototype.hasOwnProperty.call(Ot,dt)&&Ut.indexOf(dt)<0&&(Yt[dt]=Ot[dt]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jt=0,dt=Object.getOwnPropertySymbols(Ot);Jt<dt.length;Jt++)Ut.indexOf(dt[Jt])<0&&Object.prototype.propertyIsEnumerable.call(Ot,dt[Jt])&&(Yt[dt[Jt]]=Ot[dt[Jt]]);return Yt};function vr(Ot){const{isLeaf:Ut,expanded:Yt}=Ot;return Ut?x.createElement(xo.Z,null):Yt?x.createElement(dn.Z,null):x.createElement(Dn,null)}function Nr(Ot){let{treeData:Ut,children:Yt}=Ot;return Ut||(0,cr.zn)(Yt)}const no=(Ot,Ut)=>{var{defaultExpandAll:Yt,defaultExpandParent:dt,defaultExpandedKeys:Jt}=Ot,vn=Yn(Ot,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const yn=x.useRef(),Ht=x.useRef(),Zt=()=>{const{keyEntities:Or}=(0,cr.I8)(Nr(vn));let ut;return Yt?ut=Object.keys(Or):dt?ut=(0,tn.r7)(vn.expandedKeys||Jt||[],Or):ut=vn.expandedKeys||Jt,ut},[Kt,Rn]=x.useState(vn.selectedKeys||vn.defaultSelectedKeys||[]),[Vn,sr]=x.useState(()=>Zt());x.useEffect(()=>{"selectedKeys"in vn&&Rn(vn.selectedKeys)},[vn.selectedKeys]),x.useEffect(()=>{"expandedKeys"in vn&&sr(vn.expandedKeys)},[vn.expandedKeys]);const nr=(Or,ut)=>{var it;return"expandedKeys"in vn||sr(Or),(it=vn.onExpand)===null||it===void 0?void 0:it.call(vn,Or,ut)},fr=(Or,ut)=>{var it;const{multiple:Pt}=vn,{node:Bt,nativeEvent:Gt}=ut,{key:sn=""}=Bt,_n=Nr(vn),Mn=Object.assign(Object.assign({},ut),{selected:!0}),Fn=(Gt==null?void 0:Gt.ctrlKey)||(Gt==null?void 0:Gt.metaKey),Kn=Gt==null?void 0:Gt.shiftKey;let gr;Pt&&Fn?(gr=Or,yn.current=sn,Ht.current=gr,Mn.selectedNodes=Pn(_n,gr)):Pt&&Kn?(gr=Array.from(new Set([].concat((0,fe.Z)(Ht.current||[]),(0,fe.Z)(un({treeData:_n,expandedKeys:Vn,startKey:sn,endKey:yn.current}))))),Mn.selectedNodes=Pn(_n,gr)):(gr=[sn],yn.current=sn,Ht.current=gr,Mn.selectedNodes=Pn(_n,gr)),(it=vn.onSelect)===null||it===void 0||it.call(vn,gr,Mn),"selectedKeys"in vn||Rn(gr)},{getPrefixCls:wr,direction:Tn}=x.useContext(ar.E_),{prefixCls:Vt,className:gn,showIcon:On=!0,expandAction:Jn="click"}=vn,Sr=Yn(vn,["prefixCls","className","showIcon","expandAction"]),Rr=wr("tree",Vt),ro=oe()(`${Rr}-directory`,{[`${Rr}-directory-rtl`]:Tn==="rtl"},gn);return x.createElement(_t,Object.assign({icon:vr,ref:Ut,blockNode:!0},Sr,{showIcon:On,expandAction:Jn,prefixCls:Rr,className:ro,expandedKeys:Vn,selectedKeys:Kt,onSelect:fr,onExpand:nr}))};var io=x.forwardRef(no);const Bo=_t;Bo.DirectoryTree=io,Bo.TreeNode=Wr.Z;var dr=Bo},32157:function(xt,ft,pe){"use strict";pe.d(ft,{TM:function(){return ne},Yk:function(){return oe}});var be=pe(45930),xe=pe(63185),E=pe(14747),he=pe(33507),fe=pe(45503),se=pe(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}};ft.ZP=(0,se.Z)("Tree",(z,a)=>{let{prefixCls:y}=a;return[{[z.componentCls]:(0,xe.C2)(`${y}-checkbox`,z)},oe(y,z),(0,he.Z)(z)]},z=>{const{colorTextLightSolid:a,colorPrimary:y}=z;return Object.assign(Object.assign({},ne(z)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},99184:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return y}});var be=pe(87462),xe=pe(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=pe(74643),se=function(b,ee){return xe.createElement(fe.Z,(0,be.Z)({},b,{ref:ee,icon:he}))},re=xe.forwardRef(se),ie=pe(73148),le=pe(3407),ce=pe(34182),ae=pe(74664),oe=pe(94184),ne=pe.n(oe),z=pe(96159),y=x=>{const{prefixCls:b,switcherIcon:ee,treeNodeProps:te,showLine:ue}=x,{isLeaf:de,expanded:ge,loading:ve}=te;if(ve)return xe.createElement(le.Z,{className:`${b}-switcher-loading-icon`});let me;if(ue&&typeof ue=="object"&&(me=ue.showLeafIcon),de){if(!ue)return null;if(typeof me!="boolean"&&me){const Pe=typeof me=="function"?me(te):me,we=`${b}-switcher-line-custom-icon`;return(0,z.l$)(Pe)?(0,z.Tm)(Pe,{className:ne()(Pe.props.className||"",we)}):Pe}return me?xe.createElement(ie.Z,{className:`${b}-switcher-line-icon`}):xe.createElement("span",{className:`${b}-switcher-leaf-line`})}const Se=`${b}-switcher-icon`,ye=typeof ee=="function"?ee(te):ee;return(0,z.l$)(ye)?(0,z.Tm)(ye,{className:ne()(ye.props.className||"",Se)}):ye!==void 0?ye:ue?ge?xe.createElement(ce.Z,{className:`${b}-switcher-line-icon`}):xe.createElement(ae.Z,{className:`${b}-switcher-line-icon`}):xe.createElement(re,{className:Se})}},59810:function(xt,ft,pe){"use strict";pe.d(ft,{default:function(){return Kr}});var be=pe(67294),xe=pe(74902),E=pe(94184),he=pe.n(E),fe=pe(87462),se=pe(15671),re=pe(43144),ie=pe(60136),le=pe(51630),ce=pe(4942),ae=pe(45987),oe=pe(74165),ne=pe(71002),z=pe(15861),a=pe(64217);function y(At,an){var qt="cannot ".concat(At.method," ").concat(At.action," ").concat(an.status,"'"),on=new Error(qt);return on.status=an.status,on.method=At.method,on.url=At.action,on}function x(At){var an=At.responseText||At.response;if(!an)return an;try{return JSON.parse(an)}catch(qt){return an}}function b(At){var an=new XMLHttpRequest;At.onProgress&&an.upload&&(an.upload.onprogress=function(tn){tn.total>0&&(tn.percent=tn.loaded/tn.total*100),At.onProgress(tn)});var qt=new FormData;At.data&&Object.keys(At.data).forEach(function(In){var tn=At.data[In];if(Array.isArray(tn)){tn.forEach(function(An){qt.append("".concat(In,"[]"),An)});return}qt.append(In,tn)}),At.file instanceof Blob?qt.append(At.filename,At.file,At.file.name):qt.append(At.filename,At.file),an.onerror=function(tn){At.onError(tn)},an.onload=function(){return an.status<200||an.status>=300?At.onError(y(At,an),x(an)):At.onSuccess(x(an),an)},an.open(At.method,At.action,!0),At.withCredentials&&"withCredentials"in an&&(an.withCredentials=!0);var on=At.headers||{};return on["X-Requested-With"]!==null&&an.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(on).forEach(function(In){on[In]!==null&&an.setRequestHeader(In,on[In])}),an.send(qt),{abort:function(){an.abort()}}}var ee=+new Date,te=0;function ue(){return"rc-upload-".concat(ee,"-").concat(++te)}var de=pe(80334),ge=function(At,an){if(At&&an){var qt=Array.isArray(an)?an:an.split(","),on=At.name||"",In=At.type||"",tn=In.replace(/\/.*$/,"");return qt.some(function(An){var cn=An.trim();if(/^\*(\/\*)?$/.test(An))return!0;if(cn.charAt(0)==="."){var xr=on.toLowerCase(),ur=cn.toLowerCase(),Ur=[ur];return(ur===".jpg"||ur===".jpeg")&&(Ur=[".jpg",".jpeg"]),Ur.some(function(to){return xr.endsWith(to)})}return/\/\*$/.test(cn)?tn===cn.replace(/\/.*$/,""):In===cn?!0:/^\w+$/.test(cn)?((0,de.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(cn,"'.Skip for check.")),!0):!1})}return!0};function ve(At,an){var qt=At.createReader(),on=[];function In(){qt.readEntries(function(tn){var An=Array.prototype.slice.apply(tn);on=on.concat(An);var cn=!An.length;cn?an(on):In()})}In()}var me=function(an,qt,on){var In=function tn(An,cn){An&&(An.path=cn||"",An.isFile?An.file(function(xr){on(xr)&&(An.fullPath&&!xr.webkitRelativePath&&(Object.defineProperties(xr,{webkitRelativePath:{writable:!0}}),xr.webkitRelativePath=An.fullPath.replace(/^\//,""),Object.defineProperties(xr,{webkitRelativePath:{writable:!1}})),qt([xr]))}):An.isDirectory&&ve(An,function(xr){xr.forEach(function(ur){tn(ur,"".concat(cn).concat(An.name,"/"))})}))};an.forEach(function(tn){In(tn.webkitGetAsEntry())})},Se=me,ye=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Pe=function(At){(0,ie.Z)(qt,At);var an=(0,le.Z)(qt);function qt(){var on;(0,se.Z)(this,qt);for(var In=arguments.length,tn=new Array(In),An=0;An<In;An++)tn[An]=arguments[An];return on=an.call.apply(an,[this].concat(tn)),on.state={uid:ue()},on.reqs={},on.fileInput=void 0,on._isMounted=void 0,on.onChange=function(cn){var xr=on.props,ur=xr.accept,Ur=xr.directory,to=cn.target.files,xo=(0,xe.Z)(to).filter(function(dn){return!Ur||ge(dn,ur)});on.uploadFiles(xo),on.reset()},on.onClick=function(cn){var xr=on.fileInput;if(xr){var ur=on.props,Ur=ur.children,to=ur.onClick;if(Ur&&Ur.type==="button"){var xo=xr.parentNode;xo.focus(),xo.querySelector("button").blur()}xr.click(),to&&to(cn)}},on.onKeyDown=function(cn){cn.key==="Enter"&&on.onClick(cn)},on.onFileDrop=function(cn){var xr=on.props.multiple;if(cn.preventDefault(),cn.type!=="dragover")if(on.props.directory)Se(Array.prototype.slice.call(cn.dataTransfer.items),on.uploadFiles,function(Ur){return ge(Ur,on.props.accept)});else{var ur=(0,xe.Z)(cn.dataTransfer.files).filter(function(Ur){return ge(Ur,on.props.accept)});xr===!1&&(ur=ur.slice(0,1)),on.uploadFiles(ur)}},on.uploadFiles=function(cn){var xr=(0,xe.Z)(cn),ur=xr.map(function(Ur){return Ur.uid=ue(),on.processFile(Ur,xr)});Promise.all(ur).then(function(Ur){var to=on.props.onBatchStart;to==null||to(Ur.map(function(xo){var dn=xo.origin,Ro=xo.parsedFile;return{file:dn,parsedFile:Ro}})),Ur.filter(function(xo){return xo.parsedFile!==null}).forEach(function(xo){on.post(xo)})})},on.processFile=function(){var cn=(0,z.Z)((0,oe.Z)().mark(function xr(ur,Ur){var to,xo,dn,Ro,ea,Po,ta,Dn,ar;return(0,oe.Z)().wrap(function(Bn){for(;;)switch(Bn.prev=Bn.next){case 0:if(to=on.props.beforeUpload,xo=ur,!to){Bn.next=14;break}return Bn.prev=3,Bn.next=6,to(ur,Ur);case 6:xo=Bn.sent,Bn.next=12;break;case 9:Bn.prev=9,Bn.t0=Bn.catch(3),xo=!1;case 12:if(xo!==!1){Bn.next=14;break}return Bn.abrupt("return",{origin:ur,parsedFile:null,action:null,data:null});case 14:if(dn=on.props.action,typeof dn!="function"){Bn.next=21;break}return Bn.next=18,dn(ur);case 18:Ro=Bn.sent,Bn.next=22;break;case 21:Ro=dn;case 22:if(ea=on.props.data,typeof ea!="function"){Bn.next=29;break}return Bn.next=26,ea(ur);case 26:Po=Bn.sent,Bn.next=30;break;case 29:Po=ea;case 30:return ta=((0,ne.Z)(xo)==="object"||typeof xo=="string")&&xo?xo:ur,ta instanceof File?Dn=ta:Dn=new File([ta],ur.name,{type:ur.type}),ar=Dn,ar.uid=ur.uid,Bn.abrupt("return",{origin:ur,data:Po,parsedFile:ar,action:Ro});case 35:case"end":return Bn.stop()}},xr,null,[[3,9]])}));return function(xr,ur){return cn.apply(this,arguments)}}(),on.saveFileInput=function(cn){on.fileInput=cn},on}return(0,re.Z)(qt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(In){var tn=this,An=In.data,cn=In.origin,xr=In.action,ur=In.parsedFile;if(this._isMounted){var Ur=this.props,to=Ur.onStart,xo=Ur.customRequest,dn=Ur.name,Ro=Ur.headers,ea=Ur.withCredentials,Po=Ur.method,ta=cn.uid,Dn=xo||b,ar={action:xr,filename:dn,data:An,file:ur,headers:Ro,withCredentials:ea,method:Po||"post",onProgress:function(Bn){var wo=tn.props.onProgress;wo==null||wo(Bn,ur)},onSuccess:function(Bn,wo){var lo=tn.props.onSuccess;lo==null||lo(Bn,ur,wo),delete tn.reqs[ta]},onError:function(Bn,wo){var lo=tn.props.onError;lo==null||lo(Bn,wo,ur),delete tn.reqs[ta]}};to(cn),this.reqs[ta]=Dn(ar)}}},{key:"reset",value:function(){this.setState({uid:ue()})}},{key:"abort",value:function(In){var tn=this.reqs;if(In){var An=In.uid?In.uid:In;tn[An]&&tn[An].abort&&tn[An].abort(),delete tn[An]}else Object.keys(tn).forEach(function(cn){tn[cn]&&tn[cn].abort&&tn[cn].abort(),delete tn[cn]})}},{key:"render",value:function(){var In,tn=this.props,An=tn.component,cn=tn.prefixCls,xr=tn.className,ur=tn.disabled,Ur=tn.id,to=tn.style,xo=tn.multiple,dn=tn.accept,Ro=tn.capture,ea=tn.children,Po=tn.directory,ta=tn.openFileDialogOnClick,Dn=tn.onMouseEnter,ar=tn.onMouseLeave,Ir=(0,ae.Z)(tn,ye),Bn=he()((In={},(0,ce.Z)(In,cn,!0),(0,ce.Z)(In,"".concat(cn,"-disabled"),ur),(0,ce.Z)(In,xr,xr),In)),wo=Po?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},lo=ur?{}:{onClick:ta?this.onClick:function(){},onKeyDown:ta?this.onKeyDown:function(){},onMouseEnter:Dn,onMouseLeave:ar,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return be.createElement(An,(0,fe.Z)({},lo,{className:Bn,role:"button",style:to}),be.createElement("input",(0,fe.Z)({},(0,a.Z)(Ir,{aria:!0,data:!0}),{id:Ur,disabled:ur,type:"file",ref:this.saveFileInput,onClick:function(ca){return ca.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:dn},wo,{multiple:xo,onChange:this.onChange},Ro!=null?{capture:Ro}:{})),ea)}}]),qt}(be.Component),we=Pe;function Te(){}var Ee=function(At){(0,ie.Z)(qt,At);var an=(0,le.Z)(qt);function qt(){var on;(0,se.Z)(this,qt);for(var In=arguments.length,tn=new Array(In),An=0;An<In;An++)tn[An]=arguments[An];return on=an.call.apply(an,[this].concat(tn)),on.uploader=void 0,on.saveUploader=function(cn){on.uploader=cn},on}return(0,re.Z)(qt,[{key:"abort",value:function(In){this.uploader.abort(In)}},{key:"render",value:function(){return be.createElement(we,(0,fe.Z)({},this.props,{ref:this.saveUploader}))}}]),qt}(be.Component);Ee.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Te,onError:Te,onSuccess:Te,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var _e=Ee,Ce=_e,Oe=pe(5663),Ie=pe(73935),Ue=pe(53124),je=pe(98866),nt=pe(10110),Je=pe(24457),Qe={icon:function(an,qt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:qt}},{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:an}}]}},name:"file",theme:"twotone"},Xe=Qe,ze=pe(74643),ke=function(an,qt){return be.createElement(ze.Z,(0,fe.Z)({},an,{ref:qt,icon:Xe}))},Be=be.forwardRef(ke),qe=pe(3407),Ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},gt=Ye,$e=function(an,qt){return be.createElement(ze.Z,(0,fe.Z)({},an,{ref:qt,icon:gt}))},We=be.forwardRef($e),Re={icon:function(an,qt){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:an}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:qt}},{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:qt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:qt}},{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:an}}]}},name:"picture",theme:"twotone"},tt=Re,Me=function(an,qt){return be.createElement(ze.Z,(0,fe.Z)({},an,{ref:qt,icon:tt}))},He=be.forwardRef(Me),Ve=pe(38379),Ze=pe(57838),Ke=pe(33603),Ae=pe(96159),Le=pe(71577);function Ne(At){return Object.assign(Object.assign({},At),{lastModified:At.lastModified,lastModifiedDate:At.lastModifiedDate,name:At.name,size:At.size,type:At.type,uid:At.uid,percent:0,originFileObj:At})}function Ge(At,an){const qt=(0,xe.Z)(an),on=qt.findIndex(In=>{let{uid:tn}=In;return tn===At.uid});return on===-1?qt.push(At):qt[on]=At,qt}function ot(At,an){const qt=At.uid!==void 0?"uid":"name";return an.filter(on=>on[qt]===At[qt])[0]}function St(At,an){const qt=At.uid!==void 0?"uid":"name",on=an.filter(In=>In[qt]!==At[qt]);return on.length===an.length?null:on}const wt=function(){const an=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),on=an[an.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(on)||[""])[0]},rt=At=>At.indexOf("image/")===0,bt=At=>{if(At.type&&!At.thumbUrl)return rt(At.type);const an=At.thumbUrl||At.url||"",qt=wt(an);return/^data:image\//.test(an)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(qt)?!0:!(/^data:/.test(an)||qt)},Ft=200;function $t(At){return new Promise(an=>{if(!At.type||!rt(At.type)){an("");return}const qt=document.createElement("canvas");qt.width=Ft,qt.height=Ft,qt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ft}px; height: ${Ft}px; z-index: 9999; display: none;`,document.body.appendChild(qt);const on=qt.getContext("2d"),In=new Image;if(In.onload=()=>{const{width:tn,height:An}=In;let cn=Ft,xr=Ft,ur=0,Ur=0;tn>An?(xr=An*(Ft/tn),Ur=-(xr-cn)/2):(cn=tn*(Ft/An),ur=-(cn-xr)/2),on.drawImage(In,ur,Ur,cn,xr);const to=qt.toDataURL();document.body.removeChild(qt),window.URL.revokeObjectURL(In.src),an(to)},In.crossOrigin="anonymous",At.type.startsWith("image/svg+xml")){const tn=new FileReader;tn.onload=()=>{tn.result&&(In.src=tn.result)},tn.readAsDataURL(At)}else if(At.type.startsWith("image/gif")){const tn=new FileReader;tn.onload=()=>{tn.result&&an(tn.result)},tn.readAsDataURL(At)}else In.src=window.URL.createObjectURL(At)})}var st=pe(84249),Nt=pe(90674),ct=pe(99569),pt=pe(38703),Ct=pe(83062),zt=be.forwardRef((At,an)=>{let{prefixCls:qt,className:on,style:In,locale:tn,listType:An,file:cn,items:xr,progress:ur,iconRender:Ur,actionIconRender:to,itemRender:xo,isImgUrl:dn,showPreviewIcon:Ro,showRemoveIcon:ea,showDownloadIcon:Po,previewIcon:ta,removeIcon:Dn,downloadIcon:ar,onPreview:Ir,onDownload:Bn,onClose:wo}=At;var lo,ia;const{status:ca}=cn,[ua,_t]=be.useState(ca);be.useEffect(()=>{ca!=="removed"&&_t(ca)},[ca]);const[Et,Qt]=be.useState(!1);be.useEffect(()=>{const Ht=setTimeout(()=>{Qt(!0)},300);return()=>{clearTimeout(Ht)}},[]);const un=Ur(cn);let Pn=be.createElement("div",{className:`${qt}-icon`},un);if(An==="picture"||An==="picture-card"||An==="picture-circle")if(ua==="uploading"||!cn.thumbUrl&&!cn.url){const Ht=he()(`${qt}-list-item-thumbnail`,{[`${qt}-list-item-file`]:ua!=="uploading"});Pn=be.createElement("div",{className:Ht},un)}else{const Ht=dn!=null&&dn(cn)?be.createElement("img",{src:cn.thumbUrl||cn.url,alt:cn.name,className:`${qt}-list-item-image`,crossOrigin:cn.crossOrigin}):un,Zt=he()(`${qt}-list-item-thumbnail`,{[`${qt}-list-item-file`]:dn&&!dn(cn)});Pn=be.createElement("a",{className:Zt,onClick:Kt=>Ir(cn,Kt),href:cn.url||cn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ht)}const Yn=he()(`${qt}-list-item`,`${qt}-list-item-${ua}`),vr=typeof cn.linkProps=="string"?JSON.parse(cn.linkProps):cn.linkProps,Nr=ea?to((typeof Dn=="function"?Dn(cn):Dn)||be.createElement(st.Z,null),()=>wo(cn),qt,tn.removeFile):null,no=Po&&ua==="done"?to((typeof ar=="function"?ar(cn):ar)||be.createElement(Nt.Z,null),()=>Bn(cn),qt,tn.downloadFile):null,uo=An!=="picture-card"&&An!=="picture-circle"&&be.createElement("span",{key:"download-delete",className:he()(`${qt}-list-item-actions`,{picture:An==="picture"})},no,Nr),io=he()(`${qt}-list-item-name`),Bo=cn.url?[be.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:io,title:cn.name},vr,{href:cn.url,onClick:Ht=>Ir(cn,Ht)}),cn.name),uo]:[be.createElement("span",{key:"view",className:io,onClick:Ht=>Ir(cn,Ht),title:cn.name},cn.name),uo],dr={pointerEvents:"none",opacity:.5},Ot=Ro?be.createElement("a",{href:cn.url||cn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:cn.url||cn.thumbUrl?void 0:dr,onClick:Ht=>Ir(cn,Ht),title:tn.previewFile},typeof ta=="function"?ta(cn):ta||be.createElement(ct.Z,null)):null,Ut=(An==="picture-card"||An==="picture-circle")&&ua!=="uploading"&&be.createElement("span",{className:`${qt}-list-item-actions`},Ot,ua==="done"&&no,Nr),{getPrefixCls:Yt}=be.useContext(Ue.E_),dt=Yt(),Jt=be.createElement("div",{className:Yn},Pn,Bo,Ut,Et&&be.createElement(Ve.default,{motionName:`${dt}-fade`,visible:ua==="uploading",motionDeadline:2e3},Ht=>{let{className:Zt}=Ht;const Kt="percent"in cn?be.createElement(pt.Z,Object.assign({},ur,{type:"line",percent:cn.percent,"aria-label":cn["aria-label"],"aria-labelledby":cn["aria-labelledby"]})):null;return be.createElement("div",{className:he()(`${qt}-list-item-progress`,Zt)},Kt)})),vn=cn.response&&typeof cn.response=="string"?cn.response:((lo=cn.error)===null||lo===void 0?void 0:lo.statusText)||((ia=cn.error)===null||ia===void 0?void 0:ia.message)||tn.uploadError,yn=ua==="error"?be.createElement(Ct.Z,{title:vn,getPopupContainer:Ht=>Ht.parentNode},Jt):Jt;return be.createElement("div",{className:he()(`${qt}-list-item-container`,on),style:In,ref:an},xo?xo(yn,cn,xr,{download:Bn.bind(null,cn),preview:Ir.bind(null,cn),remove:wo.bind(null,cn)}):yn)});const rn=(At,an)=>{const{listType:qt="text",previewFile:on=$t,onPreview:In,onDownload:tn,onRemove:An,locale:cn,iconRender:xr,isImageUrl:ur=bt,prefixCls:Ur,items:to=[],showPreviewIcon:xo=!0,showRemoveIcon:dn=!0,showDownloadIcon:Ro=!1,removeIcon:ea,previewIcon:Po,downloadIcon:ta,progress:Dn={size:[-1,2],showInfo:!1},appendAction:ar,appendActionVisible:Ir=!0,itemRender:Bn,disabled:wo}=At,lo=(0,Ze.Z)(),[ia,ca]=be.useState(!1);be.useEffect(()=>{qt!=="picture"&&qt!=="picture-card"&&qt!=="picture-circle"||(to||[]).forEach(dr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(dr.originFileObj instanceof File||dr.originFileObj instanceof Blob)||dr.thumbUrl!==void 0||(dr.thumbUrl="",on&&on(dr.originFileObj).then(Ot=>{dr.thumbUrl=Ot||"",lo()}))})},[qt,to,on]),be.useEffect(()=>{ca(!0)},[]);const ua=(dr,Ot)=>{if(In)return Ot==null||Ot.preventDefault(),In(dr)},_t=dr=>{typeof tn=="function"?tn(dr):dr.url&&window.open(dr.url)},Et=dr=>{An==null||An(dr)},Qt=dr=>{if(xr)return xr(dr,qt);const Ot=dr.status==="uploading",Ut=ur&&ur(dr)?be.createElement(He,null):be.createElement(Be,null);let Yt=Ot?be.createElement(qe.Z,null):be.createElement(We,null);return qt==="picture"?Yt=Ot?be.createElement(qe.Z,null):Ut:(qt==="picture-card"||qt==="picture-circle")&&(Yt=Ot?cn.uploading:Ut),Yt},un=(dr,Ot,Ut,Yt)=>{const dt={type:"text",size:"small",title:Yt,onClick:Jt=>{Ot(),(0,Ae.l$)(dr)&&dr.props.onClick&&dr.props.onClick(Jt)},className:`${Ut}-list-item-action`,disabled:wo};if((0,Ae.l$)(dr)){const Jt=(0,Ae.Tm)(dr,Object.assign(Object.assign({},dr.props),{onClick:()=>{}}));return be.createElement(Le.ZP,Object.assign({},dt,{icon:Jt}))}return be.createElement(Le.ZP,Object.assign({},dt),be.createElement("span",null,dr))};be.useImperativeHandle(an,()=>({handlePreview:ua,handleDownload:_t}));const{getPrefixCls:Pn}=be.useContext(Ue.E_),Yn=Pn("upload",Ur),vr=Pn(),Nr=he()(`${Yn}-list`,`${Yn}-list-${qt}`),no=(0,xe.Z)(to.map(dr=>({key:dr.uid,file:dr})));let io={motionDeadline:2e3,motionName:`${Yn}-${qt==="picture-card"||qt==="picture-circle"?"animate-inline":"animate"}`,keys:no,motionAppear:ia};const Bo=be.useMemo(()=>{const dr=Object.assign({},(0,Ke.Z)(vr));return delete dr.onAppearEnd,delete dr.onEnterEnd,delete dr.onLeaveEnd,dr},[vr]);return qt!=="picture-card"&&qt!=="picture-circle"&&(io=Object.assign(Object.assign({},Bo),io)),be.createElement("div",{className:Nr},be.createElement(Ve.CSSMotionList,Object.assign({},io,{component:!1}),dr=>{let{key:Ot,file:Ut,className:Yt,style:dt}=dr;return be.createElement(zt,{key:Ot,locale:cn,prefixCls:Yn,className:Yt,style:dt,file:Ut,items:to,progress:Dn,listType:qt,isImgUrl:ur,showPreviewIcon:xo,showRemoveIcon:dn,showDownloadIcon:Ro,removeIcon:ea,previewIcon:Po,downloadIcon:ta,iconRender:Qt,actionIconRender:un,itemRender:Bn,onPreview:ua,onDownload:_t,onClose:Et})}),ar&&be.createElement(Ve.default,Object.assign({},io,{visible:Ir,forceRender:!0}),dr=>{let{className:Ot,style:Ut}=dr;return(0,Ae.Tm)(ar,Yt=>({className:he()(Yt.className,Ot),style:Object.assign(Object.assign(Object.assign({},Ut),{pointerEvents:Ot?"none":void 0}),Yt.style)}))}))};var jn=be.forwardRef(rn),Hn=pe(14747),Pr=pe(33507),fn=pe(67968),Er=pe(45503),Lo=At=>{const{componentCls:an,iconCls:qt}=At;return{[`${an}-wrapper`]:{[`${an}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:At.colorFillAlter,border:`${At.lineWidth}px dashed ${At.colorBorder}`,borderRadius:At.borderRadiusLG,cursor:"pointer",transition:`border-color ${At.motionDurationSlow}`,[an]:{padding:`${At.padding}px 0`},[`${an}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${an}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${an}-disabled):hover`]:{borderColor:At.colorPrimaryHover},[`p${an}-drag-icon`]:{marginBottom:At.margin,[qt]:{color:At.colorPrimary,fontSize:At.uploadThumbnailSize}},[`p${an}-text`]:{margin:`0 0 ${At.marginXXS}px`,color:At.colorTextHeading,fontSize:At.fontSizeLG},[`p${an}-hint`]:{color:At.colorTextDescription,fontSize:At.fontSize},[`&${an}-disabled`]:{cursor:"not-allowed",[`p${an}-drag-icon ${qt},
p${an}-text,
p${an}-hint
`]:{color:At.colorTextDisabled}}}}}},Eo=At=>{const{componentCls:an,antCls:qt,iconCls:on,fontSize:In,lineHeight:tn}=At,An=`${an}-list-item`,cn=`${An}-actions`,xr=`${An}-action`,ur=Math.round(In*tn);return{[`${an}-wrapper`]:{[`${an}-list`]:Object.assign(Object.assign({},(0,Hn.dF)()),{lineHeight:At.lineHeight,[An]:{position:"relative",height:At.lineHeight*In,marginTop:At.marginXS,fontSize:In,display:"flex",alignItems:"center",transition:`background-color ${At.motionDurationSlow}`,"&:hover":{backgroundColor:At.controlItemBgHover},[`${An}-name`]:Object.assign(Object.assign({},Hn.vS),{padding:`0 ${At.paddingXS}px`,lineHeight:tn,flex:"auto",transition:`all ${At.motionDurationSlow}`}),[cn]:{[xr]:{opacity:0},[`${xr}${qt}-btn-sm`]:{height:ur,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${xr}:focus-visible,
&.picture ${xr}
`]:{opacity:1},[on]:{color:At.actionsColor,transition:`all ${At.motionDurationSlow}`},[`&:hover ${on}`]:{color:At.colorText}},[`${an}-icon ${on}`]:{color:At.colorTextDescription,fontSize:In},[`${An}-progress`]:{position:"absolute",bottom:-At.uploadProgressOffset,width:"100%",paddingInlineStart:In+At.paddingXS,fontSize:In,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${An}:hover ${xr}`]:{opacity:1,color:At.colorText},[`${An}-error`]:{color:At.colorError,[`${An}-name, ${an}-icon ${on}`]:{color:At.colorError},[cn]:{[`${on}, ${on}:hover`]:{color:At.colorError},[xr]:{opacity:1}}},[`${an}-list-item-container`]:{transition:`opacity ${At.motionDurationSlow}, height ${At.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},mo=pe(45930),Sn=pe(16932);const ln=new mo.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),mn=new mo.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Wn=At=>{const{componentCls:an}=At,qt=`${an}-animate-inline`;return[{[`${an}-wrapper`]:{[`${qt}-appear, ${qt}-enter, ${qt}-leave`]:{animationDuration:At.motionDurationSlow,animationTimingFunction:At.motionEaseInOutCirc,animationFillMode:"forwards"},[`${qt}-appear, ${qt}-enter`]:{animationName:ln},[`${qt}-leave`]:{animationName:mn}}},{[`${an}-wrapper`]:(0,Sn.J$)(At)},ln,mn]},lr=pe(47448),er=pe(84780);const Wr=At=>{const{componentCls:an,iconCls:qt,uploadThumbnailSize:on,uploadProgressOffset:In}=At,tn=`${an}-list`,An=`${tn}-item`;return{[`${an}-wrapper`]:{[`
${tn}${tn}-picture,
${tn}${tn}-picture-card,
${tn}${tn}-picture-circle
`]:{[An]:{position:"relative",height:on+At.lineWidth*2+At.paddingXS*2,padding:At.paddingXS,border:`${At.lineWidth}px ${At.lineType} ${At.colorBorder}`,borderRadius:At.borderRadiusLG,"&:hover":{background:"transparent"},[`${An}-thumbnail`]:Object.assign(Object.assign({},Hn.vS),{width:on,height:on,lineHeight:`${on+At.paddingSM}px`,textAlign:"center",flex:"none",[qt]:{fontSize:At.fontSizeHeading2,color:At.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${An}-progress`]:{bottom:In,width:`calc(100% - ${At.paddingSM*2}px)`,marginTop:0,paddingInlineStart:on+At.paddingXS}},[`${An}-error`]:{borderColor:At.colorError,[`${An}-thumbnail ${qt}`]:{[`svg path[fill='${lr.blue[0]}']`]:{fill:At.colorErrorBg},[`svg path[fill='${lr.blue.primary}']`]:{fill:At.colorError}}},[`${An}-uploading`]:{borderStyle:"dashed",[`${An}-name`]:{marginBottom:In}}},[`${tn}${tn}-picture-circle ${An}`]:{[`&, &::before, ${An}-thumbnail`]:{borderRadius:"50%"}}}}},Br=At=>{const{componentCls:an,iconCls:qt,fontSizeLG:on,colorTextLightSolid:In}=At,tn=`${an}-list`,An=`${tn}-item`,cn=At.uploadPicCardSize;return{[`
${an}-wrapper${an}-picture-card-wrapper,
${an}-wrapper${an}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Hn.dF)()),{display:"inline-block",width:"100%",[`${an}${an}-select`]:{width:cn,height:cn,marginInlineEnd:At.marginXS,marginBottom:At.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:At.colorFillAlter,border:`${At.lineWidth}px dashed ${At.colorBorder}`,borderRadius:At.borderRadiusLG,cursor:"pointer",transition:`border-color ${At.motionDurationSlow}`,[`> ${an}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${an}-disabled):hover`]:{borderColor:At.colorPrimary}},[`${tn}${tn}-picture-card, ${tn}${tn}-picture-circle`]:{[`${tn}-item-container`]:{display:"inline-block",width:cn,height:cn,marginBlock:`0 ${At.marginXS}px`,marginInline:`0 ${At.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[An]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${At.paddingXS*2}px)`,height:`calc(100% - ${At.paddingXS*2}px)`,backgroundColor:At.colorBgMask,opacity:0,transition:`all ${At.motionDurationSlow}`,content:'" "'}},[`${An}:hover`]:{[`&::before, ${An}-actions`]:{opacity:1}},[`${An}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${At.motionDurationSlow}`,[`${qt}-eye, ${qt}-download, ${qt}-delete`]:{zIndex:10,width:on,margin:`0 ${At.marginXXS}px`,fontSize:on,cursor:"pointer",transition:`all ${At.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${An}-actions, ${An}-actions:hover`]:{[`${qt}-eye, ${qt}-download, ${qt}-delete`]:{color:new er.C(In).setAlpha(.65).toRgbString(),"&:hover":{color:In}}},[`${An}-thumbnail, ${An}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${An}-name`]:{display:"none",textAlign:"center"},[`${An}-file + ${An}-name`]:{position:"absolute",bottom:At.margin,display:"block",width:`calc(100% - ${At.paddingXS*2}px)`},[`${An}-uploading`]:{[`&${An}`]:{backgroundColor:At.colorFillAlter},[`&::before, ${qt}-eye, ${qt}-download, ${qt}-delete`]:{display:"none"}},[`${An}-progress`]:{bottom:At.marginXL,width:`calc(100% - ${At.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${an}-wrapper${an}-picture-circle-wrapper`]:{[`${an}${an}-select`]:{borderRadius:"50%"}}}};var Mt=At=>{const{componentCls:an}=At;return{[`${an}-rtl`]:{direction:"rtl"}}};const jt=At=>{const{componentCls:an,colorTextDisabled:qt}=At;return{[`${an}-wrapper`]:Object.assign(Object.assign({},(0,Hn.Wf)(At)),{[an]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${an}-select`]:{display:"inline-block"},[`${an}-disabled`]:{color:qt,cursor:"not-allowed"}})}};var Tt=(0,fn.Z)("Upload",At=>{const{fontSizeHeading3:an,fontSize:qt,lineHeight:on,lineWidth:In,controlHeightLG:tn}=At,An=Math.round(qt*on),cn=(0,Er.TS)(At,{uploadThumbnailSize:an*2,uploadProgressOffset:An/2+In,uploadPicCardSize:tn*2.55});return[jt(cn),Lo(cn),Wr(cn),Br(cn),Eo(cn),Wn(cn),Mt(cn),(0,Pr.Z)(cn)]},At=>({actionsColor:At.colorTextDescription})),wn=function(At,an,qt,on){function In(tn){return tn instanceof qt?tn:new qt(function(An){An(tn)})}return new(qt||(qt=Promise))(function(tn,An){function cn(Ur){try{ur(on.next(Ur))}catch(to){An(to)}}function xr(Ur){try{ur(on.throw(Ur))}catch(to){An(to)}}function ur(Ur){Ur.done?tn(Ur.value):In(Ur.value).then(cn,xr)}ur((on=on.apply(At,an||[])).next())})};const zn=`__LIST_IGNORE_${Date.now()}__`,$n=(At,an)=>{const{fileList:qt,defaultFileList:on,onRemove:In,showUploadList:tn=!0,listType:An="text",onPreview:cn,onDownload:xr,onChange:ur,onDrop:Ur,previewFile:to,disabled:xo,locale:dn,iconRender:Ro,isImageUrl:ea,progress:Po,prefixCls:ta,className:Dn,type:ar="select",children:Ir,style:Bn,itemRender:wo,maxCount:lo,data:ia={},multiple:ca=!1,action:ua="",accept:_t="",supportServerRender:Et=!0,rootClassName:Qt}=At,un=be.useContext(je.Z),Pn=xo!=null?xo:un,[Yn,vr]=(0,Oe.Z)(on||[],{value:qt,postState:ut=>ut!=null?ut:[]}),[Nr,no]=be.useState("drop"),uo=be.useRef(null);be.useMemo(()=>{const ut=Date.now();(qt||[]).forEach((it,Pt)=>{!it.uid&&!Object.isFrozen(it)&&(it.uid=`__AUTO__${ut}_${Pt}__`)})},[qt]);const io=(ut,it,Pt)=>{let Bt=(0,xe.Z)(it),Gt=!1;lo===1?Bt=Bt.slice(-1):lo&&(Gt=Bt.length>lo,Bt=Bt.slice(0,lo)),(0,Ie.flushSync)(()=>{vr(Bt)});const sn={file:ut,fileList:Bt};Pt&&(sn.event=Pt),(!Gt||Bt.some(_n=>_n.uid===ut.uid))&&(0,Ie.flushSync)(()=>{ur==null||ur(sn)})},Bo=(ut,it)=>wn(void 0,void 0,void 0,function*(){const{beforeUpload:Pt,transformFile:Bt}=At;let Gt=ut;if(Pt){const sn=yield Pt(ut,it);if(sn===!1)return!1;if(delete ut[zn],sn===zn)return Object.defineProperty(ut,zn,{value:!0,configurable:!0}),!1;typeof sn=="object"&&sn&&(Gt=sn)}return Bt&&(Gt=yield Bt(Gt)),Gt}),dr=ut=>{const it=ut.filter(Gt=>!Gt.file[zn]);if(!it.length)return;const Pt=it.map(Gt=>Ne(Gt.file));let Bt=(0,xe.Z)(Yn);Pt.forEach(Gt=>{Bt=Ge(Gt,Bt)}),Pt.forEach((Gt,sn)=>{let _n=Gt;if(it[sn].parsedFile)Gt.status="uploading";else{const{originFileObj:Mn}=Gt;let Fn;try{Fn=new File([Mn],Mn.name,{type:Mn.type})}catch(Kn){Fn=new Blob([Mn],{type:Mn.type}),Fn.name=Mn.name,Fn.lastModifiedDate=new Date,Fn.lastModified=new Date().getTime()}Fn.uid=Gt.uid,_n=Fn}io(_n,Bt)})},Ot=(ut,it,Pt)=>{try{typeof ut=="string"&&(ut=JSON.parse(ut))}catch(sn){}if(!ot(it,Yn))return;const Bt=Ne(it);Bt.status="done",Bt.percent=100,Bt.response=ut,Bt.xhr=Pt;const Gt=Ge(Bt,Yn);io(Bt,Gt)},Ut=(ut,it)=>{if(!ot(it,Yn))return;const Pt=Ne(it);Pt.status="uploading",Pt.percent=ut.percent;const Bt=Ge(Pt,Yn);io(Pt,Bt,ut)},Yt=(ut,it,Pt)=>{if(!ot(Pt,Yn))return;const Bt=Ne(Pt);Bt.error=ut,Bt.response=it,Bt.status="error";const Gt=Ge(Bt,Yn);io(Bt,Gt)},dt=ut=>{let it;Promise.resolve(typeof In=="function"?In(ut):In).then(Pt=>{var Bt;if(Pt===!1)return;const Gt=St(ut,Yn);Gt&&(it=Object.assign(Object.assign({},ut),{status:"removed"}),Yn==null||Yn.forEach(sn=>{const _n=it.uid!==void 0?"uid":"name";sn[_n]===it[_n]&&!Object.isFrozen(sn)&&(sn.status="removed")}),(Bt=uo.current)===null||Bt===void 0||Bt.abort(it),io(it,Gt))})},Jt=ut=>{no(ut.type),ut.type==="drop"&&(Ur==null||Ur(ut))};be.useImperativeHandle(an,()=>({onBatchStart:dr,onSuccess:Ot,onProgress:Ut,onError:Yt,fileList:Yn,upload:uo.current}));const{getPrefixCls:vn,direction:yn,upload:Ht}=be.useContext(Ue.E_),Zt=vn("upload",ta),Kt=Object.assign(Object.assign({onBatchStart:dr,onError:Yt,onProgress:Ut,onSuccess:Ot},At),{data:ia,multiple:ca,action:ua,accept:_t,supportServerRender:Et,prefixCls:Zt,disabled:Pn,beforeUpload:Bo,onChange:void 0});delete Kt.className,delete Kt.style,(!Ir||Pn)&&delete Kt.id;const[Rn,Vn]=Tt(Zt),[sr]=(0,nt.Z)("Upload",Je.Z.Upload),{showRemoveIcon:nr,showPreviewIcon:fr,showDownloadIcon:wr,removeIcon:Tn,previewIcon:Vt,downloadIcon:gn}=typeof tn=="boolean"?{}:tn,On=(ut,it)=>tn?be.createElement(jn,{prefixCls:Zt,listType:An,items:Yn,previewFile:to,onPreview:cn,onDownload:xr,onRemove:dt,showRemoveIcon:!Pn&&nr,showPreviewIcon:fr,showDownloadIcon:wr,removeIcon:Tn,previewIcon:Vt,downloadIcon:gn,iconRender:Ro,locale:Object.assign(Object.assign({},sr),dn),isImageUrl:ea,progress:Po,appendAction:ut,appendActionVisible:it,itemRender:wo,disabled:Pn}):ut,Jn=he()(`${Zt}-wrapper`,Dn,Qt,Vn,Ht==null?void 0:Ht.className,{[`${Zt}-rtl`]:yn==="rtl",[`${Zt}-picture-card-wrapper`]:An==="picture-card",[`${Zt}-picture-circle-wrapper`]:An==="picture-circle"}),Sr=Object.assign(Object.assign({},Ht==null?void 0:Ht.style),Bn);if(ar==="drag"){const ut=he()(Vn,Zt,`${Zt}-drag`,{[`${Zt}-drag-uploading`]:Yn.some(it=>it.status==="uploading"),[`${Zt}-drag-hover`]:Nr==="dragover",[`${Zt}-disabled`]:Pn,[`${Zt}-rtl`]:yn==="rtl"});return Rn(be.createElement("span",{className:Jn},be.createElement("div",{className:ut,style:Sr,onDrop:Jt,onDragOver:Jt,onDragLeave:Jt},be.createElement(Ce,Object.assign({},Kt,{ref:uo,className:`${Zt}-btn`}),be.createElement("div",{className:`${Zt}-drag-container`},Ir))),On()))}const Rr=he()(Zt,`${Zt}-select`,{[`${Zt}-disabled`]:Pn}),Or=(ut=>be.createElement("div",{className:Rr,style:ut},be.createElement(Ce,Object.assign({},Kt,{ref:uo}))))(Ir?void 0:{display:"none"});return Rn(An==="picture-card"||An==="picture-circle"?be.createElement("span",{className:Jn},On(Or,!!Ir)):be.createElement("span",{className:Jn},Or,On()))};var mr=be.forwardRef($n),Lr=function(At,an){var qt={};for(var on in At)Object.prototype.hasOwnProperty.call(At,on)&&an.indexOf(on)<0&&(qt[on]=At[on]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,on=Object.getOwnPropertySymbols(At);In<on.length;In++)an.indexOf(on[In])<0&&Object.prototype.propertyIsEnumerable.call(At,on[In])&&(qt[on[In]]=At[on[In]]);return qt},vo=be.forwardRef((At,an)=>{var{style:qt,height:on}=At,In=Lr(At,["style","height"]);return be.createElement(mr,Object.assign({ref:an},In,{type:"drag",style:Object.assign(Object.assign({},qt),{height:on})}))});const Cn=mr;Cn.Dragger=vo,Cn.LIST_IGNORE=zn;var Kr=Cn},62661:function(xt,ft){"use strict";var pe;var be=Symbol.for("react.element"),xe=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),se=Symbol.for("react.provider"),re=Symbol.for("react.context"),ie=Symbol.for("react.server_context"),le=Symbol.for("react.forward_ref"),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 xe:return b}}}pe=re,pe=se,pe=be,pe=le,pe=E,pe=ne,pe=oe,pe=xe,pe=fe,pe=he,pe=ce,pe=ae,pe=function(){return!1},pe=function(){return!1},pe=function(x){return y(x)===re},pe=function(x){return y(x)===se},pe=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===be},pe=function(x){return y(x)===le},pe=function(x){return y(x)===E},pe=function(x){return y(x)===ne},ft.isMemo=function(x){return y(x)===oe},pe=function(x){return y(x)===xe},pe=function(x){return y(x)===fe},pe=function(x){return y(x)===he},pe=function(x){return y(x)===ce},pe=function(x){return y(x)===ae},pe=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)},pe=y},95845:function(xt,ft,pe){"use strict";xt.exports=pe(62661)},72665:function(xt,ft){"use strict";var pe;var be=typeof Symbol=="function"&&Symbol.for,xe=be?Symbol.for("react.element"):60103,E=be?Symbol.for("react.portal"):60106,he=be?Symbol.for("react.fragment"):60107,fe=be?Symbol.for("react.strict_mode"):60108,se=be?Symbol.for("react.profiler"):60114,re=be?Symbol.for("react.provider"):60109,ie=be?Symbol.for("react.context"):60110,le=be?Symbol.for("react.async_mode"):60111,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 xe: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}pe=le,pe=ce,pe=ie,pe=re,pe=xe,pe=ae,pe=he,pe=a,pe=z,pe=E,pe=se,pe=fe,pe=oe,pe=function(de){return ue(de)||te(de)===le},pe=ue,pe=function(de){return te(de)===ie},pe=function(de){return te(de)===re},pe=function(de){return typeof de=="object"&&de!==null&&de.$$typeof===xe},pe=function(de){return te(de)===ae},pe=function(de){return te(de)===he},pe=function(de){return te(de)===a},ft.isMemo=function(de){return te(de)===z},pe=function(de){return te(de)===E},pe=function(de){return te(de)===se},pe=function(de){return te(de)===fe},pe=function(de){return te(de)===oe},pe=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)},pe=te},12060:function(xt,ft,pe){"use strict";xt.exports=pe(72665)},56261:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return me}});var be=pe(87462),xe=pe(4942),E=pe(45987),he=pe(1413),fe=pe(15671),se=pe(43144),re=pe(97326),ie=pe(60136),le=pe(51630),ce=pe(94184),ae=pe.n(ce),oe=pe(34952),ne=pe(67294),z=pe(69610),a=function(ye){for(var Pe=ye.prefixCls,we=ye.level,Te=ye.isStart,Ee=ye.isEnd,_e="".concat(Pe,"-indent-unit"),Ce=[],Oe=0;Oe<we;Oe+=1){var Ie;Ce.push(ne.createElement("span",{key:Oe,className:ae()(_e,(Ie={},(0,xe.Z)(Ie,"".concat(_e,"-start"),Te[Oe]),(0,xe.Z)(Ie,"".concat(_e,"-end"),Ee[Oe]),Ie))}))}return ne.createElement("span",{"aria-hidden":"true",className:"".concat(Pe,"-indent")},Ce)},y=ne.memo(a),x=pe(3596),b=pe(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 Te=arguments.length,Ee=new Array(Te),_e=0;_e<Te;_e++)Ee[_e]=arguments[_e];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,Ie=Oe.disableCheckbox,Ue=Oe.checked,je=we.props.context.onNodeCheck;if(!(!we.isCheckable()||Ie)){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(Ie){}},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,Ie=Oe.loading,Ue=Oe.context.onNodeExpand;Ie||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,Ie=(0,x.Z)(Oe,Ce)||{},Ue=Ie.children;return!!(Ue||[]).length},we.isLeaf=function(){var Ce=we.props,Oe=Ce.isLeaf,Ie=Ce.loaded,Ue=we.props.context.loadData,je=we.hasChildren();return Oe===!1?!1:Oe||!Ue&&!je||Ue&&Ie&&!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,Ie=Ce.loading,Ue=Ce.loaded,je=we.props.context,nt=je.loadData,Je=je.onNodeLoad;Ie||nt&&Oe&&!we.isLeaf()&&!we.hasChildren()&&!Ue&&Je((0,b.F)(we.props))},we.isDraggable=function(){var Ce=we.props,Oe=Ce.data,Ie=Ce.context.draggable;return!!(Ie&&(!Ie.nodeDraggable||Ie.nodeDraggable(Oe)))},we.renderDragHandler=function(){var Ce=we.props.context,Oe=Ce.draggable,Ie=Ce.prefixCls;return Oe!=null&&Oe.icon?ne.createElement("span",{className:"".concat(Ie,"-draggable-icon")},Oe.icon):null},we.renderSwitcherIconDom=function(Ce){var Oe=we.props.switcherIcon,Ie=we.props.context.switcherIcon,Ue=Oe||Ie;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 Ie=we.renderSwitcherIconDom(!0);return Ie!==!1?ne.createElement("span",{className:ae()("".concat(Oe,"-switcher"),"".concat(Oe,"-switcher-noop"))},Ie):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,Ie=Ce.halfChecked,Ue=Ce.disableCheckbox,je=we.props.context.prefixCls,nt=we.isDisabled(),Je=we.isCheckable();if(!Je)return null;var Qe=typeof Je!="boolean"?Je:null;return ne.createElement("span",{className:ae()("".concat(je,"-checkbox"),Oe&&"".concat(je,"-checkbox-checked"),!Oe&&Ie&&"".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,Ie=Oe.title,Ue=Ie===void 0?de:Ie,je=Oe.selected,nt=Oe.icon,Je=Oe.loading,Qe=Oe.data,Xe=we.props.context,ze=Xe.prefixCls,ke=Xe.showIcon,Be=Xe.icon,qe=Xe.loadData,Ye=Xe.titleRender,gt=we.isDisabled(),$e="".concat(ze,"-node-content-wrapper"),We;if(ke){var Re=nt||Be;We=Re?ne.createElement("span",{className:ae()("".concat(ze,"-iconEle"),"".concat(ze,"-icon__customize"))},typeof Re=="function"?Re(we.props):Re):we.renderIcon()}else qe&&Je&&(We=we.renderIcon());var tt;typeof Ue=="function"?tt=Ue(Qe):Ye?tt=Ye(Qe):tt=Ue;var Me=ne.createElement("span",{className:"".concat(ze,"-title")},tt);return ne.createElement("span",{ref:we.setSelectHandle,title:typeof Ue=="string"?Ue:"",className:ae()("".concat($e),"".concat($e,"-").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},We,Me,we.renderDropIndicator())},we.renderDropIndicator=function(){var Ce=we.props,Oe=Ce.disabled,Ie=Ce.eventKey,Ue=we.props.context,je=Ue.draggable,nt=Ue.dropLevelOffset,Je=Ue.dropPosition,Qe=Ue.prefixCls,Xe=Ue.indent,ze=Ue.dropIndicatorRender,ke=Ue.dragOverNodeKey,Be=Ue.direction,qe=!!je,Ye=!Oe&&qe&&ke===Ie,gt=Xe!=null?Xe:we.cacheIndent;return we.cacheIndent=Xe,Ye?ze({dropPosition:Je,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 Te=this.props.selectable,Ee=this.props.context.selectable;return typeof Te=="boolean"?Te:Ee}},{key:"render",value:function(){var Te,Ee=this.props,_e=Ee.eventKey,Ce=Ee.className,Oe=Ee.style,Ie=Ee.dragOver,Ue=Ee.dragOverGapTop,je=Ee.dragOverGapBottom,nt=Ee.isLeaf,Je=Ee.isStart,Qe=Ee.isEnd,Xe=Ee.expanded,ze=Ee.selected,ke=Ee.checked,Be=Ee.halfChecked,qe=Ee.loading,Ye=Ee.domRef,gt=Ee.active,$e=Ee.data,We=Ee.onMouseMove,Re=Ee.selectable,tt=(0,E.Z)(Ee,ee),Me=this.props.context,He=Me.prefixCls,Ve=Me.filterTreeNode,Ze=Me.keyEntities,Ke=Me.dropContainerKey,Ae=Me.dropTargetKey,Le=Me.draggingNodeKey,Ne=this.isDisabled(),Ge=(0,oe.Z)(tt,{aria:!0,data:!0}),ot=(0,x.Z)(Ze,_e)||{},St=ot.level,wt=Qe[Qe.length-1],rt=this.isDraggable(),bt=!Ne&&rt,Ft=Le===_e,$t=Re!==void 0?{"aria-selected":!!Re}:void 0;return ne.createElement("div",(0,be.Z)({ref:Ye,className:ae()(Ce,"".concat(He,"-treenode"),(Te={},(0,xe.Z)(Te,"".concat(He,"-treenode-disabled"),Ne),(0,xe.Z)(Te,"".concat(He,"-treenode-switcher-").concat(Xe?"open":"close"),!nt),(0,xe.Z)(Te,"".concat(He,"-treenode-checkbox-checked"),ke),(0,xe.Z)(Te,"".concat(He,"-treenode-checkbox-indeterminate"),Be),(0,xe.Z)(Te,"".concat(He,"-treenode-selected"),ze),(0,xe.Z)(Te,"".concat(He,"-treenode-loading"),qe),(0,xe.Z)(Te,"".concat(He,"-treenode-active"),gt),(0,xe.Z)(Te,"".concat(He,"-treenode-leaf-last"),wt),(0,xe.Z)(Te,"".concat(He,"-treenode-draggable"),rt),(0,xe.Z)(Te,"dragging",Ft),(0,xe.Z)(Te,"drop-target",Ae===_e),(0,xe.Z)(Te,"drop-container",Ke===_e),(0,xe.Z)(Te,"drag-over",!Ne&&Ie),(0,xe.Z)(Te,"drag-over-gap-top",!Ne&&Ue),(0,xe.Z)(Te,"drag-over-gap-bottom",!Ne&&je),(0,xe.Z)(Te,"filter-node",Ve&&Ve((0,b.F)(this.props))),Te)),style:Oe,draggable:bt,"aria-grabbed":Ft,onDragStart:bt?this.onDragStart:void 0,onDragEnter:rt?this.onDragEnter:void 0,onDragOver:rt?this.onDragOver:void 0,onDragLeave:rt?this.onDragLeave:void 0,onDrop:rt?this.onDrop:void 0,onDragEnd:rt?this.onDragEnd:void 0,onMouseMove:We},$t,Ge),ne.createElement(y,{prefixCls:He,level:St,isStart:Je,isEnd:Qe}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Pe}(ne.Component),ve=function(ye){return ne.createElement(z.k.Consumer,null,function(Pe){return ne.createElement(ge,(0,be.Z)({},ye,{context:Pe}))})};ve.displayName="TreeNode",ve.isTreeNode=1;var me=ve},69610:function(xt,ft,pe){"use strict";pe.d(ft,{k:function(){return xe}});var be=pe(67294),xe=be.createContext(null)},29873:function(xt,ft,pe){"use strict";pe.d(ft,{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=pe(74902),xe=pe(71002),E=pe(72978),he=pe(67294),fe=pe(56261),se=pe(3596),re=pe(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 me(){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),me(we)})}return me(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,me,Se,ye,Pe,we,Te){var Ee,_e=ue.clientX,Ce=ue.clientY,Oe=ue.target.getBoundingClientRect(),Ie=Oe.top,Ue=Oe.height,je=(Te==="rtl"?-1:1)*(((me==null?void 0:me.x)||0)-_e),nt=(je-12)/ve,Je=(0,se.Z)(Pe,ge.props.eventKey);if(Ce<Ie+Ue/2){var Qe=ye.findIndex(function(Me){return Me.key===Je.key}),Xe=Qe<=0?0:Qe-1,ze=ye[Xe].key;Je=(0,se.Z)(Pe,ze)}var ke=Je.key,Be=Je,qe=Je.key,Ye=0,gt=0;if(!we.includes(ke))for(var $e=0;$e<nt&&ne(Je);$e+=1)Je=Je.parent,gt+=1;var We=de.props.data,Re=Je.node,tt=!0;return z(Je)&&Je.level===0&&Ce<Ie+Ue/2&&Se({dragNode:We,dropNode:Re,dropPosition:-1})&&Je.key===ge.props.eventKey?Ye=-1:(Be.children||[]).length&&we.includes(qe)?Se({dragNode:We,dropNode:Re,dropPosition:0})?Ye=0:tt=!1:gt===0?nt>-1.5?Se({dragNode:We,dropNode:Re,dropPosition:1})?Ye=1:tt=!1:Se({dragNode:We,dropNode:Re,dropPosition:0})?Ye=0:Se({dragNode:We,dropNode:Re,dropPosition:1})?Ye=1:tt=!1:Se({dragNode:We,dropNode:Re,dropPosition:1})?Ye=1:tt=!1,{dropPosition:Ye,dropLevelOffset:gt,dropTargetKey:Je.key,dropTargetPos:Je.pos,dragOverNodeKey:qe,dropContainerKey:Ye===0?null:((Ee=Je.parent)===null||Ee===void 0?void 0:Ee.key)||null,dropAllowed: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,me=ve===void 0?x:ve,Se=Array.isArray(ue)?ue:[ue];return Se.map(function(ye){var Pe=ye.children,we=_objectWithoutProperties(ye,ie),Te=b(Pe,de);return React.createElement(TreeNode,_extends({key:we.key},me(we)),Te)})}function ee(ue){if(!ue)return null;var de;if(Array.isArray(ue))de={checkedKeys:ue,halfCheckedKeys:void 0};else if((0,xe.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(me){if(!ge.has(me)){var Se=(0,se.Z)(de,me);if(Se){ge.add(me);var ye=Se.parent,Pe=Se.node;Pe.disabled||ye&&ve(ye.key)}}}return(ue||[]).forEach(function(me){ve(me)}),(0,be.Z)(ge)}},97153:function(xt,ft,pe){"use strict";pe.d(ft,{S:function(){return re}});var be=pe(72978),xe=pe(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 me=ve.key,Se=oe.has(me);de&&!Se&&(de=!1),!ge&&(Se||ne.has(me))&&(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(me){return!oe(me.node)}).forEach(function(me){ne.delete(me.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(me){return!oe(me.node)}).forEach(function(me){var Se=me.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,xe.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(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return be}});function be(xe,E){return xe[E]}},83898:function(xt,ft,pe){"use strict";pe.d(ft,{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=pe(71002),xe=pe(74902),E=pe(1413),he=pe(45987),fe=pe(67294),se=pe(28580);function re(ge){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},me=[];return fe.Children.forEach(ge,function(Se){Se==null&&!ve.keepEmpty||(Array.isArray(Se)?me=me.concat(re(Se)):(0,se.isFragment)(Se)&&Se.props?me=me.concat(re(Se.props.children,ve)):me.push(Se))}),me}function ie(ge,ve){var me=(0,E.Z)({},ge);return Array.isArray(ve)&&ve.forEach(function(Se){delete me[Se]}),me}var le=pe(72978),ce=pe(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||{},me=ve.title,Se=ve._title,ye=ve.key,Pe=ve.children,we=me||"title";return{title:we,_title:Se||[we],key:ye||"key",children:Pe||"children"}}function y(ge,ve){var me=new Map;function Se(ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ye||[]).forEach(function(we){var Te=we[ve.key],Ee=we[ve.children];warning(Te!=null,"Tree node must have a certain key: [".concat(Pe).concat(Te,"]"));var _e=String(Te);warning(!me.has(_e)||Te===null||Te===void 0,"Same 'key' exist in the Tree: ".concat(_e)),me.set(_e,!0),Se(Ee,"".concat(Pe).concat(_e," > "))})}Se(ge)}function x(ge){function ve(me){var Se=re(me);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,Te=we.children,Ee=(0,he.Z)(we,ae),_e=(0,E.Z)({key:Pe},Ee),Ce=ve(Te);return Ce.length&&(_e.children=Ce),_e}).filter(function(ye){return ye})}return ve(ge)}function b(ge,ve,me){var Se=a(me),ye=Se._title,Pe=Se.key,we=Se.children,Te=new Set(ve===!0?[]:ve),Ee=[];function _e(Ce){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ce.map(function(Ie,Ue){for(var je=oe(Oe?Oe.pos:"0",Ue),nt=z(Ie[Pe],je),Je,Qe=0;Qe<ye.length;Qe+=1){var Xe=ye[Qe];if(Ie[Xe]!==void 0){Je=Ie[Xe];break}}var ze=(0,E.Z)((0,E.Z)({},ie(Ie,[].concat((0,xe.Z)(ye),[Pe,we]))),{},{title:Je,key:nt,parent:Oe,pos:je,children:null,data:Ie,isStart:[].concat((0,xe.Z)(Oe?Oe.isStart:[]),[Ue===0]),isEnd:[].concat((0,xe.Z)(Oe?Oe.isEnd:[]),[Ue===Ce.length-1])});return Ee.push(ze),ve===!0||Te.has(nt)?ze.children=_e(Ie[we]||[],ze):ze.children=[],ze})}return _e(ge),Ee}function ee(ge,ve,me){var Se={};(0,be.Z)(me)==="object"?Se=me:Se={externalGetKey:me},Se=Se||{};var ye=Se,Pe=ye.childrenPropName,we=ye.externalGetKey,Te=ye.fieldNames,Ee=a(Te),_e=Ee.key,Ce=Ee.children,Oe=Pe||Ce,Ie;we?typeof we=="string"?Ie=function(nt){return nt[we]}:typeof we=="function"&&(Ie=function(nt){return we(nt)}):Ie=function(nt,Je){return z(nt[_e],Je)};function Ue(je,nt,Je,Qe){var Xe=je?je[Oe]:ge,ze=je?oe(Je.pos,nt):"0",ke=je?[].concat((0,xe.Z)(Qe),[je]):[];if(je){var Be=Ie(je,ze),qe={node:je,index:nt,pos:ze,key:Be,parentPos:Je.node?Je.pos:null,level:Je.level+1,nodes:ke};ve(qe)}Xe&&Xe.forEach(function(Ye,gt){Ue(Ye,gt,{node:je,pos:ze,level:Je?Je.level+1:-1},ke)})}Ue(null)}function te(ge){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},me=ve.initWrapper,Se=ve.processEntity,ye=ve.onProcessFinished,Pe=ve.externalGetKey,we=ve.childrenPropName,Te=ve.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,_e=Pe||Ee,Ce={},Oe={},Ie={posEntities:Ce,keyEntities:Oe};return me&&(Ie=me(Ie)||Ie),ee(ge,function(Ue){var je=Ue.node,nt=Ue.index,Je=Ue.pos,Qe=Ue.key,Xe=Ue.parentPos,ze=Ue.level,ke=Ue.nodes,Be={node:je,nodes:ke,index:nt,key:Qe,pos:Je,level:ze},qe=z(Qe,Je);Ce[Je]=Be,Oe[qe]=Be,Be.parent=Ce[Xe],Be.parent&&(Be.parent.children=Be.parent.children||[],Be.parent.children.push(Be)),Se&&Se(Be,Ie)},{externalGetKey:_e,childrenPropName:we,fieldNames:Te}),ye&&ye(Ie),Ie}function ue(ge,ve){var me=ve.expandedKeys,Se=ve.selectedKeys,ye=ve.loadedKeys,Pe=ve.loadingKeys,we=ve.checkedKeys,Te=ve.halfCheckedKeys,Ee=ve.dragOverNodeKey,_e=ve.dropPosition,Ce=ve.keyEntities,Oe=(0,ce.Z)(Ce,ge),Ie={eventKey:ge,expanded:me.indexOf(ge)!==-1,selected:Se.indexOf(ge)!==-1,loaded:ye.indexOf(ge)!==-1,loading:Pe.indexOf(ge)!==-1,checked:we.indexOf(ge)!==-1,halfChecked:Te.indexOf(ge)!==-1,pos:String(Oe?Oe.pos:""),dragOver:Ee===ge&&_e===0,dragOverGapTop:Ee===ge&&_e===-1,dragOverGapBottom:Ee===ge&&_e===1};return Ie}function de(ge){var ve=ge.data,me=ge.expanded,Se=ge.selected,ye=ge.checked,Pe=ge.loaded,we=ge.loading,Te=ge.halfChecked,Ee=ge.dragOver,_e=ge.dragOverGapTop,Ce=ge.dragOverGapBottom,Oe=ge.pos,Ie=ge.active,Ue=ge.eventKey,je=(0,E.Z)((0,E.Z)({},ve),{},{expanded:me,selected:Se,checked:ye,loaded:Pe,loading:we,halfChecked:Te,dragOver:Ee,dragOverGapTop:_e,dragOverGapBottom:Ce,pos:Oe,active:Ie,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(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ie}});var be=pe(1413),xe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,E=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,he="".concat(xe," ").concat(E).split(/[\s\n]+/),fe="aria-",se="data-";function re(le,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(xt,ft,pe){"use strict";var be={};function xe(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(xe,ie,le)}function re(ie,le){fe(E,ie,le)}ft.ZP=se},81533:function(xt,ft){"use strict";var pe;var be=typeof Symbol=="function"&&Symbol.for,xe=be?Symbol.for("react.element"):60103,E=be?Symbol.for("react.portal"):60106,he=be?Symbol.for("react.fragment"):60107,fe=be?Symbol.for("react.strict_mode"):60108,se=be?Symbol.for("react.profiler"):60114,re=be?Symbol.for("react.provider"):60109,ie=be?Symbol.for("react.context"):60110,le=be?Symbol.for("react.async_mode"):60111,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 xe: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}pe=le,pe=ce,pe=ie,pe=re,pe=xe,pe=ae,pe=he,pe=a,pe=z,pe=E,pe=se,pe=fe,pe=oe,pe=function(de){return ue(de)||te(de)===le},pe=ue,pe=function(de){return te(de)===ie},pe=function(de){return te(de)===re},pe=function(de){return typeof de=="object"&&de!==null&&de.$$typeof===xe},pe=function(de){return te(de)===ae},ft.isFragment=function(de){return te(de)===he},pe=function(de){return te(de)===a},ft.isMemo=function(de){return te(de)===z},pe=function(de){return te(de)===E},pe=function(de){return te(de)===se},pe=function(de){return te(de)===fe},pe=function(de){return te(de)===oe},pe=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)},pe=te},28580:function(xt,ft,pe){"use strict";xt.exports=pe(81533)},92389:function(xt,ft){"use strict";var pe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(xe){var E=xe.keyCode;if(xe.altKey&&!xe.ctrlKey||xe.metaKey||E>=pe.F1&&E<=pe.F12)return!1;switch(E){case pe.ALT:case pe.CAPS_LOCK:case pe.CONTEXT_MENU:case pe.CTRL:case pe.DOWN:case pe.END:case pe.ESC:case pe.HOME:case pe.INSERT:case pe.LEFT:case pe.MAC_FF_META:case pe.META:case pe.NUMLOCK:case pe.NUM_CENTER:case pe.PAGE_DOWN:case pe.PAGE_UP:case pe.PAUSE:case pe.PRINT_SCREEN:case pe.RIGHT:case pe.SHIFT:case pe.UP:case pe.WIN_KEY:case pe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(xe){if(xe>=pe.ZERO&&xe<=pe.NINE||xe>=pe.NUM_ZERO&&xe<=pe.NUM_MULTIPLY||xe>=pe.A&&xe<=pe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&xe===0)return!0;switch(xe){case pe.SPACE:case pe.QUESTION_MARK:case pe.NUM_PLUS:case pe.NUM_MINUS:case pe.NUM_PERIOD:case pe.NUM_DIVISION:case pe.SEMICOLON:case pe.DASH:case pe.EQUALS:case pe.COMMA:case pe.PERIOD:case pe.SLASH:case pe.APOSTROPHE:case pe.SINGLE_QUOTE:case pe.OPEN_SQUARE_BRACKET:case pe.BACKSLASH:case pe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};ft.Z=pe},19575:function(xt,ft,pe){var be,xe;(function(E,he){xt.exports=he(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof pe.g!="undefined"?pe.g:this,function(E){"use strict";E=E||{};var he=E.Base64,fe="2.6.4",se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=function(Ee){for(var _e={},Ce=0,Oe=Ee.length;Ce<Oe;Ce++)_e[Ee.charAt(Ce)]=Ce;return _e}(se),ie=String.fromCharCode,le=function(Ee){if(Ee.length<2){var _e=Ee.charCodeAt(0);return _e<128?Ee:_e<2048?ie(192|_e>>>6)+ie(128|_e&63):ie(224|_e>>>12&15)+ie(128|_e>>>6&63)+ie(128|_e&63)}else{var _e=65536+(Ee.charCodeAt(0)-55296)*1024+(Ee.charCodeAt(1)-56320);return ie(240|_e>>>18&7)+ie(128|_e>>>12&63)+ie(128|_e>>>6&63)+ie(128|_e&63)}},ce=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ae=function(Ee){return Ee.replace(ce,le)},oe=function(Ee){var _e=[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),_e>=2?"=":se.charAt(Ce>>>6&63),_e>=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(_e){return _e=="+"?"-":"_"}).replace(/=/g,"")},y=function(Ee,_e){return _e?a(z(Ee)):z(Ee)},x=function(Ee){return y(Ee,!0)},b;E.Uint8Array&&(b=function(Ee,_e){for(var Ce="",Oe=0,Ie=Ee.length;Oe<Ie;Oe+=3){var Ue=Ee[Oe],je=Ee[Oe+1],nt=Ee[Oe+2],Je=Ue<<16|je<<8|nt;Ce+=se.charAt(Je>>>18)+se.charAt(Je>>>12&63)+(typeof je!="undefined"?se.charAt(Je>>>6&63):"=")+(typeof nt!="undefined"?se.charAt(Je&63):"=")}return _e?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 _e=(7&Ee.charCodeAt(0))<<18|(63&Ee.charCodeAt(1))<<12|(63&Ee.charCodeAt(2))<<6|63&Ee.charCodeAt(3),Ce=_e-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 _e=Ee.length,Ce=_e%4,Oe=(_e>0?re[Ee.charAt(0)]<<18:0)|(_e>1?re[Ee.charAt(1)]<<12:0)|(_e>2?re[Ee.charAt(2)]<<6:0)|(_e>3?re[Ee.charAt(3)]:0),Ie=[ie(Oe>>>16),ie(Oe>>>8&255),ie(Oe&255)];return Ie.length-=[0,0,2,1][Ce],Ie.join("")},ge=E.atob&&typeof E.atob=="function"?function(Ee){return E.atob(Ee)}:function(Ee){return Ee.replace(/\S{1,4}/g,de)},ve=function(Ee){return ge(String(Ee).replace(/[^A-Za-z0-9\+\/]/g,""))},me=function(Ee){return ue(ge(Ee))},Se=function(Ee){return String(Ee).replace(/[-_]/g,function(_e){return _e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ye=function(Ee){return me(Se(Ee))},Pe;E.Uint8Array&&(Pe=function(Ee){return Uint8Array.from(ve(Se(Ee)),function(_e){return _e.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 Te=function(Ee){return{value:Ee,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Te(function(){return ye(this)})),Object.defineProperty(String.prototype,"toBase64",Te(function(Ee){return y(this,Ee)})),Object.defineProperty(String.prototype,"toBase64URI",Te(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),xt.exports?xt.exports.Base64=E.Base64:(be=[],xe=function(){return E.Base64}.apply(ft,be),xe!==void 0&&(xt.exports=xe)),{Base64:E.Base64}})},26819:function(xt,ft){"use strict";var pe;var be=typeof Symbol=="function"&&Symbol.for,xe=be?Symbol.for("react.element"):60103,E=be?Symbol.for("react.portal"):60106,he=be?Symbol.for("react.fragment"):60107,fe=be?Symbol.for("react.strict_mode"):60108,se=be?Symbol.for("react.profiler"):60114,re=be?Symbol.for("react.provider"):60109,ie=be?Symbol.for("react.context"):60110,le=be?Symbol.for("react.async_mode"):60111,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 xe: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}pe=le,pe=ce,pe=ie,pe=re,pe=xe,pe=ae,pe=he,pe=a,pe=z,pe=E,pe=se,pe=fe,pe=oe,pe=function(de){return ue(de)||te(de)===le},pe=ue,pe=function(de){return te(de)===ie},pe=function(de){return te(de)===re},pe=function(de){return typeof de=="object"&&de!==null&&de.$$typeof===xe},pe=function(de){return te(de)===ae},pe=function(de){return te(de)===he},pe=function(de){return te(de)===a},ft.isMemo=function(de){return te(de)===z},pe=function(de){return te(de)===E},pe=function(de){return te(de)===se},pe=function(de){return te(de)===fe},pe=function(de){return te(de)===oe},pe=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)},pe=te},18459:function(xt,ft,pe){"use strict";xt.exports=pe(26819)},16651:function(xt,ft){"use strict";var pe;var be=Symbol.for("react.element"),xe=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),se=Symbol.for("react.provider"),re=Symbol.for("react.context"),ie=Symbol.for("react.server_context"),le=Symbol.for("react.forward_ref"),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 xe:return b}}}pe=re,pe=se,pe=be,pe=le,pe=E,pe=ne,pe=oe,pe=xe,pe=fe,pe=he,pe=ce,pe=ae,pe=function(){return!1},pe=function(){return!1},pe=function(x){return y(x)===re},pe=function(x){return y(x)===se},pe=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===be},pe=function(x){return y(x)===le},pe=function(x){return y(x)===E},pe=function(x){return y(x)===ne},pe=function(x){return y(x)===oe},pe=function(x){return y(x)===xe},pe=function(x){return y(x)===fe},pe=function(x){return y(x)===he},pe=function(x){return y(x)===ce},pe=function(x){return y(x)===ae},pe=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)},pe=y},33993:function(xt,ft,pe){"use strict";pe(16651)},46762:function(xt,ft){"use strict";var pe;var be=Symbol.for("react.element"),xe=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),se=Symbol.for("react.provider"),re=Symbol.for("react.context"),ie=Symbol.for("react.server_context"),le=Symbol.for("react.forward_ref"),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 xe:return b}}}pe=re,pe=se,pe=be,pe=le,pe=E,pe=ne,pe=oe,pe=xe,pe=fe,pe=he,pe=ce,pe=ae,pe=function(){return!1},pe=function(){return!1},pe=function(x){return y(x)===re},pe=function(x){return y(x)===se},pe=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===be},pe=function(x){return y(x)===le},ft.isFragment=function(x){return y(x)===E},pe=function(x){return y(x)===ne},pe=function(x){return y(x)===oe},pe=function(x){return y(x)===xe},pe=function(x){return y(x)===fe},pe=function(x){return y(x)===he},pe=function(x){return y(x)===ce},pe=function(x){return y(x)===ae},pe=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)},pe=y},35110:function(xt,ft,pe){"use strict";xt.exports=pe(46762)},64217:function(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return ie}});var be=pe(1413),xe=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,E=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,he="".concat(xe," ").concat(E).split(/[\s\n]+/),fe="aria-",se="data-";function re(le,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(xt,ft,pe){var be=pe(62195),xe=pe(39015),E=[pe(19257)];xt.exports=be.createStore(xe,E)},19257:function(xt,ft,pe){xt.exports=be;function be(){return pe(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(xt){return xt<10?"0"+xt:xt}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(xt){return rx_escapable.lastIndex=0,rx_escapable.test(xt)?'"'+xt.replace(rx_escapable,function(ft){var pe=meta[ft];return typeof pe=="string"?pe:"\\u"+("0000"+ft.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+xt+'"'}function str(xt,ft){var pe,be,xe,E,he=gap,fe,se=ft[xt];switch(se&&typeof se=="object"&&typeof se.toJSON=="function"&&(se=se.toJSON(xt)),typeof rep=="function"&&(se=rep.call(ft,xt,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,pe=0;pe<E;pe+=1)fe[pe]=str(pe,se)||"null";return xe=fe.length===0?"[]":gap?`[
`+gap+fe.join(`,
`+gap)+`
`+he+"]":"["+fe.join(",")+"]",gap=he,xe}if(rep&&typeof rep=="object")for(E=rep.length,pe=0;pe<E;pe+=1)typeof rep[pe]=="string"&&(be=rep[pe],xe=str(be,se),xe&&fe.push(quote(be)+(gap?": ":":")+xe));else for(be in se)Object.prototype.hasOwnProperty.call(se,be)&&(xe=str(be,se),xe&&fe.push(quote(be)+(gap?": ":":")+xe));return xe=fe.length===0?"{}":gap?`{
`+gap+fe.join(`,
`+gap)+`
`+he+"}":"{"+fe.join(",")+"}",gap=he,xe}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(xt,ft,pe){var be;if(gap="",indent="",typeof pe=="number")for(be=0;be<pe;be+=1)indent+=" ";else typeof pe=="string"&&(indent=pe);if(rep=ft,ft&&typeof ft!="function"&&(typeof ft!="object"||typeof ft.length!="number"))throw new Error("JSON.stringify");return str("",{"":xt})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(xt,ft){var pe,be,xe=xt[ft];if(xe&&typeof xe=="object")for(pe in xe)Object.prototype.hasOwnProperty.call(xe,pe)&&(be=walk(xe,pe),be!==void 0?xe[pe]=be:delete xe[pe]);return reviver.call(xt,ft,xe)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(xt){return"\\u"+("0000"+xt.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(xt,ft,pe){var be=pe(69078),xe=be.slice,E=be.pluck,he=be.each,fe=be.bind,se=be.create,re=be.isList,ie=be.isFunction,le=be.isObject;xt.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 me=xe(arguments,0),Se=this;function ye(){if(ge)return he(arguments,function(we,Te){me[Te]=we}),ge.apply(Se,me)}var Pe=[ye].concat(me);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(me){de._addPlugin(me)});return}var ge=E(this.plugins,function(me){return ue===me});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(me,Se){if(!ie(me))throw new Error("Bad plugin property: "+Se+" from plugin "+ue.name+". Plugins should only return functions.");de._assignPluginFnProp(me,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(xt,ft,pe){var be=fe(),xe=se(),E=re(),he=typeof window!="undefined"?window:pe.g;xt.exports={assign:be,create:xe,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(xt,ft,pe){xt.exports=[pe(39627),pe(95347),pe(34524),pe(45580),pe(58855),pe(8728)]},45580:function(xt,ft,pe){var be=pe(69078),xe=be.Global,E=be.trim;xt.exports={name:"cookieStorage",read:fe,write:re,each:se,remove:ie,clearAll:le};var he=xe.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(xt,ft,pe){var be=pe(69078),xe=be.Global;xt.exports={name:"localStorage",read:he,write:fe,each:se,remove:re,clearAll:ie};function E(){return xe.localStorage}function he(le){return E().getItem(le)}function fe(le,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(xt){xt.exports={name:"memoryStorage",read:pe,write:be,each:xe,remove:E,clearAll:he};var ft={};function pe(fe){return ft[fe]}function be(fe,se){ft[fe]=se}function xe(fe){for(var se in ft)ft.hasOwnProperty(se)&&fe(ft[se],se)}function E(fe){delete ft[fe]}function he(fe){ft={}}},95347:function(xt,ft,pe){var be=pe(69078),xe=be.Global;xt.exports={name:"oldFF-globalStorage",read:he,write:fe,each:se,remove:re,clearAll:ie};var E=xe.globalStorage;function he(le){return E[le]}function fe(le,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(xt,ft,pe){var be=pe(69078),xe=be.Global;xt.exports={name:"oldIE-userDataStorage",write:re,read:ie,each:le,remove:ce,clearAll:ae};var E="storejs",he=xe.document,fe=z(),se=(xe.navigator?xe.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function re(a,y){if(!se){var x=ne(a);fe(function(b){b.setAttribute(x,y),b.save(E)})}}function ie(a){if(!se){var y=ne(a),x=null;return fe(function(b){x=b.getAttribute(y)}),x}}function le(a){fe(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var ee=x[b];a(y.getAttribute(ee.name),ee.name)}})}function 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(xt,ft,pe){var be=pe(69078),xe=be.Global;xt.exports={name:"sessionStorage",read:he,write:fe,each:se,remove:re,clearAll:ie};function E(){return xe.sessionStorage}function he(le){return E().getItem(le)}function fe(le,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(xt){(function(ft,pe){if(1)xt.exports=pe();else var be,xe})(window,function(){return function(ft){var pe={};function be(xe){if(pe[xe])return pe[xe].exports;var E=pe[xe]={i:xe,l:!1,exports:{}};return ft[xe].call(E.exports,E,E.exports,be),E.l=!0,E.exports}return be.m=ft,be.c=pe,be.d=function(xe,E,he){be.o(xe,E)||Object.defineProperty(xe,E,{enumerable:!0,get:he})},be.r=function(xe){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(xe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(xe,"__esModule",{value:!0})},be.t=function(xe,E){if(1&E&&(xe=be(xe)),8&E||4&E&&typeof xe=="object"&&xe&&xe.__esModule)return xe;var he=Object.create(null);if(be.r(he),Object.defineProperty(he,"default",{enumerable:!0,value:xe}),2&E&&typeof xe!="string")for(var fe in xe)be.d(he,fe,function(se){return xe[se]}.bind(null,fe));return he},be.n=function(xe){var E=xe&&xe.__esModule?function(){return xe.default}:function(){return xe};return be.d(E,"a",E),E},be.o=function(xe,E){return Object.prototype.hasOwnProperty.call(xe,E)},be.p="",be(be.s=34)}([function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.forwardEvent=pe.EventEmitter=void 0;var xe=function(){function E(){this._listeners=[],this._disposed=!1}return Object.defineProperty(E.prototype,"event",{get:function(){var he=this;return this._event||(this._event=function(fe){return he._listeners.push(fe),{dispose:function(){if(!he._disposed){for(var se=0;se<he._listeners.length;se++)if(he._listeners[se]===fe)return void he._listeners.splice(se,1)}}}}),this._event},enumerable:!1,configurable:!0}),E.prototype.fire=function(he,fe){for(var se=[],re=0;re<this._listeners.length;re++)se.push(this._listeners[re]);for(re=0;re<se.length;re++)se[re].call(void 0,he,fe)},E.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},E}();pe.EventEmitter=xe,pe.forwardEvent=function(E,he){return E(function(fe){return he.fire(fe)})}},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.IUnicodeService=pe.IOptionsService=pe.ILogService=pe.IInstantiationService=pe.IDirtyRowService=pe.ICharsetService=pe.ICoreService=pe.ICoreMouseService=pe.IBufferService=void 0;var xe=be(14);pe.IBufferService=xe.createDecorator("BufferService"),pe.ICoreMouseService=xe.createDecorator("CoreMouseService"),pe.ICoreService=xe.createDecorator("CoreService"),pe.ICharsetService=xe.createDecorator("CharsetService"),pe.IDirtyRowService=xe.createDecorator("DirtyRowService"),pe.IInstantiationService=xe.createDecorator("InstantiationService"),pe.ILogService=xe.createDecorator("LogService"),pe.IOptionsService=xe.createDecorator("OptionsService"),pe.IUnicodeService=xe.createDecorator("UnicodeService")},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.getDisposeArrayDisposable=pe.disposeArray=pe.Disposable=void 0;var xe=function(){function he(){this._disposables=[],this._isDisposed=!1}return he.prototype.dispose=function(){this._isDisposed=!0;for(var fe=0,se=this._disposables;fe<se.length;fe++)se[fe].dispose();this._disposables.length=0},he.prototype.register=function(fe){return this._disposables.push(fe),fe},he.prototype.unregister=function(fe){var se=this._disposables.indexOf(fe);se!==-1&&this._disposables.splice(se,1)},he}();function E(he){for(var fe=0,se=he;fe<se.length;fe++)se[fe].dispose();he.length=0}pe.Disposable=xe,pe.disposeArray=E,pe.getDisposeArrayDisposable=function(he){return{dispose:function(){return E(he)}}}},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.WHITESPACE_CELL_CODE=pe.WHITESPACE_CELL_WIDTH=pe.WHITESPACE_CELL_CHAR=pe.NULL_CELL_CODE=pe.NULL_CELL_WIDTH=pe.NULL_CELL_CHAR=pe.CHAR_DATA_CODE_INDEX=pe.CHAR_DATA_WIDTH_INDEX=pe.CHAR_DATA_CHAR_INDEX=pe.CHAR_DATA_ATTR_INDEX=pe.DEFAULT_ATTR=pe.DEFAULT_COLOR=void 0,pe.DEFAULT_COLOR=256,pe.DEFAULT_ATTR=256|pe.DEFAULT_COLOR<<9,pe.CHAR_DATA_ATTR_INDEX=0,pe.CHAR_DATA_CHAR_INDEX=1,pe.CHAR_DATA_WIDTH_INDEX=2,pe.CHAR_DATA_CODE_INDEX=3,pe.NULL_CELL_CHAR="",pe.NULL_CELL_WIDTH=1,pe.NULL_CELL_CODE=0,pe.WHITESPACE_CELL_CHAR=" ",pe.WHITESPACE_CELL_WIDTH=1,pe.WHITESPACE_CELL_CODE=32},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ie,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ae){ce.__proto__=ae}||function(ce,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ce[oe]=ae[oe])})(ie,le)},function(ie,le){function ce(){this.constructor=ie}xe(ie,le),ie.prototype=le===null?Object.create(le):(ce.prototype=le.prototype,new ce)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.CellData=re},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.ISoundService=pe.ISelectionService=pe.IRenderService=pe.IMouseService=pe.ICoreBrowserService=pe.ICharSizeService=void 0;var xe=be(14);pe.ICharSizeService=xe.createDecorator("CharSizeService"),pe.ICoreBrowserService=xe.createDecorator("CoreBrowserService"),pe.IMouseService=xe.createDecorator("MouseService"),pe.IRenderService=xe.createDecorator("RenderService"),pe.ISelectionService=xe.createDecorator("SelectionService"),pe.ISoundService=xe.createDecorator("SoundService")},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.ExtendedAttrs=pe.AttributeData=void 0;var xe=function(){function he(){this.fg=0,this.bg=0,this.extended=new E}return he.toColorRGB=function(fe){return[fe>>>16&255,fe>>>8&255,255&fe]},he.fromColorRGB=function(fe){return(255&fe[0])<<16|(255&fe[1])<<8|255&fe[2]},he.prototype.clone=function(){var fe=new he;return fe.fg=this.fg,fe.bg=this.bg,fe.extended=this.extended.clone(),fe},he.prototype.isInverse=function(){return 67108864&this.fg},he.prototype.isBold=function(){return 134217728&this.fg},he.prototype.isUnderline=function(){return 268435456&this.fg},he.prototype.isBlink=function(){return 536870912&this.fg},he.prototype.isInvisible=function(){return 1073741824&this.fg},he.prototype.isItalic=function(){return 67108864&this.bg},he.prototype.isDim=function(){return 134217728&this.bg},he.prototype.getFgColorMode=function(){return 50331648&this.fg},he.prototype.getBgColorMode=function(){return 50331648&this.bg},he.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},he.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},he.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},he.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},he.prototype.isFgDefault=function(){return(50331648&this.fg)==0},he.prototype.isBgDefault=function(){return(50331648&this.bg)==0},he.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},he.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},he.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},he.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},he.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},he.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},he.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},he.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},he.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},he.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},he.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},he}();pe.AttributeData=xe;var E=function(){function he(fe,se){fe===void 0&&(fe=0),se===void 0&&(se=-1),this.underlineStyle=fe,this.underlineColor=se}return he.prototype.clone=function(){return new he(this.underlineStyle,this.underlineColor)},he.prototype.isEmpty=function(){return this.underlineStyle===0},he}();pe.ExtendedAttrs=E},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.addDisposableDomListener=void 0,pe.addDisposableDomListener=function(xe,E,he,fe){xe.addEventListener(E,he,fe);var se=!1;return{dispose:function(){se||(se=!0,xe.removeEventListener(E,he,fe))}}}},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.Utf8ToUtf32=pe.StringToUtf32=pe.utf32ToString=pe.stringFromCodePoint=void 0,pe.stringFromCodePoint=function(he){return he>65535?(he-=65536,String.fromCharCode(55296+(he>>10))+String.fromCharCode(he%1024+56320)):String.fromCharCode(he)},pe.utf32ToString=function(he,fe,se){fe===void 0&&(fe=0),se===void 0&&(se=he.length);for(var re="",ie=fe;ie<se;++ie){var le=he[ie];le>65535?(le-=65536,re+=String.fromCharCode(55296+(le>>10))+String.fromCharCode(le%1024+56320)):re+=String.fromCharCode(le)}return re};var xe=function(){function he(){this._interim=0}return he.prototype.clear=function(){this._interim=0},he.prototype.decode=function(fe,se){var re=fe.length;if(!re)return 0;var ie=0,le=0;this._interim&&(56320<=(oe=fe.charCodeAt(le++))&&oe<=57343?se[ie++]=1024*(this._interim-55296)+oe-56320+65536:(se[ie++]=this._interim,se[ie++]=oe),this._interim=0);for(var 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}();pe.StringToUtf32=xe;var E=function(){function he(){this.interim=new Uint8Array(3)}return he.prototype.clear=function(){this.interim.fill(0)},he.prototype.decode=function(fe,se){var re=fe.length;if(!re)return 0;var ie,le,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}();pe.Utf8ToUtf32=E},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.CHAR_ATLAS_CELL_SPACING=pe.DIM_OPACITY=pe.INVERTED_DEFAULT_COLOR=void 0,pe.INVERTED_DEFAULT_COLOR=257,pe.DIM_OPACITY=.5,pe.CHAR_ATLAS_CELL_SPACING=1},function(ft,pe,be){"use strict";var xe,E,he,fe;function se(ie){var le=ie.toString(16);return le.length<2?"0"+le:le}function re(ie,le){return ie<le?(le+.05)/(ie+.05):(ie+.05)/(le+.05)}Object.defineProperty(pe,"__esModule",{value:!0}),pe.contrastRatio=pe.toPaddedHex=pe.rgba=pe.rgb=pe.css=pe.color=pe.channels=void 0,function(ie){ie.toCss=function(le,ce,ae,oe){return oe!==void 0?"#"+se(le)+se(ce)+se(ae)+se(oe):"#"+se(le)+se(ce)+se(ae)},ie.toRgba=function(le,ce,ae,oe){return oe===void 0&&(oe=255),(le<<24|ce<<16|ae<<8|oe)>>>0}}(xe=pe.channels||(pe.channels={})),(E=pe.color||(pe.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:xe.toCss(x,b,ee),rgba:xe.toRgba(x,b,ee)}},E.isOpaque=function(ie){return(255&ie.rgba)==255},E.ensureContrastRatio=function(ie,le,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:xe.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:xe.toCss(oe,ne,z,ce),rgba:xe.toRgba(oe,ne,z,ce)}},(pe.css||(pe.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=pe.rgb||(pe.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:xe.toCss(ae,oe,ne),rgba:xe.toRgba(ae,oe,ne)}}}(fe=pe.rgba||(pe.rgba={})),pe.toPaddedHex=se,pe.contrastRatio=re},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.isLinux=pe.isWindows=pe.isIphone=pe.isIpad=pe.isMac=pe.isSafari=pe.isFirefox=void 0;var xe=typeof navigator=="undefined",E=xe?"node":navigator.userAgent,he=xe?"node":navigator.platform;function fe(se,re){return se.indexOf(re)>=0}pe.isFirefox=!!~E.indexOf("Firefox"),pe.isSafari=/^((?!chrome|android).)*safari/i.test(E),pe.isMac=fe(["Macintosh","MacIntel","MacPPC","Mac68K"],he),pe.isIpad=he==="iPad",pe.isIphone=he==="iPhone",pe.isWindows=fe(["Windows","Win16","Win32","WinCE"],he),pe.isLinux=he.indexOf("Linux")>=0},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.C1=pe.C0=void 0,function(xe){xe.NUL="\0",xe.SOH="",xe.STX="",xe.ETX="",xe.EOT="",xe.ENQ="",xe.ACK="",xe.BEL="\x07",xe.BS="\b",xe.HT=" ",xe.LF=`
`,xe.VT="\v",xe.FF="\f",xe.CR="\r",xe.SO="",xe.SI="",xe.DLE="",xe.DC1="",xe.DC2="",xe.DC3="",xe.DC4="",xe.NAK="",xe.SYN="",xe.ETB="",xe.CAN="",xe.EM="",xe.SUB="",xe.ESC="\x1B",xe.FS="",xe.GS="",xe.RS="",xe.US="",xe.SP=" ",xe.DEL="\x7F"}(pe.C0||(pe.C0={})),function(xe){xe.PAD="\x80",xe.HOP="\x81",xe.BPH="\x82",xe.NBH="\x83",xe.IND="\x84",xe.NEL="\x85",xe.SSA="\x86",xe.ESA="\x87",xe.HTS="\x88",xe.HTJ="\x89",xe.VTS="\x8A",xe.PLD="\x8B",xe.PLU="\x8C",xe.RI="\x8D",xe.SS2="\x8E",xe.SS3="\x8F",xe.DCS="\x90",xe.PU1="\x91",xe.PU2="\x92",xe.STS="\x93",xe.CCH="\x94",xe.MW="\x95",xe.SPA="\x96",xe.EPA="\x97",xe.SOS="\x98",xe.SGCI="\x99",xe.SCI="\x9A",xe.CSI="\x9B",xe.ST="\x9C",xe.OSC="\x9D",xe.PM="\x9E",xe.APC="\x9F"}(pe.C1||(pe.C1={}))},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.BaseRenderLayer=void 0;var xe=be(3),E=be(9),he=be(25),fe=be(6),se=be(28),re=be(10),ie=be(17),le=function(){function 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()?xe.DEFAULT_COLOR:ae.getBgColor(),z=ae.isFgDefault()?xe.DEFAULT_COLOR:ae.getFgColor()),z+=this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&z<8?8:0,this._currentGlyphIdentifier.chars=ae.getChars()||xe.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=ae.getCode()||xe.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=z,this._currentGlyphIdentifier.bold=!!ae.isBold(),this._currentGlyphIdentifier.dim=!!ae.isDim(),this._currentGlyphIdentifier.italic=!!ae.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,oe*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(ae,oe,ne))},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}();pe.BaseRenderLayer=le},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.createDecorator=pe.getServiceDependencies=pe.serviceRegistry=void 0;function xe(E,he,fe){he.di$target===he?he.di$dependencies.push({id:E,index:fe}):(he.di$dependencies=[{id:E,index:fe}],he.di$target=he)}pe.serviceRegistry=new Map,pe.getServiceDependencies=function(E){return E.di$dependencies||[]},pe.createDecorator=function(E){if(pe.serviceRegistry.has(E))return pe.serviceRegistry.get(E);var he=function(fe,se,re){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");xe(he,fe,re)};return he.toString=function(){return E},pe.serviceRegistry.set(E,he),he}},function(ft,pe,be){"use strict";function xe(E,he,fe,se){if(fe===void 0&&(fe=0),se===void 0&&(se=E.length),fe>=E.length)return E;fe=(E.length+fe)%E.length,se=se>=E.length?E.length:(E.length+se)%E.length;for(var re=fe;re<se;++re)E[re]=he;return E}Object.defineProperty(pe,"__esModule",{value:!0}),pe.concat=pe.fillFallback=pe.fill=void 0,pe.fill=function(E,he,fe,se){return E.fill?E.fill(he,fe,se):xe(E,he,fe,se)},pe.fillFallback=xe,pe.concat=function(E,he){var fe=new E.constructor(E.length+he.length);return fe.set(E),fe.set(he,E.length),fe}},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.BufferLine=pe.DEFAULT_ATTR_DATA=void 0;var xe=be(8),E=be(3),he=be(4),fe=be(6);pe.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?xe.stringFromCodePoint(ce):"",le>>22,2097152&le?this._combined[ie].charCodeAt(this._combined[ie].length-1):ce]},re.prototype.set=function(ie,le){this._data[3*ie+1]=le[E.CHAR_DATA_ATTR_INDEX],le[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[ie]=le[1],this._data[3*ie+0]=2097152|ie|le[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*ie+0]=le[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|le[E.CHAR_DATA_WIDTH_INDEX]<<22},re.prototype.getWidth=function(ie){return this._data[3*ie+0]>>22},re.prototype.hasWidth=function(ie){return 12582912&this._data[3*ie+0]},re.prototype.getFg=function(ie){return this._data[3*ie+1]},re.prototype.getBg=function(ie){return this._data[3*ie+2]},re.prototype.hasContent=function(ie){return 4194303&this._data[3*ie+0]},re.prototype.getCodePoint=function(ie){var le=this._data[3*ie+0];return 2097152&le?this._combined[ie].charCodeAt(this._combined[ie].length-1):2097151&le},re.prototype.isCombined=function(ie){return 2097152&this._data[3*ie+0]},re.prototype.getString=function(ie){var le=this._data[3*ie+0];return 2097152&le?this._combined[ie]:2097151&le?xe.stringFromCodePoint(2097151&le):""},re.prototype.loadCell=function(ie,le){var ce=3*ie;return le.content=this._data[ce+0],le.fg=this._data[ce+1],le.bg=this._data[ce+2],2097152&le.content&&(le.combinedData=this._combined[ie]),268435456&le.bg&&(le.extended=this._extendedAttrs[ie]),le},re.prototype.setCell=function(ie,le){2097152&le.content&&(this._combined[ie]=le.combinedData),268435456&le.bg&&(this._extendedAttrs[ie]=le.extended),this._data[3*ie+0]=le.content,this._data[3*ie+1]=le.fg,this._data[3*ie+2]=le.bg},re.prototype.setCellFromCodePoint=function(ie,le,ce,ae,oe,ne){268435456&oe&&(this._extendedAttrs[ie]=ne),this._data[3*ie+0]=le|ce<<22,this._data[3*ie+1]=ae,this._data[3*ie+2]=oe},re.prototype.addCodepointToCell=function(ie,le){var ce=this._data[3*ie+0];2097152&ce?this._combined[ie]+=xe.stringFromCodePoint(le):(2097151&ce?(this._combined[ie]=xe.stringFromCodePoint(2097151&ce)+xe.stringFromCodePoint(le),ce&=-2097152,ce|=2097152):ce=le|1<<22,this._data[3*ie+0]=ce)},re.prototype.insertCells=function(ie,le,ce,ae){if((ie%=this.length)&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new 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?xe.stringFromCodePoint(ne):E.WHITESPACE_CELL_CHAR,le+=oe>>22||1}return ae},re}();pe.BufferLine=se},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.removeElementFromParent=void 0,pe.removeElementFromParent=function(){for(var xe,E=[],he=0;he<arguments.length;he++)E[he]=arguments[he];for(var fe=0,se=E;fe<se.length;fe++){var re=se[fe];(xe=re==null?void 0:re.parentElement)===null||xe===void 0||xe.removeChild(re)}}},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.tooMuchOutput=pe.promptLabel=void 0,pe.promptLabel="Terminal input",pe.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(de,ge){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ve,me){ve.__proto__=me}||function(ve,me){for(var Se in me)me.hasOwnProperty(Se)&&(ve[Se]=me[Se])})(de,ge)},function(de,ge){function ve(){this.constructor=de}xe(de,ge),de.prototype=ge===null?Object.create(ge):(ve.prototype=ge.prototype,new ve)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.InputHandler=pe.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=pe.WindowsOptionsReportType||(pe.WindowsOptionsReportType={}));var te=function(){function de(ge,ve,me,Se){this._bufferService=ge,this._coreService=ve,this._logService=me,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,me){this._data=le.concat(this._data,ge.subarray(ve,me))},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 me=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(fe.C0.ESC+"P1$r"+me+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,me,Se,ye,Pe,we,Te,Ee,_e){_e===void 0&&(_e=new re.EscapeSequenceParser);var Ce=de.call(this)||this;Ce._bufferService=ve,Ce._charsetService=me,Ce._coreService=Se,Ce._dirtyRowService=ye,Ce._logService=Pe,Ce._optionsService=we,Ce._coreMouseService=Te,Ce._unicodeService=Ee,Ce._parser=_e,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,Je){Ce._logService.debug("Unknown OSC code: ",{identifier:je,action:nt,data:Je})}),Ce._parser.setDcsHandlerFallback(function(je,nt,Je){nt==="HOOK"&&(Je=Je.toArray()),Ce._logService.debug("Unknown DCS code: ",{identifier:Ce._parser.identToString(je),action:nt,payload:Je})}),Ce._parser.setPrintHandler(function(je,nt,Je){return Ce.print(je,nt,Je)}),Ce._parser.setCsiHandler({final:"@"},function(je){return Ce.insertChars(je)}),Ce._parser.setCsiHandler({intermediates:" ",final:"@"},function(je){return Ce.scrollLeft(je)}),Ce._parser.setCsiHandler({final:"A"},function(je){return Ce.cursorUp(je)}),Ce._parser.setCsiHandler({intermediates:" ",final:"A"},function(je){return Ce.scrollRight(je)}),Ce._parser.setCsiHandler({final:"B"},function(je){return Ce.cursorDown(je)}),Ce._parser.setCsiHandler({final:"C"},function(je){return Ce.cursorForward(je)}),Ce._parser.setCsiHandler({final:"D"},function(je){return Ce.cursorBackward(je)}),Ce._parser.setCsiHandler({final:"E"},function(je){return Ce.cursorNextLine(je)}),Ce._parser.setCsiHandler({final:"F"},function(je){return Ce.cursorPrecedingLine(je)}),Ce._parser.setCsiHandler({final:"G"},function(je){return Ce.cursorCharAbsolute(je)}),Ce._parser.setCsiHandler({final:"H"},function(je){return Ce.cursorPosition(je)}),Ce._parser.setCsiHandler({final:"I"},function(je){return Ce.cursorForwardTab(je)}),Ce._parser.setCsiHandler({final:"J"},function(je){return Ce.eraseInDisplay(je)}),Ce._parser.setCsiHandler({prefix:"?",final:"J"},function(je){return Ce.eraseInDisplay(je)}),Ce._parser.setCsiHandler({final:"K"},function(je){return Ce.eraseInLine(je)}),Ce._parser.setCsiHandler({prefix:"?",final:"K"},function(je){return Ce.eraseInLine(je)}),Ce._parser.setCsiHandler({final:"L"},function(je){return Ce.insertLines(je)}),Ce._parser.setCsiHandler({final:"M"},function(je){return Ce.deleteLines(je)}),Ce._parser.setCsiHandler({final:"P"},function(je){return Ce.deleteChars(je)}),Ce._parser.setCsiHandler({final:"S"},function(je){return Ce.scrollUp(je)}),Ce._parser.setCsiHandler({final:"T"},function(je){return Ce.scrollDown(je)}),Ce._parser.setCsiHandler({final:"X"},function(je){return Ce.eraseChars(je)}),Ce._parser.setCsiHandler({final:"Z"},function(je){return Ce.cursorBackwardTab(je)}),Ce._parser.setCsiHandler({final:"`"},function(je){return Ce.charPosAbsolute(je)}),Ce._parser.setCsiHandler({final:"a"},function(je){return Ce.hPositionRelative(je)}),Ce._parser.setCsiHandler({final:"b"},function(je){return Ce.repeatPrecedingCharacter(je)}),Ce._parser.setCsiHandler({final:"c"},function(je){return Ce.sendDeviceAttributesPrimary(je)}),Ce._parser.setCsiHandler({prefix:">",final:"c"},function(je){return Ce.sendDeviceAttributesSecondary(je)}),Ce._parser.setCsiHandler({final:"d"},function(je){return Ce.linePosAbsolute(je)}),Ce._parser.setCsiHandler({final:"e"},function(je){return Ce.vPositionRelative(je)}),Ce._parser.setCsiHandler({final:"f"},function(je){return Ce.hVPosition(je)}),Ce._parser.setCsiHandler({final:"g"},function(je){return Ce.tabClear(je)}),Ce._parser.setCsiHandler({final:"h"},function(je){return Ce.setMode(je)}),Ce._parser.setCsiHandler({prefix:"?",final:"h"},function(je){return Ce.setModePrivate(je)}),Ce._parser.setCsiHandler({final:"l"},function(je){return Ce.resetMode(je)}),Ce._parser.setCsiHandler({prefix:"?",final:"l"},function(je){return Ce.resetModePrivate(je)}),Ce._parser.setCsiHandler({final:"m"},function(je){return Ce.charAttributes(je)}),Ce._parser.setCsiHandler({final:"n"},function(je){return Ce.deviceStatus(je)}),Ce._parser.setCsiHandler({prefix:"?",final:"n"},function(je){return Ce.deviceStatusPrivate(je)}),Ce._parser.setCsiHandler({intermediates:"!",final:"p"},function(je){return Ce.softReset(je)}),Ce._parser.setCsiHandler({intermediates:" ",final:"q"},function(je){return Ce.setCursorStyle(je)}),Ce._parser.setCsiHandler({final:"r"},function(je){return Ce.setScrollRegion(je)}),Ce._parser.setCsiHandler({final:"s"},function(je){return Ce.saveCursor(je)}),Ce._parser.setCsiHandler({final:"t"},function(je){return Ce.windowOptions(je)}),Ce._parser.setCsiHandler({final:"u"},function(je){return Ce.restoreCursor(je)}),Ce._parser.setCsiHandler({intermediates:"'",final:"}"},function(je){return Ce.insertColumns(je)}),Ce._parser.setCsiHandler({intermediates:"'",final:"~"},function(je){return Ce.deleteColumns(je)}),Ce._parser.setExecuteHandler(fe.C0.BEL,function(){return Ce.bell()}),Ce._parser.setExecuteHandler(fe.C0.LF,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(fe.C0.VT,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(fe.C0.FF,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(fe.C0.CR,function(){return Ce.carriageReturn()}),Ce._parser.setExecuteHandler(fe.C0.BS,function(){return Ce.backspace()}),Ce._parser.setExecuteHandler(fe.C0.HT,function(){return Ce.tab()}),Ce._parser.setExecuteHandler(fe.C0.SO,function(){return Ce.shiftOut()}),Ce._parser.setExecuteHandler(fe.C0.SI,function(){return Ce.shiftIn()}),Ce._parser.setExecuteHandler(fe.C1.IND,function(){return Ce.index()}),Ce._parser.setExecuteHandler(fe.C1.NEL,function(){return Ce.nextLine()}),Ce._parser.setExecuteHandler(fe.C1.HTS,function(){return Ce.tabSet()}),Ce._parser.setOscHandler(0,new y.OscHandler(function(je){Ce.setTitle(je),Ce.setIconName(je)})),Ce._parser.setOscHandler(1,new y.OscHandler(function(je){return Ce.setIconName(je)})),Ce._parser.setOscHandler(2,new y.OscHandler(function(je){return Ce.setTitle(je)})),Ce._parser.setEscHandler({final:"7"},function(){return Ce.saveCursor()}),Ce._parser.setEscHandler({final:"8"},function(){return Ce.restoreCursor()}),Ce._parser.setEscHandler({final:"D"},function(){return Ce.index()}),Ce._parser.setEscHandler({final:"E"},function(){return Ce.nextLine()}),Ce._parser.setEscHandler({final:"H"},function(){return Ce.tabSet()}),Ce._parser.setEscHandler({final:"M"},function(){return Ce.reverseIndex()}),Ce._parser.setEscHandler({final:"="},function(){return Ce.keypadApplicationMode()}),Ce._parser.setEscHandler({final:">"},function(){return Ce.keypadNumericMode()}),Ce._parser.setEscHandler({final:"c"},function(){return Ce.fullReset()}),Ce._parser.setEscHandler({final:"n"},function(){return Ce.setgLevel(2)}),Ce._parser.setEscHandler({final:"o"},function(){return Ce.setgLevel(3)}),Ce._parser.setEscHandler({final:"|"},function(){return Ce.setgLevel(3)}),Ce._parser.setEscHandler({final:"}"},function(){return Ce.setgLevel(2)}),Ce._parser.setEscHandler({final:"~"},function(){return Ce.setgLevel(1)}),Ce._parser.setEscHandler({intermediates:"%",final:"@"},function(){return Ce.selectDefaultCharset()}),Ce._parser.setEscHandler({intermediates:"%",final:"G"},function(){return Ce.selectDefaultCharset()});var Oe=function(je){Ie._parser.setEscHandler({intermediates:"(",final:je},function(){return Ce.selectCharset("("+je)}),Ie._parser.setEscHandler({intermediates:")",final:je},function(){return Ce.selectCharset(")"+je)}),Ie._parser.setEscHandler({intermediates:"*",final:je},function(){return Ce.selectCharset("*"+je)}),Ie._parser.setEscHandler({intermediates:"+",final:je},function(){return Ce.selectCharset("+"+je)}),Ie._parser.setEscHandler({intermediates:"-",final:je},function(){return Ce.selectCharset("-"+je)}),Ie._parser.setEscHandler({intermediates:".",final:je},function(){return Ce.selectCharset("."+je)}),Ie._parser.setEscHandler({intermediates:"/",final:je},function(){return Ce.selectCharset("/"+je)})},Ie=this;for(var 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 me=this._bufferService.buffer,Se=me.x,ye=me.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,Te=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,Te)}else Te=typeof ve=="string"?this._stringDecoder.decode(ve,this._parseBuffer):this._utf8Decoder.decode(ve,this._parseBuffer),this._parser.parse(this._parseBuffer,Te);(me=this._bufferService.buffer).x===Se&&me.y===ye||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},ge.prototype.print=function(ve,me,Se){var ye,Pe,we=this._bufferService.buffer,Te=this._charsetService.charset,Ee=this._optionsService.options.screenReaderMode,_e=this._bufferService.cols,Ce=this._coreService.decPrivateModes.wraparound,Oe=this._coreService.modes.insertMode,Ie=this._curAttrData,Ue=we.lines.get(we.ybase+we.y);this._dirtyRowService.markDirty(we.y),we.x&&Se-me>0&&Ue.getWidth(we.x-1)===2&&Ue.setCellFromCodePoint(we.x-1,0,1,Ie.fg,Ie.bg,Ie.extended);for(var je=me;je<Se;++je){if(ye=ve[je],Pe=this._unicodeService.wcwidth(ye),ye<127&&Te){var nt=Te[String.fromCharCode(ye)];nt&&(ye=nt.charCodeAt(0))}if(Ee&&this._onA11yChar.fire(ce.stringFromCodePoint(ye)),Pe||!we.x){if(we.x+Pe-1>=_e){if(Ce){for(;we.x<_e;)Ue.setCellFromCodePoint(we.x++,0,1,Ie.fg,Ie.bg,Ie.extended);we.x=0,we.y++,we.y===we.scrollBottom+1?(we.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(we.y>=this._bufferService.rows&&(we.y=this._bufferService.rows-1),we.lines.get(we.ybase+we.y).isWrapped=!0),Ue=we.lines.get(we.ybase+we.y)}else if(we.x=_e-1,Pe===2)continue}if(Oe&&(Ue.insertCells(we.x,Pe,we.getNullCell(Ie),Ie),Ue.getWidth(_e-1)===2&&Ue.setCellFromCodePoint(_e-1,ne.NULL_CELL_CODE,ne.NULL_CELL_WIDTH,Ie.fg,Ie.bg,Ie.extended)),Ue.setCellFromCodePoint(we.x++,ye,Pe,Ie.fg,Ie.bg,Ie.extended),Pe>0)for(;--Pe;)Ue.setCellFromCodePoint(we.x++,0,0,Ie.fg,Ie.bg,Ie.extended)}else Ue.getWidth(we.x-1)?Ue.addCodepointToCell(we.x-1,ye):Ue.addCodepointToCell(we.x-2,ye)}Se-me>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<_e&&Se-me>0&&Ue.getWidth(we.x)===0&&!Ue.hasContent(we.x)&&Ue.setCellFromCodePoint(we.x,0,1,Ie.fg,Ie.bg,Ie.extended),this._dirtyRowService.markDirty(we.y)},ge.prototype.addCsiHandler=function(ve,me){var Se=this;return ve.final!=="t"||ve.prefix||ve.intermediates?this._parser.addCsiHandler(ve,me):this._parser.addCsiHandler(ve,function(ye){return!ee(ye.params[0],Se._optionsService.options.windowOptions)||me(ye)})},ge.prototype.addDcsHandler=function(ve,me){return this._parser.addDcsHandler(ve,new x.DcsHandler(me))},ge.prototype.addEscHandler=function(ve,me){return this._parser.addEscHandler(ve,me)},ge.prototype.addOscHandler=function(ve,me){return this._parser.addOscHandler(ve,new y.OscHandler(me))},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,me=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(me.x>0&&me.x--);if(this._restrictCursor(this._bufferService.cols),me.x>0)me.x--;else if(me.x===0&&me.y>me.scrollTop&&me.y<=me.scrollBottom&&(!((ve=me.lines.get(me.ybase+me.y))===null||ve===void 0)&&ve.isWrapped)){me.lines.get(me.ybase+me.y).isWrapped=!1,me.y--,me.x=this._bufferService.cols-1;var Se=me.lines.get(me.ybase+me.y);Se.hasWidth(me.x)&&!Se.hasContent(me.x)&&me.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,me){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=ve,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+me):(this._bufferService.buffer.x=ve,this._bufferService.buffer.y=me),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ge.prototype._moveCursor=function(ve,me){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+ve,this._bufferService.buffer.y+me)},ge.prototype.cursorUp=function(ve){var me=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;me>=0?this._moveCursor(0,-Math.min(me,ve.params[0]||1)):this._moveCursor(0,-(ve.params[0]||1))},ge.prototype.cursorDown=function(ve){var me=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;me>=0?this._moveCursor(0,Math.min(me,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 me=ve.params[0];me===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:me===3&&(this._bufferService.buffer.tabs={})},ge.prototype.cursorForwardTab=function(ve){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var me=ve.params[0]||1;me--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},ge.prototype.cursorBackwardTab=function(ve){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var me=ve.params[0]||1,Se=this._bufferService.buffer;me--;)Se.x=Se.prevStop()},ge.prototype._eraseInBufferLine=function(ve,me,Se,ye){ye===void 0&&(ye=!1);var Pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+ve);Pe.replaceCells(me,Se,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ye&&(Pe.isWrapped=!1)},ge.prototype._resetBufferLine=function(ve){var me=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+ve);me.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),me.isWrapped=!1},ge.prototype.eraseInDisplay=function(ve){var me;switch(this._restrictCursor(),ve.params[0]){case 0:for(me=this._bufferService.buffer.y,this._dirtyRowService.markDirty(me),this._eraseInBufferLine(me++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);me<this._bufferService.rows;me++)this._resetBufferLine(me);this._dirtyRowService.markDirty(me);break;case 1:for(me=this._bufferService.buffer.y,this._dirtyRowService.markDirty(me),this._eraseInBufferLine(me,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(me+1).isWrapped=!1);me--;)this._resetBufferLine(me);this._dirtyRowService.markDirty(0);break;case 2:for(me=this._bufferService.rows,this._dirtyRowService.markDirty(me-1);me--;)this._resetBufferLine(me);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 me=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;me--;)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 me=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;me--;)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 me=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);me&&(me.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 me=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);me&&(me.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 me=ve.params[0]||1,Se=this._bufferService.buffer;me--;)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 me=ve.params[0]||1,Se=this._bufferService.buffer;me--;)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 me=this._bufferService.buffer;if(!(me.y>me.scrollBottom||me.y<me.scrollTop)){for(var Se=ve.params[0]||1,ye=me.scrollTop;ye<=me.scrollBottom;++ye){var Pe=me.lines.get(me.ybase+ye);Pe.deleteCells(0,Se,me.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom)}},ge.prototype.scrollRight=function(ve){var me=this._bufferService.buffer;if(!(me.y>me.scrollBottom||me.y<me.scrollTop)){for(var Se=ve.params[0]||1,ye=me.scrollTop;ye<=me.scrollBottom;++ye){var Pe=me.lines.get(me.ybase+ye);Pe.insertCells(0,Se,me.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom)}},ge.prototype.insertColumns=function(ve){var me=this._bufferService.buffer;if(!(me.y>me.scrollBottom||me.y<me.scrollTop)){for(var Se=ve.params[0]||1,ye=me.scrollTop;ye<=me.scrollBottom;++ye){var Pe=this._bufferService.buffer.lines.get(me.ybase+ye);Pe.insertCells(me.x,Se,me.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom)}},ge.prototype.deleteColumns=function(ve){var me=this._bufferService.buffer;if(!(me.y>me.scrollBottom||me.y<me.scrollTop)){for(var Se=ve.params[0]||1,ye=me.scrollTop;ye<=me.scrollBottom;++ye){var Pe=me.lines.get(me.ybase+ye);Pe.deleteCells(me.x,Se,me.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom)}},ge.prototype.eraseChars=function(ve){this._restrictCursor();var me=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);me&&(me.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 me=ve.params[0]||1,Se=new Uint32Array(me),ye=0;ye<me;++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 me=0;me<ve.length;me++)switch(ve.params[me]){case 4:this._coreService.modes.insertMode=!0}},ge.prototype.setModePrivate=function(ve){for(var me=0;me<ve.length;me++)switch(ve.params[me]){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 me=0;me<ve.length;me++)switch(ve.params[me]){case 4:this._coreService.modes.insertMode=!1}},ge.prototype.resetModePrivate=function(ve){for(var me=0;me<ve.length;me++)switch(ve.params[me]){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[me]===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,me,Se,ye,Pe){return me===2?(ve|=50331648,ve&=-16777216,ve|=a.AttributeData.fromColorRGB([Se,ye,Pe])):me===5&&(ve&=-50331904,ve|=33554432|255&Se),ve},ge.prototype._extractColor=function(ve,me,Se){var ye=[0,0,-1,0,0,0],Pe=0,we=0;do{if(ye[we+Pe]=ve.params[me+we],ve.hasSubParams(me+we)){var Te=ve.getSubParams(me+we),Ee=0;do ye[1]===5&&(Pe=1),ye[we+Ee+1+Pe]=Te[Ee];while(++Ee<Te.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+me<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,me){me.extended=me.extended.clone(),(!~ve||ve>5)&&(ve=1),me.extended.underlineStyle=ve,me.fg|=268435456,ve===0&&(me.fg&=-268435457),me.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 me,Se=ve.length,ye=this._curAttrData,Pe=0;Pe<Se;Pe++)(me=ve.params[Pe])>=30&&me<=37?(ye.fg&=-50331904,ye.fg|=16777216|me-30):me>=40&&me<=47?(ye.bg&=-50331904,ye.bg|=16777216|me-40):me>=90&&me<=97?(ye.fg&=-50331904,ye.fg|=16777224|me-90):me>=100&&me<=107?(ye.bg&=-50331904,ye.bg|=16777224|me-100):me===0?(ye.fg=ae.DEFAULT_ATTR_DATA.fg,ye.bg=ae.DEFAULT_ATTR_DATA.bg):me===1?ye.fg|=134217728:me===3?ye.bg|=67108864:me===4?(ye.fg|=268435456,this._processUnderline(ve.hasSubParams(Pe)?ve.getSubParams(Pe)[0]:1,ye)):me===5?ye.fg|=536870912:me===7?ye.fg|=67108864:me===8?ye.fg|=1073741824:me===2?ye.bg|=134217728:me===21?this._processUnderline(2,ye):me===22?(ye.fg&=-134217729,ye.bg&=-134217729):me===23?ye.bg&=-67108865:me===24?ye.fg&=-268435457:me===25?ye.fg&=-536870913:me===27?ye.fg&=-67108865:me===28?ye.fg&=-1073741825:me===39?(ye.fg&=-67108864,ye.fg|=16777215&ae.DEFAULT_ATTR_DATA.fg):me===49?(ye.bg&=-67108864,ye.bg|=16777215&ae.DEFAULT_ATTR_DATA.bg):me===38||me===48||me===58?Pe+=this._extractColor(ve,Pe,ye):me===59?(ye.extended=ye.extended.clone(),ye.extended.underlineColor=-1,ye.updateExtended()):me===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.",me)},ge.prototype.deviceStatus=function(ve){switch(ve.params[0]){case 5:this._coreService.triggerDataEvent(fe.C0.ESC+"[0n");break;case 6:var me=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(fe.C0.ESC+"["+me+";"+Se+"R")}},ge.prototype.deviceStatusPrivate=function(ve){switch(ve.params[0]){case 6:var me=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(fe.C0.ESC+"[?"+me+";"+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 me=ve.params[0]||1;switch(me){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=me%2==1;this._optionsService.options.cursorBlink=Se},ge.prototype.setScrollRegion=function(ve){var me,Se=ve.params[0]||1;(ve.length<2||(me=ve.params[1])>this._bufferService.rows||me===0)&&(me=this._bufferService.rows),me>Se&&(this._bufferService.buffer.scrollTop=Se-1,this._bufferService.buffer.scrollBottom=me-1,this._setCursor(0,0))},ge.prototype.windowOptions=function(ve){if(ee(ve.params[0],this._optionsService.options.windowOptions)){var me=ve.length>1?ve.params[1]:0;switch(ve.params[0]){case 14:me!==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:me!==0&&me!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),me!==0&&me!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:me!==0&&me!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),me!==0&&me!==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 me=ve.scrollBottom-ve.scrollTop;ve.lines.shiftElements(ve.ybase+ve.y,me,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 me=this._bufferService.buffer;this._setCursor(0,0);for(var Se=0;Se<this._bufferService.rows;++Se){var ye=me.ybase+me.y+Se,Pe=me.lines.get(ye);Pe&&(Pe.fill(ve),Pe.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},ge}(ie.Disposable);pe.InputHandler=ue},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.DEFAULT_CHARSET=pe.CHARSETS=void 0,pe.CHARSETS={},pe.DEFAULT_CHARSET=pe.CHARSETS.B,pe.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"},pe.CHARSETS.A={"#":"\xA3"},pe.CHARSETS.B=void 0,pe.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},pe.CHARSETS.C=pe.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},pe.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},pe.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},pe.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},pe.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},pe.CHARSETS.E=pe.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},pe.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},pe.CHARSETS.H=pe.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},pe.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.Params=void 0;var xe=function(){function E(he,fe){if(he===void 0&&(he=32),fe===void 0&&(fe=32),this.maxLength=he,this.maxSubParamsLength=fe,fe>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(he),this.length=0,this._subParams=new Int32Array(fe),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(he),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(he){var fe=new E;if(!he.length)return fe;for(var se=he[0]instanceof Array?1:0;se<he.length;++se){var re=he[se];if(re instanceof Array)for(var ie=0;ie<re.length;++ie)fe.addSubParam(re[ie]);else fe.addParam(re)}return fe},E.prototype.clone=function(){var he=new E(this.maxLength,this.maxSubParamsLength);return he.params.set(this.params),he.length=this.length,he._subParams.set(this._subParams),he._subParamsLength=this._subParamsLength,he._subParamsIdx.set(this._subParamsIdx),he._rejectDigits=this._rejectDigits,he._rejectSubDigits=this._rejectSubDigits,he._digitIsSub=this._digitIsSub,he},E.prototype.toArray=function(){for(var he=[],fe=0;fe<this.length;++fe){he.push(this.params[fe]);var se=this._subParamsIdx[fe]>>8,re=255&this._subParamsIdx[fe];re-se>0&&he.push(Array.prototype.slice.call(this._subParams,se,re))}return he},E.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},E.prototype.addParam=function(he){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(he<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=he>2147483647?2147483647:he}},E.prototype.addSubParam=function(he){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(he<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=he>2147483647?2147483647:he,this._subParamsIdx[this.length-1]++}},E.prototype.hasSubParams=function(he){return(255&this._subParamsIdx[he])-(this._subParamsIdx[he]>>8)>0},E.prototype.getSubParams=function(he){var fe=this._subParamsIdx[he]>>8,se=255&this._subParamsIdx[he];return se-fe>0?this._subParams.subarray(fe,se):null},E.prototype.getSubParamsAll=function(){for(var he={},fe=0;fe<this.length;++fe){var se=this._subParamsIdx[fe]>>8,re=255&this._subParamsIdx[fe];re-se>0&&(he[fe]=this._subParams.slice(se,re))}return he},E.prototype.addDigit=function(he){var fe;if(!(this._rejectDigits||!(fe=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var se=this._digitIsSub?this._subParams:this.params,re=se[fe-1];se[fe-1]=~re?Math.min(10*re+he,2147483647):he}},E}();pe.Params=xe},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.OscHandler=pe.OscParser=void 0;var xe=be(23),E=be(8),he=function(){function se(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return se.prototype.addHandler=function(re,ie){this._handlers[re]===void 0&&(this._handlers[re]=[]);var le=this._handlers[re];return le.push(ie),{dispose:function(){var 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}();pe.OscParser=he;var fe=function(){function se(re){this._handler=re,this._data="",this._hitLimit=!1}return se.prototype.start=function(){this._data="",this._hitLimit=!1},se.prototype.put=function(re,ie,le){this._hitLimit||(this._data+=E.utf32ToString(re,ie,le),this._data.length>xe.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},se.prototype.end=function(re){var ie;return this._hitLimit?ie=!1:re&&(ie=this._handler(this._data)),this._data="",this._hitLimit=!1,ie},se}();pe.OscHandler=fe},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.PAYLOAD_LIMIT=void 0,pe.PAYLOAD_LIMIT=1e7},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.DcsHandler=pe.DcsParser=void 0;var xe=be(8),E=be(21),he=be(23),fe=[],se=function(){function ie(){this._handlers=Object.create(null),this._active=fe,this._ident=0,this._handlerFb=function(){}}return ie.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ie.prototype.addHandler=function(le,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",xe.utf32ToString(le,ce,ae))},ie.prototype.unhook=function(le){if(this._active.length){for(var ce=this._active.length-1;ce>=0&&this._active[ce].unhook(le)===!1;ce--);for(ce--;ce>=0;ce--)this._active[ce].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",le);this._active=fe,this._ident=0},ie}();pe.DcsParser=se;var re=function(){function ie(le){this._handler=le,this._data="",this._hitLimit=!1}return ie.prototype.hook=function(le){this._params=le.clone(),this._data="",this._hitLimit=!1},ie.prototype.put=function(le,ce,ae){this._hitLimit||(this._data+=xe.utf32ToString(le,ce,ae),this._data.length>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}();pe.DcsHandler=re},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.removeTerminalFromCache=pe.acquireCharAtlas=void 0;var xe=be(26),E=be(43),he=[];pe.acquireCharAtlas=function(fe,se,re,ie,le){for(var ce=xe.generateConfig(ie,le,fe,re),ae=0;ae<he.length;ae++){var oe=(ne=he[ae]).ownedBy.indexOf(se);if(oe>=0){if(xe.configEquals(ne.config,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(xe.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},pe.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(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.is256Color=pe.configEquals=pe.generateConfig=void 0;var xe=be(3);pe.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}},pe.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},pe.is256Color=function(E){return E<xe.DEFAULT_COLOR}},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.ColorManager=pe.DEFAULT_ANSI_COLORS=void 0;var xe=be(10),E=be(45),he=xe.css.toColor("#ffffff"),fe=xe.css.toColor("#000000"),se=xe.css.toColor("#ffffff"),re=xe.css.toColor("#000000"),ie={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};pe.DEFAULT_ANSI_COLORS=function(){for(var ce=[xe.css.toColor("#2e3436"),xe.css.toColor("#cc0000"),xe.css.toColor("#4e9a06"),xe.css.toColor("#c4a000"),xe.css.toColor("#3465a4"),xe.css.toColor("#75507b"),xe.css.toColor("#06989a"),xe.css.toColor("#d3d7cf"),xe.css.toColor("#555753"),xe.css.toColor("#ef2929"),xe.css.toColor("#8ae234"),xe.css.toColor("#fce94f"),xe.css.toColor("#729fcf"),xe.css.toColor("#ad7fa8"),xe.css.toColor("#34e2e2"),xe.css.toColor("#eeeeec")],ae=[0,95,135,175,215,255],oe=0;oe<216;oe++){var ne=ae[oe/36%6|0],z=ae[oe/6%6|0],a=ae[oe%6];ce.push({css:xe.channels.toCss(ne,z,a),rgba:xe.channels.toRgba(ne,z,a)})}for(oe=0;oe<24;oe++){var y=8+10*oe;ce.push({css:xe.channels.toCss(y,y,y),rgba:xe.channels.toRgba(y,y,y)})}return ce}();var le=function(){function ce(ae,oe){this.allowTransparency=oe;var ne=ae.createElement("canvas");ne.width=1,ne.height=1;var z=ne.getContext("2d");if(!z)throw new Error("Could not get rendering context");this._ctx=z,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new E.ColorContrastCache,this.colors={foreground:he,background:fe,cursor:se,cursorAccent:re,selectionTransparent:ie,selectionOpaque:xe.color.blend(fe,ie),ansi:pe.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=xe.color.blend(this.colors.background,this.colors.selectionTransparent),xe.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=xe.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(ae.black,pe.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(ae.red,pe.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(ae.green,pe.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(ae.yellow,pe.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(ae.blue,pe.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(ae.magenta,pe.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(ae.cyan,pe.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(ae.white,pe.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(ae.brightBlack,pe.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(ae.brightRed,pe.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(ae.brightGreen,pe.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(ae.brightYellow,pe.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(ae.brightBlue,pe.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(ae.brightMagenta,pe.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(ae.brightCyan,pe.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(ae.brightWhite,pe.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:xe.channels.toRgba(y,x,b,te),css:ae}}return{css:this._ctx.fillStyle,rgba:xe.channels.toRgba(z[0],z[1],z[2],z[3])}},ce}();pe.ColorManager=le},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.throwIfFalsy=void 0,pe.throwIfFalsy=function(xe){if(!xe)throw new Error("value must not be falsy");return xe}},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(le,ce){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,oe){ae.__proto__=oe}||function(ae,oe){for(var ne in oe)oe.hasOwnProperty(ne)&&(ae[ne]=oe[ne])})(le,ce)},function(le,ce){function ae(){this.constructor=le}xe(le,ce),le.prototype=ce===null?Object.create(ce):(ae.prototype=ce.prototype,new ae)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.CharacterJoinerRegistry=pe.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);pe.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}();pe.CharacterJoinerRegistry=ie},function(ft,pe,be){"use strict";function xe(E,he){var fe=he.getBoundingClientRect();return[E.clientX-fe.left,E.clientY-fe.top]}Object.defineProperty(pe,"__esModule",{value:!0}),pe.getRawByteCoords=pe.getCoords=pe.getCoordsRelativeToElement=void 0,pe.getCoordsRelativeToElement=xe,pe.getCoords=function(E,he,fe,se,re,ie,le,ce){if(re){var ae=xe(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}},pe.getRawByteCoords=function(E){if(E)return{x:E[0]+32,y:E[1]+32}}},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.RenderDebouncer=void 0;var xe=function(){function E(he){this._renderCallback=he}return E.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},E.prototype.refresh=function(he,fe,se){var re=this;this._rowCount=se,he=he!==void 0?he:0,fe=fe!==void 0?fe:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,he):he,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,fe):fe,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return re._innerRefresh()}))},E.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var he=Math.max(this._rowStart,0),fe=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(he,fe)}},E}();pe.RenderDebouncer=xe},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(fe,se){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var le in ie)ie.hasOwnProperty(le)&&(re[le]=ie[le])})(fe,se)},function(fe,se){function re(){this.constructor=fe}xe(fe,se),fe.prototype=se===null?Object.create(se):(re.prototype=se.prototype,new re)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.ScreenDprMonitor=he},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.clone=void 0,pe.clone=function xe(E,he){if(he===void 0&&(he=5),typeof E!="object")return E;var fe=Array.isArray(E)?[]:{};for(var se in E)fe[se]=he<=1?E[se]:E[se]?xe(E[se],he-1):E[se];return fe}},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.Terminal=void 0;var xe=be(4),E=be(35),he=be(18),fe=be(0),se=be(83),re=function(){function ne(z){this._core=new E.Terminal(z),this._addonManager=new se.AddonManager}return ne.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(ne.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new ae(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"unicode",{get:function(){return this._checkProposedApi(),new oe(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"buffer",{get:function(){return this._checkProposedApi(),new le(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),ne.prototype.blur=function(){this._core.blur()},ne.prototype.focus=function(){this._core.focus()},ne.prototype.resize=function(z,a){this._verifyIntegers(z,a),this._core.resize(z,a)},ne.prototype.open=function(z){this._core.open(z)},ne.prototype.attachCustomKeyEventHandler=function(z){this._core.attachCustomKeyEventHandler(z)},ne.prototype.registerLinkMatcher=function(z,a,y){return this._checkProposedApi(),this._core.registerLinkMatcher(z,a,y)},ne.prototype.deregisterLinkMatcher=function(z){this._checkProposedApi(),this._core.deregisterLinkMatcher(z)},ne.prototype.registerLinkProvider=function(z){return this._checkProposedApi(),this._core.registerLinkProvider(z)},ne.prototype.registerCharacterJoiner=function(z){return this._checkProposedApi(),this._core.registerCharacterJoiner(z)},ne.prototype.deregisterCharacterJoiner=function(z){this._checkProposedApi(),this._core.deregisterCharacterJoiner(z)},ne.prototype.registerMarker=function(z){return this._checkProposedApi(),this._verifyIntegers(z),this._core.addMarker(z)},ne.prototype.addMarker=function(z){return this.registerMarker(z)},ne.prototype.hasSelection=function(){return this._core.hasSelection()},ne.prototype.select=function(z,a,y){this._verifyIntegers(z,a,y),this._core.select(z,a,y)},ne.prototype.getSelection=function(){return this._core.getSelection()},ne.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},ne.prototype.clearSelection=function(){this._core.clearSelection()},ne.prototype.selectAll=function(){this._core.selectAll()},ne.prototype.selectLines=function(z,a){this._verifyIntegers(z,a),this._core.selectLines(z,a)},ne.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},ne.prototype.scrollLines=function(z){this._verifyIntegers(z),this._core.scrollLines(z)},ne.prototype.scrollPages=function(z){this._verifyIntegers(z),this._core.scrollPages(z)},ne.prototype.scrollToTop=function(){this._core.scrollToTop()},ne.prototype.scrollToBottom=function(){this._core.scrollToBottom()},ne.prototype.scrollToLine=function(z){this._verifyIntegers(z),this._core.scrollToLine(z)},ne.prototype.clear=function(){this._core.clear()},ne.prototype.write=function(z,a){this._core.write(z,a)},ne.prototype.writeUtf8=function(z,a){this._core.write(z,a)},ne.prototype.writeln=function(z,a){this._core.write(z),this._core.write(`\r
`,a)},ne.prototype.paste=function(z){this._core.paste(z)},ne.prototype.getOption=function(z){return this._core.optionsService.getOption(z)},ne.prototype.setOption=function(z,a){this._core.optionsService.setOption(z,a)},ne.prototype.refresh=function(z,a){this._verifyIntegers(z,a),this._core.refresh(z,a)},ne.prototype.reset=function(){this._core.reset()},ne.prototype.loadAddon=function(z){return this._addonManager.loadAddon(this,z)},Object.defineProperty(ne,"strings",{get:function(){return he},enumerable:!1,configurable:!0}),ne.prototype._verifyIntegers=function(){for(var z=[],a=0;a<arguments.length;a++)z[a]=arguments[a];for(var y=0,x=z;y<x.length;y++){var b=x[y];if(b===1/0||isNaN(b)||b%1!=0)throw new Error("This API only accepts integers")}},ne}();pe.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 xe.CellData},ne}(),le=function(){function ne(z){var a=this;this._buffers=z,this._onBufferChange=new fe.EventEmitter,this._normal=new ie(this._buffers.normal,"normal"),this._alternate=new ie(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return a._onBufferChange.fire(a.active)})}return Object.defineProperty(ne.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),ne}(),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 xe.CellData)},ne.prototype.translateToString=function(z,a,y){return this._line.translateToString(z,a,y)},ne}(),ae=function(){function ne(z){this._core=z}return ne.prototype.registerCsiHandler=function(z,a){return this._core.addCsiHandler(z,function(y){return a(y.toArray())})},ne.prototype.addCsiHandler=function(z,a){return this.registerCsiHandler(z,a)},ne.prototype.registerDcsHandler=function(z,a){return this._core.addDcsHandler(z,function(y,x){return a(y,x.toArray())})},ne.prototype.addDcsHandler=function(z,a){return this.registerDcsHandler(z,a)},ne.prototype.registerEscHandler=function(z,a){return this._core.addEscHandler(z,a)},ne.prototype.addEscHandler=function(z,a){return this.registerEscHandler(z,a)},ne.prototype.registerOscHandler=function(z,a){return this._core.addOscHandler(z,a)},ne.prototype.addOscHandler=function(z,a){return this.registerOscHandler(z,a)},ne}(),oe=function(){function ne(z){this._core=z}return ne.prototype.register=function(z){this._core.unicodeService.register(z)},Object.defineProperty(ne.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(z){this._core.unicodeService.activeVersion=z},enumerable:!1,configurable:!0}),ne}()},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(_e,Ce){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Oe,Ie){Oe.__proto__=Ie}||function(Oe,Ie){for(var Ue in Ie)Ie.hasOwnProperty(Ue)&&(Oe[Ue]=Ie[Ue])})(_e,Ce)},function(_e,Ce){function Oe(){this.constructor=_e}xe(_e,Ce),_e.prototype=Ce===null?Object.create(Ce):(Oe.prototype=Ce.prototype,new Oe)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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),me=be(61),Se=be(62),ye=be(63),Pe=be(64),we=be(65),Te=typeof window!="undefined"?window.document:null,Ee=function(_e){function Ce(Oe){Oe===void 0&&(Oe={});var Ie=_e.call(this,Oe)||this;return Ie.browser=oe,Ie._keyDownHandled=!1,Ie._onCursorMove=new te.EventEmitter,Ie._onKey=new te.EventEmitter,Ie._onRender=new te.EventEmitter,Ie._onSelectionChange=new te.EventEmitter,Ie._onTitleChange=new te.EventEmitter,Ie._onFocus=new te.EventEmitter,Ie._onBlur=new te.EventEmitter,Ie._onA11yCharEmitter=new te.EventEmitter,Ie._onA11yTabEmitter=new te.EventEmitter,Ie._setup(),Ie.linkifier=Ie._instantiationService.createInstance(ce.Linkifier),Ie.linkifier2=Ie.register(Ie._instantiationService.createInstance(ye.Linkifier2)),Ie.register(Ie._inputHandler.onRequestBell(function(){return Ie.bell()})),Ie.register(Ie._inputHandler.onRequestRefreshRows(function(Ue,je){return Ie.refresh(Ue,je)})),Ie.register(Ie._inputHandler.onRequestReset(function(){return Ie.reset()})),Ie.register(Ie._inputHandler.onRequestScroll(function(Ue,je){return Ie.scroll(Ue,je||void 0)})),Ie.register(Ie._inputHandler.onRequestWindowsOptionsReport(function(Ue){return Ie._reportWindowsOptions(Ue)})),Ie.register(te.forwardEvent(Ie._inputHandler.onCursorMove,Ie._onCursorMove)),Ie.register(te.forwardEvent(Ie._inputHandler.onTitleChange,Ie._onTitleChange)),Ie.register(te.forwardEvent(Ie._inputHandler.onA11yChar,Ie._onA11yCharEmitter)),Ie.register(te.forwardEvent(Ie._inputHandler.onA11yTab,Ie._onA11yTabEmitter)),Ie.register(Ie._bufferService.onResize(function(Ue){return Ie._afterResize(Ue.cols,Ue.rows)})),Ie}return E(Ce,_e),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,Ie,Ue;this._isDisposed||(_e.prototype.dispose.call(this),(Oe=this._renderService)===null||Oe===void 0||Oe.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(Ue=(Ie=this.element)===null||Ie===void 0?void 0:Ie.parentNode)===null||Ue===void 0||Ue.removeChild(this.element))},Ce.prototype._setup=function(){_e.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 Ie,Ue,je,nt;switch(_e.prototype._updateOptions.call(this,Oe),Oe){case"fontFamily":case"fontSize":(Ie=this._renderService)===null||Ie===void 0||Ie.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),Ie=this._bufferService.buffer.y*Oe,Ue=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=Ue+"px",this.textarea.style.top=Ie+"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 Ie=function(Ue){return se.handlePasteEvent(Ue,Oe.textarea,Oe._coreService)};this.register(ne.addDisposableDomListener(this.textarea,"paste",Ie)),this.register(ne.addDisposableDomListener(this.element,"paste",Ie)),oe.isFirefox?this.register(ne.addDisposableDomListener(this.element,"mousedown",function(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(Ie){return Oe._keyUp(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keydown",function(Ie){return Oe._keyDown(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keypress",function(Ie){return Oe._keyPress(Ie)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"compositionstart",function(){return Oe._compositionHelper.compositionstart()})),this.register(ne.addDisposableDomListener(this.textarea,"compositionupdate",function(Ie){return Oe._compositionHelper.compositionupdate(Ie)})),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(Ie){return Oe._queueLinkification(Ie.start,Ie.end)}))},Ce.prototype.open=function(Oe){var Ie=this;if(!Oe)throw new Error("Terminal requires a parent element.");Te.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=Te.createDocumentFragment();this._viewportElement=Te.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),Ue.appendChild(this._viewportElement),this._viewportScrollArea=Te.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=Te.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=Te.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),Ue.appendChild(this.screenElement),this.textarea=Te.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",z.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(ne.addDisposableDomListener(this.textarea,"focus",function(Je){return Ie._onTextAreaFocus(Je)})),this.register(ne.addDisposableDomListener(this.textarea,"blur",function(){return Ie._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var je=this._instantiationService.createInstance(Pe.CoreBrowserService,this.textarea);this._instantiationService.setService(ve.ICoreBrowserService,je),this._charSizeService=this._instantiationService.createInstance(me.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(ve.ICharSizeService,this._charSizeService),this._compositionView=Te.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(Te,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(Je){return Ie._colorManager.onOptionsChange(Je)})),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(Je){return Ie._onRender.fire(Je)})),this.onResize(function(Je){return Ie._renderService.resize(Je.cols,Je.rows)}),this._soundService=this._instantiationService.createInstance(a.SoundService),this._instantiationService.setService(ve.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(Se.MouseService),this._instantiationService.setService(ve.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(fe.Viewport,function(Je,Qe){return Ie.scrollLines(Je,Qe)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return Ie.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){Ie._renderService.onCursorMove(),Ie._syncTextArea()})),this.register(this.onResize(function(){return Ie._renderService.onResize(Ie.cols,Ie.rows)})),this.register(this.onBlur(function(){return Ie._renderService.onBlur()})),this.register(this.onFocus(function(){return Ie._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return Ie.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(ae.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(ve.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(Je){return Ie.scrollLines(Je.amount,Je.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Ie._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(Je){return Ie._renderService.onSelectionChanged(Je.start,Je.end,Je.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(Je){Ie.textarea.value=Je,Ie.textarea.focus(),Ie.textarea.select()})),this.register(this.onScroll(function(){Ie.viewport.syncScrollArea(),Ie._selectionService.refresh()})),this.register(ne.addDisposableDomListener(this._viewportElement,"scroll",function(){return Ie._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return Ie._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(ne.addDisposableDomListener(this.element,"mousedown",function(Je){return Ie._selectionService.onMouseDown(Je)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},Ce.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(le.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},Ce.prototype._setTheme=function(Oe){var Ie,Ue,je;this._theme=Oe,(Ie=this._colorManager)===null||Ie===void 0||Ie.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,Ie=this,Ue=this.element;function je(ke){var Be,qe,Ye=Ie._mouseService.getRawByteCoords(ke,Ie.screenElement,Ie.cols,Ie.rows);if(!Ye)return!1;switch(ke.overrideType||ke.type){case"mousemove":qe=32,ke.buttons===void 0?(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)&&Ie._coreMouseService.triggerMouseEvent({col:Ye.x-33,row:Ye.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},Je=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=Je):(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"),Ye="",gt=0;gt<Math.abs(Be);gt++)Ye+=qe;Oe._coreService.triggerDataEvent(Ye,!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,Ie){var Ue;(Ue=this._renderService)===null||Ue===void 0||Ue.refreshRows(Oe,Ie)},Ce.prototype._queueLinkification=function(Oe,Ie){var Ue;(Ue=this.linkifier)===null||Ue===void 0||Ue.linkifyRows(Oe,Ie)},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,Ie){_e.prototype.scrollLines.call(this,Oe,Ie),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,Ie,Ue){var je=this.linkifier.registerLinkMatcher(Oe,Ie,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 Ie=this._renderService.registerCharacterJoiner(Oe);return this.refresh(0,this.rows-1),Ie},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,Ie,Ue){this._selectionService.setSelection(Oe,Ie,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,Ie){var Ue;(Ue=this._selectionService)===null||Ue===void 0||Ue.selectLines(Oe,Ie)},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 Ie=ee.evaluateKeyboardEvent(Oe,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(Oe),Ie.type===3||Ie.type===2){var Ue=this.rows-1;return this.scrollLines(Ie.type===2?-Ue:Ue),this.cancel(Oe,!0)}return Ie.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,Oe)||(Ie.cancel&&this.cancel(Oe,!0),!Ie.key||(Ie.key!==re.C0.ETX&&Ie.key!==re.C0.CR||(this.textarea.value=""),this._onKey.fire({key:Ie.key,domEvent:Oe}),this._showCursor(),this._coreService.triggerDataEvent(Ie.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(Oe,!0)))},Ce.prototype._isThirdLevelShift=function(Oe,Ie){var Ue=Oe.isMac&&!this.options.macOptionIsMeta&&Ie.altKey&&!Ie.ctrlKey&&!Ie.metaKey||Oe.isWindows&&Ie.altKey&&Ie.ctrlKey&&!Ie.metaKey;return Ie.type==="keypress"?Ue:Ue&&(!Ie.keyCode||Ie.keyCode>47)},Ce.prototype._keyUp=function(Oe){this._customKeyEventHandler&&this._customKeyEventHandler(Oe)===!1||(function(Ie){return Ie.keyCode===16||Ie.keyCode===17||Ie.keyCode===18}(Oe)||this.focus(),this.updateCursorStyle(Oe))},Ce.prototype._keyPress=function(Oe){var Ie;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(Oe)===!1)return!1;if(this.cancel(Oe),Oe.charCode)Ie=Oe.charCode;else if(Oe.which===null||Oe.which===void 0)Ie=Oe.keyCode;else{if(Oe.which===0||Oe.charCode===0)return!1;Ie=Oe.which}return!(!Ie||(Oe.altKey||Oe.ctrlKey||Oe.metaKey)&&!this._isThirdLevelShift(this.browser,Oe))&&(Ie=String.fromCharCode(Ie),this._onKey.fire({key:Ie,domEvent:Oe}),this._showCursor(),this._coreService.triggerDataEvent(Ie,!0),!0)},Ce.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},Ce.prototype.resize=function(Oe,Ie){Oe!==this.cols||Ie!==this.rows?_e.prototype.resize.call(this,Oe,Ie):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},Ce.prototype._afterResize=function(Oe,Ie){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,Ie;this.options.rows=this.rows,this.options.cols=this.cols;var Ue=this._customKeyEventHandler;this._setup(),_e.prototype.reset.call(this),(Oe=this._selectionService)===null||Oe===void 0||Oe.reset(),this._customKeyEventHandler=Ue,this.refresh(0,this.rows-1),(Ie=this.viewport)===null||Ie===void 0||Ie.syncScrollArea()},Ce.prototype._reportWindowsOptions=function(Oe){if(this._renderService)switch(Oe){case ie.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var Ie=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),Ue=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(re.C0.ESC+"[4;"+Ue+";"+Ie+"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,Ie){if(this.options.cancelEvents||Ie)return Oe.preventDefault(),Oe.stopPropagation(),!1},Ce.prototype._visualBell=function(){return!1},Ce.prototype._soundBell=function(){return this.options.bellStyle==="sound"},Ce}(we.CoreTerminal);pe.Terminal=Ee},function(ft,pe,be){"use strict";var xe=this&&this.__decorate||function(re,ie,le,ce){var ae,oe=arguments.length,ne=oe<3?ie:ce===null?ce=Object.getOwnPropertyDescriptor(ie,le):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(re,ie,le,ce);else for(var 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(pe,"__esModule",{value:!0}),pe.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=xe([E(2,fe.IBufferService),E(3,fe.IOptionsService),E(4,he.ICharSizeService),E(5,fe.ICoreService)],re)}();pe.CompositionHelper=se},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,ne):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,z){oe(ne,z,ae)}};Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.Viewport=ce},function(ft,pe,be){"use strict";function xe(se){return se.replace(/\r?\n/g,"\r")}function E(se,re){return re?"\x1B[200~"+se+"\x1B[201~":se}function he(se,re,ie){se=E(se=xe(se),ie.decPrivateModes.bracketedPasteMode),ie.triggerDataEvent(se,!0),re.value=""}function fe(se,re,ie){var le=ie.getBoundingClientRect(),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(pe,"__esModule",{value:!0}),pe.rightClickHandler=pe.moveTextAreaUnderMouseCursor=pe.paste=pe.handlePasteEvent=pe.copyHandler=pe.bracketTextForPaste=pe.prepareTextForTerminal=void 0,pe.prepareTextForTerminal=xe,pe.bracketTextForPaste=E,pe.copyHandler=function(se,re){se.clipboardData&&se.clipboardData.setData("text/plain",re.selectionText),se.preventDefault()},pe.handlePasteEvent=function(se,re,ie){se.stopPropagation(),se.clipboardData&&he(se.clipboardData.getData("text/plain"),re,ie)},pe.paste=he,pe.moveTextAreaUnderMouseCursor=fe,pe.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(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.EscapeSequenceParser=pe.VT500_TRANSITION_TABLE=pe.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}();pe.TransitionTable=le,pe.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=pe.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 me=this._csiHandlers[te<<8|a],Se=me?me.length-1:-1;Se>=0&&me[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 Te=ge+1;;Te++)if(Te>=z||(a=ne[Te])<32||a>127&&a<=159){b.put(ne,ge,Te),ge=Te-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);pe.EscapeSequenceParser=ce},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(b,ee){return(xe=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}xe(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 me=b.length-1;me>=0;me--)(de=b[me])&&(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(pe,"__esModule",{value:!0}),pe.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,me,Se,ye,Pe){var we=b.call(this)||this;we._colors=te,we._screenElement=ue,we._bufferService=ve,we._charSizeService=me,we._optionsService=Se,we._id=y++,we._onRequestRedraw=new a.EventEmitter;var Te=we._optionsService.options.allowTransparency;return we._characterJoinerRegistry=new ce.CharacterJoinerRegistry(we._bufferService),we._renderLayers=[new se.TextRenderLayer(we._screenElement,0,we._colors,we._characterJoinerRegistry,Te,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);pe.Renderer=x},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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 me=te.shift();de=new ie.JoinedCellData(this._workCell,ee.translateToString(!0,me[0],me[1]),me[1]-me[0]),ve=me[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);pe.TextRenderLayer=ce},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.GridCache=void 0;var xe=function(){function E(){this.cache=[]}return E.prototype.resize=function(he,fe){for(var se=0;se<he;se++){this.cache.length<=se&&this.cache.push([]);for(var re=this.cache[se].length;re<fe;re++)this.cache[se].push(void 0);this.cache[se].length=fe}this.cache.length=he},E.prototype.clear=function(){for(var he=0;he<this.cache.length;he++)for(var fe=0;fe<this.cache[he].length;fe++)this.cache[he][fe]=void 0},E}();pe.GridCache=xe},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(a,y){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,b){x.__proto__=b}||function(x,b){for(var ee in b)b.hasOwnProperty(ee)&&(x[ee]=b[ee])})(a,y)},function(a,y){function x(){this.constructor=a}xe(a,y),a.prototype=y===null?Object.create(y):(x.prototype=y.prototype,new x)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.NoneCharAtlas=pe.DynamicCharAtlas=pe.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)}pe.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,Te=Pe.rgba>>>24,Ee=Pe.rgba>>>16&255,_e=Pe.rgba>>>8&255,Ce=0;Ce<ye.data.length;Ce+=4)ye.data[Ce]===Te&&ye.data[Ce+1]===Ee&&ye.data[Ce+2]===_e?ye.data[Ce+3]=0:we=!1;return we}(de,ee));var ve=this._toCoordinateX(b),me=this._toCoordinateY(b);this._cacheCtx.putImageData(de,ve,me);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);pe.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);pe.NoneCharAtlas=z},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.BaseCharAtlas=void 0;var xe=function(){function E(){this._didWarmUp=!1}return E.prototype.dispose=function(){},E.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},E.prototype._doWarmUp=function(){},E.prototype.beginFrame=function(){},E}();pe.BaseCharAtlas=xe},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.ColorContrastCache=void 0;var xe=function(){function E(){this._color={},this._rgba={}}return E.prototype.clear=function(){this._color={},this._rgba={}},E.prototype.setCss=function(he,fe,se){this._rgba[he]||(this._rgba[he]={}),this._rgba[he][fe]=se},E.prototype.getCss=function(he,fe){return this._rgba[he]?this._rgba[he][fe]:void 0},E.prototype.setColor=function(he,fe,se){this._color[he]||(this._color[he]={}),this._color[he][fe]=se},E.prototype.getColor=function(he,fe){return this._color[he]?this._color[he][fe]:void 0},E}();pe.ColorContrastCache=xe},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.LRUMap=void 0;var xe=function(){function E(he){this.capacity=he,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return E.prototype._unlinkNode=function(he){var fe=he.prev,se=he.next;he===this._head&&(this._head=se),he===this._tail&&(this._tail=fe),fe!==null&&(fe.next=se),se!==null&&(se.prev=fe)},E.prototype._appendNode=function(he){var fe=this._tail;fe!==null&&(fe.next=he),he.prev=fe,he.next=null,this._tail=he,this._head===null&&(this._head=he)},E.prototype.prealloc=function(he){for(var fe=this._nodePool,se=0;se<he;se++)fe.push({prev:null,next:null,key:null,value:null})},E.prototype.get=function(he){var fe=this._map[he];return fe!==void 0?(this._unlinkNode(fe),this._appendNode(fe),fe.value):null},E.prototype.peekValue=function(he){var fe=this._map[he];return fe!==void 0?fe.value:null},E.prototype.peek=function(){var he=this._head;return he===null?null:he.value},E.prototype.set=function(he,fe){var se=this._map[he];if(se!==void 0)se=this._map[he],this._unlinkNode(se),se.value=fe;else if(this.size>=this.capacity)se=this._head,this._unlinkNode(se),delete this._map[se.key],se.key=he,se.value=fe,this._map[he]=se;else{var re=this._nodePool;re.length>0?((se=re.pop()).key=he,se.value=fe):se={prev:null,next:null,key:he,value:fe},this._map[he]=se,this.size++}this._appendNode(se)},E}();pe.LRUMap=xe},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(fe,se){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ie){re.__proto__=ie}||function(re,ie){for(var le in ie)ie.hasOwnProperty(le)&&(re[le]=ie[le])})(fe,se)},function(fe,se){function re(){this.constructor=fe}xe(fe,se),fe.prototype=se===null?Object.create(se):(re.prototype=se.prototype,new re)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.SelectionRenderLayer=he},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ie,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ae){ce.__proto__=ae}||function(ce,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ce[oe]=ae[oe])})(ie,le)},function(ie,le){function ce(){this.constructor=ie}xe(ie,le),ie.prototype=le===null?Object.create(le):(ce.prototype=le.prototype,new ce)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.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(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ie,le){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ae){ce.__proto__=ae}||function(ce,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ce[oe]=ae[oe])})(ie,le)},function(ie,le){function ce(){this.constructor=ie}xe(ie,le),ie.prototype=le===null?Object.create(le):(ce.prototype=le.prototype,new ce)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.LinkRenderLayer=re},function(ft,pe,be){"use strict";var xe=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(pe,"__esModule",{value:!0}),pe.MouseZone=pe.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=xe([E(0,fe.IBufferService),E(1,fe.ILogService),E(2,fe.IUnicodeService)],ie)}();pe.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};pe.MouseZone=re},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(b,ee){return(xe=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}xe(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 me=b.length-1;me>=0;me--)(de=b[me])&&(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(pe,"__esModule",{value:!0}),pe.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,me,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=me,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 me=de.translateBufferLineToString(ve,!0,te[0],ue[0]);ge.push(me)}}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);me=de.translateBufferLineToString(ve,!0),ye&&ye.isWrapped?ge[ge.length-1]+=me:ge.push(me)}te[1]!==ue[1]&&(ye=de.lines.get(ue[1]),me=de.translateBufferLineToString(ue[1],!0,0,ue[0]),ye&&ye.isWrapped?ge[ge.length-1]+=me:ge.push(me))}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,me=ve.lines.get(te[1]);if(me){var Se=ve.translateBufferLineToString(te[1],!1),ye=this._convertViewportColToCharacterIndex(me,te),Pe=ye,we=te[0]-ye,Te=0,Ee=0,_e=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],Ie=te[0];me.getWidth(Oe)===0&&(Te++,Oe--),me.getWidth(Ie)===2&&(Ee++,Ie++);var Ue=me.getString(Ie).length;for(Ue>1&&(Ce+=Ue-1,Pe+=Ue-1);Oe>0&&ye>0&&!this._isCharWordSeparator(me.loadCell(Oe-1,this._workCell));){me.loadCell(Oe-1,this._workCell);var je=this._workCell.getChars().length;this._workCell.getWidth()===0?(Te++,Oe--):je>1&&(_e+=je-1,ye-=je-1),ye--,Oe--}for(;Ie<me.length&&Pe+1<Se.length&&!this._isCharWordSeparator(me.loadCell(Ie+1,this._workCell));){me.loadCell(Ie+1,this._workCell);var nt=this._workCell.getChars().length;this._workCell.getWidth()===2?(Ee++,Ie++):nt>1&&(Ce+=nt-1,Pe+=nt-1),Pe++,Ie++}}Pe++;var Je=ye+we-Te+_e,Qe=Math.min(this._bufferService.cols,Pe-ye+Te+Ee-_e-Ce);if(ue||Se.slice(ye,Pe).trim()!==""){if(de&&Je===0&&me.getCodePoint(0)!==32){var Xe=ve.lines.get(te[1]-1);if(Xe&&me.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;Je-=ke,Qe+=ke}}}if(ge&&Je+Qe===this._bufferService.cols&&me.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:Je,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);pe.SelectionService=x},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.SelectionModel=void 0;var xe=function(){function E(he){this._bufferService=he,this.isSelectAllActive=!1,this.selectionStartLength=0}return E.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(E.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var he=this.selectionStart[0]+this.selectionStartLength;return he>this._bufferService.cols?[he%this._bufferService.cols,this.selectionStart[1]+Math.floor(he/this._bufferService.cols)]:[he,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),E.prototype.areSelectionValuesReversed=function(){var he=this.selectionStart,fe=this.selectionEnd;return!(!he||!fe)&&(he[1]>fe[1]||he[1]===fe[1]&&he[0]>fe[0])},E.prototype.onTrim=function(he){return this.selectionStart&&(this.selectionStart[1]-=he),this.selectionEnd&&(this.selectionEnd[1]-=he),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},E}();pe.SelectionModel=xe},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.moveToCellSequence=void 0;var xe=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 xe.C0.ESC+ae+le}function ie(le,ce){le=Math.floor(le);for(var ae="",oe=0;oe<le;oe++)ae+=ce;return ae}pe.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,me=function(Se,ye,Pe,we,Te,Ee){var _e;return _e=E(Pe,we,Te,Ee).length>0?we-he(Te,we):ye,Se<Pe&&_e<=we||Se>=Pe&&_e<we?"C":"D"}(x,b,ee,te,ue,de);return ie(se(x,ge,ee,ve,me==="C",ue).length,re(me,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(ft,pe,be){"use strict";var xe=this&&this.__decorate||function(se,re,ie,le){var ce,ae=arguments.length,oe=ae<3?re:le===null?le=Object.getOwnPropertyDescriptor(re,ie):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(se,re,ie,le);else for(var ne=se.length-1;ne>=0;ne--)(ce=se[ne])&&(oe=(ae<3?ce(oe):ae>3?ce(re,ie,oe):ce(re,ie))||oe);return ae>3&&oe&&Object.defineProperty(re,ie,oe),oe},E=this&&this.__param||function(se,re){return function(ie,le){re(ie,le,se)}};Object.defineProperty(pe,"__esModule",{value:!0}),pe.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=xe([E(0,he.IOptionsService)],se)}();pe.SoundService=fe},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,ne):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,z){oe(ne,z,ae)}};Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.MouseZoneManager=ce},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(oe,ne){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,a){z.__proto__=a}||function(z,a){for(var y in a)a.hasOwnProperty(y)&&(z[y]=a[y])})(oe,ne)},function(oe,ne){function z(){this.constructor=oe}xe(oe,ne),oe.prototype=ne===null?Object.create(ne):(z.prototype=ne.prototype,new z)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.AccessibilityManager=ae},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(y,x){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,ee){b.__proto__=ee}||function(b,ee){for(var te in ee)ee.hasOwnProperty(te)&&(b[te]=ee[te])})(y,x)},function(y,x){function b(){this.constructor=y}xe(y,x),y.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),he=this&&this.__decorate||function(y,x,b,ee){var te,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(pe,"__esModule",{value:!0}),pe.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,me,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=me,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 me=document.createDocumentFragment();if(te)me.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;me.appendChild(this._createSelectionElement(ge,Se,ye));var Pe=ve-ge-1;if(me.appendChild(this._createSelectionElement(ge+1,0,this._bufferService.cols,Pe)),ge!==ve){var we=de===ve?ee[0]:this._bufferService.cols;me.appendChild(this._createSelectionElement(ve,0,we))}}this._selectionContainer.appendChild(me)}}},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 me=ge+this._bufferService.buffer.ydisp,Se=this._bufferService.buffer.lines.get(me),ye=this._optionsService.options.cursorStyle;ve.appendChild(this._rowFactory.createRow(Se,me===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 me=ve.children[b];me&&(me.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);pe.DomRenderer=a},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.DomRendererRowFactory=pe.CURSOR_STYLE_UNDERLINE_CLASS=pe.CURSOR_STYLE_BAR_CLASS=pe.CURSOR_STYLE_BLOCK_CLASS=pe.CURSOR_BLINK_CLASS=pe.CURSOR_CLASS=pe.UNDERLINE_CLASS=pe.ITALIC_CLASS=pe.DIM_CLASS=pe.BOLD_CLASS=void 0;var xe=be(9),E=be(3),he=be(4),fe=be(10);pe.BOLD_CLASS="xterm-bold",pe.DIM_CLASS="xterm-dim",pe.ITALIC_CLASS="xterm-italic",pe.UNDERLINE_CLASS="xterm-underline",pe.CURSOR_CLASS="xterm-cursor",pe.CURSOR_BLINK_CLASS="xterm-cursor-blink",pe.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",pe.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",pe.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(pe.CURSOR_CLASS),ne&&te.classList.add(pe.CURSOR_BLINK_CLASS),ae){case"bar":te.classList.add(pe.CURSOR_STYLE_BAR_CLASS);break;case"underline":te.classList.add(pe.CURSOR_STYLE_UNDERLINE_CLASS);break;default:te.classList.add(pe.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&te.classList.add(pe.BOLD_CLASS),this._workCell.isItalic()&&te.classList.add(pe.ITALIC_CLASS),this._workCell.isDim()&&te.classList.add(pe.DIM_CLASS),this._workCell.isUnderline()&&te.classList.add(pe.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(),me=!!this._workCell.isInverse();if(me){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)||me&&te.classList.add("xterm-fg-"+xe.INVERTED_DEFAULT_COLOR)}switch(ve){case 16777216:case 33554432:te.classList.add("xterm-bg-"+ge);break;case 50331648:this._addStyle(te,"background-color:#"+re(ge.toString(16),"0",6));break;case 0:default:me&&te.classList.add("xterm-bg-"+xe.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}pe.DomRendererRowFactory=se},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.evaluateKeyboardEvent=void 0;var xe=be(12),E={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};pe.evaluateKeyboardEvent=function(he,fe,se,re){var ie={type:0,cancel:!1,key:void 0},le=(he.shiftKey?1:0)|(he.altKey?2:0)|(he.ctrlKey?4:0)|(he.metaKey?8:0);switch(he.keyCode){case 0:he.key==="UIKeyInputUpArrow"?ie.key=fe?xe.C0.ESC+"OA":xe.C0.ESC+"[A":he.key==="UIKeyInputLeftArrow"?ie.key=fe?xe.C0.ESC+"OD":xe.C0.ESC+"[D":he.key==="UIKeyInputRightArrow"?ie.key=fe?xe.C0.ESC+"OC":xe.C0.ESC+"[C":he.key==="UIKeyInputDownArrow"&&(ie.key=fe?xe.C0.ESC+"OB":xe.C0.ESC+"[B");break;case 8:if(he.shiftKey){ie.key=xe.C0.BS;break}if(he.altKey){ie.key=xe.C0.ESC+xe.C0.DEL;break}ie.key=xe.C0.DEL;break;case 9:if(he.shiftKey){ie.key=xe.C0.ESC+"[Z";break}ie.key=xe.C0.HT,ie.cancel=!0;break;case 13:ie.key=he.altKey?xe.C0.ESC+xe.C0.CR:xe.C0.CR,ie.cancel=!0;break;case 27:ie.key=xe.C0.ESC,he.altKey&&(ie.key=xe.C0.ESC+xe.C0.ESC),ie.cancel=!0;break;case 37:if(he.metaKey)break;le?(ie.key=xe.C0.ESC+"[1;"+(le+1)+"D",ie.key===xe.C0.ESC+"[1;3D"&&(ie.key=xe.C0.ESC+(se?"b":"[1;5D"))):ie.key=fe?xe.C0.ESC+"OD":xe.C0.ESC+"[D";break;case 39:if(he.metaKey)break;le?(ie.key=xe.C0.ESC+"[1;"+(le+1)+"C",ie.key===xe.C0.ESC+"[1;3C"&&(ie.key=xe.C0.ESC+(se?"f":"[1;5C"))):ie.key=fe?xe.C0.ESC+"OC":xe.C0.ESC+"[C";break;case 38:if(he.metaKey)break;le?(ie.key=xe.C0.ESC+"[1;"+(le+1)+"A",se||ie.key!==xe.C0.ESC+"[1;3A"||(ie.key=xe.C0.ESC+"[1;5A")):ie.key=fe?xe.C0.ESC+"OA":xe.C0.ESC+"[A";break;case 40:if(he.metaKey)break;le?(ie.key=xe.C0.ESC+"[1;"+(le+1)+"B",se||ie.key!==xe.C0.ESC+"[1;3B"||(ie.key=xe.C0.ESC+"[1;5B")):ie.key=fe?xe.C0.ESC+"OB":xe.C0.ESC+"[B";break;case 45:he.shiftKey||he.ctrlKey||(ie.key=xe.C0.ESC+"[2~");break;case 46:ie.key=le?xe.C0.ESC+"[3;"+(le+1)+"~":xe.C0.ESC+"[3~";break;case 36:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"H":fe?xe.C0.ESC+"OH":xe.C0.ESC+"[H";break;case 35:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"F":fe?xe.C0.ESC+"OF":xe.C0.ESC+"[F";break;case 33:he.shiftKey?ie.type=2:ie.key=xe.C0.ESC+"[5~";break;case 34:he.shiftKey?ie.type=3:ie.key=xe.C0.ESC+"[6~";break;case 112:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"P":xe.C0.ESC+"OP";break;case 113:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"Q":xe.C0.ESC+"OQ";break;case 114:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"R":xe.C0.ESC+"OR";break;case 115:ie.key=le?xe.C0.ESC+"[1;"+(le+1)+"S":xe.C0.ESC+"OS";break;case 116:ie.key=le?xe.C0.ESC+"[15;"+(le+1)+"~":xe.C0.ESC+"[15~";break;case 117:ie.key=le?xe.C0.ESC+"[17;"+(le+1)+"~":xe.C0.ESC+"[17~";break;case 118:ie.key=le?xe.C0.ESC+"[18;"+(le+1)+"~":xe.C0.ESC+"[18~";break;case 119:ie.key=le?xe.C0.ESC+"[19;"+(le+1)+"~":xe.C0.ESC+"[19~";break;case 120:ie.key=le?xe.C0.ESC+"[20;"+(le+1)+"~":xe.C0.ESC+"[20~";break;case 121:ie.key=le?xe.C0.ESC+"[21;"+(le+1)+"~":xe.C0.ESC+"[21~";break;case 122:ie.key=le?xe.C0.ESC+"[23;"+(le+1)+"~":xe.C0.ESC+"[23~";break;case 123:ie.key=le?xe.C0.ESC+"[24;"+(le+1)+"~":xe.C0.ESC+"[24~";break;default:if(!he.ctrlKey||he.shiftKey||he.altKey||he.metaKey)if(se&&!re||!he.altKey||he.metaKey)se&&!he.altKey&&!he.ctrlKey&&he.metaKey?he.keyCode===65&&(ie.type=1):he.key&&!he.ctrlKey&&!he.altKey&&!he.metaKey&&he.keyCode>=48&&he.key.length===1?ie.key=he.key:he.key&&he.ctrlKey&&he.key==="_"&&(ie.key=xe.C0.US);else{var ce=E[he.keyCode],ae=ce&&ce[he.shiftKey?1:0];if(ae)ie.key=xe.C0.ESC+ae;else if(he.keyCode>=65&&he.keyCode<=90){var oe=he.ctrlKey?he.keyCode-64:he.keyCode+32;ie.key=xe.C0.ESC+String.fromCharCode(oe)}}else he.keyCode>=65&&he.keyCode<=90?ie.key=String.fromCharCode(he.keyCode-64):he.keyCode===32?ie.key=xe.C0.NUL:he.keyCode>=51&&he.keyCode<=55?ie.key=String.fromCharCode(he.keyCode-51+27):he.keyCode===56?ie.key=xe.C0.DEL:he.keyCode===219?ie.key=xe.C0.ESC:he.keyCode===220?ie.key=xe.C0.FS:he.keyCode===221&&(ie.key=xe.C0.GS)}return ie}},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(z,a){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,x){y.__proto__=x}||function(y,x){for(var b in x)x.hasOwnProperty(b)&&(y[b]=x[b])})(z,a)},function(z,a){function y(){this.constructor=z}xe(z,a),z.prototype=a===null?Object.create(a):(y.prototype=a.prototype,new y)}),he=this&&this.__decorate||function(z,a,y,x){var b,ee=arguments.length,te=ee<3?a:x===null?x=Object.getOwnPropertyDescriptor(a,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(z,a,y,x);else for(var 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(pe,"__esModule",{value:!0}),pe.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,me){return de._renderRows(ve,me)}),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);pe.RenderService=ne},function(ft,pe,be){"use strict";var xe=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(pe,"__esModule",{value:!0}),pe.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=xe([E(2,he.IOptionsService)],ie)}();pe.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(ft,pe,be){"use strict";var xe=this&&this.__decorate||function(re,ie,le,ce){var ae,oe=arguments.length,ne=oe<3?ie:ce===null?ce=Object.getOwnPropertyDescriptor(ie,le):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(re,ie,le,ce);else for(var 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(pe,"__esModule",{value:!0}),pe.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=xe([E(0,he.IRenderService),E(1,he.ICharSizeService)],re)}();pe.MouseService=se},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,ne):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,z){oe(ne,z,ae)}};Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.Linkifier2=ce},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.CoreBrowserService=void 0;var xe=function(){function E(he){this._textarea=he}return Object.defineProperty(E.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),E}();pe.CoreBrowserService=xe},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(te,ue){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ge){de.__proto__=ge}||function(de,ge){for(var ve in ge)ge.hasOwnProperty(ve)&&(de[ve]=ge[ve])})(te,ue)},function(te,ue){function de(){this.constructor=te}xe(te,ue),te.prototype=ue===null?Object.create(ue):(de.prototype=ue.prototype,new de)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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,me=this._bufferService.buffer;(ve=this._cachedBlankLine)&&ve.length===this.cols&&ve.getFg(0)===de.fg&&ve.getBg(0)===de.bg||(ve=me.getBlankLine(de,ge),this._cachedBlankLine=ve),ve.isWrapped=ge;var Se=me.ybase+me.scrollTop,ye=me.ybase+me.scrollBottom;if(me.scrollTop===0){var Pe=me.lines.isFull;ye===me.lines.length-1?Pe?me.lines.recycle().copyFrom(ve):me.lines.push(ve.clone()):me.lines.splice(ye+1,0,ve.clone()),Pe?this._bufferService.isUserScrolling&&(me.ydisp=Math.max(me.ydisp-1,0)):(me.ybase++,this._bufferService.isUserScrolling||me.ydisp++)}else{var we=ye-Se+1;me.lines.shiftElements(Se+1,we-1,-1),me.lines.set(ye,ve.clone())}this._bufferService.isUserScrolling||(me.ydisp=me.ybase),this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom),this._onScroll.fire(me.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 me=ve.ydisp;ve.ydisp=Math.max(Math.min(ve.ydisp+de,ve.ybase),0),me!==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,me=ge;ve<me.length;ve++)me[ve].dispose()}}}},ue}(he.Disposable);pe.CoreTerminal=ee},function(ft,pe,be){"use strict";var xe=this&&this.__spreadArrays||function(){for(var re=0,ie=0,le=arguments.length;ie<le;ie++)re+=arguments[ie].length;var 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(pe,"__esModule",{value:!0}),pe.InstantiationService=pe.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}();pe.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,xe([void 0],xe(le,oe))))},re}();pe.InstantiationService=se},function(ft,pe,be){"use strict";var xe=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(pe,"__esModule",{value:!0}),pe.LogService=pe.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=pe.LogLevel||(pe.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=xe([E(0,se.IOptionsService)],le)}();pe.LogService=ie},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ae,oe){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,z){ne.__proto__=z}||function(ne,z){for(var a in z)z.hasOwnProperty(a)&&(ne[a]=z[a])})(ae,oe)},function(ae,oe){function ne(){this.constructor=ae}xe(ae,oe),ae.prototype=oe===null?Object.create(oe):(ne.prototype=oe.prototype,new ne)}),he=this&&this.__decorate||function(ae,oe,ne,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,ne):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},fe=this&&this.__param||function(ae,oe){return function(ne,z){oe(ne,z,ae)}};Object.defineProperty(pe,"__esModule",{value:!0}),pe.BufferService=pe.MINIMUM_ROWS=pe.MINIMUM_COLS=void 0;var se=be(1),re=be(69),ie=be(0),le=be(2);pe.MINIMUM_COLS=2,pe.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,pe.MINIMUM_COLS),z.rows=Math.max(ne.options.rows,pe.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);pe.BufferService=ce},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(re,ie){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,ce){le.__proto__=ce}||function(le,ce){for(var ae in ce)ce.hasOwnProperty(ae)&&(le[ae]=ce[ae])})(re,ie)},function(re,ie){function le(){this.constructor=re}xe(re,ie),re.prototype=ie===null?Object.create(ie):(le.prototype=ie.prototype,new le)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.BufferSet=se},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.BufferStringIterator=pe.Buffer=pe.MAX_BUFFER_SIZE=void 0;var xe=be(71),E=be(16),he=be(4),fe=be(3),se=be(72),re=be(73),ie=be(20),le=be(6);pe.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 xe.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return oe.prototype.getNullCell=function(ne){return ne?(this._nullCell.fg=ne.fg,this._nullCell.bg=ne.bg,this._nullCell.extended=ne.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new le.ExtendedAttrs),this._nullCell},oe.prototype.getWhitespaceCell=function(ne){return ne?(this._whitespaceCell.fg=ne.fg,this._whitespaceCell.bg=ne.bg,this._whitespaceCell.extended=ne.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new le.ExtendedAttrs),this._whitespaceCell},oe.prototype.getBlankLine=function(ne,z){return new E.BufferLine(this._bufferService.cols,this.getNullCell(ne),z)},Object.defineProperty(oe.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isCursorInViewport",{get:function(){var ne=this.ybase+this.y-this.ydisp;return ne>=0&&ne<this._rows},enumerable:!1,configurable:!0}),oe.prototype._getCorrectBufferLength=function(ne){if(!this._hasScrollback)return ne;var z=ne+this._optionsService.options.scrollback;return z>pe.MAX_BUFFER_SIZE?pe.MAX_BUFFER_SIZE:z},oe.prototype.fillViewportRows=function(ne){if(this.lines.length===0){ne===void 0&&(ne=E.DEFAULT_ATTR_DATA);for(var z=this._rows;z--;)this.lines.push(this.getBlankLine(ne))}},oe.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new xe.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},oe.prototype.resize=function(ne,z){var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=this._getCorrectBufferLength(z);if(y>this.lines.maxLength&&(this.lines.maxLength=y),this.lines.length>0){if(this._cols<ne)for(var x=0;x<this.lines.length;x++)this.lines.get(x).resize(ne,a);var b=0;if(this._rows<z)for(var ee=this._rows;ee<z;ee++)this.lines.length<z+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new E.BufferLine(ne,a)):this.ybase>0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new E.BufferLine(ne,a)));else for(ee=this._rows;ee>z;ee--)this.lines.length>z+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(y<this.lines.maxLength){var te=this.lines.length-y;te>0&&(this.lines.trimStart(te),this.ybase=Math.max(this.ybase-te,0),this.ydisp=Math.max(this.ydisp-te,0),this.savedY=Math.max(this.savedY-te,0)),this.lines.maxLength=y}this.x=Math.min(this.x,ne-1),this.y=Math.min(this.y,z-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,ne-1),this.scrollTop=0}if(this.scrollBottom=z-1,this._isReflowEnabled&&(this._reflow(ne,z),this._cols>ne))for(x=0;x<this.lines.length;x++)this.lines.get(x).resize(ne,a);this._cols=ne,this._rows=z},Object.defineProperty(oe.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),oe.prototype._reflow=function(ne,z){this._cols!==ne&&(ne>this._cols?this._reflowLarger(ne,z):this._reflowSmaller(ne,z))},oe.prototype._reflowLarger=function(ne,z){var a=se.reflowLargerGetLinesToRemove(this.lines,this._cols,ne,this.ybase+this.y,this.getNullCell(E.DEFAULT_ATTR_DATA));if(a.length>0){var y=se.reflowLargerCreateNewLayout(this.lines,a);se.reflowLargerApplyNewLayout(this.lines,y.layout),this._reflowLargerAdjustViewport(ne,z,y.countRemoved)}},oe.prototype._reflowLargerAdjustViewport=function(ne,z,a){for(var y=this.getNullCell(E.DEFAULT_ATTR_DATA),x=a;x-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<z&&this.lines.push(new E.BufferLine(ne,y))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-a,0)},oe.prototype._reflowSmaller=function(ne,z){for(var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=[],x=0,b=this.lines.length-1;b>=0;b--){var ee=this.lines.get(b);if(!(!ee||!ee.isWrapped&&ee.getTrimmedLength()<=ne)){for(var te=[ee];ee.isWrapped&&b>0;)ee=this.lines.get(--b),te.unshift(ee);var 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,me=void 0;me=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,Te=ge[we];Te===0&&(Te=ge[--we]);for(var Ee=te.length-ve-1,_e=de;Ee>=0;){var Ce=Math.min(_e,Te);if(te[we].copyCellsFrom(te[Ee],_e-Ce,Te-Ce,Ce,!0),(Te-=Ce)===0&&(Te=ge[--we]),(_e-=Ce)===0){Ee--;var Oe=Math.max(Ee,0);_e=se.getWrappedLineTrimmedLength(te,Oe,this._cols)}}for(ye=0;ye<te.length;ye++)ge[ye]<ne&&te[ye].setCell(ge[ye],a);for(var Ie=ve-me;Ie-- >0;)this.ybase===0?this.y<z-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+x)-z&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+ve,this.ybase+z-1)}}}if(y.length>0){var Ue=[],je=[];for(ye=0;ye<this.lines.length;ye++)je.push(this.lines.get(ye));var nt=this.lines.length,Je=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>Je+ze){for(var ke=Xe.newLines.length-1;ke>=0;ke--)this.lines.set(ye--,Xe.newLines[ke]);ye++,Ue.push({index:Je+1,amount:Xe.newLines.length}),ze+=Xe.newLines.length,Xe=y[++Qe]}else this.lines.set(ye,je[Je--]);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}();pe.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}();pe.BufferStringIterator=ae},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.CircularList=void 0;var xe=be(0),E=function(){function he(fe){this._maxLength=fe,this.onDeleteEmitter=new xe.EventEmitter,this.onInsertEmitter=new xe.EventEmitter,this.onTrimEmitter=new xe.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(he.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"maxLength",{get:function(){return this._maxLength},set:function(fe){if(this._maxLength!==fe){for(var se=new Array(fe),re=0;re<Math.min(fe,this.length);re++)se[re]=this._array[this._getCyclicIndex(re)];this._array=se,this._maxLength=fe,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"length",{get:function(){return this._length},set:function(fe){if(fe>this._length)for(var se=this._length;se<fe;se++)this._array[se]=void 0;this._length=fe},enumerable:!1,configurable:!0}),he.prototype.get=function(fe){return this._array[this._getCyclicIndex(fe)]},he.prototype.set=function(fe,se){this._array[this._getCyclicIndex(fe)]=se},he.prototype.push=function(fe){this._array[this._getCyclicIndex(this._length)]=fe,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},he.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(he.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),he.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},he.prototype.splice=function(fe,se){for(var re=[],ie=2;ie<arguments.length;ie++)re[ie-2]=arguments[ie];if(se){for(var le=fe;le<this._length-se;le++)this._array[this._getCyclicIndex(le)]=this._array[this._getCyclicIndex(le+se)];this._length-=se}for(le=this._length-1;le>=fe;le--)this._array[this._getCyclicIndex(le+re.length)]=this._array[this._getCyclicIndex(le)];for(le=0;le<re.length;le++)this._array[this._getCyclicIndex(fe+le)]=re[le];if(this._length+re.length>this._maxLength){var 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}();pe.CircularList=E},function(ft,pe,be){"use strict";function xe(E,he,fe){if(he===E.length-1)return E[he].getTrimmedLength();var se=!E[he].hasContent(fe-1)&&E[he].getWidth(fe-1)===1,re=E[he+1].getWidth(0)===2;return se&&re?fe-1:fe}Object.defineProperty(pe,"__esModule",{value:!0}),pe.getWrappedLineTrimmedLength=pe.reflowSmallerGetNewLineLengths=pe.reflowLargerApplyNewLayout=pe.reflowLargerCreateNewLayout=pe.reflowLargerGetLinesToRemove=void 0,pe.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=xe(oe,ne,he),a=1,y=0;a<oe.length;){var x=xe(oe,a,he),b=x-y,ee=fe-z,te=Math.min(b,ee);oe[ne].copyCellsFrom(oe[a],y,z,te,!1),(z+=te)===fe&&(ne++,z=0),(y+=te)===x&&(a++,y=0),z===0&&ne!==0&&oe[ne-1].getWidth(fe-1)===2&&(oe[ne].copyCellsFrom(oe[ne-1],fe-1,z++,1,!1),oe[ne-1].setCell(fe-1,re))}oe[ne].replaceCells(z,fe,re);for(var 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},pe.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}},pe.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},pe.reflowSmallerGetNewLineLengths=function(E,he,fe){for(var se=[],re=E.map(function(z,a){return xe(E,a,he)}).reduce(function(z,a){return z+a}),ie=0,le=0,ce=0;ce<re;){if(re-ce<fe){se.push(re-ce);break}ie+=fe;var ae=xe(E,le,he);ie>ae&&(ie-=ae,le++);var oe=E[le].getWidth(ie-1)===2;oe&&ie--;var ne=oe?fe-1:fe;se.push(ne),ce+=ne}return se},pe.getWrappedLineTrimmedLength=xe},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(se,re){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,le){ie.__proto__=le}||function(ie,le){for(var ce in le)le.hasOwnProperty(ce)&&(ie[ce]=le[ce])})(se,re)},function(se,re){function ie(){this.constructor=se}xe(se,re),se.prototype=re===null?Object.create(re):(ie.prototype=re.prototype,new ie)});Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.Marker=fe},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.OptionsService=pe.DEFAULT_OPTIONS=pe.DEFAULT_BELL_SOUND=void 0;var xe=be(0),E=be(11),he=be(33);pe.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",pe.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:pe.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:E.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var fe=["cols","rows"],se=function(){function re(ie){this._onOptionChange=new xe.EventEmitter,this.options=he.clone(pe.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 pe.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=pe.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 pe.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');return this.options[ie]},re}();pe.OptionsService=se},function(ft,pe,be){"use strict";var xe,E=this&&this.__extends||(xe=function(ne,z){return(xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,y){a.__proto__=y}||function(a,y){for(var x in y)y.hasOwnProperty(x)&&(a[x]=y[x])})(ne,z)},function(ne,z){function a(){this.constructor=ne}xe(ne,z),ne.prototype=z===null?Object.create(z):(a.prototype=z.prototype,new a)}),he=this&&this.__decorate||function(ne,z,a,y){var x,b=arguments.length,ee=b<3?z:y===null?y=Object.getOwnPropertyDescriptor(z,a):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(ne,z,a,y);else for(var te=ne.length-1;te>=0;te--)(x=ne[te])&&(ee=(b<3?x(ee):b>3?x(z,a,ee):x(z,a))||ee);return b>3&&ee&&Object.defineProperty(z,a,ee),ee},fe=this&&this.__param||function(ne,z){return function(a,y){z(a,y,ne)}};Object.defineProperty(pe,"__esModule",{value:!0}),pe.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);pe.CoreService=oe},function(ft,pe,be){"use strict";var xe=this&&this.__decorate||function(ae,oe,ne,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,ne):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,ne,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,ne,x):a(oe,ne))||x);return y>3&&x&&Object.defineProperty(oe,ne,x),x},E=this&&this.__param||function(ae,oe){return function(ne,z){oe(ne,z,ae)}};Object.defineProperty(pe,"__esModule",{value:!0}),pe.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=xe([E(0,he.IBufferService),E(1,he.ICoreService)],ae)}();pe.CoreMouseService=ce},function(ft,pe,be){"use strict";var xe=this&&this.__decorate||function(se,re,ie,le){var ce,ae=arguments.length,oe=ae<3?re:le===null?le=Object.getOwnPropertyDescriptor(re,ie):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(se,re,ie,le);else for(var ne=se.length-1;ne>=0;ne--)(ce=se[ne])&&(oe=(ae<3?ce(oe):ae>3?ce(re,ie,oe):ce(re,ie))||oe);return ae>3&&oe&&Object.defineProperty(re,ie,oe),oe},E=this&&this.__param||function(se,re){return function(ie,le){re(ie,le,se)}};Object.defineProperty(pe,"__esModule",{value:!0}),pe.DirtyRowService=void 0;var he=be(1),fe=function(){function se(re){this._bufferService=re,this.clearRange()}return Object.defineProperty(se.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),se.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},se.prototype.markDirty=function(re){re<this._start?this._start=re:re>this._end&&(this._end=re)},se.prototype.markRangeDirty=function(re,ie){if(re>ie){var le=re;re=ie,ie=le}re<this._start&&(this._start=re),ie>this._end&&(this._end=ie)},se.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},se=xe([E(0,he.IBufferService)],se)}();pe.DirtyRowService=fe},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.UnicodeService=void 0;var xe=be(0),E=be(79),he=function(){function fe(){this._providers=Object.create(null),this._active="",this._onChange=new xe.EventEmitter;var se=new E.UnicodeV6;this.register(se),this._active=se.version,this._activeProvider=se}return Object.defineProperty(fe.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(fe.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(fe.prototype,"activeVersion",{get:function(){return this._active},set:function(se){if(!this._providers[se])throw new Error('unknown Unicode version "'+se+'"');this._active=se,this._activeProvider=this._providers[se],this._onChange.fire(se)},enumerable:!1,configurable:!0}),fe.prototype.register=function(se){this._providers[se.version]=se},fe.prototype.wcwidth=function(se){return this._activeProvider.wcwidth(se)},fe.prototype.getStringCellWidth=function(se){for(var re=0,ie=se.length,le=0;le<ie;++le){var 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}();pe.UnicodeService=he},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.UnicodeV6=void 0;var xe,E=be(15),he=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],fe=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],se=function(){function re(){if(this.version="6",!xe){xe=new Uint8Array(65536),E.fill(xe,1),xe[0]=0,E.fill(xe,0,1,32),E.fill(xe,0,127,160),E.fill(xe,2,4352,4448),xe[9001]=2,xe[9002]=2,E.fill(xe,2,11904,42192),xe[12351]=1,E.fill(xe,2,44032,55204),E.fill(xe,2,63744,64256),E.fill(xe,2,65040,65050),E.fill(xe,2,65072,65136),E.fill(xe,2,65280,65377),E.fill(xe,2,65504,65511);for(var ie=0;ie<he.length;++ie)E.fill(xe,0,he[ie][0],he[ie][1]+1)}}return re.prototype.wcwidth=function(ie){return ie<32?0:ie<127?1:ie<65536?xe[ie]:function(le,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}();pe.UnicodeV6=se},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.CharsetService=void 0;var xe=function(){function E(){this.glevel=0,this._charsets=[]}return E.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},E.prototype.setgLevel=function(he){this.glevel=he,this.charset=this._charsets[he]},E.prototype.setgCharset=function(he,fe){this._charsets[he]=fe,this.glevel===he&&(this.charset=fe)},E}();pe.CharsetService=xe},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.updateWindowsModeWrappedState=void 0;var xe=be(3);pe.updateWindowsModeWrappedState=function(E){var he=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),fe=he==null?void 0:he.get(E.cols-1),se=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);se&&fe&&(se.isWrapped=fe[xe.CHAR_DATA_CODE_INDEX]!==xe.NULL_CELL_CODE&&fe[xe.CHAR_DATA_CODE_INDEX]!==xe.WHITESPACE_CELL_CODE)}},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.WriteBuffer=void 0;var xe=function(){function E(he){this._action=he,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return E.prototype.writeSync=function(he){if(this._writeBuffer.length){for(var fe=this._bufferOffset;fe<this._writeBuffer.length;++fe){var se=this._writeBuffer[fe],re=this._callbacks[fe];this._action(se),re&&re()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(he)},E.prototype.write=function(he,fe){var se=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return se._innerWrite()})),this._pendingData+=he.length,this._writeBuffer.push(he),this._callbacks.push(fe)},E.prototype._innerWrite=function(){for(var he=this,fe=Date.now();this._writeBuffer.length>this._bufferOffset;){var se=this._writeBuffer[this._bufferOffset],re=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(se),this._pendingData-=se.length,re&&re(),Date.now()-fe>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return he._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},E}();pe.WriteBuffer=xe},function(ft,pe,be){"use strict";Object.defineProperty(pe,"__esModule",{value:!0}),pe.AddonManager=void 0;var xe=function(){function E(){this._addons=[]}return E.prototype.dispose=function(){for(var he=this._addons.length-1;he>=0;he--)this._addons[he].instance.dispose()},E.prototype.loadAddon=function(he,fe){var se=this,re={instance:fe,dispose:fe.dispose,isDisposed:!1};this._addons.push(re),fe.dispose=function(){return se._wrappedAddonDispose(re)},fe.activate(he)},E.prototype._wrappedAddonDispose=function(he){if(!he.isDisposed){for(var fe=-1,se=0;se<this._addons.length;se++)if(this._addons[se]===he){fe=se;break}if(fe===-1)throw new Error("Could not dispose an addon that has not been loaded");he.isDisposed=!0,he.dispose.apply(he.instance),this._addons.splice(fe,1)}},E}();pe.AddonManager=xe}])})},60141:function(xt){"use strict";xt.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(xt,ft,pe){"use strict";pe.d(ft,{Z:function(){return be}});function be(xe){if(xe==null)throw new TypeError("Cannot destructure "+xe)}}}]);